pybao-cli 1.3.68 → 1.3.70

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 (141) hide show
  1. package/dist/REPL-PYTBOJYO.js +42 -0
  2. package/dist/{acp-IE4X7ZN6.js → acp-5KQGASTJ.js} +27 -27
  3. package/dist/{agentsValidate-MKLGV6YH.js → agentsValidate-K4WQMX46.js} +7 -7
  4. package/dist/{ask-L4NL5YZB.js → ask-AL74GPT2.js} +25 -25
  5. package/dist/{autoUpdater-HIZW6RW5.js → autoUpdater-NQHLJYRI.js} +3 -3
  6. package/dist/{chunk-E5WBVYYC.js → chunk-2DJATVVT.js} +2 -2
  7. package/dist/{chunk-OA6P7HKK.js → chunk-2J57ZNCR.js} +1 -1
  8. package/dist/{chunk-TY5HBCY6.js → chunk-3KRBBXLY.js} +3 -3
  9. package/dist/{chunk-V2HYOQO2.js → chunk-A6ACFYDA.js} +1 -1
  10. package/dist/{chunk-V2HYOQO2.js.map → chunk-A6ACFYDA.js.map} +1 -1
  11. package/dist/{chunk-BA47OUH4.js → chunk-F62BB45W.js} +1 -1
  12. package/dist/{chunk-R6VHHI3G.js → chunk-F6R7MS3W.js} +3 -3
  13. package/dist/{chunk-GKJ2UVO6.js → chunk-FRZSJAEO.js} +3 -3
  14. package/dist/{chunk-SPR7JVVT.js → chunk-FTKKVSNW.js} +2 -2
  15. package/dist/{chunk-YGXPUU5Q.js → chunk-GBAU3F6Y.js} +1 -1
  16. package/dist/{chunk-NLYDLJGG.js → chunk-GNSS3MSQ.js} +3 -3
  17. package/dist/{chunk-UQCJUCOM.js → chunk-J3TGXU6K.js} +3 -3
  18. package/dist/{chunk-YDJKO722.js → chunk-JTI6AV67.js} +1 -1
  19. package/dist/{chunk-66Q7F6VR.js → chunk-JZOORBO4.js} +2 -2
  20. package/dist/{chunk-YLQNROYF.js → chunk-JZRVMZDS.js} +42 -37
  21. package/dist/{chunk-YLQNROYF.js.map → chunk-JZRVMZDS.js.map} +2 -2
  22. package/dist/{chunk-AQXTZQ53.js → chunk-KXICPHDR.js} +2 -2
  23. package/dist/{chunk-SXOAID2G.js → chunk-MWTIKNCL.js} +1 -1
  24. package/dist/{chunk-D4YLMKUI.js → chunk-PMNMBWPQ.js} +17 -17
  25. package/dist/{chunk-SMHYMUYQ.js → chunk-QX7OSQQB.js} +4 -4
  26. package/dist/{chunk-HRLQBOES.js → chunk-R4SGPFKF.js} +1 -1
  27. package/dist/{chunk-6LV6USMO.js → chunk-RM3LJFGG.js} +1 -1
  28. package/dist/{chunk-C55WIL3X.js → chunk-TFGSBRJL.js} +2 -2
  29. package/dist/{chunk-AXOACBAT.js → chunk-U3LZQZYW.js} +2 -2
  30. package/dist/{chunk-PI4E5VRN.js → chunk-UGYAYIBE.js} +1 -1
  31. package/dist/{chunk-34YFVONG.js → chunk-VIFMAWIT.js} +3 -3
  32. package/dist/{chunk-OZIA3O6P.js → chunk-VXL2ZA5C.js} +3 -3
  33. package/dist/{chunk-NDB7EZE7.js → chunk-XCN3BOHD.js} +4 -4
  34. package/dist/{chunk-VQEYFHCS.js → chunk-XOVAVRXI.js} +2 -2
  35. package/dist/{chunk-BNGSVF2J.js → chunk-XTRF34WV.js} +1 -1
  36. package/dist/{cli-PY7HG5EY.js → cli-54A5CFVS.js} +78 -78
  37. package/dist/commands-7J62Z7II.js +46 -0
  38. package/dist/{config-RJW36RLQ.js → config-47SG3DGX.js} +4 -4
  39. package/dist/{context-UPJIGJGW.js → context-QPFNBFGB.js} +5 -5
  40. package/dist/{customCommands-TK6JH5JK.js → customCommands-7K65UK7A.js} +4 -4
  41. package/dist/{env-EH3S4WPV.js → env-FX7NQEPR.js} +2 -2
  42. package/dist/index.js +3 -3
  43. package/dist/{llm-A7VDD3EC.js → llm-FQXYN6AI.js} +26 -26
  44. package/dist/{llmLazy-W4G3KUIV.js → llmLazy-LETMXGOL.js} +1 -1
  45. package/dist/{loader-MY5XCCA3.js → loader-P53T7RSO.js} +4 -4
  46. package/dist/{lspAnchor-5DXSPII5.js → lspAnchor-6FS6SV6A.js} +4 -4
  47. package/dist/{manager-RWXJYR32.js → manager-LFUT5TR3.js} +4 -4
  48. package/dist/{mcp-PCBS4AIR.js → mcp-EYJRR4KH.js} +7 -7
  49. package/dist/{mentionProcessor-LX5CKCGW.js → mentionProcessor-I77CIAHA.js} +5 -5
  50. package/dist/{messages-24CDBMXV.js → messages-P2D7JNH7.js} +1 -1
  51. package/dist/{model-KL3RMVGS.js → model-DQMQ2LFX.js} +5 -5
  52. package/dist/{openai-Y6XHWIWL.js → openai-HG24U3GK.js} +5 -5
  53. package/dist/{outputStyles-T2FTKT7O.js → outputStyles-PNPBXNN5.js} +4 -4
  54. package/dist/{pluginRuntime-MLFDH5XG.js → pluginRuntime-CIXKCXDR.js} +6 -6
  55. package/dist/{pluginValidation-QRH2JQDW.js → pluginValidation-GAZG4QX2.js} +6 -6
  56. package/dist/prompts-SF5NDLJU.js +48 -0
  57. package/dist/{pybAgentSessionLoad-L2SJR5BF.js → pybAgentSessionLoad-DE7SRX35.js} +4 -4
  58. package/dist/{pybAgentSessionResume-K6OWM6RG.js → pybAgentSessionResume-ZYXLXPXX.js} +4 -4
  59. package/dist/{pybAgentStreamJsonSession-Q63IJMAO.js → pybAgentStreamJsonSession-XT3ZZRX5.js} +1 -1
  60. package/dist/{pybHooks-65PPV2GW.js → pybHooks-VLPM2LMW.js} +4 -4
  61. package/dist/query-53FODGAU.js +50 -0
  62. package/dist/{ripgrep-WQEATYUJ.js → ripgrep-TNMOIQOG.js} +3 -3
  63. package/dist/{skillMarketplace-XZ72GXV7.js → skillMarketplace-IWPQ7D5H.js} +3 -3
  64. package/dist/{state-Q2QXC77S.js → state-FGZWMIQF.js} +2 -2
  65. package/dist/{theme-4REKDOVH.js → theme-GQ3B4A5I.js} +5 -5
  66. package/dist/{toolPermissionSettings-DWLDFC6L.js → toolPermissionSettings-YCX3MUD5.js} +6 -6
  67. package/dist/tools-U7Z3CBML.js +50 -0
  68. package/dist/{userInput-3RJRG3AE.js → userInput-7GLSZTDR.js} +27 -27
  69. package/package.json +1 -1
  70. package/resources/tree-sitter/tree-sitter-bash.wasm +0 -0
  71. package/resources/tree-sitter/tree-sitter-python.wasm +0 -0
  72. package/resources/tree-sitter/tree-sitter-tsx.wasm +0 -0
  73. package/resources/tree-sitter/tree-sitter-typescript.wasm +0 -0
  74. package/dist/REPL-DJM734CM.js +0 -42
  75. package/dist/commands-5CSQ5GGO.js +0 -46
  76. package/dist/prompts-6VD6YOL4.js +0 -48
  77. package/dist/query-5BQJ3TJV.js +0 -50
  78. package/dist/tools-NEWQPNHL.js +0 -50
  79. /package/dist/{REPL-DJM734CM.js.map → REPL-PYTBOJYO.js.map} +0 -0
  80. /package/dist/{acp-IE4X7ZN6.js.map → acp-5KQGASTJ.js.map} +0 -0
  81. /package/dist/{agentsValidate-MKLGV6YH.js.map → agentsValidate-K4WQMX46.js.map} +0 -0
  82. /package/dist/{ask-L4NL5YZB.js.map → ask-AL74GPT2.js.map} +0 -0
  83. /package/dist/{autoUpdater-HIZW6RW5.js.map → autoUpdater-NQHLJYRI.js.map} +0 -0
  84. /package/dist/{chunk-E5WBVYYC.js.map → chunk-2DJATVVT.js.map} +0 -0
  85. /package/dist/{chunk-OA6P7HKK.js.map → chunk-2J57ZNCR.js.map} +0 -0
  86. /package/dist/{chunk-TY5HBCY6.js.map → chunk-3KRBBXLY.js.map} +0 -0
  87. /package/dist/{chunk-BA47OUH4.js.map → chunk-F62BB45W.js.map} +0 -0
  88. /package/dist/{chunk-R6VHHI3G.js.map → chunk-F6R7MS3W.js.map} +0 -0
  89. /package/dist/{chunk-GKJ2UVO6.js.map → chunk-FRZSJAEO.js.map} +0 -0
  90. /package/dist/{chunk-SPR7JVVT.js.map → chunk-FTKKVSNW.js.map} +0 -0
  91. /package/dist/{chunk-YGXPUU5Q.js.map → chunk-GBAU3F6Y.js.map} +0 -0
  92. /package/dist/{chunk-NLYDLJGG.js.map → chunk-GNSS3MSQ.js.map} +0 -0
  93. /package/dist/{chunk-UQCJUCOM.js.map → chunk-J3TGXU6K.js.map} +0 -0
  94. /package/dist/{chunk-YDJKO722.js.map → chunk-JTI6AV67.js.map} +0 -0
  95. /package/dist/{chunk-66Q7F6VR.js.map → chunk-JZOORBO4.js.map} +0 -0
  96. /package/dist/{chunk-AQXTZQ53.js.map → chunk-KXICPHDR.js.map} +0 -0
  97. /package/dist/{chunk-SXOAID2G.js.map → chunk-MWTIKNCL.js.map} +0 -0
  98. /package/dist/{chunk-D4YLMKUI.js.map → chunk-PMNMBWPQ.js.map} +0 -0
  99. /package/dist/{chunk-SMHYMUYQ.js.map → chunk-QX7OSQQB.js.map} +0 -0
  100. /package/dist/{chunk-HRLQBOES.js.map → chunk-R4SGPFKF.js.map} +0 -0
  101. /package/dist/{chunk-6LV6USMO.js.map → chunk-RM3LJFGG.js.map} +0 -0
  102. /package/dist/{chunk-C55WIL3X.js.map → chunk-TFGSBRJL.js.map} +0 -0
  103. /package/dist/{chunk-AXOACBAT.js.map → chunk-U3LZQZYW.js.map} +0 -0
  104. /package/dist/{chunk-PI4E5VRN.js.map → chunk-UGYAYIBE.js.map} +0 -0
  105. /package/dist/{chunk-34YFVONG.js.map → chunk-VIFMAWIT.js.map} +0 -0
  106. /package/dist/{chunk-OZIA3O6P.js.map → chunk-VXL2ZA5C.js.map} +0 -0
  107. /package/dist/{chunk-NDB7EZE7.js.map → chunk-XCN3BOHD.js.map} +0 -0
  108. /package/dist/{chunk-VQEYFHCS.js.map → chunk-XOVAVRXI.js.map} +0 -0
  109. /package/dist/{chunk-BNGSVF2J.js.map → chunk-XTRF34WV.js.map} +0 -0
  110. /package/dist/{cli-PY7HG5EY.js.map → cli-54A5CFVS.js.map} +0 -0
  111. /package/dist/{commands-5CSQ5GGO.js.map → commands-7J62Z7II.js.map} +0 -0
  112. /package/dist/{config-RJW36RLQ.js.map → config-47SG3DGX.js.map} +0 -0
  113. /package/dist/{context-UPJIGJGW.js.map → context-QPFNBFGB.js.map} +0 -0
  114. /package/dist/{customCommands-TK6JH5JK.js.map → customCommands-7K65UK7A.js.map} +0 -0
  115. /package/dist/{env-EH3S4WPV.js.map → env-FX7NQEPR.js.map} +0 -0
  116. /package/dist/{llm-A7VDD3EC.js.map → llm-FQXYN6AI.js.map} +0 -0
  117. /package/dist/{llmLazy-W4G3KUIV.js.map → llmLazy-LETMXGOL.js.map} +0 -0
  118. /package/dist/{loader-MY5XCCA3.js.map → loader-P53T7RSO.js.map} +0 -0
  119. /package/dist/{lspAnchor-5DXSPII5.js.map → lspAnchor-6FS6SV6A.js.map} +0 -0
  120. /package/dist/{manager-RWXJYR32.js.map → manager-LFUT5TR3.js.map} +0 -0
  121. /package/dist/{mcp-PCBS4AIR.js.map → mcp-EYJRR4KH.js.map} +0 -0
  122. /package/dist/{mentionProcessor-LX5CKCGW.js.map → mentionProcessor-I77CIAHA.js.map} +0 -0
  123. /package/dist/{messages-24CDBMXV.js.map → messages-P2D7JNH7.js.map} +0 -0
  124. /package/dist/{model-KL3RMVGS.js.map → model-DQMQ2LFX.js.map} +0 -0
  125. /package/dist/{openai-Y6XHWIWL.js.map → openai-HG24U3GK.js.map} +0 -0
  126. /package/dist/{outputStyles-T2FTKT7O.js.map → outputStyles-PNPBXNN5.js.map} +0 -0
  127. /package/dist/{pluginRuntime-MLFDH5XG.js.map → pluginRuntime-CIXKCXDR.js.map} +0 -0
  128. /package/dist/{pluginValidation-QRH2JQDW.js.map → pluginValidation-GAZG4QX2.js.map} +0 -0
  129. /package/dist/{prompts-6VD6YOL4.js.map → prompts-SF5NDLJU.js.map} +0 -0
  130. /package/dist/{pybAgentSessionLoad-L2SJR5BF.js.map → pybAgentSessionLoad-DE7SRX35.js.map} +0 -0
  131. /package/dist/{pybAgentSessionResume-K6OWM6RG.js.map → pybAgentSessionResume-ZYXLXPXX.js.map} +0 -0
  132. /package/dist/{pybAgentStreamJsonSession-Q63IJMAO.js.map → pybAgentStreamJsonSession-XT3ZZRX5.js.map} +0 -0
  133. /package/dist/{pybHooks-65PPV2GW.js.map → pybHooks-VLPM2LMW.js.map} +0 -0
  134. /package/dist/{query-5BQJ3TJV.js.map → query-53FODGAU.js.map} +0 -0
  135. /package/dist/{ripgrep-WQEATYUJ.js.map → ripgrep-TNMOIQOG.js.map} +0 -0
  136. /package/dist/{skillMarketplace-XZ72GXV7.js.map → skillMarketplace-IWPQ7D5H.js.map} +0 -0
  137. /package/dist/{state-Q2QXC77S.js.map → state-FGZWMIQF.js.map} +0 -0
  138. /package/dist/{theme-4REKDOVH.js.map → theme-GQ3B4A5I.js.map} +0 -0
  139. /package/dist/{toolPermissionSettings-DWLDFC6L.js.map → toolPermissionSettings-YCX3MUD5.js.map} +0 -0
  140. /package/dist/{tools-NEWQPNHL.js.map → tools-U7Z3CBML.js.map} +0 -0
  141. /package/dist/{userInput-3RJRG3AE.js.map → userInput-7GLSZTDR.js.map} +0 -0
