@askexenow/exe-os 0.9.238 → 0.9.239

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 (231) hide show
  1. package/deploy/stack-manifests/v0.9.json +53 -1
  2. package/dist/{active-agent-6WX7GZBH.js → active-agent-55C5Y3XL.js} +3 -3
  3. package/dist/{active-agent-X3GALNAR.js → active-agent-7MIVNARP.js} +3 -3
  4. package/dist/{agentic-ontology-NBU3FHEX.js → agentic-ontology-NCAQIQQI.js} +1 -1
  5. package/dist/{backfill-metadata-NG2L5GUP.js → backfill-metadata-3JP7EZ2U.js} +4 -4
  6. package/dist/{behaviors-DH7XFONJ.js → behaviors-6BGALYGW.js} +3 -3
  7. package/dist/bin/agentic-ontology-backfill.js +5 -5
  8. package/dist/bin/agentic-reflection-backfill.js +6 -6
  9. package/dist/bin/agentic-semantic-label.js +5 -5
  10. package/dist/bin/backfill-conversations.js +4 -4
  11. package/dist/bin/backfill-responses.js +4 -4
  12. package/dist/bin/backfill-vectors.js +5 -5
  13. package/dist/bin/bulk-sync-postgres.js +6 -6
  14. package/dist/bin/cleanup-stale-review-tasks.js +9 -9
  15. package/dist/bin/cli.js +14 -14
  16. package/dist/bin/exe-agent-config.js +2 -2
  17. package/dist/bin/exe-agent.js +4 -4
  18. package/dist/bin/exe-assign.js +5 -5
  19. package/dist/bin/exe-boot.js +16 -16
  20. package/dist/bin/exe-call.js +4 -4
  21. package/dist/bin/exe-cloud.js +4 -4
  22. package/dist/bin/exe-dispatch.js +9 -9
  23. package/dist/bin/exe-doctor.js +1 -1
  24. package/dist/bin/exe-export-behaviors.js +7 -7
  25. package/dist/bin/exe-forget.js +6 -6
  26. package/dist/bin/exe-gateway.js +7 -7
  27. package/dist/bin/exe-heartbeat.js +9 -9
  28. package/dist/bin/exe-kill.js +12 -12
  29. package/dist/bin/exe-launch-agent.js +16 -16
  30. package/dist/bin/exe-new-employee.js +6 -6
  31. package/dist/bin/exe-pending-messages.js +10 -10
  32. package/dist/bin/exe-pending-notifications.js +9 -9
  33. package/dist/bin/exe-pending-reviews.js +9 -9
  34. package/dist/bin/exe-rename.js +4 -4
  35. package/dist/bin/exe-review.js +11 -11
  36. package/dist/bin/exe-search.js +5 -5
  37. package/dist/bin/exe-session-cleanup.js +14 -14
  38. package/dist/bin/exe-settings.js +4 -4
  39. package/dist/bin/exe-start-codex.js +11 -11
  40. package/dist/bin/exe-start-opencode.js +8 -8
  41. package/dist/bin/exe-status.js +10 -10
  42. package/dist/bin/exe-team.js +3 -3
  43. package/dist/bin/git-sweep.js +9 -9
  44. package/dist/bin/graph-backfill.js +4 -4
  45. package/dist/bin/graph-export.js +5 -5
  46. package/dist/bin/import-history.js +7 -7
  47. package/dist/bin/install.js +6 -6
  48. package/dist/bin/intercom-check.js +4 -4
  49. package/dist/bin/mcp-sessions.js +2 -2
  50. package/dist/bin/orchestration-metrics.js +4 -4
  51. package/dist/bin/postgres-agentic-reflection-backfill.js +2 -2
  52. package/dist/bin/postgres-agentic-semantic-backfill.js +1 -1
  53. package/dist/bin/scan-tasks.js +9 -9
  54. package/dist/bin/setup.js +1 -1
  55. package/dist/bin/shard-migrate.js +4 -4
  56. package/dist/{capacity-monitor-KAKNWAA4.js → capacity-monitor-IFCZKRPG.js} +10 -10
  57. package/dist/{catchup-brief-ZB2OR45O.js → catchup-brief-PIDRWXOW.js} +11 -11
  58. package/dist/{chunk-2LYJTK47.js → chunk-2H55BIV2.js} +1 -1
  59. package/dist/{chunk-ES5JM6V2.js → chunk-2KZSKURT.js} +2 -2
  60. package/dist/{chunk-5KDROSDV.js → chunk-452XB7OZ.js} +1 -1
  61. package/dist/{chunk-WQCSGDRG.js → chunk-4SC65UBG.js} +1 -1
  62. package/dist/{chunk-T3ASODFG.js → chunk-5GG7MTRJ.js} +3 -3
  63. package/dist/{chunk-N4IJWOIS.js → chunk-5LMH4YHG.js} +2 -2
  64. package/dist/{chunk-2O5GJFYQ.js → chunk-5NJ4A4ZA.js} +1 -1
  65. package/dist/{chunk-VK5IBXXT.js → chunk-5R75ODPS.js} +5 -5
  66. package/dist/{chunk-YENDNLAD.js → chunk-5WLMF6PL.js} +1 -1
  67. package/dist/{chunk-RM6PJ34R.js → chunk-5WUTKDH6.js} +1 -1
  68. package/dist/{chunk-LUCHTCME.js → chunk-6LBCUA2A.js} +1 -1
  69. package/dist/{chunk-EPLBVWIM.js → chunk-7DIDOQCX.js} +75 -75
  70. package/dist/{chunk-NCJNGQUZ.js → chunk-7F37NMKB.js} +1 -1
  71. package/dist/{chunk-COMWI7SO.js → chunk-AL4DRC5H.js} +1 -1
  72. package/dist/{chunk-CJEVAKKC.js → chunk-AURM7FOT.js} +1 -1
  73. package/dist/{chunk-NBV23TC4.js → chunk-AVM7XZE4.js} +7 -9
  74. package/dist/{chunk-NJS4GRIR.js → chunk-BZNI4OK5.js} +1 -1
  75. package/dist/{chunk-QQFZID36.js → chunk-C2YS2AA6.js} +1 -1
  76. package/dist/{chunk-7PVUUC3O.js → chunk-C7SFJO5F.js} +5 -5
  77. package/dist/{chunk-BTPXNV5W.js → chunk-DAZIV4QZ.js} +1 -1
  78. package/dist/{chunk-NS7FW3NG.js → chunk-DDPAQ4LT.js} +2 -2
  79. package/dist/{chunk-HFYCKIVJ.js → chunk-DKI5BTBC.js} +2 -2
  80. package/dist/{chunk-KRLR26L2.js → chunk-DUVO2PUJ.js} +2 -2
  81. package/dist/{chunk-AYBC6AYP.js → chunk-EJ7LOTV2.js} +8 -8
  82. package/dist/{chunk-FQJWTRCB.js → chunk-ELRRL2NC.js} +1 -1
  83. package/dist/{chunk-C7BVANSU.js → chunk-FB5VRO5S.js} +4 -4
  84. package/dist/{chunk-YDG343II.js → chunk-FBWUJEXS.js} +2 -2
  85. package/dist/{chunk-3JVO6X4W.js → chunk-FE45RXGC.js} +1 -1
  86. package/dist/{chunk-NQU2RTCP.js → chunk-FGJUGDNM.js} +8 -8
  87. package/dist/{chunk-JLHSEBNQ.js → chunk-FKWZVO2T.js} +3 -3
  88. package/dist/{chunk-PQBANSH6.js → chunk-GN5VHPPR.js} +1 -1
  89. package/dist/{chunk-HUVSY6NF.js → chunk-GPF6X6HE.js} +2 -2
  90. package/dist/{chunk-7LIXU3TB.js → chunk-HLZSC5WK.js} +8 -8
  91. package/dist/{chunk-ENWFSMOS.js → chunk-HNLPLLE6.js} +10 -10
  92. package/dist/{chunk-WQXJIMBO.js → chunk-HX5G4AS4.js} +2 -2
  93. package/dist/{chunk-LXP6VRFH.js → chunk-IQSCZDBQ.js} +1 -1
  94. package/dist/{chunk-U3XMIHPD.js → chunk-IQXPMK46.js} +9 -9
  95. package/dist/{chunk-Q4MZN62R.js → chunk-JDOE33C2.js} +3 -3
  96. package/dist/{chunk-4HMKJDPB.js → chunk-K525WLL7.js} +3 -3
  97. package/dist/{chunk-ZZBOV6WA.js → chunk-KVSQOG3W.js} +4 -4
  98. package/dist/{chunk-2VXHPSIJ.js → chunk-MAN5LZQ4.js} +1 -1
  99. package/dist/{chunk-YUS7IS3I.js → chunk-NJWK6J4N.js} +4 -4
  100. package/dist/{chunk-3NYRIK73.js → chunk-O6DAF2TY.js} +2 -2
  101. package/dist/{chunk-JBMZS5WO.js → chunk-OMPCFLWA.js} +1 -1
  102. package/dist/{chunk-JBUHOWIV.js → chunk-PATCHPNY.js} +1 -1
  103. package/dist/{chunk-MPG2FFQS.js → chunk-PLQAFB3Z.js} +1 -1
  104. package/dist/{chunk-XCGJPZ6H.js → chunk-PPYWQV2M.js} +2 -2
  105. package/dist/{chunk-IQNT6KAE.js → chunk-RA2RO27E.js} +1 -1
  106. package/dist/{chunk-RXGTA6YQ.js → chunk-RWFGXC35.js} +3 -3
  107. package/dist/{chunk-YUQ7GGAL.js → chunk-TOZ5NN5V.js} +1 -1
  108. package/dist/{chunk-IDCJNL7C.js → chunk-TPQVLYSV.js} +1 -1
  109. package/dist/{chunk-JHFXCYZP.js → chunk-UAFUGPKO.js} +1 -1
  110. package/dist/{chunk-UISUGXJU.js → chunk-VFQKKMKE.js} +1 -1
  111. package/dist/{chunk-GXU3XRI5.js → chunk-W7G3GY4I.js} +3 -3
  112. package/dist/{chunk-G67R75DG.js → chunk-YFE6W75D.js} +1 -1
  113. package/dist/{chunk-VEU6LVBR.js → chunk-YPYDLW75.js} +1 -1
  114. package/dist/{co-activation-OCQPRJ2I.js → co-activation-VB4CJQZB.js} +2 -2
  115. package/dist/{co-occurrence-S62AC2BR.js → co-occurrence-XZQJJIBM.js} +2 -2
  116. package/dist/{crdt-sync-VS254UOH.js → crdt-sync-KXETGV45.js} +1 -1
  117. package/dist/{crm-webhook-CST5WBNY.js → crm-webhook-JMOAHTJ6.js} +2 -2
  118. package/dist/{cto-delegation-gate-2PY563OA.js → cto-delegation-gate-IJ3KQIKF.js} +8 -8
  119. package/dist/{daemon-orchestration-P34RDHTM.js → daemon-orchestration-ZCY4GEI3.js} +11 -11
  120. package/dist/{db-backup-JEHRFLYW.js → db-backup-HLX5OLIV.js} +1 -1
  121. package/dist/{dreaming-UF4LPNLV.js → dreaming-2CJML3TU.js} +9 -9
  122. package/dist/{exe-drift-DOWP33NY.js → exe-drift-P5OIRNSH.js} +3 -3
  123. package/dist/{exe-export-QCB5UOXQ.js → exe-export-QQL2H322.js} +5 -5
  124. package/dist/{exe-import-JHFIXRB5.js → exe-import-V4RJCUEP.js} +5 -5
  125. package/dist/{exe-key-ZVKBTZVI.js → exe-key-MENJGDD7.js} +2 -2
  126. package/dist/{exe-snapshot-LBM3LL3I.js → exe-snapshot-YRARQE7F.js} +12 -12
  127. package/dist/{fast-db-init-PTUUO2IO.js → fast-db-init-HIJWWKAO.js} +1 -1
  128. package/dist/gateway/index.js +8 -8
  129. package/dist/{git-staleness-5SFBUMPC.js → git-staleness-IHTKCUMN.js} +2 -2
  130. package/dist/{git-task-sweep-XMK5IQXK.js → git-task-sweep-5ZPNQS7Y.js} +9 -9
  131. package/dist/{global-procedures-W4U257TI.js → global-procedures-XHDIZRJU.js} +3 -3
  132. package/dist/{graph-auto-extract-5ZD4AUSB.js → graph-auto-extract-5TPT67GP.js} +2 -2
  133. package/dist/hooks/bug-report-worker.js +10 -10
  134. package/dist/hooks/codex-stop-task-finalizer.js +10 -10
  135. package/dist/hooks/commit-complete.js +11 -11
  136. package/dist/hooks/error-recall.js +6 -6
  137. package/dist/hooks/exe-heartbeat-hook.js +3 -3
  138. package/dist/hooks/ingest.js +6 -6
  139. package/dist/hooks/instructions-loaded.js +4 -4
  140. package/dist/hooks/manifest.json +19 -19
  141. package/dist/hooks/notification.js +4 -4
  142. package/dist/hooks/post-compact.js +10 -10
  143. package/dist/hooks/post-tool-combined.js +5 -5
  144. package/dist/hooks/pre-compact.js +11 -11
  145. package/dist/hooks/pre-tool-use.js +14 -14
  146. package/dist/hooks/prompt-submit.js +20 -20
  147. package/dist/hooks/session-end.js +15 -15
  148. package/dist/hooks/session-start.js +10 -10
  149. package/dist/hooks/stop.js +14 -14
  150. package/dist/hooks/subagent-stop.js +10 -10
  151. package/dist/hooks/summary-worker.js +14 -14
  152. package/dist/index.js +17 -17
  153. package/dist/{installer-2HULECDJ.js → installer-AMZM4MLS.js} +5 -5
  154. package/dist/{installer-N5XZAFE4.js → installer-HW74W3IT.js} +5 -5
  155. package/dist/{installer-BCOJG2SE.js → installer-KT5FW4CN.js} +5 -5
  156. package/dist/lib/cloud-sync.js +4 -4
  157. package/dist/lib/consolidation.js +5 -5
  158. package/dist/lib/database.js +2 -2
  159. package/dist/lib/db-daemon-client.js +2 -2
  160. package/dist/lib/db.js +2 -2
  161. package/dist/lib/employee-templates.js +4 -4
  162. package/dist/lib/employees.js +2 -2
  163. package/dist/lib/exe-daemon.js +34 -31
  164. package/dist/lib/hybrid-search.js +5 -5
  165. package/dist/lib/identity.js +2 -2
  166. package/dist/lib/messaging.js +9 -9
  167. package/dist/lib/reminders.js +3 -3
  168. package/dist/lib/schedules.js +5 -5
  169. package/dist/lib/session-registry.js +4 -4
  170. package/dist/lib/skill-learning.js +4 -4
  171. package/dist/lib/store.js +4 -4
  172. package/dist/lib/task-router.js +3 -3
  173. package/dist/lib/tasks.js +9 -9
  174. package/dist/lib/tmux-routing.js +8 -8
  175. package/dist/lib/token-spend.js +3 -3
  176. package/dist/mcp/register-tools.js +50 -50
  177. package/dist/mcp/server.js +51 -51
  178. package/dist/mcp/tools/complete-reminder.js +4 -4
  179. package/dist/mcp/tools/create-reminder.js +4 -4
  180. package/dist/mcp/tools/create-task.js +11 -11
  181. package/dist/mcp/tools/deactivate-behavior.js +5 -5
  182. package/dist/mcp/tools/list-reminders.js +4 -4
  183. package/dist/mcp/tools/list-tasks.js +11 -11
  184. package/dist/mcp/tools/send-message.js +11 -11
  185. package/dist/mcp/tools/update-task.js +10 -10
  186. package/dist/{mcp-http-config-RTXPLRH5.js → mcp-http-config-BXX3RZPR.js} +3 -3
  187. package/dist/{memory-cards-3FBGRV6J.js → memory-cards-KRTP5GFM.js} +2 -2
  188. package/dist/{memory-graph-extractor-5D3FU5N5.js → memory-graph-extractor-G532PUHC.js} +3 -3
  189. package/dist/{memory-poisoning-defense-P6GL2RMF.js → memory-poisoning-defense-HJM3FQA3.js} +2 -2
  190. package/dist/{memory-reflection-5CVV2M3G.js → memory-reflection-RANRFUQL.js} +2 -2
  191. package/dist/{notifications-NV54INLG.js → notifications-4P2PVEOT.js} +8 -8
  192. package/dist/{orchestration-events-TEYCD6GO.js → orchestration-events-IYTASMSN.js} +3 -3
  193. package/dist/{orchestrator-JCNHGP6M.js → orchestrator-VKVHZ4MV.js} +10 -10
  194. package/dist/{pipeline-router-IX635D3U.js → pipeline-router-E4L5BDXN.js} +3 -3
  195. package/dist/{plan-limits-H65VL6LC.js → plan-limits-5O5QG55H.js} +3 -3
  196. package/dist/{projection-worker-JMGAPKH6.js → projection-worker-54KRNQSO.js} +1 -1
  197. package/dist/{reranker-T4A2M7K2.js → reranker-4NTUFNYT.js} +1 -1
  198. package/dist/{review-polling-SAQ24T6L.js → review-polling-BFRJDLUA.js} +9 -9
  199. package/dist/runtime/index.js +11 -11
  200. package/dist/{session-events-JNUK47KH.js → session-events-KCZCWGE4.js} +9 -9
  201. package/dist/{session-kill-telemetry-GLCDARKV.js → session-kill-telemetry-TMNIDYWY.js} +3 -3
  202. package/dist/{session-scope-UR7OFFOB.js → session-scope-DRZBQ32Y.js} +8 -8
  203. package/dist/{setup-wizard-GQYG36KS.js → setup-wizard-TQKGDAHO.js} +1 -1
  204. package/dist/{skill-refinement-WWWFGTUS.js → skill-refinement-Z5SWD3AM.js} +2 -2
  205. package/dist/{steward-gate-TAD7GEVL.js → steward-gate-7DWYS5AT.js} +3 -3
  206. package/dist/{task-enforcement-2LI5KWFE.js → task-enforcement-2VL5J6JJ.js} +8 -8
  207. package/dist/{task-scope-AYK6BVC7.js → task-scope-YHALISIB.js} +8 -8
  208. package/dist/{tasks-crud-OD75EH2G.js → tasks-crud-JXZEBZFR.js} +8 -8
  209. package/dist/{tasks-review-CC2EGWBL.js → tasks-review-PGPYJQF5.js} +8 -8
  210. package/dist/{telemetry-upload-H6BU6QF7.js → telemetry-upload-H7OJNBIF.js} +5 -5
  211. package/dist/{token-budget-6TK55BBU.js → token-budget-JJ7JQIA2.js} +2 -2
  212. package/dist/{tool-telemetry-E7NWXX5R.js → tool-telemetry-W4LFCHFT.js} +1 -1
  213. package/dist/tui/App.js +16 -16
  214. package/dist/{tui-data-ROOXTJQ5.js → tui-data-72U6N2DC.js} +8 -8
  215. package/dist/{worker-gate-MOQZ2D34.js → worker-gate-SCSN6IHI.js} +1 -1
  216. package/dist/{workflow-engine-4MQJI5F2.js → workflow-engine-OICYBE4F.js} +2 -2
  217. package/dist/{worktree-K2GDO4QX.js → worktree-JXN4RCWC.js} +4 -4
  218. package/package.json +1 -1
  219. package/release-notes.json +8 -8
  220. /package/dist/{chunk-IAPFFVYR.js → chunk-4HROS3GJ.js} +0 -0
  221. /package/dist/{chunk-A4TPCHMA.js → chunk-AU5426YP.js} +0 -0
  222. /package/dist/{chunk-M5TK7JET.js → chunk-DHVC4RN7.js} +0 -0
  223. /package/dist/{chunk-EAIZLNLP.js → chunk-GWYADLIW.js} +0 -0
  224. /package/dist/{chunk-P2JDWX67.js → chunk-H42LEGLB.js} +0 -0
  225. /package/dist/{chunk-YGJTKLGM.js → chunk-N2XUH2HQ.js} +0 -0
  226. /package/dist/{chunk-HFF6YG7R.js → chunk-NOLIN2YI.js} +0 -0
  227. /package/dist/{chunk-NNEYTOUS.js → chunk-WSHMBME6.js} +0 -0
  228. /package/dist/{chunk-BJOU5MBY.js → chunk-Y2L7RMGH.js} +0 -0
  229. /package/dist/{chunk-RX2KGETT.js → chunk-YFDDTHNM.js} +0 -0
  230. /package/dist/{core-memory-67AVQ3Z7.js → core-memory-VOBGGB2Q.js} +0 -0
  231. /package/dist/{wiki-acl-AR7RIMRY.js → wiki-acl-M3OR547L.js} +0 -0
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  StewardGate
3
- } from "./chunk-COMWI7SO.js";
3
+ } from "./chunk-AL4DRC5H.js";
4
4
  import {
5
5
  listRecentSessionEvents
6
- } from "./chunk-LUCHTCME.js";
6
+ } from "./chunk-6LBCUA2A.js";
7
7
  import {
8
8
  isRerankerAvailable,
9
9
  rerankWithScores
10
- } from "./chunk-EAIZLNLP.js";
10
+ } from "./chunk-GWYADLIW.js";
11
11
  import {
12
12
  getEntityByName,
13
13
  getEntityNeighbors,
@@ -25,13 +25,13 @@ import {
25
25
  } from "./chunk-E6ORBQHP.js";
26
26
  import {
27
27
  AUTO_WAKE_MAX_RETRIES
28
- } from "./chunk-7LIXU3TB.js";
28
+ } from "./chunk-HLZSC5WK.js";
29
29
  import {
30
30
  getCachedLicenseGate
31
31
  } from "./chunk-JZMVLAZ2.js";
