pybao-cli 1.5.0 → 1.5.2
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-WBTT5LR6.js +49 -0
- package/dist/{acp-SAL4EP5J.js → acp-DXLDM2M4.js} +30 -30
- package/dist/{agentsValidate-C6YKUGF7.js → agentsValidate-MBFWR6QL.js} +7 -7
- package/dist/{ask-HGYWJZS2.js → ask-F626S4ZT.js} +29 -29
- package/dist/{autoUpdater-KPHKCCCG.js → autoUpdater-DWURNXYL.js} +3 -3
- package/dist/{chunk-FYBZ3YQE.js → chunk-2JZ774IW.js} +4 -4
- package/dist/{chunk-Y36VNIZL.js → chunk-3YUADJU7.js} +2 -2
- package/dist/{chunk-I6OHRNKP.js → chunk-56EHVEXV.js} +1 -1
- package/dist/{chunk-3LJHZG66.js → chunk-5K6AFF6H.js} +2 -2
- package/dist/{chunk-3LNF2KW3.js → chunk-66I7VWVN.js} +1 -1
- package/dist/{chunk-3LNF2KW3.js.map → chunk-66I7VWVN.js.map} +1 -1
- package/dist/{chunk-QHIPHNA3.js → chunk-6UZZ4RXH.js} +1 -1
- package/dist/{chunk-C35G3PBK.js → chunk-AZ2D6YSU.js} +4 -4
- package/dist/{chunk-LOJMWCX3.js → chunk-BIJXNPMG.js} +1 -1
- package/dist/{chunk-IPFCYGNA.js → chunk-CTJBHXP7.js} +3 -3
- package/dist/{chunk-KGDEFE3J.js → chunk-D5CO64XN.js} +1 -1
- package/dist/{chunk-WAHZEY6D.js → chunk-DB3VA6G3.js} +1 -1
- package/dist/{chunk-WKC5WKYW.js → chunk-FHWWNYDB.js} +2 -2
- package/dist/{chunk-ZM3QKHBL.js → chunk-GCA65KUK.js} +3 -3
- package/dist/{chunk-KCFPJKWW.js → chunk-GTH2GLM2.js} +37 -37
- package/dist/{chunk-KCFPJKWW.js.map → chunk-GTH2GLM2.js.map} +1 -1
- package/dist/{chunk-VQDEUTRM.js → chunk-HIDCDFMI.js} +1 -1
- package/dist/{chunk-2ASJ2ZXT.js → chunk-HM57DLRI.js} +2 -2
- package/dist/{chunk-SWAY3K6C.js → chunk-J6MYGZQL.js} +17 -19
- package/dist/chunk-J6MYGZQL.js.map +7 -0
- package/dist/{chunk-3GHP4ZYL.js → chunk-K4VCVAYN.js} +3 -3
- package/dist/{chunk-XAAHVHOO.js → chunk-KNPYA7XB.js} +2 -2
- package/dist/{chunk-LFL6UX3A.js → chunk-NOEVDTYI.js} +4 -4
- package/dist/{chunk-7WOVOXMQ.js → chunk-PPCG7UIH.js} +1 -1
- package/dist/{chunk-XDZGNZH4.js → chunk-RAPAWNQM.js} +4 -4
- package/dist/{chunk-GIADXQL5.js → chunk-T5WL2NM6.js} +1 -1
- package/dist/{chunk-RQD4IK2S.js → chunk-TFOMEGLL.js} +2 -2
- package/dist/{chunk-NOBHSMZC.js → chunk-TSKSA2Y4.js} +3 -3
- package/dist/{chunk-6SKPT5PO.js → chunk-VC4UXX7K.js} +1 -1
- package/dist/{chunk-TIVWTFPO.js → chunk-W4GPV4TG.js} +3 -3
- package/dist/{chunk-3AOEQNVF.js → chunk-WVJF2KNA.js} +3 -3
- package/dist/{chunk-JE5NAHTD.js → chunk-XGHVVVMB.js} +2 -2
- package/dist/{chunk-OLROXGX5.js → chunk-Y6F7IDHE.js} +3 -3
- package/dist/{chunk-4VJCTBGJ.js → chunk-YEUCIHU6.js} +1 -1
- package/dist/{cli-GHECZSHS.js → cli-6D5EB2QO.js} +89 -89
- package/dist/commands-2DU75YYL.js +53 -0
- package/dist/{config-CTLYJJBD.js → config-EBRTHXNO.js} +4 -4
- package/dist/{context-E2QU37Y5.js → context-NGUOVGLI.js} +6 -6
- package/dist/{conversationTracker-U4OXNLGV.js → conversationTracker-RL4AR6AT.js} +3 -3
- package/dist/{customCommands-RQRKKSHO.js → customCommands-JBK5WMYM.js} +4 -4
- package/dist/{env-L2BPT5X6.js → env-7JK5WQ6D.js} +2 -2
- package/dist/{file-D2K7KAMP.js → file-4VUV6TU7.js} +4 -4
- package/dist/index.js +3 -3
- package/dist/{llm-BNSWKO5H.js → llm-FFB2I7QL.js} +30 -30
- package/dist/{llmLazy-4Q7PQTA7.js → llmLazy-TD2AWFEQ.js} +1 -1
- package/dist/{loader-YFCZ4BDY.js → loader-2K3HLM4L.js} +4 -4
- package/dist/{lsp-C22XTWJ2.js → lsp-B7KRNQHU.js} +6 -6
- package/dist/{lspAnchor-Q5HVYXDG.js → lspAnchor-YIYZHOHL.js} +6 -6
- package/dist/{mcp-G6F3HTBX.js → mcp-IC4WIZKM.js} +7 -7
- package/dist/{mentionProcessor-QFOV4EID.js → mentionProcessor-PER465QN.js} +5 -5
- package/dist/{messages-MJADVQLI.js → messages-LQ27CQTF.js} +1 -1
- package/dist/{model-EAGYR44H.js → model-XE7N4T23.js} +5 -5
- package/dist/{openai-QDVCKCWO.js → openai-STSXOBJK.js} +5 -5
- package/dist/{outputStyles-6VDI5PML.js → outputStyles-AHEDF77O.js} +4 -4
- package/dist/{pluginRuntime-LDS7EVLY.js → pluginRuntime-KO3VBNQ4.js} +6 -6
- package/dist/{pluginValidation-QLMPU2AY.js → pluginValidation-VY7XQ3NX.js} +6 -6
- package/dist/prompts-YJPKJBGM.js +55 -0
- package/dist/{pybAgentSessionLoad-VIRMSYB6.js → pybAgentSessionLoad-I5HNNX7P.js} +4 -4
- package/dist/{pybAgentSessionResume-N5ZNISL4.js → pybAgentSessionResume-7Q3BLWXA.js} +4 -4
- package/dist/{pybAgentStreamJsonSession-PC7IBPVT.js → pybAgentStreamJsonSession-7RVISZVF.js} +1 -1
- package/dist/{pybHooks-77BWG6PM.js → pybHooks-RVK7YU3J.js} +4 -4
- package/dist/query-QBYPG3GI.js +57 -0
- package/dist/{registry-4R56WZ2F.js → registry-ZQ2TH2OE.js} +5 -5
- package/dist/{ripgrep-JB5BUTEY.js → ripgrep-Y6W4QA3Q.js} +3 -3
- package/dist/{skillMarketplace-CLZ4AWZB.js → skillMarketplace-NWL6FBJV.js} +3 -3
- package/dist/{state-GHWTTEKJ.js → state-OHGUHJMH.js} +2 -2
- package/dist/{theme-JO4GZK2B.js → theme-S3ODCAZQ.js} +5 -5
- package/dist/{toolPermissionSettings-4PNGLWZU.js → toolPermissionSettings-7U6ZLOWH.js} +6 -6
- package/dist/tools-LW5HBTH3.js +54 -0
- package/dist/{userInput-FOKPASU4.js → userInput-RWBTW5QJ.js} +31 -31
- package/package.json +1 -1
- package/dist/REPL-XTWJQCGP.js +0 -49
- package/dist/chunk-SWAY3K6C.js.map +0 -7
- package/dist/commands-GBM4GBRX.js +0 -53
- package/dist/prompts-S5K332CK.js +0 -55
- package/dist/query-3C42H2KQ.js +0 -57
- package/dist/tools-VIPBGGMM.js +0 -54
- /package/dist/{REPL-XTWJQCGP.js.map → REPL-WBTT5LR6.js.map} +0 -0
- /package/dist/{acp-SAL4EP5J.js.map → acp-DXLDM2M4.js.map} +0 -0
- /package/dist/{agentsValidate-C6YKUGF7.js.map → agentsValidate-MBFWR6QL.js.map} +0 -0
- /package/dist/{ask-HGYWJZS2.js.map → ask-F626S4ZT.js.map} +0 -0
- /package/dist/{autoUpdater-KPHKCCCG.js.map → autoUpdater-DWURNXYL.js.map} +0 -0
- /package/dist/{chunk-FYBZ3YQE.js.map → chunk-2JZ774IW.js.map} +0 -0
- /package/dist/{chunk-Y36VNIZL.js.map → chunk-3YUADJU7.js.map} +0 -0
- /package/dist/{chunk-I6OHRNKP.js.map → chunk-56EHVEXV.js.map} +0 -0
- /package/dist/{chunk-3LJHZG66.js.map → chunk-5K6AFF6H.js.map} +0 -0
- /package/dist/{chunk-QHIPHNA3.js.map → chunk-6UZZ4RXH.js.map} +0 -0
- /package/dist/{chunk-C35G3PBK.js.map → chunk-AZ2D6YSU.js.map} +0 -0
- /package/dist/{chunk-LOJMWCX3.js.map → chunk-BIJXNPMG.js.map} +0 -0
- /package/dist/{chunk-IPFCYGNA.js.map → chunk-CTJBHXP7.js.map} +0 -0
- /package/dist/{chunk-KGDEFE3J.js.map → chunk-D5CO64XN.js.map} +0 -0
- /package/dist/{chunk-WAHZEY6D.js.map → chunk-DB3VA6G3.js.map} +0 -0
- /package/dist/{chunk-WKC5WKYW.js.map → chunk-FHWWNYDB.js.map} +0 -0
- /package/dist/{chunk-ZM3QKHBL.js.map → chunk-GCA65KUK.js.map} +0 -0
- /package/dist/{chunk-VQDEUTRM.js.map → chunk-HIDCDFMI.js.map} +0 -0
- /package/dist/{chunk-2ASJ2ZXT.js.map → chunk-HM57DLRI.js.map} +0 -0
- /package/dist/{chunk-3GHP4ZYL.js.map → chunk-K4VCVAYN.js.map} +0 -0
- /package/dist/{chunk-XAAHVHOO.js.map → chunk-KNPYA7XB.js.map} +0 -0
- /package/dist/{chunk-LFL6UX3A.js.map → chunk-NOEVDTYI.js.map} +0 -0
- /package/dist/{chunk-7WOVOXMQ.js.map → chunk-PPCG7UIH.js.map} +0 -0
- /package/dist/{chunk-XDZGNZH4.js.map → chunk-RAPAWNQM.js.map} +0 -0
- /package/dist/{chunk-GIADXQL5.js.map → chunk-T5WL2NM6.js.map} +0 -0
- /package/dist/{chunk-RQD4IK2S.js.map → chunk-TFOMEGLL.js.map} +0 -0
- /package/dist/{chunk-NOBHSMZC.js.map → chunk-TSKSA2Y4.js.map} +0 -0
- /package/dist/{chunk-6SKPT5PO.js.map → chunk-VC4UXX7K.js.map} +0 -0
- /package/dist/{chunk-TIVWTFPO.js.map → chunk-W4GPV4TG.js.map} +0 -0
- /package/dist/{chunk-3AOEQNVF.js.map → chunk-WVJF2KNA.js.map} +0 -0
- /package/dist/{chunk-JE5NAHTD.js.map → chunk-XGHVVVMB.js.map} +0 -0
- /package/dist/{chunk-OLROXGX5.js.map → chunk-Y6F7IDHE.js.map} +0 -0
- /package/dist/{chunk-4VJCTBGJ.js.map → chunk-YEUCIHU6.js.map} +0 -0
- /package/dist/{cli-GHECZSHS.js.map → cli-6D5EB2QO.js.map} +0 -0
- /package/dist/{commands-GBM4GBRX.js.map → commands-2DU75YYL.js.map} +0 -0
- /package/dist/{config-CTLYJJBD.js.map → config-EBRTHXNO.js.map} +0 -0
- /package/dist/{context-E2QU37Y5.js.map → context-NGUOVGLI.js.map} +0 -0
- /package/dist/{conversationTracker-U4OXNLGV.js.map → conversationTracker-RL4AR6AT.js.map} +0 -0
- /package/dist/{customCommands-RQRKKSHO.js.map → customCommands-JBK5WMYM.js.map} +0 -0
- /package/dist/{env-L2BPT5X6.js.map → env-7JK5WQ6D.js.map} +0 -0
- /package/dist/{file-D2K7KAMP.js.map → file-4VUV6TU7.js.map} +0 -0
- /package/dist/{llm-BNSWKO5H.js.map → llm-FFB2I7QL.js.map} +0 -0
- /package/dist/{llmLazy-4Q7PQTA7.js.map → llmLazy-TD2AWFEQ.js.map} +0 -0
- /package/dist/{loader-YFCZ4BDY.js.map → loader-2K3HLM4L.js.map} +0 -0
- /package/dist/{lsp-C22XTWJ2.js.map → lsp-B7KRNQHU.js.map} +0 -0
- /package/dist/{lspAnchor-Q5HVYXDG.js.map → lspAnchor-YIYZHOHL.js.map} +0 -0
- /package/dist/{mcp-G6F3HTBX.js.map → mcp-IC4WIZKM.js.map} +0 -0
- /package/dist/{mentionProcessor-QFOV4EID.js.map → mentionProcessor-PER465QN.js.map} +0 -0
- /package/dist/{messages-MJADVQLI.js.map → messages-LQ27CQTF.js.map} +0 -0
- /package/dist/{model-EAGYR44H.js.map → model-XE7N4T23.js.map} +0 -0
- /package/dist/{openai-QDVCKCWO.js.map → openai-STSXOBJK.js.map} +0 -0
- /package/dist/{outputStyles-6VDI5PML.js.map → outputStyles-AHEDF77O.js.map} +0 -0
- /package/dist/{pluginRuntime-LDS7EVLY.js.map → pluginRuntime-KO3VBNQ4.js.map} +0 -0
- /package/dist/{pluginValidation-QLMPU2AY.js.map → pluginValidation-VY7XQ3NX.js.map} +0 -0
- /package/dist/{prompts-S5K332CK.js.map → prompts-YJPKJBGM.js.map} +0 -0
- /package/dist/{pybAgentSessionLoad-VIRMSYB6.js.map → pybAgentSessionLoad-I5HNNX7P.js.map} +0 -0
- /package/dist/{pybAgentSessionResume-N5ZNISL4.js.map → pybAgentSessionResume-7Q3BLWXA.js.map} +0 -0
- /package/dist/{pybAgentStreamJsonSession-PC7IBPVT.js.map → pybAgentStreamJsonSession-7RVISZVF.js.map} +0 -0
- /package/dist/{pybHooks-77BWG6PM.js.map → pybHooks-RVK7YU3J.js.map} +0 -0
- /package/dist/{query-3C42H2KQ.js.map → query-QBYPG3GI.js.map} +0 -0
- /package/dist/{registry-4R56WZ2F.js.map → registry-ZQ2TH2OE.js.map} +0 -0
- /package/dist/{ripgrep-JB5BUTEY.js.map → ripgrep-Y6W4QA3Q.js.map} +0 -0
- /package/dist/{skillMarketplace-CLZ4AWZB.js.map → skillMarketplace-NWL6FBJV.js.map} +0 -0
- /package/dist/{state-GHWTTEKJ.js.map → state-OHGUHJMH.js.map} +0 -0
- /package/dist/{theme-JO4GZK2B.js.map → theme-S3ODCAZQ.js.map} +0 -0
- /package/dist/{toolPermissionSettings-4PNGLWZU.js.map → toolPermissionSettings-7U6ZLOWH.js.map} +0 -0
- /package/dist/{tools-VIPBGGMM.js.map → tools-LW5HBTH3.js.map} +0 -0
- /package/dist/{userInput-FOKPASU4.js.map → userInput-RWBTW5QJ.js.map} +0 -0
|
@@ -2,11 +2,11 @@ import { createRequire as __pybCreateRequire } from "node:module";
|
|
|
2
2
|
const require = __pybCreateRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
listPybAgentSessions
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-BIJXNPMG.js";
|
|
6
6
|
import {
|
|
7
7
|
formatValidationResult,
|
|
8
8
|
validatePluginOrMarketplacePath
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-WVJF2KNA.js";
|
|
10
10
|
import {
|
|
11
11
|
ConversationTracker,
|
|
12
12
|
appendFinishState,
|
|
@@ -14,18 +14,18 @@ import {
|
|
|
14
14
|
getConversationTrackerForContext,
|
|
15
15
|
isFinishComplete,
|
|
16
16
|
mapFinishReason
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-D5CO64XN.js";
|
|
18
18
|
import {
|
|
19
19
|
beginReplSessionScope
|
|
20
20
|
} from "./chunk-F4AXICO7.js";
|
|
21
21
|
import {
|
|
22
22
|
loadPybAgentSessionMessages
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-56EHVEXV.js";
|
|
24
24
|
import {
|
|
25
25
|
appendSessionCustomTitleRecord,
|
|
26
26
|
appendSessionJsonlFromMessage,
|
|
27
27
|
appendSessionTagRecord
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-3YUADJU7.js";
|
|
29
29
|
import {
|
|
30
30
|
drainHookSystemPromptAdditions,
|
|
31
31
|
getHookTranscriptPath,
|
|
@@ -37,7 +37,7 @@ import {
|
|
|
37
37
|
runStopHooks,
|
|
38
38
|
runUserPromptSubmitHooks,
|
|
39
39
|
updateHookTranscriptForMessages
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-GCA65KUK.js";
|
|
41
41
|
import {
|
|
42
42
|
DEFAULT_OUTPUT_STYLE,
|
|
43
43
|
getAvailableOutputStyles,
|
|
@@ -46,11 +46,11 @@ import {
|
|
|
46
46
|
getOutputStyleSystemPromptAdditions,
|
|
47
47
|
resolveOutputStyleName,
|
|
48
48
|
setCurrentOutputStyle
|
|
49
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-KNPYA7XB.js";
|
|
50
50
|
import {
|
|
51
51
|
fetchCustomModels,
|
|
52
52
|
getModelFeatures
|
|
53
|
-
} from "./chunk-
|
|
53
|
+
} from "./chunk-HM57DLRI.js";
|
|
54
54
|
import {
|
|
55
55
|
getSessionState
|
|
56
56
|
} from "./chunk-XKYHFZEC.js";
|
|
@@ -58,7 +58,7 @@ import {
|
|
|
58
58
|
queryLLM,
|
|
59
59
|
queryQuick,
|
|
60
60
|
verifyApiKey
|
|
61
|
-
} from "./chunk-
|
|
61
|
+
} from "./chunk-RAPAWNQM.js";
|
|
62
62
|
import {
|
|
63
63
|
DEFAULT_TIMEOUT_MS,
|
|
64
64
|
FallbackToolUseRejectedMessage,
|
|
@@ -72,7 +72,7 @@ import {
|
|
|
72
72
|
listMCPServers,
|
|
73
73
|
loadMergedSettings,
|
|
74
74
|
normalizeSandboxRuntimeConfigFromSettings
|
|
75
|
-
} from "./chunk-
|
|
75
|
+
} from "./chunk-2JZ774IW.js";
|
|
76
76
|
import {
|
|
77
77
|
addMarketplace,
|
|
78
78
|
disableSkillPlugin,
|
|
@@ -85,11 +85,11 @@ import {
|
|
|
85
85
|
refreshMarketplaceAsync,
|
|
86
86
|
removeMarketplace,
|
|
87
87
|
uninstallSkillPlugin
|
|
88
|
-
} from "./chunk-
|
|
88
|
+
} from "./chunk-6UZZ4RXH.js";
|
|
89
89
|
import {
|
|
90
90
|
loadToolPermissionContextFromDisk,
|
|
91
91
|
persistToolPermissionUpdateToDisk
|
|
92
|
-
} from "./chunk-
|
|
92
|
+
} from "./chunk-TSKSA2Y4.js";
|
|
93
93
|
import {
|
|
94
94
|
applyToolPermissionContextUpdate,
|
|
95
95
|
applyToolPermissionContextUpdates,
|
|
@@ -100,13 +100,13 @@ import {
|
|
|
100
100
|
generateSystemReminders,
|
|
101
101
|
resetReminderSession,
|
|
102
102
|
systemReminderService
|
|
103
|
-
} from "./chunk-
|
|
103
|
+
} from "./chunk-TFOMEGLL.js";
|
|
104
104
|
import {
|
|
105
105
|
clearAgentCache,
|
|
106
106
|
getActiveAgents,
|
|
107
107
|
getAgentByType,
|
|
108
108
|
getAllAgents
|
|
109
|
-
} from "./chunk-
|
|
109
|
+
} from "./chunk-FHWWNYDB.js";
|
|
110
110
|
import {
|
|
111
111
|
API_ERROR_MESSAGE_PREFIX,
|
|
112
112
|
CANCEL_MESSAGE,
|
|
@@ -137,7 +137,7 @@ import {
|
|
|
137
137
|
processUserInput,
|
|
138
138
|
reorderMessages,
|
|
139
139
|
stripSystemMessages
|
|
140
|
-
} from "./chunk-
|
|
140
|
+
} from "./chunk-DB3VA6G3.js";
|
|
141
141
|
import {
|
|
142
142
|
getRequestStatus,
|
|
143
143
|
setRequestStatus,
|
|
@@ -167,7 +167,7 @@ import {
|
|
|
167
167
|
normalizeFilePath,
|
|
168
168
|
readTextContent,
|
|
169
169
|
writeTextContent
|
|
170
|
-
} from "./chunk-
|
|
170
|
+
} from "./chunk-5K6AFF6H.js";
|
|
171
171
|
import {
|
|
172
172
|
parseBlockEdits
|
|
173
173
|
} from "./chunk-QWIBSCDN.js";
|
|
@@ -177,18 +177,18 @@ import {
|
|
|
177
177
|
ParserRegistry,
|
|
178
178
|
initParser,
|
|
179
179
|
loadLanguage
|
|
180
|
-
} from "./chunk-
|
|
180
|
+
} from "./chunk-NOEVDTYI.js";
|
|
181
181
|
import {
|
|
182
182
|
getSettingsFileCandidates,
|
|
183
183
|
loadSettingsWithLegacyFallback,
|
|
184
184
|
readSettingsFile
|
|
185
|
-
} from "./chunk-
|
|
185
|
+
} from "./chunk-VC4UXX7K.js";
|
|
186
186
|
import {
|
|
187
187
|
getCustomCommandDirectories,
|
|
188
188
|
hasCustomCommands,
|
|
189
189
|
loadCustomCommands,
|
|
190
190
|
reloadCustomCommands
|
|
191
|
-
} from "./chunk-
|
|
191
|
+
} from "./chunk-XGHVVVMB.js";
|
|
192
192
|
import {
|
|
193
193
|
getSessionPlugins
|
|
194
194
|
} from "./chunk-BJSWTHRM.js";
|
|
@@ -197,7 +197,7 @@ import {
|
|
|
197
197
|
buildModelProfileKey,
|
|
198
198
|
getModelManager,
|
|
199
199
|
isDefaultSlowAndCapableModel
|
|
200
|
-
} from "./chunk-
|
|
200
|
+
} from "./chunk-CTJBHXP7.js";
|
|
201
201
|
import {
|
|
202
202
|
getCodeStyle,
|
|
203
203
|
getContext,
|
|
@@ -205,16 +205,16 @@ import {
|
|
|
205
205
|
getIsGit,
|
|
206
206
|
getProjectDocs,
|
|
207
207
|
getProjectStructureStatisticsBlock
|
|
208
|
-
} from "./chunk-
|
|
208
|
+
} from "./chunk-AZ2D6YSU.js";
|
|
209
209
|
import {
|
|
210
210
|
getRipgrepPath,
|
|
211
211
|
getRipgrepPolicyMode,
|
|
212
212
|
resolveRipgrepPolicy,
|
|
213
213
|
ripGrep
|
|
214
|
-
} from "./chunk-
|
|
214
|
+
} from "./chunk-PPCG7UIH.js";
|
|
215
215
|
import {
|
|
216
216
|
getTheme
|
|
217
|
-
} from "./chunk-
|
|
217
|
+
} from "./chunk-HIDCDFMI.js";
|
|
218
218
|
import {
|
|
219
219
|
DEFAULT_GLOBAL_CONFIG,
|
|
220
220
|
enableConfigs,
|
|
@@ -227,7 +227,7 @@ import {
|
|
|
227
227
|
saveGlobalConfig,
|
|
228
228
|
setAllPointersToModel,
|
|
229
229
|
setModelPointer
|
|
230
|
-
} from "./chunk-
|
|
230
|
+
} from "./chunk-W4GPV4TG.js";
|
|
231
231
|
import {
|
|
232
232
|
AbortError
|
|
233
233
|
} from "./chunk-RQVLBMP7.js";
|
|
@@ -236,7 +236,7 @@ import {
|
|
|
236
236
|
getCurrentRequest,
|
|
237
237
|
logUserFriendly,
|
|
238
238
|
markPhase
|
|
239
|
-
} from "./chunk-
|
|
239
|
+
} from "./chunk-T5WL2NM6.js";
|
|
240
240
|
import {
|
|
241
241
|
ASCII_LOGO,
|
|
242
242
|
BunShell,
|
|
@@ -277,10 +277,10 @@ import {
|
|
|
277
277
|
setCwd,
|
|
278
278
|
shouldApplyToolOutputTruncation,
|
|
279
279
|
truncateToolOutput
|
|
280
|
-
} from "./chunk-
|
|
280
|
+
} from "./chunk-YEUCIHU6.js";
|
|
281
281
|
import {
|
|
282
282
|
MACRO
|
|
283
|
-
} from "./chunk-
|
|
283
|
+
} from "./chunk-66I7VWVN.js";
|
|
284
284
|
import {
|
|
285
285
|
__export
|
|
286
286
|
} from "./chunk-I3J4JYES.js";
|
|
@@ -461,7 +461,7 @@ var getCommandSubcommandPrefix = memoize(
|
|
|
461
461
|
var getCommandPrefix = memoize(
|
|
462
462
|
async (command4, abortSignal) => {
|
|
463
463
|
const { systemPrompt, userPrompt } = buildBashCommandPrefixDetectionPrompt(command4);
|
|
464
|
-
const { API_ERROR_MESSAGE_PREFIX: API_ERROR_MESSAGE_PREFIX2, queryQuick: queryQuick2 } = await import("./llm-
|
|
464
|
+
const { API_ERROR_MESSAGE_PREFIX: API_ERROR_MESSAGE_PREFIX2, queryQuick: queryQuick2 } = await import("./llm-FFB2I7QL.js");
|
|
465
465
|
const response = await queryQuick2({
|
|
466
466
|
systemPrompt,
|
|
467
467
|
userPrompt,
|
|
@@ -4263,7 +4263,7 @@ function formatParseError(error) {
|
|
|
4263
4263
|
return error instanceof Error ? error.message : String(error);
|
|
4264
4264
|
}
|
|
4265
4265
|
async function defaultGateQuery(args) {
|
|
4266
|
-
const { API_ERROR_MESSAGE_PREFIX: API_ERROR_MESSAGE_PREFIX2, queryLLM: queryLLM2 } = await import("./llm-
|
|
4266
|
+
const { API_ERROR_MESSAGE_PREFIX: API_ERROR_MESSAGE_PREFIX2, queryLLM: queryLLM2 } = await import("./llm-FFB2I7QL.js");
|
|
4267
4267
|
const queryLLMFn = args.queryLLMOverride ?? queryLLM2;
|
|
4268
4268
|
const messages = [
|
|
4269
4269
|
{
|
|
@@ -6624,7 +6624,7 @@ var FileEditTool = {
|
|
|
6624
6624
|
const originalFileContent = currentFileContent;
|
|
6625
6625
|
let totalPatch = [];
|
|
6626
6626
|
const { SmartEdit } = await import("./smart-edit-AWHJDSU6.js");
|
|
6627
|
-
const { findLspAnchor } = await import("./lspAnchor-
|
|
6627
|
+
const { findLspAnchor } = await import("./lspAnchor-YIYZHOHL.js");
|
|
6628
6628
|
for (const op of editOperations) {
|
|
6629
6629
|
const normalizedSearch = normalizeLineEndings(op.search);
|
|
6630
6630
|
const normalizedReplace = normalizeLineEndings(op.replace);
|
|
@@ -7405,7 +7405,7 @@ function toSmartTruncationFallbackEvent(input) {
|
|
|
7405
7405
|
}
|
|
7406
7406
|
|
|
7407
7407
|
// src/tools/filesystem/FileReadTool/FileReadTool.tsx
|
|
7408
|
-
var MAX_LINES_TO_RENDER =
|
|
7408
|
+
var MAX_LINES_TO_RENDER = 1;
|
|
7409
7409
|
var MAX_LINE_LENGTH2 = 2e3;
|
|
7410
7410
|
var MAX_OUTPUT_SIZE = 0.25 * 1024 * 1024;
|
|
7411
7411
|
var IMAGE_EXTENSIONS = /* @__PURE__ */ new Set([".png", ".jpg", ".jpeg", ".gif", ".webp"]);
|
|
@@ -11898,7 +11898,7 @@ async function createAndStoreApiKey(accessToken) {
|
|
|
11898
11898
|
}
|
|
11899
11899
|
saveGlobalConfig(config2);
|
|
11900
11900
|
try {
|
|
11901
|
-
const { resetAnthropicClient } = await import("./llm-
|
|
11901
|
+
const { resetAnthropicClient } = await import("./llm-FFB2I7QL.js");
|
|
11902
11902
|
resetAnthropicClient();
|
|
11903
11903
|
} catch {
|
|
11904
11904
|
}
|
|
@@ -16322,7 +16322,7 @@ async function refreshPluginRuntimeFromInstalls() {
|
|
|
16322
16322
|
const existingRoots = getSessionPlugins().map((p) => p.rootDir);
|
|
16323
16323
|
const dirs = Array.from(/* @__PURE__ */ new Set([...existingRoots, ...installedRoots]));
|
|
16324
16324
|
if (dirs.length === 0) return [];
|
|
16325
|
-
const { configureSessionPlugins } = await import("./pluginRuntime-
|
|
16325
|
+
const { configureSessionPlugins } = await import("./pluginRuntime-KO3VBNQ4.js");
|
|
16326
16326
|
const { errors } = await configureSessionPlugins({ pluginDirs: dirs });
|
|
16327
16327
|
return errors;
|
|
16328
16328
|
}
|
|
@@ -16997,7 +16997,7 @@ async function call(onDone, context) {
|
|
|
16997
16997
|
ModelConfig,
|
|
16998
16998
|
{
|
|
16999
16999
|
onClose: () => {
|
|
17000
|
-
import("./model-
|
|
17000
|
+
import("./model-XE7N4T23.js").then(({ reloadModelManager: reloadModelManager2 }) => {
|
|
17001
17001
|
reloadModelManager2();
|
|
17002
17002
|
triggerModelConfigChange();
|
|
17003
17003
|
onDone();
|
|
@@ -25201,7 +25201,7 @@ function useStatusLine() {
|
|
|
25201
25201
|
// src/ui/components/PromptInput.tsx
|
|
25202
25202
|
async function interpretHashCommand(input) {
|
|
25203
25203
|
try {
|
|
25204
|
-
const { queryQuick: queryQuick2 } = await import("./llm-
|
|
25204
|
+
const { queryQuick: queryQuick2 } = await import("./llm-FFB2I7QL.js");
|
|
25205
25205
|
const systemPrompt = [
|
|
25206
25206
|
"You're helping the user structure notes that will be added to their PYB.md file.",
|
|
25207
25207
|
"Format the user's input into a well-structured note that will be useful for later reference.",
|
|
@@ -25514,7 +25514,7 @@ function PromptInput({
|
|
|
25514
25514
|
if (messages2.length) {
|
|
25515
25515
|
if (mode === "bash") {
|
|
25516
25516
|
onQuery(messages2, newAbortController).then(async () => {
|
|
25517
|
-
const { getCwd: getCwd2 } = await import("./state-
|
|
25517
|
+
const { getCwd: getCwd2 } = await import("./state-OHGUHJMH.js");
|
|
25518
25518
|
setCurrentPwd(getCwd2());
|
|
25519
25519
|
});
|
|
25520
25520
|
} else {
|
|
@@ -30308,7 +30308,7 @@ import { homedir as homedir8 } from "os";
|
|
|
30308
30308
|
// src/commands/agents/generation.ts
|
|
30309
30309
|
import { randomUUID as randomUUID6 } from "crypto";
|
|
30310
30310
|
async function generateAgentWithClaude(prompt) {
|
|
30311
|
-
const { queryModel } = await import("./llm-
|
|
30311
|
+
const { queryModel } = await import("./llm-FFB2I7QL.js");
|
|
30312
30312
|
const systemPrompt = `You are an expert at creating AI agent configurations. Based on the user's description, generate a specialized agent configuration.
|
|
30313
30313
|
|
|
30314
30314
|
Return your response as a JSON object with exactly these fields:
|