@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 "../chunk-SH45SJQW.js";
|
|
2
2
|
import {
|
|
3
3
|
getActiveAgent
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-CBSUVFZ7.js";
|
|
5
5
|
import {
|
|
6
6
|
init_task_scope,
|
|
7
7
|
sessionScopeFilter
|
|
8
|
-
} from "../chunk-
|
|
8
|
+
} from "../chunk-Y3JNBCZI.js";
|
|
9
9
|
import "../chunk-2OG5NAO2.js";
|
|
10
10
|
import "../chunk-NEAHEC5G.js";
|
|
11
11
|
import "../chunk-KRLOFIPI.js";
|
|
@@ -13,21 +13,20 @@ import "../chunk-57HCNSFO.js";
|
|
|
13
13
|
import "../chunk-MBRLA4E3.js";
|
|
14
14
|
import "../chunk-DC4ZD76Y.js";
|
|
15
15
|
import "../chunk-PJHHFJAN.js";
|
|
16
|
-
import "../chunk-
|
|
16
|
+
import "../chunk-SOHGHGWU.js";
|
|
17
17
|
import "../chunk-JT76KRZQ.js";
|
|
18
|
-
import "../chunk-
|
|
18
|
+
import "../chunk-NMG76472.js";
|
|
19
19
|
import "../chunk-HP43GLZ6.js";
|
|
20
20
|
import "../chunk-ELE2C7L4.js";
|
|
21
21
|
import "../chunk-WZQ4CPRG.js";
|
|
22
|
-
import "../chunk-
|
|
23
|
-
import "../chunk-7SVGVGE3.js";
|
|
24
|
-
import "../chunk-4NYQAS33.js";
|
|
25
|
-
import "../chunk-GUDCQBRY.js";
|
|
22
|
+
import "../chunk-DU4ZN7VF.js";
|
|
26
23
|
import "../chunk-6BFIFI5F.js";
|
|
27
|
-
import "../chunk-
|
|
28
|
-
import "../chunk-
|
|
29
|
-
import "../chunk-
|
|
30
|
-
import "../chunk-
|
|
24
|
+
import "../chunk-55LEDLDE.js";
|
|
25
|
+
import "../chunk-5UCBVXKO.js";
|
|
26
|
+
import "../chunk-4NYQAS33.js";
|
|
27
|
+
import "../chunk-GLVF7ENO.js";
|
|
28
|
+
import "../chunk-VA42PIIY.js";
|
|
29
|
+
import "../chunk-FZ23OZL3.js";
|
|
31
30
|
import "../chunk-KFQGP6VL.js";
|
|
32
31
|
|
|
33
32
|
// src/adapters/claude/hooks/post-compact.ts
|
|
@@ -69,7 +68,7 @@ ${identity}`);
|
|
|
69
68
|
}
|
|
70
69
|
}
|
|
71
70
|
try {
|
|
72
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
71
|
+
const { fastDbInit } = await import("../fast-db-init-ADRYLHUA.js");
|
|
73
72
|
await fastDbInit();
|
|
74
73
|
const { getClient } = await import("../lib/database.js");
|
|
75
74
|
const client = getClient();
|
|
@@ -47,7 +47,7 @@ ${context}`
|
|
|
47
47
|
try {
|
|
48
48
|
const payload = JSON.parse(input);
|
|
49
49
|
const toolName = String(payload.tool_name ?? "");
|
|
50
|
-
const { getActiveAgent } = await import("../active-agent-
|
|
50
|
+
const { getActiveAgent } = await import("../active-agent-PNV6PKJK.js");
|
|
51
51
|
const driftAgent = getActiveAgent();
|
|
52
52
|
if (driftAgent.agentId !== "default" && toolName) {
|
|
53
53
|
const { existsSync: driftExists, readFileSync: driftRead, writeFileSync: driftWrite, mkdirSync: driftMkdir } = await import("fs");
|
|
@@ -106,12 +106,12 @@ You are **${driftAgent.agentId}** (${driftAgent.agentRole}). You've used ${misma
|
|
|
106
106
|
}
|
|
107
107
|
try {
|
|
108
108
|
const data = JSON.parse(input);
|
|
109
|
-
const { getActiveAgent } = await import("../active-agent-
|
|
109
|
+
const { getActiveAgent } = await import("../active-agent-PNV6PKJK.js");
|
|
110
110
|
const { detectError } = await import("../lib/error-detector.js");
|
|
111
111
|
const agent = getActiveAgent();
|
|
112
112
|
try {
|
|
113
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
114
|
-
const { recordSessionEvent } = await import("../session-events-
|
|
113
|
+
const { fastDbInit } = await import("../fast-db-init-ADRYLHUA.js");
|
|
114
|
+
const { recordSessionEvent } = await import("../session-events-5X2SSRXX.js");
|
|
115
115
|
const client = await fastDbInit();
|
|
116
116
|
const toolName = String(data.tool_name ?? "unknown");
|
|
117
117
|
const toolInput = JSON.stringify(data.tool_input ?? {});
|
|
@@ -135,7 +135,7 @@ result: ${toolResponse.slice(0, 8e3)}`,
|
|
|
135
135
|
}
|
|
136
136
|
const { loadConfigSync } = await import("../lib/config.js");
|
|
137
137
|
if (loadConfigSync().autoIngestion) {
|
|
138
|
-
const { writeMemoryViaDaemon } = await import("../memory-queue-client-
|
|
138
|
+
const { writeMemoryViaDaemon } = await import("../memory-queue-client-SZZDOZXE.js");
|
|
139
139
|
const { buildPostToolMemoryEntry } = await import("../lib/post-tool-memory.js");
|
|
140
140
|
const entry = buildPostToolMemoryEntry(data, agent);
|
|
141
141
|
if (entry) await writeMemoryViaDaemon(entry);
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import "../chunk-SH45SJQW.js";
|
|
2
2
|
import {
|
|
3
3
|
getActiveAgent
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-CBSUVFZ7.js";
|
|
5
5
|
import {
|
|
6
6
|
checkpointActiveTask,
|
|
7
7
|
writeContinuityCheckpoint
|
|
8
|
-
} from "../chunk-
|
|
9
|
-
import "../chunk-
|
|
10
|
-
import "../chunk-
|
|
11
|
-
import "../chunk-
|
|
12
|
-
import "../chunk-
|
|
8
|
+
} from "../chunk-XFBKSNNI.js";
|
|
9
|
+
import "../chunk-4GA5XZWY.js";
|
|
10
|
+
import "../chunk-ITJMONDK.js";
|
|
11
|
+
import "../chunk-UKCSMGNM.js";
|
|
12
|
+
import "../chunk-SDYBAMPW.js";
|
|
13
13
|
import {
|
|
14
14
|
init_task_scope,
|
|
15
15
|
sessionScopeFilter
|
|
16
|
-
} from "../chunk-
|
|
16
|
+
} from "../chunk-Y3JNBCZI.js";
|
|
17
17
|
import "../chunk-2OG5NAO2.js";
|
|
18
18
|
import "../chunk-NEAHEC5G.js";
|
|
19
19
|
import "../chunk-KRLOFIPI.js";
|
|
@@ -21,21 +21,20 @@ import "../chunk-57HCNSFO.js";
|
|
|
21
21
|
import "../chunk-MBRLA4E3.js";
|
|
22
22
|
import "../chunk-DC4ZD76Y.js";
|
|
23
23
|
import "../chunk-PJHHFJAN.js";
|
|
24
|
-
import "../chunk-
|
|
24
|
+
import "../chunk-SOHGHGWU.js";
|
|
25
25
|
import "../chunk-JT76KRZQ.js";
|
|
26
|
-
import "../chunk-
|
|
26
|
+
import "../chunk-NMG76472.js";
|
|
27
27
|
import "../chunk-HP43GLZ6.js";
|
|
28
28
|
import "../chunk-ELE2C7L4.js";
|
|
29
29
|
import "../chunk-WZQ4CPRG.js";
|
|
30
|
-
import "../chunk-
|
|
31
|
-
import "../chunk-7SVGVGE3.js";
|
|
32
|
-
import "../chunk-4NYQAS33.js";
|
|
33
|
-
import "../chunk-GUDCQBRY.js";
|
|
30
|
+
import "../chunk-DU4ZN7VF.js";
|
|
34
31
|
import "../chunk-6BFIFI5F.js";
|
|
35
|
-
import "../chunk-
|
|
36
|
-
import "../chunk-
|
|
37
|
-
import "../chunk-
|
|
38
|
-
import "../chunk-
|
|
32
|
+
import "../chunk-55LEDLDE.js";
|
|
33
|
+
import "../chunk-5UCBVXKO.js";
|
|
34
|
+
import "../chunk-4NYQAS33.js";
|
|
35
|
+
import "../chunk-GLVF7ENO.js";
|
|
36
|
+
import "../chunk-VA42PIIY.js";
|
|
37
|
+
import "../chunk-FZ23OZL3.js";
|
|
39
38
|
import "../chunk-KFQGP6VL.js";
|
|
40
39
|
|
|
41
40
|
// src/adapters/claude/hooks/pre-compact.ts
|
|
@@ -61,7 +60,7 @@ process.stdin.on("end", async () => {
|
|
|
61
60
|
const agent = getActiveAgent();
|
|
62
61
|
const sections = [];
|
|
63
62
|
try {
|
|
64
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
63
|
+
const { fastDbInit } = await import("../fast-db-init-ADRYLHUA.js");
|
|
65
64
|
const client = await fastDbInit();
|
|
66
65
|
const projectName = process.cwd().split("/").pop() ?? "unknown";
|
|
67
66
|
const pcScope = sessionScopeFilter();
|
|
@@ -2,11 +2,11 @@ import "../chunk-GGTUUI7J.js";
|
|
|
2
2
|
import "../chunk-SH45SJQW.js";
|
|
3
3
|
import {
|
|
4
4
|
getActiveAgent
|
|
5
|
-
} from "../chunk-
|
|
5
|
+
} from "../chunk-CBSUVFZ7.js";
|
|
6
6
|
import {
|
|
7
7
|
init_task_scope,
|
|
8
8
|
sessionScopeFilter
|
|
9
|
-
} from "../chunk-
|
|
9
|
+
} from "../chunk-Y3JNBCZI.js";
|
|
10
10
|
import "../chunk-2OG5NAO2.js";
|
|
11
11
|
import "../chunk-NEAHEC5G.js";
|
|
12
12
|
import "../chunk-KRLOFIPI.js";
|
|
@@ -14,30 +14,29 @@ import "../chunk-57HCNSFO.js";
|
|
|
14
14
|
import "../chunk-MBRLA4E3.js";
|
|
15
15
|
import "../chunk-DC4ZD76Y.js";
|
|
16
16
|
import "../chunk-PJHHFJAN.js";
|
|
17
|
-
import "../chunk-
|
|
17
|
+
import "../chunk-SOHGHGWU.js";
|
|
18
18
|
import "../chunk-JT76KRZQ.js";
|
|
19
|
-
import "../chunk-
|
|
19
|
+
import "../chunk-NMG76472.js";
|
|
20
20
|
import {
|
|
21
21
|
getSessionKey
|
|
22
22
|
} from "../chunk-HP43GLZ6.js";
|
|
23
23
|
import "../chunk-ELE2C7L4.js";
|
|
24
24
|
import "../chunk-WZQ4CPRG.js";
|
|
25
|
-
import "../chunk-
|
|
26
|
-
import "../chunk-7SVGVGE3.js";
|
|
27
|
-
import "../chunk-4NYQAS33.js";
|
|
28
|
-
import "../chunk-GUDCQBRY.js";
|
|
25
|
+
import "../chunk-DU4ZN7VF.js";
|
|
29
26
|
import "../chunk-6BFIFI5F.js";
|
|
30
27
|
import {
|
|
31
28
|
canCoordinate,
|
|
32
29
|
init_employees,
|
|
33
30
|
loadEmployeesSync
|
|
34
|
-
} from "../chunk-
|
|
35
|
-
import "../chunk-
|
|
31
|
+
} from "../chunk-55LEDLDE.js";
|
|
32
|
+
import "../chunk-5UCBVXKO.js";
|
|
33
|
+
import "../chunk-4NYQAS33.js";
|
|
34
|
+
import "../chunk-GLVF7ENO.js";
|
|
36
35
|
import {
|
|
37
36
|
EXE_AI_DIR,
|
|
38
37
|
init_config
|
|
39
|
-
} from "../chunk-
|
|
40
|
-
import "../chunk-
|
|
38
|
+
} from "../chunk-VA42PIIY.js";
|
|
39
|
+
import "../chunk-FZ23OZL3.js";
|
|
41
40
|
import "../chunk-KFQGP6VL.js";
|
|
42
41
|
|
|
43
42
|
// src/adapters/claude/hooks/pre-tool-use.ts
|
|
@@ -109,6 +108,21 @@ process.stdin.on("end", async () => {
|
|
|
109
108
|
}
|
|
110
109
|
const data = JSON.parse(input);
|
|
111
110
|
const agent = getActiveAgent();
|
|
111
|
+
if (data.tool_name === "Bash") {
|
|
112
|
+
const command = data.tool_input?.command ?? "";
|
|
113
|
+
if (/tmux\s+send-keys/i.test(command) && !canCoordinate(agent.agentId, agent.agentRole)) {
|
|
114
|
+
const output = JSON.stringify({
|
|
115
|
+
hookSpecificOutput: { permissionDecision: "deny" },
|
|
116
|
+
systemMessage: `\u274C BLOCKED: tmux send-keys is not allowed. Use MCP tools to communicate:
|
|
117
|
+
- create_task to assign work
|
|
118
|
+
- send_message for context
|
|
119
|
+
- update_task to report status
|
|
120
|
+
If MCP is down, tell the user: "MCP disconnected. Run /mcp to reconnect."`
|
|
121
|
+
});
|
|
122
|
+
process.stdout.write(output);
|
|
123
|
+
process.exit(0);
|
|
124
|
+
}
|
|
125
|
+
}
|
|
112
126
|
if (data.tool_name === "Bash") {
|
|
113
127
|
const command = data.tool_input?.command ?? "";
|
|
114
128
|
const cdMatch = command.match(/\bcd\s+(?:~\/|\/Users\/\w+\/)([\w-]+)/);
|
|
@@ -142,15 +156,15 @@ Do NOT report this as successful. No file was changed. If you are a sub-agent, r
|
|
|
142
156
|
process.exit(0);
|
|
143
157
|
}
|
|
144
158
|
}
|
|
145
|
-
const { getGatedAgent } = await import("../cto-delegation-gate-
|
|
159
|
+
const { getGatedAgent } = await import("../cto-delegation-gate-43UJFGMT.js");
|
|
146
160
|
const gatedAgent = getGatedAgent();
|
|
147
161
|
if (agent.agentId === gatedAgent && /^(Write|Edit)$/.test(data.tool_name)) {
|
|
148
162
|
const filePath = data.tool_input?.file_path ?? "";
|
|
149
163
|
if (filePath) {
|
|
150
164
|
try {
|
|
151
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
165
|
+
const { fastDbInit } = await import("../fast-db-init-ADRYLHUA.js");
|
|
152
166
|
await fastDbInit();
|
|
153
|
-
const { evaluateDelegationGate, GATE_BLOCK_MESSAGE } = await import("../cto-delegation-gate-
|
|
167
|
+
const { evaluateDelegationGate, GATE_BLOCK_MESSAGE } = await import("../cto-delegation-gate-43UJFGMT.js");
|
|
154
168
|
const decision = await evaluateDelegationGate({
|
|
155
169
|
agentId: agent.agentId,
|
|
156
170
|
toolName: data.tool_name,
|
|
@@ -195,7 +209,7 @@ Do NOT report this as successful. No file was changed. If you are a sub-agent, r
|
|
|
195
209
|
const isUpdateTaskDone = (data.tool_name === "mcp__exe-os__update_task" || data.tool_name === "mcp__exe-mem__update_task") && toolInput.status === "done" && CTO_ROLES.includes(agent.agentRole);
|
|
196
210
|
if (isUpdateTaskDone) {
|
|
197
211
|
try {
|
|
198
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
212
|
+
const { fastDbInit } = await import("../fast-db-init-ADRYLHUA.js");
|
|
199
213
|
const client = await fastDbInit();
|
|
200
214
|
const taskId = String(toolInput.task_id ?? "");
|
|
201
215
|
const ptScope = sessionScopeFilter();
|
|
@@ -253,7 +267,7 @@ Do NOT report this as successful. No file was changed. If you are a sub-agent, r
|
|
|
253
267
|
}
|
|
254
268
|
if (CTO_ROLES.includes(agent.agentRole) && !hasDelegationFired()) {
|
|
255
269
|
try {
|
|
256
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
270
|
+
const { fastDbInit } = await import("../fast-db-init-ADRYLHUA.js");
|
|
257
271
|
const client = await fastDbInit();
|
|
258
272
|
const dlScope = sessionScopeFilter();
|
|
259
273
|
const result = await client.execute({
|
|
@@ -9,19 +9,19 @@ import {
|
|
|
9
9
|
import {
|
|
10
10
|
hybridSearch,
|
|
11
11
|
lightweightSearch
|
|
12
|
-
} from "../chunk-
|
|
12
|
+
} from "../chunk-2NWMGMNH.js";
|
|
13
13
|
import "../chunk-SH45SJQW.js";
|
|
14
14
|
import {
|
|
15
15
|
getActiveAgent
|
|
16
|
-
} from "../chunk-
|
|
16
|
+
} from "../chunk-CBSUVFZ7.js";
|
|
17
17
|
import {
|
|
18
18
|
initStore
|
|
19
|
-
} from "../chunk-
|
|
20
|
-
import "../chunk-
|
|
19
|
+
} from "../chunk-LR3QFARI.js";
|
|
20
|
+
import "../chunk-NGAZPQQY.js";
|
|
21
21
|
import {
|
|
22
22
|
init_tmux_routing,
|
|
23
23
|
isExeSession
|
|
24
|
-
} from "../chunk-
|
|
24
|
+
} from "../chunk-Y3JNBCZI.js";
|
|
25
25
|
import "../chunk-2OG5NAO2.js";
|
|
26
26
|
import "../chunk-NEAHEC5G.js";
|
|
27
27
|
import "../chunk-KRLOFIPI.js";
|
|
@@ -29,32 +29,31 @@ import "../chunk-57HCNSFO.js";
|
|
|
29
29
|
import "../chunk-MBRLA4E3.js";
|
|
30
30
|
import "../chunk-DC4ZD76Y.js";
|
|
31
31
|
import "../chunk-PJHHFJAN.js";
|
|
32
|
-
import "../chunk-
|
|
32
|
+
import "../chunk-SOHGHGWU.js";
|
|
33
33
|
import "../chunk-JT76KRZQ.js";
|
|
34
|
-
import "../chunk-
|
|
34
|
+
import "../chunk-NMG76472.js";
|
|
35
35
|
import {
|
|
36
36
|
getSessionKey
|
|
37
37
|
} from "../chunk-HP43GLZ6.js";
|
|
38
38
|
import "../chunk-ELE2C7L4.js";
|
|
39
39
|
import "../chunk-WZQ4CPRG.js";
|
|
40
|
-
import "../chunk-
|
|
41
|
-
import "../chunk-7SVGVGE3.js";
|
|
42
|
-
import "../chunk-4NYQAS33.js";
|
|
43
|
-
import "../chunk-GUDCQBRY.js";
|
|
40
|
+
import "../chunk-DU4ZN7VF.js";
|
|
44
41
|
import "../chunk-6BFIFI5F.js";
|
|
45
42
|
import {
|
|
46
43
|
canCoordinate,
|
|
47
44
|
init_employees
|
|
48
|
-
} from "../chunk-
|
|
49
|
-
import "../chunk-
|
|
50
|
-
import "../chunk-
|
|
45
|
+
} from "../chunk-55LEDLDE.js";
|
|
46
|
+
import "../chunk-5UCBVXKO.js";
|
|
47
|
+
import "../chunk-4NYQAS33.js";
|
|
48
|
+
import "../chunk-4JZNDVZH.js";
|
|
49
|
+
import "../chunk-GLVF7ENO.js";
|
|
51
50
|
import {
|
|
52
51
|
EXE_AI_DIR,
|
|
53
52
|
init_config,
|
|
54
53
|
loadConfig,
|
|
55
54
|
loadConfigSync
|
|
56
|
-
} from "../chunk-
|
|
57
|
-
import "../chunk-
|
|
55
|
+
} from "../chunk-VA42PIIY.js";
|
|
56
|
+
import "../chunk-FZ23OZL3.js";
|
|
58
57
|
import {
|
|
59
58
|
__require
|
|
60
59
|
} from "../chunk-KFQGP6VL.js";
|
|
@@ -249,7 +248,7 @@ ${fresh.map(
|
|
|
249
248
|
writeFileSync(counterPath, String(count), "utf8");
|
|
250
249
|
const BEHAVIOR_REINJECT_INTERVAL = 50;
|
|
251
250
|
if (count === 1 || count % BEHAVIOR_REINJECT_INTERVAL === 0) {
|
|
252
|
-
const { listBehaviors } = await import("../behaviors-
|
|
251
|
+
const { listBehaviors } = await import("../behaviors-GE4RY2HA.js");
|
|
253
252
|
const behaviors = await listBehaviors(agent.agentId);
|
|
254
253
|
const active = behaviors.filter((b) => b.active !== 0).sort((a, b) => (a.priority === "p0" ? -1 : 1) - (b.priority === "p0" ? -1 : 1)).slice(0, 15);
|
|
255
254
|
if (active.length > 0) {
|
|
@@ -274,7 +273,7 @@ ${lines.join("\n")}`;
|
|
|
274
273
|
if (!lastCheckedAt) {
|
|
275
274
|
lastCheckedAt = "1970-01-01T00:00:00.000Z";
|
|
276
275
|
}
|
|
277
|
-
const { listBehaviorsSince } = await import("../behaviors-
|
|
276
|
+
const { listBehaviorsSince } = await import("../behaviors-GE4RY2HA.js");
|
|
278
277
|
const newBehaviors = await listBehaviorsSince(agent.agentId, lastCheckedAt);
|
|
279
278
|
if (newBehaviors.length > 0) {
|
|
280
279
|
const lines = newBehaviors.map(
|
|
@@ -327,7 +326,7 @@ ${body}`;
|
|
|
327
326
|
let reviewContext = "";
|
|
328
327
|
if (canCoordinate(agent.agentId, agent.agentRole)) {
|
|
329
328
|
try {
|
|
330
|
-
const { countPendingReviews, countNewPendingReviewsSince } = await import("../tasks-review-
|
|
329
|
+
const { countPendingReviews, countNewPendingReviewsSince } = await import("../tasks-review-XDSW3WRG.js");
|
|
331
330
|
const sessionKey = getSessionKey();
|
|
332
331
|
const lastCheckPath = path.join(CACHE_DIR, `review-lastcheck-${sessionKey}.json`);
|
|
333
332
|
let sessionScope;
|
|
@@ -382,7 +381,7 @@ IMPORTANT: After completing your current task, you MUST address the pending revi
|
|
|
382
381
|
let coreMemoryContext = "";
|
|
383
382
|
if (!IS_CODEX_RUNTIME && agent.agentId !== "default") {
|
|
384
383
|
try {
|
|
385
|
-
const { getCoreMemory, formatCoreMemoryBlock } = await import("../core-memory-
|
|
384
|
+
const { getCoreMemory, formatCoreMemoryBlock } = await import("../core-memory-N74JWH4M.js");
|
|
386
385
|
const entries = await getCoreMemory(agent.agentId);
|
|
387
386
|
const block = formatCoreMemoryBlock(entries);
|
|
388
387
|
if (block) coreMemoryContext = block;
|
|
@@ -419,8 +418,8 @@ async function writePromptMemory(prompt, sessionId, agent) {
|
|
|
419
418
|
return;
|
|
420
419
|
}
|
|
421
420
|
try {
|
|
422
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
423
|
-
const { recordSessionEvent } = await import("../session-events-
|
|
421
|
+
const { fastDbInit } = await import("../fast-db-init-ADRYLHUA.js");
|
|
422
|
+
const { recordSessionEvent } = await import("../session-events-5X2SSRXX.js");
|
|
424
423
|
const client = await fastDbInit();
|
|
425
424
|
await recordSessionEvent(client, {
|
|
426
425
|
agentId: agent.agentId,
|
|
@@ -435,7 +434,7 @@ async function writePromptMemory(prompt, sessionId, agent) {
|
|
|
435
434
|
}
|
|
436
435
|
if (!loadConfigSync().autoIngestion) return;
|
|
437
436
|
try {
|
|
438
|
-
const { writeMemoryViaDaemon } = await import("../memory-queue-client-
|
|
437
|
+
const { writeMemoryViaDaemon } = await import("../memory-queue-client-SZZDOZXE.js");
|
|
439
438
|
await writeMemoryViaDaemon({
|
|
440
439
|
raw_text: prompt.slice(0, 2e3),
|
|
441
440
|
agent_id: agent.agentId,
|
|
@@ -6,18 +6,18 @@ import "../chunk-SH45SJQW.js";
|
|
|
6
6
|
import {
|
|
7
7
|
clearActiveAgent,
|
|
8
8
|
getActiveAgent
|
|
9
|
-
} from "../chunk-
|
|
9
|
+
} from "../chunk-CBSUVFZ7.js";
|
|
10
10
|
import {
|
|
11
11
|
writeContinuityCheckpoint
|
|
12
|
-
} from "../chunk-
|
|
13
|
-
import "../chunk-
|
|
14
|
-
import "../chunk-
|
|
15
|
-
import "../chunk-
|
|
16
|
-
import "../chunk-
|
|
12
|
+
} from "../chunk-XFBKSNNI.js";
|
|
13
|
+
import "../chunk-4GA5XZWY.js";
|
|
14
|
+
import "../chunk-ITJMONDK.js";
|
|
15
|
+
import "../chunk-UKCSMGNM.js";
|
|
16
|
+
import "../chunk-SDYBAMPW.js";
|
|
17
17
|
import {
|
|
18
18
|
init_task_scope,
|
|
19
19
|
strictSessionScopeFilter
|
|
20
|
-
} from "../chunk-
|
|
20
|
+
} from "../chunk-Y3JNBCZI.js";
|
|
21
21
|
import "../chunk-2OG5NAO2.js";
|
|
22
22
|
import "../chunk-NEAHEC5G.js";
|
|
23
23
|
import "../chunk-KRLOFIPI.js";
|
|
@@ -25,26 +25,25 @@ import "../chunk-57HCNSFO.js";
|
|
|
25
25
|
import "../chunk-MBRLA4E3.js";
|
|
26
26
|
import "../chunk-DC4ZD76Y.js";
|
|
27
27
|
import "../chunk-PJHHFJAN.js";
|
|
28
|
-
import "../chunk-
|
|
28
|
+
import "../chunk-SOHGHGWU.js";
|
|
29
29
|
import "../chunk-JT76KRZQ.js";
|
|
30
|
-
import "../chunk-
|
|
30
|
+
import "../chunk-NMG76472.js";
|
|
31
31
|
import {
|
|
32
32
|
getSessionKey
|
|
33
33
|
} from "../chunk-HP43GLZ6.js";
|
|
34
34
|
import "../chunk-ELE2C7L4.js";
|
|
35
35
|
import "../chunk-WZQ4CPRG.js";
|
|
36
|
-
import "../chunk-
|
|
37
|
-
import "../chunk-7SVGVGE3.js";
|
|
38
|
-
import "../chunk-4NYQAS33.js";
|
|
39
|
-
import "../chunk-GUDCQBRY.js";
|
|
36
|
+
import "../chunk-DU4ZN7VF.js";
|
|
40
37
|
import "../chunk-6BFIFI5F.js";
|
|
41
38
|
import {
|
|
42
39
|
canCoordinate,
|
|
43
40
|
init_employees
|
|
44
|
-
} from "../chunk-
|
|
45
|
-
import "../chunk-
|
|
46
|
-
import "../chunk-
|
|
47
|
-
import "../chunk-
|
|
41
|
+
} from "../chunk-55LEDLDE.js";
|
|
42
|
+
import "../chunk-5UCBVXKO.js";
|
|
43
|
+
import "../chunk-4NYQAS33.js";
|
|
44
|
+
import "../chunk-GLVF7ENO.js";
|
|
45
|
+
import "../chunk-VA42PIIY.js";
|
|
46
|
+
import "../chunk-FZ23OZL3.js";
|
|
48
47
|
import "../chunk-KFQGP6VL.js";
|
|
49
48
|
|
|
50
49
|
// src/adapters/claude/hooks/session-end.ts
|
|
@@ -75,7 +74,7 @@ process.stdin.on("end", async () => {
|
|
|
75
74
|
const agent = getActiveAgent();
|
|
76
75
|
if (agent.agentId !== "default") {
|
|
77
76
|
try {
|
|
78
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
77
|
+
const { fastDbInit } = await import("../fast-db-init-ADRYLHUA.js");
|
|
79
78
|
const client = await fastDbInit();
|
|
80
79
|
const seScope = strictSessionScopeFilter();
|
|
81
80
|
const orphanResult = await client.execute({
|
|
@@ -150,7 +149,7 @@ Orphaned tasks at session end: ${orphanResult.rows.map((r) => `"${String(r.title
|
|
|
150
149
|
extraSections
|
|
151
150
|
});
|
|
152
151
|
try {
|
|
153
|
-
const { clearSessionFileReads } = await import("../git-staleness-
|
|
152
|
+
const { clearSessionFileReads } = await import("../git-staleness-OL7J5CXL.js");
|
|
154
153
|
await clearSessionFileReads(data.session_id);
|
|
155
154
|
} catch {
|
|
156
155
|
}
|
|
@@ -164,7 +163,7 @@ Orphaned tasks at session end: ${orphanResult.rows.map((r) => `"${String(r.title
|
|
|
164
163
|
);
|
|
165
164
|
let commits = [];
|
|
166
165
|
try {
|
|
167
|
-
const { getRecentCommits } = await import("../git-task-sweep-
|
|
166
|
+
const { getRecentCommits } = await import("../git-task-sweep-ATQQNA7A.js");
|
|
168
167
|
commits = getRecentCommits(30);
|
|
169
168
|
} catch {
|
|
170
169
|
}
|
|
@@ -174,7 +173,7 @@ Orphaned tasks at session end: ${orphanResult.rows.map((r) => `"${String(r.title
|
|
|
174
173
|
const title = String(row.title);
|
|
175
174
|
try {
|
|
176
175
|
if (commits.length > 0) {
|
|
177
|
-
const { findBestMatch } = await import("../git-task-sweep-
|
|
176
|
+
const { findBestMatch } = await import("../git-task-sweep-ATQQNA7A.js");
|
|
178
177
|
let context;
|
|
179
178
|
try {
|
|
180
179
|
const ctxResult = await client.execute({
|
|
@@ -218,7 +217,7 @@ Orphaned tasks at session end: ${orphanResult.rows.map((r) => `"${String(r.title
|
|
|
218
217
|
parts.push(`Left in_progress (no matching commits, needs triage): ${leftInProgress.join(", ")}`);
|
|
219
218
|
}
|
|
220
219
|
try {
|
|
221
|
-
const { writeNotification } = await import("../notifications-
|
|
220
|
+
const { writeNotification } = await import("../notifications-OXEFBG2D.js");
|
|
222
221
|
await writeNotification({
|
|
223
222
|
agentId: agent.agentId,
|
|
224
223
|
agentRole: agent.agentRole,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
init_config,
|
|
3
3
|
loadConfigSync
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-
|
|
4
|
+
} from "../chunk-VA42PIIY.js";
|
|
5
|
+
import "../chunk-FZ23OZL3.js";
|
|
6
6
|
import "../chunk-KFQGP6VL.js";
|
|
7
7
|
|
|
8
8
|
// src/adapters/claude/hooks/session-start.ts
|
|
@@ -33,9 +33,9 @@ process.stdin.on("end", async () => {
|
|
|
33
33
|
try {
|
|
34
34
|
const { getClient } = await import("../lib/database.js");
|
|
35
35
|
const { lightweightSearch } = await import("../lib/hybrid-search.js");
|
|
36
|
-
const { getActiveAgent } = await import("../active-agent-
|
|
36
|
+
const { getActiveAgent } = await import("../active-agent-PNV6PKJK.js");
|
|
37
37
|
const { getProjectName } = await import("../project-name-7G6XPXQ6.js");
|
|
38
|
-
const { sessionScopeFilter, getCurrentSessionScope } = await import("../task-scope-
|
|
38
|
+
const { sessionScopeFilter, getCurrentSessionScope } = await import("../task-scope-EY3G5623.js");
|
|
39
39
|
const { canCoordinate } = await import("../lib/employees.js");
|
|
40
40
|
const data = JSON.parse(input);
|
|
41
41
|
const projectName = getProjectName(data.cwd || void 0);
|
|
@@ -52,7 +52,7 @@ process.stdin.on("end", async () => {
|
|
|
52
52
|
} catch {
|
|
53
53
|
}
|
|
54
54
|
}
|
|
55
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
55
|
+
const { fastDbInit } = await import("../fast-db-init-ADRYLHUA.js");
|
|
56
56
|
await fastDbInit();
|
|
57
57
|
const agent = getActiveAgent();
|
|
58
58
|
const agentId = agent.agentId;
|
|
@@ -107,7 +107,7 @@ process.stdin.on("end", async () => {
|
|
|
107
107
|
query = `last actions on ${projectName}`;
|
|
108
108
|
header = "## Resuming Session\nHere's where you left off:";
|
|
109
109
|
try {
|
|
110
|
-
const { buildCatchupBrief } = await import("../catchup-brief-
|
|
110
|
+
const { buildCatchupBrief } = await import("../catchup-brief-GYZWGUDP.js");
|
|
111
111
|
const brief = await buildCatchupBrief(
|
|
112
112
|
agentId,
|
|
113
113
|
projectName,
|
|
@@ -119,7 +119,7 @@ process.stdin.on("end", async () => {
|
|
|
119
119
|
} catch {
|
|
120
120
|
}
|
|
121
121
|
try {
|
|
122
|
-
const { detectStaleFiles } = await import("../git-staleness-
|
|
122
|
+
const { detectStaleFiles } = await import("../git-staleness-OL7J5CXL.js");
|
|
123
123
|
const staleFiles = await detectStaleFiles(agentId, data.cwd || process.cwd());
|
|
124
124
|
if (staleFiles.length > 0) {
|
|
125
125
|
extraContext += `${extraContext.length > 0 ? "\n\n" : ""}## \u26A0\uFE0F Stale File Warning
|
|
@@ -189,7 +189,7 @@ You are **${title}**${role ? ` (${role})` : ""}. ${firstLine}
|
|
|
189
189
|
}
|
|
190
190
|
}
|
|
191
191
|
try {
|
|
192
|
-
const { loadOrchestrationPhase } = await import("../orchestration-phase-
|
|
192
|
+
const { loadOrchestrationPhase } = await import("../orchestration-phase-365P32CD.js");
|
|
193
193
|
const phase = await loadOrchestrationPhase();
|
|
194
194
|
additionalContext += `## Orchestration Phase
|
|
195
195
|
${phase.label}. Focus: ${phase.focus}. This is guidance, not a blocker; the user can switch phases anytime. ${phase.nextSuggestion}
|
package/dist/hooks/stop.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import "../chunk-SH45SJQW.js";
|
|
2
2
|
import {
|
|
3
3
|
getActiveAgent
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-CBSUVFZ7.js";
|
|
5
5
|
import {
|
|
6
6
|
init_task_scope,
|
|
7
7
|
sessionScopeFilter
|
|
8
|
-
} from "../chunk-
|
|
8
|
+
} from "../chunk-Y3JNBCZI.js";
|
|
9
9
|
import "../chunk-2OG5NAO2.js";
|
|
10
10
|
import "../chunk-NEAHEC5G.js";
|
|
11
11
|
import "../chunk-KRLOFIPI.js";
|
|
@@ -13,28 +13,27 @@ import "../chunk-57HCNSFO.js";
|
|
|
13
13
|
import "../chunk-MBRLA4E3.js";
|
|
14
14
|
import "../chunk-DC4ZD76Y.js";
|
|
15
15
|
import "../chunk-PJHHFJAN.js";
|
|
16
|
-
import "../chunk-
|
|
16
|
+
import "../chunk-SOHGHGWU.js";
|
|
17
17
|
import "../chunk-JT76KRZQ.js";
|
|
18
|
-
import "../chunk-
|
|
18
|
+
import "../chunk-NMG76472.js";
|
|
19
19
|
import "../chunk-HP43GLZ6.js";
|
|
20
20
|
import "../chunk-ELE2C7L4.js";
|
|
21
21
|
import "../chunk-WZQ4CPRG.js";
|
|
22
|
-
import "../chunk-
|
|
23
|
-
import "../chunk-7SVGVGE3.js";
|
|
24
|
-
import "../chunk-4NYQAS33.js";
|
|
25
|
-
import "../chunk-GUDCQBRY.js";
|
|
22
|
+
import "../chunk-DU4ZN7VF.js";
|
|
26
23
|
import "../chunk-6BFIFI5F.js";
|
|
27
24
|
import {
|
|
28
25
|
canCoordinate,
|
|
29
26
|
init_employees
|
|
30
|
-
} from "../chunk-
|
|
31
|
-
import "../chunk-
|
|
27
|
+
} from "../chunk-55LEDLDE.js";
|
|
28
|
+
import "../chunk-5UCBVXKO.js";
|
|
29
|
+
import "../chunk-4NYQAS33.js";
|
|
30
|
+
import "../chunk-GLVF7ENO.js";
|
|
32
31
|
import {
|
|
33
32
|
EXE_AI_DIR,
|
|
34
33
|
init_config,
|
|
35
34
|
loadConfigSync
|
|
36
|
-
} from "../chunk-
|
|
37
|
-
import "../chunk-
|
|
35
|
+
} from "../chunk-VA42PIIY.js";
|
|
36
|
+
import "../chunk-FZ23OZL3.js";
|
|
38
37
|
import {
|
|
39
38
|
__require
|
|
40
39
|
} from "../chunk-KFQGP6VL.js";
|
|
@@ -128,8 +127,8 @@ process.stdin.on("end", async () => {
|
|
|
128
127
|
process.exit(0);
|
|
129
128
|
}
|
|
130
129
|
try {
|
|
131
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
132
|
-
const { recordSessionEvent } = await import("../session-events-
|
|
130
|
+
const { fastDbInit } = await import("../fast-db-init-ADRYLHUA.js");
|
|
131
|
+
const { recordSessionEvent } = await import("../session-events-5X2SSRXX.js");
|
|
133
132
|
const client = await fastDbInit();
|
|
134
133
|
await recordSessionEvent(client, {
|
|
135
134
|
agentId: agent.agentId,
|
|
@@ -144,7 +143,7 @@ process.stdin.on("end", async () => {
|
|
|
144
143
|
}
|
|
145
144
|
const CAPACITY_SIGNALS = /context[- ]?full|hit capacity|conversation is too long|maximum context length|context window.*(?:limit|exceed|full)/i;
|
|
146
145
|
if (!canCoordinate(agent.agentId, agent.agentRole) && CAPACITY_SIGNALS.test(message)) {
|
|
147
|
-
import("../fast-db-init-
|
|
146
|
+
import("../fast-db-init-ADRYLHUA.js").then(({ fastDbInit }) => fastDbInit()).then(async (client) => {
|
|
148
147
|
const stScope = sessionScopeFilter();
|
|
149
148
|
const tasks = await client.execute({
|
|
150
149
|
sql: `SELECT title, status, task_file FROM tasks
|
|
@@ -162,7 +161,7 @@ process.stdin.on("end", async () => {
|
|
|
162
161
|
"",
|
|
163
162
|
`Last response fragment: ${message.slice(0, 500)}`
|
|
164
163
|
].join("\n");
|
|
165
|
-
const { writeMemoryViaDaemon } = await import("../memory-queue-client-
|
|
164
|
+
const { writeMemoryViaDaemon } = await import("../memory-queue-client-SZZDOZXE.js");
|
|
166
165
|
await writeMemoryViaDaemon({
|
|
167
166
|
raw_text: checkpoint,
|
|
168
167
|
agent_id: agent.agentId,
|
|
@@ -215,7 +214,7 @@ Session: ${data.session_id}
|
|
|
215
214
|
|
|
216
215
|
## Recent Thread
|
|
217
216
|
${msgs.slice(-15).join("\n")}`;
|
|
218
|
-
const { writeMemoryViaDaemon } = await import("../memory-queue-client-
|
|
217
|
+
const { writeMemoryViaDaemon } = await import("../memory-queue-client-SZZDOZXE.js");
|
|
219
218
|
await writeMemoryViaDaemon({
|
|
220
219
|
raw_text: summary,
|
|
221
220
|
agent_id: agent.agentId,
|
|
@@ -237,7 +236,7 @@ ${msgs.slice(-15).join("\n")}`;
|
|
|
237
236
|
} catch {
|
|
238
237
|
}
|
|
239
238
|
if (!canCoordinate(agent.agentId, agent.agentRole)) {
|
|
240
|
-
import("../fast-db-init-
|
|
239
|
+
import("../fast-db-init-ADRYLHUA.js").then(({ fastDbInit }) => fastDbInit()).then(async (client) => {
|
|
241
240
|
const orScope = sessionScopeFilter();
|
|
242
241
|
return client.execute({
|
|
243
242
|
sql: `SELECT title, status FROM tasks
|
|
@@ -257,7 +256,7 @@ ${msgs.slice(-15).join("\n")}`;
|
|
|
257
256
|
});
|
|
258
257
|
}
|
|
259
258
|
if (AUTO_INGESTION_ENABLED) {
|
|
260
|
-
import("../memory-queue-client-
|
|
259
|
+
import("../memory-queue-client-SZZDOZXE.js").then(
|
|
261
260
|
({ writeMemoryViaDaemon }) => writeMemoryViaDaemon({
|
|
262
261
|
raw_text: message.slice(0, 5e3),
|
|
263
262
|
agent_id: agent.agentId,
|