32
32
  import {
33
33
  getToolUsageStats
34
- } from "./chunk-YGJTKLGM.js";
34
+ } from "./chunk-N2XUH2HQ.js";
35
35
  import {
36
36
  analyzeBlastRadius,
37
37
  buildCodeContextIndex,
@@ -43,69 +43,69 @@ import {
43
43
  } from "./chunk-UZIJDYDA.js";
44
44
  import {
45
45
  DreamingEngine
46
- } from "./chunk-NBV23TC4.js";
46
+ } from "./chunk-AVM7XZE4.js";
47
47
  import {
48
48
  exportOrchestration,
49
49
  importOrchestration,
50
50
  validatePackage
51
- } from "./chunk-CJEVAKKC.js";
51
+ } from "./chunk-AURM7FOT.js";
52
52
  import {
53
53
  runDriftProbes
54
- } from "./chunk-JBUHOWIV.js";
54
+ } from "./chunk-PATCHPNY.js";
55
55
  import {
56
56
  loadOrchestrationPhase,
57
57
  setOrchestrationPhase
58
58
  } from "./chunk-MBHZDXGN.js";
59
59
  import {
60
60
  createOrRefreshResumeTask
61
- } from "./chunk-7PVUUC3O.js";
61
+ } from "./chunk-C7SFJO5F.js";
62
62
  import {
63
63
  registerCreateReminder
64
- } from "./chunk-BTPXNV5W.js";
64
+ } from "./chunk-DAZIV4QZ.js";
65
65
  import {
66
66
  registerListReminders
67
- } from "./chunk-IDCJNL7C.js";
67
+ } from "./chunk-TPQVLYSV.js";
68
68
  import {
69
69
  registerCompleteReminder
70
- } from "./chunk-JBMZS5WO.js";
70
+ } from "./chunk-OMPCFLWA.js";
71
71
  import {
72
72
  registerDeactivateBehavior
73
- } from "./chunk-ZZBOV6WA.js";
73
+ } from "./chunk-KVSQOG3W.js";
74
74
  import {
75
75
  completeReminder,
76
76
  createReminder,
77
77
  listReminders
78
- } from "./chunk-YENDNLAD.js";
78
+ } from "./chunk-5WLMF6PL.js";
79
79
  import {
80
80
  registerImportConversations
81
- } from "./chunk-4HMKJDPB.js";
81
+ } from "./chunk-K525WLL7.js";
82
82
  import {
83
83
  registerSendMessage
84
- } from "./chunk-NS7FW3NG.js";
84
+ } from "./chunk-DDPAQ4LT.js";
85
85
  import {
86
86
  registerCreateTask
87
- } from "./chunk-AYBC6AYP.js";
87
+ } from "./chunk-EJ7LOTV2.js";
88
88
  import {
89
89
  registerListTasks
90
- } from "./chunk-YDG343II.js";
90
+ } from "./chunk-FBWUJEXS.js";
91
91
  import {
92
92
  registerUpdateTask
93
- } from "./chunk-Q4MZN62R.js";
93
+ } from "./chunk-JDOE33C2.js";
94
94
  import {
95
95
  TOKENS_PER_IDLE_MINUTE,
96
96
  countKillsSince,
97
97
  sumTokensSavedSince
98
- } from "./chunk-5KDROSDV.js";
98
+ } from "./chunk-452XB7OZ.js";
99
99
  import {
100
100
  createSchedule,
101
101
  parseHumanCron
102
- } from "./chunk-XCGJPZ6H.js";
102
+ } from "./chunk-PPYWQV2M.js";
103
103
  import {
104
104
  status
105
- } from "./chunk-GXU3XRI5.js";
105
+ } from "./chunk-W7G3GY4I.js";
106
106
  import {
107
107
  getAgentSpend
108
- } from "./chunk-NCJNGQUZ.js";
108
+ } from "./chunk-7F37NMKB.js";
109
109
  import {
110
110
  exportGraphHTML,
111
111
  generateGraphReport
@@ -121,7 +121,7 @@ import {
121
121
  fixShards,
122
122
  formatReport,
123
123
  runAudit
124
- } from "./chunk-RXGTA6YQ.js";
124
+ } from "./chunk-RWFGXC35.js";
125
125
  import {
126
126
  runHealthCheck
127
127
  } from "./chunk-UWQ3XCDG.js";
