@askexenow/exe-os 0.9.16 → 0.9.18
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 +1242 -909
- package/dist/bin/backfill-responses.js +1245 -912
- package/dist/bin/backfill-vectors.js +1244 -906
- package/dist/bin/cleanup-stale-review-tasks.js +1870 -417
- package/dist/bin/cli.js +217 -107
- package/dist/bin/exe-agent-config.js +2 -2
- package/dist/bin/exe-agent.js +62 -0
- package/dist/bin/exe-assign.js +346 -10
- package/dist/bin/exe-boot.js +387 -32
- package/dist/bin/exe-call.js +72 -2
- package/dist/bin/exe-cloud.js +8 -0
- package/dist/bin/exe-dispatch.js +1821 -225
- package/dist/bin/exe-doctor.js +720 -52
- package/dist/bin/exe-export-behaviors.js +1429 -148
- package/dist/bin/exe-forget.js +1408 -34
- package/dist/bin/exe-gateway.js +1629 -1295
- package/dist/bin/exe-heartbeat.js +1899 -448
- package/dist/bin/exe-kill.js +1624 -346
- package/dist/bin/exe-launch-agent.js +726 -90
- package/dist/bin/exe-link.js +27 -8
- package/dist/bin/exe-new-employee.js +75 -9
- package/dist/bin/exe-pending-messages.js +2769 -1316
- package/dist/bin/exe-pending-notifications.js +2829 -1376
- package/dist/bin/exe-pending-reviews.js +2847 -1392
- package/dist/bin/exe-rename.js +89 -8
- package/dist/bin/exe-review.js +1494 -312
- package/dist/bin/exe-search.js +1608 -1300
- package/dist/bin/exe-session-cleanup.js +194 -91
- package/dist/bin/exe-settings.js +10 -2
- package/dist/bin/exe-start-codex.js +769 -120
- package/dist/bin/exe-start-opencode.js +763 -108
- package/dist/bin/exe-status.js +1887 -434
- package/dist/bin/exe-team.js +1782 -324
- package/dist/bin/git-sweep.js +408 -33
- package/dist/bin/graph-backfill.js +681 -27
- package/dist/bin/graph-export.js +1419 -141
- package/dist/bin/install.js +4 -8
- package/dist/bin/intercom-check.js +8641 -0
- package/dist/bin/scan-tasks.js +553 -38
- package/dist/bin/setup.js +82 -10
- package/dist/bin/shard-migrate.js +682 -28
- package/dist/gateway/index.js +1629 -1295
- package/dist/hooks/bug-report-worker.js +1136 -183
- package/dist/hooks/codex-stop-task-finalizer.js +1060 -107
- package/dist/hooks/commit-complete.js +408 -33
- package/dist/hooks/error-recall.js +1608 -1300
- package/dist/hooks/ingest-worker.js +250 -7966
- package/dist/hooks/ingest.js +707 -119
- package/dist/hooks/instructions-loaded.js +383 -20
- package/dist/hooks/notification.js +383 -20
- package/dist/hooks/post-compact.js +384 -21
- package/dist/hooks/{response-ingest-worker.js → post-tool-combined.js} +4157 -1716
- package/dist/hooks/pre-compact.js +486 -45
- package/dist/hooks/pre-tool-use.js +385 -22
- package/dist/hooks/prompt-submit.js +291 -96
- package/dist/hooks/session-end.js +490 -48
- package/dist/hooks/session-start.js +236 -22
- package/dist/hooks/stop.js +192 -50
- package/dist/hooks/subagent-stop.js +95 -18
- package/dist/hooks/summary-worker.js +205 -361
- package/dist/index.js +221 -105
- package/dist/lib/agent-config.js +2 -2
- package/dist/lib/cloud-sync.js +27 -8
- package/dist/lib/consolidation.js +437 -41
- package/dist/lib/database.js +20 -8
- package/dist/lib/db-daemon-client.js +2 -2
- package/dist/lib/db.js +20 -8
- package/dist/lib/device-registry.js +27 -8
- package/dist/lib/employee-templates.js +62 -0
- package/dist/lib/employees.js +2 -2
- package/dist/lib/exe-daemon.js +6703 -6259
- package/dist/lib/hybrid-search.js +1608 -1300
- package/dist/lib/identity.js +1 -1
- package/dist/lib/messaging.js +11 -3
- package/dist/lib/reminders.js +1 -1
- package/dist/lib/schedules.js +718 -26
- package/dist/lib/session-registry.js +11 -0
- package/dist/lib/skill-learning.js +639 -9
- package/dist/lib/store.js +676 -27
- package/dist/lib/tasks.js +665 -27
- package/dist/lib/tmux-routing.js +732 -94
- package/dist/lib/token-spend.js +1 -1
- package/dist/mcp/server.js +856 -383
- package/dist/mcp/tools/complete-reminder.js +1 -1
- package/dist/mcp/tools/create-reminder.js +1 -1
- package/dist/mcp/tools/create-task.js +616 -46
- package/dist/mcp/tools/deactivate-behavior.js +9 -1
- package/dist/mcp/tools/list-reminders.js +1 -1
- package/dist/mcp/tools/list-tasks.js +10 -2
- package/dist/mcp/tools/send-message.js +11 -3
- package/dist/mcp/tools/update-task.js +677 -39
- package/dist/runtime/index.js +425 -37
- package/dist/tui/App.js +365 -34
- package/package.json +5 -2
- package/src/commands/exe/intercom.md +6 -17
- package/dist/bin/wiki-sync.js +0 -2991
- package/dist/hooks/prompt-ingest-worker.js +0 -3979
|
@@ -104,6 +104,13 @@ var init_config = __esm({
|
|
|
104
104
|
}
|
|
105
105
|
});
|
|
106
106
|
|
|
107
|
+
// src/types/memory.ts
|
|
108
|
+
var init_memory = __esm({
|
|
109
|
+
"src/types/memory.ts"() {
|
|
110
|
+
"use strict";
|
|
111
|
+
}
|
|
112
|
+
});
|
|
113
|
+
|
|
107
114
|
// src/mcp/tools/deactivate-behavior.ts
|
|
108
115
|
import { z } from "zod";
|
|
109
116
|
|
|
@@ -171,6 +178,7 @@ var BOOLEAN_COLUMN_NAMES = new Set(
|
|
|
171
178
|
);
|
|
172
179
|
|
|
173
180
|
// src/lib/database.ts
|
|
181
|
+
init_memory();
|
|
174
182
|
var _resilientClient = null;
|
|
175
183
|
var _daemonClient = null;
|
|
176
184
|
var _adapterClient = null;
|
|
@@ -178,7 +186,7 @@ function getClient() {
|
|
|
178
186
|
if (!_adapterClient) {
|
|
179
187
|
throw new Error("Database client not initialized. Call initDatabase() first.");
|
|
180
188
|
}
|
|
181
|
-
if (process.env.DATABASE_URL) {
|
|
189
|
+
if (process.env.DATABASE_URL && process.env.EXE_USE_POSTGRES === "1") {
|
|
182
190
|
return _adapterClient;
|
|
183
191
|
}
|
|
184
192
|
if (process.env.EXE_IS_DAEMON === "1") {
|
|
@@ -146,7 +146,7 @@ function getClient() {
|
|
|
146
146
|
if (!_adapterClient) {
|
|
147
147
|
throw new Error("Database client not initialized. Call initDatabase() first.");
|
|
148
148
|
}
|
|
149
|
-
if (process.env.DATABASE_URL) {
|
|
149
|
+
if (process.env.DATABASE_URL && process.env.EXE_USE_POSTGRES === "1") {
|
|
150
150
|
return _adapterClient;
|
|
151
151
|
}
|
|
152
152
|
if (process.env.EXE_IS_DAEMON === "1") {
|
|
@@ -186,13 +186,20 @@ var init_database_adapter = __esm({
|
|
|
186
186
|
}
|
|
187
187
|
});
|
|
188
188
|
|
|
189
|
+
// src/types/memory.ts
|
|
190
|
+
var init_memory = __esm({
|
|
191
|
+
"src/types/memory.ts"() {
|
|
192
|
+
"use strict";
|
|
193
|
+
}
|
|
194
|
+
});
|
|
195
|
+
|
|
189
196
|
// src/lib/database.ts
|
|
190
197
|
import { createClient } from "@libsql/client";
|
|
191
198
|
function getClient() {
|
|
192
199
|
if (!_adapterClient) {
|
|
193
200
|
throw new Error("Database client not initialized. Call initDatabase() first.");
|
|
194
201
|
}
|
|
195
|
-
if (process.env.DATABASE_URL) {
|
|
202
|
+
if (process.env.DATABASE_URL && process.env.EXE_USE_POSTGRES === "1") {
|
|
196
203
|
return _adapterClient;
|
|
197
204
|
}
|
|
198
205
|
if (process.env.EXE_IS_DAEMON === "1") {
|
|
@@ -210,6 +217,7 @@ var init_database = __esm({
|
|
|
210
217
|
init_db_retry();
|
|
211
218
|
init_employees();
|
|
212
219
|
init_database_adapter();
|
|
220
|
+
init_memory();
|
|
213
221
|
_resilientClient = null;
|
|
214
222
|
_daemonClient = null;
|
|
215
223
|
_adapterClient = null;
|
|
@@ -479,7 +487,7 @@ var init_agent_config = __esm({
|
|
|
479
487
|
init_secure_files();
|
|
480
488
|
AGENT_CONFIG_PATH = path5.join(EXE_AI_DIR, "agent-config.json");
|
|
481
489
|
DEFAULT_MODELS = {
|
|
482
|
-
claude: "claude-opus-4",
|
|
490
|
+
claude: "claude-opus-4.6",
|
|
483
491
|
codex: RUNTIME_TABLE.codex?.defaultModel ?? "gpt-5.4",
|
|
484
492
|
opencode: RUNTIME_TABLE.opencode?.defaultModel ?? "anthropic/claude-sonnet-4-6"
|
|
485
493
|
};
|
|
@@ -197,13 +197,20 @@ var init_database_adapter = __esm({
|
|
|
197
197
|
}
|
|
198
198
|
});
|
|
199
199
|
|
|
200
|
+
// src/types/memory.ts
|
|
201
|
+
var init_memory = __esm({
|
|
202
|
+
"src/types/memory.ts"() {
|
|
203
|
+
"use strict";
|
|
204
|
+
}
|
|
205
|
+
});
|
|
206
|
+
|
|
200
207
|
// src/lib/database.ts
|
|
201
208
|
import { createClient } from "@libsql/client";
|
|
202
209
|
function getClient() {
|
|
203
210
|
if (!_adapterClient) {
|
|
204
211
|
throw new Error("Database client not initialized. Call initDatabase() first.");
|
|
205
212
|
}
|
|
206
|
-
if (process.env.DATABASE_URL) {
|
|
213
|
+
if (process.env.DATABASE_URL && process.env.EXE_USE_POSTGRES === "1") {
|
|
207
214
|
return _adapterClient;
|
|
208
215
|
}
|
|
209
216
|
if (process.env.EXE_IS_DAEMON === "1") {
|
|
@@ -221,6 +228,7 @@ var init_database = __esm({
|
|
|
221
228
|
init_db_retry();
|
|
222
229
|
init_employees();
|
|
223
230
|
init_database_adapter();
|
|
231
|
+
init_memory();
|
|
224
232
|
_resilientClient = null;
|
|
225
233
|
_daemonClient = null;
|
|
226
234
|
_adapterClient = null;
|
|
@@ -507,7 +515,7 @@ var init_agent_config = __esm({
|
|
|
507
515
|
init_secure_files();
|
|
508
516
|
AGENT_CONFIG_PATH = path5.join(EXE_AI_DIR, "agent-config.json");
|
|
509
517
|
DEFAULT_MODELS = {
|
|
510
|
-
claude: "claude-opus-4",
|
|
518
|
+
claude: "claude-opus-4.6",
|
|
511
519
|
codex: RUNTIME_TABLE.codex?.defaultModel ?? "gpt-5.4",
|
|
512
520
|
opencode: RUNTIME_TABLE.opencode?.defaultModel ?? "anthropic/claude-sonnet-4-6"
|
|
513
521
|
};
|
|
@@ -751,7 +759,7 @@ function getSessionState(sessionName) {
|
|
|
751
759
|
function isExeSession(sessionName) {
|
|
752
760
|
const matchesBaseWithInstance = (baseName) => sessionName === baseName || sessionName.startsWith(baseName) && /^\d+$/.test(sessionName.slice(baseName.length));
|
|
753
761
|
const coordinatorName = getCoordinatorName();
|
|
754
|
-
return matchesBaseWithInstance(coordinatorName)
|
|
762
|
+
return matchesBaseWithInstance(coordinatorName);
|
|
755
763
|
}
|
|
756
764
|
function sendIntercom(targetSession) {
|
|
757
765
|
const transport = getTransport();
|