@askexenow/exe-os 0.9.219 → 0.9.221
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-65SRKUVF.js → active-agent-JYQI3DAH.js} +2 -2
- package/dist/{active-agent-YLIAU6SX.js → active-agent-YNZ7YA74.js} +2 -2
- package/dist/{agentic-ontology-VZWBROYO.js → agentic-ontology-6JMLSYYU.js} +1 -1
- package/dist/{backfill-metadata-YUN6DXIE.js → backfill-metadata-AGHTEOOS.js} +3 -3
- package/dist/{behaviors-4PGM7IJJ.js → behaviors-TT72JVF4.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 +13 -13
- 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 +15 -15
- 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/mcp-sessions.js +2 -2
- package/dist/bin/orchestration-metrics.js +3 -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-A6TMCY5F.js → capacity-monitor-BOAVNFBX.js} +9 -9
- package/dist/{catchup-brief-TU4C22MJ.js → catchup-brief-H6GBODF6.js} +10 -10
- package/dist/{chunk-PBI526CO.js → chunk-2H2XQJ62.js} +2 -2
- package/dist/{chunk-55VWU47L.js → chunk-3GUGE4K2.js} +2 -2
- package/dist/{chunk-5ZTZ3SHF.js → chunk-3YVPPYKT.js} +75 -70
- package/dist/{chunk-D7DRYXDE.js → chunk-44PHDWBT.js} +14 -9
- package/dist/{chunk-AAMUHY6Y.js → chunk-4DCP2XYD.js} +3 -3
- package/dist/{chunk-7WEP4DNC.js → chunk-5Y5I65H6.js} +2 -2
- package/dist/{chunk-7DYKIMN2.js → chunk-7FEIB32Y.js} +1 -1
- package/dist/{chunk-S5KQLCYU.js → chunk-7TKOVU64.js} +1 -1
- package/dist/{chunk-PXO6SF6L.js → chunk-A74RTD5M.js} +1 -1
- package/dist/{chunk-3XGZAFHE.js → chunk-A77WVNU2.js} +5 -0
- package/dist/{chunk-DF67VZ2H.js → chunk-BPV3F7M6.js} +1 -1
- package/dist/{chunk-R6JBGFSE.js → chunk-BRGUJ76G.js} +1 -1
- package/dist/{chunk-QG6IPAT6.js → chunk-BXQCL72Y.js} +1 -1
- package/dist/{chunk-2OERQW4L.js → chunk-DANQ4YE4.js} +2 -2
- package/dist/{chunk-SURCM7EO.js → chunk-DBZI5HYX.js} +3 -3
- package/dist/{chunk-BXLA6CQM.js → chunk-EFDIUJWC.js} +1 -1
- package/dist/{chunk-V2BQL663.js → chunk-EM7QXDC2.js} +8 -8
- package/dist/{chunk-JUWC7V2I.js → chunk-F65CKSBB.js} +3 -3
- package/dist/{chunk-YTPLK6QP.js → chunk-FSIPRNGL.js} +1 -1
- package/dist/{chunk-FJQPH2W3.js → chunk-G3RJSRAS.js} +2 -2
- package/dist/{chunk-Q4GGIM3A.js → chunk-GKEEC3P7.js} +1 -1
- package/dist/{chunk-7EUYGWPH.js → chunk-GM2SXBIN.js} +8 -8
- package/dist/{chunk-EUS7TKVR.js → chunk-GUY5C7LF.js} +1 -1
- package/dist/{chunk-V24ZGSQW.js → chunk-IC6NXF2N.js} +1 -1
- package/dist/{chunk-EB3AAVAK.js → chunk-ILAG5VBR.js} +5 -5
- package/dist/{chunk-WYPNZALJ.js → chunk-J3GQXXQR.js} +1 -1
- package/dist/{chunk-ILTZBCLW.js → chunk-LVAFZMP3.js} +2 -2
- package/dist/{chunk-DAE4I3UN.js → chunk-LZL5MGMH.js} +1 -1
- package/dist/{chunk-YTBT3SW2.js → chunk-MPWYUOB7.js} +1 -1
- package/dist/{chunk-4UHKYQZJ.js → chunk-MSSB6VBT.js} +1 -1
- package/dist/{chunk-SRJLG6RC.js → chunk-NERANZPH.js} +1 -1
- package/dist/{chunk-BMRLKOGT.js → chunk-NIXZDSJF.js} +1 -1
- package/dist/{chunk-IEAXNG3H.js → chunk-NJR54FIF.js} +8 -8
- package/dist/{chunk-QPU5QQLX.js → chunk-NLEWVXX4.js} +2 -2
- package/dist/{chunk-AMGEPNUB.js → chunk-OFPDYF24.js} +1 -1
- package/dist/{chunk-222EGJ6Z.js → chunk-OQUWRF5K.js} +1 -1
- package/dist/{chunk-BCREJ6FD.js → chunk-OV2DYWB6.js} +1 -1
- package/dist/{chunk-GYIPOKH6.js → chunk-P5IPATUA.js} +94 -29
- package/dist/{chunk-JEBWC4VU.js → chunk-QIWMGZOK.js} +2 -2
- package/dist/{chunk-V224L2GJ.js → chunk-QJ2MGXFX.js} +3 -3
- package/dist/{chunk-JHEABI3I.js → chunk-RA3NCLXH.js} +2 -2
- package/dist/{chunk-GT5E5PW6.js → chunk-RUM6GJKH.js} +1 -1
- package/dist/{chunk-2F7URV5H.js → chunk-SQBRX5GZ.js} +4 -4
- package/dist/{chunk-I3MJHU76.js → chunk-SVBCHRGC.js} +3 -3
- package/dist/{chunk-RQJDO6LP.js → chunk-UCHIXGLP.js} +1 -1
- package/dist/{chunk-E6KXZF4B.js → chunk-UTQTHZ4H.js} +2 -2
- package/dist/{chunk-56NWZFB2.js → chunk-X3ZMMUTS.js} +1 -1
- package/dist/{chunk-GJFS27NL.js → chunk-X4L6SQU5.js} +5 -5
- package/dist/{chunk-7F5MJSWJ.js → chunk-X6UJ4CLH.js} +3 -3
- package/dist/{chunk-A24RUKU6.js → chunk-XFLVRS2F.js} +1 -1
- package/dist/{chunk-443YQ2FS.js → chunk-XISG35R2.js} +2 -2
- package/dist/{chunk-OM3CETSN.js → chunk-YKTV34T6.js} +3 -3
- package/dist/{chunk-DZE2MBOW.js → chunk-YUHKC2X2.js} +23 -15
- package/dist/{co-occurrence-FBP2GTER.js → co-occurrence-VWWDUBWI.js} +1 -1
- package/dist/{crdt-sync-KFPZWAIE.js → crdt-sync-RCMMFHSQ.js} +1 -1
- package/dist/{crm-webhook-56OJDKXK.js → crm-webhook-YQULRX7T.js} +2 -2
- package/dist/{cto-delegation-gate-5WNDH4IL.js → cto-delegation-gate-YQ443YVD.js} +7 -7
- package/dist/{daemon-orchestration-KYK662AN.js → daemon-orchestration-KCIQTAGO.js} +10 -10
- package/dist/{exe-drift-C254MZW4.js → exe-drift-TFXY2LTU.js} +2 -2
- package/dist/{exe-export-S56FIA5P.js → exe-export-Q357HALA.js} +4 -4
- package/dist/{exe-import-7F7Y4I6T.js → exe-import-2BPJMJ6Z.js} +4 -4
- package/dist/{exe-key-U7TAND3I.js → exe-key-DVU3FQ3N.js} +1 -1
- package/dist/{fast-db-init-6DG7B7NO.js → fast-db-init-WF6BDZ46.js} +1 -1
- package/dist/gateway/index.js +6 -6
- package/dist/{git-staleness-FDYT34WP.js → git-staleness-WTLCKKNF.js} +1 -1
- package/dist/{git-task-sweep-EERTURH7.js → git-task-sweep-FUOVATSV.js} +8 -8
- package/dist/{global-procedures-74U75Y2I.js → global-procedures-S6ZVVLBM.js} +2 -2
- package/dist/{graph-auto-extract-VUBFSL6D.js → graph-auto-extract-ZJ7LNTSH.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 +35 -28
- package/dist/hooks/prompt-submit.js +19 -19
- package/dist/hooks/session-end.js +13 -13
- package/dist/hooks/session-start.js +10 -10
- 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/{import-conversations-FO4IQCOP.js → import-conversations-O3BGXQQH.js} +6 -6
- package/dist/index.js +15 -15
- package/dist/{installer-XIP332UC.js → installer-42KVGDGD.js} +4 -4
- package/dist/{installer-XZ4H2J3J.js → installer-KZVGXCRL.js} +4 -4
- package/dist/{installer-MWLYK37L.js → installer-VH4GYJQO.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 +41 -37
- 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 +3 -3
- 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 +47 -47
- package/dist/mcp/server.js +48 -48
- 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-GYVAS5HQ.js → mcp-http-config-QFVZZ4P6.js} +2 -2
- package/dist/{memory-cards-HU5WIUTY.js → memory-cards-7TZMVN4S.js} +1 -1
- package/dist/{memory-graph-extractor-PNRAGL4V.js → memory-graph-extractor-ZENXY3L6.js} +2 -2
- package/dist/{memory-poisoning-defense-KBBWI6ZL.js → memory-poisoning-defense-T6AN332J.js} +1 -1
- package/dist/{memory-reflection-UP56KTJ5.js → memory-reflection-5AYMWWGN.js} +1 -1
- package/dist/{notifications-VWAMI4ZE.js → notifications-WDAAZ6FP.js} +7 -7
- package/dist/{orchestration-events-7XAYQ2MT.js → orchestration-events-IDQXVP34.js} +2 -2
- package/dist/{orchestrator-D7NWJTJO.js → orchestrator-CZYRJJDL.js} +9 -9
- package/dist/{plan-limits-EA3VBZJ2.js → plan-limits-WAZUVFZQ.js} +2 -2
- package/dist/{projection-worker-HNI2TOO3.js → projection-worker-4DV5SIDZ.js} +1 -1
- package/dist/{reranker-M52JJADT.js → reranker-EZRCPPL4.js} +1 -1
- package/dist/{review-polling-YT3BEKPV.js → review-polling-W32O7SNH.js} +8 -8
- package/dist/runtime/index.js +10 -10
- package/dist/{session-events-7EN6W4EX.js → session-events-AKRECMTQ.js} +8 -8
- package/dist/{session-kill-telemetry-XIFWDG3L.js → session-kill-telemetry-SXLEJ2PW.js} +2 -2
- package/dist/{session-scope-7F3JL2RJ.js → session-scope-QCZEPEZ7.js} +7 -7
- package/dist/{setup-wizard-OT5R6PJ6.js → setup-wizard-HOFPOKHS.js} +1 -1
- package/dist/{skill-refinement-N5RINY42.js → skill-refinement-OIPE7QNX.js} +1 -1
- package/dist/{task-enforcement-DCBYO3R6.js → task-enforcement-PYP4NBI2.js} +7 -7
- package/dist/{task-scope-NM2C2QZX.js → task-scope-IAIAQNYB.js} +7 -7
- package/dist/{tasks-crud-AVVOQKZY.js → tasks-crud-M7YVS5F3.js} +7 -7
- package/dist/{tasks-review-QNBO3D7U.js → tasks-review-HNNUT3QB.js} +7 -7
- package/dist/{telemetry-upload-ZJ4UP2RP.js → telemetry-upload-5OOAFOOI.js} +3 -3
- package/dist/{token-budget-SPQB44ZI.js → token-budget-D5LTVJNN.js} +1 -1
- package/dist/{tool-telemetry-EIRCR2VO.js → tool-telemetry-A47IJB4I.js} +1 -1
- package/dist/tui/App.js +15 -15
- package/dist/{tui-data-5B6YA4VV.js → tui-data-UCFTP4HZ.js} +7 -7
- package/dist/{worker-gate-WQV3FR4R.js → worker-gate-WES7AMDA.js} +1 -1
- package/dist/{workflow-engine-TZKS5QB7.js → workflow-engine-ZHWSK4BG.js} +2 -2
- package/dist/{worktree-KI3X6POI.js → worktree-EO73ZMHX.js} +3 -3
- package/package.json +1 -1
- package/release-notes.json +103 -103
- /package/dist/{chunk-ZPQ2RUIU.js → chunk-6MMKWEGK.js} +0 -0
- /package/dist/{chunk-QSWZI7NH.js → chunk-ED4MQPBW.js} +0 -0
- /package/dist/{chunk-V3CEFPKS.js → chunk-HR4WG32E.js} +0 -0
- /package/dist/{chunk-Q3YGPFZH.js → chunk-I7K6NY34.js} +0 -0
- /package/dist/{chunk-PN7MTAYN.js → chunk-MLCYKSTC.js} +0 -0
- /package/dist/{chunk-HUVQ2NUX.js → chunk-OMJW5FZ5.js} +0 -0
- /package/dist/{chunk-3OZ7LXUY.js → chunk-QBPEJKJ2.js} +0 -0
- /package/dist/{chunk-V3NHFF3Z.js → chunk-T6UW3VZN.js} +0 -0
- /package/dist/{chunk-4B7JKVUT.js → chunk-UHMLXFZC.js} +0 -0
- /package/dist/{core-memory-3XHQZ5EI.js → core-memory-XQKOWOID.js} +0 -0
- /package/dist/{wiki-acl-QSO37KYW.js → wiki-acl-GVQMBGRQ.js} +0 -0
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
listRecentSessionEvents
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-GUY5C7LF.js";
|
|
4
4
|
import {
|
|
5
5
|
AUTO_WAKE_MAX_RETRIES
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-GM2SXBIN.js";
|
|
7
7
|
import {
|
|
8
8
|
isRerankerAvailable,
|
|
9
9
|
rerankWithScores
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-UHMLXFZC.js";
|
|
11
11
|
import {
|
|
12
12
|
getEntityByName,
|
|
13
13
|
getEntityNeighbors,
|
|
@@ -28,7 +28,7 @@ import {
|
|
|
28
28
|
} from "./chunk-E6ORBQHP.js";
|
|
29
29
|
import {
|
|
30
30
|
getToolUsageStats
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-T6UW3VZN.js";
|
|
32
32
|
import {
|
|
33
33
|
analyzeBlastRadius,
|
|
34
34
|
buildCodeContextIndex,
|
|
@@ -42,64 +42,64 @@ import {
|
|
|
42
42
|
exportOrchestration,
|
|
43
43
|
importOrchestration,
|
|
44
44
|
validatePackage
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-OFPDYF24.js";
|
|
46
46
|
import {
|
|
47
47
|
registerImportConversations
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-SVBCHRGC.js";
|
|
49
49
|
import {
|
|
50
50
|
runDriftProbes
|
|
51
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-J3GQXXQR.js";
|
|
52
52
|
import {
|
|
53
53
|
loadOrchestrationPhase,
|
|
54
54
|
setOrchestrationPhase
|
|
55
55
|
} from "./chunk-XHTOAJYD.js";
|
|
56
56
|
import {
|
|
57
57
|
createOrRefreshResumeTask
|
|
58
|
-
} from "./chunk-
|
|
58
|
+
} from "./chunk-X4L6SQU5.js";
|
|
59
59
|
import {
|
|
60
60
|
registerUpdateTask
|
|
61
|
-
} from "./chunk-
|
|
61
|
+
} from "./chunk-QJ2MGXFX.js";
|
|
62
62
|
import {
|
|
63
63
|
registerCreateReminder
|
|
64
|
-
} from "./chunk-
|
|
64
|
+
} from "./chunk-BXQCL72Y.js";
|
|
65
65
|
import {
|
|
66
66
|
registerListReminders
|
|
67
|
-
} from "./chunk-
|
|
67
|
+
} from "./chunk-OQUWRF5K.js";
|
|
68
68
|
import {
|
|
69
69
|
registerCompleteReminder
|
|
70
|
-
} from "./chunk-
|
|
70
|
+
} from "./chunk-BPV3F7M6.js";
|
|
71
71
|
import {
|
|
72
72
|
registerDeactivateBehavior
|
|
73
|
-
} from "./chunk-
|
|
73
|
+
} from "./chunk-4DCP2XYD.js";
|
|
74
74
|
import {
|
|
75
75
|
completeReminder,
|
|
76
76
|
createReminder,
|
|
77
77
|
listReminders
|
|
78
|
-
} from "./chunk-
|
|
78
|
+
} from "./chunk-A74RTD5M.js";
|
|
79
79
|
import {
|
|
80
80
|
registerSendMessage
|
|
81
|
-
} from "./chunk-
|
|
81
|
+
} from "./chunk-2H2XQJ62.js";
|
|
82
82
|
import {
|
|
83
83
|
registerCreateTask
|
|
84
|
-
} from "./chunk-
|
|
84
|
+
} from "./chunk-P5IPATUA.js";
|
|
85
85
|
import {
|
|
86
86
|
registerListTasks
|
|
87
|
-
} from "./chunk-
|
|
87
|
+
} from "./chunk-DANQ4YE4.js";
|
|
88
88
|
import {
|
|
89
89
|
TOKENS_PER_IDLE_MINUTE,
|
|
90
90
|
countKillsSince,
|
|
91
91
|
sumTokensSavedSince
|
|
92
|
-
} from "./chunk-
|
|
92
|
+
} from "./chunk-IC6NXF2N.js";
|
|
93
93
|
import {
|
|
94
94
|
createSchedule,
|
|
95
95
|
parseHumanCron
|
|
96
|
-
} from "./chunk-
|
|
96
|
+
} from "./chunk-XISG35R2.js";
|
|
97
97
|
import {
|
|
98
98
|
status
|
|
99
|
-
} from "./chunk-
|
|
99
|
+
} from "./chunk-X6UJ4CLH.js";
|
|
100
100
|
import {
|
|
101
101
|
getAgentSpend
|
|
102
|
-
} from "./chunk-
|
|
102
|
+
} from "./chunk-MPWYUOB7.js";
|
|
103
103
|
import {
|
|
104
104
|
exportGraphHTML,
|
|
105
105
|
generateGraphReport
|
|
@@ -115,7 +115,7 @@ import {
|
|
|
115
115
|
fixShards,
|
|
116
116
|
formatReport,
|
|
117
117
|
runAudit
|
|
118
|
-
} from "./chunk-
|
|
118
|
+
} from "./chunk-LVAFZMP3.js";
|
|
119
119
|
import {
|
|
120
120
|
runHealthCheck
|
|
121
121
|
} from "./chunk-RAV23DU2.js";
|
|
@@ -126,12 +126,12 @@ import {
|
|
|
126
126
|
} from "./chunk-WSZS2KVV.js";
|
|
127
127
|
import {
|
|
128
128
|
renderClientCOOTemplate
|
|
129
|
-
} from "./chunk-
|
|
129
|
+
} from "./chunk-UCHIXGLP.js";
|
|
130
130
|
import {
|
|
131
131
|
deactivateGlobalProcedure,
|
|
132
132
|
loadGlobalProcedures,
|
|
133
133
|
storeGlobalProcedure
|
|
134
|
-
} from "./chunk-
|
|
134
|
+
} from "./chunk-44PHDWBT.js";
|
|
135
135
|
import {
|
|
136
136
|
PLATFORM_PROCEDURES
|
|
137
137
|
} from "./chunk-2ZYEO7U7.js";
|
|
@@ -140,27 +140,27 @@ import {
|
|
|
140
140
|
cloudSync,
|
|
141
141
|
getCloudReuploadRequired,
|
|
142
142
|
markCloudReuploadRequired
|
|
143
|
-
} from "./chunk-
|
|
143
|
+
} from "./chunk-YKTV34T6.js";
|
|
144
144
|
import {
|
|
145
145
|
createARecord
|
|
146
146
|
} from "./chunk-X2Z5GT3V.js";
|
|
147
147
|
import {
|
|
148
148
|
findSimilarTrajectories,
|
|
149
149
|
hashSignature
|
|
150
|
-
} from "./chunk-
|
|
150
|
+
} from "./chunk-UTQTHZ4H.js";
|
|
151
151
|
import {
|
|
152
152
|
deactivateBehavior,
|
|
153
153
|
listBehaviorsByDomain,
|
|
154
154
|
listSharedSkills,
|
|
155
155
|
reactivateBehavior,
|
|
156
156
|
storeBehavior
|
|
157
|
-
} from "./chunk-
|
|
157
|
+
} from "./chunk-7TKOVU64.js";
|
|
158
158
|
import {
|
|
159
159
|
countUnconsolidated,
|
|
160
160
|
groupMemories,
|
|
161
161
|
runConsolidation,
|
|
162
162
|
selectUnconsolidated
|
|
163
|
-
} from "./chunk-
|
|
163
|
+
} from "./chunk-3GUGE4K2.js";
|
|
164
164
|
import {
|
|
165
165
|
embed
|
|
166
166
|
} from "./chunk-OUHHUKPC.js";
|
|
@@ -171,17 +171,17 @@ import {
|
|
|
171
171
|
} from "./chunk-GD4VXNXO.js";
|
|
172
172
|
import {
|
|
173
173
|
updateTask
|
|
174
|
-
} from "./chunk-
|
|
174
|
+
} from "./chunk-ILAG5VBR.js";
|
|
175
175
|
import {
|
|
176
176
|
fastDbInit
|
|
177
|
-
} from "./chunk-
|
|
177
|
+
} from "./chunk-HR4WG32E.js";
|
|
178
178
|
import {
|
|
179
179
|
MAX_CONCURRENT_WORKERS
|
|
180
|
-
} from "./chunk-
|
|
180
|
+
} from "./chunk-BRGUJ76G.js";
|
|
181
181
|
import {
|
|
182
182
|
hybridSearch,
|
|
183
183
|
recentRecords
|
|
184
|
-
} from "./chunk-
|
|
184
|
+
} from "./chunk-EM7QXDC2.js";
|
|
185
185
|
import {
|
|
186
186
|
attachDocumentMetadata,
|
|
187
187
|
flushBatch,
|
|
@@ -189,10 +189,10 @@ import {
|
|
|
189
189
|
reserveVersions,
|
|
190
190
|
vectorToBlob,
|
|
191
191
|
writeMemory
|
|
192
|
-
} from "./chunk-
|
|
192
|
+
} from "./chunk-NJR54FIF.js";
|
|
193
193
|
import {
|
|
194
194
|
getActiveAgent
|
|
195
|
-
} from "./chunk-
|
|
195
|
+
} from "./chunk-EFDIUJWC.js";
|
|
196
196
|
import {
|
|
197
197
|
getMySession,
|
|
198
198
|
resolveExeSession,
|
|
@@ -200,13 +200,13 @@ import {
|
|
|
200
200
|
sessionScopeFilter,
|
|
201
201
|
updateTaskStatus,
|
|
202
202
|
writeCheckpoint
|
|
203
|
-
} from "./chunk-
|
|
203
|
+
} from "./chunk-YUHKC2X2.js";
|
|
204
204
|
import {
|
|
205
205
|
listSessions
|
|
206
|
-
} from "./chunk-
|
|
206
|
+
} from "./chunk-GKEEC3P7.js";
|
|
207
207
|
import {
|
|
208
208
|
recordOrchestrationEventBestEffort
|
|
209
|
-
} from "./chunk-
|
|
209
|
+
} from "./chunk-OV2DYWB6.js";
|
|
210
210
|
import {
|
|
211
211
|
DEFAULT_MODELS,
|
|
212
212
|
KNOWN_RUNTIMES,
|
|
@@ -223,7 +223,7 @@ import {
|
|
|
223
223
|
assertEmployeeLimit,
|
|
224
224
|
assertFeature,
|
|
225
225
|
assertMemoryLimit
|
|
226
|
-
} from "./chunk-
|
|
226
|
+
} from "./chunk-RUM6GJKH.js";
|
|
227
227
|
import {
|
|
228
228
|
getProjectName
|
|
229
229
|
} from "./chunk-OPU3NYOO.js";
|
|
@@ -236,7 +236,7 @@ import {
|
|
|
236
236
|
isScheduledTrigger,
|
|
237
237
|
loadTriggers,
|
|
238
238
|
sanitizeParam
|
|
239
|
-
} from "./chunk-
|
|
239
|
+
} from "./chunk-6MMKWEGK.js";
|
|
240
240
|
import {
|
|
241
241
|
pushConversationToCRM
|
|
242
242
|
} from "./chunk-ONKIWA3R.js";
|
|
@@ -256,7 +256,7 @@ import {
|
|
|
256
256
|
loadEmployeesSync,
|
|
257
257
|
saveEmployees,
|
|
258
258
|
updateIdentity
|
|
259
|
-
} from "./chunk-
|
|
259
|
+
} from "./chunk-A77WVNU2.js";
|
|
260
260
|
import {
|
|
261
261
|
getMasterKey
|
|
262
262
|
} from "./chunk-6D23UNXU.js";
|
|
@@ -1442,7 +1442,7 @@ async function handleSupersede(input) {
|
|
|
1442
1442
|
}
|
|
1443
1443
|
try {
|
|
1444
1444
|
const { getClient: getClient2 } = await import("./lib/database.js");
|
|
1445
|
-
const { getActiveAgent: getActiveAgent2 } = await import("./active-agent-
|
|
1445
|
+
const { getActiveAgent: getActiveAgent2 } = await import("./active-agent-YNZ7YA74.js");
|
|
1446
1446
|
const { writeMemory: writeMemory2, flushBatch: flushBatch2 } = await import("./lib/store.js");
|
|
1447
1447
|
const { randomUUID: randomUUID2 } = await import("crypto");
|
|
1448
1448
|
const client = getClient2();
|
|
@@ -1552,7 +1552,7 @@ function registerMemory(server) {
|
|
|
1552
1552
|
return handleSupersede(input);
|
|
1553
1553
|
}
|
|
1554
1554
|
if (action === "update_working_memory" || action === "get_working_memory") {
|
|
1555
|
-
const { getActiveAgent: getActiveAgent2 } = await import("./active-agent-
|
|
1555
|
+
const { getActiveAgent: getActiveAgent2 } = await import("./active-agent-YNZ7YA74.js");
|
|
1556
1556
|
const { agentId } = getActiveAgent2();
|
|
1557
1557
|
const { readWorkingMemory, writeWorkingMemory, WORKING_MEMORY_MAX_BYTES } = await import("./working-memory-PKUUMWZK.js");
|
|
1558
1558
|
if (action === "get_working_memory") {
|
|
@@ -1569,9 +1569,9 @@ function registerMemory(server) {
|
|
|
1569
1569
|
}
|
|
1570
1570
|
}
|
|
1571
1571
|
if (action === "core_get" || action === "core_set" || action === "core_delete") {
|
|
1572
|
-
const { getActiveAgent: getActiveAgent2 } = await import("./active-agent-
|
|
1572
|
+
const { getActiveAgent: getActiveAgent2 } = await import("./active-agent-YNZ7YA74.js");
|
|
1573
1573
|
const { agentId } = getActiveAgent2();
|
|
1574
|
-
const { getCoreMemory, setCoreMemory, deleteCoreMemory, formatCoreMemoryBlock } = await import("./core-memory-
|
|
1574
|
+
const { getCoreMemory, setCoreMemory, deleteCoreMemory, formatCoreMemoryBlock } = await import("./core-memory-XQKOWOID.js");
|
|
1575
1575
|
if (action === "core_get") {
|
|
1576
1576
|
const entries = await getCoreMemory(agentId);
|
|
1577
1577
|
const block = formatCoreMemoryBlock(entries);
|
|
@@ -2296,7 +2296,7 @@ function registerResumeEmployee(server) {
|
|
|
2296
2296
|
};
|
|
2297
2297
|
}
|
|
2298
2298
|
try {
|
|
2299
|
-
const { isTmuxSessionAlive } = await import("./tasks-crud-
|
|
2299
|
+
const { isTmuxSessionAlive } = await import("./tasks-crud-M7YVS5F3.js");
|
|
2300
2300
|
const now = (/* @__PURE__ */ new Date()).toISOString();
|
|
2301
2301
|
for (const row of openTasks.rows) {
|
|
2302
2302
|
const status2 = String(row.status);
|
|
@@ -2324,7 +2324,7 @@ function registerResumeEmployee(server) {
|
|
|
2324
2324
|
}
|
|
2325
2325
|
let checkpointInfo = "";
|
|
2326
2326
|
try {
|
|
2327
|
-
const { readLatestCheckpoint } = await import("./tasks-crud-
|
|
2327
|
+
const { readLatestCheckpoint } = await import("./tasks-crud-M7YVS5F3.js");
|
|
2328
2328
|
const checkpoint = await readLatestCheckpoint(agent_id);
|
|
2329
2329
|
if (checkpoint) {
|
|
2330
2330
|
const filesTouched = checkpoint.files_touched?.length > 0 ? checkpoint.files_touched.join(", ") : "none";
|
|
@@ -2684,7 +2684,7 @@ function registerTask(server) {
|
|
|
2684
2684
|
const missing2 = missingRequiredFields2(args, REQUIRED_FIELDS2.create_group);
|
|
2685
2685
|
if (missing2.length > 0) return errorResult2(`task action "create_group" missing required field(s): ${missing2.join(", ")}`);
|
|
2686
2686
|
try {
|
|
2687
|
-
const { createTaskGroup } = await import("./tasks-crud-
|
|
2687
|
+
const { createTaskGroup } = await import("./tasks-crud-M7YVS5F3.js");
|
|
2688
2688
|
const group = await createTaskGroup({
|
|
2689
2689
|
title: args.title,
|
|
2690
2690
|
coordinator: args.coordinator,
|
|
@@ -2703,7 +2703,7 @@ function registerTask(server) {
|
|
|
2703
2703
|
const missing2 = missingRequiredFields2(args, REQUIRED_FIELDS2.group_status);
|
|
2704
2704
|
if (missing2.length > 0) return errorResult2(`task action "group_status" missing required field(s): ${missing2.join(", ")}`);
|
|
2705
2705
|
try {
|
|
2706
|
-
const { getGroupStatus } = await import("./tasks-crud-
|
|
2706
|
+
const { getGroupStatus } = await import("./tasks-crud-M7YVS5F3.js");
|
|
2707
2707
|
const status2 = await getGroupStatus(args.group_id);
|
|
2708
2708
|
return { content: [{ type: "text", text: JSON.stringify(status2, null, 2) }] };
|
|
2709
2709
|
} catch (err) {
|
|
@@ -2715,7 +2715,7 @@ function registerTask(server) {
|
|
|
2715
2715
|
const missing2 = missingRequiredFields2(args, REQUIRED_FIELDS2.group_results);
|
|
2716
2716
|
if (missing2.length > 0) return errorResult2(`task action "group_results" missing required field(s): ${missing2.join(", ")}`);
|
|
2717
2717
|
try {
|
|
2718
|
-
const { getGroupResults } = await import("./tasks-crud-
|
|
2718
|
+
const { getGroupResults } = await import("./tasks-crud-M7YVS5F3.js");
|
|
2719
2719
|
const results = await getGroupResults(args.group_id);
|
|
2720
2720
|
return { content: [{ type: "text", text: JSON.stringify(results, null, 2) }] };
|
|
2721
2721
|
} catch (err) {
|
|
@@ -3522,8 +3522,8 @@ function registerIngestDocument(server) {
|
|
|
3522
3522
|
},
|
|
3523
3523
|
async (input) => {
|
|
3524
3524
|
try {
|
|
3525
|
-
const { assertFeature: assertFeature2 } = await import("./plan-limits-
|
|
3526
|
-
const { assertMemoryLimit: assertMemoryLimit2 } = await import("./plan-limits-
|
|
3525
|
+
const { assertFeature: assertFeature2 } = await import("./plan-limits-WAZUVFZQ.js");
|
|
3526
|
+
const { assertMemoryLimit: assertMemoryLimit2 } = await import("./plan-limits-WAZUVFZQ.js");
|
|
3527
3527
|
await assertFeature2("wiki");
|
|
3528
3528
|
await assertMemoryLimit2();
|
|
3529
3529
|
const result3 = await ingestDocument(input);
|
|
@@ -5640,7 +5640,7 @@ async function getAgentSessionLoad() {
|
|
|
5640
5640
|
return { sessions: [], totalLive: 0, busySessions: 0, idleSessions: 0 };
|
|
5641
5641
|
}
|
|
5642
5642
|
const { getClient: getClient2 } = await import("./lib/database.js");
|
|
5643
|
-
const { sessionScopeFilter: sessionScopeFilter2 } = await import("./task-scope-
|
|
5643
|
+
const { sessionScopeFilter: sessionScopeFilter2 } = await import("./task-scope-IAIAQNYB.js");
|
|
5644
5644
|
const client = getClient2();
|
|
5645
5645
|
const scope = sessionScopeFilter2();
|
|
5646
5646
|
for (const s of liveAgentSessions) {
|
|
@@ -7290,7 +7290,7 @@ function registerCreateTrigger(server) {
|
|
|
7290
7290
|
}
|
|
7291
7291
|
},
|
|
7292
7292
|
async ({ name, event, conditions, actions, project, enabled, schedule, query }) => {
|
|
7293
|
-
const { assertFeature: assertFeature2 } = await import("./plan-limits-
|
|
7293
|
+
const { assertFeature: assertFeature2 } = await import("./plan-limits-WAZUVFZQ.js");
|
|
7294
7294
|
const gatedActions = {
|
|
7295
7295
|
send_whatsapp: "external_agents",
|
|
7296
7296
|
update_wiki: "wiki"
|
|
@@ -7925,17 +7925,18 @@ function registerCompanyProcedureTool(server, toolName) {
|
|
|
7925
7925
|
toolName,
|
|
7926
7926
|
{
|
|
7927
7927
|
title: "Company Procedure",
|
|
7928
|
-
description: "Manage company procedures (customer-owned Layer 0 rules) that supersede identity, expertise, and experience. Actions: store (create new, restricted), list (view all, open), deactivate (soft-delete, restricted).",
|
|
7928
|
+
description: "Manage company procedures and values (customer-owned Layer 0 rules) that supersede identity, expertise, and experience. Actions: store (create new, restricted), list (view all, open), deactivate (soft-delete, restricted). Use kind='value' for company values (principles/beliefs), kind='procedure' for operational instructions.",
|
|
7929
7929
|
inputSchema: {
|
|
7930
7930
|
action: z68.enum(["store", "list", "deactivate"]).describe("Action to perform"),
|
|
7931
|
-
title: z68.string().optional().describe("Short title for the procedure (store)"),
|
|
7932
|
-
content: z68.string().max(500).optional().describe("The
|
|
7931
|
+
title: z68.string().optional().describe("Short title for the procedure or value (store)"),
|
|
7932
|
+
content: z68.string().max(500).optional().describe("The content \u2014 clear, actionable instruction or guiding principle (store)"),
|
|
7933
7933
|
priority: z68.enum(["p0", "p1", "p2"]).optional().describe("Priority tier. p0 = always (default). p1 = standard. p2 = nice-to-have."),
|
|
7934
7934
|
domain: z68.string().optional().describe("Category: workflow, code-style, communication, architecture, testing, security"),
|
|
7935
|
+
kind: z68.enum(["procedure", "value"]).optional().describe("Type: 'procedure' (operational instruction) or 'value' (company principle). Default: procedure."),
|
|
7935
7936
|
procedure_id: z68.string().optional().describe("UUID of the company procedure (deactivate)")
|
|
7936
7937
|
}
|
|
7937
7938
|
},
|
|
7938
|
-
async ({ action, title, content, priority, domain, procedure_id }) => {
|
|
7939
|
+
async ({ action, title, content, priority, domain, kind, procedure_id }) => {
|
|
7939
7940
|
if (action === "list") {
|
|
7940
7941
|
const customerProcs = await loadGlobalProcedures();
|
|
7941
7942
|
if (customerProcs.length === 0) {
|
|
@@ -7981,18 +7982,22 @@ ${lines.join("\n\n")}`
|
|
|
7981
7982
|
isError: true
|
|
7982
7983
|
};
|
|
7983
7984
|
}
|
|
7985
|
+
const effectiveKind = kind ?? "procedure";
|
|
7984
7986
|
const id = await storeGlobalProcedure({
|
|
7985
7987
|
title,
|
|
7986
7988
|
content,
|
|
7987
7989
|
priority: priority ?? "p0",
|
|
7988
|
-
domain: domain ?? void 0
|
|
7990
|
+
domain: domain ?? void 0,
|
|
7991
|
+
kind: effectiveKind
|
|
7989
7992
|
});
|
|
7993
|
+
const label = effectiveKind === "value" ? "Company value" : "Company procedure";
|
|
7990
7994
|
return {
|
|
7991
7995
|
content: [{
|
|
7992
7996
|
type: "text",
|
|
7993
|
-
text:
|
|
7997
|
+
text: `${label} stored.
|
|
7994
7998
|
ID: ${id}
|
|
7995
7999
|
Title: ${title}
|
|
8000
|
+
Kind: ${effectiveKind}
|
|
7996
8001
|
Priority: ${priority ?? "p0"}
|
|
7997
8002
|
Domain: ${domain ?? "none"}`
|
|
7998
8003
|
}]
|
|
@@ -8194,7 +8199,7 @@ function registerConfig(server) {
|
|
|
8194
8199
|
const existing = loadEmployeesSync2();
|
|
8195
8200
|
if (existing.some((e) => e.name === employeeName)) return errorResult8(`Employee "${employeeName}" already exists.`);
|
|
8196
8201
|
try {
|
|
8197
|
-
const { assertEmployeeLimit: assertEmployeeLimit2 } = await import("./plan-limits-
|
|
8202
|
+
const { assertEmployeeLimit: assertEmployeeLimit2 } = await import("./plan-limits-WAZUVFZQ.js");
|
|
8198
8203
|
await assertEmployeeLimit2();
|
|
8199
8204
|
} catch (e) {
|
|
8200
8205
|
return errorResult8(e instanceof Error ? e.message : "Employee limit reached.");
|
|
@@ -8235,7 +8240,7 @@ You are ${employeeName}. Role: ${role}.`, "utf-8");
|
|
|
8235
8240
|
}
|
|
8236
8241
|
try {
|
|
8237
8242
|
const { generateSessionWrappers } = await import("./lib/session-wrappers.js");
|
|
8238
|
-
const { resolvePackageRoot } = await import("./installer-
|
|
8243
|
+
const { resolvePackageRoot } = await import("./installer-VH4GYJQO.js");
|
|
8239
8244
|
generateSessionWrappers(resolvePackageRoot());
|
|
8240
8245
|
} catch {
|
|
8241
8246
|
}
|
|
@@ -8271,7 +8276,7 @@ function registerListWikiPages(server) {
|
|
|
8271
8276
|
}
|
|
8272
8277
|
},
|
|
8273
8278
|
async ({ workspace, folder }) => {
|
|
8274
|
-
const { assertFeature: assertFeature2 } = await import("./plan-limits-
|
|
8279
|
+
const { assertFeature: assertFeature2 } = await import("./plan-limits-WAZUVFZQ.js");
|
|
8275
8280
|
await assertFeature2("wiki");
|
|
8276
8281
|
const apiUrl = process.env.EXE_WIKI_API_URL;
|
|
8277
8282
|
const apiKey = process.env.EXE_WIKI_API_KEY;
|
|
@@ -8371,7 +8376,7 @@ function registerGetWikiPage(server) {
|
|
|
8371
8376
|
}
|
|
8372
8377
|
},
|
|
8373
8378
|
async ({ workspace, document_id, title }) => {
|
|
8374
|
-
const { assertFeature: assertFeature2 } = await import("./plan-limits-
|
|
8379
|
+
const { assertFeature: assertFeature2 } = await import("./plan-limits-WAZUVFZQ.js");
|
|
8375
8380
|
await assertFeature2("wiki");
|
|
8376
8381
|
const apiUrl = process.env.EXE_WIKI_API_URL;
|
|
8377
8382
|
const apiKey = process.env.EXE_WIKI_API_KEY;
|
|
@@ -8566,7 +8571,7 @@ function registerWiki(server) {
|
|
|
8566
8571
|
if (!legacyToolName) return errorResult9(`Unknown wiki action: ${String(input.action)}`);
|
|
8567
8572
|
const { action: _action, user_id, ...legacyArgs } = input;
|
|
8568
8573
|
if (user_id && legacyArgs.workspace) {
|
|
8569
|
-
const { checkWikiAccess } = await import("./wiki-acl-
|
|
8574
|
+
const { checkWikiAccess } = await import("./wiki-acl-GVQMBGRQ.js");
|
|
8570
8575
|
const { allowed } = await checkWikiAccess(
|
|
8571
8576
|
String(user_id),
|
|
8572
8577
|
String(legacyArgs.workspace),
|
|
@@ -8892,7 +8897,7 @@ Use /exe-forget to remove any that this supersedes.`;
|
|
|
8892
8897
|
return { content: [{ type: "text", text: `Behavior not found: ${behavior_id}` }], isError: true };
|
|
8893
8898
|
}
|
|
8894
8899
|
const row2 = result4.rows[0];
|
|
8895
|
-
const { reactivateBehavior: reactivateBehavior2 } = await import("./behaviors-
|
|
8900
|
+
const { reactivateBehavior: reactivateBehavior2 } = await import("./behaviors-TT72JVF4.js");
|
|
8896
8901
|
const wasReactivated = await reactivateBehavior2(behavior_id);
|
|
8897
8902
|
if (!wasReactivated) {
|
|
8898
8903
|
return { content: [{ type: "text", text: `Behavior ${behavior_id} is already active.` }] };
|
|
@@ -9830,7 +9835,7 @@ function registerWorkflowTool(server) {
|
|
|
9830
9835
|
getWorkflowInstance,
|
|
9831
9836
|
listWorkflowInstances,
|
|
9832
9837
|
approveWorkflowStep
|
|
9833
|
-
} = await import("./workflow-engine-
|
|
9838
|
+
} = await import("./workflow-engine-ZHWSK4BG.js");
|
|
9834
9839
|
try {
|
|
9835
9840
|
switch (input.action) {
|
|
9836
9841
|
case "create_workflow": {
|
|
@@ -10263,7 +10268,7 @@ function registerCreateBugReport(server) {
|
|
|
10263
10268
|
const version = package_version ?? "unknown";
|
|
10264
10269
|
let metricsSnapshot = "";
|
|
10265
10270
|
try {
|
|
10266
|
-
const { getOrchestrationMetrics, formatOrchestrationMetrics } = await import("./orchestration-events-
|
|
10271
|
+
const { getOrchestrationMetrics, formatOrchestrationMetrics } = await import("./orchestration-events-IDQXVP34.js");
|
|
10267
10272
|
const sinceIso = new Date(Date.now() - 60 * 60 * 1e3).toISOString();
|
|
10268
10273
|
const metrics = await getOrchestrationMetrics({ sinceIso });
|
|
10269
10274
|
if (metrics.totalEvents > 0) {
|
|
@@ -11061,7 +11066,7 @@ function registerCodeContext(server) {
|
|
|
11061
11066
|
const index = buildCodeContextIndex(opts);
|
|
11062
11067
|
let graphExtract;
|
|
11063
11068
|
try {
|
|
11064
|
-
const { autoExtractGraphEntities } = await import("./graph-auto-extract-
|
|
11069
|
+
const { autoExtractGraphEntities } = await import("./graph-auto-extract-ZJ7LNTSH.js");
|
|
11065
11070
|
graphExtract = await autoExtractGraphEntities(opts.projectRoot);
|
|
11066
11071
|
} catch {
|
|
11067
11072
|
}
|
|
@@ -11734,7 +11739,7 @@ function registerSupportConsolidated(server) {
|
|
|
11734
11739
|
const action = input.action;
|
|
11735
11740
|
if (action === "send_telemetry") {
|
|
11736
11741
|
try {
|
|
11737
|
-
const { sendTelemetry, isTelemetryEnabled } = await import("./telemetry-upload-
|
|
11742
|
+
const { sendTelemetry, isTelemetryEnabled } = await import("./telemetry-upload-5OOAFOOI.js");
|
|
11738
11743
|
if (!isTelemetryEnabled()) {
|
|
11739
11744
|
return { content: [{ type: "text", text: "Telemetry disabled (EXE_TELEMETRY=0)." }] };
|
|
11740
11745
|
}
|
|
@@ -12125,7 +12130,7 @@ function registerAllTools(server, license, hasKey) {
|
|
|
12125
12130
|
if (license && !isToolAllowedForPlan(name, license.plan)) return;
|
|
12126
12131
|
fn(server);
|
|
12127
12132
|
};
|
|
12128
|
-
const mcpToolSurface = process.env.EXE_MCP_TOOL_SURFACE ?? "
|
|
12133
|
+
const mcpToolSurface = process.env.EXE_MCP_TOOL_SURFACE ?? "consolidated";
|
|
12129
12134
|
const exposeConsolidatedTasks = mcpToolSurface === "both" || mcpToolSurface === "consolidated";
|
|
12130
12135
|
const exposeLegacyTasks = mcpToolSurface !== "consolidated";
|
|
12131
12136
|
const exposeConsolidatedMemory = mcpToolSurface === "both" || mcpToolSurface === "consolidated";
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
} from "./chunk-2ZYEO7U7.js";
|
|
5
5
|
import {
|
|
6
6
|
getClient
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-A77WVNU2.js";
|
|
8
8
|
|
|
9
9
|
// src/lib/global-procedures.ts
|
|
10
10
|
import { randomUUID } from "crypto";
|
|
@@ -20,12 +20,17 @@ async function loadGlobalProcedures() {
|
|
|
20
20
|
});
|
|
21
21
|
const allRows = result.rows;
|
|
22
22
|
const customerOnly = allRows.filter((p) => !PLATFORM_PROCEDURE_TITLES.has(p.title));
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
23
|
+
const values = customerOnly.filter((p) => p.kind === "value");
|
|
24
|
+
const procedures = customerOnly.filter((p) => p.kind !== "value");
|
|
25
|
+
const parts = [];
|
|
26
|
+
if (values.length > 0) {
|
|
27
|
+
parts.push("### Company Values\n" + values.map((v) => `- **${v.title}:** ${v.content}`).join("\n"));
|
|
28
|
+
}
|
|
29
|
+
if (procedures.length > 0) {
|
|
30
|
+
parts.push(procedures.map((p) => `### ${p.title}
|
|
31
|
+
${p.content}`).join("\n\n"));
|
|
28
32
|
}
|
|
33
|
+
_customerCache = parts.join("\n\n");
|
|
29
34
|
_cacheLoaded = true;
|
|
30
35
|
return customerOnly;
|
|
31
36
|
}
|
|
@@ -44,9 +49,9 @@ async function storeGlobalProcedure(input) {
|
|
|
44
49
|
const now = (/* @__PURE__ */ new Date()).toISOString();
|
|
45
50
|
const client = getClient();
|
|
46
51
|
await client.execute({
|
|
47
|
-
sql: `INSERT INTO company_procedures (id, title, content, priority, domain, active, created_at, updated_at)
|
|
48
|
-
VALUES (?, ?, ?, ?, ?, 1, ?, ?)`,
|
|
49
|
-
args: [id, input.title, input.content, input.priority ?? "p0", input.domain ?? null, now, now]
|
|
52
|
+
sql: `INSERT INTO company_procedures (id, title, content, priority, domain, kind, active, created_at, updated_at)
|
|
53
|
+
VALUES (?, ?, ?, ?, ?, ?, 1, ?, ?)`,
|
|
54
|
+
args: [id, input.title, input.content, input.priority ?? "p0", input.domain ?? null, input.kind ?? "procedure", now, now]
|
|
50
55
|
});
|
|
51
56
|
await loadGlobalProcedures();
|
|
52
57
|
return id;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
deactivateBehavior
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-7TKOVU64.js";
|
|
4
4
|
import {
|
|
5
5
|
getActiveAgent
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-EFDIUJWC.js";
|
|
7
7
|
import {
|
|
8
8
|
canCoordinate,
|
|
9
9
|
getClient
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-A77WVNU2.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-A77WVNU2.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-VWWDUBWI.js");
|
|
251
251
|
await createCoOccurrenceEdges(result.entities, memoryId);
|
|
252
252
|
} catch {
|
|
253
253
|
}
|
|
@@ -2551,11 +2551,16 @@ async function ensureSchema() {
|
|
|
2551
2551
|
content TEXT NOT NULL,
|
|
2552
2552
|
priority TEXT NOT NULL DEFAULT 'p0',
|
|
2553
2553
|
domain TEXT,
|
|
2554
|
+
kind TEXT NOT NULL DEFAULT 'procedure',
|
|
2554
2555
|
active INTEGER NOT NULL DEFAULT 1,
|
|
2555
2556
|
created_at TEXT NOT NULL,
|
|
2556
2557
|
updated_at TEXT NOT NULL
|
|
2557
2558
|
)
|
|
2558
2559
|
`);
|
|
2560
|
+
try {
|
|
2561
|
+
await client.execute("ALTER TABLE company_procedures ADD COLUMN kind TEXT NOT NULL DEFAULT 'procedure'");
|
|
2562
|
+
} catch {
|
|
2563
|
+
}
|
|
2559
2564
|
const legacyProcedureObject = await client.execute({
|
|
2560
2565
|
sql: "SELECT type FROM sqlite_master WHERE name = 'global_procedures'",
|
|
2561
2566
|
args: []
|
|
@@ -111,7 +111,7 @@ function releaseBackfillLock() {
|
|
|
111
111
|
}
|
|
112
112
|
async function getTaskAwareCapacity() {
|
|
113
113
|
const { getClient } = await import("./lib/database.js");
|
|
114
|
-
const { sessionScopeFilter } = await import("./task-scope-
|
|
114
|
+
const { sessionScopeFilter } = await import("./task-scope-IAIAQNYB.js");
|
|
115
115
|
const client = getClient();
|
|
116
116
|
const scope = sessionScopeFilter();
|
|
117
117
|
const result = await client.execute({
|