pybao-cli 1.4.21 → 1.4.22

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 (146) hide show
  1. package/dist/REPL-OA5CBUXV.js +47 -0
  2. package/dist/{acp-UUHU3ZJP.js → acp-JQNSVEGV.js} +29 -29
  3. package/dist/{agentsValidate-353ZIKRX.js → agentsValidate-SIRSYHFV.js} +7 -7
  4. package/dist/{ask-YWFFJDOZ.js → ask-PJF45F7L.js} +28 -28
  5. package/dist/{autoUpdater-QL55VUNN.js → autoUpdater-NMUBY2X2.js} +3 -3
  6. package/dist/{chunk-VRRPDCZU.js → chunk-3HGB47VS.js} +16 -16
  7. package/dist/{chunk-YPA63LLM.js → chunk-4ROPZ2KS.js} +1 -1
  8. package/dist/{chunk-F7WF5Y2G.js → chunk-6KUHFC2Z.js} +3 -3
  9. package/dist/{chunk-7CLUNX6N.js → chunk-A4AWHSSA.js} +1 -1
  10. package/dist/{chunk-EAFBKCII.js → chunk-AK5PCDXL.js} +4 -4
  11. package/dist/{chunk-7VUZ7F6O.js → chunk-BSF6SQU2.js} +3 -3
  12. package/dist/{chunk-SUAQOOKX.js → chunk-CCP6LPOD.js} +3 -3
  13. package/dist/{chunk-LYET7J6P.js → chunk-CFGDB4HZ.js} +3 -3
  14. package/dist/{chunk-ZT6BL4GJ.js → chunk-COQVH5YO.js} +3 -3
  15. package/dist/{chunk-UBLX77SB.js → chunk-DMZ26YAR.js} +2 -2
  16. package/dist/{chunk-IHAMEI25.js → chunk-FXLI3PIJ.js} +1 -1
  17. package/dist/{chunk-FKKGYX57.js → chunk-HDYOV3IB.js} +2 -2
  18. package/dist/{chunk-TBCQF3QX.js → chunk-HSR2UCV2.js} +2 -2
  19. package/dist/{chunk-X62O47V5.js → chunk-HXRQ5XUC.js} +4 -4
  20. package/dist/{chunk-HDFCFRX2.js → chunk-IYIJPGWY.js} +1 -1
  21. package/dist/{chunk-GQ4XDOB6.js → chunk-LWJYPTRD.js} +3 -3
  22. package/dist/{chunk-AJCE4AEB.js → chunk-MRRPYVYP.js} +2 -2
  23. package/dist/{chunk-EWFAAFFD.js → chunk-MU74SS73.js} +1 -1
  24. package/dist/{chunk-GKTOGTH7.js → chunk-NKH3YHNP.js} +2 -2
  25. package/dist/{chunk-P64FZW37.js → chunk-PMJMJHAY.js} +1 -1
  26. package/dist/{chunk-P64FZW37.js.map → chunk-PMJMJHAY.js.map} +1 -1
  27. package/dist/{chunk-SHJMSIG4.js → chunk-QFKEM667.js} +3 -3
  28. package/dist/{chunk-OYOVAWVJ.js → chunk-SKBREVBZ.js} +1 -1
  29. package/dist/{chunk-YI6B3ZKC.js → chunk-SSO66X53.js} +1 -1
  30. package/dist/{chunk-MOGFCWQS.js → chunk-TNZH4HPF.js} +4 -4
  31. package/dist/{chunk-NADOCBZJ.js → chunk-TVUZVWPL.js} +39 -36
  32. package/dist/chunk-TVUZVWPL.js.map +7 -0
  33. package/dist/{chunk-BDK7LO6T.js → chunk-UKJYPT5Y.js} +2 -2
  34. package/dist/{chunk-N7BETKV4.js → chunk-VWSR2E6J.js} +2 -2
  35. package/dist/{chunk-7JZLL27D.js → chunk-X2VHXBG6.js} +4 -4
  36. package/dist/{chunk-43B54VVG.js → chunk-X5R43CBD.js} +1 -1
  37. package/dist/{chunk-NKJCMQ6E.js → chunk-ZWEPUYHN.js} +1 -1
  38. package/dist/{cli-M46CTXI4.js → cli-WRO7ORZI.js} +87 -87
  39. package/dist/commands-UUZWL5XA.js +51 -0
  40. package/dist/{config-IO3BT2A2.js → config-F2JTMCNM.js} +4 -4
  41. package/dist/{context-VTFCGOC2.js → context-2P3ABILS.js} +6 -6
  42. package/dist/{customCommands-HOLAMNPY.js → customCommands-LC4A4T2N.js} +4 -4
  43. package/dist/{env-NHL3SB7W.js → env-NRDSX6YE.js} +2 -2
  44. package/dist/{file-GTG6NWXX.js → file-QW6B3FBX.js} +4 -4
  45. package/dist/index.js +3 -3
  46. package/dist/{llm-OGMPR5GE.js → llm-T6W2TWOB.js} +29 -29
  47. package/dist/{llmLazy-34ZZMXCF.js → llmLazy-JHMVXI2R.js} +1 -1
  48. package/dist/{loader-OYS5VS5I.js → loader-7QDRHG5K.js} +4 -4
  49. package/dist/{lsp-22ED4VPG.js → lsp-J3CXBGII.js} +6 -6
  50. package/dist/{lspAnchor-RX7NJOBQ.js → lspAnchor-MS3WWRQV.js} +6 -6
  51. package/dist/{mcp-OQ2WEC5Z.js → mcp-6ELEX6UT.js} +7 -7
  52. package/dist/{mentionProcessor-JJNEREBP.js → mentionProcessor-UQEVYHRV.js} +5 -5
  53. package/dist/{messages-WLARG2JF.js → messages-AYLSBCJX.js} +1 -1
  54. package/dist/{model-26MQKGED.js → model-ACKFMQEO.js} +5 -5
  55. package/dist/{openai-VXAITTZX.js → openai-IY2JUXYZ.js} +5 -5
  56. package/dist/{outputStyles-BA4KOXCS.js → outputStyles-UPFBOTWM.js} +4 -4
  57. package/dist/{pluginRuntime-SYDBIIWL.js → pluginRuntime-XYVYWYPZ.js} +6 -6
  58. package/dist/{pluginValidation-SE2BRVQL.js → pluginValidation-AJEMERCK.js} +6 -6
  59. package/dist/prompts-QVD42KVR.js +53 -0
  60. package/dist/{pybAgentSessionLoad-XSFFI3BN.js → pybAgentSessionLoad-XEZGZCH6.js} +4 -4
  61. package/dist/{pybAgentSessionResume-BFZV4CV3.js → pybAgentSessionResume-YNOZUGZK.js} +4 -4
  62. package/dist/{pybAgentStreamJsonSession-RHPD4Z2Z.js → pybAgentStreamJsonSession-ABJ6FELC.js} +1 -1
  63. package/dist/{pybHooks-XD7KAH7A.js → pybHooks-I55HEXHL.js} +4 -4
  64. package/dist/query-IFBSEKYQ.js +55 -0
  65. package/dist/{registry-7FICGFL7.js → registry-L6ABEPRQ.js} +5 -5
  66. package/dist/{ripgrep-SQ3BXDRN.js → ripgrep-43ITSO44.js} +3 -3
  67. package/dist/{skillMarketplace-6QNUBZTV.js → skillMarketplace-V4ZIXRHK.js} +3 -3
  68. package/dist/{state-5SSMFU6R.js → state-MFOHBFNA.js} +2 -2
  69. package/dist/{theme-X7TYW74V.js → theme-7QCXHH44.js} +5 -5
  70. package/dist/{toolPermissionSettings-O2I5PDDR.js → toolPermissionSettings-EGJZRYJW.js} +6 -6
  71. package/dist/tools-XKGM72SU.js +52 -0
  72. package/dist/{userInput-AQ5E6Y4V.js → userInput-SLKQLRPN.js} +30 -30
  73. package/package.json +1 -1
  74. package/dist/REPL-DTEFOCH6.js +0 -47
  75. package/dist/chunk-NADOCBZJ.js.map +0 -7
  76. package/dist/commands-K57S3UBE.js +0 -51
  77. package/dist/prompts-ESKS4M5Z.js +0 -53
  78. package/dist/query-N4J7UQHR.js +0 -55
  79. package/dist/tools-UEIS5PFY.js +0 -52
  80. /package/dist/{REPL-DTEFOCH6.js.map → REPL-OA5CBUXV.js.map} +0 -0
  81. /package/dist/{acp-UUHU3ZJP.js.map → acp-JQNSVEGV.js.map} +0 -0
  82. /package/dist/{agentsValidate-353ZIKRX.js.map → agentsValidate-SIRSYHFV.js.map} +0 -0
  83. /package/dist/{ask-YWFFJDOZ.js.map → ask-PJF45F7L.js.map} +0 -0
  84. /package/dist/{autoUpdater-QL55VUNN.js.map → autoUpdater-NMUBY2X2.js.map} +0 -0
  85. /package/dist/{chunk-VRRPDCZU.js.map → chunk-3HGB47VS.js.map} +0 -0
  86. /package/dist/{chunk-YPA63LLM.js.map → chunk-4ROPZ2KS.js.map} +0 -0
  87. /package/dist/{chunk-F7WF5Y2G.js.map → chunk-6KUHFC2Z.js.map} +0 -0
  88. /package/dist/{chunk-7CLUNX6N.js.map → chunk-A4AWHSSA.js.map} +0 -0
  89. /package/dist/{chunk-EAFBKCII.js.map → chunk-AK5PCDXL.js.map} +0 -0
  90. /package/dist/{chunk-7VUZ7F6O.js.map → chunk-BSF6SQU2.js.map} +0 -0
  91. /package/dist/{chunk-SUAQOOKX.js.map → chunk-CCP6LPOD.js.map} +0 -0
  92. /package/dist/{chunk-LYET7J6P.js.map → chunk-CFGDB4HZ.js.map} +0 -0
  93. /package/dist/{chunk-ZT6BL4GJ.js.map → chunk-COQVH5YO.js.map} +0 -0
  94. /package/dist/{chunk-UBLX77SB.js.map → chunk-DMZ26YAR.js.map} +0 -0
  95. /package/dist/{chunk-IHAMEI25.js.map → chunk-FXLI3PIJ.js.map} +0 -0
  96. /package/dist/{chunk-FKKGYX57.js.map → chunk-HDYOV3IB.js.map} +0 -0
  97. /package/dist/{chunk-TBCQF3QX.js.map → chunk-HSR2UCV2.js.map} +0 -0
  98. /package/dist/{chunk-X62O47V5.js.map → chunk-HXRQ5XUC.js.map} +0 -0
  99. /package/dist/{chunk-HDFCFRX2.js.map → chunk-IYIJPGWY.js.map} +0 -0
  100. /package/dist/{chunk-GQ4XDOB6.js.map → chunk-LWJYPTRD.js.map} +0 -0
  101. /package/dist/{chunk-AJCE4AEB.js.map → chunk-MRRPYVYP.js.map} +0 -0
  102. /package/dist/{chunk-EWFAAFFD.js.map → chunk-MU74SS73.js.map} +0 -0
  103. /package/dist/{chunk-GKTOGTH7.js.map → chunk-NKH3YHNP.js.map} +0 -0
  104. /package/dist/{chunk-SHJMSIG4.js.map → chunk-QFKEM667.js.map} +0 -0
  105. /package/dist/{chunk-OYOVAWVJ.js.map → chunk-SKBREVBZ.js.map} +0 -0
  106. /package/dist/{chunk-YI6B3ZKC.js.map → chunk-SSO66X53.js.map} +0 -0
  107. /package/dist/{chunk-MOGFCWQS.js.map → chunk-TNZH4HPF.js.map} +0 -0
  108. /package/dist/{chunk-BDK7LO6T.js.map → chunk-UKJYPT5Y.js.map} +0 -0
  109. /package/dist/{chunk-N7BETKV4.js.map → chunk-VWSR2E6J.js.map} +0 -0
  110. /package/dist/{chunk-7JZLL27D.js.map → chunk-X2VHXBG6.js.map} +0 -0
  111. /package/dist/{chunk-43B54VVG.js.map → chunk-X5R43CBD.js.map} +0 -0
  112. /package/dist/{chunk-NKJCMQ6E.js.map → chunk-ZWEPUYHN.js.map} +0 -0
  113. /package/dist/{cli-M46CTXI4.js.map → cli-WRO7ORZI.js.map} +0 -0
  114. /package/dist/{commands-K57S3UBE.js.map → commands-UUZWL5XA.js.map} +0 -0
  115. /package/dist/{config-IO3BT2A2.js.map → config-F2JTMCNM.js.map} +0 -0
  116. /package/dist/{context-VTFCGOC2.js.map → context-2P3ABILS.js.map} +0 -0
  117. /package/dist/{customCommands-HOLAMNPY.js.map → customCommands-LC4A4T2N.js.map} +0 -0
  118. /package/dist/{env-NHL3SB7W.js.map → env-NRDSX6YE.js.map} +0 -0
  119. /package/dist/{file-GTG6NWXX.js.map → file-QW6B3FBX.js.map} +0 -0
  120. /package/dist/{llm-OGMPR5GE.js.map → llm-T6W2TWOB.js.map} +0 -0
  121. /package/dist/{llmLazy-34ZZMXCF.js.map → llmLazy-JHMVXI2R.js.map} +0 -0
  122. /package/dist/{loader-OYS5VS5I.js.map → loader-7QDRHG5K.js.map} +0 -0
  123. /package/dist/{lsp-22ED4VPG.js.map → lsp-J3CXBGII.js.map} +0 -0
  124. /package/dist/{lspAnchor-RX7NJOBQ.js.map → lspAnchor-MS3WWRQV.js.map} +0 -0
  125. /package/dist/{mcp-OQ2WEC5Z.js.map → mcp-6ELEX6UT.js.map} +0 -0
  126. /package/dist/{mentionProcessor-JJNEREBP.js.map → mentionProcessor-UQEVYHRV.js.map} +0 -0
  127. /package/dist/{messages-WLARG2JF.js.map → messages-AYLSBCJX.js.map} +0 -0
  128. /package/dist/{model-26MQKGED.js.map → model-ACKFMQEO.js.map} +0 -0
  129. /package/dist/{openai-VXAITTZX.js.map → openai-IY2JUXYZ.js.map} +0 -0
  130. /package/dist/{outputStyles-BA4KOXCS.js.map → outputStyles-UPFBOTWM.js.map} +0 -0
  131. /package/dist/{pluginRuntime-SYDBIIWL.js.map → pluginRuntime-XYVYWYPZ.js.map} +0 -0
  132. /package/dist/{pluginValidation-SE2BRVQL.js.map → pluginValidation-AJEMERCK.js.map} +0 -0
  133. /package/dist/{prompts-ESKS4M5Z.js.map → prompts-QVD42KVR.js.map} +0 -0
  134. /package/dist/{pybAgentSessionLoad-XSFFI3BN.js.map → pybAgentSessionLoad-XEZGZCH6.js.map} +0 -0
  135. /package/dist/{pybAgentSessionResume-BFZV4CV3.js.map → pybAgentSessionResume-YNOZUGZK.js.map} +0 -0
  136. /package/dist/{pybAgentStreamJsonSession-RHPD4Z2Z.js.map → pybAgentStreamJsonSession-ABJ6FELC.js.map} +0 -0
  137. /package/dist/{pybHooks-XD7KAH7A.js.map → pybHooks-I55HEXHL.js.map} +0 -0
  138. /package/dist/{query-N4J7UQHR.js.map → query-IFBSEKYQ.js.map} +0 -0
  139. /package/dist/{registry-7FICGFL7.js.map → registry-L6ABEPRQ.js.map} +0 -0
  140. /package/dist/{ripgrep-SQ3BXDRN.js.map → ripgrep-43ITSO44.js.map} +0 -0
  141. /package/dist/{skillMarketplace-6QNUBZTV.js.map → skillMarketplace-V4ZIXRHK.js.map} +0 -0
  142. /package/dist/{state-5SSMFU6R.js.map → state-MFOHBFNA.js.map} +0 -0
  143. /package/dist/{theme-X7TYW74V.js.map → theme-7QCXHH44.js.map} +0 -0
  144. /package/dist/{toolPermissionSettings-O2I5PDDR.js.map → toolPermissionSettings-EGJZRYJW.js.map} +0 -0
  145. /package/dist/{tools-UEIS5PFY.js.map → tools-XKGM72SU.js.map} +0 -0
  146. /package/dist/{userInput-AQ5E6Y4V.js.map → userInput-SLKQLRPN.js.map} +0 -0
