pybao-cli 1.5.27 → 1.5.29

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 (154) hide show
  1. package/dist/REPL-CQPAOTYW.js +51 -0
  2. package/dist/{acp-OVG5TVCA.js → acp-P5ZO4W4V.js} +31 -31
  3. package/dist/{agentsValidate-4DRWMI4Z.js → agentsValidate-UORRIRNG.js} +7 -7
  4. package/dist/{ask-5SLEQ2EQ.js → ask-6PKW23F4.js} +30 -30
  5. package/dist/{autoUpdater-MISJO5SK.js → autoUpdater-REVFS3DJ.js} +3 -3
  6. package/dist/{chunk-TAH64UDU.js → chunk-2ATYG2IL.js} +2 -2
  7. package/dist/{chunk-PKEID2XD.js → chunk-3T43I32F.js} +2 -2
  8. package/dist/{chunk-HLOKI243.js → chunk-3ZMHX5VJ.js} +3 -3
  9. package/dist/{chunk-CSFD7IRP.js → chunk-6RLACN3L.js} +4 -4
  10. package/dist/{chunk-VZQPBLDY.js → chunk-ANFFZEQ4.js} +133 -62
  11. package/dist/chunk-ANFFZEQ4.js.map +7 -0
  12. package/dist/{chunk-AQHMBWCP.js → chunk-DG6FK5XN.js} +3 -3
  13. package/dist/{chunk-DH7BCAQE.js → chunk-EXFO5B6D.js} +3 -3
  14. package/dist/{chunk-VJGFSH2Y.js → chunk-F3Z46DHI.js} +1 -1
  15. package/dist/{chunk-2OIS3IOT.js → chunk-GZF3L435.js} +1 -1
  16. package/dist/{chunk-FGDHTSZ5.js → chunk-KULZBCG2.js} +15 -15
  17. package/dist/{chunk-C4SEDCT2.js → chunk-LDMNEBPV.js} +1 -1
  18. package/dist/{chunk-O3MOOXJY.js → chunk-MOUPKWOG.js} +1 -1
  19. package/dist/{chunk-ZKUTGGO2.js → chunk-P2RR7GRN.js} +1 -1
  20. package/dist/{chunk-CF2HMCCA.js → chunk-PHX4SQ7J.js} +1 -1
  21. package/dist/{chunk-XOVT3JJQ.js → chunk-QV6RSIUH.js} +2 -2
  22. package/dist/{chunk-2PCYBLRU.js → chunk-RRKAPFMQ.js} +1 -1
  23. package/dist/{chunk-2PCYBLRU.js.map → chunk-RRKAPFMQ.js.map} +1 -1
  24. package/dist/{chunk-WPTVSLF3.js → chunk-RYFL7HVW.js} +1 -1
  25. package/dist/{chunk-GLSKZ5DV.js → chunk-S2BNVKP7.js} +4 -4
  26. package/dist/{chunk-RA67ZZKO.js → chunk-S6PNHDVA.js} +3 -3
  27. package/dist/{chunk-LIJYUN67.js → chunk-UIMY5WKT.js} +2 -2
  28. package/dist/{chunk-RAEL4VJQ.js → chunk-UKI67LME.js} +2 -2
  29. package/dist/{chunk-MMONR7LE.js → chunk-UVHZFFMY.js} +1 -1
  30. package/dist/{chunk-YONMG3RX.js → chunk-VFVPMA6Q.js} +3 -3
  31. package/dist/{chunk-MP4XVCRG.js → chunk-VGAD66UR.js} +3 -3
  32. package/dist/{chunk-VAZFU3IP.js → chunk-VKVOEWWH.js} +1 -1
  33. package/dist/{chunk-HJKEC6NQ.js → chunk-VT2R63Q4.js} +3 -3
  34. package/dist/{chunk-AYTJPA7R.js → chunk-VTTBOI63.js} +1 -1
  35. package/dist/{chunk-XECX77NR.js → chunk-VUSYHIJA.js} +1 -1
  36. package/dist/{chunk-BCBCDVTD.js → chunk-X475W4F6.js} +4 -4
  37. package/dist/{chunk-YAGIR75K.js → chunk-X5B7NYPT.js} +3 -3
  38. package/dist/{chunk-5NDEEU2M.js → chunk-Z7VU67EA.js} +2 -2
  39. package/dist/{chunk-3TSHBDOT.js → chunk-ZD4WAFPC.js} +4 -4
  40. package/dist/{cli-SZPSZVPV.js → cli-BZJPXPZE.js} +91 -91
  41. package/dist/commands-EPTHVYFE.js +55 -0
  42. package/dist/{config-E6F35FCM.js → config-RP6BU5AE.js} +4 -4
  43. package/dist/{context-WCMKUTGC.js → context-GJ6HAJOG.js} +6 -6
  44. package/dist/{conversationPersistence-LCFY2HIV.js → conversationPersistence-VV4QBHTG.js} +3 -3
  45. package/dist/{conversationTracker-7S7G7HMN.js → conversationTracker-Q5PTDRTA.js} +4 -4
  46. package/dist/{customCommands-QKMAK4HL.js → customCommands-CJVAFQXD.js} +4 -4
  47. package/dist/{env-IXLDDHCY.js → env-XUAURZLQ.js} +2 -2
  48. package/dist/{file-ABFDCQJM.js → file-ZSFDAM3N.js} +4 -4
  49. package/dist/index.js +3 -3
  50. package/dist/{llm-GKPE3VQ4.js → llm-6JZTYBUT.js} +31 -31
  51. package/dist/{llmLazy-XZ74GSFE.js → llmLazy-ZAUEBLRK.js} +1 -1
  52. package/dist/{loader-EMZ7WAHK.js → loader-CNLAOYXD.js} +4 -4
  53. package/dist/{lsp-C2IWGQOU.js → lsp-SQBHGEL7.js} +6 -6
  54. package/dist/{lspAnchor-IXJCWADI.js → lspAnchor-JGLGRBDS.js} +6 -6
  55. package/dist/{mcp-3PIE3ZCR.js → mcp-WB7F35XU.js} +7 -7
  56. package/dist/{mentionProcessor-UD63IEXB.js → mentionProcessor-UMQ5CCMP.js} +5 -5
  57. package/dist/{messages-XAJKUGU2.js → messages-LNHBEQAU.js} +1 -1
  58. package/dist/{model-HKGG6SBC.js → model-5HD47QJV.js} +5 -5
  59. package/dist/{openai-3F3TRG5D.js → openai-KANS5SWN.js} +5 -5
  60. package/dist/{outputStyles-6YHVYBUS.js → outputStyles-PHJZQ2XP.js} +4 -4
  61. package/dist/{pluginRuntime-D2DXOOLP.js → pluginRuntime-5LCYFDSX.js} +6 -6
  62. package/dist/{pluginValidation-S3AK6HSX.js → pluginValidation-WRU3V2ZI.js} +6 -6
  63. package/dist/prompts-HNG6Q4AE.js +57 -0
  64. package/dist/{pybAgentSessionLoad-SL43DZPU.js → pybAgentSessionLoad-PMGRB2CW.js} +4 -4
  65. package/dist/{pybAgentSessionResume-UXIDDJKS.js → pybAgentSessionResume-QVCNVEIE.js} +4 -4
  66. package/dist/{pybAgentStreamJsonSession-2ONZSQZ3.js → pybAgentStreamJsonSession-EDKNGJOK.js} +1 -1
  67. package/dist/{pybHooks-3QRK5HZ7.js → pybHooks-52SL7GAR.js} +4 -4
  68. package/dist/query-7VSQAEGO.js +55 -0
  69. package/dist/{registry-KVDFKFEI.js → registry-5722DCKT.js} +5 -5
  70. package/dist/{ripgrep-LGHYO57X.js → ripgrep-UCBNNBWG.js} +3 -3
  71. package/dist/{skillMarketplace-BJMMPQQ5.js → skillMarketplace-WRXKQVZL.js} +3 -3
  72. package/dist/{state-LYF2VE4H.js → state-PQJJ3JAM.js} +2 -2
  73. package/dist/{theme-DK7ATLDH.js → theme-ATOMVV5D.js} +5 -5
  74. package/dist/{toolPermissionSettings-QLHE27AW.js → toolPermissionSettings-LESRBYOT.js} +6 -6
  75. package/dist/tools-YP6KOB7Y.js +56 -0
  76. package/dist/{userInput-QH25PON2.js → userInput-2DHIVUIB.js} +32 -32
  77. package/package.json +1 -1
  78. package/dist/REPL-2MVVACJ4.js +0 -51
  79. package/dist/chunk-VZQPBLDY.js.map +0 -7
  80. package/dist/commands-5PT2EWAQ.js +0 -55
  81. package/dist/prompts-FBPBDXIU.js +0 -57
  82. package/dist/query-JLVHWYPO.js +0 -55
  83. package/dist/tools-6XLBCNVD.js +0 -56
  84. /package/dist/{REPL-2MVVACJ4.js.map → REPL-CQPAOTYW.js.map} +0 -0
  85. /package/dist/{acp-OVG5TVCA.js.map → acp-P5ZO4W4V.js.map} +0 -0
  86. /package/dist/{agentsValidate-4DRWMI4Z.js.map → agentsValidate-UORRIRNG.js.map} +0 -0
  87. /package/dist/{ask-5SLEQ2EQ.js.map → ask-6PKW23F4.js.map} +0 -0
  88. /package/dist/{autoUpdater-MISJO5SK.js.map → autoUpdater-REVFS3DJ.js.map} +0 -0
  89. /package/dist/{chunk-TAH64UDU.js.map → chunk-2ATYG2IL.js.map} +0 -0
  90. /package/dist/{chunk-PKEID2XD.js.map → chunk-3T43I32F.js.map} +0 -0
  91. /package/dist/{chunk-HLOKI243.js.map → chunk-3ZMHX5VJ.js.map} +0 -0
  92. /package/dist/{chunk-CSFD7IRP.js.map → chunk-6RLACN3L.js.map} +0 -0
  93. /package/dist/{chunk-AQHMBWCP.js.map → chunk-DG6FK5XN.js.map} +0 -0
  94. /package/dist/{chunk-DH7BCAQE.js.map → chunk-EXFO5B6D.js.map} +0 -0
  95. /package/dist/{chunk-VJGFSH2Y.js.map → chunk-F3Z46DHI.js.map} +0 -0
  96. /package/dist/{chunk-2OIS3IOT.js.map → chunk-GZF3L435.js.map} +0 -0
  97. /package/dist/{chunk-FGDHTSZ5.js.map → chunk-KULZBCG2.js.map} +0 -0
  98. /package/dist/{chunk-C4SEDCT2.js.map → chunk-LDMNEBPV.js.map} +0 -0
  99. /package/dist/{chunk-O3MOOXJY.js.map → chunk-MOUPKWOG.js.map} +0 -0
  100. /package/dist/{chunk-ZKUTGGO2.js.map → chunk-P2RR7GRN.js.map} +0 -0
  101. /package/dist/{chunk-CF2HMCCA.js.map → chunk-PHX4SQ7J.js.map} +0 -0
  102. /package/dist/{chunk-XOVT3JJQ.js.map → chunk-QV6RSIUH.js.map} +0 -0
  103. /package/dist/{chunk-WPTVSLF3.js.map → chunk-RYFL7HVW.js.map} +0 -0
  104. /package/dist/{chunk-GLSKZ5DV.js.map → chunk-S2BNVKP7.js.map} +0 -0
  105. /package/dist/{chunk-RA67ZZKO.js.map → chunk-S6PNHDVA.js.map} +0 -0
  106. /package/dist/{chunk-LIJYUN67.js.map → chunk-UIMY5WKT.js.map} +0 -0
  107. /package/dist/{chunk-RAEL4VJQ.js.map → chunk-UKI67LME.js.map} +0 -0
  108. /package/dist/{chunk-MMONR7LE.js.map → chunk-UVHZFFMY.js.map} +0 -0
  109. /package/dist/{chunk-YONMG3RX.js.map → chunk-VFVPMA6Q.js.map} +0 -0
  110. /package/dist/{chunk-MP4XVCRG.js.map → chunk-VGAD66UR.js.map} +0 -0
  111. /package/dist/{chunk-VAZFU3IP.js.map → chunk-VKVOEWWH.js.map} +0 -0
  112. /package/dist/{chunk-HJKEC6NQ.js.map → chunk-VT2R63Q4.js.map} +0 -0
  113. /package/dist/{chunk-AYTJPA7R.js.map → chunk-VTTBOI63.js.map} +0 -0
  114. /package/dist/{chunk-XECX77NR.js.map → chunk-VUSYHIJA.js.map} +0 -0
  115. /package/dist/{chunk-BCBCDVTD.js.map → chunk-X475W4F6.js.map} +0 -0
  116. /package/dist/{chunk-YAGIR75K.js.map → chunk-X5B7NYPT.js.map} +0 -0
  117. /package/dist/{chunk-5NDEEU2M.js.map → chunk-Z7VU67EA.js.map} +0 -0
  118. /package/dist/{chunk-3TSHBDOT.js.map → chunk-ZD4WAFPC.js.map} +0 -0
  119. /package/dist/{cli-SZPSZVPV.js.map → cli-BZJPXPZE.js.map} +0 -0
  120. /package/dist/{commands-5PT2EWAQ.js.map → commands-EPTHVYFE.js.map} +0 -0
  121. /package/dist/{config-E6F35FCM.js.map → config-RP6BU5AE.js.map} +0 -0
  122. /package/dist/{context-WCMKUTGC.js.map → context-GJ6HAJOG.js.map} +0 -0
  123. /package/dist/{conversationPersistence-LCFY2HIV.js.map → conversationPersistence-VV4QBHTG.js.map} +0 -0
  124. /package/dist/{conversationTracker-7S7G7HMN.js.map → conversationTracker-Q5PTDRTA.js.map} +0 -0
  125. /package/dist/{customCommands-QKMAK4HL.js.map → customCommands-CJVAFQXD.js.map} +0 -0
  126. /package/dist/{env-IXLDDHCY.js.map → env-XUAURZLQ.js.map} +0 -0
  127. /package/dist/{file-ABFDCQJM.js.map → file-ZSFDAM3N.js.map} +0 -0
  128. /package/dist/{llm-GKPE3VQ4.js.map → llm-6JZTYBUT.js.map} +0 -0
  129. /package/dist/{llmLazy-XZ74GSFE.js.map → llmLazy-ZAUEBLRK.js.map} +0 -0
  130. /package/dist/{loader-EMZ7WAHK.js.map → loader-CNLAOYXD.js.map} +0 -0
  131. /package/dist/{lsp-C2IWGQOU.js.map → lsp-SQBHGEL7.js.map} +0 -0
  132. /package/dist/{lspAnchor-IXJCWADI.js.map → lspAnchor-JGLGRBDS.js.map} +0 -0
  133. /package/dist/{mcp-3PIE3ZCR.js.map → mcp-WB7F35XU.js.map} +0 -0
  134. /package/dist/{mentionProcessor-UD63IEXB.js.map → mentionProcessor-UMQ5CCMP.js.map} +0 -0
  135. /package/dist/{messages-XAJKUGU2.js.map → messages-LNHBEQAU.js.map} +0 -0
  136. /package/dist/{model-HKGG6SBC.js.map → model-5HD47QJV.js.map} +0 -0
  137. /package/dist/{openai-3F3TRG5D.js.map → openai-KANS5SWN.js.map} +0 -0
  138. /package/dist/{outputStyles-6YHVYBUS.js.map → outputStyles-PHJZQ2XP.js.map} +0 -0
  139. /package/dist/{pluginRuntime-D2DXOOLP.js.map → pluginRuntime-5LCYFDSX.js.map} +0 -0
  140. /package/dist/{pluginValidation-S3AK6HSX.js.map → pluginValidation-WRU3V2ZI.js.map} +0 -0
  141. /package/dist/{prompts-FBPBDXIU.js.map → prompts-HNG6Q4AE.js.map} +0 -0
  142. /package/dist/{pybAgentSessionLoad-SL43DZPU.js.map → pybAgentSessionLoad-PMGRB2CW.js.map} +0 -0
  143. /package/dist/{pybAgentSessionResume-UXIDDJKS.js.map → pybAgentSessionResume-QVCNVEIE.js.map} +0 -0
  144. /package/dist/{pybAgentStreamJsonSession-2ONZSQZ3.js.map → pybAgentStreamJsonSession-EDKNGJOK.js.map} +0 -0
  145. /package/dist/{pybHooks-3QRK5HZ7.js.map → pybHooks-52SL7GAR.js.map} +0 -0
  146. /package/dist/{query-JLVHWYPO.js.map → query-7VSQAEGO.js.map} +0 -0
  147. /package/dist/{registry-KVDFKFEI.js.map → registry-5722DCKT.js.map} +0 -0
  148. /package/dist/{ripgrep-LGHYO57X.js.map → ripgrep-UCBNNBWG.js.map} +0 -0
  149. /package/dist/{skillMarketplace-BJMMPQQ5.js.map → skillMarketplace-WRXKQVZL.js.map} +0 -0
  150. /package/dist/{state-LYF2VE4H.js.map → state-PQJJ3JAM.js.map} +0 -0
  151. /package/dist/{theme-DK7ATLDH.js.map → theme-ATOMVV5D.js.map} +0 -0
  152. /package/dist/{toolPermissionSettings-QLHE27AW.js.map → toolPermissionSettings-LESRBYOT.js.map} +0 -0
  153. /package/dist/{tools-6XLBCNVD.js.map → tools-YP6KOB7Y.js.map} +0 -0
  154. /package/dist/{userInput-QH25PON2.js.map → userInput-2DHIVUIB.js.map} +0 -0
