devglow

v1.8.0
app.devglow/devglow Checked 1 day ago Published 2 days ago

Start, stop, and inspect local dev servers in a desktop app instead of the agent's session.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

list_projects List all projects

List every registered project and AI process with its running state, port, PID, command, path and id. Projects are the user's permanent entries, started with start_project; AI processes are temporary ones created by run_process or workspace_run. Call this first: it gives you the ids the other tools take, and shows whether the user already has a project for the checkout you are working in. Also lists the tags already in use.

get_status Get project status

Whether one project or AI process is running right now, with its PID. Lighter than list_projects when you already have the id, for example to confirm that start_project or stop_project took effect (both can return before the change has landed). 'No status found' means DevGlow has no entry with that id. For past runs, use get_run_history.

ParameterTypeDescription
id *stringProject or AI process ID (from list_projects)

get_overview Where things stand

One call for what is running and what broke. Without an id: every project and AI process that is running, or that failed or hit a port conflict in the last day, with its port (and whether it is listening), PID, and for failures the exit code and the last log line before it exited. With an id: the same for that one entry, whatever its state. Use it instead of list_projects + get_status + get_run_history when the question is "is it up" or "why did it stop". It reads DevGlow's files only, so it answers at once and does not open the app; for full output, call get_logs.

ParameterTypeDescription
idstringProject or AI process ID (from list_projects). Omit for everything that needs attention.

clear_worktree Clear your worktree

Tidy up after yourself: stop and remove every AI process started from the git worktree you are working in, and remove its sidebar row. Takes no arguments; it only ever touches your own worktree (the git toplevel of where this session runs), never the user's projects or other worktrees. If the user is looking at that row, the row stays and only the processes go. Use it when the work in this worktree is done, instead of delete_process and delete_workspace.

get_run_history Get a project's run history

Recent finished runs of a project or AI process, newest first, with a summary: how long the command usually takes (median of successful runs), how often it succeeds, and how long it takes to start listening on its port. Use it when the user asks how long a build or script usually takes, whether it has been failing, or what happened on recent runs. Only finished runs are recorded; use get_status for whether it is running now. Commands are shown as recorded, with secret values masked as ***.

ParameterTypeDescription
id *stringProject or AI process ID (from list_projects)
limitintegerHow many recent runs to list (default 10, max 50).

get_project Get full project details

Get the full metadata for a single project or AI process (path, command, port, tags, description, status). Use this when you need details beyond what list_projects shows — for example, to duplicate a project with the same path, to reuse its command in a git worktree (then call run_process with the worktree path), or to read its description before editing.

ParameterTypeDescription
id *stringProject or AI process ID (from list_projects)

get_logs Get process logs

Recent output of a project or AI process, oldest first, one line per entry as [timestamp] [level] message. Works whether it is running or stopped, but DevGlow keeps logs in memory only, so they are gone after the app restarts. Use it when a process exited, failed to start, or behaves unexpectedly. DevGlow writes the logs out on request, so the call can take a few seconds; if they do not arrive, DevGlow is probably not running.

ParameterTypeDescription
id *stringProject or AI process ID (from list_projects)
linesnumberNumber of recent lines to return (default: 100)

check_port Check port availability

Check if a TCP port is in use on localhost. When occupied, also reports who holds it — and if it's a devglow-managed project (so the user can recognize their own process). Call this BEFORE run_process / create_project to avoid silent conflicts.

ParameterTypeDescription
port *numberPort number to check

start_project Start a registered project

Start a user-registered project with its registered command, in its registered path. Neither can be changed. PREFER this over run_process: call list_projects first, and if a project is registered inside the checkout you are working in, start it here instead of running the command yourself. Do NOT use this from a git worktree for a project registered in the main checkout: it would start the main checkout, not your worktree. Use get_project, then run_process with the worktree path.

ParameterTypeDescription
id *stringProject ID (from list_projects)

stop_project Stop a project

Stop a running project or AI process by id (from list_projects). This is the stop tool to use for both kinds. The entry stays registered: a project can be started again with start_project. To remove an AI process instead of only stopping it, use delete_process. Returns once the stop is requested; call get_status to confirm.

ParameterTypeDescription
id *stringProject or AI process ID (from list_projects)

run_process Run a new AI process

Create and start ONE new temporary process. Shows in DevGlow's AI Processes section. User can later [keep] or [dismiss] it. A name already used by another AI process stops and replaces that process. Before calling this, run list_projects: if the user already registered a project inside this checkout, call start_project instead so you run THEIR command, not a new one. Only use run_process when no matching project exists. In a git worktree of a registered project, this IS the right call: a project registered for the main checkout would run there, not in your worktree. Detect a worktree with `git…

ParameterTypeDescription
command *stringShell command to execute
name *stringDisplay name for the process. Do NOT include port number in the name — use the port parameter instead.
path *stringWorking directory (supports ~/)
descriptionstringWhat the app does, plus any notes worth keeping (max 1000 chars). Helps the user remember the project later. Start with 1-2 plain sentences from the user's perspective; append findings or gotchas belo…
if_port_takenstringWhat to do when the port is already taken. report (default): register it without starting and report who holds the port. next_free: start on the next free port above it instead, never stopping the hol…
interactivebooleanRun in a PTY (interactive terminal) so tty-driven tools like `flutter run` / `expo start` enter interactive mode and accept key input (hot reload r, restart R). DEFAULT: omit — the command is auto-d…
portnumberPort number the process will listen on. Check package.json scripts or config files for --port flags. Important for DevGlow to show the correct port badge.

