Repository navigation
Closed
Copy link
Labels
Description
Summary
/tasks now works in a daemon chat, through two new requests on the infer daemon AG-UI binding, in inference-gateway/cli#1729. That PR has not merged yet, so this should land with or after it.
/tasks used to refuse in a daemon chat. It now lists and cancels the shells, subagents, recordings and A2A tasks the session's worker runs, with their output, stats and a subagent's transcript. Daemon clients (browser extension, desktop app) can use the same requests.
list_tasks(optionalproject_dir, andidfor the conversation) is answered with atasksframe:{"type": "tasks", "tasks": [{"id": "shell-1", "kind": "shell", "label": "shell-1", "detail": "go build ./...", "status": "running", "started_at": "2026-11-06T10:00:00Z"}]}statusisrunning,completedorfailed. A finished job also hascompleted_atandoutput. A subagent has itssession_id, andstatsonce it ends.cancel_tasktakes the job intask_id, sinceidnames the conversation, and is answered with{"type": "task_cancelled", "task_id": "shell-1"}.errorsays why a job could not be stopped. The job ends a moment later, so a client lists the jobs again to see it finished.- These frames answer for the worker they reach, so a client follows the session first.
- A cancelled shell shows as
failed. - In a daemon chat the view refreshes while a job runs. A job started while nothing runs shows after reopening
/tasks.
Affected pages:
cli.md: the/tasksview section, and the daemon section if it lists what a daemon chat turns off.opentask.md: wherelist_shortcutsis documented, for the two new requests.
The CLI repo's own docs/browser-extension-protocol.md, docs/daemon.md, docs/shortcuts-guide.md and docs/tasks-management.md are updated by the PR.
Source: inference-gateway/cli#1729
Acceptance Criteria
-
cli.mdstates that/tasksworks in a daemon chat and acts on the jobs of the session's worker, with the refresh limit above - The
list_tasksrequest andtasksreply are documented with a JSON example and thestatusvalues - The
cancel_taskrequest andtask_cancelledreply are documented, includingtask_id,errorand that the job ends a moment later -
list_tasksandcancel_taskare listed among the project-scoped requests, if the page keeps that list
Metadata
Metadata
Assignees
Labels
Type
Projects
- StatusShow more project fieldsDone
Activity
feat(daemon): manage a session's background jobs from /tasks (#1729)
edenreich commentedon Nov 7, 2026
@claude can you document this? use /ponytail:ponytail check if still relevant first.
inference-gateway-maintainer commentedon Nov 7, 2026
Claude finished @edenreich's task in 2m 18s —— View job •
docs/issue-1111-20261107-0127Documented
/tasksin a daemon chatcli#1729merged 2026-11-06, so this is current and lands now/tasksview and shared-event-stream sections ofcli.md, andopentask.mdbrowser-extension-protocol.md/daemon.md/tasks-management.mdbun run format:check,bun run lint:md,bun run buildall cleanWhat changed
cli.md/tasksin a daemon chat subsection under the/tasksview: it lists and cancels the jobs of the session's worker (shells, subagents, recordings, A2A tasks) with output, stats and a subagent's transcript, the same frames the browser extension and desktop app use. The view refreshes while a job runs, a job started while nothing ran shows after reopening/tasks, cancelling ends the job a moment later, and a cancelled shell shows asFailed.list_tasks/cancel_taskadded to the app frames table of the shared event stream, which is the page's project-scoped request list.opentask.mdlist_shortcuts,list_issues,list_files) with JSON examples forlist_tasks->tasksandcancel_task->task_cancelled, thestatusvaluesrunning/completed/failed,completed_atandoutputon a finished job, a subagent'ssession_idandstats,task_idversus the conversationid,error, and that these frames answer for the worker they reach so a client follows the session first.Create a PR - already opened as #1112.
Skipped: no screenshot or
bun run previewpass (no nav, SEO or theme change), and no entry in a "what a daemon chat turns off" table because this page has none. Risk: the frame fields are taken from the CLI's merged protocol doc rather than exercised against a running daemon, so a later rename upstream would need a follow-up here.| Branch:
docs/issue-1111-20261107-0127inference-gateway-releaser commentedon Nov 8, 2026
🎉 This issue has been resolved in version 0.9.24 🎉
The release is available on GitHub release
Your semantic-release bot 📦🚀