@askexenow/exe-os 0.9.365 → 0.9.367
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/.dist-verified.json +3 -3
- package/dist/{active-agent-C6DPH43L.js → active-agent-R6Q7UEUD.js} +3 -3
- package/dist/{active-agent-MGF7J3HB.js → active-agent-V3CUDNED.js} +3 -3
- package/dist/{agent-defs-generator-X7TVMPVB.js → agent-defs-generator-MLPRGY75.js} +2 -2
- package/dist/agent-heartbeat-CQPGJIFF.js +13 -0
- package/dist/{agent-loop-E7RZCFDB.js → agent-loop-FOK2IRZQ.js} +1 -1
- package/dist/{agentic-ontology-CARDCG37.js → agentic-ontology-5FMQWGDZ.js} +1 -1
- package/dist/{backfill-metadata-ANCJA6LA.js → backfill-metadata-YXUMCKRV.js} +5 -5
- package/dist/{backup-verify-F7BHVEF7.js → backup-verify-GYHKAX7K.js} +1 -1
- package/dist/{behavior-injection-XQ4B7DCF.js → behavior-injection-7VGYY2KO.js} +7 -7
- package/dist/{behaviors-R2IE3PEN.js → behaviors-O6HKTSOF.js} +6 -6
- package/dist/bin/agentic-ontology-backfill.js +6 -6
- package/dist/bin/agentic-reflection-backfill.js +7 -7
- package/dist/bin/agentic-semantic-label.js +6 -6
- package/dist/bin/backfill-conversations.js +5 -5
- package/dist/bin/backfill-responses.js +5 -5
- package/dist/bin/backfill-vectors.js +6 -6
- package/dist/bin/bulk-sync-postgres.js +10 -10
- package/dist/bin/cc-doctor.js +5 -5
- package/dist/bin/cleanup-stale-review-tasks.js +14 -13
- package/dist/bin/cli.js +20 -20
- package/dist/bin/deferred-daemon-restart.js +78 -75
- package/dist/bin/exe-agent-config.js +2 -2
- package/dist/bin/exe-agent.js +251 -13
- package/dist/bin/exe-assign.js +6 -6
- package/dist/bin/exe-boot.js +29 -27
- package/dist/bin/exe-call.js +4 -4
- package/dist/bin/exe-cloud.js +11 -11
- package/dist/bin/exe-config-dump.js +2 -2
- package/dist/bin/exe-dispatch.js +15 -14
- package/dist/bin/exe-doctor.js +5 -5
- package/dist/bin/exe-export-behaviors.js +8 -8
- package/dist/bin/exe-forget.js +7 -7
- package/dist/bin/exe-gateway.js +7 -7
- package/dist/bin/exe-healthcheck.js +5 -5
- package/dist/bin/exe-heartbeat.js +17 -16
- package/dist/bin/exe-kill.js +18 -17
- package/dist/bin/exe-launch-agent.js +23 -22
- package/dist/bin/exe-mcp.js +3 -3
- package/dist/bin/exe-memory-reads.js +5 -5
- package/dist/bin/exe-new-employee.js +8 -8
- package/dist/bin/exe-os-mcp-proxy.js +3 -3
- package/dist/bin/exe-pending-messages.js +15 -14
- package/dist/bin/exe-pending-notifications.js +14 -13
- package/dist/bin/exe-pending-reviews.js +14 -13
- package/dist/bin/exe-rename.js +4 -4
- package/dist/bin/exe-review.js +17 -16
- package/dist/bin/exe-search.js +6 -6
- package/dist/bin/exe-session-cleanup.js +18 -17
- package/dist/bin/exe-settings.js +10 -10
- package/dist/bin/exe-start-codex.js +21 -13
- package/dist/bin/exe-start-opencode.js +9 -9
- package/dist/bin/exe-status.js +16 -15
- package/dist/bin/exe-support.js +3 -3
- package/dist/bin/exe-team.js +4 -4
- package/dist/bin/git-sweep.js +23 -14
- package/dist/bin/graph-backfill.js +6 -6
- package/dist/bin/graph-export.js +6 -6
- package/dist/bin/import-history.js +9 -9
- package/dist/bin/install.js +80 -77
- 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/reconcile-backlog.js +2 -2
- package/dist/bin/registry-proxy.js +1 -1
- package/dist/bin/scan-tasks.js +14 -13
- package/dist/bin/setup.js +1 -1
- package/dist/bin/shard-migrate.js +5 -5
- package/dist/bin/stack-update.js +34 -6
- package/dist/bin/verify-stack.js +6 -1
- package/dist/bin/vps-health-gate.js +1 -1
- package/dist/{boot-generation-X45BSVZY.js → boot-generation-EZ2Y74IG.js} +3 -3
- package/dist/{boot-review-sections-OBVRXXSF.js → boot-review-sections-7CNQTAYR.js} +13 -12
- package/dist/build-manifest.json +865 -835
- package/dist/{capability-cards-57FURUMR.js → capability-cards-ZTFMK4VJ.js} +2 -2
- package/dist/{capacity-monitor-QEL62JDO.js → capacity-monitor-B2XU4YHP.js} +15 -14
- package/dist/{catchup-brief-PMXTCASA.js → catchup-brief-3BEOL7EV.js} +18 -17
- package/dist/{chunk-J6I7X272.js → chunk-267QB6VB.js} +1 -1
- package/dist/{chunk-IXEFO6HD.js → chunk-2IZH6W73.js} +3 -3
- package/dist/{chunk-6GQYPJPG.js → chunk-4DJDC4Y2.js} +8 -8
- package/dist/{chunk-LZKYVMBY.js → chunk-4WOOCTON.js} +2 -2
- package/dist/{chunk-RHX6MNWY.js → chunk-52CFP2AV.js} +1 -1
- package/dist/{chunk-EWZYFG5Q.js → chunk-53LCVVX5.js} +2 -2
- package/dist/{chunk-52TIQJEQ.js → chunk-5CH6XKVC.js} +1 -1
- package/dist/{chunk-22YQBVMO.js → chunk-66BFQOWR.js} +4 -4
- package/dist/{chunk-ESTR7QUP.js → chunk-6MCUXRIP.js} +1 -1
- package/dist/{chunk-LHOKWZKL.js → chunk-6NJURKRG.js} +1 -1
- package/dist/{chunk-VGE6IHZB.js → chunk-7W5LCREK.js} +80 -12
- package/dist/{chunk-FXPAUDCZ.js → chunk-7W6FDHHY.js} +1 -1
- package/dist/{chunk-E6ORBQHP.js → chunk-AAMGHW5W.js} +1 -0
- package/dist/{chunk-EMZHB767.js → chunk-AE3PYLLS.js} +9 -9
- package/dist/{chunk-JUOZLXLH.js → chunk-AEVE654G.js} +1 -1
- package/dist/{chunk-PPGPCWRC.js → chunk-ALKYXAMB.js} +4 -4
- package/dist/{chunk-MPQXQ5IE.js → chunk-ALYI3P5D.js} +1 -1
- package/dist/{chunk-4QKKLK3C.js → chunk-BQYQES2Z.js} +10 -10
- package/dist/{chunk-WYLFDSIE.js → chunk-BTMX2D4X.js} +5 -5
- package/dist/chunk-BTSWFMEH.js +14 -0
- package/dist/{chunk-EKVTRI3N.js → chunk-BY3V5CLX.js} +5 -4
- package/dist/{chunk-ZSZPMUNX.js → chunk-CKKLSY7B.js} +126 -7
- package/dist/{chunk-6Q263OZE.js → chunk-CTPG4KYZ.js} +1 -1
- package/dist/{chunk-C3UAQ3JG.js → chunk-CX4MVEM3.js} +1 -1
- package/dist/{chunk-DEFSN2FQ.js → chunk-CYNL3ZFD.js} +3 -3
- package/dist/{chunk-RD4E5G3B.js → chunk-DTTISDTI.js} +1 -1
- package/dist/{chunk-ZRKEUCUZ.js → chunk-DXCTHNEF.js} +12 -10
- package/dist/{chunk-KSVLBATT.js → chunk-E5QQZDQN.js} +53 -0
- package/dist/{chunk-DQ5KHWFD.js → chunk-EDZ5URGR.js} +1 -1
- package/dist/{chunk-ZDUO6QBH.js → chunk-F3PIHVVY.js} +1 -1
- package/dist/{chunk-EJ4522YM.js → chunk-FSIAGX55.js} +1 -1
- package/dist/{chunk-RVWALVDT.js → chunk-GUOMZ3JM.js} +2 -2
- package/dist/{chunk-BRLS5OLZ.js → chunk-HSBKV5LB.js} +35 -4
- package/dist/{chunk-QFIVK3G5.js → chunk-IIVFXD6P.js} +1 -1
- package/dist/{chunk-SBAU735L.js → chunk-J6VQ7HYV.js} +4 -4
- package/dist/{chunk-EWCEUO65.js → chunk-JFOZHVNO.js} +1 -1
- package/dist/{chunk-T6S45OLV.js → chunk-JJRZE2LD.js} +1 -1
- package/dist/{chunk-DYWGIPVP.js → chunk-JOKKIFRN.js} +3 -3
- package/dist/{chunk-X6A2VWVJ.js → chunk-K2OFS57E.js} +2 -2
- package/dist/{chunk-NV6A5HDN.js → chunk-KDD26FUY.js} +1 -1
- package/dist/{chunk-L3TB7CC3.js → chunk-KM6XSFHP.js} +12 -2
- package/dist/{chunk-CKG6CVKI.js → chunk-LIZ3QQGK.js} +1 -1
- package/dist/{chunk-OFGFRT5J.js → chunk-LW5WRSDD.js} +1 -1
- package/dist/{chunk-JITNFE4W.js → chunk-MLPPG2OG.js} +1 -1
- package/dist/{chunk-3JNVB5LG.js → chunk-MQ3N4KZY.js} +1 -1
- package/dist/{chunk-2FYIMTQE.js → chunk-N3JLNMPF.js} +2 -2
- package/dist/{chunk-RZIKSE6N.js → chunk-NPND34FS.js} +4 -4
- package/dist/{chunk-DWAQOEXL.js → chunk-O3F5P6Z5.js} +2 -2
- package/dist/{chunk-M7EES2KM.js → chunk-OADOH45L.js} +3 -3
- package/dist/{chunk-MZJBUAC3.js → chunk-OISZ2I4X.js} +4 -4
- package/dist/{chunk-R7RM766N.js → chunk-OPS7KUFV.js} +3 -3
- package/dist/{chunk-JNVQGLPX.js → chunk-P5XER5QY.js} +3 -3
- package/dist/{chunk-J4U5Z7VX.js → chunk-P76VYS6V.js} +4 -4
- package/dist/{chunk-KRUYQFSH.js → chunk-PFOJX6CR.js} +5 -5
- package/dist/chunk-PFR6EOUY.js +356 -0
- package/dist/{agent-heartbeat-I5UPGXAU.js → chunk-PHUHIVD5.js} +4 -5
- package/dist/{chunk-45EQTS7B.js → chunk-PQ6NRLKL.js} +1 -1
- package/dist/{chunk-5CBGH6RA.js → chunk-PR3AHVFW.js} +3 -3
- package/dist/{chunk-ODBRU6BF.js → chunk-PS4NA7PM.js} +1399 -943
- package/dist/{chunk-CPILYY2K.js → chunk-PS6VPW64.js} +1 -1
- package/dist/{chunk-YMJOLEPE.js → chunk-PWCZFIQH.js} +4 -4
- package/dist/{chunk-POPRJKAY.js → chunk-QS6HI4B6.js} +6 -0
- package/dist/{chunk-ZNEBZCZR.js → chunk-QWDZNQXA.js} +1 -1
- package/dist/{chunk-ORNCMRIX.js → chunk-QX33D4CH.js} +25 -31
- package/dist/{chunk-BATQKSLI.js → chunk-R3H3WW7H.js} +2 -2
- package/dist/chunk-R4AROSYI.js +496 -0
- package/dist/{chunk-F2S3M5MB.js → chunk-SFKIZYKK.js} +2 -2
- package/dist/{chunk-IIZITKBV.js → chunk-TCR7NBHD.js} +4 -4
- package/dist/{chunk-7C4FUNVO.js → chunk-TJSTWACD.js} +2 -2
- package/dist/chunk-TX3Q2GIL.js +97 -0
- package/dist/{chunk-2ESB5SDP.js → chunk-TZFOWWPM.js} +1 -1
- package/dist/{chunk-WR75WUEP.js → chunk-UI3K73LD.js} +1 -1
- package/dist/{chunk-DJK45U7B.js → chunk-URHJDUWO.js} +1 -1
- package/dist/{chunk-SP37DONS.js → chunk-V3ISR2QT.js} +1 -1
- package/dist/{chunk-EPNWEOOE.js → chunk-VY3QUSWS.js} +6 -6
- package/dist/{chunk-O2MEBF23.js → chunk-WBKIU6UJ.js} +2 -2
- package/dist/{chunk-TO6TB75E.js → chunk-WCDIDSLR.js} +2 -2
- package/dist/{chunk-EVPBYX2Z.js → chunk-WSLFGJBA.js} +1 -1
- package/dist/{chunk-OPNROU5B.js → chunk-WYVBWDFY.js} +1 -1
- package/dist/{chunk-JYFYIGYK.js → chunk-XA4EU3CW.js} +1 -1
- package/dist/{chunk-ZEKCHV43.js → chunk-XAMLDTRA.js} +4 -4
- package/dist/{chunk-EHHMNKOA.js → chunk-XKFMNAJ7.js} +1 -1
- package/dist/{chunk-5KLQCGI5.js → chunk-XKZD5FGK.js} +55 -0
- package/dist/{chunk-U373MEF5.js → chunk-XSXZVKJ7.js} +3 -3
- package/dist/{chunk-IM2I7OOS.js → chunk-XTEKGO44.js} +1 -1
- package/dist/{chunk-Q7BU5Q6I.js → chunk-XUGOVOID.js} +3 -3
- package/dist/{chunk-BEHLIRRJ.js → chunk-XVRQZCTS.js} +1 -1
- package/dist/{chunk-P47MPWNU.js → chunk-Y4JVM3SI.js} +1 -1
- package/dist/{chunk-NO3M2AFM.js → chunk-Y7OK5PJE.js} +1 -1
- package/dist/{chunk-ANPE3TT3.js → chunk-YA4PM3MV.js} +3 -3
- package/dist/{chunk-EPDNWY5P.js → chunk-YYLVHUYZ.js} +1 -1
- package/dist/{chunk-QYJANQWC.js → chunk-Z5Z3MYUW.js} +2 -2
- package/dist/{chunk-MXEIZUXG.js → chunk-ZSHLY5BS.js} +1 -1
- package/dist/{chunk-AGQAGOQN.js → chunk-ZZ3JQM5I.js} +9 -9
- package/dist/{cleanup-graph-garbage-CAA625RJ.js → cleanup-graph-garbage-XDIX3HLN.js} +7 -7
- package/dist/{cloud-sync-command-DBB7WRHL.js → cloud-sync-command-VPYE4FIH.js} +2 -2
- package/dist/{cloud-sync-db-init-V7IB23W5.js → cloud-sync-db-init-NSDBTFGI.js} +1 -1
- package/dist/{cloud-sync-shutdown-2D3B73CJ.js → cloud-sync-shutdown-6OUYTG4T.js} +2 -2
- package/dist/{co-activation-JVN7EBS6.js → co-activation-EAAKGGZH.js} +2 -2
- package/dist/{co-occurrence-526PTFGT.js → co-occurrence-OFVF55RX.js} +5 -5
- package/dist/codex-consolidation-PPXNBXCV.js +96 -0
- package/dist/{conversation-entity-extractor-JO56DB2E.js → conversation-entity-extractor-ZR5GFKAI.js} +3 -3
- package/dist/{crdt-sync-LIJLZKFE.js → crdt-sync-FGH4SBFW.js} +1 -1
- package/dist/{crm-webhook-55F7Y6D2.js → crm-webhook-PJATR2DC.js} +2 -2
- package/dist/{cto-delegation-gate-QIYV4KFO.js → cto-delegation-gate-PO4LSSQ4.js} +13 -12
- package/dist/{daemon-orchestration-Q3GJA2JJ.js → daemon-orchestration-IJFZFQUX.js} +18 -17
- package/dist/{doc-graph-extractor-P46R4QME.js → doc-graph-extractor-CAYUAM5A.js} +5 -5
- package/dist/{documents-7KFEREWO.js → documents-W2G477QE.js} +6 -6
- package/dist/{dreaming-JMUXBAPU.js → dreaming-FVXSIIWV.js} +17 -16
- package/dist/{employee-boot-brief-HN63D2BY.js → employee-boot-brief-OYMSHFHA.js} +19 -18
- package/dist/{exe-drift-7J7GX7DP.js → exe-drift-67RGJOBX.js} +3 -3
- package/dist/{exe-export-KJ7B2OBU.js → exe-export-SGYX6XZG.js} +7 -7
- package/dist/{exe-import-HPZDWKGE.js → exe-import-UABVA5N3.js} +7 -7
- package/dist/{exe-key-2PREP464.js → exe-key-XNYDCVFE.js} +78 -75
- package/dist/{exe-org-VEIISATF.js → exe-org-XJVSU5HN.js} +8 -8
- package/dist/{exe-snapshot-JXQFLUKA.js → exe-snapshot-YXOGYZUX.js} +18 -17
- package/dist/{fast-db-init-SCXJXOYX.js → fast-db-init-GDFJY5UH.js} +1 -1
- package/dist/{founder-context-U2SZPLYV.js → founder-context-KUXSNXKS.js} +2 -2
- package/dist/gateway/index.js +8 -8
- package/dist/{git-staleness-S4NDR7NX.js → git-staleness-NN6RWNLW.js} +2 -2
- package/dist/{global-procedures-ZOFTOXIR.js → global-procedures-XDNA3TNA.js} +3 -3
- package/dist/{graph-auto-extract-CLVTSUSB.js → graph-auto-extract-KTOR45V4.js} +5 -5
- package/dist/{graph-rag-LSJLWGXV.js → graph-rag-L5NV5YWD.js} +3 -3
- package/dist/{hook-integrity-SGTKBL6W.js → hook-integrity-X3YAVGUW.js} +1 -1
- package/dist/{hook-prefetch-BDSLB6F4.js → hook-prefetch-WE4MIXBM.js} +14 -13
- package/dist/hooks/bug-report-worker.js +18 -17
- package/dist/hooks/codex-stop-task-finalizer.js +19 -18
- package/dist/hooks/commit-complete.js +33 -19
- package/dist/hooks/error-recall.js +8 -8
- package/dist/hooks/exe-heartbeat-hook.js +4 -4
- package/dist/hooks/ingest-worker.js +2 -2
- package/dist/hooks/ingest.js +11 -11
- package/dist/hooks/instructions-loaded.js +5 -5
- package/dist/hooks/manifest.json +20 -20
- package/dist/hooks/notification.js +5 -5
- package/dist/hooks/post-compact.js +4 -4
- package/dist/hooks/post-tool-combined.js +12 -12
- package/dist/hooks/pre-compact.js +17 -16
- package/dist/hooks/pre-tool-use.js +68 -23
- package/dist/hooks/prompt-submit.js +30 -29
- package/dist/hooks/session-end.js +113 -99
- package/dist/hooks/session-start.js +16 -16
- package/dist/hooks/stop.js +82 -19
- package/dist/hooks/subagent-stop.js +18 -17
- package/dist/hooks/summary-worker.js +22 -21
- package/dist/index.js +24 -23
- package/dist/{installer-RC2JCKSE.js → installer-EAAYEEEF.js} +6 -6
- package/dist/{installer-KCEM4RCG.js → installer-EPQAOI6M.js} +152 -8
- package/dist/{installer-EA7T3PBD.js → installer-UDRMFY75.js} +6 -6
- package/dist/{intercom-queue-6DZPHHQ2.js → intercom-queue-IBOAVT2I.js} +13 -12
- package/dist/lib/cloud-sync.js +10 -10
- package/dist/lib/consolidation.js +7 -7
- package/dist/lib/database.js +2 -2
- package/dist/lib/db-backup.js +1 -1
- package/dist/lib/db-write-worker.js +3 -3
- 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 +77 -76
- package/dist/lib/hybrid-search.js +6 -6
- package/dist/lib/identity.js +2 -2
- package/dist/lib/license.js +2 -2
- package/dist/lib/messaging.js +14 -13
- package/dist/lib/registry-proxy.js +1 -1
- package/dist/lib/reminders.js +3 -3
- package/dist/lib/schedules.js +6 -6
- package/dist/lib/session-registry.js +4 -4
- package/dist/lib/skill-learning.js +7 -7
- package/dist/lib/status-brief.js +2 -1
- package/dist/lib/store.js +5 -5
- package/dist/lib/task-router.js +3 -3
- package/dist/lib/tasks.js +15 -14
- package/dist/lib/tmux-routing.js +13 -12
- package/dist/lib/token-spend.js +3 -3
- package/dist/{license-gate-HMSMUIAU.js → license-gate-3TTWJABL.js} +3 -3
- package/dist/{license-sync-FBCMPC4J.js → license-sync-ZC6TPKVV.js} +2 -2
- package/dist/mcp/register-tools.js +77 -74
- package/dist/mcp/server.js +78 -75
- 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 +17 -16
- package/dist/mcp/tools/deactivate-behavior.js +8 -8
- package/dist/mcp/tools/list-reminders.js +4 -4
- package/dist/mcp/tools/list-tasks.js +17 -16
- package/dist/mcp/tools/send-message.js +16 -15
- package/dist/mcp/tools/update-task.js +16 -15
- package/dist/{mcp-http-config-YKJN52HG.js → mcp-http-config-ROF5EPEF.js} +3 -3
- package/dist/{mcp-session-identity-QLUVYWPR.js → mcp-session-identity-ERU6FEUB.js} +13 -12
- package/dist/{memory-cards-K2OSX4AW.js → memory-cards-3QTXI2SG.js} +5 -5
- package/dist/{memory-graph-extractor-YLTSKLSY.js → memory-graph-extractor-7GAILMYG.js} +6 -6
- package/dist/{memory-poisoning-defense-IPO4ADRL.js → memory-poisoning-defense-TPXSRJTQ.js} +2 -2
- package/dist/{memory-pressure-watchdog-ZI3TH2OF.js → memory-pressure-watchdog-ZSOP6T2F.js} +14 -13
- package/dist/{memory-reflection-ZKVRU3NT.js → memory-reflection-3AI4JBV2.js} +2 -2
- package/dist/{notification-ledger-4REL6M3T.js → notification-ledger-ZU7ZFJJX.js} +16 -14
- package/dist/{notifications-UXJUAP3C.js → notifications-S4GU22GF.js} +13 -12
- package/dist/{orchestration-events-GMRGGBMN.js → orchestration-events-HVG56HJ5.js} +3 -3
- package/dist/{orchestrator-5TV75HDJ.js → orchestrator-UW3Q3WYG.js} +15 -14
- package/dist/{org-brief-session-7AZZEO3F.js → org-brief-session-G36TJBN4.js} +5 -5
- package/dist/{org-consent-policy-XT6UZENB.js → org-consent-policy-RMYVMM3X.js} +1 -1
- package/dist/{org-partner-runtime-WLZAZJIY.js → org-partner-runtime-KXMGEYFW.js} +5 -5
- package/dist/{org-row-visibility-A5XM4MVO.js → org-row-visibility-UI5PGN76.js} +1 -1
- package/dist/{pipeline-router-UEVXDUHR.js → pipeline-router-IODWXDDI.js} +3 -3
- package/dist/{plan-limits-QEP32X4W.js → plan-limits-XMAQVEJZ.js} +5 -5
- package/dist/{projection-worker-GMRC6SBH.js → projection-worker-6LZUCI3B.js} +2 -2
- package/dist/{prospective-memory-QLHSAPSG.js → prospective-memory-G5VK5GCD.js} +2 -2
- package/dist/{push-notifications-GKRPXOGI.js → push-notifications-S2RYRXLF.js} +14 -13
- package/dist/{reranker-GB4VEMUV.js → reranker-EHQTAA3L.js} +1 -1
- package/dist/{retrieval-health-QIBPBGN6.js → retrieval-health-WZ4ICGNF.js} +1 -1
- package/dist/{review-polling-MU47NQ2N.js → review-polling-MAWLRDSP.js} +14 -13
- package/dist/runtime/index.js +18 -17
- package/dist/{session-events-YMQ3VGBJ.js → session-events-BRUIZ5E4.js} +14 -13
- package/dist/{session-kill-telemetry-VGPKE57M.js → session-kill-telemetry-PTZLHT33.js} +14 -13
- package/dist/{session-scope-P46KAHXQ.js → session-scope-G4RVJJGR.js} +13 -12
- package/dist/{setup-wizard-BRNHSJ4U.js → setup-wizard-WFEUB63Z.js} +1 -1
- package/dist/{skill-refinement-NLYDSFEH.js → skill-refinement-2OYPH7WD.js} +3 -3
- package/dist/{stack-promote-NHFTNIM2.js → stack-promote-DLYYQXQI.js} +5 -4
- package/dist/{stack-release-AQVKZUS7.js → stack-release-OPWARLXI.js} +5 -4
- package/dist/{stack-update-LLX5KT7G.js → stack-update-SJ43IEQE.js} +10 -3
- package/dist/{steward-gate-JKHYFAHA.js → steward-gate-V7PBGVFK.js} +3 -3
- package/dist/{subagent-brief-injection-VDVOHDOU.js → subagent-brief-injection-BLCRI2AJ.js} +20 -19
- package/dist/{support-inbox-S6YO5YZU.js → support-inbox-6HOQYFD2.js} +3 -3
- package/dist/{task-enforcement-LXW45H5Z.js → task-enforcement-EF6O2V26.js} +14 -13
- package/dist/{task-request-inbox-UCSKDC3R.js → task-request-inbox-OB2KIJWO.js} +1 -1
- package/dist/{task-scope-GDLFE26E.js → task-scope-74JBTKJN.js} +17 -15
- package/dist/{tasks-crud-W7VGWRUV.js → tasks-crud-ZU6RZDEZ.js} +13 -12
- package/dist/{tasks-notify-CT7NWCS4.js → tasks-notify-767DRYAA.js} +14 -13
- package/dist/{tasks-review-WCSKOUFW.js → tasks-review-4F6PZZ3B.js} +13 -12
- package/dist/{telemetry-upload-FK5WKXVB.js → telemetry-upload-2JM6KIAB.js} +7 -7
- package/dist/{token-budget-GBNGSIU3.js → token-budget-NH2RD4YX.js} +3 -3
- package/dist/{tool-gates-3IC7DK4R.js → tool-gates-2OZY3GZM.js} +1 -1
- package/dist/{tool-gates-GXSYBVK4.js → tool-gates-7PLIOLAL.js} +1 -1
- package/dist/{tool-telemetry-VKMRS6MP.js → tool-telemetry-CHCBD4OQ.js} +1 -1
- package/dist/tui/App.js +22 -21
- package/dist/{tui-data-FTPV2XBQ.js → tui-data-244GF3BI.js} +13 -12
- package/dist/{update-support-J6UWPUOC.js → update-support-P2LO3DAB.js} +9 -9
- package/dist/work-claims-4QOE7DT2.js +53 -0
- package/dist/{work-state-heartbeat-4LDF6DSM.js → work-state-heartbeat-GX3VWWWK.js} +1 -1
- package/dist/{worker-gate-35VZINZG.js → worker-gate-62PZATOV.js} +1 -1
- package/dist/{workflow-engine-4DA6RSHI.js → workflow-engine-7YIRU62F.js} +2 -2
- package/dist/{worktree-H3YFJ3NU.js → worktree-3TUKIZWY.js} +4 -4
- package/dist/{worktree-sweep-4EDLLQ2E.js → worktree-sweep-MYQHUXDE.js} +5 -5
- package/package.json +6 -2
- package/release-notes.json +68 -62
- package/dist/chunk-2RQT7TED.js +0 -275
- /package/dist/{chunk-7Y6AQWVT.js → chunk-25EN7XXN.js} +0 -0
- /package/dist/{chunk-3THNS2T7.js → chunk-62U63R3E.js} +0 -0
- /package/dist/{chunk-VS4LPG66.js → chunk-65ZSFW3O.js} +0 -0
- /package/dist/{chunk-LKYGSJ2E.js → chunk-BTFDA3UJ.js} +0 -0
- /package/dist/{chunk-JRPYLUXH.js → chunk-DAXFAXLN.js} +0 -0
- /package/dist/{chunk-3NBWARKC.js → chunk-FLP2BQOA.js} +0 -0
- /package/dist/{chunk-CMBF5WCL.js → chunk-GTOMDMJL.js} +0 -0
- /package/dist/{chunk-QYECRPGD.js → chunk-JLYHJJHU.js} +0 -0
- /package/dist/{chunk-MBBFL2SP.js → chunk-JZBZI36P.js} +0 -0
- /package/dist/{chunk-BY7WWPRM.js → chunk-OUIEDJFO.js} +0 -0
- /package/dist/{chunk-7DMCAGSC.js → chunk-WM7Y5ZV2.js} +0 -0
- /package/dist/{chunk-G2EAYH4U.js → chunk-XM7HJ5SS.js} +0 -0
- /package/dist/{chunk-UY6HRDB2.js → chunk-YNPOELAN.js} +0 -0
- /package/dist/{core-memory-CMPPHJN5.js → core-memory-EARETDZ6.js} +0 -0
- /package/dist/{memory-isolation-ZB5S5HCO.js → memory-isolation-XASOGA7G.js} +0 -0
- /package/dist/{oauth-server-NP7KGF7N.js → oauth-server-C3BXAKAW.js} +0 -0
- /package/dist/{project-boot-LEZSK3W7.js → project-boot-LCFBQ6NB.js} +0 -0
- /package/dist/{wiki-acl-5DKOWOIH.js → wiki-acl-XQH4UBP2.js} +0 -0
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getIdentity,
|
|
3
3
|
loadEmployeesSync
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-HSBKV5LB.js";
|
|
5
5
|
import "./chunk-TKDITWDN.js";
|
|
6
6
|
import "./chunk-BBMTVAE3.js";
|
|
7
7
|
import "./chunk-5YEUPUV4.js";
|
|
8
|
-
import "./chunk-
|
|
8
|
+
import "./chunk-Y7OK5PJE.js";
|
|
9
9
|
import "./chunk-YYB5PMTK.js";
|
|
10
10
|
import {
|
|
11
11
|
getRoleCapabilities
|
|
@@ -8,27 +8,28 @@ import {
|
|
|
8
8
|
isAtCapacity,
|
|
9
9
|
isWithinRelaunchCooldown,
|
|
10
10
|
pollCapacityDead
|
|
11
|
-
} from "./chunk-
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
15
|
-
import "./chunk-
|
|
16
|
-
import "./chunk-
|
|
11
|
+
} from "./chunk-PFOJX6CR.js";
|
|
12
|
+
import "./chunk-YA4PM3MV.js";
|
|
13
|
+
import "./chunk-QX33D4CH.js";
|
|
14
|
+
import "./chunk-BTSWFMEH.js";
|
|
15
|
+
import "./chunk-6MCUXRIP.js";
|
|
16
|
+
import "./chunk-7W6FDHHY.js";
|
|
17
|
+
import "./chunk-IIVFXD6P.js";
|
|
17
18
|
import "./chunk-WT4RI36X.js";
|
|
18
|
-
import "./chunk-
|
|
19
|
+
import "./chunk-CX4MVEM3.js";
|
|
19
20
|
import "./chunk-KI5PFRG6.js";
|
|
20
21
|
import "./chunk-EIKATSE4.js";
|
|
21
22
|
import "./chunk-E23LNUWJ.js";
|
|
22
23
|
import "./chunk-QAEWWYHL.js";
|
|
23
|
-
import "./chunk-
|
|
24
|
+
import "./chunk-XKFMNAJ7.js";
|
|
24
25
|
import "./chunk-GBNB4EWD.js";
|
|
25
26
|
import "./chunk-UXLO7VHX.js";
|
|
26
27
|
import "./chunk-DSOQUQTV.js";
|
|
27
|
-
import "./chunk-
|
|
28
|
+
import "./chunk-UI3K73LD.js";
|
|
28
29
|
import "./chunk-AJIXH5JF.js";
|
|
29
30
|
import "./chunk-XTWHNLGD.js";
|
|
30
31
|
import "./chunk-AM7S2TY6.js";
|
|
31
|
-
import "./chunk-
|
|
32
|
+
import "./chunk-N3JLNMPF.js";
|
|
32
33
|
import "./chunk-CVYC6DUW.js";
|
|
33
34
|
import "./chunk-ZVTKWWLV.js";
|
|
34
35
|
import "./chunk-CDUB5Q6J.js";
|
|
@@ -40,20 +41,20 @@ import "./chunk-W2IRQJ6R.js";
|
|
|
40
41
|
import "./chunk-HYZV25LY.js";
|
|
41
42
|
import "./chunk-GJV3WDWM.js";
|
|
42
43
|
import "./chunk-MP2AFCGL.js";
|
|
43
|
-
import "./chunk-
|
|
44
|
+
import "./chunk-HSBKV5LB.js";
|
|
44
45
|
import "./chunk-TKDITWDN.js";
|
|
45
46
|
import "./chunk-BBMTVAE3.js";
|
|
46
47
|
import "./chunk-5YEUPUV4.js";
|
|
47
|
-
import "./chunk-
|
|
48
|
+
import "./chunk-Y7OK5PJE.js";
|
|
48
49
|
import "./chunk-YYB5PMTK.js";
|
|
49
50
|
import "./chunk-NJFJWQNN.js";
|
|
50
51
|
import "./chunk-V3W3SATA.js";
|
|
51
52
|
import "./chunk-JY5GAZYC.js";
|
|
52
53
|
import "./chunk-FXU7JOXK.js";
|
|
53
54
|
import "./chunk-WNBZJSQT.js";
|
|
54
|
-
import "./chunk-
|
|
55
|
+
import "./chunk-F3PIHVVY.js";
|
|
55
56
|
import "./chunk-A7XLR3K7.js";
|
|
56
|
-
import "./chunk-
|
|
57
|
+
import "./chunk-65ZSFW3O.js";
|
|
57
58
|
import "./chunk-QILQ5FCG.js";
|
|
58
59
|
import "./chunk-ARX6TAGN.js";
|
|
59
60
|
import "./chunk-QMSEL5YS.js";
|
|
@@ -1,37 +1,38 @@
|
|
|
1
1
|
import {
|
|
2
2
|
lightweightSearch
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-AE3PYLLS.js";
|
|
4
4
|
import "./chunk-VMHZSZQJ.js";
|
|
5
|
-
import "./chunk-
|
|
6
|
-
import "./chunk-
|
|
5
|
+
import "./chunk-BQYQES2Z.js";
|
|
6
|
+
import "./chunk-JLYHJJHU.js";
|
|
7
7
|
import "./chunk-CHCA3ZM2.js";
|
|
8
8
|
import "./chunk-OTVEIJUQ.js";
|
|
9
|
-
import "./chunk-
|
|
9
|
+
import "./chunk-WM7Y5ZV2.js";
|
|
10
10
|
import "./chunk-5MOYSU5A.js";
|
|
11
11
|
import "./chunk-4QCFFW2H.js";
|
|
12
12
|
import "./chunk-76CJBM36.js";
|
|
13
13
|
import {
|
|
14
14
|
sessionScopeFilter,
|
|
15
15
|
strictSessionScopeFilter
|
|
16
|
-
} from "./chunk-
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
19
|
-
import "./chunk-
|
|
16
|
+
} from "./chunk-QX33D4CH.js";
|
|
17
|
+
import "./chunk-BTSWFMEH.js";
|
|
18
|
+
import "./chunk-6MCUXRIP.js";
|
|
19
|
+
import "./chunk-7W6FDHHY.js";
|
|
20
|
+
import "./chunk-IIVFXD6P.js";
|
|
20
21
|
import "./chunk-WT4RI36X.js";
|
|
21
|
-
import "./chunk-
|
|
22
|
+
import "./chunk-CX4MVEM3.js";
|
|
22
23
|
import "./chunk-KI5PFRG6.js";
|
|
23
24
|
import "./chunk-EIKATSE4.js";
|
|
24
25
|
import "./chunk-E23LNUWJ.js";
|
|
25
26
|
import "./chunk-QAEWWYHL.js";
|
|
26
|
-
import "./chunk-
|
|
27
|
+
import "./chunk-XKFMNAJ7.js";
|
|
27
28
|
import "./chunk-GBNB4EWD.js";
|
|
28
29
|
import "./chunk-UXLO7VHX.js";
|
|
29
30
|
import "./chunk-DSOQUQTV.js";
|
|
30
|
-
import "./chunk-
|
|
31
|
+
import "./chunk-UI3K73LD.js";
|
|
31
32
|
import "./chunk-AJIXH5JF.js";
|
|
32
33
|
import "./chunk-XTWHNLGD.js";
|
|
33
34
|
import "./chunk-AM7S2TY6.js";
|
|
34
|
-
import "./chunk-
|
|
35
|
+
import "./chunk-N3JLNMPF.js";
|
|
35
36
|
import "./chunk-CVYC6DUW.js";
|
|
36
37
|
import "./chunk-ZVTKWWLV.js";
|
|
37
38
|
import "./chunk-CDUB5Q6J.js";
|
|
@@ -45,11 +46,11 @@ import "./chunk-GJV3WDWM.js";
|
|
|
45
46
|
import "./chunk-MP2AFCGL.js";
|
|
46
47
|
import {
|
|
47
48
|
getClient
|
|
48
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-HSBKV5LB.js";
|
|
49
50
|
import "./chunk-TKDITWDN.js";
|
|
50
51
|
import "./chunk-BBMTVAE3.js";
|
|
51
52
|
import "./chunk-5YEUPUV4.js";
|
|
52
|
-
import "./chunk-
|
|
53
|
+
import "./chunk-Y7OK5PJE.js";
|
|
53
54
|
import "./chunk-YYB5PMTK.js";
|
|
54
55
|
import "./chunk-NJFJWQNN.js";
|
|
55
56
|
import "./chunk-V3W3SATA.js";
|
|
@@ -57,9 +58,9 @@ import "./chunk-JY5GAZYC.js";
|
|
|
57
58
|
import "./chunk-FXU7JOXK.js";
|
|
58
59
|
import "./chunk-HPXFKUGU.js";
|
|
59
60
|
import "./chunk-WNBZJSQT.js";
|
|
60
|
-
import "./chunk-
|
|
61
|
+
import "./chunk-F3PIHVVY.js";
|
|
61
62
|
import "./chunk-A7XLR3K7.js";
|
|
62
|
-
import "./chunk-
|
|
63
|
+
import "./chunk-65ZSFW3O.js";
|
|
63
64
|
import "./chunk-QILQ5FCG.js";
|
|
64
65
|
import "./chunk-ARX6TAGN.js";
|
|
65
66
|
import "./chunk-QMSEL5YS.js";
|
|
@@ -171,7 +172,7 @@ ${msgLines}`);
|
|
|
171
172
|
} catch {
|
|
172
173
|
}
|
|
173
174
|
try {
|
|
174
|
-
const { getPendingProspective, markSurfaced } = await import("./prospective-memory-
|
|
175
|
+
const { getPendingProspective, markSurfaced } = await import("./prospective-memory-G5VK5GCD.js");
|
|
175
176
|
const due = await getPendingProspective(agentId, { projectName, limit: 5 });
|
|
176
177
|
if (due.length > 0) {
|
|
177
178
|
const now = Date.now();
|
|
@@ -4,17 +4,17 @@ import {
|
|
|
4
4
|
resolveExeSession,
|
|
5
5
|
sendIntercom,
|
|
6
6
|
strictSessionScopeFilter
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-QX33D4CH.js";
|
|
8
8
|
import {
|
|
9
9
|
parseMessage,
|
|
10
10
|
serializeMessage
|
|
11
11
|
} from "./chunk-QAEWWYHL.js";
|
|
12
12
|
import {
|
|
13
13
|
recordOrchestrationEventBestEffort
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-UI3K73LD.js";
|
|
15
15
|
import {
|
|
16
16
|
getClient
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-HSBKV5LB.js";
|
|
18
18
|
|
|
19
19
|
// src/lib/messaging.ts
|
|
20
20
|
import crypto from "crypto";
|
|
@@ -1,3 +1,7 @@
|
|
|
1
|
+
import {
|
|
2
|
+
formatDegradations,
|
|
3
|
+
getRetrievalHealth
|
|
4
|
+
} from "./chunk-GTOMDMJL.js";
|
|
1
5
|
import {
|
|
2
6
|
buildRestartReport,
|
|
3
7
|
formatRestartReport
|
|
@@ -5,15 +9,11 @@ import {
|
|
|
5
9
|
import {
|
|
6
10
|
readPostinstallFailureMarker
|
|
7
11
|
} from "./chunk-SBJV2PCU.js";
|
|
8
|
-
import {
|
|
9
|
-
formatDegradations,
|
|
10
|
-
getRetrievalHealth
|
|
11
|
-
} from "./chunk-CMBF5WCL.js";
|
|
12
12
|
import {
|
|
13
13
|
EXE_HOOK_MANIFEST,
|
|
14
14
|
LEGACY_SPLIT_POST_TOOL_HOOK_MARKERS,
|
|
15
15
|
manifestEntryForCommand
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-KM6XSFHP.js";
|
|
17
17
|
import {
|
|
18
18
|
cleanupLocalSecretResidue,
|
|
19
19
|
inventoryLocalSecretResidue
|
|
@@ -27,7 +27,7 @@ import {
|
|
|
27
27
|
import {
|
|
28
28
|
offloadReadIfMain,
|
|
29
29
|
repairFtsTable
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-HSBKV5LB.js";
|
|
31
31
|
import {
|
|
32
32
|
isMainModule
|
|
33
33
|
} from "./chunk-6Y4B3QF6.js";
|
|
@@ -1053,7 +1053,7 @@ function formatReport(report, flags) {
|
|
|
1053
1053
|
return lines.join("\n");
|
|
1054
1054
|
}
|
|
1055
1055
|
async function fixNullVectors() {
|
|
1056
|
-
const { tryAcquireWorkerSlot, registerWorkerPid } = await import("./worker-gate-
|
|
1056
|
+
const { tryAcquireWorkerSlot, registerWorkerPid } = await import("./worker-gate-62PZATOV.js");
|
|
1057
1057
|
if (!tryAcquireWorkerSlot()) {
|
|
1058
1058
|
process.stderr.write("[exe-doctor] Worker gate full \u2014 waiting for existing backfill workers to finish\n");
|
|
1059
1059
|
await new Promise((r) => setTimeout(r, 5e3));
|
|
@@ -1240,7 +1240,7 @@ async function main(argv = process.argv.slice(2)) {
|
|
|
1240
1240
|
console.log(formatRestartReport(restartReport));
|
|
1241
1241
|
return emptyAuditReport();
|
|
1242
1242
|
}
|
|
1243
|
-
const { fastDbInit } = await import("./fast-db-init-
|
|
1243
|
+
const { fastDbInit } = await import("./fast-db-init-GDFJY5UH.js");
|
|
1244
1244
|
const client = await fastDbInit();
|
|
1245
1245
|
const report = await runAudit(client, flags);
|
|
1246
1246
|
console.log(formatReport(report, flags));
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
storeBehavior
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-WBKIU6UJ.js";
|
|
4
4
|
import {
|
|
5
5
|
resolveAnthropicAuth
|
|
6
6
|
} from "./chunk-VGMACSEV.js";
|
|
7
7
|
import {
|
|
8
8
|
getClient
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-HSBKV5LB.js";
|
|
10
10
|
import {
|
|
11
11
|
loadConfig
|
|
12
12
|
} from "./chunk-QMSEL5YS.js";
|
|
@@ -10,10 +10,10 @@ import {
|
|
|
10
10
|
} from "./chunk-VGMACSEV.js";
|
|
11
11
|
import {
|
|
12
12
|
WORK_STATE_HEARTBEAT_TOOL
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-JLYHJJHU.js";
|
|
14
14
|
import {
|
|
15
15
|
hashMemoryContent
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-WM7Y5ZV2.js";
|
|
17
17
|
|
|
18
18
|
// src/lib/graph-rag.ts
|
|
19
19
|
import crypto from "crypto";
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
updateTask
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-ZZ3JQM5I.js";
|
|
4
4
|
import {
|
|
5
5
|
TASK_ALREADY_CLAIMED_PREFIX,
|
|
6
6
|
TASK_CLAIM_NOT_HELD_PREFIX,
|
|
7
7
|
TASK_SIDECHAIN_WRITE_BLOCKED_PREFIX
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-QX33D4CH.js";
|
|
9
9
|
import {
|
|
10
10
|
getAgentContext
|
|
11
11
|
} from "./chunk-GJV3WDWM.js";
|
|
12
12
|
import {
|
|
13
13
|
isCoordinatorName
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-HSBKV5LB.js";
|
|
15
15
|
|
|
16
16
|
// src/mcp/tools/update-task.ts
|
|
17
17
|
import { z } from "zod";
|
|
@@ -72,7 +72,7 @@ function registerUpdateTask(server) {
|
|
|
72
72
|
let callerSession;
|
|
73
73
|
let callerIsSidechain = false;
|
|
74
74
|
try {
|
|
75
|
-
const { getActiveAgent: getAgent } = await import("./active-agent-
|
|
75
|
+
const { getActiveAgent: getAgent } = await import("./active-agent-R6Q7UEUD.js");
|
|
76
76
|
const active = getAgent();
|
|
77
77
|
callerAgentId = active.agentId;
|
|
78
78
|
callerSession = resolveCallerSessionForUpdate();
|
|
@@ -1,19 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createTask
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-ZZ3JQM5I.js";
|
|
4
4
|
import {
|
|
5
5
|
getActiveAgent
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-QWDZNQXA.js";
|
|
7
7
|
import {
|
|
8
8
|
ensureEmployeeAsync,
|
|
9
9
|
isExeSession,
|
|
10
|
-
isValidSessionScope,
|
|
11
10
|
logTaskDispatch,
|
|
12
11
|
resolveExeSession
|
|
13
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-QX33D4CH.js";
|
|
13
|
+
import {
|
|
14
|
+
isValidSessionScope
|
|
15
|
+
} from "./chunk-BTSWFMEH.js";
|
|
14
16
|
import {
|
|
15
17
|
recordOrchestrationEventBestEffort
|
|
16
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-UI3K73LD.js";
|
|
17
19
|
import {
|
|
18
20
|
releaseDispatchClaim,
|
|
19
21
|
tryAcquireDispatchClaim,
|
|
@@ -26,13 +28,13 @@ import {
|
|
|
26
28
|
} from "./chunk-XTWHNLGD.js";
|
|
27
29
|
import {
|
|
28
30
|
getLicenseSync
|
|
29
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-N3JLNMPF.js";
|
|
30
32
|
import {
|
|
31
33
|
getAgentContext
|
|
32
34
|
} from "./chunk-GJV3WDWM.js";
|
|
33
35
|
import {
|
|
34
36
|
isCoordinatorName
|
|
35
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-HSBKV5LB.js";
|
|
36
38
|
|
|
37
39
|
// src/mcp/tools/create-task.ts
|
|
38
40
|
import { z } from "zod";
|
|
@@ -462,10 +464,12 @@ function registerCreateTask(server) {
|
|
|
462
464
|
),
|
|
463
465
|
idempotency_key: z.string().optional().describe("Idempotency key (bug c06a8803): retrying create_task with the SAME key returns the ORIGINAL task instead of creating a duplicate + duplicate spawn. Must be stable across the original call and its retry \u2014 do NOT embed a timestamp. Optional; when omitted no dedup is applied."),
|
|
464
466
|
idempotency_window: z.string().optional().describe("Optional nonce used to DERIVE an idempotency key when idempotency_key is not given (stable hash of assignee+title+project+session+window). Reuse the same window on a retry to dedup. When both this and idempotency_key are omitted, no dedup is applied."),
|
|
465
|
-
session_scope: z.string().optional().describe("Explicit coordinator session scope for headless/gateway callers (e.g. exe2). Used only when X-Exe-Session/EXE_SESSION is unavailable; must be a valid session token.")
|
|
467
|
+
session_scope: z.string().optional().describe("Explicit coordinator session scope for headless/gateway callers (e.g. exe2). Used only when X-Exe-Session/EXE_SESSION is unavailable; must be a valid session token."),
|
|
468
|
+
work_ref: z.string().optional().describe("The unit of work this task implements \u2014 a bug/feature id from support (full UUID or its 8-hex short form). When set, create_task REFUSES if another live session already claimed it, and CLAIMS it for this session on success. Strongly recommended for any task tied to a tracked id: it is what makes duplicate dispatch impossible rather than merely discouraged."),
|
|
469
|
+
override_claim_reason: z.string().optional().describe("Take over work another session has claimed. Only for genuinely abandoned work; recorded as a claim.override audit event with this reason. Never the default path.")
|
|
466
470
|
}
|
|
467
471
|
},
|
|
468
|
-
async ({ title, assigned_to, project_name, priority, complexity, context, blocked_by, parent_task_id, reviewer, budget_tokens, budget_fallback_model, spawn_runtime, spawn_model, spawn_worktree, idempotency_key, idempotency_window, session_scope }) => {
|
|
472
|
+
async ({ title, assigned_to, project_name, priority, complexity, context, blocked_by, parent_task_id, reviewer, budget_tokens, budget_fallback_model, spawn_runtime, spawn_model, spawn_worktree, idempotency_key, idempotency_window, session_scope, work_ref, override_claim_reason }) => {
|
|
469
473
|
if (!isCoordinatorName(assigned_to)) {
|
|
470
474
|
const license = getLicenseSync();
|
|
471
475
|
if (license.plan === "free") {
|
|
@@ -588,6 +592,50 @@ function registerCreateTask(server) {
|
|
|
588
592
|
}
|
|
589
593
|
effectiveSpawnModel = validated.model;
|
|
590
594
|
}
|
|
595
|
+
let claimWarning = "";
|
|
596
|
+
const claimRefRaw = (work_ref ?? "").trim();
|
|
597
|
+
try {
|
|
598
|
+
const { findConflicts, findConflictsInText, describeConflict, normalizeTarget } = await import("./work-claims-4QOE7DT2.js");
|
|
599
|
+
const conflicts = claimRefRaw ? await findConflicts(
|
|
600
|
+
[normalizeTarget({ kind: "work_ref", value: claimRefRaw })],
|
|
601
|
+
callerRoot
|
|
602
|
+
) : await findConflictsInText(`${title}
|
|
603
|
+
${context}`, callerRoot);
|
|
604
|
+
if (conflicts.length > 0) {
|
|
605
|
+
const overrideReason = (override_claim_reason ?? "").trim();
|
|
606
|
+
if (!overrideReason) {
|
|
607
|
+
const detail = conflicts.map((c) => ` ${describeConflict(c)}`).join("\n");
|
|
608
|
+
const message = `BLOCKED: this work is already claimed by another session.
|
|
609
|
+
${detail}
|
|
610
|
+
|
|
611
|
+
Nothing was created or dispatched. Either pick different work, or \u2014 if that session has genuinely abandoned it \u2014 take it over deliberately: claim(action='acquire', work_ref='<id>', force=true, reason='<why>'), then retry. To override in one step, pass override_claim_reason to create_task; either way the takeover is logged with who and why.`;
|
|
612
|
+
recordOrchestrationEventBestEffort({
|
|
613
|
+
eventType: "dispatch.failed",
|
|
614
|
+
source: "create-task.mcp",
|
|
615
|
+
severity: "error",
|
|
616
|
+
agentId: assigned_to,
|
|
617
|
+
sessionScope: callerRoot || null,
|
|
618
|
+
projectName: project_name,
|
|
619
|
+
errorCode: "work_claimed_by_other_session",
|
|
620
|
+
payload: {
|
|
621
|
+
priority,
|
|
622
|
+
conflicts: conflicts.map((c) => ({
|
|
623
|
+
target: `${c.targetKind}:${c.targetKey}`,
|
|
624
|
+
holderSession: c.holderSession
|
|
625
|
+
}))
|
|
626
|
+
}
|
|
627
|
+
});
|
|
628
|
+
return { content: [{ type: "text", text: message }], isError: true };
|
|
629
|
+
}
|
|
630
|
+
claimWarning = `
|
|
631
|
+
\u26A0 CLAIM OVERRIDE \u2014 you took over work held by ${[...new Set(conflicts.map((c) => c.holderSession))].join(", ")}: "${overrideReason}". Logged.`;
|
|
632
|
+
}
|
|
633
|
+
} catch (claimErr) {
|
|
634
|
+
claimWarning = `
|
|
635
|
+
\u26A0 Work-claim check unavailable (${claimErr instanceof Error ? claimErr.message : String(claimErr)}) \u2014 dispatched WITHOUT duplicate-work protection. Confirm no other session is on this before it lands.`;
|
|
636
|
+
process.stderr.write(`[create_task] work-claim check degraded: ${claimWarning.trim()}
|
|
637
|
+
`);
|
|
638
|
+
}
|
|
591
639
|
let projectDir = await resolveProjectDir(project_name, callerRoot);
|
|
592
640
|
if (projectDir == null && callerRoot) {
|
|
593
641
|
const ownDir = await resolveCoordinatorOwnProjectDir(callerRoot);
|
|
@@ -724,6 +772,26 @@ function registerCreateTask(server) {
|
|
|
724
772
|
} catch {
|
|
725
773
|
}
|
|
726
774
|
}
|
|
775
|
+
if (claimRefRaw) {
|
|
776
|
+
try {
|
|
777
|
+
const { acquireClaim } = await import("./work-claims-4QOE7DT2.js");
|
|
778
|
+
const acquired = await acquireClaim({
|
|
779
|
+
targets: [{ kind: "work_ref", value: claimRefRaw }],
|
|
780
|
+
holderSession: callerRoot,
|
|
781
|
+
holderAgent: assigned_to,
|
|
782
|
+
taskId: task.id,
|
|
783
|
+
note: title,
|
|
784
|
+
force: Boolean((override_claim_reason ?? "").trim()),
|
|
785
|
+
reason: (override_claim_reason ?? "").trim() || null
|
|
786
|
+
});
|
|
787
|
+
claimWarning += acquired.ok ? `
|
|
788
|
+
Claimed ${claimRefRaw} for session ${callerRoot} (claim_group ${acquired.claimGroup}). Release it with claim(action='release') when the work lands.` : `
|
|
789
|
+
\u26A0 Task created but the claim on ${claimRefRaw} was lost to another session in the meantime \u2014 coordinate before continuing.`;
|
|
790
|
+
} catch (acqErr) {
|
|
791
|
+
claimWarning += `
|
|
792
|
+
\u26A0 Task created but the claim on ${claimRefRaw} could not be recorded (${acqErr instanceof Error ? acqErr.message : String(acqErr)}).`;
|
|
793
|
+
}
|
|
794
|
+
}
|
|
727
795
|
try {
|
|
728
796
|
const { existsSync: existsSync2, mkdirSync: mkdirSync2, writeFileSync: writeFileSync2 } = await import("fs");
|
|
729
797
|
const { identityPath } = await import("./lib/identity.js");
|
|
@@ -759,7 +827,7 @@ function registerCreateTask(server) {
|
|
|
759
827
|
session_scope: sessionScope,
|
|
760
828
|
created_at: (/* @__PURE__ */ new Date()).toISOString()
|
|
761
829
|
}), "utf-8");
|
|
762
|
-
const { recordOrchestrationEventBestEffort: recordOE } = await import("./orchestration-events-
|
|
830
|
+
const { recordOrchestrationEventBestEffort: recordOE } = await import("./orchestration-events-HVG56HJ5.js");
|
|
763
831
|
recordOE({
|
|
764
832
|
eventType: "signal.created",
|
|
765
833
|
source: "create-task.mcp",
|
|
@@ -791,7 +859,7 @@ function registerCreateTask(server) {
|
|
|
791
859
|
let projectConflictOpts = {};
|
|
792
860
|
try {
|
|
793
861
|
const { getClient } = await import("./lib/database.js");
|
|
794
|
-
const { sessionScopeFilter } = await import("./task-scope-
|
|
862
|
+
const { sessionScopeFilter } = await import("./task-scope-74JBTKJN.js");
|
|
795
863
|
const client = getClient();
|
|
796
864
|
const scope = sessionScopeFilter(task.sessionScope || callerRoot || exeSession || null);
|
|
797
865
|
const existing = await client.execute({
|
|
@@ -1017,7 +1085,7 @@ ${dispatchErr instanceof Error ? dispatchErr.stack : ""}
|
|
|
1017
1085
|
}
|
|
1018
1086
|
let text = `Task created: ${task.id}
|
|
1019
1087
|
File: ${task.taskFile}
|
|
1020
|
-
Assigned to: ${task.assignedTo} [${task.priority.toUpperCase()}]${dispatchStatus}${dupWarning}${journalWarning}`;
|
|
1088
|
+
Assigned to: ${task.assignedTo} [${task.priority.toUpperCase()}]${dispatchStatus}${claimWarning}${dupWarning}${journalWarning}`;
|
|
1021
1089
|
if (task.status === "blocked") {
|
|
1022
1090
|
text += `
|
|
1023
1091
|
Status: blocked (waiting on ${blocked_by})`;
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
buildSystemStateExclusionFilter,
|
|
12
12
|
buildWikiScopeFilter,
|
|
13
13
|
searchMemories
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-BQYQES2Z.js";
|
|
15
15
|
import {
|
|
16
16
|
blobToVector
|
|
17
17
|
} from "./chunk-OTVEIJUQ.js";
|
|
@@ -26,7 +26,7 @@ import {
|
|
|
26
26
|
getClient,
|
|
27
27
|
isFtsShadowCorruptionMessage,
|
|
28
28
|
repairFtsTable
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-HSBKV5LB.js";
|
|
30
30
|
|
|
31
31
|
// src/lib/memory-reads.ts
|
|
32
32
|
import crypto from "crypto";
|
|
@@ -574,7 +574,7 @@ async function hybridSearch(queryText, agentId, options) {
|
|
|
574
574
|
let rerankerAvailable = false;
|
|
575
575
|
if (process.env.EXE_IS_DAEMON === "1") {
|
|
576
576
|
try {
|
|
577
|
-
const { isRerankerAvailable } = await import("./reranker-
|
|
577
|
+
const { isRerankerAvailable } = await import("./reranker-EHQTAA3L.js");
|
|
578
578
|
rerankerAvailable = isRerankerAvailable();
|
|
579
579
|
} catch {
|
|
580
580
|
}
|
|
@@ -643,7 +643,7 @@ async function hybridSearch(queryText, agentId, options) {
|
|
|
643
643
|
]).catch(() => []),
|
|
644
644
|
includeStructuredCards ? (async () => {
|
|
645
645
|
try {
|
|
646
|
-
const { searchMemoryCards } = await import("./memory-cards-
|
|
646
|
+
const { searchMemoryCards } = await import("./memory-cards-3QTXI2SG.js");
|
|
647
647
|
return await searchMemoryCards(effectiveQuery, agentId, fetchOptions);
|
|
648
648
|
} catch {
|
|
649
649
|
return [];
|
|
@@ -652,7 +652,7 @@ async function hybridSearch(queryText, agentId, options) {
|
|
|
652
652
|
// Reflection insights: patterns, contradictions, summaries across sessions
|
|
653
653
|
includeStructuredCards ? (async () => {
|
|
654
654
|
try {
|
|
655
|
-
const { searchReflections } = await import("./memory-reflection-
|
|
655
|
+
const { searchReflections } = await import("./memory-reflection-3AI4JBV2.js");
|
|
656
656
|
const insights = await searchReflections(effectiveQuery, agentId, 5, {
|
|
657
657
|
includeArchived: options?.includeArchived
|
|
658
658
|
});
|
|
@@ -777,7 +777,7 @@ async function hybridSearch(queryText, agentId, options) {
|
|
|
777
777
|
try {
|
|
778
778
|
let rerankedRecords;
|
|
779
779
|
if (graphContextMap.size > 0) {
|
|
780
|
-
const { rerankWithContext } = await import("./reranker-
|
|
780
|
+
const { rerankWithContext } = await import("./reranker-EHQTAA3L.js");
|
|
781
781
|
const candidates = merged.map((m) => ({
|
|
782
782
|
text: m.raw_text,
|
|
783
783
|
context: graphContextMap.get(m.id)
|
|
@@ -785,7 +785,7 @@ async function hybridSearch(queryText, agentId, options) {
|
|
|
785
785
|
const scored = await rerankWithContext(effectiveQuery, candidates, rerankReturnLimit);
|
|
786
786
|
rerankedRecords = scored.map((s) => merged[s.index]);
|
|
787
787
|
} else {
|
|
788
|
-
const { rerank } = await import("./reranker-
|
|
788
|
+
const { rerank } = await import("./reranker-EHQTAA3L.js");
|
|
789
789
|
rerankedRecords = await rerank(effectiveQuery, merged, rerankReturnLimit);
|
|
790
790
|
}
|
|
791
791
|
if (rerankedRecords.length > 0) {
|
|
@@ -1196,7 +1196,7 @@ async function lightweightSearch(queryText, agentId, options) {
|
|
|
1196
1196
|
}
|
|
1197
1197
|
if (results.length >= 2) {
|
|
1198
1198
|
try {
|
|
1199
|
-
const { recordCoActivations } = await import("./co-activation-
|
|
1199
|
+
const { recordCoActivations } = await import("./co-activation-EAAKGGZH.js");
|
|
1200
1200
|
const ids = results.slice(0, 10).map((r) => r.id);
|
|
1201
1201
|
void recordCoActivations(ids).catch((e) => {
|
|
1202
1202
|
try {
|
|
@@ -1212,7 +1212,7 @@ async function lightweightSearch(queryText, agentId, options) {
|
|
|
1212
1212
|
}
|
|
1213
1213
|
if (options?.includeStructuredCards !== true) return results;
|
|
1214
1214
|
try {
|
|
1215
|
-
const { searchMemoryCards } = await import("./memory-cards-
|
|
1215
|
+
const { searchMemoryCards } = await import("./memory-cards-3QTXI2SG.js");
|
|
1216
1216
|
const cardResults = await searchMemoryCards(queryText, agentId, options);
|
|
1217
1217
|
if (cardResults.length > 0) {
|
|
1218
1218
|
return rrfMergeMulti([results, cardResults], limit, RRF_K, [1, 0.85]);
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
buildSystemStateMemoryTypeExclusion
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-BQYQES2Z.js";
|
|
4
4
|
import {
|
|
5
5
|
sessionScopeFilter
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-QX33D4CH.js";
|
|
7
7
|
import {
|
|
8
8
|
getClient,
|
|
9
9
|
getIdentity
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-HSBKV5LB.js";
|
|
11
11
|
import {
|
|
12
12
|
getEmotionalBaseline
|
|
13
13
|
} from "./chunk-NJFJWQNN.js";
|
|
@@ -646,7 +646,7 @@ var DreamingEngine = class {
|
|
|
646
646
|
}
|
|
647
647
|
let overdueProspective = [];
|
|
648
648
|
try {
|
|
649
|
-
const { getOverdueProspective, completeProspective } = await import("./prospective-memory-
|
|
649
|
+
const { getOverdueProspective, completeProspective } = await import("./prospective-memory-G5VK5GCD.js");
|
|
650
650
|
const overdue = await getOverdueProspective(agentId);
|
|
651
651
|
overdueProspective = overdue.map((o) => ({
|
|
652
652
|
id: o.id,
|
|
@@ -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-74JBTKJN.js");
|
|
123
123
|
const client = getClient();
|
|
124
124
|
const scope = sessionScopeFilter();
|
|
125
125
|
const result = await client.execute({
|