@tekmidian/pai 0.42.3 → 0.42.5
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-B-DbR82m.mjs → chain-DTII7xeL.mjs} +2 -2
- package/dist/{chain-B-DbR82m.mjs.map → chain-DTII7xeL.mjs.map} +1 -1
- package/dist/cli/index.mjs +4 -4
- package/dist/cli/program.mjs +4 -4
- package/dist/daemon/index.mjs +2 -2
- package/dist/{daemon-Dq8A1uDF.mjs → daemon-B8N1egl0.mjs} +2 -2
- package/dist/{daemon-Dq8A1uDF.mjs.map → daemon-B8N1egl0.mjs.map} +1 -1
- package/dist/{daemon-Awt_3UJp.mjs → daemon-DHfyoTlk.mjs} +2 -2
- package/dist/daemon-mcp/index.mjs +3 -3
- package/dist/{fallback-vQPI1qxt.mjs → fallback-oJl3BaIN.mjs} +2 -2
- package/dist/{fallback-vQPI1qxt.mjs.map → fallback-oJl3BaIN.mjs.map} +1 -1
- package/dist/{planner-BfEGcEs1.mjs → planner-D5Ui7DAm.mjs} +3 -3
- package/dist/{planner-BfEGcEs1.mjs.map → planner-D5Ui7DAm.mjs.map} +1 -1
- package/dist/{program-BDmeZP-v.mjs → program-zpoYnJGz.mjs} +34 -5
- package/dist/{program-BDmeZP-v.mjs.map → program-zpoYnJGz.mjs.map} +1 -1
- package/dist/{run-CGXbhf2k.mjs → run-D7K5UALn.mjs} +3 -3
- package/dist/{run-CGXbhf2k.mjs.map → run-D7K5UALn.mjs.map} +1 -1
- package/docs/commands/README.md +1 -0
- package/docs/commands/worker.md +12 -0
- package/package.json +1 -1
|
@@ -12,8 +12,8 @@ import "./config-B64vFg14.mjs";
|
|
|
12
12
|
import "./factory-DEb9NmHJ.mjs";
|
|
13
13
|
import "./config-_lQI_W08.mjs";
|
|
14
14
|
import "./server-D4vAieF4.mjs";
|
|
15
|
-
import "./run-
|
|
16
|
-
import { t as serve } from "./daemon-
|
|
15
|
+
import "./run-D7K5UALn.mjs";
|
|
16
|
+
import { t as serve } from "./daemon-B8N1egl0.mjs";
|
|
17
17
|
import "./state-BRdB-Bf1.mjs";
|
|
18
18
|
import "./router-DD6D4j31.mjs";
|
|
19
19
|
import "./tools-LlzcV_eK.mjs";
|
|
@@ -3,9 +3,9 @@ import { t as PaiClient } from "../ipc-client-BmypMNYk.mjs";
|
|
|
3
3
|
import { o as loadConfig } from "../config-B64vFg14.mjs";
|
|
4
4
|
import { _ as readWorkersSection, r as MODEL_CAPABILITIES } from "../config-_lQI_W08.mjs";
|
|
5
5
|
import { _ as workersLogDir, m as ledgerPath } from "../server-D4vAieF4.mjs";
|
|
6
|
-
import { C as alive, D as loadStatus,
|
|
7
|
-
import { t as runChain } from "../chain-
|
|
8
|
-
import { _ as updateProvider, a as addProvider, b as psOutput, c as describeProviders, d as resolveProviderName, f as setClass, g as unsetClass, h as setWorkersEnabled, i as fallbackStatusText, l as modelPrefsText, m as setProviderModel, n as fallbackOn, o as classTargetText, p as setProviderEnabled, r as fallbackStatus, s as describeModels, t as fallbackOff, u as removeProvider, v as useProvider, x as replayOutput } from "../fallback-
|
|
6
|
+
import { C as alive, D as loadStatus, N as ledgerSummary, O as loadStatuses, d as sayToWorker, l as handoffFromInside, n as runWorker, r as testProvider, u as readInbox } from "../run-D7K5UALn.mjs";
|
|
7
|
+
import { t as runChain } from "../chain-DTII7xeL.mjs";
|
|
8
|
+
import { _ as updateProvider, a as addProvider, b as psOutput, c as describeProviders, d as resolveProviderName, f as setClass, g as unsetClass, h as setWorkersEnabled, i as fallbackStatusText, l as modelPrefsText, m as setProviderModel, n as fallbackOn, o as classTargetText, p as setProviderEnabled, r as fallbackStatus, s as describeModels, t as fallbackOff, u as removeProvider, v as useProvider, x as replayOutput } from "../fallback-oJl3BaIN.mjs";
|
|
9
9
|
import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";
|
|
10
10
|
import { StdioServerTransport } from "@modelcontextprotocol/sdk/server/stdio.js";
|
|
11
11
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { C as readJsonStrict, _ as readWorkersSection, f as isModelCapability, g as providerKeyPath, h as providerCostTier, i as PROVIDER_TAGS, m as parseWorkersConfig, n as DEFAULT_LOG_DIR, o as WorkersConfigError, p as keysDir, r as MODEL_CAPABILITIES, t as ANTHROPIC_NATIVE, u as expandHome, v as resolveModelCapability, w as writeJsonAtomic, y as writeWorkersSection } from "./config-_lQI_W08.mjs";
|
|
2
2
|
import { _ as workersLogDir, a as clearCooldown, c as probeQuota, l as quotaSkipThreshold, p as eventsPath, u as resolveTarget } from "./server-D4vAieF4.mjs";
|
|
3
|
-
import { C as alive, E as isChatPane,
|
|
3
|
+
import { C as alive, E as isChatPane, F as shortText, O as loadStatuses, S as ageOf, T as contextPercent, a as parseWorkerReport, b as workerInScope, d as sayToWorker, f as workerDepth, g as currentTabKey, o as renderReport, u as readInbox, v as resolveSession, w as contextLabel, y as sessionTag } from "./run-D7K5UALn.mjs";
|
|
4
4
|
import { chmodSync, closeSync, existsSync, mkdirSync, openSync, readFileSync, readSync, unlinkSync, writeFileSync } from "node:fs";
|
|
5
5
|
import { homedir } from "node:os";
|
|
6
6
|
import { basename, join, relative } from "node:path";
|
|
@@ -1765,4 +1765,4 @@ function fallbackStatusText(s) {
|
|
|
1765
1765
|
|
|
1766
1766
|
//#endregion
|
|
1767
1767
|
export { statusLineOutput as S, updateProvider as _, addProvider as a, psOutput as b, describeProviders as c, resolveProviderName as d, setClass as f, unsetClass as g, setWorkersEnabled as h, fallbackStatusText as i, modelPrefsText as l, setProviderModel as m, fallbackOn as n, classTargetText as o, setProviderEnabled as p, fallbackStatus as r, describeModels as s, fallbackOff as t, removeProvider as u, useProvider as v, replayOutput as x, followWorkers as y };
|
|
1768
|
-
//# sourceMappingURL=fallback-
|
|
1768
|
+
//# sourceMappingURL=fallback-oJl3BaIN.mjs.map
|