@askexenow/exe-os 0.9.299 → 0.9.300
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/deploy/compose/.env.customer.example +1 -1
- package/deploy/compose/.env.example +1 -1
- package/deploy/compose/docker-compose.yml +31 -5
- package/deploy/compose/generate-env.ts +1 -1
- package/deploy/compose/observability/otel-collector-config.yaml +10 -1
- package/deploy/compose/setup.sh +1 -1
- package/dist/active-agent-56J56WW5.js +27 -0
- package/dist/active-agent-VDWK7TES.js +28 -0
- package/dist/agentic-ontology-MZ4WHFDE.js +25 -0
- package/dist/assets/com.askexe.exed.plist +6 -5
- package/dist/backfill-metadata-IHKI5GXV.js +600 -0
- package/dist/backfill-metadata-ZU3SZNBD.js +600 -0
- package/dist/behaviors-G4KWGS24.js +46 -0
- package/dist/behaviors-WO67R6C4.js +46 -0
- 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 +6 -6
- package/dist/bin/backfill-responses.js +6 -6
- package/dist/bin/backfill-vectors.js +8 -8
- package/dist/bin/bulk-sync-postgres.js +13 -7
- package/dist/bin/cc-doctor.js +5 -5
- package/dist/bin/cleanup-stale-review-tasks.js +10 -10
- package/dist/bin/cli.js +16 -16
- package/dist/bin/deferred-daemon-restart.js +1 -1
- package/dist/bin/exe-agent-config.js +2 -2
- package/dist/bin/exe-agent.js +10 -10
- package/dist/bin/exe-assign.js +8 -8
- package/dist/bin/exe-boot.js +30 -20
- package/dist/bin/exe-call.js +4 -4
- package/dist/bin/exe-cloud.js +13 -7
- package/dist/bin/exe-dispatch.js +10 -10
- package/dist/bin/exe-doctor.js +2 -2
- 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 +5 -5
- package/dist/bin/exe-heartbeat.js +10 -10
- package/dist/bin/exe-kill.js +13 -13
- package/dist/bin/exe-launch-agent.js +29 -19
- package/dist/bin/exe-new-employee.js +6 -6
- package/dist/bin/exe-pending-messages.js +11 -11
- package/dist/bin/exe-pending-notifications.js +10 -10
- package/dist/bin/exe-pending-reviews.js +10 -10
- package/dist/bin/exe-rename.js +4 -4
- package/dist/bin/exe-review.js +12 -12
- package/dist/bin/exe-search.js +5 -5
- package/dist/bin/exe-session-cleanup.js +15 -15
- package/dist/bin/exe-settings.js +13 -7
- package/dist/bin/exe-start-codex.js +11 -11
- package/dist/bin/exe-start-opencode.js +8 -8
- package/dist/bin/exe-status.js +11 -11
- package/dist/bin/exe-team.js +3 -3
- package/dist/bin/git-sweep.js +11 -11
- package/dist/bin/graph-backfill.js +6 -6
- package/dist/bin/graph-export.js +5 -5
- package/dist/bin/import-history.js +9 -9
- package/dist/bin/install-launchd.js +7 -3
- package/dist/bin/install.js +19 -15
- 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 +24 -1
- package/dist/bin/scan-tasks.js +10 -10
- package/dist/bin/setup.js +1 -1
- package/dist/bin/shard-migrate.js +4 -4
- package/dist/bin/stack-update.js +123 -3
- package/dist/bin/vps-health-gate.js +1 -1
- package/dist/capability-cards-XAQSL26B.js +89 -0
- package/dist/capacity-monitor-6MQLFFQT.js +51 -0
- package/dist/capacity-monitor-BB3LKJLE.js +51 -0
- package/dist/catchup-brief-BQSL5M5S.js +175 -0
- package/dist/catchup-brief-COALBX6L.js +175 -0
- package/dist/cc-binary-detect-B5JDCJ5J.js +19 -0
- package/dist/chunk-22LDUTY7.js +14597 -0
- package/dist/chunk-24M4AJPG.js +128 -0
- package/dist/chunk-2B7RCTPT.js +85 -0
- package/dist/chunk-2QBA6YE6.js +127 -0
- package/dist/chunk-2RGDEBZC.js +731 -0
- package/dist/chunk-32DBQWR5.js +333 -0
- package/dist/chunk-3EOPMTG2.js +128 -0
- package/dist/chunk-3NS4V4JW.js +382 -0
- package/dist/chunk-3NYY2NZ3.js +836 -0
- package/dist/chunk-3ROUD5WA.js +97 -0
- package/dist/chunk-3RY2ARDN.js +129 -0
- package/dist/chunk-3Y5IRIRU.js +290 -0
- package/dist/chunk-3ZWWUKBI.js +210 -0
- package/dist/chunk-463G3VAH.js +122 -0
- package/dist/chunk-4LC7BFI2.js +76 -0
- package/dist/chunk-4Z3FWLOE.js +836 -0
- package/dist/chunk-5BAU4T5G.js +208 -0
- package/dist/chunk-5FP7YHCG.js +1158 -0
- package/dist/chunk-5U3JZP62.js +1352 -0
- package/dist/chunk-5VNFXIGF.js +85 -0
- package/dist/chunk-6UVUJNLY.js +1186 -0
- package/dist/chunk-7KPWYWYL.js +290 -0
- package/dist/chunk-7URNGDEY.js +2145 -0
- package/dist/chunk-ADZQBZOX.js +122 -0
- package/dist/chunk-APSZAEDO.js +1186 -0
- package/dist/chunk-ASHF6VO4.js +2265 -0
- package/dist/chunk-BT2LEHIW.js +448 -0
- package/dist/chunk-BTS5QUWB.js +50 -0
- package/dist/chunk-BWJDJ3BS.js +604 -0
- package/dist/chunk-CME46VWP.js +150 -0
- package/dist/chunk-D3ICCKXY.js +54 -0
- package/dist/chunk-D3IOU3NO.js +377 -0
- package/dist/chunk-DFGXRKI2.js +221 -0
- package/dist/chunk-DO65VHQZ.js +128 -0
- package/dist/chunk-E2OMUBXQ.js +567 -0
- package/dist/chunk-ECMXIV6N.js +97 -0
- package/dist/chunk-EDMVA3PT.js +727 -0
- package/dist/chunk-F5OSXH4A.js +4388 -0
- package/dist/chunk-F5OWHPRG.js +236 -0
- package/dist/chunk-F7MZA3QP.js +199 -0
- package/dist/chunk-FRNXQSB4.js +134 -0
- package/dist/chunk-FTAASABV.js +362 -0
- package/dist/chunk-GBL5QSTM.js +197 -0
- package/dist/chunk-GRXWINOW.js +244 -0
- package/dist/chunk-GUPNVUG5.js +348 -0
- package/dist/chunk-GY66UPMX.js +167 -0
- package/dist/chunk-HCCG67BY.js +43 -0
- package/dist/chunk-HCSZZXZZ.js +197 -0
- package/dist/chunk-HNGNZU62.js +240 -0
- package/dist/chunk-HP2D5LIE.js +214 -0
- package/dist/chunk-HUABQHDC.js +1352 -0
- package/dist/chunk-HYKO2LNW.js +157 -0
- package/dist/chunk-IFL6DG2K.js +181 -0
- package/dist/chunk-IKPQRHVQ.js +304 -0
- package/dist/chunk-JCWA3X6A.js +402 -0
- package/dist/chunk-JHPK33IP.js +2162 -0
- package/dist/chunk-JWGDH5I2.js +127 -0
- package/dist/chunk-KBXQFXYM.js +567 -0
- package/dist/chunk-KGY5QIOJ.js +1350 -0
- package/dist/chunk-KLES22FB.js +1094 -0
- package/dist/chunk-KY43UELJ.js +331 -0
- package/dist/chunk-L32V4O5Z.js +58 -0
- package/dist/chunk-LC7ETNTJ.js +1350 -0
- package/dist/chunk-LEJ5FKIK.js +55 -0
- package/dist/chunk-LNLLCAI4.js +377 -0
- package/dist/chunk-LQWZYMNU.js +448 -0
- package/dist/chunk-LY3SOO73.js +76 -0
- package/dist/chunk-M6CIHXXB.js +159 -0
- package/dist/chunk-MJOQ35DX.js +427 -0
- package/dist/chunk-MO5HER5Y.js +345 -0
- package/dist/chunk-MY4TGLT6.js +284 -0
- package/dist/chunk-N3ARGCVG.js +345 -0
- package/dist/chunk-N4XG2M2U.js +735 -0
- package/dist/chunk-N72JNFJ4.js +535 -0
- package/dist/chunk-NM3AUMFE.js +2145 -0
- package/dist/chunk-NPPQ3TR4.js +735 -0
- package/dist/chunk-NTWF4DAF.js +581 -0
- package/dist/chunk-NXL3VKXM.js +331 -0
- package/dist/chunk-OMSLHEEF.js +456 -0
- package/dist/chunk-OYIP3QVN.js +167 -0
- package/dist/chunk-P2IOW54H.js +668 -0
- package/dist/chunk-P5KXQ3RN.js +731 -0
- package/dist/chunk-P5UXP53T.js +81 -0
- package/dist/chunk-PH6VRRFR.js +395 -0
- package/dist/chunk-Q3GKOF7Z.js +85 -0
- package/dist/chunk-QKBN3CY2.js +381 -0
- package/dist/chunk-QNNAVMQH.js +1094 -0
- package/dist/chunk-QODDW4YI.js +171 -0
- package/dist/chunk-QPAYPTSH.js +2162 -0
- package/dist/chunk-QRWDJ5RI.js +381 -0
- package/dist/chunk-RBFZCHVB.js +105 -0
- package/dist/chunk-RCEULTPF.js +185 -0
- package/dist/chunk-RCGHXBCX.js +630 -0
- package/dist/chunk-ROSCLRTH.js +204 -0
- package/dist/chunk-RYAOSGUW.js +227 -0
- package/dist/chunk-S2SPGHPY.js +38 -0
- package/dist/chunk-SBPEWD7Z.js +171 -0
- package/dist/chunk-SDPUWZP5.js +333 -0
- package/dist/chunk-SVLSHDNL.js +54 -0
- package/dist/chunk-SVUYBT5N.js +262 -0
- package/dist/chunk-T7PTLVJV.js +284 -0
- package/dist/chunk-TGUSLO4B.js +50 -0
- package/dist/chunk-TPJH6PE6.js +1158 -0
- package/dist/chunk-TVW7EDOJ.js +382 -0
- package/dist/chunk-TYRUIE6P.js +58 -0
- package/dist/chunk-UN5EPVBN.js +14597 -0
- package/dist/chunk-URLH7ZVR.js +70 -0
- package/dist/chunk-USYRTGR7.js +402 -0
- package/dist/chunk-V4ABCEHM.js +30 -0
- package/dist/chunk-VKCNXOQ6.js +214 -0
- package/dist/chunk-WB2B25UM.js +230 -0
- package/dist/chunk-WCUZX7F7.js +204 -0
- package/dist/chunk-WL5RMOZQ.js +362 -0
- package/dist/chunk-WPAXAOHD.js +1079 -0
- package/dist/chunk-XABJRAUW.js +3346 -0
- package/dist/chunk-YDFY6YCH.js +280 -0
- package/dist/chunk-YGUMRYCN.js +33 -0
- package/dist/chunk-YJSP5PPG.js +128 -0
- package/dist/chunk-YOMETWOJ.js +4388 -0
- package/dist/chunk-Z4FVFSE3.js +81 -0
- package/dist/chunk-Z4TLSNUW.js +244 -0
- package/dist/chunk-ZP6T5K6I.js +535 -0
- package/dist/chunk-ZR6ZJT32.js +123 -0
- package/dist/co-activation-JGF5YIDU.js +74 -0
- package/dist/co-occurrence-HLLC6GT2.js +95 -0
- package/dist/co-occurrence-W2LIAPHI.js +95 -0
- package/dist/code-context-index-FCL47WKE.js +30 -0
- package/dist/conversation-entity-extractor-WC2RU6RS.js +114 -0
- package/dist/core-memory-CRSR2PSL.js +110 -0
- package/dist/core-memory-VSKFRMEV.js +110 -0
- package/dist/crdt-sync-6VH2YDVY.js +33 -0
- package/dist/crm-webhook-RXFPZJXP.js +10 -0
- package/dist/crm-webhook-Z26LEFKG.js +10 -0
- package/dist/cto-delegation-gate-45IBLPTK.js +280 -0
- package/dist/cto-delegation-gate-SF4EUB2Q.js +280 -0
- package/dist/daemon-orchestration-VB3BLYIT.js +143 -0
- package/dist/daemon-orchestration-W66UYGUD.js +143 -0
- package/dist/db-backup-NVUTS7L5.js +43 -0
- package/dist/doc-graph-extractor-MLYQYT4B.js +133 -0
- package/dist/doc-graph-extractor-SVFSXKL6.js +133 -0
- package/dist/dreaming-AZYRAGKA.js +34 -0
- package/dist/dreaming-WG5CDUHX.js +34 -0
- package/dist/entity-boost-XAFCDDB6.js +375 -0
- package/dist/exe-drift-3SGA53CL.js +70 -0
- package/dist/exe-export-APUNLKWF.js +77 -0
- package/dist/exe-export-NM4SXB3P.js +77 -0
- package/dist/exe-import-6GLNCP62.js +80 -0
- package/dist/exe-import-U4H4ES3Z.js +80 -0
- package/dist/exe-key-FIPXUTMF.js +673 -0
- package/dist/exe-key-WTLCMOYJ.js +673 -0
- package/dist/exe-snapshot-ILO3WSEC.js +338 -0
- package/dist/exe-snapshot-IODRQLBX.js +338 -0
- package/dist/fast-db-init-7LYYUCSJ.js +7 -0
- package/dist/fast-db-init-IU7GYFWB.js +7 -0
- package/dist/gateway/index.js +11 -11
- package/dist/git-staleness-GGCFPHQ5.js +112 -0
- package/dist/git-task-sweep-M3SWXFKJ.js +42 -0
- package/dist/git-task-sweep-Y6KNWB67.js +42 -0
- package/dist/global-procedures-626WAU3I.js +22 -0
- package/dist/graph-auto-extract-TKHQ4OR3.js +183 -0
- package/dist/graph-auto-extract-VGFEWFZX.js +183 -0
- package/dist/graph-rag-KECA5TE4.js +35 -0
- package/dist/hooks/bug-report-worker.js +12 -12
- package/dist/hooks/codex-stop-task-finalizer.js +12 -12
- package/dist/hooks/commit-complete.js +12 -12
- package/dist/hooks/error-recall.js +6 -6
- package/dist/hooks/exe-heartbeat-hook.js +3 -3
- package/dist/hooks/ingest-worker.js +3 -3
- 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 +11 -11
- package/dist/hooks/post-tool-combined.js +6 -6
- package/dist/hooks/pre-compact.js +15 -15
- package/dist/hooks/pre-tool-use.js +15 -15
- package/dist/hooks/prompt-submit.js +23 -23
- package/dist/hooks/session-end.js +20 -20
- package/dist/hooks/session-start.js +12 -12
- package/dist/hooks/stop.js +18 -18
- package/dist/hooks/subagent-stop.js +11 -11
- package/dist/hooks/summary-worker.js +18 -18
- package/dist/index.js +20 -20
- package/dist/installer-3FB5EMPB.js +40 -0
- package/dist/installer-BRQ42CPB.js +344 -0
- package/dist/installer-PXZJG256.js +298 -0
- package/dist/lib/cloud-sync.js +13 -7
- package/dist/lib/consolidation.js +7 -7
- package/dist/lib/database.js +6 -4
- package/dist/lib/db-daemon-client.js +11 -202
- package/dist/lib/db.js +6 -4
- package/dist/lib/embedder.js +3 -3
- package/dist/lib/employee-templates.js +4 -4
- package/dist/lib/employees.js +2 -2
- package/dist/lib/exe-daemon-client.js +2 -2
- package/dist/lib/exe-daemon.js +53 -51
- package/dist/lib/hybrid-search.js +5 -5
- package/dist/lib/identity.js +2 -2
- package/dist/lib/messaging.js +10 -10
- 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 +11 -11
- package/dist/lib/tmux-routing.js +9 -9
- package/dist/lib/token-spend.js +3 -3
- package/dist/mcp/register-tools.js +65 -63
- package/dist/mcp/server.js +66 -64
- 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 +13 -13
- 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 +13 -13
- package/dist/mcp/tools/send-message.js +12 -12
- package/dist/mcp/tools/update-task.js +12 -12
- package/dist/mcp-http-config-OF3MB7M5.js +31 -0
- package/dist/memory-cards-CPIZVXWI.js +180 -0
- package/dist/memory-graph-extractor-JIYWLBFF.js +22 -0
- package/dist/memory-graph-extractor-MDPSLZDM.js +22 -0
- package/dist/memory-poisoning-defense-5UZT3WWA.js +224 -0
- package/dist/memory-queue-client-WKWRFERJ.js +16 -0
- package/dist/memory-reflection-TA2VQYPH.js +244 -0
- package/dist/message-queue-client-IFQQ2HI7.js +92 -0
- package/dist/notifications-CZBQ3H5T.js +47 -0
- package/dist/notifications-EIIL2EQV.js +47 -0
- package/dist/orchestration-events-VUYR6MXE.js +27 -0
- package/dist/orchestrator-MAMR4C37.js +35 -0
- package/dist/orchestrator-VE5WHEJH.js +35 -0
- package/dist/pipeline-router-DKXD6DJO.js +15 -0
- package/dist/pipeline-router-YNW63BY5.js +15 -0
- package/dist/plan-limits-ZM4MNZKY.js +28 -0
- package/dist/project-boot-E2TWYTAC.js +299 -0
- package/dist/projection-worker-WFPRM4AI.js +1084 -0
- package/dist/projection-worker-YKV3PFCV.js +1084 -0
- package/dist/prospective-memory-OAFZUODU.js +232 -0
- package/dist/reranker-AFU75HEX.js +19 -0
- package/dist/reranker-RYNSJNDF.js +19 -0
- package/dist/retrieval-health-RSQEIYIB.js +12 -0
- package/dist/review-polling-LGX7DUNT.js +126 -0
- package/dist/review-polling-MJBCYV4I.js +126 -0
- package/dist/runtime/index.js +16 -16
- package/dist/services/codex-reviewd/index.js +855 -0
- package/dist/session-events-5N47BRFK.js +38 -0
- package/dist/session-events-PT6SVS2P.js +38 -0
- package/dist/session-kill-telemetry-HKL2NQMR.js +31 -0
- package/dist/session-scope-GQNCM6UQ.js +88 -0
- package/dist/session-scope-MMGM232A.js +88 -0
- package/dist/setup-wizard-SELXXVLD.js +12 -0
- package/dist/setup-wizard-X7YSRDNQ.js +12 -0
- package/dist/skill-refinement-CCP4ULZ3.js +159 -0
- package/dist/skill-refinement-WCPDNHZ5.js +159 -0
- package/dist/stack-update-5VSGG36W.js +84 -0
- package/dist/steward-gate-PIXNK4BK.js +15 -0
- package/dist/task-enforcement-LEBWCYZT.js +506 -0
- package/dist/task-enforcement-VOSQRAQB.js +506 -0
- package/dist/task-scope-CQZ33PRU.js +37 -0
- package/dist/task-scope-JTTEZKDU.js +37 -0
- package/dist/tasks-crud-DC4GCXQQ.js +79 -0
- package/dist/tasks-crud-T32IRPXF.js +79 -0
- package/dist/tasks-notify-OBFVHJDP.js +40 -0
- package/dist/tasks-notify-OUQWUM6W.js +40 -0
- package/dist/tasks-review-N33MTHWJ.js +49 -0
- package/dist/tasks-review-OSBG2YN2.js +49 -0
- package/dist/telemetry-upload-EYHEWTKG.js +741 -0
- package/dist/telemetry-upload-XLBW4DRP.js +741 -0
- package/dist/token-budget-I6FMMDFX.js +86 -0
- package/dist/tool-capability-index-IWQBQKM7.js +10 -0
- package/dist/tool-telemetry-2E3Z7CRV.js +17 -0
- package/dist/tui/App.js +17 -17
- package/dist/tui-data-VWT4Q5UT.js +260 -0
- package/dist/tui-data-XFBFBSBE.js +260 -0
- package/dist/wiki-acl-EUOPNUIQ.js +111 -0
- package/dist/worker-gate-OQMKAMP7.js +21 -0
- package/dist/worker-gate-ZPP3SZK6.js +21 -0
- package/dist/workflow-engine-P7WYJP2B.js +28 -0
- package/dist/workflow-engine-UYNB5RTB.js +28 -0
- package/dist/worktree-H5C4LMQR.js +28 -0
- package/dist/worktree-sweep-KFWF3XZD.js +21 -0
- package/package.json +1 -1
- package/release-notes.json +30 -104
- package/src/commands/exe.md +18 -1
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
hybridSearch,
|
|
3
3
|
lightweightSearch
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-5U3JZP62.js";
|
|
5
5
|
import "../chunk-AB4PAQYK.js";
|
|
6
6
|
import {
|
|
7
7
|
initStore
|
|
8
|
-
} from "../chunk-
|
|
8
|
+
} from "../chunk-3NYY2NZ3.js";
|
|
9
9
|
import "../chunk-CHCA3ZM2.js";
|
|
10
10
|
import "../chunk-OTVEIJUQ.js";
|
|
11
|
-
import "../chunk-
|
|
11
|
+
import "../chunk-3ZWWUKBI.js";
|
|
12
12
|
import {
|
|
13
13
|
isCacheCold
|
|
14
14
|
} from "../chunk-6A7P74QV.js";
|
|
@@ -16,23 +16,23 @@ import "../chunk-YSU7JB7H.js";
|
|
|
16
16
|
import "../chunk-SH45SJQW.js";
|
|
17
17
|
import {
|
|
18
18
|
getActiveAgent
|
|
19
|
-
} from "../chunk-
|
|
19
|
+
} from "../chunk-RCEULTPF.js";
|
|
20
20
|
import "../chunk-Y25OJWOQ.js";
|
|
21
21
|
import {
|
|
22
22
|
formatIntercomPrompt,
|
|
23
23
|
isExeSession
|
|
24
|
-
} from "../chunk-
|
|
25
|
-
import "../chunk-
|
|
26
|
-
import "../chunk-4JERP7NT.js";
|
|
24
|
+
} from "../chunk-F5OSXH4A.js";
|
|
25
|
+
import "../chunk-YDFY6YCH.js";
|
|
27
26
|
import "../chunk-4FVVJ7ME.js";
|
|
28
|
-
import "../chunk-
|
|
27
|
+
import "../chunk-4JERP7NT.js";
|
|
28
|
+
import "../chunk-IKPQRHVQ.js";
|
|
29
29
|
import "../chunk-KOO3J5PV.js";
|
|
30
30
|
import "../chunk-22TVSRQQ.js";
|
|
31
31
|
import "../chunk-SSTLTIF3.js";
|
|
32
|
-
import "../chunk-
|
|
32
|
+
import "../chunk-RCGHXBCX.js";
|
|
33
33
|
import "../chunk-QRTJNSKU.js";
|
|
34
34
|
import "../chunk-NGP6LSV2.js";
|
|
35
|
-
import "../chunk-
|
|
35
|
+
import "../chunk-3RY2ARDN.js";
|
|
36
36
|
import {
|
|
37
37
|
getSessionKey
|
|
38
38
|
} from "../chunk-CVYC6DUW.js";
|
|
@@ -44,13 +44,13 @@ import "../chunk-MP2AFCGL.js";
|
|
|
44
44
|
import {
|
|
45
45
|
resolveHookSearchEnabled
|
|
46
46
|
} from "../chunk-WR6ANODF.js";
|
|
47
|
-
import "../chunk-
|
|
47
|
+
import "../chunk-URLH7ZVR.js";
|
|
48
48
|
import "../chunk-HYZV25LY.js";
|
|
49
49
|
import {
|
|
50
50
|
canCoordinate
|
|
51
|
-
} from "../chunk-
|
|
51
|
+
} from "../chunk-XABJRAUW.js";
|
|
52
52
|
import "../chunk-2I23RPSI.js";
|
|
53
|
-
import "../chunk-
|
|
53
|
+
import "../chunk-PH6VRRFR.js";
|
|
54
54
|
import "../chunk-PNQDP3OA.js";
|
|
55
55
|
import "../chunk-7HLWBYH7.js";
|
|
56
56
|
import "../chunk-FXU7JOXK.js";
|
|
@@ -336,7 +336,7 @@ ${fresh.map(
|
|
|
336
336
|
atomicWriteSync(counterPath, String(count));
|
|
337
337
|
const BEHAVIOR_REINJECT_INTERVAL = 50;
|
|
338
338
|
if (count === 1 || count % BEHAVIOR_REINJECT_INTERVAL === 0) {
|
|
339
|
-
const { listBehaviors } = await import("../behaviors-
|
|
339
|
+
const { listBehaviors } = await import("../behaviors-G4KWGS24.js");
|
|
340
340
|
const behaviors = await listBehaviors(agent.agentId);
|
|
341
341
|
const active = behaviors.filter((b) => b.active !== 0).sort((a, b) => (a.priority === "p0" ? -1 : 1) - (b.priority === "p0" ? -1 : 1)).slice(0, 15);
|
|
342
342
|
if (active.length > 0) {
|
|
@@ -376,7 +376,7 @@ ${parts.join("\n\n")}`;
|
|
|
376
376
|
if (!lastCheckedAt) {
|
|
377
377
|
lastCheckedAt = "1970-01-01T00:00:00.000Z";
|
|
378
378
|
}
|
|
379
|
-
const { listBehaviorsSince } = await import("../behaviors-
|
|
379
|
+
const { listBehaviorsSince } = await import("../behaviors-G4KWGS24.js");
|
|
380
380
|
const newBehaviors = await listBehaviorsSince(agent.agentId, lastCheckedAt);
|
|
381
381
|
if (newBehaviors.length > 0) {
|
|
382
382
|
const newReflex = newBehaviors.filter((b) => b.domain === "reflex");
|
|
@@ -444,7 +444,7 @@ ${body}`;
|
|
|
444
444
|
let reviewContext = "";
|
|
445
445
|
if (canCoordinate(agent.agentId, agent.agentRole)) {
|
|
446
446
|
try {
|
|
447
|
-
const { countPendingReviews, countNewPendingReviewsSince } = await import("../tasks-review-
|
|
447
|
+
const { countPendingReviews, countNewPendingReviewsSince } = await import("../tasks-review-N33MTHWJ.js");
|
|
448
448
|
const sessionKey = getSessionKey();
|
|
449
449
|
const lastCheckPath = path.join(CACHE_DIR, `review-lastcheck-${sessionKey}.json`);
|
|
450
450
|
let sessionScope;
|
|
@@ -501,7 +501,7 @@ IMPORTANT: After completing your current task, you MUST address the pending revi
|
|
|
501
501
|
let coreMemoryContext = "";
|
|
502
502
|
if (!IS_CODEX_RUNTIME && agent.agentId !== "default") {
|
|
503
503
|
try {
|
|
504
|
-
const { getCoreMemory, formatCoreMemoryBlock } = await import("../core-memory-
|
|
504
|
+
const { getCoreMemory, formatCoreMemoryBlock } = await import("../core-memory-VSKFRMEV.js");
|
|
505
505
|
const entries = await getCoreMemory(agent.agentId);
|
|
506
506
|
const block = formatCoreMemoryBlock(entries);
|
|
507
507
|
if (block) coreMemoryContext = block;
|
|
@@ -574,7 +574,7 @@ IMPORTANT: After completing your current task, you MUST address the new task abo
|
|
|
574
574
|
} catch {
|
|
575
575
|
}
|
|
576
576
|
try {
|
|
577
|
-
const { recordOrchestrationEventBestEffort: recordOE } = await import("../orchestration-events-
|
|
577
|
+
const { recordOrchestrationEventBestEffort: recordOE } = await import("../orchestration-events-VUYR6MXE.js");
|
|
578
578
|
recordOE({
|
|
579
579
|
eventType: "signal.consumed",
|
|
580
580
|
source: "prompt-submit.hook",
|
|
@@ -643,7 +643,7 @@ IMPORTANT: After completing your current task, you MUST address the new task abo
|
|
|
643
643
|
let idleTaskContext = "";
|
|
644
644
|
if (!taskSignalContext && agent.agentId !== "default" && !IS_CODEX_RUNTIME) {
|
|
645
645
|
try {
|
|
646
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
646
|
+
const { fastDbInit } = await import("../fast-db-init-IU7GYFWB.js");
|
|
647
647
|
const client = await fastDbInit();
|
|
648
648
|
let taskSessionScope = null;
|
|
649
649
|
if (inTmux) {
|
|
@@ -712,7 +712,7 @@ IMPORTANT: After completing your current task, you MUST address the new task abo
|
|
|
712
712
|
}
|
|
713
713
|
if (hints.length === 0) {
|
|
714
714
|
try {
|
|
715
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
715
|
+
const { fastDbInit } = await import("../fast-db-init-IU7GYFWB.js");
|
|
716
716
|
const client = await fastDbInit();
|
|
717
717
|
const reminderResult = await client.execute({
|
|
718
718
|
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')`,
|
|
@@ -787,8 +787,8 @@ async function writePromptMemory(prompt, sessionId, agent) {
|
|
|
787
787
|
return;
|
|
788
788
|
}
|
|
789
789
|
try {
|
|
790
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
791
|
-
const { recordSessionEvent } = await import("../session-events-
|
|
790
|
+
const { fastDbInit } = await import("../fast-db-init-IU7GYFWB.js");
|
|
791
|
+
const { recordSessionEvent } = await import("../session-events-PT6SVS2P.js");
|
|
792
792
|
const client = await fastDbInit();
|
|
793
793
|
await recordSessionEvent(client, {
|
|
794
794
|
agentId: agent.agentId,
|
|
@@ -803,7 +803,7 @@ async function writePromptMemory(prompt, sessionId, agent) {
|
|
|
803
803
|
}
|
|
804
804
|
if (!loadConfigSync().autoIngestion) return;
|
|
805
805
|
try {
|
|
806
|
-
const { writeMemoryViaDaemon } = await import("../memory-queue-client-
|
|
806
|
+
const { writeMemoryViaDaemon } = await import("../memory-queue-client-WKWRFERJ.js");
|
|
807
807
|
const trimmed = prompt.trim();
|
|
808
808
|
const isSlashCommand = trimmed.startsWith("/");
|
|
809
809
|
const isDirective = /\b(from now on|never|always|rule:|decision:|policy:)\b/i.test(trimmed);
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
writeContinuityCheckpoint
|
|
3
|
-
} from "../chunk-
|
|
4
|
-
import "../chunk-
|
|
3
|
+
} from "../chunk-SBPEWD7Z.js";
|
|
4
|
+
import "../chunk-LEJ5FKIK.js";
|
|
5
5
|
import "../chunk-MEWGYH6Z.js";
|
|
6
|
-
import "../chunk-
|
|
6
|
+
import "../chunk-NTWF4DAF.js";
|
|
7
7
|
import "../chunk-QOZQ2MYZ.js";
|
|
8
8
|
import {
|
|
9
9
|
clearCacheState
|
|
@@ -13,36 +13,36 @@ import "../chunk-SH45SJQW.js";
|
|
|
13
13
|
import {
|
|
14
14
|
clearActiveAgent,
|
|
15
15
|
getActiveAgent
|
|
16
|
-
} from "../chunk-
|
|
16
|
+
} from "../chunk-RCEULTPF.js";
|
|
17
17
|
import {
|
|
18
18
|
strictSessionScopeFilter
|
|
19
|
-
} from "../chunk-
|
|
20
|
-
import "../chunk-
|
|
21
|
-
import "../chunk-4JERP7NT.js";
|
|
19
|
+
} from "../chunk-F5OSXH4A.js";
|
|
20
|
+
import "../chunk-YDFY6YCH.js";
|
|
22
21
|
import "../chunk-4FVVJ7ME.js";
|
|
23
|
-
import "../chunk-
|
|
22
|
+
import "../chunk-4JERP7NT.js";
|
|
23
|
+
import "../chunk-IKPQRHVQ.js";
|
|
24
24
|
import "../chunk-KOO3J5PV.js";
|
|
25
25
|
import "../chunk-22TVSRQQ.js";
|
|
26
26
|
import "../chunk-SSTLTIF3.js";
|
|
27
|
-
import "../chunk-
|
|
27
|
+
import "../chunk-RCGHXBCX.js";
|
|
28
28
|
import "../chunk-QRTJNSKU.js";
|
|
29
29
|
import "../chunk-NGP6LSV2.js";
|
|
30
|
-
import "../chunk-
|
|
30
|
+
import "../chunk-3RY2ARDN.js";
|
|
31
31
|
import {
|
|
32
32
|
getSessionKey
|
|
33
33
|
} from "../chunk-CVYC6DUW.js";
|
|
34
34
|
import "../chunk-OPU3NYOO.js";
|
|
35
35
|
import "../chunk-GJV3WDWM.js";
|
|
36
36
|
import "../chunk-MP2AFCGL.js";
|
|
37
|
-
import "../chunk-
|
|
37
|
+
import "../chunk-HCCG67BY.js";
|
|
38
38
|
import "../chunk-7L2EV3XX.js";
|
|
39
|
-
import "../chunk-
|
|
39
|
+
import "../chunk-URLH7ZVR.js";
|
|
40
40
|
import "../chunk-HYZV25LY.js";
|
|
41
41
|
import {
|
|
42
42
|
canCoordinate
|
|
43
|
-
} from "../chunk-
|
|
43
|
+
} from "../chunk-XABJRAUW.js";
|
|
44
44
|
import "../chunk-2I23RPSI.js";
|
|
45
|
-
import "../chunk-
|
|
45
|
+
import "../chunk-PH6VRRFR.js";
|
|
46
46
|
import "../chunk-PNQDP3OA.js";
|
|
47
47
|
import "../chunk-7HLWBYH7.js";
|
|
48
48
|
import "../chunk-FXU7JOXK.js";
|
|
@@ -242,7 +242,7 @@ process.stdin.on("end", async () => {
|
|
|
242
242
|
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"}
|
|
243
243
|
`);
|
|
244
244
|
try {
|
|
245
|
-
const { recordOrchestrationEvent } = await import("../orchestration-events-
|
|
245
|
+
const { recordOrchestrationEvent } = await import("../orchestration-events-VUYR6MXE.js");
|
|
246
246
|
await recordOrchestrationEvent({
|
|
247
247
|
eventType: "session.exit",
|
|
248
248
|
source: "hooks.session-end",
|
|
@@ -267,7 +267,7 @@ process.stdin.on("end", async () => {
|
|
|
267
267
|
}
|
|
268
268
|
if (agent.agentId) {
|
|
269
269
|
try {
|
|
270
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
270
|
+
const { fastDbInit } = await import("../fast-db-init-IU7GYFWB.js");
|
|
271
271
|
const client = await fastDbInit();
|
|
272
272
|
const seScope = strictSessionScopeFilter();
|
|
273
273
|
const orphanResult = await client.execute({
|
|
@@ -343,7 +343,7 @@ Orphaned tasks at session end: ${orphanResult.rows.map((r) => `"${String(r.title
|
|
|
343
343
|
});
|
|
344
344
|
if (conversationSummary.length > 100) {
|
|
345
345
|
try {
|
|
346
|
-
const { writeMemoryViaDaemon } = await import("../memory-queue-client-
|
|
346
|
+
const { writeMemoryViaDaemon } = await import("../memory-queue-client-WKWRFERJ.js");
|
|
347
347
|
await writeMemoryViaDaemon({
|
|
348
348
|
raw_text: conversationSummary.slice(0, 8e3),
|
|
349
349
|
agent_id: agent.agentId,
|
|
@@ -359,12 +359,12 @@ Orphaned tasks at session end: ${orphanResult.rows.map((r) => `"${String(r.title
|
|
|
359
359
|
}
|
|
360
360
|
}
|
|
361
361
|
try {
|
|
362
|
-
const { clearSessionFileReads } = await import("../git-staleness-
|
|
362
|
+
const { clearSessionFileReads } = await import("../git-staleness-GGCFPHQ5.js");
|
|
363
363
|
await clearSessionFileReads(data.session_id);
|
|
364
364
|
} catch {
|
|
365
365
|
}
|
|
366
366
|
try {
|
|
367
|
-
const { DreamingEngine } = await import("../dreaming-
|
|
367
|
+
const { DreamingEngine } = await import("../dreaming-WG5CDUHX.js");
|
|
368
368
|
const engine = new DreamingEngine();
|
|
369
369
|
const dreamResult = await engine.runDreamCycle(agent.agentId);
|
|
370
370
|
let promoted = 0;
|
|
@@ -440,7 +440,7 @@ Orphaned tasks at session end: ${orphanResult.rows.map((r) => `"${String(r.title
|
|
|
440
440
|
parts.push(`Left in_progress (no matching commits, needs triage): ${leftInProgress.join(", ")}`);
|
|
441
441
|
}
|
|
442
442
|
try {
|
|
443
|
-
const { writeNotification } = await import("../notifications-
|
|
443
|
+
const { writeNotification } = await import("../notifications-EIIL2EQV.js");
|
|
444
444
|
await writeNotification({
|
|
445
445
|
agentId: agent.agentId,
|
|
446
446
|
agentRole: agent.agentRole,
|
|
@@ -34,9 +34,9 @@ process.stdin.on("data", (chunk) => {
|
|
|
34
34
|
});
|
|
35
35
|
process.stdin.on("end", async () => {
|
|
36
36
|
try {
|
|
37
|
-
const { getActiveAgent } = await import("../active-agent-
|
|
37
|
+
const { getActiveAgent } = await import("../active-agent-VDWK7TES.js");
|
|
38
38
|
const { getProjectName } = await import("../project-name-EWG5KAZP.js");
|
|
39
|
-
const { getCurrentSessionScope } = await import("../task-scope-
|
|
39
|
+
const { getCurrentSessionScope } = await import("../task-scope-JTTEZKDU.js");
|
|
40
40
|
const { canCoordinate, loadEmployeesSync } = await import("../lib/employees.js");
|
|
41
41
|
const data = JSON.parse(input);
|
|
42
42
|
const projectName = getProjectName(data.cwd || void 0);
|
|
@@ -66,7 +66,7 @@ process.stdin.on("end", async () => {
|
|
|
66
66
|
daemonDegraded = true;
|
|
67
67
|
process.stderr.write("[session-start] WARNING: daemon/DB unavailable \u2014 booting in degraded mode (no memory context)\n");
|
|
68
68
|
try {
|
|
69
|
-
const { recordOrchestrationEvent } = await import("../orchestration-events-
|
|
69
|
+
const { recordOrchestrationEvent } = await import("../orchestration-events-VUYR6MXE.js");
|
|
70
70
|
void recordOrchestrationEvent({
|
|
71
71
|
eventType: "mcp.unreachable",
|
|
72
72
|
source: "session-start.hook",
|
|
@@ -89,12 +89,12 @@ process.stdin.on("end", async () => {
|
|
|
89
89
|
}
|
|
90
90
|
if (!daemonDegraded) {
|
|
91
91
|
try {
|
|
92
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
92
|
+
const { fastDbInit } = await import("../fast-db-init-IU7GYFWB.js");
|
|
93
93
|
await fastDbInit();
|
|
94
94
|
} catch {
|
|
95
95
|
try {
|
|
96
96
|
await new Promise((resolve) => setTimeout(resolve, 750));
|
|
97
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
97
|
+
const { fastDbInit } = await import("../fast-db-init-IU7GYFWB.js");
|
|
98
98
|
await fastDbInit();
|
|
99
99
|
} catch {
|
|
100
100
|
daemonDegraded = true;
|
|
@@ -139,7 +139,7 @@ process.stdin.on("end", async () => {
|
|
|
139
139
|
});
|
|
140
140
|
}
|
|
141
141
|
try {
|
|
142
|
-
const { recordOrchestrationEvent } = await import("../orchestration-events-
|
|
142
|
+
const { recordOrchestrationEvent } = await import("../orchestration-events-VUYR6MXE.js");
|
|
143
143
|
void recordOrchestrationEvent({
|
|
144
144
|
eventType: "session.born",
|
|
145
145
|
source: "session-start.hook",
|
|
@@ -156,7 +156,7 @@ process.stdin.on("end", async () => {
|
|
|
156
156
|
if (daemonDegraded) {
|
|
157
157
|
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";
|
|
158
158
|
try {
|
|
159
|
-
const { getActiveAgent: getAgent } = await import("../active-agent-
|
|
159
|
+
const { getActiveAgent: getAgent } = await import("../active-agent-VDWK7TES.js");
|
|
160
160
|
const ag = getAgent();
|
|
161
161
|
if (ag.agentId !== "default") {
|
|
162
162
|
degradedContext = `## Your Identity
|
|
@@ -180,7 +180,7 @@ You are **${ag.agentId}**. The daemon was degraded at boot \u2014 memory context
|
|
|
180
180
|
query = `last actions on ${projectName}`;
|
|
181
181
|
header = "## Resuming Session\nHere's where you left off:";
|
|
182
182
|
try {
|
|
183
|
-
const { buildCatchupBrief } = await import("../catchup-brief-
|
|
183
|
+
const { buildCatchupBrief } = await import("../catchup-brief-COALBX6L.js");
|
|
184
184
|
const brief = await buildCatchupBrief(
|
|
185
185
|
agentId,
|
|
186
186
|
projectName,
|
|
@@ -192,7 +192,7 @@ You are **${ag.agentId}**. The daemon was degraded at boot \u2014 memory context
|
|
|
192
192
|
} catch {
|
|
193
193
|
}
|
|
194
194
|
try {
|
|
195
|
-
const { detectStaleFiles } = await import("../git-staleness-
|
|
195
|
+
const { detectStaleFiles } = await import("../git-staleness-GGCFPHQ5.js");
|
|
196
196
|
const staleFiles = await detectStaleFiles(agentId, data.cwd || process.cwd());
|
|
197
197
|
if (staleFiles.length > 0) {
|
|
198
198
|
extraContext += `${extraContext.length > 0 ? "\n\n" : ""}## \u26A0\uFE0F Stale File Warning
|
|
@@ -205,7 +205,7 @@ The following files have been modified since you last read them:
|
|
|
205
205
|
query = `recent work on ${projectName}`;
|
|
206
206
|
header = "## Memory Brief\nRecent memories from this project:";
|
|
207
207
|
}
|
|
208
|
-
const { queryTaskRows } = await import("../tasks-crud-
|
|
208
|
+
const { queryTaskRows } = await import("../tasks-crud-T32IRPXF.js");
|
|
209
209
|
const [memories, taskResult] = await Promise.all([
|
|
210
210
|
lightweightSearch(query, agentId, { projectName, limit: 5 }),
|
|
211
211
|
queryTaskRows({
|
|
@@ -300,7 +300,7 @@ ${wmContent}
|
|
|
300
300
|
`;
|
|
301
301
|
if (agentId !== "default" && !daemonDegraded) {
|
|
302
302
|
try {
|
|
303
|
-
const { readLatestCheckpoint } = await import("../tasks-crud-
|
|
303
|
+
const { readLatestCheckpoint } = await import("../tasks-crud-T32IRPXF.js");
|
|
304
304
|
const checkpoint = await readLatestCheckpoint(agentId);
|
|
305
305
|
if (checkpoint) {
|
|
306
306
|
const filesTouched = checkpoint.files_touched?.length > 0 ? checkpoint.files_touched.join(", ") : "none recorded";
|
|
@@ -378,7 +378,7 @@ ${phase.label}. Focus: ${phase.focus}. This is guidance, not a blocker; the user
|
|
|
378
378
|
}
|
|
379
379
|
if (source !== "resume" && agentId !== "default") {
|
|
380
380
|
try {
|
|
381
|
-
const { getPendingProspective, markSurfaced } = await import("../prospective-memory-
|
|
381
|
+
const { getPendingProspective, markSurfaced } = await import("../prospective-memory-OAFZUODU.js");
|
|
382
382
|
const due = await getPendingProspective(agentId, { projectName, limit: 5 });
|
|
383
383
|
if (due.length > 0) {
|
|
384
384
|
const now = Date.now();
|
package/dist/hooks/stop.js
CHANGED
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import "../chunk-SH45SJQW.js";
|
|
2
2
|
import {
|
|
3
3
|
getActiveAgent
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-RCEULTPF.js";
|
|
5
5
|
import {
|
|
6
6
|
sessionScopeFilter
|
|
7
|
-
} from "../chunk-
|
|
8
|
-
import "../chunk-
|
|
9
|
-
import "../chunk-4JERP7NT.js";
|
|
7
|
+
} from "../chunk-F5OSXH4A.js";
|
|
8
|
+
import "../chunk-YDFY6YCH.js";
|
|
10
9
|
import "../chunk-4FVVJ7ME.js";
|
|
11
|
-
import "../chunk-
|
|
10
|
+
import "../chunk-4JERP7NT.js";
|
|
11
|
+
import "../chunk-IKPQRHVQ.js";
|
|
12
12
|
import "../chunk-KOO3J5PV.js";
|
|
13
13
|
import "../chunk-22TVSRQQ.js";
|
|
14
14
|
import "../chunk-SSTLTIF3.js";
|
|
15
|
-
import "../chunk-
|
|
15
|
+
import "../chunk-RCGHXBCX.js";
|
|
16
16
|
import "../chunk-QRTJNSKU.js";
|
|
17
17
|
import "../chunk-NGP6LSV2.js";
|
|
18
|
-
import "../chunk-
|
|
18
|
+
import "../chunk-3RY2ARDN.js";
|
|
19
19
|
import "../chunk-CVYC6DUW.js";
|
|
20
20
|
import "../chunk-OPU3NYOO.js";
|
|
21
21
|
import "../chunk-GJV3WDWM.js";
|
|
22
22
|
import "../chunk-MP2AFCGL.js";
|
|
23
|
-
import "../chunk-
|
|
23
|
+
import "../chunk-URLH7ZVR.js";
|
|
24
24
|
import "../chunk-HYZV25LY.js";
|
|
25
25
|
import {
|
|
26
26
|
canCoordinate
|
|
27
|
-
} from "../chunk-
|
|
27
|
+
} from "../chunk-XABJRAUW.js";
|
|
28
28
|
import "../chunk-2I23RPSI.js";
|
|
29
|
-
import "../chunk-
|
|
29
|
+
import "../chunk-PH6VRRFR.js";
|
|
30
30
|
import "../chunk-PNQDP3OA.js";
|
|
31
31
|
import "../chunk-7HLWBYH7.js";
|
|
32
32
|
import "../chunk-FXU7JOXK.js";
|
|
@@ -127,8 +127,8 @@ process.stdin.on("end", async () => {
|
|
|
127
127
|
process.exit(0);
|
|
128
128
|
}
|
|
129
129
|
try {
|
|
130
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
131
|
-
const { recordSessionEvent } = await import("../session-events-
|
|
130
|
+
const { fastDbInit } = await import("../fast-db-init-IU7GYFWB.js");
|
|
131
|
+
const { recordSessionEvent } = await import("../session-events-PT6SVS2P.js");
|
|
132
132
|
const client = await fastDbInit();
|
|
133
133
|
await recordSessionEvent(client, {
|
|
134
134
|
agentId: agent.agentId,
|
|
@@ -146,7 +146,7 @@ process.stdin.on("end", async () => {
|
|
|
146
146
|
if (existsSync(taskCachePath)) {
|
|
147
147
|
const cached = JSON.parse(readFileSync(taskCachePath, "utf8"));
|
|
148
148
|
if (cached.taskId) {
|
|
149
|
-
const { createTokenBudgetMiddleware } = await import("../token-budget-
|
|
149
|
+
const { createTokenBudgetMiddleware } = await import("../token-budget-I6FMMDFX.js");
|
|
150
150
|
const middleware = createTokenBudgetMiddleware(cached.taskId);
|
|
151
151
|
const estimatedOutputTokens = Math.ceil(message.length / 4);
|
|
152
152
|
const result = await middleware.onTokenUsed(0, estimatedOutputTokens);
|
|
@@ -164,7 +164,7 @@ process.stdin.on("end", async () => {
|
|
|
164
164
|
}
|
|
165
165
|
const CAPACITY_SIGNALS = /context[- ]?full|hit capacity|conversation is too long|maximum context length|context window.*(?:limit|exceed|full)/i;
|
|
166
166
|
if (!canCoordinate(agent.agentId, agent.agentRole) && CAPACITY_SIGNALS.test(message)) {
|
|
167
|
-
import("../fast-db-init-
|
|
167
|
+
import("../fast-db-init-IU7GYFWB.js").then(({ fastDbInit }) => fastDbInit()).then(async (client) => {
|
|
168
168
|
const stScope = sessionScopeFilter();
|
|
169
169
|
const tasks = await client.execute({
|
|
170
170
|
sql: `SELECT title, status, task_file FROM tasks
|
|
@@ -182,7 +182,7 @@ process.stdin.on("end", async () => {
|
|
|
182
182
|
"",
|
|
183
183
|
`Last response fragment: ${message.slice(0, 500)}`
|
|
184
184
|
].join("\n");
|
|
185
|
-
const { writeMemoryViaDaemon } = await import("../memory-queue-client-
|
|
185
|
+
const { writeMemoryViaDaemon } = await import("../memory-queue-client-WKWRFERJ.js");
|
|
186
186
|
await writeMemoryViaDaemon({
|
|
187
187
|
raw_text: checkpoint,
|
|
188
188
|
agent_id: agent.agentId,
|
|
@@ -235,7 +235,7 @@ Session: ${data.session_id}
|
|
|
235
235
|
|
|
236
236
|
## Recent Thread
|
|
237
237
|
${msgs.slice(-15).join("\n")}`;
|
|
238
|
-
const { writeMemoryViaDaemon } = await import("../memory-queue-client-
|
|
238
|
+
const { writeMemoryViaDaemon } = await import("../memory-queue-client-WKWRFERJ.js");
|
|
239
239
|
await writeMemoryViaDaemon({
|
|
240
240
|
raw_text: summary,
|
|
241
241
|
agent_id: agent.agentId,
|
|
@@ -310,7 +310,7 @@ ${msgs.slice(-15).join("\n")}`;
|
|
|
310
310
|
} catch {
|
|
311
311
|
}
|
|
312
312
|
if (!canCoordinate(agent.agentId, agent.agentRole)) {
|
|
313
|
-
import("../fast-db-init-
|
|
313
|
+
import("../fast-db-init-IU7GYFWB.js").then(({ fastDbInit }) => fastDbInit()).then(async (client) => {
|
|
314
314
|
const orScope = sessionScopeFilter();
|
|
315
315
|
return client.execute({
|
|
316
316
|
sql: `SELECT title, status FROM tasks
|
|
@@ -330,7 +330,7 @@ ${msgs.slice(-15).join("\n")}`;
|
|
|
330
330
|
});
|
|
331
331
|
}
|
|
332
332
|
if (AUTO_INGESTION_ENABLED) {
|
|
333
|
-
import("../memory-queue-client-
|
|
333
|
+
import("../memory-queue-client-WKWRFERJ.js").then(
|
|
334
334
|
({ writeMemoryViaDaemon }) => writeMemoryViaDaemon({
|
|
335
335
|
raw_text: message.slice(0, 5e3),
|
|
336
336
|
agent_id: agent.agentId,
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import "../chunk-SH45SJQW.js";
|
|
2
2
|
import {
|
|
3
3
|
getActiveAgent
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-RCEULTPF.js";
|
|
5
5
|
import {
|
|
6
6
|
sessionScopeFilter
|
|
7
|
-
} from "../chunk-
|
|
8
|
-
import "../chunk-
|
|
9
|
-
import "../chunk-4JERP7NT.js";
|
|
7
|
+
} from "../chunk-F5OSXH4A.js";
|
|
8
|
+
import "../chunk-YDFY6YCH.js";
|
|
10
9
|
import "../chunk-4FVVJ7ME.js";
|
|
11
|
-
import "../chunk-
|
|
10
|
+
import "../chunk-4JERP7NT.js";
|
|
11
|
+
import "../chunk-IKPQRHVQ.js";
|
|
12
12
|
import "../chunk-KOO3J5PV.js";
|
|
13
13
|
import "../chunk-22TVSRQQ.js";
|
|
14
14
|
import "../chunk-SSTLTIF3.js";
|
|
15
|
-
import "../chunk-
|
|
15
|
+
import "../chunk-RCGHXBCX.js";
|
|
16
16
|
import "../chunk-QRTJNSKU.js";
|
|
17
17
|
import "../chunk-NGP6LSV2.js";
|
|
18
|
-
import "../chunk-
|
|
18
|
+
import "../chunk-3RY2ARDN.js";
|
|
19
19
|
import "../chunk-CVYC6DUW.js";
|
|
20
20
|
import "../chunk-OPU3NYOO.js";
|
|
21
21
|
import "../chunk-GJV3WDWM.js";
|
|
22
22
|
import "../chunk-MP2AFCGL.js";
|
|
23
|
-
import "../chunk-
|
|
23
|
+
import "../chunk-URLH7ZVR.js";
|
|
24
24
|
import "../chunk-HYZV25LY.js";
|
|
25
25
|
import {
|
|
26
26
|
canCoordinate
|
|
27
|
-
} from "../chunk-
|
|
27
|
+
} from "../chunk-XABJRAUW.js";
|
|
28
28
|
import "../chunk-2I23RPSI.js";
|
|
29
|
-
import "../chunk-
|
|
29
|
+
import "../chunk-PH6VRRFR.js";
|
|
30
30
|
import "../chunk-PNQDP3OA.js";
|
|
31
31
|
import "../chunk-7HLWBYH7.js";
|
|
32
32
|
import "../chunk-FXU7JOXK.js";
|
|
@@ -99,7 +99,7 @@ process.stdin.on("end", async () => {
|
|
|
99
99
|
if (isSidechainTranscript(payload.transcript_path)) {
|
|
100
100
|
process.exit(0);
|
|
101
101
|
}
|
|
102
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
102
|
+
const { fastDbInit } = await import("../fast-db-init-IU7GYFWB.js");
|
|
103
103
|
const client = await fastDbInit();
|
|
104
104
|
const saScope = sessionScopeFilter();
|
|
105
105
|
const pendingResult = await client.execute({
|
|
@@ -1,48 +1,48 @@
|
|
|
1
1
|
import {
|
|
2
2
|
writeContinuityCheckpoint
|
|
3
|
-
} from "../chunk-
|
|
4
|
-
import "../chunk-
|
|
3
|
+
} from "../chunk-SBPEWD7Z.js";
|
|
4
|
+
import "../chunk-LEJ5FKIK.js";
|
|
5
5
|
import "../chunk-MEWGYH6Z.js";
|
|
6
|
-
import "../chunk-
|
|
6
|
+
import "../chunk-NTWF4DAF.js";
|
|
7
7
|
import "../chunk-QOZQ2MYZ.js";
|
|
8
8
|
import {
|
|
9
9
|
initStore,
|
|
10
10
|
vectorToBlob
|
|
11
|
-
} from "../chunk-
|
|
11
|
+
} from "../chunk-3NYY2NZ3.js";
|
|
12
12
|
import "../chunk-CHCA3ZM2.js";
|
|
13
13
|
import "../chunk-OTVEIJUQ.js";
|
|
14
|
-
import "../chunk-
|
|
14
|
+
import "../chunk-3ZWWUKBI.js";
|
|
15
15
|
import "../chunk-Y25OJWOQ.js";
|
|
16
16
|
import {
|
|
17
17
|
getCurrentSessionScope,
|
|
18
18
|
sessionScopeFilter,
|
|
19
19
|
writeNotification
|
|
20
|
-
} from "../chunk-
|
|
21
|
-
import "../chunk-
|
|
22
|
-
import "../chunk-4JERP7NT.js";
|
|
20
|
+
} from "../chunk-F5OSXH4A.js";
|
|
21
|
+
import "../chunk-YDFY6YCH.js";
|
|
23
22
|
import "../chunk-4FVVJ7ME.js";
|
|
24
|
-
import "../chunk-
|
|
23
|
+
import "../chunk-4JERP7NT.js";
|
|
24
|
+
import "../chunk-IKPQRHVQ.js";
|
|
25
25
|
import "../chunk-KOO3J5PV.js";
|
|
26
26
|
import "../chunk-22TVSRQQ.js";
|
|
27
27
|
import "../chunk-SSTLTIF3.js";
|
|
28
|
-
import "../chunk-
|
|
28
|
+
import "../chunk-RCGHXBCX.js";
|
|
29
29
|
import "../chunk-QRTJNSKU.js";
|
|
30
30
|
import "../chunk-NGP6LSV2.js";
|
|
31
|
-
import "../chunk-
|
|
31
|
+
import "../chunk-3RY2ARDN.js";
|
|
32
32
|
import "../chunk-CVYC6DUW.js";
|
|
33
33
|
import "../chunk-OPU3NYOO.js";
|
|
34
34
|
import "../chunk-GJV3WDWM.js";
|
|
35
35
|
import "../chunk-MP2AFCGL.js";
|
|
36
|
-
import "../chunk-
|
|
36
|
+
import "../chunk-HCCG67BY.js";
|
|
37
37
|
import "../chunk-7L2EV3XX.js";
|
|
38
|
-
import "../chunk-
|
|
38
|
+
import "../chunk-URLH7ZVR.js";
|
|
39
39
|
import "../chunk-HYZV25LY.js";
|
|
40
40
|
import {
|
|
41
41
|
canCoordinate,
|
|
42
42
|
getClient
|
|
43
|
-
} from "../chunk-
|
|
43
|
+
} from "../chunk-XABJRAUW.js";
|
|
44
44
|
import "../chunk-2I23RPSI.js";
|
|
45
|
-
import "../chunk-
|
|
45
|
+
import "../chunk-PH6VRRFR.js";
|
|
46
46
|
import "../chunk-PNQDP3OA.js";
|
|
47
47
|
import "../chunk-7HLWBYH7.js";
|
|
48
48
|
import "../chunk-FXU7JOXK.js";
|
|
@@ -119,7 +119,7 @@ async function main() {
|
|
|
119
119
|
let summaryText = "";
|
|
120
120
|
let limitReached = false;
|
|
121
121
|
try {
|
|
122
|
-
const { assertMemoryLimit } = await import("../plan-limits-
|
|
122
|
+
const { assertMemoryLimit } = await import("../plan-limits-ZM4MNZKY.js");
|
|
123
123
|
await assertMemoryLimit();
|
|
124
124
|
} catch (err) {
|
|
125
125
|
const msg = err instanceof Error ? err.message : String(err);
|
|
@@ -192,7 +192,7 @@ async function main() {
|
|
|
192
192
|
const { EXE_AI_DIR } = await import("../lib/config.js");
|
|
193
193
|
const flagPath = path.join(EXE_AI_DIR, "session-cache", "needs-backfill");
|
|
194
194
|
if (existsSync(flagPath)) {
|
|
195
|
-
const { tryAcquireWorkerSlot, registerWorkerPid } = await import("../worker-gate-
|
|
195
|
+
const { tryAcquireWorkerSlot, registerWorkerPid } = await import("../worker-gate-OQMKAMP7.js");
|
|
196
196
|
if (!tryAcquireWorkerSlot()) {
|
|
197
197
|
process.stderr.write("[summary-worker] Backfill needed but worker gate full \u2014 skipping\n");
|
|
198
198
|
} else {
|
|
@@ -300,7 +300,7 @@ main().catch((err) => {
|
|
|
300
300
|
process.stderr.write("[summary-worker] FATAL: " + (err instanceof Error ? err.message : String(err)) + "\n");
|
|
301
301
|
}).finally(async () => {
|
|
302
302
|
try {
|
|
303
|
-
const { cleanupWorkerPid } = await import("../worker-gate-
|
|
303
|
+
const { cleanupWorkerPid } = await import("../worker-gate-OQMKAMP7.js");
|
|
304
304
|
cleanupWorkerPid();
|
|
305
305
|
} catch {
|
|
306
306
|
}
|