@askexenow/exe-os 0.9.177 → 0.9.178

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 (125) hide show
  1. package/dist/{backfill-metadata-AE3HCRDT.js → backfill-metadata-RUPJUXIG.js} +1 -1
  2. package/dist/bin/agentic-ontology-backfill.js +1 -1
  3. package/dist/bin/agentic-reflection-backfill.js +1 -1
  4. package/dist/bin/agentic-semantic-label.js +1 -1
  5. package/dist/bin/backfill-conversations.js +1 -1
  6. package/dist/bin/backfill-responses.js +1 -1
  7. package/dist/bin/backfill-vectors.js +2 -2
  8. package/dist/bin/bulk-sync-postgres.js +1 -1
  9. package/dist/bin/cleanup-stale-review-tasks.js +2 -2
  10. package/dist/bin/cli.js +4 -4
  11. package/dist/bin/exe-assign.js +1 -1
  12. package/dist/bin/exe-boot.js +3 -3
  13. package/dist/bin/exe-dispatch.js +2 -2
  14. package/dist/bin/exe-doctor.js +1 -1
  15. package/dist/bin/exe-export-behaviors.js +2 -2
  16. package/dist/bin/exe-forget.js +3 -3
  17. package/dist/bin/exe-gateway.js +4 -4
  18. package/dist/bin/exe-heartbeat.js +2 -2
  19. package/dist/bin/exe-kill.js +3 -3
  20. package/dist/bin/exe-launch-agent.js +2 -2
  21. package/dist/bin/exe-pending-messages.js +3 -3
  22. package/dist/bin/exe-pending-notifications.js +2 -2
  23. package/dist/bin/exe-pending-reviews.js +2 -2
  24. package/dist/bin/exe-review.js +3 -3
  25. package/dist/bin/exe-search.js +2 -2
  26. package/dist/bin/exe-session-cleanup.js +5 -5
  27. package/dist/bin/exe-start-codex.js +1 -1
  28. package/dist/bin/exe-start-opencode.js +1 -1
  29. package/dist/bin/exe-status.js +3 -3
  30. package/dist/bin/exe-team.js +1 -1
  31. package/dist/bin/git-sweep.js +2 -2
  32. package/dist/bin/graph-backfill.js +1 -1
  33. package/dist/bin/graph-export.js +2 -2
  34. package/dist/bin/import-history.js +1 -1
  35. package/dist/bin/intercom-check.js +3 -3
  36. package/dist/bin/scan-tasks.js +2 -2
  37. package/dist/bin/shard-migrate.js +1 -1
  38. package/dist/{capacity-monitor-7ANP6K4X.js → capacity-monitor-5O3LAPGD.js} +2 -2
  39. package/dist/{catchup-brief-QT2OPLCK.js → catchup-brief-3YBGR6BS.js} +3 -3
  40. package/dist/{chunk-FHTS2H3K.js → chunk-2TARUE5G.js} +1 -1
  41. package/dist/{chunk-JFC6NUCX.js → chunk-34RVMFJL.js} +1 -1
  42. package/dist/{chunk-JU6HWR67.js → chunk-3XIZVQ6I.js} +1 -1
  43. package/dist/{chunk-IDAMUZYR.js → chunk-AWODEQI5.js} +22 -22
  44. package/dist/{chunk-IBMQXRXC.js → chunk-BAKUXZZO.js} +2 -2
  45. package/dist/{chunk-4U2SWV5Z.js → chunk-ERA4FE5C.js} +1 -1
  46. package/dist/{chunk-Y3OLLO3J.js → chunk-H2762FYW.js} +2 -2
  47. package/dist/{chunk-HFYQQKMV.js → chunk-JEL26633.js} +1 -1
  48. package/dist/{chunk-GA3BI2FI.js → chunk-KFDIV7EE.js} +6 -6
  49. package/dist/{chunk-KLHNXG7S.js → chunk-KH34KOGR.js} +1 -1
  50. package/dist/{chunk-UQICZSRC.js → chunk-LJ4MEZP5.js} +1 -1
  51. package/dist/{chunk-2SVJSE6I.js → chunk-LOYXXG6M.js} +1 -1
  52. package/dist/{chunk-JNJW3N3K.js → chunk-N4B65WIH.js} +3 -3
  53. package/dist/{chunk-D56VM4UP.js → chunk-ONESYIVC.js} +3 -3
  54. package/dist/{chunk-MV2D2FRB.js → chunk-QLZ2UY7X.js} +1 -1
  55. package/dist/{chunk-AR43F5MV.js → chunk-QU62Q3YI.js} +1 -1
  56. package/dist/{chunk-V6OIWPLP.js → chunk-SUUPTAK3.js} +1 -1
  57. package/dist/{chunk-2QQ57247.js → chunk-WCKGOI5P.js} +1 -1
  58. package/dist/{chunk-4RYRE7QI.js → chunk-WP3ZXXPB.js} +1 -1
  59. package/dist/{chunk-KM2DOJN5.js → chunk-X4OO7RXI.js} +3 -3
  60. package/dist/{chunk-DX4CRPCG.js → chunk-X56DHLUW.js} +1 -1
  61. package/dist/{chunk-PMTE7LF2.js → chunk-XDAJN7CD.js} +3 -3
  62. package/dist/{chunk-C5YJFFKV.js → chunk-Y6OHW3L7.js} +2 -2
  63. package/dist/{chunk-GJJKUJPI.js → chunk-ZKHX26H3.js} +2 -2
  64. package/dist/{chunk-NZX5IPN4.js → chunk-ZXP72SMJ.js} +2 -2
  65. package/dist/{crm-webhook-O6FXUXIZ.js → crm-webhook-3TRJK4ZC.js} +2 -2
  66. package/dist/{cto-delegation-gate-AJYNSQDK.js → cto-delegation-gate-LLO7QYHQ.js} +1 -1
  67. package/dist/{daemon-orchestration-MIRY7676.js → daemon-orchestration-XL2UYSHK.js} +3 -3
  68. package/dist/{exe-export-MZYTQAP4.js → exe-export-IYLD7DFY.js} +1 -1
  69. package/dist/{exe-import-4TJUX3NV.js → exe-import-SO5HSWSN.js} +1 -1
  70. package/dist/{fast-db-init-MKQRBXZW.js → fast-db-init-BA6F2QTN.js} +1 -1
  71. package/dist/gateway/index.js +5 -5
  72. package/dist/{git-task-sweep-PBQTBZUU.js → git-task-sweep-JCJ2QNSY.js} +2 -2
  73. package/dist/hooks/bug-report-worker.js +3 -3
  74. package/dist/hooks/codex-stop-task-finalizer.js +3 -3
  75. package/dist/hooks/commit-complete.js +4 -4
  76. package/dist/hooks/error-recall.js +2 -2
  77. package/dist/hooks/ingest.js +2 -2
  78. package/dist/hooks/instructions-loaded.js +1 -1
  79. package/dist/hooks/notification.js +1 -1
  80. package/dist/hooks/post-compact.js +2 -2
  81. package/dist/hooks/post-tool-combined.js +2 -2
  82. package/dist/hooks/pre-compact.js +3 -3
  83. package/dist/hooks/pre-tool-use.js +6 -6
  84. package/dist/hooks/prompt-submit.js +8 -8
  85. package/dist/hooks/session-end.js +6 -6
  86. package/dist/hooks/session-start.js +5 -5
  87. package/dist/hooks/stop.js +5 -5
  88. package/dist/hooks/subagent-stop.js +2 -2
  89. package/dist/hooks/summary-worker.js +5 -5
  90. package/dist/index.js +8 -8
  91. package/dist/lib/consolidation.js +2 -2
  92. package/dist/lib/exe-daemon.js +12 -12
  93. package/dist/lib/hybrid-search.js +2 -2
  94. package/dist/lib/messaging.js +2 -2
  95. package/dist/lib/schedules.js +2 -2
  96. package/dist/lib/store.js +1 -1
  97. package/dist/lib/tasks.js +2 -2
  98. package/dist/lib/tmux-routing.js +1 -1
  99. package/dist/mcp/register-tools.js +20 -20
  100. package/dist/mcp/server.js +21 -21
  101. package/dist/mcp/tools/create-task.js +3 -3
  102. package/dist/mcp/tools/list-tasks.js +3 -3
  103. package/dist/mcp/tools/send-message.js +3 -3
  104. package/dist/mcp/tools/update-task.js +3 -3
  105. package/dist/{notifications-OJKA47ID.js → notifications-SGFDN7D4.js} +1 -1
  106. package/dist/{orchestrator-4NU6YNIF.js → orchestrator-6P55DLMF.js} +2 -2
  107. package/dist/{review-polling-S3UBNNKI.js → review-polling-LUFX7TBF.js} +2 -2
  108. package/dist/runtime/index.js +3 -3
  109. package/dist/{session-events-CB5UNUE7.js → session-events-QW53IKLI.js} +2 -2
  110. package/dist/{session-scope-VJC7ZKYO.js → session-scope-GCMG466H.js} +1 -1
  111. package/dist/{task-enforcement-O5X3SWZT.js → task-enforcement-B4GIMP3P.js} +1 -1
  112. package/dist/{task-scope-PEXH76U3.js → task-scope-MCCHWZT3.js} +1 -1
  113. package/dist/{tasks-crud-EBMZOCM7.js → tasks-crud-FSFQEHQS.js} +1 -1
  114. package/dist/{tasks-review-KNUNIUSU.js → tasks-review-ZX2IWJTJ.js} +1 -1
  115. package/dist/tui/App.js +7 -7
  116. package/dist/{tui-data-N2IU2C2C.js → tui-data-VS5J33MW.js} +1 -1
  117. package/dist/{worker-gate-2JLZBO7X.js → worker-gate-PF3NYYBS.js} +1 -1
  118. package/dist/{workflow-engine-6KPSU6IL.js → workflow-engine-JKDPHNI2.js} +2 -2
  119. package/package.json +1 -1
  120. /package/dist/{chunk-B2LJ6VZF.js → chunk-5WHMIXVB.js} +0 -0
  121. /package/dist/{chunk-BA2ZPGZK.js → chunk-BLMF7ZQE.js} +0 -0
  122. /package/dist/{chunk-6YAK6C62.js → chunk-PILV2QE3.js} +0 -0
  123. /package/dist/{core-memory-AI2KKKUD.js → core-memory-XXATFASI.js} +0 -0
  124. /package/dist/{exe-key-SXRZVFU7.js → exe-key-ELN6UW2L.js} +0 -0
  125. /package/dist/{skill-refinement-FRKF3S3J.js → skill-refinement-4NZ2EF4P.js} +0 -0
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  extractKeywords,
3
3
  matchScore
