@askexenow/exe-os 0.9.355 → 0.9.356

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 (180) hide show
  1. package/dist/{backfill-metadata-7ZMD4GK2.js → backfill-metadata-SFS4ARNR.js} +1 -1
  2. package/dist/{behavior-injection-5XKH24H2.js → behavior-injection-OT7VX7M6.js} +3 -3
  3. package/dist/{behaviors-N25SY742.js → behaviors-6GW5AFG4.js} +2 -2
  4. package/dist/bin/agentic-ontology-backfill.js +1 -1
  5. package/dist/bin/agentic-reflection-backfill.js +1 -1
  6. package/dist/bin/agentic-semantic-label.js +1 -1
  7. package/dist/bin/backfill-conversations.js +1 -1
  8. package/dist/bin/backfill-responses.js +1 -1
  9. package/dist/bin/backfill-vectors.js +2 -2
  10. package/dist/bin/bulk-sync-postgres.js +3 -3
  11. package/dist/bin/cleanup-stale-review-tasks.js +3 -3
  12. package/dist/bin/cli.js +6 -6
  13. package/dist/bin/deferred-daemon-restart.js +35 -35
  14. package/dist/bin/exe-assign.js +1 -1
  15. package/dist/bin/exe-boot.js +10 -10
  16. package/dist/bin/exe-cloud.js +3 -3
  17. package/dist/bin/exe-dispatch.js +3 -3
  18. package/dist/bin/exe-doctor.js +1 -1
  19. package/dist/bin/exe-export-behaviors.js +4 -4
  20. package/dist/bin/exe-forget.js +3 -3
  21. package/dist/bin/exe-gateway.js +5 -5
  22. package/dist/bin/exe-heartbeat.js +5 -5
  23. package/dist/bin/exe-kill.js +5 -5
  24. package/dist/bin/exe-launch-agent.js +6 -6
  25. package/dist/bin/exe-memory-reads.js +1 -1
  26. package/dist/bin/exe-pending-messages.js +4 -4
  27. package/dist/bin/exe-pending-notifications.js +3 -3
  28. package/dist/bin/exe-pending-reviews.js +3 -3
  29. package/dist/bin/exe-review.js +4 -4
  30. package/dist/bin/exe-search.js +2 -2
  31. package/dist/bin/exe-session-cleanup.js +4 -4
  32. package/dist/bin/exe-settings.js +3 -3
  33. package/dist/bin/exe-start-codex.js +3 -3
  34. package/dist/bin/exe-start-opencode.js +3 -3
  35. package/dist/bin/exe-status.js +4 -4
  36. package/dist/bin/exe-team.js +1 -1
  37. package/dist/bin/git-sweep.js +3 -3
  38. package/dist/bin/graph-backfill.js +1 -1
  39. package/dist/bin/graph-export.js +2 -2
  40. package/dist/bin/import-history.js +2 -2
  41. package/dist/bin/install.js +35 -35
  42. package/dist/bin/intercom-check.js +4 -4
  43. package/dist/bin/mcp-sessions.js +2 -2
  44. package/dist/bin/orchestration-metrics.js +1 -1
  45. package/dist/bin/reconcile-backlog.js +1 -1
  46. package/dist/bin/scan-tasks.js +3 -3
  47. package/dist/bin/setup.js +1 -1
  48. package/dist/bin/shard-migrate.js +1 -1
  49. package/dist/{boot-review-sections-4CY2PBGZ.js → boot-review-sections-3MSXM6V7.js} +2 -2
  50. package/dist/{capacity-monitor-IUZCER65.js → capacity-monitor-5XUR3JTN.js} +4 -4
  51. package/dist/{catchup-brief-FGOY5FL2.js → catchup-brief-AYJWMQUZ.js} +4 -4
  52. package/dist/{chunk-AV3YQKLI.js → chunk-2LM5GO5R.js} +4 -4
  53. package/dist/{chunk-BGCXVFVS.js → chunk-4OMIENRX.js} +1 -1
  54. package/dist/{chunk-K6QZ5ATL.js → chunk-6CZXY5BD.js} +2 -2
  55. package/dist/{chunk-3MVOYNVN.js → chunk-6H4ZEU7P.js} +1 -1
  56. package/dist/{chunk-TSSRP4XV.js → chunk-6WAJJN5W.js} +1 -1
  57. package/dist/{chunk-7OUNHOPN.js → chunk-A5P2MMII.js} +1 -1
  58. package/dist/{chunk-RDN2EAB2.js → chunk-AW3WT3TJ.js} +80 -52
  59. package/dist/{chunk-AIFUKWLY.js → chunk-AWB7M62V.js} +2 -2
  60. package/dist/{chunk-F5YXWMMF.js → chunk-CI3YVCUY.js} +1 -1
  61. package/dist/{chunk-QCICGIEH.js → chunk-CQPFNVWY.js} +2 -2
  62. package/dist/{chunk-LY4JR2WL.js → chunk-DF5K4JJL.js} +1 -1
  63. package/dist/{chunk-ZMW64EV7.js → chunk-DZNXWCJN.js} +1 -1
  64. package/dist/{chunk-CCCPGCOI.js → chunk-EQQYCP6D.js} +1 -1
  65. package/dist/{chunk-YCZO2FAZ.js → chunk-ES4XE6AU.js} +2 -2
  66. package/dist/{chunk-AVHBWE2T.js → chunk-ES6PDSEK.js} +3 -3
  67. package/dist/{chunk-LBA6V4L2.js → chunk-FWJFKWYA.js} +1 -1
  68. package/dist/{chunk-BMK3RLV7.js → chunk-H4ZSOAP6.js} +1 -1
  69. package/dist/{chunk-RXJHJBRU.js → chunk-IIHFSNL4.js} +1 -1
  70. package/dist/{chunk-67ILAYK4.js → chunk-IO5FR7BZ.js} +1 -1
  71. package/dist/{chunk-3MKQMGQK.js → chunk-IT4TFJTK.js} +1 -1
  72. package/dist/{chunk-ENREZ76V.js → chunk-JUE37LOD.js} +2 -2
  73. package/dist/{chunk-54UPM32D.js → chunk-KT4RUFYO.js} +1 -1
  74. package/dist/{chunk-5JB5E3LG.js → chunk-LDRMNJJJ.js} +1 -1
  75. package/dist/{chunk-SQWYWL4W.js → chunk-NT4GET5B.js} +2 -2
  76. package/dist/{chunk-XO2TGFOU.js → chunk-OBWTTM7E.js} +2 -2
  77. package/dist/{chunk-4O4PXNWE.js → chunk-PUAA3P47.js} +2 -2
  78. package/dist/{chunk-6M7AU7QL.js → chunk-PUNCHUEX.js} +1 -1
  79. package/dist/{chunk-BJFHXNBO.js → chunk-QGLAMWQJ.js} +1 -1
  80. package/dist/{chunk-RFVOCOIF.js → chunk-QXAE6S3A.js} +7 -0
  81. package/dist/{chunk-LBGUKC6J.js → chunk-SFSB64NK.js} +1 -1
  82. package/dist/{chunk-D4OMMYL4.js → chunk-TAR5J7WI.js} +1 -1
  83. package/dist/{chunk-BWSZFT3E.js → chunk-VCKIV5WG.js} +2 -2
  84. package/dist/{chunk-G4IOHYM3.js → chunk-W3IXTUCL.js} +1 -1
  85. package/dist/{chunk-7UBBTBBD.js → chunk-W3REQ37P.js} +1 -1
  86. package/dist/{chunk-76JXWKJ6.js → chunk-WHQYVFE2.js} +1 -1
  87. package/dist/{chunk-6UCUOVOB.js → chunk-WJIGSNJM.js} +5 -5
  88. package/dist/{chunk-EJDKSAUB.js → chunk-XPGUSSG7.js} +1 -1
  89. package/dist/{chunk-XPDQBKER.js → chunk-XQAELSOQ.js} +2 -2
  90. package/dist/{chunk-CIAMVLXK.js → chunk-YG4LS7TI.js} +2 -2
  91. package/dist/{chunk-LTXJWL6R.js → chunk-YSUHXDQU.js} +9 -8
  92. package/dist/{chunk-EITFV752.js → chunk-ZMVVKOOS.js} +6 -6
  93. package/dist/{chunk-KMTOHVCM.js → chunk-ZWXSO4FN.js} +6 -6
  94. package/dist/{cleanup-graph-garbage-M4HBIBDI.js → cleanup-graph-garbage-XUNHVCRR.js} +1 -1
  95. package/dist/{crm-webhook-WRVNGAQU.js → crm-webhook-BQCP77TI.js} +2 -2
  96. package/dist/{cto-delegation-gate-QXCOUNEL.js → cto-delegation-gate-UHHNMWCL.js} +2 -2
  97. package/dist/{daemon-orchestration-XUWZIOPU.js → daemon-orchestration-7WS3X5DQ.js} +7 -7
  98. package/dist/{documents-XPHR2T4G.js → documents-SW2MJUXY.js} +2 -2
  99. package/dist/{dreaming-U634O7WB.js → dreaming-KSNJVNFH.js} +4 -4
  100. package/dist/{exe-export-GZ3FGKES.js → exe-export-44IWTJHL.js} +3 -3
  101. package/dist/{exe-import-UE7SLARA.js → exe-import-PPECH3KO.js} +3 -3
  102. package/dist/{exe-key-L6KPM4OV.js → exe-key-ZCRJQYA7.js} +35 -35
  103. package/dist/{exe-snapshot-5WEMYMK2.js → exe-snapshot-OVINJ6MC.js} +5 -5
  104. package/dist/{fast-db-init-7ZZOVLQI.js → fast-db-init-B5Q3SJQG.js} +3 -1
  105. package/dist/gateway/index.js +6 -6
  106. package/dist/{hook-prefetch-BH2BHOUC.js → hook-prefetch-FKXDTCDS.js} +3 -3
  107. package/dist/hooks/bug-report-worker.js +5 -5
  108. package/dist/hooks/codex-stop-task-finalizer.js +6 -6
  109. package/dist/hooks/commit-complete.js +5 -5
  110. package/dist/hooks/error-recall.js +2 -2
  111. package/dist/hooks/ingest.js +2 -2
  112. package/dist/hooks/instructions-loaded.js +1 -1
  113. package/dist/hooks/manifest.json +18 -18
  114. package/dist/hooks/notification.js +1 -1
  115. package/dist/hooks/post-compact.js +3 -3
  116. package/dist/hooks/post-tool-combined.js +3 -3
  117. package/dist/hooks/pre-compact.js +4 -4
  118. package/dist/hooks/pre-tool-use.js +9 -9
  119. package/dist/hooks/prompt-submit.js +14 -14
  120. package/dist/hooks/session-end.js +6 -6
  121. package/dist/hooks/session-start.js +7 -7
  122. package/dist/hooks/stop.js +6 -6
  123. package/dist/hooks/subagent-stop.js +5 -5
  124. package/dist/hooks/summary-worker.js +6 -6
  125. package/dist/index.js +10 -10
  126. package/dist/{intercom-queue-CTNJG7R5.js → intercom-queue-5D52JF3Q.js} +2 -2
  127. package/dist/lib/cloud-sync.js +3 -3
  128. package/dist/lib/consolidation.js +2 -2
  129. package/dist/lib/exe-daemon.js +36 -36
  130. package/dist/lib/hybrid-search.js +2 -2
  131. package/dist/lib/messaging.js +3 -3
  132. package/dist/lib/schedules.js +2 -2
  133. package/dist/lib/skill-learning.js +3 -3
  134. package/dist/lib/store.js +1 -1
  135. package/dist/lib/tasks.js +4 -4
  136. package/dist/lib/tmux-routing.js +2 -2
  137. package/dist/mcp/register-tools.js +34 -34
  138. package/dist/mcp/server.js +35 -35
  139. package/dist/mcp/tools/create-task.js +5 -5
  140. package/dist/mcp/tools/deactivate-behavior.js +3 -3
  141. package/dist/mcp/tools/list-tasks.js +5 -5
  142. package/dist/mcp/tools/send-message.js +4 -4
  143. package/dist/mcp/tools/update-task.js +5 -5
  144. package/dist/{mcp-session-identity-FAJY6BIU.js → mcp-session-identity-S6UCHBER.js} +2 -2
  145. package/dist/{memory-cards-TJY4ZSHF.js → memory-cards-65RGFT5M.js} +1 -1
  146. package/dist/{memory-pressure-watchdog-VZHFDEJQ.js → memory-pressure-watchdog-CC344JBH.js} +3 -3
  147. package/dist/{notification-ledger-ST7VOHTW.js → notification-ledger-GL3ZPZNR.js} +2 -2
  148. package/dist/{notifications-3NFVADNY.js → notifications-FGYNO2FY.js} +2 -2
  149. package/dist/{orchestrator-XXCNZ7JX.js → orchestrator-XUJDK4EW.js} +3 -3
  150. package/dist/{pipeline-router-LNYYGOSK.js → pipeline-router-YQOZ4M62.js} +1 -1
  151. package/dist/{projection-worker-LNYQIPTM.js → projection-worker-NJUNGEXE.js} +1 -1
  152. package/dist/{reranker-334X6AJN.js → reranker-LGSIL6TX.js} +1 -1
  153. package/dist/{review-polling-HPY4W5NC.js → review-polling-2RMEZ5QO.js} +3 -3
  154. package/dist/runtime/index.js +4 -4
  155. package/dist/{session-events-F4PCO4D3.js → session-events-5XSYCV4I.js} +3 -3
  156. package/dist/{session-kill-telemetry-LFJLI3NS.js → session-kill-telemetry-QJUHG3IG.js} +3 -3
  157. package/dist/{session-scope-OVHP3LJX.js → session-scope-LIJ746K2.js} +2 -2
  158. package/dist/{setup-wizard-TQITUMGJ.js → setup-wizard-RLUCGGA7.js} +1 -1
  159. package/dist/{skill-refinement-XYWEA5KI.js → skill-refinement-FMN3WFSG.js} +1 -1
  160. package/dist/{task-enforcement-AYCGJ6GA.js → task-enforcement-SFZGBY27.js} +3 -3
  161. package/dist/{task-scope-EK4VS4NA.js → task-scope-74ZIFQRH.js} +2 -2
  162. package/dist/{tasks-crud-AM3FI7AN.js → tasks-crud-N54JZCXU.js} +2 -2
  163. package/dist/{tasks-notify-CQ2DIHXY.js → tasks-notify-62IJZW55.js} +3 -3
  164. package/dist/{tasks-review-W52QIL5I.js → tasks-review-3LHBE6ZJ.js} +2 -2
  165. package/dist/{telemetry-upload-TQDNSGO7.js → telemetry-upload-HR3QIWZV.js} +1 -1
  166. package/dist/tui/App.js +8 -8
  167. package/dist/{tui-data-SPSBWVEY.js → tui-data-BPXEJKRQ.js} +2 -2
  168. package/dist/{update-support-BDPFKWXV.js → update-support-HLZ7KMVM.js} +2 -2
  169. package/dist/{worker-gate-7X3WOWU7.js → worker-gate-5ABYGLC2.js} +1 -1
  170. package/dist/{workflow-engine-I3YGQOB5.js → workflow-engine-XSUWZK6I.js} +2 -2
  171. package/package.json +1 -1
  172. package/release-notes.json +15 -19
  173. /package/dist/{chunk-QA77JMBW.js → chunk-2267TRAO.js} +0 -0
  174. /package/dist/{chunk-PXLYA2NX.js → chunk-72GUU6Z4.js} +0 -0
  175. /package/dist/{chunk-GNGVBO5E.js → chunk-7GOSAV25.js} +0 -0
  176. /package/dist/{chunk-YR2T2GBJ.js → chunk-AK77MITT.js} +0 -0
  177. /package/dist/{chunk-D6MWP56U.js → chunk-GVU3BW6N.js} +0 -0
  178. /package/dist/{chunk-CP32WIKZ.js → chunk-P7EUKYSQ.js} +0 -0
  179. /package/dist/{core-memory-RO3MHRQR.js → core-memory-KXE4QMOA.js} +0 -0
  180. /package/dist/{memory-isolation-KOQXJXZF.js → memory-isolation-VSKUKTN4.js} +0 -0
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  MultiAgentOrchestrator
3
- } from "./chunk-LY4JR2WL.js";
3
+ } from "./chunk-DF5K4JJL.js";
4
4
  import {
5
5
  createTokenBudgetMiddleware
6
6
  } from "./chunk-H4IZKSOY.js";
@@ -209,7 +209,7 @@ function createExeOSHooks(config) {
209
209
  );
210
210
  }
211
211
  try {
212
- const { listBehaviors } = await import("./behaviors-N25SY742.js");
212
+ const { listBehaviors } = await import("./behaviors-6GW5AFG4.js");
213
213
  const behaviors = await listBehaviors(config.agentId, config.projectName, 12);
214
214
  if (behaviors.length > 0) {
215
215
  process.stderr.write(
@@ -330,7 +330,7 @@ function createExeOSHooks(config) {
330
330
  async onSubagentStop(_reason) {
331
331
  try {
332
332
  const { getClient } = await import("./lib/database.js");
333
- const { sessionScopeFilter } = await import("./task-scope-EK4VS4NA.js");
333
+ const { sessionScopeFilter } = await import("./task-scope-74ZIFQRH.js");
334
334
  const client = getClient();
335
335
  const ehScope = sessionScopeFilter();
336
336
  const tasks = await client.execute({
@@ -422,7 +422,7 @@ function createExeOSHooks(config) {
422
422
  try {
423
423
  const { writeMemory, flushBatch } = await import("./lib/store.js");
424
424
  const { getClient } = await import("./lib/database.js");
425
- const { sessionScopeFilter: cpScopeFilter } = await import("./task-scope-EK4VS4NA.js");
425
+ const { sessionScopeFilter: cpScopeFilter } = await import("./task-scope-74ZIFQRH.js");
426
426
  const client = getClient();
427
427
  const cpScope = cpScopeFilter();
428
428
  const tasks = await client.execute({
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  listBehaviors
3
- } from "./chunk-LBA6V4L2.js";
3
+ } from "./chunk-FWJFKWYA.js";
4
4
  import {
5
5
  loadConfigSync
6
6
  } from "./chunk-BCZF3AGJ.js";
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  recordSessionKill
3
- } from "./chunk-D4OMMYL4.js";
3
+ } from "./chunk-TAR5J7WI.js";
4
4
  import {
5
5
  sessionScopeFilter,
6
6
  verifyPaneAtCapacity,
7
7
  writeNotification
8
- } from "./chunk-LTXJWL6R.js";
8
+ } from "./chunk-YSUHXDQU.js";
9
9
  import {
10
10
  listSessions
11
11
  } from "./chunk-PM4TIRCR.js";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  deactivateBehavior
3
- } from "./chunk-LBA6V4L2.js";
3
+ } from "./chunk-FWJFKWYA.js";
4
4
  import {
5
5
  getActiveAgent
6
6
  } from "./chunk-YNYISUMW.js";
@@ -4,7 +4,7 @@ import {
4
4
  import {
5
5
  reserveVersions,
6
6
  vectorToBlob
7
- } from "./chunk-76JXWKJ6.js";
7
+ } from "./chunk-WHQYVFE2.js";
8
8
  import {
9
9
  getClient
10
10
  } from "./chunk-M5DPPJLS.js";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  sendMessage
3
- } from "./chunk-6M7AU7QL.js";
3
+ } from "./chunk-PUNCHUEX.js";
4
4
  import {
5
5
  getActiveAgent
6
6
  } from "./chunk-YNYISUMW.js";
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  persistSupportArtifact
3
- } from "./chunk-F5YXWMMF.js";
3
+ } from "./chunk-CI3YVCUY.js";
4
4
  import {
5
5
  exportOrchestration,
6
6
  importOrchestration,
7
7
  validatePackage
8
- } from "./chunk-3MKQMGQK.js";
8
+ } from "./chunk-IT4TFJTK.js";
9
9
  import {
10
10
  runDriftProbes
11
11
  } from "./chunk-6UTP7AIH.js";
