pybao-cli 1.5.42 → 1.5.43

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 (151) hide show
  1. package/dist/REPL-DB574DFH.js +51 -0
  2. package/dist/{acp-TVN3WHDY.js → acp-LVHAM3WT.js} +30 -30
  3. package/dist/{agentsValidate-GHHBQ2V3.js → agentsValidate-BIL7UNX5.js} +7 -7
  4. package/dist/{ask-Q2KBAHNA.js → ask-QYJE6B5E.js} +30 -30
  5. package/dist/{autoUpdater-65UHQALF.js → autoUpdater-LAJDPNSA.js} +3 -3
  6. package/dist/{chunk-EQBLVRTX.js → chunk-2QGZFE6O.js} +2 -2
  7. package/dist/{chunk-6JEIJLDL.js → chunk-2TSFRYBQ.js} +4 -4
  8. package/dist/{chunk-Y2Z256D7.js → chunk-2UVNJF72.js} +64 -43
  9. package/dist/{chunk-Y2Z256D7.js.map → chunk-2UVNJF72.js.map} +2 -2
  10. package/dist/{chunk-HMZHP623.js → chunk-2XIK7WIG.js} +5 -5
  11. package/dist/{chunk-HMZHP623.js.map → chunk-2XIK7WIG.js.map} +1 -1
  12. package/dist/{chunk-FPJL5RXB.js → chunk-3CEAIULU.js} +4 -4
  13. package/dist/{chunk-2VA64CKU.js → chunk-3PDQTTHC.js} +3 -3
  14. package/dist/{chunk-S2TCT35Y.js → chunk-4WBXCBNQ.js} +2 -2
  15. package/dist/{chunk-ZKDULVN5.js → chunk-5HEO7RAF.js} +1 -1
  16. package/dist/{chunk-2ONDOJ32.js → chunk-64D4RTUL.js} +2 -2
  17. package/dist/{chunk-NVENXGF7.js → chunk-6CJP4KDE.js} +3 -3
  18. package/dist/{chunk-W2ZTYIRJ.js → chunk-AY6XGM2V.js} +1 -1
  19. package/dist/{chunk-LMXJDGUG.js → chunk-BY5NKQMC.js} +1 -1
  20. package/dist/{chunk-UJHTJTTS.js → chunk-FROHRXK3.js} +3 -3
  21. package/dist/{chunk-N4EHD2WQ.js → chunk-GC32L3BW.js} +1 -1
  22. package/dist/{chunk-SWH2U4BW.js → chunk-HL57BCKA.js} +3 -3
  23. package/dist/{chunk-5G4RB7MC.js → chunk-IMTSYQJ5.js} +1 -1
  24. package/dist/{chunk-VWI4TG6L.js → chunk-MES7PKDS.js} +3 -3
  25. package/dist/{chunk-7ALGFH5X.js → chunk-N22YCAOH.js} +1 -1
  26. package/dist/{chunk-LW26RTGS.js → chunk-O5YZTB5G.js} +1 -1
  27. package/dist/{chunk-W57S56SZ.js → chunk-ODMS5WD2.js} +2 -2
  28. package/dist/{chunk-YIQDKWRI.js → chunk-P576YHXH.js} +2 -2
  29. package/dist/{chunk-XGYRZA24.js → chunk-QWWHPWOT.js} +3 -3
  30. package/dist/{chunk-3NASYKEW.js → chunk-R473IZUI.js} +1 -1
  31. package/dist/{chunk-3NASYKEW.js.map → chunk-R473IZUI.js.map} +1 -1
  32. package/dist/{chunk-VG2Z446J.js → chunk-UGK22Z7U.js} +4 -4
  33. package/dist/{chunk-S3O3RCWN.js → chunk-UL4MJNFE.js} +1 -1
  34. package/dist/{chunk-3I5AJWST.js → chunk-UV4CROSJ.js} +1 -1
  35. package/dist/{chunk-SY5A3V3Q.js → chunk-WFZABDD5.js} +1 -1
  36. package/dist/{chunk-DEZYDCUH.js → chunk-WGO4I32J.js} +1 -1
  37. package/dist/{chunk-FINT4Z7B.js → chunk-XRJ6MMNI.js} +2 -2
  38. package/dist/{chunk-TNCM6TNK.js → chunk-XRYS53BQ.js} +3 -3
  39. package/dist/{chunk-I5XULU7R.js → chunk-YQZ36RXO.js} +3 -3
  40. package/dist/{cli-R6FWX47L.js → cli-EMF2LNWT.js} +90 -90
  41. package/dist/commands-H755ZYPB.js +55 -0
  42. package/dist/{config-UOF22R5A.js → config-QWOKTE4Z.js} +4 -4
  43. package/dist/{context-2XY2LAUJ.js → context-CR4OHAW3.js} +6 -6
  44. package/dist/{conversationPersistence-PWSEH5D2.js → conversationPersistence-2ZTLQGE5.js} +3 -3
  45. package/dist/{conversationTracker-R3PKN554.js → conversationTracker-DTMFBXF2.js} +4 -4
  46. package/dist/{customCommands-KRYZL5FH.js → customCommands-X2WOVBVA.js} +4 -4
  47. package/dist/{env-NFA6MDCD.js → env-LL3E6GKF.js} +2 -2
  48. package/dist/{file-B7O6H4QE.js → file-A757K2PX.js} +4 -4
  49. package/dist/index.js +3 -3
  50. package/dist/{llm-SPIGEJ2Z.js → llm-UC6Z6IP4.js} +31 -31
  51. package/dist/{llmLazy-GPAEOXPV.js → llmLazy-EG3IM7LV.js} +1 -1
  52. package/dist/{loader-32QKHUOK.js → loader-6I2QGDJO.js} +4 -4
  53. package/dist/{lsp-VMFAYCLW.js → lsp-UZCTF63W.js} +6 -6
  54. package/dist/{lspAnchor-MLXUGBLJ.js → lspAnchor-FPVASO3V.js} +6 -6
  55. package/dist/{mcp-PLCRLS5A.js → mcp-WQJDBKMI.js} +7 -7
  56. package/dist/{mentionProcessor-DFTGT52F.js → mentionProcessor-ENFGCIDA.js} +5 -5
  57. package/dist/{messages-TKAHXVGJ.js → messages-OY5FPDQM.js} +1 -1
  58. package/dist/{model-EWO655R3.js → model-TNO4KLC5.js} +5 -5
  59. package/dist/{openai-DM5CXIXZ.js → openai-CMZMQBHT.js} +5 -5
  60. package/dist/{outputStyles-XJXX5ZXG.js → outputStyles-JGXWSFHW.js} +4 -4
  61. package/dist/{pluginRuntime-WVEONLK3.js → pluginRuntime-G3GOMV5D.js} +6 -6
  62. package/dist/{pluginValidation-AQWVJ7FK.js → pluginValidation-H6YPRL33.js} +6 -6
  63. package/dist/prompts-DOBVYFHP.js +57 -0
  64. package/dist/{pybAgentSessionLoad-4PHU7OTN.js → pybAgentSessionLoad-CKBQWEHL.js} +4 -4
  65. package/dist/{pybAgentSessionResume-CS3E6FIE.js → pybAgentSessionResume-5JHOPPQ4.js} +4 -4
  66. package/dist/{pybAgentStreamJsonSession-PYZMFK7D.js → pybAgentStreamJsonSession-KWVXQUVD.js} +1 -1
  67. package/dist/{pybHooks-JPX6L4HI.js → pybHooks-GGKEH2FR.js} +4 -4
  68. package/dist/query-B5JGYOT4.js +55 -0
  69. package/dist/{registry-MBEH554P.js → registry-GQQQTCFQ.js} +5 -5
  70. package/dist/{ripgrep-XKTM64PS.js → ripgrep-AVZW7VVL.js} +3 -3
  71. package/dist/{skillMarketplace-APD57VBX.js → skillMarketplace-D2A5XXKV.js} +3 -3
  72. package/dist/{state-2QEHOVTA.js → state-RTSSAAIG.js} +2 -2
  73. package/dist/{theme-NGDPNTUX.js → theme-V4OGMWPI.js} +5 -5
  74. package/dist/{toolPermissionSettings-RLNPVOBI.js → toolPermissionSettings-6VJOURZH.js} +6 -6
  75. package/dist/tools-P4FXYKF4.js +55 -0
  76. package/dist/{userInput-6ASB72OS.js → userInput-EMH7S76R.js} +32 -32
  77. package/package.json +1 -1
  78. package/dist/REPL-B5KZD7G5.js +0 -51
  79. package/dist/commands-5BUFNWGW.js +0 -55
  80. package/dist/prompts-MYXXJHIA.js +0 -57
  81. package/dist/query-TFHNPQ35.js +0 -55
  82. package/dist/tools-U345EBHA.js +0 -55
  83. /package/dist/{REPL-B5KZD7G5.js.map → REPL-DB574DFH.js.map} +0 -0
  84. /package/dist/{acp-TVN3WHDY.js.map → acp-LVHAM3WT.js.map} +0 -0
  85. /package/dist/{agentsValidate-GHHBQ2V3.js.map → agentsValidate-BIL7UNX5.js.map} +0 -0
  86. /package/dist/{ask-Q2KBAHNA.js.map → ask-QYJE6B5E.js.map} +0 -0
  87. /package/dist/{autoUpdater-65UHQALF.js.map → autoUpdater-LAJDPNSA.js.map} +0 -0
  88. /package/dist/{chunk-EQBLVRTX.js.map → chunk-2QGZFE6O.js.map} +0 -0
  89. /package/dist/{chunk-6JEIJLDL.js.map → chunk-2TSFRYBQ.js.map} +0 -0
  90. /package/dist/{chunk-FPJL5RXB.js.map → chunk-3CEAIULU.js.map} +0 -0
  91. /package/dist/{chunk-2VA64CKU.js.map → chunk-3PDQTTHC.js.map} +0 -0
  92. /package/dist/{chunk-S2TCT35Y.js.map → chunk-4WBXCBNQ.js.map} +0 -0
  93. /package/dist/{chunk-ZKDULVN5.js.map → chunk-5HEO7RAF.js.map} +0 -0
  94. /package/dist/{chunk-2ONDOJ32.js.map → chunk-64D4RTUL.js.map} +0 -0
  95. /package/dist/{chunk-NVENXGF7.js.map → chunk-6CJP4KDE.js.map} +0 -0
  96. /package/dist/{chunk-W2ZTYIRJ.js.map → chunk-AY6XGM2V.js.map} +0 -0
  97. /package/dist/{chunk-LMXJDGUG.js.map → chunk-BY5NKQMC.js.map} +0 -0
  98. /package/dist/{chunk-UJHTJTTS.js.map → chunk-FROHRXK3.js.map} +0 -0
  99. /package/dist/{chunk-N4EHD2WQ.js.map → chunk-GC32L3BW.js.map} +0 -0
  100. /package/dist/{chunk-SWH2U4BW.js.map → chunk-HL57BCKA.js.map} +0 -0
  101. /package/dist/{chunk-5G4RB7MC.js.map → chunk-IMTSYQJ5.js.map} +0 -0
  102. /package/dist/{chunk-VWI4TG6L.js.map → chunk-MES7PKDS.js.map} +0 -0
  103. /package/dist/{chunk-7ALGFH5X.js.map → chunk-N22YCAOH.js.map} +0 -0
  104. /package/dist/{chunk-LW26RTGS.js.map → chunk-O5YZTB5G.js.map} +0 -0
  105. /package/dist/{chunk-W57S56SZ.js.map → chunk-ODMS5WD2.js.map} +0 -0
  106. /package/dist/{chunk-YIQDKWRI.js.map → chunk-P576YHXH.js.map} +0 -0
  107. /package/dist/{chunk-XGYRZA24.js.map → chunk-QWWHPWOT.js.map} +0 -0
  108. /package/dist/{chunk-VG2Z446J.js.map → chunk-UGK22Z7U.js.map} +0 -0
  109. /package/dist/{chunk-S3O3RCWN.js.map → chunk-UL4MJNFE.js.map} +0 -0
  110. /package/dist/{chunk-3I5AJWST.js.map → chunk-UV4CROSJ.js.map} +0 -0
  111. /package/dist/{chunk-SY5A3V3Q.js.map → chunk-WFZABDD5.js.map} +0 -0
  112. /package/dist/{chunk-DEZYDCUH.js.map → chunk-WGO4I32J.js.map} +0 -0
  113. /package/dist/{chunk-FINT4Z7B.js.map → chunk-XRJ6MMNI.js.map} +0 -0
  114. /package/dist/{chunk-TNCM6TNK.js.map → chunk-XRYS53BQ.js.map} +0 -0
  115. /package/dist/{chunk-I5XULU7R.js.map → chunk-YQZ36RXO.js.map} +0 -0
  116. /package/dist/{cli-R6FWX47L.js.map → cli-EMF2LNWT.js.map} +0 -0
  117. /package/dist/{commands-5BUFNWGW.js.map → commands-H755ZYPB.js.map} +0 -0
  118. /package/dist/{config-UOF22R5A.js.map → config-QWOKTE4Z.js.map} +0 -0
  119. /package/dist/{context-2XY2LAUJ.js.map → context-CR4OHAW3.js.map} +0 -0
  120. /package/dist/{conversationPersistence-PWSEH5D2.js.map → conversationPersistence-2ZTLQGE5.js.map} +0 -0
  121. /package/dist/{conversationTracker-R3PKN554.js.map → conversationTracker-DTMFBXF2.js.map} +0 -0
  122. /package/dist/{customCommands-KRYZL5FH.js.map → customCommands-X2WOVBVA.js.map} +0 -0
  123. /package/dist/{env-NFA6MDCD.js.map → env-LL3E6GKF.js.map} +0 -0
  124. /package/dist/{file-B7O6H4QE.js.map → file-A757K2PX.js.map} +0 -0
  125. /package/dist/{llm-SPIGEJ2Z.js.map → llm-UC6Z6IP4.js.map} +0 -0
  126. /package/dist/{llmLazy-GPAEOXPV.js.map → llmLazy-EG3IM7LV.js.map} +0 -0
  127. /package/dist/{loader-32QKHUOK.js.map → loader-6I2QGDJO.js.map} +0 -0
  128. /package/dist/{lsp-VMFAYCLW.js.map → lsp-UZCTF63W.js.map} +0 -0
  129. /package/dist/{lspAnchor-MLXUGBLJ.js.map → lspAnchor-FPVASO3V.js.map} +0 -0
  130. /package/dist/{mcp-PLCRLS5A.js.map → mcp-WQJDBKMI.js.map} +0 -0
  131. /package/dist/{mentionProcessor-DFTGT52F.js.map → mentionProcessor-ENFGCIDA.js.map} +0 -0
  132. /package/dist/{messages-TKAHXVGJ.js.map → messages-OY5FPDQM.js.map} +0 -0
  133. /package/dist/{model-EWO655R3.js.map → model-TNO4KLC5.js.map} +0 -0
  134. /package/dist/{openai-DM5CXIXZ.js.map → openai-CMZMQBHT.js.map} +0 -0
  135. /package/dist/{outputStyles-XJXX5ZXG.js.map → outputStyles-JGXWSFHW.js.map} +0 -0
  136. /package/dist/{pluginRuntime-WVEONLK3.js.map → pluginRuntime-G3GOMV5D.js.map} +0 -0
  137. /package/dist/{pluginValidation-AQWVJ7FK.js.map → pluginValidation-H6YPRL33.js.map} +0 -0
  138. /package/dist/{prompts-MYXXJHIA.js.map → prompts-DOBVYFHP.js.map} +0 -0
  139. /package/dist/{pybAgentSessionLoad-4PHU7OTN.js.map → pybAgentSessionLoad-CKBQWEHL.js.map} +0 -0
  140. /package/dist/{pybAgentSessionResume-CS3E6FIE.js.map → pybAgentSessionResume-5JHOPPQ4.js.map} +0 -0
  141. /package/dist/{pybAgentStreamJsonSession-PYZMFK7D.js.map → pybAgentStreamJsonSession-KWVXQUVD.js.map} +0 -0
  142. /package/dist/{pybHooks-JPX6L4HI.js.map → pybHooks-GGKEH2FR.js.map} +0 -0
  143. /package/dist/{query-TFHNPQ35.js.map → query-B5JGYOT4.js.map} +0 -0
  144. /package/dist/{registry-MBEH554P.js.map → registry-GQQQTCFQ.js.map} +0 -0
  145. /package/dist/{ripgrep-XKTM64PS.js.map → ripgrep-AVZW7VVL.js.map} +0 -0
  146. /package/dist/{skillMarketplace-APD57VBX.js.map → skillMarketplace-D2A5XXKV.js.map} +0 -0
  147. /package/dist/{state-2QEHOVTA.js.map → state-RTSSAAIG.js.map} +0 -0
  148. /package/dist/{theme-NGDPNTUX.js.map → theme-V4OGMWPI.js.map} +0 -0
  149. /package/dist/{toolPermissionSettings-RLNPVOBI.js.map → toolPermissionSettings-6VJOURZH.js.map} +0 -0
  150. /package/dist/{tools-U345EBHA.js.map → tools-P4FXYKF4.js.map} +0 -0
  151. /package/dist/{userInput-6ASB72OS.js.map → userInput-EMH7S76R.js.map} +0 -0
