@askexenow/exe-os 0.9.332 → 0.9.336
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.
- package/dist/{active-agent-AIK6FSYE.js → active-agent-IM37G7MO.js} +3 -3
- package/dist/{active-agent-GXV65DNN.js → active-agent-W5TKWMYT.js} +3 -3
- package/dist/{agentic-ontology-V2BQY4DH.js → agentic-ontology-FG4YCUZG.js} +1 -1
- package/dist/{backfill-metadata-FDQVVGRQ.js → backfill-metadata-AFXONF76.js} +4 -4
- package/dist/{behaviors-SAS6JALZ.js → behaviors-EHEN4II7.js} +5 -5
- package/dist/bin/agentic-ontology-backfill.js +5 -5
- package/dist/bin/agentic-reflection-backfill.js +6 -6
- package/dist/bin/agentic-semantic-label.js +5 -5
- package/dist/bin/backfill-conversations.js +4 -4
- package/dist/bin/backfill-responses.js +4 -4
- package/dist/bin/backfill-vectors.js +5 -5
- package/dist/bin/bulk-sync-postgres.js +9 -9
- package/dist/bin/cc-doctor.js +4 -4
- package/dist/bin/cleanup-stale-review-tasks.js +13 -13
- package/dist/bin/cli.js +15 -15
- package/dist/bin/deferred-daemon-restart.js +62 -62
- package/dist/bin/exe-agent-config.js +3 -3
- package/dist/bin/exe-agent.js +4 -4
- package/dist/bin/exe-assign.js +5 -5
- package/dist/bin/exe-boot.js +21 -21
- package/dist/bin/exe-call.js +4 -4
- package/dist/bin/exe-cloud.js +9 -9
- package/dist/bin/exe-config-dump.js +3 -3
- package/dist/bin/exe-dispatch.js +13 -13
- package/dist/bin/exe-doctor.js +4 -4
- package/dist/bin/exe-export-behaviors.js +7 -7
- package/dist/bin/exe-forget.js +6 -6
- package/dist/bin/exe-gateway.js +7 -7
- package/dist/bin/exe-healthcheck.js +4 -4
- package/dist/bin/exe-heartbeat.js +13 -13
- package/dist/bin/exe-kill.js +16 -16
- package/dist/bin/exe-launch-agent.js +21 -21
- package/dist/bin/exe-new-employee.js +8 -8
- package/dist/bin/exe-pending-messages.js +14 -14
- package/dist/bin/exe-pending-notifications.js +13 -13
- package/dist/bin/exe-pending-reviews.js +13 -13
- package/dist/bin/exe-rename.js +4 -4
- package/dist/bin/exe-review.js +15 -15
- package/dist/bin/exe-search.js +5 -5
- package/dist/bin/exe-session-cleanup.js +17 -17
- package/dist/bin/exe-settings.js +10 -10
- package/dist/bin/exe-start-codex.js +12 -12
- package/dist/bin/exe-start-opencode.js +8 -8
- package/dist/bin/exe-status.js +14 -14
- package/dist/bin/exe-support.js +3 -3
- package/dist/bin/exe-team.js +3 -3
- package/dist/bin/git-sweep.js +14 -14
- package/dist/bin/graph-backfill.js +4 -4
- package/dist/bin/graph-export.js +5 -5
- package/dist/bin/import-history.js +7 -7
- package/dist/bin/install.js +64 -64
- package/dist/bin/intercom-check.js +4 -4
- package/dist/bin/mcp-sessions.js +2 -2
- package/dist/bin/orchestration-metrics.js +4 -4
- package/dist/bin/postgres-agentic-reflection-backfill.js +2 -2
- package/dist/bin/postgres-agentic-semantic-backfill.js +1 -1
- package/dist/bin/registry-proxy.js +1 -1
- package/dist/bin/scan-tasks.js +13 -13
- package/dist/bin/setup.js +1 -1
- package/dist/bin/shard-migrate.js +4 -4
- package/dist/bin/stack-update.js +4 -4
- package/dist/bin/vps-health-gate.js +1 -1
- package/dist/{capability-cards-QKTDMIWO.js → capability-cards-DUM76MEW.js} +2 -2
- package/dist/{capacity-monitor-I6TX3OZA.js → capacity-monitor-XY6TLPQR.js} +14 -14
- package/dist/{catchup-brief-RAZTRECT.js → catchup-brief-JGRVXTBF.js} +16 -16
- package/dist/{chunk-YSU4JO3J.js → chunk-2AWXDWUB.js} +1 -1
- package/dist/{chunk-BST5NSJC.js → chunk-2DJTSJWW.js} +3 -3
- package/dist/{chunk-QGVXUTHX.js → chunk-4E7DFDVQ.js} +1 -1
- package/dist/{chunk-5CZ2ZH6L.js → chunk-4ZH65EXT.js} +1 -1
- package/dist/{chunk-YFYUNROP.js → chunk-5M7RPT2V.js} +4 -4
- package/dist/{chunk-26GM62C3.js → chunk-5OM6Z22T.js} +1 -1
- package/dist/{chunk-RGBABIFH.js → chunk-5TWCO22U.js} +9 -9
- package/dist/{chunk-2ES3ACCO.js → chunk-6E5DEC2D.js} +5 -5
- package/dist/{chunk-OXZHAERM.js → chunk-6F2DZQQS.js} +3 -3
- package/dist/{chunk-FZQBWOIB.js → chunk-6ND3MBX7.js} +2 -2
- package/dist/{chunk-NUPU7TRA.js → chunk-7JM2LGHO.js} +3 -3
- package/dist/{chunk-HG7ZX2UT.js → chunk-AMBCXARR.js} +107 -107
- package/dist/{chunk-ZJSH3L6R.js → chunk-AVFMDS5Z.js} +2 -2
- package/dist/{chunk-KNLQAVLI.js → chunk-AVOP32R7.js} +4 -4
- package/dist/{chunk-6J5FWFAI.js → chunk-B6QRDKL3.js} +1 -1
- package/dist/{chunk-N2J6FWMQ.js → chunk-BE7NKEGL.js} +5 -5
- package/dist/{chunk-7QFR2QUD.js → chunk-BF252PDD.js} +2 -2
- package/dist/{chunk-OEEQGXCG.js → chunk-C5KHGDWX.js} +1 -1
- package/dist/{chunk-YYKY45TM.js → chunk-CMZLULTW.js} +1 -1
- package/dist/{chunk-IVN7UUKK.js → chunk-DUBZDAXS.js} +9 -9
- package/dist/{chunk-JT3I3OWU.js → chunk-DUSZ2ZQE.js} +1 -1
- package/dist/{chunk-4X3VWI22.js → chunk-EFFE6UVN.js} +2 -2
- package/dist/{chunk-IJTCNN5I.js → chunk-EGCYJ4LJ.js} +1 -1
- package/dist/{chunk-E5UHM2KN.js → chunk-ELOJZIVD.js} +1 -1
- package/dist/{chunk-QVM5KATG.js → chunk-EVV2G3CW.js} +2 -2
- package/dist/{chunk-TQM7RGOB.js → chunk-EVWJQBCW.js} +2 -2
- package/dist/{chunk-TK7ZDWU3.js → chunk-FHOI6AFU.js} +3 -3
- package/dist/chunk-FLNSJ2TC.js +23 -0
- package/dist/{chunk-5EP4TCZ2.js → chunk-FQ55TZWJ.js} +1 -1
- package/dist/{chunk-7ODTT6WK.js → chunk-FUX5ZEB3.js} +1 -1
- package/dist/{chunk-VAZHL55P.js → chunk-FYPSGPYS.js} +1 -1
- package/dist/{chunk-QUZ4VK3R.js → chunk-HDALYSEP.js} +2 -2
- package/dist/{chunk-T5JJBIUB.js → chunk-IIEKPBKB.js} +9 -9
- package/dist/{chunk-JRRNRSZC.js → chunk-JGHVEDZG.js} +1 -1
- package/dist/{chunk-SPCO7SNH.js → chunk-JGKV5DLX.js} +2 -2
- package/dist/{chunk-YDUS2DFZ.js → chunk-K4SSTJHJ.js} +1 -1
- package/dist/{chunk-EC4O5ITE.js → chunk-LAVL2OMB.js} +2 -2
- package/dist/{chunk-QQCZLNUC.js → chunk-MS6F63JW.js} +1 -1
- package/dist/{chunk-LB5B4NJ6.js → chunk-MZ222PUT.js} +3 -3
- package/dist/{chunk-P3PGU2OC.js → chunk-N2JXHW4E.js} +1 -1
- package/dist/{chunk-6AY7VXSF.js → chunk-NCS7UNML.js} +7 -7
- package/dist/{chunk-67547XFJ.js → chunk-O2RF5NGI.js} +1 -1
- package/dist/{chunk-CDVA67B2.js → chunk-OG5CXUHI.js} +21 -0
- package/dist/{chunk-ORU5LDIT.js → chunk-OMU7HDKI.js} +1 -1
- package/dist/{chunk-DTFFLCFM.js → chunk-P6OW236E.js} +1 -1
- package/dist/{chunk-267TDVN7.js → chunk-QAD4YR57.js} +6 -6
- package/dist/{chunk-3HMHSTHQ.js → chunk-QIJEW462.js} +1 -1
- package/dist/{chunk-M6E76DMO.js → chunk-QWWGMK4Y.js} +1 -1
- package/dist/{chunk-3PHTJIC3.js → chunk-RIOJ7RWQ.js} +2 -2
- package/dist/{chunk-OEA44GCC.js → chunk-RLY3O2F7.js} +3 -3
- package/dist/{chunk-3KAYKHVB.js → chunk-ROAUSSJI.js} +18 -95
- package/dist/{chunk-BAXNI3A5.js → chunk-RQ3EUVVT.js} +1 -1
- package/dist/{chunk-FZALT2G7.js → chunk-S7LMZ6VM.js} +1 -1
- package/dist/{chunk-L6CLX2QF.js → chunk-SEEMHG5A.js} +3 -3
- package/dist/{chunk-5QJFZYDD.js → chunk-SGLZZJWX.js} +1 -1
- package/dist/{chunk-SNJEQPPA.js → chunk-SKFA42EO.js} +2 -2
- package/dist/{chunk-MPUIO6GF.js → chunk-U3WSLO2R.js} +3 -3
- package/dist/{chunk-7YTO3LHB.js → chunk-U5QPEYCA.js} +5 -5
- package/dist/{chunk-J53PHGGC.js → chunk-UE7SPA54.js} +2 -2
- package/dist/{chunk-XWH7QGCU.js → chunk-UPH5EY5F.js} +1 -1
- package/dist/{chunk-RKBVTCPY.js → chunk-VVFWJU3D.js} +1 -1
- package/dist/{chunk-HRUI3Q42.js → chunk-W33EMSZB.js} +5 -5
- package/dist/{chunk-AREY6CD2.js → chunk-X7BGMYZS.js} +1 -1
- package/dist/{chunk-FAVEOPZD.js → chunk-XDIYCXMJ.js} +1 -1
- package/dist/{chunk-JRTJKLON.js → chunk-XGQU34XA.js} +2 -2
- package/dist/{chunk-HDZF7FQF.js → chunk-XUOSKPVP.js} +1 -1
- package/dist/{chunk-3CHTRPOU.js → chunk-XYKCPHWT.js} +1 -1
- package/dist/{chunk-BIM763ML.js → chunk-XZHA3WO2.js} +3 -3
- package/dist/{chunk-EOYVD5U3.js → chunk-YBVKLDT3.js} +1 -1
- package/dist/{chunk-UUY3USYA.js → chunk-YDTW2KYM.js} +1 -1
- package/dist/{chunk-OIMQGA62.js → chunk-YOZJWU2I.js} +9 -9
- package/dist/{chunk-B3ZUS3UU.js → chunk-Z6MVHWJF.js} +1 -1
- package/dist/{cleanup-graph-garbage-6QGLERF2.js → cleanup-graph-garbage-MKSRWINB.js} +4 -4
- package/dist/{co-activation-EVNRLGPH.js → co-activation-W7QBHSUR.js} +2 -2
- package/dist/{co-occurrence-FEU6RXQI.js → co-occurrence-C5YW5JZ6.js} +2 -2
- package/dist/{crdt-sync-YI5LFAUY.js → crdt-sync-OTFYRPW2.js} +1 -1
- package/dist/{crm-webhook-DHFRIRLN.js → crm-webhook-5WHYZW6K.js} +2 -2
- package/dist/{cto-delegation-gate-Z7UVTVYO.js → cto-delegation-gate-U2AEMPQD.js} +12 -12
- package/dist/{daemon-orchestration-XWDFUFJG.js → daemon-orchestration-DIT3JLV7.js} +16 -16
- package/dist/daemon-ready-5XI5BIJD.js +7 -0
- package/dist/{db-backup-UBKQZVEI.js → db-backup-CXNB2ZAG.js} +1 -1
- package/dist/{doc-graph-extractor-BPXVTZ4L.js → doc-graph-extractor-SDH4QDWF.js} +2 -2
- package/dist/{documents-OMKCMWR7.js → documents-WBKAVVMO.js} +5 -5
- package/dist/{dreaming-SDFWY5FY.js → dreaming-M23FLJDE.js} +13 -13
- package/dist/{exe-drift-PVUYHYKG.js → exe-drift-AZGPQH73.js} +3 -3
- package/dist/{exe-export-BY6IFTEP.js → exe-export-523RIUSC.js} +6 -6
- package/dist/{exe-import-55UKB2X7.js → exe-import-CCF76ZK7.js} +6 -6
- package/dist/{exe-key-F3BM5GEW.js → exe-key-5ADXQDJY.js} +62 -62
- package/dist/{exe-snapshot-RGIJJ2ZX.js → exe-snapshot-NQMKIQQO.js} +16 -16
- package/dist/{fast-db-init-OZDG42SZ.js → fast-db-init-YDAY7TVI.js} +1 -1
- package/dist/{founder-context-NSXLHXJ4.js → founder-context-CTNPSPVO.js} +2 -2
- package/dist/gateway/index.js +8 -8
- package/dist/{git-staleness-7N4H6ZE3.js → git-staleness-FIPWVHRJ.js} +2 -2
- package/dist/{global-procedures-3PJSNL4Q.js → global-procedures-YT2RDNUD.js} +3 -3
- package/dist/{graph-auto-extract-S5TSHNFY.js → graph-auto-extract-T63GAUZF.js} +2 -2
- package/dist/hooks/bug-report-worker.js +15 -15
- package/dist/hooks/codex-stop-task-finalizer.js +15 -15
- package/dist/hooks/commit-complete.js +15 -15
- package/dist/hooks/error-recall.js +6 -6
- package/dist/hooks/exe-heartbeat-hook.js +3 -3
- package/dist/hooks/ingest.js +6 -6
- package/dist/hooks/instructions-loaded.js +4 -4
- package/dist/hooks/manifest.json +19 -19
- package/dist/hooks/notification.js +4 -4
- package/dist/hooks/post-compact.js +14 -14
- package/dist/hooks/post-tool-combined.js +7 -7
- package/dist/hooks/pre-compact.js +15 -15
- package/dist/hooks/pre-tool-use.js +18 -18
- package/dist/hooks/prompt-submit.js +48 -51
- package/dist/hooks/session-end.js +19 -19
- package/dist/hooks/session-start.js +15 -34
- package/dist/hooks/stop.js +18 -18
- package/dist/hooks/subagent-stop.js +14 -14
- package/dist/hooks/summary-worker.js +18 -18
- package/dist/index.js +22 -22
- package/dist/{installer-TYK3XXK7.js → installer-EGY5GPB7.js} +5 -5
- package/dist/{installer-3X5QNMTD.js → installer-MHVZ4RJU.js} +5 -5
- package/dist/{installer-FQKJ6ULZ.js → installer-UEPVZPFE.js} +5 -5
- package/dist/{intercom-queue-JFBMDV6J.js → intercom-queue-NQFQZXQP.js} +12 -12
- package/dist/lib/agent-config.js +1 -1
- package/dist/lib/cloud-sync.js +9 -9
- package/dist/lib/consolidation.js +5 -5
- package/dist/lib/database.js +2 -2
- package/dist/lib/db.js +2 -2
- package/dist/lib/device-registry.js +1 -1
- package/dist/lib/employee-templates.js +4 -4
- package/dist/lib/employees.js +2 -2
- package/dist/lib/exe-daemon.js +49 -49
- package/dist/lib/hybrid-search.js +5 -5
- package/dist/lib/identity.js +2 -2
- package/dist/lib/license.js +2 -2
- package/dist/lib/messaging.js +13 -13
- package/dist/lib/registry-proxy.js +1 -1
- package/dist/lib/reminders.js +3 -3
- package/dist/lib/schedules.js +5 -5
- package/dist/lib/session-registry.js +4 -4
- package/dist/lib/skill-learning.js +6 -6
- package/dist/lib/store.js +4 -4
- package/dist/lib/task-router.js +3 -3
- package/dist/lib/tasks.js +14 -14
- package/dist/lib/tmux-routing.js +12 -12
- package/dist/lib/token-spend.js +3 -3
- package/dist/{license-gate-B4HB3ZDR.js → license-gate-WCBZ4EBB.js} +3 -3
- package/dist/{license-sync-LSKU2X6F.js → license-sync-N63ORPQY.js} +2 -2
- package/dist/mcp/register-tools.js +61 -61
- package/dist/mcp/server.js +62 -62
- package/dist/mcp/tools/complete-reminder.js +4 -4
- package/dist/mcp/tools/create-reminder.js +4 -4
- package/dist/mcp/tools/create-task.js +16 -16
- package/dist/mcp/tools/deactivate-behavior.js +7 -7
- package/dist/mcp/tools/list-reminders.js +4 -4
- package/dist/mcp/tools/list-tasks.js +16 -16
- package/dist/mcp/tools/send-message.js +15 -15
- package/dist/mcp/tools/update-task.js +15 -15
- package/dist/{mcp-http-config-D4EBSK3R.js → mcp-http-config-I2XKM6Y6.js} +3 -3
- package/dist/{memory-cards-7YIZUWSJ.js → memory-cards-LJLITM2D.js} +4 -4
- package/dist/{memory-graph-extractor-3NQUGAA5.js → memory-graph-extractor-WIK2X7NW.js} +3 -3
- package/dist/{memory-poisoning-defense-DPCHNN7S.js → memory-poisoning-defense-K5ZYLCBS.js} +2 -2
- package/dist/{memory-pressure-watchdog-MZWX4YIA.js → memory-pressure-watchdog-GAIU4DFY.js} +13 -13
- package/dist/{memory-reflection-EGLE4DZ5.js → memory-reflection-ERYZ6SJH.js} +2 -2
- package/dist/{notifications-42Z4ZRNV.js → notifications-A43CXO7Q.js} +12 -12
- package/dist/{orchestration-events-2QYYCFSI.js → orchestration-events-CRVRCTHR.js} +3 -3
- package/dist/{orchestrator-ALAA4P6M.js → orchestrator-65ZCLW5C.js} +14 -14
- package/dist/{pipeline-router-F226AZRB.js → pipeline-router-VZUIXWWJ.js} +3 -3
- package/dist/{plan-limits-ETP2IFM4.js → plan-limits-QNY6FVQQ.js} +5 -5
- package/dist/{projection-worker-UL2HHHPO.js → projection-worker-EASTW4IP.js} +2 -2
- package/dist/{prospective-memory-JPTTRFYJ.js → prospective-memory-T7Z67MF7.js} +2 -2
- package/dist/{reranker-G24KWZKH.js → reranker-2S766AWB.js} +1 -1
- package/dist/{retrieval-health-GFGXNPSN.js → retrieval-health-HQ6JHDTD.js} +1 -1
- package/dist/{review-polling-REHBTRU6.js → review-polling-4R7EPAHG.js} +13 -13
- package/dist/runtime/index.js +16 -16
- package/dist/{session-events-F3DPBY4P.js → session-events-ZPPOVRDJ.js} +13 -13
- package/dist/{session-kill-telemetry-USNB6ND7.js → session-kill-telemetry-BEAPGQEF.js} +13 -13
- package/dist/{session-scope-CJQE4LVB.js → session-scope-B6Y2VP75.js} +12 -12
- package/dist/{setup-wizard-S6XYW2WH.js → setup-wizard-X6HICSAF.js} +1 -1
- package/dist/{skill-refinement-XXYCXA2U.js → skill-refinement-XYACEWES.js} +3 -3
- package/dist/{stack-update-2TGPFH6E.js → stack-update-4JALV4DZ.js} +3 -3
- package/dist/{steward-gate-L2FBY7U4.js → steward-gate-WGP4QWXQ.js} +3 -3
- package/dist/{task-enforcement-ZKB2VZ6W.js → task-enforcement-WFHEKFC3.js} +13 -13
- package/dist/{task-scope-CATQQNVX.js → task-scope-VMYGYVCH.js} +12 -12
- package/dist/{tasks-crud-RDWLWYWV.js → tasks-crud-ELQ2JSRG.js} +12 -12
- package/dist/{tasks-notify-CKT5A6WK.js → tasks-notify-R6KGKW5R.js} +13 -13
- package/dist/{tasks-review-UXWXJ6H3.js → tasks-review-E3YTGOFJ.js} +12 -12
- package/dist/{telemetry-upload-UUJULBSV.js → telemetry-upload-RDJX4ZFD.js} +7 -7
- package/dist/{token-budget-EVNOJQ7H.js → token-budget-XZVEGHCT.js} +3 -3
- package/dist/{tool-telemetry-UPADF5DF.js → tool-telemetry-OQ423YOE.js} +1 -1
- package/dist/tui/App.js +20 -20
- package/dist/{tui-data-7SQLIY2O.js → tui-data-7UMFG6GY.js} +12 -12
- package/dist/{worker-gate-2O27EXUE.js → worker-gate-QENGURPJ.js} +1 -1
- package/dist/{workflow-engine-QGSEQV2Z.js → workflow-engine-HUSIWUSV.js} +2 -2
- package/dist/{worktree-3RKV6KQO.js → worktree-EZ3EZUOV.js} +4 -4
- package/dist/{worktree-sweep-PYREGLPP.js → worktree-sweep-O2UXISLE.js} +5 -5
- package/package.json +3 -3
- package/release-notes.json +7 -3
- /package/dist/{chunk-INT5PHNK.js → chunk-5KCRWAWF.js} +0 -0
- /package/dist/{chunk-XWIVAMVX.js → chunk-DFJVHZ6Z.js} +0 -0
- /package/dist/{chunk-TXUSQZLH.js → chunk-F6VD2OWU.js} +0 -0
- /package/dist/{chunk-66RCRDIF.js → chunk-GOAPKDWS.js} +0 -0
- /package/dist/{chunk-YWIOFMHL.js → chunk-HHFQRC3F.js} +0 -0
- /package/dist/{chunk-JMGYZLJX.js → chunk-IO3Z2JBX.js} +0 -0
- /package/dist/{chunk-G3UK4TTT.js → chunk-JIE4ZUMV.js} +0 -0
- /package/dist/{chunk-O4522BYB.js → chunk-KK64O2G4.js} +0 -0
- /package/dist/{chunk-OHSJOKKW.js → chunk-LUO2MYQH.js} +0 -0
- /package/dist/{chunk-3HIYBZ62.js → chunk-TBRNCEV4.js} +0 -0
- /package/dist/{chunk-VYLDGF4D.js → chunk-XETUG5DN.js} +0 -0
- /package/dist/{core-memory-KMBRE2HU.js → core-memory-V2Q5G7CJ.js} +0 -0
- /package/dist/{oauth-server-YVREFZMD.js → oauth-server-MLE5MGQO.js} +0 -0
- /package/dist/{project-boot-OZA6KYFP.js → project-boot-27QXVGY3.js} +0 -0
- /package/dist/{wiki-acl-XWSASBWZ.js → wiki-acl-NZMJUJGL.js} +0 -0
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
updateTask
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-NCS7UNML.js";
|
|
4
4
|
import {
|
|
5
5
|
TASK_ALREADY_CLAIMED_PREFIX
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-ROAUSSJI.js";
|
|
7
7
|
import {
|
|
8
8
|
getAgentContext
|
|
9
9
|
} from "./chunk-GJV3WDWM.js";
|
|
10
10
|
import {
|
|
11
11
|
isCoordinatorName
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-XZHA3WO2.js";
|
|
13
13
|
|
|
14
14
|
// src/mcp/tools/update-task.ts
|
|
15
15
|
import { z } from "zod";
|
|
@@ -63,7 +63,7 @@ function registerUpdateTask(server) {
|
|
|
63
63
|
let callerAgentId;
|
|
64
64
|
let callerSession;
|
|
65
65
|
try {
|
|
66
|
-
const { getActiveAgent: getAgent } = await import("./active-agent-
|
|
66
|
+
const { getActiveAgent: getAgent } = await import("./active-agent-IM37G7MO.js");
|
|
67
67
|
callerAgentId = getAgent().agentId;
|
|
68
68
|
callerSession = resolveCallerSessionForUpdate();
|
|
69
69
|
} catch {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
formatDegradations,
|
|
3
3
|
getRetrievalHealth
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-F6VD2OWU.js";
|
|
5
5
|
import {
|
|
6
6
|
buildRestartReport,
|
|
7
7
|
formatRestartReport
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
} from "./chunk-OTVEIJUQ.js";
|
|
17
17
|
import {
|
|
18
18
|
offloadReadIfMain
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-XZHA3WO2.js";
|
|
20
20
|
import {
|
|
21
21
|
isMainModule
|
|
22
22
|
} from "./chunk-6Y4B3QF6.js";
|
|
@@ -959,7 +959,7 @@ function formatReport(report, flags) {
|
|
|
959
959
|
return lines.join("\n");
|
|
960
960
|
}
|
|
961
961
|
async function fixNullVectors() {
|
|
962
|
-
const { tryAcquireWorkerSlot, registerWorkerPid } = await import("./worker-gate-
|
|
962
|
+
const { tryAcquireWorkerSlot, registerWorkerPid } = await import("./worker-gate-QENGURPJ.js");
|
|
963
963
|
if (!tryAcquireWorkerSlot()) {
|
|
964
964
|
process.stderr.write("[exe-doctor] Worker gate full \u2014 waiting for existing backfill workers to finish\n");
|
|
965
965
|
await new Promise((r) => setTimeout(r, 5e3));
|
|
@@ -1144,7 +1144,7 @@ async function main(argv = process.argv.slice(2)) {
|
|
|
1144
1144
|
console.log(formatRestartReport(restartReport));
|
|
1145
1145
|
return emptyAuditReport();
|
|
1146
1146
|
}
|
|
1147
|
-
const { fastDbInit } = await import("./fast-db-init-
|
|
1147
|
+
const { fastDbInit } = await import("./fast-db-init-YDAY7TVI.js");
|
|
1148
1148
|
const client = await fastDbInit();
|
|
1149
1149
|
const report = await runAudit(client, flags);
|
|
1150
1150
|
console.log(formatReport(report, flags));
|
|
@@ -1155,7 +1155,7 @@ ${mode} Applying repairs...
|
|
|
1155
1155
|
`);
|
|
1156
1156
|
if (!flags.dryRun) {
|
|
1157
1157
|
try {
|
|
1158
|
-
const { createBackup } = await import("./db-backup-
|
|
1158
|
+
const { createBackup } = await import("./db-backup-CXNB2ZAG.js");
|
|
1159
1159
|
const backupPath = await createBackup("pre-fix");
|
|
1160
1160
|
if (backupPath) {
|
|
1161
1161
|
console.log(` Backup created: ${backupPath.split("/").pop()}`);
|
|
@@ -3,12 +3,12 @@ import {
|
|
|
3
3
|
getClient,
|
|
4
4
|
isInitialized,
|
|
5
5
|
loadEmployees
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-XZHA3WO2.js";
|
|
7
7
|
import {
|
|
8
8
|
PLAN_LIMITS,
|
|
9
9
|
checkLicense,
|
|
10
10
|
isFeatureAllowed
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-P6OW236E.js";
|
|
12
12
|
import {
|
|
13
13
|
EXE_AI_DIR
|
|
14
14
|
} from "./chunk-7Y5UDEVM.js";
|
|
@@ -8,13 +8,13 @@ import {
|
|
|
8
8
|
buildStatusFilter,
|
|
9
9
|
buildWikiScopeFilter,
|
|
10
10
|
searchMemories
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-YOZJWU2I.js";
|
|
12
12
|
import {
|
|
13
13
|
blobToVector
|
|
14
14
|
} from "./chunk-OTVEIJUQ.js";
|
|
15
15
|
import {
|
|
16
16
|
getClient
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-XZHA3WO2.js";
|
|
18
18
|
|
|
19
19
|
// src/lib/hybrid-search.ts
|
|
20
20
|
var RRF_K = 60;
|
|
@@ -359,7 +359,7 @@ async function hybridSearch(queryText, agentId, options) {
|
|
|
359
359
|
let rerankerAvailable = false;
|
|
360
360
|
if (process.env.EXE_IS_DAEMON === "1") {
|
|
361
361
|
try {
|
|
362
|
-
const { isRerankerAvailable } = await import("./reranker-
|
|
362
|
+
const { isRerankerAvailable } = await import("./reranker-2S766AWB.js");
|
|
363
363
|
rerankerAvailable = isRerankerAvailable();
|
|
364
364
|
} catch {
|
|
365
365
|
}
|
|
@@ -427,7 +427,7 @@ async function hybridSearch(queryText, agentId, options) {
|
|
|
427
427
|
]).catch(() => []),
|
|
428
428
|
includeStructuredCards ? (async () => {
|
|
429
429
|
try {
|
|
430
|
-
const { searchMemoryCards } = await import("./memory-cards-
|
|
430
|
+
const { searchMemoryCards } = await import("./memory-cards-LJLITM2D.js");
|
|
431
431
|
return await searchMemoryCards(effectiveQuery, agentId, fetchOptions);
|
|
432
432
|
} catch {
|
|
433
433
|
return [];
|
|
@@ -436,7 +436,7 @@ async function hybridSearch(queryText, agentId, options) {
|
|
|
436
436
|
// Reflection insights: patterns, contradictions, summaries across sessions
|
|
437
437
|
includeStructuredCards ? (async () => {
|
|
438
438
|
try {
|
|
439
|
-
const { searchReflections } = await import("./memory-reflection-
|
|
439
|
+
const { searchReflections } = await import("./memory-reflection-ERYZ6SJH.js");
|
|
440
440
|
const insights = await searchReflections(effectiveQuery, agentId, 5, {
|
|
441
441
|
includeArchived: options?.includeArchived
|
|
442
442
|
});
|
|
@@ -561,7 +561,7 @@ async function hybridSearch(queryText, agentId, options) {
|
|
|
561
561
|
try {
|
|
562
562
|
let rerankedRecords;
|
|
563
563
|
if (graphContextMap.size > 0) {
|
|
564
|
-
const { rerankWithContext } = await import("./reranker-
|
|
564
|
+
const { rerankWithContext } = await import("./reranker-2S766AWB.js");
|
|
565
565
|
const candidates = merged.map((m) => ({
|
|
566
566
|
text: m.raw_text,
|
|
567
567
|
context: graphContextMap.get(m.id)
|
|
@@ -569,7 +569,7 @@ async function hybridSearch(queryText, agentId, options) {
|
|
|
569
569
|
const scored = await rerankWithContext(effectiveQuery, candidates, rerankReturnLimit);
|
|
570
570
|
rerankedRecords = scored.map((s) => merged[s.index]);
|
|
571
571
|
} else {
|
|
572
|
-
const { rerank } = await import("./reranker-
|
|
572
|
+
const { rerank } = await import("./reranker-2S766AWB.js");
|
|
573
573
|
rerankedRecords = await rerank(effectiveQuery, merged, rerankReturnLimit);
|
|
574
574
|
}
|
|
575
575
|
if (rerankedRecords.length > 0) {
|
|
@@ -931,7 +931,7 @@ async function lightweightSearch(queryText, agentId, options) {
|
|
|
931
931
|
}
|
|
932
932
|
if (results.length >= 2) {
|
|
933
933
|
try {
|
|
934
|
-
const { recordCoActivations } = await import("./co-activation-
|
|
934
|
+
const { recordCoActivations } = await import("./co-activation-W7QBHSUR.js");
|
|
935
935
|
const ids = results.slice(0, 10).map((r) => r.id);
|
|
936
936
|
void recordCoActivations(ids);
|
|
937
937
|
} catch {
|
|
@@ -939,7 +939,7 @@ async function lightweightSearch(queryText, agentId, options) {
|
|
|
939
939
|
}
|
|
940
940
|
if (options?.includeStructuredCards !== true) return results;
|
|
941
941
|
try {
|
|
942
|
-
const { searchMemoryCards } = await import("./memory-cards-
|
|
942
|
+
const { searchMemoryCards } = await import("./memory-cards-LJLITM2D.js");
|
|
943
943
|
const cardResults = await searchMemoryCards(queryText, agentId, options);
|
|
944
944
|
if (cardResults.length > 0) {
|
|
945
945
|
return rrfMergeMulti([results, cardResults], limit, RRF_K, [1, 0.85]);
|
|
@@ -3,11 +3,11 @@ import {
|
|
|
3
3
|
} from "./chunk-75H4R62K.js";
|
|
4
4
|
import {
|
|
5
5
|
initStore
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-YOZJWU2I.js";
|
|
7
7
|
import {
|
|
8
8
|
getClient,
|
|
9
9
|
isInitialized
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-XZHA3WO2.js";
|
|
11
11
|
|
|
12
12
|
// src/lib/schedules.ts
|
|
13
13
|
import crypto from "crypto";
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-CLAYNAXC.js";
|
|
4
4
|
import {
|
|
5
5
|
buildClaudeHttpMcpEntry
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-O2RF5NGI.js";
|
|
7
7
|
import {
|
|
8
8
|
EXE_HOOKS,
|
|
9
9
|
isLegacyHomeDirHookCommand,
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
} from "./chunk-L3TB7CC3.js";
|
|
12
12
|
import {
|
|
13
13
|
ensureAllAgentSymlinks
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-CMZLULTW.js";
|
|
15
15
|
import {
|
|
16
16
|
MCP_LEGACY_KEY,
|
|
17
17
|
MCP_PRIMARY_KEY
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createCRMWebhookHandler,
|
|
3
3
|
parseTwentyWebhook
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-QWWGMK4Y.js";
|
|
5
5
|
import {
|
|
6
6
|
WhatsAppAdapter
|
|
7
7
|
} from "./chunk-ECSNSHZ7.js";
|
|
@@ -42,7 +42,7 @@ import {
|
|
|
42
42
|
retryWithBackoff,
|
|
43
43
|
routeMessage,
|
|
44
44
|
validateGatewayConfig
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-6ND3MBX7.js";
|
|
46
46
|
import {
|
|
47
47
|
OllamaProvider
|
|
48
48
|
} from "./chunk-FWFFZGSC.js";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
fastDbInit
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-JIE4ZUMV.js";
|
|
4
4
|
import {
|
|
5
5
|
sessionScopeFilter
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-ROAUSSJI.js";
|
|
7
7
|
import {
|
|
8
8
|
formatStatusAll,
|
|
9
9
|
formatStatusDeep,
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
getClient,
|
|
15
15
|
isCoordinatorRole,
|
|
16
16
|
loadEmployees
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-XZHA3WO2.js";
|
|
18
18
|
import {
|
|
19
19
|
isMainModule
|
|
20
20
|
} from "./chunk-6Y4B3QF6.js";
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
// src/lib/daemon-ready.ts
|
|
2
|
+
async function defaultPing() {
|
|
3
|
+
const { pingDaemon } = await import("./lib/exe-daemon-client.js");
|
|
4
|
+
return pingDaemon();
|
|
5
|
+
}
|
|
6
|
+
var sleep = (ms) => new Promise((resolve) => setTimeout(resolve, ms));
|
|
7
|
+
async function waitForDaemonReady(attempts = 3, delayMs = 600, ping = defaultPing) {
|
|
8
|
+
for (let i = 0; i < attempts; i++) {
|
|
9
|
+
try {
|
|
10
|
+
const health = await ping();
|
|
11
|
+
if (health) return true;
|
|
12
|
+
} catch {
|
|
13
|
+
}
|
|
14
|
+
if (i < attempts - 1) {
|
|
15
|
+
await sleep(delayMs);
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
return false;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
export {
|
|
22
|
+
waitForDaemonReady
|
|
23
|
+
};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
vectorToSqlLiteral
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-YOZJWU2I.js";
|
|
4
4
|
import {
|
|
5
5
|
blobToVector
|
|
6
6
|
} from "./chunk-OTVEIJUQ.js";
|
|
7
7
|
import {
|
|
8
8
|
getClient
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-XZHA3WO2.js";
|
|
10
10
|
|
|
11
11
|
// src/lib/behaviors.ts
|
|
12
12
|
import crypto from "crypto";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
recordSessionKill
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-MZ222PUT.js";
|
|
4
4
|
import {
|
|
5
5
|
updateTask
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-NCS7UNML.js";
|
|
7
7
|
import {
|
|
8
8
|
countPendingReviews,
|
|
9
9
|
ensureEmployeeAsync,
|
|
@@ -16,13 +16,13 @@ import {
|
|
|
16
16
|
sessionScopeFilter,
|
|
17
17
|
strictSessionScopeFilter,
|
|
18
18
|
writeNotification
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-ROAUSSJI.js";
|
|
20
20
|
import {
|
|
21
21
|
isLeaseExpired
|
|
22
22
|
} from "./chunk-E23LNUWJ.js";
|
|
23
23
|
import {
|
|
24
24
|
listSessions
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-QIJEW462.js";
|
|
26
26
|
import {
|
|
27
27
|
listTmuxSessions,
|
|
28
28
|
parseContextPercentage
|
|
@@ -32,16 +32,16 @@ import {
|
|
|
32
32
|
} from "./chunk-RMOBQ6A5.js";
|
|
33
33
|
import {
|
|
34
34
|
recordOrchestrationEventBestEffort
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-X7BGMYZS.js";
|
|
36
36
|
import {
|
|
37
37
|
getAgentRuntime
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-XUOSKPVP.js";
|
|
39
39
|
import {
|
|
40
40
|
baseAgentName,
|
|
41
41
|
getCoordinatorName,
|
|
42
42
|
isCoordinatorName,
|
|
43
43
|
shouldAutoInstance
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-XZHA3WO2.js";
|
|
45
45
|
import {
|
|
46
46
|
loadConfigSync
|
|
47
47
|
} from "./chunk-7Y5UDEVM.js";
|
|
@@ -2298,7 +2298,7 @@ async function reapOrphanedWorktrees(deps, nowMs = Date.now()) {
|
|
|
2298
2298
|
}
|
|
2299
2299
|
async function createWorktreeReaperRealDeps() {
|
|
2300
2300
|
const { getPaneCwdAsync } = await import("./lib/tmux-status.js");
|
|
2301
|
-
const { getGitRoot, isWorktreeDirty: isDirty } = await import("./worktree-
|
|
2301
|
+
const { getGitRoot, isWorktreeDirty: isDirty } = await import("./worktree-EZ3EZUOV.js");
|
|
2302
2302
|
const { statSync: statSync3 } = await import("fs");
|
|
2303
2303
|
const { basename: basename2 } = await import("path");
|
|
2304
2304
|
const { promisify: promisify2 } = await import("util");
|
|
@@ -2513,7 +2513,7 @@ async function gcStaleCheckpoints() {
|
|
|
2513
2513
|
}
|
|
2514
2514
|
async function pollTaskGroupBarriers() {
|
|
2515
2515
|
try {
|
|
2516
|
-
const { checkAndFireBarriers } = await import("./tasks-crud-
|
|
2516
|
+
const { checkAndFireBarriers } = await import("./tasks-crud-ELQ2JSRG.js");
|
|
2517
2517
|
const firedGroupIds = await checkAndFireBarriers();
|
|
2518
2518
|
if (firedGroupIds.length === 0) return 0;
|
|
2519
2519
|
const { getClient } = await import("./lib/database.js");
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
} from "./chunk-7UMCQQWS.js";
|
|
7
7
|
import {
|
|
8
8
|
getClient
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-XZHA3WO2.js";
|
|
10
10
|
|
|
11
11
|
// src/lib/memory-graph-extractor.ts
|
|
12
12
|
function relationshipId(sourceId, targetId, relType) {
|
|
@@ -374,7 +374,7 @@ async function upsertMemoryGraph(result, memoryId) {
|
|
|
374
374
|
});
|
|
375
375
|
}
|
|
376
376
|
try {
|
|
377
|
-
const { createCoOccurrenceEdges } = await import("./co-occurrence-
|
|
377
|
+
const { createCoOccurrenceEdges } = await import("./co-occurrence-C5YW5JZ6.js");
|
|
378
378
|
await createCoOccurrenceEdges(result.entities, memoryId);
|
|
379
379
|
} catch {
|
|
380
380
|
}
|
|
@@ -119,7 +119,7 @@ function releaseBackfillLock() {
|
|
|
119
119
|
}
|
|
120
120
|
async function getTaskAwareCapacity() {
|
|
121
121
|
const { getClient } = await import("./lib/database.js");
|
|
122
|
-
const { sessionScopeFilter } = await import("./task-scope-
|
|
122
|
+
const { sessionScopeFilter } = await import("./task-scope-VMYGYVCH.js");
|
|
123
123
|
const client = getClient();
|
|
124
124
|
const scope = sessionScopeFilter();
|
|
125
125
|
const result = await client.execute({
|
|
@@ -7,14 +7,14 @@ import {
|
|
|
7
7
|
} from "./chunk-VGMACSEV.js";
|
|
8
8
|
import {
|
|
9
9
|
vectorToBlob
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-YOZJWU2I.js";
|
|
11
11
|
import {
|
|
12
12
|
extractKeywords,
|
|
13
13
|
keywordsToString
|
|
14
14
|
} from "./chunk-CHCA3ZM2.js";
|
|
15
15
|
import {
|
|
16
16
|
isCoordinatorName
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-XZHA3WO2.js";
|
|
18
18
|
|
|
19
19
|
// src/lib/consolidation.ts
|
|
20
20
|
import { randomUUID } from "crypto";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
isExeSession
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-ROAUSSJI.js";
|
|
4
4
|
import {
|
|
5
5
|
recordOrchestrationEventBestEffort
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-X7BGMYZS.js";
|
|
7
7
|
import {
|
|
8
8
|
getClient,
|
|
9
9
|
isCoordinatorName
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-XZHA3WO2.js";
|
|
11
11
|
import {
|
|
12
12
|
isDaemonAlive
|
|
13
13
|
} from "./chunk-7HLWBYH7.js";
|
|
@@ -263,7 +263,7 @@ async function runRegistryProxy(options = registryProxyOptionsFromEnv()) {
|
|
|
263
263
|
await new Promise((resolve) => server.listen(options.port, options.host, resolve));
|
|
264
264
|
console.log(`exe-registry-proxy listening on ${options.host ?? "0.0.0.0"}:${options.port}`);
|
|
265
265
|
console.log(`proxying /v2/${options.allowedNamespace ?? "askexe"}/* -> ${options.upstream ?? "https://ghcr.io"}`);
|
|
266
|
-
const { licenseSyncConfigFromEnv, startLicenseSyncScheduler } = await import("./license-sync-
|
|
266
|
+
const { licenseSyncConfigFromEnv, startLicenseSyncScheduler } = await import("./license-sync-N63ORPQY.js");
|
|
267
267
|
const syncConfig = licenseSyncConfigFromEnv();
|
|
268
268
|
if (syncConfig) {
|
|
269
269
|
startLicenseSyncScheduler(syncConfig);
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
dispatchTaskToEmployee,
|
|
3
3
|
markTaskNotificationsRead,
|
|
4
4
|
notifyTaskDone
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-W33EMSZB.js";
|
|
6
6
|
import {
|
|
7
7
|
cleanupReviewFile,
|
|
8
8
|
createTaskCore,
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
sessionScopeFilter,
|
|
12
12
|
updateTaskStatus,
|
|
13
13
|
writeNotification
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-ROAUSSJI.js";
|
|
15
15
|
import {
|
|
16
16
|
orgBus
|
|
17
17
|
} from "./chunk-MP2AFCGL.js";
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
getClient,
|
|
20
20
|
getCoordinatorName,
|
|
21
21
|
isCoordinatorName
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-XZHA3WO2.js";
|
|
23
23
|
import {
|
|
24
24
|
EXE_AI_DIR
|
|
25
25
|
} from "./chunk-7Y5UDEVM.js";
|
|
@@ -61,7 +61,7 @@ async function cascadeUnblock(taskId, baseDir, now) {
|
|
|
61
61
|
}
|
|
62
62
|
if (unblockedRows.rows.length > 0 && !process.env.VITEST) {
|
|
63
63
|
try {
|
|
64
|
-
const { dispatchTaskToEmployee: dispatchTaskToEmployee2 } = await import("./tasks-notify-
|
|
64
|
+
const { dispatchTaskToEmployee: dispatchTaskToEmployee2 } = await import("./tasks-notify-R6KGKW5R.js");
|
|
65
65
|
const dispatched = /* @__PURE__ */ new Set();
|
|
66
66
|
for (const ur of unblockedRows.rows) {
|
|
67
67
|
const assignee = String(ur.assigned_to);
|
|
@@ -86,7 +86,7 @@ async function cascadeUnblock(taskId, baseDir, now) {
|
|
|
86
86
|
}
|
|
87
87
|
} catch {
|
|
88
88
|
try {
|
|
89
|
-
const { queueIntercom } = await import("./intercom-queue-
|
|
89
|
+
const { queueIntercom } = await import("./intercom-queue-NQFQZXQP.js");
|
|
90
90
|
const dispatched = /* @__PURE__ */ new Set();
|
|
91
91
|
for (const ur of unblockedRows.rows) {
|
|
92
92
|
const assignee = String(ur.assigned_to);
|
|
@@ -289,7 +289,7 @@ async function updateTask(input) {
|
|
|
289
289
|
try {
|
|
290
290
|
process.stderr.write(`[tasks] EVENT: tmux delivery failed for reviewer="${reviewer}". Queueing for daemon delivery.
|
|
291
291
|
`);
|
|
292
|
-
const { queueIntercom } = await import("./intercom-queue-
|
|
292
|
+
const { queueIntercom } = await import("./intercom-queue-NQFQZXQP.js");
|
|
293
293
|
const { resolveExeSession } = await import("./lib/tmux-routing.js");
|
|
294
294
|
const exeSession = row.session_scope ? String(row.session_scope) : resolveExeSession();
|
|
295
295
|
if (exeSession) {
|
|
@@ -333,7 +333,7 @@ async function updateTask(input) {
|
|
|
333
333
|
await markTaskNotificationsRead(taskFile);
|
|
334
334
|
if (isCompletionReviewTransition && !isCoordinator && row.reviewer) {
|
|
335
335
|
try {
|
|
336
|
-
const { writeNotification: writeNotification2 } = await import("./notifications-
|
|
336
|
+
const { writeNotification: writeNotification2 } = await import("./notifications-A43CXO7Q.js");
|
|
337
337
|
const reviewer = String(row.reviewer);
|
|
338
338
|
await writeNotification2({
|
|
339
339
|
agentId: reviewer,
|
|
@@ -202,6 +202,14 @@ function clearSetupState() {
|
|
|
202
202
|
} catch {
|
|
203
203
|
}
|
|
204
204
|
}
|
|
205
|
+
async function probeDaemonHealthAfterInstall() {
|
|
206
|
+
try {
|
|
207
|
+
const { waitForDaemonReady } = await import("./daemon-ready-5XI5BIJD.js");
|
|
208
|
+
return await waitForDaemonReady(4, 500);
|
|
209
|
+
} catch {
|
|
210
|
+
return false;
|
|
211
|
+
}
|
|
212
|
+
}
|
|
205
213
|
function ask(rl, prompt, allowEmpty = false) {
|
|
206
214
|
return new Promise((resolve) => {
|
|
207
215
|
const doAsk = () => {
|
|
@@ -1179,9 +1187,19 @@ async function runSetupWizard(opts = {}) {
|
|
|
1179
1187
|
} catch {
|
|
1180
1188
|
}
|
|
1181
1189
|
}
|
|
1190
|
+
let daemonHealthStatus = "not-checked";
|
|
1182
1191
|
if (runInstaller) {
|
|
1183
1192
|
log("Installing Claude Code MCP, hooks, launchers, and daemon supervision...");
|
|
1184
1193
|
await runInstaller();
|
|
1194
|
+
const daemonHealthy = await probeDaemonHealthAfterInstall();
|
|
1195
|
+
daemonHealthStatus = daemonHealthy ? "healthy" : "degraded";
|
|
1196
|
+
if (daemonHealthy) {
|
|
1197
|
+
log("Daemon health verified.");
|
|
1198
|
+
} else {
|
|
1199
|
+
log("\u26A0 Daemon health probe did not pass after installer.");
|
|
1200
|
+
log(" Setup files were written, but MCP/daemon may be degraded.");
|
|
1201
|
+
log(" Run `exe-os healthcheck` or `exe-os doctor` for details.");
|
|
1202
|
+
}
|
|
1185
1203
|
} else {
|
|
1186
1204
|
log("Skipping installer wiring (not provided). Run `exe-os claude install` to finish MCP + hooks setup.");
|
|
1187
1205
|
}
|
|
@@ -1229,6 +1247,9 @@ async function runSetupWizard(opts = {}) {
|
|
|
1229
1247
|
log(row("Sync", syncMode));
|
|
1230
1248
|
log(row("Encryption", "SQLCipher + AES-256-GCM"));
|
|
1231
1249
|
log(row("Search", searchMode));
|
|
1250
|
+
if (daemonHealthStatus !== "not-checked") {
|
|
1251
|
+
log(row("Daemon", daemonHealthStatus === "healthy" ? "healthy" : "degraded \u2014 run healthcheck"));
|
|
1252
|
+
}
|
|
1232
1253
|
if (createdEmployees.length > 0) {
|
|
1233
1254
|
log(` \u2502 Team ${createdEmployees.length} employee${createdEmployees.length > 1 ? "s" : ""}${" ".repeat(createdEmployees.length >= 10 ? 22 : 23)}\u2502`);
|
|
1234
1255
|
}
|