pybao-cli 1.3.98 → 1.3.99

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 (147) hide show
  1. package/dist/REPL-35WMIAEP.js +47 -0
  2. package/dist/{acp-KGDBJEZM.js → acp-XZAGDT3N.js} +29 -29
  3. package/dist/{agentsValidate-44ZL6CU7.js → agentsValidate-ZPLW7S35.js} +7 -7
  4. package/dist/{ask-UQQJRBXC.js → ask-ROXENA55.js} +28 -28
  5. package/dist/{autoUpdater-VLX3NCAD.js → autoUpdater-NDX26QV7.js} +3 -3
  6. package/dist/{chunk-GGO6HMMS.js → chunk-2ULPCMQN.js} +2 -2
  7. package/dist/{chunk-4DMLFQ6M.js → chunk-2WVYPGFK.js} +2 -2
  8. package/dist/{chunk-FYYSOZC7.js → chunk-3HVYGUQ7.js} +3 -3
  9. package/dist/{chunk-55V32BQI.js → chunk-44DDEUXT.js} +16 -16
  10. package/dist/{chunk-LY56HBFK.js → chunk-47PFBKB5.js} +3 -3
  11. package/dist/{chunk-3CM4GHNR.js → chunk-4NRDC2MN.js} +2 -2
  12. package/dist/{chunk-TXBPCCRE.js → chunk-5ON6SGBK.js} +1 -1
  13. package/dist/{chunk-TXBPCCRE.js.map → chunk-5ON6SGBK.js.map} +1 -1
  14. package/dist/{chunk-ZPVUGGYA.js → chunk-B6YMKCYD.js} +2 -2
  15. package/dist/{chunk-4HNMLCPZ.js → chunk-BXOS6YEB.js} +3 -3
  16. package/dist/{chunk-B5Q3NPPE.js → chunk-CGHZ2VAY.js} +1 -1
  17. package/dist/{chunk-K3BD4OVM.js → chunk-CMQGXFRW.js} +1 -1
  18. package/dist/{chunk-R7GBUD66.js → chunk-EY2TENGG.js} +1 -1
  19. package/dist/{chunk-2QRVX2CJ.js → chunk-HN63ZGCX.js} +4 -4
  20. package/dist/{chunk-ZG5IWBYT.js → chunk-I23P7CAV.js} +3 -3
  21. package/dist/{chunk-54D3G6Q6.js → chunk-JFW7GGFH.js} +4 -4
  22. package/dist/{chunk-KD4UN4E7.js → chunk-L5MUGKPW.js} +3 -3
  23. package/dist/{chunk-EL3VSBLN.js → chunk-M2J4YYEX.js} +93 -36
  24. package/dist/{chunk-EL3VSBLN.js.map → chunk-M2J4YYEX.js.map} +2 -2
  25. package/dist/{chunk-BNRAPYWK.js → chunk-Q6XLF2PE.js} +1 -1
  26. package/dist/{chunk-RGOG2FCR.js → chunk-QX6FKMRR.js} +6 -3
  27. package/dist/chunk-QX6FKMRR.js.map +7 -0
  28. package/dist/{chunk-QYHEP5T2.js → chunk-T4EFAH55.js} +1 -1
  29. package/dist/{chunk-EC7O274M.js → chunk-U5J6MTAO.js} +2 -2
  30. package/dist/{chunk-S5FTUHPH.js → chunk-VWENSRU2.js} +1 -1
  31. package/dist/{chunk-SPX4Q5Z5.js → chunk-VYINZ75I.js} +359 -41
  32. package/dist/chunk-VYINZ75I.js.map +7 -0
  33. package/dist/{chunk-XTA2HSUL.js → chunk-W3RWB5JG.js} +4 -4
  34. package/dist/{chunk-WHJRTHTN.js → chunk-WWYDMHKU.js} +1 -1
  35. package/dist/{chunk-FKCPEPP7.js → chunk-X6KY4AMW.js} +2 -2
  36. package/dist/{chunk-M2D5CMNE.js → chunk-XLOFU6ZK.js} +1 -1
  37. package/dist/{chunk-66T64NT6.js → chunk-YOK3FML7.js} +1 -1
  38. package/dist/{chunk-3EP5IIWI.js → chunk-ZFDSP2ES.js} +2 -2
  39. package/dist/{chunk-MNKXUCNA.js → chunk-ZI6CKPRG.js} +3 -3
  40. package/dist/{cli-FIJNCN67.js → cli-W6BTK6IG.js} +87 -87
  41. package/dist/commands-OGUECGBR.js +51 -0
  42. package/dist/{config-3I5YMAFL.js → config-MJPE676F.js} +4 -4
  43. package/dist/{context-5X2SORJY.js → context-XLNMR7UJ.js} +6 -6
  44. package/dist/{customCommands-5SPC62ZC.js → customCommands-NJWIPIRB.js} +4 -4
  45. package/dist/{env-57IO6RNL.js → env-UNJ7A6Y6.js} +2 -2
  46. package/dist/{file-NKD5PPBY.js → file-CYIU2LVL.js} +4 -4
  47. package/dist/index.js +3 -3
  48. package/dist/{llm-LYDFVXMB.js → llm-XG5AIU4E.js} +29 -29
  49. package/dist/{llmLazy-DFEN7PAI.js → llmLazy-7HIZGF35.js} +1 -1
  50. package/dist/{loader-2GIAZ3HL.js → loader-3PAJ74VN.js} +4 -4
  51. package/dist/{lsp-W3AXFJZC.js → lsp-S2GYO6LP.js} +12 -8
  52. package/dist/{lspAnchor-3XTM2QPQ.js → lspAnchor-VZAH2A7D.js} +6 -6
  53. package/dist/{mcp-JQIJRSYG.js → mcp-36TM4EWY.js} +7 -7
  54. package/dist/{mentionProcessor-NZHHCLSE.js → mentionProcessor-YIBFG2BE.js} +5 -5
  55. package/dist/{messages-KF3S4HA4.js → messages-GMVNWQYB.js} +1 -1
  56. package/dist/{model-W2UGEFKK.js → model-QA5R6ZTQ.js} +5 -5
  57. package/dist/{openai-PH32RG3H.js → openai-AISJCDRB.js} +5 -5
  58. package/dist/{outputStyles-CHW6K32O.js → outputStyles-UNF5PJDX.js} +4 -4
  59. package/dist/{pluginRuntime-S4DHYH3R.js → pluginRuntime-OPB7TGEW.js} +6 -6
  60. package/dist/{pluginValidation-Z5BRZ656.js → pluginValidation-GNC62BIO.js} +6 -6
  61. package/dist/prompts-H6FALR72.js +53 -0
  62. package/dist/{pybAgentSessionLoad-PRWBEGFD.js → pybAgentSessionLoad-FZKVG353.js} +4 -4
  63. package/dist/{pybAgentSessionResume-B5TXVDBS.js → pybAgentSessionResume-HHSBJMUF.js} +4 -4
  64. package/dist/{pybAgentStreamJsonSession-WABCNXJI.js → pybAgentStreamJsonSession-UZOLZ2EE.js} +1 -1
  65. package/dist/{pybHooks-LBVVFRME.js → pybHooks-BDHY2ZPR.js} +4 -4
  66. package/dist/query-XTV7VLUK.js +55 -0
  67. package/dist/{registry-DUUU5OUB.js → registry-YC7VJDV4.js} +5 -5
  68. package/dist/{ripgrep-I3NSKTZL.js → ripgrep-HXHIAV7L.js} +3 -3
  69. package/dist/{skillMarketplace-TDHDU5LH.js → skillMarketplace-4F6MUJZA.js} +3 -3
  70. package/dist/{state-D2YJSF7H.js → state-BVQ44522.js} +2 -2
  71. package/dist/{theme-CDRFD75G.js → theme-VG4SDCTS.js} +5 -5
  72. package/dist/{toolPermissionSettings-OLOBSKXT.js → toolPermissionSettings-V4VXC5RQ.js} +6 -6
  73. package/dist/tools-WZEQJIS5.js +52 -0
  74. package/dist/{userInput-4S25MAFS.js → userInput-4FUGSRKW.js} +30 -30
  75. package/package.json +1 -1
  76. package/dist/REPL-X3SUAQOK.js +0 -47
  77. package/dist/chunk-RGOG2FCR.js.map +0 -7
  78. package/dist/chunk-SPX4Q5Z5.js.map +0 -7
  79. package/dist/commands-ZNF6VSDT.js +0 -51
  80. package/dist/prompts-EYJMD23J.js +0 -53
  81. package/dist/query-ENVGHGXY.js +0 -55
  82. package/dist/tools-RCVS7632.js +0 -52
  83. /package/dist/{REPL-X3SUAQOK.js.map → REPL-35WMIAEP.js.map} +0 -0
  84. /package/dist/{acp-KGDBJEZM.js.map → acp-XZAGDT3N.js.map} +0 -0
  85. /package/dist/{agentsValidate-44ZL6CU7.js.map → agentsValidate-ZPLW7S35.js.map} +0 -0
  86. /package/dist/{ask-UQQJRBXC.js.map → ask-ROXENA55.js.map} +0 -0
  87. /package/dist/{autoUpdater-VLX3NCAD.js.map → autoUpdater-NDX26QV7.js.map} +0 -0
  88. /package/dist/{chunk-GGO6HMMS.js.map → chunk-2ULPCMQN.js.map} +0 -0
  89. /package/dist/{chunk-4DMLFQ6M.js.map → chunk-2WVYPGFK.js.map} +0 -0
  90. /package/dist/{chunk-FYYSOZC7.js.map → chunk-3HVYGUQ7.js.map} +0 -0
  91. /package/dist/{chunk-55V32BQI.js.map → chunk-44DDEUXT.js.map} +0 -0
  92. /package/dist/{chunk-LY56HBFK.js.map → chunk-47PFBKB5.js.map} +0 -0
  93. /package/dist/{chunk-3CM4GHNR.js.map → chunk-4NRDC2MN.js.map} +0 -0
  94. /package/dist/{chunk-ZPVUGGYA.js.map → chunk-B6YMKCYD.js.map} +0 -0
  95. /package/dist/{chunk-4HNMLCPZ.js.map → chunk-BXOS6YEB.js.map} +0 -0
  96. /package/dist/{chunk-B5Q3NPPE.js.map → chunk-CGHZ2VAY.js.map} +0 -0
  97. /package/dist/{chunk-K3BD4OVM.js.map → chunk-CMQGXFRW.js.map} +0 -0
  98. /package/dist/{chunk-R7GBUD66.js.map → chunk-EY2TENGG.js.map} +0 -0
  99. /package/dist/{chunk-2QRVX2CJ.js.map → chunk-HN63ZGCX.js.map} +0 -0
  100. /package/dist/{chunk-ZG5IWBYT.js.map → chunk-I23P7CAV.js.map} +0 -0
  101. /package/dist/{chunk-54D3G6Q6.js.map → chunk-JFW7GGFH.js.map} +0 -0
  102. /package/dist/{chunk-KD4UN4E7.js.map → chunk-L5MUGKPW.js.map} +0 -0
  103. /package/dist/{chunk-BNRAPYWK.js.map → chunk-Q6XLF2PE.js.map} +0 -0
  104. /package/dist/{chunk-QYHEP5T2.js.map → chunk-T4EFAH55.js.map} +0 -0
  105. /package/dist/{chunk-EC7O274M.js.map → chunk-U5J6MTAO.js.map} +0 -0
  106. /package/dist/{chunk-S5FTUHPH.js.map → chunk-VWENSRU2.js.map} +0 -0
  107. /package/dist/{chunk-XTA2HSUL.js.map → chunk-W3RWB5JG.js.map} +0 -0
  108. /package/dist/{chunk-WHJRTHTN.js.map → chunk-WWYDMHKU.js.map} +0 -0
  109. /package/dist/{chunk-FKCPEPP7.js.map → chunk-X6KY4AMW.js.map} +0 -0
  110. /package/dist/{chunk-M2D5CMNE.js.map → chunk-XLOFU6ZK.js.map} +0 -0
  111. /package/dist/{chunk-66T64NT6.js.map → chunk-YOK3FML7.js.map} +0 -0
  112. /package/dist/{chunk-3EP5IIWI.js.map → chunk-ZFDSP2ES.js.map} +0 -0
  113. /package/dist/{chunk-MNKXUCNA.js.map → chunk-ZI6CKPRG.js.map} +0 -0
  114. /package/dist/{cli-FIJNCN67.js.map → cli-W6BTK6IG.js.map} +0 -0
  115. /package/dist/{commands-ZNF6VSDT.js.map → commands-OGUECGBR.js.map} +0 -0
  116. /package/dist/{config-3I5YMAFL.js.map → config-MJPE676F.js.map} +0 -0
  117. /package/dist/{context-5X2SORJY.js.map → context-XLNMR7UJ.js.map} +0 -0
  118. /package/dist/{customCommands-5SPC62ZC.js.map → customCommands-NJWIPIRB.js.map} +0 -0
  119. /package/dist/{env-57IO6RNL.js.map → env-UNJ7A6Y6.js.map} +0 -0
  120. /package/dist/{file-NKD5PPBY.js.map → file-CYIU2LVL.js.map} +0 -0
  121. /package/dist/{llm-LYDFVXMB.js.map → llm-XG5AIU4E.js.map} +0 -0
  122. /package/dist/{llmLazy-DFEN7PAI.js.map → llmLazy-7HIZGF35.js.map} +0 -0
  123. /package/dist/{loader-2GIAZ3HL.js.map → loader-3PAJ74VN.js.map} +0 -0
  124. /package/dist/{lsp-W3AXFJZC.js.map → lsp-S2GYO6LP.js.map} +0 -0
  125. /package/dist/{lspAnchor-3XTM2QPQ.js.map → lspAnchor-VZAH2A7D.js.map} +0 -0
  126. /package/dist/{mcp-JQIJRSYG.js.map → mcp-36TM4EWY.js.map} +0 -0
  127. /package/dist/{mentionProcessor-NZHHCLSE.js.map → mentionProcessor-YIBFG2BE.js.map} +0 -0
  128. /package/dist/{messages-KF3S4HA4.js.map → messages-GMVNWQYB.js.map} +0 -0
  129. /package/dist/{model-W2UGEFKK.js.map → model-QA5R6ZTQ.js.map} +0 -0
  130. /package/dist/{openai-PH32RG3H.js.map → openai-AISJCDRB.js.map} +0 -0
  131. /package/dist/{outputStyles-CHW6K32O.js.map → outputStyles-UNF5PJDX.js.map} +0 -0
  132. /package/dist/{pluginRuntime-S4DHYH3R.js.map → pluginRuntime-OPB7TGEW.js.map} +0 -0
  133. /package/dist/{pluginValidation-Z5BRZ656.js.map → pluginValidation-GNC62BIO.js.map} +0 -0
  134. /package/dist/{prompts-EYJMD23J.js.map → prompts-H6FALR72.js.map} +0 -0
  135. /package/dist/{pybAgentSessionLoad-PRWBEGFD.js.map → pybAgentSessionLoad-FZKVG353.js.map} +0 -0
  136. /package/dist/{pybAgentSessionResume-B5TXVDBS.js.map → pybAgentSessionResume-HHSBJMUF.js.map} +0 -0
  137. /package/dist/{pybAgentStreamJsonSession-WABCNXJI.js.map → pybAgentStreamJsonSession-UZOLZ2EE.js.map} +0 -0
  138. /package/dist/{pybHooks-LBVVFRME.js.map → pybHooks-BDHY2ZPR.js.map} +0 -0
  139. /package/dist/{query-ENVGHGXY.js.map → query-XTV7VLUK.js.map} +0 -0
  140. /package/dist/{registry-DUUU5OUB.js.map → registry-YC7VJDV4.js.map} +0 -0
  141. /package/dist/{ripgrep-I3NSKTZL.js.map → ripgrep-HXHIAV7L.js.map} +0 -0
  142. /package/dist/{skillMarketplace-TDHDU5LH.js.map → skillMarketplace-4F6MUJZA.js.map} +0 -0
  143. /package/dist/{state-D2YJSF7H.js.map → state-BVQ44522.js.map} +0 -0
  144. /package/dist/{theme-CDRFD75G.js.map → theme-VG4SDCTS.js.map} +0 -0
  145. /package/dist/{toolPermissionSettings-OLOBSKXT.js.map → toolPermissionSettings-V4VXC5RQ.js.map} +0 -0
  146. /package/dist/{tools-RCVS7632.js.map → tools-WZEQJIS5.js.map} +0 -0
  147. /package/dist/{userInput-4S25MAFS.js.map → userInput-4FUGSRKW.js.map} +0 -0
