pybao-cli 1.3.48 → 1.3.49

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 (131) hide show
  1. package/dist/REPL-OGPFEZQZ.js +42 -0
  2. package/dist/{acp-JETRZ6P6.js → acp-6OUQ7H6U.js} +26 -26
  3. package/dist/{agentsValidate-VYC6EVAS.js → agentsValidate-J2PNDNBM.js} +7 -7
  4. package/dist/{ask-QPUWA3NO.js → ask-3BZLIIBS.js} +25 -25
  5. package/dist/{autoUpdater-635VM36P.js → autoUpdater-QBVI6CTI.js} +3 -3
  6. package/dist/{chunk-D37O2VAS.js → chunk-2AMK6VUE.js} +1 -1
  7. package/dist/{chunk-SK5B5Y3H.js → chunk-B3P6TUJQ.js} +1 -1
  8. package/dist/{chunk-CO54QZDM.js → chunk-CKSCNSGO.js} +3 -3
  9. package/dist/{chunk-JHLYQLDR.js → chunk-DQ3QQRPV.js} +2 -2
  10. package/dist/{chunk-K3UPGA4J.js → chunk-ENRBBQDN.js} +4 -4
  11. package/dist/{chunk-ACTFQQFN.js → chunk-G3QWUH66.js} +3 -3
  12. package/dist/{chunk-2KKQDLKQ.js → chunk-HTWMNXVH.js} +3 -3
  13. package/dist/{chunk-RBBUU2DF.js → chunk-INNHNGP3.js} +3 -3
  14. package/dist/{chunk-FXB6TMAI.js → chunk-J6YTGLVB.js} +2 -2
  15. package/dist/{chunk-RIOIJXFA.js → chunk-JMAZ43RF.js} +2 -2
  16. package/dist/{chunk-64WKFBDO.js → chunk-JS6WJUEJ.js} +4 -4
  17. package/dist/{chunk-AS6JW5BZ.js → chunk-KDCZKRCN.js} +1 -1
  18. package/dist/{chunk-GZLYNVI5.js → chunk-MYIG6T5F.js} +2 -2
  19. package/dist/{chunk-RDR2NLZG.js → chunk-NN37RDXI.js} +47 -38
  20. package/dist/{chunk-RDR2NLZG.js.map → chunk-NN37RDXI.js.map} +2 -2
  21. package/dist/{chunk-6RWWNWOS.js → chunk-OKLVL6BJ.js} +2 -2
  22. package/dist/{chunk-7EP7KWCY.js → chunk-QI6HL74P.js} +3 -3
  23. package/dist/{chunk-QYZDCRZY.js → chunk-QM7M2ER7.js} +1 -1
  24. package/dist/{chunk-IFC5ZQBA.js → chunk-RW4L32HN.js} +1 -1
  25. package/dist/{chunk-HD5FEXJG.js → chunk-RWLCKRAI.js} +12 -12
  26. package/dist/{chunk-S47PTAAR.js → chunk-U5YVY2ZJ.js} +1 -1
  27. package/dist/{chunk-S47PTAAR.js.map → chunk-U5YVY2ZJ.js.map} +1 -1
  28. package/dist/{chunk-WDLD43PP.js → chunk-VKA3GRQ7.js} +1 -1
  29. package/dist/{chunk-HMJCUNVW.js → chunk-VXKMO6OQ.js} +1 -1
  30. package/dist/{chunk-5UB3SOX7.js → chunk-W3BXW7II.js} +1 -1
  31. package/dist/{chunk-S5WP2LOV.js → chunk-WZPKTYHT.js} +1 -1
  32. package/dist/{chunk-NPDDRUQH.js → chunk-XUTLA6YR.js} +3 -3
  33. package/dist/{chunk-BSFVYDCB.js → chunk-ZFULAWUS.js} +2 -2
  34. package/dist/{chunk-Q2XSXVMZ.js → chunk-ZYC4DB3G.js} +3 -3
  35. package/dist/{cli-AQ5YDYRF.js → cli-XVMAAFAL.js} +77 -77
  36. package/dist/commands-XQBJLM5C.js +46 -0
  37. package/dist/{config-GSL2P4KS.js → config-MPTOPKTC.js} +4 -4
  38. package/dist/{context-FF4G3DXK.js → context-AS5YCQ7Q.js} +5 -5
  39. package/dist/{customCommands-MDK4S56R.js → customCommands-MWT24UO2.js} +4 -4
  40. package/dist/{env-IH7LGUF3.js → env-BD4TLPUJ.js} +2 -2
  41. package/dist/index.js +3 -3
  42. package/dist/{llm-6P5NDUEG.js → llm-TYCMK2E6.js} +26 -26
  43. package/dist/{llmLazy-52ASU3EE.js → llmLazy-BYDLIART.js} +1 -1
  44. package/dist/{loader-CDSPDRPD.js → loader-5TWPQP3K.js} +4 -4
  45. package/dist/{mcp-Y6ETPNYP.js → mcp-XDNI7GJV.js} +7 -7
  46. package/dist/{mentionProcessor-35VZ7W3E.js → mentionProcessor-V4567WI5.js} +5 -5
  47. package/dist/{messages-6XCXESET.js → messages-K7ABTOPV.js} +1 -1
  48. package/dist/{model-ML44HYI7.js → model-ATBQ44KG.js} +5 -5
  49. package/dist/{openai-RW3IN7KT.js → openai-ED25JRUI.js} +5 -5
  50. package/dist/{outputStyles-Y24FUIIO.js → outputStyles-P5GC3SJX.js} +4 -4
  51. package/dist/{pluginRuntime-FIOM2MXH.js → pluginRuntime-ZQL56D63.js} +6 -6
  52. package/dist/{pluginValidation-GEXKXZ75.js → pluginValidation-66AAHNBG.js} +6 -6
  53. package/dist/prompts-KDX7FM3E.js +48 -0
  54. package/dist/{pybAgentSessionLoad-FX3IZ2TC.js → pybAgentSessionLoad-GD3Z6LAG.js} +4 -4
  55. package/dist/{pybAgentSessionResume-7477WJNJ.js → pybAgentSessionResume-IKOTCDZW.js} +4 -4
  56. package/dist/{pybAgentStreamJsonSession-5WR47CJA.js → pybAgentStreamJsonSession-IUMN533Q.js} +1 -1
  57. package/dist/{pybHooks-HRM55TSD.js → pybHooks-ECZOIQMS.js} +4 -4
  58. package/dist/query-QCVQ7T76.js +50 -0
  59. package/dist/{ripgrep-M4TPNCDI.js → ripgrep-BLLSBEDA.js} +3 -3
  60. package/dist/{skillMarketplace-7H7CESZW.js → skillMarketplace-XXFHN2HH.js} +3 -3
  61. package/dist/{state-XSKBKB2C.js → state-OWOACNRS.js} +2 -2
  62. package/dist/{theme-3IPDEBP7.js → theme-Y46LR7UJ.js} +5 -5
  63. package/dist/{toolPermissionSettings-4H2H2JKG.js → toolPermissionSettings-HHGJYLGQ.js} +6 -6
  64. package/dist/tools-6FBXOCLI.js +47 -0
  65. package/dist/{userInput-65IUQX4I.js → userInput-FKO2RVA5.js} +27 -27
  66. package/package.json +1 -1
  67. package/dist/REPL-OL7R2MJU.js +0 -42
  68. package/dist/commands-BY46LCQ7.js +0 -46
  69. package/dist/prompts-DILKYQ74.js +0 -48
  70. package/dist/query-AYJOPC3P.js +0 -50
  71. package/dist/tools-W7P3JOYP.js +0 -47
  72. /package/dist/{REPL-OL7R2MJU.js.map → REPL-OGPFEZQZ.js.map} +0 -0
  73. /package/dist/{acp-JETRZ6P6.js.map → acp-6OUQ7H6U.js.map} +0 -0
  74. /package/dist/{agentsValidate-VYC6EVAS.js.map → agentsValidate-J2PNDNBM.js.map} +0 -0
  75. /package/dist/{ask-QPUWA3NO.js.map → ask-3BZLIIBS.js.map} +0 -0
  76. /package/dist/{autoUpdater-635VM36P.js.map → autoUpdater-QBVI6CTI.js.map} +0 -0
  77. /package/dist/{chunk-D37O2VAS.js.map → chunk-2AMK6VUE.js.map} +0 -0
  78. /package/dist/{chunk-SK5B5Y3H.js.map → chunk-B3P6TUJQ.js.map} +0 -0
  79. /package/dist/{chunk-CO54QZDM.js.map → chunk-CKSCNSGO.js.map} +0 -0
  80. /package/dist/{chunk-JHLYQLDR.js.map → chunk-DQ3QQRPV.js.map} +0 -0
  81. /package/dist/{chunk-K3UPGA4J.js.map → chunk-ENRBBQDN.js.map} +0 -0
  82. /package/dist/{chunk-ACTFQQFN.js.map → chunk-G3QWUH66.js.map} +0 -0
  83. /package/dist/{chunk-2KKQDLKQ.js.map → chunk-HTWMNXVH.js.map} +0 -0
  84. /package/dist/{chunk-RBBUU2DF.js.map → chunk-INNHNGP3.js.map} +0 -0
  85. /package/dist/{chunk-FXB6TMAI.js.map → chunk-J6YTGLVB.js.map} +0 -0
  86. /package/dist/{chunk-RIOIJXFA.js.map → chunk-JMAZ43RF.js.map} +0 -0
  87. /package/dist/{chunk-64WKFBDO.js.map → chunk-JS6WJUEJ.js.map} +0 -0
  88. /package/dist/{chunk-AS6JW5BZ.js.map → chunk-KDCZKRCN.js.map} +0 -0
  89. /package/dist/{chunk-GZLYNVI5.js.map → chunk-MYIG6T5F.js.map} +0 -0
  90. /package/dist/{chunk-6RWWNWOS.js.map → chunk-OKLVL6BJ.js.map} +0 -0
  91. /package/dist/{chunk-7EP7KWCY.js.map → chunk-QI6HL74P.js.map} +0 -0
  92. /package/dist/{chunk-QYZDCRZY.js.map → chunk-QM7M2ER7.js.map} +0 -0
  93. /package/dist/{chunk-IFC5ZQBA.js.map → chunk-RW4L32HN.js.map} +0 -0
  94. /package/dist/{chunk-HD5FEXJG.js.map → chunk-RWLCKRAI.js.map} +0 -0
  95. /package/dist/{chunk-WDLD43PP.js.map → chunk-VKA3GRQ7.js.map} +0 -0
  96. /package/dist/{chunk-HMJCUNVW.js.map → chunk-VXKMO6OQ.js.map} +0 -0
  97. /package/dist/{chunk-5UB3SOX7.js.map → chunk-W3BXW7II.js.map} +0 -0
  98. /package/dist/{chunk-S5WP2LOV.js.map → chunk-WZPKTYHT.js.map} +0 -0
  99. /package/dist/{chunk-NPDDRUQH.js.map → chunk-XUTLA6YR.js.map} +0 -0
  100. /package/dist/{chunk-BSFVYDCB.js.map → chunk-ZFULAWUS.js.map} +0 -0
  101. /package/dist/{chunk-Q2XSXVMZ.js.map → chunk-ZYC4DB3G.js.map} +0 -0
  102. /package/dist/{cli-AQ5YDYRF.js.map → cli-XVMAAFAL.js.map} +0 -0
  103. /package/dist/{commands-BY46LCQ7.js.map → commands-XQBJLM5C.js.map} +0 -0
  104. /package/dist/{config-GSL2P4KS.js.map → config-MPTOPKTC.js.map} +0 -0
  105. /package/dist/{context-FF4G3DXK.js.map → context-AS5YCQ7Q.js.map} +0 -0
  106. /package/dist/{customCommands-MDK4S56R.js.map → customCommands-MWT24UO2.js.map} +0 -0
  107. /package/dist/{env-IH7LGUF3.js.map → env-BD4TLPUJ.js.map} +0 -0
  108. /package/dist/{llm-6P5NDUEG.js.map → llm-TYCMK2E6.js.map} +0 -0
  109. /package/dist/{llmLazy-52ASU3EE.js.map → llmLazy-BYDLIART.js.map} +0 -0
  110. /package/dist/{loader-CDSPDRPD.js.map → loader-5TWPQP3K.js.map} +0 -0
  111. /package/dist/{mcp-Y6ETPNYP.js.map → mcp-XDNI7GJV.js.map} +0 -0
  112. /package/dist/{mentionProcessor-35VZ7W3E.js.map → mentionProcessor-V4567WI5.js.map} +0 -0
  113. /package/dist/{messages-6XCXESET.js.map → messages-K7ABTOPV.js.map} +0 -0
  114. /package/dist/{model-ML44HYI7.js.map → model-ATBQ44KG.js.map} +0 -0
  115. /package/dist/{openai-RW3IN7KT.js.map → openai-ED25JRUI.js.map} +0 -0
  116. /package/dist/{outputStyles-Y24FUIIO.js.map → outputStyles-P5GC3SJX.js.map} +0 -0
  117. /package/dist/{pluginRuntime-FIOM2MXH.js.map → pluginRuntime-ZQL56D63.js.map} +0 -0
  118. /package/dist/{pluginValidation-GEXKXZ75.js.map → pluginValidation-66AAHNBG.js.map} +0 -0
  119. /package/dist/{prompts-DILKYQ74.js.map → prompts-KDX7FM3E.js.map} +0 -0
  120. /package/dist/{pybAgentSessionLoad-FX3IZ2TC.js.map → pybAgentSessionLoad-GD3Z6LAG.js.map} +0 -0
  121. /package/dist/{pybAgentSessionResume-7477WJNJ.js.map → pybAgentSessionResume-IKOTCDZW.js.map} +0 -0
  122. /package/dist/{pybAgentStreamJsonSession-5WR47CJA.js.map → pybAgentStreamJsonSession-IUMN533Q.js.map} +0 -0
  123. /package/dist/{pybHooks-HRM55TSD.js.map → pybHooks-ECZOIQMS.js.map} +0 -0
  124. /package/dist/{query-AYJOPC3P.js.map → query-QCVQ7T76.js.map} +0 -0
  125. /package/dist/{ripgrep-M4TPNCDI.js.map → ripgrep-BLLSBEDA.js.map} +0 -0
  126. /package/dist/{skillMarketplace-7H7CESZW.js.map → skillMarketplace-XXFHN2HH.js.map} +0 -0
  127. /package/dist/{state-XSKBKB2C.js.map → state-OWOACNRS.js.map} +0 -0
  128. /package/dist/{theme-3IPDEBP7.js.map → theme-Y46LR7UJ.js.map} +0 -0
  129. /package/dist/{toolPermissionSettings-4H2H2JKG.js.map → toolPermissionSettings-HHGJYLGQ.js.map} +0 -0
  130. /package/dist/{tools-W7P3JOYP.js.map → tools-6FBXOCLI.js.map} +0 -0
  131. /package/dist/{userInput-65IUQX4I.js.map → userInput-FKO2RVA5.js.map} +0 -0
