BREAKING CHANGE: Model resolution overhauled - Created centralized model-resolver.ts with priority chain: userModel → inheritedModel → systemDefaultModel - Removed model field from all 7 DEFAULT_CATEGORIES entries - Removed DEFAULT_MODEL constants from 10 agents - Removed singleton agent exports (use factories instead) - Made CategoryConfigSchema.model optional - CLI no longer generates model overrides - Empty strings treated as unset (uses fallback) Users must now: 1. Use factory functions (createOracleAgent, etc.) instead of singletons 2. Provide model explicitly or use systemDefaultModel 3. Configure category models explicitly if needed Fixes model fallback bug where hardcoded defaults overrode user's OpenCode configured model.
40 lines
478 B
Plaintext
40 lines
478 B
Plaintext
# Dependencies
|
|
.sisyphus/
|
|
node_modules/
|
|
|
|
# Build output
|
|
dist/
|
|
|
|
# Build artifacts in src (should go to dist/)
|
|
src/**/*.js
|
|
src/**/*.js.map
|
|
|
|
# Platform binaries (built, not committed)
|
|
packages/*/bin/oh-my-opencode
|
|
packages/*/bin/oh-my-opencode.exe
|
|
|
|
# IDE
|
|
.idea/
|
|
.vscode/
|
|
*.swp
|
|
*.swo
|
|
|
|
# OS
|
|
.DS_Store
|
|
Thumbs.db
|
|
|
|
# Logs
|
|
*.log
|
|
npm-debug.log*
|
|
|
|
# Lock files (use bun.lockb instead)
|
|
package-lock.json
|
|
yarn.lock
|
|
|
|
# Environment
|
|
.env
|
|
.env.local
|
|
test-injection/
|
|
notepad.md
|
|
oauth-success.html
|