@askexenow/exe-os 0.9.140 → 0.9.142
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 +31 -19
- 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-D3RGDLMN.js} +12 -13
- package/dist/{catchup-brief-OMDCLETB.js → catchup-brief-LD2QLE2D.js} +14 -15
- package/dist/{chunk-2JAEWE7P.js → chunk-25QUV6FU.js} +6 -6
- package/dist/{chunk-OIUPHIN2.js → chunk-2NWMGMNH.js} +9 -9
- package/dist/{chunk-CLIW2CES.js → chunk-32Z4GK25.js} +8 -10
- package/dist/{chunk-3SPQNGRT.js → chunk-4AZYVT6A.js} +1 -1
- package/dist/{chunk-5K3CCPNX.js → chunk-4CBBN2XD.js} +245 -111
- package/dist/{chunk-3WSH4P4Z.js → chunk-4GA5XZWY.js} +2 -2
- package/dist/{chunk-XUHFQHGZ.js → chunk-4JZNDVZH.js} +37 -4
- package/dist/{chunk-CSVYC6HH.js → chunk-4OHIVMHS.js} +1 -1
- package/dist/{chunk-STVJLWSA.js → chunk-4YSDLTCT.js} +4 -4
- package/dist/{chunk-UEWGUOXB.js → chunk-55LEDLDE.js} +499 -27
- package/dist/{chunk-UOCQQHZT.js → chunk-5PZ3HSGP.js} +87 -48
- 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-LPG22IL5.js → chunk-7BPUBHGW.js} +2 -2
- package/dist/{chunk-4YNGDNDI.js → chunk-7M3DNYMR.js} +4 -4
- package/dist/{chunk-H24OVCAN.js → chunk-AJOZXJLJ.js} +1 -1
- package/dist/{chunk-YWCPAQBH.js → chunk-AOJHEMHE.js} +36 -15
- 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-54MB5TNF.js → chunk-CHXX73NX.js} +2 -2
- package/dist/{chunk-5LJQSXUG.js → chunk-CK5ZAMWX.js} +3 -3
- package/dist/{chunk-VTZ4QOBS.js → chunk-CQX2WDI5.js} +1 -1
- package/dist/{chunk-7HZFWAIR.js → chunk-DH6N5G4T.js} +1 -1
- package/dist/{chunk-QVVV6DHI.js → chunk-DKWTDULH.js} +2 -2
- package/dist/{chunk-GUDCQBRY.js → chunk-DU4ZN7VF.js} +1 -1
- package/dist/{chunk-PS4UUDIG.js → chunk-DUDPJVAC.js} +5 -7
- package/dist/{chunk-5PB6BRLA.js → chunk-E2KEN3PG.js} +1 -1
- package/dist/{chunk-Q3MIJPXM.js → chunk-EAVACBVO.js} +2 -2
- package/dist/{chunk-FCO2K73K.js → chunk-EENNKZMN.js} +3 -3
- 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-GUMRIUI5.js +63 -0
- package/dist/{chunk-HO4C7QMH.js → chunk-ITJMONDK.js} +1 -1
- package/dist/{chunk-OYBQKDV5.js → chunk-JAFHOB5P.js} +1 -1
- package/dist/{chunk-UE3BYGWY.js → chunk-JMMY24KD.js} +30 -15
- package/dist/{chunk-CYCRC2KN.js → chunk-JSVRX6IW.js} +30 -11
- package/dist/{chunk-ABCDEJUD.js → chunk-KCLL5ECT.js} +1 -1
- package/dist/{chunk-SPMZRVXK.js → chunk-LCZRXRB7.js} +2 -2
- package/dist/{chunk-XNWXVGEA.js → chunk-LD6WE7DK.js} +2 -2
- package/dist/{chunk-6EBG7VWN.js → chunk-LFVL3R6H.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-4ITOWLHX.js → chunk-MRX42FAS.js} +4 -6
- 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-DEHYRM3I.js → chunk-NWUWTV7B.js} +1 -1
- 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-NX4WEVG6.js → chunk-Q53ZYTIU.js} +12 -8
- 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-73JE5PVU.js → chunk-TJI7DMBT.js} +7 -7
- 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-34O6PRWE.js → chunk-UB7E2FEB.js} +4 -6
- package/dist/{chunk-POU4ZLBM.js → chunk-UKCSMGNM.js} +2 -2
- package/dist/{chunk-BBVMIH76.js → chunk-UYFPFO6Q.js} +8 -8
- package/dist/{chunk-HIOFKHTO.js → chunk-UYNFWD54.js} +3 -3
- package/dist/{chunk-IG5XFUYJ.js → chunk-VA42PIIY.js} +25 -7
- package/dist/{chunk-DMFM77DV.js → chunk-WZDI6UJ6.js} +1 -1
- package/dist/{chunk-6LKDJ5WX.js → chunk-XOVQ43JR.js} +52 -10
- package/dist/{chunk-762FPANW.js → chunk-XRPIVNFS.js} +1 -1
- 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-HGUHXI6W.js} +2 -2
- package/dist/{cto-delegation-gate-7SQNLKN7.js → cto-delegation-gate-RJ5EVOY3.js} +12 -14
- package/dist/{daemon-auth-6XMF4JG5.js → daemon-auth-VXM7MOF4.js} +3 -3
- package/dist/{daemon-orchestration-7YUD2H64.js → daemon-orchestration-3E3BIK7E.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-KNR4LT2L.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-O4OIPQB3.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 +34 -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 +151 -59
- 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/message-queue-client-2YTGEB5H.js +92 -0
- package/dist/{notifications-WWROKWFT.js → notifications-APKWB63A.js} +10 -11
- package/dist/{orchestration-phase-SBCILK4O.js → orchestration-phase-365P32CD.js} +3 -3
- package/dist/{orchestrator-V3EMR3AU.js → orchestrator-W62CLQLP.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-SR2WX2X4.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-S5DODJU4.js} +11 -12
- package/dist/setup-wizard-H4TZHU36.js +12 -0
- package/dist/{shard-manager-CIDCCPJ4.js → shard-manager-3MDFLDOZ.js} +3 -3
- package/dist/{task-enforcement-YMGIERU4.js → task-enforcement-L7EGD6LJ.js} +10 -11
- package/dist/{task-scope-RMJLXJ7S.js → task-scope-QNRAYD7S.js} +10 -11
- package/dist/{tasks-crud-ZRXPR3UB.js → tasks-crud-JHHIROCS.js} +10 -11
- package/dist/{tasks-review-NQUJR52I.js → tasks-review-TXMVOOFN.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-65WM7L5Q.js} +10 -11
- package/dist/{worker-gate-H43H32OF.js → worker-gate-WM2RGEZE.js} +3 -3
- package/dist/{workflow-engine-EPWKDGHR.js → workflow-engine-PK2TC7UE.js} +2 -2
- package/package.json +1 -1
- package/release-notes.json +207 -199
- 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-VEGDNUBO.js → chunk-72O7CSKA.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-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,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
isCrdtSyncEnabled
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-JZB67O4M.js";
|
|
4
4
|
import {
|
|
5
5
|
decryptSyncBlob,
|
|
6
6
|
encryptSyncBlob,
|
|
@@ -10,27 +10,25 @@ import {
|
|
|
10
10
|
} from "./chunk-HJMM4QMY.js";
|
|
11
11
|
import {
|
|
12
12
|
getClient,
|
|
13
|
-
init_database
|
|
14
|
-
} from "./chunk-UEWGUOXB.js";
|
|
15
|
-
import {
|
|
13
|
+
init_database,
|
|
16
14
|
init_employees,
|
|
17
15
|
loadEmployees,
|
|
18
16
|
registerBinSymlinks,
|
|
19
17
|
saveEmployees
|
|
20
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-55LEDLDE.js";
|
|
21
19
|
import {
|
|
22
20
|
init_license,
|
|
23
21
|
loadDeviceId
|
|
24
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-GLVF7ENO.js";
|
|
25
23
|
import {
|
|
26
24
|
EXE_AI_DIR,
|
|
27
25
|
init_config
|
|
28
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-VA42PIIY.js";
|
|
29
27
|
import {
|
|
30
28
|
enforcePrivateFileSync,
|
|
31
29
|
ensurePrivateDirSync,
|
|
32
30
|
init_secure_files
|
|
33
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-FZ23OZL3.js";
|
|
34
32
|
|
|
35
33
|
// src/lib/cloud-sync.ts
|
|
36
34
|
init_database();
|
|
@@ -77,6 +75,9 @@ var FETCH_TIMEOUT_MS = 3e4;
|
|
|
77
75
|
var PUSH_BATCH_SIZE = 5e3;
|
|
78
76
|
var ROSTER_LOCK_PATH = path.join(EXE_AI_DIR, "roster-merge.lock");
|
|
79
77
|
var LOCK_STALE_MS = 3e4;
|
|
78
|
+
var SYNC_COOLDOWN_MS = 1e4;
|
|
79
|
+
var _lastSyncPushVersion = -1;
|
|
80
|
+
var _lastSyncPushTimestamp = 0;
|
|
80
81
|
var _pgPromise = null;
|
|
81
82
|
var _pgFailed = false;
|
|
82
83
|
function isTruthyEnv(value) {
|
|
@@ -483,7 +484,7 @@ async function cloudSync(config) {
|
|
|
483
484
|
let pulled = 0;
|
|
484
485
|
if (pullResult.records.length > 0) {
|
|
485
486
|
if (isCrdtSyncEnabled()) {
|
|
486
|
-
const { initCrdtDoc, importExistingMemories, readAllMemories } = await import("./crdt-sync-
|
|
487
|
+
const { initCrdtDoc, importExistingMemories, readAllMemories } = await import("./crdt-sync-WXVYQ5ZO.js");
|
|
487
488
|
initCrdtDoc();
|
|
488
489
|
importExistingMemories(
|
|
489
490
|
pullResult.records.map((rec) => ({
|
|
@@ -644,9 +645,13 @@ async function cloudSync(config) {
|
|
|
644
645
|
const lastPushVersion = pushMeta.rows.length > 0 ? Number(pushMeta.rows[0].value) : 0;
|
|
645
646
|
let pushed = 0;
|
|
646
647
|
let batchCursor = lastPushVersion;
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
648
|
+
const nowMs = Date.now();
|
|
649
|
+
const pushCooldownActive = lastPushVersion > 0 && lastPushVersion === _lastSyncPushVersion && nowMs - _lastSyncPushTimestamp < SYNC_COOLDOWN_MS;
|
|
650
|
+
if (pushCooldownActive) {
|
|
651
|
+
} else {
|
|
652
|
+
while (true) {
|
|
653
|
+
const recordsResult = await client.execute({
|
|
654
|
+
sql: `SELECT id, agent_id, agent_role, session_id, timestamp,
|
|
650
655
|
tool_name, project_name, has_error, raw_text, version,
|
|
651
656
|
author_device_id, scope
|
|
652
657
|
FROM memories
|
|
@@ -654,38 +659,41 @@ async function cloudSync(config) {
|
|
|
654
659
|
AND (scope IS NULL OR scope != 'personal')
|
|
655
660
|
ORDER BY version ASC
|
|
656
661
|
LIMIT ?`,
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
662
|
+
args: [batchCursor, PUSH_BATCH_SIZE]
|
|
663
|
+
});
|
|
664
|
+
if (recordsResult.rows.length === 0) break;
|
|
665
|
+
const records = recordsResult.rows.map((row) => ({
|
|
666
|
+
id: row.id,
|
|
667
|
+
agent_id: row.agent_id,
|
|
668
|
+
agent_role: row.agent_role,
|
|
669
|
+
session_id: row.session_id,
|
|
670
|
+
timestamp: row.timestamp,
|
|
671
|
+
tool_name: row.tool_name,
|
|
672
|
+
project_name: row.project_name,
|
|
673
|
+
has_error: row.has_error,
|
|
674
|
+
raw_text: row.raw_text,
|
|
675
|
+
version: row.version,
|
|
676
|
+
author_device_id: row.author_device_id,
|
|
677
|
+
scope: row.scope
|
|
678
|
+
}));
|
|
679
|
+
const maxVersion = Number(records[records.length - 1].version);
|
|
680
|
+
const pushOk = await cloudPush(records, maxVersion, config);
|
|
681
|
+
if (!pushOk) break;
|
|
682
|
+
try {
|
|
683
|
+
await pushToPostgres(records);
|
|
684
|
+
} catch (e) {
|
|
685
|
+
process.stderr.write("[cloud-sync] Postgres push of local records failed: " + (e instanceof Error ? e.message : String(e)) + "\n");
|
|
686
|
+
}
|
|
687
|
+
await client.execute({
|
|
688
|
+
sql: "INSERT OR REPLACE INTO sync_meta (key, value) VALUES ('last_cloud_push_version', ?)",
|
|
689
|
+
args: [String(maxVersion)]
|
|
690
|
+
});
|
|
691
|
+
pushed += records.length;
|
|
692
|
+
batchCursor = maxVersion;
|
|
693
|
+
_lastSyncPushVersion = maxVersion;
|
|
694
|
+
_lastSyncPushTimestamp = Date.now();
|
|
695
|
+
if (recordsResult.rows.length < PUSH_BATCH_SIZE) break;
|
|
681
696
|
}
|
|
682
|
-
await client.execute({
|
|
683
|
-
sql: "INSERT OR REPLACE INTO sync_meta (key, value) VALUES ('last_cloud_push_version', ?)",
|
|
684
|
-
args: [String(maxVersion)]
|
|
685
|
-
});
|
|
686
|
-
pushed += records.length;
|
|
687
|
-
batchCursor = maxVersion;
|
|
688
|
-
if (recordsResult.rows.length < PUSH_BATCH_SIZE) break;
|
|
689
697
|
}
|
|
690
698
|
try {
|
|
691
699
|
await cloudPushRoster(config);
|
|
@@ -845,7 +853,7 @@ async function cloudSync(config) {
|
|
|
845
853
|
}
|
|
846
854
|
const totalMemories = await countRows("SELECT COUNT(*) as cnt FROM memories WHERE status = 'active' OR status IS NULL");
|
|
847
855
|
try {
|
|
848
|
-
const { getLatestBackup } = await import("./db-backup-
|
|
856
|
+
const { getLatestBackup } = await import("./db-backup-YHDR4SXR.js");
|
|
849
857
|
const latestBackup = getLatestBackup();
|
|
850
858
|
if (latestBackup) {
|
|
851
859
|
const backupSize = statSync(latestBackup).size;
|
|
@@ -1414,10 +1422,34 @@ async function cloudPullTasks(config) {
|
|
|
1414
1422
|
if (!remoteTasks || remoteTasks.length === 0) return { pulled: 0 };
|
|
1415
1423
|
const client = getClient();
|
|
1416
1424
|
const stmts = remoteTasks.map((t) => ({
|
|
1417
|
-
sql: `INSERT
|
|
1425
|
+
sql: `INSERT INTO tasks
|
|
1418
1426
|
(id, title, assigned_to, assigned_by, project_name, priority, status, task_file, created_at, updated_at,
|
|
1419
|
-
blocked_by, parent_task_id, budget_tokens, budget_fallback_model, tokens_used, tokens_warned_at
|
|
1420
|
-
|
|
1427
|
+
blocked_by, parent_task_id, budget_tokens, budget_fallback_model, tokens_used, tokens_warned_at,
|
|
1428
|
+
reviewer, context, complexity, session_scope, spawn_runtime, spawn_model, result)
|
|
1429
|
+
VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
|
|
1430
|
+
ON CONFLICT(id) DO UPDATE SET
|
|
1431
|
+
title = excluded.title,
|
|
1432
|
+
assigned_to = excluded.assigned_to,
|
|
1433
|
+
assigned_by = excluded.assigned_by,
|
|
1434
|
+
project_name = excluded.project_name,
|
|
1435
|
+
priority = excluded.priority,
|
|
1436
|
+
status = excluded.status,
|
|
1437
|
+
task_file = excluded.task_file,
|
|
1438
|
+
updated_at = excluded.updated_at,
|
|
1439
|
+
blocked_by = excluded.blocked_by,
|
|
1440
|
+
parent_task_id = excluded.parent_task_id,
|
|
1441
|
+
budget_tokens = excluded.budget_tokens,
|
|
1442
|
+
budget_fallback_model = excluded.budget_fallback_model,
|
|
1443
|
+
tokens_used = excluded.tokens_used,
|
|
1444
|
+
tokens_warned_at = excluded.tokens_warned_at,
|
|
1445
|
+
reviewer = COALESCE(excluded.reviewer, tasks.reviewer),
|
|
1446
|
+
context = COALESCE(excluded.context, tasks.context),
|
|
1447
|
+
complexity = COALESCE(excluded.complexity, tasks.complexity),
|
|
1448
|
+
session_scope = COALESCE(excluded.session_scope, tasks.session_scope),
|
|
1449
|
+
spawn_runtime = COALESCE(excluded.spawn_runtime, tasks.spawn_runtime),
|
|
1450
|
+
spawn_model = COALESCE(excluded.spawn_model, tasks.spawn_model),
|
|
1451
|
+
result = COALESCE(excluded.result, tasks.result)
|
|
1452
|
+
WHERE excluded.updated_at > tasks.updated_at`,
|
|
1421
1453
|
args: [
|
|
1422
1454
|
sqlSafe(t.id),
|
|
1423
1455
|
sqlSafe(t.title),
|
|
@@ -1434,7 +1466,14 @@ async function cloudPullTasks(config) {
|
|
|
1434
1466
|
sqlSafe(t.budget_tokens),
|
|
1435
1467
|
sqlSafe(t.budget_fallback_model),
|
|
1436
1468
|
sqlSafe(t.tokens_used ?? 0),
|
|
1437
|
-
sqlSafe(t.tokens_warned_at)
|
|
1469
|
+
sqlSafe(t.tokens_warned_at),
|
|
1470
|
+
sqlSafe(t.reviewer),
|
|
1471
|
+
sqlSafe(t.context),
|
|
1472
|
+
sqlSafe(t.complexity),
|
|
1473
|
+
sqlSafe(t.session_scope),
|
|
1474
|
+
sqlSafe(t.spawn_runtime),
|
|
1475
|
+
sqlSafe(t.spawn_model),
|
|
1476
|
+
sqlSafe(t.result)
|
|
1438
1477
|
]
|
|
1439
1478
|
}));
|
|
1440
1479
|
await client.batch(stmts, "write");
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
import {
|
|
6
6
|
init_tmux_routing,
|
|
7
7
|
resolveExeSession
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-AOJHEMHE.js";
|
|
9
9
|
import {
|
|
10
10
|
init_session_registry,
|
|
11
11
|
listSessions
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
import {
|
|
14
14
|
init_employees,
|
|
15
15
|
isCoordinatorName
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-55LEDLDE.js";
|
|
17
17
|
import {
|
|
18
18
|
__esm,
|
|
19
19
|
__export
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
|
-
getIdentity
|
|
3
|
-
} from "./chunk-MQV4UKTS.js";
|
|
4
|
-
import {
|
|
2
|
+
getIdentity,
|
|
5
3
|
init_employees,
|
|
4
|
+
init_identity,
|
|
6
5
|
loadEmployeesSync
|
|
7
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-55LEDLDE.js";
|
|
8
7
|
|
|
9
8
|
// src/lib/drift-probes.ts
|
|
9
|
+
init_identity();
|
|
10
10
|
init_employees();
|
|
11
11
|
var DRIFT_THRESHOLD = 80;
|
|
12
12
|
async function getRecentMemories(agentId, limit) {
|
|
@@ -31,7 +31,7 @@ import {
|
|
|
31
31
|
getAgentRuntime,
|
|
32
32
|
init_agent_config,
|
|
33
33
|
normalizeCcModelName
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-SOHGHGWU.js";
|
|
35
35
|
import {
|
|
36
36
|
RUNTIME_TABLE,
|
|
37
37
|
init_runtime_table
|
|
@@ -40,7 +40,7 @@ import {
|
|
|
40
40
|
PlanLimitError,
|
|
41
41
|
assertEmployeeLimitSync,
|
|
42
42
|
init_plan_limits
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-NMG76472.js";
|
|
44
44
|
import {
|
|
45
45
|
getSessionKey,
|
|
46
46
|
init_session_key
|
|
@@ -53,14 +53,10 @@ import {
|
|
|
53
53
|
init_state_bus,
|
|
54
54
|
orgBus
|
|
55
55
|
} from "./chunk-WZQ4CPRG.js";
|
|
56
|
-
import {
|
|
57
|
-
getClient,
|
|
58
|
-
init_database
|
|
59
|
-
} from "./chunk-UEWGUOXB.js";
|
|
60
56
|
import {
|
|
61
57
|
ensureAgentSymlink,
|
|
62
58
|
init_agent_symlinks
|
|
63
|
-
} from "./chunk-
|
|
59
|
+
} from "./chunk-DU4ZN7VF.js";
|
|
64
60
|
import {
|
|
65
61
|
expandDualPrefixTools,
|
|
66
62
|
init_mcp_prefix
|
|
@@ -68,21 +64,23 @@ import {
|
|
|
68
64
|
import {
|
|
69
65
|
baseAgentName,
|
|
70
66
|
employees_exports,
|
|
67
|
+
getClient,
|
|
71
68
|
getCoordinatorName,
|
|
72
69
|
getEmployee,
|
|
70
|
+
init_database,
|
|
73
71
|
init_employees,
|
|
74
72
|
isCoordinatorName,
|
|
75
73
|
loadEmployees,
|
|
76
74
|
loadEmployeesSync
|
|
77
|
-
} from "./chunk-
|
|
75
|
+
} from "./chunk-55LEDLDE.js";
|
|
78
76
|
import {
|
|
79
77
|
init_license,
|
|
80
78
|
loadDeviceId
|
|
81
|
-
} from "./chunk-
|
|
79
|
+
} from "./chunk-GLVF7ENO.js";
|
|
82
80
|
import {
|
|
83
81
|
EXE_AI_DIR,
|
|
84
82
|
init_config
|
|
85
|
-
} from "./chunk-
|
|
83
|
+
} from "./chunk-VA42PIIY.js";
|
|
86
84
|
import {
|
|
87
85
|
__esm,
|
|
88
86
|
__export,
|
|
@@ -347,7 +345,7 @@ async function createTaskCore(input) {
|
|
|
347
345
|
if (isCoordinatorSession) {
|
|
348
346
|
earlySessionScope = resolved;
|
|
349
347
|
} else {
|
|
350
|
-
const { getSessionProject } = await import("./session-scope-
|
|
348
|
+
const { getSessionProject } = await import("./session-scope-S5DODJU4.js");
|
|
351
349
|
const sessionProject = getSessionProject(resolved);
|
|
352
350
|
if (sessionProject && sessionProject !== input.projectName) {
|
|
353
351
|
scopeMismatchWarning = `session/project mismatch: session "${resolved}" owns "${sessionProject}" but task targets "${input.projectName}". Routed to default scope.`;
|
|
@@ -1863,7 +1861,7 @@ async function verifyPaneAtCapacity(sessionName) {
|
|
|
1863
1861
|
reason: `capture-pane failed: ${err instanceof Error ? err.message : String(err)}`
|
|
1864
1862
|
};
|
|
1865
1863
|
}
|
|
1866
|
-
const { isAtCapacity } = await import("./capacity-monitor-
|
|
1864
|
+
const { isAtCapacity } = await import("./capacity-monitor-D3RGDLMN.js");
|
|
1867
1865
|
if (!isAtCapacity(pane)) {
|
|
1868
1866
|
return {
|
|
1869
1867
|
atCapacity: false,
|
|
@@ -2111,7 +2109,7 @@ function notifyCoordinatorTaskCompletion(coordinatorSession, agentName, taskTitl
|
|
|
2111
2109
|
}
|
|
2112
2110
|
function ensureEmployee(employeeName, exeSession, projectDir, opts) {
|
|
2113
2111
|
if (isCoordinatorName(employeeName)) {
|
|
2114
|
-
return { status: "failed", sessionName: "", error: "The
|
|
2112
|
+
return { status: "failed", sessionName: "", error: "The coordinator is not a dispatchable employee" };
|
|
2115
2113
|
}
|
|
2116
2114
|
try {
|
|
2117
2115
|
assertEmployeeLimitSync();
|
|
@@ -2121,7 +2119,7 @@ function ensureEmployee(employeeName, exeSession, projectDir, opts) {
|
|
|
2121
2119
|
}
|
|
2122
2120
|
}
|
|
2123
2121
|
try {
|
|
2124
|
-
const MAX_CONCURRENT = Number(process.env.EXE_MAX_SESSIONS) ||
|
|
2122
|
+
const MAX_CONCURRENT = Number(process.env.EXE_MAX_SESSIONS) || 50;
|
|
2125
2123
|
const { listTmuxSessions } = (init_tmux_status(), __toCommonJS(tmux_status_exports));
|
|
2126
2124
|
const liveSessions = listTmuxSessions().filter((s) => !isExeSession(s));
|
|
2127
2125
|
if (liveSessions.length >= MAX_CONCURRENT) {
|
|
@@ -2461,7 +2459,30 @@ function spawnEmployee(employeeName, exeSession, projectDir, opts) {
|
|
|
2461
2459
|
if (!booted) {
|
|
2462
2460
|
releaseSpawnLock(sessionName);
|
|
2463
2461
|
const runtimeLabel = useExeAgent ? "exe-agent" : useCodex ? "codex" : "claude";
|
|
2464
|
-
|
|
2462
|
+
process.stderr.write(
|
|
2463
|
+
`[tmux-routing] ${runtimeLabel} boot poll timed out for ${sessionName} \u2014 retrying with extended wait
|
|
2464
|
+
`
|
|
2465
|
+
);
|
|
2466
|
+
for (let j = 0; j < 30; j++) {
|
|
2467
|
+
try {
|
|
2468
|
+
execSync2("sleep 0.5");
|
|
2469
|
+
} catch {
|
|
2470
|
+
}
|
|
2471
|
+
try {
|
|
2472
|
+
const pane = transport.capturePane(sessionName);
|
|
2473
|
+
if (pane.includes("Claude Code") || pane.includes("\u276F")) {
|
|
2474
|
+
booted = true;
|
|
2475
|
+
break;
|
|
2476
|
+
}
|
|
2477
|
+
} catch {
|
|
2478
|
+
}
|
|
2479
|
+
}
|
|
2480
|
+
if (!booted) {
|
|
2481
|
+
process.stderr.write(
|
|
2482
|
+
`[tmux-routing] ${runtimeLabel} boot FAILED for ${sessionName} after 30s \u2014 session may need manual intervention
|
|
2483
|
+
`
|
|
2484
|
+
);
|
|
2485
|
+
}
|
|
2465
2486
|
}
|
|
2466
2487
|
if (!useExeAgent && !useCodex) {
|
|
2467
2488
|
try {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
loadPreferences
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-OI3REUP5.js";
|
|
4
4
|
import {
|
|
5
5
|
buildClaudeHttpMcpEntry
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-JAFHOB5P.js";
|
|
7
7
|
import {
|
|
8
8
|
EXE_HOOKS,
|
|
9
9
|
isLegacyHomeDirHookCommand,
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
import {
|
|
13
13
|
ensureAllAgentSymlinks,
|
|
14
14
|
init_agent_symlinks
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-DU4ZN7VF.js";
|
|
16
16
|
import {
|
|
17
17
|
MCP_LEGACY_KEY,
|
|
18
18
|
MCP_PRIMARY_KEY,
|
|
@@ -12,11 +12,11 @@ import {
|
|
|
12
12
|
getEmployee,
|
|
13
13
|
init_employees,
|
|
14
14
|
loadEmployeesSync
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-55LEDLDE.js";
|
|
16
16
|
import {
|
|
17
17
|
EXE_AI_DIR,
|
|
18
18
|
init_config
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-VA42PIIY.js";
|
|
20
20
|
|
|
21
21
|
// src/lib/active-agent.ts
|
|
22
22
|
init_config();
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
createCRMWebhookHandler,
|
|
6
6
|
parseTwentyWebhook
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-NWUWTV7B.js";
|
|
8
8
|
import {
|
|
9
9
|
WhatsAppAdapter
|
|
10
10
|
} from "./chunk-ECSNSHZ7.js";
|
|
@@ -42,7 +42,7 @@ import {
|
|
|
42
42
|
retryWithBackoff,
|
|
43
43
|
routeMessage,
|
|
44
44
|
validateGatewayConfig
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-TJI7DMBT.js";
|
|
46
46
|
import {
|
|
47
47
|
OllamaProvider
|
|
48
48
|
} from "./chunk-FWFFZGSC.js";
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
init_tasks
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-JSVRX6IW.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-AOJHEMHE.js";
|
|
14
14
|
|
|
15
15
|
// src/mcp/tools/list-tasks.ts
|
|
16
16
|
init_tasks();
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
init_task_scope,
|
|
3
3
|
sessionScopeFilter
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-AOJHEMHE.js";
|
|
5
5
|
|
|
6
6
|
// src/lib/git-task-sweep.ts
|
|
7
7
|
init_task_scope();
|
|
@@ -180,7 +180,7 @@ async function sweepTasks(projectName, options = {}) {
|
|
|
180
180
|
}
|
|
181
181
|
if (!dryRun) {
|
|
182
182
|
try {
|
|
183
|
-
const { updateTaskStatus } = await import("./tasks-crud-
|
|
183
|
+
const { updateTaskStatus } = await import("./tasks-crud-JHHIROCS.js");
|
|
184
184
|
await updateTaskStatus({
|
|
185
185
|
taskId: task.id,
|
|
186
186
|
status: "needs_review",
|
|
@@ -1,18 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
deactivateBehavior,
|
|
3
3
|
init_behaviors
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-NFX6MDEO.js";
|
|
5
5
|
import {
|
|
6
6
|
getActiveAgent
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import {
|
|
9
|
-
getClient,
|
|
10
|
-
init_database
|
|
11
|
-
} from "./chunk-UEWGUOXB.js";
|
|
7
|
+
} from "./chunk-CBSUVFZ7.js";
|
|
12
8
|
import {
|
|
13
9
|
canCoordinate,
|
|
10
|
+
getClient,
|
|
11
|
+
init_database,
|
|
14
12
|
init_employees
|
|
15
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-55LEDLDE.js";
|
|
16
14
|
|
|
17
15
|
// src/mcp/tools/deactivate-behavior.ts
|
|
18
16
|
init_behaviors();
|
|
@@ -2,12 +2,12 @@ import {
|
|
|
2
2
|
init_license,
|
|
3
3
|
loadLicense,
|
|
4
4
|
readCachedLicenseToken
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-GLVF7ENO.js";
|
|
6
6
|
import {
|
|
7
7
|
EXE_AI_DIR,
|
|
8
8
|
init_config,
|
|
9
9
|
loadConfig
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-VA42PIIY.js";
|
|
11
11
|
|
|
12
12
|
// src/bin/exe-support.ts
|
|
13
13
|
init_config();
|
|
@@ -6,11 +6,11 @@ import {
|
|
|
6
6
|
resolveExeSession,
|
|
7
7
|
sendIntercom,
|
|
8
8
|
strictSessionScopeFilter
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-AOJHEMHE.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();
|
|
@@ -136,7 +136,7 @@ async function deliverLocalMessage(messageId) {
|
|
|
136
136
|
if (!isEmployeeAlive(sessionName)) {
|
|
137
137
|
throw new Error("Session not running \u2014 message stays queued");
|
|
138
138
|
}
|
|
139
|
-
sendIntercom(sessionName);
|
|
139
|
+
sendIntercom(sessionName, { force: true });
|
|
140
140
|
await client.execute({
|
|
141
141
|
sql: "UPDATE messages SET status = 'delivered', delivered_at = ? WHERE id = ?",
|
|
142
142
|
args: [now, messageId]
|