@@ -2,17 +2,17 @@ import { createRequire as __pybCreateRequire } from "node:module";
2
2
  const require = __pybCreateRequire(import.meta.url);
3
3
  import {
4
4
  loadPybAgentSessionMessages
5
- } from "./chunk-N4EHD2WQ.js";
5
+ } from "./chunk-GC32L3BW.js";
6
6
  import {
7
7
  appendSessionCustomTitleRecord,
8
8
  appendSessionJsonlFromMessage,
9
9
  appendSessionTagRecord,
10
10
  listPybAgentSessions
11
- } from "./chunk-TNCM6TNK.js";
11
+ } from "./chunk-XRYS53BQ.js";
12
12
  import {
13
13
  formatValidationResult,
14
14
  validatePluginOrMarketplacePath
15
- } from "./chunk-UJHTJTTS.js";
15
+ } from "./chunk-FROHRXK3.js";
16
16
  import {
17
17
  ConversationTracker,
18
18
  appendFinishState,
@@ -20,10 +20,10 @@ import {
20
20
  getConversationTrackerForContext,
21
21
  isFinishComplete,
22
22
  mapFinishReason
23
- } from "./chunk-S3O3RCWN.js";
23
+ } from "./chunk-UL4MJNFE.js";
24
24
  import {
25
25
  FileSystemConversationPersistence
26
- } from "./chunk-3I5AJWST.js";
26
+ } from "./chunk-UV4CROSJ.js";
27
27
  import {
28
28
  beginReplSessionScope
29
29
  } from "./chunk-F4AXICO7.js";
