@tekmidian/pai 0.66.9 → 0.66.10

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.
Files changed (33) hide show
  1. package/dist/auto-route-C0QZLN4f.mjs +7 -0
  2. package/dist/{auto-route-DoFrncW7.mjs → auto-route-CAg45rck.mjs} +2 -2
  3. package/dist/{auto-route-DoFrncW7.mjs.map → auto-route-CAg45rck.mjs.map} +1 -1
  4. package/dist/{chain-BL4khGgy.mjs → chain-DyVKYcIZ.mjs} +3 -3
  5. package/dist/{chain-BL4khGgy.mjs.map → chain-DyVKYcIZ.mjs.map} +1 -1
  6. package/dist/cli/index.mjs +7 -7
  7. package/dist/cli/program.mjs +7 -7
  8. package/dist/{context-handover-cache-5qnqzWqp.mjs → context-handover-cache-fCyfgKm5.mjs} +4 -4
  9. package/dist/{context-handover-cache-5qnqzWqp.mjs.map → context-handover-cache-fCyfgKm5.mjs.map} +1 -1
  10. package/dist/daemon/index.mjs +6 -6
  11. package/dist/{daemon-4VZOwUXe.mjs → daemon-Blzrmw6r.mjs} +6 -6
  12. package/dist/{daemon-C-2mo7y_.mjs → daemon-DorRRaAl.mjs} +5 -5
  13. package/dist/{daemon-C-2mo7y_.mjs.map → daemon-DorRRaAl.mjs.map} +1 -1
  14. package/dist/daemon-mcp/index.mjs +4 -4
  15. package/dist/{fallback-2yWDDYiT.mjs → fallback-HinZYSNU.mjs} +3 -3
  16. package/dist/{fallback-2yWDDYiT.mjs.map → fallback-HinZYSNU.mjs.map} +1 -1
  17. package/dist/hooks/load-project-context.mjs.map +2 -2
  18. package/dist/hooks/security-validator.mjs.map +1 -1
  19. package/dist/hooks/worker-status-line.mjs.map +2 -2
  20. package/dist/index.mjs +2 -2
  21. package/dist/{pai-marker-BFOlchq2.mjs → pai-marker-B1splddK.mjs} +2 -2
  22. package/dist/{pai-marker-BFOlchq2.mjs.map → pai-marker-B1splddK.mjs.map} +1 -1
  23. package/dist/{planner-CspP59ya.mjs → planner-4nCXw4TS.mjs} +4 -4
  24. package/dist/{planner-CspP59ya.mjs.map → planner-4nCXw4TS.mjs.map} +1 -1
  25. package/dist/{program-D_Ks5nkL.mjs → program-DnGZ_mrf.mjs} +9 -9
  26. package/dist/{program-D_Ks5nkL.mjs.map → program-DnGZ_mrf.mjs.map} +1 -1
  27. package/dist/{run-BZNdpUGQ.mjs → run-BHLXvURR.mjs} +3 -3
  28. package/dist/{run-BZNdpUGQ.mjs.map → run-BHLXvURR.mjs.map} +1 -1
  29. package/dist/{worktree-CwMRTa0H.mjs → worktree-DxsZ85ni.mjs} +20 -2
  30. package/dist/worktree-DxsZ85ni.mjs.map +1 -0
  31. package/package.json +1 -1
  32. package/dist/auto-route-UD9PySwP.mjs +0 -7
  33. package/dist/worktree-CwMRTa0H.mjs.map +0 -1
@@ -1,18 +1,18 @@
1
1
  #!/usr/bin/env node
2
2
  import { p as MainConfigError, s as loadConfig } from "../config-DjZELvoA.mjs";
3
3
  import { T as readWorkersSection, l as MODEL_CAPABILITIES, n as CAPABILITY_NAME_RE, v as getProviderOrNative } from "../config-Dpe2JlbY.mjs";
4
- import { F as setWorkerLabel, O as loadStatus, W as ledgerPath, k as loadStatuses, q as workersLogDir, v as ledgerSummary, x as alive } from "../worktree-CwMRTa0H.mjs";
4
+ import { F as setWorkerLabel, O as loadStatus, W as ledgerPath, k as loadStatuses, q as workersLogDir, v as ledgerSummary, x as alive } from "../worktree-DxsZ85ni.mjs";
5
5
  import "../helpers-B9LHRJ8R.mjs";
6
6
  import "../postgres-CCAGq1qp.mjs";
7
7
  import "../factory-yElzJc6f.mjs";
8
8
  import "../embedding-gate-DqbKvn56.mjs";
9
9
  import "../embeddings-BUjZMD9F.mjs";
10
10
  import "../router-Bk_ySIZT.mjs";