update_project Update a project's metadata

Update a kept (permanent) DevGlow project's metadata. Pass only the fields you want to change. Does NOT apply to temporary AI processes — for those, set fields at run_process time or have the user keep the process first.

ParameterTypeDescription
id *stringProject id (call list_projects first). Must be a permanent project, not an AI process (those have ids starting with 'ai-').
commandstringNew shell command.
descriptionWhat the app does, plus any notes worth keeping (max 1000 chars). Appending to what is already there is usually right — read it with get_project first rather than overwriting. Pass null or empty str…
interactivebooleanToggle PTY (interactive terminal) mode. true = run through a pseudo-terminal so tools like flutter run / expo start accept hot reload (r) / restart (R) keys; false = plain pipe. Only set when the user…
namestringNew display name.
pathstringNew working directory (supports ~/).
portnumber | nullNew port number. Pass null to clear the existing port.
tagsarrayTags as a list of strings. Pass [] to clear. Do NOT invent tags; only set this when the user explicitly asks, or when reusing an existing tag visible in list_projects.

create_project Create a permanent project (without running)

Register a permanent DevGlow project WITHOUT running it. This is how you 'add a project to DevGlow' — there is no config file to author (no devglow.json / DEVGLOW.md); calling this tool IS the registration. Use it for bulk registration when you want to record metadata only (no port binding, no browser tab, no dependency install). To start the project later, call start_project. Use run_process instead when you need to actually launch a server for verification or one-off work.

ParameterTypeDescription
command *stringShell command to run when the user starts the project.
name *stringDisplay name.
path *stringWorking directory (supports ~/).
descriptionstringWhat the app does, plus any notes worth keeping (max 1000 chars).
interactivebooleanRun in a PTY (interactive terminal) so tty-driven tools like `flutter run` / `expo start` enter interactive mode and accept key input (hot reload r, restart R). DEFAULT: omit — the command is auto-d…
portnumberPort number the command listens on, if any. Used for the Open ↗ button.
tagsarrayTags. DEFAULT: omit (no tags). Tags are the user's manual grouping system — do NOT auto-fill with technology guesses (e.g., 'db', 'test', 'api'). Only set this when the new project clearly belongs t…

delete_project Delete a permanent project

Delete a kept (permanent) DevGlow project. Stops the process if running. Does NOT apply to AI processes — use delete_process for those.

ParameterTypeDescription
id *stringProject id (call list_projects first). Must be a permanent project, not an AI process.

delete_process Delete AI processes

Stop and remove one or more AI processes (the temporary ones created by run_process / workspace_run) — the same as [dismiss] in the DevGlow UI. Use it to clean up processes you started once they are no longer needed. Does NOT apply to permanent projects; use delete_project for those. A pane that was showing a deleted process is left empty.

ParameterTypeDescription
ids *arrayAI process ids (call list_projects first; they are listed under 'AI Processes').

list_workspaces List workspaces

List DevGlow workspaces: id, name, which one the user is in, and the processes placed in each with their running state. Use it before delete_workspace, and to find workspaces left over from earlier work — one whose processes are all stopped or gone is a likely leftover. It cannot tell you who made a workspace; the user arranges them by hand too.

delete_workspace Delete workspaces

Delete one or more DevGlow workspaces by id. Removes the arrangement only: the processes that were in it keep running and stay in the sidebar (use delete_process / stop_project for those). The workspace the user is currently in is refused — deleting it would replace their screen. Delete only workspaces you created or the user asked you to remove; list_workspaces first.

ParameterTypeDescription
ids *arrayWorkspace ids from list_workspaces.

stop_process Stop an AI process

Stop an AI process by its exact display name. Prefer stop_project: it takes the id from list_projects, works for projects and AI processes alike, and the id is what every other tool uses. Use this only when you know an AI process by name alone. Does not apply to permanent projects. If no AI process has exactly that name, nothing is stopped, but the response still reads as sent.

ParameterTypeDescription
name *stringExact display name of the AI process, as shown in list_projects.

workspace_run Run processes in a new workspace

Start two or more processes and arrange them on screen together in a new DevGlow workspace. PREFER this over repeated run_process calls whenever you are starting more than one process — the user does not have to ask to see them. Repeated run_process calls leave each process sitting in the sidebar until the user clicks it into a pane, so starting three that way makes the app look like nothing happened. Each process here starts exactly as run_process would. Where they go depends on where you are working. Inside a git repository, with a DevGlow version that has worktrees, they go into that dire…

ParameterTypeDescription
name *stringDescribe the group, not one process (e.g. 'api stack', 'checkout debug'). When a new workspace is created this is its sidebar name; when the processes go into a worktree row, the row keeps its own nam…
processes *arrayProcesses to start, in the order they should appear on screen. Panes beyond DevGlow's 8-pane cap still run; they just wait in the sidebar.
if_port_takenstringApplies to every process in the call. Processes in one call never get the same port, even before the earlier one is listening. What to do when the port is already taken. report (default): register it…