@tekmidian/pai 0.62.0 → 0.63.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/{chain-CuaDawK9.mjs → chain-CUfE6WYK.mjs} +2 -2
- package/dist/{chain-CuaDawK9.mjs.map → chain-CUfE6WYK.mjs.map} +1 -1
- package/dist/cli/index.mjs +5 -5
- package/dist/cli/program.mjs +5 -5
- package/dist/daemon/index.mjs +3 -3
- package/dist/{daemon-bJi1gDkG.mjs → daemon-C8-uzOuV.mjs} +3 -3
- package/dist/{daemon-Bf7Eock4.mjs → daemon-Cex3dT9f.mjs} +3 -3
- package/dist/{daemon-Bf7Eock4.mjs.map → daemon-Cex3dT9f.mjs.map} +1 -1
- package/dist/daemon-mcp/index.mjs +3 -3
- package/dist/{fallback-F0TWGVM2.mjs → fallback-ktbR0aR7.mjs} +2 -2
- package/dist/{fallback-F0TWGVM2.mjs.map → fallback-ktbR0aR7.mjs.map} +1 -1
- package/dist/hooks/load-project-context.mjs +6 -0
- package/dist/hooks/load-project-context.mjs.map +2 -2
- package/dist/{planner-BG9ivPj0.mjs → planner-DAQMTMjP.mjs} +3 -3
- package/dist/{planner-BG9ivPj0.mjs.map → planner-DAQMTMjP.mjs.map} +1 -1
- package/dist/{program-BRvCzhjx.mjs → program-De1GVVM4.mjs} +27 -14
- package/dist/program-De1GVVM4.mjs.map +1 -0
- package/dist/{run-BVQZI79D.mjs → run-CZVCCvXE.mjs} +75 -51
- package/dist/run-CZVCCvXE.mjs.map +1 -0
- package/dist/{session-keepalive-DJA97K2X.mjs → session-keepalive-CWGzLBVU.mjs} +2 -2
- package/dist/{session-keepalive-DJA97K2X.mjs.map → session-keepalive-CWGzLBVU.mjs.map} +1 -1
- package/docs/commands/README.md +2 -0
- package/docs/commands/project.md +14 -5
- package/docs/commands/projects.md +14 -5
- package/package.json +1 -1
- package/src/hooks/ts/session-start/load-project-context.ts +9 -0
- package/dist/program-BRvCzhjx.mjs.map +0 -1
- package/dist/run-BVQZI79D.mjs.map +0 -1
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
import "../factory-BozZa81q.mjs";
|
|
3
3
|
import { p as MainConfigError, s as loadConfig } from "../config-CQCmH_gV.mjs";
|
|
4
4
|
import { E as readWorkersSection, i as CAPABILITY_NAME_RE, u as MODEL_CAPABILITIES, y as getProviderOrNative } from "../run-env-BE5xyCwy.mjs";
|
|
5
|
-
import {
|
|
5
|
+
import { A as ledgerSummary, B as loadStatuses, G as setWorkerLabel, N as alive, c as readInbox, l as sayToWorker, n as runWorker, r as testProvider, s as handoffFromInside, z as loadStatus } from "../run-CZVCCvXE.mjs";
|
|
6
6
|
import { t as PaiClient } from "../ipc-client-Dasm515c.mjs";
|
|
7
|
-
import { A as getConfigValueOp, C as psOutput, D as resolveSpecPath, E as readSpecPrompt, M as setConfigValueOp, N as unsetConfigValueOp, O as MainConfigOpsError, _ as setWorkersEnabled, a as addProvider, b as updateProvider, c as describeModels, d as removeProvider, f as resolveProviderName, g as setProviderModel, h as setProviderEnabled, i as fallbackStatusText, j as listConfigOp, l as describeProviders, m as setClass, n as fallbackOn, o as classTargetText, p as setCapabilityPreference, r as fallbackStatus, s as describeCapabilities, t as fallbackOff, u as modelPrefsText, v as unsetCapabilityPreference, w as replayOutput, x as useProvider, y as unsetClass } from "../fallback-
|
|
7
|
+
import { A as getConfigValueOp, C as psOutput, D as resolveSpecPath, E as readSpecPrompt, M as setConfigValueOp, N as unsetConfigValueOp, O as MainConfigOpsError, _ as setWorkersEnabled, a as addProvider, b as updateProvider, c as describeModels, d as removeProvider, f as resolveProviderName, g as setProviderModel, h as setProviderEnabled, i as fallbackStatusText, j as listConfigOp, l as describeProviders, m as setClass, n as fallbackOn, o as classTargetText, p as setCapabilityPreference, r as fallbackStatus, s as describeCapabilities, t as fallbackOff, u as modelPrefsText, v as unsetCapabilityPreference, w as replayOutput, x as useProvider, y as unsetClass } from "../fallback-ktbR0aR7.mjs";
|
|
8
8
|
import { h as ledgerPath, v as workersLogDir } from "../server-BY6AedmC.mjs";
|
|
9
|
-
import { t as runChain } from "../chain-
|
|
9
|
+
import { t as runChain } from "../chain-CUfE6WYK.mjs";
|
|
10
10
|
import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";
|
|
11
11
|
import { StdioServerTransport } from "@modelcontextprotocol/sdk/server/stdio.js";
|
|
12
12
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { _ as writeYamlFileAtomic, d as readMainConfigRaw, f as writeMainConfigRaw, l as paiConfigFilePath, m as migrateMainConfigToYaml, n as CONFIG_FILE, r as DEFAULTS, s as loadConfig, u as paiConfigYamlFilePath, v as readJsonStrict, y as writeJsonAtomic } from "./config-CQCmH_gV.mjs";
|
|
2
2
|
import { A as writeWorkersSection, C as nativeAnthropicProvider, D as resolveCapability, E as readWorkersSection, O as resolveModelCapability, R as workersYamlPath, S as maskKey, a as DEFAULT_CACHE_KEEPALIVE_SECS, b as isModelCapability, c as DEFAULT_ROUTING, f as PROVIDER_TAGS, k as resolveProviderKey, l as DEFAULT_TREE, m as WorkersConfigError, o as DEFAULT_LOG_DIR, r as ANTHROPIC_NATIVE, s as DEFAULT_PANE, u as MODEL_CAPABILITIES, v as expandHome, w as providerCostTier, x as keysDir, y as getProviderOrNative } from "./run-env-BE5xyCwy.mjs";
|
|
3
|
-
import {
|
|
3
|
+
import { B as loadStatuses, F as contextPercent, I as elapsedOf, L as isChatPane, M as ageOf, N as alive, P as contextLabel, R as isLive, S as workerInScope, Y as shortText, a as parseWorkerReport, c as readInbox, g as currentTabKey, h as markControlsHeld, j as UNLABELED, k as appendLedger, l as sayToWorker, m as clickrControlsArgv, o as renderReport, u as workerDepth, x as sessionTag, y as resolveSession } from "./run-CZVCCvXE.mjs";
|
|
4
4
|
import { a as clearCooldown, c as probeQuota, d as resolveTarget, h as ledgerPath, l as quotaSkipThreshold, m as eventsPath, v as workersLogDir } from "./server-BY6AedmC.mjs";
|
|
5
5
|
import { chmodSync, closeSync, existsSync, mkdirSync, openSync, readFileSync, readSync, unlinkSync, writeFileSync } from "node:fs";
|
|
6
6
|
import { homedir } from "node:os";
|
|
@@ -2204,4 +2204,4 @@ function fallbackStatusText(s) {
|
|
|
2204
2204
|
|
|
2205
2205
|
//#endregion
|
|
2206
2206
|
export { getConfigValueOp as A, psOutput as C, resolveSpecPath as D, readSpecPrompt as E, setConfigValueOp as M, unsetConfigValueOp as N, MainConfigOpsError as O, followWorkers as S, statusLineOutput as T, setWorkersEnabled as _, addProvider as a, updateProvider as b, describeModels as c, removeProvider as d, resolveProviderName as f, setProviderModel as g, setProviderEnabled as h, fallbackStatusText as i, listConfigOp as j, formatConfigGetOutput as k, describeProviders as l, setClass as m, fallbackOn as n, classTargetText as o, setCapabilityPreference as p, fallbackStatus as r, describeCapabilities as s, fallbackOff as t, modelPrefsText as u, unsetCapabilityPreference as v, replayOutput as w, useProvider as x, unsetClass as y };
|
|
2207
|
-
//# sourceMappingURL=fallback-
|
|
2207
|
+
//# sourceMappingURL=fallback-ktbR0aR7.mjs.map
|