pybao-cli 1.4.72 → 1.4.73

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 (145) hide show
  1. package/dist/REPL-AMXLYPJP.js +46 -0
  2. package/dist/{acp-BDQDR7KX.js → acp-YHT3WYR6.js} +29 -29
  3. package/dist/{agentsValidate-2GWIDSRB.js → agentsValidate-XWHKNXPV.js} +7 -7
  4. package/dist/{ask-4BEIEOUL.js → ask-Z2UV6QA2.js} +28 -28
  5. package/dist/{autoUpdater-4HO3ZPID.js → autoUpdater-TMF44IV3.js} +3 -3
  6. package/dist/{chunk-IPR7BE3O.js → chunk-2W4PU5LB.js} +2 -2
  7. package/dist/{chunk-4TQ2ESKB.js → chunk-32YS6WN2.js} +3 -3
  8. package/dist/{chunk-35MIEAWK.js → chunk-3E2SSZB7.js} +2 -2
  9. package/dist/{chunk-FQVC5AO6.js → chunk-3Q5F4OUI.js} +1 -1
  10. package/dist/{chunk-6WJ3DPKH.js → chunk-7RQGIDZS.js} +2 -2
  11. package/dist/{chunk-WXTGOVD4.js → chunk-BHLOSRIV.js} +4 -4
  12. package/dist/{chunk-U53KB5W7.js → chunk-BNE3CU3H.js} +1 -1
  13. package/dist/{chunk-5WSMOLLY.js → chunk-CXQVXTMI.js} +4 -4
  14. package/dist/{chunk-IGQJWOR4.js → chunk-DDLCPDRH.js} +2 -2
  15. package/dist/{chunk-SQU4KQEZ.js → chunk-E7OJV6QN.js} +3 -3
  16. package/dist/{chunk-FAL2XM5C.js → chunk-E7QS33NG.js} +2 -2
  17. package/dist/{chunk-LE5SO7VT.js → chunk-EKQKQKN7.js} +3 -3
  18. package/dist/{chunk-WAGEHKRW.js → chunk-F2A7SL7F.js} +1 -1
  19. package/dist/{chunk-WAGEHKRW.js.map → chunk-F2A7SL7F.js.map} +1 -1
  20. package/dist/{chunk-AB5RLKIY.js → chunk-FXIMBVZA.js} +3 -3
  21. package/dist/{chunk-MYIHIFVE.js → chunk-G7SKFCQY.js} +1 -1
  22. package/dist/{chunk-JPBBXWJZ.js → chunk-HQ6SVOPG.js} +1 -1
  23. package/dist/{chunk-WL6BO5TM.js → chunk-JGTEN44K.js} +1 -1
  24. package/dist/{chunk-ABJR2URY.js → chunk-NPJBVZZ7.js} +1 -1
  25. package/dist/{chunk-ZVEOIC4Q.js → chunk-PHYOFWZE.js} +49 -48
  26. package/dist/{chunk-ZVEOIC4Q.js.map → chunk-PHYOFWZE.js.map} +2 -2
  27. package/dist/{chunk-XAKHWWVX.js → chunk-RI7KB2J4.js} +3 -3
  28. package/dist/{chunk-XE2SSMWC.js → chunk-SHMVJ4IW.js} +1 -1
  29. package/dist/{chunk-MFTGKYE3.js → chunk-SIH4IGN7.js} +2 -2
  30. package/dist/{chunk-5QCFPRRR.js → chunk-TFSX7MTJ.js} +3 -3
  31. package/dist/{chunk-S7CN5EVK.js → chunk-UVIRSCWD.js} +4 -4
  32. package/dist/{chunk-N7MJY3OJ.js → chunk-VHWPECJP.js} +1 -1
  33. package/dist/{chunk-I6KFPV35.js → chunk-WQR737J4.js} +1 -1
  34. package/dist/{chunk-EPFJOURT.js → chunk-WTYCHKIY.js} +4 -4
  35. package/dist/{chunk-Q4OLT4NT.js → chunk-WVDK4LXO.js} +16 -16
  36. package/dist/{chunk-LNGYPQBH.js → chunk-ZT6XN5WB.js} +3 -3
  37. package/dist/{chunk-UCBLDVMM.js → chunk-ZXNJ62WU.js} +2 -2
  38. package/dist/{cli-R6OJPJ3A.js → cli-HR6HTUYW.js} +87 -87
  39. package/dist/commands-MZCSUZUW.js +50 -0
  40. package/dist/{config-IRREB6ZR.js → config-DAMFM7EH.js} +4 -4
  41. package/dist/{context-GWQBUF5A.js → context-6RG46SPP.js} +6 -6
  42. package/dist/{customCommands-V7UZJVSP.js → customCommands-H2QBK44G.js} +4 -4
  43. package/dist/{env-BES2TS7K.js → env-YT3FZNAS.js} +2 -2
  44. package/dist/{file-DRPSWAC5.js → file-VOA7AF7B.js} +4 -4
  45. package/dist/index.js +3 -3
  46. package/dist/{llm-V3BKK2SE.js → llm-3NHC22VK.js} +29 -29
  47. package/dist/{llmLazy-J2ABQHFE.js → llmLazy-6VIID66N.js} +1 -1
  48. package/dist/{loader-DGSNJ6OC.js → loader-EEVSF7SI.js} +4 -4
  49. package/dist/{lsp-EALNZB6A.js → lsp-UZ77VCEB.js} +6 -6
  50. package/dist/{lspAnchor-2RHV7U2B.js → lspAnchor-PQWKR4HW.js} +6 -6
  51. package/dist/{mcp-6M44ILQM.js → mcp-RETVF4ZI.js} +7 -7
  52. package/dist/{mentionProcessor-X6EVJSBY.js → mentionProcessor-K7Y4MNSM.js} +5 -5
  53. package/dist/{messages-KZ3SO2TR.js → messages-Y447K4GA.js} +1 -1
  54. package/dist/{model-Q7TDZ6GN.js → model-LI7LTOD2.js} +5 -5
  55. package/dist/{openai-I5UJUGX3.js → openai-P6KN32LM.js} +5 -5
  56. package/dist/{outputStyles-QVKKXIY4.js → outputStyles-D7BAB3LV.js} +4 -4
  57. package/dist/{pluginRuntime-6UK7TYNH.js → pluginRuntime-ESYI3LF2.js} +6 -6
  58. package/dist/{pluginValidation-UH53R5UG.js → pluginValidation-HXJ36PVU.js} +6 -6
  59. package/dist/prompts-TBBOASPW.js +52 -0
  60. package/dist/{pybAgentSessionLoad-EDESPHXZ.js → pybAgentSessionLoad-35LWV3PO.js} +4 -4
  61. package/dist/{pybAgentSessionResume-3V5NFIRS.js → pybAgentSessionResume-XXGQMCDY.js} +4 -4
  62. package/dist/{pybAgentStreamJsonSession-2VK2TMC2.js → pybAgentStreamJsonSession-OSD6QCO3.js} +1 -1
  63. package/dist/{pybHooks-R5GEQMNH.js → pybHooks-V6ZEVAIP.js} +4 -4
  64. package/dist/query-2YNWNMEP.js +54 -0
  65. package/dist/{registry-V7ULAQDK.js → registry-QN2RD3OQ.js} +5 -5
  66. package/dist/{ripgrep-3J5M3WV5.js → ripgrep-5ADOVGXG.js} +3 -3
  67. package/dist/{skillMarketplace-YSQ3KU67.js → skillMarketplace-KIIGENMN.js} +3 -3
  68. package/dist/{state-FT2OLN5V.js → state-JO77CSX6.js} +2 -2
  69. package/dist/{theme-Q3IPTBIG.js → theme-WIOLK2X2.js} +5 -5
  70. package/dist/{toolPermissionSettings-ZPBNQWUZ.js → toolPermissionSettings-3FRKK44Q.js} +6 -6
  71. package/dist/tools-WE4P7ZLW.js +51 -0
  72. package/dist/{userInput-KZLFQY2T.js → userInput-IICDTVUH.js} +30 -30
  73. package/package.json +1 -1
  74. package/dist/REPL-7B2DJIGG.js +0 -46
  75. package/dist/commands-V24CFNDB.js +0 -50
  76. package/dist/prompts-UUTVMSI5.js +0 -52
  77. package/dist/query-H27G7XYG.js +0 -54
  78. package/dist/tools-XLXGRW7J.js +0 -51
  79. /package/dist/{REPL-7B2DJIGG.js.map → REPL-AMXLYPJP.js.map} +0 -0
  80. /package/dist/{acp-BDQDR7KX.js.map → acp-YHT3WYR6.js.map} +0 -0
  81. /package/dist/{agentsValidate-2GWIDSRB.js.map → agentsValidate-XWHKNXPV.js.map} +0 -0
  82. /package/dist/{ask-4BEIEOUL.js.map → ask-Z2UV6QA2.js.map} +0 -0
  83. /package/dist/{autoUpdater-4HO3ZPID.js.map → autoUpdater-TMF44IV3.js.map} +0 -0
  84. /package/dist/{chunk-IPR7BE3O.js.map → chunk-2W4PU5LB.js.map} +0 -0
  85. /package/dist/{chunk-4TQ2ESKB.js.map → chunk-32YS6WN2.js.map} +0 -0
  86. /package/dist/{chunk-35MIEAWK.js.map → chunk-3E2SSZB7.js.map} +0 -0
  87. /package/dist/{chunk-FQVC5AO6.js.map → chunk-3Q5F4OUI.js.map} +0 -0
  88. /package/dist/{chunk-6WJ3DPKH.js.map → chunk-7RQGIDZS.js.map} +0 -0
  89. /package/dist/{chunk-WXTGOVD4.js.map → chunk-BHLOSRIV.js.map} +0 -0
  90. /package/dist/{chunk-U53KB5W7.js.map → chunk-BNE3CU3H.js.map} +0 -0
  91. /package/dist/{chunk-5WSMOLLY.js.map → chunk-CXQVXTMI.js.map} +0 -0
  92. /package/dist/{chunk-IGQJWOR4.js.map → chunk-DDLCPDRH.js.map} +0 -0
  93. /package/dist/{chunk-SQU4KQEZ.js.map → chunk-E7OJV6QN.js.map} +0 -0
  94. /package/dist/{chunk-FAL2XM5C.js.map → chunk-E7QS33NG.js.map} +0 -0
  95. /package/dist/{chunk-LE5SO7VT.js.map → chunk-EKQKQKN7.js.map} +0 -0
  96. /package/dist/{chunk-AB5RLKIY.js.map → chunk-FXIMBVZA.js.map} +0 -0
  97. /package/dist/{chunk-MYIHIFVE.js.map → chunk-G7SKFCQY.js.map} +0 -0
  98. /package/dist/{chunk-JPBBXWJZ.js.map → chunk-HQ6SVOPG.js.map} +0 -0
  99. /package/dist/{chunk-WL6BO5TM.js.map → chunk-JGTEN44K.js.map} +0 -0
  100. /package/dist/{chunk-ABJR2URY.js.map → chunk-NPJBVZZ7.js.map} +0 -0
  101. /package/dist/{chunk-XAKHWWVX.js.map → chunk-RI7KB2J4.js.map} +0 -0
  102. /package/dist/{chunk-XE2SSMWC.js.map → chunk-SHMVJ4IW.js.map} +0 -0
  103. /package/dist/{chunk-MFTGKYE3.js.map → chunk-SIH4IGN7.js.map} +0 -0
  104. /package/dist/{chunk-5QCFPRRR.js.map → chunk-TFSX7MTJ.js.map} +0 -0
  105. /package/dist/{chunk-S7CN5EVK.js.map → chunk-UVIRSCWD.js.map} +0 -0
  106. /package/dist/{chunk-N7MJY3OJ.js.map → chunk-VHWPECJP.js.map} +0 -0
  107. /package/dist/{chunk-I6KFPV35.js.map → chunk-WQR737J4.js.map} +0 -0
  108. /package/dist/{chunk-EPFJOURT.js.map → chunk-WTYCHKIY.js.map} +0 -0
  109. /package/dist/{chunk-Q4OLT4NT.js.map → chunk-WVDK4LXO.js.map} +0 -0
  110. /package/dist/{chunk-LNGYPQBH.js.map → chunk-ZT6XN5WB.js.map} +0 -0
  111. /package/dist/{chunk-UCBLDVMM.js.map → chunk-ZXNJ62WU.js.map} +0 -0
  112. /package/dist/{cli-R6OJPJ3A.js.map → cli-HR6HTUYW.js.map} +0 -0
  113. /package/dist/{commands-V24CFNDB.js.map → commands-MZCSUZUW.js.map} +0 -0
  114. /package/dist/{config-IRREB6ZR.js.map → config-DAMFM7EH.js.map} +0 -0
  115. /package/dist/{context-GWQBUF5A.js.map → context-6RG46SPP.js.map} +0 -0
  116. /package/dist/{customCommands-V7UZJVSP.js.map → customCommands-H2QBK44G.js.map} +0 -0
  117. /package/dist/{env-BES2TS7K.js.map → env-YT3FZNAS.js.map} +0 -0
  118. /package/dist/{file-DRPSWAC5.js.map → file-VOA7AF7B.js.map} +0 -0
  119. /package/dist/{llm-V3BKK2SE.js.map → llm-3NHC22VK.js.map} +0 -0
  120. /package/dist/{llmLazy-J2ABQHFE.js.map → llmLazy-6VIID66N.js.map} +0 -0
  121. /package/dist/{loader-DGSNJ6OC.js.map → loader-EEVSF7SI.js.map} +0 -0
  122. /package/dist/{lsp-EALNZB6A.js.map → lsp-UZ77VCEB.js.map} +0 -0
  123. /package/dist/{lspAnchor-2RHV7U2B.js.map → lspAnchor-PQWKR4HW.js.map} +0 -0
  124. /package/dist/{mcp-6M44ILQM.js.map → mcp-RETVF4ZI.js.map} +0 -0
  125. /package/dist/{mentionProcessor-X6EVJSBY.js.map → mentionProcessor-K7Y4MNSM.js.map} +0 -0
  126. /package/dist/{messages-KZ3SO2TR.js.map → messages-Y447K4GA.js.map} +0 -0
  127. /package/dist/{model-Q7TDZ6GN.js.map → model-LI7LTOD2.js.map} +0 -0
  128. /package/dist/{openai-I5UJUGX3.js.map → openai-P6KN32LM.js.map} +0 -0
  129. /package/dist/{outputStyles-QVKKXIY4.js.map → outputStyles-D7BAB3LV.js.map} +0 -0
  130. /package/dist/{pluginRuntime-6UK7TYNH.js.map → pluginRuntime-ESYI3LF2.js.map} +0 -0
  131. /package/dist/{pluginValidation-UH53R5UG.js.map → pluginValidation-HXJ36PVU.js.map} +0 -0
  132. /package/dist/{prompts-UUTVMSI5.js.map → prompts-TBBOASPW.js.map} +0 -0
  133. /package/dist/{pybAgentSessionLoad-EDESPHXZ.js.map → pybAgentSessionLoad-35LWV3PO.js.map} +0 -0
  134. /package/dist/{pybAgentSessionResume-3V5NFIRS.js.map → pybAgentSessionResume-XXGQMCDY.js.map} +0 -0
  135. /package/dist/{pybAgentStreamJsonSession-2VK2TMC2.js.map → pybAgentStreamJsonSession-OSD6QCO3.js.map} +0 -0
  136. /package/dist/{pybHooks-R5GEQMNH.js.map → pybHooks-V6ZEVAIP.js.map} +0 -0
  137. /package/dist/{query-H27G7XYG.js.map → query-2YNWNMEP.js.map} +0 -0
  138. /package/dist/{registry-V7ULAQDK.js.map → registry-QN2RD3OQ.js.map} +0 -0
  139. /package/dist/{ripgrep-3J5M3WV5.js.map → ripgrep-5ADOVGXG.js.map} +0 -0
  140. /package/dist/{skillMarketplace-YSQ3KU67.js.map → skillMarketplace-KIIGENMN.js.map} +0 -0
  141. /package/dist/{state-FT2OLN5V.js.map → state-JO77CSX6.js.map} +0 -0
  142. /package/dist/{theme-Q3IPTBIG.js.map → theme-WIOLK2X2.js.map} +0 -0
  143. /package/dist/{toolPermissionSettings-ZPBNQWUZ.js.map → toolPermissionSettings-3FRKK44Q.js.map} +0 -0
  144. /package/dist/{tools-XLXGRW7J.js.map → tools-WE4P7ZLW.js.map} +0 -0
  145. /package/dist/{userInput-KZLFQY2T.js.map → userInput-IICDTVUH.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-SQU4KQEZ.js";
6
+ } from "./chunk-E7OJV6QN.js";
7
7
  import {
8
8
  loadPybAgentSessionMessages
9
- } from "./chunk-FQVC5AO6.js";
9
+ } from "./chunk-3Q5F4OUI.js";
10
10
  import {
11
11
  listPybAgentSessions
12
- } from "./chunk-U53KB5W7.js";
12
+ } from "./chunk-BNE3CU3H.js";
13
13
  import {
14
14
  appendSessionCustomTitleRecord,
15
15
  appendSessionJsonlFromMessage,
16
16
  appendSessionTagRecord
17
- } from "./chunk-35MIEAWK.js";
17
+ } from "./chunk-3E2SSZB7.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-LNGYPQBH.js";
29
+ } from "./chunk-ZT6XN5WB.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-6WJ3DPKH.js";
38
+ } from "./chunk-7RQGIDZS.js";
39
39
  import {
40
40
  fetchCustomModels,
41
41
  getModelFeatures,
42
42
  getSessionState
43
- } from "./chunk-IPR7BE3O.js";
43
+ } from "./chunk-2W4PU5LB.js";
44
44
  import {
45
45
  queryLLM,
46
46
  queryQuick,
47
47
  verifyApiKey
48
- } from "./chunk-S7CN5EVK.js";
48
+ } from "./chunk-UVIRSCWD.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-EPFJOURT.js";
62
+ } from "./chunk-WTYCHKIY.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-MYIHIFVE.js";
75
+ } from "./chunk-G7SKFCQY.js";
76
76
  import {
77
77
  loadToolPermissionContextFromDisk,
78
78
  persistToolPermissionUpdateToDisk
79
- } from "./chunk-XAKHWWVX.js";
79
+ } from "./chunk-RI7KB2J4.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-UCBLDVMM.js";
90
+ } from "./chunk-ZXNJ62WU.js";
91
91
  import {
92
92
  clearAgentCache,
93
93
  getActiveAgents,
94
94
  getAgentByType,
95
95
  getAllAgents
96
- } from "./chunk-IGQJWOR4.js";
96
+ } from "./chunk-DDLCPDRH.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-WL6BO5TM.js";
127
+ } from "./chunk-JGTEN44K.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-MFTGKYE3.js";
157
+ } from "./chunk-SIH4IGN7.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-WXTGOVD4.js";
167
+ } from "./chunk-BHLOSRIV.js";
168
168
  import {
169
169
  getSettingsFileCandidates,
170
170
  loadSettingsWithLegacyFallback,
171
171
  readSettingsFile
172
- } from "./chunk-N7MJY3OJ.js";
172
+ } from "./chunk-VHWPECJP.js";
173
173
  import {
174
174
  getCustomCommandDirectories,
175
175
  hasCustomCommands,
176
176
  loadCustomCommands,
177
177
  reloadCustomCommands
178
- } from "./chunk-FAL2XM5C.js";
178
+ } from "./chunk-E7QS33NG.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-4TQ2ESKB.js";
186
+ } from "./chunk-32YS6WN2.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-5WSMOLLY.js";
194
+ } from "./chunk-CXQVXTMI.js";
195
195
  import {
196
196
  ripGrep
197
- } from "./chunk-ABJR2URY.js";
197
+ } from "./chunk-NPJBVZZ7.js";
198
198
  import {
199
199
  getTheme
200
- } from "./chunk-I6KFPV35.js";
200
+ } from "./chunk-WQR737J4.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-LE5SO7VT.js";
213
+ } from "./chunk-EKQKQKN7.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-XE2SSMWC.js";
222
+ } from "./chunk-SHMVJ4IW.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-JPBBXWJZ.js";
263
+ } from "./chunk-HQ6SVOPG.js";
264
264
  import {
265
265
  MACRO
266
- } from "./chunk-WAGEHKRW.js";
266
+ } from "./chunk-F2A7SL7F.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-V3BKK2SE.js");
447
+ const { API_ERROR_MESSAGE_PREFIX: API_ERROR_MESSAGE_PREFIX2, queryQuick: queryQuick2 } = await import("./llm-3NHC22VK.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-V3BKK2SE.js");
4249
+ const { API_ERROR_MESSAGE_PREFIX: API_ERROR_MESSAGE_PREFIX2, queryLLM: queryLLM2 } = await import("./llm-3NHC22VK.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-2RHV7U2B.js");
6646
+ const { findLspAnchor } = await import("./lspAnchor-PQWKR4HW.js");
6647
6647
  for (const op of editOperations) {
6648
6648
  const normalizedSearch = normalizeLineEndings(op.search);
6649
6649
  const normalizedReplace = normalizeLineEndings(op.replace);
@@ -11313,7 +11313,7 @@ async function createAndStoreApiKey(accessToken) {
11313
11313
  }
11314
11314
  saveGlobalConfig(config2);
11315
11315
  try {
11316
- const { resetAnthropicClient } = await import("./llm-V3BKK2SE.js");
11316
+ const { resetAnthropicClient } = await import("./llm-3NHC22VK.js");
11317
11317
  resetAnthropicClient();
11318
11318
  } catch {
11319
11319
  }
@@ -15680,7 +15680,7 @@ async function refreshPluginRuntimeFromInstalls() {
15680
15680
  const existingRoots = getSessionPlugins().map((p) => p.rootDir);
15681
15681
  const dirs = Array.from(/* @__PURE__ */ new Set([...existingRoots, ...installedRoots]));
15682
15682
  if (dirs.length === 0) return [];
15683
- const { configureSessionPlugins } = await import("./pluginRuntime-6UK7TYNH.js");
15683
+ const { configureSessionPlugins } = await import("./pluginRuntime-ESYI3LF2.js");
15684
15684
  const { errors } = await configureSessionPlugins({ pluginDirs: dirs });
15685
15685
  return errors;
15686
15686
  }
@@ -16349,7 +16349,7 @@ async function call(onDone, context) {
16349
16349
  ModelConfig,
16350
16350
  {
16351
16351
  onClose: () => {
16352
- import("./model-Q7TDZ6GN.js").then(({ reloadModelManager: reloadModelManager2 }) => {
16352
+ import("./model-LI7LTOD2.js").then(({ reloadModelManager: reloadModelManager2 }) => {
16353
16353
  reloadModelManager2();
16354
16354
  triggerModelConfigChange();
16355
16355
  onDone();
@@ -21515,8 +21515,8 @@ import { z as z10 } from "zod";
21515
21515
  // src/tools/agent/PlanModeTool/prompt.ts
21516
21516
  var ENTER_TOOL_NAME = "EnterPlanMode";
21517
21517
  var EXIT_TOOL_NAME = "ExitPlanMode";
21518
- var ENTER_DESCRIPTION = "Requests permission to enter plan mode for complex tasks requiring exploration and design";
21519
- var ENTER_PROMPT = `Use this tool proactively when you're about to start a non-trivial implementation task. Getting user sign-off on your approach before writing code prevents wasted effort and ensures alignment. This tool transitions you into plan mode where you can explore the codebase and design an implementation approach for user approval.
21518
+ var ENTER_DESCRIPTION = "Enters plan mode for complex tasks requiring exploration and design";
21519
+ var ENTER_PROMPT = `Use this tool proactively when you're about to start a non-trivial implementation task. It will transition you into plan mode, allowing you to explore the codebase and design an implementation approach\u2014this not only prevents wasted effort and ensures alignment with user goals when writing code, but its structured workflow also guarantees thorough analysis of the code and ultimately delivers a well-designed solution.
21520
21520
 
21521
21521
  ## When to Use This Tool
21522
21522
 
@@ -21561,12 +21561,12 @@ Only skip EnterPlanMode for simple tasks:
21561
21561
  ## What Happens in Plan Mode
21562
21562
 
21563
21563
  In plan mode, you'll:
21564
- 1. Thoroughly explore the codebase using Glob, Grep, and Read tools
21564
+ 1. Thoroughly explore the codebase using Glob, Grep, Read, ls, and Lsp tools
21565
21565
  2. Understand existing patterns and architecture
21566
21566
  3. Design an implementation approach
21567
- 4. Present your plan to the user for approval
21567
+ 4. Write your plan to the plan file
21568
21568
  5. Use AskUserQuestion if you need to clarify approaches
21569
- 6. Exit plan mode with ExitPlanMode when ready to implement
21569
+ 6. Exit plan mode with ExitPlanMode when ready for user review
21570
21570
 
21571
21571
  ## Examples
21572
21572
 
@@ -21598,9 +21598,9 @@ User: "What files handle routing?"
21598
21598
 
21599
21599
  ## Important Notes
21600
21600
 
21601
- - This tool REQUIRES user approval - they must consent to entering plan mode
21602
- - If unsure whether to use it, err on the side of planning - it's better to get alignment upfront than to redo work
21603
- - Users appreciate being consulted before significant changes are made to their codebase`;
21601
+ - This tool immediately enters plan mode without requiring user confirmation
21602
+ - If unsure whether to use it, err on the side of planning - structured analysis leads to better solutions
21603
+ - Users can still control the mode via keyboard shortcuts (alt+m / shift+tab)`;
21604
21604
  var EXIT_DESCRIPTION = "Prompts the user to exit plan mode and start coding";
21605
21605
  var EXIT_PROMPT = `Use this tool when you are in plan mode and have finished writing your plan to the plan file and are ready for user approval.
21606
21606
 
@@ -21648,10 +21648,10 @@ var EnterPlanModeTool = {
21648
21648
  return true;
21649
21649
  },
21650
21650
  needsPermissions() {
21651
- return true;
21651
+ return false;
21652
21652
  },
21653
21653
  requiresUserInteraction() {
21654
- return true;
21654
+ return false;
21655
21655
  },
21656
21656
  async prompt() {
21657
21657
  return ENTER_PROMPT;
@@ -21661,7 +21661,7 @@ var EnterPlanModeTool = {
21661
21661
  },
21662
21662
  renderToolUseRejectedMessage() {
21663
21663
  const theme = getTheme();
21664
- return /* @__PURE__ */ React86.createElement(Box65, { flexDirection: "row", marginTop: 1 }, /* @__PURE__ */ React86.createElement(Text70, { color: theme.text }, BLACK_CIRCLE), /* @__PURE__ */ React86.createElement(Text70, null, " User declined to enter plan mode"));
21664
+ return /* @__PURE__ */ React86.createElement(Box65, { flexDirection: "row", marginTop: 1 }, /* @__PURE__ */ React86.createElement(Text70, { color: theme.text }, BLACK_CIRCLE), /* @__PURE__ */ React86.createElement(Text70, null, " Plan mode entry was cancelled"));
21665
21665
  },
21666
21666
  renderToolResultMessage(_output) {
21667
21667
  const theme = getTheme();
@@ -21676,9 +21676,10 @@ In plan mode, you should:
21676
21676
  3. Consider multiple approaches and their trade-offs
21677
21677
  4. Use AskUserQuestion if you need to clarify the approach
21678
21678
  5. Design a concrete implementation strategy
21679
- 6. When ready, use ExitPlanMode to present your plan for approval
21679
+ 6. Write your plan to the plan file
21680
+ 7. When ready, use ExitPlanMode for user review
21680
21681
 
21681
- Remember: DO NOT write or edit any files yet. This is a read-only exploration and planning phase.`;
21682
+ Remember: DO NOT write or edit any files yet (except the plan file). This is a read-only exploration and planning phase.`;
21682
21683
  },
21683
21684
  async *call(_input, context) {
21684
21685
  if (context?.agentId) {
@@ -25215,7 +25216,7 @@ function useStatusLine() {
25215
25216
  // src/ui/components/PromptInput.tsx
25216
25217
  async function interpretHashCommand(input) {
25217
25218
  try {
25218
- const { queryQuick: queryQuick2 } = await import("./llm-V3BKK2SE.js");
25219
+ const { queryQuick: queryQuick2 } = await import("./llm-3NHC22VK.js");
25219
25220
  const systemPrompt = [
25220
25221
  "You're helping the user structure notes that will be added to their PYB.md file.",
25221
25222
  "Format the user's input into a well-structured note that will be useful for later reference.",
@@ -25528,7 +25529,7 @@ function PromptInput({
25528
25529
  if (messages2.length) {
25529
25530
  if (mode === "bash") {
25530
25531
  onQuery(messages2, newAbortController).then(async () => {
25531
- const { getCwd: getCwd2 } = await import("./state-FT2OLN5V.js");
25532
+ const { getCwd: getCwd2 } = await import("./state-JO77CSX6.js");
25532
25533
  setCurrentPwd(getCwd2());
25533
25534
  });
25534
25535
  } else {
@@ -28707,7 +28708,7 @@ import { homedir as homedir8 } from "os";
28707
28708
  // src/commands/agents/generation.ts
28708
28709
  import { randomUUID as randomUUID6 } from "crypto";
28709
28710
  async function generateAgentWithClaude(prompt) {
28710
- const { queryModel } = await import("./llm-V3BKK2SE.js");
28711
+ const { queryModel } = await import("./llm-3NHC22VK.js");
28711
28712
  const systemPrompt = `You are an expert at creating AI agent configurations. Based on the user's description, generate a specialized agent configuration.
28712
28713
 
28713
28714
  Return your response as a JSON object with exactly these fields: