@askexenow/exe-os 0.9.346 → 0.9.348
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/cloudflared/config.yml.example +9 -6
- package/deploy/compose/docker-compose.yml +16 -9
- package/deploy/compose/sso-edge/default.conf.template +26 -0
- package/deploy/stack-manifests/v0.9.json +1 -1
- package/dist/{active-agent-Y7B6SUEV.js → active-agent-PX6KAEEQ.js} +4 -3
- package/dist/{active-agent-JXJFAZMM.js → active-agent-QVLZKWR2.js} +4 -3
- package/dist/{agentic-ontology-AUJAVTHS.js → agentic-ontology-6MEXY5L7.js} +1 -1
- package/dist/{backfill-metadata-3LUJK7D4.js → backfill-metadata-MCFBGWKX.js} +6 -5
- package/dist/{backup-verify-6UAZ5ETR.js → backup-verify-RGB3KKD4.js} +2 -1
- package/dist/{behaviors-BVOBYS73.js → behaviors-6GI6VND2.js} +7 -6
- package/dist/bin/agentic-ontology-backfill.js +7 -6
- package/dist/bin/agentic-reflection-backfill.js +8 -7
- package/dist/bin/agentic-semantic-label.js +7 -6
- package/dist/bin/backfill-conversations.js +6 -5
- package/dist/bin/backfill-responses.js +6 -5
- package/dist/bin/backfill-vectors.js +7 -6
- package/dist/bin/bulk-sync-postgres.js +11 -10
- package/dist/bin/cc-doctor.js +5 -4
- package/dist/bin/cleanup-stale-review-tasks.js +16 -15
- package/dist/bin/cli.js +16 -16
- package/dist/bin/deferred-daemon-restart.js +107 -94
- package/dist/bin/exe-agent-config.js +5 -4
- package/dist/bin/exe-agent.js +6 -5
- package/dist/bin/exe-assign.js +7 -6
- package/dist/bin/exe-boot.js +31 -30
- package/dist/bin/exe-call.js +6 -5
- package/dist/bin/exe-cloud.js +26 -15
- package/dist/bin/exe-config-dump.js +5 -4
- package/dist/bin/exe-dispatch.js +16 -15
- package/dist/bin/exe-doctor.js +5 -4
- package/dist/bin/exe-export-behaviors.js +9 -8
- package/dist/bin/exe-forget.js +8 -7
- package/dist/bin/exe-gateway.js +8 -7
- package/dist/bin/exe-healthcheck.js +5 -4
- package/dist/bin/exe-heartbeat.js +18 -17
- package/dist/bin/exe-kill.js +20 -19
- package/dist/bin/exe-launch-agent.js +26 -25
- package/dist/bin/exe-memory-reads.js +6 -5
- package/dist/bin/exe-new-employee.js +10 -9
- package/dist/bin/exe-os-mcp-proxy.js +4 -3
- package/dist/bin/exe-pending-messages.js +17 -16
- package/dist/bin/exe-pending-notifications.js +16 -15
- package/dist/bin/exe-pending-reviews.js +16 -15
- package/dist/bin/exe-rename.js +6 -5
- package/dist/bin/exe-review.js +19 -18
- package/dist/bin/exe-search.js +7 -6
- package/dist/bin/exe-session-cleanup.js +20 -19
- package/dist/bin/exe-settings.js +13 -12
- package/dist/bin/exe-start-codex.js +102 -21
- package/dist/bin/exe-start-opencode.js +11 -10
- package/dist/bin/exe-status.js +17 -16
- package/dist/bin/exe-support.js +3 -3
- package/dist/bin/exe-team.js +4 -3
- package/dist/bin/git-sweep.js +17 -16
- package/dist/bin/graph-backfill.js +7 -6
- package/dist/bin/graph-export.js +7 -6
- package/dist/bin/import-history.js +10 -9
- package/dist/bin/install.js +73 -73
- package/dist/bin/intercom-check.js +4 -4
- package/dist/bin/mcp-sessions.js +2 -2
- package/dist/bin/orchestration-metrics.js +5 -4
- package/dist/bin/postgres-agentic-reflection-backfill.js +2 -2
- package/dist/bin/postgres-agentic-semantic-backfill.js +1 -1
- package/dist/bin/pre-publish.js +1 -1
- package/dist/bin/reconcile-backlog.js +2 -2
- package/dist/bin/registry-proxy.js +1 -1
- package/dist/bin/scan-tasks.js +16 -15
- package/dist/bin/setup.js +2 -2
- package/dist/bin/shard-migrate.js +6 -5
- package/dist/bin/stack-update.js +7 -6
- package/dist/bin/vps-health-gate.js +1 -1
- package/dist/{boot-generation-IF4J6UEJ.js → boot-generation-FB2J53IG.js} +4 -3
- package/dist/{boot-review-sections-WEEFCSBX.js → boot-review-sections-QF5MZGJI.js} +15 -14
- package/dist/{capability-cards-C65NRVTL.js → capability-cards-YADEM2KN.js} +3 -2
- package/dist/{capacity-monitor-PGYDR35M.js → capacity-monitor-CG2IGONS.js} +17 -16
- package/dist/{catchup-brief-QB7M3OY7.js → catchup-brief-QFVNMTU5.js} +20 -19
- package/dist/{chunk-H5RS3XRJ.js → chunk-23O6LHII.js} +1 -1
- package/dist/{chunk-RLULWMUL.js → chunk-27REQ7KR.js} +1 -1
- package/dist/{chunk-GGPLVRYZ.js → chunk-2AD2GAPC.js} +1 -1
- package/dist/{chunk-25CXLXZQ.js → chunk-2WJYLXPF.js} +1 -1
- package/dist/{chunk-CFA4T2HP.js → chunk-43RTUMUT.js} +1 -1
- package/dist/{chunk-RYTY7KNZ.js → chunk-5C46Y4AK.js} +1 -1
- package/dist/{chunk-X7NSCRCD.js → chunk-5KCC26FB.js} +2 -2
- package/dist/{chunk-44ZGOBMU.js → chunk-5RPCWLXE.js} +1 -1
- package/dist/{chunk-ZASZQDAI.js → chunk-6GSYN262.js} +1 -1
- package/dist/{chunk-QS6KVXUN.js → chunk-6JQTSKDR.js} +263 -111
- package/dist/{chunk-QCM3YWL7.js → chunk-6QRS3IZF.js} +1 -1
- package/dist/{chunk-X2PLFBVG.js → chunk-6WFXNQDJ.js} +1 -1
- package/dist/{chunk-LUQ57SRM.js → chunk-7QRMFYOV.js} +23 -9
- package/dist/{chunk-HBJAMWHT.js → chunk-7WQ3WHPW.js} +195 -153
- package/dist/{chunk-OIF65HXR.js → chunk-A3YHWWE6.js} +10 -6
- package/dist/{chunk-OZLNCLS3.js → chunk-A42356G7.js} +1 -1
- package/dist/{chunk-24BHZNOP.js → chunk-A43SIGAO.js} +3 -3
- package/dist/{chunk-LSTIMHL4.js → chunk-AFY4V4N3.js} +1 -1
- package/dist/{chunk-Y7GJ6HXA.js → chunk-AJIXH5JF.js} +79 -25
- package/dist/{chunk-EU2GUT67.js → chunk-AMC2OPYP.js} +1 -1
- package/dist/{chunk-N4XVAP7Z.js → chunk-AQ24P2O7.js} +4 -4
- package/dist/{chunk-KQ3HRA6Q.js → chunk-AUILJKSM.js} +2 -2
- package/dist/{chunk-OQB5SKO4.js → chunk-AXNUMBLO.js} +3 -3
- package/dist/{chunk-SQIH3TDK.js → chunk-BOQUXG7N.js} +4 -4
- package/dist/{chunk-4A6RX2N6.js → chunk-BTP7BORU.js} +1 -1
- package/dist/{chunk-LYNELMA2.js → chunk-BUUGFQHL.js} +2 -2
- package/dist/{chunk-6OEMGMOV.js → chunk-CCOKYSJA.js} +3 -3
- package/dist/{chunk-6F3OMSZJ.js → chunk-DAODOSH4.js} +1 -1
- package/dist/{chunk-MWXXVXJL.js → chunk-DJYJDK53.js} +7 -7
- package/dist/{chunk-ZK6I3PUX.js → chunk-DXMTJJP3.js} +4 -4
- package/dist/{chunk-CMTS2MLG.js → chunk-E3BNUQHW.js} +2 -2
- package/dist/{chunk-YKIQF6EY.js → chunk-EFHGK6JP.js} +1 -1
- package/dist/{chunk-Q6ZQIX7L.js → chunk-FE6WBI2M.js} +5 -1
- package/dist/{chunk-6YABSGAW.js → chunk-FENYNW52.js} +1 -1
- package/dist/{chunk-4KLQ4GH5.js → chunk-FFCPSPNK.js} +1 -1
- package/dist/{chunk-FEIACXDV.js → chunk-FPK753IZ.js} +16 -16
- package/dist/{chunk-NCMFMJMZ.js → chunk-GA655CUD.js} +2 -2
- package/dist/{chunk-BDFRAQG5.js → chunk-GJ6KIHOM.js} +4 -4
- package/dist/{chunk-CR7XPLLC.js → chunk-GKNWKQFY.js} +1 -1
- package/dist/{chunk-VQLGFSML.js → chunk-GLOWJP5H.js} +2 -2
- package/dist/{chunk-XTGZDP2L.js → chunk-H3TA23PH.js} +4 -4
- package/dist/{chunk-GGHH54QD.js → chunk-H5QNVWU4.js} +18 -10
- package/dist/{chunk-WKUX5PFV.js → chunk-HL24OHHS.js} +9 -9
- package/dist/{chunk-3WELJGZN.js → chunk-HYZE3MNS.js} +1 -1
- package/dist/{chunk-HVZKJMJX.js → chunk-JORPYG4O.js} +1 -1
- package/dist/{chunk-JNEVNS5R.js → chunk-JW5XS35A.js} +9 -9
- package/dist/{chunk-OM2XM5HU.js → chunk-KIMAQNSM.js} +3 -3
- package/dist/{chunk-TIZE727O.js → chunk-KZUU6MNF.js} +1 -1
- package/dist/{chunk-OELDRRCZ.js → chunk-L36RX54F.js} +104 -11
- package/dist/{chunk-ZZQ4AEYB.js → chunk-M7PBRIRH.js} +1 -1
- package/dist/{chunk-4JDRUXQV.js → chunk-MGMXYI7Y.js} +2 -2
- package/dist/{chunk-4BQYN4IJ.js → chunk-MH5HWMVH.js} +1 -1
- package/dist/{chunk-BUDVHNV2.js → chunk-MMOONM6D.js} +1 -1
- package/dist/{chunk-CQN4IKRB.js → chunk-MMXIE6HV.js} +1 -1
- package/dist/{chunk-LNMTCTSH.js → chunk-MOZY4IQO.js} +1 -1
- package/dist/{chunk-EYGMCOTV.js → chunk-MVZLF27P.js} +2 -2
- package/dist/{chunk-HMVGXC4I.js → chunk-NY6DU5RB.js} +1 -1
- package/dist/{chunk-WMJK4GBF.js → chunk-O522M4YZ.js} +1 -1
- package/dist/{chunk-EDC57TDH.js → chunk-OBWIVRD6.js} +1 -1
- package/dist/{chunk-Q7UHMUCE.js → chunk-PAXAF2UY.js} +35 -15
- package/dist/{chunk-YLLUGK6J.js → chunk-PBLDPW4U.js} +2 -2
- package/dist/{chunk-D74XYSA3.js → chunk-QCQT5RXR.js} +5 -1
- package/dist/{chunk-3QYE5U6D.js → chunk-QNKR7WEL.js} +20 -6
- package/dist/{chunk-E6TLQG2T.js → chunk-RBRGSOK5.js} +1 -1
- package/dist/{chunk-6I6OMBYY.js → chunk-RFRUDXOI.js} +2 -2
- package/dist/{chunk-MHZAUM7G.js → chunk-SLH2743O.js} +3 -3
- package/dist/{chunk-LP6EJVVN.js → chunk-SMQ642D3.js} +4 -4
- package/dist/{chunk-BCFWDNH7.js → chunk-SQ4WACH4.js} +1 -1
- package/dist/{chunk-6LLDY7AL.js → chunk-TF5E6O5Q.js} +1 -1
- package/dist/{chunk-IXIQSWHV.js → chunk-TLWYOMSS.js} +3 -3
- package/dist/{chunk-2LC2ASCN.js → chunk-UAKGNQWE.js} +1 -1
- package/dist/{chunk-2WEUQWFQ.js → chunk-UTQWVRU6.js} +5 -5
- package/dist/{chunk-VPY4CMD6.js → chunk-WL3IQJKN.js} +3 -3
- package/dist/{chunk-NGP6LSV2.js → chunk-WNBZJSQT.js} +10 -1
- package/dist/{chunk-MCZWZEVE.js → chunk-WUMWXU6B.js} +1 -1
- package/dist/{chunk-R6C6UGVG.js → chunk-WWT3E7DO.js} +3 -3
- package/dist/{chunk-ACYZER3P.js → chunk-WZJ3VYRJ.js} +3 -3
- package/dist/{chunk-2KOQKLDF.js → chunk-X6VEQ7MC.js} +1 -1
- package/dist/{chunk-HXIBVZC3.js → chunk-Y3JXLIZV.js} +3 -3
- package/dist/{chunk-2UA263BM.js → chunk-YAIFZXOM.js} +5 -5
- package/dist/{chunk-YGTKGAWM.js → chunk-YM6GJM2F.js} +4 -4
- package/dist/chunk-YMUZWC33.js +8 -0
- package/dist/{chunk-DKKMBEU6.js → chunk-YTPCJLEL.js} +1 -1
- package/dist/{chunk-RPAMFCPP.js → chunk-Z52QQB4Z.js} +2 -2
- package/dist/{chunk-PJOHJ7Q4.js → chunk-ZXSFUR77.js} +172 -35
- package/dist/{cleanup-graph-garbage-INHZJESS.js → cleanup-graph-garbage-XTSBQXD6.js} +8 -7
- package/dist/{cloud-sync-shutdown-HNQ7T3LA.js → cloud-sync-shutdown-A2QB74YM.js} +3 -2
- package/dist/{co-activation-IMZM3IXG.js → co-activation-S2FVGMQP.js} +3 -2
- package/dist/{co-occurrence-PZAEUDAP.js → co-occurrence-VQB6U5ME.js} +6 -5
- package/dist/{conversation-entity-extractor-AU55E6YT.js → conversation-entity-extractor-YF3ZLTEJ.js} +3 -3
- package/dist/{crdt-sync-LI6FL3DG.js → crdt-sync-2SGCDWC3.js} +1 -1
- package/dist/{crm-webhook-NOLMWTAP.js → crm-webhook-P64SXEHD.js} +2 -2
- package/dist/{cto-delegation-gate-SZCLR4PI.js → cto-delegation-gate-6KLGT2LB.js} +15 -14
- package/dist/{daemon-orchestration-R5HT252K.js → daemon-orchestration-JQGKEWPD.js} +20 -20
- package/dist/{dispatch-ack-VUGMAGNL.js → dispatch-ack-AZL3WKCK.js} +1 -2
- package/dist/{doc-graph-extractor-E5SXO6NZ.js → doc-graph-extractor-DCJMATVZ.js} +6 -5
- package/dist/{documents-PYKWTZBA.js → documents-7EPH3VPE.js} +7 -6
- package/dist/{dreaming-JAHOTVRJ.js → dreaming-O4P2W5E5.js} +19 -18
- package/dist/{exe-drift-DGIY5YBT.js → exe-drift-ED7FBS2C.js} +4 -3
- package/dist/{exe-export-A6MC7LZ7.js → exe-export-YJI4USGZ.js} +9 -8
- package/dist/{exe-import-HKA6LKHC.js → exe-import-SUTAYKUW.js} +9 -8
- package/dist/{exe-key-6QXOAVR4.js → exe-key-CRSDAOZD.js} +71 -71
- package/dist/{exe-snapshot-BUPXYKMH.js → exe-snapshot-KB4YYDCA.js} +20 -19
- package/dist/{fast-db-init-BXLBA6II.js → fast-db-init-3K2PV6GJ.js} +1 -1
- package/dist/{founder-context-5KQR3ER3.js → founder-context-JHHFM4GF.js} +2 -2
- package/dist/gateway/index.js +9 -8
- package/dist/{git-main-guard-UZP3KXYI.js → git-main-guard-TGK3RQY3.js} +1 -1
- package/dist/{git-staleness-OTIXXNBN.js → git-staleness-YPHGWE3B.js} +3 -2
- package/dist/{global-procedures-ACYUMLIG.js → global-procedures-PEWDBSPJ.js} +5 -4
- package/dist/{graph-auto-extract-QWVENG4K.js → graph-auto-extract-7OJYYV4G.js} +6 -5
- package/dist/{graph-rag-2I24BQC2.js → graph-rag-YFITUAVO.js} +3 -3
- package/dist/{hook-prefetch-22IJRGX4.js → hook-prefetch-O6ZCZCTX.js} +16 -15
- package/dist/hooks/bug-report-worker.js +18 -18
- package/dist/hooks/codex-stop-task-finalizer.js +19 -19
- package/dist/hooks/commit-complete.js +18 -17
- package/dist/hooks/error-recall.js +8 -7
- package/dist/hooks/exe-heartbeat-hook.js +4 -3
- package/dist/hooks/ingest.js +7 -6
- package/dist/hooks/instructions-loaded.js +5 -4
- package/dist/hooks/manifest.json +19 -19
- package/dist/hooks/notification.js +5 -4
- package/dist/hooks/post-compact.js +17 -16
- package/dist/hooks/post-tool-combined.js +9 -9
- package/dist/hooks/pre-compact.js +18 -17
- package/dist/hooks/pre-tool-use.js +38 -40
- package/dist/hooks/prompt-submit.js +31 -30
- package/dist/hooks/session-end.js +22 -21
- package/dist/hooks/session-start.js +13 -13
- package/dist/hooks/stop.js +21 -20
- package/dist/hooks/subagent-stop.js +19 -18
- package/dist/hooks/summary-worker.js +22 -21
- package/dist/index.js +25 -24
- package/dist/{installer-QYXL3HBG.js → installer-3ONNP5JV.js} +6 -5
- package/dist/{installer-RWPVEBMJ.js → installer-CY5PN7TN.js} +6 -5
- package/dist/{installer-NZ76KPYJ.js → installer-N4QXGINR.js} +6 -5
- package/dist/{intercom-queue-TAARE4O7.js → intercom-queue-A52WQOCD.js} +15 -14
- package/dist/lib/agent-config.js +2 -2
- package/dist/lib/cloud-sync.js +15 -10
- package/dist/lib/consolidation.js +8 -7
- package/dist/lib/database.js +5 -2
- package/dist/lib/db-backup.js +2 -1
- package/dist/lib/db-checkpoint-worker.js +9 -0
- package/dist/lib/db-read-worker-client.js +21 -8
- package/dist/lib/db-read-worker.js +15 -0
- package/dist/lib/db-write-worker-client.js +4 -1
- package/dist/lib/db-write-worker.js +21 -6
- package/dist/lib/db.js +5 -2
- package/dist/lib/device-registry.js +1 -1
- package/dist/lib/employee-templates.js +6 -5
- package/dist/lib/employees.js +3 -2
- package/dist/lib/exe-daemon.js +344 -179
- package/dist/lib/hybrid-search.js +7 -6
- package/dist/lib/identity.js +3 -2
- package/dist/lib/license.js +2 -2
- package/dist/lib/messaging.js +16 -15
- package/dist/lib/registry-proxy.js +1 -1
- package/dist/lib/reminders.js +4 -3
- package/dist/lib/runtime-table.js +9 -3
- package/dist/lib/schedules.js +7 -6
- package/dist/lib/session-registry.js +5 -4
- package/dist/lib/skill-learning.js +8 -7
- package/dist/lib/store.js +6 -5
- package/dist/lib/task-router.js +4 -3
- package/dist/lib/tasks.js +17 -17
- package/dist/lib/tmux-routing.js +15 -14
- package/dist/lib/token-spend.js +4 -3
- package/dist/{license-gate-CVHDQZJV.js → license-gate-ZRORTAQ2.js} +3 -3
- package/dist/{license-sync-72S7BWQY.js → license-sync-CQHBDUQE.js} +2 -2
- package/dist/mcp/register-tools.js +70 -70
- package/dist/mcp/server.js +71 -71
- package/dist/mcp/tools/complete-reminder.js +5 -4
- package/dist/mcp/tools/create-reminder.js +5 -4
- package/dist/mcp/tools/create-task.js +19 -19
- package/dist/mcp/tools/deactivate-behavior.js +9 -8
- package/dist/mcp/tools/list-reminders.js +5 -4
- package/dist/mcp/tools/list-tasks.js +19 -19
- package/dist/mcp/tools/send-message.js +18 -17
- package/dist/mcp/tools/update-task.js +18 -18
- package/dist/{mcp-http-config-JP3XSY2X.js → mcp-http-config-2A6HKQP5.js} +4 -3
- package/dist/{mcp-session-identity-DDAM464U.js → mcp-session-identity-OPRX32H5.js} +15 -14
- package/dist/{memory-cards-XJ2JMF3V.js → memory-cards-GFO2CSPV.js} +6 -5
- package/dist/{memory-graph-extractor-FJVF7RTG.js → memory-graph-extractor-2Z72HN5P.js} +7 -6
- package/dist/{memory-poisoning-defense-GM3GQPRI.js → memory-poisoning-defense-WZJ52KXT.js} +3 -2
- package/dist/{memory-pressure-watchdog-HB572OZG.js → memory-pressure-watchdog-IG7VRFIX.js} +16 -15
- package/dist/{memory-reflection-WIMMTW7M.js → memory-reflection-LTRHDGUL.js} +3 -2
- package/dist/{notification-ledger-5TQXBYY2.js → notification-ledger-KSCPGLQG.js} +16 -15
- package/dist/{notifications-LA3X57YT.js → notifications-YKHZPCXU.js} +15 -14
- package/dist/{orchestration-events-KFZMGU3D.js → orchestration-events-HAFDPTLV.js} +4 -3
- package/dist/{orchestrator-MOJEAZ3K.js → orchestrator-4MZEQULR.js} +17 -16
- package/dist/{pipeline-router-2V5NFQ2O.js → pipeline-router-RSRJPZNI.js} +4 -3
- package/dist/{plan-limits-2LHFEYOT.js → plan-limits-5QYYPIPT.js} +6 -5
- package/dist/{platform-procedures-G44IYUM2.js → platform-procedures-DZ6YABEK.js} +1 -1
- package/dist/{projection-worker-ZMHVILPW.js → projection-worker-SKAMSZJF.js} +2 -2
- package/dist/{prospective-memory-JEWS5GFU.js → prospective-memory-V7LFCPU4.js} +3 -2
- package/dist/{reranker-TBQV76K4.js → reranker-HXMJ7SKW.js} +1 -1
- package/dist/{retrieval-health-HYXDUNFE.js → retrieval-health-4NCBHUUS.js} +1 -1
- package/dist/{review-polling-OFGP5Q7M.js → review-polling-KQUALBEU.js} +16 -15
- package/dist/runtime/index.js +19 -18
- package/dist/{session-events-ABAI2KE3.js → session-events-3KL735DZ.js} +16 -15
- package/dist/{session-kill-telemetry-2MHLK4Z4.js → session-kill-telemetry-KVRGLYVI.js} +16 -15
- package/dist/{session-scope-MRIE7ZKS.js → session-scope-LBG6DT5O.js} +15 -14
- package/dist/{setup-wizard-UQ3B2E6D.js → setup-wizard-UL3AKI6E.js} +2 -2
- package/dist/{skill-refinement-46QDGAGE.js → skill-refinement-6HPISXQC.js} +4 -3
- package/dist/{stack-update-5BPENFJK.js → stack-update-WBDTJJEF.js} +7 -3
- package/dist/{steward-gate-GXINMHNV.js → steward-gate-CWPD4HEK.js} +4 -3
- package/dist/{support-inbox-TCOASPLK.js → support-inbox-HRIHHKPU.js} +3 -3
- package/dist/{task-enforcement-OJAG2BGJ.js → task-enforcement-OAOL7XFL.js} +16 -15
- package/dist/{task-scope-5GKJTQL2.js → task-scope-PSVAE3EM.js} +15 -14
- package/dist/{tasks-crud-ZWKPTGPU.js → tasks-crud-TLELWWUL.js} +17 -14
- package/dist/{tasks-notify-IUDI6SYJ.js → tasks-notify-7Q2XTDZ7.js} +16 -16
- package/dist/{tasks-review-INJKVN63.js → tasks-review-S6QB5KGS.js} +15 -14
- package/dist/{telemetry-upload-LIC7M7AY.js → telemetry-upload-LTL5SW24.js} +8 -7
- package/dist/{token-budget-PABF5ZBO.js → token-budget-SK32GKFZ.js} +4 -3
- package/dist/{tool-telemetry-PDHE36YD.js → tool-telemetry-QJGJAHOC.js} +1 -1
- package/dist/tui/App.js +24 -23
- package/dist/{tui-data-Y6X7A4U4.js → tui-data-3JSV56ME.js} +15 -14
- package/dist/{update-support-COJYGU2V.js → update-support-LMPGWJVG.js} +10 -9
- package/dist/{work-state-heartbeat-YV3MAIQY.js → work-state-heartbeat-MQQOCU54.js} +1 -1
- package/dist/{worker-gate-BLJENHMV.js → worker-gate-P2O64XMH.js} +1 -1
- package/dist/{workflow-engine-AAPPPMFS.js → workflow-engine-BLLQKA3O.js} +2 -2
- package/dist/{worktree-MGYTWKCA.js → worktree-FJZXHDCJ.js} +5 -4
- package/dist/{worktree-sweep-HNNHNAXN.js → worktree-sweep-SW4AG6JR.js} +6 -5
- package/package.json +1 -1
- package/release-notes.json +56 -104
- package/dist/chunk-GSIJL4YA.js +0 -58
- /package/dist/{chunk-GH5YKFE7.js → chunk-AQ6ECPUP.js} +0 -0
- /package/dist/{chunk-O3XAKSKI.js → chunk-DRHXISWL.js} +0 -0
- /package/dist/{chunk-A3MGVYSP.js → chunk-E42D2E5F.js} +0 -0
- /package/dist/{chunk-PDN25UJU.js → chunk-FXZRJT3H.js} +0 -0
- /package/dist/{chunk-CHDPANT4.js → chunk-GFIWADEH.js} +0 -0
- /package/dist/{chunk-W7JPRQM2.js → chunk-GPZQZTJB.js} +0 -0
- /package/dist/{chunk-WPQ5LWMW.js → chunk-H4JKOLXU.js} +0 -0
- /package/dist/{chunk-RYWVPACG.js → chunk-HTJKAAHD.js} +0 -0
- /package/dist/{chunk-PDWIUSQH.js → chunk-PIUDQ7P2.js} +0 -0
- /package/dist/{chunk-HIN6X5QB.js → chunk-QUOMJKVF.js} +0 -0
- /package/dist/{chunk-DY7WDHMC.js → chunk-XF2D4CDA.js} +0 -0
- /package/dist/{core-memory-TBLZ2YQQ.js → core-memory-Z7LPR3RX.js} +0 -0
- /package/dist/{oauth-server-IB7OWY4H.js → oauth-server-FSKABATB.js} +0 -0
- /package/dist/{project-boot-TI3PUQNN.js → project-boot-FVSC4VQC.js} +0 -0
- /package/dist/{wiki-acl-V5IRECJ3.js → wiki-acl-CW2UALTJ.js} +0 -0
|
@@ -46,7 +46,7 @@ process.stdin.on("end", async () => {
|
|
|
46
46
|
if (detectError(payload)) {
|
|
47
47
|
const { isDaemonReady } = await import("../daemon-ready-signal-TVCPSG7J.js");
|
|
48
48
|
if (isDaemonReady()) {
|
|
49
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
49
|
+
const { fastDbInit } = await import("../fast-db-init-3K2PV6GJ.js");
|
|
50
50
|
await fastDbInit({ daemonOnly: true });
|
|
51
51
|
const errorText = JSON.stringify(payload.tool_response ?? payload.tool_result ?? "");
|
|
52
52
|
const { lightweightSearch } = await import("../lib/hybrid-search.js");
|
|
@@ -75,7 +75,7 @@ ${context}`
|
|
|
75
75
|
if (toolName.startsWith("mcp__exe-os__")) {
|
|
76
76
|
const { detectError } = await import("../lib/error-detector.js");
|
|
77
77
|
if (!detectError(payload)) {
|
|
78
|
-
const { getActiveAgent } = await import("../active-agent-
|
|
78
|
+
const { getActiveAgent } = await import("../active-agent-QVLZKWR2.js");
|
|
79
79
|
const { clearMcpStale } = await import("../mcp-stale-flag-ZM23XRSJ.js");
|
|
80
80
|
clearMcpStale(getActiveAgent().agentId);
|
|
81
81
|
}
|
|
@@ -85,7 +85,7 @@ ${context}`
|
|
|
85
85
|
try {
|
|
86
86
|
const payload = JSON.parse(input);
|
|
87
87
|
const toolName = String(payload.tool_name ?? "");
|
|
88
|
-
const { getActiveAgent } = await import("../active-agent-
|
|
88
|
+
const { getActiveAgent } = await import("../active-agent-QVLZKWR2.js");
|
|
89
89
|
const driftAgent = getActiveAgent();
|
|
90
90
|
if (driftAgent.agentId !== "default" && toolName) {
|
|
91
91
|
const { existsSync: driftExists, readFileSync: driftRead, writeFileSync: driftWrite, mkdirSync: driftMkdir } = await import("fs");
|
|
@@ -142,7 +142,7 @@ You are **${driftAgent.agentId}**. You've used ${mismatches.length} tools outsid
|
|
|
142
142
|
}
|
|
143
143
|
try {
|
|
144
144
|
const payload = JSON.parse(input);
|
|
145
|
-
const { getActiveAgent: getInvAgent } = await import("../active-agent-
|
|
145
|
+
const { getActiveAgent: getInvAgent } = await import("../active-agent-QVLZKWR2.js");
|
|
146
146
|
const invAgent = getInvAgent();
|
|
147
147
|
const { trackToolResult } = await import("../investigation-tracker-WSCY4XBP.js");
|
|
148
148
|
trackToolResult({
|
|
@@ -159,7 +159,7 @@ You are **${driftAgent.agentId}**. You've used ${mismatches.length} tools outsid
|
|
|
159
159
|
}
|
|
160
160
|
try {
|
|
161
161
|
const budgetData = JSON.parse(input);
|
|
162
|
-
const { getActiveAgent: getBudgetAgent } = await import("../active-agent-
|
|
162
|
+
const { getActiveAgent: getBudgetAgent } = await import("../active-agent-QVLZKWR2.js");
|
|
163
163
|
const budgetAgent = getBudgetAgent();
|
|
164
164
|
if (budgetAgent.agentId !== "default") {
|
|
165
165
|
const budgetPath = await import("path");
|
|
@@ -182,7 +182,7 @@ You are **${driftAgent.agentId}**. You've used ${mismatches.length} tools outsid
|
|
|
182
182
|
const toolOutputStr = JSON.stringify(budgetData.tool_response ?? budgetData.tool_result ?? {});
|
|
183
183
|
const estimatedInputTokens = Math.ceil(toolInputStr.length / 4);
|
|
184
184
|
const estimatedOutputTokens = Math.ceil(toolOutputStr.length / 4);
|
|
185
|
-
const { createTokenBudgetMiddleware } = await import("../token-budget-
|
|
185
|
+
const { createTokenBudgetMiddleware } = await import("../token-budget-SK32GKFZ.js");
|
|
186
186
|
const middleware = createTokenBudgetMiddleware(cached.taskId);
|
|
187
187
|
const budgetResult = await middleware.onTokenUsed(estimatedInputTokens, estimatedOutputTokens);
|
|
188
188
|
if (budgetResult.warned) {
|
|
@@ -211,12 +211,12 @@ Your task token budget has been reached (${budgetResult.percentUsed}% used). Wra
|
|
|
211
211
|
}
|
|
212
212
|
try {
|
|
213
213
|
const data = JSON.parse(input);
|
|
214
|
-
const { getActiveAgent } = await import("../active-agent-
|
|
214
|
+
const { getActiveAgent } = await import("../active-agent-QVLZKWR2.js");
|
|
215
215
|
const { detectError } = await import("../lib/error-detector.js");
|
|
216
216
|
const agent = getActiveAgent();
|
|
217
217
|
try {
|
|
218
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
219
|
-
const { recordSessionEvent } = await import("../session-events-
|
|
218
|
+
const { fastDbInit } = await import("../fast-db-init-3K2PV6GJ.js");
|
|
219
|
+
const { recordSessionEvent } = await import("../session-events-3KL735DZ.js");
|
|
220
220
|
const client = await fastDbInit({ daemonOnly: true });
|
|
221
221
|
const toolName = String(data.tool_name ?? "unknown");
|
|
222
222
|
const toolInput = JSON.stringify(data.tool_input ?? {});
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
checkpointActiveTask,
|
|
3
3
|
writeContinuityCheckpoint
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-DRHXISWL.js";
|
|
5
5
|
import "../chunk-SH45SJQW.js";
|
|
6
6
|
import {
|
|
7
7
|
getActiveAgent
|
|
8
|
-
} from "../chunk-
|
|
8
|
+
} from "../chunk-TF5E6O5Q.js";
|
|
9
9
|
import {
|
|
10
10
|
sessionScopeFilter
|
|
11
|
-
} from "../chunk-
|
|
12
|
-
import "../chunk-
|
|
13
|
-
import "../chunk-
|
|
14
|
-
import "../chunk-
|
|
11
|
+
} from "../chunk-ZXSFUR77.js";
|
|
12
|
+
import "../chunk-RBRGSOK5.js";
|
|
13
|
+
import "../chunk-OBWIVRD6.js";
|
|
14
|
+
import "../chunk-A42356G7.js";
|
|
15
15
|
import "../chunk-E23LNUWJ.js";
|
|
16
16
|
import "../chunk-4JERP7NT.js";
|
|
17
17
|
import "../chunk-EIKATSE4.js";
|
|
18
|
-
import "../chunk-
|
|
18
|
+
import "../chunk-HYZE3MNS.js";
|
|
19
19
|
import "../chunk-AD2VCHSS.js";
|
|
20
20
|
import "../chunk-WOYADZF5.js";
|
|
21
21
|
import "../chunk-SKGMF2SO.js";
|
|
22
|
-
import "../chunk-
|
|
23
|
-
import "../chunk-
|
|
24
|
-
import "../chunk-
|
|
22
|
+
import "../chunk-AMC2OPYP.js";
|
|
23
|
+
import "../chunk-AJIXH5JF.js";
|
|
24
|
+
import "../chunk-A3YHWWE6.js";
|
|
25
25
|
import "../chunk-AM7S2TY6.js";
|
|
26
|
-
import "../chunk-
|
|
26
|
+
import "../chunk-RFRUDXOI.js";
|
|
27
27
|
import "../chunk-OSKWCKUC.js";
|
|
28
28
|
import "../chunk-KI5PFRG6.js";
|
|
29
29
|
import "../chunk-CVYC6DUW.js";
|
|
@@ -37,16 +37,17 @@ import "../chunk-NLEW62VC.js";
|
|
|
37
37
|
import "../chunk-HYZV25LY.js";
|
|
38
38
|
import "../chunk-GJV3WDWM.js";
|
|
39
39
|
import "../chunk-MP2AFCGL.js";
|
|
40
|
-
import "../chunk-
|
|
40
|
+
import "../chunk-QNKR7WEL.js";
|
|
41
41
|
import "../chunk-2I23RPSI.js";
|
|
42
|
-
import "../chunk-
|
|
42
|
+
import "../chunk-FE6WBI2M.js";
|
|
43
43
|
import "../chunk-OMXJMOBD.js";
|
|
44
44
|
import "../chunk-7HLWBYH7.js";
|
|
45
45
|
import "../chunk-BBMTVAE3.js";
|
|
46
|
+
import "../chunk-YMUZWC33.js";
|
|
46
47
|
import "../chunk-FXU7JOXK.js";
|
|
47
|
-
import "../chunk-
|
|
48
|
-
import "../chunk-
|
|
49
|
-
import "../chunk-
|
|
48
|
+
import "../chunk-WNBZJSQT.js";
|
|
49
|
+
import "../chunk-MMOONM6D.js";
|
|
50
|
+
import "../chunk-XF2D4CDA.js";
|
|
50
51
|
import "../chunk-BCZF3AGJ.js";
|
|
51
52
|
import "../chunk-HSGBZSCA.js";
|
|
52
53
|
import "../chunk-MLKGABMK.js";
|
|
@@ -94,7 +95,7 @@ process.stdin.on("end", async () => {
|
|
|
94
95
|
const agent = getActiveAgent();
|
|
95
96
|
const sections = [];
|
|
96
97
|
try {
|
|
97
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
98
|
+
const { fastDbInit } = await import("../fast-db-init-3K2PV6GJ.js");
|
|
98
99
|
const client = await fastDbInit({ socketOnly: true });
|
|
99
100
|
const projectName = process.cwd().split("/").pop() ?? "unknown";
|
|
100
101
|
const pcScope = sessionScopeFilter();
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
evaluateMainGuard
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-QCQT5RXR.js";
|
|
4
4
|
import {
|
|
5
5
|
resolveSidechainAgentIdentity
|
|
6
6
|
} from "../chunk-6IWLAQ7O.js";
|
|
@@ -8,25 +8,25 @@ import "../chunk-YSU7JB7H.js";
|
|
|
8
8
|
import "../chunk-SH45SJQW.js";
|
|
9
9
|
import {
|
|
10
10
|
getActiveAgent
|
|
11
|
-
} from "../chunk-
|
|
11
|
+
} from "../chunk-TF5E6O5Q.js";
|
|
12
12
|
import {
|
|
13
13
|
sessionScopeFilter
|
|
14
|
-
} from "../chunk-
|
|
15
|
-
import "../chunk-
|
|
16
|
-
import "../chunk-
|
|
17
|
-
import "../chunk-
|
|
14
|
+
} from "../chunk-ZXSFUR77.js";
|
|
15
|
+
import "../chunk-RBRGSOK5.js";
|
|
16
|
+
import "../chunk-OBWIVRD6.js";
|
|
17
|
+
import "../chunk-A42356G7.js";
|
|
18
18
|
import "../chunk-E23LNUWJ.js";
|
|
19
19
|
import "../chunk-4JERP7NT.js";
|
|
20
20
|
import "../chunk-EIKATSE4.js";
|
|
21
|
-
import "../chunk-
|
|
21
|
+
import "../chunk-HYZE3MNS.js";
|
|
22
22
|
import "../chunk-AD2VCHSS.js";
|
|
23
23
|
import "../chunk-WOYADZF5.js";
|
|
24
24
|
import "../chunk-SKGMF2SO.js";
|
|
25
|
-
import "../chunk-
|
|
26
|
-
import "../chunk-
|
|
27
|
-
import "../chunk-
|
|
25
|
+
import "../chunk-AMC2OPYP.js";
|
|
26
|
+
import "../chunk-AJIXH5JF.js";
|
|
27
|
+
import "../chunk-A3YHWWE6.js";
|
|
28
28
|
import "../chunk-AM7S2TY6.js";
|
|
29
|
-
import "../chunk-
|
|
29
|
+
import "../chunk-RFRUDXOI.js";
|
|
30
30
|
import "../chunk-OSKWCKUC.js";
|
|
31
31
|
import "../chunk-KI5PFRG6.js";
|
|
32
32
|
import {
|
|
@@ -45,16 +45,17 @@ import "../chunk-MP2AFCGL.js";
|
|
|
45
45
|
import {
|
|
46
46
|
canCoordinate,
|
|
47
47
|
loadEmployeesSync
|
|
48
|
-
} from "../chunk-
|
|
48
|
+
} from "../chunk-QNKR7WEL.js";
|
|
49
49
|
import "../chunk-2I23RPSI.js";
|
|
50
|
-
import "../chunk-
|
|
50
|
+
import "../chunk-FE6WBI2M.js";
|
|
51
51
|
import "../chunk-OMXJMOBD.js";
|
|
52
52
|
import "../chunk-7HLWBYH7.js";
|
|
53
53
|
import "../chunk-BBMTVAE3.js";
|
|
54
|
+
import "../chunk-YMUZWC33.js";
|
|
54
55
|
import "../chunk-FXU7JOXK.js";
|
|
55
|
-
import "../chunk-
|
|
56
|
-
import "../chunk-
|
|
57
|
-
import "../chunk-
|
|
56
|
+
import "../chunk-WNBZJSQT.js";
|
|
57
|
+
import "../chunk-MMOONM6D.js";
|
|
58
|
+
import "../chunk-XF2D4CDA.js";
|
|
58
59
|
import {
|
|
59
60
|
EXE_AI_DIR
|
|
60
61
|
} from "../chunk-BCZF3AGJ.js";
|
|
@@ -238,14 +239,7 @@ function pathContains(root, candidate) {
|
|
|
238
239
|
const relative = path2.relative(path2.resolve(root), path2.resolve(candidate));
|
|
239
240
|
return relative === "" || relative !== ".." && !relative.startsWith("../") && !path2.isAbsolute(relative);
|
|
240
241
|
}
|
|
241
|
-
function
|
|
242
|
-
return pathContains(ctx.repoRoot, filePath) && !pathContains(ctx.worktreeRoot, filePath);
|
|
243
|
-
}
|
|
244
|
-
function rewriteToWorktree(filePath, ctx) {
|
|
245
|
-
const relative = path2.relative(ctx.repoRoot, filePath);
|
|
246
|
-
return path2.join(ctx.worktreeRoot, relative);
|
|
247
|
-
}
|
|
248
|
-
function nearestGitRoot(filePath) {
|
|
242
|
+
function gitRootOf(filePath) {
|
|
249
243
|
let probe = path2.resolve(filePath);
|
|
250
244
|
if (!existsSync(probe)) probe = path2.dirname(probe);
|
|
251
245
|
while (true) {
|
|
@@ -255,13 +249,17 @@ function nearestGitRoot(filePath) {
|
|
|
255
249
|
probe = parent;
|
|
256
250
|
}
|
|
257
251
|
}
|
|
252
|
+
function isMainRepoPath(filePath, ctx) {
|
|
253
|
+
if (!pathContains(ctx.repoRoot, filePath) || pathContains(ctx.worktreeRoot, filePath)) return false;
|
|
254
|
+
const targetGitRoot = gitRootOf(filePath);
|
|
255
|
+
return targetGitRoot === null || path2.resolve(targetGitRoot) === path2.resolve(ctx.repoRoot);
|
|
256
|
+
}
|
|
257
|
+
function rewriteToWorktree(filePath, ctx) {
|
|
258
|
+
const relative = path2.relative(ctx.repoRoot, filePath);
|
|
259
|
+
return path2.join(ctx.worktreeRoot, relative);
|
|
260
|
+
}
|
|
258
261
|
function shouldApplyOuterWorktreeGuard(filePath, ctx) {
|
|
259
|
-
|
|
260
|
-
const targetGitRoot = nearestGitRoot(filePath);
|
|
261
|
-
if (targetGitRoot && path2.resolve(targetGitRoot) !== path2.resolve(ctx.repoRoot)) {
|
|
262
|
-
return false;
|
|
263
|
-
}
|
|
264
|
-
return true;
|
|
262
|
+
return isMainRepoPath(filePath, ctx);
|
|
265
263
|
}
|
|
266
264
|
function shellPathCandidates(text) {
|
|
267
265
|
const paths = [];
|
|
@@ -418,7 +416,7 @@ NEVER write to the main repo from a worktree. The main repo belongs to the coord
|
|
|
418
416
|
const currentProject = process.cwd().split("/").pop();
|
|
419
417
|
if (targetDir && currentProject && targetDir !== currentProject && !command.includes("worktree")) {
|
|
420
418
|
const expandHome = (p) => p.startsWith("~/") ? path2.join(os.homedir(), p.slice(2)) : p;
|
|
421
|
-
const
|
|
419
|
+
const gitRootOf2 = (dir) => {
|
|
422
420
|
try {
|
|
423
421
|
return execFileSync("git", ["-C", dir, "rev-parse", "--show-toplevel"], {
|
|
424
422
|
encoding: "utf8",
|
|
@@ -429,12 +427,12 @@ NEVER write to the main repo from a worktree. The main repo belongs to the coord
|
|
|
429
427
|
return null;
|
|
430
428
|
}
|
|
431
429
|
};
|
|
432
|
-
const currentRepoRoot =
|
|
430
|
+
const currentRepoRoot = gitRootOf2(process.cwd());
|
|
433
431
|
const absTarget = path2.resolve(process.cwd(), expandHome(cdTarget));
|
|
434
432
|
let probe = absTarget;
|
|
435
433
|
let targetRepoRoot = null;
|
|
436
434
|
for (let depth = 0; depth < 12 && probe && probe !== "/"; depth++) {
|
|
437
|
-
const root =
|
|
435
|
+
const root = gitRootOf2(probe);
|
|
438
436
|
if (root) {
|
|
439
437
|
targetRepoRoot = root;
|
|
440
438
|
break;
|
|
@@ -551,7 +549,7 @@ Do NOT report this as successful. No file was changed. If you are a sub-agent, r
|
|
|
551
549
|
process.exit(0);
|
|
552
550
|
}
|
|
553
551
|
}
|
|
554
|
-
const { getGatedAgent } = await import("../cto-delegation-gate-
|
|
552
|
+
const { getGatedAgent } = await import("../cto-delegation-gate-6KLGT2LB.js");
|
|
555
553
|
const gatedAgent = getGatedAgent();
|
|
556
554
|
if (agent.agentId === gatedAgent) {
|
|
557
555
|
const isStructured = /^(Write|Edit|MultiEdit|NotebookEdit)$/.test(data.tool_name);
|
|
@@ -563,7 +561,7 @@ Do NOT report this as successful. No file was changed. If you are a sub-agent, r
|
|
|
563
561
|
evaluateDelegationGate,
|
|
564
562
|
evaluateBashWriteGate,
|
|
565
563
|
GATE_BLOCK_MESSAGE
|
|
566
|
-
} = await import("../cto-delegation-gate-
|
|
564
|
+
} = await import("../cto-delegation-gate-6KLGT2LB.js");
|
|
567
565
|
let decision = null;
|
|
568
566
|
let surfaceLabel = data.tool_name;
|
|
569
567
|
let targetLabel = "";
|
|
@@ -572,7 +570,7 @@ Do NOT report this as successful. No file was changed. If you are a sub-agent, r
|
|
|
572
570
|
const filePath = data.tool_name === "NotebookEdit" ? ti.notebook_path ?? "" : ti.file_path ?? "";
|
|
573
571
|
const content = data.tool_name === "MultiEdit" ? (ti.edits ?? []).map((e) => e.new_string ?? "").filter(Boolean) : data.tool_name === "NotebookEdit" ? ti.new_source : ti.content ?? ti.new_string;
|
|
574
572
|
if (filePath) {
|
|
575
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
573
|
+
const { fastDbInit } = await import("../fast-db-init-3K2PV6GJ.js");
|
|
576
574
|
await fastDbInit({ caller: "hook" });
|
|
577
575
|
targetLabel = filePath;
|
|
578
576
|
decision = await evaluateDelegationGate({
|
|
@@ -585,10 +583,10 @@ Do NOT report this as successful. No file was changed. If you are a sub-agent, r
|
|
|
585
583
|
}
|
|
586
584
|
} else {
|
|
587
585
|
const command = data.tool_input?.command ?? "";
|
|
588
|
-
const { detectBashSourceWrites } = await import("../cto-delegation-gate-
|
|
586
|
+
const { detectBashSourceWrites } = await import("../cto-delegation-gate-6KLGT2LB.js");
|
|
589
587
|
const targets = detectBashSourceWrites(command, process.cwd());
|
|
590
588
|
if (targets.length > 0) {
|
|
591
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
589
|
+
const { fastDbInit } = await import("../fast-db-init-3K2PV6GJ.js");
|
|
592
590
|
await fastDbInit({ caller: "hook" });
|
|
593
591
|
surfaceLabel = "Bash-write";
|
|
594
592
|
targetLabel = targets.join(", ");
|
|
@@ -665,7 +663,7 @@ Reason: ${decision.reason ?? "engineer-delegatable edit"}`;
|
|
|
665
663
|
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);
|
|
666
664
|
if (isUpdateTaskDone) {
|
|
667
665
|
try {
|
|
668
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
666
|
+
const { fastDbInit } = await import("../fast-db-init-3K2PV6GJ.js");
|
|
669
667
|
const client = await fastDbInit({ caller: "hook" });
|
|
670
668
|
const taskId = String(toolInput.task_id ?? "");
|
|
671
669
|
const ptScope = sessionScopeFilter();
|
|
@@ -723,7 +721,7 @@ Reason: ${decision.reason ?? "engineer-delegatable edit"}`;
|
|
|
723
721
|
}
|
|
724
722
|
if (CTO_ROLES.includes(agent.agentRole) && !hasDelegationFired()) {
|
|
725
723
|
try {
|
|
726
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
724
|
+
const { fastDbInit } = await import("../fast-db-init-3K2PV6GJ.js");
|
|
727
725
|
const client = await fastDbInit({ caller: "hook" });
|
|
728
726
|
const dlScope = sessionScopeFilter();
|
|
729
727
|
const result = await client.execute({
|
|
@@ -20,16 +20,16 @@ import {
|
|
|
20
20
|
import {
|
|
21
21
|
hybridSearch,
|
|
22
22
|
lightweightSearch
|
|
23
|
-
} from "../chunk-
|
|
23
|
+
} from "../chunk-HL24OHHS.js";
|
|
24
24
|
import "../chunk-AB4PAQYK.js";
|
|
25
|
-
import "../chunk-
|
|
26
|
-
import "../chunk-
|
|
25
|
+
import "../chunk-H5QNVWU4.js";
|
|
26
|
+
import "../chunk-H4JKOLXU.js";
|
|
27
27
|
import "../chunk-CHCA3ZM2.js";
|
|
28
28
|
import "../chunk-OTVEIJUQ.js";
|
|
29
|
-
import "../chunk-
|
|
29
|
+
import "../chunk-GPZQZTJB.js";
|
|
30
30
|
import {
|
|
31
31
|
getActiveAgent
|
|
32
|
-
} from "../chunk-
|
|
32
|
+
} from "../chunk-TF5E6O5Q.js";
|
|
33
33
|
import "../chunk-5MOYSU5A.js";
|
|
34
34
|
import "../chunk-4QCFFW2H.js";
|
|
35
35
|
import "../chunk-76CJBM36.js";
|
|
@@ -37,22 +37,22 @@ import {
|
|
|
37
37
|
decideQueuedNudgeDrain,
|
|
38
38
|
getSessionState,
|
|
39
39
|
isExeSession
|
|
40
|
-
} from "../chunk-
|
|
41
|
-
import "../chunk-
|
|
42
|
-
import "../chunk-
|
|
43
|
-
import "../chunk-
|
|
40
|
+
} from "../chunk-ZXSFUR77.js";
|
|
41
|
+
import "../chunk-RBRGSOK5.js";
|
|
42
|
+
import "../chunk-OBWIVRD6.js";
|
|
43
|
+
import "../chunk-A42356G7.js";
|
|
44
44
|
import "../chunk-E23LNUWJ.js";
|
|
45
45
|
import "../chunk-4JERP7NT.js";
|
|
46
46
|
import "../chunk-EIKATSE4.js";
|
|
47
|
-
import "../chunk-
|
|
47
|
+
import "../chunk-HYZE3MNS.js";
|
|
48
48
|
import "../chunk-AD2VCHSS.js";
|
|
49
49
|
import "../chunk-WOYADZF5.js";
|
|
50
50
|
import "../chunk-SKGMF2SO.js";
|
|
51
|
-
import "../chunk-
|
|
52
|
-
import "../chunk-
|
|
53
|
-
import "../chunk-
|
|
51
|
+
import "../chunk-AMC2OPYP.js";
|
|
52
|
+
import "../chunk-AJIXH5JF.js";
|
|
53
|
+
import "../chunk-A3YHWWE6.js";
|
|
54
54
|
import "../chunk-AM7S2TY6.js";
|
|
55
|
-
import "../chunk-
|
|
55
|
+
import "../chunk-RFRUDXOI.js";
|
|
56
56
|
import "../chunk-OSKWCKUC.js";
|
|
57
57
|
import "../chunk-KI5PFRG6.js";
|
|
58
58
|
import {
|
|
@@ -72,17 +72,18 @@ import "../chunk-GJV3WDWM.js";
|
|
|
72
72
|
import "../chunk-MP2AFCGL.js";
|
|
73
73
|
import {
|
|
74
74
|
canCoordinate
|
|
75
|
-
} from "../chunk-
|
|
75
|
+
} from "../chunk-QNKR7WEL.js";
|
|
76
76
|
import "../chunk-2I23RPSI.js";
|
|
77
|
-
import "../chunk-
|
|
77
|
+
import "../chunk-FE6WBI2M.js";
|
|
78
78
|
import "../chunk-OMXJMOBD.js";
|
|
79
79
|
import "../chunk-7HLWBYH7.js";
|
|
80
80
|
import "../chunk-BBMTVAE3.js";
|
|
81
|
+
import "../chunk-YMUZWC33.js";
|
|
81
82
|
import "../chunk-FXU7JOXK.js";
|
|
82
83
|
import "../chunk-QWVXN224.js";
|
|
83
|
-
import "../chunk-
|
|
84
|
-
import "../chunk-
|
|
85
|
-
import "../chunk-
|
|
84
|
+
import "../chunk-WNBZJSQT.js";
|
|
85
|
+
import "../chunk-MMOONM6D.js";
|
|
86
|
+
import "../chunk-XF2D4CDA.js";
|
|
86
87
|
import {
|
|
87
88
|
EXE_AI_DIR,
|
|
88
89
|
loadConfig,
|
|
@@ -239,7 +240,7 @@ function withBudget(promise, fallback) {
|
|
|
239
240
|
var _hookDbPromise = null;
|
|
240
241
|
function hookDb() {
|
|
241
242
|
_hookDbPromise ??= (async () => {
|
|
242
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
243
|
+
const { fastDbInit } = await import("../fast-db-init-3K2PV6GJ.js");
|
|
243
244
|
return fastDbInit({ daemonOnly: true });
|
|
244
245
|
})();
|
|
245
246
|
return _hookDbPromise;
|
|
@@ -470,7 +471,7 @@ process.stdin.on("end", async () => {
|
|
|
470
471
|
let queuedForMe = [];
|
|
471
472
|
if (currentSession && !suppressTaskLifecycleNudges) {
|
|
472
473
|
try {
|
|
473
|
-
const { readQueue } = await import("../intercom-queue-
|
|
474
|
+
const { readQueue } = await import("../intercom-queue-A52WQOCD.js");
|
|
474
475
|
queuedForMe = readQueue().filter((q) => q.targetSession === currentSession);
|
|
475
476
|
} catch {
|
|
476
477
|
}
|
|
@@ -497,7 +498,7 @@ process.stdin.on("end", async () => {
|
|
|
497
498
|
if (prefetchClient) {
|
|
498
499
|
prefetch = await withHookTimeout(
|
|
499
500
|
(async () => {
|
|
500
|
-
const { prefetchPromptHookCounts } = await import("../hook-prefetch-
|
|
501
|
+
const { prefetchPromptHookCounts } = await import("../hook-prefetch-O6ZCZCTX.js");
|
|
501
502
|
return prefetchPromptHookCounts(prefetchClient, {
|
|
502
503
|
agentIds: agentTaskIds(agent.agentId),
|
|
503
504
|
agentId: agent.agentId,
|
|
@@ -521,7 +522,7 @@ process.stdin.on("end", async () => {
|
|
|
521
522
|
}
|
|
522
523
|
let drainedNudgeContext = "";
|
|
523
524
|
if (currentSession && queuedForMe.length > 0 && !suppressTaskLifecycleNudges) try {
|
|
524
|
-
const { drainForSession } = await import("../intercom-queue-
|
|
525
|
+
const { drainForSession } = await import("../intercom-queue-A52WQOCD.js");
|
|
525
526
|
const { baseAgentName } = await import("../lib/employees.js");
|
|
526
527
|
const MARKER_STALE_MS = 4 * 60 * 60 * 1e3;
|
|
527
528
|
const hasInProgressTask = (agentName) => {
|
|
@@ -610,7 +611,7 @@ ${fresh.map(
|
|
|
610
611
|
mkdirSync(CACHE_DIR, { recursive: true });
|
|
611
612
|
atomicWriteSync(behaviorLastCheckPath, (/* @__PURE__ */ new Date()).toISOString());
|
|
612
613
|
} else if (count % BEHAVIOR_REINJECT_INTERVAL === 0) {
|
|
613
|
-
const { listBehaviors } = await import("../behaviors-
|
|
614
|
+
const { listBehaviors } = await import("../behaviors-6GI6VND2.js");
|
|
614
615
|
const behaviors = await withBudget(listBehaviors(agent.agentId), []);
|
|
615
616
|
const active = behaviors.filter((b) => b.active !== 0).sort((a, b) => (a.priority === "p0" ? -1 : 1) - (b.priority === "p0" ? -1 : 1)).slice(0, 15);
|
|
616
617
|
if (active.length > 0) {
|
|
@@ -650,7 +651,7 @@ ${parts.join("\n\n")}`;
|
|
|
650
651
|
if (!lastCheckedAt) {
|
|
651
652
|
lastCheckedAt = "1970-01-01T00:00:00.000Z";
|
|
652
653
|
}
|
|
653
|
-
const { listBehaviorsSince } = await import("../behaviors-
|
|
654
|
+
const { listBehaviorsSince } = await import("../behaviors-6GI6VND2.js");
|
|
654
655
|
const newBehaviors = await withBudget(listBehaviorsSince(agent.agentId, lastCheckedAt), []);
|
|
655
656
|
if (newBehaviors.length > 0) {
|
|
656
657
|
const newReflex = newBehaviors.filter((b) => b.domain === "reflex");
|
|
@@ -718,7 +719,7 @@ ${body}`;
|
|
|
718
719
|
let reviewContext = "";
|
|
719
720
|
if (canCoordinate(agent.agentId, agent.agentRole)) {
|
|
720
721
|
try {
|
|
721
|
-
const { countPendingReviews, countNewPendingReviewsSince } = await import("../tasks-review-
|
|
722
|
+
const { countPendingReviews, countNewPendingReviewsSince } = await import("../tasks-review-S6QB5KGS.js");
|
|
722
723
|
const sessionKey = getSessionKey();
|
|
723
724
|
const lastCheckPath = path.join(CACHE_DIR, `review-lastcheck-${sessionKey}.json`);
|
|
724
725
|
let sessionScope;
|
|
@@ -775,7 +776,7 @@ IMPORTANT: After completing your current task, you MUST address the pending revi
|
|
|
775
776
|
let coreMemoryContext = "";
|
|
776
777
|
if (!IS_CODEX_RUNTIME && agent.agentId !== "default") {
|
|
777
778
|
try {
|
|
778
|
-
const { getCoreMemory, formatCoreMemoryBlock } = await import("../core-memory-
|
|
779
|
+
const { getCoreMemory, formatCoreMemoryBlock } = await import("../core-memory-Z7LPR3RX.js");
|
|
779
780
|
const entries = await withBudget(getCoreMemory(agent.agentId), []);
|
|
780
781
|
const block = formatCoreMemoryBlock(entries);
|
|
781
782
|
if (block) coreMemoryContext = block;
|
|
@@ -863,7 +864,7 @@ IMPORTANT: After completing your current task, you MUST address the pending revi
|
|
|
863
864
|
|
|
864
865
|
IMPORTANT: After completing your current task, you MUST address the new task above. Do not ignore it.`;
|
|
865
866
|
try {
|
|
866
|
-
const { writeDispatchAck } = await import("../dispatch-ack-
|
|
867
|
+
const { writeDispatchAck } = await import("../dispatch-ack-AZL3WKCK.js");
|
|
867
868
|
writeDispatchAck(bestSignal.task_id, agent.agentId);
|
|
868
869
|
} catch {
|
|
869
870
|
}
|
|
@@ -872,7 +873,7 @@ IMPORTANT: After completing your current task, you MUST address the new task abo
|
|
|
872
873
|
} catch {
|
|
873
874
|
}
|
|
874
875
|
try {
|
|
875
|
-
const { recordOrchestrationEventBestEffort: recordOE } = await import("../orchestration-events-
|
|
876
|
+
const { recordOrchestrationEventBestEffort: recordOE } = await import("../orchestration-events-HAFDPTLV.js");
|
|
876
877
|
recordOE({
|
|
877
878
|
eventType: "signal.consumed",
|
|
878
879
|
source: "prompt-submit.hook",
|
|
@@ -1051,7 +1052,7 @@ async function writePromptMemory(prompt, sessionId, agent) {
|
|
|
1051
1052
|
return;
|
|
1052
1053
|
}
|
|
1053
1054
|
try {
|
|
1054
|
-
const { recordSessionEvent } = await import("../session-events-
|
|
1055
|
+
const { recordSessionEvent } = await import("../session-events-3KL735DZ.js");
|
|
1055
1056
|
const client = await hookDb();
|
|
1056
1057
|
await recordSessionEvent(client, {
|
|
1057
1058
|
agentId: agent.agentId,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
writeContinuityCheckpoint
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-DRHXISWL.js";
|
|
4
4
|
import {
|
|
5
5
|
clearCacheState
|
|
6
6
|
} from "../chunk-6A7P74QV.js";
|
|
@@ -9,25 +9,25 @@ import "../chunk-SH45SJQW.js";
|
|
|
9
9
|
import {
|
|
10
10
|
clearActiveAgent,
|
|
11
11
|
getActiveAgent
|
|
12
|
-
} from "../chunk-
|
|
12
|
+
} from "../chunk-TF5E6O5Q.js";
|
|
13
13
|
import {
|
|
14
14
|
strictSessionScopeFilter
|
|
15
|
-
} from "../chunk-
|
|
16
|
-
import "../chunk-
|
|
17
|
-
import "../chunk-
|
|
18
|
-
import "../chunk-
|
|
15
|
+
} from "../chunk-ZXSFUR77.js";
|
|
16
|
+
import "../chunk-RBRGSOK5.js";
|
|
17
|
+
import "../chunk-OBWIVRD6.js";
|
|
18
|
+
import "../chunk-A42356G7.js";
|
|
19
19
|
import "../chunk-E23LNUWJ.js";
|
|
20
20
|
import "../chunk-4JERP7NT.js";
|
|
21
21
|
import "../chunk-EIKATSE4.js";
|
|
22
|
-
import "../chunk-
|
|
22
|
+
import "../chunk-HYZE3MNS.js";
|
|
23
23
|
import "../chunk-AD2VCHSS.js";
|
|
24
24
|
import "../chunk-WOYADZF5.js";
|
|
25
25
|
import "../chunk-SKGMF2SO.js";
|
|
26
|
-
import "../chunk-
|
|
27
|
-
import "../chunk-
|
|
28
|
-
import "../chunk-
|
|
26
|
+
import "../chunk-AMC2OPYP.js";
|
|
27
|
+
import "../chunk-AJIXH5JF.js";
|
|
28
|
+
import "../chunk-A3YHWWE6.js";
|
|
29
29
|
import "../chunk-AM7S2TY6.js";
|
|
30
|
-
import "../chunk-
|
|
30
|
+
import "../chunk-RFRUDXOI.js";
|
|
31
31
|
import "../chunk-OSKWCKUC.js";
|
|
32
32
|
import "../chunk-KI5PFRG6.js";
|
|
33
33
|
import {
|
|
@@ -45,16 +45,17 @@ import "../chunk-GJV3WDWM.js";
|
|
|
45
45
|
import "../chunk-MP2AFCGL.js";
|
|
46
46
|
import {
|
|
47
47
|
canCoordinate
|
|
48
|
-
} from "../chunk-
|
|
48
|
+
} from "../chunk-QNKR7WEL.js";
|
|
49
49
|
import "../chunk-2I23RPSI.js";
|
|
50
|
-
import "../chunk-
|
|
50
|
+
import "../chunk-FE6WBI2M.js";
|
|
51
51
|
import "../chunk-OMXJMOBD.js";
|
|
52
52
|
import "../chunk-7HLWBYH7.js";
|
|
53
53
|
import "../chunk-BBMTVAE3.js";
|
|
54
|
+
import "../chunk-YMUZWC33.js";
|
|
54
55
|
import "../chunk-FXU7JOXK.js";
|
|
55
|
-
import "../chunk-
|
|
56
|
-
import "../chunk-
|
|
57
|
-
import "../chunk-
|
|
56
|
+
import "../chunk-WNBZJSQT.js";
|
|
57
|
+
import "../chunk-MMOONM6D.js";
|
|
58
|
+
import "../chunk-XF2D4CDA.js";
|
|
58
59
|
import "../chunk-BCZF3AGJ.js";
|
|
59
60
|
import "../chunk-HSGBZSCA.js";
|
|
60
61
|
import "../chunk-MLKGABMK.js";
|
|
@@ -267,7 +268,7 @@ process.stdin.on("end", async () => {
|
|
|
267
268
|
process.stderr.write(`[session-end] EXIT: ${agent.agentId} session=${Math.round((transcript.sessionDurationMs ?? 0) / 1e3)}s hook=${Math.round(hookUptimeMs / 1e3)}s \u2014 reason=${exitReason} daemon=${daemonAlive ? "alive" : "DEAD"}
|
|
268
269
|
`);
|
|
269
270
|
try {
|
|
270
|
-
const { recordOrchestrationEvent } = await import("../orchestration-events-
|
|
271
|
+
const { recordOrchestrationEvent } = await import("../orchestration-events-HAFDPTLV.js");
|
|
271
272
|
await recordOrchestrationEvent({
|
|
272
273
|
eventType: "session.exit",
|
|
273
274
|
source: "hooks.session-end",
|
|
@@ -292,7 +293,7 @@ process.stdin.on("end", async () => {
|
|
|
292
293
|
}
|
|
293
294
|
if (agent.agentId) {
|
|
294
295
|
try {
|
|
295
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
296
|
+
const { fastDbInit } = await import("../fast-db-init-3K2PV6GJ.js");
|
|
296
297
|
const client = await fastDbInit({ caller: "hook" });
|
|
297
298
|
const seScope = strictSessionScopeFilter();
|
|
298
299
|
const orphanResult = await client.execute({
|
|
@@ -385,12 +386,12 @@ Orphaned tasks at session end: ${orphanResult.rows.map((r) => `"${String(r.title
|
|
|
385
386
|
}
|
|
386
387
|
}
|
|
387
388
|
try {
|
|
388
|
-
const { clearSessionFileReads } = await import("../git-staleness-
|
|
389
|
+
const { clearSessionFileReads } = await import("../git-staleness-YPHGWE3B.js");
|
|
389
390
|
await clearSessionFileReads(data.session_id);
|
|
390
391
|
} catch {
|
|
391
392
|
}
|
|
392
393
|
try {
|
|
393
|
-
const { DreamingEngine } = await import("../dreaming-
|
|
394
|
+
const { DreamingEngine } = await import("../dreaming-O4P2W5E5.js");
|
|
394
395
|
const engine = new DreamingEngine();
|
|
395
396
|
const dreamResult = await engine.runDreamCycle(agent.agentId);
|
|
396
397
|
let promoted = 0;
|
|
@@ -466,7 +467,7 @@ Orphaned tasks at session end: ${orphanResult.rows.map((r) => `"${String(r.title
|
|
|
466
467
|
parts.push(`Left in_progress (no matching commits, needs triage): ${leftInProgress.join(", ")}`);
|
|
467
468
|
}
|
|
468
469
|
try {
|
|
469
|
-
const { writeNotification } = await import("../notifications-
|
|
470
|
+
const { writeNotification } = await import("../notifications-YKHZPCXU.js");
|
|
470
471
|
await writeNotification({
|
|
471
472
|
agentId: agent.agentId,
|
|
472
473
|
agentRole: agent.agentRole,
|