@askexenow/exe-os 0.9.148 → 0.9.150

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 (203) hide show
  1. package/dist/{active-agent-NCZCDDZ2.js → active-agent-HDUT3T3I.js} +2 -2
  2. package/dist/{active-agent-KMQCNXXD.js → active-agent-XHERKXH6.js} +2 -2
  3. package/dist/{agentic-ontology-SQR74CO7.js → agentic-ontology-GMK3MB3U.js} +1 -1
  4. package/dist/{backfill-metadata-KMDWLDXU.js → backfill-metadata-7IANPCAL.js} +3 -3
  5. package/dist/{behaviors-4U2N5L4E.js → behaviors-JG75DNG3.js} +2 -2
  6. package/dist/bin/agentic-ontology-backfill.js +4 -4
  7. package/dist/bin/agentic-reflection-backfill.js +5 -5
  8. package/dist/bin/agentic-semantic-label.js +4 -4
  9. package/dist/bin/backfill-conversations.js +3 -3
  10. package/dist/bin/backfill-responses.js +3 -3
  11. package/dist/bin/backfill-vectors.js +4 -4
  12. package/dist/bin/bulk-sync-postgres.js +5 -5
  13. package/dist/bin/cleanup-stale-review-tasks.js +5 -5
  14. package/dist/bin/cli.js +12 -12
  15. package/dist/bin/exe-agent-config.js +1 -1
  16. package/dist/bin/exe-agent.js +3 -3
  17. package/dist/bin/exe-assign.js +4 -4
  18. package/dist/bin/exe-boot.js +12 -12
  19. package/dist/bin/exe-call.js +3 -3
  20. package/dist/bin/exe-cloud.js +3 -3
  21. package/dist/bin/exe-dispatch.js +5 -5
  22. package/dist/bin/exe-doctor.js +1 -1
  23. package/dist/bin/exe-export-behaviors.js +6 -6
  24. package/dist/bin/exe-forget.js +5 -5
  25. package/dist/bin/exe-gateway.js +5 -5
  26. package/dist/bin/exe-heartbeat.js +5 -5
  27. package/dist/bin/exe-kill.js +28 -6
  28. package/dist/bin/exe-launch-agent.js +9 -9
  29. package/dist/bin/exe-new-employee.js +5 -5
  30. package/dist/bin/exe-pending-messages.js +6 -6
  31. package/dist/bin/exe-pending-notifications.js +5 -5
  32. package/dist/bin/exe-pending-reviews.js +5 -5
  33. package/dist/bin/exe-rename.js +3 -3
  34. package/dist/bin/exe-review.js +7 -7
  35. package/dist/bin/exe-search.js +4 -4
  36. package/dist/bin/exe-session-cleanup.js +9 -9
  37. package/dist/bin/exe-settings.js +3 -3
  38. package/dist/bin/exe-start-codex.js +10 -10
  39. package/dist/bin/exe-start-opencode.js +7 -7
  40. package/dist/bin/exe-status.js +6 -6
  41. package/dist/bin/exe-team.js +2 -2
  42. package/dist/bin/git-sweep.js +5 -5
  43. package/dist/bin/graph-backfill.js +3 -3
  44. package/dist/bin/graph-export.js +4 -4
  45. package/dist/bin/install.js +5 -5
  46. package/dist/bin/intercom-check.js +4 -4
  47. package/dist/bin/postgres-agentic-reflection-backfill.js +2 -2
  48. package/dist/bin/postgres-agentic-semantic-backfill.js +1 -1
  49. package/dist/bin/scan-tasks.js +5 -5
  50. package/dist/bin/setup.js +1 -1
  51. package/dist/bin/shard-migrate.js +3 -3
  52. package/dist/bin/stack-update.js +21 -0
  53. package/dist/{capacity-monitor-Q5M5SVRC.js → capacity-monitor-J3SVO7LJ.js} +6 -6
  54. package/dist/{catchup-brief-IPNSW7RQ.js → catchup-brief-AIFZT456.js} +7 -7
  55. package/dist/{chunk-MKUVEDUE.js → chunk-26VUCVSE.js} +2 -2
  56. package/dist/{chunk-XK7VZFCC.js → chunk-3JR37K7C.js} +6 -6
  57. package/dist/{chunk-YPSN64BU.js → chunk-3VHX5XFJ.js} +1 -1
  58. package/dist/{chunk-DBXKWFTK.js → chunk-4K7HJL37.js} +3 -3
  59. package/dist/{chunk-4EINMZNO.js → chunk-4WIWYUU2.js} +2 -2
  60. package/dist/{chunk-ZUAXTH6Z.js → chunk-5NQKE3X4.js} +2 -2
  61. package/dist/{chunk-AERGE6GC.js → chunk-5NSTNICM.js} +1 -1
  62. package/dist/{chunk-Y6TS42WD.js → chunk-72XIEBYJ.js} +6 -6
  63. package/dist/chunk-7HONLLJ2.js +94 -0
  64. package/dist/{chunk-J4RAXKTC.js → chunk-7JTZNHA4.js} +3 -3
  65. package/dist/{chunk-LL5EY6OQ.js → chunk-BQ3KXWA7.js} +1 -1
  66. package/dist/{chunk-MBA4NNTS.js → chunk-BR5UVRA2.js} +1 -1
  67. package/dist/{chunk-4GLEFA2X.js → chunk-BV2JVO2U.js} +1 -1
  68. package/dist/{chunk-PMWDO5FR.js → chunk-CO2SF5SB.js} +1 -1
  69. package/dist/{chunk-LC53LVOT.js → chunk-CRS6YTBM.js} +2 -2
  70. package/dist/{chunk-FNMNKYVH.js → chunk-DJVXUJIR.js} +56 -56
  71. package/dist/{chunk-CGQ5PWS3.js → chunk-DMBFPZOP.js} +4 -4
  72. package/dist/{chunk-HHMHL4FB.js → chunk-DSKUPORS.js} +2 -2
  73. package/dist/{chunk-3FIWKONP.js → chunk-EEXG4ZJS.js} +10 -10
  74. package/dist/{chunk-ARGBV4PP.js → chunk-EOU4ZLRZ.js} +1 -1
  75. package/dist/{chunk-ONMRBKAX.js → chunk-EYTMNAU7.js} +34 -39
  76. package/dist/{chunk-B4HAUSVQ.js → chunk-FSH4VWSL.js} +2 -2
  77. package/dist/{chunk-TOXHEZN5.js → chunk-GIAAHYMW.js} +2 -2
  78. package/dist/{chunk-JH7Z2AZ7.js → chunk-GJMHN45Z.js} +1 -1
  79. package/dist/{chunk-VK2AWQ6D.js → chunk-GPHURFBS.js} +2 -2
  80. package/dist/{chunk-ZMJHXDZR.js → chunk-IGYF67K3.js} +3 -3
  81. package/dist/{chunk-VNTDQUOG.js → chunk-IT2JDL5L.js} +3 -3
  82. package/dist/{chunk-UPL5FEZY.js → chunk-JM4A2E5A.js} +1 -1
  83. package/dist/{chunk-UPMKSFBU.js → chunk-LBX2VQCC.js} +1 -1
  84. package/dist/{chunk-NJKERRSG.js → chunk-LJX5SV6L.js} +2 -2
  85. package/dist/{chunk-3MLGUSKS.js → chunk-LLDY5HPV.js} +1 -1
  86. package/dist/{chunk-DTLASDQM.js → chunk-LM7TQYLW.js} +1 -1
  87. package/dist/{chunk-TH6HTK2L.js → chunk-MBYJEE3B.js} +5 -1
  88. package/dist/{chunk-YOG7TWMO.js → chunk-MNIJA5BL.js} +1 -1
  89. package/dist/{chunk-AGFWOII2.js → chunk-O2Y4WJYW.js} +5 -5
  90. package/dist/{chunk-FG4Z2XFU.js → chunk-OEPEY47B.js} +1 -1
  91. package/dist/{chunk-2OATM2JZ.js → chunk-Q7GVSS2J.js} +1 -1
  92. package/dist/{chunk-LJML7HT2.js → chunk-RAMU6E5T.js} +1 -1
  93. package/dist/{chunk-26UVGP3I.js → chunk-SFV2XRPY.js} +1 -1
  94. package/dist/{chunk-EHNSK2Y4.js → chunk-TCKZYGC5.js} +1 -1
  95. package/dist/{chunk-NFHFNPTN.js → chunk-UHL4QL5E.js} +1 -1
  96. package/dist/{chunk-IFACD7E6.js → chunk-UPAEAL6K.js} +3 -3
  97. package/dist/{chunk-MKPSMRVX.js → chunk-WLSSSDAR.js} +1 -1
  98. package/dist/{chunk-JF3Q5YKI.js → chunk-WR45FP7O.js} +1 -1
  99. package/dist/{chunk-QB66MH2V.js → chunk-XEH3USTI.js} +1 -1
  100. package/dist/{chunk-VYVESELG.js → chunk-XQSGAG2G.js} +2 -2
  101. package/dist/{chunk-2BPO7VQF.js → chunk-Z43CJQ7T.js} +4 -4
  102. package/dist/{chunk-ZZLTJXKR.js → chunk-ZGKU4PMY.js} +2 -2
  103. package/dist/{crdt-sync-XMC6LT2Q.js → crdt-sync-3VQP2ISB.js} +1 -1
  104. package/dist/{crm-webhook-QMHD5YYQ.js → crm-webhook-AJYXEFZD.js} +2 -2
  105. package/dist/{cto-delegation-gate-BTZWAA4E.js → cto-delegation-gate-7OIN66NU.js} +4 -4
  106. package/dist/{daemon-orchestration-HFODCB52.js → daemon-orchestration-EHONVEHN.js} +7 -7
  107. package/dist/{exe-drift-SED6KQTZ.js → exe-drift-L5ZHO3CZ.js} +2 -2
  108. package/dist/{exe-export-ADSWDE5U.js → exe-export-IVFME5VN.js} +4 -4
  109. package/dist/{exe-import-WFLNGJZP.js → exe-import-O76AYBUE.js} +4 -4
  110. package/dist/{exe-key-4L32R46F.js → exe-key-6HV5GYHH.js} +1 -1
  111. package/dist/{fast-db-init-HVAVS35N.js → fast-db-init-NCOIEAM6.js} +1 -1
  112. package/dist/gateway/index.js +6 -6
  113. package/dist/{git-staleness-BY4ZK6MW.js → git-staleness-MSTOMG55.js} +1 -1
  114. package/dist/{git-task-sweep-RSRASAHB.js → git-task-sweep-NOXCELFQ.js} +5 -5
  115. package/dist/{global-procedures-EKYSVONR.js → global-procedures-FXWQ35RU.js} +2 -2
  116. package/dist/{graph-auto-extract-HWZ5GVXZ.js → graph-auto-extract-D4I7DF2S.js} +1 -1
  117. package/dist/hooks/bug-report-worker.js +6 -6
  118. package/dist/hooks/codex-stop-task-finalizer.js +6 -6
  119. package/dist/hooks/commit-complete.js +7 -7
  120. package/dist/hooks/error-recall.js +5 -5
  121. package/dist/hooks/exe-heartbeat-hook.js +2 -2
  122. package/dist/hooks/ingest.js +5 -5
  123. package/dist/hooks/instructions-loaded.js +3 -3
  124. package/dist/hooks/notification.js +3 -3
  125. package/dist/hooks/post-compact.js +6 -6
  126. package/dist/hooks/post-tool-combined.js +4 -4
  127. package/dist/hooks/pre-compact.js +7 -7
  128. package/dist/hooks/pre-tool-use.js +19 -10
  129. package/dist/hooks/prompt-submit.js +14 -14
  130. package/dist/hooks/session-end.js +11 -11
  131. package/dist/hooks/session-start.js +7 -7
  132. package/dist/hooks/stop.js +10 -10
  133. package/dist/hooks/subagent-stop.js +6 -6
  134. package/dist/hooks/summary-worker.js +10 -10
  135. package/dist/index.js +12 -12
  136. package/dist/{installer-X5FEYJIA.js → installer-5NAISFMT.js} +4 -4
  137. package/dist/{installer-RLKOACKG.js → installer-FTGXXYRA.js} +4 -4
  138. package/dist/{installer-W4NY3OBF.js → installer-Q4IWV2GB.js} +4 -4
  139. package/dist/lib/cloud-sync.js +3 -3
  140. package/dist/lib/consolidation.js +4 -4
  141. package/dist/lib/database.js +1 -1
  142. package/dist/lib/db.js +1 -1
  143. package/dist/lib/employee-templates.js +3 -3
  144. package/dist/lib/employees.js +1 -1
  145. package/dist/lib/exe-daemon.js +20 -20
  146. package/dist/lib/hybrid-search.js +4 -4
  147. package/dist/lib/identity.js +1 -1
  148. package/dist/lib/messaging.js +5 -5
  149. package/dist/lib/reminders.js +2 -2
  150. package/dist/lib/schedules.js +4 -4
  151. package/dist/lib/skill-learning.js +3 -3
  152. package/dist/lib/store.js +3 -3
  153. package/dist/lib/task-router.js +2 -2
  154. package/dist/lib/tasks.js +5 -5
  155. package/dist/lib/tmux-routing.js +4 -4
  156. package/dist/lib/token-spend.js +2 -2
  157. package/dist/mcp/register-tools.js +41 -41
  158. package/dist/mcp/server.js +42 -42
  159. package/dist/mcp/tools/complete-reminder.js +3 -3
  160. package/dist/mcp/tools/create-reminder.js +3 -3
  161. package/dist/mcp/tools/create-task.js +7 -7
  162. package/dist/mcp/tools/deactivate-behavior.js +4 -4
  163. package/dist/mcp/tools/list-reminders.js +3 -3
  164. package/dist/mcp/tools/list-tasks.js +7 -7
  165. package/dist/mcp/tools/send-message.js +7 -7
  166. package/dist/mcp/tools/update-task.js +6 -6
  167. package/dist/{mcp-http-config-6YLW4PFG.js → mcp-http-config-PSQCITKG.js} +2 -2
  168. package/dist/{memory-cards-UAQCO4QR.js → memory-cards-SYVGSLXW.js} +1 -1
  169. package/dist/{memory-poisoning-defense-VWITZ4WO.js → memory-poisoning-defense-T7AC4LZN.js} +1 -1
  170. package/dist/{memory-reflection-JQC4ZSUD.js → memory-reflection-FNJU7VFC.js} +1 -1
  171. package/dist/{notifications-YDOKTVCH.js → notifications-LD563XOM.js} +4 -4
  172. package/dist/{orchestrator-BZ2D6ZM6.js → orchestrator-WQGPXMLN.js} +6 -6
  173. package/dist/{plan-limits-KUTODKG6.js → plan-limits-IAUNTZUW.js} +2 -2
  174. package/dist/{projection-worker-UY7R2EQJ.js → projection-worker-S6LYSY22.js} +1 -1
  175. package/dist/{review-polling-DORNZ2KI.js → review-polling-J3R7MLT4.js} +5 -5
  176. package/dist/runtime/index.js +7 -7
  177. package/dist/{session-events-5WR5RVDK.js → session-events-XDDQ3M4A.js} +5 -5
  178. package/dist/{session-kill-telemetry-DHSQV2CI.js → session-kill-telemetry-TX5NCPUV.js} +2 -2
  179. package/dist/{session-scope-D4Q62ZOZ.js → session-scope-6MAGVHBA.js} +4 -4
  180. package/dist/{setup-wizard-QVNTI3T4.js → setup-wizard-WJ73A2FY.js} +1 -1
  181. package/dist/{task-enforcement-OYCQXBBC.js → task-enforcement-3RV64YVR.js} +4 -4
  182. package/dist/{task-scope-WWRNU2LU.js → task-scope-2T3WIQQY.js} +4 -4
  183. package/dist/{tasks-crud-75AUVZPO.js → tasks-crud-B2BGA44L.js} +4 -4
  184. package/dist/{tasks-review-UMZN5ZPQ.js → tasks-review-ZO3QDMT7.js} +4 -4
  185. package/dist/{token-budget-62TYDIMI.js → token-budget-LJC7HHKB.js} +1 -1
  186. package/dist/{tool-telemetry-JL6NY3KP.js → tool-telemetry-L3WQDRMH.js} +1 -1
  187. package/dist/tui/App.js +12 -12
  188. package/dist/{tui-data-C5I2YU4C.js → tui-data-UAPARPDX.js} +4 -4
  189. package/dist/{worker-gate-Q5Y6B5N7.js → worker-gate-TG6PR2S5.js} +1 -1
  190. package/dist/{workflow-engine-KAKVU7NC.js → workflow-engine-VIFLD5IV.js} +2 -2
  191. package/package.json +1 -1
  192. package/release-notes.json +177 -177
  193. package/dist/chunk-QHQJ7DLL.js +0 -153
  194. /package/dist/{chunk-7B5DQGXG.js → chunk-34XNU32S.js} +0 -0
  195. /package/dist/{chunk-ZBA74MMX.js → chunk-BF4W2VDS.js} +0 -0
  196. /package/dist/{chunk-524VLFFY.js → chunk-BRXDLJBU.js} +0 -0
  197. /package/dist/{chunk-TKEDF7KV.js → chunk-II3NQJGV.js} +0 -0
  198. /package/dist/{chunk-UJMDHPIN.js → chunk-OLVZBBVO.js} +0 -0
  199. /package/dist/{chunk-H6ADW3YC.js → chunk-OU7SLHNA.js} +0 -0
  200. /package/dist/{chunk-TSCZMB3P.js → chunk-PJCTBGWN.js} +0 -0
  201. /package/dist/{chunk-A3A2E42I.js → chunk-VN6UUZNO.js} +0 -0
  202. /package/dist/{core-memory-C3JLISAU.js → core-memory-MT7P34HU.js} +0 -0
  203. /package/dist/{wiki-acl-5EC5VNYG.js → wiki-acl-UE3CRAPQ.js} +0 -0
