pi2dsh 0.12.3 → 0.12.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.
Files changed (41) hide show
  1. package/README.md +21 -14
  2. package/README.zh.md +16 -11
  3. package/dist/{analyzer-2Nx5XYOA.mjs → analyzer-CXNbeBAe.mjs} +2 -2
  4. package/dist/{analyzer-2Nx5XYOA.mjs.map → analyzer-CXNbeBAe.mjs.map} +1 -1
  5. package/dist/cli.mjs +2 -2
  6. package/dist/client.js +424 -38
  7. package/dist/compat/pi-ai.d.mts +36 -1
  8. package/dist/compat/pi-ai.d.mts.map +1 -1
  9. package/dist/compat/pi-ai.mjs +2 -2
  10. package/dist/compat/pi-coding-agent.d.mts +2 -1411
  11. package/dist/compat/pi-coding-agent.mjs +1 -1
  12. package/dist/compat/pi-tui.mjs +1 -1
  13. package/dist/{oauth-bridge-CfyImWx4.mjs → credentials-oauth-BakY-0PA.mjs} +172 -13
  14. package/dist/credentials-oauth-BakY-0PA.mjs.map +1 -0
  15. package/dist/credentials-oauth.mjs +1 -89
  16. package/dist/host.mjs +4 -2
  17. package/dist/host.mjs.map +1 -1
  18. package/dist/index.mjs +3 -3
  19. package/dist/{mcp-config-Cjae0vot.mjs → mcp-config-CZepacin.mjs} +19 -19
  20. package/dist/mcp-config-CZepacin.mjs.map +1 -0
  21. package/dist/{pi-ai-Dyg4zyLZ.mjs → pi-ai-BA3V_J0V.mjs} +40 -2
  22. package/dist/{pi-ai-Dyg4zyLZ.mjs.map → pi-ai-BA3V_J0V.mjs.map} +1 -1
  23. package/dist/pi-coding-agent-B0PT23gE.d.mts +1412 -0
  24. package/dist/pi-coding-agent-B0PT23gE.d.mts.map +1 -0
  25. package/dist/{pi-coding-agent-CYnmeJEx.mjs → pi-coding-agent-D9skobb6.mjs} +0 -0
  26. package/dist/pi-coding-agent-D9skobb6.mjs.map +1 -0
  27. package/dist/{pi-tui-5CYLcj-_.mjs → pi-tui-DruSeKmd.mjs} +3 -3
  28. package/dist/pi-tui-DruSeKmd.mjs.map +1 -0
  29. package/dist/{runtime-B_Ig28og.mjs → runtime-DH0zEUpu.mjs} +942 -75
  30. package/dist/runtime-DH0zEUpu.mjs.map +1 -0
  31. package/dist/runtime.d.mts +594 -0
  32. package/dist/runtime.d.mts.map +1 -1
  33. package/dist/runtime.mjs +1 -1
  34. package/package.json +1 -1
  35. package/dist/compat/pi-coding-agent.d.mts.map +0 -1
  36. package/dist/credentials-oauth.mjs.map +0 -1
  37. package/dist/mcp-config-Cjae0vot.mjs.map +0 -1
  38. package/dist/oauth-bridge-CfyImWx4.mjs.map +0 -1
  39. package/dist/pi-coding-agent-CYnmeJEx.mjs.map +0 -1
  40. package/dist/pi-tui-5CYLcj-_.mjs.map +0 -1
  41. package/dist/runtime-B_Ig28og.mjs.map +0 -1
@@ -6,7 +6,7 @@ import { readdirSync, statSync } from "fs";
6
6
  import { basename as basename$1, dirname as dirname$1, join as join$1 } from "path";
7
7
  import { eastAsianWidth } from "get-east-asian-width";
8
8
  import { execSync } from "node:child_process";
9
- import { spawn } from "child_process";
9
+ import { spawn as spawn$1 } from "child_process";
10
10
  import { homedir as homedir$1 } from "os";
11
11
  import { Marked } from "marked";
12
12
  //#region src/compat/vendor/pi-tui-utils.ts
@@ -3773,7 +3773,7 @@ async function walkDirectoryWithFd(baseDir, fdPath, query, maxResults, signal) {
3773
3773
  resolve([]);
3774
3774
  return;
3775
3775
  }
3776
- const child = spawn(fdPath, args, { stdio: [
3776
+ const child = spawn$1(fdPath, args, { stdio: [
3777
3777
  "ignore",
3778
3778
  "pipe",
3779
3779
  "pipe"
@@ -4509,4 +4509,4 @@ function isViewportTUI(value) {
4509
4509
  //#endregion
4510
4510
  export { matchesKey as $, getCellDimensions as A, setCellDimensions as B, calculateImageRows as C, encodeITerm2 as D, detectCapabilities as E, getWebpDimensions as F, setKeybindings as G, KeybindingsManager as H, hyperlink as I, Key as J, parseOsc11BackgroundColor as K, imageFallback as L, getImageDimensions as M, getJpegDimensions as N, encodeKitty as O, getPngDimensions as P, isKittyProtocolActive as Q, resetCapabilitiesCache as R, allocateImageId as S, deleteKittyImage as T, TUI_KEYBINDINGS as U, renderLatex as V, getKeybindings as W, isKeyRelease as X, decodeKittyPrintable as Y, isKeyRepeat as Z, TruncatedText as _, stripTerminalSequences as _t, Editor as a, applyBackgroundToLine as at, isViewportTUI as b, wrapTextWithAnsi as bt, Input as c, getGraphemeCellRange as ct, Marked as d, getWordSegmenter as dt, parseKey as et, ScrollView as f, isPunctuationChar as ft, Text as g, sliceWithWidth as gt, Spacer as h, sliceByColumn as ht, Container as i, PUNCTUATION_REGEX as it, getGifDimensions as j, getCapabilities as k, Loader as l, getGraphemeSegmenter as lt, SettingsList as m, normalizeTerminalOutput as mt, CURSOR_MARKER as n, fuzzyFilter as nt, HStack as o, cjkBreakRegex as ot, SelectList as p, isWhitespaceChar as pt, parseTerminalColorSchemeReport as q, CancellableLoader as r, fuzzyMatch as rt, Image as s, extractAnsiCode as st, Box as t, setKittyProtocolActive as tt, Markdown as u, getOsc8LinkAtColumn as ut, VStack as v, truncateToWidth as vt, deleteAllKittyImages as w, CombinedAutocompleteProvider as x, isFocusable as y, visibleWidth as yt, setCapabilities as z };
4511
4511
 
4512
- //# sourceMappingURL=pi-tui-5CYLcj-_.mjs.map
4512
+ //# sourceMappingURL=pi-tui-DruSeKmd.mjs.map