pybao-cli 1.5.26 → 1.5.28

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 (153) hide show
  1. package/dist/REPL-CIGFIB2K.js +51 -0
  2. package/dist/{acp-2ADDKTRM.js → acp-LPUVNMVA.js} +31 -31
  3. package/dist/{agentsValidate-OVPBAEZK.js → agentsValidate-NJFCOKLM.js} +7 -7
  4. package/dist/{ask-Q26NIN3B.js → ask-MLMT5BS6.js} +30 -30
  5. package/dist/{autoUpdater-TVOBGQY2.js → autoUpdater-DDO7JDYK.js} +3 -3
  6. package/dist/{chunk-CGENEGDI.js → chunk-3EKDEHA6.js} +1 -1
  7. package/dist/{chunk-ZIVDHAMU.js → chunk-3EXNQY5V.js} +2 -2
  8. package/dist/{chunk-F3BMDQBD.js → chunk-45RKLOA2.js} +1 -1
  9. package/dist/{chunk-OKEIG3UC.js → chunk-4AJ57TEG.js} +1 -1
  10. package/dist/{chunk-EJPGPTY6.js → chunk-66CSSNV4.js} +4 -4
  11. package/dist/{chunk-LP3EJS77.js → chunk-B77Z7PVY.js} +2 -2
  12. package/dist/{chunk-DG7LOR3Q.js → chunk-BZADGBO3.js} +3 -3
  13. package/dist/{chunk-EKZGVP53.js → chunk-CGVZ5DRN.js} +3 -3
  14. package/dist/{chunk-CESDUQBF.js → chunk-CMTY5QUA.js} +1 -1
  15. package/dist/{chunk-GZBJPLTJ.js → chunk-CMXKVKGI.js} +4 -4
  16. package/dist/{chunk-TLHF4J72.js → chunk-DJK25Y7H.js} +1 -1
  17. package/dist/{chunk-YLBWF7D2.js → chunk-FSNVOIMV.js} +1 -1
  18. package/dist/{chunk-YLBWF7D2.js.map → chunk-FSNVOIMV.js.map} +1 -1
  19. package/dist/{chunk-66OAFWT3.js → chunk-G3GBKBJV.js} +3 -3
  20. package/dist/{chunk-GYSKHPUA.js → chunk-J6I3C2I5.js} +2 -2
  21. package/dist/{chunk-X3BQA3YE.js → chunk-JKDYSJLL.js} +3 -3
  22. package/dist/{chunk-PFFVDJ52.js → chunk-LDWBFWC3.js} +3 -3
  23. package/dist/{chunk-US44CZRL.js → chunk-MMTTMUIM.js} +41 -52
  24. package/dist/{chunk-US44CZRL.js.map → chunk-MMTTMUIM.js.map} +2 -2
  25. package/dist/{chunk-NYOAEEVC.js → chunk-N7PUYBPA.js} +4 -4
  26. package/dist/{chunk-FBHVDOJT.js → chunk-NB5EBN2K.js} +3 -3
  27. package/dist/{chunk-QFXHC754.js → chunk-NCMBHDHD.js} +2 -2
  28. package/dist/{chunk-FVQTUBDM.js → chunk-NLDLQ6RW.js} +2 -2
  29. package/dist/{chunk-JPPQJANN.js → chunk-NSUZUFPI.js} +3 -3
  30. package/dist/{chunk-6SRO6NZW.js → chunk-OTKXDQS6.js} +1 -1
  31. package/dist/{chunk-6F5PJYF4.js → chunk-PWOBA5TU.js} +15 -15
  32. package/dist/{chunk-5IDQK3OD.js → chunk-QR23Z7NS.js} +4 -4
  33. package/dist/{chunk-GASKENL5.js → chunk-RYJPKS4G.js} +1 -1
  34. package/dist/{chunk-SK7JIWXO.js → chunk-UEDXZ2M4.js} +1 -1
  35. package/dist/{chunk-WXZUYR6V.js → chunk-UJ4YXNVZ.js} +1 -1
  36. package/dist/{chunk-7MOPJWTA.js → chunk-UNKEBWHZ.js} +1 -1
  37. package/dist/{chunk-E27P7H7H.js → chunk-V5BL2CBF.js} +3 -3
  38. package/dist/{chunk-HI6YJWFI.js → chunk-VBTFUG7L.js} +2 -2
  39. package/dist/{chunk-HAFYP74Q.js → chunk-VWZDRE3Y.js} +1 -1
  40. package/dist/{cli-QO4CZMZN.js → cli-IDH4B7WR.js} +91 -91
  41. package/dist/commands-5J6XGTUV.js +55 -0
  42. package/dist/{config-2LQL44YC.js → config-ZLQGGQNA.js} +4 -4
  43. package/dist/{context-BRQF7CQG.js → context-4TLR2SVM.js} +6 -6
  44. package/dist/{conversationPersistence-K5Q3ECQV.js → conversationPersistence-NUDNBH4N.js} +3 -3
  45. package/dist/{conversationTracker-WUDYHEVC.js → conversationTracker-M2WM2TYZ.js} +4 -4
  46. package/dist/{customCommands-PU3SY76P.js → customCommands-IOSGOPGN.js} +4 -4
  47. package/dist/{env-ZOU5EXCO.js → env-RVZYZ2TF.js} +2 -2
  48. package/dist/{file-I63YOZ2P.js → file-DRYNBMZI.js} +4 -4
  49. package/dist/index.js +3 -3
  50. package/dist/{llm-CTECH6IG.js → llm-RTDFMTWE.js} +31 -31
  51. package/dist/{llmLazy-RAULGERZ.js → llmLazy-5O7YN3C3.js} +1 -1
  52. package/dist/{loader-W26YZI25.js → loader-ITBEJZOV.js} +4 -4
  53. package/dist/{lsp-QECQTZHX.js → lsp-APTZIESF.js} +6 -6
  54. package/dist/{lspAnchor-A6JOWYTF.js → lspAnchor-RIWAQR5G.js} +6 -6
  55. package/dist/{mcp-JR5GCFVI.js → mcp-SACPAQKN.js} +7 -7
  56. package/dist/{mentionProcessor-43TRFZTC.js → mentionProcessor-H36WMYSC.js} +5 -5
  57. package/dist/{messages-6B56FWB6.js → messages-NZPYRECN.js} +1 -1
  58. package/dist/{model-KVO3Q5GQ.js → model-WYJUQZQC.js} +5 -5
  59. package/dist/{openai-CMN6BQ26.js → openai-YMSWIJK7.js} +5 -5
  60. package/dist/{outputStyles-S4EHIOBW.js → outputStyles-V3SHUKT5.js} +4 -4
  61. package/dist/{pluginRuntime-WP7C7MEW.js → pluginRuntime-LIQ2HGGJ.js} +6 -6
  62. package/dist/{pluginValidation-YNVAU2ZN.js → pluginValidation-WT774DEU.js} +6 -6
  63. package/dist/prompts-SHNPEZRF.js +57 -0
  64. package/dist/{pybAgentSessionLoad-EWFESYAH.js → pybAgentSessionLoad-RKKP2YVF.js} +4 -4
  65. package/dist/{pybAgentSessionResume-BRGB733X.js → pybAgentSessionResume-ZQDNFEL2.js} +4 -4
  66. package/dist/{pybAgentStreamJsonSession-54U673FL.js → pybAgentStreamJsonSession-E6Z2MF3L.js} +1 -1
  67. package/dist/{pybHooks-IQDSHJJZ.js → pybHooks-IOBVHQZU.js} +4 -4
  68. package/dist/query-AXYOOQE2.js +55 -0
  69. package/dist/{registry-HZRLFYJP.js → registry-3Z3LIGJV.js} +5 -5
  70. package/dist/{ripgrep-USRMP7QC.js → ripgrep-V4TDNU5U.js} +3 -3
  71. package/dist/{skillMarketplace-H6L3SYVR.js → skillMarketplace-HL5KNU2H.js} +3 -3
  72. package/dist/{state-6C746QMJ.js → state-WP7PBWTA.js} +2 -2
  73. package/dist/{theme-AXEVVVRT.js → theme-2ZJI7RMV.js} +5 -5
  74. package/dist/{toolPermissionSettings-XJT57SRI.js → toolPermissionSettings-TXT23KMB.js} +6 -6
  75. package/dist/tools-WM7BWSWG.js +56 -0
  76. package/dist/{userInput-FE6BKWOK.js → userInput-OBAKIQMS.js} +32 -32
  77. package/package.json +1 -1
  78. package/dist/REPL-IGB7EIAW.js +0 -51
  79. package/dist/commands-RMFLUJUJ.js +0 -55
  80. package/dist/prompts-WRRAU4DE.js +0 -57
  81. package/dist/query-LG26S5UL.js +0 -55
  82. package/dist/tools-DRXBA76X.js +0 -56
  83. /package/dist/{REPL-IGB7EIAW.js.map → REPL-CIGFIB2K.js.map} +0 -0
  84. /package/dist/{acp-2ADDKTRM.js.map → acp-LPUVNMVA.js.map} +0 -0
  85. /package/dist/{agentsValidate-OVPBAEZK.js.map → agentsValidate-NJFCOKLM.js.map} +0 -0
  86. /package/dist/{ask-Q26NIN3B.js.map → ask-MLMT5BS6.js.map} +0 -0
  87. /package/dist/{autoUpdater-TVOBGQY2.js.map → autoUpdater-DDO7JDYK.js.map} +0 -0
  88. /package/dist/{chunk-CGENEGDI.js.map → chunk-3EKDEHA6.js.map} +0 -0
  89. /package/dist/{chunk-ZIVDHAMU.js.map → chunk-3EXNQY5V.js.map} +0 -0
  90. /package/dist/{chunk-F3BMDQBD.js.map → chunk-45RKLOA2.js.map} +0 -0
  91. /package/dist/{chunk-OKEIG3UC.js.map → chunk-4AJ57TEG.js.map} +0 -0
  92. /package/dist/{chunk-EJPGPTY6.js.map → chunk-66CSSNV4.js.map} +0 -0
  93. /package/dist/{chunk-LP3EJS77.js.map → chunk-B77Z7PVY.js.map} +0 -0
  94. /package/dist/{chunk-DG7LOR3Q.js.map → chunk-BZADGBO3.js.map} +0 -0
  95. /package/dist/{chunk-EKZGVP53.js.map → chunk-CGVZ5DRN.js.map} +0 -0
  96. /package/dist/{chunk-CESDUQBF.js.map → chunk-CMTY5QUA.js.map} +0 -0
  97. /package/dist/{chunk-GZBJPLTJ.js.map → chunk-CMXKVKGI.js.map} +0 -0
  98. /package/dist/{chunk-TLHF4J72.js.map → chunk-DJK25Y7H.js.map} +0 -0
  99. /package/dist/{chunk-66OAFWT3.js.map → chunk-G3GBKBJV.js.map} +0 -0
  100. /package/dist/{chunk-GYSKHPUA.js.map → chunk-J6I3C2I5.js.map} +0 -0
  101. /package/dist/{chunk-X3BQA3YE.js.map → chunk-JKDYSJLL.js.map} +0 -0
  102. /package/dist/{chunk-PFFVDJ52.js.map → chunk-LDWBFWC3.js.map} +0 -0
  103. /package/dist/{chunk-NYOAEEVC.js.map → chunk-N7PUYBPA.js.map} +0 -0
  104. /package/dist/{chunk-FBHVDOJT.js.map → chunk-NB5EBN2K.js.map} +0 -0
  105. /package/dist/{chunk-QFXHC754.js.map → chunk-NCMBHDHD.js.map} +0 -0
  106. /package/dist/{chunk-FVQTUBDM.js.map → chunk-NLDLQ6RW.js.map} +0 -0
  107. /package/dist/{chunk-JPPQJANN.js.map → chunk-NSUZUFPI.js.map} +0 -0
  108. /package/dist/{chunk-6SRO6NZW.js.map → chunk-OTKXDQS6.js.map} +0 -0
  109. /package/dist/{chunk-6F5PJYF4.js.map → chunk-PWOBA5TU.js.map} +0 -0
  110. /package/dist/{chunk-5IDQK3OD.js.map → chunk-QR23Z7NS.js.map} +0 -0
  111. /package/dist/{chunk-GASKENL5.js.map → chunk-RYJPKS4G.js.map} +0 -0
  112. /package/dist/{chunk-SK7JIWXO.js.map → chunk-UEDXZ2M4.js.map} +0 -0
  113. /package/dist/{chunk-WXZUYR6V.js.map → chunk-UJ4YXNVZ.js.map} +0 -0
  114. /package/dist/{chunk-7MOPJWTA.js.map → chunk-UNKEBWHZ.js.map} +0 -0
  115. /package/dist/{chunk-E27P7H7H.js.map → chunk-V5BL2CBF.js.map} +0 -0
  116. /package/dist/{chunk-HI6YJWFI.js.map → chunk-VBTFUG7L.js.map} +0 -0
  117. /package/dist/{chunk-HAFYP74Q.js.map → chunk-VWZDRE3Y.js.map} +0 -0
  118. /package/dist/{cli-QO4CZMZN.js.map → cli-IDH4B7WR.js.map} +0 -0
  119. /package/dist/{commands-RMFLUJUJ.js.map → commands-5J6XGTUV.js.map} +0 -0
  120. /package/dist/{config-2LQL44YC.js.map → config-ZLQGGQNA.js.map} +0 -0
  121. /package/dist/{context-BRQF7CQG.js.map → context-4TLR2SVM.js.map} +0 -0
  122. /package/dist/{conversationPersistence-K5Q3ECQV.js.map → conversationPersistence-NUDNBH4N.js.map} +0 -0
  123. /package/dist/{conversationTracker-WUDYHEVC.js.map → conversationTracker-M2WM2TYZ.js.map} +0 -0
  124. /package/dist/{customCommands-PU3SY76P.js.map → customCommands-IOSGOPGN.js.map} +0 -0
  125. /package/dist/{env-ZOU5EXCO.js.map → env-RVZYZ2TF.js.map} +0 -0
  126. /package/dist/{file-I63YOZ2P.js.map → file-DRYNBMZI.js.map} +0 -0
  127. /package/dist/{llm-CTECH6IG.js.map → llm-RTDFMTWE.js.map} +0 -0
  128. /package/dist/{llmLazy-RAULGERZ.js.map → llmLazy-5O7YN3C3.js.map} +0 -0
  129. /package/dist/{loader-W26YZI25.js.map → loader-ITBEJZOV.js.map} +0 -0
  130. /package/dist/{lsp-QECQTZHX.js.map → lsp-APTZIESF.js.map} +0 -0
  131. /package/dist/{lspAnchor-A6JOWYTF.js.map → lspAnchor-RIWAQR5G.js.map} +0 -0
  132. /package/dist/{mcp-JR5GCFVI.js.map → mcp-SACPAQKN.js.map} +0 -0
  133. /package/dist/{mentionProcessor-43TRFZTC.js.map → mentionProcessor-H36WMYSC.js.map} +0 -0
  134. /package/dist/{messages-6B56FWB6.js.map → messages-NZPYRECN.js.map} +0 -0
  135. /package/dist/{model-KVO3Q5GQ.js.map → model-WYJUQZQC.js.map} +0 -0
  136. /package/dist/{openai-CMN6BQ26.js.map → openai-YMSWIJK7.js.map} +0 -0
  137. /package/dist/{outputStyles-S4EHIOBW.js.map → outputStyles-V3SHUKT5.js.map} +0 -0
  138. /package/dist/{pluginRuntime-WP7C7MEW.js.map → pluginRuntime-LIQ2HGGJ.js.map} +0 -0
  139. /package/dist/{pluginValidation-YNVAU2ZN.js.map → pluginValidation-WT774DEU.js.map} +0 -0
  140. /package/dist/{prompts-WRRAU4DE.js.map → prompts-SHNPEZRF.js.map} +0 -0
  141. /package/dist/{pybAgentSessionLoad-EWFESYAH.js.map → pybAgentSessionLoad-RKKP2YVF.js.map} +0 -0
  142. /package/dist/{pybAgentSessionResume-BRGB733X.js.map → pybAgentSessionResume-ZQDNFEL2.js.map} +0 -0
  143. /package/dist/{pybAgentStreamJsonSession-54U673FL.js.map → pybAgentStreamJsonSession-E6Z2MF3L.js.map} +0 -0
  144. /package/dist/{pybHooks-IQDSHJJZ.js.map → pybHooks-IOBVHQZU.js.map} +0 -0
  145. /package/dist/{query-LG26S5UL.js.map → query-AXYOOQE2.js.map} +0 -0
  146. /package/dist/{registry-HZRLFYJP.js.map → registry-3Z3LIGJV.js.map} +0 -0
  147. /package/dist/{ripgrep-USRMP7QC.js.map → ripgrep-V4TDNU5U.js.map} +0 -0
  148. /package/dist/{skillMarketplace-H6L3SYVR.js.map → skillMarketplace-HL5KNU2H.js.map} +0 -0
  149. /package/dist/{state-6C746QMJ.js.map → state-WP7PBWTA.js.map} +0 -0
  150. /package/dist/{theme-AXEVVVRT.js.map → theme-2ZJI7RMV.js.map} +0 -0
  151. /package/dist/{toolPermissionSettings-XJT57SRI.js.map → toolPermissionSettings-TXT23KMB.js.map} +0 -0
  152. /package/dist/{tools-DRXBA76X.js.map → tools-WM7BWSWG.js.map} +0 -0
  153. /package/dist/{userInput-FE6BKWOK.js.map → userInput-OBAKIQMS.js.map} +0 -0