@@ -5,12 +5,12 @@ import {
5
5
  } from "./chunk-BJSWTHRM.js";
6
6
  import {
7
7
  debug
8
- } from "./chunk-YPA63LLM.js";
8
+ } from "./chunk-4ROPZ2KS.js";
9
9
  import {
10
10
  getCwd,
11
11
  logError,
12
12
  resolveXdgDataPath
13
- } from "./chunk-OYOVAWVJ.js";
13
+ } from "./chunk-SKBREVBZ.js";
14
14
 
15
15
  // src/services/plugins/customCommands.ts
16
16
  import { existsSync, readFileSync, readdirSync, statSync } from "fs";
@@ -4,7 +4,7 @@ import {
4
4
  BunShell,
5
5
  execFileNoThrow,
6
6
  logError
7
- } from "./chunk-OYOVAWVJ.js";
7
+ } from "./chunk-SKBREVBZ.js";
8
8
 
9
9
  // src/utils/system/ripgrep.ts
10
10
  import { findActualExecutable } from "spawn-rx";
@@ -7,14 +7,14 @@ import {
7
7
  getSettingsFileCandidates,
8
8
  loadSettingsWithLegacyFallback,
9
9
  saveSettingsToPrimaryAndSyncLegacy
10
- } from "./chunk-43B54VVG.js";
10
+ } from "./chunk-X5R43CBD.js";
11
11
  import {
12
12
  getSessionPlugins
13
13
  } from "./chunk-BJSWTHRM.js";
