@tekmidian/pai 0.66.3 → 0.66.4
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/{chain-Fz4NLm4D.mjs → chain-BhPwBDXB.mjs} +2 -2
- package/dist/{chain-Fz4NLm4D.mjs.map → chain-BhPwBDXB.mjs.map} +1 -1
- package/dist/cli/index.mjs +8 -8
- package/dist/cli/program.mjs +8 -8
- package/dist/{context-handover-cache-DcPEW6vf.mjs → context-handover-cache-BbCYQUGo.mjs} +3 -3
- package/dist/{context-handover-cache-DcPEW6vf.mjs.map → context-handover-cache-BbCYQUGo.mjs.map} +1 -1
- package/dist/daemon/index.mjs +5 -5
- package/dist/{daemon-Bl8TpHdM.mjs → daemon-DzXOfieK.mjs} +5 -5
- package/dist/{daemon-Bl8TpHdM.mjs.map → daemon-DzXOfieK.mjs.map} +1 -1
- package/dist/{daemon-ZhHU6D0i.mjs → daemon-UJtRscyO.mjs} +5 -5
- package/dist/daemon-mcp/index.mjs +5 -5
- package/dist/{factory-BUnZgnKW.mjs → factory-CXFHwvcv.mjs} +2 -2
- package/dist/{factory-BUnZgnKW.mjs.map → factory-CXFHwvcv.mjs.map} +1 -1
- package/dist/{factory-CrVlo2hY.mjs → factory-CnKsU6zX.mjs} +2 -2
- package/dist/{fallback-awOmq_9A.mjs → fallback-CoooFqyA.mjs} +2 -2
- package/dist/{fallback-awOmq_9A.mjs.map → fallback-CoooFqyA.mjs.map} +1 -1
- package/dist/hooks/load-project-context.mjs.map +2 -2
- package/dist/hooks/security-validator.mjs.map +2 -2
- package/dist/hooks/worker-status-line.mjs.map +2 -2
- package/dist/{main-resolver-DDShdDBm.mjs → main-resolver-DrHtx8iW.mjs} +1 -1
- package/dist/{main-resolver-CVGPICy-.mjs → main-resolver-SfGGg1DB.mjs} +3 -3
- package/dist/{main-resolver-CVGPICy-.mjs.map → main-resolver-SfGGg1DB.mjs.map} +1 -1
- package/dist/{planner-GdiYe2FO.mjs → planner-C43lzcw5.mjs} +5 -5
- package/dist/{planner-GdiYe2FO.mjs.map → planner-C43lzcw5.mjs.map} +1 -1
- package/dist/postgres-B2BEBT-J.mjs +5 -0
- package/dist/{postgres-H85VSYHI.mjs → postgres-BxmyQHoA.mjs} +52 -4
- package/dist/postgres-BxmyQHoA.mjs.map +1 -0
- package/dist/{program-D3MSfx86.mjs → program-DB-hoyfW.mjs} +38 -121
- package/dist/program-DB-hoyfW.mjs.map +1 -0
- package/dist/{run-D9YbWsnL.mjs → run-wi5NEkJd.mjs} +116 -7
- package/dist/run-wi5NEkJd.mjs.map +1 -0
- package/package.json +1 -1
- package/dist/postgres-DKyiCA5V.mjs +0 -5
- package/dist/postgres-H85VSYHI.mjs.map +0 -1
- package/dist/program-D3MSfx86.mjs.map +0 -1
- package/dist/run-D9YbWsnL.mjs.map +0 -1
|
@@ -2,17 +2,17 @@ import "./utils-DddRwMsG.mjs";
|
|
|
2
2
|
import "./migrate-Bq0esMOa.mjs";
|
|
3
3
|
import "./helpers-CZsi_49C.mjs";
|
|
4
4
|
import "./reranker-3lnggwgq.mjs";
|
|
5
|
-
import "./postgres-
|
|
6
|
-
import "./factory-
|
|
5
|
+
import "./postgres-BxmyQHoA.mjs";
|
|
6
|
+
import "./factory-CXFHwvcv.mjs";
|
|
7
7
|
import "./embeddings-DMVzpvRZ.mjs";
|
|
8
8
|
import "./router-BaTbc9VX.mjs";
|
|
9
9
|
import "./config-Ddc4DIPk.mjs";
|
|
10
|
-
import "./context-handover-cache-
|
|
10
|
+
import "./context-handover-cache-BbCYQUGo.mjs";
|
|
11
11
|
import "./run-env-CQRnxNht.mjs";
|
|
12
|
-
import "./run-
|
|
12
|
+
import "./run-wi5NEkJd.mjs";
|
|
13
13
|
import "./ipc-client-DkxRay-o.mjs";
|
|
14
14
|
import "./aibroker-client-WCZi_tn-.mjs";
|
|
15
|
-
import { t as serve } from "./daemon-
|
|
15
|
+
import { t as serve } from "./daemon-DzXOfieK.mjs";
|
|
16
16
|
import "./zettelkasten-BRIaHzFm.mjs";
|
|
17
17
|
|
|
18
18
|
export { serve };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import "../helpers-CZsi_49C.mjs";
|
|
3
|
-
import "../postgres-
|
|
4
|
-
import "../factory-
|
|
3
|
+
import "../postgres-BxmyQHoA.mjs";
|
|
4
|
+
import "../factory-CXFHwvcv.mjs";
|
|
5
5
|
import "../embeddings-DMVzpvRZ.mjs";
|
|
6
6
|
import "../router-BaTbc9VX.mjs";
|
|
7
7
|
import { p as MainConfigError, s as loadConfig } from "../config-Ddc4DIPk.mjs";
|
|
8
8
|
import { D as readWorkersSection, b as getProviderOrNative, d as MODEL_CAPABILITIES, i as CAPABILITY_NAME_RE } from "../run-env-CQRnxNht.mjs";
|
|
9
|
-
import {
|
|
9
|
+
import { $ as setWorkerLabel, J as loadStatuses, R as ledgerSummary, V as alive, a as deadlineLabel, c as handoffFromInside, l as readInbox, mt as workersLogDir, n as runWorker, pt as ledgerPath, q as loadStatus, r as testProvider, u as sayToWorker, y as endLabel } from "../run-wi5NEkJd.mjs";
|
|
10
10
|
import { t as PaiClient } from "../ipc-client-DkxRay-o.mjs";
|
|
11
|
-
import { A as getConfigValueOp, C as setWorkersEnabled, D as useProvider, E as updateProvider, M as setConfigValueOp, N as unsetConfigValueOp, O as MainConfigOpsError, S as setProviderModel, T as unsetClass, _ as removeProvider, b as setClass, d as addProvider, f as classTargetText, g as modelPrefsText, h as describeProviders, i as fallbackStatusText, j as listConfigOp, l as readSpecPrompt, m as describeModels, n as fallbackOn, o as psOutput, p as describeCapabilities, r as fallbackStatus, s as replayOutput, t as fallbackOff, u as resolveSpecPath, v as resolveProviderName, w as unsetCapabilityPreference, x as setProviderEnabled, y as setCapabilityPreference } from "../fallback-
|
|
12
|
-
import { t as runChain } from "../chain-
|
|
11
|
+
import { A as getConfigValueOp, C as setWorkersEnabled, D as useProvider, E as updateProvider, M as setConfigValueOp, N as unsetConfigValueOp, O as MainConfigOpsError, S as setProviderModel, T as unsetClass, _ as removeProvider, b as setClass, d as addProvider, f as classTargetText, g as modelPrefsText, h as describeProviders, i as fallbackStatusText, j as listConfigOp, l as readSpecPrompt, m as describeModels, n as fallbackOn, o as psOutput, p as describeCapabilities, r as fallbackStatus, s as replayOutput, t as fallbackOff, u as resolveSpecPath, v as resolveProviderName, w as unsetCapabilityPreference, x as setProviderEnabled, y as setCapabilityPreference } from "../fallback-CoooFqyA.mjs";
|
|
12
|
+
import { t as runChain } from "../chain-BhPwBDXB.mjs";
|
|
13
13
|
import { t as dropItermBundleId } from "../env-DiolswKQ.mjs";
|
|
14
14
|
import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";
|
|
15
15
|
import { StdioServerTransport } from "@modelcontextprotocol/sdk/server/stdio.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { a as parseSessionTitleChunk, c as yieldToEventLoop, f as fileContentHash, h as sha256File, i as isPathTooBroadForContentScan, n as chunkId, o as walkContentFiles, r as detectTier, s as walkMdFiles, t as INDEX_YIELD_EVERY, u as chunkMarkdown } from "./helpers-CZsi_49C.mjs";
|
|
2
2
|
import { t as STOP_WORDS } from "./stop-words-DtxaTWU_.mjs";
|
|
3
3
|
import { n as buildFtsQuery, r as isQuerySyntaxError } from "./search-CNAGTiJP.mjs";
|
|
4
|
-
import {
|
|
4
|
+
import { a as entityContentId, t as PostgresBackend } from "./postgres-BxmyQHoA.mjs";
|
|
5
5
|
import { n as cosineSimilarity, r as deserializeEmbedding } from "./embeddings-DMVzpvRZ.mjs";
|
|
6
6
|
import { t as routeNotification } from "./router-BaTbc9VX.mjs";
|
|
7
7
|
import { s as loadConfig } from "./config-Ddc4DIPk.mjs";
|
|
@@ -2889,4 +2889,4 @@ async function closeStorage() {
|
|
|
2889
2889
|
|
|
2890
2890
|
//#endregion
|
|
2891
2891
|
export { getStorageBackend as a, MergeError as c, getBackendOutage as d, humanDuration as f, getRegistryBackend as i, federationDbPath as l, createRegistryBackend as n, oldRegistryPath as o, createStorageBackend as r, registryDbPath as s, closeStorage as t, oldFederationPath as u };
|
|
2892
|
-
//# sourceMappingURL=factory-
|
|
2892
|
+
//# sourceMappingURL=factory-CXFHwvcv.mjs.map
|