@@ -132,12 +132,12 @@ import {
132
132
  } from "./chunk-VI2FJY2M.js";
133
133
  import {
134
134
  renderClientCOOTemplate
135
- } from "./chunk-YUQ7GGAL.js";
135
+ } from "./chunk-TOZ5NN5V.js";
136
136
  import {
137
137
  deactivateGlobalProcedure,
138
138
  loadGlobalProcedures,
139
139
  storeGlobalProcedure
140
- } from "./chunk-PQBANSH6.js";
140
+ } from "./chunk-GN5VHPPR.js";
141
141
  import {
142
142
  PLATFORM_PROCEDURES
143
143
  } from "./chunk-K77WC6HA.js";
@@ -146,27 +146,27 @@ import {
146
146
  cloudSync,
147
147
  getCloudReuploadRequired,
148
148
  markCloudReuploadRequired
149
- } from "./chunk-C7BVANSU.js";
149
+ } from "./chunk-FB5VRO5S.js";
150
150
  import {
151
151
  createARecord
152
152
  } from "./chunk-X2Z5GT3V.js";
153
153
  import {
154
154
  findSimilarTrajectories,
155
155
  hashSignature
156
- } from "./chunk-ES5JM6V2.js";
156
+ } from "./chunk-2KZSKURT.js";
157
157
  import {
158
158
  deactivateBehavior,
159
159
  listBehaviorsByDomain,
160
160
  listSharedSkills,
161
161
  reactivateBehavior,
162
162
  storeBehavior
163
- } from "./chunk-JHFXCYZP.js";
163
+ } from "./chunk-UAFUGPKO.js";
164
164
  import {
165
165
  countUnconsolidated,
166
166
  groupMemories,
167
167
  runConsolidation,
168
168
  selectUnconsolidated
169
- } from "./chunk-WQXJIMBO.js";
169
+ } from "./chunk-HX5G4AS4.js";
170
170
  import {
171
171
  embed
172
172
  } from "./chunk-EPWDTS2Q.js";