14
14
  import {
15
15
  getCwd,
16
16
  getXdgConfigDir
17
- } from "./chunk-OYOVAWVJ.js";
17
+ } from "./chunk-SKBREVBZ.js";
18
18
 
19
19
  // src/services/ui/outputStyles.ts
20
20
  import figures from "figures";
@@ -4,7 +4,7 @@ const require = __pybCreateRequire(import.meta.url);
4
4
  // package.json
5
5
  var package_default = {
6
6
  name: "pybao-cli",
7
- version: "1.4.21",
7
+ version: "1.4.22",
8
8
  bin: {
9
9
  pyb: "cli.js",
10
10
  "pyb-acp": "cli-acp.js"
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../package.json", "../src/constants/macros.ts"],
4
- "sourcesContent": ["{\n \"name\": \"pybao-cli\",\n \"version\": \"1.4.21\",\n \"bin\": {\n \"pyb\": \"cli.js\",\n \"pyb-acp\": \"cli-acp.js\"\n },\n \"engines\": {\n \"node\": \">=20.18.1\"\n },\n \"main\": \"cli.js\",\n \"author\": \"PYB-XC\",\n \"license\": \"MIT\",\n \"description\": \"PYB-CLI - Minimal AI Agent with multi-model support and CLI interface\",\n \"keywords\": [\n \"ai\",\n \"agent\",\n \"minimal\",\n \"claude\"\n ],\n \"homepage\": \"https://github.com/pyb-xc/pyb-ts\",\n \"repository\": {\n \"type\": \"git\",\n \"url\": \"git+https://github.com/pyb-xc/pyb-ts.git\"\n },\n \"bugs\": {\n \"url\": \"https://github.com/pyb-xc/pyb-ts/issues\"\n },\n \"files\": [\n \"cli.js\",\n \"cli-acp.js\",\n \"yoga.wasm\",\n \"dist/**/*\",\n \"scripts/binary-utils.cjs\",\n \"scripts/cli-wrapper.cjs\",\n \"scripts/cli-acp-wrapper.cjs\",\n \"scripts/postinstall.js\",\n \".npmrc\",\n \"resources/**/*\"\n ],\n \"scripts\": {\n \"dev\": \"bun run ./src/entrypoints/cli.tsx --verbose\",\n \"build:npm\": \"bun scripts/build.mjs\",\n \"build\": \"npm run build:npm\",\n \"build:binary\": \"node scripts/build-binary.mjs\",\n \"clean\": \"node scripts/clean.mjs\",\n \"prepublishOnly\": \"npm run build:npm && node scripts/prepublish-check.js\",\n \"postinstall\": \"node scripts/postinstall.js || true\",\n \"format\": \"prettier --write \\\"src/**/*.{ts,tsx,js,jsx,json}\\\" \\\"tests/**/*.{ts,tsx,js,jsx,json}\\\"\",\n \"format:check\": \"prettier --check \\\"src/**/*.{ts,tsx,js,jsx,json}\\\" \\\"tests/**/*.{ts,tsx,js,jsx,json}\\\"\",\n \"lint\": \"eslint . --ext .ts,.tsx,.js --max-warnings 0\",\n \"lint:fix\": \"eslint . --ext .ts,.tsx,.js --fix\",\n \"test\": \"bun test\",\n \"test:unit\": \"bun test tests/unit\",\n \"test:integration\": \"bun test tests/integration\",\n \"test:e2e\": \"bun test tests/e2e\",\n \"typecheck\": \"tsc --noEmit\",\n \"prepare\": \"bun run scripts/install-hooks.mjs\",\n \"publish:dev\": \"bun run scripts/publish-dev.js\",\n \"publish:release\": \"bun run scripts/publish-release.js\",\n \"bench:startup\": \"bun run scripts/bench-startup.mjs\",\n \"parity:reference\": \"bun run scripts/reference-parity-check.mjs\"\n },\n \"dependencies\": {\n \"@anthropic-ai/bedrock-sdk\": \"^0.12.6\",\n \"@anthropic-ai/sdk\": \"^0.39.0\",\n \"@anthropic-ai/vertex-sdk\": \"^0.7.0\",\n \"@astrojs/language-server\": \"2.16.2\",\n \"@aws-sdk/client-bedrock-runtime\": \"3.797.0\",\n \"@commander-js/extra-typings\": \"^13.1.0\",\n \"@inkjs/ui\": \"^2.0.0\",\n \"@modelcontextprotocol/sdk\": \"^1.15.1\",\n \"@prisma/language-server\": \"31.3.4\",\n \"@types/lodash-es\": \"^4.17.12\",\n \"@types/react\": \"^19.1.8\",\n \"@vscode/ripgrep\": \"^1.17.0\",\n \"@vue/language-server\": \"3.2.2\",\n \"ajv\": \"^8.17.1\",\n \"ansi-escapes\": \"^7.0.0\",\n \"bash-language-server\": \"5.6.0\",\n \"chalk\": \"^5.4.1\",\n \"cli-highlight\": \"^2.1.11\",\n \"cli-table3\": \"^0.6.5\",\n \"commander\": \"^13.1.0\",\n \"debug\": \"^4.4.1\",\n \"diff\": \"^7.0.0\",\n \"dockerfile-language-server-nodejs\": \"0.15.0\",\n \"dotenv\": \"^16.6.1\",\n \"env-paths\": \"^3.0.0\",\n \"fflate\": \"^0.8.2\",\n \"figures\": \"^6.1.0\",\n \"glob\": \"^11.0.3\",\n \"graphql-language-service-cli\": \"3.5.0\",\n \"gray-matter\": \"^4.0.3\",\n \"highlight.js\": \"^11.11.1\",\n \"ignore\": \"^7.0.5\",\n \"ink\": \"5.2.1\",\n \"ink-link\": \"^4.1.0\",\n \"ink-select-input\": \"^6.2.0\",\n \"ink-text-input\": \"^6.0.0\",\n \"intelephense\": \"1.16.3\",\n \"js-yaml\": \"^4.1.1\",\n \"lodash-es\": \"^4.17.21\",\n \"lru-cache\": \"^11.1.0\",\n \"marked\": \"^15.0.12\",\n \"minimatch\": \"^10.1.1\",\n \"nanoid\": \"^5.1.5\",\n \"node-html-parser\": \"^7.0.1\",\n \"openai\": \"4.104.0\",\n \"pyright\": \"1.1.408\",\n \"react\": \"18.3.1\",\n \"semver\": \"^7.7.2\",\n \"shell-quote\": \"1.8.3\",\n \"spawn-rx\": \"^5.1.2\",\n \"string-width\": \"^7.2.0\",\n \"strip-ansi\": \"^7.1.0\",\n \"svelte-language-server\": \"0.17.23\",\n \"tsx\": \"^4.20.3\",\n \"typescript-language-server\": \"5.1.3\",\n \"undici\": \"^7.11.0\",\n \"vscode-jsonrpc\": \"8.2.1\",\n \"vscode-langservers-extracted\": \"4.10.0\",\n \"web-tree-sitter\": \"0.25.10\",\n \"which\": \"^6.0.0\",\n \"wrap-ansi\": \"^9.0.0\",\n \"yaml-language-server\": \"1.19.2\",\n \"zod\": \"^3.25.76\",\n \"zod-to-json-schema\": \"^3.24.6\"\n },\n \"devDependencies\": {\n \"@types/bun\": \"latest\",\n \"@types/jest\": \"^30.0.0\",\n \"@types/node\": \"^24.1.0\",\n \"@types/which\": \"^3.0.4\",\n \"@typescript-eslint/eslint-plugin\": \"^8.50.1\",\n \"@typescript-eslint/parser\": \"^8.50.1\",\n \"abort-controller\": \"3.0.0\",\n \"bun-types\": \"latest\",\n \"cheerio\": \"1.1.2\",\n \"esbuild\": \"^0.25.9\",\n \"eslint\": \"8.57.0\",\n \"eslint-plugin-react-hooks\": \"^7.0.1\",\n \"ink-testing-library\": \"4.0.0\",\n \"node-fetch\": \"3.3.2\",\n \"prettier\": \"^3.6.2\",\n \"react-devtools-core\": \"^7.0.1\",\n \"tree-sitter-bash\": \"0.25.1\",\n \"tree-sitter-c-sharp\": \"0.23.1\",\n \"tree-sitter-clojure\": \"0.4.0\",\n \"tree-sitter-cpp\": \"0.23.4\",\n \"tree-sitter-go\": \"0.25.0\",\n \"tree-sitter-haskell\": \"0.23.1\",\n \"tree-sitter-java\": \"0.23.5\",\n \"tree-sitter-julia\": \"0.23.1\",\n \"tree-sitter-nix\": \"0.0.2\",\n \"tree-sitter-ocaml\": \"0.24.2\",\n \"tree-sitter-python\": \"0.25.0\",\n \"tree-sitter-rust\": \"0.24.0\",\n \"tree-sitter-scala\": \"0.24.0\",\n \"tree-sitter-swift\": \"0.7.1\",\n \"tree-sitter-typescript\": \"0.23.2\",\n \"turndown\": \"7.2.2\",\n \"typescript\": \"^5.9.2\"\n },\n \"overrides\": {\n \"@aws-sdk/client-bedrock-runtime\": \"3.797.0\",\n \"@smithy/smithy-client\": \"2.5.1\"\n }\n}\n", "import pkg from '../../package.json'\n\nexport const MACRO = {\n VERSION: pkg.version,\n README_URL: 'https://github.com/pyb-xc/pyb-ts#readme',\n PACKAGE_URL: 'pybao-cli',\n ISSUES_EXPLAINER:\n 'report the issue at https://github.com/pyb-xc/pyb-ts/issues',\n}\n"],
4
+ "sourcesContent": ["{\n \"name\": \"pybao-cli\",\n \"version\": \"1.4.22\",\n \"bin\": {\n \"pyb\": \"cli.js\",\n \"pyb-acp\": \"cli-acp.js\"\n },\n \"engines\": {\n \"node\": \">=20.18.1\"\n },\n \"main\": \"cli.js\",\n \"author\": \"PYB-XC\",\n \"license\": \"MIT\",\n \"description\": \"PYB-CLI - Minimal AI Agent with multi-model support and CLI interface\",\n \"keywords\": [\n \"ai\",\n \"agent\",\n \"minimal\",\n \"claude\"\n ],\n \"homepage\": \"https://github.com/pyb-xc/pyb-ts\",\n \"repository\": {\n \"type\": \"git\",\n \"url\": \"git+https://github.com/pyb-xc/pyb-ts.git\"\n },\n \"bugs\": {\n \"url\": \"https://github.com/pyb-xc/pyb-ts/issues\"\n },\n \"files\": [\n \"cli.js\",\n \"cli-acp.js\",\n \"yoga.wasm\",\n \"dist/**/*\",\n \"scripts/binary-utils.cjs\",\n \"scripts/cli-wrapper.cjs\",\n \"scripts/cli-acp-wrapper.cjs\",\n \"scripts/postinstall.js\",\n \".npmrc\",\n \"resources/**/*\"\n ],\n \"scripts\": {\n \"dev\": \"bun run ./src/entrypoints/cli.tsx --verbose\",\n \"build:npm\": \"bun scripts/build.mjs\",\n \"build\": \"npm run build:npm\",\n \"build:binary\": \"node scripts/build-binary.mjs\",\n \"clean\": \"node scripts/clean.mjs\",\n \"prepublishOnly\": \"npm run build:npm && node scripts/prepublish-check.js\",\n \"postinstall\": \"node scripts/postinstall.js || true\",\n \"format\": \"prettier --write \\\"src/**/*.{ts,tsx,js,jsx,json}\\\" \\\"tests/**/*.{ts,tsx,js,jsx,json}\\\"\",\n \"format:check\": \"prettier --check \\\"src/**/*.{ts,tsx,js,jsx,json}\\\" \\\"tests/**/*.{ts,tsx,js,jsx,json}\\\"\",\n \"lint\": \"eslint . --ext .ts,.tsx,.js --max-warnings 0\",\n \"lint:fix\": \"eslint . --ext .ts,.tsx,.js --fix\",\n \"test\": \"bun test\",\n \"test:unit\": \"bun test tests/unit\",\n \"test:integration\": \"bun test tests/integration\",\n \"test:e2e\": \"bun test tests/e2e\",\n \"typecheck\": \"tsc --noEmit\",\n \"prepare\": \"bun run scripts/install-hooks.mjs\",\n \"publish:dev\": \"bun run scripts/publish-dev.js\",\n \"publish:release\": \"bun run scripts/publish-release.js\",\n \"bench:startup\": \"bun run scripts/bench-startup.mjs\",\n \"parity:reference\": \"bun run scripts/reference-parity-check.mjs\"\n },\n \"dependencies\": {\n \"@anthropic-ai/bedrock-sdk\": \"^0.12.6\",\n \"@anthropic-ai/sdk\": \"^0.39.0\",\n \"@anthropic-ai/vertex-sdk\": \"^0.7.0\",\n \"@astrojs/language-server\": \"2.16.2\",\n \"@aws-sdk/client-bedrock-runtime\": \"3.797.0\",\n \"@commander-js/extra-typings\": \"^13.1.0\",\n \"@inkjs/ui\": \"^2.0.0\",\n \"@modelcontextprotocol/sdk\": \"^1.15.1\",\n \"@prisma/language-server\": \"31.3.4\",\n \"@types/lodash-es\": \"^4.17.12\",\n \"@types/react\": \"^19.1.8\",\n \"@vscode/ripgrep\": \"^1.17.0\",\n \"@vue/language-server\": \"3.2.2\",\n \"ajv\": \"^8.17.1\",\n \"ansi-escapes\": \"^7.0.0\",\n \"bash-language-server\": \"5.6.0\",\n \"chalk\": \"^5.4.1\",\n \"cli-highlight\": \"^2.1.11\",\n \"cli-table3\": \"^0.6.5\",\n \"commander\": \"^13.1.0\",\n \"debug\": \"^4.4.1\",\n \"diff\": \"^7.0.0\",\n \"dockerfile-language-server-nodejs\": \"0.15.0\",\n \"dotenv\": \"^16.6.1\",\n \"env-paths\": \"^3.0.0\",\n \"fflate\": \"^0.8.2\",\n \"figures\": \"^6.1.0\",\n \"glob\": \"^11.0.3\",\n \"graphql-language-service-cli\": \"3.5.0\",\n \"gray-matter\": \"^4.0.3\",\n \"highlight.js\": \"^11.11.1\",\n \"ignore\": \"^7.0.5\",\n \"ink\": \"5.2.1\",\n \"ink-link\": \"^4.1.0\",\n \"ink-select-input\": \"^6.2.0\",\n \"ink-text-input\": \"^6.0.0\",\n \"intelephense\": \"1.16.3\",\n \"js-yaml\": \"^4.1.1\",\n \"lodash-es\": \"^4.17.21\",\n \"lru-cache\": \"^11.1.0\",\n \"marked\": \"^15.0.12\",\n \"minimatch\": \"^10.1.1\",\n \"nanoid\": \"^5.1.5\",\n \"node-html-parser\": \"^7.0.1\",\n \"openai\": \"4.104.0\",\n \"pyright\": \"1.1.408\",\n \"react\": \"18.3.1\",\n \"semver\": \"^7.7.2\",\n \"shell-quote\": \"1.8.3\",\n \"spawn-rx\": \"^5.1.2\",\n \"string-width\": \"^7.2.0\",\n \"strip-ansi\": \"^7.1.0\",\n \"svelte-language-server\": \"0.17.23\",\n \"tsx\": \"^4.20.3\",\n \"typescript-language-server\": \"5.1.3\",\n \"undici\": \"^7.11.0\",\n \"vscode-jsonrpc\": \"8.2.1\",\n \"vscode-langservers-extracted\": \"4.10.0\",\n \"web-tree-sitter\": \"0.25.10\",\n \"which\": \"^6.0.0\",\n \"wrap-ansi\": \"^9.0.0\",\n \"yaml-language-server\": \"1.19.2\",\n \"zod\": \"^3.25.76\",\n \"zod-to-json-schema\": \"^3.24.6\"\n },\n \"devDependencies\": {\n \"@types/bun\": \"latest\",\n \"@types/jest\": \"^30.0.0\",\n \"@types/node\": \"^24.1.0\",\n \"@types/which\": \"^3.0.4\",\n \"@typescript-eslint/eslint-plugin\": \"^8.50.1\",\n \"@typescript-eslint/parser\": \"^8.50.1\",\n \"abort-controller\": \"3.0.0\",\n \"bun-types\": \"latest\",\n \"cheerio\": \"1.1.2\",\n \"esbuild\": \"^0.25.9\",\n \"eslint\": \"8.57.0\",\n \"eslint-plugin-react-hooks\": \"^7.0.1\",\n \"ink-testing-library\": \"4.0.0\",\n \"node-fetch\": \"3.3.2\",\n \"prettier\": \"^3.6.2\",\n \"react-devtools-core\": \"^7.0.1\",\n \"tree-sitter-bash\": \"0.25.1\",\n \"tree-sitter-c-sharp\": \"0.23.1\",\n \"tree-sitter-clojure\": \"0.4.0\",\n \"tree-sitter-cpp\": \"0.23.4\",\n \"tree-sitter-go\": \"0.25.0\",\n \"tree-sitter-haskell\": \"0.23.1\",\n \"tree-sitter-java\": \"0.23.5\",\n \"tree-sitter-julia\": \"0.23.1\",\n \"tree-sitter-nix\": \"0.0.2\",\n \"tree-sitter-ocaml\": \"0.24.2\",\n \"tree-sitter-python\": \"0.25.0\",\n \"tree-sitter-rust\": \"0.24.0\",\n \"tree-sitter-scala\": \"0.24.0\",\n \"tree-sitter-swift\": \"0.7.1\",\n \"tree-sitter-typescript\": \"0.23.2\",\n \"turndown\": \"7.2.2\",\n \"typescript\": \"^5.9.2\"\n },\n \"overrides\": {\n \"@aws-sdk/client-bedrock-runtime\": \"3.797.0\",\n \"@smithy/smithy-client\": \"2.5.1\"\n }\n}\n", "import pkg from '../../package.json'\n\nexport const MACRO = {\n VERSION: pkg.version,\n README_URL: 'https://github.com/pyb-xc/pyb-ts#readme',\n PACKAGE_URL: 'pybao-cli',\n ISSUES_EXPLAINER:\n 'report the issue at https://github.com/pyb-xc/pyb-ts/issues',\n}\n"],
5
5
  "mappings": "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",
6
6
  "names": []
7
7
  }
@@ -2,13 +2,13 @@ import { createRequire as __pybCreateRequire } from "node:module";
2
2
  const require = __pybCreateRequire(import.meta.url);
3
3
  import {
4
4
  MarketplaceManifestSchema
5
- } from "./chunk-YI6B3ZKC.js";
5
+ } from "./chunk-SSO66X53.js";
6
6
  import {
7
7
  parseFrontmatter
8
- } from "./chunk-AJCE4AEB.js";
8
+ } from "./chunk-MRRPYVYP.js";
9
9
  import {
10
10
  getCwd
11
- } from "./chunk-OYOVAWVJ.js";
11
+ } from "./chunk-SKBREVBZ.js";
12
12
 