@@ -5,15 +5,15 @@ import {
5
5
  } from "../chunk-46SQTBQW.js";
6
6
  import {
7
7
  fastDbInit
8
- } from "../chunk-7B5DQGXG.js";
8
+ } from "../chunk-34XNU32S.js";
9
9
  import {
10
10
  disposeStore
11
- } from "../chunk-Y6TS42WD.js";
12
- import "../chunk-524VLFFY.js";
11
+ } from "../chunk-72XIEBYJ.js";
12
+ import "../chunk-BRXDLJBU.js";
13
13
  import "../chunk-MP2AFCGL.js";
14
14
  import {
15
15
  getClient
16
- } from "../chunk-TH6HTK2L.js";
16
+ } from "../chunk-MBYJEE3B.js";
17
17
  import "../chunk-EOO32RJZ.js";
18
18
  import "../chunk-FXU7JOXK.js";
19
19
  import "../chunk-6D23UNXU.js";
@@ -6,16 +6,16 @@ import {
6
6
  setupGhostty,
7
7
  setupTmux,
8
8
  setupWezterm
9
- } from "../chunk-TOXHEZN5.js";
9
+ } from "../chunk-GIAAHYMW.js";
10
10
  import "../chunk-GNHN5HRQ.js";
11
- import "../chunk-EHNSK2Y4.js";
11
+ import "../chunk-TCKZYGC5.js";
12
12
  import {
13
13
  generateSessionWrappers
14
14
  } from "../chunk-ZHMQDTGE.js";
15
15
  import "../chunk-L3TB7CC3.js";
16
- import "../chunk-DTLASDQM.js";
16
+ import "../chunk-LM7TQYLW.js";
17
17
  import "../chunk-HYZV25LY.js";
18
- import "../chunk-TH6HTK2L.js";
18
+ import "../chunk-MBYJEE3B.js";
19
19
  import "../chunk-EOO32RJZ.js";
20
20
  import "../chunk-FXU7JOXK.js";
21
21
  import "../chunk-TOWAZ5IV.js";
@@ -297,7 +297,7 @@ if (args.includes("--commands-only")) {
297
297
  }
298
298
  try {
299
299
  execSync("which codex", { encoding: "utf8", timeout: 5e3 });
300
- const { runCodexInstaller } = await import("../installer-RLKOACKG.js");
300
+ const { runCodexInstaller } = await import("../installer-FTGXXYRA.js");
301
301
  await runCodexInstaller();
302
302
  } catch {
303
303
  }
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  fastDbInit
4
- } from "../chunk-7B5DQGXG.js";
4
+ } from "../chunk-34XNU32S.js";
5
5
  import "../chunk-MLKGABMK.js";
6
6
 
7
7
  // src/bin/intercom-check.ts
@@ -17,7 +17,7 @@ async function main() {
17
17
  }
