@askexenow/exe-os 0.9.260 → 0.9.261
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-IGZXTTV4.js → active-agent-3YK6QV45.js} +4 -3
- package/dist/{active-agent-OYUXMTHS.js → active-agent-QTDTBHBS.js} +4 -3
- package/dist/{agentic-ontology-5WT23SLZ.js → agentic-ontology-BBC62LK2.js} +1 -1
- package/dist/{backfill-metadata-EG52U3GF.js → backfill-metadata-Z52CKWFN.js} +5 -4
- package/dist/{behaviors-2TZCFJLU.js → behaviors-RAIPSWGY.js} +4 -3
- package/dist/bin/agentic-ontology-backfill.js +6 -5
- package/dist/bin/agentic-reflection-backfill.js +7 -6
- package/dist/bin/agentic-semantic-label.js +6 -5
- package/dist/bin/backfill-conversations.js +5 -4
- package/dist/bin/backfill-responses.js +5 -4
- package/dist/bin/backfill-vectors.js +6 -5
- package/dist/bin/bulk-sync-postgres.js +7 -6
- package/dist/bin/cleanup-stale-review-tasks.js +10 -9
- package/dist/bin/cli.js +16 -16
- package/dist/bin/exe-agent-config.js +3 -2
- package/dist/bin/exe-agent.js +5 -4
- package/dist/bin/exe-assign.js +6 -5
- package/dist/bin/exe-boot.js +17 -16
- package/dist/bin/exe-call.js +5 -4
- package/dist/bin/exe-cloud.js +5 -4
- package/dist/bin/exe-dispatch.js +10 -9
- package/dist/bin/exe-doctor.js +1 -1
- package/dist/bin/exe-export-behaviors.js +8 -7
- package/dist/bin/exe-forget.js +7 -6
- package/dist/bin/exe-gateway.js +8 -7
- package/dist/bin/exe-heartbeat.js +10 -9
- package/dist/bin/exe-kill.js +13 -12
- package/dist/bin/exe-launch-agent.js +17 -16
- package/dist/bin/exe-new-employee.js +7 -6
- package/dist/bin/exe-pending-messages.js +11 -10
- package/dist/bin/exe-pending-notifications.js +10 -9
- package/dist/bin/exe-pending-reviews.js +10 -9
- package/dist/bin/exe-rename.js +5 -4
- package/dist/bin/exe-review.js +12 -11
- package/dist/bin/exe-search.js +6 -5
- package/dist/bin/exe-session-cleanup.js +15 -14
- package/dist/bin/exe-settings.js +5 -4
- package/dist/bin/exe-start-codex.js +12 -11
- package/dist/bin/exe-start-opencode.js +9 -8
- package/dist/bin/exe-status.js +11 -10
- package/dist/bin/exe-team.js +4 -3
- package/dist/bin/git-sweep.js +11 -10
- package/dist/bin/graph-backfill.js +5 -4
- package/dist/bin/graph-export.js +6 -5
- package/dist/bin/import-history.js +8 -7
- package/dist/bin/install.js +7 -6
- package/dist/bin/intercom-check.js +4 -4
- package/dist/bin/mcp-sessions.js +2 -2
- package/dist/bin/orchestration-metrics.js +5 -4
- package/dist/bin/postgres-agentic-reflection-backfill.js +2 -2
- package/dist/bin/postgres-agentic-semantic-backfill.js +1 -1
- package/dist/bin/scan-tasks.js +10 -9
- package/dist/bin/setup.js +1 -1
- package/dist/bin/shard-migrate.js +6 -5
- package/dist/{capacity-monitor-CTFWWTCR.js → capacity-monitor-JS3UHTSJ.js} +11 -10
- package/dist/{catchup-brief-AXA4DAQI.js → catchup-brief-AY3NXSZ4.js} +12 -11
- package/dist/{chunk-ISL3NSVX.js → chunk-25NFDJ3N.js} +1 -1
- package/dist/chunk-2I23RPSI.js +14 -0
- package/dist/{chunk-FPXZY3FY.js → chunk-2WH32VJI.js} +1 -1
- package/dist/{chunk-N27CTUFU.js → chunk-33ZGDWSS.js} +1 -1
- package/dist/{chunk-J3YNCJ4A.js → chunk-3XNYEGA5.js} +1 -1
- package/dist/{chunk-HDWVXSGO.js → chunk-45W7EDXB.js} +1 -1
- package/dist/{chunk-BPZL5YOM.js → chunk-5KTO3LBQ.js} +1 -1
- package/dist/{chunk-ZKFTDL4M.js → chunk-6HVXFKP6.js} +1 -1
- package/dist/{chunk-NGQQRGLP.js → chunk-6OOAVH7Y.js} +2 -2
- package/dist/{chunk-PQHA6X6Y.js → chunk-6WT44S2W.js} +1 -1
- package/dist/{chunk-AQS2B3HC.js → chunk-6YHVX54O.js} +11 -11
- package/dist/{chunk-L5VPUOB6.js → chunk-A3T5KDD3.js} +1 -1
- package/dist/{chunk-IVSRRIRG.js → chunk-AZMKHVI5.js} +1 -1
- package/dist/{chunk-ZBDAFYDD.js → chunk-BJYXHSFN.js} +5 -5
- package/dist/{chunk-4VECWOUO.js → chunk-BTX453B2.js} +2 -2
- package/dist/{chunk-LRKJGSNH.js → chunk-C35HWJ65.js} +2 -2
- package/dist/{chunk-25JAXHON.js → chunk-C5SOAWDO.js} +1 -1
- package/dist/{chunk-V2UVWYHO.js → chunk-CRZWP3JB.js} +5 -5
- package/dist/{chunk-OCJ5GZKV.js → chunk-CTV755VI.js} +4 -4
- package/dist/{chunk-YMXXD2GW.js → chunk-EBCXL2Y2.js} +5 -0
- package/dist/{chunk-FUGZF7VR.js → chunk-F255GOZU.js} +1 -1
- package/dist/{chunk-IJ7R3MXE.js → chunk-F7FZ24KM.js} +3 -3
- package/dist/{chunk-4TYAHVDI.js → chunk-FIV5A6O2.js} +8 -8
- package/dist/{chunk-2PFNATXD.js → chunk-FO5FP2J3.js} +1 -1
- package/dist/{chunk-4FGTT26Q.js → chunk-IITNQWCX.js} +1 -1
- package/dist/{chunk-X2RKYKTP.js → chunk-IW3SDPTM.js} +1 -1
- package/dist/{chunk-TZPHTI5Q.js → chunk-J7LUMKFQ.js} +1 -1
- package/dist/{chunk-VDCPKJUQ.js → chunk-JTADPL6X.js} +1 -1
- package/dist/{chunk-KSR2PNRW.js → chunk-KDQC7DGK.js} +2 -2
- package/dist/{chunk-GH4LVBQM.js → chunk-KEVATUGJ.js} +1 -1
- package/dist/{chunk-COKTAJUZ.js → chunk-KPVRGCOC.js} +1 -1
- package/dist/{chunk-BGEXTWGR.js → chunk-L5G37Y7S.js} +3 -3
- package/dist/{chunk-MKTEGZ37.js → chunk-L5RL4GH4.js} +3 -3
- package/dist/{chunk-N4ES27RI.js → chunk-LGBN2Z6M.js} +3 -3
- package/dist/{chunk-R4EZGQWL.js → chunk-LMA3QZCR.js} +86 -86
- package/dist/{chunk-L3PY4NFQ.js → chunk-MV2T7Q3V.js} +1 -1
- package/dist/{chunk-6D2IZ5MB.js → chunk-N2CFR2OZ.js} +2 -2
- package/dist/{chunk-SLF7JRLG.js → chunk-N2MMYJLT.js} +9 -9
- package/dist/{chunk-GIHMDOSK.js → chunk-O4D4DSNZ.js} +1 -1
- package/dist/{chunk-GB4FI66P.js → chunk-PIXFIUXC.js} +2 -2
- package/dist/{chunk-VLX6AHTD.js → chunk-PK7H6FFK.js} +8 -8
- package/dist/{chunk-M7PZFYHE.js → chunk-PKJFMRUG.js} +2 -2
- package/dist/{chunk-OSPS5N2I.js → chunk-PPKYYMTP.js} +1 -1
- package/dist/{chunk-DU64OESH.js → chunk-PWLX576L.js} +1 -1
- package/dist/{chunk-WVBZ3QBR.js → chunk-QQZMP6QL.js} +6 -1
- package/dist/{chunk-CXOX7TRG.js → chunk-QX4HTCYA.js} +1 -1
- package/dist/{chunk-QYNFWFFH.js → chunk-RPELMUVE.js} +4 -4
- package/dist/{chunk-7UJRF4WF.js → chunk-RV46K5V7.js} +1 -1
- package/dist/{chunk-UOZ5KUNN.js → chunk-SJOPWCOX.js} +31 -2
- package/dist/{chunk-LVY74L2J.js → chunk-SVGP6QOL.js} +2 -2
- package/dist/{chunk-YY2BCIAP.js → chunk-TBX2AJT3.js} +2 -2
- package/dist/{chunk-T4NFOOPB.js → chunk-TVBOD2OK.js} +2 -2
- package/dist/{chunk-MPXLF7TA.js → chunk-UG5IYXJT.js} +1 -1
- package/dist/{chunk-T2EUNNUX.js → chunk-UJE2GS6O.js} +5 -5
- package/dist/{chunk-5LDTCWYX.js → chunk-UV4JFYSO.js} +10 -10
- package/dist/{chunk-JE4C74EE.js → chunk-VG3CIPWK.js} +4 -4
- package/dist/{chunk-PQQTSNXS.js → chunk-X57DHMWB.js} +3 -3
- package/dist/{chunk-57C3MZPQ.js → chunk-XPANTGOA.js} +2 -2
- package/dist/{chunk-GBR4MAAK.js → chunk-YG7PIB2R.js} +1 -1
- package/dist/{chunk-5JYCTIQD.js → chunk-YYDGDTAG.js} +1 -1
- package/dist/{chunk-VD676VIC.js → chunk-ZGCPEWFP.js} +4 -4
- package/dist/{co-activation-UNVL5JCP.js → co-activation-7XE74B7L.js} +3 -2
- package/dist/{co-occurrence-ETAVWYVE.js → co-occurrence-FLEGKZSX.js} +3 -2
- package/dist/{code-context-index-DCQYAYA2.js → code-context-index-Z7HB3UGH.js} +1 -1
- package/dist/{crdt-sync-AH7N6QOE.js → crdt-sync-YDQYEBQB.js} +1 -1
- package/dist/{crm-webhook-R6546T3Y.js → crm-webhook-Y5NDYNMO.js} +2 -2
- package/dist/{cto-delegation-gate-VB4TMZ3I.js → cto-delegation-gate-YQPV3UUU.js} +9 -8
- package/dist/{daemon-orchestration-YAJKIL6Q.js → daemon-orchestration-TKNBR574.js} +13 -12
- package/dist/{db-backup-2RG6VHT7.js → db-backup-ZFDOADMZ.js} +1 -1
- package/dist/{dreaming-WMBTSXGD.js → dreaming-JYALVJ25.js} +10 -9
- package/dist/{exe-drift-MQZGYHEN.js → exe-drift-KMIYM7LU.js} +4 -3
- package/dist/{exe-export-E4BDIHOC.js → exe-export-23XZY2H7.js} +6 -5
- package/dist/{exe-import-IWAD4HN6.js → exe-import-LDQHD2S4.js} +6 -5
- package/dist/{exe-key-L2RV7XJX.js → exe-key-K3HQLUYO.js} +8 -2
- package/dist/{exe-snapshot-IOGN4ARV.js → exe-snapshot-RBIGPTUU.js} +13 -12
- package/dist/{fast-db-init-GCY3F74H.js → fast-db-init-Q2B2YPUR.js} +1 -1
- package/dist/gateway/index.js +9 -8
- package/dist/{git-staleness-BQIFNZIU.js → git-staleness-DIQ7RU3N.js} +3 -2
- package/dist/{git-task-sweep-GSKS6WKR.js → git-task-sweep-JN4WJ66Y.js} +10 -9
- package/dist/{global-procedures-3DJUA5OX.js → global-procedures-JNJ4NWV5.js} +4 -3
- package/dist/{graph-auto-extract-2I44WRDY.js → graph-auto-extract-UYU2KFSY.js} +3 -2
- package/dist/hooks/bug-report-worker.js +12 -11
- package/dist/hooks/codex-stop-task-finalizer.js +12 -11
- package/dist/hooks/commit-complete.js +12 -11
- package/dist/hooks/error-recall.js +7 -6
- package/dist/hooks/exe-heartbeat-hook.js +4 -3
- package/dist/hooks/ingest.js +7 -6
- package/dist/hooks/instructions-loaded.js +5 -4
- package/dist/hooks/manifest.json +19 -19
- package/dist/hooks/notification.js +5 -4
- package/dist/hooks/post-compact.js +12 -11
- package/dist/hooks/post-tool-combined.js +6 -6
- package/dist/hooks/pre-compact.js +12 -11
- package/dist/hooks/pre-tool-use.js +15 -14
- package/dist/hooks/prompt-submit.js +22 -22
- package/dist/hooks/session-end.js +16 -15
- package/dist/hooks/session-start.js +12 -13
- package/dist/hooks/stop.js +15 -14
- package/dist/hooks/subagent-stop.js +11 -10
- package/dist/hooks/summary-worker.js +15 -14
- package/dist/index.js +18 -17
- package/dist/{installer-TCMPFSSP.js → installer-23YHWXNH.js} +6 -5
- package/dist/{installer-ZY2BKTEO.js → installer-64FY7VV4.js} +6 -5
- package/dist/{installer-6MQCAHUG.js → installer-LN7RDI6N.js} +6 -5
- package/dist/lib/cloud-sync.js +5 -4
- package/dist/lib/consolidation.js +6 -5
- package/dist/lib/database.js +3 -2
- package/dist/lib/db.js +3 -2
- package/dist/lib/employee-templates.js +5 -4
- package/dist/lib/employees.js +3 -2
- package/dist/lib/exe-daemon.js +34 -34
- package/dist/lib/hybrid-search.js +6 -5
- package/dist/lib/identity.js +3 -2
- package/dist/lib/messaging.js +10 -9
- package/dist/lib/reminders.js +4 -3
- package/dist/lib/schedules.js +6 -5
- package/dist/lib/session-registry.js +5 -4
- package/dist/lib/skill-learning.js +5 -4
- package/dist/lib/store.js +5 -4
- package/dist/lib/task-router.js +4 -3
- package/dist/lib/tasks.js +11 -10
- package/dist/lib/tmux-routing.js +9 -8
- package/dist/lib/token-spend.js +4 -3
- package/dist/mcp/register-tools.js +53 -52
- package/dist/mcp/server.js +54 -53
- package/dist/mcp/tools/complete-reminder.js +5 -4
- package/dist/mcp/tools/create-reminder.js +5 -4
- package/dist/mcp/tools/create-task.js +13 -12
- package/dist/mcp/tools/deactivate-behavior.js +6 -5
- package/dist/mcp/tools/list-reminders.js +5 -4
- package/dist/mcp/tools/list-tasks.js +13 -12
- package/dist/mcp/tools/send-message.js +12 -11
- package/dist/mcp/tools/update-task.js +12 -11
- package/dist/{mcp-http-config-VUDZ3D5D.js → mcp-http-config-FCZ2PEII.js} +4 -3
- package/dist/{memory-cards-ZOOPC2WF.js → memory-cards-TJZLRDWR.js} +3 -2
- package/dist/{memory-graph-extractor-RRQMUBMI.js → memory-graph-extractor-3ATFPJLO.js} +4 -3
- package/dist/{memory-poisoning-defense-UQMNLG6H.js → memory-poisoning-defense-LIC5NC4K.js} +3 -2
- package/dist/{memory-reflection-GSGXAGXV.js → memory-reflection-6MU7R3DN.js} +3 -2
- package/dist/{notifications-ZKGLZVCU.js → notifications-LZCKZCKO.js} +9 -8
- package/dist/{orchestration-events-7RMWC5SS.js → orchestration-events-UYG5H5H2.js} +4 -3
- package/dist/{orchestrator-A6MX2OHA.js → orchestrator-QZUORE32.js} +11 -10
- package/dist/{pipeline-router-6ZBYJD2U.js → pipeline-router-6FOAXJVU.js} +4 -3
- package/dist/{plan-limits-4XH4A7IA.js → plan-limits-4VH65ER2.js} +4 -3
- package/dist/{projection-worker-YKKBNQZT.js → projection-worker-ONHS43GB.js} +1 -1
- package/dist/{reranker-CE3XG56J.js → reranker-ECLOD4L4.js} +1 -1
- package/dist/{review-polling-PK3CY4NI.js → review-polling-7T6563KJ.js} +10 -9
- package/dist/runtime/index.js +12 -11
- package/dist/{session-events-IYU6FYHH.js → session-events-ZFTVNZBL.js} +10 -9
- package/dist/{session-kill-telemetry-G2VV4CAH.js → session-kill-telemetry-25WZZQYL.js} +4 -3
- package/dist/{session-scope-DHTVH3D4.js → session-scope-F4OLNMZ2.js} +9 -8
- package/dist/{setup-wizard-IA5ISHQ2.js → setup-wizard-JDPINSTR.js} +1 -1
- package/dist/{shard-manager-VGA2TYHM.js → shard-manager-QP3SFEJV.js} +2 -1
- package/dist/{skill-refinement-6PBAFLWP.js → skill-refinement-7BM2GCAA.js} +3 -2
- package/dist/{steward-gate-EQV6CZKY.js → steward-gate-GQCGOIOX.js} +4 -3
- package/dist/{task-enforcement-2LS5DOXK.js → task-enforcement-74KNQ4IU.js} +9 -8
- package/dist/{task-scope-AKF3CSWO.js → task-scope-BAWS6CBW.js} +9 -8
- package/dist/{tasks-crud-KOIA5SAH.js → tasks-crud-FD5V35IK.js} +9 -8
- package/dist/{tasks-notify-7ZTE4ZQM.js → tasks-notify-CKJJLYJX.js} +10 -9
- package/dist/{tasks-review-VMMMAK2Y.js → tasks-review-GW3O3AMD.js} +9 -8
- package/dist/{telemetry-upload-YLW4NAUF.js → telemetry-upload-2KEEOMCA.js} +6 -5
- package/dist/{token-budget-NA4OLFNP.js → token-budget-OUGKW6MP.js} +3 -2
- package/dist/{tool-telemetry-OVI5KL4S.js → tool-telemetry-VMM5A5J5.js} +1 -1
- package/dist/tui/App.js +17 -16
- package/dist/{tui-data-5NT24CC5.js → tui-data-4FK3MUPG.js} +9 -8
- package/dist/{worker-gate-AQLJUQ5G.js → worker-gate-2TOOKLPC.js} +1 -1
- package/dist/{workflow-engine-TRGGUNIZ.js → workflow-engine-YRVJEBYW.js} +2 -2
- package/dist/{worktree-NK7GZNEA.js → worktree-6QLBISCO.js} +5 -4
- package/dist/{worktree-sweep-5XVZCH6A.js → worktree-sweep-IDXJ3WQM.js} +6 -5
- package/package.json +1 -1
- package/release-notes.json +15 -12
- /package/dist/{chunk-QUC27OCW.js → chunk-2DCXCU7M.js} +0 -0
- /package/dist/{chunk-EYLQRPHF.js → chunk-A5N6N7TD.js} +0 -0
- /package/dist/{chunk-WMZTSHNX.js → chunk-ACBEUQR2.js} +0 -0
- /package/dist/{chunk-H6QJT5O5.js → chunk-AU64ZSNH.js} +0 -0
- /package/dist/{chunk-J5CAYOJU.js → chunk-E7SHKUAE.js} +0 -0
- /package/dist/{chunk-RFJESVEL.js → chunk-GMUZHA5J.js} +0 -0
- /package/dist/{chunk-3GHTBVZO.js → chunk-JG76N7JE.js} +0 -0
- /package/dist/{chunk-2H3FVAN3.js → chunk-P2XNRKEL.js} +0 -0
- /package/dist/{chunk-VJXVTH3Q.js → chunk-PISNYNHN.js} +0 -0
- /package/dist/{chunk-UOOCGJUE.js → chunk-PNWAZ4EA.js} +0 -0
- /package/dist/{core-memory-VZFTGOFE.js → core-memory-DQGGTOZH.js} +0 -0
- /package/dist/{project-boot-7ZEIDWUG.js → project-boot-UNRIMZNN.js} +0 -0
- /package/dist/{wiki-acl-UCPOROPR.js → wiki-acl-INCE6DGN.js} +0 -0
|
@@ -3,10 +3,10 @@ import {
|
|
|
3
3
|
buildRawVisibilityFilter,
|
|
4
4
|
buildWikiScopeFilter,
|
|
5
5
|
searchMemories
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-6YHVX54O.js";
|
|
7
7
|
import {
|
|
8
8
|
getClient
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-QQZMP6QL.js";
|
|
10
10
|
|
|
11
11
|
// src/lib/hybrid-search.ts
|
|
12
12
|
var RRF_K = 60;
|
|
@@ -288,7 +288,7 @@ async function hybridSearch(queryText, agentId, options) {
|
|
|
288
288
|
let rerankerAvailable = false;
|
|
289
289
|
if (process.env.EXE_IS_DAEMON === "1") {
|
|
290
290
|
try {
|
|
291
|
-
const { isRerankerAvailable } = await import("./reranker-
|
|
291
|
+
const { isRerankerAvailable } = await import("./reranker-ECLOD4L4.js");
|
|
292
292
|
rerankerAvailable = isRerankerAvailable();
|
|
293
293
|
} catch {
|
|
294
294
|
}
|
|
@@ -343,7 +343,7 @@ async function hybridSearch(queryText, agentId, options) {
|
|
|
343
343
|
]).catch(() => []),
|
|
344
344
|
includeStructuredCards ? (async () => {
|
|
345
345
|
try {
|
|
346
|
-
const { searchMemoryCards } = await import("./memory-cards-
|
|
346
|
+
const { searchMemoryCards } = await import("./memory-cards-TJZLRDWR.js");
|
|
347
347
|
return await searchMemoryCards(effectiveQuery, agentId, fetchOptions);
|
|
348
348
|
} catch {
|
|
349
349
|
return [];
|
|
@@ -352,7 +352,7 @@ async function hybridSearch(queryText, agentId, options) {
|
|
|
352
352
|
// Reflection insights: patterns, contradictions, summaries across sessions
|
|
353
353
|
includeStructuredCards ? (async () => {
|
|
354
354
|
try {
|
|
355
|
-
const { searchReflections } = await import("./memory-reflection-
|
|
355
|
+
const { searchReflections } = await import("./memory-reflection-6MU7R3DN.js");
|
|
356
356
|
const insights = await searchReflections(effectiveQuery, agentId, 5);
|
|
357
357
|
return insights.map((ins) => ({
|
|
358
358
|
id: ins.id,
|
|
@@ -452,7 +452,7 @@ async function hybridSearch(queryText, agentId, options) {
|
|
|
452
452
|
try {
|
|
453
453
|
let rerankedRecords;
|
|
454
454
|
if (graphContextMap.size > 0) {
|
|
455
|
-
const { rerankWithContext } = await import("./reranker-
|
|
455
|
+
const { rerankWithContext } = await import("./reranker-ECLOD4L4.js");
|
|
456
456
|
const candidates = merged.map((m) => ({
|
|
457
457
|
text: m.raw_text,
|
|
458
458
|
context: graphContextMap.get(m.id)
|
|
@@ -460,7 +460,7 @@ async function hybridSearch(queryText, agentId, options) {
|
|
|
460
460
|
const scored = await rerankWithContext(effectiveQuery, candidates, rerankReturnLimit);
|
|
461
461
|
rerankedRecords = scored.map((s) => merged[s.index]);
|
|
462
462
|
} else {
|
|
463
|
-
const { rerank } = await import("./reranker-
|
|
463
|
+
const { rerank } = await import("./reranker-ECLOD4L4.js");
|
|
464
464
|
rerankedRecords = await rerank(effectiveQuery, merged, rerankReturnLimit);
|
|
465
465
|
}
|
|
466
466
|
if (rerankedRecords.length > 0) {
|
|
@@ -785,7 +785,7 @@ async function lightweightSearch(queryText, agentId, options) {
|
|
|
785
785
|
}
|
|
786
786
|
if (results.length >= 2) {
|
|
787
787
|
try {
|
|
788
|
-
const { recordCoActivations } = await import("./co-activation-
|
|
788
|
+
const { recordCoActivations } = await import("./co-activation-7XE74B7L.js");
|
|
789
789
|
const ids = results.slice(0, 10).map((r) => r.id);
|
|
790
790
|
void recordCoActivations(ids);
|
|
791
791
|
} catch {
|
|
@@ -793,7 +793,7 @@ async function lightweightSearch(queryText, agentId, options) {
|
|
|
793
793
|
}
|
|
794
794
|
if (options?.includeStructuredCards !== true) return results;
|
|
795
795
|
try {
|
|
796
|
-
const { searchMemoryCards } = await import("./memory-cards-
|
|
796
|
+
const { searchMemoryCards } = await import("./memory-cards-TJZLRDWR.js");
|
|
797
797
|
const cardResults = await searchMemoryCards(queryText, agentId, options);
|
|
798
798
|
if (cardResults.length > 0) {
|
|
799
799
|
return rrfMergeMulti([results, cardResults], limit, RRF_K, [1, 0.85]);
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
recordSessionKill
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-33ZGDWSS.js";
|
|
4
4
|
import {
|
|
5
5
|
updateTask
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-CRZWP3JB.js";
|
|
7
7
|
import {
|
|
8
8
|
ensureEmployee,
|
|
9
9
|
extractRootExe,
|
|
@@ -14,13 +14,13 @@ import {
|
|
|
14
14
|
sessionScopeFilter,
|
|
15
15
|
strictSessionScopeFilter,
|
|
16
16
|
writeNotification
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-UV4JFYSO.js";
|
|
18
18
|
import {
|
|
19
19
|
queueIntercom
|
|
20
20
|
} from "./chunk-5CHYEKMH.js";
|
|
21
21
|
import {
|
|
22
22
|
listSessions
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-3XNYEGA5.js";
|
|
24
24
|
import {
|
|
25
25
|
getTransport
|
|
26
26
|
} from "./chunk-MVW62NIZ.js";
|
|
@@ -30,7 +30,7 @@ import {
|
|
|
30
30
|
} from "./chunk-CX6GL3ZJ.js";
|
|
31
31
|
import {
|
|
32
32
|
recordOrchestrationEventBestEffort
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-JTADPL6X.js";
|
|
34
34
|
import {
|
|
35
35
|
getAgentRuntime
|
|
36
36
|
} from "./chunk-XJUUWHVN.js";
|
|
@@ -38,7 +38,7 @@ import {
|
|
|
38
38
|
baseAgentName,
|
|
39
39
|
isCoordinatorName,
|
|
40
40
|
shouldAutoInstance
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-QQZMP6QL.js";
|
|
42
42
|
import {
|
|
43
43
|
loadConfigSync
|
|
44
44
|
} from "./chunk-VXIMSRTO.js";
|
|
@@ -1657,7 +1657,7 @@ async function reapOrphanedWorktrees(deps, nowMs = Date.now()) {
|
|
|
1657
1657
|
}
|
|
1658
1658
|
async function createWorktreeReaperRealDeps() {
|
|
1659
1659
|
const { getPaneCwdAsync } = await import("./lib/tmux-status.js");
|
|
1660
|
-
const { getGitRoot, isWorktreeDirty: isDirty } = await import("./worktree-
|
|
1660
|
+
const { getGitRoot, isWorktreeDirty: isDirty } = await import("./worktree-6QLBISCO.js");
|
|
1661
1661
|
const { statSync: statSync2 } = await import("fs");
|
|
1662
1662
|
const { basename } = await import("path");
|
|
1663
1663
|
const { promisify } = await import("util");
|
|
@@ -1798,7 +1798,7 @@ async function gcStaleCheckpoints() {
|
|
|
1798
1798
|
}
|
|
1799
1799
|
async function pollTaskGroupBarriers() {
|
|
1800
1800
|
try {
|
|
1801
|
-
const { checkAndFireBarriers } = await import("./tasks-crud-
|
|
1801
|
+
const { checkAndFireBarriers } = await import("./tasks-crud-FD5V35IK.js");
|
|
1802
1802
|
const firedGroupIds = await checkAndFireBarriers();
|
|
1803
1803
|
if (firedGroupIds.length === 0) return 0;
|
|
1804
1804
|
const { getClient } = await import("./lib/database.js");
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getClient
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-QQZMP6QL.js";
|
|
4
4
|
|
|
5
5
|
// src/lib/memory-graph-extractor.ts
|
|
6
6
|
function entityId(type, name) {
|
|
@@ -247,7 +247,7 @@ async function upsertMemoryGraph(result, memoryId) {
|
|
|
247
247
|
});
|
|
248
248
|
}
|
|
249
249
|
try {
|
|
250
|
-
const { createCoOccurrenceEdges } = await import("./co-occurrence-
|
|
250
|
+
const { createCoOccurrenceEdges } = await import("./co-occurrence-FLEGKZSX.js");
|
|
251
251
|
await createCoOccurrenceEdges(result.entities, memoryId);
|
|
252
252
|
} catch {
|
|
253
253
|
}
|
|
@@ -1,6 +1,9 @@
|
|
|
1
|
+
import {
|
|
2
|
+
assertValidDbPath
|
|
3
|
+
} from "./chunk-2I23RPSI.js";
|
|
1
4
|
import {
|
|
2
5
|
listBackups
|
|
3
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-ACBEUQR2.js";
|
|
4
7
|
import {
|
|
5
8
|
EMBEDDING_DIM
|
|
6
9
|
} from "./chunk-FXU7JOXK.js";
|
|
@@ -1135,6 +1138,7 @@ async function _checkDbIntegrity(client) {
|
|
|
1135
1138
|
}
|
|
1136
1139
|
}
|
|
1137
1140
|
async function _attemptBackupRestore(config) {
|
|
1141
|
+
assertValidDbPath(config.dbPath, "database backup restore");
|
|
1138
1142
|
const backups = listBackups();
|
|
1139
1143
|
if (backups.length === 0) {
|
|
1140
1144
|
process.stderr.write(
|
|
@@ -1249,6 +1253,7 @@ async function _attemptBackupRestore(config) {
|
|
|
1249
1253
|
}
|
|
1250
1254
|
var initTurso = initDatabase;
|
|
1251
1255
|
async function initDatabase(config) {
|
|
1256
|
+
assertValidDbPath(config?.dbPath, "initDatabase");
|
|
1252
1257
|
acquireDbLock();
|
|
1253
1258
|
if (existsSync3(config.dbPath)) {
|
|
1254
1259
|
const dbStat = statSync(config.dbPath);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
MultiAgentOrchestrator
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-X57DHMWB.js";
|
|
4
4
|
import {
|
|
5
5
|
createQuietRenderer,
|
|
6
6
|
createTerminalRenderer,
|
|
@@ -206,7 +206,7 @@ function createExeOSHooks(config) {
|
|
|
206
206
|
);
|
|
207
207
|
}
|
|
208
208
|
try {
|
|
209
|
-
const { listBehaviors } = await import("./behaviors-
|
|
209
|
+
const { listBehaviors } = await import("./behaviors-RAIPSWGY.js");
|
|
210
210
|
const behaviors = await listBehaviors(config.agentId, config.projectName, 12);
|
|
211
211
|
if (behaviors.length > 0) {
|
|
212
212
|
process.stderr.write(
|
|
@@ -327,7 +327,7 @@ function createExeOSHooks(config) {
|
|
|
327
327
|
async onSubagentStop(_reason) {
|
|
328
328
|
try {
|
|
329
329
|
const { getClient } = await import("./lib/database.js");
|
|
330
|
-
const { sessionScopeFilter } = await import("./task-scope-
|
|
330
|
+
const { sessionScopeFilter } = await import("./task-scope-BAWS6CBW.js");
|
|
331
331
|
const client = getClient();
|
|
332
332
|
const ehScope = sessionScopeFilter();
|
|
333
333
|
const tasks = await client.execute({
|
|
@@ -419,7 +419,7 @@ function createExeOSHooks(config) {
|
|
|
419
419
|
try {
|
|
420
420
|
const { writeMemory, flushBatch } = await import("./lib/store.js");
|
|
421
421
|
const { getClient } = await import("./lib/database.js");
|
|
422
|
-
const { sessionScopeFilter: cpScopeFilter } = await import("./task-scope-
|
|
422
|
+
const { sessionScopeFilter: cpScopeFilter } = await import("./task-scope-BAWS6CBW.js");
|
|
423
423
|
const client = getClient();
|
|
424
424
|
const cpScope = cpScopeFilter();
|
|
425
425
|
const tasks = await client.execute({
|
|
@@ -92,7 +92,30 @@ async function embedSymbols(index) {
|
|
|
92
92
|
}
|
|
93
93
|
var INDEX_VERSION = 2;
|
|
94
94
|
var DEFAULT_MAX_FILES = 5e3;
|
|
95
|
-
var IGNORE_SEGMENTS = /* @__PURE__ */ new Set([
|
|
95
|
+
var IGNORE_SEGMENTS = /* @__PURE__ */ new Set([
|
|
96
|
+
"node_modules",
|
|
97
|
+
"dist",
|
|
98
|
+
".git",
|
|
99
|
+
"coverage",
|
|
100
|
+
".worktrees",
|
|
101
|
+
".next",
|
|
102
|
+
"build",
|
|
103
|
+
"target",
|
|
104
|
+
"vendor",
|
|
105
|
+
// macOS/user-home/system folders. These are never project source and some
|
|
106
|
+
// are permission-protected (for example ~/.Trash), so descending into them
|
|
107
|
+
// can make stats/index fail before returning any useful code context.
|
|
108
|
+
".Trash",
|
|
109
|
+
"Library",
|
|
110
|
+
"Applications",
|
|
111
|
+
"Desktop",
|
|
112
|
+
"Documents",
|
|
113
|
+
"Downloads",
|
|
114
|
+
"Movies",
|
|
115
|
+
"Music",
|
|
116
|
+
"Pictures",
|
|
117
|
+
"Public"
|
|
118
|
+
]);
|
|
96
119
|
function normalizeProjectRoot(projectRoot) {
|
|
97
120
|
return path.resolve(projectRoot || process.cwd());
|
|
98
121
|
}
|
|
@@ -119,7 +142,13 @@ function shouldIgnore(relPath) {
|
|
|
119
142
|
return parts.some((part) => IGNORE_SEGMENTS.has(part));
|
|
120
143
|
}
|
|
121
144
|
function listRecursive(projectRoot, dir = projectRoot, out = []) {
|
|
122
|
-
|
|
145
|
+
let entries;
|
|
146
|
+
try {
|
|
147
|
+
entries = readdirSync(dir, { withFileTypes: true });
|
|
148
|
+
} catch {
|
|
149
|
+
return out;
|
|
150
|
+
}
|
|
151
|
+
for (const entry of entries) {
|
|
123
152
|
const abs = path.join(dir, entry.name);
|
|
124
153
|
const rel = path.relative(projectRoot, abs).replaceAll(path.sep, "/");
|
|
125
154
|
if (shouldIgnore(rel)) continue;
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
import {
|
|
20
20
|
createCRMWebhookHandler,
|
|
21
21
|
parseTwentyWebhook
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-PPKYYMTP.js";
|
|
23
23
|
import {
|
|
24
24
|
OllamaProvider
|
|
25
25
|
} from "./chunk-FWFFZGSC.js";
|
|
@@ -49,7 +49,7 @@ import {
|
|
|
49
49
|
retryWithBackoff,
|
|
50
50
|
routeMessage,
|
|
51
51
|
validateGatewayConfig
|
|
52
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-BTX453B2.js";
|
|
53
53
|
import {
|
|
54
54
|
getAccountByName,
|
|
55
55
|
getAccountByPhoneNumberId,
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-GNHN5HRQ.js";
|
|
4
4
|
import {
|
|
5
5
|
buildClaudeHttpMcpEntry
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-QX4HTCYA.js";
|
|
7
7
|
import {
|
|
8
8
|
EXE_HOOKS,
|
|
9
9
|
isLegacyHomeDirHookCommand,
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
} from "./chunk-L3TB7CC3.js";
|
|
12
12
|
import {
|
|
13
13
|
ensureAllAgentSymlinks
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-25NFDJ3N.js";
|
|
15
15
|
import {
|
|
16
16
|
MCP_LEGACY_KEY,
|
|
17
17
|
MCP_PRIMARY_KEY
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
recordSessionKill
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-33ZGDWSS.js";
|
|
4
4
|
import {
|
|
5
5
|
sessionScopeFilter,
|
|
6
6
|
verifyPaneAtCapacity,
|
|
7
7
|
writeNotification
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-UV4JFYSO.js";
|
|
9
9
|
import {
|
|
10
10
|
listSessions
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-3XNYEGA5.js";
|
|
12
12
|
import {
|
|
13
13
|
getTransport
|
|
14
14
|
} from "./chunk-MVW62NIZ.js";
|
|
15
15
|
import {
|
|
16
16
|
recordOrchestrationEventBestEffort
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-JTADPL6X.js";
|
|
18
18
|
import {
|
|
19
19
|
getClient,
|
|
20
20
|
isCoordinatorName
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-QQZMP6QL.js";
|
|
22
22
|
|
|
23
23
|
// src/lib/capacity-monitor.ts
|
|
24
24
|
var CAPACITY_PATTERNS = [
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ensureWorktree
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-PWLX576L.js";
|
|
4
4
|
import {
|
|
5
5
|
queueIntercom
|
|
6
6
|
} from "./chunk-5CHYEKMH.js";
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
} from "./chunk-4JERP7NT.js";
|
|
11
11
|
import {
|
|
12
12
|
registerSession
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-3XNYEGA5.js";
|
|
14
14
|
import {
|
|
15
15
|
getTransport
|
|
16
16
|
} from "./chunk-MVW62NIZ.js";
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
} from "./chunk-CX6GL3ZJ.js";
|
|
20
20
|
import {
|
|
21
21
|
recordOrchestrationEventBestEffort
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-JTADPL6X.js";
|
|
23
23
|
import {
|
|
24
24
|
getAgentRuntime,
|
|
25
25
|
normalizeCcModelName
|
|
@@ -30,7 +30,7 @@ import {
|
|
|
30
30
|
import {
|
|
31
31
|
PlanLimitError,
|
|
32
32
|
assertEmployeeLimitSync
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-A3T5KDD3.js";
|
|
34
34
|
import {
|
|
35
35
|
getSessionKey
|
|
36
36
|
} from "./chunk-CVYC6DUW.js";
|
|
@@ -45,7 +45,7 @@ import {
|
|
|
45
45
|
} from "./chunk-MP2AFCGL.js";
|
|
46
46
|
import {
|
|
47
47
|
ensureAgentSymlink
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-25NFDJ3N.js";
|
|
49
49
|
import {
|
|
50
50
|
expandDualPrefixTools
|
|
51
51
|
} from "./chunk-HYZV25LY.js";
|
|
@@ -57,7 +57,7 @@ import {
|
|
|
57
57
|
isCoordinatorName,
|
|
58
58
|
loadEmployees,
|
|
59
59
|
loadEmployeesSync
|
|
60
|
-
} from "./chunk-
|
|
60
|
+
} from "./chunk-QQZMP6QL.js";
|
|
61
61
|
import {
|
|
62
62
|
loadDeviceId
|
|
63
63
|
} from "./chunk-MOZ2YQ54.js";
|
|
@@ -585,7 +585,7 @@ async function createTaskCore(input) {
|
|
|
585
585
|
if (isCoordinatorSession) {
|
|
586
586
|
earlySessionScope = resolved;
|
|
587
587
|
} else {
|
|
588
|
-
const { getSessionProject } = await import("./session-scope-
|
|
588
|
+
const { getSessionProject } = await import("./session-scope-F4OLNMZ2.js");
|
|
589
589
|
const sessionProject = getSessionProject(resolved);
|
|
590
590
|
if (sessionProject && sessionProject !== input.projectName) {
|
|
591
591
|
scopeMismatchWarning = `session/project mismatch: session "${resolved}" owns "${sessionProject}" but task targets "${input.projectName}". Routed to default scope.`;
|
|
@@ -1052,7 +1052,7 @@ async function updateTaskStatus(input) {
|
|
|
1052
1052
|
} catch {
|
|
1053
1053
|
}
|
|
1054
1054
|
try {
|
|
1055
|
-
const { writeNotification: writeNotification2 } = await import("./notifications-
|
|
1055
|
+
const { writeNotification: writeNotification2 } = await import("./notifications-LZCKZCKO.js");
|
|
1056
1056
|
await writeNotification2({
|
|
1057
1057
|
agentId: reviewer,
|
|
1058
1058
|
agentRole: isCoordinatorName(reviewer) ? "COO" : "manager",
|
|
@@ -1570,7 +1570,7 @@ ${input.result ?? ""}`;
|
|
|
1570
1570
|
}
|
|
1571
1571
|
if (input.status === "done" || input.status === "needs_review") {
|
|
1572
1572
|
try {
|
|
1573
|
-
const { incrementSkillSuccess } = await import("./skill-refinement-
|
|
1573
|
+
const { incrementSkillSuccess } = await import("./skill-refinement-7BM2GCAA.js");
|
|
1574
1574
|
await incrementSkillSuccess(
|
|
1575
1575
|
String(row.assigned_to),
|
|
1576
1576
|
row.project_name ? String(row.project_name) : null
|
|
@@ -3055,7 +3055,7 @@ async function verifyPaneAtCapacity(sessionName) {
|
|
|
3055
3055
|
reason: `capture-pane failed: ${err instanceof Error ? err.message : String(err)}`
|
|
3056
3056
|
};
|
|
3057
3057
|
}
|
|
3058
|
-
const { isAtCapacity } = await import("./capacity-monitor-
|
|
3058
|
+
const { isAtCapacity } = await import("./capacity-monitor-JS3UHTSJ.js");
|
|
3059
3059
|
if (!isAtCapacity(pane)) {
|
|
3060
3060
|
return {
|
|
3061
3061
|
atCapacity: false,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
isCrdtSyncEnabled
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-E7SHKUAE.js";
|
|
4
4
|
import {
|
|
5
5
|
decryptSyncBlob,
|
|
6
6
|
encryptSyncBlob,
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
loadEmployees,
|
|
13
13
|
registerBinSymlinks,
|
|
14
14
|
saveEmployees
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-QQZMP6QL.js";
|
|
16
16
|
import {
|
|
17
17
|
loadDeviceId
|
|
18
18
|
} from "./chunk-MOZ2YQ54.js";
|
|
@@ -521,7 +521,7 @@ async function cloudSync(config) {
|
|
|
521
521
|
let pulled = 0;
|
|
522
522
|
if (pullResult.records.length > 0) {
|
|
523
523
|
if (shouldUseCrdtMergeForCloudSync()) {
|
|
524
|
-
const { initCrdtDoc, importExistingMemories, readAllMemories } = await import("./crdt-sync-
|
|
524
|
+
const { initCrdtDoc, importExistingMemories, readAllMemories } = await import("./crdt-sync-YDQYEBQB.js");
|
|
525
525
|
initCrdtDoc();
|
|
526
526
|
importExistingMemories(
|
|
527
527
|
pullResult.records.map((rec) => ({
|
|
@@ -953,7 +953,7 @@ async function cloudSync(config) {
|
|
|
953
953
|
}
|
|
954
954
|
const totalMemories = await countRows("SELECT COUNT(*) as cnt FROM memories WHERE status = 'active' OR status IS NULL");
|
|
955
955
|
try {
|
|
956
|
-
const { getLatestBackup } = await import("./db-backup-
|
|
956
|
+
const { getLatestBackup } = await import("./db-backup-ZFDOADMZ.js");
|
|
957
957
|
const latestBackup = getLatestBackup();
|
|
958
958
|
if (latestBackup) {
|
|
959
959
|
const backupSize = statSync(latestBackup).size;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
routeTask
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-6WT44S2W.js";
|
|
4
4
|
import {
|
|
5
5
|
createTaskCore,
|
|
6
6
|
employeeSessionName,
|
|
@@ -9,11 +9,11 @@ import {
|
|
|
9
9
|
isEmployeeAlive,
|
|
10
10
|
sessionScopeFilter,
|
|
11
11
|
updateTaskStatus
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-UV4JFYSO.js";
|
|
13
13
|
import {
|
|
14
14
|
DEFAULT_COORDINATOR_TEMPLATE_NAME,
|
|
15
15
|
getCoordinatorName
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-QQZMP6QL.js";
|
|
17
17
|
|
|
18
18
|
// src/runtime/orchestrator.ts
|
|
19
19
|
var STALE_THRESHOLD_MS = 2 * 60 * 60 * 1e3;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
vectorToBlob
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-6YHVX54O.js";
|
|
4
4
|
import {
|
|
5
5
|
extractKeywords,
|
|
6
6
|
keywordsToString
|
|
7
7
|
} from "./chunk-CHCA3ZM2.js";
|
|
8
8
|
import {
|
|
9
9
|
isCoordinatorName
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-QQZMP6QL.js";
|
|
11
11
|
|
|
12
12
|
// src/lib/consolidation.ts
|
|
13
13
|
import { randomUUID } from "crypto";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
deactivateBehavior
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-C5SOAWDO.js";
|
|
4
4
|
import {
|
|
5
5
|
getActiveAgent
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-YG7PIB2R.js";
|
|
7
7
|
import {
|
|
8
8
|
canCoordinate,
|
|
9
9
|
getClient
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-QQZMP6QL.js";
|
|
11
11
|
|
|
12
12
|
// src/mcp/tools/deactivate-behavior.ts
|
|
13
13
|
import { z } from "zod";
|
|
@@ -24,7 +24,7 @@ function registerDeactivateBehavior(server) {
|
|
|
24
24
|
async ({ behavior_id }) => {
|
|
25
25
|
const caller = getActiveAgent();
|
|
26
26
|
try {
|
|
27
|
-
const { StewardGate } = await import("./steward-gate-
|
|
27
|
+
const { StewardGate } = await import("./steward-gate-GQCGOIOX.js");
|
|
28
28
|
const steward = new StewardGate();
|
|
29
29
|
const gateDecision = await steward.checkAuthority(caller.agentId || "unknown", "deactivate_behavior", behavior_id);
|
|
30
30
|
if (!gateDecision.allowed) {
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getClient
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-QQZMP6QL.js";
|
|
4
|
+
import "./chunk-2I23RPSI.js";
|
|
5
|
+
import "./chunk-ACBEUQR2.js";
|
|
5
6
|
import "./chunk-FXU7JOXK.js";
|
|
6
7
|
import "./chunk-VXIMSRTO.js";
|
|
7
8
|
import "./chunk-LYH5HE24.js";
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getClient
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-QQZMP6QL.js";
|
|
4
|
+
import "./chunk-2I23RPSI.js";
|
|
5
|
+
import "./chunk-ACBEUQR2.js";
|
|
5
6
|
import "./chunk-FXU7JOXK.js";
|
|
6
7
|
import "./chunk-VXIMSRTO.js";
|
|
7
8
|
import "./chunk-LYH5HE24.js";
|