pybao-cli 1.3.17 → 1.3.20

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 (132) hide show
  1. package/dist/REPL-NTSMBAN3.js +42 -0
  2. package/dist/{acp-QEYLG5QK.js → acp-2JJ27DEM.js} +26 -26
  3. package/dist/{agentsValidate-W7NUR2XM.js → agentsValidate-Z4BM4EC6.js} +7 -7
  4. package/dist/{ask-FH7NQ3YX.js → ask-K6HXLLK2.js} +25 -25
  5. package/dist/{autoUpdater-U5FFOFNV.js → autoUpdater-KMO3OTDD.js} +3 -3
  6. package/dist/{chunk-PQYDCDJK.js → chunk-2RB6ZKUM.js} +1 -1
  7. package/dist/{chunk-NOC7D5AE.js → chunk-2RZ27ATX.js} +42 -99
  8. package/dist/chunk-2RZ27ATX.js.map +7 -0
  9. package/dist/{chunk-WVFBVMZU.js → chunk-45BITV3T.js} +1 -1
  10. package/dist/{chunk-TDCLQMHI.js → chunk-7HFR2XLR.js} +4 -4
  11. package/dist/{chunk-OJTTDXOY.js → chunk-7RKS5YSA.js} +4 -4
  12. package/dist/{chunk-QOYBAD6Z.js → chunk-A3IIDK3Z.js} +2 -2
  13. package/dist/{chunk-B3OQZN6L.js → chunk-A5FXNIV7.js} +2 -2
  14. package/dist/{chunk-KZI3PHPW.js → chunk-AADZRD5W.js} +2 -2
  15. package/dist/{chunk-FIRGLCKQ.js → chunk-AFJPHDZP.js} +11 -11
  16. package/dist/{chunk-4TP7XIIF.js → chunk-AZQ3PH5X.js} +1 -1
  17. package/dist/{chunk-Q4L3EPVJ.js → chunk-CBMDGQIF.js} +3 -3
  18. package/dist/{chunk-7DZOIYOZ.js → chunk-EFXPOFOW.js} +2 -2
  19. package/dist/{chunk-LVGH2D4K.js → chunk-F2XP4S6I.js} +3 -3
  20. package/dist/{chunk-SKQ4HSM4.js → chunk-F4B27ZN5.js} +3 -3
  21. package/dist/{chunk-COFQMVOP.js → chunk-IJ64UTEA.js} +1 -1
  22. package/dist/{chunk-O7NGE4UD.js → chunk-K4DOMJMD.js} +3 -3
  23. package/dist/{chunk-WRA7HMAH.js → chunk-KGIX5DXN.js} +2 -2
  24. package/dist/{chunk-AR55ZVGJ.js → chunk-N2ZVIF32.js} +3 -3
  25. package/dist/{chunk-OC2ZMGKS.js → chunk-NHJV7S3O.js} +1 -1
  26. package/dist/{chunk-OC2ZMGKS.js.map → chunk-NHJV7S3O.js.map} +1 -1
  27. package/dist/{chunk-GUT7P3I2.js → chunk-P2LMOS5Q.js} +1 -1
  28. package/dist/{chunk-BAIZ7M6Y.js → chunk-SEYHW6VO.js} +1 -1
  29. package/dist/{chunk-PTNJ5TDI.js → chunk-SZD77HPK.js} +1 -1
  30. package/dist/{chunk-53IHIZ4R.js → chunk-U46MSZBG.js} +3 -3
  31. package/dist/{chunk-HWQ2LG5U.js → chunk-UQWBHUCX.js} +3 -3
  32. package/dist/{chunk-SZWLQVBO.js → chunk-X64M7NSQ.js} +2 -2
  33. package/dist/{chunk-6CIX22KE.js → chunk-ZHOKAFLI.js} +1 -1
  34. package/dist/{chunk-VTXP6CZO.js → chunk-ZN5VZPQV.js} +1 -1
  35. package/dist/{cli-D6DIRQOY.js → cli-NCCNQ53J.js} +77 -77
  36. package/dist/commands-DIC2IHEP.js +46 -0
  37. package/dist/{config-3ZYDNZ66.js → config-KRRCQVEV.js} +4 -4
  38. package/dist/{context-5GCX7JZC.js → context-36FYRQPT.js} +5 -5
  39. package/dist/{customCommands-ESERGKIU.js → customCommands-NH2BHKAF.js} +4 -4
  40. package/dist/{env-CLTKYL7S.js → env-L3FCBQNY.js} +2 -2
  41. package/dist/index.js +3 -3
  42. package/dist/{llm-4N442LX4.js → llm-6LNLEJYZ.js} +26 -26
  43. package/dist/{llmLazy-W7LLVUHF.js → llmLazy-3F5FIV3N.js} +1 -1
  44. package/dist/{loader-UZCBJVSN.js → loader-MARMA7A3.js} +4 -4
  45. package/dist/{mcp-YR4PE5JT.js → mcp-YCQQU4CR.js} +7 -7
  46. package/dist/{mentionProcessor-5OGRBYBL.js → mentionProcessor-7C3VQN4L.js} +5 -5
  47. package/dist/{messages-ZXDAMLAB.js → messages-FLGJ4UO4.js} +1 -1
  48. package/dist/{model-BRJGHSA4.js → model-EJQIQQS7.js} +5 -5
  49. package/dist/{openai-ENAGMVK6.js → openai-BE6ANRNX.js} +5 -5
  50. package/dist/{outputStyles-2WN5UNJ3.js → outputStyles-LLBEKZWF.js} +4 -4
  51. package/dist/{pluginRuntime-CDVJYZZP.js → pluginRuntime-4TAKSWU2.js} +6 -6
  52. package/dist/{pluginValidation-F675X3BD.js → pluginValidation-E2ZIERQ4.js} +6 -6
  53. package/dist/prompts-6PXJTN4R.js +48 -0
  54. package/dist/{pybAgentSessionLoad-L7FSL37P.js → pybAgentSessionLoad-IXTAZ25O.js} +4 -4
  55. package/dist/{pybAgentSessionResume-QJ2TG6XW.js → pybAgentSessionResume-W2QAY53J.js} +4 -4
  56. package/dist/{pybAgentStreamJsonSession-AGZYRELF.js → pybAgentStreamJsonSession-R5TQBKZW.js} +1 -1
  57. package/dist/{pybHooks-ENU7YGPG.js → pybHooks-T4ENUPL7.js} +4 -4
  58. package/dist/query-VMP2QAOQ.js +50 -0
  59. package/dist/{ripgrep-3YBUZWJC.js → ripgrep-WKGAUD4C.js} +3 -3
  60. package/dist/{skillMarketplace-R6XVM2KG.js → skillMarketplace-JTFFP4NM.js} +3 -3
  61. package/dist/{state-EHMEWB7R.js → state-YDEBTCFK.js} +2 -2
  62. package/dist/{theme-PLHVC6PI.js → theme-UJ3ZOM2G.js} +5 -5
  63. package/dist/{toolPermissionSettings-V35XTNLB.js → toolPermissionSettings-6N5C3LTH.js} +6 -6
  64. package/dist/tools-QMM66OOR.js +47 -0
  65. package/dist/{userInput-Q3IU5MUY.js → userInput-4XLXSVYP.js} +27 -27
  66. package/package.json +1 -1
  67. package/dist/REPL-IJP5LY5C.js +0 -42
  68. package/dist/chunk-NOC7D5AE.js.map +0 -7
  69. package/dist/commands-JFW2V7ZE.js +0 -46
  70. package/dist/prompts-2RYKHPAK.js +0 -48
  71. package/dist/query-B6YBRFEU.js +0 -50
  72. package/dist/tools-HR6HFE5P.js +0 -47
  73. /package/dist/{REPL-IJP5LY5C.js.map → REPL-NTSMBAN3.js.map} +0 -0
  74. /package/dist/{acp-QEYLG5QK.js.map → acp-2JJ27DEM.js.map} +0 -0
  75. /package/dist/{agentsValidate-W7NUR2XM.js.map → agentsValidate-Z4BM4EC6.js.map} +0 -0
  76. /package/dist/{ask-FH7NQ3YX.js.map → ask-K6HXLLK2.js.map} +0 -0
  77. /package/dist/{autoUpdater-U5FFOFNV.js.map → autoUpdater-KMO3OTDD.js.map} +0 -0
  78. /package/dist/{chunk-PQYDCDJK.js.map → chunk-2RB6ZKUM.js.map} +0 -0
  79. /package/dist/{chunk-WVFBVMZU.js.map → chunk-45BITV3T.js.map} +0 -0
  80. /package/dist/{chunk-TDCLQMHI.js.map → chunk-7HFR2XLR.js.map} +0 -0
  81. /package/dist/{chunk-OJTTDXOY.js.map → chunk-7RKS5YSA.js.map} +0 -0
  82. /package/dist/{chunk-QOYBAD6Z.js.map → chunk-A3IIDK3Z.js.map} +0 -0
  83. /package/dist/{chunk-B3OQZN6L.js.map → chunk-A5FXNIV7.js.map} +0 -0
  84. /package/dist/{chunk-KZI3PHPW.js.map → chunk-AADZRD5W.js.map} +0 -0
  85. /package/dist/{chunk-FIRGLCKQ.js.map → chunk-AFJPHDZP.js.map} +0 -0
  86. /package/dist/{chunk-4TP7XIIF.js.map → chunk-AZQ3PH5X.js.map} +0 -0
  87. /package/dist/{chunk-Q4L3EPVJ.js.map → chunk-CBMDGQIF.js.map} +0 -0
  88. /package/dist/{chunk-7DZOIYOZ.js.map → chunk-EFXPOFOW.js.map} +0 -0
  89. /package/dist/{chunk-LVGH2D4K.js.map → chunk-F2XP4S6I.js.map} +0 -0
  90. /package/dist/{chunk-SKQ4HSM4.js.map → chunk-F4B27ZN5.js.map} +0 -0
  91. /package/dist/{chunk-COFQMVOP.js.map → chunk-IJ64UTEA.js.map} +0 -0
  92. /package/dist/{chunk-O7NGE4UD.js.map → chunk-K4DOMJMD.js.map} +0 -0
  93. /package/dist/{chunk-WRA7HMAH.js.map → chunk-KGIX5DXN.js.map} +0 -0
  94. /package/dist/{chunk-AR55ZVGJ.js.map → chunk-N2ZVIF32.js.map} +0 -0
  95. /package/dist/{chunk-GUT7P3I2.js.map → chunk-P2LMOS5Q.js.map} +0 -0
  96. /package/dist/{chunk-BAIZ7M6Y.js.map → chunk-SEYHW6VO.js.map} +0 -0
  97. /package/dist/{chunk-PTNJ5TDI.js.map → chunk-SZD77HPK.js.map} +0 -0
  98. /package/dist/{chunk-53IHIZ4R.js.map → chunk-U46MSZBG.js.map} +0 -0
  99. /package/dist/{chunk-HWQ2LG5U.js.map → chunk-UQWBHUCX.js.map} +0 -0
  100. /package/dist/{chunk-SZWLQVBO.js.map → chunk-X64M7NSQ.js.map} +0 -0
  101. /package/dist/{chunk-6CIX22KE.js.map → chunk-ZHOKAFLI.js.map} +0 -0
  102. /package/dist/{chunk-VTXP6CZO.js.map → chunk-ZN5VZPQV.js.map} +0 -0
  103. /package/dist/{cli-D6DIRQOY.js.map → cli-NCCNQ53J.js.map} +0 -0
  104. /package/dist/{commands-JFW2V7ZE.js.map → commands-DIC2IHEP.js.map} +0 -0
  105. /package/dist/{config-3ZYDNZ66.js.map → config-KRRCQVEV.js.map} +0 -0
  106. /package/dist/{context-5GCX7JZC.js.map → context-36FYRQPT.js.map} +0 -0
  107. /package/dist/{customCommands-ESERGKIU.js.map → customCommands-NH2BHKAF.js.map} +0 -0
  108. /package/dist/{env-CLTKYL7S.js.map → env-L3FCBQNY.js.map} +0 -0
  109. /package/dist/{llm-4N442LX4.js.map → llm-6LNLEJYZ.js.map} +0 -0
  110. /package/dist/{llmLazy-W7LLVUHF.js.map → llmLazy-3F5FIV3N.js.map} +0 -0
  111. /package/dist/{loader-UZCBJVSN.js.map → loader-MARMA7A3.js.map} +0 -0
  112. /package/dist/{mcp-YR4PE5JT.js.map → mcp-YCQQU4CR.js.map} +0 -0
  113. /package/dist/{mentionProcessor-5OGRBYBL.js.map → mentionProcessor-7C3VQN4L.js.map} +0 -0
  114. /package/dist/{messages-ZXDAMLAB.js.map → messages-FLGJ4UO4.js.map} +0 -0
  115. /package/dist/{model-BRJGHSA4.js.map → model-EJQIQQS7.js.map} +0 -0
  116. /package/dist/{openai-ENAGMVK6.js.map → openai-BE6ANRNX.js.map} +0 -0
  117. /package/dist/{outputStyles-2WN5UNJ3.js.map → outputStyles-LLBEKZWF.js.map} +0 -0
  118. /package/dist/{pluginRuntime-CDVJYZZP.js.map → pluginRuntime-4TAKSWU2.js.map} +0 -0
  119. /package/dist/{pluginValidation-F675X3BD.js.map → pluginValidation-E2ZIERQ4.js.map} +0 -0
  120. /package/dist/{prompts-2RYKHPAK.js.map → prompts-6PXJTN4R.js.map} +0 -0
  121. /package/dist/{pybAgentSessionLoad-L7FSL37P.js.map → pybAgentSessionLoad-IXTAZ25O.js.map} +0 -0
  122. /package/dist/{pybAgentSessionResume-QJ2TG6XW.js.map → pybAgentSessionResume-W2QAY53J.js.map} +0 -0
  123. /package/dist/{pybAgentStreamJsonSession-AGZYRELF.js.map → pybAgentStreamJsonSession-R5TQBKZW.js.map} +0 -0
  124. /package/dist/{pybHooks-ENU7YGPG.js.map → pybHooks-T4ENUPL7.js.map} +0 -0
  125. /package/dist/{query-B6YBRFEU.js.map → query-VMP2QAOQ.js.map} +0 -0
  126. /package/dist/{ripgrep-3YBUZWJC.js.map → ripgrep-WKGAUD4C.js.map} +0 -0
  127. /package/dist/{skillMarketplace-R6XVM2KG.js.map → skillMarketplace-JTFFP4NM.js.map} +0 -0
  128. /package/dist/{state-EHMEWB7R.js.map → state-YDEBTCFK.js.map} +0 -0
  129. /package/dist/{theme-PLHVC6PI.js.map → theme-UJ3ZOM2G.js.map} +0 -0
  130. /package/dist/{toolPermissionSettings-V35XTNLB.js.map → toolPermissionSettings-6N5C3LTH.js.map} +0 -0
  131. /package/dist/{tools-HR6HFE5P.js.map → tools-QMM66OOR.js.map} +0 -0
  132. /package/dist/{userInput-Q3IU5MUY.js.map → userInput-4XLXSVYP.js.map} +0 -0