@@ -177,17 +177,17 @@ import {
177
177
  } from "./chunk-UODVZGBQ.js";
178
178
  import {
179
179
  updateTask
180
- } from "./chunk-VK5IBXXT.js";
180
+ } from "./chunk-5R75ODPS.js";
181
181
  import {
182
182
  fastDbInit
183
- } from "./chunk-P2JDWX67.js";
183
+ } from "./chunk-H42LEGLB.js";
184
184
  import {
185
185
  MAX_CONCURRENT_WORKERS
186
- } from "./chunk-UISUGXJU.js";
186
+ } from "./chunk-VFQKKMKE.js";
187
187
  import {
188
188
  hybridSearch,
189
189
  recentRecords
190
- } from "./chunk-U3XMIHPD.js";
190
+ } from "./chunk-IQXPMK46.js";
191
191
  import {
192
192
  attachDocumentMetadata,
193
193
  flushBatch,
@@ -195,10 +195,10 @@ import {
195
195
  reserveVersions,
196
196
  vectorToBlob,
197
197
  writeMemory
198
- } from "./chunk-NQU2RTCP.js";
198
+ } from "./chunk-FGJUGDNM.js";
199
199
  import {
200
200
  getActiveAgent
201
- } from "./chunk-IQNT6KAE.js";
201
+ } from "./chunk-RA2RO27E.js";
202
202
  import {
203
203
  getMySession,
204
204
  resolveExeSession,
@@ -206,13 +206,13 @@ import {
206
206
  sessionScopeFilter,
207
207
  updateTaskStatus,
208
208
  writeCheckpoint
209
- } from "./chunk-ENWFSMOS.js";
209
+ } from "./chunk-HNLPLLE6.js";
210
210
  import {
211
211
  listSessions
212
- } from "./chunk-NJS4GRIR.js";
212
+ } from "./chunk-BZNI4OK5.js";
213
213
  import {
214
214
  recordOrchestrationEventBestEffort
215
- } from "./chunk-2O5GJFYQ.js";
215
+ } from "./chunk-5NJ4A4ZA.js";
216
216
  import {
217
217
  DEFAULT_MODELS,
218
218
  KNOWN_RUNTIMES,
@@ -229,7 +229,7 @@ import {
229
229
  assertEmployeeLimit,
230
230
  assertFeature,
231
231
  assertMemoryLimit
232
- } from "./chunk-LXP6VRFH.js";
232
+ } from "./chunk-IQSCZDBQ.js";
233
233
  import {
234
234
  getProjectName
235
235
  } from "./chunk-OPU3NYOO.js";
