@askexenow/exe-os 0.9.336 → 0.9.338

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 (285) hide show
  1. package/dist/{active-agent-IM37G7MO.js → active-agent-EC6M7KTX.js} +3 -3
  2. package/dist/{active-agent-W5TKWMYT.js → active-agent-WHIUCHLA.js} +3 -3
  3. package/dist/{agentic-ontology-FG4YCUZG.js → agentic-ontology-RNSXGXW4.js} +1 -1
  4. package/dist/{backfill-metadata-AFXONF76.js → backfill-metadata-MFY6BHKE.js} +4 -4
  5. package/dist/{behaviors-EHEN4II7.js → behaviors-HLZUJSMP.js} +5 -5
  6. package/dist/bin/agentic-ontology-backfill.js +5 -5
  7. package/dist/bin/agentic-reflection-backfill.js +6 -6
  8. package/dist/bin/agentic-semantic-label.js +5 -5
  9. package/dist/bin/backfill-conversations.js +4 -4
  10. package/dist/bin/backfill-responses.js +4 -4
  11. package/dist/bin/backfill-vectors.js +5 -5
  12. package/dist/bin/bulk-sync-postgres.js +12 -10
  13. package/dist/bin/cc-doctor.js +4 -4
  14. package/dist/bin/cleanup-stale-review-tasks.js +14 -14
  15. package/dist/bin/cli.js +19 -16
  16. package/dist/bin/deferred-daemon-restart.js +71 -69
  17. package/dist/bin/exe-agent-config.js +3 -3
  18. package/dist/bin/exe-agent.js +14 -14
  19. package/dist/bin/exe-assign.js +5 -5
  20. package/dist/bin/exe-boot.js +24 -24
  21. package/dist/bin/exe-call.js +4 -4
  22. package/dist/bin/exe-cloud.js +12 -10
  23. package/dist/bin/exe-config-dump.js +3 -3
  24. package/dist/bin/exe-dispatch.js +14 -14
  25. package/dist/bin/exe-doctor.js +4 -4
  26. package/dist/bin/exe-export-behaviors.js +7 -7
  27. package/dist/bin/exe-forget.js +6 -6
  28. package/dist/bin/exe-gateway.js +7 -7
  29. package/dist/bin/exe-grant.js +126 -0
  30. package/dist/bin/exe-healthcheck.js +4 -4
  31. package/dist/bin/exe-heartbeat.js +14 -14
  32. package/dist/bin/exe-kill.js +17 -17
  33. package/dist/bin/exe-launch-agent.js +22 -22
  34. package/dist/bin/exe-new-employee.js +8 -8
  35. package/dist/bin/exe-pending-messages.js +15 -15
  36. package/dist/bin/exe-pending-notifications.js +14 -14
  37. package/dist/bin/exe-pending-reviews.js +14 -14
  38. package/dist/bin/exe-rename.js +4 -4
  39. package/dist/bin/exe-review.js +16 -16
  40. package/dist/bin/exe-search.js +5 -5
  41. package/dist/bin/exe-session-cleanup.js +18 -18
  42. package/dist/bin/exe-settings.js +13 -11
  43. package/dist/bin/exe-start-codex.js +12 -12
  44. package/dist/bin/exe-start-opencode.js +8 -8
  45. package/dist/bin/exe-status.js +15 -15
  46. package/dist/bin/exe-support.js +3 -3
  47. package/dist/bin/exe-team.js +3 -3
  48. package/dist/bin/git-sweep.js +15 -15
  49. package/dist/bin/graph-backfill.js +6 -6
  50. package/dist/bin/graph-export.js +5 -5
  51. package/dist/bin/import-history.js +9 -9
  52. package/dist/bin/install.js +73 -71
  53. package/dist/bin/intercom-check.js +4 -4
  54. package/dist/bin/mcp-sessions.js +2 -2
  55. package/dist/bin/orchestration-metrics.js +4 -4
  56. package/dist/bin/postgres-agentic-reflection-backfill.js +4 -4
  57. package/dist/bin/postgres-agentic-semantic-backfill.js +1 -1
  58. package/dist/bin/registry-proxy.js +1 -1
  59. package/dist/bin/scan-tasks.js +14 -14
  60. package/dist/bin/setup.js +1 -1
  61. package/dist/bin/shard-migrate.js +4 -4
  62. package/dist/bin/stack-update.js +7 -7
  63. package/dist/bin/vps-health-gate.js +1 -1
  64. package/dist/{branch-hygiene-55TKIWAZ.js → branch-hygiene-R5NVTRAY.js} +17 -15
  65. package/dist/{capability-cards-DUM76MEW.js → capability-cards-YOKVMMOL.js} +2 -2
  66. package/dist/{capacity-monitor-XY6TLPQR.js → capacity-monitor-S54IOWRL.js} +15 -15
  67. package/dist/{catchup-brief-JGRVXTBF.js → catchup-brief-S35QLMG3.js} +17 -17
  68. package/dist/{chunk-EVWJQBCW.js → chunk-2HZY3ECT.js} +5 -5
  69. package/dist/{chunk-5M7RPT2V.js → chunk-2SG2UGCH.js} +4 -4
  70. package/dist/{chunk-6E5DEC2D.js → chunk-3OBWSCJN.js} +11 -11
  71. package/dist/{chunk-VVFWJU3D.js → chunk-4IYSBPX3.js} +1 -1
  72. package/dist/{chunk-7JM2LGHO.js → chunk-52KNOQMK.js} +3 -3
  73. package/dist/{chunk-NCS7UNML.js → chunk-542EWGY3.js} +7 -7
  74. package/dist/{chunk-XUOSKPVP.js → chunk-65SVQELL.js} +1 -1
  75. package/dist/{chunk-S7LMZ6VM.js → chunk-6HBURYON.js} +1 -1
  76. package/dist/{chunk-UPH5EY5F.js → chunk-6IRVGOUL.js} +1 -1
  77. package/dist/{chunk-2DJTSJWW.js → chunk-6M36JFFD.js} +3 -3
  78. package/dist/{chunk-QWWGMK4Y.js → chunk-6MRWJMI5.js} +1 -1
  79. package/dist/{chunk-6ND3MBX7.js → chunk-7EA7LYW4.js} +2 -2
  80. package/dist/{chunk-5OM6Z22T.js → chunk-7WDXEKUL.js} +3 -3
  81. package/dist/{chunk-OMU7HDKI.js → chunk-AOO77BDE.js} +1 -1
  82. package/dist/{chunk-O2RF5NGI.js → chunk-AVKXCSBI.js} +1 -1
  83. package/dist/{chunk-JGHVEDZG.js → chunk-B2GLEEGY.js} +1 -1
  84. package/dist/chunk-B75BOKEI.js +193 -0
  85. package/dist/{chunk-SKFA42EO.js → chunk-B76TSEP3.js} +1 -1
  86. package/dist/{chunk-ELOJZIVD.js → chunk-BPC5LZ6Y.js} +1 -1
  87. package/dist/{chunk-DUSZ2ZQE.js → chunk-BU2QQWBQ.js} +1 -1
  88. package/dist/{chunk-B6QRDKL3.js → chunk-DADMPMYX.js} +1 -1
  89. package/dist/{chunk-5TWCO22U.js → chunk-DILD54TU.js} +46 -13
  90. package/dist/{chunk-YBVKLDT3.js → chunk-DZ6OQM67.js} +1 -1
  91. package/dist/{chunk-SGLZZJWX.js → chunk-EIF2LQHZ.js} +1 -1
  92. package/dist/{chunk-XYKCPHWT.js → chunk-FNZR3B7U.js} +1 -1
  93. package/dist/{chunk-X7BGMYZS.js → chunk-FUIIVSW6.js} +1 -1
  94. package/dist/{chunk-EFFE6UVN.js → chunk-GN45PBWI.js} +2 -2
  95. package/dist/{chunk-XGQU34XA.js → chunk-H2L4PHGH.js} +2 -2
  96. package/dist/{chunk-YOZJWU2I.js → chunk-H37HHX3E.js} +9 -9
  97. package/dist/{chunk-XZHA3WO2.js → chunk-HEPR6QTL.js} +4 -4
  98. package/dist/{chunk-YDTW2KYM.js → chunk-I3XKO3KQ.js} +1 -1
  99. package/dist/{chunk-W33EMSZB.js → chunk-I7Z6KTGF.js} +5 -5
  100. package/dist/{chunk-AMBCXARR.js → chunk-ISD7ZD45.js} +140 -140
  101. package/dist/chunk-JCBKARSK.js +113 -0
  102. package/dist/{chunk-2AWXDWUB.js → chunk-K5WFKEXQ.js} +67 -78
  103. package/dist/{chunk-BE7NKEGL.js → chunk-KCC5A7YL.js} +5 -5
  104. package/dist/{chunk-EGCYJ4LJ.js → chunk-KMBEL7VB.js} +1 -1
  105. package/dist/{chunk-FYPSGPYS.js → chunk-KTY7I7UH.js} +1 -1
  106. package/dist/{chunk-U5QPEYCA.js → chunk-LMZISHSJ.js} +13 -13
  107. package/dist/{chunk-AVOP32R7.js → chunk-LTVCRHHD.js} +4 -4
  108. package/dist/{chunk-6F2DZQQS.js → chunk-MQRFKSLI.js} +3 -3
  109. package/dist/{chunk-BF252PDD.js → chunk-MW2GJJ53.js} +2 -2
  110. package/dist/{chunk-K4SSTJHJ.js → chunk-N5I7RL3I.js} +1 -1
  111. package/dist/{chunk-CMZLULTW.js → chunk-OFX5B2S7.js} +1 -1
  112. package/dist/{chunk-FHOI6AFU.js → chunk-OJTJYEMX.js} +3 -3
  113. package/dist/{chunk-FQ55TZWJ.js → chunk-PAEXYFMY.js} +1 -1
  114. package/dist/{chunk-ROAUSSJI.js → chunk-PLRIJALF.js} +160 -34
  115. package/dist/{chunk-RIOJ7RWQ.js → chunk-Q7L6G6KV.js} +2 -2
  116. package/dist/{chunk-DUBZDAXS.js → chunk-QBTWXDFK.js} +9 -9
  117. package/dist/{chunk-Z6MVHWJF.js → chunk-QFPTDSY2.js} +1 -1
  118. package/dist/{chunk-4ZH65EXT.js → chunk-QXSBB26A.js} +1 -1
  119. package/dist/{chunk-UE7SPA54.js → chunk-QZLIZAS7.js} +2 -2
  120. package/dist/{chunk-LAVL2OMB.js → chunk-R44Z32O2.js} +3 -3
  121. package/dist/{chunk-QAD4YR57.js → chunk-RDTZTLVQ.js} +20 -11
  122. package/dist/{chunk-RQ3EUVVT.js → chunk-RLRT2BVM.js} +1 -1
  123. package/dist/chunk-RNAYCUNM.js +271 -0
  124. package/dist/{chunk-XDIYCXMJ.js → chunk-RRWDYOQS.js} +1 -1
  125. package/dist/{chunk-MZ222PUT.js → chunk-T4KZ2Z2N.js} +3 -3
  126. package/dist/{chunk-HDALYSEP.js → chunk-TLYAEISW.js} +2 -2
  127. package/dist/{chunk-QIJEW462.js → chunk-UIV2WPBT.js} +1 -13
  128. package/dist/{chunk-AVFMDS5Z.js → chunk-UPWE5NOG.js} +2 -2
  129. package/dist/{chunk-C5KHGDWX.js → chunk-UXBD22CD.js} +1 -1
  130. package/dist/{chunk-U3WSLO2R.js → chunk-VJHUVFIW.js} +3 -3
  131. package/dist/{chunk-SEEMHG5A.js → chunk-WYLV4S6A.js} +3 -3
  132. package/dist/{chunk-EVV2G3CW.js → chunk-X425OEYF.js} +4 -4
  133. package/dist/{chunk-RLY3O2F7.js → chunk-X7H3HMFH.js} +3 -3
  134. package/dist/{chunk-P6OW236E.js → chunk-XACL67CS.js} +1 -1
  135. package/dist/{chunk-IIEKPBKB.js → chunk-XCTGRD4S.js} +175 -11
  136. package/dist/{chunk-MS6F63JW.js → chunk-XJI7Z6LZ.js} +1 -1
  137. package/dist/{chunk-JGKV5DLX.js → chunk-XUKPALWT.js} +3 -3
  138. package/dist/{chunk-FUX5ZEB3.js → chunk-XWHE4LZK.js} +1 -1
  139. package/dist/{chunk-4E7DFDVQ.js → chunk-YE7NH53A.js} +1 -1
  140. package/dist/{chunk-N2JXHW4E.js → chunk-ZIVEA3NB.js} +1 -1
  141. package/dist/{cleanup-graph-garbage-MKSRWINB.js → cleanup-graph-garbage-KUABW6LS.js} +6 -6
  142. package/dist/{co-activation-W7QBHSUR.js → co-activation-XMPHKGHR.js} +2 -2
  143. package/dist/{co-occurrence-C5YW5JZ6.js → co-occurrence-SHKSJ6CV.js} +4 -4
  144. package/dist/{conversation-entity-extractor-FPAMTL3C.js → conversation-entity-extractor-D3EFTLT4.js} +2 -2
  145. package/dist/{crdt-sync-OTFYRPW2.js → crdt-sync-UJELKSNX.js} +1 -1
  146. package/dist/{crm-webhook-5WHYZW6K.js → crm-webhook-HHNBS7LY.js} +2 -2
  147. package/dist/{cto-delegation-gate-U2AEMPQD.js → cto-delegation-gate-DXNF5HVW.js} +13 -13
  148. package/dist/{daemon-orchestration-DIT3JLV7.js → daemon-orchestration-7QB6QOXT.js} +29 -17
  149. package/dist/{db-backup-CXNB2ZAG.js → db-backup-DLD4QZBO.js} +1 -1
  150. package/dist/{doc-graph-extractor-SDH4QDWF.js → doc-graph-extractor-3TRLGD7M.js} +4 -4
  151. package/dist/{documents-WBKAVVMO.js → documents-FHIBU7KJ.js} +5 -5
  152. package/dist/{dreaming-M23FLJDE.js → dreaming-OMFUEUCQ.js} +14 -14
  153. package/dist/{exe-drift-AZGPQH73.js → exe-drift-KY2KHZEL.js} +3 -3
  154. package/dist/{exe-export-523RIUSC.js → exe-export-SP6G3QF6.js} +6 -6
  155. package/dist/{exe-import-CCF76ZK7.js → exe-import-KJU7FBVQ.js} +6 -6
  156. package/dist/{exe-key-5ADXQDJY.js → exe-key-RWGMIHK7.js} +71 -69
  157. package/dist/{exe-snapshot-NQMKIQQO.js → exe-snapshot-ZNPGUKRZ.js} +17 -17
  158. package/dist/{fast-db-init-YDAY7TVI.js → fast-db-init-QQB6IVWV.js} +1 -1
  159. package/dist/{founder-context-CTNPSPVO.js → founder-context-PQR3BUS7.js} +2 -2
  160. package/dist/gateway/index.js +11 -11
  161. package/dist/{git-staleness-FIPWVHRJ.js → git-staleness-UGB5J3K7.js} +2 -2
  162. package/dist/{global-procedures-YT2RDNUD.js → global-procedures-R7KRREEK.js} +3 -3
  163. package/dist/{graph-auto-extract-T63GAUZF.js → graph-auto-extract-LKIQ57PL.js} +4 -4
  164. package/dist/{graph-rag-WAK2BRJH.js → graph-rag-JZZAB7PC.js} +2 -2
  165. package/dist/hooks/bug-report-worker.js +16 -16
  166. package/dist/hooks/codex-stop-task-finalizer.js +16 -16
  167. package/dist/hooks/commit-complete.js +16 -16
  168. package/dist/hooks/error-recall.js +6 -6
  169. package/dist/hooks/exe-heartbeat-hook.js +3 -3
  170. package/dist/hooks/ingest.js +6 -6
  171. package/dist/hooks/instructions-loaded.js +4 -4
  172. package/dist/hooks/manifest.json +19 -19
  173. package/dist/hooks/notification.js +4 -4
  174. package/dist/hooks/post-compact.js +15 -15
  175. package/dist/hooks/post-tool-combined.js +7 -7
  176. package/dist/hooks/pre-compact.js +16 -16
  177. package/dist/hooks/pre-tool-use.js +19 -19
  178. package/dist/hooks/prompt-submit.js +30 -30
  179. package/dist/hooks/session-end.js +20 -20
  180. package/dist/hooks/session-start.js +12 -12
  181. package/dist/hooks/stop.js +19 -19
  182. package/dist/hooks/subagent-stop.js +15 -15
  183. package/dist/hooks/summary-worker.js +19 -19
  184. package/dist/index.js +25 -25
  185. package/dist/{installer-UEPVZPFE.js → installer-MNPXDLGG.js} +6 -6
  186. package/dist/{installer-EGY5GPB7.js → installer-MZWWBXM6.js} +9 -9
  187. package/dist/{installer-MHVZ4RJU.js → installer-SB2N5NKH.js} +9 -9
  188. package/dist/{intercom-queue-NQFQZXQP.js → intercom-queue-VU2G6F5R.js} +15 -13
  189. package/dist/lib/agent-config.js +1 -1
  190. package/dist/lib/cloud-sync.js +12 -10
  191. package/dist/lib/consolidation.js +7 -7
  192. package/dist/lib/crypto.js +5 -1
  193. package/dist/lib/database.js +2 -2
  194. package/dist/lib/db.js +2 -2
  195. package/dist/lib/device-registry.js +1 -1
  196. package/dist/lib/employee-templates.js +4 -4
  197. package/dist/lib/employees.js +2 -2
  198. package/dist/lib/exe-daemon.js +330 -103
  199. package/dist/lib/hybrid-search.js +5 -5
  200. package/dist/lib/identity.js +2 -2
  201. package/dist/lib/license.js +2 -2
  202. package/dist/lib/messaging.js +14 -14
  203. package/dist/lib/registry-proxy.js +1 -1
  204. package/dist/lib/reminders.js +3 -3
  205. package/dist/lib/schedules.js +5 -5
  206. package/dist/lib/session-registry.js +4 -4
  207. package/dist/lib/skill-learning.js +6 -6
  208. package/dist/lib/store.js +4 -4
  209. package/dist/lib/task-router.js +3 -3
  210. package/dist/lib/tasks.js +15 -15
  211. package/dist/lib/tmux-routing.js +13 -13
  212. package/dist/lib/token-spend.js +3 -3
  213. package/dist/{license-gate-WCBZ4EBB.js → license-gate-BYDMFMFT.js} +3 -3
  214. package/dist/{license-sync-N63ORPQY.js → license-sync-N3RNYVP2.js} +2 -2
  215. package/dist/mcp/register-tools.js +70 -68
  216. package/dist/mcp/server.js +73 -71
  217. package/dist/mcp/tools/complete-reminder.js +4 -4
  218. package/dist/mcp/tools/create-reminder.js +4 -4
  219. package/dist/mcp/tools/create-task.js +17 -17
  220. package/dist/mcp/tools/deactivate-behavior.js +7 -7
  221. package/dist/mcp/tools/list-reminders.js +4 -4
  222. package/dist/mcp/tools/list-tasks.js +17 -17
  223. package/dist/mcp/tools/send-message.js +16 -16
  224. package/dist/mcp/tools/update-task.js +16 -16
  225. package/dist/{mcp-http-config-I2XKM6Y6.js → mcp-http-config-EMAVS2JI.js} +3 -3
  226. package/dist/{memory-cards-LJLITM2D.js → memory-cards-TQRLZI4D.js} +4 -4
  227. package/dist/{memory-graph-extractor-WIK2X7NW.js → memory-graph-extractor-IWGNVAFU.js} +5 -5
  228. package/dist/{memory-poisoning-defense-K5ZYLCBS.js → memory-poisoning-defense-T4ITBGSG.js} +2 -2
  229. package/dist/{memory-pressure-watchdog-GAIU4DFY.js → memory-pressure-watchdog-RRIAXPXQ.js} +14 -14
  230. package/dist/{memory-reflection-ERYZ6SJH.js → memory-reflection-6N4J2FL7.js} +2 -2
  231. package/dist/monitor-grants-RZOVSYVO.js +27 -0
  232. package/dist/monitor-identity-MOXISYNG.js +34 -0
  233. package/dist/{notifications-A43CXO7Q.js → notifications-KONB3C62.js} +13 -13
  234. package/dist/{orchestration-events-CRVRCTHR.js → orchestration-events-5SIJOE4H.js} +3 -3
  235. package/dist/{orchestrator-65ZCLW5C.js → orchestrator-DUUX7FQV.js} +15 -15
  236. package/dist/{pipeline-router-VZUIXWWJ.js → pipeline-router-O6HU7DKH.js} +3 -3
  237. package/dist/{plan-limits-QNY6FVQQ.js → plan-limits-GRNBOBB3.js} +5 -5
  238. package/dist/{projection-worker-EASTW4IP.js → projection-worker-ZVOFHTXT.js} +2 -2
  239. package/dist/{prospective-memory-T7Z67MF7.js → prospective-memory-W6S67LZZ.js} +2 -2
  240. package/dist/{reranker-2S766AWB.js → reranker-6UQSZVV2.js} +1 -1
  241. package/dist/{retrieval-health-HQ6JHDTD.js → retrieval-health-TWHKYCRK.js} +1 -1
  242. package/dist/{review-polling-4R7EPAHG.js → review-polling-PCMD5BFN.js} +14 -14
  243. package/dist/runtime/index.js +21 -21
  244. package/dist/{session-events-ZPPOVRDJ.js → session-events-3LCVQEL7.js} +14 -14
  245. package/dist/{session-kill-telemetry-BEAPGQEF.js → session-kill-telemetry-CZSPN5V6.js} +14 -14
  246. package/dist/{session-scope-B6Y2VP75.js → session-scope-CFHVSVAQ.js} +13 -13
  247. package/dist/{setup-wizard-X6HICSAF.js → setup-wizard-CJZMM43G.js} +1 -1
  248. package/dist/{skill-refinement-XYACEWES.js → skill-refinement-74T6VDFM.js} +3 -3
  249. package/dist/{stack-release-3AF7TQ5N.js → stack-release-XXMV7SPX.js} +40 -3
  250. package/dist/{stack-update-4JALV4DZ.js → stack-update-E2TKHHSQ.js} +3 -3
  251. package/dist/{steward-gate-WGP4QWXQ.js → steward-gate-WT7WXQIE.js} +3 -3
  252. package/dist/{task-enforcement-WFHEKFC3.js → task-enforcement-VI7L43DC.js} +14 -14
  253. package/dist/{task-scope-VMYGYVCH.js → task-scope-CQEG5SSJ.js} +13 -13
  254. package/dist/{tasks-crud-ELQ2JSRG.js → tasks-crud-UGK5A25L.js} +13 -13
  255. package/dist/{tasks-notify-R6KGKW5R.js → tasks-notify-SMLDFBWM.js} +14 -14
  256. package/dist/{tasks-review-E3YTGOFJ.js → tasks-review-JKBRACII.js} +13 -13
  257. package/dist/{telemetry-upload-RDJX4ZFD.js → telemetry-upload-7LBYGPCB.js} +7 -7
  258. package/dist/{token-budget-XZVEGHCT.js → token-budget-QBRJR4M5.js} +3 -3
  259. package/dist/{tool-telemetry-OQ423YOE.js → tool-telemetry-ULIDUK3P.js} +1 -1
  260. package/dist/tui/App.js +21 -21
  261. package/dist/{tui-data-7UMFG6GY.js → tui-data-NPTGKT37.js} +13 -13
  262. package/dist/{worker-gate-QENGURPJ.js → worker-gate-MXUQUG4M.js} +1 -1
  263. package/dist/{workflow-engine-HUSIWUSV.js → workflow-engine-EWCOLD47.js} +2 -2
  264. package/dist/{worktree-EZ3EZUOV.js → worktree-GVF2I5FP.js} +4 -4
  265. package/dist/{worktree-sweep-O2UXISLE.js → worktree-sweep-ZAG3V24E.js} +5 -5
  266. package/package.json +4 -3
  267. package/release-notes.json +28 -20
  268. package/dist/chunk-LO6L5ADL.js +0 -76
  269. package/dist/{chunk-DFJVHZ6Z.js → chunk-5Z5NATNS.js} +0 -0
  270. package/dist/{chunk-7UMCQQWS.js → chunk-A4DVMPYB.js} +3 -3
  271. /package/dist/{chunk-5KCRWAWF.js → chunk-ATOU6CYR.js} +0 -0
  272. /package/dist/{chunk-KK64O2G4.js → chunk-D3QASX2W.js} +0 -0
  273. /package/dist/{chunk-GOAPKDWS.js → chunk-HHIBOU3P.js} +0 -0
  274. /package/dist/{chunk-F6VD2OWU.js → chunk-IYB2NIW3.js} +0 -0
  275. /package/dist/{chunk-XETUG5DN.js → chunk-KTPG4XKI.js} +0 -0
  276. /package/dist/{chunk-LUO2MYQH.js → chunk-NQBRGXYR.js} +0 -0
  277. /package/dist/{chunk-IO3Z2JBX.js → chunk-QLFRCA6I.js} +0 -0
  278. /package/dist/{chunk-HHFQRC3F.js → chunk-TNJRWUCE.js} +0 -0
  279. /package/dist/{chunk-JIE4ZUMV.js → chunk-UFAXZ2PY.js} +0 -0
  280. /package/dist/{chunk-TBRNCEV4.js → chunk-UNVHIH7N.js} +0 -0
  281. /package/dist/{chunk-OG5CXUHI.js → chunk-Z7OZP3ET.js} +0 -0
  282. /package/dist/{core-memory-V2Q5G7CJ.js → core-memory-VO5ZIBKH.js} +0 -0
  283. /package/dist/{oauth-server-MLE5MGQO.js → oauth-server-ROQFOEMM.js} +0 -0
  284. /package/dist/{project-boot-27QXVGY3.js → project-boot-SD7GM24K.js} +0 -0
  285. /package/dist/{wiki-acl-NZMJUJGL.js → wiki-acl-JA5UCQZ4.js} +0 -0