@@ -52,14 +52,14 @@ import {
52
52
  ingestDocument,
53
53
  listDocumentsByWorkspace,
54
54
  updateChunksImportance
55
- } from "./chunk-TSSRP4XV.js";
55
+ } from "./chunk-6WAJJN5W.js";
56
56
  import {
57
57
  DreamingEngine
58
- } from "./chunk-4O4PXNWE.js";
58
+ } from "./chunk-PUAA3P47.js";
59
59
  import {
60
60
  isRerankerAvailable,
61
61
  rerankWithScores
62
- } from "./chunk-QA77JMBW.js";
62
+ } from "./chunk-2267TRAO.js";
63
63
  import {
64
64
  getEntityByName,
65
65
  getEntityNeighbors,
@@ -70,10 +70,10 @@ import {
70
70
  } from "./chunk-CRCB5S7I.js";
71
71
  import {
72
72
  AUTO_WAKE_MAX_RETRIES
73
- } from "./chunk-6UCUOVOB.js";
73
+ } from "./chunk-WJIGSNJM.js";
74
74
  import {
75
75
  listRecentSessionEvents
76
- } from "./chunk-ZMW64EV7.js";
76
+ } from "./chunk-DZNXWCJN.js";
77
77
  import {
78
78
  isToolAllowed,
79
79
  isToolAllowedForPlan
@@ -83,7 +83,7 @@ import {
83
83
  getPlayMode,
84
84
  listExploreSessions,
85
85
  setPlayMode
86
- } from "./chunk-SQWYWL4W.js";
86
+ } from "./chunk-NT4GET5B.js";
87
87
  import {
88
88
  getCachedLicenseGate,
89
89
  refreshLicenseGate
@@ -100,17 +100,17 @@ import {
100
100
  } from "./chunk-QLFN3MUW.js";
101
101
  import {
102
102
  createOrRefreshResumeTask
103
- } from "./chunk-K6QZ5ATL.js";
103
+ } from "./chunk-6CZXY5BD.js";
104
104
  import {
105
105
  registerCreateTask,
106
106
  resolveProjectDir
107
- } from "./chunk-AVHBWE2T.js";
107
+ } from "./chunk-ES6PDSEK.js";
108
108
  import {
109
109
  registerListTasks
110
- } from "./chunk-BJFHXNBO.js";
110
+ } from "./chunk-QGLAMWQJ.js";
111
111
  import {
112
112
  registerUpdateTask
113
- } from "./chunk-YCZO2FAZ.js";
113
+ } from "./chunk-ES4XE6AU.js";
114
114
  import {
115
115
  registerCreateReminder
116
116
  } from "./chunk-4KCLB4TY.js";
@@ -122,7 +122,7 @@ import {
122
122
  } from "./chunk-RZSPCNLY.js";
123
123
  import {
124
124
  registerDeactivateBehavior
125
- } from "./chunk-3MVOYNVN.js";
125
+ } from "./chunk-6H4ZEU7P.js";
126
126
  import {
127
127
  completeReminder,
128
128
  createReminder,
@@ -130,18 +130,18 @@ import {
130
130
  } from "./chunk-VPMAC5VB.js";
131
131
  import {
132
132
  registerSendMessage
133
- } from "./chunk-7OUNHOPN.js";
133
+ } from "./chunk-A5P2MMII.js";
134
134
  import {
135
135
  registerImportConversations
136
- } from "./chunk-54UPM32D.js";
136
+ } from "./chunk-KT4RUFYO.js";
137
137
  import {
138
138
  status
139
- } from "./chunk-QCICGIEH.js";
139
+ } from "./chunk-CQPFNVWY.js";
140
140
  import {
141
141
  TOKENS_PER_IDLE_MINUTE,
142
142
  countKillsSince,
143
143
  sumTokensSavedSince
144
- } from "./chunk-D4OMMYL4.js";
144
+ } from "./chunk-TAR5J7WI.js";
145
145
  import {
146
146
  evaluateGlobalSpendCap,
147
147
  getAgentSpend
@@ -149,7 +149,7 @@ import {
149
149
  import {
150
150
  createSchedule,
151
151
  parseHumanCron
152
- } from "./chunk-5JB5E3LG.js";
152
+ } from "./chunk-LDRMNJJJ.js";
153
153
  import {
154
154
  exportGraphHTML,
155
155
  generateGraphReport
@@ -162,7 +162,7 @@ import {
162
162
  formatReport,
163
163
  runAudit,
164
164
  shouldFixShards
165
- } from "./chunk-CIAMVLXK.js";
165
+ } from "./chunk-YG4LS7TI.js";
166
166
  import {
167
167
  formatDegradations,
168
168
  getRetrievalHealth
@@ -202,14 +202,14 @@ import {
202
202
  cloudSync,
203
203
  getCloudReuploadRequired,
204
204
  markCloudReuploadRequired
205
- } from "./chunk-G4IOHYM3.js";
205
+ } from "./chunk-W3IXTUCL.js";
206
206
  import {
207
207
  createARecord
208
208
  } from "./chunk-X2Z5GT3V.js";
209
209
  import {
210
210
  findSimilarTrajectories,
211
211
  hashSignature
212
- } from "./chunk-7UBBTBBD.js";
212
+ } from "./chunk-W3REQ37P.js";
213
213
  import {
214
214
  GHOST_BEHAVIOR_SQL,
215
215
  deactivateBehavior,
@@ -218,13 +218,13 @@ import {
218
218
  reactivateBehavior,
219
219
  storeBehavior,
220
220
  storeReflexBehavior
221
- } from "./chunk-LBA6V4L2.js";
221
+ } from "./chunk-FWJFKWYA.js";
222
222
  import {
223
223
  countUnconsolidated,
224
224
  groupMemories,
225
225
  runConsolidation,
226
226
  selectUnconsolidated
227
- } from "./chunk-67ILAYK4.js";
227
+ } from "./chunk-IO5FR7BZ.js";
228
228
  import {
229
229
  entityId,
230
230
  mergeEntities
@@ -242,7 +242,7 @@ import {
242
242
  import {
243
243
  hybridSearch,
244
244
  recentRecords
245
- } from "./chunk-KMTOHVCM.js";
245
+ } from "./chunk-ZWXSO4FN.js";
246
246
  import {
247
247
  buildFtsMatch,
248
248
  tokenizeForFts
@@ -252,16 +252,16 @@ import {
252
252
  flushBatch,
253
253
  initStore,
254
254
  writeMemory
255
- } from "./chunk-76JXWKJ6.js";
255
+ } from "./chunk-WHQYVFE2.js";
256
256
  import {
257
257
  updateTask
258
- } from "./chunk-EITFV752.js";
258
+ } from "./chunk-ZMVVKOOS.js";
259
259
  import {
260
260
  fastDbInit
261
- } from "./chunk-RFVOCOIF.js";
261
+ } from "./chunk-QXAE6S3A.js";
262
262
  import {
263
263
  MAX_CONCURRENT_WORKERS
264
- } from "./chunk-EJDKSAUB.js";
264
+ } from "./chunk-XPGUSSG7.js";
265
265
  import {
266
266
  getActiveAgent
267
267
  } from "./chunk-YNYISUMW.js";