@@ -5,13 +5,13 @@ import {
5
5
  } from "./chunk-RQVLBMP7.js";
6
6
  import {
7
7
  debug
8
- } from "./chunk-TLHF4J72.js";
8
+ } from "./chunk-DJK25Y7H.js";
9
9
  import {
10
10
  getCwd,
11
11
  getGlobalConfigFilePath,
12
12
  getLegacyGlobalConfigFilePath,
13
13
  logError
14
- } from "./chunk-HAFYP74Q.js";
14
+ } from "./chunk-VWZDRE3Y.js";
15
15
 
16
16
  // src/core/config/schema.ts
17
17
  function isAutoUpdaterStatus(value) {
@@ -688,7 +688,7 @@ function setModelPointer(pointer, modelName) {
688
688
  }
689
689
  };
690
690
  saveGlobalConfig(updatedConfig);
691
- import("./model-KVO3Q5GQ.js").then(({ reloadModelManager }) => {
691
+ import("./model-WYJUQZQC.js").then(({ reloadModelManager }) => {
692
692
  reloadModelManager();
693
693
  });
694
694
  }
@@ -3,13 +3,13 @@ const require = __pybCreateRequire(import.meta.url);
3
3
  import {
4
4
  getGlobalConfig,
5
5
  saveGlobalConfig
6
- } from "./chunk-X3BQA3YE.js";
6
+ } from "./chunk-JKDYSJLL.js";
7
7
  import {
8
8
  debug
9
- } from "./chunk-TLHF4J72.js";
9
+ } from "./chunk-DJK25Y7H.js";
10
10
  import {
11
11
  logError
12
- } from "./chunk-HAFYP74Q.js";
12
+ } from "./chunk-VWZDRE3Y.js";
13
13
 
