@askexenow/exe-os 0.9.135 → 0.9.136

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 (245) hide show
  1. package/dist/{active-agent-5Z4ZFQZD.js → active-agent-DZXEPRY7.js} +3 -3
  2. package/dist/{active-agent-VCMF6TCC.js → active-agent-EFZ6YZIM.js} +3 -3
  3. package/dist/{agentic-ontology-F7DQUWYK.js → agentic-ontology-2TD5YS4O.js} +1 -1
  4. package/dist/{backfill-metadata-XXBEIM6J.js → backfill-metadata-5LNLRCA6.js} +6 -6
  5. package/dist/{background-jobs-ATB73RFI.js → background-jobs-6V4GQ5QT.js} +2 -2
  6. package/dist/{behaviors-WKTZOWL2.js → behaviors-PPFGGHYD.js} +5 -5
  7. package/dist/bin/age-ontology-load.js +2 -2
  8. package/dist/bin/agentic-ontology-backfill.js +8 -8
  9. package/dist/bin/agentic-reflection-backfill.js +9 -9
  10. package/dist/bin/agentic-semantic-label.js +8 -8
  11. package/dist/bin/backfill-conversations.js +8 -8
  12. package/dist/bin/backfill-responses.js +8 -8
  13. package/dist/bin/backfill-vectors.js +10 -10
  14. package/dist/bin/bulk-sync-postgres.js +9 -9
  15. package/dist/bin/cc-doctor.js +3 -3
  16. package/dist/bin/cleanup-stale-review-tasks.js +10 -10
  17. package/dist/bin/cli.js +15 -15
  18. package/dist/bin/customer-readiness.js +5 -0
  19. package/dist/bin/exe-agent-config.js +3 -3
  20. package/dist/bin/exe-agent.js +6 -6
  21. package/dist/bin/exe-assign.js +10 -10
  22. package/dist/bin/exe-boot.js +17 -17
  23. package/dist/bin/exe-call.js +6 -6
  24. package/dist/bin/exe-cloud.js +15 -8
  25. package/dist/bin/exe-dispatch.js +11 -11
  26. package/dist/bin/exe-doctor.js +1 -1
  27. package/dist/bin/exe-export-behaviors.js +9 -9
  28. package/dist/bin/exe-forget.js +8 -8
  29. package/dist/bin/exe-gateway.js +6 -6
  30. package/dist/bin/exe-healthcheck.js +3 -3
  31. package/dist/bin/exe-heartbeat.js +10 -10
  32. package/dist/bin/exe-kill.js +8 -8
  33. package/dist/bin/exe-launch-agent.js +13 -13
  34. package/dist/bin/exe-new-employee.js +13 -20
  35. package/dist/bin/exe-pending-messages.js +11 -11
  36. package/dist/bin/exe-pending-notifications.js +10 -10
  37. package/dist/bin/exe-pending-reviews.js +10 -10
  38. package/dist/bin/exe-rename.js +6 -6
  39. package/dist/bin/exe-review.js +7 -7
  40. package/dist/bin/exe-search.js +7 -7
  41. package/dist/bin/exe-session-cleanup.js +14 -14
  42. package/dist/bin/exe-settings.js +8 -8
  43. package/dist/bin/exe-start-codex.js +14 -14
  44. package/dist/bin/exe-start-opencode.js +10 -10
  45. package/dist/bin/exe-status.js +11 -11
  46. package/dist/bin/exe-support.js +3 -3
  47. package/dist/bin/exe-team.js +5 -5
  48. package/dist/bin/git-sweep.js +10 -10
  49. package/dist/bin/graph-backfill.js +7 -7
  50. package/dist/bin/graph-export.js +7 -7
  51. package/dist/bin/install.js +7 -7
  52. package/dist/bin/intercom-check.js +4 -4
  53. package/dist/bin/postgres-agentic-reflection-backfill.js +4 -4
  54. package/dist/bin/postgres-agentic-semantic-backfill.js +3 -3
  55. package/dist/bin/scan-tasks.js +10 -10
  56. package/dist/bin/setup.js +2 -2
  57. package/dist/bin/shard-migrate.js +7 -7
  58. package/dist/bin/stack-update.js +2 -2
  59. package/dist/{capacity-monitor-SD7TFRI7.js → capacity-monitor-PFHHXTEN.js} +11 -11
  60. package/dist/{catchup-brief-ZZE67H6X.js → catchup-brief-Y75GOHWU.js} +12 -12
  61. package/dist/{chunk-7525VIRY.js → chunk-2CKP7O4F.js} +1 -1
  62. package/dist/{chunk-TCLLBHWX.js → chunk-2SXMWUOQ.js} +1 -1
  63. package/dist/{chunk-TGAZBOQV.js → chunk-37LVIZ3P.js} +2 -2
  64. package/dist/{chunk-SG3JQDRS.js → chunk-3BVZNKAZ.js} +5 -5
  65. package/dist/{chunk-K3ICF4GD.js → chunk-3UKHLUXH.js} +1 -1
  66. package/dist/{chunk-7K4OTYL4.js → chunk-4ADWX7S6.js} +9 -9
  67. package/dist/{chunk-UQFWCTKE.js → chunk-5DZTDWFU.js} +1 -1
  68. package/dist/{chunk-QOR7M5WH.js → chunk-5NLZS5KX.js} +3 -3
  69. package/dist/{chunk-UQQJV7DB.js → chunk-5XNCH6UM.js} +4 -4
  70. package/dist/{chunk-7CUQQAZH.js → chunk-6ZXIG7R6.js} +4 -4
  71. package/dist/{chunk-ZC37J6BF.js → chunk-A63V4QMR.js} +62 -62
  72. package/dist/{chunk-TOIDMYUI.js → chunk-ARQQ4T47.js} +1 -1
  73. package/dist/{chunk-JGHS2M7L.js → chunk-ARZWYVYC.js} +4 -4
  74. package/dist/{chunk-H3QAD2WH.js → chunk-AVUQCUZC.js} +1 -1
  75. package/dist/{chunk-2FBEH3A3.js → chunk-BI3COBMQ.js} +1 -1
  76. package/dist/{chunk-LSDG5VMO.js → chunk-BPLXSBNM.js} +1 -1
  77. package/dist/{chunk-J2Q3TSEM.js → chunk-CTEENZVZ.js} +7 -7
  78. package/dist/{chunk-5GTTS5HP.js → chunk-D7FYU6DX.js} +2 -2
  79. package/dist/{chunk-MFEYHPQD.js → chunk-DIQOUMHM.js} +2 -2
  80. package/dist/{chunk-5XDQJUZV.js → chunk-E2XB56OH.js} +2 -2
  81. package/dist/{chunk-B46U2TYB.js → chunk-FM4UBRBE.js} +7 -7
  82. package/dist/{chunk-WXRFX7C2.js → chunk-G2HJSPM4.js} +2 -2
  83. package/dist/{chunk-5B6EK7TA.js → chunk-GERMZD6I.js} +2 -2
  84. package/dist/{chunk-2HL4VLOK.js → chunk-GISRZK6K.js} +5 -5
  85. package/dist/{chunk-LPZ6UYNK.js → chunk-GU2Z6K2T.js} +2 -2
  86. package/dist/{chunk-6TNLZ3XL.js → chunk-IMZM3H6N.js} +4 -4
  87. package/dist/{chunk-JBDY3SWN.js → chunk-ISRQKXHM.js} +0 -2
  88. package/dist/{chunk-CGRQVRIF.js → chunk-IUKRBQ2B.js} +3 -3
  89. package/dist/{chunk-WIR7ISPK.js → chunk-J7LFCZMQ.js} +57 -16
  90. package/dist/{chunk-NALLK6IN.js → chunk-JXYZVTBX.js} +1 -1
  91. package/dist/{chunk-SC444GZ6.js → chunk-K7E72WGL.js} +1 -1
  92. package/dist/{chunk-SXMHIS42.js → chunk-KDM3GZ6T.js} +2 -2
  93. package/dist/{chunk-LNGM5OHX.js → chunk-KHUJEI3A.js} +2 -2
  94. package/dist/{chunk-RPH5MQWS.js → chunk-KQW5PWOA.js} +2 -2
  95. package/dist/{chunk-HV3NRFAG.js → chunk-KSFOG6FJ.js} +1 -1
  96. package/dist/{chunk-XCPOD4HP.js → chunk-KTS6MOE4.js} +1 -1
  97. package/dist/{chunk-OBFB27SZ.js → chunk-M6ODLM7X.js} +1 -1
  98. package/dist/{chunk-BYGGAO5Q.js → chunk-MPZRPM5X.js} +6 -6
  99. package/dist/{chunk-FNF6ASM2.js → chunk-NBJIGVPG.js} +97 -46
  100. package/dist/{chunk-JENH7FT4.js → chunk-NFRFF6QS.js} +1 -1
  101. package/dist/{chunk-CWNH6272.js → chunk-NHLW6DUE.js} +1 -1
  102. package/dist/{chunk-CVDBI4IN.js → chunk-NR3MPNTF.js} +4 -4
  103. package/dist/{chunk-BOKXKD3V.js → chunk-NSVI6RZ5.js} +1 -1
  104. package/dist/{chunk-PDQJA34K.js → chunk-O2ENLWKX.js} +1 -1
  105. package/dist/{chunk-BZKZSA4Z.js → chunk-OMHM3NGK.js} +1 -1
  106. package/dist/{chunk-RCLALZN6.js → chunk-P6CLMRWJ.js} +1 -1
  107. package/dist/{chunk-ZE46WYO3.js → chunk-PRRSSHU3.js} +1 -1
  108. package/dist/{chunk-G4F2EKRS.js → chunk-QCYYXXO5.js} +2 -2
  109. package/dist/{chunk-YJGCJFWK.js → chunk-QKBDAHFM.js} +1 -1
  110. package/dist/{chunk-F264RXCP.js → chunk-REFUKSCU.js} +2 -2
  111. package/dist/{chunk-DTERWF6K.js → chunk-S67DRFRK.js} +1 -1
  112. package/dist/{chunk-P4INSLEM.js → chunk-SF6H4ZME.js} +1 -1
  113. package/dist/{chunk-NOMUQ6C3.js → chunk-SJWW6GRT.js} +1 -1
  114. package/dist/{chunk-NC75HFMP.js → chunk-T65APBMF.js} +3 -3
  115. package/dist/{chunk-U2PFRUJW.js → chunk-TCOTFMDP.js} +2 -2
  116. package/dist/{chunk-PM23XC7F.js → chunk-TERS54YJ.js} +2 -2
  117. package/dist/{chunk-ZJYUR3HO.js → chunk-TXRDECEW.js} +4 -4
  118. package/dist/{chunk-EKJYATYD.js → chunk-UMLRHSAP.js} +1 -1
  119. package/dist/{chunk-ZXDB3XCV.js → chunk-UXGZ3V3U.js} +1 -1
  120. package/dist/{chunk-HWNRY6QJ.js → chunk-VAPODXIB.js} +2 -2
  121. package/dist/{chunk-32KXWG3Q.js → chunk-VIONSYFC.js} +1 -1
  122. package/dist/{chunk-UVBTYTNG.js → chunk-W7G2DOLC.js} +2 -2
  123. package/dist/{chunk-F53H7WLK.js → chunk-WQ6FW5JD.js} +1 -1
  124. package/dist/{chunk-HIDVVYWW.js → chunk-XDWCEQLH.js} +8 -8
  125. package/dist/{chunk-BFHUCGBO.js → chunk-XEZ64YCS.js} +2 -2
  126. package/dist/{chunk-ULNG2L4A.js → chunk-XK3P2PRN.js} +2 -2
  127. package/dist/{chunk-XJLGNOYT.js → chunk-YMMTBQQY.js} +4 -4
  128. package/dist/{chunk-PX3TSXNY.js → chunk-YTTVKPOQ.js} +1 -1
  129. package/dist/{chunk-N5V3PJUE.js → chunk-ZJ7N6BNZ.js} +2 -2
  130. package/dist/{chunk-DFQ3VHJQ.js → chunk-ZKYHW6KY.js} +1 -1
  131. package/dist/{chunk-NJ5FQH6Y.js → chunk-ZNWYU3VE.js} +4 -4
  132. package/dist/{code-context-index-RZOVUUQJ.js → code-context-index-I7JC7DPM.js} +4 -4
  133. package/dist/{conversation-wiki-populator-XVPHVT3R.js → conversation-wiki-populator-L24LNYDL.js} +1 -1
  134. package/dist/{crdt-sync-4K7EAN7H.js → crdt-sync-UUJDUXTJ.js} +1 -1
  135. package/dist/{crm-webhook-F2FP2XPU.js → crm-webhook-UXZORR4I.js} +2 -2
  136. package/dist/{cto-delegation-gate-LRAXRSDW.js → cto-delegation-gate-7MIMXB4T.js} +9 -9
  137. package/dist/{daemon-auth-STCSTDRT.js → daemon-auth-IFWQGMDT.js} +2 -2
  138. package/dist/{daemon-orchestration-R76H4QCE.js → daemon-orchestration-FIL7U2RV.js} +11 -11
  139. package/dist/{db-backup-X46NRH47.js → db-backup-RZA3JICI.js} +2 -2
  140. package/dist/{exe-drift-IKGS64KM.js → exe-drift-D7YCMMR3.js} +6 -6
  141. package/dist/{exe-export-3Z4ISZRQ.js → exe-export-YKP26EW6.js} +8 -8
  142. package/dist/{exe-import-I4C4ZFCX.js → exe-import-HSQORBEH.js} +8 -8
  143. package/dist/{exe-key-ADZ2AXQW.js → exe-key-QLXFQGNV.js} +4 -4
  144. package/dist/{exe-org-MHIWMBBQ.js → exe-org-F56R5P37.js} +2 -2
  145. package/dist/{fast-db-init-HT4JSB7L.js → fast-db-init-RFYRERZL.js} +1 -1
  146. package/dist/gateway/index.js +8 -8
  147. package/dist/{git-staleness-UWXPNRR4.js → git-staleness-2IBA7MM2.js} +4 -4
  148. package/dist/{git-task-sweep-2I2QZTM6.js → git-task-sweep-ZZQHHVXR.js} +10 -10
  149. package/dist/{global-procedures-XC3FSAHU.js → global-procedures-6B5JT3B5.js} +5 -5
  150. package/dist/hooks/bug-report-worker.js +13 -13
  151. package/dist/hooks/codex-stop-task-finalizer.js +13 -13
  152. package/dist/hooks/commit-complete.js +12 -12
  153. package/dist/hooks/error-recall.js +8 -8
  154. package/dist/hooks/exe-heartbeat-hook.js +3 -3
  155. package/dist/hooks/ingest-worker.js +5 -5
  156. package/dist/hooks/ingest.js +7 -7
  157. package/dist/hooks/instructions-loaded.js +7 -7
  158. package/dist/hooks/notification.js +4 -4
  159. package/dist/hooks/post-compact.js +11 -11
  160. package/dist/hooks/post-tool-combined.js +5 -5
  161. package/dist/hooks/pre-compact.js +16 -16
  162. package/dist/hooks/pre-tool-use.js +15 -15
  163. package/dist/hooks/prompt-submit.js +19 -19
  164. package/dist/hooks/session-end.js +20 -20
  165. package/dist/hooks/session-start.js +7 -7
  166. package/dist/hooks/stop.js +17 -17
  167. package/dist/hooks/subagent-stop.js +11 -11
  168. package/dist/hooks/summary-worker.js +19 -19
  169. package/dist/index.js +17 -17
  170. package/dist/{installer-4M35AQEU.js → installer-EIUTCCHV.js} +5 -5
  171. package/dist/{installer-U2JNFXOK.js → installer-GDMELU5L.js} +5 -5
  172. package/dist/{installer-LBYEM5CW.js → installer-WZEN2XJ7.js} +5 -5
  173. package/dist/{key-backup-status-TJA5I4HI.js → key-backup-status-NMUFOHXW.js} +1 -1
  174. package/dist/lib/agent-config.js +2 -2
  175. package/dist/lib/cloud-sync.js +11 -7
  176. package/dist/lib/config.js +1 -1
  177. package/dist/lib/consolidation.js +7 -7
  178. package/dist/lib/database.js +4 -4
  179. package/dist/lib/db-daemon-client.js +3 -3
  180. package/dist/lib/db.js +4 -4
  181. package/dist/lib/device-registry.js +1 -1
  182. package/dist/lib/embedder.js +4 -4
  183. package/dist/lib/employee-templates.js +6 -6
  184. package/dist/lib/employees.js +2 -2
  185. package/dist/lib/exe-daemon-client.js +3 -3
  186. package/dist/lib/exe-daemon.js +297 -50
  187. package/dist/lib/hybrid-search.js +7 -7
  188. package/dist/lib/identity.js +5 -5
  189. package/dist/lib/license.js +2 -2
  190. package/dist/lib/messaging.js +10 -10
  191. package/dist/lib/reminders.js +5 -5
  192. package/dist/lib/schedules.js +7 -7
  193. package/dist/lib/skill-learning.js +6 -6
  194. package/dist/lib/store.js +6 -6
  195. package/dist/lib/task-router.js +3 -3
  196. package/dist/lib/tasks.js +12 -12
  197. package/dist/lib/tmux-routing.js +9 -9
  198. package/dist/lib/token-spend.js +5 -5
  199. package/dist/{license-gate-MX5ZWMYM.js → license-gate-VMGC326L.js} +3 -3
  200. package/dist/mcp/register-tools.js +60 -60
  201. package/dist/mcp/server.js +61 -61
  202. package/dist/mcp/tools/complete-reminder.js +6 -6
  203. package/dist/mcp/tools/create-reminder.js +6 -6
  204. package/dist/mcp/tools/create-task.js +14 -14
  205. package/dist/mcp/tools/deactivate-behavior.js +7 -7
  206. package/dist/mcp/tools/list-reminders.js +6 -6
  207. package/dist/mcp/tools/list-tasks.js +14 -14
  208. package/dist/mcp/tools/send-message.js +12 -12
  209. package/dist/mcp/tools/update-task.js +13 -13
  210. package/dist/{mcp-http-config-N7T35WCM.js → mcp-http-config-WPF5MBSO.js} +3 -3
  211. package/dist/{memory-cards-5F4IQQYX.js → memory-cards-MA5SIQKN.js} +4 -4
  212. package/dist/{memory-queue-FOCGY2LO.js → memory-queue-QX6UY4BP.js} +2 -2
  213. package/dist/{memory-queue-client-OVO7YLJJ.js → memory-queue-client-AG2QB6PK.js} +5 -5
  214. package/dist/{memory-reflection-2XLGAFPO.js → memory-reflection-VHCEW3UN.js} +4 -4
  215. package/dist/{notifications-VBTAHI35.js → notifications-NY2OVCDV.js} +9 -9
  216. package/dist/{orchestration-phase-PEAJAA6F.js → orchestration-phase-YKDZDERC.js} +2 -2
  217. package/dist/{orchestrator-JKCBGSKL.js → orchestrator-ZVOTKKV6.js} +12 -12
  218. package/dist/{plan-limits-N5Q6M7TX.js → plan-limits-UQTXKXJQ.js} +6 -6
  219. package/dist/{projection-worker-2A3JQIU2.js → projection-worker-UL47LRTS.js} +2 -2
  220. package/dist/{reranker-DFEFSWBV.js → reranker-EEX3UEA2.js} +2 -2
  221. package/dist/runtime/index.js +13 -13
  222. package/dist/{session-events-JUCYTOFB.js → session-events-DU6PKAJN.js} +10 -10
  223. package/dist/{session-kill-telemetry-6Y4AKJEO.js → session-kill-telemetry-5XGSTQJS.js} +5 -5
  224. package/dist/{session-scope-XF5ZIUF4.js → session-scope-WJRSCUKP.js} +10 -10
  225. package/dist/{setup-wizard-TMXGF64O.js → setup-wizard-36V5GCGG.js} +2 -2
  226. package/dist/{shard-manager-V6J6QHZ5.js → shard-manager-4QLCI2RC.js} +2 -2
  227. package/dist/{task-scope-CULJLUKF.js → task-scope-7XCYEZAG.js} +9 -9
  228. package/dist/{tasks-crud-BLLW4V65.js → tasks-crud-DUNJJUV3.js} +10 -10
  229. package/dist/{tasks-review-BYV33QEA.js → tasks-review-BPSW2TBZ.js} +9 -9
  230. package/dist/{tool-capability-index-Z6JVOY52.js → tool-capability-index-XYEJ57EL.js} +1 -1
  231. package/dist/{tool-telemetry-QULJ7R5K.js → tool-telemetry-Q6ZSUTHS.js} +1 -1
  232. package/dist/tui/App.js +22 -22
  233. package/dist/{tui-data-UWRAVNRE.js → tui-data-GUMMW3IG.js} +9 -9
  234. package/dist/{worker-gate-XQGJMV7V.js → worker-gate-IHFHRPF5.js} +2 -2
  235. package/dist/{workflow-engine-R27UQ6UZ.js → workflow-engine-A6K4MHN3.js} +1 -1
  236. package/package.json +1 -1
  237. /package/dist/{chunk-E4AZQH6U.js → chunk-4AZA3DZM.js} +0 -0
  238. /package/dist/{chunk-4B6D4WX7.js → chunk-7U65IF2W.js} +0 -0
  239. /package/dist/{chunk-75GJADBE.js → chunk-FR5FFQ6G.js} +0 -0
  240. /package/dist/{chunk-TGCOB7MO.js → chunk-ISPV5JR2.js} +0 -0
  241. /package/dist/{chunk-KAOD42BV.js → chunk-KI3UEJUR.js} +0 -0
  242. /package/dist/{chunk-GRD5UQXZ.js → chunk-M6FENV7U.js} +0 -0
  243. /package/dist/{chunk-R7NM4KAJ.js → chunk-RCKUCKED.js} +0 -0
  244. /package/dist/{wiki-acl-XI33GTP7.js → wiki-acl-QY5EXWEQ.js} +0 -0
  245. /package/dist/{wiki-client-BVPFZW5I.js → wiki-client-ZWA545PZ.js} +0 -0
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  vectorToBlob
3
- } from "./chunk-7K4OTYL4.js";
3
+ } from "./chunk-4ADWX7S6.js";
4
4
  import {
5
5
  init_employees,
6
6
  isCoordinatorName
7
- } from "./chunk-DFQ3VHJQ.js";
7
+ } from "./chunk-ZKYHW6KY.js";
8
8
 
