@askexenow/exe-os 0.9.324 → 0.9.326
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/docker-compose.yml +11 -3
- package/deploy/compose/observability/otel-collector-config.yaml +38 -10
- package/dist/{active-agent-IUVRZOSF.js → active-agent-3X5P2EOX.js} +3 -3
- package/dist/{active-agent-CVSB2EER.js → active-agent-NODPD3OF.js} +3 -3
- package/dist/{agentic-ontology-2QFPBIQP.js → agentic-ontology-DCFTNSZW.js} +1 -1
- package/dist/{anthropic-auth-NERIFVT5.js → anthropic-auth-EIGM3FAZ.js} +1 -1
- package/dist/{backfill-metadata-W3PRQPVV.js → backfill-metadata-CE35JGTX.js} +4 -4
- package/dist/{behaviors-MQCADHAD.js → behaviors-HZ6BIOGX.js} +5 -5
- package/dist/bin/agentic-ontology-backfill.js +5 -5
- package/dist/bin/agentic-reflection-backfill.js +6 -6
- package/dist/bin/agentic-semantic-label.js +5 -5
- package/dist/bin/backfill-conversations.js +5 -5
- package/dist/bin/backfill-responses.js +5 -5
- package/dist/bin/backfill-vectors.js +7 -7
- package/dist/bin/bulk-sync-postgres.js +11 -11
- package/dist/bin/cc-doctor.js +4 -4
- package/dist/bin/cleanup-stale-review-tasks.js +15 -15
- package/dist/bin/cli.js +16 -16
- package/dist/bin/deferred-daemon-restart.js +69 -69
- package/dist/bin/exe-agent-config.js +3 -3
- package/dist/bin/exe-agent.js +4 -4
- package/dist/bin/exe-assign.js +7 -7
- package/dist/bin/exe-boot.js +23 -23
- package/dist/bin/exe-call.js +4 -4
- package/dist/bin/exe-cloud.js +11 -11
- package/dist/bin/exe-config-dump.js +3 -3
- package/dist/bin/exe-dispatch.js +15 -15
- package/dist/bin/exe-doctor.js +5 -5
- package/dist/bin/exe-export-behaviors.js +7 -7
- package/dist/bin/exe-forget.js +6 -6
- package/dist/bin/exe-gateway.js +7 -7
- package/dist/bin/exe-healthcheck.js +4 -4
- package/dist/bin/exe-heartbeat.js +15 -15
- package/dist/bin/exe-kill.js +18 -18
- package/dist/bin/exe-launch-agent.js +24 -24
- package/dist/bin/exe-new-employee.js +8 -8
- 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 +4 -4
- package/dist/bin/exe-review.js +17 -17
- package/dist/bin/exe-search.js +5 -5
- package/dist/bin/exe-session-cleanup.js +19 -19
- package/dist/bin/exe-settings.js +12 -12
- package/dist/bin/exe-start-codex.js +12 -12
- package/dist/bin/exe-start-opencode.js +8 -8
- package/dist/bin/exe-start.sh +13 -0
- 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 +4 -4
- package/dist/bin/graph-export.js +5 -5
- package/dist/bin/import-history.js +7 -7
- package/dist/bin/install.js +71 -71
- 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/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 +4 -4
- package/dist/bin/stack-update.js +4 -4
- package/dist/bin/vps-health-gate.js +1 -1
- package/dist/{capability-cards-STD3NMCR.js → capability-cards-RRXD7KWE.js} +2 -2
- package/dist/{capacity-monitor-6O3PWYNM.js → capacity-monitor-HVWEYDCG.js} +16 -16
- package/dist/{catchup-brief-EDQ3VZCF.js → catchup-brief-YYEVWAZN.js} +18 -18
- package/dist/{chunk-GIFDGNIL.js → chunk-2233TQCA.js} +1 -1
- package/dist/{chunk-WF3J6GJZ.js → chunk-2G7MNOP2.js} +2 -2
- package/dist/{chunk-F2RK5YWB.js → chunk-3COTSHKH.js} +2 -2
- package/dist/{chunk-7M6TXYRQ.js → chunk-3EA2MF23.js} +11 -11
- package/dist/{chunk-MKIFYIXC.js → chunk-3NGQ35WZ.js} +1 -1
- package/dist/{chunk-ZRZ2Z6RZ.js → chunk-3QDSCJ3F.js} +1 -1
- package/dist/{chunk-PV7IG4V6.js → chunk-47PIQRBR.js} +1 -1
- package/dist/{chunk-HBKYKN3S.js → chunk-4AN2HICH.js} +1 -1
- package/dist/{chunk-WGHTISNK.js → chunk-4IVWTJDR.js} +3 -3
- package/dist/{chunk-AVKZIG4A.js → chunk-4J3CSEX7.js} +1 -1
- package/dist/{chunk-KWWHRJGG.js → chunk-4O7Y6WQX.js} +121 -116
- package/dist/{chunk-PROQW3NL.js → chunk-4TXRUGPA.js} +1 -1
- package/dist/{chunk-5YCOEPEX.js → chunk-4WAJZ2HV.js} +1 -1
- package/dist/{chunk-24WPWCD6.js → chunk-4YDFTZTH.js} +1 -1
- package/dist/{chunk-2YWUZPHE.js → chunk-5QYY6QIP.js} +2 -2
- package/dist/{chunk-HZ5J2GFE.js → chunk-6APWOKOT.js} +7 -7
- package/dist/{chunk-LWAGAC3H.js → chunk-6QTLUPXB.js} +1 -1
- package/dist/{chunk-CS6MYGNB.js → chunk-7A3E5ZWF.js} +3 -3
- package/dist/{chunk-SOXUF34Y.js → chunk-7D2YGQ7S.js} +2 -2
- package/dist/{chunk-BC7IIR3A.js → chunk-7TS64TBG.js} +32 -8
- package/dist/{chunk-5VT45EV6.js → chunk-7YWGURD6.js} +1 -1
- package/dist/{chunk-2QD5M47V.js → chunk-AKQJILJK.js} +3 -3
- package/dist/{chunk-MWIX3YKA.js → chunk-CF2PNIN2.js} +5 -5
- package/dist/{chunk-FROUDYRT.js → chunk-CUEOJO5W.js} +6 -1
- package/dist/{chunk-7PLMYXPG.js → chunk-DDONIN5J.js} +1 -1
- package/dist/{chunk-T3XHH5FE.js → chunk-E6TB5MMR.js} +5 -5
- package/dist/{chunk-TA3A4UQL.js → chunk-EZKZWSPO.js} +1 -1
- package/dist/{chunk-UAIMI7CK.js → chunk-F4PFF7ZI.js} +1 -1
- package/dist/{chunk-HAYDXMW6.js → chunk-F7DI6PDD.js} +3 -3
- package/dist/{chunk-NBDTQVWU.js → chunk-FDNYBZPT.js} +2 -2
- package/dist/{chunk-MB2YT5VQ.js → chunk-FKE5HFPR.js} +2 -2
- package/dist/{chunk-WJICX53Z.js → chunk-FL6KFQPT.js} +1 -1
- package/dist/{chunk-POOMY3CS.js → chunk-FYWV3S2F.js} +4 -4
- package/dist/{chunk-BB5IKY7B.js → chunk-GI6KCSTK.js} +2 -2
- package/dist/{chunk-QDI77B3E.js → chunk-H5SXFCU3.js} +1 -1
- package/dist/{chunk-KJOQLNX2.js → chunk-H6WYBKVG.js} +1 -1
- package/dist/{chunk-TGVKQ3QB.js → chunk-HAQUN74P.js} +3 -3
- package/dist/{chunk-FPTBCPI3.js → chunk-HO5VLDK4.js} +2 -2
- package/dist/{chunk-WGOAILWE.js → chunk-HP33PW3C.js} +2 -2
- package/dist/{chunk-MCEXBLLK.js → chunk-I5YP6SUP.js} +2 -2
- package/dist/{chunk-SPO2RLOB.js → chunk-IPQST5LI.js} +1 -1
- package/dist/{chunk-2E2NKFXK.js → chunk-JOSFV63U.js} +1 -1
- package/dist/{chunk-VDUHWQFA.js → chunk-K5A4TXTO.js} +1 -1
- package/dist/{chunk-JRD7ARQ6.js → chunk-KG77M4XU.js} +1 -1
- package/dist/{chunk-QQFZ32WS.js → chunk-KYWTZG2U.js} +5 -5
- package/dist/{chunk-W5GBB23I.js → chunk-L7NKIZCZ.js} +1 -1
- package/dist/{chunk-6FWMLTF2.js → chunk-LBG3TRZX.js} +1 -1
- package/dist/{chunk-2ZW4AQ24.js → chunk-LFRFAGV2.js} +3 -3
- package/dist/{chunk-KUJGADX6.js → chunk-MDMYOY6A.js} +14 -14
- package/dist/{chunk-AEFZEJKW.js → chunk-MMGYRA3H.js} +1 -1
- package/dist/{chunk-ZDNJ3TSB.js → chunk-MPF33E6Q.js} +7 -7
- package/dist/{chunk-PGFYWVOB.js → chunk-NUVHBQM3.js} +1 -1
- package/dist/{chunk-DYUISOIT.js → chunk-O4FGIGAS.js} +1 -1
- package/dist/{chunk-NGACCR2M.js → chunk-O67EESEG.js} +1 -1
- package/dist/{chunk-YBHOWK3L.js → chunk-OA4TVN4Q.js} +1 -1
- package/dist/{chunk-MIWPKWXQ.js → chunk-OIMLWXQU.js} +1 -1
- package/dist/{chunk-CSPHV5DJ.js → chunk-OVHMZ2MP.js} +1 -1
- package/dist/{chunk-UYOW7U24.js → chunk-POAG6MGC.js} +1 -1
- package/dist/{chunk-ID3V4BWS.js → chunk-PQ5Y34JU.js} +1 -1
- package/dist/{chunk-6XAAJ5OV.js → chunk-QITLEPNC.js} +1 -1
- package/dist/{chunk-BMSAJ2IH.js → chunk-QOQZFY5L.js} +1 -1
- package/dist/{chunk-PJTEZLAM.js → chunk-RDCJGYZW.js} +1 -1
- package/dist/{chunk-KK67DSCO.js → chunk-RULJKRL7.js} +144 -25
- package/dist/{chunk-V4VYIHSL.js → chunk-RXMYEWEC.js} +1 -1
- package/dist/{chunk-376J36IW.js → chunk-SG6N2YPV.js} +4 -4
- package/dist/{chunk-F6TJIWN5.js → chunk-UGNYF33S.js} +1 -1
- package/dist/{chunk-LUOQCGBO.js → chunk-UVVUWXTS.js} +1 -1
- package/dist/{chunk-KLDQFOFY.js → chunk-V4HBRYKM.js} +9 -9
- package/dist/{chunk-UXYQLOFW.js → chunk-VCQNILOK.js} +9 -9
- package/dist/{chunk-Y34FDPOY.js → chunk-VDHLCILZ.js} +5 -5
- package/dist/{chunk-C7B44DJI.js → chunk-W7DHFGCB.js} +1 -1
- package/dist/{chunk-PGUISLOT.js → chunk-WA6X7HFB.js} +2 -2
- package/dist/{chunk-Y2KBHLEO.js → chunk-WN5XF24Y.js} +1 -1
- package/dist/{chunk-BDJQWBWF.js → chunk-YUFM7I7D.js} +3 -3
- package/dist/{chunk-TNS6U2K7.js → chunk-ZDPQTWYD.js} +3 -3
- package/dist/{chunk-2NY7LZT7.js → chunk-ZMVYTOFT.js} +1 -1
- package/dist/{chunk-EWDTTTZP.js → chunk-ZOMG6FSE.js} +3 -3
- package/dist/{chunk-QGOMYIVT.js → chunk-ZZOW4BPC.js} +37 -4
- package/dist/{cleanup-graph-garbage-2YH52ADR.js → cleanup-graph-garbage-IGWP3WQY.js} +4 -4
- package/dist/{co-activation-7F3J2GC7.js → co-activation-357CXYXJ.js} +2 -2
- package/dist/{co-occurrence-B36Q5GY3.js → co-occurrence-WQFRS27F.js} +2 -2
- package/dist/{code-context-index-2PUBBQOE.js → code-context-index-EXXDY3QZ.js} +2 -2
- package/dist/{crdt-sync-MXHPR6V6.js → crdt-sync-32I7C3HE.js} +1 -1
- package/dist/{crm-webhook-56MWGMRY.js → crm-webhook-QSZYCR6W.js} +2 -2
- package/dist/{cto-delegation-gate-26BD7NEE.js → cto-delegation-gate-7WG3YIKI.js} +14 -14
- package/dist/{daemon-orchestration-IBP6PWEG.js → daemon-orchestration-TPZS2O7J.js} +18 -18
- package/dist/{db-backup-XLID57KW.js → db-backup-6LI4KWSP.js} +1 -1
- package/dist/{doc-graph-extractor-VBZ6XTTE.js → doc-graph-extractor-2MWOZKO7.js} +2 -2
- package/dist/{documents-C5LYSJT3.js → documents-HTJ5JWXT.js} +7 -7
- package/dist/{dreaming-LMVDIC5C.js → dreaming-Q3C57VM7.js} +15 -15
- package/dist/{exe-drift-T3K6WA47.js → exe-drift-4MASZVJF.js} +3 -3
- package/dist/{exe-export-QCTASWXI.js → exe-export-OEXUIYKT.js} +6 -6
- package/dist/{exe-import-WNP5A7VA.js → exe-import-GEBZ6BIU.js} +6 -6
- package/dist/{exe-key-JM3JXE2E.js → exe-key-HUYZOUI6.js} +69 -69
- package/dist/{exe-snapshot-ODDJUEM5.js → exe-snapshot-PZ2IFXI6.js} +18 -18
- package/dist/{fast-db-init-O6A3TK3F.js → fast-db-init-RQLJQFJG.js} +1 -1
- package/dist/{founder-context-FYTF4IMD.js → founder-context-RG5ZZYHR.js} +2 -2
- package/dist/gateway/index.js +8 -8
- package/dist/{git-staleness-YA5J6VYJ.js → git-staleness-THM2F3VG.js} +2 -2
- package/dist/{global-procedures-76NDWTYN.js → global-procedures-TKVCAUEW.js} +3 -3
- package/dist/{graph-auto-extract-I7QL2TY5.js → graph-auto-extract-SKWJTW5T.js} +2 -2
- package/dist/hooks/bug-report-worker.js +17 -17
- package/dist/hooks/codex-stop-task-finalizer.js +17 -17
- package/dist/hooks/commit-complete.js +17 -17
- package/dist/hooks/error-recall.js +6 -6
- package/dist/hooks/exe-heartbeat-hook.js +3 -3
- package/dist/hooks/ingest-worker.js +2 -2
- package/dist/hooks/ingest.js +6 -6
- package/dist/hooks/instructions-loaded.js +4 -4
- package/dist/hooks/manifest.json +20 -20
- package/dist/hooks/notification.js +4 -4
- package/dist/hooks/post-compact.js +16 -16
- package/dist/hooks/post-tool-combined.js +8 -8
- package/dist/hooks/pre-compact.js +17 -17
- package/dist/hooks/pre-tool-use.js +20 -20
- package/dist/hooks/prompt-submit.js +62 -38
- package/dist/hooks/session-end.js +22 -22
- package/dist/hooks/session-start.js +12 -12
- package/dist/hooks/stop.js +23 -23
- package/dist/hooks/subagent-stop.js +16 -16
- package/dist/hooks/summary-worker.js +20 -20
- package/dist/index.js +24 -24
- package/dist/{installer-3EYHBKWB.js → installer-5WLOKQH5.js} +5 -5
- package/dist/{installer-3VZMDDMJ.js → installer-Q6VP6AV2.js} +5 -5
- package/dist/{installer-GYABVCB7.js → installer-W2XVWWHU.js} +5 -5
- package/dist/{intercom-queue-ZCNT4LYU.js → intercom-queue-4B2S5UR5.js} +14 -14
- package/dist/lib/agent-config.js +3 -1
- package/dist/lib/cloud-sync.js +11 -11
- package/dist/lib/consolidation.js +6 -6
- package/dist/lib/database.js +2 -2
- package/dist/lib/db-daemon-client.js +2 -2
- package/dist/lib/db.js +2 -2
- package/dist/lib/device-registry.js +1 -1
- package/dist/lib/embedder.js +2 -2
- package/dist/lib/employee-templates.js +4 -4
- package/dist/lib/employees.js +2 -2
- package/dist/lib/exe-daemon-client.js +3 -1
- package/dist/lib/exe-daemon.js +85 -53
- package/dist/lib/hybrid-search.js +5 -5
- 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 +5 -5
- package/dist/lib/session-registry.js +4 -4
- package/dist/lib/skill-learning.js +6 -6
- package/dist/lib/store.js +4 -4
- package/dist/lib/task-router.js +3 -3
- package/dist/lib/tasks.js +16 -16
- package/dist/lib/tmux-routing.js +14 -14
- package/dist/lib/token-spend.js +3 -3
- package/dist/{license-gate-73XGUIVP.js → license-gate-4RLANPDC.js} +3 -3
- package/dist/{license-sync-CG5YRUVH.js → license-sync-ZD2WNKYK.js} +2 -2
- package/dist/mcp/register-tools.js +68 -68
- package/dist/mcp/server.js +69 -69
- 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 +7 -7
- 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-TT7PXZLX.js → mcp-http-config-G27T6LND.js} +3 -3
- package/dist/{memory-cards-6NGUDUDN.js → memory-cards-NCNSZRNK.js} +4 -4
- package/dist/{memory-graph-extractor-FIMS3VQR.js → memory-graph-extractor-SXGYC7ST.js} +3 -3
- package/dist/{memory-poisoning-defense-M3LOQ3XU.js → memory-poisoning-defense-WCJFO4PM.js} +2 -2
- package/dist/{memory-pressure-watchdog-45GABDWH.js → memory-pressure-watchdog-UX4XMMP6.js} +15 -15
- package/dist/{memory-queue-client-BDYKFNB4.js → memory-queue-client-BKQHTYTH.js} +2 -2
- package/dist/{memory-reflection-LANCFYK2.js → memory-reflection-H2DEL3PT.js} +2 -2
- package/dist/{notifications-N5NKUYAU.js → notifications-O2GZIMSH.js} +14 -14
- package/dist/{orchestration-events-KVNRNIPR.js → orchestration-events-KWHUIABU.js} +3 -3
- package/dist/{orchestrator-VTF5BR26.js → orchestrator-5JIQZQ5G.js} +16 -16
- package/dist/{pipeline-router-KQAYWDPH.js → pipeline-router-JMKG24IL.js} +3 -3
- package/dist/{plan-limits-EUZI4X5W.js → plan-limits-3UIKKVOA.js} +5 -5
- package/dist/{projection-worker-FG6G226D.js → projection-worker-UCMUBSR3.js} +2 -2
- package/dist/{prospective-memory-FVDNUSIL.js → prospective-memory-YA3C2TU4.js} +2 -2
- package/dist/{reranker-54Q3L32E.js → reranker-NDRQJ3W6.js} +1 -1
- package/dist/{retrieval-health-YJ7CXYVD.js → retrieval-health-RWWVBLYS.js} +2 -2
- package/dist/{review-polling-TKXYSXH6.js → review-polling-3XGQGAZT.js} +15 -15
- package/dist/runtime/index.js +18 -18
- package/dist/{self-query-router-S3NVLRQH.js → self-query-router-EJ3ZWUOK.js} +1 -1
- package/dist/{session-events-WQHTP65R.js → session-events-RYV6U25T.js} +15 -15
- package/dist/{session-kill-telemetry-2HSE7IGH.js → session-kill-telemetry-PDV5AT74.js} +15 -15
- package/dist/{session-scope-RBKAC75W.js → session-scope-EWPUHO7C.js} +14 -14
- package/dist/{setup-wizard-AA6ZV57H.js → setup-wizard-ZZUNU3YM.js} +1 -1
- package/dist/{skill-refinement-QI35LMTZ.js → skill-refinement-TU54OAT7.js} +3 -3
- package/dist/{stack-update-BE6PX4AG.js → stack-update-GZASYAHK.js} +3 -3
- package/dist/{steward-gate-2XD5BXH6.js → steward-gate-SLQKHB2I.js} +3 -3
- package/dist/{task-enforcement-DMOCBRLB.js → task-enforcement-BIOCLX7K.js} +19 -16
- package/dist/{task-scope-ULBNFBFH.js → task-scope-SUWJ7NLW.js} +14 -14
- package/dist/{tasks-crud-6SJOKES5.js → tasks-crud-ZFTYVPD3.js} +14 -14
- package/dist/{tasks-notify-TESRABUM.js → tasks-notify-VXHGONXH.js} +15 -15
- package/dist/{tasks-review-INDAGLWJ.js → tasks-review-MUHMWDLT.js} +14 -14
- package/dist/{telemetry-upload-6XB3Q3IH.js → telemetry-upload-4NCZC5IX.js} +7 -7
- package/dist/{token-budget-NOF27AZC.js → token-budget-RBZW4K6X.js} +3 -3
- package/dist/{tool-capability-index-EFBBPTBI.js → tool-capability-index-Q6YQDL7I.js} +1 -1
- package/dist/{tool-telemetry-OEK6KQFF.js → tool-telemetry-ZMQW4H3X.js} +1 -1
- package/dist/tui/App.js +22 -22
- package/dist/{tui-data-EG6LEZFF.js → tui-data-235ICHCM.js} +14 -14
- package/dist/{worker-gate-YA35VMAN.js → worker-gate-CEVF4IZZ.js} +1 -1
- package/dist/{workflow-engine-3AVKRE5I.js → workflow-engine-AGYTVD5E.js} +2 -2
- package/dist/{worktree-72QYYL5L.js → worktree-B6YQISX7.js} +4 -4
- package/dist/{worktree-sweep-GDISKGQ2.js → worktree-sweep-SEYVSPLG.js} +5 -5
- package/package.json +1 -1
- package/release-notes.json +35 -17
- /package/dist/{chunk-RXS2LBKE.js → chunk-2GP3SFJT.js} +0 -0
- /package/dist/{chunk-IHRXCNSC.js → chunk-2YT2BR4Y.js} +0 -0
- /package/dist/{chunk-UBYAKNRF.js → chunk-BNCE4226.js} +0 -0
- /package/dist/{chunk-TSYMWC53.js → chunk-IWZHYCNV.js} +0 -0
- /package/dist/{chunk-EWKZKO7F.js → chunk-M6EPHA2V.js} +0 -0
- /package/dist/{chunk-7577GDDG.js → chunk-NKRGMHSS.js} +0 -0
- /package/dist/{chunk-QMUSJESS.js → chunk-O5JGX347.js} +0 -0
- /package/dist/{chunk-NIB2N6L2.js → chunk-QGJAR4HP.js} +0 -0
- /package/dist/{chunk-H43BPGIV.js → chunk-SYTYSN4J.js} +0 -0
- /package/dist/{chunk-SNFYZFXY.js → chunk-WHRTDN5J.js} +0 -0
- /package/dist/{chunk-4O3N7I5Z.js → chunk-XFMHIDL4.js} +0 -0
- /package/dist/{core-memory-NKKP2XUB.js → core-memory-3PQC5CJG.js} +0 -0
- /package/dist/{entity-boost-DRIUFTYB.js → entity-boost-DNI4A5I7.js} +0 -0
- /package/dist/{message-queue-client-4ERC7HLX.js → message-queue-client-Q5BW3O5W.js} +0 -0
- /package/dist/{oauth-server-PECJREY2.js → oauth-server-NJGMHCVI.js} +0 -0
- /package/dist/{project-boot-SFKP2MFW.js → project-boot-4YC2FS3X.js} +0 -0
- /package/dist/{wiki-acl-QIBDNXSM.js → wiki-acl-CQNO6YSC.js} +0 -0
|
@@ -6,47 +6,47 @@ import "../chunk-SH45SJQW.js";
|
|
|
6
6
|
import {
|
|
7
7
|
hybridSearch,
|
|
8
8
|
lightweightSearch
|
|
9
|
-
} from "../chunk-
|
|
9
|
+
} from "../chunk-3EA2MF23.js";
|
|
10
10
|
import "../chunk-AB4PAQYK.js";
|
|
11
11
|
import {
|
|
12
12
|
resolveHookSearchEnabled
|
|
13
13
|
} from "../chunk-KWOAM7TA.js";
|
|
14
|
-
import "../chunk-
|
|
14
|
+
import "../chunk-V4HBRYKM.js";
|
|
15
15
|
import "../chunk-CHCA3ZM2.js";
|
|
16
16
|
import "../chunk-OTVEIJUQ.js";
|
|
17
|
-
import "../chunk-
|
|
17
|
+
import "../chunk-IWZHYCNV.js";
|
|
18
18
|
import {
|
|
19
19
|
getActiveAgent
|
|
20
|
-
} from "../chunk-
|
|
20
|
+
} from "../chunk-PQ5Y34JU.js";
|
|
21
21
|
import "../chunk-Y25OJWOQ.js";
|
|
22
22
|
import {
|
|
23
23
|
countScopedPendingReviews,
|
|
24
24
|
decideQueuedNudgeDrain,
|
|
25
25
|
isExeSession
|
|
26
|
-
} from "../chunk-
|
|
27
|
-
import "../chunk-
|
|
28
|
-
import "../chunk-
|
|
29
|
-
import "../chunk-
|
|
26
|
+
} from "../chunk-MDMYOY6A.js";
|
|
27
|
+
import "../chunk-DDONIN5J.js";
|
|
28
|
+
import "../chunk-H6WYBKVG.js";
|
|
29
|
+
import "../chunk-WN5XF24Y.js";
|
|
30
30
|
import "../chunk-EIKATSE4.js";
|
|
31
31
|
import "../chunk-E23LNUWJ.js";
|
|
32
32
|
import "../chunk-4JERP7NT.js";
|
|
33
|
-
import "../chunk-
|
|
33
|
+
import "../chunk-KG77M4XU.js";
|
|
34
34
|
import "../chunk-SSTLTIF3.js";
|
|
35
35
|
import "../chunk-RMOBQ6A5.js";
|
|
36
36
|
import "../chunk-54QCG45Y.js";
|
|
37
|
-
import "../chunk-
|
|
38
|
-
import "../chunk-
|
|
37
|
+
import "../chunk-UGNYF33S.js";
|
|
38
|
+
import "../chunk-CUEOJO5W.js";
|
|
39
39
|
import "../chunk-NGP6LSV2.js";
|
|
40
|
-
import "../chunk-
|
|
40
|
+
import "../chunk-GI6KCSTK.js";
|
|
41
41
|
import {
|
|
42
42
|
getSessionKey
|
|
43
43
|
} from "../chunk-CVYC6DUW.js";
|
|
44
|
-
import "../chunk-
|
|
44
|
+
import "../chunk-2233TQCA.js";
|
|
45
45
|
import "../chunk-HCJCW7X4.js";
|
|
46
46
|
import {
|
|
47
47
|
getProjectName
|
|
48
48
|
} from "../chunk-OPU3NYOO.js";
|
|
49
|
-
import "../chunk-
|
|
49
|
+
import "../chunk-7TS64TBG.js";
|
|
50
50
|
import "../chunk-AFNRE2RV.js";
|
|
51
51
|
import "../chunk-3NGZ4PL7.js";
|
|
52
52
|
import "../chunk-NLEW62VC.js";
|
|
@@ -55,16 +55,16 @@ import "../chunk-GJV3WDWM.js";
|
|
|
55
55
|
import "../chunk-MP2AFCGL.js";
|
|
56
56
|
import {
|
|
57
57
|
canCoordinate
|
|
58
|
-
} from "../chunk-
|
|
58
|
+
} from "../chunk-ZZOW4BPC.js";
|
|
59
59
|
import "../chunk-2I23RPSI.js";
|
|
60
|
-
import "../chunk-
|
|
60
|
+
import "../chunk-NKRGMHSS.js";
|
|
61
61
|
import "../chunk-PNQDP3OA.js";
|
|
62
62
|
import "../chunk-H73TUI4Y.js";
|
|
63
63
|
import "../chunk-7HLWBYH7.js";
|
|
64
64
|
import "../chunk-FXU7JOXK.js";
|
|
65
65
|
import "../chunk-Z42MXYWW.js";
|
|
66
|
-
import "../chunk-
|
|
67
|
-
import "../chunk-
|
|
66
|
+
import "../chunk-QOQZFY5L.js";
|
|
67
|
+
import "../chunk-2YT2BR4Y.js";
|
|
68
68
|
import {
|
|
69
69
|
EXE_AI_DIR,
|
|
70
70
|
loadConfig,
|
|
@@ -89,6 +89,7 @@ process.on("unhandledRejection", (err) => {
|
|
|
89
89
|
console.error(`[exe-os:hook:prompt-submit] FATAL: ${err instanceof Error ? err.stack ?? err.message : String(err)}`);
|
|
90
90
|
process.exit(1);
|
|
91
91
|
});
|
|
92
|
+
process.env.EXE_HOOK_FAIL_OPEN = "1";
|
|
92
93
|
try {
|
|
93
94
|
const { verifyOrBlock } = await import("../hook-integrity-WURH6DS3.js");
|
|
94
95
|
if (!await verifyOrBlock(new URL(import.meta.url).pathname)) process.exit(2);
|
|
@@ -113,6 +114,25 @@ if (!loadConfigSync().autoRetrieval) {
|
|
|
113
114
|
}
|
|
114
115
|
var CACHE_DIR = path.join(EXE_AI_DIR, "session-cache");
|
|
115
116
|
var IS_CODEX_RUNTIME = process.env.EXE_RUNTIME?.toLowerCase() === "codex";
|
|
117
|
+
var HOOK_FAIL_OPEN_MS = 4500;
|
|
118
|
+
var HOOK_MEMORY_SEARCH_TIMEOUT_MS = 1200;
|
|
119
|
+
var HOOK_DAEMON_INIT_TIMEOUT_MS = 500;
|
|
120
|
+
function withHookTimeout(promise, ms, fallback) {
|
|
121
|
+
return new Promise((resolve) => {
|
|
122
|
+
const timer = setTimeout(() => resolve(fallback), ms);
|
|
123
|
+
timer.unref?.();
|
|
124
|
+
promise.then(
|
|
125
|
+
(value) => {
|
|
126
|
+
clearTimeout(timer);
|
|
127
|
+
resolve(value);
|
|
128
|
+
},
|
|
129
|
+
() => {
|
|
130
|
+
clearTimeout(timer);
|
|
131
|
+
resolve(fallback);
|
|
132
|
+
}
|
|
133
|
+
);
|
|
134
|
+
});
|
|
135
|
+
}
|
|
116
136
|
function loadInjectedIds(sessionId) {
|
|
117
137
|
try {
|
|
118
138
|
const raw = readFileSync(path.join(CACHE_DIR, `${sessionId}.json`), "utf8");
|
|
@@ -130,7 +150,7 @@ function saveInjectedIds(sessionId, ids) {
|
|
|
130
150
|
}
|
|
131
151
|
var timeout = setTimeout(() => {
|
|
132
152
|
process.exit(0);
|
|
133
|
-
},
|
|
153
|
+
}, HOOK_FAIL_OPEN_MS);
|
|
134
154
|
timeout.unref();
|
|
135
155
|
var MAX_INPUT_SIZE = 1e6;
|
|
136
156
|
var input = "";
|
|
@@ -155,7 +175,7 @@ process.stdin.on("end", async () => {
|
|
|
155
175
|
try {
|
|
156
176
|
_cachedTmuxSession = execFileSync("tmux", ["display-message", "-p", "#{session_name}"], {
|
|
157
177
|
encoding: "utf8",
|
|
158
|
-
timeout:
|
|
178
|
+
timeout: 250
|
|
159
179
|
}).trim();
|
|
160
180
|
} catch {
|
|
161
181
|
_cachedTmuxSession = "";
|
|
@@ -173,13 +193,13 @@ process.stdin.on("end", async () => {
|
|
|
173
193
|
}
|
|
174
194
|
if (prompt.length < 20) {
|
|
175
195
|
if (prompt.length >= 10) {
|
|
176
|
-
await writePromptMemory(prompt, data.session_id, agent);
|
|
196
|
+
await withHookTimeout(writePromptMemory(prompt, data.session_id, agent), HOOK_DAEMON_INIT_TIMEOUT_MS, void 0);
|
|
177
197
|
}
|
|
178
198
|
process.exit(0);
|
|
179
199
|
}
|
|
180
200
|
try {
|
|
181
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
182
|
-
await fastDbInit();
|
|
201
|
+
const { fastDbInit } = await import("../fast-db-init-RQLJQFJG.js");
|
|
202
|
+
await withHookTimeout(fastDbInit(), HOOK_DAEMON_INIT_TIMEOUT_MS, null);
|
|
183
203
|
} catch {
|
|
184
204
|
}
|
|
185
205
|
if (!canCoordinate(agent.agentId, agent.agentRole)) {
|
|
@@ -196,7 +216,7 @@ process.stdin.on("end", async () => {
|
|
|
196
216
|
if (inTmux) try {
|
|
197
217
|
const currentSession = getTmuxSession();
|
|
198
218
|
if (currentSession) {
|
|
199
|
-
const { drainForSession, readQueue } = await import("../intercom-queue-
|
|
219
|
+
const { drainForSession, readQueue } = await import("../intercom-queue-4B2S5UR5.js");
|
|
200
220
|
const { baseAgentName } = await import("../lib/employees.js");
|
|
201
221
|
const queuedForMe = readQueue().filter((q) => q.targetSession === currentSession);
|
|
202
222
|
if (queuedForMe.length > 0) {
|
|
@@ -354,10 +374,14 @@ process.stdin.on("end", async () => {
|
|
|
354
374
|
}
|
|
355
375
|
let memoryContext = "";
|
|
356
376
|
if (!IS_CODEX_RUNTIME) {
|
|
357
|
-
const memories = await
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
377
|
+
const memories = await withHookTimeout(
|
|
378
|
+
search(
|
|
379
|
+
prompt.slice(0, 200),
|
|
380
|
+
agent.agentId,
|
|
381
|
+
{ limit: 5 }
|
|
382
|
+
),
|
|
383
|
+
HOOK_MEMORY_SEARCH_TIMEOUT_MS,
|
|
384
|
+
[]
|
|
361
385
|
);
|
|
362
386
|
if (memories.length > 0) {
|
|
363
387
|
const injected = loadInjectedIds(data.session_id);
|
|
@@ -385,7 +409,7 @@ ${fresh.map(
|
|
|
385
409
|
atomicWriteSync(counterPath, String(count));
|
|
386
410
|
const BEHAVIOR_REINJECT_INTERVAL = 50;
|
|
387
411
|
if (count === 1 || count % BEHAVIOR_REINJECT_INTERVAL === 0) {
|
|
388
|
-
const { listBehaviors } = await import("../behaviors-
|
|
412
|
+
const { listBehaviors } = await import("../behaviors-HZ6BIOGX.js");
|
|
389
413
|
const behaviors = await listBehaviors(agent.agentId);
|
|
390
414
|
const active = behaviors.filter((b) => b.active !== 0).sort((a, b) => (a.priority === "p0" ? -1 : 1) - (b.priority === "p0" ? -1 : 1)).slice(0, 15);
|
|
391
415
|
if (active.length > 0) {
|
|
@@ -425,7 +449,7 @@ ${parts.join("\n\n")}`;
|
|
|
425
449
|
if (!lastCheckedAt) {
|
|
426
450
|
lastCheckedAt = "1970-01-01T00:00:00.000Z";
|
|
427
451
|
}
|
|
428
|
-
const { listBehaviorsSince } = await import("../behaviors-
|
|
452
|
+
const { listBehaviorsSince } = await import("../behaviors-HZ6BIOGX.js");
|
|
429
453
|
const newBehaviors = await listBehaviorsSince(agent.agentId, lastCheckedAt);
|
|
430
454
|
if (newBehaviors.length > 0) {
|
|
431
455
|
const newReflex = newBehaviors.filter((b) => b.domain === "reflex");
|
|
@@ -493,7 +517,7 @@ ${body}`;
|
|
|
493
517
|
let reviewContext = "";
|
|
494
518
|
if (canCoordinate(agent.agentId, agent.agentRole)) {
|
|
495
519
|
try {
|
|
496
|
-
const { countPendingReviews, countNewPendingReviewsSince } = await import("../tasks-review-
|
|
520
|
+
const { countPendingReviews, countNewPendingReviewsSince } = await import("../tasks-review-MUHMWDLT.js");
|
|
497
521
|
const sessionKey = getSessionKey();
|
|
498
522
|
const lastCheckPath = path.join(CACHE_DIR, `review-lastcheck-${sessionKey}.json`);
|
|
499
523
|
let sessionScope;
|
|
@@ -550,7 +574,7 @@ IMPORTANT: After completing your current task, you MUST address the pending revi
|
|
|
550
574
|
let coreMemoryContext = "";
|
|
551
575
|
if (!IS_CODEX_RUNTIME && agent.agentId !== "default") {
|
|
552
576
|
try {
|
|
553
|
-
const { getCoreMemory, formatCoreMemoryBlock } = await import("../core-memory-
|
|
577
|
+
const { getCoreMemory, formatCoreMemoryBlock } = await import("../core-memory-3PQC5CJG.js");
|
|
554
578
|
const entries = await getCoreMemory(agent.agentId);
|
|
555
579
|
const block = formatCoreMemoryBlock(entries);
|
|
556
580
|
if (block) coreMemoryContext = block;
|
|
@@ -623,7 +647,7 @@ IMPORTANT: After completing your current task, you MUST address the new task abo
|
|
|
623
647
|
} catch {
|
|
624
648
|
}
|
|
625
649
|
try {
|
|
626
|
-
const { recordOrchestrationEventBestEffort: recordOE } = await import("../orchestration-events-
|
|
650
|
+
const { recordOrchestrationEventBestEffort: recordOE } = await import("../orchestration-events-KWHUIABU.js");
|
|
627
651
|
recordOE({
|
|
628
652
|
eventType: "signal.consumed",
|
|
629
653
|
source: "prompt-submit.hook",
|
|
@@ -692,7 +716,7 @@ IMPORTANT: After completing your current task, you MUST address the new task abo
|
|
|
692
716
|
let idleTaskContext = "";
|
|
693
717
|
if (!taskSignalContext && agent.agentId !== "default" && !IS_CODEX_RUNTIME) {
|
|
694
718
|
try {
|
|
695
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
719
|
+
const { fastDbInit } = await import("../fast-db-init-RQLJQFJG.js");
|
|
696
720
|
const client = await fastDbInit();
|
|
697
721
|
let taskSessionScope = null;
|
|
698
722
|
if (inTmux) {
|
|
@@ -761,7 +785,7 @@ IMPORTANT: After completing your current task, you MUST address the new task abo
|
|
|
761
785
|
}
|
|
762
786
|
if (hints.length === 0) {
|
|
763
787
|
try {
|
|
764
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
788
|
+
const { fastDbInit } = await import("../fast-db-init-RQLJQFJG.js");
|
|
765
789
|
const client = await fastDbInit();
|
|
766
790
|
const reminderResult = await client.execute({
|
|
767
791
|
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')`,
|
|
@@ -840,8 +864,8 @@ async function writePromptMemory(prompt, sessionId, agent) {
|
|
|
840
864
|
return;
|
|
841
865
|
}
|
|
842
866
|
try {
|
|
843
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
844
|
-
const { recordSessionEvent } = await import("../session-events-
|
|
867
|
+
const { fastDbInit } = await import("../fast-db-init-RQLJQFJG.js");
|
|
868
|
+
const { recordSessionEvent } = await import("../session-events-RYV6U25T.js");
|
|
845
869
|
const client = await fastDbInit();
|
|
846
870
|
await recordSessionEvent(client, {
|
|
847
871
|
agentId: agent.agentId,
|
|
@@ -856,7 +880,7 @@ async function writePromptMemory(prompt, sessionId, agent) {
|
|
|
856
880
|
}
|
|
857
881
|
if (!loadConfigSync().autoIngestion) return;
|
|
858
882
|
try {
|
|
859
|
-
const { writeMemoryViaDaemon } = await import("../memory-queue-client-
|
|
883
|
+
const { writeMemoryViaDaemon } = await import("../memory-queue-client-BKQHTYTH.js");
|
|
860
884
|
const trimmed = prompt.trim();
|
|
861
885
|
const isSlashCommand = trimmed.startsWith("/");
|
|
862
886
|
const isDirective = /\b(from now on|never|always|rule:|decision:|policy:)\b/i.test(trimmed);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
writeContinuityCheckpoint
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-NUVHBQM3.js";
|
|
4
4
|
import {
|
|
5
5
|
clearCacheState
|
|
6
6
|
} from "../chunk-6A7P74QV.js";
|
|
@@ -9,31 +9,31 @@ import "../chunk-SH45SJQW.js";
|
|
|
9
9
|
import {
|
|
10
10
|
clearActiveAgent,
|
|
11
11
|
getActiveAgent
|
|
12
|
-
} from "../chunk-
|
|
12
|
+
} from "../chunk-PQ5Y34JU.js";
|
|
13
13
|
import {
|
|
14
14
|
strictSessionScopeFilter
|
|
15
|
-
} from "../chunk-
|
|
16
|
-
import "../chunk-
|
|
17
|
-
import "../chunk-
|
|
18
|
-
import "../chunk-
|
|
15
|
+
} from "../chunk-MDMYOY6A.js";
|
|
16
|
+
import "../chunk-DDONIN5J.js";
|
|
17
|
+
import "../chunk-H6WYBKVG.js";
|
|
18
|
+
import "../chunk-WN5XF24Y.js";
|
|
19
19
|
import "../chunk-EIKATSE4.js";
|
|
20
20
|
import "../chunk-E23LNUWJ.js";
|
|
21
21
|
import "../chunk-4JERP7NT.js";
|
|
22
|
-
import "../chunk-
|
|
22
|
+
import "../chunk-KG77M4XU.js";
|
|
23
23
|
import "../chunk-SSTLTIF3.js";
|
|
24
24
|
import "../chunk-RMOBQ6A5.js";
|
|
25
25
|
import "../chunk-54QCG45Y.js";
|
|
26
|
-
import "../chunk-
|
|
27
|
-
import "../chunk-
|
|
26
|
+
import "../chunk-UGNYF33S.js";
|
|
27
|
+
import "../chunk-CUEOJO5W.js";
|
|
28
28
|
import "../chunk-NGP6LSV2.js";
|
|
29
|
-
import "../chunk-
|
|
29
|
+
import "../chunk-GI6KCSTK.js";
|
|
30
30
|
import {
|
|
31
31
|
getSessionKey
|
|
32
32
|
} from "../chunk-CVYC6DUW.js";
|
|
33
|
-
import "../chunk-
|
|
33
|
+
import "../chunk-2233TQCA.js";
|
|
34
34
|
import "../chunk-HCJCW7X4.js";
|
|
35
35
|
import "../chunk-OPU3NYOO.js";
|
|
36
|
-
import "../chunk-
|
|
36
|
+
import "../chunk-7TS64TBG.js";
|
|
37
37
|
import "../chunk-AFNRE2RV.js";
|
|
38
38
|
import "../chunk-3NGZ4PL7.js";
|
|
39
39
|
import "../chunk-NLEW62VC.js";
|
|
@@ -42,15 +42,15 @@ import "../chunk-GJV3WDWM.js";
|
|
|
42
42
|
import "../chunk-MP2AFCGL.js";
|
|
43
43
|
import {
|
|
44
44
|
canCoordinate
|
|
45
|
-
} from "../chunk-
|
|
45
|
+
} from "../chunk-ZZOW4BPC.js";
|
|
46
46
|
import "../chunk-2I23RPSI.js";
|
|
47
|
-
import "../chunk-
|
|
47
|
+
import "../chunk-NKRGMHSS.js";
|
|
48
48
|
import "../chunk-PNQDP3OA.js";
|
|
49
49
|
import "../chunk-H73TUI4Y.js";
|
|
50
50
|
import "../chunk-7HLWBYH7.js";
|
|
51
51
|
import "../chunk-FXU7JOXK.js";
|
|
52
|
-
import "../chunk-
|
|
53
|
-
import "../chunk-
|
|
52
|
+
import "../chunk-QOQZFY5L.js";
|
|
53
|
+
import "../chunk-2YT2BR4Y.js";
|
|
54
54
|
import "../chunk-7Y5UDEVM.js";
|
|
55
55
|
import "../chunk-SHIICYJW.js";
|
|
56
56
|
import "../chunk-MLKGABMK.js";
|
|
@@ -263,7 +263,7 @@ process.stdin.on("end", async () => {
|
|
|
263
263
|
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"}
|
|
264
264
|
`);
|
|
265
265
|
try {
|
|
266
|
-
const { recordOrchestrationEvent } = await import("../orchestration-events-
|
|
266
|
+
const { recordOrchestrationEvent } = await import("../orchestration-events-KWHUIABU.js");
|
|
267
267
|
await recordOrchestrationEvent({
|
|
268
268
|
eventType: "session.exit",
|
|
269
269
|
source: "hooks.session-end",
|
|
@@ -288,7 +288,7 @@ process.stdin.on("end", async () => {
|
|
|
288
288
|
}
|
|
289
289
|
if (agent.agentId) {
|
|
290
290
|
try {
|
|
291
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
291
|
+
const { fastDbInit } = await import("../fast-db-init-RQLJQFJG.js");
|
|
292
292
|
const client = await fastDbInit();
|
|
293
293
|
const seScope = strictSessionScopeFilter();
|
|
294
294
|
const orphanResult = await client.execute({
|
|
@@ -364,7 +364,7 @@ Orphaned tasks at session end: ${orphanResult.rows.map((r) => `"${String(r.title
|
|
|
364
364
|
});
|
|
365
365
|
if (conversationSummary.length > 100) {
|
|
366
366
|
try {
|
|
367
|
-
const { writeMemoryViaDaemon } = await import("../memory-queue-client-
|
|
367
|
+
const { writeMemoryViaDaemon } = await import("../memory-queue-client-BKQHTYTH.js");
|
|
368
368
|
await writeMemoryViaDaemon({
|
|
369
369
|
raw_text: conversationSummary.slice(0, 8e3),
|
|
370
370
|
agent_id: agent.agentId,
|
|
@@ -380,12 +380,12 @@ Orphaned tasks at session end: ${orphanResult.rows.map((r) => `"${String(r.title
|
|
|
380
380
|
}
|
|
381
381
|
}
|
|
382
382
|
try {
|
|
383
|
-
const { clearSessionFileReads } = await import("../git-staleness-
|
|
383
|
+
const { clearSessionFileReads } = await import("../git-staleness-THM2F3VG.js");
|
|
384
384
|
await clearSessionFileReads(data.session_id);
|
|
385
385
|
} catch {
|
|
386
386
|
}
|
|
387
387
|
try {
|
|
388
|
-
const { DreamingEngine } = await import("../dreaming-
|
|
388
|
+
const { DreamingEngine } = await import("../dreaming-Q3C57VM7.js");
|
|
389
389
|
const engine = new DreamingEngine();
|
|
390
390
|
const dreamResult = await engine.runDreamCycle(agent.agentId);
|
|
391
391
|
let promoted = 0;
|
|
@@ -461,7 +461,7 @@ Orphaned tasks at session end: ${orphanResult.rows.map((r) => `"${String(r.title
|
|
|
461
461
|
parts.push(`Left in_progress (no matching commits, needs triage): ${leftInProgress.join(", ")}`);
|
|
462
462
|
}
|
|
463
463
|
try {
|
|
464
|
-
const { writeNotification } = await import("../notifications-
|
|
464
|
+
const { writeNotification } = await import("../notifications-O2GZIMSH.js");
|
|
465
465
|
await writeNotification({
|
|
466
466
|
agentId: agent.agentId,
|
|
467
467
|
agentRole: agent.agentRole,
|
|
@@ -73,9 +73,9 @@ process.stdin.on("data", (chunk) => {
|
|
|
73
73
|
process.stdin.on("end", async () => {
|
|
74
74
|
let failed = false;
|
|
75
75
|
try {
|
|
76
|
-
const { getActiveAgent } = await import("../active-agent-
|
|
76
|
+
const { getActiveAgent } = await import("../active-agent-NODPD3OF.js");
|
|
77
77
|
const { getProjectName } = await import("../project-name-EWG5KAZP.js");
|
|
78
|
-
const { getCurrentSessionScope } = await import("../task-scope-
|
|
78
|
+
const { getCurrentSessionScope } = await import("../task-scope-SUWJ7NLW.js");
|
|
79
79
|
const { canCoordinate, loadEmployeesSync } = await import("../lib/employees.js");
|
|
80
80
|
const data = JSON.parse(input);
|
|
81
81
|
const projectName = getProjectName(data.cwd || void 0);
|
|
@@ -106,7 +106,7 @@ process.stdin.on("end", async () => {
|
|
|
106
106
|
if (daemonDegraded) {
|
|
107
107
|
process.stderr.write("[session-start] WARNING: daemon/DB unavailable after retries \u2014 booting in degraded mode (no memory context)\n");
|
|
108
108
|
try {
|
|
109
|
-
const { recordOrchestrationEvent } = await import("../orchestration-events-
|
|
109
|
+
const { recordOrchestrationEvent } = await import("../orchestration-events-KWHUIABU.js");
|
|
110
110
|
void recordOrchestrationEvent({
|
|
111
111
|
eventType: "mcp.unreachable",
|
|
112
112
|
source: "session-start.hook",
|
|
@@ -130,12 +130,12 @@ process.stdin.on("end", async () => {
|
|
|
130
130
|
}
|
|
131
131
|
if (!daemonDegraded) {
|
|
132
132
|
try {
|
|
133
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
133
|
+
const { fastDbInit } = await import("../fast-db-init-RQLJQFJG.js");
|
|
134
134
|
await fastDbInit();
|
|
135
135
|
} catch {
|
|
136
136
|
try {
|
|
137
137
|
await new Promise((resolve) => setTimeout(resolve, 750));
|
|
138
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
138
|
+
const { fastDbInit } = await import("../fast-db-init-RQLJQFJG.js");
|
|
139
139
|
await fastDbInit();
|
|
140
140
|
} catch {
|
|
141
141
|
daemonDegraded = true;
|
|
@@ -180,7 +180,7 @@ process.stdin.on("end", async () => {
|
|
|
180
180
|
});
|
|
181
181
|
}
|
|
182
182
|
try {
|
|
183
|
-
const { recordOrchestrationEvent } = await import("../orchestration-events-
|
|
183
|
+
const { recordOrchestrationEvent } = await import("../orchestration-events-KWHUIABU.js");
|
|
184
184
|
void recordOrchestrationEvent({
|
|
185
185
|
eventType: "session.born",
|
|
186
186
|
source: "session-start.hook",
|
|
@@ -197,7 +197,7 @@ process.stdin.on("end", async () => {
|
|
|
197
197
|
if (daemonDegraded) {
|
|
198
198
|
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";
|
|
199
199
|
try {
|
|
200
|
-
const { getActiveAgent: getAgent } = await import("../active-agent-
|
|
200
|
+
const { getActiveAgent: getAgent } = await import("../active-agent-NODPD3OF.js");
|
|
201
201
|
const ag = getAgent();
|
|
202
202
|
if (ag.agentId !== "default") {
|
|
203
203
|
degradedContext = `## Your Identity
|
|
@@ -221,7 +221,7 @@ You are **${ag.agentId}**. The daemon was degraded at boot \u2014 memory context
|
|
|
221
221
|
query = `last actions on ${projectName}`;
|
|
222
222
|
header = "## Resuming Session\nHere's where you left off:";
|
|
223
223
|
try {
|
|
224
|
-
const { buildCatchupBrief } = await import("../catchup-brief-
|
|
224
|
+
const { buildCatchupBrief } = await import("../catchup-brief-YYEVWAZN.js");
|
|
225
225
|
const brief = await buildCatchupBrief(
|
|
226
226
|
agentId,
|
|
227
227
|
projectName,
|
|
@@ -233,7 +233,7 @@ You are **${ag.agentId}**. The daemon was degraded at boot \u2014 memory context
|
|
|
233
233
|
} catch {
|
|
234
234
|
}
|
|
235
235
|
try {
|
|
236
|
-
const { detectStaleFiles } = await import("../git-staleness-
|
|
236
|
+
const { detectStaleFiles } = await import("../git-staleness-THM2F3VG.js");
|
|
237
237
|
const staleFiles = await detectStaleFiles(agentId, data.cwd || process.cwd());
|
|
238
238
|
if (staleFiles.length > 0) {
|
|
239
239
|
extraContext += `${extraContext.length > 0 ? "\n\n" : ""}## \u26A0\uFE0F Stale File Warning
|
|
@@ -246,7 +246,7 @@ The following files have been modified since you last read them:
|
|
|
246
246
|
query = `recent work on ${projectName}`;
|
|
247
247
|
header = "## Memory Brief\nRecent memories from this project:";
|
|
248
248
|
}
|
|
249
|
-
const { queryTaskRows } = await import("../tasks-crud-
|
|
249
|
+
const { queryTaskRows } = await import("../tasks-crud-ZFTYVPD3.js");
|
|
250
250
|
const [memories, taskResult] = await Promise.all([
|
|
251
251
|
lightweightSearch(query, agentId, { projectName, limit: 5 }),
|
|
252
252
|
queryTaskRows({
|
|
@@ -341,7 +341,7 @@ ${wmContent}
|
|
|
341
341
|
`;
|
|
342
342
|
if (agentId !== "default" && !daemonDegraded) {
|
|
343
343
|
try {
|
|
344
|
-
const { readLatestCheckpoint } = await import("../tasks-crud-
|
|
344
|
+
const { readLatestCheckpoint } = await import("../tasks-crud-ZFTYVPD3.js");
|
|
345
345
|
const checkpoint = await readLatestCheckpoint(agentId);
|
|
346
346
|
if (checkpoint) {
|
|
347
347
|
const filesTouched = checkpoint.files_touched?.length > 0 ? checkpoint.files_touched.join(", ") : "none recorded";
|
|
@@ -419,7 +419,7 @@ ${phase.label}. Focus: ${phase.focus}. This is guidance, not a blocker; the user
|
|
|
419
419
|
}
|
|
420
420
|
if (source !== "resume" && agentId !== "default") {
|
|
421
421
|
try {
|
|
422
|
-
const { getPendingProspective, markSurfaced } = await import("../prospective-memory-
|
|
422
|
+
const { getPendingProspective, markSurfaced } = await import("../prospective-memory-YA3C2TU4.js");
|
|
423
423
|
const due = await getPendingProspective(agentId, { projectName, limit: 5 });
|
|
424
424
|
if (due.length > 0) {
|
|
425
425
|
const now = Date.now();
|
package/dist/hooks/stop.js
CHANGED
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import "../chunk-SH45SJQW.js";
|
|
2
2
|
import {
|
|
3
3
|
getActiveAgent
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-PQ5Y34JU.js";
|
|
5
5
|
import {
|
|
6
6
|
sessionScopeFilter
|
|
7
|
-
} from "../chunk-
|
|
8
|
-
import "../chunk-
|
|
9
|
-
import "../chunk-
|
|
10
|
-
import "../chunk-
|
|
7
|
+
} from "../chunk-MDMYOY6A.js";
|
|
8
|
+
import "../chunk-DDONIN5J.js";
|
|
9
|
+
import "../chunk-H6WYBKVG.js";
|
|
10
|
+
import "../chunk-WN5XF24Y.js";
|
|
11
11
|
import "../chunk-EIKATSE4.js";
|
|
12
12
|
import "../chunk-E23LNUWJ.js";
|
|
13
13
|
import "../chunk-4JERP7NT.js";
|
|
14
|
-
import "../chunk-
|
|
14
|
+
import "../chunk-KG77M4XU.js";
|
|
15
15
|
import "../chunk-SSTLTIF3.js";
|
|
16
16
|
import "../chunk-RMOBQ6A5.js";
|
|
17
17
|
import "../chunk-54QCG45Y.js";
|
|
18
|
-
import "../chunk-
|
|
19
|
-
import "../chunk-
|
|
18
|
+
import "../chunk-UGNYF33S.js";
|
|
19
|
+
import "../chunk-CUEOJO5W.js";
|
|
20
20
|
import "../chunk-NGP6LSV2.js";
|
|
21
|
-
import "../chunk-
|
|
21
|
+
import "../chunk-GI6KCSTK.js";
|
|
22
22
|
import "../chunk-CVYC6DUW.js";
|
|
23
|
-
import "../chunk-
|
|
23
|
+
import "../chunk-2233TQCA.js";
|
|
24
24
|
import "../chunk-HCJCW7X4.js";
|
|
25
25
|
import "../chunk-OPU3NYOO.js";
|
|
26
|
-
import "../chunk-
|
|
26
|
+
import "../chunk-7TS64TBG.js";
|
|
27
27
|
import "../chunk-AFNRE2RV.js";
|
|
28
28
|
import "../chunk-3NGZ4PL7.js";
|
|
29
29
|
import "../chunk-NLEW62VC.js";
|
|
@@ -32,15 +32,15 @@ import "../chunk-GJV3WDWM.js";
|
|
|
32
32
|
import "../chunk-MP2AFCGL.js";
|
|
33
33
|
import {
|
|
34
34
|
canCoordinate
|
|
35
|
-
} from "../chunk-
|
|
35
|
+
} from "../chunk-ZZOW4BPC.js";
|
|
36
36
|
import "../chunk-2I23RPSI.js";
|
|
37
|
-
import "../chunk-
|
|
37
|
+
import "../chunk-NKRGMHSS.js";
|
|
38
38
|
import "../chunk-PNQDP3OA.js";
|
|
39
39
|
import "../chunk-H73TUI4Y.js";
|
|
40
40
|
import "../chunk-7HLWBYH7.js";
|
|
41
41
|
import "../chunk-FXU7JOXK.js";
|
|
42
|
-
import "../chunk-
|
|
43
|
-
import "../chunk-
|
|
42
|
+
import "../chunk-QOQZFY5L.js";
|
|
43
|
+
import "../chunk-2YT2BR4Y.js";
|
|
44
44
|
import {
|
|
45
45
|
EXE_AI_DIR,
|
|
46
46
|
loadConfigSync
|
|
@@ -153,8 +153,8 @@ process.stdin.on("end", async () => {
|
|
|
153
153
|
process.exit(0);
|
|
154
154
|
}
|
|
155
155
|
try {
|
|
156
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
157
|
-
const { recordSessionEvent } = await import("../session-events-
|
|
156
|
+
const { fastDbInit } = await import("../fast-db-init-RQLJQFJG.js");
|
|
157
|
+
const { recordSessionEvent } = await import("../session-events-RYV6U25T.js");
|
|
158
158
|
const client = await fastDbInit({ daemonOnly: true });
|
|
159
159
|
await recordSessionEvent(client, {
|
|
160
160
|
agentId: agent.agentId,
|
|
@@ -172,7 +172,7 @@ process.stdin.on("end", async () => {
|
|
|
172
172
|
if (existsSync(taskCachePath)) {
|
|
173
173
|
const cached = JSON.parse(readFileSync(taskCachePath, "utf8"));
|
|
174
174
|
if (cached.taskId) {
|
|
175
|
-
const { createTokenBudgetMiddleware } = await import("../token-budget-
|
|
175
|
+
const { createTokenBudgetMiddleware } = await import("../token-budget-RBZW4K6X.js");
|
|
176
176
|
const middleware = createTokenBudgetMiddleware(cached.taskId);
|
|
177
177
|
const estimatedOutputTokens = Math.ceil(message.length / 4);
|
|
178
178
|
const result = await middleware.onTokenUsed(0, estimatedOutputTokens);
|
|
@@ -190,7 +190,7 @@ process.stdin.on("end", async () => {
|
|
|
190
190
|
}
|
|
191
191
|
const CAPACITY_SIGNALS = /context[- ]?full|hit capacity|conversation is too long|maximum context length|context window.*(?:limit|exceed|full)/i;
|
|
192
192
|
if (!canCoordinate(agent.agentId, agent.agentRole) && CAPACITY_SIGNALS.test(message)) {
|
|
193
|
-
import("../fast-db-init-
|
|
193
|
+
import("../fast-db-init-RQLJQFJG.js").then(({ fastDbInit }) => fastDbInit({ daemonOnly: true })).then(async (client) => {
|
|
194
194
|
const stScope = sessionScopeFilter();
|
|
195
195
|
const tasks = await client.execute({
|
|
196
196
|
sql: `SELECT title, status, task_file FROM tasks
|
|
@@ -208,7 +208,7 @@ process.stdin.on("end", async () => {
|
|
|
208
208
|
"",
|
|
209
209
|
`Last response fragment: ${message.slice(0, 500)}`
|
|
210
210
|
].join("\n");
|
|
211
|
-
const { writeMemoryViaDaemon } = await import("../memory-queue-client-
|
|
211
|
+
const { writeMemoryViaDaemon } = await import("../memory-queue-client-BKQHTYTH.js");
|
|
212
212
|
await writeMemoryViaDaemon({
|
|
213
213
|
raw_text: checkpoint,
|
|
214
214
|
agent_id: agent.agentId,
|
|
@@ -261,7 +261,7 @@ Session: ${data.session_id}
|
|
|
261
261
|
|
|
262
262
|
## Recent Thread
|
|
263
263
|
${msgs.slice(-15).join("\n")}`;
|
|
264
|
-
const { writeMemoryViaDaemon } = await import("../memory-queue-client-
|
|
264
|
+
const { writeMemoryViaDaemon } = await import("../memory-queue-client-BKQHTYTH.js");
|
|
265
265
|
await writeMemoryViaDaemon({
|
|
266
266
|
raw_text: summary,
|
|
267
267
|
agent_id: agent.agentId,
|
|
@@ -332,7 +332,7 @@ ${msgs.slice(-15).join("\n")}`;
|
|
|
332
332
|
} catch {
|
|
333
333
|
}
|
|
334
334
|
if (!canCoordinate(agent.agentId, agent.agentRole)) {
|
|
335
|
-
import("../fast-db-init-
|
|
335
|
+
import("../fast-db-init-RQLJQFJG.js").then(({ fastDbInit }) => fastDbInit({ daemonOnly: true })).then(async (client) => {
|
|
336
336
|
const orScope = sessionScopeFilter();
|
|
337
337
|
return client.execute({
|
|
338
338
|
sql: `SELECT title, status FROM tasks
|
|
@@ -352,7 +352,7 @@ ${msgs.slice(-15).join("\n")}`;
|
|
|
352
352
|
});
|
|
353
353
|
}
|
|
354
354
|
if (AUTO_INGESTION_ENABLED) {
|
|
355
|
-
import("../memory-queue-client-
|
|
355
|
+
import("../memory-queue-client-BKQHTYTH.js").then(
|
|
356
356
|
({ writeMemoryViaDaemon }) => writeMemoryViaDaemon({
|
|
357
357
|
raw_text: message.slice(0, 5e3),
|
|
358
358
|
agent_id: agent.agentId,
|