pybao-cli 1.4.84 → 1.4.86

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 (149) hide show
  1. package/dist/REPL-AYCFBDLU.js +49 -0
  2. package/dist/{acp-KR2NIRMP.js → acp-UVP7PN5S.js} +30 -30
  3. package/dist/{agentsValidate-RP4UMGNT.js → agentsValidate-FL54WGFH.js} +7 -7
  4. package/dist/{ask-AV47M7DZ.js → ask-PBWLOQ7J.js} +29 -29
  5. package/dist/{autoUpdater-KY6NLGJN.js → autoUpdater-O5RPYHU3.js} +3 -3
  6. package/dist/{chunk-TTMZXWQN.js → chunk-2O3X5IWT.js} +1 -1
  7. package/dist/{chunk-CAPAA2BC.js → chunk-3B4CPOCL.js} +3 -3
  8. package/dist/{chunk-5Z5ZS7IB.js → chunk-3JIUIDM2.js} +1 -1
  9. package/dist/{chunk-RIKQVWEQ.js → chunk-7UFU3WAO.js} +2 -2
  10. package/dist/{chunk-4K65XDFQ.js → chunk-CLFHJB6G.js} +2 -2
  11. package/dist/{chunk-3JI37ZA6.js → chunk-DFM5XVNM.js} +2 -2
  12. package/dist/{chunk-X36JZMFM.js → chunk-GSPJ4GS3.js} +3 -3
  13. package/dist/{chunk-SELNEWOV.js → chunk-INUAHGET.js} +1 -1
  14. package/dist/{chunk-4T65Y47N.js → chunk-LZV5TCLM.js} +1 -1
  15. package/dist/{chunk-QUQAVKTY.js → chunk-MDLJYUB5.js} +3 -3
  16. package/dist/{chunk-2OQK4SGM.js → chunk-N775QA2Y.js} +1 -1
  17. package/dist/{chunk-APXMGUKA.js → chunk-NPA5AQ7K.js} +1 -1
  18. package/dist/{chunk-BKU7DKGB.js → chunk-NZCROE5X.js} +1 -1
  19. package/dist/{chunk-5LRFEGFP.js → chunk-OOLRCWS2.js} +4 -4
  20. package/dist/{chunk-ZTGVZNCE.js → chunk-OXIP2DAD.js} +56 -80
  21. package/dist/{chunk-ZTGVZNCE.js.map → chunk-OXIP2DAD.js.map} +3 -3
  22. package/dist/{chunk-KXHMHPXD.js → chunk-PCMN5JB2.js} +3 -3
  23. package/dist/{chunk-LLNPRFDC.js → chunk-PRBRDV6D.js} +1 -1
  24. package/dist/{chunk-LLNPRFDC.js.map → chunk-PRBRDV6D.js.map} +1 -1
  25. package/dist/{chunk-UZE4M5OS.js → chunk-QIA3YTRM.js} +3 -3
  26. package/dist/{chunk-KELCOTIO.js → chunk-R35KKDQG.js} +2 -2
  27. package/dist/{chunk-ZPTG6OYN.js → chunk-SU3DRMCQ.js} +1 -1
  28. package/dist/{chunk-5EJDTTBL.js → chunk-T2A6HHRX.js} +2 -2
  29. package/dist/{chunk-2Y6RSLIK.js → chunk-TOHWB6HI.js} +2 -2
  30. package/dist/{chunk-UTQQ6WYY.js → chunk-TUQG5JPN.js} +16 -16
  31. package/dist/{chunk-RTLO6X7T.js → chunk-VLQEJHWT.js} +3 -3
  32. package/dist/{chunk-QTPKDLLB.js → chunk-VP2IDQGT.js} +3 -3
  33. package/dist/{chunk-NIIT2UQA.js → chunk-WZZJVQME.js} +1 -1
  34. package/dist/{chunk-HS5IAPED.js → chunk-X472W3BH.js} +2 -2
  35. package/dist/{chunk-6IXLNIBX.js → chunk-XBM24YJM.js} +4 -4
  36. package/dist/{chunk-X2MOC5KR.js → chunk-XYYAVY4Z.js} +4 -4
  37. package/dist/{chunk-SRT3X6FV.js → chunk-Z3VN6WKQ.js} +4 -4
  38. package/dist/{chunk-UKCYPF74.js → chunk-ZXIIV7IC.js} +1 -1
  39. package/dist/{cli-FHJDO3QF.js → cli-5H6SVIF4.js} +89 -89
  40. package/dist/commands-ZAPC4C6T.js +53 -0
  41. package/dist/{config-2K52USGJ.js → config-ZQSF7J7M.js} +4 -4
  42. package/dist/{context-3BRWJN5E.js → context-Q6WNUXMJ.js} +6 -6
  43. package/dist/{conversationTracker-QH5XBLEU.js → conversationTracker-D6IBZAR6.js} +3 -3
  44. package/dist/{customCommands-3PVMTJKU.js → customCommands-IPGNOQKK.js} +4 -4
  45. package/dist/{env-O6FTKEEB.js → env-PR3XNREC.js} +2 -2
  46. package/dist/{file-ULFXIDDG.js → file-BXLHMQLT.js} +4 -4
  47. package/dist/index.js +3 -3
  48. package/dist/{llm-WAAV3MBX.js → llm-KXFWT6QU.js} +30 -30
  49. package/dist/{llmLazy-6V6GNLLC.js → llmLazy-TD36PKN5.js} +1 -1
  50. package/dist/{loader-JF4VIAR6.js → loader-4PMWRUTH.js} +4 -4
  51. package/dist/{lsp-SANMXODH.js → lsp-LZ2FQAEJ.js} +6 -6
  52. package/dist/{lspAnchor-A3P4LT3X.js → lspAnchor-RI6XI7OY.js} +6 -6
  53. package/dist/{mcp-U2WNWDDG.js → mcp-633QRPZJ.js} +7 -7
  54. package/dist/{mentionProcessor-XZUAAVZX.js → mentionProcessor-SHPTKVDT.js} +5 -5
  55. package/dist/{messages-JUZVZDYN.js → messages-ILCXJTM3.js} +1 -1
  56. package/dist/{model-JCGDL77F.js → model-KSBEHTGQ.js} +5 -5
  57. package/dist/{openai-7OC7CIDJ.js → openai-4F2EBT2N.js} +5 -5
  58. package/dist/{outputStyles-RWFKRQCE.js → outputStyles-SVF7ULKM.js} +4 -4
  59. package/dist/{pluginRuntime-BZ3RM5P7.js → pluginRuntime-SX6EVXLI.js} +6 -6
  60. package/dist/{pluginValidation-6DUVMEIK.js → pluginValidation-66RSOF62.js} +6 -6
  61. package/dist/prompts-QQD7FUBC.js +55 -0
  62. package/dist/{pybAgentSessionLoad-ELD4U4GW.js → pybAgentSessionLoad-XPP25YQJ.js} +4 -4
  63. package/dist/{pybAgentSessionResume-B7MQTZPJ.js → pybAgentSessionResume-3NDIDTLX.js} +4 -4
  64. package/dist/{pybAgentStreamJsonSession-R5S6OEAV.js → pybAgentStreamJsonSession-CBRW7AGT.js} +1 -1
  65. package/dist/{pybHooks-4Y5UPP2F.js → pybHooks-WVV274FH.js} +4 -4
  66. package/dist/query-UQFC6UNG.js +57 -0
  67. package/dist/{registry-TQILT7AJ.js → registry-PL6BRQ65.js} +5 -5
  68. package/dist/{ripgrep-B6OHNO36.js → ripgrep-7XBIKVDR.js} +3 -3
  69. package/dist/{skillMarketplace-M7LOJ7WU.js → skillMarketplace-IRJ73YDQ.js} +3 -3
  70. package/dist/{state-YJAFADHA.js → state-GXNXV4HP.js} +2 -2
  71. package/dist/{theme-W6D4H7FU.js → theme-RUAAOZ7A.js} +5 -5
  72. package/dist/{toolPermissionSettings-IDD5Z57F.js → toolPermissionSettings-65AHPGX3.js} +6 -6
  73. package/dist/tools-233ZNHH7.js +54 -0
  74. package/dist/{userInput-PZGDYW45.js → userInput-FGX36YI6.js} +31 -31
  75. package/package.json +1 -1
  76. package/dist/REPL-YDQJ4XS3.js +0 -49
  77. package/dist/commands-KPY2LIJC.js +0 -53
  78. package/dist/prompts-W5GKJOV4.js +0 -55
  79. package/dist/query-ZA2CGHOR.js +0 -57
  80. package/dist/tools-BPMG4PXB.js +0 -54
  81. /package/dist/{REPL-YDQJ4XS3.js.map → REPL-AYCFBDLU.js.map} +0 -0
  82. /package/dist/{acp-KR2NIRMP.js.map → acp-UVP7PN5S.js.map} +0 -0
  83. /package/dist/{agentsValidate-RP4UMGNT.js.map → agentsValidate-FL54WGFH.js.map} +0 -0
  84. /package/dist/{ask-AV47M7DZ.js.map → ask-PBWLOQ7J.js.map} +0 -0
  85. /package/dist/{autoUpdater-KY6NLGJN.js.map → autoUpdater-O5RPYHU3.js.map} +0 -0
  86. /package/dist/{chunk-TTMZXWQN.js.map → chunk-2O3X5IWT.js.map} +0 -0
  87. /package/dist/{chunk-CAPAA2BC.js.map → chunk-3B4CPOCL.js.map} +0 -0
  88. /package/dist/{chunk-5Z5ZS7IB.js.map → chunk-3JIUIDM2.js.map} +0 -0
  89. /package/dist/{chunk-RIKQVWEQ.js.map → chunk-7UFU3WAO.js.map} +0 -0
  90. /package/dist/{chunk-4K65XDFQ.js.map → chunk-CLFHJB6G.js.map} +0 -0
  91. /package/dist/{chunk-3JI37ZA6.js.map → chunk-DFM5XVNM.js.map} +0 -0
  92. /package/dist/{chunk-X36JZMFM.js.map → chunk-GSPJ4GS3.js.map} +0 -0
  93. /package/dist/{chunk-SELNEWOV.js.map → chunk-INUAHGET.js.map} +0 -0
  94. /package/dist/{chunk-4T65Y47N.js.map → chunk-LZV5TCLM.js.map} +0 -0
  95. /package/dist/{chunk-QUQAVKTY.js.map → chunk-MDLJYUB5.js.map} +0 -0
  96. /package/dist/{chunk-2OQK4SGM.js.map → chunk-N775QA2Y.js.map} +0 -0
  97. /package/dist/{chunk-APXMGUKA.js.map → chunk-NPA5AQ7K.js.map} +0 -0
  98. /package/dist/{chunk-BKU7DKGB.js.map → chunk-NZCROE5X.js.map} +0 -0
  99. /package/dist/{chunk-5LRFEGFP.js.map → chunk-OOLRCWS2.js.map} +0 -0
  100. /package/dist/{chunk-KXHMHPXD.js.map → chunk-PCMN5JB2.js.map} +0 -0
  101. /package/dist/{chunk-UZE4M5OS.js.map → chunk-QIA3YTRM.js.map} +0 -0
  102. /package/dist/{chunk-KELCOTIO.js.map → chunk-R35KKDQG.js.map} +0 -0
  103. /package/dist/{chunk-ZPTG6OYN.js.map → chunk-SU3DRMCQ.js.map} +0 -0
  104. /package/dist/{chunk-5EJDTTBL.js.map → chunk-T2A6HHRX.js.map} +0 -0
  105. /package/dist/{chunk-2Y6RSLIK.js.map → chunk-TOHWB6HI.js.map} +0 -0
  106. /package/dist/{chunk-UTQQ6WYY.js.map → chunk-TUQG5JPN.js.map} +0 -0
  107. /package/dist/{chunk-RTLO6X7T.js.map → chunk-VLQEJHWT.js.map} +0 -0
  108. /package/dist/{chunk-QTPKDLLB.js.map → chunk-VP2IDQGT.js.map} +0 -0
  109. /package/dist/{chunk-NIIT2UQA.js.map → chunk-WZZJVQME.js.map} +0 -0
  110. /package/dist/{chunk-HS5IAPED.js.map → chunk-X472W3BH.js.map} +0 -0
  111. /package/dist/{chunk-6IXLNIBX.js.map → chunk-XBM24YJM.js.map} +0 -0
  112. /package/dist/{chunk-X2MOC5KR.js.map → chunk-XYYAVY4Z.js.map} +0 -0
  113. /package/dist/{chunk-SRT3X6FV.js.map → chunk-Z3VN6WKQ.js.map} +0 -0
  114. /package/dist/{chunk-UKCYPF74.js.map → chunk-ZXIIV7IC.js.map} +0 -0
  115. /package/dist/{cli-FHJDO3QF.js.map → cli-5H6SVIF4.js.map} +0 -0
  116. /package/dist/{commands-KPY2LIJC.js.map → commands-ZAPC4C6T.js.map} +0 -0
  117. /package/dist/{config-2K52USGJ.js.map → config-ZQSF7J7M.js.map} +0 -0
  118. /package/dist/{context-3BRWJN5E.js.map → context-Q6WNUXMJ.js.map} +0 -0
  119. /package/dist/{conversationTracker-QH5XBLEU.js.map → conversationTracker-D6IBZAR6.js.map} +0 -0
  120. /package/dist/{customCommands-3PVMTJKU.js.map → customCommands-IPGNOQKK.js.map} +0 -0
  121. /package/dist/{env-O6FTKEEB.js.map → env-PR3XNREC.js.map} +0 -0
  122. /package/dist/{file-ULFXIDDG.js.map → file-BXLHMQLT.js.map} +0 -0
  123. /package/dist/{llm-WAAV3MBX.js.map → llm-KXFWT6QU.js.map} +0 -0
  124. /package/dist/{llmLazy-6V6GNLLC.js.map → llmLazy-TD36PKN5.js.map} +0 -0
  125. /package/dist/{loader-JF4VIAR6.js.map → loader-4PMWRUTH.js.map} +0 -0
  126. /package/dist/{lsp-SANMXODH.js.map → lsp-LZ2FQAEJ.js.map} +0 -0
  127. /package/dist/{lspAnchor-A3P4LT3X.js.map → lspAnchor-RI6XI7OY.js.map} +0 -0
  128. /package/dist/{mcp-U2WNWDDG.js.map → mcp-633QRPZJ.js.map} +0 -0
  129. /package/dist/{mentionProcessor-XZUAAVZX.js.map → mentionProcessor-SHPTKVDT.js.map} +0 -0
  130. /package/dist/{messages-JUZVZDYN.js.map → messages-ILCXJTM3.js.map} +0 -0
  131. /package/dist/{model-JCGDL77F.js.map → model-KSBEHTGQ.js.map} +0 -0
  132. /package/dist/{openai-7OC7CIDJ.js.map → openai-4F2EBT2N.js.map} +0 -0
  133. /package/dist/{outputStyles-RWFKRQCE.js.map → outputStyles-SVF7ULKM.js.map} +0 -0
  134. /package/dist/{pluginRuntime-BZ3RM5P7.js.map → pluginRuntime-SX6EVXLI.js.map} +0 -0
  135. /package/dist/{pluginValidation-6DUVMEIK.js.map → pluginValidation-66RSOF62.js.map} +0 -0
  136. /package/dist/{prompts-W5GKJOV4.js.map → prompts-QQD7FUBC.js.map} +0 -0
  137. /package/dist/{pybAgentSessionLoad-ELD4U4GW.js.map → pybAgentSessionLoad-XPP25YQJ.js.map} +0 -0
  138. /package/dist/{pybAgentSessionResume-B7MQTZPJ.js.map → pybAgentSessionResume-3NDIDTLX.js.map} +0 -0
  139. /package/dist/{pybAgentStreamJsonSession-R5S6OEAV.js.map → pybAgentStreamJsonSession-CBRW7AGT.js.map} +0 -0
  140. /package/dist/{pybHooks-4Y5UPP2F.js.map → pybHooks-WVV274FH.js.map} +0 -0
  141. /package/dist/{query-ZA2CGHOR.js.map → query-UQFC6UNG.js.map} +0 -0
  142. /package/dist/{registry-TQILT7AJ.js.map → registry-PL6BRQ65.js.map} +0 -0
  143. /package/dist/{ripgrep-B6OHNO36.js.map → ripgrep-7XBIKVDR.js.map} +0 -0
  144. /package/dist/{skillMarketplace-M7LOJ7WU.js.map → skillMarketplace-IRJ73YDQ.js.map} +0 -0
  145. /package/dist/{state-YJAFADHA.js.map → state-GXNXV4HP.js.map} +0 -0
  146. /package/dist/{theme-W6D4H7FU.js.map → theme-RUAAOZ7A.js.map} +0 -0
  147. /package/dist/{toolPermissionSettings-IDD5Z57F.js.map → toolPermissionSettings-65AHPGX3.js.map} +0 -0
  148. /package/dist/{tools-BPMG4PXB.js.map → tools-233ZNHH7.js.map} +0 -0
  149. /package/dist/{userInput-PZGDYW45.js.map → userInput-FGX36YI6.js.map} +0 -0
