pybao-cli 1.4.62 → 1.4.63
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-VVHH2KM2.js +46 -0
- package/dist/{acp-4NYI6JJF.js → acp-5QDBNRRE.js} +29 -29
- package/dist/{agentsValidate-LYXNTHHB.js → agentsValidate-B367IG6U.js} +7 -7
- package/dist/{ask-3KUPARP2.js → ask-3CPXGOLO.js} +28 -28
- package/dist/{autoUpdater-5XZ6744S.js → autoUpdater-35UXWLT6.js} +3 -3
- package/dist/{chunk-6CTJEKOL.js → chunk-26XVUVWY.js} +3 -3
- package/dist/{chunk-R2IRQSJC.js → chunk-32Q7FT7L.js} +1 -1
- package/dist/{chunk-KYZ3A4WN.js → chunk-54AMRMDD.js} +3 -3
- package/dist/{chunk-KIQXQLEB.js → chunk-575TOTN2.js} +4 -4
- package/dist/{chunk-RDRKGYMZ.js → chunk-5SKQV673.js} +2 -2
- package/dist/{chunk-CK2T76JI.js → chunk-AT4J7MOM.js} +4 -4
- package/dist/{chunk-FJJ6KZ7M.js → chunk-COUDVAGK.js} +3 -3
- package/dist/{chunk-DCVGTJDI.js → chunk-CV67HJEB.js} +4 -4
- package/dist/{chunk-XMP3P7UJ.js → chunk-DGRO3L2U.js} +1 -1
- package/dist/{chunk-NRSUWZK4.js → chunk-EGHZGCL6.js} +3 -3
- package/dist/{chunk-3FXENPA3.js → chunk-EKFYPTGN.js} +3 -3
- package/dist/{chunk-WQTG6HED.js → chunk-ELMOCWI7.js} +35 -35
- package/dist/{chunk-RA5TQSRT.js → chunk-G4UKRVHC.js} +1 -1
- package/dist/{chunk-2YZZWT47.js → chunk-GCJ4WAVU.js} +3 -3
- package/dist/{chunk-5NB4DS5W.js → chunk-HT2QSRG6.js} +1 -1
- package/dist/{chunk-ZUNHKV45.js → chunk-J3JUMIML.js} +2 -2
- package/dist/{chunk-ZUR27DFA.js → chunk-JHXV6Q6F.js} +1 -1
- package/dist/{chunk-5DB2HLP3.js → chunk-JMV4MDYP.js} +17 -17
- package/dist/{chunk-5DB2HLP3.js.map → chunk-JMV4MDYP.js.map} +1 -1
- package/dist/{chunk-TNESUQAU.js → chunk-K3MMFNWK.js} +1 -1
- package/dist/{chunk-TNESUQAU.js.map → chunk-K3MMFNWK.js.map} +1 -1
- package/dist/{chunk-GM5ZJ7DT.js → chunk-MHTCXNXA.js} +1 -1
- package/dist/{chunk-LMLII7Q2.js → chunk-MINE35O7.js} +1 -1
- package/dist/{chunk-XFYI2VDM.js → chunk-MU6B2VQ4.js} +2 -2
- package/dist/{chunk-4HE4XCHW.js → chunk-O35VWHXM.js} +4 -4
- package/dist/{chunk-ZJIUQ235.js → chunk-S3NCVAKW.js} +2 -2
- package/dist/{chunk-FPUIG2DR.js → chunk-U5DK6DKX.js} +1 -1
- package/dist/{chunk-S5EJ7KCA.js → chunk-UTOIHV4R.js} +2 -2
- package/dist/{chunk-MDKDC5II.js → chunk-V34SLB5U.js} +2 -2
- package/dist/{chunk-3EZMZ34Z.js → chunk-VTL4JKRR.js} +1 -1
- package/dist/{chunk-XGSY4SPL.js → chunk-XKDUG5NH.js} +3 -3
- package/dist/{chunk-ULOTS5TZ.js → chunk-YNQF2C25.js} +2 -2
- package/dist/{cli-L7NI3IOT.js → cli-I6IZLYZL.js} +87 -87
- package/dist/commands-MYVU5L6Z.js +50 -0
- package/dist/{config-ZNO3N5FZ.js → config-6YHGZWHJ.js} +4 -4
- package/dist/{context-VDFTROLV.js → context-CKDOG72T.js} +6 -6
- package/dist/{customCommands-FKJZ22HA.js → customCommands-6AKUHGFZ.js} +4 -4
- package/dist/{env-O6PWUAXR.js → env-YLAC6QCC.js} +2 -2
- package/dist/{file-KPRV3JOY.js → file-QUKVDIUZ.js} +4 -4
- package/dist/index.js +3 -3
- package/dist/{llm-B56E7A3E.js → llm-Y7Q634YT.js} +29 -29
- package/dist/{llmLazy-PLNA2YEW.js → llmLazy-IGTRWGRN.js} +1 -1
- package/dist/{loader-JZCFB2Z4.js → loader-5M2R3M2D.js} +4 -4
- package/dist/{lsp-LRWY5O2G.js → lsp-QIOSQUNB.js} +6 -6
- package/dist/{lspAnchor-7TGKJJ7D.js → lspAnchor-R66G3QH6.js} +6 -6
- package/dist/{mcp-SMNK5RS5.js → mcp-LDR2HGAG.js} +7 -7
- package/dist/{mentionProcessor-634SMOOJ.js → mentionProcessor-ZTUWMWSM.js} +5 -5
- package/dist/{messages-FB4NUTHM.js → messages-CUXTZ7R4.js} +1 -1
- package/dist/{model-WH2Q6UZJ.js → model-NX4M2CNS.js} +5 -5
- package/dist/{openai-BV6QP4OA.js → openai-UXLA5ELC.js} +5 -5
- package/dist/{outputStyles-C6H6SVSA.js → outputStyles-HPVGQS3R.js} +4 -4
- package/dist/{pluginRuntime-IRKARA7H.js → pluginRuntime-DPSLKXM4.js} +6 -6
- package/dist/{pluginValidation-MVWDIOU3.js → pluginValidation-DDTUIJZA.js} +6 -6
- package/dist/prompts-33SUBTAU.js +52 -0
- package/dist/{pybAgentSessionLoad-O2UIG72F.js → pybAgentSessionLoad-ONZSDTU4.js} +4 -4
- package/dist/{pybAgentSessionResume-HVLEWJDM.js → pybAgentSessionResume-3EOMMP23.js} +4 -4
- package/dist/{pybAgentStreamJsonSession-HJZ5DSEI.js → pybAgentStreamJsonSession-QHFHCC2H.js} +1 -1
- package/dist/{pybHooks-POMLIKQB.js → pybHooks-5QNPMWGV.js} +4 -4
- package/dist/query-B3OWD6AW.js +54 -0
- package/dist/{registry-ODXCQP6E.js → registry-HHOZIHLX.js} +5 -5
- package/dist/{ripgrep-AQ7RJ4L2.js → ripgrep-RZRBKALT.js} +3 -3
- package/dist/{skillMarketplace-WY7FEZKV.js → skillMarketplace-76KSG4RM.js} +3 -3
- package/dist/{state-2EUXD6CF.js → state-2FQS3U4Y.js} +2 -2
- package/dist/{theme-6HMN6U2N.js → theme-XPR5FD3R.js} +5 -5
- package/dist/{toolPermissionSettings-NDOV3POK.js → toolPermissionSettings-QJMDUL2C.js} +6 -6
- package/dist/tools-MB5YZ2II.js +51 -0
- package/dist/{userInput-OJ72YG7A.js → userInput-SFXIUTPN.js} +30 -30
- package/package.json +1 -1
- package/dist/REPL-ATADQWNN.js +0 -46
- package/dist/commands-TMYYMQUF.js +0 -50
- package/dist/prompts-VHQWDKSG.js +0 -52
- package/dist/query-2MIHVE7W.js +0 -54
- package/dist/tools-FVYTYAGD.js +0 -51
- /package/dist/{REPL-ATADQWNN.js.map → REPL-VVHH2KM2.js.map} +0 -0
- /package/dist/{acp-4NYI6JJF.js.map → acp-5QDBNRRE.js.map} +0 -0
- /package/dist/{agentsValidate-LYXNTHHB.js.map → agentsValidate-B367IG6U.js.map} +0 -0
- /package/dist/{ask-3KUPARP2.js.map → ask-3CPXGOLO.js.map} +0 -0
- /package/dist/{autoUpdater-5XZ6744S.js.map → autoUpdater-35UXWLT6.js.map} +0 -0
- /package/dist/{chunk-6CTJEKOL.js.map → chunk-26XVUVWY.js.map} +0 -0
- /package/dist/{chunk-R2IRQSJC.js.map → chunk-32Q7FT7L.js.map} +0 -0
- /package/dist/{chunk-KYZ3A4WN.js.map → chunk-54AMRMDD.js.map} +0 -0
- /package/dist/{chunk-KIQXQLEB.js.map → chunk-575TOTN2.js.map} +0 -0
- /package/dist/{chunk-RDRKGYMZ.js.map → chunk-5SKQV673.js.map} +0 -0
- /package/dist/{chunk-CK2T76JI.js.map → chunk-AT4J7MOM.js.map} +0 -0
- /package/dist/{chunk-FJJ6KZ7M.js.map → chunk-COUDVAGK.js.map} +0 -0
- /package/dist/{chunk-DCVGTJDI.js.map → chunk-CV67HJEB.js.map} +0 -0
- /package/dist/{chunk-XMP3P7UJ.js.map → chunk-DGRO3L2U.js.map} +0 -0
- /package/dist/{chunk-NRSUWZK4.js.map → chunk-EGHZGCL6.js.map} +0 -0
- /package/dist/{chunk-3FXENPA3.js.map → chunk-EKFYPTGN.js.map} +0 -0
- /package/dist/{chunk-WQTG6HED.js.map → chunk-ELMOCWI7.js.map} +0 -0
- /package/dist/{chunk-RA5TQSRT.js.map → chunk-G4UKRVHC.js.map} +0 -0
- /package/dist/{chunk-2YZZWT47.js.map → chunk-GCJ4WAVU.js.map} +0 -0
- /package/dist/{chunk-5NB4DS5W.js.map → chunk-HT2QSRG6.js.map} +0 -0
- /package/dist/{chunk-ZUNHKV45.js.map → chunk-J3JUMIML.js.map} +0 -0
- /package/dist/{chunk-ZUR27DFA.js.map → chunk-JHXV6Q6F.js.map} +0 -0
- /package/dist/{chunk-GM5ZJ7DT.js.map → chunk-MHTCXNXA.js.map} +0 -0
- /package/dist/{chunk-LMLII7Q2.js.map → chunk-MINE35O7.js.map} +0 -0
- /package/dist/{chunk-XFYI2VDM.js.map → chunk-MU6B2VQ4.js.map} +0 -0
- /package/dist/{chunk-4HE4XCHW.js.map → chunk-O35VWHXM.js.map} +0 -0
- /package/dist/{chunk-ZJIUQ235.js.map → chunk-S3NCVAKW.js.map} +0 -0
- /package/dist/{chunk-FPUIG2DR.js.map → chunk-U5DK6DKX.js.map} +0 -0
- /package/dist/{chunk-S5EJ7KCA.js.map → chunk-UTOIHV4R.js.map} +0 -0
- /package/dist/{chunk-MDKDC5II.js.map → chunk-V34SLB5U.js.map} +0 -0
- /package/dist/{chunk-3EZMZ34Z.js.map → chunk-VTL4JKRR.js.map} +0 -0
- /package/dist/{chunk-XGSY4SPL.js.map → chunk-XKDUG5NH.js.map} +0 -0
- /package/dist/{chunk-ULOTS5TZ.js.map → chunk-YNQF2C25.js.map} +0 -0
- /package/dist/{cli-L7NI3IOT.js.map → cli-I6IZLYZL.js.map} +0 -0
- /package/dist/{commands-TMYYMQUF.js.map → commands-MYVU5L6Z.js.map} +0 -0
- /package/dist/{config-ZNO3N5FZ.js.map → config-6YHGZWHJ.js.map} +0 -0
- /package/dist/{context-VDFTROLV.js.map → context-CKDOG72T.js.map} +0 -0
- /package/dist/{customCommands-FKJZ22HA.js.map → customCommands-6AKUHGFZ.js.map} +0 -0
- /package/dist/{env-O6PWUAXR.js.map → env-YLAC6QCC.js.map} +0 -0
- /package/dist/{file-KPRV3JOY.js.map → file-QUKVDIUZ.js.map} +0 -0
- /package/dist/{llm-B56E7A3E.js.map → llm-Y7Q634YT.js.map} +0 -0
- /package/dist/{llmLazy-PLNA2YEW.js.map → llmLazy-IGTRWGRN.js.map} +0 -0
- /package/dist/{loader-JZCFB2Z4.js.map → loader-5M2R3M2D.js.map} +0 -0
- /package/dist/{lsp-LRWY5O2G.js.map → lsp-QIOSQUNB.js.map} +0 -0
- /package/dist/{lspAnchor-7TGKJJ7D.js.map → lspAnchor-R66G3QH6.js.map} +0 -0
- /package/dist/{mcp-SMNK5RS5.js.map → mcp-LDR2HGAG.js.map} +0 -0
- /package/dist/{mentionProcessor-634SMOOJ.js.map → mentionProcessor-ZTUWMWSM.js.map} +0 -0
- /package/dist/{messages-FB4NUTHM.js.map → messages-CUXTZ7R4.js.map} +0 -0
- /package/dist/{model-WH2Q6UZJ.js.map → model-NX4M2CNS.js.map} +0 -0
- /package/dist/{openai-BV6QP4OA.js.map → openai-UXLA5ELC.js.map} +0 -0
- /package/dist/{outputStyles-C6H6SVSA.js.map → outputStyles-HPVGQS3R.js.map} +0 -0
- /package/dist/{pluginRuntime-IRKARA7H.js.map → pluginRuntime-DPSLKXM4.js.map} +0 -0
- /package/dist/{pluginValidation-MVWDIOU3.js.map → pluginValidation-DDTUIJZA.js.map} +0 -0
- /package/dist/{prompts-VHQWDKSG.js.map → prompts-33SUBTAU.js.map} +0 -0
- /package/dist/{pybAgentSessionLoad-O2UIG72F.js.map → pybAgentSessionLoad-ONZSDTU4.js.map} +0 -0
- /package/dist/{pybAgentSessionResume-HVLEWJDM.js.map → pybAgentSessionResume-3EOMMP23.js.map} +0 -0
- /package/dist/{pybAgentStreamJsonSession-HJZ5DSEI.js.map → pybAgentStreamJsonSession-QHFHCC2H.js.map} +0 -0
- /package/dist/{pybHooks-POMLIKQB.js.map → pybHooks-5QNPMWGV.js.map} +0 -0
- /package/dist/{query-2MIHVE7W.js.map → query-B3OWD6AW.js.map} +0 -0
- /package/dist/{registry-ODXCQP6E.js.map → registry-HHOZIHLX.js.map} +0 -0
- /package/dist/{ripgrep-AQ7RJ4L2.js.map → ripgrep-RZRBKALT.js.map} +0 -0
- /package/dist/{skillMarketplace-WY7FEZKV.js.map → skillMarketplace-76KSG4RM.js.map} +0 -0
- /package/dist/{state-2EUXD6CF.js.map → state-2FQS3U4Y.js.map} +0 -0
- /package/dist/{theme-6HMN6U2N.js.map → theme-XPR5FD3R.js.map} +0 -0
- /package/dist/{toolPermissionSettings-NDOV3POK.js.map → toolPermissionSettings-QJMDUL2C.js.map} +0 -0
- /package/dist/{tools-FVYTYAGD.js.map → tools-MB5YZ2II.js.map} +0 -0
- /package/dist/{userInput-OJ72YG7A.js.map → userInput-SFXIUTPN.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-EGHZGCL6.js";
|
|
7
7
|
import {
|
|
8
8
|
loadPybAgentSessionMessages
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-32Q7FT7L.js";
|
|
10
10
|
import {
|
|
11
11
|
listPybAgentSessions
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-MHTCXNXA.js";
|
|
13
13
|
import {
|
|
14
14
|
appendSessionCustomTitleRecord,
|
|
15
15
|
appendSessionJsonlFromMessage,
|
|
16
16
|
appendSessionTagRecord
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-5SKQV673.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-XKDUG5NH.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-V34SLB5U.js";
|
|
39
39
|
import {
|
|
40
40
|
fetchCustomModels,
|
|
41
41
|
getModelFeatures,
|
|
42
42
|
getSessionState
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-S3NCVAKW.js";
|
|
44
44
|
import {
|
|
45
45
|
queryLLM,
|
|
46
46
|
queryQuick,
|
|
47
47
|
verifyApiKey
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-575TOTN2.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-O35VWHXM.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-MINE35O7.js";
|
|
76
76
|
import {
|
|
77
77
|
loadToolPermissionContextFromDisk,
|
|
78
78
|
persistToolPermissionUpdateToDisk
|
|
79
|
-
} from "./chunk-
|
|
79
|
+
} from "./chunk-COUDVAGK.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-MU6B2VQ4.js";
|
|
91
91
|
import {
|
|
92
92
|
clearAgentCache,
|
|
93
93
|
getActiveAgents,
|
|
94
94
|
getAgentByType,
|
|
95
95
|
getAllAgents
|
|
96
|
-
} from "./chunk-
|
|
96
|
+
} from "./chunk-YNQF2C25.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-HT2QSRG6.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-UTOIHV4R.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-CV67HJEB.js";
|
|
168
168
|
import {
|
|
169
169
|
getSettingsFileCandidates,
|
|
170
170
|
loadSettingsWithLegacyFallback,
|
|
171
171
|
readSettingsFile
|
|
172
|
-
} from "./chunk-
|
|
172
|
+
} from "./chunk-G4UKRVHC.js";
|
|
173
173
|
import {
|
|
174
174
|
getCustomCommandDirectories,
|
|
175
175
|
hasCustomCommands,
|
|
176
176
|
loadCustomCommands,
|
|
177
177
|
reloadCustomCommands
|
|
178
|
-
} from "./chunk-
|
|
178
|
+
} from "./chunk-J3JUMIML.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-26XVUVWY.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-AT4J7MOM.js";
|
|
195
195
|
import {
|
|
196
196
|
ripGrep
|
|
197
|
-
} from "./chunk-
|
|
197
|
+
} from "./chunk-DGRO3L2U.js";
|
|
198
198
|
import {
|
|
199
199
|
getTheme
|
|
200
|
-
} from "./chunk-
|
|
200
|
+
} from "./chunk-U5DK6DKX.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-54AMRMDD.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-JHXV6Q6F.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-VTL4JKRR.js";
|
|
264
264
|
import {
|
|
265
265
|
MACRO
|
|
266
|
-
} from "./chunk-
|
|
266
|
+
} from "./chunk-K3MMFNWK.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-Y7Q634YT.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-Y7Q634YT.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-R66G3QH6.js");
|
|
6647
6647
|
for (const op of editOperations) {
|
|
6648
6648
|
const normalizedSearch = normalizeLineEndings(op.search);
|
|
6649
6649
|
const normalizedReplace = normalizeLineEndings(op.replace);
|
|
@@ -11278,7 +11278,7 @@ async function createAndStoreApiKey(accessToken) {
|
|
|
11278
11278
|
}
|
|
11279
11279
|
saveGlobalConfig(config2);
|
|
11280
11280
|
try {
|
|
11281
|
-
const { resetAnthropicClient } = await import("./llm-
|
|
11281
|
+
const { resetAnthropicClient } = await import("./llm-Y7Q634YT.js");
|
|
11282
11282
|
resetAnthropicClient();
|
|
11283
11283
|
} catch {
|
|
11284
11284
|
}
|
|
@@ -15645,7 +15645,7 @@ async function refreshPluginRuntimeFromInstalls() {
|
|
|
15645
15645
|
const existingRoots = getSessionPlugins().map((p) => p.rootDir);
|
|
15646
15646
|
const dirs = Array.from(/* @__PURE__ */ new Set([...existingRoots, ...installedRoots]));
|
|
15647
15647
|
if (dirs.length === 0) return [];
|
|
15648
|
-
const { configureSessionPlugins } = await import("./pluginRuntime-
|
|
15648
|
+
const { configureSessionPlugins } = await import("./pluginRuntime-DPSLKXM4.js");
|
|
15649
15649
|
const { errors } = await configureSessionPlugins({ pluginDirs: dirs });
|
|
15650
15650
|
return errors;
|
|
15651
15651
|
}
|
|
@@ -16314,7 +16314,7 @@ async function call(onDone, context) {
|
|
|
16314
16314
|
ModelConfig,
|
|
16315
16315
|
{
|
|
16316
16316
|
onClose: () => {
|
|
16317
|
-
import("./model-
|
|
16317
|
+
import("./model-NX4M2CNS.js").then(({ reloadModelManager: reloadModelManager2 }) => {
|
|
16318
16318
|
reloadModelManager2();
|
|
16319
16319
|
triggerModelConfigChange();
|
|
16320
16320
|
onDone();
|
|
@@ -25194,7 +25194,7 @@ function useStatusLine() {
|
|
|
25194
25194
|
// src/ui/components/PromptInput.tsx
|
|
25195
25195
|
async function interpretHashCommand(input) {
|
|
25196
25196
|
try {
|
|
25197
|
-
const { queryQuick: queryQuick2 } = await import("./llm-
|
|
25197
|
+
const { queryQuick: queryQuick2 } = await import("./llm-Y7Q634YT.js");
|
|
25198
25198
|
const systemPrompt = [
|
|
25199
25199
|
"You're helping the user structure notes that will be added to their PYB.md file.",
|
|
25200
25200
|
"Format the user's input into a well-structured note that will be useful for later reference.",
|
|
@@ -25553,7 +25553,7 @@ function PromptInput({
|
|
|
25553
25553
|
if (messages2.length) {
|
|
25554
25554
|
if (mode === "bash") {
|
|
25555
25555
|
onQuery(messages2, newAbortController).then(async () => {
|
|
25556
|
-
const { getCwd: getCwd2 } = await import("./state-
|
|
25556
|
+
const { getCwd: getCwd2 } = await import("./state-2FQS3U4Y.js");
|
|
25557
25557
|
setCurrentPwd(getCwd2());
|
|
25558
25558
|
});
|
|
25559
25559
|
} else {
|
|
@@ -28970,7 +28970,7 @@ import { homedir as homedir8 } from "os";
|
|
|
28970
28970
|
// src/commands/agents/generation.ts
|
|
28971
28971
|
import { randomUUID as randomUUID7 } from "crypto";
|
|
28972
28972
|
async function generateAgentWithClaude(prompt) {
|
|
28973
|
-
const { queryModel } = await import("./llm-
|
|
28973
|
+
const { queryModel } = await import("./llm-Y7Q634YT.js");
|
|
28974
28974
|
const systemPrompt = `You are an expert at creating AI agent configurations. Based on the user's description, generate a specialized agent configuration.
|
|
28975
28975
|
|
|
28976
28976
|
Return your response as a JSON object with exactly these fields:
|
|
@@ -2,15 +2,15 @@ import { createRequire as __pybCreateRequire } from "node:module";
|
|
|
2
2
|
const require = __pybCreateRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
loadSettingsWithLegacyFallback
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-G4UKRVHC.js";
|
|
6
6
|
import {
|
|
7
7
|
debug
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-JHXV6Q6F.js";
|
|
9
9
|
import {
|
|
10
10
|
env,
|
|
11
11
|
getSessionRoot,
|
|
12
12
|
resolveXdgDataPath
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-VTL4JKRR.js";
|
|
14
14
|
import {
|
|
15
15
|
__require
|
|
16
16
|
} from "./chunk-I3J4JYES.js";
|
|
@@ -463,7 +463,7 @@ function getLastAssistantMessageId(messages) {
|
|
|
463
463
|
|
|
464
464
|
// src/utils/messages/index.ts
|
|
465
465
|
async function processUserInput(input, mode, setToolJSX, context, pastedImages) {
|
|
466
|
-
const impl = await import("./userInput-
|
|
466
|
+
const impl = await import("./userInput-SFXIUTPN.js");
|
|
467
467
|
return impl.processUserInput(input, mode, setToolJSX, context, pastedImages);
|
|
468
468
|
}
|
|
469
469
|
|
|
@@ -5,12 +5,12 @@ import {
|
|
|
5
5
|
} from "./chunk-BJSWTHRM.js";
|
|
6
6
|
import {
|
|
7
7
|
debug
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-JHXV6Q6F.js";
|
|
9
9
|
import {
|
|
10
10
|
getCwd,
|
|
11
11
|
logError,
|
|
12
12
|
resolveXdgDataPath
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-VTL4JKRR.js";
|
|
14
14
|
|
|
15
15
|
// src/services/plugins/customCommands.ts
|
|
16
16
|
import { existsSync, readFileSync, readdirSync, statSync } from "fs";
|
|
@@ -35,57 +35,57 @@ import {
|
|
|
35
35
|
runWithTaskListEnv,
|
|
36
36
|
runWithTaskListId,
|
|
37
37
|
updateTask
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-ELMOCWI7.js";
|
|
39
39
|
import {
|
|
40
40
|
queryLLM
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-575TOTN2.js";
|
|
42
42
|
import {
|
|
43
43
|
FallbackToolUseRejectedMessage,
|
|
44
44
|
MCPTool,
|
|
45
45
|
getClients,
|
|
46
46
|
getMCPTools
|
|
47
|
-
} from "./chunk-
|
|
47
|
+
} from "./chunk-O35VWHXM.js";
|
|
48
48
|
import {
|
|
49
49
|
emitReminderEvent
|
|
50
|
-
} from "./chunk-
|
|
50
|
+
} from "./chunk-MU6B2VQ4.js";
|
|
51
51
|
import {
|
|
52
52
|
getActiveAgents,
|
|
53
53
|
getAgentByType,
|
|
54
54
|
getAvailableAgentTypes
|
|
55
|
-
} from "./chunk-
|
|
55
|
+
} from "./chunk-YNQF2C25.js";
|
|
56
56
|
import {
|
|
57
57
|
INTERRUPT_MESSAGE,
|
|
58
58
|
createAssistantMessage,
|
|
59
59
|
createUserMessage,
|
|
60
60
|
getLastAssistantMessageId
|
|
61
|
-
} from "./chunk-
|
|
61
|
+
} from "./chunk-HT2QSRG6.js";
|
|
62
62
|
import {
|
|
63
63
|
formatDuration,
|
|
64
64
|
formatNumber
|
|
65
65
|
} from "./chunk-OUXHGDLH.js";
|
|
66
66
|
import {
|
|
67
67
|
getAbsolutePath
|
|
68
|
-
} from "./chunk-
|
|
68
|
+
} from "./chunk-UTOIHV4R.js";
|
|
69
69
|
import {
|
|
70
70
|
LspFacade,
|
|
71
71
|
formatDiagnosticsPretty
|
|
72
|
-
} from "./chunk-
|
|
72
|
+
} from "./chunk-CV67HJEB.js";
|
|
73
73
|
import {
|
|
74
74
|
getModelManager
|
|
75
|
-
} from "./chunk-
|
|
75
|
+
} from "./chunk-26XVUVWY.js";
|
|
76
76
|
import {
|
|
77
77
|
getContext
|
|
78
|
-
} from "./chunk-
|
|
78
|
+
} from "./chunk-AT4J7MOM.js";
|
|
79
79
|
import {
|
|
80
80
|
filesToTree,
|
|
81
81
|
ripGrepWithStatus
|
|
82
|
-
} from "./chunk-
|
|
82
|
+
} from "./chunk-DGRO3L2U.js";
|
|
83
83
|
import {
|
|
84
84
|
getTheme
|
|
85
|
-
} from "./chunk-
|
|
85
|
+
} from "./chunk-U5DK6DKX.js";
|
|
86
86
|
import {
|
|
87
87
|
debug
|
|
88
|
-
} from "./chunk-
|
|
88
|
+
} from "./chunk-JHXV6Q6F.js";
|
|
89
89
|
import {
|
|
90
90
|
BunShell,
|
|
91
91
|
getCwd,
|
|
@@ -96,7 +96,7 @@ import {
|
|
|
96
96
|
overwriteLog,
|
|
97
97
|
readTaskOutput,
|
|
98
98
|
resolveXdgDataPath
|
|
99
|
-
} from "./chunk-
|
|
99
|
+
} from "./chunk-VTL4JKRR.js";
|
|
100
100
|
|
|
101
101
|
// src/tools/index.ts
|
|
102
102
|
import { memoize as memoize2 } from "lodash-es";
|
|
@@ -775,7 +775,7 @@ async function analyzeOutputWithLsp(output, exitCode) {
|
|
|
775
775
|
if (exitCode !== 0 || errorCount > 0 || warningCount > 0) {
|
|
776
776
|
try {
|
|
777
777
|
const { isAbsolute: isAbsolute3, resolve: resolve4 } = await import("path");
|
|
778
|
-
const { getSessionRoot: getSessionRoot2 } = await import("./state-
|
|
778
|
+
const { getSessionRoot: getSessionRoot2 } = await import("./state-2FQS3U4Y.js");
|
|
779
779
|
const lines = output.split("\n");
|
|
780
780
|
const uniqueFiles = /* @__PURE__ */ new Set();
|
|
781
781
|
const lspSuggestions = [];
|
|
@@ -1148,7 +1148,7 @@ var DeleteTool = {
|
|
|
1148
1148
|
}
|
|
1149
1149
|
if (!force) {
|
|
1150
1150
|
try {
|
|
1151
|
-
const { LspFacade: LspFacade2 } = await import("./lsp-
|
|
1151
|
+
const { LspFacade: LspFacade2 } = await import("./lsp-QIOSQUNB.js");
|
|
1152
1152
|
const referenceDetail = await LspFacade2.checkFileReferences(fullPath);
|
|
1153
1153
|
if (referenceDetail) {
|
|
1154
1154
|
failedItems.push(
|
|
@@ -3100,7 +3100,7 @@ Skip using this tool when:
|
|
|
3100
3100
|
|
|
3101
3101
|
1. There is only a single, straightforward task
|
|
3102
3102
|
2. The task is trivial and tracking it provides no organizational benefit
|
|
3103
|
-
3. The task can be completed in less than
|
|
3103
|
+
3. The task can be completed in less than 2 trivial steps
|
|
3104
3104
|
4. The task is purely conversational or informational
|
|
3105
3105
|
|
|
3106
3106
|
NOTE that you should not use this tool if you are only updating status or details of an existing task.
|