@@ -2,15 +2,15 @@ import { createRequire as __pybCreateRequire } from "node:module";
2
2
  const require = __pybCreateRequire(import.meta.url);
3
3
  import {
4
4
  loadSettingsWithLegacyFallback
5
- } from "./chunk-MMONR7LE.js";
5
+ } from "./chunk-UVHZFFMY.js";
6
6
  import {
7
7
  debug
8
- } from "./chunk-AYTJPA7R.js";
8
+ } from "./chunk-VTTBOI63.js";
9
9
  import {
10
10
  env,
11
11
  getSessionRoot,
12
12
  resolveXdgDataPath
13
- } from "./chunk-XECX77NR.js";
13
+ } from "./chunk-VUSYHIJA.js";
14
14
  import {
15
15
  __require
16
16
  } from "./chunk-I3J4JYES.js";
@@ -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-VAZFU3IP.js";
5
+ } from "./chunk-VKVOEWWH.js";
6
6
  import {
7
7
  parseFrontmatter
8
- } from "./chunk-5NDEEU2M.js";
8
+ } from "./chunk-Z7VU67EA.js";
9
9
  import {
10
10
  getCwd
11
- } from "./chunk-XECX77NR.js";
11
+ } from "./chunk-VUSYHIJA.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
  getGlobalConfig
