@tekmidian/pai 0.35.1 → 0.35.2

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.
@@ -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-BSkVcvfq.mjs";
14
- import { i as humanDuration, t as createStorageBackend } from "./factory-BGH0COXb.mjs";
14
+ import { i as humanDuration, t as createStorageBackend } from "./factory-vPTPoBR7.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-CNSqU8wo.mjs";
17
17
  import { appendFileSync, chmodSync, copyFileSync, createReadStream, existsSync, lstatSync, mkdirSync, readFileSync, readdirSync, readlinkSync, realpathSync, renameSync, statSync, symlinkSync, unlinkSync, writeFileSync } from "node:fs";
@@ -2924,7 +2924,7 @@ function registerStatsCommands(memoryCmd, getDb) {
2924
2924
  //#region src/cli/commands/memory/sources-cmd.ts
2925
2925
  function registerSourcesCommand(memoryCmd) {
2926
2926
  memoryCmd.command("sources").description("Show what the indexer has taken in: composition by source, which roots\ncontent enters from, the heaviest single files, and how many chunks are\nrewritten per day (which distinguishes a finite backlog from a treadmill).").option("--limit <n>", "Rows per section (default 8)", "8").action(async (opts) => {
2927
- const { createStorageBackend } = await import("./factory-BGH0COXb.mjs").then((n) => n.n);
2927
+ const { createStorageBackend } = await import("./factory-vPTPoBR7.mjs").then((n) => n.n);
2928
2928
  const { loadConfig } = await import("./config-BSkVcvfq.mjs").then((n) => n.r);
2929
2929
  const { cmdMemorySources } = await import("./sources-BDwN0B8i.mjs");
2930
2930
  let backend;
@@ -3608,7 +3608,7 @@ function cmdLogs(opts) {
3608
3608
  }
3609
3609
  function registerDaemonCommands(daemonCmd) {
3610
3610
  daemonCmd.command("serve").description("Start the PAI daemon in the foreground").action(async () => {
3611
- const { serve } = await import("./daemon-Hnu6-HDD.mjs").then((n) => n.t);
3611
+ const { serve } = await import("./daemon-B8L2f5vy.mjs").then((n) => n.t);
3612
3612
  const { loadConfig: lc, ensureConfigDir } = await import("./config-BSkVcvfq.mjs").then((n) => n.r);
3613
3613
  ensureConfigDir();
3614
3614
  await serve(lc());
@@ -11372,7 +11372,7 @@ function cmdActive(db, opts) {
11372
11372
  async function cmdAutoRoute(opts) {
11373
11373
  const { autoRoute, formatAutoRoute, formatAutoRouteJson } = await import("./auto-route-DVM3U2ZY.mjs");
11374
11374
  const { openRegistry } = await import("./db-BtuN768f.mjs").then((n) => n.t);
11375
- const { createStorageBackend } = await import("./factory-BGH0COXb.mjs").then((n) => n.n);
11375
+ const { createStorageBackend } = await import("./factory-vPTPoBR7.mjs").then((n) => n.n);
11376
11376
  const { loadConfig } = await import("./config-BSkVcvfq.mjs").then((n) => n.r);
11377
11377
  const config = loadConfig();
11378
11378
  const registryDb = openRegistry();
@@ -12901,7 +12901,7 @@ async function countVectorDbPaths(oldPaths) {
12901
12901
  if (oldPaths.length === 0) return 0;
12902
12902
  try {
12903
12903
  const { loadConfig } = await import("./config-BSkVcvfq.mjs").then((n) => n.r);
12904
- const { PostgresBackend } = await import("./postgres-BALUE11K.mjs");
12904
+ const { PostgresBackend } = await import("./postgres-CI3FjGq0.mjs");
12905
12905
  const config = loadConfig();
12906
12906
  if (config.storageBackend !== "postgres") return 0;
12907
12907
  const pgBackend = new PostgresBackend(config.postgres ?? {});
@@ -12922,7 +12922,7 @@ async function updateVectorDbPaths(moves) {
12922
12922
  if (moves.length === 0) return 0;
12923
12923
  try {
12924
12924
  const { loadConfig } = await import("./config-BSkVcvfq.mjs").then((n) => n.r);
12925
- const { PostgresBackend } = await import("./postgres-BALUE11K.mjs");
12925
+ const { PostgresBackend } = await import("./postgres-CI3FjGq0.mjs");
12926
12926
  const config = loadConfig();
12927
12927
  if (config.storageBackend !== "postgres") return 0;
12928
12928
  const pgBackend = new PostgresBackend(config.postgres ?? {});
@@ -14205,4 +14205,4 @@ async function cmdPick(db, opts = {}) {
14205
14205
 
14206
14206
  //#endregion
14207
14207
  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 };
14208
- //# sourceMappingURL=pick-aWhenqjE.mjs.map
14208
+ //# sourceMappingURL=pick-DatgS3Nk.mjs.map