@@ -284,7 +284,7 @@ import {
284
284
  sessionScopeFilter,
285
285
  updateTaskStatus,
286
286
  writeCheckpoint
287
- } from "./chunk-LTXJWL6R.js";
287
+ } from "./chunk-YSUHXDQU.js";
288
288
  import {
289
289
  listSessions
290
290
  } from "./chunk-PM4TIRCR.js";
@@ -324,7 +324,7 @@ import {
324
324
  isScheduledTrigger,
325
325
  loadTriggers,
326
326
  sanitizeParam
327
- } from "./chunk-D6MWP56U.js";
327
+ } from "./chunk-GVU3BW6N.js";
328
328
  import {
329
329
  pushConversationToCRM
330
330
  } from "./chunk-ML4S5SHZ.js";
@@ -554,9 +554,13 @@ function registerRecallMyMemory(server) {
554
554
  debug
555
555
  }) => {
556
556
  try {
557
- if (!isInitialized()) {
558
- const { fastDbInit: fastDbInit2 } = await import("./fast-db-init-7ZZOVLQI.js");
559
- await fastDbInit2();
557
+ {
558
+ const { ensureReadDbReady } = await import("./fast-db-init-B5Q3SJQG.js");
559
+ if (!await ensureReadDbReady()) {
560
+ return {
561
+ content: [{ type: "text", text: "No matching memories found." }]
562
+ };
563
+ }
560
564
  }
561
565
  if (!recent && !query) {
562
566
  return {
@@ -762,6 +766,19 @@ function registerAskTeamMemory(server) {
762
766
  ...session_scope ? { sessionScope: session_scope } : {}
763
767
  }, safeMode);
764
768
  if (!effectiveIncludeRaw) searchOptions.includeRaw = false;
769
+ {
770
+ const { ensureReadDbReady } = await import("./fast-db-init-B5Q3SJQG.js");
771
+ if (!await ensureReadDbReady()) {
772
+ return {
773
+ content: [
774
+ {
775
+ type: "text",
776
+ text: `No memories found for team member '${team_member}'.`
777
+ }
778
+ ]
779
+ };
780
+ }
781
+ }
765
782
  const results = await hybridSearch(query, team_member, searchOptions);
766
783
  if (results.length === 0) {
767
784
  return {
@@ -1218,6 +1235,17 @@ function registerSearchEverything(server) {
1218
1235
  },
1219
1236
  async (params) => {
1220
1237
  try {
1238
+ const { ensureReadDbReady } = await import("./fast-db-init-B5Q3SJQG.js");
1239
+ if (!await ensureReadDbReady()) {
1240
+ return {
1241
+ content: [
1242
+ {
1243
+ type: "text",
1244
+ text: "No results found across any data store."
1245
+ }
1246
+ ]
1247
+ };
1248
+ }
1221
1249
  const { agentId } = getActiveAgent();
1222
1250
  const sources = params.sources;
1223
1251
  const results = await unifiedSearch(params.query, agentId, {
@@ -2005,7 +2033,7 @@ function registerMemory(server) {
2005
2033
  if (action === "core_get" || action === "core_set" || action === "core_delete") {
2006
2034
  const { getActiveAgent: getActiveAgent2 } = await import("./active-agent-LCRV3HVS.js");
2007
2035
  const { agentId } = getActiveAgent2();
2008
- const { getCoreMemory, setCoreMemory, deleteCoreMemory, formatCoreMemoryBlock } = await import("./core-memory-RO3MHRQR.js");
2036
+ const { getCoreMemory, setCoreMemory, deleteCoreMemory, formatCoreMemoryBlock } = await import("./core-memory-KXE4QMOA.js");
2009
2037
  if (action === "core_get") {
2010
2038
  const entries = await getCoreMemory(agentId);
2011
2039
  const block = formatCoreMemoryBlock(entries);
@@ -2057,7 +2085,7 @@ function registerMemory(server) {
2057
2085
  if (!storeTrigger || !storeTriggerAction) {
2058
2086
  return errorResult('memory action "store" with kind="reflex" requires trigger and trigger_action fields');
2059
2087
  }
2060
- const { formatReflexContent, storeReflexBehavior: storeReflexBehavior2 } = await import("./behaviors-N25SY742.js");
2088
+ const { formatReflexContent, storeReflexBehavior: storeReflexBehavior2 } = await import("./behaviors-6GW5AFG4.js");
2061
2089
  const reflexText = formatReflexContent(storeTrigger, storeTriggerAction);
2062
2090
  legacyArgs.text ??= reflexText;
2063
2091
  legacyArgs.query ??= reflexText;
@@ -2839,7 +2867,7 @@ function registerResumeEmployee(server) {
2839
2867
  async ({ agent_id, project_name }) => {
2840
2868
  let client;
2841
2869
  if (!isInitialized()) {
2842
- const { fastDbInit: fastDbInit2 } = await import("./fast-db-init-7ZZOVLQI.js");
2870
+ const { fastDbInit: fastDbInit2 } = await import("./fast-db-init-B5Q3SJQG.js");
2843
2871
  client = await fastDbInit2();
2844
2872
  } else {
2845
2873
  client = getClient();
@@ -2867,7 +2895,7 @@ function registerResumeEmployee(server) {
2867
2895
  };
2868
2896
  }
2869
2897
  try {
2870
- const { isTmuxSessionAlive } = await import("./tasks-crud-AM3FI7AN.js");
2898
+ const { isTmuxSessionAlive } = await import("./tasks-crud-N54JZCXU.js");
2871
2899
  const now = (/* @__PURE__ */ new Date()).toISOString();
2872
2900
  for (const row of openTasks.rows) {
2873
2901
  const status2 = String(row.status);
@@ -2895,7 +2923,7 @@ function registerResumeEmployee(server) {
2895
2923
  }
2896
2924
  let checkpointInfo = "";
2897
2925
  try {
2898
- const { readLatestCheckpoint } = await import("./tasks-crud-AM3FI7AN.js");
2926
+ const { readLatestCheckpoint } = await import("./tasks-crud-N54JZCXU.js");
2899
2927
  const checkpointSessionScope = openTasks.rows[0]?.session_scope != null ? String(openTasks.rows[0].session_scope) : reScope.args[0] != null ? String(reScope.args[0]) : "";
2900
2928
  const checkpoint = checkpointSessionScope ? await readLatestCheckpoint(agent_id, { sessionScope: checkpointSessionScope }) : null;
2901
2929
  if (checkpoint) {
@@ -3393,7 +3421,7 @@ function registerTask(server) {
3393
3421
  const missing2 = missingRequiredFields2(args, REQUIRED_FIELDS2.create_group);
3394
3422
  if (missing2.length > 0) return errorResult2(`task action "create_group" missing required field(s): ${missing2.join(", ")}`);
3395
3423
  try {
3396
- const { createTaskGroup } = await import("./tasks-crud-AM3FI7AN.js");
3424
+ const { createTaskGroup } = await import("./tasks-crud-N54JZCXU.js");
3397
3425
  const group = await createTaskGroup({
3398
3426
  title: args.title,
3399
3427
  coordinator: args.coordinator,
@@ -3412,7 +3440,7 @@ function registerTask(server) {
3412
3440
  const missing2 = missingRequiredFields2(args, REQUIRED_FIELDS2.group_status);
3413
3441
  if (missing2.length > 0) return errorResult2(`task action "group_status" missing required field(s): ${missing2.join(", ")}`);
3414
3442
  try {
3415
- const { getGroupStatus } = await import("./tasks-crud-AM3FI7AN.js");
3443
+ const { getGroupStatus } = await import("./tasks-crud-N54JZCXU.js");
3416
3444
  const status2 = await getGroupStatus(args.group_id);
3417
3445
  return { content: [{ type: "text", text: JSON.stringify(status2, null, 2) }] };
3418
3446
  } catch (err) {
@@ -3424,7 +3452,7 @@ function registerTask(server) {
3424
3452
  const missing2 = missingRequiredFields2(args, REQUIRED_FIELDS2.group_results);
3425
3453
  if (missing2.length > 0) return errorResult2(`task action "group_results" missing required field(s): ${missing2.join(", ")}`);
3426
3454
  try {
3427
- const { getGroupResults } = await import("./tasks-crud-AM3FI7AN.js");
3455
+ const { getGroupResults } = await import("./tasks-crud-N54JZCXU.js");
3428
3456
  const results = await getGroupResults(args.group_id);
3429
3457
  return { content: [{ type: "text", text: JSON.stringify(results, null, 2) }] };
3430
3458
  } catch (err) {
@@ -4317,7 +4345,7 @@ function registerDocument(server) {
4317
4345
  const { action: _action, ...legacyArgs } = input;
4318
4346
  if (action === "list" && (legacyArgs.workspace_id === void 0 || legacyArgs.workspace_id === null || legacyArgs.workspace_id === "")) {
4319
4347
  try {
4320
- const { resolveDefaultWorkspaceId, listWorkspaces } = await import("./documents-XPHR2T4G.js");
4348
+ const { resolveDefaultWorkspaceId, listWorkspaces } = await import("./documents-SW2MJUXY.js");
4321
4349
  const defaultId = await resolveDefaultWorkspaceId();
4322
4350
  if (defaultId) {
4323
4351
  legacyArgs.workspace_id = defaultId;
@@ -5344,7 +5372,7 @@ async function handleTrigger(limit) {
5344
5372
  if (rows.rows.length === 0) {
5345
5373
  return text3("No conversations found to re-process.");
5346
5374
  }
5347
- const { ingest } = await import("./pipeline-router-LNYYGOSK.js");
5375
+ const { ingest } = await import("./pipeline-router-YQOZ4M62.js");
5348
5376
  const results = [];
5349
5377
  for (const row of rows.rows) {
5350
5378
  const r = row;
@@ -6242,7 +6270,7 @@ async function handleCleanupGarbage(args) {
6242
6270
  const doMerge = !garbageOnly;
6243
6271
  let mod;
6244
6272
  try {
6245
- mod = await import("./cleanup-graph-garbage-M4HBIBDI.js");
6273
+ mod = await import("./cleanup-graph-garbage-XUNHVCRR.js");
6246
6274
  } catch (err) {
6247
6275
  return errorResult7(`cleanup_garbage: failed to load cleanup module \u2014 ${err instanceof Error ? err.message : String(err)}`);
6248
6276
  }
@@ -7128,7 +7156,7 @@ async function getAgentSessionLoad() {
7128
7156
  return { sessions: [], totalLive: 0, busySessions: 0, idleSessions: 0 };
7129
7157
  }
7130
7158
  const { getClient: getClient2 } = await import("./lib/database.js");
7131
- const { sessionScopeFilter: sessionScopeFilter2 } = await import("./task-scope-EK4VS4NA.js");
7159
+ const { sessionScopeFilter: sessionScopeFilter2 } = await import("./task-scope-74ZIFQRH.js");
7132
7160
  const client = getClient2();
7133
7161
  const scope = sessionScopeFilter2();
7134
7162
  for (const s of liveAgentSessions) {
@@ -9985,7 +10013,7 @@ function buildHandlers5() {
9985
10013
  }
9986
10014
  async function handleDreaming(action, args) {
9987
10015
  try {
9988
- const { DreamingEngine: DreamingEngine2 } = await import("./dreaming-U634O7WB.js");
10016
+ const { DreamingEngine: DreamingEngine2 } = await import("./dreaming-KSNJVNFH.js");
9989
10017
  const { getActiveAgent: getActiveAgent2 } = await import("./active-agent-LCRV3HVS.js");
9990
10018
  const { getClient: getClient2 } = await import("./lib/database.js");
9991
10019
  const agentId = args.agent_id ?? getActiveAgent2().agentId;
@@ -10144,7 +10172,7 @@ function registerConfig(server) {
10144
10172
  }
10145
10173
  if (action === "closeout") {
10146
10174
  try {
10147
- const { DreamingEngine: DreamingEngine2 } = await import("./dreaming-U634O7WB.js");
10175
+ const { DreamingEngine: DreamingEngine2 } = await import("./dreaming-KSNJVNFH.js");
10148
10176
  const { getActiveAgent: getActiveAgent2 } = await import("./active-agent-LCRV3HVS.js");
10149
10177
  const { writeMemory: writeMemory2, flushBatch: flushBatch2 } = await import("./lib/store.js");
10150
10178
  const { randomUUID: randomUUID2 } = await import("crypto");
@@ -11136,7 +11164,7 @@ Use /exe-forget to remove any that this supersedes.`;
11136
11164
  }]
11137
11165
  };
11138
11166
  }
11139
- const { bulkPurgeGhostBehaviors } = await import("./behaviors-N25SY742.js");
11167
+ const { bulkPurgeGhostBehaviors } = await import("./behaviors-6GW5AFG4.js");
11140
11168
  const res = await bulkPurgeGhostBehaviors({ batchSize: 5e3, vacuum: true });
11141
11169
  return {
11142
11170
  content: [{
@@ -11247,7 +11275,7 @@ Use /exe-forget to remove any that this supersedes.`;
11247
11275
  return { content: [{ type: "text", text: `Behavior not found: ${behavior_id}` }], isError: true };
11248
11276
  }
11249
11277
  const row2 = result4.rows[0];
11250
- const { reactivateBehavior: reactivateBehavior2 } = await import("./behaviors-N25SY742.js");
11278
+ const { reactivateBehavior: reactivateBehavior2 } = await import("./behaviors-6GW5AFG4.js");
11251
11279
  const wasReactivated = await reactivateBehavior2(behavior_id);
11252
11280
  if (!wasReactivated) {
11253
11281
  return { content: [{ type: "text", text: `Behavior ${behavior_id} is already active.` }] };
@@ -11779,7 +11807,7 @@ function registerWorkflowTool(server) {
11779
11807
  getWorkflowInstance,
11780
11808
  listWorkflowInstances,
11781
11809
  approveWorkflowStep
11782
- } = await import("./workflow-engine-I3YGQOB5.js");
11810
+ } = await import("./workflow-engine-XSUWZK6I.js");
11783
11811
  try {
11784
11812
  switch (input.action) {
11785
11813
  case "create_workflow": {
@@ -14374,7 +14402,7 @@ async function handleMergeAgentMemories(input) {
14374
14402
  }
14375
14403
  async function handleMemoryIsolation(input) {
14376
14404
  try {
14377
- const { queryMemoryIsolation, formatMemoryIsolationReport } = await import("./memory-isolation-KOQXJXZF.js");
14405
+ const { queryMemoryIsolation, formatMemoryIsolationReport } = await import("./memory-isolation-VSKUKTN4.js");
14378
14406
  const agentId = typeof input.agent_id === "string" ? input.agent_id : void 0;
14379
14407
  const allScopes = input.all_scopes === true;
14380
14408
  const sessionScope = typeof input.session_scope === "string" ? input.session_scope : void 0;
@@ -14496,7 +14524,7 @@ async function handleOrchestrationHealth() {
14496
14524
  async function handleWorkMap() {
14497
14525
  try {
14498
14526
  const { getAgentLivenessReport } = await import("./agent-heartbeat-I5UPGXAU.js");
14499
- const { classifyRole } = await import("./session-kill-telemetry-LFJLI3NS.js");
14527
+ const { classifyRole } = await import("./session-kill-telemetry-QJUHG3IG.js");
14500
14528
  const { buildSessionDeathSummary } = await import("./orchestration-health-read-EJWVUARG.js");
14501
14529
  const { getPaneCwd } = await import("./lib/tmux-status.js");
14502
14530
  const live = getAgentLivenessReport();
@@ -6,7 +6,7 @@ import {
6
6
  queryTaskRows,
7
7
  resolveExeSession,
8
8
  sendIntercom
9
- } from "./chunk-LTXJWL6R.js";
9
+ } from "./chunk-YSUHXDQU.js";
10
10
  import {
11
11
  getTransport
12
12
  } from "./chunk-UXLO7VHX.js";
@@ -89,7 +89,7 @@ async function dispatchTaskToEmployee(input) {
89
89
  let crossProject = false;
90
90
  if (input.projectName) {
91
91
  try {
92
- const { assertSessionScope } = await import("./session-scope-OVHP3LJX.js");
92
+ const { assertSessionScope } = await import("./session-scope-LIJ746K2.js");
93
93
  const check = assertSessionScope("dispatch_task", input.projectName);
94
94
  if (check.reason === "cross_session_denied") {
95
95
  crossProject = true;
@@ -4,7 +4,7 @@ import {
4
4
  import {
5
5
  flushBatch,
6
6
  writeMemory
7
- } from "./chunk-76JXWKJ6.js";
7
+ } from "./chunk-WHQYVFE2.js";
8
8
  import {
9
9
  redactSecrets
10
10
  } from "./chunk-4QCFFW2H.js";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  fastDbInit
3
- } from "./chunk-RFVOCOIF.js";
3
+ } from "./chunk-QXAE6S3A.js";
4
4
  import {
5
5
  sessionScopeFilter
6
- } from "./chunk-LTXJWL6R.js";
6
+ } from "./chunk-YSUHXDQU.js";
7
7
  import {
8
8
  formatStatusAll,
9
9
  formatStatusDeep,
@@ -9,7 +9,7 @@ import {
9
9
  isEmployeeAlive,
10
10
  sessionScopeFilter,
11
11
  updateTaskStatus
12
- } from "./chunk-LTXJWL6R.js";
12
+ } from "./chunk-YSUHXDQU.js";
13
13
  import {
14
14
  DEFAULT_COORDINATOR_TEMPLATE_NAME,
15
15
  getCoordinatorName
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  getCurrentSessionScope,
3
3
  strictSessionScopeFilter
4
- } from "./chunk-LTXJWL6R.js";
4
+ } from "./chunk-YSUHXDQU.js";
5
5
  import {
6
6
  getProjectName
7
7
  } from "./chunk-OPU3NYOO.js";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  sessionScopeFilter
3
- } from "./chunk-LTXJWL6R.js";
3
+ } from "./chunk-YSUHXDQU.js";
4
4
  import {
5
5
  leaseExpiryIso
6
6
  } from "./chunk-E23LNUWJ.js";
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  updateTask
3
- } from "./chunk-EITFV752.js";
3
+ } from "./chunk-ZMVVKOOS.js";
4
4
  import {
5
5
  TASK_ALREADY_CLAIMED_PREFIX,
6
6
  TASK_CLAIM_NOT_HELD_PREFIX,
7
7
  TASK_SIDECHAIN_WRITE_BLOCKED_PREFIX
8
- } from "./chunk-LTXJWL6R.js";
8
+ } from "./chunk-YSUHXDQU.js";
9
9
  import {
10
10
  getAgentContext
11
11
  } from "./chunk-GJV3WDWM.js";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  createTask
3
- } from "./chunk-EITFV752.js";
3
+ } from "./chunk-ZMVVKOOS.js";
4
4
  import {
5
5
  getActiveAgent
6
6
  } from "./chunk-YNYISUMW.js";
@@ -9,7 +9,7 @@ import {
9
9
  isValidSessionScope,
10
10
  logTaskDispatch,
11
11
  resolveExeSession
12
- } from "./chunk-LTXJWL6R.js";
12
+ } from "./chunk-YSUHXDQU.js";
13
13
  import {
14
14
  recordOrchestrationEventBestEffort
15
15
  } from "./chunk-X4EDW3FH.js";
@@ -750,7 +750,7 @@ function registerCreateTask(server) {
750
750
  let projectConflictOpts = {};
751
751
  try {
752
752
  const { getClient } = await import("./lib/database.js");
753
- const { sessionScopeFilter } = await import("./task-scope-EK4VS4NA.js");
753
+ const { sessionScopeFilter } = await import("./task-scope-74ZIFQRH.js");
754
754
  const client = getClient();
755
755
  const scope = sessionScopeFilter(task.sessionScope || callerRoot || exeSession || null);
756
756
  const existing = await client.execute({
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  vectorToSqlLiteral
3
- } from "./chunk-76JXWKJ6.js";
3
+ } from "./chunk-WHQYVFE2.js";
4
4
  import {
5
5
  blobToVector
6
6
  } from "./chunk-OTVEIJUQ.js";
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  executeAction,
3
3
  substituteTemplate
4
- } from "./chunk-D6MWP56U.js";
4
+ } from "./chunk-GVU3BW6N.js";
5
5
 
6
6
  // src/automation/workflow-engine.ts
7
7
  import { randomUUID } from "crypto";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  processCRMEvent
3
- } from "./chunk-D6MWP56U.js";
3
+ } from "./chunk-GVU3BW6N.js";
4
4
 
5
5
  // src/gateway/adapters/crm-webhook.ts
6
6
  function parseTwentyWebhook(payload) {
@@ -8,7 +8,7 @@ import {
8
8
  import {
9
9
  buildSystemStateExclusionFilter,
10
10
  vectorToBlob
11
- } from "./chunk-76JXWKJ6.js";
11
+ } from "./chunk-WHQYVFE2.js";
12
12
  import {
13
13
  extractKeywords,
14
14
  keywordsToString
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-2TL5RKMC.js";
4
4
  import {
5
5
  isGhostBehaviorRow
6
- } from "./chunk-LBA6V4L2.js";
6
+ } from "./chunk-FWJFKWYA.js";
7
7
  import {
8
8
  getClient,
9
9
  getIdentity,