@@ -2,11 +2,11 @@ import { createRequire as __pybCreateRequire } from "node:module";
2
2
  const require = __pybCreateRequire(import.meta.url);
3
3
  import {
4
4
  listPybAgentSessions
5
- } from "./chunk-SELNEWOV.js";
5
+ } from "./chunk-INUAHGET.js";
6
6
  import {
7
7
  formatValidationResult,
8
8
  validatePluginOrMarketplacePath
9
- } from "./chunk-UZE4M5OS.js";
9
+ } from "./chunk-QIA3YTRM.js";
10
10
  import {
11
11
  ConversationTracker,
12
12
  appendFinishState,
@@ -14,18 +14,18 @@ import {
14
14
  getConversationTrackerForContext,
15
15
  isFinishComplete,
16
16
  mapFinishReason
17
- } from "./chunk-APXMGUKA.js";
17
+ } from "./chunk-NPA5AQ7K.js";
18
18
  import {
19
19
  beginReplSessionScope
20
20
  } from "./chunk-F4AXICO7.js";
21
21
  import {
22
22
  loadPybAgentSessionMessages
23
- } from "./chunk-NIIT2UQA.js";
23
+ } from "./chunk-WZZJVQME.js";
24
24
  import {
25
25
  appendSessionCustomTitleRecord,
26
26
  appendSessionJsonlFromMessage,
27
27
  appendSessionTagRecord
28
- } from "./chunk-4K65XDFQ.js";
28
+ } from "./chunk-CLFHJB6G.js";
29
29
  import {
30
30
  drainHookSystemPromptAdditions,
31
31
  getHookTranscriptPath,
@@ -37,7 +37,7 @@ import {
37
37
  runStopHooks,
38
38
  runUserPromptSubmitHooks,
39
39
  updateHookTranscriptForMessages
40
- } from "./chunk-KXHMHPXD.js";
40
+ } from "./chunk-PCMN5JB2.js";
41
41
  import {
42
42
  DEFAULT_OUTPUT_STYLE,
43
43
  getAvailableOutputStyles,
@@ -46,11 +46,11 @@ import {
46
46
  getOutputStyleSystemPromptAdditions,
47
47
  resolveOutputStyleName,
48
48
  setCurrentOutputStyle
49
- } from "./chunk-3JI37ZA6.js";
49
+ } from "./chunk-DFM5XVNM.js";
50
50
  import {
51
51
  fetchCustomModels,
52
52
  getModelFeatures
53
- } from "./chunk-KELCOTIO.js";
53
+ } from "./chunk-R35KKDQG.js";
54
54
  import {
55
55
  getSessionState
56
56
  } from "./chunk-XKYHFZEC.js";