5
- } from "./chunk-YAGIR75K.js";
5
+ } from "./chunk-X5B7NYPT.js";
6
6
 
7
7
  // src/utils/theme/index.ts
8
8
  var lightTheme = {
@@ -952,7 +952,7 @@ function getLastAssistantMessageId(messages) {
952
952
 
953
953
  // src/utils/messages/index.ts
954
954
  async function processUserInput(input, mode, setToolJSX, context, pastedImages) {
955
- const impl = await import("./userInput-QH25PON2.js");
955
+ const impl = await import("./userInput-2DHIVUIB.js");
956
956
  return impl.processUserInput(input, mode, setToolJSX, context, pastedImages);
957
957
  }
958
958
 
@@ -41,57 +41,57 @@ import {
41
41
  runWithTaskListEnv,
42
42
  runWithTaskListId,
43
43
  updateTask
44
- } from "./chunk-VZQPBLDY.js";
44
+ } from "./chunk-ANFFZEQ4.js";
45
45
  import {
46
46
  getCurrentSessionId
47
47
  } from "./chunk-XKYHFZEC.js";
48
48
  import {
49
49
  queryLLM
50
- } from "./chunk-CSFD7IRP.js";
50
+ } from "./chunk-6RLACN3L.js";
51
51
  import {
52
52
  FallbackToolUseRejectedMessage,
53
53
  MCPTool,
54
54
  getClients,
55
55
  getMCPTools
56
- } from "./chunk-GLSKZ5DV.js";
56
+ } from "./chunk-S2BNVKP7.js";
57
57
  import {
58
58
  emitReminderEvent
59
- } from "./chunk-XOVT3JJQ.js";
59
+ } from "./chunk-QV6RSIUH.js";
60
60
  import {
61
61
  getActiveAgents,
62
62
  getAgentByType,
63
63
  getAvailableAgentTypes
64
- } from "./chunk-RAEL4VJQ.js";
64
+ } from "./chunk-UKI67LME.js";
65
65
  import {
66
66
  INTERRUPT_MESSAGE,
67
67
  createAssistantMessage,
68
68
  createUserMessageFromBlocks,
69
69
  createUserMessageFromText,
70
70
  getLastAssistantMessageId
71
- } from "./chunk-2OIS3IOT.js";
71
+ } from "./chunk-GZF3L435.js";
72
72
  import {
73
73
  formatDuration,
74
74
  formatNumber
75
75
  } from "./chunk-OUXHGDLH.js";
