pybao-cli 1.4.24 → 1.4.25
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-Q3IP3BNQ.js +47 -0
- package/dist/{acp-CEXZZM2O.js → acp-AUKWBWMU.js} +29 -29
- package/dist/{agentsValidate-VIN6KUHE.js → agentsValidate-POOZ6Z2B.js} +7 -7
- package/dist/{ask-VAHHUITN.js → ask-KWA2DNIV.js} +28 -28
- package/dist/{autoUpdater-54NPSXB4.js → autoUpdater-EOXG42SO.js} +3 -3
- package/dist/{chunk-ZAYYQS5B.js → chunk-47EXCNW6.js} +1 -1
- package/dist/{chunk-CS6PH7QM.js → chunk-4V6WD6R2.js} +1 -1
- package/dist/{chunk-B44CXS5U.js → chunk-5UOVQ6ES.js} +2 -2
- package/dist/{chunk-47CY5NY4.js → chunk-66JIUGLV.js} +2 -2
- package/dist/{chunk-YUBH4BG2.js → chunk-6BRCM2E4.js} +2 -2
- package/dist/{chunk-6YBY6R7L.js → chunk-BQYXHHWP.js} +3 -3
- package/dist/{chunk-ZWMOE7BR.js → chunk-CPXJHNYY.js} +1 -1
- package/dist/{chunk-Y4F4PED2.js → chunk-DD2OYKDE.js} +4 -4
- package/dist/{chunk-B5CPGG4R.js → chunk-DT4HVZ3Y.js} +2 -2
- package/dist/{chunk-ZBY54X3G.js → chunk-GTEB77DG.js} +1 -1
- package/dist/{chunk-GHZFYTLQ.js → chunk-IPYLXGFV.js} +3 -3
- package/dist/{chunk-OYUU6BNX.js → chunk-J46HCSM3.js} +1 -1
- package/dist/{chunk-6JHOWP4Q.js → chunk-JLQ6NN6N.js} +2 -2
- package/dist/{chunk-FQ2K532R.js → chunk-JSR26OQG.js} +49 -44
- package/dist/chunk-JSR26OQG.js.map +7 -0
- package/dist/{chunk-JQMCLUHN.js → chunk-JUE7XD3T.js} +1 -1
- package/dist/{chunk-Q6CUPX42.js → chunk-MUD34BHM.js} +4 -4
- package/dist/{chunk-7XNYKOBD.js → chunk-MXDHTE5J.js} +1 -1
- package/dist/{chunk-5LWUHNXF.js → chunk-MXJWHBOD.js} +3 -3
- package/dist/{chunk-EZWDO4EF.js → chunk-NDFJPKT7.js} +132 -118
- package/dist/chunk-NDFJPKT7.js.map +7 -0
- package/dist/{chunk-6GAN7FVN.js → chunk-NWRTSS7D.js} +2 -2
- package/dist/{chunk-H67LWH3W.js → chunk-OEH4JATH.js} +1 -1
- package/dist/{chunk-YCZDHQZ2.js → chunk-QYIH3X4U.js} +3 -3
- package/dist/{chunk-SY7GR24A.js → chunk-R47CUCI3.js} +1 -1
- package/dist/{chunk-SY7GR24A.js.map → chunk-R47CUCI3.js.map} +1 -1
- package/dist/{chunk-J6FZD27B.js → chunk-RPFER2VQ.js} +2 -2
- package/dist/{chunk-GOB5XLMA.js → chunk-S75DS5IC.js} +1 -1
- package/dist/{chunk-NUZY6VZ2.js → chunk-SVQXV5Q5.js} +4 -4
- package/dist/{chunk-VFDQWUNW.js → chunk-T52MGYKQ.js} +3 -3
- package/dist/{chunk-TX6AJL23.js → chunk-VUISUCOO.js} +3 -3
- package/dist/{chunk-SSARHQEG.js → chunk-Z6TEUSJQ.js} +3 -3
- package/dist/{chunk-VAY3BGZT.js → chunk-ZOWRLM6Q.js} +4 -4
- package/dist/{cli-JGC5UQCR.js → cli-IELXRUTX.js} +87 -87
- package/dist/commands-QXWCHX5K.js +51 -0
- package/dist/{config-3RTRBOXD.js → config-77DZQTQK.js} +4 -4
- package/dist/{context-WYCDKD33.js → context-KLUMCLFT.js} +6 -6
- package/dist/{customCommands-4VRCEZOI.js → customCommands-ISEA2746.js} +4 -4
- package/dist/{env-6UYIHRR4.js → env-J4F7PRGG.js} +2 -2
- package/dist/{file-6A7D7CPY.js → file-KRCHS5A5.js} +4 -4
- package/dist/index.js +3 -3
- package/dist/{llm-PLMT5HOR.js → llm-6XARMLJR.js} +29 -29
- package/dist/{llmLazy-OFGAOAN3.js → llmLazy-GRPZWGAK.js} +1 -1
- package/dist/{loader-GU6SR5X2.js → loader-WUNIG65J.js} +4 -4
- package/dist/{lsp-RNGL4JJR.js → lsp-DL76IXYS.js} +6 -6
- package/dist/{lspAnchor-HKLUWFLS.js → lspAnchor-VPPXXUNO.js} +6 -6
- package/dist/{mcp-QM3KWBUW.js → mcp-KY56TM6T.js} +7 -7
- package/dist/{mentionProcessor-QBGSG5XF.js → mentionProcessor-E3ITBICV.js} +5 -5
- package/dist/{messages-USZTP34X.js → messages-DT4HTEOS.js} +1 -1
- package/dist/{model-K4WNNZA3.js → model-KCH57MST.js} +5 -5
- package/dist/{openai-R3F2W5Z4.js → openai-BNPU7EJH.js} +5 -5
- package/dist/{outputStyles-6UMFR7XH.js → outputStyles-QE2JKRBE.js} +4 -4
- package/dist/{pluginRuntime-JVLKIOYY.js → pluginRuntime-NB3KNFSZ.js} +6 -6
- package/dist/{pluginValidation-VWXVNMR2.js → pluginValidation-KVCOIKER.js} +6 -6
- package/dist/prompts-QIFYQCCH.js +53 -0
- package/dist/{pybAgentSessionLoad-75I4OCMO.js → pybAgentSessionLoad-SCPRT5NR.js} +4 -4
- package/dist/{pybAgentSessionResume-WCGWRTN3.js → pybAgentSessionResume-VKEMMVH7.js} +4 -4
- package/dist/{pybAgentStreamJsonSession-Z627MFWP.js → pybAgentStreamJsonSession-G6TCRJIW.js} +1 -1
- package/dist/{pybHooks-HLGZPMD4.js → pybHooks-T6RPQN5F.js} +4 -4
- package/dist/query-AA5M6NJ4.js +55 -0
- package/dist/{registry-QESMT4DU.js → registry-CZRNYJ22.js} +5 -5
- package/dist/{ripgrep-D2PYZGZX.js → ripgrep-URB4ZUF3.js} +3 -3
- package/dist/{skillMarketplace-FBPUVKHP.js → skillMarketplace-NC4WL6B5.js} +3 -3
- package/dist/{state-CWDWFNPX.js → state-DXHBJ5GD.js} +2 -2
- package/dist/{theme-FDMMRN2M.js → theme-CJU6VJXX.js} +5 -5
- package/dist/{toolPermissionSettings-SKQJR2TT.js → toolPermissionSettings-F3CNX7NA.js} +6 -6
- package/dist/tools-UZYXHSUA.js +52 -0
- package/dist/{userInput-ZJ52OL5V.js → userInput-GIXZP2YY.js} +30 -30
- package/package.json +1 -1
- package/dist/REPL-NU4M6D6V.js +0 -47
- package/dist/chunk-EZWDO4EF.js.map +0 -7
- package/dist/chunk-FQ2K532R.js.map +0 -7
- package/dist/commands-M3HM5SPJ.js +0 -51
- package/dist/prompts-FKNGOBOG.js +0 -53
- package/dist/query-DEPCAE5D.js +0 -55
- package/dist/tools-MDUGB7GQ.js +0 -52
- /package/dist/{REPL-NU4M6D6V.js.map → REPL-Q3IP3BNQ.js.map} +0 -0
- /package/dist/{acp-CEXZZM2O.js.map → acp-AUKWBWMU.js.map} +0 -0
- /package/dist/{agentsValidate-VIN6KUHE.js.map → agentsValidate-POOZ6Z2B.js.map} +0 -0
- /package/dist/{ask-VAHHUITN.js.map → ask-KWA2DNIV.js.map} +0 -0
- /package/dist/{autoUpdater-54NPSXB4.js.map → autoUpdater-EOXG42SO.js.map} +0 -0
- /package/dist/{chunk-ZAYYQS5B.js.map → chunk-47EXCNW6.js.map} +0 -0
- /package/dist/{chunk-CS6PH7QM.js.map → chunk-4V6WD6R2.js.map} +0 -0
- /package/dist/{chunk-B44CXS5U.js.map → chunk-5UOVQ6ES.js.map} +0 -0
- /package/dist/{chunk-47CY5NY4.js.map → chunk-66JIUGLV.js.map} +0 -0
- /package/dist/{chunk-YUBH4BG2.js.map → chunk-6BRCM2E4.js.map} +0 -0
- /package/dist/{chunk-6YBY6R7L.js.map → chunk-BQYXHHWP.js.map} +0 -0
- /package/dist/{chunk-ZWMOE7BR.js.map → chunk-CPXJHNYY.js.map} +0 -0
- /package/dist/{chunk-Y4F4PED2.js.map → chunk-DD2OYKDE.js.map} +0 -0
- /package/dist/{chunk-B5CPGG4R.js.map → chunk-DT4HVZ3Y.js.map} +0 -0
- /package/dist/{chunk-ZBY54X3G.js.map → chunk-GTEB77DG.js.map} +0 -0
- /package/dist/{chunk-GHZFYTLQ.js.map → chunk-IPYLXGFV.js.map} +0 -0
- /package/dist/{chunk-OYUU6BNX.js.map → chunk-J46HCSM3.js.map} +0 -0
- /package/dist/{chunk-6JHOWP4Q.js.map → chunk-JLQ6NN6N.js.map} +0 -0
- /package/dist/{chunk-JQMCLUHN.js.map → chunk-JUE7XD3T.js.map} +0 -0
- /package/dist/{chunk-Q6CUPX42.js.map → chunk-MUD34BHM.js.map} +0 -0
- /package/dist/{chunk-7XNYKOBD.js.map → chunk-MXDHTE5J.js.map} +0 -0
- /package/dist/{chunk-5LWUHNXF.js.map → chunk-MXJWHBOD.js.map} +0 -0
- /package/dist/{chunk-6GAN7FVN.js.map → chunk-NWRTSS7D.js.map} +0 -0
- /package/dist/{chunk-H67LWH3W.js.map → chunk-OEH4JATH.js.map} +0 -0
- /package/dist/{chunk-YCZDHQZ2.js.map → chunk-QYIH3X4U.js.map} +0 -0
- /package/dist/{chunk-J6FZD27B.js.map → chunk-RPFER2VQ.js.map} +0 -0
- /package/dist/{chunk-GOB5XLMA.js.map → chunk-S75DS5IC.js.map} +0 -0
- /package/dist/{chunk-NUZY6VZ2.js.map → chunk-SVQXV5Q5.js.map} +0 -0
- /package/dist/{chunk-VFDQWUNW.js.map → chunk-T52MGYKQ.js.map} +0 -0
- /package/dist/{chunk-TX6AJL23.js.map → chunk-VUISUCOO.js.map} +0 -0
- /package/dist/{chunk-SSARHQEG.js.map → chunk-Z6TEUSJQ.js.map} +0 -0
- /package/dist/{chunk-VAY3BGZT.js.map → chunk-ZOWRLM6Q.js.map} +0 -0
- /package/dist/{cli-JGC5UQCR.js.map → cli-IELXRUTX.js.map} +0 -0
- /package/dist/{commands-M3HM5SPJ.js.map → commands-QXWCHX5K.js.map} +0 -0
- /package/dist/{config-3RTRBOXD.js.map → config-77DZQTQK.js.map} +0 -0
- /package/dist/{context-WYCDKD33.js.map → context-KLUMCLFT.js.map} +0 -0
- /package/dist/{customCommands-4VRCEZOI.js.map → customCommands-ISEA2746.js.map} +0 -0
- /package/dist/{env-6UYIHRR4.js.map → env-J4F7PRGG.js.map} +0 -0
- /package/dist/{file-6A7D7CPY.js.map → file-KRCHS5A5.js.map} +0 -0
- /package/dist/{llm-PLMT5HOR.js.map → llm-6XARMLJR.js.map} +0 -0
- /package/dist/{llmLazy-OFGAOAN3.js.map → llmLazy-GRPZWGAK.js.map} +0 -0
- /package/dist/{loader-GU6SR5X2.js.map → loader-WUNIG65J.js.map} +0 -0
- /package/dist/{lsp-RNGL4JJR.js.map → lsp-DL76IXYS.js.map} +0 -0
- /package/dist/{lspAnchor-HKLUWFLS.js.map → lspAnchor-VPPXXUNO.js.map} +0 -0
- /package/dist/{mcp-QM3KWBUW.js.map → mcp-KY56TM6T.js.map} +0 -0
- /package/dist/{mentionProcessor-QBGSG5XF.js.map → mentionProcessor-E3ITBICV.js.map} +0 -0
- /package/dist/{messages-USZTP34X.js.map → messages-DT4HTEOS.js.map} +0 -0
- /package/dist/{model-K4WNNZA3.js.map → model-KCH57MST.js.map} +0 -0
- /package/dist/{openai-R3F2W5Z4.js.map → openai-BNPU7EJH.js.map} +0 -0
- /package/dist/{outputStyles-6UMFR7XH.js.map → outputStyles-QE2JKRBE.js.map} +0 -0
- /package/dist/{pluginRuntime-JVLKIOYY.js.map → pluginRuntime-NB3KNFSZ.js.map} +0 -0
- /package/dist/{pluginValidation-VWXVNMR2.js.map → pluginValidation-KVCOIKER.js.map} +0 -0
- /package/dist/{prompts-FKNGOBOG.js.map → prompts-QIFYQCCH.js.map} +0 -0
- /package/dist/{pybAgentSessionLoad-75I4OCMO.js.map → pybAgentSessionLoad-SCPRT5NR.js.map} +0 -0
- /package/dist/{pybAgentSessionResume-WCGWRTN3.js.map → pybAgentSessionResume-VKEMMVH7.js.map} +0 -0
- /package/dist/{pybAgentStreamJsonSession-Z627MFWP.js.map → pybAgentStreamJsonSession-G6TCRJIW.js.map} +0 -0
- /package/dist/{pybHooks-HLGZPMD4.js.map → pybHooks-T6RPQN5F.js.map} +0 -0
- /package/dist/{query-DEPCAE5D.js.map → query-AA5M6NJ4.js.map} +0 -0
- /package/dist/{registry-QESMT4DU.js.map → registry-CZRNYJ22.js.map} +0 -0
- /package/dist/{ripgrep-D2PYZGZX.js.map → ripgrep-URB4ZUF3.js.map} +0 -0
- /package/dist/{skillMarketplace-FBPUVKHP.js.map → skillMarketplace-NC4WL6B5.js.map} +0 -0
- /package/dist/{state-CWDWFNPX.js.map → state-DXHBJ5GD.js.map} +0 -0
- /package/dist/{theme-FDMMRN2M.js.map → theme-CJU6VJXX.js.map} +0 -0
- /package/dist/{toolPermissionSettings-SKQJR2TT.js.map → toolPermissionSettings-F3CNX7NA.js.map} +0 -0
- /package/dist/{tools-MDUGB7GQ.js.map → tools-UZYXHSUA.js.map} +0 -0
- /package/dist/{userInput-ZJ52OL5V.js.map → userInput-GIXZP2YY.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-BQYXHHWP.js";
|
|
7
7
|
import {
|
|
8
8
|
loadPybAgentSessionMessages
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-GTEB77DG.js";
|
|
10
10
|
import {
|
|
11
11
|
listPybAgentSessions
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-JUE7XD3T.js";
|
|
13
13
|
import {
|
|
14
14
|
appendSessionCustomTitleRecord,
|
|
15
15
|
appendSessionJsonlFromMessage,
|
|
16
16
|
appendSessionTagRecord
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-JLQ6NN6N.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-T52MGYKQ.js";
|
|
30
30
|
import {
|
|
31
31
|
DEFAULT_OUTPUT_STYLE,
|
|
32
32
|
getAvailableOutputStyles,
|
|
@@ -35,16 +35,16 @@ import {
|
|
|
35
35
|
getOutputStyleSystemPromptAdditions,
|
|
36
36
|
resolveOutputStyleName,
|
|
37
37
|
setCurrentOutputStyle
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-5UOVQ6ES.js";
|
|
39
39
|
import {
|
|
40
40
|
fetchCustomModels,
|
|
41
41
|
getModelFeatures
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-NWRTSS7D.js";
|
|
43
43
|
import {
|
|
44
44
|
queryLLM,
|
|
45
45
|
queryQuick,
|
|
46
46
|
verifyApiKey
|
|
47
|
-
} from "./chunk-
|
|
47
|
+
} from "./chunk-SVQXV5Q5.js";
|
|
48
48
|
import {
|
|
49
49
|
DEFAULT_TIMEOUT_MS,
|
|
50
50
|
FallbackToolUseRejectedMessage,
|
|
@@ -58,7 +58,7 @@ import {
|
|
|
58
58
|
listMCPServers,
|
|
59
59
|
loadMergedSettings,
|
|
60
60
|
normalizeSandboxRuntimeConfigFromSettings
|
|
61
|
-
} from "./chunk-
|
|
61
|
+
} from "./chunk-DD2OYKDE.js";
|
|
62
62
|
import {
|
|
63
63
|
addMarketplace,
|
|
64
64
|
disableSkillPlugin,
|
|
@@ -71,11 +71,11 @@ import {
|
|
|
71
71
|
refreshMarketplaceAsync,
|
|
72
72
|
removeMarketplace,
|
|
73
73
|
uninstallSkillPlugin
|
|
74
|
-
} from "./chunk-
|
|
74
|
+
} from "./chunk-47EXCNW6.js";
|
|
75
75
|
import {
|
|
76
76
|
loadToolPermissionContextFromDisk,
|
|
77
77
|
persistToolPermissionUpdateToDisk
|
|
78
|
-
} from "./chunk-
|
|
78
|
+
} from "./chunk-QYIH3X4U.js";
|
|
79
79
|
import {
|
|
80
80
|
applyToolPermissionContextUpdate,
|
|
81
81
|
createDefaultToolPermissionContext
|
|
@@ -88,7 +88,7 @@ import {
|
|
|
88
88
|
resetReminderSession,
|
|
89
89
|
setTodos,
|
|
90
90
|
systemReminderService
|
|
91
|
-
} from "./chunk-
|
|
91
|
+
} from "./chunk-DT4HVZ3Y.js";
|
|
92
92
|
import {
|
|
93
93
|
getSessionState
|
|
94
94
|
} from "./chunk-ERMQRV55.js";
|
|
@@ -97,7 +97,7 @@ import {
|
|
|
97
97
|
getActiveAgents,
|
|
98
98
|
getAgentByType,
|
|
99
99
|
getAllAgents
|
|
100
|
-
} from "./chunk-
|
|
100
|
+
} from "./chunk-RPFER2VQ.js";
|
|
101
101
|
import {
|
|
102
102
|
API_ERROR_MESSAGE_PREFIX,
|
|
103
103
|
CANCEL_MESSAGE,
|
|
@@ -127,7 +127,7 @@ import {
|
|
|
127
127
|
processUserInput,
|
|
128
128
|
reorderMessages,
|
|
129
129
|
stripSystemMessages
|
|
130
|
-
} from "./chunk-
|
|
130
|
+
} from "./chunk-MXDHTE5J.js";
|
|
131
131
|
import {
|
|
132
132
|
getRequestStatus,
|
|
133
133
|
setRequestStatus,
|
|
@@ -157,7 +157,7 @@ import {
|
|
|
157
157
|
normalizeFilePath,
|
|
158
158
|
readTextContent,
|
|
159
159
|
writeTextContent
|
|
160
|
-
} from "./chunk-
|
|
160
|
+
} from "./chunk-66JIUGLV.js";
|
|
161
161
|
import {
|
|
162
162
|
parseBlockEdits
|
|
163
163
|
} from "./chunk-QWIBSCDN.js";
|
|
@@ -167,18 +167,18 @@ import {
|
|
|
167
167
|
ParserRegistry,
|
|
168
168
|
initParser,
|
|
169
169
|
loadLanguage
|
|
170
|
-
} from "./chunk-
|
|
170
|
+
} from "./chunk-ZOWRLM6Q.js";
|
|
171
171
|
import {
|
|
172
172
|
getSettingsFileCandidates,
|
|
173
173
|
loadSettingsWithLegacyFallback,
|
|
174
174
|
readSettingsFile
|
|
175
|
-
} from "./chunk-
|
|
175
|
+
} from "./chunk-CPXJHNYY.js";
|
|
176
176
|
import {
|
|
177
177
|
getCustomCommandDirectories,
|
|
178
178
|
hasCustomCommands,
|
|
179
179
|
loadCustomCommands,
|
|
180
180
|
reloadCustomCommands
|
|
181
|
-
} from "./chunk-
|
|
181
|
+
} from "./chunk-6BRCM2E4.js";
|
|
182
182
|
import {
|
|
183
183
|
getSessionPlugins
|
|
184
184
|
} from "./chunk-BJSWTHRM.js";
|
|
@@ -186,7 +186,7 @@ import {
|
|
|
186
186
|
ModelManager,
|
|
187
187
|
getModelManager,
|
|
188
188
|
isDefaultSlowAndCapableModel
|
|
189
|
-
} from "./chunk-
|
|
189
|
+
} from "./chunk-IPYLXGFV.js";
|
|
190
190
|
import {
|
|
191
191
|
getCodeStyle,
|
|
192
192
|
getContext,
|
|
@@ -194,13 +194,13 @@ import {
|
|
|
194
194
|
getIsGit,
|
|
195
195
|
getProjectDocs,
|
|
196
196
|
getProjectStructureStatisticsBlock
|
|
197
|
-
} from "./chunk-
|
|
197
|
+
} from "./chunk-MUD34BHM.js";
|
|
198
198
|
import {
|
|
199
199
|
ripGrep
|
|
200
|
-
} from "./chunk-
|
|
200
|
+
} from "./chunk-4V6WD6R2.js";
|
|
201
201
|
import {
|
|
202
202
|
getTheme
|
|
203
|
-
} from "./chunk-
|
|
203
|
+
} from "./chunk-S75DS5IC.js";
|
|
204
204
|
import {
|
|
205
205
|
DEFAULT_GLOBAL_CONFIG,
|
|
206
206
|
enableConfigs,
|
|
@@ -213,7 +213,7 @@ import {
|
|
|
213
213
|
saveGlobalConfig,
|
|
214
214
|
setAllPointersToModel,
|
|
215
215
|
setModelPointer
|
|
216
|
-
} from "./chunk-
|
|
216
|
+
} from "./chunk-Z6TEUSJQ.js";
|
|
217
217
|
import {
|
|
218
218
|
AbortError
|
|
219
219
|
} from "./chunk-RQVLBMP7.js";
|
|
@@ -222,7 +222,7 @@ import {
|
|
|
222
222
|
getCurrentRequest,
|
|
223
223
|
logUserFriendly,
|
|
224
224
|
markPhase
|
|
225
|
-
} from "./chunk-
|
|
225
|
+
} from "./chunk-OEH4JATH.js";
|
|
226
226
|
import {
|
|
227
227
|
ASCII_LOGO,
|
|
228
228
|
BunShell,
|
|
@@ -262,10 +262,10 @@ import {
|
|
|
262
262
|
setCwd,
|
|
263
263
|
shouldApplyToolOutputTruncation,
|
|
264
264
|
truncateToolOutput
|
|
265
|
-
} from "./chunk-
|
|
265
|
+
} from "./chunk-J46HCSM3.js";
|
|
266
266
|
import {
|
|
267
267
|
MACRO
|
|
268
|
-
} from "./chunk-
|
|
268
|
+
} from "./chunk-R47CUCI3.js";
|
|
269
269
|
import {
|
|
270
270
|
__export
|
|
271
271
|
} from "./chunk-I3J4JYES.js";
|
|
@@ -446,7 +446,7 @@ var getCommandSubcommandPrefix = memoize(
|
|
|
446
446
|
var getCommandPrefix = memoize(
|
|
447
447
|
async (command4, abortSignal) => {
|
|
448
448
|
const { systemPrompt, userPrompt } = buildBashCommandPrefixDetectionPrompt(command4);
|
|
449
|
-
const { API_ERROR_MESSAGE_PREFIX: API_ERROR_MESSAGE_PREFIX2, queryQuick: queryQuick2 } = await import("./llm-
|
|
449
|
+
const { API_ERROR_MESSAGE_PREFIX: API_ERROR_MESSAGE_PREFIX2, queryQuick: queryQuick2 } = await import("./llm-6XARMLJR.js");
|
|
450
450
|
const response = await queryQuick2({
|
|
451
451
|
systemPrompt,
|
|
452
452
|
userPrompt,
|
|
@@ -4248,7 +4248,7 @@ function formatParseError(error) {
|
|
|
4248
4248
|
return error instanceof Error ? error.message : String(error);
|
|
4249
4249
|
}
|
|
4250
4250
|
async function defaultGateQuery(args) {
|
|
4251
|
-
const { API_ERROR_MESSAGE_PREFIX: API_ERROR_MESSAGE_PREFIX2, queryLLM: queryLLM2 } = await import("./llm-
|
|
4251
|
+
const { API_ERROR_MESSAGE_PREFIX: API_ERROR_MESSAGE_PREFIX2, queryLLM: queryLLM2 } = await import("./llm-6XARMLJR.js");
|
|
4252
4252
|
const queryLLMFn = args.queryLLMOverride ?? queryLLM2;
|
|
4253
4253
|
const messages = [
|
|
4254
4254
|
{
|
|
@@ -6509,7 +6509,7 @@ var FileEditTool = {
|
|
|
6509
6509
|
const originalFileContent = currentFileContent;
|
|
6510
6510
|
let totalPatch = [];
|
|
6511
6511
|
const { SmartEdit } = await import("./smart-edit-AWHJDSU6.js");
|
|
6512
|
-
const { findLspAnchor } = await import("./lspAnchor-
|
|
6512
|
+
const { findLspAnchor } = await import("./lspAnchor-VPPXXUNO.js");
|
|
6513
6513
|
for (const op of editOperations) {
|
|
6514
6514
|
const normalizedSearch = normalizeLineEndings(op.search);
|
|
6515
6515
|
const normalizedReplace = normalizeLineEndings(op.replace);
|
|
@@ -7790,15 +7790,20 @@ import { z as z6 } from "zod";
|
|
|
7790
7790
|
// src/tools/filesystem/GlobTool/prompt.ts
|
|
7791
7791
|
var TOOL_NAME_FOR_PROMPT2 = "Glob";
|
|
7792
7792
|
var DESCRIPTION4 = `- Fast file pattern matching tool that works with any codebase size
|
|
7793
|
-
|
|
7794
|
-
|
|
7795
|
-
-
|
|
7796
|
-
-
|
|
7797
|
-
-
|
|
7798
|
-
-
|
|
7799
|
-
|
|
7800
|
-
|
|
7801
|
-
-
|
|
7793
|
+
|
|
7794
|
+
## WhenToUse & Best Practice
|
|
7795
|
+
- If a path is inferred or similar to existing names, run Glob in the confirmed parent directory (e.g., resources/*query* or resources/*queries*) before running LS on the full path.
|
|
7796
|
+
- When you are doing an open ended search that may require multiple rounds of globbing and grepping, use the Agent tool instead
|
|
7797
|
+
- You can call multiple tools in a single response. It is always better to speculatively perform multiple searches in parallel if they are potentially useful.
|
|
7798
|
+
- This tool is for FINDING files. To SEE the directory structure tree, use the LS tool.
|
|
7799
|
+
|
|
7800
|
+
## Usage Details
|
|
7801
|
+
- Supports glob patterns like "**/*.js" or "src/**/*.ts"
|
|
7802
|
+
- Returns matching file paths sorted by modification time
|
|
7803
|
+
- Use this tool when you need to find files by name patterns
|
|
7804
|
+
- **Semantic Search**: Set \`semantic: true\` to use LSP workspace symbols when file-name matching fails. The \`pattern\` is treated as the symbol name.
|
|
7805
|
+
- Semantic search is explicit: enable it only when normal matching fails or semantic lookup is required.
|
|
7806
|
+
- If LSP is unavailable, it falls back to standard glob results without impacting the main file-finding flow.
|
|
7802
7807
|
`;
|
|
7803
7808
|
|
|
7804
7809
|
// src/tools/filesystem/GlobTool/GlobTool.tsx
|
|
@@ -11080,7 +11085,7 @@ async function createAndStoreApiKey(accessToken) {
|
|
|
11080
11085
|
}
|
|
11081
11086
|
saveGlobalConfig(config2);
|
|
11082
11087
|
try {
|
|
11083
|
-
const { resetAnthropicClient } = await import("./llm-
|
|
11088
|
+
const { resetAnthropicClient } = await import("./llm-6XARMLJR.js");
|
|
11084
11089
|
resetAnthropicClient();
|
|
11085
11090
|
} catch {
|
|
11086
11091
|
}
|
|
@@ -15362,7 +15367,7 @@ async function refreshPluginRuntimeFromInstalls() {
|
|
|
15362
15367
|
const existingRoots = getSessionPlugins().map((p) => p.rootDir);
|
|
15363
15368
|
const dirs = Array.from(/* @__PURE__ */ new Set([...existingRoots, ...installedRoots]));
|
|
15364
15369
|
if (dirs.length === 0) return [];
|
|
15365
|
-
const { configureSessionPlugins } = await import("./pluginRuntime-
|
|
15370
|
+
const { configureSessionPlugins } = await import("./pluginRuntime-NB3KNFSZ.js");
|
|
15366
15371
|
const { errors } = await configureSessionPlugins({ pluginDirs: dirs });
|
|
15367
15372
|
return errors;
|
|
15368
15373
|
}
|
|
@@ -16031,7 +16036,7 @@ async function call(onDone, context) {
|
|
|
16031
16036
|
ModelConfig,
|
|
16032
16037
|
{
|
|
16033
16038
|
onClose: () => {
|
|
16034
|
-
import("./model-
|
|
16039
|
+
import("./model-KCH57MST.js").then(({ reloadModelManager: reloadModelManager2 }) => {
|
|
16035
16040
|
reloadModelManager2();
|
|
16036
16041
|
triggerModelConfigChange();
|
|
16037
16042
|
onDone();
|
|
@@ -23766,7 +23771,7 @@ function useStatusLine() {
|
|
|
23766
23771
|
// src/ui/components/PromptInput.tsx
|
|
23767
23772
|
async function interpretHashCommand(input) {
|
|
23768
23773
|
try {
|
|
23769
|
-
const { queryQuick: queryQuick2 } = await import("./llm-
|
|
23774
|
+
const { queryQuick: queryQuick2 } = await import("./llm-6XARMLJR.js");
|
|
23770
23775
|
const systemPrompt = [
|
|
23771
23776
|
"You're helping the user structure notes that will be added to their PYB.md file.",
|
|
23772
23777
|
"Format the user's input into a well-structured note that will be useful for later reference.",
|
|
@@ -24079,7 +24084,7 @@ function PromptInput({
|
|
|
24079
24084
|
if (messages2.length) {
|
|
24080
24085
|
if (mode === "bash") {
|
|
24081
24086
|
onQuery(messages2, newAbortController).then(async () => {
|
|
24082
|
-
const { getCwd: getCwd2 } = await import("./state-
|
|
24087
|
+
const { getCwd: getCwd2 } = await import("./state-DXHBJ5GD.js");
|
|
24083
24088
|
setCurrentPwd(getCwd2());
|
|
24084
24089
|
});
|
|
24085
24090
|
} else {
|
|
@@ -26949,7 +26954,7 @@ import { homedir as homedir7 } from "os";
|
|
|
26949
26954
|
// src/commands/agents/generation.ts
|
|
26950
26955
|
import { randomUUID as randomUUID5 } from "crypto";
|
|
26951
26956
|
async function generateAgentWithClaude(prompt) {
|
|
26952
|
-
const { queryModel } = await import("./llm-
|
|
26957
|
+
const { queryModel } = await import("./llm-6XARMLJR.js");
|
|
26953
26958
|
const systemPrompt = `You are an expert at creating AI agent configurations. Based on the user's description, generate a specialized agent configuration.
|
|
26954
26959
|
|
|
26955
26960
|
Return your response as a JSON object with exactly these fields:
|