9
9
  // src/lib/consolidation.ts
10
10
  import { randomUUID } from "crypto";
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  routeTask
3
- } from "./chunk-ZE46WYO3.js";
3
+ } from "./chunk-PRRSSHU3.js";
4
4
  import {
5
5
  createTaskCore,
6
6
  init_tasks_crud
7
- } from "./chunk-2HL4VLOK.js";
7
+ } from "./chunk-GISRZK6K.js";
8
8
  import {
9
9
  employeeSessionName,
10
10
  ensureEmployee,
@@ -13,12 +13,12 @@ import {
13
13
  init_tmux_routing,
14
14
  isEmployeeAlive,
15
15
  sessionScopeFilter
16
- } from "./chunk-J2Q3TSEM.js";
16
+ } from "./chunk-CTEENZVZ.js";
17
17
  import {
18
18
  DEFAULT_COORDINATOR_TEMPLATE_NAME,
19
19
  getCoordinatorName,
20
20
  init_employees
21
- } from "./chunk-DFQ3VHJQ.js";
21
+ } from "./chunk-ZKYHW6KY.js";
22
22
 
23
23
  // src/runtime/orchestrator.ts
24
24
  init_employees();
@@ -266,9 +266,7 @@ var init_config = __esm({
266
266
  sessionLifecycle: {
267
267
  idleKillEnabled: true,
268
268
  idleKillTicksRequired: 10,
269
- // ~5 min at 30s tick. Was 3 (~90s) — too aggressive, killed healthy sessions.
270
269
  idleKillIntercomAckWindowMs: 6e4,
271
- // 60s grace after intercom ack. Was 10s — too narrow.
272
270
  maxAutoInstances: 10
273
271
  },
274
272
  apiWatchdog: {
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  init_tasks
3
- } from "./chunk-WIR7ISPK.js";
3
+ } from "./chunk-J7LFCZMQ.js";
4
4
  import {
5
5
  getProjectName,
6
6
  init_project_name
7
7
  } from "./chunk-LPGBKR4H.js";
8
8
  import {
9
9
  getActiveAgent
10
- } from "./chunk-U2PFRUJW.js";
10
+ } from "./chunk-TCOTFMDP.js";
11
11
  import {
12
12
  listTasks
13
- } from "./chunk-2HL4VLOK.js";
13
+ } from "./chunk-GISRZK6K.js";
14
14
 
15
15
  // src/mcp/tools/list-tasks.ts
16
16
  init_tasks();
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  init_session_scope,
3
3
  session_scope_exports
4
- } from "./chunk-HWNRY6QJ.js";
4
+ } from "./chunk-VAPODXIB.js";
5
5
  import {
6
6
  createTaskCore,
7
7
  deleteTaskCore,
8
8
  init_tasks_crud,
9
9
  updateTaskStatus
10
- } from "./chunk-2HL4VLOK.js";
10
+ } from "./chunk-GISRZK6K.js";
11
11
  import {
12
12
  cleanupReviewFile,
13
13
  employeeSessionName,
@@ -22,7 +22,7 @@ import {
22
22
  sendIntercom,
23
23
  sessionScopeFilter,
24
24
  writeNotification
25
- } from "./chunk-J2Q3TSEM.js";
25
+ } from "./chunk-CTEENZVZ.js";
26
26
  import {
27
27
  getTransport,
28
28
  init_transport
@@ -38,17 +38,17 @@ import {
38
38
  import {
39
39
  getClient,
40
40
  init_database
41
- } from "./chunk-N5V3PJUE.js";
41
+ } from "./chunk-ZJ7N6BNZ.js";
42
42
  import {
43
43
  getCoordinatorName,
44
44
  init_employees,
45
45
  isCoordinatorName,
46
46
  isMultiInstance
47
- } from "./chunk-DFQ3VHJQ.js";
47
+ } from "./chunk-ZKYHW6KY.js";
48
48
  import {
49
49
  EXE_AI_DIR,
50
50
  init_config
51
- } from "./chunk-JBDY3SWN.js";
51
+ } from "./chunk-ISRQKXHM.js";
52
52
  import {
53
53
  __esm,
54
54
  __toCommonJS
@@ -265,7 +265,9 @@ async function updateTask(input) {
265
265
  } catch {
266
266
  }
267
267
  }
268
- } catch {
268
+ } catch (e) {
269
+ process.stderr.write(`[tasks] trajectory tagging failed: ${e instanceof Error ? e.message : String(e)}
270
+ `);
269
271
  }
270
272
  if (input.status === "done" || input.status === "closed") {
271
273
  await cleanupReviewFile(row, taskFile, input.baseDir);
@@ -280,7 +282,9 @@ async function updateTask(input) {
280
282
  WHERE title LIKE ? ESCAPE '\\' AND status IN ('open', 'in_progress')`,
281
283
  args: [now, `%left '${escaped}' as in\\_progress%`]
282
284
  });
283
- } catch {
285
+ } catch (e) {
286
+ process.stderr.write(`[tasks] shadow task cleanup failed: ${e instanceof Error ? e.message : String(e)}
287
+ `);
284
288
  }
285
289
  const assignedAgent = String(row.assigned_to);
286
290
  if (!isCoordinatorName(assignedAgent)) {
@@ -298,7 +302,9 @@ async function updateTask(input) {
298
302
  args: [now2, assignedAgent]
299
303
  });
300
304
  }
301
- } catch {
305
+ } catch (e) {
306
+ process.stderr.write(`[tasks] draft memory promotion/purge failed: ${e instanceof Error ? e.message : String(e)}
307
+ `);
302
308
  }
303
309
  }
304
310
  try {
@@ -314,7 +320,9 @@ async function updateTask(input) {
314
320
  `
315
321
  );
316
322
  }
317
- } catch {
323
+ } catch (e) {
324
+ process.stderr.write(`[tasks] review cascade close failed: ${e instanceof Error ? e.message : String(e)}
325
+ `);
318
326
  }
319
327
  }
320
328
  const isTerminal = input.status === "done" || input.status === "needs_review" || input.status === "closed";
@@ -323,10 +331,33 @@ async function updateTask(input) {
323
331
  if (!isCoordinator) {
324
332
  notifyTaskDone();
325
333
  }
334
+ if ((input.status === "done" || input.status === "needs_review") && row.reviewer && !isCoordinator) {
335
+ try {
336
+ const reviewer = String(row.reviewer);
337
+ const { sendIntercom: sendIntercom2, resolveExeSession: resolveExeSession2 } = await import("./lib/tmux-routing.js");
338
+ const exeSession = resolveExeSession2();
339
+ if (exeSession) {
340
+ const reviewerSession = `${reviewer}-${exeSession}`;
341
+ const result = sendIntercom2(reviewerSession);
342
+ if (result === "failed") {
343
+ if (isCoordinatorName(reviewer)) {
344
+ sendIntercom2(exeSession);
345
+ }
346
+ }
347
+ process.stderr.write(
348
+ `[tasks] auto-notified reviewer "${reviewer}" for "${String(row.title)}"
349
+ `
350
+ );
351
+ }
352
+ } catch (e) {
353
+ process.stderr.write(`[tasks] reviewer notification failed: ${e instanceof Error ? e.message : String(e)}
354
+ `);
355
+ }
356
+ }
326
357
  await markTaskNotificationsRead(taskFile);
327
358
  if (input.status === "needs_review" && !isCoordinator) {
328
359
  try {
329
- const { writeNotification: writeNotification2 } = await import("./notifications-VBTAHI35.js");
360
+ const { writeNotification: writeNotification2 } = await import("./notifications-NY2OVCDV.js");
330
361
  await writeNotification2({
331
362
  agentId: String(row.assigned_to),
332
363
  agentRole: String(row.assigned_to),
@@ -335,13 +366,17 @@ async function updateTask(input) {
335
366
  summary: `"${String(row.title)}" is ready for review`,
336
367
  taskFile
337
368
  });
338
- } catch {
369
+ } catch (e) {
370
+ process.stderr.write(`[tasks] needs_review notification failed: ${e instanceof Error ? e.message : String(e)}
371
+ `);
339
372
  }
340
373
  }
341
374
  if (input.status === "done" || input.status === "closed") {
342
375
  try {
343
376
  await cascadeUnblock(taskId, input.baseDir, now);
344
- } catch {
377
+ } catch (e) {
378
+ process.stderr.write(`[tasks] cascade unblock failed: ${e instanceof Error ? e.message : String(e)}
379
+ `);
345
380
  }
346
381
  orgBus.emit({
347
382
  type: "task_completed",
@@ -353,7 +388,9 @@ async function updateTask(input) {
353
388
  if (row.parent_task_id) {
354
389
  try {
355
390
  await checkSubtaskCompletion(String(row.parent_task_id), String(row.project_name));
356
- } catch {
391
+ } catch (e) {
392
+ process.stderr.write(`[tasks] subtask completion check failed: ${e instanceof Error ? e.message : String(e)}
393
+ `);
357
394
  }
358
395
  }
359
396
  }
@@ -361,7 +398,9 @@ async function updateTask(input) {
361
398
  if (input.status === "cancelled") {
362
399
  try {
363
400
  await cascadeUnblock(taskId, input.baseDir, now);
364
- } catch {
401
+ } catch (e) {
402
+ process.stderr.write(`[tasks] cancelled cascade unblock failed: ${e instanceof Error ? e.message : String(e)}
403
+ `);
365
404
  }
366
405
  }
367
406
  if ((input.status === "done" || input.status === "closed") && !isCoordinatorName(String(row.assigned_to)) && !process.env.VITEST) {
@@ -383,7 +422,9 @@ async function updateTask(input) {
383
422
  if (isTerminal && !isCoordinatorName(String(row.assigned_to))) {
384
423
  try {
385
424
  nextTask = await findNextTask(String(row.assigned_to));
386
- } catch {
425
+ } catch (e) {
426
+ process.stderr.write(`[tasks] task chaining failed: ${e instanceof Error ? e.message : String(e)}
427
+ `);
387
428
  }
388
429
  }
389
430
  return {
@@ -2,7 +2,7 @@ import {
2
2
  checkLicense,
3
3
  init_license,
4
4
  loadLicense
5
- } from "./chunk-EKJYATYD.js";
5
+ } from "./chunk-UMLRHSAP.js";
6
6
 
7
7
  // src/lib/license-gate.ts
8
8
  init_license();
@@ -6,7 +6,7 @@ import {
6
6
  import {
7
7
  EXE_AI_DIR,
8
8
  init_config
9
- } from "./chunk-JBDY3SWN.js";
9
+ } from "./chunk-ISRQKXHM.js";
10
10
  import {
11
11
  enforcePrivateFileSync,
12
12
  ensurePrivateDirSync,
@@ -2,11 +2,11 @@ import {
2
2
  ensureDaemonToken,
3
3
  init_daemon_auth,
4
4
  readDaemonToken
5
- } from "./chunk-CWNH6272.js";
5
+ } from "./chunk-NHLW6DUE.js";
6
6
  import {
7
7
  EXE_AI_DIR,
8
8
  init_config
9
- } from "./chunk-JBDY3SWN.js";
9
+ } from "./chunk-ISRQKXHM.js";
10
10
  import {
11
11
  __esm
12
12
  } from "./chunk-KFQGP6VL.js";
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  getClient,
3
3
  init_database
4
- } from "./chunk-N5V3PJUE.js";
4
+ } from "./chunk-ZJ7N6BNZ.js";
5
5
  import {
6
6
  EXE_AI_DIR,
7
7
  init_config
8
- } from "./chunk-JBDY3SWN.js";
8
+ } from "./chunk-ISRQKXHM.js";
9
9
 
10
10
  // src/lib/identity.ts
11
11
  init_config();
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-SPKE5ANC.js";
4
4
  import {
5
5
  buildClaudeHttpMcpEntry
6
- } from "./chunk-XCPOD4HP.js";
6
+ } from "./chunk-KTS6MOE4.js";
7
7
  import {
8
8
  EXE_HOOKS,
9
9
  isLegacyHomeDirHookCommand,
@@ -12,7 +12,7 @@ import {
12
12
  import {
13
13
  ensureAllAgentSymlinks,
14
14
  init_agent_symlinks
15
- } from "./chunk-LSDG5VMO.js";
15
+ } from "./chunk-BPLXSBNM.js";
16
16
  import {
17
17
  MCP_LEGACY_KEY,
18
18
  MCP_PRIMARY_KEY,
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  EXE_AI_DIR,
3
3
  init_config
4
- } from "./chunk-JBDY3SWN.js";
4
+ } from "./chunk-ISRQKXHM.js";
5
5
  import {
6
6
  __esm,
7
7
  __export
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  employees_exports,
3
3
  init_employees
4
- } from "./chunk-DFQ3VHJQ.js";
4
+ } from "./chunk-ZKYHW6KY.js";
5
5
  import {
6
6
  __toCommonJS
7
7
  } from "./chunk-KFQGP6VL.js";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  writeMemoryViaDaemon
3
- } from "./chunk-G4F2EKRS.js";
3
+ } from "./chunk-QCYYXXO5.js";
4
4
 
5
5
  // src/lib/auto-checkpoint.ts
6
6
  var FILE_RE = /(?:^|\s)([\w./-]+\.(?:ts|tsx|js|jsx|json|md|yml|yaml|sql|go|py|css|scss|html|sh))(?:\b|$)/g;
@@ -589,7 +589,7 @@ function auditHookOwnership() {
589
589
  }
590
590
  async function auditShards() {
591
591
  try {
592
- const { auditShardHealth } = await import("./shard-manager-V6J6QHZ5.js");
592
+ const { auditShardHealth } = await import("./shard-manager-4QLCI2RC.js");
593
593
  const report = await auditShardHealth();
594
594
  return {
595
595
  total: report.total,
@@ -605,7 +605,7 @@ async function auditShards() {
605
605
  async function auditKeyHealth() {
606
606
  try {
607
607
  const { getMasterKey } = await import("./lib/keychain.js");
608
- const { getKeyBackupStatus } = await import("./key-backup-status-TJA5I4HI.js");
608
+ const { getKeyBackupStatus } = await import("./key-backup-status-NMUFOHXW.js");
609
609
  const key = await getMasterKey();
610
610
  const backup = getKeyBackupStatus();
611
611
  return {
@@ -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-XQGJMV7V.js");
833
+ const { tryAcquireWorkerSlot, registerWorkerPid } = await import("./worker-gate-IHFHRPF5.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));
@@ -914,7 +914,7 @@ async function fixBloated(client, bloated, dryRun) {
914
914
  return chunksCreated;
915
915
  }
916
916
  async function fixShards(dryRun) {
917
- const { auditShardHealth } = await import("./shard-manager-V6J6QHZ5.js");
917
+ const { auditShardHealth } = await import("./shard-manager-4QLCI2RC.js");
918
918
  const report = await auditShardHealth({ repair: true, dryRun });
919
919
  return {
920
920
  total: report.total,
@@ -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-HT4JSB7L.js");
954
+ const { fastDbInit } = await import("./fast-db-init-RFYRERZL.js");
955
955
  const client = await fastDbInit();
956
956
  const report = await runAudit(client, flags);
957
957
  console.log(formatReport(report, flags));
@@ -962,7 +962,7 @@ ${mode} Applying repairs...
962
962
  `);
963
963
  if (!flags.dryRun) {
964
964
  try {
965
- const { createBackup } = await import("./db-backup-X46NRH47.js");
965
+ const { createBackup } = await import("./db-backup-RZA3JICI.js");
966
966
  const backupPath = createBackup("pre-fix");
967
967
  if (backupPath) {
968
968
  console.log(` Backup created: ${backupPath.split("/").pop()}`);