76
76
  import {
77
77
  getAbsolutePath
78
- } from "./chunk-PKEID2XD.js";
78
+ } from "./chunk-3T43I32F.js";
79
79
  import {
80
80
  LspFacade,
81
81
  formatDiagnosticsPretty
82
- } from "./chunk-BCBCDVTD.js";
82
+ } from "./chunk-X475W4F6.js";
83
83
  import {
84
84
  getModelManager
85
- } from "./chunk-RA67ZZKO.js";
85
+ } from "./chunk-S6PNHDVA.js";
86
86
  import {
87
87
  getContext
88
- } from "./chunk-3TSHBDOT.js";
88
+ } from "./chunk-ZD4WAFPC.js";
89
89
  import {
90
90
  getTheme
91
- } from "./chunk-VJGFSH2Y.js";
91
+ } from "./chunk-F3Z46DHI.js";
92
92
  import {
93
93
  debug
94
- } from "./chunk-AYTJPA7R.js";
94
+ } from "./chunk-VTTBOI63.js";
95
95
  import {
96
96
  BunShell,
97
97
  MEMORY_DIR,
@@ -103,7 +103,7 @@ import {
103
103
  overwriteLog,
104
104
  readTaskOutput,
105
105
  resolveXdgDataPath
106
- } from "./chunk-XECX77NR.js";
106
+ } from "./chunk-VUSYHIJA.js";
107
107
 
108
108
  // src/tools/index.ts
109
109
  import { memoize as memoize2 } from "lodash-es";