@@ -38,7 +38,7 @@ import {
38
38
  runStopHooks,
39
39
  runUserPromptSubmitHooks,
40
40
  updateHookTranscriptForMessages
41
- } from "./chunk-NVENXGF7.js";
41
+ } from "./chunk-6CJP4KDE.js";
42
42
  import {
43
43
  DEFAULT_OUTPUT_STYLE,
44
44
  getAvailableOutputStyles,
@@ -47,11 +47,11 @@ import {
47
47
  getOutputStyleSystemPromptAdditions,
48
48
  resolveOutputStyleName,
49
49
  setCurrentOutputStyle
50
- } from "./chunk-EQBLVRTX.js";
50
+ } from "./chunk-2QGZFE6O.js";
51
51
  import {
52
52
  fetchCustomModels,
53
53
  getModelFeatures
54
- } from "./chunk-YIQDKWRI.js";
54
+ } from "./chunk-P576YHXH.js";
55
55
  import {
56
56
  getCurrentSessionId,
57
57
  getSessionState
@@ -60,7 +60,7 @@ import {
60
60
  queryLLM,
61
61
  queryQuick,
62
62
  verifyApiKey
63
- } from "./chunk-VG2Z446J.js";
63
+ } from "./chunk-UGK22Z7U.js";
64
64
  import {
65
65
  DEFAULT_TIMEOUT_MS,
66
66
  FallbackToolUseRejectedMessage,
@@ -75,7 +75,7 @@ import {
75
75
  listMCPServers,
76
76
  loadMergedSettings,
77
77
  normalizeSandboxRuntimeConfigFromSettings
78
- } from "./chunk-HMZHP623.js";
78
+ } from "./chunk-2XIK7WIG.js";
79
79
  import {
80
80
  addMarketplace,
81
81
  disableSkillPlugin,
@@ -88,11 +88,11 @@ import {
88
88
  refreshMarketplaceAsync,
89
89
  removeMarketplace,
90
90
  uninstallSkillPlugin
91
- } from "./chunk-W2ZTYIRJ.js";
91
+ } from "./chunk-AY6XGM2V.js";
92
92
  import {
93
93
  loadToolPermissionContextFromDisk,
94
94
  persistToolPermissionUpdateToDisk
95
- } from "./chunk-I5XULU7R.js";
95
+ } from "./chunk-YQZ36RXO.js";
96
96
  import {
97
97
  applyToolPermissionContextUpdate,
98
98
  applyToolPermissionContextUpdates,
@@ -103,14 +103,14 @@ import {
103
103
  generateSystemReminders,
104
104
  resetReminderSession,
105
105
  systemReminderService
106
- } from "./chunk-FINT4Z7B.js";
106
+ } from "./chunk-XRJ6MMNI.js";
107
107
  import {
108
108
  clearAgentCache,
109
109
  getActiveAgents,
110
110
  getAgentByType,
111
111
  getAllAgents,
112
112
  getAvailableAgentTypes
113
- } from "./chunk-2ONDOJ32.js";
113
+ } from "./chunk-64D4RTUL.js";
114
114
  import {
115
115
  API_ERROR_MESSAGE_PREFIX,
116
116
  CANCEL_MESSAGE,
@@ -147,7 +147,7 @@ import {
147
147
  reorderMessages,
148
148
  resetAutoCompactTelemetry,
149
149
  stripSystemMessages
150
- } from "./chunk-DEZYDCUH.js";
150
+ } from "./chunk-WGO4I32J.js";
151
151
  import {
152
152
  getRequestStatus,
153
153
  setRequestStatus,
@@ -179,7 +179,7 @@ import {
179
179
  normalizeFilePath,
180
180
  readTextContent,
181
181
  writeTextContent
182
- } from "./chunk-S2TCT35Y.js";
182
+ } from "./chunk-4WBXCBNQ.js";
183
183
  import {
184
184
  parseBlockEdits
185
185
  } from "./chunk-QWIBSCDN.js";
