@askexenow/exe-os 0.9.154 → 0.9.155

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 (266) hide show
  1. package/deploy/compose/.env.example +25 -39
  2. package/deploy/compose/cloudflared/config.yml.example +29 -0
  3. package/deploy/compose/docker-compose.yml +94 -0
  4. package/deploy/compose/gateway.json +11 -1
  5. package/deploy/compose/generate-env.ts +18 -4
  6. package/deploy/compose/init-db.sql +55 -0
  7. package/dist/{active-agent-IVY5D7DJ.js → active-agent-GHJBTJRF.js} +4 -4
  8. package/dist/{active-agent-JN7A2D2E.js → active-agent-RY74REEW.js} +4 -4
  9. package/dist/{agentic-ontology-NU5FACOX.js → agentic-ontology-FP67RCR6.js} +1 -1
  10. package/dist/{backfill-metadata-XBWBPBN2.js → backfill-metadata-W7FUQRD7.js} +5 -5
  11. package/dist/{background-jobs-IUB22CRF.js → background-jobs-XYVQT4HN.js} +2 -2
  12. package/dist/{behaviors-4USTCRU7.js → behaviors-KA64SSPT.js} +4 -4
  13. package/dist/bin/age-ontology-load.js +2 -2
  14. package/dist/bin/agentic-ontology-backfill.js +7 -7
  15. package/dist/bin/agentic-reflection-backfill.js +8 -8
  16. package/dist/bin/agentic-semantic-label.js +7 -7
  17. package/dist/bin/backfill-conversations.js +7 -7
  18. package/dist/bin/backfill-responses.js +7 -7
  19. package/dist/bin/backfill-vectors.js +9 -9
  20. package/dist/bin/bulk-sync-postgres.js +8 -8
  21. package/dist/bin/cc-doctor.js +3 -3
  22. package/dist/bin/cleanup-stale-review-tasks.js +9 -9
  23. package/dist/bin/cli.js +18 -18
  24. package/dist/bin/exe-agent-config.js +4 -4
  25. package/dist/bin/exe-agent.js +5 -5
  26. package/dist/bin/exe-assign.js +9 -9
  27. package/dist/bin/exe-boot.js +16 -16
  28. package/dist/bin/exe-call.js +5 -5
  29. package/dist/bin/exe-cloud.js +7 -7
  30. package/dist/bin/exe-dispatch.js +9 -9
  31. package/dist/bin/exe-doctor.js +1 -1
  32. package/dist/bin/exe-export-behaviors.js +8 -8
  33. package/dist/bin/exe-forget.js +7 -7
  34. package/dist/bin/exe-gateway.js +8 -8
  35. package/dist/bin/exe-healthcheck.js +3 -3
  36. package/dist/bin/exe-heartbeat.js +9 -9
  37. package/dist/bin/exe-kill.js +12 -12
  38. package/dist/bin/exe-launch-agent.js +12 -12
  39. package/dist/bin/exe-new-employee.js +8 -8
  40. package/dist/bin/exe-pending-messages.js +10 -10
  41. package/dist/bin/exe-pending-notifications.js +9 -9
  42. package/dist/bin/exe-pending-reviews.js +9 -9
  43. package/dist/bin/exe-rename.js +5 -5
  44. package/dist/bin/exe-review.js +11 -11
  45. package/dist/bin/exe-search.js +6 -6
  46. package/dist/bin/exe-session-cleanup.js +13 -13
  47. package/dist/bin/exe-settings.js +7 -7
  48. package/dist/bin/exe-start-codex.js +12 -12
  49. package/dist/bin/exe-start-opencode.js +9 -9
  50. package/dist/bin/exe-status.js +10 -10
  51. package/dist/bin/exe-support.js +3 -3
  52. package/dist/bin/exe-team.js +4 -4
  53. package/dist/bin/git-sweep.js +9 -9
  54. package/dist/bin/graph-backfill.js +6 -6
  55. package/dist/bin/graph-export.js +6 -6
  56. package/dist/bin/install.js +7 -7
  57. package/dist/bin/intercom-check.js +4 -4
  58. package/dist/bin/postgres-agentic-reflection-backfill.js +4 -4
  59. package/dist/bin/postgres-agentic-semantic-backfill.js +3 -3
  60. package/dist/bin/scan-tasks.js +9 -9
  61. package/dist/bin/setup.js +2 -2
  62. package/dist/bin/shard-migrate.js +6 -6
  63. package/dist/bin/stack-update.js +2 -2
  64. package/dist/{branding-EHDA3CCK.js → branding-YUEILP4B.js} +1 -1
  65. package/dist/{capacity-monitor-VJLRBE7S.js → capacity-monitor-WAZTZAR5.js} +10 -10
  66. package/dist/{catchup-brief-T2RPTOTZ.js → catchup-brief-PKETW4ND.js} +11 -11
  67. package/dist/{chunk-OSPZOCPU.js → chunk-23UPL4NU.js} +3 -3
  68. package/dist/{chunk-TME75K53.js → chunk-2X5G7F5C.js} +3 -3
  69. package/dist/{chunk-23H5ZURC.js → chunk-3AN3RTUT.js} +4 -4
  70. package/dist/{chunk-XYFPCAA2.js → chunk-452JBQHH.js} +1 -1
  71. package/dist/{chunk-TOWAZ5IV.js → chunk-4GXRETYL.js} +16 -1
  72. package/dist/{chunk-AL7JZARP.js → chunk-4ZQDR3MI.js} +1 -1
  73. package/dist/{chunk-DW6P7UVY.js → chunk-66QQPSWI.js} +2 -2
  74. package/dist/{chunk-LHMOPUZE.js → chunk-6F46227N.js} +6 -6
  75. package/dist/{chunk-LVEOCWPL.js → chunk-77QEF6FR.js} +2 -2
  76. package/dist/{chunk-VRKPBY6D.js → chunk-7G44AU2D.js} +1 -1
  77. package/dist/{chunk-3RJBXMWJ.js → chunk-7VIH6LOQ.js} +2 -2
  78. package/dist/{chunk-5KUJDZ3J.js → chunk-7XRGVVG6.js} +3 -3
  79. package/dist/{chunk-NL4YO6I2.js → chunk-A6LSJC2O.js} +1 -1
  80. package/dist/{chunk-DMUNYW65.js → chunk-AK7S4GRC.js} +3 -3
  81. package/dist/{chunk-6M65LFNM.js → chunk-BRHV6CJT.js} +2 -2
  82. package/dist/{chunk-KSOPUPQX.js → chunk-CGLSVN6N.js} +9 -9
  83. package/dist/{chunk-Q7TTJD4A.js → chunk-CK5ZKW25.js} +1 -1
  84. package/dist/{chunk-K4KAPZC7.js → chunk-CMFLJNP6.js} +1 -1
  85. package/dist/{chunk-6YUACQQA.js → chunk-CTOQYEKJ.js} +1 -1
  86. package/dist/{chunk-UREIHGOQ.js → chunk-CXGOW4EJ.js} +3 -3
  87. package/dist/{chunk-6HFZ2KUC.js → chunk-DH65L4XI.js} +1 -1
  88. package/dist/{chunk-W6SKR3HZ.js → chunk-E2O7YYDS.js} +2 -2
  89. package/dist/{chunk-2G2KOWBI.js → chunk-EVB53OQD.js} +11 -11
  90. package/dist/{chunk-H5STRY47.js → chunk-F7ITFLVR.js} +1 -1
  91. package/dist/{chunk-SFZUC72J.js → chunk-FOG7AEEO.js} +2 -2
  92. package/dist/{chunk-T2B7637C.js → chunk-G2RRAFCH.js} +1 -1
  93. package/dist/{chunk-EYQIEK5M.js → chunk-GUCKE3GK.js} +1 -1
  94. package/dist/{chunk-KIUU4PNX.js → chunk-H2CFBUGF.js} +1 -1
  95. package/dist/{chunk-VB23RNNI.js → chunk-HBPFK6AO.js} +1 -1
  96. package/dist/{chunk-3I44JXWH.js → chunk-HDQJMTBG.js} +2 -2
  97. package/dist/{chunk-66RYFM6Z.js → chunk-HF6TVN2J.js} +3 -3
  98. package/dist/{chunk-3CZBCOYI.js → chunk-HH6ZCDZH.js} +2 -2
  99. package/dist/{chunk-Y3Z6QHUR.js → chunk-INWPOOB6.js} +1 -1
  100. package/dist/{chunk-DTT4TRFR.js → chunk-IRVLV6C5.js} +1 -1
  101. package/dist/{chunk-EHXOWGQG.js → chunk-IXJ4SLKR.js} +2 -2
  102. package/dist/{chunk-K23KJITV.js → chunk-J73N5EJ6.js} +2 -2
  103. package/dist/{chunk-OHYMA6C3.js → chunk-JFEFVLLD.js} +7 -7
  104. package/dist/{chunk-IWSXQKSB.js → chunk-JTHPKHKC.js} +1 -1
  105. package/dist/{chunk-KUPUTWQX.js → chunk-JYYWHPQC.js} +7 -7
  106. package/dist/{chunk-SE2DYYVB.js → chunk-KL5VDEBT.js} +1 -1
  107. package/dist/{chunk-ULFBLCIP.js → chunk-KPB5SN3Q.js} +1 -1
  108. package/dist/{chunk-L3JRSHHU.js → chunk-KZXC3G3P.js} +2 -2
  109. package/dist/{chunk-F2WGMIFZ.js → chunk-LVWXGZER.js} +1 -1
  110. package/dist/{chunk-HYRYMZRT.js → chunk-LWABYGNF.js} +1 -1
  111. package/dist/{chunk-G7IQNOSY.js → chunk-MBXAWOYB.js} +1 -1
  112. package/dist/{chunk-OC7Q4LOK.js → chunk-OCFYT3LE.js} +40 -9
  113. package/dist/{chunk-GCNWCYJI.js → chunk-ONKIWA3R.js} +2 -2
  114. package/dist/{chunk-2GUTGEFX.js → chunk-PELAHAJR.js} +1 -1
  115. package/dist/{chunk-VZDPV32D.js → chunk-PY7QM2C7.js} +3 -3
  116. package/dist/{chunk-Z6UYJ7HZ.js → chunk-Q46X2YPY.js} +4 -4
  117. package/dist/{chunk-PE6NCL7A.js → chunk-Q55XPOXU.js} +1 -1
  118. package/dist/{chunk-DWLDYEGO.js → chunk-RTNRPBQP.js} +10 -10
  119. package/dist/{chunk-EOO32RJZ.js → chunk-RVSGXGWG.js} +1 -1
  120. package/dist/{chunk-UIAYIZNR.js → chunk-RZE4KMRO.js} +2 -2
  121. package/dist/{chunk-V4MKR32F.js → chunk-S6DDN7IS.js} +2 -2
  122. package/dist/{chunk-TH2OFEQH.js → chunk-SEENMPG7.js} +2 -2
  123. package/dist/{chunk-GCB4MHTG.js → chunk-SNN634YS.js} +1 -1
  124. package/dist/{chunk-LWJ4AMMY.js → chunk-T5YT64SZ.js} +1 -1
  125. package/dist/{chunk-NNT2ZNMC.js → chunk-TJEETRHD.js} +1 -1
  126. package/dist/{chunk-45APPAB2.js → chunk-TM3WWKNB.js} +5 -5
  127. package/dist/{chunk-3S2HQUP6.js → chunk-U56WZR5E.js} +6 -6
  128. package/dist/{chunk-UJ2KUF4C.js → chunk-U5GTF2JP.js} +1 -1
  129. package/dist/{chunk-MLL5ICNL.js → chunk-UWUF5NWA.js} +7 -7
  130. package/dist/{chunk-XEN5RMGU.js → chunk-V5Y323LO.js} +1 -1
  131. package/dist/{chunk-XMRDT4PB.js → chunk-WZTQUBIE.js} +1 -1
  132. package/dist/{chunk-ICKEGWWP.js → chunk-X5O3FKRU.js} +1 -1
  133. package/dist/{chunk-4MN44ORL.js → chunk-XIGJOVTD.js} +1 -1
  134. package/dist/{chunk-2BTXFKAV.js → chunk-XIZR2YLR.js} +70 -71
  135. package/dist/{chunk-ABVCJBON.js → chunk-ZIJR3H2O.js} +2 -2
  136. package/dist/{chunk-3OGN523Z.js → chunk-ZPM2RMK2.js} +3 -3
  137. package/dist/{code-context-index-I5A7I4JQ.js → code-context-index-XZ22G57G.js} +4 -4
  138. package/dist/{conversation-wiki-populator-RSJ44BRO.js → conversation-wiki-populator-HVROKOEU.js} +1 -1
  139. package/dist/{crdt-sync-B7IUR3BR.js → crdt-sync-5JERNXAI.js} +1 -1
  140. package/dist/{crm-bridge-4QZRMOF7.js → crm-bridge-BVTB6LZK.js} +1 -1
  141. package/dist/{crm-webhook-YU7PDS7U.js → crm-webhook-DGL6XEOQ.js} +2 -2
  142. package/dist/{cto-delegation-gate-JDDOHVQL.js → cto-delegation-gate-UFSXT2CA.js} +8 -8
  143. package/dist/{daemon-auth-F47P6HTC.js → daemon-auth-H4EJ7KAQ.js} +2 -2
  144. package/dist/{daemon-orchestration-5OYKXYSR.js → daemon-orchestration-IP2LHJJK.js} +11 -11
  145. package/dist/{db-backup-W56YOLMC.js → db-backup-7UOCAPHO.js} +2 -2
  146. package/dist/{exe-drift-DXRU4SXJ.js → exe-drift-FNK7OXMY.js} +4 -4
  147. package/dist/{exe-export-X3AWJONG.js → exe-export-LLKDWX7F.js} +6 -6
  148. package/dist/{exe-import-GC5HO3TD.js → exe-import-XVAR7ZVC.js} +6 -6
  149. package/dist/{exe-key-R3ER4MYY.js → exe-key-E3YOJ2ME.js} +3 -3
  150. package/dist/{exe-org-OOO7KJVZ.js → exe-org-FEX66BTG.js} +2 -2
  151. package/dist/{fast-db-init-5DTYG5FZ.js → fast-db-init-SMQC6S3C.js} +1 -1
  152. package/dist/gateway/index.js +9 -9
  153. package/dist/{git-staleness-SVUTMS2F.js → git-staleness-HE6QCRSC.js} +3 -3
  154. package/dist/{git-task-sweep-EQHX4LXT.js → git-task-sweep-NWHG3FWG.js} +9 -9
  155. package/dist/{global-procedures-P7VOE476.js → global-procedures-KNA62DIE.js} +4 -4
  156. package/dist/{graph-auto-extract-UI374EYL.js → graph-auto-extract-4EZVBWQN.js} +3 -3
  157. package/dist/{hook-integrity-SA7S2SNI.js → hook-integrity-P3Z3HKMR.js} +1 -1
  158. package/dist/hooks/bug-report-worker.js +10 -10
  159. package/dist/hooks/codex-stop-task-finalizer.js +10 -10
  160. package/dist/hooks/commit-complete.js +11 -11
  161. package/dist/hooks/error-recall.js +7 -7
  162. package/dist/hooks/exe-heartbeat-hook.js +4 -4
  163. package/dist/hooks/ingest-worker.js +5 -5
  164. package/dist/hooks/ingest.js +12 -12
  165. package/dist/hooks/instructions-loaded.js +5 -5
  166. package/dist/hooks/notification.js +5 -5
  167. package/dist/hooks/post-compact.js +10 -10
  168. package/dist/hooks/post-tool-combined.js +5 -5
  169. package/dist/hooks/pre-compact.js +15 -15
  170. package/dist/hooks/pre-tool-use.js +14 -14
  171. package/dist/hooks/prompt-submit.js +59 -20
  172. package/dist/hooks/session-end.js +19 -19
  173. package/dist/hooks/session-start.js +9 -9
  174. package/dist/hooks/stop.js +17 -17
  175. package/dist/hooks/subagent-stop.js +10 -10
  176. package/dist/hooks/summary-worker.js +18 -18
  177. package/dist/index.js +17 -17
  178. package/dist/{installer-L72MRJPI.js → installer-4GPRFPIU.js} +6 -6
  179. package/dist/{installer-SLJ3YCHB.js → installer-MMXK6EHQ.js} +6 -6
  180. package/dist/{installer-LX2TU7RS.js → installer-TAFFG7WH.js} +6 -6
  181. package/dist/{key-backup-status-ORNMJEEA.js → key-backup-status-KQUGSNVJ.js} +1 -1
  182. package/dist/lib/agent-config.js +2 -2
  183. package/dist/lib/cloud-sync.js +6 -6
  184. package/dist/lib/config.js +1 -1
  185. package/dist/lib/consolidation.js +6 -6
  186. package/dist/lib/database.js +3 -3
  187. package/dist/lib/db-daemon-client.js +3 -3
  188. package/dist/lib/db.js +3 -3
  189. package/dist/lib/device-registry.js +1 -1
  190. package/dist/lib/embedder.js +4 -4
  191. package/dist/lib/employee-templates.js +5 -5
  192. package/dist/lib/employees.js +3 -3
  193. package/dist/lib/exe-daemon-client.js +3 -3
  194. package/dist/lib/exe-daemon.js +39 -39
  195. package/dist/lib/hybrid-search.js +6 -6
  196. package/dist/lib/identity.js +3 -3
  197. package/dist/lib/license.js +2 -2
  198. package/dist/lib/messaging.js +9 -9
  199. package/dist/lib/reminders.js +4 -4
  200. package/dist/lib/schedules.js +6 -6
  201. package/dist/lib/skill-learning.js +5 -5
  202. package/dist/lib/store.js +5 -5
  203. package/dist/lib/task-router.js +4 -4
  204. package/dist/lib/tasks.js +9 -9
  205. package/dist/lib/tmux-routing.js +8 -8
  206. package/dist/lib/token-spend.js +4 -4
  207. package/dist/{license-gate-J5YN264E.js → license-gate-OAPGTQXF.js} +3 -3
  208. package/dist/mcp/register-tools.js +57 -57
  209. package/dist/mcp/server.js +58 -58
  210. package/dist/mcp/tools/complete-reminder.js +5 -5
  211. package/dist/mcp/tools/create-reminder.js +5 -5
  212. package/dist/mcp/tools/create-task.js +11 -11
  213. package/dist/mcp/tools/deactivate-behavior.js +6 -6
  214. package/dist/mcp/tools/list-reminders.js +5 -5
  215. package/dist/mcp/tools/list-tasks.js +11 -11
  216. package/dist/mcp/tools/send-message.js +11 -11
  217. package/dist/mcp/tools/update-task.js +10 -10
  218. package/dist/{mcp-http-config-T76QB243.js → mcp-http-config-FPHVLE3N.js} +4 -4
  219. package/dist/{memory-cards-NTRYLVOU.js → memory-cards-VYZSCHZR.js} +3 -3
  220. package/dist/{memory-poisoning-defense-OJ2DEGBA.js → memory-poisoning-defense-NGJ63VZE.js} +3 -3
  221. package/dist/{memory-queue-NYIGZNCG.js → memory-queue-2SHTE6GU.js} +2 -2
  222. package/dist/{memory-queue-client-YJOLYALV.js → memory-queue-client-M7NHD4GY.js} +5 -5
  223. package/dist/{memory-reflection-4YOUTIMO.js → memory-reflection-XXN375ZD.js} +3 -3
  224. package/dist/{notifications-SF2XN5JE.js → notifications-Z6Q2SEHP.js} +8 -8
  225. package/dist/{orchestration-phase-FXKZYK6R.js → orchestration-phase-D3PNCSUY.js} +2 -2
  226. package/dist/{orchestrator-2W3VNAKG.js → orchestrator-RHJGFMAS.js} +10 -10
  227. package/dist/{plan-limits-LEM76SOQ.js → plan-limits-GCKK3L6F.js} +5 -5
  228. package/dist/{projection-worker-RQHV4VIR.js → projection-worker-GHWA6NEA.js} +2 -2
  229. package/dist/{push-notifications-NSYLKFXR.js → push-notifications-VJZFCUFZ.js} +2 -2
  230. package/dist/{reranker-OMADCS3D.js → reranker-JJRY3V3V.js} +2 -2
  231. package/dist/{review-polling-HD26LRW2.js → review-polling-XUIKH7HF.js} +9 -9
  232. package/dist/runtime/index.js +11 -11
  233. package/dist/{session-events-NYMENC3B.js → session-events-KURSY7LK.js} +9 -9
  234. package/dist/{session-kill-telemetry-LJU2MMZC.js → session-kill-telemetry-PD4UM5FM.js} +4 -4
  235. package/dist/{session-scope-QIDIKKFB.js → session-scope-5MOCMTAM.js} +8 -8
  236. package/dist/{setup-wizard-ANL7CVWX.js → setup-wizard-6SW2ND2B.js} +2 -2
  237. package/dist/{shard-manager-SP4YL5JQ.js → shard-manager-6JBG2K5X.js} +2 -2
  238. package/dist/{skill-refinement-3W3CIIG3.js → skill-refinement-JBZRPZKW.js} +3 -3
  239. package/dist/{task-enforcement-YXEOTTUG.js → task-enforcement-2WCWSZQ3.js} +8 -8
  240. package/dist/{task-scope-XXPTORGS.js → task-scope-HW6BE2PI.js} +8 -8
  241. package/dist/{tasks-crud-3UCNTXKQ.js → tasks-crud-WACRTPQK.js} +8 -8
  242. package/dist/{tasks-review-IPOWGI4L.js → tasks-review-LIWD4PGN.js} +8 -8
  243. package/dist/{token-budget-NP22DW2M.js → token-budget-5QD4ZSDX.js} +3 -3
  244. package/dist/{tool-capability-index-OBZXORBP.js → tool-capability-index-LBDYUK6L.js} +1 -1
  245. package/dist/{tool-telemetry-5JF2OAHG.js → tool-telemetry-2VGSVV3J.js} +1 -1
  246. package/dist/tui/App.js +21 -21
  247. package/dist/{tui-data-Z7FCER3K.js → tui-data-UKFAWSNP.js} +8 -8
  248. package/dist/{worker-gate-PJYHXNUB.js → worker-gate-NJRW5QYT.js} +2 -2
  249. package/dist/{workflow-engine-GA7JS7X2.js → workflow-engine-ICAQJSYT.js} +2 -2
  250. package/package.json +1 -1
  251. package/release-notes.json +104 -104
  252. package/stack.release.json +2 -2
  253. /package/dist/{chunk-ZYETFCDX.js → chunk-E5PVJXIP.js} +0 -0
  254. /package/dist/{chunk-J2OPV5FE.js → chunk-FMBRO3D7.js} +0 -0
  255. /package/dist/{chunk-NQND3GFO.js → chunk-J2KP4ZDX.js} +0 -0
  256. /package/dist/{chunk-PBBIAKN5.js → chunk-LKKKOWTH.js} +0 -0
  257. /package/dist/{chunk-LYMBXTEO.js → chunk-LZLXG7TK.js} +0 -0
  258. /package/dist/{chunk-7E6ZBXO7.js → chunk-PYDL42BL.js} +0 -0
  259. /package/dist/{chunk-7U664OM4.js → chunk-RES22KSZ.js} +0 -0
  260. /package/dist/{core-memory-KL5BOUXU.js → core-memory-QRQ62AZY.js} +0 -0
  261. /package/dist/{entity-boost-LIBVNNXO.js → entity-boost-MDWFYORT.js} +0 -0
  262. /package/dist/{message-queue-client-NTLKYGVO.js → message-queue-client-BJZEA6RV.js} +0 -0
  263. /package/dist/{oauth-server-TOWAZR4K.js → oauth-server-UM2TQJLJ.js} +0 -0
  264. /package/dist/{webhook-pipe-PJOFVBD3.js → webhook-pipe-VSLEA26V.js} +0 -0
  265. /package/dist/{wiki-acl-ZRCU7XYC.js → wiki-acl-RZCXSF5O.js} +0 -0
  266. /package/dist/{wiki-client-MMVRPTPK.js → wiki-client-NZR7RW4I.js} +0 -0