@@ -2,24 +2,24 @@ import { createRequire as __pybCreateRequire } from "node:module";
2
2
  const require = __pybCreateRequire(import.meta.url);
3
3
  import {
4
4
  loadPybAgentSessionMessages
5
- } from "./chunk-PI4E5VRN.js";
5
+ } from "./chunk-UGYAYIBE.js";
6
6
  import {
7
7
  listPybAgentSessions
8
- } from "./chunk-YGXPUU5Q.js";
8
+ } from "./chunk-GBAU3F6Y.js";
9
9
  import {
10
10
  appendSessionCustomTitleRecord,
11
11
  appendSessionJsonlFromMessage,
12
12
  appendSessionTagRecord
13
- } from "./chunk-AXOACBAT.js";
13
+ } from "./chunk-U3LZQZYW.js";
14
14
  import {
15
15
  fetchCustomModels,
16
16
  getModelFeatures
17
- } from "./chunk-C55WIL3X.js";
17
+ } from "./chunk-TFGSBRJL.js";
18
18
  import {
19
19
  queryLLM,
20
20
  queryQuick,
21
21
  verifyApiKey
22
- } from "./chunk-SMHYMUYQ.js";
22
+ } from "./chunk-QX7OSQQB.js";
23
23
  import {
24
24
  DEFAULT_TIMEOUT_MS,
25
25
  FallbackToolUseRejectedMessage,
@@ -33,11 +33,11 @@ import {
33
33
  listMCPServers,
34
34
  loadMergedSettings,
35
35
  normalizeSandboxRuntimeConfigFromSettings
36
- } from "./chunk-NDB7EZE7.js";
36
+ } from "./chunk-XCN3BOHD.js";
37
37
  import {
38
38
  formatValidationResult,
39
39
  validatePluginOrMarketplacePath
40
- } from "./chunk-OZIA3O6P.js";
40
+ } from "./chunk-VXL2ZA5C.js";
41
41
  import {
42
42
  addMarketplace,
43
43
  disableSkillPlugin,
@@ -50,7 +50,7 @@ import {
50
50
  refreshMarketplaceAsync,
51
51
  removeMarketplace,
52
52
  uninstallSkillPlugin
53
- } from "./chunk-BNGSVF2J.js";
53
+ } from "./chunk-XTRF34WV.js";
54
54
  import {
55
55
  emitReminderEvent,
56
56
  generateSystemReminders,
@@ -59,7 +59,7 @@ import {
59
59
  resetReminderSession,
60
60
  setTodos,
61
61
  systemReminderService
62
- } from "./chunk-AQXTZQ53.js";
62
+ } from "./chunk-KXICPHDR.js";
63
63
  import {
64
64
  getSessionState
65
65
  } from "./chunk-ERMQRV55.js";
