@askexenow/exe-os 0.9.65 → 0.9.67
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/stack-manifests/v0.9.json +54 -5
- package/dist/bin/age-ontology-load.js +61 -0
- package/dist/bin/agentic-ontology-backfill.js +4708 -0
- package/dist/bin/agentic-reflection-backfill.js +4144 -0
- package/dist/bin/{exe-link.js → agentic-semantic-label.js} +1532 -2173
- package/dist/bin/backfill-conversations.js +528 -20
- package/dist/bin/backfill-responses.js +528 -20
- package/dist/bin/backfill-vectors.js +255 -20
- package/dist/bin/bulk-sync-postgres.js +4876 -0
- package/dist/bin/cleanup-stale-review-tasks.js +529 -21
- package/dist/bin/cli.js +3471 -1491
- package/dist/bin/exe-agent-config.js +4 -0
- package/dist/bin/exe-agent.js +16 -0
- package/dist/bin/exe-assign.js +528 -20
- package/dist/bin/exe-boot.js +492 -54
- package/dist/bin/exe-call.js +16 -0
- package/dist/bin/exe-cloud.js +7415 -518
- package/dist/bin/exe-dispatch.js +540 -22
- package/dist/bin/exe-doctor.js +3404 -1225
- package/dist/bin/exe-export-behaviors.js +542 -24
- package/dist/bin/exe-forget.js +529 -21
- package/dist/bin/exe-gateway.js +595 -25
- package/dist/bin/exe-heartbeat.js +541 -24
- package/dist/bin/exe-kill.js +529 -21
- package/dist/bin/exe-launch-agent.js +2334 -1067
- package/dist/bin/exe-new-employee.js +324 -166
- package/dist/bin/exe-pending-messages.js +529 -21
- package/dist/bin/exe-pending-notifications.js +529 -21
- package/dist/bin/exe-pending-reviews.js +529 -21
- package/dist/bin/exe-rename.js +529 -21
- package/dist/bin/exe-review.js +529 -21
- package/dist/bin/exe-search.js +542 -24
- package/dist/bin/exe-session-cleanup.js +540 -22
- package/dist/bin/exe-settings.js +14 -0
- package/dist/bin/exe-start-codex.js +817 -144
- package/dist/bin/exe-start-opencode.js +776 -80
- package/dist/bin/exe-status.js +529 -21
- package/dist/bin/exe-team.js +529 -21
- package/dist/bin/git-sweep.js +540 -22
- package/dist/bin/graph-backfill.js +580 -21
- package/dist/bin/graph-export.js +529 -21
- package/dist/bin/graph-layer-benchmark.js +109 -0
- package/dist/bin/install.js +420 -289
- package/dist/bin/intercom-check.js +540 -22
- package/dist/bin/postgres-agentic-reflection-backfill.js +187 -0
- package/dist/bin/postgres-agentic-semantic-backfill.js +237 -0
- package/dist/bin/scan-tasks.js +540 -22
- package/dist/bin/setup.js +790 -206
- package/dist/bin/shard-migrate.js +528 -20
- package/dist/bin/update.js +4 -0
- package/dist/gateway/index.js +593 -23
- package/dist/hooks/bug-report-worker.js +651 -64
- package/dist/hooks/codex-stop-task-finalizer.js +540 -22
- package/dist/hooks/commit-complete.js +540 -22
- package/dist/hooks/error-recall.js +542 -24
- package/dist/hooks/exe-heartbeat-hook.js +4 -0
- package/dist/hooks/ingest-worker.js +4 -0
- package/dist/hooks/ingest.js +539 -22
- package/dist/hooks/instructions-loaded.js +529 -21
- package/dist/hooks/notification.js +529 -21
- package/dist/hooks/post-compact.js +529 -21
- package/dist/hooks/post-tool-combined.js +543 -25
- package/dist/hooks/pre-compact.js +772 -127
- package/dist/hooks/pre-tool-use.js +529 -21
- package/dist/hooks/prompt-submit.js +543 -25
- package/dist/hooks/session-end.js +673 -140
- package/dist/hooks/session-start.js +662 -26
- package/dist/hooks/stop.js +540 -23
- package/dist/hooks/subagent-stop.js +529 -21
- package/dist/hooks/summary-worker.js +571 -126
- package/dist/index.js +593 -23
- package/dist/lib/agent-config.js +4 -0
- package/dist/lib/cloud-sync.js +408 -47
- package/dist/lib/config.js +25 -1
- package/dist/lib/consolidation.js +5 -1
- package/dist/lib/database.js +128 -0
- package/dist/lib/db-daemon-client.js +4 -0
- package/dist/lib/db.js +128 -0
- package/dist/lib/device-registry.js +128 -0
- package/dist/lib/embedder.js +25 -1
- package/dist/lib/employee-templates.js +16 -0
- package/dist/lib/employees.js +4 -0
- package/dist/lib/exe-daemon-client.js +4 -0
- package/dist/lib/exe-daemon.js +3158 -930
- package/dist/lib/hybrid-search.js +542 -24
- package/dist/lib/identity.js +7 -0
- package/dist/lib/keychain.js +178 -22
- package/dist/lib/license.js +4 -0
- package/dist/lib/messaging.js +7 -0
- package/dist/lib/reminders.js +7 -0
- package/dist/lib/schedules.js +255 -20
- package/dist/lib/skill-learning.js +28 -1
- package/dist/lib/status-brief.js +39 -0
- package/dist/lib/store.js +528 -20
- package/dist/lib/task-router.js +4 -0
- package/dist/lib/tasks.js +28 -1
- package/dist/lib/tmux-routing.js +28 -1
- package/dist/lib/token-spend.js +7 -0
- package/dist/mcp/server.js +2739 -813
- package/dist/mcp/tools/complete-reminder.js +7 -0
- package/dist/mcp/tools/create-reminder.js +7 -0
- package/dist/mcp/tools/create-task.js +28 -1
- package/dist/mcp/tools/deactivate-behavior.js +7 -0
- package/dist/mcp/tools/list-reminders.js +7 -0
- package/dist/mcp/tools/list-tasks.js +7 -0
- package/dist/mcp/tools/send-message.js +7 -0
- package/dist/mcp/tools/update-task.js +28 -1
- package/dist/runtime/index.js +540 -22
- package/dist/tui/App.js +618 -29
- package/package.json +9 -5
- package/src/commands/exe/cloud.md +11 -8
- package/stack.release.json +3 -3
- package/src/commands/exe/link.md +0 -17
package/dist/lib/task-router.js
CHANGED
package/dist/lib/tasks.js
CHANGED
|
@@ -156,6 +156,11 @@ function normalizeAutoUpdate(raw) {
|
|
|
156
156
|
const userAU = raw.autoUpdate ?? {};
|
|
157
157
|
raw.autoUpdate = { ...defaultAU, ...userAU };
|
|
158
158
|
}
|
|
159
|
+
function normalizeOrchestration(raw) {
|
|
160
|
+
const defaultOrg = DEFAULT_CONFIG.orchestration;
|
|
161
|
+
const userOrg = raw.orchestration ?? {};
|
|
162
|
+
raw.orchestration = { ...defaultOrg, ...userOrg };
|
|
163
|
+
}
|
|
159
164
|
async function loadConfig() {
|
|
160
165
|
const dir = process.env.EXE_OS_DIR ?? process.env.EXE_MEM_DIR ?? EXE_AI_DIR;
|
|
161
166
|
await ensurePrivateDir(dir);
|
|
@@ -180,10 +185,15 @@ async function loadConfig() {
|
|
|
180
185
|
normalizeScalingRoadmap(migratedCfg);
|
|
181
186
|
normalizeSessionLifecycle(migratedCfg);
|
|
182
187
|
normalizeAutoUpdate(migratedCfg);
|
|
188
|
+
normalizeOrchestration(migratedCfg);
|
|
183
189
|
const config = { ...DEFAULT_CONFIG, dbPath: path.join(dir, "memories.db"), ...migratedCfg };
|
|
184
190
|
if (config.dbPath.startsWith("~")) {
|
|
185
191
|
config.dbPath = config.dbPath.replace(/^~/, os.homedir());
|
|
186
192
|
}
|
|
193
|
+
const envDbPath = path.join(dir, "memories.db");
|
|
194
|
+
if (process.env.EXE_OS_DIR && config.dbPath !== envDbPath && !existsSync2(config.dbPath) && existsSync2(envDbPath)) {
|
|
195
|
+
config.dbPath = envDbPath;
|
|
196
|
+
}
|
|
187
197
|
return config;
|
|
188
198
|
} catch {
|
|
189
199
|
return { ...DEFAULT_CONFIG, dbPath: path.join(dir, "memories.db") };
|
|
@@ -203,7 +213,16 @@ function loadConfigSync() {
|
|
|
203
213
|
normalizeScalingRoadmap(migratedCfg);
|
|
204
214
|
normalizeSessionLifecycle(migratedCfg);
|
|
205
215
|
normalizeAutoUpdate(migratedCfg);
|
|
206
|
-
|
|
216
|
+
normalizeOrchestration(migratedCfg);
|
|
217
|
+
const config = { ...DEFAULT_CONFIG, dbPath: path.join(dir, "memories.db"), ...migratedCfg };
|
|
218
|
+
if (config.dbPath.startsWith("~")) {
|
|
219
|
+
config.dbPath = config.dbPath.replace(/^~/, os.homedir());
|
|
220
|
+
}
|
|
221
|
+
const envDbPath = path.join(dir, "memories.db");
|
|
222
|
+
if (process.env.EXE_OS_DIR && config.dbPath !== envDbPath && !existsSync2(config.dbPath) && existsSync2(envDbPath)) {
|
|
223
|
+
config.dbPath = envDbPath;
|
|
224
|
+
}
|
|
225
|
+
return config;
|
|
207
226
|
} catch {
|
|
208
227
|
return { ...DEFAULT_CONFIG, dbPath: path.join(dir, "memories.db") };
|
|
209
228
|
}
|
|
@@ -224,6 +243,7 @@ async function loadConfigFrom(configPath) {
|
|
|
224
243
|
normalizeScalingRoadmap(migratedCfg);
|
|
225
244
|
normalizeSessionLifecycle(migratedCfg);
|
|
226
245
|
normalizeAutoUpdate(migratedCfg);
|
|
246
|
+
normalizeOrchestration(migratedCfg);
|
|
227
247
|
return { ...DEFAULT_CONFIG, ...migratedCfg };
|
|
228
248
|
} catch {
|
|
229
249
|
return { ...DEFAULT_CONFIG };
|
|
@@ -295,6 +315,10 @@ var init_config = __esm({
|
|
|
295
315
|
checkOnBoot: true,
|
|
296
316
|
autoInstall: false,
|
|
297
317
|
checkIntervalMs: 24 * 60 * 60 * 1e3
|
|
318
|
+
},
|
|
319
|
+
orchestration: {
|
|
320
|
+
phase: "phase_1_coo",
|
|
321
|
+
phaseSetBy: "default"
|
|
298
322
|
}
|
|
299
323
|
};
|
|
300
324
|
CONFIG_MIGRATIONS = [
|
|
@@ -426,6 +450,9 @@ function getClient() {
|
|
|
426
450
|
if (_daemonClient && _daemonClient._isDaemonActive()) {
|
|
427
451
|
return _daemonClient;
|
|
428
452
|
}
|
|
453
|
+
if (!_resilientClient) {
|
|
454
|
+
return _adapterClient;
|
|
455
|
+
}
|
|
429
456
|
return _resilientClient;
|
|
430
457
|
}
|
|
431
458
|
var _resilientClient, _daemonClient, _adapterClient;
|
package/dist/lib/tmux-routing.js
CHANGED
|
@@ -441,6 +441,11 @@ function normalizeAutoUpdate(raw) {
|
|
|
441
441
|
const userAU = raw.autoUpdate ?? {};
|
|
442
442
|
raw.autoUpdate = { ...defaultAU, ...userAU };
|
|
443
443
|
}
|
|
444
|
+
function normalizeOrchestration(raw) {
|
|
445
|
+
const defaultOrg = DEFAULT_CONFIG.orchestration;
|
|
446
|
+
const userOrg = raw.orchestration ?? {};
|
|
447
|
+
raw.orchestration = { ...defaultOrg, ...userOrg };
|
|
448
|
+
}
|
|
444
449
|
async function loadConfig() {
|
|
445
450
|
const dir = process.env.EXE_OS_DIR ?? process.env.EXE_MEM_DIR ?? EXE_AI_DIR;
|
|
446
451
|
await ensurePrivateDir(dir);
|
|
@@ -465,10 +470,15 @@ async function loadConfig() {
|
|
|
465
470
|
normalizeScalingRoadmap(migratedCfg);
|
|
466
471
|
normalizeSessionLifecycle(migratedCfg);
|
|
467
472
|
normalizeAutoUpdate(migratedCfg);
|
|
473
|
+
normalizeOrchestration(migratedCfg);
|
|
468
474
|
const config = { ...DEFAULT_CONFIG, dbPath: path2.join(dir, "memories.db"), ...migratedCfg };
|
|
469
475
|
if (config.dbPath.startsWith("~")) {
|
|
470
476
|
config.dbPath = config.dbPath.replace(/^~/, os2.homedir());
|
|
471
477
|
}
|
|
478
|
+
const envDbPath = path2.join(dir, "memories.db");
|
|
479
|
+
if (process.env.EXE_OS_DIR && config.dbPath !== envDbPath && !existsSync3(config.dbPath) && existsSync3(envDbPath)) {
|
|
480
|
+
config.dbPath = envDbPath;
|
|
481
|
+
}
|
|
472
482
|
return config;
|
|
473
483
|
} catch {
|
|
474
484
|
return { ...DEFAULT_CONFIG, dbPath: path2.join(dir, "memories.db") };
|
|
@@ -488,7 +498,16 @@ function loadConfigSync() {
|
|
|
488
498
|
normalizeScalingRoadmap(migratedCfg);
|
|
489
499
|
normalizeSessionLifecycle(migratedCfg);
|
|
490
500
|
normalizeAutoUpdate(migratedCfg);
|
|
491
|
-
|
|
501
|
+
normalizeOrchestration(migratedCfg);
|
|
502
|
+
const config = { ...DEFAULT_CONFIG, dbPath: path2.join(dir, "memories.db"), ...migratedCfg };
|
|
503
|
+
if (config.dbPath.startsWith("~")) {
|
|
504
|
+
config.dbPath = config.dbPath.replace(/^~/, os2.homedir());
|
|
505
|
+
}
|
|
506
|
+
const envDbPath = path2.join(dir, "memories.db");
|
|
507
|
+
if (process.env.EXE_OS_DIR && config.dbPath !== envDbPath && !existsSync3(config.dbPath) && existsSync3(envDbPath)) {
|
|
508
|
+
config.dbPath = envDbPath;
|
|
509
|
+
}
|
|
510
|
+
return config;
|
|
492
511
|
} catch {
|
|
493
512
|
return { ...DEFAULT_CONFIG, dbPath: path2.join(dir, "memories.db") };
|
|
494
513
|
}
|
|
@@ -509,6 +528,7 @@ async function loadConfigFrom(configPath) {
|
|
|
509
528
|
normalizeScalingRoadmap(migratedCfg);
|
|
510
529
|
normalizeSessionLifecycle(migratedCfg);
|
|
511
530
|
normalizeAutoUpdate(migratedCfg);
|
|
531
|
+
normalizeOrchestration(migratedCfg);
|
|
512
532
|
return { ...DEFAULT_CONFIG, ...migratedCfg };
|
|
513
533
|
} catch {
|
|
514
534
|
return { ...DEFAULT_CONFIG };
|
|
@@ -580,6 +600,10 @@ var init_config = __esm({
|
|
|
580
600
|
checkOnBoot: true,
|
|
581
601
|
autoInstall: false,
|
|
582
602
|
checkIntervalMs: 24 * 60 * 60 * 1e3
|
|
603
|
+
},
|
|
604
|
+
orchestration: {
|
|
605
|
+
phase: "phase_1_coo",
|
|
606
|
+
phaseSetBy: "default"
|
|
583
607
|
}
|
|
584
608
|
};
|
|
585
609
|
CONFIG_MIGRATIONS = [
|
|
@@ -906,6 +930,9 @@ function getClient() {
|
|
|
906
930
|
if (_daemonClient && _daemonClient._isDaemonActive()) {
|
|
907
931
|
return _daemonClient;
|
|
908
932
|
}
|
|
933
|
+
if (!_resilientClient) {
|
|
934
|
+
return _adapterClient;
|
|
935
|
+
}
|
|
909
936
|
return _resilientClient;
|
|
910
937
|
}
|
|
911
938
|
var _resilientClient, _daemonClient, _adapterClient;
|
package/dist/lib/token-spend.js
CHANGED
|
@@ -99,6 +99,10 @@ var init_config = __esm({
|
|
|
99
99
|
checkOnBoot: true,
|
|
100
100
|
autoInstall: false,
|
|
101
101
|
checkIntervalMs: 24 * 60 * 60 * 1e3
|
|
102
|
+
},
|
|
103
|
+
orchestration: {
|
|
104
|
+
phase: "phase_1_coo",
|
|
105
|
+
phaseSetBy: "default"
|
|
102
106
|
}
|
|
103
107
|
};
|
|
104
108
|
}
|
|
@@ -156,6 +160,9 @@ function getClient() {
|
|
|
156
160
|
if (_daemonClient && _daemonClient._isDaemonActive()) {
|
|
157
161
|
return _daemonClient;
|
|
158
162
|
}
|
|
163
|
+
if (!_resilientClient) {
|
|
164
|
+
return _adapterClient;
|
|
165
|
+
}
|
|
159
166
|
return _resilientClient;
|
|
160
167
|
}
|
|
161
168
|
|