14
14
  // src/utils/model/index.ts
15
15
  import { memoize } from "lodash-es";
@@ -5,11 +5,11 @@ import {
5
5
  appendSessionJsonlFromMessage,
6
6
  appendSessionTagRecord,
7
7
  listPybAgentSessions
8
- } from "./chunk-EKZGVP53.js";
8
+ } from "./chunk-CGVZ5DRN.js";
9
9
  import {
10
10
  formatValidationResult,
11
11
  validatePluginOrMarketplacePath
12
- } from "./chunk-FBHVDOJT.js";
12
+ } from "./chunk-NB5EBN2K.js";
13
13
  import {
14
14
  ConversationTracker,
15
15
  appendFinishState,
@@ -17,16 +17,16 @@ import {
17
17
  getConversationTrackerForContext,
18
18
  isFinishComplete,
19
19
  mapFinishReason
20
- } from "./chunk-SK7JIWXO.js";
20
+ } from "./chunk-UEDXZ2M4.js";
21
21
  import {
22
22
  FileSystemConversationPersistence
23
- } from "./chunk-6SRO6NZW.js";
23
+ } from "./chunk-OTKXDQS6.js";
24
24
  import {
25
25
  beginReplSessionScope
26
26
  } from "./chunk-F4AXICO7.js";