13
13
  // src/services/plugins/pluginValidation.ts
14
14
  import { existsSync, lstatSync, readFileSync } from "node:fs";
@@ -2,7 +2,7 @@ import { createRequire as __pybCreateRequire } from "node:module";
2
2
  const require = __pybCreateRequire(import.meta.url);
3
3
  import {
4
4
  MACRO
5
- } from "./chunk-P64FZW37.js";
5
+ } from "./chunk-PMJMJHAY.js";
6
6
 
7
7
  // src/utils/state/index.ts
8
8
  import { cwd } from "process";
@@ -5,7 +5,7 @@ import {
5
5
  getCwd,
6
6
  resolveXdgCachePath,
7
7
  resolveXdgDataPath
8
- } from "./chunk-OYOVAWVJ.js";
8
+ } from "./chunk-SKBREVBZ.js";
9
9
 
10
10
  // src/services/plugins/skillMarketplace.ts
11
11
  import {
@@ -4,17 +4,17 @@ import {
4
4
  LspServerRegistry,
5
5
  findNearestRoot,
6
6
  getInstallNotices
7
- } from "./chunk-F7WF5Y2G.js";
7
+ } from "./chunk-6KUHFC2Z.js";
8
8
  import {
9
9
  levenshtein
10
10
  } from "./chunk-UZ34JEUK.js";