@@ -4,10 +4,10 @@ import {
4
4
  PRODUCT_NAME,
5
5
  execFileNoThrow,
6
6
  logError
7
- } from "./chunk-K3BD4OVM.js";
7
+ } from "./chunk-CMQGXFRW.js";
8
8
  import {
9
9
  MACRO
10
- } from "./chunk-TXBPCCRE.js";
10
+ } from "./chunk-5ON6SGBK.js";
11
11
 
12
12
  // src/utils/session/autoUpdater.ts
13
13
  async function getSemver() {
@@ -82,7 +82,7 @@ async function checkAndNotifyUpdate() {
82
82
  const [
83
83
  { isAutoUpdaterDisabled, getGlobalConfig, saveGlobalConfig },
84
84
  { env }
85
- ] = await Promise.all([import("./config-3I5YMAFL.js"), import("./env-57IO6RNL.js")]);
85
+ ] = await Promise.all([import("./config-MJPE676F.js"), import("./env-UNJ7A6Y6.js")]);
86
86
  if (await isAutoUpdaterDisabled()) return;
87
87
  if (await env.getIsDocker()) return;
88
88
  if (!await env.hasInternetAccess()) return;
@@ -2,23 +2,23 @@ import { createRequire as __pybCreateRequire } from "node:module";
2
2
  const require = __pybCreateRequire(import.meta.url);
3
3
  import {
4
4
  ripGrepWithStatus
5
- } from "./chunk-S5FTUHPH.js";
5
+ } from "./chunk-VWENSRU2.js";
6
6
  import {
7
7
  getCurrentProjectConfig,
8
8
  getGlobalConfig,
9
9
  getOrCreateUserID,
10
10
  saveCurrentProjectConfig
11
- } from "./chunk-MNKXUCNA.js";
11
+ } from "./chunk-ZI6CKPRG.js";
12
12
  import {
13
13
  SESSION_ID,
14
14
  env,
15
15
  execFileNoThrow,
16
16
  getCwd,
17
17
  logError
18
- } from "./chunk-K3BD4OVM.js";
18
+ } from "./chunk-CMQGXFRW.js";
19
19
  import {
20
20
  MACRO
21
- } from "./chunk-TXBPCCRE.js";
21
+ } from "./chunk-5ON6SGBK.js";
22
22
  import {
23
23
  __require
24
24
  } from "./chunk-I3J4JYES.js";
@@ -3,13 +3,13 @@ const require = __pybCreateRequire(import.meta.url);
3
3
  import {
4
4
  getGlobalConfig,
5
5
  saveGlobalConfig
6
- } from "./chunk-MNKXUCNA.js";
6
+ } from "./chunk-ZI6CKPRG.js";
7
7
  import {
8
8
  debug
9
- } from "./chunk-QYHEP5T2.js";
9
+ } from "./chunk-T4EFAH55.js";
10
10
  import {
11
11
  logError
12
- } from "./chunk-K3BD4OVM.js";
12
+ } from "./chunk-CMQGXFRW.js";
13
13
 
14
14
  // src/utils/model/index.ts
15
15
  import { memoize } from "lodash-es";
@@ -3,18 +3,18 @@ const require = __pybCreateRequire(import.meta.url);
3
3
  import {
4
4
  formatValidationResult,
5
5
  validatePluginOrMarketplacePath
6
- } from "./chunk-4HNMLCPZ.js";
6
+ } from "./chunk-BXOS6YEB.js";
7
7
  import {
8
8
  loadPybAgentSessionMessages
9
- } from "./chunk-B5Q3NPPE.js";
9
+ } from "./chunk-CGHZ2VAY.js";
10
10
  import {
11
11
  listPybAgentSessions
12
- } from "./chunk-R7GBUD66.js";
12
+ } from "./chunk-EY2TENGG.js";
13
13
  import {
14
14
  appendSessionCustomTitleRecord,
15
15
  appendSessionJsonlFromMessage,
16
16
  appendSessionTagRecord
17
- } from "./chunk-EC7O274M.js";
17
+ } from "./chunk-U5J6MTAO.js";
18
18
  import {
19
19
  drainHookSystemPromptAdditions,
20
20
  getHookTranscriptPath,
@@ -26,7 +26,7 @@ import {
26
26
  runStopHooks,
27
27
  runUserPromptSubmitHooks,
28
28
  updateHookTranscriptForMessages
29
- } from "./chunk-FYYSOZC7.js";
29
+ } from "./chunk-3HVYGUQ7.js";
30
30
  import {
31
31
  DEFAULT_OUTPUT_STYLE,
32
32
  getAvailableOutputStyles,
@@ -35,16 +35,16 @@ import {
35
35
  getOutputStyleSystemPromptAdditions,
36
36
  resolveOutputStyleName,
37
37
  setCurrentOutputStyle
38
- } from "./chunk-3CM4GHNR.js";
38
+ } from "./chunk-4NRDC2MN.js";
39
39
  import {
40
40
  fetchCustomModels,
41
41
  getModelFeatures
42
- } from "./chunk-4DMLFQ6M.js";
42
+ } from "./chunk-2WVYPGFK.js";
43
43
  import {
44
44
  queryLLM,
45
45
  queryQuick,
46
46
  verifyApiKey
47
- } from "./chunk-2QRVX2CJ.js";
47
+ } from "./chunk-HN63ZGCX.js";
48
48
  import {
49
49
  DEFAULT_TIMEOUT_MS,
50
50
  FallbackToolUseRejectedMessage,
@@ -58,7 +58,7 @@ import {
58
58
  listMCPServers,
59
59
  loadMergedSettings,
60
60
  normalizeSandboxRuntimeConfigFromSettings
61
- } from "./chunk-XTA2HSUL.js";
61
+ } from "./chunk-W3RWB5JG.js";
62
62
  import {
63
63
  addMarketplace,
64
64
  disableSkillPlugin,
@@ -71,11 +71,11 @@ import {
71
71
  refreshMarketplaceAsync,
72
72
  removeMarketplace,
73
73
  uninstallSkillPlugin
74
- } from "./chunk-M2D5CMNE.js";
74
+ } from "./chunk-XLOFU6ZK.js";
75
75
  import {
76
76
  loadToolPermissionContextFromDisk,
77
77
  persistToolPermissionUpdateToDisk
78
- } from "./chunk-LY56HBFK.js";
78
+ } from "./chunk-47PFBKB5.js";
79
79
  import {
80
80
  applyToolPermissionContextUpdate,
81
81
  createDefaultToolPermissionContext
@@ -88,7 +88,7 @@ import {
88
88
  resetReminderSession,
89
89
  setTodos,
90
90
  systemReminderService
91
- } from "./chunk-GGO6HMMS.js";
91
+ } from "./chunk-2ULPCMQN.js";
92
92
  import {
93
93
  getSessionState
94
94
  } from "./chunk-ERMQRV55.js";
