@tekmidian/pai 0.32.0 → 0.32.1
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 +2 -2
- package/dist/{daemon-iNuNMMKd.mjs → daemon-1aYEoEQR.mjs} +2 -2
- package/dist/{daemon-iNuNMMKd.mjs.map → daemon-1aYEoEQR.mjs.map} +1 -1
- package/dist/{factory-BydJSrZJ.mjs → factory-Bba0CG2s.mjs} +2 -2
- package/dist/{factory-BydJSrZJ.mjs.map → factory-Bba0CG2s.mjs.map} +1 -1
- package/dist/{pick-DlsM0ppq.mjs → pick-B7UFLePe.mjs} +6 -6
- package/dist/{pick-DlsM0ppq.mjs.map → pick-B7UFLePe.mjs.map} +1 -1
- package/dist/{postgres-DTyxU4B1.mjs → postgres-5IpjMwo_.mjs} +26 -3
- package/dist/postgres-5IpjMwo_.mjs.map +1 -0
- package/package.json +1 -1
- package/dist/postgres-DTyxU4B1.mjs.map +0 -1
|
@@ -11,7 +11,7 @@ import { _ as transcriptFiles, a as readBodyFile, c as loadScanConfig, d as save
|
|
|
11
11
|
import { a as schedulerLogPath, i as paiSocketPath, n as daemonLogPath, r as daemonPidPath } from "./runtime-paths-B0P1TvUr.mjs";
|
|
12
12
|
import { t as PaiClient } from "./ipc-client-aVKVERjJ.mjs";
|
|
13
13
|
import { a as expandHome, c as UNROUTED, i as ensureConfigDir, n as CONFIG_FILE$2, o as loadConfig, s as OWNER_LABEL_PREFIX, t as CONFIG_DIR } from "./config-CcdkNSWa.mjs";
|
|
14
|
-
import { i as humanDuration, t as createStorageBackend } from "./factory-
|
|
14
|
+
import { i as humanDuration, t as createStorageBackend } from "./factory-Bba0CG2s.mjs";
|
|
15
15
|
import { s as kgQuery } from "./kg-entity-r8duqhi9.mjs";
|
|
16
16
|
import { _ as scanSessions, a as renderDedupedSessions, c as probeResume, d as callAiBroker, f as fetchLiveSessions, g as resolveSessionByNameOrId, h as fmtAge, i as normalizeName$2, l as restoreTopLevel, m as sendToSession, o as hasConversation, p as revealItermSession, r as buildDeduped, s as launchInDir, u as printExitDir } from "./main-resolver-DjyUDJrv.mjs";
|
|
17
17
|
import { appendFileSync, chmodSync, copyFileSync, createReadStream, existsSync, lstatSync, mkdirSync, readFileSync, readdirSync, readlinkSync, realpathSync, renameSync, statSync, symlinkSync, unlinkSync, writeFileSync } from "node:fs";
|
|
@@ -3484,7 +3484,7 @@ function cmdLogs(opts) {
|
|
|
3484
3484
|
}
|
|
3485
3485
|
function registerDaemonCommands(daemonCmd) {
|
|
3486
3486
|
daemonCmd.command("serve").description("Start the PAI daemon in the foreground").action(async () => {
|
|
3487
|
-
const { serve } = await import("./daemon-
|
|
3487
|
+
const { serve } = await import("./daemon-1aYEoEQR.mjs").then((n) => n.t);
|
|
3488
3488
|
const { loadConfig: lc, ensureConfigDir } = await import("./config-CcdkNSWa.mjs").then((n) => n.r);
|
|
3489
3489
|
ensureConfigDir();
|
|
3490
3490
|
await serve(lc());
|
|
@@ -11248,7 +11248,7 @@ function cmdActive(db, opts) {
|
|
|
11248
11248
|
async function cmdAutoRoute(opts) {
|
|
11249
11249
|
const { autoRoute, formatAutoRoute, formatAutoRouteJson } = await import("./auto-route-BWGvvpcP.mjs");
|
|
11250
11250
|
const { openRegistry } = await import("./db-BtuN768f.mjs").then((n) => n.t);
|
|
11251
|
-
const { createStorageBackend } = await import("./factory-
|
|
11251
|
+
const { createStorageBackend } = await import("./factory-Bba0CG2s.mjs").then((n) => n.n);
|
|
11252
11252
|
const { loadConfig } = await import("./config-CcdkNSWa.mjs").then((n) => n.r);
|
|
11253
11253
|
const config = loadConfig();
|
|
11254
11254
|
const registryDb = openRegistry();
|
|
@@ -12757,7 +12757,7 @@ async function countVectorDbPaths(oldPaths) {
|
|
|
12757
12757
|
if (oldPaths.length === 0) return 0;
|
|
12758
12758
|
try {
|
|
12759
12759
|
const { loadConfig } = await import("./config-CcdkNSWa.mjs").then((n) => n.r);
|
|
12760
|
-
const { PostgresBackend } = await import("./postgres-
|
|
12760
|
+
const { PostgresBackend } = await import("./postgres-5IpjMwo_.mjs");
|
|
12761
12761
|
const config = loadConfig();
|
|
12762
12762
|
if (config.storageBackend !== "postgres") return 0;
|
|
12763
12763
|
const pgBackend = new PostgresBackend(config.postgres ?? {});
|
|
@@ -12778,7 +12778,7 @@ async function updateVectorDbPaths(moves) {
|
|
|
12778
12778
|
if (moves.length === 0) return 0;
|
|
12779
12779
|
try {
|
|
12780
12780
|
const { loadConfig } = await import("./config-CcdkNSWa.mjs").then((n) => n.r);
|
|
12781
|
-
const { PostgresBackend } = await import("./postgres-
|
|
12781
|
+
const { PostgresBackend } = await import("./postgres-5IpjMwo_.mjs");
|
|
12782
12782
|
const config = loadConfig();
|
|
12783
12783
|
if (config.storageBackend !== "postgres") return 0;
|
|
12784
12784
|
const pgBackend = new PostgresBackend(config.postgres ?? {});
|
|
@@ -14061,4 +14061,4 @@ async function cmdPick(db, opts = {}) {
|
|
|
14061
14061
|
|
|
14062
14062
|
//#endregion
|
|
14063
14063
|
export { registerProjectsCommands as A, registerRestoreCommands as C, registerIdentityCommands as D, registerMcpCommands as E, resolveIdentifier as M, registerMemoryCommands as O, registerSetupCommand as S, registerDaemonCommands as T, registerUpdateCommand as _, cmdEnd as a, registerZettelCommands as b, cmdGoto as c, registerHelpCommand as d, registerDbCommands as f, registerNotifyCommands as g, registerTaskCommands as h, cmdPauseAll as i, findMovedPath as j, registerRegistryCommands as k, cmdPause as l, registerTopicCommands as m, cmdFind as n, registerSessionCleanupCommand as o, registerKgCommands as p, cmdClearNames as r, registerSessionCommands as s, cmdPick as t, cmdList as u, registerSkillCommands as v, registerBackupCommands as w, registerObsidianCommands as x, registerObservationCommands as y };
|
|
14064
|
-
//# sourceMappingURL=pick-
|
|
14064
|
+
//# sourceMappingURL=pick-B7UFLePe.mjs.map
|