pybao-cli 1.4.63 → 1.4.68
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-6LXLSOII.js +46 -0
- package/dist/{acp-5QDBNRRE.js → acp-RBZLK5I5.js} +29 -29
- package/dist/{agentsValidate-B367IG6U.js → agentsValidate-4WPUQRIU.js} +7 -7
- package/dist/{ask-3CPXGOLO.js → ask-E7CHIPZA.js} +28 -28
- package/dist/{autoUpdater-35UXWLT6.js → autoUpdater-VJML5LAO.js} +3 -3
- package/dist/{chunk-DGRO3L2U.js → chunk-2EJTMBGJ.js} +1 -1
- package/dist/{chunk-J3JUMIML.js → chunk-2V6NJ7DW.js} +2 -2
- package/dist/{chunk-S3NCVAKW.js → chunk-3PPYB2AK.js} +2 -2
- package/dist/{chunk-U5DK6DKX.js → chunk-5AIERJLG.js} +1 -1
- package/dist/{chunk-575TOTN2.js → chunk-5O3GVP7Z.js} +4 -4
- package/dist/{chunk-YNQF2C25.js → chunk-7LDPOZZ6.js} +2 -2
- package/dist/{chunk-V34SLB5U.js → chunk-7NCAJ2EJ.js} +2 -2
- package/dist/{chunk-UTOIHV4R.js → chunk-BEQTINGU.js} +2 -2
- package/dist/{chunk-MU6B2VQ4.js → chunk-C5LUBN6T.js} +2 -2
- package/dist/{chunk-5SKQV673.js → chunk-DDHVXTMC.js} +2 -2
- package/dist/{chunk-HT2QSRG6.js → chunk-EE2HU2RS.js} +1 -1
- package/dist/{chunk-MHTCXNXA.js → chunk-FQBUFFT7.js} +1 -1
- package/dist/{chunk-K3MMFNWK.js → chunk-GF57CLFI.js} +1 -1
- package/dist/{chunk-K3MMFNWK.js.map → chunk-GF57CLFI.js.map} +1 -1
- package/dist/{chunk-JMV4MDYP.js → chunk-HPWXOI2K.js} +17 -17
- package/dist/{chunk-JMV4MDYP.js.map → chunk-HPWXOI2K.js.map} +1 -1
- package/dist/{chunk-G4UKRVHC.js → chunk-ISBXNGQB.js} +1 -1
- package/dist/{chunk-ELMOCWI7.js → chunk-KLSIXVFM.js} +373 -671
- package/dist/{chunk-ELMOCWI7.js.map → chunk-KLSIXVFM.js.map} +4 -4
- package/dist/{chunk-MINE35O7.js → chunk-KVHO4FHL.js} +1 -1
- package/dist/{chunk-VTL4JKRR.js → chunk-LYA52DLL.js} +1 -1
- package/dist/{chunk-XKDUG5NH.js → chunk-NN2VFVIX.js} +3 -3
- package/dist/{chunk-O35VWHXM.js → chunk-OGXQURMW.js} +4 -4
- package/dist/{chunk-26XVUVWY.js → chunk-PYASW53S.js} +3 -3
- package/dist/{chunk-EGHZGCL6.js → chunk-QEV4V7JC.js} +3 -3
- package/dist/{chunk-CV67HJEB.js → chunk-UDEREIRJ.js} +4 -4
- package/dist/{chunk-COUDVAGK.js → chunk-XOSFFE2Y.js} +3 -3
- package/dist/{chunk-EKFYPTGN.js → chunk-XSR4HZ53.js} +3 -3
- package/dist/{chunk-AT4J7MOM.js → chunk-Y4PZVDDV.js} +4 -4
- package/dist/{chunk-32Q7FT7L.js → chunk-Y7FNVY2D.js} +1 -1
- package/dist/{chunk-54AMRMDD.js → chunk-Z37IW5CA.js} +3 -5
- package/dist/chunk-Z37IW5CA.js.map +7 -0
- package/dist/{chunk-JHXV6Q6F.js → chunk-ZHVCG35Z.js} +1 -1
- package/dist/{chunk-GCJ4WAVU.js → chunk-ZQCSH2AL.js} +3 -3
- package/dist/{cli-I6IZLYZL.js → cli-F74NJUHW.js} +87 -87
- package/dist/commands-HL6HBYHQ.js +50 -0
- package/dist/{config-6YHGZWHJ.js → config-U6OMMOIX.js} +4 -4
- package/dist/{context-CKDOG72T.js → context-SRTP4GIV.js} +6 -6
- package/dist/{customCommands-6AKUHGFZ.js → customCommands-UQ7GWOJ4.js} +4 -4
- package/dist/{env-YLAC6QCC.js → env-RSGBO3MI.js} +2 -2
- package/dist/{file-QUKVDIUZ.js → file-DDLPA2J4.js} +4 -4
- package/dist/index.js +3 -3
- package/dist/{llm-Y7Q634YT.js → llm-VY6RXJY7.js} +29 -29
- package/dist/{llmLazy-IGTRWGRN.js → llmLazy-LQ6IPPZV.js} +1 -1
- package/dist/{loader-5M2R3M2D.js → loader-WVZDAGRL.js} +4 -4
- package/dist/{lsp-QIOSQUNB.js → lsp-2PB45IFR.js} +6 -6
- package/dist/{lspAnchor-R66G3QH6.js → lspAnchor-FK5YBDE6.js} +6 -6
- package/dist/{mcp-LDR2HGAG.js → mcp-CDUXVXDY.js} +7 -7
- package/dist/{mentionProcessor-ZTUWMWSM.js → mentionProcessor-5JPXBDX4.js} +5 -5
- package/dist/{messages-CUXTZ7R4.js → messages-ALZZJK3V.js} +1 -1
- package/dist/{model-NX4M2CNS.js → model-BVFVXXKO.js} +5 -5
- package/dist/{openai-UXLA5ELC.js → openai-OJOPD7MA.js} +5 -5
- package/dist/{outputStyles-HPVGQS3R.js → outputStyles-HFX7LO4Y.js} +4 -4
- package/dist/{pluginRuntime-DPSLKXM4.js → pluginRuntime-PWEYBXJ4.js} +6 -6
- package/dist/{pluginValidation-DDTUIJZA.js → pluginValidation-UOPYDU5C.js} +6 -6
- package/dist/prompts-MGPNIHJM.js +52 -0
- package/dist/{pybAgentSessionLoad-ONZSDTU4.js → pybAgentSessionLoad-KL57MVY7.js} +4 -4
- package/dist/{pybAgentSessionResume-3EOMMP23.js → pybAgentSessionResume-BR77W4UQ.js} +4 -4
- package/dist/{pybAgentStreamJsonSession-QHFHCC2H.js → pybAgentStreamJsonSession-4PNNMAVB.js} +1 -1
- package/dist/{pybHooks-5QNPMWGV.js → pybHooks-Z4C23UQN.js} +4 -4
- package/dist/query-SGRPX3AO.js +54 -0
- package/dist/{registry-HHOZIHLX.js → registry-3YHU4UGY.js} +5 -5
- package/dist/{ripgrep-RZRBKALT.js → ripgrep-DU7WTPTQ.js} +3 -3
- package/dist/{skillMarketplace-76KSG4RM.js → skillMarketplace-D4I6ZI53.js} +3 -3
- package/dist/{state-2FQS3U4Y.js → state-GH6RNHJT.js} +2 -2
- package/dist/{theme-XPR5FD3R.js → theme-GS3EV5EN.js} +5 -5
- package/dist/{toolPermissionSettings-QJMDUL2C.js → toolPermissionSettings-X2E6BA4Z.js} +6 -6
- package/dist/tools-57A33JBX.js +51 -0
- package/dist/{userInput-SFXIUTPN.js → userInput-H2LOGQOX.js} +30 -30
- package/package.json +1 -1
- package/dist/REPL-VVHH2KM2.js +0 -46
- package/dist/chunk-54AMRMDD.js.map +0 -7
- package/dist/commands-MYVU5L6Z.js +0 -50
- package/dist/prompts-33SUBTAU.js +0 -52
- package/dist/query-B3OWD6AW.js +0 -54
- package/dist/tools-MB5YZ2II.js +0 -51
- /package/dist/{REPL-VVHH2KM2.js.map → REPL-6LXLSOII.js.map} +0 -0
- /package/dist/{acp-5QDBNRRE.js.map → acp-RBZLK5I5.js.map} +0 -0
- /package/dist/{agentsValidate-B367IG6U.js.map → agentsValidate-4WPUQRIU.js.map} +0 -0
- /package/dist/{ask-3CPXGOLO.js.map → ask-E7CHIPZA.js.map} +0 -0
- /package/dist/{autoUpdater-35UXWLT6.js.map → autoUpdater-VJML5LAO.js.map} +0 -0
- /package/dist/{chunk-DGRO3L2U.js.map → chunk-2EJTMBGJ.js.map} +0 -0
- /package/dist/{chunk-J3JUMIML.js.map → chunk-2V6NJ7DW.js.map} +0 -0
- /package/dist/{chunk-S3NCVAKW.js.map → chunk-3PPYB2AK.js.map} +0 -0
- /package/dist/{chunk-U5DK6DKX.js.map → chunk-5AIERJLG.js.map} +0 -0
- /package/dist/{chunk-575TOTN2.js.map → chunk-5O3GVP7Z.js.map} +0 -0
- /package/dist/{chunk-YNQF2C25.js.map → chunk-7LDPOZZ6.js.map} +0 -0
- /package/dist/{chunk-V34SLB5U.js.map → chunk-7NCAJ2EJ.js.map} +0 -0
- /package/dist/{chunk-UTOIHV4R.js.map → chunk-BEQTINGU.js.map} +0 -0
- /package/dist/{chunk-MU6B2VQ4.js.map → chunk-C5LUBN6T.js.map} +0 -0
- /package/dist/{chunk-5SKQV673.js.map → chunk-DDHVXTMC.js.map} +0 -0
- /package/dist/{chunk-HT2QSRG6.js.map → chunk-EE2HU2RS.js.map} +0 -0
- /package/dist/{chunk-MHTCXNXA.js.map → chunk-FQBUFFT7.js.map} +0 -0
- /package/dist/{chunk-G4UKRVHC.js.map → chunk-ISBXNGQB.js.map} +0 -0
- /package/dist/{chunk-MINE35O7.js.map → chunk-KVHO4FHL.js.map} +0 -0
- /package/dist/{chunk-VTL4JKRR.js.map → chunk-LYA52DLL.js.map} +0 -0
- /package/dist/{chunk-XKDUG5NH.js.map → chunk-NN2VFVIX.js.map} +0 -0
- /package/dist/{chunk-O35VWHXM.js.map → chunk-OGXQURMW.js.map} +0 -0
- /package/dist/{chunk-26XVUVWY.js.map → chunk-PYASW53S.js.map} +0 -0
- /package/dist/{chunk-EGHZGCL6.js.map → chunk-QEV4V7JC.js.map} +0 -0
- /package/dist/{chunk-CV67HJEB.js.map → chunk-UDEREIRJ.js.map} +0 -0
- /package/dist/{chunk-COUDVAGK.js.map → chunk-XOSFFE2Y.js.map} +0 -0
- /package/dist/{chunk-EKFYPTGN.js.map → chunk-XSR4HZ53.js.map} +0 -0
- /package/dist/{chunk-AT4J7MOM.js.map → chunk-Y4PZVDDV.js.map} +0 -0
- /package/dist/{chunk-32Q7FT7L.js.map → chunk-Y7FNVY2D.js.map} +0 -0
- /package/dist/{chunk-JHXV6Q6F.js.map → chunk-ZHVCG35Z.js.map} +0 -0
- /package/dist/{chunk-GCJ4WAVU.js.map → chunk-ZQCSH2AL.js.map} +0 -0
- /package/dist/{cli-I6IZLYZL.js.map → cli-F74NJUHW.js.map} +0 -0
- /package/dist/{commands-MYVU5L6Z.js.map → commands-HL6HBYHQ.js.map} +0 -0
- /package/dist/{config-6YHGZWHJ.js.map → config-U6OMMOIX.js.map} +0 -0
- /package/dist/{context-CKDOG72T.js.map → context-SRTP4GIV.js.map} +0 -0
- /package/dist/{customCommands-6AKUHGFZ.js.map → customCommands-UQ7GWOJ4.js.map} +0 -0
- /package/dist/{env-YLAC6QCC.js.map → env-RSGBO3MI.js.map} +0 -0
- /package/dist/{file-QUKVDIUZ.js.map → file-DDLPA2J4.js.map} +0 -0
- /package/dist/{llm-Y7Q634YT.js.map → llm-VY6RXJY7.js.map} +0 -0
- /package/dist/{llmLazy-IGTRWGRN.js.map → llmLazy-LQ6IPPZV.js.map} +0 -0
- /package/dist/{loader-5M2R3M2D.js.map → loader-WVZDAGRL.js.map} +0 -0
- /package/dist/{lsp-QIOSQUNB.js.map → lsp-2PB45IFR.js.map} +0 -0
- /package/dist/{lspAnchor-R66G3QH6.js.map → lspAnchor-FK5YBDE6.js.map} +0 -0
- /package/dist/{mcp-LDR2HGAG.js.map → mcp-CDUXVXDY.js.map} +0 -0
- /package/dist/{mentionProcessor-ZTUWMWSM.js.map → mentionProcessor-5JPXBDX4.js.map} +0 -0
- /package/dist/{messages-CUXTZ7R4.js.map → messages-ALZZJK3V.js.map} +0 -0
- /package/dist/{model-NX4M2CNS.js.map → model-BVFVXXKO.js.map} +0 -0
- /package/dist/{openai-UXLA5ELC.js.map → openai-OJOPD7MA.js.map} +0 -0
- /package/dist/{outputStyles-HPVGQS3R.js.map → outputStyles-HFX7LO4Y.js.map} +0 -0
- /package/dist/{pluginRuntime-DPSLKXM4.js.map → pluginRuntime-PWEYBXJ4.js.map} +0 -0
- /package/dist/{pluginValidation-DDTUIJZA.js.map → pluginValidation-UOPYDU5C.js.map} +0 -0
- /package/dist/{prompts-33SUBTAU.js.map → prompts-MGPNIHJM.js.map} +0 -0
- /package/dist/{pybAgentSessionLoad-ONZSDTU4.js.map → pybAgentSessionLoad-KL57MVY7.js.map} +0 -0
- /package/dist/{pybAgentSessionResume-3EOMMP23.js.map → pybAgentSessionResume-BR77W4UQ.js.map} +0 -0
- /package/dist/{pybAgentStreamJsonSession-QHFHCC2H.js.map → pybAgentStreamJsonSession-4PNNMAVB.js.map} +0 -0
- /package/dist/{pybHooks-5QNPMWGV.js.map → pybHooks-Z4C23UQN.js.map} +0 -0
- /package/dist/{query-B3OWD6AW.js.map → query-SGRPX3AO.js.map} +0 -0
- /package/dist/{registry-HHOZIHLX.js.map → registry-3YHU4UGY.js.map} +0 -0
- /package/dist/{ripgrep-RZRBKALT.js.map → ripgrep-DU7WTPTQ.js.map} +0 -0
- /package/dist/{skillMarketplace-76KSG4RM.js.map → skillMarketplace-D4I6ZI53.js.map} +0 -0
- /package/dist/{state-2FQS3U4Y.js.map → state-GH6RNHJT.js.map} +0 -0
- /package/dist/{theme-XPR5FD3R.js.map → theme-GS3EV5EN.js.map} +0 -0
- /package/dist/{toolPermissionSettings-QJMDUL2C.js.map → toolPermissionSettings-X2E6BA4Z.js.map} +0 -0
- /package/dist/{tools-MB5YZ2II.js.map → tools-57A33JBX.js.map} +0 -0
- /package/dist/{userInput-SFXIUTPN.js.map → userInput-H2LOGQOX.js.map} +0 -0
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { createRequire as __pybCreateRequire } from "node:module";
|
|
2
|
+
const require = __pybCreateRequire(import.meta.url);
|
|
3
|
+
import {
|
|
4
|
+
REPL
|
|
5
|
+
} from "./chunk-KLSIXVFM.js";
|
|
6
|
+
import "./chunk-QEV4V7JC.js";
|
|
7
|
+
import "./chunk-Y7FNVY2D.js";
|
|
8
|
+
import "./chunk-FQBUFFT7.js";
|
|
9
|
+
import "./chunk-DDHVXTMC.js";
|
|
10
|
+
import "./chunk-5P7HBXTD.js";
|
|
11
|
+
import "./chunk-NN2VFVIX.js";
|
|
12
|
+
import "./chunk-7NCAJ2EJ.js";
|
|
13
|
+
import "./chunk-3PPYB2AK.js";
|
|
14
|
+
import "./chunk-5O3GVP7Z.js";
|
|
15
|
+
import "./chunk-OGXQURMW.js";
|
|
16
|
+
import "./chunk-KVHO4FHL.js";
|
|
17
|
+
import "./chunk-XOSFFE2Y.js";
|
|
18
|
+
import "./chunk-UNNVICVU.js";
|
|
19
|
+
import "./chunk-C5LUBN6T.js";
|
|
20
|
+
import "./chunk-7LDPOZZ6.js";
|
|
21
|
+
import "./chunk-A3BVXXA3.js";
|
|
22
|
+
import "./chunk-EE2HU2RS.js";
|
|
23
|
+
import "./chunk-3DFBSQIT.js";
|
|
24
|
+
import "./chunk-B6IMQJZM.js";
|
|
25
|
+
import "./chunk-OUXHGDLH.js";
|
|
26
|
+
import "./chunk-BEQTINGU.js";
|
|
27
|
+
import "./chunk-QWIBSCDN.js";
|
|
28
|
+
import "./chunk-UDEREIRJ.js";
|
|
29
|
+
import "./chunk-ZQCSH2AL.js";
|
|
30
|
+
import "./chunk-ISBXNGQB.js";
|
|
31
|
+
import "./chunk-UZ34JEUK.js";
|
|
32
|
+
import "./chunk-2V6NJ7DW.js";
|
|
33
|
+
import "./chunk-BJSWTHRM.js";
|
|
34
|
+
import "./chunk-PYASW53S.js";
|
|
35
|
+
import "./chunk-Y4PZVDDV.js";
|
|
36
|
+
import "./chunk-2EJTMBGJ.js";
|
|
37
|
+
import "./chunk-5AIERJLG.js";
|
|
38
|
+
import "./chunk-Z37IW5CA.js";
|
|
39
|
+
import "./chunk-RQVLBMP7.js";
|
|
40
|
+
import "./chunk-ZHVCG35Z.js";
|
|
41
|
+
import "./chunk-LYA52DLL.js";
|
|
42
|
+
import "./chunk-GF57CLFI.js";
|
|
43
|
+
import "./chunk-I3J4JYES.js";
|
|
44
|
+
export {
|
|
45
|
+
REPL
|
|
46
|
+
};
|
|
@@ -6,65 +6,65 @@ import {
|
|
|
6
6
|
} from "./chunk-MWPFU2KU.js";
|
|
7
7
|
import {
|
|
8
8
|
getTools
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-HPWXOI2K.js";
|
|
10
10
|
import {
|
|
11
11
|
getCommands,
|
|
12
12
|
getSystemPrompt,
|
|
13
13
|
grantReadPermissionForOriginalDir,
|
|
14
14
|
hasPermissionsToUseTool,
|
|
15
15
|
query
|
|
16
|
-
} from "./chunk-
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-
|
|
16
|
+
} from "./chunk-KLSIXVFM.js";
|
|
17
|
+
import "./chunk-QEV4V7JC.js";
|
|
18
|
+
import "./chunk-Y7FNVY2D.js";
|
|
19
|
+
import "./chunk-FQBUFFT7.js";
|
|
20
|
+
import "./chunk-DDHVXTMC.js";
|
|
21
21
|
import "./chunk-5P7HBXTD.js";
|
|
22
|
-
import "./chunk-
|
|
23
|
-
import "./chunk-
|
|
24
|
-
import "./chunk-
|
|
25
|
-
import "./chunk-
|
|
22
|
+
import "./chunk-NN2VFVIX.js";
|
|
23
|
+
import "./chunk-7NCAJ2EJ.js";
|
|
24
|
+
import "./chunk-3PPYB2AK.js";
|
|
25
|
+
import "./chunk-5O3GVP7Z.js";
|
|
26
26
|
import {
|
|
27
27
|
getClients
|
|
28
|
-
} from "./chunk-
|
|
29
|
-
import "./chunk-
|
|
28
|
+
} from "./chunk-OGXQURMW.js";
|
|
29
|
+
import "./chunk-KVHO4FHL.js";
|
|
30
30
|
import {
|
|
31
31
|
loadToolPermissionContextFromDisk,
|
|
32
32
|
persistToolPermissionUpdateToDisk
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-XOSFFE2Y.js";
|
|
34
34
|
import {
|
|
35
35
|
applyToolPermissionContextUpdates
|
|
36
36
|
} from "./chunk-UNNVICVU.js";
|
|
37
|
-
import "./chunk-
|
|
38
|
-
import "./chunk-
|
|
37
|
+
import "./chunk-C5LUBN6T.js";
|
|
38
|
+
import "./chunk-7LDPOZZ6.js";
|
|
39
39
|
import "./chunk-A3BVXXA3.js";
|
|
40
40
|
import {
|
|
41
41
|
createAssistantMessage,
|
|
42
42
|
createUserMessage
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-EE2HU2RS.js";
|
|
44
44
|
import "./chunk-3DFBSQIT.js";
|
|
45
45
|
import "./chunk-B6IMQJZM.js";
|
|
46
46
|
import "./chunk-OUXHGDLH.js";
|
|
47
|
-
import "./chunk-
|
|
47
|
+
import "./chunk-BEQTINGU.js";
|
|
48
48
|
import "./chunk-QWIBSCDN.js";
|
|
49
|
-
import "./chunk-
|
|
50
|
-
import "./chunk-
|
|
51
|
-
import "./chunk-
|
|
49
|
+
import "./chunk-UDEREIRJ.js";
|
|
50
|
+
import "./chunk-ZQCSH2AL.js";
|
|
51
|
+
import "./chunk-ISBXNGQB.js";
|
|
52
52
|
import "./chunk-UZ34JEUK.js";
|
|
53
|
-
import "./chunk-
|
|
53
|
+
import "./chunk-2V6NJ7DW.js";
|
|
54
54
|
import "./chunk-BJSWTHRM.js";
|
|
55
|
-
import "./chunk-
|
|
55
|
+
import "./chunk-PYASW53S.js";
|
|
56
56
|
import {
|
|
57
57
|
getContext
|
|
58
|
-
} from "./chunk-
|
|
59
|
-
import "./chunk-
|
|
60
|
-
import "./chunk-
|
|
58
|
+
} from "./chunk-Y4PZVDDV.js";
|
|
59
|
+
import "./chunk-2EJTMBGJ.js";
|
|
60
|
+
import "./chunk-5AIERJLG.js";
|
|
61
61
|
import {
|
|
62
62
|
enableConfigs
|
|
63
|
-
} from "./chunk-
|
|
63
|
+
} from "./chunk-Z37IW5CA.js";
|
|
64
64
|
import "./chunk-RQVLBMP7.js";
|
|
65
65
|
import {
|
|
66
66
|
initDebugLogger
|
|
67
|
-
} from "./chunk-
|
|
67
|
+
} from "./chunk-ZHVCG35Z.js";
|
|
68
68
|
import {
|
|
69
69
|
PRODUCT_COMMAND,
|
|
70
70
|
initSentry,
|
|
@@ -72,10 +72,10 @@ import {
|
|
|
72
72
|
resolveXdgDataPath,
|
|
73
73
|
setCwd,
|
|
74
74
|
setOriginalCwd
|
|
75
|
-
} from "./chunk-
|
|
75
|
+
} from "./chunk-LYA52DLL.js";
|
|
76
76
|
import {
|
|
77
77
|
MACRO
|
|
78
|
-
} from "./chunk-
|
|
78
|
+
} from "./chunk-GF57CLFI.js";
|
|
79
79
|
import "./chunk-I3J4JYES.js";
|
|
80
80
|
|
|
81
81
|
// src/acp/jsonrpc.ts
|
|
@@ -2,14 +2,14 @@ import { createRequire as __pybCreateRequire } from "node:module";
|
|
|
2
2
|
const require = __pybCreateRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
getModelManager
|
|
5
|
-
} from "./chunk-
|
|
6
|
-
import "./chunk-
|
|
5
|
+
} from "./chunk-PYASW53S.js";
|
|
6
|
+
import "./chunk-Z37IW5CA.js";
|
|
7
7
|
import "./chunk-RQVLBMP7.js";
|
|
8
|
-
import "./chunk-
|
|
8
|
+
import "./chunk-ZHVCG35Z.js";
|
|
9
9
|
import {
|
|
10
10
|
getXdgConfigDir
|
|
11
|
-
} from "./chunk-
|
|
12
|
-
import "./chunk-
|
|
11
|
+
} from "./chunk-LYA52DLL.js";
|
|
12
|
+
import "./chunk-GF57CLFI.js";
|
|
13
13
|
import "./chunk-I3J4JYES.js";
|
|
14
14
|
|
|
15
15
|
// src/entrypoints/cli/agentsValidate.ts
|
|
@@ -346,8 +346,8 @@ async function validateAgentTemplates(args) {
|
|
|
346
346
|
let knownToolNames;
|
|
347
347
|
if (args.checkTools) {
|
|
348
348
|
try {
|
|
349
|
-
const { getTools } = await import("./tools-
|
|
350
|
-
const { getCurrentProjectConfig } = await import("./config-
|
|
349
|
+
const { getTools } = await import("./tools-57A33JBX.js");
|
|
350
|
+
const { getCurrentProjectConfig } = await import("./config-U6OMMOIX.js");
|
|
351
351
|
const allTools = await getTools(getCurrentProjectConfig().enableArchitectTool);
|
|
352
352
|
knownToolNames = new Set(allTools.map((t) => t.name));
|
|
353
353
|
} catch {
|
|
@@ -3,56 +3,56 @@ const require = __pybCreateRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
getSystemPrompt,
|
|
5
5
|
query
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-KLSIXVFM.js";
|
|
7
|
+
import "./chunk-QEV4V7JC.js";
|
|
8
|
+
import "./chunk-Y7FNVY2D.js";
|
|
9
|
+
import "./chunk-FQBUFFT7.js";
|
|
10
|
+
import "./chunk-DDHVXTMC.js";
|
|
11
11
|
import "./chunk-5P7HBXTD.js";
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
15
|
-
import "./chunk-
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
12
|
+
import "./chunk-NN2VFVIX.js";
|
|
13
|
+
import "./chunk-7NCAJ2EJ.js";
|
|
14
|
+
import "./chunk-3PPYB2AK.js";
|
|
15
|
+
import "./chunk-5O3GVP7Z.js";
|
|
16
|
+
import "./chunk-OGXQURMW.js";
|
|
17
|
+
import "./chunk-KVHO4FHL.js";
|
|
18
|
+
import "./chunk-XOSFFE2Y.js";
|
|
19
19
|
import "./chunk-UNNVICVU.js";
|
|
20
|
-
import "./chunk-
|
|
21
|
-
import "./chunk-
|
|
20
|
+
import "./chunk-C5LUBN6T.js";
|
|
21
|
+
import "./chunk-7LDPOZZ6.js";
|
|
22
22
|
import "./chunk-A3BVXXA3.js";
|
|
23
23
|
import {
|
|
24
24
|
createUserMessage
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-EE2HU2RS.js";
|
|
26
26
|
import "./chunk-3DFBSQIT.js";
|
|
27
27
|
import "./chunk-B6IMQJZM.js";
|
|
28
28
|
import {
|
|
29
29
|
getTotalCost
|
|
30
30
|
} from "./chunk-OUXHGDLH.js";
|
|
31
|
-
import "./chunk-
|
|
31
|
+
import "./chunk-BEQTINGU.js";
|
|
32
32
|
import "./chunk-QWIBSCDN.js";
|
|
33
|
-
import "./chunk-
|
|
34
|
-
import "./chunk-
|
|
35
|
-
import "./chunk-
|
|
33
|
+
import "./chunk-UDEREIRJ.js";
|
|
34
|
+
import "./chunk-ZQCSH2AL.js";
|
|
35
|
+
import "./chunk-ISBXNGQB.js";
|
|
36
36
|
import "./chunk-UZ34JEUK.js";
|
|
37
|
-
import "./chunk-
|
|
37
|
+
import "./chunk-2V6NJ7DW.js";
|
|
38
38
|
import "./chunk-BJSWTHRM.js";
|
|
39
39
|
import {
|
|
40
40
|
getModelManager
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-PYASW53S.js";
|
|
42
42
|
import {
|
|
43
43
|
getContext
|
|
44
|
-
} from "./chunk-
|
|
45
|
-
import "./chunk-
|
|
46
|
-
import "./chunk-
|
|
47
|
-
import "./chunk-
|
|
44
|
+
} from "./chunk-Y4PZVDDV.js";
|
|
45
|
+
import "./chunk-2EJTMBGJ.js";
|
|
46
|
+
import "./chunk-5AIERJLG.js";
|
|
47
|
+
import "./chunk-Z37IW5CA.js";
|
|
48
48
|
import "./chunk-RQVLBMP7.js";
|
|
49
|
-
import "./chunk-
|
|
49
|
+
import "./chunk-ZHVCG35Z.js";
|
|
50
50
|
import {
|
|
51
51
|
getMessagesPath,
|
|
52
52
|
overwriteLog,
|
|
53
53
|
setCwd
|
|
54
|
-
} from "./chunk-
|
|
55
|
-
import "./chunk-
|
|
54
|
+
} from "./chunk-LYA52DLL.js";
|
|
55
|
+
import "./chunk-GF57CLFI.js";
|
|
56
56
|
import "./chunk-I3J4JYES.js";
|
|
57
57
|
|
|
58
58
|
// src/app/ask.ts
|
|
@@ -5,9 +5,9 @@ import {
|
|
|
5
5
|
checkAndNotifyUpdate,
|
|
6
6
|
getLatestVersion,
|
|
7
7
|
getUpdateCommandSuggestions
|
|
8
|
-
} from "./chunk-
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
8
|
+
} from "./chunk-XSR4HZ53.js";
|
|
9
|
+
import "./chunk-LYA52DLL.js";
|
|
10
|
+
import "./chunk-GF57CLFI.js";
|
|
11
11
|
import "./chunk-I3J4JYES.js";
|
|
12
12
|
export {
|
|
13
13
|
assertMinVersion,
|
|
@@ -5,12 +5,12 @@ import {
|
|
|
5
5
|
} from "./chunk-BJSWTHRM.js";
|
|
6
6
|
import {
|
|
7
7
|
debug
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-ZHVCG35Z.js";
|
|
9
9
|
import {
|
|
10
10
|
getCwd,
|
|
11
11
|
logError,
|
|
12
12
|
resolveXdgDataPath
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-LYA52DLL.js";
|
|
14
14
|
|
|
15
15
|
// src/services/plugins/customCommands.ts
|
|
16
16
|
import { existsSync, readFileSync, readdirSync, statSync } from "fs";
|
|
@@ -2,12 +2,12 @@ import { createRequire as __pybCreateRequire } from "node:module";
|
|
|
2
2
|
const require = __pybCreateRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
getGlobalConfig
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-Z37IW5CA.js";
|
|
6
6
|
import {
|
|
7
7
|
debug,
|
|
8
8
|
getCurrentRequest,
|
|
9
9
|
logAPIError
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-ZHVCG35Z.js";
|
|
11
11
|
|
|
12
12
|
// src/services/ai/openai.ts
|
|
13
13
|
import { ProxyAgent, fetch } from "undici";
|
|
@@ -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-VY6RXJY7.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-VY6RXJY7.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-VY6RXJY7.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-VY6RXJY7.js");
|
|
26
26
|
return inner(apiKey, baseURL);
|
|
27
27
|
}
|
|
28
28
|
|
|
@@ -8,12 +8,12 @@ import {
|
|
|
8
8
|
} from "./chunk-BJSWTHRM.js";
|
|
9
9
|
import {
|
|
10
10
|
debug
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-ZHVCG35Z.js";
|
|
12
12
|
import {
|
|
13
13
|
getCwd,
|
|
14
14
|
getXdgConfigDir,
|
|
15
15
|
logError
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-LYA52DLL.js";
|
|
17
17
|
|
|
18
18
|
// src/utils/agent/loader.ts
|
|
19
19
|
import {
|
|
@@ -7,14 +7,14 @@ import {
|
|
|
7
7
|
getSettingsFileCandidates,
|
|
8
8
|
loadSettingsWithLegacyFallback,
|
|
9
9
|
saveSettingsToPrimaryAndSyncLegacy
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-ISBXNGQB.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-LYA52DLL.js";
|
|
18
18
|
|
|
19
19
|
// src/services/ui/outputStyles.ts
|
|
20
20
|
import figures from "figures";
|
|
@@ -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-2EJTMBGJ.js";
|
|
6
6
|
import {
|
|
7
7
|
getCwd,
|
|
8
8
|
logError
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-LYA52DLL.js";
|
|
10
10
|
|
|
11
11
|
// src/utils/fs/file.ts
|
|
12
12
|
import {
|
|
@@ -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-ZHVCG35Z.js";
|
|
6
6
|
import {
|
|
7
7
|
logError
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-LYA52DLL.js";
|
|
9
9
|
|
|
10
10
|
// src/services/system/systemReminder.ts
|
|
11
11
|
var SystemReminderService = class {
|
|
@@ -9,10 +9,10 @@ import {
|
|
|
9
9
|
PLAN_SLUG_VERBS,
|
|
10
10
|
getCwd,
|
|
11
11
|
resolveXdgDataPath
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-LYA52DLL.js";
|
|
13
13
|
import {
|
|
14
14
|
MACRO
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-GF57CLFI.js";
|
|
16
16
|
|
|
17
17
|
// src/utils/protocol/pybAgentSessionLog.ts
|
|
18
18
|
import { execFileSync } from "child_process";
|
|
@@ -463,7 +463,7 @@ function getLastAssistantMessageId(messages) {
|
|
|
463
463
|
|
|
464
464
|
// src/utils/messages/index.ts
|
|
465
465
|
async function processUserInput(input, mode, setToolJSX, context, pastedImages) {
|
|
466
|
-
const impl = await import("./userInput-
|
|
466
|
+
const impl = await import("./userInput-H2LOGQOX.js");
|
|
467
467
|
return impl.processUserInput(input, mode, setToolJSX, context, pastedImages);
|
|
468
468
|
}
|
|
469
469
|
|
|
@@ -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.68\",\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 \"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
|
}
|
|
@@ -35,57 +35,57 @@ import {
|
|
|
35
35
|
runWithTaskListEnv,
|
|
36
36
|
runWithTaskListId,
|
|
37
37
|
updateTask
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-KLSIXVFM.js";
|
|
39
39
|
import {
|
|
40
40
|
queryLLM
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-5O3GVP7Z.js";
|
|
42
42
|
import {
|
|
43
43
|
FallbackToolUseRejectedMessage,
|
|
44
44
|
MCPTool,
|
|
45
45
|
getClients,
|
|
46
46
|
getMCPTools
|
|
47
|
-
} from "./chunk-
|
|
47
|
+
} from "./chunk-OGXQURMW.js";
|
|
48
48
|
import {
|
|
49
49
|
emitReminderEvent
|
|
50
|
-
} from "./chunk-
|
|
50
|
+
} from "./chunk-C5LUBN6T.js";
|
|
51
51
|
import {
|
|
52
52
|
getActiveAgents,
|
|
53
53
|
getAgentByType,
|
|
54
54
|
getAvailableAgentTypes
|
|
55
|
-
} from "./chunk-
|
|
55
|
+
} from "./chunk-7LDPOZZ6.js";
|
|
56
56
|
import {
|
|
57
57
|
INTERRUPT_MESSAGE,
|
|
58
58
|
createAssistantMessage,
|
|
59
59
|
createUserMessage,
|
|
60
60
|
getLastAssistantMessageId
|
|
61
|
-
} from "./chunk-
|
|
61
|
+
} from "./chunk-EE2HU2RS.js";
|
|
62
62
|
import {
|
|
63
63
|
formatDuration,
|
|
64
64
|
formatNumber
|
|
65
65
|
} from "./chunk-OUXHGDLH.js";
|
|
66
66
|
import {
|
|
67
67
|
getAbsolutePath
|
|
68
|
-
} from "./chunk-
|
|
68
|
+
} from "./chunk-BEQTINGU.js";
|
|
69
69
|
import {
|
|
70
70
|
LspFacade,
|
|
71
71
|
formatDiagnosticsPretty
|
|
72
|
-
} from "./chunk-
|
|
72
|
+
} from "./chunk-UDEREIRJ.js";
|
|
73
73
|
import {
|
|
74
74
|
getModelManager
|
|
75
|
-
} from "./chunk-
|
|
75
|
+
} from "./chunk-PYASW53S.js";
|
|
76
76
|
import {
|
|
77
77
|
getContext
|
|
78
|
-
} from "./chunk-
|
|
78
|
+
} from "./chunk-Y4PZVDDV.js";
|
|
79
79
|
import {
|
|
80
80
|
filesToTree,
|
|
81
81
|
ripGrepWithStatus
|
|
82
|
-
} from "./chunk-
|
|
82
|
+
} from "./chunk-2EJTMBGJ.js";
|
|
83
83
|
import {
|
|
84
84
|
getTheme
|
|
85
|
-
} from "./chunk-
|
|
85
|
+
} from "./chunk-5AIERJLG.js";
|
|
86
86
|
import {
|
|
87
87
|
debug
|
|
88
|
-
} from "./chunk-
|
|
88
|
+
} from "./chunk-ZHVCG35Z.js";
|
|
89
89
|
import {
|
|
90
90
|
BunShell,
|
|
91
91
|
getCwd,
|
|
@@ -96,7 +96,7 @@ import {
|
|
|
96
96
|
overwriteLog,
|
|
97
97
|
readTaskOutput,
|
|
98
98
|
resolveXdgDataPath
|
|
99
|
-
} from "./chunk-
|
|
99
|
+
} from "./chunk-LYA52DLL.js";
|
|
100
100
|
|
|
101
101
|
// src/tools/index.ts
|
|
102
102
|
import { memoize as memoize2 } from "lodash-es";
|
|
@@ -775,7 +775,7 @@ async function analyzeOutputWithLsp(output, exitCode) {
|
|
|
775
775
|
if (exitCode !== 0 || errorCount > 0 || warningCount > 0) {
|
|
776
776
|
try {
|
|
777
777
|
const { isAbsolute: isAbsolute3, resolve: resolve4 } = await import("path");
|
|
778
|
-
const { getSessionRoot: getSessionRoot2 } = await import("./state-
|
|
778
|
+
const { getSessionRoot: getSessionRoot2 } = await import("./state-GH6RNHJT.js");
|
|
779
779
|
const lines = output.split("\n");
|
|
780
780
|
const uniqueFiles = /* @__PURE__ */ new Set();
|
|
781
781
|
const lspSuggestions = [];
|
|
@@ -1148,7 +1148,7 @@ var DeleteTool = {
|
|
|
1148
1148
|
}
|
|
1149
1149
|
if (!force) {
|
|
1150
1150
|
try {
|
|
1151
|
-
const { LspFacade: LspFacade2 } = await import("./lsp-
|
|
1151
|
+
const { LspFacade: LspFacade2 } = await import("./lsp-2PB45IFR.js");
|
|
1152
1152
|
const referenceDetail = await LspFacade2.checkFileReferences(fullPath);
|
|
1153
1153
|
if (referenceDetail) {
|
|
1154
1154
|
failedItems.push(
|
|
@@ -3100,7 +3100,7 @@ Skip using this tool when:
|
|
|
3100
3100
|
|
|
3101
3101
|
1. There is only a single, straightforward task
|
|
3102
3102
|
2. The task is trivial and tracking it provides no organizational benefit
|
|
3103
|
-
3. The task can be completed in less than
|
|
3103
|
+
3. The task can be completed in less than 3 trivial steps
|
|
3104
3104
|
4. The task is purely conversational or informational
|
|
3105
3105
|
|
|
3106
3106
|
NOTE that you should not use this tool if you are only updating status or details of an existing task.
|