@askexenow/exe-os 0.9.16 → 0.9.18

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.
Files changed (97) hide show
  1. package/dist/bin/backfill-conversations.js +1242 -909
  2. package/dist/bin/backfill-responses.js +1245 -912
  3. package/dist/bin/backfill-vectors.js +1244 -906
  4. package/dist/bin/cleanup-stale-review-tasks.js +1870 -417
  5. package/dist/bin/cli.js +217 -107
  6. package/dist/bin/exe-agent-config.js +2 -2
  7. package/dist/bin/exe-agent.js +62 -0
  8. package/dist/bin/exe-assign.js +346 -10
  9. package/dist/bin/exe-boot.js +387 -32
  10. package/dist/bin/exe-call.js +72 -2
  11. package/dist/bin/exe-cloud.js +8 -0
  12. package/dist/bin/exe-dispatch.js +1821 -225
  13. package/dist/bin/exe-doctor.js +720 -52
  14. package/dist/bin/exe-export-behaviors.js +1429 -148
  15. package/dist/bin/exe-forget.js +1408 -34
  16. package/dist/bin/exe-gateway.js +1629 -1295
  17. package/dist/bin/exe-heartbeat.js +1899 -448
  18. package/dist/bin/exe-kill.js +1624 -346
  19. package/dist/bin/exe-launch-agent.js +726 -90
  20. package/dist/bin/exe-link.js +27 -8
  21. package/dist/bin/exe-new-employee.js +75 -9
  22. package/dist/bin/exe-pending-messages.js +2769 -1316
  23. package/dist/bin/exe-pending-notifications.js +2829 -1376
  24. package/dist/bin/exe-pending-reviews.js +2847 -1392
  25. package/dist/bin/exe-rename.js +89 -8
  26. package/dist/bin/exe-review.js +1494 -312
  27. package/dist/bin/exe-search.js +1608 -1300
  28. package/dist/bin/exe-session-cleanup.js +194 -91
  29. package/dist/bin/exe-settings.js +10 -2
  30. package/dist/bin/exe-start-codex.js +769 -120
  31. package/dist/bin/exe-start-opencode.js +763 -108
  32. package/dist/bin/exe-status.js +1887 -434
  33. package/dist/bin/exe-team.js +1782 -324
  34. package/dist/bin/git-sweep.js +408 -33
  35. package/dist/bin/graph-backfill.js +681 -27
  36. package/dist/bin/graph-export.js +1419 -141
  37. package/dist/bin/install.js +4 -8
  38. package/dist/bin/intercom-check.js +8641 -0
  39. package/dist/bin/scan-tasks.js +553 -38
  40. package/dist/bin/setup.js +82 -10
  41. package/dist/bin/shard-migrate.js +682 -28
  42. package/dist/gateway/index.js +1629 -1295
  43. package/dist/hooks/bug-report-worker.js +1136 -183
  44. package/dist/hooks/codex-stop-task-finalizer.js +1060 -107
  45. package/dist/hooks/commit-complete.js +408 -33
  46. package/dist/hooks/error-recall.js +1608 -1300
  47. package/dist/hooks/ingest-worker.js +250 -7966
  48. package/dist/hooks/ingest.js +707 -119
  49. package/dist/hooks/instructions-loaded.js +383 -20
  50. package/dist/hooks/notification.js +383 -20
  51. package/dist/hooks/post-compact.js +384 -21
  52. package/dist/hooks/{response-ingest-worker.js → post-tool-combined.js} +4157 -1716
  53. package/dist/hooks/pre-compact.js +486 -45
  54. package/dist/hooks/pre-tool-use.js +385 -22
  55. package/dist/hooks/prompt-submit.js +291 -96
  56. package/dist/hooks/session-end.js +490 -48
  57. package/dist/hooks/session-start.js +236 -22
  58. package/dist/hooks/stop.js +192 -50
  59. package/dist/hooks/subagent-stop.js +95 -18
  60. package/dist/hooks/summary-worker.js +205 -361
  61. package/dist/index.js +221 -105
  62. package/dist/lib/agent-config.js +2 -2
  63. package/dist/lib/cloud-sync.js +27 -8
  64. package/dist/lib/consolidation.js +437 -41
  65. package/dist/lib/database.js +20 -8
  66. package/dist/lib/db-daemon-client.js +2 -2
  67. package/dist/lib/db.js +20 -8
  68. package/dist/lib/device-registry.js +27 -8
  69. package/dist/lib/employee-templates.js +62 -0
  70. package/dist/lib/employees.js +2 -2
  71. package/dist/lib/exe-daemon.js +6703 -6259
  72. package/dist/lib/hybrid-search.js +1608 -1300
  73. package/dist/lib/identity.js +1 -1
  74. package/dist/lib/messaging.js +11 -3
  75. package/dist/lib/reminders.js +1 -1
  76. package/dist/lib/schedules.js +718 -26
  77. package/dist/lib/session-registry.js +11 -0
  78. package/dist/lib/skill-learning.js +639 -9
  79. package/dist/lib/store.js +676 -27
  80. package/dist/lib/tasks.js +665 -27
  81. package/dist/lib/tmux-routing.js +732 -94
  82. package/dist/lib/token-spend.js +1 -1
  83. package/dist/mcp/server.js +856 -383
  84. package/dist/mcp/tools/complete-reminder.js +1 -1
  85. package/dist/mcp/tools/create-reminder.js +1 -1
  86. package/dist/mcp/tools/create-task.js +616 -46
  87. package/dist/mcp/tools/deactivate-behavior.js +9 -1
  88. package/dist/mcp/tools/list-reminders.js +1 -1
  89. package/dist/mcp/tools/list-tasks.js +10 -2
  90. package/dist/mcp/tools/send-message.js +11 -3
  91. package/dist/mcp/tools/update-task.js +677 -39
  92. package/dist/runtime/index.js +425 -37
  93. package/dist/tui/App.js +365 -34
  94. package/package.json +5 -2
  95. package/src/commands/exe/intercom.md +6 -17
  96. package/dist/bin/wiki-sync.js +0 -2991
  97. package/dist/hooks/prompt-ingest-worker.js +0 -3979
@@ -509,7 +509,7 @@ function createDaemonDbClient(fallbackClient) {
509
509
  });
510
510
  if (response.error) {
511
511
  const errMsg = String(response.error);
512
- if (errMsg === "Not connected" || errMsg === "Request timeout" || errMsg === "Write failed") {
512
+ if (errMsg === "Not connected" || errMsg === "Request timeout" || errMsg === "Write failed" || errMsg === "DB not initialized") {
513
513
  process.stderr.write(`[db-daemon] Transport error (${errMsg}), falling back to direct
514
514
  `);
515
515
  return fallbackClient.execute(stmt);
@@ -534,7 +534,7 @@ function createDaemonDbClient(fallbackClient) {
534
534
  });
535
535
  if (response.error) {
536
536
  const errMsg = String(response.error);
537
- if (errMsg === "Not connected" || errMsg === "Request timeout" || errMsg === "Write failed") {
537
+ if (errMsg === "Not connected" || errMsg === "Request timeout" || errMsg === "Write failed" || errMsg === "DB not initialized") {
538
538
  process.stderr.write(`[db-daemon] Batch transport error (${errMsg}), falling back to direct
539
539
  `);
540
540
  return fallbackClient.batch(stmts, mode);
package/dist/lib/db.js CHANGED
@@ -553,7 +553,7 @@ function createDaemonDbClient(fallbackClient) {
553
553
  });
554
554
  if (response.error) {
555
555
  const errMsg = String(response.error);
556
- if (errMsg === "Not connected" || errMsg === "Request timeout" || errMsg === "Write failed") {
556
+ if (errMsg === "Not connected" || errMsg === "Request timeout" || errMsg === "Write failed" || errMsg === "DB not initialized") {
557
557
  process.stderr.write(`[db-daemon] Transport error (${errMsg}), falling back to direct
558
558
  `);
559
559
  return fallbackClient.execute(stmt);
@@ -578,7 +578,7 @@ function createDaemonDbClient(fallbackClient) {
578
578
  });
579
579
  if (response.error) {
580
580
  const errMsg = String(response.error);
581
- if (errMsg === "Not connected" || errMsg === "Request timeout" || errMsg === "Write failed") {
581
+ if (errMsg === "Not connected" || errMsg === "Request timeout" || errMsg === "Write failed" || errMsg === "DB not initialized") {
582
582
  process.stderr.write(`[db-daemon] Batch transport error (${errMsg}), falling back to direct
583
583
  `);
584
584
  return fallbackClient.batch(stmts, mode);
@@ -654,9 +654,9 @@ var init_db_daemon_client = __esm({
654
654
  import { createClient } from "@libsql/client";
655
655
 
656
656
  // src/lib/db-retry.ts
657
- var MAX_RETRIES = 3;
658
- var BASE_DELAY_MS = 200;
659
- var MAX_JITTER_MS = 300;
657
+ var MAX_RETRIES = 5;
658
+ var BASE_DELAY_MS = 250;
659
+ var MAX_JITTER_MS = 400;
660
660
  function isBusyError(err) {
661
661
  if (err instanceof Error) {
662
662
  const msg = err.message.toLowerCase();
@@ -1312,6 +1312,9 @@ async function createPrismaDbAdapter(fallbackClient) {
1312
1312
  return adapter;
1313
1313
  }
1314
1314
 
1315
+ // src/types/memory.ts
1316
+ var EMBEDDING_DIM = 1024;
1317
+
1315
1318
  // src/lib/database.ts
1316
1319
  var _client = null;
1317
1320
  var _resilientClient = null;
@@ -1356,7 +1359,7 @@ async function initDatabase(config) {
1356
1359
  });
1357
1360
  }, 3e4);
1358
1361
  _walCheckpointTimer.unref();
1359
- if (process.env.DATABASE_URL) {
1362
+ if (process.env.DATABASE_URL && process.env.EXE_USE_POSTGRES === "1") {
1360
1363
  _adapterClient = await createPrismaDbAdapter(_resilientClient);
1361
1364
  }
1362
1365
  }
@@ -1367,7 +1370,7 @@ function getClient() {
1367
1370
  if (!_adapterClient) {
1368
1371
  throw new Error("Database client not initialized. Call initDatabase() first.");
1369
1372
  }
1370
- if (process.env.DATABASE_URL) {
1373
+ if (process.env.DATABASE_URL && process.env.EXE_USE_POSTGRES === "1") {
1371
1374
  return _adapterClient;
1372
1375
  }
1373
1376
  if (process.env.EXE_IS_DAEMON === "1") {
@@ -1379,9 +1382,11 @@ function getClient() {
1379
1382
  return _resilientClient;
1380
1383
  }
1381
1384
  async function initDaemonClient() {
1382
- if (process.env.DATABASE_URL) return;
1385
+ if (process.env.DATABASE_URL && process.env.EXE_USE_POSTGRES === "1") return;
1383
1386
  if (process.env.EXE_IS_DAEMON === "1") return;
1387
+ if (process.env.VITEST) return;
1384
1388
  if (!_resilientClient) return;
1389
+ if (_daemonClient) return;
1385
1390
  try {
1386
1391
  const { initDaemonDbClient: initDaemonDbClient2 } = await Promise.resolve().then(() => (init_db_daemon_client(), db_daemon_client_exports));
1387
1392
  _daemonClient = await initDaemonDbClient2(_resilientClient);
@@ -1530,6 +1535,13 @@ async function ensureSchema() {
1530
1535
  });
1531
1536
  } catch {
1532
1537
  }
1538
+ try {
1539
+ await client.execute({
1540
+ sql: `ALTER TABLE behaviors ADD COLUMN vector F32_BLOB(${EMBEDDING_DIM})`,
1541
+ args: []
1542
+ });
1543
+ } catch {
1544
+ }
1533
1545
  try {
1534
1546
  await client.execute({
1535
1547
  sql: `ALTER TABLE tasks ADD COLUMN blocked_by TEXT`,
@@ -180,9 +180,9 @@ var MAX_RETRIES, BASE_DELAY_MS, MAX_JITTER_MS;
180
180
  var init_db_retry = __esm({
181
181
  "src/lib/db-retry.ts"() {
182
182
  "use strict";
183
- MAX_RETRIES = 3;
184
- BASE_DELAY_MS = 200;
185
- MAX_JITTER_MS = 300;
183
+ MAX_RETRIES = 5;
184
+ BASE_DELAY_MS = 250;
185
+ MAX_JITTER_MS = 400;
186
186
  }
187
187
  });
188
188
 
@@ -808,6 +808,15 @@ var init_database_adapter = __esm({
808
808
  }
809
809
  });
810
810
 
811
+ // src/types/memory.ts
812
+ var EMBEDDING_DIM;
813
+ var init_memory = __esm({
814
+ "src/types/memory.ts"() {
815
+ "use strict";
816
+ EMBEDDING_DIM = 1024;
817
+ }
818
+ });
819
+
811
820
  // src/lib/daemon-auth.ts
812
821
  import crypto from "crypto";
813
822
  import path4 from "path";
@@ -1230,7 +1239,7 @@ function createDaemonDbClient(fallbackClient) {
1230
1239
  });
1231
1240
  if (response.error) {
1232
1241
  const errMsg = String(response.error);
1233
- if (errMsg === "Not connected" || errMsg === "Request timeout" || errMsg === "Write failed") {
1242
+ if (errMsg === "Not connected" || errMsg === "Request timeout" || errMsg === "Write failed" || errMsg === "DB not initialized") {
1234
1243
  process.stderr.write(`[db-daemon] Transport error (${errMsg}), falling back to direct
1235
1244
  `);
1236
1245
  return fallbackClient.execute(stmt);
@@ -1255,7 +1264,7 @@ function createDaemonDbClient(fallbackClient) {
1255
1264
  });
1256
1265
  if (response.error) {
1257
1266
  const errMsg = String(response.error);
1258
- if (errMsg === "Not connected" || errMsg === "Request timeout" || errMsg === "Write failed") {
1267
+ if (errMsg === "Not connected" || errMsg === "Request timeout" || errMsg === "Write failed" || errMsg === "DB not initialized") {
1259
1268
  process.stderr.write(`[db-daemon] Batch transport error (${errMsg}), falling back to direct
1260
1269
  `);
1261
1270
  return fallbackClient.batch(stmts, mode);
@@ -1378,7 +1387,7 @@ async function initDatabase(config) {
1378
1387
  });
1379
1388
  }, 3e4);
1380
1389
  _walCheckpointTimer.unref();
1381
- if (process.env.DATABASE_URL) {
1390
+ if (process.env.DATABASE_URL && process.env.EXE_USE_POSTGRES === "1") {
1382
1391
  _adapterClient = await createPrismaDbAdapter(_resilientClient);
1383
1392
  }
1384
1393
  }
@@ -1389,7 +1398,7 @@ function getClient() {
1389
1398
  if (!_adapterClient) {
1390
1399
  throw new Error("Database client not initialized. Call initDatabase() first.");
1391
1400
  }
1392
- if (process.env.DATABASE_URL) {
1401
+ if (process.env.DATABASE_URL && process.env.EXE_USE_POSTGRES === "1") {
1393
1402
  return _adapterClient;
1394
1403
  }
1395
1404
  if (process.env.EXE_IS_DAEMON === "1") {
@@ -1401,9 +1410,11 @@ function getClient() {
1401
1410
  return _resilientClient;
1402
1411
  }
1403
1412
  async function initDaemonClient() {
1404
- if (process.env.DATABASE_URL) return;
1413
+ if (process.env.DATABASE_URL && process.env.EXE_USE_POSTGRES === "1") return;
1405
1414
  if (process.env.EXE_IS_DAEMON === "1") return;
1415
+ if (process.env.VITEST) return;
1406
1416
  if (!_resilientClient) return;
1417
+ if (_daemonClient) return;
1407
1418
  try {
1408
1419
  const { initDaemonDbClient: initDaemonDbClient2 } = await Promise.resolve().then(() => (init_db_daemon_client(), db_daemon_client_exports));
1409
1420
  _daemonClient = await initDaemonDbClient2(_resilientClient);
@@ -1552,6 +1563,13 @@ async function ensureSchema() {
1552
1563
  });
1553
1564
  } catch {
1554
1565
  }
1566
+ try {
1567
+ await client.execute({
1568
+ sql: `ALTER TABLE behaviors ADD COLUMN vector F32_BLOB(${EMBEDDING_DIM})`,
1569
+ args: []
1570
+ });
1571
+ } catch {
1572
+ }
1555
1573
  try {
1556
1574
  await client.execute({
1557
1575
  sql: `ALTER TABLE tasks ADD COLUMN blocked_by TEXT`,
@@ -2422,6 +2440,7 @@ var init_database = __esm({
2422
2440
  init_db_retry();
2423
2441
  init_employees();
2424
2442
  init_database_adapter();
2443
+ init_memory();
2425
2444
  _client = null;
2426
2445
  _resilientClient = null;
2427
2446
  _walCheckpointTimer = null;
@@ -239,6 +239,68 @@ var PLATFORM_PROCEDURES = [
239
239
  domain: "architecture",
240
240
  priority: "p0",
241
241
  content: "Tasks live in the DB. Intercom (tmux send-keys) is fire-and-forget \u2014 it may fail, get garbled, or arrive mid-work. Never rely on intercom for task delivery. The UserPromptSubmit hook checks the DB for new tasks on every prompt. Your operating procedures step 7 says check for next work. The daemon nudges idle agents as a speedup. If you have no tasks, you found them all."
242
+ },
243
+ // --- MCP is the ONLY data interface ---
244
+ {
245
+ title: "MCP disconnect \u2014 ask the user, never work around it",
246
+ domain: "workflow",
247
+ priority: "p0",
248
+ content: "If MCP tools are unavailable, disconnected, or returning connection errors: STOP. Tell the user clearly: 'MCP server is disconnected. Please run /mcp to reconnect.' Do NOT attempt workarounds \u2014 no raw Node imports, no direct DB access, no CLI hacks, no daemon socket calls. MCP is the ONLY data interface. Working around it wastes time, hits bundling issues, and bypasses the contract boundary. Ask once, wait, proceed when reconnected."
249
+ },
250
+ // --- MCP Tool Catalog (Layer 0 — every agent knows what tools exist) ---
251
+ {
252
+ title: "MCP tools \u2014 memory and search",
253
+ domain: "tool-use",
254
+ priority: "p1",
255
+ content: "recall_my_memory: search your own memories (semantic + FTS). ask_team_memory: search a colleague's memories by agent name. store_memory: persist a memory (decisions, summaries, context). commit_memory: high-importance memory that survives consolidation. search_everything: unified search across memories, tasks, entities, conversations. get_session_context: temporal window of memories around a timestamp. consolidate_memories: merge duplicate/related memories into insights. get_memory_cardinality: count memories per agent (health check)."
256
+ },
257
+ {
258
+ title: "MCP tools \u2014 task orchestration",
259
+ domain: "tool-use",
260
+ priority: "p1",
261
+ content: "create_task: dispatch work to an employee (auto-spawns session). The ONLY dispatch path. list_tasks: query tasks by status, assignee, project. get_task: fetch full task details by ID. update_task: change status (in_progress, done, blocked, cancelled) + add result summary. close_task: finalize a reviewed task (COO only). checkpoint_task: save progress state for crash recovery. resume_employee: re-spawn an employee session for an existing task."
262
+ },
263
+ {
264
+ title: "MCP tools \u2014 knowledge graph (GraphRAG)",
265
+ domain: "tool-use",
266
+ priority: "p1",
267
+ content: "query_relationships: find connections between entities in the knowledge graph. get_entity_neighbors: explore an entity's direct connections. get_hot_entities: find most-referenced entities (trending topics). get_graph_stats: graph health \u2014 entity/relationship counts, density. export_graph: export graph data for visualization. merge_entities: deduplicate entities (alias resolution). find_similar_trajectories: match tool-call patterns to past task solutions."
268
+ },
269
+ {
270
+ title: "MCP tools \u2014 identity, behavior, and decisions",
271
+ domain: "tool-use",
272
+ priority: "p1",
273
+ content: "get_identity: read an agent's exe.md (Layer 1 identity). update_identity: write an agent's exe.md. Identity > behavior \u2014 use for permanent rules. store_behavior: record a correction or pattern for an agent (Layer 2 expertise). list_behaviors: view an agent's active behaviors. deactivate_behavior: soft-delete a stale or conflicting behavior. store_decision: record an ADR (architectural decision record). get_decision: retrieve a past decision by query."
274
+ },
275
+ {
276
+ title: "MCP tools \u2014 communication and messaging",
277
+ domain: "tool-use",
278
+ priority: "p1",
279
+ content: "send_message: send supplementary context to another agent (NOT for actionable work \u2014 use create_task). acknowledge_messages: mark messages as read. send_whatsapp: send WhatsApp message via gateway (customer-facing alerts). query_conversations: search ingested conversations across all channels (WhatsApp, email, etc.)."
280
+ },
281
+ {
282
+ title: "MCP tools \u2014 wiki, documents, and content",
283
+ domain: "tool-use",
284
+ priority: "p1",
285
+ content: "create_wiki_page: create a wiki page in exe-wiki. list_wiki_pages: browse wiki pages. get_wiki_page: read a wiki page. update_wiki_page: edit a wiki page. ingest_document: import a file (PDF, MD, etc.) into memory as chunks. list_documents: browse ingested documents by workspace. purge_document: remove a document and its memory chunks. set_document_importance: adjust chunk importance scores. rerank_documents: re-score document relevance for a query."
286
+ },
287
+ {
288
+ title: "MCP tools \u2014 system, operations, and admin",
289
+ domain: "tool-use",
290
+ priority: "p1",
291
+ content: "get_agent_spend: token usage per agent/session (cost tracking). list_agent_sessions: view agent session history. get_session_kills: audit log of killed sessions. get_daemon_health: check exed daemon status. get_auto_wake_status: daemon auto-wake configuration. get_worker_gate: check worker deployment gates. run_memory_audit: health check \u2014 duplicates, null vectors, orphaned rows. run_consolidation: trigger sleep-time memory consolidation. cloud_sync: force a cloud sync cycle. backup_vps: trigger VPS backup."
292
+ },
293
+ {
294
+ title: "MCP tools \u2014 config, licensing, and team",
295
+ domain: "tool-use",
296
+ priority: "p1",
297
+ content: "set_agent_config: view/change per-agent runtime and model settings. list_employees: view the employee roster. add_person: add a person to the CRM contacts roster. list_people: browse CRM contacts. get_person: fetch contact details. get_license_status: check license validity. create_license: generate a new license key (admin). list_licenses: view all issued licenses. activate_license: activate a license on a device."
298
+ },
299
+ {
300
+ title: "MCP tools \u2014 advanced (triggers, skills, orchestration)",
301
+ domain: "tool-use",
302
+ priority: "p1",
303
+ content: "create_trigger: set up a scheduled recurring agent job (cron). list_triggers: view active triggers. load_skill: load a slash-command skill dynamically. apply_starter_pack: import a pre-built behavior + identity pack for a role. export_orchestration: export full org state (tasks, behaviors, identities) as portable JSON. import_orchestration: import org state into a new instance. deploy_client: deploy a customer client instance. query_company_brain: unified RAG query across all company knowledge. create_reminder: set a text reminder (shown in boot brief). list_reminders: view pending reminders. complete_reminder: mark a reminder done. global_procedure: manage Layer 0 procedures (actions: store, list, deactivate). Legacy aliases: store_global_procedure, list_global_procedures, deactivate_global_procedure."
242
304
  }
243
305
  ];
244
306
  var PLATFORM_PROCEDURE_TITLES = new Set(
@@ -224,7 +224,7 @@ var init_agent_config = __esm({
224
224
  init_secure_files();
225
225
  AGENT_CONFIG_PATH = path2.join(EXE_AI_DIR, "agent-config.json");
226
226
  KNOWN_RUNTIMES = {
227
- claude: ["claude-opus-4", "claude-sonnet-4", "claude-haiku-4.5"],
227
+ claude: ["claude-opus-4.6", "claude-opus-4", "claude-sonnet-4.6", "claude-sonnet-4", "claude-haiku-4.5"],
228
228
  codex: ["gpt-5.4", "gpt-5.5", "gpt-5.3-codex-spark", "o3", "o4-mini"],
229
229
  opencode: ["anthropic/claude-sonnet-4-6", "openai/gpt-5.4", "google/gemini-2.5-pro", "deepseek/deepseek-r3", "minimax/minimax-m2.5"]
230
230
  };
@@ -234,7 +234,7 @@ var init_agent_config = __esm({
234
234
  opencode: "OpenCode (open source)"
235
235
  };
236
236
  DEFAULT_MODELS = {
237
- claude: "claude-opus-4",
237
+ claude: "claude-opus-4.6",
238
238
  codex: RUNTIME_TABLE.codex?.defaultModel ?? "gpt-5.4",
239
239
  opencode: RUNTIME_TABLE.opencode?.defaultModel ?? "anthropic/claude-sonnet-4-6"
240
240
  };