@@ -58,7 +58,7 @@ import {
58
58
  queryLLM,
59
59
  queryQuick,
60
60
  verifyApiKey
61
- } from "./chunk-5LRFEGFP.js";
61
+ } from "./chunk-OOLRCWS2.js";
62
62
  import {
63
63
  DEFAULT_TIMEOUT_MS,
64
64
  FallbackToolUseRejectedMessage,
@@ -72,7 +72,7 @@ import {
72
72
  listMCPServers,
73
73
  loadMergedSettings,
74
74
  normalizeSandboxRuntimeConfigFromSettings
75
- } from "./chunk-6IXLNIBX.js";
75
+ } from "./chunk-XBM24YJM.js";
76
76
  import {
77
77
  addMarketplace,
78
78
  disableSkillPlugin,
@@ -85,11 +85,11 @@ import {
85
85
  refreshMarketplaceAsync,
86
86
  removeMarketplace,
87
87
  uninstallSkillPlugin
88
- } from "./chunk-ZPTG6OYN.js";
88
+ } from "./chunk-SU3DRMCQ.js";
89
89
  import {
90
90
  loadToolPermissionContextFromDisk,
91
91
  persistToolPermissionUpdateToDisk
92
- } from "./chunk-QUQAVKTY.js";
92
+ } from "./chunk-MDLJYUB5.js";
93
93
  import {
94
94
  applyToolPermissionContextUpdate,
95
95
  applyToolPermissionContextUpdates,
@@ -100,13 +100,13 @@ import {
100
100
  generateSystemReminders,
101
101
  resetReminderSession,
102
102
  systemReminderService
103
- } from "./chunk-HS5IAPED.js";
103
+ } from "./chunk-X472W3BH.js";
104
104
  import {
105
105
  clearAgentCache,
106
106
  getActiveAgents,
107
107
  getAgentByType,
108
108
  getAllAgents
109
- } from "./chunk-RIKQVWEQ.js";
109
+ } from "./chunk-7UFU3WAO.js";
110
110
  import {
111
111
  API_ERROR_MESSAGE_PREFIX,
112
112
  CANCEL_MESSAGE,
@@ -137,7 +137,7 @@ import {
137
137
  processUserInput,
138
138
  reorderMessages,
139
139
  stripSystemMessages
140
- } from "./chunk-4T65Y47N.js";
140
+ } from "./chunk-LZV5TCLM.js";
141
141
  import {
142
142
  getRequestStatus,
143
143
  setRequestStatus,
@@ -167,7 +167,7 @@ import {
167
167
  normalizeFilePath,
168
168
  readTextContent,
169
169
  writeTextContent
170
- } from "./chunk-2Y6RSLIK.js";
170
+ } from "./chunk-TOHWB6HI.js";
171
171
  import {
172
172
  parseBlockEdits
173
173
  } from "./chunk-QWIBSCDN.js";
