@askexenow/exe-os 0.9.203 → 0.9.205
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/deploy/compose/init-db.sql +162 -0
- package/deploy/stack-manifests/v0.9.json +45 -1
- package/dist/{active-agent-EFWC3HGP.js → active-agent-4RUP4VYK.js} +2 -2
- package/dist/{active-agent-NXX5Z3LX.js → active-agent-VEML3XMS.js} +2 -2
- package/dist/{agentic-ontology-JS6DPKQB.js → agentic-ontology-FNJAKZF5.js} +1 -1
- package/dist/{backfill-metadata-PTACRLYK.js → backfill-metadata-BT4RLVMZ.js} +3 -3
- package/dist/{behaviors-WDIKLZA3.js → behaviors-LCPNHP5Q.js} +2 -2
- package/dist/bin/agentic-ontology-backfill.js +4 -4
- package/dist/bin/agentic-reflection-backfill.js +5 -5
- package/dist/bin/agentic-semantic-label.js +4 -4
- package/dist/bin/backfill-conversations.js +3 -3
- package/dist/bin/backfill-responses.js +3 -3
- package/dist/bin/backfill-vectors.js +4 -4
- package/dist/bin/bulk-sync-postgres.js +5 -5
- package/dist/bin/cleanup-stale-review-tasks.js +8 -8
- package/dist/bin/cli.js +12 -12
- package/dist/bin/exe-agent-config.js +1 -1
- package/dist/bin/exe-agent.js +3 -3
- package/dist/bin/exe-assign.js +4 -4
- package/dist/bin/exe-boot.js +15 -15
- package/dist/bin/exe-call.js +3 -3
- package/dist/bin/exe-cloud.js +3 -3
- package/dist/bin/exe-dispatch.js +8 -8
- package/dist/bin/exe-doctor.js +1 -1
- package/dist/bin/exe-export-behaviors.js +6 -6
- package/dist/bin/exe-forget.js +5 -5
- package/dist/bin/exe-gateway.js +5 -5
- package/dist/bin/exe-heartbeat.js +8 -8
- package/dist/bin/exe-kill.js +11 -11
- package/dist/bin/exe-launch-agent.js +9 -9
- package/dist/bin/exe-new-employee.js +5 -5
- package/dist/bin/exe-pending-messages.js +9 -9
- package/dist/bin/exe-pending-notifications.js +8 -8
- package/dist/bin/exe-pending-reviews.js +8 -8
- package/dist/bin/exe-rename.js +3 -3
- package/dist/bin/exe-review.js +10 -10
- package/dist/bin/exe-search.js +4 -4
- package/dist/bin/exe-session-cleanup.js +13 -13
- package/dist/bin/exe-settings.js +3 -3
- package/dist/bin/exe-start-codex.js +10 -10
- package/dist/bin/exe-start-opencode.js +7 -7
- package/dist/bin/exe-status.js +9 -9
- package/dist/bin/exe-team.js +2 -2
- package/dist/bin/git-sweep.js +8 -8
- package/dist/bin/graph-backfill.js +3 -3
- package/dist/bin/graph-export.js +4 -4
- package/dist/bin/import-history.js +4 -4
- package/dist/bin/install.js +5 -5
- package/dist/bin/intercom-check.js +4 -4
- package/dist/bin/orchestration-metrics.js +4 -3
- 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 +8 -8
- package/dist/bin/setup.js +1 -1
- package/dist/bin/shard-migrate.js +3 -3
- package/dist/{capacity-monitor-TGSIL7W4.js → capacity-monitor-EPHJTSKF.js} +9 -9
- package/dist/{catchup-brief-ABL4NSAE.js → catchup-brief-HVITENL5.js} +10 -10
- package/dist/{chunk-25K6KNZ5.js → chunk-22GPB6FO.js} +58 -6
- package/dist/chunk-2THPPZF2.js +81 -0
- package/dist/{chunk-K3O4MWMS.js → chunk-3MHKTBHZ.js} +1 -0
- package/dist/{chunk-UY6RQK5F.js → chunk-3N4ZEPZI.js} +1 -1
- package/dist/{chunk-SN6Z3CBF.js → chunk-3PDZQICZ.js} +1 -1
- package/dist/{chunk-CGM6BIK3.js → chunk-3S3ERUUH.js} +1 -1
- package/dist/{chunk-5EW4GKGZ.js → chunk-434A3L6O.js} +1 -1
- package/dist/{chunk-BQ4U2SYC.js → chunk-4FNJPA5O.js} +1 -1
- package/dist/{chunk-O5RJH6GU.js → chunk-4RJD3GXL.js} +1 -1
- package/dist/{chunk-3K2BCD5Y.js → chunk-5HTEMMOJ.js} +21 -4
- package/dist/{chunk-SZDSQ3AW.js → chunk-6JORPKMR.js} +3 -3
- package/dist/{chunk-DAFEIA2M.js → chunk-6MOFCQFH.js} +124 -65
- package/dist/{chunk-K62M5FIM.js → chunk-6VVSXO3M.js} +4 -4
- package/dist/{chunk-SPMVTZ7Z.js → chunk-723DSUG3.js} +3 -3
- package/dist/{chunk-5POKNLFV.js → chunk-7DTEJAIC.js} +2 -2
- package/dist/{chunk-E66FQ7IN.js → chunk-7HIWJLXK.js} +1 -1
- package/dist/{chunk-IGRQE5Y5.js → chunk-BGLXECHT.js} +2 -2
- package/dist/{chunk-BYHFW5CT.js → chunk-COOX4FXM.js} +1 -1
- package/dist/{chunk-GZLGB72W.js → chunk-CXBLK3ZA.js} +1 -1
- package/dist/{chunk-MJNI3S5H.js → chunk-EDQ4GH2D.js} +2 -2
- package/dist/{chunk-GPK2WJXA.js → chunk-EF57I73W.js} +1 -1
- package/dist/{chunk-HXYL4QX6.js → chunk-EUMLEWXO.js} +2 -2
- package/dist/{chunk-RJCZY4BY.js → chunk-FMKD6N33.js} +86 -10
- package/dist/{chunk-RN6XYY7U.js → chunk-FYJCMGTD.js} +71 -0
- package/dist/{chunk-USQF2GGF.js → chunk-H7U7FPQF.js} +82 -6
- package/dist/{chunk-FMI7SCZJ.js → chunk-HLYNKMAG.js} +1 -1
- package/dist/{chunk-BGOQFJ2H.js → chunk-HMGIQNME.js} +3 -3
- package/dist/chunk-IR4L6K5L.js +147 -0
- package/dist/chunk-ITYWLFYC.js +609 -0
- package/dist/{chunk-FFECDA24.js → chunk-JUB74GFQ.js} +2 -2
- package/dist/{chunk-D4B6SVEC.js → chunk-MKOW4EXB.js} +1 -1
- package/dist/{chunk-XWM23YJO.js → chunk-MQX47XMP.js} +2 -2
- package/dist/{chunk-IXFE5R6T.js → chunk-MZ2BL3JP.js} +2 -2
- package/dist/{chunk-WGMHQVGX.js → chunk-O2JGR7EU.js} +83 -6
- package/dist/{chunk-BV3L2S54.js → chunk-P2ZIM765.js} +1 -1
- package/dist/{chunk-DEGQESR7.js → chunk-PHCK4KQW.js} +3 -3
- package/dist/{chunk-Y2W54BET.js → chunk-PXDR3UTB.js} +8 -8
- package/dist/{chunk-ETHQJXO3.js → chunk-PYLNOBNW.js} +1 -1
- package/dist/{chunk-HXNTQP4B.js → chunk-RN6DEMC7.js} +1 -1
- package/dist/{chunk-3WMXVABU.js → chunk-S4AXKNPT.js} +1 -1
- package/dist/{chunk-X2BTDYHZ.js → chunk-SEAFDIKF.js} +13 -1
- package/dist/{chunk-QLKRYO7O.js → chunk-TCBUBBTL.js} +8 -8
- package/dist/{chunk-ZQMOF6E7.js → chunk-THFFC43M.js} +1 -1
- package/dist/{chunk-XXHDXAZV.js → chunk-VG3VVFF5.js} +1 -1
- package/dist/{chunk-P4JQGT4Q.js → chunk-VH6WU3GK.js} +2 -2
- package/dist/{chunk-AH6MV6CC.js → chunk-W4BFBCZA.js} +3 -3
- package/dist/{chunk-PVVA5SY5.js → chunk-XSOKVFQ6.js} +14 -3
- package/dist/{chunk-JUTI2DXY.js → chunk-YCL4RHFY.js} +1 -1
- package/dist/{chunk-UXD5KOND.js → chunk-YGUWCJN2.js} +2 -2
- package/dist/{chunk-AUPGTF7I.js → chunk-YOXXZAOR.js} +2 -2
- package/dist/{chunk-GPNUPCTZ.js → chunk-YXHY5F34.js} +2 -2
- package/dist/{chunk-6FJ2TJYB.js → chunk-ZDK3M72Z.js} +1 -1
- package/dist/{chunk-6H6Q4MJC.js → chunk-ZIBSTUGU.js} +1 -1
- package/dist/{chunk-LIHR5DQF.js → chunk-ZXZJLVGD.js} +1 -1
- package/dist/{co-occurrence-A2SJL5AH.js → co-occurrence-TJRQ5V7W.js} +1 -1
- package/dist/{crdt-sync-SGAW6DJQ.js → crdt-sync-RI7XPXTI.js} +1 -1
- package/dist/{crm-webhook-FBENY6FW.js → crm-webhook-AVG4F2NB.js} +2 -2
- package/dist/{cto-delegation-gate-A53RLTJZ.js → cto-delegation-gate-ZTNJLSPO.js} +7 -7
- package/dist/{daemon-orchestration-3U3XXFG7.js → daemon-orchestration-AKICH7C5.js} +10 -10
- package/dist/{exe-drift-3OUOHWAI.js → exe-drift-BPVS4MOJ.js} +2 -2
- package/dist/{exe-export-AFXTJ63F.js → exe-export-LL4CXNLT.js} +4 -4
- package/dist/{exe-import-QRZBTBBG.js → exe-import-JNKAAJ5T.js} +4 -4
- package/dist/{exe-key-BXN7WPOX.js → exe-key-C5UQ77AT.js} +1 -1
- package/dist/{fast-db-init-YVJD4JT2.js → fast-db-init-UNK4BEEO.js} +1 -1
- package/dist/gateway/index.js +6 -6
- package/dist/{git-staleness-DBFCOX65.js → git-staleness-WTJFIPHH.js} +1 -1
- package/dist/{git-task-sweep-O5CH3MKA.js → git-task-sweep-PT3RIE6W.js} +8 -8
- package/dist/{global-procedures-SL2TTCED.js → global-procedures-ZPN7KZH5.js} +2 -2
- package/dist/{graph-auto-extract-JGNJ3BB7.js → graph-auto-extract-4M4J42NA.js} +1 -1
- package/dist/hooks/bug-report-worker.js +9 -9
- package/dist/hooks/codex-stop-task-finalizer.js +9 -9
- package/dist/hooks/commit-complete.js +10 -10
- package/dist/hooks/error-recall.js +5 -5
- package/dist/hooks/exe-heartbeat-hook.js +2 -2
- package/dist/hooks/ingest.js +5 -5
- package/dist/hooks/instructions-loaded.js +3 -3
- package/dist/hooks/manifest.json +19 -19
- package/dist/hooks/notification.js +3 -3
- package/dist/hooks/post-compact.js +9 -9
- package/dist/hooks/post-tool-combined.js +4 -4
- package/dist/hooks/pre-compact.js +10 -10
- package/dist/hooks/pre-tool-use.js +13 -13
- package/dist/hooks/prompt-submit.js +29 -18
- package/dist/hooks/session-end.js +13 -13
- package/dist/hooks/session-start.js +30 -7
- package/dist/hooks/stop.js +13 -13
- package/dist/hooks/subagent-stop.js +9 -9
- package/dist/hooks/summary-worker.js +13 -13
- package/dist/index.js +15 -15
- package/dist/{installer-TAPAEWRV.js → installer-3DE2IDUZ.js} +4 -4
- package/dist/{installer-5FI6CX62.js → installer-IYELX3KG.js} +4 -4
- package/dist/{installer-HNOVAUW6.js → installer-SCWIMZT7.js} +4 -4
- package/dist/lib/cloud-sync.js +3 -3
- package/dist/lib/consolidation.js +4 -4
- package/dist/lib/database.js +1 -1
- package/dist/lib/db.js +1 -1
- package/dist/lib/employee-templates.js +3 -3
- package/dist/lib/employees.js +1 -1
- package/dist/lib/exe-daemon.js +102 -27
- package/dist/lib/hybrid-search.js +4 -4
- package/dist/lib/identity.js +1 -1
- package/dist/lib/messaging.js +8 -8
- package/dist/lib/reminders.js +2 -2
- package/dist/lib/schedules.js +4 -4
- package/dist/lib/session-registry.js +9 -1
- package/dist/lib/skill-learning.js +3 -3
- package/dist/lib/store.js +3 -3
- package/dist/lib/task-router.js +2 -2
- package/dist/lib/tasks.js +8 -8
- package/dist/lib/tmux-routing.js +7 -7
- package/dist/lib/token-spend.js +2 -2
- package/dist/mcp/register-tools.js +46 -46
- package/dist/mcp/server.js +47 -47
- package/dist/mcp/tools/complete-reminder.js +3 -3
- package/dist/mcp/tools/create-reminder.js +3 -3
- package/dist/mcp/tools/create-task.js +10 -10
- package/dist/mcp/tools/deactivate-behavior.js +4 -4
- package/dist/mcp/tools/list-reminders.js +3 -3
- package/dist/mcp/tools/list-tasks.js +10 -10
- package/dist/mcp/tools/send-message.js +10 -10
- package/dist/mcp/tools/update-task.js +9 -9
- package/dist/{mcp-http-config-6UAI2FAV.js → mcp-http-config-EWIT2DEN.js} +2 -2
- package/dist/{memory-cards-PVPUQ7MX.js → memory-cards-W4VTTFYM.js} +1 -1
- package/dist/{memory-graph-extractor-RP7ZXDTE.js → memory-graph-extractor-A3HRDXY6.js} +2 -2
- package/dist/{memory-poisoning-defense-DDBUHHGB.js → memory-poisoning-defense-MH6QBXVT.js} +1 -1
- package/dist/{memory-reflection-HLR26FXG.js → memory-reflection-RUCTWMQ5.js} +1 -1
- package/dist/{notifications-GHNYYITD.js → notifications-6GRSVIP6.js} +7 -7
- package/dist/{orchestration-events-2SVPXMK2.js → orchestration-events-MSJVUR4T.js} +6 -2
- package/dist/{orchestrator-3BDZ6OUC.js → orchestrator-QQKU4VM2.js} +9 -9
- package/dist/{plan-limits-QBNFIU45.js → plan-limits-NKUSDF3I.js} +2 -2
- package/dist/{projection-worker-B7HHFYEG.js → projection-worker-UEG6I5DV.js} +1 -1
- package/dist/{reranker-B3BOGR3A.js → reranker-JTDM3MV2.js} +1 -1
- package/dist/{review-polling-RUXU45AK.js → review-polling-MWBVXHG3.js} +8 -8
- package/dist/runtime/index.js +10 -10
- package/dist/{session-events-ICZPUGJN.js → session-events-FRB3UYJG.js} +8 -8
- package/dist/{session-kill-telemetry-OGFLFTYX.js → session-kill-telemetry-GPZUHBCT.js} +2 -2
- package/dist/{session-scope-UJI35BLD.js → session-scope-7BZTNB2X.js} +7 -7
- package/dist/{setup-wizard-M6ZZ2VNM.js → setup-wizard-2INM4CSL.js} +1 -1
- package/dist/{skill-refinement-WZL35CMY.js → skill-refinement-7C7X42Z5.js} +1 -1
- package/dist/{task-enforcement-AYHKGR45.js → task-enforcement-VB5P45ZM.js} +7 -7
- package/dist/{task-scope-EYAOY6YX.js → task-scope-ULC62J6G.js} +7 -7
- package/dist/{tasks-crud-K3UGPCPT.js → tasks-crud-IBSTM6ID.js} +9 -7
- package/dist/{tasks-review-J6LTVVO5.js → tasks-review-P4MCKBDT.js} +7 -7
- package/dist/telemetry-upload-Y3CPHI7M.js +214 -0
- package/dist/{token-budget-XU2QZEWX.js → token-budget-CO74EBTY.js} +1 -1
- package/dist/{tool-telemetry-OE57ERK7.js → tool-telemetry-5PX7A6TX.js} +3 -1
- package/dist/tui/App.js +15 -15
- package/dist/{tui-data-32OEC3DH.js → tui-data-YAT6A36V.js} +7 -7
- package/dist/{worker-gate-UIGQCEUE.js → worker-gate-27O2WEYU.js} +1 -1
- package/dist/{workflow-engine-IY7KO7DU.js → workflow-engine-4T36KCTQ.js} +2 -2
- package/dist/{worktree-VIXR2Z4J.js → worktree-QTCOX6RV.js} +7 -1
- package/package.json +1 -1
- package/release-notes.json +95 -95
- package/dist/chunk-64WZEXXA.js +0 -64
- package/dist/chunk-L63IOJ5N.js +0 -69
- package/dist/chunk-ZGQH3V2F.js +0 -254
- /package/dist/{chunk-3GFR2TX6.js → chunk-AF7A5IQ5.js} +0 -0
- /package/dist/{chunk-7SY5JOLR.js → chunk-ATKMIQXP.js} +0 -0
- /package/dist/{chunk-KCWIOR55.js → chunk-GONOOIFL.js} +0 -0
- /package/dist/{chunk-QQN7MHQG.js → chunk-ONCFSN5C.js} +0 -0
- /package/dist/{chunk-Q3MRTJLA.js → chunk-WVNWAV36.js} +0 -0
- /package/dist/{chunk-RH5NYRQH.js → chunk-XJQASQPO.js} +0 -0
- /package/dist/{chunk-LJA6RQ3L.js → chunk-YKCH4T4T.js} +0 -0
- /package/dist/{core-memory-VZ4YJVMA.js → core-memory-3QGHBERR.js} +0 -0
- /package/dist/{wiki-acl-NUUPHYWC.js → wiki-acl-WCBKBLGQ.js} +0 -0
|
@@ -1,7 +1,10 @@
|
|
|
1
|
+
import {
|
|
2
|
+
listRecentSessionEvents
|
|
3
|
+
} from "./chunk-THFFC43M.js";
|
|
1
4
|
import {
|
|
2
5
|
isRerankerAvailable,
|
|
3
6
|
rerankWithScores
|
|
4
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-AF7A5IQ5.js";
|
|
5
8
|
import {
|
|
6
9
|
getEntityByName,
|
|
7
10
|
getEntityNeighbors,
|
|
@@ -10,19 +13,16 @@ import {
|
|
|
10
13
|
getRelationships,
|
|
11
14
|
searchEntities
|
|
12
15
|
} from "./chunk-KH5Y6RR4.js";
|
|
13
|
-
import {
|
|
14
|
-
listRecentSessionEvents
|
|
15
|
-
} from "./chunk-ZQMOF6E7.js";
|
|
16
16
|
import {
|
|
17
17
|
isToolAllowed,
|
|
18
18
|
isToolAllowedForPlan
|
|
19
19
|
} from "./chunk-E6ORBQHP.js";
|
|
20
20
|
import {
|
|
21
21
|
getToolUsageStats
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-SEAFDIKF.js";
|
|
23
23
|
import {
|
|
24
24
|
AUTO_WAKE_MAX_RETRIES
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-22GPB6FO.js";
|
|
26
26
|
import {
|
|
27
27
|
getCachedLicenseGate
|
|
28
28
|
} from "./chunk-GCMXBQ7Y.js";
|
|
@@ -40,53 +40,53 @@ import {
|
|
|
40
40
|
} from "./chunk-GQYIMXUW.js";
|
|
41
41
|
import {
|
|
42
42
|
runDriftProbes
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-ZIBSTUGU.js";
|
|
44
44
|
import {
|
|
45
45
|
exportOrchestration,
|
|
46
46
|
importOrchestration,
|
|
47
47
|
validatePackage
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-PYLNOBNW.js";
|
|
49
49
|
import {
|
|
50
50
|
loadOrchestrationPhase,
|
|
51
51
|
setOrchestrationPhase
|
|
52
52
|
} from "./chunk-XHTOAJYD.js";
|
|
53
53
|
import {
|
|
54
54
|
createOrRefreshResumeTask
|
|
55
|
-
} from "./chunk-
|
|
55
|
+
} from "./chunk-5HTEMMOJ.js";
|
|
56
56
|
import {
|
|
57
57
|
registerCreateReminder
|
|
58
|
-
} from "./chunk-
|
|
58
|
+
} from "./chunk-4RJD3GXL.js";
|
|
59
59
|
import {
|
|
60
60
|
registerListReminders
|
|
61
|
-
} from "./chunk-
|
|
61
|
+
} from "./chunk-YCL4RHFY.js";
|
|
62
62
|
import {
|
|
63
63
|
registerCompleteReminder
|
|
64
|
-
} from "./chunk-
|
|
64
|
+
} from "./chunk-7HIWJLXK.js";
|
|
65
65
|
import {
|
|
66
66
|
registerDeactivateBehavior
|
|
67
|
-
} from "./chunk-
|
|
67
|
+
} from "./chunk-723DSUG3.js";
|
|
68
68
|
import {
|
|
69
69
|
completeReminder,
|
|
70
70
|
createReminder,
|
|
71
71
|
listReminders
|
|
72
|
-
} from "./chunk-
|
|
72
|
+
} from "./chunk-MKOW4EXB.js";
|
|
73
73
|
import {
|
|
74
74
|
registerSendMessage
|
|
75
|
-
} from "./chunk-
|
|
75
|
+
} from "./chunk-JUB74GFQ.js";
|
|
76
76
|
import {
|
|
77
77
|
registerCreateTask
|
|
78
|
-
} from "./chunk-
|
|
78
|
+
} from "./chunk-H7U7FPQF.js";
|
|
79
79
|
import {
|
|
80
80
|
registerListTasks
|
|
81
|
-
} from "./chunk-
|
|
81
|
+
} from "./chunk-7DTEJAIC.js";
|
|
82
82
|
import {
|
|
83
83
|
registerUpdateTask
|
|
84
|
-
} from "./chunk-
|
|
84
|
+
} from "./chunk-PHCK4KQW.js";
|
|
85
85
|
import {
|
|
86
86
|
TOKENS_PER_IDLE_MINUTE,
|
|
87
87
|
countKillsSince,
|
|
88
88
|
sumTokensSavedSince
|
|
89
|
-
} from "./chunk-
|
|
89
|
+
} from "./chunk-3S3ERUUH.js";
|
|
90
90
|
import {
|
|
91
91
|
conversationsToMemories,
|
|
92
92
|
detectFormat,
|
|
@@ -96,17 +96,17 @@ import {
|
|
|
96
96
|
} from "./chunk-Q2G5C3HV.js";
|
|
97
97
|
import {
|
|
98
98
|
extractMemoryGraph
|
|
99
|
-
} from "./chunk-
|
|
99
|
+
} from "./chunk-BGLXECHT.js";
|
|
100
100
|
import {
|
|
101
101
|
createSchedule,
|
|
102
102
|
parseHumanCron
|
|
103
|
-
} from "./chunk-
|
|
103
|
+
} from "./chunk-VH6WU3GK.js";
|
|
104
104
|
import {
|
|
105
105
|
status
|
|
106
|
-
} from "./chunk-
|
|
106
|
+
} from "./chunk-HMGIQNME.js";
|
|
107
107
|
import {
|
|
108
108
|
getAgentSpend
|
|
109
|
-
} from "./chunk-
|
|
109
|
+
} from "./chunk-434A3L6O.js";
|
|
110
110
|
import {
|
|
111
111
|
exportGraphHTML,
|
|
112
112
|
generateGraphReport
|
|
@@ -122,7 +122,7 @@ import {
|
|
|
122
122
|
fixShards,
|
|
123
123
|
formatReport,
|
|
124
124
|
runAudit
|
|
125
|
-
} from "./chunk-
|
|
125
|
+
} from "./chunk-YXHY5F34.js";
|
|
126
126
|
import {
|
|
127
127
|
runHealthCheck
|
|
128
128
|
} from "./chunk-RAV23DU2.js";
|
|
@@ -133,12 +133,12 @@ import {
|
|
|
133
133
|
} from "./chunk-WSZS2KVV.js";
|
|
134
134
|
import {
|
|
135
135
|
renderClientCOOTemplate
|
|
136
|
-
} from "./chunk-
|
|
136
|
+
} from "./chunk-COOX4FXM.js";
|
|
137
137
|
import {
|
|
138
138
|
deactivateGlobalProcedure,
|
|
139
139
|
loadGlobalProcedures,
|
|
140
140
|
storeGlobalProcedure
|
|
141
|
-
} from "./chunk-
|
|
141
|
+
} from "./chunk-4FNJPA5O.js";
|
|
142
142
|
import {
|
|
143
143
|
PLATFORM_PROCEDURES
|
|
144
144
|
} from "./chunk-2ZYEO7U7.js";
|
|
@@ -147,26 +147,26 @@ import {
|
|
|
147
147
|
cloudSync,
|
|
148
148
|
getCloudReuploadRequired,
|
|
149
149
|
markCloudReuploadRequired
|
|
150
|
-
} from "./chunk-
|
|
150
|
+
} from "./chunk-6JORPKMR.js";
|
|
151
151
|
import {
|
|
152
152
|
createARecord
|
|
153
153
|
} from "./chunk-X2Z5GT3V.js";
|
|
154
154
|
import {
|
|
155
155
|
findSimilarTrajectories,
|
|
156
156
|
hashSignature
|
|
157
|
-
} from "./chunk-
|
|
157
|
+
} from "./chunk-YGUWCJN2.js";
|
|
158
158
|
import {
|
|
159
159
|
deactivateBehavior,
|
|
160
160
|
listBehaviorsByDomain,
|
|
161
161
|
listSharedSkills,
|
|
162
162
|
storeBehavior
|
|
163
|
-
} from "./chunk-
|
|
163
|
+
} from "./chunk-ZXZJLVGD.js";
|
|
164
164
|
import {
|
|
165
165
|
countUnconsolidated,
|
|
166
166
|
groupMemories,
|
|
167
167
|
runConsolidation,
|
|
168
168
|
selectUnconsolidated
|
|
169
|
-
} from "./chunk-
|
|
169
|
+
} from "./chunk-EUMLEWXO.js";
|
|
170
170
|
import {
|
|
171
171
|
embed
|
|
172
172
|
} from "./chunk-OUHHUKPC.js";
|
|
@@ -177,17 +177,17 @@ import {
|
|
|
177
177
|
} from "./chunk-GD4VXNXO.js";
|
|
178
178
|
import {
|
|
179
179
|
updateTask
|
|
180
|
-
} from "./chunk-
|
|
180
|
+
} from "./chunk-O2JGR7EU.js";
|
|
181
181
|
import {
|
|
182
182
|
fastDbInit
|
|
183
|
-
} from "./chunk-
|
|
183
|
+
} from "./chunk-2THPPZF2.js";
|
|
184
184
|
import {
|
|
185
185
|
MAX_CONCURRENT_WORKERS
|
|
186
|
-
} from "./chunk-
|
|
186
|
+
} from "./chunk-ZDK3M72Z.js";
|
|
187
187
|
import {
|
|
188
188
|
hybridSearch,
|
|
189
189
|
recentRecords
|
|
190
|
-
} from "./chunk-
|
|
190
|
+
} from "./chunk-PXDR3UTB.js";
|
|
191
191
|
import {
|
|
192
192
|
attachDocumentMetadata,
|
|
193
193
|
flushBatch,
|
|
@@ -195,14 +195,14 @@ import {
|
|
|
195
195
|
reserveVersions,
|
|
196
196
|
vectorToBlob,
|
|
197
197
|
writeMemory
|
|
198
|
-
} from "./chunk-
|
|
198
|
+
} from "./chunk-TCBUBBTL.js";
|
|
199
199
|
import {
|
|
200
200
|
extractKeywords,
|
|
201
201
|
keywordsToString
|
|
202
202
|
} from "./chunk-CHCA3ZM2.js";
|
|
203
203
|
import {
|
|
204
204
|
getActiveAgent
|
|
205
|
-
} from "./chunk-
|
|
205
|
+
} from "./chunk-3N4ZEPZI.js";
|
|
206
206
|
import {
|
|
207
207
|
getMySession,
|
|
208
208
|
resolveExeSession,
|
|
@@ -210,10 +210,13 @@ import {
|
|
|
210
210
|
sessionScopeFilter,
|
|
211
211
|
updateTaskStatus,
|
|
212
212
|
writeCheckpoint
|
|
213
|
-
} from "./chunk-
|
|
213
|
+
} from "./chunk-FMKD6N33.js";
|
|
214
214
|
import {
|
|
215
215
|
listSessions
|
|
216
|
-
} from "./chunk-
|
|
216
|
+
} from "./chunk-IR4L6K5L.js";
|
|
217
|
+
import {
|
|
218
|
+
recordOrchestrationEventBestEffort
|
|
219
|
+
} from "./chunk-ITYWLFYC.js";
|
|
217
220
|
import {
|
|
218
221
|
DEFAULT_MODELS,
|
|
219
222
|
KNOWN_RUNTIMES,
|
|
@@ -230,7 +233,7 @@ import {
|
|
|
230
233
|
assertEmployeeLimit,
|
|
231
234
|
assertFeature,
|
|
232
235
|
assertMemoryLimit
|
|
233
|
-
} from "./chunk-
|
|
236
|
+
} from "./chunk-3PDZQICZ.js";
|
|
234
237
|
import {
|
|
235
238
|
getProjectName
|
|
236
239
|
} from "./chunk-OPU3NYOO.js";
|
|
@@ -243,7 +246,7 @@ import {
|
|
|
243
246
|
isScheduledTrigger,
|
|
244
247
|
loadTriggers,
|
|
245
248
|
sanitizeParam
|
|
246
|
-
} from "./chunk-
|
|
249
|
+
} from "./chunk-ONCFSN5C.js";
|
|
247
250
|
import {
|
|
248
251
|
pushConversationToCRM
|
|
249
252
|
} from "./chunk-ONKIWA3R.js";
|
|
@@ -263,7 +266,7 @@ import {
|
|
|
263
266
|
loadEmployeesSync,
|
|
264
267
|
saveEmployees,
|
|
265
268
|
updateIdentity
|
|
266
|
-
} from "./chunk-
|
|
269
|
+
} from "./chunk-3MHKTBHZ.js";
|
|
267
270
|
import {
|
|
268
271
|
getMasterKey
|
|
269
272
|
} from "./chunk-6D23UNXU.js";
|
|
@@ -1445,7 +1448,7 @@ async function handleSupersede(input) {
|
|
|
1445
1448
|
}
|
|
1446
1449
|
try {
|
|
1447
1450
|
const { getClient: getClient2 } = await import("./lib/database.js");
|
|
1448
|
-
const { getActiveAgent: getActiveAgent2 } = await import("./active-agent-
|
|
1451
|
+
const { getActiveAgent: getActiveAgent2 } = await import("./active-agent-4RUP4VYK.js");
|
|
1449
1452
|
const { writeMemory: writeMemory2, flushBatch: flushBatch2 } = await import("./lib/store.js");
|
|
1450
1453
|
const { randomUUID: randomUUID2 } = await import("crypto");
|
|
1451
1454
|
const client = getClient2();
|
|
@@ -1555,9 +1558,9 @@ function registerMemory(server) {
|
|
|
1555
1558
|
return handleSupersede(input);
|
|
1556
1559
|
}
|
|
1557
1560
|
if (action === "core_get" || action === "core_set" || action === "core_delete") {
|
|
1558
|
-
const { getActiveAgent: getActiveAgent2 } = await import("./active-agent-
|
|
1561
|
+
const { getActiveAgent: getActiveAgent2 } = await import("./active-agent-4RUP4VYK.js");
|
|
1559
1562
|
const { agentId } = getActiveAgent2();
|
|
1560
|
-
const { getCoreMemory, setCoreMemory, deleteCoreMemory, formatCoreMemoryBlock } = await import("./core-memory-
|
|
1563
|
+
const { getCoreMemory, setCoreMemory, deleteCoreMemory, formatCoreMemoryBlock } = await import("./core-memory-3QGHBERR.js");
|
|
1561
1564
|
if (action === "core_get") {
|
|
1562
1565
|
const entries = await getCoreMemory(agentId);
|
|
1563
1566
|
const block = formatCoreMemoryBlock(entries);
|
|
@@ -1796,6 +1799,22 @@ function registerGetTask(server) {
|
|
|
1796
1799
|
}
|
|
1797
1800
|
throw err;
|
|
1798
1801
|
}
|
|
1802
|
+
try {
|
|
1803
|
+
const caller = getActiveAgent();
|
|
1804
|
+
const reviewer = row.reviewer ? String(row.reviewer) : null;
|
|
1805
|
+
if (String(row.status) === "needs_review" && reviewer && (caller.agentId === reviewer || isCoordinatorName(caller.agentId))) {
|
|
1806
|
+
recordOrchestrationEventBestEffort({
|
|
1807
|
+
eventType: "review.started",
|
|
1808
|
+
source: "get-task.mcp",
|
|
1809
|
+
taskId: String(row.id),
|
|
1810
|
+
agentId: String(row.assigned_to),
|
|
1811
|
+
reviewer: caller.agentId,
|
|
1812
|
+
sessionScope: row.session_scope ? String(row.session_scope) : null,
|
|
1813
|
+
projectName: row.project_name ? String(row.project_name) : null
|
|
1814
|
+
});
|
|
1815
|
+
}
|
|
1816
|
+
} catch {
|
|
1817
|
+
}
|
|
1799
1818
|
const contextText = row.context ? String(row.context) : "";
|
|
1800
1819
|
const hasEmbeddedMandatoryReminder = contextText.includes('update_task with status "done"') || contextText.includes("update_task(done)");
|
|
1801
1820
|
const lines = [
|
|
@@ -2266,7 +2285,7 @@ function registerResumeEmployee(server) {
|
|
|
2266
2285
|
};
|
|
2267
2286
|
}
|
|
2268
2287
|
try {
|
|
2269
|
-
const { isTmuxSessionAlive } = await import("./tasks-crud-
|
|
2288
|
+
const { isTmuxSessionAlive } = await import("./tasks-crud-IBSTM6ID.js");
|
|
2270
2289
|
const now = (/* @__PURE__ */ new Date()).toISOString();
|
|
2271
2290
|
for (const row of openTasks.rows) {
|
|
2272
2291
|
const status2 = String(row.status);
|
|
@@ -3315,8 +3334,8 @@ function registerIngestDocument(server) {
|
|
|
3315
3334
|
},
|
|
3316
3335
|
async (input) => {
|
|
3317
3336
|
try {
|
|
3318
|
-
const { assertFeature: assertFeature2 } = await import("./plan-limits-
|
|
3319
|
-
const { assertMemoryLimit: assertMemoryLimit2 } = await import("./plan-limits-
|
|
3337
|
+
const { assertFeature: assertFeature2 } = await import("./plan-limits-NKUSDF3I.js");
|
|
3338
|
+
const { assertMemoryLimit: assertMemoryLimit2 } = await import("./plan-limits-NKUSDF3I.js");
|
|
3320
3339
|
await assertFeature2("wiki");
|
|
3321
3340
|
await assertMemoryLimit2();
|
|
3322
3341
|
const result3 = await ingestDocument(input);
|
|
@@ -5433,7 +5452,7 @@ async function getAgentSessionLoad() {
|
|
|
5433
5452
|
return { sessions: [], totalLive: 0, busySessions: 0, idleSessions: 0 };
|
|
5434
5453
|
}
|
|
5435
5454
|
const { getClient: getClient2 } = await import("./lib/database.js");
|
|
5436
|
-
const { sessionScopeFilter: sessionScopeFilter2 } = await import("./task-scope-
|
|
5455
|
+
const { sessionScopeFilter: sessionScopeFilter2 } = await import("./task-scope-ULC62J6G.js");
|
|
5437
5456
|
const client = getClient2();
|
|
5438
5457
|
const scope = sessionScopeFilter2();
|
|
5439
5458
|
for (const s of liveAgentSessions) {
|
|
@@ -7083,7 +7102,7 @@ function registerCreateTrigger(server) {
|
|
|
7083
7102
|
}
|
|
7084
7103
|
},
|
|
7085
7104
|
async ({ name, event, conditions, actions, project, enabled, schedule, query }) => {
|
|
7086
|
-
const { assertFeature: assertFeature2 } = await import("./plan-limits-
|
|
7105
|
+
const { assertFeature: assertFeature2 } = await import("./plan-limits-NKUSDF3I.js");
|
|
7087
7106
|
const gatedActions = {
|
|
7088
7107
|
send_whatsapp: "external_agents",
|
|
7089
7108
|
update_wiki: "wiki"
|
|
@@ -7987,7 +8006,7 @@ function registerConfig(server) {
|
|
|
7987
8006
|
const existing = loadEmployeesSync2();
|
|
7988
8007
|
if (existing.some((e) => e.name === employeeName)) return errorResult8(`Employee "${employeeName}" already exists.`);
|
|
7989
8008
|
try {
|
|
7990
|
-
const { assertEmployeeLimit: assertEmployeeLimit2 } = await import("./plan-limits-
|
|
8009
|
+
const { assertEmployeeLimit: assertEmployeeLimit2 } = await import("./plan-limits-NKUSDF3I.js");
|
|
7991
8010
|
await assertEmployeeLimit2();
|
|
7992
8011
|
} catch (e) {
|
|
7993
8012
|
return errorResult8(e instanceof Error ? e.message : "Employee limit reached.");
|
|
@@ -8028,7 +8047,7 @@ You are ${employeeName}. Role: ${role}.`, "utf-8");
|
|
|
8028
8047
|
}
|
|
8029
8048
|
try {
|
|
8030
8049
|
const { generateSessionWrappers } = await import("./lib/session-wrappers.js");
|
|
8031
|
-
const { resolvePackageRoot } = await import("./installer-
|
|
8050
|
+
const { resolvePackageRoot } = await import("./installer-SCWIMZT7.js");
|
|
8032
8051
|
generateSessionWrappers(resolvePackageRoot());
|
|
8033
8052
|
} catch {
|
|
8034
8053
|
}
|
|
@@ -8064,7 +8083,7 @@ function registerListWikiPages(server) {
|
|
|
8064
8083
|
}
|
|
8065
8084
|
},
|
|
8066
8085
|
async ({ workspace, folder }) => {
|
|
8067
|
-
const { assertFeature: assertFeature2 } = await import("./plan-limits-
|
|
8086
|
+
const { assertFeature: assertFeature2 } = await import("./plan-limits-NKUSDF3I.js");
|
|
8068
8087
|
await assertFeature2("wiki");
|
|
8069
8088
|
const apiUrl = process.env.EXE_WIKI_API_URL;
|
|
8070
8089
|
const apiKey = process.env.EXE_WIKI_API_KEY;
|
|
@@ -8164,7 +8183,7 @@ function registerGetWikiPage(server) {
|
|
|
8164
8183
|
}
|
|
8165
8184
|
},
|
|
8166
8185
|
async ({ workspace, document_id, title }) => {
|
|
8167
|
-
const { assertFeature: assertFeature2 } = await import("./plan-limits-
|
|
8186
|
+
const { assertFeature: assertFeature2 } = await import("./plan-limits-NKUSDF3I.js");
|
|
8168
8187
|
await assertFeature2("wiki");
|
|
8169
8188
|
const apiUrl = process.env.EXE_WIKI_API_URL;
|
|
8170
8189
|
const apiKey = process.env.EXE_WIKI_API_KEY;
|
|
@@ -8359,7 +8378,7 @@ function registerWiki(server) {
|
|
|
8359
8378
|
if (!legacyToolName) return errorResult9(`Unknown wiki action: ${String(input.action)}`);
|
|
8360
8379
|
const { action: _action, user_id, ...legacyArgs } = input;
|
|
8361
8380
|
if (user_id && legacyArgs.workspace) {
|
|
8362
|
-
const { checkWikiAccess } = await import("./wiki-acl-
|
|
8381
|
+
const { checkWikiAccess } = await import("./wiki-acl-WCBKBLGQ.js");
|
|
8363
8382
|
const { allowed } = await checkWikiAccess(
|
|
8364
8383
|
String(user_id),
|
|
8365
8384
|
String(legacyArgs.workspace),
|
|
@@ -9529,7 +9548,7 @@ function registerWorkflowTool(server) {
|
|
|
9529
9548
|
getWorkflowInstance,
|
|
9530
9549
|
listWorkflowInstances,
|
|
9531
9550
|
approveWorkflowStep
|
|
9532
|
-
} = await import("./workflow-engine-
|
|
9551
|
+
} = await import("./workflow-engine-4T36KCTQ.js");
|
|
9533
9552
|
try {
|
|
9534
9553
|
switch (input.action) {
|
|
9535
9554
|
case "create_workflow": {
|
|
@@ -9873,7 +9892,7 @@ function registerCreateBugReport(server) {
|
|
|
9873
9892
|
"create_bug_report",
|
|
9874
9893
|
{
|
|
9875
9894
|
title: "Create Bug Report",
|
|
9876
|
-
description: "Classify and file an exe-os issue as upstream_bug, customer_customization, emergency_hotfix, or unclear. Writes a local report, stores memory, and optionally sends to AskExe support when a support endpoint is configured.",
|
|
9895
|
+
description: "Classify and file an exe-os issue as upstream_bug, customer_customization, emergency_hotfix, or unclear. Writes a local report, stores memory, and optionally sends to AskExe support when a support endpoint is configured. IMPORTANT: Before filing, use diagnostics(action='healthcheck') and review orchestration metrics (exe-os-orchestration-metrics --since 1h) to include evidence in your report. Metrics are auto-attached to every bug report.",
|
|
9877
9896
|
inputSchema: {
|
|
9878
9897
|
title: z84.string().min(3).describe("Short descriptive title"),
|
|
9879
9898
|
classification: CLASSIFICATION.describe(
|
|
@@ -9924,6 +9943,22 @@ function registerCreateBugReport(server) {
|
|
|
9924
9943
|
const id = crypto5.randomUUID();
|
|
9925
9944
|
const resolvedProduct = product ?? "exe-os";
|
|
9926
9945
|
const version = package_version ?? "unknown";
|
|
9946
|
+
let metricsSnapshot = "";
|
|
9947
|
+
try {
|
|
9948
|
+
const { getOrchestrationMetrics, formatOrchestrationMetrics } = await import("./orchestration-events-MSJVUR4T.js");
|
|
9949
|
+
const sinceIso = new Date(Date.now() - 60 * 60 * 1e3).toISOString();
|
|
9950
|
+
const metrics = await getOrchestrationMetrics({ sinceIso });
|
|
9951
|
+
if (metrics.totalEvents > 0) {
|
|
9952
|
+
metricsSnapshot = `
|
|
9953
|
+
|
|
9954
|
+
## Orchestration State (last 1h)
|
|
9955
|
+
|
|
9956
|
+
\`\`\`
|
|
9957
|
+
${formatOrchestrationMetrics(metrics)}
|
|
9958
|
+
\`\`\``;
|
|
9959
|
+
}
|
|
9960
|
+
} catch {
|
|
9961
|
+
}
|
|
9927
9962
|
const markdown = buildMarkdown({
|
|
9928
9963
|
id,
|
|
9929
9964
|
title,
|
|
@@ -9943,13 +9978,14 @@ function registerCreateBugReport(server) {
|
|
|
9943
9978
|
filesChanged: files_changed,
|
|
9944
9979
|
projectName: project_name
|
|
9945
9980
|
});
|
|
9981
|
+
const fullMarkdown = markdown + metricsSnapshot;
|
|
9946
9982
|
const outDir = path15.join(EXE_AI_DIR, "bug-reports");
|
|
9947
9983
|
await mkdir2(outDir, { recursive: true });
|
|
9948
9984
|
const reportPath = path15.join(outDir, `${(/* @__PURE__ */ new Date()).toISOString().slice(0, 10)}-${slugify(title)}-${id.slice(0, 8)}.md`);
|
|
9949
|
-
await writeFile2(reportPath,
|
|
9985
|
+
await writeFile2(reportPath, fullMarkdown, "utf-8");
|
|
9950
9986
|
let vector = null;
|
|
9951
9987
|
try {
|
|
9952
|
-
vector = await embed(
|
|
9988
|
+
vector = await embed(fullMarkdown);
|
|
9953
9989
|
} catch {
|
|
9954
9990
|
vector = null;
|
|
9955
9991
|
}
|
|
@@ -9962,7 +9998,7 @@ function registerCreateBugReport(server) {
|
|
|
9962
9998
|
tool_name: "create_bug_report",
|
|
9963
9999
|
project_name: project_name ?? "support",
|
|
9964
10000
|
has_error: classification === "upstream_bug" || classification === "emergency_hotfix",
|
|
9965
|
-
raw_text:
|
|
10001
|
+
raw_text: fullMarkdown,
|
|
9966
10002
|
vector,
|
|
9967
10003
|
source_path: reportPath,
|
|
9968
10004
|
source_type: "bug_report",
|
|
@@ -9993,7 +10029,7 @@ function registerCreateBugReport(server) {
|
|
|
9993
10029
|
agent_id: agentId,
|
|
9994
10030
|
agent_role: agentRole,
|
|
9995
10031
|
report_path: reportPath,
|
|
9996
|
-
markdown
|
|
10032
|
+
markdown: fullMarkdown
|
|
9997
10033
|
}) : "skipped";
|
|
9998
10034
|
return {
|
|
9999
10035
|
content: [
|
|
@@ -10707,7 +10743,7 @@ function registerCodeContext(server) {
|
|
|
10707
10743
|
const index = buildCodeContextIndex(opts);
|
|
10708
10744
|
let graphExtract;
|
|
10709
10745
|
try {
|
|
10710
|
-
const { autoExtractGraphEntities } = await import("./graph-auto-extract-
|
|
10746
|
+
const { autoExtractGraphEntities } = await import("./graph-auto-extract-4M4J42NA.js");
|
|
10711
10747
|
graphExtract = await autoExtractGraphEntities(opts.projectRoot);
|
|
10712
10748
|
} catch {
|
|
10713
10749
|
}
|
|
@@ -11524,7 +11560,8 @@ var ACTION_TO_TOOL5 = {
|
|
|
11524
11560
|
get_feature: "get_feature_request",
|
|
11525
11561
|
triage_feature: "triage_feature_request",
|
|
11526
11562
|
health: "support_health",
|
|
11527
|
-
test: "support_test"
|
|
11563
|
+
test: "support_test",
|
|
11564
|
+
send_telemetry: "__send_telemetry__"
|
|
11528
11565
|
};
|
|
11529
11566
|
function registerSupportConsolidated(server) {
|
|
11530
11567
|
const handlers = buildHandlers8();
|
|
@@ -11532,7 +11569,7 @@ function registerSupportConsolidated(server) {
|
|
|
11532
11569
|
"support",
|
|
11533
11570
|
{
|
|
11534
11571
|
title: "Support",
|
|
11535
|
-
description: "Bug reports, feature requests, and support system. Actions: create_bug, create_feature, update_bug, update_feature, list_my_bugs, list_my_features, list_bugs, get_bug, triage_bug, list_features, get_feature, triage_feature, health, test. Use 'product' param to file bugs for any AskExe product (exe-os, exe-create, exe-wiki, etc.).",
|
|
11572
|
+
description: "Bug reports, feature requests, and support system. Actions: create_bug, create_feature, update_bug, update_feature, list_my_bugs, list_my_features, list_bugs, get_bug, triage_bug, list_features, get_feature, triage_feature, health, test, send_telemetry. Use 'product' param to file bugs for any AskExe product (exe-os, exe-create, exe-wiki, etc.).",
|
|
11536
11573
|
inputSchema: {
|
|
11537
11574
|
action: z95.enum([
|
|
11538
11575
|
"create_bug",
|
|
@@ -11548,7 +11585,8 @@ function registerSupportConsolidated(server) {
|
|
|
11548
11585
|
"get_feature",
|
|
11549
11586
|
"triage_feature",
|
|
11550
11587
|
"health",
|
|
11551
|
-
"test"
|
|
11588
|
+
"test",
|
|
11589
|
+
"send_telemetry"
|
|
11552
11590
|
]).describe("Support operation"),
|
|
11553
11591
|
title: z95.string().optional().describe("Bug/feature title"),
|
|
11554
11592
|
description: z95.string().optional().describe("Bug/feature description"),
|
|
@@ -11570,11 +11608,32 @@ function registerSupportConsolidated(server) {
|
|
|
11570
11608
|
linked_commit: z95.string().optional().describe("Linked commit hash for triage"),
|
|
11571
11609
|
fixed_version: z95.string().optional().describe("Version that fixes this bug"),
|
|
11572
11610
|
shipped_version: z95.string().optional().describe("Version that ships this feature (features only)"),
|
|
11573
|
-
limit: z95.coerce.number().optional().describe("Max results")
|
|
11611
|
+
limit: z95.coerce.number().optional().describe("Max results"),
|
|
11612
|
+
since_hours: z95.coerce.number().optional().describe("Telemetry window in hours for send_telemetry")
|
|
11574
11613
|
}
|
|
11575
11614
|
},
|
|
11576
11615
|
async (input, extra) => {
|
|
11577
11616
|
const action = input.action;
|
|
11617
|
+
if (action === "send_telemetry") {
|
|
11618
|
+
try {
|
|
11619
|
+
const { sendTelemetry, isTelemetryEnabled } = await import("./telemetry-upload-Y3CPHI7M.js");
|
|
11620
|
+
if (!isTelemetryEnabled()) {
|
|
11621
|
+
return { content: [{ type: "text", text: "Telemetry disabled (EXE_TELEMETRY=0)." }] };
|
|
11622
|
+
}
|
|
11623
|
+
const sinceHours = typeof input.since_hours === "number" ? input.since_hours : typeof input.limit === "number" ? input.limit : 24;
|
|
11624
|
+
const { payload, upstream } = await sendTelemetry(sinceHours);
|
|
11625
|
+
const summary = [
|
|
11626
|
+
`Telemetry sent for last ${sinceHours}h.`,
|
|
11627
|
+
`Events: ${payload.metrics.totalEvents}`,
|
|
11628
|
+
`Version: ${payload.version}`,
|
|
11629
|
+
`Platform: ${payload.platform}/${payload.arch} (${payload.totalMemGB}GB RAM, ${payload.cpuCount} CPUs)`,
|
|
11630
|
+
`Upstream: ${upstream}`
|
|
11631
|
+
].join("\n");
|
|
11632
|
+
return { content: [{ type: "text", text: summary }] };
|
|
11633
|
+
} catch (err) {
|
|
11634
|
+
return { content: [{ type: "text", text: `Telemetry failed: ${err instanceof Error ? err.message : String(err)}` }], isError: true };
|
|
11635
|
+
}
|
|
11636
|
+
}
|
|
11578
11637
|
const toolName = ACTION_TO_TOOL5[action];
|
|
11579
11638
|
if (!toolName) return { content: [{ type: "text", text: `Unknown support action: ${action}` }], isError: true };
|
|
11580
11639
|
const handler = handlers.get(toolName);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
MultiAgentOrchestrator
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-W4BFBCZA.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-LCPNHP5Q.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-ULC62J6G.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-ULC62J6G.js");
|
|
423
423
|
const client = getClient();
|
|
424
424
|
const cpScope = cpScopeFilter();
|
|
425
425
|
const tasks = await client.execute({
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
deactivateBehavior
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-ZXZJLVGD.js";
|
|
4
4
|
import {
|
|
5
5
|
getActiveAgent
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-3N4ZEPZI.js";
|
|
7
7
|
import {
|
|
8
8
|
canCoordinate,
|
|
9
9
|
getClient
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-3MHKTBHZ.js";
|
|
11
11
|
|
|
12
12
|
// src/mcp/tools/deactivate-behavior.ts
|
|
13
13
|
import { z } from "zod";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getClient
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-3MHKTBHZ.js";
|
|
4
4
|
|
|
5
5
|
// src/lib/memory-graph-extractor.ts
|
|
6
6
|
function entityId(type, name) {
|
|
@@ -179,7 +179,7 @@ async function upsertMemoryGraph(result, memoryId) {
|
|
|
179
179
|
});
|
|
180
180
|
}
|
|
181
181
|
try {
|
|
182
|
-
const { createCoOccurrenceEdges } = await import("./co-occurrence-
|
|
182
|
+
const { createCoOccurrenceEdges } = await import("./co-occurrence-TJRQ5V7W.js");
|
|
183
183
|
await createCoOccurrenceEdges(result.entities, memoryId);
|
|
184
184
|
} catch {
|
|
185
185
|
}
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-GNHN5HRQ.js";
|
|
4
4
|
import {
|
|
5
5
|
buildClaudeHttpMcpEntry
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-S4AXKNPT.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-RN6DEMC7.js";
|
|
15
15
|
import {
|
|
16
16
|
MCP_LEGACY_KEY,
|
|
17
17
|
MCP_PRIMARY_KEY
|