@askexenow/exe-os 0.9.312 → 0.9.313
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/deploy/compose/.env.askexe-control-plane.example +1 -1
- package/deploy/compose/.env.customer.example +11 -7
- package/deploy/compose/.env.default +4 -4
- package/deploy/compose/.env.example +7 -7
- package/deploy/compose/docker-compose.yml +43 -19
- package/deploy/compose/gateway.json +2 -2
- package/deploy/compose/init-db.sql +6 -20
- package/deploy/compose/setup.sh +74 -132
- package/deploy/compose/status.sh +5 -0
- package/deploy/stack-manifests/v0.9.json +21 -0
- package/dist/{active-agent-ORX47ZKW.js → active-agent-EWF2HJ3W.js} +6 -6
- package/dist/{active-agent-S5T2YMOR.js → active-agent-FFN5ARMC.js} +6 -6
- package/dist/{agentic-ontology-6KBAXLSJ.js → agentic-ontology-AAUATKUS.js} +1 -1
- package/dist/{backfill-metadata-FV7GX6AS.js → backfill-metadata-FBYFDOTH.js} +7 -7
- package/dist/{background-jobs-A2LV36UX.js → background-jobs-2QZ5IQKE.js} +5 -3
- package/dist/{behaviors-47CPEKJ7.js → behaviors-PQ77IPJR.js} +8 -8
- package/dist/bin/age-ontology-load.js +3 -3
- package/dist/bin/agentic-ontology-backfill.js +9 -9
- package/dist/bin/agentic-reflection-backfill.js +10 -10
- package/dist/bin/agentic-semantic-label.js +9 -9
- package/dist/bin/backfill-conversations.js +10 -10
- package/dist/bin/backfill-responses.js +10 -10
- package/dist/bin/backfill-vectors.js +13 -13
- package/dist/bin/bulk-sync-postgres.js +16 -16
- package/dist/bin/cc-doctor.js +9 -9
- package/dist/bin/cleanup-stale-review-tasks.js +15 -15
- package/dist/bin/cli.js +21 -21
- package/dist/bin/deferred-daemon-restart.js +1 -1
- package/dist/bin/exe-agent-config.js +6 -6
- package/dist/bin/exe-agent.js +14 -14
- package/dist/bin/exe-assign.js +12 -12
- package/dist/bin/exe-boot.js +78 -57
- package/dist/bin/exe-call.js +7 -7
- package/dist/bin/exe-cloud.js +17 -17
- package/dist/bin/exe-config-dump.js +7 -7
- package/dist/bin/exe-dispatch.js +15 -15
- package/dist/bin/exe-doctor.js +11 -2
- package/dist/bin/exe-export-behaviors.js +10 -10
- package/dist/bin/exe-forget.js +9 -9
- package/dist/bin/exe-gateway.js +10 -10
- package/dist/bin/exe-healthcheck.js +9 -9
- package/dist/bin/exe-heartbeat.js +15 -15
- package/dist/bin/exe-kill.js +18 -18
- package/dist/bin/exe-launch-agent.js +30 -28
- package/dist/bin/exe-new-employee.js +36 -15
- package/dist/bin/exe-pending-messages.js +16 -16
- package/dist/bin/exe-pending-notifications.js +15 -15
- package/dist/bin/exe-pending-reviews.js +15 -15
- package/dist/bin/exe-preflight.js +1 -1
- package/dist/bin/exe-rename.js +19 -29
- package/dist/bin/exe-review.js +17 -17
- package/dist/bin/exe-search.js +8 -8
- package/dist/bin/exe-session-cleanup.js +41 -20
- package/dist/bin/exe-settings.js +18 -18
- package/dist/bin/exe-start-codex.js +15 -15
- package/dist/bin/exe-start-opencode.js +11 -11
- package/dist/bin/exe-status.js +16 -16
- package/dist/bin/exe-support.js +5 -5
- package/dist/bin/exe-team.js +6 -6
- package/dist/bin/exe-watchdog.js +32 -3
- package/dist/bin/git-sweep.js +16 -16
- package/dist/bin/graph-backfill.js +8 -8
- package/dist/bin/graph-export.js +8 -8
- package/dist/bin/import-history.js +10 -10
- package/dist/bin/install-launchd.js +2 -2
- package/dist/bin/install.js +15 -15
- package/dist/bin/intercom-check.js +4 -4
- package/dist/bin/mcp-sessions.js +2 -2
- package/dist/bin/orchestration-metrics.js +7 -7
- package/dist/bin/postgres-agentic-reflection-backfill.js +5 -5
- package/dist/bin/postgres-agentic-semantic-backfill.js +4 -4
- package/dist/bin/pre-build-guard.js +12 -1
- package/dist/bin/scan-tasks.js +15 -15
- package/dist/bin/setup.js +3 -3
- package/dist/bin/shard-migrate.js +8 -8
- package/dist/bin/stack-update.js +8 -8
- package/dist/bin/verify-stack.js +3 -1
- package/dist/bin/vps-health-gate.js +1 -1
- package/dist/{branding-SC4BOPUY.js → branding-EDUC7TUP.js} +2 -2
- package/dist/{browser-session-store-DV5TDXXD.js → browser-session-store-CXQMOSEC.js} +1 -1
- package/dist/{capability-cards-WQVY7WSS.js → capability-cards-2U3XWCDP.js} +5 -5
- package/dist/{capacity-monitor-BUKYPSWR.js → capacity-monitor-ZRLW7TVL.js} +16 -16
- package/dist/{catchup-brief-X5IVQAOH.js → catchup-brief-FSBZVYPL.js} +18 -18
- package/dist/{chunk-PMEOSD6S.js → chunk-24BUDF3J.js} +9 -6
- package/dist/{chunk-2NVEKSSP.js → chunk-2FULKRDO.js} +56 -38
- package/dist/{chunk-QB5JOGPK.js → chunk-2PI6JBJL.js} +5 -4
- package/dist/{chunk-MTIJ2NXY.js → chunk-2PWRUIKZ.js} +1 -1
- package/dist/{chunk-NIZQ3CIS.js → chunk-3AMGSCRH.js} +1 -1
- package/dist/{chunk-7ODTYODO.js → chunk-3LGID56M.js} +10 -7
- package/dist/{chunk-GSY6HL3T.js → chunk-4JI54RHR.js} +5 -5
- package/dist/{chunk-ISILDO7P.js → chunk-4THK7IA4.js} +1 -1
- package/dist/{chunk-IRIPGGGL.js → chunk-4UHQYBMQ.js} +1 -1
- package/dist/{chunk-HQODUV3G.js → chunk-552IGUBB.js} +2 -2
- package/dist/{chunk-IRHNV4GY.js → chunk-5KLQCGI5.js} +72 -18
- package/dist/{chunk-SOT23KWW.js → chunk-63UEWYM3.js} +4 -4
- package/dist/{chunk-QE7UVQDP.js → chunk-6PR2RAKM.js} +1 -1
- package/dist/{chunk-ZZXADKAP.js → chunk-6SPUK67A.js} +2 -2
- package/dist/{chunk-RVXWGPD3.js → chunk-75TM3APG.js} +29 -6
- package/dist/{chunk-IZPO6IOZ.js → chunk-7QSXARI3.js} +1 -1
- package/dist/{chunk-A2YZG4AD.js → chunk-AIUXE3ZJ.js} +6 -6
- package/dist/{chunk-U63BZI2B.js → chunk-AJERMFD6.js} +3 -3
- package/dist/{chunk-BUOMSIXH.js → chunk-BMNX3YWX.js} +2 -2
- package/dist/{chunk-YUBTHJVV.js → chunk-BRSMAFBN.js} +1 -1
- package/dist/{chunk-JZW5AOWI.js → chunk-BSPALHIR.js} +2 -2
- package/dist/{chunk-VDYUKTNS.js → chunk-CLAYNAXC.js} +4 -5
- package/dist/{chunk-J3QZPDNH.js → chunk-CNQ25C4C.js} +1 -1
- package/dist/{chunk-GWPICNSO.js → chunk-CSTL7BMK.js} +49 -4
- package/dist/{chunk-5DPE7B7K.js → chunk-CTYHSVHP.js} +1 -1
- package/dist/{chunk-EM4EYF3P.js → chunk-CVTWQZOR.js} +13 -5
- package/dist/{chunk-JNARUXDC.js → chunk-CW3FPWUW.js} +2 -2
- package/dist/{chunk-V42BSVX6.js → chunk-CWACO2D4.js} +51 -4
- package/dist/{chunk-RPBTYQKJ.js → chunk-CWUCD7C7.js} +1 -1
- package/dist/{chunk-DFUCFLZH.js → chunk-D4EMVYI7.js} +2 -2
- package/dist/{chunk-W2J2RF5N.js → chunk-DIHMGQGV.js} +3 -3
- package/dist/{chunk-YB7U4WTY.js → chunk-DJ4RG3RK.js} +2 -2
- package/dist/{chunk-KSMITUGY.js → chunk-DR7QPGX4.js} +3 -3
- package/dist/{chunk-QNXM2HXW.js → chunk-ELFFRVNL.js} +1 -1
- package/dist/{chunk-QEGXNJGR.js → chunk-EV2SMRLF.js} +4 -4
- package/dist/{chunk-VFSYVQX4.js → chunk-F3QMXKKJ.js} +8 -2
- package/dist/{chunk-NCC3F6GM.js → chunk-F5XPKUPK.js} +2 -2
- package/dist/{chunk-43R2GILO.js → chunk-FIBL4JRZ.js} +2 -2
- package/dist/{chunk-B2J3BBJC.js → chunk-FQH4R6UG.js} +2 -2
- package/dist/{chunk-AC6DKMVS.js → chunk-FSAKWKWU.js} +1 -1
- package/dist/{chunk-GL5NU6IK.js → chunk-FXS5OFGH.js} +1 -1
- package/dist/{chunk-K7KBAJQL.js → chunk-GHJRLETI.js} +10 -10
- package/dist/{chunk-VQRTO7IS.js → chunk-H73TUI4Y.js} +9 -2
- package/dist/{chunk-IIHE3FNC.js → chunk-HSXWUZOD.js} +3 -3
- package/dist/{chunk-JV225JBX.js → chunk-I6RHLHVW.js} +2 -2
- package/dist/{chunk-S6HVQF27.js → chunk-IEDCQRGG.js} +88 -4
- package/dist/{chunk-4Q5VNQTV.js → chunk-IFSOVXGN.js} +3 -3
- package/dist/{chunk-JMHKK7A5.js → chunk-ITVMRPCQ.js} +1 -1
- package/dist/{chunk-VT6P7FV4.js → chunk-IU44MPY3.js} +1 -1
- package/dist/{chunk-6OD2RVIA.js → chunk-IXTDBQYU.js} +273 -397
- package/dist/{chunk-2NGPZCWX.js → chunk-JB7QUK3D.js} +3 -3
- package/dist/{chunk-VT2B5BHM.js → chunk-JBSCL2XT.js} +2 -1
- package/dist/{chunk-MPX3TRMQ.js → chunk-JD5S5AAV.js} +1 -1
- package/dist/{chunk-XYG722JW.js → chunk-JIJKUZIO.js} +3 -3
- package/dist/{chunk-KMIAYKIH.js → chunk-K5C6LC2G.js} +159 -39
- package/dist/{chunk-DAOHCXM2.js → chunk-KH6BCYLC.js} +1 -1
- package/dist/{chunk-4L4R6AQJ.js → chunk-KMI4TUTW.js} +1 -1
- package/dist/{chunk-PHFPIUWU.js → chunk-KWOAM7TA.js} +3 -0
- package/dist/{chunk-RZJ6DXVE.js → chunk-L6QI2NNG.js} +1 -1
- package/dist/{chunk-HED6D5KR.js → chunk-MMNMQNLD.js} +43 -29
- package/dist/{chunk-KAVUTP5G.js → chunk-N3CRJ2VW.js} +3 -3
- package/dist/{chunk-OBJXZII2.js → chunk-N7LBAQGK.js} +3 -3
- package/dist/{chunk-LMX7UKGX.js → chunk-OUAGTQC4.js} +17 -11
- package/dist/{chunk-WZBUKC5N.js → chunk-OUJI2ZTY.js} +2 -2
- package/dist/{chunk-YUGLOZOR.js → chunk-OXTZEKVA.js} +1 -1
- package/dist/{chunk-OR3TAZL3.js → chunk-P4ULFI2N.js} +1 -1
- package/dist/{chunk-6LNSZADA.js → chunk-PVC4RNHQ.js} +50 -11
- package/dist/{chunk-FM7XZDZI.js → chunk-R2WP3XIN.js} +1 -1
- package/dist/{chunk-IBDPPBFK.js → chunk-R5IPZ5ZC.js} +1 -1
- package/dist/{chunk-7WDIGRSO.js → chunk-R5TZ2FC3.js} +1 -1
- package/dist/{chunk-2UVN2NBN.js → chunk-RICNNGYH.js} +3 -3
- package/dist/{chunk-WBJXJ2R4.js → chunk-RLBVY5FE.js} +17 -14
- package/dist/{chunk-XXJRZ75E.js → chunk-RV634O2W.js} +5 -2
- package/dist/{chunk-3KH6GXXX.js → chunk-RYPFOZQH.js} +2 -2
- package/dist/{chunk-DNFU56ZS.js → chunk-SB7W6XI4.js} +1 -1
- package/dist/{chunk-PPXQE7AS.js → chunk-SE6MLUOK.js} +33 -34
- package/dist/{chunk-65DBIEM2.js → chunk-SHIICYJW.js} +7 -1
- package/dist/{chunk-KPVVTHPK.js → chunk-SRMNWAHN.js} +15 -10
- package/dist/chunk-T2DJR7ND.js +367 -0
- package/dist/{chunk-Z6H6Y4BS.js → chunk-TA22MGGN.js} +1 -1
- package/dist/{chunk-ZOVHXTGC.js → chunk-TN7SC2ZQ.js} +1 -1
- package/dist/{chunk-XV5HRIXG.js → chunk-TRPGNCVB.js} +8 -8
- package/dist/{chunk-4BANMHJ5.js → chunk-UDZP2SHJ.js} +3 -3
- package/dist/{chunk-GMZMBLHT.js → chunk-UM6WUSQ7.js} +2 -2
- package/dist/{chunk-2EJ636HI.js → chunk-UST3MKK7.js} +1 -1
- package/dist/{chunk-RQ7OVXUZ.js → chunk-V2CZVZUO.js} +2 -2
- package/dist/{chunk-4RJJ5FJ2.js → chunk-V4UKBUUA.js} +1 -1
- package/dist/{chunk-EOS7VPVT.js → chunk-VA2MDALR.js} +8 -8
- package/dist/{chunk-SCYWCWKY.js → chunk-VG4ZH2Z3.js} +24 -10
- package/dist/{chunk-255DIG4B.js → chunk-VHLI6CTD.js} +1 -1
- package/dist/{chunk-DFIOOK5R.js → chunk-WCES22KG.js} +4 -3
- package/dist/{chunk-5A6KTWQL.js → chunk-WOTKNUKK.js} +126 -2
- package/dist/{chunk-62UZWGFX.js → chunk-WZZBGGSD.js} +63 -2
- package/dist/{chunk-ELXR65AN.js → chunk-X2FHTDIU.js} +6 -3
- package/dist/{chunk-V4BW5HFQ.js → chunk-X5I5QRC2.js} +3 -3
- package/dist/{chunk-X4AFBL4N.js → chunk-XCORXJ3M.js} +1 -1
- package/dist/{chunk-66JPZELX.js → chunk-Y5CNGG4F.js} +24 -16
- package/dist/{chunk-SPOXL7HF.js → chunk-YEWNIBNA.js} +9 -9
- package/dist/{chunk-WJ2PZGRV.js → chunk-ZAA344BL.js} +29 -2
- package/dist/{chunk-TN2YCFQE.js → chunk-ZGLJ2VD7.js} +5 -5
- package/dist/{co-activation-WN25AJOC.js → co-activation-RH46OQ3N.js} +5 -5
- package/dist/{co-occurrence-YP2Q3OEA.js → co-occurrence-MJWERUWY.js} +5 -5
- package/dist/{code-context-index-ZWONKBKX.js → code-context-index-WFUBYGQT.js} +6 -6
- package/dist/{content-extractor-EYRVGD6O.js → content-extractor-RHITF2KM.js} +1 -1
- package/dist/{conversation-wiki-populator-XFUC7S5P.js → conversation-wiki-populator-SK233TL4.js} +1 -1
- package/dist/{crdt-sync-ZFIFL2QM.js → crdt-sync-4R7SXTNB.js} +1 -1
- package/dist/{crm-webhook-DGPHULOO.js → crm-webhook-YDXX5FDK.js} +2 -2
- package/dist/{cto-delegation-gate-OF2A3TSS.js → cto-delegation-gate-ZJHLPK4Y.js} +14 -14
- package/dist/{daemon-auth-N6P2MZAV.js → daemon-auth-5FCYVQIZ.js} +3 -3
- package/dist/{daemon-orchestration-G4RRTPP7.js → daemon-orchestration-NBU5RZ2O.js} +18 -18
- package/dist/{daemon-ready-signal-3L2MJT7C.js → daemon-ready-signal-KXLL6ZFL.js} +1 -1
- package/dist/{db-backup-EORG4LBO.js → db-backup-BTL2FBBL.js} +9 -3
- package/dist/{db-restore-events-3R7G4FP4.js → db-restore-events-3A57GMLW.js} +2 -2
- package/dist/{doc-graph-extractor-APZS3DFD.js → doc-graph-extractor-ADYRG7DB.js} +5 -5
- package/dist/documents-VWPZTDFA.js +56 -0
- package/dist/{dreaming-Q4E3WBGY.js → dreaming-76WKGTL6.js} +15 -15
- package/dist/embeddings-config-FANLORDH.js +21 -0
- package/dist/{exe-drift-CI5R6GUT.js → exe-drift-T3IO2SPX.js} +6 -6
- package/dist/{exe-export-HQIQASIT.js → exe-export-6YEHSJMP.js} +9 -9
- package/dist/{exe-import-ULZK56WC.js → exe-import-3NERK63O.js} +9 -9
- package/dist/{exe-key-ILNSBGRN.js → exe-key-RCMBMLSQ.js} +8 -8
- package/dist/{exe-org-WQWQZRLR.js → exe-org-KCOOLUTW.js} +3 -3
- package/dist/{exe-snapshot-RUZTWZOF.js → exe-snapshot-JIY7MNRI.js} +18 -18
- package/dist/{fast-db-init-KNJRL7T3.js → fast-db-init-PVJ72264.js} +1 -1
- package/dist/{founder-context-QCTMEK66.js → founder-context-A4VUEKDH.js} +4 -4
- package/dist/gateway/index.js +17 -17
- package/dist/{git-staleness-KIA5YI4H.js → git-staleness-IOAHAGBI.js} +5 -5
- package/dist/{git-task-sweep-WH6QE7HL.js → git-task-sweep-IGM5RILF.js} +17 -15
- package/dist/{global-procedures-SYZZCGDS.js → global-procedures-VZL2X4RK.js} +6 -6
- package/dist/{graph-auto-extract-J2TIWZEE.js → graph-auto-extract-TIXRGBC5.js} +5 -5
- package/dist/{hook-integrity-I6PWJQER.js → hook-integrity-XNPNCMAS.js} +1 -1
- package/dist/hooks/bug-report-worker.js +47 -17
- package/dist/hooks/codex-stop-task-finalizer.js +47 -17
- package/dist/hooks/commit-complete.js +18 -18
- package/dist/hooks/error-recall.js +11 -11
- package/dist/hooks/exe-heartbeat-hook.js +7 -7
- package/dist/hooks/ingest-worker.js +39 -9
- package/dist/hooks/ingest.js +17 -17
- package/dist/hooks/instructions-loaded.js +8 -8
- package/dist/hooks/manifest.json +20 -20
- package/dist/hooks/notification.js +8 -8
- package/dist/hooks/post-compact.js +17 -17
- package/dist/hooks/post-tool-combined.js +60 -7
- package/dist/hooks/pre-compact.js +23 -23
- package/dist/hooks/pre-tool-use.js +64 -34
- package/dist/hooks/prompt-submit.js +40 -32
- package/dist/hooks/session-end.js +29 -29
- package/dist/hooks/session-start.js +17 -17
- package/dist/hooks/stop.js +24 -24
- package/dist/hooks/subagent-stop.js +17 -17
- package/dist/hooks/summary-worker.js +55 -25
- package/dist/index.js +27 -27
- package/dist/{installer-PSDYMGN7.js → installer-D7D5O4KL.js} +10 -10
- package/dist/{installer-3NB3IBHF.js → installer-EQP2EMNZ.js} +10 -10
- package/dist/{installer-IIJFCTMH.js → installer-IWRYH55Z.js} +10 -10
- package/dist/{key-backup-status-FNSN3NXH.js → key-backup-status-ZNGDSPLT.js} +2 -2
- package/dist/lib/agent-config.js +3 -3
- package/dist/lib/cloud-sync.js +16 -16
- package/dist/lib/config.js +2 -2
- package/dist/lib/consolidation.js +8 -8
- package/dist/lib/database.js +7 -5
- package/dist/lib/db-daemon-client.js +6 -6
- package/dist/lib/db.js +7 -5
- package/dist/lib/device-registry.js +3 -3
- package/dist/lib/embed-worker.js +2 -2
- package/dist/lib/embedder.js +6 -6
- package/dist/lib/employee-templates.js +7 -7
- package/dist/lib/employees.js +5 -5
- package/dist/lib/exe-daemon-client.js +5 -5
- package/dist/lib/exe-daemon.js +449 -89
- package/dist/lib/hybrid-search.js +8 -8
- package/dist/lib/identity.js +5 -5
- package/dist/lib/license.js +4 -4
- package/dist/lib/messaging.js +15 -15
- package/dist/lib/post-tool-memory.js +2 -2
- package/dist/lib/reminders.js +6 -6
- package/dist/lib/schedules.js +8 -8
- package/dist/lib/session-registry.js +9 -7
- package/dist/lib/session-wrappers.js +1 -1
- package/dist/lib/skill-learning.js +9 -9
- package/dist/lib/store.js +7 -7
- package/dist/lib/task-router.js +6 -6
- package/dist/lib/tasks.js +16 -16
- package/dist/lib/tmux-routing.js +14 -14
- package/dist/lib/token-spend.js +6 -6
- package/dist/{license-gate-7SDHCJUO.js → license-gate-PZOP7S2S.js} +5 -5
- package/dist/mcp/register-tools.js +73 -72
- package/dist/mcp/server.js +74 -73
- package/dist/mcp/tools/complete-reminder.js +7 -7
- package/dist/mcp/tools/create-reminder.js +7 -7
- package/dist/mcp/tools/create-task.js +18 -18
- package/dist/mcp/tools/deactivate-behavior.js +10 -10
- package/dist/mcp/tools/list-reminders.js +7 -7
- package/dist/mcp/tools/list-tasks.js +18 -18
- package/dist/mcp/tools/send-message.js +17 -17
- package/dist/mcp/tools/update-task.js +17 -17
- package/dist/{mcp-http-config-QSOVFXHW.js → mcp-http-config-23DHJAU4.js} +7 -7
- package/dist/{mcp-port-config-AWWRZA22.js → mcp-port-config-FFAMMLLE.js} +2 -1
- package/dist/{memory-cards-II67WFL2.js → memory-cards-CNLMHSZC.js} +5 -5
- package/dist/{memory-graph-extractor-PM4Q2KJG.js → memory-graph-extractor-HIXP2BQS.js} +6 -6
- package/dist/{memory-poisoning-defense-ECXSX7HK.js → memory-poisoning-defense-YL53IBBF.js} +5 -5
- package/dist/{memory-queue-VAE6WMSS.js → memory-queue-3Q5P43AM.js} +3 -3
- package/dist/memory-queue-client-YP2QKX6J.js +16 -0
- package/dist/{memory-reflection-PXF6YFDU.js → memory-reflection-VHQRUZWK.js} +5 -5
- package/dist/{notifications-UP7WQGG4.js → notifications-Q5NEAP6K.js} +14 -14
- package/dist/{orchestration-events-PZLLPCKY.js → orchestration-events-7SNWRJYE.js} +6 -6
- package/dist/{orchestration-phase-SJOXDB7X.js → orchestration-phase-U45T4VG3.js} +3 -3
- package/dist/{orchestrator-PUT45J4O.js → orchestrator-XWLKNWUG.js} +16 -16
- package/dist/{pipeline-router-5CRWKESM.js → pipeline-router-5IBJBH7P.js} +6 -6
- package/dist/{plan-limits-SH2NDFNX.js → plan-limits-PBEZVHRQ.js} +8 -8
- package/dist/{preferences-YWBTKW3M.js → preferences-TYTGDXQZ.js} +2 -2
- package/dist/{project-boot-2TCPDZ4S.js → project-boot-OHEGJD2L.js} +2 -2
- package/dist/{projection-worker-HWY37MNC.js → projection-worker-HELRBNDR.js} +5 -5
- package/dist/{prospective-memory-FQSVMCGG.js → prospective-memory-N55XRGJP.js} +5 -5
- package/dist/{push-notifications-DK6XA5B3.js → push-notifications-PAFNP3EC.js} +3 -3
- package/dist/{reranker-AALRMGMM.js → reranker-MNJSTOPR.js} +3 -3
- package/dist/{retrieval-health-PNWJSJNG.js → retrieval-health-W4HNR3WX.js} +1 -1
- package/dist/{review-polling-65JZUE3T.js → review-polling-SRYZU2PI.js} +15 -15
- package/dist/runtime/index.js +22 -22
- package/dist/{session-events-EJ3OSAA6.js → session-events-L4DK5J6J.js} +15 -15
- package/dist/{session-kill-telemetry-3HGM7SNQ.js → session-kill-telemetry-U2YHKHCB.js} +15 -15
- package/dist/{session-scope-JGDYAMJO.js → session-scope-JTPHECAU.js} +14 -14
- package/dist/{setup-wizard-44LMFM2C.js → setup-wizard-IP5R66LR.js} +3 -3
- package/dist/{shard-manager-KUCJPLC6.js → shard-manager-RASGFMGS.js} +3 -3
- package/dist/{skill-refinement-DUOO6B7V.js → skill-refinement-VTYL4OMJ.js} +5 -5
- package/dist/{stack-release-XYMKU7NT.js → stack-release-TOCCJQOF.js} +244 -45
- package/dist/{stack-update-TUBZTY7Z.js → stack-update-MRNVHUZZ.js} +11 -5
- package/dist/{steward-gate-6NWRDLX2.js → steward-gate-JEVUDTBI.js} +6 -6
- package/dist/{task-enforcement-UOULTGFB.js → task-enforcement-VFSAAZUN.js} +14 -14
- package/dist/{task-scope-P5STKYAC.js → task-scope-P4VLIQNP.js} +14 -14
- package/dist/{tasks-crud-24HMTULR.js → tasks-crud-SC3ERIUR.js} +14 -14
- package/dist/{tasks-notify-LAIU7UUI.js → tasks-notify-WJYBUCIB.js} +15 -15
- package/dist/{tasks-review-AFJAU2DY.js → tasks-review-XPVPHCGD.js} +14 -14
- package/dist/{telemetry-upload-DWFGC2XJ.js → telemetry-upload-4QEYQROW.js} +10 -10
- package/dist/{token-budget-4RFZKWGH.js → token-budget-UBOP3HVE.js} +6 -6
- package/dist/{tool-capability-index-ZEXBWKUZ.js → tool-capability-index-SHYCBE2Z.js} +1 -1
- package/dist/{tool-telemetry-BS5JXM5M.js → tool-telemetry-CDNPES5B.js} +1 -1
- package/dist/tui/App.js +27 -27
- package/dist/{tui-data-UNO5B7PU.js → tui-data-HVYY7GRK.js} +14 -14
- package/dist/{worker-gate-C6CTTYMD.js → worker-gate-KQTODSUQ.js} +3 -3
- package/dist/{workflow-engine-4W2KYCDV.js → workflow-engine-OP2DQISD.js} +2 -2
- package/dist/{working-memory-FXHQCJJE.js → working-memory-PY4AG577.js} +22 -2
- package/dist/{worktree-2CXY6NEB.js → worktree-Z2G4CP4Z.js} +7 -7
- package/dist/{worktree-sweep-K3CJFSUL.js → worktree-sweep-LWSCAZW6.js} +8 -8
- package/package.json +2 -2
- package/release-notes.json +56 -113
- package/stack.release.json +7 -7
- package/dist/memory-queue-client-HLURQEV6.js +0 -16
- /package/dist/{chunk-J3SR5MGG.js → chunk-GIS4GBZE.js} +0 -0
- /package/dist/{chunk-AE74NOE6.js → chunk-NAPBIDGH.js} +0 -0
- /package/dist/{chunk-I3DPCSDG.js → chunk-OJS2H5HR.js} +0 -0
- /package/dist/{chunk-K4BKJJ4F.js → chunk-PCRRDXGL.js} +0 -0
- /package/dist/{chunk-MQCTK6EF.js → chunk-RRYJTPVW.js} +0 -0
- /package/dist/{chunk-2NS3QRMJ.js → chunk-ZIVUMDHA.js} +0 -0
- /package/dist/{core-memory-OC5ITKKV.js → core-memory-4JWCAGJI.js} +0 -0
- /package/dist/{entity-boost-NF3LE6OJ.js → entity-boost-AU342QRK.js} +0 -0
- /package/dist/{message-queue-client-4VDU6BZY.js → message-queue-client-IXYLJJVJ.js} +0 -0
- /package/dist/{oauth-server-EWUL7DMD.js → oauth-server-F4QWESK2.js} +0 -0
- /package/dist/{webhook-pipe-DHIGZHPW.js → webhook-pipe-S4CWK6H5.js} +0 -0
- /package/dist/{wiki-acl-CONNF6ES.js → wiki-acl-6GZHUA44.js} +0 -0
- /package/dist/{wiki-client-N6PT5P7W.js → wiki-client-CIJXRMKL.js} +0 -0
|
@@ -1,49 +1,49 @@
|
|
|
1
1
|
import {
|
|
2
2
|
checkpointActiveTask,
|
|
3
3
|
writeContinuityCheckpoint
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-
|
|
6
|
-
import "../chunk-
|
|
7
|
-
import "../chunk-
|
|
8
|
-
import "../chunk-
|
|
4
|
+
} from "../chunk-R2WP3XIN.js";
|
|
5
|
+
import "../chunk-F5XPKUPK.js";
|
|
6
|
+
import "../chunk-OXTZEKVA.js";
|
|
7
|
+
import "../chunk-SE6MLUOK.js";
|
|
8
|
+
import "../chunk-V2CZVZUO.js";
|
|
9
9
|
import "../chunk-SH45SJQW.js";
|
|
10
10
|
import {
|
|
11
11
|
getActiveAgent
|
|
12
|
-
} from "../chunk-
|
|
12
|
+
} from "../chunk-BMNX3YWX.js";
|
|
13
13
|
import {
|
|
14
14
|
sessionScopeFilter
|
|
15
|
-
} from "../chunk-
|
|
16
|
-
import "../chunk-
|
|
15
|
+
} from "../chunk-MMNMQNLD.js";
|
|
16
|
+
import "../chunk-L6QI2NNG.js";
|
|
17
17
|
import "../chunk-4JERP7NT.js";
|
|
18
18
|
import "../chunk-4FVVJ7ME.js";
|
|
19
19
|
import "../chunk-E23LNUWJ.js";
|
|
20
|
-
import "../chunk-
|
|
20
|
+
import "../chunk-ZAA344BL.js";
|
|
21
21
|
import "../chunk-SSTLTIF3.js";
|
|
22
22
|
import "../chunk-KOO3J5PV.js";
|
|
23
23
|
import "../chunk-22TVSRQQ.js";
|
|
24
|
-
import "../chunk-
|
|
25
|
-
import "../chunk-
|
|
24
|
+
import "../chunk-P4ULFI2N.js";
|
|
25
|
+
import "../chunk-2PI6JBJL.js";
|
|
26
26
|
import "../chunk-NGP6LSV2.js";
|
|
27
|
-
import "../chunk-
|
|
27
|
+
import "../chunk-JIJKUZIO.js";
|
|
28
28
|
import "../chunk-CVYC6DUW.js";
|
|
29
29
|
import "../chunk-OPU3NYOO.js";
|
|
30
30
|
import "../chunk-GJV3WDWM.js";
|
|
31
31
|
import "../chunk-MP2AFCGL.js";
|
|
32
|
-
import "../chunk-
|
|
32
|
+
import "../chunk-75TM3APG.js";
|
|
33
33
|
import "../chunk-7XGDTKHX.js";
|
|
34
|
-
import "../chunk-
|
|
34
|
+
import "../chunk-3AMGSCRH.js";
|
|
35
35
|
import "../chunk-HYZV25LY.js";
|
|
36
|
-
import "../chunk-
|
|
36
|
+
import "../chunk-VG4ZH2Z3.js";
|
|
37
37
|
import "../chunk-2I23RPSI.js";
|
|
38
|
-
import "../chunk-
|
|
38
|
+
import "../chunk-CSTL7BMK.js";
|
|
39
39
|
import "../chunk-PNQDP3OA.js";
|
|
40
|
-
import "../chunk-
|
|
40
|
+
import "../chunk-H73TUI4Y.js";
|
|
41
41
|
import "../chunk-7HLWBYH7.js";
|
|
42
42
|
import "../chunk-FXU7JOXK.js";
|
|
43
|
-
import "../chunk-
|
|
44
|
-
import "../chunk-
|
|
45
|
-
import "../chunk-
|
|
46
|
-
import "../chunk-
|
|
43
|
+
import "../chunk-I6RHLHVW.js";
|
|
44
|
+
import "../chunk-UST3MKK7.js";
|
|
45
|
+
import "../chunk-WCES22KG.js";
|
|
46
|
+
import "../chunk-SHIICYJW.js";
|
|
47
47
|
import "../chunk-MLKGABMK.js";
|
|
48
48
|
|
|
49
49
|
// src/adapters/claude/hooks/pre-compact.ts
|
|
@@ -56,7 +56,7 @@ process.on("unhandledRejection", (err) => {
|
|
|
56
56
|
process.exit(1);
|
|
57
57
|
});
|
|
58
58
|
try {
|
|
59
|
-
const { verifyOrBlock } = await import("../hook-integrity-
|
|
59
|
+
const { verifyOrBlock } = await import("../hook-integrity-XNPNCMAS.js");
|
|
60
60
|
if (!await verifyOrBlock(new URL(import.meta.url).pathname)) process.exit(2);
|
|
61
61
|
} catch (err) {
|
|
62
62
|
const code = err?.code;
|
|
@@ -89,7 +89,7 @@ process.stdin.on("end", async () => {
|
|
|
89
89
|
const agent = getActiveAgent();
|
|
90
90
|
const sections = [];
|
|
91
91
|
try {
|
|
92
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
92
|
+
const { fastDbInit } = await import("../fast-db-init-PVJ72264.js");
|
|
93
93
|
const client = await fastDbInit({ socketOnly: true });
|
|
94
94
|
const projectName = process.cwd().split("/").pop() ?? "unknown";
|
|
95
95
|
const pcScope = sessionScopeFilter();
|
|
@@ -2,52 +2,53 @@ import "../chunk-YSU7JB7H.js";
|
|
|
2
2
|
import "../chunk-SH45SJQW.js";
|
|
3
3
|
import {
|
|
4
4
|
getActiveAgent
|
|
5
|
-
} from "../chunk-
|
|
5
|
+
} from "../chunk-BMNX3YWX.js";
|
|
6
6
|
import {
|
|
7
7
|
sessionScopeFilter
|
|
8
|
-
} from "../chunk-
|
|
9
|
-
import "../chunk-
|
|
8
|
+
} from "../chunk-MMNMQNLD.js";
|
|
9
|
+
import "../chunk-L6QI2NNG.js";
|
|
10
10
|
import "../chunk-4JERP7NT.js";
|
|
11
11
|
import "../chunk-4FVVJ7ME.js";
|
|
12
12
|
import "../chunk-E23LNUWJ.js";
|
|
13
|
-
import "../chunk-
|
|
13
|
+
import "../chunk-ZAA344BL.js";
|
|
14
14
|
import "../chunk-SSTLTIF3.js";
|
|
15
15
|
import "../chunk-KOO3J5PV.js";
|
|
16
16
|
import "../chunk-22TVSRQQ.js";
|
|
17
|
-
import "../chunk-
|
|
18
|
-
import "../chunk-
|
|
17
|
+
import "../chunk-P4ULFI2N.js";
|
|
18
|
+
import "../chunk-2PI6JBJL.js";
|
|
19
19
|
import "../chunk-NGP6LSV2.js";
|
|
20
|
-
import "../chunk-
|
|
20
|
+
import "../chunk-JIJKUZIO.js";
|
|
21
21
|
import {
|
|
22
22
|
getSessionKey
|
|
23
23
|
} from "../chunk-CVYC6DUW.js";
|
|
24
24
|
import "../chunk-OPU3NYOO.js";
|
|
25
25
|
import "../chunk-GJV3WDWM.js";
|
|
26
26
|
import "../chunk-MP2AFCGL.js";
|
|
27
|
-
import "../chunk-
|
|
27
|
+
import "../chunk-3AMGSCRH.js";
|
|
28
28
|
import "../chunk-HYZV25LY.js";
|
|
29
29
|
import {
|
|
30
30
|
canCoordinate,
|
|
31
31
|
loadEmployeesSync
|
|
32
|
-
} from "../chunk-
|
|
32
|
+
} from "../chunk-VG4ZH2Z3.js";
|
|
33
33
|
import "../chunk-2I23RPSI.js";
|
|
34
|
-
import "../chunk-
|
|
34
|
+
import "../chunk-CSTL7BMK.js";
|
|
35
35
|
import "../chunk-PNQDP3OA.js";
|
|
36
|
-
import "../chunk-
|
|
36
|
+
import "../chunk-H73TUI4Y.js";
|
|
37
37
|
import "../chunk-7HLWBYH7.js";
|
|
38
38
|
import "../chunk-FXU7JOXK.js";
|
|
39
|
-
import "../chunk-
|
|
40
|
-
import "../chunk-
|
|
39
|
+
import "../chunk-I6RHLHVW.js";
|
|
40
|
+
import "../chunk-UST3MKK7.js";
|
|
41
41
|
import {
|
|
42
42
|
EXE_AI_DIR
|
|
43
|
-
} from "../chunk-
|
|
44
|
-
import "../chunk-
|
|
43
|
+
} from "../chunk-WCES22KG.js";
|
|
44
|
+
import "../chunk-SHIICYJW.js";
|
|
45
45
|
import "../chunk-MLKGABMK.js";
|
|
46
46
|
|
|
47
47
|
// src/adapters/claude/hooks/pre-tool-use.ts
|
|
48
48
|
import { existsSync, writeFileSync, mkdirSync } from "fs";
|
|
49
49
|
import { execSync } from "child_process";
|
|
50
50
|
import path from "path";
|
|
51
|
+
import os from "os";
|
|
51
52
|
process.on("uncaughtException", (err) => {
|
|
52
53
|
console.error(`[exe-os:hook:pre-tool-use] FATAL: ${err instanceof Error ? err.stack ?? err.message : String(err)}`);
|
|
53
54
|
process.exit(1);
|
|
@@ -57,7 +58,7 @@ process.on("unhandledRejection", (err) => {
|
|
|
57
58
|
process.exit(1);
|
|
58
59
|
});
|
|
59
60
|
try {
|
|
60
|
-
const { verifyOrBlock } = await import("../hook-integrity-
|
|
61
|
+
const { verifyOrBlock } = await import("../hook-integrity-XNPNCMAS.js");
|
|
61
62
|
if (!await verifyOrBlock(new URL(import.meta.url).pathname)) process.exit(2);
|
|
62
63
|
} catch (err) {
|
|
63
64
|
const code = err?.code;
|
|
@@ -238,25 +239,54 @@ NEVER write to the main repo from a worktree. The main repo belongs to the coord
|
|
|
238
239
|
process.exit(0);
|
|
239
240
|
}
|
|
240
241
|
}
|
|
241
|
-
const cdMatch = command.match(/\bcd\s+(
|
|
242
|
+
const cdMatch = command.match(/\bcd\s+(~\/[\w./-]+|\/Users\/\w+\/[\w./-]+)/);
|
|
242
243
|
if (cdMatch) {
|
|
243
|
-
const
|
|
244
|
+
const cdTarget = cdMatch[1];
|
|
245
|
+
const targetSegments = cdTarget.replace(/^~\//, "").replace(/^\/Users\/\w+\//, "").split("/");
|
|
246
|
+
const targetDir = targetSegments[0];
|
|
244
247
|
const currentProject = process.cwd().split("/").pop();
|
|
245
248
|
if (targetDir && currentProject && targetDir !== currentProject && !command.includes("worktree")) {
|
|
246
|
-
const
|
|
247
|
-
const
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
249
|
+
const expandHome = (p) => p.startsWith("~/") ? path.join(os.homedir(), p.slice(2)) : p;
|
|
250
|
+
const gitRootOf = (dir) => {
|
|
251
|
+
try {
|
|
252
|
+
return execSync(`git -C ${JSON.stringify(dir)} rev-parse --show-toplevel 2>/dev/null`, {
|
|
253
|
+
encoding: "utf8",
|
|
254
|
+
timeout: 2e3
|
|
255
|
+
}).trim() || null;
|
|
256
|
+
} catch {
|
|
257
|
+
return null;
|
|
258
|
+
}
|
|
259
|
+
};
|
|
260
|
+
const currentRepoRoot = gitRootOf(process.cwd());
|
|
261
|
+
const absTarget = path.resolve(process.cwd(), expandHome(cdTarget));
|
|
262
|
+
let probe = absTarget;
|
|
263
|
+
let targetRepoRoot = null;
|
|
264
|
+
for (let depth = 0; depth < 12 && probe && probe !== "/"; depth++) {
|
|
265
|
+
const root = gitRootOf(probe);
|
|
266
|
+
if (root) {
|
|
267
|
+
targetRepoRoot = root;
|
|
268
|
+
break;
|
|
269
|
+
}
|
|
270
|
+
probe = path.dirname(probe);
|
|
271
|
+
}
|
|
272
|
+
const currentRepoName = currentRepoRoot?.split("/").pop() ?? null;
|
|
273
|
+
const isMonorepoNavigation = currentRepoRoot !== null && targetRepoRoot !== null && currentRepoRoot === targetRepoRoot || currentRepoName !== null && targetDir === currentRepoName;
|
|
274
|
+
if (!isMonorepoNavigation) {
|
|
275
|
+
const taskContext = process.env.EXE_CURRENT_TASK_CONTEXT ?? "";
|
|
276
|
+
const targetInTaskScope = taskContext.toLowerCase().includes(targetDir.toLowerCase());
|
|
277
|
+
if (targetInTaskScope) {
|
|
278
|
+
const output2 = JSON.stringify({
|
|
279
|
+
systemMessage: `\u2139\uFE0F Cross-repo access to ${targetDir} allowed \u2014 referenced in your current task context.`
|
|
280
|
+
});
|
|
281
|
+
process.stdout.write(output2);
|
|
282
|
+
process.exit(0);
|
|
283
|
+
}
|
|
284
|
+
const output = JSON.stringify({
|
|
285
|
+
systemMessage: `\u26A0\uFE0F CROSS-REPO WARNING: You are in ${currentProject} but this command operates on ${targetDir}. Stay in your repo. "Commit all" means all changes in THIS repo, not other repos. If ${targetDir} needs work, create_task to dispatch it to that project's agent.`
|
|
251
286
|
});
|
|
252
|
-
process.stdout.write(
|
|
287
|
+
process.stdout.write(output);
|
|
253
288
|
process.exit(0);
|
|
254
289
|
}
|
|
255
|
-
const output = JSON.stringify({
|
|
256
|
-
systemMessage: `\u26A0\uFE0F CROSS-REPO WARNING: You are in ${currentProject} but this command operates on ${targetDir}. Stay in your repo. "Commit all" means all changes in THIS repo, not other repos. If ${targetDir} needs work, create_task to dispatch it to that project's agent.`
|
|
257
|
-
});
|
|
258
|
-
process.stdout.write(output);
|
|
259
|
-
process.exit(0);
|
|
260
290
|
}
|
|
261
291
|
}
|
|
262
292
|
}
|
|
@@ -338,15 +368,15 @@ Do NOT report this as successful. No file was changed. If you are a sub-agent, r
|
|
|
338
368
|
process.exit(0);
|
|
339
369
|
}
|
|
340
370
|
}
|
|
341
|
-
const { getGatedAgent } = await import("../cto-delegation-gate-
|
|
371
|
+
const { getGatedAgent } = await import("../cto-delegation-gate-ZJHLPK4Y.js");
|
|
342
372
|
const gatedAgent = getGatedAgent();
|
|
343
373
|
if (agent.agentId === gatedAgent && /^(Write|Edit)$/.test(data.tool_name)) {
|
|
344
374
|
const filePath = data.tool_input?.file_path ?? "";
|
|
345
375
|
if (filePath) {
|
|
346
376
|
try {
|
|
347
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
377
|
+
const { fastDbInit } = await import("../fast-db-init-PVJ72264.js");
|
|
348
378
|
await fastDbInit();
|
|
349
|
-
const { evaluateDelegationGate, GATE_BLOCK_MESSAGE } = await import("../cto-delegation-gate-
|
|
379
|
+
const { evaluateDelegationGate, GATE_BLOCK_MESSAGE } = await import("../cto-delegation-gate-ZJHLPK4Y.js");
|
|
350
380
|
const decision = await evaluateDelegationGate({
|
|
351
381
|
agentId: agent.agentId,
|
|
352
382
|
toolName: data.tool_name,
|
|
@@ -399,7 +429,7 @@ Reason: ${decision.reason ?? "engineer-delegatable edit"}`;
|
|
|
399
429
|
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);
|
|
400
430
|
if (isUpdateTaskDone) {
|
|
401
431
|
try {
|
|
402
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
432
|
+
const { fastDbInit } = await import("../fast-db-init-PVJ72264.js");
|
|
403
433
|
const client = await fastDbInit();
|
|
404
434
|
const taskId = String(toolInput.task_id ?? "");
|
|
405
435
|
const ptScope = sessionScopeFilter();
|
|
@@ -457,7 +487,7 @@ Reason: ${decision.reason ?? "engineer-delegatable edit"}`;
|
|
|
457
487
|
}
|
|
458
488
|
if (CTO_ROLES.includes(agent.agentRole) && !hasDelegationFired()) {
|
|
459
489
|
try {
|
|
460
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
490
|
+
const { fastDbInit } = await import("../fast-db-init-PVJ72264.js");
|
|
461
491
|
const client = await fastDbInit();
|
|
462
492
|
const dlScope = sessionScopeFilter();
|
|
463
493
|
const result = await client.execute({
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
hybridSearch,
|
|
3
3
|
lightweightSearch
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-Y5CNGG4F.js";
|
|
5
5
|
import "../chunk-AB4PAQYK.js";
|
|
6
|
-
import "../chunk-
|
|
6
|
+
import "../chunk-RLBVY5FE.js";
|
|
7
7
|
import "../chunk-CHCA3ZM2.js";
|
|
8
8
|
import "../chunk-OTVEIJUQ.js";
|
|
9
|
-
import "../chunk-
|
|
9
|
+
import "../chunk-RRYJTPVW.js";
|
|
10
10
|
import {
|
|
11
11
|
isCacheCold
|
|
12
12
|
} from "../chunk-6A7P74QV.js";
|
|
@@ -14,24 +14,24 @@ import "../chunk-YSU7JB7H.js";
|
|
|
14
14
|
import "../chunk-SH45SJQW.js";
|
|
15
15
|
import {
|
|
16
16
|
getActiveAgent
|
|
17
|
-
} from "../chunk-
|
|
17
|
+
} from "../chunk-BMNX3YWX.js";
|
|
18
18
|
import "../chunk-Y25OJWOQ.js";
|
|
19
19
|
import {
|
|
20
20
|
formatIntercomPrompt,
|
|
21
21
|
isExeSession
|
|
22
|
-
} from "../chunk-
|
|
23
|
-
import "../chunk-
|
|
22
|
+
} from "../chunk-MMNMQNLD.js";
|
|
23
|
+
import "../chunk-L6QI2NNG.js";
|
|
24
24
|
import "../chunk-4JERP7NT.js";
|
|
25
25
|
import "../chunk-4FVVJ7ME.js";
|
|
26
26
|
import "../chunk-E23LNUWJ.js";
|
|
27
|
-
import "../chunk-
|
|
27
|
+
import "../chunk-ZAA344BL.js";
|
|
28
28
|
import "../chunk-SSTLTIF3.js";
|
|
29
29
|
import "../chunk-KOO3J5PV.js";
|
|
30
30
|
import "../chunk-22TVSRQQ.js";
|
|
31
|
-
import "../chunk-
|
|
32
|
-
import "../chunk-
|
|
31
|
+
import "../chunk-P4ULFI2N.js";
|
|
32
|
+
import "../chunk-2PI6JBJL.js";
|
|
33
33
|
import "../chunk-NGP6LSV2.js";
|
|
34
|
-
import "../chunk-
|
|
34
|
+
import "../chunk-JIJKUZIO.js";
|
|
35
35
|
import {
|
|
36
36
|
getSessionKey
|
|
37
37
|
} from "../chunk-CVYC6DUW.js";
|
|
@@ -42,30 +42,30 @@ import "../chunk-GJV3WDWM.js";
|
|
|
42
42
|
import "../chunk-MP2AFCGL.js";
|
|
43
43
|
import {
|
|
44
44
|
resolveHookSearchEnabled
|
|
45
|
-
} from "../chunk-
|
|
46
|
-
import "../chunk-
|
|
45
|
+
} from "../chunk-KWOAM7TA.js";
|
|
46
|
+
import "../chunk-3AMGSCRH.js";
|
|
47
47
|
import "../chunk-HYZV25LY.js";
|
|
48
48
|
import {
|
|
49
49
|
canCoordinate
|
|
50
|
-
} from "../chunk-
|
|
50
|
+
} from "../chunk-VG4ZH2Z3.js";
|
|
51
51
|
import "../chunk-2I23RPSI.js";
|
|
52
|
-
import "../chunk-
|
|
52
|
+
import "../chunk-CSTL7BMK.js";
|
|
53
53
|
import "../chunk-PNQDP3OA.js";
|
|
54
|
-
import "../chunk-
|
|
54
|
+
import "../chunk-H73TUI4Y.js";
|
|
55
55
|
import "../chunk-7HLWBYH7.js";
|
|
56
56
|
import "../chunk-FXU7JOXK.js";
|
|
57
57
|
import "../chunk-Z42MXYWW.js";
|
|
58
|
-
import "../chunk-
|
|
59
|
-
import "../chunk-
|
|
58
|
+
import "../chunk-I6RHLHVW.js";
|
|
59
|
+
import "../chunk-UST3MKK7.js";
|
|
60
60
|
import {
|
|
61
61
|
EXE_AI_DIR,
|
|
62
62
|
loadConfig,
|
|
63
63
|
loadConfigSync
|
|
64
|
-
} from "../chunk-
|
|
64
|
+
} from "../chunk-WCES22KG.js";
|
|
65
65
|
import {
|
|
66
66
|
atomicWriteJsonSync,
|
|
67
67
|
atomicWriteSync
|
|
68
|
-
} from "../chunk-
|
|
68
|
+
} from "../chunk-SHIICYJW.js";
|
|
69
69
|
import "../chunk-MLKGABMK.js";
|
|
70
70
|
|
|
71
71
|
// src/adapters/claude/hooks/prompt-submit.ts
|
|
@@ -82,7 +82,7 @@ process.on("unhandledRejection", (err) => {
|
|
|
82
82
|
process.exit(1);
|
|
83
83
|
});
|
|
84
84
|
try {
|
|
85
|
-
const { verifyOrBlock } = await import("../hook-integrity-
|
|
85
|
+
const { verifyOrBlock } = await import("../hook-integrity-XNPNCMAS.js");
|
|
86
86
|
if (!await verifyOrBlock(new URL(import.meta.url).pathname)) process.exit(2);
|
|
87
87
|
} catch (err) {
|
|
88
88
|
const code = err?.code;
|
|
@@ -170,7 +170,7 @@ process.stdin.on("end", async () => {
|
|
|
170
170
|
process.exit(0);
|
|
171
171
|
}
|
|
172
172
|
try {
|
|
173
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
173
|
+
const { fastDbInit } = await import("../fast-db-init-PVJ72264.js");
|
|
174
174
|
await fastDbInit();
|
|
175
175
|
} catch {
|
|
176
176
|
}
|
|
@@ -210,10 +210,18 @@ process.stdin.on("end", async () => {
|
|
|
210
210
|
return false;
|
|
211
211
|
}
|
|
212
212
|
};
|
|
213
|
+
let hasUnreadMessages = false;
|
|
214
|
+
try {
|
|
215
|
+
const { countUnreadMessages } = await import("../lib/messaging.js");
|
|
216
|
+
const count = await countUnreadMessages(agent.agentId);
|
|
217
|
+
hasUnreadMessages = count > 0;
|
|
218
|
+
} catch {
|
|
219
|
+
}
|
|
213
220
|
drainForSession(currentSession, (session, item) => {
|
|
214
221
|
try {
|
|
215
222
|
const agentName = baseAgentName(session.split("-")[0] ?? session);
|
|
216
223
|
if (isSessionBusy(session) || hasInProgressTask(agentName)) return true;
|
|
224
|
+
if (item.intercomReason === "message" && !hasUnreadMessages) return true;
|
|
217
225
|
const rtConfig = getAgentRuntime(agentName);
|
|
218
226
|
const nudgeMsg = formatIntercomPrompt(item.intercomReason ?? "nudge");
|
|
219
227
|
transport.sendKeysLiteral(session, nudgeMsg);
|
|
@@ -284,7 +292,7 @@ process.stdin.on("end", async () => {
|
|
|
284
292
|
signal: controller.signal
|
|
285
293
|
});
|
|
286
294
|
clearTimeout(timeout2);
|
|
287
|
-
if (
|
|
295
|
+
if (resp.status >= 500) {
|
|
288
296
|
mcpStaleNotice = "\n\u26A0\uFE0F MCP degraded (daemon unresponsive). Run /mcp to reconnect.\n";
|
|
289
297
|
}
|
|
290
298
|
} catch {
|
|
@@ -358,7 +366,7 @@ ${fresh.map(
|
|
|
358
366
|
atomicWriteSync(counterPath, String(count));
|
|
359
367
|
const BEHAVIOR_REINJECT_INTERVAL = 50;
|
|
360
368
|
if (count === 1 || count % BEHAVIOR_REINJECT_INTERVAL === 0) {
|
|
361
|
-
const { listBehaviors } = await import("../behaviors-
|
|
369
|
+
const { listBehaviors } = await import("../behaviors-PQ77IPJR.js");
|
|
362
370
|
const behaviors = await listBehaviors(agent.agentId);
|
|
363
371
|
const active = behaviors.filter((b) => b.active !== 0).sort((a, b) => (a.priority === "p0" ? -1 : 1) - (b.priority === "p0" ? -1 : 1)).slice(0, 15);
|
|
364
372
|
if (active.length > 0) {
|
|
@@ -398,7 +406,7 @@ ${parts.join("\n\n")}`;
|
|
|
398
406
|
if (!lastCheckedAt) {
|
|
399
407
|
lastCheckedAt = "1970-01-01T00:00:00.000Z";
|
|
400
408
|
}
|
|
401
|
-
const { listBehaviorsSince } = await import("../behaviors-
|
|
409
|
+
const { listBehaviorsSince } = await import("../behaviors-PQ77IPJR.js");
|
|
402
410
|
const newBehaviors = await listBehaviorsSince(agent.agentId, lastCheckedAt);
|
|
403
411
|
if (newBehaviors.length > 0) {
|
|
404
412
|
const newReflex = newBehaviors.filter((b) => b.domain === "reflex");
|
|
@@ -466,7 +474,7 @@ ${body}`;
|
|
|
466
474
|
let reviewContext = "";
|
|
467
475
|
if (canCoordinate(agent.agentId, agent.agentRole)) {
|
|
468
476
|
try {
|
|
469
|
-
const { countPendingReviews, countNewPendingReviewsSince } = await import("../tasks-review-
|
|
477
|
+
const { countPendingReviews, countNewPendingReviewsSince } = await import("../tasks-review-XPVPHCGD.js");
|
|
470
478
|
const sessionKey = getSessionKey();
|
|
471
479
|
const lastCheckPath = path.join(CACHE_DIR, `review-lastcheck-${sessionKey}.json`);
|
|
472
480
|
let sessionScope;
|
|
@@ -523,7 +531,7 @@ IMPORTANT: After completing your current task, you MUST address the pending revi
|
|
|
523
531
|
let coreMemoryContext = "";
|
|
524
532
|
if (!IS_CODEX_RUNTIME && agent.agentId !== "default") {
|
|
525
533
|
try {
|
|
526
|
-
const { getCoreMemory, formatCoreMemoryBlock } = await import("../core-memory-
|
|
534
|
+
const { getCoreMemory, formatCoreMemoryBlock } = await import("../core-memory-4JWCAGJI.js");
|
|
527
535
|
const entries = await getCoreMemory(agent.agentId);
|
|
528
536
|
const block = formatCoreMemoryBlock(entries);
|
|
529
537
|
if (block) coreMemoryContext = block;
|
|
@@ -596,7 +604,7 @@ IMPORTANT: After completing your current task, you MUST address the new task abo
|
|
|
596
604
|
} catch {
|
|
597
605
|
}
|
|
598
606
|
try {
|
|
599
|
-
const { recordOrchestrationEventBestEffort: recordOE } = await import("../orchestration-events-
|
|
607
|
+
const { recordOrchestrationEventBestEffort: recordOE } = await import("../orchestration-events-7SNWRJYE.js");
|
|
600
608
|
recordOE({
|
|
601
609
|
eventType: "signal.consumed",
|
|
602
610
|
source: "prompt-submit.hook",
|
|
@@ -665,7 +673,7 @@ IMPORTANT: After completing your current task, you MUST address the new task abo
|
|
|
665
673
|
let idleTaskContext = "";
|
|
666
674
|
if (!taskSignalContext && agent.agentId !== "default" && !IS_CODEX_RUNTIME) {
|
|
667
675
|
try {
|
|
668
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
676
|
+
const { fastDbInit } = await import("../fast-db-init-PVJ72264.js");
|
|
669
677
|
const client = await fastDbInit();
|
|
670
678
|
let taskSessionScope = null;
|
|
671
679
|
if (inTmux) {
|
|
@@ -734,7 +742,7 @@ IMPORTANT: After completing your current task, you MUST address the new task abo
|
|
|
734
742
|
}
|
|
735
743
|
if (hints.length === 0) {
|
|
736
744
|
try {
|
|
737
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
745
|
+
const { fastDbInit } = await import("../fast-db-init-PVJ72264.js");
|
|
738
746
|
const client = await fastDbInit();
|
|
739
747
|
const reminderResult = await client.execute({
|
|
740
748
|
sql: `SELECT COUNT(*) as cnt FROM reminders WHERE completed_at IS NULL AND due_date IS NOT NULL AND due_date <= date('now', '+1 day')`,
|
|
@@ -813,8 +821,8 @@ async function writePromptMemory(prompt, sessionId, agent) {
|
|
|
813
821
|
return;
|
|
814
822
|
}
|
|
815
823
|
try {
|
|
816
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
817
|
-
const { recordSessionEvent } = await import("../session-events-
|
|
824
|
+
const { fastDbInit } = await import("../fast-db-init-PVJ72264.js");
|
|
825
|
+
const { recordSessionEvent } = await import("../session-events-L4DK5J6J.js");
|
|
818
826
|
const client = await fastDbInit();
|
|
819
827
|
await recordSessionEvent(client, {
|
|
820
828
|
agentId: agent.agentId,
|
|
@@ -829,7 +837,7 @@ async function writePromptMemory(prompt, sessionId, agent) {
|
|
|
829
837
|
}
|
|
830
838
|
if (!loadConfigSync().autoIngestion) return;
|
|
831
839
|
try {
|
|
832
|
-
const { writeMemoryViaDaemon } = await import("../memory-queue-client-
|
|
840
|
+
const { writeMemoryViaDaemon } = await import("../memory-queue-client-YP2QKX6J.js");
|
|
833
841
|
const trimmed = prompt.trim();
|
|
834
842
|
const isSlashCommand = trimmed.startsWith("/");
|
|
835
843
|
const isDirective = /\b(from now on|never|always|rule:|decision:|policy:)\b/i.test(trimmed);
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
writeContinuityCheckpoint
|
|
3
|
-
} from "../chunk-
|
|
4
|
-
import "../chunk-
|
|
5
|
-
import "../chunk-
|
|
6
|
-
import "../chunk-
|
|
7
|
-
import "../chunk-
|
|
3
|
+
} from "../chunk-R2WP3XIN.js";
|
|
4
|
+
import "../chunk-F5XPKUPK.js";
|
|
5
|
+
import "../chunk-OXTZEKVA.js";
|
|
6
|
+
import "../chunk-SE6MLUOK.js";
|
|
7
|
+
import "../chunk-V2CZVZUO.js";
|
|
8
8
|
import {
|
|
9
9
|
clearCacheState
|
|
10
10
|
} from "../chunk-6A7P74QV.js";
|
|
@@ -13,45 +13,45 @@ import "../chunk-SH45SJQW.js";
|
|
|
13
13
|
import {
|
|
14
14
|
clearActiveAgent,
|
|
15
15
|
getActiveAgent
|
|
16
|
-
} from "../chunk-
|
|
16
|
+
} from "../chunk-BMNX3YWX.js";
|
|
17
17
|
import {
|
|
18
18
|
strictSessionScopeFilter
|
|
19
|
-
} from "../chunk-
|
|
20
|
-
import "../chunk-
|
|
19
|
+
} from "../chunk-MMNMQNLD.js";
|
|
20
|
+
import "../chunk-L6QI2NNG.js";
|
|
21
21
|
import "../chunk-4JERP7NT.js";
|
|
22
22
|
import "../chunk-4FVVJ7ME.js";
|
|
23
23
|
import "../chunk-E23LNUWJ.js";
|
|
24
|
-
import "../chunk-
|
|
24
|
+
import "../chunk-ZAA344BL.js";
|
|
25
25
|
import "../chunk-SSTLTIF3.js";
|
|
26
26
|
import "../chunk-KOO3J5PV.js";
|
|
27
27
|
import "../chunk-22TVSRQQ.js";
|
|
28
|
-
import "../chunk-
|
|
29
|
-
import "../chunk-
|
|
28
|
+
import "../chunk-P4ULFI2N.js";
|
|
29
|
+
import "../chunk-2PI6JBJL.js";
|
|
30
30
|
import "../chunk-NGP6LSV2.js";
|
|
31
|
-
import "../chunk-
|
|
31
|
+
import "../chunk-JIJKUZIO.js";
|
|
32
32
|
import {
|
|
33
33
|
getSessionKey
|
|
34
34
|
} from "../chunk-CVYC6DUW.js";
|
|
35
35
|
import "../chunk-OPU3NYOO.js";
|
|
36
36
|
import "../chunk-GJV3WDWM.js";
|
|
37
37
|
import "../chunk-MP2AFCGL.js";
|
|
38
|
-
import "../chunk-
|
|
38
|
+
import "../chunk-75TM3APG.js";
|
|
39
39
|
import "../chunk-7XGDTKHX.js";
|
|
40
|
-
import "../chunk-
|
|
40
|
+
import "../chunk-3AMGSCRH.js";
|
|
41
41
|
import "../chunk-HYZV25LY.js";
|
|
42
42
|
import {
|
|
43
43
|
canCoordinate
|
|
44
|
-
} from "../chunk-
|
|
44
|
+
} from "../chunk-VG4ZH2Z3.js";
|
|
45
45
|
import "../chunk-2I23RPSI.js";
|
|
46
|
-
import "../chunk-
|
|
46
|
+
import "../chunk-CSTL7BMK.js";
|
|
47
47
|
import "../chunk-PNQDP3OA.js";
|
|
48
|
-
import "../chunk-
|
|
48
|
+
import "../chunk-H73TUI4Y.js";
|
|
49
49
|
import "../chunk-7HLWBYH7.js";
|
|
50
50
|
import "../chunk-FXU7JOXK.js";
|
|
51
|
-
import "../chunk-
|
|
52
|
-
import "../chunk-
|
|
53
|
-
import "../chunk-
|
|
54
|
-
import "../chunk-
|
|
51
|
+
import "../chunk-I6RHLHVW.js";
|
|
52
|
+
import "../chunk-UST3MKK7.js";
|
|
53
|
+
import "../chunk-WCES22KG.js";
|
|
54
|
+
import "../chunk-SHIICYJW.js";
|
|
55
55
|
import "../chunk-MLKGABMK.js";
|
|
56
56
|
|
|
57
57
|
// src/adapters/claude/hooks/session-end.ts
|
|
@@ -65,7 +65,7 @@ process.on("unhandledRejection", (err) => {
|
|
|
65
65
|
process.exit(1);
|
|
66
66
|
});
|
|
67
67
|
try {
|
|
68
|
-
const { verifyOrBlock } = await import("../hook-integrity-
|
|
68
|
+
const { verifyOrBlock } = await import("../hook-integrity-XNPNCMAS.js");
|
|
69
69
|
if (!await verifyOrBlock(new URL(import.meta.url).pathname)) process.exit(2);
|
|
70
70
|
} catch (err) {
|
|
71
71
|
const code = err?.code;
|
|
@@ -262,7 +262,7 @@ process.stdin.on("end", async () => {
|
|
|
262
262
|
process.stderr.write(`[session-end] EXIT: ${agent.agentId} session=${Math.round((transcript.sessionDurationMs ?? 0) / 1e3)}s hook=${Math.round(hookUptimeMs / 1e3)}s \u2014 reason=${exitReason} daemon=${daemonAlive ? "alive" : "DEAD"}
|
|
263
263
|
`);
|
|
264
264
|
try {
|
|
265
|
-
const { recordOrchestrationEvent } = await import("../orchestration-events-
|
|
265
|
+
const { recordOrchestrationEvent } = await import("../orchestration-events-7SNWRJYE.js");
|
|
266
266
|
await recordOrchestrationEvent({
|
|
267
267
|
eventType: "session.exit",
|
|
268
268
|
source: "hooks.session-end",
|
|
@@ -287,7 +287,7 @@ process.stdin.on("end", async () => {
|
|
|
287
287
|
}
|
|
288
288
|
if (agent.agentId) {
|
|
289
289
|
try {
|
|
290
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
290
|
+
const { fastDbInit } = await import("../fast-db-init-PVJ72264.js");
|
|
291
291
|
const client = await fastDbInit();
|
|
292
292
|
const seScope = strictSessionScopeFilter();
|
|
293
293
|
const orphanResult = await client.execute({
|
|
@@ -363,7 +363,7 @@ Orphaned tasks at session end: ${orphanResult.rows.map((r) => `"${String(r.title
|
|
|
363
363
|
});
|
|
364
364
|
if (conversationSummary.length > 100) {
|
|
365
365
|
try {
|
|
366
|
-
const { writeMemoryViaDaemon } = await import("../memory-queue-client-
|
|
366
|
+
const { writeMemoryViaDaemon } = await import("../memory-queue-client-YP2QKX6J.js");
|
|
367
367
|
await writeMemoryViaDaemon({
|
|
368
368
|
raw_text: conversationSummary.slice(0, 8e3),
|
|
369
369
|
agent_id: agent.agentId,
|
|
@@ -379,12 +379,12 @@ Orphaned tasks at session end: ${orphanResult.rows.map((r) => `"${String(r.title
|
|
|
379
379
|
}
|
|
380
380
|
}
|
|
381
381
|
try {
|
|
382
|
-
const { clearSessionFileReads } = await import("../git-staleness-
|
|
382
|
+
const { clearSessionFileReads } = await import("../git-staleness-IOAHAGBI.js");
|
|
383
383
|
await clearSessionFileReads(data.session_id);
|
|
384
384
|
} catch {
|
|
385
385
|
}
|
|
386
386
|
try {
|
|
387
|
-
const { DreamingEngine } = await import("../dreaming-
|
|
387
|
+
const { DreamingEngine } = await import("../dreaming-76WKGTL6.js");
|
|
388
388
|
const engine = new DreamingEngine();
|
|
389
389
|
const dreamResult = await engine.runDreamCycle(agent.agentId);
|
|
390
390
|
let promoted = 0;
|
|
@@ -460,7 +460,7 @@ Orphaned tasks at session end: ${orphanResult.rows.map((r) => `"${String(r.title
|
|
|
460
460
|
parts.push(`Left in_progress (no matching commits, needs triage): ${leftInProgress.join(", ")}`);
|
|
461
461
|
}
|
|
462
462
|
try {
|
|
463
|
-
const { writeNotification } = await import("../notifications-
|
|
463
|
+
const { writeNotification } = await import("../notifications-Q5NEAP6K.js");
|
|
464
464
|
await writeNotification({
|
|
465
465
|
agentId: agent.agentId,
|
|
466
466
|
agentRole: agent.agentRole,
|
|
@@ -504,7 +504,7 @@ Orphaned tasks at session end: ${orphanResult.rows.map((r) => `"${String(r.title
|
|
|
504
504
|
} catch {
|
|
505
505
|
}
|
|
506
506
|
try {
|
|
507
|
-
const { clearCookieJar, cleanupExpiredJars } = await import("../browser-session-store-
|
|
507
|
+
const { clearCookieJar, cleanupExpiredJars } = await import("../browser-session-store-CXQMOSEC.js");
|
|
508
508
|
const sk = getSessionKey();
|
|
509
509
|
clearCookieJar(agent.agentId, sk);
|
|
510
510
|
cleanupExpiredJars();
|