@@ -177,18 +177,18 @@ import {
177
177
  ParserRegistry,
178
178
  initParser,
179
179
  loadLanguage
180
- } from "./chunk-X2MOC5KR.js";
180
+ } from "./chunk-XYYAVY4Z.js";
181
181
  import {
182
182
  getSettingsFileCandidates,
183
183
  loadSettingsWithLegacyFallback,
184
184
  readSettingsFile
185
- } from "./chunk-UKCYPF74.js";
185
+ } from "./chunk-ZXIIV7IC.js";
186
186
  import {
187
187
  getCustomCommandDirectories,
188
188
  hasCustomCommands,
189
189
  loadCustomCommands,
190
190
  reloadCustomCommands
191
- } from "./chunk-5EJDTTBL.js";
191
+ } from "./chunk-T2A6HHRX.js";
192
192
  import {
193
193
  getSessionPlugins
194
194
  } from "./chunk-BJSWTHRM.js";
@@ -196,7 +196,7 @@ import {
196
196
  ModelManager,
197
197
  getModelManager,
198
198
  isDefaultSlowAndCapableModel
199
- } from "./chunk-X36JZMFM.js";
199
+ } from "./chunk-GSPJ4GS3.js";
200
200
  import {
201
201
  getCodeStyle,
202
202
  getContext,
@@ -204,13 +204,13 @@ import {
204
204
  getIsGit,
205
205
  getProjectDocs,
206
206
  getProjectStructureStatisticsBlock
207
- } from "./chunk-SRT3X6FV.js";
207
+ } from "./chunk-Z3VN6WKQ.js";
208
208
  import {
209
209
  ripGrep
210
- } from "./chunk-TTMZXWQN.js";
210
+ } from "./chunk-2O3X5IWT.js";
211
211
  import {
212
212
  getTheme
213
- } from "./chunk-5Z5ZS7IB.js";
213
+ } from "./chunk-3JIUIDM2.js";
214
214
  import {
215
215
  DEFAULT_GLOBAL_CONFIG,
216
216
  enableConfigs,
@@ -223,7 +223,7 @@ import {
223
223
  saveGlobalConfig,
224
224
  setAllPointersToModel,
225
225
  setModelPointer
226
- } from "./chunk-QTPKDLLB.js";
226
+ } from "./chunk-VP2IDQGT.js";
227
227
  import {
228
228
  AbortError
229
229
  } from "./chunk-RQVLBMP7.js";
