pybao-cli 1.4.39 → 1.4.41
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-X37QFHMY.js +47 -0
- package/dist/{acp-6LBQJVMX.js → acp-YPG3ODYW.js} +29 -29
- package/dist/{agentsValidate-SLBW2ESZ.js → agentsValidate-3UWY6SGZ.js} +7 -7
- package/dist/{ask-DB4F3WJG.js → ask-KPWV37T5.js} +28 -28
- package/dist/{autoUpdater-CYDJVIEC.js → autoUpdater-J45KPDGS.js} +3 -3
- package/dist/{chunk-HD4IO3I5.js → chunk-2L67XJY6.js} +60 -66
- package/dist/{chunk-HD4IO3I5.js.map → chunk-2L67XJY6.js.map} +2 -2
- package/dist/{chunk-3LNPU7WH.js → chunk-3KC257RS.js} +3 -3
- package/dist/{chunk-KWPH7MSB.js → chunk-4663HA7W.js} +1 -1
- package/dist/{chunk-DLBWS3IW.js → chunk-5AQPEKHM.js} +1 -1
- package/dist/{chunk-AI7FJQR4.js → chunk-6K3ESUEV.js} +111 -25
- package/dist/chunk-6K3ESUEV.js.map +7 -0
- package/dist/{chunk-GD43B2GV.js → chunk-6SRKKJNO.js} +1 -1
- package/dist/{chunk-UK4IHZU3.js → chunk-ABCEGXO7.js} +2 -2
- package/dist/{chunk-VHTIDAOJ.js → chunk-AOK6U7U7.js} +2 -2
- package/dist/{chunk-O5OT26P6.js → chunk-BDM7IINE.js} +1 -1
- package/dist/{chunk-TNAAGT3Q.js → chunk-BEP5VFCR.js} +3 -3
- package/dist/{chunk-RS2N2KBH.js → chunk-EADYBO22.js} +37 -45
- package/dist/{chunk-RS2N2KBH.js.map → chunk-EADYBO22.js.map} +2 -2
- package/dist/{chunk-ZGVGFR4C.js → chunk-FJBRBBAE.js} +1 -1
- package/dist/{chunk-E5EB22W4.js → chunk-GS2HTCOK.js} +4 -4
- package/dist/{chunk-7WCSSH3C.js → chunk-GW3QUBEN.js} +3 -3
- package/dist/{chunk-YJ2WXW2J.js → chunk-HC2UA3UA.js} +3 -3
- package/dist/{chunk-SBPVAFBQ.js → chunk-HSV2W6ZE.js} +2 -2
- package/dist/{chunk-VXQMCAPS.js → chunk-IGU3SZC3.js} +1 -1
- package/dist/{chunk-GXHSGPIF.js → chunk-IGYIVSD4.js} +4 -4
- package/dist/{chunk-4LXZDGCO.js → chunk-IZJC66JK.js} +3 -3
- package/dist/{chunk-6KSM5M7T.js → chunk-JF3APTJS.js} +1 -1
- package/dist/{chunk-7TGWBYFN.js → chunk-LQC2XIQ5.js} +4 -4
- package/dist/{chunk-GL3ZM7F3.js → chunk-MAQDSC4C.js} +3 -3
- package/dist/{chunk-DEYAAT6H.js → chunk-MKPXX4RV.js} +3 -3
- package/dist/{chunk-NMJYV37P.js → chunk-MMRONBNC.js} +2 -2
- package/dist/{chunk-VFQU3JSH.js → chunk-OS26ZCWF.js} +4 -4
- package/dist/{chunk-NNE44UHQ.js → chunk-UAFVGOA7.js} +2 -2
- package/dist/{chunk-N4GXGPVA.js → chunk-VCXKB4QH.js} +1 -1
- package/dist/{chunk-UUWI4VWU.js → chunk-Y4R6A5ZF.js} +1 -1
- package/dist/{chunk-UUWI4VWU.js.map → chunk-Y4R6A5ZF.js.map} +1 -1
- package/dist/{chunk-KNLFFHBT.js → chunk-Z7JVH236.js} +2 -2
- package/dist/{chunk-SSKQUKI7.js → chunk-ZQQ56UGL.js} +1 -1
- package/dist/{cli-FMCSS5QE.js → cli-PGYIYYGL.js} +106 -87
- package/dist/cli-PGYIYYGL.js.map +7 -0
- package/dist/commands-3QMEPLJI.js +51 -0
- package/dist/{config-YRHKZJO6.js → config-SRARC4UV.js} +4 -4
- package/dist/{context-ZZO64MRN.js → context-LYZN2WOR.js} +6 -6
- package/dist/{customCommands-2S7LYMG7.js → customCommands-G64J6TJU.js} +4 -4
- package/dist/{env-PQDRZBAW.js → env-NRGZD37J.js} +2 -2
- package/dist/{file-X7BE3MNR.js → file-B7ZHCEOY.js} +4 -4
- package/dist/index.js +3 -3
- package/dist/{llm-3KCTIVOM.js → llm-FB3ZW3AI.js} +29 -29
- package/dist/{llmLazy-HCTXTHRZ.js → llmLazy-DHIZM4VB.js} +1 -1
- package/dist/{loader-DKMJSH4V.js → loader-G4RUXY5F.js} +4 -4
- package/dist/{lsp-IXEAYT4K.js → lsp-G7G7KQ6Z.js} +6 -6
- package/dist/{lspAnchor-FKXOKCQZ.js → lspAnchor-4XUNRJYJ.js} +6 -6
- package/dist/{mcp-ZUJD3E4V.js → mcp-GP2OY5CW.js} +7 -7
- package/dist/{mentionProcessor-7GXI47P3.js → mentionProcessor-5VND2CWI.js} +6 -6
- package/dist/{messages-55HNRTQC.js → messages-DJTPGO5G.js} +1 -1
- package/dist/{model-R5X6XP7I.js → model-FY7P6LPI.js} +5 -5
- package/dist/{openai-FM7DX3GB.js → openai-R5JKUS7L.js} +5 -5
- package/dist/{outputStyles-ZLGIDCCJ.js → outputStyles-XPOEKV5L.js} +4 -4
- package/dist/{pluginRuntime-REF3E5F5.js → pluginRuntime-PLWSOKAW.js} +6 -6
- package/dist/{pluginValidation-E33USDYW.js → pluginValidation-M57BSDWY.js} +6 -6
- package/dist/prompts-V55TE46Y.js +53 -0
- package/dist/{pybAgentSessionLoad-PGTH6SZH.js → pybAgentSessionLoad-IDJQMXK3.js} +4 -4
- package/dist/{pybAgentSessionResume-IVBY65PN.js → pybAgentSessionResume-U2LJH3AF.js} +4 -4
- package/dist/{pybAgentStreamJsonSession-N2Q6LQHX.js → pybAgentStreamJsonSession-F2QIUJBH.js} +1 -1
- package/dist/{pybHooks-WIA5KKVN.js → pybHooks-KYHGMDRK.js} +4 -4
- package/dist/query-7J3FFRIB.js +55 -0
- package/dist/{registry-PT3XVAT6.js → registry-I5LJ4C6T.js} +5 -5
- package/dist/{ripgrep-2VWCSPH4.js → ripgrep-7AN4NOC7.js} +3 -3
- package/dist/{skillMarketplace-NHPAPZTS.js → skillMarketplace-Z7R6YX7F.js} +3 -3
- package/dist/{state-4AIVX6VM.js → state-DEPXOXNL.js} +2 -2
- package/dist/{theme-LKZFY5TU.js → theme-HXJ2OXED.js} +5 -5
- package/dist/{toolPermissionSettings-OVFT6D3R.js → toolPermissionSettings-4LMPOZYV.js} +6 -6
- package/dist/tools-FCGNXBLR.js +52 -0
- package/dist/{userInput-RHGZ225B.js → userInput-BYJMHASU.js} +30 -30
- package/package.json +1 -1
- package/dist/REPL-N62XVC35.js +0 -47
- package/dist/chunk-AI7FJQR4.js.map +0 -7
- package/dist/cli-FMCSS5QE.js.map +0 -7
- package/dist/commands-IJTOU4P3.js +0 -51
- package/dist/prompts-W7TUXY74.js +0 -53
- package/dist/query-BTG2T7NV.js +0 -55
- package/dist/tools-6ONPKOSL.js +0 -52
- /package/dist/{REPL-N62XVC35.js.map → REPL-X37QFHMY.js.map} +0 -0
- /package/dist/{acp-6LBQJVMX.js.map → acp-YPG3ODYW.js.map} +0 -0
- /package/dist/{agentsValidate-SLBW2ESZ.js.map → agentsValidate-3UWY6SGZ.js.map} +0 -0
- /package/dist/{ask-DB4F3WJG.js.map → ask-KPWV37T5.js.map} +0 -0
- /package/dist/{autoUpdater-CYDJVIEC.js.map → autoUpdater-J45KPDGS.js.map} +0 -0
- /package/dist/{chunk-3LNPU7WH.js.map → chunk-3KC257RS.js.map} +0 -0
- /package/dist/{chunk-KWPH7MSB.js.map → chunk-4663HA7W.js.map} +0 -0
- /package/dist/{chunk-DLBWS3IW.js.map → chunk-5AQPEKHM.js.map} +0 -0
- /package/dist/{chunk-GD43B2GV.js.map → chunk-6SRKKJNO.js.map} +0 -0
- /package/dist/{chunk-UK4IHZU3.js.map → chunk-ABCEGXO7.js.map} +0 -0
- /package/dist/{chunk-VHTIDAOJ.js.map → chunk-AOK6U7U7.js.map} +0 -0
- /package/dist/{chunk-O5OT26P6.js.map → chunk-BDM7IINE.js.map} +0 -0
- /package/dist/{chunk-TNAAGT3Q.js.map → chunk-BEP5VFCR.js.map} +0 -0
- /package/dist/{chunk-ZGVGFR4C.js.map → chunk-FJBRBBAE.js.map} +0 -0
- /package/dist/{chunk-E5EB22W4.js.map → chunk-GS2HTCOK.js.map} +0 -0
- /package/dist/{chunk-7WCSSH3C.js.map → chunk-GW3QUBEN.js.map} +0 -0
- /package/dist/{chunk-YJ2WXW2J.js.map → chunk-HC2UA3UA.js.map} +0 -0
- /package/dist/{chunk-SBPVAFBQ.js.map → chunk-HSV2W6ZE.js.map} +0 -0
- /package/dist/{chunk-VXQMCAPS.js.map → chunk-IGU3SZC3.js.map} +0 -0
- /package/dist/{chunk-GXHSGPIF.js.map → chunk-IGYIVSD4.js.map} +0 -0
- /package/dist/{chunk-4LXZDGCO.js.map → chunk-IZJC66JK.js.map} +0 -0
- /package/dist/{chunk-6KSM5M7T.js.map → chunk-JF3APTJS.js.map} +0 -0
- /package/dist/{chunk-7TGWBYFN.js.map → chunk-LQC2XIQ5.js.map} +0 -0
- /package/dist/{chunk-GL3ZM7F3.js.map → chunk-MAQDSC4C.js.map} +0 -0
- /package/dist/{chunk-DEYAAT6H.js.map → chunk-MKPXX4RV.js.map} +0 -0
- /package/dist/{chunk-NMJYV37P.js.map → chunk-MMRONBNC.js.map} +0 -0
- /package/dist/{chunk-VFQU3JSH.js.map → chunk-OS26ZCWF.js.map} +0 -0
- /package/dist/{chunk-NNE44UHQ.js.map → chunk-UAFVGOA7.js.map} +0 -0
- /package/dist/{chunk-N4GXGPVA.js.map → chunk-VCXKB4QH.js.map} +0 -0
- /package/dist/{chunk-KNLFFHBT.js.map → chunk-Z7JVH236.js.map} +0 -0
- /package/dist/{chunk-SSKQUKI7.js.map → chunk-ZQQ56UGL.js.map} +0 -0
- /package/dist/{commands-IJTOU4P3.js.map → commands-3QMEPLJI.js.map} +0 -0
- /package/dist/{config-YRHKZJO6.js.map → config-SRARC4UV.js.map} +0 -0
- /package/dist/{context-ZZO64MRN.js.map → context-LYZN2WOR.js.map} +0 -0
- /package/dist/{customCommands-2S7LYMG7.js.map → customCommands-G64J6TJU.js.map} +0 -0
- /package/dist/{env-PQDRZBAW.js.map → env-NRGZD37J.js.map} +0 -0
- /package/dist/{file-X7BE3MNR.js.map → file-B7ZHCEOY.js.map} +0 -0
- /package/dist/{llm-3KCTIVOM.js.map → llm-FB3ZW3AI.js.map} +0 -0
- /package/dist/{llmLazy-HCTXTHRZ.js.map → llmLazy-DHIZM4VB.js.map} +0 -0
- /package/dist/{loader-DKMJSH4V.js.map → loader-G4RUXY5F.js.map} +0 -0
- /package/dist/{lsp-IXEAYT4K.js.map → lsp-G7G7KQ6Z.js.map} +0 -0
- /package/dist/{lspAnchor-FKXOKCQZ.js.map → lspAnchor-4XUNRJYJ.js.map} +0 -0
- /package/dist/{mcp-ZUJD3E4V.js.map → mcp-GP2OY5CW.js.map} +0 -0
- /package/dist/{mentionProcessor-7GXI47P3.js.map → mentionProcessor-5VND2CWI.js.map} +0 -0
- /package/dist/{messages-55HNRTQC.js.map → messages-DJTPGO5G.js.map} +0 -0
- /package/dist/{model-R5X6XP7I.js.map → model-FY7P6LPI.js.map} +0 -0
- /package/dist/{openai-FM7DX3GB.js.map → openai-R5JKUS7L.js.map} +0 -0
- /package/dist/{outputStyles-ZLGIDCCJ.js.map → outputStyles-XPOEKV5L.js.map} +0 -0
- /package/dist/{pluginRuntime-REF3E5F5.js.map → pluginRuntime-PLWSOKAW.js.map} +0 -0
- /package/dist/{pluginValidation-E33USDYW.js.map → pluginValidation-M57BSDWY.js.map} +0 -0
- /package/dist/{prompts-W7TUXY74.js.map → prompts-V55TE46Y.js.map} +0 -0
- /package/dist/{pybAgentSessionLoad-PGTH6SZH.js.map → pybAgentSessionLoad-IDJQMXK3.js.map} +0 -0
- /package/dist/{pybAgentSessionResume-IVBY65PN.js.map → pybAgentSessionResume-U2LJH3AF.js.map} +0 -0
- /package/dist/{pybAgentStreamJsonSession-N2Q6LQHX.js.map → pybAgentStreamJsonSession-F2QIUJBH.js.map} +0 -0
- /package/dist/{pybHooks-WIA5KKVN.js.map → pybHooks-KYHGMDRK.js.map} +0 -0
- /package/dist/{query-BTG2T7NV.js.map → query-7J3FFRIB.js.map} +0 -0
- /package/dist/{registry-PT3XVAT6.js.map → registry-I5LJ4C6T.js.map} +0 -0
- /package/dist/{ripgrep-2VWCSPH4.js.map → ripgrep-7AN4NOC7.js.map} +0 -0
- /package/dist/{skillMarketplace-NHPAPZTS.js.map → skillMarketplace-Z7R6YX7F.js.map} +0 -0
- /package/dist/{state-4AIVX6VM.js.map → state-DEPXOXNL.js.map} +0 -0
- /package/dist/{theme-LKZFY5TU.js.map → theme-HXJ2OXED.js.map} +0 -0
- /package/dist/{toolPermissionSettings-OVFT6D3R.js.map → toolPermissionSettings-4LMPOZYV.js.map} +0 -0
- /package/dist/{tools-6ONPKOSL.js.map → tools-FCGNXBLR.js.map} +0 -0
- /package/dist/{userInput-RHGZ225B.js.map → userInput-BYJMHASU.js.map} +0 -0
|
@@ -3,18 +3,18 @@ const require = __pybCreateRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
formatValidationResult,
|
|
5
5
|
validatePluginOrMarketplacePath
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-HC2UA3UA.js";
|
|
7
7
|
import {
|
|
8
8
|
loadPybAgentSessionMessages
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-4663HA7W.js";
|
|
10
10
|
import {
|
|
11
11
|
listPybAgentSessions
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-ZQQ56UGL.js";
|
|
13
13
|
import {
|
|
14
14
|
appendSessionCustomTitleRecord,
|
|
15
15
|
appendSessionJsonlFromMessage,
|
|
16
16
|
appendSessionTagRecord
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-UAFVGOA7.js";
|
|
18
18
|
import {
|
|
19
19
|
drainHookSystemPromptAdditions,
|
|
20
20
|
getHookTranscriptPath,
|
|
@@ -26,7 +26,7 @@ import {
|
|
|
26
26
|
runStopHooks,
|
|
27
27
|
runUserPromptSubmitHooks,
|
|
28
28
|
updateHookTranscriptForMessages
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-MKPXX4RV.js";
|
|
30
30
|
import {
|
|
31
31
|
DEFAULT_OUTPUT_STYLE,
|
|
32
32
|
getAvailableOutputStyles,
|
|
@@ -35,16 +35,16 @@ import {
|
|
|
35
35
|
getOutputStyleSystemPromptAdditions,
|
|
36
36
|
resolveOutputStyleName,
|
|
37
37
|
setCurrentOutputStyle
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-AOK6U7U7.js";
|
|
39
39
|
import {
|
|
40
40
|
fetchCustomModels,
|
|
41
41
|
getModelFeatures
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-ABCEGXO7.js";
|
|
43
43
|
import {
|
|
44
44
|
queryLLM,
|
|
45
45
|
queryQuick,
|
|
46
46
|
verifyApiKey
|
|
47
|
-
} from "./chunk-
|
|
47
|
+
} from "./chunk-GS2HTCOK.js";
|
|
48
48
|
import {
|
|
49
49
|
DEFAULT_TIMEOUT_MS,
|
|
50
50
|
FallbackToolUseRejectedMessage,
|
|
@@ -58,7 +58,7 @@ import {
|
|
|
58
58
|
listMCPServers,
|
|
59
59
|
loadMergedSettings,
|
|
60
60
|
normalizeSandboxRuntimeConfigFromSettings
|
|
61
|
-
} from "./chunk-
|
|
61
|
+
} from "./chunk-OS26ZCWF.js";
|
|
62
62
|
import {
|
|
63
63
|
addMarketplace,
|
|
64
64
|
disableSkillPlugin,
|
|
@@ -71,11 +71,11 @@ import {
|
|
|
71
71
|
refreshMarketplaceAsync,
|
|
72
72
|
removeMarketplace,
|
|
73
73
|
uninstallSkillPlugin
|
|
74
|
-
} from "./chunk-
|
|
74
|
+
} from "./chunk-IGU3SZC3.js";
|
|
75
75
|
import {
|
|
76
76
|
loadToolPermissionContextFromDisk,
|
|
77
77
|
persistToolPermissionUpdateToDisk
|
|
78
|
-
} from "./chunk-
|
|
78
|
+
} from "./chunk-GW3QUBEN.js";
|
|
79
79
|
import {
|
|
80
80
|
applyToolPermissionContextUpdate,
|
|
81
81
|
applyToolPermissionContextUpdates,
|
|
@@ -95,7 +95,7 @@ import {
|
|
|
95
95
|
setTodos,
|
|
96
96
|
syncTodosToTasks,
|
|
97
97
|
systemReminderService
|
|
98
|
-
} from "./chunk-
|
|
98
|
+
} from "./chunk-6K3ESUEV.js";
|
|
99
99
|
import {
|
|
100
100
|
getSessionState
|
|
101
101
|
} from "./chunk-ERMQRV55.js";
|
|
@@ -104,7 +104,7 @@ import {
|
|
|
104
104
|
getActiveAgents,
|
|
105
105
|
getAgentByType,
|
|
106
106
|
getAllAgents
|
|
107
|
-
} from "./chunk-
|
|
107
|
+
} from "./chunk-Z7JVH236.js";
|
|
108
108
|
import {
|
|
109
109
|
API_ERROR_MESSAGE_PREFIX,
|
|
110
110
|
CANCEL_MESSAGE,
|
|
@@ -134,7 +134,7 @@ import {
|
|
|
134
134
|
processUserInput,
|
|
135
135
|
reorderMessages,
|
|
136
136
|
stripSystemMessages
|
|
137
|
-
} from "./chunk-
|
|
137
|
+
} from "./chunk-5AQPEKHM.js";
|
|
138
138
|
import {
|
|
139
139
|
getRequestStatus,
|
|
140
140
|
setRequestStatus,
|
|
@@ -164,7 +164,7 @@ import {
|
|
|
164
164
|
normalizeFilePath,
|
|
165
165
|
readTextContent,
|
|
166
166
|
writeTextContent
|
|
167
|
-
} from "./chunk-
|
|
167
|
+
} from "./chunk-MMRONBNC.js";
|
|
168
168
|
import {
|
|
169
169
|
parseBlockEdits
|
|
170
170
|
} from "./chunk-QWIBSCDN.js";
|
|
@@ -174,18 +174,18 @@ import {
|
|
|
174
174
|
ParserRegistry,
|
|
175
175
|
initParser,
|
|
176
176
|
loadLanguage
|
|
177
|
-
} from "./chunk-
|
|
177
|
+
} from "./chunk-LQC2XIQ5.js";
|
|
178
178
|
import {
|
|
179
179
|
getSettingsFileCandidates,
|
|
180
180
|
loadSettingsWithLegacyFallback,
|
|
181
181
|
readSettingsFile
|
|
182
|
-
} from "./chunk-
|
|
182
|
+
} from "./chunk-VCXKB4QH.js";
|
|
183
183
|
import {
|
|
184
184
|
getCustomCommandDirectories,
|
|
185
185
|
hasCustomCommands,
|
|
186
186
|
loadCustomCommands,
|
|
187
187
|
reloadCustomCommands
|
|
188
|
-
} from "./chunk-
|
|
188
|
+
} from "./chunk-HSV2W6ZE.js";
|
|
189
189
|
import {
|
|
190
190
|
getSessionPlugins
|
|
191
191
|
} from "./chunk-BJSWTHRM.js";
|
|
@@ -193,7 +193,7 @@ import {
|
|
|
193
193
|
ModelManager,
|
|
194
194
|
getModelManager,
|
|
195
195
|
isDefaultSlowAndCapableModel
|
|
196
|
-
} from "./chunk-
|
|
196
|
+
} from "./chunk-IZJC66JK.js";
|
|
197
197
|
import {
|
|
198
198
|
getCodeStyle,
|
|
199
199
|
getContext,
|
|
@@ -201,13 +201,13 @@ import {
|
|
|
201
201
|
getIsGit,
|
|
202
202
|
getProjectDocs,
|
|
203
203
|
getProjectStructureStatisticsBlock
|
|
204
|
-
} from "./chunk-
|
|
204
|
+
} from "./chunk-IGYIVSD4.js";
|
|
205
205
|
import {
|
|
206
206
|
ripGrep
|
|
207
|
-
} from "./chunk-
|
|
207
|
+
} from "./chunk-JF3APTJS.js";
|
|
208
208
|
import {
|
|
209
209
|
getTheme
|
|
210
|
-
} from "./chunk-
|
|
210
|
+
} from "./chunk-6SRKKJNO.js";
|
|
211
211
|
import {
|
|
212
212
|
DEFAULT_GLOBAL_CONFIG,
|
|
213
213
|
enableConfigs,
|
|
@@ -220,7 +220,7 @@ import {
|
|
|
220
220
|
saveGlobalConfig,
|
|
221
221
|
setAllPointersToModel,
|
|
222
222
|
setModelPointer
|
|
223
|
-
} from "./chunk-
|
|
223
|
+
} from "./chunk-BEP5VFCR.js";
|
|
224
224
|
import {
|
|
225
225
|
AbortError
|
|
226
226
|
} from "./chunk-RQVLBMP7.js";
|
|
@@ -229,7 +229,7 @@ import {
|
|
|
229
229
|
getCurrentRequest,
|
|
230
230
|
logUserFriendly,
|
|
231
231
|
markPhase
|
|
232
|
-
} from "./chunk-
|
|
232
|
+
} from "./chunk-BDM7IINE.js";
|
|
233
233
|
import {
|
|
234
234
|
ASCII_LOGO,
|
|
235
235
|
BunShell,
|
|
@@ -270,10 +270,10 @@ import {
|
|
|
270
270
|
setCwd,
|
|
271
271
|
shouldApplyToolOutputTruncation,
|
|
272
272
|
truncateToolOutput
|
|
273
|
-
} from "./chunk-
|
|
273
|
+
} from "./chunk-FJBRBBAE.js";
|
|
274
274
|
import {
|
|
275
275
|
MACRO
|
|
276
|
-
} from "./chunk-
|
|
276
|
+
} from "./chunk-Y4R6A5ZF.js";
|
|
277
277
|
import {
|
|
278
278
|
__export
|
|
279
279
|
} from "./chunk-I3J4JYES.js";
|
|
@@ -454,7 +454,7 @@ var getCommandSubcommandPrefix = memoize(
|
|
|
454
454
|
var getCommandPrefix = memoize(
|
|
455
455
|
async (command4, abortSignal) => {
|
|
456
456
|
const { systemPrompt, userPrompt } = buildBashCommandPrefixDetectionPrompt(command4);
|
|
457
|
-
const { API_ERROR_MESSAGE_PREFIX: API_ERROR_MESSAGE_PREFIX2, queryQuick: queryQuick2 } = await import("./llm-
|
|
457
|
+
const { API_ERROR_MESSAGE_PREFIX: API_ERROR_MESSAGE_PREFIX2, queryQuick: queryQuick2 } = await import("./llm-FB3ZW3AI.js");
|
|
458
458
|
const response = await queryQuick2({
|
|
459
459
|
systemPrompt,
|
|
460
460
|
userPrompt,
|
|
@@ -4256,7 +4256,7 @@ function formatParseError(error) {
|
|
|
4256
4256
|
return error instanceof Error ? error.message : String(error);
|
|
4257
4257
|
}
|
|
4258
4258
|
async function defaultGateQuery(args) {
|
|
4259
|
-
const { API_ERROR_MESSAGE_PREFIX: API_ERROR_MESSAGE_PREFIX2, queryLLM: queryLLM2 } = await import("./llm-
|
|
4259
|
+
const { API_ERROR_MESSAGE_PREFIX: API_ERROR_MESSAGE_PREFIX2, queryLLM: queryLLM2 } = await import("./llm-FB3ZW3AI.js");
|
|
4260
4260
|
const queryLLMFn = args.queryLLMOverride ?? queryLLM2;
|
|
4261
4261
|
const messages = [
|
|
4262
4262
|
{
|
|
@@ -6571,7 +6571,7 @@ var FileEditTool = {
|
|
|
6571
6571
|
const originalFileContent = currentFileContent;
|
|
6572
6572
|
let totalPatch = [];
|
|
6573
6573
|
const { SmartEdit } = await import("./smart-edit-AWHJDSU6.js");
|
|
6574
|
-
const { findLspAnchor } = await import("./lspAnchor-
|
|
6574
|
+
const { findLspAnchor } = await import("./lspAnchor-4XUNRJYJ.js");
|
|
6575
6575
|
for (const op of editOperations) {
|
|
6576
6576
|
const normalizedSearch = normalizeLineEndings(op.search);
|
|
6577
6577
|
const normalizedReplace = normalizeLineEndings(op.replace);
|
|
@@ -11206,7 +11206,7 @@ async function createAndStoreApiKey(accessToken) {
|
|
|
11206
11206
|
}
|
|
11207
11207
|
saveGlobalConfig(config2);
|
|
11208
11208
|
try {
|
|
11209
|
-
const { resetAnthropicClient } = await import("./llm-
|
|
11209
|
+
const { resetAnthropicClient } = await import("./llm-FB3ZW3AI.js");
|
|
11210
11210
|
resetAnthropicClient();
|
|
11211
11211
|
} catch {
|
|
11212
11212
|
}
|
|
@@ -15488,7 +15488,7 @@ async function refreshPluginRuntimeFromInstalls() {
|
|
|
15488
15488
|
const existingRoots = getSessionPlugins().map((p) => p.rootDir);
|
|
15489
15489
|
const dirs = Array.from(/* @__PURE__ */ new Set([...existingRoots, ...installedRoots]));
|
|
15490
15490
|
if (dirs.length === 0) return [];
|
|
15491
|
-
const { configureSessionPlugins } = await import("./pluginRuntime-
|
|
15491
|
+
const { configureSessionPlugins } = await import("./pluginRuntime-PLWSOKAW.js");
|
|
15492
15492
|
const { errors } = await configureSessionPlugins({ pluginDirs: dirs });
|
|
15493
15493
|
return errors;
|
|
15494
15494
|
}
|
|
@@ -16157,7 +16157,7 @@ async function call(onDone, context) {
|
|
|
16157
16157
|
ModelConfig,
|
|
16158
16158
|
{
|
|
16159
16159
|
onClose: () => {
|
|
16160
|
-
import("./model-
|
|
16160
|
+
import("./model-FY7P6LPI.js").then(({ reloadModelManager: reloadModelManager2 }) => {
|
|
16161
16161
|
reloadModelManager2();
|
|
16162
16162
|
triggerModelConfigChange();
|
|
16163
16163
|
onDone();
|
|
@@ -16995,14 +16995,6 @@ function buildTaskGraph(tasks) {
|
|
|
16995
16995
|
nodes.set(task.id, task);
|
|
16996
16996
|
}
|
|
16997
16997
|
for (const task of tasks) {
|
|
16998
|
-
const blocks = task.blocks ?? [];
|
|
16999
|
-
for (const blockedId of blocks) {
|
|
17000
|
-
const key = `blocks:${task.id}->${blockedId}`;
|
|
17001
|
-
if (!edgeKeys.has(key)) {
|
|
17002
|
-
edgeKeys.add(key);
|
|
17003
|
-
edges.push({ from: task.id, to: blockedId, type: "blocks" });
|
|
17004
|
-
}
|
|
17005
|
-
}
|
|
17006
16998
|
const blockedBy = task.blockedBy ?? [];
|
|
17007
16999
|
for (const blockerId of blockedBy) {
|
|
17008
17000
|
const key = `blocks:${blockerId}->${task.id}`;
|
|
@@ -24417,7 +24409,7 @@ function useStatusLine() {
|
|
|
24417
24409
|
// src/ui/components/PromptInput.tsx
|
|
24418
24410
|
async function interpretHashCommand(input) {
|
|
24419
24411
|
try {
|
|
24420
|
-
const { queryQuick: queryQuick2 } = await import("./llm-
|
|
24412
|
+
const { queryQuick: queryQuick2 } = await import("./llm-FB3ZW3AI.js");
|
|
24421
24413
|
const systemPrompt = [
|
|
24422
24414
|
"You're helping the user structure notes that will be added to their PYB.md file.",
|
|
24423
24415
|
"Format the user's input into a well-structured note that will be useful for later reference.",
|
|
@@ -24730,7 +24722,7 @@ function PromptInput({
|
|
|
24730
24722
|
if (messages2.length) {
|
|
24731
24723
|
if (mode === "bash") {
|
|
24732
24724
|
onQuery(messages2, newAbortController).then(async () => {
|
|
24733
|
-
const { getCwd: getCwd2 } = await import("./state-
|
|
24725
|
+
const { getCwd: getCwd2 } = await import("./state-DEPXOXNL.js");
|
|
24734
24726
|
setCurrentPwd(getCwd2());
|
|
24735
24727
|
});
|
|
24736
24728
|
} else {
|
|
@@ -27863,7 +27855,7 @@ import { homedir as homedir7 } from "os";
|
|
|
27863
27855
|
// src/commands/agents/generation.ts
|
|
27864
27856
|
import { randomUUID as randomUUID5 } from "crypto";
|
|
27865
27857
|
async function generateAgentWithClaude(prompt) {
|
|
27866
|
-
const { queryModel } = await import("./llm-
|
|
27858
|
+
const { queryModel } = await import("./llm-FB3ZW3AI.js");
|
|
27867
27859
|
const systemPrompt = `You are an expert at creating AI agent configurations. Based on the user's description, generate a specialized agent configuration.
|
|
27868
27860
|
|
|
27869
27861
|
Return your response as a JSON object with exactly these fields:
|
|
@@ -31897,11 +31889,11 @@ To give feedback, users should ${MACRO.ISSUES_EXPLAINER}.
|
|
|
31897
31889
|
|
|
31898
31890
|
# Task Management
|
|
31899
31891
|
You have access to the Task tools (TaskCreate, TaskUpdate, TaskList, TaskGet) to help you manage and plan tasks. Using these tools is a Best Practice for complex workflows, as it ensures you are tracking your tasks and giving the user visibility into your progress.
|
|
31900
|
-
These tools are powerful for planning tasks and for breaking down larger complex tasks into smaller steps. For multi-step work, start by creating tasks with TaskCreate, then use TaskUpdate as you progress. Use TaskList to review readiness and blockers, and TaskGet for details.
|
|
31892
|
+
These tools are powerful for planning tasks and for breaking down larger complex tasks into smaller steps. For multi-step work, start by creating tasks with TaskCreate, then use TaskUpdate as you progress. Use TaskList to review readiness and blockers, and TaskGet for details. TaskList only returns id/subject/status/owner/blockedBy.
|
|
31901
31893
|
|
|
31902
31894
|
**Dynamic Planning**: You are encouraged to update your plan dynamically. If you encounter unexpected issues or new requirements, pause the current task, add new items (e.g., "Fix dependency issue"), and adjust your plan accordingly.
|
|
31903
31895
|
|
|
31904
|
-
Task records use subject as the single primary name, with activeForm auto-generated from subject to describe the in-progress action. Keep description and blockedBy independent in JSON; any joining is only for terminal rendering.
|
|
31896
|
+
Task records use subject as the single primary name, with activeForm auto-generated from subject to describe the in-progress action. Keep description and blockedBy independent in JSON; any joining is only for terminal rendering. blockedBy should always be present as an array (empty when not used). Ordering is by task id; do not use priority fields.
|
|
31905
31897
|
|
|
31906
31898
|
It is critical that you mark tasks as completed as soon as you are done with a task. Do not batch up multiple tasks before marking them as completed.
|
|
31907
31899
|
|