@@ -4,32 +4,32 @@ import {
4
4
  } from "./chunk-HMP5VT6A.js";
5
5
  import {
6
6
  createTask
7
- } from "./chunk-NCS7UNML.js";
7
+ } from "./chunk-542EWGY3.js";
8
8
  import {
9
9
  getActiveAgent
10
- } from "./chunk-YBVKLDT3.js";
10
+ } from "./chunk-DZ6OQM67.js";
11
11
  import {
12
12
  ensureEmployee,
13
13
  isValidSessionScope,
14
14
  logTaskDispatch,
15
15
  resolveExeSession
16
- } from "./chunk-ROAUSSJI.js";
16
+ } from "./chunk-PLRIJALF.js";
17
17
  import {
18
18
  recordOrchestrationEventBestEffort
19
- } from "./chunk-X7BGMYZS.js";
19
+ } from "./chunk-FUIIVSW6.js";
20
20
  import {
21
21
  getAgentRuntime,
22
22
  validateRuntimeModel
23
- } from "./chunk-XUOSKPVP.js";
23
+ } from "./chunk-65SVQELL.js";
24
24
  import {
25
25
  getLicenseSync
26
- } from "./chunk-BF252PDD.js";
26
+ } from "./chunk-MW2GJJ53.js";
27
27
  import {
28
28
  getAgentContext
29
29
  } from "./chunk-GJV3WDWM.js";
30
30
  import {
31
31
  isCoordinatorName
32
- } from "./chunk-XZHA3WO2.js";
32
+ } from "./chunk-HEPR6QTL.js";
33
33
 
34
34
  // src/mcp/tools/create-task.ts
35
35
  import { z } from "zod";
@@ -45,6 +45,32 @@ function rootFromSessionName(sessionName) {
45
45
  function isRootSessionName(sessionName) {
46
46
  return sessionName.length > 0 && !sessionName.includes("-");
47
47
  }
48
+ function isDirectory(pathname) {
49
+ try {
50
+ return existsSync(pathname) && statSync(pathname).isDirectory();
51
+ } catch {
52
+ return false;
53
+ }
54
+ }
55
+ function isGitRepoDir(pathname) {
56
+ return isDirectory(pathname) && existsSync(join(pathname, ".git"));
57
+ }
58
+ function findNestedGitRepo(parentDir) {
59
+ const preferred = ["website", "app", "repo", "src"];
60
+ for (const child of preferred) {
61
+ const candidate = join(parentDir, child);
62
+ if (isGitRepoDir(candidate)) return candidate;
63
+ }
64
+ try {
65
+ for (const entry of readdirSync(parentDir, { withFileTypes: true })) {
66
+ if (!entry.isDirectory()) continue;
67
+ const candidate = join(parentDir, entry.name);
68
+ if (isGitRepoDir(candidate)) return candidate;
69
+ }
70
+ } catch {
71
+ }
72
+ return null;
73
+ }
48
74
  function projectDirMatches(projectDir, projectName) {
49
75
  const dirBasename = basename(projectDir).toLowerCase();
50
76
  const normalizedProject = projectName.toLowerCase();
@@ -58,13 +84,20 @@ function findProjectChildDir(parentDir, projectName) {
58
84
  normalizedProject.replace(/^exe-/, "")
59
85
  ]);
60
86
  const exactCandidate = join(parentDir, projectName);
61
- if (existsSync(exactCandidate) && statSync(exactCandidate).isDirectory()) return exactCandidate;
87
+ if (isGitRepoDir(exactCandidate)) return exactCandidate;
88
+ if (isDirectory(exactCandidate)) {
89
+ const nested = findNestedGitRepo(exactCandidate);
90
+ if (nested) return nested;
91
+ }
62
92
  try {
63
93
  for (const entry of readdirSync(parentDir, { withFileTypes: true })) {
64
94
  if (!entry.isDirectory()) continue;
65
95
  const lower = entry.name.toLowerCase();
66
96
  if (aliases.has(lower) || `exe-${lower}` === normalizedProject) {
67
- return join(parentDir, entry.name);
97
+ const candidate = join(parentDir, entry.name);
98
+ if (isGitRepoDir(candidate)) return candidate;
99
+ const nested = findNestedGitRepo(candidate);
100
+ if (nested) return nested;
68
101
  }
69
102
  }
70
103
  } catch {
@@ -499,7 +532,7 @@ function registerCreateTask(server) {
499
532
  session_scope: sessionScope,
500
533
  created_at: (/* @__PURE__ */ new Date()).toISOString()
501
534
  }), "utf-8");