@@ -68,7 +68,7 @@ import {
68
68
  getActiveAgents,
69
69
  getAgentByType,
70
70
  getAllAgents
71
- } from "./chunk-66Q7F6VR.js";
71
+ } from "./chunk-JZOORBO4.js";
72
72
  import {
73
73
  API_ERROR_MESSAGE_PREFIX,
74
74
  CANCEL_MESSAGE,
@@ -98,7 +98,7 @@ import {
98
98
  processUserInput,
99
99
  reorderMessages,
100
100
  stripSystemMessages
101
- } from "./chunk-OA6P7HKK.js";
101
+ } from "./chunk-2J57ZNCR.js";
102
102
  import {
103
103
  getRequestStatus,
104
104
  setRequestStatus,
@@ -115,7 +115,7 @@ import {
115
115
  runStopHooks,
116
116
  runUserPromptSubmitHooks,
117
117
  updateHookTranscriptForMessages
118
- } from "./chunk-R6VHHI3G.js";
118
+ } from "./chunk-F6R7MS3W.js";
119
119
  import {
120
120
  getPybAgentSessionId,
121
121
  setPybAgentSessionId
@@ -128,29 +128,29 @@ import {
128
128
  getOutputStyleSystemPromptAdditions,
129
129
  resolveOutputStyleName,
130
130
  setCurrentOutputStyle
131
- } from "./chunk-SPR7JVVT.js";
131
+ } from "./chunk-FTKKVSNW.js";
132
132
  import {
133
133
  listAllContentFiles,
134
134
  ripGrep,
135
135
  tree
136
- } from "./chunk-BA47OUH4.js";
136
+ } from "./chunk-F62BB45W.js";
137
137
  import {
138
138
  getCustomCommandDirectories,
139
139
  hasCustomCommands,
140
140
  loadCustomCommands,
141
141
  reloadCustomCommands
142
- } from "./chunk-VQEYFHCS.js";
142
+ } from "./chunk-XOVAVRXI.js";
143
143
  import {
144
144
  getSessionPlugins
145
145
  } from "./chunk-BJSWTHRM.js";