27
27
  import {
28
28
  loadPybAgentSessionMessages
29
- } from "./chunk-WXZUYR6V.js";
29
+ } from "./chunk-UJ4YXNVZ.js";
30
30
  import {
31
31
  drainHookSystemPromptAdditions,
32
32
  getHookTranscriptPath,
@@ -38,7 +38,7 @@ import {
38
38
  runStopHooks,
39
39
  runUserPromptSubmitHooks,
40
40
  updateHookTranscriptForMessages
41
- } from "./chunk-DG7LOR3Q.js";
41
+ } from "./chunk-BZADGBO3.js";
42
42
  import {
43
43
  DEFAULT_OUTPUT_STYLE,
44
44
  getAvailableOutputStyles,
@@ -47,11 +47,11 @@ import {
47
47
  getOutputStyleSystemPromptAdditions,
48
48
  resolveOutputStyleName,
49
49
  setCurrentOutputStyle
50
- } from "./chunk-FVQTUBDM.js";
50
+ } from "./chunk-NLDLQ6RW.js";
51
51
  import {
52
52
  fetchCustomModels,
53
53
  getModelFeatures
54
- } from "./chunk-LP3EJS77.js";
54
+ } from "./chunk-B77Z7PVY.js";
55
55
  import {
56
56
  getSessionState
57
57
  } from "./chunk-XKYHFZEC.js";
@@ -59,7 +59,7 @@ import {
59
59
  queryLLM,
60
60
  queryQuick,
61
61
  verifyApiKey
62
- } from "./chunk-GZBJPLTJ.js";
62
+ } from "./chunk-CMXKVKGI.js";
63
63
  import {
64
64
  DEFAULT_TIMEOUT_MS,
65
65
  FallbackToolUseRejectedMessage,
@@ -73,7 +73,7 @@ import {
73
73
  listMCPServers,
74
74
  loadMergedSettings,
75
75
  normalizeSandboxRuntimeConfigFromSettings
76
- } from "./chunk-NYOAEEVC.js";
76
+ } from "./chunk-N7PUYBPA.js";
77
77
  import {
78
78
  addMarketplace,
79
79
  disableSkillPlugin,
@@ -86,11 +86,11 @@ import {
86
86
  refreshMarketplaceAsync,
87
87
  removeMarketplace,
88
88
  uninstallSkillPlugin
89
- } from "./chunk-F3BMDQBD.js";
89
+ } from "./chunk-45RKLOA2.js";
90
90
  import {
91
91
  loadToolPermissionContextFromDisk,
92
92
  persistToolPermissionUpdateToDisk
93
- } from "./chunk-JPPQJANN.js";
93
+ } from "./chunk-NSUZUFPI.js";
94
94
  import {
95
95
  applyToolPermissionContextUpdate,
96
96
  applyToolPermissionContextUpdates,
@@ -101,13 +101,13 @@ import {
101
101
  generateSystemReminders,
102
102
  resetReminderSession,
103
103
  systemReminderService
104
- } from "./chunk-HI6YJWFI.js";
104
+ } from "./chunk-VBTFUG7L.js";
105
105
  import {
106
106
  clearAgentCache,
107
107
  getActiveAgents,
108
108
  getAgentByType,
109
109
  getAllAgents
110
- } from "./chunk-GYSKHPUA.js";
110
+ } from "./chunk-J6I3C2I5.js";
111
111
  import {
112
112
  API_ERROR_MESSAGE_PREFIX,
113
113
  CANCEL_MESSAGE,
@@ -144,7 +144,7 @@ import {
144
144
  reorderMessages,
145
145
  resetAutoCompactTelemetry,
146
146
  stripSystemMessages
147
- } from "./chunk-CGENEGDI.js";
147
+ } from "./chunk-3EKDEHA6.js";
148
148
  import {
149
149
  getRequestStatus,
150
150
  setRequestStatus,
@@ -174,7 +174,7 @@ import {
174
174
  normalizeFilePath,
175
175
  readTextContent,
176
176
  writeTextContent
177
- } from "./chunk-QFXHC754.js";
177
+ } from "./chunk-NCMBHDHD.js";
178
178
  import {
179
179
  parseBlockEdits
180
180
  } from "./chunk-QWIBSCDN.js";
