pybao-cli 1.5.49 → 1.5.50
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-5XUDCAF4.js +53 -0
- package/dist/{acp-6X7A2AET.js → acp-VXAHCMQ4.js} +30 -30
- package/dist/{agentsValidate-GRUUS3WU.js → agentsValidate-PFVCK6ZC.js} +7 -7
- package/dist/{ask-HZDW4LTP.js → ask-7RQ2G5S3.js} +30 -30
- package/dist/{autoUpdater-SPEKG26M.js → autoUpdater-TDN3ABMG.js} +3 -3
- package/dist/{chunk-7NJKFUVQ.js → chunk-3IPEAISZ.js} +3 -3
- package/dist/{chunk-ALMRZ6TK.js → chunk-5ITEAEJC.js} +1 -1
- package/dist/{chunk-ALMRZ6TK.js.map → chunk-5ITEAEJC.js.map} +1 -1
- package/dist/{chunk-X7L2ZXEQ.js → chunk-5P4A6TN2.js} +2 -2
- package/dist/{chunk-KH3BWQJI.js → chunk-7MR3XX5X.js} +2 -2
- package/dist/{chunk-I33HG6MZ.js → chunk-A45A3UUU.js} +1 -1
- package/dist/{chunk-AIKGRPJR.js → chunk-BQCQ3DEN.js} +2 -2
- package/dist/{chunk-NSPAFJYF.js → chunk-C7BUAPKP.js} +3 -3
- package/dist/{chunk-3OA76CSA.js → chunk-CHH6TEXB.js} +1 -1
- package/dist/{chunk-JJNZ7WEP.js → chunk-CNBKKQSV.js} +1 -1
- package/dist/{chunk-NYRCQC7E.js → chunk-CNW45NOZ.js} +3 -3
- package/dist/{chunk-V6B67TTT.js → chunk-DBMDQEQO.js} +3 -3
- package/dist/{chunk-AKDLTQJZ.js → chunk-EY3ZOE75.js} +1 -1
- package/dist/{chunk-UEF22EAA.js → chunk-FNDIHEBT.js} +48 -10
- package/dist/{chunk-UEF22EAA.js.map → chunk-FNDIHEBT.js.map} +2 -2
- package/dist/{chunk-V633SD3K.js → chunk-IXFDCJ25.js} +3 -3
- package/dist/{chunk-EPTONOB3.js → chunk-J6HKEIL2.js} +1 -1
- package/dist/{chunk-7OKEXFNZ.js → chunk-K3QEELFX.js} +3 -3
- package/dist/{chunk-4DMR3345.js → chunk-KKNO6B2K.js} +38 -38
- package/dist/{chunk-XRHL3B3W.js → chunk-L4CGYTJQ.js} +1 -1
- package/dist/{chunk-E5CC5UGF.js → chunk-LE5VGGP6.js} +4 -4
- package/dist/{chunk-NRGFDG57.js → chunk-NBDDIZNJ.js} +2 -2
- package/dist/{chunk-SQL5Q5UT.js → chunk-NQGIALRP.js} +4 -4
- package/dist/{chunk-SCZBEZ4L.js → chunk-NRORTICH.js} +2 -2
- package/dist/{chunk-OT7EHZKB.js → chunk-NSFU6Y4R.js} +1 -1
- package/dist/{chunk-XGSD7RT6.js → chunk-PXRUNRK7.js} +1 -1
- package/dist/{chunk-ZBUV2OFZ.js → chunk-UJRT7VK2.js} +1 -1
- package/dist/{chunk-KSDMNPM3.js → chunk-VAZ4VRTA.js} +3 -3
- package/dist/{chunk-C2BMJGBF.js → chunk-XHAEEYYH.js} +1 -1
- package/dist/{chunk-F4IOWWDV.js → chunk-Y7I4XTJJ.js} +3 -3
- package/dist/{chunk-TBPXZUAE.js → chunk-YFVKGHW2.js} +2 -2
- package/dist/{chunk-ZYI3GZHI.js → chunk-ZDDVFBS4.js} +4 -4
- package/dist/{chunk-VII5ABW7.js → chunk-ZKW5V7MR.js} +1 -1
- package/dist/{cli-E24TVQWL.js → cli-PMOATR2H.js} +90 -90
- package/dist/commands-HA2TW7NU.js +57 -0
- package/dist/{config-U5HHXO56.js → config-PQYZDDGW.js} +4 -4
- package/dist/{context-5XAWTXIF.js → context-BWXP2WB4.js} +6 -6
- package/dist/{conversationPersistence-COKR4DJM.js → conversationPersistence-CS2SQ6Z6.js} +3 -3
- package/dist/{conversationTracker-CFWPAQJQ.js → conversationTracker-3OLKEYWM.js} +4 -4
- package/dist/{customCommands-KV4SPPEJ.js → customCommands-VPTXXYYR.js} +4 -4
- package/dist/{env-6Z2X4SGO.js → env-G5ZYCG5S.js} +2 -2
- package/dist/{file-EYJLYMU7.js → file-2I2KXCVN.js} +4 -4
- package/dist/index.js +3 -3
- package/dist/{llm-JRNCNUVN.js → llm-KXF74SNS.js} +31 -31
- package/dist/{llmLazy-ULKOVGTW.js → llmLazy-L3IJUBN2.js} +1 -1
- package/dist/{loader-YC2J4JQD.js → loader-CJOJNOV7.js} +4 -4
- package/dist/{lsp-YOU3CXAU.js → lsp-OKPL75YW.js} +6 -6
- package/dist/{lspAnchor-XLKJXJ4F.js → lspAnchor-7Z5YNXX3.js} +6 -6
- package/dist/{mcp-ZBXWPPEQ.js → mcp-C65V4JYM.js} +7 -7
- package/dist/{mentionProcessor-D7A5SR2F.js → mentionProcessor-EDZBHP7Y.js} +5 -5
- package/dist/{messages-N4BMW6FO.js → messages-YBAYUMKL.js} +1 -1
- package/dist/{model-3R63GBXV.js → model-7WMFC6F7.js} +5 -5
- package/dist/{openai-OE2BXCWW.js → openai-YWEX6G4I.js} +5 -5
- package/dist/{outputStyles-7NXCPWAM.js → outputStyles-N6S27KGD.js} +4 -4
- package/dist/{pluginRuntime-DUFKGBKI.js → pluginRuntime-3XWIAPQ7.js} +6 -6
- package/dist/{pluginValidation-TUI4RWTL.js → pluginValidation-2JLTTMJL.js} +6 -6
- package/dist/prompts-HCGQPTDJ.js +59 -0
- package/dist/{pybAgentSessionLoad-OHCESID3.js → pybAgentSessionLoad-XJ6XWCK5.js} +4 -4
- package/dist/{pybAgentSessionResume-X7TO6VQ7.js → pybAgentSessionResume-SMNXFGFB.js} +4 -4
- package/dist/{pybAgentStreamJsonSession-3XCK4MLN.js → pybAgentStreamJsonSession-33YU7WNJ.js} +1 -1
- package/dist/{pybHooks-WGTXY2KQ.js → pybHooks-6JRPW3VW.js} +4 -4
- package/dist/query-GGJC3XT2.js +57 -0
- package/dist/{registry-V4XMLWYT.js → registry-67P26WKJ.js} +5 -5
- package/dist/{ripgrep-ITNB4VGR.js → ripgrep-DPLWHL7O.js} +3 -3
- package/dist/{skillMarketplace-YYMKIEEM.js → skillMarketplace-MGU4KRUF.js} +3 -3
- package/dist/{state-ZQW77MQC.js → state-NZVNNCHH.js} +2 -2
- package/dist/{theme-L3I3PP7H.js → theme-XV4CTBG6.js} +5 -5
- package/dist/{toolPermissionSettings-ZHMSXSXS.js → toolPermissionSettings-NEXN25B3.js} +6 -6
- package/dist/tools-R7EDLOFS.js +57 -0
- package/dist/{userInput-VSYAOPNU.js → userInput-PHXM4ITY.js} +32 -32
- package/package.json +1 -1
- package/dist/REPL-QOH5GRZO.js +0 -53
- package/dist/commands-M75WK3OK.js +0 -57
- package/dist/prompts-VLIUTRIV.js +0 -59
- package/dist/query-Y332XP4J.js +0 -57
- package/dist/tools-CM5X3TT5.js +0 -57
- /package/dist/{REPL-QOH5GRZO.js.map → REPL-5XUDCAF4.js.map} +0 -0
- /package/dist/{acp-6X7A2AET.js.map → acp-VXAHCMQ4.js.map} +0 -0
- /package/dist/{agentsValidate-GRUUS3WU.js.map → agentsValidate-PFVCK6ZC.js.map} +0 -0
- /package/dist/{ask-HZDW4LTP.js.map → ask-7RQ2G5S3.js.map} +0 -0
- /package/dist/{autoUpdater-SPEKG26M.js.map → autoUpdater-TDN3ABMG.js.map} +0 -0
- /package/dist/{chunk-7NJKFUVQ.js.map → chunk-3IPEAISZ.js.map} +0 -0
- /package/dist/{chunk-X7L2ZXEQ.js.map → chunk-5P4A6TN2.js.map} +0 -0
- /package/dist/{chunk-KH3BWQJI.js.map → chunk-7MR3XX5X.js.map} +0 -0
- /package/dist/{chunk-I33HG6MZ.js.map → chunk-A45A3UUU.js.map} +0 -0
- /package/dist/{chunk-AIKGRPJR.js.map → chunk-BQCQ3DEN.js.map} +0 -0
- /package/dist/{chunk-NSPAFJYF.js.map → chunk-C7BUAPKP.js.map} +0 -0
- /package/dist/{chunk-3OA76CSA.js.map → chunk-CHH6TEXB.js.map} +0 -0
- /package/dist/{chunk-JJNZ7WEP.js.map → chunk-CNBKKQSV.js.map} +0 -0
- /package/dist/{chunk-NYRCQC7E.js.map → chunk-CNW45NOZ.js.map} +0 -0
- /package/dist/{chunk-V6B67TTT.js.map → chunk-DBMDQEQO.js.map} +0 -0
- /package/dist/{chunk-AKDLTQJZ.js.map → chunk-EY3ZOE75.js.map} +0 -0
- /package/dist/{chunk-V633SD3K.js.map → chunk-IXFDCJ25.js.map} +0 -0
- /package/dist/{chunk-EPTONOB3.js.map → chunk-J6HKEIL2.js.map} +0 -0
- /package/dist/{chunk-7OKEXFNZ.js.map → chunk-K3QEELFX.js.map} +0 -0
- /package/dist/{chunk-4DMR3345.js.map → chunk-KKNO6B2K.js.map} +0 -0
- /package/dist/{chunk-XRHL3B3W.js.map → chunk-L4CGYTJQ.js.map} +0 -0
- /package/dist/{chunk-E5CC5UGF.js.map → chunk-LE5VGGP6.js.map} +0 -0
- /package/dist/{chunk-NRGFDG57.js.map → chunk-NBDDIZNJ.js.map} +0 -0
- /package/dist/{chunk-SQL5Q5UT.js.map → chunk-NQGIALRP.js.map} +0 -0
- /package/dist/{chunk-SCZBEZ4L.js.map → chunk-NRORTICH.js.map} +0 -0
- /package/dist/{chunk-OT7EHZKB.js.map → chunk-NSFU6Y4R.js.map} +0 -0
- /package/dist/{chunk-XGSD7RT6.js.map → chunk-PXRUNRK7.js.map} +0 -0
- /package/dist/{chunk-ZBUV2OFZ.js.map → chunk-UJRT7VK2.js.map} +0 -0
- /package/dist/{chunk-KSDMNPM3.js.map → chunk-VAZ4VRTA.js.map} +0 -0
- /package/dist/{chunk-C2BMJGBF.js.map → chunk-XHAEEYYH.js.map} +0 -0
- /package/dist/{chunk-F4IOWWDV.js.map → chunk-Y7I4XTJJ.js.map} +0 -0
- /package/dist/{chunk-TBPXZUAE.js.map → chunk-YFVKGHW2.js.map} +0 -0
- /package/dist/{chunk-ZYI3GZHI.js.map → chunk-ZDDVFBS4.js.map} +0 -0
- /package/dist/{chunk-VII5ABW7.js.map → chunk-ZKW5V7MR.js.map} +0 -0
- /package/dist/{cli-E24TVQWL.js.map → cli-PMOATR2H.js.map} +0 -0
- /package/dist/{commands-M75WK3OK.js.map → commands-HA2TW7NU.js.map} +0 -0
- /package/dist/{config-U5HHXO56.js.map → config-PQYZDDGW.js.map} +0 -0
- /package/dist/{context-5XAWTXIF.js.map → context-BWXP2WB4.js.map} +0 -0
- /package/dist/{conversationPersistence-COKR4DJM.js.map → conversationPersistence-CS2SQ6Z6.js.map} +0 -0
- /package/dist/{conversationTracker-CFWPAQJQ.js.map → conversationTracker-3OLKEYWM.js.map} +0 -0
- /package/dist/{customCommands-KV4SPPEJ.js.map → customCommands-VPTXXYYR.js.map} +0 -0
- /package/dist/{env-6Z2X4SGO.js.map → env-G5ZYCG5S.js.map} +0 -0
- /package/dist/{file-EYJLYMU7.js.map → file-2I2KXCVN.js.map} +0 -0
- /package/dist/{llm-JRNCNUVN.js.map → llm-KXF74SNS.js.map} +0 -0
- /package/dist/{llmLazy-ULKOVGTW.js.map → llmLazy-L3IJUBN2.js.map} +0 -0
- /package/dist/{loader-YC2J4JQD.js.map → loader-CJOJNOV7.js.map} +0 -0
- /package/dist/{lsp-YOU3CXAU.js.map → lsp-OKPL75YW.js.map} +0 -0
- /package/dist/{lspAnchor-XLKJXJ4F.js.map → lspAnchor-7Z5YNXX3.js.map} +0 -0
- /package/dist/{mcp-ZBXWPPEQ.js.map → mcp-C65V4JYM.js.map} +0 -0
- /package/dist/{mentionProcessor-D7A5SR2F.js.map → mentionProcessor-EDZBHP7Y.js.map} +0 -0
- /package/dist/{messages-N4BMW6FO.js.map → messages-YBAYUMKL.js.map} +0 -0
- /package/dist/{model-3R63GBXV.js.map → model-7WMFC6F7.js.map} +0 -0
- /package/dist/{openai-OE2BXCWW.js.map → openai-YWEX6G4I.js.map} +0 -0
- /package/dist/{outputStyles-7NXCPWAM.js.map → outputStyles-N6S27KGD.js.map} +0 -0
- /package/dist/{pluginRuntime-DUFKGBKI.js.map → pluginRuntime-3XWIAPQ7.js.map} +0 -0
- /package/dist/{pluginValidation-TUI4RWTL.js.map → pluginValidation-2JLTTMJL.js.map} +0 -0
- /package/dist/{prompts-VLIUTRIV.js.map → prompts-HCGQPTDJ.js.map} +0 -0
- /package/dist/{pybAgentSessionLoad-OHCESID3.js.map → pybAgentSessionLoad-XJ6XWCK5.js.map} +0 -0
- /package/dist/{pybAgentSessionResume-X7TO6VQ7.js.map → pybAgentSessionResume-SMNXFGFB.js.map} +0 -0
- /package/dist/{pybAgentStreamJsonSession-3XCK4MLN.js.map → pybAgentStreamJsonSession-33YU7WNJ.js.map} +0 -0
- /package/dist/{pybHooks-WGTXY2KQ.js.map → pybHooks-6JRPW3VW.js.map} +0 -0
- /package/dist/{query-Y332XP4J.js.map → query-GGJC3XT2.js.map} +0 -0
- /package/dist/{registry-V4XMLWYT.js.map → registry-67P26WKJ.js.map} +0 -0
- /package/dist/{ripgrep-ITNB4VGR.js.map → ripgrep-DPLWHL7O.js.map} +0 -0
- /package/dist/{skillMarketplace-YYMKIEEM.js.map → skillMarketplace-MGU4KRUF.js.map} +0 -0
- /package/dist/{state-ZQW77MQC.js.map → state-NZVNNCHH.js.map} +0 -0
- /package/dist/{theme-L3I3PP7H.js.map → theme-XV4CTBG6.js.map} +0 -0
- /package/dist/{toolPermissionSettings-ZHMSXSXS.js.map → toolPermissionSettings-NEXN25B3.js.map} +0 -0
- /package/dist/{tools-CM5X3TT5.js.map → tools-R7EDLOFS.js.map} +0 -0
- /package/dist/{userInput-VSYAOPNU.js.map → userInput-PHXM4ITY.js.map} +0 -0
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
getSessionStoreFlags,
|
|
6
6
|
recordSessionSqlDualWriteFailure,
|
|
7
7
|
recordSessionSqlDualWriteSuccess
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-XHAEEYYH.js";
|
|
9
9
|
import {
|
|
10
10
|
isUuid
|
|
11
11
|
} from "./chunk-5P7HBXTD.js";
|
|
@@ -18,10 +18,10 @@ import {
|
|
|
18
18
|
PLAN_SLUG_VERBS,
|
|
19
19
|
getCwd,
|
|
20
20
|
resolveXdgDataPath
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-UJRT7VK2.js";
|
|
22
22
|
import {
|
|
23
23
|
MACRO
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-5ITEAEJC.js";
|
|
25
25
|
|
|
26
26
|
// src/utils/protocol/pybAgentSessionResume.ts
|
|
27
27
|
import { existsSync as existsSync2, readdirSync, readFileSync as readFileSync2, statSync as statSync2 } from "fs";
|
|
@@ -2,7 +2,7 @@ import { createRequire as __pybCreateRequire } from "node:module";
|
|
|
2
2
|
const require = __pybCreateRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
logError
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-UJRT7VK2.js";
|
|
6
6
|
|
|
7
7
|
// src/utils/session/conversationPersistence.ts
|
|
8
8
|
import {
|
|
@@ -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-CHH6TEXB.js";
|
|
6
6
|
import {
|
|
7
7
|
parseFrontmatter
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-7MR3XX5X.js";
|
|
9
9
|
import {
|
|
10
10
|
getCwd
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-UJRT7VK2.js";
|
|
12
12
|
|
|
13
13
|
// src/services/plugins/pluginValidation.ts
|
|
14
14
|
import { existsSync, lstatSync, readFileSync } from "node:fs";
|
|
@@ -2,17 +2,17 @@ import { createRequire as __pybCreateRequire } from "node:module";
|
|
|
2
2
|
const require = __pybCreateRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
loadPybAgentSessionMessages
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-NSFU6Y4R.js";
|
|
6
6
|
import {
|
|
7
7
|
appendSessionCustomTitleRecord,
|
|
8
8
|
appendSessionJsonlFromMessage,
|
|
9
9
|
appendSessionTagRecord,
|
|
10
10
|
listPybAgentSessions
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-IXFDCJ25.js";
|
|
12
12
|
import {
|
|
13
13
|
formatValidationResult,
|
|
14
14
|
validatePluginOrMarketplacePath
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-K3QEELFX.js";
|
|
16
16
|
import {
|
|
17
17
|
ConversationTracker,
|
|
18
18
|
appendFinishState,
|
|
@@ -20,10 +20,10 @@ import {
|
|
|
20
20
|
getConversationTrackerForContext,
|
|
21
21
|
isFinishComplete,
|
|
22
22
|
mapFinishReason
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-L4CGYTJQ.js";
|
|
24
24
|
import {
|
|
25
25
|
FileSystemConversationPersistence
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-J6HKEIL2.js";
|
|
27
27
|
import {
|
|
28
28
|
beginReplSessionScope
|
|
29
29
|
} from "./chunk-F4AXICO7.js";
|
|
@@ -38,7 +38,7 @@ import {
|
|
|
38
38
|
runStopHooks,
|
|
39
39
|
runUserPromptSubmitHooks,
|
|
40
40
|
updateHookTranscriptForMessages
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-DBMDQEQO.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-BQCQ3DEN.js";
|
|
51
51
|
import {
|
|
52
52
|
fetchCustomModels,
|
|
53
53
|
getModelFeatures
|
|
54
|
-
} from "./chunk-
|
|
54
|
+
} from "./chunk-5P4A6TN2.js";
|
|
55
55
|
import {
|
|
56
56
|
getCurrentSessionId,
|
|
57
57
|
getSessionState
|
|
@@ -60,7 +60,7 @@ import {
|
|
|
60
60
|
queryLLM,
|
|
61
61
|
queryQuick,
|
|
62
62
|
verifyApiKey
|
|
63
|
-
} from "./chunk-
|
|
63
|
+
} from "./chunk-ZDDVFBS4.js";
|
|
64
64
|
import {
|
|
65
65
|
DEFAULT_TIMEOUT_MS,
|
|
66
66
|
DESCRIPTION,
|
|
@@ -92,7 +92,7 @@ import {
|
|
|
92
92
|
listMCPServers,
|
|
93
93
|
loadMergedSettings,
|
|
94
94
|
normalizeSandboxRuntimeConfigFromSettings
|
|
95
|
-
} from "./chunk-
|
|
95
|
+
} from "./chunk-FNDIHEBT.js";
|
|
96
96
|
import {
|
|
97
97
|
addMarketplace,
|
|
98
98
|
disableSkillPlugin,
|
|
@@ -105,11 +105,11 @@ import {
|
|
|
105
105
|
refreshMarketplaceAsync,
|
|
106
106
|
removeMarketplace,
|
|
107
107
|
uninstallSkillPlugin
|
|
108
|
-
} from "./chunk-
|
|
108
|
+
} from "./chunk-CHH6TEXB.js";
|
|
109
109
|
import {
|
|
110
110
|
loadToolPermissionContextFromDisk,
|
|
111
111
|
persistToolPermissionUpdateToDisk
|
|
112
|
-
} from "./chunk-
|
|
112
|
+
} from "./chunk-Y7I4XTJJ.js";
|
|
113
113
|
import {
|
|
114
114
|
applyToolPermissionContextUpdate,
|
|
115
115
|
applyToolPermissionContextUpdates,
|
|
@@ -120,14 +120,14 @@ import {
|
|
|
120
120
|
generateSystemReminders,
|
|
121
121
|
resetReminderSession,
|
|
122
122
|
systemReminderService
|
|
123
|
-
} from "./chunk-
|
|
123
|
+
} from "./chunk-NRORTICH.js";
|
|
124
124
|
import {
|
|
125
125
|
clearAgentCache,
|
|
126
126
|
getActiveAgents,
|
|
127
127
|
getAgentByType,
|
|
128
128
|
getAllAgents,
|
|
129
129
|
getAvailableAgentTypes
|
|
130
|
-
} from "./chunk-
|
|
130
|
+
} from "./chunk-YFVKGHW2.js";
|
|
131
131
|
import {
|
|
132
132
|
API_ERROR_MESSAGE_PREFIX,
|
|
133
133
|
CANCEL_MESSAGE,
|
|
@@ -162,7 +162,7 @@ import {
|
|
|
162
162
|
reorderMessages,
|
|
163
163
|
resetAutoCompactTelemetry,
|
|
164
164
|
stripSystemMessages
|
|
165
|
-
} from "./chunk-
|
|
165
|
+
} from "./chunk-PXRUNRK7.js";
|
|
166
166
|
import {
|
|
167
167
|
getRequestStatus,
|
|
168
168
|
setRequestStatus,
|
|
@@ -194,7 +194,7 @@ import {
|
|
|
194
194
|
normalizeFilePath,
|
|
195
195
|
readTextContent,
|
|
196
196
|
writeTextContent
|
|
197
|
-
} from "./chunk-
|
|
197
|
+
} from "./chunk-NBDDIZNJ.js";
|
|
198
198
|
import {
|
|
199
199
|
parseBlockEdits
|
|
200
200
|
} from "./chunk-QWIBSCDN.js";
|
|
@@ -208,7 +208,7 @@ import {
|
|
|
208
208
|
formatDiagnosticsPretty,
|
|
209
209
|
initParser,
|
|
210
210
|
loadLanguage
|
|
211
|
-
} from "./chunk-
|
|
211
|
+
} from "./chunk-NQGIALRP.js";
|
|
212
212
|
import {
|
|
213
213
|
emitTelemetryEvent,
|
|
214
214
|
registerTelemetryListener
|
|
@@ -217,13 +217,13 @@ import {
|
|
|
217
217
|
getSettingsFileCandidates,
|
|
218
218
|
loadSettingsWithLegacyFallback,
|
|
219
219
|
readSettingsFile
|
|
220
|
-
} from "./chunk-
|
|
220
|
+
} from "./chunk-CNBKKQSV.js";
|
|
221
221
|
import {
|
|
222
222
|
getCustomCommandDirectories,
|
|
223
223
|
hasCustomCommands,
|
|
224
224
|
loadCustomCommands,
|
|
225
225
|
reloadCustomCommands
|
|
226
|
-
} from "./chunk-
|
|
226
|
+
} from "./chunk-7MR3XX5X.js";
|
|
227
227
|
import {
|
|
228
228
|
getSessionPlugins
|
|
229
229
|
} from "./chunk-BJSWTHRM.js";
|
|
@@ -232,7 +232,7 @@ import {
|
|
|
232
232
|
buildModelProfileKey,
|
|
233
233
|
getModelManager,
|
|
234
234
|
isDefaultSlowAndCapableModel
|
|
235
|
-
} from "./chunk-
|
|
235
|
+
} from "./chunk-VAZ4VRTA.js";
|
|
236
236
|
import {
|
|
237
237
|
getCodeStyle,
|
|
238
238
|
getContext,
|
|
@@ -240,16 +240,16 @@ import {
|
|
|
240
240
|
getIsGit,
|
|
241
241
|
getProjectDocs,
|
|
242
242
|
getProjectStructureStatisticsBlock
|
|
243
|
-
} from "./chunk-
|
|
243
|
+
} from "./chunk-LE5VGGP6.js";
|
|
244
244
|
import {
|
|
245
245
|
getRipgrepPath,
|
|
246
246
|
getRipgrepPolicyMode,
|
|
247
247
|
resolveRipgrepPolicy,
|
|
248
248
|
ripGrep
|
|
249
|
-
} from "./chunk-
|
|
249
|
+
} from "./chunk-ZKW5V7MR.js";
|
|
250
250
|
import {
|
|
251
251
|
getTheme
|
|
252
|
-
} from "./chunk-
|
|
252
|
+
} from "./chunk-EY3ZOE75.js";
|
|
253
253
|
import {
|
|
254
254
|
DEFAULT_GLOBAL_CONFIG,
|
|
255
255
|
enableConfigs,
|
|
@@ -262,7 +262,7 @@ import {
|
|
|
262
262
|
saveGlobalConfig,
|
|
263
263
|
setAllPointersToModel,
|
|
264
264
|
setModelPointer
|
|
265
|
-
} from "./chunk-
|
|
265
|
+
} from "./chunk-CNW45NOZ.js";
|
|
266
266
|
import {
|
|
267
267
|
AbortError
|
|
268
268
|
} from "./chunk-RQVLBMP7.js";
|
|
@@ -271,7 +271,7 @@ import {
|
|
|
271
271
|
getCurrentRequest,
|
|
272
272
|
logUserFriendly,
|
|
273
273
|
markPhase
|
|
274
|
-
} from "./chunk-
|
|
274
|
+
} from "./chunk-A45A3UUU.js";
|
|
275
275
|
import {
|
|
276
276
|
ASCII_LOGO,
|
|
277
277
|
BunShell,
|
|
@@ -315,10 +315,10 @@ import {
|
|
|
315
315
|
setCwd,
|
|
316
316
|
shouldApplyToolOutputTruncation,
|
|
317
317
|
truncateToolOutput
|
|
318
|
-
} from "./chunk-
|
|
318
|
+
} from "./chunk-UJRT7VK2.js";
|
|
319
319
|
import {
|
|
320
320
|
MACRO
|
|
321
|
-
} from "./chunk-
|
|
321
|
+
} from "./chunk-5ITEAEJC.js";
|
|
322
322
|
import {
|
|
323
323
|
__export
|
|
324
324
|
} from "./chunk-I3J4JYES.js";
|
|
@@ -499,7 +499,7 @@ var getCommandSubcommandPrefix = memoize(
|
|
|
499
499
|
var getCommandPrefix = memoize(
|
|
500
500
|
async (command4, abortSignal) => {
|
|
501
501
|
const { systemPrompt, userPrompt } = buildBashCommandPrefixDetectionPrompt(command4);
|
|
502
|
-
const { API_ERROR_MESSAGE_PREFIX: API_ERROR_MESSAGE_PREFIX2, queryQuick: queryQuick2 } = await import("./llm-
|
|
502
|
+
const { API_ERROR_MESSAGE_PREFIX: API_ERROR_MESSAGE_PREFIX2, queryQuick: queryQuick2 } = await import("./llm-KXF74SNS.js");
|
|
503
503
|
const response = await queryQuick2({
|
|
504
504
|
systemPrompt,
|
|
505
505
|
userPrompt,
|
|
@@ -4301,7 +4301,7 @@ function formatParseError(error) {
|
|
|
4301
4301
|
return error instanceof Error ? error.message : String(error);
|
|
4302
4302
|
}
|
|
4303
4303
|
async function defaultGateQuery(args) {
|
|
4304
|
-
const { API_ERROR_MESSAGE_PREFIX: API_ERROR_MESSAGE_PREFIX2, queryLLM: queryLLM2 } = await import("./llm-
|
|
4304
|
+
const { API_ERROR_MESSAGE_PREFIX: API_ERROR_MESSAGE_PREFIX2, queryLLM: queryLLM2 } = await import("./llm-KXF74SNS.js");
|
|
4305
4305
|
const queryLLMFn = args.queryLLMOverride ?? queryLLM2;
|
|
4306
4306
|
const messages = [
|
|
4307
4307
|
{
|
|
@@ -6800,7 +6800,7 @@ var FileEditTool = {
|
|
|
6800
6800
|
const originalFileContent = currentFileContent;
|
|
6801
6801
|
let totalPatch = [];
|
|
6802
6802
|
const { SmartEdit } = await import("./smart-edit-AWHJDSU6.js");
|
|
6803
|
-
const { findLspAnchor } = await import("./lspAnchor-
|
|
6803
|
+
const { findLspAnchor } = await import("./lspAnchor-7Z5YNXX3.js");
|
|
6804
6804
|
for (const op of editOperations) {
|
|
6805
6805
|
const normalizedSearch = normalizeLineEndings(op.search);
|
|
6806
6806
|
const normalizedReplace = normalizeLineEndings(op.replace);
|
|
@@ -12402,7 +12402,7 @@ async function createAndStoreApiKey(accessToken) {
|
|
|
12402
12402
|
}
|
|
12403
12403
|
saveGlobalConfig(config2);
|
|
12404
12404
|
try {
|
|
12405
|
-
const { resetAnthropicClient } = await import("./llm-
|
|
12405
|
+
const { resetAnthropicClient } = await import("./llm-KXF74SNS.js");
|
|
12406
12406
|
resetAnthropicClient();
|
|
12407
12407
|
} catch {
|
|
12408
12408
|
}
|
|
@@ -16826,7 +16826,7 @@ async function refreshPluginRuntimeFromInstalls() {
|
|
|
16826
16826
|
const existingRoots = getSessionPlugins().map((p) => p.rootDir);
|
|
16827
16827
|
const dirs = Array.from(/* @__PURE__ */ new Set([...existingRoots, ...installedRoots]));
|
|
16828
16828
|
if (dirs.length === 0) return [];
|
|
16829
|
-
const { configureSessionPlugins } = await import("./pluginRuntime-
|
|
16829
|
+
const { configureSessionPlugins } = await import("./pluginRuntime-3XWIAPQ7.js");
|
|
16830
16830
|
const { errors } = await configureSessionPlugins({ pluginDirs: dirs });
|
|
16831
16831
|
return errors;
|
|
16832
16832
|
}
|
|
@@ -17501,7 +17501,7 @@ async function call(onDone, context) {
|
|
|
17501
17501
|
ModelConfig,
|
|
17502
17502
|
{
|
|
17503
17503
|
onClose: () => {
|
|
17504
|
-
import("./model-
|
|
17504
|
+
import("./model-7WMFC6F7.js").then(({ reloadModelManager: reloadModelManager2 }) => {
|
|
17505
17505
|
reloadModelManager2();
|
|
17506
17506
|
triggerModelConfigChange();
|
|
17507
17507
|
onDone();
|
|
@@ -27583,7 +27583,7 @@ async function analyzeOutputWithLsp(output, exitCode) {
|
|
|
27583
27583
|
if (exitCode !== 0 || errorCount > 0 || warningCount > 0) {
|
|
27584
27584
|
try {
|
|
27585
27585
|
const { isAbsolute: isAbsolute11, resolve: resolve16 } = await import("path");
|
|
27586
|
-
const { getSessionRoot: getSessionRoot2 } = await import("./state-
|
|
27586
|
+
const { getSessionRoot: getSessionRoot2 } = await import("./state-NZVNNCHH.js");
|
|
27587
27587
|
const lines = output.split("\n");
|
|
27588
27588
|
const uniqueFiles = /* @__PURE__ */ new Set();
|
|
27589
27589
|
const lspSuggestions = [];
|
|
@@ -27985,7 +27985,7 @@ var DeleteTool = {
|
|
|
27985
27985
|
}
|
|
27986
27986
|
if (!force) {
|
|
27987
27987
|
try {
|
|
27988
|
-
const { LspFacade: LspFacade2 } = await import("./lsp-
|
|
27988
|
+
const { LspFacade: LspFacade2 } = await import("./lsp-OKPL75YW.js");
|
|
27989
27989
|
const referenceDetail = await LspFacade2.checkFileReferences(fullPath);
|
|
27990
27990
|
if (referenceDetail) {
|
|
27991
27991
|
failedItems.push(
|
|
@@ -38297,7 +38297,7 @@ function useStatusLine() {
|
|
|
38297
38297
|
// src/ui/components/PromptInput.tsx
|
|
38298
38298
|
async function interpretHashCommand(input) {
|
|
38299
38299
|
try {
|
|
38300
|
-
const { queryQuick: queryQuick2 } = await import("./llm-
|
|
38300
|
+
const { queryQuick: queryQuick2 } = await import("./llm-KXF74SNS.js");
|
|
38301
38301
|
const systemPrompt = [
|
|
38302
38302
|
"You're helping the user structure notes that will be added to their PYB.md file.",
|
|
38303
38303
|
"Format the user's input into a well-structured note that will be useful for later reference.",
|
|
@@ -38610,7 +38610,7 @@ function PromptInput({
|
|
|
38610
38610
|
if (messages2.length) {
|
|
38611
38611
|
if (mode === "bash") {
|
|
38612
38612
|
onQuery(messages2, newAbortController).then(async () => {
|
|
38613
|
-
const { getCwd: getCwd2 } = await import("./state-
|
|
38613
|
+
const { getCwd: getCwd2 } = await import("./state-NZVNNCHH.js");
|
|
38614
38614
|
setCurrentPwd(getCwd2());
|
|
38615
38615
|
});
|
|
38616
38616
|
} else {
|
|
@@ -40240,7 +40240,7 @@ import { homedir as homedir8 } from "os";
|
|
|
40240
40240
|
// src/commands/agents/generation.ts
|
|
40241
40241
|
import { randomUUID as randomUUID9 } from "crypto";
|
|
40242
40242
|
async function generateAgentWithClaude(prompt) {
|
|
40243
|
-
const { queryModel } = await import("./llm-
|
|
40243
|
+
const { queryModel } = await import("./llm-KXF74SNS.js");
|
|
40244
40244
|
const systemPrompt = `You are an expert at creating AI agent configurations. Based on the user's description, generate a specialized agent configuration.
|
|
40245
40245
|
|
|
40246
40246
|
Return your response as a JSON object with exactly these fields:
|
|
@@ -2,7 +2,7 @@ import { createRequire as __pybCreateRequire } from "node:module";
|
|
|
2
2
|
const require = __pybCreateRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
PERSISTENCE_VERSION
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-J6HKEIL2.js";
|
|
6
6
|
|
|
7
7
|
// src/utils/session/conversationMessageState.ts
|
|
8
8
|
function mapFinishReason(rawReason) {
|
|
@@ -8,13 +8,13 @@ import {
|
|
|
8
8
|
} from "./chunk-KFEHHKZ2.js";
|
|
9
9
|
import {
|
|
10
10
|
ripGrepWithStatus
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-ZKW5V7MR.js";
|
|
12
12
|
import {
|
|
13
13
|
getCurrentProjectConfig,
|
|
14
14
|
getGlobalConfig,
|
|
15
15
|
getOrCreateUserID,
|
|
16
16
|
saveCurrentProjectConfig
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-CNW45NOZ.js";
|
|
18
18
|
import {
|
|
19
19
|
SESSION_ID,
|
|
20
20
|
env,
|
|
@@ -22,10 +22,10 @@ import {
|
|
|
22
22
|
getCwd,
|
|
23
23
|
isContextScanDisabled,
|
|
24
24
|
logError
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-UJRT7VK2.js";
|
|
26
26
|
import {
|
|
27
27
|
MACRO
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-5ITEAEJC.js";
|
|
29
29
|
import {
|
|
30
30
|
__require
|
|
31
31
|
} from "./chunk-I3J4JYES.js";
|
|
@@ -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-ZKW5V7MR.js";
|
|
6
6
|
import {
|
|
7
7
|
getCwd,
|
|
8
8
|
logError
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-UJRT7VK2.js";
|
|
10
10
|
|
|
11
11
|
// src/utils/fs/file.ts
|
|
12
12
|
import {
|
|
@@ -7,17 +7,17 @@ import {
|
|
|
7
7
|
LspServerRegistry,
|
|
8
8
|
findNearestRoot,
|
|
9
9
|
getInstallNotices
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-C7BUAPKP.js";
|
|
11
11
|
import {
|
|
12
12
|
levenshtein
|
|
13
13
|
} from "./chunk-UZ34JEUK.js";
|
|
14
14
|
import {
|
|
15
15
|
debug
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-A45A3UUU.js";
|
|
17
17
|
import {
|
|
18
18
|
getCwd,
|
|
19
19
|
getSessionRoot
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-UJRT7VK2.js";
|
|
21
21
|
|
|
22
22
|
// src/lsp/index.ts
|
|
23
23
|
import { extname as extname3 } from "path";
|
|
@@ -568,7 +568,7 @@ var LspClientManager = class _LspClientManager {
|
|
|
568
568
|
const safeCwd = /[^\x00-\x7F]/.test(resolvedRoot) ? process.cwd() : resolvedRoot;
|
|
569
569
|
let initOpts = serverInfo.initializationOptions;
|
|
570
570
|
if (serverInfo.id === "pyright" || serverInfo.id === "ty") {
|
|
571
|
-
const { detectPythonVenv } = await import("./registry-
|
|
571
|
+
const { detectPythonVenv } = await import("./registry-67P26WKJ.js");
|
|
572
572
|
const pythonPath = detectPythonVenv(resolvedRoot);
|
|
573
573
|
if (pythonPath) {
|
|
574
574
|
initOpts = { ...initOpts ?? {}, pythonPath };
|
|
@@ -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-A45A3UUU.js";
|
|
6
6
|
import {
|
|
7
7
|
logError
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-UJRT7VK2.js";
|
|
9
9
|
|
|
10
10
|
// src/services/system/systemReminder.ts
|
|
11
11
|
var SystemReminderService = class {
|
|
@@ -2,7 +2,7 @@ import { createRequire as __pybCreateRequire } from "node:module";
|
|
|
2
2
|
const require = __pybCreateRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
createSessionSqlStore
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-XHAEEYYH.js";
|
|
6
6
|
|
|
7
7
|
// src/utils/protocol/pybAgentSessionLoad.ts
|
|
8
8
|
function loadPybAgentSessionLogData(args) {
|
|
@@ -966,7 +966,7 @@ function getLastAssistantMessageId(messages) {
|
|
|
966
966
|
|
|
967
967
|
// src/utils/messages/index.ts
|
|
968
968
|
async function processUserInput(input, mode, setToolJSX, context, pastedImages) {
|
|
969
|
-
const impl = await import("./userInput-
|
|
969
|
+
const impl = await import("./userInput-PHXM4ITY.js");
|
|
970
970
|
return impl.processUserInput(input, mode, setToolJSX, context, pastedImages);
|
|
971
971
|
}
|
|
972
972
|
|
|
@@ -2,7 +2,7 @@ import { createRequire as __pybCreateRequire } from "node:module";
|
|
|
2
2
|
const require = __pybCreateRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
MACRO
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-5ITEAEJC.js";
|
|
6
6
|
|
|
7
7
|
// src/utils/state/index.ts
|
|
8
8
|
import { cwd } from "process";
|
|
@@ -3,13 +3,13 @@ const require = __pybCreateRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
getGlobalConfig,
|
|
5
5
|
saveGlobalConfig
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-CNW45NOZ.js";
|
|
7
7
|
import {
|
|
8
8
|
debug
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-A45A3UUU.js";
|
|
10
10
|
import {
|
|
11
11
|
logError
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-UJRT7VK2.js";
|
|
13
13
|
|
|
14
14
|
// src/utils/model/index.ts
|
|
15
15
|
import { memoize } from "lodash-es";
|
|
@@ -8,14 +8,14 @@ import {
|
|
|
8
8
|
getSettingsFileCandidates,
|
|
9
9
|
loadSettingsWithLegacyFallback,
|
|
10
10
|
saveSettingsToPrimaryAndSyncLegacy
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-CNBKKQSV.js";
|
|
12
12
|
import {
|
|
13
13
|
getCurrentProjectConfig
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-CNW45NOZ.js";
|
|
15
15
|
import {
|
|
16
16
|
getCwd,
|
|
17
17
|
logError
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-UJRT7VK2.js";
|
|
19
19
|
|
|
20
20
|
// src/utils/permissions/toolPermissionSettings.ts
|
|
21
21
|
function uniqueStrings(value) {
|
|
@@ -8,12 +8,12 @@ import {
|
|
|
8
8
|
} from "./chunk-BJSWTHRM.js";
|
|
9
9
|
import {
|
|
10
10
|
debug
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-A45A3UUU.js";
|
|
12
12
|
import {
|
|
13
13
|
getCwd,
|
|
14
14
|
getXdgConfigDir,
|
|
15
15
|
logError
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-UJRT7VK2.js";
|
|
17
17
|
|
|
18
18
|
// src/utils/agent/loader.ts
|
|
19
19
|
import {
|
|
@@ -3,7 +3,7 @@ const require = __pybCreateRequire(import.meta.url);
|
|
|
3
3
|
|
|
4
4
|
// src/services/ai/llmLazy.ts
|
|
5
5
|
async function queryLLM(messages, systemPrompt, maxThinkingTokens, tools, signal, options) {
|
|
6
|
-
const { queryLLM: inner } = await import("./llm-
|
|
6
|
+
const { queryLLM: inner } = await import("./llm-KXF74SNS.js");
|
|
7
7
|
return inner(
|
|
8
8
|
messages,
|
|
9
9
|
systemPrompt,
|
|
@@ -14,15 +14,15 @@ async function queryLLM(messages, systemPrompt, maxThinkingTokens, tools, signal
|
|
|
14
14
|
);
|
|
15
15
|
}
|
|
16
16
|
async function queryQuick(args) {
|
|
17
|
-
const { queryQuick: inner } = await import("./llm-
|
|
17
|
+
const { queryQuick: inner } = await import("./llm-KXF74SNS.js");
|
|
18
18
|
return inner(args);
|
|
19
19
|
}
|
|
20
20
|
async function verifyApiKey(apiKey, baseURL, provider) {
|
|
21
|
-
const { verifyApiKey: inner } = await import("./llm-
|
|
21
|
+
const { verifyApiKey: inner } = await import("./llm-KXF74SNS.js");
|
|
22
22
|
return inner(apiKey, baseURL, provider);
|
|
23
23
|
}
|
|
24
24
|
async function fetchAnthropicModels(apiKey, baseURL) {
|
|
25
|
-
const { fetchAnthropicModels: inner } = await import("./llm-
|
|
25
|
+
const { fetchAnthropicModels: inner } = await import("./llm-KXF74SNS.js");
|
|
26
26
|
return inner(apiKey, baseURL);
|
|
27
27
|
}
|
|
28
28
|
|