@@ -242,7 +242,7 @@ import {
242
242
  isScheduledTrigger,
243
243
  loadTriggers,
244
244
  sanitizeParam
245
- } from "./chunk-A4TPCHMA.js";
245
+ } from "./chunk-AU5426YP.js";
246
246
  import {
247
247
  pushConversationToCRM
248
248
  } from "./chunk-ONKIWA3R.js";
@@ -262,7 +262,7 @@ import {
262
262
  loadEmployeesSync,
263
263
  saveEmployees,
264
264
  updateIdentity
265
- } from "./chunk-2LYJTK47.js";
265
+ } from "./chunk-2H55BIV2.js";
266
266
  import {
267
267
  getMasterKey
268
268
  } from "./chunk-KDJRFJDL.js";
@@ -1453,7 +1453,7 @@ async function handleSupersede(input) {
1453
1453
  }
1454
1454
  try {
1455
1455
  const { getClient: getClient2 } = await import("./lib/database.js");
1456
- const { getActiveAgent: getActiveAgent2 } = await import("./active-agent-6WX7GZBH.js");
1456
+ const { getActiveAgent: getActiveAgent2 } = await import("./active-agent-55C5Y3XL.js");
1457
1457
  const { writeMemory: writeMemory2, flushBatch: flushBatch2 } = await import("./lib/store.js");
1458
1458
  const { randomUUID: randomUUID2 } = await import("crypto");
1459
1459
  const client = getClient2();
@@ -1563,7 +1563,7 @@ function registerMemory(server) {
1563
1563
  return handleSupersede(input);
1564
1564
  }
1565
1565
  if (action === "update_working_memory" || action === "get_working_memory") {
1566
- const { getActiveAgent: getActiveAgent2 } = await import("./active-agent-6WX7GZBH.js");
1566
+ const { getActiveAgent: getActiveAgent2 } = await import("./active-agent-55C5Y3XL.js");
1567
1567
  const { agentId } = getActiveAgent2();
1568
1568
  const { readWorkingMemory, writeWorkingMemory, WORKING_MEMORY_MAX_BYTES } = await import("./working-memory-PKUUMWZK.js");
1569
1569
  if (action === "get_working_memory") {
@@ -1580,9 +1580,9 @@ function registerMemory(server) {
1580
1580
  }
1581
1581
  }
1582
1582
  if (action === "core_get" || action === "core_set" || action === "core_delete") {
1583
- const { getActiveAgent: getActiveAgent2 } = await import("./active-agent-6WX7GZBH.js");
1583
+ const { getActiveAgent: getActiveAgent2 } = await import("./active-agent-55C5Y3XL.js");
1584
1584
  const { agentId } = getActiveAgent2();
1585
- const { getCoreMemory, setCoreMemory, deleteCoreMemory, formatCoreMemoryBlock } = await import("./core-memory-67AVQ3Z7.js");
1585
+ const { getCoreMemory, setCoreMemory, deleteCoreMemory, formatCoreMemoryBlock } = await import("./core-memory-VOBGGB2Q.js");
1586
1586
  if (action === "core_get") {
1587
1587
  const entries = await getCoreMemory(agentId);
1588
1588
  const block = formatCoreMemoryBlock(entries);
@@ -1955,7 +1955,7 @@ function registerCloseTask(server) {
1955
1955
  async ({ task_id, result: result3, status: status2 }) => {
1956
1956
  const agent = getActiveAgent();
1957
1957
  try {
1958
- const { StewardGate: StewardGate2 } = await import("./steward-gate-TAD7GEVL.js");
1958
+ const { StewardGate: StewardGate2 } = await import("./steward-gate-7DWYS5AT.js");
1959
1959
  const steward = new StewardGate2();
1960
1960
  const gateDecision = await steward.checkAuthority(agent.agentId || "unknown", "close_task", task_id);
1961
1961
  if (!gateDecision.allowed) {
@@ -2316,7 +2316,7 @@ function registerResumeEmployee(server) {
2316
2316
  };
2317
2317
  }
2318
2318
  try {
2319
- const { isTmuxSessionAlive } = await import("./tasks-crud-OD75EH2G.js");
2319
+ const { isTmuxSessionAlive } = await import("./tasks-crud-JXZEBZFR.js");
2320
2320
  const now = (/* @__PURE__ */ new Date()).toISOString();
2321
2321
  for (const row of openTasks.rows) {
2322
2322
  const status2 = String(row.status);
@@ -2344,7 +2344,7 @@ function registerResumeEmployee(server) {
2344
2344
  }
2345
2345
  let checkpointInfo = "";
2346
2346
  try {
2347
- const { readLatestCheckpoint } = await import("./tasks-crud-OD75EH2G.js");
2347
+ const { readLatestCheckpoint } = await import("./tasks-crud-JXZEBZFR.js");
2348
2348
  const checkpoint = await readLatestCheckpoint(agent_id);
2349
2349
  if (checkpoint) {
2350
2350
  const filesTouched = checkpoint.files_touched?.length > 0 ? checkpoint.files_touched.join(", ") : "none";
@@ -2704,7 +2704,7 @@ function registerTask(server) {
2704
2704
  const missing2 = missingRequiredFields2(args, REQUIRED_FIELDS2.create_group);
2705
2705
  if (missing2.length > 0) return errorResult2(`task action "create_group" missing required field(s): ${missing2.join(", ")}`);
2706
2706
  try {
2707
- const { createTaskGroup } = await import("./tasks-crud-OD75EH2G.js");
2707
+ const { createTaskGroup } = await import("./tasks-crud-JXZEBZFR.js");
2708
2708
  const group = await createTaskGroup({
2709
2709
  title: args.title,
2710
2710
  coordinator: args.coordinator,
@@ -2723,7 +2723,7 @@ function registerTask(server) {
2723
2723
  const missing2 = missingRequiredFields2(args, REQUIRED_FIELDS2.group_status);
2724
2724
  if (missing2.length > 0) return errorResult2(`task action "group_status" missing required field(s): ${missing2.join(", ")}`);
2725
2725
  try {
2726
- const { getGroupStatus } = await import("./tasks-crud-OD75EH2G.js");
2726
+ const { getGroupStatus } = await import("./tasks-crud-JXZEBZFR.js");
2727
2727
  const status2 = await getGroupStatus(args.group_id);
2728
2728
  return { content: [{ type: "text", text: JSON.stringify(status2, null, 2) }] };
2729
2729
  } catch (err) {
@@ -2735,7 +2735,7 @@ function registerTask(server) {
2735
2735
  const missing2 = missingRequiredFields2(args, REQUIRED_FIELDS2.group_results);
2736
2736
  if (missing2.length > 0) return errorResult2(`task action "group_results" missing required field(s): ${missing2.join(", ")}`);
2737
2737
  try {
2738
- const { getGroupResults } = await import("./tasks-crud-OD75EH2G.js");
2738
+ const { getGroupResults } = await import("./tasks-crud-JXZEBZFR.js");
2739
2739
  const results = await getGroupResults(args.group_id);
2740
2740
  return { content: [{ type: "text", text: JSON.stringify(results, null, 2) }] };
2741
2741
  } catch (err) {
@@ -2963,7 +2963,7 @@ function registerMessage(server) {
2963
2963
  if (msgType && msgPayload) {
2964
2964
  try {
2965
2965
  const { buildTypedMessage, serializeMessage } = await import("./typed-messages-TKDGVPHS.js");
2966
- const { getActiveAgent: getActiveAgent2 } = await import("./active-agent-6WX7GZBH.js");
2966
+ const { getActiveAgent: getActiveAgent2 } = await import("./active-agent-55C5Y3XL.js");
2967
2967
  const { sendMessage } = await import("./lib/messaging.js");
2968
2968
  const { agentId } = getActiveAgent2();
2969
2969
  const envelope = buildTypedMessage({
@@ -3580,8 +3580,8 @@ function registerIngestDocument(server) {
3580
3580
  },
3581
3581
  async (input) => {
3582
3582
  try {
3583
- const { assertFeature: assertFeature2 } = await import("./plan-limits-H65VL6LC.js");
3584
- const { assertMemoryLimit: assertMemoryLimit2 } = await import("./plan-limits-H65VL6LC.js");
3583
+ const { assertFeature: assertFeature2 } = await import("./plan-limits-5O5QG55H.js");
3584
+ const { assertMemoryLimit: assertMemoryLimit2 } = await import("./plan-limits-5O5QG55H.js");
3585
3585
  await assertFeature2("wiki");
3586
3586
  await assertMemoryLimit2();
3587
3587
  const result3 = await ingestDocument(input);
@@ -3652,8 +3652,8 @@ function registerPurgeDocument(server) {
3652
3652
  },
3653
3653
  async ({ document_id }) => {
3654
3654
  try {
3655
- const { StewardGate: StewardGate2 } = await import("./steward-gate-TAD7GEVL.js");
3656
- const { getActiveAgent: getActiveAgent2 } = await import("./active-agent-6WX7GZBH.js");
3655
+ const { StewardGate: StewardGate2 } = await import("./steward-gate-7DWYS5AT.js");
3656
+ const { getActiveAgent: getActiveAgent2 } = await import("./active-agent-55C5Y3XL.js");
3657
3657
  const steward = new StewardGate2();
3658
3658
  const agent = getActiveAgent2();
3659
3659
  const gateDecision = await steward.checkAuthority(agent.agentId || "unknown", "purge_document", document_id);
@@ -4898,8 +4898,8 @@ function registerMergeEntities(server) {
4898
4898
  },
4899
4899
  async ({ source_name, source_type, target_name, target_type }) => {
4900
4900
  try {
4901
- const { StewardGate: StewardGate2 } = await import("./steward-gate-TAD7GEVL.js");
4902
- const { getActiveAgent: getActiveAgent2 } = await import("./active-agent-6WX7GZBH.js");
4901
+ const { StewardGate: StewardGate2 } = await import("./steward-gate-7DWYS5AT.js");
4902
+ const { getActiveAgent: getActiveAgent2 } = await import("./active-agent-55C5Y3XL.js");
4903
4903
  const steward = new StewardGate2();
4904
4904
  const agent = getActiveAgent2();
4905
4905
  const gateDecision = await steward.checkAuthority(agent.agentId || "unknown", "merge_entities", `${source_name}\u2192${target_name}`);
@@ -5777,7 +5777,7 @@ async function getAgentSessionLoad() {
5777
5777
  return { sessions: [], totalLive: 0, busySessions: 0, idleSessions: 0 };
5778
5778
  }
5779
5779
  const { getClient: getClient2 } = await import("./lib/database.js");
5780
- const { sessionScopeFilter: sessionScopeFilter2 } = await import("./task-scope-AYK6BVC7.js");
5780
+ const { sessionScopeFilter: sessionScopeFilter2 } = await import("./task-scope-YHALISIB.js");
5781
5781
  const client = getClient2();
5782
5782
  const scope = sessionScopeFilter2();
5783
5783
  for (const s of liveAgentSessions) {
@@ -5902,7 +5902,7 @@ ${mode} Applying repairs...
5902
5902
  `];
5903
5903
  if (!isDryRun) {
5904
5904
  try {
5905
- const { createBackup: createBackup2 } = await import("./db-backup-JEHRFLYW.js");
5905
+ const { createBackup: createBackup2 } = await import("./db-backup-HLX5OLIV.js");
5906
5906
  const backupPath = createBackup2("pre-fix");
5907
5907
  if (backupPath) {
5908
5908
  fixLog.push(` Backup created: ${backupPath.split("/").pop()}`);
@@ -7427,7 +7427,7 @@ function registerCreateTrigger(server) {
7427
7427
  }
7428
7428
  },
7429
7429
  async ({ name, event, conditions, actions, project, enabled, schedule, query }) => {
7430
- const { assertFeature: assertFeature2 } = await import("./plan-limits-H65VL6LC.js");
7430
+ const { assertFeature: assertFeature2 } = await import("./plan-limits-5O5QG55H.js");
7431
7431
  const gatedActions = {
7432
7432
  send_whatsapp: "external_agents",
7433
7433
  update_wiki: "wiki"
@@ -8336,7 +8336,7 @@ function registerConfig(server) {
8336
8336
  const existing = loadEmployeesSync2();
8337
8337
  if (existing.some((e) => e.name === employeeName)) return errorResult8(`Employee "${employeeName}" already exists.`);
8338
8338
  try {
8339
- const { assertEmployeeLimit: assertEmployeeLimit2 } = await import("./plan-limits-H65VL6LC.js");
8339
+ const { assertEmployeeLimit: assertEmployeeLimit2 } = await import("./plan-limits-5O5QG55H.js");
8340
8340
  await assertEmployeeLimit2();
8341
8341
  } catch (e) {
8342
8342
  return errorResult8(e instanceof Error ? e.message : "Employee limit reached.");
@@ -8377,7 +8377,7 @@ You are ${employeeName}. Role: ${role}.`, "utf-8");
8377
8377
  }
8378
8378
  try {
8379
8379
  const { generateSessionWrappers } = await import("./lib/session-wrappers.js");
8380
- const { resolvePackageRoot } = await import("./installer-N5XZAFE4.js");
8380
+ const { resolvePackageRoot } = await import("./installer-HW74W3IT.js");
8381
8381
  generateSessionWrappers(resolvePackageRoot());
8382
8382
  } catch {
8383
8383
  }
@@ -8413,7 +8413,7 @@ function registerListWikiPages(server) {
8413
8413
  }
8414
8414
  },
8415
8415
  async ({ workspace, folder }) => {
8416
- const { assertFeature: assertFeature2 } = await import("./plan-limits-H65VL6LC.js");
8416
+ const { assertFeature: assertFeature2 } = await import("./plan-limits-5O5QG55H.js");
8417
8417
  await assertFeature2("wiki");
8418
8418
  const apiUrl = process.env.EXE_WIKI_API_URL;
8419
8419
  const apiKey = process.env.EXE_WIKI_API_KEY;
@@ -8513,7 +8513,7 @@ function registerGetWikiPage(server) {
8513
8513
  }
8514
8514
  },
8515
8515
  async ({ workspace, document_id, title }) => {
8516
- const { assertFeature: assertFeature2 } = await import("./plan-limits-H65VL6LC.js");
8516
+ const { assertFeature: assertFeature2 } = await import("./plan-limits-5O5QG55H.js");
8517
8517
  await assertFeature2("wiki");
8518
8518
  const apiUrl = process.env.EXE_WIKI_API_URL;
8519
8519
  const apiKey = process.env.EXE_WIKI_API_KEY;
@@ -8691,10 +8691,10 @@ async function handleWikiSearch(input) {
8691
8691
  const userId = input.user_id;
8692
8692
  if (!workspace) return errorResult9('wiki action "search" requires workspace');
8693
8693
  if (!query) return errorResult9('wiki action "search" requires query');
8694
- const { assertFeature: assertFeature2 } = await import("./plan-limits-H65VL6LC.js");
8694
+ const { assertFeature: assertFeature2 } = await import("./plan-limits-5O5QG55H.js");
8695
8695
  await assertFeature2("wiki");
8696
8696
  if (userId) {
8697
- const { checkWikiAccess } = await import("./wiki-acl-AR7RIMRY.js");
8697
+ const { checkWikiAccess } = await import("./wiki-acl-M3OR547L.js");
8698
8698
  const { allowed } = await checkWikiAccess(String(userId), String(workspace), "read");
8699
8699
  if (!allowed) {
8700
8700
  return errorResult9(`Access denied: user "${userId}" does not have read access to workspace "${workspace}"`);
@@ -8770,7 +8770,7 @@ function registerWiki(server) {
8770
8770
  if (!legacyToolName) return errorResult9(`Unknown wiki action: ${String(input.action)}`);
8771
8771
  const { action: _action, user_id, ...legacyArgs } = input;
8772
8772
  if (user_id && legacyArgs.workspace) {
8773
- const { checkWikiAccess } = await import("./wiki-acl-AR7RIMRY.js");
8773
+ const { checkWikiAccess } = await import("./wiki-acl-M3OR547L.js");
8774
8774
  const { allowed } = await checkWikiAccess(
8775
8775
  String(user_id),
8776
8776
  String(legacyArgs.workspace),
@@ -9097,7 +9097,7 @@ Use /exe-forget to remove any that this supersedes.`;
9097
9097
  return { content: [{ type: "text", text: `Behavior not found: ${behavior_id}` }], isError: true };
9098
9098
  }
9099
9099
  const row2 = result4.rows[0];
9100
- const { reactivateBehavior: reactivateBehavior2 } = await import("./behaviors-DH7XFONJ.js");
9100
+ const { reactivateBehavior: reactivateBehavior2 } = await import("./behaviors-6BGALYGW.js");
9101
9101
  const wasReactivated = await reactivateBehavior2(behavior_id);
9102
9102
  if (!wasReactivated) {
9103
9103
  return { content: [{ type: "text", text: `Behavior ${behavior_id} is already active.` }] };
@@ -10036,7 +10036,7 @@ function registerWorkflowTool(server) {
10036
10036
  getWorkflowInstance,
10037
10037
  listWorkflowInstances,
10038
10038
  approveWorkflowStep
10039
- } = await import("./workflow-engine-4MQJI5F2.js");
10039
+ } = await import("./workflow-engine-OICYBE4F.js");
10040
10040
  try {
10041
10041
  switch (input.action) {
10042
10042
  case "create_workflow": {
@@ -10469,7 +10469,7 @@ function registerCreateBugReport(server) {
10469
10469
  const version = package_version ?? "unknown";
10470
10470
  let metricsSnapshot = "";
10471
10471
  try {
10472
- const { getOrchestrationMetrics, formatOrchestrationMetrics } = await import("./orchestration-events-TEYCD6GO.js");
10472
+ const { getOrchestrationMetrics, formatOrchestrationMetrics } = await import("./orchestration-events-IYTASMSN.js");
10473
10473
  const sinceIso = new Date(Date.now() - 60 * 60 * 1e3).toISOString();
10474
10474
  const metrics = await getOrchestrationMetrics({ sinceIso });
10475
10475
  if (metrics.totalEvents > 0) {
@@ -11612,7 +11612,7 @@ function registerCodeContext(server) {
11612
11612
  const index = buildCodeContextIndex(opts);
11613
11613
  let graphExtract;
11614
11614
  try {
11615
- const { autoExtractGraphEntities } = await import("./graph-auto-extract-5ZD4AUSB.js");
11615
+ const { autoExtractGraphEntities } = await import("./graph-auto-extract-5TPT67GP.js");
11616
11616
  graphExtract = await autoExtractGraphEntities(opts.projectRoot);
11617
11617
  } catch {
11618
11618
  }
@@ -12876,7 +12876,7 @@ async function handleTrigger(limit) {
12876
12876
  if (rows.rows.length === 0) {
12877
12877
  return text3("No conversations found to re-process.");
12878
12878
  }
12879
- const { ingest } = await import("./pipeline-router-IX635D3U.js");
12879
+ const { ingest } = await import("./pipeline-router-E4L5BDXN.js");
12880
12880
  const results = [];
12881
12881
  for (const row of rows.rows) {
12882
12882
  const r = row;
@@ -12983,7 +12983,7 @@ function registerResonance(server) {
12983
12983
  }
12984
12984
  }, async ({ action, entity_id, limit }) => {
12985
12985
  try {
12986
- const { getHotPairs, getCoActivationNeighbors } = await import("./co-activation-OCQPRJ2I.js");
12986
+ const { getHotPairs, getCoActivationNeighbors } = await import("./co-activation-VB4CJQZB.js");
12987
12987
  if (action === "hot_pairs") {
12988
12988
  const pairs = await getHotPairs(limit ?? 20);
12989
12989
  if (pairs.length === 0) return text4("No co-activation data yet. Pairs are recorded as memories are accessed together in searches.");
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  getClient
3
- } from "./chunk-2LYJTK47.js";
3
+ } from "./chunk-2H55BIV2.js";
4
4
 
5
5
  // src/lib/token-spend.ts
6
6
  import { readdir, stat } from "fs/promises";
@@ -2,7 +2,7 @@ import {
2
2
  getClient,
3
3
  isCoordinatorName,
4
4
  loadEmployeesSync
5
- } from "./chunk-2LYJTK47.js";
5
+ } from "./chunk-2H55BIV2.js";
6
6
 
7
7
  // src/lib/steward-gate.ts
8
8
  import crypto from "crypto";
@@ -6,7 +6,7 @@ import {
6
6
  getIdentity,
7
7
  listIdentities,
8
8
  updateIdentity
9
- } from "./chunk-2LYJTK47.js";
9
+ } from "./chunk-2H55BIV2.js";
10
10
  import {
11
11
  atomicWriteJsonSync
12
12
  } from "./chunk-LYH5HE24.js";
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  sessionScopeFilter
3
- } from "./chunk-ENWFSMOS.js";
3
+ } from "./chunk-HNLPLLE6.js";
4
4
  import {
5
5
  getClient,
6
6
  getIdentity
7
- } from "./chunk-2LYJTK47.js";
7
+ } from "./chunk-2H55BIV2.js";
8
8
 
9
9
  // src/lib/dreaming.ts
10
10
  var DreamingEngine = class {
@@ -35,14 +35,13 @@ var DreamingEngine = class {
35
35
  project_name: r.project_name ? String(r.project_name) : null
36
36
  }));
37
37
  const scope = sessionScopeFilter();
38
- const scopeClause = scope ? " AND session_scope = ?" : "";
39
38
  const taskResult = await client.execute({
40
39
  sql: `SELECT id, title, status, assigned_to, result, created_at, updated_at, project_name
41
40
  FROM tasks
42
- WHERE assigned_to = ? AND updated_at >= ?${scopeClause}
41
+ WHERE assigned_to = ? AND updated_at >= ?${scope.sql}
43
42
  ORDER BY updated_at DESC
44
43
  LIMIT 100`,
45
- args: scope ? [agentId, startISO, scope] : [agentId, startISO]
44
+ args: [agentId, startISO, ...scope.args]
46
45
  });
47
46
  const tasks = taskResult.rows.map((r) => ({
48
47
  id: String(r.id),
@@ -412,16 +411,15 @@ var DreamingEngine = class {
412
411
  try {
413
412
  const isAllAgents = agentId === "*";
414
413
  const scope = sessionScopeFilter();
415
- const scopeClause = scope ? " AND session_scope = ?" : "";
416
414
  const tasks = await client.execute({
417
415
  sql: isAllAgents ? `SELECT assertions, estimated_minutes, actual_minutes, estimate_confidence
418
416
  FROM tasks WHERE updated_at >= ?
419
417
  AND status IN ('needs_review', 'closed')
420
- AND (assertions IS NOT NULL OR estimated_minutes IS NOT NULL)${scopeClause}` : `SELECT assertions, estimated_minutes, actual_minutes, estimate_confidence
418
+ AND (assertions IS NOT NULL OR estimated_minutes IS NOT NULL)${scope.sql}` : `SELECT assertions, estimated_minutes, actual_minutes, estimate_confidence
421
419
  FROM tasks WHERE assigned_to = ? AND updated_at >= ?
422
420
  AND status IN ('needs_review', 'closed')
423
- AND (assertions IS NOT NULL OR estimated_minutes IS NOT NULL)${scopeClause}`,
424
- args: isAllAgents ? scope ? [since, scope] : [since] : scope ? [agentId, since, scope] : [agentId, since]
421
+ AND (assertions IS NOT NULL OR estimated_minutes IS NOT NULL)${scope.sql}`,
422
+ args: isAllAgents ? [since, ...scope.args] : [agentId, since, ...scope.args]
425
423
  });
426
424
  for (const row of tasks.rows) {
427
425
  try {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  recordOrchestrationEventBestEffort
3
- } from "./chunk-2O5GJFYQ.js";
3
+ } from "./chunk-5NJ4A4ZA.js";
4
4
 
5
5
  // src/lib/session-registry.ts
6
6
  import { readFileSync, writeFileSync, mkdirSync, existsSync } from "fs";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  listBehaviors
3
- } from "./chunk-JHFXCYZP.js";
3
+ } from "./chunk-UAFUGPKO.js";
4
4
  import {
5
5
  loadConfigSync
6
6
  } from "./chunk-TRZ5KA2R.js";
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  recordSessionKill
3
- } from "./chunk-5KDROSDV.js";
3
+ } from "./chunk-452XB7OZ.js";
4
4
  import {
5
5
  sessionScopeFilter,
6
6
  verifyPaneAtCapacity,
7
7
  writeNotification
8
- } from "./chunk-ENWFSMOS.js";
8
+ } from "./chunk-HNLPLLE6.js";
9
9
  import {
10
10
  listSessions
11
- } from "./chunk-NJS4GRIR.js";
11
+ } from "./chunk-BZNI4OK5.js";
12
12
  import {
13
13
  getTransport
14
14
  } from "./chunk-MVW62NIZ.js";
15
15
  import {
16
16
  recordOrchestrationEventBestEffort
17
- } from "./chunk-2O5GJFYQ.js";
17
+ } from "./chunk-5NJ4A4ZA.js";
18
18
  import {
19
19
  getClient,
20
20
  isCoordinatorName
21
- } from "./chunk-2LYJTK47.js";
21
+ } from "./chunk-2H55BIV2.js";
22
22
 
23
23
  // src/lib/capacity-monitor.ts
24
24
  var CAPACITY_PATTERNS = [
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  createReminder
3
- } from "./chunk-YENDNLAD.js";
3
+ } from "./chunk-5WLMF6PL.js";
4
4
 
5
5
  // src/mcp/tools/create-reminder.ts
6
6
  import { z } from "zod";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  sendMessage
3
- } from "./chunk-T3ASODFG.js";
3
+ } from "./chunk-5GG7MTRJ.js";
4
4
  import {
5
5
  getActiveAgent
6
- } from "./chunk-IQNT6KAE.js";
6
+ } from "./chunk-RA2RO27E.js";
7
7
 
8
8
  // src/mcp/tools/send-message.ts
9
9
  import { z } from "zod";