@@ -0,0 +1,42 @@
1
+ import { createRequire as __pybCreateRequire } from "node:module";
2
+ const require = __pybCreateRequire(import.meta.url);
3
+ import {
4
+ REPL
5
+ } from "./chunk-2RZ27ATX.js";
6
+ import "./chunk-2RB6ZKUM.js";
7
+ import "./chunk-7HFR2XLR.js";
8
+ import "./chunk-N2ZVIF32.js";
9
+ import "./chunk-P2LMOS5Q.js";
10
+ import "./chunk-IJ64UTEA.js";
11
+ import "./chunk-A3IIDK3Z.js";
12
+ import "./chunk-5P7HBXTD.js";
13
+ import "./chunk-3DFBSQIT.js";
14
+ import "./chunk-K4DOMJMD.js";
15
+ import "./chunk-B6IMQJZM.js";
16
+ import "./chunk-EFXPOFOW.js";
17
+ import "./chunk-X64M7NSQ.js";
18
+ import "./chunk-7RKS5YSA.js";
19
+ import "./chunk-SZD77HPK.js";
20
+ import "./chunk-AADZRD5W.js";
21
+ import "./chunk-F4B27ZN5.js";
22
+ import "./chunk-ZHOKAFLI.js";
23
+ import "./chunk-UNNVICVU.js";
24
+ import "./chunk-A5FXNIV7.js";
25
+ import "./chunk-ERMQRV55.js";
26
+ import "./chunk-KGIX5DXN.js";
27
+ import "./chunk-A3BVXXA3.js";
28
+ import "./chunk-BJSWTHRM.js";
29
+ import "./chunk-45BITV3T.js";
30
+ import "./chunk-F2XP4S6I.js";
31
+ import "./chunk-CBMDGQIF.js";
32
+ import "./chunk-AZQ3PH5X.js";
33
+ import "./chunk-UQWBHUCX.js";
34
+ import "./chunk-RQVLBMP7.js";
35
+ import "./chunk-ZN5VZPQV.js";
36
+ import "./chunk-SEYHW6VO.js";
37
+ import "./chunk-NHJV7S3O.js";
38
+ import "./chunk-OUXHGDLH.js";
39
+ import "./chunk-I3J4JYES.js";
40
+ export {
41
+ REPL
42
+ };
@@ -6,60 +6,60 @@ import {
6
6
  } from "./chunk-MWPFU2KU.js";
7
7
  import {
8
8
  getTools
9
- } from "./chunk-FIRGLCKQ.js";
9
+ } from "./chunk-AFJPHDZP.js";
10
10
  import {
11
11
  getCommands,
12
12
  getSystemPrompt,
13
13
  grantReadPermissionForOriginalDir,
14
14
  hasPermissionsToUseTool,
15
15
  query
16
- } from "./chunk-NOC7D5AE.js";
17
- import "./chunk-PQYDCDJK.js";
16
+ } from "./chunk-2RZ27ATX.js";
17
+ import "./chunk-2RB6ZKUM.js";
18
18
  import {
19
19
  getClients
20
- } from "./chunk-TDCLQMHI.js";
21
- import "./chunk-AR55ZVGJ.js";
22
- import "./chunk-GUT7P3I2.js";
23
- import "./chunk-COFQMVOP.js";
24
- import "./chunk-QOYBAD6Z.js";
20
+ } from "./chunk-7HFR2XLR.js";
21
+ import "./chunk-N2ZVIF32.js";
22
+ import "./chunk-P2LMOS5Q.js";
23
+ import "./chunk-IJ64UTEA.js";
24
+ import "./chunk-A3IIDK3Z.js";
25
25
  import "./chunk-5P7HBXTD.js";
26
26
  import "./chunk-3DFBSQIT.js";
27
- import "./chunk-O7NGE4UD.js";
27
+ import "./chunk-K4DOMJMD.js";
28
28
  import "./chunk-B6IMQJZM.js";
29
- import "./chunk-7DZOIYOZ.js";
30
- import "./chunk-SZWLQVBO.js";
31
- import "./chunk-OJTTDXOY.js";
32
- import "./chunk-PTNJ5TDI.js";
33
- import "./chunk-KZI3PHPW.js";
29
+ import "./chunk-EFXPOFOW.js";
30
+ import "./chunk-X64M7NSQ.js";
31
+ import "./chunk-7RKS5YSA.js";
32
+ import "./chunk-SZD77HPK.js";
33
+ import "./chunk-AADZRD5W.js";
34
34
  import {
35
35
  loadToolPermissionContextFromDisk,
36
36
  persistToolPermissionUpdateToDisk
37
- } from "./chunk-SKQ4HSM4.js";
38
- import "./chunk-6CIX22KE.js";
37
+ } from "./chunk-F4B27ZN5.js";
38
+ import "./chunk-ZHOKAFLI.js";
39
39
  import {
40
40
  applyToolPermissionContextUpdates
41
41
  } from "./chunk-UNNVICVU.js";
42
- import "./chunk-B3OQZN6L.js";
42
+ import "./chunk-A5FXNIV7.js";
43
43
  import "./chunk-ERMQRV55.js";
44
- import "./chunk-WRA7HMAH.js";
44
+ import "./chunk-KGIX5DXN.js";
45
45
  import "./chunk-A3BVXXA3.js";
46
46
  import "./chunk-BJSWTHRM.js";
47
47
  import {
48
48
  createAssistantMessage,
49
49
  createUserMessage
50
- } from "./chunk-WVFBVMZU.js";
51
- import "./chunk-LVGH2D4K.js";
50
+ } from "./chunk-45BITV3T.js";
51
+ import "./chunk-F2XP4S6I.js";
52
52
  import {
53
53
  getContext
54
- } from "./chunk-Q4L3EPVJ.js";
55
- import "./chunk-4TP7XIIF.js";
54
+ } from "./chunk-CBMDGQIF.js";
55
+ import "./chunk-AZQ3PH5X.js";
56
56
  import {
57
57
  enableConfigs
58
- } from "./chunk-HWQ2LG5U.js";
58
+ } from "./chunk-UQWBHUCX.js";
59
59
  import "./chunk-RQVLBMP7.js";
60
60
  import {
61
61
  initDebugLogger
62
- } from "./chunk-VTXP6CZO.js";
62
+ } from "./chunk-ZN5VZPQV.js";
63
63
  import {
64
64
  PRODUCT_COMMAND,
65
65
  getPybBaseDir,
@@ -67,10 +67,10 @@ import {
67
67
  logError,
68
68
  setCwd,
69
69
  setOriginalCwd
70
- } from "./chunk-BAIZ7M6Y.js";
70
+ } from "./chunk-SEYHW6VO.js";
71
71
  import {
72
72
  MACRO
73
- } from "./chunk-OC2ZMGKS.js";
73
+ } from "./chunk-NHJV7S3O.js";
74
74
  import "./chunk-OUXHGDLH.js";
75
75
  import "./chunk-I3J4JYES.js";
76
76
 
@@ -2,12 +2,12 @@ import { createRequire as __pybCreateRequire } from "node:module";
2
2
  const require = __pybCreateRequire(import.meta.url);
3
3
  import {
4
4
  getModelManager
5
- } from "./chunk-LVGH2D4K.js";
6
- import "./chunk-HWQ2LG5U.js";
5
+ } from "./chunk-F2XP4S6I.js";
6
+ import "./chunk-UQWBHUCX.js";
7
7
  import "./chunk-RQVLBMP7.js";
