@askexenow/exe-os 0.9.140 → 0.9.141
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{active-agent-GFBVE3ES.js → active-agent-OTOFSYIV.js} +6 -4
- package/dist/{active-agent-M3ZT74AM.js → active-agent-PNV6PKJK.js} +6 -4
- package/dist/{agentic-ontology-QRNPGDIM.js → agentic-ontology-GYJZMRNB.js} +1 -1
- package/dist/{backfill-metadata-DI7R3MXV.js → backfill-metadata-EDLDTB2G.js} +9 -11
- package/dist/{background-jobs-LUEOBAVF.js → background-jobs-TBUOKMJR.js} +3 -3
- package/dist/{behaviors-KTEEQ3KG.js → behaviors-GE4RY2HA.js} +5 -6
- package/dist/bin/age-ontology-load.js +3 -3
- package/dist/bin/agentic-ontology-backfill.js +9 -10
- package/dist/bin/agentic-reflection-backfill.js +10 -11
- package/dist/bin/agentic-semantic-label.js +9 -10
- package/dist/bin/backfill-conversations.js +11 -13
- package/dist/bin/backfill-responses.js +11 -13
- package/dist/bin/backfill-vectors.js +11 -12
- package/dist/bin/bulk-sync-postgres.js +10 -11
- package/dist/bin/cc-doctor.js +4 -4
- package/dist/bin/cleanup-stale-review-tasks.js +11 -12
- package/dist/bin/cli.js +18 -18
- package/dist/bin/exe-agent-config.js +6 -4
- package/dist/bin/exe-agent.js +7 -8
- package/dist/bin/exe-assign.js +12 -13
- package/dist/bin/exe-boot.js +23 -25
- package/dist/bin/exe-call.js +8 -9
- package/dist/bin/exe-cloud.js +9 -10
- package/dist/bin/exe-dispatch.js +11 -12
- package/dist/bin/exe-doctor.js +1 -1
- package/dist/bin/exe-export-behaviors.js +10 -11
- package/dist/bin/exe-forget.js +9 -10
- package/dist/bin/exe-gateway.js +9 -10
- package/dist/bin/exe-healthcheck.js +4 -4
- package/dist/bin/exe-heartbeat.js +13 -15
- package/dist/bin/exe-kill.js +9 -10
- package/dist/bin/exe-launch-agent.js +16 -17
- package/dist/bin/exe-new-employee.js +11 -12
- package/dist/bin/exe-pending-messages.js +12 -13
- package/dist/bin/exe-pending-notifications.js +11 -12
- package/dist/bin/exe-pending-reviews.js +11 -12
- package/dist/bin/exe-rename.js +13 -10
- package/dist/bin/exe-review.js +16 -18
- package/dist/bin/exe-search.js +8 -9
- package/dist/bin/exe-session-cleanup.js +16 -17
- package/dist/bin/exe-settings.js +9 -10
- package/dist/bin/exe-start-codex.js +16 -17
- package/dist/bin/exe-start-opencode.js +12 -13
- package/dist/bin/exe-status.js +12 -13
- package/dist/bin/exe-support.js +4 -4
- package/dist/bin/exe-team.js +7 -9
- package/dist/bin/git-sweep.js +11 -12
- package/dist/bin/graph-backfill.js +10 -10
- package/dist/bin/graph-export.js +8 -9
- package/dist/bin/install.js +10 -8
- package/dist/bin/intercom-check.js +4 -4
- package/dist/bin/postgres-agentic-reflection-backfill.js +5 -5
- package/dist/bin/postgres-agentic-semantic-backfill.js +4 -4
- package/dist/bin/pre-publish.js +1 -1
- package/dist/bin/scan-tasks.js +11 -12
- package/dist/bin/setup.js +4 -4
- package/dist/bin/shard-migrate.js +8 -9
- package/dist/bin/stack-update.js +3 -3
- package/dist/{branding-EKPE6CWW.js → branding-EKI27T6K.js} +2 -2
- package/dist/{capacity-monitor-HGD2C6CP.js → capacity-monitor-ZIAX3FBS.js} +12 -13
- package/dist/{catchup-brief-OMDCLETB.js → catchup-brief-GYZWGUDP.js} +14 -15
- package/dist/{chunk-OIUPHIN2.js → chunk-2NWMGMNH.js} +9 -9
- package/dist/{chunk-UE3BYGWY.js → chunk-47D4UN72.js} +30 -15
- package/dist/{chunk-3SPQNGRT.js → chunk-4AZYVT6A.js} +1 -1
- package/dist/{chunk-3WSH4P4Z.js → chunk-4GA5XZWY.js} +2 -2
- package/dist/{chunk-XUHFQHGZ.js → chunk-4JZNDVZH.js} +37 -4
- package/dist/{chunk-54MB5TNF.js → chunk-4NKNXOA5.js} +2 -2
- package/dist/{chunk-CSVYC6HH.js → chunk-4OHIVMHS.js} +1 -1
- package/dist/{chunk-UEWGUOXB.js → chunk-55LEDLDE.js} +499 -27
- package/dist/{chunk-7SVGVGE3.js → chunk-5UCBVXKO.js} +1 -1
- package/dist/{chunk-SQLEKC4E.js → chunk-6EZRMPDA.js} +1 -1
- package/dist/{chunk-35FFFDS2.js → chunk-6V6UTSOP.js} +1 -1
- package/dist/{chunk-4YNGDNDI.js → chunk-7M3DNYMR.js} +4 -4
- package/dist/{chunk-H24OVCAN.js → chunk-AJOZXJLJ.js} +1 -1
- package/dist/{chunk-ABCDEJUD.js → chunk-BBOD5TVX.js} +1 -1
- package/dist/{chunk-YYB6HGEY.js → chunk-BI3GMMTP.js} +1 -1
- package/dist/{chunk-3TTJPQAE.js → chunk-BKEJSHDE.js} +1 -1
- package/dist/{chunk-SCGCHM2H.js → chunk-BSSSCUQJ.js} +3 -3
- package/dist/{chunk-XDJWGR2S.js → chunk-CBSUVFZ7.js} +2 -2
- package/dist/{chunk-VTZ4QOBS.js → chunk-CQX2WDI5.js} +1 -1
- package/dist/{chunk-BBVMIH76.js → chunk-CU2XXD5I.js} +8 -8
- package/dist/{chunk-5K3CCPNX.js → chunk-CXXGHL7T.js} +137 -92
- package/dist/{chunk-7HZFWAIR.js → chunk-DH6N5G4T.js} +1 -1
- package/dist/{chunk-GUDCQBRY.js → chunk-DU4ZN7VF.js} +1 -1
- package/dist/{chunk-PS4UUDIG.js → chunk-DUDPJVAC.js} +5 -7
- package/dist/{chunk-Q3MIJPXM.js → chunk-EAVACBVO.js} +2 -2
- package/dist/{chunk-6EBG7VWN.js → chunk-ENL5P2CU.js} +2 -2
- package/dist/{chunk-HIOFKHTO.js → chunk-EP3OKNTW.js} +3 -3
- package/dist/{chunk-LPG22IL5.js → chunk-EP523LJD.js} +2 -2
- package/dist/{chunk-QUG6EMZQ.js → chunk-EZUWMBWA.js} +1 -1
- package/dist/{chunk-YKOW7KMK.js → chunk-F4OU2ETP.js} +23 -7
- package/dist/chunk-FZ23OZL3.js +78 -0
- package/dist/{chunk-KNEH2MGD.js → chunk-GIGLGGYL.js} +5 -5
- package/dist/{chunk-KNS5ETKF.js → chunk-GLVF7ENO.js} +1 -1
- package/dist/{chunk-D7BPHQGX.js → chunk-GOCW7Z6D.js} +2 -2
- package/dist/{chunk-73JE5PVU.js → chunk-GQNG4MKL.js} +7 -7
- package/dist/chunk-GUMRIUI5.js +63 -0
- package/dist/{chunk-34O6PRWE.js → chunk-GVGISFMN.js} +4 -6
- package/dist/{chunk-QVVV6DHI.js → chunk-HSJKFTKP.js} +2 -2
- package/dist/{chunk-UOCQQHZT.js → chunk-IBWVMMLN.js} +43 -14
- package/dist/{chunk-HO4C7QMH.js → chunk-ITJMONDK.js} +1 -1
- package/dist/{chunk-OYBQKDV5.js → chunk-JAFHOB5P.js} +1 -1
- package/dist/{chunk-STVJLWSA.js → chunk-K6WORHFF.js} +4 -4
- package/dist/{chunk-SPMZRVXK.js → chunk-LCZRXRB7.js} +2 -2
- package/dist/{chunk-XNWXVGEA.js → chunk-LD6WE7DK.js} +2 -2
- package/dist/{chunk-RGKPVKUO.js → chunk-LGPTAJZC.js} +1 -1
- package/dist/{chunk-OX6D5AF3.js → chunk-LNX37VPO.js} +2 -2
- package/dist/{chunk-IU3CXV4S.js → chunk-LR3QFARI.js} +11 -11
- package/dist/{chunk-EWGZPTII.js → chunk-MQB2BE3I.js} +1 -1
- package/dist/{chunk-UCNCSKGH.js → chunk-N5MH3CN2.js} +3 -3
- package/dist/{chunk-QCJ3Y52V.js → chunk-NFX6MDEO.js} +1 -1
- package/dist/{chunk-F6PIXTHZ.js → chunk-NMG76472.js} +5 -7
- package/dist/{chunk-LUOLBU54.js → chunk-NMT6QFEE.js} +1 -1
- package/dist/{chunk-2JAEWE7P.js → chunk-NTALKXBR.js} +6 -6
- package/dist/{chunk-CLIW2CES.js → chunk-NW4AUWIT.js} +8 -10
- package/dist/{chunk-2XUXMKX5.js → chunk-OC7FNHGA.js} +4 -4
- package/dist/{chunk-SPKE5ANC.js → chunk-OI3REUP5.js} +1 -1
- package/dist/{chunk-FLVDAA3Z.js → chunk-P2YTTKPR.js} +1 -1
- package/dist/{chunk-5LJQSXUG.js → chunk-P3RKVFBX.js} +3 -3
- package/dist/{chunk-DEHYRM3I.js → chunk-PB5TRWLG.js} +1 -1
- package/dist/{chunk-NX4WEVG6.js → chunk-Q53ZYTIU.js} +12 -8
- package/dist/{chunk-5PB6BRLA.js → chunk-QWOQHCRO.js} +1 -1
- package/dist/{chunk-CYCRC2KN.js → chunk-RGKFUMLQ.js} +30 -11
- package/dist/{chunk-NTIWZFOJ.js → chunk-RZK7BZHP.js} +1 -1
- package/dist/{chunk-5WIEDLGY.js → chunk-S3FDCJNF.js} +6 -6
- package/dist/{chunk-SL47NHTE.js → chunk-SDYBAMPW.js} +2 -2
- package/dist/{chunk-2ZWYALO4.js → chunk-SFURTBMT.js} +1 -1
- package/dist/{chunk-HHV26QTD.js → chunk-SOHGHGWU.js} +5 -6
- package/dist/{chunk-FCO2K73K.js → chunk-T62RXVA4.js} +2 -2
- package/dist/{chunk-O2RVWP3S.js → chunk-TSPBIMZV.js} +1 -1
- package/dist/{chunk-BZHXUKVC.js → chunk-U3Q3WNGY.js} +2 -2
- package/dist/{chunk-Z6BTUUPK.js → chunk-U7M7ZURS.js} +2 -2
- package/dist/{chunk-4ITOWLHX.js → chunk-UEJTDPRA.js} +4 -6
- package/dist/{chunk-POU4ZLBM.js → chunk-UKCSMGNM.js} +2 -2
- package/dist/{chunk-IG5XFUYJ.js → chunk-VA42PIIY.js} +25 -7
- package/dist/{chunk-DMFM77DV.js → chunk-WZDI6UJ6.js} +1 -1
- package/dist/{chunk-762FPANW.js → chunk-XFBKSNNI.js} +1 -1
- package/dist/{chunk-6LKDJ5WX.js → chunk-XOVQ43JR.js} +52 -10
- package/dist/{chunk-YWCPAQBH.js → chunk-Y3JNBCZI.js} +16 -14
- package/dist/{code-context-index-PIC37JSG.js → code-context-index-XCX6HB3T.js} +5 -5
- package/dist/{conversation-entity-extractor-HKSNDF4L.js → conversation-entity-extractor-FJNOZ4DO.js} +2 -1
- package/dist/{conversation-wiki-populator-7M5YYPXH.js → conversation-wiki-populator-HAW3EQD5.js} +1 -1
- package/dist/{crdt-sync-MDW6THU7.js → crdt-sync-WXVYQ5ZO.js} +1 -1
- package/dist/{crm-webhook-YZKCH7QB.js → crm-webhook-7654EZEJ.js} +2 -2
- package/dist/{cto-delegation-gate-7SQNLKN7.js → cto-delegation-gate-43UJFGMT.js} +12 -14
- package/dist/{daemon-auth-6XMF4JG5.js → daemon-auth-VXM7MOF4.js} +3 -3
- package/dist/{daemon-orchestration-7YUD2H64.js → daemon-orchestration-NB5HYPXS.js} +14 -15
- package/dist/{db-backup-R4DLUO4C.js → db-backup-YHDR4SXR.js} +3 -3
- package/dist/{entity-boost-YQFREESI.js → entity-boost-27ENEPYC.js} +1 -1
- package/dist/{exe-drift-HKJONDA5.js → exe-drift-DBY7PC3H.js} +5 -7
- package/dist/{exe-export-TSZJEMWC.js → exe-export-FQPQCBDA.js} +9 -11
- package/dist/{exe-import-LAKNLCWI.js → exe-import-7CML2REU.js} +9 -11
- package/dist/{exe-key-ODHZVEGR.js → exe-key-KHNNQGSZ.js} +5 -6
- package/dist/{exe-org-EVOEZY6H.js → exe-org-QKK7M6FR.js} +3 -3
- package/dist/{fast-db-init-6SRLEIFS.js → fast-db-init-ADRYLHUA.js} +1 -1
- package/dist/gateway/index.js +9 -10
- package/dist/{gateway-client-VFKE2WJX.js → gateway-client-CJNSI4GG.js} +1 -1
- package/dist/{git-staleness-H774CLPX.js → git-staleness-OL7J5CXL.js} +4 -5
- package/dist/{git-task-sweep-FMRECHV7.js → git-task-sweep-ATQQNA7A.js} +11 -12
- package/dist/{global-procedures-PYYMCJIW.js → global-procedures-L7AN2A5W.js} +6 -7
- package/dist/{graph-query-657O5JYJ.js → graph-query-JBQDJJFP.js} +2 -1
- package/dist/{graph-rag-ZE5N7C65.js → graph-rag-V3JU7GYG.js} +2 -1
- package/dist/{hook-integrity-S5EUKBL6.js → hook-integrity-HESSTSAK.js} +1 -1
- package/dist/hooks/bug-report-worker.js +13 -14
- package/dist/hooks/codex-stop-task-finalizer.js +13 -14
- package/dist/hooks/commit-complete.js +13 -14
- package/dist/hooks/error-recall.js +10 -11
- package/dist/hooks/exe-heartbeat-hook.js +6 -4
- package/dist/hooks/ingest-worker.js +6 -6
- package/dist/hooks/ingest.js +14 -12
- package/dist/hooks/instructions-loaded.js +10 -10
- package/dist/hooks/notification.js +7 -5
- package/dist/hooks/post-compact.js +12 -13
- package/dist/hooks/post-tool-combined.js +5 -5
- package/dist/hooks/pre-compact.js +17 -18
- package/dist/hooks/pre-tool-use.js +31 -17
- package/dist/hooks/prompt-submit.js +22 -23
- package/dist/hooks/session-end.js +21 -22
- package/dist/hooks/session-start.js +8 -8
- package/dist/hooks/stop.js +18 -19
- package/dist/hooks/subagent-stop.js +12 -13
- package/dist/hooks/summary-worker.js +23 -25
- package/dist/index.js +18 -19
- package/dist/{installer-MIBTZDDM.js → installer-4YA7JGL4.js} +9 -7
- package/dist/{installer-3RTZXZ57.js → installer-JF7ARD2O.js} +9 -7
- package/dist/{installer-4G4YDLGY.js → installer-ZF7VAXAE.js} +9 -7
- package/dist/{key-backup-status-6BBOUM2S.js → key-backup-status-M4W77D3P.js} +2 -2
- package/dist/lib/agent-config.js +3 -3
- package/dist/lib/cloud-sync.js +7 -8
- package/dist/lib/config.js +2 -2
- package/dist/lib/consolidation.js +8 -9
- package/dist/lib/database.js +4 -5
- package/dist/lib/db-daemon-client.js +4 -4
- package/dist/lib/db.js +4 -5
- package/dist/lib/device-registry.js +2 -2
- package/dist/lib/embedder.js +5 -5
- package/dist/lib/employee-templates.js +7 -8
- package/dist/lib/employees.js +7 -3
- package/dist/lib/exe-daemon-client.js +4 -4
- package/dist/lib/exe-daemon.js +97 -57
- package/dist/lib/hybrid-search.js +8 -9
- package/dist/lib/identity-templates.js +1 -1
- package/dist/lib/identity.js +6 -6
- package/dist/lib/keychain.js +1 -1
- package/dist/lib/license.js +3 -3
- package/dist/lib/messaging.js +11 -12
- package/dist/lib/reminders.js +5 -6
- package/dist/lib/schedules.js +8 -9
- package/dist/lib/skill-learning.js +6 -7
- package/dist/lib/status-brief.js +1 -1
- package/dist/lib/store.js +7 -8
- package/dist/lib/task-router.js +6 -4
- package/dist/lib/tasks.js +12 -13
- package/dist/lib/tmux-routing.js +10 -11
- package/dist/lib/token-spend.js +5 -6
- package/dist/lib/ws-client.js +1 -1
- package/dist/{license-gate-746LFKMY.js → license-gate-P6NDW4Z3.js} +4 -4
- package/dist/mcp/register-tools.js +64 -65
- package/dist/mcp/server.js +66 -67
- package/dist/mcp/tools/complete-reminder.js +6 -7
- package/dist/mcp/tools/create-reminder.js +6 -7
- package/dist/mcp/tools/create-task.js +14 -15
- package/dist/mcp/tools/deactivate-behavior.js +7 -8
- package/dist/mcp/tools/list-reminders.js +6 -7
- package/dist/mcp/tools/list-tasks.js +14 -15
- package/dist/mcp/tools/send-message.js +13 -14
- package/dist/mcp/tools/update-task.js +13 -14
- package/dist/{mcp-http-config-RD5MJYJD.js → mcp-http-config-TIY7CLWB.js} +6 -4
- package/dist/{memory-cards-CS3QQQST.js → memory-cards-MQBULX5V.js} +4 -5
- package/dist/{memory-poisoning-defense-XPM34UJQ.js → memory-poisoning-defense-EHSL5PZW.js} +4 -5
- package/dist/{memory-queue-B332RRFX.js → memory-queue-6YCGHJLQ.js} +3 -3
- package/dist/memory-queue-client-SZZDOZXE.js +14 -0
- package/dist/{memory-reflection-GH5BOH7A.js → memory-reflection-OTJBCQWK.js} +4 -5
- package/dist/{notifications-WWROKWFT.js → notifications-OXEFBG2D.js} +10 -11
- package/dist/{orchestration-phase-SBCILK4O.js → orchestration-phase-365P32CD.js} +3 -3
- package/dist/{orchestrator-V3EMR3AU.js → orchestrator-6ULAKZQP.js} +12 -13
- package/dist/{plan-limits-AMJUHUCR.js → plan-limits-BO2HMJ6S.js} +6 -7
- package/dist/{preferences-MW3BYTQ5.js → preferences-M7KQYRR2.js} +2 -2
- package/dist/{projection-worker-2YXEQRKI.js → projection-worker-6TGUPMLY.js} +3 -3
- package/dist/{push-notifications-NYQZGUJT.js → push-notifications-2SBCAIA2.js} +3 -3
- package/dist/{reranker-ZU3GWEBG.js → reranker-LV5BQIF4.js} +3 -3
- package/dist/runtime/index.js +13 -14
- package/dist/{session-events-RCAUFPNG.js → session-events-5X2SSRXX.js} +11 -12
- package/dist/{session-kill-telemetry-GUN2M2LJ.js → session-kill-telemetry-N2IKZK33.js} +5 -6
- package/dist/{session-scope-NGLL42BM.js → session-scope-42JIV5KF.js} +11 -12
- package/dist/setup-wizard-MAPYQDKT.js +12 -0
- package/dist/{shard-manager-CIDCCPJ4.js → shard-manager-3MDFLDOZ.js} +3 -3
- package/dist/{task-enforcement-YMGIERU4.js → task-enforcement-V2CQEPXS.js} +10 -11
- package/dist/{task-scope-RMJLXJ7S.js → task-scope-EY3G5623.js} +10 -11
- package/dist/{tasks-crud-ZRXPR3UB.js → tasks-crud-FPWY4RZ2.js} +10 -11
- package/dist/{tasks-review-NQUJR52I.js → tasks-review-XDSW3WRG.js} +10 -11
- package/dist/{tool-capability-index-6EKGND6H.js → tool-capability-index-7OF3LF4X.js} +1 -1
- package/dist/{tool-telemetry-4C6LTIPM.js → tool-telemetry-QPGPBV5R.js} +1 -1
- package/dist/tui/App.js +25 -26
- package/dist/{tui-data-A4GTAXBL.js → tui-data-FQ2F5WA3.js} +10 -11
- package/dist/{worker-gate-H43H32OF.js → worker-gate-WM2RGEZE.js} +3 -3
- package/dist/{workflow-engine-EPWKDGHR.js → workflow-engine-6QPTYDQI.js} +2 -2
- package/package.json +1 -1
- package/release-notes.json +104 -100
- package/dist/chunk-MQV4UKTS.js +0 -142
- package/dist/chunk-X2IMCCM5.js +0 -49
- package/dist/chunk-ZHJNMC4W.js +0 -292
- package/dist/memory-queue-client-MPJ2B7RU.js +0 -14
- package/dist/setup-wizard-JAFJRWKE.js +0 -12
- /package/dist/{chunk-3RNNTTBH.js → chunk-267IKUT5.js} +0 -0
- /package/dist/{chunk-ELXPFTBJ.js → chunk-7A2YCQNM.js} +0 -0
- /package/dist/{chunk-NBYMO4RZ.js → chunk-HBV3HSER.js} +0 -0
- /package/dist/{chunk-RCNCUSAF.js → chunk-JZB67O4M.js} +0 -0
- /package/dist/{chunk-OJ6Z2ZS2.js → chunk-NGAZPQQY.js} +0 -0
- /package/dist/{chunk-GSI6OPPH.js → chunk-NSA2JWNP.js} +0 -0
- /package/dist/{chunk-VEGDNUBO.js → chunk-T7SJCDG3.js} +0 -0
- /package/dist/{chunk-GLGWGMPD.js → chunk-XIIVMIS4.js} +0 -0
- /package/dist/{core-memory-JOTETVSY.js → core-memory-N74JWH4M.js} +0 -0
- /package/dist/{webhook-pipe-AFXVZ6YL.js → webhook-pipe-VOUF2Y43.js} +0 -0
- /package/dist/{wiki-acl-P7WEIMJV.js → wiki-acl-BIEVKTJC.js} +0 -0
- /package/dist/{wiki-client-UFR4R7YH.js → wiki-client-NGWOSMCV.js} +0 -0
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
initStore
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-LR3QFARI.js";
|
|
4
4
|
import {
|
|
5
5
|
getClient,
|
|
6
6
|
init_database,
|
|
7
7
|
isInitialized
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-55LEDLDE.js";
|
|
9
9
|
|
|
10
10
|
// src/lib/schedules.ts
|
|
11
11
|
init_database();
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
findScopedDuplicate,
|
|
3
3
|
governMemoryRecord,
|
|
4
4
|
schedulePostWriteMemoryHygiene
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-NGAZPQQY.js";
|
|
6
6
|
import {
|
|
7
7
|
init_state_bus,
|
|
8
8
|
orgBus
|
|
@@ -13,18 +13,18 @@ import {
|
|
|
13
13
|
getClient,
|
|
14
14
|
initTurso,
|
|
15
15
|
init_database
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-55LEDLDE.js";
|
|
17
17
|
import {
|
|
18
18
|
EMBEDDING_DIM,
|
|
19
19
|
init_memory
|
|
20
20
|
} from "./chunk-4NYQAS33.js";
|
|
21
21
|
import {
|
|
22
22
|
getMasterKey
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-4JZNDVZH.js";
|
|
24
24
|
import {
|
|
25
25
|
init_config,
|
|
26
26
|
loadConfig
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-VA42PIIY.js";
|
|
28
28
|
|
|
29
29
|
// src/lib/store.ts
|
|
30
30
|
init_memory();
|
|
@@ -114,7 +114,7 @@ async function initStore(options) {
|
|
|
114
114
|
if (!options?.lightweight) {
|
|
115
115
|
try {
|
|
116
116
|
if (process.env.EXE_DISABLE_SHARDING !== "1") {
|
|
117
|
-
const { initShardManager } = await import("./shard-manager-
|
|
117
|
+
const { initShardManager } = await import("./shard-manager-3MDFLDOZ.js");
|
|
118
118
|
initShardManager(hexKey);
|
|
119
119
|
}
|
|
120
120
|
} catch (e) {
|
|
@@ -127,7 +127,7 @@ async function initStore(options) {
|
|
|
127
127
|
);
|
|
128
128
|
_nextVersion = (Number(vResult.rows[0]?.max_v) || 0) + 1;
|
|
129
129
|
try {
|
|
130
|
-
const { loadGlobalProcedures } = await import("./global-procedures-
|
|
130
|
+
const { loadGlobalProcedures } = await import("./global-procedures-L7AN2A5W.js");
|
|
131
131
|
await loadGlobalProcedures();
|
|
132
132
|
} catch (e) {
|
|
133
133
|
logStoreWarn("catch", e);
|
|
@@ -244,7 +244,7 @@ async function writeMemory(record) {
|
|
|
244
244
|
procedure_for: record.procedure_for ?? null
|
|
245
245
|
};
|
|
246
246
|
try {
|
|
247
|
-
const { checkMemoryPoisoning } = await import("./memory-poisoning-defense-
|
|
247
|
+
const { checkMemoryPoisoning } = await import("./memory-poisoning-defense-EHSL5PZW.js");
|
|
248
248
|
const poisonResult = await checkMemoryPoisoning({
|
|
249
249
|
memoryId: dbRow.id,
|
|
250
250
|
vector: Array.isArray(dbRow.vector) ? dbRow.vector : void 0,
|
|
@@ -409,13 +409,13 @@ async function flushBatch() {
|
|
|
409
409
|
const globalStmts = batch.map(buildStmt);
|
|
410
410
|
await globalClient.batch(globalStmts, "write");
|
|
411
411
|
try {
|
|
412
|
-
const { insertMemoryCardsForBatch } = await import("./memory-cards-
|
|
412
|
+
const { insertMemoryCardsForBatch } = await import("./memory-cards-MQBULX5V.js");
|
|
413
413
|
await insertMemoryCardsForBatch(batch);
|
|
414
414
|
} catch (e) {
|
|
415
415
|
logStoreWarn("catch", e);
|
|
416
416
|
}
|
|
417
417
|
try {
|
|
418
|
-
const { insertOntologyForBatch } = await import("./agentic-ontology-
|
|
418
|
+
const { insertOntologyForBatch } = await import("./agentic-ontology-GYJZMRNB.js");
|
|
419
419
|
await insertOntologyForBatch(batch);
|
|
420
420
|
} catch (e) {
|
|
421
421
|
logStoreWarn("catch", e);
|
|
@@ -423,7 +423,7 @@ async function flushBatch() {
|
|
|
423
423
|
schedulePostWriteMemoryHygiene(batch.map((row) => row.id));
|
|
424
424
|
_pendingRecords.splice(0, batch.length);
|
|
425
425
|
try {
|
|
426
|
-
const { isShardingEnabled, getReadyShardClient } = await import("./shard-manager-
|
|
426
|
+
const { isShardingEnabled, getReadyShardClient } = await import("./shard-manager-3MDFLDOZ.js");
|
|
427
427
|
if (process.env.EXE_DISABLE_SHARDING !== "1" && isShardingEnabled()) {
|
|
428
428
|
const byProject = /* @__PURE__ */ new Map();
|
|
429
429
|
let skippedUnknown = 0;
|
|
@@ -494,7 +494,7 @@ function buildRawVisibilityFilter(options, columnPrefix) {
|
|
|
494
494
|
async function searchMemories(queryVector, agentId, options) {
|
|
495
495
|
let client;
|
|
496
496
|
try {
|
|
497
|
-
const { isShardingEnabled, shardExists, getReadyShardClient } = await import("./shard-manager-
|
|
497
|
+
const { isShardingEnabled, shardExists, getReadyShardClient } = await import("./shard-manager-3MDFLDOZ.js");
|
|
498
498
|
if (isShardingEnabled() && options?.projectName && shardExists(options.projectName)) {
|
|
499
499
|
client = await getReadyShardClient(options.projectName);
|
|
500
500
|
} else {
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
init_behaviors,
|
|
3
3
|
storeBehavior
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-NFX6MDEO.js";
|
|
5
5
|
import {
|
|
6
6
|
getClient,
|
|
7
7
|
init_database
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-55LEDLDE.js";
|
|
9
9
|
import {
|
|
10
10
|
init_config,
|
|
11
11
|
loadConfig
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-VA42PIIY.js";
|
|
13
13
|
import {
|
|
14
14
|
__esm
|
|
15
15
|
} from "./chunk-KFQGP6VL.js";
|
|
@@ -1,23 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
|
+
EMPLOYEES_PATH,
|
|
2
3
|
getClient,
|
|
3
4
|
init_database,
|
|
4
|
-
isInitialized
|
|
5
|
-
} from "./chunk-UEWGUOXB.js";
|
|
6
|
-
import {
|
|
7
|
-
EMPLOYEES_PATH,
|
|
8
5
|
init_employees,
|
|
6
|
+
isInitialized,
|
|
9
7
|
loadEmployees
|
|
10
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-55LEDLDE.js";
|
|
11
9
|
import {
|
|
12
10
|
PLAN_LIMITS,
|
|
13
11
|
checkLicense,
|
|
14
12
|
init_license,
|
|
15
13
|
isFeatureAllowed
|
|
16
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-GLVF7ENO.js";
|
|
17
15
|
import {
|
|
18
16
|
EXE_AI_DIR,
|
|
19
17
|
init_config
|
|
20
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-VA42PIIY.js";
|
|
21
19
|
import {
|
|
22
20
|
__esm
|
|
23
21
|
} from "./chunk-KFQGP6VL.js";
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createTask,
|
|
3
3
|
init_tasks
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-RGKFUMLQ.js";
|
|
5
5
|
import {
|
|
6
6
|
getActiveAgent
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-CBSUVFZ7.js";
|
|
8
8
|
import {
|
|
9
9
|
ensureEmployee,
|
|
10
10
|
init_routing_log,
|
|
11
11
|
init_tmux_routing,
|
|
12
12
|
logTaskDispatch,
|
|
13
13
|
resolveExeSession
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-Y3JNBCZI.js";
|
|
15
15
|
import {
|
|
16
16
|
getLicenseSync,
|
|
17
17
|
init_plan_limits
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-NMG76472.js";
|
|
19
19
|
import {
|
|
20
20
|
init_employees,
|
|
21
21
|
isCoordinatorName
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-55LEDLDE.js";
|
|
23
23
|
|
|
24
24
|
// src/mcp/tools/create-task.ts
|
|
25
25
|
init_tasks();
|
|
@@ -57,7 +57,7 @@ function registerCreateTask(server) {
|
|
|
57
57
|
return {
|
|
58
58
|
content: [{
|
|
59
59
|
type: "text",
|
|
60
|
-
text: "Upgrade to hire specialists. Free plan includes your
|
|
60
|
+
text: "Upgrade to hire specialists. Free plan includes your coordinator only. Get a license at https://askexe.com"
|
|
61
61
|
}],
|
|
62
62
|
isError: true
|
|
63
63
|
};
|
|
@@ -1,20 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
init_tasks,
|
|
3
3
|
updateTask
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-RGKFUMLQ.js";
|
|
5
5
|
import {
|
|
6
6
|
TASK_ALREADY_CLAIMED_PREFIX,
|
|
7
7
|
init_tasks_crud,
|
|
8
8
|
resolveTask
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import {
|
|
11
|
-
getClient,
|
|
12
|
-
init_database
|
|
13
|
-
} from "./chunk-UEWGUOXB.js";
|
|
9
|
+
} from "./chunk-Y3JNBCZI.js";
|
|
14
10
|
import {
|
|
15
11
|
canCoordinate,
|
|
12
|
+
getClient,
|
|
13
|
+
init_database,
|
|
16
14
|
init_employees
|
|
17
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-55LEDLDE.js";
|
|
18
16
|
|
|
19
17
|
// src/mcp/tools/update-task.ts
|
|
20
18
|
init_tasks();
|
|
@@ -38,7 +36,7 @@ function registerUpdateTask(server) {
|
|
|
38
36
|
let status = rawStatus;
|
|
39
37
|
if (status === "done") {
|
|
40
38
|
try {
|
|
41
|
-
const { getActiveAgent } = await import("./active-agent-
|
|
39
|
+
const { getActiveAgent } = await import("./active-agent-OTOFSYIV.js");
|
|
42
40
|
const agent = getActiveAgent();
|
|
43
41
|
if (!canCoordinate(agent.agentId, agent.agentRole)) {
|
|
44
42
|
let isOwnReview = false;
|
|
@@ -65,7 +63,7 @@ function registerUpdateTask(server) {
|
|
|
65
63
|
const assignedBy = String(row.assigned_by);
|
|
66
64
|
const assignedTo = String(row.assigned_to);
|
|
67
65
|
if (assignedBy === "system" && taskFile.includes("review-")) {
|
|
68
|
-
const { getActiveAgent } = await import("./active-agent-
|
|
66
|
+
const { getActiveAgent } = await import("./active-agent-OTOFSYIV.js");
|
|
69
67
|
const agent = getActiveAgent();
|
|
70
68
|
if (agent.agentId !== assignedTo && !canCoordinate(agent.agentId, agent.agentRole)) {
|
|
71
69
|
process.stderr.write(
|
|
@@ -92,7 +90,7 @@ function registerUpdateTask(server) {
|
|
|
92
90
|
}
|
|
93
91
|
let callerAgentId;
|
|
94
92
|
try {
|
|
95
|
-
const { getActiveAgent: getAgent } = await import("./active-agent-
|
|
93
|
+
const { getActiveAgent: getAgent } = await import("./active-agent-OTOFSYIV.js");
|
|
96
94
|
callerAgentId = getAgent().agentId;
|
|
97
95
|
} catch {
|
|
98
96
|
}
|
|
@@ -111,13 +111,13 @@ function buildFirstBootBrief(employees, dateStr, sessionTag) {
|
|
|
111
111
|
}
|
|
112
112
|
bodyLines.push("");
|
|
113
113
|
bodyLines.push(" \u{1F9ED} Orchestration:");
|
|
114
|
-
bodyLines.push(" \u2022 Phase 1 \u2014
|
|
114
|
+
bodyLines.push(" \u2022 Phase 1 \u2014 Coordinator / Chief of Staff mode");
|
|
115
115
|
bodyLines.push(" \u2022 Recommended start: build company context first");
|
|
116
116
|
bodyLines.push(" \u2022 You can unlock executives or parallel mode anytime");
|
|
117
117
|
bodyLines.push("");
|
|
118
118
|
bodyLines.push(" \u{1F4A1} Quick start:");
|
|
119
119
|
bodyLines.push(" \u2022 Run `exe-os backfill-conversations` to import Claude Code history");
|
|
120
|
-
bodyLines.push(" \u2022 Say `/exe` to launch your
|
|
120
|
+
bodyLines.push(" \u2022 Say `/exe` to launch your coordinator with a full status brief");
|
|
121
121
|
bodyLines.push(" \u2022 Say `/exe-team` to manage your team");
|
|
122
122
|
let maxW = 0;
|
|
123
123
|
for (const line of [...lines, ...bodyLines]) {
|
|
@@ -196,7 +196,7 @@ function buildOrchestrationPhase(data, employees) {
|
|
|
196
196
|
return [
|
|
197
197
|
"\u{1F9ED} ORCHESTRATION",
|
|
198
198
|
" Phase 2 \u2014 Executive bench",
|
|
199
|
-
" Focus:
|
|
199
|
+
" Focus: Coordinator works with CTO/CMO/domain executives before specialist fan-out",
|
|
200
200
|
" You can switch phases anytime: exe-os org phase"
|
|
201
201
|
];
|
|
202
202
|
}
|
|
@@ -210,7 +210,7 @@ function buildOrchestrationPhase(data, employees) {
|
|
|
210
210
|
}
|
|
211
211
|
return [
|
|
212
212
|
"\u{1F9ED} ORCHESTRATION",
|
|
213
|
-
" Phase 1 \u2014
|
|
213
|
+
" Phase 1 \u2014 Coordinator / Chief of Staff mode",
|
|
214
214
|
" Focus: building company context before delegation",
|
|
215
215
|
phase1Signal ? " Signal: repeated domain work detected. Consider: exe-os org unlock executives" : " Ready later? exe-os org unlock executives"
|
|
216
216
|
];
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
init_tasks
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-RGKFUMLQ.js";
|
|
4
4
|
import {
|
|
5
5
|
getProjectName,
|
|
6
6
|
init_project_name
|
|
7
7
|
} from "./chunk-TOR5ZPKF.js";
|
|
8
8
|
import {
|
|
9
9
|
getActiveAgent
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-CBSUVFZ7.js";
|
|
11
11
|
import {
|
|
12
12
|
listTasks
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-Y3JNBCZI.js";
|
|
14
14
|
|
|
15
15
|
// src/mcp/tools/list-tasks.ts
|
|
16
16
|
init_tasks();
|
|
@@ -1,20 +1,25 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PLATFORM_PROCEDURE_TITLES
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-WZDI6UJ6.js";
|
|
4
4
|
import {
|
|
5
|
+
getClient,
|
|
5
6
|
getIdentity,
|
|
7
|
+
init_database,
|
|
8
|
+
init_identity,
|
|
6
9
|
listIdentities,
|
|
7
10
|
updateIdentity
|
|
8
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-55LEDLDE.js";
|
|
9
12
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./chunk-
|
|
13
|
+
atomicWriteJsonSync,
|
|
14
|
+
init_secure_files
|
|
15
|
+
} from "./chunk-FZ23OZL3.js";
|
|
13
16
|
|
|
14
17
|
// src/lib/orchestration-package.ts
|
|
18
|
+
init_secure_files();
|
|
15
19
|
init_database();
|
|
20
|
+
init_identity();
|
|
16
21
|
import { randomUUID } from "crypto";
|
|
17
|
-
import { copyFileSync, existsSync, mkdirSync, readFileSync
|
|
22
|
+
import { copyFileSync, existsSync, mkdirSync, readFileSync } from "fs";
|
|
18
23
|
import os from "os";
|
|
19
24
|
import path from "path";
|
|
20
25
|
var PACKAGE_VERSION = "1.0";
|
|
@@ -112,8 +117,7 @@ function writeRosterFile(roster) {
|
|
|
112
117
|
}
|
|
113
118
|
copyFileSync(rosterPath, getBackupPath());
|
|
114
119
|
}
|
|
115
|
-
|
|
116
|
-
`, "utf-8");
|
|
120
|
+
atomicWriteJsonSync(rosterPath, roster);
|
|
117
121
|
}
|
|
118
122
|
function buildImportedRosterEntries(roster, timestamp) {
|
|
119
123
|
return roster.map((entry) => ({
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
init_session_scope,
|
|
3
3
|
session_scope_exports
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-EP523LJD.js";
|
|
5
5
|
import {
|
|
6
6
|
cleanupOrphanedReviews,
|
|
7
7
|
cleanupReviewFile,
|
|
@@ -31,7 +31,7 @@ import {
|
|
|
31
31
|
updateTaskStatus,
|
|
32
32
|
writeCheckpoint,
|
|
33
33
|
writeNotification
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-Y3JNBCZI.js";
|
|
35
35
|
import {
|
|
36
36
|
getTransport,
|
|
37
37
|
init_transport
|
|
@@ -46,18 +46,16 @@ import {
|
|
|
46
46
|
} from "./chunk-WZQ4CPRG.js";
|
|
47
47
|
import {
|
|
48
48
|
getClient,
|
|
49
|
-
init_database
|
|
50
|
-
} from "./chunk-UEWGUOXB.js";
|
|
51
|
-
import {
|
|
52
49
|
getCoordinatorName,
|
|
50
|
+
init_database,
|
|
53
51
|
init_employees,
|
|
54
52
|
isCoordinatorName,
|
|
55
53
|
isMultiInstance
|
|
56
|
-
} from "./chunk-
|
|
54
|
+
} from "./chunk-55LEDLDE.js";
|
|
57
55
|
import {
|
|
58
56
|
EXE_AI_DIR,
|
|
59
57
|
init_config
|
|
60
|
-
} from "./chunk-
|
|
58
|
+
} from "./chunk-VA42PIIY.js";
|
|
61
59
|
import {
|
|
62
60
|
__esm,
|
|
63
61
|
__export,
|
|
@@ -185,6 +183,28 @@ async function dispatchTaskToEmployee(input) {
|
|
|
185
183
|
const transport = getTransport();
|
|
186
184
|
const exeSession = resolveExeSession();
|
|
187
185
|
if (!exeSession) return { dispatched: "session_missing" };
|
|
186
|
+
const multiInstance = isMultiInstance(input.assignedTo);
|
|
187
|
+
if (multiInstance) {
|
|
188
|
+
const projectDir = input.projectDir ?? process.cwd();
|
|
189
|
+
const result = ensureEmployee(input.assignedTo, exeSession, projectDir, {
|
|
190
|
+
autoInstance: true,
|
|
191
|
+
runtimeOverride: input.spawnRuntime,
|
|
192
|
+
modelOverride: input.spawnModel
|
|
193
|
+
});
|
|
194
|
+
if (result.status === "failed") {
|
|
195
|
+
process.stderr.write(
|
|
196
|
+
`[dispatch-audit] SPAWN FAILED \u2192 ${input.assignedTo} | task="${input.title}" [${input.priority}] | error=${result.error}
|
|
197
|
+
`
|
|
198
|
+
);
|
|
199
|
+
return { dispatched: "session_missing" };
|
|
200
|
+
}
|
|
201
|
+
const dispatched = result.status === "intercom_sent" || result.status === "intercom_unprocessed" ? "sent_unverified" : "spawned";
|
|
202
|
+
process.stderr.write(
|
|
203
|
+
`[dispatch-audit] ${dispatched === "spawned" ? "SPAWNED" : "INTERCOM"} \u2192 ${result.sessionName} | task="${input.title}" [${input.priority}]
|
|
204
|
+
`
|
|
205
|
+
);
|
|
206
|
+
return { dispatched, session: result.sessionName, crossProject };
|
|
207
|
+
}
|
|
188
208
|
const sessionName = employeeSessionName(input.assignedTo, exeSession);
|
|
189
209
|
if (transport.isAlive(sessionName)) {
|
|
190
210
|
const result = sendIntercom(sessionName, { force: true });
|
|
@@ -197,7 +217,6 @@ async function dispatchTaskToEmployee(input) {
|
|
|
197
217
|
} else {
|
|
198
218
|
const projectDir = input.projectDir ?? process.cwd();
|
|
199
219
|
const result = ensureEmployee(input.assignedTo, exeSession, projectDir, {
|
|
200
|
-
autoInstance: isMultiInstance(input.assignedTo),
|
|
201
220
|
runtimeOverride: input.spawnRuntime,
|
|
202
221
|
modelOverride: input.spawnModel
|
|
203
222
|
});
|
|
@@ -406,7 +425,7 @@ async function updateTask(input) {
|
|
|
406
425
|
}
|
|
407
426
|
}
|
|
408
427
|
try {
|
|
409
|
-
const { pushNotifyAsync } = await import("./push-notifications-
|
|
428
|
+
const { pushNotifyAsync } = await import("./push-notifications-2SBCAIA2.js");
|
|
410
429
|
pushNotifyAsync({
|
|
411
430
|
event: "review_ready",
|
|
412
431
|
title: `Review ready: ${taskTitle.slice(0, 50)}`,
|
|
@@ -418,7 +437,7 @@ async function updateTask(input) {
|
|
|
418
437
|
}
|
|
419
438
|
if (!isCoordinator) {
|
|
420
439
|
try {
|
|
421
|
-
const { pushNotifyAsync } = await import("./push-notifications-
|
|
440
|
+
const { pushNotifyAsync } = await import("./push-notifications-2SBCAIA2.js");
|
|
422
441
|
const event = input.status === "needs_review" ? "review_ready" : "task_complete";
|
|
423
442
|
pushNotifyAsync({
|
|
424
443
|
event,
|
|
@@ -433,7 +452,7 @@ async function updateTask(input) {
|
|
|
433
452
|
await markTaskNotificationsRead(taskFile);
|
|
434
453
|
if (input.status === "needs_review" && !isCoordinator) {
|
|
435
454
|
try {
|
|
436
|
-
const { writeNotification: writeNotification2 } = await import("./notifications-
|
|
455
|
+
const { writeNotification: writeNotification2 } = await import("./notifications-OXEFBG2D.js");
|
|
437
456
|
await writeNotification2({
|
|
438
457
|
agentId: String(row.assigned_to),
|
|
439
458
|
agentRole: String(row.assigned_to),
|
|
@@ -589,7 +589,7 @@ function auditHookOwnership() {
|
|
|
589
589
|
}
|
|
590
590
|
async function auditShards() {
|
|
591
591
|
try {
|
|
592
|
-
const { auditShardHealth } = await import("./shard-manager-
|
|
592
|
+
const { auditShardHealth } = await import("./shard-manager-3MDFLDOZ.js");
|
|
593
593
|
const report = await auditShardHealth();
|
|
594
594
|
return {
|
|
595
595
|
total: report.total,
|
|
@@ -605,7 +605,7 @@ async function auditShards() {
|
|
|
605
605
|
async function auditKeyHealth() {
|
|
606
606
|
try {
|
|
607
607
|
const { getMasterKey } = await import("./lib/keychain.js");
|
|
608
|
-
const { getKeyBackupStatus } = await import("./key-backup-status-
|
|
608
|
+
const { getKeyBackupStatus } = await import("./key-backup-status-M4W77D3P.js");
|
|
609
609
|
const key = await getMasterKey();
|
|
610
610
|
const backup = getKeyBackupStatus();
|
|
611
611
|
return {
|
|
@@ -830,7 +830,7 @@ function formatReport(report, flags) {
|
|
|
830
830
|
return lines.join("\n");
|
|
831
831
|
}
|
|
832
832
|
async function fixNullVectors() {
|
|
833
|
-
const { tryAcquireWorkerSlot, registerWorkerPid } = await import("./worker-gate-
|
|
833
|
+
const { tryAcquireWorkerSlot, registerWorkerPid } = await import("./worker-gate-WM2RGEZE.js");
|
|
834
834
|
if (!tryAcquireWorkerSlot()) {
|
|
835
835
|
process.stderr.write("[exe-doctor] Worker gate full \u2014 waiting for existing backfill workers to finish\n");
|
|
836
836
|
await new Promise((r) => setTimeout(r, 5e3));
|
|
@@ -914,7 +914,7 @@ async function fixBloated(client, bloated, dryRun) {
|
|
|
914
914
|
return chunksCreated;
|
|
915
915
|
}
|
|
916
916
|
async function fixShards(dryRun) {
|
|
917
|
-
const { auditShardHealth } = await import("./shard-manager-
|
|
917
|
+
const { auditShardHealth } = await import("./shard-manager-3MDFLDOZ.js");
|
|
918
918
|
const report = await auditShardHealth({ repair: true, dryRun });
|
|
919
919
|
return {
|
|
920
920
|
total: report.total,
|
|
@@ -951,7 +951,7 @@ function splitAtSentences(text, maxChunkSize) {
|
|
|
951
951
|
}
|
|
952
952
|
async function main(argv = process.argv.slice(2)) {
|
|
953
953
|
const flags = parseFlags(argv);
|
|
954
|
-
const { fastDbInit } = await import("./fast-db-init-
|
|
954
|
+
const { fastDbInit } = await import("./fast-db-init-ADRYLHUA.js");
|
|
955
955
|
const client = await fastDbInit();
|
|
956
956
|
const report = await runAudit(client, flags);
|
|
957
957
|
console.log(formatReport(report, flags));
|
|
@@ -962,7 +962,7 @@ ${mode} Applying repairs...
|
|
|
962
962
|
`);
|
|
963
963
|
if (!flags.dryRun) {
|
|
964
964
|
try {
|
|
965
|
-
const { createBackup } = await import("./db-backup-
|
|
965
|
+
const { createBackup } = await import("./db-backup-YHDR4SXR.js");
|
|
966
966
|
const backupPath = createBackup("pre-fix");
|
|
967
967
|
if (backupPath) {
|
|
968
968
|
console.log(` Backup created: ${backupPath.split("/").pop()}`);
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
EXE_AI_DIR,
|
|
3
3
|
init_config
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-VA42PIIY.js";
|
|
5
5
|
import {
|
|
6
6
|
enforcePrivateFileSync,
|
|
7
7
|
ensurePrivateDirSync,
|
|
8
8
|
init_secure_files
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-FZ23OZL3.js";
|
|
10
10
|
import {
|
|
11
11
|
__esm
|
|
12
12
|
} from "./chunk-KFQGP6VL.js";
|
|
@@ -6,12 +6,12 @@ import {
|
|
|
6
6
|
import {
|
|
7
7
|
EXE_AI_DIR,
|
|
8
8
|
init_config
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-VA42PIIY.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
11
|
+
atomicWriteJsonSync,
|
|
12
12
|
ensurePrivateDirSync,
|
|
13
13
|
init_secure_files
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-FZ23OZL3.js";
|
|
15
15
|
import {
|
|
16
16
|
__esm,
|
|
17
17
|
__export
|
|
@@ -32,7 +32,7 @@ __export(agent_config_exports, {
|
|
|
32
32
|
setAgentMcps: () => setAgentMcps,
|
|
33
33
|
setAgentRuntime: () => setAgentRuntime
|
|
34
34
|
});
|
|
35
|
-
import { readFileSync,
|
|
35
|
+
import { readFileSync, existsSync } from "fs";
|
|
36
36
|
import path from "path";
|
|
37
37
|
function loadAgentConfig() {
|
|
38
38
|
if (!existsSync(AGENT_CONFIG_PATH)) return {};
|
|
@@ -45,8 +45,7 @@ function loadAgentConfig() {
|
|
|
45
45
|
function saveAgentConfig(config) {
|
|
46
46
|
const dir = path.dirname(AGENT_CONFIG_PATH);
|
|
47
47
|
ensurePrivateDirSync(dir);
|
|
48
|
-
|
|
49
|
-
enforcePrivateFileSync(AGENT_CONFIG_PATH);
|
|
48
|
+
atomicWriteJsonSync(AGENT_CONFIG_PATH, config);
|
|
50
49
|
}
|
|
51
50
|
function getAgentRuntime(agentId) {
|
|
52
51
|
const config = loadAgentConfig();
|
|
@@ -6,11 +6,11 @@ import {
|
|
|
6
6
|
resolveExeSession,
|
|
7
7
|
sendIntercom,
|
|
8
8
|
strictSessionScopeFilter
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-Y3JNBCZI.js";
|
|
10
10
|
import {
|
|
11
11
|
getClient,
|
|
12
12
|
init_database
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-55LEDLDE.js";
|
|
14
14
|
|
|
15
15
|
// src/lib/messaging.ts
|
|
16
16
|
init_database();
|