@@ -97,7 +97,7 @@ import {
97
97
  getActiveAgents,
98
98
  getAgentByType,
99
99
  getAllAgents
100
- } from "./chunk-FKCPEPP7.js";
100
+ } from "./chunk-X6KY4AMW.js";
101
101
  import {
102
102
  API_ERROR_MESSAGE_PREFIX,
103
103
  CANCEL_MESSAGE,
@@ -127,7 +127,7 @@ import {
127
127
  processUserInput,
128
128
  reorderMessages,
129
129
  stripSystemMessages
130
- } from "./chunk-WHJRTHTN.js";
130
+ } from "./chunk-WWYDMHKU.js";
131
131
  import {
132
132
  getRequestStatus,
133
133
  setRequestStatus,
@@ -157,7 +157,7 @@ import {
157
157
  normalizeFilePath,
158
158
  readTextContent,
159
159
  writeTextContent
160
- } from "./chunk-3EP5IIWI.js";
160
+ } from "./chunk-ZFDSP2ES.js";
161
161
  import {
162
162
  parseBlockEdits
163
163
  } from "./chunk-QWIBSCDN.js";
@@ -167,17 +167,17 @@ import {
167
167
  ParserRegistry,
168
168
  initParser,
169
169
  loadLanguage
170
- } from "./chunk-SPX4Q5Z5.js";
170
+ } from "./chunk-VYINZ75I.js";
171
171
  import {
172
172
  getSettingsFileCandidates,
173
173
  loadSettingsWithLegacyFallback
174
- } from "./chunk-66T64NT6.js";
174
+ } from "./chunk-YOK3FML7.js";
175
175
  import {
176
176
  getCustomCommandDirectories,
177
177
  hasCustomCommands,
178
178
  loadCustomCommands,
179
179
  reloadCustomCommands
180
- } from "./chunk-ZPVUGGYA.js";
180
+ } from "./chunk-B6YMKCYD.js";
181
181
  import {
182
182
  getSessionPlugins
183
183
  } from "./chunk-BJSWTHRM.js";
@@ -185,7 +185,7 @@ import {
185
185
  ModelManager,
186
186
  getModelManager,
187
187
  isDefaultSlowAndCapableModel
188
- } from "./chunk-KD4UN4E7.js";
188
+ } from "./chunk-L5MUGKPW.js";
189
189
  import {
190
190
  getCodeStyle,
191
191
  getContext,
@@ -193,13 +193,13 @@ import {
193
193
  getIsGit,
194
194
  getProjectDocs,
195
195
  getProjectStructureStatisticsBlock
196
- } from "./chunk-54D3G6Q6.js";
196
+ } from "./chunk-JFW7GGFH.js";
197
197
  import {
198
198
  ripGrep
199
- } from "./chunk-S5FTUHPH.js";
199
+ } from "./chunk-VWENSRU2.js";
200
200
  import {
201
201
  getTheme
202
- } from "./chunk-BNRAPYWK.js";
202
+ } from "./chunk-Q6XLF2PE.js";
203
203
  import {
204
204
  DEFAULT_GLOBAL_CONFIG,
205
205
  enableConfigs,
@@ -212,7 +212,7 @@ import {
212
212
  saveGlobalConfig,
213
213
  setAllPointersToModel,
214
214
  setModelPointer
215
- } from "./chunk-MNKXUCNA.js";
215
+ } from "./chunk-ZI6CKPRG.js";
216
216
  import {
217
217
  AbortError
218
218
  } from "./chunk-RQVLBMP7.js";
@@ -221,7 +221,7 @@ import {
221
221
  getCurrentRequest,
222
222
  logUserFriendly,
223
223
  markPhase
224
- } from "./chunk-QYHEP5T2.js";
224
+ } from "./chunk-T4EFAH55.js";
225
225
  import {
226
226
  ASCII_LOGO,
227
227
  BunShell,
@@ -260,10 +260,10 @@ import {
260
260
  setCwd,
261
261
  shouldApplyToolOutputTruncation,
262
262
  truncateToolOutput
263
- } from "./chunk-K3BD4OVM.js";
263
+ } from "./chunk-CMQGXFRW.js";
264
264
  import {
265
265
  MACRO
266
- } from "./chunk-TXBPCCRE.js";
266
+ } from "./chunk-5ON6SGBK.js";
267
267
  import {
268
268
  __export
269
269
  } from "./chunk-I3J4JYES.js";
@@ -444,7 +444,7 @@ var getCommandSubcommandPrefix = memoize(
444
444
  var getCommandPrefix = memoize(
445
445
  async (command4, abortSignal) => {
446
446
  const { systemPrompt, userPrompt } = buildBashCommandPrefixDetectionPrompt(command4);
447
- const { API_ERROR_MESSAGE_PREFIX: API_ERROR_MESSAGE_PREFIX2, queryQuick: queryQuick2 } = await import("./llm-LYDFVXMB.js");
447
+ const { API_ERROR_MESSAGE_PREFIX: API_ERROR_MESSAGE_PREFIX2, queryQuick: queryQuick2 } = await import("./llm-XG5AIU4E.js");
448
448
  const response = await queryQuick2({
449
449
  systemPrompt,
450
450
  userPrompt,
@@ -4246,7 +4246,7 @@ function formatParseError(error) {
4246
4246
  return error instanceof Error ? error.message : String(error);
4247
4247
  }
4248
4248
  async function defaultGateQuery(args) {
4249
- const { API_ERROR_MESSAGE_PREFIX: API_ERROR_MESSAGE_PREFIX2, queryLLM: queryLLM2 } = await import("./llm-LYDFVXMB.js");
4249
+ const { API_ERROR_MESSAGE_PREFIX: API_ERROR_MESSAGE_PREFIX2, queryLLM: queryLLM2 } = await import("./llm-XG5AIU4E.js");
4250
4250
  const queryLLMFn = args.queryLLMOverride ?? queryLLM2;
4251
4251
  const messages = [
4252
4252
  {
@@ -6506,7 +6506,7 @@ var FileEditTool = {
6506
6506
  const originalFileContent = currentFileContent;
6507
6507
  let totalPatch = [];
6508
6508
  const { SmartEdit } = await import("./smart-edit-AWHJDSU6.js");
6509
- const { findLspAnchor } = await import("./lspAnchor-3XTM2QPQ.js");
6509
+ const { findLspAnchor } = await import("./lspAnchor-VZAH2A7D.js");
6510
6510
  for (const op of editOperations) {
6511
6511
  const normalizedSearch = normalizeLineEndings(op.search);
6512
6512
  const normalizedReplace = normalizeLineEndings(op.replace);
@@ -11028,7 +11028,7 @@ async function createAndStoreApiKey(accessToken) {
11028
11028
  }
11029
11029
  saveGlobalConfig(config2);
11030
11030
  try {
11031
- const { resetAnthropicClient } = await import("./llm-LYDFVXMB.js");
11031
+ const { resetAnthropicClient } = await import("./llm-XG5AIU4E.js");
11032
11032
  resetAnthropicClient();
11033
11033
  } catch {
11034
11034
  }
@@ -15310,7 +15310,7 @@ async function refreshPluginRuntimeFromInstalls() {
15310
15310
  const existingRoots = getSessionPlugins().map((p) => p.rootDir);
15311
15311
  const dirs = Array.from(/* @__PURE__ */ new Set([...existingRoots, ...installedRoots]));
15312
15312
  if (dirs.length === 0) return [];
15313
- const { configureSessionPlugins } = await import("./pluginRuntime-S4DHYH3R.js");
15313
+ const { configureSessionPlugins } = await import("./pluginRuntime-OPB7TGEW.js");
15314
15314
  const { errors } = await configureSessionPlugins({ pluginDirs: dirs });
15315
15315
  return errors;
15316
15316
  }
@@ -15979,7 +15979,7 @@ async function call(onDone, context) {
15979
15979
  ModelConfig,
15980
15980
  {
15981
15981
  onClose: () => {
15982
- import("./model-W2UGEFKK.js").then(({ reloadModelManager: reloadModelManager2 }) => {
15982
+ import("./model-QA5R6ZTQ.js").then(({ reloadModelManager: reloadModelManager2 }) => {
15983
15983
  reloadModelManager2();
15984
15984
  triggerModelConfigChange();
15985
15985
  onDone();
@@ -16114,7 +16114,9 @@ var EMPTY_STATUS = {
16114
16114
  healthSummary: []
16115
16115
  },
16116
16116
  metrics: [],
16117
- requestMetrics: []
16117
+ requestMetrics: [],
16118
+ compareMetrics: [],
16119
+ tsQualityMetrics: []
16118
16120
  };
16119
16121
  function summarizeDiagnostics(entries) {
16120
16122
  return entries.reduce(
@@ -16212,6 +16214,48 @@ function formatMetricsSummary(status) {
16212
16214
  const windowText = window && Number.isFinite(window.latencySamples) && Number.isFinite(window.baselineSamples) ? ` window latency ${window.latencySamples} baseline ${window.baselineSamples}` : "";
16213
16215
  return `Metrics: spawn ${spawnCount}, request ${requestCount}${windowText}`;
16214
16216
  }
16217
+ function formatCompareMetricsSummary(status) {
16218
+ const entries = status.compareMetrics ?? [];
16219
+ if (entries.length === 0) return "AST/LSP consistency: none";
16220
+ const totalSamples = entries.reduce((acc, entry) => acc + (entry.samples ?? 0), 0);
16221
+ return `AST/LSP consistency: ${entries.length} languages, ${totalSamples} samples`;
16222
+ }
16223
+ function formatCompareMetricEntries(status) {
16224
+ const entries = status.compareMetrics ?? [];
16225
+ const sorted = [...entries].sort((a, b) => (b.samples ?? 0) - (a.samples ?? 0));
16226
+ return sorted.slice(0, 10).map((entry) => {
16227
+ const missingRate = Math.round((entry.missingRateAvg ?? 0) * 1e3) / 10;
16228
+ const extraRate = Math.round((entry.extraRateAvg ?? 0) * 1e3) / 10;
16229
+ return {
16230
+ key: `${entry.language}:${entry.samples}:${entry.lastSampleAt ?? "n/a"}`,
16231
+ line: `${entry.language} samples ${entry.samples} missing ${missingRate}% extra ${extraRate}% avgTraversal ${Math.round(entry.traversalAvg ?? 0)} avgQuery ${Math.round(entry.queryAvg ?? 0)}`
16232
+ };
16233
+ });
16234
+ }
16235
+ function formatQualityMetricsSummary(status) {
16236
+ const entries = status.tsQualityMetrics ?? [];
16237
+ if (entries.length === 0) return "Tree-Sitter quality: none";
16238
+ const totalSamples = entries.reduce((acc, entry) => acc + (entry.samples ?? 0), 0);
16239
+ return `Tree-Sitter quality: ${entries.length} languages, ${totalSamples} samples`;
16240
+ }
16241
+ function formatQualityMetricEntries(status) {
16242
+ const entries = status.tsQualityMetrics ?? [];
16243
+ const sorted = [...entries].sort((a, b) => (b.samples ?? 0) - (a.samples ?? 0));
16244
+ return sorted.slice(0, 10).map((entry) => {
16245
+ const successRate = Math.round((entry.successRate ?? 0) * 1e3) / 10;
16246
+ const emptyRate = Math.round((entry.emptyRate ?? 0) * 1e3) / 10;
16247
+ const coverage = Math.round((entry.coverageAvg ?? 0) * 1e3) / 10;
16248
+ return {
16249
+ key: `${entry.language}:${entry.samples}:${entry.lastSampleAt ?? "n/a"}`,
16250
+ line: `${entry.language} samples ${entry.samples} success ${successRate}% empty ${emptyRate}% coverage ${coverage}% avgTraversal ${Math.round(entry.traversalAvg ?? 0)} avgQuery ${Math.round(entry.queryAvg ?? 0)}`
16251
+ };
16252
+ });
16253
+ }
16254
+ function formatParseCacheSummary(status) {
16255
+ const cache = status.parseCache;
16256
+ if (!cache) return "Parse cache: none";
16257
+ return `Parse cache: incremental h${cache.incremental.hits}/m${cache.incremental.misses} size ${cache.incremental.size}, full h${cache.full.hits}/m${cache.full.misses} size ${cache.full.size}, fallback ${cache.fallbackCount}`;
16258
+ }
16215
16259
  function formatSpawnMetricEntries(status) {
16216
16260
  const entries = status.metrics ?? [];
16217
16261
  return entries.slice(0, 10).map((entry) => {
@@ -16257,6 +16301,9 @@ function normalizeStatus(status) {
16257
16301
  sampleWindow,
16258
16302
  metrics: Array.isArray(raw.metrics) ? raw.metrics : [],
16259
16303
  requestMetrics: Array.isArray(raw.requestMetrics) ? raw.requestMetrics : [],
16304
+ compareMetrics: Array.isArray(raw.compareMetrics) ? raw.compareMetrics : [],
16305
+ tsQualityMetrics: Array.isArray(raw.tsQualityMetrics) ? raw.tsQualityMetrics : [],
16306
+ parseCache: typeof raw.parseCache === "object" && raw.parseCache ? raw.parseCache : void 0,
16260
16307
  fallbacks: {
16261
16308
  documentSymbol: Array.isArray(fallbacks?.documentSymbol) ? fallbacks.documentSymbol : [],
16262
16309
  getScope: Array.isArray(fallbacks?.getScope) ? fallbacks.getScope : [],
@@ -16314,8 +16361,13 @@ function LspStatusDisplay({
16314
16361
  const fastPathEntries = formatFastPathLastFallbackEntries(normalized);
16315
16362
  const fastPathHealthEntries = formatFastPathHealthEntries(normalized);
16316
16363
  const metricsSummary = formatMetricsSummary(normalized);
16364
+ const compareSummary = formatCompareMetricsSummary(normalized);
16365
+ const qualitySummary = formatQualityMetricsSummary(normalized);
16366
+ const parseCacheSummary = formatParseCacheSummary(normalized);
16317
16367
  const spawnMetricEntries = formatSpawnMetricEntries(normalized);
16318
16368
  const requestMetricEntries = formatRequestMetricEntries(normalized);
16369
+ const compareMetricEntries = formatCompareMetricEntries(normalized);
16370
+ const qualityMetricEntries = formatQualityMetricEntries(normalized);
16319
16371
  return /* @__PURE__ */ React45.createElement(
16320
16372
  Box35,
16321
16373
  {
@@ -16332,9 +16384,14 @@ function LspStatusDisplay({
16332
16384
  /* @__PURE__ */ React45.createElement(Text39, { color: theme.secondaryText }, formatFallbackSummary(normalized)),
16333
16385
  /* @__PURE__ */ React45.createElement(Text39, { color: theme.secondaryText }, formatFastPathFailuresSummary(normalized)),
16334
16386
  /* @__PURE__ */ React45.createElement(Text39, { color: theme.secondaryText }, metricsSummary),
16387
+ /* @__PURE__ */ React45.createElement(Text39, { color: theme.secondaryText }, compareSummary),
16388
+ /* @__PURE__ */ React45.createElement(Text39, { color: theme.secondaryText }, qualitySummary),
16389
+ /* @__PURE__ */ React45.createElement(Text39, { color: theme.secondaryText }, parseCacheSummary),
16335
16390
  fastPathEntries.length > 0 ? /* @__PURE__ */ React45.createElement(Box35, { flexDirection: "column", marginTop: 1 }, /* @__PURE__ */ React45.createElement(Text39, { color: theme.secondaryText }, "FastPath last fallback:"), fastPathEntries.map((entry) => /* @__PURE__ */ React45.createElement(Box35, { key: entry.key }, /* @__PURE__ */ React45.createElement(Text39, { color: theme.secondaryText }, entry.line)))) : null,
16336
16391
  spawnMetricEntries.length > 0 ? /* @__PURE__ */ React45.createElement(Box35, { flexDirection: "column", marginTop: 1 }, /* @__PURE__ */ React45.createElement(Text39, { color: theme.secondaryText }, "Spawn metrics:"), spawnMetricEntries.map((entry) => /* @__PURE__ */ React45.createElement(Box35, { key: entry.key }, /* @__PURE__ */ React45.createElement(Text39, { color: theme.secondaryText }, entry.line)))) : null,
16337
16392
  requestMetricEntries.length > 0 ? /* @__PURE__ */ React45.createElement(Box35, { flexDirection: "column", marginTop: 1 }, /* @__PURE__ */ React45.createElement(Text39, { color: theme.secondaryText }, "Request metrics:"), requestMetricEntries.map((entry) => /* @__PURE__ */ React45.createElement(Box35, { key: entry.key }, /* @__PURE__ */ React45.createElement(Text39, { color: theme.secondaryText }, entry.line)))) : null,
16393
+ compareMetricEntries.length > 0 ? /* @__PURE__ */ React45.createElement(Box35, { flexDirection: "column", marginTop: 1 }, /* @__PURE__ */ React45.createElement(Text39, { color: theme.secondaryText }, "AST/LSP consistency:"), compareMetricEntries.map((entry) => /* @__PURE__ */ React45.createElement(Box35, { key: entry.key }, /* @__PURE__ */ React45.createElement(Text39, { color: theme.secondaryText }, entry.line)))) : null,
16394
+ qualityMetricEntries.length > 0 ? /* @__PURE__ */ React45.createElement(Box35, { flexDirection: "column", marginTop: 1 }, /* @__PURE__ */ React45.createElement(Text39, { color: theme.secondaryText }, "Tree-Sitter quality:"), qualityMetricEntries.map((entry) => /* @__PURE__ */ React45.createElement(Box35, { key: entry.key }, /* @__PURE__ */ React45.createElement(Text39, { color: theme.secondaryText }, entry.line)))) : null,
16338
16395
  fastPathHealthEntries.length > 0 ? /* @__PURE__ */ React45.createElement(Box35, { flexDirection: "column", marginTop: 1 }, /* @__PURE__ */ React45.createElement(Text39, { color: theme.secondaryText }, "FastPath health summary:"), fastPathHealthEntries.map((entry) => /* @__PURE__ */ React45.createElement(Box35, { key: entry.key }, /* @__PURE__ */ React45.createElement(Text39, { color: theme.secondaryText }, entry.line)))) : null,
16339
16396
  /* @__PURE__ */ React45.createElement(Text39, null, " "),
16340
16397
  clientNames.length === 0 ? /* @__PURE__ */ React45.createElement(Text39, { color: theme.secondaryText }, "No LSP clients initialized") : /* @__PURE__ */ React45.createElement(Box35, { flexDirection: "column" }, clientNames.map((clientName) => {
@@ -23527,7 +23584,7 @@ function useStatusLine() {
23527
23584
  // src/ui/components/PromptInput.tsx
23528
23585
  async function interpretHashCommand(input) {
23529
23586
  try {
23530
- const { queryQuick: queryQuick2 } = await import("./llm-LYDFVXMB.js");
23587
+ const { queryQuick: queryQuick2 } = await import("./llm-XG5AIU4E.js");
23531
23588
  const systemPrompt = [
23532
23589
  "You're helping the user structure notes that will be added to their PYB.md file.",
23533
23590
  "Format the user's input into a well-structured note that will be useful for later reference.",
@@ -23840,7 +23897,7 @@ function PromptInput({
23840
23897
  if (messages2.length) {
23841
23898
  if (mode === "bash") {
23842
23899
  onQuery(messages2, newAbortController).then(async () => {
23843
- const { getCwd: getCwd2 } = await import("./state-D2YJSF7H.js");
23900
+ const { getCwd: getCwd2 } = await import("./state-BVQ44522.js");
23844
23901
  setCurrentPwd(getCwd2());
23845
23902
  });
23846
23903
  } else {
@@ -26710,7 +26767,7 @@ import { homedir as homedir7 } from "os";
26710
26767
  // src/commands/agents/generation.ts
26711
26768
  import { randomUUID as randomUUID5 } from "crypto";
26712
26769
  async function generateAgentWithClaude(prompt) {
26713
- const { queryModel } = await import("./llm-LYDFVXMB.js");
26770
+ const { queryModel } = await import("./llm-XG5AIU4E.js");
26714
26771
  const systemPrompt = `You are an expert at creating AI agent configurations. Based on the user's description, generate a specialized agent configuration.
26715
26772
 
26716
26773
  Return your response as a JSON object with exactly these fields: