YeonGyu-Kim
4a82ff40fb
Consolidate duplicate patterns and simplify codebase ( #1317 )
...
* refactor(shared): unify binary downloader and session path storage
- Create binary-downloader.ts for common download/extract logic
- Create session-injected-paths.ts for unified path tracking
- Refactor comment-checker, ast-grep, grep downloaders to use shared util
- Consolidate directory injector types into shared module
* feat(shared): implement unified model resolution pipeline
- Create ModelResolutionPipeline for centralized model selection
- Refactor model-resolver to use pipeline
- Update delegate-task and config-handler to use unified logic
- Ensure consistent model resolution across all agent types
* refactor(agents): simplify agent utils and metadata management
- Extract helper functions for config merging and env context
- Register prompt metadata for all agents
- Simplify agent variant detection logic
* cleanup: inline utilities and remove unused exports
- Remove case-insensitive.ts (inline with native JS)
- Simplify opencode-version helpers
- Remove unused getModelLimit, createCompactionContextInjector exports
- Inline transcript entry creation in claude-code-hooks
- Update tests accordingly
---------
Co-authored-by: justsisyphus <justsisyphus@users.noreply.github.com>
2026-01-31 15:46:14 +09:00
Moha Abdi
3e32afe646
fix(agent-variant): resolve variant based on current model, not static config ( #1179 )
2026-01-28 16:26:31 +09:00
justsisyphus
c2247aec60
refactor(agents): add prometheus agent and normalize agent key lookups
...
- Add 'prometheus' to BuiltinAgentNameSchema enum
- Update delegate_task parameter names in documentation (agent → subagent_type, background → run_in_background)
- Make agent name comparison case-insensitive in Atlas hook
- Implement case-insensitive agent config lookup in shared utilities
- Relax type signature for disabled agents parameter
🤖 Generated with assistance of OhMyOpenCode
2026-01-24 02:00:17 +09:00
Jason Kölker
2b8853cbac
feat(config): add model variant support
...
Allow optional model variant config for agents and categories.
Propagate category variants into task model payloads so
category-driven runs inherit provider-specific variants.
Closes : #647
2026-01-13 04:37:51 +00:00