@@ -190,18 +190,18 @@ import {
190
190
  formatDiagnosticsPretty,
191
191
  initParser,
192
192
  loadLanguage
193
- } from "./chunk-6JEIJLDL.js";
193
+ } from "./chunk-2TSFRYBQ.js";
194
194
  import {
195
195
  getSettingsFileCandidates,
196
196
  loadSettingsWithLegacyFallback,
197
197
  readSettingsFile
198
- } from "./chunk-ZKDULVN5.js";
198
+ } from "./chunk-5HEO7RAF.js";
199
199
  import {
200
200
  getCustomCommandDirectories,
201
201
  hasCustomCommands,
202
202
  loadCustomCommands,
203
203
  reloadCustomCommands
204
- } from "./chunk-W57S56SZ.js";
204
+ } from "./chunk-ODMS5WD2.js";
205
205
  import {
206
206
  getSessionPlugins
207
207
  } from "./chunk-BJSWTHRM.js";
@@ -210,7 +210,7 @@ import {
210
210
  buildModelProfileKey,
211
211
  getModelManager,
212
212
  isDefaultSlowAndCapableModel
213
- } from "./chunk-VWI4TG6L.js";
213
+ } from "./chunk-MES7PKDS.js";
214
214
  import {
215
215
  getCodeStyle,
216
216
  getContext,
@@ -218,16 +218,16 @@ import {
218
218
  getIsGit,
219
219
  getProjectDocs,
220
220
  getProjectStructureStatisticsBlock
221
- } from "./chunk-FPJL5RXB.js";
221
+ } from "./chunk-3CEAIULU.js";
222
222
  import {
223
223
  getRipgrepPath,
224
224
  getRipgrepPolicyMode,
225
225
  resolveRipgrepPolicy,
226
226
  ripGrep
227
- } from "./chunk-LMXJDGUG.js";
227
+ } from "./chunk-BY5NKQMC.js";
228
228
  import {
229
229
  getTheme
230
- } from "./chunk-LW26RTGS.js";
230
+ } from "./chunk-O5YZTB5G.js";
231
231
  import {
232
232
  DEFAULT_GLOBAL_CONFIG,
233
233
  enableConfigs,
@@ -240,7 +240,7 @@ import {
240
240
  saveGlobalConfig,
241
241
  setAllPointersToModel,
242
242
  setModelPointer
243
- } from "./chunk-2VA64CKU.js";
243
+ } from "./chunk-3PDQTTHC.js";
244
244
  import {
245
245
  AbortError
246
246
  } from "./chunk-RQVLBMP7.js";
