@askexenow/exe-os 0.9.370 → 0.9.372
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/docker-compose.yml +46 -15
- package/deploy/stack-manifests/v0.9.json +117 -2
- package/dist/.dist-verified.json +3 -3
- package/dist/{active-agent-H5UZGJ5D.js → active-agent-GRT5MKD5.js} +3 -3
- package/dist/{active-agent-L6GFD4NP.js → active-agent-L2ZSSXDK.js} +3 -3
- package/dist/{agent-defs-generator-BARBPY6L.js → agent-defs-generator-M4ZNYIVX.js} +2 -2
- package/dist/{agentic-ontology-OZM624IZ.js → agentic-ontology-DMPRDEUX.js} +1 -1
- package/dist/{backfill-metadata-43B5R5JT.js → backfill-metadata-ZMEHJQ5M.js} +5 -5
- package/dist/{backup-verify-FW5GEF4B.js → backup-verify-EX2K732J.js} +1 -1
- package/dist/{behavior-injection-RT4ET4ZF.js → behavior-injection-22AGMS25.js} +12 -11
- package/dist/{behaviors-ZLEW6AIW.js → behaviors-DVFXAWF5.js} +10 -9
- package/dist/bin/agentic-ontology-backfill.js +6 -6
- package/dist/bin/agentic-reflection-backfill.js +7 -7
- package/dist/bin/agentic-semantic-label.js +6 -6
- package/dist/bin/backfill-conversations.js +8 -7
- package/dist/bin/backfill-responses.js +8 -7
- package/dist/bin/backfill-vectors.js +10 -9
- package/dist/bin/bulk-sync-postgres.js +14 -13
- package/dist/bin/cc-doctor.js +5 -5
- package/dist/bin/cleanup-stale-review-tasks.js +18 -17
- package/dist/bin/cli.js +30 -22
- package/dist/bin/deferred-daemon-restart.js +123 -94
- package/dist/bin/exe-agent-config.js +2 -2
- package/dist/bin/exe-agent.js +8 -8
- package/dist/bin/exe-assign.js +10 -9
- package/dist/bin/exe-boot.js +46 -35
- package/dist/bin/exe-call.js +4 -4
- package/dist/bin/exe-cloud.js +15 -14
- package/dist/bin/exe-config-dump.js +2 -2
- package/dist/bin/exe-dispatch.js +19 -18
- package/dist/bin/exe-doctor.js +5 -5
- package/dist/bin/exe-export-behaviors.js +14 -13
- package/dist/bin/exe-forget.js +7 -7
- package/dist/bin/exe-gateway.js +7 -7
- package/dist/bin/exe-healthcheck.js +5 -5
- package/dist/bin/exe-heartbeat.js +21 -20
- package/dist/bin/exe-kill.js +22 -21
- package/dist/bin/exe-launch-agent.js +29 -28
- package/dist/bin/exe-mcp.js +3 -3
- package/dist/bin/exe-memory-reads.js +5 -5
- package/dist/bin/exe-new-employee.js +8 -8
- package/dist/bin/exe-os-mcp-proxy.js +3 -3
- package/dist/bin/exe-pending-messages.js +19 -18
- package/dist/bin/exe-pending-notifications.js +18 -17
- package/dist/bin/exe-pending-reviews.js +18 -17
- package/dist/bin/exe-rename.js +4 -4
- package/dist/bin/exe-repo-truth.js +369 -0
- package/dist/bin/exe-review.js +21 -20
- package/dist/bin/exe-search.js +6 -6
- package/dist/bin/exe-session-cleanup.js +22 -21
- package/dist/bin/exe-settings.js +14 -13
- package/dist/bin/exe-start-codex.js +19 -18
- package/dist/bin/exe-start-opencode.js +15 -14
- package/dist/bin/exe-status.js +20 -19
- package/dist/bin/exe-support.js +3 -3
- package/dist/bin/exe-team.js +4 -4
- package/dist/bin/exe-watchdog.js +1 -1
- package/dist/bin/git-sweep.js +19 -18
- package/dist/bin/graph-backfill.js +6 -6
- package/dist/bin/graph-export.js +6 -6
- package/dist/bin/import-history.js +9 -9
- package/dist/bin/install-launchd.js +1 -1
- package/dist/bin/install.js +91 -90
- package/dist/bin/intercom-check.js +4 -4
- package/dist/bin/mcp-sessions.js +2 -2
- package/dist/bin/orchestration-metrics.js +4 -4
- package/dist/bin/postgres-agentic-reflection-backfill.js +2 -2
- package/dist/bin/postgres-agentic-semantic-backfill.js +1 -1
- package/dist/bin/reconcile-backlog.js +2 -2
- package/dist/bin/registry-proxy.js +1 -1
- package/dist/bin/scan-tasks.js +18 -17
- package/dist/bin/setup.js +1 -1
- package/dist/bin/shard-migrate.js +5 -5
- package/dist/bin/stack-update.js +5 -5
- package/dist/bin/vps-health-gate.js +1 -1
- package/dist/{boot-generation-Z7ZM5LE5.js → boot-generation-OHXH4YC5.js} +3 -3
- package/dist/{boot-review-sections-52Y62Q6M.js → boot-review-sections-N5IXIGSS.js} +17 -16
- package/dist/{branch-hygiene-HFJ3HA62.js → branch-hygiene-KCGXRAWP.js} +125 -73
- package/dist/build-manifest.json +938 -918
- package/dist/{capability-cards-SKMGT3G2.js → capability-cards-4PXVLIVS.js} +2 -2
- package/dist/{capacity-monitor-JPFS5FYT.js → capacity-monitor-FKMQXORX.js} +19 -18
- package/dist/{catchup-brief-R4FP7ERW.js → catchup-brief-SN5EKO4N.js} +22 -21
- package/dist/{chunk-3TSDANOL.js → chunk-23QKEUF6.js} +11 -11
- package/dist/{chunk-33VQTJ6H.js → chunk-3KTQWMHI.js} +1 -1
- package/dist/{chunk-QS6HI4B6.js → chunk-3TTKAT6V.js} +31 -9
- package/dist/{chunk-D3QU2KNF.js → chunk-44C7QNZS.js} +1 -1
- package/dist/{chunk-S74ZNCBS.js → chunk-4ZJ5BPY6.js} +1 -1
- package/dist/{chunk-FFG3OMOH.js → chunk-53PYNYTW.js} +3 -3
- package/dist/{chunk-VZXEDC6K.js → chunk-5AHDQCTB.js} +4 -4
- package/dist/{chunk-JRPGAOHL.js → chunk-5AHRZI3R.js} +1 -1
- package/dist/{chunk-L6BZDFWT.js → chunk-5APCDDJZ.js} +1 -1
- package/dist/{chunk-5XRKPKHJ.js → chunk-5DCCKHDY.js} +3 -3
- package/dist/{chunk-64HUCOAL.js → chunk-5V7BD7Z4.js} +9 -1
- package/dist/{chunk-QK26AJD7.js → chunk-6XEYELCA.js} +1 -1
- package/dist/{chunk-WAIFOWCF.js → chunk-77JP3LK4.js} +6 -6
- package/dist/{chunk-C2CQ3KXS.js → chunk-7PSLK36P.js} +1 -1
- package/dist/{chunk-E63E3GUT.js → chunk-7R73IAHU.js} +9 -9
- package/dist/{chunk-L24EAOSG.js → chunk-7V6M3QUS.js} +1 -1
- package/dist/{chunk-BFP7JOD7.js → chunk-7WQRFSZI.js} +3 -3
- package/dist/{chunk-QILQ5FCG.js → chunk-A7JYF4RG.js} +6 -0
- package/dist/{chunk-P5XTVIEC.js → chunk-AAUWFXOX.js} +4 -4
- package/dist/{chunk-OPI5HGW6.js → chunk-AMKSDKMK.js} +1 -1
- package/dist/{chunk-U6SWEAAK.js → chunk-CNC57JCS.js} +4 -4
- package/dist/{chunk-I3FXDCUE.js → chunk-DKBPCOU4.js} +50 -20
- package/dist/{chunk-TTAPKUQV.js → chunk-E2WEFZOR.js} +1 -1
- package/dist/{chunk-AYMYU3RC.js → chunk-E7UCDSUE.js} +4 -4
- package/dist/{chunk-AWWAZBL7.js → chunk-ECHLVLA7.js} +1 -1
- package/dist/{chunk-EKOB53FE.js → chunk-EEXX4UMQ.js} +1 -1
- package/dist/{chunk-YTDIGGFZ.js → chunk-ELXFSIIM.js} +2 -2
- package/dist/{chunk-XFZHTFH5.js → chunk-ERVQTR7P.js} +2 -2
- package/dist/{chunk-VFI3HGKM.js → chunk-FB343XQX.js} +2 -2
- package/dist/{chunk-MMDOULD5.js → chunk-FBYAXTDM.js} +1 -1
- package/dist/{chunk-XWTZEVBQ.js → chunk-GH6YJOOC.js} +5 -5
- package/dist/{chunk-4HNVZDCM.js → chunk-GU62SNDH.js} +1 -1
- package/dist/{chunk-RLWSVSDV.js → chunk-HDW4XPDV.js} +1 -1
- package/dist/{chunk-6LU3DRZF.js → chunk-HECXZGGZ.js} +9 -9
- package/dist/{chunk-DZU7LMXH.js → chunk-HHE2HV3V.js} +1 -1
- package/dist/{chunk-637HNKYP.js → chunk-HIIXCAEE.js} +2 -2
- package/dist/{chunk-REOG2KQS.js → chunk-HIVZ53YB.js} +1 -1
- package/dist/{chunk-QCQT5RXR.js → chunk-HV6Y6F4X.js} +95 -3
- package/dist/{chunk-RLDMUSRM.js → chunk-IDZPQG2D.js} +1 -1
- package/dist/{chunk-NHJUJWLY.js → chunk-IPMUWYRQ.js} +2 -2
- package/dist/chunk-IVU3WN7S.js +227 -0
- package/dist/{chunk-WG3B2V6A.js → chunk-JJUGI2YL.js} +1 -1
- package/dist/{chunk-U5MEWTAY.js → chunk-JKXZGRWR.js} +1 -1
- package/dist/{chunk-EJ5BRL7C.js → chunk-JOO35RHR.js} +2 -2
- package/dist/{chunk-FAAHUZFK.js → chunk-JR23BL74.js} +3 -3
- package/dist/{chunk-6FMS6DGO.js → chunk-JTWTBX2M.js} +1 -1
- package/dist/{chunk-DLMLM63F.js → chunk-KPMC7PY7.js} +1 -1
- package/dist/{chunk-RHDDSIFC.js → chunk-KXYFBBZR.js} +1 -1
- package/dist/{chunk-MO2A7GUU.js → chunk-KYFFVTGO.js} +1 -1
- package/dist/{chunk-J7OPJPYG.js → chunk-L6ZNURWN.js} +1 -1
- package/dist/{chunk-AJH2JOKV.js → chunk-LAZKEJMS.js} +147 -147
- package/dist/{chunk-KNIYPHUM.js → chunk-LDL3S7AC.js} +1 -1
- package/dist/{chunk-5CYFJQGV.js → chunk-MBNIJXKI.js} +3 -3
- package/dist/{chunk-RYDR7TRT.js → chunk-MDGYXUOV.js} +1 -1
- package/dist/{chunk-SUCWKBYC.js → chunk-MEGRQ53A.js} +5 -5
- package/dist/{chunk-MXI2DAXR.js → chunk-MINXPXAB.js} +3 -3
- package/dist/{chunk-CWBFOAGM.js → chunk-NQZUSEAR.js} +1 -1
- package/dist/{chunk-5PISZ3DK.js → chunk-O4ZFRK6W.js} +11 -11
- package/dist/{chunk-5GHQD5NZ.js → chunk-OKGIOWOB.js} +2 -2
- package/dist/{chunk-AQL6BFAP.js → chunk-OW5RZIDW.js} +8 -8
- package/dist/{chunk-HIIEIDD2.js → chunk-OYQNNKNS.js} +10 -10
- package/dist/{chunk-5SRQG3SV.js → chunk-OZBII5E3.js} +4 -4
- package/dist/{chunk-VMJ2UH4S.js → chunk-PGLPUP37.js} +1 -1
- package/dist/{chunk-ZWYPGZJA.js → chunk-PM6WSWVU.js} +2 -2
- package/dist/{chunk-MZVEUPJA.js → chunk-QLA3RTH4.js} +2 -2
- package/dist/{chunk-LKB7OV6U.js → chunk-QR624DER.js} +1 -1
- package/dist/{chunk-RPJIULZL.js → chunk-QTI4QAWA.js} +1 -1
- package/dist/{chunk-ZXZHEAWO.js → chunk-QTYJPWJN.js} +4 -4
- package/dist/{chunk-ZVTKWWLV.js → chunk-QZL6E4UB.js} +1 -1
- package/dist/{chunk-75IYPYUY.js → chunk-RBYHJDAT.js} +3 -3
- package/dist/{chunk-KBXPVEO5.js → chunk-RGUDGC6A.js} +4 -4
- package/dist/{chunk-ZSYERTWA.js → chunk-RIK5GRWI.js} +3 -3
- package/dist/{chunk-KDP2HV43.js → chunk-RLR6VVKV.js} +4 -4
- package/dist/{chunk-GL4VN2FS.js → chunk-RNLF3CBB.js} +1 -1
- package/dist/{chunk-D26CLVB4.js → chunk-RUVO3NJC.js} +3 -3
- package/dist/{chunk-DOQ5F3GZ.js → chunk-RUWWES2K.js} +2 -2
- package/dist/{chunk-T3TSX4XB.js → chunk-SEP5ITFQ.js} +1 -1
- package/dist/chunk-SI5SZAJA.js +178 -0
- package/dist/{chunk-3WRQAAVT.js → chunk-T4EK56WI.js} +1 -1
- package/dist/{chunk-NKTNJSHK.js → chunk-TGEPLJ66.js} +3 -3
- package/dist/{chunk-C6ILSUXT.js → chunk-TGPQMMQP.js} +3 -3
- package/dist/{chunk-T7QPOQMD.js → chunk-THM7J6UI.js} +4 -4
- package/dist/{chunk-4OVLY2NR.js → chunk-TK4MI6F6.js} +3 -3
- package/dist/{chunk-X4C3SORV.js → chunk-U3XLRMJD.js} +1 -1
- package/dist/{chunk-BJ45A2NG.js → chunk-UKLF7F3Z.js} +5 -5
- package/dist/{chunk-BNHAZ65R.js → chunk-UQUUNGTP.js} +5 -1
- package/dist/{chunk-SWVRUCVM.js → chunk-UTDMTQNH.js} +1 -1
- package/dist/{chunk-JMH4BGNX.js → chunk-UVW7YFAF.js} +4 -4
- package/dist/{chunk-IWIESOAK.js → chunk-VKXS2YGN.js} +1 -1
- package/dist/{chunk-KU2ASWMO.js → chunk-VX2F4ZUY.js} +2 -2
- package/dist/{chunk-QZ4JDQ6R.js → chunk-W25RLOQ2.js} +2 -2
- package/dist/{chunk-DNKCJ6KV.js → chunk-WAEKYKTK.js} +1 -1
- package/dist/{chunk-FB43C242.js → chunk-WUKQVNLP.js} +1 -1
- package/dist/{chunk-UBR5M2TY.js → chunk-WZJVGA5I.js} +1 -1
- package/dist/{chunk-LMZD3A6K.js → chunk-XHYHX6F7.js} +26 -26
- package/dist/{chunk-YXCZKTTC.js → chunk-XXSNLM6R.js} +1 -1
- package/dist/{chunk-PZGLP65B.js → chunk-YFCNWQAM.js} +2 -2
- package/dist/{chunk-DPZ7EUY5.js → chunk-YWUQVHDL.js} +1 -1
- package/dist/{chunk-REEX7LTW.js → chunk-ZISQOOER.js} +2 -2
- package/dist/{chunk-YQ3QJ3SM.js → chunk-ZXB56YR2.js} +10 -10
- package/dist/{chunk-XGT2AOL7.js → chunk-ZYCLSEZT.js} +2 -2
- package/dist/{cleanup-graph-garbage-V6GERATJ.js → cleanup-graph-garbage-IPYDS5OX.js} +7 -7
- package/dist/{cloud-sync-command-RVPVF3H3.js → cloud-sync-command-JLNVG7H4.js} +2 -2
- package/dist/{cloud-sync-db-init-GIZFUJQB.js → cloud-sync-db-init-JXUF6GI3.js} +1 -1
- package/dist/{cloud-sync-shutdown-PQ6YZ3PA.js → cloud-sync-shutdown-Z4SBP6PL.js} +2 -2
- package/dist/{co-activation-6CM4E5ZK.js → co-activation-74RDFTKS.js} +2 -2
- package/dist/{co-occurrence-KJ7HM3EG.js → co-occurrence-CN3TBYVR.js} +5 -5
- package/dist/{code-context-index-XOP6TLPZ.js → code-context-index-D4MJ4VFX.js} +4 -3
- package/dist/{conversation-entity-extractor-PSFZQUJ5.js → conversation-entity-extractor-QGTLH4BP.js} +3 -3
- package/dist/{crdt-sync-POXIZVEF.js → crdt-sync-7T4WCOKD.js} +1 -1
- package/dist/{crm-webhook-V2H27KYR.js → crm-webhook-FTW3XZTO.js} +2 -2
- package/dist/{cto-delegation-gate-J3ND5BWL.js → cto-delegation-gate-SZCE34LB.js} +17 -16
- package/dist/{daemon-orchestration-M62T3FS2.js → daemon-orchestration-IGPHVNFR.js} +22 -21
- package/dist/{daemon-ready-MKBH4QWD.js → daemon-ready-OT2VQLS7.js} +1 -1
- package/dist/{destructive-data-guard-5SKHIZNN.js → destructive-data-guard-6I5MDFVD.js} +1 -1
- package/dist/{doc-graph-extractor-3BX3UPBB.js → doc-graph-extractor-VPTRIEKN.js} +5 -5
- package/dist/{documents-3D5LWOXL.js → documents-URULIXGM.js} +10 -9
- package/dist/{dreaming-WPBIOUHX.js → dreaming-VIZO3QDO.js} +21 -20
- package/dist/{employee-boot-brief-LWIOXW2Y.js → employee-boot-brief-XLOG4ULP.js} +25 -24
- package/dist/{exe-drift-UDKYXOFS.js → exe-drift-TLQM3IHD.js} +3 -3
- package/dist/{exe-export-ON37IIOT.js → exe-export-7YWYWJHY.js} +11 -10
- package/dist/{exe-import-ORFMQV3J.js → exe-import-DW6VAUKW.js} +11 -10
- package/dist/{exe-key-46N4TFWU.js → exe-key-TLJP2B4Y.js} +88 -87
- package/dist/{exe-org-ZYY5MUFH.js → exe-org-LU46N36E.js} +12 -12
- package/dist/{exe-snapshot-GLD66ZHQ.js → exe-snapshot-QHUZRS62.js} +23 -22
- package/dist/{fast-db-init-YFY566EG.js → fast-db-init-SCTOOIUT.js} +1 -1
- package/dist/{founder-context-N73W5XMG.js → founder-context-ZFZC4UHO.js} +2 -2
- package/dist/gateway/index.js +11 -11
- package/dist/{git-main-guard-TGK3RQY3.js → git-main-guard-TN27QBAI.js} +11 -1
- package/dist/{git-staleness-TNJ3XJJ4.js → git-staleness-GSGP344N.js} +2 -2
- package/dist/{global-procedures-7Y7LULZC.js → global-procedures-YAR7G4C6.js} +3 -3
- package/dist/{graph-auto-extract-4NEJ3OXA.js → graph-auto-extract-GNQS64F5.js} +5 -5
- package/dist/{graph-rag-WKAUQZUN.js → graph-rag-RMSFLUOB.js} +3 -3
- package/dist/{hook-integrity-D7BN2SLB.js → hook-integrity-CF567MVN.js} +1 -1
- package/dist/{hook-prefetch-7OJQ4IJ6.js → hook-prefetch-36BK4F7U.js} +18 -17
- package/dist/hooks/bug-report-worker.js +22 -21
- package/dist/hooks/codex-stop-task-finalizer.js +23 -22
- package/dist/hooks/commit-complete.js +21 -20
- package/dist/hooks/error-recall.js +8 -8
- package/dist/hooks/exe-heartbeat-hook.js +4 -4
- package/dist/hooks/ingest-worker.js +6 -5
- package/dist/hooks/ingest.js +11 -11
- package/dist/hooks/instructions-loaded.js +5 -5
- package/dist/hooks/manifest.json +20 -20
- package/dist/hooks/notification.js +5 -5
- package/dist/hooks/post-compact.js +4 -4
- package/dist/hooks/post-tool-combined.js +12 -12
- package/dist/hooks/pre-compact.js +21 -20
- package/dist/hooks/pre-tool-use.js +33 -32
- package/dist/hooks/prompt-submit.js +35 -34
- package/dist/hooks/session-end.js +26 -25
- package/dist/hooks/session-start.js +17 -17
- package/dist/hooks/stop.js +27 -26
- package/dist/hooks/subagent-stop.js +22 -21
- package/dist/hooks/summary-worker.js +26 -25
- package/dist/index.js +29 -28
- package/dist/{installer-KPDMTHOD.js → installer-LUN4HQIC.js} +5 -5
- package/dist/{installer-HTFYSA5U.js → installer-MPRFUQJE.js} +5 -5
- package/dist/{installer-ZHTVJJNQ.js → installer-OC5VXNC7.js} +5 -5
- package/dist/{intercom-queue-D57B3JR3.js → intercom-queue-6DZ7BANV.js} +17 -16
- package/dist/lib/cloud-sync.js +14 -13
- package/dist/lib/consolidation.js +7 -7
- package/dist/lib/database.js +2 -2
- package/dist/lib/db-backup.js +1 -1
- package/dist/lib/db-daemon-client.js +4 -3
- package/dist/lib/db-write-worker.js +3 -3
- package/dist/lib/db.js +2 -2
- package/dist/lib/device-registry.js +1 -1
- package/dist/lib/embedder.js +4 -3
- package/dist/lib/employee-templates.js +4 -4
- package/dist/lib/employees.js +2 -2
- package/dist/lib/exe-daemon-client.js +3 -2
- package/dist/lib/exe-daemon.js +103 -83
- package/dist/lib/hybrid-search.js +6 -6
- package/dist/lib/identity.js +2 -2
- package/dist/lib/license.js +4 -2
- package/dist/lib/messaging.js +18 -17
- package/dist/lib/registry-proxy.js +1 -1
- package/dist/lib/reminders.js +3 -3
- package/dist/lib/schedules.js +6 -6
- package/dist/lib/session-registry.js +4 -4
- package/dist/lib/skill-learning.js +11 -10
- package/dist/lib/status-brief.js +1 -1
- package/dist/lib/store.js +5 -5
- package/dist/lib/task-router.js +3 -3
- package/dist/lib/tasks.js +19 -18
- package/dist/lib/tmux-routing.js +17 -16
- package/dist/lib/token-spend.js +3 -3
- package/dist/{license-gate-SUVXUQ7E.js → license-gate-ESER24PJ.js} +3 -3
- package/dist/{license-sync-TXGIO2PM.js → license-sync-JVG5KNIY.js} +2 -2
- package/dist/{linux-systemd-LRW3BYSS.js → linux-systemd-YUADJCJQ.js} +1 -1
- package/dist/mcp/register-tools.js +87 -86
- package/dist/mcp/server.js +88 -87
- package/dist/mcp/tools/complete-reminder.js +4 -4
- package/dist/mcp/tools/create-reminder.js +4 -4
- package/dist/mcp/tools/create-task.js +21 -20
- package/dist/mcp/tools/deactivate-behavior.js +12 -11
- package/dist/mcp/tools/list-reminders.js +4 -4
- package/dist/mcp/tools/list-tasks.js +21 -20
- package/dist/mcp/tools/send-message.js +20 -19
- package/dist/mcp/tools/update-task.js +20 -19
- package/dist/{mcp-http-config-WCOGCXVR.js → mcp-http-config-6K6IKH5F.js} +3 -3
- package/dist/{mcp-session-identity-JMFMB6G3.js → mcp-session-identity-LRC6WJSD.js} +17 -16
- package/dist/{memory-cards-IYRUCVDG.js → memory-cards-V3OZHIYP.js} +5 -5
- package/dist/{memory-graph-extractor-M6HSDITL.js → memory-graph-extractor-JC2Z64L4.js} +6 -6
- package/dist/{memory-poisoning-defense-CHGY62QP.js → memory-poisoning-defense-YM4QJHCX.js} +2 -2
- package/dist/{memory-pressure-watchdog-FB5E7MLA.js → memory-pressure-watchdog-6F6KEQHN.js} +18 -17
- package/dist/{memory-queue-client-HIHCA3W4.js → memory-queue-client-COA4ABEV.js} +4 -3
- package/dist/{memory-reflection-BPGUYVRK.js → memory-reflection-QXHJPYPC.js} +2 -2
- package/dist/{notification-ledger-4425CXFW.js → notification-ledger-6QRLQW4Q.js} +18 -17
- package/dist/{notifications-JGVJO7S2.js → notifications-7B6D7Y5C.js} +17 -16
- package/dist/{orchestration-events-PGKDGE45.js → orchestration-events-GY5VP5LU.js} +3 -3
- package/dist/{orchestrator-DV5G5DKQ.js → orchestrator-JVPVOYWA.js} +19 -18
- package/dist/{org-brief-session-LXCHYYX7.js → org-brief-session-GRV5R5E3.js} +5 -5
- package/dist/{org-consent-policy-52Z4LKHG.js → org-consent-policy-3FHHSYXV.js} +1 -1
- package/dist/{org-join-BMBQDMVF.js → org-join-BY4PV6UO.js} +2 -2
- package/dist/{org-key-admin-SCCVVE2H.js → org-key-admin-WSCPT2CZ.js} +3 -3
- package/dist/{org-partner-runtime-HKGI37ND.js → org-partner-runtime-UJDGECZ4.js} +5 -5
- package/dist/{org-row-visibility-K5OFWTXE.js → org-row-visibility-V5DXIHTE.js} +1 -1
- package/dist/{pipeline-router-NMWDS5I5.js → pipeline-router-YY5FQKTY.js} +3 -3
- package/dist/{plan-limits-P4E7P3O5.js → plan-limits-OVX6SN6B.js} +5 -5
- package/dist/{projection-worker-BSORYGBV.js → projection-worker-D2472IOD.js} +2 -2
- package/dist/{prospective-memory-3JTGI6VV.js → prospective-memory-JXO2A6PL.js} +2 -2
- package/dist/{push-notifications-P2HVB7LZ.js → push-notifications-HR3FZRDI.js} +18 -17
- package/dist/{reproject-worktree-memories-IXYGHTGA.js → reproject-worktree-memories-OSS3PGRF.js} +127 -35
- package/dist/{reranker-6RA63RUL.js → reranker-IMZRPYJ2.js} +1 -1
- package/dist/{retrieval-health-YDVLDURR.js → retrieval-health-W7OD44FE.js} +1 -1
- package/dist/{review-polling-XVOU2VTL.js → review-polling-2INP7H6M.js} +18 -17
- package/dist/runtime/index.js +25 -24
- package/dist/{session-events-6AUB5AKL.js → session-events-G4XUPVWV.js} +18 -17
- package/dist/{session-kill-telemetry-OXXPCDBI.js → session-kill-telemetry-W7MHWJTQ.js} +18 -17
- package/dist/{session-scope-E4NRAFZL.js → session-scope-LG2J4EMQ.js} +17 -16
- package/dist/{setup-wizard-RNV6UE6J.js → setup-wizard-YQJI3SVM.js} +1 -1
- package/dist/{skill-refinement-6U66DBPY.js → skill-refinement-RA37U756.js} +3 -3
- package/dist/{stack-promote-T7YOBPL6.js → stack-promote-IYBRXHTA.js} +4 -4
- package/dist/{stack-release-H7ICM4KT.js → stack-release-OXWLVVG6.js} +4 -4
- package/dist/{stack-update-MZIBQHVZ.js → stack-update-2CZEROPK.js} +3 -3
- package/dist/{steward-gate-TVRANLPZ.js → steward-gate-LTNFB3FY.js} +3 -3
- package/dist/{subagent-brief-injection-Y3IJY34K.js → subagent-brief-injection-OHLWLECQ.js} +26 -25
- package/dist/supervisor-handoff-CSJQMI53.js +37 -0
- package/dist/{support-inbox-2GGCRQEA.js → support-inbox-4KCEPAZQ.js} +3 -3
- package/dist/{task-enforcement-HMGS7GJD.js → task-enforcement-LGXWXGVZ.js} +18 -17
- package/dist/{task-request-inbox-EHPQR74T.js → task-request-inbox-WHCOSUCP.js} +1 -1
- package/dist/{task-scope-H2XPGS6Y.js → task-scope-KXF7Y6KA.js} +17 -16
- package/dist/{tasks-crud-4F6ECDNC.js → tasks-crud-5EM55WRZ.js} +17 -16
- package/dist/{tasks-notify-4F3HFDCG.js → tasks-notify-VFMAURTN.js} +18 -17
- package/dist/{tasks-review-M5G5J2T3.js → tasks-review-MHGMBHUZ.js} +17 -16
- package/dist/{telemetry-upload-DFRMVTOF.js → telemetry-upload-6NRTN7QJ.js} +7 -7
- package/dist/{token-budget-4CISVC2P.js → token-budget-LZPOYTRP.js} +3 -3
- package/dist/{tool-capability-index-BT2GGLLI.js → tool-capability-index-ED5OAPMW.js} +1 -1
- package/dist/{tool-telemetry-WHTCFN2L.js → tool-telemetry-ZX7VSAXK.js} +1 -1
- package/dist/tui/App.js +25 -24
- package/dist/{tui-data-36IHMXIQ.js → tui-data-CC5POSUV.js} +17 -16
- package/dist/{update-support-JQSTFOWO.js → update-support-KH6NSQON.js} +16 -15
- package/dist/{work-claims-CH77EFZ4.js → work-claims-MNK7PEPW.js} +3 -3
- package/dist/{work-state-heartbeat-YC3O6M2G.js → work-state-heartbeat-YEWT5NMZ.js} +1 -1
- package/dist/{worker-gate-BJTF4TUP.js → worker-gate-BOQSIU2Z.js} +1 -1
- package/dist/{workflow-engine-ZWRIDV6J.js → workflow-engine-MUUD7ZEX.js} +2 -2
- package/dist/{worktree-YNPSWYQY.js → worktree-GOGT2LZP.js} +4 -4
- package/dist/{worktree-sweep-GRMHU4DA.js → worktree-sweep-46VWPVQT.js} +5 -5
- package/package.json +2 -1
- package/release-notes.json +31 -60
- package/stack.release.json +4 -4
- package/dist/{chunk-Z4AN75KW.js → chunk-3F2UB4IQ.js} +0 -0
- package/dist/{chunk-442EX2PZ.js → chunk-3Y5THOU6.js} +0 -0
- package/dist/{chunk-KOYGRP2L.js → chunk-5N4SG5NB.js} +3 -3
- /package/dist/{chunk-ME3A4LKV.js → chunk-7UTJA6HF.js} +0 -0
- /package/dist/{chunk-YSDIJ3VI.js → chunk-7XGXRD22.js} +0 -0
- /package/dist/{chunk-EQJ462VM.js → chunk-ADNBOKYZ.js} +0 -0
- /package/dist/{chunk-6CAX7YH4.js → chunk-FZQWVQJG.js} +0 -0
- /package/dist/{chunk-2A76BLAD.js → chunk-GB3AHV5F.js} +0 -0
- /package/dist/{chunk-P3IOJTWW.js → chunk-HR2R2QER.js} +0 -0
- /package/dist/{chunk-5HNXTAXL.js → chunk-ORA5BWCV.js} +0 -0
- /package/dist/{chunk-PREXA444.js → chunk-R6FLELV6.js} +0 -0
- /package/dist/{chunk-G2H2KV4N.js → chunk-V4XAKXXF.js} +0 -0
- /package/dist/{chunk-7AQ2C4LT.js → chunk-VJSDGDNS.js} +0 -0
- /package/dist/{chunk-VQ7F3W7P.js → chunk-WV3TOOL7.js} +0 -0
- /package/dist/{core-memory-KIV3WFOQ.js → core-memory-6WBNT2HL.js} +0 -0
- /package/dist/{entity-boost-CDFAXVYL.js → entity-boost-MT336PI3.js} +0 -0
- /package/dist/{memory-isolation-CPTYUIPJ.js → memory-isolation-EJ45IXBH.js} +0 -0
- /package/dist/{message-queue-client-PL2POQOV.js → message-queue-client-MVBTYCSV.js} +0 -0
- /package/dist/{oauth-server-NJRJAT7X.js → oauth-server-TZFNQAFS.js} +0 -0
- /package/dist/{project-boot-QYYCFYFC.js → project-boot-LXLU2J32.js} +0 -0
- /package/dist/{wiki-acl-OROXIW3P.js → wiki-acl-WXRJGZ5Q.js} +0 -0
|
@@ -0,0 +1,178 @@
|
|
|
1
|
+
// src/lib/remote-truth.ts
|
|
2
|
+
import { execFile } from "child_process";
|
|
3
|
+
import { promisify } from "util";
|
|
4
|
+
var execFileAsync = promisify(execFile);
|
|
5
|
+
var REMOTE_TIMEOUT_MS = 2e4;
|
|
6
|
+
var MAX_TARGETED_PR_LOOKUPS = 25;
|
|
7
|
+
var BULK_PR_LIMIT = 200;
|
|
8
|
+
var PR_LOOKUP_CONCURRENCY = 6;
|
|
9
|
+
async function run(cmd, args, cwd, timeoutMs = REMOTE_TIMEOUT_MS) {
|
|
10
|
+
const { stdout } = await execFileAsync(cmd, args, {
|
|
11
|
+
cwd,
|
|
12
|
+
encoding: "utf8",
|
|
13
|
+
timeout: timeoutMs,
|
|
14
|
+
maxBuffer: 16 * 1024 * 1024
|
|
15
|
+
});
|
|
16
|
+
return stdout;
|
|
17
|
+
}
|
|
18
|
+
async function listRemoteHeads(repoRoot) {
|
|
19
|
+
let out;
|
|
20
|
+
try {
|
|
21
|
+
out = await run("git", ["ls-remote", "--heads", "origin"], repoRoot);
|
|
22
|
+
} catch {
|
|
23
|
+
return null;
|
|
24
|
+
}
|
|
25
|
+
const heads = [];
|
|
26
|
+
for (const line of out.split("\n")) {
|
|
27
|
+
const m = /^([0-9a-f]{40})\s+refs\/heads\/(.+)$/.exec(line.trim());
|
|
28
|
+
if (m) heads.push({ sha: m[1], name: m[2] });
|
|
29
|
+
}
|
|
30
|
+
return heads;
|
|
31
|
+
}
|
|
32
|
+
async function listRemoteTags(repoRoot) {
|
|
33
|
+
let out;
|
|
34
|
+
try {
|
|
35
|
+
out = await run("git", ["ls-remote", "--tags", "origin"], repoRoot);
|
|
36
|
+
} catch {
|
|
37
|
+
return null;
|
|
38
|
+
}
|
|
39
|
+
const byName = /* @__PURE__ */ new Map();
|
|
40
|
+
for (const line of out.split("\n")) {
|
|
41
|
+
const m = /^([0-9a-f]{40})\s+refs\/tags\/(.+?)(\^\{\})?$/.exec(line.trim());
|
|
42
|
+
if (!m) continue;
|
|
43
|
+
const [, sha, name, peeled] = m;
|
|
44
|
+
const existing = byName.get(name);
|
|
45
|
+
if (peeled) {
|
|
46
|
+
byName.set(name, { name, sha, annotated: true });
|
|
47
|
+
} else if (!existing) {
|
|
48
|
+
byName.set(name, { name, sha, annotated: false });
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
return [...byName.values()];
|
|
52
|
+
}
|
|
53
|
+
async function getRemoteDefaultBranch(repoRoot) {
|
|
54
|
+
let out;
|
|
55
|
+
try {
|
|
56
|
+
out = await run("git", ["ls-remote", "--symref", "origin", "HEAD"], repoRoot);
|
|
57
|
+
} catch {
|
|
58
|
+
return null;
|
|
59
|
+
}
|
|
60
|
+
const refMatch = /^ref:\s+refs\/heads\/(\S+)\s+HEAD$/m.exec(out);
|
|
61
|
+
if (!refMatch) return null;
|
|
62
|
+
const name = refMatch[1];
|
|
63
|
+
const shaMatch = new RegExp(`^([0-9a-f]{40})\\s+HEAD$`, "m").exec(out);
|
|
64
|
+
if (!shaMatch) return null;
|
|
65
|
+
return { name, sha: shaMatch[1] };
|
|
66
|
+
}
|
|
67
|
+
async function fetchPruned(repoRoot) {
|
|
68
|
+
try {
|
|
69
|
+
await run(
|
|
70
|
+
"git",
|
|
71
|
+
["fetch", "--prune", "--prune-tags", "--tags", "--quiet", "origin"],
|
|
72
|
+
repoRoot,
|
|
73
|
+
REMOTE_TIMEOUT_MS * 3
|
|
74
|
+
);
|
|
75
|
+
return true;
|
|
76
|
+
} catch {
|
|
77
|
+
return false;
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
function rankPr(pr) {
|
|
81
|
+
if (pr.mergedAt) return 3;
|
|
82
|
+
if (pr.state?.toUpperCase() === "OPEN") return 2;
|
|
83
|
+
return 1;
|
|
84
|
+
}
|
|
85
|
+
function toState(pr) {
|
|
86
|
+
if (pr.mergedAt) return "merged";
|
|
87
|
+
if (pr.state?.toUpperCase() === "OPEN") return "open";
|
|
88
|
+
return "closed_unmerged";
|
|
89
|
+
}
|
|
90
|
+
function parsePrJson(raw) {
|
|
91
|
+
try {
|
|
92
|
+
const parsed = JSON.parse(raw);
|
|
93
|
+
return Array.isArray(parsed) ? parsed : [];
|
|
94
|
+
} catch {
|
|
95
|
+
return [];
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
async function mapPool(items, concurrency, fn) {
|
|
99
|
+
const results = new Array(items.length);
|
|
100
|
+
let next = 0;
|
|
101
|
+
const worker = async () => {
|
|
102
|
+
for (; ; ) {
|
|
103
|
+
const i = next++;
|
|
104
|
+
if (i >= items.length) return;
|
|
105
|
+
results[i] = await fn(items[i]);
|
|
106
|
+
}
|
|
107
|
+
};
|
|
108
|
+
const lanes = Math.max(1, Math.min(concurrency, items.length));
|
|
109
|
+
await Promise.all(Array.from({ length: lanes }, () => worker()));
|
|
110
|
+
return results;
|
|
111
|
+
}
|
|
112
|
+
var ghPrStateLookup = async (repoRoot, branchNames) => {
|
|
113
|
+
if (branchNames.length === 0) return /* @__PURE__ */ new Map();
|
|
114
|
+
let bulkRaw;
|
|
115
|
+
try {
|
|
116
|
+
bulkRaw = await run(
|
|
117
|
+
"gh",
|
|
118
|
+
[
|
|
119
|
+
"pr",
|
|
120
|
+
"list",
|
|
121
|
+
"--state",
|
|
122
|
+
"all",
|
|
123
|
+
"--limit",
|
|
124
|
+
String(BULK_PR_LIMIT),
|
|
125
|
+
"--json",
|
|
126
|
+
"number,state,mergedAt,headRefName"
|
|
127
|
+
],
|
|
128
|
+
repoRoot
|
|
129
|
+
);
|
|
130
|
+
} catch {
|
|
131
|
+
return null;
|
|
132
|
+
}
|
|
133
|
+
const best = /* @__PURE__ */ new Map();
|
|
134
|
+
for (const pr of parsePrJson(bulkRaw)) {
|
|
135
|
+
const head = pr.headRefName;
|
|
136
|
+
if (!head) continue;
|
|
137
|
+
const cur = best.get(head);
|
|
138
|
+
if (!cur || rankPr(pr) > rankPr(cur)) best.set(head, pr);
|
|
139
|
+
}
|
|
140
|
+
const result = /* @__PURE__ */ new Map();
|
|
141
|
+
const missing = [];
|
|
142
|
+
for (const name of branchNames) {
|
|
143
|
+
const pr = best.get(name);
|
|
144
|
+
if (pr) result.set(name, { state: toState(pr), number: pr.number ?? null });
|
|
145
|
+
else missing.push(name);
|
|
146
|
+
}
|
|
147
|
+
const targeted = missing.slice(0, MAX_TARGETED_PR_LOOKUPS);
|
|
148
|
+
const overflow = missing.slice(MAX_TARGETED_PR_LOOKUPS);
|
|
149
|
+
const looked = await mapPool(targeted, PR_LOOKUP_CONCURRENCY, async (name) => {
|
|
150
|
+
try {
|
|
151
|
+
const raw = await run(
|
|
152
|
+
"gh",
|
|
153
|
+
["pr", "list", "--head", name, "--state", "all", "--limit", "10", "--json", "number,state,mergedAt"],
|
|
154
|
+
repoRoot
|
|
155
|
+
);
|
|
156
|
+
const prs = parsePrJson(raw);
|
|
157
|
+
if (prs.length === 0) {
|
|
158
|
+
return { name, info: { state: "never_proposed", number: null } };
|
|
159
|
+
}
|
|
160
|
+
const top = prs.reduce((a, b) => rankPr(b) > rankPr(a) ? b : a);
|
|
161
|
+
return { name, info: { state: toState(top), number: top.number ?? null } };
|
|
162
|
+
} catch {
|
|
163
|
+
return { name, info: { state: "unknown", number: null } };
|
|
164
|
+
}
|
|
165
|
+
});
|
|
166
|
+
for (const { name, info } of looked) result.set(name, info);
|
|
167
|
+
for (const name of overflow) result.set(name, { state: "unknown", number: null });
|
|
168
|
+
return result;
|
|
169
|
+
};
|
|
170
|
+
|
|
171
|
+
export {
|
|
172
|
+
REMOTE_TIMEOUT_MS,
|
|
173
|
+
listRemoteHeads,
|
|
174
|
+
listRemoteTags,
|
|
175
|
+
getRemoteDefaultBranch,
|
|
176
|
+
fetchPruned,
|
|
177
|
+
ghPrStateLookup
|
|
178
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
routeTask
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-YWUQVHDL.js";
|
|
4
4
|
import {
|
|
5
5
|
createTaskCore,
|
|
6
6
|
employeeSessionName,
|
|
@@ -9,11 +9,11 @@ import {
|
|
|
9
9
|
isEmployeeAlive,
|
|
10
10
|
sessionScopeFilter,
|
|
11
11
|
updateTaskStatus
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-XHYHX6F7.js";
|
|
13
13
|
import {
|
|
14
14
|
DEFAULT_COORDINATOR_TEMPLATE_NAME,
|
|
15
15
|
getCoordinatorName
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-5DCCKHDY.js";
|
|
17
17
|
|
|
18
18
|
// src/runtime/orchestrator.ts
|
|
19
19
|
var STALE_THRESHOLD_MS = 2 * 60 * 60 * 1e3;
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
cleanupCardsForMemories,
|
|
3
3
|
cleanupGraphLinksForMemories
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-ZYCLSEZT.js";
|
|
5
5
|
import {
|
|
6
6
|
resolveAnthropicAuth
|
|
7
7
|
} from "./chunk-VGMACSEV.js";
|
|
8
8
|
import {
|
|
9
9
|
buildSystemStateExclusionFilter,
|
|
10
10
|
vectorToBlob
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-OYQNNKNS.js";
|
|
12
12
|
import {
|
|
13
13
|
extractKeywords,
|
|
14
14
|
keywordsToString
|
|
15
15
|
} from "./chunk-CHCA3ZM2.js";
|
|
16
16
|
import {
|
|
17
17
|
isCoordinatorName
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-5DCCKHDY.js";
|
|
19
19
|
|
|
20
20
|
// src/lib/consolidation.ts
|
|
21
21
|
import { randomUUID } from "crypto";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
shutdownCli
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-ORA5BWCV.js";
|
|
4
4
|
import {
|
|
5
5
|
fastDbInit
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-HR2R2QER.js";
|
|
7
7
|
import {
|
|
8
8
|
sessionScopeFilter
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-XHYHX6F7.js";
|
|
10
10
|
import {
|
|
11
11
|
formatStatusAll,
|
|
12
12
|
formatStatusDeep,
|
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
getClient,
|
|
18
18
|
isCoordinatorRole,
|
|
19
19
|
loadEmployees
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-5DCCKHDY.js";
|
|
21
21
|
import {
|
|
22
22
|
isMainModule
|
|
23
23
|
} from "./chunk-6Y4B3QF6.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getClient
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-5DCCKHDY.js";
|
|
4
4
|
|
|
5
5
|
// src/lib/pipeline-router.ts
|
|
6
6
|
import crypto from "crypto";
|
|
@@ -140,8 +140,8 @@ Agent response: ${agentResponse}` : ""
|
|
|
140
140
|
}
|
|
141
141
|
async function sinkEntityExtraction(msg, agentResponse, agentName) {
|
|
142
142
|
try {
|
|
143
|
-
const { extractFromConversation } = await import("./conversation-entity-extractor-
|
|
144
|
-
const { storeExtraction } = await import("./graph-rag-
|
|
143
|
+
const { extractFromConversation } = await import("./conversation-entity-extractor-QGTLH4BP.js");
|
|
144
|
+
const { storeExtraction } = await import("./graph-rag-RMSFLUOB.js");
|
|
145
145
|
if ((msg.text?.length ?? 0) < 20) return false;
|
|
146
146
|
if (msg.isHistorical) return false;
|
|
147
147
|
const extraction = await extractFromConversation(msg, agentResponse, agentName);
|
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
import {
|
|
2
|
+
WhatsAppAdapter
|
|
3
|
+
} from "./chunk-WSOA3WMC.js";
|
|
1
4
|
import {
|
|
2
5
|
SignalAdapter
|
|
3
6
|
} from "./chunk-RJT7H2KR.js";
|
|
@@ -16,10 +19,7 @@ import {
|
|
|
16
19
|
import {
|
|
17
20
|
createCRMWebhookHandler,
|
|
18
21
|
parseTwentyWebhook
|
|
19
|
-
} from "./chunk-
|
|
20
|
-
import {
|
|
21
|
-
WhatsAppAdapter
|
|
22
|
-
} from "./chunk-WSOA3WMC.js";
|
|
22
|
+
} from "./chunk-ECHLVLA7.js";
|
|
23
23
|
import {
|
|
24
24
|
BotRegistry,
|
|
25
25
|
BotRuntime,
|
|
@@ -42,7 +42,7 @@ import {
|
|
|
42
42
|
retryWithBackoff,
|
|
43
43
|
routeMessage,
|
|
44
44
|
validateGatewayConfig
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-E7UCDSUE.js";
|
|
46
46
|
import {
|
|
47
47
|
OllamaProvider
|
|
48
48
|
} from "./chunk-FWFFZGSC.js";
|
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
import {
|
|
2
|
+
SUPERVISED_ENV
|
|
3
|
+
} from "./chunk-IVU3WN7S.js";
|
|
1
4
|
import {
|
|
2
5
|
ensureDaemonToken,
|
|
3
6
|
readDaemonToken
|
|
@@ -19,7 +22,7 @@ import {
|
|
|
19
22
|
runCommand,
|
|
20
23
|
startWatchdogUnit,
|
|
21
24
|
stopLinuxSupervisorUnits
|
|
22
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-A7JYF4RG.js";
|
|
23
26
|
import {
|
|
24
27
|
EXE_AI_DIR,
|
|
25
28
|
resolveDataDir
|
|
@@ -732,6 +735,7 @@ function findPackageRoot() {
|
|
|
732
735
|
var HEAP_FLAG_RE = /^(--max-old-space-size=|--max_old_space_size=)/;
|
|
733
736
|
function sanitizeInheritedDaemonEnv(env) {
|
|
734
737
|
delete env.EXE_EMBEDDINGS;
|
|
738
|
+
delete env[SUPERVISED_ENV];
|
|
735
739
|
if (env.NODE_OPTIONS) {
|
|
736
740
|
const cleaned = env.NODE_OPTIONS.split(/\s+/).filter((tok) => tok && !HEAP_FLAG_RE.test(tok)).join(" ");
|
|
737
741
|
if (cleaned) env.NODE_OPTIONS = cleaned;
|
|
@@ -402,7 +402,7 @@ async function createBackupAsync(reason = "manual", opts = {}) {
|
|
|
402
402
|
}
|
|
403
403
|
}
|
|
404
404
|
try {
|
|
405
|
-
const { manifestWriteEnabled, writeBackupManifest } = await import("./backup-verify-
|
|
405
|
+
const { manifestWriteEnabled, writeBackupManifest } = await import("./backup-verify-EX2K732J.js");
|
|
406
406
|
if (manifestWriteEnabled()) {
|
|
407
407
|
const manifest = await writeBackupManifest(backupPath, dbName);
|
|
408
408
|
if (manifest && sourceStatus === "unverified") {
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
updateTask
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-HECXZGGZ.js";
|
|
4
4
|
import {
|
|
5
5
|
TASK_ALREADY_CLAIMED_PREFIX,
|
|
6
6
|
TASK_CLAIM_NOT_HELD_PREFIX,
|
|
7
7
|
TASK_SIDECHAIN_WRITE_BLOCKED_PREFIX
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-XHYHX6F7.js";
|
|
9
9
|
import {
|
|
10
10
|
getAgentContext
|
|
11
11
|
} from "./chunk-GJV3WDWM.js";
|
|
12
12
|
import {
|
|
13
13
|
isCoordinatorName
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-5DCCKHDY.js";
|
|
15
15
|
|
|
16
16
|
// src/mcp/tools/update-task.ts
|
|
17
17
|
import { z } from "zod";
|
|
@@ -72,7 +72,7 @@ function registerUpdateTask(server) {
|
|
|
72
72
|
let callerSession;
|
|
73
73
|
let callerIsSidechain = false;
|
|
74
74
|
try {
|
|
75
|
-
const { getActiveAgent: getAgent } = await import("./active-agent-
|
|
75
|
+
const { getActiveAgent: getAgent } = await import("./active-agent-GRT5MKD5.js");
|
|
76
76
|
const active = getAgent();
|
|
77
77
|
callerAgentId = active.agentId;
|
|
78
78
|
callerSession = resolveCallerSessionForUpdate();
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
} from "./chunk-A6PDF4BO.js";
|
|
5
5
|
import {
|
|
6
6
|
registerDaemonScopedQueryChokepoint
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-YFCNWQAM.js";
|
|
8
8
|
import {
|
|
9
9
|
orgPartnerModeActive,
|
|
10
10
|
resolveOrgPartnerBindings,
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
isConsentMacPrimed,
|
|
20
20
|
primeTaskOriginMarkerKey,
|
|
21
21
|
scopedQueryChokepointStatus
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-RUVO3NJC.js";
|
|
23
23
|
import {
|
|
24
24
|
flushMailboxOutbox
|
|
25
25
|
} from "./chunk-4LWBC7CM.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
withScopedReadWindow
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-YFCNWQAM.js";
|
|
4
4
|
import {
|
|
5
5
|
requireOrgPartnerBinding,
|
|
6
6
|
resolvePartnerIdentities
|
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
sealMailboxEnvelope,
|
|
23
23
|
unrecordedText,
|
|
24
24
|
verifyManifest
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-RUVO3NJC.js";
|
|
26
26
|
import {
|
|
27
27
|
queueMailboxDeposit
|
|
28
28
|
} from "./chunk-4LWBC7CM.js";
|
|
@@ -3,7 +3,10 @@ import {
|
|
|
3
3
|
} from "./chunk-BTSWFMEH.js";
|
|
4
4
|
import {
|
|
5
5
|
ensureAgentSymlink
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-WAEKYKTK.js";
|
|
7
|
+
import {
|
|
8
|
+
resolveRowVisibility
|
|
9
|
+
} from "./chunk-44C7QNZS.js";
|
|
7
10
|
import {
|
|
8
11
|
ensureWorktree,
|
|
9
12
|
ensureWorktreeAsync,
|
|
@@ -11,13 +14,15 @@ import {
|
|
|
11
14
|
getMainRepoRoot,
|
|
12
15
|
isInsideGitRepo,
|
|
13
16
|
isWorktreeDirty
|
|
14
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-JTWTBX2M.js";
|
|
15
18
|
import {
|
|
16
19
|
runBudgetedSweep
|
|
17
20
|
} from "./chunk-KI5PFRG6.js";
|
|
18
21
|
import {
|
|
19
|
-
|
|
20
|
-
|
|
22
|
+
LEASE_MINUTES,
|
|
23
|
+
isLeaseExpired,
|
|
24
|
+
leaseExpiryIso
|
|
25
|
+
} from "./chunk-E23LNUWJ.js";
|
|
21
26
|
import {
|
|
22
27
|
buildTaskResult,
|
|
23
28
|
serializeMessage
|
|
@@ -26,15 +31,10 @@ import {
|
|
|
26
31
|
reviewSignalPath,
|
|
27
32
|
taskSignalDir
|
|
28
33
|
} from "./chunk-EIKATSE4.js";
|
|
29
|
-
import {
|
|
30
|
-
LEASE_MINUTES,
|
|
31
|
-
isLeaseExpired,
|
|
32
|
-
leaseExpiryIso
|
|
33
|
-
} from "./chunk-E23LNUWJ.js";
|
|
34
34
|
import {
|
|
35
35
|
listSessions,
|
|
36
36
|
registerSession
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-MDGYXUOV.js";
|
|
38
38
|
import {
|
|
39
39
|
listTmuxSessions
|
|
40
40
|
} from "./chunk-GBNB4EWD.js";
|
|
@@ -43,7 +43,7 @@ import {
|
|
|
43
43
|
} from "./chunk-UXLO7VHX.js";
|
|
44
44
|
import {
|
|
45
45
|
recordOrchestrationEventBestEffort
|
|
46
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-E2WEFZOR.js";
|
|
47
47
|
import {
|
|
48
48
|
appendDispatchJournalEvent,
|
|
49
49
|
releaseDispatchClaim,
|
|
@@ -52,7 +52,7 @@ import {
|
|
|
52
52
|
} from "./chunk-AJIXH5JF.js";
|
|
53
53
|
import {
|
|
54
54
|
incrementSkillSuccess
|
|
55
|
-
} from "./chunk-
|
|
55
|
+
} from "./chunk-L6ZNURWN.js";
|
|
56
56
|
import {
|
|
57
57
|
assertRuntimeModelCompatible,
|
|
58
58
|
getAgentRuntime,
|
|
@@ -62,13 +62,13 @@ import {
|
|
|
62
62
|
import {
|
|
63
63
|
PlanLimitError,
|
|
64
64
|
assertEmployeeLimitSync
|
|
65
|
-
} from "./chunk-
|
|
65
|
+
} from "./chunk-HIIXCAEE.js";
|
|
66
66
|
import {
|
|
67
67
|
getSessionKey
|
|
68
68
|
} from "./chunk-CVYC6DUW.js";
|
|
69
69
|
import {
|
|
70
70
|
writeMemoryViaDaemon
|
|
71
|
-
} from "./chunk-
|
|
71
|
+
} from "./chunk-QZL6E4UB.js";
|
|
72
72
|
import {
|
|
73
73
|
AGENT_IDENTITY_TOKEN_ENV,
|
|
74
74
|
getDaemonAgentIdentityBroker
|
|
@@ -96,13 +96,13 @@ import {
|
|
|
96
96
|
loadEmployeesSync,
|
|
97
97
|
offloadReadIfMain,
|
|
98
98
|
offloadReadQuery
|
|
99
|
-
} from "./chunk-
|
|
99
|
+
} from "./chunk-5DCCKHDY.js";
|
|
100
100
|
import {
|
|
101
101
|
RUNTIME_TABLE
|
|
102
102
|
} from "./chunk-WNBZJSQT.js";
|
|
103
103
|
import {
|
|
104
104
|
loadDeviceId
|
|
105
|
-
} from "./chunk-
|
|
105
|
+
} from "./chunk-DKBPCOU4.js";
|
|
106
106
|
import {
|
|
107
107
|
EXE_AI_DIR
|
|
108
108
|
} from "./chunk-QMSEL5YS.js";
|
|
@@ -1528,7 +1528,7 @@ async function createTaskCore(input) {
|
|
|
1528
1528
|
if (isCoordinatorSession) {
|
|
1529
1529
|
earlySessionScope = resolved;
|
|
1530
1530
|
} else {
|
|
1531
|
-
const { getSessionProject } = await import("./session-scope-
|
|
1531
|
+
const { getSessionProject } = await import("./session-scope-LG2J4EMQ.js");
|
|
1532
1532
|
const sessionProject = getSessionProject(resolved);
|
|
1533
1533
|
if (sessionProject && sessionProject !== input.projectName) {
|
|
1534
1534
|
scopeMismatchWarning = `session/project mismatch: session "${resolved}" owns "${sessionProject}" but task targets "${input.projectName}". Routed to default scope.`;
|
|
@@ -1832,7 +1832,7 @@ async function buildTaskRowsStatement(opts) {
|
|
|
1832
1832
|
}
|
|
1833
1833
|
if (opts.founderId !== null) {
|
|
1834
1834
|
try {
|
|
1835
|
-
const { founderScopeFilter } = await import("./founder-context-
|
|
1835
|
+
const { founderScopeFilter } = await import("./founder-context-ZFZC4UHO.js");
|
|
1836
1836
|
const founderFilter = founderScopeFilter(opts.founderId);
|
|
1837
1837
|
const cleaned = founderFilter.sql.replace(/^\s*AND\s+/, "");
|
|
1838
1838
|
conditions.push(cleaned);
|
|
@@ -5158,7 +5158,7 @@ async function verifyPaneAtCapacity(sessionName) {
|
|
|
5158
5158
|
reason: `capture-pane failed: ${err instanceof Error ? err.message : String(err)}`
|
|
5159
5159
|
};
|
|
5160
5160
|
}
|
|
5161
|
-
const { isAtCapacity } = await import("./capacity-monitor-
|
|
5161
|
+
const { isAtCapacity } = await import("./capacity-monitor-FKMQXORX.js");
|
|
5162
5162
|
if (!isAtCapacity(pane)) {
|
|
5163
5163
|
return {
|
|
5164
5164
|
atCapacity: false,
|
|
@@ -5392,7 +5392,7 @@ async function countScopedPendingReviews(targetSession, reviewer) {
|
|
|
5392
5392
|
}
|
|
5393
5393
|
async function countScopedOpenTasks(targetSession, agentId) {
|
|
5394
5394
|
try {
|
|
5395
|
-
const { fastDbInit } = await import("./fast-db-init-
|
|
5395
|
+
const { fastDbInit } = await import("./fast-db-init-SCTOOIUT.js");
|
|
5396
5396
|
const client = await fastDbInit();
|
|
5397
5397
|
const scope = extractRootExe(targetSession);
|
|
5398
5398
|
if (!scope) return 0;
|
|
@@ -5447,7 +5447,7 @@ function buildScopedInProgressTaskQuery(targetSession) {
|
|
|
5447
5447
|
async function findScopedInProgressTaskId(targetSession) {
|
|
5448
5448
|
const q = buildScopedInProgressTaskQuery(targetSession);
|
|
5449
5449
|
if (!q) return null;
|
|
5450
|
-
const { fastDbInit } = await import("./fast-db-init-
|
|
5450
|
+
const { fastDbInit } = await import("./fast-db-init-SCTOOIUT.js");
|
|
5451
5451
|
const client = await fastDbInit();
|
|
5452
5452
|
const result = await client.execute(q);
|
|
5453
5453
|
const id = result.rows[0]?.id;
|
|
@@ -5568,7 +5568,7 @@ function sendIntercom(targetSession, opts) {
|
|
|
5568
5568
|
const ledgerEnv = (process.env.EXE_NOTIFICATION_LEDGER ?? "").trim().toLowerCase();
|
|
5569
5569
|
if (ledgerEnv === "shadow" || ledgerEnv === "on") {
|
|
5570
5570
|
const ledgerScope = opts && "callerSessionScope" in opts ? opts.callerSessionScope : void 0;
|
|
5571
|
-
void import("./notification-ledger-
|
|
5571
|
+
void import("./notification-ledger-6QRLQW4Q.js").then((m) => m.recordShadowNudge(targetSession, reason, ledgerScope, { force: opts?.force })).catch(() => {
|
|
5572
5572
|
});
|
|
5573
5573
|
}
|
|
5574
5574
|
if (!opts?.force && isDebounced(targetSession)) {
|
|
@@ -5704,7 +5704,7 @@ function scheduleDeferredSpawnNudge(input) {
|
|
|
5704
5704
|
return;
|
|
5705
5705
|
}
|
|
5706
5706
|
queueIntercom(input.sessionName, `spawn nudge failed after ${attempt} attempts: ${msg}`, "signal");
|
|
5707
|
-
void import("./notifications-
|
|
5707
|
+
void import("./notifications-7B6D7Y5C.js").then(({ writeNotification: writeNotification2 }) => writeNotification2({
|
|
5708
5708
|
agentId: getCoordinatorName(),
|
|
5709
5709
|
agentRole: "COO",
|
|
5710
5710
|
event: "error_spike",
|
|
@@ -5798,7 +5798,7 @@ async function sendIntercomAsync(targetSession, opts) {
|
|
|
5798
5798
|
let ledgerClaim = null;
|
|
5799
5799
|
if (authoritativeLedger) {
|
|
5800
5800
|
try {
|
|
5801
|
-
const { claimAuthoritativeNudge } = await import("./notification-ledger-
|
|
5801
|
+
const { claimAuthoritativeNudge } = await import("./notification-ledger-6QRLQW4Q.js");
|
|
5802
5802
|
const claim2 = await claimAuthoritativeNudge(
|
|
5803
5803
|
targetSession,
|
|
5804
5804
|
reason,
|
|
@@ -5821,7 +5821,7 @@ async function sendIntercomAsync(targetSession, opts) {
|
|
|
5821
5821
|
const markLedgerDelivered = async () => {
|
|
5822
5822
|
if (!ledgerClaim) return;
|
|
5823
5823
|
try {
|
|
5824
|
-
const { markNudgeDelivered } = await import("./notification-ledger-
|
|
5824
|
+
const { markNudgeDelivered } = await import("./notification-ledger-6QRLQW4Q.js");
|
|
5825
5825
|
await markNudgeDelivered(ledgerClaim.id, ledgerClaim.sessionScope);
|
|
5826
5826
|
} catch {
|
|
5827
5827
|
}
|
|
@@ -5829,7 +5829,7 @@ async function sendIntercomAsync(targetSession, opts) {
|
|
|
5829
5829
|
const markLedgerFailed = async (error) => {
|
|
5830
5830
|
if (!ledgerClaim) return;
|
|
5831
5831
|
try {
|
|
5832
|
-
const { markNudgeDeliveryFailed } = await import("./notification-ledger-
|
|
5832
|
+
const { markNudgeDeliveryFailed } = await import("./notification-ledger-6QRLQW4Q.js");
|
|
5833
5833
|
await markNudgeDeliveryFailed(ledgerClaim.id, error, ledgerClaim.sessionScope);
|
|
5834
5834
|
} catch {
|
|
5835
5835
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
registerScopedQueryChokepoint,
|
|
3
3
|
scopedQueryChokepointStatus
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-RUVO3NJC.js";
|
|
5
5
|
import {
|
|
6
6
|
getClient
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-5DCCKHDY.js";
|
|
8
8
|
|
|
9
9
|
// src/lib/org-scoped-rows.ts
|
|
10
10
|
var SCOPED_QUERY_MAX_LIMIT = 200;
|