18
18
  if (isCoordinator) {
19
19
  try {
20
- const { listPendingReviews, cleanupOrphanedReviews, formatAge, isStale } = await import("../tasks-review-UMZN5ZPQ.js");
20
+ const { listPendingReviews, cleanupOrphanedReviews, formatAge, isStale } = await import("../tasks-review-ZO3QDMT7.js");
21
21
  const { extractRootExe } = await import("../lib/tmux-routing.js");
22
22
  let sessionScope = process.env.EXE_SESSION ? extractRootExe(process.env.EXE_SESSION) ?? void 0 : void 0;
23
23
  if (!sessionScope) {
@@ -96,7 +96,7 @@ async function main() {
96
96
  }
97
97
  if (!isCoordinator) {
98
98
  try {
99
- const { listBehaviors } = await import("../behaviors-4U2N5L4E.js");
99
+ const { listBehaviors } = await import("../behaviors-JG75DNG3.js");
100
100
  const sessionStart = process.env.EXE_SESSION_START_ISO ?? "";
101
101
  if (sessionStart) {
102
102
  const behaviors = await listBehaviors(agent);
@@ -115,7 +115,7 @@ async function main() {
115
115
  }
116
116
  }
117
117
  try {
118
- const { readUnreadNotifications, markAsRead } = await import("../notifications-YDOKTVCH.js");
118
+ const { readUnreadNotifications, markAsRead } = await import("../notifications-LD563XOM.js");
119
119
  const { resolveExeSession } = await import("../lib/tmux-routing.js");
120
120
  const sessionScope = resolveExeSession();
121
121
  const notifications = await readUnreadNotifications(agent, sessionScope);
@@ -1,8 +1,8 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  buildReflectionCheckpoint
4
- } from "../chunk-YOG7TWMO.js";
5
- import "../chunk-H6ADW3YC.js";
4
+ } from "../chunk-MNIJA5BL.js";
5
+ import "../chunk-OU7SLHNA.js";
6
6
  import {
7
7
  pgSslConfig
8
8
  } from "../chunk-EQSQ4HBW.js";
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  inferSemanticLabel,
4
4
  stableId
5
- } from "../chunk-H6ADW3YC.js";
5
+ } from "../chunk-OU7SLHNA.js";
6
6
  import {
7
7
  pgSslConfig
8
8
  } from "../chunk-EQSQ4HBW.js";
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  queryTaskRows
4
- } from "../chunk-ONMRBKAX.js";
4
+ } from "../chunk-EYTMNAU7.js";
5
5
  import "../chunk-LOQCOHEW.js";
