@askexenow/exe-os 0.9.364 → 0.9.367
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/deploy/compose/.env.customer.example +36 -1
- package/deploy/compose/.env.example +39 -1
- package/deploy/compose/docker-compose.yml +131 -19
- package/deploy/compose/generate-env.ts +65 -1
- package/deploy/stack-manifests/v0.9.json +117 -2
- package/dist/.dist-verified.json +3 -3
- package/dist/{active-agent-WL3VEPS3.js → active-agent-R6Q7UEUD.js} +6 -6
- package/dist/{active-agent-MVEEEKUD.js → active-agent-V3CUDNED.js} +6 -6
- package/dist/{agent-defs-generator-MLQ4ULA2.js → agent-defs-generator-MLPRGY75.js} +5 -5
- package/dist/agent-heartbeat-CQPGJIFF.js +13 -0
- package/dist/{agent-loop-E7RZCFDB.js → agent-loop-FOK2IRZQ.js} +1 -1
- package/dist/{agentic-ontology-X3JMWNAM.js → agentic-ontology-5FMQWGDZ.js} +1 -1
- package/dist/{artifact-backup-6VQ2332X.js → artifact-backup-767STHSW.js} +1 -1
- package/dist/{backfill-gate-BWFX6B55.js → backfill-gate-VX2RZTQV.js} +2 -2
- package/dist/{backfill-metadata-FFDTWSGA.js → backfill-metadata-YXUMCKRV.js} +7 -7
- package/dist/{background-jobs-EB4BPQMT.js → background-jobs-LTPWCMA3.js} +2 -2
- package/dist/{backup-verify-BZQ5RI5I.js → backup-verify-GYHKAX7K.js} +3 -3
- package/dist/{behavior-injection-U7FGR6VM.js → behavior-injection-7VGYY2KO.js} +13 -12
- package/dist/{behaviors-NLOMQW34.js → behaviors-O6HKTSOF.js} +12 -11
- package/dist/bin/age-ontology-load.js +2 -2
- package/dist/bin/agentic-ontology-backfill.js +9 -9
- package/dist/bin/agentic-reflection-backfill.js +10 -10
- package/dist/bin/agentic-semantic-label.js +9 -9
- package/dist/bin/backfill-conversations.js +10 -9
- package/dist/bin/backfill-responses.js +10 -9
- package/dist/bin/backfill-vectors.js +14 -13
- package/dist/bin/bulk-sync-postgres.js +19 -18
- package/dist/bin/cc-doctor.js +11 -9
- package/dist/bin/cleanup-stale-review-tasks.js +23 -21
- package/dist/bin/cli.js +25 -25
- package/dist/bin/deferred-daemon-restart.js +105 -100
- package/dist/bin/exe-agent-config.js +5 -5
- package/dist/bin/exe-agent.js +258 -20
- package/dist/bin/exe-assign.js +12 -11
- package/dist/bin/exe-boot.js +49 -46
- package/dist/bin/exe-call.js +7 -7
- package/dist/bin/exe-cloud.js +21 -20
- package/dist/bin/exe-config-dump.js +5 -5
- package/dist/bin/exe-dispatch.js +24 -22
- package/dist/bin/exe-doctor.js +10 -9
- package/dist/bin/exe-export-behaviors.js +14 -13
- package/dist/bin/exe-forget.js +9 -9
- package/dist/bin/exe-gateway.js +9 -9
- package/dist/bin/exe-grant.js +5 -5
- package/dist/bin/exe-healthcheck.js +11 -9
- package/dist/bin/exe-heartbeat.js +29 -27
- package/dist/bin/exe-kill.js +27 -25
- package/dist/bin/exe-launch-agent.js +35 -33
- package/dist/bin/exe-mcp.js +5 -5
- package/dist/bin/exe-memory-reads.js +7 -7
- package/dist/bin/exe-new-employee.js +11 -11
- package/dist/bin/exe-os-mcp-proxy.js +5 -5
- package/dist/bin/exe-pending-messages.js +24 -22
- package/dist/bin/exe-pending-notifications.js +23 -21
- package/dist/bin/exe-pending-reviews.js +24 -22
- package/dist/bin/exe-rename.js +7 -7
- package/dist/bin/exe-review.js +26 -24
- package/dist/bin/exe-search.js +8 -8
- package/dist/bin/exe-session-cleanup.js +28 -26
- package/dist/bin/exe-settings.js +20 -19
- package/dist/bin/exe-start-codex.js +28 -19
- package/dist/bin/exe-start-opencode.js +15 -14
- package/dist/bin/exe-status.js +25 -23
- package/dist/bin/exe-support.js +4 -4
- package/dist/bin/exe-team.js +6 -6
- package/dist/bin/exe-watchdog.js +16 -6
- package/dist/bin/git-sweep.js +32 -22
- package/dist/bin/graph-backfill.js +9 -9
- package/dist/bin/graph-export.js +8 -8
- package/dist/bin/import-history.js +12 -12
- package/dist/bin/install.js +107 -102
- package/dist/bin/intercom-check.js +5 -5
- package/dist/bin/mcp-sessions.js +2 -2
- package/dist/bin/orchestration-metrics.js +6 -6
- package/dist/bin/postgres-agentic-reflection-backfill.js +4 -4
- package/dist/bin/postgres-agentic-semantic-backfill.js +3 -3
- package/dist/bin/pre-publish.js +1 -1
- package/dist/bin/reconcile-backlog.js +2 -2
- package/dist/bin/registry-proxy.js +1 -1
- package/dist/bin/scan-tasks.js +23 -21
- package/dist/bin/setup.js +3 -3
- package/dist/bin/shard-migrate.js +8 -8
- package/dist/bin/stack-update.js +115 -40
- package/dist/bin/verify-stack.js +6 -1
- package/dist/bin/vps-health-gate.js +1 -1
- package/dist/{boot-generation-LGWKWMCF.js → boot-generation-EZ2Y74IG.js} +5 -5
- package/dist/{boot-review-sections-IXBD7UGL.js → boot-review-sections-7CNQTAYR.js} +22 -20
- package/dist/{branch-hygiene-UYHJ5SC5.js → branch-hygiene-HFJ3HA62.js} +1 -1
- package/dist/{branding-J2MTHQUP.js → branding-GH43W3PU.js} +2 -2
- package/dist/build-manifest.json +1072 -1032
- package/dist/{capability-cards-3OGBIJRM.js → capability-cards-ZTFMK4VJ.js} +4 -4
- package/dist/{capacity-monitor-6VDEATYE.js → capacity-monitor-B2XU4YHP.js} +24 -22
- package/dist/{catchup-brief-XYX5SOC6.js → catchup-brief-3BEOL7EV.js} +27 -25
- package/dist/{chunk-H5G2VUIX.js → chunk-25EN7XXN.js} +6 -6
- package/dist/{chunk-SCGQOY5F.js → chunk-267QB6VB.js} +1 -1
- package/dist/{chunk-UXX2JSZO.js → chunk-2ADYTOHQ.js} +20 -1
- package/dist/{chunk-7ZBIZFC3.js → chunk-2CWS374F.js} +1 -1
- package/dist/{chunk-QY6B23U2.js → chunk-2IZH6W73.js} +3 -3
- package/dist/{chunk-OJ56HXDB.js → chunk-3CIMDFXG.js} +1 -1
- package/dist/{chunk-B5T43JSQ.js → chunk-4DJDC4Y2.js} +13 -13
- package/dist/{chunk-6BDSDDKT.js → chunk-4WOOCTON.js} +3 -3
- package/dist/{chunk-P7JLMFKX.js → chunk-52CFP2AV.js} +1 -1
- package/dist/{chunk-Y2DUIE6X.js → chunk-53LCVVX5.js} +2 -2
- package/dist/{chunk-CAV64C4J.js → chunk-5CH6XKVC.js} +2 -2
- package/dist/{chunk-6WBEFNO4.js → chunk-65ZSFW3O.js} +1 -1
- package/dist/{chunk-AU7AVWTM.js → chunk-66BFQOWR.js} +4 -4
- package/dist/{chunk-HJQILEBL.js → chunk-6MCUXRIP.js} +1 -1
- package/dist/{chunk-RKUGAHPO.js → chunk-6NJURKRG.js} +1 -1
- package/dist/{chunk-XE23TMKN.js → chunk-7W5LCREK.js} +82 -14
- package/dist/{chunk-U4KDN5B7.js → chunk-7W6FDHHY.js} +1 -1
- package/dist/{chunk-E6ORBQHP.js → chunk-AAMGHW5W.js} +1 -0
- package/dist/{chunk-ZT5PSVWW.js → chunk-AE3PYLLS.js} +11 -11
- package/dist/{chunk-G4XMAGTW.js → chunk-AEVE654G.js} +2 -2
- package/dist/{chunk-JCVDT3DG.js → chunk-ALKYXAMB.js} +5 -5
- package/dist/{chunk-74H5NWLY.js → chunk-ALYI3P5D.js} +2 -2
- package/dist/{chunk-FXPWMPU2.js → chunk-BNHAZ65R.js} +42 -50
- package/dist/{chunk-UCSD67VW.js → chunk-BQYQES2Z.js} +14 -14
- package/dist/{chunk-7WVR5UQF.js → chunk-BTMX2D4X.js} +12 -12
- package/dist/chunk-BTSWFMEH.js +14 -0
- package/dist/{chunk-W33NLSKN.js → chunk-BY3V5CLX.js} +6 -5
- package/dist/{chunk-Z75FBAP2.js → chunk-CDUB5Q6J.js} +1 -1
- package/dist/{chunk-W3Q53NBI.js → chunk-CKKLSY7B.js} +299 -26
- package/dist/{chunk-NQKZKOYF.js → chunk-CTPG4KYZ.js} +1 -1
- package/dist/{chunk-VFYF7EMB.js → chunk-CW2UCKHS.js} +2 -2
- package/dist/{chunk-RSDCOZVM.js → chunk-CWBFOAGM.js} +2 -2
- package/dist/{chunk-HJVXKDEK.js → chunk-CX4MVEM3.js} +1 -1
- package/dist/{chunk-X24VCGZA.js → chunk-CYNL3ZFD.js} +3 -3
- package/dist/{chunk-YNR3DSAF.js → chunk-DTTISDTI.js} +2 -2
- package/dist/{chunk-6NGFGT23.js → chunk-DXCTHNEF.js} +57 -25
- package/dist/{chunk-MM45YT2B.js → chunk-E5HAY3DQ.js} +1 -1
- package/dist/{chunk-KSVLBATT.js → chunk-E5QQZDQN.js} +53 -0
- package/dist/{chunk-TLBAZU3V.js → chunk-EDZ5URGR.js} +1 -1
- package/dist/{chunk-J2OTTJWG.js → chunk-F3PIHVVY.js} +2 -2
- package/dist/{chunk-4DJCHH5R.js → chunk-FSIAGX55.js} +1 -1
- package/dist/{chunk-HEFM2DBN.js → chunk-GTOMDMJL.js} +21 -27
- package/dist/{chunk-6G6JGJD3.js → chunk-GUOMZ3JM.js} +2 -2
- package/dist/{chunk-G6EUAI67.js → chunk-H37FSTF2.js} +1 -1
- package/dist/{chunk-IR2MLURD.js → chunk-H74466TM.js} +1 -1
- package/dist/{chunk-ZACPAM2C.js → chunk-HHGOCBVQ.js} +4 -4
- package/dist/{chunk-KAF66DIP.js → chunk-HSBKV5LB.js} +43 -12
- package/dist/{chunk-2HRAVECR.js → chunk-IIVFXD6P.js} +1 -1
- package/dist/{chunk-JLG3GAQS.js → chunk-J5EYOBFF.js} +1 -1
- package/dist/{chunk-M4REI3JS.js → chunk-J6VQ7HYV.js} +5 -5
- package/dist/{chunk-YWFFAM2S.js → chunk-JFOZHVNO.js} +1 -1
- package/dist/{chunk-P5OPYQZE.js → chunk-JJRZE2LD.js} +2 -2
- package/dist/{chunk-DSQCXCPS.js → chunk-JOKKIFRN.js} +3 -3
- package/dist/{chunk-X73CND7J.js → chunk-JTB5V6BV.js} +1 -1
- package/dist/{chunk-JWLZQSHW.js → chunk-K2OFS57E.js} +2 -2
- package/dist/{chunk-4LYIZD3H.js → chunk-KDD26FUY.js} +1 -1
- package/dist/{chunk-L3TB7CC3.js → chunk-KM6XSFHP.js} +12 -2
- package/dist/{chunk-OFQBR26Y.js → chunk-KOYGRP2L.js} +3 -3
- package/dist/{chunk-BIMCKCGZ.js → chunk-LIZ3QQGK.js} +1 -1
- package/dist/chunk-LNOS24GV.js +214 -0
- package/dist/{chunk-6LNT6NCB.js → chunk-LW5WRSDD.js} +2 -2
- package/dist/{chunk-4KFTA7U7.js → chunk-MLPPG2OG.js} +2 -2
- package/dist/{chunk-M2IZ3TQT.js → chunk-MQ3N4KZY.js} +1 -1
- package/dist/{chunk-34XAUB2R.js → chunk-N3JLNMPF.js} +3 -3
- package/dist/{chunk-BRZR76TS.js → chunk-NJFJWQNN.js} +49 -14
- package/dist/{chunk-Y4JCCHHJ.js → chunk-NPND34FS.js} +4 -4
- package/dist/{chunk-TPXBX2LD.js → chunk-O3F5P6Z5.js} +2 -2
- package/dist/{chunk-FLK5IS6R.js → chunk-OADOH45L.js} +3 -3
- package/dist/{chunk-6ML32VHG.js → chunk-OISZ2I4X.js} +5 -5
- package/dist/{chunk-XI2BLVH6.js → chunk-OPS7KUFV.js} +3 -3
- package/dist/{chunk-GVZI4MK2.js → chunk-OUIEDJFO.js} +1 -1
- package/dist/{chunk-CA7JP44I.js → chunk-P5XER5QY.js} +3 -3
- package/dist/{chunk-5M6LXPR4.js → chunk-P5XTVIEC.js} +3 -3
- package/dist/{chunk-6TF4ZOXP.js → chunk-P76VYS6V.js} +207 -60
- package/dist/{chunk-XOFIXD5U.js → chunk-PFOJX6CR.js} +5 -5
- package/dist/chunk-PFR6EOUY.js +356 -0
- package/dist/{agent-heartbeat-I5UPGXAU.js → chunk-PHUHIVD5.js} +4 -5
- package/dist/{chunk-VVXXMY6I.js → chunk-PQ6NRLKL.js} +1 -1
- package/dist/{chunk-J2W3XZHV.js → chunk-PR3AHVFW.js} +5 -5
- package/dist/{chunk-3NETEIM6.js → chunk-PS4NA7PM.js} +1458 -968
- package/dist/{chunk-E5TFF3M7.js → chunk-PS6VPW64.js} +1 -1
- package/dist/{chunk-OZIDGXKH.js → chunk-PVEM537A.js} +2 -2
- package/dist/{chunk-PX2OHZKN.js → chunk-PWCZFIQH.js} +4 -4
- package/dist/{chunk-EKOWJXHN.js → chunk-QMSEL5YS.js} +77 -23
- package/dist/{chunk-Z6VZ62MY.js → chunk-QS6HI4B6.js} +34 -11
- package/dist/{chunk-GETICKB4.js → chunk-QWDZNQXA.js} +3 -3
- package/dist/{chunk-ZVZEYHWY.js → chunk-QX33D4CH.js} +32 -38
- package/dist/{chunk-TOLJH6XP.js → chunk-R3H3WW7H.js} +2 -2
- package/dist/chunk-R4AROSYI.js +496 -0
- package/dist/{chunk-CE323JHD.js → chunk-RIECV7SR.js} +1 -1
- package/dist/{chunk-IANRPLHA.js → chunk-RLDMUSRM.js} +2 -2
- package/dist/{chunk-LYXICKAH.js → chunk-SBJV2PCU.js} +1 -1
- package/dist/{chunk-U6E3CLKI.js → chunk-SFKIZYKK.js} +3 -3
- package/dist/{chunk-7JR2IRBY.js → chunk-TCR7NBHD.js} +6 -6
- package/dist/{chunk-DVPBCGC2.js → chunk-TJSTWACD.js} +2 -2
- package/dist/chunk-TX3Q2GIL.js +97 -0
- package/dist/{chunk-V3K6FLAS.js → chunk-TZFOWWPM.js} +1 -1
- package/dist/{chunk-4FNUBXYO.js → chunk-UI3K73LD.js} +1 -1
- package/dist/{chunk-5WADTD5Y.js → chunk-URHJDUWO.js} +1 -1
- package/dist/{chunk-K2HYCBAG.js → chunk-V3ISR2QT.js} +17 -6
- package/dist/{chunk-UPCXDJ2S.js → chunk-VMJ2UH4S.js} +1 -1
- package/dist/{chunk-JQTM2UFN.js → chunk-VV5EZZNT.js} +1 -1
- package/dist/{chunk-AA6AD7OM.js → chunk-VY3QUSWS.js} +10 -10
- package/dist/{chunk-OPU3NYOO.js → chunk-W2IRQJ6R.js} +12 -0
- package/dist/{chunk-5G46JZTE.js → chunk-WBKIU6UJ.js} +3 -3
- package/dist/{chunk-EUEESRS6.js → chunk-WCDIDSLR.js} +3 -3
- package/dist/{chunk-43PHKRHR.js → chunk-WSLFGJBA.js} +2 -2
- package/dist/{chunk-DNRLIHUO.js → chunk-WYVBWDFY.js} +1 -1
- package/dist/{chunk-BU36IRW2.js → chunk-X2P43TB2.js} +1 -1
- package/dist/{chunk-UIUO3N5Y.js → chunk-XA4EU3CW.js} +2 -2
- package/dist/{chunk-AIVK4A5Y.js → chunk-XAMLDTRA.js} +4 -4
- package/dist/{chunk-ZSQNPN2W.js → chunk-XKFMNAJ7.js} +1 -1
- package/dist/{chunk-5KLQCGI5.js → chunk-XKZD5FGK.js} +55 -0
- package/dist/{chunk-AYMOVFBG.js → chunk-XM7HJ5SS.js} +1 -1
- package/dist/{chunk-HKQH4R5X.js → chunk-XSXZVKJ7.js} +6 -6
- package/dist/{chunk-J4VETNHT.js → chunk-XTEKGO44.js} +1 -1
- package/dist/{chunk-2ROXEOGE.js → chunk-XTWHNLGD.js} +1 -1
- package/dist/{chunk-MR56CIB5.js → chunk-XUGOVOID.js} +3 -3
- package/dist/{chunk-T26JNDO3.js → chunk-XVRQZCTS.js} +2 -2
- package/dist/{chunk-O3OGCHUZ.js → chunk-Y4JVM3SI.js} +1 -1
- package/dist/{chunk-AUIXAFYX.js → chunk-Y7OK5PJE.js} +5 -5
- package/dist/{chunk-PGJG5TCQ.js → chunk-YA4PM3MV.js} +3 -3
- package/dist/{chunk-J7EXACGN.js → chunk-YYA5LXCT.js} +1 -1
- package/dist/{chunk-JVLQJWUG.js → chunk-YYLVHUYZ.js} +1 -1
- package/dist/{chunk-TF5T2ASS.js → chunk-Z5Z3MYUW.js} +3 -3
- package/dist/chunk-ZNUJFX7L.js +135 -0
- package/dist/{chunk-K5RPFS6A.js → chunk-ZSHLY5BS.js} +1 -1
- package/dist/{chunk-ECVWCFY4.js → chunk-ZVTKWWLV.js} +2 -2
- package/dist/{chunk-ASBMFQAY.js → chunk-ZZ3JQM5I.js} +9 -9
- package/dist/{chunk-JN7IFPIQ.js → chunk-ZZXMB5F2.js} +1 -1
- package/dist/{cleanup-graph-garbage-MLRFYWDJ.js → cleanup-graph-garbage-XDIX3HLN.js} +9 -9
- package/dist/{cloud-sync-command-LU5KLLQY.js → cloud-sync-command-VPYE4FIH.js} +2 -2
- package/dist/{cloud-sync-db-init-G7LBCE7T.js → cloud-sync-db-init-NSDBTFGI.js} +1 -1
- package/dist/{cloud-sync-shutdown-4IZXMEKK.js → cloud-sync-shutdown-6OUYTG4T.js} +4 -4
- package/dist/{co-activation-FCEZYVGI.js → co-activation-EAAKGGZH.js} +4 -4
- package/dist/{co-occurrence-5WBK7HPH.js → co-occurrence-OFVF55RX.js} +7 -7
- package/dist/{code-context-index-4EQJW44K.js → code-context-index-XOP6TLPZ.js} +5 -4
- package/dist/codex-consolidation-PPXNBXCV.js +96 -0
- package/dist/{conversation-entity-extractor-JXAKVKF2.js → conversation-entity-extractor-ZR5GFKAI.js} +3 -3
- package/dist/{conversation-wiki-populator-6BCICVAB.js → conversation-wiki-populator-EBUZXYEU.js} +1 -1
- package/dist/{crdt-sync-RTAWVLV4.js → crdt-sync-FGH4SBFW.js} +1 -1
- package/dist/{crm-webhook-EWALI4C5.js → crm-webhook-PJATR2DC.js} +2 -2
- package/dist/{cto-delegation-gate-HU4YUH7C.js → cto-delegation-gate-PO4LSSQ4.js} +38 -21
- package/dist/{daemon-auth-LXP5I6BA.js → daemon-auth-SSPY5ODS.js} +2 -2
- package/dist/{daemon-orchestration-35RSNUNI.js → daemon-orchestration-IJFZFQUX.js} +27 -25
- package/dist/{daemon-ready-ZC2ANOR3.js → daemon-ready-MKBH4QWD.js} +1 -1
- package/dist/db-integrity-events-5DTASXJF.js +22 -0
- package/dist/{db-restore-events-NBARRGAC.js → db-restore-events-2FI4ZMKA.js} +1 -1
- package/dist/{doc-graph-extractor-PTNIPSDV.js → doc-graph-extractor-CAYUAM5A.js} +7 -7
- package/dist/{documents-BUFAJHVZ.js → documents-W2G477QE.js} +12 -11
- package/dist/{dreaming-ZPUWXFEJ.js → dreaming-FVXSIIWV.js} +26 -24
- package/dist/{employee-boot-brief-QD2SP4FM.js → employee-boot-brief-OYMSHFHA.js} +29 -27
- package/dist/{exe-drift-KCZFM2RP.js → exe-drift-67RGJOBX.js} +5 -5
- package/dist/{exe-export-W2SXNMYL.js → exe-export-SGYX6XZG.js} +14 -13
- package/dist/{exe-import-YCYNUMER.js → exe-import-UABVA5N3.js} +14 -13
- package/dist/{exe-key-7IIKQRR2.js → exe-key-XNYDCVFE.js} +107 -102
- package/dist/{exe-org-223EX7VP.js → exe-org-XJVSU5HN.js} +23 -23
- package/dist/{exe-snapshot-QX3RERAL.js → exe-snapshot-YXOGYZUX.js} +30 -37
- package/dist/{fast-db-init-PAC3C5O5.js → fast-db-init-GDFJY5UH.js} +1 -1
- package/dist/{founder-context-XM47756J.js → founder-context-KUXSNXKS.js} +3 -3
- package/dist/{founder-monitor-envelope-4WFWI26F.js → founder-monitor-envelope-5KTKNL5G.js} +4 -4
- package/dist/{fts-integrity-4M2MF2LQ.js → fts-integrity-LKAZEZJE.js} +2 -2
- package/dist/gateway/index.js +10 -10
- package/dist/{git-staleness-XT6GXOYG.js → git-staleness-NN6RWNLW.js} +4 -4
- package/dist/{global-procedures-QICIAC33.js → global-procedures-XDNA3TNA.js} +6 -6
- package/dist/{graph-auto-extract-RYX57CW5.js → graph-auto-extract-KTOR45V4.js} +7 -7
- package/dist/{graph-rag-MOBZTWOD.js → graph-rag-L5NV5YWD.js} +3 -3
- package/dist/{hook-integrity-LGUYWWQX.js → hook-integrity-X3YAVGUW.js} +1 -1
- package/dist/{hook-prefetch-VE2NXAFN.js → hook-prefetch-WE4MIXBM.js} +23 -21
- package/dist/hooks/bug-report-worker.js +27 -25
- package/dist/hooks/codex-stop-task-finalizer.js +29 -27
- package/dist/hooks/commit-complete.js +42 -27
- package/dist/hooks/error-recall.js +11 -11
- package/dist/hooks/exe-heartbeat-hook.js +7 -7
- package/dist/hooks/ingest-worker.js +10 -9
- package/dist/hooks/ingest.js +18 -17
- package/dist/hooks/instructions-loaded.js +12 -9
- package/dist/hooks/manifest.json +20 -20
- package/dist/hooks/notification.js +8 -8
- package/dist/hooks/post-compact.js +7 -7
- package/dist/hooks/post-tool-combined.js +16 -15
- package/dist/hooks/pre-compact.js +28 -26
- package/dist/hooks/pre-tool-use.js +79 -33
- package/dist/hooks/prompt-submit.js +42 -40
- package/dist/hooks/session-end.js +128 -111
- package/dist/hooks/session-start.js +20 -20
- package/dist/hooks/stop.js +101 -34
- package/dist/hooks/subagent-stop.js +29 -27
- package/dist/hooks/summary-worker.js +32 -30
- package/dist/index.js +34 -32
- package/dist/{installer-4VXHJEVU.js → installer-EAAYEEEF.js} +8 -8
- package/dist/{installer-CH7GIFHI.js → installer-EPQAOI6M.js} +154 -10
- package/dist/{installer-IK4HFXD4.js → installer-UDRMFY75.js} +8 -8
- package/dist/{intercom-queue-PI5APF65.js → intercom-queue-IBOAVT2I.js} +22 -20
- package/dist/{key-backup-status-G7CHESRL.js → key-backup-status-6L2ARCXW.js} +1 -1
- package/dist/lib/agent-config.js +2 -2
- package/dist/lib/cloud-sync.js +19 -18
- package/dist/lib/config.js +1 -1
- package/dist/lib/consolidation.js +9 -9
- package/dist/lib/database.js +4 -4
- package/dist/lib/db-backup.js +2 -2
- package/dist/lib/db-daemon-client.js +5 -4
- package/dist/lib/db-write-worker.js +3 -3
- package/dist/lib/db.js +4 -4
- package/dist/lib/device-registry.js +2 -2
- package/dist/lib/embed-worker.js +1 -1
- package/dist/lib/embedder.js +5 -4
- package/dist/lib/employee-templates.js +7 -7
- package/dist/lib/employees.js +4 -4
- package/dist/lib/exe-daemon-client.js +4 -3
- package/dist/lib/exe-daemon.js +219 -112
- package/dist/lib/hybrid-search.js +8 -8
- package/dist/lib/identity-templates.js +1 -1
- package/dist/lib/identity.js +4 -4
- package/dist/lib/license.js +3 -3
- package/dist/lib/messaging.js +23 -21
- package/dist/lib/post-tool-memory.js +2 -2
- package/dist/lib/registry-proxy.js +1 -1
- package/dist/lib/reminders.js +5 -5
- package/dist/lib/schedules.js +8 -8
- package/dist/lib/session-registry.js +6 -6
- package/dist/lib/skill-learning.js +13 -12
- package/dist/lib/status-brief.js +4 -3
- package/dist/lib/store.js +7 -7
- package/dist/lib/task-router.js +5 -5
- package/dist/lib/tasks.js +24 -22
- package/dist/lib/tmux-routing.js +22 -20
- package/dist/lib/token-spend.js +5 -5
- package/dist/{license-gate-Z5YXTWMH.js → license-gate-3TTWJABL.js} +4 -4
- package/dist/{license-sync-LLX3FTHY.js → license-sync-ZC6TPKVV.js} +3 -3
- package/dist/mcp/register-tools.js +104 -99
- package/dist/mcp/server.js +106 -101
- package/dist/mcp/tools/complete-reminder.js +6 -6
- package/dist/mcp/tools/create-reminder.js +6 -6
- package/dist/mcp/tools/create-task.js +27 -25
- package/dist/mcp/tools/deactivate-behavior.js +15 -14
- package/dist/mcp/tools/list-reminders.js +6 -6
- package/dist/mcp/tools/list-tasks.js +27 -25
- package/dist/mcp/tools/send-message.js +26 -24
- package/dist/mcp/tools/update-task.js +25 -23
- package/dist/{mcp-http-config-PTGZH6RV.js → mcp-http-config-ROF5EPEF.js} +5 -5
- package/dist/{mcp-session-identity-JRR4ZW2F.js → mcp-session-identity-ERU6FEUB.js} +22 -20
- package/dist/{memory-cards-ENOF74LR.js → memory-cards-3QTXI2SG.js} +7 -7
- package/dist/{memory-graph-extractor-V4ZUDCUN.js → memory-graph-extractor-7GAILMYG.js} +8 -8
- package/dist/{memory-poisoning-defense-VNCV5BFL.js → memory-poisoning-defense-TPXSRJTQ.js} +4 -4
- package/dist/{memory-pressure-watchdog-5WKDX7KP.js → memory-pressure-watchdog-ZSOP6T2F.js} +23 -21
- package/dist/{memory-queue-RD5CSMSC.js → memory-queue-QJNWKWKG.js} +2 -2
- package/dist/{memory-queue-client-2NHZQRSD.js → memory-queue-client-HIHCA3W4.js} +6 -5
- package/dist/{memory-reflection-H7AGGSO5.js → memory-reflection-3AI4JBV2.js} +4 -4
- package/dist/{monitor-grants-5KVETEJB.js → monitor-grants-BW2WL4IU.js} +3 -3
- package/dist/{notification-ledger-4DRPS7GP.js → notification-ledger-ZU7ZFJJX.js} +26 -23
- package/dist/{notifications-ZNIPKB3G.js → notifications-S4GU22GF.js} +22 -20
- package/dist/{orchestration-events-FWR64GIC.js → orchestration-events-HVG56HJ5.js} +5 -5
- package/dist/{orchestration-phase-ZED4QYF3.js → orchestration-phase-UDS24CVQ.js} +2 -2
- package/dist/{orchestrator-AVQRCIMG.js → orchestrator-UW3Q3WYG.js} +24 -22
- package/dist/{org-brief-session-XK2BTYHE.js → org-brief-session-G36TJBN4.js} +12 -12
- package/dist/{org-consent-policy-ULCYJC4W.js → org-consent-policy-RMYVMM3X.js} +1 -1
- package/dist/{org-join-P6PHLFFK.js → org-join-BMBQDMVF.js} +7 -7
- package/dist/{org-key-admin-BXGBQ3XY.js → org-key-admin-SCCVVE2H.js} +8 -8
- package/dist/{org-key-pin-CVVHZIMZ.js → org-key-pin-5WUSPGVN.js} +3 -3
- package/dist/{org-membership-VC54DLZ7.js → org-membership-ESALTLLN.js} +4 -4
- package/dist/{org-partner-config-VQVT62IZ.js → org-partner-config-YKHPDPZR.js} +6 -6
- package/dist/{org-partner-runtime-CCXM2LEA.js → org-partner-runtime-KXMGEYFW.js} +12 -12
- package/dist/{org-row-visibility-OSDGUOYT.js → org-row-visibility-UI5PGN76.js} +1 -1
- package/dist/{pipeline-router-YA6JZ7SA.js → pipeline-router-IODWXDDI.js} +5 -5
- package/dist/{plan-limits-YC6TLA4S.js → plan-limits-XMAQVEJZ.js} +7 -7
- package/dist/{platform-procedures-QNOMEXJF.js → platform-procedures-44NDFTB6.js} +1 -1
- package/dist/{postinstall-failure-M6PCKX4P.js → postinstall-failure-B2JHNFPM.js} +2 -2
- package/dist/{project-boot-INRUUEND.js → project-boot-LCFBQ6NB.js} +9 -1
- package/dist/project-name-ILJTETUE.js +14 -0
- package/dist/{projection-worker-G3AO6ASG.js → projection-worker-6LZUCI3B.js} +4 -4
- package/dist/{prospective-memory-GXCBC5WL.js → prospective-memory-G5VK5GCD.js} +4 -4
- package/dist/{push-notifications-BZZJTMN6.js → push-notifications-S2RYRXLF.js} +23 -21
- package/dist/reproject-worktree-memories-IXYGHTGA.js +224 -0
- package/dist/{reranker-O3NLXWT3.js → reranker-EHQTAA3L.js} +2 -2
- package/dist/{retrieval-health-5OSAJIQF.js → retrieval-health-WZ4ICGNF.js} +5 -1
- package/dist/{review-polling-3D2KID2T.js → review-polling-MAWLRDSP.js} +23 -21
- package/dist/runtime/index.js +31 -29
- package/dist/{session-events-KJKEKAXC.js → session-events-BRUIZ5E4.js} +23 -21
- package/dist/{session-kill-telemetry-RRAZEXLS.js → session-kill-telemetry-PTZLHT33.js} +23 -21
- package/dist/{session-mcp-config-JTPM2XBN.js → session-mcp-config-F7KATWOF.js} +2 -2
- package/dist/{session-scope-IPEVYKRA.js → session-scope-G4RVJJGR.js} +23 -21
- package/dist/{setup-wizard-7XF4NFQK.js → setup-wizard-WFEUB63Z.js} +3 -3
- package/dist/{shard-manager-FW4KRSE4.js → shard-manager-UROHZE46.js} +2 -2
- package/dist/{skill-refinement-5444QK44.js → skill-refinement-2OYPH7WD.js} +5 -5
- package/dist/{stack-promote-FZAXOG5N.js → stack-promote-DLYYQXQI.js} +6 -5
- package/dist/{stack-release-AF4KZWQA.js → stack-release-OPWARLXI.js} +6 -5
- package/dist/{stack-update-RIL3XYZG.js → stack-update-SJ43IEQE.js} +39 -6
- package/dist/{steward-gate-V3CDSK35.js → steward-gate-V7PBGVFK.js} +5 -5
- package/dist/{subagent-brief-injection-WZJRP6VC.js → subagent-brief-injection-BLCRI2AJ.js} +31 -29
- package/dist/{subagent-spawn-ledger-P6Q6JX3E.js → subagent-spawn-ledger-USYZXU3M.js} +4 -2
- package/dist/{support-inbox-45CEKHAK.js → support-inbox-6HOQYFD2.js} +4 -4
- package/dist/{task-enforcement-HG6LBTYU.js → task-enforcement-EF6O2V26.js} +23 -21
- package/dist/{task-request-inbox-ZIQW2TPL.js → task-request-inbox-OB2KIJWO.js} +1 -1
- package/dist/{task-scope-ZWRHD2PQ.js → task-scope-74JBTKJN.js} +26 -23
- package/dist/{tasks-crud-QN33WNXT.js → tasks-crud-ZU6RZDEZ.js} +22 -20
- package/dist/{tasks-notify-DQKP253B.js → tasks-notify-767DRYAA.js} +23 -21
- package/dist/{tasks-review-P7JTBLWK.js → tasks-review-4F6PZZ3B.js} +22 -20
- package/dist/{telemetry-upload-55GD4D27.js → telemetry-upload-2JM6KIAB.js} +9 -9
- package/dist/{token-budget-PPDT7CLD.js → token-budget-NH2RD4YX.js} +5 -5
- package/dist/{tool-capability-index-MOZ5EOIO.js → tool-capability-index-BT2GGLLI.js} +1 -1
- package/dist/{tool-gates-3IC7DK4R.js → tool-gates-2OZY3GZM.js} +1 -1
- package/dist/{tool-gates-GXSYBVK4.js → tool-gates-7PLIOLAL.js} +1 -1
- package/dist/{tool-telemetry-R27EMAEB.js → tool-telemetry-CHCBD4OQ.js} +1 -1
- package/dist/tui/App.js +37 -35
- package/dist/{tui-data-KJNJBAAT.js → tui-data-244GF3BI.js} +22 -20
- package/dist/{update-support-VDS4ME3L.js → update-support-P2LO3DAB.js} +16 -15
- package/dist/work-claims-4QOE7DT2.js +53 -0
- package/dist/{work-state-heartbeat-RUE6ETPX.js → work-state-heartbeat-GX3VWWWK.js} +1 -1
- package/dist/{worker-gate-LAXZSHSZ.js → worker-gate-62PZATOV.js} +2 -2
- package/dist/{workflow-engine-RPKV7XM3.js → workflow-engine-7YIRU62F.js} +2 -2
- package/dist/{worktree-6LRKLO2U.js → worktree-3TUKIZWY.js} +6 -6
- package/dist/{worktree-sweep-NAPVXZHQ.js → worktree-sweep-MYQHUXDE.js} +7 -7
- package/package.json +8 -2
- package/release-notes.json +90 -89
- package/src/commands/exe/call.md +6 -4
- package/src/commands/exe-reference.md +11 -7
- package/src/commands/exe.md +16 -20
- package/dist/chunk-6MQWZZS5.js +0 -275
- package/dist/chunk-CTXNEZFW.js +0 -78
- package/dist/db-integrity-events-RBX7FN5E.js +0 -16
- package/dist/project-name-EWG5KAZP.js +0 -10
- /package/dist/{chunk-GSWAKK5Q.js → chunk-62U63R3E.js} +0 -0
- /package/dist/{chunk-HVMZBCP4.js → chunk-6CAX7YH4.js} +0 -0
- /package/dist/{chunk-CLCNYC3F.js → chunk-BTFDA3UJ.js} +0 -0
- /package/dist/{chunk-VNVDUM5X.js → chunk-DAXFAXLN.js} +0 -0
- /package/dist/{chunk-3DWNESVC.js → chunk-FLP2BQOA.js} +0 -0
- /package/dist/{chunk-ESOETGYC.js → chunk-JLYHJJHU.js} +0 -0
- /package/dist/{chunk-W352QOGG.js → chunk-JZBZI36P.js} +0 -0
- /package/dist/{chunk-QKOLA6FI.js → chunk-WM7Y5ZV2.js} +0 -0
- /package/dist/{chunk-IY7LTYEP.js → chunk-YNPOELAN.js} +0 -0
- /package/dist/{chunk-7VBIK4HP.js → chunk-YSDIJ3VI.js} +0 -0
- /package/dist/{core-memory-RZHRZPKR.js → core-memory-EARETDZ6.js} +0 -0
- /package/dist/{entity-boost-ZLQIQ4JU.js → entity-boost-CDFAXVYL.js} +0 -0
- /package/dist/{memory-isolation-OSZBBUHB.js → memory-isolation-XASOGA7G.js} +0 -0
- /package/dist/{message-queue-client-UKGJ6QKQ.js → message-queue-client-PL2POQOV.js} +0 -0
- /package/dist/{oauth-server-MHOTAUOI.js → oauth-server-C3BXAKAW.js} +0 -0
- /package/dist/{webhook-pipe-BVLWBMIC.js → webhook-pipe-UQSEHFPO.js} +0 -0
- /package/dist/{wiki-acl-E24PM3YR.js → wiki-acl-XQH4UBP2.js} +0 -0
- /package/dist/{wiki-client-ZDPDQDX2.js → wiki-client-AXNM5FWY.js} +0 -0
|
@@ -8,20 +8,20 @@ import {
|
|
|
8
8
|
import {
|
|
9
9
|
hybridSearch,
|
|
10
10
|
lightweightSearch
|
|
11
|
-
} from "../chunk-
|
|
11
|
+
} from "../chunk-AE3PYLLS.js";
|
|
12
12
|
import "../chunk-VMHZSZQJ.js";
|
|
13
13
|
import {
|
|
14
14
|
buildSystemStateMemoryTypeExclusion,
|
|
15
15
|
initStore
|
|
16
|
-
} from "../chunk-
|
|
17
|
-
import "../chunk-
|
|
16
|
+
} from "../chunk-BQYQES2Z.js";
|
|
17
|
+
import "../chunk-JLYHJJHU.js";
|
|
18
18
|
import "../chunk-CHCA3ZM2.js";
|
|
19
19
|
import "../chunk-OTVEIJUQ.js";
|
|
20
|
-
import "../chunk-
|
|
20
|
+
import "../chunk-WM7Y5ZV2.js";
|
|
21
21
|
import {
|
|
22
22
|
getActiveAgent
|
|
23
|
-
} from "../chunk-
|
|
24
|
-
import "../chunk-
|
|
23
|
+
} from "../chunk-QWDZNQXA.js";
|
|
24
|
+
import "../chunk-2ADYTOHQ.js";
|
|
25
25
|
import "../chunk-5MOYSU5A.js";
|
|
26
26
|
import "../chunk-4QCFFW2H.js";
|
|
27
27
|
import "../chunk-76CJBM36.js";
|
|
@@ -31,13 +31,13 @@ import "../chunk-GJV3WDWM.js";
|
|
|
31
31
|
import "../chunk-MP2AFCGL.js";
|
|
32
32
|
import {
|
|
33
33
|
getClient
|
|
34
|
-
} from "../chunk-
|
|
34
|
+
} from "../chunk-HSBKV5LB.js";
|
|
35
35
|
import "../chunk-TKDITWDN.js";
|
|
36
36
|
import "../chunk-BBMTVAE3.js";
|
|
37
37
|
import "../chunk-5YEUPUV4.js";
|
|
38
|
-
import "../chunk-
|
|
38
|
+
import "../chunk-Y7OK5PJE.js";
|
|
39
39
|
import "../chunk-YYB5PMTK.js";
|
|
40
|
-
import "../chunk-
|
|
40
|
+
import "../chunk-NJFJWQNN.js";
|
|
41
41
|
import "../chunk-V3W3SATA.js";
|
|
42
42
|
import "../chunk-JY5GAZYC.js";
|
|
43
43
|
import "../chunk-FXU7JOXK.js";
|
|
@@ -45,7 +45,7 @@ import "../chunk-HPXFKUGU.js";
|
|
|
45
45
|
import {
|
|
46
46
|
loadConfig,
|
|
47
47
|
loadConfigSync
|
|
48
|
-
} from "../chunk-
|
|
48
|
+
} from "../chunk-QMSEL5YS.js";
|
|
49
49
|
import "../chunk-HSGBZSCA.js";
|
|
50
50
|
import "../chunk-JKKZGDLP.js";
|
|
51
51
|
import "../chunk-MLKGABMK.js";
|
|
@@ -60,7 +60,7 @@ process.on("unhandledRejection", (err) => {
|
|
|
60
60
|
process.exit(1);
|
|
61
61
|
});
|
|
62
62
|
try {
|
|
63
|
-
const { verifyOrBlock } = await import("../hook-integrity-
|
|
63
|
+
const { verifyOrBlock } = await import("../hook-integrity-X3YAVGUW.js");
|
|
64
64
|
if (!await verifyOrBlock(new URL(import.meta.url).pathname)) process.exit(2);
|
|
65
65
|
} catch (err) {
|
|
66
66
|
const code = err?.code;
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import "../chunk-SH45SJQW.js";
|
|
2
2
|
import {
|
|
3
3
|
getActiveAgent
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-
|
|
4
|
+
} from "../chunk-QWDZNQXA.js";
|
|
5
|
+
import "../chunk-2ADYTOHQ.js";
|
|
6
6
|
import "../chunk-CVYC6DUW.js";
|
|
7
7
|
import "../chunk-GJV3WDWM.js";
|
|
8
8
|
import {
|
|
9
9
|
canCoordinate
|
|
10
|
-
} from "../chunk-
|
|
10
|
+
} from "../chunk-HSBKV5LB.js";
|
|
11
11
|
import "../chunk-TKDITWDN.js";
|
|
12
12
|
import "../chunk-BBMTVAE3.js";
|
|
13
13
|
import "../chunk-5YEUPUV4.js";
|
|
14
|
-
import "../chunk-
|
|
14
|
+
import "../chunk-Y7OK5PJE.js";
|
|
15
15
|
import "../chunk-YYB5PMTK.js";
|
|
16
|
-
import "../chunk-
|
|
16
|
+
import "../chunk-NJFJWQNN.js";
|
|
17
17
|
import "../chunk-V3W3SATA.js";
|
|
18
18
|
import "../chunk-JY5GAZYC.js";
|
|
19
19
|
import "../chunk-FXU7JOXK.js";
|
|
20
|
-
import "../chunk-
|
|
20
|
+
import "../chunk-QMSEL5YS.js";
|
|
21
21
|
import "../chunk-HSGBZSCA.js";
|
|
22
22
|
import "../chunk-JKKZGDLP.js";
|
|
23
23
|
import "../chunk-MLKGABMK.js";
|
|
@@ -35,7 +35,7 @@ process.on("unhandledRejection", (err) => {
|
|
|
35
35
|
process.exit(1);
|
|
36
36
|
});
|
|
37
37
|
try {
|
|
38
|
-
const { verifyOrBlock } = await import("../hook-integrity-
|
|
38
|
+
const { verifyOrBlock } = await import("../hook-integrity-X3YAVGUW.js");
|
|
39
39
|
if (!await verifyOrBlock(new URL(import.meta.url).pathname)) process.exit(2);
|
|
40
40
|
} catch (err) {
|
|
41
41
|
const code = err?.code;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
buildPostToolMemoryEntry
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-X2P43TB2.js";
|
|
4
4
|
import "../chunk-YLXTKI6M.js";
|
|
5
5
|
import "../chunk-G2M7WQ2M.js";
|
|
6
6
|
import "../chunk-5MOYSU5A.js";
|
|
@@ -8,17 +8,18 @@ import "../chunk-4QCFFW2H.js";
|
|
|
8
8
|
import "../chunk-76CJBM36.js";
|
|
9
9
|
import {
|
|
10
10
|
writeMemoryViaDaemon
|
|
11
|
-
} from "../chunk-
|
|
12
|
-
import "../chunk-
|
|
13
|
-
import "../chunk-
|
|
14
|
-
import "../chunk-
|
|
15
|
-
import "../chunk-
|
|
11
|
+
} from "../chunk-ZVTKWWLV.js";
|
|
12
|
+
import "../chunk-CDUB5Q6J.js";
|
|
13
|
+
import "../chunk-BNHAZ65R.js";
|
|
14
|
+
import "../chunk-RIECV7SR.js";
|
|
15
|
+
import "../chunk-LNOS24GV.js";
|
|
16
16
|
import "../chunk-NLEW62VC.js";
|
|
17
|
+
import "../chunk-W2IRQJ6R.js";
|
|
17
18
|
import "../chunk-HYZV25LY.js";
|
|
18
19
|
import "../chunk-GJV3WDWM.js";
|
|
19
20
|
import "../chunk-QILQ5FCG.js";
|
|
20
21
|
import "../chunk-ARX6TAGN.js";
|
|
21
|
-
import "../chunk-
|
|
22
|
+
import "../chunk-QMSEL5YS.js";
|
|
22
23
|
import "../chunk-HSGBZSCA.js";
|
|
23
24
|
import "../chunk-JKKZGDLP.js";
|
|
24
25
|
import "../chunk-MLKGABMK.js";
|
|
@@ -33,13 +34,13 @@ process.on("unhandledRejection", (err) => {
|
|
|
33
34
|
process.exit(1);
|
|
34
35
|
});
|
|
35
36
|
try {
|
|
36
|
-
const { verifyHookIntegrity } = await import("../hook-integrity-
|
|
37
|
+
const { verifyHookIntegrity } = await import("../hook-integrity-X3YAVGUW.js");
|
|
37
38
|
const check = verifyHookIntegrity(new URL(import.meta.url).pathname);
|
|
38
39
|
if (!check.verified) {
|
|
39
40
|
process.stderr.write(`[SECURITY] Hook tamper detected: ingest-worker.js \u2014 ${check.reason} \u2014 refusing to run
|
|
40
41
|
`);
|
|
41
42
|
try {
|
|
42
|
-
const { pushNotifyAsync } = await import("../push-notifications-
|
|
43
|
+
const { pushNotifyAsync } = await import("../push-notifications-S2RYRXLF.js");
|
|
43
44
|
pushNotifyAsync({
|
|
44
45
|
event: "security_alert",
|
|
45
46
|
title: "Hook tamper detected",
|
package/dist/hooks/ingest.js
CHANGED
|
@@ -9,11 +9,11 @@ import {
|
|
|
9
9
|
import {
|
|
10
10
|
registerWorkerPid,
|
|
11
11
|
tryAcquireWorkerSlot
|
|
12
|
-
} from "../chunk-
|
|
12
|
+
} from "../chunk-ALYI3P5D.js";
|
|
13
13
|
import {
|
|
14
14
|
getActiveAgent
|
|
15
|
-
} from "../chunk-
|
|
16
|
-
import "../chunk-
|
|
15
|
+
} from "../chunk-QWDZNQXA.js";
|
|
16
|
+
import "../chunk-2ADYTOHQ.js";
|
|
17
17
|
import {
|
|
18
18
|
getSessionKey
|
|
19
19
|
} from "../chunk-CVYC6DUW.js";
|
|
@@ -21,20 +21,20 @@ import "../chunk-HYZV25LY.js";
|
|
|
21
21
|
import "../chunk-GJV3WDWM.js";
|
|
22
22
|
import {
|
|
23
23
|
getCoordinatorName
|
|
24
|
-
} from "../chunk-
|
|
24
|
+
} from "../chunk-HSBKV5LB.js";
|
|
25
25
|
import "../chunk-TKDITWDN.js";
|
|
26
26
|
import "../chunk-BBMTVAE3.js";
|
|
27
27
|
import "../chunk-5YEUPUV4.js";
|
|
28
|
-
import "../chunk-
|
|
28
|
+
import "../chunk-Y7OK5PJE.js";
|
|
29
29
|
import "../chunk-YYB5PMTK.js";
|
|
30
|
-
import "../chunk-
|
|
30
|
+
import "../chunk-NJFJWQNN.js";
|
|
31
31
|
import "../chunk-V3W3SATA.js";
|
|
32
32
|
import "../chunk-JY5GAZYC.js";
|
|
33
33
|
import "../chunk-FXU7JOXK.js";
|
|
34
34
|
import {
|
|
35
35
|
EXE_AI_DIR,
|
|
36
36
|
loadConfigSync
|
|
37
|
-
} from "../chunk-
|
|
37
|
+
} from "../chunk-QMSEL5YS.js";
|
|
38
38
|
import "../chunk-HSGBZSCA.js";
|
|
39
39
|
import "../chunk-JKKZGDLP.js";
|
|
40
40
|
import "../chunk-MLKGABMK.js";
|
|
@@ -53,13 +53,13 @@ process.on("unhandledRejection", (err) => {
|
|
|
53
53
|
process.exit(1);
|
|
54
54
|
});
|
|
55
55
|
try {
|
|
56
|
-
const { verifyHookIntegrity } = await import("../hook-integrity-
|
|
56
|
+
const { verifyHookIntegrity } = await import("../hook-integrity-X3YAVGUW.js");
|
|
57
57
|
const check = verifyHookIntegrity(new URL(import.meta.url).pathname);
|
|
58
58
|
if (!check.verified) {
|
|
59
59
|
process.stderr.write(`[SECURITY] Hook tamper detected: ingest.js \u2014 ${check.reason} \u2014 neutralizing (skipping ingestion, non-blocking)
|
|
60
60
|
`);
|
|
61
61
|
try {
|
|
62
|
-
const { pushNotifyAsync } = await import("../push-notifications-
|
|
62
|
+
const { pushNotifyAsync } = await import("../push-notifications-S2RYRXLF.js");
|
|
63
63
|
pushNotifyAsync({
|
|
64
64
|
event: "security_alert",
|
|
65
65
|
title: "Hook tamper detected",
|
|
@@ -158,7 +158,7 @@ process.stdin.on("end", async () => {
|
|
|
158
158
|
if (isDaemonReady()) {
|
|
159
159
|
const { initStore } = await import("../lib/store.js");
|
|
160
160
|
await initStore({ lightweight: true });
|
|
161
|
-
const { recordFileRead } = await import("../git-staleness-
|
|
161
|
+
const { recordFileRead } = await import("../git-staleness-NN6RWNLW.js");
|
|
162
162
|
await recordFileRead(
|
|
163
163
|
data.session_id,
|
|
164
164
|
agent.agentId,
|
|
@@ -239,7 +239,7 @@ Your output files must start with: exe/output/${agent.agentId}-`
|
|
|
239
239
|
);
|
|
240
240
|
if (existsSync(summaryWorkerPath) && tryAcquireWorkerSlot()) {
|
|
241
241
|
try {
|
|
242
|
-
const { verifyHookIntegrity } = await import("../hook-integrity-
|
|
242
|
+
const { verifyHookIntegrity } = await import("../hook-integrity-X3YAVGUW.js");
|
|
243
243
|
const c = verifyHookIntegrity(summaryWorkerPath);
|
|
244
244
|
if (!c.verified) {
|
|
245
245
|
process.stderr.write(`[SECURITY] Hook tamper: summary-worker.js \u2014 ${c.reason}
|
|
@@ -292,7 +292,7 @@ Your output files must start with: exe/output/${agent.agentId}-`
|
|
|
292
292
|
if (cpDaemonReady()) {
|
|
293
293
|
const { initStore: cpInit } = await import("../lib/store.js");
|
|
294
294
|
await cpInit();
|
|
295
|
-
const { writeCheckpoint } = await import("../tasks-crud-
|
|
295
|
+
const { writeCheckpoint } = await import("../tasks-crud-ZU6RZDEZ.js");
|
|
296
296
|
await writeCheckpoint({
|
|
297
297
|
taskId: taskData.taskId,
|
|
298
298
|
step: `auto_checkpoint_${counter.total}`,
|
|
@@ -330,7 +330,7 @@ WARNING: You are writing code without running the build pipeline. If this task a
|
|
|
330
330
|
);
|
|
331
331
|
if (existsSync(commitWorkerPath) && tryAcquireWorkerSlot()) {
|
|
332
332
|
try {
|
|
333
|
-
const { verifyHookIntegrity } = await import("../hook-integrity-
|
|
333
|
+
const { verifyHookIntegrity } = await import("../hook-integrity-X3YAVGUW.js");
|
|
334
334
|
const c = verifyHookIntegrity(commitWorkerPath);
|
|
335
335
|
if (!c.verified) {
|
|
336
336
|
process.stderr.write(`[SECURITY] Hook tamper: commit-complete.js \u2014 ${c.reason}
|
|
@@ -346,7 +346,8 @@ WARNING: You are writing code without running the build pipeline. If this task a
|
|
|
346
346
|
}
|
|
347
347
|
}
|
|
348
348
|
const stderrFd2 = openWorkerLog();
|
|
349
|
-
const
|
|
349
|
+
const { resolveProjectName } = await import("../project-name-ILJTETUE.js");
|
|
350
|
+
const projectName = resolveProjectName(data.cwd ?? process.cwd());
|
|
350
351
|
const commitWorker = spawn(process.execPath, [commitWorkerPath], {
|
|
351
352
|
detached: true,
|
|
352
353
|
stdio: ["ignore", "ignore", stderrFd2],
|
|
@@ -375,9 +376,9 @@ WARNING: You are writing code without running the build pipeline. If this task a
|
|
|
375
376
|
const socketPath = process.env.EXE_DAEMON_SOCK ?? process.env.EXE_EMBED_SOCK ?? path.join(EXE_AI_DIR, "exed.sock");
|
|
376
377
|
if (existsSync(socketPath)) {
|
|
377
378
|
const { extractSemanticText } = await import("../content-extractor-NXYNEF5K.js");
|
|
378
|
-
const { getProjectName } = await import("../project-name-
|
|
379
|
+
const { getProjectName } = await import("../project-name-ILJTETUE.js");
|
|
379
380
|
const { canCoordinate } = await import("../lib/employees.js");
|
|
380
|
-
const { readDaemonToken } = await import("../daemon-auth-
|
|
381
|
+
const { readDaemonToken } = await import("../daemon-auth-SSPY5ODS.js");
|
|
381
382
|
const rawText = extractSemanticText(data.tool_name, data.tool_input ?? {}, data.tool_response ?? {});
|
|
382
383
|
if (rawText.length >= 50) {
|
|
383
384
|
let taskId = null;
|
|
@@ -440,7 +441,7 @@ WARNING: You are writing code without running the build pipeline. If this task a
|
|
|
440
441
|
process.exit(0);
|
|
441
442
|
}
|
|
442
443
|
try {
|
|
443
|
-
const { verifyHookIntegrity } = await import("../hook-integrity-
|
|
444
|
+
const { verifyHookIntegrity } = await import("../hook-integrity-X3YAVGUW.js");
|
|
444
445
|
const check = verifyHookIntegrity(workerPath);
|
|
445
446
|
if (!check.verified) {
|
|
446
447
|
process.stderr.write(`[SECURITY] Hook tamper detected: ingest-worker.js \u2014 ${check.reason}
|
|
@@ -1,23 +1,26 @@
|
|
|
1
1
|
import "../chunk-SH45SJQW.js";
|
|
2
2
|
import {
|
|
3
3
|
getActiveAgent
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-
|
|
4
|
+
} from "../chunk-QWDZNQXA.js";
|
|
5
|
+
import "../chunk-2ADYTOHQ.js";
|
|
6
6
|
import "../chunk-CVYC6DUW.js";
|
|
7
|
+
import {
|
|
8
|
+
resolveProjectName
|
|
9
|
+
} from "../chunk-W2IRQJ6R.js";
|
|
7
10
|
import "../chunk-GJV3WDWM.js";
|
|
8
11
|
import {
|
|
9
12
|
getIdentityInjection
|
|
10
|
-
} from "../chunk-
|
|
13
|
+
} from "../chunk-HSBKV5LB.js";
|
|
11
14
|
import "../chunk-TKDITWDN.js";
|
|
12
15
|
import "../chunk-BBMTVAE3.js";
|
|
13
16
|
import "../chunk-5YEUPUV4.js";
|
|
14
|
-
import "../chunk-
|
|
17
|
+
import "../chunk-Y7OK5PJE.js";
|
|
15
18
|
import "../chunk-YYB5PMTK.js";
|
|
16
|
-
import "../chunk-
|
|
19
|
+
import "../chunk-NJFJWQNN.js";
|
|
17
20
|
import "../chunk-V3W3SATA.js";
|
|
18
21
|
import "../chunk-JY5GAZYC.js";
|
|
19
22
|
import "../chunk-FXU7JOXK.js";
|
|
20
|
-
import "../chunk-
|
|
23
|
+
import "../chunk-QMSEL5YS.js";
|
|
21
24
|
import "../chunk-HSGBZSCA.js";
|
|
22
25
|
import "../chunk-JKKZGDLP.js";
|
|
23
26
|
import "../chunk-MLKGABMK.js";
|
|
@@ -32,7 +35,7 @@ process.on("unhandledRejection", (err) => {
|
|
|
32
35
|
process.exit(1);
|
|
33
36
|
});
|
|
34
37
|
try {
|
|
35
|
-
const { verifyOrBlock } = await import("../hook-integrity-
|
|
38
|
+
const { verifyOrBlock } = await import("../hook-integrity-X3YAVGUW.js");
|
|
36
39
|
if (!await verifyOrBlock(new URL(import.meta.url).pathname)) process.exit(2);
|
|
37
40
|
} catch (err) {
|
|
38
41
|
const code = err?.code;
|
|
@@ -79,11 +82,11 @@ process.stdin.on("end", async () => {
|
|
|
79
82
|
pass = false;
|
|
80
83
|
}
|
|
81
84
|
try {
|
|
82
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
85
|
+
const { fastDbInit } = await import("../fast-db-init-GDFJY5UH.js");
|
|
83
86
|
await fastDbInit({ caller: "hook" });
|
|
84
87
|
const { getClient } = await import("../lib/database.js");
|
|
85
88
|
const client = getClient();
|
|
86
|
-
const projectName =
|
|
89
|
+
const projectName = resolveProjectName();
|
|
87
90
|
const behaviors = await client.execute({
|
|
88
91
|
sql: `SELECT COUNT(*) as cnt FROM behaviors
|
|
89
92
|
WHERE agent_id = ? AND active = 1 AND priority = 'p0'
|
package/dist/hooks/manifest.json
CHANGED
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 1,
|
|
3
|
-
"generatedAt": "2026-08-
|
|
3
|
+
"generatedAt": "2026-08-13T14:39:37.922Z",
|
|
4
4
|
"hashes": {
|
|
5
|
-
"bug-report-worker.js": "
|
|
6
|
-
"codex-stop-task-finalizer.js": "
|
|
7
|
-
"commit-complete.js": "
|
|
8
|
-
"error-recall.js": "
|
|
9
|
-
"exe-heartbeat-hook.js": "
|
|
10
|
-
"ingest-worker.js": "
|
|
11
|
-
"ingest.js": "
|
|
12
|
-
"instructions-loaded.js": "
|
|
13
|
-
"notification.js": "
|
|
14
|
-
"post-compact.js": "
|
|
15
|
-
"post-tool-combined.js": "
|
|
16
|
-
"pre-compact.js": "
|
|
17
|
-
"pre-tool-use.js": "
|
|
18
|
-
"prompt-submit.js": "
|
|
19
|
-
"session-end.js": "
|
|
20
|
-
"session-start.js": "
|
|
21
|
-
"stop.js": "
|
|
22
|
-
"subagent-stop.js": "
|
|
23
|
-
"summary-worker.js": "
|
|
5
|
+
"bug-report-worker.js": "ec8fb255b104b93757994faa2687c1b14cb1c4df1a82d14f461182d584bbbb7b",
|
|
6
|
+
"codex-stop-task-finalizer.js": "3b82ac38c3f966e619b869ea3e17130811a64525ce6530d3312f057c5d98c7d1",
|
|
7
|
+
"commit-complete.js": "c9a6cfc645b2eeab3e7db503cabc12f93c686c791c884878f072f5a3f5bf621b",
|
|
8
|
+
"error-recall.js": "2ca1ff0168a18723b089fd8c1e94ae228346b27f99d4485a0099cf9c3e2c8fc2",
|
|
9
|
+
"exe-heartbeat-hook.js": "64cae920dca24599f4408b0a09be591e1cc0f363e35ce9c9f03ac686d66b0038",
|
|
10
|
+
"ingest-worker.js": "c8a46156b4b57f9e94a4f7e681d69a30fb3fabce60dcf41be95767d2106c5661",
|
|
11
|
+
"ingest.js": "1a51cc6eaf33afa8fb6b1bd2bd0fc075828e16f65794b0c6229d532778b49de0",
|
|
12
|
+
"instructions-loaded.js": "069093ef88fc337050b95fe1417c56a637012586dd858da2800c2648f27b954d",
|
|
13
|
+
"notification.js": "619a64945c8aaa543ebd900a77750e3f50c604623276aaa960aa44c03cbb420e",
|
|
14
|
+
"post-compact.js": "4c64246e1fbc4e8ccb59358f37f7663587c683f0c00a1f18741753f655694425",
|
|
15
|
+
"post-tool-combined.js": "103de0ffe04fe7951d1ddd653c4a513eae81f046ea5b1fe743100f0335aebbe1",
|
|
16
|
+
"pre-compact.js": "bde0aed75c37acea6b05573fe02ae3bd16415bf3de8eb4321de3a31f16b9d7ce",
|
|
17
|
+
"pre-tool-use.js": "506d34dc6bfd6665b887ff86c3f16f46aa97e34147d90e7121f92f68752f9602",
|
|
18
|
+
"prompt-submit.js": "34ff65451aba59211aa4952a632f5b34bf987cc1962973c3d2aebea58dbfdf26",
|
|
19
|
+
"session-end.js": "fbf73f28682e7d5718d6868df25f90f482ca625536e8c44d698cf6babab37e69",
|
|
20
|
+
"session-start.js": "99a771cf5aefaf5f3ef83556413e85651c1a0b66fd8fc34dad81df86532bffc3",
|
|
21
|
+
"stop.js": "6e9181844bb0e5b1fbfa28abcbc4a6b5104437b46e94543c80831a6f0980b436",
|
|
22
|
+
"subagent-stop.js": "7d682e9328c5ddf9e1636ad5b328e13a90d3c959592560b7d6628de9cb6abca7",
|
|
23
|
+
"summary-worker.js": "5ad191a898cc0f0125428c2b934e72ef06bfc7d737ea7838765ad72635f4dfb9"
|
|
24
24
|
}
|
|
25
25
|
}
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import "../chunk-SH45SJQW.js";
|
|
2
2
|
import {
|
|
3
3
|
getActiveAgent
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-
|
|
4
|
+
} from "../chunk-QWDZNQXA.js";
|
|
5
|
+
import "../chunk-2ADYTOHQ.js";
|
|
6
6
|
import "../chunk-CVYC6DUW.js";
|
|
7
7
|
import "../chunk-GJV3WDWM.js";
|
|
8
|
-
import "../chunk-
|
|
8
|
+
import "../chunk-HSBKV5LB.js";
|
|
9
9
|
import "../chunk-TKDITWDN.js";
|
|
10
10
|
import "../chunk-BBMTVAE3.js";
|
|
11
11
|
import "../chunk-5YEUPUV4.js";
|
|
12
|
-
import "../chunk-
|
|
12
|
+
import "../chunk-Y7OK5PJE.js";
|
|
13
13
|
import "../chunk-YYB5PMTK.js";
|
|
14
|
-
import "../chunk-
|
|
14
|
+
import "../chunk-NJFJWQNN.js";
|
|
15
15
|
import "../chunk-V3W3SATA.js";
|
|
16
16
|
import "../chunk-JY5GAZYC.js";
|
|
17
17
|
import "../chunk-FXU7JOXK.js";
|
|
18
|
-
import "../chunk-
|
|
18
|
+
import "../chunk-QMSEL5YS.js";
|
|
19
19
|
import "../chunk-HSGBZSCA.js";
|
|
20
20
|
import "../chunk-JKKZGDLP.js";
|
|
21
21
|
import "../chunk-MLKGABMK.js";
|
|
@@ -30,7 +30,7 @@ process.on("unhandledRejection", (err) => {
|
|
|
30
30
|
process.exit(1);
|
|
31
31
|
});
|
|
32
32
|
try {
|
|
33
|
-
const { verifyOrBlock } = await import("../hook-integrity-
|
|
33
|
+
const { verifyOrBlock } = await import("../hook-integrity-X3YAVGUW.js");
|
|
34
34
|
if (!await verifyOrBlock(new URL(import.meta.url).pathname)) process.exit(2);
|
|
35
35
|
} catch (err) {
|
|
36
36
|
const code = err?.code;
|
|
@@ -66,7 +66,7 @@ process.stdin.on("end", async () => {
|
|
|
66
66
|
process.exit(0);
|
|
67
67
|
}
|
|
68
68
|
try {
|
|
69
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
69
|
+
const { fastDbInit } = await import("../fast-db-init-GDFJY5UH.js");
|
|
70
70
|
await fastDbInit({ caller: "hook" });
|
|
71
71
|
const { getClient } = await import("../lib/database.js");
|
|
72
72
|
const { randomUUID } = await import("crypto");
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import "../chunk-SH45SJQW.js";
|
|
2
2
|
import {
|
|
3
3
|
getActiveAgent
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-
|
|
4
|
+
} from "../chunk-QWDZNQXA.js";
|
|
5
|
+
import "../chunk-2ADYTOHQ.js";
|
|
6
6
|
import "../chunk-CVYC6DUW.js";
|
|
7
7
|
import "../chunk-GJV3WDWM.js";
|
|
8
|
-
import "../chunk-
|
|
8
|
+
import "../chunk-HSBKV5LB.js";
|
|
9
9
|
import "../chunk-TKDITWDN.js";
|
|
10
10
|
import "../chunk-BBMTVAE3.js";
|
|
11
11
|
import "../chunk-5YEUPUV4.js";
|
|
12
|
-
import "../chunk-
|
|
12
|
+
import "../chunk-Y7OK5PJE.js";
|
|
13
13
|
import "../chunk-YYB5PMTK.js";
|
|
14
|
-
import "../chunk-
|
|
14
|
+
import "../chunk-NJFJWQNN.js";
|
|
15
15
|
import "../chunk-V3W3SATA.js";
|
|
16
16
|
import "../chunk-JY5GAZYC.js";
|
|
17
17
|
import "../chunk-FXU7JOXK.js";
|
|
18
|
-
import "../chunk-
|
|
18
|
+
import "../chunk-QMSEL5YS.js";
|
|
19
19
|
import "../chunk-HSGBZSCA.js";
|
|
20
20
|
import "../chunk-JKKZGDLP.js";
|
|
21
21
|
import "../chunk-MLKGABMK.js";
|
|
@@ -30,7 +30,7 @@ process.on("unhandledRejection", (err) => {
|
|
|
30
30
|
process.exit(1);
|
|
31
31
|
});
|
|
32
32
|
try {
|
|
33
|
-
const { verifyOrBlock } = await import("../hook-integrity-
|
|
33
|
+
const { verifyOrBlock } = await import("../hook-integrity-X3YAVGUW.js");
|
|
34
34
|
if (!await verifyOrBlock(new URL(import.meta.url).pathname)) process.exit(2);
|
|
35
35
|
} catch (err) {
|
|
36
36
|
const code = err?.code;
|
|
@@ -8,7 +8,7 @@ process.on("unhandledRejection", (err) => {
|
|
|
8
8
|
process.exit(1);
|
|
9
9
|
});
|
|
10
10
|
try {
|
|
11
|
-
const { verifyOrBlock } = await import("../hook-integrity-
|
|
11
|
+
const { verifyOrBlock } = await import("../hook-integrity-X3YAVGUW.js");
|
|
12
12
|
if (!await verifyOrBlock(new URL(import.meta.url).pathname)) process.exit(2);
|
|
13
13
|
} catch (err) {
|
|
14
14
|
const code = err?.code;
|
|
@@ -46,7 +46,7 @@ process.stdin.on("end", async () => {
|
|
|
46
46
|
if (detectError(payload)) {
|
|
47
47
|
const { isDaemonReady } = await import("../daemon-ready-signal-CKXPUMJ2.js");
|
|
48
48
|
if (isDaemonReady()) {
|
|
49
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
49
|
+
const { fastDbInit } = await import("../fast-db-init-GDFJY5UH.js");
|
|
50
50
|
await fastDbInit({ daemonOnly: true });
|
|
51
51
|
const errorText = JSON.stringify(payload.tool_response ?? payload.tool_result ?? "");
|
|
52
52
|
const { lightweightSearch } = await import("../lib/hybrid-search.js");
|
|
@@ -75,7 +75,7 @@ ${context}`
|
|
|
75
75
|
if (toolName.startsWith("mcp__exe-os__")) {
|
|
76
76
|
const { detectError } = await import("../lib/error-detector.js");
|
|
77
77
|
if (!detectError(payload)) {
|
|
78
|
-
const { getActiveAgent } = await import("../active-agent-
|
|
78
|
+
const { getActiveAgent } = await import("../active-agent-V3CUDNED.js");
|
|
79
79
|
const { clearMcpStale } = await import("../mcp-stale-flag-ZM23XRSJ.js");
|
|
80
80
|
clearMcpStale(getActiveAgent().agentId);
|
|
81
81
|
}
|
|
@@ -85,12 +85,12 @@ ${context}`
|
|
|
85
85
|
try {
|
|
86
86
|
const payload = JSON.parse(input);
|
|
87
87
|
const toolName = String(payload.tool_name ?? "");
|
|
88
|
-
const { getActiveAgent } = await import("../active-agent-
|
|
88
|
+
const { getActiveAgent } = await import("../active-agent-V3CUDNED.js");
|
|
89
89
|
const driftAgent = getActiveAgent();
|
|
90
90
|
if (driftAgent.agentId !== "default" && toolName) {
|
|
91
91
|
const { existsSync: driftExists, readFileSync: driftRead, writeFileSync: driftWrite, mkdirSync: driftMkdir } = await import("fs");
|
|
92
92
|
const driftPath = await import("path");
|
|
93
|
-
const { TOOL_CATEGORIES, TOOL_GATES } = await import("../tool-gates-
|
|
93
|
+
const { TOOL_CATEGORIES, TOOL_GATES } = await import("../tool-gates-7PLIOLAL.js");
|
|
94
94
|
const normalized = toolName.replace(/[_-]/g, "").toLowerCase();
|
|
95
95
|
let toolCategory = "unknown";
|
|
96
96
|
for (const [registerFn, cat] of Object.entries(TOOL_CATEGORIES)) {
|
|
@@ -142,13 +142,14 @@ You are **${driftAgent.agentId}**. You've used ${mismatches.length} tools outsid
|
|
|
142
142
|
}
|
|
143
143
|
try {
|
|
144
144
|
const payload = JSON.parse(input);
|
|
145
|
-
const { getActiveAgent: getInvAgent } = await import("../active-agent-
|
|
145
|
+
const { getActiveAgent: getInvAgent } = await import("../active-agent-V3CUDNED.js");
|
|
146
146
|
const invAgent = getInvAgent();
|
|
147
147
|
const { trackToolResult } = await import("../investigation-tracker-WSCY4XBP.js");
|
|
148
|
+
const { resolveProjectName } = await import("../project-name-ILJTETUE.js");
|
|
148
149
|
trackToolResult({
|
|
149
150
|
sessionId: String(payload.session_id ?? "unknown"),
|
|
150
151
|
agentId: invAgent.agentId,
|
|
151
|
-
projectName:
|
|
152
|
+
projectName: resolveProjectName(typeof payload.cwd === "string" ? payload.cwd : void 0),
|
|
152
153
|
toolName: String(payload.tool_name ?? ""),
|
|
153
154
|
toolInput: JSON.stringify(payload.tool_input ?? {}).slice(0, 1e3),
|
|
154
155
|
toolOutput: String(payload.tool_response ?? payload.tool_result ?? "").slice(0, 2e3),
|
|
@@ -159,7 +160,7 @@ You are **${driftAgent.agentId}**. You've used ${mismatches.length} tools outsid
|
|
|
159
160
|
}
|
|
160
161
|
try {
|
|
161
162
|
const budgetData = JSON.parse(input);
|
|
162
|
-
const { getActiveAgent: getBudgetAgent } = await import("../active-agent-
|
|
163
|
+
const { getActiveAgent: getBudgetAgent } = await import("../active-agent-V3CUDNED.js");
|
|
163
164
|
const budgetAgent = getBudgetAgent();
|
|
164
165
|
if (budgetAgent.agentId !== "default") {
|
|
165
166
|
const budgetPath = await import("path");
|
|
@@ -182,7 +183,7 @@ You are **${driftAgent.agentId}**. You've used ${mismatches.length} tools outsid
|
|
|
182
183
|
const toolOutputStr = JSON.stringify(budgetData.tool_response ?? budgetData.tool_result ?? {});
|
|
183
184
|
const estimatedInputTokens = Math.ceil(toolInputStr.length / 4);
|
|
184
185
|
const estimatedOutputTokens = Math.ceil(toolOutputStr.length / 4);
|
|
185
|
-
const { createTokenBudgetMiddleware } = await import("../token-budget-
|
|
186
|
+
const { createTokenBudgetMiddleware } = await import("../token-budget-NH2RD4YX.js");
|
|
186
187
|
const middleware = createTokenBudgetMiddleware(cached.taskId);
|
|
187
188
|
const budgetResult = await middleware.onTokenUsed(estimatedInputTokens, estimatedOutputTokens);
|
|
188
189
|
if (budgetResult.warned) {
|
|
@@ -210,12 +211,12 @@ Your task token budget has been reached (${budgetResult.percentUsed}% used). Wra
|
|
|
210
211
|
} catch {
|
|
211
212
|
}
|
|
212
213
|
try {
|
|
213
|
-
const { artifactBackupEnabled, captureArtifact } = await import("../artifact-backup-
|
|
214
|
+
const { artifactBackupEnabled, captureArtifact } = await import("../artifact-backup-767STHSW.js");
|
|
214
215
|
if (artifactBackupEnabled()) {
|
|
215
216
|
const artifactPayload = JSON.parse(input);
|
|
216
217
|
const { artifactTouchFromToolUse } = await import("../artifact-provenance-C7HQ267L.js");
|
|
217
218
|
const { detectError: artifactDetectError } = await import("../lib/error-detector.js");
|
|
218
|
-
const { getActiveAgent: getArtifactAgent } = await import("../active-agent-
|
|
219
|
+
const { getActiveAgent: getArtifactAgent } = await import("../active-agent-V3CUDNED.js");
|
|
219
220
|
const touch = artifactTouchFromToolUse(artifactPayload, {
|
|
220
221
|
agentId: getArtifactAgent().agentId,
|
|
221
222
|
hasError: artifactDetectError(artifactPayload)
|
|
@@ -226,13 +227,13 @@ Your task token budget has been reached (${budgetResult.percentUsed}% used). Wra
|
|
|
226
227
|
}
|
|
227
228
|
try {
|
|
228
229
|
const data = JSON.parse(input);
|
|
229
|
-
const { resolveAgentAttribution } = await import("../active-agent-
|
|
230
|
+
const { resolveAgentAttribution } = await import("../active-agent-V3CUDNED.js");
|
|
230
231
|
const { detectError } = await import("../lib/error-detector.js");
|
|
231
232
|
const attribution = resolveAgentAttribution(data);
|
|
232
233
|
const agent = { agentId: attribution.agentId, agentRole: attribution.agentRole };
|
|
233
234
|
try {
|
|
234
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
235
|
-
const { recordSessionEvent } = await import("../session-events-
|
|
235
|
+
const { fastDbInit } = await import("../fast-db-init-GDFJY5UH.js");
|
|
236
|
+
const { recordSessionEvent } = await import("../session-events-BRUIZ5E4.js");
|
|
236
237
|
const client = await fastDbInit({ daemonOnly: true });
|
|
237
238
|
const toolName = String(data.tool_name ?? "unknown");
|
|
238
239
|
const toolInput = JSON.stringify(data.tool_input ?? {});
|
|
@@ -257,7 +258,7 @@ result: ${toolResponse.slice(0, 8e3)}`,
|
|
|
257
258
|
}
|
|
258
259
|
const { loadConfigSync } = await import("../lib/config.js");
|
|
259
260
|
if (loadConfigSync().autoIngestion) {
|
|
260
|
-
const { writeMemoryViaDaemon } = await import("../memory-queue-client-
|
|
261
|
+
const { writeMemoryViaDaemon } = await import("../memory-queue-client-HIHCA3W4.js");
|
|
261
262
|
const { buildPostToolMemoryEntry } = await import("../lib/post-tool-memory.js");
|
|
262
263
|
const entry = buildPostToolMemoryEntry(data, agent, {
|
|
263
264
|
subagentAgentType: attribution.untrustedAgentType ?? void 0
|