pybao-cli 1.5.40 → 1.5.42
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-B5KZD7G5.js +51 -0
- package/dist/{acp-FDHMQCWT.js → acp-TVN3WHDY.js} +30 -30
- package/dist/{agentsValidate-ELJV3BD5.js → agentsValidate-GHHBQ2V3.js} +7 -7
- package/dist/{ask-LLSPXGGE.js → ask-Q2KBAHNA.js} +30 -30
- package/dist/{autoUpdater-GPMR6GD7.js → autoUpdater-65UHQALF.js} +3 -3
- package/dist/{chunk-7W52VHCA.js → chunk-2ONDOJ32.js} +2 -2
- package/dist/{chunk-EYLCDMQQ.js → chunk-2VA64CKU.js} +3 -3
- package/dist/{chunk-3EBTDGWV.js → chunk-3I5AJWST.js} +1 -1
- package/dist/{chunk-JTF7WK7Z.js → chunk-3NASYKEW.js} +1 -1
- package/dist/{chunk-JTF7WK7Z.js.map → chunk-3NASYKEW.js.map} +1 -1
- package/dist/{chunk-M56ITZBW.js → chunk-5G4RB7MC.js} +1 -1
- package/dist/{chunk-Q373NOSL.js → chunk-6JEIJLDL.js} +4 -4
- package/dist/{chunk-IA6MVNWV.js → chunk-7ALGFH5X.js} +1 -1
- package/dist/{chunk-OW77PW5M.js → chunk-DEZYDCUH.js} +24 -3
- package/dist/chunk-DEZYDCUH.js.map +7 -0
- package/dist/{chunk-T2EM3K5B.js → chunk-EQBLVRTX.js} +2 -2
- package/dist/{chunk-26KSRQP4.js → chunk-FINT4Z7B.js} +18 -3
- package/dist/chunk-FINT4Z7B.js.map +7 -0
- package/dist/{chunk-L7U4IZJ5.js → chunk-FPJL5RXB.js} +4 -4
- package/dist/{chunk-Y6JX7EBN.js → chunk-HMZHP623.js} +4 -4
- package/dist/{chunk-5S5C2OHM.js → chunk-I5XULU7R.js} +3 -3
- package/dist/{chunk-X2CQAFP7.js → chunk-LMXJDGUG.js} +1 -1
- package/dist/{chunk-PMPP4Q2U.js → chunk-LW26RTGS.js} +1 -1
- package/dist/{chunk-SCVKSNWZ.js → chunk-N4EHD2WQ.js} +1 -1
- package/dist/{chunk-WAB6PUNL.js → chunk-NVENXGF7.js} +3 -3
- package/dist/{chunk-6BBHJOWS.js → chunk-S2TCT35Y.js} +2 -2
- package/dist/{chunk-3KHG4DDY.js → chunk-S3O3RCWN.js} +1 -1
- package/dist/{chunk-INRQ5FYB.js → chunk-SWH2U4BW.js} +3 -3
- package/dist/{chunk-R4FJYGPN.js → chunk-SY5A3V3Q.js} +1 -1
- package/dist/{chunk-ZIWNCLKX.js → chunk-TNCM6TNK.js} +3 -3
- package/dist/{chunk-FPVESENY.js → chunk-UJHTJTTS.js} +3 -3
- package/dist/{chunk-TWUMAHON.js → chunk-VG2Z446J.js} +4 -4
- package/dist/{chunk-BYLAKTEP.js → chunk-VWI4TG6L.js} +3 -3
- package/dist/{chunk-H4Z2VPCJ.js → chunk-W2ZTYIRJ.js} +1 -1
- package/dist/{chunk-SYD52UQC.js → chunk-W57S56SZ.js} +2 -2
- package/dist/{chunk-2AFJRWCO.js → chunk-XGYRZA24.js} +3 -3
- package/dist/{chunk-WGKYEXPG.js → chunk-Y2Z256D7.js} +211 -72
- package/dist/chunk-Y2Z256D7.js.map +7 -0
- package/dist/{chunk-H3NQOBUI.js → chunk-YIQDKWRI.js} +2 -2
- package/dist/{chunk-BEV23CJE.js → chunk-ZKDULVN5.js} +1 -1
- package/dist/{cli-BBHRJCTN.js → cli-R6FWX47L.js} +90 -90
- package/dist/commands-5BUFNWGW.js +55 -0
- package/dist/{config-KN2XEOY7.js → config-UOF22R5A.js} +4 -4
- package/dist/{context-BW6MJQM2.js → context-2XY2LAUJ.js} +6 -6
- package/dist/{conversationPersistence-RAVYY226.js → conversationPersistence-PWSEH5D2.js} +3 -3
- package/dist/{conversationTracker-3IAJEIQ4.js → conversationTracker-R3PKN554.js} +4 -4
- package/dist/{customCommands-BNVGCUKP.js → customCommands-KRYZL5FH.js} +4 -4
- package/dist/{env-LHB5NTOI.js → env-NFA6MDCD.js} +2 -2
- package/dist/{file-CJ3PREEJ.js → file-B7O6H4QE.js} +4 -4
- package/dist/index.js +3 -3
- package/dist/{llm-VJ5SXQHW.js → llm-SPIGEJ2Z.js} +31 -31
- package/dist/{llmLazy-UUS3WEHK.js → llmLazy-GPAEOXPV.js} +1 -1
- package/dist/{loader-5VRUVNER.js → loader-32QKHUOK.js} +4 -4
- package/dist/{lsp-BIIABO6H.js → lsp-VMFAYCLW.js} +6 -6
- package/dist/{lspAnchor-TT3FWLUS.js → lspAnchor-MLXUGBLJ.js} +6 -6
- package/dist/{mcp-R4ZYR3JP.js → mcp-PLCRLS5A.js} +7 -7
- package/dist/{mentionProcessor-QYWCQUIV.js → mentionProcessor-DFTGT52F.js} +5 -5
- package/dist/{messages-MA74RJER.js → messages-TKAHXVGJ.js} +1 -1
- package/dist/{model-POXLU7ZR.js → model-EWO655R3.js} +5 -5
- package/dist/{openai-I7BLJUQS.js → openai-DM5CXIXZ.js} +5 -5
- package/dist/{outputStyles-75MN6KTI.js → outputStyles-XJXX5ZXG.js} +4 -4
- package/dist/{pluginRuntime-3WFVQ6S7.js → pluginRuntime-WVEONLK3.js} +6 -6
- package/dist/{pluginValidation-L3SGXFFT.js → pluginValidation-AQWVJ7FK.js} +6 -6
- package/dist/prompts-MYXXJHIA.js +57 -0
- package/dist/{pybAgentSessionLoad-U64JCPNS.js → pybAgentSessionLoad-4PHU7OTN.js} +4 -4
- package/dist/{pybAgentSessionResume-DTB7UOFX.js → pybAgentSessionResume-CS3E6FIE.js} +4 -4
- package/dist/{pybAgentStreamJsonSession-ZSEACSHS.js → pybAgentStreamJsonSession-PYZMFK7D.js} +1 -1
- package/dist/{pybHooks-IZIY2IGK.js → pybHooks-JPX6L4HI.js} +4 -4
- package/dist/query-TFHNPQ35.js +55 -0
- package/dist/{registry-74CB6VIJ.js → registry-MBEH554P.js} +5 -5
- package/dist/{ripgrep-JJE36CNN.js → ripgrep-XKTM64PS.js} +3 -3
- package/dist/{skillMarketplace-ARREBOGZ.js → skillMarketplace-APD57VBX.js} +3 -3
- package/dist/{state-WZ4UJAH7.js → state-2QEHOVTA.js} +2 -2
- package/dist/{theme-57UJPEQK.js → theme-NGDPNTUX.js} +5 -5
- package/dist/{toolPermissionSettings-4236ZJBP.js → toolPermissionSettings-RLNPVOBI.js} +6 -6
- package/dist/tools-U345EBHA.js +55 -0
- package/dist/{userInput-VIXNIZP3.js → userInput-6ASB72OS.js} +32 -32
- package/package.json +1 -1
- package/dist/REPL-Z3TOIVYD.js +0 -51
- package/dist/chunk-26KSRQP4.js.map +0 -7
- package/dist/chunk-OW77PW5M.js.map +0 -7
- package/dist/chunk-WGKYEXPG.js.map +0 -7
- package/dist/commands-PVWHGRX3.js +0 -55
- package/dist/prompts-MDTDDW3N.js +0 -57
- package/dist/query-TKK5CM7T.js +0 -55
- package/dist/tools-KTJEXUUE.js +0 -55
- /package/dist/{REPL-Z3TOIVYD.js.map → REPL-B5KZD7G5.js.map} +0 -0
- /package/dist/{acp-FDHMQCWT.js.map → acp-TVN3WHDY.js.map} +0 -0
- /package/dist/{agentsValidate-ELJV3BD5.js.map → agentsValidate-GHHBQ2V3.js.map} +0 -0
- /package/dist/{ask-LLSPXGGE.js.map → ask-Q2KBAHNA.js.map} +0 -0
- /package/dist/{autoUpdater-GPMR6GD7.js.map → autoUpdater-65UHQALF.js.map} +0 -0
- /package/dist/{chunk-7W52VHCA.js.map → chunk-2ONDOJ32.js.map} +0 -0
- /package/dist/{chunk-EYLCDMQQ.js.map → chunk-2VA64CKU.js.map} +0 -0
- /package/dist/{chunk-3EBTDGWV.js.map → chunk-3I5AJWST.js.map} +0 -0
- /package/dist/{chunk-M56ITZBW.js.map → chunk-5G4RB7MC.js.map} +0 -0
- /package/dist/{chunk-Q373NOSL.js.map → chunk-6JEIJLDL.js.map} +0 -0
- /package/dist/{chunk-IA6MVNWV.js.map → chunk-7ALGFH5X.js.map} +0 -0
- /package/dist/{chunk-T2EM3K5B.js.map → chunk-EQBLVRTX.js.map} +0 -0
- /package/dist/{chunk-L7U4IZJ5.js.map → chunk-FPJL5RXB.js.map} +0 -0
- /package/dist/{chunk-Y6JX7EBN.js.map → chunk-HMZHP623.js.map} +0 -0
- /package/dist/{chunk-5S5C2OHM.js.map → chunk-I5XULU7R.js.map} +0 -0
- /package/dist/{chunk-X2CQAFP7.js.map → chunk-LMXJDGUG.js.map} +0 -0
- /package/dist/{chunk-PMPP4Q2U.js.map → chunk-LW26RTGS.js.map} +0 -0
- /package/dist/{chunk-SCVKSNWZ.js.map → chunk-N4EHD2WQ.js.map} +0 -0
- /package/dist/{chunk-WAB6PUNL.js.map → chunk-NVENXGF7.js.map} +0 -0
- /package/dist/{chunk-6BBHJOWS.js.map → chunk-S2TCT35Y.js.map} +0 -0
- /package/dist/{chunk-3KHG4DDY.js.map → chunk-S3O3RCWN.js.map} +0 -0
- /package/dist/{chunk-INRQ5FYB.js.map → chunk-SWH2U4BW.js.map} +0 -0
- /package/dist/{chunk-R4FJYGPN.js.map → chunk-SY5A3V3Q.js.map} +0 -0
- /package/dist/{chunk-ZIWNCLKX.js.map → chunk-TNCM6TNK.js.map} +0 -0
- /package/dist/{chunk-FPVESENY.js.map → chunk-UJHTJTTS.js.map} +0 -0
- /package/dist/{chunk-TWUMAHON.js.map → chunk-VG2Z446J.js.map} +0 -0
- /package/dist/{chunk-BYLAKTEP.js.map → chunk-VWI4TG6L.js.map} +0 -0
- /package/dist/{chunk-H4Z2VPCJ.js.map → chunk-W2ZTYIRJ.js.map} +0 -0
- /package/dist/{chunk-SYD52UQC.js.map → chunk-W57S56SZ.js.map} +0 -0
- /package/dist/{chunk-2AFJRWCO.js.map → chunk-XGYRZA24.js.map} +0 -0
- /package/dist/{chunk-H3NQOBUI.js.map → chunk-YIQDKWRI.js.map} +0 -0
- /package/dist/{chunk-BEV23CJE.js.map → chunk-ZKDULVN5.js.map} +0 -0
- /package/dist/{cli-BBHRJCTN.js.map → cli-R6FWX47L.js.map} +0 -0
- /package/dist/{commands-PVWHGRX3.js.map → commands-5BUFNWGW.js.map} +0 -0
- /package/dist/{config-KN2XEOY7.js.map → config-UOF22R5A.js.map} +0 -0
- /package/dist/{context-BW6MJQM2.js.map → context-2XY2LAUJ.js.map} +0 -0
- /package/dist/{conversationPersistence-RAVYY226.js.map → conversationPersistence-PWSEH5D2.js.map} +0 -0
- /package/dist/{conversationTracker-3IAJEIQ4.js.map → conversationTracker-R3PKN554.js.map} +0 -0
- /package/dist/{customCommands-BNVGCUKP.js.map → customCommands-KRYZL5FH.js.map} +0 -0
- /package/dist/{env-LHB5NTOI.js.map → env-NFA6MDCD.js.map} +0 -0
- /package/dist/{file-CJ3PREEJ.js.map → file-B7O6H4QE.js.map} +0 -0
- /package/dist/{llm-VJ5SXQHW.js.map → llm-SPIGEJ2Z.js.map} +0 -0
- /package/dist/{llmLazy-UUS3WEHK.js.map → llmLazy-GPAEOXPV.js.map} +0 -0
- /package/dist/{loader-5VRUVNER.js.map → loader-32QKHUOK.js.map} +0 -0
- /package/dist/{lsp-BIIABO6H.js.map → lsp-VMFAYCLW.js.map} +0 -0
- /package/dist/{lspAnchor-TT3FWLUS.js.map → lspAnchor-MLXUGBLJ.js.map} +0 -0
- /package/dist/{mcp-R4ZYR3JP.js.map → mcp-PLCRLS5A.js.map} +0 -0
- /package/dist/{mentionProcessor-QYWCQUIV.js.map → mentionProcessor-DFTGT52F.js.map} +0 -0
- /package/dist/{messages-MA74RJER.js.map → messages-TKAHXVGJ.js.map} +0 -0
- /package/dist/{model-POXLU7ZR.js.map → model-EWO655R3.js.map} +0 -0
- /package/dist/{openai-I7BLJUQS.js.map → openai-DM5CXIXZ.js.map} +0 -0
- /package/dist/{outputStyles-75MN6KTI.js.map → outputStyles-XJXX5ZXG.js.map} +0 -0
- /package/dist/{pluginRuntime-3WFVQ6S7.js.map → pluginRuntime-WVEONLK3.js.map} +0 -0
- /package/dist/{pluginValidation-L3SGXFFT.js.map → pluginValidation-AQWVJ7FK.js.map} +0 -0
- /package/dist/{prompts-MDTDDW3N.js.map → prompts-MYXXJHIA.js.map} +0 -0
- /package/dist/{pybAgentSessionLoad-U64JCPNS.js.map → pybAgentSessionLoad-4PHU7OTN.js.map} +0 -0
- /package/dist/{pybAgentSessionResume-DTB7UOFX.js.map → pybAgentSessionResume-CS3E6FIE.js.map} +0 -0
- /package/dist/{pybAgentStreamJsonSession-ZSEACSHS.js.map → pybAgentStreamJsonSession-PYZMFK7D.js.map} +0 -0
- /package/dist/{pybHooks-IZIY2IGK.js.map → pybHooks-JPX6L4HI.js.map} +0 -0
- /package/dist/{query-TKK5CM7T.js.map → query-TFHNPQ35.js.map} +0 -0
- /package/dist/{registry-74CB6VIJ.js.map → registry-MBEH554P.js.map} +0 -0
- /package/dist/{ripgrep-JJE36CNN.js.map → ripgrep-XKTM64PS.js.map} +0 -0
- /package/dist/{skillMarketplace-ARREBOGZ.js.map → skillMarketplace-APD57VBX.js.map} +0 -0
- /package/dist/{state-WZ4UJAH7.js.map → state-2QEHOVTA.js.map} +0 -0
- /package/dist/{theme-57UJPEQK.js.map → theme-NGDPNTUX.js.map} +0 -0
- /package/dist/{toolPermissionSettings-4236ZJBP.js.map → toolPermissionSettings-RLNPVOBI.js.map} +0 -0
- /package/dist/{tools-KTJEXUUE.js.map → tools-U345EBHA.js.map} +0 -0
- /package/dist/{userInput-VIXNIZP3.js.map → userInput-6ASB72OS.js.map} +0 -0
|
@@ -2,17 +2,17 @@ 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-N4EHD2WQ.js";
|
|
6
6
|
import {
|
|
7
7
|
appendSessionCustomTitleRecord,
|
|
8
8
|
appendSessionJsonlFromMessage,
|
|
9
9
|
appendSessionTagRecord,
|
|
10
10
|
listPybAgentSessions
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-TNCM6TNK.js";
|
|
12
12
|
import {
|
|
13
13
|
formatValidationResult,
|
|
14
14
|
validatePluginOrMarketplacePath
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-UJHTJTTS.js";
|
|
16
16
|
import {
|
|
17
17
|
ConversationTracker,
|
|
18
18
|
appendFinishState,
|
|
@@ -20,10 +20,10 @@ import {
|
|
|
20
20
|
getConversationTrackerForContext,
|
|
21
21
|
isFinishComplete,
|
|
22
22
|
mapFinishReason
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-S3O3RCWN.js";
|
|
24
24
|
import {
|
|
25
25
|
FileSystemConversationPersistence
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-3I5AJWST.js";
|
|
27
27
|
import {
|
|
28
28
|
beginReplSessionScope
|
|
29
29
|
} from "./chunk-F4AXICO7.js";
|
|
@@ -38,7 +38,7 @@ import {
|
|
|
38
38
|
runStopHooks,
|
|
39
39
|
runUserPromptSubmitHooks,
|
|
40
40
|
updateHookTranscriptForMessages
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-NVENXGF7.js";
|
|
42
42
|
import {
|
|
43
43
|
DEFAULT_OUTPUT_STYLE,
|
|
44
44
|
getAvailableOutputStyles,
|
|
@@ -47,11 +47,11 @@ import {
|
|
|
47
47
|
getOutputStyleSystemPromptAdditions,
|
|
48
48
|
resolveOutputStyleName,
|
|
49
49
|
setCurrentOutputStyle
|
|
50
|
-
} from "./chunk-
|
|
50
|
+
} from "./chunk-EQBLVRTX.js";
|
|
51
51
|
import {
|
|
52
52
|
fetchCustomModels,
|
|
53
53
|
getModelFeatures
|
|
54
|
-
} from "./chunk-
|
|
54
|
+
} from "./chunk-YIQDKWRI.js";
|
|
55
55
|
import {
|
|
56
56
|
getCurrentSessionId,
|
|
57
57
|
getSessionState
|
|
@@ -60,7 +60,7 @@ import {
|
|
|
60
60
|
queryLLM,
|
|
61
61
|
queryQuick,
|
|
62
62
|
verifyApiKey
|
|
63
|
-
} from "./chunk-
|
|
63
|
+
} from "./chunk-VG2Z446J.js";
|
|
64
64
|
import {
|
|
65
65
|
DEFAULT_TIMEOUT_MS,
|
|
66
66
|
FallbackToolUseRejectedMessage,
|
|
@@ -75,7 +75,7 @@ import {
|
|
|
75
75
|
listMCPServers,
|
|
76
76
|
loadMergedSettings,
|
|
77
77
|
normalizeSandboxRuntimeConfigFromSettings
|
|
78
|
-
} from "./chunk-
|
|
78
|
+
} from "./chunk-HMZHP623.js";
|
|
79
79
|
import {
|
|
80
80
|
addMarketplace,
|
|
81
81
|
disableSkillPlugin,
|
|
@@ -88,11 +88,11 @@ import {
|
|
|
88
88
|
refreshMarketplaceAsync,
|
|
89
89
|
removeMarketplace,
|
|
90
90
|
uninstallSkillPlugin
|
|
91
|
-
} from "./chunk-
|
|
91
|
+
} from "./chunk-W2ZTYIRJ.js";
|
|
92
92
|
import {
|
|
93
93
|
loadToolPermissionContextFromDisk,
|
|
94
94
|
persistToolPermissionUpdateToDisk
|
|
95
|
-
} from "./chunk-
|
|
95
|
+
} from "./chunk-I5XULU7R.js";
|
|
96
96
|
import {
|
|
97
97
|
applyToolPermissionContextUpdate,
|
|
98
98
|
applyToolPermissionContextUpdates,
|
|
@@ -103,14 +103,14 @@ import {
|
|
|
103
103
|
generateSystemReminders,
|
|
104
104
|
resetReminderSession,
|
|
105
105
|
systemReminderService
|
|
106
|
-
} from "./chunk-
|
|
106
|
+
} from "./chunk-FINT4Z7B.js";
|
|
107
107
|
import {
|
|
108
108
|
clearAgentCache,
|
|
109
109
|
getActiveAgents,
|
|
110
110
|
getAgentByType,
|
|
111
111
|
getAllAgents,
|
|
112
112
|
getAvailableAgentTypes
|
|
113
|
-
} from "./chunk-
|
|
113
|
+
} from "./chunk-2ONDOJ32.js";
|
|
114
114
|
import {
|
|
115
115
|
API_ERROR_MESSAGE_PREFIX,
|
|
116
116
|
CANCEL_MESSAGE,
|
|
@@ -147,7 +147,7 @@ import {
|
|
|
147
147
|
reorderMessages,
|
|
148
148
|
resetAutoCompactTelemetry,
|
|
149
149
|
stripSystemMessages
|
|
150
|
-
} from "./chunk-
|
|
150
|
+
} from "./chunk-DEZYDCUH.js";
|
|
151
151
|
import {
|
|
152
152
|
getRequestStatus,
|
|
153
153
|
setRequestStatus,
|
|
@@ -179,7 +179,7 @@ import {
|
|
|
179
179
|
normalizeFilePath,
|
|
180
180
|
readTextContent,
|
|
181
181
|
writeTextContent
|
|
182
|
-
} from "./chunk-
|
|
182
|
+
} from "./chunk-S2TCT35Y.js";
|
|
183
183
|
import {
|
|
184
184
|
parseBlockEdits
|
|
185
185
|
} from "./chunk-QWIBSCDN.js";
|
|
@@ -190,18 +190,18 @@ import {
|
|
|
190
190
|
formatDiagnosticsPretty,
|
|
191
191
|
initParser,
|
|
192
192
|
loadLanguage
|
|
193
|
-
} from "./chunk-
|
|
193
|
+
} from "./chunk-6JEIJLDL.js";
|
|
194
194
|
import {
|
|
195
195
|
getSettingsFileCandidates,
|
|
196
196
|
loadSettingsWithLegacyFallback,
|
|
197
197
|
readSettingsFile
|
|
198
|
-
} from "./chunk-
|
|
198
|
+
} from "./chunk-ZKDULVN5.js";
|
|
199
199
|
import {
|
|
200
200
|
getCustomCommandDirectories,
|
|
201
201
|
hasCustomCommands,
|
|
202
202
|
loadCustomCommands,
|
|
203
203
|
reloadCustomCommands
|
|
204
|
-
} from "./chunk-
|
|
204
|
+
} from "./chunk-W57S56SZ.js";
|
|
205
205
|
import {
|
|
206
206
|
getSessionPlugins
|
|
207
207
|
} from "./chunk-BJSWTHRM.js";
|
|
@@ -210,7 +210,7 @@ import {
|
|
|
210
210
|
buildModelProfileKey,
|
|
211
211
|
getModelManager,
|
|
212
212
|
isDefaultSlowAndCapableModel
|
|
213
|
-
} from "./chunk-
|
|
213
|
+
} from "./chunk-VWI4TG6L.js";
|
|
214
214
|
import {
|
|
215
215
|
getCodeStyle,
|
|
216
216
|
getContext,
|
|
@@ -218,16 +218,16 @@ import {
|
|
|
218
218
|
getIsGit,
|
|
219
219
|
getProjectDocs,
|
|
220
220
|
getProjectStructureStatisticsBlock
|
|
221
|
-
} from "./chunk-
|
|
221
|
+
} from "./chunk-FPJL5RXB.js";
|
|
222
222
|
import {
|
|
223
223
|
getRipgrepPath,
|
|
224
224
|
getRipgrepPolicyMode,
|
|
225
225
|
resolveRipgrepPolicy,
|
|
226
226
|
ripGrep
|
|
227
|
-
} from "./chunk-
|
|
227
|
+
} from "./chunk-LMXJDGUG.js";
|
|
228
228
|
import {
|
|
229
229
|
getTheme
|
|
230
|
-
} from "./chunk-
|
|
230
|
+
} from "./chunk-LW26RTGS.js";
|
|
231
231
|
import {
|
|
232
232
|
DEFAULT_GLOBAL_CONFIG,
|
|
233
233
|
enableConfigs,
|
|
@@ -240,7 +240,7 @@ import {
|
|
|
240
240
|
saveGlobalConfig,
|
|
241
241
|
setAllPointersToModel,
|
|
242
242
|
setModelPointer
|
|
243
|
-
} from "./chunk-
|
|
243
|
+
} from "./chunk-2VA64CKU.js";
|
|
244
244
|
import {
|
|
245
245
|
AbortError
|
|
246
246
|
} from "./chunk-RQVLBMP7.js";
|
|
@@ -249,7 +249,7 @@ import {
|
|
|
249
249
|
getCurrentRequest,
|
|
250
250
|
logUserFriendly,
|
|
251
251
|
markPhase
|
|
252
|
-
} from "./chunk-
|
|
252
|
+
} from "./chunk-7ALGFH5X.js";
|
|
253
253
|
import {
|
|
254
254
|
ASCII_LOGO,
|
|
255
255
|
BunShell,
|
|
@@ -293,10 +293,10 @@ import {
|
|
|
293
293
|
setCwd,
|
|
294
294
|
shouldApplyToolOutputTruncation,
|
|
295
295
|
truncateToolOutput
|
|
296
|
-
} from "./chunk-
|
|
296
|
+
} from "./chunk-SY5A3V3Q.js";
|
|
297
297
|
import {
|
|
298
298
|
MACRO
|
|
299
|
-
} from "./chunk-
|
|
299
|
+
} from "./chunk-3NASYKEW.js";
|
|
300
300
|
import {
|
|
301
301
|
__export
|
|
302
302
|
} from "./chunk-I3J4JYES.js";
|
|
@@ -477,7 +477,7 @@ var getCommandSubcommandPrefix = memoize(
|
|
|
477
477
|
var getCommandPrefix = memoize(
|
|
478
478
|
async (command4, abortSignal) => {
|
|
479
479
|
const { systemPrompt, userPrompt } = buildBashCommandPrefixDetectionPrompt(command4);
|
|
480
|
-
const { API_ERROR_MESSAGE_PREFIX: API_ERROR_MESSAGE_PREFIX2, queryQuick: queryQuick2 } = await import("./llm-
|
|
480
|
+
const { API_ERROR_MESSAGE_PREFIX: API_ERROR_MESSAGE_PREFIX2, queryQuick: queryQuick2 } = await import("./llm-SPIGEJ2Z.js");
|
|
481
481
|
const response = await queryQuick2({
|
|
482
482
|
systemPrompt,
|
|
483
483
|
userPrompt,
|
|
@@ -4279,7 +4279,7 @@ function formatParseError(error) {
|
|
|
4279
4279
|
return error instanceof Error ? error.message : String(error);
|
|
4280
4280
|
}
|
|
4281
4281
|
async function defaultGateQuery(args) {
|
|
4282
|
-
const { API_ERROR_MESSAGE_PREFIX: API_ERROR_MESSAGE_PREFIX2, queryLLM: queryLLM2 } = await import("./llm-
|
|
4282
|
+
const { API_ERROR_MESSAGE_PREFIX: API_ERROR_MESSAGE_PREFIX2, queryLLM: queryLLM2 } = await import("./llm-SPIGEJ2Z.js");
|
|
4283
4283
|
const queryLLMFn = args.queryLLMOverride ?? queryLLM2;
|
|
4284
4284
|
const messages = [
|
|
4285
4285
|
{
|
|
@@ -6672,7 +6672,7 @@ var FileEditTool = {
|
|
|
6672
6672
|
const originalFileContent = currentFileContent;
|
|
6673
6673
|
let totalPatch = [];
|
|
6674
6674
|
const { SmartEdit } = await import("./smart-edit-AWHJDSU6.js");
|
|
6675
|
-
const { findLspAnchor } = await import("./lspAnchor-
|
|
6675
|
+
const { findLspAnchor } = await import("./lspAnchor-MLXUGBLJ.js");
|
|
6676
6676
|
for (const op of editOperations) {
|
|
6677
6677
|
const normalizedSearch = normalizeLineEndings(op.search);
|
|
6678
6678
|
const normalizedReplace = normalizeLineEndings(op.replace);
|
|
@@ -9054,6 +9054,7 @@ ${result.filenames.join("\n")}`;
|
|
|
9054
9054
|
sandbox: sandboxPlan.settings.enabled ? sandboxPlan.bunShellSandboxOptions : void 0
|
|
9055
9055
|
});
|
|
9056
9056
|
let semanticNotice;
|
|
9057
|
+
let semanticHits = [];
|
|
9057
9058
|
const scopedRoot = resolve7(absolutePath);
|
|
9058
9059
|
if ((lines.length === 0 || symbol_type) && semantic) {
|
|
9059
9060
|
try {
|
|
@@ -9101,7 +9102,35 @@ ${result.filenames.join("\n")}`;
|
|
|
9101
9102
|
}
|
|
9102
9103
|
}
|
|
9103
9104
|
if (filtered.length > 0) {
|
|
9104
|
-
const
|
|
9105
|
+
const kindNameMap = {
|
|
9106
|
+
1: "File",
|
|
9107
|
+
2: "Module",
|
|
9108
|
+
3: "Namespace",
|
|
9109
|
+
4: "Package",
|
|
9110
|
+
5: "Class",
|
|
9111
|
+
6: "Method",
|
|
9112
|
+
7: "Property",
|
|
9113
|
+
8: "Field",
|
|
9114
|
+
9: "Constructor",
|
|
9115
|
+
10: "Enum",
|
|
9116
|
+
11: "Interface",
|
|
9117
|
+
12: "Function",
|
|
9118
|
+
13: "Variable",
|
|
9119
|
+
14: "Constant",
|
|
9120
|
+
15: "String",
|
|
9121
|
+
16: "Number",
|
|
9122
|
+
17: "Boolean",
|
|
9123
|
+
18: "Array",
|
|
9124
|
+
19: "Object",
|
|
9125
|
+
20: "Key",
|
|
9126
|
+
21: "Null",
|
|
9127
|
+
22: "EnumMember",
|
|
9128
|
+
23: "Struct",
|
|
9129
|
+
24: "Event",
|
|
9130
|
+
25: "Operator",
|
|
9131
|
+
26: "TypeParameter"
|
|
9132
|
+
};
|
|
9133
|
+
semanticHits = filtered.map((s) => {
|
|
9105
9134
|
let filePath = s.location?.uri || "";
|
|
9106
9135
|
if (filePath.startsWith("file://")) {
|
|
9107
9136
|
try {
|
|
@@ -9111,39 +9140,38 @@ ${result.filenames.join("\n")}`;
|
|
|
9111
9140
|
}
|
|
9112
9141
|
}
|
|
9113
9142
|
const line = (s.location?.range?.start?.line || 0) + 1;
|
|
9114
|
-
const kindNameMap = {
|
|
9115
|
-
1: "File",
|
|
9116
|
-
2: "Module",
|
|
9117
|
-
3: "Namespace",
|
|
9118
|
-
4: "Package",
|
|
9119
|
-
5: "Class",
|
|
9120
|
-
6: "Method",
|
|
9121
|
-
7: "Property",
|
|
9122
|
-
8: "Field",
|
|
9123
|
-
9: "Constructor",
|
|
9124
|
-
10: "Enum",
|
|
9125
|
-
11: "Interface",
|
|
9126
|
-
12: "Function",
|
|
9127
|
-
13: "Variable",
|
|
9128
|
-
14: "Constant",
|
|
9129
|
-
15: "String",
|
|
9130
|
-
16: "Number",
|
|
9131
|
-
17: "Boolean",
|
|
9132
|
-
18: "Array",
|
|
9133
|
-
19: "Object",
|
|
9134
|
-
20: "Key",
|
|
9135
|
-
21: "Null",
|
|
9136
|
-
22: "EnumMember",
|
|
9137
|
-
23: "Struct",
|
|
9138
|
-
24: "Event",
|
|
9139
|
-
25: "Operator",
|
|
9140
|
-
26: "TypeParameter"
|
|
9141
|
-
};
|
|
9142
9143
|
const kindName = kindNameMap[s.kind] || "Unknown";
|
|
9143
|
-
return
|
|
9144
|
+
return {
|
|
9145
|
+
filePath,
|
|
9146
|
+
line,
|
|
9147
|
+
symbolName: s.name,
|
|
9148
|
+
kindName
|
|
9149
|
+
};
|
|
9144
9150
|
});
|
|
9145
|
-
|
|
9146
|
-
|
|
9151
|
+
if (output_mode === "content") {
|
|
9152
|
+
lines.push(
|
|
9153
|
+
...semanticHits.map(
|
|
9154
|
+
(hit) => `${hit.filePath}:${hit.line}: ${hit.symbolName} (${hit.kindName})`
|
|
9155
|
+
)
|
|
9156
|
+
);
|
|
9157
|
+
} else if (output_mode === "files_with_matches") {
|
|
9158
|
+
const files = [...new Set(semanticHits.map((hit) => hit.filePath))];
|
|
9159
|
+
lines.push(...files);
|
|
9160
|
+
} else if (output_mode === "count") {
|
|
9161
|
+
const countByFile = /* @__PURE__ */ new Map();
|
|
9162
|
+
for (const hit of semanticHits) {
|
|
9163
|
+
countByFile.set(
|
|
9164
|
+
hit.filePath,
|
|
9165
|
+
(countByFile.get(hit.filePath) || 0) + 1
|
|
9166
|
+
);
|
|
9167
|
+
}
|
|
9168
|
+
lines.push(
|
|
9169
|
+
...Array.from(countByFile.entries()).map(
|
|
9170
|
+
([filePath, count]) => `${filePath}:${count}`
|
|
9171
|
+
)
|
|
9172
|
+
);
|
|
9173
|
+
}
|
|
9174
|
+
semanticNotice = `Semantic search: added ${semanticHits.length} result${semanticHits.length === 1 ? "" : "s"}. Next: use LspTool for details.`;
|
|
9147
9175
|
} else {
|
|
9148
9176
|
semanticNotice = "Semantic search: no symbols found.";
|
|
9149
9177
|
}
|
|
@@ -12445,7 +12473,7 @@ async function createAndStoreApiKey(accessToken) {
|
|
|
12445
12473
|
}
|
|
12446
12474
|
saveGlobalConfig(config2);
|
|
12447
12475
|
try {
|
|
12448
|
-
const { resetAnthropicClient } = await import("./llm-
|
|
12476
|
+
const { resetAnthropicClient } = await import("./llm-SPIGEJ2Z.js");
|
|
12449
12477
|
resetAnthropicClient();
|
|
12450
12478
|
} catch {
|
|
12451
12479
|
}
|
|
@@ -16869,7 +16897,7 @@ async function refreshPluginRuntimeFromInstalls() {
|
|
|
16869
16897
|
const existingRoots = getSessionPlugins().map((p) => p.rootDir);
|
|
16870
16898
|
const dirs = Array.from(/* @__PURE__ */ new Set([...existingRoots, ...installedRoots]));
|
|
16871
16899
|
if (dirs.length === 0) return [];
|
|
16872
|
-
const { configureSessionPlugins } = await import("./pluginRuntime-
|
|
16900
|
+
const { configureSessionPlugins } = await import("./pluginRuntime-WVEONLK3.js");
|
|
16873
16901
|
const { errors } = await configureSessionPlugins({ pluginDirs: dirs });
|
|
16874
16902
|
return errors;
|
|
16875
16903
|
}
|
|
@@ -17544,7 +17572,7 @@ async function call(onDone, context) {
|
|
|
17544
17572
|
ModelConfig,
|
|
17545
17573
|
{
|
|
17546
17574
|
onClose: () => {
|
|
17547
|
-
import("./model-
|
|
17575
|
+
import("./model-EWO655R3.js").then(({ reloadModelManager: reloadModelManager2 }) => {
|
|
17548
17576
|
reloadModelManager2();
|
|
17549
17577
|
triggerModelConfigChange();
|
|
17550
17578
|
onDone();
|
|
@@ -18827,7 +18855,12 @@ function formatSystemPromptWithContext(systemPrompt, context, agentId, skipConte
|
|
|
18827
18855
|
let systemReminders = "";
|
|
18828
18856
|
let userReminderMessages = [];
|
|
18829
18857
|
let systemReminderMessages = [];
|
|
18830
|
-
const mentionTypes = /* @__PURE__ */ new Set([
|
|
18858
|
+
const mentionTypes = /* @__PURE__ */ new Set([
|
|
18859
|
+
"agent_mention",
|
|
18860
|
+
"file_mention",
|
|
18861
|
+
"ask_model_mention",
|
|
18862
|
+
"compaction_continuation"
|
|
18863
|
+
]);
|
|
18831
18864
|
const splitReminderChannels = (items) => {
|
|
18832
18865
|
const user = [];
|
|
18833
18866
|
const system = [];
|
|
@@ -18934,7 +18967,7 @@ As you answer the user's questions, you can use the following context:
|
|
|
18934
18967
|
|
|
18935
18968
|
// src/services/system/reminderChannelMetrics.ts
|
|
18936
18969
|
function isMentionReminder(reminder) {
|
|
18937
|
-
return reminder.type === "agent_mention" || reminder.type === "file_mention" || reminder.type === "ask_model_mention";
|
|
18970
|
+
return reminder.type === "agent_mention" || reminder.type === "file_mention" || reminder.type === "ask_model_mention" || reminder.type === "compaction_continuation";
|
|
18938
18971
|
}
|
|
18939
18972
|
function extractReminderTypes(reminderMessages) {
|
|
18940
18973
|
const types = /* @__PURE__ */ new Set();
|
|
@@ -21495,6 +21528,7 @@ var CONVERSATION_SUMMARY_LIMITS = {
|
|
|
21495
21528
|
var MAX_COMPACTED_QUERY_IDS = 10;
|
|
21496
21529
|
var AUTO_COMPACT_CHAIN_RETRY_DELAY_MS = 250;
|
|
21497
21530
|
var MAX_DEBUG_SUMMARY_LOG_CHARS = 2400;
|
|
21531
|
+
var COMPACTION_CONTINUATION_TEXT = "Continue the latest user request from the compacted context. Prioritize unfinished user goals and ask for clarification only if blocked.";
|
|
21498
21532
|
function wait(ms) {
|
|
21499
21533
|
return new Promise((resolve16) => setTimeout(resolve16, ms));
|
|
21500
21534
|
}
|
|
@@ -21516,6 +21550,52 @@ function isRecoveredFileMessage(message) {
|
|
|
21516
21550
|
const text = getMessageText2(message);
|
|
21517
21551
|
return Boolean(text && text.includes(RECOVERED_FILE_MARKER2));
|
|
21518
21552
|
}
|
|
21553
|
+
function resolveReplayCandidateText(messages) {
|
|
21554
|
+
for (let index = messages.length - 1; index >= 0; index -= 1) {
|
|
21555
|
+
const message = messages[index];
|
|
21556
|
+
if (message?.type !== "user") {
|
|
21557
|
+
continue;
|
|
21558
|
+
}
|
|
21559
|
+
if (message?.options?.autoCompactionReplay === true || message?.options?.autoCompactionContinuation === true) {
|
|
21560
|
+
continue;
|
|
21561
|
+
}
|
|
21562
|
+
if (isAutoCompactNotice(message) || isRecoveredFileMessage(message)) {
|
|
21563
|
+
continue;
|
|
21564
|
+
}
|
|
21565
|
+
const content = message.message?.content;
|
|
21566
|
+
if (typeof content === "string") {
|
|
21567
|
+
const text2 = content.trim();
|
|
21568
|
+
if (text2.length > 0) {
|
|
21569
|
+
return text2;
|
|
21570
|
+
}
|
|
21571
|
+
continue;
|
|
21572
|
+
}
|
|
21573
|
+
if (!Array.isArray(content)) {
|
|
21574
|
+
continue;
|
|
21575
|
+
}
|
|
21576
|
+
if (content.some((block) => block && block.type === "tool_result")) {
|
|
21577
|
+
continue;
|
|
21578
|
+
}
|
|
21579
|
+
const text = content.filter((block) => block && block.type === "text").map((block) => String(block.text ?? "").trim()).filter(Boolean).join("\n").trim();
|
|
21580
|
+
if (text.length > 0) {
|
|
21581
|
+
return text;
|
|
21582
|
+
}
|
|
21583
|
+
}
|
|
21584
|
+
return null;
|
|
21585
|
+
}
|
|
21586
|
+
function hasReplayMarker(messages) {
|
|
21587
|
+
return messages.some(
|
|
21588
|
+
(message) => message?.type === "user" && Boolean(message?.options?.autoCompactionReplay === true)
|
|
21589
|
+
);
|
|
21590
|
+
}
|
|
21591
|
+
function resolveReplayEnabled(toolUseContext) {
|
|
21592
|
+
const envValue = parseBooleanFlag2(process.env.PYB_AUTO_COMPACT_REPLAY_ENABLED);
|
|
21593
|
+
if (envValue !== null) return envValue;
|
|
21594
|
+
if (typeof toolUseContext?.autoCompactReplayEnabled === "boolean") {
|
|
21595
|
+
return toolUseContext.autoCompactReplayEnabled;
|
|
21596
|
+
}
|
|
21597
|
+
return true;
|
|
21598
|
+
}
|
|
21519
21599
|
function stripLeadingRecoveredFiles(messages) {
|
|
21520
21600
|
let index = 0;
|
|
21521
21601
|
while (index < messages.length && isRecoveredFileMessage(messages[index])) {
|
|
@@ -22428,6 +22508,65 @@ ${contentWithLines}
|
|
|
22428
22508
|
compactedMessages.push(recoveryMessage);
|
|
22429
22509
|
}
|
|
22430
22510
|
}
|
|
22511
|
+
const replayEnabled = resolveReplayEnabled(toolUseContext);
|
|
22512
|
+
const replayCandidateText = resolveReplayCandidateText(messages);
|
|
22513
|
+
const replayMarkerExists = hasReplayMarker(messages);
|
|
22514
|
+
const canReplay = replayEnabled && Boolean(replayCandidateText) && !replayMarkerExists;
|
|
22515
|
+
let replaySkippedReason = null;
|
|
22516
|
+
if (!replayEnabled) {
|
|
22517
|
+
replaySkippedReason = "replay_disabled";
|
|
22518
|
+
} else if (!replayCandidateText) {
|
|
22519
|
+
replaySkippedReason = "candidate_missing";
|
|
22520
|
+
} else if (replayMarkerExists) {
|
|
22521
|
+
replaySkippedReason = "dedup_marker";
|
|
22522
|
+
}
|
|
22523
|
+
if (canReplay) {
|
|
22524
|
+
const replayMessage = createUserMessageFromBlocks([
|
|
22525
|
+
{
|
|
22526
|
+
type: "text",
|
|
22527
|
+
text: replayCandidateText
|
|
22528
|
+
}
|
|
22529
|
+
]);
|
|
22530
|
+
replayMessage.options = {
|
|
22531
|
+
...replayMessage.options ?? {},
|
|
22532
|
+
autoCompactionReplay: true
|
|
22533
|
+
};
|
|
22534
|
+
compactedMessages.push(replayMessage);
|
|
22535
|
+
} else {
|
|
22536
|
+
const continuationMessage = createUserMessageFromBlocks([
|
|
22537
|
+
{
|
|
22538
|
+
type: "text",
|
|
22539
|
+
text: COMPACTION_CONTINUATION_TEXT
|
|
22540
|
+
}
|
|
22541
|
+
]);
|
|
22542
|
+
continuationMessage.options = {
|
|
22543
|
+
...continuationMessage.options ?? {},
|
|
22544
|
+
autoCompactionContinuation: true
|
|
22545
|
+
};
|
|
22546
|
+
compactedMessages.push(continuationMessage);
|
|
22547
|
+
}
|
|
22548
|
+
emitReminderEvent("compaction:continuation", {
|
|
22549
|
+
timestamp: compactedAt,
|
|
22550
|
+
continuationText: canReplay ? replayCandidateText : COMPACTION_CONTINUATION_TEXT,
|
|
22551
|
+
mode: canReplay ? "replay" : "synthetic_continue",
|
|
22552
|
+
source: "auto_compact"
|
|
22553
|
+
});
|
|
22554
|
+
const continuationDecisionPayload = {
|
|
22555
|
+
mode: canReplay ? "replay" : "synthetic_continue",
|
|
22556
|
+
injected: true,
|
|
22557
|
+
replayEnabled,
|
|
22558
|
+
replayCandidateFound: Boolean(replayCandidateText),
|
|
22559
|
+
replayMarkerExists,
|
|
22560
|
+
replaySkippedReason
|
|
22561
|
+
};
|
|
22562
|
+
debug.warn(
|
|
22563
|
+
"AUTO_COMPACT_CONTINUATION_DECISION",
|
|
22564
|
+
continuationDecisionPayload
|
|
22565
|
+
);
|
|
22566
|
+
emitAutoCompactTelemetryEvent(
|
|
22567
|
+
"AUTO_COMPACT_CONTINUATION_DECISION",
|
|
22568
|
+
continuationDecisionPayload
|
|
22569
|
+
);
|
|
22431
22570
|
getMessagesSetter()([]);
|
|
22432
22571
|
getContext.cache.clear?.();
|
|
22433
22572
|
getCodeStyle.cache.clear?.();
|
|
@@ -27455,7 +27594,7 @@ async function analyzeOutputWithLsp(output, exitCode) {
|
|
|
27455
27594
|
if (exitCode !== 0 || errorCount > 0 || warningCount > 0) {
|
|
27456
27595
|
try {
|
|
27457
27596
|
const { isAbsolute: isAbsolute11, resolve: resolve16 } = await import("path");
|
|
27458
|
-
const { getSessionRoot: getSessionRoot2 } = await import("./state-
|
|
27597
|
+
const { getSessionRoot: getSessionRoot2 } = await import("./state-2QEHOVTA.js");
|
|
27459
27598
|
const lines = output.split("\n");
|
|
27460
27599
|
const uniqueFiles = /* @__PURE__ */ new Set();
|
|
27461
27600
|
const lspSuggestions = [];
|
|
@@ -27825,7 +27964,7 @@ var DeleteTool = {
|
|
|
27825
27964
|
}
|
|
27826
27965
|
if (!force) {
|
|
27827
27966
|
try {
|
|
27828
|
-
const { LspFacade: LspFacade2 } = await import("./lsp-
|
|
27967
|
+
const { LspFacade: LspFacade2 } = await import("./lsp-VMFAYCLW.js");
|
|
27829
27968
|
const referenceDetail = await LspFacade2.checkFileReferences(fullPath);
|
|
27830
27969
|
if (referenceDetail) {
|
|
27831
27970
|
failedItems.push(
|
|
@@ -38227,7 +38366,7 @@ function useStatusLine() {
|
|
|
38227
38366
|
// src/ui/components/PromptInput.tsx
|
|
38228
38367
|
async function interpretHashCommand(input) {
|
|
38229
38368
|
try {
|
|
38230
|
-
const { queryQuick: queryQuick2 } = await import("./llm-
|
|
38369
|
+
const { queryQuick: queryQuick2 } = await import("./llm-SPIGEJ2Z.js");
|
|
38231
38370
|
const systemPrompt = [
|
|
38232
38371
|
"You're helping the user structure notes that will be added to their PYB.md file.",
|
|
38233
38372
|
"Format the user's input into a well-structured note that will be useful for later reference.",
|
|
@@ -38540,7 +38679,7 @@ function PromptInput({
|
|
|
38540
38679
|
if (messages2.length) {
|
|
38541
38680
|
if (mode === "bash") {
|
|
38542
38681
|
onQuery(messages2, newAbortController).then(async () => {
|
|
38543
|
-
const { getCwd: getCwd2 } = await import("./state-
|
|
38682
|
+
const { getCwd: getCwd2 } = await import("./state-2QEHOVTA.js");
|
|
38544
38683
|
setCurrentPwd(getCwd2());
|
|
38545
38684
|
});
|
|
38546
38685
|
} else {
|
|
@@ -40170,7 +40309,7 @@ import { homedir as homedir8 } from "os";
|
|
|
40170
40309
|
// src/commands/agents/generation.ts
|
|
40171
40310
|
import { randomUUID as randomUUID9 } from "crypto";
|
|
40172
40311
|
async function generateAgentWithClaude(prompt) {
|
|
40173
|
-
const { queryModel } = await import("./llm-
|
|
40312
|
+
const { queryModel } = await import("./llm-SPIGEJ2Z.js");
|
|
40174
40313
|
const systemPrompt = `You are an expert at creating AI agent configurations. Based on the user's description, generate a specialized agent configuration.
|
|
40175
40314
|
|
|
40176
40315
|
Return your response as a JSON object with exactly these fields:
|