@askexenow/exe-os 0.9.239 → 0.9.244
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 +12 -0
- package/deploy/compose/.env.example +13 -1
- package/deploy/compose/cloudflared/config.yml.example +29 -5
- package/deploy/compose/docker-compose.yml +27 -7
- package/deploy/compose/generate-env.ts +49 -1
- package/deploy/compose/init-db.sql +10 -2
- package/deploy/stack-manifests/v0.9.json +113 -9
- package/dist/{active-agent-7MIVNARP.js → active-agent-KO4ZWDXE.js} +4 -4
- package/dist/{active-agent-55C5Y3XL.js → active-agent-KP2O52HA.js} +4 -4
- package/dist/{agentic-ontology-NCAQIQQI.js → agentic-ontology-DXE5J6I5.js} +1 -1
- package/dist/{backfill-metadata-3JP7EZ2U.js → backfill-metadata-DFTIGPXP.js} +7 -7
- package/dist/{background-jobs-RWL46VRD.js → background-jobs-CRXY7T4Y.js} +2 -2
- package/dist/{behaviors-6BGALYGW.js → behaviors-BL3QCHBT.js} +4 -4
- package/dist/bin/age-ontology-load.js +2 -2
- package/dist/bin/agentic-ontology-backfill.js +9 -9
- package/dist/bin/agentic-reflection-backfill.js +10 -10
- package/dist/bin/agentic-semantic-label.js +9 -9
- package/dist/bin/backfill-conversations.js +9 -9
- package/dist/bin/backfill-responses.js +9 -9
- package/dist/bin/backfill-vectors.js +11 -11
- package/dist/bin/bulk-sync-postgres.js +10 -10
- package/dist/bin/cc-doctor.js +3 -3
- package/dist/bin/cleanup-stale-review-tasks.js +13 -13
- package/dist/bin/cli.js +27 -22
- package/dist/bin/exe-agent-config.js +4 -4
- package/dist/bin/exe-agent.js +8 -8
- package/dist/bin/exe-assign.js +11 -11
- package/dist/bin/exe-boot.js +22 -22
- package/dist/bin/exe-call.js +5 -5
- package/dist/bin/exe-cloud.js +8 -8
- package/dist/bin/exe-dispatch.js +13 -13
- package/dist/bin/exe-doctor.js +1 -1
- package/dist/bin/exe-export-behaviors.js +10 -10
- package/dist/bin/exe-forget.js +9 -9
- package/dist/bin/exe-gateway.js +8 -8
- package/dist/bin/exe-healthcheck.js +3 -3
- package/dist/bin/exe-heartbeat.js +13 -13
- package/dist/bin/exe-kill.js +18 -18
- package/dist/bin/exe-launch-agent.js +22 -22
- package/dist/bin/exe-new-employee.js +8 -8
- package/dist/bin/exe-pending-messages.js +14 -14
- package/dist/bin/exe-pending-notifications.js +13 -13
- package/dist/bin/exe-pending-reviews.js +13 -13
- package/dist/bin/exe-rename.js +5 -5
- package/dist/bin/exe-review.js +17 -17
- package/dist/bin/exe-search.js +8 -8
- package/dist/bin/exe-session-cleanup.js +20 -20
- package/dist/bin/exe-settings.js +7 -7
- package/dist/bin/exe-start-codex.js +14 -14
- package/dist/bin/exe-start-opencode.js +11 -11
- package/dist/bin/exe-status.js +14 -14
- package/dist/bin/exe-support.js +3 -3
- package/dist/bin/exe-team.js +4 -4
- package/dist/bin/git-sweep.js +13 -13
- package/dist/bin/graph-backfill.js +8 -8
- package/dist/bin/graph-export.js +8 -8
- package/dist/bin/import-history.js +10 -10
- package/dist/bin/install.js +7 -7
- package/dist/bin/intercom-check.js +4 -4
- package/dist/bin/mcp-sessions.js +2 -2
- package/dist/bin/orchestration-metrics.js +5 -5
- package/dist/bin/postgres-agentic-reflection-backfill.js +4 -4
- package/dist/bin/postgres-agentic-semantic-backfill.js +3 -3
- package/dist/bin/registry-proxy.js +1 -1
- package/dist/bin/scan-tasks.js +13 -13
- package/dist/bin/setup.js +3 -3
- package/dist/bin/shard-migrate.js +8 -8
- package/dist/bin/stack-update.js +348 -20
- package/dist/bin/verify-stack.js +3 -383
- package/dist/bin/vps-backup.js +8 -160
- package/dist/bin/vps-health-gate.js +10 -220
- package/dist/{branding-I7YYX4FM.js → branding-XWMO5EDR.js} +1 -1
- package/dist/{capacity-monitor-IFCZKRPG.js → capacity-monitor-4CSBC7AP.js} +14 -14
- package/dist/{catchup-brief-PIDRWXOW.js → catchup-brief-LF5Z6Q6E.js} +17 -17
- package/dist/{chunk-FGJUGDNM.js → chunk-222SI7QC.js} +14 -14
- package/dist/{chunk-JZMVLAZ2.js → chunk-2WBBVEIB.js} +1 -1
- package/dist/{chunk-JDOE33C2.js → chunk-3V53HH5T.js} +4 -4
- package/dist/{chunk-2KZSKURT.js → chunk-57SULZJ2.js} +3 -3
- package/dist/{chunk-QI4IXJN7.js → chunk-5CHYEKMH.js} +7 -4
- package/dist/chunk-5DMAMQNU.js +168 -0
- package/dist/{chunk-PLQAFB3Z.js → chunk-5JIG2FP2.js} +1 -1
- package/dist/{chunk-UWQ3XCDG.js → chunk-5WK7X5CF.js} +2 -2
- package/dist/{chunk-DDPAQ4LT.js → chunk-6JAGJN77.js} +2 -2
- package/dist/{chunk-7F37NMKB.js → chunk-73UE2PHT.js} +1 -1
- package/dist/{chunk-JL3K5OTS.js → chunk-7IZWLMTP.js} +1 -1
- package/dist/{chunk-ELRRL2NC.js → chunk-A4K2ZT6N.js} +4 -4
- package/dist/{chunk-GWYADLIW.js → chunk-AHXEU5XB.js} +1 -1
- package/dist/{chunk-WSHMBME6.js → chunk-AWRL5FGM.js} +19 -78
- package/dist/{chunk-OMPCFLWA.js → chunk-BSPOEYAO.js} +1 -1
- package/dist/{chunk-F4TCKCKK.js → chunk-BYCNUKII.js} +47 -12
- package/dist/{chunk-DHVC4RN7.js → chunk-CBDPEJOR.js} +5 -5
- package/dist/{chunk-2H55BIV2.js → chunk-CEJO7244.js} +2 -2
- package/dist/{chunk-FKWZVO2T.js → chunk-CPXGLSIL.js} +3 -3
- package/dist/{chunk-HX5G4AS4.js → chunk-CWITU7DW.js} +2 -2
- package/dist/{chunk-5GG7MTRJ.js → chunk-DGBGIXCC.js} +4 -4
- package/dist/{chunk-IQXPMK46.js → chunk-DLZYAYVM.js} +60 -14
- package/dist/{chunk-PPYWQV2M.js → chunk-DR5BGWFR.js} +2 -2
- package/dist/{chunk-BZWKTFEB.js → chunk-ENVRFBTB.js} +2 -2
- package/dist/{chunk-DUVO2PUJ.js → chunk-F3GM6OOP.js} +4 -4
- package/dist/{chunk-HNLPLLE6.js → chunk-F7JLZXHC.js} +60 -26
- package/dist/{chunk-AL4DRC5H.js → chunk-FFLILAG6.js} +1 -1
- package/dist/{chunk-BZNI4OK5.js → chunk-GHEWRYMY.js} +18 -2
- package/dist/{chunk-C7SFJO5F.js → chunk-GHT4REOS.js} +5 -5
- package/dist/{chunk-FBWUJEXS.js → chunk-HANG6NLF.js} +4 -6
- package/dist/{chunk-5NJ4A4ZA.js → chunk-HCBMPZDT.js} +1 -1
- package/dist/chunk-HOGTZLVU.js +244 -0
- package/dist/{chunk-IQSCZDBQ.js → chunk-I5PIBL56.js} +3 -3
- package/dist/chunk-IRHNV4GY.js +388 -0
- package/dist/{chunk-4HROS3GJ.js → chunk-IZVKWBIP.js} +1 -1
- package/dist/{chunk-DKI5BTBC.js → chunk-J7V7LPPX.js} +2 -2
- package/dist/{chunk-TOZ5NN5V.js → chunk-JLKUVK5J.js} +1 -1
- package/dist/{chunk-4SC65UBG.js → chunk-JLNXKG3K.js} +1 -1
- package/dist/{chunk-KVSQOG3W.js → chunk-K2BDE2B5.js} +4 -4
- package/dist/{chunk-KDJRFJDL.js → chunk-K333WOW4.js} +30 -2
- package/dist/{chunk-6LBCUA2A.js → chunk-KEZXW3RP.js} +1 -1
- package/dist/{chunk-W7G3GY4I.js → chunk-KLQI7QY4.js} +3 -3
- package/dist/{chunk-UODVZGBQ.js → chunk-KN7LPTIB.js} +1 -1
- package/dist/{chunk-ESKBZN4Q.js → chunk-L4WRH3DL.js} +1 -1
- package/dist/{chunk-VFQKKMKE.js → chunk-LAOB5BKV.js} +2 -2
- package/dist/{chunk-MAN5LZQ4.js → chunk-LQSFP2BV.js} +1 -1
- package/dist/{chunk-EJ7LOTV2.js → chunk-LSFHEMVI.js} +9 -9
- package/dist/{chunk-RA2RO27E.js → chunk-MCESA5UW.js} +2 -2
- package/dist/{chunk-UPMHG7ET.js → chunk-MEIHREPM.js} +1 -1
- package/dist/{chunk-D5C56WO3.js → chunk-MOZ2YQ54.js} +1 -1
- package/dist/{chunk-CLGB3FGL.js → chunk-MPX3TRMQ.js} +2 -2
- package/dist/{chunk-5R75ODPS.js → chunk-NBY6R37W.js} +61 -232
- package/dist/{chunk-RWFGXC35.js → chunk-NEYQAEYU.js} +7 -7
- package/dist/{chunk-MBHZDXGN.js → chunk-NL35XNLI.js} +1 -1
- package/dist/{chunk-TPQVLYSV.js → chunk-NLGMHPEN.js} +1 -1
- package/dist/{chunk-5LMH4YHG.js → chunk-NRVV4Y5V.js} +4 -4
- package/dist/{chunk-GN5VHPPR.js → chunk-NVZR7T4E.js} +1 -1
- package/dist/{chunk-Y2L7RMGH.js → chunk-NWBHL5PI.js} +1 -1
- package/dist/{chunk-YPYDLW75.js → chunk-OEMX65EA.js} +1 -1
- package/dist/{chunk-UAFUGPKO.js → chunk-ONAQAL3O.js} +1 -1
- package/dist/{chunk-AVM7XZE4.js → chunk-OWQ3CCYJ.js} +7 -6
- package/dist/{chunk-K525WLL7.js → chunk-PI6V23GF.js} +5 -4
- package/dist/{chunk-AURM7FOT.js → chunk-Q2OAQPWY.js} +1 -1
- package/dist/{chunk-FB5VRO5S.js → chunk-QLDWASTX.js} +28 -32
- package/dist/{chunk-EPWDTS2Q.js → chunk-QMTGMCWB.js} +1 -1
- package/dist/{chunk-VI2FJY2M.js → chunk-QP4FHME2.js} +2 -2
- package/dist/{chunk-NJWK6J4N.js → chunk-QUNKPR6Y.js} +5 -5
- package/dist/{chunk-O6DAF2TY.js → chunk-QUZVAHO7.js} +2 -2
- package/dist/{chunk-VHKL4S4T.js → chunk-RRHSONV5.js} +2 -2
- package/dist/{chunk-GPF6X6HE.js → chunk-RYDHEWYY.js} +2 -2
- package/dist/{chunk-SVXDCELZ.js → chunk-SHN5O73O.js} +32 -4
- package/dist/chunk-TD5CADZ5.js +230 -0
- package/dist/{chunk-C2YS2AA6.js → chunk-U7WOVXBB.js} +2 -2
- package/dist/{chunk-FE45RXGC.js → chunk-V2GZMY6O.js} +1 -1
- package/dist/{chunk-PATCHPNY.js → chunk-VHALWCUO.js} +1 -1
- package/dist/{chunk-HLZSC5WK.js → chunk-VQAP35DA.js} +20 -18
- package/dist/{chunk-452XB7OZ.js → chunk-VRIMTCX2.js} +1 -1
- package/dist/{chunk-SUNYJ6YE.js → chunk-VT2B5BHM.js} +1 -1
- package/dist/{chunk-UZIJDYDA.js → chunk-VWVJVQDH.js} +2 -2
- package/dist/{chunk-TRZ5KA2R.js → chunk-VXIMSRTO.js} +2 -2
- package/dist/{chunk-DAZIV4QZ.js → chunk-WCXZF42W.js} +1 -1
- package/dist/{chunk-6OJJF4WP.js → chunk-XJUUWHVN.js} +1 -1
- package/dist/{chunk-F7LU65PQ.js → chunk-Y25OJWOQ.js} +14 -2
- package/dist/{chunk-2ORPA23Y.js → chunk-YMXXD2GW.js} +36 -8
- package/dist/{chunk-5WLMF6PL.js → chunk-YMZHTTOQ.js} +1 -1
- package/dist/{chunk-7DIDOQCX.js → chunk-YRVW57UW.js} +139 -125
- package/dist/{chunk-BRFH5X7G.js → chunk-Z7VDUS6L.js} +1 -1
- package/dist/{chunk-YFE6W75D.js → chunk-ZKFPHJIJ.js} +1 -1
- package/dist/{chunk-5WUTKDH6.js → chunk-ZVXJSQOR.js} +1 -1
- package/dist/{co-activation-VB4CJQZB.js → co-activation-L6I2LSJO.js} +3 -3
- package/dist/{co-occurrence-XZQJJIBM.js → co-occurrence-QARWYUAY.js} +3 -3
- package/dist/{code-context-index-FCQOPUEA.js → code-context-index-UIYQRDHD.js} +4 -4
- package/dist/{content-extractor-SPSH5X33.js → content-extractor-EYRVGD6O.js} +2 -2
- package/dist/{conversation-wiki-populator-YU35LNRK.js → conversation-wiki-populator-L7O6F3BB.js} +1 -1
- package/dist/{crdt-sync-KXETGV45.js → crdt-sync-R6YROKDH.js} +1 -1
- package/dist/{crm-webhook-JMOAHTJ6.js → crm-webhook-WK3PYJJK.js} +2 -2
- package/dist/{cto-delegation-gate-IJ3KQIKF.js → cto-delegation-gate-5JZORQIT.js} +12 -12
- package/dist/{daemon-auth-2IZACWSG.js → daemon-auth-2HEOL6VG.js} +2 -2
- package/dist/{daemon-orchestration-ZCY4GEI3.js → daemon-orchestration-BJ3T5MMF.js} +16 -15
- package/dist/{db-backup-HLX5OLIV.js → db-backup-EWS52P2W.js} +2 -2
- package/dist/{dreaming-2CJML3TU.js → dreaming-BOSBDRI3.js} +13 -13
- package/dist/{entity-boost-T5IYWWDZ.js → entity-boost-6ZVX7DFB.js} +26 -2
- package/dist/{exe-drift-P5OIRNSH.js → exe-drift-WRE6RADZ.js} +4 -4
- package/dist/{exe-export-QQL2H322.js → exe-export-7N5PBCMK.js} +8 -8
- package/dist/{exe-import-V4RJCUEP.js → exe-import-YOOE7S3H.js} +8 -8
- package/dist/{exe-key-MENJGDD7.js → exe-key-GXJSTCX2.js} +4 -4
- package/dist/{exe-org-3FNET2J7.js → exe-org-42YMQL75.js} +2 -2
- package/dist/{exe-snapshot-YRARQE7F.js → exe-snapshot-ODUCFW7G.js} +18 -18
- package/dist/{fast-db-init-HIJWWKAO.js → fast-db-init-YSR7RMVZ.js} +1 -1
- package/dist/{founder-context-BQ5NBDUV.js → founder-context-Q2HUCZX4.js} +2 -2
- package/dist/gateway/index.js +9 -9
- package/dist/{gateway-client-YGSA5QMC.js → gateway-client-4QXHKN5C.js} +1 -1
- package/dist/{git-staleness-IHTKCUMN.js → git-staleness-BJDTCDPC.js} +3 -3
- package/dist/{git-task-sweep-5ZPNQS7Y.js → git-task-sweep-L3U3T5HM.js} +13 -13
- package/dist/{global-procedures-XHDIZRJU.js → global-procedures-HCHEHKY2.js} +4 -4
- package/dist/{graph-auto-extract-5TPT67GP.js → graph-auto-extract-FP5C76LS.js} +3 -3
- package/dist/{hook-integrity-SB53Y7UK.js → hook-integrity-2OU3T6UC.js} +1 -1
- package/dist/hooks/bug-report-worker.js +15 -14
- package/dist/hooks/codex-stop-task-finalizer.js +15 -14
- package/dist/hooks/commit-complete.js +16 -16
- package/dist/hooks/error-recall.js +10 -10
- package/dist/hooks/exe-heartbeat-hook.js +5 -5
- package/dist/hooks/ingest-worker.js +8 -8
- package/dist/hooks/ingest.js +13 -13
- package/dist/hooks/instructions-loaded.js +7 -7
- package/dist/hooks/manifest.json +20 -20
- package/dist/hooks/notification.js +6 -6
- package/dist/hooks/post-compact.js +15 -15
- package/dist/hooks/post-tool-combined.js +7 -7
- package/dist/hooks/pre-compact.js +20 -20
- package/dist/hooks/pre-tool-use.js +28 -25
- package/dist/hooks/prompt-submit.js +62 -31
- package/dist/hooks/session-end.js +26 -26
- package/dist/hooks/session-start.js +39 -15
- package/dist/hooks/stop.js +22 -22
- package/dist/hooks/subagent-stop.js +15 -15
- package/dist/hooks/summary-worker.js +32 -27
- package/dist/index.js +21 -21
- package/dist/{installer-AMZM4MLS.js → installer-AWMUCRN4.js} +7 -7
- package/dist/{installer-KT5FW4CN.js → installer-HB3NH6FG.js} +9 -9
- package/dist/{installer-HW74W3IT.js → installer-RU6EVOBL.js} +6 -6
- package/dist/{intercom-queue-RNM6EPGA.js → intercom-queue-A6UJEFIF.js} +1 -1
- package/dist/{key-backup-status-OZ2CXUDW.js → key-backup-status-4YKCV4ZV.js} +1 -1
- package/dist/lib/agent-config.js +2 -2
- package/dist/lib/cloud-sync.js +10 -8
- package/dist/lib/config.js +1 -1
- package/dist/lib/consolidation.js +8 -8
- package/dist/lib/database.js +3 -3
- package/dist/lib/db-daemon-client.js +3 -3
- package/dist/lib/db.js +3 -3
- package/dist/lib/device-registry.js +1 -1
- package/dist/lib/embedder.js +4 -4
- package/dist/lib/employee-templates.js +5 -5
- package/dist/lib/employees.js +3 -3
- package/dist/lib/exe-daemon-client.js +3 -3
- package/dist/lib/exe-daemon.js +105 -74
- package/dist/lib/hybrid-search.js +8 -8
- package/dist/lib/identity.js +3 -3
- package/dist/lib/keychain.js +1 -1
- package/dist/lib/license.js +2 -2
- package/dist/lib/messaging.js +13 -13
- package/dist/lib/post-tool-memory.js +3 -3
- package/dist/lib/registry-proxy.js +1 -1
- package/dist/lib/reminders.js +4 -4
- package/dist/lib/schedules.js +8 -8
- package/dist/lib/session-registry.js +5 -5
- package/dist/lib/skill-learning.js +5 -5
- package/dist/lib/store.js +7 -7
- package/dist/lib/task-router.js +4 -4
- package/dist/lib/tasks.js +14 -13
- package/dist/lib/tmux-routing.js +12 -12
- package/dist/lib/token-spend.js +4 -4
- package/dist/lib/ws-client.js +1 -1
- package/dist/{license-gate-XJDIL6OZ.js → license-gate-6JQQFBHS.js} +3 -3
- package/dist/mcp/register-tools.js +68 -67
- package/dist/mcp/server.js +70 -69
- package/dist/mcp/tools/complete-reminder.js +5 -5
- package/dist/mcp/tools/create-reminder.js +5 -5
- package/dist/mcp/tools/create-task.js +16 -15
- package/dist/mcp/tools/deactivate-behavior.js +6 -6
- package/dist/mcp/tools/list-reminders.js +5 -5
- package/dist/mcp/tools/list-tasks.js +16 -15
- package/dist/mcp/tools/send-message.js +15 -15
- package/dist/mcp/tools/update-task.js +15 -14
- package/dist/{mcp-http-config-BXX3RZPR.js → mcp-http-config-XIJR5P2Z.js} +4 -4
- package/dist/{memory-cards-KRTP5GFM.js → memory-cards-H4BJJ5OK.js} +3 -3
- package/dist/{memory-graph-extractor-G532PUHC.js → memory-graph-extractor-SDGM3GVR.js} +4 -4
- package/dist/{memory-poisoning-defense-HJM3FQA3.js → memory-poisoning-defense-UVU67DGJ.js} +3 -3
- package/dist/{memory-queue-FTNBWLS4.js → memory-queue-FNT5WHXP.js} +2 -2
- package/dist/{memory-queue-client-DHSHEIHQ.js → memory-queue-client-JZCFYTWQ.js} +5 -5
- package/dist/{memory-reflection-RANRFUQL.js → memory-reflection-GGB5K35L.js} +3 -3
- package/dist/{notifications-4P2PVEOT.js → notifications-P3XQZDTH.js} +12 -12
- package/dist/{orchestration-events-IYTASMSN.js → orchestration-events-25WEKUKH.js} +4 -4
- package/dist/{orchestration-phase-SGA7PJ5G.js → orchestration-phase-C26XVKLZ.js} +2 -2
- package/dist/{orchestrator-VKVHZ4MV.js → orchestrator-VIXTY4E4.js} +14 -14
- package/dist/{pipeline-router-E4L5BDXN.js → pipeline-router-S5PE5U6B.js} +4 -4
- package/dist/{plan-limits-5O5QG55H.js → plan-limits-DGIVM42H.js} +5 -5
- package/dist/{prediction-log-OMWHW7FL.js → prediction-log-DOEOHDHS.js} +1 -1
- package/dist/{project-boot-WMI6CWRX.js → project-boot-4ZL2W7DN.js} +12 -2
- package/dist/{projection-worker-54KRNQSO.js → projection-worker-GG2W5OM3.js} +3 -3
- package/dist/{push-notifications-E2XXEWJZ.js → push-notifications-AMHVR6DF.js} +2 -2
- package/dist/{reranker-4NTUFNYT.js → reranker-UCPLQZE2.js} +2 -2
- package/dist/{review-polling-BFRJDLUA.js → review-polling-P2MWEXLR.js} +13 -13
- package/dist/runtime/index.js +15 -15
- package/dist/{session-events-KCZCWGE4.js → session-events-5CD66R6U.js} +13 -13
- package/dist/{session-kill-telemetry-TMNIDYWY.js → session-kill-telemetry-7FBHTEDN.js} +4 -4
- package/dist/{session-scope-DRZBQ32Y.js → session-scope-VMIPAZU7.js} +12 -12
- package/dist/{setup-wizard-TQKGDAHO.js → setup-wizard-BNR47URR.js} +3 -3
- package/dist/{shard-manager-G6MHCO7X.js → shard-manager-VGA2TYHM.js} +2 -2
- package/dist/{skill-refinement-Z5SWD3AM.js → skill-refinement-NRG4WWRW.js} +3 -3
- package/dist/stack-release-PFZI22WC.js +521 -0
- package/dist/{stack-update-NO5MNARG.js → stack-update-7F2E2MBJ.js} +3 -3
- package/dist/{steward-gate-7DWYS5AT.js → steward-gate-L7DJMF4C.js} +4 -4
- package/dist/{task-enforcement-2VL5J6JJ.js → task-enforcement-XQL77PZH.js} +52 -12
- package/dist/{task-scope-YHALISIB.js → task-scope-R3XKBIHL.js} +12 -12
- package/dist/{tasks-crud-JXZEBZFR.js → tasks-crud-DQOG2NPG.js} +12 -12
- package/dist/tasks-notify-4EQYG52H.js +37 -0
- package/dist/{tasks-review-PGPYJQF5.js → tasks-review-XPFJ4DSJ.js} +12 -12
- package/dist/{telemetry-upload-H7OJNBIF.js → telemetry-upload-OT5B5HUY.js} +7 -7
- package/dist/{token-budget-JJ7JQIA2.js → token-budget-D2LQKCAV.js} +3 -3
- package/dist/{tool-capability-index-WIV4K3FB.js → tool-capability-index-FAJ5ZHDF.js} +1 -1
- package/dist/{tool-telemetry-W4LFCHFT.js → tool-telemetry-QIF5BCLF.js} +1 -1
- package/dist/tui/App.js +26 -26
- package/dist/{tui-data-72U6N2DC.js → tui-data-UEV2QOR3.js} +108 -12
- package/dist/{whatsapp-config-W63RQ3AU.js → whatsapp-config-GOSELKTE.js} +7 -0
- package/dist/{worker-gate-SCSN6IHI.js → worker-gate-PRCKA23W.js} +2 -2
- package/dist/{workflow-engine-OICYBE4F.js → workflow-engine-7X6LLH3M.js} +2 -2
- package/dist/{worktree-JXN4RCWC.js → worktree-RICSCT2S.js} +5 -5
- package/package.json +1 -1
- package/release-notes.json +210 -298
- package/stack.release.json +4 -3
- package/dist/preflight-EAH2MI76.js +0 -287
- /package/dist/{chunk-H42LEGLB.js → chunk-AQBEG33D.js} +0 -0
- /package/dist/{chunk-AU5426YP.js → chunk-B7JGEDVE.js} +0 -0
- /package/dist/{chunk-YFDDTHNM.js → chunk-JXI4XUTV.js} +0 -0
- /package/dist/{chunk-SNYDRHV3.js → chunk-U3DUFHOT.js} +0 -0
- /package/dist/{chunk-N2XUH2HQ.js → chunk-VBPC7IC7.js} +0 -0
- /package/dist/{chunk-HTUJBTBM.js → chunk-VUS6WXQ3.js} +0 -0
- /package/dist/{chunk-NOLIN2YI.js → chunk-XAYRZHLV.js} +0 -0
- /package/dist/{core-memory-VOBGGB2Q.js → core-memory-4KAIKQRQ.js} +0 -0
- /package/dist/{message-queue-client-KAJN6TIJ.js → message-queue-client-S6W5VMJV.js} +0 -0
- /package/dist/{oauth-server-QEXRSXEP.js → oauth-server-2ESBZB7F.js} +0 -0
- /package/dist/{webhook-pipe-LY4XEDL7.js → webhook-pipe-ZRUVOG5H.js} +0 -0
- /package/dist/{wiki-acl-M3OR547L.js → wiki-acl-MFLSS6DE.js} +0 -0
- /package/dist/{wiki-client-MAFYBXCQ.js → wiki-client-GBPR45BQ.js} +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
loadConfigSync
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-VXIMSRTO.js";
|
|
4
4
|
import "../chunk-LYH5HE24.js";
|
|
5
5
|
import "../chunk-MLKGABMK.js";
|
|
6
6
|
|
|
@@ -10,7 +10,7 @@ import { unlinkSync, existsSync, readFileSync } from "fs";
|
|
|
10
10
|
process.on("uncaughtException", () => process.exit(0));
|
|
11
11
|
process.on("unhandledRejection", () => process.exit(0));
|
|
12
12
|
try {
|
|
13
|
-
const { verifyOrBlock } = await import("../hook-integrity-
|
|
13
|
+
const { verifyOrBlock } = await import("../hook-integrity-2OU3T6UC.js");
|
|
14
14
|
if (!await verifyOrBlock(new URL(import.meta.url).pathname)) process.exit(2);
|
|
15
15
|
} catch {
|
|
16
16
|
}
|
|
@@ -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-KO4ZWDXE.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-R3XKBIHL.js");
|
|
40
40
|
const { canCoordinate } = await import("../lib/employees.js");
|
|
41
41
|
const data = JSON.parse(input);
|
|
42
42
|
const projectName = getProjectName(data.cwd || void 0);
|
|
@@ -55,7 +55,7 @@ process.stdin.on("end", async () => {
|
|
|
55
55
|
daemonDegraded = true;
|
|
56
56
|
process.stderr.write("[session-start] WARNING: daemon/DB unavailable \u2014 booting in degraded mode (no memory context)\n");
|
|
57
57
|
try {
|
|
58
|
-
const { recordOrchestrationEvent } = await import("../orchestration-events-
|
|
58
|
+
const { recordOrchestrationEvent } = await import("../orchestration-events-25WEKUKH.js");
|
|
59
59
|
void recordOrchestrationEvent({
|
|
60
60
|
eventType: "mcp.unreachable",
|
|
61
61
|
source: "session-start.hook",
|
|
@@ -78,7 +78,7 @@ process.stdin.on("end", async () => {
|
|
|
78
78
|
}
|
|
79
79
|
if (!daemonDegraded) {
|
|
80
80
|
try {
|
|
81
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
81
|
+
const { fastDbInit } = await import("../fast-db-init-YSR7RMVZ.js");
|
|
82
82
|
await fastDbInit();
|
|
83
83
|
} catch {
|
|
84
84
|
daemonDegraded = true;
|
|
@@ -122,7 +122,7 @@ process.stdin.on("end", async () => {
|
|
|
122
122
|
});
|
|
123
123
|
}
|
|
124
124
|
try {
|
|
125
|
-
const { recordOrchestrationEvent } = await import("../orchestration-events-
|
|
125
|
+
const { recordOrchestrationEvent } = await import("../orchestration-events-25WEKUKH.js");
|
|
126
126
|
void recordOrchestrationEvent({
|
|
127
127
|
eventType: "session.born",
|
|
128
128
|
source: "session-start.hook",
|
|
@@ -139,7 +139,7 @@ process.stdin.on("end", async () => {
|
|
|
139
139
|
if (daemonDegraded) {
|
|
140
140
|
let degradedContext = "## \u26A0\uFE0F Degraded Boot\nDaemon/MCP is temporarily unavailable. This session started without memory context. MCP tools may fail \u2014 retry in 30s if they do.\n";
|
|
141
141
|
try {
|
|
142
|
-
const { getActiveAgent: getAgent } = await import("../active-agent-
|
|
142
|
+
const { getActiveAgent: getAgent } = await import("../active-agent-KO4ZWDXE.js");
|
|
143
143
|
const ag = getAgent();
|
|
144
144
|
if (ag.agentId !== "default") {
|
|
145
145
|
degradedContext = `## Your Identity
|
|
@@ -163,7 +163,7 @@ You are **${ag.agentId}** (${ag.agentRole}). Daemon is degraded \u2014 memory un
|
|
|
163
163
|
query = `last actions on ${projectName}`;
|
|
164
164
|
header = "## Resuming Session\nHere's where you left off:";
|
|
165
165
|
try {
|
|
166
|
-
const { buildCatchupBrief } = await import("../catchup-brief-
|
|
166
|
+
const { buildCatchupBrief } = await import("../catchup-brief-LF5Z6Q6E.js");
|
|
167
167
|
const brief = await buildCatchupBrief(
|
|
168
168
|
agentId,
|
|
169
169
|
projectName,
|
|
@@ -175,7 +175,7 @@ You are **${ag.agentId}** (${ag.agentRole}). Daemon is degraded \u2014 memory un
|
|
|
175
175
|
} catch {
|
|
176
176
|
}
|
|
177
177
|
try {
|
|
178
|
-
const { detectStaleFiles } = await import("../git-staleness-
|
|
178
|
+
const { detectStaleFiles } = await import("../git-staleness-BJDTCDPC.js");
|
|
179
179
|
const staleFiles = await detectStaleFiles(agentId, data.cwd || process.cwd());
|
|
180
180
|
if (staleFiles.length > 0) {
|
|
181
181
|
extraContext += `${extraContext.length > 0 ? "\n\n" : ""}## \u26A0\uFE0F Stale File Warning
|
|
@@ -188,7 +188,7 @@ The following files have been modified since you last read them:
|
|
|
188
188
|
query = `recent work on ${projectName}`;
|
|
189
189
|
header = "## Memory Brief\nRecent memories from this project:";
|
|
190
190
|
}
|
|
191
|
-
const { queryTaskRows } = await import("../tasks-crud-
|
|
191
|
+
const { queryTaskRows } = await import("../tasks-crud-DQOG2NPG.js");
|
|
192
192
|
const [memories, taskResult] = await Promise.all([
|
|
193
193
|
lightweightSearch(query, agentId, { projectName, limit: 5 }),
|
|
194
194
|
queryTaskRows({
|
|
@@ -259,22 +259,46 @@ ${wmContent}
|
|
|
259
259
|
`;
|
|
260
260
|
if (agentId !== "default" && !daemonDegraded) {
|
|
261
261
|
try {
|
|
262
|
-
const { readLatestCheckpoint } = await import("../tasks-crud-
|
|
262
|
+
const { readLatestCheckpoint } = await import("../tasks-crud-DQOG2NPG.js");
|
|
263
263
|
const checkpoint = await readLatestCheckpoint(agentId);
|
|
264
264
|
if (checkpoint) {
|
|
265
265
|
const filesTouched = checkpoint.files_touched?.length > 0 ? checkpoint.files_touched.join(", ") : "none recorded";
|
|
266
|
-
|
|
266
|
+
const checkpointCount = checkpoint.blocked_by_ids?.length ?? 0;
|
|
267
|
+
additionalContext += `## Resume Context (task checkpoint)
|
|
267
268
|
**Step:** ${checkpoint.step}
|
|
268
269
|
**Summary:** ${checkpoint.context_summary}
|
|
269
270
|
**Files touched:** ${filesTouched}
|
|
270
271
|
**Last checkpoint:** ${checkpoint.last_checkpoint_at}
|
|
271
|
-
|
|
272
|
+
` + (checkpointCount > 0 ? `**Blocked by ${checkpointCount} task(s)**
|
|
273
|
+
` : "") + `
|
|
272
274
|
Continue from this point. Do NOT restart from scratch.
|
|
273
275
|
|
|
274
276
|
`;
|
|
275
277
|
}
|
|
276
278
|
} catch {
|
|
277
279
|
}
|
|
280
|
+
if (source !== "resume" && getClient) {
|
|
281
|
+
try {
|
|
282
|
+
const client = getClient();
|
|
283
|
+
const cpResult = await client.execute({
|
|
284
|
+
sql: `SELECT raw_text, timestamp FROM memories
|
|
285
|
+
WHERE agent_id = ? AND memory_type = 'checkpoint'
|
|
286
|
+
ORDER BY timestamp DESC
|
|
287
|
+
LIMIT 1`,
|
|
288
|
+
args: [agentId]
|
|
289
|
+
});
|
|
290
|
+
const cpRow = cpResult.rows[0];
|
|
291
|
+
if (cpRow?.raw_text) {
|
|
292
|
+
const cpText = String(cpRow.raw_text).slice(0, 2e3);
|
|
293
|
+
const cpTime = cpRow.timestamp ? String(cpRow.timestamp) : "unknown";
|
|
294
|
+
additionalContext += `## Last Continuity Checkpoint (${cpTime})
|
|
295
|
+
${cpText}
|
|
296
|
+
|
|
297
|
+
`;
|
|
298
|
+
}
|
|
299
|
+
} catch {
|
|
300
|
+
}
|
|
301
|
+
}
|
|
278
302
|
}
|
|
279
303
|
if (agentId !== "default") {
|
|
280
304
|
try {
|
|
@@ -293,7 +317,7 @@ You are **${title}**${role ? ` (${role})` : ""}. ${firstLine}
|
|
|
293
317
|
}
|
|
294
318
|
}
|
|
295
319
|
try {
|
|
296
|
-
const { loadOrchestrationPhase } = await import("../orchestration-phase-
|
|
320
|
+
const { loadOrchestrationPhase } = await import("../orchestration-phase-C26XVKLZ.js");
|
|
297
321
|
const phase = await loadOrchestrationPhase();
|
|
298
322
|
additionalContext += `## Orchestration Phase
|
|
299
323
|
${phase.label}. Focus: ${phase.focus}. This is guidance, not a blocker; the user can switch phases anytime. ${phase.nextSuggestion}
|
package/dist/hooks/stop.js
CHANGED
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import "../chunk-SH45SJQW.js";
|
|
2
2
|
import {
|
|
3
3
|
getActiveAgent
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-MCESA5UW.js";
|
|
5
5
|
import {
|
|
6
6
|
sessionScopeFilter
|
|
7
|
-
} from "../chunk-
|
|
8
|
-
import "../chunk-
|
|
9
|
-
import "../chunk-
|
|
7
|
+
} from "../chunk-F7JLZXHC.js";
|
|
8
|
+
import "../chunk-ZKFPHJIJ.js";
|
|
9
|
+
import "../chunk-5CHYEKMH.js";
|
|
10
10
|
import "../chunk-4JERP7NT.js";
|
|
11
|
-
import "../chunk-
|
|
11
|
+
import "../chunk-GHEWRYMY.js";
|
|
12
12
|
import "../chunk-MVW62NIZ.js";
|
|
13
13
|
import "../chunk-OYNKIAVW.js";
|
|
14
14
|
import "../chunk-CX6GL3ZJ.js";
|
|
15
|
-
import "../chunk-
|
|
16
|
-
import "../chunk-
|
|
15
|
+
import "../chunk-HCBMPZDT.js";
|
|
16
|
+
import "../chunk-XJUUWHVN.js";
|
|
17
17
|
import "../chunk-NGP6LSV2.js";
|
|
18
|
-
import "../chunk-
|
|
18
|
+
import "../chunk-I5PIBL56.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-JLNXKG3K.js";
|
|
24
24
|
import "../chunk-HYZV25LY.js";
|
|
25
25
|
import {
|
|
26
26
|
canCoordinate
|
|
27
|
-
} from "../chunk-
|
|
28
|
-
import "../chunk-
|
|
27
|
+
} from "../chunk-CEJO7244.js";
|
|
28
|
+
import "../chunk-AWRL5FGM.js";
|
|
29
29
|
import "../chunk-FXU7JOXK.js";
|
|
30
|
-
import "../chunk-
|
|
30
|
+
import "../chunk-MOZ2YQ54.js";
|
|
31
31
|
import {
|
|
32
32
|
EXE_AI_DIR,
|
|
33
33
|
loadConfigSync
|
|
34
|
-
} from "../chunk-
|
|
34
|
+
} from "../chunk-VXIMSRTO.js";
|
|
35
35
|
import "../chunk-LYH5HE24.js";
|
|
36
36
|
import "../chunk-MLKGABMK.js";
|
|
37
37
|
|
|
@@ -43,7 +43,7 @@ import { fileURLToPath } from "url";
|
|
|
43
43
|
process.on("uncaughtException", () => process.exit(0));
|
|
44
44
|
process.on("unhandledRejection", () => process.exit(0));
|
|
45
45
|
try {
|
|
46
|
-
const { verifyOrBlock } = await import("../hook-integrity-
|
|
46
|
+
const { verifyOrBlock } = await import("../hook-integrity-2OU3T6UC.js");
|
|
47
47
|
if (!await verifyOrBlock(new URL(import.meta.url).pathname)) process.exit(2);
|
|
48
48
|
} catch {
|
|
49
49
|
}
|
|
@@ -124,8 +124,8 @@ process.stdin.on("end", async () => {
|
|
|
124
124
|
process.exit(0);
|
|
125
125
|
}
|
|
126
126
|
try {
|
|
127
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
128
|
-
const { recordSessionEvent } = await import("../session-events-
|
|
127
|
+
const { fastDbInit } = await import("../fast-db-init-YSR7RMVZ.js");
|
|
128
|
+
const { recordSessionEvent } = await import("../session-events-5CD66R6U.js");
|
|
129
129
|
const client = await fastDbInit();
|
|
130
130
|
await recordSessionEvent(client, {
|
|
131
131
|
agentId: agent.agentId,
|
|
@@ -143,7 +143,7 @@ process.stdin.on("end", async () => {
|
|
|
143
143
|
if (existsSync(taskCachePath)) {
|
|
144
144
|
const cached = JSON.parse(readFileSync(taskCachePath, "utf8"));
|
|
145
145
|
if (cached.taskId) {
|
|
146
|
-
const { createTokenBudgetMiddleware } = await import("../token-budget-
|
|
146
|
+
const { createTokenBudgetMiddleware } = await import("../token-budget-D2LQKCAV.js");
|
|
147
147
|
const middleware = createTokenBudgetMiddleware(cached.taskId);
|
|
148
148
|
const estimatedOutputTokens = Math.ceil(message.length / 4);
|
|
149
149
|
const result = await middleware.onTokenUsed(0, estimatedOutputTokens);
|
|
@@ -161,7 +161,7 @@ process.stdin.on("end", async () => {
|
|
|
161
161
|
}
|
|
162
162
|
const CAPACITY_SIGNALS = /context[- ]?full|hit capacity|conversation is too long|maximum context length|context window.*(?:limit|exceed|full)/i;
|
|
163
163
|
if (!canCoordinate(agent.agentId, agent.agentRole) && CAPACITY_SIGNALS.test(message)) {
|
|
164
|
-
import("../fast-db-init-
|
|
164
|
+
import("../fast-db-init-YSR7RMVZ.js").then(({ fastDbInit }) => fastDbInit()).then(async (client) => {
|
|
165
165
|
const stScope = sessionScopeFilter();
|
|
166
166
|
const tasks = await client.execute({
|
|
167
167
|
sql: `SELECT title, status, task_file FROM tasks
|
|
@@ -179,7 +179,7 @@ process.stdin.on("end", async () => {
|
|
|
179
179
|
"",
|
|
180
180
|
`Last response fragment: ${message.slice(0, 500)}`
|
|
181
181
|
].join("\n");
|
|
182
|
-
const { writeMemoryViaDaemon } = await import("../memory-queue-client-
|
|
182
|
+
const { writeMemoryViaDaemon } = await import("../memory-queue-client-JZCFYTWQ.js");
|
|
183
183
|
await writeMemoryViaDaemon({
|
|
184
184
|
raw_text: checkpoint,
|
|
185
185
|
agent_id: agent.agentId,
|
|
@@ -232,7 +232,7 @@ Session: ${data.session_id}
|
|
|
232
232
|
|
|
233
233
|
## Recent Thread
|
|
234
234
|
${msgs.slice(-15).join("\n")}`;
|
|
235
|
-
const { writeMemoryViaDaemon } = await import("../memory-queue-client-
|
|
235
|
+
const { writeMemoryViaDaemon } = await import("../memory-queue-client-JZCFYTWQ.js");
|
|
236
236
|
await writeMemoryViaDaemon({
|
|
237
237
|
raw_text: summary,
|
|
238
238
|
agent_id: agent.agentId,
|
|
@@ -254,7 +254,7 @@ ${msgs.slice(-15).join("\n")}`;
|
|
|
254
254
|
} catch {
|
|
255
255
|
}
|
|
256
256
|
if (!canCoordinate(agent.agentId, agent.agentRole)) {
|
|
257
|
-
import("../fast-db-init-
|
|
257
|
+
import("../fast-db-init-YSR7RMVZ.js").then(({ fastDbInit }) => fastDbInit()).then(async (client) => {
|
|
258
258
|
const orScope = sessionScopeFilter();
|
|
259
259
|
return client.execute({
|
|
260
260
|
sql: `SELECT title, status FROM tasks
|
|
@@ -274,7 +274,7 @@ ${msgs.slice(-15).join("\n")}`;
|
|
|
274
274
|
});
|
|
275
275
|
}
|
|
276
276
|
if (AUTO_INGESTION_ENABLED) {
|
|
277
|
-
import("../memory-queue-client-
|
|
277
|
+
import("../memory-queue-client-JZCFYTWQ.js").then(
|
|
278
278
|
({ writeMemoryViaDaemon }) => writeMemoryViaDaemon({
|
|
279
279
|
raw_text: message.slice(0, 5e3),
|
|
280
280
|
agent_id: agent.agentId,
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import "../chunk-SH45SJQW.js";
|
|
2
2
|
import {
|
|
3
3
|
getActiveAgent
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-MCESA5UW.js";
|
|
5
5
|
import {
|
|
6
6
|
sessionScopeFilter
|
|
7
|
-
} from "../chunk-
|
|
8
|
-
import "../chunk-
|
|
9
|
-
import "../chunk-
|
|
7
|
+
} from "../chunk-F7JLZXHC.js";
|
|
8
|
+
import "../chunk-ZKFPHJIJ.js";
|
|
9
|
+
import "../chunk-5CHYEKMH.js";
|
|
10
10
|
import "../chunk-4JERP7NT.js";
|
|
11
|
-
import "../chunk-
|
|
11
|
+
import "../chunk-GHEWRYMY.js";
|
|
12
12
|
import "../chunk-MVW62NIZ.js";
|
|
13
13
|
import "../chunk-OYNKIAVW.js";
|
|
14
14
|
import "../chunk-CX6GL3ZJ.js";
|
|
15
|
-
import "../chunk-
|
|
16
|
-
import "../chunk-
|
|
15
|
+
import "../chunk-HCBMPZDT.js";
|
|
16
|
+
import "../chunk-XJUUWHVN.js";
|
|
17
17
|
import "../chunk-NGP6LSV2.js";
|
|
18
|
-
import "../chunk-
|
|
18
|
+
import "../chunk-I5PIBL56.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-JLNXKG3K.js";
|
|
24
24
|
import "../chunk-HYZV25LY.js";
|
|
25
25
|
import {
|
|
26
26
|
canCoordinate
|
|
27
|
-
} from "../chunk-
|
|
28
|
-
import "../chunk-
|
|
27
|
+
} from "../chunk-CEJO7244.js";
|
|
28
|
+
import "../chunk-AWRL5FGM.js";
|
|
29
29
|
import "../chunk-FXU7JOXK.js";
|
|
30
|
-
import "../chunk-
|
|
31
|
-
import "../chunk-
|
|
30
|
+
import "../chunk-MOZ2YQ54.js";
|
|
31
|
+
import "../chunk-VXIMSRTO.js";
|
|
32
32
|
import "../chunk-LYH5HE24.js";
|
|
33
33
|
import "../chunk-MLKGABMK.js";
|
|
34
34
|
|
|
@@ -36,7 +36,7 @@ import "../chunk-MLKGABMK.js";
|
|
|
36
36
|
process.on("uncaughtException", () => process.exit(0));
|
|
37
37
|
process.on("unhandledRejection", () => process.exit(0));
|
|
38
38
|
try {
|
|
39
|
-
const { verifyOrBlock } = await import("../hook-integrity-
|
|
39
|
+
const { verifyOrBlock } = await import("../hook-integrity-2OU3T6UC.js");
|
|
40
40
|
if (!await verifyOrBlock(new URL(import.meta.url).pathname)) process.exit(2);
|
|
41
41
|
} catch {
|
|
42
42
|
}
|
|
@@ -61,7 +61,7 @@ process.stdin.on("end", async () => {
|
|
|
61
61
|
if (canCoordinate(agent.agentId, agent.agentRole)) {
|
|
62
62
|
process.exit(0);
|
|
63
63
|
}
|
|
64
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
64
|
+
const { fastDbInit } = await import("../fast-db-init-YSR7RMVZ.js");
|
|
65
65
|
const client = await fastDbInit();
|
|
66
66
|
const saScope = sessionScopeFilter();
|
|
67
67
|
const pendingResult = await client.execute({
|
|
@@ -1,48 +1,49 @@
|
|
|
1
1
|
import {
|
|
2
2
|
writeContinuityCheckpoint
|
|
3
|
-
} from "../chunk-
|
|
4
|
-
import "../chunk-
|
|
5
|
-
import "../chunk-
|
|
6
|
-
import "../chunk-
|
|
7
|
-
import "../chunk-
|
|
3
|
+
} from "../chunk-NWBHL5PI.js";
|
|
4
|
+
import "../chunk-ENVRFBTB.js";
|
|
5
|
+
import "../chunk-MEIHREPM.js";
|
|
6
|
+
import "../chunk-RRHSONV5.js";
|
|
7
|
+
import "../chunk-7IZWLMTP.js";
|
|
8
8
|
import {
|
|
9
9
|
initStore,
|
|
10
10
|
vectorToBlob
|
|
11
|
-
} from "../chunk-
|
|
11
|
+
} from "../chunk-222SI7QC.js";
|
|
12
12
|
import "../chunk-CHCA3ZM2.js";
|
|
13
|
-
import "../chunk-
|
|
14
|
-
import "../chunk-
|
|
13
|
+
import "../chunk-IZVKWBIP.js";
|
|
14
|
+
import "../chunk-Y25OJWOQ.js";
|
|
15
15
|
import {
|
|
16
|
+
getCurrentSessionScope,
|
|
16
17
|
sessionScopeFilter,
|
|
17
18
|
writeNotification
|
|
18
|
-
} from "../chunk-
|
|
19
|
-
import "../chunk-
|
|
20
|
-
import "../chunk-
|
|
19
|
+
} from "../chunk-F7JLZXHC.js";
|
|
20
|
+
import "../chunk-ZKFPHJIJ.js";
|
|
21
|
+
import "../chunk-5CHYEKMH.js";
|
|
21
22
|
import "../chunk-4JERP7NT.js";
|
|
22
|
-
import "../chunk-
|
|
23
|
+
import "../chunk-GHEWRYMY.js";
|
|
23
24
|
import "../chunk-MVW62NIZ.js";
|
|
24
25
|
import "../chunk-OYNKIAVW.js";
|
|
25
26
|
import "../chunk-CX6GL3ZJ.js";
|
|
26
|
-
import "../chunk-
|
|
27
|
-
import "../chunk-
|
|
27
|
+
import "../chunk-HCBMPZDT.js";
|
|
28
|
+
import "../chunk-XJUUWHVN.js";
|
|
28
29
|
import "../chunk-NGP6LSV2.js";
|
|
29
|
-
import "../chunk-
|
|
30
|
+
import "../chunk-I5PIBL56.js";
|
|
30
31
|
import "../chunk-CVYC6DUW.js";
|
|
31
32
|
import "../chunk-OPU3NYOO.js";
|
|
32
33
|
import "../chunk-GJV3WDWM.js";
|
|
33
34
|
import "../chunk-MP2AFCGL.js";
|
|
34
35
|
import "../chunk-PWMMIGVQ.js";
|
|
35
|
-
import "../chunk-
|
|
36
|
+
import "../chunk-JLNXKG3K.js";
|
|
36
37
|
import "../chunk-HYZV25LY.js";
|
|
37
38
|
import {
|
|
38
39
|
canCoordinate,
|
|
39
40
|
getClient
|
|
40
|
-
} from "../chunk-
|
|
41
|
-
import "../chunk-
|
|
41
|
+
} from "../chunk-CEJO7244.js";
|
|
42
|
+
import "../chunk-AWRL5FGM.js";
|
|
42
43
|
import "../chunk-FXU7JOXK.js";
|
|
43
|
-
import "../chunk-
|
|
44
|
-
import "../chunk-
|
|
45
|
-
import "../chunk-
|
|
44
|
+
import "../chunk-K333WOW4.js";
|
|
45
|
+
import "../chunk-MOZ2YQ54.js";
|
|
46
|
+
import "../chunk-VXIMSRTO.js";
|
|
46
47
|
import "../chunk-LYH5HE24.js";
|
|
47
48
|
import "../chunk-MLKGABMK.js";
|
|
48
49
|
|
|
@@ -113,7 +114,7 @@ async function main() {
|
|
|
113
114
|
let summaryText = "";
|
|
114
115
|
let limitReached = false;
|
|
115
116
|
try {
|
|
116
|
-
const { assertMemoryLimit } = await import("../plan-limits-
|
|
117
|
+
const { assertMemoryLimit } = await import("../plan-limits-DGIVM42H.js");
|
|
117
118
|
await assertMemoryLimit();
|
|
118
119
|
} catch (err) {
|
|
119
120
|
const msg = err instanceof Error ? err.message : String(err);
|
|
@@ -143,13 +144,15 @@ async function main() {
|
|
|
143
144
|
for (const [, data] of projects) {
|
|
144
145
|
totalErrors += data.errors;
|
|
145
146
|
}
|
|
147
|
+
const notifSessionScope = getCurrentSessionScope() ?? void 0;
|
|
146
148
|
if (totalErrors >= 3) {
|
|
147
149
|
await writeNotification({
|
|
148
150
|
agentId,
|
|
149
151
|
agentRole,
|
|
150
152
|
event: "error_spike",
|
|
151
153
|
project: primaryProject,
|
|
152
|
-
summary: `${totalErrors} errors in last ${totalCalls} tool calls
|
|
154
|
+
summary: `${totalErrors} errors in last ${totalCalls} tool calls`,
|
|
155
|
+
sessionScope: notifSessionScope
|
|
153
156
|
});
|
|
154
157
|
} else {
|
|
155
158
|
await writeNotification({
|
|
@@ -157,7 +160,8 @@ async function main() {
|
|
|
157
160
|
agentRole,
|
|
158
161
|
event: "session_summary",
|
|
159
162
|
project: primaryProject,
|
|
160
|
-
summary: `${totalCalls} tool calls (${writeCalls} writes) on ${primaryProject}
|
|
163
|
+
summary: `${totalCalls} tool calls (${writeCalls} writes) on ${primaryProject}`,
|
|
164
|
+
sessionScope: notifSessionScope
|
|
161
165
|
});
|
|
162
166
|
}
|
|
163
167
|
}
|
|
@@ -183,7 +187,7 @@ async function main() {
|
|
|
183
187
|
const { EXE_AI_DIR } = await import("../lib/config.js");
|
|
184
188
|
const flagPath = path.join(EXE_AI_DIR, "session-cache", "needs-backfill");
|
|
185
189
|
if (existsSync(flagPath)) {
|
|
186
|
-
const { tryAcquireWorkerSlot, registerWorkerPid } = await import("../worker-gate-
|
|
190
|
+
const { tryAcquireWorkerSlot, registerWorkerPid } = await import("../worker-gate-PRCKA23W.js");
|
|
187
191
|
if (!tryAcquireWorkerSlot()) {
|
|
188
192
|
process.stderr.write("[summary-worker] Backfill needed but worker gate full \u2014 skipping\n");
|
|
189
193
|
} else {
|
|
@@ -270,7 +274,8 @@ async function main() {
|
|
|
270
274
|
agentRole,
|
|
271
275
|
event: "orphan_task",
|
|
272
276
|
project: primaryProject,
|
|
273
|
-
summary: `${agentId} left '${taskTitle}' as in_progress \u2014 session ended with recent commit ${lastCommit}
|
|
277
|
+
summary: `${agentId} left '${taskTitle}' as in_progress \u2014 session ended with recent commit ${lastCommit}`,
|
|
278
|
+
sessionScope: getCurrentSessionScope() ?? void 0
|
|
274
279
|
});
|
|
275
280
|
} catch (err) {
|
|
276
281
|
process.stderr.write("[summary-worker] review write failed: " + (err instanceof Error ? err.message : String(err)) + "\n");
|
|
@@ -290,7 +295,7 @@ main().catch((err) => {
|
|
|
290
295
|
process.stderr.write("[summary-worker] FATAL: " + (err instanceof Error ? err.message : String(err)) + "\n");
|
|
291
296
|
}).finally(async () => {
|
|
292
297
|
try {
|
|
293
|
-
const { cleanupWorkerPid } = await import("../worker-gate-
|
|
298
|
+
const { cleanupWorkerPid } = await import("../worker-gate-PRCKA23W.js");
|
|
294
299
|
cleanupWorkerPid();
|
|
295
300
|
} catch {
|
|
296
301
|
}
|
package/dist/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
runtime_exports
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-QUNKPR6Y.js";
|
|
4
|
+
import "./chunk-CPXGLSIL.js";
|
|
5
5
|
import "./chunk-YZFZDJWZ.js";
|
|
6
6
|
import "./chunk-AVE2B4DQ.js";
|
|
7
7
|
import "./chunk-NGVOA6ZQ.js";
|
|
@@ -10,48 +10,48 @@ import "./chunk-JQ6TLNIV.js";
|
|
|
10
10
|
import "./chunk-PRKVT4KN.js";
|
|
11
11
|
import "./chunk-HF25XPZE.js";
|
|
12
12
|
import "./chunk-O377P7GM.js";
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
15
|
-
import "./chunk-
|
|
16
|
-
import "./chunk-
|
|
13
|
+
import "./chunk-5JIG2FP2.js";
|
|
14
|
+
import "./chunk-F7JLZXHC.js";
|
|
15
|
+
import "./chunk-ZKFPHJIJ.js";
|
|
16
|
+
import "./chunk-5CHYEKMH.js";
|
|
17
17
|
import "./chunk-4JERP7NT.js";
|
|
18
|
-
import "./chunk-
|
|
18
|
+
import "./chunk-GHEWRYMY.js";
|
|
19
19
|
import "./chunk-MVW62NIZ.js";
|
|
20
20
|
import "./chunk-OYNKIAVW.js";
|
|
21
21
|
import "./chunk-CX6GL3ZJ.js";
|
|
22
|
-
import "./chunk-
|
|
23
|
-
import "./chunk-
|
|
22
|
+
import "./chunk-HCBMPZDT.js";
|
|
23
|
+
import "./chunk-XJUUWHVN.js";
|
|
24
24
|
import "./chunk-NGP6LSV2.js";
|
|
25
|
-
import "./chunk-
|
|
25
|
+
import "./chunk-I5PIBL56.js";
|
|
26
26
|
import "./chunk-CVYC6DUW.js";
|
|
27
27
|
import "./chunk-OPU3NYOO.js";
|
|
28
28
|
import "./chunk-GJV3WDWM.js";
|
|
29
29
|
import {
|
|
30
30
|
gateway_exports
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-RYDHEWYY.js";
|
|
32
32
|
import "./chunk-ECSNSHZ7.js";
|
|
33
33
|
import "./chunk-RJT7H2KR.js";
|
|
34
34
|
import "./chunk-Q3V7K4ME.js";
|
|
35
35
|
import "./chunk-N5RRQOAC.js";
|
|
36
36
|
import "./chunk-ORCCI2VV.js";
|
|
37
37
|
import "./chunk-FLSASUV3.js";
|
|
38
|
-
import "./chunk-
|
|
38
|
+
import "./chunk-LQSFP2BV.js";
|
|
39
39
|
import "./chunk-FWFFZGSC.js";
|
|
40
40
|
import "./chunk-ECGTESAP.js";
|
|
41
|
-
import "./chunk-
|
|
42
|
-
import "./chunk-
|
|
43
|
-
import "./chunk-
|
|
41
|
+
import "./chunk-NRVV4Y5V.js";
|
|
42
|
+
import "./chunk-V2GZMY6O.js";
|
|
43
|
+
import "./chunk-A4K2ZT6N.js";
|
|
44
44
|
import "./chunk-YGAAZN3E.js";
|
|
45
|
-
import "./chunk-
|
|
45
|
+
import "./chunk-B7JGEDVE.js";
|
|
46
46
|
import "./chunk-ONKIWA3R.js";
|
|
47
47
|
import "./chunk-MP2AFCGL.js";
|
|
48
|
-
import "./chunk-
|
|
48
|
+
import "./chunk-JLNXKG3K.js";
|
|
49
49
|
import "./chunk-HYZV25LY.js";
|
|
50
|
-
import "./chunk-
|
|
51
|
-
import "./chunk-
|
|
50
|
+
import "./chunk-CEJO7244.js";
|
|
51
|
+
import "./chunk-AWRL5FGM.js";
|
|
52
52
|
import "./chunk-FXU7JOXK.js";
|
|
53
|
-
import "./chunk-
|
|
54
|
-
import "./chunk-
|
|
53
|
+
import "./chunk-MOZ2YQ54.js";
|
|
54
|
+
import "./chunk-VXIMSRTO.js";
|
|
55
55
|
import "./chunk-LYH5HE24.js";
|
|
56
56
|
import "./chunk-MLKGABMK.js";
|
|
57
57
|
export {
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
resolvePackageRoot
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-F3GM6OOP.js";
|
|
4
|
+
import "./chunk-GNHN5HRQ.js";
|
|
4
5
|
import {
|
|
5
6
|
buildMcpHttpHeaders,
|
|
6
7
|
mcpHttpUrl
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import "./chunk-GNHN5HRQ.js";
|
|
8
|
+
} from "./chunk-ZVXJSQOR.js";
|
|
9
9
|
import {
|
|
10
10
|
EXE_HOOK_FILES,
|
|
11
11
|
textHasLegacySplitPostToolHook
|
|
12
12
|
} from "./chunk-L3TB7CC3.js";
|
|
13
|
-
import "./chunk-
|
|
13
|
+
import "./chunk-JLNXKG3K.js";
|
|
14
14
|
import "./chunk-HYZV25LY.js";
|
|
15
|
-
import "./chunk-
|
|
16
|
-
import "./chunk-
|
|
15
|
+
import "./chunk-CEJO7244.js";
|
|
16
|
+
import "./chunk-AWRL5FGM.js";
|
|
17
17
|
import "./chunk-FXU7JOXK.js";
|
|
18
|
-
import "./chunk-
|
|
18
|
+
import "./chunk-VXIMSRTO.js";
|
|
19
19
|
import "./chunk-LYH5HE24.js";
|
|
20
20
|
import "./chunk-MLKGABMK.js";
|
|
21
21
|
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
resolvePackageRoot
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import {
|
|
5
|
-
buildMcpHttpHeaders,
|
|
6
|
-
mcpHttpUrl
|
|
7
|
-
} from "./chunk-5WUTKDH6.js";
|
|
3
|
+
} from "./chunk-F3GM6OOP.js";
|
|
8
4
|
import {
|
|
9
5
|
loadPreferences
|
|
10
6
|
} from "./chunk-GNHN5HRQ.js";
|
|
7
|
+
import {
|
|
8
|
+
buildMcpHttpHeaders,
|
|
9
|
+
mcpHttpUrl
|
|
10
|
+
} from "./chunk-ZVXJSQOR.js";
|
|
11
11
|
import {
|
|
12
12
|
EXE_HOOKS,
|
|
13
13
|
isLegacySplitPostToolCommand
|
|
14
14
|
} from "./chunk-L3TB7CC3.js";
|
|
15
|
-
import "./chunk-
|
|
15
|
+
import "./chunk-JLNXKG3K.js";
|
|
16
16
|
import "./chunk-HYZV25LY.js";
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
17
|
+
import "./chunk-CEJO7244.js";
|
|
18
|
+
import "./chunk-AWRL5FGM.js";
|
|
19
19
|
import "./chunk-FXU7JOXK.js";
|
|
20
|
-
import "./chunk-
|
|
20
|
+
import "./chunk-VXIMSRTO.js";
|
|
21
21
|
import "./chunk-LYH5HE24.js";
|
|
22
22
|
import "./chunk-MLKGABMK.js";
|
|
23
23
|
|
|
@@ -10,16 +10,16 @@ import {
|
|
|
10
10
|
setupGhostty,
|
|
11
11
|
setupTmux,
|
|
12
12
|
setupWezterm
|
|
13
|
-
} from "./chunk-
|
|
14
|
-
import "./chunk-5WUTKDH6.js";
|
|
13
|
+
} from "./chunk-F3GM6OOP.js";
|
|
15
14
|
import "./chunk-GNHN5HRQ.js";
|
|
15
|
+
import "./chunk-ZVXJSQOR.js";
|
|
16
16
|
import "./chunk-L3TB7CC3.js";
|
|
17
|
-
import "./chunk-
|
|
17
|
+
import "./chunk-JLNXKG3K.js";
|
|
18
18
|
import "./chunk-HYZV25LY.js";
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-
|
|
19
|
+
import "./chunk-CEJO7244.js";
|
|
20
|
+
import "./chunk-AWRL5FGM.js";
|
|
21
21
|
import "./chunk-FXU7JOXK.js";
|
|
22
|
-
import "./chunk-
|
|
22
|
+
import "./chunk-VXIMSRTO.js";
|
|
23
23
|
import "./chunk-LYH5HE24.js";
|
|
24
24
|
import "./chunk-MLKGABMK.js";
|
|
25
25
|
export {
|