4
- } from "../chunk-C5YJFFKV.js";
5
- import "../chunk-GA3BI2FI.js";
4
+ } from "../chunk-Y6OHW3L7.js";
5
+ import "../chunk-KFDIV7EE.js";
6
6
  import "../chunk-LOQCOHEW.js";
7
7
  import "../chunk-QI4IXJN7.js";
8
8
  import "../chunk-64WZEXXA.js";
@@ -74,13 +74,13 @@ async function main() {
74
74
  const changedFiles = getChangedFiles(commitHash);
75
75
  let client;
76
76
  try {
77
- const { fastDbInit } = await import("../fast-db-init-MKQRBXZW.js");
77
+ const { fastDbInit } = await import("../fast-db-init-BA6F2QTN.js");
78
78
  client = await fastDbInit();
79
79
  } catch {
80
80
  process.stderr.write("[commit-complete] DB init failed \u2014 skipping\n");
81
81
  return;
82
82
  }
83
- const { listTasks, updateTaskStatus } = await import("../tasks-crud-EBMZOCM7.js");
83
+ const { listTasks, updateTaskStatus } = await import("../tasks-crud-FSFQEHQS.js");
84
84
  const tasks = await listTasks({
85
85
  assignedTo: agentId,
86
86
  status: "in_progress",
@@ -4,10 +4,10 @@ import {
4
4
  import {
5
5
  hybridSearch,
6
6
  lightweightSearch
7
- } from "../chunk-AR43F5MV.js";
7
+ } from "../chunk-QU62Q3YI.js";
8
8
  import {
9
9
  initStore
10
- } from "../chunk-HFYQQKMV.js";
10
+ } from "../chunk-JEL26633.js";
11
11
  import "../chunk-CHCA3ZM2.js";
12
12
  import "../chunk-DOWW3EIO.js";
13
13
  import "../chunk-SH45SJQW.js";
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  registerWorkerPid,
3
3
  tryAcquireWorkerSlot
4
- } from "../chunk-2SVJSE6I.js";
4
+ } from "../chunk-LOYXXG6M.js";
5
5
  import {
6
6
  classifyError,
7
7
  detectError,
@@ -320,7 +320,7 @@ Your output files must start with: exe/output/${agent.agentId}-`
320
320
  if (taskData.taskId) {
321
321
  const { initStore: cpInit } = await import("../lib/store.js");
322
322
  await cpInit();
323
- const { writeCheckpoint } = await import("../tasks-crud-EBMZOCM7.js");
323
+ const { writeCheckpoint } = await import("../tasks-crud-FSFQEHQS.js");
324
324
  await writeCheckpoint({
325
325
  taskId: taskData.taskId,
326
326
  step: `auto_checkpoint_${counter.total}`,
@@ -49,7 +49,7 @@ process.stdin.on("end", async () => {
49
49
  pass = false;
50
50
  }
51
51
  try {
52
- const { fastDbInit } = await import("../fast-db-init-MKQRBXZW.js");
52
+ const { fastDbInit } = await import("../fast-db-init-BA6F2QTN.js");
53
53
  await fastDbInit();
54
54
  const { getClient } = await import("../lib/database.js");
55
55
  const client = getClient();
@@ -36,7 +36,7 @@ process.stdin.on("end", async () => {
36
36
  process.exit(0);
37
37
  }
38
38
  try {
39
- const { fastDbInit } = await import("../fast-db-init-MKQRBXZW.js");
39
+ const { fastDbInit } = await import("../fast-db-init-BA6F2QTN.js");
40
40
  await fastDbInit();
41
41
  const { getClient } = await import("../lib/database.js");
42
42
  const { randomUUID } = await import("crypto");
@@ -4,7 +4,7 @@ import {
4
4
  } from "../chunk-7WPIM2L6.js";
5
5
  import {
6
6
  sessionScopeFilter
7
- } from "../chunk-GA3BI2FI.js";
7
+ } from "../chunk-KFDIV7EE.js";
8
8
  import "../chunk-LOQCOHEW.js";
9
9
  import "../chunk-QI4IXJN7.js";
10
10
  import "../chunk-64WZEXXA.js";
@@ -67,7 +67,7 @@ ${identity}`);
67
67
  }