11
11
  import {
12
12
  debug
13
- } from "./chunk-YPA63LLM.js";
13
+ } from "./chunk-4ROPZ2KS.js";
14
14
  import {
15
15
  getCwd,
16
16
  getSessionRoot
17
- } from "./chunk-OYOVAWVJ.js";
17
+ } from "./chunk-SKBREVBZ.js";
18
18
 
19
19
  // src/lsp/index.ts
20
20
  import { extname as extname2 } from "path";
@@ -565,7 +565,7 @@ var LspClientManager = class _LspClientManager {
565
565
  const safeCwd = /[^\x00-\x7F]/.test(resolvedRoot) ? process.cwd() : resolvedRoot;
566
566
  let initOpts = serverInfo.initializationOptions;
567
567
  if (serverInfo.id === "pyright" || serverInfo.id === "ty") {
568
- const { detectPythonVenv } = await import("./registry-7FICGFL7.js");
568
+ const { detectPythonVenv } = await import("./registry-L6ABEPRQ.js");
569
569
  const pythonPath = detectPythonVenv(resolvedRoot);
570
570
  if (pythonPath) {
571
571
  initOpts = { ...initOpts ?? {}, pythonPath };
@@ -3,18 +3,18 @@ const require = __pybCreateRequire(import.meta.url);
3
3
  import {
4
4
  formatValidationResult,
5
5
  validatePluginOrMarketplacePath
6
- } from "./chunk-SHJMSIG4.js";
6
+ } from "./chunk-QFKEM667.js";
7
7
  import {
8
8
  loadPybAgentSessionMessages
9
- } from "./chunk-HDFCFRX2.js";
9
+ } from "./chunk-IYIJPGWY.js";
10
10
  import {
11
11
  listPybAgentSessions
12
- } from "./chunk-IHAMEI25.js";
12
+ } from "./chunk-FXLI3PIJ.js";
13
13
  import {
14
14
  appendSessionCustomTitleRecord,
15
15
  appendSessionJsonlFromMessage,
16
16
  appendSessionTagRecord
17
- } from "./chunk-BDK7LO6T.js";
17
+ } from "./chunk-UKJYPT5Y.js";
18
18
  import {
19
19
  drainHookSystemPromptAdditions,
20
20
  getHookTranscriptPath,
@@ -26,7 +26,7 @@ import {
26
26
  runStopHooks,
27
27
  runUserPromptSubmitHooks,
28
28
  updateHookTranscriptForMessages
29
- } from "./chunk-LYET7J6P.js";
29
+ } from "./chunk-CFGDB4HZ.js";
30
30
  import {
31
31
  DEFAULT_OUTPUT_STYLE,
32
32
  getAvailableOutputStyles,
@@ -35,16 +35,16 @@ import {
35
35
  getOutputStyleSystemPromptAdditions,
36
36
  resolveOutputStyleName,
37
37
  setCurrentOutputStyle
38
- } from "./chunk-GKTOGTH7.js";
38
+ } from "./chunk-NKH3YHNP.js";
39
39
  import {
40
40
  fetchCustomModels,
41
41
  getModelFeatures
42
- } from "./chunk-TBCQF3QX.js";
42
+ } from "./chunk-HSR2UCV2.js";
43
43
  import {
44
44
  queryLLM,
45
45
  queryQuick,
46
46
  verifyApiKey
47
- } from "./chunk-EAFBKCII.js";
47
+ } from "./chunk-AK5PCDXL.js";
48
48
  import {
49
49
  DEFAULT_TIMEOUT_MS,
50
50
  FallbackToolUseRejectedMessage,
@@ -58,7 +58,7 @@ import {
58
58
  listMCPServers,
59
59
  loadMergedSettings,
60
60
  normalizeSandboxRuntimeConfigFromSettings
61
- } from "./chunk-X62O47V5.js";
61
+ } from "./chunk-HXRQ5XUC.js";
62
62
  import {
63
63
  addMarketplace,
64
64
  disableSkillPlugin,
@@ -71,11 +71,11 @@ import {
71
71
  refreshMarketplaceAsync,
72
72
  removeMarketplace,
73
73
  uninstallSkillPlugin
74
- } from "./chunk-YI6B3ZKC.js";
74
+ } from "./chunk-SSO66X53.js";
75
75
  import {
76
76
  loadToolPermissionContextFromDisk,
77
77
  persistToolPermissionUpdateToDisk
78
- } from "./chunk-SUAQOOKX.js";
78
+ } from "./chunk-CCP6LPOD.js";
79
79
  import {
80
80
  applyToolPermissionContextUpdate,
81
81
  createDefaultToolPermissionContext
@@ -88,7 +88,7 @@ import {
88
88
  resetReminderSession,
89
89
  setTodos,
90
90
  systemReminderService
91
- } from "./chunk-UBLX77SB.js";
91
+ } from "./chunk-DMZ26YAR.js";
92
92
  import {
93
93
  getSessionState
94
94
  } from "./chunk-ERMQRV55.js";
