@askexenow/exe-os 0.9.384 → 0.9.387
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/.dist-verified.json +3 -3
- package/dist/{active-agent-F5V4E4UL.js → active-agent-B2RK62MI.js} +4 -4
- package/dist/{active-agent-YTBB4ZQM.js → active-agent-I3JL4NRS.js} +4 -4
- package/dist/{agent-defs-generator-7TFISIJQ.js → agent-defs-generator-JZF6ZPCY.js} +2 -2
- package/dist/{agentic-ontology-XVTUVV7W.js → agentic-ontology-Y23IUPRF.js} +1 -1
- package/dist/{backfill-metadata-J6MXIDCW.js → backfill-metadata-5YPOOBT6.js} +6 -6
- package/dist/{backup-verify-6DVBQMDP.js → backup-verify-7M5WDE64.js} +1 -1
- package/dist/{behavior-injection-XDA7ZCYN.js → behavior-injection-4AOTSXRV.js} +9 -9
- package/dist/{behavior-promotion-4VLQ7LXK.js → behavior-promotion-YXJNIY4N.js} +8 -8
- package/dist/{behaviors-SCCZP7RZ.js → behaviors-7RRWAZE2.js} +7 -7
- package/dist/bin/agentic-ontology-backfill.js +7 -7
- package/dist/bin/agentic-reflection-backfill.js +8 -8
- package/dist/bin/agentic-semantic-label.js +7 -7
- package/dist/bin/backfill-conversations.js +6 -6
- package/dist/bin/backfill-responses.js +6 -6
- package/dist/bin/backfill-vectors.js +6 -6
- package/dist/bin/bulk-sync-postgres.js +12 -12
- package/dist/bin/cc-doctor.js +9 -9
- package/dist/bin/cleanup-stale-review-tasks.js +37 -27
- package/dist/bin/cli.js +21 -21
- package/dist/bin/customer-readiness.js +55 -25
- package/dist/bin/deferred-daemon-restart.js +87 -87
- package/dist/bin/exe-agent-config.js +2 -2
- package/dist/bin/exe-agent.js +5 -5
- package/dist/bin/exe-assign.js +7 -7
- package/dist/bin/exe-boot.js +36 -36
- package/dist/bin/exe-call.js +4 -4
- package/dist/bin/exe-cicd.js +19 -8
- package/dist/bin/exe-cloud.js +13 -13
- package/dist/bin/exe-config-dump.js +2 -2
- package/dist/bin/exe-dispatch.js +16 -16
- package/dist/bin/exe-doctor.js +6 -6
- package/dist/bin/exe-export-behaviors.js +11 -11
- package/dist/bin/exe-forget.js +9 -9
- package/dist/bin/exe-gateway.js +8 -8
- package/dist/bin/exe-grant.js +1 -1
- package/dist/bin/exe-healthcheck.js +9 -9
- package/dist/bin/exe-heartbeat.js +21 -21
- package/dist/bin/exe-kill.js +20 -20
- package/dist/bin/exe-launch-agent.js +26 -26
- package/dist/bin/exe-mcp.js +5 -5
- package/dist/bin/exe-memory-reads.js +6 -6
- package/dist/bin/exe-new-employee.js +8 -8
- package/dist/bin/exe-os-mcp-proxy.js +5 -5
- package/dist/bin/exe-pending-messages.js +16 -16
- package/dist/bin/exe-pending-notifications.js +15 -15
- package/dist/bin/exe-pending-reviews.js +16 -16
- package/dist/bin/exe-preflight.js +1 -1
- package/dist/bin/exe-rename.js +4 -4
- package/dist/bin/exe-review.js +51 -49
- package/dist/bin/exe-search.js +8 -8
- package/dist/bin/exe-session-cleanup.js +21 -21
- package/dist/bin/exe-settings.js +12 -12
- package/dist/bin/exe-start-codex.js +17 -17
- package/dist/bin/exe-start-opencode.js +15 -15
- package/dist/bin/exe-status.js +17 -17
- package/dist/bin/exe-support.js +3 -3
- package/dist/bin/exe-team.js +4 -4
- package/dist/bin/exe-verify-running-images.js +1 -1
- package/dist/bin/git-sweep.js +17 -17
- package/dist/bin/graph-backfill.js +7 -7
- package/dist/bin/graph-export.js +7 -7
- package/dist/bin/hooks-cli.js +1 -1
- package/dist/bin/import-history.js +11 -11
- package/dist/bin/install.js +89 -89
- package/dist/bin/intercom-check.js +5 -5
- package/dist/bin/mcp-sessions.js +2 -2
- package/dist/bin/orchestration-metrics.js +4 -4
- package/dist/bin/postgres-agentic-reflection-backfill.js +2 -2
- package/dist/bin/postgres-agentic-semantic-backfill.js +1 -1
- package/dist/bin/pre-build-guard.js +55 -16
- package/dist/bin/prune-orphan-chunks.js +41 -7
- package/dist/bin/reconcile-backlog.js +5 -3
- package/dist/bin/registry-proxy.js +1 -1
- package/dist/bin/repair-document-chunks.js +6 -6
- package/dist/bin/scan-tasks.js +16 -16
- package/dist/bin/setup.js +1 -1
- package/dist/bin/shard-migrate.js +6 -6
- package/dist/bin/stack-update.js +203 -34
- package/dist/bin/verify-stack.js +2 -2
- package/dist/bin/vps-health-gate.js +1 -1
- package/dist/{boot-generation-Q7LGQ3AO.js → boot-generation-VOFY43WG.js} +3 -3
- package/dist/{boot-review-sections-G5774FR5.js → boot-review-sections-WLYE6NUR.js} +14 -14
- package/dist/build-manifest.json +910 -910
- package/dist/{capability-cards-I3RHCF4F.js → capability-cards-2OBIKKX4.js} +2 -2
- package/dist/{capacity-monitor-7I7GDONU.js → capacity-monitor-IBFXHWPY.js} +16 -16
- package/dist/{catchup-brief-3T5PARIR.js → catchup-brief-GO6WLIT5.js} +21 -21
- package/dist/{chunk-OBBO6EJR.js → chunk-2ARLSZG4.js} +1 -1
- package/dist/{chunk-C5ISP5FO.js → chunk-2BKJAOO4.js} +11 -1
- package/dist/{chunk-MOANZQXF.js → chunk-2BWLCCHH.js} +1 -1
- package/dist/{chunk-GL47M7NY.js → chunk-2GUT5CWI.js} +74 -10
- package/dist/{chunk-VHHX4UCP.js → chunk-2XCUUS4V.js} +1 -1
- package/dist/{chunk-EOTZSAQL.js → chunk-37TRRK2Y.js} +1 -1
- package/dist/{chunk-RDWIKDMY.js → chunk-3EBK6P4M.js} +8 -20
- package/dist/{chunk-VF2KRROX.js → chunk-3MF6WQ4C.js} +1 -1
- package/dist/{chunk-EUGEFBGV.js → chunk-3UY535CJ.js} +3 -3
- package/dist/{chunk-JA3Y5TV6.js → chunk-4K6GSRSY.js} +36 -8
- package/dist/{chunk-I5XIW2BP.js → chunk-4LGKDHPX.js} +6 -6
- package/dist/{chunk-4AAMFWJT.js → chunk-4LYN5YNO.js} +2 -2
- package/dist/{chunk-R3CZWFFC.js → chunk-54FUOVUF.js} +9 -3
- package/dist/{chunk-XUZK23V7.js → chunk-5R23LRUP.js} +2 -2
- package/dist/{chunk-TNS63ATU.js → chunk-5SPQBSKC.js} +81 -13
- package/dist/{chunk-YRQ26MNP.js → chunk-64KFPFTH.js} +2 -2
- package/dist/{chunk-JFTUAV4J.js → chunk-6EUXAOZQ.js} +1 -1
- package/dist/{chunk-SDYWZRPN.js → chunk-6LU7ZXES.js} +1 -1
- package/dist/{chunk-VLBHZ6TF.js → chunk-6N6RGS7J.js} +2 -2
- package/dist/{chunk-2FKU4ZEO.js → chunk-6NS3DX36.js} +9 -9
- package/dist/{chunk-P2UY34XE.js → chunk-7MYX6M72.js} +4 -4
- package/dist/{chunk-E7C2WNR5.js → chunk-7NBSOBWJ.js} +4 -4
- package/dist/{chunk-AHESD3KW.js → chunk-AEEW4PCH.js} +1 -1
- package/dist/{chunk-MPZ2AVNS.js → chunk-AHVXVA46.js} +1 -1
- package/dist/{chunk-KXYKSLW4.js → chunk-AOQDY7HP.js} +186 -29
- package/dist/{chunk-AGC2V7JS.js → chunk-B6CBN6EF.js} +1 -1
- package/dist/{chunk-C5HUMAA7.js → chunk-B7WVYLAQ.js} +67 -15
- package/dist/{chunk-QFAFKEB5.js → chunk-BFOLGB4D.js} +184 -45
- package/dist/{chunk-T5FEAQES.js → chunk-BKYIWS2X.js} +1 -1
- package/dist/{chunk-E3ZM32LF.js → chunk-CDBII52V.js} +11 -2
- package/dist/{chunk-ALRHGEAJ.js → chunk-CI5R7QV7.js} +1 -1
- package/dist/{chunk-P3QQ52QK.js → chunk-CWWJEMJ5.js} +2 -2
- package/dist/{chunk-PL4CFSQ7.js → chunk-DI4DONAA.js} +1 -1
- package/dist/{chunk-ZOTTYCP5.js → chunk-ETUNXGX7.js} +3 -3
- package/dist/{chunk-3B6FLNLV.js → chunk-EZH2LGJX.js} +1 -1
- package/dist/{chunk-LKTN22L6.js → chunk-FH7WKTVF.js} +21 -17
- package/dist/{chunk-LR5O2XWZ.js → chunk-FHSMIHLQ.js} +5 -5
- package/dist/{chunk-D3LXVAIQ.js → chunk-GD4OC5TP.js} +237 -74
- package/dist/{chunk-R5E7WNAC.js → chunk-GFBEIPLT.js} +3 -3
- package/dist/{chunk-NF5FOSLD.js → chunk-GGPYYM2R.js} +1 -1
- package/dist/{chunk-MROSARM5.js → chunk-GIO43XOP.js} +1 -1
- package/dist/{chunk-VOVFUKEB.js → chunk-GMKDUWTJ.js} +1 -1
- package/dist/{chunk-46VSBDUW.js → chunk-GN23NAD6.js} +2 -2
- package/dist/{chunk-P4PIZOL2.js → chunk-GXSDFCON.js} +3 -3
- package/dist/{chunk-MKM6D7JM.js → chunk-H274T3MD.js} +42 -5
- package/dist/{chunk-P2VVMGMI.js → chunk-H2N47OFR.js} +17 -9
- package/dist/{chunk-RB3J2WYQ.js → chunk-HIYGHRLV.js} +1 -1
- package/dist/{chunk-MC4IM2CC.js → chunk-HQFATN5L.js} +4 -4
- package/dist/{chunk-S26CV7BE.js → chunk-HTGSVQJP.js} +2 -2
- package/dist/{chunk-FVLNNNH6.js → chunk-I4HK2DHC.js} +2 -2
- package/dist/{chunk-APL7HUE3.js → chunk-I6FI4VPQ.js} +182 -28
- package/dist/{chunk-XEBKIWI7.js → chunk-IE4IHF5U.js} +7 -7
- package/dist/{chunk-BPVFZ6Q4.js → chunk-IOIBJY5D.js} +2 -2
- package/dist/{chunk-6YDY6ZTD.js → chunk-IWRCPC65.js} +3 -3
- package/dist/{chunk-HA63SH5W.js → chunk-IWY2OGQG.js} +1 -1
- package/dist/{chunk-DYVLEMKS.js → chunk-JAUIIIWQ.js} +1 -1
- package/dist/{chunk-PLII76NJ.js → chunk-JBUCA4OX.js} +33 -6
- package/dist/{chunk-EGOEB42T.js → chunk-JIIWN637.js} +3 -3
- package/dist/{chunk-JFJP6ATJ.js → chunk-JKVITSQE.js} +1 -1
- package/dist/{chunk-W6BZ4UGA.js → chunk-JORQ5EUU.js} +1 -1
- package/dist/{chunk-PWC3C5ME.js → chunk-JW4K6FJA.js} +4 -4
- package/dist/{chunk-VF3BZOZK.js → chunk-JY6IU2XF.js} +1 -1
- package/dist/{chunk-RVO5O5SR.js → chunk-KVH7IVG6.js} +6 -6
- package/dist/{chunk-3OX34OC3.js → chunk-LPMIQZDB.js} +6 -6
- package/dist/{chunk-W3KPQE7H.js → chunk-LSPNZX4H.js} +3 -3
- package/dist/{chunk-EYMFVITZ.js → chunk-MCEUIG26.js} +1 -1
- package/dist/{chunk-4YNA3CM6.js → chunk-MEVMJZST.js} +230 -56
- package/dist/{chunk-7J2ZQ4XN.js → chunk-MGWAAKNL.js} +1 -1
- package/dist/{chunk-3RGTLZNO.js → chunk-MMHKSDG3.js} +12 -12
- package/dist/{chunk-LSNBTGW4.js → chunk-N5STNP44.js} +1 -1
- package/dist/{chunk-IGJMS7C5.js → chunk-NBRYSWMU.js} +2 -2
- package/dist/{chunk-ZBPZDADW.js → chunk-NHUI52BC.js} +3 -3
- package/dist/{chunk-NYLJQ2M2.js → chunk-NPJDYPEW.js} +4 -4
- package/dist/{chunk-JJTPPAZY.js → chunk-NR3NACEK.js} +397 -225
- package/dist/{chunk-MUCNYSJP.js → chunk-NRLJOV7M.js} +32 -4
- package/dist/{chunk-L63V25HS.js → chunk-O6H2WG4X.js} +3 -3
- package/dist/{chunk-VJEJ7JNB.js → chunk-OFCTRALK.js} +1 -1
- package/dist/{chunk-ZT4LFTUJ.js → chunk-OH5D7YAO.js} +1 -1
- package/dist/{chunk-6BJCDWSM.js → chunk-OH6B7ICF.js} +1 -1
- package/dist/{chunk-PUBA5B4M.js → chunk-OKQCTYLW.js} +13 -9
- package/dist/{chunk-B7AMNZTC.js → chunk-OKVEJAZM.js} +2 -2
- package/dist/{chunk-CH7BUBP3.js → chunk-OONTCDVO.js} +3 -2
- package/dist/{chunk-NVFNADTX.js → chunk-OP376ITX.js} +3 -3
- package/dist/{chunk-JDDM6C57.js → chunk-ORHX5E7L.js} +1 -1
- package/dist/{chunk-FMIYFHLE.js → chunk-OT5XROGM.js} +2 -2
- package/dist/{chunk-KTKIFXIP.js → chunk-OYDTMTRC.js} +1 -1
- package/dist/{chunk-XSUALA32.js → chunk-PHH6LI6T.js} +2 -2
- package/dist/{chunk-KILR4FBR.js → chunk-PIDFJGTO.js} +3 -3
- package/dist/{chunk-YLFCH3VA.js → chunk-Q7QD323J.js} +97 -26
- package/dist/{chunk-P4XLIPB7.js → chunk-QCMOD4Y4.js} +1 -1
- package/dist/{chunk-72V3S44T.js → chunk-QSYY4R6R.js} +24 -9
- package/dist/{chunk-F4BBMIPG.js → chunk-RBFPPNXS.js} +2 -2
- package/dist/{chunk-GSLFH4AI.js → chunk-RO5V6HOB.js} +3 -3
- package/dist/{chunk-L3VUW5M4.js → chunk-RSDDZSEG.js} +1 -1
- package/dist/{chunk-CYCIX7AW.js → chunk-RSONCRBT.js} +2 -2
- package/dist/{chunk-LFUBEHFW.js → chunk-RT57D7C4.js} +39 -1
- package/dist/{chunk-UXN4BICC.js → chunk-RVRM6KW5.js} +1 -1
- package/dist/{chunk-PRDDPQLC.js → chunk-RWN2YDZ4.js} +4 -4
- package/dist/{chunk-3SUPEE6H.js → chunk-S4YBVRQW.js} +3 -3
- package/dist/{chunk-MB47DRF5.js → chunk-S6X2K77B.js} +2 -2
- package/dist/{chunk-7UHZBVP3.js → chunk-TU63ZMMS.js} +60 -24
- package/dist/{chunk-ELCRJGCH.js → chunk-TXCK3FV2.js} +2 -2
- package/dist/{chunk-RZN2LEAK.js → chunk-UQUFBENW.js} +3 -3
- package/dist/{chunk-2PZTMSMG.js → chunk-UTCTAAI5.js} +5 -5
- package/dist/{chunk-YLB365YX.js → chunk-UTJN3XEG.js} +3 -3
- package/dist/{chunk-QNZ4562V.js → chunk-VA47XBUX.js} +1 -1
- package/dist/{chunk-AZSTIAVL.js → chunk-VBPYYJPC.js} +1 -1
- package/dist/{chunk-CHIUS5QB.js → chunk-WN4RLIQA.js} +3 -3
- package/dist/{chunk-CM7N5MBY.js → chunk-XDU6WLTZ.js} +5 -5
- package/dist/{chunk-LFBLQE2P.js → chunk-Y42HGHXW.js} +1 -1
- package/dist/{chunk-P3UX5EH4.js → chunk-YGSWRRFH.js} +3 -3
- package/dist/{chunk-FHIFTSPL.js → chunk-YZ3I3PYP.js} +7 -2
- package/dist/{chunk-UX2EO653.js → chunk-Z2RU4QH5.js} +1 -1
- package/dist/{chunk-UOPCVFVR.js → chunk-ZAUHCQYK.js} +11 -11
- package/dist/{chunk-ELEGH4DX.js → chunk-ZUGQPYUY.js} +51 -4
- package/dist/{cleanup-graph-garbage-VQAJ2RBT.js → cleanup-graph-garbage-2XC5QBRR.js} +8 -8
- package/dist/{cloud-sync-command-J7NEFUY7.js → cloud-sync-command-VFH5JQWR.js} +2 -2
- package/dist/{cloud-sync-db-init-KWEMNMGA.js → cloud-sync-db-init-BZPNGF57.js} +1 -1
- package/dist/{cloud-sync-shutdown-P63AUTUI.js → cloud-sync-shutdown-6NSOC423.js} +2 -2
- package/dist/{co-activation-7IHRPBZN.js → co-activation-FJRUJYTD.js} +2 -2
- package/dist/{co-occurrence-R5AG4OAU.js → co-occurrence-BT3MOXL7.js} +6 -6
- package/dist/{content-extractor-ZLXC6GNR.js → content-extractor-OGXETBOX.js} +2 -2
- package/dist/{conversation-entity-extractor-7FRKLLBD.js → conversation-entity-extractor-QNSSPQWA.js} +4 -4
- package/dist/conversations-retention-XTBFJBUM.js +166 -0
- package/dist/{crdt-sync-IFRZOEIS.js → crdt-sync-CGMV77SA.js} +1 -1
- package/dist/{crm-webhook-L2S63ASV.js → crm-webhook-P75KIKIW.js} +2 -2
- package/dist/{cto-delegation-gate-3WU7OHX7.js → cto-delegation-gate-MZFADWVI.js} +15 -15
- package/dist/{daemon-orchestration-3VQYKLOR.js → daemon-orchestration-JSG2HFW2.js} +23 -19
- package/dist/{doc-graph-extractor-YIR5E7OF.js → doc-graph-extractor-GT37KT2Q.js} +6 -6
- package/dist/{documents-QEHPTYIY.js → documents-HA2MACFK.js} +7 -7
- package/dist/{dreaming-LNFE7DTN.js → dreaming-B6IMGYKE.js} +19 -19
- package/dist/{employee-boot-brief-ZTXDYNWM.js → employee-boot-brief-WULO5JFD.js} +23 -23
- package/dist/{entity-boost-R5N6JWXD.js → entity-boost-DLWE2J6N.js} +1 -1
- package/dist/{exe-drift-WYSJVZFO.js → exe-drift-ORK26KWM.js} +3 -3
- package/dist/{exe-export-GOLNAEAV.js → exe-export-EESPIBX6.js} +8 -8
- package/dist/{exe-import-U4BSI6OH.js → exe-import-SJZRARKE.js} +8 -8
- package/dist/{exe-key-V42G3NGO.js → exe-key-ZRJ7J4KH.js} +87 -87
- package/dist/{exe-org-U4GLQ6OP.js → exe-org-BIPZMGIH.js} +67 -36
- package/dist/{exe-snapshot-U7ONBYNY.js → exe-snapshot-RC33YE4G.js} +21 -21
- package/dist/{fast-db-init-W3NGKAEU.js → fast-db-init-LSDW3AP3.js} +1 -1
- package/dist/{founder-context-ZSIBRVDM.js → founder-context-TVJUSBFS.js} +2 -2
- package/dist/{founder-monitor-envelope-L3IWZLFY.js → founder-monitor-envelope-VMQPVKCN.js} +1 -1
- package/dist/gateway/index.js +9 -9
- package/dist/{git-staleness-OF24QXFZ.js → git-staleness-ZU45ORBY.js} +2 -2
- package/dist/{global-procedures-WSIOWO43.js → global-procedures-TSKWM4YS.js} +3 -3
- package/dist/{graph-auto-extract-IEVVN3L3.js → graph-auto-extract-6TKT5DXT.js} +6 -6
- package/dist/{graph-query-JDZWAVCU.js → graph-query-WGVVDQIA.js} +1 -1
- package/dist/{graph-rag-BKAD2XQA.js → graph-rag-E75K54QT.js} +4 -4
- package/dist/{hook-integrity-TPWDGX2M.js → hook-integrity-33F4OTV6.js} +1 -1
- package/dist/{hook-prefetch-FD6VGJJA.js → hook-prefetch-ZSB2IAIW.js} +16 -16
- package/dist/hooks/bug-report-worker.js +19 -19
- package/dist/hooks/codex-stop-task-finalizer.js +21 -21
- package/dist/hooks/commit-complete.js +19 -19
- package/dist/hooks/error-recall.js +11 -11
- package/dist/hooks/exe-heartbeat-hook.js +5 -5
- package/dist/hooks/ingest-worker.js +8 -8
- package/dist/hooks/ingest.js +14 -14
- package/dist/hooks/instructions-loaded.js +7 -7
- package/dist/hooks/manifest.json +20 -20
- package/dist/hooks/notification.js +6 -6
- package/dist/hooks/post-compact.js +5 -5
- package/dist/hooks/post-tool-combined.js +12 -12
- package/dist/hooks/pre-compact.js +19 -19
- package/dist/hooks/pre-tool-use.js +2 -2
- package/dist/hooks/prompt-submit.js +35 -35
- package/dist/hooks/session-end.js +23 -23
- package/dist/hooks/session-start.js +26 -18
- package/dist/hooks/stop.js +22 -22
- package/dist/hooks/subagent-stop.js +22 -22
- package/dist/hooks/summary-worker.js +22 -22
- package/dist/index.js +25 -25
- package/dist/{installer-OTI5SA43.js → installer-PS2GWVJU.js} +7 -7
- package/dist/{installer-SRJGE4GU.js → installer-VE4Y7EYQ.js} +7 -7
- package/dist/{installer-NMOBSEZ2.js → installer-VTNQNGSP.js} +7 -7
- package/dist/{intercom-queue-4FFXCBHO.js → intercom-queue-GIE6URPU.js} +14 -14
- package/dist/lib/cloud-sync.js +14 -12
- package/dist/lib/consolidation.js +8 -8
- package/dist/lib/database.js +2 -2
- package/dist/lib/db-backup.js +1 -1
- package/dist/lib/db-write-worker-client.js +1 -1
- package/dist/lib/db-write-worker.js +11 -7
- package/dist/lib/db.js +2 -2
- package/dist/lib/delivery-truth.js +5 -1
- package/dist/lib/device-registry.js +1 -1
- package/dist/lib/employee-templates.js +4 -4
- package/dist/lib/employees.js +2 -2
- package/dist/lib/exe-daemon.js +90 -88
- package/dist/lib/hybrid-search.js +8 -8
- package/dist/lib/identity.js +2 -2
- package/dist/lib/license.js +8 -4
- package/dist/lib/messaging.js +15 -15
- package/dist/lib/post-tool-memory.js +6 -6
- package/dist/lib/registry-proxy.js +1 -1
- package/dist/lib/reminders.js +3 -3
- package/dist/lib/schedules.js +7 -7
- package/dist/lib/session-registry.js +4 -4
- package/dist/lib/skill-learning.js +8 -8
- package/dist/lib/status-brief.js +2 -2
- package/dist/lib/store.js +6 -6
- package/dist/lib/task-router.js +3 -3
- package/dist/lib/tasks.js +16 -16
- package/dist/lib/tmux-routing.js +14 -14
- package/dist/lib/tmux-status.js +3 -1
- package/dist/lib/token-spend.js +3 -3
- package/dist/{license-gate-R4JWTWM4.js → license-gate-JOBLFMWY.js} +3 -3
- package/dist/{license-recheck-3MBJ4IJX.js → license-recheck-BZ32WRVP.js} +1 -1
- package/dist/{license-sync-BVSG3WMW.js → license-sync-AXGGCZSG.js} +119 -8
- package/dist/{local-secret-inventory-JWNBHZZ4.js → local-secret-inventory-MJT7NJLY.js} +2 -2
- package/dist/mcp/register-tools.js +86 -86
- package/dist/mcp/server.js +86 -86
- package/dist/mcp/tools/complete-reminder.js +4 -4
- package/dist/mcp/tools/create-reminder.js +4 -4
- package/dist/mcp/tools/create-task.js +19 -19
- package/dist/mcp/tools/deactivate-behavior.js +10 -10
- package/dist/mcp/tools/list-reminders.js +4 -4
- package/dist/mcp/tools/list-tasks.js +19 -19
- package/dist/mcp/tools/send-message.js +18 -18
- package/dist/mcp/tools/update-task.js +17 -17
- package/dist/{mcp-child-registry-TIZERM7O.js → mcp-child-registry-5VUG5ATZ.js} +1 -1
- package/dist/{mcp-http-config-VUMSFWFH.js → mcp-http-config-KC732KUS.js} +5 -5
- package/dist/{mcp-session-identity-DZHWEJRV.js → mcp-session-identity-BL4MEFRI.js} +14 -14
- package/dist/{memory-cards-JVXTMSAT.js → memory-cards-VY5SUEOT.js} +6 -6
- package/dist/{memory-graph-extractor-PPBJMYFJ.js → memory-graph-extractor-KUAYIBYB.js} +7 -7
- package/dist/{memory-poisoning-defense-K5Q74XQ4.js → memory-poisoning-defense-VLLYEI7P.js} +2 -2
- package/dist/{memory-pressure-watchdog-YMJH5CSA.js → memory-pressure-watchdog-Y2WUPNXY.js} +15 -15
- package/dist/{memory-reflection-7BZWIHRE.js → memory-reflection-DZRRYMWH.js} +6 -6
- package/dist/{notification-ledger-XRAXL5OI.js → notification-ledger-VQKLAZMN.js} +15 -15
- package/dist/{notifications-JE3PX55X.js → notifications-NBCKXUKB.js} +14 -14
- package/dist/{orchestration-events-JCQ5F5IJ.js → orchestration-events-UE4RLVWY.js} +3 -3
- package/dist/{orchestrator-X65INDTR.js → orchestrator-YCS6W4OS.js} +16 -16
- package/dist/{org-brief-session-3PQ22UIX.js → org-brief-session-JQHHCCGX.js} +7 -7
- package/dist/{org-consent-policy-VGELJ7K7.js → org-consent-policy-DWGDWXMB.js} +1 -1
- package/dist/{org-join-6TO5ZYUZ.js → org-join-OFD63DUX.js} +3 -3
- package/dist/{org-key-admin-XHYVRRAZ.js → org-key-admin-DFLTIXHU.js} +4 -4
- package/dist/{org-membership-Y7T2BS57.js → org-membership-CLP2LDI5.js} +1 -1
- package/dist/{org-partner-config-OP4NEUNF.js → org-partner-config-3SEWKDDO.js} +2 -2
- package/dist/{org-partner-runtime-YNVUNT2R.js → org-partner-runtime-RC3MYK6L.js} +7 -7
- package/dist/{org-row-visibility-JBBXNYXD.js → org-row-visibility-H4CNVBW3.js} +1 -1
- package/dist/{pipeline-router-EIBB7QNG.js → pipeline-router-7GDTJB5E.js} +3 -3
- package/dist/{plan-limits-MEWXYLEN.js → plan-limits-GCSBJJRA.js} +5 -5
- package/dist/{pre-tool-use-impl-C6KJY22W.js → pre-tool-use-impl-DYGSDG3M.js} +91 -57
- package/dist/{project-name-UYORSNGE.js → project-name-RHWUY3AE.js} +3 -3
- package/dist/{projection-worker-WYFDWS57.js → projection-worker-6CDL4N2W.js} +2 -2
- package/dist/{prospective-memory-E6XBQFJA.js → prospective-memory-JDURSUXI.js} +2 -2
- package/dist/{push-notifications-M7YU63FY.js → push-notifications-MP3T4GH4.js} +15 -15
- package/dist/{reproject-worktree-memories-B5XMGJSD.js → reproject-worktree-memories-WTXQLSLM.js} +14 -14
- package/dist/{reranker-SRA4BR7N.js → reranker-FRNSY3NG.js} +1 -1
- package/dist/{retrieval-health-P2JPZUPV.js → retrieval-health-EXFGOVKR.js} +1 -1
- package/dist/{review-polling-KQPN7IQE.js → review-polling-BFXFQOMG.js} +15 -15
- package/dist/runtime/index.js +18 -18
- package/dist/{session-events-6LDDKKY3.js → session-events-SKRFRHCQ.js} +15 -15
- package/dist/{session-kill-telemetry-5DSRGWCL.js → session-kill-telemetry-HP3FHU55.js} +15 -15
- package/dist/{session-scope-XG5R3P3D.js → session-scope-4U36PKCC.js} +14 -14
- package/dist/{setup-wizard-7QFLZIKT.js → setup-wizard-KHU7Y623.js} +1 -1
- package/dist/{skill-refinement-I5RMAHSC.js → skill-refinement-YWHALWL4.js} +3 -3
- package/dist/{stack-generate-manifest-AKMZ3AUX.js → stack-generate-manifest-L44KUZ62.js} +6 -6
- package/dist/{stack-promote-34CE2HHF.js → stack-promote-RW7WAQHA.js} +6 -6
- package/dist/{stack-release-5PGWV5D4.js → stack-release-7RU2SH65.js} +131 -25
- package/dist/{stack-update-ZQQ5YYPJ.js → stack-update-AJD3FZ4U.js} +5 -5
- package/dist/{steward-gate-AQJ6KT2C.js → steward-gate-Y4QFNWED.js} +3 -3
- package/dist/{subagent-brief-injection-3GU7YAWY.js → subagent-brief-injection-ADDSO74U.js} +26 -26
- package/dist/{subagent-spawn-ledger-52I66CLW.js → subagent-spawn-ledger-OI23OT4I.js} +1 -1
- package/dist/{support-inbox-NY5TB3FN.js → support-inbox-LSCNMSCF.js} +10 -10
- package/dist/{support-outbox-KNI3FR3G.js → support-outbox-MOZSZTI6.js} +2 -2
- package/dist/{task-enforcement-CAA6D2MH.js → task-enforcement-W2WDBAIR.js} +15 -15
- package/dist/{task-request-inbox-QBZVU66E.js → task-request-inbox-4F3VB2B4.js} +1 -1
- package/dist/{task-scope-NHXB4ZRN.js → task-scope-VRVAHE23.js} +20 -14
- package/dist/{tasks-crud-JHSWL5NM.js → tasks-crud-JHADSQ4R.js} +14 -14
- package/dist/{tasks-notify-7PBE4U7T.js → tasks-notify-KSJORZOP.js} +15 -15
- package/dist/{tasks-review-PPPVEE62.js → tasks-review-CBHI5OT7.js} +16 -14
- package/dist/{telemetry-upload-YU2VRNHX.js → telemetry-upload-LRM4CG5G.js} +7 -7
- package/dist/{token-budget-QCMWKG3K.js → token-budget-IIZGO4PI.js} +3 -3
- package/dist/{tool-telemetry-LTOIC64I.js → tool-telemetry-4U4CP4O6.js} +1 -1
- package/dist/tui/App.js +47 -25
- package/dist/{tui-data-NDBXD6U7.js → tui-data-QGL5G67O.js} +18 -18
- package/dist/{update-support-BMJM4NG7.js → update-support-NSJLA64L.js} +13 -13
- package/dist/{whatsapp-QQLDAHUX.js → whatsapp-LLGB5RMQ.js} +1 -1
- package/dist/{wiki-acl-W6WDCVCP.js → wiki-acl-PIYYQZZX.js} +1 -1
- package/dist/{work-claims-6DM32MGO.js → work-claims-3YIDXG3Q.js} +3 -3
- package/dist/{work-state-heartbeat-HG7D4AWJ.js → work-state-heartbeat-PFULN6VV.js} +1 -1
- package/dist/{workflow-engine-ZWC6CCXE.js → workflow-engine-XMMWRP4D.js} +2 -2
- package/dist/{worktree-EMQCPGFE.js → worktree-WILU76HY.js} +4 -4
- package/dist/{worktree-sweep-XVUJZBXV.js → worktree-sweep-6ZGHXF3A.js} +5 -5
- package/package.json +7 -5
- package/release-notes.json +15 -37
- package/stack.release.json +11 -11
- package/dist/conversations-retention-C4BLKFEL.js +0 -54
- /package/dist/{chunk-GIRD7O5X.js → chunk-B7ACMQ2K.js} +0 -0
- /package/dist/{chunk-U2D6PJ5T.js → chunk-DOKN63TW.js} +0 -0
- /package/dist/{chunk-AJK2PVQW.js → chunk-F47NNIP3.js} +0 -0
- /package/dist/{chunk-VROK4X2L.js → chunk-GXQPJA76.js} +0 -0
- /package/dist/{chunk-TKAU7IJ2.js → chunk-GY2KEOVK.js} +0 -0
- /package/dist/{chunk-DN3ZR3UE.js → chunk-IVQGBWJI.js} +0 -0
- /package/dist/{chunk-JRIH6I7D.js → chunk-NQ3ZAYJL.js} +0 -0
- /package/dist/{chunk-XDVOGDBC.js → chunk-P2XGESMD.js} +0 -0
- /package/dist/{chunk-AWWDKF22.js → chunk-XK7JO45D.js} +0 -0
- /package/dist/{chunk-DZN7SDY2.js → chunk-YBD3O77S.js} +0 -0
- /package/dist/{chunk-M4XY4JRK.js → chunk-YKTJBFWH.js} +0 -0
- /package/dist/{core-memory-O6D5UC3T.js → core-memory-EWFVZB2X.js} +0 -0
- /package/dist/{memory-isolation-EBFFC6HF.js → memory-isolation-N3QQAF27.js} +0 -0
- /package/dist/{oauth-server-ZKBUHDFI.js → oauth-server-GTRPZOXH.js} +0 -0
- /package/dist/{project-boot-VEYFCCSL.js → project-boot-BDMMGYZG.js} +0 -0
|
@@ -126,8 +126,32 @@ function declaredArtifactsFromManifest(manifest, options) {
|
|
|
126
126
|
}
|
|
127
127
|
return out;
|
|
128
128
|
}
|
|
129
|
+
var OBSERVATION_MAX_AGE_HOURS = 24;
|
|
130
|
+
function creditObservation(obs, nowMs, maxAgeHours = OBSERVATION_MAX_AGE_HOURS) {
|
|
131
|
+
if (!obs || typeof obs !== "object") {
|
|
132
|
+
return { credited: false, why: "no observation was supplied" };
|
|
133
|
+
}
|
|
134
|
+
const source = typeof obs.source === "string" && obs.source.trim() !== "" ? obs.source : "<unnamed source>";
|
|
135
|
+
if (obs.ok !== true) {
|
|
136
|
+
return { credited: false, why: `${source} did not report success` };
|
|
137
|
+
}
|
|
138
|
+
const atMs = typeof obs.at === "string" ? Date.parse(obs.at) : Number.NaN;
|
|
139
|
+
if (!Number.isFinite(atMs)) {
|
|
140
|
+
return { credited: false, why: `${source} reported success at an unreadable time (${String(obs.at)})` };
|
|
141
|
+
}
|
|
142
|
+
const ageH = (nowMs - atMs) / 36e5;
|
|
143
|
+
if (!(ageH <= maxAgeHours)) {
|
|
144
|
+
return {
|
|
145
|
+
credited: false,
|
|
146
|
+
why: `${source} last succeeded ${ageH.toFixed(1)}h ago, older than the ${maxAgeHours}h window`
|
|
147
|
+
};
|
|
148
|
+
}
|
|
149
|
+
return { credited: true, why: `${source} succeeded ${Math.max(0, ageH).toFixed(1)}h ago` };
|
|
150
|
+
}
|
|
129
151
|
function evaluateDeliveryChannels(input) {
|
|
130
152
|
const { detected, registry, npmFiles } = input;
|
|
153
|
+
const observations = input.observations ?? {};
|
|
154
|
+
const nowMs = input.now ?? Date.now();
|
|
131
155
|
const normalizedFiles = npmFiles.map((f) => f.replace(/^\.\//, "").replace(/\/+$/, ""));
|
|
132
156
|
const covered = (p) => {
|
|
133
157
|
const path = p.replace(/^\.\//, "").replace(/\/+$/, "");
|
|
@@ -180,13 +204,25 @@ function evaluateDeliveryChannels(input) {
|
|
|
180
204
|
});
|
|
181
205
|
continue;
|
|
182
206
|
}
|
|
207
|
+
const credit = creditObservation(observations[d.path], nowMs);
|
|
208
|
+
if (credit.credited) {
|
|
209
|
+
out.push({
|
|
210
|
+
path: d.path,
|
|
211
|
+
channel,
|
|
212
|
+
verdict: "channel-declared",
|
|
213
|
+
evidence: "observation",
|
|
214
|
+
observed: true,
|
|
215
|
+
detail: `${d.path} declares the ${channel} channel, passes the checks that declaration implies, and a deployment WAS observed: ${credit.why}.`
|
|
216
|
+
});
|
|
217
|
+
continue;
|
|
218
|
+
}
|
|
183
219
|
out.push({
|
|
184
220
|
path: d.path,
|
|
185
221
|
channel,
|
|
186
222
|
verdict: "channel-declared",
|
|
187
223
|
evidence: "declaration",
|
|
188
224
|
observed: false,
|
|
189
|
-
detail: `${d.path} declares the ${channel} channel and passes the checks that declaration implies. No deployment was observed \u2014 this says where a change WOULD go, not that it went.`
|
|
225
|
+
detail: `${d.path} declares the ${channel} channel and passes the checks that declaration implies. No deployment was observed (${credit.why}) \u2014 this says where a change WOULD go, not that it went.`
|
|
190
226
|
});
|
|
191
227
|
}
|
|
192
228
|
return out;
|
|
@@ -305,6 +341,8 @@ export {
|
|
|
305
341
|
repositoryKey,
|
|
306
342
|
compareLiveArtifacts,
|
|
307
343
|
declaredArtifactsFromManifest,
|
|
344
|
+
OBSERVATION_MAX_AGE_HOURS,
|
|
345
|
+
creditObservation,
|
|
308
346
|
evaluateDeliveryChannels,
|
|
309
347
|
extractGateCookieNames,
|
|
310
348
|
evaluateAnonymousGate,
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
sendMessage
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-UTJN3XEG.js";
|
|
4
4
|
import {
|
|
5
5
|
getActiveAgent
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-RBFPPNXS.js";
|
|
7
7
|
import {
|
|
8
8
|
resolveExeSession
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-TU63ZMMS.js";
|
|
10
10
|
import {
|
|
11
11
|
getDispatcherSession
|
|
12
12
|
} from "./chunk-PCV52RYM.js";
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
import {
|
|
17
17
|
getCoordinatorName,
|
|
18
18
|
isCoordinatorName
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-2GUT5CWI.js";
|
|
20
20
|
|
|
21
21
|
// src/mcp/tools/send-message.ts
|
|
22
22
|
import { z } from "zod";
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
cleanupCardsForMemories,
|
|
3
3
|
cleanupGraphLinksForMemories
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-GN23NAD6.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-ZAUHCQYK.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-2GUT5CWI.js";
|
|
19
19
|
|
|
20
20
|
// src/lib/consolidation.ts
|
|
21
21
|
import { randomUUID } from "crypto";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getCurrentSessionScope,
|
|
3
3
|
strictSessionScopeFilter
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-TU63ZMMS.js";
|
|
5
5
|
import {
|
|
6
6
|
getProjectName
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-Z2RU4QH5.js";
|
|
8
8
|
|
|
9
9
|
// src/lib/session-events.ts
|
|
10
10
|
import { randomUUID } from "crypto";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ensureAgentSymlink
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-OH6B7ICF.js";
|
|
4
4
|
import {
|
|
5
5
|
ensureWorktree,
|
|
6
6
|
ensureWorktreeAsync,
|
|
@@ -8,13 +8,13 @@ import {
|
|
|
8
8
|
getMainRepoRoot,
|
|
9
9
|
isInsideGitRepo,
|
|
10
10
|
isWorktreeDirty
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-ORHX5E7L.js";
|
|
12
12
|
import {
|
|
13
13
|
runBudgetedSweep
|
|
14
14
|
} from "./chunk-ZKGWHT56.js";
|
|
15
15
|
import {
|
|
16
16
|
resolveRowVisibility
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-VA47XBUX.js";
|
|
18
18
|
import {
|
|
19
19
|
LEASE_MINUTES,
|
|
20
20
|
isLeaseExpired,
|
|
@@ -34,16 +34,16 @@ import {
|
|
|
34
34
|
import {
|
|
35
35
|
listSessions,
|
|
36
36
|
registerSession
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-CI5R7QV7.js";
|
|
38
38
|
import {
|
|
39
39
|
listTmuxSessions
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-OKQCTYLW.js";
|
|
41
41
|
import {
|
|
42
42
|
getTransport
|
|
43
43
|
} from "./chunk-VI4ATC6I.js";
|
|
44
44
|
import {
|
|
45
45
|
recordOrchestrationEventBestEffort
|
|
46
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-N5STNP44.js";
|
|
47
47
|
import {
|
|
48
48
|
appendDispatchJournalEvent,
|
|
49
49
|
releaseDispatchClaim,
|
|
@@ -52,7 +52,7 @@ import {
|
|
|
52
52
|
} from "./chunk-T5SM4RXY.js";
|
|
53
53
|
import {
|
|
54
54
|
incrementSkillSuccess
|
|
55
|
-
} from "./chunk-
|
|
55
|
+
} from "./chunk-OFCTRALK.js";
|
|
56
56
|
import {
|
|
57
57
|
assertRuntimeModelCompatible,
|
|
58
58
|
getAgentRuntime,
|
|
@@ -62,7 +62,7 @@ import {
|
|
|
62
62
|
import {
|
|
63
63
|
PlanLimitError,
|
|
64
64
|
assertEmployeeLimitSync
|
|
65
|
-
} from "./chunk-
|
|
65
|
+
} from "./chunk-IOIBJY5D.js";
|
|
66
66
|
import {
|
|
67
67
|
getSessionKey
|
|
68
68
|
} from "./chunk-CVYC6DUW.js";
|
|
@@ -78,7 +78,7 @@ import {
|
|
|
78
78
|
} from "./chunk-BTSWFMEH.js";
|
|
79
79
|
import {
|
|
80
80
|
getProjectName
|
|
81
|
-
} from "./chunk-
|
|
81
|
+
} from "./chunk-Z2RU4QH5.js";
|
|
82
82
|
import {
|
|
83
83
|
expandDualPrefixTools
|
|
84
84
|
} from "./chunk-HYZV25LY.js";
|
|
@@ -103,13 +103,13 @@ import {
|
|
|
103
103
|
loadEmployeesSync,
|
|
104
104
|
offloadReadIfMain,
|
|
105
105
|
offloadReadQuery
|
|
106
|
-
} from "./chunk-
|
|
106
|
+
} from "./chunk-2GUT5CWI.js";
|
|
107
107
|
import {
|
|
108
108
|
RUNTIME_TABLE
|
|
109
109
|
} from "./chunk-WNBZJSQT.js";
|
|
110
110
|
import {
|
|
111
111
|
loadDeviceId
|
|
112
|
-
} from "./chunk-
|
|
112
|
+
} from "./chunk-5SPQBSKC.js";
|
|
113
113
|
import {
|
|
114
114
|
EXE_AI_DIR
|
|
115
115
|
} from "./chunk-MMS2HBRT.js";
|
|
@@ -1580,7 +1580,7 @@ async function createTaskCore(input, deps = {}) {
|
|
|
1580
1580
|
if (isCoordinatorSession) {
|
|
1581
1581
|
earlySessionScope = resolved;
|
|
1582
1582
|
} else {
|
|
1583
|
-
const { getSessionProject } = await import("./session-scope-
|
|
1583
|
+
const { getSessionProject } = await import("./session-scope-4U36PKCC.js");
|
|
1584
1584
|
const sessionProject = getSessionProject(resolved);
|
|
1585
1585
|
if (sessionProject && sessionProject !== input.projectName) {
|
|
1586
1586
|
scopeMismatchWarning = `session/project mismatch: session "${resolved}" owns "${sessionProject}" but task targets "${input.projectName}". Routed to default scope.`;
|
|
@@ -1850,7 +1850,7 @@ ${scopeMismatchWarning}` : scopeMismatchWarning;
|
|
|
1850
1850
|
});
|
|
1851
1851
|
await writeTaskMarkdownAtomic(mdPath, mdContent);
|
|
1852
1852
|
try {
|
|
1853
|
-
const { injectBehaviors } = await import("./behavior-injection-
|
|
1853
|
+
const { injectBehaviors } = await import("./behavior-injection-4AOTSXRV.js");
|
|
1854
1854
|
await injectBehaviors({
|
|
1855
1855
|
taskFile: mdPath,
|
|
1856
1856
|
title: input.title,
|
|
@@ -1945,7 +1945,7 @@ async function buildTaskRowsStatement(opts) {
|
|
|
1945
1945
|
}
|
|
1946
1946
|
if (opts.founderId !== null) {
|
|
1947
1947
|
try {
|
|
1948
|
-
const { founderScopeFilter } = await import("./founder-context-
|
|
1948
|
+
const { founderScopeFilter } = await import("./founder-context-TVJUSBFS.js");
|
|
1949
1949
|
const founderFilter = founderScopeFilter(opts.founderId);
|
|
1950
1950
|
const cleaned = founderFilter.sql.replace(/^\s*AND\s+/, "");
|
|
1951
1951
|
conditions.push(cleaned);
|
|
@@ -4126,7 +4126,7 @@ async function listPendingReviews(limit, sessionScope, projectName, reviewer) {
|
|
|
4126
4126
|
const extraArgs = reviewer ? [reviewer, reviewer] : void 0;
|
|
4127
4127
|
const rows = await queryTaskRows({
|
|
4128
4128
|
status: "needs_review",
|
|
4129
|
-
columns: "title, assigned_to, reviewer, project_name, updated_at",
|
|
4129
|
+
columns: "title, assigned_to, reviewer, project_name, updated_at, result",
|
|
4130
4130
|
sessionScope: sessionScope ?? null,
|
|
4131
4131
|
strictSession: sessionScope !== void 0,
|
|
4132
4132
|
projectName: projectName ?? null,
|
|
@@ -5410,7 +5410,7 @@ async function verifyPaneAtCapacity(sessionName) {
|
|
|
5410
5410
|
reason: `capture-pane failed: ${err instanceof Error ? err.message : String(err)}`
|
|
5411
5411
|
};
|
|
5412
5412
|
}
|
|
5413
|
-
const { isAtCapacity } = await import("./capacity-monitor-
|
|
5413
|
+
const { isAtCapacity } = await import("./capacity-monitor-IBFXHWPY.js");
|
|
5414
5414
|
if (!isAtCapacity(pane)) {
|
|
5415
5415
|
return {
|
|
5416
5416
|
atCapacity: false,
|
|
@@ -5717,7 +5717,7 @@ async function countScopedPendingReviews(targetSession, reviewer) {
|
|
|
5717
5717
|
}
|
|
5718
5718
|
async function countScopedOpenTasks(targetSession, agentId) {
|
|
5719
5719
|
try {
|
|
5720
|
-
const { fastDbInit } = await import("./fast-db-init-
|
|
5720
|
+
const { fastDbInit } = await import("./fast-db-init-LSDW3AP3.js");
|
|
5721
5721
|
const client = await fastDbInit();
|
|
5722
5722
|
const scope = extractRootExe(targetSession);
|
|
5723
5723
|
if (!scope) return 0;
|
|
@@ -5774,7 +5774,7 @@ function buildScopedInProgressTaskQuery(targetSession) {
|
|
|
5774
5774
|
async function findScopedInProgressTaskId(targetSession) {
|
|
5775
5775
|
const q = buildScopedInProgressTaskQuery(targetSession);
|
|
5776
5776
|
if (!q) return null;
|
|
5777
|
-
const { fastDbInit } = await import("./fast-db-init-
|
|
5777
|
+
const { fastDbInit } = await import("./fast-db-init-LSDW3AP3.js");
|
|
5778
5778
|
const client = await fastDbInit();
|
|
5779
5779
|
const result = await client.execute(q);
|
|
5780
5780
|
const id = result.rows[0]?.id;
|
|
@@ -5895,7 +5895,7 @@ function sendIntercom(targetSession, opts) {
|
|
|
5895
5895
|
const ledgerEnv = (process.env.EXE_NOTIFICATION_LEDGER ?? "").trim().toLowerCase();
|
|
5896
5896
|
if (ledgerEnv === "shadow") {
|
|
5897
5897
|
const ledgerScope = opts && "callerSessionScope" in opts ? opts.callerSessionScope : void 0;
|
|
5898
|
-
void import("./notification-ledger-
|
|
5898
|
+
void import("./notification-ledger-VQKLAZMN.js").then((m) => m.recordShadowNudge(targetSession, reason, ledgerScope, { force: opts?.force })).catch(() => {
|
|
5899
5899
|
});
|
|
5900
5900
|
}
|
|
5901
5901
|
if (!opts?.force && isDebounced(targetSession)) {
|
|
@@ -6049,7 +6049,7 @@ function scheduleDeferredSpawnNudge(input) {
|
|
|
6049
6049
|
return;
|
|
6050
6050
|
}
|
|
6051
6051
|
queueIntercom(input.sessionName, `spawn nudge failed after ${attempt} attempts: ${msg}`, "signal");
|
|
6052
|
-
void import("./notifications-
|
|
6052
|
+
void import("./notifications-NBCKXUKB.js").then(({ writeNotification: writeNotification2 }) => writeNotification2({
|
|
6053
6053
|
agentId: getCoordinatorName(),
|
|
6054
6054
|
agentRole: "COO",
|
|
6055
6055
|
event: "error_spike",
|
|
@@ -6144,7 +6144,7 @@ async function sendIntercomAsync(targetSession, opts) {
|
|
|
6144
6144
|
let ledgerClaim = null;
|
|
6145
6145
|
if (authoritativeLedger) {
|
|
6146
6146
|
try {
|
|
6147
|
-
const { claimAuthoritativeNudge } = await import("./notification-ledger-
|
|
6147
|
+
const { claimAuthoritativeNudge } = await import("./notification-ledger-VQKLAZMN.js");
|
|
6148
6148
|
const claim2 = await claimAuthoritativeNudge(
|
|
6149
6149
|
targetSession,
|
|
6150
6150
|
reason,
|
|
@@ -6167,7 +6167,7 @@ async function sendIntercomAsync(targetSession, opts) {
|
|
|
6167
6167
|
const markLedgerDelivered = async () => {
|
|
6168
6168
|
if (!ledgerClaim) return;
|
|
6169
6169
|
try {
|
|
6170
|
-
const { markNudgeDelivered } = await import("./notification-ledger-
|
|
6170
|
+
const { markNudgeDelivered } = await import("./notification-ledger-VQKLAZMN.js");
|
|
6171
6171
|
await markNudgeDelivered(ledgerClaim.id, ledgerClaim.sessionScope);
|
|
6172
6172
|
} catch {
|
|
6173
6173
|
}
|
|
@@ -6175,7 +6175,7 @@ async function sendIntercomAsync(targetSession, opts) {
|
|
|
6175
6175
|
const markLedgerFailed = async (error) => {
|
|
6176
6176
|
if (!ledgerClaim) return;
|
|
6177
6177
|
try {
|
|
6178
|
-
const { markNudgeDeliveryFailed } = await import("./notification-ledger-
|
|
6178
|
+
const { markNudgeDeliveryFailed } = await import("./notification-ledger-VQKLAZMN.js");
|
|
6179
6179
|
await markNudgeDeliveryFailed(ledgerClaim.id, error, ledgerClaim.sessionScope);
|
|
6180
6180
|
} catch {
|
|
6181
6181
|
}
|
|
@@ -7701,6 +7701,11 @@ function getCurrentSessionScope() {
|
|
|
7701
7701
|
}
|
|
7702
7702
|
try {
|
|
7703
7703
|
const scope = resolveExeSession();
|
|
7704
|
+
if (!scope && (process.env.TMUX || process.env.TMUX_PANE)) {
|
|
7705
|
+
noteSessionScopeProbeFailed(
|
|
7706
|
+
"TMUX/TMUX_PANE is set but the session could not be named \u2014 the tmux probe did not answer"
|
|
7707
|
+
);
|
|
7708
|
+
}
|
|
7704
7709
|
if (!scope && process.env.NODE_ENV !== "test") {
|
|
7705
7710
|
if (!_scopeWarningEmitted) {
|
|
7706
7711
|
_scopeWarningEmitted = true;
|
|
@@ -7710,11 +7715,29 @@ function getCurrentSessionScope() {
|
|
|
7710
7715
|
}
|
|
7711
7716
|
}
|
|
7712
7717
|
return scope;
|
|
7713
|
-
} catch {
|
|
7718
|
+
} catch (err) {
|
|
7719
|
+
noteSessionScopeProbeFailed(
|
|
7720
|
+
`session scope probe threw (${err instanceof Error ? err.message : String(err)})`
|
|
7721
|
+
);
|
|
7714
7722
|
return null;
|
|
7715
7723
|
}
|
|
7716
7724
|
}
|
|
7717
7725
|
var _scopeWarningEmitted = false;
|
|
7726
|
+
var _scopeProbeFailure = null;
|
|
7727
|
+
function noteSessionScopeProbeFailed(reason) {
|
|
7728
|
+
if (_scopeProbeFailure) return;
|
|
7729
|
+
_scopeProbeFailure = reason;
|
|
7730
|
+
process.stderr.write(
|
|
7731
|
+
`[task-scope] WARN: ${reason}. Session-scoped queries will FAIL CLOSED (matching nothing) rather than run across every session.
|
|
7732
|
+
`
|
|
7733
|
+
);
|
|
7734
|
+
}
|
|
7735
|
+
function sessionScopeProbeFailure() {
|
|
7736
|
+
return _scopeProbeFailure;
|
|
7737
|
+
}
|
|
7738
|
+
function _resetSessionScopeProbeFailure() {
|
|
7739
|
+
_scopeProbeFailure = null;
|
|
7740
|
+
}
|
|
7718
7741
|
function sessionScopeFilter(sessionScope, tableAlias, opts) {
|
|
7719
7742
|
const autoDetect = sessionScope === void 0;
|
|
7720
7743
|
const scope = autoDetect ? getCurrentSessionScope() : sessionScope;
|
|
@@ -7727,6 +7750,15 @@ function sessionScopeFilter(sessionScope, tableAlias, opts) {
|
|
|
7727
7750
|
reason: "unresolved session scope in ambiguous multi-coordinator context"
|
|
7728
7751
|
};
|
|
7729
7752
|
}
|
|
7753
|
+
const probeFailure = autoDetect ? sessionScopeProbeFailure() : null;
|
|
7754
|
+
if (probeFailure) {
|
|
7755
|
+
return {
|
|
7756
|
+
sql: " AND 1=0",
|
|
7757
|
+
args: [],
|
|
7758
|
+
failClosed: true,
|
|
7759
|
+
reason: `unresolved session scope: ${probeFailure}`
|
|
7760
|
+
};
|
|
7761
|
+
}
|
|
7730
7762
|
return { sql: "", args: [] };
|
|
7731
7763
|
}
|
|
7732
7764
|
const col = tableAlias ? `${tableAlias}.session_scope` : "session_scope";
|
|
@@ -7776,6 +7808,9 @@ export {
|
|
|
7776
7808
|
isScopeCoordinatorDead,
|
|
7777
7809
|
allowDeadScopeRescue,
|
|
7778
7810
|
getCurrentSessionScope,
|
|
7811
|
+
noteSessionScopeProbeFailed,
|
|
7812
|
+
sessionScopeProbeFailure,
|
|
7813
|
+
_resetSessionScopeProbeFailure,
|
|
7779
7814
|
sessionScopeFilter,
|
|
7780
7815
|
strictSessionScopeFilter,
|
|
7781
7816
|
retargetTaskFilePath,
|
|
@@ -7850,6 +7885,7 @@ export {
|
|
|
7850
7885
|
countPendingReviews,
|
|
7851
7886
|
countNewPendingReviewsSince,
|
|
7852
7887
|
listPendingReviews,
|
|
7888
|
+
closeReviewRows,
|
|
7853
7889
|
sweepExpiredSignalFiles,
|
|
7854
7890
|
cleanupOrphanedReviews,
|
|
7855
7891
|
getReviewChecklist,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
behaviorTruncationNotice
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-4LYN5YNO.js";
|
|
4
4
|
import {
|
|
5
5
|
countActiveBehaviors,
|
|
6
6
|
listBehaviors
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-HTGSVQJP.js";
|
|
8
8
|
import {
|
|
9
9
|
loadConfigSync
|
|
10
10
|
} from "./chunk-MMS2HBRT.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getClient
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-2GUT5CWI.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-QNSSPQWA.js");
|
|
144
|
+
const { storeExtraction } = await import("./graph-rag-E75K54QT.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,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
isExeSession,
|
|
3
3
|
strictSessionScopeFilter
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-TU63ZMMS.js";
|
|
5
5
|
import {
|
|
6
6
|
recordOrchestrationEventBestEffort
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-N5STNP44.js";
|
|
8
8
|
import {
|
|
9
9
|
getProjectName
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-Z2RU4QH5.js";
|
|
11
11
|
import {
|
|
12
12
|
DEFAULT_COORDINATOR_TEMPLATE_NAME,
|
|
13
13
|
getCoordinatorName
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-2GUT5CWI.js";
|
|
15
15
|
import {
|
|
16
16
|
loadConfigSync
|
|
17
17
|
} from "./chunk-MMS2HBRT.js";
|
|
@@ -260,7 +260,7 @@ function createRealDeps(getClient) {
|
|
|
260
260
|
});
|
|
261
261
|
},
|
|
262
262
|
createReviewForOrphan: async (task) => {
|
|
263
|
-
const { createReviewForCompletedTask } = await import("./tasks-review-
|
|
263
|
+
const { createReviewForCompletedTask } = await import("./tasks-review-CBHI5OT7.js");
|
|
264
264
|
const cwd = process.cwd();
|
|
265
265
|
await createReviewForCompletedTask(
|
|
266
266
|
task,
|
|
@@ -8,14 +8,14 @@ import {
|
|
|
8
8
|
resolveExeSession,
|
|
9
9
|
sendIntercom,
|
|
10
10
|
strictSessionScopeFilter
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-TU63ZMMS.js";
|
|
12
12
|
import {
|
|
13
13
|
parseMessage,
|
|
14
14
|
serializeMessage
|
|
15
15
|
} from "./chunk-TDF2XKLK.js";
|
|
16
16
|
import {
|
|
17
17
|
recordOrchestrationEventBestEffort
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-N5STNP44.js";
|
|
19
19
|
import {
|
|
20
20
|
getSessionKey
|
|
21
21
|
} from "./chunk-CVYC6DUW.js";
|
|
@@ -24,7 +24,7 @@ import {
|
|
|
24
24
|
} from "./chunk-BTSWFMEH.js";
|
|
25
25
|
import {
|
|
26
26
|
getClient
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-2GUT5CWI.js";
|
|
28
28
|
|
|
29
29
|
// src/lib/messaging.ts
|
|
30
30
|
import crypto from "crypto";
|
|
@@ -22,7 +22,7 @@ var OrgOriginProvenanceError = class extends Error {
|
|
|
22
22
|
async function mintOrgOriginStamp(input) {
|
|
23
23
|
if (!input.orgId) throw new OrgOriginProvenanceError("An org-origin stamp requires a non-empty org_id (\xA71.5)");
|
|
24
24
|
if (!input.requestId) throw new OrgOriginProvenanceError("An org-origin stamp requires a request id");
|
|
25
|
-
const { getTaskRequest } = await import("./task-request-inbox-
|
|
25
|
+
const { getTaskRequest } = await import("./task-request-inbox-4F3VB2B4.js");
|
|
26
26
|
const req = getTaskRequest(input.orgId, input.requestId);
|
|
27
27
|
if (!req) {
|
|
28
28
|
throw new OrgOriginProvenanceError(
|
|
@@ -7,10 +7,10 @@ import {
|
|
|
7
7
|
import {
|
|
8
8
|
createCRMWebhookHandler,
|
|
9
9
|
parseTwentyWebhook
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-JAUIIIWQ.js";
|
|
11
11
|
import {
|
|
12
12
|
WhatsAppAdapter
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-YZ3I3PYP.js";
|
|
14
14
|
import {
|
|
15
15
|
SignalAdapter
|
|
16
16
|
} from "./chunk-RJT7H2KR.js";
|
|
@@ -42,7 +42,7 @@ import {
|
|
|
42
42
|
retryWithBackoff,
|
|
43
43
|
routeMessage,
|
|
44
44
|
validateGatewayConfig
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-64KFPFTH.js";
|
|
46
46
|
import {
|
|
47
47
|
OllamaProvider
|
|
48
48
|
} from "./chunk-FWFFZGSC.js";
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
shutdownCli
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-B7ACMQ2K.js";
|
|
4
4
|
import {
|
|
5
5
|
fastDbInit
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-P2XGESMD.js";
|
|
7
7
|
import {
|
|
8
8
|
sessionScopeFilter
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-TU63ZMMS.js";
|
|
10
10
|
import {
|
|
11
11
|
formatStatusAll,
|
|
12
12
|
formatStatusDeep,
|
|
13
13
|
getEmployeeStatuses,
|
|
14
14
|
inTmux
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-OKQCTYLW.js";
|
|
16
16
|
import {
|
|
17
17
|
getClient,
|
|
18
18
|
isCoordinatorRole,
|
|
19
19
|
loadEmployees
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-2GUT5CWI.js";
|
|
21
21
|
import {
|
|
22
22
|
isMainModule
|
|
23
23
|
} from "./chunk-6Y4B3QF6.js";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
isExeSession
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-TU63ZMMS.js";
|
|
4
4
|
import {
|
|
5
5
|
recordOrchestrationEventBestEffort
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-N5STNP44.js";
|
|
7
7
|
import {
|
|
8
8
|
getClient,
|
|
9
9
|
isCoordinatorName
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-2GUT5CWI.js";
|
|
11
11
|
import {
|
|
12
12
|
isDaemonAlive
|
|
13
13
|
} from "./chunk-QH5ZQ5SJ.js";
|
|
@@ -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) => {
|