6
6
  import "../chunk-TXSJ2L5O.js";
7
7
  import "../chunk-64WZEXXA.js";
@@ -11,16 +11,16 @@ import "../chunk-GZIAQYGI.js";
11
11
  import "../chunk-ZQX6UOP6.js";
12
12
  import "../chunk-KIUU4PNX.js";
13
13
  import "../chunk-NGP6LSV2.js";
14
- import "../chunk-AERGE6GC.js";
14
+ import "../chunk-5NSTNICM.js";
15
15
  import "../chunk-OPU3NYOO.js";
16
16
  import {
17
17
  getSessionRuntime
18
18
  } from "../chunk-CVYC6DUW.js";
19
19
  import "../chunk-GJV3WDWM.js";
20
20
  import "../chunk-MP2AFCGL.js";
21
- import "../chunk-DTLASDQM.js";
21
+ import "../chunk-LM7TQYLW.js";
22
22
  import "../chunk-HYZV25LY.js";
23
- import "../chunk-TH6HTK2L.js";
23
+ import "../chunk-MBYJEE3B.js";
24
24
  import "../chunk-EOO32RJZ.js";
25
25
  import "../chunk-FXU7JOXK.js";
26
26
  import "../chunk-NNT2ZNMC.js";
@@ -72,7 +72,7 @@ function checkMcpHealth() {
72
72
  }
73
73
  }
74
74
  async function scanFromDb(agentId, tmuxSession, projectName) {
75
- const { fastDbInit } = await import("../fast-db-init-HVAVS35N.js");
75
+ const { fastDbInit } = await import("../fast-db-init-NCOIEAM6.js");
76
76
  try {
77
77
  await fastDbInit();
78
78
  } catch (err) {
package/dist/bin/setup.js CHANGED
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  runSetupWizard
4
- } from "../chunk-UJMDHPIN.js";
4
+ } from "../chunk-OLVZBBVO.js";
5
5
  import "../chunk-6D23UNXU.js";
6
6
  import "../chunk-TOWAZ5IV.js";
7
7
  import "../chunk-LYH5HE24.js";
@@ -8,12 +8,12 @@ import {
8
8
  import {
9
9
  disposeStore,
10
10
  initStore
11
- } from "../chunk-Y6TS42WD.js";
12
- import "../chunk-524VLFFY.js";
11
+ } from "../chunk-72XIEBYJ.js";
12
+ import "../chunk-BRXDLJBU.js";
13
13
  import "../chunk-MP2AFCGL.js";
14
14
  import {
15
15
  getClient
16
- } from "../chunk-TH6HTK2L.js";
16
+ } from "../chunk-MBYJEE3B.js";
17
17
  import "../chunk-EOO32RJZ.js";
18
18
  import "../chunk-FXU7JOXK.js";
19
19
  import {
@@ -527,6 +527,27 @@ async function runStackUpdate(options) {
527
527
  registryForLogout = creds.registry;
528
528
  }
529
529
  exec("docker", [...composeArgs, "pull"]);
530
+ for (const [serviceName, service] of Object.entries(plan.release.services)) {
531
+ if (!service.migrations?.command) continue;
532
+ const composeServiceName = service.composeService ?? serviceName;
533
+ console.log(`[stack-update] Running migrations for ${composeServiceName}: ${service.migrations.command}`);
534
+ try {
535
+ const migrationArgs = service.migrations.command.split(/\s+/);
536
+ exec("docker", [
537
+ ...composeArgs,
538
+ "run",
539
+ "--rm",
540
+ "--no-deps",
541
+ composeServiceName,
542
+ ...migrationArgs
543
+ ]);
544
+ console.log(`[stack-update] \u2713 Migrations for ${composeServiceName} completed`);
545
+ } catch (migErr) {
546
+ const reason = migErr instanceof Error ? migErr.message : String(migErr);
547
+ console.error(`[stack-update] \u2717 Migration failed for ${composeServiceName}: ${reason}`);
548
+ throw new Error(`Migration failed for ${composeServiceName} \u2014 aborting update. Fix the migration and retry. Error: ${reason}`);
549
+ }
550
+ }
530
551
  const RESTART_ORDER = [
531
552
  "exe-db",
532
553
  // data layer — must be healthy before apps
@@ -8,9 +8,9 @@ import {
8
8
  isAtCapacity,
9
9
  isWithinRelaunchCooldown,
10
10
  pollCapacityDead
11
- } from "./chunk-J4RAXKTC.js";
12
- import "./chunk-PMWDO5FR.js";
13
- import "./chunk-ONMRBKAX.js";
11
+ } from "./chunk-7JTZNHA4.js";
12
+ import "./chunk-CO2SF5SB.js";
13
+ import "./chunk-EYTMNAU7.js";
14
14
  import "./chunk-LOQCOHEW.js";
15
15
  import "./chunk-TXSJ2L5O.js";
16
16
  import "./chunk-64WZEXXA.js";
@@ -20,14 +20,14 @@ import "./chunk-GZIAQYGI.js";
20
20
  import "./chunk-ZQX6UOP6.js";
21
21
  import "./chunk-KIUU4PNX.js";
22
22
  import "./chunk-NGP6LSV2.js";
23
- import "./chunk-AERGE6GC.js";
23
+ import "./chunk-5NSTNICM.js";
24
24
  import "./chunk-OPU3NYOO.js";
25
25
  import "./chunk-CVYC6DUW.js";
26
26
  import "./chunk-GJV3WDWM.js";
27
27
  import "./chunk-MP2AFCGL.js";
28
- import "./chunk-DTLASDQM.js";
28
+ import "./chunk-LM7TQYLW.js";
29
29
  import "./chunk-HYZV25LY.js";
30
- import "./chunk-TH6HTK2L.js";
30
+ import "./chunk-MBYJEE3B.js";
31
31
  import "./chunk-EOO32RJZ.js";
32
32
  import "./chunk-FXU7JOXK.js";
33
33
  import "./chunk-NNT2ZNMC.js";
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  lightweightSearch
3
- } from "./chunk-AGFWOII2.js";
4
- import "./chunk-Y6TS42WD.js";
5
- import "./chunk-524VLFFY.js";
3
+ } from "./chunk-O2Y4WJYW.js";
4
+ import "./chunk-72XIEBYJ.js";
5
+ import "./chunk-BRXDLJBU.js";
6
6
  import {
7
7
  sessionScopeFilter,
8
8
  strictSessionScopeFilter
9
- } from "./chunk-ONMRBKAX.js";
9
+ } from "./chunk-EYTMNAU7.js";
10
10
  import "./chunk-LOQCOHEW.js";