68
68
  }
69
69
  try {
70
- const { fastDbInit } = await import("../fast-db-init-MKQRBXZW.js");
70
+ const { fastDbInit } = await import("../fast-db-init-BA6F2QTN.js");
71
71
  await fastDbInit();
72
72
  const { getClient } = await import("../lib/database.js");
73
73
  const client = getClient();
@@ -110,8 +110,8 @@ You are **${driftAgent.agentId}** (${driftAgent.agentRole}). You've used ${misma
110
110
  const { detectError } = await import("../lib/error-detector.js");
111
111
  const agent = getActiveAgent();
112
112
  try {
113
- const { fastDbInit } = await import("../fast-db-init-MKQRBXZW.js");
114
- const { recordSessionEvent } = await import("../session-events-CB5UNUE7.js");
113
+ const { fastDbInit } = await import("../fast-db-init-BA6F2QTN.js");
114
+ const { recordSessionEvent } = await import("../session-events-QW53IKLI.js");
115
115
  const client = await fastDbInit();
116
116
  const toolName = String(data.tool_name ?? "unknown");
117
117
  const toolInput = JSON.stringify(data.tool_input ?? {});
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  checkpointActiveTask,
3
3
  writeContinuityCheckpoint
4
- } from "../chunk-6YAK6C62.js";
4
+ } from "../chunk-PILV2QE3.js";
5
5
  import "../chunk-PZMAYNWK.js";
6
6
  import "../chunk-GUCKE3GK.js";
7
7
  import "../chunk-D6EK7PYQ.js";
@@ -12,7 +12,7 @@ import {
12
12
  } from "../chunk-7WPIM2L6.js";
13
13
  import {
14
14
  sessionScopeFilter
15
- } from "../chunk-GA3BI2FI.js";
15
+ } from "../chunk-KFDIV7EE.js";
16
16
  import "../chunk-LOQCOHEW.js";
17
17
  import "../chunk-QI4IXJN7.js";
18
18
  import "../chunk-64WZEXXA.js";
@@ -60,7 +60,7 @@ process.stdin.on("end", async () => {
60
60
  const agent = getActiveAgent();
61
61
  const sections = [];
62
62
  try {
63
- const { fastDbInit } = await import("../fast-db-init-MKQRBXZW.js");
63
+ const { fastDbInit } = await import("../fast-db-init-BA6F2QTN.js");
64
64
  const client = await fastDbInit();
65
65
  const projectName = process.cwd().split("/").pop() ?? "unknown";
66
66
  const pcScope = sessionScopeFilter();
@@ -5,7 +5,7 @@ import {
5
5
  } from "../chunk-7WPIM2L6.js";
6
6
  import {
7
7
  sessionScopeFilter
8
- } from "../chunk-GA3BI2FI.js";
8
+ } from "../chunk-KFDIV7EE.js";
9
9
  import "../chunk-LOQCOHEW.js";
10
10
  import "../chunk-QI4IXJN7.js";
11
11
  import "../chunk-64WZEXXA.js";
@@ -234,15 +234,15 @@ Do NOT report this as successful. No file was changed. If you are a sub-agent, r
234
234
  process.exit(0);
235
235
  }
236
236
  }