@@ -784,7 +784,7 @@ async function analyzeOutputWithLsp(output, exitCode) {
784
784
  if (exitCode !== 0 || errorCount > 0 || warningCount > 0) {
785
785
  try {
786
786
  const { isAbsolute: isAbsolute2, resolve: resolve3 } = await import("path");
787
- const { getSessionRoot: getSessionRoot2 } = await import("./state-LYF2VE4H.js");
787
+ const { getSessionRoot: getSessionRoot2 } = await import("./state-PQJJ3JAM.js");
788
788
  const lines = output.split("\n");
789
789
  const uniqueFiles = /* @__PURE__ */ new Set();
790
790
  const lspSuggestions = [];
@@ -1154,7 +1154,7 @@ var DeleteTool = {
1154
1154
  }
1155
1155
  if (!force) {
1156
1156
  try {
1157
- const { LspFacade: LspFacade2 } = await import("./lsp-C2IWGQOU.js");
1157
+ const { LspFacade: LspFacade2 } = await import("./lsp-SQBHGEL7.js");
1158
1158
  const referenceDetail = await LspFacade2.checkFileReferences(fullPath);
1159
1159
  if (referenceDetail) {
1160
1160
  failedItems.push(
@@ -4,7 +4,7 @@ import {
4
4
  BunShell,
5
5
  execFileNoThrow,
6
6
  logError
7
- } from "./chunk-XECX77NR.js";
7
+ } from "./chunk-VUSYHIJA.js";
8
8
 
9
9
  // src/utils/system/ripgrep.ts
10
10
  import { findActualExecutable } from "spawn-rx";
@@ -2,7 +2,7 @@ import { createRequire as __pybCreateRequire } from "node:module";
2
2
  const require = __pybCreateRequire(import.meta.url);
3
3
  import {
4
4
  createSessionSqlStore
5
- } from "./chunk-CF2HMCCA.js";
5
+ } from "./chunk-PHX4SQ7J.js";
6
6
 
7
7
  // src/utils/protocol/pybAgentSessionLoad.ts
8
8
  function loadPybAgentSessionLogData(args) {
@@ -2,7 +2,7 @@ import { createRequire as __pybCreateRequire } from "node:module";
2
2
  const require = __pybCreateRequire(import.meta.url);
3
3
  import {
4
4
  PERSISTENCE_VERSION
5
- } from "./chunk-WPTVSLF3.js";
5
+ } from "./chunk-RYFL7HVW.js";
6
6
 
7
7
  // src/utils/session/conversationMessageState.ts
8
8
  function mapFinishReason(rawReason) {
@@ -5,7 +5,7 @@ import {
5
5
  } from "./chunk-KFEHHKZ2.js";
6
6
  import {
7
7
  resolveXdgDataPath
8
- } from "./chunk-XECX77NR.js";
8
+ } from "./chunk-VUSYHIJA.js";
9
9
 
10
10
  // src/utils/session/sessionSqlStore.ts
11
11
  import { createRequire } from "node:module";
@@ -2,10 +2,10 @@ import { createRequire as __pybCreateRequire } from "node:module";
2
2
  const require = __pybCreateRequire(import.meta.url);
3
3
  import {
4
4
  debug
5
- } from "./chunk-AYTJPA7R.js";
5
+ } from "./chunk-VTTBOI63.js";
6
6
  import {
7
7
  logError
8
- } from "./chunk-XECX77NR.js";
8
+ } from "./chunk-VUSYHIJA.js";
9
9
 
10
10
  // src/services/system/systemReminder.ts
11
11
  var SystemReminderService = class {
@@ -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.5.27",
7
+ version: "1.5.29",
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.5.27\",\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 \"scripts/typed-sql-release-gate.mjs\",\n \"scripts/typed-sql-schema-guard.mjs\",\n \"scripts/typed-sql-install-smoke.mjs\",\n \"scripts/typed-sql-no-fallback-gate.mjs\",\n \"scripts/typed-part-baseline-benchmark.mjs\",\n \"scripts/typed-part-performance-gate.mjs\",\n \"scripts/session-contract-gate.mjs\",\n \"scripts/session-behavior-invariant-gate.mjs\",\n \"scripts/session-project-gate.mjs\",\n \"scripts/protected-tool-names-gate.mjs\",\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 \"build:native-lock\": \"node scripts/build-native-lock.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 --preload ./tests/setup/native-lock-test-setup.ts tests/unit\",\n \"test:integration\": \"bun test tests/integration\",\n \"test:e2e\": \"bun test tests/e2e\",\n \"gate:runtime-assets\": \"bun run scripts/runtime-assets-gate-check.mjs\",\n \"preflight:runtime-assets\": \"node scripts/runtime-assets-preflight.mjs\",\n \"verify:runtime-assets\": \"node scripts/runtime-assets-verify.mjs\",\n \"validate:runtime-assets-contract\": \"node scripts/runtime-assets-schema-validate.mjs\",\n \"gate:runtime-assets-threshold\": \"node scripts/runtime-assets-threshold-gate.mjs\",\n \"gate:runtime-assets-trend-store\": \"node scripts/runtime-assets-trend-store.mjs\",\n \"gate:runtime-assets-trend\": \"node scripts/runtime-assets-trend-gate.mjs\",\n \"report:runtime-assets-trend\": \"node scripts/runtime-assets-trend-report.mjs\",\n \"gate:typed-compat-retirement\": \"node scripts/typed-compat-retirement-gate.mjs\",\n \"gate:query-adapter-boundary\": \"node scripts/query-adapter-boundary-gate.mjs\",\n \"gate:session-contract\": \"node scripts/session-contract-gate.mjs\",\n \"gate:session-behavior-invariant\": \"node scripts/session-behavior-invariant-gate.mjs\",\n \"gate:session-project\": \"node scripts/session-project-gate.mjs\",\n \"gate:protected-tool-names\": \"node scripts/protected-tool-names-gate.mjs\",\n \"plan:typed-compat-retirement\": \"node scripts/typed-compat-retirement-plan.mjs\",\n \"enforce:typed-compat-retirement\": \"node scripts/typed-compat-retirement-enforce.mjs\",\n \"gate:typed-sql-release\": \"node scripts/typed-sql-release-gate.mjs\",\n \"gate:typed-sql-schema\": \"node scripts/typed-sql-schema-guard.mjs\",\n \"smoke:typed-sql-install\": \"node scripts/typed-sql-install-smoke.mjs\",\n \"gate:typed-sql-no-fallback\": \"node scripts/typed-sql-no-fallback-gate.mjs\",\n \"benchmark:typed-part-baseline\": \"bun scripts/typed-part-baseline-benchmark.mjs\",\n \"gate:typed-part-performance\": \"node scripts/typed-part-performance-gate.mjs\",\n \"typecheck\": \"tsc --noEmit\",\n \"prepare\": \"bun run scripts/install-hooks.mjs\",\n \"sync:native-lock\": \"node scripts/sync-native-lock-versions.mjs\",\n \"publish:native-lock\": \"node scripts/publish-native-lock.mjs\",\n \"verify:native-lock\": \"node scripts/verify-native-lock.mjs\",\n \"publish:dev\": \"bun run scripts/publish-dev.js\",\n \"publish:release\": \"bun run scripts/publish-release.js\"\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 \"parse5-htmlparser2-tree-adapter\": \"6.0.1\"\n },\n \"optionalDependencies\": {\n \"@puyib-cli/lock-win32-x64-msvc\": \"1.4.55\",\n \"@puyib-cli/lock-win32-arm64-msvc\": \"1.4.56\",\n \"@puyib-cli/lock-linux-x64-gnu\": \"1.4.56\",\n \"@puyib-cli/lock-linux-x64-musl\": \"1.4.56\",\n \"@puyib-cli/lock-linux-arm64-gnu\": \"1.4.56\",\n \"@puyib-cli/lock-linux-armv7-gnueabihf\": \"1.4.56\",\n \"@puyib-cli/lock-darwin-x64\": \"1.4.56\",\n \"@puyib-cli/lock-darwin-arm64\": \"1.4.56\"\n },\n \"pybNativeLockPlatforms\": [\n \"win32-x64-msvc\",\n \"win32-arm64-msvc\",\n \"linux-x64-gnu\",\n \"linux-x64-musl\",\n \"linux-arm64-gnu\",\n \"linux-armv7-gnueabihf\",\n \"darwin-x64\",\n \"darwin-arm64\"\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.5.29\",\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 \"scripts/typed-sql-release-gate.mjs\",\n \"scripts/typed-sql-schema-guard.mjs\",\n \"scripts/typed-sql-install-smoke.mjs\",\n \"scripts/typed-sql-no-fallback-gate.mjs\",\n \"scripts/typed-part-baseline-benchmark.mjs\",\n \"scripts/typed-part-performance-gate.mjs\",\n \"scripts/session-contract-gate.mjs\",\n \"scripts/session-behavior-invariant-gate.mjs\",\n \"scripts/session-project-gate.mjs\",\n \"scripts/protected-tool-names-gate.mjs\",\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 \"build:native-lock\": \"node scripts/build-native-lock.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 --preload ./tests/setup/native-lock-test-setup.ts tests/unit\",\n \"test:integration\": \"bun test tests/integration\",\n \"test:e2e\": \"bun test tests/e2e\",\n \"gate:runtime-assets\": \"bun run scripts/runtime-assets-gate-check.mjs\",\n \"preflight:runtime-assets\": \"node scripts/runtime-assets-preflight.mjs\",\n \"verify:runtime-assets\": \"node scripts/runtime-assets-verify.mjs\",\n \"validate:runtime-assets-contract\": \"node scripts/runtime-assets-schema-validate.mjs\",\n \"gate:runtime-assets-threshold\": \"node scripts/runtime-assets-threshold-gate.mjs\",\n \"gate:runtime-assets-trend-store\": \"node scripts/runtime-assets-trend-store.mjs\",\n \"gate:runtime-assets-trend\": \"node scripts/runtime-assets-trend-gate.mjs\",\n \"report:runtime-assets-trend\": \"node scripts/runtime-assets-trend-report.mjs\",\n \"gate:typed-compat-retirement\": \"node scripts/typed-compat-retirement-gate.mjs\",\n \"gate:query-adapter-boundary\": \"node scripts/query-adapter-boundary-gate.mjs\",\n \"gate:session-contract\": \"node scripts/session-contract-gate.mjs\",\n \"gate:session-behavior-invariant\": \"node scripts/session-behavior-invariant-gate.mjs\",\n \"gate:session-project\": \"node scripts/session-project-gate.mjs\",\n \"gate:protected-tool-names\": \"node scripts/protected-tool-names-gate.mjs\",\n \"plan:typed-compat-retirement\": \"node scripts/typed-compat-retirement-plan.mjs\",\n \"enforce:typed-compat-retirement\": \"node scripts/typed-compat-retirement-enforce.mjs\",\n \"gate:typed-sql-release\": \"node scripts/typed-sql-release-gate.mjs\",\n \"gate:typed-sql-schema\": \"node scripts/typed-sql-schema-guard.mjs\",\n \"smoke:typed-sql-install\": \"node scripts/typed-sql-install-smoke.mjs\",\n \"gate:typed-sql-no-fallback\": \"node scripts/typed-sql-no-fallback-gate.mjs\",\n \"benchmark:typed-part-baseline\": \"bun scripts/typed-part-baseline-benchmark.mjs\",\n \"gate:typed-part-performance\": \"node scripts/typed-part-performance-gate.mjs\",\n \"typecheck\": \"tsc --noEmit\",\n \"prepare\": \"bun run scripts/install-hooks.mjs\",\n \"sync:native-lock\": \"node scripts/sync-native-lock-versions.mjs\",\n \"publish:native-lock\": \"node scripts/publish-native-lock.mjs\",\n \"verify:native-lock\": \"node scripts/verify-native-lock.mjs\",\n \"publish:dev\": \"bun run scripts/publish-dev.js\",\n \"publish:release\": \"bun run scripts/publish-release.js\"\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 \"parse5-htmlparser2-tree-adapter\": \"6.0.1\"\n },\n \"optionalDependencies\": {\n \"@puyib-cli/lock-win32-x64-msvc\": \"1.4.55\",\n \"@puyib-cli/lock-win32-arm64-msvc\": \"1.4.56\",\n \"@puyib-cli/lock-linux-x64-gnu\": \"1.4.56\",\n \"@puyib-cli/lock-linux-x64-musl\": \"1.4.56\",\n \"@puyib-cli/lock-linux-arm64-gnu\": \"1.4.56\",\n \"@puyib-cli/lock-linux-armv7-gnueabihf\": \"1.4.56\",\n \"@puyib-cli/lock-darwin-x64\": \"1.4.56\",\n \"@puyib-cli/lock-darwin-arm64\": \"1.4.56\"\n },\n \"pybNativeLockPlatforms\": [\n \"win32-x64-msvc\",\n \"win32-arm64-msvc\",\n \"linux-x64-gnu\",\n \"linux-x64-musl\",\n \"linux-arm64-gnu\",\n \"linux-armv7-gnueabihf\",\n \"darwin-x64\",\n \"darwin-arm64\"\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": ";;;;AAAA;AAAA,EACE,MAAQ;AAAA,EACR,SAAW;AAAA,EACX,KAAO;AAAA,IACL,KAAO;AAAA,IACP,WAAW;AAAA,EACb;AAAA,EACA,SAAW;AAAA,IACT,MAAQ;AAAA,EACV;AAAA,EACA,MAAQ;AAAA,EACR,QAAU;AAAA,EACV,SAAW;AAAA,EACX,aAAe;AAAA,EACf,UAAY;AAAA,IACV;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,EACF;AAAA,EACA,UAAY;AAAA,EACZ,YAAc;AAAA,IACZ,MAAQ;AAAA,IACR,KAAO;AAAA,EACT;AAAA,EACA,MAAQ;AAAA,IACN,KAAO;AAAA,EACT;AAAA,EACA,OAAS;AAAA,IACP;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,EACF;AAAA,EACA,SAAW;AAAA,IACT,KAAO;AAAA,IACP,aAAa;AAAA,IACb,OAAS;AAAA,IACT,gBAAgB;AAAA,IAChB,qBAAqB;AAAA,IACrB,OAAS;AAAA,IACT,gBAAkB;AAAA,IAClB,aAAe;AAAA,IACf,QAAU;AAAA,IACV,gBAAgB;AAAA,IAChB,MAAQ;AAAA,IACR,YAAY;AAAA,IACZ,MAAQ;AAAA,IACR,aAAa;AAAA,IACb,oBAAoB;AAAA,IACpB,YAAY;AAAA,IACZ,uBAAuB;AAAA,IACvB,4BAA4B;AAAA,IAC5B,yBAAyB;AAAA,IACzB,oCAAoC;AAAA,IACpC,iCAAiC;AAAA,IACjC,mCAAmC;AAAA,IACnC,6BAA6B;AAAA,IAC7B,+BAA+B;AAAA,IAC/B,gCAAgC;AAAA,IAChC,+BAA+B;AAAA,IAC/B,yBAAyB;AAAA,IACzB,mCAAmC;AAAA,IACnC,wBAAwB;AAAA,IACxB,6BAA6B;AAAA,IAC7B,gCAAgC;AAAA,IAChC,mCAAmC;AAAA,IACnC,0BAA0B;AAAA,IAC1B,yBAAyB;AAAA,IACzB,2BAA2B;AAAA,IAC3B,8BAA8B;AAAA,IAC9B,iCAAiC;AAAA,IACjC,+BAA+B;AAAA,IAC/B,WAAa;AAAA,IACb,SAAW;AAAA,IACX,oBAAoB;AAAA,IACpB,uBAAuB;AAAA,IACvB,sBAAsB;AAAA,IACtB,eAAe;AAAA,IACf,mBAAmB;AAAA,EACrB;AAAA,EACA,cAAgB;AAAA,IACd,6BAA6B;AAAA,IAC7B,qBAAqB;AAAA,IACrB,4BAA4B;AAAA,IAC5B,4BAA4B;AAAA,IAC5B,mCAAmC;AAAA,IACnC,+BAA+B;AAAA,IAC/B,aAAa;AAAA,IACb,6BAA6B;AAAA,IAC7B,2BAA2B;AAAA,IAC3B,oBAAoB;AAAA,IACpB,gBAAgB;AAAA,IAChB,mBAAmB;AAAA,IACnB,wBAAwB;AAAA,IACxB,KAAO;AAAA,IACP,gBAAgB;AAAA,IAChB,wBAAwB;AAAA,IACxB,OAAS;AAAA,IACT,iBAAiB;AAAA,IACjB,cAAc;AAAA,IACd,WAAa;AAAA,IACb,OAAS;AAAA,IACT,MAAQ;AAAA,IACR,qCAAqC;AAAA,IACrC,QAAU;AAAA,IACV,aAAa;AAAA,IACb,QAAU;AAAA,IACV,SAAW;AAAA,IACX,MAAQ;AAAA,IACR,gCAAgC;AAAA,IAChC,eAAe;AAAA,IACf,gBAAgB;AAAA,IAChB,QAAU;AAAA,IACV,KAAO;AAAA,IACP,YAAY;AAAA,IACZ,oBAAoB;AAAA,IACpB,kBAAkB;AAAA,IAClB,cAAgB;AAAA,IAChB,WAAW;AAAA,IACX,aAAa;AAAA,IACb,aAAa;AAAA,IACb,QAAU;AAAA,IACV,WAAa;AAAA,IACb,QAAU;AAAA,IACV,oBAAoB;AAAA,IACpB,QAAU;AAAA,IACV,SAAW;AAAA,IACX,OAAS;AAAA,IACT,QAAU;AAAA,IACV,eAAe;AAAA,IACf,YAAY;AAAA,IACZ,gBAAgB;AAAA,IAChB,cAAc;AAAA,IACd,0BAA0B;AAAA,IAC1B,KAAO;AAAA,IACP,8BAA8B;AAAA,IAC9B,QAAU;AAAA,IACV,kBAAkB;AAAA,IAClB,gCAAgC;AAAA,IAChC,mBAAmB;AAAA,IACnB,OAAS;AAAA,IACT,aAAa;AAAA,IACb,wBAAwB;AAAA,IACxB,KAAO;AAAA,IACP,sBAAsB;AAAA,EACxB;AAAA,EACA,iBAAmB;AAAA,IACjB,cAAc;AAAA,IACd,eAAe;AAAA,IACf,eAAe;AAAA,IACf,gBAAgB;AAAA,IAChB,oCAAoC;AAAA,IACpC,6BAA6B;AAAA,IAC7B,oBAAoB;AAAA,IACpB,aAAa;AAAA,IACb,SAAW;AAAA,IACX,SAAW;AAAA,IACX,QAAU;AAAA,IACV,6BAA6B;AAAA,IAC7B,uBAAuB;AAAA,IACvB,cAAc;AAAA,IACd,UAAY;AAAA,IACZ,uBAAuB;AAAA,IACvB,oBAAoB;AAAA,IACpB,uBAAuB;AAAA,IACvB,uBAAuB;AAAA,IACvB,mBAAmB;AAAA,IACnB,kBAAkB;AAAA,IAClB,uBAAuB;AAAA,IACvB,oBAAoB;AAAA,IACpB,qBAAqB;AAAA,IACrB,mBAAmB;AAAA,IACnB,qBAAqB;AAAA,IACrB,sBAAsB;AAAA,IACtB,oBAAoB;AAAA,IACpB,qBAAqB;AAAA,IACrB,qBAAqB;AAAA,IACrB,0BAA0B;AAAA,IAC1B,UAAY;AAAA,IACZ,YAAc;AAAA,EAChB;AAAA,EACA,WAAa;AAAA,IACX,mCAAmC;AAAA,IACnC,yBAAyB;AAAA,IACzB,mCAAmC;AAAA,EACrC;AAAA,EACA,sBAAwB;AAAA,IACtB,kCAAkC;AAAA,IAClC,oCAAoC;AAAA,IACpC,iCAAiC;AAAA,IACjC,kCAAkC;AAAA,IAClC,mCAAmC;AAAA,IACnC,yCAAyC;AAAA,IACzC,8BAA8B;AAAA,IAC9B,gCAAgC;AAAA,EAClC;AAAA,EACA,wBAA0B;AAAA,IACxB;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,EACF;AACF;;;AC7NO,IAAM,QAAQ;AAAA,EACnB,SAAS,gBAAI;AAAA,EACb,YAAY;AAAA,EACZ,aAAa;AAAA,EACb,kBACE;AACJ;",
6
6
  "names": []
7
7
  }
@@ -2,7 +2,7 @@ import { createRequire as __pybCreateRequire } from "node:module";
2
2
  const require = __pybCreateRequire(import.meta.url);
3
3
  import {
4
4
  logError
5
- } from "./chunk-XECX77NR.js";
5
+ } from "./chunk-VUSYHIJA.js";
6
6
 
7
7
  // src/utils/session/conversationPersistence.ts
8
8
  import {
@@ -3,13 +3,13 @@ const require = __pybCreateRequire(import.meta.url);
3
3
  import {
4
4
  getSettingsFileCandidates,
5
5
  loadSettingsWithLegacyFallback
6
- } from "./chunk-MMONR7LE.js";
6
+ } from "./chunk-UVHZFFMY.js";
7
7
  import {
8
8
  getSessionPlugins
9
9
  } from "./chunk-BJSWTHRM.js";
10
10
  import {
11
11
  getTheme
12
- } from "./chunk-VJGFSH2Y.js";
12
+ } from "./chunk-F3Z46DHI.js";
13
13
  import {
14
14
  addMcprcServerForTesting,
15
15
  getCurrentProjectConfig,
@@ -19,13 +19,13 @@ import {
19
19
  safeParseJSON,
20
20
  saveCurrentProjectConfig,
21
21
  saveGlobalConfig
22
- } from "./chunk-YAGIR75K.js";
22
+ } from "./chunk-X5B7NYPT.js";
23
23
  import {
24
24
  PRODUCT_COMMAND,
25
25
  PRODUCT_NAME,
26
26
  getCwd,
27
27
  logMCPError
28
- } from "./chunk-XECX77NR.js";
28
+ } from "./chunk-VUSYHIJA.js";
29
29
 