11
- import { a as deadlineLabel, b as endLabel, d as sayToWorker, l as handoffFromInside, n as runWorker, r as testProvider, u as readInbox } from "../run-BZNdpUGQ.mjs";
11
+ import { a as deadlineLabel, b as endLabel, d as sayToWorker, l as handoffFromInside, n as runWorker, r as testProvider, u as readInbox } from "../run-BHLXvURR.mjs";
12
12
  import { t as PaiClient } from "../ipc-client-DVZ_EGnu.mjs";
13
- 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-2yWDDYiT.mjs";
13
+ 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-HinZYSNU.mjs";
14
14
  import "../run-env-Cd0Son-Y.mjs";
15
- import { t as runChain } from "../chain-BL4khGgy.mjs";
15
+ import { t as runChain } from "../chain-DyVKYcIZ.mjs";
16
16
  import { t as dropItermBundleId } from "../env-CPCNHz3i.mjs";
17
17
  import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";
18
18
  import { StdioServerTransport } from "@modelcontextprotocol/sdk/server/stdio.js";
@@ -1,7 +1,7 @@
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-DjZELvoA.mjs";
2
2
  import { C as providerCostTier, D as resolveModelCapability, E as resolveCapability, L as workersYamlPath, O as resolveProviderKey, S as nativeAnthropicProvider, T as readWorkersSection, _ as expandHome, a as DEFAULT_MAX_MINUTES, b as keysDir, c as DEFAULT_TREE, d as PROVIDER_TAGS, i as DEFAULT_LOG_DIR, k as writeWorkersSection, l as MODEL_CAPABILITIES, o as DEFAULT_PANE, p as WorkersConfigError, r as DEFAULT_CACHE_KEEPALIVE_SECS, s as DEFAULT_ROUTING, t as ANTHROPIC_NATIVE, v as getProviderOrNative, x as maskKey, y as isModelCapability } from "./config-Dpe2JlbY.mjs";
3
- import { B as shortText, C as contextPercent, D as isLive, E as isChatPane, M as ownsPid, S as contextLabel, T as elapsedOf, U as eventsPath, W as ledgerPath, _ as appendLedger, b as ageOf, k as loadStatuses, q as workersLogDir, y as UNLABELED } from "./worktree-CwMRTa0H.mjs";
4
- import { D as sessionTag, F as resolveTarget, M as clearCooldown, N as probeQuota, O as workerInScope, P as quotaSkipThreshold, S as currentTabKey, T as resolveSession, _ as clickrControlsArgv, a as deadlineLabel, b as endLabel, d as sayToWorker, f as workerDepth, o as parseWorkerReport, s as renderReport, u as readInbox, v as markControlsHeld } from "./run-BZNdpUGQ.mjs";
3
+ import { B as shortText, C as contextPercent, D as isLive, E as isChatPane, M as ownsPid, S as contextLabel, T as elapsedOf, U as eventsPath, W as ledgerPath, _ as appendLedger, b as ageOf, k as loadStatuses, q as workersLogDir, y as UNLABELED } from "./worktree-DxsZ85ni.mjs";
4
+ import { D as sessionTag, F as resolveTarget, M as clearCooldown, N as probeQuota, O as workerInScope, P as quotaSkipThreshold, S as currentTabKey, T as resolveSession, _ as clickrControlsArgv, a as deadlineLabel, b as endLabel, d as sayToWorker, f as workerDepth, o as parseWorkerReport, s as renderReport, u as readInbox, v as markControlsHeld } from "./run-BHLXvURR.mjs";
5
5
  import { chmodSync, closeSync, existsSync, mkdirSync, openSync, readFileSync, readSync, unlinkSync, writeFileSync } from "node:fs";
6
6
  import { homedir } from "node:os";
7
7
  import { basename, join, relative, resolve } from "node:path";
@@ -2228,4 +2228,4 @@ function fallbackStatusText(s) {
2228
2228
 
2229
2229
  //#endregion
2230
2230
  export { getConfigValueOp as A, setWorkersEnabled as C, useProvider as D, updateProvider as E, setConfigValueOp as M, unsetConfigValueOp as N, MainConfigOpsError as O, setProviderModel as S, unsetClass as T, removeProvider as _, followWorkers as a, setClass as b, statusLineOutput as c, addProvider as d, classTargetText as f, modelPrefsText as g, describeProviders as h, fallbackStatusText as i, listConfigOp as j, formatConfigGetOutput as k, readSpecPrompt as l, describeModels as m, fallbackOn as n, psOutput as o, describeCapabilities as p, fallbackStatus as r, replayOutput as s, fallbackOff as t, resolveSpecPath as u, resolveProviderName as v, unsetCapabilityPreference as w, setProviderEnabled as x, setCapabilityPreference as y };
2231
- //# sourceMappingURL=fallback-2yWDDYiT.mjs.map
2231
+ //# sourceMappingURL=fallback-HinZYSNU.mjs.map