@askexenow/exe-os 0.9.346 → 0.9.347
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/{active-agent-Y7B6SUEV.js → active-agent-CMY7WTJL.js} +3 -3
- package/dist/{active-agent-JXJFAZMM.js → active-agent-US4KO4LV.js} +3 -3
- package/dist/{agentic-ontology-AUJAVTHS.js → agentic-ontology-3Y37SQYR.js} +1 -1
- package/dist/{backfill-metadata-3LUJK7D4.js → backfill-metadata-GK66TYQE.js} +5 -5
- package/dist/{backup-verify-6UAZ5ETR.js → backup-verify-72XBKKHL.js} +1 -1
- package/dist/{behaviors-BVOBYS73.js → behaviors-G7TR6LBM.js} +6 -6
- 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 +5 -5
- package/dist/bin/backfill-responses.js +5 -5
- package/dist/bin/backfill-vectors.js +6 -6
- package/dist/bin/bulk-sync-postgres.js +10 -10
- package/dist/bin/cc-doctor.js +4 -4
- package/dist/bin/cleanup-stale-review-tasks.js +15 -15
- package/dist/bin/cli.js +16 -16
- package/dist/bin/deferred-daemon-restart.js +69 -70
- package/dist/bin/exe-agent-config.js +4 -4
- package/dist/bin/exe-agent.js +4 -4
- package/dist/bin/exe-assign.js +6 -6
- package/dist/bin/exe-boot.js +27 -27
- package/dist/bin/exe-call.js +4 -4
- package/dist/bin/exe-cloud.js +10 -10
- package/dist/bin/exe-config-dump.js +4 -4
- package/dist/bin/exe-dispatch.js +15 -15
- package/dist/bin/exe-doctor.js +4 -4
- package/dist/bin/exe-export-behaviors.js +8 -8
- package/dist/bin/exe-forget.js +7 -7
- package/dist/bin/exe-gateway.js +7 -7
- package/dist/bin/exe-healthcheck.js +4 -4
- package/dist/bin/exe-heartbeat.js +17 -17
- package/dist/bin/exe-kill.js +19 -19
- package/dist/bin/exe-launch-agent.js +24 -24
- 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 +16 -16
- package/dist/bin/exe-pending-notifications.js +15 -15
- package/dist/bin/exe-pending-reviews.js +15 -15
- package/dist/bin/exe-rename.js +4 -4
- package/dist/bin/exe-review.js +18 -18
- package/dist/bin/exe-search.js +6 -6
- package/dist/bin/exe-session-cleanup.js +19 -19
- package/dist/bin/exe-settings.js +12 -12
- package/dist/bin/exe-start-codex.js +18 -19
- package/dist/bin/exe-start-opencode.js +10 -10
- package/dist/bin/exe-status.js +16 -16
- package/dist/bin/exe-support.js +3 -3
- package/dist/bin/exe-team.js +3 -3
- package/dist/bin/git-sweep.js +16 -16
- 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.js +71 -72
- 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 +15 -15
- package/dist/bin/setup.js +2 -2
- package/dist/bin/shard-migrate.js +5 -5
- package/dist/bin/stack-update.js +4 -4
- package/dist/bin/vps-health-gate.js +1 -1
- package/dist/{boot-generation-IF4J6UEJ.js → boot-generation-KG43UYL4.js} +3 -3
- package/dist/{boot-review-sections-WEEFCSBX.js → boot-review-sections-56BRURLM.js} +14 -14
- package/dist/{capability-cards-C65NRVTL.js → capability-cards-4MN3IVJO.js} +2 -2
- package/dist/{capacity-monitor-PGYDR35M.js → capacity-monitor-4NJTN5QQ.js} +16 -16
- package/dist/{catchup-brief-QB7M3OY7.js → catchup-brief-AMBXLHXU.js} +19 -19
- package/dist/{chunk-QCM3YWL7.js → chunk-2BOEUPL6.js} +1 -1
- package/dist/{chunk-CR7XPLLC.js → chunk-2ESYTX6F.js} +1 -1
- package/dist/{chunk-JNEVNS5R.js → chunk-2LZMDOC6.js} +9 -9
- package/dist/{chunk-OIF65HXR.js → chunk-3EMAJBBN.js} +9 -5
- package/dist/{chunk-VQLGFSML.js → chunk-3HGAAWNZ.js} +2 -2
- package/dist/{chunk-OM2XM5HU.js → chunk-3LQMUO5D.js} +3 -3
- package/dist/{chunk-HVZKJMJX.js → chunk-3T4BRBSH.js} +1 -1
- package/dist/{chunk-BCFWDNH7.js → chunk-4K2PLZKF.js} +1 -1
- package/dist/{chunk-4JDRUXQV.js → chunk-4VLRGKNY.js} +2 -2
- package/dist/{chunk-RPAMFCPP.js → chunk-53VXPGZ2.js} +2 -2
- package/dist/{chunk-EDC57TDH.js → chunk-7667KFAG.js} +1 -1
- package/dist/{chunk-MHZAUM7G.js → chunk-7AD4GSRT.js} +3 -3
- package/dist/{chunk-DKKMBEU6.js → chunk-7DAJHBFH.js} +1 -1
- package/dist/{chunk-TIZE727O.js → chunk-AHR3F7HW.js} +1 -1
- package/dist/{chunk-Y7GJ6HXA.js → chunk-AJIXH5JF.js} +79 -25
- package/dist/{chunk-MCZWZEVE.js → chunk-BMTUSSHV.js} +1 -1
- package/dist/{chunk-BDFRAQG5.js → chunk-BRVDGE7N.js} +4 -4
- package/dist/{chunk-YKIQF6EY.js → chunk-CNIAEIWV.js} +1 -1
- package/dist/{chunk-6YABSGAW.js → chunk-DBDMZTU5.js} +1 -1
- package/dist/{chunk-XTGZDP2L.js → chunk-DNN27P35.js} +4 -4
- package/dist/{chunk-ZASZQDAI.js → chunk-DZJL775P.js} +1 -1
- package/dist/{chunk-PJOHJ7Q4.js → chunk-EWWCMMES.js} +172 -35
- package/dist/{chunk-24BHZNOP.js → chunk-EYWB6526.js} +3 -3
- package/dist/{chunk-WMJK4GBF.js → chunk-F4ZW76IX.js} +1 -1
- package/dist/{chunk-NCMFMJMZ.js → chunk-F6NABQJ4.js} +2 -2
- package/dist/{chunk-FEIACXDV.js → chunk-FAH7JUNS.js} +16 -16
- package/dist/{chunk-VPY4CMD6.js → chunk-FBSAXAXQ.js} +2 -2
- package/dist/{chunk-3WELJGZN.js → chunk-FDOURKUO.js} +1 -1
- package/dist/{chunk-4KLQ4GH5.js → chunk-FJPZ7KHN.js} +1 -1
- package/dist/{chunk-Q6ZQIX7L.js → chunk-FM4ZI5ZP.js} +1 -1
- package/dist/{chunk-GGPLVRYZ.js → chunk-G4HOMQY7.js} +1 -1
- package/dist/{chunk-CFA4T2HP.js → chunk-G6IANQKD.js} +1 -1
- package/dist/{chunk-HMVGXC4I.js → chunk-H44V3Y6D.js} +1 -1
- package/dist/{chunk-6LLDY7AL.js → chunk-HWK5GKE6.js} +1 -1
- package/dist/{chunk-HBJAMWHT.js → chunk-I3XN3G3H.js} +194 -152
- package/dist/{chunk-LYNELMA2.js → chunk-ILLBFFY6.js} +2 -2
- package/dist/{chunk-X7NSCRCD.js → chunk-IMHERTUL.js} +2 -2
- package/dist/{chunk-CMTS2MLG.js → chunk-IRMJHC23.js} +2 -2
- package/dist/{chunk-OZLNCLS3.js → chunk-JLYQD2XF.js} +1 -1
- package/dist/{chunk-2WEUQWFQ.js → chunk-JYFBQH5O.js} +5 -5
- package/dist/{chunk-ZK6I3PUX.js → chunk-K3ZHVW26.js} +4 -4
- package/dist/{chunk-IXIQSWHV.js → chunk-KWRO4RMT.js} +3 -3
- package/dist/{chunk-MWXXVXJL.js → chunk-LJGHAZYU.js} +7 -7
- package/dist/{chunk-2UA263BM.js → chunk-M3NSYVE3.js} +5 -5
- package/dist/{chunk-X2PLFBVG.js → chunk-M722B4DA.js} +1 -1
- package/dist/{chunk-4BQYN4IJ.js → chunk-MESFJRIT.js} +1 -1
- package/dist/{chunk-EU2GUT67.js → chunk-MT6YGWJ6.js} +1 -1
- package/dist/{chunk-LP6EJVVN.js → chunk-OE6D2IJI.js} +4 -4
- package/dist/{chunk-SQIH3TDK.js → chunk-PEVOVM3W.js} +4 -4
- package/dist/{chunk-WKUX5PFV.js → chunk-PO64LWTM.js} +9 -9
- package/dist/{chunk-OQB5SKO4.js → chunk-PRUZNNEF.js} +3 -3
- package/dist/{chunk-H5RS3XRJ.js → chunk-PYNWGP72.js} +1 -1
- package/dist/{chunk-YLLUGK6J.js → chunk-QFGUAJ6T.js} +2 -2
- package/dist/{chunk-2KOQKLDF.js → chunk-QIALRZZG.js} +1 -1
- package/dist/{chunk-25CXLXZQ.js → chunk-QZA5NG6Z.js} +1 -1
- package/dist/{chunk-N4XVAP7Z.js → chunk-SUG5P42S.js} +4 -4
- package/dist/{chunk-KQ3HRA6Q.js → chunk-T7ZLJZAO.js} +1 -1
- package/dist/{chunk-GGHH54QD.js → chunk-TQSAPNFW.js} +10 -10
- package/dist/{chunk-QS6KVXUN.js → chunk-UMK7TNCF.js} +107 -47
- package/dist/{chunk-ZZQ4AEYB.js → chunk-UO56K55W.js} +1 -1
- package/dist/{chunk-4A6RX2N6.js → chunk-UVPLZ6AK.js} +1 -1
- package/dist/{chunk-LNMTCTSH.js → chunk-VA3ZUIWG.js} +1 -1
- package/dist/{chunk-OELDRRCZ.js → chunk-VALVWYAK.js} +104 -11
- package/dist/{chunk-RLULWMUL.js → chunk-VDJUATQJ.js} +1 -1
- package/dist/{chunk-Q7UHMUCE.js → chunk-VDKDW5IA.js} +15 -15
- package/dist/{chunk-6OEMGMOV.js → chunk-VMTKHDFM.js} +3 -3
- package/dist/{chunk-EYGMCOTV.js → chunk-VTMSGELG.js} +2 -2
- package/dist/{chunk-HXIBVZC3.js → chunk-W666YWFU.js} +3 -3
- package/dist/{chunk-R6C6UGVG.js → chunk-W7HKGDJO.js} +3 -3
- package/dist/{chunk-NGP6LSV2.js → chunk-WNBZJSQT.js} +10 -1
- package/dist/{chunk-RYTY7KNZ.js → chunk-WOKPKILI.js} +1 -1
- package/dist/{chunk-2LC2ASCN.js → chunk-XDVLCS64.js} +1 -1
- package/dist/{chunk-E6TLQG2T.js → chunk-XOVHWGPV.js} +1 -1
- package/dist/{chunk-44ZGOBMU.js → chunk-XRX7F7XW.js} +1 -1
- package/dist/{chunk-6I6OMBYY.js → chunk-Y7637VDZ.js} +2 -2
- package/dist/{chunk-ACYZER3P.js → chunk-YJK4JZ35.js} +3 -3
- package/dist/{chunk-6F3OMSZJ.js → chunk-YSTIPPZK.js} +1 -1
- package/dist/{chunk-LSTIMHL4.js → chunk-Z7DWUHDP.js} +1 -1
- package/dist/{chunk-BUDVHNV2.js → chunk-ZK53K7OR.js} +1 -1
- package/dist/{chunk-3QYE5U6D.js → chunk-ZY2ABBVR.js} +3 -3
- package/dist/{chunk-YGTKGAWM.js → chunk-ZYNQXN73.js} +4 -4
- package/dist/{cleanup-graph-garbage-INHZJESS.js → cleanup-graph-garbage-5HKGGUS3.js} +7 -7
- package/dist/{cloud-sync-shutdown-HNQ7T3LA.js → cloud-sync-shutdown-2JAEIAW6.js} +2 -2
- package/dist/{co-activation-IMZM3IXG.js → co-activation-SYSIFY66.js} +2 -2
- package/dist/{co-occurrence-PZAEUDAP.js → co-occurrence-QZFT5ORJ.js} +5 -5
- package/dist/{conversation-entity-extractor-AU55E6YT.js → conversation-entity-extractor-YC3A2ODD.js} +3 -3
- package/dist/{crdt-sync-LI6FL3DG.js → crdt-sync-W45AKWCU.js} +1 -1
- package/dist/{crm-webhook-NOLMWTAP.js → crm-webhook-ZAGDYWB3.js} +2 -2
- package/dist/{cto-delegation-gate-SZCLR4PI.js → cto-delegation-gate-PLSICYEK.js} +14 -14
- package/dist/{daemon-orchestration-R5HT252K.js → daemon-orchestration-QX3FS4L2.js} +19 -20
- package/dist/{dispatch-ack-VUGMAGNL.js → dispatch-ack-AZL3WKCK.js} +1 -2
- package/dist/{doc-graph-extractor-E5SXO6NZ.js → doc-graph-extractor-NK6CP4LE.js} +5 -5
- package/dist/{documents-PYKWTZBA.js → documents-FGXV6BDL.js} +6 -6
- package/dist/{dreaming-JAHOTVRJ.js → dreaming-YIESEME7.js} +18 -18
- package/dist/{exe-drift-DGIY5YBT.js → exe-drift-TLY7MCXW.js} +3 -3
- package/dist/{exe-export-A6MC7LZ7.js → exe-export-32J4WPS6.js} +7 -7
- package/dist/{exe-import-HKA6LKHC.js → exe-import-MDEWE325.js} +7 -7
- package/dist/{exe-key-6QXOAVR4.js → exe-key-NW42YUA3.js} +69 -70
- package/dist/{exe-snapshot-BUPXYKMH.js → exe-snapshot-NNEEAGYI.js} +19 -19
- package/dist/{fast-db-init-BXLBA6II.js → fast-db-init-O7AECNTB.js} +1 -1
- package/dist/{founder-context-5KQR3ER3.js → founder-context-3WDZ6LIS.js} +2 -2
- package/dist/gateway/index.js +8 -8
- package/dist/{git-staleness-OTIXXNBN.js → git-staleness-GEJ7U4MW.js} +2 -2
- package/dist/{global-procedures-ACYUMLIG.js → global-procedures-HY3BJXY4.js} +3 -3
- package/dist/{graph-auto-extract-QWVENG4K.js → graph-auto-extract-DBAIFNDK.js} +5 -5
- package/dist/{graph-rag-2I24BQC2.js → graph-rag-LWKKHY72.js} +3 -3
- package/dist/{hook-prefetch-22IJRGX4.js → hook-prefetch-KNHZNI4L.js} +15 -15
- package/dist/hooks/bug-report-worker.js +17 -18
- package/dist/hooks/codex-stop-task-finalizer.js +18 -19
- package/dist/hooks/commit-complete.js +17 -17
- package/dist/hooks/error-recall.js +7 -7
- package/dist/hooks/exe-heartbeat-hook.js +3 -3
- package/dist/hooks/ingest.js +6 -6
- package/dist/hooks/instructions-loaded.js +4 -4
- package/dist/hooks/manifest.json +19 -19
- package/dist/hooks/notification.js +4 -4
- package/dist/hooks/post-compact.js +16 -16
- package/dist/hooks/post-tool-combined.js +9 -9
- package/dist/hooks/pre-compact.js +17 -17
- package/dist/hooks/pre-tool-use.js +22 -22
- package/dist/hooks/prompt-submit.js +30 -30
- package/dist/hooks/session-end.js +21 -21
- package/dist/hooks/session-start.js +13 -13
- package/dist/hooks/stop.js +20 -20
- package/dist/hooks/subagent-stop.js +18 -18
- package/dist/hooks/summary-worker.js +21 -21
- package/dist/index.js +24 -24
- package/dist/{installer-RWPVEBMJ.js → installer-AWALPCAX.js} +5 -5
- package/dist/{installer-QYXL3HBG.js → installer-R2S64Q6T.js} +5 -5
- package/dist/{installer-NZ76KPYJ.js → installer-SQF5I6YS.js} +5 -5
- package/dist/{intercom-queue-TAARE4O7.js → intercom-queue-SJL4G3J5.js} +14 -14
- package/dist/lib/agent-config.js +2 -2
- package/dist/lib/cloud-sync.js +14 -10
- 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-write-worker.js +2 -2
- package/dist/lib/db.js +2 -2
- 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 +188 -163
- package/dist/lib/hybrid-search.js +6 -6
- package/dist/lib/identity.js +2 -2
- package/dist/lib/license.js +2 -2
- package/dist/lib/messaging.js +15 -15
- package/dist/lib/registry-proxy.js +1 -1
- package/dist/lib/reminders.js +3 -3
- package/dist/lib/runtime-table.js +9 -3
- package/dist/lib/schedules.js +6 -6
- package/dist/lib/session-registry.js +4 -4
- package/dist/lib/skill-learning.js +7 -7
- package/dist/lib/store.js +5 -5
- package/dist/lib/task-router.js +3 -3
- package/dist/lib/tasks.js +16 -17
- package/dist/lib/tmux-routing.js +14 -14
- package/dist/lib/token-spend.js +3 -3
- package/dist/{license-gate-CVHDQZJV.js → license-gate-ZYZQGPKW.js} +3 -3
- package/dist/{license-sync-72S7BWQY.js → license-sync-GU3L66JR.js} +2 -2
- package/dist/mcp/register-tools.js +68 -69
- package/dist/mcp/server.js +69 -70
- 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 +18 -19
- package/dist/mcp/tools/deactivate-behavior.js +8 -8
- package/dist/mcp/tools/list-reminders.js +4 -4
- package/dist/mcp/tools/list-tasks.js +18 -19
- package/dist/mcp/tools/send-message.js +17 -17
- package/dist/mcp/tools/update-task.js +17 -18
- package/dist/{mcp-http-config-JP3XSY2X.js → mcp-http-config-BV2GO7P4.js} +3 -3
- package/dist/{mcp-session-identity-DDAM464U.js → mcp-session-identity-3QQPOGNI.js} +14 -14
- package/dist/{memory-cards-XJ2JMF3V.js → memory-cards-NISTO4EP.js} +5 -5
- package/dist/{memory-graph-extractor-FJVF7RTG.js → memory-graph-extractor-CO3R5K7L.js} +6 -6
- package/dist/{memory-poisoning-defense-GM3GQPRI.js → memory-poisoning-defense-QZCG3BMC.js} +2 -2
- package/dist/{memory-pressure-watchdog-HB572OZG.js → memory-pressure-watchdog-VWQM3GXR.js} +15 -15
- package/dist/{memory-reflection-WIMMTW7M.js → memory-reflection-G32OQ3X3.js} +2 -2
- package/dist/{notification-ledger-5TQXBYY2.js → notification-ledger-C3J4HFMM.js} +15 -15
- package/dist/{notifications-LA3X57YT.js → notifications-JIARMDZ5.js} +14 -14
- package/dist/{orchestration-events-KFZMGU3D.js → orchestration-events-AL7AWHBX.js} +3 -3
- package/dist/{orchestrator-MOJEAZ3K.js → orchestrator-LWVALDUO.js} +16 -16
- package/dist/{pipeline-router-2V5NFQ2O.js → pipeline-router-HK5BI3LQ.js} +3 -3
- package/dist/{plan-limits-2LHFEYOT.js → plan-limits-4LMRHOUW.js} +5 -5
- package/dist/{projection-worker-ZMHVILPW.js → projection-worker-Z5U6UWCE.js} +2 -2
- package/dist/{prospective-memory-JEWS5GFU.js → prospective-memory-UDQWFP5Y.js} +2 -2
- package/dist/{reranker-TBQV76K4.js → reranker-FX4QOK2G.js} +1 -1
- package/dist/{retrieval-health-HYXDUNFE.js → retrieval-health-2LIKKDMW.js} +1 -1
- package/dist/{review-polling-OFGP5Q7M.js → review-polling-B2EP4KGE.js} +15 -15
- package/dist/runtime/index.js +18 -18
- package/dist/{session-events-ABAI2KE3.js → session-events-HVYX42HD.js} +15 -15
- package/dist/{session-kill-telemetry-2MHLK4Z4.js → session-kill-telemetry-BHKUHSK2.js} +15 -15
- package/dist/{session-scope-MRIE7ZKS.js → session-scope-TXCBVOSN.js} +14 -14
- package/dist/{setup-wizard-UQ3B2E6D.js → setup-wizard-QMKBAK6B.js} +2 -2
- package/dist/{skill-refinement-46QDGAGE.js → skill-refinement-G6BPD6QK.js} +3 -3
- package/dist/{stack-update-5BPENFJK.js → stack-update-CBP5S5BG.js} +3 -3
- package/dist/{steward-gate-GXINMHNV.js → steward-gate-CGP6U7KC.js} +3 -3
- package/dist/{support-inbox-TCOASPLK.js → support-inbox-3ATAP7KN.js} +3 -3
- package/dist/{task-enforcement-OJAG2BGJ.js → task-enforcement-YINAK3T6.js} +15 -15
- package/dist/{task-scope-5GKJTQL2.js → task-scope-5OSP2MUP.js} +14 -14
- package/dist/{tasks-crud-ZWKPTGPU.js → tasks-crud-PTN36B5F.js} +16 -14
- package/dist/{tasks-notify-IUDI6SYJ.js → tasks-notify-QCJXVZCJ.js} +15 -16
- package/dist/{tasks-review-INJKVN63.js → tasks-review-ZY3S65OV.js} +14 -14
- package/dist/{telemetry-upload-LIC7M7AY.js → telemetry-upload-Z47OEELW.js} +7 -7
- package/dist/{token-budget-PABF5ZBO.js → token-budget-B3OKOYDA.js} +3 -3
- package/dist/{tool-telemetry-PDHE36YD.js → tool-telemetry-KIHAHUPT.js} +1 -1
- package/dist/tui/App.js +22 -22
- package/dist/{tui-data-Y6X7A4U4.js → tui-data-YIFXHE2D.js} +14 -14
- package/dist/{update-support-COJYGU2V.js → update-support-IZUWVU2U.js} +9 -9
- package/dist/{work-state-heartbeat-YV3MAIQY.js → work-state-heartbeat-WIURKX3N.js} +1 -1
- package/dist/{worker-gate-BLJENHMV.js → worker-gate-NZRA426F.js} +1 -1
- package/dist/{workflow-engine-AAPPPMFS.js → workflow-engine-LAB6TGBZ.js} +2 -2
- package/dist/{worktree-MGYTWKCA.js → worktree-TBUUZJHY.js} +4 -4
- package/dist/{worktree-sweep-HNNHNAXN.js → worktree-sweep-LXDNIZPM.js} +5 -5
- package/package.json +1 -1
- package/release-notes.json +34 -71
- package/dist/chunk-GSIJL4YA.js +0 -58
- /package/dist/{chunk-O3XAKSKI.js → chunk-4P7NUL4D.js} +0 -0
- /package/dist/{chunk-HIN6X5QB.js → chunk-CYI2YR56.js} +0 -0
- /package/dist/{chunk-CHDPANT4.js → chunk-D4UCBR4O.js} +0 -0
- /package/dist/{chunk-WPQ5LWMW.js → chunk-FFUEDKYK.js} +0 -0
- /package/dist/{chunk-A3MGVYSP.js → chunk-G4JZ22KK.js} +0 -0
- /package/dist/{chunk-PDN25UJU.js → chunk-MA22RV3T.js} +0 -0
- /package/dist/{chunk-PDWIUSQH.js → chunk-MDK7E653.js} +0 -0
- /package/dist/{chunk-RYWVPACG.js → chunk-OG2RT4IY.js} +0 -0
- /package/dist/{chunk-GH5YKFE7.js → chunk-QPNXYGWG.js} +0 -0
- /package/dist/{chunk-DY7WDHMC.js → chunk-SJLZ53ZR.js} +0 -0
- /package/dist/{chunk-W7JPRQM2.js → chunk-VBHLE3TR.js} +0 -0
- /package/dist/{core-memory-TBLZ2YQQ.js → core-memory-FOW4BCPN.js} +0 -0
- /package/dist/{oauth-server-IB7OWY4H.js → oauth-server-OR4RAQYM.js} +0 -0
- /package/dist/{project-boot-TI3PUQNN.js → project-boot-WP54EOAG.js} +0 -0
- /package/dist/{wiki-acl-V5IRECJ3.js → wiki-acl-4DQQCP4V.js} +0 -0
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
persistSupportArtifact
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-2BOEUPL6.js";
|
|
4
4
|
import {
|
|
5
5
|
exportOrchestration,
|
|
6
6
|
importOrchestration,
|
|
7
7
|
validatePackage
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-FBSAXAXQ.js";
|
|
9
9
|
import {
|
|
10
10
|
runDriftProbes
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-G4HOMQY7.js";
|
|
12
12
|
import {
|
|
13
13
|
queueSupportStatusUpdateSync
|
|
14
14
|
} from "./chunk-25X4JD2V.js";
|
|
@@ -24,7 +24,7 @@ import {
|
|
|
24
24
|
registerTriageBugReport,
|
|
25
25
|
registerTriageFeatureRequest,
|
|
26
26
|
registerTriageReview
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-UO56K55W.js";
|
|
28
28
|
import {
|
|
29
29
|
supportCommitSchema,
|
|
30
30
|
supportIdSchema,
|
|
@@ -43,7 +43,7 @@ import {
|
|
|
43
43
|
} from "./chunk-MBULOZJF.js";
|
|
44
44
|
import {
|
|
45
45
|
StewardGate
|
|
46
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-YSTIPPZK.js";
|
|
47
47
|
import {
|
|
48
48
|
DEFAULT_LIST_LIMIT,
|
|
49
49
|
MAX_IMPORTANCE,
|
|
@@ -52,14 +52,14 @@ import {
|
|
|
52
52
|
ingestDocument,
|
|
53
53
|
listDocumentsByWorkspace,
|
|
54
54
|
updateChunksImportance
|
|
55
|
-
} from "./chunk-
|
|
55
|
+
} from "./chunk-VMTKHDFM.js";
|
|
56
56
|
import {
|
|
57
57
|
DreamingEngine
|
|
58
|
-
} from "./chunk-
|
|
58
|
+
} from "./chunk-K3ZHVW26.js";
|
|
59
59
|
import {
|
|
60
60
|
isRerankerAvailable,
|
|
61
61
|
rerankWithScores
|
|
62
|
-
} from "./chunk-
|
|
62
|
+
} from "./chunk-OG2RT4IY.js";
|
|
63
63
|
import {
|
|
64
64
|
getEntityByName,
|
|
65
65
|
getEntityNeighbors,
|
|
@@ -70,10 +70,10 @@ import {
|
|
|
70
70
|
} from "./chunk-CRCB5S7I.js";
|
|
71
71
|
import {
|
|
72
72
|
AUTO_WAKE_MAX_RETRIES
|
|
73
|
-
} from "./chunk-
|
|
73
|
+
} from "./chunk-FAH7JUNS.js";
|
|
74
74
|
import {
|
|
75
75
|
listRecentSessionEvents
|
|
76
|
-
} from "./chunk-
|
|
76
|
+
} from "./chunk-XRX7F7XW.js";
|
|
77
77
|
import {
|
|
78
78
|
isToolAllowed,
|
|
79
79
|
isToolAllowedForPlan
|
|
@@ -83,14 +83,14 @@ import {
|
|
|
83
83
|
getPlayMode,
|
|
84
84
|
listExploreSessions,
|
|
85
85
|
setPlayMode
|
|
86
|
-
} from "./chunk-
|
|
86
|
+
} from "./chunk-OE6D2IJI.js";
|
|
87
87
|
import {
|
|
88
88
|
getCachedLicenseGate,
|
|
89
89
|
refreshLicenseGate
|
|
90
|
-
} from "./chunk-
|
|
90
|
+
} from "./chunk-DBDMZTU5.js";
|
|
91
91
|
import {
|
|
92
92
|
getToolUsageStats
|
|
93
|
-
} from "./chunk-
|
|
93
|
+
} from "./chunk-G4JZ22KK.js";
|
|
94
94
|
import {
|
|
95
95
|
getToolCapabilityIndex
|
|
96
96
|
} from "./chunk-YL2JH3XV.js";
|
|
@@ -100,56 +100,56 @@ import {
|
|
|
100
100
|
} from "./chunk-QLFN3MUW.js";
|
|
101
101
|
import {
|
|
102
102
|
createOrRefreshResumeTask
|
|
103
|
-
} from "./chunk-
|
|
103
|
+
} from "./chunk-M3NSYVE3.js";
|
|
104
104
|
import {
|
|
105
105
|
registerCreateTask,
|
|
106
106
|
resolveProjectDir
|
|
107
|
-
} from "./chunk-
|
|
107
|
+
} from "./chunk-VDKDW5IA.js";
|
|
108
108
|
import {
|
|
109
109
|
registerListTasks
|
|
110
|
-
} from "./chunk-
|
|
110
|
+
} from "./chunk-W7HKGDJO.js";
|
|
111
111
|
import {
|
|
112
112
|
registerUpdateTask
|
|
113
|
-
} from "./chunk-
|
|
113
|
+
} from "./chunk-SUG5P42S.js";
|
|
114
114
|
import {
|
|
115
115
|
registerCreateReminder
|
|
116
|
-
} from "./chunk-
|
|
116
|
+
} from "./chunk-VA3ZUIWG.js";
|
|
117
117
|
import {
|
|
118
118
|
registerListReminders
|
|
119
|
-
} from "./chunk-
|
|
119
|
+
} from "./chunk-PYNWGP72.js";
|
|
120
120
|
import {
|
|
121
121
|
registerCompleteReminder
|
|
122
|
-
} from "./chunk-
|
|
122
|
+
} from "./chunk-2ESYTX6F.js";
|
|
123
123
|
import {
|
|
124
124
|
registerDeactivateBehavior
|
|
125
|
-
} from "./chunk-
|
|
125
|
+
} from "./chunk-ZYNQXN73.js";
|
|
126
126
|
import {
|
|
127
127
|
completeReminder,
|
|
128
128
|
createReminder,
|
|
129
129
|
listReminders
|
|
130
|
-
} from "./chunk-
|
|
130
|
+
} from "./chunk-XDVLCS64.js";
|
|
131
131
|
import {
|
|
132
132
|
registerSendMessage
|
|
133
|
-
} from "./chunk-
|
|
133
|
+
} from "./chunk-QFGUAJ6T.js";
|
|
134
134
|
import {
|
|
135
135
|
registerImportConversations
|
|
136
|
-
} from "./chunk-
|
|
136
|
+
} from "./chunk-EYWB6526.js";
|
|
137
137
|
import {
|
|
138
138
|
status
|
|
139
|
-
} from "./chunk-
|
|
139
|
+
} from "./chunk-KWRO4RMT.js";
|
|
140
140
|
import {
|
|
141
141
|
TOKENS_PER_IDLE_MINUTE,
|
|
142
142
|
countKillsSince,
|
|
143
143
|
sumTokensSavedSince
|
|
144
|
-
} from "./chunk-
|
|
144
|
+
} from "./chunk-W666YWFU.js";
|
|
145
145
|
import {
|
|
146
146
|
evaluateGlobalSpendCap,
|
|
147
147
|
getAgentSpend
|
|
148
|
-
} from "./chunk-
|
|
148
|
+
} from "./chunk-3T4BRBSH.js";
|
|
149
149
|
import {
|
|
150
150
|
createSchedule,
|
|
151
151
|
parseHumanCron
|
|
152
|
-
} from "./chunk-
|
|
152
|
+
} from "./chunk-F6NABQJ4.js";
|
|
153
153
|
import {
|
|
154
154
|
exportGraphHTML,
|
|
155
155
|
generateGraphReport
|
|
@@ -162,14 +162,14 @@ import {
|
|
|
162
162
|
formatReport,
|
|
163
163
|
runAudit,
|
|
164
164
|
shouldFixShards
|
|
165
|
-
} from "./chunk-
|
|
165
|
+
} from "./chunk-DNN27P35.js";
|
|
166
166
|
import {
|
|
167
167
|
formatDegradations,
|
|
168
168
|
getRetrievalHealth
|
|
169
|
-
} from "./chunk-
|
|
169
|
+
} from "./chunk-CYI2YR56.js";
|
|
170
170
|
import {
|
|
171
171
|
runHealthCheck
|
|
172
|
-
} from "./chunk-
|
|
172
|
+
} from "./chunk-QIALRZZG.js";
|
|
173
173
|
import {
|
|
174
174
|
checkCpuStealSync
|
|
175
175
|
} from "./chunk-SSC7EKY2.js";
|
|
@@ -177,7 +177,7 @@ import {
|
|
|
177
177
|
hasFailures,
|
|
178
178
|
runHealth,
|
|
179
179
|
runTest
|
|
180
|
-
} from "./chunk-
|
|
180
|
+
} from "./chunk-F4ZW76IX.js";
|
|
181
181
|
import {
|
|
182
182
|
isSupportReportSentStatus,
|
|
183
183
|
markSupportReportSent
|
|
@@ -188,12 +188,12 @@ import {
|
|
|
188
188
|
} from "./chunk-2XZ6X3PJ.js";
|
|
189
189
|
import {
|
|
190
190
|
renderClientCOOTemplate
|
|
191
|
-
} from "./chunk-
|
|
191
|
+
} from "./chunk-DZJL775P.js";
|
|
192
192
|
import {
|
|
193
193
|
deactivateGlobalProcedure,
|
|
194
194
|
loadGlobalProcedures,
|
|
195
195
|
storeGlobalProcedure
|
|
196
|
-
} from "./chunk-
|
|
196
|
+
} from "./chunk-T7ZLJZAO.js";
|
|
197
197
|
import {
|
|
198
198
|
PLATFORM_PROCEDURES
|
|
199
199
|
} from "./chunk-CQN4IKRB.js";
|
|
@@ -202,14 +202,14 @@ import {
|
|
|
202
202
|
cloudSync,
|
|
203
203
|
getCloudReuploadRequired,
|
|
204
204
|
markCloudReuploadRequired
|
|
205
|
-
} from "./chunk-
|
|
205
|
+
} from "./chunk-VALVWYAK.js";
|
|
206
206
|
import {
|
|
207
207
|
createARecord
|
|
208
208
|
} from "./chunk-X2Z5GT3V.js";
|
|
209
209
|
import {
|
|
210
210
|
findSimilarTrajectories,
|
|
211
211
|
hashSignature
|
|
212
|
-
} from "./chunk-
|
|
212
|
+
} from "./chunk-IMHERTUL.js";
|
|
213
213
|
import {
|
|
214
214
|
GHOST_BEHAVIOR_SQL,
|
|
215
215
|
deactivateBehavior,
|
|
@@ -218,17 +218,17 @@ import {
|
|
|
218
218
|
reactivateBehavior,
|
|
219
219
|
storeBehavior,
|
|
220
220
|
storeReflexBehavior
|
|
221
|
-
} from "./chunk-
|
|
221
|
+
} from "./chunk-4VLRGKNY.js";
|
|
222
222
|
import {
|
|
223
223
|
countUnconsolidated,
|
|
224
224
|
groupMemories,
|
|
225
225
|
runConsolidation,
|
|
226
226
|
selectUnconsolidated
|
|
227
|
-
} from "./chunk-
|
|
227
|
+
} from "./chunk-PRUZNNEF.js";
|
|
228
228
|
import {
|
|
229
229
|
entityId,
|
|
230
230
|
mergeEntities
|
|
231
|
-
} from "./chunk-
|
|
231
|
+
} from "./chunk-VTMSGELG.js";
|
|
232
232
|
import {
|
|
233
233
|
detectDcrIncompatibleConnectorsFromDisk,
|
|
234
234
|
detectExternalMcpFailures,
|
|
@@ -242,7 +242,7 @@ import {
|
|
|
242
242
|
import {
|
|
243
243
|
hybridSearch,
|
|
244
244
|
recentRecords
|
|
245
|
-
} from "./chunk-
|
|
245
|
+
} from "./chunk-PO64LWTM.js";
|
|
246
246
|
import {
|
|
247
247
|
buildFtsMatch,
|
|
248
248
|
tokenizeForFts
|
|
@@ -252,19 +252,19 @@ import {
|
|
|
252
252
|
flushBatch,
|
|
253
253
|
initStore,
|
|
254
254
|
writeMemory
|
|
255
|
-
} from "./chunk-
|
|
255
|
+
} from "./chunk-TQSAPNFW.js";
|
|
256
256
|
import {
|
|
257
257
|
updateTask
|
|
258
|
-
} from "./chunk-
|
|
258
|
+
} from "./chunk-LJGHAZYU.js";
|
|
259
259
|
import {
|
|
260
260
|
fastDbInit
|
|
261
|
-
} from "./chunk-
|
|
261
|
+
} from "./chunk-QPNXYGWG.js";
|
|
262
262
|
import {
|
|
263
263
|
MAX_CONCURRENT_WORKERS
|
|
264
|
-
} from "./chunk-
|
|
264
|
+
} from "./chunk-QZA5NG6Z.js";
|
|
265
265
|
import {
|
|
266
266
|
getActiveAgent
|
|
267
|
-
} from "./chunk-
|
|
267
|
+
} from "./chunk-HWK5GKE6.js";
|
|
268
268
|
import {
|
|
269
269
|
UPSTREAM_ATTACHMENT_MAX_CHARS,
|
|
270
270
|
isTelemetryRedactionEnabled,
|
|
@@ -284,13 +284,13 @@ import {
|
|
|
284
284
|
sessionScopeFilter,
|
|
285
285
|
updateTaskStatus,
|
|
286
286
|
writeCheckpoint
|
|
287
|
-
} from "./chunk-
|
|
287
|
+
} from "./chunk-EWWCMMES.js";
|
|
288
288
|
import {
|
|
289
289
|
listSessions
|
|
290
|
-
} from "./chunk-
|
|
290
|
+
} from "./chunk-FDOURKUO.js";
|
|
291
291
|
import {
|
|
292
292
|
recordOrchestrationEventBestEffort
|
|
293
|
-
} from "./chunk-
|
|
293
|
+
} from "./chunk-MT6YGWJ6.js";
|
|
294
294
|
import {
|
|
295
295
|
DEFAULT_MODELS,
|
|
296
296
|
KNOWN_RUNTIMES,
|
|
@@ -298,13 +298,13 @@ import {
|
|
|
298
298
|
getAgentRuntime,
|
|
299
299
|
loadAgentConfig,
|
|
300
300
|
setAgentRuntime
|
|
301
|
-
} from "./chunk-
|
|
301
|
+
} from "./chunk-3EMAJBBN.js";
|
|
302
302
|
import {
|
|
303
303
|
PlanLimitError,
|
|
304
304
|
assertEmployeeLimit,
|
|
305
305
|
assertFeature,
|
|
306
306
|
assertMemoryLimit
|
|
307
|
-
} from "./chunk-
|
|
307
|
+
} from "./chunk-Y7637VDZ.js";
|
|
308
308
|
import {
|
|
309
309
|
getProjectName
|
|
310
310
|
} from "./chunk-OPU3NYOO.js";
|
|
@@ -324,7 +324,7 @@ import {
|
|
|
324
324
|
isScheduledTrigger,
|
|
325
325
|
loadTriggers,
|
|
326
326
|
sanitizeParam
|
|
327
|
-
} from "./chunk-
|
|
327
|
+
} from "./chunk-MDK7E653.js";
|
|
328
328
|
import {
|
|
329
329
|
pushConversationToCRM
|
|
330
330
|
} from "./chunk-ML4S5SHZ.js";
|
|
@@ -346,7 +346,7 @@ import {
|
|
|
346
346
|
loadEmployeesSync,
|
|
347
347
|
saveEmployees,
|
|
348
348
|
updateIdentity
|
|
349
|
-
} from "./chunk-
|
|
349
|
+
} from "./chunk-ZY2ABBVR.js";
|
|
350
350
|
import {
|
|
351
351
|
getEventLoopLagMs,
|
|
352
352
|
isDaemonAlive,
|
|
@@ -357,7 +357,7 @@ import {
|
|
|
357
357
|
} from "./chunk-QWVXN224.js";
|
|
358
358
|
import {
|
|
359
359
|
DEFAULT_RUNTIME
|
|
360
|
-
} from "./chunk-
|
|
360
|
+
} from "./chunk-WNBZJSQT.js";
|
|
361
361
|
import {
|
|
362
362
|
checkForUpdate
|
|
363
363
|
} from "./chunk-F55P3H4S.js";
|
|
@@ -371,7 +371,7 @@ import {
|
|
|
371
371
|
refreshLicense,
|
|
372
372
|
saveLicense,
|
|
373
373
|
validateLicense
|
|
374
|
-
} from "./chunk-
|
|
374
|
+
} from "./chunk-ZK53K7OR.js";
|
|
375
375
|
import {
|
|
376
376
|
EXE_AI_DIR,
|
|
377
377
|
loadConfig
|
|
@@ -555,7 +555,7 @@ function registerRecallMyMemory(server) {
|
|
|
555
555
|
}) => {
|
|
556
556
|
try {
|
|
557
557
|
if (!isInitialized()) {
|
|
558
|
-
const { fastDbInit: fastDbInit2 } = await import("./fast-db-init-
|
|
558
|
+
const { fastDbInit: fastDbInit2 } = await import("./fast-db-init-O7AECNTB.js");
|
|
559
559
|
await fastDbInit2();
|
|
560
560
|
}
|
|
561
561
|
if (!recent && !query) {
|
|
@@ -840,7 +840,7 @@ function registerStoreMemory(server) {
|
|
|
840
840
|
}
|
|
841
841
|
const { agentId, agentRole } = getActiveAgent();
|
|
842
842
|
if (kind === "prospective") {
|
|
843
|
-
const { createProspectiveMemory } = await import("./prospective-memory-
|
|
843
|
+
const { createProspectiveMemory } = await import("./prospective-memory-UDQWFP5Y.js");
|
|
844
844
|
let sessionScope = null;
|
|
845
845
|
try {
|
|
846
846
|
const { resolveExeSession: resolveExeSession2 } = await import("./lib/tmux-routing.js");
|
|
@@ -1826,7 +1826,7 @@ async function handleSupersede(input) {
|
|
|
1826
1826
|
}
|
|
1827
1827
|
try {
|
|
1828
1828
|
const { getClient: getClient2 } = await import("./lib/database.js");
|
|
1829
|
-
const { getActiveAgent: getActiveAgent2 } = await import("./active-agent-
|
|
1829
|
+
const { getActiveAgent: getActiveAgent2 } = await import("./active-agent-CMY7WTJL.js");
|
|
1830
1830
|
const { writeMemory: writeMemory2, flushBatch: flushBatch2 } = await import("./lib/store.js");
|
|
1831
1831
|
const { randomUUID: randomUUID2 } = await import("crypto");
|
|
1832
1832
|
const client = getClient2();
|
|
@@ -1879,7 +1879,7 @@ New memory id: ${newId}`
|
|
|
1879
1879
|
}
|
|
1880
1880
|
async function handleResonanceQuery(input) {
|
|
1881
1881
|
try {
|
|
1882
|
-
const { getHotPairs, getCoActivationNeighbors } = await import("./co-activation-
|
|
1882
|
+
const { getHotPairs, getCoActivationNeighbors } = await import("./co-activation-SYSIFY66.js");
|
|
1883
1883
|
const subAction = input.resonance_action ?? "hot_pairs";
|
|
1884
1884
|
const limit = input.limit ?? 20;
|
|
1885
1885
|
if (subAction === "hot_pairs") {
|
|
@@ -1977,7 +1977,7 @@ function registerMemory(server) {
|
|
|
1977
1977
|
return handleResonanceQuery(input);
|
|
1978
1978
|
}
|
|
1979
1979
|
if (action === "update_working_memory" || action === "get_working_memory") {
|
|
1980
|
-
const { getActiveAgent: getActiveAgent2 } = await import("./active-agent-
|
|
1980
|
+
const { getActiveAgent: getActiveAgent2 } = await import("./active-agent-CMY7WTJL.js");
|
|
1981
1981
|
const { agentId } = getActiveAgent2();
|
|
1982
1982
|
const { readWorkingMemoryWithMeta, writeWorkingMemory, WORKING_MEMORY_MAX_BYTES } = await import("./working-memory-BACVOAIV.js");
|
|
1983
1983
|
if (action === "get_working_memory") {
|
|
@@ -2003,9 +2003,9 @@ function registerMemory(server) {
|
|
|
2003
2003
|
}
|
|
2004
2004
|
}
|
|
2005
2005
|
if (action === "core_get" || action === "core_set" || action === "core_delete") {
|
|
2006
|
-
const { getActiveAgent: getActiveAgent2 } = await import("./active-agent-
|
|
2006
|
+
const { getActiveAgent: getActiveAgent2 } = await import("./active-agent-CMY7WTJL.js");
|
|
2007
2007
|
const { agentId } = getActiveAgent2();
|
|
2008
|
-
const { getCoreMemory, setCoreMemory, deleteCoreMemory, formatCoreMemoryBlock } = await import("./core-memory-
|
|
2008
|
+
const { getCoreMemory, setCoreMemory, deleteCoreMemory, formatCoreMemoryBlock } = await import("./core-memory-FOW4BCPN.js");
|
|
2009
2009
|
if (action === "core_get") {
|
|
2010
2010
|
const entries = await getCoreMemory(agentId);
|
|
2011
2011
|
const block = formatCoreMemoryBlock(entries);
|
|
@@ -2057,12 +2057,12 @@ function registerMemory(server) {
|
|
|
2057
2057
|
if (!storeTrigger || !storeTriggerAction) {
|
|
2058
2058
|
return errorResult('memory action "store" with kind="reflex" requires trigger and trigger_action fields');
|
|
2059
2059
|
}
|
|
2060
|
-
const { formatReflexContent, storeReflexBehavior: storeReflexBehavior2 } = await import("./behaviors-
|
|
2060
|
+
const { formatReflexContent, storeReflexBehavior: storeReflexBehavior2 } = await import("./behaviors-G7TR6LBM.js");
|
|
2061
2061
|
const reflexText = formatReflexContent(storeTrigger, storeTriggerAction);
|
|
2062
2062
|
legacyArgs.text ??= reflexText;
|
|
2063
2063
|
legacyArgs.query ??= reflexText;
|
|
2064
2064
|
try {
|
|
2065
|
-
const { getActiveAgent: getActiveAgent2 } = await import("./active-agent-
|
|
2065
|
+
const { getActiveAgent: getActiveAgent2 } = await import("./active-agent-CMY7WTJL.js");
|
|
2066
2066
|
const { getProjectName: getProjectName2 } = await import("./project-name-EWG5KAZP.js");
|
|
2067
2067
|
const agent = getActiveAgent2();
|
|
2068
2068
|
const behaviorId = await storeReflexBehavior2({
|
|
@@ -2448,8 +2448,8 @@ async function respawnAssigneeAfterClose(input) {
|
|
|
2448
2448
|
} catch {
|
|
2449
2449
|
}
|
|
2450
2450
|
try {
|
|
2451
|
-
const { cleanupAgentWorktree } = await import("./worktree-sweep-
|
|
2452
|
-
const { getGitRoot } = await import("./worktree-
|
|
2451
|
+
const { cleanupAgentWorktree } = await import("./worktree-sweep-LXDNIZPM.js");
|
|
2452
|
+
const { getGitRoot } = await import("./worktree-TBUUZJHY.js");
|
|
2453
2453
|
const root = getGitRoot(projectDir);
|
|
2454
2454
|
if (root) {
|
|
2455
2455
|
const notes = await cleanupAgentWorktree(root, input.assignee);
|
|
@@ -2465,7 +2465,7 @@ async function respawnAssigneeAfterClose(input) {
|
|
|
2465
2465
|
);
|
|
2466
2466
|
return { respawned: false, reason: "no open task id to gate the claim on" };
|
|
2467
2467
|
}
|
|
2468
|
-
const { tryAcquireDispatchClaim, releaseDispatchClaim } = await import("./dispatch-ack-
|
|
2468
|
+
const { tryAcquireDispatchClaim, releaseDispatchClaim } = await import("./dispatch-ack-AZL3WKCK.js");
|
|
2469
2469
|
if (!tryAcquireDispatchClaim(input.topTaskId, input.assignee, exeSession)) {
|
|
2470
2470
|
process.stderr.write(
|
|
2471
2471
|
`[close-task] Deferred respawn DEDUPED for ${input.assignee} task ${input.topTaskId} \u2014 another dispatch is already in flight
|
|
@@ -2510,16 +2510,33 @@ function registerCloseTask(server) {
|
|
|
2510
2510
|
},
|
|
2511
2511
|
async ({ task_id, result: result3, status: status2 }) => {
|
|
2512
2512
|
const agent = getActiveAgent();
|
|
2513
|
+
const { getClient: getClient2 } = await import("./lib/database.js");
|
|
2514
|
+
const client = getClient2();
|
|
2515
|
+
const mySession = resolveExeSession();
|
|
2516
|
+
let row;
|
|
2513
2517
|
try {
|
|
2514
|
-
|
|
2518
|
+
row = await resolveTask(client, task_id, mySession);
|
|
2519
|
+
} catch {
|
|
2520
|
+
return {
|
|
2521
|
+
content: [{
|
|
2522
|
+
type: "text",
|
|
2523
|
+
text: `Task not found: ${task_id}`
|
|
2524
|
+
}],
|
|
2525
|
+
isError: true
|
|
2526
|
+
};
|
|
2527
|
+
}
|
|
2528
|
+
const taskReviewer = row.reviewer ? String(row.reviewer) : null;
|
|
2529
|
+
const callerIsAssignedReviewer = Boolean(agent.agentId) && taskReviewer !== null && agent.agentId === taskReviewer;
|
|
2530
|
+
const canClose = canCoordinate(agent.agentId, agent.agentRole) || CLOSE_TASK_ALLOWED_ROLES.has(agent.agentRole ?? "") || callerIsAssignedReviewer;
|
|
2531
|
+
try {
|
|
2532
|
+
const { StewardGate: StewardGate2 } = await import("./steward-gate-CGP6U7KC.js");
|
|
2515
2533
|
const steward = new StewardGate2();
|
|
2516
2534
|
const gateDecision = await steward.checkAuthority(agent.agentId || "unknown", "close_task", task_id);
|
|
2517
|
-
if (!gateDecision.allowed) {
|
|
2535
|
+
if (!gateDecision.allowed && !callerIsAssignedReviewer) {
|
|
2518
2536
|
return { content: [{ type: "text", text: `Steward gate denied: ${gateDecision.reason}` }], isError: true };
|
|
2519
2537
|
}
|
|
2520
2538
|
} catch {
|
|
2521
2539
|
}
|
|
2522
|
-
const canClose = canCoordinate(agent.agentId, agent.agentRole) || CLOSE_TASK_ALLOWED_ROLES.has(agent.agentRole ?? "");
|
|
2523
2540
|
if (agent.agentId && !canClose) {
|
|
2524
2541
|
return {
|
|
2525
2542
|
content: [
|
|
@@ -2531,21 +2548,6 @@ function registerCloseTask(server) {
|
|
|
2531
2548
|
isError: true
|
|
2532
2549
|
};
|
|
2533
2550
|
}
|
|
2534
|
-
const { getClient: getClient2 } = await import("./lib/database.js");
|
|
2535
|
-
const client = getClient2();
|
|
2536
|
-
const mySession = resolveExeSession();
|
|
2537
|
-
let row;
|
|
2538
|
-
try {
|
|
2539
|
-
row = await resolveTask(client, task_id, mySession);
|
|
2540
|
-
} catch {
|
|
2541
|
-
return {
|
|
2542
|
-
content: [{
|
|
2543
|
-
type: "text",
|
|
2544
|
-
text: `Task not found: ${task_id}`
|
|
2545
|
-
}],
|
|
2546
|
-
isError: true
|
|
2547
|
-
};
|
|
2548
|
-
}
|
|
2549
2551
|
const taskStatus = String(row.status);
|
|
2550
2552
|
const assignee = row.assigned_to;
|
|
2551
2553
|
const taskScope = row.session_scope;
|
|
@@ -2692,8 +2694,8 @@ ${preflightWarnings.join("\n")}`;
|
|
|
2692
2694
|
if (mergeNote) text5 += mergeNote;
|
|
2693
2695
|
if (status2 === "closed" && assignee) {
|
|
2694
2696
|
try {
|
|
2695
|
-
const { cleanupAgentWorktree } = await import("./worktree-sweep-
|
|
2696
|
-
const { getGitRoot } = await import("./worktree-
|
|
2697
|
+
const { cleanupAgentWorktree } = await import("./worktree-sweep-LXDNIZPM.js");
|
|
2698
|
+
const { getGitRoot } = await import("./worktree-TBUUZJHY.js");
|
|
2697
2699
|
const repoRoot = getGitRoot(baseDir);
|
|
2698
2700
|
if (repoRoot) {
|
|
2699
2701
|
const cleanupNotes = await cleanupAgentWorktree(repoRoot, assignee);
|
|
@@ -2836,7 +2838,7 @@ function registerResumeEmployee(server) {
|
|
|
2836
2838
|
},
|
|
2837
2839
|
async ({ agent_id, project_name }) => {
|
|
2838
2840
|
if (!isInitialized()) {
|
|
2839
|
-
const { fastDbInit: fastDbInit2 } = await import("./fast-db-init-
|
|
2841
|
+
const { fastDbInit: fastDbInit2 } = await import("./fast-db-init-O7AECNTB.js");
|
|
2840
2842
|
await fastDbInit2();
|
|
2841
2843
|
}
|
|
2842
2844
|
const client = getClient();
|
|
@@ -2863,7 +2865,7 @@ function registerResumeEmployee(server) {
|
|
|
2863
2865
|
};
|
|
2864
2866
|
}
|
|
2865
2867
|
try {
|
|
2866
|
-
const { isTmuxSessionAlive } = await import("./tasks-crud-
|
|
2868
|
+
const { isTmuxSessionAlive } = await import("./tasks-crud-PTN36B5F.js");
|
|
2867
2869
|
const now = (/* @__PURE__ */ new Date()).toISOString();
|
|
2868
2870
|
for (const row of openTasks.rows) {
|
|
2869
2871
|
const status2 = String(row.status);
|
|
@@ -2891,7 +2893,7 @@ function registerResumeEmployee(server) {
|
|
|
2891
2893
|
}
|
|
2892
2894
|
let checkpointInfo = "";
|
|
2893
2895
|
try {
|
|
2894
|
-
const { readLatestCheckpoint } = await import("./tasks-crud-
|
|
2896
|
+
const { readLatestCheckpoint } = await import("./tasks-crud-PTN36B5F.js");
|
|
2895
2897
|
const checkpointSessionScope = openTasks.rows[0]?.session_scope != null ? String(openTasks.rows[0].session_scope) : reScope.args[0] != null ? String(reScope.args[0]) : "";
|
|
2896
2898
|
const checkpoint = checkpointSessionScope ? await readLatestCheckpoint(agent_id, { sessionScope: checkpointSessionScope }) : null;
|
|
2897
2899
|
if (checkpoint) {
|
|
@@ -2974,7 +2976,7 @@ function registerResumeEmployee(server) {
|
|
|
2974
2976
|
`
|
|
2975
2977
|
);
|
|
2976
2978
|
const { shouldAutoInstance } = await import("./lib/employees.js");
|
|
2977
|
-
const { tryAcquireDispatchClaim, releaseDispatchClaim } = await import("./dispatch-ack-
|
|
2979
|
+
const { tryAcquireDispatchClaim, releaseDispatchClaim } = await import("./dispatch-ack-AZL3WKCK.js");
|
|
2978
2980
|
let claimedResume = false;
|
|
2979
2981
|
if (taskId) {
|
|
2980
2982
|
claimedResume = tryAcquireDispatchClaim(taskId, agent_id, exeSession);
|
|
@@ -3375,7 +3377,7 @@ function registerTask(server) {
|
|
|
3375
3377
|
const taskId = input.task_id;
|
|
3376
3378
|
if (!taskId) return errorResult2("verify_dispatch requires task_id");
|
|
3377
3379
|
try {
|
|
3378
|
-
const { checkDispatchStatus } = await import("./dispatch-ack-
|
|
3380
|
+
const { checkDispatchStatus } = await import("./dispatch-ack-AZL3WKCK.js");
|
|
3379
3381
|
const result4 = checkDispatchStatus(taskId);
|
|
3380
3382
|
return {
|
|
3381
3383
|
content: [{ type: "text", text: JSON.stringify(result4, null, 2) }]
|
|
@@ -3389,7 +3391,7 @@ function registerTask(server) {
|
|
|
3389
3391
|
const missing2 = missingRequiredFields2(args, REQUIRED_FIELDS2.create_group);
|
|
3390
3392
|
if (missing2.length > 0) return errorResult2(`task action "create_group" missing required field(s): ${missing2.join(", ")}`);
|
|
3391
3393
|
try {
|
|
3392
|
-
const { createTaskGroup } = await import("./tasks-crud-
|
|
3394
|
+
const { createTaskGroup } = await import("./tasks-crud-PTN36B5F.js");
|
|
3393
3395
|
const group = await createTaskGroup({
|
|
3394
3396
|
title: args.title,
|
|
3395
3397
|
coordinator: args.coordinator,
|
|
@@ -3408,7 +3410,7 @@ function registerTask(server) {
|
|
|
3408
3410
|
const missing2 = missingRequiredFields2(args, REQUIRED_FIELDS2.group_status);
|
|
3409
3411
|
if (missing2.length > 0) return errorResult2(`task action "group_status" missing required field(s): ${missing2.join(", ")}`);
|
|
3410
3412
|
try {
|
|
3411
|
-
const { getGroupStatus } = await import("./tasks-crud-
|
|
3413
|
+
const { getGroupStatus } = await import("./tasks-crud-PTN36B5F.js");
|
|
3412
3414
|
const status2 = await getGroupStatus(args.group_id);
|
|
3413
3415
|
return { content: [{ type: "text", text: JSON.stringify(status2, null, 2) }] };
|
|
3414
3416
|
} catch (err) {
|
|
@@ -3420,7 +3422,7 @@ function registerTask(server) {
|
|
|
3420
3422
|
const missing2 = missingRequiredFields2(args, REQUIRED_FIELDS2.group_results);
|
|
3421
3423
|
if (missing2.length > 0) return errorResult2(`task action "group_results" missing required field(s): ${missing2.join(", ")}`);
|
|
3422
3424
|
try {
|
|
3423
|
-
const { getGroupResults } = await import("./tasks-crud-
|
|
3425
|
+
const { getGroupResults } = await import("./tasks-crud-PTN36B5F.js");
|
|
3424
3426
|
const results = await getGroupResults(args.group_id);
|
|
3425
3427
|
return { content: [{ type: "text", text: JSON.stringify(results, null, 2) }] };
|
|
3426
3428
|
} catch (err) {
|
|
@@ -3671,7 +3673,7 @@ function registerMessage(server) {
|
|
|
3671
3673
|
if (msgType && msgPayload) {
|
|
3672
3674
|
try {
|
|
3673
3675
|
const { buildTypedMessage, serializeMessage } = await import("./typed-messages-TKDGVPHS.js");
|
|
3674
|
-
const { getActiveAgent: getActiveAgent2 } = await import("./active-agent-
|
|
3676
|
+
const { getActiveAgent: getActiveAgent2 } = await import("./active-agent-CMY7WTJL.js");
|
|
3675
3677
|
const { sendMessage } = await import("./lib/messaging.js");
|
|
3676
3678
|
const { agentId } = getActiveAgent2();
|
|
3677
3679
|
const envelope = buildTypedMessage({
|
|
@@ -3705,7 +3707,7 @@ ID: ${msg.id}`
|
|
|
3705
3707
|
if (action === "read") {
|
|
3706
3708
|
try {
|
|
3707
3709
|
const { getPendingMessages } = await import("./lib/messaging.js");
|
|
3708
|
-
const { getActiveAgent: getActiveAgent2 } = await import("./active-agent-
|
|
3710
|
+
const { getActiveAgent: getActiveAgent2 } = await import("./active-agent-CMY7WTJL.js");
|
|
3709
3711
|
const { resolveExeSession: resolveExeSession2 } = await import("./lib/tmux-routing.js");
|
|
3710
3712
|
const { agentId } = getActiveAgent2();
|
|
3711
3713
|
const callerScope = resolveExeSession2() ?? void 0;
|
|
@@ -4070,8 +4072,8 @@ function registerIngestDocument(server) {
|
|
|
4070
4072
|
},
|
|
4071
4073
|
async (input) => {
|
|
4072
4074
|
try {
|
|
4073
|
-
const { assertFeature: assertFeature2 } = await import("./plan-limits-
|
|
4074
|
-
const { assertMemoryLimit: assertMemoryLimit2 } = await import("./plan-limits-
|
|
4075
|
+
const { assertFeature: assertFeature2 } = await import("./plan-limits-4LMRHOUW.js");
|
|
4076
|
+
const { assertMemoryLimit: assertMemoryLimit2 } = await import("./plan-limits-4LMRHOUW.js");
|
|
4075
4077
|
await assertFeature2("wiki");
|
|
4076
4078
|
await assertMemoryLimit2();
|
|
4077
4079
|
const result3 = await ingestDocument(input);
|
|
@@ -4142,8 +4144,8 @@ function registerPurgeDocument(server) {
|
|
|
4142
4144
|
},
|
|
4143
4145
|
async ({ document_id }) => {
|
|
4144
4146
|
try {
|
|
4145
|
-
const { StewardGate: StewardGate2 } = await import("./steward-gate-
|
|
4146
|
-
const { getActiveAgent: getActiveAgent2 } = await import("./active-agent-
|
|
4147
|
+
const { StewardGate: StewardGate2 } = await import("./steward-gate-CGP6U7KC.js");
|
|
4148
|
+
const { getActiveAgent: getActiveAgent2 } = await import("./active-agent-CMY7WTJL.js");
|
|
4147
4149
|
const steward = new StewardGate2();
|
|
4148
4150
|
const agent = getActiveAgent2();
|
|
4149
4151
|
const gateDecision = await steward.checkAuthority(agent.agentId || "unknown", "purge_document", document_id);
|
|
@@ -4313,7 +4315,7 @@ function registerDocument(server) {
|
|
|
4313
4315
|
const { action: _action, ...legacyArgs } = input;
|
|
4314
4316
|
if (action === "list" && (legacyArgs.workspace_id === void 0 || legacyArgs.workspace_id === null || legacyArgs.workspace_id === "")) {
|
|
4315
4317
|
try {
|
|
4316
|
-
const { resolveDefaultWorkspaceId, listWorkspaces } = await import("./documents-
|
|
4318
|
+
const { resolveDefaultWorkspaceId, listWorkspaces } = await import("./documents-FGXV6BDL.js");
|
|
4317
4319
|
const defaultId = await resolveDefaultWorkspaceId();
|
|
4318
4320
|
if (defaultId) {
|
|
4319
4321
|
legacyArgs.workspace_id = defaultId;
|
|
@@ -5313,7 +5315,7 @@ async function handleStatus() {
|
|
|
5313
5315
|
detail: wikiUrl ? `API at ${wikiUrl}` : "EXE_WIKI_API_URL not set"
|
|
5314
5316
|
};
|
|
5315
5317
|
try {
|
|
5316
|
-
await import("./graph-rag-
|
|
5318
|
+
await import("./graph-rag-LWKKHY72.js");
|
|
5317
5319
|
sinks.entity_extraction = { configured: true, detail: "GraphRAG available" };
|
|
5318
5320
|
} catch {
|
|
5319
5321
|
sinks.entity_extraction = { configured: false, detail: "graph-rag module unavailable" };
|
|
@@ -5340,7 +5342,7 @@ async function handleTrigger(limit) {
|
|
|
5340
5342
|
if (rows.rows.length === 0) {
|
|
5341
5343
|
return text3("No conversations found to re-process.");
|
|
5342
5344
|
}
|
|
5343
|
-
const { ingest } = await import("./pipeline-router-
|
|
5345
|
+
const { ingest } = await import("./pipeline-router-HK5BI3LQ.js");
|
|
5344
5346
|
const results = [];
|
|
5345
5347
|
for (const row of rows.rows) {
|
|
5346
5348
|
const r = row;
|
|
@@ -5973,35 +5975,55 @@ function registerMergeEntities(server) {
|
|
|
5973
5975
|
title: "Merge Entities",
|
|
5974
5976
|
description: 'Merge duplicate GraphRAG entities. Moves all relationships and memory links from source to target entity, registers source name as alias, deletes source. Use when "Lenny" and "Leonard" should be the same entity.',
|
|
5975
5977
|
inputSchema: {
|
|
5976
|
-
|
|
5977
|
-
|
|
5978
|
-
|
|
5979
|
-
|
|
5978
|
+
source_id: z45.string().optional().describe("ID of the entity to merge FROM (will be deleted)"),
|
|
5979
|
+
target_id: z45.string().optional().describe("ID of the entity to merge INTO (will be kept)"),
|
|
5980
|
+
source_name: z45.string().optional().describe("Name of the entity to merge FROM (will be deleted)"),
|
|
5981
|
+
source_type: z45.string().optional().describe('Entity type (e.g., "person", "company", "product")'),
|
|
5982
|
+
target_name: z45.string().optional().describe("Name of the entity to merge INTO (will be kept)"),
|
|
5983
|
+
target_type: z45.string().optional().describe("Entity type of the target")
|
|
5980
5984
|
}
|
|
5981
5985
|
},
|
|
5982
|
-
async ({ source_name, source_type, target_name, target_type }) => {
|
|
5986
|
+
async ({ source_id, target_id, source_name, source_type, target_name, target_type }) => {
|
|
5987
|
+
const hasIds = typeof source_id === "string" && source_id.length > 0 && typeof target_id === "string" && target_id.length > 0;
|
|
5988
|
+
const hasNames = typeof source_name === "string" && source_name.length > 0 && typeof source_type === "string" && source_type.length > 0 && typeof target_name === "string" && target_name.length > 0 && typeof target_type === "string" && target_type.length > 0;
|
|
5989
|
+
if (!hasIds && !hasNames) {
|
|
5990
|
+
return {
|
|
5991
|
+
content: [
|
|
5992
|
+
{
|
|
5993
|
+
type: "text",
|
|
5994
|
+
text: "Merge failed: provide source_id and target_id, or source_name/source_type and target_name/target_type."
|
|
5995
|
+
}
|
|
5996
|
+
],
|
|
5997
|
+
isError: true
|
|
5998
|
+
};
|
|
5999
|
+
}
|
|
5983
6000
|
try {
|
|
5984
|
-
const { StewardGate: StewardGate2 } = await import("./steward-gate-
|
|
5985
|
-
const { getActiveAgent: getActiveAgent2 } = await import("./active-agent-
|
|
6001
|
+
const { StewardGate: StewardGate2 } = await import("./steward-gate-CGP6U7KC.js");
|
|
6002
|
+
const { getActiveAgent: getActiveAgent2 } = await import("./active-agent-CMY7WTJL.js");
|
|
5986
6003
|
const steward = new StewardGate2();
|
|
5987
6004
|
const agent = getActiveAgent2();
|
|
5988
|
-
const
|
|
6005
|
+
const sourceLabel2 = source_name ?? source_id;
|
|
6006
|
+
const targetLabel2 = target_name ?? target_id;
|
|
6007
|
+
const gateDecision = await steward.checkAuthority(agent.agentId || "unknown", "merge_entities", `${sourceLabel2}\u2192${targetLabel2}`);
|
|
5989
6008
|
if (!gateDecision.allowed) {
|
|
5990
6009
|
return { content: [{ type: "text", text: `Steward gate denied: ${gateDecision.reason}` }], isError: true };
|
|
5991
6010
|
}
|
|
5992
6011
|
} catch {
|
|
5993
6012
|
}
|
|
5994
6013
|
const client = getClient();
|
|
5995
|
-
const sourceId = entityId(source_name, source_type);
|
|
5996
|
-
const targetId = entityId(target_name, target_type);
|
|
6014
|
+
const sourceId = hasIds ? source_id : entityId(source_name, source_type);
|
|
6015
|
+
const targetId = hasIds ? target_id : entityId(target_name, target_type);
|
|
6016
|
+
const sourceLabel = source_name ?? sourceId;
|
|
6017
|
+
const targetLabel = target_name ?? targetId;
|
|
5997
6018
|
if (sourceId === targetId) {
|
|
5998
6019
|
return {
|
|
5999
6020
|
content: [
|
|
6000
6021
|
{
|
|
6001
6022
|
type: "text",
|
|
6002
|
-
text: "
|
|
6023
|
+
text: "Merge failed: source and target resolve to the same entity."
|
|
6003
6024
|
}
|
|
6004
|
-
]
|
|
6025
|
+
],
|
|
6026
|
+
isError: true
|
|
6005
6027
|
};
|
|
6006
6028
|
}
|
|
6007
6029
|
try {
|
|
@@ -6010,10 +6032,10 @@ function registerMergeEntities(server) {
|
|
|
6010
6032
|
content: [
|
|
6011
6033
|
{
|
|
6012
6034
|
type: "text",
|
|
6013
|
-
text: `Merged "${
|
|
6035
|
+
text: `Merged "${sourceLabel}" \u2192 "${targetLabel}":
|
|
6014
6036
|
- ${result3.relationshipsMoved} relationships moved
|
|
6015
6037
|
- ${result3.memoriesMoved} memory links moved
|
|
6016
|
-
|
|
6038
|
+
` + (source_name && target_name ? `- "${source_name}" registered as alias for "${target_name}"` : "- Source entity registered as alias for target entity")
|
|
6017
6039
|
}
|
|
6018
6040
|
]
|
|
6019
6041
|
};
|
|
@@ -6024,7 +6046,8 @@ function registerMergeEntities(server) {
|
|
|
6024
6046
|
type: "text",
|
|
6025
6047
|
text: `Merge failed: ${err instanceof Error ? err.message : String(err)}`
|
|
6026
6048
|
}
|
|
6027
|
-
]
|
|
6049
|
+
],
|
|
6050
|
+
isError: true
|
|
6028
6051
|
};
|
|
6029
6052
|
}
|
|
6030
6053
|
}
|
|
@@ -6190,7 +6213,7 @@ async function handleExtractFromDocument(args) {
|
|
|
6190
6213
|
return errorResult7('graph action "extract_from_document" requires document_id');
|
|
6191
6214
|
}
|
|
6192
6215
|
try {
|
|
6193
|
-
const { extractGraphFromExistingDocument } = await import("./doc-graph-extractor-
|
|
6216
|
+
const { extractGraphFromExistingDocument } = await import("./doc-graph-extractor-NK6CP4LE.js");
|
|
6194
6217
|
const result3 = await extractGraphFromExistingDocument(documentId);
|
|
6195
6218
|
const lines = [
|
|
6196
6219
|
`## Graph Extraction for Document ${documentId}`,
|
|
@@ -6217,7 +6240,7 @@ async function handleCleanupGarbage(args) {
|
|
|
6217
6240
|
const doMerge = !garbageOnly;
|
|
6218
6241
|
let mod;
|
|
6219
6242
|
try {
|
|
6220
|
-
mod = await import("./cleanup-graph-garbage-
|
|
6243
|
+
mod = await import("./cleanup-graph-garbage-5HKGGUS3.js");
|
|
6221
6244
|
} catch (err) {
|
|
6222
6245
|
return errorResult7(`cleanup_garbage: failed to load cleanup module \u2014 ${err instanceof Error ? err.message : String(err)}`);
|
|
6223
6246
|
}
|
|
@@ -6344,6 +6367,12 @@ function registerGraph(server) {
|
|
|
6344
6367
|
if (action === "similar_trajectories" && args.description == null) {
|
|
6345
6368
|
args.description = args.query;
|
|
6346
6369
|
}
|
|
6370
|
+
if (action === "merge_entities" && !args.source_id && !args.target_id && args.from_entity && args.to_entity) {
|
|
6371
|
+
args.source_name = args.from_entity;
|
|
6372
|
+
args.target_name = args.to_entity;
|
|
6373
|
+
args.source_type = args.entity_type ?? "concept";
|
|
6374
|
+
args.target_type = args.entity_type ?? "concept";
|
|
6375
|
+
}
|
|
6347
6376
|
if (action === "entity_neighbors") {
|
|
6348
6377
|
return handleEntityNeighbors(args);
|
|
6349
6378
|
}
|
|
@@ -7097,7 +7126,7 @@ async function getAgentSessionLoad() {
|
|
|
7097
7126
|
return { sessions: [], totalLive: 0, busySessions: 0, idleSessions: 0 };
|
|
7098
7127
|
}
|
|
7099
7128
|
const { getClient: getClient2 } = await import("./lib/database.js");
|
|
7100
|
-
const { sessionScopeFilter: sessionScopeFilter2 } = await import("./task-scope-
|
|
7129
|
+
const { sessionScopeFilter: sessionScopeFilter2 } = await import("./task-scope-5OSP2MUP.js");
|
|
7101
7130
|
const client = getClient2();
|
|
7102
7131
|
const scope = sessionScopeFilter2();
|
|
7103
7132
|
for (const s of liveAgentSessions) {
|
|
@@ -7476,7 +7505,7 @@ async function cloudStatusText() {
|
|
|
7476
7505
|
if (lastReuploadedAt) lines.push(`- Last re-upload: ${lastReuploadedAt}`);
|
|
7477
7506
|
lines.push("");
|
|
7478
7507
|
try {
|
|
7479
|
-
const { getRetrievalHealth: getRetrievalHealth2, formatDegradations: formatDegradations2 } = await import("./retrieval-health-
|
|
7508
|
+
const { getRetrievalHealth: getRetrievalHealth2, formatDegradations: formatDegradations2 } = await import("./retrieval-health-2LIKKDMW.js");
|
|
7480
7509
|
const h = await getRetrievalHealth2();
|
|
7481
7510
|
lines.push(formatDegradations2(h.degradations, "Health / Degradations"));
|
|
7482
7511
|
lines.push("");
|
|
@@ -8971,7 +9000,7 @@ function registerCreateTrigger(server) {
|
|
|
8971
9000
|
}
|
|
8972
9001
|
},
|
|
8973
9002
|
async ({ name, event, conditions, actions, project, enabled, schedule, query }) => {
|
|
8974
|
-
const { assertFeature: assertFeature2 } = await import("./plan-limits-
|
|
9003
|
+
const { assertFeature: assertFeature2 } = await import("./plan-limits-4LMRHOUW.js");
|
|
8975
9004
|
const gatedActions = {
|
|
8976
9005
|
send_whatsapp: "external_agents",
|
|
8977
9006
|
update_wiki: "wiki"
|
|
@@ -9561,12 +9590,25 @@ function registerImportOrchestration(server) {
|
|
|
9561
9590
|
title: "Import Orchestration",
|
|
9562
9591
|
description: "Import roster, identities, behaviors, and procedures from an orchestration package. Restricted to coordinator/founder.",
|
|
9563
9592
|
inputSchema: {
|
|
9564
|
-
|
|
9565
|
-
|
|
9593
|
+
input_path: z74.string().optional().describe("Path to the orchestration package JSON file"),
|
|
9594
|
+
strategy: z74.enum(["replace", "merge"]).default("merge").describe("How to apply the package: both strategies are additive-only \u2014 existing data is never deleted or overwritten"),
|
|
9595
|
+
package_path: z74.string().optional().describe("Deprecated alias for input_path"),
|
|
9596
|
+
merge_strategy: z74.enum(["replace", "merge"]).optional().describe("Deprecated alias for strategy")
|
|
9566
9597
|
}
|
|
9567
9598
|
},
|
|
9568
|
-
async ({ package_path, merge_strategy }) => {
|
|
9599
|
+
async ({ input_path, strategy, package_path, merge_strategy }) => {
|
|
9569
9600
|
try {
|
|
9601
|
+
const packagePath = input_path ?? package_path;
|
|
9602
|
+
const importStrategy = strategy ?? merge_strategy ?? "merge";
|
|
9603
|
+
if (!packagePath) {
|
|
9604
|
+
return {
|
|
9605
|
+
content: [{
|
|
9606
|
+
type: "text",
|
|
9607
|
+
text: "Failed to import orchestration: input_path is required"
|
|
9608
|
+
}],
|
|
9609
|
+
isError: true
|
|
9610
|
+
};
|
|
9611
|
+
}
|
|
9570
9612
|
const caller = getActiveAgent();
|
|
9571
9613
|
const allowed = canCoordinate(caller.agentId, caller.agentRole);
|
|
9572
9614
|
if (!allowed) {
|
|
@@ -9579,13 +9621,13 @@ function registerImportOrchestration(server) {
|
|
|
9579
9621
|
};
|
|
9580
9622
|
}
|
|
9581
9623
|
await initStore();
|
|
9582
|
-
const raw = readFileSync5(
|
|
9624
|
+
const raw = readFileSync5(packagePath, "utf-8");
|
|
9583
9625
|
const pkg = validatePackage(JSON.parse(raw));
|
|
9584
|
-
const result3 = await importOrchestration(pkg,
|
|
9626
|
+
const result3 = await importOrchestration(pkg, importStrategy);
|
|
9585
9627
|
return {
|
|
9586
9628
|
content: [{
|
|
9587
9629
|
type: "text",
|
|
9588
|
-
text: `Imported ${result3.imported.roster} roster entries, ${result3.imported.identities} identities, ${result3.imported.behaviors} behaviors, ${result3.imported.procedures} procedures using ${
|
|
9630
|
+
text: `Imported ${result3.imported.roster} roster entries, ${result3.imported.identities} identities, ${result3.imported.behaviors} behaviors, ${result3.imported.procedures} procedures using ${importStrategy} strategy`
|
|
9589
9631
|
}]
|
|
9590
9632
|
};
|
|
9591
9633
|
} catch (err) {
|
|
@@ -9941,8 +9983,8 @@ function buildHandlers5() {
|
|
|
9941
9983
|
}
|
|
9942
9984
|
async function handleDreaming(action, args) {
|
|
9943
9985
|
try {
|
|
9944
|
-
const { DreamingEngine: DreamingEngine2 } = await import("./dreaming-
|
|
9945
|
-
const { getActiveAgent: getActiveAgent2 } = await import("./active-agent-
|
|
9986
|
+
const { DreamingEngine: DreamingEngine2 } = await import("./dreaming-YIESEME7.js");
|
|
9987
|
+
const { getActiveAgent: getActiveAgent2 } = await import("./active-agent-CMY7WTJL.js");
|
|
9946
9988
|
const { getClient: getClient2 } = await import("./lib/database.js");
|
|
9947
9989
|
const agentId = args.agent_id ?? getActiveAgent2().agentId;
|
|
9948
9990
|
if (action === "dreaming_run") {
|
|
@@ -10100,8 +10142,8 @@ function registerConfig(server) {
|
|
|
10100
10142
|
}
|
|
10101
10143
|
if (action === "closeout") {
|
|
10102
10144
|
try {
|
|
10103
|
-
const { DreamingEngine: DreamingEngine2 } = await import("./dreaming-
|
|
10104
|
-
const { getActiveAgent: getActiveAgent2 } = await import("./active-agent-
|
|
10145
|
+
const { DreamingEngine: DreamingEngine2 } = await import("./dreaming-YIESEME7.js");
|
|
10146
|
+
const { getActiveAgent: getActiveAgent2 } = await import("./active-agent-CMY7WTJL.js");
|
|
10105
10147
|
const { writeMemory: writeMemory2, flushBatch: flushBatch2 } = await import("./lib/store.js");
|
|
10106
10148
|
const { randomUUID: randomUUID2 } = await import("crypto");
|
|
10107
10149
|
const { getProjectName: getProjectName2 } = await import("./project-name-EWG5KAZP.js");
|
|
@@ -10172,7 +10214,7 @@ function registerConfig(server) {
|
|
|
10172
10214
|
}
|
|
10173
10215
|
if (action === "capability_cards") {
|
|
10174
10216
|
try {
|
|
10175
|
-
const { getAllCapabilityCards, findAgentForTask } = await import("./capability-cards-
|
|
10217
|
+
const { getAllCapabilityCards, findAgentForTask } = await import("./capability-cards-4MN3IVJO.js");
|
|
10176
10218
|
const cards = getAllCapabilityCards();
|
|
10177
10219
|
const taskQuery = args.query;
|
|
10178
10220
|
if (taskQuery) {
|
|
@@ -10223,7 +10265,7 @@ function registerConfig(server) {
|
|
|
10223
10265
|
const existing = loadEmployeesSync2();
|
|
10224
10266
|
if (existing.some((e) => e.name === employeeName)) return errorResult8(`Employee "${employeeName}" already exists.`);
|
|
10225
10267
|
try {
|
|
10226
|
-
const { assertEmployeeLimit: assertEmployeeLimit2 } = await import("./plan-limits-
|
|
10268
|
+
const { assertEmployeeLimit: assertEmployeeLimit2 } = await import("./plan-limits-4LMRHOUW.js");
|
|
10227
10269
|
await assertEmployeeLimit2();
|
|
10228
10270
|
} catch (e) {
|
|
10229
10271
|
return errorResult8(e instanceof Error ? e.message : "Employee limit reached.");
|
|
@@ -10264,7 +10306,7 @@ You are ${employeeName}. Role: ${role}.`, "utf-8");
|
|
|
10264
10306
|
}
|
|
10265
10307
|
try {
|
|
10266
10308
|
const { generateSessionWrappers } = await import("./lib/session-wrappers.js");
|
|
10267
|
-
const { resolvePackageRoot } = await import("./installer-
|
|
10309
|
+
const { resolvePackageRoot } = await import("./installer-SQF5I6YS.js");
|
|
10268
10310
|
generateSessionWrappers(resolvePackageRoot());
|
|
10269
10311
|
} catch {
|
|
10270
10312
|
}
|
|
@@ -10351,7 +10393,7 @@ function registerListWikiPages(server) {
|
|
|
10351
10393
|
}
|
|
10352
10394
|
},
|
|
10353
10395
|
async ({ workspace, folder }) => {
|
|
10354
|
-
const { assertFeature: assertFeature2 } = await import("./plan-limits-
|
|
10396
|
+
const { assertFeature: assertFeature2 } = await import("./plan-limits-4LMRHOUW.js");
|
|
10355
10397
|
await assertFeature2("wiki");
|
|
10356
10398
|
const apiUrl = process.env.EXE_WIKI_API_URL;
|
|
10357
10399
|
const apiKey = process.env.EXE_WIKI_API_KEY;
|
|
@@ -10451,7 +10493,7 @@ function registerGetWikiPage(server) {
|
|
|
10451
10493
|
}
|
|
10452
10494
|
},
|
|
10453
10495
|
async ({ workspace, document_id, title }) => {
|
|
10454
|
-
const { assertFeature: assertFeature2 } = await import("./plan-limits-
|
|
10496
|
+
const { assertFeature: assertFeature2 } = await import("./plan-limits-4LMRHOUW.js");
|
|
10455
10497
|
await assertFeature2("wiki");
|
|
10456
10498
|
const apiUrl = process.env.EXE_WIKI_API_URL;
|
|
10457
10499
|
const apiKey = process.env.EXE_WIKI_API_KEY;
|
|
@@ -10645,10 +10687,10 @@ async function handleWikiSearch(input) {
|
|
|
10645
10687
|
const userId = input.user_id;
|
|
10646
10688
|
if (!workspace) return errorResult9('wiki action "search" requires workspace');
|
|
10647
10689
|
if (!query) return errorResult9('wiki action "search" requires query');
|
|
10648
|
-
const { assertFeature: assertFeature2 } = await import("./plan-limits-
|
|
10690
|
+
const { assertFeature: assertFeature2 } = await import("./plan-limits-4LMRHOUW.js");
|
|
10649
10691
|
await assertFeature2("wiki");
|
|
10650
10692
|
if (userId) {
|
|
10651
|
-
const { checkWikiAccess } = await import("./wiki-acl-
|
|
10693
|
+
const { checkWikiAccess } = await import("./wiki-acl-4DQQCP4V.js");
|
|
10652
10694
|
const { allowed } = await checkWikiAccess(String(userId), String(workspace), "read");
|
|
10653
10695
|
if (!allowed) {
|
|
10654
10696
|
return errorResult9(`Access denied: user "${userId}" does not have read access to workspace "${workspace}"`);
|
|
@@ -10751,7 +10793,7 @@ function registerWiki(server) {
|
|
|
10751
10793
|
return errorResult9('wiki action "document_rerank" requires at least one candidate');
|
|
10752
10794
|
}
|
|
10753
10795
|
if (user_id && legacyArgs.workspace) {
|
|
10754
|
-
const { checkWikiAccess } = await import("./wiki-acl-
|
|
10796
|
+
const { checkWikiAccess } = await import("./wiki-acl-4DQQCP4V.js");
|
|
10755
10797
|
const { allowed } = await checkWikiAccess(
|
|
10756
10798
|
String(user_id),
|
|
10757
10799
|
String(legacyArgs.workspace),
|
|
@@ -11082,7 +11124,7 @@ Use /exe-forget to remove any that this supersedes.`;
|
|
|
11082
11124
|
}]
|
|
11083
11125
|
};
|
|
11084
11126
|
}
|
|
11085
|
-
const { bulkPurgeGhostBehaviors } = await import("./behaviors-
|
|
11127
|
+
const { bulkPurgeGhostBehaviors } = await import("./behaviors-G7TR6LBM.js");
|
|
11086
11128
|
const res = await bulkPurgeGhostBehaviors({ batchSize: 5e3, vacuum: true });
|
|
11087
11129
|
return {
|
|
11088
11130
|
content: [{
|
|
@@ -11193,7 +11235,7 @@ Use /exe-forget to remove any that this supersedes.`;
|
|
|
11193
11235
|
return { content: [{ type: "text", text: `Behavior not found: ${behavior_id}` }], isError: true };
|
|
11194
11236
|
}
|
|
11195
11237
|
const row2 = result4.rows[0];
|
|
11196
|
-
const { reactivateBehavior: reactivateBehavior2 } = await import("./behaviors-
|
|
11238
|
+
const { reactivateBehavior: reactivateBehavior2 } = await import("./behaviors-G7TR6LBM.js");
|
|
11197
11239
|
const wasReactivated = await reactivateBehavior2(behavior_id);
|
|
11198
11240
|
if (!wasReactivated) {
|
|
11199
11241
|
return { content: [{ type: "text", text: `Behavior ${behavior_id} is already active.` }] };
|
|
@@ -11725,7 +11767,7 @@ function registerWorkflowTool(server) {
|
|
|
11725
11767
|
getWorkflowInstance,
|
|
11726
11768
|
listWorkflowInstances,
|
|
11727
11769
|
approveWorkflowStep
|
|
11728
|
-
} = await import("./workflow-engine-
|
|
11770
|
+
} = await import("./workflow-engine-LAB6TGBZ.js");
|
|
11729
11771
|
try {
|
|
11730
11772
|
switch (input.action) {
|
|
11731
11773
|
case "create_workflow": {
|
|
@@ -12021,7 +12063,7 @@ function registerCreateBugReport(server) {
|
|
|
12021
12063
|
const version = sanitizeVersionField(package_version) ?? "unknown";
|
|
12022
12064
|
let metricsSnapshot = "";
|
|
12023
12065
|
try {
|
|
12024
|
-
const { getOrchestrationMetrics, formatOrchestrationMetrics } = await import("./orchestration-events-
|
|
12066
|
+
const { getOrchestrationMetrics, formatOrchestrationMetrics } = await import("./orchestration-events-AL7AWHBX.js");
|
|
12025
12067
|
const sinceIso = new Date(Date.now() - 60 * 60 * 1e3).toISOString();
|
|
12026
12068
|
const metrics = await getOrchestrationMetrics({ sinceIso });
|
|
12027
12069
|
if (metrics.totalEvents > 0) {
|
|
@@ -13377,7 +13419,7 @@ function registerCliParityTools(server) {
|
|
|
13377
13419
|
const out = await runCommand("exe-os", ["cloud", "status"], 45e3);
|
|
13378
13420
|
let healthSection = "";
|
|
13379
13421
|
try {
|
|
13380
|
-
const { getRetrievalHealth: getRetrievalHealth2, formatDegradations: formatDegradations2 } = await import("./retrieval-health-
|
|
13422
|
+
const { getRetrievalHealth: getRetrievalHealth2, formatDegradations: formatDegradations2 } = await import("./retrieval-health-2LIKKDMW.js");
|
|
13381
13423
|
const h = await getRetrievalHealth2();
|
|
13382
13424
|
const lines = [
|
|
13383
13425
|
"",
|
|
@@ -13445,7 +13487,7 @@ function registerCodeContext(server) {
|
|
|
13445
13487
|
const index = await buildCodeContextIndexAsync(opts);
|
|
13446
13488
|
let graphExtract;
|
|
13447
13489
|
try {
|
|
13448
|
-
const { autoExtractGraphEntities } = await import("./graph-auto-extract-
|
|
13490
|
+
const { autoExtractGraphEntities } = await import("./graph-auto-extract-DBAIFNDK.js");
|
|
13449
13491
|
graphExtract = await autoExtractGraphEntities(index.projectRoot);
|
|
13450
13492
|
} catch {
|
|
13451
13493
|
}
|
|
@@ -14316,7 +14358,7 @@ async function handleMergeAgentMemories(input) {
|
|
|
14316
14358
|
}
|
|
14317
14359
|
async function handleSpawnFailures() {
|
|
14318
14360
|
try {
|
|
14319
|
-
const { getOrchestrationMetrics } = await import("./orchestration-events-
|
|
14361
|
+
const { getOrchestrationMetrics } = await import("./orchestration-events-AL7AWHBX.js");
|
|
14320
14362
|
const metrics = await getOrchestrationMetrics();
|
|
14321
14363
|
const c = metrics.counts;
|
|
14322
14364
|
const attempted = c.tmuxSpawnAttempted;
|
|
@@ -14418,7 +14460,7 @@ async function handleOrchestrationHealth() {
|
|
|
14418
14460
|
async function handleWorkMap() {
|
|
14419
14461
|
try {
|
|
14420
14462
|
const { getAgentLivenessReport } = await import("./agent-heartbeat-I5UPGXAU.js");
|
|
14421
|
-
const { classifyRole } = await import("./session-kill-telemetry-
|
|
14463
|
+
const { classifyRole } = await import("./session-kill-telemetry-BHKUHSK2.js");
|
|
14422
14464
|
const { buildSessionDeathSummary } = await import("./orchestration-health-read-EJWVUARG.js");
|
|
14423
14465
|
const { getPaneCwd } = await import("./lib/tmux-status.js");
|
|
14424
14466
|
const live = getAgentLivenessReport();
|
|
@@ -14488,7 +14530,7 @@ async function handleWorkMap() {
|
|
|
14488
14530
|
async function handleWorkState(input) {
|
|
14489
14531
|
try {
|
|
14490
14532
|
const { getClient: getClient2 } = await import("./lib/database.js");
|
|
14491
|
-
const { readWorkState, listWorkStates } = await import("./work-state-heartbeat-
|
|
14533
|
+
const { readWorkState, listWorkStates } = await import("./work-state-heartbeat-WIURKX3N.js");
|
|
14492
14534
|
const client = await getClient2();
|
|
14493
14535
|
const sessionScope = typeof input.session_scope === "string" ? input.session_scope.trim() : "";
|
|
14494
14536
|
if (sessionScope) {
|
|
@@ -14590,7 +14632,7 @@ async function handleDrift(input) {
|
|
|
14590
14632
|
}
|
|
14591
14633
|
async function handleSteward(action, input) {
|
|
14592
14634
|
const gate = new StewardGate();
|
|
14593
|
-
const { getActiveAgent: getActiveAgent2 } = await import("./active-agent-
|
|
14635
|
+
const { getActiveAgent: getActiveAgent2 } = await import("./active-agent-CMY7WTJL.js");
|
|
14594
14636
|
const inputAgent = input.agent_id;
|
|
14595
14637
|
const operation = input.operation;
|
|
14596
14638
|
const target = input.target;
|
|
@@ -14888,7 +14930,7 @@ function registerResonance(server) {
|
|
|
14888
14930
|
}
|
|
14889
14931
|
}, async ({ action, memory_id, entity_id, limit }) => {
|
|
14890
14932
|
try {
|
|
14891
|
-
const { getHotPairs, getCoActivationNeighbors } = await import("./co-activation-
|
|
14933
|
+
const { getHotPairs, getCoActivationNeighbors } = await import("./co-activation-SYSIFY66.js");
|
|
14892
14934
|
if (action === "hot_pairs") {
|
|
14893
14935
|
const pairs = await getHotPairs(limit ?? 20);
|
|
14894
14936
|
if (pairs.length === 0) return text4("No co-activation data yet. Pairs are recorded as memories are accessed together in searches.");
|