@tekmidian/pai 0.53.1 → 0.54.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/README.md +2 -3
- package/dist/{chain-BcBDJ1Id.mjs → chain-CZKlI0hq.mjs} +2 -2
- package/dist/{chain-BcBDJ1Id.mjs.map → chain-CZKlI0hq.mjs.map} +1 -1
- package/dist/cli/index.mjs +6 -6
- package/dist/cli/program.mjs +6 -6
- package/dist/daemon/index.mjs +3 -3
- package/dist/{daemon-CiythMfR.mjs → daemon-CknQ6YGZ.mjs} +3 -3
- package/dist/{daemon-BkJNFWr9.mjs → daemon-aJTxzg20.mjs} +3 -3
- package/dist/{daemon-BkJNFWr9.mjs.map → daemon-aJTxzg20.mjs.map} +1 -1
- package/dist/daemon-mcp/index.mjs +3 -3
- package/dist/{fallback-CPfyTSTx.mjs → fallback-CCFIpPha.mjs} +2 -2
- package/dist/{fallback-CPfyTSTx.mjs.map → fallback-CCFIpPha.mjs.map} +1 -1
- package/dist/{main-resolver-Dl__GxNI.mjs → main-resolver-Bt1f6jJc.mjs} +60 -12
- package/dist/main-resolver-Bt1f6jJc.mjs.map +1 -0
- package/dist/main-resolver-DYHhw5Ig.mjs +7 -0
- package/dist/{planner-BLbCtBUa.mjs → planner-D3keWys5.mjs} +3 -3
- package/dist/{planner-BLbCtBUa.mjs.map → planner-D3keWys5.mjs.map} +1 -1
- package/dist/{program-DdCumNTx.mjs → program-B3eRMhff.mjs} +8 -8
- package/dist/{program-DdCumNTx.mjs.map → program-B3eRMhff.mjs.map} +1 -1
- package/dist/{run-C7EDdVAB.mjs → run-DLG25bzt.mjs} +36 -6
- package/dist/{run-C7EDdVAB.mjs.map → run-DLG25bzt.mjs.map} +1 -1
- package/dist/{session-keepalive-DC2JGggK.mjs → session-keepalive-DklS8VmU.mjs} +2 -2
- package/dist/{session-keepalive-DC2JGggK.mjs.map → session-keepalive-DklS8VmU.mjs.map} +1 -1
- package/package.json +1 -1
- package/dist/main-resolver-B_auiSAg.mjs +0 -7
- package/dist/main-resolver-Dl__GxNI.mjs.map +0 -1
|
@@ -12,18 +12,18 @@ import { B as claudeProjectsDir, C as findLatestNote, H as scanTranscriptFolders
|
|
|
12
12
|
import { b as OWNER_LABEL_PREFIX, c as migrateConfigFile, d as readMainConfigRaw, f as writeMainConfigRaw, h as resolvedMainConfigPath, l as paiConfigFilePath, m as migrateMainConfigToYaml, n as CONFIG_FILE$2, o as expandHome, p as MainConfigError, s as loadConfig, t as CONFIG_DIR, u as paiConfigYamlFilePath, v as readJsonStrict, x as UNROUTED, y as writeJsonAtomic } from "./config-Bn9jpblO.mjs";
|
|
13
13
|
import { a as schedulerLogPath, i as paiSocketPath, n as daemonLogPath, r as daemonPidPath } from "./runtime-paths-B0P1TvUr.mjs";
|
|
14
14
|
import { A as migrateWorkersToYaml, C as readWorkersSection, F as workersYamlPath, I as DEFAULT_CONTEXT_WINDOW, L as contextWindowFromModelId, M as parseWorkersYamlDocument, N as relocateWorkersYaml, O as initWorkersYaml, P as workersYamlLegacyNotice, R as stripModelVariant, _ as isModelCapability, b as nativeAnthropicProvider, c as MODEL_CAPABILITIES, d as WorkersConfigError, g as getProviderOrNative, h as expandHome$1, j as needsWorkersYamlRelocation, k as inlineWorkersYamlKeys, l as PROVIDER_TAGS, t as ANTHROPIC_NATIVE, y as maskKey } from "./config-B3EPzRjf.mjs";
|
|
15
|
-
import { B as setWorkerLabel, C as mergeWorker, D as UNLABELED, F as loadStatuses, G as describeMcp, H as longInlinePromptHint, K as expandMcpNames, M as isChatPane, N as isLive, P as loadStatus, R as ownsPid, S as discardWorker, T as appendLedger, U as parseRunnerArgs, V as waitForTerminalStatus, a as projectLaunchConfig, c as handoffFromInside, f as checkPaneForWorker, i as usageContextTokens, m as openPaneForWorker, n as runWorker, o as parseWorkerReport, p as openFollowPane, r as testProvider, u as sayToWorker, z as saveStatus } from "./run-
|
|
16
|
-
import { a as totalUsageTokens, i as parseSessionUsage, r as sessionKeepaliveLedgerSummary, t as loadSessionKeepaliveState } from "./session-keepalive-
|
|
15
|
+
import { B as setWorkerLabel, C as mergeWorker, D as UNLABELED, F as loadStatuses, G as describeMcp, H as longInlinePromptHint, K as expandMcpNames, M as isChatPane, N as isLive, P as loadStatus, R as ownsPid, S as discardWorker, T as appendLedger, U as parseRunnerArgs, V as waitForTerminalStatus, a as projectLaunchConfig, c as handoffFromInside, f as checkPaneForWorker, i as usageContextTokens, m as openPaneForWorker, n as runWorker, o as parseWorkerReport, p as openFollowPane, r as testProvider, u as sayToWorker, z as saveStatus } from "./run-DLG25bzt.mjs";
|
|
16
|
+
import { a as totalUsageTokens, i as parseSessionUsage, r as sessionKeepaliveLedgerSummary, t as loadSessionKeepaliveState } from "./session-keepalive-DklS8VmU.mjs";
|
|
17
17
|
import { t as PaiClient } from "./ipc-client-C6NryMMb.mjs";
|
|
18
18
|
import { r as humanDuration, t as createStorageBackend } from "./factory-Bt7TWQje.mjs";
|
|
19
|
-
import { A as getConfigValueOp, C as psOutput, D as resolveSpecPath, E as readSpecPrompt, M as setConfigValueOp, N as unsetConfigValueOp, O as MainConfigOpsError, S as followWorkers, T as statusLineOutput, _ 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, k as formatConfigGetOutput, 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-
|
|
19
|
+
import { A as getConfigValueOp, C as psOutput, D as resolveSpecPath, E as readSpecPrompt, M as setConfigValueOp, N as unsetConfigValueOp, O as MainConfigOpsError, S as followWorkers, T as statusLineOutput, _ 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, k as formatConfigGetOutput, 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-CCFIpPha.mjs";
|
|
20
20
|
import { n as migrateIdentityFile } from "./wakeup-Yk5lQ0jb.mjs";
|
|
21
|
-
import { a as
|
|
21
|
+
import { _ as scanSessions, a as buildDeduped, c as hasConversation, d as restoreTopLevel, f as printExitDir, g as scanCacheFilePath, h as resolveSessionByNameOrId, l as launchInDir, m as migrateSessionScanCache, o as normalizeName$2, p as fmtAge, s as renderDedupedSessions, t as cmdMain, u as probeResume } from "./main-resolver-Bt1f6jJc.mjs";
|
|
22
22
|
import { n as queriesDirPath, t as migrateQueriesDir } from "./query-feedback-CTs_jx6i.mjs";
|
|
23
23
|
import { s as kgQuery } from "./kg-entity-BSW7ra8i.mjs";
|
|
24
24
|
import { _ as ledgerPath, b as workersLogDir, g as eventsPath, h as ensureNoMcpConfig, i as buildRunEnv, n as ensureProxyRunning, r as stopProxy, t as DEFAULT_PROXY_PORT } from "./server-CGiHdaUp.mjs";
|
|
25
25
|
import { i as sendToSession, n as fetchLiveSessions, r as revealItermSession, t as callAiBroker } from "./aibroker-client-DzkTpVjx.mjs";
|
|
26
|
-
import { t as runChain } from "./chain-
|
|
26
|
+
import { t as runChain } from "./chain-CZKlI0hq.mjs";
|
|
27
27
|
import { appendFileSync, chmodSync, copyFileSync, cpSync, createReadStream, existsSync, lstatSync, mkdirSync, readFileSync, readdirSync, readlinkSync, realpathSync, renameSync, statSync, symlinkSync, unlinkSync, writeFileSync } from "node:fs";
|
|
28
28
|
import { homedir, platform, tmpdir } from "node:os";
|
|
29
29
|
import { basename, dirname, join, relative, resolve, sep } from "node:path";
|
|
@@ -1975,7 +1975,7 @@ function cmdUnregister(db, slug, opts = {}) {
|
|
|
1975
1975
|
//#region src/cli/commands/project/projects-index.ts
|
|
1976
1976
|
function registerProjectsCommands(projectsCmd, getDb) {
|
|
1977
1977
|
projectsCmd.command("list", { isDefault: true }).description("Show the unified deduped listing (same as `pai`).\nUse --all to include cold / zero-session / archived projects.").option("--all", "Show all entries including cold / zero-session / archived projects").option("-n, --n <count>", "Max rows to show", "20").action(async (opts) => {
|
|
1978
|
-
const { cmdMain } = await import("./main-resolver-
|
|
1978
|
+
const { cmdMain } = await import("./main-resolver-DYHhw5Ig.mjs");
|
|
1979
1979
|
await cmdMain(getDb(), void 0, void 0, opts);
|
|
1980
1980
|
});
|
|
1981
1981
|
projectsCmd.command("list-raw").description("Raw registry listing with slug, path, status, last_active columns").option("--all", "Include archived projects (default: active only)").option("--status <status>", "Filter by status: active | archived").option("--tag <tag>", "Filter by tag").option("--type <type>", "Filter by type").action((opts) => {
|
|
@@ -6705,7 +6705,7 @@ function cmdLogs(opts) {
|
|
|
6705
6705
|
}
|
|
6706
6706
|
function registerDaemonCommands(daemonCmd) {
|
|
6707
6707
|
daemonCmd.command("serve").description("Start the PAI daemon in the foreground").action(async () => {
|
|
6708
|
-
const { serve } = await import("./daemon-
|
|
6708
|
+
const { serve } = await import("./daemon-CknQ6YGZ.mjs");
|
|
6709
6709
|
const { loadConfig: lc, ensureConfigDir } = await import("./config-RjeVGJ7K.mjs");
|
|
6710
6710
|
ensureConfigDir();
|
|
6711
6711
|
await serve(lc());
|
|
@@ -20701,4 +20701,4 @@ claude() {
|
|
|
20701
20701
|
|
|
20702
20702
|
//#endregion
|
|
20703
20703
|
export { drainStdio as n, buildProgram as t };
|
|
20704
|
-
//# sourceMappingURL=program-
|
|
20704
|
+
//# sourceMappingURL=program-B3eRMhff.mjs.map
|