pybao-cli 1.4.76 → 1.4.78
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.
- package/dist/REPL-PMRNP5KN.js +46 -0
- package/dist/{acp-4XHRYO56.js → acp-3RMYS52H.js} +29 -29
- package/dist/{agentsValidate-OKBEIM2L.js → agentsValidate-3JFBXUNV.js} +7 -7
- package/dist/{ask-MLXVCAJZ.js → ask-RMURMSCU.js} +28 -28
- package/dist/{autoUpdater-WIPHLYW6.js → autoUpdater-NLRHGMPI.js} +3 -3
- package/dist/{chunk-Q7HIATXU.js → chunk-2BFE6B2Q.js} +2 -2
- package/dist/{chunk-ADFUXIHF.js → chunk-2BQURWBM.js} +1 -1
- package/dist/{chunk-BRTUHZJP.js → chunk-4PAAHB2Y.js} +4 -4
- package/dist/{chunk-T7MKXF5R.js → chunk-563GZISO.js} +1 -1
- package/dist/{chunk-PQSDS4SJ.js → chunk-7IFPQMJT.js} +2 -2
- package/dist/{chunk-OML4DI2L.js → chunk-7WHJT6R6.js} +1 -1
- package/dist/{chunk-NDZ624LO.js → chunk-A34GDIID.js} +3 -3
- package/dist/{chunk-XLT64RVU.js → chunk-B5GE2XHW.js} +3 -3
- package/dist/{chunk-W3EG25C2.js → chunk-HBEMQ2XH.js} +3 -3
- package/dist/{chunk-LATG3Z2L.js → chunk-HFMWMDHV.js} +4 -4
- package/dist/{chunk-O3XLJKJM.js → chunk-HU6IHG2X.js} +1 -1
- package/dist/{chunk-BJVBFT4L.js → chunk-II4SW3YT.js} +2 -2
- package/dist/{chunk-LNTTGDLL.js → chunk-KORULLWF.js} +3 -3
- package/dist/{chunk-B3Z5ZCJQ.js → chunk-LI2WWWNE.js} +2 -2
- package/dist/{chunk-X3XICKVZ.js → chunk-LXAMP3M2.js} +1 -1
- package/dist/{chunk-X3XICKVZ.js.map → chunk-LXAMP3M2.js.map} +1 -1
- package/dist/{chunk-HUXXS3KC.js → chunk-M2GXBP4V.js} +1 -1
- package/dist/{chunk-EJYHTI3D.js → chunk-M7VFQFQM.js} +3 -3
- package/dist/{chunk-GW7IMYAW.js → chunk-NQJYUKJC.js} +46 -36
- package/dist/chunk-NQJYUKJC.js.map +7 -0
- package/dist/{chunk-ACRKOUSO.js → chunk-OD32MHO5.js} +1 -1
- package/dist/{chunk-PW3WI3WG.js → chunk-P64X267N.js} +1 -1
- package/dist/{chunk-PCMHIRMR.js → chunk-PFPM2UZQ.js} +4 -4
- package/dist/{chunk-STRMTXEO.js → chunk-PKCQ6ODI.js} +4 -4
- package/dist/{chunk-FTZAV7B5.js → chunk-QXXFKCAS.js} +1 -1
- package/dist/{chunk-ARR7EPRS.js → chunk-SEX7QL6M.js} +29 -16
- package/dist/chunk-SEX7QL6M.js.map +7 -0
- package/dist/{chunk-Z5DXHNIL.js → chunk-SFK5DRJO.js} +1 -1
- package/dist/{chunk-NHBVGW37.js → chunk-TIV76GRO.js} +2 -2
- package/dist/{chunk-5ZXZCAYK.js → chunk-UYBLZCME.js} +3 -3
- package/dist/{chunk-JPQT7MD2.js → chunk-VZTJMDYR.js} +2 -2
- package/dist/{chunk-DGDPNCRD.js → chunk-XQSUDDJU.js} +2 -2
- package/dist/{chunk-CP4HRUTW.js → chunk-ZM45KHAU.js} +3 -3
- package/dist/{cli-AXTSYKWT.js → cli-2QPHQBGN.js} +87 -87
- package/dist/commands-IS55WXJ5.js +50 -0
- package/dist/{config-4E2E75IG.js → config-TNT4UN6O.js} +4 -4
- package/dist/{context-XWJSQOGN.js → context-LRCEYMZN.js} +6 -6
- package/dist/{customCommands-7CVNIGB7.js → customCommands-7KRUO7ZA.js} +4 -4
- package/dist/{env-3LVA2WS3.js → env-S2D5D7XI.js} +2 -2
- package/dist/{file-4EZK7WE2.js → file-ILZSOF2J.js} +4 -4
- package/dist/index.js +3 -3
- package/dist/{llm-T5WUFZWL.js → llm-VTBCMQSO.js} +29 -29
- package/dist/{llmLazy-XI646FSV.js → llmLazy-H6EA3E3M.js} +1 -1
- package/dist/{loader-VRW3M3YU.js → loader-LCMOOYNN.js} +4 -4
- package/dist/{lsp-UHLFPGB6.js → lsp-3FYZRRML.js} +6 -6
- package/dist/{lspAnchor-4ADQNOAW.js → lspAnchor-QOYDKNUZ.js} +6 -6
- package/dist/{mcp-Q52D347V.js → mcp-WEXLPQVS.js} +7 -7
- package/dist/{mentionProcessor-FLBA5OGP.js → mentionProcessor-SDC6EPCT.js} +5 -5
- package/dist/{messages-ZGY4CSSV.js → messages-HHF75TBW.js} +1 -1
- package/dist/{model-Q3R4RIKZ.js → model-2LBD4WIC.js} +5 -5
- package/dist/{openai-3YLV2GRL.js → openai-P3DHLAQG.js} +5 -5
- package/dist/{outputStyles-IHBZ4QPT.js → outputStyles-QDFJNE7I.js} +4 -4
- package/dist/{pluginRuntime-2CK3Q5DN.js → pluginRuntime-YPY2AXW3.js} +6 -6
- package/dist/{pluginValidation-42EAWBNZ.js → pluginValidation-PICRKHOR.js} +6 -6
- package/dist/prompts-4EPSYM7J.js +52 -0
- package/dist/{pybAgentSessionLoad-4RRVWF6C.js → pybAgentSessionLoad-J6GNI5BO.js} +4 -4
- package/dist/{pybAgentSessionResume-UFEKI4AN.js → pybAgentSessionResume-LYCMSJI7.js} +4 -4
- package/dist/{pybAgentStreamJsonSession-226XTDBY.js → pybAgentStreamJsonSession-KZHUK62N.js} +1 -1
- package/dist/{pybHooks-AFJ4D6YK.js → pybHooks-DN3CXWLP.js} +4 -4
- package/dist/query-YE2VWQMC.js +54 -0
- package/dist/{registry-S5FD4IVI.js → registry-WIQ4MAB4.js} +5 -5
- package/dist/{ripgrep-XW7RSZPZ.js → ripgrep-D5LXSN64.js} +3 -3
- package/dist/{skillMarketplace-GMJGRPJ4.js → skillMarketplace-AKOFEUO4.js} +3 -3
- package/dist/{state-YISEDJES.js → state-QIV7FSQG.js} +2 -2
- package/dist/{theme-IDJITFFJ.js → theme-ECRY7KAQ.js} +5 -5
- package/dist/{toolPermissionSettings-37NOKAVN.js → toolPermissionSettings-KMUOJF3Y.js} +6 -6
- package/dist/tools-UCPVVEO2.js +51 -0
- package/dist/{userInput-5STLCZUN.js → userInput-AVETXERG.js} +30 -30
- package/package.json +1 -1
- package/dist/REPL-RWPGSUIX.js +0 -46
- package/dist/chunk-ARR7EPRS.js.map +0 -7
- package/dist/chunk-GW7IMYAW.js.map +0 -7
- package/dist/commands-7HCZZAA5.js +0 -50
- package/dist/prompts-EDV34OWB.js +0 -52
- package/dist/query-BS6U3KIA.js +0 -54
- package/dist/tools-AEWPJXRE.js +0 -51
- /package/dist/{REPL-RWPGSUIX.js.map → REPL-PMRNP5KN.js.map} +0 -0
- /package/dist/{acp-4XHRYO56.js.map → acp-3RMYS52H.js.map} +0 -0
- /package/dist/{agentsValidate-OKBEIM2L.js.map → agentsValidate-3JFBXUNV.js.map} +0 -0
- /package/dist/{ask-MLXVCAJZ.js.map → ask-RMURMSCU.js.map} +0 -0
- /package/dist/{autoUpdater-WIPHLYW6.js.map → autoUpdater-NLRHGMPI.js.map} +0 -0
- /package/dist/{chunk-Q7HIATXU.js.map → chunk-2BFE6B2Q.js.map} +0 -0
- /package/dist/{chunk-ADFUXIHF.js.map → chunk-2BQURWBM.js.map} +0 -0
- /package/dist/{chunk-BRTUHZJP.js.map → chunk-4PAAHB2Y.js.map} +0 -0
- /package/dist/{chunk-T7MKXF5R.js.map → chunk-563GZISO.js.map} +0 -0
- /package/dist/{chunk-PQSDS4SJ.js.map → chunk-7IFPQMJT.js.map} +0 -0
- /package/dist/{chunk-OML4DI2L.js.map → chunk-7WHJT6R6.js.map} +0 -0
- /package/dist/{chunk-NDZ624LO.js.map → chunk-A34GDIID.js.map} +0 -0
- /package/dist/{chunk-XLT64RVU.js.map → chunk-B5GE2XHW.js.map} +0 -0
- /package/dist/{chunk-W3EG25C2.js.map → chunk-HBEMQ2XH.js.map} +0 -0
- /package/dist/{chunk-LATG3Z2L.js.map → chunk-HFMWMDHV.js.map} +0 -0
- /package/dist/{chunk-O3XLJKJM.js.map → chunk-HU6IHG2X.js.map} +0 -0
- /package/dist/{chunk-BJVBFT4L.js.map → chunk-II4SW3YT.js.map} +0 -0
- /package/dist/{chunk-LNTTGDLL.js.map → chunk-KORULLWF.js.map} +0 -0
- /package/dist/{chunk-B3Z5ZCJQ.js.map → chunk-LI2WWWNE.js.map} +0 -0
- /package/dist/{chunk-HUXXS3KC.js.map → chunk-M2GXBP4V.js.map} +0 -0
- /package/dist/{chunk-EJYHTI3D.js.map → chunk-M7VFQFQM.js.map} +0 -0
- /package/dist/{chunk-ACRKOUSO.js.map → chunk-OD32MHO5.js.map} +0 -0
- /package/dist/{chunk-PW3WI3WG.js.map → chunk-P64X267N.js.map} +0 -0
- /package/dist/{chunk-PCMHIRMR.js.map → chunk-PFPM2UZQ.js.map} +0 -0
- /package/dist/{chunk-STRMTXEO.js.map → chunk-PKCQ6ODI.js.map} +0 -0
- /package/dist/{chunk-FTZAV7B5.js.map → chunk-QXXFKCAS.js.map} +0 -0
- /package/dist/{chunk-Z5DXHNIL.js.map → chunk-SFK5DRJO.js.map} +0 -0
- /package/dist/{chunk-NHBVGW37.js.map → chunk-TIV76GRO.js.map} +0 -0
- /package/dist/{chunk-5ZXZCAYK.js.map → chunk-UYBLZCME.js.map} +0 -0
- /package/dist/{chunk-JPQT7MD2.js.map → chunk-VZTJMDYR.js.map} +0 -0
- /package/dist/{chunk-DGDPNCRD.js.map → chunk-XQSUDDJU.js.map} +0 -0
- /package/dist/{chunk-CP4HRUTW.js.map → chunk-ZM45KHAU.js.map} +0 -0
- /package/dist/{cli-AXTSYKWT.js.map → cli-2QPHQBGN.js.map} +0 -0
- /package/dist/{commands-7HCZZAA5.js.map → commands-IS55WXJ5.js.map} +0 -0
- /package/dist/{config-4E2E75IG.js.map → config-TNT4UN6O.js.map} +0 -0
- /package/dist/{context-XWJSQOGN.js.map → context-LRCEYMZN.js.map} +0 -0
- /package/dist/{customCommands-7CVNIGB7.js.map → customCommands-7KRUO7ZA.js.map} +0 -0
- /package/dist/{env-3LVA2WS3.js.map → env-S2D5D7XI.js.map} +0 -0
- /package/dist/{file-4EZK7WE2.js.map → file-ILZSOF2J.js.map} +0 -0
- /package/dist/{llm-T5WUFZWL.js.map → llm-VTBCMQSO.js.map} +0 -0
- /package/dist/{llmLazy-XI646FSV.js.map → llmLazy-H6EA3E3M.js.map} +0 -0
- /package/dist/{loader-VRW3M3YU.js.map → loader-LCMOOYNN.js.map} +0 -0
- /package/dist/{lsp-UHLFPGB6.js.map → lsp-3FYZRRML.js.map} +0 -0
- /package/dist/{lspAnchor-4ADQNOAW.js.map → lspAnchor-QOYDKNUZ.js.map} +0 -0
- /package/dist/{mcp-Q52D347V.js.map → mcp-WEXLPQVS.js.map} +0 -0
- /package/dist/{mentionProcessor-FLBA5OGP.js.map → mentionProcessor-SDC6EPCT.js.map} +0 -0
- /package/dist/{messages-ZGY4CSSV.js.map → messages-HHF75TBW.js.map} +0 -0
- /package/dist/{model-Q3R4RIKZ.js.map → model-2LBD4WIC.js.map} +0 -0
- /package/dist/{openai-3YLV2GRL.js.map → openai-P3DHLAQG.js.map} +0 -0
- /package/dist/{outputStyles-IHBZ4QPT.js.map → outputStyles-QDFJNE7I.js.map} +0 -0
- /package/dist/{pluginRuntime-2CK3Q5DN.js.map → pluginRuntime-YPY2AXW3.js.map} +0 -0
- /package/dist/{pluginValidation-42EAWBNZ.js.map → pluginValidation-PICRKHOR.js.map} +0 -0
- /package/dist/{prompts-EDV34OWB.js.map → prompts-4EPSYM7J.js.map} +0 -0
- /package/dist/{pybAgentSessionLoad-4RRVWF6C.js.map → pybAgentSessionLoad-J6GNI5BO.js.map} +0 -0
- /package/dist/{pybAgentSessionResume-UFEKI4AN.js.map → pybAgentSessionResume-LYCMSJI7.js.map} +0 -0
- /package/dist/{pybAgentStreamJsonSession-226XTDBY.js.map → pybAgentStreamJsonSession-KZHUK62N.js.map} +0 -0
- /package/dist/{pybHooks-AFJ4D6YK.js.map → pybHooks-DN3CXWLP.js.map} +0 -0
- /package/dist/{query-BS6U3KIA.js.map → query-YE2VWQMC.js.map} +0 -0
- /package/dist/{registry-S5FD4IVI.js.map → registry-WIQ4MAB4.js.map} +0 -0
- /package/dist/{ripgrep-XW7RSZPZ.js.map → ripgrep-D5LXSN64.js.map} +0 -0
- /package/dist/{skillMarketplace-GMJGRPJ4.js.map → skillMarketplace-AKOFEUO4.js.map} +0 -0
- /package/dist/{state-YISEDJES.js.map → state-QIV7FSQG.js.map} +0 -0
- /package/dist/{theme-IDJITFFJ.js.map → theme-ECRY7KAQ.js.map} +0 -0
- /package/dist/{toolPermissionSettings-37NOKAVN.js.map → toolPermissionSettings-KMUOJF3Y.js.map} +0 -0
- /package/dist/{tools-AEWPJXRE.js.map → tools-UCPVVEO2.js.map} +0 -0
- /package/dist/{userInput-5STLCZUN.js.map → userInput-AVETXERG.js.map} +0 -0
|
@@ -3,18 +3,18 @@ const require = __pybCreateRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
formatValidationResult,
|
|
5
5
|
validatePluginOrMarketplacePath
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-ZM45KHAU.js";
|
|
7
7
|
import {
|
|
8
8
|
loadPybAgentSessionMessages
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-563GZISO.js";
|
|
10
10
|
import {
|
|
11
11
|
listPybAgentSessions
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-P64X267N.js";
|
|
13
13
|
import {
|
|
14
14
|
appendSessionCustomTitleRecord,
|
|
15
15
|
appendSessionJsonlFromMessage,
|
|
16
16
|
appendSessionTagRecord
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-II4SW3YT.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-
|
|
29
|
+
} from "./chunk-HBEMQ2XH.js";
|
|
30
30
|
import {
|
|
31
31
|
DEFAULT_OUTPUT_STYLE,
|
|
32
32
|
getAvailableOutputStyles,
|
|
@@ -35,17 +35,17 @@ import {
|
|
|
35
35
|
getOutputStyleSystemPromptAdditions,
|
|
36
36
|
resolveOutputStyleName,
|
|
37
37
|
setCurrentOutputStyle
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-2BFE6B2Q.js";
|
|
39
39
|
import {
|
|
40
40
|
fetchCustomModels,
|
|
41
41
|
getModelFeatures,
|
|
42
42
|
getSessionState
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-XQSUDDJU.js";
|
|
44
44
|
import {
|
|
45
45
|
queryLLM,
|
|
46
46
|
queryQuick,
|
|
47
47
|
verifyApiKey
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-4PAAHB2Y.js";
|
|
49
49
|
import {
|
|
50
50
|
DEFAULT_TIMEOUT_MS,
|
|
51
51
|
FallbackToolUseRejectedMessage,
|
|
@@ -59,7 +59,7 @@ import {
|
|
|
59
59
|
listMCPServers,
|
|
60
60
|
loadMergedSettings,
|
|
61
61
|
normalizeSandboxRuntimeConfigFromSettings
|
|
62
|
-
} from "./chunk-
|
|
62
|
+
} from "./chunk-PFPM2UZQ.js";
|
|
63
63
|
import {
|
|
64
64
|
addMarketplace,
|
|
65
65
|
disableSkillPlugin,
|
|
@@ -72,11 +72,11 @@ import {
|
|
|
72
72
|
refreshMarketplaceAsync,
|
|
73
73
|
removeMarketplace,
|
|
74
74
|
uninstallSkillPlugin
|
|
75
|
-
} from "./chunk-
|
|
75
|
+
} from "./chunk-HU6IHG2X.js";
|
|
76
76
|
import {
|
|
77
77
|
loadToolPermissionContextFromDisk,
|
|
78
78
|
persistToolPermissionUpdateToDisk
|
|
79
|
-
} from "./chunk-
|
|
79
|
+
} from "./chunk-UYBLZCME.js";
|
|
80
80
|
import {
|
|
81
81
|
applyToolPermissionContextUpdate,
|
|
82
82
|
applyToolPermissionContextUpdates,
|
|
@@ -87,13 +87,13 @@ import {
|
|
|
87
87
|
generateSystemReminders,
|
|
88
88
|
resetReminderSession,
|
|
89
89
|
systemReminderService
|
|
90
|
-
} from "./chunk-
|
|
90
|
+
} from "./chunk-TIV76GRO.js";
|
|
91
91
|
import {
|
|
92
92
|
clearAgentCache,
|
|
93
93
|
getActiveAgents,
|
|
94
94
|
getAgentByType,
|
|
95
95
|
getAllAgents
|
|
96
|
-
} from "./chunk-
|
|
96
|
+
} from "./chunk-LI2WWWNE.js";
|
|
97
97
|
import {
|
|
98
98
|
API_ERROR_MESSAGE_PREFIX,
|
|
99
99
|
CANCEL_MESSAGE,
|
|
@@ -124,7 +124,7 @@ import {
|
|
|
124
124
|
processUserInput,
|
|
125
125
|
reorderMessages,
|
|
126
126
|
stripSystemMessages
|
|
127
|
-
} from "./chunk-
|
|
127
|
+
} from "./chunk-OD32MHO5.js";
|
|
128
128
|
import {
|
|
129
129
|
getRequestStatus,
|
|
130
130
|
setRequestStatus,
|
|
@@ -154,7 +154,7 @@ import {
|
|
|
154
154
|
normalizeFilePath,
|
|
155
155
|
readTextContent,
|
|
156
156
|
writeTextContent
|
|
157
|
-
} from "./chunk-
|
|
157
|
+
} from "./chunk-VZTJMDYR.js";
|
|
158
158
|
import {
|
|
159
159
|
parseBlockEdits
|
|
160
160
|
} from "./chunk-QWIBSCDN.js";
|
|
@@ -164,18 +164,18 @@ import {
|
|
|
164
164
|
ParserRegistry,
|
|
165
165
|
initParser,
|
|
166
166
|
loadLanguage
|
|
167
|
-
} from "./chunk-
|
|
167
|
+
} from "./chunk-HFMWMDHV.js";
|
|
168
168
|
import {
|
|
169
169
|
getSettingsFileCandidates,
|
|
170
170
|
loadSettingsWithLegacyFallback,
|
|
171
171
|
readSettingsFile
|
|
172
|
-
} from "./chunk-
|
|
172
|
+
} from "./chunk-7WHJT6R6.js";
|
|
173
173
|
import {
|
|
174
174
|
getCustomCommandDirectories,
|
|
175
175
|
hasCustomCommands,
|
|
176
176
|
loadCustomCommands,
|
|
177
177
|
reloadCustomCommands
|
|
178
|
-
} from "./chunk-
|
|
178
|
+
} from "./chunk-7IFPQMJT.js";
|
|
179
179
|
import {
|
|
180
180
|
getSessionPlugins
|
|
181
181
|
} from "./chunk-BJSWTHRM.js";
|
|
@@ -183,7 +183,7 @@ import {
|
|
|
183
183
|
ModelManager,
|
|
184
184
|
getModelManager,
|
|
185
185
|
isDefaultSlowAndCapableModel
|
|
186
|
-
} from "./chunk-
|
|
186
|
+
} from "./chunk-M7VFQFQM.js";
|
|
187
187
|
import {
|
|
188
188
|
getCodeStyle,
|
|
189
189
|
getContext,
|
|
@@ -191,13 +191,13 @@ import {
|
|
|
191
191
|
getIsGit,
|
|
192
192
|
getProjectDocs,
|
|
193
193
|
getProjectStructureStatisticsBlock
|
|
194
|
-
} from "./chunk-
|
|
194
|
+
} from "./chunk-PKCQ6ODI.js";
|
|
195
195
|
import {
|
|
196
196
|
ripGrep
|
|
197
|
-
} from "./chunk-
|
|
197
|
+
} from "./chunk-SFK5DRJO.js";
|
|
198
198
|
import {
|
|
199
199
|
getTheme
|
|
200
|
-
} from "./chunk-
|
|
200
|
+
} from "./chunk-QXXFKCAS.js";
|
|
201
201
|
import {
|
|
202
202
|
DEFAULT_GLOBAL_CONFIG,
|
|
203
203
|
enableConfigs,
|
|
@@ -210,7 +210,7 @@ import {
|
|
|
210
210
|
saveGlobalConfig,
|
|
211
211
|
setAllPointersToModel,
|
|
212
212
|
setModelPointer
|
|
213
|
-
} from "./chunk-
|
|
213
|
+
} from "./chunk-KORULLWF.js";
|
|
214
214
|
import {
|
|
215
215
|
AbortError
|
|
216
216
|
} from "./chunk-RQVLBMP7.js";
|
|
@@ -219,7 +219,7 @@ import {
|
|
|
219
219
|
getCurrentRequest,
|
|
220
220
|
logUserFriendly,
|
|
221
221
|
markPhase
|
|
222
|
-
} from "./chunk-
|
|
222
|
+
} from "./chunk-2BQURWBM.js";
|
|
223
223
|
import {
|
|
224
224
|
ASCII_LOGO,
|
|
225
225
|
BunShell,
|
|
@@ -260,10 +260,10 @@ import {
|
|
|
260
260
|
setCwd,
|
|
261
261
|
shouldApplyToolOutputTruncation,
|
|
262
262
|
truncateToolOutput
|
|
263
|
-
} from "./chunk-
|
|
263
|
+
} from "./chunk-M2GXBP4V.js";
|
|
264
264
|
import {
|
|
265
265
|
MACRO
|
|
266
|
-
} from "./chunk-
|
|
266
|
+
} from "./chunk-LXAMP3M2.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-
|
|
447
|
+
const { API_ERROR_MESSAGE_PREFIX: API_ERROR_MESSAGE_PREFIX2, queryQuick: queryQuick2 } = await import("./llm-VTBCMQSO.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-
|
|
4249
|
+
const { API_ERROR_MESSAGE_PREFIX: API_ERROR_MESSAGE_PREFIX2, queryLLM: queryLLM2 } = await import("./llm-VTBCMQSO.js");
|
|
4250
4250
|
const queryLLMFn = args.queryLLMOverride ?? queryLLM2;
|
|
4251
4251
|
const messages = [
|
|
4252
4252
|
{
|
|
@@ -6643,7 +6643,7 @@ var FileEditTool = {
|
|
|
6643
6643
|
const originalFileContent = currentFileContent;
|
|
6644
6644
|
let totalPatch = [];
|
|
6645
6645
|
const { SmartEdit } = await import("./smart-edit-AWHJDSU6.js");
|
|
6646
|
-
const { findLspAnchor } = await import("./lspAnchor-
|
|
6646
|
+
const { findLspAnchor } = await import("./lspAnchor-QOYDKNUZ.js");
|
|
6647
6647
|
for (const op of editOperations) {
|
|
6648
6648
|
const normalizedSearch = normalizeLineEndings(op.search);
|
|
6649
6649
|
const normalizedReplace = normalizeLineEndings(op.replace);
|
|
@@ -7978,6 +7978,10 @@ var DESCRIPTION4 = `- Fast file pattern matching tool that works with any codeba
|
|
|
7978
7978
|
- **Discovery Workflow**: For unfamiliar codebases, run these in parallel:
|
|
7979
7979
|
- \`**/package.json\`, \`**/*.{ts,js,tsx,jsx}\`, \`**/README*\`
|
|
7980
7980
|
- Analyze structure \u2192 refine search \u2192 read key files
|
|
7981
|
+
- **Tool Collaboration**:
|
|
7982
|
+
- LS \u2192 Provides directory structure clues to help determine search scope
|
|
7983
|
+
- Grep \u2192 After Glob finds files, use Grep to search content
|
|
7984
|
+
- Read \u2192 Read the found file contents
|
|
7981
7985
|
|
|
7982
7986
|
## Usage Details
|
|
7983
7987
|
- Supports glob patterns like "**/*.js" or "src/**/*.ts"
|
|
@@ -8168,6 +8172,11 @@ var DESCRIPTION5 = `A powerful search tool built on ripgrep
|
|
|
8168
8172
|
- Too many results? Add \`glob\`, \`type\`, or narrower \`path\`
|
|
8169
8173
|
- No results? Broaden pattern, try case-insensitive (\`-i\`), or use semantic search
|
|
8170
8174
|
- Wrong results? Adjust pattern, check regex syntax, try alternative keywords
|
|
8175
|
+
- **Tool Collaboration**:
|
|
8176
|
+
- LS \u2192 Confirm directory structure for search scope
|
|
8177
|
+
- Glob \u2192 Confirm file path existence
|
|
8178
|
+
- Read \u2192 Read specific content of matched files
|
|
8179
|
+
- LspTool \u2192 Trace definitions and references (replace manual Grep tracing)
|
|
8171
8180
|
|
|
8172
8181
|
## Usage Details
|
|
8173
8182
|
- ALWAYS use Grep for search tasks. NEVER invoke \`grep\` or \`rg\` as a Bash command. The Grep tool has been optimized for correct permissions and access.
|
|
@@ -11338,7 +11347,7 @@ async function createAndStoreApiKey(accessToken) {
|
|
|
11338
11347
|
}
|
|
11339
11348
|
saveGlobalConfig(config2);
|
|
11340
11349
|
try {
|
|
11341
|
-
const { resetAnthropicClient } = await import("./llm-
|
|
11350
|
+
const { resetAnthropicClient } = await import("./llm-VTBCMQSO.js");
|
|
11342
11351
|
resetAnthropicClient();
|
|
11343
11352
|
} catch {
|
|
11344
11353
|
}
|
|
@@ -15705,7 +15714,7 @@ async function refreshPluginRuntimeFromInstalls() {
|
|
|
15705
15714
|
const existingRoots = getSessionPlugins().map((p) => p.rootDir);
|
|
15706
15715
|
const dirs = Array.from(/* @__PURE__ */ new Set([...existingRoots, ...installedRoots]));
|
|
15707
15716
|
if (dirs.length === 0) return [];
|
|
15708
|
-
const { configureSessionPlugins } = await import("./pluginRuntime-
|
|
15717
|
+
const { configureSessionPlugins } = await import("./pluginRuntime-YPY2AXW3.js");
|
|
15709
15718
|
const { errors } = await configureSessionPlugins({ pluginDirs: dirs });
|
|
15710
15719
|
return errors;
|
|
15711
15720
|
}
|
|
@@ -16374,7 +16383,7 @@ async function call(onDone, context) {
|
|
|
16374
16383
|
ModelConfig,
|
|
16375
16384
|
{
|
|
16376
16385
|
onClose: () => {
|
|
16377
|
-
import("./model-
|
|
16386
|
+
import("./model-2LBD4WIC.js").then(({ reloadModelManager: reloadModelManager2 }) => {
|
|
16378
16387
|
reloadModelManager2();
|
|
16379
16388
|
triggerModelConfigChange();
|
|
16380
16389
|
onDone();
|
|
@@ -25241,7 +25250,7 @@ function useStatusLine() {
|
|
|
25241
25250
|
// src/ui/components/PromptInput.tsx
|
|
25242
25251
|
async function interpretHashCommand(input) {
|
|
25243
25252
|
try {
|
|
25244
|
-
const { queryQuick: queryQuick2 } = await import("./llm-
|
|
25253
|
+
const { queryQuick: queryQuick2 } = await import("./llm-VTBCMQSO.js");
|
|
25245
25254
|
const systemPrompt = [
|
|
25246
25255
|
"You're helping the user structure notes that will be added to their PYB.md file.",
|
|
25247
25256
|
"Format the user's input into a well-structured note that will be useful for later reference.",
|
|
@@ -25554,7 +25563,7 @@ function PromptInput({
|
|
|
25554
25563
|
if (messages2.length) {
|
|
25555
25564
|
if (mode === "bash") {
|
|
25556
25565
|
onQuery(messages2, newAbortController).then(async () => {
|
|
25557
|
-
const { getCwd: getCwd2 } = await import("./state-
|
|
25566
|
+
const { getCwd: getCwd2 } = await import("./state-QIV7FSQG.js");
|
|
25558
25567
|
setCurrentPwd(getCwd2());
|
|
25559
25568
|
});
|
|
25560
25569
|
} else {
|
|
@@ -28733,7 +28742,7 @@ import { homedir as homedir8 } from "os";
|
|
|
28733
28742
|
// src/commands/agents/generation.ts
|
|
28734
28743
|
import { randomUUID as randomUUID6 } from "crypto";
|
|
28735
28744
|
async function generateAgentWithClaude(prompt) {
|
|
28736
|
-
const { queryModel } = await import("./llm-
|
|
28745
|
+
const { queryModel } = await import("./llm-VTBCMQSO.js");
|
|
28737
28746
|
const systemPrompt = `You are an expert at creating AI agent configurations. Based on the user's description, generate a specialized agent configuration.
|
|
28738
28747
|
|
|
28739
28748
|
Return your response as a JSON object with exactly these fields:
|
|
@@ -32457,7 +32466,8 @@ NEVER commit changes unless the user explicitly asks you to. It is VERY IMPORTAN
|
|
|
32457
32466
|
` : ""}
|
|
32458
32467
|
|
|
32459
32468
|
# Tool usage policy
|
|
32460
|
-
- When
|
|
32469
|
+
- **Code Analysis Priority**: When analyzing code blocks, codebases (especially complex multi-repo projects) that require comprehensive understanding of functionality, mechanisms, or logic, you MUST prioritize using: (1) EnterPlanMode for structured exploration and planning workflow, OR (2) Task tool with Explore subagent for thorough multi-step analysis. This reduces context consumption by delegating exploration to specialized agents. For broad analysis scope, launch multiple Explore agents in parallel with different focus areas to maximize efficiency.
|
|
32470
|
+
- When doing file search, prefer to use the Task tool for open-ended, multi-step exploration to reduce context usage. For known paths or small scopes, prefer Ls/Lsp/Read/Glob/Grep directly.
|
|
32461
32471
|
- For file system exploration, decide based on intent: if you need global structure/entry points, prefer LS first; if you have keywords or fuzzy paths, prefer Glob first. If results are too broad, use LS to narrow structure or combine with Grep/LSP. Only use Bash for executing scripts or binaries.
|
|
32462
32472
|
- You can call multiple tools in a single response. If you intend to call multiple tools and there are no dependencies between them, make all independent tool calls in parallel. Maximize use of parallel tool calls where possible to increase efficiency. However, if some tool calls depend on previous calls to inform dependent values, do NOT call these tools in parallel and instead call them sequentially. For instance, if one operation must complete before another starts, run these operations sequentially instead. Never use placeholders or guess missing parameters in tool calls.
|
|
32463
32473
|
- If the user specifies that they want you to run tools "in parallel", you MUST send a single message with multiple tool use content blocks.
|