@askexenow/exe-os 0.9.384 → 0.9.387
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/.dist-verified.json +3 -3
- package/dist/{active-agent-F5V4E4UL.js → active-agent-B2RK62MI.js} +4 -4
- package/dist/{active-agent-YTBB4ZQM.js → active-agent-I3JL4NRS.js} +4 -4
- package/dist/{agent-defs-generator-7TFISIJQ.js → agent-defs-generator-JZF6ZPCY.js} +2 -2
- package/dist/{agentic-ontology-XVTUVV7W.js → agentic-ontology-Y23IUPRF.js} +1 -1
- package/dist/{backfill-metadata-J6MXIDCW.js → backfill-metadata-5YPOOBT6.js} +6 -6
- package/dist/{backup-verify-6DVBQMDP.js → backup-verify-7M5WDE64.js} +1 -1
- package/dist/{behavior-injection-XDA7ZCYN.js → behavior-injection-4AOTSXRV.js} +9 -9
- package/dist/{behavior-promotion-4VLQ7LXK.js → behavior-promotion-YXJNIY4N.js} +8 -8
- package/dist/{behaviors-SCCZP7RZ.js → behaviors-7RRWAZE2.js} +7 -7
- package/dist/bin/agentic-ontology-backfill.js +7 -7
- package/dist/bin/agentic-reflection-backfill.js +8 -8
- package/dist/bin/agentic-semantic-label.js +7 -7
- package/dist/bin/backfill-conversations.js +6 -6
- package/dist/bin/backfill-responses.js +6 -6
- package/dist/bin/backfill-vectors.js +6 -6
- package/dist/bin/bulk-sync-postgres.js +12 -12
- package/dist/bin/cc-doctor.js +9 -9
- package/dist/bin/cleanup-stale-review-tasks.js +37 -27
- package/dist/bin/cli.js +21 -21
- package/dist/bin/customer-readiness.js +55 -25
- package/dist/bin/deferred-daemon-restart.js +87 -87
- package/dist/bin/exe-agent-config.js +2 -2
- package/dist/bin/exe-agent.js +5 -5
- package/dist/bin/exe-assign.js +7 -7
- package/dist/bin/exe-boot.js +36 -36
- package/dist/bin/exe-call.js +4 -4
- package/dist/bin/exe-cicd.js +19 -8
- package/dist/bin/exe-cloud.js +13 -13
- package/dist/bin/exe-config-dump.js +2 -2
- package/dist/bin/exe-dispatch.js +16 -16
- package/dist/bin/exe-doctor.js +6 -6
- package/dist/bin/exe-export-behaviors.js +11 -11
- package/dist/bin/exe-forget.js +9 -9
- package/dist/bin/exe-gateway.js +8 -8
- package/dist/bin/exe-grant.js +1 -1
- package/dist/bin/exe-healthcheck.js +9 -9
- package/dist/bin/exe-heartbeat.js +21 -21
- package/dist/bin/exe-kill.js +20 -20
- package/dist/bin/exe-launch-agent.js +26 -26
- package/dist/bin/exe-mcp.js +5 -5
- package/dist/bin/exe-memory-reads.js +6 -6
- package/dist/bin/exe-new-employee.js +8 -8
- package/dist/bin/exe-os-mcp-proxy.js +5 -5
- package/dist/bin/exe-pending-messages.js +16 -16
- package/dist/bin/exe-pending-notifications.js +15 -15
- package/dist/bin/exe-pending-reviews.js +16 -16
- package/dist/bin/exe-preflight.js +1 -1
- package/dist/bin/exe-rename.js +4 -4
- package/dist/bin/exe-review.js +51 -49
- package/dist/bin/exe-search.js +8 -8
- package/dist/bin/exe-session-cleanup.js +21 -21
- package/dist/bin/exe-settings.js +12 -12
- package/dist/bin/exe-start-codex.js +17 -17
- package/dist/bin/exe-start-opencode.js +15 -15
- package/dist/bin/exe-status.js +17 -17
- package/dist/bin/exe-support.js +3 -3
- package/dist/bin/exe-team.js +4 -4
- package/dist/bin/exe-verify-running-images.js +1 -1
- package/dist/bin/git-sweep.js +17 -17
- package/dist/bin/graph-backfill.js +7 -7
- package/dist/bin/graph-export.js +7 -7
- package/dist/bin/hooks-cli.js +1 -1
- package/dist/bin/import-history.js +11 -11
- package/dist/bin/install.js +89 -89
- package/dist/bin/intercom-check.js +5 -5
- package/dist/bin/mcp-sessions.js +2 -2
- package/dist/bin/orchestration-metrics.js +4 -4
- package/dist/bin/postgres-agentic-reflection-backfill.js +2 -2
- package/dist/bin/postgres-agentic-semantic-backfill.js +1 -1
- package/dist/bin/pre-build-guard.js +55 -16
- package/dist/bin/prune-orphan-chunks.js +41 -7
- package/dist/bin/reconcile-backlog.js +5 -3
- package/dist/bin/registry-proxy.js +1 -1
- package/dist/bin/repair-document-chunks.js +6 -6
- package/dist/bin/scan-tasks.js +16 -16
- package/dist/bin/setup.js +1 -1
- package/dist/bin/shard-migrate.js +6 -6
- package/dist/bin/stack-update.js +203 -34
- package/dist/bin/verify-stack.js +2 -2
- package/dist/bin/vps-health-gate.js +1 -1
- package/dist/{boot-generation-Q7LGQ3AO.js → boot-generation-VOFY43WG.js} +3 -3
- package/dist/{boot-review-sections-G5774FR5.js → boot-review-sections-WLYE6NUR.js} +14 -14
- package/dist/build-manifest.json +910 -910
- package/dist/{capability-cards-I3RHCF4F.js → capability-cards-2OBIKKX4.js} +2 -2
- package/dist/{capacity-monitor-7I7GDONU.js → capacity-monitor-IBFXHWPY.js} +16 -16
- package/dist/{catchup-brief-3T5PARIR.js → catchup-brief-GO6WLIT5.js} +21 -21
- package/dist/{chunk-OBBO6EJR.js → chunk-2ARLSZG4.js} +1 -1
- package/dist/{chunk-C5ISP5FO.js → chunk-2BKJAOO4.js} +11 -1
- package/dist/{chunk-MOANZQXF.js → chunk-2BWLCCHH.js} +1 -1
- package/dist/{chunk-GL47M7NY.js → chunk-2GUT5CWI.js} +74 -10
- package/dist/{chunk-VHHX4UCP.js → chunk-2XCUUS4V.js} +1 -1
- package/dist/{chunk-EOTZSAQL.js → chunk-37TRRK2Y.js} +1 -1
- package/dist/{chunk-RDWIKDMY.js → chunk-3EBK6P4M.js} +8 -20
- package/dist/{chunk-VF2KRROX.js → chunk-3MF6WQ4C.js} +1 -1
- package/dist/{chunk-EUGEFBGV.js → chunk-3UY535CJ.js} +3 -3
- package/dist/{chunk-JA3Y5TV6.js → chunk-4K6GSRSY.js} +36 -8
- package/dist/{chunk-I5XIW2BP.js → chunk-4LGKDHPX.js} +6 -6
- package/dist/{chunk-4AAMFWJT.js → chunk-4LYN5YNO.js} +2 -2
- package/dist/{chunk-R3CZWFFC.js → chunk-54FUOVUF.js} +9 -3
- package/dist/{chunk-XUZK23V7.js → chunk-5R23LRUP.js} +2 -2
- package/dist/{chunk-TNS63ATU.js → chunk-5SPQBSKC.js} +81 -13
- package/dist/{chunk-YRQ26MNP.js → chunk-64KFPFTH.js} +2 -2
- package/dist/{chunk-JFTUAV4J.js → chunk-6EUXAOZQ.js} +1 -1
- package/dist/{chunk-SDYWZRPN.js → chunk-6LU7ZXES.js} +1 -1
- package/dist/{chunk-VLBHZ6TF.js → chunk-6N6RGS7J.js} +2 -2
- package/dist/{chunk-2FKU4ZEO.js → chunk-6NS3DX36.js} +9 -9
- package/dist/{chunk-P2UY34XE.js → chunk-7MYX6M72.js} +4 -4
- package/dist/{chunk-E7C2WNR5.js → chunk-7NBSOBWJ.js} +4 -4
- package/dist/{chunk-AHESD3KW.js → chunk-AEEW4PCH.js} +1 -1
- package/dist/{chunk-MPZ2AVNS.js → chunk-AHVXVA46.js} +1 -1
- package/dist/{chunk-KXYKSLW4.js → chunk-AOQDY7HP.js} +186 -29
- package/dist/{chunk-AGC2V7JS.js → chunk-B6CBN6EF.js} +1 -1
- package/dist/{chunk-C5HUMAA7.js → chunk-B7WVYLAQ.js} +67 -15
- package/dist/{chunk-QFAFKEB5.js → chunk-BFOLGB4D.js} +184 -45
- package/dist/{chunk-T5FEAQES.js → chunk-BKYIWS2X.js} +1 -1
- package/dist/{chunk-E3ZM32LF.js → chunk-CDBII52V.js} +11 -2
- package/dist/{chunk-ALRHGEAJ.js → chunk-CI5R7QV7.js} +1 -1
- package/dist/{chunk-P3QQ52QK.js → chunk-CWWJEMJ5.js} +2 -2
- package/dist/{chunk-PL4CFSQ7.js → chunk-DI4DONAA.js} +1 -1
- package/dist/{chunk-ZOTTYCP5.js → chunk-ETUNXGX7.js} +3 -3
- package/dist/{chunk-3B6FLNLV.js → chunk-EZH2LGJX.js} +1 -1
- package/dist/{chunk-LKTN22L6.js → chunk-FH7WKTVF.js} +21 -17
- package/dist/{chunk-LR5O2XWZ.js → chunk-FHSMIHLQ.js} +5 -5
- package/dist/{chunk-D3LXVAIQ.js → chunk-GD4OC5TP.js} +237 -74
- package/dist/{chunk-R5E7WNAC.js → chunk-GFBEIPLT.js} +3 -3
- package/dist/{chunk-NF5FOSLD.js → chunk-GGPYYM2R.js} +1 -1
- package/dist/{chunk-MROSARM5.js → chunk-GIO43XOP.js} +1 -1
- package/dist/{chunk-VOVFUKEB.js → chunk-GMKDUWTJ.js} +1 -1
- package/dist/{chunk-46VSBDUW.js → chunk-GN23NAD6.js} +2 -2
- package/dist/{chunk-P4PIZOL2.js → chunk-GXSDFCON.js} +3 -3
- package/dist/{chunk-MKM6D7JM.js → chunk-H274T3MD.js} +42 -5
- package/dist/{chunk-P2VVMGMI.js → chunk-H2N47OFR.js} +17 -9
- package/dist/{chunk-RB3J2WYQ.js → chunk-HIYGHRLV.js} +1 -1
- package/dist/{chunk-MC4IM2CC.js → chunk-HQFATN5L.js} +4 -4
- package/dist/{chunk-S26CV7BE.js → chunk-HTGSVQJP.js} +2 -2
- package/dist/{chunk-FVLNNNH6.js → chunk-I4HK2DHC.js} +2 -2
- package/dist/{chunk-APL7HUE3.js → chunk-I6FI4VPQ.js} +182 -28
- package/dist/{chunk-XEBKIWI7.js → chunk-IE4IHF5U.js} +7 -7
- package/dist/{chunk-BPVFZ6Q4.js → chunk-IOIBJY5D.js} +2 -2
- package/dist/{chunk-6YDY6ZTD.js → chunk-IWRCPC65.js} +3 -3
- package/dist/{chunk-HA63SH5W.js → chunk-IWY2OGQG.js} +1 -1
- package/dist/{chunk-DYVLEMKS.js → chunk-JAUIIIWQ.js} +1 -1
- package/dist/{chunk-PLII76NJ.js → chunk-JBUCA4OX.js} +33 -6
- package/dist/{chunk-EGOEB42T.js → chunk-JIIWN637.js} +3 -3
- package/dist/{chunk-JFJP6ATJ.js → chunk-JKVITSQE.js} +1 -1
- package/dist/{chunk-W6BZ4UGA.js → chunk-JORQ5EUU.js} +1 -1
- package/dist/{chunk-PWC3C5ME.js → chunk-JW4K6FJA.js} +4 -4
- package/dist/{chunk-VF3BZOZK.js → chunk-JY6IU2XF.js} +1 -1
- package/dist/{chunk-RVO5O5SR.js → chunk-KVH7IVG6.js} +6 -6
- package/dist/{chunk-3OX34OC3.js → chunk-LPMIQZDB.js} +6 -6
- package/dist/{chunk-W3KPQE7H.js → chunk-LSPNZX4H.js} +3 -3
- package/dist/{chunk-EYMFVITZ.js → chunk-MCEUIG26.js} +1 -1
- package/dist/{chunk-4YNA3CM6.js → chunk-MEVMJZST.js} +230 -56
- package/dist/{chunk-7J2ZQ4XN.js → chunk-MGWAAKNL.js} +1 -1
- package/dist/{chunk-3RGTLZNO.js → chunk-MMHKSDG3.js} +12 -12
- package/dist/{chunk-LSNBTGW4.js → chunk-N5STNP44.js} +1 -1
- package/dist/{chunk-IGJMS7C5.js → chunk-NBRYSWMU.js} +2 -2
- package/dist/{chunk-ZBPZDADW.js → chunk-NHUI52BC.js} +3 -3
- package/dist/{chunk-NYLJQ2M2.js → chunk-NPJDYPEW.js} +4 -4
- package/dist/{chunk-JJTPPAZY.js → chunk-NR3NACEK.js} +397 -225
- package/dist/{chunk-MUCNYSJP.js → chunk-NRLJOV7M.js} +32 -4
- package/dist/{chunk-L63V25HS.js → chunk-O6H2WG4X.js} +3 -3
- package/dist/{chunk-VJEJ7JNB.js → chunk-OFCTRALK.js} +1 -1
- package/dist/{chunk-ZT4LFTUJ.js → chunk-OH5D7YAO.js} +1 -1
- package/dist/{chunk-6BJCDWSM.js → chunk-OH6B7ICF.js} +1 -1
- package/dist/{chunk-PUBA5B4M.js → chunk-OKQCTYLW.js} +13 -9
- package/dist/{chunk-B7AMNZTC.js → chunk-OKVEJAZM.js} +2 -2
- package/dist/{chunk-CH7BUBP3.js → chunk-OONTCDVO.js} +3 -2
- package/dist/{chunk-NVFNADTX.js → chunk-OP376ITX.js} +3 -3
- package/dist/{chunk-JDDM6C57.js → chunk-ORHX5E7L.js} +1 -1
- package/dist/{chunk-FMIYFHLE.js → chunk-OT5XROGM.js} +2 -2
- package/dist/{chunk-KTKIFXIP.js → chunk-OYDTMTRC.js} +1 -1
- package/dist/{chunk-XSUALA32.js → chunk-PHH6LI6T.js} +2 -2
- package/dist/{chunk-KILR4FBR.js → chunk-PIDFJGTO.js} +3 -3
- package/dist/{chunk-YLFCH3VA.js → chunk-Q7QD323J.js} +97 -26
- package/dist/{chunk-P4XLIPB7.js → chunk-QCMOD4Y4.js} +1 -1
- package/dist/{chunk-72V3S44T.js → chunk-QSYY4R6R.js} +24 -9
- package/dist/{chunk-F4BBMIPG.js → chunk-RBFPPNXS.js} +2 -2
- package/dist/{chunk-GSLFH4AI.js → chunk-RO5V6HOB.js} +3 -3
- package/dist/{chunk-L3VUW5M4.js → chunk-RSDDZSEG.js} +1 -1
- package/dist/{chunk-CYCIX7AW.js → chunk-RSONCRBT.js} +2 -2
- package/dist/{chunk-LFUBEHFW.js → chunk-RT57D7C4.js} +39 -1
- package/dist/{chunk-UXN4BICC.js → chunk-RVRM6KW5.js} +1 -1
- package/dist/{chunk-PRDDPQLC.js → chunk-RWN2YDZ4.js} +4 -4
- package/dist/{chunk-3SUPEE6H.js → chunk-S4YBVRQW.js} +3 -3
- package/dist/{chunk-MB47DRF5.js → chunk-S6X2K77B.js} +2 -2
- package/dist/{chunk-7UHZBVP3.js → chunk-TU63ZMMS.js} +60 -24
- package/dist/{chunk-ELCRJGCH.js → chunk-TXCK3FV2.js} +2 -2
- package/dist/{chunk-RZN2LEAK.js → chunk-UQUFBENW.js} +3 -3
- package/dist/{chunk-2PZTMSMG.js → chunk-UTCTAAI5.js} +5 -5
- package/dist/{chunk-YLB365YX.js → chunk-UTJN3XEG.js} +3 -3
- package/dist/{chunk-QNZ4562V.js → chunk-VA47XBUX.js} +1 -1
- package/dist/{chunk-AZSTIAVL.js → chunk-VBPYYJPC.js} +1 -1
- package/dist/{chunk-CHIUS5QB.js → chunk-WN4RLIQA.js} +3 -3
- package/dist/{chunk-CM7N5MBY.js → chunk-XDU6WLTZ.js} +5 -5
- package/dist/{chunk-LFBLQE2P.js → chunk-Y42HGHXW.js} +1 -1
- package/dist/{chunk-P3UX5EH4.js → chunk-YGSWRRFH.js} +3 -3
- package/dist/{chunk-FHIFTSPL.js → chunk-YZ3I3PYP.js} +7 -2
- package/dist/{chunk-UX2EO653.js → chunk-Z2RU4QH5.js} +1 -1
- package/dist/{chunk-UOPCVFVR.js → chunk-ZAUHCQYK.js} +11 -11
- package/dist/{chunk-ELEGH4DX.js → chunk-ZUGQPYUY.js} +51 -4
- package/dist/{cleanup-graph-garbage-VQAJ2RBT.js → cleanup-graph-garbage-2XC5QBRR.js} +8 -8
- package/dist/{cloud-sync-command-J7NEFUY7.js → cloud-sync-command-VFH5JQWR.js} +2 -2
- package/dist/{cloud-sync-db-init-KWEMNMGA.js → cloud-sync-db-init-BZPNGF57.js} +1 -1
- package/dist/{cloud-sync-shutdown-P63AUTUI.js → cloud-sync-shutdown-6NSOC423.js} +2 -2
- package/dist/{co-activation-7IHRPBZN.js → co-activation-FJRUJYTD.js} +2 -2
- package/dist/{co-occurrence-R5AG4OAU.js → co-occurrence-BT3MOXL7.js} +6 -6
- package/dist/{content-extractor-ZLXC6GNR.js → content-extractor-OGXETBOX.js} +2 -2
- package/dist/{conversation-entity-extractor-7FRKLLBD.js → conversation-entity-extractor-QNSSPQWA.js} +4 -4
- package/dist/conversations-retention-XTBFJBUM.js +166 -0
- package/dist/{crdt-sync-IFRZOEIS.js → crdt-sync-CGMV77SA.js} +1 -1
- package/dist/{crm-webhook-L2S63ASV.js → crm-webhook-P75KIKIW.js} +2 -2
- package/dist/{cto-delegation-gate-3WU7OHX7.js → cto-delegation-gate-MZFADWVI.js} +15 -15
- package/dist/{daemon-orchestration-3VQYKLOR.js → daemon-orchestration-JSG2HFW2.js} +23 -19
- package/dist/{doc-graph-extractor-YIR5E7OF.js → doc-graph-extractor-GT37KT2Q.js} +6 -6
- package/dist/{documents-QEHPTYIY.js → documents-HA2MACFK.js} +7 -7
- package/dist/{dreaming-LNFE7DTN.js → dreaming-B6IMGYKE.js} +19 -19
- package/dist/{employee-boot-brief-ZTXDYNWM.js → employee-boot-brief-WULO5JFD.js} +23 -23
- package/dist/{entity-boost-R5N6JWXD.js → entity-boost-DLWE2J6N.js} +1 -1
- package/dist/{exe-drift-WYSJVZFO.js → exe-drift-ORK26KWM.js} +3 -3
- package/dist/{exe-export-GOLNAEAV.js → exe-export-EESPIBX6.js} +8 -8
- package/dist/{exe-import-U4BSI6OH.js → exe-import-SJZRARKE.js} +8 -8
- package/dist/{exe-key-V42G3NGO.js → exe-key-ZRJ7J4KH.js} +87 -87
- package/dist/{exe-org-U4GLQ6OP.js → exe-org-BIPZMGIH.js} +67 -36
- package/dist/{exe-snapshot-U7ONBYNY.js → exe-snapshot-RC33YE4G.js} +21 -21
- package/dist/{fast-db-init-W3NGKAEU.js → fast-db-init-LSDW3AP3.js} +1 -1
- package/dist/{founder-context-ZSIBRVDM.js → founder-context-TVJUSBFS.js} +2 -2
- package/dist/{founder-monitor-envelope-L3IWZLFY.js → founder-monitor-envelope-VMQPVKCN.js} +1 -1
- package/dist/gateway/index.js +9 -9
- package/dist/{git-staleness-OF24QXFZ.js → git-staleness-ZU45ORBY.js} +2 -2
- package/dist/{global-procedures-WSIOWO43.js → global-procedures-TSKWM4YS.js} +3 -3
- package/dist/{graph-auto-extract-IEVVN3L3.js → graph-auto-extract-6TKT5DXT.js} +6 -6
- package/dist/{graph-query-JDZWAVCU.js → graph-query-WGVVDQIA.js} +1 -1
- package/dist/{graph-rag-BKAD2XQA.js → graph-rag-E75K54QT.js} +4 -4
- package/dist/{hook-integrity-TPWDGX2M.js → hook-integrity-33F4OTV6.js} +1 -1
- package/dist/{hook-prefetch-FD6VGJJA.js → hook-prefetch-ZSB2IAIW.js} +16 -16
- package/dist/hooks/bug-report-worker.js +19 -19
- package/dist/hooks/codex-stop-task-finalizer.js +21 -21
- package/dist/hooks/commit-complete.js +19 -19
- package/dist/hooks/error-recall.js +11 -11
- package/dist/hooks/exe-heartbeat-hook.js +5 -5
- package/dist/hooks/ingest-worker.js +8 -8
- package/dist/hooks/ingest.js +14 -14
- package/dist/hooks/instructions-loaded.js +7 -7
- package/dist/hooks/manifest.json +20 -20
- package/dist/hooks/notification.js +6 -6
- package/dist/hooks/post-compact.js +5 -5
- package/dist/hooks/post-tool-combined.js +12 -12
- package/dist/hooks/pre-compact.js +19 -19
- package/dist/hooks/pre-tool-use.js +2 -2
- package/dist/hooks/prompt-submit.js +35 -35
- package/dist/hooks/session-end.js +23 -23
- package/dist/hooks/session-start.js +26 -18
- package/dist/hooks/stop.js +22 -22
- package/dist/hooks/subagent-stop.js +22 -22
- package/dist/hooks/summary-worker.js +22 -22
- package/dist/index.js +25 -25
- package/dist/{installer-OTI5SA43.js → installer-PS2GWVJU.js} +7 -7
- package/dist/{installer-SRJGE4GU.js → installer-VE4Y7EYQ.js} +7 -7
- package/dist/{installer-NMOBSEZ2.js → installer-VTNQNGSP.js} +7 -7
- package/dist/{intercom-queue-4FFXCBHO.js → intercom-queue-GIE6URPU.js} +14 -14
- package/dist/lib/cloud-sync.js +14 -12
- package/dist/lib/consolidation.js +8 -8
- package/dist/lib/database.js +2 -2
- package/dist/lib/db-backup.js +1 -1
- package/dist/lib/db-write-worker-client.js +1 -1
- package/dist/lib/db-write-worker.js +11 -7
- package/dist/lib/db.js +2 -2
- package/dist/lib/delivery-truth.js +5 -1
- package/dist/lib/device-registry.js +1 -1
- package/dist/lib/employee-templates.js +4 -4
- package/dist/lib/employees.js +2 -2
- package/dist/lib/exe-daemon.js +90 -88
- package/dist/lib/hybrid-search.js +8 -8
- package/dist/lib/identity.js +2 -2
- package/dist/lib/license.js +8 -4
- package/dist/lib/messaging.js +15 -15
- package/dist/lib/post-tool-memory.js +6 -6
- package/dist/lib/registry-proxy.js +1 -1
- package/dist/lib/reminders.js +3 -3
- package/dist/lib/schedules.js +7 -7
- package/dist/lib/session-registry.js +4 -4
- package/dist/lib/skill-learning.js +8 -8
- package/dist/lib/status-brief.js +2 -2
- package/dist/lib/store.js +6 -6
- package/dist/lib/task-router.js +3 -3
- package/dist/lib/tasks.js +16 -16
- package/dist/lib/tmux-routing.js +14 -14
- package/dist/lib/tmux-status.js +3 -1
- package/dist/lib/token-spend.js +3 -3
- package/dist/{license-gate-R4JWTWM4.js → license-gate-JOBLFMWY.js} +3 -3
- package/dist/{license-recheck-3MBJ4IJX.js → license-recheck-BZ32WRVP.js} +1 -1
- package/dist/{license-sync-BVSG3WMW.js → license-sync-AXGGCZSG.js} +119 -8
- package/dist/{local-secret-inventory-JWNBHZZ4.js → local-secret-inventory-MJT7NJLY.js} +2 -2
- package/dist/mcp/register-tools.js +86 -86
- package/dist/mcp/server.js +86 -86
- 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 +19 -19
- package/dist/mcp/tools/deactivate-behavior.js +10 -10
- package/dist/mcp/tools/list-reminders.js +4 -4
- package/dist/mcp/tools/list-tasks.js +19 -19
- package/dist/mcp/tools/send-message.js +18 -18
- package/dist/mcp/tools/update-task.js +17 -17
- package/dist/{mcp-child-registry-TIZERM7O.js → mcp-child-registry-5VUG5ATZ.js} +1 -1
- package/dist/{mcp-http-config-VUMSFWFH.js → mcp-http-config-KC732KUS.js} +5 -5
- package/dist/{mcp-session-identity-DZHWEJRV.js → mcp-session-identity-BL4MEFRI.js} +14 -14
- package/dist/{memory-cards-JVXTMSAT.js → memory-cards-VY5SUEOT.js} +6 -6
- package/dist/{memory-graph-extractor-PPBJMYFJ.js → memory-graph-extractor-KUAYIBYB.js} +7 -7
- package/dist/{memory-poisoning-defense-K5Q74XQ4.js → memory-poisoning-defense-VLLYEI7P.js} +2 -2
- package/dist/{memory-pressure-watchdog-YMJH5CSA.js → memory-pressure-watchdog-Y2WUPNXY.js} +15 -15
- package/dist/{memory-reflection-7BZWIHRE.js → memory-reflection-DZRRYMWH.js} +6 -6
- package/dist/{notification-ledger-XRAXL5OI.js → notification-ledger-VQKLAZMN.js} +15 -15
- package/dist/{notifications-JE3PX55X.js → notifications-NBCKXUKB.js} +14 -14
- package/dist/{orchestration-events-JCQ5F5IJ.js → orchestration-events-UE4RLVWY.js} +3 -3
- package/dist/{orchestrator-X65INDTR.js → orchestrator-YCS6W4OS.js} +16 -16
- package/dist/{org-brief-session-3PQ22UIX.js → org-brief-session-JQHHCCGX.js} +7 -7
- package/dist/{org-consent-policy-VGELJ7K7.js → org-consent-policy-DWGDWXMB.js} +1 -1
- package/dist/{org-join-6TO5ZYUZ.js → org-join-OFD63DUX.js} +3 -3
- package/dist/{org-key-admin-XHYVRRAZ.js → org-key-admin-DFLTIXHU.js} +4 -4
- package/dist/{org-membership-Y7T2BS57.js → org-membership-CLP2LDI5.js} +1 -1
- package/dist/{org-partner-config-OP4NEUNF.js → org-partner-config-3SEWKDDO.js} +2 -2
- package/dist/{org-partner-runtime-YNVUNT2R.js → org-partner-runtime-RC3MYK6L.js} +7 -7
- package/dist/{org-row-visibility-JBBXNYXD.js → org-row-visibility-H4CNVBW3.js} +1 -1
- package/dist/{pipeline-router-EIBB7QNG.js → pipeline-router-7GDTJB5E.js} +3 -3
- package/dist/{plan-limits-MEWXYLEN.js → plan-limits-GCSBJJRA.js} +5 -5
- package/dist/{pre-tool-use-impl-C6KJY22W.js → pre-tool-use-impl-DYGSDG3M.js} +91 -57
- package/dist/{project-name-UYORSNGE.js → project-name-RHWUY3AE.js} +3 -3
- package/dist/{projection-worker-WYFDWS57.js → projection-worker-6CDL4N2W.js} +2 -2
- package/dist/{prospective-memory-E6XBQFJA.js → prospective-memory-JDURSUXI.js} +2 -2
- package/dist/{push-notifications-M7YU63FY.js → push-notifications-MP3T4GH4.js} +15 -15
- package/dist/{reproject-worktree-memories-B5XMGJSD.js → reproject-worktree-memories-WTXQLSLM.js} +14 -14
- package/dist/{reranker-SRA4BR7N.js → reranker-FRNSY3NG.js} +1 -1
- package/dist/{retrieval-health-P2JPZUPV.js → retrieval-health-EXFGOVKR.js} +1 -1
- package/dist/{review-polling-KQPN7IQE.js → review-polling-BFXFQOMG.js} +15 -15
- package/dist/runtime/index.js +18 -18
- package/dist/{session-events-6LDDKKY3.js → session-events-SKRFRHCQ.js} +15 -15
- package/dist/{session-kill-telemetry-5DSRGWCL.js → session-kill-telemetry-HP3FHU55.js} +15 -15
- package/dist/{session-scope-XG5R3P3D.js → session-scope-4U36PKCC.js} +14 -14
- package/dist/{setup-wizard-7QFLZIKT.js → setup-wizard-KHU7Y623.js} +1 -1
- package/dist/{skill-refinement-I5RMAHSC.js → skill-refinement-YWHALWL4.js} +3 -3
- package/dist/{stack-generate-manifest-AKMZ3AUX.js → stack-generate-manifest-L44KUZ62.js} +6 -6
- package/dist/{stack-promote-34CE2HHF.js → stack-promote-RW7WAQHA.js} +6 -6
- package/dist/{stack-release-5PGWV5D4.js → stack-release-7RU2SH65.js} +131 -25
- package/dist/{stack-update-ZQQ5YYPJ.js → stack-update-AJD3FZ4U.js} +5 -5
- package/dist/{steward-gate-AQJ6KT2C.js → steward-gate-Y4QFNWED.js} +3 -3
- package/dist/{subagent-brief-injection-3GU7YAWY.js → subagent-brief-injection-ADDSO74U.js} +26 -26
- package/dist/{subagent-spawn-ledger-52I66CLW.js → subagent-spawn-ledger-OI23OT4I.js} +1 -1
- package/dist/{support-inbox-NY5TB3FN.js → support-inbox-LSCNMSCF.js} +10 -10
- package/dist/{support-outbox-KNI3FR3G.js → support-outbox-MOZSZTI6.js} +2 -2
- package/dist/{task-enforcement-CAA6D2MH.js → task-enforcement-W2WDBAIR.js} +15 -15
- package/dist/{task-request-inbox-QBZVU66E.js → task-request-inbox-4F3VB2B4.js} +1 -1
- package/dist/{task-scope-NHXB4ZRN.js → task-scope-VRVAHE23.js} +20 -14
- package/dist/{tasks-crud-JHSWL5NM.js → tasks-crud-JHADSQ4R.js} +14 -14
- package/dist/{tasks-notify-7PBE4U7T.js → tasks-notify-KSJORZOP.js} +15 -15
- package/dist/{tasks-review-PPPVEE62.js → tasks-review-CBHI5OT7.js} +16 -14
- package/dist/{telemetry-upload-YU2VRNHX.js → telemetry-upload-LRM4CG5G.js} +7 -7
- package/dist/{token-budget-QCMWKG3K.js → token-budget-IIZGO4PI.js} +3 -3
- package/dist/{tool-telemetry-LTOIC64I.js → tool-telemetry-4U4CP4O6.js} +1 -1
- package/dist/tui/App.js +47 -25
- package/dist/{tui-data-NDBXD6U7.js → tui-data-QGL5G67O.js} +18 -18
- package/dist/{update-support-BMJM4NG7.js → update-support-NSJLA64L.js} +13 -13
- package/dist/{whatsapp-QQLDAHUX.js → whatsapp-LLGB5RMQ.js} +1 -1
- package/dist/{wiki-acl-W6WDCVCP.js → wiki-acl-PIYYQZZX.js} +1 -1
- package/dist/{work-claims-6DM32MGO.js → work-claims-3YIDXG3Q.js} +3 -3
- package/dist/{work-state-heartbeat-HG7D4AWJ.js → work-state-heartbeat-PFULN6VV.js} +1 -1
- package/dist/{workflow-engine-ZWC6CCXE.js → workflow-engine-XMMWRP4D.js} +2 -2
- package/dist/{worktree-EMQCPGFE.js → worktree-WILU76HY.js} +4 -4
- package/dist/{worktree-sweep-XVUJZBXV.js → worktree-sweep-6ZGHXF3A.js} +5 -5
- package/package.json +7 -5
- package/release-notes.json +15 -37
- package/stack.release.json +11 -11
- package/dist/conversations-retention-C4BLKFEL.js +0 -54
- /package/dist/{chunk-GIRD7O5X.js → chunk-B7ACMQ2K.js} +0 -0
- /package/dist/{chunk-U2D6PJ5T.js → chunk-DOKN63TW.js} +0 -0
- /package/dist/{chunk-AJK2PVQW.js → chunk-F47NNIP3.js} +0 -0
- /package/dist/{chunk-VROK4X2L.js → chunk-GXQPJA76.js} +0 -0
- /package/dist/{chunk-TKAU7IJ2.js → chunk-GY2KEOVK.js} +0 -0
- /package/dist/{chunk-DN3ZR3UE.js → chunk-IVQGBWJI.js} +0 -0
- /package/dist/{chunk-JRIH6I7D.js → chunk-NQ3ZAYJL.js} +0 -0
- /package/dist/{chunk-XDVOGDBC.js → chunk-P2XGESMD.js} +0 -0
- /package/dist/{chunk-AWWDKF22.js → chunk-XK7JO45D.js} +0 -0
- /package/dist/{chunk-DZN7SDY2.js → chunk-YBD3O77S.js} +0 -0
- /package/dist/{chunk-M4XY4JRK.js → chunk-YKTJBFWH.js} +0 -0
- /package/dist/{core-memory-O6D5UC3T.js → core-memory-EWFVZB2X.js} +0 -0
- /package/dist/{memory-isolation-EBFFC6HF.js → memory-isolation-N3QQAF27.js} +0 -0
- /package/dist/{oauth-server-ZKBUHDFI.js → oauth-server-GTRPZOXH.js} +0 -0
- /package/dist/{project-boot-VEYFCCSL.js → project-boot-BDMMGYZG.js} +0 -0
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
} from "../chunk-4EI5AHHR.js";
|
|
5
5
|
import {
|
|
6
6
|
isSidechainTranscript
|
|
7
|
-
} from "../chunk-
|
|
7
|
+
} from "../chunk-HIYGHRLV.js";
|
|
8
8
|
import {
|
|
9
9
|
isCacheCold
|
|
10
10
|
} from "../chunk-6A7P74QV.js";
|
|
@@ -16,46 +16,46 @@ import {
|
|
|
16
16
|
import {
|
|
17
17
|
hybridSearch,
|
|
18
18
|
lightweightSearch
|
|
19
|
-
} from "../chunk-
|
|
20
|
-
import "../chunk-
|
|
19
|
+
} from "../chunk-MMHKSDG3.js";
|
|
20
|
+
import "../chunk-YKTJBFWH.js";
|
|
21
21
|
import "../chunk-VMHZSZQJ.js";
|
|
22
|
-
import "../chunk-
|
|
23
|
-
import "../chunk-
|
|
22
|
+
import "../chunk-ZAUHCQYK.js";
|
|
23
|
+
import "../chunk-XK7JO45D.js";
|
|
24
24
|
import "../chunk-CHCA3ZM2.js";
|
|
25
25
|
import "../chunk-OTVEIJUQ.js";
|
|
26
|
-
import "../chunk-
|
|
26
|
+
import "../chunk-2XCUUS4V.js";
|
|
27
27
|
import {
|
|
28
28
|
getActiveAgent
|
|
29
|
-
} from "../chunk-
|
|
30
|
-
import "../chunk-
|
|
29
|
+
} from "../chunk-RBFPPNXS.js";
|
|
30
|
+
import "../chunk-NRLJOV7M.js";
|
|
31
31
|
import "../chunk-5MOYSU5A.js";
|
|
32
|
-
import "../chunk-
|
|
32
|
+
import "../chunk-ZUGQPYUY.js";
|
|
33
33
|
import "../chunk-76CJBM36.js";
|
|
34
34
|
import {
|
|
35
35
|
decideQueuedNudgeDrain,
|
|
36
36
|
getMySession,
|
|
37
37
|
getSessionState,
|
|
38
38
|
isExeSession
|
|
39
|
-
} from "../chunk-
|
|
40
|
-
import "../chunk-
|
|
41
|
-
import "../chunk-
|
|
39
|
+
} from "../chunk-TU63ZMMS.js";
|
|
40
|
+
import "../chunk-OH6B7ICF.js";
|
|
41
|
+
import "../chunk-ORHX5E7L.js";
|
|
42
42
|
import "../chunk-ZKGWHT56.js";
|
|
43
|
-
import "../chunk-
|
|
43
|
+
import "../chunk-VA47XBUX.js";
|
|
44
44
|
import "../chunk-WT4RI36X.js";
|
|
45
45
|
import "../chunk-E23LNUWJ.js";
|
|
46
46
|
import "../chunk-TDF2XKLK.js";
|
|
47
47
|
import "../chunk-EIKATSE4.js";
|
|
48
48
|
import "../chunk-MJCSEIFI.js";
|
|
49
|
-
import "../chunk-
|
|
50
|
-
import "../chunk-
|
|
49
|
+
import "../chunk-CI5R7QV7.js";
|
|
50
|
+
import "../chunk-OKQCTYLW.js";
|
|
51
51
|
import "../chunk-VI4ATC6I.js";
|
|
52
52
|
import "../chunk-A27Q27CT.js";
|
|
53
|
-
import "../chunk-
|
|
53
|
+
import "../chunk-N5STNP44.js";
|
|
54
54
|
import "../chunk-T5SM4RXY.js";
|
|
55
|
-
import "../chunk-
|
|
55
|
+
import "../chunk-OFCTRALK.js";
|
|
56
56
|
import "../chunk-L5EPGGDP.js";
|
|
57
57
|
import "../chunk-AM7S2TY6.js";
|
|
58
|
-
import "../chunk-
|
|
58
|
+
import "../chunk-IOIBJY5D.js";
|
|
59
59
|
import {
|
|
60
60
|
getSessionKey
|
|
61
61
|
} from "../chunk-CVYC6DUW.js";
|
|
@@ -71,18 +71,18 @@ import "../chunk-3DAEZILW.js";
|
|
|
71
71
|
import "../chunk-DRTJCG6B.js";
|
|
72
72
|
import {
|
|
73
73
|
getProjectName
|
|
74
|
-
} from "../chunk-
|
|
74
|
+
} from "../chunk-Z2RU4QH5.js";
|
|
75
75
|
import "../chunk-HYZV25LY.js";
|
|
76
76
|
import "../chunk-GJV3WDWM.js";
|
|
77
77
|
import "../chunk-MP2AFCGL.js";
|
|
78
78
|
import "../chunk-YRUZK2QA.js";
|
|
79
79
|
import {
|
|
80
80
|
canCoordinate
|
|
81
|
-
} from "../chunk-
|
|
81
|
+
} from "../chunk-2GUT5CWI.js";
|
|
82
82
|
import "../chunk-BBMTVAE3.js";
|
|
83
83
|
import "../chunk-TKDITWDN.js";
|
|
84
84
|
import "../chunk-5YEUPUV4.js";
|
|
85
|
-
import "../chunk-
|
|
85
|
+
import "../chunk-QSYY4R6R.js";
|
|
86
86
|
import "../chunk-YYB5PMTK.js";
|
|
87
87
|
import "../chunk-L5CGXEZC.js";
|
|
88
88
|
import "../chunk-QH5ZQ5SJ.js";
|
|
@@ -93,9 +93,9 @@ import {
|
|
|
93
93
|
import "../chunk-FXU7JOXK.js";
|
|
94
94
|
import "../chunk-WNBZJSQT.js";
|
|
95
95
|
import "../chunk-5U2IJBFV.js";
|
|
96
|
-
import "../chunk-
|
|
96
|
+
import "../chunk-5SPQBSKC.js";
|
|
97
97
|
import "../chunk-A7XLR3K7.js";
|
|
98
|
-
import "../chunk-
|
|
98
|
+
import "../chunk-YBD3O77S.js";
|
|
99
99
|
import "../chunk-A7JYF4RG.js";
|
|
100
100
|
import "../chunk-ARX6TAGN.js";
|
|
101
101
|
import {
|
|
@@ -201,7 +201,7 @@ process.on("unhandledRejection", (err) => {
|
|
|
201
201
|
});
|
|
202
202
|
process.env.EXE_HOOK_FAIL_OPEN = "1";
|
|
203
203
|
try {
|
|
204
|
-
const { verifyOrBlock } = await import("../hook-integrity-
|
|
204
|
+
const { verifyOrBlock } = await import("../hook-integrity-33F4OTV6.js");
|
|
205
205
|
if (!await verifyOrBlock(new URL(import.meta.url).pathname)) process.exit(2);
|
|
206
206
|
} catch (err) {
|
|
207
207
|
const code = err?.code;
|
|
@@ -262,7 +262,7 @@ function withBudget(promise, fallback) {
|
|
|
262
262
|
var _hookDbPromise = null;
|
|
263
263
|
function hookDb() {
|
|
264
264
|
_hookDbPromise ??= (async () => {
|
|
265
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
265
|
+
const { fastDbInit } = await import("../fast-db-init-LSDW3AP3.js");
|
|
266
266
|
return fastDbInit({ daemonOnly: true });
|
|
267
267
|
})();
|
|
268
268
|
return _hookDbPromise;
|
|
@@ -510,7 +510,7 @@ process.stdin.on("end", async () => {
|
|
|
510
510
|
let queuedForMe = [];
|
|
511
511
|
if (currentSession && !suppressTaskLifecycleNudges) {
|
|
512
512
|
try {
|
|
513
|
-
const { readQueue } = await import("../intercom-queue-
|
|
513
|
+
const { readQueue } = await import("../intercom-queue-GIE6URPU.js");
|
|
514
514
|
queuedForMe = readQueue().filter((q) => q.targetSession === currentSession);
|
|
515
515
|
} catch {
|
|
516
516
|
}
|
|
@@ -537,7 +537,7 @@ process.stdin.on("end", async () => {
|
|
|
537
537
|
if (prefetchClient) {
|
|
538
538
|
prefetch = await withHookTimeout(
|
|
539
539
|
(async () => {
|
|
540
|
-
const { prefetchPromptHookCounts } = await import("../hook-prefetch-
|
|
540
|
+
const { prefetchPromptHookCounts } = await import("../hook-prefetch-ZSB2IAIW.js");
|
|
541
541
|
return prefetchPromptHookCounts(prefetchClient, {
|
|
542
542
|
agentIds: agentTaskIds(agent.agentId),
|
|
543
543
|
agentId: agent.agentId,
|
|
@@ -561,7 +561,7 @@ process.stdin.on("end", async () => {
|
|
|
561
561
|
}
|
|
562
562
|
let drainedNudgeContext = "";
|
|
563
563
|
if (currentSession && queuedForMe.length > 0 && !suppressTaskLifecycleNudges) try {
|
|
564
|
-
const { drainForSession } = await import("../intercom-queue-
|
|
564
|
+
const { drainForSession } = await import("../intercom-queue-GIE6URPU.js");
|
|
565
565
|
const { baseAgentName } = await import("../lib/employees.js");
|
|
566
566
|
const MARKER_STALE_MS = 4 * 60 * 60 * 1e3;
|
|
567
567
|
const hasInProgressTask = (agentName) => {
|
|
@@ -650,8 +650,8 @@ ${fresh.map(
|
|
|
650
650
|
mkdirSync(CACHE_DIR, { recursive: true });
|
|
651
651
|
atomicWriteSync(behaviorLastCheckPath, (/* @__PURE__ */ new Date()).toISOString());
|
|
652
652
|
} else if (count % BEHAVIOR_REINJECT_INTERVAL === 0) {
|
|
653
|
-
const { listBehaviors, countActiveBehaviors } = await import("../behaviors-
|
|
654
|
-
const { BEHAVIOR_INJECTION_CAP, behaviorTruncationNotice, fetchInjectableBehaviors, selectInjectedBehaviors } = await import("../behavior-injection-
|
|
653
|
+
const { listBehaviors, countActiveBehaviors } = await import("../behaviors-7RRWAZE2.js");
|
|
654
|
+
const { BEHAVIOR_INJECTION_CAP, behaviorTruncationNotice, fetchInjectableBehaviors, selectInjectedBehaviors } = await import("../behavior-injection-4AOTSXRV.js");
|
|
655
655
|
const behaviors = await withBudget(fetchInjectableBehaviors(agent.agentId, void 0, listBehaviors), []);
|
|
656
656
|
const counts = await withBudget(
|
|
657
657
|
countActiveBehaviors(agent.agentId),
|
|
@@ -700,7 +700,7 @@ ${overflow}`;
|
|
|
700
700
|
if (!lastCheckedAt) {
|
|
701
701
|
lastCheckedAt = "1970-01-01T00:00:00.000Z";
|
|
702
702
|
}
|
|
703
|
-
const { listBehaviorsSince } = await import("../behaviors-
|
|
703
|
+
const { listBehaviorsSince } = await import("../behaviors-7RRWAZE2.js");
|
|
704
704
|
const newBehaviors = await withBudget(listBehaviorsSince(agent.agentId, lastCheckedAt), []);
|
|
705
705
|
if (newBehaviors.length > 0) {
|
|
706
706
|
const newReflex = newBehaviors.filter((b) => b.domain === "reflex");
|
|
@@ -768,7 +768,7 @@ ${body}`;
|
|
|
768
768
|
let reviewContext = "";
|
|
769
769
|
if (canCoordinate(agent.agentId, agent.agentRole)) {
|
|
770
770
|
try {
|
|
771
|
-
const { countPendingReviews, countNewPendingReviewsSince } = await import("../tasks-review-
|
|
771
|
+
const { countPendingReviews, countNewPendingReviewsSince } = await import("../tasks-review-CBHI5OT7.js");
|
|
772
772
|
const sessionKey = getSessionKey();
|
|
773
773
|
const lastCheckPath = path.join(CACHE_DIR, `review-lastcheck-${sessionKey}.json`);
|
|
774
774
|
let sessionScope;
|
|
@@ -825,7 +825,7 @@ IMPORTANT: After completing your current task, you MUST address the pending revi
|
|
|
825
825
|
let coreMemoryContext = "";
|
|
826
826
|
if (!IS_CODEX_RUNTIME && agent.agentId !== "default") {
|
|
827
827
|
try {
|
|
828
|
-
const { getCoreMemory, formatCoreMemoryBlock } = await import("../core-memory-
|
|
828
|
+
const { getCoreMemory, formatCoreMemoryBlock } = await import("../core-memory-EWFVZB2X.js");
|
|
829
829
|
const entries = await withBudget(getCoreMemory(agent.agentId), []);
|
|
830
830
|
const block = formatCoreMemoryBlock(entries);
|
|
831
831
|
if (block) coreMemoryContext = block;
|
|
@@ -922,7 +922,7 @@ IMPORTANT: After completing your current task, you MUST address the new task abo
|
|
|
922
922
|
} catch {
|
|
923
923
|
}
|
|
924
924
|
try {
|
|
925
|
-
const { recordOrchestrationEventBestEffort: recordOE } = await import("../orchestration-events-
|
|
925
|
+
const { recordOrchestrationEventBestEffort: recordOE } = await import("../orchestration-events-UE4RLVWY.js");
|
|
926
926
|
recordOE({
|
|
927
927
|
eventType: "signal.consumed",
|
|
928
928
|
source: "prompt-submit.hook",
|
|
@@ -1096,7 +1096,7 @@ async function writePromptMemory(prompt, sessionId, agent) {
|
|
|
1096
1096
|
return;
|
|
1097
1097
|
}
|
|
1098
1098
|
try {
|
|
1099
|
-
const { recordSessionEvent } = await import("../session-events-
|
|
1099
|
+
const { recordSessionEvent } = await import("../session-events-SKRFRHCQ.js");
|
|
1100
1100
|
const client = await hookDb();
|
|
1101
1101
|
await recordSessionEvent(client, {
|
|
1102
1102
|
agentId: agent.agentId,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
writeContinuityCheckpoint
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-GY2KEOVK.js";
|
|
4
4
|
import {
|
|
5
5
|
clearCacheState
|
|
6
6
|
} from "../chunk-6A7P74QV.js";
|
|
@@ -9,30 +9,30 @@ import "../chunk-SH45SJQW.js";
|
|
|
9
9
|
import {
|
|
10
10
|
clearActiveAgent,
|
|
11
11
|
getActiveAgent
|
|
12
|
-
} from "../chunk-
|
|
13
|
-
import "../chunk-
|
|
12
|
+
} from "../chunk-RBFPPNXS.js";
|
|
13
|
+
import "../chunk-NRLJOV7M.js";
|
|
14
14
|
import {
|
|
15
15
|
strictSessionScopeFilter
|
|
16
|
-
} from "../chunk-
|
|
17
|
-
import "../chunk-
|
|
18
|
-
import "../chunk-
|
|
16
|
+
} from "../chunk-TU63ZMMS.js";
|
|
17
|
+
import "../chunk-OH6B7ICF.js";
|
|
18
|
+
import "../chunk-ORHX5E7L.js";
|
|
19
19
|
import "../chunk-ZKGWHT56.js";
|
|
20
|
-
import "../chunk-
|
|
20
|
+
import "../chunk-VA47XBUX.js";
|
|
21
21
|
import "../chunk-WT4RI36X.js";
|
|
22
22
|
import "../chunk-E23LNUWJ.js";
|
|
23
23
|
import "../chunk-TDF2XKLK.js";
|
|
24
24
|
import "../chunk-EIKATSE4.js";
|
|
25
25
|
import "../chunk-MJCSEIFI.js";
|
|
26
|
-
import "../chunk-
|
|
27
|
-
import "../chunk-
|
|
26
|
+
import "../chunk-CI5R7QV7.js";
|
|
27
|
+
import "../chunk-OKQCTYLW.js";
|
|
28
28
|
import "../chunk-VI4ATC6I.js";
|
|
29
29
|
import "../chunk-A27Q27CT.js";
|
|
30
|
-
import "../chunk-
|
|
30
|
+
import "../chunk-N5STNP44.js";
|
|
31
31
|
import "../chunk-T5SM4RXY.js";
|
|
32
|
-
import "../chunk-
|
|
32
|
+
import "../chunk-OFCTRALK.js";
|
|
33
33
|
import "../chunk-L5EPGGDP.js";
|
|
34
34
|
import "../chunk-AM7S2TY6.js";
|
|
35
|
-
import "../chunk-
|
|
35
|
+
import "../chunk-IOIBJY5D.js";
|
|
36
36
|
import {
|
|
37
37
|
getSessionKey
|
|
38
38
|
} from "../chunk-CVYC6DUW.js";
|
|
@@ -48,27 +48,27 @@ import "../chunk-3DAEZILW.js";
|
|
|
48
48
|
import "../chunk-DRTJCG6B.js";
|
|
49
49
|
import {
|
|
50
50
|
resolveProjectName
|
|
51
|
-
} from "../chunk-
|
|
51
|
+
} from "../chunk-Z2RU4QH5.js";
|
|
52
52
|
import "../chunk-HYZV25LY.js";
|
|
53
53
|
import "../chunk-GJV3WDWM.js";
|
|
54
54
|
import "../chunk-MP2AFCGL.js";
|
|
55
55
|
import "../chunk-YRUZK2QA.js";
|
|
56
56
|
import {
|
|
57
57
|
canCoordinate
|
|
58
|
-
} from "../chunk-
|
|
58
|
+
} from "../chunk-2GUT5CWI.js";
|
|
59
59
|
import "../chunk-BBMTVAE3.js";
|
|
60
60
|
import "../chunk-TKDITWDN.js";
|
|
61
61
|
import "../chunk-5YEUPUV4.js";
|
|
62
|
-
import "../chunk-
|
|
62
|
+
import "../chunk-QSYY4R6R.js";
|
|
63
63
|
import "../chunk-YYB5PMTK.js";
|
|
64
64
|
import "../chunk-L5CGXEZC.js";
|
|
65
65
|
import "../chunk-QH5ZQ5SJ.js";
|
|
66
66
|
import "../chunk-ZQEJ4IX2.js";
|
|
67
67
|
import "../chunk-FXU7JOXK.js";
|
|
68
68
|
import "../chunk-WNBZJSQT.js";
|
|
69
|
-
import "../chunk-
|
|
69
|
+
import "../chunk-5SPQBSKC.js";
|
|
70
70
|
import "../chunk-A7XLR3K7.js";
|
|
71
|
-
import "../chunk-
|
|
71
|
+
import "../chunk-YBD3O77S.js";
|
|
72
72
|
import "../chunk-A7JYF4RG.js";
|
|
73
73
|
import "../chunk-ARX6TAGN.js";
|
|
74
74
|
import "../chunk-MMS2HBRT.js";
|
|
@@ -88,7 +88,7 @@ process.on("unhandledRejection", (err) => {
|
|
|
88
88
|
process.exit(1);
|
|
89
89
|
});
|
|
90
90
|
try {
|
|
91
|
-
const { verifyOrBlock } = await import("../hook-integrity-
|
|
91
|
+
const { verifyOrBlock } = await import("../hook-integrity-33F4OTV6.js");
|
|
92
92
|
if (!await verifyOrBlock(new URL(import.meta.url).pathname)) process.exit(2);
|
|
93
93
|
} catch (err) {
|
|
94
94
|
const code = err?.code;
|
|
@@ -288,7 +288,7 @@ process.stdin.on("end", async () => {
|
|
|
288
288
|
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"}
|
|
289
289
|
`);
|
|
290
290
|
try {
|
|
291
|
-
const { recordOrchestrationEvent } = await import("../orchestration-events-
|
|
291
|
+
const { recordOrchestrationEvent } = await import("../orchestration-events-UE4RLVWY.js");
|
|
292
292
|
await recordOrchestrationEvent({
|
|
293
293
|
eventType: "session.exit",
|
|
294
294
|
source: "hooks.session-end",
|
|
@@ -314,7 +314,7 @@ process.stdin.on("end", async () => {
|
|
|
314
314
|
}
|
|
315
315
|
if (agent.agentId) {
|
|
316
316
|
try {
|
|
317
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
317
|
+
const { fastDbInit } = await import("../fast-db-init-LSDW3AP3.js");
|
|
318
318
|
const client = await fastDbInit({ caller: "hook" });
|
|
319
319
|
const seScope = strictSessionScopeFilter();
|
|
320
320
|
const orphanResult = await client.execute({
|
|
@@ -414,12 +414,12 @@ Orphaned tasks at session end: ${openTaskList}` : "";
|
|
|
414
414
|
}
|
|
415
415
|
}
|
|
416
416
|
try {
|
|
417
|
-
const { clearSessionFileReads } = await import("../git-staleness-
|
|
417
|
+
const { clearSessionFileReads } = await import("../git-staleness-ZU45ORBY.js");
|
|
418
418
|
await clearSessionFileReads(data.session_id);
|
|
419
419
|
} catch {
|
|
420
420
|
}
|
|
421
421
|
try {
|
|
422
|
-
const { DreamingEngine } = await import("../dreaming-
|
|
422
|
+
const { DreamingEngine } = await import("../dreaming-B6IMGYKE.js");
|
|
423
423
|
const engine = new DreamingEngine();
|
|
424
424
|
const dreamResult = await engine.runDreamCycle(agent.agentId);
|
|
425
425
|
let promoted = 0;
|
|
@@ -495,7 +495,7 @@ Orphaned tasks at session end: ${openTaskList}` : "";
|
|
|
495
495
|
parts.push(`Left in_progress (no matching commits, needs triage): ${leftInProgress.join(", ")}`);
|
|
496
496
|
}
|
|
497
497
|
try {
|
|
498
|
-
const { writeNotification } = await import("../notifications-
|
|
498
|
+
const { writeNotification } = await import("../notifications-NBCKXUKB.js");
|
|
499
499
|
await writeNotification({
|
|
500
500
|
agentId: agent.agentId,
|
|
501
501
|
agentRole: agent.agentRole,
|
|
@@ -24,7 +24,7 @@ process.on("unhandledRejection", (err) => {
|
|
|
24
24
|
process.exit(1);
|
|
25
25
|
});
|
|
26
26
|
try {
|
|
27
|
-
const { verifyOrBlock } = await import("../hook-integrity-
|
|
27
|
+
const { verifyOrBlock } = await import("../hook-integrity-33F4OTV6.js");
|
|
28
28
|
if (!await verifyOrBlock(new URL(import.meta.url).pathname)) process.exit(2);
|
|
29
29
|
} catch (err) {
|
|
30
30
|
const code = err?.code;
|
|
@@ -60,14 +60,15 @@ process.stdin.on("data", (chunk) => {
|
|
|
60
60
|
process.stdin.on("end", async () => {
|
|
61
61
|
let failed = false;
|
|
62
62
|
try {
|
|
63
|
-
const { getActiveAgent } = await import("../active-agent-
|
|
64
|
-
const { getProjectName } = await import("../project-name-
|
|
65
|
-
const { getCurrentSessionScope } = await import("../task-scope-
|
|
63
|
+
const { getActiveAgent } = await import("../active-agent-B2RK62MI.js");
|
|
64
|
+
const { getProjectName } = await import("../project-name-RHWUY3AE.js");
|
|
65
|
+
const { getCurrentSessionScope } = await import("../task-scope-VRVAHE23.js");
|
|
66
66
|
const { canCoordinate } = await import("../lib/employees.js");
|
|
67
67
|
const data = JSON.parse(input);
|
|
68
68
|
const projectName = getProjectName(data.cwd || void 0);
|
|
69
69
|
const source = data.source ?? "startup";
|
|
70
70
|
if (!process.env.EXE_SESSION_NAME && (process.env.TMUX || process.env.TMUX_PANE)) {
|
|
71
|
+
const { noteSessionScopeProbeFailed } = await import("../task-scope-VRVAHE23.js");
|
|
71
72
|
try {
|
|
72
73
|
const { execFileSync } = await import("child_process");
|
|
73
74
|
const tmuxName = execFileSync("tmux", ["display-message", "-p", "#{session_name}"], {
|
|
@@ -78,8 +79,15 @@ process.stdin.on("end", async () => {
|
|
|
78
79
|
if (tmuxName) {
|
|
79
80
|
process.env.EXE_SESSION_NAME = tmuxName;
|
|
80
81
|
process.env.EXE_SESSION = tmuxName.replace(/-.*$/, "");
|
|
82
|
+
} else {
|
|
83
|
+
noteSessionScopeProbeFailed(
|
|
84
|
+
"tmux reported no session name while TMUX is set (session-start)"
|
|
85
|
+
);
|
|
81
86
|
}
|
|
82
|
-
} catch {
|
|
87
|
+
} catch (err) {
|
|
88
|
+
noteSessionScopeProbeFailed(
|
|
89
|
+
"tmux session-name probe failed while TMUX is set (session-start): " + (err instanceof Error ? err.message : String(err))
|
|
90
|
+
);
|
|
83
91
|
}
|
|
84
92
|
}
|
|
85
93
|
const sessionScope = getCurrentSessionScope();
|
|
@@ -94,7 +102,7 @@ process.stdin.on("end", async () => {
|
|
|
94
102
|
if (daemonDegraded) {
|
|
95
103
|
process.stderr.write("[session-start] WARNING: daemon/DB unavailable after retries \u2014 booting in degraded mode (no memory context)\n");
|
|
96
104
|
try {
|
|
97
|
-
const { recordOrchestrationEvent } = await import("../orchestration-events-
|
|
105
|
+
const { recordOrchestrationEvent } = await import("../orchestration-events-UE4RLVWY.js");
|
|
98
106
|
void recordOrchestrationEvent({
|
|
99
107
|
eventType: "mcp.unreachable",
|
|
100
108
|
source: "session-start.hook",
|
|
@@ -118,12 +126,12 @@ process.stdin.on("end", async () => {
|
|
|
118
126
|
}
|
|
119
127
|
if (!daemonDegraded) {
|
|
120
128
|
try {
|
|
121
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
129
|
+
const { fastDbInit } = await import("../fast-db-init-LSDW3AP3.js");
|
|
122
130
|
await fastDbInit({ caller: "hook" });
|
|
123
131
|
} catch {
|
|
124
132
|
try {
|
|
125
133
|
await new Promise((resolve) => setTimeout(resolve, 750));
|
|
126
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
134
|
+
const { fastDbInit } = await import("../fast-db-init-LSDW3AP3.js");
|
|
127
135
|
await fastDbInit({ caller: "hook" });
|
|
128
136
|
} catch {
|
|
129
137
|
daemonDegraded = true;
|
|
@@ -181,7 +189,7 @@ process.stdin.on("end", async () => {
|
|
|
181
189
|
`
|
|
182
190
|
);
|
|
183
191
|
try {
|
|
184
|
-
const { recordOrchestrationEvent } = await import("../orchestration-events-
|
|
192
|
+
const { recordOrchestrationEvent } = await import("../orchestration-events-UE4RLVWY.js");
|
|
185
193
|
void recordOrchestrationEvent({
|
|
186
194
|
eventType: "session.identity_rebind_refused",
|
|
187
195
|
source: "session-start.hook",
|
|
@@ -211,7 +219,7 @@ process.stdin.on("end", async () => {
|
|
|
211
219
|
});
|
|
212
220
|
}
|
|
213
221
|
try {
|
|
214
|
-
const { recordOrchestrationEvent } = await import("../orchestration-events-
|
|
222
|
+
const { recordOrchestrationEvent } = await import("../orchestration-events-UE4RLVWY.js");
|
|
215
223
|
void recordOrchestrationEvent({
|
|
216
224
|
eventType: "session.born",
|
|
217
225
|
source: "session-start.hook",
|
|
@@ -228,7 +236,7 @@ process.stdin.on("end", async () => {
|
|
|
228
236
|
if (daemonDegraded) {
|
|
229
237
|
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";
|
|
230
238
|
try {
|
|
231
|
-
const { getActiveAgent: getAgent } = await import("../active-agent-
|
|
239
|
+
const { getActiveAgent: getAgent } = await import("../active-agent-B2RK62MI.js");
|
|
232
240
|
const ag = getAgent();
|
|
233
241
|
if (ag.agentId !== "default") {
|
|
234
242
|
degradedContext = `## Your Identity
|
|
@@ -250,7 +258,7 @@ You are **${ag.agentId}**. The daemon was degraded at boot \u2014 memory context
|
|
|
250
258
|
if (source === "resume") {
|
|
251
259
|
header = "## Resuming Session\nHere's where you left off:";
|
|
252
260
|
try {
|
|
253
|
-
const { buildCatchupBrief } = await import("../catchup-brief-
|
|
261
|
+
const { buildCatchupBrief } = await import("../catchup-brief-GO6WLIT5.js");
|
|
254
262
|
const brief = await buildCatchupBrief(
|
|
255
263
|
agentId,
|
|
256
264
|
projectName,
|
|
@@ -265,14 +273,14 @@ You are **${ag.agentId}**. The daemon was degraded at boot \u2014 memory context
|
|
|
265
273
|
header = "## Memory Brief\nRecent memories from this project:";
|
|
266
274
|
}
|
|
267
275
|
try {
|
|
268
|
-
const { detectStaleFiles, formatStaleFileWarning } = await import("../git-staleness-
|
|
276
|
+
const { detectStaleFiles, formatStaleFileWarning } = await import("../git-staleness-ZU45ORBY.js");
|
|
269
277
|
const staleFiles = await detectStaleFiles(agentId, data.cwd || process.cwd());
|
|
270
278
|
const warning = formatStaleFileWarning(staleFiles);
|
|
271
279
|
if (warning) extraContext += `${extraContext.length > 0 ? "\n\n" : ""}${warning}`;
|
|
272
280
|
} catch {
|
|
273
281
|
}
|
|
274
|
-
const { queryTaskRows } = await import("../tasks-crud-
|
|
275
|
-
const { buildReviewSections } = await import("../boot-review-sections-
|
|
282
|
+
const { queryTaskRows } = await import("../tasks-crud-JHADSQ4R.js");
|
|
283
|
+
const { buildReviewSections } = await import("../boot-review-sections-WLYE6NUR.js");
|
|
276
284
|
const [taskResult, reviewSections] = await Promise.all([
|
|
277
285
|
sessionScope ? queryTaskRows({
|
|
278
286
|
assignedTo: agentId,
|
|
@@ -319,7 +327,7 @@ flow, so bug fixes are fast.`;
|
|
|
319
327
|
`;
|
|
320
328
|
if (agentId !== "default" && !daemonDegraded) {
|
|
321
329
|
try {
|
|
322
|
-
const { buildEmployeeBootBrief } = await import("../employee-boot-brief-
|
|
330
|
+
const { buildEmployeeBootBrief } = await import("../employee-boot-brief-WULO5JFD.js");
|
|
323
331
|
const memoryBrief = await buildEmployeeBootBrief({
|
|
324
332
|
agentId,
|
|
325
333
|
cwd: data.cwd || process.cwd(),
|
|
@@ -342,7 +350,7 @@ flow, so bug fixes are fast.`;
|
|
|
342
350
|
`;
|
|
343
351
|
if (agentId !== "default" && !daemonDegraded) {
|
|
344
352
|
try {
|
|
345
|
-
const { readLatestCheckpoint } = await import("../tasks-crud-
|
|
353
|
+
const { readLatestCheckpoint } = await import("../tasks-crud-JHADSQ4R.js");
|
|
346
354
|
const checkpoint = await readLatestCheckpoint(agentId, {
|
|
347
355
|
sessionScope: sessionScope ?? null,
|
|
348
356
|
callerSession: process.env.EXE_SESSION_NAME ?? null,
|
|
@@ -429,7 +437,7 @@ ${phase.label}. Focus: ${phase.focus}. This is guidance, not a blocker; the user
|
|
|
429
437
|
}
|
|
430
438
|
if (source !== "resume" && agentId !== "default") {
|
|
431
439
|
try {
|
|
432
|
-
const { getPendingProspective, markSurfaced } = await import("../prospective-memory-
|
|
440
|
+
const { getPendingProspective, markSurfaced } = await import("../prospective-memory-JDURSUXI.js");
|
|
433
441
|
const due = await getPendingProspective(agentId, { projectName, limit: 5 });
|
|
434
442
|
if (due.length > 0) {
|
|
435
443
|
const now = Date.now();
|
package/dist/hooks/stop.js
CHANGED
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import "../chunk-SH45SJQW.js";
|
|
2
2
|
import {
|
|
3
3
|
getActiveAgent
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-
|
|
4
|
+
} from "../chunk-RBFPPNXS.js";
|
|
5
|
+
import "../chunk-NRLJOV7M.js";
|
|
6
6
|
import {
|
|
7
7
|
sessionScopeFilter
|
|
8
|
-
} from "../chunk-
|
|
9
|
-
import "../chunk-
|
|
10
|
-
import "../chunk-
|
|
8
|
+
} from "../chunk-TU63ZMMS.js";
|
|
9
|
+
import "../chunk-OH6B7ICF.js";
|
|
10
|
+
import "../chunk-ORHX5E7L.js";
|
|
11
11
|
import "../chunk-ZKGWHT56.js";
|
|
12
|
-
import "../chunk-
|
|
12
|
+
import "../chunk-VA47XBUX.js";
|
|
13
13
|
import "../chunk-WT4RI36X.js";
|
|
14
14
|
import "../chunk-E23LNUWJ.js";
|
|
15
15
|
import "../chunk-TDF2XKLK.js";
|
|
16
16
|
import "../chunk-EIKATSE4.js";
|
|
17
17
|
import "../chunk-MJCSEIFI.js";
|
|
18
|
-
import "../chunk-
|
|
19
|
-
import "../chunk-
|
|
18
|
+
import "../chunk-CI5R7QV7.js";
|
|
19
|
+
import "../chunk-OKQCTYLW.js";
|
|
20
20
|
import "../chunk-VI4ATC6I.js";
|
|
21
21
|
import "../chunk-A27Q27CT.js";
|
|
22
|
-
import "../chunk-
|
|
22
|
+
import "../chunk-N5STNP44.js";
|
|
23
23
|
import "../chunk-T5SM4RXY.js";
|
|
24
|
-
import "../chunk-
|
|
24
|
+
import "../chunk-OFCTRALK.js";
|
|
25
25
|
import "../chunk-L5EPGGDP.js";
|
|
26
26
|
import "../chunk-AM7S2TY6.js";
|
|
27
|
-
import "../chunk-
|
|
27
|
+
import "../chunk-IOIBJY5D.js";
|
|
28
28
|
import "../chunk-CVYC6DUW.js";
|
|
29
29
|
import "../chunk-ANVHWV2X.js";
|
|
30
30
|
import "../chunk-HME6ITKV.js";
|
|
@@ -38,27 +38,27 @@ import "../chunk-3DAEZILW.js";
|
|
|
38
38
|
import "../chunk-DRTJCG6B.js";
|
|
39
39
|
import {
|
|
40
40
|
resolveProjectName
|
|
41
|
-
} from "../chunk-
|
|
41
|
+
} from "../chunk-Z2RU4QH5.js";
|
|
42
42
|
import "../chunk-HYZV25LY.js";
|
|
43
43
|
import "../chunk-GJV3WDWM.js";
|
|
44
44
|
import "../chunk-MP2AFCGL.js";
|
|
45
45
|
import "../chunk-YRUZK2QA.js";
|
|
46
46
|
import {
|
|
47
47
|
canCoordinate
|
|
48
|
-
} from "../chunk-
|
|
48
|
+
} from "../chunk-2GUT5CWI.js";
|
|
49
49
|
import "../chunk-BBMTVAE3.js";
|
|
50
50
|
import "../chunk-TKDITWDN.js";
|
|
51
51
|
import "../chunk-5YEUPUV4.js";
|
|
52
|
-
import "../chunk-
|
|
52
|
+
import "../chunk-QSYY4R6R.js";
|
|
53
53
|
import "../chunk-YYB5PMTK.js";
|
|
54
54
|
import "../chunk-L5CGXEZC.js";
|
|
55
55
|
import "../chunk-QH5ZQ5SJ.js";
|
|
56
56
|
import "../chunk-ZQEJ4IX2.js";
|
|
57
57
|
import "../chunk-FXU7JOXK.js";
|
|
58
58
|
import "../chunk-WNBZJSQT.js";
|
|
59
|
-
import "../chunk-
|
|
59
|
+
import "../chunk-5SPQBSKC.js";
|
|
60
60
|
import "../chunk-A7XLR3K7.js";
|
|
61
|
-
import "../chunk-
|
|
61
|
+
import "../chunk-YBD3O77S.js";
|
|
62
62
|
import "../chunk-A7JYF4RG.js";
|
|
63
63
|
import "../chunk-ARX6TAGN.js";
|
|
64
64
|
import {
|
|
@@ -84,7 +84,7 @@ process.on("unhandledRejection", (err) => {
|
|
|
84
84
|
process.exit(1);
|
|
85
85
|
});
|
|
86
86
|
try {
|
|
87
|
-
const { verifyOrBlock } = await import("../hook-integrity-
|
|
87
|
+
const { verifyOrBlock } = await import("../hook-integrity-33F4OTV6.js");
|
|
88
88
|
if (!await verifyOrBlock(new URL(import.meta.url).pathname)) process.exit(2);
|
|
89
89
|
} catch (err) {
|
|
90
90
|
const code = err?.code;
|
|
@@ -238,8 +238,8 @@ process.stdin.on("end", async () => {
|
|
|
238
238
|
process.exit(0);
|
|
239
239
|
}
|
|
240
240
|
try {
|
|
241
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
242
|
-
const { recordSessionEvent } = await import("../session-events-
|
|
241
|
+
const { fastDbInit } = await import("../fast-db-init-LSDW3AP3.js");
|
|
242
|
+
const { recordSessionEvent } = await import("../session-events-SKRFRHCQ.js");
|
|
243
243
|
const client = await fastDbInit({ daemonOnly: true });
|
|
244
244
|
await recordSessionEvent(client, {
|
|
245
245
|
agentId: agent.agentId,
|
|
@@ -258,7 +258,7 @@ process.stdin.on("end", async () => {
|
|
|
258
258
|
if (existsSync(taskCachePath)) {
|
|
259
259
|
const cached = JSON.parse(readFileSync(taskCachePath, "utf8"));
|
|
260
260
|
if (cached.taskId) {
|
|
261
|
-
const { createTokenBudgetMiddleware } = await import("../token-budget-
|
|
261
|
+
const { createTokenBudgetMiddleware } = await import("../token-budget-IIZGO4PI.js");
|
|
262
262
|
const middleware = createTokenBudgetMiddleware(cached.taskId);
|
|
263
263
|
const estimatedOutputTokens = Math.ceil(message.length / 4);
|
|
264
264
|
const result = await middleware.onTokenUsed(0, estimatedOutputTokens);
|
|
@@ -276,7 +276,7 @@ process.stdin.on("end", async () => {
|
|
|
276
276
|
}
|
|
277
277
|
const CAPACITY_SIGNALS = /context[- ]?full|hit capacity|conversation is too long|maximum context length|context window.*(?:limit|exceed|full)/i;
|
|
278
278
|
if (!canCoordinate(agent.agentId, agent.agentRole) && CAPACITY_SIGNALS.test(message)) {
|
|
279
|
-
import("../fast-db-init-
|
|
279
|
+
import("../fast-db-init-LSDW3AP3.js").then(({ fastDbInit }) => fastDbInit({ daemonOnly: true })).then(async (client) => {
|
|
280
280
|
const stScope = sessionScopeFilter();
|
|
281
281
|
const tasks = await client.execute({
|
|
282
282
|
sql: `SELECT title, status, task_file FROM tasks
|
|
@@ -418,7 +418,7 @@ ${msgs.slice(-15).join("\n")}`;
|
|
|
418
418
|
} catch {
|
|
419
419
|
}
|
|
420
420
|
if (!canCoordinate(agent.agentId, agent.agentRole)) {
|
|
421
|
-
import("../fast-db-init-
|
|
421
|
+
import("../fast-db-init-LSDW3AP3.js").then(({ fastDbInit }) => fastDbInit({ daemonOnly: true })).then(async (client) => {
|
|
422
422
|
const orScope = sessionScopeFilter();
|
|
423
423
|
return client.execute({
|
|
424
424
|
sql: `SELECT title, status FROM tasks
|