237
- const { getGatedAgent } = await import("../cto-delegation-gate-AJYNSQDK.js");
237
+ const { getGatedAgent } = await import("../cto-delegation-gate-LLO7QYHQ.js");
238
238
  const gatedAgent = getGatedAgent();
239
239
  if (agent.agentId === gatedAgent && /^(Write|Edit)$/.test(data.tool_name)) {
240
240
  const filePath = data.tool_input?.file_path ?? "";
241
241
  if (filePath) {
242
242
  try {
243
- const { fastDbInit } = await import("../fast-db-init-MKQRBXZW.js");
243
+ const { fastDbInit } = await import("../fast-db-init-BA6F2QTN.js");
244
244
  await fastDbInit();
245
- const { evaluateDelegationGate, GATE_BLOCK_MESSAGE } = await import("../cto-delegation-gate-AJYNSQDK.js");
245
+ const { evaluateDelegationGate, GATE_BLOCK_MESSAGE } = await import("../cto-delegation-gate-LLO7QYHQ.js");
246
246
  const decision = await evaluateDelegationGate({
247
247
  agentId: agent.agentId,
248
248
  toolName: data.tool_name,
@@ -287,7 +287,7 @@ Do NOT report this as successful. No file was changed. If you are a sub-agent, r
287
287
  const isUpdateTaskDone = (data.tool_name === "mcp__exe-os__update_task" || data.tool_name === "mcp__exe-mem__update_task") && toolInput.status === "done" && CTO_ROLES.includes(agent.agentRole);
288
288
  if (isUpdateTaskDone) {
289
289
  try {
290
- const { fastDbInit } = await import("../fast-db-init-MKQRBXZW.js");
290
+ const { fastDbInit } = await import("../fast-db-init-BA6F2QTN.js");
291
291
  const client = await fastDbInit();
292
292
  const taskId = String(toolInput.task_id ?? "");
293
293
  const ptScope = sessionScopeFilter();
@@ -345,7 +345,7 @@ Do NOT report this as successful. No file was changed. If you are a sub-agent, r
345
345
  }
346
346
  if (CTO_ROLES.includes(agent.agentRole) && !hasDelegationFired()) {
347
347
  try {
348
- const { fastDbInit } = await import("../fast-db-init-MKQRBXZW.js");
348
+ const { fastDbInit } = await import("../fast-db-init-BA6F2QTN.js");
349
349
  const client = await fastDbInit();
350
350
  const dlScope = sessionScopeFilter();
351
351
  const result = await client.execute({
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  hybridSearch,
3
3
  lightweightSearch
4
- } from "../chunk-AR43F5MV.js";
4
+ } from "../chunk-QU62Q3YI.js";
5
5
  import {
6
6
  initStore
7
- } from "../chunk-HFYQQKMV.js";
7
+ } from "../chunk-JEL26633.js";
8
8
  import "../chunk-CHCA3ZM2.js";
9
9
  import "../chunk-DOWW3EIO.js";
10
10
  import {
@@ -17,7 +17,7 @@ import {
17
17
  } from "../chunk-7WPIM2L6.js";
18
18
  import {
19
19
  isExeSession
20
- } from "../chunk-GA3BI2FI.js";
20
+ } from "../chunk-KFDIV7EE.js";
21
21
  import "../chunk-LOQCOHEW.js";
22
22
  import "../chunk-QI4IXJN7.js";
23
23
  import "../chunk-64WZEXXA.js";
@@ -362,7 +362,7 @@ ${body}`;
362
362
  let reviewContext = "";
363
363
  if (canCoordinate(agent.agentId, agent.agentRole)) {
364
364
  try {
365
- const { countPendingReviews, countNewPendingReviewsSince } = await import("../tasks-review-KNUNIUSU.js");
365
+ const { countPendingReviews, countNewPendingReviewsSince } = await import("../tasks-review-ZX2IWJTJ.js");
366
366
  const sessionKey = getSessionKey();
367
367
  const lastCheckPath = path.join(CACHE_DIR, `review-lastcheck-${sessionKey}.json`);
368
368
  let sessionScope;
@@ -419,7 +419,7 @@ IMPORTANT: After completing your current task, you MUST address the pending revi
419
419
  let coreMemoryContext = "";
420
420
  if (!IS_CODEX_RUNTIME && agent.agentId !== "default") {
421
421
  try {
422
- const { getCoreMemory, formatCoreMemoryBlock } = await import("../core-memory-AI2KKKUD.js");
422
+ const { getCoreMemory, formatCoreMemoryBlock } = await import("../core-memory-XXATFASI.js");
423
423
  const entries = await getCoreMemory(agent.agentId);
424
424
  const block = formatCoreMemoryBlock(entries);
425
425
  if (block) coreMemoryContext = block;
@@ -546,7 +546,7 @@ IMPORTANT: After completing your current task, you MUST address the new task abo
546
546
  let idleTaskContext = "";
547
547
  if (!taskSignalContext && agent.agentId !== "default" && !IS_CODEX_RUNTIME) {
548
548
  try {
549
- const { fastDbInit } = await import("../fast-db-init-MKQRBXZW.js");
549
+ const { fastDbInit } = await import("../fast-db-init-BA6F2QTN.js");
550
550
  const client = await fastDbInit();
551
551
  let taskSessionScope = null;
552
552
  if (inTmux) {
@@ -616,8 +616,8 @@ async function writePromptMemory(prompt, sessionId, agent) {
616
616
  return;
617
617
  }
618
618
  try {
619
- const { fastDbInit } = await import("../fast-db-init-MKQRBXZW.js");
620
- const { recordSessionEvent } = await import("../session-events-CB5UNUE7.js");
619
+ const { fastDbInit } = await import("../fast-db-init-BA6F2QTN.js");
620
+ const { recordSessionEvent } = await import("../session-events-QW53IKLI.js");
621
621
  const client = await fastDbInit();
622
622
  await recordSessionEvent(client, {
623
623
  agentId: agent.agentId,
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  writeContinuityCheckpoint
3
- } from "../chunk-6YAK6C62.js";
3
+ } from "../chunk-PILV2QE3.js";
4
4
  import "../chunk-PZMAYNWK.js";
5
5
  import "../chunk-GUCKE3GK.js";
6
6
  import "../chunk-D6EK7PYQ.js";
@@ -16,7 +16,7 @@ import {
16
16
  } from "../chunk-7WPIM2L6.js";
17
17
  import {
18
18
  strictSessionScopeFilter
19
- } from "../chunk-GA3BI2FI.js";
19
+ } from "../chunk-KFDIV7EE.js";
20
20
  import "../chunk-LOQCOHEW.js";
21
21
  import "../chunk-QI4IXJN7.js";
22
22
  import "../chunk-64WZEXXA.js";
@@ -111,7 +111,7 @@ process.stdin.on("end", async () => {
111
111
  }
112
112
  if (agent.agentId !== "default") {
113
113
  try {
114
- const { fastDbInit } = await import("../fast-db-init-MKQRBXZW.js");
114
+ const { fastDbInit } = await import("../fast-db-init-BA6F2QTN.js");
115
115
  const client = await fastDbInit();
116
116
  const seScope = strictSessionScopeFilter();
117
117
  const orphanResult = await client.execute({
@@ -217,7 +217,7 @@ Orphaned tasks at session end: ${orphanResult.rows.map((r) => `"${String(r.title
217
217
  );
218
218
  let commits = [];
219
219
  try {
220
- const { getRecentCommits } = await import("../git-task-sweep-PBQTBZUU.js");
220
+ const { getRecentCommits } = await import("../git-task-sweep-JCJ2QNSY.js");
221
221
  commits = getRecentCommits(30);
222
222
  } catch {
223
223
  }
@@ -227,7 +227,7 @@ Orphaned tasks at session end: ${orphanResult.rows.map((r) => `"${String(r.title
227
227
  const title = String(row.title);
228
228
  try {
229
229
  if (commits.length > 0) {
230
- const { findBestMatch } = await import("../git-task-sweep-PBQTBZUU.js");
230
+ const { findBestMatch } = await import("../git-task-sweep-JCJ2QNSY.js");
231
231
  let context;
232
232
  try {
233
233
  const ctxResult = await client.execute({
@@ -271,7 +271,7 @@ Orphaned tasks at session end: ${orphanResult.rows.map((r) => `"${String(r.title
271
271
  parts.push(`Left in_progress (no matching commits, needs triage): ${leftInProgress.join(", ")}`);
272
272
  }
273
273
  try {
274
- const { writeNotification } = await import("../notifications-OJKA47ID.js");
274
+ const { writeNotification } = await import("../notifications-SGFDN7D4.js");
275
275
  await writeNotification({
276
276
  agentId: agent.agentId,
277
277
  agentRole: agent.agentRole,
@@ -31,7 +31,7 @@ process.stdin.on("end", async () => {
31
31
  try {
32
32
  const { getActiveAgent } = await import("../active-agent-FZO7IEL7.js");
33
33
  const { getProjectName } = await import("../project-name-EWG5KAZP.js");
34
- const { getCurrentSessionScope } = await import("../task-scope-PEXH76U3.js");
34
+ const { getCurrentSessionScope } = await import("../task-scope-MCCHWZT3.js");
35
35
  const { canCoordinate } = await import("../lib/employees.js");
36
36
  const data = JSON.parse(input);
37
37
  const projectName = getProjectName(data.cwd || void 0);
@@ -63,7 +63,7 @@ process.stdin.on("end", async () => {
63
63
  }
64
64
  if (!daemonDegraded) {
65
65
  try {
66
- const { fastDbInit } = await import("../fast-db-init-MKQRBXZW.js");
66
+ const { fastDbInit } = await import("../fast-db-init-BA6F2QTN.js");
67
67
  await fastDbInit();
68
68
  } catch {
69
69
  daemonDegraded = true;
@@ -135,7 +135,7 @@ You are **${ag.agentId}** (${ag.agentRole}). Daemon is degraded \u2014 memory un
135
135
  query = `last actions on ${projectName}`;
136
136
  header = "## Resuming Session\nHere's where you left off:";
137
137
  try {
138
- const { buildCatchupBrief } = await import("../catchup-brief-QT2OPLCK.js");
138
+ const { buildCatchupBrief } = await import("../catchup-brief-3YBGR6BS.js");
139
139
  const brief = await buildCatchupBrief(
140
140
  agentId,
141
141
  projectName,
@@ -160,14 +160,14 @@ The following files have been modified since you last read them:
160
160
  query = `recent work on ${projectName}`;
161
161
  header = "## Memory Brief\nRecent memories from this project:";
162
162
  }
163
- const { queryTaskRows } = await import("../tasks-crud-EBMZOCM7.js");
163
+ const { queryTaskRows } = await import("../tasks-crud-FSFQEHQS.js");
164
164
  const [memories, taskResult] = await Promise.all([
165
165
  lightweightSearch(query, agentId, { projectName, limit: 5 }),
166
166
  queryTaskRows({
167
167
  assignedTo: agentId,
168
168
  status: ["open", "in_progress"],
169
169
  columns: "id, title, priority, project_name, status",
170
- sessionScope: sessionScope ?? void 0,
170
+ sessionScope: sessionScope ?? null,
171
171
  projectName: null,
172
172
  orderBy: "priority ASC",
173
173
  limit: 100
@@ -4,7 +4,7 @@ import {
4
4
  } from "../chunk-7WPIM2L6.js";
5
5
  import {
6
6
  sessionScopeFilter
7
- } from "../chunk-GA3BI2FI.js";
7
+ } from "../chunk-KFDIV7EE.js";
8
8
  import "../chunk-LOQCOHEW.js";
9
9
  import "../chunk-QI4IXJN7.js";
10
10
  import "../chunk-64WZEXXA.js";
@@ -118,8 +118,8 @@ process.stdin.on("end", async () => {
118
118
  process.exit(0);
119
119
  }
120
120
  try {
121
- const { fastDbInit } = await import("../fast-db-init-MKQRBXZW.js");
122
- const { recordSessionEvent } = await import("../session-events-CB5UNUE7.js");
121
+ const { fastDbInit } = await import("../fast-db-init-BA6F2QTN.js");
122
+ const { recordSessionEvent } = await import("../session-events-QW53IKLI.js");
123
123
  const client = await fastDbInit();
124
124
  await recordSessionEvent(client, {
125
125
  agentId: agent.agentId,
@@ -155,7 +155,7 @@ process.stdin.on("end", async () => {
155
155
  }
156
156
  const CAPACITY_SIGNALS = /context[- ]?full|hit capacity|conversation is too long|maximum context length|context window.*(?:limit|exceed|full)/i;
157
157
  if (!canCoordinate(agent.agentId, agent.agentRole) && CAPACITY_SIGNALS.test(message)) {
158
- import("../fast-db-init-MKQRBXZW.js").then(({ fastDbInit }) => fastDbInit()).then(async (client) => {
158
+ import("../fast-db-init-BA6F2QTN.js").then(({ fastDbInit }) => fastDbInit()).then(async (client) => {
159
159
  const stScope = sessionScopeFilter();
160
160
  const tasks = await client.execute({
161
161
  sql: `SELECT title, status, task_file FROM tasks
@@ -248,7 +248,7 @@ ${msgs.slice(-15).join("\n")}`;
248
248
  } catch {
249
249
  }
250
250
  if (!canCoordinate(agent.agentId, agent.agentRole)) {
251
- import("../fast-db-init-MKQRBXZW.js").then(({ fastDbInit }) => fastDbInit()).then(async (client) => {
251
+ import("../fast-db-init-BA6F2QTN.js").then(({ fastDbInit }) => fastDbInit()).then(async (client) => {
252
252
  const orScope = sessionScopeFilter();
253
253
  return client.execute({
254
254
  sql: `SELECT title, status FROM tasks
@@ -4,7 +4,7 @@ import {
4
4
  } from "../chunk-7WPIM2L6.js";
5
5
  import {
6
6
  sessionScopeFilter
7
- } from "../chunk-GA3BI2FI.js";
7
+ } from "../chunk-KFDIV7EE.js";
8
8
  import "../chunk-LOQCOHEW.js";
9
9
  import "../chunk-QI4IXJN7.js";
10
10
  import "../chunk-64WZEXXA.js";
@@ -55,7 +55,7 @@ process.stdin.on("end", async () => {
55
55
  if (canCoordinate(agent.agentId, agent.agentRole)) {
56
56
  process.exit(0);
57
57
  }
58
- const { fastDbInit } = await import("../fast-db-init-MKQRBXZW.js");
58
+ const { fastDbInit } = await import("../fast-db-init-BA6F2QTN.js");
59
59
  const client = await fastDbInit();
60
60
  const saScope = sessionScopeFilter();
61
61
  const pendingResult = await client.execute({
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  writeContinuityCheckpoint
3
- } from "../chunk-6YAK6C62.js";
3
+ } from "../chunk-PILV2QE3.js";
4
4
  import "../chunk-PZMAYNWK.js";
5
5
  import "../chunk-GUCKE3GK.js";
6
6
  import "../chunk-D6EK7PYQ.js";
@@ -8,13 +8,13 @@ import "../chunk-CMFLJNP6.js";
8
8
  import {
9
9
  initStore,
10
10
  vectorToBlob
11
- } from "../chunk-HFYQQKMV.js";
11
+ } from "../chunk-JEL26633.js";
12
12
  import "../chunk-CHCA3ZM2.js";
13
13
  import "../chunk-DOWW3EIO.js";
14
14
  import {
15
15
  sessionScopeFilter,
16
16
  writeNotification
17
- } from "../chunk-GA3BI2FI.js";
17
+ } from "../chunk-KFDIV7EE.js";
18
18
  import "../chunk-LOQCOHEW.js";
19
19
  import "../chunk-QI4IXJN7.js";
20
20
  import "../chunk-64WZEXXA.js";
@@ -181,7 +181,7 @@ async function main() {
181
181
  const { EXE_AI_DIR } = await import("../lib/config.js");
182
182
  const flagPath = path.join(EXE_AI_DIR, "session-cache", "needs-backfill");
183
183
  if (existsSync(flagPath)) {
184
- const { tryAcquireWorkerSlot, registerWorkerPid } = await import("../worker-gate-2JLZBO7X.js");
184
+ const { tryAcquireWorkerSlot, registerWorkerPid } = await import("../worker-gate-PF3NYYBS.js");
185
185
  if (!tryAcquireWorkerSlot()) {
186
186
  process.stderr.write("[summary-worker] Backfill needed but worker gate full \u2014 skipping\n");
187
187
  } else {
@@ -288,7 +288,7 @@ main().catch((err) => {
288
288
  process.stderr.write("[summary-worker] FATAL: " + (err instanceof Error ? err.message : String(err)) + "\n");
289
289
  }).finally(async () => {
290
290
  try {
291
- const { cleanupWorkerPid } = await import("../worker-gate-2JLZBO7X.js");
291
+ const { cleanupWorkerPid } = await import("../worker-gate-PF3NYYBS.js");
292
292
  cleanupWorkerPid();
293
293
  } catch {
294
294
  }
package/dist/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  runtime_exports
3
- } from "./chunk-JNJW3N3K.js";
4
- import "./chunk-4U2SWV5Z.js";
3
+ } from "./chunk-N4B65WIH.js";
4
+ import "./chunk-ERA4FE5C.js";
5
5
  import "./chunk-YZFZDJWZ.js";
6
6
  import "./chunk-AVE2B4DQ.js";
7
7
  import "./chunk-NGVOA6ZQ.js";
@@ -11,7 +11,7 @@ import "./chunk-O377P7GM.js";
11
11
  import "./chunk-PRKVT4KN.js";
12
12
  import "./chunk-HF25XPZE.js";
13
13
  import "./chunk-Q26T44WP.js";
14
- import "./chunk-GA3BI2FI.js";
14
+ import "./chunk-KFDIV7EE.js";
15
15
  import "./chunk-LOQCOHEW.js";
16
16
  import "./chunk-QI4IXJN7.js";
17
17
  import "./chunk-64WZEXXA.js";
@@ -27,21 +27,21 @@ import "./chunk-OPU3NYOO.js";
27
27
  import "./chunk-GJV3WDWM.js";
28
28
  import {
29
29
  gateway_exports
30
- } from "./chunk-GJJKUJPI.js";
30
+ } from "./chunk-ZKHX26H3.js";
31
31
  import "./chunk-ECSNSHZ7.js";
32
32
  import "./chunk-RJT7H2KR.js";
33
33
  import "./chunk-Q3V7K4ME.js";
34
34
  import "./chunk-N5RRQOAC.js";
35
35
  import "./chunk-ORCCI2VV.js";
36
36
  import "./chunk-FLSASUV3.js";
37
- import "./chunk-V6OIWPLP.js";
38
- import "./chunk-JFC6NUCX.js";
39
- import "./chunk-4RYRE7QI.js";
37
+ import "./chunk-SUUPTAK3.js";
38
+ import "./chunk-34RVMFJL.js";
39
+ import "./chunk-WP3ZXXPB.js";
40
40
  import "./chunk-FWFFZGSC.js";
41
41
  import "./chunk-ECGTESAP.js";
42
42
  import "./chunk-YGAAZN3E.js";
43
43
  import "./chunk-ONKIWA3R.js";
44
- import "./chunk-B2LJ6VZF.js";
44
+ import "./chunk-5WHMIXVB.js";
45
45
  import "./chunk-MP2AFCGL.js";
46
46
  import "./chunk-XTJPLJTZ.js";
47
47
  import "./chunk-HYZV25LY.js";
@@ -10,8 +10,8 @@ import {
10
10
  selectUnconsolidated,
11
11
  storeConsolidation,
12
12
  sweepExpiredTraces
13
- } from "../chunk-DX4CRPCG.js";
14
- import "../chunk-HFYQQKMV.js";
13
+ } from "../chunk-X56DHLUW.js";
14
+ import "../chunk-JEL26633.js";
15
15
  import "../chunk-CHCA3ZM2.js";
16
16
  import "../chunk-DOWW3EIO.js";
17
17
  import "../chunk-MP2AFCGL.js";
@@ -948,7 +948,7 @@ async function handleIngest(req) {
948
948
  project_name: req.projectName,
949
949
  has_error: req.hasError,
950
950
  timestamp: (/* @__PURE__ */ new Date()).toISOString(),
951
- task_id: req.taskId ?? void 0,
951
+ task_id: req.taskId ?? null,
952
952
  confidence: req.confidence,
953
953
  draft: req.draft,
954
954
  trajectory: req.trajectory ? JSON.stringify(req.trajectory) : void 0
@@ -2152,7 +2152,7 @@ async function ensureStoreForPolling() {
2152
2152
  }
2153
2153
  }
2154
2154
  async function startReviewPolling() {
2155
- const polling = await import("../review-polling-S3UBNNKI.js");
2155
+ const polling = await import("../review-polling-LUFX7TBF.js");
2156
2156
  const state = {
2157
2157
  lastIntercomSent: /* @__PURE__ */ new Map(),
2158
2158
  lastNudgeSent: /* @__PURE__ */ new Map(),
@@ -2187,7 +2187,7 @@ function startSessionTTL() {
2187
2187
  if (!await ensureStoreForPolling()) return;
2188
2188
  try {
2189
2189
  const { getClient } = await import("./database.js");
2190
- const { checkSessionTTL, createSessionTTLRealDeps } = await import("../daemon-orchestration-MIRY7676.js");
2190
+ const { checkSessionTTL, createSessionTTLRealDeps } = await import("../daemon-orchestration-XL2UYSHK.js");
2191
2191
  const deps = createSessionTTLRealDeps(getClient);
2192
2192
  const killed = await checkSessionTTL(deps);
2193
2193
  if (killed.length > 0) acted("session_ttl");
@@ -2236,7 +2236,7 @@ function startIdleKill() {
2236
2236
  const cfg = await getCachedConfig();
2237
2237
  if (!cfg) return;
2238
2238
  const { getClient } = await import("./database.js");
2239
- const { pollIdleKill, createIdleKillRealDeps } = await import("../daemon-orchestration-MIRY7676.js");
2239
+ const { pollIdleKill, createIdleKillRealDeps } = await import("../daemon-orchestration-XL2UYSHK.js");
2240
2240
  const deps = createIdleKillRealDeps(
2241
2241
  getClient,
2242
2242
  cfg.sessionLifecycle.idleKillIntercomAckWindowMs
@@ -2452,7 +2452,7 @@ function startSkillRefinement() {
2452
2452
  fired("skill_refinement");
2453
2453
  try {
2454
2454
  if (!await ensureStoreForPolling()) return;
2455
- const { runSkillRefinement } = await import("../skill-refinement-FRKF3S3J.js");
2455
+ const { runSkillRefinement } = await import("../skill-refinement-4NZ2EF4P.js");
2456
2456
  const result = await runSkillRefinement();
2457
2457
  if (result.reviewed > 0) {
2458
2458
  acted("skill_refinement");
@@ -2793,7 +2793,7 @@ function startOrphanReaper() {
2793
2793
  const tick = async () => {
2794
2794
  fired("orphan_reaper");
2795
2795
  try {
2796
- const { reapOrphanedMcpProcesses, createOrphanReaperRealDeps } = await import("../daemon-orchestration-MIRY7676.js");
2796
+ const { reapOrphanedMcpProcesses, createOrphanReaperRealDeps } = await import("../daemon-orchestration-XL2UYSHK.js");
2797
2797
  const deps = createOrphanReaperRealDeps();
2798
2798
  const reaped = await reapOrphanedMcpProcesses(deps);
2799
2799
  if (reaped.length > 0) acted("orphan_reaper");
@@ -2817,7 +2817,7 @@ function startZombieAgentReaper() {
2817
2817
  const tick = async () => {
2818
2818
  fired("zombie_agent_reaper");
2819
2819
  try {
2820
- const { reapZombieAgentProcesses, createZombieAgentReaperRealDeps } = await import("../daemon-orchestration-MIRY7676.js");
2820
+ const { reapZombieAgentProcesses, createZombieAgentReaperRealDeps } = await import("../daemon-orchestration-XL2UYSHK.js");
2821
2821
  const deps = createZombieAgentReaperRealDeps();
2822
2822
  const reaped = reapZombieAgentProcesses(deps);
2823
2823
  if (reaped.length > 0) acted("zombie_agent_reaper");
@@ -2840,7 +2840,7 @@ function startWorktreeReaper() {
2840
2840
  const tick = async () => {
2841
2841
  fired("worktree_reaper");
2842
2842
  try {
2843
- const { reapOrphanedWorktrees, createWorktreeReaperRealDeps } = await import("../daemon-orchestration-MIRY7676.js");
2843
+ const { reapOrphanedWorktrees, createWorktreeReaperRealDeps } = await import("../daemon-orchestration-XL2UYSHK.js");
2844
2844
  const deps = await createWorktreeReaperRealDeps();
2845
2845
  const result = await reapOrphanedWorktrees(deps);
2846
2846
  if (result.pruned.length > 0) {
@@ -2889,7 +2889,7 @@ function startStuckTaskRelease() {
2889
2889
  if (!await ensureStoreForPolling()) return;
2890
2890
  try {
2891
2891
  const { getClient } = await import("./database.js");
2892
- const { releaseStuckTasks, createStuckTaskRealDeps } = await import("../daemon-orchestration-MIRY7676.js");
2892
+ const { releaseStuckTasks, createStuckTaskRealDeps } = await import("../daemon-orchestration-XL2UYSHK.js");
2893
2893
  const deps = createStuckTaskRealDeps(getClient);
2894
2894
  const released = await releaseStuckTasks(deps);
2895
2895
  if (released.length > 0) {
@@ -2930,12 +2930,12 @@ function startTaskEnforcementScanner() {
2930
2930
  const tick = async () => {
2931
2931
  fired("task_enforcement");
2932
2932
  try {
2933
- const { runTaskEnforcementTick } = await import("../task-enforcement-O5X3SWZT.js");
2933
+ const { runTaskEnforcementTick } = await import("../task-enforcement-B4GIMP3P.js");
2934
2934
  const { getTransport } = await import("./transport.js");
2935
2935
  const { loadAgentConfig } = await import("./agent-config.js");
2936
2936
  const { getClient } = await import("./database.js");
2937
2937
  const { loadEmployeesSync } = await import("./employees.js");
2938
- const { sessionScopeFilter } = await import("../task-scope-PEXH76U3.js");
2938
+ const { sessionScopeFilter } = await import("../task-scope-MCCHWZT3.js");
2939
2939
  const transport = getTransport();
2940
2940
  const allSessions = getTmuxSessions().filter((s) => s.includes("-"));
2941
2941
  const paneCache = await batchCapturePanes(allSessions, 20);
@@ -3602,7 +3602,7 @@ try {
3602
3602
  fired("orphan_task_cleanup");
3603
3603
  try {
3604
3604
  if (!await ensureStoreForPolling()) return;
3605
- const { cleanOrphanedTaskFiles } = await import("../tasks-crud-EBMZOCM7.js");
3605
+ const { cleanOrphanedTaskFiles } = await import("../tasks-crud-FSFQEHQS.js");
3606
3606
  const count = await cleanOrphanedTaskFiles();
3607
3607
  if (count > 0) {
3608
3608
  acted("orphan_task_cleanup");
@@ -5,8 +5,8 @@ import {
5
5
  recentRecords,
6
6
  rrfMerge,
7
7
  rrfMergeMulti
8
- } from "../chunk-AR43F5MV.js";
9
- import "../chunk-HFYQQKMV.js";
8
+ } from "../chunk-QU62Q3YI.js";
9
+ import "../chunk-JEL26633.js";
10
10
  import "../chunk-CHCA3ZM2.js";
11
11
  import "../chunk-DOWW3EIO.js";
12
12
  import "../chunk-MP2AFCGL.js";
@@ -12,8 +12,8 @@ import {
12
12
  retryPendingMessages,
13
13
  sendMessage,
14
14
  setWsClientSend
15
- } from "../chunk-UQICZSRC.js";
16
- import "../chunk-GA3BI2FI.js";
15
+ } from "../chunk-LJ4MEZP5.js";
16
+ import "../chunk-KFDIV7EE.js";
17
17
  import "../chunk-LOQCOHEW.js";
18
18
  import "../chunk-QI4IXJN7.js";
19
19
  import "../chunk-64WZEXXA.js";
@@ -3,8 +3,8 @@ import {
3
3
  deleteSchedule,
4
4
  listSchedules,
5
5
  parseHumanCron
6
- } from "../chunk-2QQ57247.js";
7
- import "../chunk-HFYQQKMV.js";
6
+ } from "../chunk-WCKGOI5P.js";
7
+ import "../chunk-JEL26633.js";
8
8
  import "../chunk-CHCA3ZM2.js";
9
9
  import "../chunk-DOWW3EIO.js";
10
10
  import "../chunk-MP2AFCGL.js";
package/dist/lib/store.js CHANGED
@@ -13,7 +13,7 @@ import {
13
13
  updateMemoryStatus,
14
14
  vectorToBlob,
15
15
  writeMemory
16
- } from "../chunk-HFYQQKMV.js";
16
+ } from "../chunk-JEL26633.js";
17
17
  import "../chunk-CHCA3ZM2.js";
18
18
  import "../chunk-DOWW3EIO.js";
19
19
  import "../chunk-MP2AFCGL.js";