pybao-cli 1.4.76 → 1.4.78

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 (147) hide show
  1. package/dist/REPL-PMRNP5KN.js +46 -0
  2. package/dist/{acp-4XHRYO56.js → acp-3RMYS52H.js} +29 -29
  3. package/dist/{agentsValidate-OKBEIM2L.js → agentsValidate-3JFBXUNV.js} +7 -7
  4. package/dist/{ask-MLXVCAJZ.js → ask-RMURMSCU.js} +28 -28
  5. package/dist/{autoUpdater-WIPHLYW6.js → autoUpdater-NLRHGMPI.js} +3 -3
  6. package/dist/{chunk-Q7HIATXU.js → chunk-2BFE6B2Q.js} +2 -2
  7. package/dist/{chunk-ADFUXIHF.js → chunk-2BQURWBM.js} +1 -1
  8. package/dist/{chunk-BRTUHZJP.js → chunk-4PAAHB2Y.js} +4 -4
  9. package/dist/{chunk-T7MKXF5R.js → chunk-563GZISO.js} +1 -1
  10. package/dist/{chunk-PQSDS4SJ.js → chunk-7IFPQMJT.js} +2 -2
  11. package/dist/{chunk-OML4DI2L.js → chunk-7WHJT6R6.js} +1 -1
  12. package/dist/{chunk-NDZ624LO.js → chunk-A34GDIID.js} +3 -3
  13. package/dist/{chunk-XLT64RVU.js → chunk-B5GE2XHW.js} +3 -3
  14. package/dist/{chunk-W3EG25C2.js → chunk-HBEMQ2XH.js} +3 -3
  15. package/dist/{chunk-LATG3Z2L.js → chunk-HFMWMDHV.js} +4 -4
  16. package/dist/{chunk-O3XLJKJM.js → chunk-HU6IHG2X.js} +1 -1
  17. package/dist/{chunk-BJVBFT4L.js → chunk-II4SW3YT.js} +2 -2
  18. package/dist/{chunk-LNTTGDLL.js → chunk-KORULLWF.js} +3 -3
  19. package/dist/{chunk-B3Z5ZCJQ.js → chunk-LI2WWWNE.js} +2 -2
  20. package/dist/{chunk-X3XICKVZ.js → chunk-LXAMP3M2.js} +1 -1
  21. package/dist/{chunk-X3XICKVZ.js.map → chunk-LXAMP3M2.js.map} +1 -1
  22. package/dist/{chunk-HUXXS3KC.js → chunk-M2GXBP4V.js} +1 -1
  23. package/dist/{chunk-EJYHTI3D.js → chunk-M7VFQFQM.js} +3 -3
  24. package/dist/{chunk-GW7IMYAW.js → chunk-NQJYUKJC.js} +46 -36
  25. package/dist/chunk-NQJYUKJC.js.map +7 -0
  26. package/dist/{chunk-ACRKOUSO.js → chunk-OD32MHO5.js} +1 -1
  27. package/dist/{chunk-PW3WI3WG.js → chunk-P64X267N.js} +1 -1
  28. package/dist/{chunk-PCMHIRMR.js → chunk-PFPM2UZQ.js} +4 -4
  29. package/dist/{chunk-STRMTXEO.js → chunk-PKCQ6ODI.js} +4 -4
  30. package/dist/{chunk-FTZAV7B5.js → chunk-QXXFKCAS.js} +1 -1
  31. package/dist/{chunk-ARR7EPRS.js → chunk-SEX7QL6M.js} +29 -16
  32. package/dist/chunk-SEX7QL6M.js.map +7 -0
  33. package/dist/{chunk-Z5DXHNIL.js → chunk-SFK5DRJO.js} +1 -1
  34. package/dist/{chunk-NHBVGW37.js → chunk-TIV76GRO.js} +2 -2
  35. package/dist/{chunk-5ZXZCAYK.js → chunk-UYBLZCME.js} +3 -3
  36. package/dist/{chunk-JPQT7MD2.js → chunk-VZTJMDYR.js} +2 -2
  37. package/dist/{chunk-DGDPNCRD.js → chunk-XQSUDDJU.js} +2 -2
  38. package/dist/{chunk-CP4HRUTW.js → chunk-ZM45KHAU.js} +3 -3
  39. package/dist/{cli-AXTSYKWT.js → cli-2QPHQBGN.js} +87 -87
  40. package/dist/commands-IS55WXJ5.js +50 -0
  41. package/dist/{config-4E2E75IG.js → config-TNT4UN6O.js} +4 -4
  42. package/dist/{context-XWJSQOGN.js → context-LRCEYMZN.js} +6 -6
  43. package/dist/{customCommands-7CVNIGB7.js → customCommands-7KRUO7ZA.js} +4 -4
  44. package/dist/{env-3LVA2WS3.js → env-S2D5D7XI.js} +2 -2
  45. package/dist/{file-4EZK7WE2.js → file-ILZSOF2J.js} +4 -4
  46. package/dist/index.js +3 -3
  47. package/dist/{llm-T5WUFZWL.js → llm-VTBCMQSO.js} +29 -29
  48. package/dist/{llmLazy-XI646FSV.js → llmLazy-H6EA3E3M.js} +1 -1
  49. package/dist/{loader-VRW3M3YU.js → loader-LCMOOYNN.js} +4 -4
  50. package/dist/{lsp-UHLFPGB6.js → lsp-3FYZRRML.js} +6 -6
  51. package/dist/{lspAnchor-4ADQNOAW.js → lspAnchor-QOYDKNUZ.js} +6 -6
  52. package/dist/{mcp-Q52D347V.js → mcp-WEXLPQVS.js} +7 -7
  53. package/dist/{mentionProcessor-FLBA5OGP.js → mentionProcessor-SDC6EPCT.js} +5 -5
  54. package/dist/{messages-ZGY4CSSV.js → messages-HHF75TBW.js} +1 -1
  55. package/dist/{model-Q3R4RIKZ.js → model-2LBD4WIC.js} +5 -5
  56. package/dist/{openai-3YLV2GRL.js → openai-P3DHLAQG.js} +5 -5
  57. package/dist/{outputStyles-IHBZ4QPT.js → outputStyles-QDFJNE7I.js} +4 -4
  58. package/dist/{pluginRuntime-2CK3Q5DN.js → pluginRuntime-YPY2AXW3.js} +6 -6
  59. package/dist/{pluginValidation-42EAWBNZ.js → pluginValidation-PICRKHOR.js} +6 -6
  60. package/dist/prompts-4EPSYM7J.js +52 -0
  61. package/dist/{pybAgentSessionLoad-4RRVWF6C.js → pybAgentSessionLoad-J6GNI5BO.js} +4 -4
  62. package/dist/{pybAgentSessionResume-UFEKI4AN.js → pybAgentSessionResume-LYCMSJI7.js} +4 -4
  63. package/dist/{pybAgentStreamJsonSession-226XTDBY.js → pybAgentStreamJsonSession-KZHUK62N.js} +1 -1
  64. package/dist/{pybHooks-AFJ4D6YK.js → pybHooks-DN3CXWLP.js} +4 -4
  65. package/dist/query-YE2VWQMC.js +54 -0
  66. package/dist/{registry-S5FD4IVI.js → registry-WIQ4MAB4.js} +5 -5
  67. package/dist/{ripgrep-XW7RSZPZ.js → ripgrep-D5LXSN64.js} +3 -3
  68. package/dist/{skillMarketplace-GMJGRPJ4.js → skillMarketplace-AKOFEUO4.js} +3 -3
  69. package/dist/{state-YISEDJES.js → state-QIV7FSQG.js} +2 -2
  70. package/dist/{theme-IDJITFFJ.js → theme-ECRY7KAQ.js} +5 -5
  71. package/dist/{toolPermissionSettings-37NOKAVN.js → toolPermissionSettings-KMUOJF3Y.js} +6 -6
  72. package/dist/tools-UCPVVEO2.js +51 -0
  73. package/dist/{userInput-5STLCZUN.js → userInput-AVETXERG.js} +30 -30
  74. package/package.json +1 -1
  75. package/dist/REPL-RWPGSUIX.js +0 -46
  76. package/dist/chunk-ARR7EPRS.js.map +0 -7
  77. package/dist/chunk-GW7IMYAW.js.map +0 -7
  78. package/dist/commands-7HCZZAA5.js +0 -50
  79. package/dist/prompts-EDV34OWB.js +0 -52
  80. package/dist/query-BS6U3KIA.js +0 -54
  81. package/dist/tools-AEWPJXRE.js +0 -51
  82. /package/dist/{REPL-RWPGSUIX.js.map → REPL-PMRNP5KN.js.map} +0 -0
  83. /package/dist/{acp-4XHRYO56.js.map → acp-3RMYS52H.js.map} +0 -0
  84. /package/dist/{agentsValidate-OKBEIM2L.js.map → agentsValidate-3JFBXUNV.js.map} +0 -0
  85. /package/dist/{ask-MLXVCAJZ.js.map → ask-RMURMSCU.js.map} +0 -0
  86. /package/dist/{autoUpdater-WIPHLYW6.js.map → autoUpdater-NLRHGMPI.js.map} +0 -0
  87. /package/dist/{chunk-Q7HIATXU.js.map → chunk-2BFE6B2Q.js.map} +0 -0
  88. /package/dist/{chunk-ADFUXIHF.js.map → chunk-2BQURWBM.js.map} +0 -0
  89. /package/dist/{chunk-BRTUHZJP.js.map → chunk-4PAAHB2Y.js.map} +0 -0
  90. /package/dist/{chunk-T7MKXF5R.js.map → chunk-563GZISO.js.map} +0 -0
  91. /package/dist/{chunk-PQSDS4SJ.js.map → chunk-7IFPQMJT.js.map} +0 -0
  92. /package/dist/{chunk-OML4DI2L.js.map → chunk-7WHJT6R6.js.map} +0 -0
  93. /package/dist/{chunk-NDZ624LO.js.map → chunk-A34GDIID.js.map} +0 -0
  94. /package/dist/{chunk-XLT64RVU.js.map → chunk-B5GE2XHW.js.map} +0 -0
  95. /package/dist/{chunk-W3EG25C2.js.map → chunk-HBEMQ2XH.js.map} +0 -0
  96. /package/dist/{chunk-LATG3Z2L.js.map → chunk-HFMWMDHV.js.map} +0 -0
  97. /package/dist/{chunk-O3XLJKJM.js.map → chunk-HU6IHG2X.js.map} +0 -0
  98. /package/dist/{chunk-BJVBFT4L.js.map → chunk-II4SW3YT.js.map} +0 -0
  99. /package/dist/{chunk-LNTTGDLL.js.map → chunk-KORULLWF.js.map} +0 -0
  100. /package/dist/{chunk-B3Z5ZCJQ.js.map → chunk-LI2WWWNE.js.map} +0 -0
  101. /package/dist/{chunk-HUXXS3KC.js.map → chunk-M2GXBP4V.js.map} +0 -0
  102. /package/dist/{chunk-EJYHTI3D.js.map → chunk-M7VFQFQM.js.map} +0 -0
  103. /package/dist/{chunk-ACRKOUSO.js.map → chunk-OD32MHO5.js.map} +0 -0
  104. /package/dist/{chunk-PW3WI3WG.js.map → chunk-P64X267N.js.map} +0 -0
  105. /package/dist/{chunk-PCMHIRMR.js.map → chunk-PFPM2UZQ.js.map} +0 -0
  106. /package/dist/{chunk-STRMTXEO.js.map → chunk-PKCQ6ODI.js.map} +0 -0
  107. /package/dist/{chunk-FTZAV7B5.js.map → chunk-QXXFKCAS.js.map} +0 -0
  108. /package/dist/{chunk-Z5DXHNIL.js.map → chunk-SFK5DRJO.js.map} +0 -0
  109. /package/dist/{chunk-NHBVGW37.js.map → chunk-TIV76GRO.js.map} +0 -0
  110. /package/dist/{chunk-5ZXZCAYK.js.map → chunk-UYBLZCME.js.map} +0 -0
  111. /package/dist/{chunk-JPQT7MD2.js.map → chunk-VZTJMDYR.js.map} +0 -0
  112. /package/dist/{chunk-DGDPNCRD.js.map → chunk-XQSUDDJU.js.map} +0 -0
  113. /package/dist/{chunk-CP4HRUTW.js.map → chunk-ZM45KHAU.js.map} +0 -0
  114. /package/dist/{cli-AXTSYKWT.js.map → cli-2QPHQBGN.js.map} +0 -0
  115. /package/dist/{commands-7HCZZAA5.js.map → commands-IS55WXJ5.js.map} +0 -0
  116. /package/dist/{config-4E2E75IG.js.map → config-TNT4UN6O.js.map} +0 -0
  117. /package/dist/{context-XWJSQOGN.js.map → context-LRCEYMZN.js.map} +0 -0
  118. /package/dist/{customCommands-7CVNIGB7.js.map → customCommands-7KRUO7ZA.js.map} +0 -0
  119. /package/dist/{env-3LVA2WS3.js.map → env-S2D5D7XI.js.map} +0 -0
  120. /package/dist/{file-4EZK7WE2.js.map → file-ILZSOF2J.js.map} +0 -0
  121. /package/dist/{llm-T5WUFZWL.js.map → llm-VTBCMQSO.js.map} +0 -0
  122. /package/dist/{llmLazy-XI646FSV.js.map → llmLazy-H6EA3E3M.js.map} +0 -0
  123. /package/dist/{loader-VRW3M3YU.js.map → loader-LCMOOYNN.js.map} +0 -0
  124. /package/dist/{lsp-UHLFPGB6.js.map → lsp-3FYZRRML.js.map} +0 -0
  125. /package/dist/{lspAnchor-4ADQNOAW.js.map → lspAnchor-QOYDKNUZ.js.map} +0 -0
  126. /package/dist/{mcp-Q52D347V.js.map → mcp-WEXLPQVS.js.map} +0 -0
  127. /package/dist/{mentionProcessor-FLBA5OGP.js.map → mentionProcessor-SDC6EPCT.js.map} +0 -0
  128. /package/dist/{messages-ZGY4CSSV.js.map → messages-HHF75TBW.js.map} +0 -0
  129. /package/dist/{model-Q3R4RIKZ.js.map → model-2LBD4WIC.js.map} +0 -0
  130. /package/dist/{openai-3YLV2GRL.js.map → openai-P3DHLAQG.js.map} +0 -0
  131. /package/dist/{outputStyles-IHBZ4QPT.js.map → outputStyles-QDFJNE7I.js.map} +0 -0
  132. /package/dist/{pluginRuntime-2CK3Q5DN.js.map → pluginRuntime-YPY2AXW3.js.map} +0 -0
  133. /package/dist/{pluginValidation-42EAWBNZ.js.map → pluginValidation-PICRKHOR.js.map} +0 -0
  134. /package/dist/{prompts-EDV34OWB.js.map → prompts-4EPSYM7J.js.map} +0 -0
  135. /package/dist/{pybAgentSessionLoad-4RRVWF6C.js.map → pybAgentSessionLoad-J6GNI5BO.js.map} +0 -0
  136. /package/dist/{pybAgentSessionResume-UFEKI4AN.js.map → pybAgentSessionResume-LYCMSJI7.js.map} +0 -0
  137. /package/dist/{pybAgentStreamJsonSession-226XTDBY.js.map → pybAgentStreamJsonSession-KZHUK62N.js.map} +0 -0
  138. /package/dist/{pybHooks-AFJ4D6YK.js.map → pybHooks-DN3CXWLP.js.map} +0 -0
  139. /package/dist/{query-BS6U3KIA.js.map → query-YE2VWQMC.js.map} +0 -0
  140. /package/dist/{registry-S5FD4IVI.js.map → registry-WIQ4MAB4.js.map} +0 -0
  141. /package/dist/{ripgrep-XW7RSZPZ.js.map → ripgrep-D5LXSN64.js.map} +0 -0
  142. /package/dist/{skillMarketplace-GMJGRPJ4.js.map → skillMarketplace-AKOFEUO4.js.map} +0 -0
  143. /package/dist/{state-YISEDJES.js.map → state-QIV7FSQG.js.map} +0 -0
  144. /package/dist/{theme-IDJITFFJ.js.map → theme-ECRY7KAQ.js.map} +0 -0
  145. /package/dist/{toolPermissionSettings-37NOKAVN.js.map → toolPermissionSettings-KMUOJF3Y.js.map} +0 -0
  146. /package/dist/{tools-AEWPJXRE.js.map → tools-UCPVVEO2.js.map} +0 -0
  147. /package/dist/{userInput-5STLCZUN.js.map → userInput-AVETXERG.js.map} +0 -0
@@ -3,18 +3,18 @@ const require = __pybCreateRequire(import.meta.url);
3
3
  import {
4
4
  formatValidationResult,
5
5
  validatePluginOrMarketplacePath
6
- } from "./chunk-CP4HRUTW.js";
6
+ } from "./chunk-ZM45KHAU.js";
7
7
  import {
8
8
  loadPybAgentSessionMessages
9
- } from "./chunk-T7MKXF5R.js";
9
+ } from "./chunk-563GZISO.js";
10
10
  import {
11
11
  listPybAgentSessions
12
- } from "./chunk-PW3WI3WG.js";
12
+ } from "./chunk-P64X267N.js";
13
13
  import {
14
14
  appendSessionCustomTitleRecord,
15
15
  appendSessionJsonlFromMessage,
16
16
  appendSessionTagRecord
17
- } from "./chunk-BJVBFT4L.js";
17
+ } from "./chunk-II4SW3YT.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-W3EG25C2.js";
29
+ } from "./chunk-HBEMQ2XH.js";
30
30
  import {
31
31
  DEFAULT_OUTPUT_STYLE,
32
32
  getAvailableOutputStyles,
@@ -35,17 +35,17 @@ import {
35
35
  getOutputStyleSystemPromptAdditions,
36
36
  resolveOutputStyleName,
37
37
  setCurrentOutputStyle
38
- } from "./chunk-Q7HIATXU.js";
38
+ } from "./chunk-2BFE6B2Q.js";
39
39
  import {
40
40
  fetchCustomModels,
41
41
  getModelFeatures,
42
42
  getSessionState
43
- } from "./chunk-DGDPNCRD.js";
43
+ } from "./chunk-XQSUDDJU.js";
44
44
  import {
45
45
  queryLLM,
46
46
  queryQuick,
47
47
  verifyApiKey
48
- } from "./chunk-BRTUHZJP.js";
48
+ } from "./chunk-4PAAHB2Y.js";
49
49
  import {
50
50
  DEFAULT_TIMEOUT_MS,
51
51
  FallbackToolUseRejectedMessage,
@@ -59,7 +59,7 @@ import {
59
59
  listMCPServers,
60
60
  loadMergedSettings,
61
61
  normalizeSandboxRuntimeConfigFromSettings
62
- } from "./chunk-PCMHIRMR.js";
62
+ } from "./chunk-PFPM2UZQ.js";
63
63
  import {
64
64
  addMarketplace,
65
65
  disableSkillPlugin,
@@ -72,11 +72,11 @@ import {
72
72
  refreshMarketplaceAsync,
73
73
  removeMarketplace,
74
74
  uninstallSkillPlugin
75
- } from "./chunk-O3XLJKJM.js";
75
+ } from "./chunk-HU6IHG2X.js";
76
76
  import {
77
77
  loadToolPermissionContextFromDisk,
78
78
  persistToolPermissionUpdateToDisk
79
- } from "./chunk-5ZXZCAYK.js";
79
+ } from "./chunk-UYBLZCME.js";
80
80
  import {
81
81
  applyToolPermissionContextUpdate,
82
82
  applyToolPermissionContextUpdates,
@@ -87,13 +87,13 @@ import {
87
87
  generateSystemReminders,
88
88
  resetReminderSession,
89
89
  systemReminderService
90
- } from "./chunk-NHBVGW37.js";
90
+ } from "./chunk-TIV76GRO.js";
91
91
  import {
92
92
  clearAgentCache,
93
93
  getActiveAgents,
94
94
  getAgentByType,
95
95
  getAllAgents
96
- } from "./chunk-B3Z5ZCJQ.js";
96
+ } from "./chunk-LI2WWWNE.js";
97
97
  import {
98
98
  API_ERROR_MESSAGE_PREFIX,
99
99
  CANCEL_MESSAGE,
@@ -124,7 +124,7 @@ import {
124
124
  processUserInput,
125
125
  reorderMessages,
126
126
  stripSystemMessages
127
- } from "./chunk-ACRKOUSO.js";
127
+ } from "./chunk-OD32MHO5.js";
128
128
  import {
129
129
  getRequestStatus,
130
130
  setRequestStatus,
@@ -154,7 +154,7 @@ import {
154
154
  normalizeFilePath,
155
155
  readTextContent,
156
156
  writeTextContent
157
- } from "./chunk-JPQT7MD2.js";
157
+ } from "./chunk-VZTJMDYR.js";
158
158
  import {
159
159
  parseBlockEdits
160
160
  } from "./chunk-QWIBSCDN.js";
@@ -164,18 +164,18 @@ import {
164
164
  ParserRegistry,
165
165
  initParser,
166
166
  loadLanguage
167
- } from "./chunk-LATG3Z2L.js";
167
+ } from "./chunk-HFMWMDHV.js";
168
168
  import {
169
169
  getSettingsFileCandidates,
170
170
  loadSettingsWithLegacyFallback,
171
171
  readSettingsFile
172
- } from "./chunk-OML4DI2L.js";
172
+ } from "./chunk-7WHJT6R6.js";
173
173
  import {
174
174
  getCustomCommandDirectories,
175
175
  hasCustomCommands,
176
176
  loadCustomCommands,
177
177
  reloadCustomCommands
178
- } from "./chunk-PQSDS4SJ.js";
178
+ } from "./chunk-7IFPQMJT.js";
179
179
  import {
180
180
  getSessionPlugins
181
181
  } from "./chunk-BJSWTHRM.js";
@@ -183,7 +183,7 @@ import {
183
183
  ModelManager,
184
184
  getModelManager,
185
185
  isDefaultSlowAndCapableModel
186
- } from "./chunk-EJYHTI3D.js";
186
+ } from "./chunk-M7VFQFQM.js";
187
187
  import {
188
188
  getCodeStyle,
189
189
  getContext,
@@ -191,13 +191,13 @@ import {
191
191
  getIsGit,
192
192
  getProjectDocs,
193
193
  getProjectStructureStatisticsBlock
194
- } from "./chunk-STRMTXEO.js";
194
+ } from "./chunk-PKCQ6ODI.js";
195
195
  import {
196
196
  ripGrep
197
- } from "./chunk-Z5DXHNIL.js";
197
+ } from "./chunk-SFK5DRJO.js";
198
198
  import {
199
199
  getTheme
200
- } from "./chunk-FTZAV7B5.js";
200
+ } from "./chunk-QXXFKCAS.js";
201
201
  import {
202
202
  DEFAULT_GLOBAL_CONFIG,
203
203
  enableConfigs,
@@ -210,7 +210,7 @@ import {
210
210
  saveGlobalConfig,
211
211
  setAllPointersToModel,
212
212
  setModelPointer
213
- } from "./chunk-LNTTGDLL.js";
213
+ } from "./chunk-KORULLWF.js";
214
214
  import {
215
215
  AbortError
216
216
  } from "./chunk-RQVLBMP7.js";