502
- const { recordOrchestrationEventBestEffort: recordOE } = await import("./orchestration-events-CRVRCTHR.js");
535
+ const { recordOrchestrationEventBestEffort: recordOE } = await import("./orchestration-events-5SIJOE4H.js");
503
536
  recordOE({
504
537
  eventType: "signal.created",
505
538
  source: "create-task.mcp",
@@ -532,7 +565,7 @@ function registerCreateTask(server) {
532
565
  let projectConflictOpts = {};
533
566
  try {
534
567
  const { getClient } = await import("./lib/database.js");
535
- const { sessionScopeFilter } = await import("./task-scope-VMYGYVCH.js");
568
+ const { sessionScopeFilter } = await import("./task-scope-CQEG5SSJ.js");
536
569
  const client = getClient();
537
570
  const scope = sessionScopeFilter(task.sessionScope || callerRoot || exeSession || null);
538
571
  const existing = await client.execute({
@@ -701,8 +734,8 @@ ${dispatchErr instanceof Error ? dispatchErr.stack : ""}
701
734
  }
702
735
  let dupWarning = "";
703
736
  try {
704
- const { findMatchingBranches } = await import("./branch-hygiene-55TKIWAZ.js");
705
- const matches = findMatchingBranches(projectDir, { title });
737
+ const { findMatchingBranches } = await import("./branch-hygiene-R5NVTRAY.js");
738
+ const matches = await findMatchingBranches(projectDir, { title });
706
739
  if (matches.length > 0) {
707
740
  const top = matches.slice(0, 3).map((m) => {
708
741
  const age = m.ageHours >= 24 ? `${(m.ageHours / 24).toFixed(1)}d` : `${m.ageHours.toFixed(0)}h`;
@@ -9,7 +9,7 @@ import {
9
9
  getCoordinatorEmployee,
10
10
  getEmployee,
11
11
  loadEmployeesSync
12
- } from "./chunk-XZHA3WO2.js";
12
+ } from "./chunk-HEPR6QTL.js";
13
13
  import {
14
14
  EXE_AI_DIR
15
15
  } from "./chunk-7Y5UDEVM.js";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  mcpHttpPort
3
- } from "./chunk-O2RF5NGI.js";
3
+ } from "./chunk-AVKXCSBI.js";
4
4
  import {
5
5
  checkCpuStealSync
6
6
  } from "./chunk-SSC7EKY2.js";
@@ -212,7 +212,7 @@ async function main(args) {
212
212
  console.log("[health-gate] Starting rollback...");
213
213
  restorePreDeployBackup();
214
214
  try {
215
- const { rollbackStackUpdate, defaultStackPaths } = await import("./stack-update-4JALV4DZ.js");
215
+ const { rollbackStackUpdate, defaultStackPaths } = await import("./stack-update-E2TKHHSQ.js");
216
216
  const paths = defaultStackPaths();
217
217
  await rollbackStackUpdate({
218
218
  manifestRef: paths.manifestRef,
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  getClient
3
- } from "./chunk-XZHA3WO2.js";
3
+ } from "./chunk-HEPR6QTL.js";
4
4
 
5
5
  // src/lib/orchestration-events.ts
6
6
  import crypto from "crypto";
@@ -3,11 +3,11 @@ import {
3
3
  } from "./chunk-75H4R62K.js";
4
4
  import {
5
5
  initStore
6
- } from "./chunk-YOZJWU2I.js";
6
+ } from "./chunk-H37HHX3E.js";
7
7
  import {
8
8
  getClient,
9
9
  isInitialized
10
- } from "./chunk-XZHA3WO2.js";
10
+ } from "./chunk-HEPR6QTL.js";
11
11
 
12
12
  // src/lib/schedules.ts
13
13
  import crypto from "crypto";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  sessionScopeFilter
3
- } from "./chunk-ROAUSSJI.js";
3
+ } from "./chunk-PLRIJALF.js";
4
4
 
5
5
  // src/lib/git-task-sweep.ts
6
6
  import { execSync } from "child_process";
@@ -238,7 +238,7 @@ async function sweepTasks(projectName, options = {}) {
238
238
  }
239
239
  if (!dryRun) {
240
240
  try {
241
- const { updateTaskStatus } = await import("./tasks-crud-ELQ2JSRG.js");
241
+ const { updateTaskStatus } = await import("./tasks-crud-UGK5A25L.js");
242
242
  await updateTaskStatus({
243
243
  taskId: task.id,
244
244
  status: "needs_review",
@@ -9,7 +9,7 @@ import {
9
9
  findScopedDuplicate,
10
10
  governMemoryRecord,
11
11
  schedulePostWriteMemoryHygiene
12
- } from "./chunk-GOAPKDWS.js";
12
+ } from "./chunk-HHIBOU3P.js";
13
13
  import {
14
14
  orgBus
15
15
  } from "./chunk-MP2AFCGL.js";
@@ -18,7 +18,7 @@ import {
18
18
  ensureSchema,
19
19
  getClient,
20
20
  initTurso
21
- } from "./chunk-XZHA3WO2.js";
21
+ } from "./chunk-HEPR6QTL.js";
22
22
  import {
23
23
  EMBEDDING_DIM
24
24
  } from "./chunk-FXU7JOXK.js";
@@ -68,7 +68,7 @@ function recordShardFailure(project, error) {
68
68
  `[store] Shard circuit OPEN for "${project}" after ${state.failures} consecutive failures. Will retry in ${SHARD_CB_COOLDOWN_MS / 6e4}min. Last error: ${error}
69
69
  `
70
70
  );
71
- void import("./orchestration-events-CRVRCTHR.js").then(({ recordOrchestrationEventBestEffort }) => {
71
+ void import("./orchestration-events-5SIJOE4H.js").then(({ recordOrchestrationEventBestEffort }) => {
72
72
  recordOrchestrationEventBestEffort({
73
73
  eventType: "shard.circuit_open",
74
74
  source: "store.recordShardFailure",
@@ -165,7 +165,7 @@ async function initStore(options) {
165
165
  );
166
166
  _nextVersion = (Number(vResult.rows[0]?.max_v) || 0) + 1;
167
167
  try {
168
- const { loadGlobalProcedures } = await import("./global-procedures-YT2RDNUD.js");
168
+ const { loadGlobalProcedures } = await import("./global-procedures-R7KRREEK.js");
169
169
  await loadGlobalProcedures();
170
170
  } catch (e) {
171
171
  logStoreWarn("catch", e);
@@ -293,7 +293,7 @@ async function writeMemory(record) {
293
293
  founder_id: record.founder_id ?? null
294
294
  };
295
295
  try {
296
- const { checkMemoryPoisoning } = await import("./memory-poisoning-defense-K5ZYLCBS.js");
296
+ const { checkMemoryPoisoning } = await import("./memory-poisoning-defense-T4ITBGSG.js");
297
297
  const poisonResult = await checkMemoryPoisoning({
298
298
  memoryId: dbRow.id,
299
299
  vector: Array.isArray(dbRow.vector) ? dbRow.vector : void 0,
@@ -486,19 +486,19 @@ async function flushBatch() {
486
486
  }
487
487
  _nextVersion = baseVersion;
488
488
  try {
489
- const { insertMemoryCardsForBatch } = await import("./memory-cards-LJLITM2D.js");
489
+ const { insertMemoryCardsForBatch } = await import("./memory-cards-TQRLZI4D.js");
490
490
  await insertMemoryCardsForBatch(batch);
491
491
  } catch (e) {
492
492
  logStoreWarn("catch", e);
493
493
  }
494
494
  try {
495
- const { insertOntologyForBatch } = await import("./agentic-ontology-FG4YCUZG.js");
495
+ const { insertOntologyForBatch } = await import("./agentic-ontology-RNSXGXW4.js");
496
496
  await insertOntologyForBatch(batch);
497
497
  } catch (e) {
498
498
  logStoreWarn("catch", e);
499
499
  }
500
500
  try {
501
- const { extractGraphForBatch } = await import("./memory-graph-extractor-WIK2X7NW.js");
501
+ const { extractGraphForBatch } = await import("./memory-graph-extractor-IWGNVAFU.js");
502
502
  await extractGraphForBatch(batch);
503
503
  } catch (e) {
504
504
  logStoreWarn("catch", e);
@@ -629,7 +629,7 @@ async function searchMemories(queryVector, agentId, options) {
629
629
  args.push(activeEmbeddingModel);
630
630
  }
631
631
  try {
632
- const { founderScopeFilter } = await import("./founder-context-CTNPSPVO.js");
632
+ const { founderScopeFilter } = await import("./founder-context-PQR3BUS7.js");
633
633
  const founderFilter = founderScopeFilter(options?.founderId);
634
634
  sql += founderFilter.sql;
635
635
  args.push(...founderFilter.args.filter((a) => a !== null));
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-2I23RPSI.js";
4
4
  import {
5
5
  listBackups
6
- } from "./chunk-5KCRWAWF.js";
6
+ } from "./chunk-ATOU6CYR.js";
7
7
  import {
8
8
  getEmotionalBaseline,
9
9
  renderEmotionalBaselineSection
@@ -1119,7 +1119,7 @@ async function migrateReflectionDedup(client) {
1119
1119
  "ALTER TABLE memory_reflections ADD COLUMN dedup_key TEXT",
1120
1120
  "migration add memory_reflections.dedup_key"
1121
1121
  );
1122
- const { reflectionDedupKey } = await import("./memory-reflection-ERYZ6SJH.js");
1122
+ const { reflectionDedupKey } = await import("./memory-reflection-6N4J2FL7.js");
1123
1123
  const keyForRow = (row) => {
1124
1124
  let sources = [];
1125
1125
  try {
@@ -1459,7 +1459,7 @@ async function _attemptBackupRestore(config) {
1459
1459
  } catch {
1460
1460
  }
1461
1461
  try {
1462
- const { pruneCorruptQuarantine } = await import("./db-backup-CXNB2ZAG.js");
1462
+ const { pruneCorruptQuarantine } = await import("./db-backup-DLD4QZBO.js");
1463
1463
  pruneCorruptQuarantine();
1464
1464
  } catch {
1465
1465
  }
@@ -1744,7 +1744,7 @@ async function sweepExpiredSoftDeletedMemories(client, options = {}) {
1744
1744
  const purgeArchived = archDays !== void 0;
1745
1745
  const BATCH_SIZE = 2e3;
1746
1746
  const MAX_BATCHES = 500;
1747
- const { cleanupCardsForMemories, cleanupGraphLinksForMemories } = await import("./graph-rag-WAK2BRJH.js");
1747
+ const { cleanupCardsForMemories, cleanupGraphLinksForMemories } = await import("./graph-rag-JZZAB7PC.js");
1748
1748
  const softCutoff = `-${softDays} days`;
1749
1749
  const selectArgsBase = [softCutoff];
1750
1750
  let predicate = `status = 'deleted' AND COALESCE(deleted_at, timestamp) < datetime('now', ?)`;
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-A47MXY2I.js";
5
5
  import {
6
6
  getClient
7
- } from "./chunk-XZHA3WO2.js";
7
+ } from "./chunk-HEPR6QTL.js";
8
8
 
9
9
  // src/lib/global-procedures.ts
10
10
  import { randomUUID } from "crypto";
@@ -5,16 +5,16 @@ import {
5
5
  notifyParentExe,
6
6
  resolveExeSession,
7
7
  sendIntercom
8
- } from "./chunk-ROAUSSJI.js";
8
+ } from "./chunk-PLRIJALF.js";
9
9
  import {
10
10
  getTransport
11
11
  } from "./chunk-RMOBQ6A5.js";
12
12
  import {
13
13
  recordOrchestrationEventBestEffort
14
- } from "./chunk-X7BGMYZS.js";
14
+ } from "./chunk-FUIIVSW6.js";
15
15
  import {
16
16
  getAgentRuntime
17
- } from "./chunk-XUOSKPVP.js";
17
+ } from "./chunk-65SVQELL.js";
18
18
  import {
19
19
  getSessionKey
20
20
  } from "./chunk-CVYC6DUW.js";
@@ -22,7 +22,7 @@ import {
22
22
  isCoordinatorName,
23
23
  isMultiInstance,
24
24
  shouldAutoInstance
25
- } from "./chunk-XZHA3WO2.js";
25
+ } from "./chunk-HEPR6QTL.js";
26
26
 
27
27
  // src/lib/tasks-notify.ts
28
28
  var VERIFY_DELAY_MS = 1e4;
@@ -68,7 +68,7 @@ async function dispatchTaskToEmployee(input) {
68
68
  let crossProject = false;
69
69
  if (input.projectName) {
70
70
  try {
71
- const { assertSessionScope } = await import("./session-scope-B6Y2VP75.js");
71
+ const { assertSessionScope } = await import("./session-scope-CFHVSVAQ.js");
72
72
  const check = assertSessionScope("dispatch_task", input.projectName);
73
73
  if (check.reason === "cross_session_denied") {
74
74
  crossProject = true;