30
30
  // src/services/mcp/client.ts
31
31
  import { existsSync as existsSync2, readFileSync as readFileSync2 } from "fs";
@@ -3,13 +3,13 @@ const require = __pybCreateRequire(import.meta.url);
3
3
  import {
4
4
  getGlobalConfig,
5
5
  saveGlobalConfig
6
- } from "./chunk-YAGIR75K.js";
6
+ } from "./chunk-X5B7NYPT.js";
7
7
  import {
8
8
  debug
9
- } from "./chunk-AYTJPA7R.js";
9
+ } from "./chunk-VTTBOI63.js";
10
10
  import {
11
11
  logError
12
- } from "./chunk-XECX77NR.js";
12
+ } from "./chunk-VUSYHIJA.js";
13
13
 
14
14
  // src/utils/model/index.ts
15
15
  import { memoize } from "lodash-es";
@@ -7,14 +7,14 @@ import {
7
7
  getSettingsFileCandidates,
8
8
  loadSettingsWithLegacyFallback,
9
9
  saveSettingsToPrimaryAndSyncLegacy
10
- } from "./chunk-MMONR7LE.js";
10
+ } from "./chunk-UVHZFFMY.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-XECX77NR.js";
17
+ } from "./chunk-VUSYHIJA.js";
18
18
 
