pybao-cli 1.3.75 → 1.3.76
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-2MFAZYFR.js +42 -0
- package/dist/{acp-WSA5UOKA.js → acp-LDGRB36V.js} +27 -27
- package/dist/{agentsValidate-NDLS3YWV.js → agentsValidate-3ZT5L4GI.js} +7 -7
- package/dist/{ask-K4ERHTWQ.js → ask-KQZCP45I.js} +25 -25
- package/dist/{autoUpdater-UOTOZEVB.js → autoUpdater-MBMXCVBD.js} +3 -3
- package/dist/{chunk-VVTLKXBV.js → chunk-3X643DPY.js} +1 -1
- package/dist/{chunk-VVTLKXBV.js.map → chunk-3X643DPY.js.map} +1 -1
- package/dist/{chunk-SXOUS5FQ.js → chunk-4KVOFH2S.js} +1 -1
- package/dist/{chunk-DLA4T5X5.js → chunk-5OS4UGYK.js} +1 -1
- package/dist/{chunk-P4RDKUPU.js → chunk-63LP4JE6.js} +3 -3
- package/dist/{chunk-XLHBL6E5.js → chunk-7CIDTUWO.js} +2 -2
- package/dist/{chunk-QFPOXK6A.js → chunk-BAM5Z6EA.js} +4 -4
- package/dist/{chunk-XK3FVXOT.js → chunk-ELPWSR2W.js} +2 -2
- package/dist/{chunk-NOCRGLN6.js → chunk-ESQPYAOR.js} +38 -38
- package/dist/{chunk-NOCRGLN6.js.map → chunk-ESQPYAOR.js.map} +2 -2
- package/dist/{chunk-RVADTAFI.js → chunk-EYJQMII5.js} +17 -17
- package/dist/{chunk-VTPFOQBF.js → chunk-F3JJJLFB.js} +1 -1
- package/dist/{chunk-LDRNBOXL.js → chunk-GPSOYNIA.js} +1 -1
- package/dist/{chunk-Y6RDGSS5.js → chunk-H5ECL2W2.js} +2 -2
- package/dist/{chunk-YHXAXKYY.js → chunk-JWSFVBQB.js} +2 -2
- package/dist/{chunk-AZF6JGZV.js → chunk-KIYCTSKZ.js} +1 -1
- package/dist/{chunk-RV6O6XGO.js → chunk-KJXBKZD4.js} +1 -1
- package/dist/{chunk-SI3WLTQH.js → chunk-L2H76Z4W.js} +3 -3
- package/dist/{chunk-ZGBIIQDY.js → chunk-LEKWRXMF.js} +2 -2
- package/dist/{chunk-26Y5QTW2.js → chunk-MCXQN7QX.js} +4 -4
- package/dist/{chunk-TNROGFCO.js → chunk-MY5O5CHS.js} +1 -1
- package/dist/{chunk-7NWHRZ7X.js → chunk-NOMIQFQT.js} +1 -1
- package/dist/{chunk-7C6RJCGL.js → chunk-R2MM2EIA.js} +3 -3
- package/dist/{chunk-TGVYKYYN.js → chunk-SBSGYOBY.js} +3 -3
- package/dist/{chunk-G4IIQSNB.js → chunk-TASZ4WRS.js} +3 -3
- package/dist/{chunk-XTHFZSVB.js → chunk-TVCYEIR2.js} +3 -3
- package/dist/{chunk-JTFQPN7S.js → chunk-VU5HNOM5.js} +2 -2
- package/dist/{chunk-JTFQPN7S.js.map → chunk-VU5HNOM5.js.map} +2 -2
- package/dist/{chunk-TKGZXGRW.js → chunk-XK233DN5.js} +2 -2
- package/dist/{chunk-Q7RHI4LU.js → chunk-YKU5MMJL.js} +3 -3
- package/dist/{chunk-RPO62MBF.js → chunk-ZPGEVS4A.js} +1 -1
- package/dist/{cli-3464G6LQ.js → cli-6L5TC5QS.js} +78 -78
- package/dist/commands-HSCVSRUN.js +46 -0
- package/dist/{config-WQA56OOH.js → config-YG2PMDJU.js} +4 -4
- package/dist/{context-PFOKZMGH.js → context-U3BVAD76.js} +5 -5
- package/dist/{customCommands-MQBYCZ3Q.js → customCommands-U2VHRRHF.js} +4 -4
- package/dist/{env-ISAOQPAN.js → env-H5WODPX3.js} +2 -2
- package/dist/index.js +3 -3
- package/dist/{llm-3OWAZ5GG.js → llm-CGDOSTGR.js} +26 -26
- package/dist/{llmLazy-DY2OVEQX.js → llmLazy-I5FNZYU5.js} +1 -1
- package/dist/{loader-QLVBAS2F.js → loader-CVQIK26G.js} +4 -4
- package/dist/{lspAnchor-IQMMRHKA.js → lspAnchor-IJEAL6DF.js} +4 -4
- package/dist/{manager-VQOC5H2A.js → manager-UK5TEREN.js} +4 -4
- package/dist/{mcp-LPA6R4V3.js → mcp-LGKV3XX4.js} +7 -7
- package/dist/{mentionProcessor-BKGFNVZD.js → mentionProcessor-MDTHENKV.js} +5 -5
- package/dist/{messages-V4TE2NDW.js → messages-CQJMJWGJ.js} +1 -1
- package/dist/{model-X657Q7NP.js → model-UBVT2YA3.js} +5 -5
- package/dist/{openai-DKKPGA4X.js → openai-C4EX52QG.js} +5 -5
- package/dist/{outputStyles-EM4NVFOT.js → outputStyles-OPCESLH3.js} +4 -4
- package/dist/{pluginRuntime-SZ5YCHHQ.js → pluginRuntime-4GQ5X6NW.js} +6 -6
- package/dist/{pluginValidation-3UNFKIL7.js → pluginValidation-ORKYLE35.js} +6 -6
- package/dist/prompts-56KCWZNZ.js +48 -0
- package/dist/{pybAgentSessionLoad-K5CU7AEF.js → pybAgentSessionLoad-UEX26O72.js} +4 -4
- package/dist/{pybAgentSessionResume-GVRYJ7KZ.js → pybAgentSessionResume-HQWFSAOI.js} +4 -4
- package/dist/{pybAgentStreamJsonSession-3V33ML3B.js → pybAgentStreamJsonSession-NTMBJMX6.js} +1 -1
- package/dist/{pybHooks-CSL26T3R.js → pybHooks-3COODNSS.js} +4 -4
- package/dist/query-BJAUI2E7.js +50 -0
- package/dist/{ripgrep-GB4NKXJN.js → ripgrep-XCQYUJT5.js} +3 -3
- package/dist/{skillMarketplace-PJITSLS7.js → skillMarketplace-OA7ZO7CJ.js} +3 -3
- package/dist/{state-BPDITQXR.js → state-BNESSPEK.js} +2 -2
- package/dist/{theme-ORLCAV2J.js → theme-ZIUQDRA3.js} +5 -5
- package/dist/{toolPermissionSettings-2CY4BM7H.js → toolPermissionSettings-6ANKW5RJ.js} +6 -6
- package/dist/tools-4TTMZ6SJ.js +50 -0
- package/dist/{userInput-6O4C3LQJ.js → userInput-NHATC6JJ.js} +27 -27
- package/package.json +1 -1
- package/dist/REPL-7O6QUBGO.js +0 -42
- package/dist/commands-PDCKSZSO.js +0 -46
- package/dist/prompts-LB3VHTYW.js +0 -48
- package/dist/query-3GBJXPLV.js +0 -50
- package/dist/tools-YYV3FEUQ.js +0 -50
- /package/dist/{REPL-7O6QUBGO.js.map → REPL-2MFAZYFR.js.map} +0 -0
- /package/dist/{acp-WSA5UOKA.js.map → acp-LDGRB36V.js.map} +0 -0
- /package/dist/{agentsValidate-NDLS3YWV.js.map → agentsValidate-3ZT5L4GI.js.map} +0 -0
- /package/dist/{ask-K4ERHTWQ.js.map → ask-KQZCP45I.js.map} +0 -0
- /package/dist/{autoUpdater-UOTOZEVB.js.map → autoUpdater-MBMXCVBD.js.map} +0 -0
- /package/dist/{chunk-SXOUS5FQ.js.map → chunk-4KVOFH2S.js.map} +0 -0
- /package/dist/{chunk-DLA4T5X5.js.map → chunk-5OS4UGYK.js.map} +0 -0
- /package/dist/{chunk-P4RDKUPU.js.map → chunk-63LP4JE6.js.map} +0 -0
- /package/dist/{chunk-XLHBL6E5.js.map → chunk-7CIDTUWO.js.map} +0 -0
- /package/dist/{chunk-QFPOXK6A.js.map → chunk-BAM5Z6EA.js.map} +0 -0
- /package/dist/{chunk-XK3FVXOT.js.map → chunk-ELPWSR2W.js.map} +0 -0
- /package/dist/{chunk-RVADTAFI.js.map → chunk-EYJQMII5.js.map} +0 -0
- /package/dist/{chunk-VTPFOQBF.js.map → chunk-F3JJJLFB.js.map} +0 -0
- /package/dist/{chunk-LDRNBOXL.js.map → chunk-GPSOYNIA.js.map} +0 -0
- /package/dist/{chunk-Y6RDGSS5.js.map → chunk-H5ECL2W2.js.map} +0 -0
- /package/dist/{chunk-YHXAXKYY.js.map → chunk-JWSFVBQB.js.map} +0 -0
- /package/dist/{chunk-AZF6JGZV.js.map → chunk-KIYCTSKZ.js.map} +0 -0
- /package/dist/{chunk-RV6O6XGO.js.map → chunk-KJXBKZD4.js.map} +0 -0
- /package/dist/{chunk-SI3WLTQH.js.map → chunk-L2H76Z4W.js.map} +0 -0
- /package/dist/{chunk-ZGBIIQDY.js.map → chunk-LEKWRXMF.js.map} +0 -0
- /package/dist/{chunk-26Y5QTW2.js.map → chunk-MCXQN7QX.js.map} +0 -0
- /package/dist/{chunk-TNROGFCO.js.map → chunk-MY5O5CHS.js.map} +0 -0
- /package/dist/{chunk-7NWHRZ7X.js.map → chunk-NOMIQFQT.js.map} +0 -0
- /package/dist/{chunk-7C6RJCGL.js.map → chunk-R2MM2EIA.js.map} +0 -0
- /package/dist/{chunk-TGVYKYYN.js.map → chunk-SBSGYOBY.js.map} +0 -0
- /package/dist/{chunk-G4IIQSNB.js.map → chunk-TASZ4WRS.js.map} +0 -0
- /package/dist/{chunk-XTHFZSVB.js.map → chunk-TVCYEIR2.js.map} +0 -0
- /package/dist/{chunk-TKGZXGRW.js.map → chunk-XK233DN5.js.map} +0 -0
- /package/dist/{chunk-Q7RHI4LU.js.map → chunk-YKU5MMJL.js.map} +0 -0
- /package/dist/{chunk-RPO62MBF.js.map → chunk-ZPGEVS4A.js.map} +0 -0
- /package/dist/{cli-3464G6LQ.js.map → cli-6L5TC5QS.js.map} +0 -0
- /package/dist/{commands-PDCKSZSO.js.map → commands-HSCVSRUN.js.map} +0 -0
- /package/dist/{config-WQA56OOH.js.map → config-YG2PMDJU.js.map} +0 -0
- /package/dist/{context-PFOKZMGH.js.map → context-U3BVAD76.js.map} +0 -0
- /package/dist/{customCommands-MQBYCZ3Q.js.map → customCommands-U2VHRRHF.js.map} +0 -0
- /package/dist/{env-ISAOQPAN.js.map → env-H5WODPX3.js.map} +0 -0
- /package/dist/{llm-3OWAZ5GG.js.map → llm-CGDOSTGR.js.map} +0 -0
- /package/dist/{llmLazy-DY2OVEQX.js.map → llmLazy-I5FNZYU5.js.map} +0 -0
- /package/dist/{loader-QLVBAS2F.js.map → loader-CVQIK26G.js.map} +0 -0
- /package/dist/{lspAnchor-IQMMRHKA.js.map → lspAnchor-IJEAL6DF.js.map} +0 -0
- /package/dist/{manager-VQOC5H2A.js.map → manager-UK5TEREN.js.map} +0 -0
- /package/dist/{mcp-LPA6R4V3.js.map → mcp-LGKV3XX4.js.map} +0 -0
- /package/dist/{mentionProcessor-BKGFNVZD.js.map → mentionProcessor-MDTHENKV.js.map} +0 -0
- /package/dist/{messages-V4TE2NDW.js.map → messages-CQJMJWGJ.js.map} +0 -0
- /package/dist/{model-X657Q7NP.js.map → model-UBVT2YA3.js.map} +0 -0
- /package/dist/{openai-DKKPGA4X.js.map → openai-C4EX52QG.js.map} +0 -0
- /package/dist/{outputStyles-EM4NVFOT.js.map → outputStyles-OPCESLH3.js.map} +0 -0
- /package/dist/{pluginRuntime-SZ5YCHHQ.js.map → pluginRuntime-4GQ5X6NW.js.map} +0 -0
- /package/dist/{pluginValidation-3UNFKIL7.js.map → pluginValidation-ORKYLE35.js.map} +0 -0
- /package/dist/{prompts-LB3VHTYW.js.map → prompts-56KCWZNZ.js.map} +0 -0
- /package/dist/{pybAgentSessionLoad-K5CU7AEF.js.map → pybAgentSessionLoad-UEX26O72.js.map} +0 -0
- /package/dist/{pybAgentSessionResume-GVRYJ7KZ.js.map → pybAgentSessionResume-HQWFSAOI.js.map} +0 -0
- /package/dist/{pybAgentStreamJsonSession-3V33ML3B.js.map → pybAgentStreamJsonSession-NTMBJMX6.js.map} +0 -0
- /package/dist/{pybHooks-CSL26T3R.js.map → pybHooks-3COODNSS.js.map} +0 -0
- /package/dist/{query-3GBJXPLV.js.map → query-BJAUI2E7.js.map} +0 -0
- /package/dist/{ripgrep-GB4NKXJN.js.map → ripgrep-XCQYUJT5.js.map} +0 -0
- /package/dist/{skillMarketplace-PJITSLS7.js.map → skillMarketplace-OA7ZO7CJ.js.map} +0 -0
- /package/dist/{state-BPDITQXR.js.map → state-BNESSPEK.js.map} +0 -0
- /package/dist/{theme-ORLCAV2J.js.map → theme-ZIUQDRA3.js.map} +0 -0
- /package/dist/{toolPermissionSettings-2CY4BM7H.js.map → toolPermissionSettings-6ANKW5RJ.js.map} +0 -0
- /package/dist/{tools-YYV3FEUQ.js.map → tools-4TTMZ6SJ.js.map} +0 -0
- /package/dist/{userInput-6O4C3LQJ.js.map → userInput-NHATC6JJ.js.map} +0 -0
|
@@ -2,24 +2,24 @@ import { createRequire as __pybCreateRequire } from "node:module";
|
|
|
2
2
|
const require = __pybCreateRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
loadPybAgentSessionMessages
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-NOMIQFQT.js";
|
|
6
6
|
import {
|
|
7
7
|
listPybAgentSessions
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-MY5O5CHS.js";
|
|
9
9
|
import {
|
|
10
10
|
appendSessionCustomTitleRecord,
|
|
11
11
|
appendSessionJsonlFromMessage,
|
|
12
12
|
appendSessionTagRecord
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-JWSFVBQB.js";
|
|
14
14
|
import {
|
|
15
15
|
fetchCustomModels,
|
|
16
16
|
getModelFeatures
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-LEKWRXMF.js";
|
|
18
18
|
import {
|
|
19
19
|
queryLLM,
|
|
20
20
|
queryQuick,
|
|
21
21
|
verifyApiKey
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-BAM5Z6EA.js";
|
|
23
23
|
import {
|
|
24
24
|
DEFAULT_TIMEOUT_MS,
|
|
25
25
|
FallbackToolUseRejectedMessage,
|
|
@@ -33,11 +33,11 @@ import {
|
|
|
33
33
|
listMCPServers,
|
|
34
34
|
loadMergedSettings,
|
|
35
35
|
normalizeSandboxRuntimeConfigFromSettings
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-MCXQN7QX.js";
|
|
37
37
|
import {
|
|
38
38
|
formatValidationResult,
|
|
39
39
|
validatePluginOrMarketplacePath
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-YKU5MMJL.js";
|
|
41
41
|
import {
|
|
42
42
|
addMarketplace,
|
|
43
43
|
disableSkillPlugin,
|
|
@@ -50,7 +50,7 @@ import {
|
|
|
50
50
|
refreshMarketplaceAsync,
|
|
51
51
|
removeMarketplace,
|
|
52
52
|
uninstallSkillPlugin
|
|
53
|
-
} from "./chunk-
|
|
53
|
+
} from "./chunk-4KVOFH2S.js";
|
|
54
54
|
import {
|
|
55
55
|
emitReminderEvent,
|
|
56
56
|
generateSystemReminders,
|
|
@@ -59,7 +59,7 @@ import {
|
|
|
59
59
|
resetReminderSession,
|
|
60
60
|
setTodos,
|
|
61
61
|
systemReminderService
|
|
62
|
-
} from "./chunk-
|
|
62
|
+
} from "./chunk-XK233DN5.js";
|
|
63
63
|
import {
|
|
64
64
|
getSessionState
|
|
65
65
|
} from "./chunk-ERMQRV55.js";
|
|
@@ -68,7 +68,7 @@ import {
|
|
|
68
68
|
getActiveAgents,
|
|
69
69
|
getAgentByType,
|
|
70
70
|
getAllAgents
|
|
71
|
-
} from "./chunk-
|
|
71
|
+
} from "./chunk-H5ECL2W2.js";
|
|
72
72
|
import {
|
|
73
73
|
API_ERROR_MESSAGE_PREFIX,
|
|
74
74
|
CANCEL_MESSAGE,
|
|
@@ -98,7 +98,7 @@ import {
|
|
|
98
98
|
processUserInput,
|
|
99
99
|
reorderMessages,
|
|
100
100
|
stripSystemMessages
|
|
101
|
-
} from "./chunk-
|
|
101
|
+
} from "./chunk-5OS4UGYK.js";
|
|
102
102
|
import {
|
|
103
103
|
getRequestStatus,
|
|
104
104
|
setRequestStatus,
|
|
@@ -115,7 +115,7 @@ import {
|
|
|
115
115
|
runStopHooks,
|
|
116
116
|
runUserPromptSubmitHooks,
|
|
117
117
|
updateHookTranscriptForMessages
|
|
118
|
-
} from "./chunk-
|
|
118
|
+
} from "./chunk-SBSGYOBY.js";
|
|
119
119
|
import {
|
|
120
120
|
getPybAgentSessionId,
|
|
121
121
|
setPybAgentSessionId
|
|
@@ -128,29 +128,29 @@ import {
|
|
|
128
128
|
getOutputStyleSystemPromptAdditions,
|
|
129
129
|
resolveOutputStyleName,
|
|
130
130
|
setCurrentOutputStyle
|
|
131
|
-
} from "./chunk-
|
|
131
|
+
} from "./chunk-ELPWSR2W.js";
|
|
132
132
|
import {
|
|
133
133
|
listAllContentFiles,
|
|
134
134
|
ripGrep,
|
|
135
135
|
tree
|
|
136
|
-
} from "./chunk-
|
|
136
|
+
} from "./chunk-ZPGEVS4A.js";
|
|
137
137
|
import {
|
|
138
138
|
getCustomCommandDirectories,
|
|
139
139
|
hasCustomCommands,
|
|
140
140
|
loadCustomCommands,
|
|
141
141
|
reloadCustomCommands
|
|
142
|
-
} from "./chunk-
|
|
142
|
+
} from "./chunk-7CIDTUWO.js";
|
|
143
143
|
import {
|
|
144
144
|
getSessionPlugins
|
|
145
145
|
} from "./chunk-BJSWTHRM.js";
|
|
146
146
|
import {
|
|
147
147
|
loadToolPermissionContextFromDisk,
|
|
148
148
|
persistToolPermissionUpdateToDisk
|
|
149
|
-
} from "./chunk-
|
|
149
|
+
} from "./chunk-TVCYEIR2.js";
|
|
150
150
|
import {
|
|
151
151
|
getSettingsFileCandidates,
|
|
152
152
|
loadSettingsWithLegacyFallback
|
|
153
|
-
} from "./chunk-
|
|
153
|
+
} from "./chunk-F3JJJLFB.js";
|
|
154
154
|
import {
|
|
155
155
|
applyToolPermissionContextUpdate,
|
|
156
156
|
createDefaultToolPermissionContext
|
|
@@ -159,17 +159,17 @@ import {
|
|
|
159
159
|
ModelManager,
|
|
160
160
|
getModelManager,
|
|
161
161
|
isDefaultSlowAndCapableModel
|
|
162
|
-
} from "./chunk-
|
|
162
|
+
} from "./chunk-TASZ4WRS.js";
|
|
163
163
|
import {
|
|
164
164
|
getCodeStyle,
|
|
165
165
|
getContext,
|
|
166
166
|
getGitState,
|
|
167
167
|
getIsGit,
|
|
168
168
|
getProjectDocs
|
|
169
|
-
} from "./chunk-
|
|
169
|
+
} from "./chunk-R2MM2EIA.js";
|
|
170
170
|
import {
|
|
171
171
|
getTheme
|
|
172
|
-
} from "./chunk-
|
|
172
|
+
} from "./chunk-GPSOYNIA.js";
|
|
173
173
|
import {
|
|
174
174
|
DEFAULT_GLOBAL_CONFIG,
|
|
175
175
|
enableConfigs,
|
|
@@ -182,7 +182,7 @@ import {
|
|
|
182
182
|
saveGlobalConfig,
|
|
183
183
|
setAllPointersToModel,
|
|
184
184
|
setModelPointer
|
|
185
|
-
} from "./chunk-
|
|
185
|
+
} from "./chunk-63LP4JE6.js";
|
|
186
186
|
import {
|
|
187
187
|
AbortError
|
|
188
188
|
} from "./chunk-RQVLBMP7.js";
|
|
@@ -191,7 +191,7 @@ import {
|
|
|
191
191
|
getCurrentRequest,
|
|
192
192
|
logUserFriendly,
|
|
193
193
|
markPhase
|
|
194
|
-
} from "./chunk-
|
|
194
|
+
} from "./chunk-KIYCTSKZ.js";
|
|
195
195
|
import {
|
|
196
196
|
ASCII_LOGO,
|
|
197
197
|
BunShell,
|
|
@@ -227,10 +227,10 @@ import {
|
|
|
227
227
|
renderBashNotification,
|
|
228
228
|
setActivePlanConversationKey,
|
|
229
229
|
setCwd
|
|
230
|
-
} from "./chunk-
|
|
230
|
+
} from "./chunk-KJXBKZD4.js";
|
|
231
231
|
import {
|
|
232
232
|
MACRO
|
|
233
|
-
} from "./chunk-
|
|
233
|
+
} from "./chunk-3X643DPY.js";
|
|
234
234
|
import {
|
|
235
235
|
formatTotalCost,
|
|
236
236
|
getTotalAPIDuration,
|
|
@@ -418,7 +418,7 @@ var getCommandSubcommandPrefix = memoize(
|
|
|
418
418
|
var getCommandPrefix = memoize(
|
|
419
419
|
async (command4, abortSignal) => {
|
|
420
420
|
const { systemPrompt, userPrompt } = buildBashCommandPrefixDetectionPrompt(command4);
|
|
421
|
-
const { API_ERROR_MESSAGE_PREFIX: API_ERROR_MESSAGE_PREFIX2, queryQuick: queryQuick2 } = await import("./llm-
|
|
421
|
+
const { API_ERROR_MESSAGE_PREFIX: API_ERROR_MESSAGE_PREFIX2, queryQuick: queryQuick2 } = await import("./llm-CGDOSTGR.js");
|
|
422
422
|
const response = await queryQuick2({
|
|
423
423
|
systemPrompt,
|
|
424
424
|
userPrompt,
|
|
@@ -4458,7 +4458,7 @@ function formatParseError(error) {
|
|
|
4458
4458
|
return error instanceof Error ? error.message : String(error);
|
|
4459
4459
|
}
|
|
4460
4460
|
async function defaultGateQuery(args) {
|
|
4461
|
-
const { API_ERROR_MESSAGE_PREFIX: API_ERROR_MESSAGE_PREFIX2, queryLLM: queryLLM2 } = await import("./llm-
|
|
4461
|
+
const { API_ERROR_MESSAGE_PREFIX: API_ERROR_MESSAGE_PREFIX2, queryLLM: queryLLM2 } = await import("./llm-CGDOSTGR.js");
|
|
4462
4462
|
const messages = [
|
|
4463
4463
|
{
|
|
4464
4464
|
type: "user",
|
|
@@ -6703,7 +6703,7 @@ var FileEditTool = {
|
|
|
6703
6703
|
const originalFileContent = currentFileContent;
|
|
6704
6704
|
let totalPatch = [];
|
|
6705
6705
|
const { SmartEdit } = await import("./smart-edit-677MCQMW.js");
|
|
6706
|
-
const { findLspAnchor } = await import("./lspAnchor-
|
|
6706
|
+
const { findLspAnchor } = await import("./lspAnchor-IJEAL6DF.js");
|
|
6707
6707
|
for (const op of editOperations) {
|
|
6708
6708
|
const normalizedSearch = normalizeLineEndings(op.search);
|
|
6709
6709
|
const normalizedReplace = normalizeLineEndings(op.replace);
|
|
@@ -6746,7 +6746,7 @@ ${op.search}`);
|
|
|
6746
6746
|
const endings = fileExistsBun(fullFilePath) ? detectLineEndings(fullFilePath) : "LF";
|
|
6747
6747
|
writeTextContent(fullFilePath, updatedFile, enc, endings);
|
|
6748
6748
|
if (verify) {
|
|
6749
|
-
const { LspClientManager } = await import("./manager-
|
|
6749
|
+
const { LspClientManager } = await import("./manager-UK5TEREN.js");
|
|
6750
6750
|
const client = await LspClientManager.getInstance().getClient(fullFilePath, getCwd());
|
|
6751
6751
|
if (client) {
|
|
6752
6752
|
const ext = extname(fullFilePath);
|
|
@@ -6765,7 +6765,7 @@ ${op.search}`);
|
|
|
6765
6765
|
};
|
|
6766
6766
|
const languageId = langMap[ext] || "plaintext";
|
|
6767
6767
|
await client.didOpen(fullFilePath, updatedFile, languageId);
|
|
6768
|
-
await client.waitForReadiness(fullFilePath,
|
|
6768
|
+
await client.waitForReadiness(fullFilePath, 3e3);
|
|
6769
6769
|
const diagnostics = client.getDiagnostics(fullFilePath);
|
|
6770
6770
|
const errors = diagnostics.filter((d) => d.severity === 1);
|
|
6771
6771
|
if (errors.length > 0) {
|
|
@@ -7657,7 +7657,7 @@ var FileReadTool = {
|
|
|
7657
7657
|
let finalLimit = limit;
|
|
7658
7658
|
if (symbol_name) {
|
|
7659
7659
|
try {
|
|
7660
|
-
const { LspClientManager } = await import("./manager-
|
|
7660
|
+
const { LspClientManager } = await import("./manager-UK5TEREN.js");
|
|
7661
7661
|
const manager = LspClientManager.getInstance();
|
|
7662
7662
|
const symbols = await manager.documentSymbol(fullFilePath, getCwd());
|
|
7663
7663
|
if (!symbols || symbols.length === 0) {
|
|
@@ -8225,7 +8225,7 @@ var GlobTool = {
|
|
|
8225
8225
|
let files = raw.map((p) => isAbsolute7(p) ? p : join5(searchPath, p));
|
|
8226
8226
|
if (semantic) {
|
|
8227
8227
|
try {
|
|
8228
|
-
const { LspClientManager } = await import("./manager-
|
|
8228
|
+
const { LspClientManager } = await import("./manager-UK5TEREN.js");
|
|
8229
8229
|
const symbols = await LspClientManager.getInstance().workspaceSymbol(pattern, searchPath);
|
|
8230
8230
|
const semanticFiles = symbols.map((s) => {
|
|
8231
8231
|
let filePath = s.location?.uri || "";
|
|
@@ -8537,7 +8537,7 @@ ${result.filenames.join("\n")}`;
|
|
|
8537
8537
|
});
|
|
8538
8538
|
if (lines.length === 0 && semantic) {
|
|
8539
8539
|
try {
|
|
8540
|
-
const { LspClientManager } = await import("./manager-
|
|
8540
|
+
const { LspClientManager } = await import("./manager-UK5TEREN.js");
|
|
8541
8541
|
const symbols = await LspClientManager.getInstance().workspaceSymbol(String(pattern));
|
|
8542
8542
|
let filtered = symbols;
|
|
8543
8543
|
const symbolType = symbol_type;
|
|
@@ -11360,7 +11360,7 @@ async function createAndStoreApiKey(accessToken) {
|
|
|
11360
11360
|
}
|
|
11361
11361
|
saveGlobalConfig(config2);
|
|
11362
11362
|
try {
|
|
11363
|
-
const { resetAnthropicClient } = await import("./llm-
|
|
11363
|
+
const { resetAnthropicClient } = await import("./llm-CGDOSTGR.js");
|
|
11364
11364
|
resetAnthropicClient();
|
|
11365
11365
|
} catch {
|
|
11366
11366
|
}
|
|
@@ -15642,7 +15642,7 @@ async function refreshPluginRuntimeFromInstalls() {
|
|
|
15642
15642
|
const existingRoots = getSessionPlugins().map((p) => p.rootDir);
|
|
15643
15643
|
const dirs = Array.from(/* @__PURE__ */ new Set([...existingRoots, ...installedRoots]));
|
|
15644
15644
|
if (dirs.length === 0) return [];
|
|
15645
|
-
const { configureSessionPlugins } = await import("./pluginRuntime-
|
|
15645
|
+
const { configureSessionPlugins } = await import("./pluginRuntime-4GQ5X6NW.js");
|
|
15646
15646
|
const { errors } = await configureSessionPlugins({ pluginDirs: dirs });
|
|
15647
15647
|
return errors;
|
|
15648
15648
|
}
|
|
@@ -16311,7 +16311,7 @@ async function call(onDone, context) {
|
|
|
16311
16311
|
ModelConfig,
|
|
16312
16312
|
{
|
|
16313
16313
|
onClose: () => {
|
|
16314
|
-
import("./model-
|
|
16314
|
+
import("./model-UBVT2YA3.js").then(({ reloadModelManager: reloadModelManager2 }) => {
|
|
16315
16315
|
reloadModelManager2();
|
|
16316
16316
|
triggerModelConfigChange();
|
|
16317
16317
|
onDone();
|
|
@@ -23570,7 +23570,7 @@ function useStatusLine() {
|
|
|
23570
23570
|
// src/ui/components/PromptInput.tsx
|
|
23571
23571
|
async function interpretHashCommand(input) {
|
|
23572
23572
|
try {
|
|
23573
|
-
const { queryQuick: queryQuick2 } = await import("./llm-
|
|
23573
|
+
const { queryQuick: queryQuick2 } = await import("./llm-CGDOSTGR.js");
|
|
23574
23574
|
const systemPrompt = [
|
|
23575
23575
|
"You're helping the user structure notes that will be added to their PYB.md file.",
|
|
23576
23576
|
"Format the user's input into a well-structured note that will be useful for later reference.",
|
|
@@ -23883,7 +23883,7 @@ function PromptInput({
|
|
|
23883
23883
|
if (messages2.length) {
|
|
23884
23884
|
if (mode === "bash") {
|
|
23885
23885
|
onQuery(messages2, newAbortController).then(async () => {
|
|
23886
|
-
const { getCwd: getCwd2 } = await import("./state-
|
|
23886
|
+
const { getCwd: getCwd2 } = await import("./state-BNESSPEK.js");
|
|
23887
23887
|
setCurrentPwd(getCwd2());
|
|
23888
23888
|
});
|
|
23889
23889
|
} else {
|
|
@@ -26669,7 +26669,7 @@ import { homedir as homedir7 } from "os";
|
|
|
26669
26669
|
// src/commands/agents/generation.ts
|
|
26670
26670
|
import { randomUUID as randomUUID5 } from "crypto";
|
|
26671
26671
|
async function generateAgentWithClaude(prompt) {
|
|
26672
|
-
const { queryModel } = await import("./llm-
|
|
26672
|
+
const { queryModel } = await import("./llm-CGDOSTGR.js");
|
|
26673
26673
|
const systemPrompt = `You are an expert at creating AI agent configurations. Based on the user's description, generate a specialized agent configuration.
|
|
26674
26674
|
|
|
26675
26675
|
Return your response as a JSON object with exactly these fields:
|