@@ -184,18 +184,18 @@ import {
184
184
  ParserRegistry,
185
185
  initParser,
186
186
  loadLanguage
187
- } from "./chunk-5IDQK3OD.js";
187
+ } from "./chunk-QR23Z7NS.js";
188
188
  import {
189
189
  getSettingsFileCandidates,
190
190
  loadSettingsWithLegacyFallback,
191
191
  readSettingsFile
192
- } from "./chunk-CESDUQBF.js";
192
+ } from "./chunk-CMTY5QUA.js";
193
193
  import {
194
194
  getCustomCommandDirectories,
195
195
  hasCustomCommands,
196
196
  loadCustomCommands,
197
197
  reloadCustomCommands
198
- } from "./chunk-ZIVDHAMU.js";
198
+ } from "./chunk-3EXNQY5V.js";
199
199
  import {
200
200
  getSessionPlugins
201
201
  } from "./chunk-BJSWTHRM.js";
@@ -204,7 +204,7 @@ import {
204
204
  buildModelProfileKey,
205
205
  getModelManager,
206
206
  isDefaultSlowAndCapableModel
207
- } from "./chunk-PFFVDJ52.js";
207
+ } from "./chunk-LDWBFWC3.js";
208
208
  import {
209
209
  getCodeStyle,
210
210
  getContext,
@@ -212,16 +212,16 @@ import {
212
212
  getIsGit,
213
213
  getProjectDocs,
214
214
  getProjectStructureStatisticsBlock
215
- } from "./chunk-EJPGPTY6.js";
215
+ } from "./chunk-66CSSNV4.js";
216
216
  import {
217
217
  getRipgrepPath,
218
218
  getRipgrepPolicyMode,
219
219
  resolveRipgrepPolicy,
220
220
  ripGrep
221
- } from "./chunk-7MOPJWTA.js";
221
+ } from "./chunk-UNKEBWHZ.js";
222
222
  import {
223
223
  getTheme
224
- } from "./chunk-GASKENL5.js";
224
+ } from "./chunk-RYJPKS4G.js";
225
225
  import {
226
226
  DEFAULT_GLOBAL_CONFIG,
227
227
  enableConfigs,
@@ -234,7 +234,7 @@ import {
234
234
  saveGlobalConfig,
235
235
  setAllPointersToModel,
236
236
  setModelPointer
237
- } from "./chunk-X3BQA3YE.js";
237
+ } from "./chunk-JKDYSJLL.js";
238
238
  import {
239
239
  AbortError
240
240
  } from "./chunk-RQVLBMP7.js";
@@ -243,7 +243,7 @@ import {
243
243
  getCurrentRequest,
244
244
  logUserFriendly,
245
245
  markPhase
246
- } from "./chunk-TLHF4J72.js";
246
+ } from "./chunk-DJK25Y7H.js";
247
247
  import {
248
248
  ASCII_LOGO,
249
249
  BunShell,
@@ -284,10 +284,10 @@ import {
284
284
  setCwd,
285
285
  shouldApplyToolOutputTruncation,
286
286
  truncateToolOutput
287
- } from "./chunk-HAFYP74Q.js";
287
+ } from "./chunk-VWZDRE3Y.js";
288
288
  import {
289
289
  MACRO
290
- } from "./chunk-YLBWF7D2.js";
290
+ } from "./chunk-FSNVOIMV.js";
291
291
  import {
292
292
  __export
293
293
  } from "./chunk-I3J4JYES.js";
@@ -468,7 +468,7 @@ var getCommandSubcommandPrefix = memoize(
468
468
  var getCommandPrefix = memoize(
469
469
  async (command4, abortSignal) => {
470
470
  const { systemPrompt, userPrompt } = buildBashCommandPrefixDetectionPrompt(command4);
471
- const { API_ERROR_MESSAGE_PREFIX: API_ERROR_MESSAGE_PREFIX2, queryQuick: queryQuick2 } = await import("./llm-CTECH6IG.js");
471
+ const { API_ERROR_MESSAGE_PREFIX: API_ERROR_MESSAGE_PREFIX2, queryQuick: queryQuick2 } = await import("./llm-RTDFMTWE.js");
472
472
  const response = await queryQuick2({
473
473
  systemPrompt,
474
474
  userPrompt,
@@ -4270,7 +4270,7 @@ function formatParseError(error) {
4270
4270
  return error instanceof Error ? error.message : String(error);
4271
4271
  }
4272
4272
  async function defaultGateQuery(args) {
4273
- const { API_ERROR_MESSAGE_PREFIX: API_ERROR_MESSAGE_PREFIX2, queryLLM: queryLLM2 } = await import("./llm-CTECH6IG.js");
4273
+ const { API_ERROR_MESSAGE_PREFIX: API_ERROR_MESSAGE_PREFIX2, queryLLM: queryLLM2 } = await import("./llm-RTDFMTWE.js");
4274
4274
  const queryLLMFn = args.queryLLMOverride ?? queryLLM2;
4275
4275
  const messages = [
4276
4276
  {
@@ -6663,7 +6663,7 @@ var FileEditTool = {
6663
6663
  const originalFileContent = currentFileContent;
6664
6664
  let totalPatch = [];
6665
6665
  const { SmartEdit } = await import("./smart-edit-AWHJDSU6.js");
6666
- const { findLspAnchor } = await import("./lspAnchor-A6JOWYTF.js");
6666
+ const { findLspAnchor } = await import("./lspAnchor-RIWAQR5G.js");
6667
6667
  for (const op of editOperations) {
6668
6668
  const normalizedSearch = normalizeLineEndings(op.search);
6669
6669
  const normalizedReplace = normalizeLineEndings(op.replace);
@@ -12148,7 +12148,7 @@ async function createAndStoreApiKey(accessToken) {
12148
12148
  }
12149
12149
  saveGlobalConfig(config2);
12150
12150
  try {
12151
- const { resetAnthropicClient } = await import("./llm-CTECH6IG.js");
12151
+ const { resetAnthropicClient } = await import("./llm-RTDFMTWE.js");
12152
12152
  resetAnthropicClient();
12153
12153
  } catch {
12154
12154
  }
@@ -16572,7 +16572,7 @@ async function refreshPluginRuntimeFromInstalls() {
16572
16572
  const existingRoots = getSessionPlugins().map((p) => p.rootDir);
16573
16573
  const dirs = Array.from(/* @__PURE__ */ new Set([...existingRoots, ...installedRoots]));
16574
16574
  if (dirs.length === 0) return [];
16575
- const { configureSessionPlugins } = await import("./pluginRuntime-WP7C7MEW.js");
16575
+ const { configureSessionPlugins } = await import("./pluginRuntime-LIQ2HGGJ.js");
16576
16576
  const { errors } = await configureSessionPlugins({ pluginDirs: dirs });
16577
16577
  return errors;
16578
16578
  }
@@ -17247,7 +17247,7 @@ async function call(onDone, context) {
17247
17247
  ModelConfig,
17248
17248
  {
17249
17249
  onClose: () => {
17250
- import("./model-KVO3Q5GQ.js").then(({ reloadModelManager: reloadModelManager2 }) => {
17250
+ import("./model-WYJUQZQC.js").then(({ reloadModelManager: reloadModelManager2 }) => {
17251
17251
  reloadModelManager2();
17252
17252
  triggerModelConfigChange();
17253
17253
  onDone();
@@ -25848,7 +25848,7 @@ function useStatusLine() {
25848
25848
  // src/ui/components/PromptInput.tsx
25849
25849
  async function interpretHashCommand(input) {
25850
25850
  try {
25851
- const { queryQuick: queryQuick2 } = await import("./llm-CTECH6IG.js");
25851
+ const { queryQuick: queryQuick2 } = await import("./llm-RTDFMTWE.js");
25852
25852
  const systemPrompt = [
25853
25853
  "You're helping the user structure notes that will be added to their PYB.md file.",
25854
25854
  "Format the user's input into a well-structured note that will be useful for later reference.",
@@ -26161,7 +26161,7 @@ function PromptInput({
26161
26161
  if (messages2.length) {
26162
26162
  if (mode === "bash") {
26163
26163
  onQuery(messages2, newAbortController).then(async () => {
26164
- const { getCwd: getCwd2 } = await import("./state-6C746QMJ.js");
26164
+ const { getCwd: getCwd2 } = await import("./state-WP7PBWTA.js");
26165
26165
  setCurrentPwd(getCwd2());
26166
26166
  });
26167
26167
  } else {
@@ -28825,15 +28825,6 @@ function resolveOverflowJointConfig(toolUseContext) {
28825
28825
  return { enabled, headroomRatio, minHeadroom, maxHeadroom };
28826
28826
  }
28827
28827
  async function shouldAutoCompact(messages, toolUseContext) {
28828
- if (messages.length < 3) {
28829
- return {
28830
- shouldCompact: false,
28831
- diagnostics: {
28832
- reasonCode: "insufficient_messages",
28833
- messageCount: messages.length
28834
- }
28835
- };
28836
- }
28837
28828
  const tokenCount = countTokens(messages);
28838
28829
  const thresholds = await calculateThresholds(tokenCount);
28839
28830
  const jointConfig = resolveOverflowJointConfig(toolUseContext);
@@ -28856,6 +28847,7 @@ async function shouldAutoCompact(messages, toolUseContext) {
28856
28847
  return {
28857
28848
  shouldCompact,
28858
28849
  diagnostics: {
28850
+ messageCount: messages.length,
28859
28851
  tokenCount,
28860
28852
  contextLimit: thresholds.contextLimit,
28861
28853
  autoCompactThreshold: thresholds.autoCompactThreshold,
@@ -34210,7 +34202,7 @@ import { homedir as homedir8 } from "os";
34210
34202
  // src/commands/agents/generation.ts
34211
34203
  import { randomUUID as randomUUID6 } from "crypto";
34212
34204
  async function generateAgentWithClaude(prompt) {
34213
- const { queryModel } = await import("./llm-CTECH6IG.js");
34205
+ const { queryModel } = await import("./llm-RTDFMTWE.js");
34214
34206
  const systemPrompt = `You are an expert at creating AI agent configurations. Based on the user's description, generate a specialized agent configuration.
34215
34207
 
34216
34208
  Return your response as a JSON object with exactly these fields:
@@ -37810,16 +37802,13 @@ ${disableSlashCommands ? "" : `Here are useful slash commands users can run to i
37810
37802
  There are additional slash commands and flags available to the user. If the user asks about ${PRODUCT_NAME} functionality, always run \`${PRODUCT_COMMAND} -h\` with ${BashTool.name} to see supported commands and flags. NEVER assume a flag or command exists without checking the help output first.`}
37811
37803
  To give feedback, users should ${MACRO.ISSUES_EXPLAINER}.
37812
37804
 
37813
- # Task Management
37814
- When facing complex tasks involving two or more steps and need to plan and manage them. Use these tools (TaskCreate, TaskUpdate, TaskList, TaskGet) VERY frequently to ensure that you are tracking your tasks and giving the user visibility into your progress.
37815
- These tools are powerful for planning tasks and for breaking down larger complex tasks\uFF08When a task requires 2 or more distinct steps or actions\uFF09 into smaller steps. For multi-step work, start by creating tasks with TaskCreate, then use TaskUpdate as you progress. Use TaskList to review readiness and blockers, and TaskGet for details. TaskList only returns id/subject/status/blockedBy.
37816
- For multi-step plans, you may create the list first and add blockedBy later via TaskUpdate. You can create a structured task list first and set up the task dependencies blockedBy later via TaskUpdate to ensure the previous structured task list completed in the right order.
37817
- Single-task work does not require a dependency chain. When dependencies are ready, set metadata.planFinalized="true" with TaskUpdate to trigger global validation.
37805
+ # Task Management System
37806
+ Use these tools (TaskCreate, TaskUpdate, TaskList, TaskGet) VERY frequently to ensure that you are tracking your tasks and giving the user visibility into your progress.
37807
+ These tools are powerful for planning tasks and for breaking down larger complex tasks\uFF08When a task requires 2 or more distinct steps or actions\uFF09 into smaller steps. For multi-step work, start by creating tasks with TaskCreate, then use TaskUpdate as you progress and dependencies. Use TaskList to review readiness and blockers, and TaskGet for details. TaskList only returns id/subject/status/blockedBy.
37808
+ When dependencies are ready, set metadata.planFinalized="true" with TaskUpdate to trigger global validation.
37818
37809
 
37819
37810
  **Dynamic Planning**: You are encouraged to update your plan dynamically. If you encounter unexpected issues or new requirements, pause the current task, add new items (e.g., "Fix dependency issue"), and adjust your plan accordingly.
37820
-
37821
37811
  Task records use subject as the single primary name, with activeForm provided by the caller to describe the in-progress action. Keep description and blockedBy independent in JSON; any joining is only for terminal rendering. blockedBy should always be present as an array (empty when not used). Ordering is by task id; do not use priority fields.
37822
-
37823
37812
  It is critical that you mark tasks as completed as soon as you are done with a task. Do not batch up multiple tasks before marking them as completed.
37824
37813
 
37825
37814
  # Cognitive Safety & Sensing