@@ -2,7 +2,7 @@ import { createRequire as __pybCreateRequire } from "node:module";
2
2
  const require = __pybCreateRequire(import.meta.url);
3
3
  import {
4
4
  listPybAgentSessions
5
- } from "./chunk-HMJCUNVW.js";
5
+ } from "./chunk-VXKMO6OQ.js";
6
6
  import {
7
7
  DEFAULT_TIMEOUT_MS,
8
8
  FallbackToolUseRejectedMessage,
@@ -16,11 +16,11 @@ import {
16
16
  listMCPServers,
17
17
  loadMergedSettings,
18
18
  normalizeSandboxRuntimeConfigFromSettings
19
- } from "./chunk-K3UPGA4J.js";
19
+ } from "./chunk-ENRBBQDN.js";
20
20
  import {
21
21
  formatValidationResult,
22
22
  validatePluginOrMarketplacePath
23
- } from "./chunk-CO54QZDM.js";
23
+ } from "./chunk-CKSCNSGO.js";
24
24
  import {
25
25
  addMarketplace,
26
26
  disableSkillPlugin,
@@ -33,15 +33,15 @@ import {
33
33
  refreshMarketplaceAsync,
34
34
  removeMarketplace,
35
35
  uninstallSkillPlugin
36
- } from "./chunk-AS6JW5BZ.js";
36
+ } from "./chunk-KDCZKRCN.js";
37
37
  import {
38
38
  loadPybAgentSessionMessages
39
- } from "./chunk-5UB3SOX7.js";
39
+ } from "./chunk-W3BXW7II.js";
40
40
  import {
41
41
  appendSessionCustomTitleRecord,
42
42
  appendSessionJsonlFromMessage,
43
43
  appendSessionTagRecord
44
- } from "./chunk-JHLYQLDR.js";
44
+ } from "./chunk-DQ3QQRPV.js";
45
45
  import {
46
46
  getRequestStatus,
47
47
  setRequestStatus,
@@ -58,7 +58,7 @@ import {
58
58
  runStopHooks,
59
59
  runUserPromptSubmitHooks,
60
60
  updateHookTranscriptForMessages
61
- } from "./chunk-NPDDRUQH.js";
61
+ } from "./chunk-XUTLA6YR.js";
62
62
  import {
63
63
  getPybAgentSessionId,
64
64
  setPybAgentSessionId
@@ -71,35 +71,35 @@ import {
71
71
  getOutputStyleSystemPromptAdditions,
72
72
  resolveOutputStyleName,
73
73
  setCurrentOutputStyle
74
- } from "./chunk-6RWWNWOS.js";
74
+ } from "./chunk-OKLVL6BJ.js";
75
75
  import {
76
76
  fetchCustomModels,
77
77
  getModelFeatures
78
- } from "./chunk-FXB6TMAI.js";
78
+ } from "./chunk-J6YTGLVB.js";
79
79
  import {
80
80
  queryLLM,
81
81
  queryQuick,
82
82
  verifyApiKey
83
- } from "./chunk-64WKFBDO.js";
83
+ } from "./chunk-JS6WJUEJ.js";
84
84
  import {
85
85
  listAllContentFiles,
86
86
  ripGrep,
87
87
  tree
88
- } from "./chunk-WDLD43PP.js";
88
+ } from "./chunk-VKA3GRQ7.js";
89
89
  import {
90
90
  getCustomCommandDirectories,
91
91
  hasCustomCommands,
92
92
  loadCustomCommands,
93
93
  reloadCustomCommands
94
- } from "./chunk-BSFVYDCB.js";
94
+ } from "./chunk-ZFULAWUS.js";
95
95
  import {
96
96
  loadToolPermissionContextFromDisk,
97
97
  persistToolPermissionUpdateToDisk
98
- } from "./chunk-2KKQDLKQ.js";
98
+ } from "./chunk-HTWMNXVH.js";
99
99
  import {
100
100
  getSettingsFileCandidates,
101
101
  loadSettingsWithLegacyFallback
102
- } from "./chunk-S5WP2LOV.js";
102
+ } from "./chunk-WZPKTYHT.js";
103
103
  import {
104
104
  applyToolPermissionContextUpdate,
105
105
  createDefaultToolPermissionContext
@@ -112,7 +112,7 @@ import {
112
112
  resetReminderSession,
113
113
  setTodos,
114
114
  systemReminderService
115
- } from "./chunk-RIOIJXFA.js";
115
+ } from "./chunk-JMAZ43RF.js";
116
116
  import {
117
117
  getSessionState
118
118
  } from "./chunk-ERMQRV55.js";
@@ -121,7 +121,7 @@ import {
121
121
  getActiveAgents,
122
122
  getAgentByType,
123
123
  getAllAgents
124
- } from "./chunk-GZLYNVI5.js";
124
+ } from "./chunk-MYIG6T5F.js";
125
125
  import {
126
126
  getSessionPlugins
127
127
  } from "./chunk-BJSWTHRM.js";
@@ -154,22 +154,22 @@ import {
154
154
  processUserInput,
155
155
  reorderMessages,
156
156
  stripSystemMessages
157
- } from "./chunk-IFC5ZQBA.js";
157
+ } from "./chunk-RW4L32HN.js";
158
158
  import {
159
159
  ModelManager,
160
160
  getModelManager,
161
161
  isDefaultSlowAndCapableModel
162
- } from "./chunk-Q2XSXVMZ.js";
162
+ } from "./chunk-ZYC4DB3G.js";
163
163
  import {
164
164
  getCodeStyle,
165
165
  getContext,
166
166
  getGitState,
167
167
  getIsGit,
168
168
  getProjectDocs
169
- } from "./chunk-RBBUU2DF.js";
169
+ } from "./chunk-INNHNGP3.js";
170
170
  import {
171
171
  getTheme
172
- } from "./chunk-QYZDCRZY.js";
172
+ } from "./chunk-QM7M2ER7.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-7EP7KWCY.js";
185
+ } from "./chunk-QI6HL74P.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-D37O2VAS.js";
194
+ } from "./chunk-2AMK6VUE.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-SK5B5Y3H.js";
230
+ } from "./chunk-B3P6TUJQ.js";
231
231
  import {
232
232
  MACRO
233
- } from "./chunk-S47PTAAR.js";
233
+ } from "./chunk-U5YVY2ZJ.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-6P5NDUEG.js");
421
+ const { API_ERROR_MESSAGE_PREFIX: API_ERROR_MESSAGE_PREFIX2, queryQuick: queryQuick2 } = await import("./llm-TYCMK2E6.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-6P5NDUEG.js");
4461
+ const { API_ERROR_MESSAGE_PREFIX: API_ERROR_MESSAGE_PREFIX2, queryLLM: queryLLM2 } = await import("./llm-TYCMK2E6.js");
4462
4462
  const messages = [
4463
4463
  {
4464
4464
  type: "user",
@@ -11013,7 +11013,7 @@ async function createAndStoreApiKey(accessToken) {
11013
11013
  }
11014
11014
  saveGlobalConfig(config2);
11015
11015
  try {
11016
- const { resetAnthropicClient } = await import("./llm-6P5NDUEG.js");
11016
+ const { resetAnthropicClient } = await import("./llm-TYCMK2E6.js");
11017
11017
  resetAnthropicClient();
11018
11018
  } catch {
11019
11019
  }
@@ -15295,7 +15295,7 @@ async function refreshPluginRuntimeFromInstalls() {
15295
15295
  const existingRoots = getSessionPlugins().map((p) => p.rootDir);
15296
15296
  const dirs = Array.from(/* @__PURE__ */ new Set([...existingRoots, ...installedRoots]));
15297
15297
  if (dirs.length === 0) return [];
15298
- const { configureSessionPlugins } = await import("./pluginRuntime-FIOM2MXH.js");
15298
+ const { configureSessionPlugins } = await import("./pluginRuntime-ZQL56D63.js");
15299
15299
  const { errors } = await configureSessionPlugins({ pluginDirs: dirs });
15300
15300
  return errors;
15301
15301
  }
@@ -15964,7 +15964,7 @@ async function call(onDone, context) {
15964
15964
  ModelConfig,
15965
15965
  {
15966
15966
  onClose: () => {
15967
- import("./model-ML44HYI7.js").then(({ reloadModelManager: reloadModelManager2 }) => {
15967
+ import("./model-ATBQ44KG.js").then(({ reloadModelManager: reloadModelManager2 }) => {
15968
15968
  reloadModelManager2();
15969
15969
  triggerModelConfigChange();
15970
15970
  onDone();
@@ -23223,7 +23223,7 @@ function useStatusLine() {
23223
23223
  // src/ui/components/PromptInput.tsx
23224
23224
  async function interpretHashCommand(input) {
23225
23225
  try {
23226
- const { queryQuick: queryQuick2 } = await import("./llm-6P5NDUEG.js");
23226
+ const { queryQuick: queryQuick2 } = await import("./llm-TYCMK2E6.js");
23227
23227
  const systemPrompt = [
23228
23228
  "You're helping the user structure notes that will be added to their PYB.md file.",
23229
23229
  "Format the user's input into a well-structured note that will be useful for later reference.",
@@ -23536,7 +23536,7 @@ function PromptInput({
23536
23536
  if (messages2.length) {
23537
23537
  if (mode === "bash") {
23538
23538
  onQuery(messages2, newAbortController).then(async () => {
23539
- const { getCwd: getCwd2 } = await import("./state-XSKBKB2C.js");
23539
+ const { getCwd: getCwd2 } = await import("./state-OWOACNRS.js");
23540
23540
  setCurrentPwd(getCwd2());
23541
23541
  });
23542
23542
  } else {
@@ -26322,7 +26322,7 @@ import { homedir as homedir7 } from "os";
26322
26322
  // src/commands/agents/generation.ts
26323
26323
  import { randomUUID as randomUUID5 } from "crypto";
26324
26324
  async function generateAgentWithClaude(prompt) {
26325
- const { queryModel } = await import("./llm-6P5NDUEG.js");
26325
+ const { queryModel } = await import("./llm-TYCMK2E6.js");
26326
26326
  const systemPrompt = `You are an expert at creating AI agent configurations. Based on the user's description, generate a specialized agent configuration.
26327
26327
 
26328
26328
  Return your response as a JSON object with exactly these fields:
@@ -29492,7 +29492,16 @@ function WebFetchPermissionRequest({
29492
29492
 
29493
29493
  // src/utils/tree-sitter/loader.ts
29494
29494
  import { Parser, Language } from "web-tree-sitter";
29495
+ import { fileURLToPath } from "url";
29495
29496
  import path5 from "path";
29497
+ var getDirname = () => {
29498
+ try {
29499
+ return __dirname;
29500
+ } catch {
29501
+ return path5.dirname(fileURLToPath(import.meta.url));
29502
+ }
29503
+ };
29504
+ var _dirname = getDirname();
29496
29505
  var parserCache = /* @__PURE__ */ new Map();
29497
29506
  var isInitialized = false;
29498
29507
  var LANGUAGE_MAP = {
@@ -29521,10 +29530,10 @@ var LANGUAGE_MAP = {
29521
29530
  async function ensureInitialized() {
29522
29531
  if (isInitialized) return;
29523
29532
  let resourcesDir;
29524
- if (__dirname.includes("dist") || __dirname.includes("node_modules")) {
29525
- resourcesDir = path5.resolve(__dirname, "../resources/tree-sitter");
29533
+ if (_dirname.includes("dist") || _dirname.includes("node_modules")) {
29534
+ resourcesDir = path5.resolve(_dirname, "../resources/tree-sitter");
29526
29535
  } else {
29527
- resourcesDir = path5.resolve(__dirname, "../../../resources/tree-sitter");
29536
+ resourcesDir = path5.resolve(_dirname, "../../../resources/tree-sitter");
29528
29537
  }
29529
29538
  const treeWasmPath = path5.join(resourcesDir, "tree-sitter.wasm");
29530
29539
  await Parser.init({
@@ -29543,10 +29552,10 @@ var loadLanguage = async (lang) => {
29543
29552
  }
29544
29553
  try {
29545
29554
  let resourcesDir;
29546
- if (__dirname.includes("dist") || __dirname.includes("node_modules")) {
29547
- resourcesDir = path5.resolve(__dirname, "../resources/tree-sitter");
29555
+ if (_dirname.includes("dist") || _dirname.includes("node_modules")) {
29556
+ resourcesDir = path5.resolve(_dirname, "../resources/tree-sitter");
29548
29557
  } else {
29549
- resourcesDir = path5.resolve(__dirname, "../../../resources/tree-sitter");
29558
+ resourcesDir = path5.resolve(_dirname, "../../../resources/tree-sitter");
29550
29559
  }
29551
29560
  const wasmPath = path5.join(resourcesDir, fileName);
29552
29561
  const language = await Language.load(wasmPath);