Skip to content

feat(chat): look into a background shell from the status menu - #488

Merged
edenreich merged 1 commit into
mainfrom
feat/background-shell-view
Nov 9, 2026
Merged

edenreich merged 1 commit into
mainfrom
feat/background-shell-view

Conversation

@edenreich

@edenreich edenreich commented Nov 9, 2026 •

Copy link
Copy Markdown
Contributor

Summary

A background shell a chat is waiting on can now be looked into. Picking a shell entry under a chat in the agent status menu opens a dialog with the command, its status and what it has printed so far, refreshed every two seconds. Before, picking it only reopened the same chat.

The output is read from the worker that runs the shell, so it works for a chat on this computer and for one on a workspace.

Changes

  • backend/src/workspaces.rs - list_background_jobs command: sends the CLI's list_tasks panel frame for the session and parses the tasks answer. artifact_frame is renamed session_frame now that it serves both.
  • backend/src/agent.rs - BackgroundJob gains output, which only the tasks answer carries.
  • frontend/components/ShellOutputDialog.tsx - the dialog and its polling hook.
  • frontend/components/StatusBar.tsx - a shell entry opens the dialog and is named View shell <command>.
  • e2e - background-shell-output test and scenario. The button finder now also matches menu buttons and menu items, which the status menu surfaces as.
  • AGENTS.md - View shell <command> added to the DOM contract.

Not included: stopping a shell from the dialog (the CLI has cancel_task for it), and looking into a shell after it has finished - its note in the transcript covers that.

No CLI change needed. Affected repos: desktop only. Docs follow-up: inference-gateway/docs#1162.

@edenreich
edenreich marked this pull request as ready for review November 9, 2026 23:05
@edenreich
edenreich merged commit 828498d into main Nov 9, 2026
1 check passed
@edenreich
edenreich deleted the feat/background-shell-view branch November 9, 2026 23:26
@inference-gateway-maintainer

Copy link
Copy Markdown
Contributor

🎉 This PR is included in version 0.63.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

@inference-gateway-maintainer inference-gateway-maintainer Bot added the released Shipped in a release label Nov 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

released Shipped in a release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant