@askexenow/exe-os 0.8.103 → 0.8.105

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 (77) hide show
  1. package/dist/bin/backfill-conversations.js +12 -1
  2. package/dist/bin/backfill-responses.js +12 -1
  3. package/dist/bin/backfill-vectors.js +12 -1
  4. package/dist/bin/cleanup-stale-review-tasks.js +14 -3
  5. package/dist/bin/cli.js +454 -127
  6. package/dist/bin/exe-agent-config.js +6 -4
  7. package/dist/bin/exe-assign.js +12 -1
  8. package/dist/bin/exe-boot.js +88 -12
  9. package/dist/bin/exe-call.js +138 -10
  10. package/dist/bin/exe-dispatch.js +35 -8
  11. package/dist/bin/exe-doctor.js +12 -1
  12. package/dist/bin/exe-export-behaviors.js +12 -1
  13. package/dist/bin/exe-forget.js +65 -3
  14. package/dist/bin/exe-gateway.js +35 -8
  15. package/dist/bin/exe-heartbeat.js +18 -7
  16. package/dist/bin/exe-kill.js +12 -1
  17. package/dist/bin/exe-launch-agent.js +12 -1
  18. package/dist/bin/exe-link.js +12 -1
  19. package/dist/bin/exe-pending-messages.js +14 -3
  20. package/dist/bin/exe-pending-notifications.js +12 -1
  21. package/dist/bin/exe-pending-reviews.js +41 -8
  22. package/dist/bin/exe-rename.js +12 -1
  23. package/dist/bin/exe-review.js +12 -1
  24. package/dist/bin/exe-search.js +65 -3
  25. package/dist/bin/exe-session-cleanup.js +54 -10
  26. package/dist/bin/exe-settings.js +263 -2
  27. package/dist/bin/exe-start-codex.js +16 -5
  28. package/dist/bin/exe-start-opencode.js +2983 -0
  29. package/dist/bin/exe-status.js +14 -3
  30. package/dist/bin/exe-team.js +12 -1
  31. package/dist/bin/git-sweep.js +35 -8
  32. package/dist/bin/graph-backfill.js +12 -1
  33. package/dist/bin/graph-export.js +12 -1
  34. package/dist/bin/scan-tasks.js +35 -8
  35. package/dist/bin/setup.js +12 -1
  36. package/dist/bin/shard-migrate.js +12 -1
  37. package/dist/bin/wiki-sync.js +12 -1
  38. package/dist/gateway/index.js +35 -8
  39. package/dist/hooks/bug-report-worker.js +35 -8
  40. package/dist/hooks/commit-complete.js +35 -8
  41. package/dist/hooks/error-recall.js +65 -3
  42. package/dist/hooks/ingest-worker.js +35 -8
  43. package/dist/hooks/instructions-loaded.js +12 -1
  44. package/dist/hooks/notification.js +12 -1
  45. package/dist/hooks/post-compact.js +14 -3
  46. package/dist/hooks/pre-compact.js +35 -8
  47. package/dist/hooks/pre-tool-use.js +14 -3
  48. package/dist/hooks/prompt-ingest-worker.js +12 -1
  49. package/dist/hooks/prompt-submit.js +122 -15
  50. package/dist/hooks/response-ingest-worker.js +12 -1
  51. package/dist/hooks/session-end.js +35 -8
  52. package/dist/hooks/session-start.js +67 -5
  53. package/dist/hooks/stop.js +14 -3
  54. package/dist/hooks/subagent-stop.js +14 -3
  55. package/dist/hooks/summary-worker.js +14 -3
  56. package/dist/index.js +35 -8
  57. package/dist/lib/agent-config.js +12 -4
  58. package/dist/lib/cloud-sync.js +12 -1
  59. package/dist/lib/database.js +11 -0
  60. package/dist/lib/device-registry.js +12 -1
  61. package/dist/lib/exe-daemon.js +52 -8
  62. package/dist/lib/hybrid-search.js +65 -3
  63. package/dist/lib/messaging.js +32 -4
  64. package/dist/lib/runtime-table.js +1 -1
  65. package/dist/lib/schedules.js +12 -1
  66. package/dist/lib/status-brief.js +24 -0
  67. package/dist/lib/store.js +12 -1
  68. package/dist/lib/tasks.js +23 -7
  69. package/dist/lib/tmux-routing.js +23 -7
  70. package/dist/mcp/server.js +113 -22
  71. package/dist/mcp/tools/create-task.js +23 -7
  72. package/dist/mcp/tools/list-tasks.js +2 -2
  73. package/dist/mcp/tools/send-message.js +34 -6
  74. package/dist/mcp/tools/update-task.js +44 -12
  75. package/dist/runtime/index.js +35 -8
  76. package/dist/tui/App.js +35 -8
  77. package/package.json +4 -2
@@ -304,6 +304,16 @@ async function initDatabase(config) {
304
304
  }
305
305
  _client = createClient(opts);
306
306
  _resilientClient = wrapWithRetry(_client);
307
+ _client.execute("PRAGMA busy_timeout = 30000").catch(() => {
308
+ });
309
+ _client.execute("PRAGMA journal_mode = WAL").catch(() => {
310
+ });
311
+ if (_walCheckpointTimer) clearInterval(_walCheckpointTimer);
312
+ _walCheckpointTimer = setInterval(() => {
313
+ _client?.execute("PRAGMA wal_checkpoint(PASSIVE)").catch(() => {
314
+ });
315
+ }, 3e4);
316
+ _walCheckpointTimer.unref();
307
317
  }
308
318
  function getClient() {
309
319
  if (!_resilientClient) {
@@ -1248,7 +1258,7 @@ async function ensureSchema() {
1248
1258
  }
1249
1259
  }
1250
1260
  }
1251
- var _client, _resilientClient, _daemonClient, initTurso;
1261
+ var _client, _resilientClient, _walCheckpointTimer, _daemonClient, initTurso;
1252
1262
  var init_database = __esm({
1253
1263
  "src/lib/database.ts"() {
1254
1264
  "use strict";
@@ -1256,6 +1266,7 @@ var init_database = __esm({
1256
1266
  init_employees();
1257
1267
  _client = null;
1258
1268
  _resilientClient = null;
1269
+ _walCheckpointTimer = null;
1259
1270
  _daemonClient = null;
1260
1271
  initTurso = initDatabase;
1261
1272
  }
@@ -304,6 +304,16 @@ async function initDatabase(config) {
304
304
  }
305
305
  _client = createClient(opts);
306
306
  _resilientClient = wrapWithRetry(_client);
307
+ _client.execute("PRAGMA busy_timeout = 30000").catch(() => {
308
+ });
309
+ _client.execute("PRAGMA journal_mode = WAL").catch(() => {
310
+ });
311
+ if (_walCheckpointTimer) clearInterval(_walCheckpointTimer);
312
+ _walCheckpointTimer = setInterval(() => {
313
+ _client?.execute("PRAGMA wal_checkpoint(PASSIVE)").catch(() => {
314
+ });
315
+ }, 3e4);
316
+ _walCheckpointTimer.unref();
307
317
  }
308
318
  function getClient() {
309
319
  if (!_resilientClient) {
@@ -1248,7 +1258,7 @@ async function ensureSchema() {
1248
1258
  }
1249
1259
  }
1250
1260
  }
1251
- var _client, _resilientClient, _daemonClient, initTurso;
1261
+ var _client, _resilientClient, _walCheckpointTimer, _daemonClient, initTurso;
1252
1262
  var init_database = __esm({
1253
1263
  "src/lib/database.ts"() {
1254
1264
  "use strict";
@@ -1256,6 +1266,7 @@ var init_database = __esm({
1256
1266
  init_employees();
1257
1267
  _client = null;
1258
1268
  _resilientClient = null;
1269
+ _walCheckpointTimer = null;
1259
1270
  _daemonClient = null;
1260
1271
  initTurso = initDatabase;
1261
1272
  }
@@ -306,6 +306,16 @@ async function initDatabase(config) {
306
306
  }
307
307
  _client = createClient(opts);
308
308
  _resilientClient = wrapWithRetry(_client);
309
+ _client.execute("PRAGMA busy_timeout = 30000").catch(() => {
310
+ });
311
+ _client.execute("PRAGMA journal_mode = WAL").catch(() => {
312
+ });
313
+ if (_walCheckpointTimer) clearInterval(_walCheckpointTimer);
314
+ _walCheckpointTimer = setInterval(() => {
315
+ _client?.execute("PRAGMA wal_checkpoint(PASSIVE)").catch(() => {
316
+ });
317
+ }, 3e4);
318
+ _walCheckpointTimer.unref();
309
319
  }
310
320
  function getClient() {
311
321
  if (!_resilientClient) {
@@ -1250,7 +1260,7 @@ async function ensureSchema() {
1250
1260
  }
1251
1261
  }
1252
1262
  }
1253
- var _client, _resilientClient, _daemonClient, initTurso;
1263
+ var _client, _resilientClient, _walCheckpointTimer, _daemonClient, initTurso;
1254
1264
  var init_database = __esm({
1255
1265
  "src/lib/database.ts"() {
1256
1266
  "use strict";
@@ -1258,6 +1268,7 @@ var init_database = __esm({
1258
1268
  init_employees();
1259
1269
  _client = null;
1260
1270
  _resilientClient = null;
1271
+ _walCheckpointTimer = null;
1261
1272
  _daemonClient = null;
1262
1273
  initTurso = initDatabase;
1263
1274
  }
@@ -311,6 +311,16 @@ async function initDatabase(config) {
311
311
  }
312
312
  _client = createClient(opts);
313
313
  _resilientClient = wrapWithRetry(_client);
314
+ _client.execute("PRAGMA busy_timeout = 30000").catch(() => {
315
+ });
316
+ _client.execute("PRAGMA journal_mode = WAL").catch(() => {
317
+ });
318
+ if (_walCheckpointTimer) clearInterval(_walCheckpointTimer);
319
+ _walCheckpointTimer = setInterval(() => {
320
+ _client?.execute("PRAGMA wal_checkpoint(PASSIVE)").catch(() => {
321
+ });
322
+ }, 3e4);
323
+ _walCheckpointTimer.unref();
314
324
  }
315
325
  function getClient() {
316
326
  if (!_resilientClient) {
@@ -1255,7 +1265,7 @@ async function ensureSchema() {
1255
1265
  }
1256
1266
  }
1257
1267
  }
1258
- var _client, _resilientClient, _daemonClient, initTurso;
1268
+ var _client, _resilientClient, _walCheckpointTimer, _daemonClient, initTurso;
1259
1269
  var init_database = __esm({
1260
1270
  "src/lib/database.ts"() {
1261
1271
  "use strict";
@@ -1263,6 +1273,7 @@ var init_database = __esm({
1263
1273
  init_employees();
1264
1274
  _client = null;
1265
1275
  _resilientClient = null;
1276
+ _walCheckpointTimer = null;
1266
1277
  _daemonClient = null;
1267
1278
  initTurso = initDatabase;
1268
1279
  }
@@ -1946,7 +1957,7 @@ var init_runtime_table = __esm({
1946
1957
  codex: {
1947
1958
  binary: "codex",
1948
1959
  launchMode: "interactive",
1949
- autoApproveFlag: "--full-auto",
1960
+ autoApproveFlag: "--dangerously-bypass-approvals-and-sandbox",
1950
1961
  inlineFlag: "--no-alt-screen",
1951
1962
  apiKeyEnv: "OPENAI_API_KEY",
1952
1963
  defaultModel: "gpt-5.4"
@@ -1976,7 +1987,7 @@ var init_agent_config = __esm({
1976
1987
  DEFAULT_MODELS = {
1977
1988
  claude: "claude-opus-4",
1978
1989
  codex: RUNTIME_TABLE.codex?.defaultModel ?? "gpt-5.4",
1979
- opencode: "minimax-m2.7"
1990
+ opencode: RUNTIME_TABLE.opencode?.defaultModel ?? "anthropic/claude-sonnet-4-6"
1980
1991
  };
1981
1992
  }
1982
1993
  });