@@ -219,7 +219,7 @@ import {
219
219
  getCurrentRequest,
220
220
  logUserFriendly,
221
221
  markPhase
222
- } from "./chunk-ADFUXIHF.js";
222
+ } from "./chunk-2BQURWBM.js";
223
223
  import {
224
224
  ASCII_LOGO,
225
225
  BunShell,
@@ -260,10 +260,10 @@ import {
260
260
  setCwd,
261
261
  shouldApplyToolOutputTruncation,
262
262
  truncateToolOutput
263
- } from "./chunk-HUXXS3KC.js";
263
+ } from "./chunk-M2GXBP4V.js";
264
264
  import {
265
265
  MACRO
266
- } from "./chunk-X3XICKVZ.js";
266
+ } from "./chunk-LXAMP3M2.js";
267
267
  import {
268
268
  __export
269
269
  } from "./chunk-I3J4JYES.js";
@@ -444,7 +444,7 @@ var getCommandSubcommandPrefix = memoize(
444
444
  var getCommandPrefix = memoize(
445
445
  async (command4, abortSignal) => {
446
446
  const { systemPrompt, userPrompt } = buildBashCommandPrefixDetectionPrompt(command4);
447
- const { API_ERROR_MESSAGE_PREFIX: API_ERROR_MESSAGE_PREFIX2, queryQuick: queryQuick2 } = await import("./llm-T5WUFZWL.js");
447
+ const { API_ERROR_MESSAGE_PREFIX: API_ERROR_MESSAGE_PREFIX2, queryQuick: queryQuick2 } = await import("./llm-VTBCMQSO.js");
448
448
  const response = await queryQuick2({
449
449
  systemPrompt,
450
450
  userPrompt,
@@ -4246,7 +4246,7 @@ function formatParseError(error) {
4246
4246
  return error instanceof Error ? error.message : String(error);
4247
4247
  }
4248
4248
  async function defaultGateQuery(args) {
4249
- const { API_ERROR_MESSAGE_PREFIX: API_ERROR_MESSAGE_PREFIX2, queryLLM: queryLLM2 } = await import("./llm-T5WUFZWL.js");
4249
+ const { API_ERROR_MESSAGE_PREFIX: API_ERROR_MESSAGE_PREFIX2, queryLLM: queryLLM2 } = await import("./llm-VTBCMQSO.js");
4250
4250
  const queryLLMFn = args.queryLLMOverride ?? queryLLM2;
4251
4251
  const messages = [
4252
4252
  {
@@ -6643,7 +6643,7 @@ var FileEditTool = {
6643
6643
  const originalFileContent = currentFileContent;
6644
6644
  let totalPatch = [];
6645
6645
  const { SmartEdit } = await import("./smart-edit-AWHJDSU6.js");
6646
- const { findLspAnchor } = await import("./lspAnchor-4ADQNOAW.js");
6646
+ const { findLspAnchor } = await import("./lspAnchor-QOYDKNUZ.js");
6647
6647
  for (const op of editOperations) {
6648
6648
  const normalizedSearch = normalizeLineEndings(op.search);
6649
6649
  const normalizedReplace = normalizeLineEndings(op.replace);
@@ -7978,6 +7978,10 @@ var DESCRIPTION4 = `- Fast file pattern matching tool that works with any codeba
7978
7978
  - **Discovery Workflow**: For unfamiliar codebases, run these in parallel:
7979
7979
  - \`**/package.json\`, \`**/*.{ts,js,tsx,jsx}\`, \`**/README*\`
7980
7980
  - Analyze structure \u2192 refine search \u2192 read key files
7981
+ - **Tool Collaboration**:
7982
+ - LS \u2192 Provides directory structure clues to help determine search scope
7983
+ - Grep \u2192 After Glob finds files, use Grep to search content
7984
+ - Read \u2192 Read the found file contents
7981
7985
 
7982
7986
  ## Usage Details
7983
7987
  - Supports glob patterns like "**/*.js" or "src/**/*.ts"
@@ -8168,6 +8172,11 @@ var DESCRIPTION5 = `A powerful search tool built on ripgrep
8168
8172
  - Too many results? Add \`glob\`, \`type\`, or narrower \`path\`
8169
8173
  - No results? Broaden pattern, try case-insensitive (\`-i\`), or use semantic search
8170
8174
  - Wrong results? Adjust pattern, check regex syntax, try alternative keywords
8175
+ - **Tool Collaboration**:
8176
+ - LS \u2192 Confirm directory structure for search scope
8177
+ - Glob \u2192 Confirm file path existence
8178
+ - Read \u2192 Read specific content of matched files
8179
+ - LspTool \u2192 Trace definitions and references (replace manual Grep tracing)
8171
8180
 
8172
8181
  ## Usage Details
8173
8182
  - ALWAYS use Grep for search tasks. NEVER invoke \`grep\` or \`rg\` as a Bash command. The Grep tool has been optimized for correct permissions and access.
@@ -11338,7 +11347,7 @@ async function createAndStoreApiKey(accessToken) {
11338
11347
  }
11339
11348
  saveGlobalConfig(config2);
11340
11349
  try {
11341
- const { resetAnthropicClient } = await import("./llm-T5WUFZWL.js");
11350
+ const { resetAnthropicClient } = await import("./llm-VTBCMQSO.js");
11342
11351
  resetAnthropicClient();
11343
11352
  } catch {
11344
11353
  }
@@ -15705,7 +15714,7 @@ async function refreshPluginRuntimeFromInstalls() {
15705
15714
  const existingRoots = getSessionPlugins().map((p) => p.rootDir);
15706
15715
  const dirs = Array.from(/* @__PURE__ */ new Set([...existingRoots, ...installedRoots]));
15707
15716
  if (dirs.length === 0) return [];
15708
- const { configureSessionPlugins } = await import("./pluginRuntime-2CK3Q5DN.js");
15717
+ const { configureSessionPlugins } = await import("./pluginRuntime-YPY2AXW3.js");
15709
15718
  const { errors } = await configureSessionPlugins({ pluginDirs: dirs });
15710
15719
  return errors;
15711
15720
  }
@@ -16374,7 +16383,7 @@ async function call(onDone, context) {
16374
16383
  ModelConfig,
16375
16384
  {
16376
16385
  onClose: () => {
16377
- import("./model-Q3R4RIKZ.js").then(({ reloadModelManager: reloadModelManager2 }) => {
16386
+ import("./model-2LBD4WIC.js").then(({ reloadModelManager: reloadModelManager2 }) => {
16378
16387
  reloadModelManager2();
16379
16388
  triggerModelConfigChange();
16380
16389
  onDone();
@@ -25241,7 +25250,7 @@ function useStatusLine() {
25241
25250
  // src/ui/components/PromptInput.tsx
25242
25251
  async function interpretHashCommand(input) {
25243
25252
  try {
25244
- const { queryQuick: queryQuick2 } = await import("./llm-T5WUFZWL.js");
25253
+ const { queryQuick: queryQuick2 } = await import("./llm-VTBCMQSO.js");
25245
25254
  const systemPrompt = [
25246
25255
  "You're helping the user structure notes that will be added to their PYB.md file.",
25247
25256
  "Format the user's input into a well-structured note that will be useful for later reference.",
@@ -25554,7 +25563,7 @@ function PromptInput({
25554
25563
  if (messages2.length) {
25555
25564
  if (mode === "bash") {
25556
25565
  onQuery(messages2, newAbortController).then(async () => {
25557
- const { getCwd: getCwd2 } = await import("./state-YISEDJES.js");
25566
+ const { getCwd: getCwd2 } = await import("./state-QIV7FSQG.js");
25558
25567
  setCurrentPwd(getCwd2());
25559
25568
  });
25560
25569
  } else {
@@ -28733,7 +28742,7 @@ import { homedir as homedir8 } from "os";
28733
28742
  // src/commands/agents/generation.ts
28734
28743
  import { randomUUID as randomUUID6 } from "crypto";
28735
28744
  async function generateAgentWithClaude(prompt) {
28736
- const { queryModel } = await import("./llm-T5WUFZWL.js");
28745
+ const { queryModel } = await import("./llm-VTBCMQSO.js");
28737
28746
  const systemPrompt = `You are an expert at creating AI agent configurations. Based on the user's description, generate a specialized agent configuration.
28738
28747
 
28739
28748
  Return your response as a JSON object with exactly these fields:
@@ -32457,7 +32466,8 @@ NEVER commit changes unless the user explicitly asks you to. It is VERY IMPORTAN
32457
32466
  ` : ""}
32458
32467
 
32459
32468
  # Tool usage policy
32460
- - When doing file search, prefer to use the Task tool for open-ended, multi-step exploration to reduce context usage. For known paths or small scopes, prefer Read/Glob/Grep directly.
32469
+ - **Code Analysis Priority**: When analyzing code blocks, codebases (especially complex multi-repo projects) that require comprehensive understanding of functionality, mechanisms, or logic, you MUST prioritize using: (1) EnterPlanMode for structured exploration and planning workflow, OR (2) Task tool with Explore subagent for thorough multi-step analysis. This reduces context consumption by delegating exploration to specialized agents. For broad analysis scope, launch multiple Explore agents in parallel with different focus areas to maximize efficiency.
32470
+ - When doing file search, prefer to use the Task tool for open-ended, multi-step exploration to reduce context usage. For known paths or small scopes, prefer Ls/Lsp/Read/Glob/Grep directly.
32461
32471
  - For file system exploration, decide based on intent: if you need global structure/entry points, prefer LS first; if you have keywords or fuzzy paths, prefer Glob first. If results are too broad, use LS to narrow structure or combine with Grep/LSP. Only use Bash for executing scripts or binaries.
32462
32472
  - You can call multiple tools in a single response. If you intend to call multiple tools and there are no dependencies between them, make all independent tool calls in parallel. Maximize use of parallel tool calls where possible to increase efficiency. However, if some tool calls depend on previous calls to inform dependent values, do NOT call these tools in parallel and instead call them sequentially. For instance, if one operation must complete before another starts, run these operations sequentially instead. Never use placeholders or guess missing parameters in tool calls.
32463
32473
  - If the user specifies that they want you to run tools "in parallel", you MUST send a single message with multiple tool use content blocks.