pybao-cli 1.4.95 → 1.4.96
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-4XDQ5LO2.js +49 -0
- package/dist/{acp-FPVPQTMD.js → acp-DSHGC42G.js} +30 -30
- package/dist/{agentsValidate-VIYS64AG.js → agentsValidate-XCGG77GS.js} +7 -7
- package/dist/{ask-TOGONOY6.js → ask-BTEWFWX7.js} +29 -29
- package/dist/{autoUpdater-45UGXO2V.js → autoUpdater-2JPYTHJU.js} +3 -3
- package/dist/{chunk-KE2NDZJF.js → chunk-2KWRWCZO.js} +36 -37
- package/dist/{chunk-KE2NDZJF.js.map → chunk-2KWRWCZO.js.map} +2 -2
- package/dist/{chunk-56LFTZHB.js → chunk-37Z4UJE7.js} +3 -3
- package/dist/{chunk-KFPOVM33.js → chunk-5ZRN3ED2.js} +2 -2
- package/dist/{chunk-LJUPEEMC.js → chunk-65ADQNJL.js} +1 -1
- package/dist/{chunk-E2K6ELOW.js → chunk-73JVPKCJ.js} +3 -3
- package/dist/{chunk-56EJK3MH.js → chunk-AZOP5QKF.js} +2 -2
- package/dist/{chunk-NCUJDIII.js → chunk-BABSJ55B.js} +3 -3
- package/dist/{chunk-ETVV55EX.js → chunk-BZJ63VLB.js} +1 -1
- package/dist/{chunk-T6O2MS74.js → chunk-C63QE2JE.js} +1 -1
- package/dist/{chunk-QZXAC2CP.js → chunk-CKY2L3QE.js} +1 -1
- package/dist/{chunk-QZXAC2CP.js.map → chunk-CKY2L3QE.js.map} +1 -1
- package/dist/{chunk-675RRX7X.js → chunk-GDYCFPX7.js} +3 -3
- package/dist/{chunk-FNS2DK3V.js → chunk-GIXD4Z4O.js} +1 -1
- package/dist/{chunk-DJFCALOX.js → chunk-IAFDLMER.js} +16 -16
- package/dist/{chunk-BHLIMEBV.js → chunk-IXOS2743.js} +2 -2
- package/dist/{chunk-66SNLLWL.js → chunk-IZLBXT6P.js} +1 -1
- package/dist/{chunk-BVSUCS3H.js → chunk-IZPWMY6H.js} +1 -1
- package/dist/{chunk-47WLE3TO.js → chunk-KXGXMSPS.js} +1 -1
- package/dist/{chunk-DHTKDPU2.js → chunk-LYAYIYBK.js} +3 -3
- package/dist/{chunk-XZ7GC5IX.js → chunk-MMICBXP5.js} +3 -3
- package/dist/{chunk-PCS7SCOC.js → chunk-NPLYGSR3.js} +2 -2
- package/dist/{chunk-ZLPASBWE.js → chunk-NUVWA6CG.js} +2 -2
- package/dist/{chunk-3FZE7YIA.js → chunk-RXJNQXGH.js} +4 -4
- package/dist/{chunk-N5MB4N4V.js → chunk-SWUVTC7Q.js} +1 -1
- package/dist/{chunk-DWUFZPTY.js → chunk-SXCGPQ3R.js} +2 -2
- package/dist/{chunk-327GSNUY.js → chunk-T4LDHDO5.js} +1 -1
- package/dist/{chunk-4GIM2VEF.js → chunk-V3I6BY55.js} +4 -4
- package/dist/{chunk-AVF7COHJ.js → chunk-VYTXJQMG.js} +4 -4
- package/dist/{chunk-TUP3WACA.js → chunk-W2YU6ZJG.js} +4 -4
- package/dist/{chunk-AZ43JQTH.js → chunk-WFTCIKRP.js} +3 -3
- package/dist/{chunk-WBWAO4F5.js → chunk-XJEOCTTA.js} +1 -1
- package/dist/{chunk-6HCDXAY7.js → chunk-ZWWEN5JT.js} +2 -2
- package/dist/{cli-VZDM4FIT.js → cli-2YFCKDKV.js} +89 -89
- package/dist/commands-QLETKRIB.js +53 -0
- package/dist/{config-SMXASCB3.js → config-BS3TSRO2.js} +4 -4
- package/dist/{context-6ERZPITV.js → context-GUWJH2XE.js} +6 -6
- package/dist/{conversationTracker-WA6LN7V7.js → conversationTracker-3OMO23AJ.js} +3 -3
- package/dist/{customCommands-OTK7EC2T.js → customCommands-O4D67KVC.js} +4 -4
- package/dist/{env-WPZFZMYT.js → env-4M3GZSUS.js} +2 -2
- package/dist/{file-T2GBLH4G.js → file-FIYEKO7W.js} +4 -4
- package/dist/index.js +3 -3
- package/dist/{llm-YSW2325O.js → llm-MXURYD2K.js} +30 -30
- package/dist/{llmLazy-FWNRCCTD.js → llmLazy-X6M4BHF3.js} +1 -1
- package/dist/{loader-R3KGGH5Z.js → loader-DDBTFUPC.js} +4 -4
- package/dist/{lsp-ZYQFUTD4.js → lsp-2SCBURX2.js} +6 -6
- package/dist/{lspAnchor-W52GYIFB.js → lspAnchor-YV4BDQJX.js} +6 -6
- package/dist/{mcp-NISHFDIB.js → mcp-CKGQUT3S.js} +7 -7
- package/dist/{mentionProcessor-NOZBAB6Z.js → mentionProcessor-NDVGHEEZ.js} +5 -5
- package/dist/{messages-D3YPR5M6.js → messages-UHUC65DS.js} +1 -1
- package/dist/{model-DZ3R73A4.js → model-RS4VTMY6.js} +5 -5
- package/dist/{openai-EYV5BUHL.js → openai-QRE5RM6W.js} +5 -5
- package/dist/{outputStyles-W5EP4G56.js → outputStyles-UZYGNQU7.js} +4 -4
- package/dist/{pluginRuntime-FCXKKFRZ.js → pluginRuntime-4Z2SPLJI.js} +6 -6
- package/dist/{pluginValidation-BILOSHFX.js → pluginValidation-GHCMPEC7.js} +6 -6
- package/dist/prompts-3Z364Z2H.js +55 -0
- package/dist/{pybAgentSessionLoad-OLG2WLNM.js → pybAgentSessionLoad-KTU6VBIE.js} +4 -4
- package/dist/{pybAgentSessionResume-U2AWRUAP.js → pybAgentSessionResume-MKLZH2QZ.js} +4 -4
- package/dist/{pybAgentStreamJsonSession-MV6TU2VQ.js → pybAgentStreamJsonSession-66HVTHC4.js} +1 -1
- package/dist/{pybHooks-QSST42RF.js → pybHooks-RL2D75BA.js} +4 -4
- package/dist/query-Y2PFPV5V.js +57 -0
- package/dist/{registry-UX5AUVE6.js → registry-HT2QIYZF.js} +5 -5
- package/dist/{ripgrep-YTBSS43C.js → ripgrep-Q26JLKZK.js} +3 -3
- package/dist/{skillMarketplace-I7MWUFO6.js → skillMarketplace-WX46FV3B.js} +3 -3
- package/dist/{state-3ZYBWNDA.js → state-7D3EAZYW.js} +2 -2
- package/dist/{theme-WD3ZV7KF.js → theme-XZ67BKEX.js} +5 -5
- package/dist/{toolPermissionSettings-K2GN6EAL.js → toolPermissionSettings-WDXG4PH5.js} +6 -6
- package/dist/tools-KP3XZFBW.js +54 -0
- package/dist/{userInput-HZJCJEJ4.js → userInput-LHXC33VV.js} +31 -31
- package/package.json +1 -1
- package/dist/REPL-CVWMFVJ7.js +0 -49
- package/dist/commands-IGUM5OIN.js +0 -53
- package/dist/prompts-FUS5FYEN.js +0 -55
- package/dist/query-7W6DN4VN.js +0 -57
- package/dist/tools-NNL635AE.js +0 -54
- /package/dist/{REPL-CVWMFVJ7.js.map → REPL-4XDQ5LO2.js.map} +0 -0
- /package/dist/{acp-FPVPQTMD.js.map → acp-DSHGC42G.js.map} +0 -0
- /package/dist/{agentsValidate-VIYS64AG.js.map → agentsValidate-XCGG77GS.js.map} +0 -0
- /package/dist/{ask-TOGONOY6.js.map → ask-BTEWFWX7.js.map} +0 -0
- /package/dist/{autoUpdater-45UGXO2V.js.map → autoUpdater-2JPYTHJU.js.map} +0 -0
- /package/dist/{chunk-56LFTZHB.js.map → chunk-37Z4UJE7.js.map} +0 -0
- /package/dist/{chunk-KFPOVM33.js.map → chunk-5ZRN3ED2.js.map} +0 -0
- /package/dist/{chunk-LJUPEEMC.js.map → chunk-65ADQNJL.js.map} +0 -0
- /package/dist/{chunk-E2K6ELOW.js.map → chunk-73JVPKCJ.js.map} +0 -0
- /package/dist/{chunk-56EJK3MH.js.map → chunk-AZOP5QKF.js.map} +0 -0
- /package/dist/{chunk-NCUJDIII.js.map → chunk-BABSJ55B.js.map} +0 -0
- /package/dist/{chunk-ETVV55EX.js.map → chunk-BZJ63VLB.js.map} +0 -0
- /package/dist/{chunk-T6O2MS74.js.map → chunk-C63QE2JE.js.map} +0 -0
- /package/dist/{chunk-675RRX7X.js.map → chunk-GDYCFPX7.js.map} +0 -0
- /package/dist/{chunk-FNS2DK3V.js.map → chunk-GIXD4Z4O.js.map} +0 -0
- /package/dist/{chunk-DJFCALOX.js.map → chunk-IAFDLMER.js.map} +0 -0
- /package/dist/{chunk-BHLIMEBV.js.map → chunk-IXOS2743.js.map} +0 -0
- /package/dist/{chunk-66SNLLWL.js.map → chunk-IZLBXT6P.js.map} +0 -0
- /package/dist/{chunk-BVSUCS3H.js.map → chunk-IZPWMY6H.js.map} +0 -0
- /package/dist/{chunk-47WLE3TO.js.map → chunk-KXGXMSPS.js.map} +0 -0
- /package/dist/{chunk-DHTKDPU2.js.map → chunk-LYAYIYBK.js.map} +0 -0
- /package/dist/{chunk-XZ7GC5IX.js.map → chunk-MMICBXP5.js.map} +0 -0
- /package/dist/{chunk-PCS7SCOC.js.map → chunk-NPLYGSR3.js.map} +0 -0
- /package/dist/{chunk-ZLPASBWE.js.map → chunk-NUVWA6CG.js.map} +0 -0
- /package/dist/{chunk-3FZE7YIA.js.map → chunk-RXJNQXGH.js.map} +0 -0
- /package/dist/{chunk-N5MB4N4V.js.map → chunk-SWUVTC7Q.js.map} +0 -0
- /package/dist/{chunk-DWUFZPTY.js.map → chunk-SXCGPQ3R.js.map} +0 -0
- /package/dist/{chunk-327GSNUY.js.map → chunk-T4LDHDO5.js.map} +0 -0
- /package/dist/{chunk-4GIM2VEF.js.map → chunk-V3I6BY55.js.map} +0 -0
- /package/dist/{chunk-AVF7COHJ.js.map → chunk-VYTXJQMG.js.map} +0 -0
- /package/dist/{chunk-TUP3WACA.js.map → chunk-W2YU6ZJG.js.map} +0 -0
- /package/dist/{chunk-AZ43JQTH.js.map → chunk-WFTCIKRP.js.map} +0 -0
- /package/dist/{chunk-WBWAO4F5.js.map → chunk-XJEOCTTA.js.map} +0 -0
- /package/dist/{chunk-6HCDXAY7.js.map → chunk-ZWWEN5JT.js.map} +0 -0
- /package/dist/{cli-VZDM4FIT.js.map → cli-2YFCKDKV.js.map} +0 -0
- /package/dist/{commands-IGUM5OIN.js.map → commands-QLETKRIB.js.map} +0 -0
- /package/dist/{config-SMXASCB3.js.map → config-BS3TSRO2.js.map} +0 -0
- /package/dist/{context-6ERZPITV.js.map → context-GUWJH2XE.js.map} +0 -0
- /package/dist/{conversationTracker-WA6LN7V7.js.map → conversationTracker-3OMO23AJ.js.map} +0 -0
- /package/dist/{customCommands-OTK7EC2T.js.map → customCommands-O4D67KVC.js.map} +0 -0
- /package/dist/{env-WPZFZMYT.js.map → env-4M3GZSUS.js.map} +0 -0
- /package/dist/{file-T2GBLH4G.js.map → file-FIYEKO7W.js.map} +0 -0
- /package/dist/{llm-YSW2325O.js.map → llm-MXURYD2K.js.map} +0 -0
- /package/dist/{llmLazy-FWNRCCTD.js.map → llmLazy-X6M4BHF3.js.map} +0 -0
- /package/dist/{loader-R3KGGH5Z.js.map → loader-DDBTFUPC.js.map} +0 -0
- /package/dist/{lsp-ZYQFUTD4.js.map → lsp-2SCBURX2.js.map} +0 -0
- /package/dist/{lspAnchor-W52GYIFB.js.map → lspAnchor-YV4BDQJX.js.map} +0 -0
- /package/dist/{mcp-NISHFDIB.js.map → mcp-CKGQUT3S.js.map} +0 -0
- /package/dist/{mentionProcessor-NOZBAB6Z.js.map → mentionProcessor-NDVGHEEZ.js.map} +0 -0
- /package/dist/{messages-D3YPR5M6.js.map → messages-UHUC65DS.js.map} +0 -0
- /package/dist/{model-DZ3R73A4.js.map → model-RS4VTMY6.js.map} +0 -0
- /package/dist/{openai-EYV5BUHL.js.map → openai-QRE5RM6W.js.map} +0 -0
- /package/dist/{outputStyles-W5EP4G56.js.map → outputStyles-UZYGNQU7.js.map} +0 -0
- /package/dist/{pluginRuntime-FCXKKFRZ.js.map → pluginRuntime-4Z2SPLJI.js.map} +0 -0
- /package/dist/{pluginValidation-BILOSHFX.js.map → pluginValidation-GHCMPEC7.js.map} +0 -0
- /package/dist/{prompts-FUS5FYEN.js.map → prompts-3Z364Z2H.js.map} +0 -0
- /package/dist/{pybAgentSessionLoad-OLG2WLNM.js.map → pybAgentSessionLoad-KTU6VBIE.js.map} +0 -0
- /package/dist/{pybAgentSessionResume-U2AWRUAP.js.map → pybAgentSessionResume-MKLZH2QZ.js.map} +0 -0
- /package/dist/{pybAgentStreamJsonSession-MV6TU2VQ.js.map → pybAgentStreamJsonSession-66HVTHC4.js.map} +0 -0
- /package/dist/{pybHooks-QSST42RF.js.map → pybHooks-RL2D75BA.js.map} +0 -0
- /package/dist/{query-7W6DN4VN.js.map → query-Y2PFPV5V.js.map} +0 -0
- /package/dist/{registry-UX5AUVE6.js.map → registry-HT2QIYZF.js.map} +0 -0
- /package/dist/{ripgrep-YTBSS43C.js.map → ripgrep-Q26JLKZK.js.map} +0 -0
- /package/dist/{skillMarketplace-I7MWUFO6.js.map → skillMarketplace-WX46FV3B.js.map} +0 -0
- /package/dist/{state-3ZYBWNDA.js.map → state-7D3EAZYW.js.map} +0 -0
- /package/dist/{theme-WD3ZV7KF.js.map → theme-XZ67BKEX.js.map} +0 -0
- /package/dist/{toolPermissionSettings-K2GN6EAL.js.map → toolPermissionSettings-WDXG4PH5.js.map} +0 -0
- /package/dist/{tools-NNL635AE.js.map → tools-KP3XZFBW.js.map} +0 -0
- /package/dist/{userInput-HZJCJEJ4.js.map → userInput-LHXC33VV.js.map} +0 -0
|
@@ -8,14 +8,14 @@ import {
|
|
|
8
8
|
getSettingsFileCandidates,
|
|
9
9
|
loadSettingsWithLegacyFallback,
|
|
10
10
|
saveSettingsToPrimaryAndSyncLegacy
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-KXGXMSPS.js";
|
|
12
12
|
import {
|
|
13
13
|
getCurrentProjectConfig
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-WFTCIKRP.js";
|
|
15
15
|
import {
|
|
16
16
|
getCwd,
|
|
17
17
|
logError
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-BZJ63VLB.js";
|
|
19
19
|
|
|
20
20
|
// src/utils/permissions/toolPermissionSettings.ts
|
|
21
21
|
function uniqueStrings(value) {
|
|
@@ -7,14 +7,14 @@ import {
|
|
|
7
7
|
getSettingsFileCandidates,
|
|
8
8
|
loadSettingsWithLegacyFallback,
|
|
9
9
|
saveSettingsToPrimaryAndSyncLegacy
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-KXGXMSPS.js";
|
|
11
11
|
import {
|
|
12
12
|
getSessionPlugins
|
|
13
13
|
} from "./chunk-BJSWTHRM.js";
|
|
14
14
|
import {
|
|
15
15
|
getCwd,
|
|
16
16
|
getXdgConfigDir
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-BZJ63VLB.js";
|
|
18
18
|
|
|
19
19
|
// src/services/ui/outputStyles.ts
|
|
20
20
|
import figures from "figures";
|
|
@@ -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-WFTCIKRP.js";
|
|
7
7
|
import {
|
|
8
8
|
debug
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-T4LDHDO5.js";
|
|
10
10
|
import {
|
|
11
11
|
logError
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-BZJ63VLB.js";
|
|
13
13
|
|
|
14
14
|
// src/utils/model/index.ts
|
|
15
15
|
import { memoize } from "lodash-es";
|
|
@@ -5,12 +5,12 @@ import {
|
|
|
5
5
|
} from "./chunk-BJSWTHRM.js";
|
|
6
6
|
import {
|
|
7
7
|
debug
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-T4LDHDO5.js";
|
|
9
9
|
import {
|
|
10
10
|
getCwd,
|
|
11
11
|
logError,
|
|
12
12
|
resolveXdgDataPath
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-BZJ63VLB.js";
|
|
14
14
|
|
|
15
15
|
// src/services/plugins/customCommands.ts
|
|
16
16
|
import { existsSync, readFileSync, readdirSync, statSync } from "fs";
|
|
@@ -5,14 +5,14 @@ import {
|
|
|
5
5
|
} from "./chunk-B6IMQJZM.js";
|
|
6
6
|
import {
|
|
7
7
|
loadSettingsWithLegacyFallback
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-KXGXMSPS.js";
|
|
9
9
|
import {
|
|
10
10
|
getSessionPlugins
|
|
11
11
|
} from "./chunk-BJSWTHRM.js";
|
|
12
12
|
import {
|
|
13
13
|
getCwd,
|
|
14
14
|
logError
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-BZJ63VLB.js";
|
|
16
16
|
|
|
17
17
|
// src/utils/session/pybHooks.ts
|
|
18
18
|
import { spawn } from "child_process";
|
|
@@ -496,7 +496,7 @@ async function runPromptHook(args) {
|
|
|
496
496
|
fallbackTimeoutMs: args.fallbackTimeoutMs
|
|
497
497
|
});
|
|
498
498
|
try {
|
|
499
|
-
const { queryQuick } = await import("./llmLazy-
|
|
499
|
+
const { queryQuick } = await import("./llmLazy-X6M4BHF3.js");
|
|
500
500
|
const systemPrompt = [
|
|
501
501
|
"You are executing a Pyb prompt hook.",
|
|
502
502
|
"Return a single JSON object only (no markdown, no prose).",
|
|
@@ -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-CKY2L3QE.js";
|
|
6
6
|
|
|
7
7
|
// src/utils/state/index.ts
|
|
8
8
|
import { cwd } from "process";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../package.json", "../src/constants/macros.ts"],
|
|
4
|
-
"sourcesContent": ["{\n \"name\": \"pybao-cli\",\n \"version\": \"1.4.
|
|
4
|
+
"sourcesContent": ["{\n \"name\": \"pybao-cli\",\n \"version\": \"1.4.96\",\n \"bin\": {\n \"pyb\": \"cli.js\",\n \"pyb-acp\": \"cli-acp.js\"\n },\n \"engines\": {\n \"node\": \">=20.18.1\"\n },\n \"main\": \"cli.js\",\n \"author\": \"PYB-XC\",\n \"license\": \"MIT\",\n \"description\": \"PYB-CLI - Minimal AI Agent with multi-model support and CLI interface\",\n \"keywords\": [\n \"ai\",\n \"agent\",\n \"minimal\",\n \"claude\"\n ],\n \"homepage\": \"https://github.com/pyb-xc/pyb-ts\",\n \"repository\": {\n \"type\": \"git\",\n \"url\": \"git+https://github.com/pyb-xc/pyb-ts.git\"\n },\n \"bugs\": {\n \"url\": \"https://github.com/pyb-xc/pyb-ts/issues\"\n },\n \"files\": [\n \"cli.js\",\n \"cli-acp.js\",\n \"yoga.wasm\",\n \"dist/**/*\",\n \"scripts/binary-utils.cjs\",\n \"scripts/cli-wrapper.cjs\",\n \"scripts/cli-acp-wrapper.cjs\",\n \"scripts/postinstall.js\",\n \".npmrc\",\n \"resources/**/*\"\n ],\n \"scripts\": {\n \"dev\": \"bun run ./src/entrypoints/cli.tsx --verbose\",\n \"build:npm\": \"bun scripts/build.mjs\",\n \"build\": \"npm run build:npm\",\n \"build:binary\": \"node scripts/build-binary.mjs\",\n \"build:native-lock\": \"node scripts/build-native-lock.mjs\",\n \"clean\": \"node scripts/clean.mjs\",\n \"prepublishOnly\": \"npm run build:npm && node scripts/prepublish-check.js\",\n \"postinstall\": \"node scripts/postinstall.js || true\",\n \"format\": \"prettier --write \\\"src/**/*.{ts,tsx,js,jsx,json}\\\" \\\"tests/**/*.{ts,tsx,js,jsx,json}\\\"\",\n \"format:check\": \"prettier --check \\\"src/**/*.{ts,tsx,js,jsx,json}\\\" \\\"tests/**/*.{ts,tsx,js,jsx,json}\\\"\",\n \"lint\": \"eslint . --ext .ts,.tsx,.js --max-warnings 0\",\n \"lint:fix\": \"eslint . --ext .ts,.tsx,.js --fix\",\n \"test\": \"bun test\",\n \"test:unit\": \"bun test --preload ./tests/setup/native-lock-test-setup.ts tests/unit\",\n \"test:integration\": \"bun test tests/integration\",\n \"test:e2e\": \"bun test tests/e2e\",\n \"gate:auto-compact\": \"bun run scripts/auto-compact-gate-check.mjs\",\n \"gate:runtime-assets\": \"bun run scripts/runtime-assets-gate-check.mjs\",\n \"gate:ripgrep-layout\": \"node scripts/ripgrep-resource-layout-gate.mjs\",\n \"preflight:runtime-assets\": \"node scripts/runtime-assets-preflight.mjs\",\n \"verify:runtime-assets\": \"node scripts/runtime-assets-verify.mjs\",\n \"validate:runtime-assets-contract\": \"node scripts/runtime-assets-schema-validate.mjs\",\n \"gate:runtime-assets-threshold\": \"node scripts/runtime-assets-threshold-gate.mjs\",\n \"gate:runtime-assets-trend-store\": \"node scripts/runtime-assets-trend-store.mjs\",\n \"gate:runtime-assets-trend\": \"node scripts/runtime-assets-trend-gate.mjs\",\n \"report:runtime-assets-trend\": \"node scripts/runtime-assets-trend-report.mjs\",\n \"report:auto-compact-trend\": \"bun run scripts/auto-compact-trend-report.mjs\",\n \"typecheck\": \"tsc --noEmit\",\n \"prepare\": \"bun run scripts/install-hooks.mjs\",\n \"sync:native-lock\": \"node scripts/sync-native-lock-versions.mjs\",\n \"publish:native-lock\": \"node scripts/publish-native-lock.mjs\",\n \"verify:native-lock\": \"node scripts/verify-native-lock.mjs\",\n \"publish:dev\": \"bun run scripts/publish-dev.js\",\n \"publish:release\": \"bun run scripts/publish-release.js\",\n \"bench:startup\": \"bun run scripts/bench-startup.mjs\",\n \"parity:reference\": \"bun run scripts/reference-parity-check.mjs\"\n },\n \"dependencies\": {\n \"@anthropic-ai/bedrock-sdk\": \"^0.12.6\",\n \"@anthropic-ai/sdk\": \"^0.39.0\",\n \"@anthropic-ai/vertex-sdk\": \"^0.7.0\",\n \"@astrojs/language-server\": \"2.16.2\",\n \"@aws-sdk/client-bedrock-runtime\": \"3.797.0\",\n \"@commander-js/extra-typings\": \"^13.1.0\",\n \"@inkjs/ui\": \"^2.0.0\",\n \"@modelcontextprotocol/sdk\": \"^1.15.1\",\n \"@prisma/language-server\": \"31.3.4\",\n \"@types/lodash-es\": \"^4.17.12\",\n \"@types/react\": \"^19.1.8\",\n \"@vscode/ripgrep\": \"^1.17.0\",\n \"@vue/language-server\": \"3.2.2\",\n \"ajv\": \"^8.17.1\",\n \"ansi-escapes\": \"^7.0.0\",\n \"bash-language-server\": \"5.6.0\",\n \"chalk\": \"^5.4.1\",\n \"cli-highlight\": \"^2.1.11\",\n \"cli-table3\": \"^0.6.5\",\n \"commander\": \"^13.1.0\",\n \"debug\": \"^4.4.1\",\n \"diff\": \"^7.0.0\",\n \"dockerfile-language-server-nodejs\": \"0.15.0\",\n \"dotenv\": \"^16.6.1\",\n \"env-paths\": \"^3.0.0\",\n \"fflate\": \"^0.8.2\",\n \"figures\": \"^6.1.0\",\n \"glob\": \"^11.0.3\",\n \"graphql-language-service-cli\": \"3.5.0\",\n \"gray-matter\": \"^4.0.3\",\n \"highlight.js\": \"^11.11.1\",\n \"ignore\": \"^7.0.5\",\n \"ink\": \"5.2.1\",\n \"ink-link\": \"^4.1.0\",\n \"ink-select-input\": \"^6.2.0\",\n \"ink-text-input\": \"^6.0.0\",\n \"intelephense\": \"1.16.3\",\n \"js-yaml\": \"^4.1.1\",\n \"lodash-es\": \"^4.17.21\",\n \"lru-cache\": \"^11.1.0\",\n \"marked\": \"^15.0.12\",\n \"minimatch\": \"^10.1.1\",\n \"nanoid\": \"^5.1.5\",\n \"node-html-parser\": \"^7.0.1\",\n \"openai\": \"4.104.0\",\n \"pyright\": \"1.1.408\",\n \"react\": \"18.3.1\",\n \"semver\": \"^7.7.2\",\n \"shell-quote\": \"1.8.3\",\n \"spawn-rx\": \"^5.1.2\",\n \"string-width\": \"^7.2.0\",\n \"strip-ansi\": \"^7.1.0\",\n \"svelte-language-server\": \"0.17.23\",\n \"tsx\": \"^4.20.3\",\n \"typescript-language-server\": \"5.1.3\",\n \"undici\": \"^7.11.0\",\n \"vscode-jsonrpc\": \"8.2.1\",\n \"vscode-langservers-extracted\": \"4.10.0\",\n \"web-tree-sitter\": \"0.25.10\",\n \"which\": \"^6.0.0\",\n \"wrap-ansi\": \"^9.0.0\",\n \"yaml-language-server\": \"1.19.2\",\n \"zod\": \"^3.25.76\",\n \"zod-to-json-schema\": \"^3.24.6\"\n },\n \"devDependencies\": {\n \"@types/bun\": \"latest\",\n \"@types/jest\": \"^30.0.0\",\n \"@types/node\": \"^24.1.0\",\n \"@types/which\": \"^3.0.4\",\n \"@typescript-eslint/eslint-plugin\": \"^8.50.1\",\n \"@typescript-eslint/parser\": \"^8.50.1\",\n \"abort-controller\": \"3.0.0\",\n \"bun-types\": \"latest\",\n \"cheerio\": \"1.1.2\",\n \"esbuild\": \"^0.25.9\",\n \"eslint\": \"8.57.0\",\n \"eslint-plugin-react-hooks\": \"^7.0.1\",\n \"ink-testing-library\": \"4.0.0\",\n \"node-fetch\": \"3.3.2\",\n \"prettier\": \"^3.6.2\",\n \"react-devtools-core\": \"^7.0.1\",\n \"tree-sitter-bash\": \"0.25.1\",\n \"tree-sitter-c-sharp\": \"0.23.1\",\n \"tree-sitter-clojure\": \"0.4.0\",\n \"tree-sitter-cpp\": \"0.23.4\",\n \"tree-sitter-go\": \"0.25.0\",\n \"tree-sitter-haskell\": \"0.23.1\",\n \"tree-sitter-java\": \"0.23.5\",\n \"tree-sitter-julia\": \"0.23.1\",\n \"tree-sitter-nix\": \"0.0.2\",\n \"tree-sitter-ocaml\": \"0.24.2\",\n \"tree-sitter-python\": \"0.25.0\",\n \"tree-sitter-rust\": \"0.24.0\",\n \"tree-sitter-scala\": \"0.24.0\",\n \"tree-sitter-swift\": \"0.7.1\",\n \"tree-sitter-typescript\": \"0.23.2\",\n \"turndown\": \"7.2.2\",\n \"typescript\": \"^5.9.2\"\n },\n \"overrides\": {\n \"@aws-sdk/client-bedrock-runtime\": \"3.797.0\",\n \"@smithy/smithy-client\": \"2.5.1\",\n \"parse5-htmlparser2-tree-adapter\": \"6.0.1\"\n },\n \"optionalDependencies\": {\n \"@puyib-cli/lock-win32-x64-msvc\": \"1.4.55\",\n \"@puyib-cli/lock-win32-arm64-msvc\": \"1.4.56\",\n \"@puyib-cli/lock-linux-x64-gnu\": \"1.4.56\",\n \"@puyib-cli/lock-linux-x64-musl\": \"1.4.56\",\n \"@puyib-cli/lock-linux-arm64-gnu\": \"1.4.56\",\n \"@puyib-cli/lock-linux-armv7-gnueabihf\": \"1.4.56\",\n \"@puyib-cli/lock-darwin-x64\": \"1.4.56\",\n \"@puyib-cli/lock-darwin-arm64\": \"1.4.56\"\n },\n \"pybNativeLockPlatforms\": [\n \"win32-x64-msvc\",\n \"win32-arm64-msvc\",\n \"linux-x64-gnu\",\n \"linux-x64-musl\",\n \"linux-arm64-gnu\",\n \"linux-armv7-gnueabihf\",\n \"darwin-x64\",\n \"darwin-arm64\"\n ]\n}\n", "import pkg from '../../package.json'\n\nexport const MACRO = {\n VERSION: pkg.version,\n README_URL: 'https://github.com/pyb-xc/pyb-ts#readme',\n PACKAGE_URL: 'pybao-cli',\n ISSUES_EXPLAINER:\n 'report the issue at https://github.com/pyb-xc/pyb-ts/issues',\n}\n"],
|
|
5
5
|
"mappings": "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",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -2,13 +2,13 @@ import { createRequire as __pybCreateRequire } from "node:module";
|
|
|
2
2
|
const require = __pybCreateRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
MarketplaceManifestSchema
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-C63QE2JE.js";
|
|
6
6
|
import {
|
|
7
7
|
parseFrontmatter
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-AZOP5QKF.js";
|
|
9
9
|
import {
|
|
10
10
|
getCwd
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-BZJ63VLB.js";
|
|
12
12
|
|
|
13
13
|
// src/services/plugins/pluginValidation.ts
|
|
14
14
|
import { existsSync, lstatSync, readFileSync } from "node:fs";
|
|
@@ -33,57 +33,57 @@ import {
|
|
|
33
33
|
runWithTaskListEnv,
|
|
34
34
|
runWithTaskListId,
|
|
35
35
|
updateTask
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-2KWRWCZO.js";
|
|
37
37
|
import {
|
|
38
38
|
queryLLM
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-W2YU6ZJG.js";
|
|
40
40
|
import {
|
|
41
41
|
FallbackToolUseRejectedMessage,
|
|
42
42
|
MCPTool,
|
|
43
43
|
getClients,
|
|
44
44
|
getMCPTools
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-V3I6BY55.js";
|
|
46
46
|
import {
|
|
47
47
|
emitReminderEvent
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-ZWWEN5JT.js";
|
|
49
49
|
import {
|
|
50
50
|
getActiveAgents,
|
|
51
51
|
getAgentByType,
|
|
52
52
|
getAvailableAgentTypes
|
|
53
|
-
} from "./chunk-
|
|
53
|
+
} from "./chunk-NUVWA6CG.js";
|
|
54
54
|
import {
|
|
55
55
|
INTERRUPT_MESSAGE,
|
|
56
56
|
createAssistantMessage,
|
|
57
57
|
createUserMessage,
|
|
58
58
|
getLastAssistantMessageId
|
|
59
|
-
} from "./chunk-
|
|
59
|
+
} from "./chunk-XJEOCTTA.js";
|
|
60
60
|
import {
|
|
61
61
|
formatDuration,
|
|
62
62
|
formatNumber
|
|
63
63
|
} from "./chunk-OUXHGDLH.js";
|
|
64
64
|
import {
|
|
65
65
|
getAbsolutePath
|
|
66
|
-
} from "./chunk-
|
|
66
|
+
} from "./chunk-SXCGPQ3R.js";
|
|
67
67
|
import {
|
|
68
68
|
LspFacade,
|
|
69
69
|
formatDiagnosticsPretty
|
|
70
|
-
} from "./chunk-
|
|
70
|
+
} from "./chunk-RXJNQXGH.js";
|
|
71
71
|
import {
|
|
72
72
|
getModelManager
|
|
73
|
-
} from "./chunk-
|
|
73
|
+
} from "./chunk-73JVPKCJ.js";
|
|
74
74
|
import {
|
|
75
75
|
getContext
|
|
76
|
-
} from "./chunk-
|
|
76
|
+
} from "./chunk-VYTXJQMG.js";
|
|
77
77
|
import {
|
|
78
78
|
filesToTree,
|
|
79
79
|
ripGrepWithStatus
|
|
80
|
-
} from "./chunk-
|
|
80
|
+
} from "./chunk-65ADQNJL.js";
|
|
81
81
|
import {
|
|
82
82
|
getTheme
|
|
83
|
-
} from "./chunk-
|
|
83
|
+
} from "./chunk-SWUVTC7Q.js";
|
|
84
84
|
import {
|
|
85
85
|
debug
|
|
86
|
-
} from "./chunk-
|
|
86
|
+
} from "./chunk-T4LDHDO5.js";
|
|
87
87
|
import {
|
|
88
88
|
BunShell,
|
|
89
89
|
getCwd,
|
|
@@ -94,7 +94,7 @@ import {
|
|
|
94
94
|
overwriteLog,
|
|
95
95
|
readTaskOutput,
|
|
96
96
|
resolveXdgDataPath
|
|
97
|
-
} from "./chunk-
|
|
97
|
+
} from "./chunk-BZJ63VLB.js";
|
|
98
98
|
|
|
99
99
|
// src/tools/index.ts
|
|
100
100
|
import { memoize as memoize2 } from "lodash-es";
|
|
@@ -773,7 +773,7 @@ async function analyzeOutputWithLsp(output, exitCode) {
|
|
|
773
773
|
if (exitCode !== 0 || errorCount > 0 || warningCount > 0) {
|
|
774
774
|
try {
|
|
775
775
|
const { isAbsolute: isAbsolute3, resolve: resolve4 } = await import("path");
|
|
776
|
-
const { getSessionRoot: getSessionRoot2 } = await import("./state-
|
|
776
|
+
const { getSessionRoot: getSessionRoot2 } = await import("./state-7D3EAZYW.js");
|
|
777
777
|
const lines = output.split("\n");
|
|
778
778
|
const uniqueFiles = /* @__PURE__ */ new Set();
|
|
779
779
|
const lspSuggestions = [];
|
|
@@ -1146,7 +1146,7 @@ var DeleteTool = {
|
|
|
1146
1146
|
}
|
|
1147
1147
|
if (!force) {
|
|
1148
1148
|
try {
|
|
1149
|
-
const { LspFacade: LspFacade2 } = await import("./lsp-
|
|
1149
|
+
const { LspFacade: LspFacade2 } = await import("./lsp-2SCBURX2.js");
|
|
1150
1150
|
const referenceDetail = await LspFacade2.checkFileReferences(fullPath);
|
|
1151
1151
|
if (referenceDetail) {
|
|
1152
1152
|
failedItems.push(
|
|
@@ -6,12 +6,12 @@ import {
|
|
|
6
6
|
} from "./chunk-XKYHFZEC.js";
|
|
7
7
|
import {
|
|
8
8
|
getGlobalConfig
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-WFTCIKRP.js";
|
|
10
10
|
import {
|
|
11
11
|
debug,
|
|
12
12
|
getCurrentRequest,
|
|
13
13
|
logAPIError
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-T4LDHDO5.js";
|
|
15
15
|
|
|
16
16
|
// src/services/ai/openai.ts
|
|
17
17
|
import { ProxyAgent, fetch } from "undici";
|
|
@@ -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-BZJ63VLB.js";
|
|
6
6
|
|
|
7
7
|
// src/utils/session/conversationMessageState.ts
|
|
8
8
|
function mapFinishReason(rawReason) {
|
|
@@ -2,7 +2,7 @@ import { createRequire as __pybCreateRequire } from "node:module";
|
|
|
2
2
|
const require = __pybCreateRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
getSessionProjectDir
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-NPLYGSR3.js";
|
|
6
6
|
import {
|
|
7
7
|
isUuid
|
|
8
8
|
} from "./chunk-5P7HBXTD.js";
|
|
@@ -2,15 +2,15 @@ import { createRequire as __pybCreateRequire } from "node:module";
|
|
|
2
2
|
const require = __pybCreateRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
loadSettingsWithLegacyFallback
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-KXGXMSPS.js";
|
|
6
6
|
import {
|
|
7
7
|
debug
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-T4LDHDO5.js";
|
|
9
9
|
import {
|
|
10
10
|
env,
|
|
11
11
|
getSessionRoot,
|
|
12
12
|
resolveXdgDataPath
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-BZJ63VLB.js";
|
|
14
14
|
import {
|
|
15
15
|
__require
|
|
16
16
|
} from "./chunk-I3J4JYES.js";
|
|
@@ -4,10 +4,10 @@ import {
|
|
|
4
4
|
PRODUCT_NAME,
|
|
5
5
|
execFileNoThrow,
|
|
6
6
|
logError
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-BZJ63VLB.js";
|
|
8
8
|
import {
|
|
9
9
|
MACRO
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-CKY2L3QE.js";
|
|
11
11
|
|
|
12
12
|
// src/utils/session/autoUpdater.ts
|
|
13
13
|
async function getSemver() {
|
|
@@ -82,7 +82,7 @@ async function checkAndNotifyUpdate() {
|
|
|
82
82
|
const [
|
|
83
83
|
{ isAutoUpdaterDisabled, getGlobalConfig, saveGlobalConfig },
|
|
84
84
|
{ env }
|
|
85
|
-
] = await Promise.all([import("./config-
|
|
85
|
+
] = await Promise.all([import("./config-BS3TSRO2.js"), import("./env-4M3GZSUS.js")]);
|
|
86
86
|
if (await isAutoUpdaterDisabled()) return;
|
|
87
87
|
if (await env.getIsDocker()) return;
|
|
88
88
|
if (!await env.hasInternetAccess()) return;
|
|
@@ -9,10 +9,10 @@ import {
|
|
|
9
9
|
PLAN_SLUG_VERBS,
|
|
10
10
|
getCwd,
|
|
11
11
|
resolveXdgDataPath
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-BZJ63VLB.js";
|
|
13
13
|
import {
|
|
14
14
|
MACRO
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-CKY2L3QE.js";
|
|
16
16
|
|
|
17
17
|
// src/utils/protocol/pybAgentSessionLog.ts
|
|
18
18
|
import { execFileSync } from "child_process";
|
|
@@ -8,12 +8,12 @@ import {
|
|
|
8
8
|
} from "./chunk-BJSWTHRM.js";
|
|
9
9
|
import {
|
|
10
10
|
debug
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-T4LDHDO5.js";
|
|
12
12
|
import {
|
|
13
13
|
getCwd,
|
|
14
14
|
getXdgConfigDir,
|
|
15
15
|
logError
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-BZJ63VLB.js";
|
|
17
17
|
|
|
18
18
|
// src/utils/agent/loader.ts
|
|
19
19
|
import {
|
|
@@ -4,17 +4,17 @@ import {
|
|
|
4
4
|
LspServerRegistry,
|
|
5
5
|
findNearestRoot,
|
|
6
6
|
getInstallNotices
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-LYAYIYBK.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-T4LDHDO5.js";
|
|
14
14
|
import {
|
|
15
15
|
getCwd,
|
|
16
16
|
getSessionRoot
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-BZJ63VLB.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-HT2QIYZF.js");
|
|
569
569
|
const pythonPath = detectPythonVenv(resolvedRoot);
|
|
570
570
|
if (pythonPath) {
|
|
571
571
|
initOpts = { ...initOpts ?? {}, pythonPath };
|
|
@@ -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-65ADQNJL.js";
|
|
6
6
|
import {
|
|
7
7
|
getCwd,
|
|
8
8
|
logError
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-BZJ63VLB.js";
|
|
10
10
|
|
|
11
11
|
// src/utils/fs/file.ts
|
|
12
12
|
import {
|
|
@@ -3,13 +3,13 @@ const require = __pybCreateRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
getSettingsFileCandidates,
|
|
5
5
|
loadSettingsWithLegacyFallback
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-KXGXMSPS.js";
|
|
7
7
|
import {
|
|
8
8
|
getSessionPlugins
|
|
9
9
|
} from "./chunk-BJSWTHRM.js";
|
|
10
10
|
import {
|
|
11
11
|
getTheme
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-SWUVTC7Q.js";
|
|
13
13
|
import {
|
|
14
14
|
addMcprcServerForTesting,
|
|
15
15
|
getCurrentProjectConfig,
|
|
@@ -19,13 +19,13 @@ import {
|
|
|
19
19
|
safeParseJSON,
|
|
20
20
|
saveCurrentProjectConfig,
|
|
21
21
|
saveGlobalConfig
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-WFTCIKRP.js";
|
|
23
23
|
import {
|
|
24
24
|
PRODUCT_COMMAND,
|
|
25
25
|
PRODUCT_NAME,
|
|
26
26
|
getCwd,
|
|
27
27
|
logMCPError
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-BZJ63VLB.js";
|
|
29
29
|
|
|
30
30
|
// src/services/mcp/client.ts
|
|
31
31
|
import { existsSync as existsSync2, readFileSync as readFileSync2 } from "fs";
|
|
@@ -2,13 +2,13 @@ import { createRequire as __pybCreateRequire } from "node:module";
|
|
|
2
2
|
const require = __pybCreateRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
ripGrepWithStatus
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-65ADQNJL.js";
|
|
6
6
|
import {
|
|
7
7
|
getCurrentProjectConfig,
|
|
8
8
|
getGlobalConfig,
|
|
9
9
|
getOrCreateUserID,
|
|
10
10
|
saveCurrentProjectConfig
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-WFTCIKRP.js";
|
|
12
12
|
import {
|
|
13
13
|
SESSION_ID,
|
|
14
14
|
env,
|
|
@@ -16,10 +16,10 @@ import {
|
|
|
16
16
|
getCwd,
|
|
17
17
|
isContextScanDisabled,
|
|
18
18
|
logError
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-BZJ63VLB.js";
|
|
20
20
|
import {
|
|
21
21
|
MACRO
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-CKY2L3QE.js";
|
|
23
23
|
import {
|
|
24
24
|
__require
|
|
25
25
|
} from "./chunk-I3J4JYES.js";
|
|
@@ -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-MXURYD2K.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-MXURYD2K.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-MXURYD2K.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-MXURYD2K.js");
|
|
26
26
|
return inner(apiKey, baseURL);
|
|
27
27
|
}
|
|
28
28
|
|
|
@@ -5,13 +5,13 @@ import {
|
|
|
5
5
|
} from "./chunk-RQVLBMP7.js";
|
|
6
6
|
import {
|
|
7
7
|
debug
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-T4LDHDO5.js";
|
|
9
9
|
import {
|
|
10
10
|
getCwd,
|
|
11
11
|
getGlobalConfigFilePath,
|
|
12
12
|
getLegacyGlobalConfigFilePath,
|
|
13
13
|
logError
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-BZJ63VLB.js";
|
|
15
15
|
|
|
16
16
|
// src/core/config/schema.ts
|
|
17
17
|
function isAutoUpdaterStatus(value) {
|
|
@@ -688,7 +688,7 @@ function setModelPointer(pointer, modelName) {
|
|
|
688
688
|
}
|
|
689
689
|
};
|
|
690
690
|
saveGlobalConfig(updatedConfig);
|
|
691
|
-
import("./model-
|
|
691
|
+
import("./model-RS4VTMY6.js").then(({ reloadModelManager }) => {
|
|
692
692
|
reloadModelManager();
|
|
693
693
|
});
|
|
694
694
|
}
|
|
@@ -471,7 +471,7 @@ function getLastAssistantMessageId(messages) {
|
|
|
471
471
|
|
|
472
472
|
// src/utils/messages/index.ts
|
|
473
473
|
async function processUserInput(input, mode, setToolJSX, context, pastedImages) {
|
|
474
|
-
const impl = await import("./userInput-
|
|
474
|
+
const impl = await import("./userInput-LHXC33VV.js");
|
|
475
475
|
return impl.processUserInput(input, mode, setToolJSX, context, pastedImages);
|
|
476
476
|
}
|
|
477
477
|
|