fix(engines): /agents opencode|privacycode opens a session, not a list dump - #315
Merged
Conversation
…t dump `agentsView: ["agent", "list"]` made `/agents opencode` run `opencode agent list` — a machine-readable, one-shot command that prints every agent's permission config and exits straight back to the pit. On opencode 1.18.x that output is now raw JSON, so it reads as a wall of errors followed by a crash. `/agents` promises to hand the terminal to a live session, so neither engine gets an agentsView: both fall through to `--auto`, which opens the TUI (where `tab` reaches the agent list anyway). Also declare binDirs for both. Their installers only append ~/.opencode/bin and ~/.privacycode/bin to a shell rc, so the moshcode process that ran the installer reports them missing until the next shell — the same bridge kimi already had. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
ThreatCrush Security Scan92 finding(s) HIGH/CRITICAL: 50 | MEDIUM: 42
…and 42 more. Full results in the Security tab. Snippets are redacted; ThreatCrush never prints matched credential material. |
Merged
ralyodio
added a commit
that referenced
this pull request
Aug 6, 2026
Bump to v0.25.1, releasing the /agents fix for opencode and privacycode (#315): both engines now open a live session instead of dumping their agent permission config and exiting, and both declare the installer bin directories PATH can't see yet. Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
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.
/agents opencodeand/agents privacycoderan<engine> agent list— a one-shot, machine-readable command that prints every agent's permission config and exits straight back to the pit. On opencode 1.18.x that output is now raw JSON, so it reads as a wall of errors followed by a crash./agentspromises to hand the terminal to a live session, so neither engine gets anagentsViewany more: both fall through to--auto, which opens the TUI (wheretabreaches the agent list anyway). Verified both engines now open their TUI.Also declares
binDirsfor both — their installers only append~/.opencode/bin/~/.privacycode/binto a shell rc, so the moshcode process that ran the installer reported them missing until the next shell. Same bridge kimi already had.Tests: full suite green (1444 pass, 0 fail).
🤖 Generated with Claude Code