@@ -97,7 +97,7 @@ import {
97
97
  getActiveAgents,
98
98
  getAgentByType,
99
99
  getAllAgents
100
- } from "./chunk-N7BETKV4.js";
100
+ } from "./chunk-VWSR2E6J.js";
101
101
  import {
102
102
  API_ERROR_MESSAGE_PREFIX,
103
103
  CANCEL_MESSAGE,
@@ -127,7 +127,7 @@ import {
127
127
  processUserInput,
128
128
  reorderMessages,
129
129
  stripSystemMessages
130
- } from "./chunk-NKJCMQ6E.js";
130
+ } from "./chunk-ZWEPUYHN.js";
131
131
  import {
132
132
  getRequestStatus,
133
133
  setRequestStatus,
@@ -157,7 +157,7 @@ import {
157
157
  normalizeFilePath,
158
158
  readTextContent,
159
159
  writeTextContent
160
- } from "./chunk-FKKGYX57.js";
160
+ } from "./chunk-HDYOV3IB.js";
161
161
  import {
162
162
  parseBlockEdits
163
163
  } from "./chunk-QWIBSCDN.js";
@@ -167,18 +167,18 @@ import {
167
167
  ParserRegistry,
168
168
  initParser,
169
169
  loadLanguage
170
- } from "./chunk-MOGFCWQS.js";
170
+ } from "./chunk-TNZH4HPF.js";
171
171
  import {
172
172
  getSettingsFileCandidates,
173
173
  loadSettingsWithLegacyFallback,
174
174
  readSettingsFile
175
- } from "./chunk-43B54VVG.js";
175
+ } from "./chunk-X5R43CBD.js";
176
176
  import {
177
177
  getCustomCommandDirectories,
178
178
  hasCustomCommands,
179
179
  loadCustomCommands,
180
180
  reloadCustomCommands
181
- } from "./chunk-AJCE4AEB.js";
181
+ } from "./chunk-MRRPYVYP.js";
182
182
  import {
183
183
  getSessionPlugins
184
184
  } from "./chunk-BJSWTHRM.js";