11
11
  import "./chunk-TXSJ2L5O.js";
12
12
  import "./chunk-64WZEXXA.js";
@@ -16,16 +16,16 @@ import "./chunk-GZIAQYGI.js";
16
16
  import "./chunk-ZQX6UOP6.js";
17
17
  import "./chunk-KIUU4PNX.js";
18
18
  import "./chunk-NGP6LSV2.js";
19
- import "./chunk-AERGE6GC.js";
19
+ import "./chunk-5NSTNICM.js";
20
20
  import "./chunk-OPU3NYOO.js";
21
21
  import "./chunk-CVYC6DUW.js";
22
22
  import "./chunk-GJV3WDWM.js";
23
23
  import "./chunk-MP2AFCGL.js";
24
- import "./chunk-DTLASDQM.js";
24
+ import "./chunk-LM7TQYLW.js";
25
25
  import "./chunk-HYZV25LY.js";
26
26
  import {
27
27
  getClient
28
- } from "./chunk-TH6HTK2L.js";
28
+ } from "./chunk-MBYJEE3B.js";
29
29
  import "./chunk-EOO32RJZ.js";
30
30
  import "./chunk-FXU7JOXK.js";
31
31
  import "./chunk-6D23UNXU.js";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  vectorToBlob
3
- } from "./chunk-Y6TS42WD.js";
3
+ } from "./chunk-72XIEBYJ.js";
4
4
  import {
5
5
  isCoordinatorName
6
- } from "./chunk-TH6HTK2L.js";
6
+ } from "./chunk-MBYJEE3B.js";
7
7
 
8
8
  // src/lib/consolidation.ts
9
9
  import { randomUUID } from "crypto";
@@ -3,24 +3,24 @@ import {
3
3
  } from "./chunk-MLXJ5EZG.js";
4
4
  import {
5
5
  createTask
6
- } from "./chunk-3FIWKONP.js";
6
+ } from "./chunk-EEXG4ZJS.js";
7
7
  import {
8
8
  getActiveAgent
9
- } from "./chunk-NFHFNPTN.js";
9
+ } from "./chunk-UHL4QL5E.js";
10
10
  import {
11
11
  ensureEmployee,
12
12
  logTaskDispatch,
13
13
  resolveExeSession
14
- } from "./chunk-ONMRBKAX.js";
14
+ } from "./chunk-EYTMNAU7.js";
15
15
  import {
16
16
  getLicenseSync
17
- } from "./chunk-AERGE6GC.js";
17
+ } from "./chunk-5NSTNICM.js";
18
18
  import {
19
19
  getAgentContext
20
20
  } from "./chunk-GJV3WDWM.js";
21
21
  import {
22
22
  isCoordinatorName
23
- } from "./chunk-TH6HTK2L.js";
23
+ } from "./chunk-MBYJEE3B.js";
24
24
 
25
25
  // src/mcp/tools/create-task.ts
26
26
  import { z } from "zod";
@@ -181,7 +181,7 @@ function registerCreateTask(server) {
181
181
  let projectConflictOpts = {};
182
182
  try {
183
183
  const { getClient } = await import("./lib/database.js");
184
- const { sessionScopeFilter } = await import("./task-scope-WWRNU2LU.js");
184
+ const { sessionScopeFilter } = await import("./task-scope-2T3WIQQY.js");
185
185
  const client = getClient();
186
186
  const scope = sessionScopeFilter();
187
187
  const existing = await client.execute({
@@ -111,7 +111,7 @@ function releaseBackfillLock() {
111
111
  }
112
112
  async function getTaskAwareCapacity() {
113
113
  const { getClient } = await import("./lib/database.js");
114
- const { sessionScopeFilter } = await import("./task-scope-WWRNU2LU.js");
114
+ const { sessionScopeFilter } = await import("./task-scope-2T3WIQQY.js");
115
115
  const client = getClient();
116
116
  const scope = sessionScopeFilter();
117
117
  const result = await client.execute({
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  routeTask
3
- } from "./chunk-LJML7HT2.js";
3
+ } from "./chunk-RAMU6E5T.js";
4
4
  import {
5
5
  createTaskCore,
6
6
  employeeSessionName,
@@ -9,11 +9,11 @@ import {
9
9
  isEmployeeAlive,
10
10
  sessionScopeFilter,
11
11
  updateTaskStatus
12
- } from "./chunk-ONMRBKAX.js";
12
+ } from "./chunk-EYTMNAU7.js";
13
13
  import {
14
14
  DEFAULT_COORDINATOR_TEMPLATE_NAME,
15
15
  getCoordinatorName
16
- } from "./chunk-TH6HTK2L.js";
16
+ } from "./chunk-MBYJEE3B.js";
17
17
 
18
18
  // src/runtime/orchestrator.ts
19
19
  var STALE_THRESHOLD_MS = 2 * 60 * 60 * 1e3;
@@ -830,7 +830,7 @@ function formatReport(report, flags) {
830
830
  return lines.join("\n");
831
831
  }
832
832
  async function fixNullVectors() {
833
- const { tryAcquireWorkerSlot, registerWorkerPid } = await import("./worker-gate-Q5Y6B5N7.js");
833
+ const { tryAcquireWorkerSlot, registerWorkerPid } = await import("./worker-gate-TG6PR2S5.js");
834
834
  if (!tryAcquireWorkerSlot()) {
835
835
  process.stderr.write("[exe-doctor] Worker gate full \u2014 waiting for existing backfill workers to finish\n");
836
836
  await new Promise((r) => setTimeout(r, 5e3));
@@ -951,7 +951,7 @@ function splitAtSentences(text, maxChunkSize) {
951
951
  }
952
952
  async function main(argv = process.argv.slice(2)) {
953
953
  const flags = parseFlags(argv);
954
- const { fastDbInit } = await import("./fast-db-init-HVAVS35N.js");
954
+ const { fastDbInit } = await import("./fast-db-init-NCOIEAM6.js");
955
955
  const client = await fastDbInit();
956
956
  const report = await runAudit(client, flags);
957
957
  console.log(formatReport(report, flags));
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  initStore
3
- } from "./chunk-Y6TS42WD.js";
3
+ } from "./chunk-72XIEBYJ.js";
4
4
  import {
5
5
  getClient,
6
6
  isInitialized
7
- } from "./chunk-TH6HTK2L.js";
7
+ } from "./chunk-MBYJEE3B.js";
8
8
 
9
9
  // src/lib/schedules.ts
10
10
  import crypto from "crypto";
@@ -3,7 +3,7 @@ import {
3
3
  getClient,
4
4
  isInitialized,
5
5
  loadEmployees
6
- } from "./chunk-TH6HTK2L.js";
6
+ } from "./chunk-MBYJEE3B.js";
7
7
  import {
8
8
  PLAN_LIMITS,
9
9
  checkLicense,
@@ -2,7 +2,7 @@ import {
2
2
  findScopedDuplicate,
3
3
  governMemoryRecord,
4
4
  schedulePostWriteMemoryHygiene
5
- } from "./chunk-524VLFFY.js";
5
+ } from "./chunk-BRXDLJBU.js";
6
6
  import {
7
7
  orgBus
8
8
  } from "./chunk-MP2AFCGL.js";
@@ -11,7 +11,7 @@ import {
11
11
  ensureSchema,
12
12
  getClient,
13
13
  initTurso
14
- } from "./chunk-TH6HTK2L.js";
14
+ } from "./chunk-MBYJEE3B.js";
15
15
  import {
16
16
  EMBEDDING_DIM
17
17
  } from "./chunk-FXU7JOXK.js";
@@ -119,7 +119,7 @@ async function initStore(options) {
119
119
  );
120
120
  _nextVersion = (Number(vResult.rows[0]?.max_v) || 0) + 1;
121
121
  try {
122
- const { loadGlobalProcedures } = await import("./global-procedures-EKYSVONR.js");
122
+ const { loadGlobalProcedures } = await import("./global-procedures-FXWQ35RU.js");
123
123
  await loadGlobalProcedures();
124
124
  } catch (e) {
125
125
  logStoreWarn("catch", e);
@@ -236,7 +236,7 @@ async function writeMemory(record) {
236
236
  procedure_for: record.procedure_for ?? null
237
237
  };
238
238
  try {
239
- const { checkMemoryPoisoning } = await import("./memory-poisoning-defense-VWITZ4WO.js");
239
+ const { checkMemoryPoisoning } = await import("./memory-poisoning-defense-T7AC4LZN.js");
240
240
  const poisonResult = await checkMemoryPoisoning({
241
241
  memoryId: dbRow.id,
242
242
  vector: Array.isArray(dbRow.vector) ? dbRow.vector : void 0,
@@ -410,13 +410,13 @@ async function flushBatch() {
410
410
  }
411
411
  _nextVersion = baseVersion;
412
412
  try {
413
- const { insertMemoryCardsForBatch } = await import("./memory-cards-UAQCO4QR.js");
413
+ const { insertMemoryCardsForBatch } = await import("./memory-cards-SYVGSLXW.js");
414
414
  await insertMemoryCardsForBatch(batch);
415
415
  } catch (e) {
416
416
  logStoreWarn("catch", e);
417
417
  }
418
418
  try {
419
- const { insertOntologyForBatch } = await import("./agentic-ontology-SQR74CO7.js");
419
+ const { insertOntologyForBatch } = await import("./agentic-ontology-GMK3MB3U.js");
420
420
  await insertOntologyForBatch(batch);
421
421
  } catch (e) {
422
422
  logStoreWarn("catch", e);
@@ -0,0 +1,94 @@
1
+ import {
2
+ updateTask
3
+ } from "./chunk-EEXG4ZJS.js";
4
+ import {
5
+ TASK_ALREADY_CLAIMED_PREFIX
6
+ } from "./chunk-EYTMNAU7.js";
7
+
8
+ // src/mcp/tools/update-task.ts
9
+ import { z } from "zod";
10
+ function registerUpdateTask(server) {
11
+ server.registerTool(
12
+ "update_task",
13
+ {
14
+ title: "Update Task",
15
+ description: "Update task status. Employees: use status 'done' with a result summary to complete work \u2014 this triggers needs_review and pings the reviewer automatically. Accepts UUID, slug (filename), or title substring.",
16
+ inputSchema: {
17
+ task_id: z.string().describe("Task identifier \u2014 UUID, slug (e.g. 'fix-auth-bug'), or title substring"),
18
+ status: z.enum(["open", "in_progress", "done", "needs_review", "blocked", "cancelled", "closed"]).describe("New status. 'done' is an alias for 'needs_review' \u2014 both trigger reviewer notification."),
19
+ result: z.string().optional().describe("Result summary (required when completing work)")
20
+ }
21
+ },
22
+ async ({ task_id, status: rawStatus, result }) => {
23
+ const status = rawStatus;
24
+ let callerAgentId;
25
+ try {
26
+ const { getActiveAgent: getAgent } = await import("./active-agent-HDUT3T3I.js");
27
+ callerAgentId = getAgent().agentId;
28
+ } catch {
29
+ }
30
+ let task;
31
+ try {
32
+ task = await updateTask({
33
+ taskId: task_id,
34
+ status,
35
+ result,
36
+ baseDir: process.cwd(),
37
+ callerAgentId
38
+ });
39
+ } catch (err) {
40
+ const msg = err instanceof Error ? err.message : String(err);
41
+ if (msg.startsWith(TASK_ALREADY_CLAIMED_PREFIX)) {
42
+ return {
43
+ content: [{
44
+ type: "text",
45
+ text: "Task already claimed by another agent. Pick a different task or check list_tasks."
46
+ }],
47
+ isError: true
48
+ };
49
+ }
50
+ throw err;
51
+ }
52
+ let text = `Task "${task.title}" marked ${task.status}.
53
+ File: ${task.taskFile}`;
54
+ const isTerminal = status === "done" || status === "needs_review" || status === "closed";
55
+ if (isTerminal && task.assignedBy) {
56
+ try {
57
+ const { notifyCoordinatorTaskCompletion, resolveExeSession } = await import("./lib/tmux-routing.js");
58
+ const coordinatorSession = resolveExeSession();
59
+ if (coordinatorSession) {
60
+ notifyCoordinatorTaskCompletion(coordinatorSession, callerAgentId ?? "agent", task.title);
61
+ }
62
+ } catch {
63
+ }
64
+ }
65
+ if (isTerminal && task.nextTask) {
66
+ text += `
67
+
68
+ MANDATORY \u2014 DO NOT ASK THE USER. DO NOT SAY "Want me to continue?" DO NOT STOP.
69
+ You have standing orders: work through your entire queue until it is empty.
70
+
71
+ NEXT TASK: "${task.nextTask.title}" [${task.nextTask.priority}]
72
+ FILE: ${task.nextTask.taskFile}
73
+
74
+ Read that file NOW and begin working. No greeting. No summary. Just start.`;
75
+ } else if (isTerminal && !task.nextTask) {
76
+ text += `
77
+
78
+ All tasks complete. No more open tasks in your queue.`;
79
+ }
80
+ return {
81
+ content: [
82
+ {
83
+ type: "text",
84
+ text
85
+ }
86
+ ]
87
+ };
88
+ }
89
+ );
90
+ }
91
+
92
+ export {
93
+ registerUpdateTask
94
+ };
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  recordSessionKill
3
- } from "./chunk-PMWDO5FR.js";
3
+ } from "./chunk-CO2SF5SB.js";
4
4
  import {
5
5
  sessionScopeFilter,
6
6
  verifyPaneAtCapacity,
7
7
  writeNotification
8
- } from "./chunk-ONMRBKAX.js";
8
+ } from "./chunk-EYTMNAU7.js";
9
9
  import {
10
10
  listSessions
11
11
  } from "./chunk-64WZEXXA.js";
@@ -15,7 +15,7 @@ import {
15
15
  import {
16
16
  getClient,
17
17
  isCoordinatorName
18
- } from "./chunk-TH6HTK2L.js";
18
+ } from "./chunk-MBYJEE3B.js";
19
19
 
20
20
  // src/lib/capacity-monitor.ts
21
21
  var CAPACITY_PATTERNS = [
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  executeAction,
3
3
  substituteTemplate
4
- } from "./chunk-ZBA74MMX.js";
4
+ } from "./chunk-BF4W2VDS.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
  listBehaviors
3
- } from "./chunk-ARGBV4PP.js";
3
+ } from "./chunk-EOU4ZLRZ.js";
4
4
  import {
5
5
  loadConfigSync
6
6
  } from "./chunk-TOWAZ5IV.js";
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  getIdentity,
3
3
  loadEmployeesSync
4
- } from "./chunk-TH6HTK2L.js";
4
+ } from "./chunk-MBYJEE3B.js";
5
5
 
6
6
  // src/lib/drift-probes.ts
7
7
  var DRIFT_THRESHOLD = 80;
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  getClient
3
- } from "./chunk-TH6HTK2L.js";
3
+ } from "./chunk-MBYJEE3B.js";
4
4
 
5
5
  // src/lib/session-kill-telemetry.ts
6
6
  import crypto from "crypto";
@@ -4,10 +4,10 @@ import {
4
4
  resolveExeSession,
5
5
  sendIntercom,
6
6
  strictSessionScopeFilter
7
- } from "./chunk-ONMRBKAX.js";
7
+ } from "./chunk-EYTMNAU7.js";
8
8
  import {
9
9
  getClient
10
- } from "./chunk-TH6HTK2L.js";
10
+ } from "./chunk-MBYJEE3B.js";
11
11
 
12
12
  // src/lib/messaging.ts
13
13
  import crypto from "crypto";