@askexenow/exe-os 0.9.313 → 0.9.314
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{active-agent-EWF2HJ3W.js → active-agent-BZ4JD2YU.js} +3 -3
- package/dist/{active-agent-FFN5ARMC.js → active-agent-WFNMZBPP.js} +3 -3
- package/dist/{agentic-ontology-AAUATKUS.js → agentic-ontology-KUDXQQKL.js} +1 -1
- package/dist/{backfill-metadata-FBYFDOTH.js → backfill-metadata-BXG7KFWS.js} +4 -4
- package/dist/{behaviors-PQ77IPJR.js → behaviors-YDAHG2LN.js} +5 -5
- package/dist/bin/agentic-ontology-backfill.js +5 -5
- package/dist/bin/agentic-reflection-backfill.js +6 -6
- package/dist/bin/agentic-semantic-label.js +5 -5
- package/dist/bin/backfill-conversations.js +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 +12 -12
- package/dist/bin/cc-doctor.js +4 -4
- package/dist/bin/cleanup-stale-review-tasks.js +11 -11
- 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 +4 -4
- package/dist/bin/exe-assign.js +8 -8
- package/dist/bin/exe-boot.js +19 -19
- package/dist/bin/exe-call.js +4 -4
- package/dist/bin/exe-cloud.js +12 -12
- package/dist/bin/exe-config-dump.js +2 -2
- package/dist/bin/exe-dispatch.js +11 -11
- package/dist/bin/exe-doctor.js +4 -4
- package/dist/bin/exe-export-behaviors.js +7 -7
- package/dist/bin/exe-forget.js +6 -6
- package/dist/bin/exe-gateway.js +7 -7
- package/dist/bin/exe-healthcheck.js +4 -4
- package/dist/bin/exe-heartbeat.js +11 -11
- package/dist/bin/exe-kill.js +14 -14
- package/dist/bin/exe-launch-agent.js +21 -21
- package/dist/bin/exe-new-employee.js +8 -8
- package/dist/bin/exe-pending-messages.js +12 -12
- package/dist/bin/exe-pending-notifications.js +11 -11
- package/dist/bin/exe-pending-reviews.js +11 -11
- package/dist/bin/exe-rename.js +4 -4
- package/dist/bin/exe-review.js +13 -13
- package/dist/bin/exe-search.js +5 -5
- package/dist/bin/exe-session-cleanup.js +17 -17
- package/dist/bin/exe-settings.js +12 -12
- package/dist/bin/exe-start-codex.js +12 -12
- package/dist/bin/exe-start-opencode.js +8 -8
- package/dist/bin/exe-status.js +12 -12
- package/dist/bin/exe-support.js +3 -3
- package/dist/bin/exe-team.js +3 -3
- package/dist/bin/git-sweep.js +12 -12
- package/dist/bin/graph-backfill.js +4 -4
- package/dist/bin/graph-export.js +5 -5
- package/dist/bin/import-history.js +7 -7
- package/dist/bin/install.js +7 -7
- 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/scan-tasks.js +11 -11
- package/dist/bin/setup.js +1 -1
- package/dist/bin/shard-migrate.js +4 -4
- package/dist/bin/stack-update.js +4 -4
- package/dist/bin/vps-health-gate.js +1 -1
- package/dist/{capability-cards-2U3XWCDP.js → capability-cards-3ILRKPQE.js} +2 -2
- package/dist/{capacity-monitor-ZRLW7TVL.js → capacity-monitor-4K2OX2CS.js} +12 -12
- package/dist/{catchup-brief-FSBZVYPL.js → catchup-brief-5QIYT2IV.js} +14 -14
- package/dist/{chunk-SE6MLUOK.js → chunk-2TJPU7ZV.js} +1 -1
- package/dist/{chunk-T2DJR7ND.js → chunk-3VVOHFAM.js} +4 -4
- package/dist/{chunk-DR7QPGX4.js → chunk-4CVHT2O5.js} +3 -3
- package/dist/{chunk-CNQ25C4C.js → chunk-4YS2MDBF.js} +1 -1
- package/dist/{chunk-ITVMRPCQ.js → chunk-5WFX4JKF.js} +1 -1
- package/dist/{chunk-UDZP2SHJ.js → chunk-63PNRWLU.js} +3 -3
- package/dist/{chunk-IXTDBQYU.js → chunk-6DWKMQBX.js} +109 -109
- package/dist/{chunk-P4ULFI2N.js → chunk-6FKWKNTV.js} +1 -1
- package/dist/{chunk-BSPALHIR.js → chunk-6J7M7RZE.js} +1 -1
- package/dist/{chunk-R2WP3XIN.js → chunk-6W5I6KFG.js} +1 -1
- package/dist/{chunk-F3QMXKKJ.js → chunk-ACFSE5ZV.js} +1 -1
- package/dist/{chunk-RICNNGYH.js → chunk-ACZOMBRN.js} +1 -1
- package/dist/{chunk-VA2MDALR.js → chunk-AHIUTOZS.js} +5 -5
- package/dist/{chunk-JIJKUZIO.js → chunk-AJYTLDMN.js} +2 -2
- package/dist/{chunk-CTYHSVHP.js → chunk-ARUJYYDX.js} +1 -1
- package/dist/{chunk-R5TZ2FC3.js → chunk-ATKTT5L2.js} +1 -1
- package/dist/{chunk-I6RHLHVW.js → chunk-AU6N56DM.js} +1 -1
- package/dist/{chunk-K5C6LC2G.js → chunk-B6VVBLPS.js} +1 -1
- package/dist/{chunk-RLBVY5FE.js → chunk-BBLO7IAR.js} +9 -9
- package/dist/{chunk-KMI4TUTW.js → chunk-BTBE6FT4.js} +1 -1
- package/dist/{chunk-VHLI6CTD.js → chunk-BXTYHCB6.js} +1 -1
- package/dist/{chunk-N7LBAQGK.js → chunk-CILCGLSN.js} +2 -2
- package/dist/{chunk-63UEWYM3.js → chunk-CO4247VK.js} +1 -1
- package/dist/{chunk-24BUDF3J.js → chunk-D4DF4XVJ.js} +2 -2
- package/dist/{chunk-4THK7IA4.js → chunk-DXLENVRL.js} +1 -1
- package/dist/{chunk-6SPUK67A.js → chunk-E7QPRJYM.js} +2 -2
- package/dist/{chunk-3AMGSCRH.js → chunk-F347GH2N.js} +1 -1
- package/dist/{chunk-TRPGNCVB.js → chunk-FGH3ZLRU.js} +2 -2
- package/dist/{chunk-BMNX3YWX.js → chunk-FPQUU3DI.js} +1 -1
- package/dist/{chunk-F5XPKUPK.js → chunk-G76KKLCO.js} +1 -1
- package/dist/{chunk-ZAA344BL.js → chunk-GDAHXYNV.js} +1 -1
- package/dist/{chunk-WZZBGGSD.js → chunk-GLFXHDKI.js} +2 -2
- package/dist/{chunk-GHJRLETI.js → chunk-GQORAQQ2.js} +5 -5
- package/dist/{chunk-CW3FPWUW.js → chunk-GS67TVCP.js} +1 -1
- package/dist/{chunk-DJ4RG3RK.js → chunk-GSGHENLJ.js} +1 -1
- package/dist/{chunk-4JI54RHR.js → chunk-HAOBFWP3.js} +5 -5
- package/dist/{chunk-TA22MGGN.js → chunk-HCQSI7V2.js} +1 -1
- package/dist/{chunk-MMNMQNLD.js → chunk-HEXJWMFX.js} +13 -13
- package/dist/{chunk-CWUCD7C7.js → chunk-HLEKFO3H.js} +1 -1
- package/dist/{chunk-N3CRJ2VW.js → chunk-I7WBZ7XF.js} +2 -2
- package/dist/{chunk-Y5CNGG4F.js → chunk-JNGMXR4J.js} +10 -10
- package/dist/{chunk-552IGUBB.js → chunk-JS3LSUPY.js} +2 -2
- package/dist/{chunk-4UHQYBMQ.js → chunk-JZPPU4WV.js} +1 -1
- package/dist/{chunk-VG4ZH2Z3.js → chunk-KWFWIJCI.js} +3 -3
- package/dist/{chunk-D4EMVYI7.js → chunk-LQR4XOX6.js} +1 -1
- package/dist/{chunk-X5I5QRC2.js → chunk-LYKTZK2G.js} +3 -3
- package/dist/{chunk-TN7SC2ZQ.js → chunk-MBMOMBNV.js} +1 -1
- package/dist/{chunk-YEWNIBNA.js → chunk-NAA5SHAL.js} +7 -7
- package/dist/{chunk-PVC4RNHQ.js → chunk-NNXYKCWS.js} +25 -9
- package/dist/{chunk-CWACO2D4.js → chunk-NOQKGHZ2.js} +2 -2
- package/dist/{chunk-IFSOVXGN.js → chunk-NWYFJJ6O.js} +3 -3
- package/dist/{chunk-AJERMFD6.js → chunk-PHUF32XF.js} +3 -3
- package/dist/{chunk-L6QI2NNG.js → chunk-QM7U5YKL.js} +1 -1
- package/dist/{chunk-SB7W6XI4.js → chunk-REQZMGAZ.js} +1 -1
- package/dist/{chunk-2FULKRDO.js → chunk-ROGF2PD6.js} +5 -5
- package/dist/{chunk-7QSXARI3.js → chunk-S2Z4I4BU.js} +1 -1
- package/dist/{chunk-XCORXJ3M.js → chunk-S4SRMTOS.js} +1 -1
- package/dist/{chunk-EV2SMRLF.js → chunk-SHTLLQPQ.js} +4 -4
- package/dist/{chunk-2PWRUIKZ.js → chunk-T7QDO35P.js} +1 -1
- package/dist/{chunk-RYPFOZQH.js → chunk-U25GXRSV.js} +2 -2
- package/dist/{chunk-OUAGTQC4.js → chunk-VCQNLOC5.js} +3 -3
- package/dist/{chunk-FQH4R6UG.js → chunk-VDWBNXKZ.js} +2 -2
- package/dist/{chunk-HSXWUZOD.js → chunk-WA4GIWMZ.js} +3 -3
- package/dist/{chunk-ZGLJ2VD7.js → chunk-WNSWJVOA.js} +4 -4
- package/dist/{chunk-OUJI2ZTY.js → chunk-WW3RLMTF.js} +1 -1
- package/dist/{chunk-DIHMGQGV.js → chunk-WXADTTWU.js} +3 -3
- package/dist/{chunk-FIBL4JRZ.js → chunk-XI7MFALI.js} +1 -1
- package/dist/{chunk-FSAKWKWU.js → chunk-YAMG7DHQ.js} +1 -1
- package/dist/{chunk-JB7QUK3D.js → chunk-YCRXNN3V.js} +2 -2
- package/dist/{chunk-UM6WUSQ7.js → chunk-YROMP5O3.js} +1 -1
- package/dist/{chunk-IU44MPY3.js → chunk-YUDT2O5K.js} +1 -1
- package/dist/{chunk-SRMNWAHN.js → chunk-ZOZMKPW6.js} +8 -8
- package/dist/{co-activation-RH46OQ3N.js → co-activation-TVNH23OE.js} +2 -2
- package/dist/{co-occurrence-MJWERUWY.js → co-occurrence-CNOOF4KC.js} +2 -2
- package/dist/{code-context-index-WFUBYGQT.js → code-context-index-7RQ4MLL2.js} +3 -3
- package/dist/{crdt-sync-4R7SXTNB.js → crdt-sync-XXO4GRSB.js} +1 -1
- package/dist/{crm-webhook-YDXX5FDK.js → crm-webhook-CU4NHOSU.js} +2 -2
- package/dist/{cto-delegation-gate-ZJHLPK4Y.js → cto-delegation-gate-LE4EIVDK.js} +10 -10
- package/dist/{daemon-orchestration-NBU5RZ2O.js → daemon-orchestration-JSYP6J6E.js} +14 -14
- package/dist/{db-backup-BTL2FBBL.js → db-backup-UX7V6UZ6.js} +1 -1
- package/dist/{doc-graph-extractor-ADYRG7DB.js → doc-graph-extractor-2SRTBTCN.js} +2 -2
- package/dist/{documents-VWPZTDFA.js → documents-MICRVJHZ.js} +8 -8
- package/dist/{dreaming-76WKGTL6.js → dreaming-FDO67PDP.js} +11 -11
- package/dist/{exe-drift-T3IO2SPX.js → exe-drift-D7QM62BY.js} +3 -3
- package/dist/{exe-export-6YEHSJMP.js → exe-export-ER75IIZJ.js} +6 -6
- package/dist/{exe-import-3NERK63O.js → exe-import-QPGYFNFA.js} +6 -6
- package/dist/{exe-key-RCMBMLSQ.js → exe-key-4GXR2IZA.js} +3 -3
- package/dist/{exe-snapshot-JIY7MNRI.js → exe-snapshot-MJVI36KB.js} +14 -14
- package/dist/{fast-db-init-PVJ72264.js → fast-db-init-FC5O6LS7.js} +1 -1
- package/dist/{founder-context-A4VUEKDH.js → founder-context-5LP7LGOM.js} +2 -2
- package/dist/gateway/index.js +8 -8
- package/dist/{git-staleness-IOAHAGBI.js → git-staleness-BK46WKVL.js} +2 -2
- package/dist/{git-task-sweep-IGM5RILF.js → git-task-sweep-LGPACXMG.js} +11 -11
- package/dist/{global-procedures-VZL2X4RK.js → global-procedures-I5Q323ZZ.js} +3 -3
- package/dist/{graph-auto-extract-TIXRGBC5.js → graph-auto-extract-IA7T775I.js} +2 -2
- package/dist/hooks/bug-report-worker.js +13 -13
- package/dist/hooks/codex-stop-task-finalizer.js +13 -13
- package/dist/hooks/commit-complete.js +13 -13
- 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 +12 -12
- package/dist/hooks/post-tool-combined.js +8 -8
- package/dist/hooks/pre-compact.js +16 -16
- package/dist/hooks/pre-tool-use.js +16 -16
- package/dist/hooks/prompt-submit.js +25 -25
- package/dist/hooks/session-end.js +21 -21
- package/dist/hooks/session-start.js +12 -12
- package/dist/hooks/stop.js +19 -19
- package/dist/hooks/subagent-stop.js +12 -12
- package/dist/hooks/summary-worker.js +19 -19
- package/dist/index.js +20 -20
- package/dist/{installer-EQP2EMNZ.js → installer-2GKUCQ3K.js} +5 -5
- package/dist/{installer-IWRYH55Z.js → installer-E26MJH5Y.js} +5 -5
- package/dist/{installer-D7D5O4KL.js → installer-T4LWZXM2.js} +5 -5
- package/dist/lib/cloud-sync.js +12 -12
- package/dist/lib/consolidation.js +5 -5
- package/dist/lib/database.js +2 -2
- package/dist/lib/db-daemon-client.js +3 -3
- package/dist/lib/db.js +2 -2
- package/dist/lib/device-registry.js +1 -1
- 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 +50 -50
- package/dist/lib/hybrid-search.js +5 -5
- package/dist/lib/identity.js +2 -2
- package/dist/lib/license.js +2 -2
- package/dist/lib/messaging.js +11 -11
- 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 +12 -12
- package/dist/lib/tmux-routing.js +10 -10
- package/dist/lib/token-spend.js +3 -3
- package/dist/{license-gate-PZOP7S2S.js → license-gate-XP5CXPPD.js} +3 -3
- package/dist/mcp/register-tools.js +65 -65
- package/dist/mcp/server.js +66 -66
- 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 +14 -14
- 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 +14 -14
- package/dist/mcp/tools/send-message.js +13 -13
- package/dist/mcp/tools/update-task.js +13 -13
- package/dist/{mcp-http-config-23DHJAU4.js → mcp-http-config-ONEMD72I.js} +3 -3
- package/dist/{memory-cards-CNLMHSZC.js → memory-cards-DNUKSSAL.js} +2 -2
- package/dist/{memory-graph-extractor-HIXP2BQS.js → memory-graph-extractor-WFPYEFZQ.js} +3 -3
- package/dist/{memory-poisoning-defense-YL53IBBF.js → memory-poisoning-defense-O7JIJX4S.js} +2 -2
- package/dist/{memory-queue-client-YP2QKX6J.js → memory-queue-client-YYUUX4H6.js} +3 -3
- package/dist/{memory-reflection-VHQRUZWK.js → memory-reflection-NKH3Y4BD.js} +2 -2
- package/dist/{notifications-Q5NEAP6K.js → notifications-745BUZDE.js} +10 -10
- package/dist/{orchestration-events-7SNWRJYE.js → orchestration-events-TA4C54NO.js} +3 -3
- package/dist/{orchestrator-XWLKNWUG.js → orchestrator-2TDCJ2J7.js} +12 -12
- package/dist/{pipeline-router-5IBJBH7P.js → pipeline-router-NSEFTV72.js} +3 -3
- package/dist/{plan-limits-PBEZVHRQ.js → plan-limits-MGOHQWBB.js} +5 -5
- package/dist/{projection-worker-HELRBNDR.js → projection-worker-APOY7HML.js} +2 -2
- package/dist/{prospective-memory-N55XRGJP.js → prospective-memory-YHUWPNOO.js} +2 -2
- package/dist/{reranker-MNJSTOPR.js → reranker-YM3446PK.js} +1 -1
- package/dist/{retrieval-health-W4HNR3WX.js → retrieval-health-BH2RJG5C.js} +1 -1
- package/dist/{review-polling-SRYZU2PI.js → review-polling-XHJR5QXY.js} +11 -11
- package/dist/runtime/index.js +14 -14
- package/dist/{session-events-L4DK5J6J.js → session-events-U42CSAEX.js} +11 -11
- package/dist/{session-kill-telemetry-U2YHKHCB.js → session-kill-telemetry-UFZ7NPXG.js} +11 -11
- package/dist/{session-scope-JTPHECAU.js → session-scope-HNXLG56Y.js} +10 -10
- package/dist/{setup-wizard-IP5R66LR.js → setup-wizard-GXDNABWB.js} +1 -1
- package/dist/{skill-refinement-VTYL4OMJ.js → skill-refinement-JZJ5TASV.js} +2 -2
- package/dist/{stack-update-MRNVHUZZ.js → stack-update-K6X7ZMQE.js} +3 -3
- package/dist/{steward-gate-JEVUDTBI.js → steward-gate-5PKWKGCY.js} +3 -3
- package/dist/{task-enforcement-VFSAAZUN.js → task-enforcement-QBOMJKNP.js} +10 -10
- package/dist/{task-scope-P4VLIQNP.js → task-scope-FA2XRKHG.js} +10 -10
- package/dist/{tasks-crud-SC3ERIUR.js → tasks-crud-Q3DKZMU4.js} +10 -10
- package/dist/{tasks-notify-WJYBUCIB.js → tasks-notify-UIPEFCI4.js} +11 -11
- package/dist/{tasks-review-XPVPHCGD.js → tasks-review-ZPWWHTUV.js} +10 -10
- package/dist/{telemetry-upload-4QEYQROW.js → telemetry-upload-FW2HN7C7.js} +7 -7
- package/dist/{token-budget-UBOP3HVE.js → token-budget-HFQQSV46.js} +3 -3
- package/dist/{tool-capability-index-SHYCBE2Z.js → tool-capability-index-PK4A2BMA.js} +1 -1
- package/dist/{tool-telemetry-CDNPES5B.js → tool-telemetry-BP6PQRKE.js} +1 -1
- package/dist/tui/App.js +18 -18
- package/dist/{tui-data-HVYY7GRK.js → tui-data-PQOKT5N4.js} +10 -10
- package/dist/{worker-gate-KQTODSUQ.js → worker-gate-MLBXTRBD.js} +1 -1
- package/dist/{workflow-engine-OP2DQISD.js → workflow-engine-VKNRQT3O.js} +2 -2
- package/dist/{worktree-Z2G4CP4Z.js → worktree-BPHTRV5V.js} +4 -4
- package/dist/{worktree-sweep-LWSCAZW6.js → worktree-sweep-MLCBJZSK.js} +5 -5
- package/package.json +1 -1
- package/release-notes.json +14 -88
- /package/dist/{chunk-OJS2H5HR.js → chunk-22LALKS6.js} +0 -0
- /package/dist/{chunk-GIS4GBZE.js → chunk-2QUTPKH7.js} +0 -0
- /package/dist/{chunk-BRSMAFBN.js → chunk-4LTLAVOW.js} +0 -0
- /package/dist/{chunk-ZIVUMDHA.js → chunk-4NJZJJ5J.js} +0 -0
- /package/dist/{chunk-NAPBIDGH.js → chunk-6NVZI5LP.js} +0 -0
- /package/dist/{chunk-6PR2RAKM.js → chunk-AK5MFSYL.js} +0 -0
- /package/dist/{chunk-AIUXE3ZJ.js → chunk-GDOLQO6I.js} +0 -0
- /package/dist/{chunk-UST3MKK7.js → chunk-HEIZVOB2.js} +0 -0
- /package/dist/{chunk-ELFFRVNL.js → chunk-KM2HODV6.js} +0 -0
- /package/dist/{chunk-CSTL7BMK.js → chunk-QQ425N26.js} +0 -0
- /package/dist/{chunk-PCRRDXGL.js → chunk-SOCPFERN.js} +0 -0
- /package/dist/{chunk-75TM3APG.js → chunk-TY4RTYW6.js} +0 -0
- /package/dist/{chunk-RRYJTPVW.js → chunk-UPSG6BNC.js} +0 -0
- /package/dist/{core-memory-4JWCAGJI.js → core-memory-3ARYHKZM.js} +0 -0
- /package/dist/{entity-boost-AU342QRK.js → entity-boost-DL2ZSN7S.js} +0 -0
- /package/dist/{message-queue-client-IXYLJJVJ.js → message-queue-client-CVHQXJLM.js} +0 -0
- /package/dist/{oauth-server-F4QWESK2.js → oauth-server-CZHVC5S3.js} +0 -0
- /package/dist/{project-boot-OHEGJD2L.js → project-boot-UAW3NRQF.js} +0 -0
- /package/dist/{wiki-acl-6GZHUA44.js → wiki-acl-SYDZJOJD.js} +0 -0
|
@@ -2,42 +2,42 @@ import "../chunk-YSU7JB7H.js";
|
|
|
2
2
|
import "../chunk-SH45SJQW.js";
|
|
3
3
|
import {
|
|
4
4
|
getActiveAgent
|
|
5
|
-
} from "../chunk-
|
|
5
|
+
} from "../chunk-FPQUU3DI.js";
|
|
6
6
|
import {
|
|
7
7
|
sessionScopeFilter
|
|
8
|
-
} from "../chunk-
|
|
9
|
-
import "../chunk-
|
|
8
|
+
} from "../chunk-HEXJWMFX.js";
|
|
9
|
+
import "../chunk-QM7U5YKL.js";
|
|
10
10
|
import "../chunk-4JERP7NT.js";
|
|
11
11
|
import "../chunk-4FVVJ7ME.js";
|
|
12
12
|
import "../chunk-E23LNUWJ.js";
|
|
13
|
-
import "../chunk-
|
|
13
|
+
import "../chunk-GDAHXYNV.js";
|
|
14
14
|
import "../chunk-SSTLTIF3.js";
|
|
15
15
|
import "../chunk-KOO3J5PV.js";
|
|
16
16
|
import "../chunk-22TVSRQQ.js";
|
|
17
|
-
import "../chunk-
|
|
17
|
+
import "../chunk-6FKWKNTV.js";
|
|
18
18
|
import "../chunk-2PI6JBJL.js";
|
|
19
19
|
import "../chunk-NGP6LSV2.js";
|
|
20
|
-
import "../chunk-
|
|
20
|
+
import "../chunk-AJYTLDMN.js";
|
|
21
21
|
import {
|
|
22
22
|
getSessionKey
|
|
23
23
|
} from "../chunk-CVYC6DUW.js";
|
|
24
24
|
import "../chunk-OPU3NYOO.js";
|
|
25
25
|
import "../chunk-GJV3WDWM.js";
|
|
26
26
|
import "../chunk-MP2AFCGL.js";
|
|
27
|
-
import "../chunk-
|
|
27
|
+
import "../chunk-F347GH2N.js";
|
|
28
28
|
import "../chunk-HYZV25LY.js";
|
|
29
29
|
import {
|
|
30
30
|
canCoordinate,
|
|
31
31
|
loadEmployeesSync
|
|
32
|
-
} from "../chunk-
|
|
32
|
+
} from "../chunk-KWFWIJCI.js";
|
|
33
33
|
import "../chunk-2I23RPSI.js";
|
|
34
|
-
import "../chunk-
|
|
34
|
+
import "../chunk-QQ425N26.js";
|
|
35
35
|
import "../chunk-PNQDP3OA.js";
|
|
36
36
|
import "../chunk-H73TUI4Y.js";
|
|
37
37
|
import "../chunk-7HLWBYH7.js";
|
|
38
38
|
import "../chunk-FXU7JOXK.js";
|
|
39
|
-
import "../chunk-
|
|
40
|
-
import "../chunk-
|
|
39
|
+
import "../chunk-AU6N56DM.js";
|
|
40
|
+
import "../chunk-HEIZVOB2.js";
|
|
41
41
|
import {
|
|
42
42
|
EXE_AI_DIR
|
|
43
43
|
} from "../chunk-WCES22KG.js";
|
|
@@ -368,15 +368,15 @@ Do NOT report this as successful. No file was changed. If you are a sub-agent, r
|
|
|
368
368
|
process.exit(0);
|
|
369
369
|
}
|
|
370
370
|
}
|
|
371
|
-
const { getGatedAgent } = await import("../cto-delegation-gate-
|
|
371
|
+
const { getGatedAgent } = await import("../cto-delegation-gate-LE4EIVDK.js");
|
|
372
372
|
const gatedAgent = getGatedAgent();
|
|
373
373
|
if (agent.agentId === gatedAgent && /^(Write|Edit)$/.test(data.tool_name)) {
|
|
374
374
|
const filePath = data.tool_input?.file_path ?? "";
|
|
375
375
|
if (filePath) {
|
|
376
376
|
try {
|
|
377
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
377
|
+
const { fastDbInit } = await import("../fast-db-init-FC5O6LS7.js");
|
|
378
378
|
await fastDbInit();
|
|
379
|
-
const { evaluateDelegationGate, GATE_BLOCK_MESSAGE } = await import("../cto-delegation-gate-
|
|
379
|
+
const { evaluateDelegationGate, GATE_BLOCK_MESSAGE } = await import("../cto-delegation-gate-LE4EIVDK.js");
|
|
380
380
|
const decision = await evaluateDelegationGate({
|
|
381
381
|
agentId: agent.agentId,
|
|
382
382
|
toolName: data.tool_name,
|
|
@@ -429,7 +429,7 @@ Reason: ${decision.reason ?? "engineer-delegatable edit"}`;
|
|
|
429
429
|
const isUpdateTaskDone = (data.tool_name === "mcp__exe-os__update_task" || data.tool_name === "mcp__exe-mem__update_task") && toolInput.status === "done" && CTO_ROLES.includes(agent.agentRole);
|
|
430
430
|
if (isUpdateTaskDone) {
|
|
431
431
|
try {
|
|
432
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
432
|
+
const { fastDbInit } = await import("../fast-db-init-FC5O6LS7.js");
|
|
433
433
|
const client = await fastDbInit();
|
|
434
434
|
const taskId = String(toolInput.task_id ?? "");
|
|
435
435
|
const ptScope = sessionScopeFilter();
|
|
@@ -487,7 +487,7 @@ Reason: ${decision.reason ?? "engineer-delegatable edit"}`;
|
|
|
487
487
|
}
|
|
488
488
|
if (CTO_ROLES.includes(agent.agentRole) && !hasDelegationFired()) {
|
|
489
489
|
try {
|
|
490
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
490
|
+
const { fastDbInit } = await import("../fast-db-init-FC5O6LS7.js");
|
|
491
491
|
const client = await fastDbInit();
|
|
492
492
|
const dlScope = sessionScopeFilter();
|
|
493
493
|
const result = await client.execute({
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
hybridSearch,
|
|
3
3
|
lightweightSearch
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-JNGMXR4J.js";
|
|
5
5
|
import "../chunk-AB4PAQYK.js";
|
|
6
|
-
import "../chunk-
|
|
6
|
+
import "../chunk-BBLO7IAR.js";
|
|
7
7
|
import "../chunk-CHCA3ZM2.js";
|
|
8
8
|
import "../chunk-OTVEIJUQ.js";
|
|
9
|
-
import "../chunk-
|
|
9
|
+
import "../chunk-UPSG6BNC.js";
|
|
10
10
|
import {
|
|
11
11
|
isCacheCold
|
|
12
12
|
} from "../chunk-6A7P74QV.js";
|
|
@@ -14,24 +14,24 @@ import "../chunk-YSU7JB7H.js";
|
|
|
14
14
|
import "../chunk-SH45SJQW.js";
|
|
15
15
|
import {
|
|
16
16
|
getActiveAgent
|
|
17
|
-
} from "../chunk-
|
|
17
|
+
} from "../chunk-FPQUU3DI.js";
|
|
18
18
|
import "../chunk-Y25OJWOQ.js";
|
|
19
19
|
import {
|
|
20
20
|
formatIntercomPrompt,
|
|
21
21
|
isExeSession
|
|
22
|
-
} from "../chunk-
|
|
23
|
-
import "../chunk-
|
|
22
|
+
} from "../chunk-HEXJWMFX.js";
|
|
23
|
+
import "../chunk-QM7U5YKL.js";
|
|
24
24
|
import "../chunk-4JERP7NT.js";
|
|
25
25
|
import "../chunk-4FVVJ7ME.js";
|
|
26
26
|
import "../chunk-E23LNUWJ.js";
|
|
27
|
-
import "../chunk-
|
|
27
|
+
import "../chunk-GDAHXYNV.js";
|
|
28
28
|
import "../chunk-SSTLTIF3.js";
|
|
29
29
|
import "../chunk-KOO3J5PV.js";
|
|
30
30
|
import "../chunk-22TVSRQQ.js";
|
|
31
|
-
import "../chunk-
|
|
31
|
+
import "../chunk-6FKWKNTV.js";
|
|
32
32
|
import "../chunk-2PI6JBJL.js";
|
|
33
33
|
import "../chunk-NGP6LSV2.js";
|
|
34
|
-
import "../chunk-
|
|
34
|
+
import "../chunk-AJYTLDMN.js";
|
|
35
35
|
import {
|
|
36
36
|
getSessionKey
|
|
37
37
|
} from "../chunk-CVYC6DUW.js";
|
|
@@ -43,20 +43,20 @@ import "../chunk-MP2AFCGL.js";
|
|
|
43
43
|
import {
|
|
44
44
|
resolveHookSearchEnabled
|
|
45
45
|
} from "../chunk-KWOAM7TA.js";
|
|
46
|
-
import "../chunk-
|
|
46
|
+
import "../chunk-F347GH2N.js";
|
|
47
47
|
import "../chunk-HYZV25LY.js";
|
|
48
48
|
import {
|
|
49
49
|
canCoordinate
|
|
50
|
-
} from "../chunk-
|
|
50
|
+
} from "../chunk-KWFWIJCI.js";
|
|
51
51
|
import "../chunk-2I23RPSI.js";
|
|
52
|
-
import "../chunk-
|
|
52
|
+
import "../chunk-QQ425N26.js";
|
|
53
53
|
import "../chunk-PNQDP3OA.js";
|
|
54
54
|
import "../chunk-H73TUI4Y.js";
|
|
55
55
|
import "../chunk-7HLWBYH7.js";
|
|
56
56
|
import "../chunk-FXU7JOXK.js";
|
|
57
57
|
import "../chunk-Z42MXYWW.js";
|
|
58
|
-
import "../chunk-
|
|
59
|
-
import "../chunk-
|
|
58
|
+
import "../chunk-AU6N56DM.js";
|
|
59
|
+
import "../chunk-HEIZVOB2.js";
|
|
60
60
|
import {
|
|
61
61
|
EXE_AI_DIR,
|
|
62
62
|
loadConfig,
|
|
@@ -170,7 +170,7 @@ process.stdin.on("end", async () => {
|
|
|
170
170
|
process.exit(0);
|
|
171
171
|
}
|
|
172
172
|
try {
|
|
173
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
173
|
+
const { fastDbInit } = await import("../fast-db-init-FC5O6LS7.js");
|
|
174
174
|
await fastDbInit();
|
|
175
175
|
} catch {
|
|
176
176
|
}
|
|
@@ -366,7 +366,7 @@ ${fresh.map(
|
|
|
366
366
|
atomicWriteSync(counterPath, String(count));
|
|
367
367
|
const BEHAVIOR_REINJECT_INTERVAL = 50;
|
|
368
368
|
if (count === 1 || count % BEHAVIOR_REINJECT_INTERVAL === 0) {
|
|
369
|
-
const { listBehaviors } = await import("../behaviors-
|
|
369
|
+
const { listBehaviors } = await import("../behaviors-YDAHG2LN.js");
|
|
370
370
|
const behaviors = await listBehaviors(agent.agentId);
|
|
371
371
|
const active = behaviors.filter((b) => b.active !== 0).sort((a, b) => (a.priority === "p0" ? -1 : 1) - (b.priority === "p0" ? -1 : 1)).slice(0, 15);
|
|
372
372
|
if (active.length > 0) {
|
|
@@ -406,7 +406,7 @@ ${parts.join("\n\n")}`;
|
|
|
406
406
|
if (!lastCheckedAt) {
|
|
407
407
|
lastCheckedAt = "1970-01-01T00:00:00.000Z";
|
|
408
408
|
}
|
|
409
|
-
const { listBehaviorsSince } = await import("../behaviors-
|
|
409
|
+
const { listBehaviorsSince } = await import("../behaviors-YDAHG2LN.js");
|
|
410
410
|
const newBehaviors = await listBehaviorsSince(agent.agentId, lastCheckedAt);
|
|
411
411
|
if (newBehaviors.length > 0) {
|
|
412
412
|
const newReflex = newBehaviors.filter((b) => b.domain === "reflex");
|
|
@@ -474,7 +474,7 @@ ${body}`;
|
|
|
474
474
|
let reviewContext = "";
|
|
475
475
|
if (canCoordinate(agent.agentId, agent.agentRole)) {
|
|
476
476
|
try {
|
|
477
|
-
const { countPendingReviews, countNewPendingReviewsSince } = await import("../tasks-review-
|
|
477
|
+
const { countPendingReviews, countNewPendingReviewsSince } = await import("../tasks-review-ZPWWHTUV.js");
|
|
478
478
|
const sessionKey = getSessionKey();
|
|
479
479
|
const lastCheckPath = path.join(CACHE_DIR, `review-lastcheck-${sessionKey}.json`);
|
|
480
480
|
let sessionScope;
|
|
@@ -531,7 +531,7 @@ IMPORTANT: After completing your current task, you MUST address the pending revi
|
|
|
531
531
|
let coreMemoryContext = "";
|
|
532
532
|
if (!IS_CODEX_RUNTIME && agent.agentId !== "default") {
|
|
533
533
|
try {
|
|
534
|
-
const { getCoreMemory, formatCoreMemoryBlock } = await import("../core-memory-
|
|
534
|
+
const { getCoreMemory, formatCoreMemoryBlock } = await import("../core-memory-3ARYHKZM.js");
|
|
535
535
|
const entries = await getCoreMemory(agent.agentId);
|
|
536
536
|
const block = formatCoreMemoryBlock(entries);
|
|
537
537
|
if (block) coreMemoryContext = block;
|
|
@@ -604,7 +604,7 @@ IMPORTANT: After completing your current task, you MUST address the new task abo
|
|
|
604
604
|
} catch {
|
|
605
605
|
}
|
|
606
606
|
try {
|
|
607
|
-
const { recordOrchestrationEventBestEffort: recordOE } = await import("../orchestration-events-
|
|
607
|
+
const { recordOrchestrationEventBestEffort: recordOE } = await import("../orchestration-events-TA4C54NO.js");
|
|
608
608
|
recordOE({
|
|
609
609
|
eventType: "signal.consumed",
|
|
610
610
|
source: "prompt-submit.hook",
|
|
@@ -673,7 +673,7 @@ IMPORTANT: After completing your current task, you MUST address the new task abo
|
|
|
673
673
|
let idleTaskContext = "";
|
|
674
674
|
if (!taskSignalContext && agent.agentId !== "default" && !IS_CODEX_RUNTIME) {
|
|
675
675
|
try {
|
|
676
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
676
|
+
const { fastDbInit } = await import("../fast-db-init-FC5O6LS7.js");
|
|
677
677
|
const client = await fastDbInit();
|
|
678
678
|
let taskSessionScope = null;
|
|
679
679
|
if (inTmux) {
|
|
@@ -742,7 +742,7 @@ IMPORTANT: After completing your current task, you MUST address the new task abo
|
|
|
742
742
|
}
|
|
743
743
|
if (hints.length === 0) {
|
|
744
744
|
try {
|
|
745
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
745
|
+
const { fastDbInit } = await import("../fast-db-init-FC5O6LS7.js");
|
|
746
746
|
const client = await fastDbInit();
|
|
747
747
|
const reminderResult = await client.execute({
|
|
748
748
|
sql: `SELECT COUNT(*) as cnt FROM reminders WHERE completed_at IS NULL AND due_date IS NOT NULL AND due_date <= date('now', '+1 day')`,
|
|
@@ -821,8 +821,8 @@ async function writePromptMemory(prompt, sessionId, agent) {
|
|
|
821
821
|
return;
|
|
822
822
|
}
|
|
823
823
|
try {
|
|
824
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
825
|
-
const { recordSessionEvent } = await import("../session-events-
|
|
824
|
+
const { fastDbInit } = await import("../fast-db-init-FC5O6LS7.js");
|
|
825
|
+
const { recordSessionEvent } = await import("../session-events-U42CSAEX.js");
|
|
826
826
|
const client = await fastDbInit();
|
|
827
827
|
await recordSessionEvent(client, {
|
|
828
828
|
agentId: agent.agentId,
|
|
@@ -837,7 +837,7 @@ async function writePromptMemory(prompt, sessionId, agent) {
|
|
|
837
837
|
}
|
|
838
838
|
if (!loadConfigSync().autoIngestion) return;
|
|
839
839
|
try {
|
|
840
|
-
const { writeMemoryViaDaemon } = await import("../memory-queue-client-
|
|
840
|
+
const { writeMemoryViaDaemon } = await import("../memory-queue-client-YYUUX4H6.js");
|
|
841
841
|
const trimmed = prompt.trim();
|
|
842
842
|
const isSlashCommand = trimmed.startsWith("/");
|
|
843
843
|
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-6W5I6KFG.js";
|
|
4
|
+
import "../chunk-G76KKLCO.js";
|
|
5
5
|
import "../chunk-OXTZEKVA.js";
|
|
6
|
-
import "../chunk-
|
|
6
|
+
import "../chunk-2TJPU7ZV.js";
|
|
7
7
|
import "../chunk-V2CZVZUO.js";
|
|
8
8
|
import {
|
|
9
9
|
clearCacheState
|
|
@@ -13,43 +13,43 @@ import "../chunk-SH45SJQW.js";
|
|
|
13
13
|
import {
|
|
14
14
|
clearActiveAgent,
|
|
15
15
|
getActiveAgent
|
|
16
|
-
} from "../chunk-
|
|
16
|
+
} from "../chunk-FPQUU3DI.js";
|
|
17
17
|
import {
|
|
18
18
|
strictSessionScopeFilter
|
|
19
|
-
} from "../chunk-
|
|
20
|
-
import "../chunk-
|
|
19
|
+
} from "../chunk-HEXJWMFX.js";
|
|
20
|
+
import "../chunk-QM7U5YKL.js";
|
|
21
21
|
import "../chunk-4JERP7NT.js";
|
|
22
22
|
import "../chunk-4FVVJ7ME.js";
|
|
23
23
|
import "../chunk-E23LNUWJ.js";
|
|
24
|
-
import "../chunk-
|
|
24
|
+
import "../chunk-GDAHXYNV.js";
|
|
25
25
|
import "../chunk-SSTLTIF3.js";
|
|
26
26
|
import "../chunk-KOO3J5PV.js";
|
|
27
27
|
import "../chunk-22TVSRQQ.js";
|
|
28
|
-
import "../chunk-
|
|
28
|
+
import "../chunk-6FKWKNTV.js";
|
|
29
29
|
import "../chunk-2PI6JBJL.js";
|
|
30
30
|
import "../chunk-NGP6LSV2.js";
|
|
31
|
-
import "../chunk-
|
|
31
|
+
import "../chunk-AJYTLDMN.js";
|
|
32
32
|
import {
|
|
33
33
|
getSessionKey
|
|
34
34
|
} from "../chunk-CVYC6DUW.js";
|
|
35
35
|
import "../chunk-OPU3NYOO.js";
|
|
36
36
|
import "../chunk-GJV3WDWM.js";
|
|
37
37
|
import "../chunk-MP2AFCGL.js";
|
|
38
|
-
import "../chunk-
|
|
38
|
+
import "../chunk-TY4RTYW6.js";
|
|
39
39
|
import "../chunk-7XGDTKHX.js";
|
|
40
|
-
import "../chunk-
|
|
40
|
+
import "../chunk-F347GH2N.js";
|
|
41
41
|
import "../chunk-HYZV25LY.js";
|
|
42
42
|
import {
|
|
43
43
|
canCoordinate
|
|
44
|
-
} from "../chunk-
|
|
44
|
+
} from "../chunk-KWFWIJCI.js";
|
|
45
45
|
import "../chunk-2I23RPSI.js";
|
|
46
|
-
import "../chunk-
|
|
46
|
+
import "../chunk-QQ425N26.js";
|
|
47
47
|
import "../chunk-PNQDP3OA.js";
|
|
48
48
|
import "../chunk-H73TUI4Y.js";
|
|
49
49
|
import "../chunk-7HLWBYH7.js";
|
|
50
50
|
import "../chunk-FXU7JOXK.js";
|
|
51
|
-
import "../chunk-
|
|
52
|
-
import "../chunk-
|
|
51
|
+
import "../chunk-AU6N56DM.js";
|
|
52
|
+
import "../chunk-HEIZVOB2.js";
|
|
53
53
|
import "../chunk-WCES22KG.js";
|
|
54
54
|
import "../chunk-SHIICYJW.js";
|
|
55
55
|
import "../chunk-MLKGABMK.js";
|
|
@@ -262,7 +262,7 @@ process.stdin.on("end", async () => {
|
|
|
262
262
|
process.stderr.write(`[session-end] EXIT: ${agent.agentId} session=${Math.round((transcript.sessionDurationMs ?? 0) / 1e3)}s hook=${Math.round(hookUptimeMs / 1e3)}s \u2014 reason=${exitReason} daemon=${daemonAlive ? "alive" : "DEAD"}
|
|
263
263
|
`);
|
|
264
264
|
try {
|
|
265
|
-
const { recordOrchestrationEvent } = await import("../orchestration-events-
|
|
265
|
+
const { recordOrchestrationEvent } = await import("../orchestration-events-TA4C54NO.js");
|
|
266
266
|
await recordOrchestrationEvent({
|
|
267
267
|
eventType: "session.exit",
|
|
268
268
|
source: "hooks.session-end",
|
|
@@ -287,7 +287,7 @@ process.stdin.on("end", async () => {
|
|
|
287
287
|
}
|
|
288
288
|
if (agent.agentId) {
|
|
289
289
|
try {
|
|
290
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
290
|
+
const { fastDbInit } = await import("../fast-db-init-FC5O6LS7.js");
|
|
291
291
|
const client = await fastDbInit();
|
|
292
292
|
const seScope = strictSessionScopeFilter();
|
|
293
293
|
const orphanResult = await client.execute({
|
|
@@ -363,7 +363,7 @@ Orphaned tasks at session end: ${orphanResult.rows.map((r) => `"${String(r.title
|
|
|
363
363
|
});
|
|
364
364
|
if (conversationSummary.length > 100) {
|
|
365
365
|
try {
|
|
366
|
-
const { writeMemoryViaDaemon } = await import("../memory-queue-client-
|
|
366
|
+
const { writeMemoryViaDaemon } = await import("../memory-queue-client-YYUUX4H6.js");
|
|
367
367
|
await writeMemoryViaDaemon({
|
|
368
368
|
raw_text: conversationSummary.slice(0, 8e3),
|
|
369
369
|
agent_id: agent.agentId,
|
|
@@ -379,12 +379,12 @@ Orphaned tasks at session end: ${orphanResult.rows.map((r) => `"${String(r.title
|
|
|
379
379
|
}
|
|
380
380
|
}
|
|
381
381
|
try {
|
|
382
|
-
const { clearSessionFileReads } = await import("../git-staleness-
|
|
382
|
+
const { clearSessionFileReads } = await import("../git-staleness-BK46WKVL.js");
|
|
383
383
|
await clearSessionFileReads(data.session_id);
|
|
384
384
|
} catch {
|
|
385
385
|
}
|
|
386
386
|
try {
|
|
387
|
-
const { DreamingEngine } = await import("../dreaming-
|
|
387
|
+
const { DreamingEngine } = await import("../dreaming-FDO67PDP.js");
|
|
388
388
|
const engine = new DreamingEngine();
|
|
389
389
|
const dreamResult = await engine.runDreamCycle(agent.agentId);
|
|
390
390
|
let promoted = 0;
|
|
@@ -460,7 +460,7 @@ Orphaned tasks at session end: ${orphanResult.rows.map((r) => `"${String(r.title
|
|
|
460
460
|
parts.push(`Left in_progress (no matching commits, needs triage): ${leftInProgress.join(", ")}`);
|
|
461
461
|
}
|
|
462
462
|
try {
|
|
463
|
-
const { writeNotification } = await import("../notifications-
|
|
463
|
+
const { writeNotification } = await import("../notifications-745BUZDE.js");
|
|
464
464
|
await writeNotification({
|
|
465
465
|
agentId: agent.agentId,
|
|
466
466
|
agentRole: agent.agentRole,
|
|
@@ -73,9 +73,9 @@ process.stdin.on("data", (chunk) => {
|
|
|
73
73
|
process.stdin.on("end", async () => {
|
|
74
74
|
let failed = false;
|
|
75
75
|
try {
|
|
76
|
-
const { getActiveAgent } = await import("../active-agent-
|
|
76
|
+
const { getActiveAgent } = await import("../active-agent-BZ4JD2YU.js");
|
|
77
77
|
const { getProjectName } = await import("../project-name-EWG5KAZP.js");
|
|
78
|
-
const { getCurrentSessionScope } = await import("../task-scope-
|
|
78
|
+
const { getCurrentSessionScope } = await import("../task-scope-FA2XRKHG.js");
|
|
79
79
|
const { canCoordinate, loadEmployeesSync } = await import("../lib/employees.js");
|
|
80
80
|
const data = JSON.parse(input);
|
|
81
81
|
const projectName = getProjectName(data.cwd || void 0);
|
|
@@ -106,7 +106,7 @@ process.stdin.on("end", async () => {
|
|
|
106
106
|
if (daemonDegraded) {
|
|
107
107
|
process.stderr.write("[session-start] WARNING: daemon/DB unavailable after retries \u2014 booting in degraded mode (no memory context)\n");
|
|
108
108
|
try {
|
|
109
|
-
const { recordOrchestrationEvent } = await import("../orchestration-events-
|
|
109
|
+
const { recordOrchestrationEvent } = await import("../orchestration-events-TA4C54NO.js");
|
|
110
110
|
void recordOrchestrationEvent({
|
|
111
111
|
eventType: "mcp.unreachable",
|
|
112
112
|
source: "session-start.hook",
|
|
@@ -130,12 +130,12 @@ process.stdin.on("end", async () => {
|
|
|
130
130
|
}
|
|
131
131
|
if (!daemonDegraded) {
|
|
132
132
|
try {
|
|
133
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
133
|
+
const { fastDbInit } = await import("../fast-db-init-FC5O6LS7.js");
|
|
134
134
|
await fastDbInit();
|
|
135
135
|
} catch {
|
|
136
136
|
try {
|
|
137
137
|
await new Promise((resolve) => setTimeout(resolve, 750));
|
|
138
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
138
|
+
const { fastDbInit } = await import("../fast-db-init-FC5O6LS7.js");
|
|
139
139
|
await fastDbInit();
|
|
140
140
|
} catch {
|
|
141
141
|
daemonDegraded = true;
|
|
@@ -180,7 +180,7 @@ process.stdin.on("end", async () => {
|
|
|
180
180
|
});
|
|
181
181
|
}
|
|
182
182
|
try {
|
|
183
|
-
const { recordOrchestrationEvent } = await import("../orchestration-events-
|
|
183
|
+
const { recordOrchestrationEvent } = await import("../orchestration-events-TA4C54NO.js");
|
|
184
184
|
void recordOrchestrationEvent({
|
|
185
185
|
eventType: "session.born",
|
|
186
186
|
source: "session-start.hook",
|
|
@@ -197,7 +197,7 @@ process.stdin.on("end", async () => {
|
|
|
197
197
|
if (daemonDegraded) {
|
|
198
198
|
let degradedContext = "## \u26A0\uFE0F Degraded Boot\nThe daemon/MCP was unreachable **at boot time** (checked at " + (/* @__PURE__ */ new Date()).toISOString() + "). This is a point-in-time snapshot \u2014 the MCP server typically finishes connecting a few seconds later, so by the time you read this it is probably already live.\n\n**Before telling the user MCP is down or asking them to run `/mcp`, ALWAYS verify the current state by calling `mcp_ping` (or any exe-os MCP tool) first.** Only advise reconnecting if that call actually fails. This session simply started without memory context; if MCP tools fail later, retry once before reporting an issue.\n";
|
|
199
199
|
try {
|
|
200
|
-
const { getActiveAgent: getAgent } = await import("../active-agent-
|
|
200
|
+
const { getActiveAgent: getAgent } = await import("../active-agent-BZ4JD2YU.js");
|
|
201
201
|
const ag = getAgent();
|
|
202
202
|
if (ag.agentId !== "default") {
|
|
203
203
|
degradedContext = `## Your Identity
|
|
@@ -221,7 +221,7 @@ You are **${ag.agentId}**. The daemon was degraded at boot \u2014 memory context
|
|
|
221
221
|
query = `last actions on ${projectName}`;
|
|
222
222
|
header = "## Resuming Session\nHere's where you left off:";
|
|
223
223
|
try {
|
|
224
|
-
const { buildCatchupBrief } = await import("../catchup-brief-
|
|
224
|
+
const { buildCatchupBrief } = await import("../catchup-brief-5QIYT2IV.js");
|
|
225
225
|
const brief = await buildCatchupBrief(
|
|
226
226
|
agentId,
|
|
227
227
|
projectName,
|
|
@@ -233,7 +233,7 @@ You are **${ag.agentId}**. The daemon was degraded at boot \u2014 memory context
|
|
|
233
233
|
} catch {
|
|
234
234
|
}
|
|
235
235
|
try {
|
|
236
|
-
const { detectStaleFiles } = await import("../git-staleness-
|
|
236
|
+
const { detectStaleFiles } = await import("../git-staleness-BK46WKVL.js");
|
|
237
237
|
const staleFiles = await detectStaleFiles(agentId, data.cwd || process.cwd());
|
|
238
238
|
if (staleFiles.length > 0) {
|
|
239
239
|
extraContext += `${extraContext.length > 0 ? "\n\n" : ""}## \u26A0\uFE0F Stale File Warning
|
|
@@ -246,7 +246,7 @@ The following files have been modified since you last read them:
|
|
|
246
246
|
query = `recent work on ${projectName}`;
|
|
247
247
|
header = "## Memory Brief\nRecent memories from this project:";
|
|
248
248
|
}
|
|
249
|
-
const { queryTaskRows } = await import("../tasks-crud-
|
|
249
|
+
const { queryTaskRows } = await import("../tasks-crud-Q3DKZMU4.js");
|
|
250
250
|
const [memories, taskResult] = await Promise.all([
|
|
251
251
|
lightweightSearch(query, agentId, { projectName, limit: 5 }),
|
|
252
252
|
queryTaskRows({
|
|
@@ -341,7 +341,7 @@ ${wmContent}
|
|
|
341
341
|
`;
|
|
342
342
|
if (agentId !== "default" && !daemonDegraded) {
|
|
343
343
|
try {
|
|
344
|
-
const { readLatestCheckpoint } = await import("../tasks-crud-
|
|
344
|
+
const { readLatestCheckpoint } = await import("../tasks-crud-Q3DKZMU4.js");
|
|
345
345
|
const checkpoint = await readLatestCheckpoint(agentId);
|
|
346
346
|
if (checkpoint) {
|
|
347
347
|
const filesTouched = checkpoint.files_touched?.length > 0 ? checkpoint.files_touched.join(", ") : "none recorded";
|
|
@@ -419,7 +419,7 @@ ${phase.label}. Focus: ${phase.focus}. This is guidance, not a blocker; the user
|
|
|
419
419
|
}
|
|
420
420
|
if (source !== "resume" && agentId !== "default") {
|
|
421
421
|
try {
|
|
422
|
-
const { getPendingProspective, markSurfaced } = await import("../prospective-memory-
|
|
422
|
+
const { getPendingProspective, markSurfaced } = await import("../prospective-memory-YHUWPNOO.js");
|
|
423
423
|
const due = await getPendingProspective(agentId, { projectName, limit: 5 });
|
|
424
424
|
if (due.length > 0) {
|
|
425
425
|
const now = Date.now();
|
package/dist/hooks/stop.js
CHANGED
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
import "../chunk-SH45SJQW.js";
|
|
2
2
|
import {
|
|
3
3
|
getActiveAgent
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-FPQUU3DI.js";
|
|
5
5
|
import {
|
|
6
6
|
sessionScopeFilter
|
|
7
|
-
} from "../chunk-
|
|
8
|
-
import "../chunk-
|
|
7
|
+
} from "../chunk-HEXJWMFX.js";
|
|
8
|
+
import "../chunk-QM7U5YKL.js";
|
|
9
9
|
import "../chunk-4JERP7NT.js";
|
|
10
10
|
import "../chunk-4FVVJ7ME.js";
|
|
11
11
|
import "../chunk-E23LNUWJ.js";
|
|
12
|
-
import "../chunk-
|
|
12
|
+
import "../chunk-GDAHXYNV.js";
|
|
13
13
|
import "../chunk-SSTLTIF3.js";
|
|
14
14
|
import "../chunk-KOO3J5PV.js";
|
|
15
15
|
import "../chunk-22TVSRQQ.js";
|
|
16
|
-
import "../chunk-
|
|
16
|
+
import "../chunk-6FKWKNTV.js";
|
|
17
17
|
import "../chunk-2PI6JBJL.js";
|
|
18
18
|
import "../chunk-NGP6LSV2.js";
|
|
19
|
-
import "../chunk-
|
|
19
|
+
import "../chunk-AJYTLDMN.js";
|
|
20
20
|
import "../chunk-CVYC6DUW.js";
|
|
21
21
|
import "../chunk-OPU3NYOO.js";
|
|
22
22
|
import "../chunk-GJV3WDWM.js";
|
|
23
23
|
import "../chunk-MP2AFCGL.js";
|
|
24
|
-
import "../chunk-
|
|
24
|
+
import "../chunk-F347GH2N.js";
|
|
25
25
|
import "../chunk-HYZV25LY.js";
|
|
26
26
|
import {
|
|
27
27
|
canCoordinate
|
|
28
|
-
} from "../chunk-
|
|
28
|
+
} from "../chunk-KWFWIJCI.js";
|
|
29
29
|
import "../chunk-2I23RPSI.js";
|
|
30
|
-
import "../chunk-
|
|
30
|
+
import "../chunk-QQ425N26.js";
|
|
31
31
|
import "../chunk-PNQDP3OA.js";
|
|
32
32
|
import "../chunk-H73TUI4Y.js";
|
|
33
33
|
import "../chunk-7HLWBYH7.js";
|
|
34
34
|
import "../chunk-FXU7JOXK.js";
|
|
35
|
-
import "../chunk-
|
|
36
|
-
import "../chunk-
|
|
35
|
+
import "../chunk-AU6N56DM.js";
|
|
36
|
+
import "../chunk-HEIZVOB2.js";
|
|
37
37
|
import {
|
|
38
38
|
EXE_AI_DIR,
|
|
39
39
|
loadConfigSync
|
|
@@ -146,8 +146,8 @@ process.stdin.on("end", async () => {
|
|
|
146
146
|
process.exit(0);
|
|
147
147
|
}
|
|
148
148
|
try {
|
|
149
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
150
|
-
const { recordSessionEvent } = await import("../session-events-
|
|
149
|
+
const { fastDbInit } = await import("../fast-db-init-FC5O6LS7.js");
|
|
150
|
+
const { recordSessionEvent } = await import("../session-events-U42CSAEX.js");
|
|
151
151
|
const client = await fastDbInit({ daemonOnly: true });
|
|
152
152
|
await recordSessionEvent(client, {
|
|
153
153
|
agentId: agent.agentId,
|
|
@@ -165,7 +165,7 @@ process.stdin.on("end", async () => {
|
|
|
165
165
|
if (existsSync(taskCachePath)) {
|
|
166
166
|
const cached = JSON.parse(readFileSync(taskCachePath, "utf8"));
|
|
167
167
|
if (cached.taskId) {
|
|
168
|
-
const { createTokenBudgetMiddleware } = await import("../token-budget-
|
|
168
|
+
const { createTokenBudgetMiddleware } = await import("../token-budget-HFQQSV46.js");
|
|
169
169
|
const middleware = createTokenBudgetMiddleware(cached.taskId);
|
|
170
170
|
const estimatedOutputTokens = Math.ceil(message.length / 4);
|
|
171
171
|
const result = await middleware.onTokenUsed(0, estimatedOutputTokens);
|
|
@@ -183,7 +183,7 @@ process.stdin.on("end", async () => {
|
|
|
183
183
|
}
|
|
184
184
|
const CAPACITY_SIGNALS = /context[- ]?full|hit capacity|conversation is too long|maximum context length|context window.*(?:limit|exceed|full)/i;
|
|
185
185
|
if (!canCoordinate(agent.agentId, agent.agentRole) && CAPACITY_SIGNALS.test(message)) {
|
|
186
|
-
import("../fast-db-init-
|
|
186
|
+
import("../fast-db-init-FC5O6LS7.js").then(({ fastDbInit }) => fastDbInit({ daemonOnly: true })).then(async (client) => {
|
|
187
187
|
const stScope = sessionScopeFilter();
|
|
188
188
|
const tasks = await client.execute({
|
|
189
189
|
sql: `SELECT title, status, task_file FROM tasks
|
|
@@ -201,7 +201,7 @@ process.stdin.on("end", async () => {
|
|
|
201
201
|
"",
|
|
202
202
|
`Last response fragment: ${message.slice(0, 500)}`
|
|
203
203
|
].join("\n");
|
|
204
|
-
const { writeMemoryViaDaemon } = await import("../memory-queue-client-
|
|
204
|
+
const { writeMemoryViaDaemon } = await import("../memory-queue-client-YYUUX4H6.js");
|
|
205
205
|
await writeMemoryViaDaemon({
|
|
206
206
|
raw_text: checkpoint,
|
|
207
207
|
agent_id: agent.agentId,
|
|
@@ -254,7 +254,7 @@ Session: ${data.session_id}
|
|
|
254
254
|
|
|
255
255
|
## Recent Thread
|
|
256
256
|
${msgs.slice(-15).join("\n")}`;
|
|
257
|
-
const { writeMemoryViaDaemon } = await import("../memory-queue-client-
|
|
257
|
+
const { writeMemoryViaDaemon } = await import("../memory-queue-client-YYUUX4H6.js");
|
|
258
258
|
await writeMemoryViaDaemon({
|
|
259
259
|
raw_text: summary,
|
|
260
260
|
agent_id: agent.agentId,
|
|
@@ -329,7 +329,7 @@ ${msgs.slice(-15).join("\n")}`;
|
|
|
329
329
|
} catch {
|
|
330
330
|
}
|
|
331
331
|
if (!canCoordinate(agent.agentId, agent.agentRole)) {
|
|
332
|
-
import("../fast-db-init-
|
|
332
|
+
import("../fast-db-init-FC5O6LS7.js").then(({ fastDbInit }) => fastDbInit({ daemonOnly: true })).then(async (client) => {
|
|
333
333
|
const orScope = sessionScopeFilter();
|
|
334
334
|
return client.execute({
|
|
335
335
|
sql: `SELECT title, status FROM tasks
|
|
@@ -349,7 +349,7 @@ ${msgs.slice(-15).join("\n")}`;
|
|
|
349
349
|
});
|
|
350
350
|
}
|
|
351
351
|
if (AUTO_INGESTION_ENABLED) {
|
|
352
|
-
import("../memory-queue-client-
|
|
352
|
+
import("../memory-queue-client-YYUUX4H6.js").then(
|
|
353
353
|
({ writeMemoryViaDaemon }) => writeMemoryViaDaemon({
|
|
354
354
|
raw_text: message.slice(0, 5e3),
|
|
355
355
|
agent_id: agent.agentId,
|
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
import "../chunk-SH45SJQW.js";
|
|
2
2
|
import {
|
|
3
3
|
getActiveAgent
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-FPQUU3DI.js";
|
|
5
5
|
import {
|
|
6
6
|
sessionScopeFilter
|
|
7
|
-
} from "../chunk-
|
|
8
|
-
import "../chunk-
|
|
7
|
+
} from "../chunk-HEXJWMFX.js";
|
|
8
|
+
import "../chunk-QM7U5YKL.js";
|
|
9
9
|
import "../chunk-4JERP7NT.js";
|
|
10
10
|
import "../chunk-4FVVJ7ME.js";
|
|
11
11
|
import "../chunk-E23LNUWJ.js";
|
|
12
|
-
import "../chunk-
|
|
12
|
+
import "../chunk-GDAHXYNV.js";
|
|
13
13
|
import "../chunk-SSTLTIF3.js";
|
|
14
14
|
import "../chunk-KOO3J5PV.js";
|
|
15
15
|
import "../chunk-22TVSRQQ.js";
|
|
16
|
-
import "../chunk-
|
|
16
|
+
import "../chunk-6FKWKNTV.js";
|
|
17
17
|
import "../chunk-2PI6JBJL.js";
|
|
18
18
|
import "../chunk-NGP6LSV2.js";
|
|
19
|
-
import "../chunk-
|
|
19
|
+
import "../chunk-AJYTLDMN.js";
|
|
20
20
|
import "../chunk-CVYC6DUW.js";
|
|
21
21
|
import "../chunk-OPU3NYOO.js";
|
|
22
22
|
import "../chunk-GJV3WDWM.js";
|
|
23
23
|
import "../chunk-MP2AFCGL.js";
|
|
24
|
-
import "../chunk-
|
|
24
|
+
import "../chunk-F347GH2N.js";
|
|
25
25
|
import "../chunk-HYZV25LY.js";
|
|
26
26
|
import {
|
|
27
27
|
canCoordinate
|
|
28
|
-
} from "../chunk-
|
|
28
|
+
} from "../chunk-KWFWIJCI.js";
|
|
29
29
|
import "../chunk-2I23RPSI.js";
|
|
30
|
-
import "../chunk-
|
|
30
|
+
import "../chunk-QQ425N26.js";
|
|
31
31
|
import "../chunk-PNQDP3OA.js";
|
|
32
32
|
import "../chunk-H73TUI4Y.js";
|
|
33
33
|
import "../chunk-7HLWBYH7.js";
|
|
34
34
|
import "../chunk-FXU7JOXK.js";
|
|
35
|
-
import "../chunk-
|
|
36
|
-
import "../chunk-
|
|
35
|
+
import "../chunk-AU6N56DM.js";
|
|
36
|
+
import "../chunk-HEIZVOB2.js";
|
|
37
37
|
import "../chunk-WCES22KG.js";
|
|
38
38
|
import "../chunk-SHIICYJW.js";
|
|
39
39
|
import "../chunk-MLKGABMK.js";
|
|
@@ -118,7 +118,7 @@ process.stdin.on("end", async () => {
|
|
|
118
118
|
if (isSidechainTranscript(payload.transcript_path)) {
|
|
119
119
|
process.exit(0);
|
|
120
120
|
}
|
|
121
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
121
|
+
const { fastDbInit } = await import("../fast-db-init-FC5O6LS7.js");
|
|
122
122
|
const client = await fastDbInit();
|
|
123
123
|
const saScope = sessionScopeFilter();
|
|
124
124
|
const pendingResult = await client.execute({
|