@askexenow/exe-os 0.9.348 → 0.9.350
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/deploy/compose/docker-compose.yml +15 -6
- package/deploy/compose/erp-nginx/nginx.conf +17 -10
- package/deploy/stack-manifests/v0.9.30-apps.json +81 -0
- package/deploy/stack-manifests/v0.9.json +111 -2
- package/dist/{active-agent-PX6KAEEQ.js → active-agent-PMCD3LFW.js} +3 -3
- package/dist/{active-agent-QVLZKWR2.js → active-agent-WQYB3JQY.js} +3 -3
- package/dist/{agentic-ontology-6MEXY5L7.js → agentic-ontology-HTU5EMEQ.js} +1 -1
- package/dist/{backfill-metadata-MCFBGWKX.js → backfill-metadata-QUUXE2TL.js} +5 -5
- package/dist/{backup-verify-RGB3KKD4.js → backup-verify-YJGUNZWJ.js} +1 -1
- package/dist/{behaviors-6GI6VND2.js → behaviors-P5FORAYU.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 +11 -11
- package/dist/bin/cc-doctor.js +4 -4
- package/dist/bin/cleanup-stale-review-tasks.js +12 -12
- package/dist/bin/cli.js +18 -18
- package/dist/bin/deferred-daemon-restart.js +68 -68
- package/dist/bin/exe-agent-config.js +2 -2
- package/dist/bin/exe-agent.js +5 -5
- package/dist/bin/exe-assign.js +6 -6
- package/dist/bin/exe-boot.js +26 -26
- package/dist/bin/exe-call.js +5 -5
- package/dist/bin/exe-cloud.js +11 -11
- package/dist/bin/exe-config-dump.js +2 -2
- package/dist/bin/exe-dispatch.js +12 -12
- package/dist/bin/exe-doctor.js +4 -4
- 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 +4 -4
- package/dist/bin/exe-heartbeat.js +14 -14
- package/dist/bin/exe-kill.js +16 -16
- package/dist/bin/exe-launch-agent.js +23 -23
- package/dist/bin/exe-memory-reads.js +5 -5
- package/dist/bin/exe-new-employee.js +9 -9
- package/dist/bin/exe-os-mcp-proxy.js +3 -3
- package/dist/bin/exe-pending-messages.js +13 -13
- package/dist/bin/exe-pending-notifications.js +12 -12
- package/dist/bin/exe-pending-reviews.js +12 -12
- package/dist/bin/exe-rename.js +5 -5
- package/dist/bin/exe-review.js +15 -15
- package/dist/bin/exe-search.js +6 -6
- package/dist/bin/exe-session-cleanup.js +16 -16
- package/dist/bin/exe-settings.js +11 -11
- package/dist/bin/exe-start-codex.js +13 -13
- package/dist/bin/exe-start-opencode.js +9 -9
- package/dist/bin/exe-status.js +13 -13
- package/dist/bin/exe-support.js +3 -3
- package/dist/bin/exe-team.js +3 -3
- package/dist/bin/git-sweep.js +13 -13
- 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 +70 -70
- 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/pre-publish.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 +12 -12
- package/dist/bin/setup.js +1 -1
- package/dist/bin/shard-migrate.js +5 -5
- package/dist/bin/stack-update.js +4 -4
- package/dist/bin/vps-health-gate.js +1 -1
- package/dist/{boot-generation-FB2J53IG.js → boot-generation-XNR2CBMX.js} +3 -3
- package/dist/{boot-review-sections-QF5MZGJI.js → boot-review-sections-ZWXRZ6YX.js} +11 -11
- package/dist/{capability-cards-YADEM2KN.js → capability-cards-IOGHQJ6Y.js} +2 -2
- package/dist/{capacity-monitor-CG2IGONS.js → capacity-monitor-3YN75QXX.js} +13 -13
- package/dist/{catchup-brief-QFVNMTU5.js → catchup-brief-HPB5CL7R.js} +16 -16
- package/dist/{chunk-YAIFZXOM.js → chunk-4EEML23J.js} +5 -5
- package/dist/{chunk-UTQWVRU6.js → chunk-4Z74A4A6.js} +5 -5
- package/dist/{chunk-27REQ7KR.js → chunk-53HZ23T5.js} +1 -1
- package/dist/{chunk-KZUU6MNF.js → chunk-55OFK4ZY.js} +1 -1
- package/dist/{chunk-DJYJDK53.js → chunk-5J4GLPTU.js} +7 -7
- package/dist/{chunk-WUMWXU6B.js → chunk-5SJXJSAI.js} +1 -1
- package/dist/{chunk-MH5HWMVH.js → chunk-6ON3JHGE.js} +1 -1
- package/dist/{chunk-A42356G7.js → chunk-6QHQCY3N.js} +1 -1
- package/dist/{chunk-YTPCJLEL.js → chunk-AAVVHD4C.js} +1 -1
- package/dist/{chunk-BUUGFQHL.js → chunk-ABIZWPSK.js} +2 -2
- package/dist/{chunk-AUILJKSM.js → chunk-AGCGXXIB.js} +2 -2
- package/dist/{chunk-6WFXNQDJ.js → chunk-AUEMXOJT.js} +1 -1
- package/dist/{chunk-FENYNW52.js → chunk-BAWZEI77.js} +1 -1
- package/dist/{chunk-MMXIE6HV.js → chunk-BHDOPDPY.js} +7 -1
- package/dist/{chunk-M7PBRIRH.js → chunk-CYBDUQDO.js} +1 -1
- package/dist/{chunk-PBLDPW4U.js → chunk-D2UZ35PQ.js} +2 -2
- package/dist/{chunk-KIMAQNSM.js → chunk-DKOWIBBM.js} +3 -3
- package/dist/{chunk-JORPYG4O.js → chunk-DXYHU5D6.js} +1 -1
- package/dist/{chunk-FPK753IZ.js → chunk-EDEVSNAF.js} +9 -9
- package/dist/{chunk-HL24OHHS.js → chunk-EGYDW57S.js} +9 -9
- package/dist/{chunk-WWT3E7DO.js → chunk-ENIFHOMF.js} +3 -3
- package/dist/{chunk-EFHGK6JP.js → chunk-FGII4IO7.js} +1 -1
- package/dist/{chunk-RBRGSOK5.js → chunk-FHOLN7BD.js} +1 -1
- package/dist/{chunk-7WQ3WHPW.js → chunk-FUOXMZUZ.js} +138 -128
- package/dist/{chunk-X6VEQ7MC.js → chunk-GIEIWDC2.js} +1 -1
- package/dist/{chunk-SLH2743O.js → chunk-GINAJJQR.js} +3 -3
- package/dist/{chunk-5KCC26FB.js → chunk-GIZLVGOM.js} +2 -2
- package/dist/{chunk-GJ6KIHOM.js → chunk-GWO54VKD.js} +4 -4
- package/dist/{chunk-FE6WBI2M.js → chunk-GXMY5ERQ.js} +1 -1
- package/dist/chunk-HCRUMO4B.js +58 -0
- package/dist/{chunk-HYZE3MNS.js → chunk-HUCMSRIF.js} +1 -1
- package/dist/{chunk-23O6LHII.js → chunk-I6UOIBCG.js} +1 -1
- package/dist/{chunk-RFRUDXOI.js → chunk-IC4O376V.js} +2 -2
- package/dist/{chunk-AXNUMBLO.js → chunk-IXDSQ2VO.js} +3 -3
- package/dist/{chunk-H3TA23PH.js → chunk-IXJGEZBS.js} +4 -4
- package/dist/{chunk-SQ4WACH4.js → chunk-JFGX7LHH.js} +1 -1
- package/dist/{chunk-MMOONM6D.js → chunk-JO6RMHMW.js} +1 -1
- package/dist/{chunk-DAODOSH4.js → chunk-KBFHODXV.js} +1 -1
- package/dist/{chunk-5RPCWLXE.js → chunk-KES3SNOH.js} +1 -1
- package/dist/{chunk-Z52QQB4Z.js → chunk-KMWRDB5U.js} +2 -2
- package/dist/{chunk-6JQTSKDR.js → chunk-KZ7BANUM.js} +1 -1
- package/dist/{chunk-WL3IQJKN.js → chunk-L3DKZC4R.js} +3 -3
- package/dist/{chunk-NY6DU5RB.js → chunk-L4SGSV4M.js} +1 -1
- package/dist/{chunk-GA655CUD.js → chunk-LFDW43MP.js} +2 -2
- package/dist/{chunk-ZXSFUR77.js → chunk-LOYK2BRY.js} +15 -15
- package/dist/{chunk-H5QNVWU4.js → chunk-LVG5ATTU.js} +10 -10
- package/dist/{chunk-AQ24P2O7.js → chunk-LVYIM3V4.js} +4 -4
- package/dist/{chunk-PAXAF2UY.js → chunk-LYMEWCFD.js} +24 -8
- package/dist/{chunk-OBWIVRD6.js → chunk-MFRJRJ6U.js} +1 -1
- package/dist/{chunk-Y3JXLIZV.js → chunk-MFX2RWJZ.js} +3 -3
- package/dist/{chunk-AMC2OPYP.js → chunk-MGFG7V3M.js} +1 -1
- package/dist/{chunk-A43SIGAO.js → chunk-NXC3Z7VI.js} +3 -3
- package/dist/{chunk-CCOKYSJA.js → chunk-OPDZ62TW.js} +3 -3
- package/dist/{chunk-5C46Y4AK.js → chunk-PBLFSNIA.js} +1 -1
- package/dist/{chunk-6QRS3IZF.js → chunk-PELEK2IT.js} +1 -1
- package/dist/{chunk-TF5E6O5Q.js → chunk-QABQ7C4C.js} +1 -1
- package/dist/{chunk-MGMXYI7Y.js → chunk-QIALP626.js} +2 -2
- package/dist/{chunk-FFCPSPNK.js → chunk-RYKHPC3Y.js} +1 -1
- package/dist/{chunk-MVZLF27P.js → chunk-SDNIBE22.js} +2 -2
- package/dist/{chunk-AFY4V4N3.js → chunk-SLROFI6M.js} +1 -1
- package/dist/{chunk-2AD2GAPC.js → chunk-SUZOENOA.js} +1 -1
- package/dist/{chunk-O522M4YZ.js → chunk-T346KHGF.js} +1 -1
- package/dist/{chunk-TLWYOMSS.js → chunk-T4VUDUZF.js} +3 -3
- package/dist/{chunk-43RTUMUT.js → chunk-TGGOWOLG.js} +1 -1
- package/dist/{chunk-E3BNUQHW.js → chunk-TGU2IB6P.js} +2 -2
- package/dist/{chunk-WZJ3VYRJ.js → chunk-THDM6HMQ.js} +3 -3
- package/dist/{chunk-YM6GJM2F.js → chunk-TXGOFNXD.js} +4 -4
- package/dist/{chunk-UAKGNQWE.js → chunk-U7HUQPVS.js} +1 -1
- package/dist/{chunk-GLOWJP5H.js → chunk-UCO3XIL5.js} +2 -2
- package/dist/{chunk-JW5XS35A.js → chunk-UXOCABN4.js} +4 -4
- package/dist/{chunk-L36RX54F.js → chunk-UZ6AA52H.js} +6 -6
- package/dist/{chunk-2WJYLXPF.js → chunk-VDEBUOPB.js} +1 -1
- package/dist/{chunk-GKNWKQFY.js → chunk-VDKI6PIZ.js} +1 -1
- package/dist/{chunk-6GSYN262.js → chunk-VF6HK2ID.js} +1 -1
- package/dist/{chunk-Z4UKLRML.js → chunk-VU2MZ7BP.js} +18 -6
- package/dist/{chunk-SMQ642D3.js → chunk-WAVZDYXS.js} +4 -4
- package/dist/{chunk-QNKR7WEL.js → chunk-WOGK3FIE.js} +3 -3
- package/dist/{chunk-DXMTJJP3.js → chunk-YJBBW6OT.js} +4 -4
- package/dist/{chunk-MOZY4IQO.js → chunk-Z4F6ZHDV.js} +1 -1
- package/dist/{chunk-BOQUXG7N.js → chunk-ZMDTRDTD.js} +3 -3
- package/dist/{cleanup-graph-garbage-XTSBQXD6.js → cleanup-graph-garbage-DQDJK6L7.js} +7 -7
- package/dist/{cloud-sync-shutdown-A2QB74YM.js → cloud-sync-shutdown-UHICWZ2B.js} +2 -2
- package/dist/{co-activation-S2FVGMQP.js → co-activation-PIRKOOPD.js} +2 -2
- package/dist/{co-occurrence-VQB6U5ME.js → co-occurrence-PO4EPN5C.js} +5 -5
- package/dist/{conversation-entity-extractor-YF3ZLTEJ.js → conversation-entity-extractor-3UUAYXS6.js} +3 -3
- package/dist/{crdt-sync-2SGCDWC3.js → crdt-sync-ZL3GKAQW.js} +1 -1
- package/dist/{crm-webhook-P64SXEHD.js → crm-webhook-BAF3VM34.js} +2 -2
- package/dist/{cto-delegation-gate-6KLGT2LB.js → cto-delegation-gate-AQE2M4HU.js} +11 -11
- package/dist/{daemon-orchestration-JQGKEWPD.js → daemon-orchestration-WHGMXCZW.js} +16 -16
- package/dist/{doc-graph-extractor-DCJMATVZ.js → doc-graph-extractor-IFLEVHUJ.js} +5 -5
- package/dist/{documents-7EPH3VPE.js → documents-2BXH6YE4.js} +6 -6
- package/dist/{dreaming-O4P2W5E5.js → dreaming-AQI4F7J4.js} +15 -15
- package/dist/{exe-drift-ED7FBS2C.js → exe-drift-OBXBE3BJ.js} +3 -3
- package/dist/{exe-export-YJI4USGZ.js → exe-export-VKRI6DK4.js} +8 -8
- package/dist/{exe-import-SUTAYKUW.js → exe-import-EH74J6HM.js} +8 -8
- package/dist/{exe-key-CRSDAOZD.js → exe-key-GYNPBQDF.js} +68 -68
- package/dist/{exe-snapshot-KB4YYDCA.js → exe-snapshot-CWQBLHZN.js} +16 -16
- package/dist/{fast-db-init-3K2PV6GJ.js → fast-db-init-5HF3TLAF.js} +1 -1
- package/dist/{founder-context-JHHFM4GF.js → founder-context-PWEQQF43.js} +2 -2
- package/dist/gateway/index.js +8 -8
- package/dist/{git-staleness-YPHGWE3B.js → git-staleness-ZQEAOK6X.js} +2 -2
- package/dist/{global-procedures-PEWDBSPJ.js → global-procedures-LBAA7VLL.js} +4 -4
- package/dist/{graph-auto-extract-7OJYYV4G.js → graph-auto-extract-XOJSREN4.js} +5 -5
- package/dist/{graph-rag-YFITUAVO.js → graph-rag-P3PSYW7P.js} +3 -3
- package/dist/{hook-prefetch-O6ZCZCTX.js → hook-prefetch-HGHMON76.js} +12 -12
- package/dist/hooks/bug-report-worker.js +14 -14
- package/dist/hooks/codex-stop-task-finalizer.js +15 -15
- package/dist/hooks/commit-complete.js +14 -14
- package/dist/hooks/error-recall.js +7 -7
- 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 +13 -13
- package/dist/hooks/post-tool-combined.js +9 -9
- package/dist/hooks/pre-compact.js +14 -14
- package/dist/hooks/pre-tool-use.js +19 -19
- package/dist/hooks/prompt-submit.js +26 -26
- package/dist/hooks/session-end.js +18 -18
- package/dist/hooks/session-start.js +13 -13
- package/dist/hooks/stop.js +17 -17
- package/dist/hooks/subagent-stop.js +15 -15
- package/dist/hooks/summary-worker.js +18 -18
- package/dist/index.js +21 -21
- package/dist/{installer-CY5PN7TN.js → installer-DWOXEACJ.js} +5 -5
- package/dist/{installer-N4QXGINR.js → installer-LDICNL4N.js} +5 -5
- package/dist/{installer-3ONNP5JV.js → installer-WZLGX2W6.js} +5 -5
- package/dist/{intercom-queue-A52WQOCD.js → intercom-queue-S3XGJ632.js} +11 -11
- package/dist/lib/cloud-sync.js +11 -11
- 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-daemon-client.js +5 -1
- package/dist/lib/db-write-worker.js +2 -2
- package/dist/lib/db.js +2 -2
- package/dist/lib/device-registry.js +1 -1
- package/dist/lib/employee-templates.js +5 -5
- package/dist/lib/employees.js +2 -2
- package/dist/lib/exe-daemon.js +55 -55
- 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 +12 -12
- 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/store.js +5 -5
- package/dist/lib/task-router.js +3 -3
- package/dist/lib/tasks.js +13 -13
- package/dist/lib/tmux-routing.js +11 -11
- package/dist/lib/token-spend.js +3 -3
- package/dist/{license-gate-ZRORTAQ2.js → license-gate-H3AEDCEX.js} +3 -3
- package/dist/{license-sync-CQHBDUQE.js → license-sync-FBYT75E3.js} +2 -2
- package/dist/mcp/register-tools.js +67 -67
- package/dist/mcp/server.js +68 -68
- 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 +15 -15
- 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 +15 -15
- package/dist/mcp/tools/send-message.js +14 -14
- package/dist/mcp/tools/update-task.js +14 -14
- package/dist/{mcp-http-config-2A6HKQP5.js → mcp-http-config-XE5KEKOR.js} +3 -3
- package/dist/{mcp-session-identity-OPRX32H5.js → mcp-session-identity-QA4ZXYCY.js} +11 -11
- package/dist/{memory-cards-GFO2CSPV.js → memory-cards-GHAU5A4O.js} +5 -5
- package/dist/{memory-graph-extractor-2Z72HN5P.js → memory-graph-extractor-P7B2V6CN.js} +6 -6
- package/dist/{memory-poisoning-defense-WZJ52KXT.js → memory-poisoning-defense-OY4EJES5.js} +2 -2
- package/dist/{memory-pressure-watchdog-IG7VRFIX.js → memory-pressure-watchdog-ZGA5GAUE.js} +12 -12
- package/dist/{memory-reflection-LTRHDGUL.js → memory-reflection-5NAOS2OJ.js} +2 -2
- package/dist/{notification-ledger-KSCPGLQG.js → notification-ledger-LCG3TRSE.js} +12 -12
- package/dist/{notifications-YKHZPCXU.js → notifications-YX43A36Z.js} +11 -11
- package/dist/{orchestration-events-HAFDPTLV.js → orchestration-events-EXQRGVEJ.js} +3 -3
- package/dist/{orchestrator-4MZEQULR.js → orchestrator-3OO5FV6O.js} +13 -13
- package/dist/{pipeline-router-RSRJPZNI.js → pipeline-router-U6U3M5DB.js} +3 -3
- package/dist/{plan-limits-5QYYPIPT.js → plan-limits-FNYZOE7J.js} +5 -5
- package/dist/{platform-procedures-DZ6YABEK.js → platform-procedures-NBKHO33A.js} +1 -1
- package/dist/{projection-worker-SKAMSZJF.js → projection-worker-HIXCZRPD.js} +2 -2
- package/dist/{prospective-memory-V7LFCPU4.js → prospective-memory-WQJJB2PS.js} +2 -2
- package/dist/{reranker-HXMJ7SKW.js → reranker-GJEC7PVT.js} +1 -1
- package/dist/{retrieval-health-4NCBHUUS.js → retrieval-health-IP74ZJ3D.js} +1 -1
- package/dist/{review-polling-KQUALBEU.js → review-polling-AXQWGH4M.js} +12 -12
- package/dist/runtime/index.js +15 -15
- package/dist/{session-events-3KL735DZ.js → session-events-POBJERCM.js} +12 -12
- package/dist/{session-kill-telemetry-KVRGLYVI.js → session-kill-telemetry-WRT5UFGM.js} +12 -12
- package/dist/{session-scope-LBG6DT5O.js → session-scope-J4JJHTOC.js} +11 -11
- package/dist/{setup-wizard-UL3AKI6E.js → setup-wizard-TEBZRHIB.js} +1 -1
- package/dist/{skill-refinement-6HPISXQC.js → skill-refinement-E2X3FHGX.js} +3 -3
- package/dist/{stack-promote-RSOWO6EY.js → stack-promote-OQWEY3RN.js} +13 -3
- package/dist/{stack-release-HGFFFCGC.js → stack-release-NUITUMB4.js} +464 -169
- package/dist/{stack-update-WBDTJJEF.js → stack-update-5XFOBX3A.js} +3 -3
- package/dist/{steward-gate-CWPD4HEK.js → steward-gate-ODMUO6TD.js} +3 -3
- package/dist/{support-inbox-HRIHHKPU.js → support-inbox-HRU4TVLN.js} +3 -3
- package/dist/{task-enforcement-OAOL7XFL.js → task-enforcement-DTQ5QMDD.js} +12 -12
- package/dist/{task-scope-PSVAE3EM.js → task-scope-3F3MSGSX.js} +11 -11
- package/dist/{tasks-crud-TLELWWUL.js → tasks-crud-DBQFOYOX.js} +11 -11
- package/dist/{tasks-notify-7Q2XTDZ7.js → tasks-notify-X7AJMSX6.js} +12 -12
- package/dist/{tasks-review-S6QB5KGS.js → tasks-review-QQXKYQ52.js} +11 -11
- package/dist/{telemetry-upload-LTL5SW24.js → telemetry-upload-3KLDXO4Z.js} +7 -7
- package/dist/{token-budget-SK32GKFZ.js → token-budget-T3L6OHAN.js} +3 -3
- package/dist/{tool-telemetry-QJGJAHOC.js → tool-telemetry-TKENX37V.js} +1 -1
- package/dist/tui/App.js +20 -20
- package/dist/{tui-data-3JSV56ME.js → tui-data-4ITCYY3G.js} +11 -11
- package/dist/{update-support-LMPGWJVG.js → update-support-TT2ESH4G.js} +9 -9
- package/dist/{work-state-heartbeat-MQQOCU54.js → work-state-heartbeat-UAVYBQOK.js} +1 -1
- package/dist/{worker-gate-P2O64XMH.js → worker-gate-GK46QYHU.js} +1 -1
- package/dist/{workflow-engine-BLLQKA3O.js → workflow-engine-YYRUTNCM.js} +2 -2
- package/dist/{worktree-FJZXHDCJ.js → worktree-5LHP677X.js} +4 -4
- package/dist/{worktree-sweep-SW4AG6JR.js → worktree-sweep-TVQVQTVD.js} +5 -5
- package/package.json +3 -2
- package/release-notes.json +43 -51
- /package/dist/{chunk-GFIWADEH.js → chunk-2BJYY4SK.js} +0 -0
- /package/dist/{chunk-GPZQZTJB.js → chunk-2XQZZAFI.js} +0 -0
- /package/dist/{chunk-HTJKAAHD.js → chunk-4NPP7ASA.js} +0 -0
- /package/dist/{chunk-BTP7BORU.js → chunk-AGV4GKNY.js} +0 -0
- /package/dist/{chunk-XF2D4CDA.js → chunk-IMGD6PW3.js} +0 -0
- /package/dist/{chunk-PIUDQ7P2.js → chunk-JAF64HJT.js} +0 -0
- /package/dist/{chunk-QUOMJKVF.js → chunk-JGTJAA6B.js} +0 -0
- /package/dist/{chunk-H4JKOLXU.js → chunk-PENPH5AG.js} +0 -0
- /package/dist/{chunk-DRHXISWL.js → chunk-PIBEPI5W.js} +0 -0
- /package/dist/{chunk-FXZRJT3H.js → chunk-S6APJBIZ.js} +0 -0
- /package/dist/{chunk-E42D2E5F.js → chunk-TEJOHJZQ.js} +0 -0
- /package/dist/{chunk-AQ6ECPUP.js → chunk-TZMXGMSV.js} +0 -0
- /package/dist/{core-memory-Z7LPR3RX.js → core-memory-F2TJ2VVZ.js} +0 -0
- /package/dist/{oauth-server-FSKABATB.js → oauth-server-DCZN5VOK.js} +0 -0
- /package/dist/{project-boot-FVSC4VQC.js → project-boot-GVT2NKGJ.js} +0 -0
- /package/dist/{wiki-acl-CW2UALTJ.js → wiki-acl-NCAPBNOZ.js} +0 -0
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createTask
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-5J4GLPTU.js";
|
|
4
4
|
import {
|
|
5
5
|
getActiveAgent
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-QABQ7C4C.js";
|
|
7
7
|
import {
|
|
8
8
|
ensureEmployeeAsync,
|
|
9
9
|
isValidSessionScope,
|
|
10
10
|
logTaskDispatch,
|
|
11
11
|
resolveExeSession
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-LOYK2BRY.js";
|
|
13
13
|
import {
|
|
14
14
|
recordOrchestrationEventBestEffort
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-MGFG7V3M.js";
|
|
16
16
|
import {
|
|
17
17
|
releaseDispatchClaim,
|
|
18
18
|
tryAcquireDispatchClaim,
|
|
@@ -25,13 +25,13 @@ import {
|
|
|
25
25
|
} from "./chunk-A3YHWWE6.js";
|
|
26
26
|
import {
|
|
27
27
|
getLicenseSync
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-IC4O376V.js";
|
|
29
29
|
import {
|
|
30
30
|
getAgentContext
|
|
31
31
|
} from "./chunk-GJV3WDWM.js";
|
|
32
32
|
import {
|
|
33
33
|
isCoordinatorName
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-WOGK3FIE.js";
|
|
35
35
|
|
|
36
36
|
// src/mcp/tools/create-task.ts
|
|
37
37
|
import { z } from "zod";
|
|
@@ -105,6 +105,20 @@ function registeredProjectDirMatches(projectDir, projectName) {
|
|
|
105
105
|
}
|
|
106
106
|
return false;
|
|
107
107
|
}
|
|
108
|
+
function findAncestorProjectDir(startDir, projectName) {
|
|
109
|
+
if (!isSafeProjectName(projectName)) return null;
|
|
110
|
+
let cur = startDir;
|
|
111
|
+
for (let depth = 0; depth < 32; depth++) {
|
|
112
|
+
if (!cur) return null;
|
|
113
|
+
if (projectBasenameMatches(basename(cur).toLowerCase(), projectName) && isGitRepoDir(cur)) {
|
|
114
|
+
return cur;
|
|
115
|
+
}
|
|
116
|
+
const parent = dirname(cur);
|
|
117
|
+
if (parent === cur) return null;
|
|
118
|
+
cur = parent;
|
|
119
|
+
}
|
|
120
|
+
return null;
|
|
121
|
+
}
|
|
108
122
|
function isSafeProjectName(projectName) {
|
|
109
123
|
if (typeof projectName !== "string") return false;
|
|
110
124
|
const name = projectName.trim();
|
|
@@ -299,6 +313,8 @@ async function resolveProjectDir(projectName, callerSession) {
|
|
|
299
313
|
if (projectDirMatches(coordDir, projectName)) {
|
|
300
314
|
return coordDir;
|
|
301
315
|
}
|
|
316
|
+
const ancestorRoot = findAncestorProjectDir(coordDir, projectName);
|
|
317
|
+
if (ancestorRoot) return ancestorRoot;
|
|
302
318
|
const sameScopeCandidates = /* @__PURE__ */ new Set();
|
|
303
319
|
for (const session of sessions) {
|
|
304
320
|
if (!sessionBelongsToCoordinator(session, coordName, callerSession)) continue;
|
|
@@ -702,7 +718,7 @@ function registerCreateTask(server) {
|
|
|
702
718
|
session_scope: sessionScope,
|
|
703
719
|
created_at: (/* @__PURE__ */ new Date()).toISOString()
|
|
704
720
|
}), "utf-8");
|
|
705
|
-
const { recordOrchestrationEventBestEffort: recordOE } = await import("./orchestration-events-
|
|
721
|
+
const { recordOrchestrationEventBestEffort: recordOE } = await import("./orchestration-events-EXQRGVEJ.js");
|
|
706
722
|
recordOE({
|
|
707
723
|
eventType: "signal.created",
|
|
708
724
|
source: "create-task.mcp",
|
|
@@ -734,7 +750,7 @@ function registerCreateTask(server) {
|
|
|
734
750
|
let projectConflictOpts = {};
|
|
735
751
|
try {
|
|
736
752
|
const { getClient } = await import("./lib/database.js");
|
|
737
|
-
const { sessionScopeFilter } = await import("./task-scope-
|
|
753
|
+
const { sessionScopeFilter } = await import("./task-scope-3F3MSGSX.js");
|
|
738
754
|
const client = getClient();
|
|
739
755
|
const scope = sessionScopeFilter(task.sessionScope || callerRoot || exeSession || null);
|
|
740
756
|
const existing = await client.execute({
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
isExeSession
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-LOYK2BRY.js";
|
|
4
4
|
import {
|
|
5
5
|
recordOrchestrationEventBestEffort
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-MGFG7V3M.js";
|
|
7
7
|
import {
|
|
8
8
|
getClient,
|
|
9
9
|
isCoordinatorName
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-WOGK3FIE.js";
|
|
11
11
|
import {
|
|
12
12
|
isDaemonAlive
|
|
13
13
|
} from "./chunk-7HLWBYH7.js";
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
extractMemoryGraph
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-DKOWIBBM.js";
|
|
4
4
|
import {
|
|
5
5
|
flushBatch,
|
|
6
6
|
writeMemory
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-LVG5ATTU.js";
|
|
8
8
|
import {
|
|
9
9
|
extractKeywords
|
|
10
10
|
} from "./chunk-CHCA3ZM2.js";
|
|
11
11
|
import {
|
|
12
12
|
getActiveAgent
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-QABQ7C4C.js";
|
|
14
14
|
|
|
15
15
|
// src/mcp/tools/import-conversations.ts
|
|
16
16
|
import { z } from "zod";
|
|
@@ -4,10 +4,10 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
reserveVersions,
|
|
6
6
|
vectorToBlob
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-LVG5ATTU.js";
|
|
8
8
|
import {
|
|
9
9
|
getClient
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-WOGK3FIE.js";
|
|
11
11
|
|
|
12
12
|
// src/lib/documents.ts
|
|
13
13
|
import crypto from "crypto";
|
|
@@ -270,7 +270,7 @@ async function ingestDocument(input) {
|
|
|
270
270
|
await client.batch([documentStmt, ...chunkStmts], "write");
|
|
271
271
|
const embedded = vectors.filter((v) => v !== null).length;
|
|
272
272
|
const originalTexts = input.chunks.map((c) => c.text);
|
|
273
|
-
import("./doc-graph-extractor-
|
|
273
|
+
import("./doc-graph-extractor-IFLEVHUJ.js").then(
|
|
274
274
|
({ extractAndStoreDocumentGraph }) => extractAndStoreDocumentGraph(documentId, originalTexts)
|
|
275
275
|
).catch((err) => {
|
|
276
276
|
process.stderr.write(
|
|
@@ -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-FBYT75E3.js");
|
|
267
267
|
const syncConfig = licenseSyncConfigFromEnv();
|
|
268
268
|
if (syncConfig) {
|
|
269
269
|
startLicenseSyncScheduler(syncConfig);
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
vectorToSqlLiteral
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-LVG5ATTU.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-WOGK3FIE.js";
|
|
10
10
|
|
|
11
11
|
// src/lib/behaviors.ts
|
|
12
12
|
import crypto from "crypto";
|
|
@@ -7,10 +7,10 @@ import {
|
|
|
7
7
|
} from "./chunk-GUMRIUI5.js";
|
|
8
8
|
import {
|
|
9
9
|
WORK_STATE_HEARTBEAT_TOOL
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-PENPH5AG.js";
|
|
11
11
|
import {
|
|
12
12
|
hashMemoryContent
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-2XQZZAFI.js";
|
|
14
14
|
|
|
15
15
|
// src/lib/graph-rag.ts
|
|
16
16
|
import crypto from "crypto";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
fastDbInit
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-TZMXGMSV.js";
|
|
4
4
|
import {
|
|
5
5
|
sessionScopeFilter
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-LOYK2BRY.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-WOGK3FIE.js";
|
|
18
18
|
import {
|
|
19
19
|
isMainModule
|
|
20
20
|
} from "./chunk-6Y4B3QF6.js";
|
|
@@ -9,10 +9,10 @@ import {
|
|
|
9
9
|
import {
|
|
10
10
|
buildClaudeHttpMcpEntry,
|
|
11
11
|
buildClaudeStdioProxyMcpEntry
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-6ON3JHGE.js";
|
|
13
13
|
import {
|
|
14
14
|
ensureAllAgentSymlinks
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-FHOLN7BD.js";
|
|
16
16
|
import {
|
|
17
17
|
MCP_LEGACY_KEY,
|
|
18
18
|
MCP_PRIMARY_KEY
|
|
@@ -4,17 +4,17 @@ import {
|
|
|
4
4
|
resolveExeSession,
|
|
5
5
|
sendIntercom,
|
|
6
6
|
strictSessionScopeFilter
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-LOYK2BRY.js";
|
|
8
8
|
import {
|
|
9
9
|
parseMessage,
|
|
10
10
|
serializeMessage
|
|
11
11
|
} from "./chunk-4JERP7NT.js";
|
|
12
12
|
import {
|
|
13
13
|
recordOrchestrationEventBestEffort
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-MGFG7V3M.js";
|
|
15
15
|
import {
|
|
16
16
|
getClient
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-WOGK3FIE.js";
|
|
18
18
|
|
|
19
19
|
// src/lib/messaging.ts
|
|
20
20
|
import crypto from "crypto";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
deactivateBehavior
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-QIALP626.js";
|
|
4
4
|
import {
|
|
5
5
|
getActiveAgent
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-QABQ7C4C.js";
|
|
7
7
|
import {
|
|
8
8
|
canCoordinate,
|
|
9
9
|
getClient
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-WOGK3FIE.js";
|
|
11
11
|
|
|
12
12
|
// src/mcp/tools/deactivate-behavior.ts
|
|
13
13
|
import { z } from "zod";
|
|
@@ -24,7 +24,7 @@ function registerDeactivateBehavior(server) {
|
|
|
24
24
|
async ({ behavior_id }) => {
|
|
25
25
|
const caller = getActiveAgent();
|
|
26
26
|
try {
|
|
27
|
-
const { StewardGate } = await import("./steward-gate-
|
|
27
|
+
const { StewardGate } = await import("./steward-gate-ODMUO6TD.js");
|
|
28
28
|
const steward = new StewardGate();
|
|
29
29
|
const gateDecision = await steward.checkAuthority(caller.agentId || "unknown", "deactivate_behavior", behavior_id);
|
|
30
30
|
if (!gateDecision.allowed) {
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
import {
|
|
11
11
|
createCRMWebhookHandler,
|
|
12
12
|
parseTwentyWebhook
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-SLROFI6M.js";
|
|
14
14
|
import {
|
|
15
15
|
WhatsAppAdapter
|
|
16
16
|
} from "./chunk-WSOA3WMC.js";
|
|
@@ -42,7 +42,7 @@ import {
|
|
|
42
42
|
retryWithBackoff,
|
|
43
43
|
routeMessage,
|
|
44
44
|
validateGatewayConfig
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-KMWRDB5U.js";
|
|
46
46
|
import {
|
|
47
47
|
OllamaProvider
|
|
48
48
|
} from "./chunk-FWFFZGSC.js";
|
|
@@ -6,13 +6,13 @@ import {
|
|
|
6
6
|
queryTaskRows,
|
|
7
7
|
resolveExeSession,
|
|
8
8
|
sendIntercom
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-LOYK2BRY.js";
|
|
10
10
|
import {
|
|
11
11
|
getTransport
|
|
12
12
|
} from "./chunk-AD2VCHSS.js";
|
|
13
13
|
import {
|
|
14
14
|
recordOrchestrationEventBestEffort
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-MGFG7V3M.js";
|
|
16
16
|
import {
|
|
17
17
|
releaseDispatchClaim,
|
|
18
18
|
tryAcquireDispatchClaim
|
|
@@ -27,7 +27,7 @@ import {
|
|
|
27
27
|
isCoordinatorName,
|
|
28
28
|
isMultiInstance,
|
|
29
29
|
shouldAutoInstance
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-WOGK3FIE.js";
|
|
31
31
|
|
|
32
32
|
// src/lib/tasks-notify.ts
|
|
33
33
|
var VERIFY_DELAY_MS = 1e4;
|
|
@@ -89,7 +89,7 @@ async function dispatchTaskToEmployee(input) {
|
|
|
89
89
|
let crossProject = false;
|
|
90
90
|
if (input.projectName) {
|
|
91
91
|
try {
|
|
92
|
-
const { assertSessionScope } = await import("./session-scope-
|
|
92
|
+
const { assertSessionScope } = await import("./session-scope-J4JJHTOC.js");
|
|
93
93
|
const check = assertSessionScope("dispatch_task", input.projectName);
|
|
94
94
|
if (check.reason === "cross_session_denied") {
|
|
95
95
|
crossProject = true;
|
|
@@ -6,14 +6,14 @@ import {
|
|
|
6
6
|
} from "./chunk-UEXJYSJX.js";
|
|
7
7
|
import {
|
|
8
8
|
isCrdtSyncEnabled
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-2BJYY4SK.js";
|
|
10
10
|
import {
|
|
11
11
|
retryOnDaemonTransportError
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-VU2MZ7BP.js";
|
|
13
13
|
import {
|
|
14
14
|
GHOST_BEHAVIOR_SQL,
|
|
15
15
|
isGhostBehaviorRow
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-QIALP626.js";
|
|
17
17
|
import {
|
|
18
18
|
decryptSyncBlob,
|
|
19
19
|
encryptSyncBlob,
|
|
@@ -26,10 +26,10 @@ import {
|
|
|
26
26
|
loadEmployees,
|
|
27
27
|
registerBinSymlinks,
|
|
28
28
|
saveEmployees
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-WOGK3FIE.js";
|
|
30
30
|
import {
|
|
31
31
|
loadDeviceId
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-JO6RMHMW.js";
|
|
33
33
|
import {
|
|
34
34
|
EXE_AI_DIR
|
|
35
35
|
} from "./chunk-BCZF3AGJ.js";
|
|
@@ -947,7 +947,7 @@ async function cloudSync(config, options) {
|
|
|
947
947
|
pullResult = await cloudPull(lastPullVersion, config);
|
|
948
948
|
if (pullResult.records.length > 0) {
|
|
949
949
|
if (shouldUseCrdtMergeForCloudSync()) {
|
|
950
|
-
const { initCrdtDoc, importExistingMemories, readAllMemories } = await import("./crdt-sync-
|
|
950
|
+
const { initCrdtDoc, importExistingMemories, readAllMemories } = await import("./crdt-sync-ZL3GKAQW.js");
|
|
951
951
|
initCrdtDoc();
|
|
952
952
|
importExistingMemories(
|
|
953
953
|
pullResult.records.map((rec) => ({
|
|
@@ -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-3F3MSGSX.js");
|
|
123
123
|
const client = getClient();
|
|
124
124
|
const scope = sessionScopeFilter();
|
|
125
125
|
const result = await client.execute({
|
|
@@ -59,6 +59,21 @@ async function retryOnDaemonTransportError(fn, opts = {}) {
|
|
|
59
59
|
}
|
|
60
60
|
throw lastErr;
|
|
61
61
|
}
|
|
62
|
+
function isDaemonRequestTimeout(err) {
|
|
63
|
+
const msg = err instanceof Error ? err.message : String(err ?? "");
|
|
64
|
+
return msg.includes("Request timeout");
|
|
65
|
+
}
|
|
66
|
+
function daemonMcpOpError(errMsg) {
|
|
67
|
+
if (errMsg && isDaemonRequestTimeout(errMsg)) {
|
|
68
|
+
return new Error(
|
|
69
|
+
"Daemon operation timed out (Request timeout) \u2014 the daemon is reachable but the operation exceeded the transport timeout. This is NOT a daemon outage (small writes in the same session still succeed); it usually means a long consolidation/dreaming read on a large or busy DB. Retry, or allow more time for the long step to complete."
|
|
70
|
+
);
|
|
71
|
+
}
|
|
72
|
+
const suffix = errMsg ? ` Last transport error: ${errMsg}.` : "";
|
|
73
|
+
return new Error(
|
|
74
|
+
"Daemon unavailable for MCP DB operation. Refusing direct SQLite fallback from MCP process to preserve the single-writer gate and prevent FTS5 corruption." + suffix
|
|
75
|
+
);
|
|
76
|
+
}
|
|
62
77
|
function createDaemonDbClient(fallbackClient) {
|
|
63
78
|
let _useDaemon = false;
|
|
64
79
|
const isMcpProcess = () => process.env.EXE_MCP_MODE === "1";
|
|
@@ -76,12 +91,7 @@ function createDaemonDbClient(fallbackClient) {
|
|
|
76
91
|
}
|
|
77
92
|
return false;
|
|
78
93
|
}
|
|
79
|
-
|
|
80
|
-
const suffix = errMsg ? ` Last transport error: ${errMsg}.` : "";
|
|
81
|
-
return new Error(
|
|
82
|
-
"Daemon unavailable for MCP DB operation. Refusing direct SQLite fallback from MCP process to preserve the single-writer gate and prevent FTS5 corruption." + suffix
|
|
83
|
-
);
|
|
84
|
-
}
|
|
94
|
+
const unavailableForMcp = (errMsg) => daemonMcpOpError(errMsg);
|
|
85
95
|
const client = {
|
|
86
96
|
// Daemon-routed clients cannot span a transaction across requests —
|
|
87
97
|
// BEGIN/COMMIT via execute() is rejected by the daemon SQL guard.
|
|
@@ -236,6 +246,8 @@ async function initDaemonDbClient(fallbackClient) {
|
|
|
236
246
|
export {
|
|
237
247
|
isTransientDaemonTransportError,
|
|
238
248
|
retryOnDaemonTransportError,
|
|
249
|
+
isDaemonRequestTimeout,
|
|
250
|
+
daemonMcpOpError,
|
|
239
251
|
createDaemonDbClient,
|
|
240
252
|
initDaemonDbClient
|
|
241
253
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
sendIntercom,
|
|
3
3
|
updateTaskStatus
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-LOYK2BRY.js";
|
|
5
5
|
import {
|
|
6
6
|
recordOrchestrationEventBestEffort
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-MGFG7V3M.js";
|
|
8
8
|
import {
|
|
9
9
|
BUSY_PATTERN
|
|
10
10
|
} from "./chunk-OSKWCKUC.js";
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
baseAgentName,
|
|
13
13
|
getCoordinatorName,
|
|
14
14
|
isCoordinatorName
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-WOGK3FIE.js";
|
|
16
16
|
|
|
17
17
|
// src/lib/play-mode.ts
|
|
18
18
|
import { readFileSync, writeFileSync, mkdirSync, existsSync } from "fs";
|
|
@@ -305,7 +305,7 @@ async function surfaceStaleDispatchPendingSignals(scopeList, now, thresholdMs =
|
|
|
305
305
|
const sessionScope = signalScope ?? (scopeList.length === 1 ? scopeList[0] : null);
|
|
306
306
|
if (allowedScopes.size > 0 && sessionScope && !allowedScopes.has(sessionScope)) continue;
|
|
307
307
|
try {
|
|
308
|
-
const { writeNotification } = await import("./notifications-
|
|
308
|
+
const { writeNotification } = await import("./notifications-YX43A36Z.js");
|
|
309
309
|
await writeNotification({
|
|
310
310
|
agentId: getCoordinatorName(),
|
|
311
311
|
agentRole: "COO",
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-2I23RPSI.js";
|
|
4
4
|
import {
|
|
5
5
|
listBackups
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-GXMY5ERQ.js";
|
|
7
7
|
import {
|
|
8
8
|
getEmotionalBaseline,
|
|
9
9
|
renderEmotionalBaselineSection
|
|
@@ -1329,7 +1329,7 @@ async function migrateReflectionDedup(client) {
|
|
|
1329
1329
|
"ALTER TABLE memory_reflections ADD COLUMN dedup_key TEXT",
|
|
1330
1330
|
"migration add memory_reflections.dedup_key"
|
|
1331
1331
|
);
|
|
1332
|
-
const { reflectionDedupKey } = await import("./memory-reflection-
|
|
1332
|
+
const { reflectionDedupKey } = await import("./memory-reflection-5NAOS2OJ.js");
|
|
1333
1333
|
const keyForRow = (row) => {
|
|
1334
1334
|
let sources = [];
|
|
1335
1335
|
try {
|
|
@@ -2109,7 +2109,7 @@ async function sweepExpiredSoftDeletedMemories(client, options = {}) {
|
|
|
2109
2109
|
const purgeArchived = archDays !== void 0;
|
|
2110
2110
|
const BATCH_SIZE = 2e3;
|
|
2111
2111
|
const MAX_BATCHES = 500;
|
|
2112
|
-
const { cleanupCardsForMemories, cleanupGraphLinksForMemories } = await import("./graph-rag-
|
|
2112
|
+
const { cleanupCardsForMemories, cleanupGraphLinksForMemories } = await import("./graph-rag-P3PSYW7P.js");
|
|
2113
2113
|
const softCutoff = `-${softDays} days`;
|
|
2114
2114
|
const selectArgsBase = [softCutoff];
|
|
2115
2115
|
let predicate = `status = 'deleted' AND COALESCE(deleted_at, timestamp) < datetime('now', ?)`;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
buildSystemStateMemoryTypeExclusion
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-LVG5ATTU.js";
|
|
4
4
|
import {
|
|
5
5
|
sessionScopeFilter
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-LOYK2BRY.js";
|
|
7
7
|
import {
|
|
8
8
|
getClient,
|
|
9
9
|
getIdentity
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-WOGK3FIE.js";
|
|
11
11
|
import {
|
|
12
12
|
getEmotionalBaseline
|
|
13
13
|
} from "./chunk-OMXJMOBD.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-WQJJB2PS.js");
|
|
650
650
|
const overdue = await getOverdueProspective(agentId);
|
|
651
651
|
overdueProspective = overdue.map((o) => ({
|
|
652
652
|
id: o.id,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
routeTask
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-L4SGSV4M.js";
|
|
4
4
|
import {
|
|
5
5
|
createTaskCore,
|
|
6
6
|
employeeSessionName,
|
|
@@ -9,11 +9,11 @@ import {
|
|
|
9
9
|
isEmployeeAlive,
|
|
10
10
|
sessionScopeFilter,
|
|
11
11
|
updateTaskStatus
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-LOYK2BRY.js";
|
|
13
13
|
import {
|
|
14
14
|
DEFAULT_COORDINATOR_TEMPLATE_NAME,
|
|
15
15
|
getCoordinatorName
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-WOGK3FIE.js";
|
|
17
17
|
|
|
18
18
|
// src/runtime/orchestrator.ts
|
|
19
19
|
var STALE_THRESHOLD_MS = 2 * 60 * 60 * 1e3;
|