Repository navigation
feat(agents c0mpute): arrow-key /tasks and /agents, live task view with full context (v0.127.0) - #613
Merged
Merged
Conversation
…th full context (v0.127.0) /tasks and /agents are lists you move through with the arrow keys. Enter opens a task full screen: the whole prompt, the conversation (replies and tool results), progress and result. A running task is live: statuses, tool calls and a reply still arriving stream in, and the view follows the end until you scroll up. Enter on a Needs input task answers it; x stops one. Each task now keeps its full prompt and a reference to its conversation; the context is saved per task under ~/.moshcode/c0mpute-tasks/ (every ~1.5 s while it moves, pruned with the board), so `moshcode agents c0mpute tasks` in another terminal can follow a session's task live. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
ThreatCrush Security Scan0 finding(s) in the 6 file(s) this pull request changes. Nothing in the files this pull request changes. 125 pre-existing finding(s) elsewhere in the repository — **HIGH/CRITICAL**: 8 | **MEDIUM**: 87 | **LOW**: 30Not introduced by this pull request. The full set is in the Security tab.
…and 105 more. Full results in the Security tab. Snippets are redacted; ThreatCrush never prints matched credential material. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Anthony: "how do i drill down. the lists should be arrow-key-navigable … so i can read the context", and "can we get realtime feedback with c0mpute like we can with claude code tasks?"
What changes
/tasksand/agentsare lists you move through with ↑/↓ (also j/k, PgUp/PgDn, Home/End). Enter opens the selected item, Esc goes back. Both draw on the terminal's alternate screen, so scrollback is untouched.eedits it.Gresumes following.xstops a running task.moshcode agents c0mpute tasksfollows a session's tasks live from another terminal. Each task's context is saved under~/.moshcode/c0mpute-tasks/at most every 1.5 s while it changes, and pruned along with the board./tasks <id>opens that task directly. Output that isn't a terminal still gets the plain text listing.Limit: on the c0mpute network a model reply arrives in one piece, because CPU nodes answer through Infernet's relay. The view shows tokens as fast as the provider emits them; everything around the reply is already real-time.
Tested
test/c0agent-picker.test.mjs: colour-aware wrapping, picker keys and handing the keyboard back to readline, follow mode, board context persistence and pruning, live reply rendering. 96/96 pass with the help and c0agent suites./agentsworks, and a second terminal follows the task live. A Needs input task is answered with Enter theny; the command ran and the task completed.🤖 Generated with Claude Code