19
19
  // src/services/ui/outputStyles.ts
20
20
  import figures from "figures";
@@ -8,12 +8,12 @@ import {
8
8
  } from "./chunk-BJSWTHRM.js";
9
9
  import {
10
10
  debug
11
- } from "./chunk-AYTJPA7R.js";
11
+ } from "./chunk-VTTBOI63.js";
12
12
  import {
13
13
  getCwd,
14
14
  getXdgConfigDir,
15
15
  logError
16
- } from "./chunk-XECX77NR.js";
16
+ } from "./chunk-VUSYHIJA.js";
17
17
 
18
18
  // src/utils/agent/loader.ts
19
19
  import {
@@ -3,7 +3,7 @@ const require = __pybCreateRequire(import.meta.url);
3
3
  import {
4
4
  getCwd,
5
5
  logError
6
- } from "./chunk-XECX77NR.js";
6
+ } from "./chunk-VUSYHIJA.js";
7
7
 
8
8
  // src/utils/config/settingsFiles.ts
9
9
  import { existsSync, mkdirSync, readFileSync, writeFileSync } from "fs";
@@ -4,10 +4,10 @@ import {
4
4
  PRODUCT_NAME,
5
5
  execFileNoThrow,
6
6
  logError
7
- } from "./chunk-XECX77NR.js";
7
+ } from "./chunk-VUSYHIJA.js";
8
8
  import {
9
9
  MACRO
10
- } from "./chunk-2PCYBLRU.js";
10
+ } from "./chunk-RRKAPFMQ.js";
11
11
 
12
12
  // src/utils/session/autoUpdater.ts
13
13
  async function getSemver() {
@@ -82,7 +82,7 @@ async function checkAndNotifyUpdate() {
82
82
  const [
83
83
  { isAutoUpdaterDisabled, getGlobalConfig, saveGlobalConfig },
84
84
  { env }
85
- ] = await Promise.all([import("./config-E6F35FCM.js"), import("./env-IXLDDHCY.js")]);
85
+ ] = await Promise.all([import("./config-RP6BU5AE.js"), import("./env-XUAURZLQ.js")]);
86
86
  if (await isAutoUpdaterDisabled()) return;
87
87
  if (await env.getIsDocker()) return;
88
88
  if (!await env.hasInternetAccess()) return;
@@ -5,14 +5,14 @@ import {
5
5
  } from "./chunk-B6IMQJZM.js";
6
6
  import {
7
7
  loadSettingsWithLegacyFallback
8
- } from "./chunk-MMONR7LE.js";
8
+ } from "./chunk-UVHZFFMY.js";
9
9
  import {
10
10
  getSessionPlugins
11
11
  } from "./chunk-BJSWTHRM.js";
