pybao-cli 1.4.85 → 1.4.86
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-AYCFBDLU.js +49 -0
- package/dist/{acp-2GSHX77R.js → acp-UVP7PN5S.js} +30 -30
- package/dist/{agentsValidate-UXGO75BF.js → agentsValidate-FL54WGFH.js} +7 -7
- package/dist/{ask-ELUL4HKQ.js → ask-PBWLOQ7J.js} +29 -29
- package/dist/{autoUpdater-6YER62IR.js → autoUpdater-O5RPYHU3.js} +3 -3
- package/dist/{chunk-AG7FFH3Y.js → chunk-2O3X5IWT.js} +1 -1
- package/dist/{chunk-VNULUWD6.js → chunk-3B4CPOCL.js} +3 -3
- package/dist/{chunk-Z2HICQWZ.js → chunk-3JIUIDM2.js} +1 -1
- package/dist/{chunk-OHC5TYFI.js → chunk-7UFU3WAO.js} +2 -2
- package/dist/{chunk-AS2KQTUT.js → chunk-CLFHJB6G.js} +2 -2
- package/dist/{chunk-U7K2VUAB.js → chunk-DFM5XVNM.js} +2 -2
- package/dist/{chunk-QMBDLOEI.js → chunk-GSPJ4GS3.js} +3 -3
- package/dist/{chunk-5572LEVQ.js → chunk-INUAHGET.js} +1 -1
- package/dist/{chunk-EVEFJGBJ.js → chunk-LZV5TCLM.js} +1 -1
- package/dist/{chunk-TVGG7PIY.js → chunk-MDLJYUB5.js} +3 -3
- package/dist/{chunk-3Q5CIAL2.js → chunk-N775QA2Y.js} +1 -1
- package/dist/{chunk-4UJCKYAC.js → chunk-NPA5AQ7K.js} +1 -1
- package/dist/{chunk-TCQ5GGG3.js → chunk-NZCROE5X.js} +1 -1
- package/dist/{chunk-7ODD4XBU.js → chunk-OOLRCWS2.js} +4 -4
- package/dist/{chunk-AXZ27RH4.js → chunk-OXIP2DAD.js} +36 -36
- package/dist/{chunk-2SOOZG7K.js → chunk-PCMN5JB2.js} +3 -3
- package/dist/{chunk-7PMREV7X.js → chunk-PRBRDV6D.js} +1 -1
- package/dist/{chunk-7PMREV7X.js.map → chunk-PRBRDV6D.js.map} +1 -1
- package/dist/{chunk-JMYBBKHV.js → chunk-QIA3YTRM.js} +3 -3
- package/dist/{chunk-V2N7TGUM.js → chunk-R35KKDQG.js} +2 -2
- package/dist/{chunk-VMLR2LP6.js → chunk-SU3DRMCQ.js} +1 -1
- package/dist/{chunk-WCDVJOOC.js → chunk-T2A6HHRX.js} +2 -2
- package/dist/{chunk-QUQ6IULP.js → chunk-TOHWB6HI.js} +2 -2
- package/dist/{chunk-JC7FH7WU.js → chunk-TUQG5JPN.js} +16 -16
- package/dist/{chunk-UYLH4OHE.js → chunk-VLQEJHWT.js} +3 -3
- package/dist/{chunk-TWE7DDOR.js → chunk-VP2IDQGT.js} +3 -3
- package/dist/{chunk-76J7Y54N.js → chunk-WZZJVQME.js} +1 -1
- package/dist/{chunk-XXIVEBHI.js → chunk-X472W3BH.js} +2 -2
- package/dist/{chunk-TQR5RQJV.js → chunk-XBM24YJM.js} +4 -4
- package/dist/{chunk-W4I3CWEF.js → chunk-XYYAVY4Z.js} +4 -4
- package/dist/{chunk-CDCF77UJ.js → chunk-Z3VN6WKQ.js} +4 -4
- package/dist/{chunk-4DWNCIQY.js → chunk-ZXIIV7IC.js} +1 -1
- package/dist/{cli-4GGW2PEE.js → cli-5H6SVIF4.js} +89 -89
- package/dist/commands-ZAPC4C6T.js +53 -0
- package/dist/{config-ACK7KZQC.js → config-ZQSF7J7M.js} +4 -4
- package/dist/{context-B57NHDV3.js → context-Q6WNUXMJ.js} +6 -6
- package/dist/{conversationTracker-KGCUMWX3.js → conversationTracker-D6IBZAR6.js} +3 -3
- package/dist/{customCommands-EJUGLB7U.js → customCommands-IPGNOQKK.js} +4 -4
- package/dist/{env-VWBGS2CV.js → env-PR3XNREC.js} +2 -2
- package/dist/{file-2J6HXITM.js → file-BXLHMQLT.js} +4 -4
- package/dist/index.js +3 -3
- package/dist/{llm-2K46QQUI.js → llm-KXFWT6QU.js} +30 -30
- package/dist/{llmLazy-7XXVUTUF.js → llmLazy-TD36PKN5.js} +1 -1
- package/dist/{loader-PRQCWGJK.js → loader-4PMWRUTH.js} +4 -4
- package/dist/{lsp-Q4XRD6Q5.js → lsp-LZ2FQAEJ.js} +6 -6
- package/dist/{lspAnchor-PEH2Y2UI.js → lspAnchor-RI6XI7OY.js} +6 -6
- package/dist/{mcp-KOCYADSE.js → mcp-633QRPZJ.js} +7 -7
- package/dist/{mentionProcessor-UVN23ZJN.js → mentionProcessor-SHPTKVDT.js} +5 -5
- package/dist/{messages-FHBY2DUS.js → messages-ILCXJTM3.js} +1 -1
- package/dist/{model-WYZSVA7P.js → model-KSBEHTGQ.js} +5 -5
- package/dist/{openai-VH262CSK.js → openai-4F2EBT2N.js} +5 -5
- package/dist/{outputStyles-2GFONEXE.js → outputStyles-SVF7ULKM.js} +4 -4
- package/dist/{pluginRuntime-PVJC4OS6.js → pluginRuntime-SX6EVXLI.js} +6 -6
- package/dist/{pluginValidation-BW4FRXA3.js → pluginValidation-66RSOF62.js} +6 -6
- package/dist/prompts-QQD7FUBC.js +55 -0
- package/dist/{pybAgentSessionLoad-ESLYSABF.js → pybAgentSessionLoad-XPP25YQJ.js} +4 -4
- package/dist/{pybAgentSessionResume-RV4GKC77.js → pybAgentSessionResume-3NDIDTLX.js} +4 -4
- package/dist/{pybAgentStreamJsonSession-RAYEEMAE.js → pybAgentStreamJsonSession-CBRW7AGT.js} +1 -1
- package/dist/{pybHooks-ZUMVL4EI.js → pybHooks-WVV274FH.js} +4 -4
- package/dist/query-UQFC6UNG.js +57 -0
- package/dist/{registry-QBSW2S73.js → registry-PL6BRQ65.js} +5 -5
- package/dist/{ripgrep-6SAEPSK7.js → ripgrep-7XBIKVDR.js} +3 -3
- package/dist/{skillMarketplace-DY5FZ4ZG.js → skillMarketplace-IRJ73YDQ.js} +3 -3
- package/dist/{state-W2FZAYHT.js → state-GXNXV4HP.js} +2 -2
- package/dist/{theme-HMUA7M76.js → theme-RUAAOZ7A.js} +5 -5
- package/dist/{toolPermissionSettings-M3V4WFMZ.js → toolPermissionSettings-65AHPGX3.js} +6 -6
- package/dist/tools-233ZNHH7.js +54 -0
- package/dist/{userInput-VVCSGVQW.js → userInput-FGX36YI6.js} +31 -31
- package/package.json +1 -1
- package/dist/REPL-FY7QKVS6.js +0 -49
- package/dist/commands-SOPDFP4V.js +0 -53
- package/dist/prompts-5SQE4V5S.js +0 -55
- package/dist/query-JSS7HQZT.js +0 -57
- package/dist/tools-U6CMUHMT.js +0 -54
- /package/dist/{REPL-FY7QKVS6.js.map → REPL-AYCFBDLU.js.map} +0 -0
- /package/dist/{acp-2GSHX77R.js.map → acp-UVP7PN5S.js.map} +0 -0
- /package/dist/{agentsValidate-UXGO75BF.js.map → agentsValidate-FL54WGFH.js.map} +0 -0
- /package/dist/{ask-ELUL4HKQ.js.map → ask-PBWLOQ7J.js.map} +0 -0
- /package/dist/{autoUpdater-6YER62IR.js.map → autoUpdater-O5RPYHU3.js.map} +0 -0
- /package/dist/{chunk-AG7FFH3Y.js.map → chunk-2O3X5IWT.js.map} +0 -0
- /package/dist/{chunk-VNULUWD6.js.map → chunk-3B4CPOCL.js.map} +0 -0
- /package/dist/{chunk-Z2HICQWZ.js.map → chunk-3JIUIDM2.js.map} +0 -0
- /package/dist/{chunk-OHC5TYFI.js.map → chunk-7UFU3WAO.js.map} +0 -0
- /package/dist/{chunk-AS2KQTUT.js.map → chunk-CLFHJB6G.js.map} +0 -0
- /package/dist/{chunk-U7K2VUAB.js.map → chunk-DFM5XVNM.js.map} +0 -0
- /package/dist/{chunk-QMBDLOEI.js.map → chunk-GSPJ4GS3.js.map} +0 -0
- /package/dist/{chunk-5572LEVQ.js.map → chunk-INUAHGET.js.map} +0 -0
- /package/dist/{chunk-EVEFJGBJ.js.map → chunk-LZV5TCLM.js.map} +0 -0
- /package/dist/{chunk-TVGG7PIY.js.map → chunk-MDLJYUB5.js.map} +0 -0
- /package/dist/{chunk-3Q5CIAL2.js.map → chunk-N775QA2Y.js.map} +0 -0
- /package/dist/{chunk-4UJCKYAC.js.map → chunk-NPA5AQ7K.js.map} +0 -0
- /package/dist/{chunk-TCQ5GGG3.js.map → chunk-NZCROE5X.js.map} +0 -0
- /package/dist/{chunk-7ODD4XBU.js.map → chunk-OOLRCWS2.js.map} +0 -0
- /package/dist/{chunk-AXZ27RH4.js.map → chunk-OXIP2DAD.js.map} +0 -0
- /package/dist/{chunk-2SOOZG7K.js.map → chunk-PCMN5JB2.js.map} +0 -0
- /package/dist/{chunk-JMYBBKHV.js.map → chunk-QIA3YTRM.js.map} +0 -0
- /package/dist/{chunk-V2N7TGUM.js.map → chunk-R35KKDQG.js.map} +0 -0
- /package/dist/{chunk-VMLR2LP6.js.map → chunk-SU3DRMCQ.js.map} +0 -0
- /package/dist/{chunk-WCDVJOOC.js.map → chunk-T2A6HHRX.js.map} +0 -0
- /package/dist/{chunk-QUQ6IULP.js.map → chunk-TOHWB6HI.js.map} +0 -0
- /package/dist/{chunk-JC7FH7WU.js.map → chunk-TUQG5JPN.js.map} +0 -0
- /package/dist/{chunk-UYLH4OHE.js.map → chunk-VLQEJHWT.js.map} +0 -0
- /package/dist/{chunk-TWE7DDOR.js.map → chunk-VP2IDQGT.js.map} +0 -0
- /package/dist/{chunk-76J7Y54N.js.map → chunk-WZZJVQME.js.map} +0 -0
- /package/dist/{chunk-XXIVEBHI.js.map → chunk-X472W3BH.js.map} +0 -0
- /package/dist/{chunk-TQR5RQJV.js.map → chunk-XBM24YJM.js.map} +0 -0
- /package/dist/{chunk-W4I3CWEF.js.map → chunk-XYYAVY4Z.js.map} +0 -0
- /package/dist/{chunk-CDCF77UJ.js.map → chunk-Z3VN6WKQ.js.map} +0 -0
- /package/dist/{chunk-4DWNCIQY.js.map → chunk-ZXIIV7IC.js.map} +0 -0
- /package/dist/{cli-4GGW2PEE.js.map → cli-5H6SVIF4.js.map} +0 -0
- /package/dist/{commands-SOPDFP4V.js.map → commands-ZAPC4C6T.js.map} +0 -0
- /package/dist/{config-ACK7KZQC.js.map → config-ZQSF7J7M.js.map} +0 -0
- /package/dist/{context-B57NHDV3.js.map → context-Q6WNUXMJ.js.map} +0 -0
- /package/dist/{conversationTracker-KGCUMWX3.js.map → conversationTracker-D6IBZAR6.js.map} +0 -0
- /package/dist/{customCommands-EJUGLB7U.js.map → customCommands-IPGNOQKK.js.map} +0 -0
- /package/dist/{env-VWBGS2CV.js.map → env-PR3XNREC.js.map} +0 -0
- /package/dist/{file-2J6HXITM.js.map → file-BXLHMQLT.js.map} +0 -0
- /package/dist/{llm-2K46QQUI.js.map → llm-KXFWT6QU.js.map} +0 -0
- /package/dist/{llmLazy-7XXVUTUF.js.map → llmLazy-TD36PKN5.js.map} +0 -0
- /package/dist/{loader-PRQCWGJK.js.map → loader-4PMWRUTH.js.map} +0 -0
- /package/dist/{lsp-Q4XRD6Q5.js.map → lsp-LZ2FQAEJ.js.map} +0 -0
- /package/dist/{lspAnchor-PEH2Y2UI.js.map → lspAnchor-RI6XI7OY.js.map} +0 -0
- /package/dist/{mcp-KOCYADSE.js.map → mcp-633QRPZJ.js.map} +0 -0
- /package/dist/{mentionProcessor-UVN23ZJN.js.map → mentionProcessor-SHPTKVDT.js.map} +0 -0
- /package/dist/{messages-FHBY2DUS.js.map → messages-ILCXJTM3.js.map} +0 -0
- /package/dist/{model-WYZSVA7P.js.map → model-KSBEHTGQ.js.map} +0 -0
- /package/dist/{openai-VH262CSK.js.map → openai-4F2EBT2N.js.map} +0 -0
- /package/dist/{outputStyles-2GFONEXE.js.map → outputStyles-SVF7ULKM.js.map} +0 -0
- /package/dist/{pluginRuntime-PVJC4OS6.js.map → pluginRuntime-SX6EVXLI.js.map} +0 -0
- /package/dist/{pluginValidation-BW4FRXA3.js.map → pluginValidation-66RSOF62.js.map} +0 -0
- /package/dist/{prompts-5SQE4V5S.js.map → prompts-QQD7FUBC.js.map} +0 -0
- /package/dist/{pybAgentSessionLoad-ESLYSABF.js.map → pybAgentSessionLoad-XPP25YQJ.js.map} +0 -0
- /package/dist/{pybAgentSessionResume-RV4GKC77.js.map → pybAgentSessionResume-3NDIDTLX.js.map} +0 -0
- /package/dist/{pybAgentStreamJsonSession-RAYEEMAE.js.map → pybAgentStreamJsonSession-CBRW7AGT.js.map} +0 -0
- /package/dist/{pybHooks-ZUMVL4EI.js.map → pybHooks-WVV274FH.js.map} +0 -0
- /package/dist/{query-JSS7HQZT.js.map → query-UQFC6UNG.js.map} +0 -0
- /package/dist/{registry-QBSW2S73.js.map → registry-PL6BRQ65.js.map} +0 -0
- /package/dist/{ripgrep-6SAEPSK7.js.map → ripgrep-7XBIKVDR.js.map} +0 -0
- /package/dist/{skillMarketplace-DY5FZ4ZG.js.map → skillMarketplace-IRJ73YDQ.js.map} +0 -0
- /package/dist/{state-W2FZAYHT.js.map → state-GXNXV4HP.js.map} +0 -0
- /package/dist/{theme-HMUA7M76.js.map → theme-RUAAOZ7A.js.map} +0 -0
- /package/dist/{toolPermissionSettings-M3V4WFMZ.js.map → toolPermissionSettings-65AHPGX3.js.map} +0 -0
- /package/dist/{tools-U6CMUHMT.js.map → tools-233ZNHH7.js.map} +0 -0
- /package/dist/{userInput-VVCSGVQW.js.map → userInput-FGX36YI6.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-INUAHGET.js";
|
|
6
6
|
import {
|
|
7
7
|
formatValidationResult,
|
|
8
8
|
validatePluginOrMarketplacePath
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-QIA3YTRM.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-NPA5AQ7K.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-WZZJVQME.js";
|
|
24
24
|
import {
|
|
25
25
|
appendSessionCustomTitleRecord,
|
|
26
26
|
appendSessionJsonlFromMessage,
|
|
27
27
|
appendSessionTagRecord
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-CLFHJB6G.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-PCMN5JB2.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-DFM5XVNM.js";
|
|
50
50
|
import {
|
|
51
51
|
fetchCustomModels,
|
|
52
52
|
getModelFeatures
|
|
53
|
-
} from "./chunk-
|
|
53
|
+
} from "./chunk-R35KKDQG.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-OOLRCWS2.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-XBM24YJM.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-SU3DRMCQ.js";
|
|
89
89
|
import {
|
|
90
90
|
loadToolPermissionContextFromDisk,
|
|
91
91
|
persistToolPermissionUpdateToDisk
|
|
92
|
-
} from "./chunk-
|
|
92
|
+
} from "./chunk-MDLJYUB5.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-X472W3BH.js";
|
|
104
104
|
import {
|
|
105
105
|
clearAgentCache,
|
|
106
106
|
getActiveAgents,
|
|
107
107
|
getAgentByType,
|
|
108
108
|
getAllAgents
|
|
109
|
-
} from "./chunk-
|
|
109
|
+
} from "./chunk-7UFU3WAO.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-LZV5TCLM.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-TOHWB6HI.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-XYYAVY4Z.js";
|
|
181
181
|
import {
|
|
182
182
|
getSettingsFileCandidates,
|
|
183
183
|
loadSettingsWithLegacyFallback,
|
|
184
184
|
readSettingsFile
|
|
185
|
-
} from "./chunk-
|
|
185
|
+
} from "./chunk-ZXIIV7IC.js";
|
|
186
186
|
import {
|
|
187
187
|
getCustomCommandDirectories,
|
|
188
188
|
hasCustomCommands,
|
|
189
189
|
loadCustomCommands,
|
|
190
190
|
reloadCustomCommands
|
|
191
|
-
} from "./chunk-
|
|
191
|
+
} from "./chunk-T2A6HHRX.js";
|
|
192
192
|
import {
|
|
193
193
|
getSessionPlugins
|
|
194
194
|
} from "./chunk-BJSWTHRM.js";
|
|
@@ -196,7 +196,7 @@ import {
|
|
|
196
196
|
ModelManager,
|
|
197
197
|
getModelManager,
|
|
198
198
|
isDefaultSlowAndCapableModel
|
|
199
|
-
} from "./chunk-
|
|
199
|
+
} from "./chunk-GSPJ4GS3.js";
|
|
200
200
|
import {
|
|
201
201
|
getCodeStyle,
|
|
202
202
|
getContext,
|
|
@@ -204,13 +204,13 @@ import {
|
|
|
204
204
|
getIsGit,
|
|
205
205
|
getProjectDocs,
|
|
206
206
|
getProjectStructureStatisticsBlock
|
|
207
|
-
} from "./chunk-
|
|
207
|
+
} from "./chunk-Z3VN6WKQ.js";
|
|
208
208
|
import {
|
|
209
209
|
ripGrep
|
|
210
|
-
} from "./chunk-
|
|
210
|
+
} from "./chunk-2O3X5IWT.js";
|
|
211
211
|
import {
|
|
212
212
|
getTheme
|
|
213
|
-
} from "./chunk-
|
|
213
|
+
} from "./chunk-3JIUIDM2.js";
|
|
214
214
|
import {
|
|
215
215
|
DEFAULT_GLOBAL_CONFIG,
|
|
216
216
|
enableConfigs,
|
|
@@ -223,7 +223,7 @@ import {
|
|
|
223
223
|
saveGlobalConfig,
|
|
224
224
|
setAllPointersToModel,
|
|
225
225
|
setModelPointer
|
|
226
|
-
} from "./chunk-
|
|
226
|
+
} from "./chunk-VP2IDQGT.js";
|
|
227
227
|
import {
|
|
228
228
|
AbortError
|
|
229
229
|
} from "./chunk-RQVLBMP7.js";
|
|
@@ -232,7 +232,7 @@ import {
|
|
|
232
232
|
getCurrentRequest,
|
|
233
233
|
logUserFriendly,
|
|
234
234
|
markPhase
|
|
235
|
-
} from "./chunk-
|
|
235
|
+
} from "./chunk-N775QA2Y.js";
|
|
236
236
|
import {
|
|
237
237
|
ASCII_LOGO,
|
|
238
238
|
BunShell,
|
|
@@ -272,10 +272,10 @@ import {
|
|
|
272
272
|
setCwd,
|
|
273
273
|
shouldApplyToolOutputTruncation,
|
|
274
274
|
truncateToolOutput
|
|
275
|
-
} from "./chunk-
|
|
275
|
+
} from "./chunk-NZCROE5X.js";
|
|
276
276
|
import {
|
|
277
277
|
MACRO
|
|
278
|
-
} from "./chunk-
|
|
278
|
+
} from "./chunk-PRBRDV6D.js";
|
|
279
279
|
import {
|
|
280
280
|
__export
|
|
281
281
|
} from "./chunk-I3J4JYES.js";
|
|
@@ -456,7 +456,7 @@ var getCommandSubcommandPrefix = memoize(
|
|
|
456
456
|
var getCommandPrefix = memoize(
|
|
457
457
|
async (command4, abortSignal) => {
|
|
458
458
|
const { systemPrompt, userPrompt } = buildBashCommandPrefixDetectionPrompt(command4);
|
|
459
|
-
const { API_ERROR_MESSAGE_PREFIX: API_ERROR_MESSAGE_PREFIX2, queryQuick: queryQuick2 } = await import("./llm-
|
|
459
|
+
const { API_ERROR_MESSAGE_PREFIX: API_ERROR_MESSAGE_PREFIX2, queryQuick: queryQuick2 } = await import("./llm-KXFWT6QU.js");
|
|
460
460
|
const response = await queryQuick2({
|
|
461
461
|
systemPrompt,
|
|
462
462
|
userPrompt,
|
|
@@ -4258,7 +4258,7 @@ function formatParseError(error) {
|
|
|
4258
4258
|
return error instanceof Error ? error.message : String(error);
|
|
4259
4259
|
}
|
|
4260
4260
|
async function defaultGateQuery(args) {
|
|
4261
|
-
const { API_ERROR_MESSAGE_PREFIX: API_ERROR_MESSAGE_PREFIX2, queryLLM: queryLLM2 } = await import("./llm-
|
|
4261
|
+
const { API_ERROR_MESSAGE_PREFIX: API_ERROR_MESSAGE_PREFIX2, queryLLM: queryLLM2 } = await import("./llm-KXFWT6QU.js");
|
|
4262
4262
|
const queryLLMFn = args.queryLLMOverride ?? queryLLM2;
|
|
4263
4263
|
const messages = [
|
|
4264
4264
|
{
|
|
@@ -6655,7 +6655,7 @@ var FileEditTool = {
|
|
|
6655
6655
|
const originalFileContent = currentFileContent;
|
|
6656
6656
|
let totalPatch = [];
|
|
6657
6657
|
const { SmartEdit } = await import("./smart-edit-AWHJDSU6.js");
|
|
6658
|
-
const { findLspAnchor } = await import("./lspAnchor-
|
|
6658
|
+
const { findLspAnchor } = await import("./lspAnchor-RI6XI7OY.js");
|
|
6659
6659
|
for (const op of editOperations) {
|
|
6660
6660
|
const normalizedSearch = normalizeLineEndings(op.search);
|
|
6661
6661
|
const normalizedReplace = normalizeLineEndings(op.replace);
|
|
@@ -11359,7 +11359,7 @@ async function createAndStoreApiKey(accessToken) {
|
|
|
11359
11359
|
}
|
|
11360
11360
|
saveGlobalConfig(config2);
|
|
11361
11361
|
try {
|
|
11362
|
-
const { resetAnthropicClient } = await import("./llm-
|
|
11362
|
+
const { resetAnthropicClient } = await import("./llm-KXFWT6QU.js");
|
|
11363
11363
|
resetAnthropicClient();
|
|
11364
11364
|
} catch {
|
|
11365
11365
|
}
|
|
@@ -15726,7 +15726,7 @@ async function refreshPluginRuntimeFromInstalls() {
|
|
|
15726
15726
|
const existingRoots = getSessionPlugins().map((p) => p.rootDir);
|
|
15727
15727
|
const dirs = Array.from(/* @__PURE__ */ new Set([...existingRoots, ...installedRoots]));
|
|
15728
15728
|
if (dirs.length === 0) return [];
|
|
15729
|
-
const { configureSessionPlugins } = await import("./pluginRuntime-
|
|
15729
|
+
const { configureSessionPlugins } = await import("./pluginRuntime-SX6EVXLI.js");
|
|
15730
15730
|
const { errors } = await configureSessionPlugins({ pluginDirs: dirs });
|
|
15731
15731
|
return errors;
|
|
15732
15732
|
}
|
|
@@ -16395,7 +16395,7 @@ async function call(onDone, context) {
|
|
|
16395
16395
|
ModelConfig,
|
|
16396
16396
|
{
|
|
16397
16397
|
onClose: () => {
|
|
16398
|
-
import("./model-
|
|
16398
|
+
import("./model-KSBEHTGQ.js").then(({ reloadModelManager: reloadModelManager2 }) => {
|
|
16399
16399
|
reloadModelManager2();
|
|
16400
16400
|
triggerModelConfigChange();
|
|
16401
16401
|
onDone();
|
|
@@ -24599,7 +24599,7 @@ function useStatusLine() {
|
|
|
24599
24599
|
// src/ui/components/PromptInput.tsx
|
|
24600
24600
|
async function interpretHashCommand(input) {
|
|
24601
24601
|
try {
|
|
24602
|
-
const { queryQuick: queryQuick2 } = await import("./llm-
|
|
24602
|
+
const { queryQuick: queryQuick2 } = await import("./llm-KXFWT6QU.js");
|
|
24603
24603
|
const systemPrompt = [
|
|
24604
24604
|
"You're helping the user structure notes that will be added to their PYB.md file.",
|
|
24605
24605
|
"Format the user's input into a well-structured note that will be useful for later reference.",
|
|
@@ -24912,7 +24912,7 @@ function PromptInput({
|
|
|
24912
24912
|
if (messages2.length) {
|
|
24913
24913
|
if (mode === "bash") {
|
|
24914
24914
|
onQuery(messages2, newAbortController).then(async () => {
|
|
24915
|
-
const { getCwd: getCwd2 } = await import("./state-
|
|
24915
|
+
const { getCwd: getCwd2 } = await import("./state-GXNXV4HP.js");
|
|
24916
24916
|
setCurrentPwd(getCwd2());
|
|
24917
24917
|
});
|
|
24918
24918
|
} else {
|
|
@@ -29378,7 +29378,7 @@ import { homedir as homedir8 } from "os";
|
|
|
29378
29378
|
// src/commands/agents/generation.ts
|
|
29379
29379
|
import { randomUUID as randomUUID6 } from "crypto";
|
|
29380
29380
|
async function generateAgentWithClaude(prompt) {
|
|
29381
|
-
const { queryModel } = await import("./llm-
|
|
29381
|
+
const { queryModel } = await import("./llm-KXFWT6QU.js");
|
|
29382
29382
|
const systemPrompt = `You are an expert at creating AI agent configurations. Based on the user's description, generate a specialized agent configuration.
|
|
29383
29383
|
|
|
29384
29384
|
Return your response as a JSON object with exactly these fields:
|
|
@@ -5,14 +5,14 @@ import {
|
|
|
5
5
|
} from "./chunk-B6IMQJZM.js";
|
|
6
6
|
import {
|
|
7
7
|
loadSettingsWithLegacyFallback
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-ZXIIV7IC.js";
|
|
9
9
|
import {
|
|
10
10
|
getSessionPlugins
|
|
11
11
|
} from "./chunk-BJSWTHRM.js";
|
|
12
12
|
import {
|
|
13
13
|
getCwd,
|
|
14
14
|
logError
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-NZCROE5X.js";
|
|
16
16
|
|
|
17
17
|
// src/utils/session/pybHooks.ts
|
|
18
18
|
import { spawn } from "child_process";
|
|
@@ -496,7 +496,7 @@ async function runPromptHook(args) {
|
|
|
496
496
|
fallbackTimeoutMs: args.fallbackTimeoutMs
|
|
497
497
|
});
|
|
498
498
|
try {
|
|
499
|
-
const { queryQuick } = await import("./llmLazy-
|
|
499
|
+
const { queryQuick } = await import("./llmLazy-TD36PKN5.js");
|
|
500
500
|
const systemPrompt = [
|
|
501
501
|
"You are executing a Pyb prompt hook.",
|
|
502
502
|
"Return a single JSON object only (no markdown, no prose).",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../package.json", "../src/constants/macros.ts"],
|
|
4
|
-
"sourcesContent": ["{\n \"name\": \"pybao-cli\",\n \"version\": \"1.4.
|
|
4
|
+
"sourcesContent": ["{\n \"name\": \"pybao-cli\",\n \"version\": \"1.4.86\",\n \"bin\": {\n \"pyb\": \"cli.js\",\n \"pyb-acp\": \"cli-acp.js\"\n },\n \"engines\": {\n \"node\": \">=20.18.1\"\n },\n \"main\": \"cli.js\",\n \"author\": \"PYB-XC\",\n \"license\": \"MIT\",\n \"description\": \"PYB-CLI - Minimal AI Agent with multi-model support and CLI interface\",\n \"keywords\": [\n \"ai\",\n \"agent\",\n \"minimal\",\n \"claude\"\n ],\n \"homepage\": \"https://github.com/pyb-xc/pyb-ts\",\n \"repository\": {\n \"type\": \"git\",\n \"url\": \"git+https://github.com/pyb-xc/pyb-ts.git\"\n },\n \"bugs\": {\n \"url\": \"https://github.com/pyb-xc/pyb-ts/issues\"\n },\n \"files\": [\n \"cli.js\",\n \"cli-acp.js\",\n \"yoga.wasm\",\n \"dist/**/*\",\n \"scripts/binary-utils.cjs\",\n \"scripts/cli-wrapper.cjs\",\n \"scripts/cli-acp-wrapper.cjs\",\n \"scripts/postinstall.js\",\n \".npmrc\",\n \"resources/**/*\"\n ],\n \"scripts\": {\n \"dev\": \"bun run ./src/entrypoints/cli.tsx --verbose\",\n \"build:npm\": \"bun scripts/build.mjs\",\n \"build\": \"npm run build:npm\",\n \"build:binary\": \"node scripts/build-binary.mjs\",\n \"build:native-lock\": \"node scripts/build-native-lock.mjs\",\n \"clean\": \"node scripts/clean.mjs\",\n \"prepublishOnly\": \"npm run build:npm && node scripts/prepublish-check.js\",\n \"postinstall\": \"node scripts/postinstall.js || true\",\n \"format\": \"prettier --write \\\"src/**/*.{ts,tsx,js,jsx,json}\\\" \\\"tests/**/*.{ts,tsx,js,jsx,json}\\\"\",\n \"format:check\": \"prettier --check \\\"src/**/*.{ts,tsx,js,jsx,json}\\\" \\\"tests/**/*.{ts,tsx,js,jsx,json}\\\"\",\n \"lint\": \"eslint . --ext .ts,.tsx,.js --max-warnings 0\",\n \"lint:fix\": \"eslint . --ext .ts,.tsx,.js --fix\",\n \"test\": \"bun test\",\n \"test:unit\": \"bun test --preload ./tests/setup/native-lock-test-setup.ts tests/unit\",\n \"test:integration\": \"bun test tests/integration\",\n \"test:e2e\": \"bun test tests/e2e\",\n \"gate:auto-compact\": \"bun run scripts/auto-compact-gate-check.mjs\",\n \"report:auto-compact-trend\": \"bun run scripts/auto-compact-trend-report.mjs\",\n \"typecheck\": \"tsc --noEmit\",\n \"prepare\": \"bun run scripts/install-hooks.mjs\",\n \"sync:native-lock\": \"node scripts/sync-native-lock-versions.mjs\",\n \"publish:native-lock\": \"node scripts/publish-native-lock.mjs\",\n \"verify:native-lock\": \"node scripts/verify-native-lock.mjs\",\n \"publish:dev\": \"bun run scripts/publish-dev.js\",\n \"publish:release\": \"bun run scripts/publish-release.js\",\n \"bench:startup\": \"bun run scripts/bench-startup.mjs\",\n \"parity:reference\": \"bun run scripts/reference-parity-check.mjs\"\n },\n \"dependencies\": {\n \"@anthropic-ai/bedrock-sdk\": \"^0.12.6\",\n \"@anthropic-ai/sdk\": \"^0.39.0\",\n \"@anthropic-ai/vertex-sdk\": \"^0.7.0\",\n \"@astrojs/language-server\": \"2.16.2\",\n \"@aws-sdk/client-bedrock-runtime\": \"3.797.0\",\n \"@commander-js/extra-typings\": \"^13.1.0\",\n \"@inkjs/ui\": \"^2.0.0\",\n \"@modelcontextprotocol/sdk\": \"^1.15.1\",\n \"@prisma/language-server\": \"31.3.4\",\n \"@types/lodash-es\": \"^4.17.12\",\n \"@types/react\": \"^19.1.8\",\n \"@vscode/ripgrep\": \"^1.17.0\",\n \"@vue/language-server\": \"3.2.2\",\n \"ajv\": \"^8.17.1\",\n \"ansi-escapes\": \"^7.0.0\",\n \"bash-language-server\": \"5.6.0\",\n \"chalk\": \"^5.4.1\",\n \"cli-highlight\": \"^2.1.11\",\n \"cli-table3\": \"^0.6.5\",\n \"commander\": \"^13.1.0\",\n \"debug\": \"^4.4.1\",\n \"diff\": \"^7.0.0\",\n \"dockerfile-language-server-nodejs\": \"0.15.0\",\n \"dotenv\": \"^16.6.1\",\n \"env-paths\": \"^3.0.0\",\n \"fflate\": \"^0.8.2\",\n \"figures\": \"^6.1.0\",\n \"glob\": \"^11.0.3\",\n \"graphql-language-service-cli\": \"3.5.0\",\n \"gray-matter\": \"^4.0.3\",\n \"highlight.js\": \"^11.11.1\",\n \"ignore\": \"^7.0.5\",\n \"ink\": \"5.2.1\",\n \"ink-link\": \"^4.1.0\",\n \"ink-select-input\": \"^6.2.0\",\n \"ink-text-input\": \"^6.0.0\",\n \"intelephense\": \"1.16.3\",\n \"js-yaml\": \"^4.1.1\",\n \"lodash-es\": \"^4.17.21\",\n \"lru-cache\": \"^11.1.0\",\n \"marked\": \"^15.0.12\",\n \"minimatch\": \"^10.1.1\",\n \"nanoid\": \"^5.1.5\",\n \"node-html-parser\": \"^7.0.1\",\n \"openai\": \"4.104.0\",\n \"pyright\": \"1.1.408\",\n \"react\": \"18.3.1\",\n \"semver\": \"^7.7.2\",\n \"shell-quote\": \"1.8.3\",\n \"spawn-rx\": \"^5.1.2\",\n \"string-width\": \"^7.2.0\",\n \"strip-ansi\": \"^7.1.0\",\n \"svelte-language-server\": \"0.17.23\",\n \"tsx\": \"^4.20.3\",\n \"typescript-language-server\": \"5.1.3\",\n \"undici\": \"^7.11.0\",\n \"vscode-jsonrpc\": \"8.2.1\",\n \"vscode-langservers-extracted\": \"4.10.0\",\n \"web-tree-sitter\": \"0.25.10\",\n \"which\": \"^6.0.0\",\n \"wrap-ansi\": \"^9.0.0\",\n \"yaml-language-server\": \"1.19.2\",\n \"zod\": \"^3.25.76\",\n \"zod-to-json-schema\": \"^3.24.6\"\n },\n \"devDependencies\": {\n \"@types/bun\": \"latest\",\n \"@types/jest\": \"^30.0.0\",\n \"@types/node\": \"^24.1.0\",\n \"@types/which\": \"^3.0.4\",\n \"@typescript-eslint/eslint-plugin\": \"^8.50.1\",\n \"@typescript-eslint/parser\": \"^8.50.1\",\n \"abort-controller\": \"3.0.0\",\n \"bun-types\": \"latest\",\n \"cheerio\": \"1.1.2\",\n \"esbuild\": \"^0.25.9\",\n \"eslint\": \"8.57.0\",\n \"eslint-plugin-react-hooks\": \"^7.0.1\",\n \"ink-testing-library\": \"4.0.0\",\n \"node-fetch\": \"3.3.2\",\n \"prettier\": \"^3.6.2\",\n \"react-devtools-core\": \"^7.0.1\",\n \"tree-sitter-bash\": \"0.25.1\",\n \"tree-sitter-c-sharp\": \"0.23.1\",\n \"tree-sitter-clojure\": \"0.4.0\",\n \"tree-sitter-cpp\": \"0.23.4\",\n \"tree-sitter-go\": \"0.25.0\",\n \"tree-sitter-haskell\": \"0.23.1\",\n \"tree-sitter-java\": \"0.23.5\",\n \"tree-sitter-julia\": \"0.23.1\",\n \"tree-sitter-nix\": \"0.0.2\",\n \"tree-sitter-ocaml\": \"0.24.2\",\n \"tree-sitter-python\": \"0.25.0\",\n \"tree-sitter-rust\": \"0.24.0\",\n \"tree-sitter-scala\": \"0.24.0\",\n \"tree-sitter-swift\": \"0.7.1\",\n \"tree-sitter-typescript\": \"0.23.2\",\n \"turndown\": \"7.2.2\",\n \"typescript\": \"^5.9.2\"\n },\n \"overrides\": {\n \"@aws-sdk/client-bedrock-runtime\": \"3.797.0\",\n \"@smithy/smithy-client\": \"2.5.1\",\n \"parse5-htmlparser2-tree-adapter\": \"6.0.1\"\n },\n \"optionalDependencies\": {\n \"@puyib-cli/lock-win32-x64-msvc\": \"1.4.55\",\n \"@puyib-cli/lock-win32-arm64-msvc\": \"1.4.56\",\n \"@puyib-cli/lock-linux-x64-gnu\": \"1.4.56\",\n \"@puyib-cli/lock-linux-x64-musl\": \"1.4.56\",\n \"@puyib-cli/lock-linux-arm64-gnu\": \"1.4.56\",\n \"@puyib-cli/lock-linux-armv7-gnueabihf\": \"1.4.56\",\n \"@puyib-cli/lock-darwin-x64\": \"1.4.56\",\n \"@puyib-cli/lock-darwin-arm64\": \"1.4.56\"\n },\n \"pybNativeLockPlatforms\": [\n \"win32-x64-msvc\",\n \"win32-arm64-msvc\",\n \"linux-x64-gnu\",\n \"linux-x64-musl\",\n \"linux-arm64-gnu\",\n \"linux-armv7-gnueabihf\",\n \"darwin-x64\",\n \"darwin-arm64\"\n ]\n}\n", "import pkg from '../../package.json'\n\nexport const MACRO = {\n VERSION: pkg.version,\n README_URL: 'https://github.com/pyb-xc/pyb-ts#readme',\n PACKAGE_URL: 'pybao-cli',\n ISSUES_EXPLAINER:\n 'report the issue at https://github.com/pyb-xc/pyb-ts/issues',\n}\n"],
|
|
5
5
|
"mappings": "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",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -2,13 +2,13 @@ import { createRequire as __pybCreateRequire } from "node:module";
|
|
|
2
2
|
const require = __pybCreateRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
MarketplaceManifestSchema
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-SU3DRMCQ.js";
|
|
6
6
|
import {
|
|
7
7
|
parseFrontmatter
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-T2A6HHRX.js";
|
|
9
9
|
import {
|
|
10
10
|
getCwd
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-NZCROE5X.js";
|
|
12
12
|
|
|
13
13
|
// src/services/plugins/pluginValidation.ts
|
|
14
14
|
import { existsSync, lstatSync, readFileSync } from "node:fs";
|
|
@@ -6,12 +6,12 @@ import {
|
|
|
6
6
|
} from "./chunk-XKYHFZEC.js";
|
|
7
7
|
import {
|
|
8
8
|
getGlobalConfig
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-VP2IDQGT.js";
|
|
10
10
|
import {
|
|
11
11
|
debug,
|
|
12
12
|
getCurrentRequest,
|
|
13
13
|
logAPIError
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-N775QA2Y.js";
|
|
15
15
|
|
|
16
16
|
// src/services/ai/openai.ts
|
|
17
17
|
import { ProxyAgent, fetch } from "undici";
|
|
@@ -5,12 +5,12 @@ import {
|
|
|
5
5
|
} from "./chunk-BJSWTHRM.js";
|
|
6
6
|
import {
|
|
7
7
|
debug
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-N775QA2Y.js";
|
|
9
9
|
import {
|
|
10
10
|
getCwd,
|
|
11
11
|
logError,
|
|
12
12
|
resolveXdgDataPath
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-NZCROE5X.js";
|
|
14
14
|
|
|
15
15
|
// src/services/plugins/customCommands.ts
|
|
16
16
|
import { existsSync, readFileSync, readdirSync, statSync } from "fs";
|
|
@@ -2,11 +2,11 @@ import { createRequire as __pybCreateRequire } from "node:module";
|
|
|
2
2
|
const require = __pybCreateRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
listAllContentFiles
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-2O3X5IWT.js";
|
|
6
6
|
import {
|
|
7
7
|
getCwd,
|
|
8
8
|
logError
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-NZCROE5X.js";
|
|
10
10
|
|
|
11
11
|
// src/utils/fs/file.ts
|
|
12
12
|
import {
|
|
@@ -33,57 +33,57 @@ import {
|
|
|
33
33
|
runWithTaskListEnv,
|
|
34
34
|
runWithTaskListId,
|
|
35
35
|
updateTask
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-OXIP2DAD.js";
|
|
37
37
|
import {
|
|
38
38
|
queryLLM
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-OOLRCWS2.js";
|
|
40
40
|
import {
|
|
41
41
|
FallbackToolUseRejectedMessage,
|
|
42
42
|
MCPTool,
|
|
43
43
|
getClients,
|
|
44
44
|
getMCPTools
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-XBM24YJM.js";
|
|
46
46
|
import {
|
|
47
47
|
emitReminderEvent
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-X472W3BH.js";
|
|
49
49
|
import {
|
|
50
50
|
getActiveAgents,
|
|
51
51
|
getAgentByType,
|
|
52
52
|
getAvailableAgentTypes
|
|
53
|
-
} from "./chunk-
|
|
53
|
+
} from "./chunk-7UFU3WAO.js";
|
|
54
54
|
import {
|
|
55
55
|
INTERRUPT_MESSAGE,
|
|
56
56
|
createAssistantMessage,
|
|
57
57
|
createUserMessage,
|
|
58
58
|
getLastAssistantMessageId
|
|
59
|
-
} from "./chunk-
|
|
59
|
+
} from "./chunk-LZV5TCLM.js";
|
|
60
60
|
import {
|
|
61
61
|
formatDuration,
|
|
62
62
|
formatNumber
|
|
63
63
|
} from "./chunk-OUXHGDLH.js";
|
|
64
64
|
import {
|
|
65
65
|
getAbsolutePath
|
|
66
|
-
} from "./chunk-
|
|
66
|
+
} from "./chunk-TOHWB6HI.js";
|
|
67
67
|
import {
|
|
68
68
|
LspFacade,
|
|
69
69
|
formatDiagnosticsPretty
|
|
70
|
-
} from "./chunk-
|
|
70
|
+
} from "./chunk-XYYAVY4Z.js";
|
|
71
71
|
import {
|
|
72
72
|
getModelManager
|
|
73
|
-
} from "./chunk-
|
|
73
|
+
} from "./chunk-GSPJ4GS3.js";
|
|
74
74
|
import {
|
|
75
75
|
getContext
|
|
76
|
-
} from "./chunk-
|
|
76
|
+
} from "./chunk-Z3VN6WKQ.js";
|
|
77
77
|
import {
|
|
78
78
|
filesToTree,
|
|
79
79
|
ripGrepWithStatus
|
|
80
|
-
} from "./chunk-
|
|
80
|
+
} from "./chunk-2O3X5IWT.js";
|
|
81
81
|
import {
|
|
82
82
|
getTheme
|
|
83
|
-
} from "./chunk-
|
|
83
|
+
} from "./chunk-3JIUIDM2.js";
|
|
84
84
|
import {
|
|
85
85
|
debug
|
|
86
|
-
} from "./chunk-
|
|
86
|
+
} from "./chunk-N775QA2Y.js";
|
|
87
87
|
import {
|
|
88
88
|
BunShell,
|
|
89
89
|
getCwd,
|
|
@@ -94,7 +94,7 @@ import {
|
|
|
94
94
|
overwriteLog,
|
|
95
95
|
readTaskOutput,
|
|
96
96
|
resolveXdgDataPath
|
|
97
|
-
} from "./chunk-
|
|
97
|
+
} from "./chunk-NZCROE5X.js";
|
|
98
98
|
|
|
99
99
|
// src/tools/index.ts
|
|
100
100
|
import { memoize as memoize2 } from "lodash-es";
|
|
@@ -773,7 +773,7 @@ async function analyzeOutputWithLsp(output, exitCode) {
|
|
|
773
773
|
if (exitCode !== 0 || errorCount > 0 || warningCount > 0) {
|
|
774
774
|
try {
|
|
775
775
|
const { isAbsolute: isAbsolute3, resolve: resolve4 } = await import("path");
|
|
776
|
-
const { getSessionRoot: getSessionRoot2 } = await import("./state-
|
|
776
|
+
const { getSessionRoot: getSessionRoot2 } = await import("./state-GXNXV4HP.js");
|
|
777
777
|
const lines = output.split("\n");
|
|
778
778
|
const uniqueFiles = /* @__PURE__ */ new Set();
|
|
779
779
|
const lspSuggestions = [];
|
|
@@ -1146,7 +1146,7 @@ var DeleteTool = {
|
|
|
1146
1146
|
}
|
|
1147
1147
|
if (!force) {
|
|
1148
1148
|
try {
|
|
1149
|
-
const { LspFacade: LspFacade2 } = await import("./lsp-
|
|
1149
|
+
const { LspFacade: LspFacade2 } = await import("./lsp-LZ2FQAEJ.js");
|
|
1150
1150
|
const referenceDetail = await LspFacade2.checkFileReferences(fullPath);
|
|
1151
1151
|
if (referenceDetail) {
|
|
1152
1152
|
failedItems.push(
|
|
@@ -4,10 +4,10 @@ import {
|
|
|
4
4
|
PRODUCT_NAME,
|
|
5
5
|
execFileNoThrow,
|
|
6
6
|
logError
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-NZCROE5X.js";
|
|
8
8
|
import {
|
|
9
9
|
MACRO
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-PRBRDV6D.js";
|
|
11
11
|
|
|
12
12
|
// src/utils/session/autoUpdater.ts
|
|
13
13
|
async function getSemver() {
|
|
@@ -82,7 +82,7 @@ async function checkAndNotifyUpdate() {
|
|
|
82
82
|
const [
|
|
83
83
|
{ isAutoUpdaterDisabled, getGlobalConfig, saveGlobalConfig },
|
|
84
84
|
{ env }
|
|
85
|
-
] = await Promise.all([import("./config-
|
|
85
|
+
] = await Promise.all([import("./config-ZQSF7J7M.js"), import("./env-PR3XNREC.js")]);
|
|
86
86
|
if (await isAutoUpdaterDisabled()) return;
|
|
87
87
|
if (await env.getIsDocker()) return;
|
|
88
88
|
if (!await env.hasInternetAccess()) return;
|
|
@@ -5,13 +5,13 @@ import {
|
|
|
5
5
|
} from "./chunk-RQVLBMP7.js";
|
|
6
6
|
import {
|
|
7
7
|
debug
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-N775QA2Y.js";
|
|
9
9
|
import {
|
|
10
10
|
getCwd,
|
|
11
11
|
getGlobalConfigFilePath,
|
|
12
12
|
getLegacyGlobalConfigFilePath,
|
|
13
13
|
logError
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-NZCROE5X.js";
|
|
15
15
|
|
|
16
16
|
// src/core/config/schema.ts
|
|
17
17
|
function isAutoUpdaterStatus(value) {
|
|
@@ -688,7 +688,7 @@ function setModelPointer(pointer, modelName) {
|
|
|
688
688
|
}
|
|
689
689
|
};
|
|
690
690
|
saveGlobalConfig(updatedConfig);
|
|
691
|
-
import("./model-
|
|
691
|
+
import("./model-KSBEHTGQ.js").then(({ reloadModelManager }) => {
|
|
692
692
|
reloadModelManager();
|
|
693
693
|
});
|
|
694
694
|
}
|
|
@@ -2,7 +2,7 @@ import { createRequire as __pybCreateRequire } from "node:module";
|
|
|
2
2
|
const require = __pybCreateRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
getSessionProjectDir
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-CLFHJB6G.js";
|
|
6
6
|
import {
|
|
7
7
|
isUuid
|
|
8
8
|
} from "./chunk-5P7HBXTD.js";
|
|
@@ -2,10 +2,10 @@ import { createRequire as __pybCreateRequire } from "node:module";
|
|
|
2
2
|
const require = __pybCreateRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
debug
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-N775QA2Y.js";
|
|
6
6
|
import {
|
|
7
7
|
logError
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-NZCROE5X.js";
|
|
9
9
|
|
|
10
10
|
// src/services/system/systemReminder.ts
|
|
11
11
|
var SystemReminderService = class {
|
|
@@ -3,13 +3,13 @@ const require = __pybCreateRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
getSettingsFileCandidates,
|
|
5
5
|
loadSettingsWithLegacyFallback
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-ZXIIV7IC.js";
|
|
7
7
|
import {
|
|
8
8
|
getSessionPlugins
|
|
9
9
|
} from "./chunk-BJSWTHRM.js";
|
|
10
10
|
import {
|
|
11
11
|
getTheme
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-3JIUIDM2.js";
|
|
13
13
|
import {
|
|
14
14
|
addMcprcServerForTesting,
|
|
15
15
|
getCurrentProjectConfig,
|
|
@@ -19,13 +19,13 @@ import {
|
|
|
19
19
|
safeParseJSON,
|
|
20
20
|
saveCurrentProjectConfig,
|
|
21
21
|
saveGlobalConfig
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-VP2IDQGT.js";
|
|
23
23
|
import {
|
|
24
24
|
PRODUCT_COMMAND,
|
|
25
25
|
PRODUCT_NAME,
|
|
26
26
|
getCwd,
|
|
27
27
|
logMCPError
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-NZCROE5X.js";
|
|
29
29
|
|
|
30
30
|
// src/services/mcp/client.ts
|
|
31
31
|
import { existsSync as existsSync2, readFileSync as readFileSync2 } from "fs";
|