@@ -249,7 +249,7 @@ import {
249
249
  getCurrentRequest,
250
250
  logUserFriendly,
251
251
  markPhase
252
- } from "./chunk-7ALGFH5X.js";
252
+ } from "./chunk-N22YCAOH.js";
253
253
  import {
254
254
  ASCII_LOGO,
255
255
  BunShell,
@@ -293,10 +293,10 @@ import {
293
293
  setCwd,
294
294
  shouldApplyToolOutputTruncation,
295
295
  truncateToolOutput
296
- } from "./chunk-SY5A3V3Q.js";
296
+ } from "./chunk-WFZABDD5.js";
297
297
  import {
298
298
  MACRO
299
- } from "./chunk-3NASYKEW.js";
299
+ } from "./chunk-R473IZUI.js";
300
300
  import {
301
301
  __export
302
302
  } from "./chunk-I3J4JYES.js";
@@ -477,7 +477,7 @@ var getCommandSubcommandPrefix = memoize(
477
477
  var getCommandPrefix = memoize(
478
478
  async (command4, abortSignal) => {
479
479
  const { systemPrompt, userPrompt } = buildBashCommandPrefixDetectionPrompt(command4);
480
- const { API_ERROR_MESSAGE_PREFIX: API_ERROR_MESSAGE_PREFIX2, queryQuick: queryQuick2 } = await import("./llm-SPIGEJ2Z.js");
480
+ const { API_ERROR_MESSAGE_PREFIX: API_ERROR_MESSAGE_PREFIX2, queryQuick: queryQuick2 } = await import("./llm-UC6Z6IP4.js");
481
481
  const response = await queryQuick2({
482
482
  systemPrompt,
483
483
  userPrompt,
@@ -4279,7 +4279,7 @@ function formatParseError(error) {
4279
4279
  return error instanceof Error ? error.message : String(error);
4280
4280
  }
4281
4281
  async function defaultGateQuery(args) {
4282
- const { API_ERROR_MESSAGE_PREFIX: API_ERROR_MESSAGE_PREFIX2, queryLLM: queryLLM2 } = await import("./llm-SPIGEJ2Z.js");
4282
+ const { API_ERROR_MESSAGE_PREFIX: API_ERROR_MESSAGE_PREFIX2, queryLLM: queryLLM2 } = await import("./llm-UC6Z6IP4.js");
4283
4283
  const queryLLMFn = args.queryLLMOverride ?? queryLLM2;
4284
4284
  const messages = [
4285
4285
  {
@@ -6672,7 +6672,7 @@ var FileEditTool = {
6672
6672
  const originalFileContent = currentFileContent;
6673
6673
  let totalPatch = [];
6674
6674
  const { SmartEdit } = await import("./smart-edit-AWHJDSU6.js");
6675
- const { findLspAnchor } = await import("./lspAnchor-MLXUGBLJ.js");
6675
+ const { findLspAnchor } = await import("./lspAnchor-FPVASO3V.js");
6676
6676
  for (const op of editOperations) {
6677
6677
  const normalizedSearch = normalizeLineEndings(op.search);
6678
6678
  const normalizedReplace = normalizeLineEndings(op.replace);
@@ -12473,7 +12473,7 @@ async function createAndStoreApiKey(accessToken) {
12473
12473
  }
12474
12474
  saveGlobalConfig(config2);
12475
12475
  try {
12476
- const { resetAnthropicClient } = await import("./llm-SPIGEJ2Z.js");
12476
+ const { resetAnthropicClient } = await import("./llm-UC6Z6IP4.js");
12477
12477
  resetAnthropicClient();
12478
12478
  } catch {
12479
12479
  }
@@ -16897,7 +16897,7 @@ async function refreshPluginRuntimeFromInstalls() {
16897
16897
  const existingRoots = getSessionPlugins().map((p) => p.rootDir);
16898
16898
  const dirs = Array.from(/* @__PURE__ */ new Set([...existingRoots, ...installedRoots]));
16899
16899
  if (dirs.length === 0) return [];
16900
- const { configureSessionPlugins } = await import("./pluginRuntime-WVEONLK3.js");
16900
+ const { configureSessionPlugins } = await import("./pluginRuntime-G3GOMV5D.js");
16901
16901
  const { errors } = await configureSessionPlugins({ pluginDirs: dirs });
16902
16902
  return errors;
16903
16903
  }
@@ -17572,7 +17572,7 @@ async function call(onDone, context) {
17572
17572
  ModelConfig,
17573
17573
  {
17574
17574
  onClose: () => {
17575
- import("./model-EWO655R3.js").then(({ reloadModelManager: reloadModelManager2 }) => {
17575
+ import("./model-TNO4KLC5.js").then(({ reloadModelManager: reloadModelManager2 }) => {
17576
17576
  reloadModelManager2();
17577
17577
  triggerModelConfigChange();
17578
17578
  onDone();
@@ -21114,7 +21114,7 @@ function buildAutoCompactAggregationFields(params) {
21114
21114
  }
21115
21115
 
21116
21116
  // src/utils/session/compactionBudget.ts
21117
- var DEFAULT_TOTAL_BUDGET_TOKENS = 12e3;
21117
+ var DEFAULT_TOTAL_BUDGET_TOKENS = 35e3;
21118
21118
  var DEFAULT_SUMMARY_RATIO = 0.45;
21119
21119
  var DEFAULT_CONVERSATION_RATIO = 0.2;
21120
21120
  var DEFAULT_RECOVERED_RATIO = 0.35;
@@ -24749,8 +24749,14 @@ function createErrorToolResultBlock(args) {
24749
24749
  }
24750
24750
 
24751
24751
  // src/app/queryRuntime/toolExecution.ts
24752
- var DEFAULT_TOOL_TIMEOUT_MS = 45e3;
24753
- function resolveToolTimeoutMs() {
24752
+ var DEFAULT_TOOL_TIMEOUT_MS = 18e4;
24753
+ var TOOL_TIMEOUT_EXCLUDE_TOOLS = /* @__PURE__ */ new Set([
24754
+ "Task"
24755
+ ]);
24756
+ function resolveToolTimeoutMs(toolName) {
24757
+ if (toolName && TOOL_TIMEOUT_EXCLUDE_TOOLS.has(toolName)) {
24758
+ return null;
24759
+ }
24754
24760
  const raw = Number(process.env.PYB_TOOL_TIMEOUT_MS ?? DEFAULT_TOOL_TIMEOUT_MS);
24755
24761
  if (!Number.isFinite(raw) || raw <= 0) {
24756
24762
  return DEFAULT_TOOL_TIMEOUT_MS;
@@ -24779,6 +24785,17 @@ async function consumeGeneratorWithTimeout(generator, timeoutMs, toolName) {
24779
24785
  }
24780
24786
  return results;
24781
24787
  }
24788
+ async function consumeGeneratorWithoutTimeout(generator) {
24789
+ const results = [];
24790
+ while (true) {
24791
+ const nextResult = await generator.next();
24792
+ if (nextResult.done) {
24793
+ break;
24794
+ }
24795
+ results.push(nextResult.value);
24796
+ }
24797
+ return results;
24798
+ }
24782
24799
  function buildToolHookBaseArgs(context, toolUseId) {
24783
24800
  return {
24784
24801
  retryEntryKey: buildRetryEntryKey([
@@ -25106,8 +25123,12 @@ async function* checkPermissionsAndCallTool(args) {
25106
25123
  ...args.context,
25107
25124
  toolUseId: args.toolUseID
25108
25125
  });
25109
- const timeoutMs = resolveToolTimeoutMs();
25110
- const results = await consumeGeneratorWithTimeout(generator, timeoutMs, args.tool.name);
25126
+ const timeoutMs = resolveToolTimeoutMs(args.tool.name);
25127
+ const results = timeoutMs === null ? await consumeGeneratorWithoutTimeout(generator) : await consumeGeneratorWithTimeout(
25128
+ generator,
25129
+ timeoutMs,
25130
+ args.tool.name
25131
+ );
25111
25132
  for (const result of results) {
25112
25133
  switch (result.type) {
25113
25134
  case "result": {
@@ -27594,7 +27615,7 @@ async function analyzeOutputWithLsp(output, exitCode) {
27594
27615
  if (exitCode !== 0 || errorCount > 0 || warningCount > 0) {
27595
27616
  try {
27596
27617
  const { isAbsolute: isAbsolute11, resolve: resolve16 } = await import("path");
27597
- const { getSessionRoot: getSessionRoot2 } = await import("./state-2QEHOVTA.js");
27618
+ const { getSessionRoot: getSessionRoot2 } = await import("./state-RTSSAAIG.js");
27598
27619
  const lines = output.split("\n");
27599
27620
  const uniqueFiles = /* @__PURE__ */ new Set();
27600
27621
  const lspSuggestions = [];
@@ -27964,7 +27985,7 @@ var DeleteTool = {
27964
27985
  }
27965
27986
  if (!force) {
27966
27987
  try {
27967
- const { LspFacade: LspFacade2 } = await import("./lsp-VMFAYCLW.js");
27988
+ const { LspFacade: LspFacade2 } = await import("./lsp-UZCTF63W.js");
27968
27989
  const referenceDetail = await LspFacade2.checkFileReferences(fullPath);
27969
27990
  if (referenceDetail) {
27970
27991
  failedItems.push(
@@ -38366,7 +38387,7 @@ function useStatusLine() {
38366
38387
  // src/ui/components/PromptInput.tsx
38367
38388
  async function interpretHashCommand(input) {
38368
38389
  try {
38369
- const { queryQuick: queryQuick2 } = await import("./llm-SPIGEJ2Z.js");
38390
+ const { queryQuick: queryQuick2 } = await import("./llm-UC6Z6IP4.js");
38370
38391
  const systemPrompt = [
38371
38392
  "You're helping the user structure notes that will be added to their PYB.md file.",
38372
38393
  "Format the user's input into a well-structured note that will be useful for later reference.",
@@ -38679,7 +38700,7 @@ function PromptInput({
38679
38700
  if (messages2.length) {
38680
38701
  if (mode === "bash") {
38681
38702
  onQuery(messages2, newAbortController).then(async () => {
38682
- const { getCwd: getCwd2 } = await import("./state-2QEHOVTA.js");
38703
+ const { getCwd: getCwd2 } = await import("./state-RTSSAAIG.js");
38683
38704
  setCurrentPwd(getCwd2());
38684
38705
  });
38685
38706
  } else {
@@ -40309,7 +40330,7 @@ import { homedir as homedir8 } from "os";
40309
40330
  // src/commands/agents/generation.ts
40310
40331
  import { randomUUID as randomUUID9 } from "crypto";
40311
40332
  async function generateAgentWithClaude(prompt) {
40312
- const { queryModel } = await import("./llm-SPIGEJ2Z.js");
40333
+ const { queryModel } = await import("./llm-UC6Z6IP4.js");
40313
40334
  const systemPrompt = `You are an expert at creating AI agent configurations. Based on the user's description, generate a specialized agent configuration.
40314
40335
 
40315
40336
  Return your response as a JSON object with exactly these fields: