pybao-cli 1.5.23 → 1.5.24
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-K6NYKODR.js +51 -0
- package/dist/{acp-5G7LPADD.js → acp-5H7EXQK2.js} +32 -31
- package/dist/{acp-5G7LPADD.js.map → acp-5H7EXQK2.js.map} +1 -1
- package/dist/{agentsValidate-BIRAVXBL.js → agentsValidate-QQUWQEIR.js} +7 -7
- package/dist/{ask-XQZT6WIO.js → ask-2NXAGZUU.js} +31 -30
- package/dist/{ask-XQZT6WIO.js.map → ask-2NXAGZUU.js.map} +1 -1
- package/dist/{autoUpdater-DDJAJPKA.js → autoUpdater-UZGQSBVX.js} +3 -3
- package/dist/{chunk-LBDLSBXN.js → chunk-2LDISGV5.js} +1 -1
- package/dist/{chunk-MMW6MLFR.js → chunk-4RFXQVAB.js} +2 -2
- package/dist/{chunk-A6QEPK5J.js → chunk-5LOOKSJJ.js} +2 -2
- package/dist/{chunk-CNMNKSWQ.js → chunk-6FXN7WXV.js} +3 -3
- package/dist/{chunk-2SVUNNJB.js → chunk-7G3CESAX.js} +2 -2
- package/dist/{chunk-7SYDIES4.js → chunk-7PKIDZYX.js} +3 -1
- package/dist/chunk-7PKIDZYX.js.map +7 -0
- package/dist/{chunk-C2GNLGBM.js → chunk-7XKF4NS5.js} +1 -1
- package/dist/{chunk-GU4XA76N.js → chunk-AIYDVZNU.js} +3 -3
- package/dist/{chunk-V22PQM4W.js → chunk-AXW3EAEG.js} +3 -3
- package/dist/{chunk-O7LWCCRJ.js → chunk-C5W7DK4B.js} +3 -3
- package/dist/{chunk-KQZAS4DO.js → chunk-DGOZRLG4.js} +17 -25
- package/dist/chunk-DGOZRLG4.js.map +7 -0
- package/dist/{chunk-S65MIABQ.js → chunk-DQPL53A3.js} +4 -4
- package/dist/{chunk-ZB3ZWD2K.js → chunk-DSMH3DDQ.js} +2 -2
- package/dist/{chunk-ZB3ZWD2K.js.map → chunk-DSMH3DDQ.js.map} +2 -2
- package/dist/{chunk-VVXC3SNP.js → chunk-FBTRKZNM.js} +35 -167
- package/dist/chunk-FBTRKZNM.js.map +7 -0
- package/dist/{chunk-N7GEPTZB.js → chunk-GTBOGB65.js} +3 -3
- package/dist/{chunk-5B7UCAYL.js → chunk-H25IY2QB.js} +1 -1
- package/dist/{chunk-XEVB4WON.js → chunk-H7HRAFNH.js} +15 -15
- package/dist/{chunk-G5MP72ZL.js → chunk-HHXEDAUY.js} +181 -15
- package/dist/chunk-HHXEDAUY.js.map +7 -0
- package/dist/{chunk-652OMXEE.js → chunk-JU3X54OB.js} +2 -2
- package/dist/chunk-KFEHHKZ2.js +145 -0
- package/dist/chunk-KFEHHKZ2.js.map +7 -0
- package/dist/{chunk-6QGIRDZS.js → chunk-L6HMG5TD.js} +1 -1
- package/dist/{chunk-2GHNW642.js → chunk-MVWCFCWA.js} +1 -1
- package/dist/{chunk-M7FEUIHO.js → chunk-NNGD2UJL.js} +2 -2
- package/dist/{chunk-4ZZYPG6P.js → chunk-PFHTQ2ON.js} +4 -4
- package/dist/{chunk-MN77HNBB.js → chunk-QPX3VRTH.js} +4 -4
- package/dist/{chunk-QCI5HPTA.js → chunk-S7HIIXVN.js} +1 -1
- package/dist/{chunk-W7VIESST.js → chunk-T4BBPE5F.js} +3 -3
- package/dist/{chunk-QSMZLK7K.js → chunk-T5ZQLE6E.js} +3 -3
- package/dist/{chunk-ABJT5MG2.js → chunk-UJ2SNURP.js} +1 -1
- package/dist/{chunk-3CC7QXCN.js → chunk-UOVFEY6P.js} +36 -36
- package/dist/{chunk-CT7LWVB7.js → chunk-UUM4Q5S6.js} +1 -1
- package/dist/{chunk-PUPDIRI6.js → chunk-W2DOITEM.js} +2 -2
- package/dist/{chunk-76BOJQUE.js → chunk-XVF7DL3L.js} +1 -1
- package/dist/{cli-YIANCHDD.js → cli-5CKXURNM.js} +92 -91
- package/dist/{cli-YIANCHDD.js.map → cli-5CKXURNM.js.map} +1 -1
- package/dist/commands-FVAUVYN5.js +55 -0
- package/dist/{config-QVH3VNUQ.js → config-P6NPLNYJ.js} +4 -4
- package/dist/{context-5VXEWH3G.js → context-KGCNIOLW.js} +7 -6
- package/dist/{conversationPersistence-INUNJHOV.js → conversationPersistence-ZR5BNQEH.js} +3 -3
- package/dist/{conversationTracker-H25IOHBE.js → conversationTracker-CWBOYHS6.js} +4 -4
- package/dist/{customCommands-7RZHKH2K.js → customCommands-FI35GWO7.js} +4 -4
- package/dist/{env-DPJTGHMP.js → env-XIHEMHIE.js} +2 -2
- package/dist/{file-D7W2FBZP.js → file-WT4CNRBH.js} +4 -4
- package/dist/index.js +3 -3
- package/dist/{llm-TOU5REY5.js → llm-HPPHTPDB.js} +32 -31
- package/dist/{llm-TOU5REY5.js.map → llm-HPPHTPDB.js.map} +1 -1
- package/dist/{llmLazy-HSKKIGLC.js → llmLazy-76OBERV2.js} +1 -1
- package/dist/{loader-YUP6OJTJ.js → loader-TS2HH5EN.js} +4 -4
- package/dist/{lsp-7QKC4DVK.js → lsp-KV7OBBMM.js} +6 -6
- package/dist/{lspAnchor-LCRZ23GA.js → lspAnchor-ZCANLR6C.js} +6 -6
- package/dist/{mcp-KK6BOD6I.js → mcp-MFOXCURO.js} +7 -7
- package/dist/{mentionProcessor-V6JH6HUD.js → mentionProcessor-4OQOE7GY.js} +5 -5
- package/dist/{messages-7NVTXWIJ.js → messages-NCRJ6QRS.js} +1 -1
- package/dist/{model-QSDSUJDB.js → model-QGIJDQKV.js} +5 -5
- package/dist/{openai-JC3KJN3H.js → openai-PIMPLRHA.js} +5 -5
- package/dist/{outputStyles-TPH3CCB4.js → outputStyles-VIR2WGDW.js} +4 -4
- package/dist/{pluginRuntime-7EK4LQDD.js → pluginRuntime-HM55RXJW.js} +6 -6
- package/dist/{pluginValidation-BJWCS55I.js → pluginValidation-7TELFKDN.js} +6 -6
- package/dist/prompts-JUMG5DV4.js +57 -0
- package/dist/{pybAgentSessionLoad-V3IAJJPS.js → pybAgentSessionLoad-G6BSOKJV.js} +5 -4
- package/dist/{pybAgentSessionResume-WE7ET356.js → pybAgentSessionResume-GFO2HI4V.js} +5 -4
- package/dist/{pybAgentStreamJsonSession-VWDYV4XL.js → pybAgentStreamJsonSession-XJWWG4KQ.js} +1 -1
- package/dist/{pybHooks-UV7BTIVT.js → pybHooks-MRBA3GKS.js} +4 -4
- package/dist/query-O5YZELUK.js +55 -0
- package/dist/{registry-FK6UGJPV.js → registry-VLNMWI4D.js} +5 -5
- package/dist/{ripgrep-CXJ4DFPU.js → ripgrep-I4QCQBMN.js} +3 -3
- package/dist/{skillMarketplace-QUJXDKZK.js → skillMarketplace-F3LNNAWT.js} +3 -3
- package/dist/{state-GC3XELIE.js → state-66VUERW2.js} +2 -2
- package/dist/{theme-24PLJSPD.js → theme-QGI5L27W.js} +5 -5
- package/dist/{toolPermissionSettings-S6NJPBKT.js → toolPermissionSettings-E4T44WBW.js} +6 -6
- package/dist/tools-4WOQWDGA.js +56 -0
- package/dist/{userInput-4VZSNII7.js → userInput-KKWPB5G6.js} +33 -32
- package/dist/{userInput-4VZSNII7.js.map → userInput-KKWPB5G6.js.map} +1 -1
- package/package.json +3 -1
- package/scripts/session-project-gate.mjs +95 -0
- package/dist/REPL-CI5ET6VF.js +0 -50
- package/dist/chunk-7SYDIES4.js.map +0 -7
- package/dist/chunk-G5MP72ZL.js.map +0 -7
- package/dist/chunk-KQZAS4DO.js.map +0 -7
- package/dist/chunk-VVXC3SNP.js.map +0 -7
- package/dist/commands-4YMZW52K.js +0 -54
- package/dist/prompts-KQNPPEOG.js +0 -56
- package/dist/query-KAZY5LOW.js +0 -54
- package/dist/tools-NC5R4I6F.js +0 -55
- /package/dist/{REPL-CI5ET6VF.js.map → REPL-K6NYKODR.js.map} +0 -0
- /package/dist/{agentsValidate-BIRAVXBL.js.map → agentsValidate-QQUWQEIR.js.map} +0 -0
- /package/dist/{autoUpdater-DDJAJPKA.js.map → autoUpdater-UZGQSBVX.js.map} +0 -0
- /package/dist/{chunk-LBDLSBXN.js.map → chunk-2LDISGV5.js.map} +0 -0
- /package/dist/{chunk-MMW6MLFR.js.map → chunk-4RFXQVAB.js.map} +0 -0
- /package/dist/{chunk-A6QEPK5J.js.map → chunk-5LOOKSJJ.js.map} +0 -0
- /package/dist/{chunk-CNMNKSWQ.js.map → chunk-6FXN7WXV.js.map} +0 -0
- /package/dist/{chunk-2SVUNNJB.js.map → chunk-7G3CESAX.js.map} +0 -0
- /package/dist/{chunk-C2GNLGBM.js.map → chunk-7XKF4NS5.js.map} +0 -0
- /package/dist/{chunk-GU4XA76N.js.map → chunk-AIYDVZNU.js.map} +0 -0
- /package/dist/{chunk-V22PQM4W.js.map → chunk-AXW3EAEG.js.map} +0 -0
- /package/dist/{chunk-O7LWCCRJ.js.map → chunk-C5W7DK4B.js.map} +0 -0
- /package/dist/{chunk-S65MIABQ.js.map → chunk-DQPL53A3.js.map} +0 -0
- /package/dist/{chunk-N7GEPTZB.js.map → chunk-GTBOGB65.js.map} +0 -0
- /package/dist/{chunk-5B7UCAYL.js.map → chunk-H25IY2QB.js.map} +0 -0
- /package/dist/{chunk-XEVB4WON.js.map → chunk-H7HRAFNH.js.map} +0 -0
- /package/dist/{chunk-652OMXEE.js.map → chunk-JU3X54OB.js.map} +0 -0
- /package/dist/{chunk-6QGIRDZS.js.map → chunk-L6HMG5TD.js.map} +0 -0
- /package/dist/{chunk-2GHNW642.js.map → chunk-MVWCFCWA.js.map} +0 -0
- /package/dist/{chunk-M7FEUIHO.js.map → chunk-NNGD2UJL.js.map} +0 -0
- /package/dist/{chunk-4ZZYPG6P.js.map → chunk-PFHTQ2ON.js.map} +0 -0
- /package/dist/{chunk-MN77HNBB.js.map → chunk-QPX3VRTH.js.map} +0 -0
- /package/dist/{chunk-QCI5HPTA.js.map → chunk-S7HIIXVN.js.map} +0 -0
- /package/dist/{chunk-W7VIESST.js.map → chunk-T4BBPE5F.js.map} +0 -0
- /package/dist/{chunk-QSMZLK7K.js.map → chunk-T5ZQLE6E.js.map} +0 -0
- /package/dist/{chunk-ABJT5MG2.js.map → chunk-UJ2SNURP.js.map} +0 -0
- /package/dist/{chunk-3CC7QXCN.js.map → chunk-UOVFEY6P.js.map} +0 -0
- /package/dist/{chunk-CT7LWVB7.js.map → chunk-UUM4Q5S6.js.map} +0 -0
- /package/dist/{chunk-PUPDIRI6.js.map → chunk-W2DOITEM.js.map} +0 -0
- /package/dist/{chunk-76BOJQUE.js.map → chunk-XVF7DL3L.js.map} +0 -0
- /package/dist/{commands-4YMZW52K.js.map → commands-FVAUVYN5.js.map} +0 -0
- /package/dist/{config-QVH3VNUQ.js.map → config-P6NPLNYJ.js.map} +0 -0
- /package/dist/{context-5VXEWH3G.js.map → context-KGCNIOLW.js.map} +0 -0
- /package/dist/{conversationPersistence-INUNJHOV.js.map → conversationPersistence-ZR5BNQEH.js.map} +0 -0
- /package/dist/{conversationTracker-H25IOHBE.js.map → conversationTracker-CWBOYHS6.js.map} +0 -0
- /package/dist/{customCommands-7RZHKH2K.js.map → customCommands-FI35GWO7.js.map} +0 -0
- /package/dist/{env-DPJTGHMP.js.map → env-XIHEMHIE.js.map} +0 -0
- /package/dist/{file-D7W2FBZP.js.map → file-WT4CNRBH.js.map} +0 -0
- /package/dist/{llmLazy-HSKKIGLC.js.map → llmLazy-76OBERV2.js.map} +0 -0
- /package/dist/{loader-YUP6OJTJ.js.map → loader-TS2HH5EN.js.map} +0 -0
- /package/dist/{lsp-7QKC4DVK.js.map → lsp-KV7OBBMM.js.map} +0 -0
- /package/dist/{lspAnchor-LCRZ23GA.js.map → lspAnchor-ZCANLR6C.js.map} +0 -0
- /package/dist/{mcp-KK6BOD6I.js.map → mcp-MFOXCURO.js.map} +0 -0
- /package/dist/{mentionProcessor-V6JH6HUD.js.map → mentionProcessor-4OQOE7GY.js.map} +0 -0
- /package/dist/{messages-7NVTXWIJ.js.map → messages-NCRJ6QRS.js.map} +0 -0
- /package/dist/{model-QSDSUJDB.js.map → model-QGIJDQKV.js.map} +0 -0
- /package/dist/{openai-JC3KJN3H.js.map → openai-PIMPLRHA.js.map} +0 -0
- /package/dist/{outputStyles-TPH3CCB4.js.map → outputStyles-VIR2WGDW.js.map} +0 -0
- /package/dist/{pluginRuntime-7EK4LQDD.js.map → pluginRuntime-HM55RXJW.js.map} +0 -0
- /package/dist/{pluginValidation-BJWCS55I.js.map → pluginValidation-7TELFKDN.js.map} +0 -0
- /package/dist/{prompts-KQNPPEOG.js.map → prompts-JUMG5DV4.js.map} +0 -0
- /package/dist/{pybAgentSessionLoad-V3IAJJPS.js.map → pybAgentSessionLoad-G6BSOKJV.js.map} +0 -0
- /package/dist/{pybAgentSessionResume-WE7ET356.js.map → pybAgentSessionResume-GFO2HI4V.js.map} +0 -0
- /package/dist/{pybAgentStreamJsonSession-VWDYV4XL.js.map → pybAgentStreamJsonSession-XJWWG4KQ.js.map} +0 -0
- /package/dist/{pybHooks-UV7BTIVT.js.map → pybHooks-MRBA3GKS.js.map} +0 -0
- /package/dist/{query-KAZY5LOW.js.map → query-O5YZELUK.js.map} +0 -0
- /package/dist/{registry-FK6UGJPV.js.map → registry-VLNMWI4D.js.map} +0 -0
- /package/dist/{ripgrep-CXJ4DFPU.js.map → ripgrep-I4QCQBMN.js.map} +0 -0
- /package/dist/{skillMarketplace-QUJXDKZK.js.map → skillMarketplace-F3LNNAWT.js.map} +0 -0
- /package/dist/{state-GC3XELIE.js.map → state-66VUERW2.js.map} +0 -0
- /package/dist/{theme-24PLJSPD.js.map → theme-QGI5L27W.js.map} +0 -0
- /package/dist/{toolPermissionSettings-S6NJPBKT.js.map → toolPermissionSettings-E4T44WBW.js.map} +0 -0
- /package/dist/{tools-NC5R4I6F.js.map → tools-4WOQWDGA.js.map} +0 -0
|
@@ -4,17 +4,17 @@ import {
|
|
|
4
4
|
LspServerRegistry,
|
|
5
5
|
findNearestRoot,
|
|
6
6
|
getInstallNotices
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-C5W7DK4B.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-H25IY2QB.js";
|
|
14
14
|
import {
|
|
15
15
|
getCwd,
|
|
16
16
|
getSessionRoot
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-2LDISGV5.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-VLNMWI4D.js");
|
|
569
569
|
const pythonPath = detectPythonVenv(resolvedRoot);
|
|
570
570
|
if (pythonPath) {
|
|
571
571
|
initOpts = { ...initOpts ?? {}, pythonPath };
|
|
@@ -952,7 +952,7 @@ function getLastAssistantMessageId(messages) {
|
|
|
952
952
|
|
|
953
953
|
// src/utils/messages/index.ts
|
|
954
954
|
async function processUserInput(input, mode, setToolJSX, context, pastedImages) {
|
|
955
|
-
const impl = await import("./userInput-
|
|
955
|
+
const impl = await import("./userInput-KKWPB5G6.js");
|
|
956
956
|
return impl.processUserInput(input, mode, setToolJSX, context, pastedImages);
|
|
957
957
|
}
|
|
958
958
|
|
|
@@ -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-UUM4Q5S6.js";
|
|
6
6
|
import {
|
|
7
7
|
parseFrontmatter
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-W2DOITEM.js";
|
|
9
9
|
import {
|
|
10
10
|
getCwd
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-2LDISGV5.js";
|
|
12
12
|
|
|
13
13
|
// src/services/plugins/pluginValidation.ts
|
|
14
14
|
import { existsSync, lstatSync, readFileSync } from "node:fs";
|
|
@@ -8,14 +8,14 @@ import {
|
|
|
8
8
|
getSettingsFileCandidates,
|
|
9
9
|
loadSettingsWithLegacyFallback,
|
|
10
10
|
saveSettingsToPrimaryAndSyncLegacy
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-UJ2SNURP.js";
|
|
12
12
|
import {
|
|
13
13
|
getCurrentProjectConfig
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-AXW3EAEG.js";
|
|
15
15
|
import {
|
|
16
16
|
getCwd,
|
|
17
17
|
logError
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-2LDISGV5.js";
|
|
19
19
|
|
|
20
20
|
// src/utils/permissions/toolPermissionSettings.ts
|
|
21
21
|
function uniqueStrings(value) {
|
|
@@ -5,11 +5,11 @@ import {
|
|
|
5
5
|
appendSessionJsonlFromMessage,
|
|
6
6
|
appendSessionTagRecord,
|
|
7
7
|
listPybAgentSessions
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-DGOZRLG4.js";
|
|
9
9
|
import {
|
|
10
10
|
formatValidationResult,
|
|
11
11
|
validatePluginOrMarketplacePath
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-T4BBPE5F.js";
|
|
13
13
|
import {
|
|
14
14
|
ConversationTracker,
|
|
15
15
|
appendFinishState,
|
|
@@ -17,16 +17,16 @@ import {
|
|
|
17
17
|
getConversationTrackerForContext,
|
|
18
18
|
isFinishComplete,
|
|
19
19
|
mapFinishReason
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-MVWCFCWA.js";
|
|
21
21
|
import {
|
|
22
22
|
FileSystemConversationPersistence
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-L6HMG5TD.js";
|
|
24
24
|
import {
|
|
25
25
|
beginReplSessionScope
|
|
26
26
|
} from "./chunk-F4AXICO7.js";
|
|
27
27
|
import {
|
|
28
28
|
loadPybAgentSessionMessages
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-DSMH3DDQ.js";
|
|
30
30
|
import {
|
|
31
31
|
drainHookSystemPromptAdditions,
|
|
32
32
|
getHookTranscriptPath,
|
|
@@ -38,7 +38,7 @@ import {
|
|
|
38
38
|
runStopHooks,
|
|
39
39
|
runUserPromptSubmitHooks,
|
|
40
40
|
updateHookTranscriptForMessages
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-6FXN7WXV.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-NNGD2UJL.js";
|
|
51
51
|
import {
|
|
52
52
|
fetchCustomModels,
|
|
53
53
|
getModelFeatures
|
|
54
|
-
} from "./chunk-
|
|
54
|
+
} from "./chunk-5LOOKSJJ.js";
|
|
55
55
|
import {
|
|
56
56
|
getSessionState
|
|
57
57
|
} from "./chunk-XKYHFZEC.js";
|
|
@@ -59,7 +59,7 @@ import {
|
|
|
59
59
|
queryLLM,
|
|
60
60
|
queryQuick,
|
|
61
61
|
verifyApiKey
|
|
62
|
-
} from "./chunk-
|
|
62
|
+
} from "./chunk-DQPL53A3.js";
|
|
63
63
|
import {
|
|
64
64
|
DEFAULT_TIMEOUT_MS,
|
|
65
65
|
FallbackToolUseRejectedMessage,
|
|
@@ -73,7 +73,7 @@ import {
|
|
|
73
73
|
listMCPServers,
|
|
74
74
|
loadMergedSettings,
|
|
75
75
|
normalizeSandboxRuntimeConfigFromSettings
|
|
76
|
-
} from "./chunk-
|
|
76
|
+
} from "./chunk-PFHTQ2ON.js";
|
|
77
77
|
import {
|
|
78
78
|
addMarketplace,
|
|
79
79
|
disableSkillPlugin,
|
|
@@ -86,11 +86,11 @@ import {
|
|
|
86
86
|
refreshMarketplaceAsync,
|
|
87
87
|
removeMarketplace,
|
|
88
88
|
uninstallSkillPlugin
|
|
89
|
-
} from "./chunk-
|
|
89
|
+
} from "./chunk-UUM4Q5S6.js";
|
|
90
90
|
import {
|
|
91
91
|
loadToolPermissionContextFromDisk,
|
|
92
92
|
persistToolPermissionUpdateToDisk
|
|
93
|
-
} from "./chunk-
|
|
93
|
+
} from "./chunk-T5ZQLE6E.js";
|
|
94
94
|
import {
|
|
95
95
|
applyToolPermissionContextUpdate,
|
|
96
96
|
applyToolPermissionContextUpdates,
|
|
@@ -101,13 +101,13 @@ import {
|
|
|
101
101
|
generateSystemReminders,
|
|
102
102
|
resetReminderSession,
|
|
103
103
|
systemReminderService
|
|
104
|
-
} from "./chunk-
|
|
104
|
+
} from "./chunk-JU3X54OB.js";
|
|
105
105
|
import {
|
|
106
106
|
clearAgentCache,
|
|
107
107
|
getActiveAgents,
|
|
108
108
|
getAgentByType,
|
|
109
109
|
getAllAgents
|
|
110
|
-
} from "./chunk-
|
|
110
|
+
} from "./chunk-7G3CESAX.js";
|
|
111
111
|
import {
|
|
112
112
|
API_ERROR_MESSAGE_PREFIX,
|
|
113
113
|
CANCEL_MESSAGE,
|
|
@@ -144,7 +144,7 @@ import {
|
|
|
144
144
|
reorderMessages,
|
|
145
145
|
resetAutoCompactTelemetry,
|
|
146
146
|
stripSystemMessages
|
|
147
|
-
} from "./chunk-
|
|
147
|
+
} from "./chunk-S7HIIXVN.js";
|
|
148
148
|
import {
|
|
149
149
|
getRequestStatus,
|
|
150
150
|
setRequestStatus,
|
|
@@ -174,7 +174,7 @@ import {
|
|
|
174
174
|
normalizeFilePath,
|
|
175
175
|
readTextContent,
|
|
176
176
|
writeTextContent
|
|
177
|
-
} from "./chunk-
|
|
177
|
+
} from "./chunk-4RFXQVAB.js";
|
|
178
178
|
import {
|
|
179
179
|
parseBlockEdits
|
|
180
180
|
} from "./chunk-QWIBSCDN.js";
|
|
@@ -184,18 +184,18 @@ import {
|
|
|
184
184
|
ParserRegistry,
|
|
185
185
|
initParser,
|
|
186
186
|
loadLanguage
|
|
187
|
-
} from "./chunk-
|
|
187
|
+
} from "./chunk-QPX3VRTH.js";
|
|
188
188
|
import {
|
|
189
189
|
getSettingsFileCandidates,
|
|
190
190
|
loadSettingsWithLegacyFallback,
|
|
191
191
|
readSettingsFile
|
|
192
|
-
} from "./chunk-
|
|
192
|
+
} from "./chunk-UJ2SNURP.js";
|
|
193
193
|
import {
|
|
194
194
|
getCustomCommandDirectories,
|
|
195
195
|
hasCustomCommands,
|
|
196
196
|
loadCustomCommands,
|
|
197
197
|
reloadCustomCommands
|
|
198
|
-
} from "./chunk-
|
|
198
|
+
} from "./chunk-W2DOITEM.js";
|
|
199
199
|
import {
|
|
200
200
|
getSessionPlugins
|
|
201
201
|
} from "./chunk-BJSWTHRM.js";
|
|
@@ -204,7 +204,7 @@ import {
|
|
|
204
204
|
buildModelProfileKey,
|
|
205
205
|
getModelManager,
|
|
206
206
|
isDefaultSlowAndCapableModel
|
|
207
|
-
} from "./chunk-
|
|
207
|
+
} from "./chunk-AIYDVZNU.js";
|
|
208
208
|
import {
|
|
209
209
|
getCodeStyle,
|
|
210
210
|
getContext,
|
|
@@ -212,16 +212,16 @@ import {
|
|
|
212
212
|
getIsGit,
|
|
213
213
|
getProjectDocs,
|
|
214
214
|
getProjectStructureStatisticsBlock
|
|
215
|
-
} from "./chunk-
|
|
215
|
+
} from "./chunk-FBTRKZNM.js";
|
|
216
216
|
import {
|
|
217
217
|
getRipgrepPath,
|
|
218
218
|
getRipgrepPolicyMode,
|
|
219
219
|
resolveRipgrepPolicy,
|
|
220
220
|
ripGrep
|
|
221
|
-
} from "./chunk-
|
|
221
|
+
} from "./chunk-XVF7DL3L.js";
|
|
222
222
|
import {
|
|
223
223
|
getTheme
|
|
224
|
-
} from "./chunk-
|
|
224
|
+
} from "./chunk-7XKF4NS5.js";
|
|
225
225
|
import {
|
|
226
226
|
DEFAULT_GLOBAL_CONFIG,
|
|
227
227
|
enableConfigs,
|
|
@@ -234,7 +234,7 @@ import {
|
|
|
234
234
|
saveGlobalConfig,
|
|
235
235
|
setAllPointersToModel,
|
|
236
236
|
setModelPointer
|
|
237
|
-
} from "./chunk-
|
|
237
|
+
} from "./chunk-AXW3EAEG.js";
|
|
238
238
|
import {
|
|
239
239
|
AbortError
|
|
240
240
|
} from "./chunk-RQVLBMP7.js";
|
|
@@ -243,7 +243,7 @@ import {
|
|
|
243
243
|
getCurrentRequest,
|
|
244
244
|
logUserFriendly,
|
|
245
245
|
markPhase
|
|
246
|
-
} from "./chunk-
|
|
246
|
+
} from "./chunk-H25IY2QB.js";
|
|
247
247
|
import {
|
|
248
248
|
ASCII_LOGO,
|
|
249
249
|
BunShell,
|
|
@@ -284,10 +284,10 @@ import {
|
|
|
284
284
|
setCwd,
|
|
285
285
|
shouldApplyToolOutputTruncation,
|
|
286
286
|
truncateToolOutput
|
|
287
|
-
} from "./chunk-
|
|
287
|
+
} from "./chunk-2LDISGV5.js";
|
|
288
288
|
import {
|
|
289
289
|
MACRO
|
|
290
|
-
} from "./chunk-
|
|
290
|
+
} from "./chunk-7PKIDZYX.js";
|
|
291
291
|
import {
|
|
292
292
|
__export
|
|
293
293
|
} from "./chunk-I3J4JYES.js";
|
|
@@ -468,7 +468,7 @@ var getCommandSubcommandPrefix = memoize(
|
|
|
468
468
|
var getCommandPrefix = memoize(
|
|
469
469
|
async (command4, abortSignal) => {
|
|
470
470
|
const { systemPrompt, userPrompt } = buildBashCommandPrefixDetectionPrompt(command4);
|
|
471
|
-
const { API_ERROR_MESSAGE_PREFIX: API_ERROR_MESSAGE_PREFIX2, queryQuick: queryQuick2 } = await import("./llm-
|
|
471
|
+
const { API_ERROR_MESSAGE_PREFIX: API_ERROR_MESSAGE_PREFIX2, queryQuick: queryQuick2 } = await import("./llm-HPPHTPDB.js");
|
|
472
472
|
const response = await queryQuick2({
|
|
473
473
|
systemPrompt,
|
|
474
474
|
userPrompt,
|
|
@@ -4270,7 +4270,7 @@ function formatParseError(error) {
|
|
|
4270
4270
|
return error instanceof Error ? error.message : String(error);
|
|
4271
4271
|
}
|
|
4272
4272
|
async function defaultGateQuery(args) {
|
|
4273
|
-
const { API_ERROR_MESSAGE_PREFIX: API_ERROR_MESSAGE_PREFIX2, queryLLM: queryLLM2 } = await import("./llm-
|
|
4273
|
+
const { API_ERROR_MESSAGE_PREFIX: API_ERROR_MESSAGE_PREFIX2, queryLLM: queryLLM2 } = await import("./llm-HPPHTPDB.js");
|
|
4274
4274
|
const queryLLMFn = args.queryLLMOverride ?? queryLLM2;
|
|
4275
4275
|
const messages = [
|
|
4276
4276
|
{
|
|
@@ -6663,7 +6663,7 @@ var FileEditTool = {
|
|
|
6663
6663
|
const originalFileContent = currentFileContent;
|
|
6664
6664
|
let totalPatch = [];
|
|
6665
6665
|
const { SmartEdit } = await import("./smart-edit-AWHJDSU6.js");
|
|
6666
|
-
const { findLspAnchor } = await import("./lspAnchor-
|
|
6666
|
+
const { findLspAnchor } = await import("./lspAnchor-ZCANLR6C.js");
|
|
6667
6667
|
for (const op of editOperations) {
|
|
6668
6668
|
const normalizedSearch = normalizeLineEndings(op.search);
|
|
6669
6669
|
const normalizedReplace = normalizeLineEndings(op.replace);
|
|
@@ -12148,7 +12148,7 @@ async function createAndStoreApiKey(accessToken) {
|
|
|
12148
12148
|
}
|
|
12149
12149
|
saveGlobalConfig(config2);
|
|
12150
12150
|
try {
|
|
12151
|
-
const { resetAnthropicClient } = await import("./llm-
|
|
12151
|
+
const { resetAnthropicClient } = await import("./llm-HPPHTPDB.js");
|
|
12152
12152
|
resetAnthropicClient();
|
|
12153
12153
|
} catch {
|
|
12154
12154
|
}
|
|
@@ -16572,7 +16572,7 @@ async function refreshPluginRuntimeFromInstalls() {
|
|
|
16572
16572
|
const existingRoots = getSessionPlugins().map((p) => p.rootDir);
|
|
16573
16573
|
const dirs = Array.from(/* @__PURE__ */ new Set([...existingRoots, ...installedRoots]));
|
|
16574
16574
|
if (dirs.length === 0) return [];
|
|
16575
|
-
const { configureSessionPlugins } = await import("./pluginRuntime-
|
|
16575
|
+
const { configureSessionPlugins } = await import("./pluginRuntime-HM55RXJW.js");
|
|
16576
16576
|
const { errors } = await configureSessionPlugins({ pluginDirs: dirs });
|
|
16577
16577
|
return errors;
|
|
16578
16578
|
}
|
|
@@ -17247,7 +17247,7 @@ async function call(onDone, context) {
|
|
|
17247
17247
|
ModelConfig,
|
|
17248
17248
|
{
|
|
17249
17249
|
onClose: () => {
|
|
17250
|
-
import("./model-
|
|
17250
|
+
import("./model-QGIJDQKV.js").then(({ reloadModelManager: reloadModelManager2 }) => {
|
|
17251
17251
|
reloadModelManager2();
|
|
17252
17252
|
triggerModelConfigChange();
|
|
17253
17253
|
onDone();
|
|
@@ -25818,7 +25818,7 @@ function useStatusLine() {
|
|
|
25818
25818
|
// src/ui/components/PromptInput.tsx
|
|
25819
25819
|
async function interpretHashCommand(input) {
|
|
25820
25820
|
try {
|
|
25821
|
-
const { queryQuick: queryQuick2 } = await import("./llm-
|
|
25821
|
+
const { queryQuick: queryQuick2 } = await import("./llm-HPPHTPDB.js");
|
|
25822
25822
|
const systemPrompt = [
|
|
25823
25823
|
"You're helping the user structure notes that will be added to their PYB.md file.",
|
|
25824
25824
|
"Format the user's input into a well-structured note that will be useful for later reference.",
|
|
@@ -26131,7 +26131,7 @@ function PromptInput({
|
|
|
26131
26131
|
if (messages2.length) {
|
|
26132
26132
|
if (mode === "bash") {
|
|
26133
26133
|
onQuery(messages2, newAbortController).then(async () => {
|
|
26134
|
-
const { getCwd: getCwd2 } = await import("./state-
|
|
26134
|
+
const { getCwd: getCwd2 } = await import("./state-66VUERW2.js");
|
|
26135
26135
|
setCurrentPwd(getCwd2());
|
|
26136
26136
|
});
|
|
26137
26137
|
} else {
|
|
@@ -34043,7 +34043,7 @@ import { homedir as homedir8 } from "os";
|
|
|
34043
34043
|
// src/commands/agents/generation.ts
|
|
34044
34044
|
import { randomUUID as randomUUID6 } from "crypto";
|
|
34045
34045
|
async function generateAgentWithClaude(prompt) {
|
|
34046
|
-
const { queryModel } = await import("./llm-
|
|
34046
|
+
const { queryModel } = await import("./llm-HPPHTPDB.js");
|
|
34047
34047
|
const systemPrompt = `You are an expert at creating AI agent configurations. Based on the user's description, generate a specialized agent configuration.
|
|
34048
34048
|
|
|
34049
34049
|
Return your response as a JSON object with exactly these fields:
|
|
@@ -5,12 +5,12 @@ import {
|
|
|
5
5
|
} from "./chunk-BJSWTHRM.js";
|
|
6
6
|
import {
|
|
7
7
|
debug
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-H25IY2QB.js";
|
|
9
9
|
import {
|
|
10
10
|
getCwd,
|
|
11
11
|
logError,
|
|
12
12
|
resolveXdgDataPath
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-2LDISGV5.js";
|
|
14
14
|
|
|
15
15
|
// src/services/plugins/customCommands.ts
|
|
16
16
|
import { existsSync, readFileSync, readdirSync, statSync } from "fs";
|