pybao-cli 1.4.99 → 1.5.1
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-ZQ3HWSDC.js +49 -0
- package/dist/{acp-IIKBAJCJ.js → acp-MLYUHF5N.js} +30 -30
- package/dist/{agentsValidate-6CEARR6Z.js → agentsValidate-NHVXTRPL.js} +7 -7
- package/dist/{ask-7NE7NVRN.js → ask-REJ7OLYX.js} +29 -29
- package/dist/{autoUpdater-LFOXQ3CV.js → autoUpdater-FE5GEJ2I.js} +3 -3
- package/dist/{chunk-WAQ72XDO.js → chunk-24NSJVPP.js} +3 -3
- package/dist/{chunk-A2IPV5PR.js → chunk-3I3C7JIU.js} +2 -2
- package/dist/{chunk-NXLRKKFH.js → chunk-4L6ZFGKZ.js} +1 -1
- package/dist/{chunk-2IO7WUI7.js → chunk-5E3WJBMH.js} +4 -4
- package/dist/{chunk-YH7ZOG3I.js → chunk-5HWROTVL.js} +4 -4
- package/dist/{chunk-DKQIGPXB.js → chunk-6Y5PPNSI.js} +1 -1
- package/dist/{chunk-Q56IGZX5.js → chunk-BME2GFDS.js} +3 -3
- package/dist/{chunk-2CLRREZ5.js → chunk-BNZ2XWYN.js} +3 -3
- package/dist/{chunk-BBHKGKLF.js → chunk-BXT4HUX4.js} +17 -17
- package/dist/{chunk-BBHKGKLF.js.map → chunk-BXT4HUX4.js.map} +1 -1
- package/dist/{chunk-3BPXWAOJ.js → chunk-CJDPZZQB.js} +1 -1
- package/dist/chunk-CJDPZZQB.js.map +7 -0
- package/dist/{chunk-PDQTREWL.js → chunk-CKF3Z3CC.js} +2 -2
- package/dist/{chunk-7KDTFITN.js → chunk-IGS5TK4Z.js} +3 -3
- package/dist/{chunk-5TCQKGL7.js → chunk-JWDG2ZU7.js} +3 -3
- package/dist/{chunk-7QIWZIVM.js → chunk-L4DPA7MI.js} +1 -1
- package/dist/{chunk-JEGVTLOH.js → chunk-LZDKJQRB.js} +1 -1
- package/dist/{chunk-KZ7I6E5P.js → chunk-M2MNPP4D.js} +37 -37
- package/dist/{chunk-KZ7I6E5P.js.map → chunk-M2MNPP4D.js.map} +1 -1
- package/dist/{chunk-6E6QBP52.js → chunk-N3AI6SSY.js} +1 -1
- package/dist/{chunk-TG2B47KG.js → chunk-OA6B5QP4.js} +2 -2
- package/dist/{chunk-ZXADEAK4.js → chunk-OBVOC7AS.js} +4 -4
- package/dist/{chunk-4MZJNA2D.js → chunk-OQYPJUHV.js} +2 -2
- package/dist/{chunk-VKXOAPOS.js → chunk-PKKKSCNA.js} +1 -1
- package/dist/{chunk-7SPP4L5F.js → chunk-PNEOPDOR.js} +2 -2
- package/dist/{chunk-GNDMDOGM.js → chunk-S5ARW3J7.js} +2 -2
- package/dist/{chunk-D3SG4DHV.js → chunk-S5LL4KQM.js} +3 -3
- package/dist/{chunk-GIH6DDF7.js → chunk-SA73PUIL.js} +1 -1
- package/dist/{chunk-ZXO6OMWV.js → chunk-TOHRQKHM.js} +4 -4
- package/dist/{chunk-KK5DOHDD.js → chunk-VZPW6AEB.js} +2 -2
- package/dist/{chunk-7SDAA35I.js → chunk-Y4AG4ANW.js} +1 -1
- package/dist/{chunk-6KPO3O64.js → chunk-YLI5UV2X.js} +3 -3
- package/dist/{chunk-TYOT7UVX.js → chunk-ZJHVLWLG.js} +1 -1
- package/dist/{chunk-MMZ2MWHJ.js → chunk-ZTEZATFC.js} +1 -1
- package/dist/{cli-B42Z5OSM.js → cli-WQPWVNVH.js} +89 -89
- package/dist/commands-GXCH4B3U.js +53 -0
- package/dist/{config-ZC4PZWOC.js → config-RWDR3ZKU.js} +4 -4
- package/dist/{context-MF3EKP4O.js → context-EPZ2ZWE6.js} +6 -6
- package/dist/{conversationTracker-BM6KB27G.js → conversationTracker-DBY3IH7C.js} +3 -3
- package/dist/{customCommands-63F72N5R.js → customCommands-SSIVLJHD.js} +4 -4
- package/dist/{env-PGV75SHC.js → env-EBM2LJ6Y.js} +2 -2
- package/dist/{file-7NLJWX5W.js → file-BSY7D3WM.js} +4 -4
- package/dist/index.js +3 -3
- package/dist/{llm-RCPJRG2F.js → llm-7I2PC777.js} +30 -30
- package/dist/{llmLazy-C5G2MM53.js → llmLazy-J4NMVDEL.js} +1 -1
- package/dist/{loader-MPCV37S5.js → loader-ABNQHAXJ.js} +4 -4
- package/dist/{lsp-7FPYFR6T.js → lsp-GZ7OXGOA.js} +6 -6
- package/dist/{lspAnchor-C676SQ6E.js → lspAnchor-S36IPYLY.js} +6 -6
- package/dist/{mcp-VKKPULAR.js → mcp-G6XP4VEX.js} +7 -7
- package/dist/{mentionProcessor-LJHHC5H4.js → mentionProcessor-RYUO5CBP.js} +5 -5
- package/dist/{messages-QSUEHIGU.js → messages-RAE2IVBQ.js} +1 -1
- package/dist/{model-AJTLB6V4.js → model-FP7ZNI4O.js} +5 -5
- package/dist/{openai-XIRY5EVT.js → openai-ICN67CAE.js} +5 -5
- package/dist/{outputStyles-OTRZEQSD.js → outputStyles-RAVBMHEN.js} +4 -4
- package/dist/{pluginRuntime-NQ6GKMG6.js → pluginRuntime-JOVTSTKY.js} +6 -6
- package/dist/{pluginValidation-AJUPAPU2.js → pluginValidation-DIJJIY4K.js} +6 -6
- package/dist/prompts-GRRJUGCQ.js +55 -0
- package/dist/{pybAgentSessionLoad-MOZRT43D.js → pybAgentSessionLoad-ZK6T3MKK.js} +4 -4
- package/dist/{pybAgentSessionResume-S67UFBZF.js → pybAgentSessionResume-UN5BK4EJ.js} +4 -4
- package/dist/{pybAgentStreamJsonSession-UEEVKNIR.js → pybAgentStreamJsonSession-R62B7WS3.js} +1 -1
- package/dist/{pybHooks-UQQ6VWTB.js → pybHooks-7WRWNZCK.js} +4 -4
- package/dist/query-F237I3TL.js +57 -0
- package/dist/{registry-VUAORMT6.js → registry-YN7UETTH.js} +5 -5
- package/dist/{ripgrep-H5HDDGEE.js → ripgrep-JE4NNJ57.js} +3 -3
- package/dist/{skillMarketplace-AD473TUO.js → skillMarketplace-UMPJDMKZ.js} +3 -3
- package/dist/{state-6FI3TEMZ.js → state-LYDML6LP.js} +2 -2
- package/dist/{theme-4KO4JE7Q.js → theme-HWPW5P5Y.js} +5 -5
- package/dist/{toolPermissionSettings-5QUOY3OV.js → toolPermissionSettings-SIMCM34M.js} +6 -6
- package/dist/tools-EIGHPFPV.js +54 -0
- package/dist/{userInput-ZT3LIWGH.js → userInput-2LPT5MTT.js} +31 -31
- package/package.json +1 -1
- package/dist/REPL-KURZV7EW.js +0 -49
- package/dist/chunk-3BPXWAOJ.js.map +0 -7
- package/dist/commands-MNUBXNIB.js +0 -53
- package/dist/prompts-SWCPKXLQ.js +0 -55
- package/dist/query-ZKV22Q32.js +0 -57
- package/dist/tools-DOBQ6YMO.js +0 -54
- /package/dist/{REPL-KURZV7EW.js.map → REPL-ZQ3HWSDC.js.map} +0 -0
- /package/dist/{acp-IIKBAJCJ.js.map → acp-MLYUHF5N.js.map} +0 -0
- /package/dist/{agentsValidate-6CEARR6Z.js.map → agentsValidate-NHVXTRPL.js.map} +0 -0
- /package/dist/{ask-7NE7NVRN.js.map → ask-REJ7OLYX.js.map} +0 -0
- /package/dist/{autoUpdater-LFOXQ3CV.js.map → autoUpdater-FE5GEJ2I.js.map} +0 -0
- /package/dist/{chunk-WAQ72XDO.js.map → chunk-24NSJVPP.js.map} +0 -0
- /package/dist/{chunk-A2IPV5PR.js.map → chunk-3I3C7JIU.js.map} +0 -0
- /package/dist/{chunk-NXLRKKFH.js.map → chunk-4L6ZFGKZ.js.map} +0 -0
- /package/dist/{chunk-2IO7WUI7.js.map → chunk-5E3WJBMH.js.map} +0 -0
- /package/dist/{chunk-YH7ZOG3I.js.map → chunk-5HWROTVL.js.map} +0 -0
- /package/dist/{chunk-DKQIGPXB.js.map → chunk-6Y5PPNSI.js.map} +0 -0
- /package/dist/{chunk-Q56IGZX5.js.map → chunk-BME2GFDS.js.map} +0 -0
- /package/dist/{chunk-2CLRREZ5.js.map → chunk-BNZ2XWYN.js.map} +0 -0
- /package/dist/{chunk-PDQTREWL.js.map → chunk-CKF3Z3CC.js.map} +0 -0
- /package/dist/{chunk-7KDTFITN.js.map → chunk-IGS5TK4Z.js.map} +0 -0
- /package/dist/{chunk-5TCQKGL7.js.map → chunk-JWDG2ZU7.js.map} +0 -0
- /package/dist/{chunk-7QIWZIVM.js.map → chunk-L4DPA7MI.js.map} +0 -0
- /package/dist/{chunk-JEGVTLOH.js.map → chunk-LZDKJQRB.js.map} +0 -0
- /package/dist/{chunk-6E6QBP52.js.map → chunk-N3AI6SSY.js.map} +0 -0
- /package/dist/{chunk-TG2B47KG.js.map → chunk-OA6B5QP4.js.map} +0 -0
- /package/dist/{chunk-ZXADEAK4.js.map → chunk-OBVOC7AS.js.map} +0 -0
- /package/dist/{chunk-4MZJNA2D.js.map → chunk-OQYPJUHV.js.map} +0 -0
- /package/dist/{chunk-VKXOAPOS.js.map → chunk-PKKKSCNA.js.map} +0 -0
- /package/dist/{chunk-7SPP4L5F.js.map → chunk-PNEOPDOR.js.map} +0 -0
- /package/dist/{chunk-GNDMDOGM.js.map → chunk-S5ARW3J7.js.map} +0 -0
- /package/dist/{chunk-D3SG4DHV.js.map → chunk-S5LL4KQM.js.map} +0 -0
- /package/dist/{chunk-GIH6DDF7.js.map → chunk-SA73PUIL.js.map} +0 -0
- /package/dist/{chunk-ZXO6OMWV.js.map → chunk-TOHRQKHM.js.map} +0 -0
- /package/dist/{chunk-KK5DOHDD.js.map → chunk-VZPW6AEB.js.map} +0 -0
- /package/dist/{chunk-7SDAA35I.js.map → chunk-Y4AG4ANW.js.map} +0 -0
- /package/dist/{chunk-6KPO3O64.js.map → chunk-YLI5UV2X.js.map} +0 -0
- /package/dist/{chunk-TYOT7UVX.js.map → chunk-ZJHVLWLG.js.map} +0 -0
- /package/dist/{chunk-MMZ2MWHJ.js.map → chunk-ZTEZATFC.js.map} +0 -0
- /package/dist/{cli-B42Z5OSM.js.map → cli-WQPWVNVH.js.map} +0 -0
- /package/dist/{commands-MNUBXNIB.js.map → commands-GXCH4B3U.js.map} +0 -0
- /package/dist/{config-ZC4PZWOC.js.map → config-RWDR3ZKU.js.map} +0 -0
- /package/dist/{context-MF3EKP4O.js.map → context-EPZ2ZWE6.js.map} +0 -0
- /package/dist/{conversationTracker-BM6KB27G.js.map → conversationTracker-DBY3IH7C.js.map} +0 -0
- /package/dist/{customCommands-63F72N5R.js.map → customCommands-SSIVLJHD.js.map} +0 -0
- /package/dist/{env-PGV75SHC.js.map → env-EBM2LJ6Y.js.map} +0 -0
- /package/dist/{file-7NLJWX5W.js.map → file-BSY7D3WM.js.map} +0 -0
- /package/dist/{llm-RCPJRG2F.js.map → llm-7I2PC777.js.map} +0 -0
- /package/dist/{llmLazy-C5G2MM53.js.map → llmLazy-J4NMVDEL.js.map} +0 -0
- /package/dist/{loader-MPCV37S5.js.map → loader-ABNQHAXJ.js.map} +0 -0
- /package/dist/{lsp-7FPYFR6T.js.map → lsp-GZ7OXGOA.js.map} +0 -0
- /package/dist/{lspAnchor-C676SQ6E.js.map → lspAnchor-S36IPYLY.js.map} +0 -0
- /package/dist/{mcp-VKKPULAR.js.map → mcp-G6XP4VEX.js.map} +0 -0
- /package/dist/{mentionProcessor-LJHHC5H4.js.map → mentionProcessor-RYUO5CBP.js.map} +0 -0
- /package/dist/{messages-QSUEHIGU.js.map → messages-RAE2IVBQ.js.map} +0 -0
- /package/dist/{model-AJTLB6V4.js.map → model-FP7ZNI4O.js.map} +0 -0
- /package/dist/{openai-XIRY5EVT.js.map → openai-ICN67CAE.js.map} +0 -0
- /package/dist/{outputStyles-OTRZEQSD.js.map → outputStyles-RAVBMHEN.js.map} +0 -0
- /package/dist/{pluginRuntime-NQ6GKMG6.js.map → pluginRuntime-JOVTSTKY.js.map} +0 -0
- /package/dist/{pluginValidation-AJUPAPU2.js.map → pluginValidation-DIJJIY4K.js.map} +0 -0
- /package/dist/{prompts-SWCPKXLQ.js.map → prompts-GRRJUGCQ.js.map} +0 -0
- /package/dist/{pybAgentSessionLoad-MOZRT43D.js.map → pybAgentSessionLoad-ZK6T3MKK.js.map} +0 -0
- /package/dist/{pybAgentSessionResume-S67UFBZF.js.map → pybAgentSessionResume-UN5BK4EJ.js.map} +0 -0
- /package/dist/{pybAgentStreamJsonSession-UEEVKNIR.js.map → pybAgentStreamJsonSession-R62B7WS3.js.map} +0 -0
- /package/dist/{pybHooks-UQQ6VWTB.js.map → pybHooks-7WRWNZCK.js.map} +0 -0
- /package/dist/{query-ZKV22Q32.js.map → query-F237I3TL.js.map} +0 -0
- /package/dist/{registry-VUAORMT6.js.map → registry-YN7UETTH.js.map} +0 -0
- /package/dist/{ripgrep-H5HDDGEE.js.map → ripgrep-JE4NNJ57.js.map} +0 -0
- /package/dist/{skillMarketplace-AD473TUO.js.map → skillMarketplace-UMPJDMKZ.js.map} +0 -0
- /package/dist/{state-6FI3TEMZ.js.map → state-LYDML6LP.js.map} +0 -0
- /package/dist/{theme-4KO4JE7Q.js.map → theme-HWPW5P5Y.js.map} +0 -0
- /package/dist/{toolPermissionSettings-5QUOY3OV.js.map → toolPermissionSettings-SIMCM34M.js.map} +0 -0
- /package/dist/{tools-DOBQ6YMO.js.map → tools-EIGHPFPV.js.map} +0 -0
- /package/dist/{userInput-ZT3LIWGH.js.map → userInput-2LPT5MTT.js.map} +0 -0
|
@@ -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-6Y5PPNSI.js";
|
|
6
6
|
import {
|
|
7
7
|
logError
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-PKKKSCNA.js";
|
|
9
9
|
|
|
10
10
|
// src/services/system/systemReminder.ts
|
|
11
11
|
var SystemReminderService = class {
|
|
@@ -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-7I2PC777.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-7I2PC777.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-7I2PC777.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-7I2PC777.js");
|
|
26
26
|
return inner(apiKey, baseURL);
|
|
27
27
|
}
|
|
28
28
|
|
|
@@ -7,14 +7,14 @@ import {
|
|
|
7
7
|
getSettingsFileCandidates,
|
|
8
8
|
loadSettingsWithLegacyFallback,
|
|
9
9
|
saveSettingsToPrimaryAndSyncLegacy
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-Y4AG4ANW.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-PKKKSCNA.js";
|
|
18
18
|
|
|
19
19
|
// src/services/ui/outputStyles.ts
|
|
20
20
|
import figures from "figures";
|
|
@@ -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-CJDPZZQB.js";
|
|
6
6
|
|
|
7
7
|
// src/utils/state/index.ts
|
|
8
8
|
import { cwd } from "process";
|
|
@@ -6,12 +6,12 @@ import {
|
|
|
6
6
|
} from "./chunk-XKYHFZEC.js";
|
|
7
7
|
import {
|
|
8
8
|
getGlobalConfig
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-24NSJVPP.js";
|
|
10
10
|
import {
|
|
11
11
|
debug,
|
|
12
12
|
getCurrentRequest,
|
|
13
13
|
logAPIError
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-6Y5PPNSI.js";
|
|
15
15
|
|
|
16
16
|
// src/services/ai/openai.ts
|
|
17
17
|
import { ProxyAgent, fetch } from "undici";
|
|
@@ -5,12 +5,12 @@ import {
|
|
|
5
5
|
} from "./chunk-BJSWTHRM.js";
|
|
6
6
|
import {
|
|
7
7
|
debug
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-6Y5PPNSI.js";
|
|
9
9
|
import {
|
|
10
10
|
getCwd,
|
|
11
11
|
logError,
|
|
12
12
|
resolveXdgDataPath
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-PKKKSCNA.js";
|
|
14
14
|
|
|
15
15
|
// src/services/plugins/customCommands.ts
|
|
16
16
|
import { existsSync, readFileSync, readdirSync, statSync } from "fs";
|
|
@@ -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-Y4AG4ANW.js";
|
|
6
6
|
import {
|
|
7
7
|
debug
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-6Y5PPNSI.js";
|
|
9
9
|
import {
|
|
10
10
|
env,
|
|
11
11
|
getSessionRoot,
|
|
12
12
|
resolveXdgDataPath
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-PKKKSCNA.js";
|
|
14
14
|
import {
|
|
15
15
|
__require
|
|
16
16
|
} from "./chunk-I3J4JYES.js";
|
|
@@ -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-VZPW6AEB.js";
|
|
6
6
|
import {
|
|
7
7
|
isUuid
|
|
8
8
|
} from "./chunk-5P7HBXTD.js";
|
|
@@ -4,17 +4,17 @@ import {
|
|
|
4
4
|
LspServerRegistry,
|
|
5
5
|
findNearestRoot,
|
|
6
6
|
getInstallNotices
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-S5LL4KQM.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-6Y5PPNSI.js";
|
|
14
14
|
import {
|
|
15
15
|
getCwd,
|
|
16
16
|
getSessionRoot
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-PKKKSCNA.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-YN7UETTH.js");
|
|
569
569
|
const pythonPath = detectPythonVenv(resolvedRoot);
|
|
570
570
|
if (pythonPath) {
|
|
571
571
|
initOpts = { ...initOpts ?? {}, pythonPath };
|
|
@@ -9,10 +9,10 @@ import {
|
|
|
9
9
|
PLAN_SLUG_VERBS,
|
|
10
10
|
getCwd,
|
|
11
11
|
resolveXdgDataPath
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-PKKKSCNA.js";
|
|
13
13
|
import {
|
|
14
14
|
MACRO
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-CJDPZZQB.js";
|
|
16
16
|
|
|
17
17
|
// src/utils/protocol/pybAgentSessionLog.ts
|
|
18
18
|
import { execFileSync } from "child_process";
|
|
@@ -5,14 +5,14 @@ import {
|
|
|
5
5
|
} from "./chunk-B6IMQJZM.js";
|
|
6
6
|
import {
|
|
7
7
|
loadSettingsWithLegacyFallback
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-Y4AG4ANW.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-PKKKSCNA.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-J4NMVDEL.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
|
logError
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-PKKKSCNA.js";
|
|
6
6
|
|
|
7
7
|
// src/utils/session/conversationMessageState.ts
|
|
8
8
|
function mapFinishReason(rawReason) {
|