@askexenow/exe-os 0.9.259 → 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/pre-publish.js +2 -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-UML47LXI.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-C6SSCNOC.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-DYURFBPS.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 +45 -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-DN2A3H6O.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 +28 -26
- /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-BRSI3FD6.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
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
updateTask
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-CRZWP3JB.js";
|
|
4
4
|
import {
|
|
5
5
|
TASK_ALREADY_CLAIMED_PREFIX
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-UV4JFYSO.js";
|
|
7
7
|
|
|
8
8
|
// src/mcp/tools/update-task.ts
|
|
9
9
|
import { z } from "zod";
|
|
@@ -39,7 +39,7 @@ function registerUpdateTask(server) {
|
|
|
39
39
|
const status = rawStatus;
|
|
40
40
|
let callerAgentId;
|
|
41
41
|
try {
|
|
42
|
-
const { getActiveAgent: getAgent } = await import("./active-agent-
|
|
42
|
+
const { getActiveAgent: getAgent } = await import("./active-agent-3YK6QV45.js");
|
|
43
43
|
callerAgentId = getAgent().agentId;
|
|
44
44
|
} catch {
|
|
45
45
|
}
|
|
@@ -4,17 +4,17 @@ import {
|
|
|
4
4
|
resolveExeSession,
|
|
5
5
|
sendIntercom,
|
|
6
6
|
strictSessionScopeFilter
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-UV4JFYSO.js";
|
|
8
8
|
import {
|
|
9
9
|
parseMessage,
|
|
10
10
|
serializeMessage
|
|
11
11
|
} from "./chunk-4JERP7NT.js";
|
|
12
12
|
import {
|
|
13
13
|
recordOrchestrationEventBestEffort
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-JTADPL6X.js";
|
|
15
15
|
import {
|
|
16
16
|
getClient
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-QQZMP6QL.js";
|
|
18
18
|
|
|
19
19
|
// src/lib/messaging.ts
|
|
20
20
|
import crypto from "crypto";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
fastDbInit
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-GMUZHA5J.js";
|
|
4
4
|
import {
|
|
5
5
|
sessionScopeFilter
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-UV4JFYSO.js";
|
|
7
7
|
import {
|
|
8
8
|
formatStatusAll,
|
|
9
9
|
formatStatusDeep,
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
getClient,
|
|
15
15
|
isCoordinatorRole,
|
|
16
16
|
loadEmployees
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-QQZMP6QL.js";
|
|
18
18
|
import {
|
|
19
19
|
isMainModule
|
|
20
20
|
} from "./chunk-6Y4B3QF6.js";
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
StewardGate
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-O4D4DSNZ.js";
|
|
4
4
|
import {
|
|
5
5
|
listRecentSessionEvents
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-KPVRGCOC.js";
|
|
7
7
|
import {
|
|
8
8
|
AUTO_WAKE_MAX_RETRIES
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-PK7H6FFK.js";
|
|
10
10
|
import {
|
|
11
11
|
isRerankerAvailable,
|
|
12
12
|
rerankWithScores
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-PISNYNHN.js";
|
|
14
14
|
import {
|
|
15
15
|
getCachedLicenseGate
|
|
16
16
|
} from "./chunk-2WBBVEIB.js";
|
|
17
17
|
import {
|
|
18
18
|
getToolUsageStats
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-AU64ZSNH.js";
|
|
20
20
|
import {
|
|
21
21
|
getToolCapabilityIndex
|
|
22
22
|
} from "./chunk-BBPRL2MP.js";
|
|
@@ -40,72 +40,72 @@ import {
|
|
|
40
40
|
searchCodeContext,
|
|
41
41
|
searchCodeContextSemantic,
|
|
42
42
|
traceCodeSymbol
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-SJOPWCOX.js";
|
|
44
44
|
import {
|
|
45
45
|
DreamingEngine
|
|
46
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-SVGP6QOL.js";
|
|
47
47
|
import {
|
|
48
48
|
exportOrchestration,
|
|
49
49
|
importOrchestration,
|
|
50
50
|
validatePackage
|
|
51
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-IITNQWCX.js";
|
|
52
52
|
import {
|
|
53
53
|
runDriftProbes
|
|
54
|
-
} from "./chunk-
|
|
54
|
+
} from "./chunk-UG5IYXJT.js";
|
|
55
55
|
import {
|
|
56
56
|
loadOrchestrationPhase,
|
|
57
57
|
setOrchestrationPhase
|
|
58
58
|
} from "./chunk-NL35XNLI.js";
|
|
59
59
|
import {
|
|
60
60
|
createOrRefreshResumeTask
|
|
61
|
-
} from "./chunk-
|
|
61
|
+
} from "./chunk-UJE2GS6O.js";
|
|
62
62
|
import {
|
|
63
63
|
registerCreateReminder
|
|
64
|
-
} from "./chunk-
|
|
64
|
+
} from "./chunk-MV2T7Q3V.js";
|
|
65
65
|
import {
|
|
66
66
|
registerListReminders
|
|
67
|
-
} from "./chunk-
|
|
67
|
+
} from "./chunk-6HVXFKP6.js";
|
|
68
68
|
import {
|
|
69
69
|
registerCompleteReminder
|
|
70
|
-
} from "./chunk-
|
|
70
|
+
} from "./chunk-5KTO3LBQ.js";
|
|
71
71
|
import {
|
|
72
72
|
registerDeactivateBehavior
|
|
73
|
-
} from "./chunk-
|
|
73
|
+
} from "./chunk-ZGCPEWFP.js";
|
|
74
74
|
import {
|
|
75
75
|
completeReminder,
|
|
76
76
|
createReminder,
|
|
77
77
|
listReminders
|
|
78
|
-
} from "./chunk-
|
|
78
|
+
} from "./chunk-J7LUMKFQ.js";
|
|
79
79
|
import {
|
|
80
80
|
registerImportConversations
|
|
81
|
-
} from "./chunk-
|
|
81
|
+
} from "./chunk-F7FZ24KM.js";
|
|
82
82
|
import {
|
|
83
83
|
registerSendMessage
|
|
84
|
-
} from "./chunk-
|
|
84
|
+
} from "./chunk-N2CFR2OZ.js";
|
|
85
85
|
import {
|
|
86
86
|
registerCreateTask
|
|
87
|
-
} from "./chunk-
|
|
87
|
+
} from "./chunk-FIV5A6O2.js";
|
|
88
88
|
import {
|
|
89
89
|
registerListTasks
|
|
90
|
-
} from "./chunk-
|
|
90
|
+
} from "./chunk-PIXFIUXC.js";
|
|
91
91
|
import {
|
|
92
92
|
registerUpdateTask
|
|
93
|
-
} from "./chunk-
|
|
93
|
+
} from "./chunk-L5G37Y7S.js";
|
|
94
94
|
import {
|
|
95
95
|
TOKENS_PER_IDLE_MINUTE,
|
|
96
96
|
countKillsSince,
|
|
97
97
|
sumTokensSavedSince
|
|
98
|
-
} from "./chunk-
|
|
98
|
+
} from "./chunk-33ZGDWSS.js";
|
|
99
99
|
import {
|
|
100
100
|
createSchedule,
|
|
101
101
|
parseHumanCron
|
|
102
|
-
} from "./chunk-
|
|
102
|
+
} from "./chunk-KDQC7DGK.js";
|
|
103
103
|
import {
|
|
104
104
|
status
|
|
105
|
-
} from "./chunk-
|
|
105
|
+
} from "./chunk-LGBN2Z6M.js";
|
|
106
106
|
import {
|
|
107
107
|
getAgentSpend
|
|
108
|
-
} from "./chunk-
|
|
108
|
+
} from "./chunk-F255GOZU.js";
|
|
109
109
|
import {
|
|
110
110
|
exportGraphHTML,
|
|
111
111
|
generateGraphReport
|
|
@@ -121,7 +121,7 @@ import {
|
|
|
121
121
|
fixShards,
|
|
122
122
|
formatReport,
|
|
123
123
|
runAudit
|
|
124
|
-
} from "./chunk-
|
|
124
|
+
} from "./chunk-BJYXHSFN.js";
|
|
125
125
|
import {
|
|
126
126
|
runHealthCheck
|
|
127
127
|
} from "./chunk-RQI5TG5F.js";
|
|
@@ -139,12 +139,12 @@ import {
|
|
|
139
139
|
} from "./chunk-MMRUBN3I.js";
|
|
140
140
|
import {
|
|
141
141
|
renderClientCOOTemplate
|
|
142
|
-
} from "./chunk-
|
|
142
|
+
} from "./chunk-2WH32VJI.js";
|
|
143
143
|
import {
|
|
144
144
|
deactivateGlobalProcedure,
|
|
145
145
|
loadGlobalProcedures,
|
|
146
146
|
storeGlobalProcedure
|
|
147
|
-
} from "./chunk-
|
|
147
|
+
} from "./chunk-YYDGDTAG.js";
|
|
148
148
|
import {
|
|
149
149
|
PLATFORM_PROCEDURES
|
|
150
150
|
} from "./chunk-K77WC6HA.js";
|
|
@@ -153,27 +153,27 @@ import {
|
|
|
153
153
|
cloudSync,
|
|
154
154
|
getCloudReuploadRequired,
|
|
155
155
|
markCloudReuploadRequired
|
|
156
|
-
} from "./chunk-
|
|
156
|
+
} from "./chunk-VG3CIPWK.js";
|
|
157
157
|
import {
|
|
158
158
|
createARecord
|
|
159
159
|
} from "./chunk-X2Z5GT3V.js";
|
|
160
160
|
import {
|
|
161
161
|
findSimilarTrajectories,
|
|
162
162
|
hashSignature
|
|
163
|
-
} from "./chunk-
|
|
163
|
+
} from "./chunk-6OOAVH7Y.js";
|
|
164
164
|
import {
|
|
165
165
|
deactivateBehavior,
|
|
166
166
|
listBehaviorsByDomain,
|
|
167
167
|
listSharedSkills,
|
|
168
168
|
reactivateBehavior,
|
|
169
169
|
storeBehavior
|
|
170
|
-
} from "./chunk-
|
|
170
|
+
} from "./chunk-C5SOAWDO.js";
|
|
171
171
|
import {
|
|
172
172
|
countUnconsolidated,
|
|
173
173
|
groupMemories,
|
|
174
174
|
runConsolidation,
|
|
175
175
|
selectUnconsolidated
|
|
176
|
-
} from "./chunk-
|
|
176
|
+
} from "./chunk-XPANTGOA.js";
|
|
177
177
|
import {
|
|
178
178
|
embed
|
|
179
179
|
} from "./chunk-MGTVPIEZ.js";
|
|
@@ -184,17 +184,17 @@ import {
|
|
|
184
184
|
} from "./chunk-LBRIPVY3.js";
|
|
185
185
|
import {
|
|
186
186
|
updateTask
|
|
187
|
-
} from "./chunk-
|
|
187
|
+
} from "./chunk-CRZWP3JB.js";
|
|
188
188
|
import {
|
|
189
189
|
fastDbInit
|
|
190
|
-
} from "./chunk-
|
|
190
|
+
} from "./chunk-GMUZHA5J.js";
|
|
191
191
|
import {
|
|
192
192
|
MAX_CONCURRENT_WORKERS
|
|
193
|
-
} from "./chunk-
|
|
193
|
+
} from "./chunk-45W7EDXB.js";
|
|
194
194
|
import {
|
|
195
195
|
hybridSearch,
|
|
196
196
|
recentRecords
|
|
197
|
-
} from "./chunk-
|
|
197
|
+
} from "./chunk-N2MMYJLT.js";
|
|
198
198
|
import {
|
|
199
199
|
attachDocumentMetadata,
|
|
200
200
|
flushBatch,
|
|
@@ -202,10 +202,10 @@ import {
|
|
|
202
202
|
reserveVersions,
|
|
203
203
|
vectorToBlob,
|
|
204
204
|
writeMemory
|
|
205
|
-
} from "./chunk-
|
|
205
|
+
} from "./chunk-6YHVX54O.js";
|
|
206
206
|
import {
|
|
207
207
|
getActiveAgent
|
|
208
|
-
} from "./chunk-
|
|
208
|
+
} from "./chunk-YG7PIB2R.js";
|
|
209
209
|
import {
|
|
210
210
|
getMySession,
|
|
211
211
|
resolveExeSession,
|
|
@@ -213,13 +213,13 @@ import {
|
|
|
213
213
|
sessionScopeFilter,
|
|
214
214
|
updateTaskStatus,
|
|
215
215
|
writeCheckpoint
|
|
216
|
-
} from "./chunk-
|
|
216
|
+
} from "./chunk-UV4JFYSO.js";
|
|
217
217
|
import {
|
|
218
218
|
listSessions
|
|
219
|
-
} from "./chunk-
|
|
219
|
+
} from "./chunk-3XNYEGA5.js";
|
|
220
220
|
import {
|
|
221
221
|
recordOrchestrationEventBestEffort
|
|
222
|
-
} from "./chunk-
|
|
222
|
+
} from "./chunk-JTADPL6X.js";
|
|
223
223
|
import {
|
|
224
224
|
DEFAULT_MODELS,
|
|
225
225
|
KNOWN_RUNTIMES,
|
|
@@ -236,7 +236,7 @@ import {
|
|
|
236
236
|
assertEmployeeLimit,
|
|
237
237
|
assertFeature,
|
|
238
238
|
assertMemoryLimit
|
|
239
|
-
} from "./chunk-
|
|
239
|
+
} from "./chunk-A3T5KDD3.js";
|
|
240
240
|
import {
|
|
241
241
|
getProjectName
|
|
242
242
|
} from "./chunk-OPU3NYOO.js";
|
|
@@ -249,7 +249,7 @@ import {
|
|
|
249
249
|
isScheduledTrigger,
|
|
250
250
|
loadTriggers,
|
|
251
251
|
sanitizeParam
|
|
252
|
-
} from "./chunk-
|
|
252
|
+
} from "./chunk-JG76N7JE.js";
|
|
253
253
|
import {
|
|
254
254
|
pushConversationToCRM
|
|
255
255
|
} from "./chunk-ONKIWA3R.js";
|
|
@@ -270,7 +270,7 @@ import {
|
|
|
270
270
|
loadEmployeesSync,
|
|
271
271
|
saveEmployees,
|
|
272
272
|
updateIdentity
|
|
273
|
-
} from "./chunk-
|
|
273
|
+
} from "./chunk-QQZMP6QL.js";
|
|
274
274
|
import {
|
|
275
275
|
getMasterKey
|
|
276
276
|
} from "./chunk-K333WOW4.js";
|
|
@@ -434,7 +434,7 @@ function registerRecallMyMemory(server) {
|
|
|
434
434
|
}) => {
|
|
435
435
|
try {
|
|
436
436
|
if (!isInitialized()) {
|
|
437
|
-
const { fastDbInit: fastDbInit2 } = await import("./fast-db-init-
|
|
437
|
+
const { fastDbInit: fastDbInit2 } = await import("./fast-db-init-Q2B2YPUR.js");
|
|
438
438
|
await fastDbInit2();
|
|
439
439
|
}
|
|
440
440
|
if (!recent && !query) {
|
|
@@ -475,7 +475,7 @@ function registerRecallMyMemory(server) {
|
|
|
475
475
|
let federatedCount = 0;
|
|
476
476
|
if (!recent && query && results.length < FEDERATION_THRESHOLD) {
|
|
477
477
|
try {
|
|
478
|
-
const { searchCodeContextSemantic: searchCodeContextSemantic2 } = await import("./code-context-index-
|
|
478
|
+
const { searchCodeContextSemantic: searchCodeContextSemantic2 } = await import("./code-context-index-Z7HB3UGH.js");
|
|
479
479
|
const codeResults = await Promise.race([
|
|
480
480
|
searchCodeContextSemantic2(query, { limit: 5 }),
|
|
481
481
|
new Promise((_, rej) => setTimeout(() => rej(new Error("timeout")), 2e3))
|
|
@@ -1640,7 +1640,7 @@ async function handleSupersede(input) {
|
|
|
1640
1640
|
}
|
|
1641
1641
|
try {
|
|
1642
1642
|
const { getClient: getClient2 } = await import("./lib/database.js");
|
|
1643
|
-
const { getActiveAgent: getActiveAgent2 } = await import("./active-agent-
|
|
1643
|
+
const { getActiveAgent: getActiveAgent2 } = await import("./active-agent-3YK6QV45.js");
|
|
1644
1644
|
const { writeMemory: writeMemory2, flushBatch: flushBatch2 } = await import("./lib/store.js");
|
|
1645
1645
|
const { randomUUID: randomUUID2 } = await import("crypto");
|
|
1646
1646
|
const client = getClient2();
|
|
@@ -1693,7 +1693,7 @@ New memory id: ${newId}`
|
|
|
1693
1693
|
}
|
|
1694
1694
|
async function handleResonanceQuery(input) {
|
|
1695
1695
|
try {
|
|
1696
|
-
const { getHotPairs, getCoActivationNeighbors } = await import("./co-activation-
|
|
1696
|
+
const { getHotPairs, getCoActivationNeighbors } = await import("./co-activation-7XE74B7L.js");
|
|
1697
1697
|
const subAction = input.resonance_action ?? "hot_pairs";
|
|
1698
1698
|
const limit = input.limit ?? 20;
|
|
1699
1699
|
if (subAction === "hot_pairs") {
|
|
@@ -1782,7 +1782,7 @@ function registerMemory(server) {
|
|
|
1782
1782
|
return handleResonanceQuery(input);
|
|
1783
1783
|
}
|
|
1784
1784
|
if (action === "update_working_memory" || action === "get_working_memory") {
|
|
1785
|
-
const { getActiveAgent: getActiveAgent2 } = await import("./active-agent-
|
|
1785
|
+
const { getActiveAgent: getActiveAgent2 } = await import("./active-agent-3YK6QV45.js");
|
|
1786
1786
|
const { agentId } = getActiveAgent2();
|
|
1787
1787
|
const { readWorkingMemory, writeWorkingMemory, WORKING_MEMORY_MAX_BYTES } = await import("./working-memory-PKUUMWZK.js");
|
|
1788
1788
|
if (action === "get_working_memory") {
|
|
@@ -1799,9 +1799,9 @@ function registerMemory(server) {
|
|
|
1799
1799
|
}
|
|
1800
1800
|
}
|
|
1801
1801
|
if (action === "core_get" || action === "core_set" || action === "core_delete") {
|
|
1802
|
-
const { getActiveAgent: getActiveAgent2 } = await import("./active-agent-
|
|
1802
|
+
const { getActiveAgent: getActiveAgent2 } = await import("./active-agent-3YK6QV45.js");
|
|
1803
1803
|
const { agentId } = getActiveAgent2();
|
|
1804
|
-
const { getCoreMemory, setCoreMemory, deleteCoreMemory, formatCoreMemoryBlock } = await import("./core-memory-
|
|
1804
|
+
const { getCoreMemory, setCoreMemory, deleteCoreMemory, formatCoreMemoryBlock } = await import("./core-memory-DQGGTOZH.js");
|
|
1805
1805
|
if (action === "core_get") {
|
|
1806
1806
|
const entries = await getCoreMemory(agentId);
|
|
1807
1807
|
const block = formatCoreMemoryBlock(entries);
|
|
@@ -2177,7 +2177,7 @@ function registerCloseTask(server) {
|
|
|
2177
2177
|
async ({ task_id, result: result3, status: status2 }) => {
|
|
2178
2178
|
const agent = getActiveAgent();
|
|
2179
2179
|
try {
|
|
2180
|
-
const { StewardGate: StewardGate2 } = await import("./steward-gate-
|
|
2180
|
+
const { StewardGate: StewardGate2 } = await import("./steward-gate-GQCGOIOX.js");
|
|
2181
2181
|
const steward = new StewardGate2();
|
|
2182
2182
|
const gateDecision = await steward.checkAuthority(agent.agentId || "unknown", "close_task", task_id);
|
|
2183
2183
|
if (!gateDecision.allowed) {
|
|
@@ -2358,8 +2358,8 @@ ${preflightWarnings.join("\n")}`;
|
|
|
2358
2358
|
if (mergeNote) text5 += mergeNote;
|
|
2359
2359
|
if (status2 === "closed" && assignee) {
|
|
2360
2360
|
try {
|
|
2361
|
-
const { cleanupAgentWorktree } = await import("./worktree-sweep-
|
|
2362
|
-
const { getGitRoot } = await import("./worktree-
|
|
2361
|
+
const { cleanupAgentWorktree } = await import("./worktree-sweep-IDXJ3WQM.js");
|
|
2362
|
+
const { getGitRoot } = await import("./worktree-6QLBISCO.js");
|
|
2363
2363
|
const repoRoot = getGitRoot(baseDir);
|
|
2364
2364
|
if (repoRoot) {
|
|
2365
2365
|
const cleanupNotes = cleanupAgentWorktree(repoRoot, assignee);
|
|
@@ -2408,8 +2408,8 @@ ${preflightWarnings.join("\n")}`;
|
|
|
2408
2408
|
} catch {
|
|
2409
2409
|
}
|
|
2410
2410
|
try {
|
|
2411
|
-
const { cleanupAgentWorktree } = await import("./worktree-sweep-
|
|
2412
|
-
const { getGitRoot } = await import("./worktree-
|
|
2411
|
+
const { cleanupAgentWorktree } = await import("./worktree-sweep-IDXJ3WQM.js");
|
|
2412
|
+
const { getGitRoot } = await import("./worktree-6QLBISCO.js");
|
|
2413
2413
|
const root = getGitRoot(_baseDir);
|
|
2414
2414
|
if (root) {
|
|
2415
2415
|
const notes = cleanupAgentWorktree(root, _assignee);
|
|
@@ -2534,7 +2534,7 @@ function registerResumeEmployee(server) {
|
|
|
2534
2534
|
};
|
|
2535
2535
|
}
|
|
2536
2536
|
try {
|
|
2537
|
-
const { isTmuxSessionAlive } = await import("./tasks-crud-
|
|
2537
|
+
const { isTmuxSessionAlive } = await import("./tasks-crud-FD5V35IK.js");
|
|
2538
2538
|
const now = (/* @__PURE__ */ new Date()).toISOString();
|
|
2539
2539
|
for (const row of openTasks.rows) {
|
|
2540
2540
|
const status2 = String(row.status);
|
|
@@ -2562,7 +2562,7 @@ function registerResumeEmployee(server) {
|
|
|
2562
2562
|
}
|
|
2563
2563
|
let checkpointInfo = "";
|
|
2564
2564
|
try {
|
|
2565
|
-
const { readLatestCheckpoint } = await import("./tasks-crud-
|
|
2565
|
+
const { readLatestCheckpoint } = await import("./tasks-crud-FD5V35IK.js");
|
|
2566
2566
|
const checkpoint = await readLatestCheckpoint(agent_id);
|
|
2567
2567
|
if (checkpoint) {
|
|
2568
2568
|
const filesTouched = checkpoint.files_touched?.length > 0 ? checkpoint.files_touched.join(", ") : "none";
|
|
@@ -2961,7 +2961,7 @@ function registerTask(server) {
|
|
|
2961
2961
|
const missing2 = missingRequiredFields2(args, REQUIRED_FIELDS2.create_group);
|
|
2962
2962
|
if (missing2.length > 0) return errorResult2(`task action "create_group" missing required field(s): ${missing2.join(", ")}`);
|
|
2963
2963
|
try {
|
|
2964
|
-
const { createTaskGroup } = await import("./tasks-crud-
|
|
2964
|
+
const { createTaskGroup } = await import("./tasks-crud-FD5V35IK.js");
|
|
2965
2965
|
const group = await createTaskGroup({
|
|
2966
2966
|
title: args.title,
|
|
2967
2967
|
coordinator: args.coordinator,
|
|
@@ -2980,7 +2980,7 @@ function registerTask(server) {
|
|
|
2980
2980
|
const missing2 = missingRequiredFields2(args, REQUIRED_FIELDS2.group_status);
|
|
2981
2981
|
if (missing2.length > 0) return errorResult2(`task action "group_status" missing required field(s): ${missing2.join(", ")}`);
|
|
2982
2982
|
try {
|
|
2983
|
-
const { getGroupStatus } = await import("./tasks-crud-
|
|
2983
|
+
const { getGroupStatus } = await import("./tasks-crud-FD5V35IK.js");
|
|
2984
2984
|
const status2 = await getGroupStatus(args.group_id);
|
|
2985
2985
|
return { content: [{ type: "text", text: JSON.stringify(status2, null, 2) }] };
|
|
2986
2986
|
} catch (err) {
|
|
@@ -2992,7 +2992,7 @@ function registerTask(server) {
|
|
|
2992
2992
|
const missing2 = missingRequiredFields2(args, REQUIRED_FIELDS2.group_results);
|
|
2993
2993
|
if (missing2.length > 0) return errorResult2(`task action "group_results" missing required field(s): ${missing2.join(", ")}`);
|
|
2994
2994
|
try {
|
|
2995
|
-
const { getGroupResults } = await import("./tasks-crud-
|
|
2995
|
+
const { getGroupResults } = await import("./tasks-crud-FD5V35IK.js");
|
|
2996
2996
|
const results = await getGroupResults(args.group_id);
|
|
2997
2997
|
return { content: [{ type: "text", text: JSON.stringify(results, null, 2) }] };
|
|
2998
2998
|
} catch (err) {
|
|
@@ -3220,7 +3220,7 @@ function registerMessage(server) {
|
|
|
3220
3220
|
if (msgType && msgPayload) {
|
|
3221
3221
|
try {
|
|
3222
3222
|
const { buildTypedMessage, serializeMessage } = await import("./typed-messages-TKDGVPHS.js");
|
|
3223
|
-
const { getActiveAgent: getActiveAgent2 } = await import("./active-agent-
|
|
3223
|
+
const { getActiveAgent: getActiveAgent2 } = await import("./active-agent-3YK6QV45.js");
|
|
3224
3224
|
const { sendMessage } = await import("./lib/messaging.js");
|
|
3225
3225
|
const { agentId } = getActiveAgent2();
|
|
3226
3226
|
const envelope = buildTypedMessage({
|
|
@@ -3845,8 +3845,8 @@ function registerIngestDocument(server) {
|
|
|
3845
3845
|
},
|
|
3846
3846
|
async (input) => {
|
|
3847
3847
|
try {
|
|
3848
|
-
const { assertFeature: assertFeature2 } = await import("./plan-limits-
|
|
3849
|
-
const { assertMemoryLimit: assertMemoryLimit2 } = await import("./plan-limits-
|
|
3848
|
+
const { assertFeature: assertFeature2 } = await import("./plan-limits-4VH65ER2.js");
|
|
3849
|
+
const { assertMemoryLimit: assertMemoryLimit2 } = await import("./plan-limits-4VH65ER2.js");
|
|
3850
3850
|
await assertFeature2("wiki");
|
|
3851
3851
|
await assertMemoryLimit2();
|
|
3852
3852
|
const result3 = await ingestDocument(input);
|
|
@@ -3917,8 +3917,8 @@ function registerPurgeDocument(server) {
|
|
|
3917
3917
|
},
|
|
3918
3918
|
async ({ document_id }) => {
|
|
3919
3919
|
try {
|
|
3920
|
-
const { StewardGate: StewardGate2 } = await import("./steward-gate-
|
|
3921
|
-
const { getActiveAgent: getActiveAgent2 } = await import("./active-agent-
|
|
3920
|
+
const { StewardGate: StewardGate2 } = await import("./steward-gate-GQCGOIOX.js");
|
|
3921
|
+
const { getActiveAgent: getActiveAgent2 } = await import("./active-agent-3YK6QV45.js");
|
|
3922
3922
|
const steward = new StewardGate2();
|
|
3923
3923
|
const agent = getActiveAgent2();
|
|
3924
3924
|
const gateDecision = await steward.checkAuthority(agent.agentId || "unknown", "purge_document", document_id);
|
|
@@ -5093,7 +5093,7 @@ async function handleTrigger(limit) {
|
|
|
5093
5093
|
if (rows.rows.length === 0) {
|
|
5094
5094
|
return text3("No conversations found to re-process.");
|
|
5095
5095
|
}
|
|
5096
|
-
const { ingest } = await import("./pipeline-router-
|
|
5096
|
+
const { ingest } = await import("./pipeline-router-6FOAXJVU.js");
|
|
5097
5097
|
const results = [];
|
|
5098
5098
|
for (const row of rows.rows) {
|
|
5099
5099
|
const r = row;
|
|
@@ -5724,8 +5724,8 @@ function registerMergeEntities(server) {
|
|
|
5724
5724
|
},
|
|
5725
5725
|
async ({ source_name, source_type, target_name, target_type }) => {
|
|
5726
5726
|
try {
|
|
5727
|
-
const { StewardGate: StewardGate2 } = await import("./steward-gate-
|
|
5728
|
-
const { getActiveAgent: getActiveAgent2 } = await import("./active-agent-
|
|
5727
|
+
const { StewardGate: StewardGate2 } = await import("./steward-gate-GQCGOIOX.js");
|
|
5728
|
+
const { getActiveAgent: getActiveAgent2 } = await import("./active-agent-3YK6QV45.js");
|
|
5729
5729
|
const steward = new StewardGate2();
|
|
5730
5730
|
const agent = getActiveAgent2();
|
|
5731
5731
|
const gateDecision = await steward.checkAuthority(agent.agentId || "unknown", "merge_entities", `${source_name}\u2192${target_name}`);
|
|
@@ -6603,7 +6603,7 @@ async function getAgentSessionLoad() {
|
|
|
6603
6603
|
return { sessions: [], totalLive: 0, busySessions: 0, idleSessions: 0 };
|
|
6604
6604
|
}
|
|
6605
6605
|
const { getClient: getClient2 } = await import("./lib/database.js");
|
|
6606
|
-
const { sessionScopeFilter: sessionScopeFilter2 } = await import("./task-scope-
|
|
6606
|
+
const { sessionScopeFilter: sessionScopeFilter2 } = await import("./task-scope-BAWS6CBW.js");
|
|
6607
6607
|
const client = getClient2();
|
|
6608
6608
|
const scope = sessionScopeFilter2();
|
|
6609
6609
|
for (const s of liveAgentSessions) {
|
|
@@ -6728,7 +6728,7 @@ ${mode} Applying repairs...
|
|
|
6728
6728
|
`];
|
|
6729
6729
|
if (!isDryRun) {
|
|
6730
6730
|
try {
|
|
6731
|
-
const { createBackup: createBackup2 } = await import("./db-backup-
|
|
6731
|
+
const { createBackup: createBackup2 } = await import("./db-backup-ZFDOADMZ.js");
|
|
6732
6732
|
const backupPath = await createBackup2("pre-fix");
|
|
6733
6733
|
if (backupPath) {
|
|
6734
6734
|
fixLog.push(` Backup created: ${backupPath.split("/").pop()}`);
|
|
@@ -8253,7 +8253,7 @@ function registerCreateTrigger(server) {
|
|
|
8253
8253
|
}
|
|
8254
8254
|
},
|
|
8255
8255
|
async ({ name, event, conditions, actions, project, enabled, schedule, query }) => {
|
|
8256
|
-
const { assertFeature: assertFeature2 } = await import("./plan-limits-
|
|
8256
|
+
const { assertFeature: assertFeature2 } = await import("./plan-limits-4VH65ER2.js");
|
|
8257
8257
|
const gatedActions = {
|
|
8258
8258
|
send_whatsapp: "external_agents",
|
|
8259
8259
|
update_wiki: "wiki"
|
|
@@ -9208,8 +9208,8 @@ function buildHandlers5() {
|
|
|
9208
9208
|
}
|
|
9209
9209
|
async function handleDreaming(action, args) {
|
|
9210
9210
|
try {
|
|
9211
|
-
const { DreamingEngine: DreamingEngine2 } = await import("./dreaming-
|
|
9212
|
-
const { getActiveAgent: getActiveAgent2 } = await import("./active-agent-
|
|
9211
|
+
const { DreamingEngine: DreamingEngine2 } = await import("./dreaming-JYALVJ25.js");
|
|
9212
|
+
const { getActiveAgent: getActiveAgent2 } = await import("./active-agent-3YK6QV45.js");
|
|
9213
9213
|
const { getClient: getClient2 } = await import("./lib/database.js");
|
|
9214
9214
|
const agentId = args.agent_id ?? getActiveAgent2().agentId;
|
|
9215
9215
|
if (action === "dreaming_run") {
|
|
@@ -9375,7 +9375,7 @@ function registerConfig(server) {
|
|
|
9375
9375
|
const existing = loadEmployeesSync2();
|
|
9376
9376
|
if (existing.some((e) => e.name === employeeName)) return errorResult8(`Employee "${employeeName}" already exists.`);
|
|
9377
9377
|
try {
|
|
9378
|
-
const { assertEmployeeLimit: assertEmployeeLimit2 } = await import("./plan-limits-
|
|
9378
|
+
const { assertEmployeeLimit: assertEmployeeLimit2 } = await import("./plan-limits-4VH65ER2.js");
|
|
9379
9379
|
await assertEmployeeLimit2();
|
|
9380
9380
|
} catch (e) {
|
|
9381
9381
|
return errorResult8(e instanceof Error ? e.message : "Employee limit reached.");
|
|
@@ -9416,7 +9416,7 @@ You are ${employeeName}. Role: ${role}.`, "utf-8");
|
|
|
9416
9416
|
}
|
|
9417
9417
|
try {
|
|
9418
9418
|
const { generateSessionWrappers } = await import("./lib/session-wrappers.js");
|
|
9419
|
-
const { resolvePackageRoot } = await import("./installer-
|
|
9419
|
+
const { resolvePackageRoot } = await import("./installer-LN7RDI6N.js");
|
|
9420
9420
|
generateSessionWrappers(resolvePackageRoot());
|
|
9421
9421
|
} catch {
|
|
9422
9422
|
}
|
|
@@ -9453,7 +9453,7 @@ function registerListWikiPages(server) {
|
|
|
9453
9453
|
}
|
|
9454
9454
|
},
|
|
9455
9455
|
async ({ workspace, folder }) => {
|
|
9456
|
-
const { assertFeature: assertFeature2 } = await import("./plan-limits-
|
|
9456
|
+
const { assertFeature: assertFeature2 } = await import("./plan-limits-4VH65ER2.js");
|
|
9457
9457
|
await assertFeature2("wiki");
|
|
9458
9458
|
const apiUrl = process.env.EXE_WIKI_API_URL;
|
|
9459
9459
|
const apiKey = process.env.EXE_WIKI_API_KEY;
|
|
@@ -9553,7 +9553,7 @@ function registerGetWikiPage(server) {
|
|
|
9553
9553
|
}
|
|
9554
9554
|
},
|
|
9555
9555
|
async ({ workspace, document_id, title }) => {
|
|
9556
|
-
const { assertFeature: assertFeature2 } = await import("./plan-limits-
|
|
9556
|
+
const { assertFeature: assertFeature2 } = await import("./plan-limits-4VH65ER2.js");
|
|
9557
9557
|
await assertFeature2("wiki");
|
|
9558
9558
|
const apiUrl = process.env.EXE_WIKI_API_URL;
|
|
9559
9559
|
const apiKey = process.env.EXE_WIKI_API_KEY;
|
|
@@ -9747,10 +9747,10 @@ async function handleWikiSearch(input) {
|
|
|
9747
9747
|
const userId = input.user_id;
|
|
9748
9748
|
if (!workspace) return errorResult9('wiki action "search" requires workspace');
|
|
9749
9749
|
if (!query) return errorResult9('wiki action "search" requires query');
|
|
9750
|
-
const { assertFeature: assertFeature2 } = await import("./plan-limits-
|
|
9750
|
+
const { assertFeature: assertFeature2 } = await import("./plan-limits-4VH65ER2.js");
|
|
9751
9751
|
await assertFeature2("wiki");
|
|
9752
9752
|
if (userId) {
|
|
9753
|
-
const { checkWikiAccess } = await import("./wiki-acl-
|
|
9753
|
+
const { checkWikiAccess } = await import("./wiki-acl-INCE6DGN.js");
|
|
9754
9754
|
const { allowed } = await checkWikiAccess(String(userId), String(workspace), "read");
|
|
9755
9755
|
if (!allowed) {
|
|
9756
9756
|
return errorResult9(`Access denied: user "${userId}" does not have read access to workspace "${workspace}"`);
|
|
@@ -9853,7 +9853,7 @@ function registerWiki(server) {
|
|
|
9853
9853
|
return errorResult9('wiki action "document_rerank" requires at least one candidate');
|
|
9854
9854
|
}
|
|
9855
9855
|
if (user_id && legacyArgs.workspace) {
|
|
9856
|
-
const { checkWikiAccess } = await import("./wiki-acl-
|
|
9856
|
+
const { checkWikiAccess } = await import("./wiki-acl-INCE6DGN.js");
|
|
9857
9857
|
const { allowed } = await checkWikiAccess(
|
|
9858
9858
|
String(user_id),
|
|
9859
9859
|
String(legacyArgs.workspace),
|
|
@@ -10180,7 +10180,7 @@ Use /exe-forget to remove any that this supersedes.`;
|
|
|
10180
10180
|
return { content: [{ type: "text", text: `Behavior not found: ${behavior_id}` }], isError: true };
|
|
10181
10181
|
}
|
|
10182
10182
|
const row2 = result4.rows[0];
|
|
10183
|
-
const { reactivateBehavior: reactivateBehavior2 } = await import("./behaviors-
|
|
10183
|
+
const { reactivateBehavior: reactivateBehavior2 } = await import("./behaviors-RAIPSWGY.js");
|
|
10184
10184
|
const wasReactivated = await reactivateBehavior2(behavior_id);
|
|
10185
10185
|
if (!wasReactivated) {
|
|
10186
10186
|
return { content: [{ type: "text", text: `Behavior ${behavior_id} is already active.` }] };
|
|
@@ -10701,7 +10701,7 @@ function registerWorkflowTool(server) {
|
|
|
10701
10701
|
getWorkflowInstance,
|
|
10702
10702
|
listWorkflowInstances,
|
|
10703
10703
|
approveWorkflowStep
|
|
10704
|
-
} = await import("./workflow-engine-
|
|
10704
|
+
} = await import("./workflow-engine-YRVJEBYW.js");
|
|
10705
10705
|
try {
|
|
10706
10706
|
switch (input.action) {
|
|
10707
10707
|
case "create_workflow": {
|
|
@@ -10974,7 +10974,7 @@ function registerCreateBugReport(server) {
|
|
|
10974
10974
|
const version = package_version ?? "unknown";
|
|
10975
10975
|
let metricsSnapshot = "";
|
|
10976
10976
|
try {
|
|
10977
|
-
const { getOrchestrationMetrics, formatOrchestrationMetrics } = await import("./orchestration-events-
|
|
10977
|
+
const { getOrchestrationMetrics, formatOrchestrationMetrics } = await import("./orchestration-events-UYG5H5H2.js");
|
|
10978
10978
|
const sinceIso = new Date(Date.now() - 60 * 60 * 1e3).toISOString();
|
|
10979
10979
|
const metrics = await getOrchestrationMetrics({ sinceIso });
|
|
10980
10980
|
if (metrics.totalEvents > 0) {
|
|
@@ -12066,7 +12066,7 @@ function registerCodeContext(server) {
|
|
|
12066
12066
|
const index = buildCodeContextIndex(opts);
|
|
12067
12067
|
let graphExtract;
|
|
12068
12068
|
try {
|
|
12069
|
-
const { autoExtractGraphEntities } = await import("./graph-auto-extract-
|
|
12069
|
+
const { autoExtractGraphEntities } = await import("./graph-auto-extract-UYU2KFSY.js");
|
|
12070
12070
|
graphExtract = await autoExtractGraphEntities(opts.projectRoot);
|
|
12071
12071
|
} catch {
|
|
12072
12072
|
}
|
|
@@ -13071,7 +13071,7 @@ async function handleDrift(input) {
|
|
|
13071
13071
|
}
|
|
13072
13072
|
async function handleSteward(action, input) {
|
|
13073
13073
|
const gate = new StewardGate();
|
|
13074
|
-
const { getActiveAgent: getActiveAgent2 } = await import("./active-agent-
|
|
13074
|
+
const { getActiveAgent: getActiveAgent2 } = await import("./active-agent-3YK6QV45.js");
|
|
13075
13075
|
const inputAgent = input.agent_id;
|
|
13076
13076
|
const operation = input.operation;
|
|
13077
13077
|
const target = input.target;
|
|
@@ -13342,7 +13342,7 @@ function registerResonance(server) {
|
|
|
13342
13342
|
}
|
|
13343
13343
|
}, async ({ action, entity_id, limit }) => {
|
|
13344
13344
|
try {
|
|
13345
|
-
const { getHotPairs, getCoActivationNeighbors } = await import("./co-activation-
|
|
13345
|
+
const { getHotPairs, getCoActivationNeighbors } = await import("./co-activation-7XE74B7L.js");
|
|
13346
13346
|
if (action === "hot_pairs") {
|
|
13347
13347
|
const pairs = await getHotPairs(limit ?? 20);
|
|
13348
13348
|
if (pairs.length === 0) return text4("No co-activation data yet. Pairs are recorded as memories are accessed together in searches.");
|