@tekmidian/pai 0.44.0 → 0.45.0
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/cli/index.mjs +2 -2
- package/dist/cli/program.mjs +2 -2
- package/dist/daemon/index.mjs +3 -3
- package/dist/{daemon-ebLDoKM3.mjs → daemon-DNBEFHaj.mjs} +5 -5
- package/dist/{daemon-ebLDoKM3.mjs.map → daemon-DNBEFHaj.mjs.map} +1 -1
- package/dist/{daemon-BVbvL8IA.mjs → daemon-Dq2ZSdex.mjs} +3 -3
- package/dist/hooks/context-compression-hook.mjs.map +2 -2
- package/dist/hooks/load-project-context.mjs +28 -12
- package/dist/hooks/load-project-context.mjs.map +2 -2
- package/dist/hooks/post-compact-inject.mjs.map +2 -2
- package/dist/{program-cr5U1-DK.mjs → program-DvuMelhj.mjs} +36 -4
- package/dist/program-DvuMelhj.mjs.map +1 -0
- package/dist/{tools-DiRC5glA.mjs → tools-B77WHeVZ.mjs} +2 -2
- package/dist/{tools-DiRC5glA.mjs.map → tools-B77WHeVZ.mjs.map} +1 -1
- package/dist/{tools-CAG2sUjf.mjs → tools-NnR_n-Ja.mjs} +2 -2
- package/dist/{wakeup-BfElduEU.mjs → wakeup-UrhiW-KU.mjs} +27 -14
- package/dist/wakeup-UrhiW-KU.mjs.map +1 -0
- package/package.json +1 -1
- package/src/hooks/ts/lib/context-fill.ts +12 -6
- package/src/hooks/ts/session-start/load-project-context.ts +5 -1
- package/dist/program-cr5U1-DK.mjs.map +0 -1
- package/dist/wakeup-BfElduEU.mjs.map +0 -1
package/dist/cli/index.mjs
CHANGED
|
@@ -7,7 +7,7 @@ import "../helpers-crDEr6S2.mjs";
|
|
|
7
7
|
import "../sync-Btcb6xA4.mjs";
|
|
8
8
|
import "../embeddings-DvRKcQyt.mjs";
|
|
9
9
|
import "../search-B69cQwDB.mjs";
|
|
10
|
-
import { n as drainStdio, t as buildProgram } from "../program-
|
|
10
|
+
import { n as drainStdio, t as buildProgram } from "../program-DvuMelhj.mjs";
|
|
11
11
|
import "../context-handover-cache-B9NKSjwR.mjs";
|
|
12
12
|
import "../config-DCu8THKi.mjs";
|
|
13
13
|
import "../config-DxMZjpvY.mjs";
|
|
@@ -15,7 +15,7 @@ import "../run-BgExF8Xg.mjs";
|
|
|
15
15
|
import "../indexer-C5Le7XE7.mjs";
|
|
16
16
|
import "../ipc-client-C6NryMMb.mjs";
|
|
17
17
|
import "../factory-DNYAqjH0.mjs";
|
|
18
|
-
import "../wakeup-
|
|
18
|
+
import "../wakeup-UrhiW-KU.mjs";
|
|
19
19
|
import "../main-resolver-DvYu9jbl.mjs";
|
|
20
20
|
import "../server-Ch99xt5K.mjs";
|
|
21
21
|
import "../state-PJrgfDLW.mjs";
|
package/dist/cli/program.mjs
CHANGED
|
@@ -6,7 +6,7 @@ import "../helpers-crDEr6S2.mjs";
|
|
|
6
6
|
import "../sync-Btcb6xA4.mjs";
|
|
7
7
|
import "../embeddings-DvRKcQyt.mjs";
|
|
8
8
|
import "../search-B69cQwDB.mjs";
|
|
9
|
-
import { t as buildProgram } from "../program-
|
|
9
|
+
import { t as buildProgram } from "../program-DvuMelhj.mjs";
|
|
10
10
|
import "../context-handover-cache-B9NKSjwR.mjs";
|
|
11
11
|
import "../config-DCu8THKi.mjs";
|
|
12
12
|
import "../config-DxMZjpvY.mjs";
|
|
@@ -14,7 +14,7 @@ import "../run-BgExF8Xg.mjs";
|
|
|
14
14
|
import "../indexer-C5Le7XE7.mjs";
|
|
15
15
|
import "../ipc-client-C6NryMMb.mjs";
|
|
16
16
|
import "../factory-DNYAqjH0.mjs";
|
|
17
|
-
import "../wakeup-
|
|
17
|
+
import "../wakeup-UrhiW-KU.mjs";
|
|
18
18
|
import "../main-resolver-DvYu9jbl.mjs";
|
|
19
19
|
import "../server-Ch99xt5K.mjs";
|
|
20
20
|
import "../state-PJrgfDLW.mjs";
|
package/dist/daemon/index.mjs
CHANGED
|
@@ -14,12 +14,12 @@ import "../run-BgExF8Xg.mjs";
|
|
|
14
14
|
import "../indexer-C5Le7XE7.mjs";
|
|
15
15
|
import { t as PaiClient } from "../ipc-client-C6NryMMb.mjs";
|
|
16
16
|
import "../factory-DNYAqjH0.mjs";
|
|
17
|
-
import "../wakeup-
|
|
17
|
+
import "../wakeup-UrhiW-KU.mjs";
|
|
18
18
|
import "../server-Ch99xt5K.mjs";
|
|
19
19
|
import "../state-PJrgfDLW.mjs";
|
|
20
|
-
import { t as serve } from "../daemon-
|
|
20
|
+
import { t as serve } from "../daemon-DNBEFHaj.mjs";
|
|
21
21
|
import "../router-DBAZfE7X.mjs";
|
|
22
|
-
import "../tools-
|
|
22
|
+
import "../tools-B77WHeVZ.mjs";
|
|
23
23
|
import "../detector-DWXkeTlk.mjs";
|
|
24
24
|
import "../work-queue-worker-BA5IDBwQ.mjs";
|
|
25
25
|
import { Command } from "commander";
|
|
@@ -11,7 +11,7 @@ import { n as getBackendOutage, t as createStorageBackend } from "./factory-DNYA
|
|
|
11
11
|
import { _ as workersLogDir, m as ledgerPath, p as eventsPath } from "./server-Ch99xt5K.mjs";
|
|
12
12
|
import { A as vaultIndexInProgress, C as setShutdownRequested, D as shutdownRequested, E as setVaultIndexInProgress, O as startTime, S as setRegistryDb, T as setStorageBackend, _ as setIndexSchedulerTimer, a as indexInProgress, b as setLastVaultIndexTime, c as lastIndexTime, d as registryDb, f as setCacheKeepaliveTimer, g as setIndexInProgress, h as setEmbedSchedulerTimer, i as embedSchedulerTimer, k as storageBackend, l as lastVaultIndexTime, m as setEmbedInProgress, n as daemonConfig, o as indexSchedulerTimer, p as setDaemonConfig, r as embedInProgress, s as lastEmbedTime, t as cacheKeepaliveTimer, u as notificationConfig, v as setLastEmbedTime, w as setStartTime, x as setNotificationConfig, y as setLastIndexTime } from "./state-PJrgfDLW.mjs";
|
|
13
13
|
import { t as routeNotification } from "./router-DBAZfE7X.mjs";
|
|
14
|
-
import { C as toolProjectInfo, D as toolMemoryGet, O as toolMemorySearch, S as toolProjectHealth, T as toolProjectTodo, a as toolMemoryWakeup, b as toolSessionRoute, i as toolMemoryTaxonomy, n as toolMemoryFeedback, t as toolMemoryKgSearch, v as toolRegistrySearch, w as toolProjectList, x as toolProjectDetect, y as toolSessionList } from "./tools-
|
|
14
|
+
import { C as toolProjectInfo, D as toolMemoryGet, O as toolMemorySearch, S as toolProjectHealth, T as toolProjectTodo, a as toolMemoryWakeup, b as toolSessionRoute, i as toolMemoryTaxonomy, n as toolMemoryFeedback, t as toolMemoryKgSearch, v as toolRegistrySearch, w as toolProjectList, x as toolProjectDetect, y as toolSessionList } from "./tools-B77WHeVZ.mjs";
|
|
15
15
|
import { t as detectTopicShift } from "./detector-DWXkeTlk.mjs";
|
|
16
16
|
import { i as stopWorker, n as notifyNewWork, r as startWorker } from "./work-queue-worker-BA5IDBwQ.mjs";
|
|
17
17
|
import { appendFileSync, existsSync, mkdirSync, readFileSync, renameSync, unlinkSync, writeFileSync } from "node:fs";
|
|
@@ -1180,7 +1180,7 @@ async function dispatchTool(method, params) {
|
|
|
1180
1180
|
case "zettel_themes":
|
|
1181
1181
|
case "zettel_god_notes":
|
|
1182
1182
|
case "zettel_communities": {
|
|
1183
|
-
const { toolZettelExplore, toolZettelHealth, toolZettelSurprise, toolZettelSuggest, toolZettelConverse, toolZettelThemes, toolZettelGodNotes, toolZettelCommunities } = await import("./tools-
|
|
1183
|
+
const { toolZettelExplore, toolZettelHealth, toolZettelSurprise, toolZettelSuggest, toolZettelConverse, toolZettelThemes, toolZettelGodNotes, toolZettelCommunities } = await import("./tools-NnR_n-Ja.mjs");
|
|
1184
1184
|
switch (method) {
|
|
1185
1185
|
case "zettel_explore": return toolZettelExplore(storageBackend, p);
|
|
1186
1186
|
case "zettel_health": return toolZettelHealth(storageBackend, p);
|
|
@@ -1222,7 +1222,7 @@ async function dispatchTool(method, params) {
|
|
|
1222
1222
|
case "kg_query":
|
|
1223
1223
|
case "kg_invalidate":
|
|
1224
1224
|
case "kg_contradictions": {
|
|
1225
|
-
const { toolKgAdd, toolKgQuery, toolKgInvalidate, toolKgContradictions } = await import("./tools-
|
|
1225
|
+
const { toolKgAdd, toolKgQuery, toolKgInvalidate, toolKgContradictions } = await import("./tools-NnR_n-Ja.mjs");
|
|
1226
1226
|
const pgPool = storageBackend.getPool?.() ?? null;
|
|
1227
1227
|
if (!pgPool) throw new Error(`${method} requires a Postgres storage backend`);
|
|
1228
1228
|
switch (method) {
|
|
@@ -1234,7 +1234,7 @@ async function dispatchTool(method, params) {
|
|
|
1234
1234
|
break;
|
|
1235
1235
|
}
|
|
1236
1236
|
case "memory_tunnels": {
|
|
1237
|
-
const { toolMemoryTunnels } = await import("./tools-
|
|
1237
|
+
const { toolMemoryTunnels } = await import("./tools-NnR_n-Ja.mjs");
|
|
1238
1238
|
return toolMemoryTunnels(registryDb, storageBackend, p);
|
|
1239
1239
|
}
|
|
1240
1240
|
case "memory_feedback": {
|
|
@@ -1941,4 +1941,4 @@ async function serve(config) {
|
|
|
1941
1941
|
|
|
1942
1942
|
//#endregion
|
|
1943
1943
|
export { serve as t };
|
|
1944
|
-
//# sourceMappingURL=daemon-
|
|
1944
|
+
//# sourceMappingURL=daemon-DNBEFHaj.mjs.map
|