146
146
  import {
147
147
  loadToolPermissionContextFromDisk,
148
148
  persistToolPermissionUpdateToDisk
149
- } from "./chunk-GKJ2UVO6.js";
149
+ } from "./chunk-FRZSJAEO.js";
150
150
  import {
151
151
  getSettingsFileCandidates,
152
152
  loadSettingsWithLegacyFallback
153
- } from "./chunk-6LV6USMO.js";
153
+ } from "./chunk-RM3LJFGG.js";
154
154
  import {
155
155
  applyToolPermissionContextUpdate,
156
156
  createDefaultToolPermissionContext
@@ -159,17 +159,17 @@ import {
159
159
  ModelManager,
160
160
  getModelManager,
161
161
  isDefaultSlowAndCapableModel
162
- } from "./chunk-TY5HBCY6.js";
162
+ } from "./chunk-3KRBBXLY.js";
163
163
  import {
164
164
  getCodeStyle,
165
165
  getContext,
166
166
  getGitState,
167
167
  getIsGit,
168
168
  getProjectDocs
169
- } from "./chunk-UQCJUCOM.js";
169
+ } from "./chunk-J3TGXU6K.js";
170
170
  import {
171
171
  getTheme
172
- } from "./chunk-YDJKO722.js";
172
+ } from "./chunk-JTI6AV67.js";
173
173
  import {
174
174
  DEFAULT_GLOBAL_CONFIG,
175
175
  enableConfigs,
@@ -182,7 +182,7 @@ import {
182
182
  saveGlobalConfig,
183
183
  setAllPointersToModel,
184
184
  setModelPointer
185
- } from "./chunk-NLYDLJGG.js";
185
+ } from "./chunk-GNSS3MSQ.js";
186
186
  import {
187
187
  AbortError
188
188
  } from "./chunk-RQVLBMP7.js";
@@ -191,7 +191,7 @@ import {
191
191
  getCurrentRequest,
192
192
  logUserFriendly,
193
193
  markPhase
194
- } from "./chunk-SXOAID2G.js";
194
+ } from "./chunk-MWTIKNCL.js";
195
195
  import {
196
196
  ASCII_LOGO,
197
197
  BunShell,
@@ -227,10 +227,10 @@ import {
227
227
  renderBashNotification,
228
228
  setActivePlanConversationKey,
229
229
  setCwd
230
- } from "./chunk-HRLQBOES.js";
230
+ } from "./chunk-R4SGPFKF.js";
231
231
  import {
232
232
  MACRO
233
- } from "./chunk-V2HYOQO2.js";
233
+ } from "./chunk-A6ACFYDA.js";
234
234
  import {
235
235
  formatTotalCost,
236
236
  getTotalAPIDuration,
@@ -418,7 +418,7 @@ var getCommandSubcommandPrefix = memoize(
418
418
  var getCommandPrefix = memoize(
419
419
  async (command4, abortSignal) => {
420
420
  const { systemPrompt, userPrompt } = buildBashCommandPrefixDetectionPrompt(command4);
421
- const { API_ERROR_MESSAGE_PREFIX: API_ERROR_MESSAGE_PREFIX2, queryQuick: queryQuick2 } = await import("./llm-A7VDD3EC.js");
421
+ const { API_ERROR_MESSAGE_PREFIX: API_ERROR_MESSAGE_PREFIX2, queryQuick: queryQuick2 } = await import("./llm-FQXYN6AI.js");
422
422
  const response = await queryQuick2({
423
423
  systemPrompt,
424
424
  userPrompt,
@@ -4458,7 +4458,7 @@ function formatParseError(error) {
4458
4458
  return error instanceof Error ? error.message : String(error);
4459
4459
  }
4460
4460
  async function defaultGateQuery(args) {
4461
- const { API_ERROR_MESSAGE_PREFIX: API_ERROR_MESSAGE_PREFIX2, queryLLM: queryLLM2 } = await import("./llm-A7VDD3EC.js");
4461
+ const { API_ERROR_MESSAGE_PREFIX: API_ERROR_MESSAGE_PREFIX2, queryLLM: queryLLM2 } = await import("./llm-FQXYN6AI.js");
4462
4462
  const messages = [
4463
4463
  {
4464
4464
  type: "user",
@@ -6703,7 +6703,7 @@ var FileEditTool = {
6703
6703
  const originalFileContent = currentFileContent;
6704
6704
  let totalPatch = [];
6705
6705
  const { SmartEdit } = await import("./smart-edit-677MCQMW.js");
6706
- const { findLspAnchor } = await import("./lspAnchor-5DXSPII5.js");
6706
+ const { findLspAnchor } = await import("./lspAnchor-6FS6SV6A.js");
6707
6707
  for (const op of editOperations) {
6708
6708
  const normalizedSearch = normalizeLineEndings(op.search);
6709
6709
  const normalizedReplace = normalizeLineEndings(op.replace);
@@ -6746,7 +6746,7 @@ ${op.search}`);
6746
6746
  const endings = fileExistsBun(fullFilePath) ? detectLineEndings(fullFilePath) : "LF";
6747
6747
  writeTextContent(fullFilePath, updatedFile, enc, endings);
6748
6748
  if (verify) {
6749
- const { LspClientManager } = await import("./manager-RWXJYR32.js");
6749
+ const { LspClientManager } = await import("./manager-LFUT5TR3.js");
6750
6750
  const client = await LspClientManager.getInstance().getClient(fullFilePath, getCwd());
6751
6751
  if (client) {
6752
6752
  const diagnostics = client.getDiagnostics(fullFilePath);
@@ -7640,7 +7640,7 @@ var FileReadTool = {
7640
7640
  let finalLimit = limit;
7641
7641
  if (symbol_name) {
7642
7642
  try {
7643
- const { LspClientManager } = await import("./manager-RWXJYR32.js");
7643
+ const { LspClientManager } = await import("./manager-LFUT5TR3.js");
7644
7644
  const client = await LspClientManager.getInstance().getClient(fullFilePath, getCwd());
7645
7645
  if (!client) {
7646
7646
  throw new Error(`LSP client not available for ${ext}. Cannot search for symbol '${symbol_name}'.`);
@@ -8211,7 +8211,7 @@ var GlobTool = {
8211
8211
  let files = raw.map((p) => isAbsolute7(p) ? p : join5(searchPath, p));
8212
8212
  if (semantic) {
8213
8213
  try {
8214
- const { LspClientManager } = await import("./manager-RWXJYR32.js");
8214
+ const { LspClientManager } = await import("./manager-LFUT5TR3.js");
8215
8215
  const symbols = await LspClientManager.getInstance().workspaceSymbol(pattern, searchPath);
8216
8216
  const semanticFiles = symbols.map((s) => {
8217
8217
  let filePath = s.location?.uri || "";
@@ -8523,7 +8523,7 @@ ${result.filenames.join("\n")}`;
8523
8523
  });
8524
8524
  if (lines.length === 0 && semantic) {
8525
8525
  try {
8526
- const { LspClientManager } = await import("./manager-RWXJYR32.js");
8526
+ const { LspClientManager } = await import("./manager-LFUT5TR3.js");
8527
8527
  const symbols = await LspClientManager.getInstance().workspaceSymbol(String(pattern));
8528
8528
  let filtered = symbols;
8529
8529
  const symbolType = symbol_type;
@@ -11345,7 +11345,7 @@ async function createAndStoreApiKey(accessToken) {
11345
11345
  }
11346
11346
  saveGlobalConfig(config2);
11347
11347
  try {
11348
- const { resetAnthropicClient } = await import("./llm-A7VDD3EC.js");
11348
+ const { resetAnthropicClient } = await import("./llm-FQXYN6AI.js");
11349
11349
  resetAnthropicClient();
11350
11350
  } catch {
11351
11351
  }
@@ -15627,7 +15627,7 @@ async function refreshPluginRuntimeFromInstalls() {
15627
15627
  const existingRoots = getSessionPlugins().map((p) => p.rootDir);
15628
15628
  const dirs = Array.from(/* @__PURE__ */ new Set([...existingRoots, ...installedRoots]));
15629
15629
  if (dirs.length === 0) return [];
15630
- const { configureSessionPlugins } = await import("./pluginRuntime-MLFDH5XG.js");
15630
+ const { configureSessionPlugins } = await import("./pluginRuntime-CIXKCXDR.js");
15631
15631
  const { errors } = await configureSessionPlugins({ pluginDirs: dirs });
15632
15632
  return errors;
15633
15633
  }
@@ -16296,7 +16296,7 @@ async function call(onDone, context) {
16296
16296
  ModelConfig,
16297
16297
  {
16298
16298
  onClose: () => {
16299
- import("./model-KL3RMVGS.js").then(({ reloadModelManager: reloadModelManager2 }) => {
16299
+ import("./model-DQMQ2LFX.js").then(({ reloadModelManager: reloadModelManager2 }) => {
16300
16300
  reloadModelManager2();
16301
16301
  triggerModelConfigChange();
16302
16302
  onDone();
@@ -23555,7 +23555,7 @@ function useStatusLine() {
23555
23555
  // src/ui/components/PromptInput.tsx
23556
23556
  async function interpretHashCommand(input) {
23557
23557
  try {
23558
- const { queryQuick: queryQuick2 } = await import("./llm-A7VDD3EC.js");
23558
+ const { queryQuick: queryQuick2 } = await import("./llm-FQXYN6AI.js");
23559
23559
  const systemPrompt = [
23560
23560
  "You're helping the user structure notes that will be added to their PYB.md file.",
23561
23561
  "Format the user's input into a well-structured note that will be useful for later reference.",
@@ -23868,7 +23868,7 @@ function PromptInput({
23868
23868
  if (messages2.length) {
23869
23869
  if (mode === "bash") {
23870
23870
  onQuery(messages2, newAbortController).then(async () => {
23871
- const { getCwd: getCwd2 } = await import("./state-Q2QXC77S.js");
23871
+ const { getCwd: getCwd2 } = await import("./state-FGZWMIQF.js");
23872
23872
  setCurrentPwd(getCwd2());
23873
23873
  });
23874
23874
  } else {
@@ -26654,7 +26654,7 @@ import { homedir as homedir7 } from "os";
26654
26654
  // src/commands/agents/generation.ts
26655
26655
  import { randomUUID as randomUUID5 } from "crypto";
26656
26656
  async function generateAgentWithClaude(prompt) {
26657
- const { queryModel } = await import("./llm-A7VDD3EC.js");
26657
+ const { queryModel } = await import("./llm-FQXYN6AI.js");
26658
26658
  const systemPrompt = `You are an expert at creating AI agent configurations. Based on the user's description, generate a specialized agent configuration.
26659
26659
 
26660
26660
  Return your response as a JSON object with exactly these fields:
@@ -30760,6 +30760,11 @@ NEVER commit changes unless the user explicitly asks you to. It is VERY IMPORTAN
30760
30760
  - It is always better to speculatively read multiple files as a batch that are potentially useful.
30761
30761
  - It is always better to speculatively perform multiple searches as a batch that are potentially useful.
30762
30762
 
30763
+ # Cognitive Search Strategy
30764
+ 1. **Concept Search**: WHEN searching for high-level concepts (e.g., "Auth Logic", "Payment Flow") OR when you are uncertain about exact naming, you MUST use \`semantic: true\` in Grep/Glob tools. This activates the LSP Workspace Symbol search which is resilient to typos and fuzzy matches.
30765
+ 2. **Exact Identifier**: WHEN you know the precise class/function name (e.g., "UserProfile", "initDatabase"), use standard Grep/Glob without \`semantic\` flag.
30766
+ 3. **Exploration**: If standard search returns 0 results, AUTOMATICALLY retry with \`semantic: true\`.
30767
+
30763
30768
  # File Modification Strategy (The Universal Edit Tool)
30764
30769
  When you need to modify files, rely on the **Edit Tool** for almost all tasks.
30765
30770