@askexenow/exe-os 0.8.41 → 0.8.42
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/bin/backfill-conversations.js +805 -642
- package/dist/bin/backfill-responses.js +804 -641
- package/dist/bin/backfill-vectors.js +791 -634
- package/dist/bin/cleanup-stale-review-tasks.js +788 -631
- package/dist/bin/cli.js +1326 -655
- package/dist/bin/exe-agent.js +20 -1
- package/dist/bin/exe-assign.js +1503 -1343
- package/dist/bin/exe-boot.js +2508 -1802
- package/dist/bin/exe-call.js +39 -1
- package/dist/bin/exe-dispatch.js +39 -2
- package/dist/bin/exe-doctor.js +790 -633
- package/dist/bin/exe-export-behaviors.js +792 -637
- package/dist/bin/exe-forget.js +145 -0
- package/dist/bin/exe-gateway.js +2487 -1878
- package/dist/bin/exe-heartbeat.js +147 -1
- package/dist/bin/exe-kill.js +795 -640
- package/dist/bin/exe-launch-agent.js +2168 -2008
- package/dist/bin/exe-link.js +9 -1
- package/dist/bin/exe-new-employee.js +6 -2
- package/dist/bin/exe-pending-messages.js +146 -1
- package/dist/bin/exe-pending-notifications.js +788 -631
- package/dist/bin/exe-pending-reviews.js +147 -1
- package/dist/bin/exe-rename.js +23 -0
- package/dist/bin/exe-review.js +490 -327
- package/dist/bin/exe-search.js +154 -3
- package/dist/bin/exe-session-cleanup.js +2466 -413
- package/dist/bin/exe-status.js +474 -317
- package/dist/bin/exe-team.js +474 -317
- package/dist/bin/git-sweep.js +2690 -150
- package/dist/bin/graph-backfill.js +794 -637
- package/dist/bin/graph-export.js +798 -641
- package/dist/bin/scan-tasks.js +2951 -44
- package/dist/bin/setup.js +47 -25
- package/dist/bin/shard-migrate.js +792 -637
- package/dist/bin/wiki-sync.js +794 -637
- package/dist/gateway/index.js +2504 -1895
- package/dist/hooks/bug-report-worker.js +2118 -576
- package/dist/hooks/commit-complete.js +2689 -149
- package/dist/hooks/error-recall.js +154 -3
- package/dist/hooks/ingest-worker.js +1420 -814
- package/dist/hooks/instructions-loaded.js +151 -0
- package/dist/hooks/notification.js +153 -2
- package/dist/hooks/post-compact.js +164 -0
- package/dist/hooks/pre-compact.js +3073 -101
- package/dist/hooks/pre-tool-use.js +151 -0
- package/dist/hooks/prompt-ingest-worker.js +1700 -1541
- package/dist/hooks/prompt-submit.js +2658 -1113
- package/dist/hooks/response-ingest-worker.js +151 -5
- package/dist/hooks/session-end.js +153 -2
- package/dist/hooks/session-start.js +154 -3
- package/dist/hooks/stop.js +151 -0
- package/dist/hooks/subagent-stop.js +151 -0
- package/dist/hooks/summary-worker.js +160 -6
- package/dist/index.js +278 -100
- package/dist/lib/cloud-sync.js +9 -1
- package/dist/lib/consolidation.js +69 -2
- package/dist/lib/database.js +19 -0
- package/dist/lib/device-registry.js +19 -0
- package/dist/lib/employee-templates.js +20 -1
- package/dist/lib/exe-daemon.js +236 -16
- package/dist/lib/hybrid-search.js +154 -3
- package/dist/lib/messaging.js +39 -2
- package/dist/lib/schedules.js +792 -637
- package/dist/lib/store.js +796 -636
- package/dist/lib/tasks.js +1614 -1091
- package/dist/lib/tmux-routing.js +149 -9
- package/dist/mcp/server.js +1810 -1137
- package/dist/mcp/tools/create-task.js +2280 -828
- package/dist/mcp/tools/list-tasks.js +2788 -159
- package/dist/mcp/tools/send-message.js +39 -2
- package/dist/mcp/tools/update-task.js +64 -0
- package/dist/runtime/index.js +235 -67
- package/dist/tui/App.js +1440 -646
- package/package.json +3 -2
package/dist/bin/setup.js
CHANGED
|
@@ -1159,6 +1159,50 @@ var init_employees = __esm({
|
|
|
1159
1159
|
}
|
|
1160
1160
|
});
|
|
1161
1161
|
|
|
1162
|
+
// src/lib/db-retry.ts
|
|
1163
|
+
var init_db_retry = __esm({
|
|
1164
|
+
"src/lib/db-retry.ts"() {
|
|
1165
|
+
"use strict";
|
|
1166
|
+
}
|
|
1167
|
+
});
|
|
1168
|
+
|
|
1169
|
+
// src/lib/database.ts
|
|
1170
|
+
import { createClient } from "@libsql/client";
|
|
1171
|
+
function getClient() {
|
|
1172
|
+
if (!_resilientClient) {
|
|
1173
|
+
throw new Error("Database client not initialized. Call initDatabase() first.");
|
|
1174
|
+
}
|
|
1175
|
+
return _resilientClient;
|
|
1176
|
+
}
|
|
1177
|
+
var _resilientClient;
|
|
1178
|
+
var init_database = __esm({
|
|
1179
|
+
"src/lib/database.ts"() {
|
|
1180
|
+
"use strict";
|
|
1181
|
+
init_db_retry();
|
|
1182
|
+
_resilientClient = null;
|
|
1183
|
+
}
|
|
1184
|
+
});
|
|
1185
|
+
|
|
1186
|
+
// src/lib/global-procedures.ts
|
|
1187
|
+
import { randomUUID as randomUUID3 } from "crypto";
|
|
1188
|
+
function getGlobalProceduresBlock() {
|
|
1189
|
+
if (!_cacheLoaded) return "";
|
|
1190
|
+
if (!_cache) return "";
|
|
1191
|
+
return `## Organization-Wide Procedures (MANDATORY \u2014 supersedes all other rules)
|
|
1192
|
+
|
|
1193
|
+
${_cache}
|
|
1194
|
+
`;
|
|
1195
|
+
}
|
|
1196
|
+
var _cache, _cacheLoaded;
|
|
1197
|
+
var init_global_procedures = __esm({
|
|
1198
|
+
"src/lib/global-procedures.ts"() {
|
|
1199
|
+
"use strict";
|
|
1200
|
+
init_database();
|
|
1201
|
+
_cache = "";
|
|
1202
|
+
_cacheLoaded = false;
|
|
1203
|
+
}
|
|
1204
|
+
});
|
|
1205
|
+
|
|
1162
1206
|
// src/lib/employee-templates.ts
|
|
1163
1207
|
var employee_templates_exports = {};
|
|
1164
1208
|
__export(employee_templates_exports, {
|
|
@@ -1177,7 +1221,8 @@ __export(employee_templates_exports, {
|
|
|
1177
1221
|
function getSessionPrompt(storedPrompt) {
|
|
1178
1222
|
const markerIndex = storedPrompt.indexOf(PROCEDURES_MARKER);
|
|
1179
1223
|
const rolePrompt = markerIndex >= 0 ? storedPrompt.slice(0, markerIndex).trimEnd() : storedPrompt;
|
|
1180
|
-
|
|
1224
|
+
const globalBlock = getGlobalProceduresBlock();
|
|
1225
|
+
return `${globalBlock}${rolePrompt}
|
|
1181
1226
|
${BASE_OPERATING_PROCEDURES}`;
|
|
1182
1227
|
}
|
|
1183
1228
|
function buildCustomEmployeePrompt(name, role) {
|
|
@@ -1217,6 +1262,7 @@ var BASE_OPERATING_PROCEDURES, DEFAULT_EXE, TEMPLATE_VERSION, PROCEDURES_MARKER,
|
|
|
1217
1262
|
var init_employee_templates = __esm({
|
|
1218
1263
|
"src/lib/employee-templates.ts"() {
|
|
1219
1264
|
"use strict";
|
|
1265
|
+
init_global_procedures();
|
|
1220
1266
|
BASE_OPERATING_PROCEDURES = `
|
|
1221
1267
|
EXE OS \u2014 VISION AND NON-NEGOTIABLE PRINCIPLES (above all work):
|
|
1222
1268
|
|
|
@@ -1774,30 +1820,6 @@ All memory, tasks, behaviors, documents, and wiki content belonging to {{company
|
|
|
1774
1820
|
}
|
|
1775
1821
|
});
|
|
1776
1822
|
|
|
1777
|
-
// src/lib/db-retry.ts
|
|
1778
|
-
var init_db_retry = __esm({
|
|
1779
|
-
"src/lib/db-retry.ts"() {
|
|
1780
|
-
"use strict";
|
|
1781
|
-
}
|
|
1782
|
-
});
|
|
1783
|
-
|
|
1784
|
-
// src/lib/database.ts
|
|
1785
|
-
import { createClient } from "@libsql/client";
|
|
1786
|
-
function getClient() {
|
|
1787
|
-
if (!_resilientClient) {
|
|
1788
|
-
throw new Error("Database client not initialized. Call initDatabase() first.");
|
|
1789
|
-
}
|
|
1790
|
-
return _resilientClient;
|
|
1791
|
-
}
|
|
1792
|
-
var _resilientClient;
|
|
1793
|
-
var init_database = __esm({
|
|
1794
|
-
"src/lib/database.ts"() {
|
|
1795
|
-
"use strict";
|
|
1796
|
-
init_db_retry();
|
|
1797
|
-
_resilientClient = null;
|
|
1798
|
-
}
|
|
1799
|
-
});
|
|
1800
|
-
|
|
1801
1823
|
// src/lib/identity.ts
|
|
1802
1824
|
var identity_exports = {};
|
|
1803
1825
|
__export(identity_exports, {
|