forked from anomalyco/opencode
-
Notifications
You must be signed in to change notification settings - Fork 4
Merge shuvcode-dev: CLI branding fix + PR #310 subagent sidebar #313
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
Conversation
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
…ed on subagent_type property
- Change yargs scriptName to 'shuvcode' for --help display - Update user-facing error messages to reference 'shuvcode' commands - Update MCP auth toast to suggest 'shuvcode mcp auth' - Update ACP login prompts to reference 'shuvcode auth login' - Document CLI branding as fork feature in fork-features.json
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.
Summary
Merge shuvcode-dev branch into integration with CLI branding fixes and subagent sidebar improvements.
Changes
Features
Fixes
Chores
Breaking Changes
None
Testing
Production build tested locally - CLI and App builds pass all tests.
Greptile Summary
Merges development branch with CLI branding updates and subagent sidebar enhancements. Key change generalizes TUI sidebar subagent detection to support plugin tools beyond the default
tasktool by checking forsubagent_typeproperty.part.tool === "task"topart.state.input?.subagent_typecheck, enabling plugins likeoh-my-opencodewith custom orchestration tools to display subagentsopencodetoshuvcodeacross help output and auth methodsoutput_indexinstead of rotatingitem_idAll changes are backward compatible and well-tested.
Confidence Score: 5/5
Important Files Changed
subagent_typeproperty check, enabling plugin extensibility; fixed comment indentationoutput_indexinstead of rotatingitem_idfor GitHub Copilot compatibilitySequence Diagram
sequenceDiagram participant Plugin as Plugin (oh-my-opencode) participant TUI as TUI Sidebar participant Tool as Tool Invocation participant Filter as taskToolParts Filter Note over Plugin,Filter: Before PR: Only tools with name "task" are detected Plugin->>Tool: Invoke delegate_task<br/>(custom tool name) Tool->>Tool: Include subagent_type<br/>in input parameters Tool->>TUI: Create ToolPart with<br/>state.input.subagent_type TUI->>Filter: Filter parts where<br/>part.tool === "task" Filter-->>TUI: No match (delegate_task ≠ task) Note over TUI: Subagent not shown in sidebar Note over Plugin,Filter: After PR: Any tool with subagent_type is detected Plugin->>Tool: Invoke delegate_task<br/>(custom tool name) Tool->>Tool: Include subagent_type<br/>in input parameters Tool->>TUI: Create ToolPart with<br/>state.input.subagent_type TUI->>Filter: Filter parts where<br/>part.state.input?.subagent_type exists Filter-->>TUI: Match found (has subagent_type) TUI->>TUI: Display subagent in sidebar