Skip to content

Name what each OpenCode step acts on in the subagent's view - #119

Merged
m4rocks merged 1 commit into
mainfrom
opencode-step-details
Nov 17, 2026
Merged

m4rocks merged 1 commit into
mainfrom
opencode-step-details

Conversation

@m4rocks

@m4rocks m4rocks commented Nov 17, 2026

Copy link
Copy Markdown
Owner

Summary

OpenCode starts a tool call with only the tool's name (read, grep, shell) and sends its input in the call's first tool_call_update, so an OpenCode subagent's view showed bare steps. A step named only by its tool now waits for that update and shows what it acts on: the command, pattern, query or address, or else the file. Codex's titles already say this ("Read src/parse.rs") and are shown as before.

Evidence

  • New test a_step_named_only_by_its_tool_waits_for_what_it_acts_on, built from OpenCode's real update shapes, failed with ["read", "shell", "todowrite"] before the change.
  • A real read-only OpenCode run through claudiu --acp showed read …\acp-probe-dir, grep … and read …\note.json as steps. After the pattern was moved ahead of the path, grep shows its pattern.
  • cargo test: 495 passed. cargo clippy -D warnings: clean.

Risk

A bare-named call that never gets an update shows no step. Revert this commit to undo it.

Closes #115

OpenCode starts a tool call with only the tool's name and sends its input in the call's first update, so the subagent's view showed bare steps like `read` and `shell`. A step named only by its tool now waits for that update and shows its command, pattern, address or file: `read note.json`, `grep fn main`, `shell echo hi`. Codex's titles already say this and are shown as before.

Closes #115
@vercel

vercel Bot commented Nov 17, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
claudiu Ready Ready Preview Nov 17, 2026 10:07am UTC

@m4rocks
m4rocks merged commit 4d97b02 into main Nov 17, 2026
5 checks passed
@m4rocks
m4rocks deleted the opencode-step-details branch November 24, 2026 22:38

This branch was successfully deployed

1 active deployment
Preview — d1f91da7 Deployed Nov 17, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Custom subagents: run OpenCode models as Claude Code subagents, and pick models from a searchable list

1 participant