osborn 0.9.207 → 0.9.209

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -179,6 +179,13 @@ ensureCompactionSettings();
179
179
  // also depends on account entitlement (auto on Team seats; else usage credits).
180
180
  process.env.ENABLE_1M_CONTEXT = '1';
181
181
  process.env.CLAUDE_AUTOCOMPACT_PCT_OVERRIDE = '75'; // auto-compact at 75% of 1M context (750k tokens) — prevents compaction at extreme tail
182
+ // Lock Claude Code's internal "small/fast" model slot to Haiku so background
183
+ // tasks (summaries, quick completions, agent scaffolding) never silently
184
+ // default to a full-tier model. The main conversational model is set per-query
185
+ // via options.model — this only covers the SDK's internal non-main operations.
186
+ if (!process.env.ANTHROPIC_SMALL_FAST_MODEL) {
187
+ process.env.ANTHROPIC_SMALL_FAST_MODEL = 'claude-haiku-4-5-20251001';
188
+ }
182
189
  // Research mode tools — full research capabilities
183
190
  // Named sub-agents — the orchestrator delegates to these specialists. Each has
184
191
  // a specific role, model, and tool set. Module-level + exported so the HTTP
@@ -240,7 +247,7 @@ export const NAMED_AGENTS = {
240
247
  'Does NOT edit files — returns a clear plan for the writer agent to execute.',
241
248
  ].join(' '),
242
249
  tools: ['Read', 'Glob', 'Grep', 'WebSearch', 'WebFetch'],
243
- model: 'opus',
250
+ model: 'sonnet',
244
251
  prompt: [
245
252
  'You are Osborn\'s reasoning agent — the "smart model" seat for hard tradeoffs, architecture decisions, and vetting research.',
246
253
  '',
@@ -293,7 +300,7 @@ export const NAMED_AGENTS = {
293
300
  'If anything is unclear, asks the main agent for clarification before touching files.',
294
301
  ].join(' '),
295
302
  tools: ['Read', 'Write', 'Edit', 'MultiEdit', 'Bash', 'Glob', 'Grep', 'NotebookRead', 'NotebookEdit'],
296
- model: 'opus',
303
+ model: 'sonnet',
297
304
  prompt: [
298
305
  'You are Osborn\'s writer agent. You execute file changes with a verify-first approach.',
299
306
  '',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "osborn",
3
- "version": "0.9.207",
3
+ "version": "0.9.209",
4
4
  "description": "Voice AI coding assistant - local agent that connects to Osborn frontend",
5
5
  "type": "module",
6
6
  "bin": {