pybao-cli 1.4.36 → 1.4.37
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-XHCMVEGW.js +47 -0
- package/dist/{acp-V5PMUDIY.js → acp-4DJD7KGT.js} +29 -29
- package/dist/{agentsValidate-6YZZBPNO.js → agentsValidate-V3NT6CXM.js} +7 -7
- package/dist/{ask-6R7ZVZM3.js → ask-QGVRR66V.js} +28 -28
- package/dist/{autoUpdater-DAGI6UAJ.js → autoUpdater-JM7WBEUQ.js} +3 -3
- package/dist/{chunk-ZS4UX56W.js → chunk-2SXOBJO3.js} +2 -2
- package/dist/{chunk-53WSBQSU.js → chunk-3PUKLCTC.js} +3 -3
- package/dist/{chunk-E3PPQWNN.js → chunk-3UUOVYVA.js} +4 -4
- package/dist/{chunk-EQE67GJI.js → chunk-42XD5HC6.js} +4 -4
- package/dist/{chunk-GVZUNJUS.js → chunk-5EVKZGDP.js} +3 -3
- package/dist/{chunk-DH7ITEQJ.js → chunk-5N7MDY6T.js} +2 -2
- package/dist/{chunk-CPKZGKXQ.js → chunk-A6CGJVI5.js} +1 -1
- package/dist/{chunk-H4PUZBLZ.js → chunk-AAN4ZB7D.js} +1 -1
- package/dist/{chunk-V6RHB4XK.js → chunk-ADVVJQQL.js} +1 -1
- package/dist/{chunk-XMUEHEQT.js → chunk-BCQJMOSS.js} +3 -3
- package/dist/{chunk-BRYH6VRQ.js → chunk-C5PFCHI6.js} +1 -1
- package/dist/{chunk-PVIWP2LH.js → chunk-CWSAGAMM.js} +1 -1
- package/dist/{chunk-C4JTKOVD.js → chunk-E7P4TM6T.js} +3 -3
- package/dist/{chunk-K4E3UZ7R.js → chunk-EAYSPMFV.js} +16 -16
- package/dist/{chunk-C47URQK3.js → chunk-JBJ6V6LD.js} +3 -3
- package/dist/{chunk-4UU25TD7.js → chunk-LKVOJGOX.js} +44 -37
- package/dist/{chunk-4UU25TD7.js.map → chunk-LKVOJGOX.js.map} +2 -2
- package/dist/{chunk-A2XJRXVN.js → chunk-N3P77GAY.js} +2 -2
- package/dist/{chunk-UB4P5LHC.js → chunk-N4AX7MAG.js} +2 -2
- package/dist/{chunk-GGJSDZSG.js → chunk-N73EEVKP.js} +2 -2
- package/dist/{chunk-HLMPHXDT.js → chunk-QTT5PAF5.js} +1 -1
- package/dist/{chunk-BIKJIS2D.js → chunk-R5K32NWJ.js} +1 -1
- package/dist/{chunk-ZI7PMBB5.js → chunk-S2J5L7W6.js} +2 -2
- package/dist/{chunk-PWNBZGA5.js → chunk-T2TNKXYE.js} +1 -1
- package/dist/{chunk-PWNBZGA5.js.map → chunk-T2TNKXYE.js.map} +1 -1
- package/dist/{chunk-AR2T52ZD.js → chunk-U3BHVYM7.js} +3 -3
- package/dist/{chunk-2T3CMGHK.js → chunk-VLPRSVXT.js} +4 -4
- package/dist/{chunk-5E6M6XWV.js → chunk-VNOOSZ37.js} +2 -2
- package/dist/{chunk-UOI5IMPL.js → chunk-W3I3SWXY.js} +1 -1
- package/dist/{chunk-PZUWDRYL.js → chunk-WZFW5MLS.js} +4 -4
- package/dist/{chunk-IQFPCBIR.js → chunk-XQQXJDZ6.js} +3 -3
- package/dist/{chunk-QSTILMPV.js → chunk-YA6QWTQZ.js} +1 -1
- package/dist/{cli-N4K3IVLF.js → cli-FVTA2UNT.js} +87 -87
- package/dist/commands-ZXIPHHLY.js +51 -0
- package/dist/{config-4SAA3A4H.js → config-PDX3ENJS.js} +4 -4
- package/dist/{context-JUTKS5DS.js → context-QCXL3UHB.js} +6 -6
- package/dist/{customCommands-AQ2HBQMH.js → customCommands-LIL44EIW.js} +4 -4
- package/dist/{env-7AFTMLC2.js → env-JKAUQPAX.js} +2 -2
- package/dist/{file-FHBTI5CC.js → file-OKOAVL6I.js} +4 -4
- package/dist/index.js +3 -3
- package/dist/{llm-EM2KXZY6.js → llm-24B7GPL4.js} +29 -29
- package/dist/{llmLazy-JUIQM4ZF.js → llmLazy-J4YVR6MG.js} +1 -1
- package/dist/{loader-PYHFI7IO.js → loader-GUY3VKKS.js} +4 -4
- package/dist/{lsp-GSO5DR2Y.js → lsp-36PBULHA.js} +6 -6
- package/dist/{lspAnchor-CKXBNIWV.js → lspAnchor-VW755MJ7.js} +6 -6
- package/dist/{mcp-UN4XUX2S.js → mcp-5CYKIC44.js} +7 -7
- package/dist/{mentionProcessor-GHXKRGYC.js → mentionProcessor-WTPRNMI7.js} +5 -5
- package/dist/{messages-H4MV2CGQ.js → messages-35GUJR23.js} +1 -1
- package/dist/{model-QSJDJLEM.js → model-Z22IGTCI.js} +5 -5
- package/dist/{openai-3OXS5733.js → openai-IFMVI4HW.js} +5 -5
- package/dist/{outputStyles-VBUE347V.js → outputStyles-GISTOUSR.js} +4 -4
- package/dist/{pluginRuntime-W4WDPKPT.js → pluginRuntime-YKAYG7LI.js} +6 -6
- package/dist/{pluginValidation-OF7UHNQX.js → pluginValidation-WMUMEOFR.js} +6 -6
- package/dist/prompts-ANODLYMR.js +53 -0
- package/dist/{pybAgentSessionLoad-OYVM3S2U.js → pybAgentSessionLoad-U2PAPG2T.js} +4 -4
- package/dist/{pybAgentSessionResume-YJA2SMOD.js → pybAgentSessionResume-VKO7BF5R.js} +4 -4
- package/dist/{pybAgentStreamJsonSession-QI5GI6SO.js → pybAgentStreamJsonSession-3B3FBBV2.js} +1 -1
- package/dist/{pybHooks-WV6UYAHS.js → pybHooks-PKSWIXQR.js} +4 -4
- package/dist/query-E6AUJBMK.js +55 -0
- package/dist/{registry-NHLHZE5M.js → registry-ZEALEPQA.js} +5 -5
- package/dist/{ripgrep-KNHAQZVT.js → ripgrep-KLZFIFVE.js} +3 -3
- package/dist/{skillMarketplace-HFOMNLZZ.js → skillMarketplace-GTMGSI2S.js} +3 -3
- package/dist/{state-FXE4MBXU.js → state-A5SI47U2.js} +2 -2
- package/dist/{theme-RAYSKCIX.js → theme-VS7GUKLU.js} +5 -5
- package/dist/{toolPermissionSettings-776RJN2P.js → toolPermissionSettings-ZF4WVDXG.js} +6 -6
- package/dist/tools-VTVBSLQ5.js +52 -0
- package/dist/{userInput-YYHT2EW7.js → userInput-VZEUNZ4X.js} +30 -30
- package/package.json +1 -1
- package/dist/REPL-3MQCC7C5.js +0 -47
- package/dist/commands-FVABAWTE.js +0 -51
- package/dist/prompts-2LXMK3VN.js +0 -53
- package/dist/query-FQWQYDNW.js +0 -55
- package/dist/tools-6GPD2GSB.js +0 -52
- /package/dist/{REPL-3MQCC7C5.js.map → REPL-XHCMVEGW.js.map} +0 -0
- /package/dist/{acp-V5PMUDIY.js.map → acp-4DJD7KGT.js.map} +0 -0
- /package/dist/{agentsValidate-6YZZBPNO.js.map → agentsValidate-V3NT6CXM.js.map} +0 -0
- /package/dist/{ask-6R7ZVZM3.js.map → ask-QGVRR66V.js.map} +0 -0
- /package/dist/{autoUpdater-DAGI6UAJ.js.map → autoUpdater-JM7WBEUQ.js.map} +0 -0
- /package/dist/{chunk-ZS4UX56W.js.map → chunk-2SXOBJO3.js.map} +0 -0
- /package/dist/{chunk-53WSBQSU.js.map → chunk-3PUKLCTC.js.map} +0 -0
- /package/dist/{chunk-E3PPQWNN.js.map → chunk-3UUOVYVA.js.map} +0 -0
- /package/dist/{chunk-EQE67GJI.js.map → chunk-42XD5HC6.js.map} +0 -0
- /package/dist/{chunk-GVZUNJUS.js.map → chunk-5EVKZGDP.js.map} +0 -0
- /package/dist/{chunk-DH7ITEQJ.js.map → chunk-5N7MDY6T.js.map} +0 -0
- /package/dist/{chunk-CPKZGKXQ.js.map → chunk-A6CGJVI5.js.map} +0 -0
- /package/dist/{chunk-H4PUZBLZ.js.map → chunk-AAN4ZB7D.js.map} +0 -0
- /package/dist/{chunk-V6RHB4XK.js.map → chunk-ADVVJQQL.js.map} +0 -0
- /package/dist/{chunk-XMUEHEQT.js.map → chunk-BCQJMOSS.js.map} +0 -0
- /package/dist/{chunk-BRYH6VRQ.js.map → chunk-C5PFCHI6.js.map} +0 -0
- /package/dist/{chunk-PVIWP2LH.js.map → chunk-CWSAGAMM.js.map} +0 -0
- /package/dist/{chunk-C4JTKOVD.js.map → chunk-E7P4TM6T.js.map} +0 -0
- /package/dist/{chunk-K4E3UZ7R.js.map → chunk-EAYSPMFV.js.map} +0 -0
- /package/dist/{chunk-C47URQK3.js.map → chunk-JBJ6V6LD.js.map} +0 -0
- /package/dist/{chunk-A2XJRXVN.js.map → chunk-N3P77GAY.js.map} +0 -0
- /package/dist/{chunk-UB4P5LHC.js.map → chunk-N4AX7MAG.js.map} +0 -0
- /package/dist/{chunk-GGJSDZSG.js.map → chunk-N73EEVKP.js.map} +0 -0
- /package/dist/{chunk-HLMPHXDT.js.map → chunk-QTT5PAF5.js.map} +0 -0
- /package/dist/{chunk-BIKJIS2D.js.map → chunk-R5K32NWJ.js.map} +0 -0
- /package/dist/{chunk-ZI7PMBB5.js.map → chunk-S2J5L7W6.js.map} +0 -0
- /package/dist/{chunk-AR2T52ZD.js.map → chunk-U3BHVYM7.js.map} +0 -0
- /package/dist/{chunk-2T3CMGHK.js.map → chunk-VLPRSVXT.js.map} +0 -0
- /package/dist/{chunk-5E6M6XWV.js.map → chunk-VNOOSZ37.js.map} +0 -0
- /package/dist/{chunk-UOI5IMPL.js.map → chunk-W3I3SWXY.js.map} +0 -0
- /package/dist/{chunk-PZUWDRYL.js.map → chunk-WZFW5MLS.js.map} +0 -0
- /package/dist/{chunk-IQFPCBIR.js.map → chunk-XQQXJDZ6.js.map} +0 -0
- /package/dist/{chunk-QSTILMPV.js.map → chunk-YA6QWTQZ.js.map} +0 -0
- /package/dist/{cli-N4K3IVLF.js.map → cli-FVTA2UNT.js.map} +0 -0
- /package/dist/{commands-FVABAWTE.js.map → commands-ZXIPHHLY.js.map} +0 -0
- /package/dist/{config-4SAA3A4H.js.map → config-PDX3ENJS.js.map} +0 -0
- /package/dist/{context-JUTKS5DS.js.map → context-QCXL3UHB.js.map} +0 -0
- /package/dist/{customCommands-AQ2HBQMH.js.map → customCommands-LIL44EIW.js.map} +0 -0
- /package/dist/{env-7AFTMLC2.js.map → env-JKAUQPAX.js.map} +0 -0
- /package/dist/{file-FHBTI5CC.js.map → file-OKOAVL6I.js.map} +0 -0
- /package/dist/{llm-EM2KXZY6.js.map → llm-24B7GPL4.js.map} +0 -0
- /package/dist/{llmLazy-JUIQM4ZF.js.map → llmLazy-J4YVR6MG.js.map} +0 -0
- /package/dist/{loader-PYHFI7IO.js.map → loader-GUY3VKKS.js.map} +0 -0
- /package/dist/{lsp-GSO5DR2Y.js.map → lsp-36PBULHA.js.map} +0 -0
- /package/dist/{lspAnchor-CKXBNIWV.js.map → lspAnchor-VW755MJ7.js.map} +0 -0
- /package/dist/{mcp-UN4XUX2S.js.map → mcp-5CYKIC44.js.map} +0 -0
- /package/dist/{mentionProcessor-GHXKRGYC.js.map → mentionProcessor-WTPRNMI7.js.map} +0 -0
- /package/dist/{messages-H4MV2CGQ.js.map → messages-35GUJR23.js.map} +0 -0
- /package/dist/{model-QSJDJLEM.js.map → model-Z22IGTCI.js.map} +0 -0
- /package/dist/{openai-3OXS5733.js.map → openai-IFMVI4HW.js.map} +0 -0
- /package/dist/{outputStyles-VBUE347V.js.map → outputStyles-GISTOUSR.js.map} +0 -0
- /package/dist/{pluginRuntime-W4WDPKPT.js.map → pluginRuntime-YKAYG7LI.js.map} +0 -0
- /package/dist/{pluginValidation-OF7UHNQX.js.map → pluginValidation-WMUMEOFR.js.map} +0 -0
- /package/dist/{prompts-2LXMK3VN.js.map → prompts-ANODLYMR.js.map} +0 -0
- /package/dist/{pybAgentSessionLoad-OYVM3S2U.js.map → pybAgentSessionLoad-U2PAPG2T.js.map} +0 -0
- /package/dist/{pybAgentSessionResume-YJA2SMOD.js.map → pybAgentSessionResume-VKO7BF5R.js.map} +0 -0
- /package/dist/{pybAgentStreamJsonSession-QI5GI6SO.js.map → pybAgentStreamJsonSession-3B3FBBV2.js.map} +0 -0
- /package/dist/{pybHooks-WV6UYAHS.js.map → pybHooks-PKSWIXQR.js.map} +0 -0
- /package/dist/{query-FQWQYDNW.js.map → query-E6AUJBMK.js.map} +0 -0
- /package/dist/{registry-NHLHZE5M.js.map → registry-ZEALEPQA.js.map} +0 -0
- /package/dist/{ripgrep-KNHAQZVT.js.map → ripgrep-KLZFIFVE.js.map} +0 -0
- /package/dist/{skillMarketplace-HFOMNLZZ.js.map → skillMarketplace-GTMGSI2S.js.map} +0 -0
- /package/dist/{state-FXE4MBXU.js.map → state-A5SI47U2.js.map} +0 -0
- /package/dist/{theme-RAYSKCIX.js.map → theme-VS7GUKLU.js.map} +0 -0
- /package/dist/{toolPermissionSettings-776RJN2P.js.map → toolPermissionSettings-ZF4WVDXG.js.map} +0 -0
- /package/dist/{tools-6GPD2GSB.js.map → tools-VTVBSLQ5.js.map} +0 -0
- /package/dist/{userInput-YYHT2EW7.js.map → userInput-VZEUNZ4X.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-E7P4TM6T.js";
|
|
7
7
|
import {
|
|
8
8
|
loadPybAgentSessionMessages
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-R5K32NWJ.js";
|
|
10
10
|
import {
|
|
11
11
|
listPybAgentSessions
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-AAN4ZB7D.js";
|
|
13
13
|
import {
|
|
14
14
|
appendSessionCustomTitleRecord,
|
|
15
15
|
appendSessionJsonlFromMessage,
|
|
16
16
|
appendSessionTagRecord
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-N73EEVKP.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-3PUKLCTC.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-2SXOBJO3.js";
|
|
39
39
|
import {
|
|
40
40
|
fetchCustomModels,
|
|
41
41
|
getModelFeatures
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-N3P77GAY.js";
|
|
43
43
|
import {
|
|
44
44
|
queryLLM,
|
|
45
45
|
queryQuick,
|
|
46
46
|
verifyApiKey
|
|
47
|
-
} from "./chunk-
|
|
47
|
+
} from "./chunk-VLPRSVXT.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-3UUOVYVA.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-W3I3SWXY.js";
|
|
75
75
|
import {
|
|
76
76
|
loadToolPermissionContextFromDisk,
|
|
77
77
|
persistToolPermissionUpdateToDisk
|
|
78
|
-
} from "./chunk-
|
|
78
|
+
} from "./chunk-JBJ6V6LD.js";
|
|
79
79
|
import {
|
|
80
80
|
applyToolPermissionContextUpdate,
|
|
81
81
|
applyToolPermissionContextUpdates,
|
|
@@ -89,7 +89,7 @@ import {
|
|
|
89
89
|
resetReminderSession,
|
|
90
90
|
setTodos,
|
|
91
91
|
systemReminderService
|
|
92
|
-
} from "./chunk-
|
|
92
|
+
} from "./chunk-5N7MDY6T.js";
|
|
93
93
|
import {
|
|
94
94
|
getSessionState
|
|
95
95
|
} from "./chunk-ERMQRV55.js";
|
|
@@ -98,7 +98,7 @@ import {
|
|
|
98
98
|
getActiveAgents,
|
|
99
99
|
getAgentByType,
|
|
100
100
|
getAllAgents
|
|
101
|
-
} from "./chunk-
|
|
101
|
+
} from "./chunk-N4AX7MAG.js";
|
|
102
102
|
import {
|
|
103
103
|
API_ERROR_MESSAGE_PREFIX,
|
|
104
104
|
CANCEL_MESSAGE,
|
|
@@ -128,7 +128,7 @@ import {
|
|
|
128
128
|
processUserInput,
|
|
129
129
|
reorderMessages,
|
|
130
130
|
stripSystemMessages
|
|
131
|
-
} from "./chunk-
|
|
131
|
+
} from "./chunk-A6CGJVI5.js";
|
|
132
132
|
import {
|
|
133
133
|
getRequestStatus,
|
|
134
134
|
setRequestStatus,
|
|
@@ -158,7 +158,7 @@ import {
|
|
|
158
158
|
normalizeFilePath,
|
|
159
159
|
readTextContent,
|
|
160
160
|
writeTextContent
|
|
161
|
-
} from "./chunk-
|
|
161
|
+
} from "./chunk-VNOOSZ37.js";
|
|
162
162
|
import {
|
|
163
163
|
parseBlockEdits
|
|
164
164
|
} from "./chunk-QWIBSCDN.js";
|
|
@@ -168,18 +168,18 @@ import {
|
|
|
168
168
|
ParserRegistry,
|
|
169
169
|
initParser,
|
|
170
170
|
loadLanguage
|
|
171
|
-
} from "./chunk-
|
|
171
|
+
} from "./chunk-42XD5HC6.js";
|
|
172
172
|
import {
|
|
173
173
|
getSettingsFileCandidates,
|
|
174
174
|
loadSettingsWithLegacyFallback,
|
|
175
175
|
readSettingsFile
|
|
176
|
-
} from "./chunk-
|
|
176
|
+
} from "./chunk-QTT5PAF5.js";
|
|
177
177
|
import {
|
|
178
178
|
getCustomCommandDirectories,
|
|
179
179
|
hasCustomCommands,
|
|
180
180
|
loadCustomCommands,
|
|
181
181
|
reloadCustomCommands
|
|
182
|
-
} from "./chunk-
|
|
182
|
+
} from "./chunk-S2J5L7W6.js";
|
|
183
183
|
import {
|
|
184
184
|
getSessionPlugins
|
|
185
185
|
} from "./chunk-BJSWTHRM.js";
|
|
@@ -187,7 +187,7 @@ import {
|
|
|
187
187
|
ModelManager,
|
|
188
188
|
getModelManager,
|
|
189
189
|
isDefaultSlowAndCapableModel
|
|
190
|
-
} from "./chunk-
|
|
190
|
+
} from "./chunk-5EVKZGDP.js";
|
|
191
191
|
import {
|
|
192
192
|
getCodeStyle,
|
|
193
193
|
getContext,
|
|
@@ -195,13 +195,13 @@ import {
|
|
|
195
195
|
getIsGit,
|
|
196
196
|
getProjectDocs,
|
|
197
197
|
getProjectStructureStatisticsBlock
|
|
198
|
-
} from "./chunk-
|
|
198
|
+
} from "./chunk-WZFW5MLS.js";
|
|
199
199
|
import {
|
|
200
200
|
ripGrep
|
|
201
|
-
} from "./chunk-
|
|
201
|
+
} from "./chunk-CWSAGAMM.js";
|
|
202
202
|
import {
|
|
203
203
|
getTheme
|
|
204
|
-
} from "./chunk-
|
|
204
|
+
} from "./chunk-C5PFCHI6.js";
|
|
205
205
|
import {
|
|
206
206
|
DEFAULT_GLOBAL_CONFIG,
|
|
207
207
|
enableConfigs,
|
|
@@ -214,7 +214,7 @@ import {
|
|
|
214
214
|
saveGlobalConfig,
|
|
215
215
|
setAllPointersToModel,
|
|
216
216
|
setModelPointer
|
|
217
|
-
} from "./chunk-
|
|
217
|
+
} from "./chunk-XQQXJDZ6.js";
|
|
218
218
|
import {
|
|
219
219
|
AbortError
|
|
220
220
|
} from "./chunk-RQVLBMP7.js";
|
|
@@ -223,7 +223,7 @@ import {
|
|
|
223
223
|
getCurrentRequest,
|
|
224
224
|
logUserFriendly,
|
|
225
225
|
markPhase
|
|
226
|
-
} from "./chunk-
|
|
226
|
+
} from "./chunk-ADVVJQQL.js";
|
|
227
227
|
import {
|
|
228
228
|
ASCII_LOGO,
|
|
229
229
|
BunShell,
|
|
@@ -264,10 +264,10 @@ import {
|
|
|
264
264
|
setCwd,
|
|
265
265
|
shouldApplyToolOutputTruncation,
|
|
266
266
|
truncateToolOutput
|
|
267
|
-
} from "./chunk-
|
|
267
|
+
} from "./chunk-YA6QWTQZ.js";
|
|
268
268
|
import {
|
|
269
269
|
MACRO
|
|
270
|
-
} from "./chunk-
|
|
270
|
+
} from "./chunk-T2TNKXYE.js";
|
|
271
271
|
import {
|
|
272
272
|
__export
|
|
273
273
|
} from "./chunk-I3J4JYES.js";
|
|
@@ -448,7 +448,7 @@ var getCommandSubcommandPrefix = memoize(
|
|
|
448
448
|
var getCommandPrefix = memoize(
|
|
449
449
|
async (command4, abortSignal) => {
|
|
450
450
|
const { systemPrompt, userPrompt } = buildBashCommandPrefixDetectionPrompt(command4);
|
|
451
|
-
const { API_ERROR_MESSAGE_PREFIX: API_ERROR_MESSAGE_PREFIX2, queryQuick: queryQuick2 } = await import("./llm-
|
|
451
|
+
const { API_ERROR_MESSAGE_PREFIX: API_ERROR_MESSAGE_PREFIX2, queryQuick: queryQuick2 } = await import("./llm-24B7GPL4.js");
|
|
452
452
|
const response = await queryQuick2({
|
|
453
453
|
systemPrompt,
|
|
454
454
|
userPrompt,
|
|
@@ -4250,7 +4250,7 @@ function formatParseError(error) {
|
|
|
4250
4250
|
return error instanceof Error ? error.message : String(error);
|
|
4251
4251
|
}
|
|
4252
4252
|
async function defaultGateQuery(args) {
|
|
4253
|
-
const { API_ERROR_MESSAGE_PREFIX: API_ERROR_MESSAGE_PREFIX2, queryLLM: queryLLM2 } = await import("./llm-
|
|
4253
|
+
const { API_ERROR_MESSAGE_PREFIX: API_ERROR_MESSAGE_PREFIX2, queryLLM: queryLLM2 } = await import("./llm-24B7GPL4.js");
|
|
4254
4254
|
const queryLLMFn = args.queryLLMOverride ?? queryLLM2;
|
|
4255
4255
|
const messages = [
|
|
4256
4256
|
{
|
|
@@ -6565,7 +6565,7 @@ var FileEditTool = {
|
|
|
6565
6565
|
const originalFileContent = currentFileContent;
|
|
6566
6566
|
let totalPatch = [];
|
|
6567
6567
|
const { SmartEdit } = await import("./smart-edit-AWHJDSU6.js");
|
|
6568
|
-
const { findLspAnchor } = await import("./lspAnchor-
|
|
6568
|
+
const { findLspAnchor } = await import("./lspAnchor-VW755MJ7.js");
|
|
6569
6569
|
for (const op of editOperations) {
|
|
6570
6570
|
const normalizedSearch = normalizeLineEndings(op.search);
|
|
6571
6571
|
const normalizedReplace = normalizeLineEndings(op.replace);
|
|
@@ -11200,7 +11200,7 @@ async function createAndStoreApiKey(accessToken) {
|
|
|
11200
11200
|
}
|
|
11201
11201
|
saveGlobalConfig(config2);
|
|
11202
11202
|
try {
|
|
11203
|
-
const { resetAnthropicClient } = await import("./llm-
|
|
11203
|
+
const { resetAnthropicClient } = await import("./llm-24B7GPL4.js");
|
|
11204
11204
|
resetAnthropicClient();
|
|
11205
11205
|
} catch {
|
|
11206
11206
|
}
|
|
@@ -15482,7 +15482,7 @@ async function refreshPluginRuntimeFromInstalls() {
|
|
|
15482
15482
|
const existingRoots = getSessionPlugins().map((p) => p.rootDir);
|
|
15483
15483
|
const dirs = Array.from(/* @__PURE__ */ new Set([...existingRoots, ...installedRoots]));
|
|
15484
15484
|
if (dirs.length === 0) return [];
|
|
15485
|
-
const { configureSessionPlugins } = await import("./pluginRuntime-
|
|
15485
|
+
const { configureSessionPlugins } = await import("./pluginRuntime-YKAYG7LI.js");
|
|
15486
15486
|
const { errors } = await configureSessionPlugins({ pluginDirs: dirs });
|
|
15487
15487
|
return errors;
|
|
15488
15488
|
}
|
|
@@ -16151,7 +16151,7 @@ async function call(onDone, context) {
|
|
|
16151
16151
|
ModelConfig,
|
|
16152
16152
|
{
|
|
16153
16153
|
onClose: () => {
|
|
16154
|
-
import("./model-
|
|
16154
|
+
import("./model-Z22IGTCI.js").then(({ reloadModelManager: reloadModelManager2 }) => {
|
|
16155
16155
|
reloadModelManager2();
|
|
16156
16156
|
triggerModelConfigChange();
|
|
16157
16157
|
onDone();
|
|
@@ -19420,6 +19420,9 @@ function BashPermissionRequest({
|
|
|
19420
19420
|
import { Box as Box60, Text as Text65 } from "ink";
|
|
19421
19421
|
import React80, { useMemo as useMemo16 } from "react";
|
|
19422
19422
|
import chalk9 from "chalk";
|
|
19423
|
+
function __getFallbackPermissionInputForTests(tool, input) {
|
|
19424
|
+
return tool === WebSearchTool ? { query: "" } : input;
|
|
19425
|
+
}
|
|
19423
19426
|
function FallbackPermissionRequest({
|
|
19424
19427
|
toolUseConfirm,
|
|
19425
19428
|
onDone,
|
|
@@ -19467,7 +19470,7 @@ function FallbackPermissionRequest({
|
|
|
19467
19470
|
value: "yes"
|
|
19468
19471
|
},
|
|
19469
19472
|
{
|
|
19470
|
-
label: `Yes, and don't ask again for ${chalk9.bold(userFacingName3)} commands in ${chalk9.bold(getCwd())}`,
|
|
19473
|
+
label: toolUseConfirm.tool === WebSearchTool ? `Yes, and don't ask again for ${chalk9.bold(userFacingName3)}` : `Yes, and don't ask again for ${chalk9.bold(userFacingName3)} commands in ${chalk9.bold(getCwd())}`,
|
|
19471
19474
|
value: "yes-dont-ask-again"
|
|
19472
19475
|
},
|
|
19473
19476
|
{
|
|
@@ -19500,9 +19503,13 @@ function FallbackPermissionRequest({
|
|
|
19500
19503
|
platform: env.platform
|
|
19501
19504
|
}
|
|
19502
19505
|
});
|
|
19506
|
+
const permissionInput = __getFallbackPermissionInputForTests(
|
|
19507
|
+
toolUseConfirm.tool,
|
|
19508
|
+
toolUseConfirm.input
|
|
19509
|
+
);
|
|
19503
19510
|
savePermission(
|
|
19504
19511
|
toolUseConfirm.tool,
|
|
19505
|
-
|
|
19512
|
+
permissionInput,
|
|
19506
19513
|
toolUseConfirmGetPrefix(toolUseConfirm),
|
|
19507
19514
|
toolUseConfirm.toolUseContext
|
|
19508
19515
|
).then(() => {
|
|
@@ -24270,7 +24277,7 @@ function useStatusLine() {
|
|
|
24270
24277
|
// src/ui/components/PromptInput.tsx
|
|
24271
24278
|
async function interpretHashCommand(input) {
|
|
24272
24279
|
try {
|
|
24273
|
-
const { queryQuick: queryQuick2 } = await import("./llm-
|
|
24280
|
+
const { queryQuick: queryQuick2 } = await import("./llm-24B7GPL4.js");
|
|
24274
24281
|
const systemPrompt = [
|
|
24275
24282
|
"You're helping the user structure notes that will be added to their PYB.md file.",
|
|
24276
24283
|
"Format the user's input into a well-structured note that will be useful for later reference.",
|
|
@@ -24583,7 +24590,7 @@ function PromptInput({
|
|
|
24583
24590
|
if (messages2.length) {
|
|
24584
24591
|
if (mode === "bash") {
|
|
24585
24592
|
onQuery(messages2, newAbortController).then(async () => {
|
|
24586
|
-
const { getCwd: getCwd2 } = await import("./state-
|
|
24593
|
+
const { getCwd: getCwd2 } = await import("./state-A5SI47U2.js");
|
|
24587
24594
|
setCurrentPwd(getCwd2());
|
|
24588
24595
|
});
|
|
24589
24596
|
} else {
|
|
@@ -27524,7 +27531,7 @@ import { homedir as homedir7 } from "os";
|
|
|
27524
27531
|
// src/commands/agents/generation.ts
|
|
27525
27532
|
import { randomUUID as randomUUID5 } from "crypto";
|
|
27526
27533
|
async function generateAgentWithClaude(prompt) {
|
|
27527
|
-
const { queryModel } = await import("./llm-
|
|
27534
|
+
const { queryModel } = await import("./llm-24B7GPL4.js");
|
|
27528
27535
|
const systemPrompt = `You are an expert at creating AI agent configurations. Based on the user's description, generate a specialized agent configuration.
|
|
27529
27536
|
|
|
27530
27537
|
Return your response as a JSON object with exactly these fields:
|