@@ -186,7 +186,7 @@ import {
186
186
  ModelManager,
187
187
  getModelManager,
188
188
  isDefaultSlowAndCapableModel
189
- } from "./chunk-7VUZ7F6O.js";
189
+ } from "./chunk-BSF6SQU2.js";
190
190
  import {
191
191
  getCodeStyle,
192
192
  getContext,
@@ -194,13 +194,13 @@ import {
194
194
  getIsGit,
195
195
  getProjectDocs,
196
196
  getProjectStructureStatisticsBlock
197
- } from "./chunk-7JZLL27D.js";
197
+ } from "./chunk-X2VHXBG6.js";
198
198
  import {
199
199
  ripGrep
200
- } from "./chunk-EWFAAFFD.js";
200
+ } from "./chunk-MU74SS73.js";
201
201
  import {
202
202
  getTheme
203
- } from "./chunk-7CLUNX6N.js";
203
+ } from "./chunk-A4AWHSSA.js";
204
204
  import {
205
205
  DEFAULT_GLOBAL_CONFIG,
206
206
  enableConfigs,
@@ -213,7 +213,7 @@ import {
213
213
  saveGlobalConfig,
214
214
  setAllPointersToModel,
215
215
  setModelPointer
216
- } from "./chunk-ZT6BL4GJ.js";
216
+ } from "./chunk-COQVH5YO.js";
217
217
  import {
218
218
  AbortError
219
219
  } from "./chunk-RQVLBMP7.js";
@@ -222,7 +222,7 @@ import {
222
222
  getCurrentRequest,
223
223
  logUserFriendly,
224
224
  markPhase
225
- } from "./chunk-YPA63LLM.js";
225
+ } from "./chunk-4ROPZ2KS.js";
226
226
  import {
227
227
  ASCII_LOGO,
228
228
  BunShell,
@@ -262,10 +262,10 @@ import {
262
262
  setCwd,
263
263
  shouldApplyToolOutputTruncation,
264
264
  truncateToolOutput
265
- } from "./chunk-OYOVAWVJ.js";
265
+ } from "./chunk-SKBREVBZ.js";
266
266
  import {
267
267
  MACRO
268
- } from "./chunk-P64FZW37.js";
268
+ } from "./chunk-PMJMJHAY.js";
269
269
  import {
270
270
  __export
271
271
  } from "./chunk-I3J4JYES.js";