@@ -232,7 +232,7 @@ import {
232
232
  getCurrentRequest,
233
233
  logUserFriendly,
234
234
  markPhase
235
- } from "./chunk-2OQK4SGM.js";
235
+ } from "./chunk-N775QA2Y.js";
236
236
  import {
237
237
  ASCII_LOGO,
238
238
  BunShell,
@@ -272,10 +272,10 @@ import {
272
272
  setCwd,
273
273
  shouldApplyToolOutputTruncation,
274
274
  truncateToolOutput
275
- } from "./chunk-BKU7DKGB.js";
275
+ } from "./chunk-NZCROE5X.js";
276
276
  import {
277
277
  MACRO
278
- } from "./chunk-LLNPRFDC.js";
278
+ } from "./chunk-PRBRDV6D.js";
279
279
  import {
280
280
  __export
281
281
  } from "./chunk-I3J4JYES.js";
@@ -456,7 +456,7 @@ var getCommandSubcommandPrefix = memoize(
456
456
  var getCommandPrefix = memoize(
457
457
  async (command4, abortSignal) => {
458
458
  const { systemPrompt, userPrompt } = buildBashCommandPrefixDetectionPrompt(command4);
459
- const { API_ERROR_MESSAGE_PREFIX: API_ERROR_MESSAGE_PREFIX2, queryQuick: queryQuick2 } = await import("./llm-WAAV3MBX.js");
459
+ const { API_ERROR_MESSAGE_PREFIX: API_ERROR_MESSAGE_PREFIX2, queryQuick: queryQuick2 } = await import("./llm-KXFWT6QU.js");
460
460
  const response = await queryQuick2({
461
461
  systemPrompt,
462
462
  userPrompt,
@@ -4258,7 +4258,7 @@ function formatParseError(error) {
4258
4258
  return error instanceof Error ? error.message : String(error);
4259
4259
  }
4260
4260
  async function defaultGateQuery(args) {
4261
- const { API_ERROR_MESSAGE_PREFIX: API_ERROR_MESSAGE_PREFIX2, queryLLM: queryLLM2 } = await import("./llm-WAAV3MBX.js");
4261
+ const { API_ERROR_MESSAGE_PREFIX: API_ERROR_MESSAGE_PREFIX2, queryLLM: queryLLM2 } = await import("./llm-KXFWT6QU.js");
4262
4262
  const queryLLMFn = args.queryLLMOverride ?? queryLLM2;
4263
4263
  const messages = [
4264
4264
  {
@@ -6655,7 +6655,7 @@ var FileEditTool = {
6655
6655
  const originalFileContent = currentFileContent;
6656
6656
  let totalPatch = [];
6657
6657
  const { SmartEdit } = await import("./smart-edit-AWHJDSU6.js");
6658
- const { findLspAnchor } = await import("./lspAnchor-A3P4LT3X.js");
6658
+ const { findLspAnchor } = await import("./lspAnchor-RI6XI7OY.js");
6659
6659
  for (const op of editOperations) {
6660
6660
  const normalizedSearch = normalizeLineEndings(op.search);
6661
6661
  const normalizedReplace = normalizeLineEndings(op.replace);
@@ -11359,7 +11359,7 @@ async function createAndStoreApiKey(accessToken) {
11359
11359
  }
11360
11360
  saveGlobalConfig(config2);
11361
11361
  try {
11362
- const { resetAnthropicClient } = await import("./llm-WAAV3MBX.js");
11362
+ const { resetAnthropicClient } = await import("./llm-KXFWT6QU.js");
11363
11363
  resetAnthropicClient();
11364
11364
  } catch {
11365
11365
  }
@@ -15726,7 +15726,7 @@ async function refreshPluginRuntimeFromInstalls() {
15726
15726
  const existingRoots = getSessionPlugins().map((p) => p.rootDir);
15727
15727
  const dirs = Array.from(/* @__PURE__ */ new Set([...existingRoots, ...installedRoots]));
15728
15728
  if (dirs.length === 0) return [];
15729
- const { configureSessionPlugins } = await import("./pluginRuntime-BZ3RM5P7.js");
15729
+ const { configureSessionPlugins } = await import("./pluginRuntime-SX6EVXLI.js");
15730
15730
  const { errors } = await configureSessionPlugins({ pluginDirs: dirs });
15731
15731
  return errors;
15732
15732
  }
@@ -16395,7 +16395,7 @@ async function call(onDone, context) {
16395
16395
  ModelConfig,
16396
16396
  {
16397
16397
  onClose: () => {
16398
- import("./model-JCGDL77F.js").then(({ reloadModelManager: reloadModelManager2 }) => {
16398
+ import("./model-KSBEHTGQ.js").then(({ reloadModelManager: reloadModelManager2 }) => {
16399
16399
  reloadModelManager2();
16400
16400
  triggerModelConfigChange();
16401
16401
  onDone();
@@ -24599,7 +24599,7 @@ function useStatusLine() {
24599
24599
  // src/ui/components/PromptInput.tsx
24600
24600
  async function interpretHashCommand(input) {
24601
24601
  try {
24602
- const { queryQuick: queryQuick2 } = await import("./llm-WAAV3MBX.js");
24602
+ const { queryQuick: queryQuick2 } = await import("./llm-KXFWT6QU.js");
24603
24603
  const systemPrompt = [
24604
24604
  "You're helping the user structure notes that will be added to their PYB.md file.",
24605
24605
  "Format the user's input into a well-structured note that will be useful for later reference.",
@@ -24912,7 +24912,7 @@ function PromptInput({
24912
24912
  if (messages2.length) {
24913
24913
  if (mode === "bash") {
24914
24914
  onQuery(messages2, newAbortController).then(async () => {
24915
- const { getCwd: getCwd2 } = await import("./state-YJAFADHA.js");
24915
+ const { getCwd: getCwd2 } = await import("./state-GXNXV4HP.js");
24916
24916
  setCurrentPwd(getCwd2());
24917
24917
  });
24918
24918
  } else {
@@ -26870,13 +26870,10 @@ function resolveTypedReadPathConfig(toolUseContext) {
26870
26870
  };
26871
26871
  }
26872
26872
  return {
26873
- enabled: false,
26873
+ enabled: true,
26874
26874
  source: "default"
26875
26875
  };
26876
26876
  }
26877
- function normalizeSummaryForComparison(summary) {
26878
- return String(summary ?? "").replace(/\r\n/g, "\n").replace(/[ \t]+/g, " ").split("\n").map((line) => line.trim()).join("\n").trim();
26879
- }
26880
26877
  function emitStreamTypedPartsFromContent(content, requestId) {
26881
26878
  const state = createAssemblerState(requestId);
26882
26879
  if (typeof content === "string") {
@@ -27037,13 +27034,6 @@ ${COMPRESSION_PROMPT2}` : COMPRESSION_PROMPT2;
27037
27034
  model: activeModelName,
27038
27035
  provider: "openai"
27039
27036
  });
27040
- const canonicalResult = normalizeModelResponseContent(content, {
27041
- source: "auto_compact",
27042
- model: activeModelName,
27043
- provider: "openai",
27044
- reasoningPolicy: resolvedPolicy.reasoningPolicy,
27045
- policySource: resolvedPolicy.policySource
27046
- });
27047
27037
  let emittedTypedParts = [];
27048
27038
  try {
27049
27039
  emittedTypedParts = emitStreamTypedPartsFromContent(content, typedRequestId);
@@ -27053,8 +27043,8 @@ ${COMPRESSION_PROMPT2}` : COMPRESSION_PROMPT2;
27053
27043
  enabled: typedPath.enabled,
27054
27044
  parts: emittedTypedParts
27055
27045
  });
27056
- const canonicalSummary = canonicalResult.summaryText;
27057
- let summary = canonicalSummary;
27046
+ let canonicalResult = null;
27047
+ let summary = null;
27058
27048
  if (typedPath.enabled && typedReplay.isComplete && typedReplay.summaryText) {
27059
27049
  summary = typedReplay.summaryText;
27060
27050
  const typedAppliedPayload = {
@@ -27069,37 +27059,23 @@ ${COMPRESSION_PROMPT2}` : COMPRESSION_PROMPT2;
27069
27059
  "AUTO_COMPACT_TYPED_PATH_APPLIED",
27070
27060
  typedAppliedPayload
27071
27061
  );
27072
- if (normalizeSummaryForComparison(canonicalSummary) !== normalizeSummaryForComparison(summary)) {
27073
- const divergencePayload = {
27074
- canonicalLength: String(canonicalSummary ?? "").length,
27075
- typedLength: String(summary ?? "").length
27076
- };
27077
- debug.warn(
27078
- "AUTO_COMPACT_TYPED_SUMMARY_DIVERGENCE",
27079
- divergencePayload
27080
- );
27081
- emitAutoCompactTelemetryEvent(
27082
- "AUTO_COMPACT_TYPED_SUMMARY_DIVERGENCE",
27083
- divergencePayload
27084
- );
27085
- }
27086
- } else if (typedPath.enabled) {
27087
- const typedAppliedPayload = {
27088
- mode: "canonical_fallback",
27089
- pathSource: typedPath.source,
27090
- reason: typedReplay.reason,
27091
- textPartCount: typedReplay.textPartCount,
27092
- reasoningPartCount: typedReplay.reasoningPartCount
27093
- };
27094
- debug.warn("AUTO_COMPACT_TYPED_PATH_APPLIED", typedAppliedPayload);
27095
- emitAutoCompactTelemetryEvent(
27096
- "AUTO_COMPACT_TYPED_PATH_APPLIED",
27097
- typedAppliedPayload
27098
- );
27099
27062
  } else {
27063
+ canonicalResult = normalizeModelResponseContent(content, {
27064
+ source: "auto_compact",
27065
+ model: activeModelName,
27066
+ provider: "openai",
27067
+ reasoningPolicy: resolvedPolicy.reasoningPolicy,
27068
+ policySource: resolvedPolicy.policySource
27069
+ });
27070
+ summary = canonicalResult.summaryText;
27100
27071
  const typedAppliedPayload = {
27101
- mode: "canonical_disabled",
27102
- pathSource: typedPath.source
27072
+ mode: typedPath.enabled ? "canonical_fallback" : "canonical_disabled",
27073
+ pathSource: typedPath.source,
27074
+ ...typedPath.enabled ? {
27075
+ reason: typedReplay.reason,
27076
+ textPartCount: typedReplay.textPartCount,
27077
+ reasoningPartCount: typedReplay.reasoningPartCount
27078
+ } : {}
27103
27079
  };
27104
27080
  debug.warn("AUTO_COMPACT_TYPED_PATH_APPLIED", typedAppliedPayload);
27105
27081
  emitAutoCompactTelemetryEvent(
@@ -27111,12 +27087,12 @@ ${COMPRESSION_PROMPT2}` : COMPRESSION_PROMPT2;
27111
27087
  debug.warn("AUTO_COMPACT_SUMMARY_CONTENT_INVALID", {
27112
27088
  model: activeModelPointer,
27113
27089
  diagnostics: getSummaryContentDiagnostics(content),
27114
- canonicalDiagnostics: {
27090
+ canonicalDiagnostics: canonicalResult ? {
27115
27091
  textBlockCount: canonicalResult.textBlocks.length,
27116
27092
  reasoningBlockCount: canonicalResult.reasoningBlocks.length,
27117
27093
  blockTypes: canonicalResult.blockTypes,
27118
27094
  failureType: canonicalResult.failureType
27119
- },
27095
+ } : void 0,
27120
27096
  attempt: attempts
27121
27097
  });
27122
27098
  throw new Error(
@@ -29402,7 +29378,7 @@ import { homedir as homedir8 } from "os";
29402
29378
  // src/commands/agents/generation.ts
29403
29379
  import { randomUUID as randomUUID6 } from "crypto";
29404
29380
  async function generateAgentWithClaude(prompt) {
29405
- const { queryModel } = await import("./llm-WAAV3MBX.js");
29381
+ const { queryModel } = await import("./llm-KXFWT6QU.js");
29406
29382
  const systemPrompt = `You are an expert at creating AI agent configurations. Based on the user's description, generate a specialized agent configuration.
29407
29383
 
29408
29384
  Return your response as a JSON object with exactly these fields: