pybao-cli 1.3.61 → 1.3.62
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-I2MV4CLO.js +42 -0
- package/dist/{acp-LZJ5INJE.js → acp-E4ORUUG6.js} +26 -26
- package/dist/{agentsValidate-N54BKLVP.js → agentsValidate-XGPIMBWY.js} +7 -7
- package/dist/{ask-ZKDEBYMS.js → ask-2XSGPUFY.js} +25 -25
- package/dist/{autoUpdater-EVJBALA4.js → autoUpdater-EA3SMTGS.js} +3 -3
- package/dist/{chunk-6LGTEHBU.js → chunk-2MUYWG5A.js} +1 -1
- package/dist/{chunk-6LGTEHBU.js.map → chunk-2MUYWG5A.js.map} +1 -1
- package/dist/{chunk-YCYQLJZ4.js → chunk-46POHLME.js} +33 -32
- package/dist/chunk-46POHLME.js.map +7 -0
- package/dist/{chunk-UPM6LKXT.js → chunk-5F7W4RBR.js} +1 -1
- package/dist/{chunk-WDMJBURS.js → chunk-63M6WU3A.js} +2 -2
- package/dist/{chunk-IAEGVIG2.js → chunk-755RLUNM.js} +1 -1
- package/dist/{chunk-42TRCLX2.js → chunk-7T5HJASI.js} +3 -3
- package/dist/{chunk-PBX3ZVXF.js → chunk-AEWQCACK.js} +4 -4
- package/dist/{chunk-K27QB3XA.js → chunk-AQ2HCXCW.js} +1 -1
- package/dist/{chunk-EFIY2OBF.js → chunk-C5CUCBJ4.js} +2 -2
- package/dist/{chunk-GRFWVW5Q.js → chunk-CAMPL4AN.js} +1 -1
- package/dist/{chunk-6PWUBWII.js → chunk-DCROD4XG.js} +2 -2
- package/dist/{chunk-IHAFN2IR.js → chunk-DKIGBYKF.js} +2 -2
- package/dist/{chunk-TDCCSW57.js → chunk-E3F3GF24.js} +4 -4
- package/dist/{chunk-HNN3HQ4F.js → chunk-E6J3J4NP.js} +1 -1
- package/dist/{chunk-YH5MHBEP.js → chunk-EBT7XQ6S.js} +3 -3
- package/dist/{chunk-EL5ALYRQ.js → chunk-H6AUMJOJ.js} +18 -12
- package/dist/chunk-H6AUMJOJ.js.map +7 -0
- package/dist/{chunk-Y4MFP2PI.js → chunk-H7QQQG7D.js} +1 -1
- package/dist/{chunk-QQAZYIJT.js → chunk-HZV2KUZV.js} +3 -3
- package/dist/{chunk-3NDYIVBC.js → chunk-HZVVMIKU.js} +3 -3
- package/dist/{chunk-TOFBGLUH.js → chunk-M7KNDY5P.js} +3 -3
- package/dist/{chunk-6VBVWVVU.js → chunk-MHYAFWIN.js} +1 -1
- package/dist/{chunk-5532VV4Q.js → chunk-NTCRKERM.js} +3 -3
- package/dist/{chunk-IIWES7RB.js → chunk-NYK4S5HS.js} +2 -2
- package/dist/{chunk-JXPU7KX4.js → chunk-QZQWZEE4.js} +1 -1
- package/dist/{chunk-LPZM3TPE.js → chunk-THCNHWHQ.js} +2 -2
- package/dist/{chunk-2GJIHGW2.js → chunk-U5LLDWEZ.js} +1 -1
- package/dist/{chunk-UVXNKM7B.js → chunk-UVD6OLKV.js} +3 -3
- package/dist/{cli-3ZUP2X4I.js → cli-KPXNIY4B.js} +77 -77
- package/dist/commands-JXQA3F7B.js +46 -0
- package/dist/{config-EO6W7HT6.js → config-MF6CHCR2.js} +4 -4
- package/dist/{context-ZD3A3X7W.js → context-RDXY7XES.js} +5 -5
- package/dist/{customCommands-CK62GG2A.js → customCommands-Y6RHVSCF.js} +4 -4
- package/dist/{env-JRY7UKS5.js → env-FZLSAOGM.js} +2 -2
- package/dist/index.js +3 -3
- package/dist/{llm-2R3YDGM5.js → llm-5CCL32VY.js} +26 -26
- package/dist/{llmLazy-DQH7QRMR.js → llmLazy-FGXF7GIC.js} +1 -1
- package/dist/{loader-AIAHQGDY.js → loader-ZSTIZJIW.js} +4 -4
- package/dist/{mcp-PIZTHOTG.js → mcp-YFO3QPJ6.js} +7 -7
- package/dist/{mentionProcessor-G3HE2SGJ.js → mentionProcessor-EMFPDQOH.js} +5 -5
- package/dist/{messages-7ERVBYYH.js → messages-HCJ6555M.js} +1 -1
- package/dist/{model-PYSWBB22.js → model-4LKKMVPC.js} +5 -5
- package/dist/{openai-5CTLKASP.js → openai-JZNJGZNU.js} +5 -5
- package/dist/{outputStyles-ZNNZXMTY.js → outputStyles-U6B4LWVO.js} +4 -4
- package/dist/{pluginRuntime-EJS6GFVB.js → pluginRuntime-A2AWM3Q6.js} +6 -6
- package/dist/{pluginValidation-HDLXFMVA.js → pluginValidation-XB3PWUM5.js} +6 -6
- package/dist/prompts-SYOCBLKQ.js +48 -0
- package/dist/{pybAgentSessionLoad-EO52TKZC.js → pybAgentSessionLoad-ZKFVCJPW.js} +4 -4
- package/dist/{pybAgentSessionResume-RF36X2HT.js → pybAgentSessionResume-DE4JLCCC.js} +4 -4
- package/dist/{pybAgentStreamJsonSession-NSBZXQNX.js → pybAgentStreamJsonSession-5IYZ5RHL.js} +1 -1
- package/dist/{pybHooks-ZAJMYPMH.js → pybHooks-Z2SZ736X.js} +4 -4
- package/dist/query-XS3ZVIZL.js +50 -0
- package/dist/{ripgrep-KP4CGUAZ.js → ripgrep-VP646M4W.js} +3 -3
- package/dist/{skillMarketplace-7WJ3SVIA.js → skillMarketplace-WCGQOTNM.js} +3 -3
- package/dist/{state-AKOQ2NMP.js → state-HXU5E4JD.js} +2 -2
- package/dist/{theme-D7PCPHYJ.js → theme-MQCZHWJ2.js} +5 -5
- package/dist/{toolPermissionSettings-GYB4MNUP.js → toolPermissionSettings-XCDVYB3P.js} +6 -6
- package/dist/tools-BLPOCGYT.js +47 -0
- package/dist/{userInput-LIQKUPCD.js → userInput-JX2UGSWD.js} +27 -27
- package/package.json +1 -1
- package/dist/REPL-AIFVTVNV.js +0 -42
- package/dist/chunk-EL5ALYRQ.js.map +0 -7
- package/dist/chunk-YCYQLJZ4.js.map +0 -7
- package/dist/commands-GURVRN72.js +0 -46
- package/dist/prompts-NGAMEMXP.js +0 -48
- package/dist/query-SZRZBXEO.js +0 -50
- package/dist/tools-KFBHBGPN.js +0 -47
- /package/dist/{REPL-AIFVTVNV.js.map → REPL-I2MV4CLO.js.map} +0 -0
- /package/dist/{acp-LZJ5INJE.js.map → acp-E4ORUUG6.js.map} +0 -0
- /package/dist/{agentsValidate-N54BKLVP.js.map → agentsValidate-XGPIMBWY.js.map} +0 -0
- /package/dist/{ask-ZKDEBYMS.js.map → ask-2XSGPUFY.js.map} +0 -0
- /package/dist/{autoUpdater-EVJBALA4.js.map → autoUpdater-EA3SMTGS.js.map} +0 -0
- /package/dist/{chunk-UPM6LKXT.js.map → chunk-5F7W4RBR.js.map} +0 -0
- /package/dist/{chunk-WDMJBURS.js.map → chunk-63M6WU3A.js.map} +0 -0
- /package/dist/{chunk-IAEGVIG2.js.map → chunk-755RLUNM.js.map} +0 -0
- /package/dist/{chunk-42TRCLX2.js.map → chunk-7T5HJASI.js.map} +0 -0
- /package/dist/{chunk-PBX3ZVXF.js.map → chunk-AEWQCACK.js.map} +0 -0
- /package/dist/{chunk-K27QB3XA.js.map → chunk-AQ2HCXCW.js.map} +0 -0
- /package/dist/{chunk-EFIY2OBF.js.map → chunk-C5CUCBJ4.js.map} +0 -0
- /package/dist/{chunk-GRFWVW5Q.js.map → chunk-CAMPL4AN.js.map} +0 -0
- /package/dist/{chunk-6PWUBWII.js.map → chunk-DCROD4XG.js.map} +0 -0
- /package/dist/{chunk-IHAFN2IR.js.map → chunk-DKIGBYKF.js.map} +0 -0
- /package/dist/{chunk-TDCCSW57.js.map → chunk-E3F3GF24.js.map} +0 -0
- /package/dist/{chunk-HNN3HQ4F.js.map → chunk-E6J3J4NP.js.map} +0 -0
- /package/dist/{chunk-YH5MHBEP.js.map → chunk-EBT7XQ6S.js.map} +0 -0
- /package/dist/{chunk-Y4MFP2PI.js.map → chunk-H7QQQG7D.js.map} +0 -0
- /package/dist/{chunk-QQAZYIJT.js.map → chunk-HZV2KUZV.js.map} +0 -0
- /package/dist/{chunk-3NDYIVBC.js.map → chunk-HZVVMIKU.js.map} +0 -0
- /package/dist/{chunk-TOFBGLUH.js.map → chunk-M7KNDY5P.js.map} +0 -0
- /package/dist/{chunk-6VBVWVVU.js.map → chunk-MHYAFWIN.js.map} +0 -0
- /package/dist/{chunk-5532VV4Q.js.map → chunk-NTCRKERM.js.map} +0 -0
- /package/dist/{chunk-IIWES7RB.js.map → chunk-NYK4S5HS.js.map} +0 -0
- /package/dist/{chunk-JXPU7KX4.js.map → chunk-QZQWZEE4.js.map} +0 -0
- /package/dist/{chunk-LPZM3TPE.js.map → chunk-THCNHWHQ.js.map} +0 -0
- /package/dist/{chunk-2GJIHGW2.js.map → chunk-U5LLDWEZ.js.map} +0 -0
- /package/dist/{chunk-UVXNKM7B.js.map → chunk-UVD6OLKV.js.map} +0 -0
- /package/dist/{cli-3ZUP2X4I.js.map → cli-KPXNIY4B.js.map} +0 -0
- /package/dist/{commands-GURVRN72.js.map → commands-JXQA3F7B.js.map} +0 -0
- /package/dist/{config-EO6W7HT6.js.map → config-MF6CHCR2.js.map} +0 -0
- /package/dist/{context-ZD3A3X7W.js.map → context-RDXY7XES.js.map} +0 -0
- /package/dist/{customCommands-CK62GG2A.js.map → customCommands-Y6RHVSCF.js.map} +0 -0
- /package/dist/{env-JRY7UKS5.js.map → env-FZLSAOGM.js.map} +0 -0
- /package/dist/{llm-2R3YDGM5.js.map → llm-5CCL32VY.js.map} +0 -0
- /package/dist/{llmLazy-DQH7QRMR.js.map → llmLazy-FGXF7GIC.js.map} +0 -0
- /package/dist/{loader-AIAHQGDY.js.map → loader-ZSTIZJIW.js.map} +0 -0
- /package/dist/{mcp-PIZTHOTG.js.map → mcp-YFO3QPJ6.js.map} +0 -0
- /package/dist/{mentionProcessor-G3HE2SGJ.js.map → mentionProcessor-EMFPDQOH.js.map} +0 -0
- /package/dist/{messages-7ERVBYYH.js.map → messages-HCJ6555M.js.map} +0 -0
- /package/dist/{model-PYSWBB22.js.map → model-4LKKMVPC.js.map} +0 -0
- /package/dist/{openai-5CTLKASP.js.map → openai-JZNJGZNU.js.map} +0 -0
- /package/dist/{outputStyles-ZNNZXMTY.js.map → outputStyles-U6B4LWVO.js.map} +0 -0
- /package/dist/{pluginRuntime-EJS6GFVB.js.map → pluginRuntime-A2AWM3Q6.js.map} +0 -0
- /package/dist/{pluginValidation-HDLXFMVA.js.map → pluginValidation-XB3PWUM5.js.map} +0 -0
- /package/dist/{prompts-NGAMEMXP.js.map → prompts-SYOCBLKQ.js.map} +0 -0
- /package/dist/{pybAgentSessionLoad-EO52TKZC.js.map → pybAgentSessionLoad-ZKFVCJPW.js.map} +0 -0
- /package/dist/{pybAgentSessionResume-RF36X2HT.js.map → pybAgentSessionResume-DE4JLCCC.js.map} +0 -0
- /package/dist/{pybAgentStreamJsonSession-NSBZXQNX.js.map → pybAgentStreamJsonSession-5IYZ5RHL.js.map} +0 -0
- /package/dist/{pybHooks-ZAJMYPMH.js.map → pybHooks-Z2SZ736X.js.map} +0 -0
- /package/dist/{query-SZRZBXEO.js.map → query-XS3ZVIZL.js.map} +0 -0
- /package/dist/{ripgrep-KP4CGUAZ.js.map → ripgrep-VP646M4W.js.map} +0 -0
- /package/dist/{skillMarketplace-7WJ3SVIA.js.map → skillMarketplace-WCGQOTNM.js.map} +0 -0
- /package/dist/{state-AKOQ2NMP.js.map → state-HXU5E4JD.js.map} +0 -0
- /package/dist/{theme-D7PCPHYJ.js.map → theme-MQCZHWJ2.js.map} +0 -0
- /package/dist/{toolPermissionSettings-GYB4MNUP.js.map → toolPermissionSettings-XCDVYB3P.js.map} +0 -0
- /package/dist/{tools-KFBHBGPN.js.map → tools-BLPOCGYT.js.map} +0 -0
- /package/dist/{userInput-LIQKUPCD.js.map → userInput-JX2UGSWD.js.map} +0 -0
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { createRequire as __pybCreateRequire } from "node:module";
|
|
2
|
+
const require = __pybCreateRequire(import.meta.url);
|
|
3
|
+
import {
|
|
4
|
+
REPL
|
|
5
|
+
} from "./chunk-46POHLME.js";
|
|
6
|
+
import "./chunk-QZQWZEE4.js";
|
|
7
|
+
import "./chunk-E3F3GF24.js";
|
|
8
|
+
import "./chunk-EBT7XQ6S.js";
|
|
9
|
+
import "./chunk-5F7W4RBR.js";
|
|
10
|
+
import "./chunk-H7QQQG7D.js";
|
|
11
|
+
import "./chunk-DCROD4XG.js";
|
|
12
|
+
import "./chunk-5P7HBXTD.js";
|
|
13
|
+
import "./chunk-3DFBSQIT.js";
|
|
14
|
+
import "./chunk-M7KNDY5P.js";
|
|
15
|
+
import "./chunk-B6IMQJZM.js";
|
|
16
|
+
import "./chunk-NYK4S5HS.js";
|
|
17
|
+
import "./chunk-DKIGBYKF.js";
|
|
18
|
+
import "./chunk-AEWQCACK.js";
|
|
19
|
+
import "./chunk-MHYAFWIN.js";
|
|
20
|
+
import "./chunk-C5CUCBJ4.js";
|
|
21
|
+
import "./chunk-UVD6OLKV.js";
|
|
22
|
+
import "./chunk-CAMPL4AN.js";
|
|
23
|
+
import "./chunk-UNNVICVU.js";
|
|
24
|
+
import "./chunk-THCNHWHQ.js";
|
|
25
|
+
import "./chunk-ERMQRV55.js";
|
|
26
|
+
import "./chunk-63M6WU3A.js";
|
|
27
|
+
import "./chunk-A3BVXXA3.js";
|
|
28
|
+
import "./chunk-BJSWTHRM.js";
|
|
29
|
+
import "./chunk-755RLUNM.js";
|
|
30
|
+
import "./chunk-HZVVMIKU.js";
|
|
31
|
+
import "./chunk-NTCRKERM.js";
|
|
32
|
+
import "./chunk-U5LLDWEZ.js";
|
|
33
|
+
import "./chunk-HZV2KUZV.js";
|
|
34
|
+
import "./chunk-RQVLBMP7.js";
|
|
35
|
+
import "./chunk-E6J3J4NP.js";
|
|
36
|
+
import "./chunk-AQ2HCXCW.js";
|
|
37
|
+
import "./chunk-2MUYWG5A.js";
|
|
38
|
+
import "./chunk-OUXHGDLH.js";
|
|
39
|
+
import "./chunk-I3J4JYES.js";
|
|
40
|
+
export {
|
|
41
|
+
REPL
|
|
42
|
+
};
|
|
@@ -6,60 +6,60 @@ import {
|
|
|
6
6
|
} from "./chunk-MWPFU2KU.js";
|
|
7
7
|
import {
|
|
8
8
|
getTools
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-H6AUMJOJ.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-
|
|
16
|
+
} from "./chunk-46POHLME.js";
|
|
17
|
+
import "./chunk-QZQWZEE4.js";
|
|
18
18
|
import {
|
|
19
19
|
getClients
|
|
20
|
-
} from "./chunk-
|
|
21
|
-
import "./chunk-
|
|
22
|
-
import "./chunk-
|
|
23
|
-
import "./chunk-
|
|
24
|
-
import "./chunk-
|
|
20
|
+
} from "./chunk-E3F3GF24.js";
|
|
21
|
+
import "./chunk-EBT7XQ6S.js";
|
|
22
|
+
import "./chunk-5F7W4RBR.js";
|
|
23
|
+
import "./chunk-H7QQQG7D.js";
|
|
24
|
+
import "./chunk-DCROD4XG.js";
|
|
25
25
|
import "./chunk-5P7HBXTD.js";
|
|
26
26
|
import "./chunk-3DFBSQIT.js";
|
|
27
|
-
import "./chunk-
|
|
27
|
+
import "./chunk-M7KNDY5P.js";
|
|
28
28
|
import "./chunk-B6IMQJZM.js";
|
|
29
|
-
import "./chunk-
|
|
30
|
-
import "./chunk-
|
|
31
|
-
import "./chunk-
|
|
32
|
-
import "./chunk-
|
|
33
|
-
import "./chunk-
|
|
29
|
+
import "./chunk-NYK4S5HS.js";
|
|
30
|
+
import "./chunk-DKIGBYKF.js";
|
|
31
|
+
import "./chunk-AEWQCACK.js";
|
|
32
|
+
import "./chunk-MHYAFWIN.js";
|
|
33
|
+
import "./chunk-C5CUCBJ4.js";
|
|
34
34
|
import {
|
|
35
35
|
loadToolPermissionContextFromDisk,
|
|
36
36
|
persistToolPermissionUpdateToDisk
|
|
37
|
-
} from "./chunk-
|
|
38
|
-
import "./chunk-
|
|
37
|
+
} from "./chunk-UVD6OLKV.js";
|
|
38
|
+
import "./chunk-CAMPL4AN.js";
|
|
39
39
|
import {
|
|
40
40
|
applyToolPermissionContextUpdates
|
|
41
41
|
} from "./chunk-UNNVICVU.js";
|
|
42
|
-
import "./chunk-
|
|
42
|
+
import "./chunk-THCNHWHQ.js";
|
|
43
43
|
import "./chunk-ERMQRV55.js";
|
|
44
|
-
import "./chunk-
|
|
44
|
+
import "./chunk-63M6WU3A.js";
|
|
45
45
|
import "./chunk-A3BVXXA3.js";
|
|
46
46
|
import "./chunk-BJSWTHRM.js";
|
|
47
47
|
import {
|
|
48
48
|
createAssistantMessage,
|
|
49
49
|
createUserMessage
|
|
50
|
-
} from "./chunk-
|
|
51
|
-
import "./chunk-
|
|
50
|
+
} from "./chunk-755RLUNM.js";
|
|
51
|
+
import "./chunk-HZVVMIKU.js";
|
|
52
52
|
import {
|
|
53
53
|
getContext
|
|
54
|
-
} from "./chunk-
|
|
55
|
-
import "./chunk-
|
|
54
|
+
} from "./chunk-NTCRKERM.js";
|
|
55
|
+
import "./chunk-U5LLDWEZ.js";
|
|
56
56
|
import {
|
|
57
57
|
enableConfigs
|
|
58
|
-
} from "./chunk-
|
|
58
|
+
} from "./chunk-HZV2KUZV.js";
|
|
59
59
|
import "./chunk-RQVLBMP7.js";
|
|
60
60
|
import {
|
|
61
61
|
initDebugLogger
|
|
62
|
-
} from "./chunk-
|
|
62
|
+
} from "./chunk-E6J3J4NP.js";
|
|
63
63
|
import {
|
|
64
64
|
PRODUCT_COMMAND,
|
|
65
65
|
getPybBaseDir,
|
|
@@ -67,10 +67,10 @@ import {
|
|
|
67
67
|
logError,
|
|
68
68
|
setCwd,
|
|
69
69
|
setOriginalCwd
|
|
70
|
-
} from "./chunk-
|
|
70
|
+
} from "./chunk-AQ2HCXCW.js";
|
|
71
71
|
import {
|
|
72
72
|
MACRO
|
|
73
|
-
} from "./chunk-
|
|
73
|
+
} from "./chunk-2MUYWG5A.js";
|
|
74
74
|
import "./chunk-OUXHGDLH.js";
|
|
75
75
|
import "./chunk-I3J4JYES.js";
|
|
76
76
|
|
|
@@ -2,12 +2,12 @@ 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-HZVVMIKU.js";
|
|
6
|
+
import "./chunk-HZV2KUZV.js";
|
|
7
7
|
import "./chunk-RQVLBMP7.js";
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
8
|
+
import "./chunk-E6J3J4NP.js";
|
|
9
|
+
import "./chunk-AQ2HCXCW.js";
|
|
10
|
+
import "./chunk-2MUYWG5A.js";
|
|
11
11
|
import "./chunk-I3J4JYES.js";
|
|
12
12
|
|
|
13
13
|
// src/entrypoints/cli/agentsValidate.ts
|
|
@@ -344,8 +344,8 @@ async function validateAgentTemplates(args) {
|
|
|
344
344
|
let knownToolNames;
|
|
345
345
|
if (args.checkTools) {
|
|
346
346
|
try {
|
|
347
|
-
const { getTools } = await import("./tools-
|
|
348
|
-
const { getCurrentProjectConfig } = await import("./config-
|
|
347
|
+
const { getTools } = await import("./tools-BLPOCGYT.js");
|
|
348
|
+
const { getCurrentProjectConfig } = await import("./config-MF6CHCR2.js");
|
|
349
349
|
const allTools = await getTools(getCurrentProjectConfig().enableArchitectTool);
|
|
350
350
|
knownToolNames = new Set(allTools.map((t) => t.name));
|
|
351
351
|
} catch {
|
|
@@ -3,49 +3,49 @@ 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-
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-46POHLME.js";
|
|
7
|
+
import "./chunk-QZQWZEE4.js";
|
|
8
|
+
import "./chunk-E3F3GF24.js";
|
|
9
|
+
import "./chunk-EBT7XQ6S.js";
|
|
10
|
+
import "./chunk-5F7W4RBR.js";
|
|
11
|
+
import "./chunk-H7QQQG7D.js";
|
|
12
|
+
import "./chunk-DCROD4XG.js";
|
|
13
13
|
import "./chunk-5P7HBXTD.js";
|
|
14
14
|
import "./chunk-3DFBSQIT.js";
|
|
15
|
-
import "./chunk-
|
|
15
|
+
import "./chunk-M7KNDY5P.js";
|
|
16
16
|
import "./chunk-B6IMQJZM.js";
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-
|
|
21
|
-
import "./chunk-
|
|
22
|
-
import "./chunk-
|
|
23
|
-
import "./chunk-
|
|
17
|
+
import "./chunk-NYK4S5HS.js";
|
|
18
|
+
import "./chunk-DKIGBYKF.js";
|
|
19
|
+
import "./chunk-AEWQCACK.js";
|
|
20
|
+
import "./chunk-MHYAFWIN.js";
|
|
21
|
+
import "./chunk-C5CUCBJ4.js";
|
|
22
|
+
import "./chunk-UVD6OLKV.js";
|
|
23
|
+
import "./chunk-CAMPL4AN.js";
|
|
24
24
|
import "./chunk-UNNVICVU.js";
|
|
25
|
-
import "./chunk-
|
|
25
|
+
import "./chunk-THCNHWHQ.js";
|
|
26
26
|
import "./chunk-ERMQRV55.js";
|
|
27
|
-
import "./chunk-
|
|
27
|
+
import "./chunk-63M6WU3A.js";
|
|
28
28
|
import "./chunk-A3BVXXA3.js";
|
|
29
29
|
import "./chunk-BJSWTHRM.js";
|
|
30
30
|
import {
|
|
31
31
|
createUserMessage
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-755RLUNM.js";
|
|
33
33
|
import {
|
|
34
34
|
getModelManager
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-HZVVMIKU.js";
|
|
36
36
|
import {
|
|
37
37
|
getContext
|
|
38
|
-
} from "./chunk-
|
|
39
|
-
import "./chunk-
|
|
40
|
-
import "./chunk-
|
|
38
|
+
} from "./chunk-NTCRKERM.js";
|
|
39
|
+
import "./chunk-U5LLDWEZ.js";
|
|
40
|
+
import "./chunk-HZV2KUZV.js";
|
|
41
41
|
import "./chunk-RQVLBMP7.js";
|
|
42
|
-
import "./chunk-
|
|
42
|
+
import "./chunk-E6J3J4NP.js";
|
|
43
43
|
import {
|
|
44
44
|
getMessagesPath,
|
|
45
45
|
overwriteLog,
|
|
46
46
|
setCwd
|
|
47
|
-
} from "./chunk-
|
|
48
|
-
import "./chunk-
|
|
47
|
+
} from "./chunk-AQ2HCXCW.js";
|
|
48
|
+
import "./chunk-2MUYWG5A.js";
|
|
49
49
|
import {
|
|
50
50
|
getTotalCost
|
|
51
51
|
} from "./chunk-OUXHGDLH.js";
|
|
@@ -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-7T5HJASI.js";
|
|
9
|
+
import "./chunk-AQ2HCXCW.js";
|
|
10
|
+
import "./chunk-2MUYWG5A.js";
|
|
11
11
|
import "./chunk-I3J4JYES.js";
|
|
12
12
|
export {
|
|
13
13
|
assertMinVersion,
|
|
@@ -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.3.
|
|
4
|
+
"sourcesContent": ["{\n \"name\": \"pybao-cli\",\n \"version\": \"1.3.62\",\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\": \"node scripts/build.mjs\",\n \"build\": \"npm run build:npm\",\n \"build:binary\": \"node scripts/build-binary.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 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 \"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-fetch\": \"^3.3.2\",\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 \"turndown\": \"^7.2.0\",\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 \"bun-types\": \"latest\",\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 \"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 \"typescript\": \"^5.9.2\"\n },\n \"overrides\": {\n \"@aws-sdk/client-bedrock-runtime\": \"3.797.0\",\n \"@smithy/smithy-client\": \"2.5.1\"\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,7 +2,7 @@ import { createRequire as __pybCreateRequire } from "node:module";
|
|
|
2
2
|
const require = __pybCreateRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
listPybAgentSessions
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-QZQWZEE4.js";
|
|
6
6
|
import {
|
|
7
7
|
DEFAULT_TIMEOUT_MS,
|
|
8
8
|
FallbackToolUseRejectedMessage,
|
|
@@ -16,11 +16,11 @@ import {
|
|
|
16
16
|
listMCPServers,
|
|
17
17
|
loadMergedSettings,
|
|
18
18
|
normalizeSandboxRuntimeConfigFromSettings
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-E3F3GF24.js";
|
|
20
20
|
import {
|
|
21
21
|
formatValidationResult,
|
|
22
22
|
validatePluginOrMarketplacePath
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-EBT7XQ6S.js";
|
|
24
24
|
import {
|
|
25
25
|
addMarketplace,
|
|
26
26
|
disableSkillPlugin,
|
|
@@ -33,15 +33,15 @@ import {
|
|
|
33
33
|
refreshMarketplaceAsync,
|
|
34
34
|
removeMarketplace,
|
|
35
35
|
uninstallSkillPlugin
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-5F7W4RBR.js";
|
|
37
37
|
import {
|
|
38
38
|
loadPybAgentSessionMessages
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-H7QQQG7D.js";
|
|
40
40
|
import {
|
|
41
41
|
appendSessionCustomTitleRecord,
|
|
42
42
|
appendSessionJsonlFromMessage,
|
|
43
43
|
appendSessionTagRecord
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-DCROD4XG.js";
|
|
45
45
|
import {
|
|
46
46
|
getRequestStatus,
|
|
47
47
|
setRequestStatus,
|
|
@@ -58,7 +58,7 @@ import {
|
|
|
58
58
|
runStopHooks,
|
|
59
59
|
runUserPromptSubmitHooks,
|
|
60
60
|
updateHookTranscriptForMessages
|
|
61
|
-
} from "./chunk-
|
|
61
|
+
} from "./chunk-M7KNDY5P.js";
|
|
62
62
|
import {
|
|
63
63
|
getPybAgentSessionId,
|
|
64
64
|
setPybAgentSessionId
|
|
@@ -71,35 +71,35 @@ import {
|
|
|
71
71
|
getOutputStyleSystemPromptAdditions,
|
|
72
72
|
resolveOutputStyleName,
|
|
73
73
|
setCurrentOutputStyle
|
|
74
|
-
} from "./chunk-
|
|
74
|
+
} from "./chunk-NYK4S5HS.js";
|
|
75
75
|
import {
|
|
76
76
|
fetchCustomModels,
|
|
77
77
|
getModelFeatures
|
|
78
|
-
} from "./chunk-
|
|
78
|
+
} from "./chunk-DKIGBYKF.js";
|
|
79
79
|
import {
|
|
80
80
|
queryLLM,
|
|
81
81
|
queryQuick,
|
|
82
82
|
verifyApiKey
|
|
83
|
-
} from "./chunk-
|
|
83
|
+
} from "./chunk-AEWQCACK.js";
|
|
84
84
|
import {
|
|
85
85
|
listAllContentFiles,
|
|
86
86
|
ripGrep,
|
|
87
87
|
tree
|
|
88
|
-
} from "./chunk-
|
|
88
|
+
} from "./chunk-MHYAFWIN.js";
|
|
89
89
|
import {
|
|
90
90
|
getCustomCommandDirectories,
|
|
91
91
|
hasCustomCommands,
|
|
92
92
|
loadCustomCommands,
|
|
93
93
|
reloadCustomCommands
|
|
94
|
-
} from "./chunk-
|
|
94
|
+
} from "./chunk-C5CUCBJ4.js";
|
|
95
95
|
import {
|
|
96
96
|
loadToolPermissionContextFromDisk,
|
|
97
97
|
persistToolPermissionUpdateToDisk
|
|
98
|
-
} from "./chunk-
|
|
98
|
+
} from "./chunk-UVD6OLKV.js";
|
|
99
99
|
import {
|
|
100
100
|
getSettingsFileCandidates,
|
|
101
101
|
loadSettingsWithLegacyFallback
|
|
102
|
-
} from "./chunk-
|
|
102
|
+
} from "./chunk-CAMPL4AN.js";
|
|
103
103
|
import {
|
|
104
104
|
applyToolPermissionContextUpdate,
|
|
105
105
|
createDefaultToolPermissionContext
|
|
@@ -112,7 +112,7 @@ import {
|
|
|
112
112
|
resetReminderSession,
|
|
113
113
|
setTodos,
|
|
114
114
|
systemReminderService
|
|
115
|
-
} from "./chunk-
|
|
115
|
+
} from "./chunk-THCNHWHQ.js";
|
|
116
116
|
import {
|
|
117
117
|
getSessionState
|
|
118
118
|
} from "./chunk-ERMQRV55.js";
|
|
@@ -121,7 +121,7 @@ import {
|
|
|
121
121
|
getActiveAgents,
|
|
122
122
|
getAgentByType,
|
|
123
123
|
getAllAgents
|
|
124
|
-
} from "./chunk-
|
|
124
|
+
} from "./chunk-63M6WU3A.js";
|
|
125
125
|
import {
|
|
126
126
|
getSessionPlugins
|
|
127
127
|
} from "./chunk-BJSWTHRM.js";
|
|
@@ -154,22 +154,22 @@ import {
|
|
|
154
154
|
processUserInput,
|
|
155
155
|
reorderMessages,
|
|
156
156
|
stripSystemMessages
|
|
157
|
-
} from "./chunk-
|
|
157
|
+
} from "./chunk-755RLUNM.js";
|
|
158
158
|
import {
|
|
159
159
|
ModelManager,
|
|
160
160
|
getModelManager,
|
|
161
161
|
isDefaultSlowAndCapableModel
|
|
162
|
-
} from "./chunk-
|
|
162
|
+
} from "./chunk-HZVVMIKU.js";
|
|
163
163
|
import {
|
|
164
164
|
getCodeStyle,
|
|
165
165
|
getContext,
|
|
166
166
|
getGitState,
|
|
167
167
|
getIsGit,
|
|
168
168
|
getProjectDocs
|
|
169
|
-
} from "./chunk-
|
|
169
|
+
} from "./chunk-NTCRKERM.js";
|
|
170
170
|
import {
|
|
171
171
|
getTheme
|
|
172
|
-
} from "./chunk-
|
|
172
|
+
} from "./chunk-U5LLDWEZ.js";
|
|
173
173
|
import {
|
|
174
174
|
DEFAULT_GLOBAL_CONFIG,
|
|
175
175
|
enableConfigs,
|
|
@@ -182,7 +182,7 @@ import {
|
|
|
182
182
|
saveGlobalConfig,
|
|
183
183
|
setAllPointersToModel,
|
|
184
184
|
setModelPointer
|
|
185
|
-
} from "./chunk-
|
|
185
|
+
} from "./chunk-HZV2KUZV.js";
|
|
186
186
|
import {
|
|
187
187
|
AbortError
|
|
188
188
|
} from "./chunk-RQVLBMP7.js";
|
|
@@ -191,7 +191,7 @@ import {
|
|
|
191
191
|
getCurrentRequest,
|
|
192
192
|
logUserFriendly,
|
|
193
193
|
markPhase
|
|
194
|
-
} from "./chunk-
|
|
194
|
+
} from "./chunk-E6J3J4NP.js";
|
|
195
195
|
import {
|
|
196
196
|
ASCII_LOGO,
|
|
197
197
|
BunShell,
|
|
@@ -227,10 +227,10 @@ import {
|
|
|
227
227
|
renderBashNotification,
|
|
228
228
|
setActivePlanConversationKey,
|
|
229
229
|
setCwd
|
|
230
|
-
} from "./chunk-
|
|
230
|
+
} from "./chunk-AQ2HCXCW.js";
|
|
231
231
|
import {
|
|
232
232
|
MACRO
|
|
233
|
-
} from "./chunk-
|
|
233
|
+
} from "./chunk-2MUYWG5A.js";
|
|
234
234
|
import {
|
|
235
235
|
formatTotalCost,
|
|
236
236
|
getTotalAPIDuration,
|
|
@@ -418,7 +418,7 @@ var getCommandSubcommandPrefix = memoize(
|
|
|
418
418
|
var getCommandPrefix = memoize(
|
|
419
419
|
async (command4, abortSignal) => {
|
|
420
420
|
const { systemPrompt, userPrompt } = buildBashCommandPrefixDetectionPrompt(command4);
|
|
421
|
-
const { API_ERROR_MESSAGE_PREFIX: API_ERROR_MESSAGE_PREFIX2, queryQuick: queryQuick2 } = await import("./llm-
|
|
421
|
+
const { API_ERROR_MESSAGE_PREFIX: API_ERROR_MESSAGE_PREFIX2, queryQuick: queryQuick2 } = await import("./llm-5CCL32VY.js");
|
|
422
422
|
const response = await queryQuick2({
|
|
423
423
|
systemPrompt,
|
|
424
424
|
userPrompt,
|
|
@@ -4458,7 +4458,7 @@ function formatParseError(error) {
|
|
|
4458
4458
|
return error instanceof Error ? error.message : String(error);
|
|
4459
4459
|
}
|
|
4460
4460
|
async function defaultGateQuery(args) {
|
|
4461
|
-
const { API_ERROR_MESSAGE_PREFIX: API_ERROR_MESSAGE_PREFIX2, queryLLM: queryLLM2 } = await import("./llm-
|
|
4461
|
+
const { API_ERROR_MESSAGE_PREFIX: API_ERROR_MESSAGE_PREFIX2, queryLLM: queryLLM2 } = await import("./llm-5CCL32VY.js");
|
|
4462
4462
|
const messages = [
|
|
4463
4463
|
{
|
|
4464
4464
|
type: "user",
|
|
@@ -6505,6 +6505,7 @@ Usage:
|
|
|
6505
6505
|
- When editing text from Read tool output, ensure you preserve the exact indentation (tabs/spaces) as it appears AFTER the line number prefix. The line number prefix format is: spaces + line number + tab. Everything after that tab is the actual file content to match. Never include any part of the line number prefix in the old_string or new_string.
|
|
6506
6506
|
- **Smart Matching**: The tool uses a 9-layer fuzzy matching engine. It can locate code even if there are minor differences in indentation, whitespace, or even slight typos in the \`old_string\`.
|
|
6507
6507
|
- **Robustness**: It handles common LLM errors (e.g., mismatched spaces, missing newlines) automatically.
|
|
6508
|
+
- **Idempotency**: Use the \`if_not_contains\` parameter to prevent duplicate insertions. If the file already contains the specified string, the edit will be skipped.
|
|
6508
6509
|
- ALWAYS prefer editing existing files in the codebase. NEVER write new files unless explicitly required.
|
|
6509
6510
|
- Only use emojis if the user explicitly requests it. Avoid adding emojis to files unless asked.
|
|
6510
6511
|
- The edit will FAIL if \`old_string\` is not unique in the file. Either provide a larger string with more surrounding context to make it unique or use \`replace_all\` to change every instance of \`old_string\`.
|
|
@@ -11596,7 +11597,7 @@ async function createAndStoreApiKey(accessToken) {
|
|
|
11596
11597
|
}
|
|
11597
11598
|
saveGlobalConfig(config2);
|
|
11598
11599
|
try {
|
|
11599
|
-
const { resetAnthropicClient } = await import("./llm-
|
|
11600
|
+
const { resetAnthropicClient } = await import("./llm-5CCL32VY.js");
|
|
11600
11601
|
resetAnthropicClient();
|
|
11601
11602
|
} catch {
|
|
11602
11603
|
}
|
|
@@ -15878,7 +15879,7 @@ async function refreshPluginRuntimeFromInstalls() {
|
|
|
15878
15879
|
const existingRoots = getSessionPlugins().map((p) => p.rootDir);
|
|
15879
15880
|
const dirs = Array.from(/* @__PURE__ */ new Set([...existingRoots, ...installedRoots]));
|
|
15880
15881
|
if (dirs.length === 0) return [];
|
|
15881
|
-
const { configureSessionPlugins } = await import("./pluginRuntime-
|
|
15882
|
+
const { configureSessionPlugins } = await import("./pluginRuntime-A2AWM3Q6.js");
|
|
15882
15883
|
const { errors } = await configureSessionPlugins({ pluginDirs: dirs });
|
|
15883
15884
|
return errors;
|
|
15884
15885
|
}
|
|
@@ -16547,7 +16548,7 @@ async function call(onDone, context) {
|
|
|
16547
16548
|
ModelConfig,
|
|
16548
16549
|
{
|
|
16549
16550
|
onClose: () => {
|
|
16550
|
-
import("./model-
|
|
16551
|
+
import("./model-4LKKMVPC.js").then(({ reloadModelManager: reloadModelManager2 }) => {
|
|
16551
16552
|
reloadModelManager2();
|
|
16552
16553
|
triggerModelConfigChange();
|
|
16553
16554
|
onDone();
|
|
@@ -23806,7 +23807,7 @@ function useStatusLine() {
|
|
|
23806
23807
|
// src/ui/components/PromptInput.tsx
|
|
23807
23808
|
async function interpretHashCommand(input) {
|
|
23808
23809
|
try {
|
|
23809
|
-
const { queryQuick: queryQuick2 } = await import("./llm-
|
|
23810
|
+
const { queryQuick: queryQuick2 } = await import("./llm-5CCL32VY.js");
|
|
23810
23811
|
const systemPrompt = [
|
|
23811
23812
|
"You're helping the user structure notes that will be added to their PYB.md file.",
|
|
23812
23813
|
"Format the user's input into a well-structured note that will be useful for later reference.",
|
|
@@ -24119,7 +24120,7 @@ function PromptInput({
|
|
|
24119
24120
|
if (messages2.length) {
|
|
24120
24121
|
if (mode === "bash") {
|
|
24121
24122
|
onQuery(messages2, newAbortController).then(async () => {
|
|
24122
|
-
const { getCwd: getCwd2 } = await import("./state-
|
|
24123
|
+
const { getCwd: getCwd2 } = await import("./state-HXU5E4JD.js");
|
|
24123
24124
|
setCurrentPwd(getCwd2());
|
|
24124
24125
|
});
|
|
24125
24126
|
} else {
|
|
@@ -26905,7 +26906,7 @@ import { homedir as homedir7 } from "os";
|
|
|
26905
26906
|
// src/commands/agents/generation.ts
|
|
26906
26907
|
import { randomUUID as randomUUID5 } from "crypto";
|
|
26907
26908
|
async function generateAgentWithClaude(prompt) {
|
|
26908
|
-
const { queryModel } = await import("./llm-
|
|
26909
|
+
const { queryModel } = await import("./llm-5CCL32VY.js");
|
|
26909
26910
|
const systemPrompt = `You are an expert at creating AI agent configurations. Based on the user's description, generate a specialized agent configuration.
|
|
26910
26911
|
|
|
26911
26912
|
Return your response as a JSON object with exactly these fields:
|