@@ -446,7 +446,7 @@ var getCommandSubcommandPrefix = memoize(
446
446
  var getCommandPrefix = memoize(
447
447
  async (command4, abortSignal) => {
448
448
  const { systemPrompt, userPrompt } = buildBashCommandPrefixDetectionPrompt(command4);
449
- const { API_ERROR_MESSAGE_PREFIX: API_ERROR_MESSAGE_PREFIX2, queryQuick: queryQuick2 } = await import("./llm-OGMPR5GE.js");
449
+ const { API_ERROR_MESSAGE_PREFIX: API_ERROR_MESSAGE_PREFIX2, queryQuick: queryQuick2 } = await import("./llm-T6W2TWOB.js");
450
450
  const response = await queryQuick2({
451
451
  systemPrompt,
452
452
  userPrompt,
@@ -4248,7 +4248,7 @@ function formatParseError(error) {
4248
4248
  return error instanceof Error ? error.message : String(error);
4249
4249
  }
4250
4250
  async function defaultGateQuery(args) {
4251
- const { API_ERROR_MESSAGE_PREFIX: API_ERROR_MESSAGE_PREFIX2, queryLLM: queryLLM2 } = await import("./llm-OGMPR5GE.js");
4251
+ const { API_ERROR_MESSAGE_PREFIX: API_ERROR_MESSAGE_PREFIX2, queryLLM: queryLLM2 } = await import("./llm-T6W2TWOB.js");
4252
4252
  const queryLLMFn = args.queryLLMOverride ?? queryLLM2;
4253
4253
  const messages = [
4254
4254
  {
@@ -6509,7 +6509,7 @@ var FileEditTool = {
6509
6509
  const originalFileContent = currentFileContent;
6510
6510
  let totalPatch = [];
6511
6511
  const { SmartEdit } = await import("./smart-edit-AWHJDSU6.js");
6512
- const { findLspAnchor } = await import("./lspAnchor-RX7NJOBQ.js");
6512
+ const { findLspAnchor } = await import("./lspAnchor-MS3WWRQV.js");
6513
6513
  for (const op of editOperations) {
6514
6514
  const normalizedSearch = normalizeLineEndings(op.search);
6515
6515
  const normalizedReplace = normalizeLineEndings(op.replace);
@@ -6622,7 +6622,7 @@ var MAX_LINES_TO_READ = 2e3;
6622
6622
  var MAX_LINE_LENGTH = 2e3;
6623
6623
  var DESCRIPTION3 = "Read a file from the local filesystem.";
6624
6624
  var PROMPT3 = `Reads a file from the local filesystem. You can access any file directly by using this tool.
6625
- Assume this tool is able to read all files on the machine. If the User provides a path to a file assume that path is valid. It is okay to read a file that does not exist; an error will be returned.
6625
+ Assume this tool is able to read all files on the machine. If the User provides a path to a file assume that path is valid; otherwise, confirm the path with LS/Glob before Read. It is okay to read a file that does not exist; an error will be returned.
6626
6626
 
6627
6627
  ## Best Practice
6628
6628
  - **Read vs Analyze**: Use this tool when you need to inspect full implementation details. For precise symbol relationships or definitions, prefer LSP after narrowing scope.
@@ -7279,6 +7279,9 @@ var FileReadTool = {
7279
7279
  if (similarFilename) {
7280
7280
  message += ` Did you mean ${similarFilename}?`;
7281
7281
  }
7282
+ message += "\nSuggestion: use LS/Glob on parent directories to confirm the real structure and filename before Read.";
7283
+ message += "\nSuggestion: if the path came from search results, rerun Glob/Grep to confirm the latest path.";
7284
+ message += "\nSuggestion: in multi-repo or multi-branch environments, confirm the current working directory and branch before locating.";
7282
7285
  return {
7283
7286
  result: false,
7284
7287
  message
@@ -11074,7 +11077,7 @@ async function createAndStoreApiKey(accessToken) {
11074
11077
  }
11075
11078
  saveGlobalConfig(config2);
11076
11079
  try {
11077
- const { resetAnthropicClient } = await import("./llm-OGMPR5GE.js");
11080
+ const { resetAnthropicClient } = await import("./llm-T6W2TWOB.js");
11078
11081
  resetAnthropicClient();
11079
11082
  } catch {
11080
11083
  }
@@ -15356,7 +15359,7 @@ async function refreshPluginRuntimeFromInstalls() {
15356
15359
  const existingRoots = getSessionPlugins().map((p) => p.rootDir);
15357
15360
  const dirs = Array.from(/* @__PURE__ */ new Set([...existingRoots, ...installedRoots]));
15358
15361
  if (dirs.length === 0) return [];
15359
- const { configureSessionPlugins } = await import("./pluginRuntime-SYDBIIWL.js");
15362
+ const { configureSessionPlugins } = await import("./pluginRuntime-XYVYWYPZ.js");
15360
15363
  const { errors } = await configureSessionPlugins({ pluginDirs: dirs });
15361
15364
  return errors;
15362
15365
  }
@@ -16025,7 +16028,7 @@ async function call(onDone, context) {
16025
16028
  ModelConfig,
16026
16029
  {
16027
16030
  onClose: () => {
16028
- import("./model-26MQKGED.js").then(({ reloadModelManager: reloadModelManager2 }) => {
16031
+ import("./model-ACKFMQEO.js").then(({ reloadModelManager: reloadModelManager2 }) => {
16029
16032
  reloadModelManager2();
16030
16033
  triggerModelConfigChange();
16031
16034
  onDone();
@@ -23760,7 +23763,7 @@ function useStatusLine() {
23760
23763
  // src/ui/components/PromptInput.tsx
23761
23764
  async function interpretHashCommand(input) {
23762
23765
  try {
23763
- const { queryQuick: queryQuick2 } = await import("./llm-OGMPR5GE.js");
23766
+ const { queryQuick: queryQuick2 } = await import("./llm-T6W2TWOB.js");
23764
23767
  const systemPrompt = [
23765
23768
  "You're helping the user structure notes that will be added to their PYB.md file.",
23766
23769
  "Format the user's input into a well-structured note that will be useful for later reference.",
@@ -24073,7 +24076,7 @@ function PromptInput({
24073
24076
  if (messages2.length) {
24074
24077
  if (mode === "bash") {
24075
24078
  onQuery(messages2, newAbortController).then(async () => {
24076
- const { getCwd: getCwd2 } = await import("./state-5SSMFU6R.js");
24079
+ const { getCwd: getCwd2 } = await import("./state-MFOHBFNA.js");
24077
24080
  setCurrentPwd(getCwd2());
24078
24081
  });
24079
24082
  } else {
@@ -26943,7 +26946,7 @@ import { homedir as homedir7 } from "os";
26943
26946
  // src/commands/agents/generation.ts
26944
26947
  import { randomUUID as randomUUID5 } from "crypto";
26945
26948
  async function generateAgentWithClaude(prompt) {
26946
- const { queryModel } = await import("./llm-OGMPR5GE.js");
26949
+ const { queryModel } = await import("./llm-T6W2TWOB.js");
26947
26950
  const systemPrompt = `You are an expert at creating AI agent configurations. Based on the user's description, generate a specialized agent configuration.
26948
26951
 
26949
26952
  Return your response as a JSON object with exactly these fields: