@askexenow/exe-os 0.9.347 → 0.9.348
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/cloudflared/config.yml.example +9 -6
- package/deploy/compose/docker-compose.yml +16 -9
- package/deploy/compose/sso-edge/default.conf.template +26 -0
- package/deploy/stack-manifests/v0.9.json +1 -1
- package/dist/{active-agent-CMY7WTJL.js → active-agent-PX6KAEEQ.js} +4 -3
- package/dist/{active-agent-US4KO4LV.js → active-agent-QVLZKWR2.js} +4 -3
- package/dist/{agentic-ontology-3Y37SQYR.js → agentic-ontology-6MEXY5L7.js} +1 -1
- package/dist/{backfill-metadata-GK66TYQE.js → backfill-metadata-MCFBGWKX.js} +6 -5
- package/dist/{backup-verify-72XBKKHL.js → backup-verify-RGB3KKD4.js} +2 -1
- package/dist/{behaviors-G7TR6LBM.js → behaviors-6GI6VND2.js} +7 -6
- package/dist/bin/agentic-ontology-backfill.js +7 -6
- package/dist/bin/agentic-reflection-backfill.js +8 -7
- package/dist/bin/agentic-semantic-label.js +7 -6
- package/dist/bin/backfill-conversations.js +6 -5
- package/dist/bin/backfill-responses.js +6 -5
- package/dist/bin/backfill-vectors.js +7 -6
- package/dist/bin/bulk-sync-postgres.js +11 -10
- package/dist/bin/cc-doctor.js +5 -4
- package/dist/bin/cleanup-stale-review-tasks.js +14 -13
- package/dist/bin/cli.js +16 -16
- package/dist/bin/deferred-daemon-restart.js +105 -91
- package/dist/bin/exe-agent-config.js +4 -3
- package/dist/bin/exe-agent.js +6 -5
- package/dist/bin/exe-assign.js +7 -6
- package/dist/bin/exe-boot.js +29 -28
- package/dist/bin/exe-call.js +6 -5
- package/dist/bin/exe-cloud.js +26 -15
- package/dist/bin/exe-config-dump.js +4 -3
- package/dist/bin/exe-dispatch.js +14 -13
- package/dist/bin/exe-doctor.js +5 -4
- package/dist/bin/exe-export-behaviors.js +9 -8
- package/dist/bin/exe-forget.js +8 -7
- package/dist/bin/exe-gateway.js +8 -7
- package/dist/bin/exe-healthcheck.js +5 -4
- package/dist/bin/exe-heartbeat.js +16 -15
- package/dist/bin/exe-kill.js +18 -17
- package/dist/bin/exe-launch-agent.js +24 -23
- package/dist/bin/exe-memory-reads.js +6 -5
- package/dist/bin/exe-new-employee.js +10 -9
- package/dist/bin/exe-os-mcp-proxy.js +4 -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 +6 -5
- package/dist/bin/exe-review.js +17 -16
- package/dist/bin/exe-search.js +7 -6
- package/dist/bin/exe-session-cleanup.js +18 -17
- package/dist/bin/exe-settings.js +12 -11
- package/dist/bin/exe-start-codex.js +97 -15
- package/dist/bin/exe-start-opencode.js +10 -9
- package/dist/bin/exe-status.js +15 -14
- package/dist/bin/exe-support.js +3 -3
- package/dist/bin/exe-team.js +4 -3
- package/dist/bin/git-sweep.js +15 -14
- package/dist/bin/graph-backfill.js +7 -6
- package/dist/bin/graph-export.js +7 -6
- package/dist/bin/import-history.js +10 -9
- package/dist/bin/install.js +71 -70
- package/dist/bin/intercom-check.js +4 -4
- package/dist/bin/mcp-sessions.js +2 -2
- package/dist/bin/orchestration-metrics.js +5 -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 +14 -13
- package/dist/bin/setup.js +1 -1
- package/dist/bin/shard-migrate.js +6 -5
- package/dist/bin/stack-update.js +7 -6
- package/dist/bin/vps-health-gate.js +1 -1
- package/dist/{boot-generation-KG43UYL4.js → boot-generation-FB2J53IG.js} +4 -3
- package/dist/{boot-review-sections-56BRURLM.js → boot-review-sections-QF5MZGJI.js} +13 -12
- package/dist/{capability-cards-4MN3IVJO.js → capability-cards-YADEM2KN.js} +3 -2
- package/dist/{capacity-monitor-4NJTN5QQ.js → capacity-monitor-CG2IGONS.js} +15 -14
- package/dist/{catchup-brief-AMBXLHXU.js → catchup-brief-QFVNMTU5.js} +18 -17
- package/dist/{chunk-PYNWGP72.js → chunk-23O6LHII.js} +1 -1
- package/dist/{chunk-VDJUATQJ.js → chunk-27REQ7KR.js} +1 -1
- package/dist/{chunk-G4HOMQY7.js → chunk-2AD2GAPC.js} +1 -1
- package/dist/{chunk-QZA5NG6Z.js → chunk-2WJYLXPF.js} +1 -1
- package/dist/{chunk-G6IANQKD.js → chunk-43RTUMUT.js} +1 -1
- package/dist/{chunk-WOKPKILI.js → chunk-5C46Y4AK.js} +1 -1
- package/dist/{chunk-IMHERTUL.js → chunk-5KCC26FB.js} +2 -2
- package/dist/{chunk-XRX7F7XW.js → chunk-5RPCWLXE.js} +1 -1
- package/dist/{chunk-DZJL775P.js → chunk-6GSYN262.js} +1 -1
- package/dist/{chunk-UMK7TNCF.js → chunk-6JQTSKDR.js} +157 -65
- package/dist/{chunk-2BOEUPL6.js → chunk-6QRS3IZF.js} +1 -1
- package/dist/{chunk-M722B4DA.js → chunk-6WFXNQDJ.js} +1 -1
- package/dist/{chunk-LUQ57SRM.js → chunk-7QRMFYOV.js} +23 -9
- package/dist/{chunk-I3XN3G3H.js → chunk-7WQ3WHPW.js} +113 -113
- package/dist/{chunk-3EMAJBBN.js → chunk-A3YHWWE6.js} +1 -1
- package/dist/{chunk-JLYQD2XF.js → chunk-A42356G7.js} +1 -1
- package/dist/{chunk-EYWB6526.js → chunk-A43SIGAO.js} +3 -3
- package/dist/{chunk-Z7DWUHDP.js → chunk-AFY4V4N3.js} +1 -1
- package/dist/{chunk-MT6YGWJ6.js → chunk-AMC2OPYP.js} +1 -1
- package/dist/{chunk-SUG5P42S.js → chunk-AQ24P2O7.js} +4 -4
- package/dist/{chunk-T7ZLJZAO.js → chunk-AUILJKSM.js} +2 -2
- package/dist/{chunk-PRUZNNEF.js → chunk-AXNUMBLO.js} +3 -3
- package/dist/{chunk-PEVOVM3W.js → chunk-BOQUXG7N.js} +3 -3
- package/dist/{chunk-ILLBFFY6.js → chunk-BUUGFQHL.js} +2 -2
- package/dist/{chunk-VMTKHDFM.js → chunk-CCOKYSJA.js} +3 -3
- package/dist/{chunk-YSTIPPZK.js → chunk-DAODOSH4.js} +1 -1
- package/dist/{chunk-LJGHAZYU.js → chunk-DJYJDK53.js} +7 -7
- package/dist/{chunk-K3ZHVW26.js → chunk-DXMTJJP3.js} +4 -4
- package/dist/{chunk-IRMJHC23.js → chunk-E3BNUQHW.js} +2 -2
- package/dist/{chunk-CNIAEIWV.js → chunk-EFHGK6JP.js} +1 -1
- package/dist/{chunk-FM4ZI5ZP.js → chunk-FE6WBI2M.js} +5 -1
- package/dist/{chunk-DBDMZTU5.js → chunk-FENYNW52.js} +1 -1
- package/dist/{chunk-FJPZ7KHN.js → chunk-FFCPSPNK.js} +1 -1
- package/dist/{chunk-FAH7JUNS.js → chunk-FPK753IZ.js} +10 -10
- package/dist/{chunk-F6NABQJ4.js → chunk-GA655CUD.js} +2 -2
- package/dist/{chunk-BRVDGE7N.js → chunk-GJ6KIHOM.js} +4 -4
- package/dist/{chunk-2ESYTX6F.js → chunk-GKNWKQFY.js} +1 -1
- package/dist/{chunk-3HGAAWNZ.js → chunk-GLOWJP5H.js} +2 -2
- package/dist/{chunk-DNN27P35.js → chunk-H3TA23PH.js} +4 -4
- package/dist/{chunk-TQSAPNFW.js → chunk-H5QNVWU4.js} +18 -10
- package/dist/{chunk-PO64LWTM.js → chunk-HL24OHHS.js} +9 -9
- package/dist/{chunk-FDOURKUO.js → chunk-HYZE3MNS.js} +1 -1
- package/dist/{chunk-3T4BRBSH.js → chunk-JORPYG4O.js} +1 -1
- package/dist/{chunk-2LZMDOC6.js → chunk-JW5XS35A.js} +5 -5
- package/dist/{chunk-3LQMUO5D.js → chunk-KIMAQNSM.js} +3 -3
- package/dist/{chunk-AHR3F7HW.js → chunk-KZUU6MNF.js} +1 -1
- package/dist/{chunk-VALVWYAK.js → chunk-L36RX54F.js} +5 -5
- package/dist/{chunk-UO56K55W.js → chunk-M7PBRIRH.js} +1 -1
- package/dist/{chunk-4VLRGKNY.js → chunk-MGMXYI7Y.js} +2 -2
- package/dist/{chunk-MESFJRIT.js → chunk-MH5HWMVH.js} +1 -1
- package/dist/{chunk-ZK53K7OR.js → chunk-MMOONM6D.js} +1 -1
- package/dist/{chunk-CQN4IKRB.js → chunk-MMXIE6HV.js} +1 -1
- package/dist/{chunk-VA3ZUIWG.js → chunk-MOZY4IQO.js} +1 -1
- package/dist/{chunk-VTMSGELG.js → chunk-MVZLF27P.js} +2 -2
- package/dist/{chunk-H44V3Y6D.js → chunk-NY6DU5RB.js} +1 -1
- package/dist/{chunk-F4ZW76IX.js → chunk-O522M4YZ.js} +1 -1
- package/dist/{chunk-7667KFAG.js → chunk-OBWIVRD6.js} +1 -1
- package/dist/{chunk-VDKDW5IA.js → chunk-PAXAF2UY.js} +29 -9
- package/dist/{chunk-QFGUAJ6T.js → chunk-PBLDPW4U.js} +2 -2
- package/dist/{chunk-D74XYSA3.js → chunk-QCQT5RXR.js} +5 -1
- package/dist/{chunk-ZY2ABBVR.js → chunk-QNKR7WEL.js} +20 -6
- package/dist/{chunk-XOVHWGPV.js → chunk-RBRGSOK5.js} +1 -1
- package/dist/{chunk-Y7637VDZ.js → chunk-RFRUDXOI.js} +2 -2
- package/dist/{chunk-7AD4GSRT.js → chunk-SLH2743O.js} +3 -3
- package/dist/{chunk-OE6D2IJI.js → chunk-SMQ642D3.js} +4 -4
- package/dist/{chunk-4K2PLZKF.js → chunk-SQ4WACH4.js} +1 -1
- package/dist/{chunk-HWK5GKE6.js → chunk-TF5E6O5Q.js} +1 -1
- package/dist/{chunk-KWRO4RMT.js → chunk-TLWYOMSS.js} +3 -3
- package/dist/{chunk-XDVLCS64.js → chunk-UAKGNQWE.js} +1 -1
- package/dist/{chunk-JYFBQH5O.js → chunk-UTQWVRU6.js} +5 -5
- package/dist/{chunk-FBSAXAXQ.js → chunk-WL3IQJKN.js} +3 -3
- package/dist/{chunk-BMTUSSHV.js → chunk-WUMWXU6B.js} +1 -1
- package/dist/{chunk-W7HKGDJO.js → chunk-WWT3E7DO.js} +3 -3
- package/dist/{chunk-YJK4JZ35.js → chunk-WZJ3VYRJ.js} +3 -3
- package/dist/{chunk-QIALRZZG.js → chunk-X6VEQ7MC.js} +1 -1
- package/dist/{chunk-W666YWFU.js → chunk-Y3JXLIZV.js} +3 -3
- package/dist/{chunk-M3NSYVE3.js → chunk-YAIFZXOM.js} +5 -5
- package/dist/{chunk-ZYNQXN73.js → chunk-YM6GJM2F.js} +4 -4
- package/dist/chunk-YMUZWC33.js +8 -0
- package/dist/{chunk-7DAJHBFH.js → chunk-YTPCJLEL.js} +1 -1
- package/dist/{chunk-53VXPGZ2.js → chunk-Z52QQB4Z.js} +2 -2
- package/dist/{chunk-EWWCMMES.js → chunk-ZXSFUR77.js} +16 -16
- package/dist/{cleanup-graph-garbage-5HKGGUS3.js → cleanup-graph-garbage-XTSBQXD6.js} +8 -7
- package/dist/{cloud-sync-shutdown-2JAEIAW6.js → cloud-sync-shutdown-A2QB74YM.js} +3 -2
- package/dist/{co-activation-SYSIFY66.js → co-activation-S2FVGMQP.js} +3 -2
- package/dist/{co-occurrence-QZFT5ORJ.js → co-occurrence-VQB6U5ME.js} +6 -5
- package/dist/{conversation-entity-extractor-YC3A2ODD.js → conversation-entity-extractor-YF3ZLTEJ.js} +3 -3
- package/dist/{crdt-sync-W45AKWCU.js → crdt-sync-2SGCDWC3.js} +1 -1
- package/dist/{crm-webhook-ZAGDYWB3.js → crm-webhook-P64SXEHD.js} +2 -2
- package/dist/{cto-delegation-gate-PLSICYEK.js → cto-delegation-gate-6KLGT2LB.js} +13 -12
- package/dist/{daemon-orchestration-QX3FS4L2.js → daemon-orchestration-JQGKEWPD.js} +18 -17
- package/dist/{doc-graph-extractor-NK6CP4LE.js → doc-graph-extractor-DCJMATVZ.js} +6 -5
- package/dist/{documents-FGXV6BDL.js → documents-7EPH3VPE.js} +7 -6
- package/dist/{dreaming-YIESEME7.js → dreaming-O4P2W5E5.js} +17 -16
- package/dist/{exe-drift-TLY7MCXW.js → exe-drift-ED7FBS2C.js} +4 -3
- package/dist/{exe-export-32J4WPS6.js → exe-export-YJI4USGZ.js} +9 -8
- package/dist/{exe-import-MDEWE325.js → exe-import-SUTAYKUW.js} +9 -8
- package/dist/{exe-key-NW42YUA3.js → exe-key-CRSDAOZD.js} +69 -68
- package/dist/{exe-snapshot-NNEEAGYI.js → exe-snapshot-KB4YYDCA.js} +18 -17
- package/dist/{fast-db-init-O7AECNTB.js → fast-db-init-3K2PV6GJ.js} +1 -1
- package/dist/{founder-context-3WDZ6LIS.js → founder-context-JHHFM4GF.js} +2 -2
- package/dist/gateway/index.js +9 -8
- package/dist/{git-main-guard-UZP3KXYI.js → git-main-guard-TGK3RQY3.js} +1 -1
- package/dist/{git-staleness-GEJ7U4MW.js → git-staleness-YPHGWE3B.js} +3 -2
- package/dist/{global-procedures-HY3BJXY4.js → global-procedures-PEWDBSPJ.js} +5 -4
- package/dist/{graph-auto-extract-DBAIFNDK.js → graph-auto-extract-7OJYYV4G.js} +6 -5
- package/dist/{graph-rag-LWKKHY72.js → graph-rag-YFITUAVO.js} +3 -3
- package/dist/{hook-prefetch-KNHZNI4L.js → hook-prefetch-O6ZCZCTX.js} +14 -13
- package/dist/hooks/bug-report-worker.js +16 -15
- package/dist/hooks/codex-stop-task-finalizer.js +17 -16
- package/dist/hooks/commit-complete.js +16 -15
- package/dist/hooks/error-recall.js +8 -7
- package/dist/hooks/exe-heartbeat-hook.js +4 -3
- package/dist/hooks/ingest.js +7 -6
- package/dist/hooks/instructions-loaded.js +5 -4
- package/dist/hooks/manifest.json +19 -19
- package/dist/hooks/notification.js +5 -4
- package/dist/hooks/post-compact.js +15 -14
- package/dist/hooks/post-tool-combined.js +9 -9
- package/dist/hooks/pre-compact.js +16 -15
- package/dist/hooks/pre-tool-use.js +36 -38
- package/dist/hooks/prompt-submit.js +28 -27
- package/dist/hooks/session-end.js +20 -19
- package/dist/hooks/session-start.js +13 -13
- package/dist/hooks/stop.js +19 -18
- package/dist/hooks/subagent-stop.js +17 -16
- package/dist/hooks/summary-worker.js +20 -19
- package/dist/index.js +23 -22
- package/dist/{installer-R2S64Q6T.js → installer-3ONNP5JV.js} +6 -5
- package/dist/{installer-AWALPCAX.js → installer-CY5PN7TN.js} +6 -5
- package/dist/{installer-SQF5I6YS.js → installer-N4QXGINR.js} +6 -5
- package/dist/{intercom-queue-SJL4G3J5.js → intercom-queue-A52WQOCD.js} +13 -12
- package/dist/lib/agent-config.js +1 -1
- package/dist/lib/cloud-sync.js +11 -10
- package/dist/lib/consolidation.js +8 -7
- package/dist/lib/database.js +5 -2
- package/dist/lib/db-backup.js +2 -1
- package/dist/lib/db-checkpoint-worker.js +9 -0
- package/dist/lib/db-read-worker-client.js +21 -8
- package/dist/lib/db-read-worker.js +15 -0
- package/dist/lib/db-write-worker-client.js +4 -1
- package/dist/lib/db-write-worker.js +21 -6
- package/dist/lib/db.js +5 -2
- package/dist/lib/device-registry.js +1 -1
- package/dist/lib/employee-templates.js +6 -5
- package/dist/lib/employees.js +3 -2
- package/dist/lib/exe-daemon.js +211 -71
- package/dist/lib/hybrid-search.js +7 -6
- package/dist/lib/identity.js +3 -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 +4 -3
- package/dist/lib/schedules.js +7 -6
- package/dist/lib/session-registry.js +5 -4
- package/dist/lib/skill-learning.js +8 -7
- package/dist/lib/store.js +6 -5
- package/dist/lib/task-router.js +4 -3
- package/dist/lib/tasks.js +15 -14
- package/dist/lib/tmux-routing.js +13 -12
- package/dist/lib/token-spend.js +4 -3
- package/dist/{license-gate-ZYZQGPKW.js → license-gate-ZRORTAQ2.js} +3 -3
- package/dist/{license-sync-GU3L66JR.js → license-sync-CQHBDUQE.js} +2 -2
- package/dist/mcp/register-tools.js +68 -67
- package/dist/mcp/server.js +69 -68
- package/dist/mcp/tools/complete-reminder.js +5 -4
- package/dist/mcp/tools/create-reminder.js +5 -4
- package/dist/mcp/tools/create-task.js +17 -16
- package/dist/mcp/tools/deactivate-behavior.js +9 -8
- package/dist/mcp/tools/list-reminders.js +5 -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-BV2GO7P4.js → mcp-http-config-2A6HKQP5.js} +4 -3
- package/dist/{mcp-session-identity-3QQPOGNI.js → mcp-session-identity-OPRX32H5.js} +13 -12
- package/dist/{memory-cards-NISTO4EP.js → memory-cards-GFO2CSPV.js} +6 -5
- package/dist/{memory-graph-extractor-CO3R5K7L.js → memory-graph-extractor-2Z72HN5P.js} +7 -6
- package/dist/{memory-poisoning-defense-QZCG3BMC.js → memory-poisoning-defense-WZJ52KXT.js} +3 -2
- package/dist/{memory-pressure-watchdog-VWQM3GXR.js → memory-pressure-watchdog-IG7VRFIX.js} +14 -13
- package/dist/{memory-reflection-G32OQ3X3.js → memory-reflection-LTRHDGUL.js} +3 -2
- package/dist/{notification-ledger-C3J4HFMM.js → notification-ledger-KSCPGLQG.js} +14 -13
- package/dist/{notifications-JIARMDZ5.js → notifications-YKHZPCXU.js} +13 -12
- package/dist/{orchestration-events-AL7AWHBX.js → orchestration-events-HAFDPTLV.js} +4 -3
- package/dist/{orchestrator-LWVALDUO.js → orchestrator-4MZEQULR.js} +15 -14
- package/dist/{pipeline-router-HK5BI3LQ.js → pipeline-router-RSRJPZNI.js} +4 -3
- package/dist/{plan-limits-4LMRHOUW.js → plan-limits-5QYYPIPT.js} +6 -5
- package/dist/{platform-procedures-G44IYUM2.js → platform-procedures-DZ6YABEK.js} +1 -1
- package/dist/{projection-worker-Z5U6UWCE.js → projection-worker-SKAMSZJF.js} +2 -2
- package/dist/{prospective-memory-UDQWFP5Y.js → prospective-memory-V7LFCPU4.js} +3 -2
- package/dist/{reranker-FX4QOK2G.js → reranker-HXMJ7SKW.js} +1 -1
- package/dist/{retrieval-health-2LIKKDMW.js → retrieval-health-4NCBHUUS.js} +1 -1
- package/dist/{review-polling-B2EP4KGE.js → review-polling-KQUALBEU.js} +14 -13
- package/dist/runtime/index.js +17 -16
- package/dist/{session-events-HVYX42HD.js → session-events-3KL735DZ.js} +14 -13
- package/dist/{session-kill-telemetry-BHKUHSK2.js → session-kill-telemetry-KVRGLYVI.js} +14 -13
- package/dist/{session-scope-TXCBVOSN.js → session-scope-LBG6DT5O.js} +13 -12
- package/dist/{setup-wizard-QMKBAK6B.js → setup-wizard-UL3AKI6E.js} +1 -1
- package/dist/{skill-refinement-G6BPD6QK.js → skill-refinement-6HPISXQC.js} +4 -3
- package/dist/{stack-update-CBP5S5BG.js → stack-update-WBDTJJEF.js} +7 -3
- package/dist/{steward-gate-CGP6U7KC.js → steward-gate-CWPD4HEK.js} +4 -3
- package/dist/{support-inbox-3ATAP7KN.js → support-inbox-HRIHHKPU.js} +3 -3
- package/dist/{task-enforcement-YINAK3T6.js → task-enforcement-OAOL7XFL.js} +14 -13
- package/dist/{task-scope-5OSP2MUP.js → task-scope-PSVAE3EM.js} +13 -12
- package/dist/{tasks-crud-PTN36B5F.js → tasks-crud-TLELWWUL.js} +13 -12
- package/dist/{tasks-notify-QCJXVZCJ.js → tasks-notify-7Q2XTDZ7.js} +14 -13
- package/dist/{tasks-review-ZY3S65OV.js → tasks-review-S6QB5KGS.js} +13 -12
- package/dist/{telemetry-upload-Z47OEELW.js → telemetry-upload-LTL5SW24.js} +8 -7
- package/dist/{token-budget-B3OKOYDA.js → token-budget-SK32GKFZ.js} +4 -3
- package/dist/{tool-telemetry-KIHAHUPT.js → tool-telemetry-QJGJAHOC.js} +1 -1
- package/dist/tui/App.js +22 -21
- package/dist/{tui-data-YIFXHE2D.js → tui-data-3JSV56ME.js} +13 -12
- package/dist/{update-support-IZUWVU2U.js → update-support-LMPGWJVG.js} +10 -9
- package/dist/{work-state-heartbeat-WIURKX3N.js → work-state-heartbeat-MQQOCU54.js} +1 -1
- package/dist/{worker-gate-NZRA426F.js → worker-gate-P2O64XMH.js} +1 -1
- package/dist/{workflow-engine-LAB6TGBZ.js → workflow-engine-BLLQKA3O.js} +2 -2
- package/dist/{worktree-TBUUZJHY.js → worktree-FJZXHDCJ.js} +5 -4
- package/dist/{worktree-sweep-LXDNIZPM.js → worktree-sweep-SW4AG6JR.js} +6 -5
- package/package.json +1 -1
- package/release-notes.json +26 -37
- /package/dist/{chunk-QPNXYGWG.js → chunk-AQ6ECPUP.js} +0 -0
- /package/dist/{chunk-UVPLZ6AK.js → chunk-BTP7BORU.js} +0 -0
- /package/dist/{chunk-4P7NUL4D.js → chunk-DRHXISWL.js} +0 -0
- /package/dist/{chunk-G4JZ22KK.js → chunk-E42D2E5F.js} +0 -0
- /package/dist/{chunk-MA22RV3T.js → chunk-FXZRJT3H.js} +0 -0
- /package/dist/{chunk-D4UCBR4O.js → chunk-GFIWADEH.js} +0 -0
- /package/dist/{chunk-VBHLE3TR.js → chunk-GPZQZTJB.js} +0 -0
- /package/dist/{chunk-FFUEDKYK.js → chunk-H4JKOLXU.js} +0 -0
- /package/dist/{chunk-OG2RT4IY.js → chunk-HTJKAAHD.js} +0 -0
- /package/dist/{chunk-MDK7E653.js → chunk-PIUDQ7P2.js} +0 -0
- /package/dist/{chunk-CYI2YR56.js → chunk-QUOMJKVF.js} +0 -0
- /package/dist/{chunk-SJLZ53ZR.js → chunk-XF2D4CDA.js} +0 -0
- /package/dist/{core-memory-FOW4BCPN.js → core-memory-Z7LPR3RX.js} +0 -0
- /package/dist/{oauth-server-OR4RAQYM.js → oauth-server-FSKABATB.js} +0 -0
- /package/dist/{project-boot-WP54EOAG.js → project-boot-FVSC4VQC.js} +0 -0
- /package/dist/{wiki-acl-4DQQCP4V.js → wiki-acl-CW2UALTJ.js} +0 -0
|
@@ -22,7 +22,7 @@ var AGENT_CONFIG_PATH = path.join(EXE_AI_DIR, "agent-config.json");
|
|
|
22
22
|
var CODEX_DEFAULT_MODEL = RUNTIME_TABLE.codex?.defaultModel ?? "gpt-5.5";
|
|
23
23
|
var CODEX_BASE_MODELS = ["gpt-5.4", "gpt-5.5", "gpt-5.3-codex-spark", "o3", "o4-mini"];
|
|
24
24
|
var KNOWN_RUNTIMES = {
|
|
25
|
-
claude: ["claude-opus-4.8", "claude-opus-4.
|
|
25
|
+
claude: ["claude-opus-4.8", "claude-opus-4.6", "claude-sonnet-4.8", "claude-sonnet-4.6", "claude-haiku-4.5", "claude-fable-5"],
|
|
26
26
|
// Bug fbf99272: this list MUST contain RUNTIME_TABLE.codex.defaultModel — the
|
|
27
27
|
// adapter's own default — or a default codex spawn boots an unlisted model that
|
|
28
28
|
// 400s and idles (asserted by an agent-config-models test so they cannot drift).
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
extractMemoryGraph
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-KIMAQNSM.js";
|
|
4
4
|
import {
|
|
5
5
|
flushBatch,
|
|
6
6
|
writeMemory
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-H5QNVWU4.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-TF5E6O5Q.js";
|
|
14
14
|
|
|
15
15
|
// src/mcp/tools/import-conversations.ts
|
|
16
16
|
import { z } from "zod";
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
updateTask
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-DJYJDK53.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-ZXSFUR77.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-QNKR7WEL.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-PX6KAEEQ.js");
|
|
76
76
|
const active = getAgent();
|
|
77
77
|
callerAgentId = active.agentId;
|
|
78
78
|
callerSession = resolveCallerSessionForUpdate();
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PLATFORM_PROCEDURES,
|
|
3
3
|
PLATFORM_PROCEDURE_TITLES
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-MMXIE6HV.js";
|
|
5
5
|
import {
|
|
6
6
|
getClient
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-QNKR7WEL.js";
|
|
8
8
|
|
|
9
9
|
// src/lib/global-procedures.ts
|
|
10
10
|
import { randomUUID } from "crypto";
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
cleanupCardsForMemories,
|
|
3
3
|
cleanupGraphLinksForMemories
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-MVZLF27P.js";
|
|
5
5
|
import {
|
|
6
6
|
resolveAnthropicAuth
|
|
7
7
|
} from "./chunk-VGMACSEV.js";
|
|
8
8
|
import {
|
|
9
9
|
buildSystemStateExclusionFilter,
|
|
10
10
|
vectorToBlob
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-H5QNVWU4.js";
|
|
12
12
|
import {
|
|
13
13
|
extractKeywords,
|
|
14
14
|
keywordsToString
|
|
15
15
|
} from "./chunk-CHCA3ZM2.js";
|
|
16
16
|
import {
|
|
17
17
|
isCoordinatorName
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-QNKR7WEL.js";
|
|
19
19
|
|
|
20
20
|
// src/lib/consolidation.ts
|
|
21
21
|
import { randomUUID } from "crypto";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
routeTask
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-NY6DU5RB.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-ZXSFUR77.js";
|
|
13
13
|
import {
|
|
14
14
|
DEFAULT_COORDINATOR_TEMPLATE_NAME,
|
|
15
15
|
getCoordinatorName
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-QNKR7WEL.js";
|
|
17
17
|
|
|
18
18
|
// src/runtime/orchestrator.ts
|
|
19
19
|
var STALE_THRESHOLD_MS = 2 * 60 * 60 * 1e3;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
sessionScopeFilter
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-ZXSFUR77.js";
|
|
4
4
|
|
|
5
5
|
// src/lib/git-task-sweep.ts
|
|
6
6
|
import { execSync } from "child_process";
|
|
@@ -238,7 +238,7 @@ async function sweepTasks(projectName, options = {}) {
|
|
|
238
238
|
}
|
|
239
239
|
if (!dryRun) {
|
|
240
240
|
try {
|
|
241
|
-
const { updateTaskStatus } = await import("./tasks-crud-
|
|
241
|
+
const { updateTaskStatus } = await import("./tasks-crud-TLELWWUL.js");
|
|
242
242
|
await updateTaskStatus({
|
|
243
243
|
taskId: task.id,
|
|
244
244
|
status: "needs_review",
|
|
@@ -4,10 +4,10 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
reserveVersions,
|
|
6
6
|
vectorToBlob
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-H5QNVWU4.js";
|
|
8
8
|
import {
|
|
9
9
|
getClient
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-QNKR7WEL.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-DCJMATVZ.js").then(
|
|
274
274
|
({ extractAndStoreDocumentGraph }) => extractAndStoreDocumentGraph(documentId, originalTexts)
|
|
275
275
|
).catch((err) => {
|
|
276
276
|
process.stderr.write(
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
dispatchTaskToEmployee,
|
|
3
3
|
markTaskNotificationsRead,
|
|
4
4
|
notifyTaskDone
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-JW5XS35A.js";
|
|
6
6
|
import {
|
|
7
7
|
clearCurrentTask,
|
|
8
8
|
writeCurrentTask
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
strictSessionScopeFilter,
|
|
17
17
|
updateTaskStatus,
|
|
18
18
|
writeNotification
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-ZXSFUR77.js";
|
|
20
20
|
import {
|
|
21
21
|
getAgentContext
|
|
22
22
|
} from "./chunk-GJV3WDWM.js";
|
|
@@ -27,7 +27,7 @@ import {
|
|
|
27
27
|
getClient,
|
|
28
28
|
getCoordinatorName,
|
|
29
29
|
isCoordinatorName
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-QNKR7WEL.js";
|
|
31
31
|
|
|
32
32
|
// src/lib/tasks-chain.ts
|
|
33
33
|
import path from "path";
|
|
@@ -62,7 +62,7 @@ async function cascadeUnblock(taskId, baseDir, now) {
|
|
|
62
62
|
}
|
|
63
63
|
if (unblockedRows.rows.length > 0 && !process.env.VITEST) {
|
|
64
64
|
try {
|
|
65
|
-
const { dispatchTaskToEmployee: dispatchTaskToEmployee2 } = await import("./tasks-notify-
|
|
65
|
+
const { dispatchTaskToEmployee: dispatchTaskToEmployee2 } = await import("./tasks-notify-7Q2XTDZ7.js");
|
|
66
66
|
const dispatched = /* @__PURE__ */ new Set();
|
|
67
67
|
for (const ur of unblockedRows.rows) {
|
|
68
68
|
const assignee = String(ur.assigned_to);
|
|
@@ -87,7 +87,7 @@ async function cascadeUnblock(taskId, baseDir, now) {
|
|
|
87
87
|
}
|
|
88
88
|
} catch {
|
|
89
89
|
try {
|
|
90
|
-
const { queueIntercom } = await import("./intercom-queue-
|
|
90
|
+
const { queueIntercom } = await import("./intercom-queue-A52WQOCD.js");
|
|
91
91
|
const dispatched = /* @__PURE__ */ new Set();
|
|
92
92
|
for (const ur of unblockedRows.rows) {
|
|
93
93
|
const assignee = String(ur.assigned_to);
|
|
@@ -285,7 +285,7 @@ async function updateTask(input) {
|
|
|
285
285
|
try {
|
|
286
286
|
process.stderr.write(`[tasks] EVENT: tmux delivery failed for reviewer="${reviewer}". Queueing for daemon delivery.
|
|
287
287
|
`);
|
|
288
|
-
const { queueIntercom } = await import("./intercom-queue-
|
|
288
|
+
const { queueIntercom } = await import("./intercom-queue-A52WQOCD.js");
|
|
289
289
|
const { resolveExeSession } = await import("./lib/tmux-routing.js");
|
|
290
290
|
const exeSession = row.session_scope ? String(row.session_scope) : resolveExeSession();
|
|
291
291
|
if (exeSession) {
|
|
@@ -329,7 +329,7 @@ async function updateTask(input) {
|
|
|
329
329
|
await markTaskNotificationsRead(taskFile);
|
|
330
330
|
if (isCompletionReviewTransition && !isCoordinator && row.reviewer) {
|
|
331
331
|
try {
|
|
332
|
-
const { writeNotification: writeNotification2 } = await import("./notifications-
|
|
332
|
+
const { writeNotification: writeNotification2 } = await import("./notifications-YKHZPCXU.js");
|
|
333
333
|
const reviewer = String(row.reviewer);
|
|
334
334
|
await writeNotification2({
|
|
335
335
|
agentId: reviewer,
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
buildSystemStateMemoryTypeExclusion
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-H5QNVWU4.js";
|
|
4
4
|
import {
|
|
5
5
|
sessionScopeFilter
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-ZXSFUR77.js";
|
|
7
7
|
import {
|
|
8
8
|
getClient,
|
|
9
9
|
getIdentity
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-QNKR7WEL.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-V7LFCPU4.js");
|
|
650
650
|
const overdue = await getOverdueProspective(agentId);
|
|
651
651
|
overdueProspective = overdue.map((o) => ({
|
|
652
652
|
id: o.id,
|
|
@@ -9,10 +9,10 @@ import {
|
|
|
9
9
|
import {
|
|
10
10
|
buildClaudeHttpMcpEntry,
|
|
11
11
|
buildClaudeStdioProxyMcpEntry
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-MH5HWMVH.js";
|
|
13
13
|
import {
|
|
14
14
|
ensureAllAgentSymlinks
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-RBRGSOK5.js";
|
|
16
16
|
import {
|
|
17
17
|
MCP_LEGACY_KEY,
|
|
18
18
|
MCP_PRIMARY_KEY
|
|
@@ -212,7 +212,7 @@ async function main(args) {
|
|
|
212
212
|
console.log("[health-gate] Starting rollback...");
|
|
213
213
|
restorePreDeployBackup();
|
|
214
214
|
try {
|
|
215
|
-
const { rollbackStackUpdate, defaultStackPaths } = await import("./stack-update-
|
|
215
|
+
const { rollbackStackUpdate, defaultStackPaths } = await import("./stack-update-WBDTJJEF.js");
|
|
216
216
|
const paths = defaultStackPaths();
|
|
217
217
|
await rollbackStackUpdate({
|
|
218
218
|
manifestRef: paths.manifestRef,
|
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
import {
|
|
2
|
+
isPostgresBackendEnabled
|
|
3
|
+
} from "./chunk-YMUZWC33.js";
|
|
1
4
|
import {
|
|
2
5
|
EXE_AI_DIR
|
|
3
6
|
} from "./chunk-BCZF3AGJ.js";
|
|
@@ -66,6 +69,7 @@ function resolveCheckpointWorkerPath(selfUrl, exists = existsSync) {
|
|
|
66
69
|
}
|
|
67
70
|
async function tryCheckpointWorker(checkpointMode) {
|
|
68
71
|
if (process.env.EXE_IS_DAEMON !== "1") return false;
|
|
72
|
+
if (isPostgresBackendEnabled()) return true;
|
|
69
73
|
if (!backupOffloadCreds) return false;
|
|
70
74
|
const workerPath = resolveCheckpointWorkerPath(import.meta.url);
|
|
71
75
|
if (!workerPath) {
|
|
@@ -244,7 +248,7 @@ async function createBackupAsync(reason = "manual", opts = {}) {
|
|
|
244
248
|
}
|
|
245
249
|
}
|
|
246
250
|
try {
|
|
247
|
-
const { manifestWriteEnabled, writeBackupManifest } = await import("./backup-verify-
|
|
251
|
+
const { manifestWriteEnabled, writeBackupManifest } = await import("./backup-verify-RGB3KKD4.js");
|
|
248
252
|
if (manifestWriteEnabled()) {
|
|
249
253
|
await writeBackupManifest(backupPath, dbName);
|
|
250
254
|
}
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
isPaneBusy
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-SMQ642D3.js";
|
|
4
4
|
import {
|
|
5
5
|
recordSessionKill
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-Y3JXLIZV.js";
|
|
7
7
|
import {
|
|
8
8
|
eventLoopBlockedMarkerPath
|
|
9
9
|
} from "./chunk-APRVAUOR.js";
|
|
10
10
|
import {
|
|
11
11
|
updateTask
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-DJYJDK53.js";
|
|
13
13
|
import {
|
|
14
14
|
countPendingReviews,
|
|
15
15
|
ensureEmployeeAsync,
|
|
@@ -25,14 +25,14 @@ import {
|
|
|
25
25
|
sessionScopeFilter,
|
|
26
26
|
strictSessionScopeFilter,
|
|
27
27
|
writeNotification
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-ZXSFUR77.js";
|
|
29
29
|
import {
|
|
30
30
|
LEASE_MINUTES,
|
|
31
31
|
isLeaseExpired
|
|
32
32
|
} from "./chunk-E23LNUWJ.js";
|
|
33
33
|
import {
|
|
34
34
|
listSessions
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-HYZE3MNS.js";
|
|
36
36
|
import {
|
|
37
37
|
getTransport
|
|
38
38
|
} from "./chunk-AD2VCHSS.js";
|
|
@@ -44,7 +44,7 @@ import {
|
|
|
44
44
|
} from "./chunk-SKGMF2SO.js";
|
|
45
45
|
import {
|
|
46
46
|
recordOrchestrationEventBestEffort
|
|
47
|
-
} from "./chunk-
|
|
47
|
+
} from "./chunk-AMC2OPYP.js";
|
|
48
48
|
import {
|
|
49
49
|
checkDispatchStatus,
|
|
50
50
|
readTerminalLauncherFailure,
|
|
@@ -53,7 +53,7 @@ import {
|
|
|
53
53
|
} from "./chunk-AJIXH5JF.js";
|
|
54
54
|
import {
|
|
55
55
|
getAgentRuntime
|
|
56
|
-
} from "./chunk-
|
|
56
|
+
} from "./chunk-A3YHWWE6.js";
|
|
57
57
|
import {
|
|
58
58
|
BUSY_PATTERN
|
|
59
59
|
} from "./chunk-OSKWCKUC.js";
|
|
@@ -62,7 +62,7 @@ import {
|
|
|
62
62
|
getCoordinatorName,
|
|
63
63
|
isCoordinatorName,
|
|
64
64
|
shouldAutoInstance
|
|
65
|
-
} from "./chunk-
|
|
65
|
+
} from "./chunk-QNKR7WEL.js";
|
|
66
66
|
import {
|
|
67
67
|
loadConfigSync
|
|
68
68
|
} from "./chunk-BCZF3AGJ.js";
|
|
@@ -3066,7 +3066,7 @@ async function reapOrphanedWorktrees(deps, nowMs = Date.now()) {
|
|
|
3066
3066
|
}
|
|
3067
3067
|
async function createWorktreeReaperRealDeps() {
|
|
3068
3068
|
const { getPaneCwdAsync } = await import("./lib/tmux-status.js");
|
|
3069
|
-
const { getGitRootAsync, isWorktreeDirtyAsync } = await import("./worktree-
|
|
3069
|
+
const { getGitRootAsync, isWorktreeDirtyAsync } = await import("./worktree-FJZXHDCJ.js");
|
|
3070
3070
|
const { statSync: statSync3 } = await import("fs");
|
|
3071
3071
|
const { basename: basename2 } = await import("path");
|
|
3072
3072
|
const { promisify: promisify2 } = await import("util");
|
|
@@ -3297,7 +3297,7 @@ async function gcStaleCheckpoints() {
|
|
|
3297
3297
|
}
|
|
3298
3298
|
async function pollTaskGroupBarriers() {
|
|
3299
3299
|
try {
|
|
3300
|
-
const { checkAndFireBarriers } = await import("./tasks-crud-
|
|
3300
|
+
const { checkAndFireBarriers } = await import("./tasks-crud-TLELWWUL.js");
|
|
3301
3301
|
const firedGroupIds = await checkAndFireBarriers();
|
|
3302
3302
|
if (firedGroupIds.length === 0) return 0;
|
|
3303
3303
|
const { getClient } = await import("./lib/database.js");
|
|
@@ -3,11 +3,11 @@ import {
|
|
|
3
3
|
} from "./chunk-75H4R62K.js";
|
|
4
4
|
import {
|
|
5
5
|
initStore
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-H5QNVWU4.js";
|
|
7
7
|
import {
|
|
8
8
|
getClient,
|
|
9
9
|
isInitialized
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-QNKR7WEL.js";
|
|
11
11
|
|
|
12
12
|
// src/lib/schedules.ts
|
|
13
13
|
import crypto from "crypto";
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
isExeSession,
|
|
3
3
|
strictSessionScopeFilter
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-ZXSFUR77.js";
|
|
5
5
|
import {
|
|
6
6
|
recordOrchestrationEventBestEffort
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-AMC2OPYP.js";
|
|
8
8
|
import {
|
|
9
9
|
getProjectName
|
|
10
10
|
} from "./chunk-OPU3NYOO.js";
|
|
11
11
|
import {
|
|
12
12
|
DEFAULT_COORDINATOR_TEMPLATE_NAME,
|
|
13
13
|
getCoordinatorName
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-QNKR7WEL.js";
|
|
15
15
|
import {
|
|
16
16
|
loadConfigSync
|
|
17
17
|
} from "./chunk-BCZF3AGJ.js";
|
|
@@ -260,7 +260,7 @@ function createRealDeps(getClient) {
|
|
|
260
260
|
});
|
|
261
261
|
},
|
|
262
262
|
createReviewForOrphan: async (task) => {
|
|
263
|
-
const { createReviewForCompletedTask } = await import("./tasks-review-
|
|
263
|
+
const { createReviewForCompletedTask } = await import("./tasks-review-S6QB5KGS.js");
|
|
264
264
|
const cwd = process.cwd();
|
|
265
265
|
await createReviewForCompletedTask(
|
|
266
266
|
task,
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
import {
|
|
11
11
|
createCRMWebhookHandler,
|
|
12
12
|
parseTwentyWebhook
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-AFY4V4N3.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-Z52QQB4Z.js";
|
|
46
46
|
import {
|
|
47
47
|
OllamaProvider
|
|
48
48
|
} from "./chunk-FWFFZGSC.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
formatDegradations,
|
|
3
3
|
getRetrievalHealth
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-QUOMJKVF.js";
|
|
5
5
|
import {
|
|
6
6
|
buildRestartReport,
|
|
7
7
|
formatRestartReport
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
} from "./chunk-OTVEIJUQ.js";
|
|
21
21
|
import {
|
|
22
22
|
offloadReadIfMain
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-QNKR7WEL.js";
|
|
24
24
|
import {
|
|
25
25
|
isMainModule
|
|
26
26
|
} from "./chunk-6Y4B3QF6.js";
|
|
@@ -1023,7 +1023,7 @@ function formatReport(report, flags) {
|
|
|
1023
1023
|
return lines.join("\n");
|
|
1024
1024
|
}
|
|
1025
1025
|
async function fixNullVectors() {
|
|
1026
|
-
const { tryAcquireWorkerSlot, registerWorkerPid } = await import("./worker-gate-
|
|
1026
|
+
const { tryAcquireWorkerSlot, registerWorkerPid } = await import("./worker-gate-P2O64XMH.js");
|
|
1027
1027
|
if (!tryAcquireWorkerSlot()) {
|
|
1028
1028
|
process.stderr.write("[exe-doctor] Worker gate full \u2014 waiting for existing backfill workers to finish\n");
|
|
1029
1029
|
await new Promise((r) => setTimeout(r, 5e3));
|
|
@@ -1209,7 +1209,7 @@ async function main(argv = process.argv.slice(2)) {
|
|
|
1209
1209
|
console.log(formatRestartReport(restartReport));
|
|
1210
1210
|
return emptyAuditReport();
|
|
1211
1211
|
}
|
|
1212
|
-
const { fastDbInit } = await import("./fast-db-init-
|
|
1212
|
+
const { fastDbInit } = await import("./fast-db-init-3K2PV6GJ.js");
|
|
1213
1213
|
const client = await fastDbInit();
|
|
1214
1214
|
const report = await runAudit(client, flags);
|
|
1215
1215
|
console.log(formatReport(report, flags));
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
WORK_STATE_HEARTBEAT_TOOL
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-H4JKOLXU.js";
|
|
4
4
|
import {
|
|
5
5
|
extractKeywords,
|
|
6
6
|
keywordsToString
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
findScopedDuplicate,
|
|
13
13
|
governMemoryRecord,
|
|
14
14
|
schedulePostWriteMemoryHygiene
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-GPZQZTJB.js";
|
|
16
16
|
import {
|
|
17
17
|
orgBus
|
|
18
18
|
} from "./chunk-MP2AFCGL.js";
|
|
@@ -20,8 +20,12 @@ import {
|
|
|
20
20
|
disposeTurso,
|
|
21
21
|
ensureSchema,
|
|
22
22
|
getClient,
|
|
23
|
+
initPostgresOnlyDatabase,
|
|
23
24
|
initTurso
|
|
24
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-QNKR7WEL.js";
|
|
26
|
+
import {
|
|
27
|
+
isPostgresBackendEnabled
|
|
28
|
+
} from "./chunk-YMUZWC33.js";
|
|
25
29
|
import {
|
|
26
30
|
EMBEDDING_DIM
|
|
27
31
|
} from "./chunk-FXU7JOXK.js";
|
|
@@ -74,7 +78,7 @@ function recordShardFailure(project, error) {
|
|
|
74
78
|
`[store] Shard circuit OPEN for "${project}" after ${state.failures} consecutive failures. Will retry in ${SHARD_CB_COOLDOWN_MS / 6e4}min. Last error: ${error}
|
|
75
79
|
`
|
|
76
80
|
);
|
|
77
|
-
void import("./orchestration-events-
|
|
81
|
+
void import("./orchestration-events-HAFDPTLV.js").then(({ recordOrchestrationEventBestEffort }) => {
|
|
78
82
|
recordOrchestrationEventBestEffort({
|
|
79
83
|
eventType: "shard.circuit_open",
|
|
80
84
|
source: "store.recordShardFailure",
|
|
@@ -138,6 +142,10 @@ async function initStore(options) {
|
|
|
138
142
|
if (!masterKey) {
|
|
139
143
|
masterKey = await getMasterKey();
|
|
140
144
|
if (!masterKey) {
|
|
145
|
+
if (isPostgresBackendEnabled()) {
|
|
146
|
+
await initPostgresOnlyDatabase();
|
|
147
|
+
return;
|
|
148
|
+
}
|
|
141
149
|
throw new Error(
|
|
142
150
|
"No encryption key found. Run /exe-setup to generate one."
|
|
143
151
|
);
|
|
@@ -171,7 +179,7 @@ async function initStore(options) {
|
|
|
171
179
|
);
|
|
172
180
|
_nextVersion = (Number(vResult.rows[0]?.max_v) || 0) + 1;
|
|
173
181
|
try {
|
|
174
|
-
const { loadGlobalProcedures } = await import("./global-procedures-
|
|
182
|
+
const { loadGlobalProcedures } = await import("./global-procedures-PEWDBSPJ.js");
|
|
175
183
|
await loadGlobalProcedures();
|
|
176
184
|
} catch (e) {
|
|
177
185
|
logStoreWarn("catch", e);
|
|
@@ -299,7 +307,7 @@ async function writeMemory(record) {
|
|
|
299
307
|
founder_id: record.founder_id ?? null
|
|
300
308
|
};
|
|
301
309
|
try {
|
|
302
|
-
const { checkMemoryPoisoning } = await import("./memory-poisoning-defense-
|
|
310
|
+
const { checkMemoryPoisoning } = await import("./memory-poisoning-defense-WZJ52KXT.js");
|
|
303
311
|
const poisonResult = await checkMemoryPoisoning({
|
|
304
312
|
memoryId: dbRow.id,
|
|
305
313
|
vector: Array.isArray(dbRow.vector) ? dbRow.vector : void 0,
|
|
@@ -498,19 +506,19 @@ async function flushBatch() {
|
|
|
498
506
|
_nextVersion = baseVersion;
|
|
499
507
|
if (insertedBatch.length > 0) {
|
|
500
508
|
try {
|
|
501
|
-
const { insertMemoryCardsForBatch } = await import("./memory-cards-
|
|
509
|
+
const { insertMemoryCardsForBatch } = await import("./memory-cards-GFO2CSPV.js");
|
|
502
510
|
await insertMemoryCardsForBatch(insertedBatch);
|
|
503
511
|
} catch (e) {
|
|
504
512
|
logStoreWarn("catch", e);
|
|
505
513
|
}
|
|
506
514
|
try {
|
|
507
|
-
const { insertOntologyForBatch } = await import("./agentic-ontology-
|
|
515
|
+
const { insertOntologyForBatch } = await import("./agentic-ontology-6MEXY5L7.js");
|
|
508
516
|
await insertOntologyForBatch(insertedBatch);
|
|
509
517
|
} catch (e) {
|
|
510
518
|
logStoreWarn("catch", e);
|
|
511
519
|
}
|
|
512
520
|
try {
|
|
513
|
-
const { extractGraphForBatch } = await import("./memory-graph-extractor-
|
|
521
|
+
const { extractGraphForBatch } = await import("./memory-graph-extractor-2Z72HN5P.js");
|
|
514
522
|
await extractGraphForBatch(insertedBatch);
|
|
515
523
|
} catch (e) {
|
|
516
524
|
logStoreWarn("catch", e);
|
|
@@ -650,7 +658,7 @@ async function searchMemories(queryVector, agentId, options) {
|
|
|
650
658
|
args.push(activeEmbeddingModel);
|
|
651
659
|
}
|
|
652
660
|
try {
|
|
653
|
-
const { founderScopeFilter } = await import("./founder-context-
|
|
661
|
+
const { founderScopeFilter } = await import("./founder-context-JHHFM4GF.js");
|
|
654
662
|
const founderFilter = founderScopeFilter(options?.founderId);
|
|
655
663
|
sql += founderFilter.sql;
|
|
656
664
|
args.push(...founderFilter.args.filter((a) => a !== null));
|