8
- import "./chunk-VTXP6CZO.js";
9
- import "./chunk-BAIZ7M6Y.js";
10
- import "./chunk-OC2ZMGKS.js";
8
+ import "./chunk-ZN5VZPQV.js";
9
+ import "./chunk-SEYHW6VO.js";
10
+ import "./chunk-NHJV7S3O.js";
11
11
  import "./chunk-I3J4JYES.js";
12
12
 
13
13
  // src/entrypoints/cli/agentsValidate.ts
@@ -344,8 +344,8 @@ async function validateAgentTemplates(args) {
344
344
  let knownToolNames;
345
345
  if (args.checkTools) {
346
346
  try {
347
- const { getTools } = await import("./tools-HR6HFE5P.js");
348
- const { getCurrentProjectConfig } = await import("./config-3ZYDNZ66.js");
347
+ const { getTools } = await import("./tools-QMM66OOR.js");
348
+ const { getCurrentProjectConfig } = await import("./config-KRRCQVEV.js");
349
349
  const allTools = await getTools(getCurrentProjectConfig().enableArchitectTool);
350
350
  knownToolNames = new Set(allTools.map((t) => t.name));
351
351
  } catch {
@@ -3,49 +3,49 @@ const require = __pybCreateRequire(import.meta.url);
3
3
  import {
4
4
  getSystemPrompt,
5
5
  query
6
- } from "./chunk-NOC7D5AE.js";
7
- import "./chunk-PQYDCDJK.js";
8
- import "./chunk-TDCLQMHI.js";
9
- import "./chunk-AR55ZVGJ.js";
10
- import "./chunk-GUT7P3I2.js";
11
- import "./chunk-COFQMVOP.js";
12
- import "./chunk-QOYBAD6Z.js";
6
+ } from "./chunk-2RZ27ATX.js";
7
+ import "./chunk-2RB6ZKUM.js";
8
+ import "./chunk-7HFR2XLR.js";
9
+ import "./chunk-N2ZVIF32.js";
10
+ import "./chunk-P2LMOS5Q.js";
11
+ import "./chunk-IJ64UTEA.js";
12
+ import "./chunk-A3IIDK3Z.js";
13
13
  import "./chunk-5P7HBXTD.js";
14
14
  import "./chunk-3DFBSQIT.js";
15
- import "./chunk-O7NGE4UD.js";
15
+ import "./chunk-K4DOMJMD.js";
16
16
  import "./chunk-B6IMQJZM.js";
17
- import "./chunk-7DZOIYOZ.js";
18
- import "./chunk-SZWLQVBO.js";
19
- import "./chunk-OJTTDXOY.js";
20
- import "./chunk-PTNJ5TDI.js";
21
- import "./chunk-KZI3PHPW.js";
22
- import "./chunk-SKQ4HSM4.js";
23
- import "./chunk-6CIX22KE.js";
17
+ import "./chunk-EFXPOFOW.js";
18
+ import "./chunk-X64M7NSQ.js";
19
+ import "./chunk-7RKS5YSA.js";
20
+ import "./chunk-SZD77HPK.js";
21
+ import "./chunk-AADZRD5W.js";
22
+ import "./chunk-F4B27ZN5.js";
23
+ import "./chunk-ZHOKAFLI.js";
24
24
  import "./chunk-UNNVICVU.js";
25
- import "./chunk-B3OQZN6L.js";
25
+ import "./chunk-A5FXNIV7.js";
26
26
  import "./chunk-ERMQRV55.js";
27
- import "./chunk-WRA7HMAH.js";
27
+ import "./chunk-KGIX5DXN.js";
28
28
  import "./chunk-A3BVXXA3.js";
29
29
  import "./chunk-BJSWTHRM.js";
30
30
  import {
31
31
  createUserMessage
32
- } from "./chunk-WVFBVMZU.js";
32
+ } from "./chunk-45BITV3T.js";
33
33
  import {
34
34
  getModelManager
35
- } from "./chunk-LVGH2D4K.js";
35
+ } from "./chunk-F2XP4S6I.js";
36
36
  import {
37
37
  getContext
38
- } from "./chunk-Q4L3EPVJ.js";
39
- import "./chunk-4TP7XIIF.js";
40
- import "./chunk-HWQ2LG5U.js";
38
+ } from "./chunk-CBMDGQIF.js";
39
+ import "./chunk-AZQ3PH5X.js";
40
+ import "./chunk-UQWBHUCX.js";
41
41
  import "./chunk-RQVLBMP7.js";
42
- import "./chunk-VTXP6CZO.js";
42
+ import "./chunk-ZN5VZPQV.js";
43
43
  import {
44
44
  getMessagesPath,
45
45
  overwriteLog,
46
46
  setCwd
47
- } from "./chunk-BAIZ7M6Y.js";
48
- import "./chunk-OC2ZMGKS.js";
47
+ } from "./chunk-SEYHW6VO.js";
48
+ import "./chunk-NHJV7S3O.js";
49
49
  import {
50
50
  getTotalCost
51
51
  } from "./chunk-OUXHGDLH.js";
@@ -5,9 +5,9 @@ import {
5
5
  checkAndNotifyUpdate,
6
6
  getLatestVersion,
7
7
  getUpdateCommandSuggestions
8
- } from "./chunk-53IHIZ4R.js";
9
- import "./chunk-BAIZ7M6Y.js";
10
- import "./chunk-OC2ZMGKS.js";
8
+ } from "./chunk-U46MSZBG.js";
9
+ import "./chunk-SEYHW6VO.js";
10
+ import "./chunk-NHJV7S3O.js";
11
11
  import "./chunk-I3J4JYES.js";
12
12
  export {
13
13
  assertMinVersion,
@@ -3,7 +3,7 @@ const require = __pybCreateRequire(import.meta.url);
3
3
  import {
4
4
  getSessionProjectDir,
5
5
  getSessionProjectsDir
6
- } from "./chunk-QOYBAD6Z.js";
6
+ } from "./chunk-A3IIDK3Z.js";
7
7
  import {
8
8
  isUuid
9
9
  } from "./chunk-5P7HBXTD.js";
@@ -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-PQYDCDJK.js";
5
+ } from "./chunk-2RB6ZKUM.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-TDCLQMHI.js";
19
+ } from "./chunk-7HFR2XLR.js";
20
20
  import {
21
21
  formatValidationResult,
22
22
  validatePluginOrMarketplacePath
23
- } from "./chunk-AR55ZVGJ.js";
23
+ } from "./chunk-N2ZVIF32.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-GUT7P3I2.js";
36
+ } from "./chunk-P2LMOS5Q.js";
37
37
  import {
38
38
  loadPybAgentSessionMessages
39
- } from "./chunk-COFQMVOP.js";
39
+ } from "./chunk-IJ64UTEA.js";
40
40
  import {
41
41
  appendSessionCustomTitleRecord,
42
42
  appendSessionJsonlFromMessage,
43
43
  appendSessionTagRecord
44
- } from "./chunk-QOYBAD6Z.js";
44
+ } from "./chunk-A3IIDK3Z.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-O7NGE4UD.js";
61
+ } from "./chunk-K4DOMJMD.js";
62
62
  import {
63
63
  getPybAgentSessionId,
64
64
  setPybAgentSessionId
@@ -71,34 +71,34 @@ import {
71
71
  getOutputStyleSystemPromptAdditions,
72
72
  resolveOutputStyleName,
73
73
  setCurrentOutputStyle
74
- } from "./chunk-7DZOIYOZ.js";
74
+ } from "./chunk-EFXPOFOW.js";
75
75
  import {
76
76
  fetchCustomModels,
77
77
  getModelFeatures
78
- } from "./chunk-SZWLQVBO.js";
78
+ } from "./chunk-X64M7NSQ.js";
79
79
  import {
80
80
  queryLLM,
81
81
  queryQuick,
82
82
  verifyApiKey
83
- } from "./chunk-OJTTDXOY.js";
83
+ } from "./chunk-7RKS5YSA.js";
84
84
  import {
85
85
  listAllContentFiles,
86
86
  ripGrep
87
- } from "./chunk-PTNJ5TDI.js";
87
+ } from "./chunk-SZD77HPK.js";
88
88
  import {
89
89
  getCustomCommandDirectories,
90
90
  hasCustomCommands,
91
91
  loadCustomCommands,
92
92
  reloadCustomCommands
93
- } from "./chunk-KZI3PHPW.js";
93
+ } from "./chunk-AADZRD5W.js";
94
94
  import {
95
95
  loadToolPermissionContextFromDisk,
96
96
  persistToolPermissionUpdateToDisk
97
- } from "./chunk-SKQ4HSM4.js";
97
+ } from "./chunk-F4B27ZN5.js";
98
98
  import {
99
99
  getSettingsFileCandidates,
100
100
  loadSettingsWithLegacyFallback
101
- } from "./chunk-6CIX22KE.js";
101
+ } from "./chunk-ZHOKAFLI.js";
102
102
  import {
103
103
  applyToolPermissionContextUpdate,
104
104
  createDefaultToolPermissionContext
@@ -111,7 +111,7 @@ import {
111
111
  resetReminderSession,
112
112
  setTodos,
113
113
  systemReminderService
114
- } from "./chunk-B3OQZN6L.js";
114
+ } from "./chunk-A5FXNIV7.js";
115
115
  import {
116
116
  getSessionState
117
117
  } from "./chunk-ERMQRV55.js";
@@ -120,7 +120,7 @@ import {
120
120
  getActiveAgents,
121
121
  getAgentByType,
122
122
  getAllAgents
123
- } from "./chunk-WRA7HMAH.js";
123
+ } from "./chunk-KGIX5DXN.js";
124
124
  import {
125
125
  getSessionPlugins
126
126
  } from "./chunk-BJSWTHRM.js";
@@ -153,22 +153,22 @@ import {
153
153
  processUserInput,
154
154
  reorderMessages,
155
155
  stripSystemMessages
156
- } from "./chunk-WVFBVMZU.js";
156
+ } from "./chunk-45BITV3T.js";
157
157
  import {
158
158
  ModelManager,
159
159
  getModelManager,
160
160
  isDefaultSlowAndCapableModel
161
- } from "./chunk-LVGH2D4K.js";
161
+ } from "./chunk-F2XP4S6I.js";
162
162
  import {
163
163
  getCodeStyle,
164
164
  getContext,
165
165
  getGitState,
166
166
  getIsGit,
167
167
  getProjectDocs
168
- } from "./chunk-Q4L3EPVJ.js";
168
+ } from "./chunk-CBMDGQIF.js";
169
169
  import {
170
170
  getTheme
171
- } from "./chunk-4TP7XIIF.js";
171
+ } from "./chunk-AZQ3PH5X.js";
172
172
  import {
173
173
  DEFAULT_GLOBAL_CONFIG,
174
174
  enableConfigs,
@@ -181,7 +181,7 @@ import {
181
181
  saveGlobalConfig,
182
182
  setAllPointersToModel,
183
183
  setModelPointer
184
- } from "./chunk-HWQ2LG5U.js";
184
+ } from "./chunk-UQWBHUCX.js";
185
185
  import {
186
186
  AbortError
187
187
  } from "./chunk-RQVLBMP7.js";
@@ -190,7 +190,7 @@ import {
190
190
  getCurrentRequest,
191
191
  logUserFriendly,
192
192
  markPhase
193
- } from "./chunk-VTXP6CZO.js";
193
+ } from "./chunk-ZN5VZPQV.js";
194
194
  import {
195
195
  ASCII_LOGO,
196
196
  BunShell,
@@ -226,10 +226,10 @@ import {
226
226
  renderBashNotification,
227
227
  setActivePlanConversationKey,
228
228
  setCwd
229
- } from "./chunk-BAIZ7M6Y.js";
229
+ } from "./chunk-SEYHW6VO.js";
230
230
  import {
231
231
  MACRO
232
- } from "./chunk-OC2ZMGKS.js";
232
+ } from "./chunk-NHJV7S3O.js";
233
233
  import {
234
234
  formatTotalCost,
235
235
  getTotalAPIDuration,
@@ -417,7 +417,7 @@ var getCommandSubcommandPrefix = memoize(
417
417
  var getCommandPrefix = memoize(
418
418
  async (command4, abortSignal) => {
419
419
  const { systemPrompt, userPrompt } = buildBashCommandPrefixDetectionPrompt(command4);
420
- const { API_ERROR_MESSAGE_PREFIX: API_ERROR_MESSAGE_PREFIX2, queryQuick: queryQuick2 } = await import("./llm-4N442LX4.js");
420
+ const { API_ERROR_MESSAGE_PREFIX: API_ERROR_MESSAGE_PREFIX2, queryQuick: queryQuick2 } = await import("./llm-6LNLEJYZ.js");
421
421
  const response = await queryQuick2({
422
422
  systemPrompt,
423
423
  userPrompt,
@@ -4457,7 +4457,7 @@ function formatParseError(error) {
4457
4457
  return error instanceof Error ? error.message : String(error);
4458
4458
  }
4459
4459
  async function defaultGateQuery(args) {
4460
- const { API_ERROR_MESSAGE_PREFIX: API_ERROR_MESSAGE_PREFIX2, queryLLM: queryLLM2 } = await import("./llm-4N442LX4.js");
4460
+ const { API_ERROR_MESSAGE_PREFIX: API_ERROR_MESSAGE_PREFIX2, queryLLM: queryLLM2 } = await import("./llm-6LNLEJYZ.js");
4461
4461
  const messages = [
4462
4462
  {
4463
4463
  type: "user",
@@ -10365,7 +10365,6 @@ var help_default = help;
10365
10365
 
10366
10366
  // src/ui/components/ProjectOnboarding.tsx
10367
10367
  import * as React28 from "react";
10368
- import { OrderedList } from "@inkjs/ui";
10369
10368
  import { Box as Box21, Text as Text24 } from "ink";
10370
10369
  import { existsSync as existsSync8 } from "fs";
10371
10370
  import { join as join6 } from "path";
@@ -10420,23 +10419,23 @@ function ProjectOnboarding({
10420
10419
  const isWorkspaceDirEmpty = isDirEmpty(workspaceDir);
10421
10420
  const shouldRecommendProjectGuide = !workspaceHasProjectGuide && !isWorkspaceDirEmpty;
10422
10421
  const theme = getTheme();
10423
- return /* @__PURE__ */ React28.createElement(Box21, { flexDirection: "column", gap: 1, padding: 1, paddingBottom: 0 }, showOnboarding && /* @__PURE__ */ React28.createElement(React28.Fragment, null, /* @__PURE__ */ React28.createElement(Text24, { color: theme.secondaryText }, "Tips for getting started:"), /* @__PURE__ */ React28.createElement(OrderedList, null, (() => {
10422
+ return /* @__PURE__ */ React28.createElement(Box21, { flexDirection: "column", gap: 0, paddingLeft: 0, marginTop: 0 }, showOnboarding && /* @__PURE__ */ React28.createElement(React28.Fragment, null, /* @__PURE__ */ React28.createElement(Text24, { color: theme.secondaryText, dimColor: true }, "Get started:"), /* @__PURE__ */ React28.createElement(Box21, { flexDirection: "column", marginLeft: 1 }, (() => {
10424
10423
  const items = [];
10425
10424
  if (isWorkspaceDirEmpty) {
10426
10425
  items.push(
10427
- /* @__PURE__ */ React28.createElement(React28.Fragment, { key: "workspace" }, /* @__PURE__ */ React28.createElement(OrderedList.Item, null, /* @__PURE__ */ React28.createElement(Text24, { color: theme.secondaryText }, "Ask ", PRODUCT_NAME, " to create a new app or clone a repository.")))
10426
+ /* @__PURE__ */ React28.createElement(Text24, { key: "workspace" }, /* @__PURE__ */ React28.createElement(Text24, { color: theme.secondaryText }, "\u203A "), "Ask ", PRODUCT_NAME, " to create a new app or clone a repository.")
10428
10427
  );
10429
10428
  }
10430
10429
  if (shouldRecommendProjectGuide) {
10431
10430
  items.push(
10432
- /* @__PURE__ */ React28.createElement(React28.Fragment, { key: "projectGuide" }, /* @__PURE__ */ React28.createElement(OrderedList.Item, null, /* @__PURE__ */ React28.createElement(Text24, { color: theme.secondaryText }, "Run ", /* @__PURE__ */ React28.createElement(Text24, { color: theme.text }, "/init"), " to create a\xA0", PROJECT_FILE, " file with instructions for ", PRODUCT_NAME, ".")))
10431
+ /* @__PURE__ */ React28.createElement(Text24, { key: "projectGuide" }, /* @__PURE__ */ React28.createElement(Text24, { color: theme.secondaryText }, "\u203A "), "Run ", /* @__PURE__ */ React28.createElement(Text24, { color: theme.text }, "/init"), " to create a ", PROJECT_FILE, " file with instructions for ", PRODUCT_NAME, ".")
10433
10432
  );
10434
10433
  }
10435
10434
  items.push(
10436
- /* @__PURE__ */ React28.createElement(React28.Fragment, { key: "questions" }, /* @__PURE__ */ React28.createElement(OrderedList.Item, null, /* @__PURE__ */ React28.createElement(Text24, { color: theme.secondaryText }, "Ask ", PRODUCT_NAME, " questions about your codebase.")))
10435
+ /* @__PURE__ */ React28.createElement(Text24, { key: "questions" }, /* @__PURE__ */ React28.createElement(Text24, { color: theme.secondaryText }, "\u203A "), "Ask ", PRODUCT_NAME, " questions about your codebase.")
10437
10436
  );
10438
10437
  items.push(
10439
- /* @__PURE__ */ React28.createElement(React28.Fragment, { key: "changes" }, /* @__PURE__ */ React28.createElement(OrderedList.Item, null, /* @__PURE__ */ React28.createElement(Text24, { color: theme.secondaryText }, "Ask ", PRODUCT_NAME, " to implement changes to your codebase.")))
10438
+ /* @__PURE__ */ React28.createElement(Text24, { key: "changes" }, /* @__PURE__ */ React28.createElement(Text24, { color: theme.secondaryText }, "\u203A "), "Ask ", PRODUCT_NAME, " to implement changes to your codebase.")
10440
10439
  );
10441
10440
  return items;
10442
10441
  })())), !showOnboarding && hasReleaseNotes && /* @__PURE__ */ React28.createElement(
@@ -11002,7 +11001,7 @@ async function createAndStoreApiKey(accessToken) {
11002
11001
  }
11003
11002
  saveGlobalConfig(config2);
11004
11003
  try {
11005
- const { resetAnthropicClient } = await import("./llm-4N442LX4.js");
11004
+ const { resetAnthropicClient } = await import("./llm-6LNLEJYZ.js");
11006
11005
  resetAnthropicClient();
11007
11006
  } catch {
11008
11007
  }
@@ -11015,11 +11014,11 @@ async function createAndStoreApiKey(accessToken) {
11015
11014
  }
11016
11015
 
11017
11016
  // src/ui/components/AsciiLogo.tsx
11018
- import { Box as Box22, Text as Text25 } from "ink";
11017
+ import { Text as Text25 } from "ink";
11019
11018
  import React29 from "react";
11020
11019
  function AsciiLogo() {
11021
11020
  const theme = getTheme();
11022
- return /* @__PURE__ */ React29.createElement(Box22, { flexDirection: "column", alignItems: "flex-start" }, /* @__PURE__ */ React29.createElement(Text25, { color: theme.pyb }, ASCII_LOGO));
11021
+ return /* @__PURE__ */ React29.createElement(Text25, { color: theme.pyb }, ASCII_LOGO);
11023
11022
  }
11024
11023
 
11025
11024
  // src/ui/components/Spinner.tsx
@@ -11121,7 +11120,7 @@ function SimpleSpinner() {
11121
11120
  // src/ui/components/Onboarding.tsx
11122
11121
  import React35, { useState as useState12 } from "react";
11123
11122
  import { Box as Box28, Newline as Newline3, Text as Text31, useInput as useInput11 } from "ink";
11124
- import { OrderedList as OrderedList2 } from "@inkjs/ui";
11123
+ import { OrderedList } from "@inkjs/ui";
11125
11124
 
11126
11125
  // src/ui/components/Logo.tsx
11127
11126
  import { Box as Box24, Text as Text27 } from "ink";
@@ -11146,63 +11145,7 @@ function Logo({
11146
11145
  const hasOverrides = Boolean(
11147
11146
  process.env.DISABLE_PROMPT_CACHING || process.env.API_TIMEOUT_MS || process.env.MAX_THINKING_TOKENS
11148
11147
  );
11149
- return /* @__PURE__ */ React31.createElement(Box24, { flexDirection: "column" }, /* @__PURE__ */ React31.createElement(
11150
- Box24,
11151
- {
11152
- borderColor: theme.pyb,
11153
- borderStyle: "round",
11154
- flexDirection: "column",
11155
- gap: 1,
11156
- paddingLeft: 1,
11157
- marginRight: 2,
11158
- width
11159
- },
11160
- updateBannerVersion ? /* @__PURE__ */ React31.createElement(Box24, { flexDirection: "column" }, /* @__PURE__ */ React31.createElement(Text27, { color: "yellow" }, "New version available: ", updateBannerVersion, " (current:", " ", MACRO.VERSION, ")"), /* @__PURE__ */ React31.createElement(Text27, null, "Run the following command to update:"), /* @__PURE__ */ React31.createElement(Text27, null, " ", updateBannerCommands?.[1] ?? DEFAULT_UPDATE_COMMANDS[1]), process.platform !== "win32" && /* @__PURE__ */ React31.createElement(Text27, { dimColor: true }, 'Note: you may need to prefix with "sudo" on macOS/Linux.')) : null,
11161
- /* @__PURE__ */ React31.createElement(Text27, null, /* @__PURE__ */ React31.createElement(Text27, { color: theme.pyb }, "\u273B"), " Welcome to", " ", /* @__PURE__ */ React31.createElement(Text27, { bold: true }, PRODUCT_NAME), " ", /* @__PURE__ */ React31.createElement(Text27, null, "research preview!")),
11162
- /* @__PURE__ */ React31.createElement(React31.Fragment, null, /* @__PURE__ */ React31.createElement(Box24, { paddingLeft: 2, flexDirection: "column", gap: 1 }, /* @__PURE__ */ React31.createElement(Text27, { color: theme.secondaryText, italic: true }, "/help for help"), /* @__PURE__ */ React31.createElement(Text27, { color: theme.secondaryText }, "cwd: ", getCwd())), hasOverrides && /* @__PURE__ */ React31.createElement(
11163
- Box24,
11164
- {
11165
- borderColor: theme.secondaryBorder,
11166
- borderStyle: "single",
11167
- borderBottom: false,
11168
- borderLeft: false,
11169
- borderRight: false,
11170
- borderTop: true,
11171
- flexDirection: "column",
11172
- marginLeft: 2,
11173
- marginRight: 1,
11174
- paddingTop: 1
11175
- },
11176
- /* @__PURE__ */ React31.createElement(Box24, { marginBottom: 1 }, /* @__PURE__ */ React31.createElement(Text27, { color: theme.secondaryText }, "Overrides (via env):")),
11177
- process.env.DISABLE_PROMPT_CACHING ? /* @__PURE__ */ React31.createElement(Text27, { color: theme.secondaryText }, "\u2022 Prompt caching:", " ", /* @__PURE__ */ React31.createElement(Text27, { color: theme.error, bold: true }, "off")) : null,
11178
- process.env.API_TIMEOUT_MS ? /* @__PURE__ */ React31.createElement(Text27, { color: theme.secondaryText }, "\u2022 API timeout:", " ", /* @__PURE__ */ React31.createElement(Text27, { bold: true }, process.env.API_TIMEOUT_MS, "ms")) : null,
11179
- process.env.MAX_THINKING_TOKENS ? /* @__PURE__ */ React31.createElement(Text27, { color: theme.secondaryText }, "\u2022 Max thinking tokens:", " ", /* @__PURE__ */ React31.createElement(Text27, { bold: true }, process.env.MAX_THINKING_TOKENS)) : null
11180
- )),
11181
- mcpClients.length ? /* @__PURE__ */ React31.createElement(
11182
- Box24,
11183
- {
11184
- borderColor: theme.secondaryBorder,
11185
- borderStyle: "single",
11186
- borderBottom: false,
11187
- borderLeft: false,
11188
- borderRight: false,
11189
- borderTop: true,
11190
- flexDirection: "column",
11191
- marginLeft: 2,
11192
- marginRight: 1,
11193
- paddingTop: 1
11194
- },
11195
- /* @__PURE__ */ React31.createElement(Box24, { marginBottom: 1 }, /* @__PURE__ */ React31.createElement(Text27, { color: theme.secondaryText }, "MCP Servers:")),
11196
- mcpClients.map((client, idx) => /* @__PURE__ */ React31.createElement(Box24, { key: idx, width: width - 6 }, /* @__PURE__ */ React31.createElement(Text27, { color: theme.secondaryText }, "\u2022 ", client.name), /* @__PURE__ */ React31.createElement(Box24, { flexGrow: 1 }), /* @__PURE__ */ React31.createElement(
11197
- Text27,
11198
- {
11199
- bold: true,
11200
- color: client.type === "connected" ? theme.success : theme.error
11201
- },
11202
- client.type === "connected" ? "connected" : "failed"
11203
- )))
11204
- ) : null
11205
- ));
11148
+ return /* @__PURE__ */ React31.createElement(Box24, { flexDirection: "column", paddingBottom: 1 }, /* @__PURE__ */ React31.createElement(Box24, { flexDirection: "row", alignItems: "flex-end", marginBottom: 1 }, /* @__PURE__ */ React31.createElement(AsciiLogo, null), /* @__PURE__ */ React31.createElement(Box24, { flexDirection: "column", marginLeft: 2, justifyContent: "flex-end", paddingBottom: 1 }, /* @__PURE__ */ React31.createElement(Text27, { bold: true }, "Pyb CLI"), /* @__PURE__ */ React31.createElement(Text27, { color: theme.secondaryText }, "v", MACRO.VERSION, " (research preview)"))), updateBannerVersion ? /* @__PURE__ */ React31.createElement(Box24, { flexDirection: "column", marginBottom: 1 }, /* @__PURE__ */ React31.createElement(Text27, { color: "yellow" }, "New version available: ", updateBannerVersion, " (current:", " ", MACRO.VERSION, ")"), /* @__PURE__ */ React31.createElement(Text27, null, "Run the following command to update:"), /* @__PURE__ */ React31.createElement(Text27, null, " ", updateBannerCommands?.[1] ?? DEFAULT_UPDATE_COMMANDS[1]), process.platform !== "win32" && /* @__PURE__ */ React31.createElement(Text27, { dimColor: true }, 'Note: you may need to prefix with "sudo" on macOS/Linux.')) : null, /* @__PURE__ */ React31.createElement(Box24, { flexDirection: "column", gap: 0 }, /* @__PURE__ */ React31.createElement(Box24, { flexDirection: "row", gap: 2 }, /* @__PURE__ */ React31.createElement(Text27, null, /* @__PURE__ */ React31.createElement(Text27, { color: theme.secondaryText }, "\u2022 cwd: "), /* @__PURE__ */ React31.createElement(Text27, null, getCwd())), mcpClients.length > 0 && /* @__PURE__ */ React31.createElement(Text27, null, /* @__PURE__ */ React31.createElement(Text27, { color: theme.secondaryText }, "\u2022 mcp: "), /* @__PURE__ */ React31.createElement(Text27, { color: theme.success }, mcpClients.length, " active")), /* @__PURE__ */ React31.createElement(Text27, null, /* @__PURE__ */ React31.createElement(Text27, { color: theme.secondaryText }, "\u2022 model: "), /* @__PURE__ */ React31.createElement(Text27, { color: theme.pyb }, currentModel))), hasOverrides && /* @__PURE__ */ React31.createElement(Box24, { flexDirection: "row", gap: 2, marginTop: 0 }, /* @__PURE__ */ React31.createElement(Text27, { color: theme.secondaryText }, "\u2022 overrides: "), process.env.DISABLE_PROMPT_CACHING ? /* @__PURE__ */ React31.createElement(Text27, { color: theme.secondaryText }, "no-cache") : null, process.env.API_TIMEOUT_MS ? /* @__PURE__ */ React31.createElement(Text27, { color: theme.secondaryText }, "timeout=", process.env.API_TIMEOUT_MS, "ms") : null, process.env.MAX_THINKING_TOKENS ? /* @__PURE__ */ React31.createElement(Text27, { color: theme.secondaryText }, "thinking=", process.env.MAX_THINKING_TOKENS) : null)), mcpClients.length > 0 && /* @__PURE__ */ React31.createElement(Box24, { flexDirection: "column", marginTop: 0, display: config2.verbose ? "flex" : "none" }, mcpClients.map((client, idx) => /* @__PURE__ */ React31.createElement(Box24, { key: idx, marginLeft: 2 }, /* @__PURE__ */ React31.createElement(Text27, { color: theme.secondaryText, dimColor: true }, " - ", client.name, " (", client.type === "connected" ? "connected" : "failed", ")")))));
11206
11149
  }
11207
11150
 
11208
11151
  // src/ui/components/model-selector/ModelSelector.tsx
@@ -14949,7 +14892,7 @@ function Onboarding({ onDone }) {
14949
14892
  isOnboarding: true
14950
14893
  }
14951
14894
  ));
14952
- const usageStep = /* @__PURE__ */ React35.createElement(Box28, { flexDirection: "column", gap: 1, paddingLeft: 1 }, /* @__PURE__ */ React35.createElement(Text31, { bold: true }, "Using ", PRODUCT_NAME, " effectively:"), /* @__PURE__ */ React35.createElement(Box28, { flexDirection: "column", width: 70 }, /* @__PURE__ */ React35.createElement(OrderedList2, { children: [] }, /* @__PURE__ */ React35.createElement(OrderedList2.Item, { children: [] }, /* @__PURE__ */ React35.createElement(Text31, null, "Start in your project directory", /* @__PURE__ */ React35.createElement(Newline3, null), /* @__PURE__ */ React35.createElement(Text31, { color: theme.secondaryText }, "Files are automatically added to context when needed."), /* @__PURE__ */ React35.createElement(Newline3, null))), /* @__PURE__ */ React35.createElement(OrderedList2.Item, { children: [] }, /* @__PURE__ */ React35.createElement(Text31, null, "Use ", PRODUCT_NAME, " as a development partner", /* @__PURE__ */ React35.createElement(Newline3, null), /* @__PURE__ */ React35.createElement(Text31, { color: theme.secondaryText }, "Get help with file analysis, editing, bash commands,", /* @__PURE__ */ React35.createElement(Newline3, null), "and git history.", /* @__PURE__ */ React35.createElement(Newline3, null)))), /* @__PURE__ */ React35.createElement(OrderedList2.Item, { children: [] }, /* @__PURE__ */ React35.createElement(Text31, null, "Provide clear context", /* @__PURE__ */ React35.createElement(Newline3, null), /* @__PURE__ */ React35.createElement(Text31, { color: theme.secondaryText }, "Be as specific as you would with another engineer. ", /* @__PURE__ */ React35.createElement(Newline3, null), "The better the context, the better the results. ", /* @__PURE__ */ React35.createElement(Newline3, null)))))), /* @__PURE__ */ React35.createElement(PressEnterToContinue, null));
14895
+ const usageStep = /* @__PURE__ */ React35.createElement(Box28, { flexDirection: "column", gap: 1, paddingLeft: 1 }, /* @__PURE__ */ React35.createElement(Text31, { bold: true }, "Using ", PRODUCT_NAME, " effectively:"), /* @__PURE__ */ React35.createElement(Box28, { flexDirection: "column", width: 70 }, /* @__PURE__ */ React35.createElement(OrderedList, { children: [] }, /* @__PURE__ */ React35.createElement(OrderedList.Item, { children: [] }, /* @__PURE__ */ React35.createElement(Text31, null, "Start in your project directory", /* @__PURE__ */ React35.createElement(Newline3, null), /* @__PURE__ */ React35.createElement(Text31, { color: theme.secondaryText }, "Files are automatically added to context when needed."), /* @__PURE__ */ React35.createElement(Newline3, null))), /* @__PURE__ */ React35.createElement(OrderedList.Item, { children: [] }, /* @__PURE__ */ React35.createElement(Text31, null, "Use ", PRODUCT_NAME, " as a development partner", /* @__PURE__ */ React35.createElement(Newline3, null), /* @__PURE__ */ React35.createElement(Text31, { color: theme.secondaryText }, "Get help with file analysis, editing, bash commands,", /* @__PURE__ */ React35.createElement(Newline3, null), "and git history.", /* @__PURE__ */ React35.createElement(Newline3, null)))), /* @__PURE__ */ React35.createElement(OrderedList.Item, { children: [] }, /* @__PURE__ */ React35.createElement(Text31, null, "Provide clear context", /* @__PURE__ */ React35.createElement(Newline3, null), /* @__PURE__ */ React35.createElement(Text31, { color: theme.secondaryText }, "Be as specific as you would with another engineer. ", /* @__PURE__ */ React35.createElement(Newline3, null), "The better the context, the better the results. ", /* @__PURE__ */ React35.createElement(Newline3, null)))))), /* @__PURE__ */ React35.createElement(PressEnterToContinue, null));
14953
14896
  const modelStep = /* @__PURE__ */ React35.createElement(Box28, { flexDirection: "column", gap: 1, paddingLeft: 1 }, /* @__PURE__ */ React35.createElement(Text31, { bold: true }, "Configure your models:"), /* @__PURE__ */ React35.createElement(Box28, { flexDirection: "column", width: 70 }, /* @__PURE__ */ React35.createElement(Text31, null, "You can customize which models ", PRODUCT_NAME, " uses for different tasks.", /* @__PURE__ */ React35.createElement(Newline3, null), /* @__PURE__ */ React35.createElement(Text31, { color: theme.secondaryText }, "Let's set up your preferred models for large and small tasks.")), /* @__PURE__ */ React35.createElement(Box28, { marginTop: 1 }, /* @__PURE__ */ React35.createElement(Text31, null, "Press ", /* @__PURE__ */ React35.createElement(Text31, { color: theme.suggestion }, "Enter"), " to continue to the model selection screen."))), /* @__PURE__ */ React35.createElement(PressEnterToContinue, null));
14954
14897
  const steps = [];
14955
14898
  steps.push({ id: "theme", component: themeStep });
@@ -15340,7 +15283,7 @@ async function refreshPluginRuntimeFromInstalls() {
15340
15283
  const existingRoots = getSessionPlugins().map((p) => p.rootDir);
15341
15284
  const dirs = Array.from(/* @__PURE__ */ new Set([...existingRoots, ...installedRoots]));
15342
15285
  if (dirs.length === 0) return [];
15343
- const { configureSessionPlugins } = await import("./pluginRuntime-CDVJYZZP.js");
15286
+ const { configureSessionPlugins } = await import("./pluginRuntime-4TAKSWU2.js");
15344
15287
  const { errors } = await configureSessionPlugins({ pluginDirs: dirs });
15345
15288
  return errors;
15346
15289
  }
@@ -16009,7 +15952,7 @@ async function call(onDone, context) {
16009
15952
  ModelConfig,
16010
15953
  {
16011
15954
  onClose: () => {
16012
- import("./model-BRJGHSA4.js").then(({ reloadModelManager: reloadModelManager2 }) => {
15955
+ import("./model-EJQIQQS7.js").then(({ reloadModelManager: reloadModelManager2 }) => {
16013
15956
  reloadModelManager2();
16014
15957
  triggerModelConfigChange();
16015
15958
  onDone();
@@ -23251,7 +23194,7 @@ function useStatusLine() {
23251
23194
  // src/ui/components/PromptInput.tsx
23252
23195
  async function interpretHashCommand(input) {
23253
23196
  try {
23254
- const { queryQuick: queryQuick2 } = await import("./llm-4N442LX4.js");
23197
+ const { queryQuick: queryQuick2 } = await import("./llm-6LNLEJYZ.js");
23255
23198
  const systemPrompt = [
23256
23199
  "You're helping the user structure notes that will be added to their PYB.md file.",
23257
23200
  "Format the user's input into a well-structured note that will be useful for later reference.",
@@ -23564,7 +23507,7 @@ function PromptInput({
23564
23507
  if (messages2.length) {
23565
23508
  if (mode === "bash") {
23566
23509
  onQuery(messages2, newAbortController).then(async () => {
23567
- const { getCwd: getCwd2 } = await import("./state-EHMEWB7R.js");
23510
+ const { getCwd: getCwd2 } = await import("./state-YDEBTCFK.js");
23568
23511
  setCurrentPwd(getCwd2());
23569
23512
  });
23570
23513
  } else {
@@ -26323,7 +26266,7 @@ import { homedir as homedir7 } from "os";
26323
26266
  // src/commands/agents/generation.ts
26324
26267
  import { randomUUID as randomUUID5 } from "crypto";
26325
26268
  async function generateAgentWithClaude(prompt) {
26326
- const { queryModel } = await import("./llm-4N442LX4.js");
26269
+ const { queryModel } = await import("./llm-6LNLEJYZ.js");
26327
26270
  const systemPrompt = `You are an expert at creating AI agent configurations. Based on the user's description, generate a specialized agent configuration.
26328
26271
 
26329
26272
  Return your response as a JSON object with exactly these fields: