@askexenow/exe-os 0.8.83 → 0.8.86
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 +746 -595
- package/dist/bin/backfill-responses.js +745 -594
- package/dist/bin/backfill-vectors.js +312 -226
- package/dist/bin/cleanup-stale-review-tasks.js +154 -21
- package/dist/bin/cli.js +14678 -12676
- package/dist/bin/exe-agent-config.js +242 -0
- package/dist/bin/exe-agent.js +100 -91
- package/dist/bin/exe-assign.js +1003 -854
- package/dist/bin/exe-boot.js +1420 -485
- package/dist/bin/exe-call.js +10 -0
- package/dist/bin/exe-cloud.js +29 -6
- package/dist/bin/exe-dispatch.js +572 -271
- package/dist/bin/exe-doctor.js +403 -6
- package/dist/bin/exe-export-behaviors.js +175 -72
- package/dist/bin/exe-forget.js +102 -3
- package/dist/bin/exe-gateway.js +796 -292
- package/dist/bin/exe-healthcheck.js +134 -1
- package/dist/bin/exe-heartbeat.js +172 -36
- package/dist/bin/exe-kill.js +175 -72
- package/dist/bin/exe-launch-agent.js +189 -76
- package/dist/bin/exe-link.js +927 -82
- package/dist/bin/exe-new-employee.js +60 -8
- package/dist/bin/exe-pending-messages.js +151 -19
- package/dist/bin/exe-pending-notifications.js +97 -2
- package/dist/bin/exe-pending-reviews.js +155 -22
- package/dist/bin/exe-rename.js +564 -23
- package/dist/bin/exe-review.js +231 -73
- package/dist/bin/exe-search.js +995 -228
- package/dist/bin/exe-session-cleanup.js +4930 -1664
- package/dist/bin/exe-settings.js +20 -5
- package/dist/bin/exe-start-codex.js +2598 -0
- package/dist/bin/exe-start.sh +15 -3
- package/dist/bin/exe-status.js +154 -21
- package/dist/bin/exe-team.js +97 -2
- package/dist/bin/git-sweep.js +1180 -363
- package/dist/bin/graph-backfill.js +175 -72
- package/dist/bin/graph-export.js +175 -72
- package/dist/bin/install.js +60 -7
- package/dist/bin/list-providers.js +1 -0
- package/dist/bin/scan-tasks.js +1185 -367
- package/dist/bin/setup.js +914 -270
- package/dist/bin/shard-migrate.js +175 -72
- package/dist/bin/update.js +1 -0
- package/dist/bin/wiki-sync.js +175 -72
- package/dist/gateway/index.js +792 -285
- package/dist/hooks/bug-report-worker.js +445 -135
- package/dist/hooks/commit-complete.js +1178 -361
- package/dist/hooks/error-recall.js +994 -228
- package/dist/hooks/ingest-worker.js +1799 -1234
- package/dist/hooks/ingest.js +3 -0
- package/dist/hooks/instructions-loaded.js +707 -97
- package/dist/hooks/notification.js +699 -89
- package/dist/hooks/post-compact.js +757 -109
- package/dist/hooks/pre-compact.js +1061 -244
- package/dist/hooks/pre-tool-use.js +787 -130
- package/dist/hooks/prompt-ingest-worker.js +242 -101
- package/dist/hooks/prompt-submit.js +1121 -299
- package/dist/hooks/response-ingest-worker.js +242 -101
- package/dist/hooks/session-end.js +4063 -397
- package/dist/hooks/session-start.js +1071 -254
- package/dist/hooks/stop.js +768 -120
- package/dist/hooks/subagent-stop.js +757 -109
- package/dist/hooks/summary-worker.js +1706 -1011
- package/dist/index.js +1821 -1098
- package/dist/lib/agent-config.js +167 -0
- package/dist/lib/cloud-sync.js +932 -88
- package/dist/lib/consolidation.js +2 -1
- package/dist/lib/database.js +642 -87
- package/dist/lib/db-daemon-client.js +503 -0
- package/dist/lib/device-registry.js +547 -7
- package/dist/lib/embedder.js +14 -28
- package/dist/lib/employee-templates.js +84 -74
- package/dist/lib/employees.js +9 -0
- package/dist/lib/exe-daemon-client.js +16 -29
- package/dist/lib/exe-daemon.js +2733 -1575
- package/dist/lib/hybrid-search.js +995 -228
- package/dist/lib/identity.js +87 -67
- package/dist/lib/keychain.js +9 -1
- package/dist/lib/messaging.js +103 -40
- package/dist/lib/reminders.js +91 -74
- package/dist/lib/runtime-table.js +16 -0
- package/dist/lib/schedules.js +96 -2
- package/dist/lib/session-wrappers.js +22 -0
- package/dist/lib/skill-learning.js +103 -85
- package/dist/lib/store.js +234 -73
- package/dist/lib/tasks.js +348 -134
- package/dist/lib/tmux-routing.js +422 -208
- package/dist/lib/token-spend.js +273 -0
- package/dist/lib/ws-client.js +11 -0
- package/dist/mcp/server.js +5742 -696
- package/dist/mcp/tools/complete-reminder.js +94 -77
- package/dist/mcp/tools/create-reminder.js +94 -77
- package/dist/mcp/tools/create-task.js +375 -152
- package/dist/mcp/tools/deactivate-behavior.js +95 -77
- package/dist/mcp/tools/list-reminders.js +94 -77
- package/dist/mcp/tools/list-tasks.js +99 -31
- package/dist/mcp/tools/send-message.js +108 -45
- package/dist/mcp/tools/update-task.js +162 -77
- package/dist/runtime/index.js +1075 -258
- package/dist/tui/App.js +1333 -506
- package/package.json +6 -1
- package/src/commands/exe/agent-config.md +27 -0
- package/src/commands/exe/cc-doctor.md +10 -0
package/dist/bin/exe-settings.js
CHANGED
|
@@ -227,6 +227,19 @@ var init_database = __esm({
|
|
|
227
227
|
}
|
|
228
228
|
});
|
|
229
229
|
|
|
230
|
+
// src/lib/crdt-sync.ts
|
|
231
|
+
import * as Y from "yjs";
|
|
232
|
+
import { readFileSync as readFileSync4, writeFileSync as writeFileSync3, existsSync as existsSync4, mkdirSync as mkdirSync2, unlinkSync as unlinkSync2 } from "fs";
|
|
233
|
+
import path4 from "path";
|
|
234
|
+
import { homedir } from "os";
|
|
235
|
+
var DEFAULT_STATE_PATH;
|
|
236
|
+
var init_crdt_sync = __esm({
|
|
237
|
+
"src/lib/crdt-sync.ts"() {
|
|
238
|
+
"use strict";
|
|
239
|
+
DEFAULT_STATE_PATH = path4.join(homedir(), ".exe-os", "crdt-state.bin");
|
|
240
|
+
}
|
|
241
|
+
});
|
|
242
|
+
|
|
230
243
|
// src/bin/exe-settings.ts
|
|
231
244
|
init_config();
|
|
232
245
|
import { createInterface } from "readline";
|
|
@@ -236,6 +249,7 @@ import { realpathSync } from "fs";
|
|
|
236
249
|
import { fileURLToPath } from "url";
|
|
237
250
|
function isMainModule(importMetaUrl) {
|
|
238
251
|
if (process.argv[1] == null) return false;
|
|
252
|
+
if (process.argv[1].includes("mcp/server")) return false;
|
|
239
253
|
try {
|
|
240
254
|
const scriptPath = realpathSync(process.argv[1]);
|
|
241
255
|
const modulePath = realpathSync(fileURLToPath(importMetaUrl));
|
|
@@ -247,10 +261,10 @@ function isMainModule(importMetaUrl) {
|
|
|
247
261
|
|
|
248
262
|
// src/lib/cloud-sync.ts
|
|
249
263
|
init_database();
|
|
250
|
-
import { readFileSync as
|
|
264
|
+
import { readFileSync as readFileSync5, writeFileSync as writeFileSync4, existsSync as existsSync5, readdirSync, mkdirSync as mkdirSync3, appendFileSync, unlinkSync as unlinkSync3, openSync, closeSync } from "fs";
|
|
251
265
|
import crypto2 from "crypto";
|
|
252
|
-
import
|
|
253
|
-
import { homedir } from "os";
|
|
266
|
+
import path5 from "path";
|
|
267
|
+
import { homedir as homedir2 } from "os";
|
|
254
268
|
|
|
255
269
|
// src/lib/crypto.ts
|
|
256
270
|
import crypto from "crypto";
|
|
@@ -270,9 +284,10 @@ var DEVICE_ID_PATH = path3.join(EXE_AI_DIR, "device-id");
|
|
|
270
284
|
|
|
271
285
|
// src/lib/cloud-sync.ts
|
|
272
286
|
init_config();
|
|
287
|
+
init_crdt_sync();
|
|
273
288
|
init_employees();
|
|
274
289
|
var LOCALHOST_PATTERNS = /^(localhost|127\.0\.0\.1|\[::1\])$/i;
|
|
275
|
-
var ROSTER_LOCK_PATH =
|
|
290
|
+
var ROSTER_LOCK_PATH = path5.join(EXE_AI_DIR, "roster-merge.lock");
|
|
276
291
|
function assertSecureEndpoint(endpoint) {
|
|
277
292
|
if (endpoint.startsWith("https://")) return;
|
|
278
293
|
if (endpoint.startsWith("http://")) {
|
|
@@ -287,7 +302,7 @@ function assertSecureEndpoint(endpoint) {
|
|
|
287
302
|
);
|
|
288
303
|
}
|
|
289
304
|
}
|
|
290
|
-
var ROSTER_DELETIONS_PATH =
|
|
305
|
+
var ROSTER_DELETIONS_PATH = path5.join(EXE_AI_DIR, "roster-deletions.json");
|
|
291
306
|
|
|
292
307
|
// src/bin/exe-settings.ts
|
|
293
308
|
function label(value) {
|