pybao-cli 1.4.68 → 1.4.69
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-ZAJ6IKK3.js +46 -0
- package/dist/{acp-RBZLK5I5.js → acp-6LRBVMXY.js} +29 -29
- package/dist/{agentsValidate-4WPUQRIU.js → agentsValidate-4LAOGQEK.js} +7 -7
- package/dist/{ask-E7CHIPZA.js → ask-VO34LVHJ.js} +28 -28
- package/dist/{autoUpdater-VJML5LAO.js → autoUpdater-WCDZ3LKI.js} +3 -3
- package/dist/{chunk-PYASW53S.js → chunk-4EUFV7IZ.js} +3 -3
- package/dist/{chunk-3PPYB2AK.js → chunk-5SEYGIMS.js} +2 -2
- package/dist/{chunk-Y7FNVY2D.js → chunk-64FPFNEO.js} +1 -1
- package/dist/{chunk-XOSFFE2Y.js → chunk-7EX3H2LR.js} +3 -3
- package/dist/{chunk-ZHVCG35Z.js → chunk-ATTYOEZT.js} +1 -1
- package/dist/{chunk-LYA52DLL.js → chunk-BBN46KXV.js} +1 -1
- package/dist/{chunk-XSR4HZ53.js → chunk-BQOYEEGF.js} +3 -3
- package/dist/{chunk-ISBXNGQB.js → chunk-CH7AQMFI.js} +1 -1
- package/dist/{chunk-Y4PZVDDV.js → chunk-DVWYKOS2.js} +4 -4
- package/dist/{chunk-FQBUFFT7.js → chunk-FQLUVB5C.js} +1 -1
- package/dist/{chunk-QEV4V7JC.js → chunk-GAOK4KW3.js} +3 -3
- package/dist/{chunk-NN2VFVIX.js → chunk-H5KMZAUF.js} +3 -3
- package/dist/{chunk-7LDPOZZ6.js → chunk-HHQKHMVN.js} +2 -2
- package/dist/{chunk-HPWXOI2K.js → chunk-I2RN6BKG.js} +17 -17
- package/dist/{chunk-HPWXOI2K.js.map → chunk-I2RN6BKG.js.map} +1 -1
- package/dist/{chunk-UDEREIRJ.js → chunk-I5KCNNUI.js} +4 -4
- package/dist/{chunk-2EJTMBGJ.js → chunk-IYTU4OJV.js} +1 -1
- package/dist/{chunk-DDHVXTMC.js → chunk-JCUPO5SD.js} +2 -2
- package/dist/{chunk-KLSIXVFM.js → chunk-JQEGLFMO.js} +36 -36
- package/dist/{chunk-KLSIXVFM.js.map → chunk-JQEGLFMO.js.map} +1 -1
- package/dist/{chunk-2V6NJ7DW.js → chunk-L5BXFKV7.js} +2 -2
- package/dist/{chunk-5AIERJLG.js → chunk-MQOUWZJB.js} +1 -1
- package/dist/{chunk-KVHO4FHL.js → chunk-Q4VBSC45.js} +1 -1
- package/dist/{chunk-5O3GVP7Z.js → chunk-Q7QN2OT2.js} +4 -4
- package/dist/{chunk-C5LUBN6T.js → chunk-T36V23CZ.js} +2 -2
- package/dist/{chunk-OGXQURMW.js → chunk-T7U272IW.js} +4 -4
- package/dist/{chunk-7NCAJ2EJ.js → chunk-TCCVAS7Q.js} +2 -2
- package/dist/{chunk-GF57CLFI.js → chunk-ULUZRDEZ.js} +1 -1
- package/dist/{chunk-GF57CLFI.js.map → chunk-ULUZRDEZ.js.map} +1 -1
- package/dist/{chunk-EE2HU2RS.js → chunk-UP22WCEV.js} +1 -1
- package/dist/{chunk-ZQCSH2AL.js → chunk-VGI3MJCN.js} +3 -3
- package/dist/{chunk-Z37IW5CA.js → chunk-XWTPHVQ2.js} +3 -3
- package/dist/{chunk-BEQTINGU.js → chunk-ZOGQ47JZ.js} +2 -2
- package/dist/{cli-F74NJUHW.js → cli-K22UG63I.js} +87 -87
- package/dist/commands-XREIQOVF.js +50 -0
- package/dist/{config-U6OMMOIX.js → config-4TLLBLHZ.js} +4 -4
- package/dist/{context-SRTP4GIV.js → context-UCX6EHV2.js} +6 -6
- package/dist/{customCommands-UQ7GWOJ4.js → customCommands-XBYBBLIT.js} +4 -4
- package/dist/{env-RSGBO3MI.js → env-NIRNUQBK.js} +2 -2
- package/dist/{file-DDLPA2J4.js → file-KZUCZWBZ.js} +4 -4
- package/dist/index.js +3 -3
- package/dist/{llm-VY6RXJY7.js → llm-IBAT6C77.js} +29 -29
- package/dist/{llmLazy-LQ6IPPZV.js → llmLazy-W2AONXJN.js} +1 -1
- package/dist/{loader-WVZDAGRL.js → loader-GQ2AYDKZ.js} +4 -4
- package/dist/{lsp-2PB45IFR.js → lsp-TDZOFAGX.js} +6 -6
- package/dist/{lspAnchor-FK5YBDE6.js → lspAnchor-Y5ODO3C4.js} +6 -6
- package/dist/{mcp-CDUXVXDY.js → mcp-S4YW6CXE.js} +7 -7
- package/dist/{mentionProcessor-5JPXBDX4.js → mentionProcessor-KH6NLD6M.js} +5 -5
- package/dist/{messages-ALZZJK3V.js → messages-GRLBINLQ.js} +1 -1
- package/dist/{model-BVFVXXKO.js → model-XO4IA6K3.js} +5 -5
- package/dist/{openai-OJOPD7MA.js → openai-O4WR7IE3.js} +5 -5
- package/dist/{outputStyles-HFX7LO4Y.js → outputStyles-SFBNSHR5.js} +4 -4
- package/dist/{pluginRuntime-PWEYBXJ4.js → pluginRuntime-YHLTGW2O.js} +6 -6
- package/dist/{pluginValidation-UOPYDU5C.js → pluginValidation-ITG2YAD3.js} +6 -6
- package/dist/prompts-NCYQ3YKX.js +52 -0
- package/dist/{pybAgentSessionLoad-KL57MVY7.js → pybAgentSessionLoad-VD6RSWTX.js} +4 -4
- package/dist/{pybAgentSessionResume-BR77W4UQ.js → pybAgentSessionResume-RSYK7EJ4.js} +4 -4
- package/dist/{pybAgentStreamJsonSession-4PNNMAVB.js → pybAgentStreamJsonSession-K3DQZO55.js} +1 -1
- package/dist/{pybHooks-Z4C23UQN.js → pybHooks-PS4QDUIJ.js} +4 -4
- package/dist/query-DVJYTX6S.js +54 -0
- package/dist/{registry-3YHU4UGY.js → registry-C5YC57SE.js} +5 -5
- package/dist/{ripgrep-DU7WTPTQ.js → ripgrep-J52ZKVWV.js} +3 -3
- package/dist/{skillMarketplace-D4I6ZI53.js → skillMarketplace-7F2RUTO4.js} +3 -3
- package/dist/{state-GH6RNHJT.js → state-YUFV22R5.js} +2 -2
- package/dist/{theme-GS3EV5EN.js → theme-HYXO3DVU.js} +5 -5
- package/dist/{toolPermissionSettings-X2E6BA4Z.js → toolPermissionSettings-TRPVISAS.js} +6 -6
- package/dist/tools-72E2HB4H.js +51 -0
- package/dist/{userInput-H2LOGQOX.js → userInput-TMER67YX.js} +30 -30
- package/package.json +1 -1
- package/dist/REPL-6LXLSOII.js +0 -46
- package/dist/commands-HL6HBYHQ.js +0 -50
- package/dist/prompts-MGPNIHJM.js +0 -52
- package/dist/query-SGRPX3AO.js +0 -54
- package/dist/tools-57A33JBX.js +0 -51
- /package/dist/{REPL-6LXLSOII.js.map → REPL-ZAJ6IKK3.js.map} +0 -0
- /package/dist/{acp-RBZLK5I5.js.map → acp-6LRBVMXY.js.map} +0 -0
- /package/dist/{agentsValidate-4WPUQRIU.js.map → agentsValidate-4LAOGQEK.js.map} +0 -0
- /package/dist/{ask-E7CHIPZA.js.map → ask-VO34LVHJ.js.map} +0 -0
- /package/dist/{autoUpdater-VJML5LAO.js.map → autoUpdater-WCDZ3LKI.js.map} +0 -0
- /package/dist/{chunk-PYASW53S.js.map → chunk-4EUFV7IZ.js.map} +0 -0
- /package/dist/{chunk-3PPYB2AK.js.map → chunk-5SEYGIMS.js.map} +0 -0
- /package/dist/{chunk-Y7FNVY2D.js.map → chunk-64FPFNEO.js.map} +0 -0
- /package/dist/{chunk-XOSFFE2Y.js.map → chunk-7EX3H2LR.js.map} +0 -0
- /package/dist/{chunk-ZHVCG35Z.js.map → chunk-ATTYOEZT.js.map} +0 -0
- /package/dist/{chunk-LYA52DLL.js.map → chunk-BBN46KXV.js.map} +0 -0
- /package/dist/{chunk-XSR4HZ53.js.map → chunk-BQOYEEGF.js.map} +0 -0
- /package/dist/{chunk-ISBXNGQB.js.map → chunk-CH7AQMFI.js.map} +0 -0
- /package/dist/{chunk-Y4PZVDDV.js.map → chunk-DVWYKOS2.js.map} +0 -0
- /package/dist/{chunk-FQBUFFT7.js.map → chunk-FQLUVB5C.js.map} +0 -0
- /package/dist/{chunk-QEV4V7JC.js.map → chunk-GAOK4KW3.js.map} +0 -0
- /package/dist/{chunk-NN2VFVIX.js.map → chunk-H5KMZAUF.js.map} +0 -0
- /package/dist/{chunk-7LDPOZZ6.js.map → chunk-HHQKHMVN.js.map} +0 -0
- /package/dist/{chunk-UDEREIRJ.js.map → chunk-I5KCNNUI.js.map} +0 -0
- /package/dist/{chunk-2EJTMBGJ.js.map → chunk-IYTU4OJV.js.map} +0 -0
- /package/dist/{chunk-DDHVXTMC.js.map → chunk-JCUPO5SD.js.map} +0 -0
- /package/dist/{chunk-2V6NJ7DW.js.map → chunk-L5BXFKV7.js.map} +0 -0
- /package/dist/{chunk-5AIERJLG.js.map → chunk-MQOUWZJB.js.map} +0 -0
- /package/dist/{chunk-KVHO4FHL.js.map → chunk-Q4VBSC45.js.map} +0 -0
- /package/dist/{chunk-5O3GVP7Z.js.map → chunk-Q7QN2OT2.js.map} +0 -0
- /package/dist/{chunk-C5LUBN6T.js.map → chunk-T36V23CZ.js.map} +0 -0
- /package/dist/{chunk-OGXQURMW.js.map → chunk-T7U272IW.js.map} +0 -0
- /package/dist/{chunk-7NCAJ2EJ.js.map → chunk-TCCVAS7Q.js.map} +0 -0
- /package/dist/{chunk-EE2HU2RS.js.map → chunk-UP22WCEV.js.map} +0 -0
- /package/dist/{chunk-ZQCSH2AL.js.map → chunk-VGI3MJCN.js.map} +0 -0
- /package/dist/{chunk-Z37IW5CA.js.map → chunk-XWTPHVQ2.js.map} +0 -0
- /package/dist/{chunk-BEQTINGU.js.map → chunk-ZOGQ47JZ.js.map} +0 -0
- /package/dist/{cli-F74NJUHW.js.map → cli-K22UG63I.js.map} +0 -0
- /package/dist/{commands-HL6HBYHQ.js.map → commands-XREIQOVF.js.map} +0 -0
- /package/dist/{config-U6OMMOIX.js.map → config-4TLLBLHZ.js.map} +0 -0
- /package/dist/{context-SRTP4GIV.js.map → context-UCX6EHV2.js.map} +0 -0
- /package/dist/{customCommands-UQ7GWOJ4.js.map → customCommands-XBYBBLIT.js.map} +0 -0
- /package/dist/{env-RSGBO3MI.js.map → env-NIRNUQBK.js.map} +0 -0
- /package/dist/{file-DDLPA2J4.js.map → file-KZUCZWBZ.js.map} +0 -0
- /package/dist/{llm-VY6RXJY7.js.map → llm-IBAT6C77.js.map} +0 -0
- /package/dist/{llmLazy-LQ6IPPZV.js.map → llmLazy-W2AONXJN.js.map} +0 -0
- /package/dist/{loader-WVZDAGRL.js.map → loader-GQ2AYDKZ.js.map} +0 -0
- /package/dist/{lsp-2PB45IFR.js.map → lsp-TDZOFAGX.js.map} +0 -0
- /package/dist/{lspAnchor-FK5YBDE6.js.map → lspAnchor-Y5ODO3C4.js.map} +0 -0
- /package/dist/{mcp-CDUXVXDY.js.map → mcp-S4YW6CXE.js.map} +0 -0
- /package/dist/{mentionProcessor-5JPXBDX4.js.map → mentionProcessor-KH6NLD6M.js.map} +0 -0
- /package/dist/{messages-ALZZJK3V.js.map → messages-GRLBINLQ.js.map} +0 -0
- /package/dist/{model-BVFVXXKO.js.map → model-XO4IA6K3.js.map} +0 -0
- /package/dist/{openai-OJOPD7MA.js.map → openai-O4WR7IE3.js.map} +0 -0
- /package/dist/{outputStyles-HFX7LO4Y.js.map → outputStyles-SFBNSHR5.js.map} +0 -0
- /package/dist/{pluginRuntime-PWEYBXJ4.js.map → pluginRuntime-YHLTGW2O.js.map} +0 -0
- /package/dist/{pluginValidation-UOPYDU5C.js.map → pluginValidation-ITG2YAD3.js.map} +0 -0
- /package/dist/{prompts-MGPNIHJM.js.map → prompts-NCYQ3YKX.js.map} +0 -0
- /package/dist/{pybAgentSessionLoad-KL57MVY7.js.map → pybAgentSessionLoad-VD6RSWTX.js.map} +0 -0
- /package/dist/{pybAgentSessionResume-BR77W4UQ.js.map → pybAgentSessionResume-RSYK7EJ4.js.map} +0 -0
- /package/dist/{pybAgentStreamJsonSession-4PNNMAVB.js.map → pybAgentStreamJsonSession-K3DQZO55.js.map} +0 -0
- /package/dist/{pybHooks-Z4C23UQN.js.map → pybHooks-PS4QDUIJ.js.map} +0 -0
- /package/dist/{query-SGRPX3AO.js.map → query-DVJYTX6S.js.map} +0 -0
- /package/dist/{registry-3YHU4UGY.js.map → registry-C5YC57SE.js.map} +0 -0
- /package/dist/{ripgrep-DU7WTPTQ.js.map → ripgrep-J52ZKVWV.js.map} +0 -0
- /package/dist/{skillMarketplace-D4I6ZI53.js.map → skillMarketplace-7F2RUTO4.js.map} +0 -0
- /package/dist/{state-GH6RNHJT.js.map → state-YUFV22R5.js.map} +0 -0
- /package/dist/{theme-GS3EV5EN.js.map → theme-HYXO3DVU.js.map} +0 -0
- /package/dist/{toolPermissionSettings-X2E6BA4Z.js.map → toolPermissionSettings-TRPVISAS.js.map} +0 -0
- /package/dist/{tools-57A33JBX.js.map → tools-72E2HB4H.js.map} +0 -0
- /package/dist/{userInput-H2LOGQOX.js.map → userInput-TMER67YX.js.map} +0 -0
|
@@ -4,17 +4,17 @@ import {
|
|
|
4
4
|
LspServerRegistry,
|
|
5
5
|
findNearestRoot,
|
|
6
6
|
getInstallNotices
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-VGI3MJCN.js";
|
|
8
8
|
import {
|
|
9
9
|
levenshtein
|
|
10
10
|
} from "./chunk-UZ34JEUK.js";
|
|
11
11
|
import {
|
|
12
12
|
debug
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-ATTYOEZT.js";
|
|
14
14
|
import {
|
|
15
15
|
getCwd,
|
|
16
16
|
getSessionRoot
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-BBN46KXV.js";
|
|
18
18
|
|
|
19
19
|
// src/lsp/index.ts
|
|
20
20
|
import { extname as extname2 } from "path";
|
|
@@ -565,7 +565,7 @@ var LspClientManager = class _LspClientManager {
|
|
|
565
565
|
const safeCwd = /[^\x00-\x7F]/.test(resolvedRoot) ? process.cwd() : resolvedRoot;
|
|
566
566
|
let initOpts = serverInfo.initializationOptions;
|
|
567
567
|
if (serverInfo.id === "pyright" || serverInfo.id === "ty") {
|
|
568
|
-
const { detectPythonVenv } = await import("./registry-
|
|
568
|
+
const { detectPythonVenv } = await import("./registry-C5YC57SE.js");
|
|
569
569
|
const pythonPath = detectPythonVenv(resolvedRoot);
|
|
570
570
|
if (pythonPath) {
|
|
571
571
|
initOpts = { ...initOpts ?? {}, pythonPath };
|
|
@@ -9,10 +9,10 @@ import {
|
|
|
9
9
|
PLAN_SLUG_VERBS,
|
|
10
10
|
getCwd,
|
|
11
11
|
resolveXdgDataPath
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-BBN46KXV.js";
|
|
13
13
|
import {
|
|
14
14
|
MACRO
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-ULUZRDEZ.js";
|
|
16
16
|
|
|
17
17
|
// src/utils/protocol/pybAgentSessionLog.ts
|
|
18
18
|
import { execFileSync } from "child_process";
|
|
@@ -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-GAOK4KW3.js";
|
|
7
7
|
import {
|
|
8
8
|
loadPybAgentSessionMessages
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-64FPFNEO.js";
|
|
10
10
|
import {
|
|
11
11
|
listPybAgentSessions
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-FQLUVB5C.js";
|
|
13
13
|
import {
|
|
14
14
|
appendSessionCustomTitleRecord,
|
|
15
15
|
appendSessionJsonlFromMessage,
|
|
16
16
|
appendSessionTagRecord
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-JCUPO5SD.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-H5KMZAUF.js";
|
|
30
30
|
import {
|
|
31
31
|
DEFAULT_OUTPUT_STYLE,
|
|
32
32
|
getAvailableOutputStyles,
|
|
@@ -35,17 +35,17 @@ import {
|
|
|
35
35
|
getOutputStyleSystemPromptAdditions,
|
|
36
36
|
resolveOutputStyleName,
|
|
37
37
|
setCurrentOutputStyle
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-TCCVAS7Q.js";
|
|
39
39
|
import {
|
|
40
40
|
fetchCustomModels,
|
|
41
41
|
getModelFeatures,
|
|
42
42
|
getSessionState
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-5SEYGIMS.js";
|
|
44
44
|
import {
|
|
45
45
|
queryLLM,
|
|
46
46
|
queryQuick,
|
|
47
47
|
verifyApiKey
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-Q7QN2OT2.js";
|
|
49
49
|
import {
|
|
50
50
|
DEFAULT_TIMEOUT_MS,
|
|
51
51
|
FallbackToolUseRejectedMessage,
|
|
@@ -59,7 +59,7 @@ import {
|
|
|
59
59
|
listMCPServers,
|
|
60
60
|
loadMergedSettings,
|
|
61
61
|
normalizeSandboxRuntimeConfigFromSettings
|
|
62
|
-
} from "./chunk-
|
|
62
|
+
} from "./chunk-T7U272IW.js";
|
|
63
63
|
import {
|
|
64
64
|
addMarketplace,
|
|
65
65
|
disableSkillPlugin,
|
|
@@ -72,11 +72,11 @@ import {
|
|
|
72
72
|
refreshMarketplaceAsync,
|
|
73
73
|
removeMarketplace,
|
|
74
74
|
uninstallSkillPlugin
|
|
75
|
-
} from "./chunk-
|
|
75
|
+
} from "./chunk-Q4VBSC45.js";
|
|
76
76
|
import {
|
|
77
77
|
loadToolPermissionContextFromDisk,
|
|
78
78
|
persistToolPermissionUpdateToDisk
|
|
79
|
-
} from "./chunk-
|
|
79
|
+
} from "./chunk-7EX3H2LR.js";
|
|
80
80
|
import {
|
|
81
81
|
applyToolPermissionContextUpdate,
|
|
82
82
|
applyToolPermissionContextUpdates,
|
|
@@ -87,13 +87,13 @@ import {
|
|
|
87
87
|
generateSystemReminders,
|
|
88
88
|
resetReminderSession,
|
|
89
89
|
systemReminderService
|
|
90
|
-
} from "./chunk-
|
|
90
|
+
} from "./chunk-T36V23CZ.js";
|
|
91
91
|
import {
|
|
92
92
|
clearAgentCache,
|
|
93
93
|
getActiveAgents,
|
|
94
94
|
getAgentByType,
|
|
95
95
|
getAllAgents
|
|
96
|
-
} from "./chunk-
|
|
96
|
+
} from "./chunk-HHQKHMVN.js";
|
|
97
97
|
import {
|
|
98
98
|
API_ERROR_MESSAGE_PREFIX,
|
|
99
99
|
CANCEL_MESSAGE,
|
|
@@ -124,7 +124,7 @@ import {
|
|
|
124
124
|
processUserInput,
|
|
125
125
|
reorderMessages,
|
|
126
126
|
stripSystemMessages
|
|
127
|
-
} from "./chunk-
|
|
127
|
+
} from "./chunk-UP22WCEV.js";
|
|
128
128
|
import {
|
|
129
129
|
getRequestStatus,
|
|
130
130
|
setRequestStatus,
|
|
@@ -154,7 +154,7 @@ import {
|
|
|
154
154
|
normalizeFilePath,
|
|
155
155
|
readTextContent,
|
|
156
156
|
writeTextContent
|
|
157
|
-
} from "./chunk-
|
|
157
|
+
} from "./chunk-ZOGQ47JZ.js";
|
|
158
158
|
import {
|
|
159
159
|
parseBlockEdits
|
|
160
160
|
} from "./chunk-QWIBSCDN.js";
|
|
@@ -164,18 +164,18 @@ import {
|
|
|
164
164
|
ParserRegistry,
|
|
165
165
|
initParser,
|
|
166
166
|
loadLanguage
|
|
167
|
-
} from "./chunk-
|
|
167
|
+
} from "./chunk-I5KCNNUI.js";
|
|
168
168
|
import {
|
|
169
169
|
getSettingsFileCandidates,
|
|
170
170
|
loadSettingsWithLegacyFallback,
|
|
171
171
|
readSettingsFile
|
|
172
|
-
} from "./chunk-
|
|
172
|
+
} from "./chunk-CH7AQMFI.js";
|
|
173
173
|
import {
|
|
174
174
|
getCustomCommandDirectories,
|
|
175
175
|
hasCustomCommands,
|
|
176
176
|
loadCustomCommands,
|
|
177
177
|
reloadCustomCommands
|
|
178
|
-
} from "./chunk-
|
|
178
|
+
} from "./chunk-L5BXFKV7.js";
|
|
179
179
|
import {
|
|
180
180
|
getSessionPlugins
|
|
181
181
|
} from "./chunk-BJSWTHRM.js";
|
|
@@ -183,7 +183,7 @@ import {
|
|
|
183
183
|
ModelManager,
|
|
184
184
|
getModelManager,
|
|
185
185
|
isDefaultSlowAndCapableModel
|
|
186
|
-
} from "./chunk-
|
|
186
|
+
} from "./chunk-4EUFV7IZ.js";
|
|
187
187
|
import {
|
|
188
188
|
getCodeStyle,
|
|
189
189
|
getContext,
|
|
@@ -191,13 +191,13 @@ import {
|
|
|
191
191
|
getIsGit,
|
|
192
192
|
getProjectDocs,
|
|
193
193
|
getProjectStructureStatisticsBlock
|
|
194
|
-
} from "./chunk-
|
|
194
|
+
} from "./chunk-DVWYKOS2.js";
|
|
195
195
|
import {
|
|
196
196
|
ripGrep
|
|
197
|
-
} from "./chunk-
|
|
197
|
+
} from "./chunk-IYTU4OJV.js";
|
|
198
198
|
import {
|
|
199
199
|
getTheme
|
|
200
|
-
} from "./chunk-
|
|
200
|
+
} from "./chunk-MQOUWZJB.js";
|
|
201
201
|
import {
|
|
202
202
|
DEFAULT_GLOBAL_CONFIG,
|
|
203
203
|
enableConfigs,
|
|
@@ -210,7 +210,7 @@ import {
|
|
|
210
210
|
saveGlobalConfig,
|
|
211
211
|
setAllPointersToModel,
|
|
212
212
|
setModelPointer
|
|
213
|
-
} from "./chunk-
|
|
213
|
+
} from "./chunk-XWTPHVQ2.js";
|
|
214
214
|
import {
|
|
215
215
|
AbortError
|
|
216
216
|
} from "./chunk-RQVLBMP7.js";
|
|
@@ -219,7 +219,7 @@ import {
|
|
|
219
219
|
getCurrentRequest,
|
|
220
220
|
logUserFriendly,
|
|
221
221
|
markPhase
|
|
222
|
-
} from "./chunk-
|
|
222
|
+
} from "./chunk-ATTYOEZT.js";
|
|
223
223
|
import {
|
|
224
224
|
ASCII_LOGO,
|
|
225
225
|
BunShell,
|
|
@@ -260,10 +260,10 @@ import {
|
|
|
260
260
|
setCwd,
|
|
261
261
|
shouldApplyToolOutputTruncation,
|
|
262
262
|
truncateToolOutput
|
|
263
|
-
} from "./chunk-
|
|
263
|
+
} from "./chunk-BBN46KXV.js";
|
|
264
264
|
import {
|
|
265
265
|
MACRO
|
|
266
|
-
} from "./chunk-
|
|
266
|
+
} from "./chunk-ULUZRDEZ.js";
|
|
267
267
|
import {
|
|
268
268
|
__export
|
|
269
269
|
} from "./chunk-I3J4JYES.js";
|
|
@@ -444,7 +444,7 @@ var getCommandSubcommandPrefix = memoize(
|
|
|
444
444
|
var getCommandPrefix = memoize(
|
|
445
445
|
async (command4, abortSignal) => {
|
|
446
446
|
const { systemPrompt, userPrompt } = buildBashCommandPrefixDetectionPrompt(command4);
|
|
447
|
-
const { API_ERROR_MESSAGE_PREFIX: API_ERROR_MESSAGE_PREFIX2, queryQuick: queryQuick2 } = await import("./llm-
|
|
447
|
+
const { API_ERROR_MESSAGE_PREFIX: API_ERROR_MESSAGE_PREFIX2, queryQuick: queryQuick2 } = await import("./llm-IBAT6C77.js");
|
|
448
448
|
const response = await queryQuick2({
|
|
449
449
|
systemPrompt,
|
|
450
450
|
userPrompt,
|
|
@@ -4246,7 +4246,7 @@ function formatParseError(error) {
|
|
|
4246
4246
|
return error instanceof Error ? error.message : String(error);
|
|
4247
4247
|
}
|
|
4248
4248
|
async function defaultGateQuery(args) {
|
|
4249
|
-
const { API_ERROR_MESSAGE_PREFIX: API_ERROR_MESSAGE_PREFIX2, queryLLM: queryLLM2 } = await import("./llm-
|
|
4249
|
+
const { API_ERROR_MESSAGE_PREFIX: API_ERROR_MESSAGE_PREFIX2, queryLLM: queryLLM2 } = await import("./llm-IBAT6C77.js");
|
|
4250
4250
|
const queryLLMFn = args.queryLLMOverride ?? queryLLM2;
|
|
4251
4251
|
const messages = [
|
|
4252
4252
|
{
|
|
@@ -6643,7 +6643,7 @@ var FileEditTool = {
|
|
|
6643
6643
|
const originalFileContent = currentFileContent;
|
|
6644
6644
|
let totalPatch = [];
|
|
6645
6645
|
const { SmartEdit } = await import("./smart-edit-AWHJDSU6.js");
|
|
6646
|
-
const { findLspAnchor } = await import("./lspAnchor-
|
|
6646
|
+
const { findLspAnchor } = await import("./lspAnchor-Y5ODO3C4.js");
|
|
6647
6647
|
for (const op of editOperations) {
|
|
6648
6648
|
const normalizedSearch = normalizeLineEndings(op.search);
|
|
6649
6649
|
const normalizedReplace = normalizeLineEndings(op.replace);
|
|
@@ -11278,7 +11278,7 @@ async function createAndStoreApiKey(accessToken) {
|
|
|
11278
11278
|
}
|
|
11279
11279
|
saveGlobalConfig(config2);
|
|
11280
11280
|
try {
|
|
11281
|
-
const { resetAnthropicClient } = await import("./llm-
|
|
11281
|
+
const { resetAnthropicClient } = await import("./llm-IBAT6C77.js");
|
|
11282
11282
|
resetAnthropicClient();
|
|
11283
11283
|
} catch {
|
|
11284
11284
|
}
|
|
@@ -15645,7 +15645,7 @@ async function refreshPluginRuntimeFromInstalls() {
|
|
|
15645
15645
|
const existingRoots = getSessionPlugins().map((p) => p.rootDir);
|
|
15646
15646
|
const dirs = Array.from(/* @__PURE__ */ new Set([...existingRoots, ...installedRoots]));
|
|
15647
15647
|
if (dirs.length === 0) return [];
|
|
15648
|
-
const { configureSessionPlugins } = await import("./pluginRuntime-
|
|
15648
|
+
const { configureSessionPlugins } = await import("./pluginRuntime-YHLTGW2O.js");
|
|
15649
15649
|
const { errors } = await configureSessionPlugins({ pluginDirs: dirs });
|
|
15650
15650
|
return errors;
|
|
15651
15651
|
}
|
|
@@ -16314,7 +16314,7 @@ async function call(onDone, context) {
|
|
|
16314
16314
|
ModelConfig,
|
|
16315
16315
|
{
|
|
16316
16316
|
onClose: () => {
|
|
16317
|
-
import("./model-
|
|
16317
|
+
import("./model-XO4IA6K3.js").then(({ reloadModelManager: reloadModelManager2 }) => {
|
|
16318
16318
|
reloadModelManager2();
|
|
16319
16319
|
triggerModelConfigChange();
|
|
16320
16320
|
onDone();
|
|
@@ -25180,7 +25180,7 @@ function useStatusLine() {
|
|
|
25180
25180
|
// src/ui/components/PromptInput.tsx
|
|
25181
25181
|
async function interpretHashCommand(input) {
|
|
25182
25182
|
try {
|
|
25183
|
-
const { queryQuick: queryQuick2 } = await import("./llm-
|
|
25183
|
+
const { queryQuick: queryQuick2 } = await import("./llm-IBAT6C77.js");
|
|
25184
25184
|
const systemPrompt = [
|
|
25185
25185
|
"You're helping the user structure notes that will be added to their PYB.md file.",
|
|
25186
25186
|
"Format the user's input into a well-structured note that will be useful for later reference.",
|
|
@@ -25493,7 +25493,7 @@ function PromptInput({
|
|
|
25493
25493
|
if (messages2.length) {
|
|
25494
25494
|
if (mode === "bash") {
|
|
25495
25495
|
onQuery(messages2, newAbortController).then(async () => {
|
|
25496
|
-
const { getCwd: getCwd2 } = await import("./state-
|
|
25496
|
+
const { getCwd: getCwd2 } = await import("./state-YUFV22R5.js");
|
|
25497
25497
|
setCurrentPwd(getCwd2());
|
|
25498
25498
|
});
|
|
25499
25499
|
} else {
|
|
@@ -28672,7 +28672,7 @@ import { homedir as homedir8 } from "os";
|
|
|
28672
28672
|
// src/commands/agents/generation.ts
|
|
28673
28673
|
import { randomUUID as randomUUID6 } from "crypto";
|
|
28674
28674
|
async function generateAgentWithClaude(prompt) {
|
|
28675
|
-
const { queryModel } = await import("./llm-
|
|
28675
|
+
const { queryModel } = await import("./llm-IBAT6C77.js");
|
|
28676
28676
|
const systemPrompt = `You are an expert at creating AI agent configurations. Based on the user's description, generate a specialized agent configuration.
|
|
28677
28677
|
|
|
28678
28678
|
Return your response as a JSON object with exactly these fields:
|
|
@@ -32271,7 +32271,7 @@ To give feedback, users should ${MACRO.ISSUES_EXPLAINER}.
|
|
|
32271
32271
|
|
|
32272
32272
|
# Task Management
|
|
32273
32273
|
You have access to the Task tools (TaskCreate, TaskUpdate, TaskList, TaskGet) to help you manage and plan tasks. Use these tools VERY frequently to ensure that you are tracking your tasks and giving the user visibility into your progress.
|
|
32274
|
-
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/blockedBy.
|
|
32274
|
+
These tools are powerful for planning tasks and for breaking down larger complex tasks\uFF08When a task requires 2 or more distinct steps or actions\uFF09 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/blockedBy.
|
|
32275
32275
|
For multi-step plans, you may create the list first and add blockedBy later via TaskUpdate. You can create a structured task list first and set up the task dependencies blockedBy later via TaskUpdate to ensure the previous structured task list completed in the right order.
|
|
32276
32276
|
Single-task work does not require a dependency chain. When dependencies are ready, set metadata.planFinalized="true" with TaskUpdate to trigger global validation.
|
|
32277
32277
|
|