12
12
  import {
13
13
  getCwd,
14
14
  logError
15
- } from "./chunk-XECX77NR.js";
15
+ } from "./chunk-VUSYHIJA.js";
16
16
 
17
17
  // src/utils/session/pybHooks.ts
18
18
  import { spawn } from "child_process";
@@ -496,7 +496,7 @@ async function runPromptHook(args) {
496
496
  fallbackTimeoutMs: args.fallbackTimeoutMs
497
497
  });
498
498
  try {
499
- const { queryQuick } = await import("./llmLazy-XZ74GSFE.js");
499
+ const { queryQuick } = await import("./llmLazy-ZAUEBLRK.js");
500
500
  const systemPrompt = [
501
501
  "You are executing a Pyb prompt hook.",
502
502
  "Return a single JSON object only (no markdown, no prose).",
@@ -5,7 +5,7 @@ import {
5
5
  getCwd,
6
6
  resolveXdgCachePath,
7
7
  resolveXdgDataPath
8
- } from "./chunk-XECX77NR.js";
8
+ } from "./chunk-VUSYHIJA.js";
9
9
 
10
10
  // src/services/plugins/skillMarketplace.ts
11
11
  import {
@@ -8,14 +8,14 @@ import {
8
8
  getSettingsFileCandidates,
9
9
  loadSettingsWithLegacyFallback,
10
10
  saveSettingsToPrimaryAndSyncLegacy
11
- } from "./chunk-MMONR7LE.js";
11
+ } from "./chunk-UVHZFFMY.js";
12
12
  import {
13
13
  getCurrentProjectConfig
14
- } from "./chunk-YAGIR75K.js";
14
+ } from "./chunk-X5B7NYPT.js";
15
15
  import {
16
16
  getCwd,
17
17
  logError
18
- } from "./chunk-XECX77NR.js";
18
+ } from "./chunk-VUSYHIJA.js";
19
19
 
20
20
  // src/utils/permissions/toolPermissionSettings.ts
21
21
  function uniqueStrings(value) {
@@ -3,7 +3,7 @@ const require = __pybCreateRequire(import.meta.url);
3
3
  import {
4
4
  SESSION_ID,
5
5
  resolveXdgCachePath
6
- } from "./chunk-XECX77NR.js";
6
+ } from "./chunk-VUSYHIJA.js";
7
7
 
8
8
  // src/utils/log/debugLogger.ts
9
9
  import { existsSync, mkdirSync, appendFileSync } from "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-2PCYBLRU.js";
5
+ } from "./chunk-RRKAPFMQ.js";
6
6
 
7
7
  // src/utils/state/index.ts
8
8
  import { cwd } from "process";
@@ -4,17 +4,17 @@ import {
4
4
  LspServerRegistry,
5
5
  findNearestRoot,
6
6
  getInstallNotices
7
- } from "./chunk-AQHMBWCP.js";
7
+ } from "./chunk-DG6FK5XN.js";
8
8
  import {
9
9
  levenshtein
10
10
  } from "./chunk-UZ34JEUK.js";
11
11
  import {
12
12
  debug
13
- } from "./chunk-AYTJPA7R.js";
13
+ } from "./chunk-VTTBOI63.js";
14
14
  import {
15
15
  getCwd,
16
16
  getSessionRoot
17
- } from "./chunk-XECX77NR.js";
17
+ } from "./chunk-VUSYHIJA.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-KVDFKFEI.js");
568
+ const { detectPythonVenv } = await import("./registry-5722DCKT.js");
569
569
  const pythonPath = detectPythonVenv(resolvedRoot);
570
570
  if (pythonPath) {
571
571
  initOpts = { ...initOpts ?? {}, pythonPath };
@@ -5,13 +5,13 @@ import {
5
5
  } from "./chunk-RQVLBMP7.js";
6
6
  import {
7
7
  debug
8
- } from "./chunk-AYTJPA7R.js";
8
+ } from "./chunk-VTTBOI63.js";
9
9
  import {
10
10
  getCwd,
11
11
  getGlobalConfigFilePath,
12
12
  getLegacyGlobalConfigFilePath,
13
13
  logError
14
- } from "./chunk-XECX77NR.js";
14
+ } from "./chunk-VUSYHIJA.js";
15
15
 
16
16
  // src/core/config/schema.ts
17
17
  function isAutoUpdaterStatus(value) {
@@ -688,7 +688,7 @@ function setModelPointer(pointer, modelName) {
688
688
  }
689
689
  };
690
690
  saveGlobalConfig(updatedConfig);
691
- import("./model-HKGG6SBC.js").then(({ reloadModelManager }) => {
691
+ import("./model-5HD47QJV.js").then(({ reloadModelManager }) => {
692
692
  reloadModelManager();
693
693
  });
694
694
  }
@@ -5,12 +5,12 @@ import {
5
5
  } from "./chunk-BJSWTHRM.js";
6
6
  import {
7
7
  debug
8
- } from "./chunk-AYTJPA7R.js";
8
+ } from "./chunk-VTTBOI63.js";
9
9
  import {
10
10
  getCwd,
11
11
  logError,
12
12
  resolveXdgDataPath
13
- } from "./chunk-XECX77NR.js";
13
+ } from "./chunk-VUSYHIJA.js";
14
14
 
15
15
  // src/services/plugins/customCommands.ts
16
16
  import { existsSync, readFileSync, readdirSync, statSync } from "fs";
@@ -8,13 +8,13 @@ import {
8
8
  } from "./chunk-KFEHHKZ2.js";
9
9
  import {
10
10
  ripGrepWithStatus
11
- } from "./chunk-C4SEDCT2.js";
11
+ } from "./chunk-LDMNEBPV.js";
12
12
  import {
13
13
  getCurrentProjectConfig,
14
14
  getGlobalConfig,
15
15
  getOrCreateUserID,
16
16
  saveCurrentProjectConfig
17
- } from "./chunk-YAGIR75K.js";
17
+ } from "./chunk-X5B7NYPT.js";
18
18
  import {
19
19
  SESSION_ID,
20
20
  env,
@@ -22,10 +22,10 @@ import {
22
22
  getCwd,
23
23
  isContextScanDisabled,
24
24
  logError
25
- } from "./chunk-XECX77NR.js";
25
+ } from "./chunk-VUSYHIJA.js";
26
26
  import {
27
27
  MACRO
28
- } from "./chunk-2PCYBLRU.js";
28
+ } from "./chunk-RRKAPFMQ.js";
29
29
  import {
30
30
  __require
31
31
  } from "./chunk-I3J4JYES.js";