@askexenow/exe-os 0.9.87 → 0.9.89
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/compose/docker-compose.yml +3 -3
- package/dist/bin/age-ontology-load.js +8 -2
- package/dist/bin/agentic-ontology-backfill.js +11 -0
- package/dist/bin/agentic-reflection-backfill.js +11 -0
- package/dist/bin/agentic-semantic-label.js +11 -0
- package/dist/bin/backfill-conversations.js +12 -0
- package/dist/bin/backfill-responses.js +12 -0
- package/dist/bin/backfill-vectors.js +12 -0
- package/dist/bin/bulk-sync-postgres.js +29 -1
- package/dist/bin/cc-doctor.js +3 -2
- package/dist/bin/cleanup-stale-review-tasks.js +12 -0
- package/dist/bin/cli.js +170 -15
- package/dist/bin/exe-agent.js +1 -0
- package/dist/bin/exe-assign.js +12 -0
- package/dist/bin/exe-boot.js +139 -4
- package/dist/bin/exe-call.js +2 -0
- package/dist/bin/exe-cloud.js +138 -3
- package/dist/bin/exe-dispatch.js +12 -1
- package/dist/bin/exe-doctor.js +12 -0
- package/dist/bin/exe-export-behaviors.js +11 -0
- package/dist/bin/exe-forget.js +12 -0
- package/dist/bin/exe-gateway.js +132 -35
- package/dist/bin/exe-healthcheck.js +2 -1
- package/dist/bin/exe-heartbeat.js +12 -0
- package/dist/bin/exe-kill.js +11 -0
- package/dist/bin/exe-launch-agent.js +11 -0
- package/dist/bin/exe-new-employee.js +4 -2
- package/dist/bin/exe-pending-messages.js +11 -0
- package/dist/bin/exe-pending-notifications.js +12 -0
- package/dist/bin/exe-pending-reviews.js +12 -0
- package/dist/bin/exe-rename.js +12 -0
- package/dist/bin/exe-review.js +12 -0
- package/dist/bin/exe-search.js +12 -0
- package/dist/bin/exe-session-cleanup.js +12 -1
- package/dist/bin/exe-settings.js +3 -0
- package/dist/bin/exe-start-codex.js +13 -2
- package/dist/bin/exe-start-opencode.js +13 -2
- package/dist/bin/exe-status.js +12 -0
- package/dist/bin/exe-team.js +12 -0
- package/dist/bin/git-sweep.js +12 -1
- package/dist/bin/graph-backfill.js +11 -0
- package/dist/bin/graph-export.js +11 -0
- package/dist/bin/graph-layer-benchmark.js +9 -1
- package/dist/bin/intercom-check.js +13 -1
- package/dist/bin/list-providers.js +1 -0
- package/dist/bin/postgres-agentic-reflection-backfill.js +7 -1
- package/dist/bin/postgres-agentic-semantic-backfill.js +7 -1
- package/dist/bin/registry-proxy.js +1 -0
- package/dist/bin/scan-tasks.js +13 -1
- package/dist/bin/setup.js +141 -7
- package/dist/bin/shard-migrate.js +11 -0
- package/dist/bin/stack-update.js +24 -7
- package/dist/bin/update.js +5 -0
- package/dist/gateway/index.js +12 -1
- package/dist/hooks/bug-report-worker.js +12 -1
- package/dist/hooks/codex-stop-task-finalizer.js +12 -1
- package/dist/hooks/commit-complete.js +12 -1
- package/dist/hooks/error-recall.js +11 -0
- package/dist/hooks/ingest.js +11 -0
- package/dist/hooks/instructions-loaded.js +11 -0
- package/dist/hooks/notification.js +11 -0
- package/dist/hooks/post-compact.js +11 -0
- package/dist/hooks/post-tool-combined.js +11 -0
- package/dist/hooks/pre-compact.js +12 -1
- package/dist/hooks/pre-tool-use.js +11 -0
- package/dist/hooks/prompt-submit.js +12 -1
- package/dist/hooks/session-end.js +12 -1
- package/dist/hooks/session-start.js +11 -0
- package/dist/hooks/stop.js +11 -0
- package/dist/hooks/subagent-stop.js +11 -0
- package/dist/hooks/summary-worker.js +137 -3
- package/dist/index.js +12 -1
- package/dist/lib/cloud-sync.js +136 -2
- package/dist/lib/consolidation.js +1 -0
- package/dist/lib/database.js +11 -0
- package/dist/lib/db.js +11 -0
- package/dist/lib/device-registry.js +11 -0
- package/dist/lib/employee-templates.js +1 -0
- package/dist/lib/exe-daemon.js +771 -49
- package/dist/lib/hybrid-search.js +11 -0
- package/dist/lib/identity.js +1 -0
- package/dist/lib/messaging.js +2 -1
- package/dist/lib/reminders.js +1 -0
- package/dist/lib/schedules.js +11 -0
- package/dist/lib/skill-learning.js +1 -0
- package/dist/lib/store.js +11 -0
- package/dist/lib/tasks.js +2 -1
- package/dist/lib/tmux-routing.js +2 -1
- package/dist/lib/token-spend.js +1 -0
- package/dist/lib/ws-client.js +8 -0
- package/dist/mcp/server.js +613 -27
- package/dist/mcp/tools/complete-reminder.js +1 -0
- package/dist/mcp/tools/create-reminder.js +1 -0
- package/dist/mcp/tools/create-task.js +2 -1
- package/dist/mcp/tools/deactivate-behavior.js +1 -0
- package/dist/mcp/tools/list-reminders.js +1 -0
- package/dist/mcp/tools/list-tasks.js +1 -0
- package/dist/mcp/tools/send-message.js +2 -1
- package/dist/mcp/tools/update-task.js +2 -1
- package/dist/runtime/index.js +12 -1
- package/dist/tui/App.js +12 -1
- package/package.json +2 -2
|
@@ -1700,6 +1700,7 @@ __export(database_exports, {
|
|
|
1700
1700
|
isInitialized: () => isInitialized,
|
|
1701
1701
|
setExternalClient: () => setExternalClient
|
|
1702
1702
|
});
|
|
1703
|
+
import { chmodSync as chmodSync2 } from "fs";
|
|
1703
1704
|
import { createClient } from "@libsql/client";
|
|
1704
1705
|
async function initDatabase(config) {
|
|
1705
1706
|
if (_walCheckpointTimer) {
|
|
@@ -1741,6 +1742,16 @@ async function initDatabase(config) {
|
|
|
1741
1742
|
if (process.env.DATABASE_URL && process.env.EXE_USE_POSTGRES === "1") {
|
|
1742
1743
|
_adapterClient = await createPrismaDbAdapter(_resilientClient);
|
|
1743
1744
|
}
|
|
1745
|
+
try {
|
|
1746
|
+
chmodSync2(config.dbPath, 384);
|
|
1747
|
+
for (const suffix of ["-wal", "-shm"]) {
|
|
1748
|
+
try {
|
|
1749
|
+
chmodSync2(config.dbPath + suffix, 384);
|
|
1750
|
+
} catch {
|
|
1751
|
+
}
|
|
1752
|
+
}
|
|
1753
|
+
} catch {
|
|
1754
|
+
}
|
|
1744
1755
|
}
|
|
1745
1756
|
function isInitialized() {
|
|
1746
1757
|
return _adapterClient !== null || _client !== null;
|
package/dist/lib/identity.js
CHANGED
package/dist/lib/messaging.js
CHANGED
|
@@ -212,6 +212,7 @@ var init_memory = __esm({
|
|
|
212
212
|
});
|
|
213
213
|
|
|
214
214
|
// src/lib/database.ts
|
|
215
|
+
import { chmodSync as chmodSync2 } from "fs";
|
|
215
216
|
import { createClient } from "@libsql/client";
|
|
216
217
|
function getClient() {
|
|
217
218
|
if (!_adapterClient) {
|
|
@@ -551,7 +552,7 @@ function readQueue() {
|
|
|
551
552
|
function writeQueue(queue) {
|
|
552
553
|
ensureDir();
|
|
553
554
|
const tmp = `${QUEUE_PATH}.tmp`;
|
|
554
|
-
writeFileSync3(tmp, JSON.stringify(queue, null, 2));
|
|
555
|
+
writeFileSync3(tmp, JSON.stringify(queue, null, 2), { mode: 384 });
|
|
555
556
|
renameSync3(tmp, QUEUE_PATH);
|
|
556
557
|
}
|
|
557
558
|
function queueIntercom(targetSession, reason) {
|
package/dist/lib/reminders.js
CHANGED
package/dist/lib/schedules.js
CHANGED
|
@@ -1486,6 +1486,7 @@ __export(database_exports, {
|
|
|
1486
1486
|
isInitialized: () => isInitialized,
|
|
1487
1487
|
setExternalClient: () => setExternalClient
|
|
1488
1488
|
});
|
|
1489
|
+
import { chmodSync as chmodSync2 } from "fs";
|
|
1489
1490
|
import { createClient } from "@libsql/client";
|
|
1490
1491
|
async function initDatabase(config) {
|
|
1491
1492
|
if (_walCheckpointTimer) {
|
|
@@ -1527,6 +1528,16 @@ async function initDatabase(config) {
|
|
|
1527
1528
|
if (process.env.DATABASE_URL && process.env.EXE_USE_POSTGRES === "1") {
|
|
1528
1529
|
_adapterClient = await createPrismaDbAdapter(_resilientClient);
|
|
1529
1530
|
}
|
|
1531
|
+
try {
|
|
1532
|
+
chmodSync2(config.dbPath, 384);
|
|
1533
|
+
for (const suffix of ["-wal", "-shm"]) {
|
|
1534
|
+
try {
|
|
1535
|
+
chmodSync2(config.dbPath + suffix, 384);
|
|
1536
|
+
} catch {
|
|
1537
|
+
}
|
|
1538
|
+
}
|
|
1539
|
+
} catch {
|
|
1540
|
+
}
|
|
1530
1541
|
}
|
|
1531
1542
|
function isInitialized() {
|
|
1532
1543
|
return _adapterClient !== null || _client !== null;
|
package/dist/lib/store.js
CHANGED
|
@@ -1486,6 +1486,7 @@ __export(database_exports, {
|
|
|
1486
1486
|
isInitialized: () => isInitialized,
|
|
1487
1487
|
setExternalClient: () => setExternalClient
|
|
1488
1488
|
});
|
|
1489
|
+
import { chmodSync as chmodSync2 } from "fs";
|
|
1489
1490
|
import { createClient } from "@libsql/client";
|
|
1490
1491
|
async function initDatabase(config) {
|
|
1491
1492
|
if (_walCheckpointTimer) {
|
|
@@ -1527,6 +1528,16 @@ async function initDatabase(config) {
|
|
|
1527
1528
|
if (process.env.DATABASE_URL && process.env.EXE_USE_POSTGRES === "1") {
|
|
1528
1529
|
_adapterClient = await createPrismaDbAdapter(_resilientClient);
|
|
1529
1530
|
}
|
|
1531
|
+
try {
|
|
1532
|
+
chmodSync2(config.dbPath, 384);
|
|
1533
|
+
for (const suffix of ["-wal", "-shm"]) {
|
|
1534
|
+
try {
|
|
1535
|
+
chmodSync2(config.dbPath + suffix, 384);
|
|
1536
|
+
} catch {
|
|
1537
|
+
}
|
|
1538
|
+
}
|
|
1539
|
+
} catch {
|
|
1540
|
+
}
|
|
1530
1541
|
}
|
|
1531
1542
|
function isInitialized() {
|
|
1532
1543
|
return _adapterClient !== null || _client !== null;
|
package/dist/lib/tasks.js
CHANGED
|
@@ -439,6 +439,7 @@ var init_memory = __esm({
|
|
|
439
439
|
});
|
|
440
440
|
|
|
441
441
|
// src/lib/database.ts
|
|
442
|
+
import { chmodSync as chmodSync2 } from "fs";
|
|
442
443
|
import { createClient } from "@libsql/client";
|
|
443
444
|
function getClient() {
|
|
444
445
|
if (!_adapterClient) {
|
|
@@ -853,7 +854,7 @@ function readQueue() {
|
|
|
853
854
|
function writeQueue(queue) {
|
|
854
855
|
ensureDir();
|
|
855
856
|
const tmp = `${QUEUE_PATH}.tmp`;
|
|
856
|
-
writeFileSync4(tmp, JSON.stringify(queue, null, 2));
|
|
857
|
+
writeFileSync4(tmp, JSON.stringify(queue, null, 2), { mode: 384 });
|
|
857
858
|
renameSync3(tmp, QUEUE_PATH);
|
|
858
859
|
}
|
|
859
860
|
function queueIntercom(targetSession, reason) {
|
package/dist/lib/tmux-routing.js
CHANGED
|
@@ -711,7 +711,7 @@ function readQueue() {
|
|
|
711
711
|
function writeQueue(queue) {
|
|
712
712
|
ensureDir();
|
|
713
713
|
const tmp = `${QUEUE_PATH}.tmp`;
|
|
714
|
-
writeFileSync3(tmp, JSON.stringify(queue, null, 2));
|
|
714
|
+
writeFileSync3(tmp, JSON.stringify(queue, null, 2), { mode: 384 });
|
|
715
715
|
renameSync2(tmp, QUEUE_PATH);
|
|
716
716
|
}
|
|
717
717
|
function queueIntercom(targetSession, reason) {
|
|
@@ -919,6 +919,7 @@ var init_memory = __esm({
|
|
|
919
919
|
});
|
|
920
920
|
|
|
921
921
|
// src/lib/database.ts
|
|
922
|
+
import { chmodSync as chmodSync2 } from "fs";
|
|
922
923
|
import { createClient } from "@libsql/client";
|
|
923
924
|
function getClient() {
|
|
924
925
|
if (!_adapterClient) {
|
package/dist/lib/token-spend.js
CHANGED
package/dist/lib/ws-client.js
CHANGED
|
@@ -39,6 +39,14 @@ function createWsClient(config, handlers) {
|
|
|
39
39
|
let currentProjects = [];
|
|
40
40
|
function connect() {
|
|
41
41
|
if (closed) return;
|
|
42
|
+
if (ws) {
|
|
43
|
+
try {
|
|
44
|
+
ws.onopen = ws.onmessage = ws.onclose = ws.onerror = null;
|
|
45
|
+
ws.close();
|
|
46
|
+
} catch {
|
|
47
|
+
}
|
|
48
|
+
ws = null;
|
|
49
|
+
}
|
|
42
50
|
try {
|
|
43
51
|
const url = `${config.endpoint}?org=${config.orgId}`;
|
|
44
52
|
ws = new WebSocket(url, {
|