@askexenow/exe-os 0.9.407 → 0.9.409
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/erp-nginx/nginx.conf +8 -2
- package/deploy/compose/sso-edge/default.conf.template +55 -0
- package/deploy/hosted/public-demo-compose.yml +52 -0
- package/deploy/stack-manifests/v0.9.json +1339 -1
- package/dist/.dist-verified.json +3 -3
- package/dist/{active-agent-U6JYIXZD.js → active-agent-2AMJC3SC.js} +6 -5
- package/dist/{active-agent-2OMOWJXI.js → active-agent-5AKPW2N7.js} +6 -5
- package/dist/{agent-defs-generator-TZC3QFTT.js → agent-defs-generator-QN3J6FVJ.js} +5 -5
- package/dist/{agent-loop-OQUZUGQU.js → agent-loop-FMOA2MG2.js} +1 -1
- package/dist/{agentic-ontology-GJI54CFX.js → agentic-ontology-6RS7A7KP.js} +1 -1
- package/dist/{artifact-backup-4GCKVN3V.js → artifact-backup-6O4FNYPS.js} +3 -3
- package/dist/{backfill-metadata-EVJEKCY3.js → backfill-metadata-6YX6LGPJ.js} +8 -8
- package/dist/{backup-verify-PIH5GXLV.js → backup-verify-QIAQ63VC.js} +1 -1
- package/dist/{behavior-injection-TKQETCCW.js → behavior-injection-NRXTNROW.js} +11 -11
- package/dist/{behavior-promotion-TB53MVMQ.js → behavior-promotion-MW7OQ72V.js} +10 -10
- package/dist/{behaviors-2XKHIDUD.js → behaviors-7AOK44QK.js} +9 -9
- package/dist/bin/agentic-ontology-backfill.js +9 -9
- package/dist/bin/agentic-reflection-backfill.js +10 -10
- package/dist/bin/agentic-semantic-label.js +9 -9
- package/dist/bin/backfill-conversations.js +8 -8
- package/dist/bin/backfill-responses.js +8 -8
- package/dist/bin/backfill-vectors.js +8 -8
- package/dist/bin/bulk-sync-postgres.js +17 -17
- package/dist/bin/cc-doctor.js +12 -11
- package/dist/bin/cleanup-stale-review-tasks.js +19 -19
- package/dist/bin/cli.js +24 -24
- package/dist/bin/deferred-daemon-restart.js +104 -103
- package/dist/bin/exe-agent-config.js +5 -5
- package/dist/bin/exe-agent.js +10 -10
- package/dist/bin/exe-assign.js +9 -9
- package/dist/bin/exe-boot.js +44 -43
- package/dist/bin/exe-call.js +9 -9
- package/dist/bin/exe-cloud.js +18 -18
- package/dist/bin/exe-config-dump.js +5 -5
- package/dist/bin/exe-dispatch.js +20 -20
- package/dist/bin/exe-doctor.js +7 -7
- package/dist/bin/exe-export-behaviors.js +13 -13
- package/dist/bin/exe-forget.js +11 -11
- package/dist/bin/exe-gateway.js +9 -9
- package/dist/bin/exe-grant.js +6 -6
- package/dist/bin/exe-healthcheck.js +12 -11
- package/dist/bin/exe-heartbeat.js +25 -25
- package/dist/bin/exe-kill.js +25 -25
- package/dist/bin/exe-launch-agent.js +34 -34
- package/dist/bin/exe-mcp.js +7 -6
- package/dist/bin/exe-memory-reads.js +8 -8
- package/dist/bin/exe-new-employee.js +11 -11
- package/dist/bin/exe-os-mcp-proxy.js +7 -6
- package/dist/bin/exe-pending-messages.js +20 -20
- package/dist/bin/exe-pending-notifications.js +19 -19
- package/dist/bin/exe-pending-reviews.js +20 -20
- package/dist/bin/exe-rename.js +7 -7
- package/dist/bin/exe-review.js +24 -24
- package/dist/bin/exe-search.js +10 -10
- package/dist/bin/exe-session-cleanup.js +26 -26
- package/dist/bin/exe-settings.js +19 -19
- package/dist/bin/exe-start-codex.js +20 -20
- package/dist/bin/exe-start-opencode.js +18 -18
- package/dist/bin/exe-status.js +21 -21
- package/dist/bin/exe-support.js +3 -3
- package/dist/bin/exe-team.js +5 -5
- package/dist/bin/git-sweep.js +21 -21
- package/dist/bin/graph-backfill.js +9 -9
- package/dist/bin/graph-export.js +9 -9
- package/dist/bin/hooks-cli.js +4 -4
- package/dist/bin/import-history.js +14 -13
- package/dist/bin/install.js +106 -105
- package/dist/bin/intercom-check.js +5 -5
- package/dist/bin/mcp-sessions.js +2 -2
- package/dist/bin/orchestration-metrics.js +5 -5
- 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/repair-document-chunks.js +8 -8
- package/dist/bin/scan-tasks.js +20 -20
- package/dist/bin/setup.js +3 -3
- package/dist/bin/shard-migrate.js +9 -9
- package/dist/bin/stack-update.js +4 -4
- package/dist/bin/vps-health-gate.js +1 -1
- package/dist/{boot-generation-34GD265Q.js → boot-generation-HG6LLZLY.js} +4 -4
- package/dist/{boot-review-sections-JYDDUJH5.js → boot-review-sections-STZ5EAIL.js} +18 -18
- package/dist/{bug-landed-reconciler-ORYLGRQI.js → bug-landed-reconciler-EO72HUI2.js} +7 -7
- package/dist/build-info.json +3 -3
- package/dist/build-manifest.json +970 -970
- package/dist/{capability-cards-IOFJOGID.js → capability-cards-C3SMHB2E.js} +3 -3
- package/dist/{capacity-monitor-CJSDRDLR.js → capacity-monitor-UI553HRL.js} +20 -20
- package/dist/{catchup-brief-ELSYIYVL.js → catchup-brief-VE2X4HML.js} +26 -26
- package/dist/{chunk-HBOSSJWS.js → chunk-23XUZHB7.js} +5 -5
- package/dist/{chunk-BG52IECQ.js → chunk-3AL2LO3L.js} +1 -1
- package/dist/{chunk-HPDR3EL7.js → chunk-3MDUKF3N.js} +4 -4
- package/dist/{chunk-BHKCSRJG.js → chunk-4M24XCTI.js} +663 -68
- package/dist/{chunk-RGPEUXOE.js → chunk-4MK6LOD6.js} +27 -3
- package/dist/{chunk-ZB34E2OV.js → chunk-4O7OUBEX.js} +10 -10
- package/dist/{chunk-Z5ERWCOL.js → chunk-4Q7H3TO7.js} +1 -1
- package/dist/{chunk-YTP6L76N.js → chunk-4RQ62XXK.js} +5 -5
- package/dist/{chunk-VDSAXP3N.js → chunk-4S6H2NWS.js} +4 -4
- package/dist/{chunk-DXZRXNIC.js → chunk-4W7Y67B5.js} +1 -1
- package/dist/{chunk-SS3FTK77.js → chunk-52Z435PH.js} +8 -3
- package/dist/{chunk-77EIMVAX.js → chunk-5N34MMKS.js} +1 -1
- package/dist/{chunk-UMLDPQ24.js → chunk-6EY6OFBC.js} +2 -2
- package/dist/{chunk-IMI5ZAOA.js → chunk-6JLVCMKH.js} +1 -1
- package/dist/{chunk-ZGRLIQLE.js → chunk-6RRPVE5O.js} +3 -3
- package/dist/{chunk-6SJ4SKWZ.js → chunk-6TB7UXCA.js} +1 -1
- package/dist/{chunk-342ZBEDI.js → chunk-6ZW6BRI4.js} +2 -2
- package/dist/{chunk-5QJEJA5H.js → chunk-7I6KVKFF.js} +3 -3
- package/dist/{chunk-4SLKFUA7.js → chunk-7LTAA55U.js} +5 -1
- package/dist/{chunk-FKANX6A7.js → chunk-7P2TDFZL.js} +1 -1
- package/dist/{chunk-SLJDYBLE.js → chunk-7R7KDRKV.js} +1 -1
- package/dist/{chunk-NRLJOV7M.js → chunk-7YX73K2R.js} +97 -58
- package/dist/{chunk-R5YD5DIP.js → chunk-APVU4Q5B.js} +16 -16
- package/dist/{chunk-7OX2AACL.js → chunk-B3ISLIKE.js} +2 -2
- package/dist/{chunk-CP6XE35Z.js → chunk-BHDDDNC6.js} +2 -2
- package/dist/{chunk-TEHJ5TOU.js → chunk-BIV4IHED.js} +12 -12
- package/dist/{chunk-5GYA4ERO.js → chunk-BM467PZN.js} +1 -1
- package/dist/{chunk-BER2YLZT.js → chunk-BPBEJD7U.js} +1 -1
- package/dist/{chunk-T4IDLAZM.js → chunk-BYP3DOUU.js} +13 -0
- package/dist/{chunk-U7A2EACP.js → chunk-C426MZMD.js} +3 -3
- package/dist/{chunk-TRZXFWRO.js → chunk-DACRR362.js} +6 -6
- package/dist/{chunk-232YVOFB.js → chunk-DE2V7547.js} +2 -2
- package/dist/{chunk-QHQW3VHV.js → chunk-DIKLSAJE.js} +1 -1
- package/dist/{chunk-XC6EXJBA.js → chunk-DM4VTXM6.js} +4 -4
- package/dist/{chunk-EEY77PKF.js → chunk-DMYJVGQM.js} +1 -1
- package/dist/{chunk-ZSZVJ2FR.js → chunk-E2Z3F26R.js} +1 -1
- package/dist/{chunk-GRIGIKC4.js → chunk-EHILXBVT.js} +3 -3
- package/dist/{chunk-AIDYWH4D.js → chunk-EIM7OGTD.js} +2 -2
- package/dist/{chunk-7E4KZIX7.js → chunk-ESO5JDOT.js} +1 -1
- package/dist/{chunk-SPHPROWZ.js → chunk-F5ZRHLG5.js} +2 -2
- package/dist/{chunk-BIBBNDM3.js → chunk-FBZ32BD4.js} +1 -1
- package/dist/{chunk-FBB2YMKB.js → chunk-FJKUFMNF.js} +1 -1
- package/dist/{chunk-MNEVSKUY.js → chunk-FZT4VQP7.js} +1 -1
- package/dist/{chunk-ZLMVXK4O.js → chunk-G3ZYXXO7.js} +11 -11
- package/dist/{chunk-6RWTLW75.js → chunk-GEQQGN3J.js} +7 -7
- package/dist/{chunk-7NR6LMGH.js → chunk-GG73NHZD.js} +2 -2
- package/dist/{chunk-VGP4T2L6.js → chunk-GKPPLIMJ.js} +5 -5
- package/dist/{chunk-ERIXGUSV.js → chunk-GPWXUU3L.js} +1 -1
- package/dist/{chunk-OAP66FCX.js → chunk-GRAMRMWS.js} +2 -2
- package/dist/{chunk-IVX4CW6I.js → chunk-GTRB6DGI.js} +2 -2
- package/dist/{chunk-WQ7YIU4M.js → chunk-HFSFWMID.js} +3 -3
- package/dist/{chunk-5FOJ6N3V.js → chunk-HFXBL7XE.js} +1 -1
- package/dist/{chunk-36QUBTID.js → chunk-HK7HIDXP.js} +2 -2
- package/dist/{chunk-323DU3UM.js → chunk-HNGAM3U4.js} +3 -3
- package/dist/{chunk-XIJIFRPA.js → chunk-HRKN3DQE.js} +8 -8
- package/dist/{chunk-AO2HCOE6.js → chunk-HRYWB4TO.js} +3 -3
- package/dist/{chunk-Q2RTUZXB.js → chunk-HUMNRJZE.js} +4 -4
- package/dist/{chunk-KAKURNNS.js → chunk-IPANAGA3.js} +1 -1
- package/dist/{chunk-RZTSXHWF.js → chunk-IPBNHPTE.js} +9 -9
- package/dist/{chunk-SDJ3TONY.js → chunk-IUBCS6TA.js} +3 -3
- package/dist/{chunk-C7SKFVXQ.js → chunk-IURGBN5B.js} +4 -4
- package/dist/{chunk-GWAN2BDB.js → chunk-IVXELUEQ.js} +25 -12
- package/dist/{chunk-DG3DWHYJ.js → chunk-IZ24HRDC.js} +3 -3
- package/dist/{chunk-G3ABALZ7.js → chunk-JJYAETCO.js} +4 -4
- package/dist/{chunk-6XJYUC7K.js → chunk-JR3GTBV3.js} +1 -1
- package/dist/{chunk-MLIRYXZ2.js → chunk-K7DAE2HO.js} +1 -1
- package/dist/{chunk-ZGNMI2WJ.js → chunk-KBHK2WNO.js} +1 -1
- package/dist/{chunk-MAY4VWEG.js → chunk-KCRSJ3VU.js} +3 -3
- package/dist/{chunk-NF7JS7XW.js → chunk-KIJRAZWR.js} +1 -1
- package/dist/{chunk-35PGCSNN.js → chunk-KPLMY2GT.js} +4 -4
- package/dist/{chunk-USZHUBHT.js → chunk-L4ISXVC5.js} +1 -1
- package/dist/{chunk-UNNOYMQI.js → chunk-L5CPS34O.js} +1 -1
- package/dist/{chunk-SJTFU3YJ.js → chunk-LE3DIA25.js} +3 -3
- package/dist/{chunk-DEBKL7WW.js → chunk-LMF2YC5C.js} +4 -4
- package/dist/{chunk-LDYQPD5H.js → chunk-LVEMYNYH.js} +3 -3
- package/dist/{chunk-G4MVORCE.js → chunk-M4N7I2H5.js} +5 -5
- package/dist/{chunk-5F74HGSQ.js → chunk-M7774YLB.js} +1 -1
- package/dist/{chunk-3AOPBH5S.js → chunk-ME733Y2F.js} +1 -1
- package/dist/{chunk-CCY37D3C.js → chunk-N3JEYUDV.js} +2 -2
- package/dist/{chunk-3X733RHO.js → chunk-NDCW4G55.js} +1 -1
- package/dist/{chunk-Y73MI7UH.js → chunk-NFNM64A7.js} +12 -12
- package/dist/{chunk-3AC6WJNP.js → chunk-NHQWPKX7.js} +2 -2
- package/dist/{chunk-YB5IW32Y.js → chunk-NK4JHJNP.js} +4 -4
- package/dist/{chunk-IZWMWJZT.js → chunk-NVM3SKJ4.js} +1 -1
- package/dist/{chunk-VSJ3Y26C.js → chunk-OE7TAEOG.js} +1 -1
- package/dist/{chunk-D6PNMFPF.js → chunk-OEHZ46WQ.js} +2 -2
- package/dist/{chunk-4MQDDFRN.js → chunk-OFT5KSBM.js} +1 -1
- package/dist/{chunk-FEJK36FV.js → chunk-OISOA6NX.js} +2 -2
- package/dist/{chunk-L23CONP7.js → chunk-PCFYNK7V.js} +3 -3
- package/dist/{chunk-OMMQNLFE.js → chunk-PKM456D2.js} +1 -1
- package/dist/{chunk-G66AOAYN.js → chunk-PZDAPIQL.js} +1 -1
- package/dist/{chunk-QZJY4RMF.js → chunk-Q4GS5VW7.js} +3 -3
- package/dist/{chunk-DOO6M2XM.js → chunk-QK3Z4TKQ.js} +5 -5
- package/dist/{chunk-KZSBPAEJ.js → chunk-QPMKVSHU.js} +2 -2
- package/dist/{chunk-ZL3D7XTR.js → chunk-QUK3UDZV.js} +3 -3
- package/dist/{chunk-4U2TAOW7.js → chunk-QYIR64RR.js} +1 -1
- package/dist/{chunk-QWXBLCVK.js → chunk-R6CKQLEA.js} +2 -2
- package/dist/{chunk-X6HOIDIR.js → chunk-R7QZXQPU.js} +3 -3
- package/dist/{chunk-G6D6U2EY.js → chunk-RZ23QQCI.js} +4 -4
- package/dist/{chunk-PYS43F2X.js → chunk-RZBSVTOL.js} +1 -1
- package/dist/{chunk-RHEIOXVL.js → chunk-SA66WRBT.js} +1 -1
- package/dist/{chunk-KVPCFVAH.js → chunk-SFGFNJBR.js} +1 -1
- package/dist/{chunk-S5OI42DL.js → chunk-SGR4ZQAV.js} +3 -3
- package/dist/{chunk-IQI5LAEK.js → chunk-SY53PYLU.js} +1 -1
- package/dist/{chunk-7DG3WBGN.js → chunk-SYUJCVJG.js} +1 -1
- package/dist/{chunk-HJ2DJJIK.js → chunk-T2PAFWRK.js} +8 -8
- package/dist/{chunk-AWNX33WP.js → chunk-TBYWOHTE.js} +1 -1
- package/dist/{chunk-DDAOY3DL.js → chunk-TCV3WA5I.js} +1 -1
- package/dist/{chunk-3VW5ZP2F.js → chunk-UWGQNJIE.js} +1 -1
- package/dist/{chunk-3DIP37BT.js → chunk-UXJAW4IQ.js} +2 -2
- package/dist/{chunk-QJTG3DN7.js → chunk-VLAENYCN.js} +1 -1
- package/dist/{chunk-TLELTVAN.js → chunk-VYKXRSHU.js} +1 -1
- package/dist/{chunk-VFUMCL6H.js → chunk-W2VDJKTB.js} +1 -1
- package/dist/{chunk-PCLIU4BP.js → chunk-W5XAB2SW.js} +154 -152
- package/dist/{chunk-6GBGKSNQ.js → chunk-WYNIWJRN.js} +5 -5
- package/dist/{chunk-7VSPHUIB.js → chunk-XAGIZVYI.js} +26 -26
- package/dist/{chunk-XT7ZZJVD.js → chunk-XCPD7NGP.js} +1 -1
- package/dist/{chunk-52JOFQOK.js → chunk-XFGS22VE.js} +1 -1
- package/dist/{chunk-YV5JIEYI.js → chunk-XGPBHKU3.js} +2 -2
- package/dist/{chunk-WJ53NNEV.js → chunk-Y5LJYDX4.js} +1 -0
- package/dist/{chunk-GVVWEBTD.js → chunk-YLWKWEJJ.js} +3 -3
- package/dist/{chunk-6Y7TK4EA.js → chunk-YUAOQJVV.js} +2 -2
- package/dist/{chunk-KP3J52RW.js → chunk-YVS77JPW.js} +3 -3
- package/dist/{chunk-XA5FPMYR.js → chunk-ZEHBSA25.js} +2 -2
- package/dist/{chunk-6ENEX5UH.js → chunk-ZYOIH5NY.js} +6 -6
- package/dist/{cleanup-graph-garbage-M5OYEPRR.js → cleanup-graph-garbage-NKAJSCWZ.js} +9 -9
- package/dist/{cli-shutdown-AY2FMXD6.js → cli-shutdown-F3DFDCB5.js} +1 -1
- package/dist/{cloud-sync-command-PRC4GV62.js → cloud-sync-command-3YBLSMAL.js} +2 -2
- package/dist/{cloud-sync-db-init-IYXPCNSJ.js → cloud-sync-db-init-JWSPAFKY.js} +1 -1
- package/dist/{cloud-sync-shutdown-3F6XASFF.js → cloud-sync-shutdown-4R6RIO67.js} +3 -3
- package/dist/{co-activation-LB56BYW2.js → co-activation-2ZRANV3Q.js} +3 -3
- package/dist/{co-occurrence-TKPZB3IR.js → co-occurrence-6EELW2L2.js} +7 -7
- package/dist/{consent-passphrase-YQLAAPPC.js → consent-passphrase-TDR263MC.js} +2 -2
- package/dist/{content-extractor-XCS6QGM4.js → content-extractor-OVD7PTSN.js} +2 -2
- package/dist/{conversation-entity-extractor-J2UZGFG3.js → conversation-entity-extractor-KUJN3MOH.js} +4 -4
- package/dist/{crdt-sync-GE6DVV2F.js → crdt-sync-IX43KVQ3.js} +4 -4
- package/dist/{crm-webhook-6HXNLEQV.js → crm-webhook-GSCIW6CE.js} +2 -2
- package/dist/{cto-delegation-gate-QSWDPH67.js → cto-delegation-gate-ZWD4EFRR.js} +20 -19
- package/dist/{daemon-orchestration-YJ4GMHVM.js → daemon-orchestration-WL6V4QL4.js} +24 -24
- package/dist/{doc-graph-extractor-XLAUARWE.js → doc-graph-extractor-NJ7ZZC2C.js} +7 -7
- package/dist/{documents-SZ76YQ3Q.js → documents-O7WYZFFE.js} +9 -9
- package/dist/{dreaming-ZQGMOZ2E.js → dreaming-TUESPDT3.js} +24 -24
- package/dist/{employee-boot-brief-SV5JHCJL.js → employee-boot-brief-UCP6QLN4.js} +28 -28
- package/dist/{entity-boost-KTADWOGJ.js → entity-boost-TK43XT24.js} +1 -1
- package/dist/{exe-drift-CT36U5DX.js → exe-drift-QD6LUZT2.js} +4 -4
- package/dist/{exe-export-EJ4B74OU.js → exe-export-QIUNHFSS.js} +11 -11
- package/dist/{exe-import-UA6OIZ4C.js → exe-import-3UFOLHEW.js} +11 -11
- package/dist/{exe-key-SKOOVJCT.js → exe-key-D5NDKGHT.js} +104 -103
- package/dist/{exe-org-WQARAD3U.js → exe-org-UWDJBOCV.js} +32 -32
- package/dist/{exe-snapshot-2OXDANU3.js → exe-snapshot-P6SFODEN.js} +27 -27
- package/dist/{fast-db-init-YFUMI4NH.js → fast-db-init-SD7JZSEC.js} +1 -1
- package/dist/{founder-context-DMWIIDJ2.js → founder-context-QIXDZIJX.js} +2 -2
- package/dist/{founder-monitor-envelope-JYFWXZQ4.js → founder-monitor-envelope-TLOC4UYG.js} +4 -4
- package/dist/gateway/index.js +11 -11
- package/dist/{gateway-client-ELHI2DWX.js → gateway-client-CQTSYJLP.js} +1 -1
- package/dist/{git-staleness-K7HHMBWI.js → git-staleness-JSQTHB4Z.js} +3 -3
- package/dist/{global-procedures-ERZJFJUA.js → global-procedures-T3RKI4QX.js} +6 -6
- package/dist/{graph-auto-extract-LUQ6QZ4P.js → graph-auto-extract-V75GSTNX.js} +7 -7
- package/dist/{graph-query-KRNMWF77.js → graph-query-VAQN2RK3.js} +1 -1
- package/dist/{graph-rag-2W26GEGZ.js → graph-rag-GBA5E3QC.js} +4 -4
- package/dist/{hook-integrity-QFBZE5FK.js → hook-integrity-II6QK6Y4.js} +1 -1
- package/dist/{hook-prefetch-WP3PEE4H.js → hook-prefetch-5EHPOYY3.js} +19 -19
- package/dist/hooks/bug-report-worker.js +23 -23
- package/dist/hooks/codex-stop-task-finalizer.js +25 -25
- package/dist/hooks/commit-complete.js +23 -23
- package/dist/hooks/error-recall.js +14 -13
- package/dist/hooks/exe-heartbeat-hook.js +7 -6
- package/dist/hooks/ingest-worker.js +35 -9
- package/dist/hooks/ingest.js +16 -15
- package/dist/hooks/instructions-loaded.js +9 -8
- package/dist/hooks/manifest.json +20 -20
- package/dist/hooks/notification.js +8 -7
- package/dist/hooks/post-compact.js +7 -6
- package/dist/hooks/post-tool-combined.js +13 -13
- package/dist/hooks/pre-compact.js +24 -23
- package/dist/hooks/pre-tool-use.js +2 -2
- package/dist/hooks/prompt-submit.js +43 -42
- package/dist/hooks/session-end.js +29 -28
- package/dist/hooks/session-start.js +18 -18
- package/dist/hooks/stop.js +27 -26
- package/dist/hooks/subagent-stop.js +28 -27
- package/dist/hooks/summary-worker.js +27 -27
- package/dist/index.js +31 -31
- package/dist/{installer-ADGJLDVY.js → installer-ILYC4LI5.js} +9 -8
- package/dist/{installer-HCFVVQ6F.js → installer-MPVQ5L22.js} +9 -8
- package/dist/{installer-ZNP4S32U.js → installer-XEEZSF3V.js} +9 -8
- package/dist/{intercom-queue-NRECOZFL.js → intercom-queue-QGHAW2KO.js} +18 -18
- package/dist/lib/agent-config.js +2 -2
- package/dist/lib/cloud-sync.js +17 -17
- package/dist/lib/consolidation.js +10 -10
- package/dist/lib/crypto.js +3 -3
- package/dist/lib/database.js +3 -3
- package/dist/lib/db-backup.js +1 -1
- package/dist/lib/db-write-worker.js +3 -3
- package/dist/lib/db.js +3 -3
- package/dist/lib/device-registry.js +1 -1
- package/dist/lib/employee-templates.js +7 -7
- package/dist/lib/employees.js +3 -3
- package/dist/lib/exe-daemon.js +90 -90
- package/dist/lib/hybrid-search.js +10 -10
- package/dist/lib/identity.js +3 -3
- package/dist/lib/keychain.js +1 -1
- package/dist/lib/license.js +2 -2
- package/dist/lib/messaging.js +19 -19
- package/dist/lib/post-tool-memory.js +46 -7
- package/dist/lib/registry-proxy.js +1 -1
- package/dist/lib/reminders.js +4 -4
- package/dist/lib/runtime-table.js +1 -1
- package/dist/lib/schedules.js +9 -9
- package/dist/lib/session-registry.js +5 -5
- package/dist/lib/skill-learning.js +10 -10
- package/dist/lib/store.js +8 -8
- package/dist/lib/task-router.js +4 -4
- package/dist/lib/tasks.js +20 -20
- package/dist/lib/tmux-routing.js +18 -18
- package/dist/lib/token-spend.js +4 -4
- package/dist/lib/ws-client.js +1 -1
- package/dist/{license-gate-CB2OCT2G.js → license-gate-CARN6AB6.js} +3 -3
- package/dist/{license-recheck-ZAEPWMY7.js → license-recheck-7Z3LS6YS.js} +1 -1
- package/dist/{license-sync-UW4UH7F5.js → license-sync-PUQV3HSZ.js} +2 -2
- package/dist/{local-secret-inventory-2DVUEFKD.js → local-secret-inventory-5J7P24ZR.js} +2 -2
- package/dist/mcp/register-tools.js +103 -102
- package/dist/mcp/server.js +103 -102
- package/dist/mcp/tools/complete-reminder.js +5 -5
- package/dist/mcp/tools/create-reminder.js +5 -5
- package/dist/mcp/tools/create-task.js +24 -23
- package/dist/mcp/tools/deactivate-behavior.js +13 -12
- package/dist/mcp/tools/list-reminders.js +5 -5
- package/dist/mcp/tools/list-tasks.js +24 -23
- package/dist/mcp/tools/send-message.js +23 -22
- package/dist/mcp/tools/update-task.js +21 -21
- package/dist/{mcp-http-config-IPXCT6Y5.js → mcp-http-config-RJKTZPHZ.js} +7 -6
- package/dist/{mcp-session-identity-GRKQ6X6M.js → mcp-session-identity-HN444A3G.js} +18 -18
- package/dist/{memory-cards-JN32U2KA.js → memory-cards-AT3QCCWU.js} +8 -8
- package/dist/{memory-graph-extractor-3LN2GSMZ.js → memory-graph-extractor-B43UWGV5.js} +8 -8
- package/dist/{memory-maintenance-YTNSNHD5.js → memory-maintenance-WDLL3ZX3.js} +2 -2
- package/dist/{memory-poisoning-defense-ISKHR76K.js → memory-poisoning-defense-TS4WNW4S.js} +3 -3
- package/dist/{memory-pressure-watchdog-P4QHXE3Z.js → memory-pressure-watchdog-6YH7S6W7.js} +19 -19
- package/dist/{memory-reflection-R6TAIUOR.js → memory-reflection-N6NSYW6S.js} +8 -8
- package/dist/{memory-write-repository-JTJE3AG4.js → memory-write-repository-D35RDO62.js} +1 -1
- package/dist/{monitor-grants-KX5J6AQ7.js → monitor-grants-FH4PNYN5.js} +3 -3
- package/dist/{monitor-identity-WXIGBLYH.js → monitor-identity-LK5ZCCND.js} +2 -2
- package/dist/{notification-ledger-DKHZKGZX.js → notification-ledger-3WJYJGGS.js} +19 -19
- package/dist/{notifications-ZQVBRXG5.js → notifications-T5C2CVB3.js} +18 -18
- package/dist/{orchestration-events-B3OHNBR4.js → orchestration-events-73VEJT7Q.js} +4 -4
- package/dist/{orchestrator-OG6BEUHS.js → orchestrator-3O657734.js} +20 -20
- package/dist/{org-brief-session-MHDLBUO4.js → org-brief-session-EGB35QLM.js} +15 -15
- package/dist/{org-consent-policy-OP5L627O.js → org-consent-policy-MSVSRI53.js} +5 -5
- package/dist/{org-join-H3PBH7US.js → org-join-4BK2XJJI.js} +9 -9
- package/dist/{org-key-admin-UEDWV3F4.js → org-key-admin-EUSSGXQ3.js} +11 -11
- package/dist/{org-key-epoch-BW72L7RI.js → org-key-epoch-NMEWDT5L.js} +5 -5
- package/dist/{org-key-pin-XBLJOF4A.js → org-key-pin-HUSXGINB.js} +3 -3
- package/dist/{org-membership-UHVIK3UH.js → org-membership-B74IWEM5.js} +4 -4
- package/dist/{org-partner-config-G3BGVBQT.js → org-partner-config-5FJTJABN.js} +8 -8
- package/dist/{org-partner-runtime-H6MROHM7.js → org-partner-runtime-GN4GFWI2.js} +15 -15
- package/dist/{org-row-visibility-JK5REXVH.js → org-row-visibility-PBZ2TSCR.js} +1 -1
- package/dist/{pipeline-router-7L7AV55A.js → pipeline-router-2IELBSVJ.js} +4 -4
- package/dist/{plan-limits-RKGJXYKE.js → plan-limits-4GXK5PFT.js} +6 -6
- package/dist/{platform-procedures-RTD5E3BD.js → platform-procedures-QP3W2NLH.js} +1 -1
- package/dist/{pre-tool-use-impl-Q3JG5RNT.js → pre-tool-use-impl-CY73PRJP.js} +42 -42
- package/dist/{project-name-KQUBSY5O.js → project-name-337ERIAX.js} +4 -4
- package/dist/{projection-worker-LGELT4E6.js → projection-worker-W476IG6V.js} +2 -2
- package/dist/{prospective-memory-ZESC2I6H.js → prospective-memory-5INB7NUL.js} +3 -3
- package/dist/{push-notifications-YL2DRTGQ.js → push-notifications-YVOP4KGN.js} +19 -19
- package/dist/{reproject-worktree-memories-VPZRYPQM.js → reproject-worktree-memories-OGBR3CMO.js} +18 -18
- package/dist/{reranker-XC2LXYD3.js → reranker-W7WCJH6Y.js} +1 -1
- package/dist/{retrieval-health-H4QJN3UZ.js → retrieval-health-R6MGXLTP.js} +1 -1
- package/dist/{review-polling-67WTTJHH.js → review-polling-TKAWVY6G.js} +19 -19
- package/dist/runtime/index.js +23 -23
- package/dist/{session-events-7XFO27M5.js → session-events-HUCZ7TOR.js} +19 -19
- package/dist/{session-kill-telemetry-2F5INRA6.js → session-kill-telemetry-RWRWOW4C.js} +19 -19
- package/dist/{session-scope-GEXQAEYT.js → session-scope-5CDRHV75.js} +18 -18
- package/dist/{setup-wizard-NQI6GC2N.js → setup-wizard-RBTJAZOP.js} +3 -3
- package/dist/{shard-manager-TJ323N7P.js → shard-manager-LRPAAQA4.js} +2 -2
- package/dist/{skill-refinement-EQ3YVAGM.js → skill-refinement-MDXKDCY6.js} +4 -4
- package/dist/{skill-retrieval-LABSBPVT.js → skill-retrieval-OWY6MTCX.js} +12 -12
- package/dist/{skill-usage-WNCOURZY.js → skill-usage-GNV737U5.js} +4 -4
- package/dist/{stack-generate-manifest-RKQBTLEY.js → stack-generate-manifest-S4SBLKBY.js} +4 -4
- package/dist/{stack-promote-ZVOIMFRF.js → stack-promote-U4EZNLOV.js} +4 -4
- package/dist/{stack-release-ZCHLWJXF.js → stack-release-4VBGOYGK.js} +5 -5
- package/dist/{stack-update-AP6OC7LU.js → stack-update-C5YKHE7A.js} +3 -3
- package/dist/{steward-gate-BNI4K3GP.js → steward-gate-QFPXQBUZ.js} +4 -4
- package/dist/{subagent-brief-injection-ZXKMB5TZ.js → subagent-brief-injection-GDXO5WNS.js} +33 -32
- package/dist/{subagent-spawn-ledger-OI23OT4I.js → subagent-spawn-ledger-PDICC43I.js} +2 -1
- package/dist/{support-bug-actions-OYM3K4RU.js → support-bug-actions-4XEKXIIO.js} +4 -4
- package/dist/{support-inbox-2JOCSJUT.js → support-inbox-Y7AFCOGM.js} +17 -16
- package/dist/{support-outbox-6AE2NQTA.js → support-outbox-2WYS3HWR.js} +2 -2
- package/dist/{task-enforcement-LUXQXSE6.js → task-enforcement-CN3Q4PEH.js} +19 -19
- package/dist/{task-request-inbox-4TOOJ6IR.js → task-request-inbox-AY3C6DND.js} +5 -5
- package/dist/{task-scope-OEA6KUTX.js → task-scope-AMR3Z3DJ.js} +18 -18
- package/dist/{tasks-crud-GBNROE5E.js → tasks-crud-2GHKIZOM.js} +18 -18
- package/dist/{tasks-notify-FMSTX6Q5.js → tasks-notify-Z53446KM.js} +19 -19
- package/dist/{tasks-review-EAOT3SKK.js → tasks-review-APRNSHMQ.js} +18 -18
- package/dist/{telemetry-upload-OFNKPITF.js → telemetry-upload-5XR42SQN.js} +8 -8
- package/dist/{token-budget-7K5PMPP2.js → token-budget-TTNJXI7W.js} +4 -4
- package/dist/{tool-telemetry-HC7NHNWD.js → tool-telemetry-36ST422N.js} +1 -1
- package/dist/tui/App.js +30 -30
- package/dist/{tui-data-C6STFM4Z.js → tui-data-AP5TPUOQ.js} +22 -22
- package/dist/{update-support-KOJIIKHY.js → update-support-SFTI2PUD.js} +15 -14
- package/dist/{whatsapp-JDAZGYPN.js → whatsapp-5CXE3JHG.js} +2 -2
- package/dist/{wiki-acl-7JCCDS7U.js → wiki-acl-N754BC2W.js} +1 -1
- package/dist/{work-claims-MDJ3JEUD.js → work-claims-OAICQBWO.js} +4 -4
- package/dist/{work-state-heartbeat-GFPR5OVW.js → work-state-heartbeat-MTTUGMPU.js} +1 -1
- package/dist/{workflow-engine-YYR2DNFP.js → workflow-engine-RID3QL2U.js} +2 -2
- package/dist/{worktree-XJITSSNN.js → worktree-XWVNDBRD.js} +5 -5
- package/dist/{worktree-sweep-3FJSAGNK.js → worktree-sweep-6VEHGH7U.js} +6 -6
- package/package.json +6 -5
- package/release-notes.json +9 -10
- package/stack.release.json +3 -3
- package/dist/{chunk-ZWQWLUZA.js → chunk-33PG3KNY.js} +0 -0
- package/dist/{chunk-MY6P4E5J.js → chunk-64UAHPXA.js} +0 -0
- package/dist/{chunk-7GCPTNHK.js → chunk-CLV7ALXV.js} +0 -0
- package/dist/{chunk-7QIEF6OZ.js → chunk-EZQ4W3WW.js} +0 -0
- package/dist/{chunk-DHRIW7RJ.js → chunk-FLO24BNN.js} +0 -0
- package/dist/{chunk-USDMXIPZ.js → chunk-FUZHMV7K.js} +0 -0
- package/dist/{chunk-E5RCYOLD.js → chunk-LDHJX4TZ.js} +0 -0
- package/dist/{chunk-3NHFXUWK.js → chunk-OEEHLATI.js} +0 -0
- package/dist/{chunk-HEEKYE6D.js → chunk-OLMLA377.js} +0 -0
- package/dist/{chunk-QYCRJ76J.js → chunk-WIDOLS7T.js} +0 -0
- package/dist/{chunk-FLC2S4BD.js → chunk-YBB43SXC.js} +0 -0
- package/dist/{chunk-GVTIDG37.js → chunk-YG4DZZ6J.js} +0 -0
- package/dist/{core-memory-DQ5A24DD.js → core-memory-WR7I7DIP.js} +0 -0
- package/dist/{hook-tamper-log-ARGWCXKJ.js → hook-tamper-log-HTWEP37U.js} +3 -3
- /package/dist/{memory-isolation-2M3GFNWG.js → memory-isolation-4RQJ5RCK.js} +0 -0
- /package/dist/{oauth-server-NWVJ26NL.js → oauth-server-VBDMZIEV.js} +0 -0
- /package/dist/{project-boot-JAGN65MZ.js → project-boot-G7T5WHO6.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-DMYJVGQM.js";
|
|
8
8
|
import {
|
|
9
9
|
isCacheCold
|
|
10
10
|
} from "../chunk-6A7P74QV.js";
|
|
@@ -16,48 +16,49 @@ import {
|
|
|
16
16
|
import {
|
|
17
17
|
hybridSearch,
|
|
18
18
|
lightweightSearch
|
|
19
|
-
} from "../chunk-
|
|
19
|
+
} from "../chunk-NFNM64A7.js";
|
|
20
20
|
import "../chunk-VMHZSZQJ.js";
|
|
21
|
-
import "../chunk-
|
|
22
|
-
import "../chunk-
|
|
23
|
-
import "../chunk-
|
|
21
|
+
import "../chunk-33PG3KNY.js";
|
|
22
|
+
import "../chunk-APVU4Q5B.js";
|
|
23
|
+
import "../chunk-64UAHPXA.js";
|
|
24
24
|
import "../chunk-CHCA3ZM2.js";
|
|
25
25
|
import "../chunk-OTVEIJUQ.js";
|
|
26
|
-
import "../chunk-
|
|
26
|
+
import "../chunk-PKM456D2.js";
|
|
27
27
|
import "../chunk-5MOYSU5A.js";
|
|
28
|
-
import "../chunk-
|
|
28
|
+
import "../chunk-BYP3DOUU.js";
|
|
29
29
|
import "../chunk-76CJBM36.js";
|
|
30
30
|
import {
|
|
31
31
|
getActiveAgent
|
|
32
|
-
} from "../chunk-
|
|
33
|
-
import "../chunk-
|
|
32
|
+
} from "../chunk-OISOA6NX.js";
|
|
33
|
+
import "../chunk-7YX73K2R.js";
|
|
34
|
+
import "../chunk-5WA4DG2A.js";
|
|
34
35
|
import {
|
|
35
36
|
decideQueuedNudgeDrain,
|
|
36
37
|
getMySession,
|
|
37
38
|
getSessionState,
|
|
38
39
|
isExeSession
|
|
39
|
-
} from "../chunk-
|
|
40
|
-
import "../chunk-
|
|
41
|
-
import "../chunk-
|
|
40
|
+
} from "../chunk-XAGIZVYI.js";
|
|
41
|
+
import "../chunk-ESO5JDOT.js";
|
|
42
|
+
import "../chunk-VYKXRSHU.js";
|
|
42
43
|
import "../chunk-ZKGWHT56.js";
|
|
43
|
-
import "../chunk-
|
|
44
|
+
import "../chunk-KBHK2WNO.js";
|
|
44
45
|
import "../chunk-WT4RI36X.js";
|
|
45
46
|
import "../chunk-E23LNUWJ.js";
|
|
46
47
|
import "../chunk-TDF2XKLK.js";
|
|
47
48
|
import "../chunk-EIKATSE4.js";
|
|
48
49
|
import "../chunk-MJCSEIFI.js";
|
|
49
|
-
import "../chunk-
|
|
50
|
+
import "../chunk-QDMZ5DX2.js";
|
|
51
|
+
import "../chunk-HME6ITKV.js";
|
|
52
|
+
import "../chunk-HFXBL7XE.js";
|
|
50
53
|
import "../chunk-VI4ATC6I.js";
|
|
51
54
|
import "../chunk-A27Q27CT.js";
|
|
52
55
|
import "../chunk-6L4VIYLZ.js";
|
|
53
|
-
import "../chunk-
|
|
56
|
+
import "../chunk-SA66WRBT.js";
|
|
54
57
|
import "../chunk-T5SM4RXY.js";
|
|
55
|
-
import "../chunk-
|
|
56
|
-
import "../chunk-
|
|
58
|
+
import "../chunk-FJKUFMNF.js";
|
|
59
|
+
import "../chunk-IVXELUEQ.js";
|
|
57
60
|
import "../chunk-AM7S2TY6.js";
|
|
58
|
-
import "../chunk-
|
|
59
|
-
import "../chunk-QDMZ5DX2.js";
|
|
60
|
-
import "../chunk-HME6ITKV.js";
|
|
61
|
+
import "../chunk-EIM7OGTD.js";
|
|
61
62
|
import "../chunk-WJWRQQMS.js";
|
|
62
63
|
import "../chunk-PCV52RYM.js";
|
|
63
64
|
import "../chunk-BTSWFMEH.js";
|
|
@@ -68,7 +69,7 @@ import "../chunk-3DAEZILW.js";
|
|
|
68
69
|
import "../chunk-DRTJCG6B.js";
|
|
69
70
|
import {
|
|
70
71
|
getProjectName
|
|
71
|
-
} from "../chunk-
|
|
72
|
+
} from "../chunk-4Q7H3TO7.js";
|
|
72
73
|
import "../chunk-HYZV25LY.js";
|
|
73
74
|
import {
|
|
74
75
|
getSessionKey
|
|
@@ -78,11 +79,11 @@ import "../chunk-YRUZK2QA.js";
|
|
|
78
79
|
import "../chunk-MP2AFCGL.js";
|
|
79
80
|
import {
|
|
80
81
|
canCoordinate
|
|
81
|
-
} from "../chunk-
|
|
82
|
+
} from "../chunk-3MDUKF3N.js";
|
|
82
83
|
import "../chunk-BBMTVAE3.js";
|
|
83
84
|
import "../chunk-TKDITWDN.js";
|
|
84
|
-
import "../chunk-
|
|
85
|
-
import "../chunk-
|
|
85
|
+
import "../chunk-YUAOQJVV.js";
|
|
86
|
+
import "../chunk-OE7TAEOG.js";
|
|
86
87
|
import "../chunk-7FE43JRU.js";
|
|
87
88
|
import "../chunk-5YEUPUV4.js";
|
|
88
89
|
import "../chunk-YYB5PMTK.js";
|
|
@@ -93,11 +94,11 @@ import {
|
|
|
93
94
|
eventLoopHeartbeatPath
|
|
94
95
|
} from "../chunk-ZQEJ4IX2.js";
|
|
95
96
|
import "../chunk-C7GHNJPW.js";
|
|
96
|
-
import "../chunk-
|
|
97
|
-
import "../chunk-
|
|
98
|
-
import "../chunk-
|
|
97
|
+
import "../chunk-UWGQNJIE.js";
|
|
98
|
+
import "../chunk-KIJRAZWR.js";
|
|
99
|
+
import "../chunk-DIKLSAJE.js";
|
|
99
100
|
import "../chunk-3R7UDPVR.js";
|
|
100
|
-
import "../chunk-
|
|
101
|
+
import "../chunk-LDHJX4TZ.js";
|
|
101
102
|
import "../chunk-A7JYF4RG.js";
|
|
102
103
|
import "../chunk-ARX6TAGN.js";
|
|
103
104
|
import {
|
|
@@ -203,7 +204,7 @@ process.on("unhandledRejection", (err) => {
|
|
|
203
204
|
});
|
|
204
205
|
process.env.EXE_HOOK_FAIL_OPEN = "1";
|
|
205
206
|
try {
|
|
206
|
-
const { verifyOrBlock } = await import("../hook-integrity-
|
|
207
|
+
const { verifyOrBlock } = await import("../hook-integrity-II6QK6Y4.js");
|
|
207
208
|
if (!await verifyOrBlock(new URL(import.meta.url).pathname)) process.exit(2);
|
|
208
209
|
} catch (err) {
|
|
209
210
|
const code = err?.code;
|
|
@@ -264,7 +265,7 @@ function withBudget(promise, fallback) {
|
|
|
264
265
|
var _hookDbPromise = null;
|
|
265
266
|
function hookDb() {
|
|
266
267
|
_hookDbPromise ??= (async () => {
|
|
267
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
268
|
+
const { fastDbInit } = await import("../fast-db-init-SD7JZSEC.js");
|
|
268
269
|
return fastDbInit({ daemonOnly: true });
|
|
269
270
|
})();
|
|
270
271
|
return _hookDbPromise;
|
|
@@ -512,7 +513,7 @@ process.stdin.on("end", async () => {
|
|
|
512
513
|
let queuedForMe = [];
|
|
513
514
|
if (currentSession && !suppressTaskLifecycleNudges) {
|
|
514
515
|
try {
|
|
515
|
-
const { readQueue } = await import("../intercom-queue-
|
|
516
|
+
const { readQueue } = await import("../intercom-queue-QGHAW2KO.js");
|
|
516
517
|
queuedForMe = readQueue().filter((q) => q.targetSession === currentSession);
|
|
517
518
|
} catch {
|
|
518
519
|
}
|
|
@@ -539,7 +540,7 @@ process.stdin.on("end", async () => {
|
|
|
539
540
|
if (prefetchClient) {
|
|
540
541
|
prefetch = await withHookTimeout(
|
|
541
542
|
(async () => {
|
|
542
|
-
const { prefetchPromptHookCounts } = await import("../hook-prefetch-
|
|
543
|
+
const { prefetchPromptHookCounts } = await import("../hook-prefetch-5EHPOYY3.js");
|
|
543
544
|
return prefetchPromptHookCounts(prefetchClient, {
|
|
544
545
|
agentIds: agentTaskIds(agent.agentId),
|
|
545
546
|
agentId: agent.agentId,
|
|
@@ -563,7 +564,7 @@ process.stdin.on("end", async () => {
|
|
|
563
564
|
}
|
|
564
565
|
let drainedNudgeContext = "";
|
|
565
566
|
if (currentSession && queuedForMe.length > 0 && !suppressTaskLifecycleNudges) try {
|
|
566
|
-
const { drainForSession } = await import("../intercom-queue-
|
|
567
|
+
const { drainForSession } = await import("../intercom-queue-QGHAW2KO.js");
|
|
567
568
|
const { baseAgentName } = await import("../lib/employees.js");
|
|
568
569
|
const MARKER_STALE_MS = 4 * 60 * 60 * 1e3;
|
|
569
570
|
const hasInProgressTask = (agentName) => {
|
|
@@ -652,8 +653,8 @@ ${fresh.map(
|
|
|
652
653
|
mkdirSync(CACHE_DIR, { recursive: true });
|
|
653
654
|
atomicWriteSync(behaviorLastCheckPath, (/* @__PURE__ */ new Date()).toISOString());
|
|
654
655
|
} else if (count % BEHAVIOR_REINJECT_INTERVAL === 0) {
|
|
655
|
-
const { listBehaviors, countActiveBehaviors } = await import("../behaviors-
|
|
656
|
-
const { BEHAVIOR_INJECTION_CAP, behaviorTruncationNotice, fetchInjectableBehaviors, selectInjectedBehaviors } = await import("../behavior-injection-
|
|
656
|
+
const { listBehaviors, countActiveBehaviors } = await import("../behaviors-7AOK44QK.js");
|
|
657
|
+
const { BEHAVIOR_INJECTION_CAP, behaviorTruncationNotice, fetchInjectableBehaviors, selectInjectedBehaviors } = await import("../behavior-injection-NRXTNROW.js");
|
|
657
658
|
const behaviors = await withBudget(fetchInjectableBehaviors(agent.agentId, void 0, listBehaviors), []);
|
|
658
659
|
const counts = await withBudget(
|
|
659
660
|
countActiveBehaviors(agent.agentId),
|
|
@@ -690,7 +691,7 @@ ${parts.join("\n\n")}`;
|
|
|
690
691
|
if (overflow) behaviorContext += `
|
|
691
692
|
|
|
692
693
|
${overflow}`;
|
|
693
|
-
const { recordBehaviorsConsulted } = await import("../skill-usage-
|
|
694
|
+
const { recordBehaviorsConsulted } = await import("../skill-usage-GNV737U5.js");
|
|
694
695
|
void recordBehaviorsConsulted(active.map((b) => b.id));
|
|
695
696
|
}
|
|
696
697
|
mkdirSync(CACHE_DIR, { recursive: true });
|
|
@@ -704,7 +705,7 @@ ${overflow}`;
|
|
|
704
705
|
if (!lastCheckedAt) {
|
|
705
706
|
lastCheckedAt = "1970-01-01T00:00:00.000Z";
|
|
706
707
|
}
|
|
707
|
-
const { listBehaviorsSince } = await import("../behaviors-
|
|
708
|
+
const { listBehaviorsSince } = await import("../behaviors-7AOK44QK.js");
|
|
708
709
|
const newBehaviors = await withBudget(listBehaviorsSince(agent.agentId, lastCheckedAt), []);
|
|
709
710
|
if (newBehaviors.length > 0) {
|
|
710
711
|
const newReflex = newBehaviors.filter((b) => b.domain === "reflex");
|
|
@@ -730,7 +731,7 @@ ${reflexLines.join("\n")}`);
|
|
|
730
731
|
These behaviors were added/modified since your session started. Apply them immediately.
|
|
731
732
|
|
|
732
733
|
${parts.join("\n\n")}`;
|
|
733
|
-
const { recordBehaviorsConsulted } = await import("../skill-usage-
|
|
734
|
+
const { recordBehaviorsConsulted } = await import("../skill-usage-GNV737U5.js");
|
|
734
735
|
void recordBehaviorsConsulted(newBehaviors.map((b) => b.id));
|
|
735
736
|
}
|
|
736
737
|
mkdirSync(CACHE_DIR, { recursive: true });
|
|
@@ -774,7 +775,7 @@ ${body}`;
|
|
|
774
775
|
let reviewContext = "";
|
|
775
776
|
if (canCoordinate(agent.agentId, agent.agentRole)) {
|
|
776
777
|
try {
|
|
777
|
-
const { countPendingReviews, countNewPendingReviewsSince } = await import("../tasks-review-
|
|
778
|
+
const { countPendingReviews, countNewPendingReviewsSince } = await import("../tasks-review-APRNSHMQ.js");
|
|
778
779
|
const sessionKey = getSessionKey();
|
|
779
780
|
const lastCheckPath = path.join(CACHE_DIR, `review-lastcheck-${sessionKey}.json`);
|
|
780
781
|
let sessionScope;
|
|
@@ -831,7 +832,7 @@ IMPORTANT: After completing your current task, you MUST address the pending revi
|
|
|
831
832
|
let coreMemoryContext = "";
|
|
832
833
|
if (!IS_CODEX_RUNTIME && agent.agentId !== "default") {
|
|
833
834
|
try {
|
|
834
|
-
const { getCoreMemory, formatCoreMemoryBlock } = await import("../core-memory-
|
|
835
|
+
const { getCoreMemory, formatCoreMemoryBlock } = await import("../core-memory-WR7I7DIP.js");
|
|
835
836
|
const entries = await withBudget(getCoreMemory(agent.agentId), []);
|
|
836
837
|
const block = formatCoreMemoryBlock(entries);
|
|
837
838
|
if (block) coreMemoryContext = block;
|
|
@@ -928,7 +929,7 @@ IMPORTANT: After completing your current task, you MUST address the new task abo
|
|
|
928
929
|
} catch {
|
|
929
930
|
}
|
|
930
931
|
try {
|
|
931
|
-
const { recordOrchestrationEventBestEffort: recordOE } = await import("../orchestration-events-
|
|
932
|
+
const { recordOrchestrationEventBestEffort: recordOE } = await import("../orchestration-events-73VEJT7Q.js");
|
|
932
933
|
recordOE({
|
|
933
934
|
eventType: "signal.consumed",
|
|
934
935
|
source: "prompt-submit.hook",
|
|
@@ -1102,7 +1103,7 @@ async function writePromptMemory(prompt, sessionId, agent) {
|
|
|
1102
1103
|
return;
|
|
1103
1104
|
}
|
|
1104
1105
|
try {
|
|
1105
|
-
const { recordSessionEvent } = await import("../session-events-
|
|
1106
|
+
const { recordSessionEvent } = await import("../session-events-HUCZ7TOR.js");
|
|
1106
1107
|
const client = await hookDb();
|
|
1107
1108
|
await recordSessionEvent(client, {
|
|
1108
1109
|
agentId: agent.agentId,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
writeContinuityCheckpoint
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-WIDOLS7T.js";
|
|
4
4
|
import {
|
|
5
5
|
clearCacheState
|
|
6
6
|
} from "../chunk-6A7P74QV.js";
|
|
@@ -9,32 +9,33 @@ import "../chunk-SH45SJQW.js";
|
|
|
9
9
|
import {
|
|
10
10
|
clearActiveAgent,
|
|
11
11
|
getActiveAgent
|
|
12
|
-
} from "../chunk-
|
|
13
|
-
import "../chunk-
|
|
12
|
+
} from "../chunk-OISOA6NX.js";
|
|
13
|
+
import "../chunk-7YX73K2R.js";
|
|
14
|
+
import "../chunk-5WA4DG2A.js";
|
|
14
15
|
import {
|
|
15
16
|
strictSessionScopeFilter
|
|
16
|
-
} from "../chunk-
|
|
17
|
-
import "../chunk-
|
|
18
|
-
import "../chunk-
|
|
17
|
+
} from "../chunk-XAGIZVYI.js";
|
|
18
|
+
import "../chunk-ESO5JDOT.js";
|
|
19
|
+
import "../chunk-VYKXRSHU.js";
|
|
19
20
|
import "../chunk-ZKGWHT56.js";
|
|
20
|
-
import "../chunk-
|
|
21
|
+
import "../chunk-KBHK2WNO.js";
|
|
21
22
|
import "../chunk-WT4RI36X.js";
|
|
22
23
|
import "../chunk-E23LNUWJ.js";
|
|
23
24
|
import "../chunk-TDF2XKLK.js";
|
|
24
25
|
import "../chunk-EIKATSE4.js";
|
|
25
26
|
import "../chunk-MJCSEIFI.js";
|
|
26
|
-
import "../chunk-
|
|
27
|
+
import "../chunk-QDMZ5DX2.js";
|
|
28
|
+
import "../chunk-HME6ITKV.js";
|
|
29
|
+
import "../chunk-HFXBL7XE.js";
|
|
27
30
|
import "../chunk-VI4ATC6I.js";
|
|
28
31
|
import "../chunk-A27Q27CT.js";
|
|
29
32
|
import "../chunk-6L4VIYLZ.js";
|
|
30
|
-
import "../chunk-
|
|
33
|
+
import "../chunk-SA66WRBT.js";
|
|
31
34
|
import "../chunk-T5SM4RXY.js";
|
|
32
|
-
import "../chunk-
|
|
33
|
-
import "../chunk-
|
|
35
|
+
import "../chunk-FJKUFMNF.js";
|
|
36
|
+
import "../chunk-IVXELUEQ.js";
|
|
34
37
|
import "../chunk-AM7S2TY6.js";
|
|
35
|
-
import "../chunk-
|
|
36
|
-
import "../chunk-QDMZ5DX2.js";
|
|
37
|
-
import "../chunk-HME6ITKV.js";
|
|
38
|
+
import "../chunk-EIM7OGTD.js";
|
|
38
39
|
import "../chunk-WJWRQQMS.js";
|
|
39
40
|
import "../chunk-PCV52RYM.js";
|
|
40
41
|
import "../chunk-BTSWFMEH.js";
|
|
@@ -45,7 +46,7 @@ import "../chunk-3DAEZILW.js";
|
|
|
45
46
|
import "../chunk-DRTJCG6B.js";
|
|
46
47
|
import {
|
|
47
48
|
resolveProjectName
|
|
48
|
-
} from "../chunk-
|
|
49
|
+
} from "../chunk-4Q7H3TO7.js";
|
|
49
50
|
import "../chunk-HYZV25LY.js";
|
|
50
51
|
import {
|
|
51
52
|
getSessionKey
|
|
@@ -55,11 +56,11 @@ import "../chunk-YRUZK2QA.js";
|
|
|
55
56
|
import "../chunk-MP2AFCGL.js";
|
|
56
57
|
import {
|
|
57
58
|
canCoordinate
|
|
58
|
-
} from "../chunk-
|
|
59
|
+
} from "../chunk-3MDUKF3N.js";
|
|
59
60
|
import "../chunk-BBMTVAE3.js";
|
|
60
61
|
import "../chunk-TKDITWDN.js";
|
|
61
|
-
import "../chunk-
|
|
62
|
-
import "../chunk-
|
|
62
|
+
import "../chunk-YUAOQJVV.js";
|
|
63
|
+
import "../chunk-OE7TAEOG.js";
|
|
63
64
|
import "../chunk-7FE43JRU.js";
|
|
64
65
|
import "../chunk-5YEUPUV4.js";
|
|
65
66
|
import "../chunk-YYB5PMTK.js";
|
|
@@ -67,10 +68,10 @@ import "../chunk-WAAGVFFN.js";
|
|
|
67
68
|
import "../chunk-QH5ZQ5SJ.js";
|
|
68
69
|
import "../chunk-ZQEJ4IX2.js";
|
|
69
70
|
import "../chunk-C7GHNJPW.js";
|
|
70
|
-
import "../chunk-
|
|
71
|
-
import "../chunk-
|
|
71
|
+
import "../chunk-UWGQNJIE.js";
|
|
72
|
+
import "../chunk-DIKLSAJE.js";
|
|
72
73
|
import "../chunk-3R7UDPVR.js";
|
|
73
|
-
import "../chunk-
|
|
74
|
+
import "../chunk-LDHJX4TZ.js";
|
|
74
75
|
import "../chunk-A7JYF4RG.js";
|
|
75
76
|
import "../chunk-ARX6TAGN.js";
|
|
76
77
|
import "../chunk-MMS2HBRT.js";
|
|
@@ -90,7 +91,7 @@ process.on("unhandledRejection", (err) => {
|
|
|
90
91
|
process.exit(1);
|
|
91
92
|
});
|
|
92
93
|
try {
|
|
93
|
-
const { verifyOrBlock } = await import("../hook-integrity-
|
|
94
|
+
const { verifyOrBlock } = await import("../hook-integrity-II6QK6Y4.js");
|
|
94
95
|
if (!await verifyOrBlock(new URL(import.meta.url).pathname)) process.exit(2);
|
|
95
96
|
} catch (err) {
|
|
96
97
|
const code = err?.code;
|
|
@@ -290,7 +291,7 @@ process.stdin.on("end", async () => {
|
|
|
290
291
|
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"}
|
|
291
292
|
`);
|
|
292
293
|
try {
|
|
293
|
-
const { recordOrchestrationEvent } = await import("../orchestration-events-
|
|
294
|
+
const { recordOrchestrationEvent } = await import("../orchestration-events-73VEJT7Q.js");
|
|
294
295
|
await recordOrchestrationEvent({
|
|
295
296
|
eventType: "session.exit",
|
|
296
297
|
source: "hooks.session-end",
|
|
@@ -316,7 +317,7 @@ process.stdin.on("end", async () => {
|
|
|
316
317
|
}
|
|
317
318
|
if (agent.agentId) {
|
|
318
319
|
try {
|
|
319
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
320
|
+
const { fastDbInit } = await import("../fast-db-init-SD7JZSEC.js");
|
|
320
321
|
const client = await fastDbInit({ caller: "hook" });
|
|
321
322
|
const seScope = strictSessionScopeFilter();
|
|
322
323
|
const orphanResult = await client.execute({
|
|
@@ -416,17 +417,17 @@ Orphaned tasks at session end: ${openTaskList}` : "";
|
|
|
416
417
|
}
|
|
417
418
|
}
|
|
418
419
|
try {
|
|
419
|
-
const { clearSessionFileReads } = await import("../git-staleness-
|
|
420
|
+
const { clearSessionFileReads } = await import("../git-staleness-JSQTHB4Z.js");
|
|
420
421
|
await clearSessionFileReads(data.session_id);
|
|
421
422
|
} catch {
|
|
422
423
|
}
|
|
423
424
|
try {
|
|
424
|
-
const { DreamingEngine } = await import("../dreaming-
|
|
425
|
+
const { DreamingEngine } = await import("../dreaming-TUESPDT3.js");
|
|
425
426
|
const engine = new DreamingEngine();
|
|
426
427
|
const dreamResult = await engine.runDreamCycle(agent.agentId);
|
|
427
428
|
let promoted = 0;
|
|
428
429
|
if (dreamResult.proposals.length > 0) {
|
|
429
|
-
const { storeBehavior } = await import("../behaviors-
|
|
430
|
+
const { storeBehavior } = await import("../behaviors-7AOK44QK.js");
|
|
430
431
|
for (const proposal of dreamResult.proposals) {
|
|
431
432
|
if (!proposal.text || proposal.text.trim().length === 0) continue;
|
|
432
433
|
if (!agent.agentId || agent.agentId.trim().length === 0) continue;
|
|
@@ -491,7 +492,7 @@ Orphaned tasks at session end: ${openTaskList}` : "";
|
|
|
491
492
|
parts.push(`Left in_progress (no matching commits, needs triage): ${leftInProgress.join(", ")}`);
|
|
492
493
|
}
|
|
493
494
|
try {
|
|
494
|
-
const { writeNotification } = await import("../notifications-
|
|
495
|
+
const { writeNotification } = await import("../notifications-T5C2CVB3.js");
|
|
495
496
|
await writeNotification({
|
|
496
497
|
agentId: agent.agentId,
|
|
497
498
|
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-II6QK6Y4.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,15 +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-2AMJC3SC.js");
|
|
64
|
+
const { getProjectName } = await import("../project-name-337ERIAX.js");
|
|
65
|
+
const { getCurrentSessionScope } = await import("../task-scope-AMR3Z3DJ.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-
|
|
71
|
+
const { noteSessionScopeProbeFailed } = await import("../task-scope-AMR3Z3DJ.js");
|
|
72
72
|
try {
|
|
73
73
|
const { execFileSync } = await import("child_process");
|
|
74
74
|
const tmuxName = execFileSync("tmux", ["display-message", "-p", "#{session_name}"], {
|
|
@@ -102,7 +102,7 @@ process.stdin.on("end", async () => {
|
|
|
102
102
|
if (daemonDegraded) {
|
|
103
103
|
process.stderr.write("[session-start] WARNING: daemon/DB unavailable after retries \u2014 booting in degraded mode (no memory context)\n");
|
|
104
104
|
try {
|
|
105
|
-
const { recordOrchestrationEvent } = await import("../orchestration-events-
|
|
105
|
+
const { recordOrchestrationEvent } = await import("../orchestration-events-73VEJT7Q.js");
|
|
106
106
|
void recordOrchestrationEvent({
|
|
107
107
|
eventType: "mcp.unreachable",
|
|
108
108
|
source: "session-start.hook",
|
|
@@ -126,12 +126,12 @@ process.stdin.on("end", async () => {
|
|
|
126
126
|
}
|
|
127
127
|
if (!daemonDegraded) {
|
|
128
128
|
try {
|
|
129
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
129
|
+
const { fastDbInit } = await import("../fast-db-init-SD7JZSEC.js");
|
|
130
130
|
await fastDbInit({ caller: "hook" });
|
|
131
131
|
} catch {
|
|
132
132
|
try {
|
|
133
133
|
await new Promise((resolve) => setTimeout(resolve, 750));
|
|
134
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
134
|
+
const { fastDbInit } = await import("../fast-db-init-SD7JZSEC.js");
|
|
135
135
|
await fastDbInit({ caller: "hook" });
|
|
136
136
|
} catch {
|
|
137
137
|
daemonDegraded = true;
|
|
@@ -189,7 +189,7 @@ process.stdin.on("end", async () => {
|
|
|
189
189
|
`
|
|
190
190
|
);
|
|
191
191
|
try {
|
|
192
|
-
const { recordOrchestrationEvent } = await import("../orchestration-events-
|
|
192
|
+
const { recordOrchestrationEvent } = await import("../orchestration-events-73VEJT7Q.js");
|
|
193
193
|
void recordOrchestrationEvent({
|
|
194
194
|
eventType: "session.identity_rebind_refused",
|
|
195
195
|
source: "session-start.hook",
|
|
@@ -219,7 +219,7 @@ process.stdin.on("end", async () => {
|
|
|
219
219
|
});
|
|
220
220
|
}
|
|
221
221
|
try {
|
|
222
|
-
const { recordOrchestrationEvent } = await import("../orchestration-events-
|
|
222
|
+
const { recordOrchestrationEvent } = await import("../orchestration-events-73VEJT7Q.js");
|
|
223
223
|
void recordOrchestrationEvent({
|
|
224
224
|
eventType: "session.born",
|
|
225
225
|
source: "session-start.hook",
|
|
@@ -236,7 +236,7 @@ process.stdin.on("end", async () => {
|
|
|
236
236
|
if (daemonDegraded) {
|
|
237
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";
|
|
238
238
|
try {
|
|
239
|
-
const { getActiveAgent: getAgent } = await import("../active-agent-
|
|
239
|
+
const { getActiveAgent: getAgent } = await import("../active-agent-2AMJC3SC.js");
|
|
240
240
|
const ag = getAgent();
|
|
241
241
|
if (ag.agentId !== "default") {
|
|
242
242
|
degradedContext = `## Your Identity
|
|
@@ -258,7 +258,7 @@ You are **${ag.agentId}**. The daemon was degraded at boot \u2014 memory context
|
|
|
258
258
|
if (source === "resume") {
|
|
259
259
|
header = "## Resuming Session\nHere's where you left off:";
|
|
260
260
|
try {
|
|
261
|
-
const { buildCatchupBrief } = await import("../catchup-brief-
|
|
261
|
+
const { buildCatchupBrief } = await import("../catchup-brief-VE2X4HML.js");
|
|
262
262
|
const brief = await buildCatchupBrief(
|
|
263
263
|
agentId,
|
|
264
264
|
projectName,
|
|
@@ -273,14 +273,14 @@ You are **${ag.agentId}**. The daemon was degraded at boot \u2014 memory context
|
|
|
273
273
|
header = "## Memory Brief\nRecent memories from this project:";
|
|
274
274
|
}
|
|
275
275
|
try {
|
|
276
|
-
const { detectStaleFiles, formatStaleFileWarning } = await import("../git-staleness-
|
|
276
|
+
const { detectStaleFiles, formatStaleFileWarning } = await import("../git-staleness-JSQTHB4Z.js");
|
|
277
277
|
const staleFiles = await detectStaleFiles(agentId, data.cwd || process.cwd());
|
|
278
278
|
const warning = formatStaleFileWarning(staleFiles);
|
|
279
279
|
if (warning) extraContext += `${extraContext.length > 0 ? "\n\n" : ""}${warning}`;
|
|
280
280
|
} catch {
|
|
281
281
|
}
|
|
282
|
-
const { queryTaskRows } = await import("../tasks-crud-
|
|
283
|
-
const { buildReviewSections } = await import("../boot-review-sections-
|
|
282
|
+
const { queryTaskRows } = await import("../tasks-crud-2GHKIZOM.js");
|
|
283
|
+
const { buildReviewSections } = await import("../boot-review-sections-STZ5EAIL.js");
|
|
284
284
|
const [taskResult, reviewSections] = await Promise.all([
|
|
285
285
|
sessionScope ? queryTaskRows({
|
|
286
286
|
assignedTo: agentId,
|
|
@@ -327,7 +327,7 @@ flow, so bug fixes are fast.`;
|
|
|
327
327
|
`;
|
|
328
328
|
if (agentId !== "default" && !daemonDegraded) {
|
|
329
329
|
try {
|
|
330
|
-
const { buildEmployeeBootBrief } = await import("../employee-boot-brief-
|
|
330
|
+
const { buildEmployeeBootBrief } = await import("../employee-boot-brief-UCP6QLN4.js");
|
|
331
331
|
const memoryBrief = await buildEmployeeBootBrief({
|
|
332
332
|
agentId,
|
|
333
333
|
cwd: data.cwd || process.cwd(),
|
|
@@ -350,7 +350,7 @@ flow, so bug fixes are fast.`;
|
|
|
350
350
|
`;
|
|
351
351
|
if (agentId !== "default" && !daemonDegraded) {
|
|
352
352
|
try {
|
|
353
|
-
const { readLatestCheckpoint } = await import("../tasks-crud-
|
|
353
|
+
const { readLatestCheckpoint } = await import("../tasks-crud-2GHKIZOM.js");
|
|
354
354
|
const checkpoint = await readLatestCheckpoint(agentId, {
|
|
355
355
|
sessionScope: sessionScope ?? null,
|
|
356
356
|
callerSession: process.env.EXE_SESSION_NAME ?? null,
|
|
@@ -437,7 +437,7 @@ ${phase.label}. Focus: ${phase.focus}. This is guidance, not a blocker; the user
|
|
|
437
437
|
}
|
|
438
438
|
if (source !== "resume" && agentId !== "default") {
|
|
439
439
|
try {
|
|
440
|
-
const { getPendingProspective, markSurfaced } = await import("../prospective-memory-
|
|
440
|
+
const { getPendingProspective, markSurfaced } = await import("../prospective-memory-5INB7NUL.js");
|
|
441
441
|
const due = await getPendingProspective(agentId, { projectName, limit: 5 });
|
|
442
442
|
if (due.length > 0) {
|
|
443
443
|
const now = Date.now();
|
package/dist/hooks/stop.js
CHANGED
|
@@ -1,32 +1,33 @@
|
|
|
1
1
|
import "../chunk-SH45SJQW.js";
|
|
2
2
|
import {
|
|
3
3
|
getActiveAgent
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-
|
|
4
|
+
} from "../chunk-OISOA6NX.js";
|
|
5
|
+
import "../chunk-7YX73K2R.js";
|
|
6
|
+
import "../chunk-5WA4DG2A.js";
|
|
6
7
|
import {
|
|
7
8
|
sessionScopeFilter
|
|
8
|
-
} from "../chunk-
|
|
9
|
-
import "../chunk-
|
|
10
|
-
import "../chunk-
|
|
9
|
+
} from "../chunk-XAGIZVYI.js";
|
|
10
|
+
import "../chunk-ESO5JDOT.js";
|
|
11
|
+
import "../chunk-VYKXRSHU.js";
|
|
11
12
|
import "../chunk-ZKGWHT56.js";
|
|
12
|
-
import "../chunk-
|
|
13
|
+
import "../chunk-KBHK2WNO.js";
|
|
13
14
|
import "../chunk-WT4RI36X.js";
|
|
14
15
|
import "../chunk-E23LNUWJ.js";
|
|
15
16
|
import "../chunk-TDF2XKLK.js";
|
|
16
17
|
import "../chunk-EIKATSE4.js";
|
|
17
18
|
import "../chunk-MJCSEIFI.js";
|
|
18
|
-
import "../chunk-
|
|
19
|
+
import "../chunk-QDMZ5DX2.js";
|
|
20
|
+
import "../chunk-HME6ITKV.js";
|
|
21
|
+
import "../chunk-HFXBL7XE.js";
|
|
19
22
|
import "../chunk-VI4ATC6I.js";
|
|
20
23
|
import "../chunk-A27Q27CT.js";
|
|
21
24
|
import "../chunk-6L4VIYLZ.js";
|
|
22
|
-
import "../chunk-
|
|
25
|
+
import "../chunk-SA66WRBT.js";
|
|
23
26
|
import "../chunk-T5SM4RXY.js";
|
|
24
|
-
import "../chunk-
|
|
25
|
-
import "../chunk-
|
|
27
|
+
import "../chunk-FJKUFMNF.js";
|
|
28
|
+
import "../chunk-IVXELUEQ.js";
|
|
26
29
|
import "../chunk-AM7S2TY6.js";
|
|
27
|
-
import "../chunk-
|
|
28
|
-
import "../chunk-QDMZ5DX2.js";
|
|
29
|
-
import "../chunk-HME6ITKV.js";
|
|
30
|
+
import "../chunk-EIM7OGTD.js";
|
|
30
31
|
import "../chunk-WJWRQQMS.js";
|
|
31
32
|
import "../chunk-PCV52RYM.js";
|
|
32
33
|
import "../chunk-BTSWFMEH.js";
|
|
@@ -37,7 +38,7 @@ import "../chunk-3DAEZILW.js";
|
|
|
37
38
|
import "../chunk-DRTJCG6B.js";
|
|
38
39
|
import {
|
|
39
40
|
resolveProjectName
|
|
40
|
-
} from "../chunk-
|
|
41
|
+
} from "../chunk-4Q7H3TO7.js";
|
|
41
42
|
import "../chunk-HYZV25LY.js";
|
|
42
43
|
import "../chunk-CVYC6DUW.js";
|
|
43
44
|
import "../chunk-GJV3WDWM.js";
|
|
@@ -45,11 +46,11 @@ import "../chunk-YRUZK2QA.js";
|
|
|
45
46
|
import "../chunk-MP2AFCGL.js";
|
|
46
47
|
import {
|
|
47
48
|
canCoordinate
|
|
48
|
-
} from "../chunk-
|
|
49
|
+
} from "../chunk-3MDUKF3N.js";
|
|
49
50
|
import "../chunk-BBMTVAE3.js";
|
|
50
51
|
import "../chunk-TKDITWDN.js";
|
|
51
|
-
import "../chunk-
|
|
52
|
-
import "../chunk-
|
|
52
|
+
import "../chunk-YUAOQJVV.js";
|
|
53
|
+
import "../chunk-OE7TAEOG.js";
|
|
53
54
|
import "../chunk-7FE43JRU.js";
|
|
54
55
|
import "../chunk-5YEUPUV4.js";
|
|
55
56
|
import "../chunk-YYB5PMTK.js";
|
|
@@ -57,10 +58,10 @@ import "../chunk-WAAGVFFN.js";
|
|
|
57
58
|
import "../chunk-QH5ZQ5SJ.js";
|
|
58
59
|
import "../chunk-ZQEJ4IX2.js";
|
|
59
60
|
import "../chunk-C7GHNJPW.js";
|
|
60
|
-
import "../chunk-
|
|
61
|
-
import "../chunk-
|
|
61
|
+
import "../chunk-UWGQNJIE.js";
|
|
62
|
+
import "../chunk-DIKLSAJE.js";
|
|
62
63
|
import "../chunk-3R7UDPVR.js";
|
|
63
|
-
import "../chunk-
|
|
64
|
+
import "../chunk-LDHJX4TZ.js";
|
|
64
65
|
import "../chunk-A7JYF4RG.js";
|
|
65
66
|
import "../chunk-ARX6TAGN.js";
|
|
66
67
|
import {
|
|
@@ -86,7 +87,7 @@ process.on("unhandledRejection", (err) => {
|
|
|
86
87
|
process.exit(1);
|
|
87
88
|
});
|
|
88
89
|
try {
|
|
89
|
-
const { verifyOrBlock } = await import("../hook-integrity-
|
|
90
|
+
const { verifyOrBlock } = await import("../hook-integrity-II6QK6Y4.js");
|
|
90
91
|
if (!await verifyOrBlock(new URL(import.meta.url).pathname)) process.exit(2);
|
|
91
92
|
} catch (err) {
|
|
92
93
|
const code = err?.code;
|
|
@@ -240,8 +241,8 @@ process.stdin.on("end", async () => {
|
|
|
240
241
|
process.exit(0);
|
|
241
242
|
}
|
|
242
243
|
try {
|
|
243
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
244
|
-
const { recordSessionEvent } = await import("../session-events-
|
|
244
|
+
const { fastDbInit } = await import("../fast-db-init-SD7JZSEC.js");
|
|
245
|
+
const { recordSessionEvent } = await import("../session-events-HUCZ7TOR.js");
|
|
245
246
|
const client = await fastDbInit({ daemonOnly: true });
|
|
246
247
|
await recordSessionEvent(client, {
|
|
247
248
|
agentId: agent.agentId,
|
|
@@ -260,7 +261,7 @@ process.stdin.on("end", async () => {
|
|
|
260
261
|
if (existsSync(taskCachePath)) {
|
|
261
262
|
const cached = JSON.parse(readFileSync(taskCachePath, "utf8"));
|
|
262
263
|
if (cached.taskId) {
|
|
263
|
-
const { createTokenBudgetMiddleware } = await import("../token-budget-
|
|
264
|
+
const { createTokenBudgetMiddleware } = await import("../token-budget-TTNJXI7W.js");
|
|
264
265
|
const middleware = createTokenBudgetMiddleware(cached.taskId);
|
|
265
266
|
const estimatedOutputTokens = Math.ceil(message.length / 4);
|
|
266
267
|
const result = await middleware.onTokenUsed(0, estimatedOutputTokens);
|
|
@@ -278,7 +279,7 @@ process.stdin.on("end", async () => {
|
|
|
278
279
|
}
|
|
279
280
|
const CAPACITY_SIGNALS = /context[- ]?full|hit capacity|conversation is too long|maximum context length|context window.*(?:limit|exceed|full)/i;
|
|
280
281
|
if (!canCoordinate(agent.agentId, agent.agentRole) && CAPACITY_SIGNALS.test(message)) {
|
|
281
|
-
import("../fast-db-init-
|
|
282
|
+
import("../fast-db-init-SD7JZSEC.js").then(({ fastDbInit }) => fastDbInit({ daemonOnly: true })).then(async (client) => {
|
|
282
283
|
const stScope = sessionScopeFilter();
|
|
283
284
|
const tasks = await client.execute({
|
|
284
285
|
sql: `SELECT title, status, task_file FROM tasks
|
|
@@ -420,7 +421,7 @@ ${msgs.slice(-15).join("\n")}`;
|
|
|
420
421
|
} catch {
|
|
421
422
|
}
|
|
422
423
|
if (!canCoordinate(agent.agentId, agent.agentRole)) {
|
|
423
|
-
import("../fast-db-init-
|
|
424
|
+
import("../fast-db-init-SD7JZSEC.js").then(({ fastDbInit }) => fastDbInit({ daemonOnly: true })).then(async (client) => {
|
|
424
425
|
const orScope = sessionScopeFilter();
|
|
425
426
|
return client.execute({
|
|
426
427
|
sql: `SELECT title, status FROM tasks
|