@askexenow/exe-os 0.9.200 → 0.9.201
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/{active-agent-LCEW3PSL.js → active-agent-3MLX4YOU.js} +2 -2
- package/dist/{active-agent-J3YKAXE2.js → active-agent-MTJPQ57G.js} +2 -2
- package/dist/{agentic-ontology-N5HXDWIN.js → agentic-ontology-HPFKQFA2.js} +1 -1
- package/dist/{backfill-metadata-LIACQP2F.js → backfill-metadata-5INYRXJX.js} +3 -3
- package/dist/{behaviors-GXMZW7B3.js → behaviors-TIOFWD4T.js} +2 -2
- package/dist/bin/agentic-ontology-backfill.js +4 -4
- package/dist/bin/agentic-reflection-backfill.js +5 -5
- package/dist/bin/agentic-semantic-label.js +4 -4
- package/dist/bin/backfill-conversations.js +3 -3
- package/dist/bin/backfill-responses.js +3 -3
- package/dist/bin/backfill-vectors.js +4 -4
- package/dist/bin/bulk-sync-postgres.js +5 -5
- package/dist/bin/cleanup-stale-review-tasks.js +6 -6
- package/dist/bin/cli.js +12 -12
- package/dist/bin/exe-agent-config.js +1 -1
- package/dist/bin/exe-agent.js +3 -3
- package/dist/bin/exe-assign.js +4 -4
- package/dist/bin/exe-boot.js +13 -13
- package/dist/bin/exe-call.js +3 -3
- package/dist/bin/exe-cloud.js +3 -3
- package/dist/bin/exe-dispatch.js +6 -6
- package/dist/bin/exe-doctor.js +1 -1
- package/dist/bin/exe-export-behaviors.js +6 -6
- package/dist/bin/exe-forget.js +5 -5
- package/dist/bin/exe-gateway.js +5 -5
- package/dist/bin/exe-heartbeat.js +6 -6
- package/dist/bin/exe-kill.js +9 -9
- package/dist/bin/exe-launch-agent.js +9 -9
- package/dist/bin/exe-new-employee.js +5 -5
- package/dist/bin/exe-pending-messages.js +7 -7
- package/dist/bin/exe-pending-notifications.js +6 -6
- package/dist/bin/exe-pending-reviews.js +6 -6
- package/dist/bin/exe-rename.js +3 -3
- package/dist/bin/exe-review.js +8 -8
- package/dist/bin/exe-search.js +4 -4
- package/dist/bin/exe-session-cleanup.js +10 -10
- package/dist/bin/exe-settings.js +3 -3
- package/dist/bin/exe-start-codex.js +10 -10
- package/dist/bin/exe-start-opencode.js +7 -7
- package/dist/bin/exe-status.js +7 -7
- package/dist/bin/exe-team.js +2 -2
- package/dist/bin/git-sweep.js +6 -6
- package/dist/bin/graph-backfill.js +3 -3
- package/dist/bin/graph-export.js +4 -4
- package/dist/bin/import-history.js +4 -4
- package/dist/bin/install.js +5 -5
- package/dist/bin/intercom-check.js +4 -4
- package/dist/bin/orchestration-metrics.js +3 -3
- package/dist/bin/postgres-agentic-reflection-backfill.js +2 -2
- package/dist/bin/postgres-agentic-semantic-backfill.js +1 -1
- package/dist/bin/scan-tasks.js +6 -6
- package/dist/bin/setup.js +1 -1
- package/dist/bin/shard-migrate.js +4 -4
- package/dist/{capacity-monitor-HJSJ2PCF.js → capacity-monitor-4VPGKKQH.js} +7 -7
- package/dist/{catchup-brief-XD7IJBMN.js → catchup-brief-K2A2NCMS.js} +8 -8
- package/dist/{chunk-TJHE2HYS.js → chunk-3V7D5SCM.js} +3 -3
- package/dist/{chunk-LWYXWPZZ.js → chunk-4WQIB264.js} +6 -6
- package/dist/{chunk-P6PKNRFD.js → chunk-66LJM3KL.js} +3 -3
- package/dist/{chunk-XZQWEY5S.js → chunk-6NLHVC6U.js} +1 -1
- package/dist/{chunk-QQXMGLSN.js → chunk-7LC5HGA3.js} +8 -8
- package/dist/{chunk-HVUBZOOT.js → chunk-7VU6CZCK.js} +2 -2
- package/dist/{chunk-BDRSCPCG.js → chunk-7ZIRLFIF.js} +1 -1
- package/dist/{chunk-IOEK5ZX6.js → chunk-A4NG62X6.js} +1 -1
- package/dist/{chunk-K3FJHQ3F.js → chunk-AIOJFN5D.js} +2 -2
- package/dist/{chunk-SUNFUS3O.js → chunk-AJN3W6XB.js} +1 -1
- package/dist/{chunk-HGO5VFED.js → chunk-AVHQPIJS.js} +1 -1
- package/dist/{chunk-X2KLWLCB.js → chunk-B4K4EJH7.js} +1 -1
- package/dist/{chunk-TBZB4PPZ.js → chunk-B5N4DMXM.js} +3 -3
- package/dist/{chunk-ZB3TDCXG.js → chunk-BCTU72UR.js} +1 -1
- package/dist/{chunk-HUIYZHN3.js → chunk-C2YR6BZY.js} +1 -1
- package/dist/{chunk-VQB4VBEQ.js → chunk-CCYOB56Q.js} +1 -1
- package/dist/{chunk-OW4QI3K4.js → chunk-DFQY6G4L.js} +3 -3
- package/dist/{chunk-Z4FV45FW.js → chunk-DXFNVS44.js} +1 -1
- package/dist/{chunk-43HRNKQX.js → chunk-EDFYSZ4U.js} +53 -53
- package/dist/{chunk-LWM3FUGY.js → chunk-EJM2YUF4.js} +1 -1
- package/dist/{chunk-KEJ3HOBN.js → chunk-GKKMANTG.js} +1 -1
- package/dist/{chunk-7Y4F7IPJ.js → chunk-GSV24ZVZ.js} +4 -4
- package/dist/{chunk-PIJSZELU.js → chunk-HF7Y4UZO.js} +2 -2
- package/dist/{chunk-X33TOTUD.js → chunk-I5IWVRZY.js} +2 -2
- package/dist/{chunk-LLYF22CH.js → chunk-IAPOGI6M.js} +2 -2
- package/dist/{chunk-WXQRFDY4.js → chunk-J2TSYNVM.js} +8 -8
- package/dist/{chunk-AVRQWLQR.js → chunk-J6CSL7AY.js} +4 -4
- package/dist/{chunk-XPOMXVWI.js → chunk-K7XLE7UI.js} +3 -1
- package/dist/{chunk-ZZODXCWK.js → chunk-LT26OOIB.js} +1 -1
- package/dist/{chunk-P4LUVVX4.js → chunk-M6S7HVFP.js} +2 -2
- package/dist/{chunk-WVNKXOWZ.js → chunk-MBFVJSSH.js} +1 -1
- package/dist/{chunk-ATVB6CY7.js → chunk-MLQFGVFJ.js} +1 -1
- package/dist/{chunk-AWYLVIGA.js → chunk-MSUJ3UBS.js} +2 -2
- package/dist/{chunk-6UZHYTLV.js → chunk-MXLB2M2O.js} +10 -10
- package/dist/{chunk-NOSCV7MH.js → chunk-MYVI6V7L.js} +3 -3
- package/dist/{chunk-GR53PEEH.js → chunk-NC3NOZHH.js} +1 -1
- package/dist/{chunk-GSKJ72LT.js → chunk-OOTPPSOX.js} +4 -4
- package/dist/{chunk-KVVCXK3J.js → chunk-P7QVZZBS.js} +3 -3
- package/dist/{chunk-YZNGBIXU.js → chunk-POS4PUM7.js} +1 -1
- package/dist/{chunk-QOW5EEYO.js → chunk-Q3FTA4GX.js} +1 -1
- package/dist/{chunk-EEG6E34W.js → chunk-QR7CQJVJ.js} +1 -1
- package/dist/{chunk-LKBN6BFL.js → chunk-RC35BWOO.js} +2 -2
- package/dist/{chunk-C5A3L3HS.js → chunk-SXTHSDJQ.js} +4 -4
- package/dist/{chunk-GKQXZZBT.js → chunk-T4EQ5SKI.js} +1 -1
- package/dist/{chunk-OOMA2AEM.js → chunk-TRQJQYG5.js} +1 -1
- package/dist/{chunk-K6A7ZE2F.js → chunk-UCDMLKE5.js} +1 -1
- package/dist/{chunk-7YTVWNSS.js → chunk-VBKEAVEU.js} +2 -2
- package/dist/{chunk-F3QROFHP.js → chunk-WI6BQ4T3.js} +2 -2
- package/dist/{chunk-E5P2TY4E.js → chunk-XASY3SCH.js} +1 -1
- package/dist/{chunk-3HM6MZ4O.js → chunk-YCEJCFU5.js} +22 -2
- package/dist/{chunk-2EYYW724.js → chunk-ZE36U2GK.js} +2 -2
- package/dist/{co-occurrence-6OAMOUTF.js → co-occurrence-J5WOOCWD.js} +1 -1
- package/dist/{crdt-sync-6EI7LAPI.js → crdt-sync-NGSP5WQE.js} +1 -1
- package/dist/{crm-webhook-LEWQNEDD.js → crm-webhook-ZQUDBLHY.js} +2 -2
- package/dist/{cto-delegation-gate-GXRHD4WX.js → cto-delegation-gate-A77BCIAB.js} +5 -5
- package/dist/{daemon-orchestration-QOKZVECP.js → daemon-orchestration-AVB5PPC5.js} +8 -8
- package/dist/{exe-drift-N2IDPAQ7.js → exe-drift-BUVZV7DK.js} +2 -2
- package/dist/{exe-export-63FYZTV3.js → exe-export-QJEIYCKB.js} +4 -4
- package/dist/{exe-import-T5OPTK5T.js → exe-import-SGSX3QML.js} +4 -4
- package/dist/{exe-key-ROFJ6HUG.js → exe-key-Y7DAEMSK.js} +1 -1
- package/dist/{fast-db-init-GC4SYSFV.js → fast-db-init-UTA7SHEE.js} +1 -1
- package/dist/gateway/index.js +6 -6
- package/dist/{git-staleness-QKURDEMW.js → git-staleness-WTDE4H4D.js} +1 -1
- package/dist/{git-task-sweep-5YHZF2E5.js → git-task-sweep-SHTK3F7G.js} +6 -6
- package/dist/{global-procedures-PQKUKKM6.js → global-procedures-K3B3GTHA.js} +2 -2
- package/dist/{graph-auto-extract-GUEMG3Q3.js → graph-auto-extract-ZCVUFK6M.js} +1 -1
- package/dist/hooks/bug-report-worker.js +7 -7
- package/dist/hooks/codex-stop-task-finalizer.js +7 -7
- package/dist/hooks/commit-complete.js +8 -8
- package/dist/hooks/error-recall.js +5 -5
- package/dist/hooks/exe-heartbeat-hook.js +2 -2
- package/dist/hooks/ingest.js +5 -5
- package/dist/hooks/instructions-loaded.js +3 -3
- package/dist/hooks/manifest.json +19 -19
- package/dist/hooks/notification.js +3 -3
- package/dist/hooks/post-compact.js +7 -7
- package/dist/hooks/post-tool-combined.js +4 -4
- package/dist/hooks/pre-compact.js +8 -8
- package/dist/hooks/pre-tool-use.js +11 -11
- package/dist/hooks/prompt-submit.js +16 -16
- package/dist/hooks/session-end.js +10 -10
- package/dist/hooks/session-start.js +7 -7
- package/dist/hooks/stop.js +11 -11
- package/dist/hooks/subagent-stop.js +7 -7
- package/dist/hooks/summary-worker.js +11 -11
- package/dist/index.js +13 -13
- package/dist/{installer-Z4LBQTL6.js → installer-D47RNEJB.js} +4 -4
- package/dist/{installer-AYN7WB62.js → installer-WVQDUS7O.js} +4 -4
- package/dist/{installer-D4XB27FY.js → installer-YBYJZLUT.js} +4 -4
- package/dist/lib/cloud-sync.js +3 -3
- package/dist/lib/consolidation.js +4 -4
- package/dist/lib/database.js +1 -1
- package/dist/lib/db.js +1 -1
- package/dist/lib/employee-templates.js +3 -3
- package/dist/lib/employees.js +1 -1
- package/dist/lib/exe-daemon.js +22 -22
- package/dist/lib/hybrid-search.js +4 -4
- package/dist/lib/identity.js +1 -1
- package/dist/lib/messaging.js +6 -6
- package/dist/lib/reminders.js +2 -2
- package/dist/lib/schedules.js +4 -4
- package/dist/lib/skill-learning.js +3 -3
- package/dist/lib/store.js +3 -3
- package/dist/lib/task-router.js +2 -2
- package/dist/lib/tasks.js +6 -6
- package/dist/lib/tmux-routing.js +5 -5
- package/dist/lib/token-spend.js +2 -2
- package/dist/mcp/register-tools.js +44 -44
- package/dist/mcp/server.js +45 -45
- package/dist/mcp/tools/complete-reminder.js +3 -3
- package/dist/mcp/tools/create-reminder.js +3 -3
- package/dist/mcp/tools/create-task.js +8 -8
- package/dist/mcp/tools/deactivate-behavior.js +4 -4
- package/dist/mcp/tools/list-reminders.js +3 -3
- package/dist/mcp/tools/list-tasks.js +8 -8
- package/dist/mcp/tools/send-message.js +8 -8
- package/dist/mcp/tools/update-task.js +7 -7
- package/dist/{mcp-http-config-JFGNXQ5M.js → mcp-http-config-DWN2POKM.js} +2 -2
- package/dist/{memory-cards-QHCHERFV.js → memory-cards-VIKEUPGO.js} +1 -1
- package/dist/{memory-graph-extractor-RAF4M3YY.js → memory-graph-extractor-OP2BSF43.js} +2 -2
- package/dist/{memory-poisoning-defense-M4E6D6NI.js → memory-poisoning-defense-EKMAAXMH.js} +1 -1
- package/dist/{memory-reflection-OVQDAOKW.js → memory-reflection-AAST2U2M.js} +1 -1
- package/dist/{notifications-QCZJTMU4.js → notifications-SWILJ3AV.js} +5 -5
- package/dist/{orchestrator-RETZBZNU.js → orchestrator-L6OFTLK5.js} +7 -7
- package/dist/{plan-limits-KY5FB6FM.js → plan-limits-J2BJEBN6.js} +2 -2
- package/dist/{projection-worker-B4FYF4FS.js → projection-worker-QPE2JIKS.js} +1 -1
- package/dist/{reranker-DLESU7S4.js → reranker-342RISOC.js} +1 -1
- package/dist/{review-polling-S4HD536T.js → review-polling-TKQXLTIA.js} +6 -6
- package/dist/runtime/index.js +8 -8
- package/dist/{session-events-TRCSYKGW.js → session-events-OPOXDEPH.js} +6 -6
- package/dist/{session-kill-telemetry-WBB7YHWC.js → session-kill-telemetry-GBNUQABY.js} +2 -2
- package/dist/{session-scope-H6H7EVMH.js → session-scope-J2ODEL37.js} +5 -5
- package/dist/{setup-wizard-QGJEHEJP.js → setup-wizard-FQBIZQWP.js} +1 -1
- package/dist/{shard-manager-KXLEDDBB.js → shard-manager-GWMFNY2I.js} +1 -1
- package/dist/{skill-refinement-DDFALKOD.js → skill-refinement-GYK7FZCH.js} +1 -1
- package/dist/{task-enforcement-7NCE6NJC.js → task-enforcement-IPXSAJA5.js} +5 -5
- package/dist/{task-scope-C7QECQSB.js → task-scope-JREB33TH.js} +5 -5
- package/dist/{tasks-crud-4VGXAUW5.js → tasks-crud-V3IQ5GLV.js} +5 -5
- package/dist/{tasks-review-ATHR7IZK.js → tasks-review-PEEMO6RY.js} +5 -5
- package/dist/{token-budget-2ZZRFSHF.js → token-budget-ES3IEZPJ.js} +1 -1
- package/dist/{tool-telemetry-EWE2YR2K.js → tool-telemetry-JVQX5FJV.js} +1 -1
- package/dist/tui/App.js +13 -13
- package/dist/{tui-data-LQQ66HCW.js → tui-data-NJUK2RNW.js} +5 -5
- package/dist/{worker-gate-POIBNVX7.js → worker-gate-4KF5ZRWT.js} +1 -1
- package/dist/{workflow-engine-MA2H5JEZ.js → workflow-engine-DHMTGUAO.js} +2 -2
- package/package.json +1 -1
- package/release-notes.json +47 -47
- /package/dist/{chunk-GOA7VQT7.js → chunk-5QVJ5TBF.js} +0 -0
- /package/dist/{chunk-SY4TZ224.js → chunk-HGU4YCR3.js} +0 -0
- /package/dist/{chunk-JMMYWY7C.js → chunk-HIECEYMN.js} +0 -0
- /package/dist/{chunk-Z6AUK6YH.js → chunk-KGSFR6V3.js} +0 -0
- /package/dist/{chunk-I3B4QG5C.js → chunk-MYESASW3.js} +0 -0
- /package/dist/{chunk-LZPZ67IT.js → chunk-TFV7MDCX.js} +0 -0
- /package/dist/{chunk-6YFGFW4V.js → chunk-XZCSY5ID.js} +0 -0
- /package/dist/{chunk-2GHDAIDB.js → chunk-YLBBPZO3.js} +0 -0
- /package/dist/{chunk-35ES3HTI.js → chunk-ZOX6DPP3.js} +0 -0
- /package/dist/{core-memory-4QNM6MZ5.js → core-memory-B7VPSYUP.js} +0 -0
- /package/dist/{wiki-acl-UTITDXLT.js → wiki-acl-UOSBRX3O.js} +0 -0
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
listWorkflowDefinitions,
|
|
3
3
|
runWorkflow,
|
|
4
4
|
startWorkflow
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-AJN3W6XB.js";
|
|
6
6
|
import {
|
|
7
7
|
initCRMBridge
|
|
8
8
|
} from "./chunk-ONKIWA3R.js";
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
} from "./chunk-MP2AFCGL.js";
|
|
12
12
|
import {
|
|
13
13
|
getClient
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-YCEJCFU5.js";
|
|
15
15
|
|
|
16
16
|
// src/gateway/router.ts
|
|
17
17
|
function matchesPlatform(msgPlatform, matchPlatform) {
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
findScopedDuplicate,
|
|
7
7
|
governMemoryRecord,
|
|
8
8
|
schedulePostWriteMemoryHygiene
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-HGU4YCR3.js";
|
|
10
10
|
import {
|
|
11
11
|
orgBus
|
|
12
12
|
} from "./chunk-MP2AFCGL.js";
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
ensureSchema,
|
|
16
16
|
getClient,
|
|
17
17
|
initTurso
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-YCEJCFU5.js";
|
|
19
19
|
import {
|
|
20
20
|
EMBEDDING_DIM
|
|
21
21
|
} from "./chunk-FXU7JOXK.js";
|
|
@@ -139,7 +139,7 @@ async function initStore(options) {
|
|
|
139
139
|
if (!options?.lightweight) {
|
|
140
140
|
try {
|
|
141
141
|
if (process.env.EXE_DISABLE_SHARDING !== "1") {
|
|
142
|
-
const { initShardManager } = await import("./shard-manager-
|
|
142
|
+
const { initShardManager } = await import("./shard-manager-GWMFNY2I.js");
|
|
143
143
|
initShardManager(hexKey);
|
|
144
144
|
}
|
|
145
145
|
} catch (e) {
|
|
@@ -152,7 +152,7 @@ async function initStore(options) {
|
|
|
152
152
|
);
|
|
153
153
|
_nextVersion = (Number(vResult.rows[0]?.max_v) || 0) + 1;
|
|
154
154
|
try {
|
|
155
|
-
const { loadGlobalProcedures } = await import("./global-procedures-
|
|
155
|
+
const { loadGlobalProcedures } = await import("./global-procedures-K3B3GTHA.js");
|
|
156
156
|
await loadGlobalProcedures();
|
|
157
157
|
} catch (e) {
|
|
158
158
|
logStoreWarn("catch", e);
|
|
@@ -279,7 +279,7 @@ async function writeMemory(record) {
|
|
|
279
279
|
keywords: record.keywords ?? keywordsToString(extractKeywords(record.raw_text))
|
|
280
280
|
};
|
|
281
281
|
try {
|
|
282
|
-
const { checkMemoryPoisoning } = await import("./memory-poisoning-defense-
|
|
282
|
+
const { checkMemoryPoisoning } = await import("./memory-poisoning-defense-EKMAAXMH.js");
|
|
283
283
|
const poisonResult = await checkMemoryPoisoning({
|
|
284
284
|
memoryId: dbRow.id,
|
|
285
285
|
vector: Array.isArray(dbRow.vector) ? dbRow.vector : void 0,
|
|
@@ -465,19 +465,19 @@ async function flushBatch() {
|
|
|
465
465
|
}
|
|
466
466
|
_nextVersion = baseVersion;
|
|
467
467
|
try {
|
|
468
|
-
const { insertMemoryCardsForBatch } = await import("./memory-cards-
|
|
468
|
+
const { insertMemoryCardsForBatch } = await import("./memory-cards-VIKEUPGO.js");
|
|
469
469
|
await insertMemoryCardsForBatch(batch);
|
|
470
470
|
} catch (e) {
|
|
471
471
|
logStoreWarn("catch", e);
|
|
472
472
|
}
|
|
473
473
|
try {
|
|
474
|
-
const { insertOntologyForBatch } = await import("./agentic-ontology-
|
|
474
|
+
const { insertOntologyForBatch } = await import("./agentic-ontology-HPFKQFA2.js");
|
|
475
475
|
await insertOntologyForBatch(batch);
|
|
476
476
|
} catch (e) {
|
|
477
477
|
logStoreWarn("catch", e);
|
|
478
478
|
}
|
|
479
479
|
try {
|
|
480
|
-
const { extractGraphForBatch } = await import("./memory-graph-extractor-
|
|
480
|
+
const { extractGraphForBatch } = await import("./memory-graph-extractor-OP2BSF43.js");
|
|
481
481
|
await extractGraphForBatch(batch);
|
|
482
482
|
} catch (e) {
|
|
483
483
|
logStoreWarn("catch", e);
|
|
@@ -485,7 +485,7 @@ async function flushBatch() {
|
|
|
485
485
|
schedulePostWriteMemoryHygiene(batch.map((row) => row.id));
|
|
486
486
|
_pendingRecords.splice(0, batch.length);
|
|
487
487
|
try {
|
|
488
|
-
const { isShardingEnabled, getReadyShardClient } = await import("./shard-manager-
|
|
488
|
+
const { isShardingEnabled, getReadyShardClient } = await import("./shard-manager-GWMFNY2I.js");
|
|
489
489
|
if (process.env.EXE_DISABLE_SHARDING !== "1" && isShardingEnabled()) {
|
|
490
490
|
const byProject = /* @__PURE__ */ new Map();
|
|
491
491
|
let skippedUnknown = 0;
|
|
@@ -562,7 +562,7 @@ function buildRawVisibilityFilter(options, columnPrefix) {
|
|
|
562
562
|
async function searchMemories(queryVector, agentId, options) {
|
|
563
563
|
let client;
|
|
564
564
|
try {
|
|
565
|
-
const { isShardingEnabled, shardExists, getReadyShardClient } = await import("./shard-manager-
|
|
565
|
+
const { isShardingEnabled, shardExists, getReadyShardClient } = await import("./shard-manager-GWMFNY2I.js");
|
|
566
566
|
if (isShardingEnabled() && options?.projectName && shardExists(options.projectName)) {
|
|
567
567
|
client = await getReadyShardClient(options.projectName);
|
|
568
568
|
} else {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
fastDbInit
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-ZOX6DPP3.js";
|
|
4
4
|
import {
|
|
5
5
|
sessionScopeFilter
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-J2TSYNVM.js";
|
|
7
7
|
import {
|
|
8
8
|
formatStatusAll,
|
|
9
9
|
formatStatusDeep,
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
getClient,
|
|
15
15
|
isCoordinatorRole,
|
|
16
16
|
loadEmployees
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-YCEJCFU5.js";
|
|
18
18
|
import {
|
|
19
19
|
isMainModule
|
|
20
20
|
} from "./chunk-6Y4B3QF6.js";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
recordSessionKill
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-LT26OOIB.js";
|
|
4
4
|
import {
|
|
5
5
|
updateTask
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-J6CSL7AY.js";
|
|
7
7
|
import {
|
|
8
8
|
ensureEmployee,
|
|
9
9
|
extractRootExe,
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
sessionScopeFilter,
|
|
15
15
|
strictSessionScopeFilter,
|
|
16
16
|
writeNotification
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-J2TSYNVM.js";
|
|
18
18
|
import {
|
|
19
19
|
queueIntercom
|
|
20
20
|
} from "./chunk-QI4IXJN7.js";
|
|
@@ -35,7 +35,7 @@ import {
|
|
|
35
35
|
baseAgentName,
|
|
36
36
|
isCoordinatorName,
|
|
37
37
|
shouldAutoInstance
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-YCEJCFU5.js";
|
|
39
39
|
import {
|
|
40
40
|
loadConfigSync
|
|
41
41
|
} from "./chunk-4GXRETYL.js";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
deactivateBehavior
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-BCTU72UR.js";
|
|
4
4
|
import {
|
|
5
5
|
getActiveAgent
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-Q3FTA4GX.js";
|
|
7
7
|
import {
|
|
8
8
|
canCoordinate,
|
|
9
9
|
getClient
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-YCEJCFU5.js";
|
|
11
11
|
|
|
12
12
|
// src/mcp/tools/deactivate-behavior.ts
|
|
13
13
|
import { z } from "zod";
|
|
@@ -4,10 +4,10 @@ import {
|
|
|
4
4
|
resolveExeSession,
|
|
5
5
|
sendIntercom,
|
|
6
6
|
strictSessionScopeFilter
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-J2TSYNVM.js";
|
|
8
8
|
import {
|
|
9
9
|
getClient
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-YCEJCFU5.js";
|
|
11
11
|
|
|
12
12
|
// src/lib/messaging.ts
|
|
13
13
|
import crypto from "crypto";
|
|
@@ -589,7 +589,7 @@ function auditHookOwnership() {
|
|
|
589
589
|
}
|
|
590
590
|
async function auditShards() {
|
|
591
591
|
try {
|
|
592
|
-
const { auditShardHealth } = await import("./shard-manager-
|
|
592
|
+
const { auditShardHealth } = await import("./shard-manager-GWMFNY2I.js");
|
|
593
593
|
const report = await auditShardHealth();
|
|
594
594
|
return {
|
|
595
595
|
total: report.total,
|
|
@@ -849,7 +849,7 @@ function formatReport(report, flags) {
|
|
|
849
849
|
return lines.join("\n");
|
|
850
850
|
}
|
|
851
851
|
async function fixNullVectors() {
|
|
852
|
-
const { tryAcquireWorkerSlot, registerWorkerPid } = await import("./worker-gate-
|
|
852
|
+
const { tryAcquireWorkerSlot, registerWorkerPid } = await import("./worker-gate-4KF5ZRWT.js");
|
|
853
853
|
if (!tryAcquireWorkerSlot()) {
|
|
854
854
|
process.stderr.write("[exe-doctor] Worker gate full \u2014 waiting for existing backfill workers to finish\n");
|
|
855
855
|
await new Promise((r) => setTimeout(r, 5e3));
|
|
@@ -933,7 +933,7 @@ async function fixBloated(client, bloated, dryRun) {
|
|
|
933
933
|
return chunksCreated;
|
|
934
934
|
}
|
|
935
935
|
async function fixShards(dryRun) {
|
|
936
|
-
const { auditShardHealth } = await import("./shard-manager-
|
|
936
|
+
const { auditShardHealth } = await import("./shard-manager-GWMFNY2I.js");
|
|
937
937
|
const report = await auditShardHealth({ repair: true, dryRun });
|
|
938
938
|
return {
|
|
939
939
|
total: report.total,
|
|
@@ -970,7 +970,7 @@ function splitAtSentences(text, maxChunkSize) {
|
|
|
970
970
|
}
|
|
971
971
|
async function main(argv = process.argv.slice(2)) {
|
|
972
972
|
const flags = parseFlags(argv);
|
|
973
|
-
const { fastDbInit } = await import("./fast-db-init-
|
|
973
|
+
const { fastDbInit } = await import("./fast-db-init-UTA7SHEE.js");
|
|
974
974
|
const client = await fastDbInit();
|
|
975
975
|
const report = await runAudit(client, flags);
|
|
976
976
|
console.log(formatReport(report, flags));
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getClient
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-YCEJCFU5.js";
|
|
4
4
|
|
|
5
5
|
// src/lib/memory-graph-extractor.ts
|
|
6
6
|
function entityId(type, name) {
|
|
@@ -179,7 +179,7 @@ async function upsertMemoryGraph(result, memoryId) {
|
|
|
179
179
|
});
|
|
180
180
|
}
|
|
181
181
|
try {
|
|
182
|
-
const { createCoOccurrenceEdges } = await import("./co-occurrence-
|
|
182
|
+
const { createCoOccurrenceEdges } = await import("./co-occurrence-J5WOOCWD.js");
|
|
183
183
|
await createCoOccurrenceEdges(result.entities, memoryId);
|
|
184
184
|
} catch {
|
|
185
185
|
}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
vectorToBlob
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-MXLB2M2O.js";
|
|
4
4
|
import {
|
|
5
5
|
extractKeywords,
|
|
6
6
|
keywordsToString
|
|
7
7
|
} from "./chunk-CHCA3ZM2.js";
|
|
8
8
|
import {
|
|
9
9
|
isCoordinatorName
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-YCEJCFU5.js";
|
|
11
11
|
|
|
12
12
|
// src/lib/consolidation.ts
|
|
13
13
|
import { randomUUID } from "crypto";
|
|
@@ -13,10 +13,10 @@ import {
|
|
|
13
13
|
} from "./chunk-LYH5HE24.js";
|
|
14
14
|
|
|
15
15
|
// src/lib/database.ts
|
|
16
|
-
import { chmodSync, existsSync as existsSync3, statSync, copyFileSync, unlinkSync as unlinkSync2, openSync, closeSync, mkdirSync as mkdirSync2, renameSync as renameSync2 } from "fs";
|
|
16
|
+
import { chmodSync, existsSync as existsSync3, statSync, copyFileSync, unlinkSync as unlinkSync2, openSync, closeSync, mkdirSync as mkdirSync2, renameSync as renameSync2, readdirSync as readdirSync2 } from "fs";
|
|
17
17
|
import { createClient } from "@libsql/client";
|
|
18
18
|
import { homedir } from "os";
|
|
19
|
-
import { join } from "path";
|
|
19
|
+
import { join, dirname, basename } from "path";
|
|
20
20
|
|
|
21
21
|
// src/lib/db-retry.ts
|
|
22
22
|
var MAX_RETRIES = 5;
|
|
@@ -1307,6 +1307,26 @@ async function initDatabase(config) {
|
|
|
1307
1307
|
_adapterClient = _resilientClient;
|
|
1308
1308
|
}
|
|
1309
1309
|
}
|
|
1310
|
+
try {
|
|
1311
|
+
const dbDir = dirname(config.dbPath);
|
|
1312
|
+
const dbBase = basename(config.dbPath);
|
|
1313
|
+
const maxAge = 7 * 24 * 60 * 60 * 1e3;
|
|
1314
|
+
const now = Date.now();
|
|
1315
|
+
for (const f of readdirSync2(dbDir)) {
|
|
1316
|
+
if (!f.startsWith(dbBase + ".corrupt-") && !f.startsWith(dbBase + ".zeroed-")) continue;
|
|
1317
|
+
const filePath = join(dbDir, f);
|
|
1318
|
+
try {
|
|
1319
|
+
const st = statSync(filePath);
|
|
1320
|
+
if (now - st.mtimeMs > maxAge) {
|
|
1321
|
+
unlinkSync2(filePath);
|
|
1322
|
+
process.stderr.write(`[database] Cleaned up old corrupt backup: ${f} (${Math.round(st.size / 1024 / 1024)}MB)
|
|
1323
|
+
`);
|
|
1324
|
+
}
|
|
1325
|
+
} catch {
|
|
1326
|
+
}
|
|
1327
|
+
}
|
|
1328
|
+
} catch {
|
|
1329
|
+
}
|
|
1310
1330
|
if (_walCheckpointTimer) clearInterval(_walCheckpointTimer);
|
|
1311
1331
|
_walCheckpointTimer = setInterval(() => {
|
|
1312
1332
|
_client?.execute("PRAGMA wal_checkpoint(PASSIVE)").catch(() => {
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-GNHN5HRQ.js";
|
|
4
4
|
import {
|
|
5
5
|
buildClaudeHttpMcpEntry
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-UCDMLKE5.js";
|
|
7
7
|
import {
|
|
8
8
|
EXE_HOOKS,
|
|
9
9
|
isLegacyHomeDirHookCommand,
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
} from "./chunk-L3TB7CC3.js";
|
|
12
12
|
import {
|
|
13
13
|
ensureAllAgentSymlinks
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-MLQFGVFJ.js";
|
|
15
15
|
import {
|
|
16
16
|
MCP_LEGACY_KEY,
|
|
17
17
|
MCP_PRIMARY_KEY
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
2
|
sessionScopeFilter
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-J2TSYNVM.js";
|
|
4
4
|
import "./chunk-RN6XYY7U.js";
|
|
5
5
|
import "./chunk-QI4IXJN7.js";
|
|
6
6
|
import "./chunk-64WZEXXA.js";
|
|
7
7
|
import "./chunk-TXWQPL2U.js";
|
|
8
8
|
import "./chunk-CSTJQDOE.js";
|
|
9
9
|
import "./chunk-GZIAQYGI.js";
|
|
10
|
-
import "./chunk-
|
|
10
|
+
import "./chunk-7ZIRLFIF.js";
|
|
11
11
|
import "./chunk-ZQX6UOP6.js";
|
|
12
12
|
import "./chunk-H2CFBUGF.js";
|
|
13
13
|
import "./chunk-NGP6LSV2.js";
|
|
14
|
-
import "./chunk-
|
|
14
|
+
import "./chunk-CCYOB56Q.js";
|
|
15
15
|
import "./chunk-CVYC6DUW.js";
|
|
16
16
|
import "./chunk-OPU3NYOO.js";
|
|
17
17
|
import "./chunk-GJV3WDWM.js";
|
|
18
18
|
import "./chunk-MP2AFCGL.js";
|
|
19
|
-
import "./chunk-
|
|
19
|
+
import "./chunk-MLQFGVFJ.js";
|
|
20
20
|
import "./chunk-HYZV25LY.js";
|
|
21
21
|
import {
|
|
22
22
|
getClient,
|
|
23
23
|
getEmployeeByRole,
|
|
24
24
|
loadEmployeesSync
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-YCEJCFU5.js";
|
|
26
26
|
import "./chunk-RVSGXGWG.js";
|
|
27
27
|
import "./chunk-FXU7JOXK.js";
|
|
28
28
|
import "./chunk-MVMMULOJ.js";
|
|
@@ -48,28 +48,28 @@ import {
|
|
|
48
48
|
shouldKillIdleSession,
|
|
49
49
|
shouldKillSession,
|
|
50
50
|
shouldNudgeEmployee
|
|
51
|
-
} from "./chunk-
|
|
52
|
-
import "./chunk-
|
|
53
|
-
import "./chunk-
|
|
54
|
-
import "./chunk-
|
|
51
|
+
} from "./chunk-OOTPPSOX.js";
|
|
52
|
+
import "./chunk-LT26OOIB.js";
|
|
53
|
+
import "./chunk-J6CSL7AY.js";
|
|
54
|
+
import "./chunk-J2TSYNVM.js";
|
|
55
55
|
import "./chunk-RN6XYY7U.js";
|
|
56
56
|
import "./chunk-QI4IXJN7.js";
|
|
57
57
|
import "./chunk-64WZEXXA.js";
|
|
58
58
|
import "./chunk-TXWQPL2U.js";
|
|
59
59
|
import "./chunk-CSTJQDOE.js";
|
|
60
60
|
import "./chunk-GZIAQYGI.js";
|
|
61
|
-
import "./chunk-
|
|
61
|
+
import "./chunk-7ZIRLFIF.js";
|
|
62
62
|
import "./chunk-ZQX6UOP6.js";
|
|
63
63
|
import "./chunk-H2CFBUGF.js";
|
|
64
64
|
import "./chunk-NGP6LSV2.js";
|
|
65
|
-
import "./chunk-
|
|
65
|
+
import "./chunk-CCYOB56Q.js";
|
|
66
66
|
import "./chunk-CVYC6DUW.js";
|
|
67
67
|
import "./chunk-OPU3NYOO.js";
|
|
68
68
|
import "./chunk-GJV3WDWM.js";
|
|
69
69
|
import "./chunk-MP2AFCGL.js";
|
|
70
|
-
import "./chunk-
|
|
70
|
+
import "./chunk-MLQFGVFJ.js";
|
|
71
71
|
import "./chunk-HYZV25LY.js";
|
|
72
|
-
import "./chunk-
|
|
72
|
+
import "./chunk-YCEJCFU5.js";
|
|
73
73
|
import "./chunk-RVSGXGWG.js";
|
|
74
74
|
import "./chunk-FXU7JOXK.js";
|
|
75
75
|
import "./chunk-MVMMULOJ.js";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
runDriftProbes
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-A4NG62X6.js";
|
|
5
|
+
import "./chunk-YCEJCFU5.js";
|
|
6
6
|
import "./chunk-RVSGXGWG.js";
|
|
7
7
|
import "./chunk-FXU7JOXK.js";
|
|
8
8
|
import "./chunk-4GXRETYL.js";
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
exportOrchestration
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-C2YR6BZY.js";
|
|
5
5
|
import "./chunk-2ZYEO7U7.js";
|
|
6
6
|
import {
|
|
7
7
|
disposeStore,
|
|
8
8
|
initStore
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-MXLB2M2O.js";
|
|
10
10
|
import "./chunk-CHCA3ZM2.js";
|
|
11
|
-
import "./chunk-
|
|
11
|
+
import "./chunk-HGU4YCR3.js";
|
|
12
12
|
import "./chunk-MP2AFCGL.js";
|
|
13
|
-
import "./chunk-
|
|
13
|
+
import "./chunk-YCEJCFU5.js";
|
|
14
14
|
import "./chunk-RVSGXGWG.js";
|
|
15
15
|
import "./chunk-FXU7JOXK.js";
|
|
16
16
|
import "./chunk-6D23UNXU.js";
|
|
@@ -2,16 +2,16 @@
|
|
|
2
2
|
import {
|
|
3
3
|
importOrchestration,
|
|
4
4
|
validatePackage
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-C2YR6BZY.js";
|
|
6
6
|
import "./chunk-2ZYEO7U7.js";
|
|
7
7
|
import {
|
|
8
8
|
disposeStore,
|
|
9
9
|
initStore
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-MXLB2M2O.js";
|
|
11
11
|
import "./chunk-CHCA3ZM2.js";
|
|
12
|
-
import "./chunk-
|
|
12
|
+
import "./chunk-HGU4YCR3.js";
|
|
13
13
|
import "./chunk-MP2AFCGL.js";
|
|
14
|
-
import "./chunk-
|
|
14
|
+
import "./chunk-YCEJCFU5.js";
|
|
15
15
|
import "./chunk-RVSGXGWG.js";
|
|
16
16
|
import "./chunk-FXU7JOXK.js";
|
|
17
17
|
import "./chunk-6D23UNXU.js";
|
package/dist/gateway/index.js
CHANGED
|
@@ -11,11 +11,11 @@ import {
|
|
|
11
11
|
createSignupBot,
|
|
12
12
|
ensureCRMContact,
|
|
13
13
|
formatAlert
|
|
14
|
-
} from "../chunk-
|
|
14
|
+
} from "../chunk-M6S7HVFP.js";
|
|
15
15
|
import {
|
|
16
16
|
createCRMWebhookHandler,
|
|
17
17
|
parseTwentyWebhook
|
|
18
|
-
} from "../chunk-
|
|
18
|
+
} from "../chunk-TRQJQYG5.js";
|
|
19
19
|
import {
|
|
20
20
|
WhatsAppAdapter
|
|
21
21
|
} from "../chunk-ECSNSHZ7.js";
|
|
@@ -56,8 +56,8 @@ import {
|
|
|
56
56
|
retryWithBackoff,
|
|
57
57
|
routeMessage,
|
|
58
58
|
validateGatewayConfig
|
|
59
|
-
} from "../chunk-
|
|
60
|
-
import "../chunk-
|
|
59
|
+
} from "../chunk-MSUJ3UBS.js";
|
|
60
|
+
import "../chunk-AJN3W6XB.js";
|
|
61
61
|
import {
|
|
62
62
|
OllamaProvider
|
|
63
63
|
} from "../chunk-FWFFZGSC.js";
|
|
@@ -71,7 +71,7 @@ import {
|
|
|
71
71
|
getDefaultAccount,
|
|
72
72
|
loadAccounts
|
|
73
73
|
} from "../chunk-YGAAZN3E.js";
|
|
74
|
-
import "../chunk-
|
|
74
|
+
import "../chunk-MYESASW3.js";
|
|
75
75
|
import {
|
|
76
76
|
createPerson,
|
|
77
77
|
findPersonByContact,
|
|
@@ -82,7 +82,7 @@ import {
|
|
|
82
82
|
pushInboundMessageToCRM
|
|
83
83
|
} from "../chunk-ONKIWA3R.js";
|
|
84
84
|
import "../chunk-MP2AFCGL.js";
|
|
85
|
-
import "../chunk-
|
|
85
|
+
import "../chunk-YCEJCFU5.js";
|
|
86
86
|
import "../chunk-RVSGXGWG.js";
|
|
87
87
|
import "../chunk-FXU7JOXK.js";
|
|
88
88
|
import "../chunk-4GXRETYL.js";
|
|
@@ -4,26 +4,26 @@ import {
|
|
|
4
4
|
getRecentCommits,
|
|
5
5
|
matchScore,
|
|
6
6
|
sweepTasks
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import "./chunk-
|
|
7
|
+
} from "./chunk-HF7Y4UZO.js";
|
|
8
|
+
import "./chunk-J2TSYNVM.js";
|
|
9
9
|
import "./chunk-RN6XYY7U.js";
|
|
10
10
|
import "./chunk-QI4IXJN7.js";
|
|
11
11
|
import "./chunk-64WZEXXA.js";
|
|
12
12
|
import "./chunk-TXWQPL2U.js";
|
|
13
13
|
import "./chunk-CSTJQDOE.js";
|
|
14
14
|
import "./chunk-GZIAQYGI.js";
|
|
15
|
-
import "./chunk-
|
|
15
|
+
import "./chunk-7ZIRLFIF.js";
|
|
16
16
|
import "./chunk-ZQX6UOP6.js";
|
|
17
17
|
import "./chunk-H2CFBUGF.js";
|
|
18
18
|
import "./chunk-NGP6LSV2.js";
|
|
19
|
-
import "./chunk-
|
|
19
|
+
import "./chunk-CCYOB56Q.js";
|
|
20
20
|
import "./chunk-CVYC6DUW.js";
|
|
21
21
|
import "./chunk-OPU3NYOO.js";
|
|
22
22
|
import "./chunk-GJV3WDWM.js";
|
|
23
23
|
import "./chunk-MP2AFCGL.js";
|
|
24
|
-
import "./chunk-
|
|
24
|
+
import "./chunk-MLQFGVFJ.js";
|
|
25
25
|
import "./chunk-HYZV25LY.js";
|
|
26
|
-
import "./chunk-
|
|
26
|
+
import "./chunk-YCEJCFU5.js";
|
|
27
27
|
import "./chunk-RVSGXGWG.js";
|
|
28
28
|
import "./chunk-FXU7JOXK.js";
|
|
29
29
|
import "./chunk-MVMMULOJ.js";
|