@@ -1,15 +1,15 @@
1
1
  import "../chunk-SH45SJQW.js";
2
2
  import {
3
3
  getActiveAgent
4
- } from "../chunk-LVEOCWPL.js";
4
+ } from "../chunk-77QEF6FR.js";
5
5
  import "../chunk-CVYC6DUW.js";
6
6
  import "../chunk-GJV3WDWM.js";
7
7
  import {
8
8
  getIdentityInjection
9
- } from "../chunk-2G2KOWBI.js";
10
- import "../chunk-EOO32RJZ.js";
9
+ } from "../chunk-EVB53OQD.js";
10
+ import "../chunk-RVSGXGWG.js";
11
11
  import "../chunk-FXU7JOXK.js";
12
- import "../chunk-TOWAZ5IV.js";
12
+ import "../chunk-4GXRETYL.js";
13
13
  import "../chunk-LYH5HE24.js";
14
14
  import "../chunk-MLKGABMK.js";
15
15
 
@@ -49,7 +49,7 @@ process.stdin.on("end", async () => {
49
49
  pass = false;
50
50
  }
51
51
  try {
52
- const { fastDbInit } = await import("../fast-db-init-5DTYG5FZ.js");
52
+ const { fastDbInit } = await import("../fast-db-init-SMQC6S3C.js");
53
53
  await fastDbInit();
54
54
  const { getClient } = await import("../lib/database.js");
55
55
  const client = getClient();
@@ -1,13 +1,13 @@
1
1
  import "../chunk-SH45SJQW.js";
2
2
  import {
3
3
  getActiveAgent
4
- } from "../chunk-LVEOCWPL.js";
4
+ } from "../chunk-77QEF6FR.js";
5
5
  import "../chunk-CVYC6DUW.js";
6
6
  import "../chunk-GJV3WDWM.js";
7
- import "../chunk-2G2KOWBI.js";
8
- import "../chunk-EOO32RJZ.js";
7
+ import "../chunk-EVB53OQD.js";
8
+ import "../chunk-RVSGXGWG.js";
9
9
  import "../chunk-FXU7JOXK.js";
10
- import "../chunk-TOWAZ5IV.js";
10
+ import "../chunk-4GXRETYL.js";
11
11
  import "../chunk-LYH5HE24.js";
12
12
  import "../chunk-MLKGABMK.js";
13
13
 
@@ -36,7 +36,7 @@ process.stdin.on("end", async () => {
36
36
  process.exit(0);
37
37
  }
38
38
  try {
39
- const { fastDbInit } = await import("../fast-db-init-5DTYG5FZ.js");
39
+ const { fastDbInit } = await import("../fast-db-init-SMQC6S3C.js");
40
40
  await fastDbInit();
41
41
  const { getClient } = await import("../lib/database.js");
42
42
  const { randomUUID } = await import("crypto");
@@ -1,10 +1,10 @@
1
1
  import "../chunk-SH45SJQW.js";
2
2
  import {
3
3
  getActiveAgent
4
- } from "../chunk-LVEOCWPL.js";
4
+ } from "../chunk-77QEF6FR.js";
5
5
  import {
6
6
  sessionScopeFilter
7
- } from "../chunk-OC7Q4LOK.js";
7
+ } from "../chunk-OCFYT3LE.js";
8
8
  import "../chunk-LOQCOHEW.js";
9
9
  import "../chunk-TXSJ2L5O.js";
10
10
  import "../chunk-64WZEXXA.js";
@@ -12,20 +12,20 @@ import "../chunk-A7KEWR6S.js";
12
12
  import "../chunk-X347L57O.js";
13
13
  import "../chunk-GZIAQYGI.js";
14
14
  import "../chunk-ZQX6UOP6.js";
15
- import "../chunk-KIUU4PNX.js";
15
+ import "../chunk-H2CFBUGF.js";
16
16
  import "../chunk-NGP6LSV2.js";
17
- import "../chunk-3OGN523Z.js";
17
+ import "../chunk-ZPM2RMK2.js";
18
18
  import "../chunk-OPU3NYOO.js";
19
19
  import "../chunk-CVYC6DUW.js";
20
20
  import "../chunk-GJV3WDWM.js";
21
21
  import "../chunk-MP2AFCGL.js";
22
- import "../chunk-IWSXQKSB.js";
22
+ import "../chunk-JTHPKHKC.js";
23
23
  import "../chunk-HYZV25LY.js";
24
- import "../chunk-2G2KOWBI.js";
25
- import "../chunk-EOO32RJZ.js";
24
+ import "../chunk-EVB53OQD.js";
25
+ import "../chunk-RVSGXGWG.js";
26
26
  import "../chunk-FXU7JOXK.js";
27
- import "../chunk-NNT2ZNMC.js";
28
- import "../chunk-TOWAZ5IV.js";
27
+ import "../chunk-TJEETRHD.js";
28
+ import "../chunk-4GXRETYL.js";
29
29
  import "../chunk-LYH5HE24.js";
30
30
  import "../chunk-MLKGABMK.js";
31
31
 
@@ -67,7 +67,7 @@ ${identity}`);
67
67
  }
68
68
  }
69
69
  try {
70
- const { fastDbInit } = await import("../fast-db-init-5DTYG5FZ.js");
70
+ const { fastDbInit } = await import("../fast-db-init-SMQC6S3C.js");
71
71
  await fastDbInit();
72
72
  const { getClient } = await import("../lib/database.js");
73
73
  const client = getClient();
@@ -47,7 +47,7 @@ ${context}`
47
47
  try {
48
48
  const payload = JSON.parse(input);
49
49
  const toolName = String(payload.tool_name ?? "");
50
- const { getActiveAgent } = await import("../active-agent-JN7A2D2E.js");
50
+ const { getActiveAgent } = await import("../active-agent-RY74REEW.js");
51
51
  const driftAgent = getActiveAgent();
52
52
  if (driftAgent.agentId !== "default" && toolName) {
53
53
  const { existsSync: driftExists, readFileSync: driftRead, writeFileSync: driftWrite, mkdirSync: driftMkdir } = await import("fs");
@@ -106,12 +106,12 @@ You are **${driftAgent.agentId}** (${driftAgent.agentRole}). You've used ${misma
106
106
  }
107
107
  try {
108
108
  const data = JSON.parse(input);
109
- const { getActiveAgent } = await import("../active-agent-JN7A2D2E.js");
109
+ const { getActiveAgent } = await import("../active-agent-RY74REEW.js");
110
110
  const { detectError } = await import("../lib/error-detector.js");
111
111
  const agent = getActiveAgent();
112
112
  try {
113
- const { fastDbInit } = await import("../fast-db-init-5DTYG5FZ.js");
114
- const { recordSessionEvent } = await import("../session-events-NYMENC3B.js");
113
+ const { fastDbInit } = await import("../fast-db-init-SMQC6S3C.js");
114
+ const { recordSessionEvent } = await import("../session-events-KURSY7LK.js");
115
115
  const client = await fastDbInit();
116
116
  const toolName = String(data.tool_name ?? "unknown");
117
117
  const toolInput = JSON.stringify(data.tool_input ?? {});
@@ -135,7 +135,7 @@ result: ${toolResponse.slice(0, 8e3)}`,
135
135
  }
136
136
  const { loadConfigSync } = await import("../lib/config.js");
137
137
  if (loadConfigSync().autoIngestion) {
138
- const { writeMemoryViaDaemon } = await import("../memory-queue-client-YJOLYALV.js");
138
+ const { writeMemoryViaDaemon } = await import("../memory-queue-client-M7NHD4GY.js");
139
139
  const { buildPostToolMemoryEntry } = await import("../lib/post-tool-memory.js");
140
140
  const entry = buildPostToolMemoryEntry(data, agent);
141
141
  if (entry) await writeMemoryViaDaemon(entry);
@@ -1,19 +1,19 @@
1
1
  import "../chunk-SH45SJQW.js";
2
2
  import {
3
3
  getActiveAgent
4
- } from "../chunk-LVEOCWPL.js";
4
+ } from "../chunk-77QEF6FR.js";
5
5
  import {
6
6
  checkpointActiveTask,
7
7
  writeContinuityCheckpoint
8
- } from "../chunk-UJ2KUF4C.js";
9
- import "../chunk-EHXOWGQG.js";
10
- import "../chunk-EYQIEK5M.js";
11
- import "../chunk-W6SKR3HZ.js";
8
+ } from "../chunk-U5GTF2JP.js";
9
+ import "../chunk-IXJ4SLKR.js";
10
+ import "../chunk-GUCKE3GK.js";
11
+ import "../chunk-E2O7YYDS.js";
12
12
  import "../chunk-3H4VU65X.js";
13
- import "../chunk-K4KAPZC7.js";
13
+ import "../chunk-CMFLJNP6.js";
14
14
  import {
15
15
  sessionScopeFilter
16
- } from "../chunk-OC7Q4LOK.js";
16
+ } from "../chunk-OCFYT3LE.js";
17
17
  import "../chunk-LOQCOHEW.js";
18
18
  import "../chunk-TXSJ2L5O.js";
19
19
  import "../chunk-64WZEXXA.js";
@@ -21,20 +21,20 @@ import "../chunk-A7KEWR6S.js";
21
21
  import "../chunk-X347L57O.js";
22
22
  import "../chunk-GZIAQYGI.js";
23
23
  import "../chunk-ZQX6UOP6.js";
24
- import "../chunk-KIUU4PNX.js";
24
+ import "../chunk-H2CFBUGF.js";
25
25
  import "../chunk-NGP6LSV2.js";
26
- import "../chunk-3OGN523Z.js";
26
+ import "../chunk-ZPM2RMK2.js";
27
27
  import "../chunk-OPU3NYOO.js";
28
28
  import "../chunk-CVYC6DUW.js";
29
29
  import "../chunk-GJV3WDWM.js";
30
30
  import "../chunk-MP2AFCGL.js";
31
- import "../chunk-IWSXQKSB.js";
31
+ import "../chunk-JTHPKHKC.js";
32
32
  import "../chunk-HYZV25LY.js";
33
- import "../chunk-2G2KOWBI.js";
34
- import "../chunk-EOO32RJZ.js";
33
+ import "../chunk-EVB53OQD.js";
34
+ import "../chunk-RVSGXGWG.js";
35
35
  import "../chunk-FXU7JOXK.js";
36
- import "../chunk-NNT2ZNMC.js";
37
- import "../chunk-TOWAZ5IV.js";
36
+ import "../chunk-TJEETRHD.js";
37
+ import "../chunk-4GXRETYL.js";
38
38
  import "../chunk-LYH5HE24.js";
39
39
  import "../chunk-MLKGABMK.js";
40
40
 
@@ -60,7 +60,7 @@ process.stdin.on("end", async () => {
60
60
  const agent = getActiveAgent();
61
61
  const sections = [];
62
62
  try {
63
- const { fastDbInit } = await import("../fast-db-init-5DTYG5FZ.js");
63
+ const { fastDbInit } = await import("../fast-db-init-SMQC6S3C.js");
64
64
  const client = await fastDbInit();
65
65
  const projectName = process.cwd().split("/").pop() ?? "unknown";
66
66
  const pcScope = sessionScopeFilter();
@@ -2,10 +2,10 @@ import "../chunk-YSU7JB7H.js";
2
2
  import "../chunk-SH45SJQW.js";
3
3
  import {
4
4
  getActiveAgent
5
- } from "../chunk-LVEOCWPL.js";
5
+ } from "../chunk-77QEF6FR.js";
6
6
  import {
7
7
  sessionScopeFilter
8
- } from "../chunk-OC7Q4LOK.js";
8
+ } from "../chunk-OCFYT3LE.js";
9
9
  import "../chunk-LOQCOHEW.js";
10
10
  import "../chunk-TXSJ2L5O.js";
11
11
  import "../chunk-64WZEXXA.js";
@@ -13,27 +13,27 @@ import "../chunk-A7KEWR6S.js";
13
13
  import "../chunk-X347L57O.js";
14
14
  import "../chunk-GZIAQYGI.js";
15
15
  import "../chunk-ZQX6UOP6.js";
16
- import "../chunk-KIUU4PNX.js";
16
+ import "../chunk-H2CFBUGF.js";
17
17
  import "../chunk-NGP6LSV2.js";
18
- import "../chunk-3OGN523Z.js";
18
+ import "../chunk-ZPM2RMK2.js";
19
19
  import "../chunk-OPU3NYOO.js";
20
20
  import {
21
21
  getSessionKey
22
22
  } from "../chunk-CVYC6DUW.js";
23
23
  import "../chunk-GJV3WDWM.js";
24
24
  import "../chunk-MP2AFCGL.js";
25
- import "../chunk-IWSXQKSB.js";
25
+ import "../chunk-JTHPKHKC.js";
26
26
  import "../chunk-HYZV25LY.js";
27
27
  import {
28
28
  canCoordinate,
29
29
  loadEmployeesSync
30
- } from "../chunk-2G2KOWBI.js";
31
- import "../chunk-EOO32RJZ.js";
30
+ } from "../chunk-EVB53OQD.js";
31
+ import "../chunk-RVSGXGWG.js";
32
32
  import "../chunk-FXU7JOXK.js";
33
- import "../chunk-NNT2ZNMC.js";
33
+ import "../chunk-TJEETRHD.js";
34
34
  import {
35
35
  EXE_AI_DIR
36
- } from "../chunk-TOWAZ5IV.js";
36
+ } from "../chunk-4GXRETYL.js";
37
37
  import "../chunk-LYH5HE24.js";
38
38
  import "../chunk-MLKGABMK.js";
39
39
 
@@ -185,15 +185,15 @@ Do NOT report this as successful. No file was changed. If you are a sub-agent, r
185
185
  process.exit(0);
186
186
  }
187
187
  }
188
- const { getGatedAgent } = await import("../cto-delegation-gate-JDDOHVQL.js");
188
+ const { getGatedAgent } = await import("../cto-delegation-gate-UFSXT2CA.js");
189
189
  const gatedAgent = getGatedAgent();
190
190
  if (agent.agentId === gatedAgent && /^(Write|Edit)$/.test(data.tool_name)) {
191
191
  const filePath = data.tool_input?.file_path ?? "";
192
192
  if (filePath) {
193
193
  try {
194
- const { fastDbInit } = await import("../fast-db-init-5DTYG5FZ.js");
194
+ const { fastDbInit } = await import("../fast-db-init-SMQC6S3C.js");
195
195
  await fastDbInit();
196
- const { evaluateDelegationGate, GATE_BLOCK_MESSAGE } = await import("../cto-delegation-gate-JDDOHVQL.js");
196
+ const { evaluateDelegationGate, GATE_BLOCK_MESSAGE } = await import("../cto-delegation-gate-UFSXT2CA.js");
197
197
  const decision = await evaluateDelegationGate({
198
198
  agentId: agent.agentId,
199
199
  toolName: data.tool_name,
@@ -238,7 +238,7 @@ Do NOT report this as successful. No file was changed. If you are a sub-agent, r
238
238
  const isUpdateTaskDone = (data.tool_name === "mcp__exe-os__update_task" || data.tool_name === "mcp__exe-mem__update_task") && toolInput.status === "done" && CTO_ROLES.includes(agent.agentRole);
239
239
  if (isUpdateTaskDone) {
240
240
  try {
241
- const { fastDbInit } = await import("../fast-db-init-5DTYG5FZ.js");
241
+ const { fastDbInit } = await import("../fast-db-init-SMQC6S3C.js");
242
242
  const client = await fastDbInit();
243
243
  const taskId = String(toolInput.task_id ?? "");
244
244
  const ptScope = sessionScopeFilter();
@@ -296,7 +296,7 @@ Do NOT report this as successful. No file was changed. If you are a sub-agent, r
296
296
  }
297
297
  if (CTO_ROLES.includes(agent.agentRole) && !hasDelegationFired()) {
298
298
  try {
299
- const { fastDbInit } = await import("../fast-db-init-5DTYG5FZ.js");
299
+ const { fastDbInit } = await import("../fast-db-init-SMQC6S3C.js");
300
300
  const client = await fastDbInit();
301
301
  const dlScope = sessionScopeFilter();
302
302
  const result = await client.execute({
@@ -5,18 +5,18 @@ import "../chunk-YSU7JB7H.js";
5
5
  import {
6
6
  hybridSearch,
7
7
  lightweightSearch
8
- } from "../chunk-KSOPUPQX.js";
8
+ } from "../chunk-CGLSVN6N.js";
9
9
  import "../chunk-SH45SJQW.js";
10
10
  import {
11
11
  getActiveAgent
12
- } from "../chunk-LVEOCWPL.js";
12
+ } from "../chunk-77QEF6FR.js";
13
13
  import {
14
14
  initStore
15
- } from "../chunk-DWLDYEGO.js";
16
- import "../chunk-LYMBXTEO.js";
15
+ } from "../chunk-RTNRPBQP.js";
16
+ import "../chunk-LZLXG7TK.js";
17
17
  import {
18
18
  isExeSession
19
- } from "../chunk-OC7Q4LOK.js";
19
+ } from "../chunk-OCFYT3LE.js";
20
20
  import "../chunk-LOQCOHEW.js";
21
21
  import "../chunk-TXSJ2L5O.js";
22
22
  import "../chunk-64WZEXXA.js";
@@ -24,9 +24,9 @@ import "../chunk-A7KEWR6S.js";
24
24
  import "../chunk-X347L57O.js";
25
25
  import "../chunk-GZIAQYGI.js";
26
26
  import "../chunk-ZQX6UOP6.js";
27
- import "../chunk-KIUU4PNX.js";
27
+ import "../chunk-H2CFBUGF.js";
28
28
  import "../chunk-NGP6LSV2.js";
29
- import "../chunk-3OGN523Z.js";
29
+ import "../chunk-ZPM2RMK2.js";
30
30
  import {
31
31
  getProjectName
32
32
  } from "../chunk-OPU3NYOO.js";
@@ -35,20 +35,20 @@ import {
35
35
  } from "../chunk-CVYC6DUW.js";
36
36
  import "../chunk-GJV3WDWM.js";
37
37
  import "../chunk-MP2AFCGL.js";
38
- import "../chunk-IWSXQKSB.js";
38
+ import "../chunk-JTHPKHKC.js";
39
39
  import "../chunk-HYZV25LY.js";
40
40
  import {
41
41
  canCoordinate
42
- } from "../chunk-2G2KOWBI.js";
43
- import "../chunk-EOO32RJZ.js";
42
+ } from "../chunk-EVB53OQD.js";
43
+ import "../chunk-RVSGXGWG.js";
44
44
  import "../chunk-FXU7JOXK.js";
45
45
  import "../chunk-6D23UNXU.js";
46
- import "../chunk-NNT2ZNMC.js";
46
+ import "../chunk-TJEETRHD.js";
47
47
  import {
48
48
  EXE_AI_DIR,
49
49
  loadConfig,
50
50
  loadConfigSync
51
- } from "../chunk-TOWAZ5IV.js";
51
+ } from "../chunk-4GXRETYL.js";
52
52
  import {
53
53
  atomicWriteJsonSync,
54
54
  atomicWriteSync
@@ -269,7 +269,7 @@ ${fresh.map(
269
269
  atomicWriteSync(counterPath, String(count));
270
270
  const BEHAVIOR_REINJECT_INTERVAL = 50;
271
271
  if (count === 1 || count % BEHAVIOR_REINJECT_INTERVAL === 0) {
272
- const { listBehaviors } = await import("../behaviors-4USTCRU7.js");
272
+ const { listBehaviors } = await import("../behaviors-KA64SSPT.js");
273
273
  const behaviors = await listBehaviors(agent.agentId);
274
274
  const active = behaviors.filter((b) => b.active !== 0).sort((a, b) => (a.priority === "p0" ? -1 : 1) - (b.priority === "p0" ? -1 : 1)).slice(0, 15);
275
275
  if (active.length > 0) {
@@ -294,7 +294,7 @@ ${lines.join("\n")}`;
294
294
  if (!lastCheckedAt) {
295
295
  lastCheckedAt = "1970-01-01T00:00:00.000Z";
296
296
  }
297
- const { listBehaviorsSince } = await import("../behaviors-4USTCRU7.js");
297
+ const { listBehaviorsSince } = await import("../behaviors-KA64SSPT.js");
298
298
  const newBehaviors = await listBehaviorsSince(agent.agentId, lastCheckedAt);
299
299
  if (newBehaviors.length > 0) {
300
300
  const lines = newBehaviors.map(
@@ -347,7 +347,7 @@ ${body}`;
347
347
  let reviewContext = "";
348
348
  if (canCoordinate(agent.agentId, agent.agentRole)) {
349
349
  try {
350
- const { countPendingReviews, countNewPendingReviewsSince } = await import("../tasks-review-IPOWGI4L.js");
350
+ const { countPendingReviews, countNewPendingReviewsSince } = await import("../tasks-review-LIWD4PGN.js");
351
351
  const sessionKey = getSessionKey();
352
352
  const lastCheckPath = path.join(CACHE_DIR, `review-lastcheck-${sessionKey}.json`);
353
353
  let sessionScope;
@@ -405,7 +405,7 @@ IMPORTANT: After completing your current task, you MUST address the pending revi
405
405
  let coreMemoryContext = "";
406
406
  if (!IS_CODEX_RUNTIME && agent.agentId !== "default") {
407
407
  try {
408
- const { getCoreMemory, formatCoreMemoryBlock } = await import("../core-memory-KL5BOUXU.js");
408
+ const { getCoreMemory, formatCoreMemoryBlock } = await import("../core-memory-QRQ62AZY.js");
409
409
  const entries = await getCoreMemory(agent.agentId);
410
410
  const block = formatCoreMemoryBlock(entries);
411
411
  if (block) coreMemoryContext = block;
@@ -531,7 +531,46 @@ IMPORTANT: After completing your current task, you MUST address the new task abo
531
531
  }
532
532
  } catch {
533
533
  }
534
- const combined = [cacheContext, coreMemoryContext, memoryContext, behaviorContext, identityContext, reviewContext, taskSignalContext, reviewSignalContext, mcpStaleNotice].filter(Boolean).join("\n\n");
534
+ let idleTaskContext = "";
535
+ if (!taskSignalContext && agent.agentId !== "default" && !IS_CODEX_RUNTIME) {
536
+ try {
537
+ const { fastDbInit } = await import("../fast-db-init-SMQC6S3C.js");
538
+ const client = await fastDbInit();
539
+ let taskSessionScope = null;
540
+ if (inTmux) {
541
+ try {
542
+ const { execSync: execSyncScope } = await import("child_process");
543
+ const tmuxSess = execSyncScope("tmux display-message -p '#{session_name}'", { encoding: "utf8", timeout: 2e3 }).trim();
544
+ taskSessionScope = tmuxSess.includes("-") ? tmuxSess.split("-").pop() ?? "" : tmuxSess;
545
+ } catch {
546
+ }
547
+ }
548
+ const scopeSQL = taskSessionScope ? " AND (session_scope IS NULL OR session_scope = ?)" : "";
549
+ const scopeArgs = taskSessionScope ? [taskSessionScope] : [];
550
+ const inProgressResult = await client.execute({
551
+ sql: `SELECT COUNT(*) as cnt FROM tasks WHERE assigned_to = ? AND status = 'in_progress'${scopeSQL} LIMIT 1`,
552
+ args: [agent.agentId, ...scopeArgs]
553
+ });
554
+ const inProgressCount = Number(inProgressResult.rows[0]?.cnt ?? 0);
555
+ if (inProgressCount === 0) {
556
+ const openResult = await client.execute({
557
+ sql: `SELECT id, title, priority FROM tasks WHERE assigned_to = ? AND status = 'open'${scopeSQL} ORDER BY priority ASC, created_at ASC LIMIT 1`,
558
+ args: [agent.agentId, ...scopeArgs]
559
+ });
560
+ if (openResult.rows.length > 0) {
561
+ const nextTask = openResult.rows[0];
562
+ const taskId = String(nextTask.id);
563
+ const title = String(nextTask.title);
564
+ const priority = String(nextTask.priority);
565
+ idleTaskContext = `
566
+ [IDLE TASK CHECK] You have open tasks but nothing in_progress. Next: "${title}" [${priority}]. Run get_task(task_id="${taskId}") and START WORKING NOW. Do not say "queue empty" or "waiting" \u2014 you have work.
567
+ `;
568
+ }
569
+ }
570
+ } catch {
571
+ }
572
+ }
573
+ const combined = [cacheContext, coreMemoryContext, memoryContext, behaviorContext, identityContext, reviewContext, taskSignalContext, reviewSignalContext, idleTaskContext, mcpStaleNotice].filter(Boolean).join("\n\n");
535
574
  if (combined.length > 0) {
536
575
  const output = JSON.stringify({
537
576
  hookSpecificOutput: {
@@ -561,8 +600,8 @@ async function writePromptMemory(prompt, sessionId, agent) {
561
600
  return;
562
601
  }
563
602
  try {
564
- const { fastDbInit } = await import("../fast-db-init-5DTYG5FZ.js");
565
- const { recordSessionEvent } = await import("../session-events-NYMENC3B.js");
603
+ const { fastDbInit } = await import("../fast-db-init-SMQC6S3C.js");
604
+ const { recordSessionEvent } = await import("../session-events-KURSY7LK.js");
566
605
  const client = await fastDbInit();
567
606
  await recordSessionEvent(client, {
568
607
  agentId: agent.agentId,
@@ -577,7 +616,7 @@ async function writePromptMemory(prompt, sessionId, agent) {
577
616
  }
578
617
  if (!loadConfigSync().autoIngestion) return;
579
618
  try {
580
- const { writeMemoryViaDaemon } = await import("../memory-queue-client-YJOLYALV.js");
619
+ const { writeMemoryViaDaemon } = await import("../memory-queue-client-M7NHD4GY.js");
581
620
  await writeMemoryViaDaemon({
582
621
  raw_text: prompt.slice(0, 2e3),
583
622
  agent_id: agent.agentId,
@@ -6,18 +6,18 @@ import "../chunk-SH45SJQW.js";
6
6
  import {
7
7
  clearActiveAgent,
8
8
  getActiveAgent
9
- } from "../chunk-LVEOCWPL.js";
9
+ } from "../chunk-77QEF6FR.js";
10
10
  import {
11
11
  writeContinuityCheckpoint
12
- } from "../chunk-UJ2KUF4C.js";
13
- import "../chunk-EHXOWGQG.js";
14
- import "../chunk-EYQIEK5M.js";
15
- import "../chunk-W6SKR3HZ.js";
12
+ } from "../chunk-U5GTF2JP.js";
13
+ import "../chunk-IXJ4SLKR.js";
14
+ import "../chunk-GUCKE3GK.js";
15
+ import "../chunk-E2O7YYDS.js";
16
16
  import "../chunk-3H4VU65X.js";
17
- import "../chunk-K4KAPZC7.js";
17
+ import "../chunk-CMFLJNP6.js";
18
18
  import {
19
19
  strictSessionScopeFilter
20
- } from "../chunk-OC7Q4LOK.js";
20
+ } from "../chunk-OCFYT3LE.js";
21
21
  import "../chunk-LOQCOHEW.js";
22
22
  import "../chunk-TXSJ2L5O.js";
23
23
  import "../chunk-64WZEXXA.js";
@@ -25,24 +25,24 @@ import "../chunk-A7KEWR6S.js";
25
25
  import "../chunk-X347L57O.js";
26
26
  import "../chunk-GZIAQYGI.js";
27
27
  import "../chunk-ZQX6UOP6.js";
28
- import "../chunk-KIUU4PNX.js";
28
+ import "../chunk-H2CFBUGF.js";
29
29
  import "../chunk-NGP6LSV2.js";
30
- import "../chunk-3OGN523Z.js";
30
+ import "../chunk-ZPM2RMK2.js";
31
31
  import "../chunk-OPU3NYOO.js";
32
32
  import {
33
33
  getSessionKey
34
34
  } from "../chunk-CVYC6DUW.js";
35
35
  import "../chunk-GJV3WDWM.js";
36
36
  import "../chunk-MP2AFCGL.js";
37
- import "../chunk-IWSXQKSB.js";
37
+ import "../chunk-JTHPKHKC.js";
38
38
  import "../chunk-HYZV25LY.js";
39
39
  import {
40
40
  canCoordinate
41
- } from "../chunk-2G2KOWBI.js";
42
- import "../chunk-EOO32RJZ.js";
41
+ } from "../chunk-EVB53OQD.js";
42
+ import "../chunk-RVSGXGWG.js";
43
43
  import "../chunk-FXU7JOXK.js";
44
- import "../chunk-NNT2ZNMC.js";
45
- import "../chunk-TOWAZ5IV.js";
44
+ import "../chunk-TJEETRHD.js";
45
+ import "../chunk-4GXRETYL.js";
46
46
  import "../chunk-LYH5HE24.js";
47
47
  import "../chunk-MLKGABMK.js";
48
48
 
@@ -72,7 +72,7 @@ process.stdin.on("end", async () => {
72
72
  const agent = getActiveAgent();
73
73
  if (agent.agentId !== "default") {
74
74
  try {
75
- const { fastDbInit } = await import("../fast-db-init-5DTYG5FZ.js");
75
+ const { fastDbInit } = await import("../fast-db-init-SMQC6S3C.js");
76
76
  const client = await fastDbInit();
77
77
  const seScope = strictSessionScopeFilter();
78
78
  const orphanResult = await client.execute({
@@ -147,7 +147,7 @@ Orphaned tasks at session end: ${orphanResult.rows.map((r) => `"${String(r.title
147
147
  extraSections
148
148
  });
149
149
  try {
150
- const { clearSessionFileReads } = await import("../git-staleness-SVUTMS2F.js");
150
+ const { clearSessionFileReads } = await import("../git-staleness-HE6QCRSC.js");
151
151
  await clearSessionFileReads(data.session_id);
152
152
  } catch {
153
153
  }
@@ -161,7 +161,7 @@ Orphaned tasks at session end: ${orphanResult.rows.map((r) => `"${String(r.title
161
161
  );
162
162
  let commits = [];
163
163
  try {
164
- const { getRecentCommits } = await import("../git-task-sweep-EQHX4LXT.js");
164
+ const { getRecentCommits } = await import("../git-task-sweep-NWHG3FWG.js");
165
165
  commits = getRecentCommits(30);
166
166
  } catch {
167
167
  }
@@ -171,7 +171,7 @@ Orphaned tasks at session end: ${orphanResult.rows.map((r) => `"${String(r.title
171
171
  const title = String(row.title);
172
172
  try {
173
173
  if (commits.length > 0) {
174
- const { findBestMatch } = await import("../git-task-sweep-EQHX4LXT.js");
174
+ const { findBestMatch } = await import("../git-task-sweep-NWHG3FWG.js");
175
175
  let context;
176
176
  try {
177
177
  const ctxResult = await client.execute({
@@ -215,7 +215,7 @@ Orphaned tasks at session end: ${orphanResult.rows.map((r) => `"${String(r.title
215
215
  parts.push(`Left in_progress (no matching commits, needs triage): ${leftInProgress.join(", ")}`);
216
216
  }
217
217
  try {
218
- const { writeNotification } = await import("../notifications-SF2XN5JE.js");
218
+ const { writeNotification } = await import("../notifications-Z6Q2SEHP.js");
219
219
  await writeNotification({
220
220
  agentId: agent.agentId,
221
221
  agentRole: agent.agentRole,
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  loadConfigSync
3
- } from "../chunk-TOWAZ5IV.js";
3
+ } from "../chunk-4GXRETYL.js";
4
4
  import "../chunk-LYH5HE24.js";
5
5
  import "../chunk-MLKGABMK.js";
6
6
 
@@ -31,9 +31,9 @@ process.stdin.on("end", async () => {
31
31
  try {
32
32
  const { getClient } = await import("../lib/database.js");
33
33
  const { lightweightSearch } = await import("../lib/hybrid-search.js");
34
- const { getActiveAgent } = await import("../active-agent-JN7A2D2E.js");
34
+ const { getActiveAgent } = await import("../active-agent-RY74REEW.js");
35
35
  const { getProjectName } = await import("../project-name-EWG5KAZP.js");
36
- const { getCurrentSessionScope } = await import("../task-scope-XXPTORGS.js");
36
+ const { getCurrentSessionScope } = await import("../task-scope-HW6BE2PI.js");
37
37
  const { canCoordinate } = await import("../lib/employees.js");
38
38
  const data = JSON.parse(input);
39
39
  const projectName = getProjectName(data.cwd || void 0);
@@ -50,7 +50,7 @@ process.stdin.on("end", async () => {
50
50
  } catch {
51
51
  }
52
52
  }
53
- const { fastDbInit } = await import("../fast-db-init-5DTYG5FZ.js");
53
+ const { fastDbInit } = await import("../fast-db-init-SMQC6S3C.js");
54
54
  await fastDbInit();
55
55
  const agent = getActiveAgent();
56
56
  const agentId = agent.agentId;
@@ -64,7 +64,7 @@ process.stdin.on("end", async () => {
64
64
  if (existsSync(markerPath)) {
65
65
  const marker = JSON.parse(readFileSync(markerPath, "utf-8"));
66
66
  if (marker.taskId) {
67
- const { queryTaskRows } = await import("../tasks-crud-3UCNTXKQ.js");
67
+ const { queryTaskRows } = await import("../tasks-crud-WACRTPQK.js");
68
68
  const markerRows = await queryTaskRows({
69
69
  columns: "status",
70
70
  sessionScope: sessionScope ?? null,
@@ -108,7 +108,7 @@ process.stdin.on("end", async () => {
108
108
  query = `last actions on ${projectName}`;
109
109
  header = "## Resuming Session\nHere's where you left off:";
110
110
  try {
111
- const { buildCatchupBrief } = await import("../catchup-brief-T2RPTOTZ.js");
111
+ const { buildCatchupBrief } = await import("../catchup-brief-PKETW4ND.js");
112
112
  const brief = await buildCatchupBrief(
113
113
  agentId,
114
114
  projectName,
@@ -120,7 +120,7 @@ process.stdin.on("end", async () => {
120
120
  } catch {
121
121
  }
122
122
  try {
123
- const { detectStaleFiles } = await import("../git-staleness-SVUTMS2F.js");
123
+ const { detectStaleFiles } = await import("../git-staleness-HE6QCRSC.js");
124
124
  const staleFiles = await detectStaleFiles(agentId, data.cwd || process.cwd());
125
125
  if (staleFiles.length > 0) {
126
126
  extraContext += `${extraContext.length > 0 ? "\n\n" : ""}## \u26A0\uFE0F Stale File Warning
@@ -140,7 +140,7 @@ The following files have been modified since you last read them:
140
140
  );
141
141
  let taskBrief = "";
142
142
  try {
143
- const { queryTaskRows } = await import("../tasks-crud-3UCNTXKQ.js");
143
+ const { queryTaskRows } = await import("../tasks-crud-WACRTPQK.js");
144
144
  const taskResult = await queryTaskRows({
145
145
  assignedTo: agentId,
146
146
  status: ["open", "in_progress"],
@@ -195,7 +195,7 @@ You are **${title}**${role ? ` (${role})` : ""}. ${firstLine}
195
195
  }
196
196
  }
197
197
  try {
198
- const { loadOrchestrationPhase } = await import("../orchestration-phase-FXKZYK6R.js");
198
+ const { loadOrchestrationPhase } = await import("../orchestration-phase-D3PNCSUY.js");
199
199
  const phase = await loadOrchestrationPhase();
200
200
  additionalContext += `## Orchestration Phase
201
201
  ${phase.label}. Focus: ${phase.focus}. This is guidance, not a blocker; the user can switch phases anytime. ${phase.nextSuggestion}