osborn 0.9.181 → 0.9.183

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.
@@ -167,7 +167,7 @@ ensureCompactionSettings();
167
167
  // (1M) window; without it opus runs at its 200K default. NOTE: 1M activation
168
168
  // also depends on account entitlement (auto on Team seats; else usage credits).
169
169
  process.env.ENABLE_1M_CONTEXT = '1';
170
- process.env.CLAUDE_AUTOCOMPACT_PCT_OVERRIDE = '92';
170
+ process.env.CLAUDE_AUTOCOMPACT_PCT_OVERRIDE = '75'; // auto-compact at 75% of 1M context (750k tokens) — prevents compaction at extreme tail
171
171
  // Research mode tools — full research capabilities
172
172
  // Named sub-agents — the orchestrator delegates to these specialists. Each has
173
173
  // a specific role, model, and tool set. Module-level + exported so the HTTP
@@ -276,13 +276,13 @@ export const NAMED_AGENTS = {
276
276
  },
277
277
  writer: {
278
278
  description: [
279
- 'Execution agent with file write/edit permissions (Sonnet).',
279
+ 'Execution agent with file write/edit permissions (Opus).',
280
280
  'Handles ALL file operations: code, config, docs, scripts, data files.',
281
281
  'VERIFY-FIRST workflow: checks assumptions before making changes, runs tests after.',
282
282
  'If anything is unclear, asks the main agent for clarification before touching files.',
283
283
  ].join(' '),
284
284
  tools: ['Read', 'Write', 'Edit', 'MultiEdit', 'Bash', 'Glob', 'Grep', 'NotebookRead', 'NotebookEdit'],
285
- model: 'sonnet',
285
+ model: 'opus',
286
286
  prompt: [
287
287
  'You are Osborn\'s writer agent. You execute file changes with a verify-first approach.',
288
288
  '',
@@ -421,13 +421,13 @@ export const NAMED_AGENTS = {
421
421
  },
422
422
  planner: {
423
423
  description: [
424
- 'Planning agent (Opus). Use for: decomposing a large or ambiguous request into a concrete,',
424
+ 'Planning agent (Sonnet). Use for: decomposing a large or ambiguous request into a concrete,',
425
425
  'ordered sequence of atomic writer-safe steps. Returns a self-contained brief the writer',
426
426
  'can execute without further clarification. Slow but thorough — only use for genuinely',
427
427
  'complex multi-file changes or when the approach is uncertain.',
428
428
  ].join(' '),
429
429
  tools: ['Read', 'Glob', 'Grep', 'WebSearch'],
430
- model: 'opus',
430
+ model: 'sonnet',
431
431
  prompt: [
432
432
  'You are Osborn\'s planning agent. Your job is to decompose complex tasks into clear, atomic steps.',
433
433
  '',
@@ -474,13 +474,13 @@ export const NAMED_AGENTS = {
474
474
  },
475
475
  reviewer: {
476
476
  description: [
477
- 'Code-review agent (Opus). Use for: the VERIFY step in a generator-verifier loop — after the',
477
+ 'Code-review agent (Sonnet). Use for: the VERIFY step in a generator-verifier loop — after the',
478
478
  'writer completes a change, the reviewer reads the diff, checks correctness, spec/requirement',
479
479
  'adherence, obvious bugs, and security issues, then tags each finding BLOCKER/MAJOR/MINOR/NIT',
480
480
  'and returns an ACCEPT or REJECT verdict with specific, actionable feedback. May write documentation files (.md etc.) only.',
481
481
  ].join(' '),
482
482
  tools: ['Read', 'Glob', 'Grep', 'Bash', 'Write', 'Edit'],
483
- model: 'opus',
483
+ model: 'sonnet',
484
484
  prompt: [
485
485
  'You are Osborn\'s reviewer agent. You are the VERIFY step in a generator-verifier loop.',
486
486
  '',
package/dist/config.js CHANGED
@@ -51,8 +51,9 @@ const DEFAULT_CONFIG = {
51
51
  model: 'nova-3',
52
52
  },
53
53
  tts: {
54
- provider: 'deepgram',
55
- voice: 'aura-2-asteria-en',
54
+ provider: 'openai',
55
+ model: 'tts-1-hd',
56
+ voice: 'fable',
56
57
  },
57
58
  },
58
59
  mcpServers: {
@@ -15,7 +15,7 @@
15
15
  // ============================================================
16
16
  // CONSTANTS
17
17
  // ============================================================
18
- const OPENROUTER_MODEL = 'deepseek/deepseek-chat-v3-5';
18
+ const OPENROUTER_MODEL = 'deepseek/deepseek-chat';
19
19
  const OPENROUTER_URL = 'https://openrouter.ai/api/v1/chat/completions';
20
20
  const TIMEOUT_MS = 20_000;
21
21
  const MAX_TOOL_ROUNDS = 4;
package/dist/voice-io.js CHANGED
@@ -126,8 +126,8 @@ export async function createVAD() {
126
126
  export const DIRECT_MODE_STT = {
127
127
  // provider: 'groq-whisper', model: 'whisper-large-v3-turbo', // Batch — needs VAD
128
128
  // provider: 'openai-whisper', model: 'whisper-1', // Batch — needs VAD
129
- provider: 'deepgram', model: 'nova-3', language: 'en', // Streaming, silence-based endpointing
130
129
  // provider: 'deepgram-flux', model: 'flux-general-en', language: 'en', // Streaming, ML-based turn detection — Flux V2 has silent keepalive timeout bug (~30s silence kills connection)
130
+ provider: 'deepgram', model: 'nova-3', language: 'en', // Streaming, silence-based endpointing (550ms)
131
131
  };
132
132
  export const DIRECT_MODE_TTS = {
133
133
  // provider: 'deepgram', model: 'aura-2-asteria-en', // WebSocket-based: handles TTS abort cleanly — but quality rejected (run-on sentences)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "osborn",
3
- "version": "0.9.181",
3
+ "version": "0.9.183",
4
4
  "description": "Voice AI coding assistant - local agent that connects to Osborn frontend",
5
5
  "type": "module",
6
6
  "bin": {