YeonGyu-Kim
4d0ef274a5
Merge pull request #1297 from khduy/fix/deduplicate-settings-paths
...
fix(claude-code-hooks): deduplicate settings paths to prevent double hook execution
2026-02-04 13:35:06 +09:00
YeonGyu-Kim
61f0b17c5b
Merge pull request #1289 from KonaEspresso94/fix/agent-tools-bug
...
fix: honor tools overrides via permission migration
2026-02-04 13:34:53 +09:00
YeonGyu-Kim
b00114bafb
Merge pull request #1393 from ualtinok/dev
...
fix: grep and glob tools usage without path param under Opencode Desktop
2026-02-04 13:34:52 +09:00
YeonGyu-Kim
11a08eda3f
Merge pull request #1388 from boguan/dev
...
fix: remove redundant removeCodeBlocks call
2026-02-04 13:34:51 +09:00
YeonGyu-Kim
f042390576
Merge pull request #1384 from devxoul/fix/readme-toc-links
...
fix: remove broken TOC links in README
2026-02-04 13:34:40 +09:00
YeonGyu-Kim
06522a96fe
revert(call-omo-agent): remove metis/momus from ALLOWED_AGENTS
...
call_omo_agent is for lightweight exploration agents (explore, librarian).
metis/momus are consultation agents that should be invoked via delegate_task.
Reverts part of #1462 that incorrectly added metis/momus to call_omo_agent.
2026-02-04 11:38:24 +09:00
YeonGyu-Kim
1f44b3e04f
fix(agent-restrictions): add read-only restrictions for metis and momus
...
- Add metis and momus to AGENT_RESTRICTIONS with same pattern as oracle
- Deny write, edit, task, and delegate_task tools
- Enforces read-only design for these advisor agents
- Addresses cubic review feedback on #1462
2026-02-04 11:36:34 +09:00
YeonGyu-Kim
8d7879c2a9
fix(call-omo-agent): allow Prometheus to call Metis and Momus ( #1462 )
...
* fix(call-omo-agent): allow Prometheus to call Metis and Momus
* fix(call-omo-agent): update help text and remove unrelated bun.lock
- Update subagent_type description to include metis and momus
- Remove unrelated bun.lock changes (keeps PR scope tight)
- Addresses Oracle review feedback
2026-02-04 11:27:14 +09:00
YeonGyu-Kim
3297cf94cc
fix(skill-mcp): avoid propertyNames for Gemini compatibility ( #1465 )
...
- Replace record(string, unknown) with object({}) in arguments schema
- record() generates propertyNames which Gemini rejects with 400 error
- object({}) generates plain { type: 'object' } without propertyNames
- Runtime parseArguments() already handles arbitrary object keys
Fixes #1315
2026-02-04 11:26:34 +09:00
YeonGyu-Kim
1c050852a0
fix(model-requirements): use supported variant for gemini-3-pro ( #1463 )
...
* fix(model-requirements): use supported variant for gemini-3-pro
* fix(delegate-task): update artistry variant to high for gemini-3-pro
- Update DEFAULT_CATEGORIES artistry variant from 'max' to 'high'
- Update related test comment
- gemini-3-pro only supports low/high thinking levels, not max
- Addresses Oracle review feedback
2026-02-04 11:26:17 +09:00
YeonGyu-Kim
ed8ee3b212
fix(model-availability): prefer exact model ID match in fuzzyMatchModel ( #1460 )
...
* fix(model-availability): prefer exact model ID match in fuzzyMatchModel
* fix(model-availability): use filter+shortest for multi-provider tie-break
- Change Priority 2 from find() to filter()+reduce()
- Preserves shortest-match tie-break when multiple providers share model ID
- Add test for multi-provider same model ID case
- Addresses Oracle review feedback
2026-02-04 11:25:59 +09:00
YeonGyu-Kim
1faff00593
docs: clarify Prometheus invocation workflow ( #1466 )
2026-02-04 11:25:46 +09:00
YeonGyu-Kim
d7dd9e482f
fix(doctor): respect user-configured agent variant ( #1464 )
...
* fix(doctor): respect user-configured agent variant
* fix(doctor): align variant resolution with agent-variant.ts
- Add case-insensitive agent key lookup (matches canonical logic)
- Support category-based variant inheritance (agent.category -> categories[cat].variant)
- Separate getCategoryEffectiveVariant for category-specific resolution
- Addresses Oracle review feedback
2026-02-04 11:25:37 +09:00
YeonGyu-Kim
4682dacfea
fix(docs): instruct curl over WebFetch for installation ( #1461 )
2026-02-04 11:25:25 +09:00
dan
a7262000ff
fix(auth): opencode desktop server unauthorized bugfix on subagent spawn ( #1399 )
...
* fix(auth): opencode desktop server unauthorized bugfix on subagent spawn
* refactor(auth): add runtime guard and throw on SDK mismatch
- Add JSDoc with SDK API documentation reference
- Replace silent failure with explicit Error throw when OPENCODE_SERVER_PASSWORD is set but client structure is incompatible
- Add runtime type guard for SDK client structure
- Add tests for error cases (missing _client, missing setConfig)
- Remove unrelated bun.lock changes
Co-authored-by: dan-myles <dan-myles@users.noreply.github.com >
---------
Co-authored-by: YeonGyu-Kim <code.yeon.gyu@gmail.com >
Co-authored-by: dan-myles <dan-myles@users.noreply.github.com >
2026-02-04 11:07:02 +09:00
Rishi Vhavle
2dc241cbbe
fix: block bash commands in Prometheus mode to respect permission config ( #1449 )
...
Fixes #1428 - Prometheus bash bypass security issue
2026-02-04 11:06:54 +09:00
YeonGyu-Kim
df784c4f83
fix(non-interactive-env): use detectShellType() instead of hardcoded 'unix' ( #1459 )
...
The shellType was hardcoded to 'unix' which breaks on native Windows shells
(cmd.exe, PowerShell) when running without Git Bash or WSL.
This change uses the existing detectShellType() function to dynamically
determine the correct shell type, enabling proper env var syntax for all
supported shell environments.
2026-02-04 10:52:46 +09:00
github-actions[bot]
99f83a844f
@kaizen403 has signed the CLA in code-yeongyu/oh-my-opencode#1449
2026-02-03 20:44:35 +00:00
github-actions[bot]
3905adf5ea
@wydrox has signed the CLA in code-yeongyu/oh-my-opencode#1436
2026-02-03 16:39:46 +00:00
github-actions[bot]
c93027ef66
@filipemsilv4 has signed the CLA in code-yeongyu/oh-my-opencode#1435
2026-02-03 14:38:23 +00:00
github-actions[bot]
26a70f5ada
@sk0x0y has signed the CLA in code-yeongyu/oh-my-opencode#1434
2026-02-03 14:21:40 +00:00
github-actions[bot]
ff43ef3f50
@Stranmor has signed the CLA in code-yeongyu/oh-my-opencode#1432
2026-02-03 13:53:27 +00:00
github-actions[bot]
3bc3a3dcf0
@ualtinok has signed the CLA in code-yeongyu/oh-my-opencode#1393
2026-02-03 12:43:21 +00:00
github-actions[bot]
c1e08c939a
@ilarvne has signed the CLA in code-yeongyu/oh-my-opencode#1422
2026-02-03 08:15:51 +00:00
github-actions[bot]
ad4bec384f
release: v3.2.2
2026-02-03 07:59:49 +00:00
YeonGyu-Kim
ce482f82b4
fix(background-cancel): skip notification when user explicitly cancels tasks
...
- Add skipNotification option to cancelTask method
- Apply skipNotification to background_cancel tool
- Prevents unwanted notifications when user cancels via tool
2026-02-03 16:56:40 +09:00
YeonGyu-Kim
242c63a2fb
docs: add Task system documentation
...
- Document TaskCreate, TaskGet, TaskList, TaskUpdate tools
- Note that these tools follow Claude Code internal specs but are not officially documented by Anthropic
- Include schema, dependency system, and usage examples
2026-02-03 16:35:49 +09:00
YeonGyu-Kim
dc0eceadce
feat(tasks-todowrite-disabler): add strong emphasis to register tasks before working
...
Add warning that even trivial tasks must be registered with TaskCreate
before starting work - no direct work without task tracking.
2026-02-03 16:27:58 +09:00
YeonGyu-Kim
a0a73971e1
docs(agents): regenerate AGENTS.md hierarchy with init-deep
...
- Root: preserve 3 CRITICAL sections (PR target, OpenCode source, English-only)
- Update all 10 AGENTS.md files with current codebase analysis
- Add complexity hotspots, agent models, anti-patterns
- Sync line counts and structure with actual implementation
2026-02-03 16:21:31 +09:00
YeonGyu-Kim
4aa95e6f83
feat(delegate-task): add actionable TODO list template to plan agent prompt
...
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-opencode )
Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai >
2026-02-03 15:58:06 +09:00
YeonGyu-Kim
4b16fbee05
feat(auto-slash-command): add builtin commands support and improve part extraction
...
- Add builtin commands to command discovery with 'builtin' scope
- Improve extractPromptText to prioritize slash command parts
- Add findSlashCommandPartIndex helper for locating slash commands
- Add CommandExecuteBefore hook support
2026-02-03 14:33:53 +09:00
YeonGyu-Kim
3827b5b913
fix(config): prevent plan agent from inheriting prometheus prompt on demote
...
Plan agent demote now only sets mode to 'subagent' without spreading
prometheus config. This ensures plan agent uses OpenCode's default
prompt instead of inheriting prometheus prompt.
2026-02-03 14:28:57 +09:00
YeonGyu-Kim
f787e15dc9
feat(agents): add GPT-5.2 optimized prompt for sisyphus-junior
...
Restructure sisyphus-junior agent to use model-specific prompts:
- GPT models: GPT-5.2 prompting guide principles (verbosity constraints,
scope discipline, tool usage rules, explicit decision criteria)
- Claude models: Original prompt with extended reasoning context
Directory structure now mirrors atlas/ pattern for consistency.
2026-02-03 14:12:22 +09:00
YeonGyu-Kim
172efc4d04
feat(tasks-todowrite-disabler): improve error message with actionable workflow guidance
2026-02-03 14:11:27 +09:00
YeonGyu-Kim
013fc5f57c
feat(agents): add useTaskSystem flag for conditional todo/task discipline prompts
...
- Sisyphus: buildTaskManagementSection() with todo/task variants
- Sisyphus-Junior: buildTodoDisciplineSection() with todo/task variants
- Hephaestus: buildTodoDisciplineSection() with todo/task variants
- All factory functions accept useTaskSystem parameter (default: false)
2026-02-03 13:58:56 +09:00
YeonGyu-Kim
9519f2e4f9
feat(agents): add Todo Discipline section to Hephaestus prompt
2026-02-03 13:52:03 +09:00
YeonGyu-Kim
e4988a83b2
fix(config-handler): preserve plan prompt when demoted ( #1416 )
2026-02-03 13:37:57 +09:00
YeonGyu-Kim
c7c8c9f01f
refactor(ultrawork): simplify workflow and apply parallel context gathering ( #1412 )
...
* refactor(ultrawork): simplify workflow to natural tool-like agent usage
Restore beta.16 style where explore/librarian agents feel like tools:
- Simplify delegate_task examples (agent=, background=true)
- Remove verbose DATA DEPENDENCIES explanation
- Condense EXECUTION RULES to action-oriented bullets
- Simplify WORKFLOW to 4 clear steps
- Remove procedural constraints that discouraged parallel exploration
The goal: agents fire background tasks AND continue direct exploration,
rather than waiting passively for background results.
* refactor(ultrawork/gpt5.2): apply two-track parallel context gathering
Based on GPT-5.2 Prompting Guide recommendations:
- 'Parallelize independent reads to reduce latency'
- Fire background agents (explore, librarian) for deep search
- Use direct tools (Grep, Read, LSP) simultaneously for quick wins
- Collect and merge ALL findings for comprehensive context
Pattern: background fire → direct exploration in parallel → collect → proceed
* fix: address Cubic review feedback
- Fix delegate_task parameter names in default.ts (agent → subagent_type, background → run_in_background)
- Add missing load_skills and run_in_background parameters to delegate_task examples
- Restore new_task_system_enabled property to schema and TypeScript config
- Fix tool names in gpt5.2.ts (Grep → grep, Read → read_file)
Identified by cubic (https://cubic.dev )
2026-02-03 12:13:22 +09:00
YeonGyu-Kim
1de6b52307
fix(prometheus): enforce path constraints and atomic write protocol ( #1414 )
...
* fix(prometheus): enforce path constraints and atomic write protocol
- Add FORBIDDEN PATHS section blocking docs/, plan/, plans/ directories
- Add SINGLE ATOMIC WRITE protocol to prevent content loss from multiple writes
- Simplify PROMETHEUS_AGENTS array to single PROMETHEUS_AGENT string
* fix: reconcile Edit tool signature in interview-mode.ts with identity-constraints.ts
Identified by cubic: Edit tool usage was inconsistent between files.
- interview-mode.ts showed: Edit(path, content)
- identity-constraints.ts showed: Edit(path, oldString="...", newString="...")
Updated interview-mode.ts to use the correct Edit signature with oldString and newString parameters to match the actual tool API and prevent agent hallucination.
2026-02-03 12:11:52 +09:00
YeonGyu-Kim
c05ee6f75f
refactor(config-handler): separate plan prompt into dedicated configuration ( #1413 )
...
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-opencode )
Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai >
2026-02-03 12:11:49 +09:00
YeonGyu-Kim
7930d87812
refactor(background-agent): optimize lifecycle and simplify tools ( #1411 )
...
* refactor(background-agent): optimize cache timer lifecycle and result handling
Ultraworked with Sisyphus
Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai >
* refactor(background-task): simplify tool implementation and expand test coverage
Ultraworked with Sisyphus
Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai >
* fix(background-task): fix BackgroundCancel tool parameter handling
Correct parameter names and types in BackgroundCancel tool to match actual usage patterns. Add comprehensive test coverage for parameter validation.
---------
Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai >
2026-02-03 12:11:45 +09:00
YeonGyu-Kim
28e149e5d7
feat(agents): respect uiSelectedModel in Atlas model resolution ( #1410 )
...
Atlas now respects uiSelectedModel when resolving model in createBuiltinAgents. Added test coverage for this behavior.
2026-02-03 12:11:42 +09:00
YeonGyu-Kim
9ccca7a97f
feat(task-system): add experimental task system with Claude Code spec alignment ( #1415 )
...
* feat(hooks): add tasks-todowrite-disabler hook to block TodoRead/TodoWrite
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-opencode )
Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai >
* feat(task-tools): add parallel execution guidance to descriptions
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-opencode )
Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai >
* refactor(index): migrate task system to experimental.task_system flag
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-opencode )
Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai >
* docs: update AGENTS.md for experimental task system
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-opencode )
Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai >
* fix(task-tests): align test field names with Claude Code spec (subject, blockedBy, addBlockedBy)
* fix: address Cubic review feedback
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-opencode )
Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai >
* fix: add optional chaining for tasksTodowriteDisabler null check
---------
Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai >
2026-02-03 12:11:23 +09:00
YeonGyu-Kim
6b8294b7e5
docs(AGENTS): add critical sections for PR workflow and OpenCode source reference
...
- Emphasize PR target branch rule with NEVER DELETE warning
- Add git workflow diagram (master <- dev <- feature branches)
- Add OpenCode source code reference section for plugin development
- Emphasize librarian agent usage for plugin-related tasks
2026-02-03 11:05:45 +09:00
YeonGyu-Kim
7b63c46739
refactor(oracle): optimize prompt for GPT-5.2 with XML structure and verbosity constraints
...
- Restructure prompt with XML tags for better instruction adherence
- Add output_verbosity_spec with concrete limits (≤7 steps, ≤3 sentences)
- Add uncertainty_and_ambiguity section with decision tree
- Add scope_discipline to prevent scope drift
- Add tool_usage_rules for efficient tool calling
- Add high_risk_self_check for architecture/security answers
- Add long_context_handling for large code inputs
- Update context to support session continuation follow-ups
2026-02-03 11:03:41 +09:00
YeonGyu-Kim
817fc208b8
fix(prompts): add missing run_in_background and load_skills params to examples
...
All delegate_task examples now include required parameters to prevent
model confusion about parameter omission.
Fixes #1403
2026-02-03 10:50:26 +09:00
YeonGyu-Kim
713df6b0a5
fix(delegate-task): honor sisyphus-junior model override precedence ( #1404 )
2026-02-03 10:41:26 +09:00
YeonGyu-Kim
163995d5c8
atlas reminder reinforce
2026-02-03 10:31:34 +09:00
github-actions[bot]
071a31911a
@dan-myles has signed the CLA in code-yeongyu/oh-my-opencode#1399
2026-02-02 16:59:02 +00:00
YeonGyu-Kim
39dc2ff303
feat: add agent fallback and preemptive-compaction restoration
...
- Add agent visibility fallback for first-run scenarios
- Restore preemptive-compaction hook
- Update migration and schema for preemptive-compaction restoration
2026-02-02 22:40:59 +09:00