@askexenow/exe-os 0.9.384 → 0.9.389
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.askexe-control-plane.example +6 -0
- package/deploy/compose/.env.customer.example +1 -1
- package/deploy/compose/.env.example +1 -1
- package/deploy/compose/docker-compose.yml +16 -0
- package/deploy/compose/generate-env.ts +1 -1
- package/deploy/compose/sso-edge/sso-redirect.conf +18 -3
- package/deploy/stack-manifests/v0.9.json +1160 -1
- package/dist/.dist-verified.json +3 -3
- package/dist/{active-agent-F5V4E4UL.js → active-agent-RZ24KSJN.js} +8 -6
- package/dist/{active-agent-YTBB4ZQM.js → active-agent-YWSWPIEA.js} +8 -6
- package/dist/{agent-defs-generator-7TFISIJQ.js → agent-defs-generator-GY3UBREJ.js} +8 -6
- package/dist/{agent-heartbeat-CQPGJIFF.js → agent-heartbeat-GUVUUQVM.js} +1 -1
- package/dist/{agent-loop-EZ7LDAGD.js → agent-loop-HPNCH3HK.js} +1 -1
- package/dist/{agentic-ontology-XVTUVV7W.js → agentic-ontology-RHYNXEKE.js} +1 -1
- package/dist/{artifact-backup-TF6YWQT2.js → artifact-backup-HGUFSIJH.js} +19 -6
- package/dist/{backfill-metadata-J6MXIDCW.js → backfill-metadata-XLFASEOD.js} +11 -9
- package/dist/{backup-verify-6DVBQMDP.js → backup-verify-TUQEICWA.js} +1 -1
- package/dist/{behavior-injection-XDA7ZCYN.js → behavior-injection-GXO7ERGN.js} +14 -12
- package/dist/{behavior-promotion-4VLQ7LXK.js → behavior-promotion-V63WIZ4N.js} +13 -11
- package/dist/{behaviors-SCCZP7RZ.js → behaviors-RMLDPLOF.js} +18 -11
- package/dist/bin/agentic-ontology-backfill.js +12 -10
- package/dist/bin/agentic-reflection-backfill.js +13 -11
- package/dist/bin/agentic-semantic-label.js +12 -10
- package/dist/bin/backfill-conversations.js +11 -9
- package/dist/bin/backfill-responses.js +11 -9
- package/dist/bin/backfill-vectors.js +13 -11
- package/dist/bin/bulk-sync-postgres.js +20 -18
- package/dist/bin/cc-doctor.js +15 -13
- package/dist/bin/cleanup-stale-review-tasks.js +44 -32
- package/dist/bin/cli.js +109 -30
- package/dist/bin/customer-readiness.js +55 -25
- package/dist/bin/deferred-daemon-restart.js +111 -108
- package/dist/bin/exe-actions.js +7 -1
- package/dist/bin/exe-agent-config.js +8 -6
- package/dist/bin/exe-agent.js +18 -16
- package/dist/bin/exe-assign.js +13 -11
- package/dist/bin/exe-boot.js +49 -47
- package/dist/bin/exe-call.js +9 -7
- package/dist/bin/exe-cicd.js +19 -8
- package/dist/bin/exe-cloud.js +59 -25
- package/dist/bin/exe-config-dump.js +8 -6
- package/dist/bin/exe-dispatch.js +23 -21
- package/dist/bin/exe-doctor.js +11 -8
- package/dist/bin/exe-export-behaviors.js +16 -14
- package/dist/bin/exe-forget.js +14 -12
- package/dist/bin/exe-gateway.js +12 -10
- package/dist/bin/exe-grant.js +6 -6
- package/dist/bin/exe-healthcheck.js +15 -13
- package/dist/bin/exe-heartbeat.js +28 -26
- package/dist/bin/exe-kill.js +28 -26
- package/dist/bin/exe-launch-agent.js +35 -33
- package/dist/bin/exe-mcp.js +9 -7
- package/dist/bin/exe-memory-reads.js +11 -9
- package/dist/bin/exe-new-employee.js +13 -11
- package/dist/bin/exe-os-mcp-proxy.js +9 -7
- package/dist/bin/exe-pending-messages.js +23 -21
- package/dist/bin/exe-pending-notifications.js +22 -20
- package/dist/bin/exe-pending-reviews.js +23 -21
- package/dist/bin/exe-preflight.js +1 -1
- package/dist/bin/exe-rename.js +9 -7
- package/dist/bin/exe-review.js +59 -55
- package/dist/bin/exe-search-quality.js +16 -3
- package/dist/bin/exe-search.js +13 -11
- package/dist/bin/exe-session-cleanup.js +29 -27
- package/dist/bin/exe-settings.js +22 -20
- package/dist/bin/exe-start-codex.js +23 -21
- package/dist/bin/exe-start-opencode.js +21 -19
- package/dist/bin/exe-status.js +24 -22
- package/dist/bin/exe-support.js +3 -3
- package/dist/bin/exe-team.js +8 -6
- package/dist/bin/exe-verify-running-images.js +644 -17
- package/dist/bin/git-sweep.js +24 -22
- package/dist/bin/graph-backfill.js +12 -10
- package/dist/bin/graph-export.js +12 -10
- package/dist/bin/hooks-cli.js +4 -4
- package/dist/bin/import-history.js +16 -14
- package/dist/bin/install.js +113 -110
- package/dist/bin/intercom-check.js +5 -5
- package/dist/bin/mcp-sessions.js +2 -2
- package/dist/bin/orchestration-metrics.js +8 -6
- package/dist/bin/postgres-agentic-reflection-backfill.js +2 -2
- package/dist/bin/postgres-agentic-semantic-backfill.js +1 -1
- package/dist/bin/pre-build-guard.js +55 -16
- package/dist/bin/pre-publish.js +1 -1
- package/dist/bin/prune-orphan-chunks.js +154 -28
- package/dist/bin/reconcile-backlog.js +5 -3
- package/dist/bin/registry-proxy.js +1 -1
- package/dist/bin/repair-document-chunks.js +11 -9
- package/dist/bin/scan-tasks.js +23 -21
- package/dist/bin/setup.js +3 -3
- package/dist/bin/shard-migrate.js +12 -10
- package/dist/bin/stack-update.js +622 -43
- package/dist/bin/verify-stack.js +2 -2
- package/dist/bin/vps-health-gate.js +1 -1
- package/dist/{boot-generation-Q7LGQ3AO.js → boot-generation-VCQXVYGT.js} +7 -5
- package/dist/{boot-review-sections-G5774FR5.js → boot-review-sections-3QO6Q7MP.js} +21 -19
- package/dist/{branch-hygiene-44WLSOZR.js → branch-hygiene-DDXXI6ZA.js} +59 -21
- package/dist/bug-landed-reconciler-TQVNOUCU.js +353 -0
- package/dist/build-manifest.json +1269 -1194
- package/dist/{capability-cards-I3RHCF4F.js → capability-cards-XPDLT6LU.js} +6 -4
- package/dist/{capacity-monitor-7I7GDONU.js → capacity-monitor-N3AW242L.js} +23 -21
- package/dist/{catchup-brief-3T5PARIR.js → catchup-brief-3PKX7FUP.js} +29 -27
- package/dist/{chunk-C5ISP5FO.js → chunk-2BKJAOO4.js} +11 -1
- package/dist/{chunk-JJTPPAZY.js → chunk-2CUQHG6H.js} +1609 -1356
- package/dist/{chunk-HU3VD4MQ.js → chunk-2Q2GGYBX.js} +1 -1
- package/dist/{chunk-CHIUS5QB.js → chunk-36LMIOVU.js} +9 -9
- package/dist/{chunk-46VSBDUW.js → chunk-3DCBDG4T.js} +2 -2
- package/dist/{chunk-W3KPQE7H.js → chunk-3GL3E4TD.js} +3 -3
- package/dist/{chunk-GL47M7NY.js → chunk-3UD3OF3X.js} +202 -117
- package/dist/{chunk-WNBZJSQT.js → chunk-3VW5ZP2F.js} +1 -1
- package/dist/{chunk-JDDM6C57.js → chunk-3X74IQBU.js} +1 -1
- package/dist/{chunk-NVFNADTX.js → chunk-3ZL4MDQ6.js} +18 -4
- package/dist/{chunk-R5E7WNAC.js → chunk-4ESNDGMB.js} +3 -3
- package/dist/{chunk-CYCIX7AW.js → chunk-4FLLIQRQ.js} +2 -2
- package/dist/{chunk-3RGTLZNO.js → chunk-4GAKF7KR.js} +99 -74
- package/dist/{chunk-RVO5O5SR.js → chunk-4S3A52AV.js} +38 -10
- package/dist/{chunk-7J2ZQ4XN.js → chunk-4VQ3QR6B.js} +29 -28
- package/dist/{chunk-MROSARM5.js → chunk-5BJBTFFQ.js} +7 -1
- package/dist/chunk-5LQZABW5.js +6 -0
- package/dist/chunk-5ONMHTNI.js +236 -0
- package/dist/{chunk-APL7HUE3.js → chunk-5QQJUO3F.js} +200 -31
- package/dist/{chunk-UOPCVFVR.js → chunk-5RK75SWH.js} +205 -278
- package/dist/{chunk-T5FEAQES.js → chunk-5TYJYGS5.js} +1 -1
- package/dist/{chunk-P3QQ52QK.js → chunk-5U6EOTZV.js} +3 -3
- package/dist/{chunk-ALRHGEAJ.js → chunk-637FL62O.js} +1 -1
- package/dist/{chunk-PUBA5B4M.js → chunk-6L4VIYLZ.js} +33 -19
- package/dist/{chunk-VF2KRROX.js → chunk-754P2UXM.js} +1 -1
- package/dist/{chunk-CM7N5MBY.js → chunk-7FZG7WP4.js} +5 -5
- package/dist/{chunk-NYLJQ2M2.js → chunk-7NEBFB3L.js} +4 -4
- package/dist/{chunk-E7C2WNR5.js → chunk-AEIOFFFX.js} +5 -5
- package/dist/{chunk-VOVFUKEB.js → chunk-AIB2EWO2.js} +5 -5
- package/dist/{chunk-EGOEB42T.js → chunk-AP2C4OGS.js} +3 -3
- package/dist/{chunk-MPZ2AVNS.js → chunk-ATNV3BVZ.js} +1 -1
- package/dist/{chunk-F4BBMIPG.js → chunk-B4XJQBQB.js} +2 -2
- package/dist/{chunk-BPVFZ6Q4.js → chunk-B5EGDNG6.js} +2 -2
- package/dist/{chunk-AGC2V7JS.js → chunk-B6CBN6EF.js} +1 -1
- package/dist/{chunk-KTKIFXIP.js → chunk-B7FDRN7G.js} +1 -1
- package/dist/{chunk-C5HUMAA7.js → chunk-B7WVYLAQ.js} +67 -15
- package/dist/chunk-BGVP5RMT.js +185 -0
- package/dist/{chunk-FVLNNNH6.js → chunk-BNI4LIU5.js} +35 -4
- package/dist/{chunk-P4XLIPB7.js → chunk-BU5JRLZT.js} +1 -1
- package/dist/{chunk-PHUHIVD5.js → chunk-C6U7XWOC.js} +34 -5
- package/dist/chunk-C7GHNJPW.js +8 -0
- package/dist/{chunk-4AR5XKCH.js → chunk-CL2MU3OX.js} +1 -1
- package/dist/{chunk-ZPP63JSQ.js → chunk-CL3AB7Z2.js} +1 -1
- package/dist/{chunk-FHIFTSPL.js → chunk-CP7XUSOF.js} +8 -3
- package/dist/{chunk-3OX34OC3.js → chunk-CUDNRHHT.js} +30 -10
- package/dist/chunk-CYUUNIEL.js +21 -0
- package/dist/{chunk-P2UY34XE.js → chunk-D4C57S2H.js} +5 -5
- package/dist/{chunk-XSUALA32.js → chunk-DDYFNBYV.js} +3 -3
- package/dist/{chunk-LSNBTGW4.js → chunk-DPYZW42H.js} +1 -1
- package/dist/{chunk-FMIYFHLE.js → chunk-E2PRXEZK.js} +9 -3
- package/dist/{chunk-L63V25HS.js → chunk-E54SPUYJ.js} +3 -3
- package/dist/{chunk-DMUOTCDN.js → chunk-E5CKRHIZ.js} +1 -1
- package/dist/{chunk-BV2IET6B.js → chunk-EVMOKRBC.js} +15 -2
- package/dist/{chunk-YLFCH3VA.js → chunk-FDWI3T6I.js} +133 -31
- package/dist/{chunk-PWC3C5ME.js → chunk-FNJTCJGY.js} +4 -4
- package/dist/{chunk-TNS63ATU.js → chunk-FWRPDSO3.js} +350 -50
- package/dist/{chunk-JA3Y5TV6.js → chunk-GDLB6BPM.js} +141 -74
- package/dist/{chunk-IGJMS7C5.js → chunk-GOVGG7HU.js} +2 -2
- package/dist/{chunk-MB47DRF5.js → chunk-GP7CTIUK.js} +2 -2
- package/dist/{chunk-L5EPGGDP.js → chunk-GWAN2BDB.js} +4 -4
- package/dist/{chunk-YRQ26MNP.js → chunk-H3YF7X4J.js} +12 -5
- package/dist/{chunk-VLBHZ6TF.js → chunk-H6PLIFUE.js} +2 -2
- package/dist/{chunk-GSLFH4AI.js → chunk-HRNM3N4Y.js} +6 -15
- package/dist/chunk-IG2ISRTF.js +48 -0
- package/dist/{chunk-MWEIBVBS.js → chunk-IJCWBYA5.js} +14 -1
- package/dist/{chunk-NKEFYE4R.js → chunk-IPTUKX3N.js} +1 -1
- package/dist/{chunk-RB3J2WYQ.js → chunk-IVE7H6KA.js} +1 -1
- package/dist/{chunk-HA63SH5W.js → chunk-IWY2OGQG.js} +1 -1
- package/dist/{chunk-BQEZPRUC.js → chunk-IZWMWJZT.js} +64 -46
- package/dist/{chunk-AHESD3KW.js → chunk-J4UVI652.js} +1 -1
- package/dist/{chunk-PLII76NJ.js → chunk-JBUCA4OX.js} +33 -6
- package/dist/{chunk-2PZTMSMG.js → chunk-JOF4HQDF.js} +5 -5
- package/dist/{chunk-OBBO6EJR.js → chunk-JQN3QGSF.js} +1 -1
- package/dist/{chunk-P4PIZOL2.js → chunk-JWYIH5DR.js} +3 -3
- package/dist/{chunk-3XY57PKT.js → chunk-KZLKE7I3.js} +210 -48
- package/dist/{chunk-DYVLEMKS.js → chunk-L3GXMYBK.js} +1 -1
- package/dist/{chunk-72V3S44T.js → chunk-LUA4SLJY.js} +46 -19
- package/dist/{chunk-ZT4LFTUJ.js → chunk-LW3JCBXP.js} +20 -3
- package/dist/{chunk-YLB365YX.js → chunk-M5XHN4OM.js} +3 -3
- package/dist/{chunk-VHHX4UCP.js → chunk-MDTWARSF.js} +22 -93
- package/dist/{chunk-JFJP6ATJ.js → chunk-MWKXQSF6.js} +3 -2
- package/dist/{chunk-VJEJ7JNB.js → chunk-N32DVIKY.js} +1 -1
- package/dist/{chunk-MUCNYSJP.js → chunk-NRLJOV7M.js} +32 -4
- package/dist/{chunk-PL4CFSQ7.js → chunk-NSXJOSH7.js} +1 -1
- package/dist/{chunk-NF5FOSLD.js → chunk-NVTG66CK.js} +1 -1
- package/dist/chunk-O45GBJEH.js +1500 -0
- package/dist/{chunk-4AAMFWJT.js → chunk-OHZSTZXN.js} +4 -2
- package/dist/chunk-OSIS7ZQW.js +344 -0
- package/dist/{chunk-E3ZM32LF.js → chunk-P22VFGFK.js} +14 -5
- package/dist/{chunk-KILR4FBR.js → chunk-PAFLR7WD.js} +3 -3
- package/dist/{chunk-R3CZWFFC.js → chunk-PEYQ6MWO.js} +15 -3
- package/dist/{chunk-RDWIKDMY.js → chunk-PZR54BEI.js} +8 -20
- package/dist/{chunk-2FKU4ZEO.js → chunk-QDBKMEYY.js} +9 -9
- package/dist/{chunk-7UHZBVP3.js → chunk-QDVLVLXP.js} +97 -31
- package/dist/{chunk-PRDDPQLC.js → chunk-QLXEQRHD.js} +5 -5
- package/dist/{chunk-MUAWCFW6.js → chunk-QNPDXV5V.js} +5 -2
- package/dist/{chunk-LR5O2XWZ.js → chunk-QUZYLDNJ.js} +5 -5
- package/dist/chunk-RBQUXHYK.js +48 -0
- package/dist/{chunk-3SUPEE6H.js → chunk-RDMBSHGG.js} +3 -3
- package/dist/{chunk-I5XIW2BP.js → chunk-RGUM474V.js} +7 -7
- package/dist/{chunk-OAFENIHN.js → chunk-RJ67XAJU.js} +76 -28
- package/dist/{chunk-LFUBEHFW.js → chunk-RT57D7C4.js} +39 -1
- package/dist/{chunk-MKM6D7JM.js → chunk-RWG7DLOG.js} +42 -5
- package/dist/{chunk-P3UX5EH4.js → chunk-RWKAHHIX.js} +3 -3
- package/dist/{chunk-XEBKIWI7.js → chunk-RYNT3HB7.js} +12 -12
- package/dist/{chunk-EUGEFBGV.js → chunk-S2V272KJ.js} +3 -3
- package/dist/{chunk-W6BZ4UGA.js → chunk-SGYEM2PD.js} +1 -1
- package/dist/{chunk-VROK4X2L.js → chunk-SJP57MQM.js} +1 -1
- package/dist/{chunk-5MVKTNZP.js → chunk-SL4JWAMQ.js} +54 -4
- package/dist/{chunk-MOANZQXF.js → chunk-SLMKLEU6.js} +1 -1
- package/dist/{chunk-RZN2LEAK.js → chunk-SQA7XCYI.js} +3 -3
- package/dist/{chunk-4YNA3CM6.js → chunk-SSFS4NCH.js} +262 -56
- package/dist/{chunk-6FIC57PH.js → chunk-T4P2G3PO.js} +1 -1
- package/dist/{chunk-5U2IJBFV.js → chunk-TA3B4N24.js} +1 -1
- package/dist/{chunk-ZOTTYCP5.js → chunk-TEWWBVQP.js} +40 -4
- package/dist/{chunk-SDYWZRPN.js → chunk-TLSFGXXE.js} +1 -1
- package/dist/{chunk-L3VUW5M4.js → chunk-TQS2YHLB.js} +1 -1
- package/dist/{chunk-KXYKSLW4.js → chunk-TU4M757W.js} +399 -116
- package/dist/{chunk-MC4IM2CC.js → chunk-TYD4F4XU.js} +6 -6
- package/dist/{chunk-TKS5GMYA.js → chunk-U44Y7RC7.js} +2 -0
- package/dist/{chunk-B7AMNZTC.js → chunk-UKBPEEEQ.js} +2 -2
- package/dist/{chunk-ZBPZDADW.js → chunk-UWVXQEQQ.js} +467 -78
- package/dist/{chunk-P2VVMGMI.js → chunk-V4WH3FV7.js} +35 -16
- package/dist/{worktree-ownership-guard-O6JQF2CL.js → chunk-V6F4I2XY.js} +13 -14
- package/dist/{chunk-JFTUAV4J.js → chunk-VBKUESIW.js} +1 -1
- package/dist/{chunk-AZSTIAVL.js → chunk-VBPYYJPC.js} +1 -1
- package/dist/{chunk-LKTN22L6.js → chunk-VIP4LKLO.js} +57 -24
- package/dist/{chunk-L5CGXEZC.js → chunk-WAAGVFFN.js} +63 -71
- package/dist/{chunk-D3LXVAIQ.js → chunk-WC7AE3PT.js} +244 -103
- package/dist/{chunk-EOTZSAQL.js → chunk-WUCUDHKR.js} +1 -1
- package/dist/{chunk-VF3BZOZK.js → chunk-X7HZHKY4.js} +50 -3
- package/dist/{chunk-LFBLQE2P.js → chunk-XCAKYVKI.js} +1 -1
- package/dist/{chunk-UXN4BICC.js → chunk-XMX5J52Z.js} +1 -1
- package/dist/{chunk-6YDY6ZTD.js → chunk-XTCXGWTV.js} +9 -4
- package/dist/{chunk-XUZK23V7.js → chunk-XW2FW6LS.js} +2 -2
- package/dist/{chunk-CH7BUBP3.js → chunk-XWVHUDEK.js} +5 -4
- package/dist/{chunk-S26CV7BE.js → chunk-YA5LK6KB.js} +45 -8
- package/dist/{chunk-ELCRJGCH.js → chunk-YMRQIENV.js} +2 -2
- package/dist/{chunk-QNZ4562V.js → chunk-Z3LXWCB7.js} +1 -1
- package/dist/{chunk-EYMFVITZ.js → chunk-Z7I6NQMA.js} +2 -2
- package/dist/{chunk-6BJCDWSM.js → chunk-ZB4FS2EG.js} +1 -1
- package/dist/{chunk-ZAEUEDTN.js → chunk-ZD6FZ3WL.js} +1 -1
- package/dist/{chunk-FEU6QEEL.js → chunk-ZM6EZAVY.js} +1 -0
- package/dist/{chunk-2KY7WZZF.js → chunk-ZPA4R2UI.js} +1 -1
- package/dist/chunk-ZPPPHVSU.js +285 -0
- package/dist/{chunk-ELEGH4DX.js → chunk-ZUGQPYUY.js} +51 -4
- package/dist/{chunk-UX2EO653.js → chunk-ZZWFZ46U.js} +66 -8
- package/dist/{cleanup-graph-garbage-VQAJ2RBT.js → cleanup-graph-garbage-HFUD5ZQT.js} +12 -10
- package/dist/{cloud-sync-command-J7NEFUY7.js → cloud-sync-command-3JHJJKPN.js} +25 -3
- package/dist/{cloud-sync-db-init-KWEMNMGA.js → cloud-sync-db-init-2LHIQOSF.js} +1 -1
- package/dist/{cloud-sync-shutdown-P63AUTUI.js → cloud-sync-shutdown-ZXAXA3Z7.js} +6 -4
- package/dist/{cloud-sync-state-QF3TMMJ4.js → cloud-sync-state-VSQFGPP6.js} +1 -1
- package/dist/{co-activation-7IHRPBZN.js → co-activation-NX4EH4AP.js} +6 -4
- package/dist/{co-occurrence-R5AG4OAU.js → co-occurrence-5LBYCW3U.js} +10 -8
- package/dist/{consent-passphrase-5ZBDJ5G7.js → consent-passphrase-65W3DJIJ.js} +2 -2
- package/dist/{content-extractor-ZLXC6GNR.js → content-extractor-OGXETBOX.js} +2 -2
- package/dist/{conversation-entity-extractor-7FRKLLBD.js → conversation-entity-extractor-FQCOAH4F.js} +5 -4
- package/dist/conversations-retention-XTBFJBUM.js +166 -0
- package/dist/{crdt-sync-IFRZOEIS.js → crdt-sync-7TDUBTLH.js} +4 -4
- package/dist/{crm-webhook-L2S63ASV.js → crm-webhook-776JTY55.js} +2 -2
- package/dist/{cto-delegation-gate-3WU7OHX7.js → cto-delegation-gate-ZNUWVYCN.js} +25 -23
- package/dist/{daemon-orchestration-3VQYKLOR.js → daemon-orchestration-76BOFDEP.js} +30 -24
- package/dist/{doc-graph-extractor-YIR5E7OF.js → doc-graph-extractor-F724KZJX.js} +10 -8
- package/dist/{documents-QEHPTYIY.js → documents-Q24V4GRD.js} +13 -11
- package/dist/{dreaming-LNFE7DTN.js → dreaming-IY6NQTSP.js} +27 -25
- package/dist/{employee-boot-brief-ZTXDYNWM.js → employee-boot-brief-CCTXO5DQ.js} +35 -29
- package/dist/{entity-boost-R5N6JWXD.js → entity-boost-XGOB7HDM.js} +1 -1
- package/dist/{exe-drift-WYSJVZFO.js → exe-drift-NEPXLNGP.js} +7 -5
- package/dist/{exe-export-GOLNAEAV.js → exe-export-ZHJQFKR2.js} +14 -12
- package/dist/{exe-import-U4BSI6OH.js → exe-import-7SVNI4FW.js} +14 -12
- package/dist/{exe-key-V42G3NGO.js → exe-key-QJKU56WZ.js} +119 -108
- package/dist/{exe-org-U4GLQ6OP.js → exe-org-SJXHLV6K.js} +76 -51
- package/dist/{exe-snapshot-U7ONBYNY.js → exe-snapshot-EFWPXTXE.js} +45 -36
- package/dist/{fast-db-init-W3NGKAEU.js → fast-db-init-BQZOQNT3.js} +1 -1
- package/dist/{founder-context-ZSIBRVDM.js → founder-context-KG2ZAOXY.js} +2 -2
- package/dist/{founder-monitor-envelope-L3IWZLFY.js → founder-monitor-envelope-NYB5LLU4.js} +4 -4
- package/dist/gateway/index.js +20 -18
- package/dist/{gateway-client-DJFCVIPT.js → gateway-client-ODMUXUL3.js} +1 -1
- package/dist/{git-staleness-OF24QXFZ.js → git-staleness-OPGEAJA7.js} +6 -4
- package/dist/{global-procedures-WSIOWO43.js → global-procedures-3KXY4LL6.js} +8 -6
- package/dist/{graph-auto-extract-IEVVN3L3.js → graph-auto-extract-I7H2F5NJ.js} +10 -8
- package/dist/{graph-query-JDZWAVCU.js → graph-query-E7JBSNY5.js} +1 -1
- package/dist/{graph-rag-BKAD2XQA.js → graph-rag-H24CMFP2.js} +5 -4
- package/dist/{hook-integrity-TPWDGX2M.js → hook-integrity-PGQ3OX4S.js} +1 -1
- package/dist/{hook-prefetch-FD6VGJJA.js → hook-prefetch-7AZJER6Z.js} +23 -21
- package/dist/hook-registration-liveness-NGQRFKAA.js +11 -0
- package/dist/hooks/bug-report-worker.js +26 -24
- package/dist/hooks/codex-stop-task-finalizer.js +28 -26
- package/dist/hooks/commit-complete.js +26 -24
- package/dist/hooks/error-recall.js +16 -14
- package/dist/hooks/exe-heartbeat-hook.js +9 -7
- package/dist/hooks/ingest-worker.js +12 -10
- package/dist/hooks/ingest.js +22 -17
- package/dist/hooks/instructions-loaded.js +11 -9
- package/dist/hooks/manifest.json +20 -20
- package/dist/hooks/notification.js +10 -8
- package/dist/hooks/post-compact.js +9 -7
- package/dist/hooks/post-tool-combined.js +14 -14
- package/dist/hooks/pre-compact.js +26 -24
- package/dist/hooks/pre-tool-use.js +2 -2
- package/dist/hooks/prompt-submit.js +47 -41
- package/dist/hooks/session-end.js +38 -42
- package/dist/hooks/session-start.js +26 -18
- package/dist/hooks/stop.js +29 -27
- package/dist/hooks/subagent-stop.js +29 -27
- package/dist/hooks/summary-worker.js +32 -30
- package/dist/index.js +37 -35
- package/dist/{installer-OTI5SA43.js → installer-2ZS3LHCU.js} +12 -9
- package/dist/{installer-NMOBSEZ2.js → installer-NH3A3HWC.js} +14 -9
- package/dist/{installer-SRJGE4GU.js → installer-UJ73PGRD.js} +21 -9
- package/dist/{intercom-queue-4FFXCBHO.js → intercom-queue-OE25GJF2.js} +21 -19
- package/dist/lib/agent-config.js +2 -2
- package/dist/lib/cloud-sync.js +24 -18
- package/dist/lib/consolidation.js +13 -11
- package/dist/lib/crypto.js +3 -3
- package/dist/lib/database.js +6 -4
- package/dist/lib/db-backup.js +1 -1
- package/dist/lib/db-write-worker-client.js +3 -1
- package/dist/lib/db-write-worker.js +65 -89
- package/dist/lib/db.js +6 -4
- package/dist/lib/delivery-truth.js +5 -1
- package/dist/lib/device-registry.js +1 -1
- package/dist/lib/embedder.js +2 -2
- package/dist/lib/employee-templates.js +9 -7
- package/dist/lib/employees.js +6 -4
- package/dist/lib/exe-daemon.js +425 -314
- package/dist/lib/file-grep.js +15 -21
- package/dist/lib/hybrid-search.js +19 -13
- package/dist/lib/identity-templates.js +1 -1
- package/dist/lib/identity.js +6 -4
- package/dist/lib/keychain.js +1 -1
- package/dist/lib/license.js +22 -6
- package/dist/lib/messaging.js +22 -20
- package/dist/lib/post-tool-memory.js +10 -8
- package/dist/lib/registry-proxy.js +1 -1
- package/dist/lib/reminders.js +7 -5
- package/dist/lib/runtime-table.js +1 -1
- package/dist/lib/schedules.js +12 -10
- package/dist/lib/session-registry.js +8 -6
- package/dist/lib/skill-learning.js +13 -11
- package/dist/lib/status-brief.js +2 -2
- package/dist/lib/store.js +17 -9
- package/dist/lib/task-router.js +7 -5
- package/dist/lib/tasks.js +23 -21
- package/dist/lib/tmux-routing.js +21 -19
- package/dist/lib/tmux-status.js +4 -1
- package/dist/lib/token-spend.js +7 -5
- package/dist/lib/ws-client.js +1 -1
- package/dist/{license-gate-R4JWTWM4.js → license-gate-XQ2KN5I5.js} +3 -3
- package/dist/{license-recheck-3MBJ4IJX.js → license-recheck-IIBKR2V5.js} +1 -1
- package/dist/{license-sync-BVSG3WMW.js → license-sync-76JVI2M5.js} +151 -8
- package/dist/{local-secret-inventory-JWNBHZZ4.js → local-secret-inventory-MJT7NJLY.js} +2 -2
- package/dist/{mailbox-inbox-MTAT4MXX.js → mailbox-inbox-BPZP4GIZ.js} +1 -1
- package/dist/maintenance-worker-54VZTFIK.js +371 -0
- package/dist/mcp/register-tools.js +110 -107
- package/dist/mcp/server.js +113 -110
- package/dist/mcp/tools/complete-reminder.js +8 -6
- package/dist/mcp/tools/create-reminder.js +8 -6
- package/dist/mcp/tools/create-task.js +26 -24
- package/dist/mcp/tools/deactivate-behavior.js +15 -13
- package/dist/mcp/tools/list-reminders.js +8 -6
- package/dist/mcp/tools/list-tasks.js +26 -24
- package/dist/mcp/tools/send-message.js +25 -23
- package/dist/mcp/tools/update-task.js +24 -22
- package/dist/{mcp-child-registry-TIZERM7O.js → mcp-child-registry-5VUG5ATZ.js} +1 -1
- package/dist/{mcp-http-config-VUMSFWFH.js → mcp-http-config-SKXESWHA.js} +9 -7
- package/dist/{mcp-session-identity-DZHWEJRV.js → mcp-session-identity-HYMLJXXA.js} +21 -19
- package/dist/{memory-cards-JVXTMSAT.js → memory-cards-PAZDUQ3B.js} +16 -32
- package/dist/{memory-graph-extractor-PPBJMYFJ.js → memory-graph-extractor-BC6QKBY6.js} +11 -9
- package/dist/{memory-poisoning-defense-K5Q74XQ4.js → memory-poisoning-defense-BRGIHF6J.js} +9 -7
- package/dist/{memory-pressure-watchdog-YMJH5CSA.js → memory-pressure-watchdog-HR6TPOMT.js} +22 -20
- package/dist/{memory-reflection-7BZWIHRE.js → memory-reflection-LO7VFBL3.js} +38 -59
- package/dist/memory-write-repository-J25USX63.js +16 -0
- package/dist/{monitor-grants-Q7X3MYQP.js → monitor-grants-YQTO6NWR.js} +3 -3
- package/dist/{monitor-identity-ZQB4IXEE.js → monitor-identity-POVTG76Y.js} +2 -2
- package/dist/{notification-ledger-XRAXL5OI.js → notification-ledger-KLD6GZTG.js} +22 -20
- package/dist/{notifications-JE3PX55X.js → notifications-3R6HNHDR.js} +21 -19
- package/dist/{orchestration-events-JCQ5F5IJ.js → orchestration-events-CHY3GOJD.js} +7 -5
- package/dist/{orchestrator-X65INDTR.js → orchestrator-GAL3HOAD.js} +23 -21
- package/dist/{org-brief-session-3PQ22UIX.js → org-brief-session-LQ2DBYVF.js} +17 -15
- package/dist/{org-consent-policy-VGELJ7K7.js → org-consent-policy-KFUP7QPG.js} +5 -5
- package/dist/{org-join-6TO5ZYUZ.js → org-join-MXZCIQWX.js} +8 -8
- package/dist/{org-key-admin-XHYVRRAZ.js → org-key-admin-4UK6QUT7.js} +9 -9
- package/dist/{org-key-pin-TTTYGTQL.js → org-key-pin-ZOX4OM3O.js} +3 -3
- package/dist/{org-membership-Y7T2BS57.js → org-membership-D5TPN45F.js} +4 -4
- package/dist/{org-partner-config-OP4NEUNF.js → org-partner-config-3FXSYPQA.js} +7 -7
- package/dist/{org-partner-runtime-YNVUNT2R.js → org-partner-runtime-TH3LMPII.js} +20 -16
- package/dist/{org-row-visibility-JBBXNYXD.js → org-row-visibility-Y5R33C5U.js} +1 -1
- package/dist/{pipeline-router-EIBB7QNG.js → pipeline-router-E2JZLDK6.js} +7 -5
- package/dist/{plan-limits-MEWXYLEN.js → plan-limits-NYI6R4IK.js} +9 -7
- package/dist/{platform-procedures-Z7ZGBJWN.js → platform-procedures-RTD5E3BD.js} +5 -3
- package/dist/{pre-tool-use-impl-C6KJY22W.js → pre-tool-use-impl-LT4FRXBP.js} +127 -83
- package/dist/{project-boot-VEYFCCSL.js → project-boot-LIMXQKAF.js} +25 -17
- package/dist/{project-name-UYORSNGE.js → project-name-V62GWALX.js} +7 -5
- package/dist/{projection-worker-WYFDWS57.js → projection-worker-KLE3IZQ2.js} +5 -2
- package/dist/{prospective-memory-E6XBQFJA.js → prospective-memory-HRN7JFT2.js} +6 -4
- package/dist/{push-notifications-M7YU63FY.js → push-notifications-XC6EQEXF.js} +22 -20
- package/dist/{reproject-worktree-memories-B5XMGJSD.js → reproject-worktree-memories-4CAVZSFE.js} +21 -19
- package/dist/{reranker-SRA4BR7N.js → reranker-2RU6IIX2.js} +1 -1
- package/dist/{retrieval-health-P2JPZUPV.js → retrieval-health-4Q5TOV2S.js} +1 -1
- package/dist/{review-polling-KQPN7IQE.js → review-polling-WOWIMBCL.js} +22 -20
- package/dist/runtime/index.js +30 -28
- package/dist/{session-events-6LDDKKY3.js → session-events-OPMS2C5F.js} +22 -20
- package/dist/{session-kill-telemetry-5DSRGWCL.js → session-kill-telemetry-3GWATSIX.js} +22 -20
- package/dist/{session-scope-XG5R3P3D.js → session-scope-TIRGR4MH.js} +21 -19
- package/dist/{setup-wizard-7QFLZIKT.js → setup-wizard-B2JBVGNH.js} +3 -3
- package/dist/{shard-manager-HHHHV2KZ.js → shard-manager-C7LYX6E4.js} +5 -1
- package/dist/{skill-refinement-I5RMAHSC.js → skill-refinement-FWQFYNBI.js} +7 -5
- package/dist/skill-retrieval-PPLFC5RY.js +166 -0
- package/dist/skill-usage-NDB67PU2.js +25 -0
- package/dist/{stack-generate-manifest-AKMZ3AUX.js → stack-generate-manifest-AXI55MEQ.js} +6 -6
- package/dist/{stack-promote-34CE2HHF.js → stack-promote-6N23OGZY.js} +6 -6
- package/dist/stack-release-2CXFYVWM.js +2770 -0
- package/dist/{stack-update-ZQQ5YYPJ.js → stack-update-U53FBVCQ.js} +13 -5
- package/dist/{steward-gate-AQJ6KT2C.js → steward-gate-TUA3QCN7.js} +7 -5
- package/dist/{subagent-brief-injection-3GU7YAWY.js → subagent-brief-injection-N52RWYFZ.js} +34 -32
- package/dist/{subagent-spawn-ledger-52I66CLW.js → subagent-spawn-ledger-OI23OT4I.js} +1 -1
- package/dist/support-bug-actions-XWCJI6S5.js +30 -0
- package/dist/support-inbox-MMVTCXRX.js +77 -0
- package/dist/{support-outbox-KNI3FR3G.js → support-outbox-2TG2UV6J.js} +2 -2
- package/dist/{task-enforcement-CAA6D2MH.js → task-enforcement-JDMBAAOY.js} +22 -20
- package/dist/{task-request-inbox-QBZVU66E.js → task-request-inbox-PKJCYKJV.js} +9 -5
- package/dist/{task-scope-NHXB4ZRN.js → task-scope-32HQEV6W.js} +27 -19
- package/dist/{tasks-crud-JHSWL5NM.js → tasks-crud-CYKUKS3F.js} +21 -19
- package/dist/{tasks-notify-7PBE4U7T.js → tasks-notify-YND5MKWJ.js} +22 -20
- package/dist/{tasks-review-PPPVEE62.js → tasks-review-CG2A5GM3.js} +23 -19
- package/dist/{telemetry-upload-YU2VRNHX.js → telemetry-upload-WLUMEFAB.js} +11 -9
- package/dist/{token-budget-QCMWKG3K.js → token-budget-3YHAY5LL.js} +7 -5
- package/dist/{tool-capability-index-7AWQAJRP.js → tool-capability-index-2ADOWH43.js} +2 -2
- package/dist/{tool-gates-5Q3RSQEG.js → tool-gates-7ENOOYMR.js} +5 -3
- package/dist/{tool-gates-QD26D2NE.js → tool-gates-EKJTLVGN.js} +1 -1
- package/dist/{tool-telemetry-LTOIC64I.js → tool-telemetry-VUP7S6HC.js} +1 -1
- package/dist/tui/App.js +59 -35
- package/dist/{tui-data-NDBXD6U7.js → tui-data-BOQTOW2G.js} +25 -23
- package/dist/{update-support-BMJM4NG7.js → update-support-WT3S3AQ4.js} +21 -21
- package/dist/{whatsapp-QQLDAHUX.js → whatsapp-OZGIF2EM.js} +2 -2
- package/dist/{wiki-acl-W6WDCVCP.js → wiki-acl-LTEQJVDA.js} +1 -1
- package/dist/{work-claims-6DM32MGO.js → work-claims-CMV2GWIW.js} +8 -6
- package/dist/{work-state-heartbeat-HG7D4AWJ.js → work-state-heartbeat-S45TXK4M.js} +1 -1
- package/dist/{worker-gate-FTMW7GBB.js → worker-gate-7Z6NMM3G.js} +1 -1
- package/dist/{workflow-engine-ZWC6CCXE.js → workflow-engine-ZSQDXZQ7.js} +2 -2
- package/dist/{worktree-EMQCPGFE.js → worktree-NMWDVT6N.js} +8 -6
- package/dist/worktree-ownership-guard-ZVIWJAOP.js +35 -0
- package/dist/{worktree-sweep-XVUJZBXV.js → worktree-sweep-Q62ZIT3U.js} +9 -7
- package/package.json +14 -8
- package/release-notes.json +7 -41
- package/src/commands/exe/afk.md +6 -0
- package/src/commands/exe/call.md +6 -0
- package/src/commands/exe/employee-heartbeat.md +6 -0
- package/src/commands/exe/intercom.md +6 -0
- package/src/commands/exe/kill.md +6 -0
- package/src/commands/exe/launch.md +6 -0
- package/src/commands/exe/logs.md +1 -1
- package/src/commands/exe/sessions.md +6 -0
- package/src/commands/exe/setup.md +7 -3
- package/src/commands/exe/status.md +6 -0
- package/src/commands/exe-reference.md +25 -36
- package/src/commands/exe.md +19 -28
- package/stack.release.json +11 -11
- package/dist/chunk-3B6FLNLV.js +0 -30
- package/dist/chunk-FXU7JOXK.js +0 -6
- package/dist/chunk-QFAFKEB5.js +0 -820
- package/dist/conversations-retention-C4BLKFEL.js +0 -54
- package/dist/stack-release-5PGWV5D4.js +0 -1607
- package/dist/support-inbox-NY5TB3FN.js +0 -51
- /package/dist/{chunk-U2D6PJ5T.js → chunk-65G7ZTGE.js} +0 -0
- /package/dist/{chunk-DN3ZR3UE.js → chunk-CP7Z35MJ.js} +0 -0
- /package/dist/{chunk-XDVOGDBC.js → chunk-KBBWALJV.js} +0 -0
- /package/dist/{chunk-JRIH6I7D.js → chunk-LZXYPTY4.js} +0 -0
- /package/dist/{chunk-GIRD7O5X.js → chunk-MCWEW2SG.js} +0 -0
- /package/dist/{chunk-TKAU7IJ2.js → chunk-MQHUJLCA.js} +0 -0
- /package/dist/{chunk-M4XY4JRK.js → chunk-O53LTOXK.js} +0 -0
- /package/dist/{chunk-DZN7SDY2.js → chunk-OSVTH3SG.js} +0 -0
- /package/dist/{chunk-AJK2PVQW.js → chunk-QXXEXGX3.js} +0 -0
- /package/dist/{chunk-AWWDKF22.js → chunk-SFWNTO2F.js} +0 -0
- /package/dist/{chunk-2Q2CD6CD.js → chunk-WC5HF2FN.js} +0 -0
- /package/dist/{core-memory-O6D5UC3T.js → core-memory-MMMW3TF3.js} +0 -0
- /package/dist/{memory-isolation-EBFFC6HF.js → memory-isolation-67ACKQ2M.js} +0 -0
- /package/dist/{oauth-server-ZKBUHDFI.js → oauth-server-OILIKR7D.js} +0 -0
|
@@ -0,0 +1,185 @@
|
|
|
1
|
+
import {
|
|
2
|
+
resolveSupportAdminToken,
|
|
3
|
+
supportAdminHeaders
|
|
4
|
+
} from "./chunk-2XZ6X3PJ.js";
|
|
5
|
+
import {
|
|
6
|
+
describeUpstreamFailure,
|
|
7
|
+
sanitizeUpstreamId,
|
|
8
|
+
sanitizedUpstreamBody
|
|
9
|
+
} from "./chunk-ZUGQPYUY.js";
|
|
10
|
+
import {
|
|
11
|
+
loadLicense,
|
|
12
|
+
readCachedLicenseToken
|
|
13
|
+
} from "./chunk-FWRPDSO3.js";
|
|
14
|
+
import {
|
|
15
|
+
loadConfig
|
|
16
|
+
} from "./chunk-MMS2HBRT.js";
|
|
17
|
+
|
|
18
|
+
// src/lib/support-bug-actions.ts
|
|
19
|
+
var DEFAULT_ADMIN_ENDPOINT = "https://api.askexe.com/admin/support/bug-reports";
|
|
20
|
+
var DEFAULT_OWNER_ENDPOINT = "https://api.askexe.com/v1/support/bug-reports";
|
|
21
|
+
var REQUEST_TIMEOUT_MS = 1e4;
|
|
22
|
+
var AUTO_PAGE_SIZE = 500;
|
|
23
|
+
var AUTO_FETCH_MAX_PAGES = 40;
|
|
24
|
+
var SupportBugActionError = class extends Error {
|
|
25
|
+
constructor(message, status) {
|
|
26
|
+
super(message);
|
|
27
|
+
this.status = status;
|
|
28
|
+
this.name = "SupportBugActionError";
|
|
29
|
+
}
|
|
30
|
+
status;
|
|
31
|
+
};
|
|
32
|
+
async function adminEndpoint() {
|
|
33
|
+
const config = await loadConfig();
|
|
34
|
+
const support = config.support;
|
|
35
|
+
const base = process.env.ASKEXE_SUPPORT_ADMIN_ENDPOINT || support?.adminEndpoint || support?.admin_endpoint || DEFAULT_ADMIN_ENDPOINT;
|
|
36
|
+
return base.replace(/\/+$/, "");
|
|
37
|
+
}
|
|
38
|
+
async function hasSupportAdminAccess() {
|
|
39
|
+
const config = await loadConfig();
|
|
40
|
+
return !!resolveSupportAdminToken(config);
|
|
41
|
+
}
|
|
42
|
+
async function adminToken() {
|
|
43
|
+
const config = await loadConfig();
|
|
44
|
+
const token = resolveSupportAdminToken(config);
|
|
45
|
+
if (!token) throw new SupportBugActionError("AskExe support admin token not configured");
|
|
46
|
+
return token;
|
|
47
|
+
}
|
|
48
|
+
async function adminRequestJson(path, init, opts) {
|
|
49
|
+
const token = await adminToken();
|
|
50
|
+
const url = opts?.absolute ? path : `${await adminEndpoint()}${path}`;
|
|
51
|
+
let res;
|
|
52
|
+
try {
|
|
53
|
+
res = await fetch(url, {
|
|
54
|
+
...init,
|
|
55
|
+
headers: {
|
|
56
|
+
"content-type": "application/json",
|
|
57
|
+
authorization: `Bearer ${token}`,
|
|
58
|
+
...init?.headers ?? {}
|
|
59
|
+
},
|
|
60
|
+
signal: AbortSignal.timeout(REQUEST_TIMEOUT_MS)
|
|
61
|
+
});
|
|
62
|
+
} catch (err) {
|
|
63
|
+
throw new SupportBugActionError(err instanceof Error ? err.message : String(err));
|
|
64
|
+
}
|
|
65
|
+
if (!res.ok) throw new SupportBugActionError(await describeUpstreamFailure(res), res.status);
|
|
66
|
+
const text = await res.text();
|
|
67
|
+
try {
|
|
68
|
+
return text ? JSON.parse(text) : {};
|
|
69
|
+
} catch {
|
|
70
|
+
return {};
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
async function listBugReportsByStatus(status) {
|
|
74
|
+
const items = [];
|
|
75
|
+
let offset = 0;
|
|
76
|
+
let pages = 0;
|
|
77
|
+
for (; ; ) {
|
|
78
|
+
const data = await adminRequestJson(`?status=${encodeURIComponent(status)}&limit=${AUTO_PAGE_SIZE}&offset=${offset}`);
|
|
79
|
+
const pageItems = Array.isArray(data.items) ? data.items : [];
|
|
80
|
+
items.push(...pageItems);
|
|
81
|
+
pages += 1;
|
|
82
|
+
if (!data.has_more || pages >= AUTO_FETCH_MAX_PAGES) break;
|
|
83
|
+
offset += pageItems.length || AUTO_PAGE_SIZE;
|
|
84
|
+
}
|
|
85
|
+
return items;
|
|
86
|
+
}
|
|
87
|
+
async function triageBugToTriaged(input) {
|
|
88
|
+
const safeId = encodeURIComponent(sanitizeUpstreamId(input.id));
|
|
89
|
+
await adminRequestJson(`/${safeId}`, {
|
|
90
|
+
method: "PATCH",
|
|
91
|
+
body: sanitizedUpstreamBody(
|
|
92
|
+
{
|
|
93
|
+
id: sanitizeUpstreamId(input.id),
|
|
94
|
+
status: "triaged",
|
|
95
|
+
add_note: input.note,
|
|
96
|
+
...input.classification ? { classification: input.classification } : {}
|
|
97
|
+
},
|
|
98
|
+
"bug-landed-reconciler:triage"
|
|
99
|
+
)
|
|
100
|
+
});
|
|
101
|
+
}
|
|
102
|
+
async function addBugComment(id, comment) {
|
|
103
|
+
const safeId = encodeURIComponent(sanitizeUpstreamId(id));
|
|
104
|
+
await adminRequestJson(`/${safeId}/comments`, {
|
|
105
|
+
method: "POST",
|
|
106
|
+
body: sanitizedUpstreamBody({ comment }, "bug-landed-reconciler:comment")
|
|
107
|
+
});
|
|
108
|
+
}
|
|
109
|
+
async function backfillClusters() {
|
|
110
|
+
const base = await adminEndpoint();
|
|
111
|
+
const url = base.replace(/\/?$/, "/backfill-clusters");
|
|
112
|
+
const data = await adminRequestJson(url, { method: "POST" }, { absolute: true });
|
|
113
|
+
return { scanned: Number(data.scanned ?? 0), updated: Number(data.updated ?? 0), skipped: Number(data.skipped ?? 0) };
|
|
114
|
+
}
|
|
115
|
+
function parseProgressLog(row) {
|
|
116
|
+
if (!row || typeof row !== "object") return [];
|
|
117
|
+
const raw = row.progress_log;
|
|
118
|
+
if (typeof raw !== "string" || !raw.trim()) return [];
|
|
119
|
+
try {
|
|
120
|
+
const parsed = JSON.parse(raw);
|
|
121
|
+
return Array.isArray(parsed) ? parsed : [];
|
|
122
|
+
} catch {
|
|
123
|
+
return [];
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
async function getBugReportFull(id) {
|
|
127
|
+
const safeId = encodeURIComponent(sanitizeUpstreamId(id));
|
|
128
|
+
const data = await adminRequestJson(`/${safeId}`);
|
|
129
|
+
const row = data && typeof data === "object" ? data : {};
|
|
130
|
+
return { ...row, comments: parseProgressLog(row) };
|
|
131
|
+
}
|
|
132
|
+
async function createAggregateBug(input) {
|
|
133
|
+
const config = await loadConfig();
|
|
134
|
+
const routerUrl = process.env.API_ROUTER_URL?.replace(/\/+$/, "");
|
|
135
|
+
const endpoint = config.support?.bugReportEndpoint || process.env.EXE_BUG_REPORT_ENDPOINT || (routerUrl ? `${routerUrl}/v1/support/bug-reports` : DEFAULT_OWNER_ENDPOINT);
|
|
136
|
+
const licenseKey = loadLicense() || process.env.EXE_LICENSE_KEY || config.cloud?.apiKey;
|
|
137
|
+
const licenseToken = readCachedLicenseToken();
|
|
138
|
+
const parsed = new URL(endpoint);
|
|
139
|
+
if (parsed.protocol !== "https:" && !["localhost", "127.0.0.1", "::1"].includes(parsed.hostname)) {
|
|
140
|
+
throw new SupportBugActionError("insecure endpoint rejected");
|
|
141
|
+
}
|
|
142
|
+
const body = sanitizedUpstreamBody(
|
|
143
|
+
{
|
|
144
|
+
title: input.title,
|
|
145
|
+
summary: input.summary,
|
|
146
|
+
classification: input.classification ?? "unclear",
|
|
147
|
+
severity: input.severity ?? "p3",
|
|
148
|
+
product: input.product ?? "exe-os",
|
|
149
|
+
agent_id: "bug-landed-reconciler"
|
|
150
|
+
},
|
|
151
|
+
"bug-landed-reconciler:create"
|
|
152
|
+
);
|
|
153
|
+
const res = await fetch(parsed, {
|
|
154
|
+
method: "POST",
|
|
155
|
+
headers: {
|
|
156
|
+
"content-type": "application/json",
|
|
157
|
+
...licenseKey ? { "x-exe-license-key": licenseKey, authorization: `Bearer ${licenseKey}` } : {},
|
|
158
|
+
...licenseToken ? { "x-exe-license-token": licenseToken } : {},
|
|
159
|
+
...supportAdminHeaders(config)
|
|
160
|
+
},
|
|
161
|
+
body,
|
|
162
|
+
signal: AbortSignal.timeout(REQUEST_TIMEOUT_MS)
|
|
163
|
+
});
|
|
164
|
+
if (!res.ok) throw new SupportBugActionError(await describeUpstreamFailure(res), res.status);
|
|
165
|
+
const text = await res.text();
|
|
166
|
+
let data = {};
|
|
167
|
+
try {
|
|
168
|
+
data = text ? JSON.parse(text) : {};
|
|
169
|
+
} catch {
|
|
170
|
+
return void 0;
|
|
171
|
+
}
|
|
172
|
+
const id = data && typeof data === "object" ? data.id : void 0;
|
|
173
|
+
return typeof id === "string" ? id : void 0;
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
export {
|
|
177
|
+
SupportBugActionError,
|
|
178
|
+
hasSupportAdminAccess,
|
|
179
|
+
listBugReportsByStatus,
|
|
180
|
+
triageBugToTriaged,
|
|
181
|
+
addBugComment,
|
|
182
|
+
backfillClusters,
|
|
183
|
+
getBugReportFull,
|
|
184
|
+
createAggregateBug
|
|
185
|
+
};
|
|
@@ -1,13 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
embed
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-IPTUKX3N.js";
|
|
4
4
|
import {
|
|
5
5
|
flushBatch,
|
|
6
6
|
writeMemory
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-5RK75SWH.js";
|
|
8
8
|
import {
|
|
9
|
+
SUPPORT_PRODUCTS,
|
|
10
|
+
isWellFormedCommit,
|
|
11
|
+
isWellFormedSupportId,
|
|
12
|
+
isWellFormedVersion,
|
|
9
13
|
redactSecrets
|
|
10
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-ZUGQPYUY.js";
|
|
11
15
|
|
|
12
16
|
// src/lib/support-persistence.ts
|
|
13
17
|
import { mkdir, writeFile, readFile, chmod, rename } from "fs/promises";
|
|
@@ -86,6 +90,33 @@ async function writeSecure(filePath, content) {
|
|
|
86
90
|
}
|
|
87
91
|
}
|
|
88
92
|
|
|
93
|
+
// src/lib/support-schemas.ts
|
|
94
|
+
import { z } from "zod";
|
|
95
|
+
var supportProductSchema = z.enum(SUPPORT_PRODUCTS);
|
|
96
|
+
var supportIdSchema = z.string().refine(isWellFormedSupportId, {
|
|
97
|
+
message: "id must be a canonical UUID (8-4-4-4-12 hex) or an 8-character hex prefix"
|
|
98
|
+
});
|
|
99
|
+
var supportVersionSchema = z.string().refine(isWellFormedVersion, {
|
|
100
|
+
message: "version must look like 1.2.3 (optionally v-prefixed, optional -prerelease), max 40 chars"
|
|
101
|
+
});
|
|
102
|
+
var supportCommitSchema = z.string().refine(isWellFormedCommit, {
|
|
103
|
+
message: "commit must be a 7\u201340 character hex SHA"
|
|
104
|
+
});
|
|
105
|
+
var supportTaskIdSchema = z.string().refine(isWellFormedSupportId, {
|
|
106
|
+
message: "linked_task_id must be a canonical UUID or an 8-character hex prefix"
|
|
107
|
+
});
|
|
108
|
+
var supportClusterSchema = z.string().regex(/^[a-z0-9]+(?:-[a-z0-9]+)*$/, {
|
|
109
|
+
message: "cluster must be a kebab-case slug (lowercase letters, digits, single hyphens)"
|
|
110
|
+
}).max(64, { message: "cluster must be 64 characters or fewer" });
|
|
111
|
+
var supportClusterClearableSchema = z.union([supportClusterSchema, z.literal("")]);
|
|
112
|
+
|
|
89
113
|
export {
|
|
90
|
-
persistSupportArtifact
|
|
114
|
+
persistSupportArtifact,
|
|
115
|
+
supportProductSchema,
|
|
116
|
+
supportIdSchema,
|
|
117
|
+
supportVersionSchema,
|
|
118
|
+
supportCommitSchema,
|
|
119
|
+
supportTaskIdSchema,
|
|
120
|
+
supportClusterSchema,
|
|
121
|
+
supportClusterClearableSchema
|
|
91
122
|
};
|
|
@@ -6,12 +6,32 @@ var HEARTBEAT_FILE = path.join(os.homedir(), ".exe-os", "agent-heartbeats.json")
|
|
|
6
6
|
var STALE_THRESHOLD_MS = 5 * 60 * 1e3;
|
|
7
7
|
var DEAD_THRESHOLD_MS = 15 * 60 * 1e3;
|
|
8
8
|
function loadHeartbeats() {
|
|
9
|
+
let raw;
|
|
9
10
|
try {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
return {};
|
|
11
|
+
raw = readFileSync(HEARTBEAT_FILE, "utf-8");
|
|
12
|
+
} catch (err) {
|
|
13
|
+
const code = err.code;
|
|
14
|
+
if (code === "ENOENT" || code === "ENOTDIR") return {};
|
|
15
|
+
throw new Error(
|
|
16
|
+
`agent heartbeat file ${HEARTBEAT_FILE} exists but could not be read (${String(code)})`,
|
|
17
|
+
{ cause: err }
|
|
18
|
+
);
|
|
14
19
|
}
|
|
20
|
+
let parsed;
|
|
21
|
+
try {
|
|
22
|
+
parsed = JSON.parse(raw);
|
|
23
|
+
} catch (err) {
|
|
24
|
+
throw new Error(
|
|
25
|
+
`agent heartbeat file ${HEARTBEAT_FILE} is not readable JSON \u2014 refusing to treat it as an empty roster, which would report every live agent as dead and drop their records`,
|
|
26
|
+
{ cause: err }
|
|
27
|
+
);
|
|
28
|
+
}
|
|
29
|
+
if (typeof parsed !== "object" || parsed === null || Array.isArray(parsed)) {
|
|
30
|
+
throw new Error(
|
|
31
|
+
`agent heartbeat file ${HEARTBEAT_FILE} does not hold a heartbeat map`
|
|
32
|
+
);
|
|
33
|
+
}
|
|
34
|
+
return parsed;
|
|
15
35
|
}
|
|
16
36
|
function saveHeartbeats(heartbeats) {
|
|
17
37
|
const dir = path.dirname(HEARTBEAT_FILE);
|
|
@@ -19,7 +39,16 @@ function saveHeartbeats(heartbeats) {
|
|
|
19
39
|
writeFileSync(HEARTBEAT_FILE, JSON.stringify(heartbeats, null, 2), "utf-8");
|
|
20
40
|
}
|
|
21
41
|
function recordHeartbeat(agentId, sessionName, meta) {
|
|
22
|
-
|
|
42
|
+
let heartbeats;
|
|
43
|
+
try {
|
|
44
|
+
heartbeats = loadHeartbeats();
|
|
45
|
+
} catch (err) {
|
|
46
|
+
process.stderr.write(
|
|
47
|
+
`[exe-os] \u26A0 heartbeat for ${sessionName} not recorded: ${err instanceof Error ? err.message : String(err)}. Refusing to rewrite the heartbeat file from an unreadable one.
|
|
48
|
+
`
|
|
49
|
+
);
|
|
50
|
+
return;
|
|
51
|
+
}
|
|
23
52
|
heartbeats[sessionName] = {
|
|
24
53
|
agentId,
|
|
25
54
|
sessionName,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getMasterKey
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-TA3B4N24.js";
|
|
4
4
|
import {
|
|
5
5
|
PRIVATE_DIR_MODE,
|
|
6
6
|
PRIVATE_FILE_MODE,
|
|
@@ -108,8 +108,13 @@ async function useEncryptedMultiFileAuthState(folder, key) {
|
|
|
108
108
|
const raw = await readFile(filePath, "utf-8");
|
|
109
109
|
return JSON.parse(decryptString(raw, key), BufferJSON.reviver);
|
|
110
110
|
});
|
|
111
|
-
} catch {
|
|
112
|
-
|
|
111
|
+
} catch (err) {
|
|
112
|
+
const code = err.code;
|
|
113
|
+
if (code === "ENOENT" || code === "ENOTDIR") return null;
|
|
114
|
+
throw new Error(
|
|
115
|
+
`WhatsApp auth file ${fixFileName(file)} exists but could not be read or decrypted. Refusing to continue: treating this as a fresh install would mint a new WhatsApp identity and overwrite the stored credentials. Most likely the exe-os master key changed (keychain rotation, restore onto another machine) or the file is damaged. Restore the previous key or move the auth directory aside deliberately, then retry.`,
|
|
116
|
+
{ cause: err }
|
|
117
|
+
);
|
|
113
118
|
}
|
|
114
119
|
};
|
|
115
120
|
const removeData = async (file) => {
|
|
@@ -10,15 +10,18 @@ import {
|
|
|
10
10
|
LEGACY_SPLIT_POST_TOOL_HOOK_MARKERS,
|
|
11
11
|
manifestEntryForCommand
|
|
12
12
|
} from "./chunk-KM6XSFHP.js";
|
|
13
|
+
import {
|
|
14
|
+
auditRegisteredHookLiveness
|
|
15
|
+
} from "./chunk-ZPPPHVSU.js";
|
|
13
16
|
import {
|
|
14
17
|
formatDegradations,
|
|
15
18
|
getRetrievalHealth
|
|
16
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-ATNV3BVZ.js";
|
|
17
20
|
import {
|
|
18
21
|
cleanupLocalSecretResidue,
|
|
19
22
|
inventoryLocalSecretResidue,
|
|
20
23
|
redactResiduePathForDisplay
|
|
21
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-VBPYYJPC.js";
|
|
22
25
|
import {
|
|
23
26
|
resolveAnthropicAuth
|
|
24
27
|
} from "./chunk-VGMACSEV.js";
|
|
@@ -28,7 +31,7 @@ import {
|
|
|
28
31
|
import {
|
|
29
32
|
offloadReadIfMain,
|
|
30
33
|
repairFtsTable
|
|
31
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-3UD3OF3X.js";
|
|
32
35
|
|
|
33
36
|
// src/bin/exe-doctor.ts
|
|
34
37
|
import os from "os";
|
|
@@ -677,7 +680,7 @@ function auditHookOwnership() {
|
|
|
677
680
|
}
|
|
678
681
|
async function auditShards() {
|
|
679
682
|
try {
|
|
680
|
-
const { auditShardHealth } = await import("./shard-manager-
|
|
683
|
+
const { auditShardHealth } = await import("./shard-manager-C7LYX6E4.js");
|
|
681
684
|
const report = await auditShardHealth();
|
|
682
685
|
return {
|
|
683
686
|
total: report.total,
|
|
@@ -721,7 +724,7 @@ function auditLocalSecretResidue() {
|
|
|
721
724
|
}
|
|
722
725
|
async function auditOutbox() {
|
|
723
726
|
try {
|
|
724
|
-
const { getOutboxStatus } = await import("./support-outbox-
|
|
727
|
+
const { getOutboxStatus } = await import("./support-outbox-2TG2UV6J.js");
|
|
725
728
|
return await getOutboxStatus();
|
|
726
729
|
} catch {
|
|
727
730
|
return {
|
|
@@ -819,13 +822,14 @@ async function runAudit(client, flags) {
|
|
|
819
822
|
const duplicateCount = duplicates.reduce((sum, d) => sum + d.delete_ids.length, 0);
|
|
820
823
|
const hookHealth = auditHookHealth();
|
|
821
824
|
const hookOwnership = auditHookOwnership();
|
|
825
|
+
const hookLiveness = auditRegisteredHookLiveness();
|
|
822
826
|
let retrievalHealth;
|
|
823
827
|
try {
|
|
824
828
|
retrievalHealth = await getRetrievalHealth();
|
|
825
829
|
} catch {
|
|
826
830
|
retrievalHealth = void 0;
|
|
827
831
|
}
|
|
828
|
-
return { stats, nullVectors, duplicates, duplicateCount, bloated, fts, orphanedProjects, conflicts, hookHealth, hookOwnership, shards, keyHealth, localSecretResidue, outbox, cpuSteal, postinstallFailure, globalBin, retrievalHealth };
|
|
832
|
+
return { stats, nullVectors, duplicates, duplicateCount, bloated, fts, orphanedProjects, conflicts, hookHealth, hookOwnership, hookLiveness, shards, keyHealth, localSecretResidue, outbox, cpuSteal, postinstallFailure, globalBin, retrievalHealth };
|
|
829
833
|
}
|
|
830
834
|
function indicator(value, warn) {
|
|
831
835
|
if (value === 0) return "\u{1F7E2}";
|
|
@@ -964,6 +968,21 @@ function formatReport(report, flags) {
|
|
|
964
968
|
lines.push(` [${issue.runtime}/${issue.event}] ${issue.message}`);
|
|
965
969
|
}
|
|
966
970
|
}
|
|
971
|
+
const hl = report.hookLiveness;
|
|
972
|
+
if (hl.probes.length === 0) {
|
|
973
|
+
lines.push("\u{1F7E0} Hook liveness: no exe-os hooks registered (run the installer)");
|
|
974
|
+
} else if (hl.ok) {
|
|
975
|
+
lines.push(`\u{1F7E2} Hook liveness: ${fmtNum(hl.probes.length)} registered hook script(s) present`);
|
|
976
|
+
} else {
|
|
977
|
+
lines.push(
|
|
978
|
+
`\u{1F534} Hook liveness: ${fmtNum(hl.broken.length)}/${fmtNum(hl.probes.length)} registered hook(s) CANNOT RUN \u2014 capture, task pickup, PreToolUse gates and checkpointing are silently dead`
|
|
979
|
+
);
|
|
980
|
+
for (const probe of hl.broken.slice(0, 6)) {
|
|
981
|
+
lines.push(` [${probe.runtime}/${probe.event}] ${probe.status.toUpperCase()} ${probe.target ?? probe.command}`);
|
|
982
|
+
lines.push(` ${probe.detail}`);
|
|
983
|
+
}
|
|
984
|
+
lines.push(" Fix: re-run the exe-os installer to re-register hooks.");
|
|
985
|
+
}
|
|
967
986
|
const pf = report.postinstallFailure;
|
|
968
987
|
if (pf) {
|
|
969
988
|
const firstFailure = pf.failures[0];
|
|
@@ -1132,7 +1151,7 @@ function formatReport(report, flags) {
|
|
|
1132
1151
|
return lines.join("\n");
|
|
1133
1152
|
}
|
|
1134
1153
|
async function fixNullVectors() {
|
|
1135
|
-
const { tryAcquireWorkerSlot, registerWorkerPid } = await import("./worker-gate-
|
|
1154
|
+
const { tryAcquireWorkerSlot, registerWorkerPid } = await import("./worker-gate-7Z6NMM3G.js");
|
|
1136
1155
|
if (!tryAcquireWorkerSlot()) {
|
|
1137
1156
|
process.stderr.write("[exe-doctor] Worker gate full \u2014 waiting for existing backfill workers to finish\n");
|
|
1138
1157
|
await new Promise((r) => setTimeout(r, 5e3));
|
|
@@ -1246,7 +1265,7 @@ function shouldFixShards(shards) {
|
|
|
1246
1265
|
return shards.unreadable > 0 || shards.schemaMismatches > 0;
|
|
1247
1266
|
}
|
|
1248
1267
|
async function fixShards(dryRun) {
|
|
1249
|
-
const { auditShardHealth } = await import("./shard-manager-
|
|
1268
|
+
const { auditShardHealth } = await import("./shard-manager-C7LYX6E4.js");
|
|
1250
1269
|
const report = await auditShardHealth({ repair: true, dryRun });
|
|
1251
1270
|
return {
|
|
1252
1271
|
total: report.total,
|
|
@@ -1304,6 +1323,7 @@ function emptyAuditReport() {
|
|
|
1304
1323
|
},
|
|
1305
1324
|
hookHealth: { logExists: false, totalLines: 0, errorsLastHour: 0, topPatterns: [] },
|
|
1306
1325
|
hookOwnership: { checkedFiles: [], issues: [], staleLegacyHooks: [] },
|
|
1326
|
+
hookLiveness: { checkedFiles: [], probes: [], broken: [], healthy: 0, ok: true },
|
|
1307
1327
|
shards: { total: 0, ok: 0, unreadable: 0, schemaMismatches: 0, archived: 0, unreadableNames: [], schemaIssueNames: [] },
|
|
1308
1328
|
keyHealth: { masterKeyPresent: true, recoveryBackupMarked: true },
|
|
1309
1329
|
localSecretResidue: { dataDir: "", residues: [] },
|
|
@@ -1320,12 +1340,12 @@ async function main(argv = process.argv.slice(2)) {
|
|
|
1320
1340
|
console.log(formatRestartReport(restartReport));
|
|
1321
1341
|
return emptyAuditReport();
|
|
1322
1342
|
}
|
|
1323
|
-
const { fastDbInit } = await import("./fast-db-init-
|
|
1343
|
+
const { fastDbInit } = await import("./fast-db-init-BQZOQNT3.js");
|
|
1324
1344
|
const client = await fastDbInit();
|
|
1325
1345
|
const report = await runAudit(client, flags);
|
|
1326
1346
|
console.log(formatReport(report, flags));
|
|
1327
1347
|
if (flags.redactLocalSecretResidue) {
|
|
1328
|
-
const { redactLocalSecretResidue } = await import("./local-secret-inventory-
|
|
1348
|
+
const { redactLocalSecretResidue } = await import("./local-secret-inventory-MJT7NJLY.js");
|
|
1329
1349
|
const result = redactLocalSecretResidue({ dryRun: flags.dryRun });
|
|
1330
1350
|
const verb = flags.dryRun ? "Would redact" : "Redacted";
|
|
1331
1351
|
console.log(`
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import {
|
|
2
|
+
decideOrchestrationTickSkip
|
|
3
|
+
} from "./chunk-ZJQ56DZZ.js";
|
|
4
|
+
|
|
5
|
+
// src/lib/daemon-sweep-gate.ts
|
|
6
|
+
import os from "os";
|
|
7
|
+
function readHostLoadSignal(env = process.env) {
|
|
8
|
+
return {
|
|
9
|
+
load1m: os.loadavg()[0] ?? 0,
|
|
10
|
+
cpuCount: os.cpus().length || 1,
|
|
11
|
+
starvationRatio: parseFloat(env.EXE_STARVATION_LOAD_RATIO ?? "1.5")
|
|
12
|
+
};
|
|
13
|
+
}
|
|
14
|
+
function decideSweepSkip(signal) {
|
|
15
|
+
return decideOrchestrationTickSkip(signal);
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
export {
|
|
19
|
+
readHostLoadSignal,
|
|
20
|
+
decideSweepSkip
|
|
21
|
+
};
|
|
@@ -8,20 +8,20 @@ import {
|
|
|
8
8
|
queryTaskRows,
|
|
9
9
|
resolveExeSession,
|
|
10
10
|
sendIntercom
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-QDVLVLXP.js";
|
|
12
12
|
import {
|
|
13
13
|
getTransport
|
|
14
14
|
} from "./chunk-VI4ATC6I.js";
|
|
15
15
|
import {
|
|
16
16
|
recordOrchestrationEventBestEffort
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-DPYZW42H.js";
|
|
18
18
|
import {
|
|
19
19
|
releaseDispatchClaim,
|
|
20
20
|
tryAcquireDispatchClaim
|
|
21
21
|
} from "./chunk-T5SM4RXY.js";
|
|
22
22
|
import {
|
|
23
23
|
getAgentRuntime
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-GWAN2BDB.js";
|
|
25
25
|
import {
|
|
26
26
|
getSessionKey
|
|
27
27
|
} from "./chunk-CVYC6DUW.js";
|
|
@@ -29,7 +29,7 @@ import {
|
|
|
29
29
|
isCoordinatorName,
|
|
30
30
|
isMultiInstance,
|
|
31
31
|
shouldAutoInstance
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-3UD3OF3X.js";
|
|
33
33
|
|
|
34
34
|
// src/lib/tasks-notify.ts
|
|
35
35
|
var VERIFY_DELAY_MS = 1e4;
|
|
@@ -91,7 +91,7 @@ async function dispatchTaskToEmployee(input) {
|
|
|
91
91
|
let crossProject = false;
|
|
92
92
|
if (input.projectName) {
|
|
93
93
|
try {
|
|
94
|
-
const { assertSessionScope } = await import("./session-scope-
|
|
94
|
+
const { assertSessionScope } = await import("./session-scope-TIRGR4MH.js");
|
|
95
95
|
const check = assertSessionScope("dispatch_task", input.projectName);
|
|
96
96
|
if (check.reason === "cross_session_denied") {
|
|
97
97
|
crossProject = true;
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PLATFORM_PROCEDURE_TITLES
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-IZWMWJZT.js";
|
|
4
4
|
import {
|
|
5
5
|
isGhostBehaviorRow
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-YA5LK6KB.js";
|
|
7
7
|
import {
|
|
8
8
|
IdentityConflictError,
|
|
9
9
|
getClient,
|
|
10
10
|
getIdentity,
|
|
11
11
|
listIdentities,
|
|
12
12
|
updateIdentity
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-3UD3OF3X.js";
|
|
14
14
|
import {
|
|
15
15
|
atomicWriteJsonSync
|
|
16
16
|
} from "./chunk-HSGBZSCA.js";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
storeBehavior
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-YA5LK6KB.js";
|
|
4
4
|
import {
|
|
5
5
|
resolveAnthropicAuth
|
|
6
6
|
} from "./chunk-VGMACSEV.js";
|
|
7
7
|
import {
|
|
8
8
|
getClient
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-3UD3OF3X.js";
|
|
10
10
|
import {
|
|
11
11
|
loadConfig
|
|
12
12
|
} from "./chunk-MMS2HBRT.js";
|
|
@@ -186,7 +186,13 @@ async function extractSkill(trajectories, model) {
|
|
|
186
186
|
agentId,
|
|
187
187
|
content: skillText,
|
|
188
188
|
domain: "skill",
|
|
189
|
-
projectName
|
|
189
|
+
projectName,
|
|
190
|
+
// Feature a9df4b76 round 2: automated caller, no agent in the loop to
|
|
191
|
+
// catch a thrown cap error. Currently always p1 (no priority set above),
|
|
192
|
+
// so this is a no-op today — set defensively so a future change to
|
|
193
|
+
// extract p0-priority skills here doesn't silently reintroduce the
|
|
194
|
+
// exe-snapshot-class bug of a thrown cap error killing an automated run.
|
|
195
|
+
onP0CapExceeded: "store-and-flag"
|
|
190
196
|
});
|
|
191
197
|
const dbClient = getClient();
|
|
192
198
|
for (const t of trajectories) {
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
assessVerificationArtifact,
|
|
3
3
|
isSubstantiveCommit,
|
|
4
4
|
measureCommitSubstance
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-SSFS4NCH.js";
|
|
6
6
|
import {
|
|
7
7
|
sessionScopeFilter
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-QDVLVLXP.js";
|
|
9
9
|
import {
|
|
10
10
|
isWithin
|
|
11
11
|
} from "./chunk-YRUZK2QA.js";
|
|
@@ -297,7 +297,7 @@ async function sweepTasks(projectName, options = {}) {
|
|
|
297
297
|
}
|
|
298
298
|
if (!dryRun) {
|
|
299
299
|
try {
|
|
300
|
-
const { updateTaskStatus } = await import("./tasks-crud-
|
|
300
|
+
const { updateTaskStatus } = await import("./tasks-crud-CYKUKS3F.js");
|
|
301
301
|
await updateTaskStatus({
|
|
302
302
|
taskId: task.id,
|
|
303
303
|
status: "needs_review",
|