feat: set Sisyphus as default agent when enabled#285
Merged
code-yeongyu merged 1 commit intodevfrom Dec 27, 2025
Merged
Conversation
Uses OpenCode's `default_agent` config (PR #5843) Sets Sisyphus as default when sisyphus_agent is not disabled Closes #283 🤖 GENERATED WITH ASSISTANCE OF [OhMyOpenCode](https://github.com/code-yeongyu/oh-my-opencode)
Greptile SummaryReplaces TODO comment with actual implementation to set Sisyphus as the default agent when enabled. The change uses OpenCode's Key Changes:
The implementation is straightforward and correctly placed within the existing conditional block that already checks Confidence Score: 5/5
Important Files Changed
Sequence DiagramsequenceDiagram
participant Plugin as OhMyOpenCodePlugin
participant Config as OpenCode Config
participant PluginConfig as Plugin Config
participant Agents as Agent System
Plugin->>PluginConfig: Load oh-my-opencode.json
PluginConfig-->>Plugin: sisyphus_agent config
Plugin->>Plugin: Check isSisyphusEnabled
alt Sisyphus enabled && agent exists
Plugin->>Config: Set default_agent = "Sisyphus"
Plugin->>Agents: Register Sisyphus agent
Plugin->>Agents: Configure agent ordering
Config-->>Agents: Sisyphus becomes default
else Sisyphus disabled
Plugin->>Agents: Use standard agent ordering
end
|
sssgun
pushed a commit
to sssgun/oh-my-opencode
that referenced
this pull request
Jan 18, 2026
Uses OpenCode's `default_agent` config (PR #5843) Sets Sisyphus as default when sisyphus_agent is not disabled Closes code-yeongyu#283 🤖 GENERATED WITH ASSISTANCE OF [OhMyOpenCode](https://github.com/code-yeongyu/oh-my-opencode)
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.
Summary
sisyphus_agentis enabled (not disabled)default_agentconfig option (added in PR #5843)Changes
When Sisyphus agent is available and not disabled, the plugin now sets:
This uses OpenCode's native default agent configuration instead of only relying on agent ordering workarounds.
Related
Closes #283
🤖 GENERATED WITH ASSISTANCE OF OhMyOpenCode