@askexenow/exe-os 0.9.352 → 0.9.354
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-WQYB3JQY.js → active-agent-B5NRAHU4.js} +3 -3
- package/dist/{active-agent-PMCD3LFW.js → active-agent-UMTKUERG.js} +3 -3
- package/dist/{agentic-ontology-HTU5EMEQ.js → agentic-ontology-G34AXRPG.js} +1 -1
- package/dist/{backfill-metadata-QUUXE2TL.js → backfill-metadata-VCJOHOJQ.js} +5 -5
- package/dist/{backup-verify-YJGUNZWJ.js → backup-verify-QHL2YSEA.js} +1 -1
- package/dist/behavior-injection-7JZJT4X4.js +275 -0
- package/dist/{behaviors-P5FORAYU.js → behaviors-O5NHB5N5.js} +6 -6
- package/dist/bin/agentic-ontology-backfill.js +6 -6
- package/dist/bin/agentic-reflection-backfill.js +7 -7
- package/dist/bin/agentic-semantic-label.js +6 -6
- package/dist/bin/backfill-conversations.js +5 -5
- package/dist/bin/backfill-responses.js +5 -5
- package/dist/bin/backfill-vectors.js +6 -6
- package/dist/bin/bulk-sync-postgres.js +10 -10
- package/dist/bin/cc-doctor.js +4 -4
- package/dist/bin/cleanup-stale-review-tasks.js +15 -15
- package/dist/bin/cli.js +18 -18
- package/dist/bin/deferred-daemon-restart.js +70 -70
- package/dist/bin/exe-agent-config.js +3 -3
- package/dist/bin/exe-agent.js +8 -8
- package/dist/bin/exe-assign.js +6 -6
- package/dist/bin/exe-boot.js +29 -29
- package/dist/bin/exe-call.js +5 -5
- package/dist/bin/exe-cloud.js +10 -10
- package/dist/bin/exe-config-dump.js +3 -3
- package/dist/bin/exe-dispatch.js +15 -15
- package/dist/bin/exe-doctor.js +4 -4
- package/dist/bin/exe-export-behaviors.js +8 -8
- package/dist/bin/exe-forget.js +7 -7
- package/dist/bin/exe-gateway.js +7 -7
- package/dist/bin/exe-healthcheck.js +4 -4
- package/dist/bin/exe-heartbeat.js +17 -17
- package/dist/bin/exe-kill.js +19 -19
- package/dist/bin/exe-launch-agent.js +25 -25
- package/dist/bin/exe-memory-reads.js +45 -7
- package/dist/bin/exe-new-employee.js +9 -9
- package/dist/bin/exe-os-mcp-proxy.js +3 -3
- 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-rename.js +5 -5
- package/dist/bin/exe-review.js +18 -18
- package/dist/bin/exe-search.js +6 -6
- package/dist/bin/exe-session-cleanup.js +19 -19
- package/dist/bin/exe-settings.js +11 -11
- package/dist/bin/exe-start-codex.js +13 -13
- package/dist/bin/exe-start-opencode.js +9 -9
- package/dist/bin/exe-status.js +16 -16
- package/dist/bin/exe-support.js +3 -3
- package/dist/bin/exe-team.js +3 -3
- package/dist/bin/git-sweep.js +16 -16
- package/dist/bin/graph-backfill.js +6 -6
- package/dist/bin/graph-export.js +6 -6
- package/dist/bin/import-history.js +9 -9
- package/dist/bin/install.js +72 -72
- package/dist/bin/intercom-check.js +4 -4
- package/dist/bin/mcp-sessions.js +2 -2
- package/dist/bin/orchestration-metrics.js +4 -4
- package/dist/bin/postgres-agentic-reflection-backfill.js +2 -2
- package/dist/bin/postgres-agentic-semantic-backfill.js +1 -1
- package/dist/bin/pre-publish.js +1 -1
- package/dist/bin/reconcile-backlog.js +2 -2
- package/dist/bin/registry-proxy.js +1 -1
- package/dist/bin/scan-tasks.js +15 -15
- package/dist/bin/setup.js +1 -1
- package/dist/bin/shard-migrate.js +5 -5
- package/dist/bin/stack-update.js +4 -4
- package/dist/bin/vps-health-gate.js +1 -1
- package/dist/{boot-generation-XNR2CBMX.js → boot-generation-DIFHCR3O.js} +3 -3
- package/dist/{boot-review-sections-ZWXRZ6YX.js → boot-review-sections-PFODN2NT.js} +14 -14
- package/dist/{capability-cards-IOGHQJ6Y.js → capability-cards-B5FOK5AD.js} +2 -2
- package/dist/{capacity-monitor-3YN75QXX.js → capacity-monitor-LOUTJNP7.js} +16 -16
- package/dist/{catchup-brief-7WCQGC2Z.js → catchup-brief-HJNOFCBW.js} +19 -19
- package/dist/{chunk-MFX2RWJZ.js → chunk-24QNYQQ5.js} +3 -3
- package/dist/{chunk-AGCGXXIB.js → chunk-2IB6M2ST.js} +2 -2
- package/dist/{chunk-DXYHU5D6.js → chunk-2O7ABKDY.js} +1 -1
- package/dist/{chunk-BHDOPDPY.js → chunk-2TL5RKMC.js} +1 -1
- package/dist/{chunk-H2BE7ZPC.js → chunk-3DOISTO5.js} +9 -9
- package/dist/{chunk-L3DKZC4R.js → chunk-3KTQG6IB.js} +3 -3
- package/dist/{chunk-LVYIM3V4.js → chunk-3WVIGZDA.js} +4 -4
- package/dist/{chunk-TGU2IB6P.js → chunk-4CO7VCTT.js} +2 -2
- package/dist/{chunk-GIEIWDC2.js → chunk-4FKHNWNT.js} +1 -1
- package/dist/{chunk-VDKI6PIZ.js → chunk-4VA7TOIB.js} +1 -1
- package/dist/{chunk-ZMDTRDTD.js → chunk-4WPQC765.js} +3 -3
- package/dist/{chunk-TGGOWOLG.js → chunk-5I2HYJ3V.js} +1 -1
- package/dist/{chunk-VF6HK2ID.js → chunk-5NOJ6YUJ.js} +1 -1
- package/dist/{chunk-SLROFI6M.js → chunk-6N37D4QT.js} +1 -1
- package/dist/{chunk-MGFG7V3M.js → chunk-7OQMDEMC.js} +1 -1
- package/dist/{chunk-TXGOFNXD.js → chunk-AZZUBNLM.js} +4 -4
- package/dist/{chunk-5SJXJSAI.js → chunk-B5YGJKRM.js} +1 -1
- package/dist/{chunk-U7HUQPVS.js → chunk-BBY6XFZI.js} +1 -1
- package/dist/{chunk-VDEBUOPB.js → chunk-BDL6D5LQ.js} +1 -1
- package/dist/{chunk-GWO54VKD.js → chunk-BM62YCAL.js} +4 -4
- package/dist/{chunk-SDNIBE22.js → chunk-C4RZ6H2K.js} +2 -2
- package/dist/{chunk-FGII4IO7.js → chunk-COFX64LR.js} +1 -1
- package/dist/{chunk-GXMY5ERQ.js → chunk-CUFN67G7.js} +1 -1
- package/dist/{chunk-SUZOENOA.js → chunk-CUSYHBUW.js} +1 -1
- package/dist/{chunk-6QHQCY3N.js → chunk-CVIVHTCN.js} +1 -1
- package/dist/{chunk-JFGX7LHH.js → chunk-CYGVLWGO.js} +1 -1
- package/dist/{chunk-KBFHODXV.js → chunk-DBQYO7QR.js} +1 -1
- package/dist/{chunk-L4SGSV4M.js → chunk-DJOEUBD6.js} +1 -1
- package/dist/{chunk-WOYADZF5.js → chunk-DSOQUQTV.js} +10 -0
- package/dist/{chunk-HUCMSRIF.js → chunk-DW5STDCA.js} +1 -1
- package/dist/{chunk-D2UZ35PQ.js → chunk-E3MGFSHX.js} +2 -2
- package/dist/{chunk-IC4O376V.js → chunk-E5U4MIWC.js} +2 -2
- package/dist/{chunk-GIZLVGOM.js → chunk-EYS3QWSH.js} +2 -2
- package/dist/{chunk-CYBDUQDO.js → chunk-EZAQCUWI.js} +1 -1
- package/dist/{chunk-AUEMXOJT.js → chunk-F4XO4FMT.js} +1 -1
- package/dist/{chunk-BAWZEI77.js → chunk-F7WTZO6C.js} +1 -1
- package/dist/{chunk-LYMEWCFD.js → chunk-FTN3SPFD.js} +9 -9
- package/dist/{chunk-LVG5ATTU.js → chunk-FV3SYKT4.js} +10 -10
- package/dist/{chunk-NXC3Z7VI.js → chunk-GQT4W7LA.js} +3 -3
- package/dist/{chunk-QABQ7C4C.js → chunk-HD22THYS.js} +1 -1
- package/dist/{chunk-FHOLN7BD.js → chunk-HRWGEBPN.js} +1 -1
- package/dist/{chunk-YJBBW6OT.js → chunk-I5RALLD2.js} +4 -4
- package/dist/{chunk-KZ7BANUM.js → chunk-JEZWLRGH.js} +26 -4
- package/dist/{chunk-GINAJJQR.js → chunk-JIUFFHPT.js} +3 -3
- package/dist/{chunk-53HZ23T5.js → chunk-JKEQWBPF.js} +1 -1
- package/dist/{chunk-ABIZWPSK.js → chunk-JOGNKJYE.js} +2 -2
- package/dist/{chunk-T346KHGF.js → chunk-L5QZB2YY.js} +1 -1
- package/dist/{chunk-HCRUMO4B.js → chunk-LBOAWSYK.js} +1 -1
- package/dist/{chunk-55OFK4ZY.js → chunk-LQGOCLLI.js} +1 -1
- package/dist/{chunk-MFRJRJ6U.js → chunk-M4RJ7XLS.js} +1 -1
- package/dist/{chunk-P5C7JCIZ.js → chunk-MHVEE7FN.js} +11 -11
- package/dist/{chunk-PELEK2IT.js → chunk-MJVNOOF5.js} +1 -1
- package/dist/{chunk-LOYK2BRY.js → chunk-MR6EAVJ7.js} +126 -20
- package/dist/{chunk-XKA343SE.js → chunk-N7GR3WNB.js} +1 -1
- package/dist/{chunk-KES3SNOH.js → chunk-NDERRIKH.js} +1 -1
- package/dist/{chunk-WOGK3FIE.js → chunk-NKAE3TSO.js} +3 -3
- package/dist/{chunk-ENIFHOMF.js → chunk-O2ZXDMMZ.js} +3 -3
- package/dist/{chunk-IXJGEZBS.js → chunk-PLXYRWPL.js} +4 -4
- package/dist/{chunk-PBLFSNIA.js → chunk-PP6TCRBA.js} +1 -1
- package/dist/{chunk-OPDZ62TW.js → chunk-RIBI42T5.js} +3 -3
- package/dist/{chunk-IXDSQ2VO.js → chunk-SARGYCJM.js} +3 -3
- package/dist/{chunk-LFDW43MP.js → chunk-SCRZYNLQ.js} +2 -2
- package/dist/{chunk-Z4F6ZHDV.js → chunk-SE6XCASK.js} +1 -1
- package/dist/{chunk-THDM6HMQ.js → chunk-SJS6XZBG.js} +3 -3
- package/dist/{chunk-I6UOIBCG.js → chunk-TGJMB6DD.js} +1 -1
- package/dist/{chunk-UZ6AA52H.js → chunk-TUP6OV7V.js} +5 -5
- package/dist/{chunk-QIALP626.js → chunk-U2ZY37YM.js} +2 -2
- package/dist/{chunk-T4VUDUZF.js → chunk-UHTKAYNE.js} +3 -3
- package/dist/{chunk-WAVZDYXS.js → chunk-UUZDO3AJ.js} +4 -4
- package/dist/{chunk-AD2VCHSS.js → chunk-UXLO7VHX.js} +1 -1
- package/dist/{chunk-A3YHWWE6.js → chunk-VAY6IXWY.js} +17 -3
- package/dist/{chunk-6ON3JHGE.js → chunk-VBSHSDNF.js} +1 -1
- package/dist/{chunk-4Z74A4A6.js → chunk-VFUIGSMM.js} +5 -5
- package/dist/{chunk-AAVVHD4C.js → chunk-VGJGCOVX.js} +1 -1
- package/dist/{chunk-HKXNF72F.js → chunk-VKKXVQED.js} +140 -116
- package/dist/{chunk-5J4GLPTU.js → chunk-Y22JE2LU.js} +7 -7
- package/dist/{chunk-4EEML23J.js → chunk-YRECUJPC.js} +6 -6
- package/dist/{chunk-KMWRDB5U.js → chunk-YTZIIGJM.js} +2 -2
- package/dist/{chunk-DKOWIBBM.js → chunk-YVNJVZG5.js} +3 -3
- package/dist/{chunk-JO6RMHMW.js → chunk-YYAAFE2D.js} +1 -1
- package/dist/{chunk-UCO3XIL5.js → chunk-ZOGGD4KD.js} +2 -2
- package/dist/{chunk-UXOCABN4.js → chunk-ZVDIWVKL.js} +6 -6
- package/dist/{cleanup-graph-garbage-DQDJK6L7.js → cleanup-graph-garbage-Y6OIYF3D.js} +7 -7
- package/dist/{cloud-sync-shutdown-UHICWZ2B.js → cloud-sync-shutdown-FFWZAXXN.js} +2 -2
- package/dist/{co-activation-PIRKOOPD.js → co-activation-YECIJAY4.js} +2 -2
- package/dist/{co-occurrence-PO4EPN5C.js → co-occurrence-E23DGP5X.js} +5 -5
- package/dist/{conversation-entity-extractor-3UUAYXS6.js → conversation-entity-extractor-AA5GVXTJ.js} +3 -3
- package/dist/{crdt-sync-ZL3GKAQW.js → crdt-sync-74BFXFXP.js} +1 -1
- package/dist/{crm-webhook-BAF3VM34.js → crm-webhook-Q36DOKE5.js} +2 -2
- package/dist/{cto-delegation-gate-AQE2M4HU.js → cto-delegation-gate-L5PDVIZM.js} +14 -14
- package/dist/{daemon-orchestration-X7UPV6VU.js → daemon-orchestration-5QK3UL6O.js} +19 -19
- package/dist/{doc-graph-extractor-IFLEVHUJ.js → doc-graph-extractor-SKGQB3IQ.js} +5 -5
- package/dist/{documents-2BXH6YE4.js → documents-2TXHQZXN.js} +6 -6
- package/dist/{dreaming-AQI4F7J4.js → dreaming-A5NC7KA4.js} +18 -18
- package/dist/{exe-drift-OBXBE3BJ.js → exe-drift-NE2QU5I3.js} +3 -3
- package/dist/{exe-export-VKRI6DK4.js → exe-export-MRZWZCMH.js} +8 -8
- package/dist/{exe-import-EH74J6HM.js → exe-import-DVGM4YTT.js} +8 -8
- package/dist/{exe-key-5R6XAPHS.js → exe-key-7KNEW6NE.js} +70 -70
- package/dist/{exe-snapshot-CWQBLHZN.js → exe-snapshot-6JUWXYJD.js} +19 -19
- package/dist/{fast-db-init-5HF3TLAF.js → fast-db-init-WQX6KZO2.js} +1 -1
- package/dist/{founder-context-PWEQQF43.js → founder-context-Z3R4VSTG.js} +2 -2
- package/dist/gateway/index.js +8 -8
- package/dist/{git-staleness-ZQEAOK6X.js → git-staleness-V4D4AKHZ.js} +2 -2
- package/dist/{global-procedures-LBAA7VLL.js → global-procedures-A7ZUK6ET.js} +4 -4
- package/dist/{graph-auto-extract-XOJSREN4.js → graph-auto-extract-PYZGV2RZ.js} +5 -5
- package/dist/{graph-rag-P3PSYW7P.js → graph-rag-OQ5AQWZ6.js} +3 -3
- package/dist/{hook-prefetch-HGHMON76.js → hook-prefetch-3VK4GT35.js} +15 -15
- package/dist/hooks/bug-report-worker.js +17 -17
- package/dist/hooks/codex-stop-task-finalizer.js +18 -18
- package/dist/hooks/commit-complete.js +17 -17
- package/dist/hooks/error-recall.js +7 -7
- package/dist/hooks/exe-heartbeat-hook.js +3 -3
- package/dist/hooks/ingest.js +6 -6
- package/dist/hooks/instructions-loaded.js +4 -4
- package/dist/hooks/manifest.json +19 -19
- package/dist/hooks/notification.js +4 -4
- package/dist/hooks/post-compact.js +16 -16
- package/dist/hooks/post-tool-combined.js +11 -10
- package/dist/hooks/pre-compact.js +17 -17
- package/dist/hooks/pre-tool-use.js +22 -22
- package/dist/hooks/prompt-submit.js +38 -31
- package/dist/hooks/session-end.js +21 -21
- package/dist/hooks/session-start.js +13 -13
- package/dist/hooks/stop.js +22 -21
- package/dist/hooks/subagent-stop.js +18 -18
- package/dist/hooks/summary-worker.js +21 -21
- package/dist/index.js +24 -24
- package/dist/{installer-LDICNL4N.js → installer-5LP7KZHA.js} +5 -5
- package/dist/{installer-WZLGX2W6.js → installer-DWR4AAZ4.js} +5 -5
- package/dist/{installer-DWOXEACJ.js → installer-J4QCMBW3.js} +5 -5
- package/dist/{intercom-queue-S3XGJ632.js → intercom-queue-6AM6LKVK.js} +14 -14
- package/dist/lib/agent-config.js +1 -1
- package/dist/lib/cloud-sync.js +10 -10
- package/dist/lib/consolidation.js +7 -7
- package/dist/lib/database.js +2 -2
- package/dist/lib/db-backup.js +1 -1
- package/dist/lib/db-write-worker.js +2 -2
- package/dist/lib/db.js +2 -2
- package/dist/lib/device-registry.js +1 -1
- package/dist/lib/employee-templates.js +5 -5
- package/dist/lib/employees.js +2 -2
- package/dist/lib/exe-daemon.js +57 -57
- package/dist/lib/hybrid-search.js +6 -6
- package/dist/lib/identity.js +2 -2
- package/dist/lib/license.js +2 -2
- package/dist/lib/messaging.js +15 -15
- package/dist/lib/registry-proxy.js +1 -1
- package/dist/lib/reminders.js +3 -3
- package/dist/lib/schedules.js +6 -6
- package/dist/lib/session-registry.js +4 -4
- package/dist/lib/skill-learning.js +7 -7
- package/dist/lib/store.js +5 -5
- package/dist/lib/task-router.js +3 -3
- package/dist/lib/tasks.js +16 -16
- package/dist/lib/tmux-routing.js +20 -14
- package/dist/lib/tmux-transport.js +1 -1
- package/dist/lib/token-spend.js +3 -3
- package/dist/lib/transport.js +2 -2
- package/dist/{license-gate-H3AEDCEX.js → license-gate-HG2ZD6OK.js} +3 -3
- package/dist/{license-sync-FBYT75E3.js → license-sync-WW5Q22IP.js} +2 -2
- package/dist/mcp/register-tools.js +69 -69
- package/dist/mcp/server.js +70 -70
- package/dist/mcp/tools/complete-reminder.js +4 -4
- package/dist/mcp/tools/create-reminder.js +4 -4
- package/dist/mcp/tools/create-task.js +18 -18
- package/dist/mcp/tools/deactivate-behavior.js +8 -8
- package/dist/mcp/tools/list-reminders.js +4 -4
- 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-XE5KEKOR.js → mcp-http-config-HEB3SN2R.js} +3 -3
- package/dist/{mcp-session-identity-QA4ZXYCY.js → mcp-session-identity-ULE5UEFS.js} +14 -14
- package/dist/{memory-cards-GHAU5A4O.js → memory-cards-ILWB7MMB.js} +5 -5
- package/dist/{memory-graph-extractor-P7B2V6CN.js → memory-graph-extractor-QHVGFKVG.js} +6 -6
- package/dist/memory-isolation-RJJI3MDS.js +138 -0
- package/dist/{memory-poisoning-defense-OY4EJES5.js → memory-poisoning-defense-QCFTRH6A.js} +2 -2
- package/dist/{memory-pressure-watchdog-ZGA5GAUE.js → memory-pressure-watchdog-NQM4LGAK.js} +15 -15
- package/dist/{memory-reflection-5NAOS2OJ.js → memory-reflection-4INWXZ7N.js} +2 -2
- package/dist/{notification-ledger-LCG3TRSE.js → notification-ledger-JVSOHAVM.js} +15 -15
- package/dist/{notifications-YX43A36Z.js → notifications-42Q3H3VC.js} +14 -14
- package/dist/{orchestration-events-EXQRGVEJ.js → orchestration-events-ZZWLYO67.js} +3 -3
- package/dist/{orchestrator-3OO5FV6O.js → orchestrator-RKOJ7NCH.js} +16 -16
- package/dist/{pipeline-router-U6U3M5DB.js → pipeline-router-M6OGSYM6.js} +3 -3
- package/dist/{plan-limits-FNYZOE7J.js → plan-limits-QEKZSBNT.js} +5 -5
- package/dist/{platform-procedures-NBKHO33A.js → platform-procedures-F3XB6WWM.js} +1 -1
- package/dist/{projection-worker-HIXCZRPD.js → projection-worker-4AJDBNVS.js} +2 -2
- package/dist/{prospective-memory-WQJJB2PS.js → prospective-memory-XWXQRQ3Q.js} +2 -2
- package/dist/{reranker-N4QIAVEZ.js → reranker-SWICYZ5I.js} +1 -1
- package/dist/{retrieval-health-IP74ZJ3D.js → retrieval-health-74FIEAAQ.js} +1 -1
- package/dist/{review-polling-AXQWGH4M.js → review-polling-KXXWLAPK.js} +15 -15
- package/dist/runtime/index.js +18 -18
- package/dist/{session-events-POBJERCM.js → session-events-WN56MLQU.js} +15 -15
- package/dist/{session-kill-telemetry-WRT5UFGM.js → session-kill-telemetry-UYNCHUHH.js} +15 -15
- package/dist/{session-scope-J4JJHTOC.js → session-scope-2AQSQT2G.js} +14 -14
- package/dist/{setup-wizard-TEBZRHIB.js → setup-wizard-L7DQ3FWW.js} +1 -1
- package/dist/{skill-refinement-E2X3FHGX.js → skill-refinement-6E3OFWN6.js} +3 -3
- package/dist/{stack-promote-OQWEY3RN.js → stack-promote-HO73CEWD.js} +4 -4
- package/dist/{stack-release-NUITUMB4.js → stack-release-ISVYAENS.js} +4 -4
- package/dist/{stack-update-5XFOBX3A.js → stack-update-7X2LZ66Y.js} +7 -3
- package/dist/{steward-gate-ODMUO6TD.js → steward-gate-YT4P6DJZ.js} +3 -3
- package/dist/{support-inbox-HRU4TVLN.js → support-inbox-4RZFNMKP.js} +3 -3
- package/dist/{task-enforcement-DTQ5QMDD.js → task-enforcement-KS56DIGL.js} +15 -15
- package/dist/{task-scope-3F3MSGSX.js → task-scope-TFR5W52E.js} +14 -14
- package/dist/{tasks-crud-DBQFOYOX.js → tasks-crud-XGIGE5QE.js} +14 -14
- package/dist/{tasks-notify-X7AJMSX6.js → tasks-notify-BWRRTEOU.js} +15 -15
- package/dist/{tasks-review-QQXKYQ52.js → tasks-review-OB3LE3B5.js} +14 -14
- package/dist/{telemetry-upload-3KLDXO4Z.js → telemetry-upload-HQGZFGHT.js} +7 -7
- package/dist/{token-budget-T3L6OHAN.js → token-budget-Z326CDP3.js} +3 -3
- package/dist/{tool-telemetry-TKENX37V.js → tool-telemetry-UNHEA5AZ.js} +1 -1
- package/dist/tui/App.js +23 -23
- package/dist/{tui-data-4ITCYY3G.js → tui-data-IOLP3QRN.js} +14 -14
- package/dist/{update-support-TT2ESH4G.js → update-support-YXDFIVXO.js} +9 -9
- package/dist/{work-state-heartbeat-UAVYBQOK.js → work-state-heartbeat-CUGIQ4ME.js} +1 -1
- package/dist/{worker-gate-GK46QYHU.js → worker-gate-UYBG3GQ7.js} +1 -1
- package/dist/{workflow-engine-YYRUTNCM.js → workflow-engine-NNJQCR7C.js} +2 -2
- package/dist/{worktree-5LHP677X.js → worktree-LIYWT45F.js} +4 -4
- package/dist/{worktree-sweep-TVQVQTVD.js → worktree-sweep-MUGEIGQF.js} +5 -5
- package/package.json +1 -1
- package/release-notes.json +28 -40
- /package/dist/{chunk-S6APJBIZ.js → chunk-4THX6YGB.js} +0 -0
- /package/dist/{chunk-AGV4GKNY.js → chunk-DDTMQXGQ.js} +0 -0
- /package/dist/{chunk-JAF64HJT.js → chunk-EF5E4VTG.js} +0 -0
- /package/dist/{chunk-TZMXGMSV.js → chunk-EV3IKPFN.js} +0 -0
- /package/dist/{chunk-PIBEPI5W.js → chunk-G2NXLTED.js} +0 -0
- /package/dist/{chunk-AD42TL2C.js → chunk-JG7PCQ2F.js} +0 -0
- /package/dist/{chunk-2BJYY4SK.js → chunk-LQ47R57X.js} +0 -0
- /package/dist/{chunk-TEJOHJZQ.js → chunk-NZKDLBMW.js} +0 -0
- /package/dist/{chunk-2XQZZAFI.js → chunk-QUDC4567.js} +0 -0
- /package/dist/{chunk-PENPH5AG.js → chunk-SMN6EF66.js} +0 -0
- /package/dist/{chunk-JGTJAA6B.js → chunk-VRTQLHUV.js} +0 -0
- /package/dist/{chunk-IMGD6PW3.js → chunk-WN555JAG.js} +0 -0
- /package/dist/{core-memory-F2TJ2VVZ.js → core-memory-PCNPKQ3I.js} +0 -0
- /package/dist/{oauth-server-DCZN5VOK.js → oauth-server-C3EVNZZH.js} +0 -0
- /package/dist/{project-boot-GVT2NKGJ.js → project-boot-DP2VMAWA.js} +0 -0
- /package/dist/{wiki-acl-NCAPBNOZ.js → wiki-acl-RL64TBN4.js} +0 -0
|
@@ -20,16 +20,16 @@ import {
|
|
|
20
20
|
import {
|
|
21
21
|
hybridSearch,
|
|
22
22
|
lightweightSearch
|
|
23
|
-
} from "../chunk-
|
|
23
|
+
} from "../chunk-3DOISTO5.js";
|
|
24
24
|
import "../chunk-AB4PAQYK.js";
|
|
25
|
-
import "../chunk-
|
|
26
|
-
import "../chunk-
|
|
25
|
+
import "../chunk-FV3SYKT4.js";
|
|
26
|
+
import "../chunk-SMN6EF66.js";
|
|
27
27
|
import "../chunk-CHCA3ZM2.js";
|
|
28
28
|
import "../chunk-OTVEIJUQ.js";
|
|
29
|
-
import "../chunk-
|
|
29
|
+
import "../chunk-QUDC4567.js";
|
|
30
30
|
import {
|
|
31
31
|
getActiveAgent
|
|
32
|
-
} from "../chunk-
|
|
32
|
+
} from "../chunk-HD22THYS.js";
|
|
33
33
|
import "../chunk-5MOYSU5A.js";
|
|
34
34
|
import "../chunk-4QCFFW2H.js";
|
|
35
35
|
import "../chunk-76CJBM36.js";
|
|
@@ -38,22 +38,22 @@ import {
|
|
|
38
38
|
getMySession,
|
|
39
39
|
getSessionState,
|
|
40
40
|
isExeSession
|
|
41
|
-
} from "../chunk-
|
|
42
|
-
import "../chunk-
|
|
43
|
-
import "../chunk-
|
|
44
|
-
import "../chunk-
|
|
41
|
+
} from "../chunk-MR6EAVJ7.js";
|
|
42
|
+
import "../chunk-HRWGEBPN.js";
|
|
43
|
+
import "../chunk-M4RJ7XLS.js";
|
|
44
|
+
import "../chunk-CVIVHTCN.js";
|
|
45
45
|
import "../chunk-E23LNUWJ.js";
|
|
46
46
|
import "../chunk-4JERP7NT.js";
|
|
47
47
|
import "../chunk-EIKATSE4.js";
|
|
48
|
-
import "../chunk-
|
|
49
|
-
import "../chunk-
|
|
50
|
-
import "../chunk-
|
|
48
|
+
import "../chunk-DW5STDCA.js";
|
|
49
|
+
import "../chunk-UXLO7VHX.js";
|
|
50
|
+
import "../chunk-DSOQUQTV.js";
|
|
51
51
|
import "../chunk-SKGMF2SO.js";
|
|
52
|
-
import "../chunk-
|
|
52
|
+
import "../chunk-7OQMDEMC.js";
|
|
53
53
|
import "../chunk-AJIXH5JF.js";
|
|
54
|
-
import "../chunk-
|
|
54
|
+
import "../chunk-VAY6IXWY.js";
|
|
55
55
|
import "../chunk-AM7S2TY6.js";
|
|
56
|
-
import "../chunk-
|
|
56
|
+
import "../chunk-E5U4MIWC.js";
|
|
57
57
|
import "../chunk-OSKWCKUC.js";
|
|
58
58
|
import "../chunk-KI5PFRG6.js";
|
|
59
59
|
import {
|
|
@@ -73,9 +73,9 @@ import "../chunk-GJV3WDWM.js";
|
|
|
73
73
|
import "../chunk-MP2AFCGL.js";
|
|
74
74
|
import {
|
|
75
75
|
canCoordinate
|
|
76
|
-
} from "../chunk-
|
|
76
|
+
} from "../chunk-NKAE3TSO.js";
|
|
77
77
|
import "../chunk-2I23RPSI.js";
|
|
78
|
-
import "../chunk-
|
|
78
|
+
import "../chunk-CUFN67G7.js";
|
|
79
79
|
import "../chunk-OMXJMOBD.js";
|
|
80
80
|
import "../chunk-7HLWBYH7.js";
|
|
81
81
|
import "../chunk-BBMTVAE3.js";
|
|
@@ -83,8 +83,8 @@ import "../chunk-YMUZWC33.js";
|
|
|
83
83
|
import "../chunk-FXU7JOXK.js";
|
|
84
84
|
import "../chunk-QWVXN224.js";
|
|
85
85
|
import "../chunk-WNBZJSQT.js";
|
|
86
|
-
import "../chunk-
|
|
87
|
-
import "../chunk-
|
|
86
|
+
import "../chunk-YYAAFE2D.js";
|
|
87
|
+
import "../chunk-WN555JAG.js";
|
|
88
88
|
import {
|
|
89
89
|
EXE_AI_DIR,
|
|
90
90
|
loadConfig,
|
|
@@ -241,7 +241,7 @@ function withBudget(promise, fallback) {
|
|
|
241
241
|
var _hookDbPromise = null;
|
|
242
242
|
function hookDb() {
|
|
243
243
|
_hookDbPromise ??= (async () => {
|
|
244
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
244
|
+
const { fastDbInit } = await import("../fast-db-init-WQX6KZO2.js");
|
|
245
245
|
return fastDbInit({ daemonOnly: true });
|
|
246
246
|
})();
|
|
247
247
|
return _hookDbPromise;
|
|
@@ -482,7 +482,7 @@ process.stdin.on("end", async () => {
|
|
|
482
482
|
let queuedForMe = [];
|
|
483
483
|
if (currentSession && !suppressTaskLifecycleNudges) {
|
|
484
484
|
try {
|
|
485
|
-
const { readQueue } = await import("../intercom-queue-
|
|
485
|
+
const { readQueue } = await import("../intercom-queue-6AM6LKVK.js");
|
|
486
486
|
queuedForMe = readQueue().filter((q) => q.targetSession === currentSession);
|
|
487
487
|
} catch {
|
|
488
488
|
}
|
|
@@ -509,7 +509,7 @@ process.stdin.on("end", async () => {
|
|
|
509
509
|
if (prefetchClient) {
|
|
510
510
|
prefetch = await withHookTimeout(
|
|
511
511
|
(async () => {
|
|
512
|
-
const { prefetchPromptHookCounts } = await import("../hook-prefetch-
|
|
512
|
+
const { prefetchPromptHookCounts } = await import("../hook-prefetch-3VK4GT35.js");
|
|
513
513
|
return prefetchPromptHookCounts(prefetchClient, {
|
|
514
514
|
agentIds: agentTaskIds(agent.agentId),
|
|
515
515
|
agentId: agent.agentId,
|
|
@@ -533,7 +533,7 @@ process.stdin.on("end", async () => {
|
|
|
533
533
|
}
|
|
534
534
|
let drainedNudgeContext = "";
|
|
535
535
|
if (currentSession && queuedForMe.length > 0 && !suppressTaskLifecycleNudges) try {
|
|
536
|
-
const { drainForSession } = await import("../intercom-queue-
|
|
536
|
+
const { drainForSession } = await import("../intercom-queue-6AM6LKVK.js");
|
|
537
537
|
const { baseAgentName } = await import("../lib/employees.js");
|
|
538
538
|
const MARKER_STALE_MS = 4 * 60 * 60 * 1e3;
|
|
539
539
|
const hasInProgressTask = (agentName) => {
|
|
@@ -622,9 +622,11 @@ ${fresh.map(
|
|
|
622
622
|
mkdirSync(CACHE_DIR, { recursive: true });
|
|
623
623
|
atomicWriteSync(behaviorLastCheckPath, (/* @__PURE__ */ new Date()).toISOString());
|
|
624
624
|
} else if (count % BEHAVIOR_REINJECT_INTERVAL === 0) {
|
|
625
|
-
const { listBehaviors } = await import("../behaviors-
|
|
625
|
+
const { listBehaviors } = await import("../behaviors-O5NHB5N5.js");
|
|
626
|
+
const { BEHAVIOR_INJECTION_CAP, p0OverflowNotice } = await import("../behavior-injection-7JZJT4X4.js");
|
|
626
627
|
const behaviors = await withBudget(listBehaviors(agent.agentId), []);
|
|
627
|
-
const
|
|
628
|
+
const activeSorted = behaviors.filter((b) => b.active !== 0).sort((a, b) => (a.priority === "p0" ? -1 : 1) - (b.priority === "p0" ? -1 : 1));
|
|
629
|
+
const active = activeSorted.slice(0, BEHAVIOR_INJECTION_CAP);
|
|
628
630
|
if (active.length > 0) {
|
|
629
631
|
const reflexBehaviors = active.filter((b) => b.domain === "reflex");
|
|
630
632
|
const regularBehaviors = active.filter((b) => b.domain !== "reflex");
|
|
@@ -650,6 +652,10 @@ Validated patterns and corrections for this session. Follow them.
|
|
|
650
652
|
Sourced from exe-os Layer 2 (Expertise).
|
|
651
653
|
|
|
652
654
|
${parts.join("\n\n")}`;
|
|
655
|
+
const overflow = p0OverflowNotice(activeSorted, BEHAVIOR_INJECTION_CAP);
|
|
656
|
+
if (overflow) behaviorContext += `
|
|
657
|
+
|
|
658
|
+
${overflow}`;
|
|
653
659
|
}
|
|
654
660
|
mkdirSync(CACHE_DIR, { recursive: true });
|
|
655
661
|
atomicWriteSync(behaviorLastCheckPath, (/* @__PURE__ */ new Date()).toISOString());
|
|
@@ -662,7 +668,7 @@ ${parts.join("\n\n")}`;
|
|
|
662
668
|
if (!lastCheckedAt) {
|
|
663
669
|
lastCheckedAt = "1970-01-01T00:00:00.000Z";
|
|
664
670
|
}
|
|
665
|
-
const { listBehaviorsSince } = await import("../behaviors-
|
|
671
|
+
const { listBehaviorsSince } = await import("../behaviors-O5NHB5N5.js");
|
|
666
672
|
const newBehaviors = await withBudget(listBehaviorsSince(agent.agentId, lastCheckedAt), []);
|
|
667
673
|
if (newBehaviors.length > 0) {
|
|
668
674
|
const newReflex = newBehaviors.filter((b) => b.domain === "reflex");
|
|
@@ -730,7 +736,7 @@ ${body}`;
|
|
|
730
736
|
let reviewContext = "";
|
|
731
737
|
if (canCoordinate(agent.agentId, agent.agentRole)) {
|
|
732
738
|
try {
|
|
733
|
-
const { countPendingReviews, countNewPendingReviewsSince } = await import("../tasks-review-
|
|
739
|
+
const { countPendingReviews, countNewPendingReviewsSince } = await import("../tasks-review-OB3LE3B5.js");
|
|
734
740
|
const sessionKey = getSessionKey();
|
|
735
741
|
const lastCheckPath = path.join(CACHE_DIR, `review-lastcheck-${sessionKey}.json`);
|
|
736
742
|
let sessionScope;
|
|
@@ -787,7 +793,7 @@ IMPORTANT: After completing your current task, you MUST address the pending revi
|
|
|
787
793
|
let coreMemoryContext = "";
|
|
788
794
|
if (!IS_CODEX_RUNTIME && agent.agentId !== "default") {
|
|
789
795
|
try {
|
|
790
|
-
const { getCoreMemory, formatCoreMemoryBlock } = await import("../core-memory-
|
|
796
|
+
const { getCoreMemory, formatCoreMemoryBlock } = await import("../core-memory-PCNPKQ3I.js");
|
|
791
797
|
const entries = await withBudget(getCoreMemory(agent.agentId), []);
|
|
792
798
|
const block = formatCoreMemoryBlock(entries);
|
|
793
799
|
if (block) coreMemoryContext = block;
|
|
@@ -884,7 +890,7 @@ IMPORTANT: After completing your current task, you MUST address the new task abo
|
|
|
884
890
|
} catch {
|
|
885
891
|
}
|
|
886
892
|
try {
|
|
887
|
-
const { recordOrchestrationEventBestEffort: recordOE } = await import("../orchestration-events-
|
|
893
|
+
const { recordOrchestrationEventBestEffort: recordOE } = await import("../orchestration-events-ZZWLYO67.js");
|
|
888
894
|
recordOE({
|
|
889
895
|
eventType: "signal.consumed",
|
|
890
896
|
source: "prompt-submit.hook",
|
|
@@ -1063,7 +1069,7 @@ async function writePromptMemory(prompt, sessionId, agent) {
|
|
|
1063
1069
|
return;
|
|
1064
1070
|
}
|
|
1065
1071
|
try {
|
|
1066
|
-
const { recordSessionEvent } = await import("../session-events-
|
|
1072
|
+
const { recordSessionEvent } = await import("../session-events-WN56MLQU.js");
|
|
1067
1073
|
const client = await hookDb();
|
|
1068
1074
|
await recordSessionEvent(client, {
|
|
1069
1075
|
agentId: agent.agentId,
|
|
@@ -1074,7 +1080,8 @@ async function writePromptMemory(prompt, sessionId, agent) {
|
|
|
1074
1080
|
projectName: getProjectName(),
|
|
1075
1081
|
timestamp: (/* @__PURE__ */ new Date()).toISOString()
|
|
1076
1082
|
});
|
|
1077
|
-
} catch {
|
|
1083
|
+
} catch (err) {
|
|
1084
|
+
console.error("[exe-os] recordSessionEvent failed:", err);
|
|
1078
1085
|
}
|
|
1079
1086
|
if (!loadConfigSync().autoIngestion) return;
|
|
1080
1087
|
try {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
writeContinuityCheckpoint
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-G2NXLTED.js";
|
|
4
4
|
import {
|
|
5
5
|
clearCacheState
|
|
6
6
|
} from "../chunk-6A7P74QV.js";
|
|
@@ -9,25 +9,25 @@ import "../chunk-SH45SJQW.js";
|
|
|
9
9
|
import {
|
|
10
10
|
clearActiveAgent,
|
|
11
11
|
getActiveAgent
|
|
12
|
-
} from "../chunk-
|
|
12
|
+
} from "../chunk-HD22THYS.js";
|
|
13
13
|
import {
|
|
14
14
|
strictSessionScopeFilter
|
|
15
|
-
} from "../chunk-
|
|
16
|
-
import "../chunk-
|
|
17
|
-
import "../chunk-
|
|
18
|
-
import "../chunk-
|
|
15
|
+
} from "../chunk-MR6EAVJ7.js";
|
|
16
|
+
import "../chunk-HRWGEBPN.js";
|
|
17
|
+
import "../chunk-M4RJ7XLS.js";
|
|
18
|
+
import "../chunk-CVIVHTCN.js";
|
|
19
19
|
import "../chunk-E23LNUWJ.js";
|
|
20
20
|
import "../chunk-4JERP7NT.js";
|
|
21
21
|
import "../chunk-EIKATSE4.js";
|
|
22
|
-
import "../chunk-
|
|
23
|
-
import "../chunk-
|
|
24
|
-
import "../chunk-
|
|
22
|
+
import "../chunk-DW5STDCA.js";
|
|
23
|
+
import "../chunk-UXLO7VHX.js";
|
|
24
|
+
import "../chunk-DSOQUQTV.js";
|
|
25
25
|
import "../chunk-SKGMF2SO.js";
|
|
26
|
-
import "../chunk-
|
|
26
|
+
import "../chunk-7OQMDEMC.js";
|
|
27
27
|
import "../chunk-AJIXH5JF.js";
|
|
28
|
-
import "../chunk-
|
|
28
|
+
import "../chunk-VAY6IXWY.js";
|
|
29
29
|
import "../chunk-AM7S2TY6.js";
|
|
30
|
-
import "../chunk-
|
|
30
|
+
import "../chunk-E5U4MIWC.js";
|
|
31
31
|
import "../chunk-OSKWCKUC.js";
|
|
32
32
|
import "../chunk-KI5PFRG6.js";
|
|
33
33
|
import {
|
|
@@ -45,17 +45,17 @@ import "../chunk-GJV3WDWM.js";
|
|
|
45
45
|
import "../chunk-MP2AFCGL.js";
|
|
46
46
|
import {
|
|
47
47
|
canCoordinate
|
|
48
|
-
} from "../chunk-
|
|
48
|
+
} from "../chunk-NKAE3TSO.js";
|
|
49
49
|
import "../chunk-2I23RPSI.js";
|
|
50
|
-
import "../chunk-
|
|
50
|
+
import "../chunk-CUFN67G7.js";
|
|
51
51
|
import "../chunk-OMXJMOBD.js";
|
|
52
52
|
import "../chunk-7HLWBYH7.js";
|
|
53
53
|
import "../chunk-BBMTVAE3.js";
|
|
54
54
|
import "../chunk-YMUZWC33.js";
|
|
55
55
|
import "../chunk-FXU7JOXK.js";
|
|
56
56
|
import "../chunk-WNBZJSQT.js";
|
|
57
|
-
import "../chunk-
|
|
58
|
-
import "../chunk-
|
|
57
|
+
import "../chunk-YYAAFE2D.js";
|
|
58
|
+
import "../chunk-WN555JAG.js";
|
|
59
59
|
import "../chunk-BCZF3AGJ.js";
|
|
60
60
|
import "../chunk-HSGBZSCA.js";
|
|
61
61
|
import "../chunk-MLKGABMK.js";
|
|
@@ -268,7 +268,7 @@ process.stdin.on("end", async () => {
|
|
|
268
268
|
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"}
|
|
269
269
|
`);
|
|
270
270
|
try {
|
|
271
|
-
const { recordOrchestrationEvent } = await import("../orchestration-events-
|
|
271
|
+
const { recordOrchestrationEvent } = await import("../orchestration-events-ZZWLYO67.js");
|
|
272
272
|
await recordOrchestrationEvent({
|
|
273
273
|
eventType: "session.exit",
|
|
274
274
|
source: "hooks.session-end",
|
|
@@ -293,7 +293,7 @@ process.stdin.on("end", async () => {
|
|
|
293
293
|
}
|
|
294
294
|
if (agent.agentId) {
|
|
295
295
|
try {
|
|
296
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
296
|
+
const { fastDbInit } = await import("../fast-db-init-WQX6KZO2.js");
|
|
297
297
|
const client = await fastDbInit({ caller: "hook" });
|
|
298
298
|
const seScope = strictSessionScopeFilter();
|
|
299
299
|
const orphanResult = await client.execute({
|
|
@@ -386,12 +386,12 @@ Orphaned tasks at session end: ${orphanResult.rows.map((r) => `"${String(r.title
|
|
|
386
386
|
}
|
|
387
387
|
}
|
|
388
388
|
try {
|
|
389
|
-
const { clearSessionFileReads } = await import("../git-staleness-
|
|
389
|
+
const { clearSessionFileReads } = await import("../git-staleness-V4D4AKHZ.js");
|
|
390
390
|
await clearSessionFileReads(data.session_id);
|
|
391
391
|
} catch {
|
|
392
392
|
}
|
|
393
393
|
try {
|
|
394
|
-
const { DreamingEngine } = await import("../dreaming-
|
|
394
|
+
const { DreamingEngine } = await import("../dreaming-A5NC7KA4.js");
|
|
395
395
|
const engine = new DreamingEngine();
|
|
396
396
|
const dreamResult = await engine.runDreamCycle(agent.agentId);
|
|
397
397
|
let promoted = 0;
|
|
@@ -467,7 +467,7 @@ Orphaned tasks at session end: ${orphanResult.rows.map((r) => `"${String(r.title
|
|
|
467
467
|
parts.push(`Left in_progress (no matching commits, needs triage): ${leftInProgress.join(", ")}`);
|
|
468
468
|
}
|
|
469
469
|
try {
|
|
470
|
-
const { writeNotification } = await import("../notifications-
|
|
470
|
+
const { writeNotification } = await import("../notifications-42Q3H3VC.js");
|
|
471
471
|
await writeNotification({
|
|
472
472
|
agentId: agent.agentId,
|
|
473
473
|
agentRole: agent.agentRole,
|
|
@@ -55,9 +55,9 @@ process.stdin.on("data", (chunk) => {
|
|
|
55
55
|
process.stdin.on("end", async () => {
|
|
56
56
|
let failed = false;
|
|
57
57
|
try {
|
|
58
|
-
const { getActiveAgent } = await import("../active-agent-
|
|
58
|
+
const { getActiveAgent } = await import("../active-agent-B5NRAHU4.js");
|
|
59
59
|
const { getProjectName } = await import("../project-name-EWG5KAZP.js");
|
|
60
|
-
const { getCurrentSessionScope } = await import("../task-scope-
|
|
60
|
+
const { getCurrentSessionScope } = await import("../task-scope-TFR5W52E.js");
|
|
61
61
|
const { canCoordinate } = await import("../lib/employees.js");
|
|
62
62
|
const data = JSON.parse(input);
|
|
63
63
|
const projectName = getProjectName(data.cwd || void 0);
|
|
@@ -92,7 +92,7 @@ process.stdin.on("end", async () => {
|
|
|
92
92
|
if (daemonDegraded) {
|
|
93
93
|
process.stderr.write("[session-start] WARNING: daemon/DB unavailable after retries \u2014 booting in degraded mode (no memory context)\n");
|
|
94
94
|
try {
|
|
95
|
-
const { recordOrchestrationEvent } = await import("../orchestration-events-
|
|
95
|
+
const { recordOrchestrationEvent } = await import("../orchestration-events-ZZWLYO67.js");
|
|
96
96
|
void recordOrchestrationEvent({
|
|
97
97
|
eventType: "mcp.unreachable",
|
|
98
98
|
source: "session-start.hook",
|
|
@@ -116,12 +116,12 @@ process.stdin.on("end", async () => {
|
|
|
116
116
|
}
|
|
117
117
|
if (!daemonDegraded) {
|
|
118
118
|
try {
|
|
119
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
119
|
+
const { fastDbInit } = await import("../fast-db-init-WQX6KZO2.js");
|
|
120
120
|
await fastDbInit({ caller: "hook" });
|
|
121
121
|
} catch {
|
|
122
122
|
try {
|
|
123
123
|
await new Promise((resolve) => setTimeout(resolve, 750));
|
|
124
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
124
|
+
const { fastDbInit } = await import("../fast-db-init-WQX6KZO2.js");
|
|
125
125
|
await fastDbInit({ caller: "hook" });
|
|
126
126
|
} catch {
|
|
127
127
|
daemonDegraded = true;
|
|
@@ -166,7 +166,7 @@ process.stdin.on("end", async () => {
|
|
|
166
166
|
});
|
|
167
167
|
}
|
|
168
168
|
try {
|
|
169
|
-
const { recordOrchestrationEvent } = await import("../orchestration-events-
|
|
169
|
+
const { recordOrchestrationEvent } = await import("../orchestration-events-ZZWLYO67.js");
|
|
170
170
|
void recordOrchestrationEvent({
|
|
171
171
|
eventType: "session.born",
|
|
172
172
|
source: "session-start.hook",
|
|
@@ -183,7 +183,7 @@ process.stdin.on("end", async () => {
|
|
|
183
183
|
if (daemonDegraded) {
|
|
184
184
|
let degradedContext = "## \u26A0\uFE0F Degraded Boot\nThe daemon/MCP was unreachable **at boot time** (checked at " + (/* @__PURE__ */ new Date()).toISOString() + "). This is a point-in-time snapshot \u2014 the MCP server typically finishes connecting a few seconds later, so by the time you read this it is probably already live.\n\n**Before telling the user MCP is down or asking them to run `/mcp`, ALWAYS verify the current state by calling `mcp_ping` (or any exe-os MCP tool) first.** Only advise reconnecting if that call actually fails. This session simply started without memory context; if MCP tools fail later, retry once before reporting an issue.\n";
|
|
185
185
|
try {
|
|
186
|
-
const { getActiveAgent: getAgent } = await import("../active-agent-
|
|
186
|
+
const { getActiveAgent: getAgent } = await import("../active-agent-B5NRAHU4.js");
|
|
187
187
|
const ag = getAgent();
|
|
188
188
|
if (ag.agentId !== "default") {
|
|
189
189
|
degradedContext = `## Your Identity
|
|
@@ -207,7 +207,7 @@ You are **${ag.agentId}**. The daemon was degraded at boot \u2014 memory context
|
|
|
207
207
|
query = `last actions on ${projectName}`;
|
|
208
208
|
header = "## Resuming Session\nHere's where you left off:";
|
|
209
209
|
try {
|
|
210
|
-
const { buildCatchupBrief } = await import("../catchup-brief-
|
|
210
|
+
const { buildCatchupBrief } = await import("../catchup-brief-HJNOFCBW.js");
|
|
211
211
|
const brief = await buildCatchupBrief(
|
|
212
212
|
agentId,
|
|
213
213
|
projectName,
|
|
@@ -223,14 +223,14 @@ You are **${ag.agentId}**. The daemon was degraded at boot \u2014 memory context
|
|
|
223
223
|
header = "## Memory Brief\nRecent memories from this project:";
|
|
224
224
|
}
|
|
225
225
|
try {
|
|
226
|
-
const { detectStaleFiles, formatStaleFileWarning } = await import("../git-staleness-
|
|
226
|
+
const { detectStaleFiles, formatStaleFileWarning } = await import("../git-staleness-V4D4AKHZ.js");
|
|
227
227
|
const staleFiles = await detectStaleFiles(agentId, data.cwd || process.cwd());
|
|
228
228
|
const warning = formatStaleFileWarning(staleFiles);
|
|
229
229
|
if (warning) extraContext += `${extraContext.length > 0 ? "\n\n" : ""}${warning}`;
|
|
230
230
|
} catch {
|
|
231
231
|
}
|
|
232
|
-
const { queryTaskRows } = await import("../tasks-crud-
|
|
233
|
-
const { buildReviewSections } = await import("../boot-review-sections-
|
|
232
|
+
const { queryTaskRows } = await import("../tasks-crud-XGIGE5QE.js");
|
|
233
|
+
const { buildReviewSections } = await import("../boot-review-sections-PFODN2NT.js");
|
|
234
234
|
const [memories, taskResult, reviewSections] = await Promise.all([
|
|
235
235
|
lightweightSearch(query, agentId, { projectName, limit: 5 }),
|
|
236
236
|
sessionScope ? queryTaskRows({
|
|
@@ -327,7 +327,7 @@ ${wmContent}
|
|
|
327
327
|
`;
|
|
328
328
|
if (agentId !== "default" && !daemonDegraded) {
|
|
329
329
|
try {
|
|
330
|
-
const { readLatestCheckpoint } = await import("../tasks-crud-
|
|
330
|
+
const { readLatestCheckpoint } = await import("../tasks-crud-XGIGE5QE.js");
|
|
331
331
|
const checkpoint = await readLatestCheckpoint(agentId, {
|
|
332
332
|
sessionScope: sessionScope ?? null,
|
|
333
333
|
callerSession: process.env.EXE_SESSION_NAME ?? null,
|
|
@@ -414,7 +414,7 @@ ${phase.label}. Focus: ${phase.focus}. This is guidance, not a blocker; the user
|
|
|
414
414
|
}
|
|
415
415
|
if (source !== "resume" && agentId !== "default") {
|
|
416
416
|
try {
|
|
417
|
-
const { getPendingProspective, markSurfaced } = await import("../prospective-memory-
|
|
417
|
+
const { getPendingProspective, markSurfaced } = await import("../prospective-memory-XWXQRQ3Q.js");
|
|
418
418
|
const due = await getPendingProspective(agentId, { projectName, limit: 5 });
|
|
419
419
|
if (due.length > 0) {
|
|
420
420
|
const now = Date.now();
|
package/dist/hooks/stop.js
CHANGED
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import "../chunk-SH45SJQW.js";
|
|
2
2
|
import {
|
|
3
3
|
getActiveAgent
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-HD22THYS.js";
|
|
5
5
|
import {
|
|
6
6
|
sessionScopeFilter
|
|
7
|
-
} from "../chunk-
|
|
8
|
-
import "../chunk-
|
|
9
|
-
import "../chunk-
|
|
10
|
-
import "../chunk-
|
|
7
|
+
} from "../chunk-MR6EAVJ7.js";
|
|
8
|
+
import "../chunk-HRWGEBPN.js";
|
|
9
|
+
import "../chunk-M4RJ7XLS.js";
|
|
10
|
+
import "../chunk-CVIVHTCN.js";
|
|
11
11
|
import "../chunk-E23LNUWJ.js";
|
|
12
12
|
import "../chunk-4JERP7NT.js";
|
|
13
13
|
import "../chunk-EIKATSE4.js";
|
|
14
|
-
import "../chunk-
|
|
15
|
-
import "../chunk-
|
|
16
|
-
import "../chunk-
|
|
14
|
+
import "../chunk-DW5STDCA.js";
|
|
15
|
+
import "../chunk-UXLO7VHX.js";
|
|
16
|
+
import "../chunk-DSOQUQTV.js";
|
|
17
17
|
import "../chunk-SKGMF2SO.js";
|
|
18
|
-
import "../chunk-
|
|
18
|
+
import "../chunk-7OQMDEMC.js";
|
|
19
19
|
import "../chunk-AJIXH5JF.js";
|
|
20
|
-
import "../chunk-
|
|
20
|
+
import "../chunk-VAY6IXWY.js";
|
|
21
21
|
import "../chunk-AM7S2TY6.js";
|
|
22
|
-
import "../chunk-
|
|
22
|
+
import "../chunk-E5U4MIWC.js";
|
|
23
23
|
import "../chunk-OSKWCKUC.js";
|
|
24
24
|
import "../chunk-KI5PFRG6.js";
|
|
25
25
|
import "../chunk-CVYC6DUW.js";
|
|
@@ -35,17 +35,17 @@ import "../chunk-GJV3WDWM.js";
|
|
|
35
35
|
import "../chunk-MP2AFCGL.js";
|
|
36
36
|
import {
|
|
37
37
|
canCoordinate
|
|
38
|
-
} from "../chunk-
|
|
38
|
+
} from "../chunk-NKAE3TSO.js";
|
|
39
39
|
import "../chunk-2I23RPSI.js";
|
|
40
|
-
import "../chunk-
|
|
40
|
+
import "../chunk-CUFN67G7.js";
|
|
41
41
|
import "../chunk-OMXJMOBD.js";
|
|
42
42
|
import "../chunk-7HLWBYH7.js";
|
|
43
43
|
import "../chunk-BBMTVAE3.js";
|
|
44
44
|
import "../chunk-YMUZWC33.js";
|
|
45
45
|
import "../chunk-FXU7JOXK.js";
|
|
46
46
|
import "../chunk-WNBZJSQT.js";
|
|
47
|
-
import "../chunk-
|
|
48
|
-
import "../chunk-
|
|
47
|
+
import "../chunk-YYAAFE2D.js";
|
|
48
|
+
import "../chunk-WN555JAG.js";
|
|
49
49
|
import {
|
|
50
50
|
EXE_AI_DIR,
|
|
51
51
|
loadConfigSync
|
|
@@ -158,8 +158,8 @@ process.stdin.on("end", async () => {
|
|
|
158
158
|
process.exit(0);
|
|
159
159
|
}
|
|
160
160
|
try {
|
|
161
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
162
|
-
const { recordSessionEvent } = await import("../session-events-
|
|
161
|
+
const { fastDbInit } = await import("../fast-db-init-WQX6KZO2.js");
|
|
162
|
+
const { recordSessionEvent } = await import("../session-events-WN56MLQU.js");
|
|
163
163
|
const client = await fastDbInit({ daemonOnly: true });
|
|
164
164
|
await recordSessionEvent(client, {
|
|
165
165
|
agentId: agent.agentId,
|
|
@@ -170,14 +170,15 @@ process.stdin.on("end", async () => {
|
|
|
170
170
|
cwd,
|
|
171
171
|
timestamp: (/* @__PURE__ */ new Date()).toISOString()
|
|
172
172
|
});
|
|
173
|
-
} catch {
|
|
173
|
+
} catch (err) {
|
|
174
|
+
console.error("[exe-os] recordSessionEvent failed:", err);
|
|
174
175
|
}
|
|
175
176
|
try {
|
|
176
177
|
const taskCachePath = path.join(EXE_AI_DIR, "session-cache", `current-task-${agent.agentId}.json`);
|
|
177
178
|
if (existsSync(taskCachePath)) {
|
|
178
179
|
const cached = JSON.parse(readFileSync(taskCachePath, "utf8"));
|
|
179
180
|
if (cached.taskId) {
|
|
180
|
-
const { createTokenBudgetMiddleware } = await import("../token-budget-
|
|
181
|
+
const { createTokenBudgetMiddleware } = await import("../token-budget-Z326CDP3.js");
|
|
181
182
|
const middleware = createTokenBudgetMiddleware(cached.taskId);
|
|
182
183
|
const estimatedOutputTokens = Math.ceil(message.length / 4);
|
|
183
184
|
const result = await middleware.onTokenUsed(0, estimatedOutputTokens);
|
|
@@ -195,7 +196,7 @@ process.stdin.on("end", async () => {
|
|
|
195
196
|
}
|
|
196
197
|
const CAPACITY_SIGNALS = /context[- ]?full|hit capacity|conversation is too long|maximum context length|context window.*(?:limit|exceed|full)/i;
|
|
197
198
|
if (!canCoordinate(agent.agentId, agent.agentRole) && CAPACITY_SIGNALS.test(message)) {
|
|
198
|
-
import("../fast-db-init-
|
|
199
|
+
import("../fast-db-init-WQX6KZO2.js").then(({ fastDbInit }) => fastDbInit({ daemonOnly: true })).then(async (client) => {
|
|
199
200
|
const stScope = sessionScopeFilter();
|
|
200
201
|
const tasks = await client.execute({
|
|
201
202
|
sql: `SELECT title, status, task_file FROM tasks
|
|
@@ -337,7 +338,7 @@ ${msgs.slice(-15).join("\n")}`;
|
|
|
337
338
|
} catch {
|
|
338
339
|
}
|
|
339
340
|
if (!canCoordinate(agent.agentId, agent.agentRole)) {
|
|
340
|
-
import("../fast-db-init-
|
|
341
|
+
import("../fast-db-init-WQX6KZO2.js").then(({ fastDbInit }) => fastDbInit({ daemonOnly: true })).then(async (client) => {
|
|
341
342
|
const orScope = sessionScopeFilter();
|
|
342
343
|
return client.execute({
|
|
343
344
|
sql: `SELECT title, status FROM tasks
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
buildSubagentCheckpointEvent,
|
|
3
3
|
recordSubagentCheckpointEventBestEffort
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-LQGOCLLI.js";
|
|
5
5
|
import {
|
|
6
6
|
isSidechainTranscript
|
|
7
7
|
} from "../chunk-6IWLAQ7O.js";
|
|
8
8
|
import "../chunk-SH45SJQW.js";
|
|
9
9
|
import {
|
|
10
10
|
getActiveAgent
|
|
11
|
-
} from "../chunk-
|
|
11
|
+
} from "../chunk-HD22THYS.js";
|
|
12
12
|
import {
|
|
13
13
|
sessionScopeFilter
|
|
14
|
-
} from "../chunk-
|
|
15
|
-
import "../chunk-
|
|
16
|
-
import "../chunk-
|
|
17
|
-
import "../chunk-
|
|
14
|
+
} from "../chunk-MR6EAVJ7.js";
|
|
15
|
+
import "../chunk-HRWGEBPN.js";
|
|
16
|
+
import "../chunk-M4RJ7XLS.js";
|
|
17
|
+
import "../chunk-CVIVHTCN.js";
|
|
18
18
|
import "../chunk-E23LNUWJ.js";
|
|
19
19
|
import "../chunk-4JERP7NT.js";
|
|
20
20
|
import "../chunk-EIKATSE4.js";
|
|
21
|
-
import "../chunk-
|
|
22
|
-
import "../chunk-
|
|
23
|
-
import "../chunk-
|
|
21
|
+
import "../chunk-DW5STDCA.js";
|
|
22
|
+
import "../chunk-UXLO7VHX.js";
|
|
23
|
+
import "../chunk-DSOQUQTV.js";
|
|
24
24
|
import "../chunk-SKGMF2SO.js";
|
|
25
|
-
import "../chunk-
|
|
25
|
+
import "../chunk-7OQMDEMC.js";
|
|
26
26
|
import "../chunk-AJIXH5JF.js";
|
|
27
|
-
import "../chunk-
|
|
27
|
+
import "../chunk-VAY6IXWY.js";
|
|
28
28
|
import "../chunk-AM7S2TY6.js";
|
|
29
|
-
import "../chunk-
|
|
29
|
+
import "../chunk-E5U4MIWC.js";
|
|
30
30
|
import "../chunk-OSKWCKUC.js";
|
|
31
31
|
import "../chunk-KI5PFRG6.js";
|
|
32
32
|
import "../chunk-CVYC6DUW.js";
|
|
@@ -42,17 +42,17 @@ import "../chunk-GJV3WDWM.js";
|
|
|
42
42
|
import "../chunk-MP2AFCGL.js";
|
|
43
43
|
import {
|
|
44
44
|
canCoordinate
|
|
45
|
-
} from "../chunk-
|
|
45
|
+
} from "../chunk-NKAE3TSO.js";
|
|
46
46
|
import "../chunk-2I23RPSI.js";
|
|
47
|
-
import "../chunk-
|
|
47
|
+
import "../chunk-CUFN67G7.js";
|
|
48
48
|
import "../chunk-OMXJMOBD.js";
|
|
49
49
|
import "../chunk-7HLWBYH7.js";
|
|
50
50
|
import "../chunk-BBMTVAE3.js";
|
|
51
51
|
import "../chunk-YMUZWC33.js";
|
|
52
52
|
import "../chunk-FXU7JOXK.js";
|
|
53
53
|
import "../chunk-WNBZJSQT.js";
|
|
54
|
-
import "../chunk-
|
|
55
|
-
import "../chunk-
|
|
54
|
+
import "../chunk-YYAAFE2D.js";
|
|
55
|
+
import "../chunk-WN555JAG.js";
|
|
56
56
|
import "../chunk-BCZF3AGJ.js";
|
|
57
57
|
import "../chunk-HSGBZSCA.js";
|
|
58
58
|
import "../chunk-MLKGABMK.js";
|
|
@@ -127,7 +127,7 @@ async function recordSubagentStopCheckpoint(payload, agentId) {
|
|
|
127
127
|
});
|
|
128
128
|
await Promise.race([
|
|
129
129
|
(async () => {
|
|
130
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
130
|
+
const { fastDbInit } = await import("../fast-db-init-WQX6KZO2.js");
|
|
131
131
|
const client = await fastDbInit({ daemonOnly: true });
|
|
132
132
|
await recordSubagentCheckpointEventBestEffort({
|
|
133
133
|
client,
|
|
@@ -156,7 +156,7 @@ process.stdin.on("end", async () => {
|
|
|
156
156
|
if (!failClosedOnTimeout) {
|
|
157
157
|
process.exit(0);
|
|
158
158
|
}
|
|
159
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
159
|
+
const { fastDbInit } = await import("../fast-db-init-WQX6KZO2.js");
|
|
160
160
|
const client = await fastDbInit({ caller: "hook" });
|
|
161
161
|
const saScope = sessionScopeFilter();
|
|
162
162
|
const pendingResult = await client.execute({
|