pybao-cli 1.5.40 → 1.5.42
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-B5KZD7G5.js +51 -0
- package/dist/{acp-FDHMQCWT.js → acp-TVN3WHDY.js} +30 -30
- package/dist/{agentsValidate-ELJV3BD5.js → agentsValidate-GHHBQ2V3.js} +7 -7
- package/dist/{ask-LLSPXGGE.js → ask-Q2KBAHNA.js} +30 -30
- package/dist/{autoUpdater-GPMR6GD7.js → autoUpdater-65UHQALF.js} +3 -3
- package/dist/{chunk-7W52VHCA.js → chunk-2ONDOJ32.js} +2 -2
- package/dist/{chunk-EYLCDMQQ.js → chunk-2VA64CKU.js} +3 -3
- package/dist/{chunk-3EBTDGWV.js → chunk-3I5AJWST.js} +1 -1
- package/dist/{chunk-JTF7WK7Z.js → chunk-3NASYKEW.js} +1 -1
- package/dist/{chunk-JTF7WK7Z.js.map → chunk-3NASYKEW.js.map} +1 -1
- package/dist/{chunk-M56ITZBW.js → chunk-5G4RB7MC.js} +1 -1
- package/dist/{chunk-Q373NOSL.js → chunk-6JEIJLDL.js} +4 -4
- package/dist/{chunk-IA6MVNWV.js → chunk-7ALGFH5X.js} +1 -1
- package/dist/{chunk-OW77PW5M.js → chunk-DEZYDCUH.js} +24 -3
- package/dist/chunk-DEZYDCUH.js.map +7 -0
- package/dist/{chunk-T2EM3K5B.js → chunk-EQBLVRTX.js} +2 -2
- package/dist/{chunk-26KSRQP4.js → chunk-FINT4Z7B.js} +18 -3
- package/dist/chunk-FINT4Z7B.js.map +7 -0
- package/dist/{chunk-L7U4IZJ5.js → chunk-FPJL5RXB.js} +4 -4
- package/dist/{chunk-Y6JX7EBN.js → chunk-HMZHP623.js} +4 -4
- package/dist/{chunk-5S5C2OHM.js → chunk-I5XULU7R.js} +3 -3
- package/dist/{chunk-X2CQAFP7.js → chunk-LMXJDGUG.js} +1 -1
- package/dist/{chunk-PMPP4Q2U.js → chunk-LW26RTGS.js} +1 -1
- package/dist/{chunk-SCVKSNWZ.js → chunk-N4EHD2WQ.js} +1 -1
- package/dist/{chunk-WAB6PUNL.js → chunk-NVENXGF7.js} +3 -3
- package/dist/{chunk-6BBHJOWS.js → chunk-S2TCT35Y.js} +2 -2
- package/dist/{chunk-3KHG4DDY.js → chunk-S3O3RCWN.js} +1 -1
- package/dist/{chunk-INRQ5FYB.js → chunk-SWH2U4BW.js} +3 -3
- package/dist/{chunk-R4FJYGPN.js → chunk-SY5A3V3Q.js} +1 -1
- package/dist/{chunk-ZIWNCLKX.js → chunk-TNCM6TNK.js} +3 -3
- package/dist/{chunk-FPVESENY.js → chunk-UJHTJTTS.js} +3 -3
- package/dist/{chunk-TWUMAHON.js → chunk-VG2Z446J.js} +4 -4
- package/dist/{chunk-BYLAKTEP.js → chunk-VWI4TG6L.js} +3 -3
- package/dist/{chunk-H4Z2VPCJ.js → chunk-W2ZTYIRJ.js} +1 -1
- package/dist/{chunk-SYD52UQC.js → chunk-W57S56SZ.js} +2 -2
- package/dist/{chunk-2AFJRWCO.js → chunk-XGYRZA24.js} +3 -3
- package/dist/{chunk-WGKYEXPG.js → chunk-Y2Z256D7.js} +211 -72
- package/dist/chunk-Y2Z256D7.js.map +7 -0
- package/dist/{chunk-H3NQOBUI.js → chunk-YIQDKWRI.js} +2 -2
- package/dist/{chunk-BEV23CJE.js → chunk-ZKDULVN5.js} +1 -1
- package/dist/{cli-BBHRJCTN.js → cli-R6FWX47L.js} +90 -90
- package/dist/commands-5BUFNWGW.js +55 -0
- package/dist/{config-KN2XEOY7.js → config-UOF22R5A.js} +4 -4
- package/dist/{context-BW6MJQM2.js → context-2XY2LAUJ.js} +6 -6
- package/dist/{conversationPersistence-RAVYY226.js → conversationPersistence-PWSEH5D2.js} +3 -3
- package/dist/{conversationTracker-3IAJEIQ4.js → conversationTracker-R3PKN554.js} +4 -4
- package/dist/{customCommands-BNVGCUKP.js → customCommands-KRYZL5FH.js} +4 -4
- package/dist/{env-LHB5NTOI.js → env-NFA6MDCD.js} +2 -2
- package/dist/{file-CJ3PREEJ.js → file-B7O6H4QE.js} +4 -4
- package/dist/index.js +3 -3
- package/dist/{llm-VJ5SXQHW.js → llm-SPIGEJ2Z.js} +31 -31
- package/dist/{llmLazy-UUS3WEHK.js → llmLazy-GPAEOXPV.js} +1 -1
- package/dist/{loader-5VRUVNER.js → loader-32QKHUOK.js} +4 -4
- package/dist/{lsp-BIIABO6H.js → lsp-VMFAYCLW.js} +6 -6
- package/dist/{lspAnchor-TT3FWLUS.js → lspAnchor-MLXUGBLJ.js} +6 -6
- package/dist/{mcp-R4ZYR3JP.js → mcp-PLCRLS5A.js} +7 -7
- package/dist/{mentionProcessor-QYWCQUIV.js → mentionProcessor-DFTGT52F.js} +5 -5
- package/dist/{messages-MA74RJER.js → messages-TKAHXVGJ.js} +1 -1
- package/dist/{model-POXLU7ZR.js → model-EWO655R3.js} +5 -5
- package/dist/{openai-I7BLJUQS.js → openai-DM5CXIXZ.js} +5 -5
- package/dist/{outputStyles-75MN6KTI.js → outputStyles-XJXX5ZXG.js} +4 -4
- package/dist/{pluginRuntime-3WFVQ6S7.js → pluginRuntime-WVEONLK3.js} +6 -6
- package/dist/{pluginValidation-L3SGXFFT.js → pluginValidation-AQWVJ7FK.js} +6 -6
- package/dist/prompts-MYXXJHIA.js +57 -0
- package/dist/{pybAgentSessionLoad-U64JCPNS.js → pybAgentSessionLoad-4PHU7OTN.js} +4 -4
- package/dist/{pybAgentSessionResume-DTB7UOFX.js → pybAgentSessionResume-CS3E6FIE.js} +4 -4
- package/dist/{pybAgentStreamJsonSession-ZSEACSHS.js → pybAgentStreamJsonSession-PYZMFK7D.js} +1 -1
- package/dist/{pybHooks-IZIY2IGK.js → pybHooks-JPX6L4HI.js} +4 -4
- package/dist/query-TFHNPQ35.js +55 -0
- package/dist/{registry-74CB6VIJ.js → registry-MBEH554P.js} +5 -5
- package/dist/{ripgrep-JJE36CNN.js → ripgrep-XKTM64PS.js} +3 -3
- package/dist/{skillMarketplace-ARREBOGZ.js → skillMarketplace-APD57VBX.js} +3 -3
- package/dist/{state-WZ4UJAH7.js → state-2QEHOVTA.js} +2 -2
- package/dist/{theme-57UJPEQK.js → theme-NGDPNTUX.js} +5 -5
- package/dist/{toolPermissionSettings-4236ZJBP.js → toolPermissionSettings-RLNPVOBI.js} +6 -6
- package/dist/tools-U345EBHA.js +55 -0
- package/dist/{userInput-VIXNIZP3.js → userInput-6ASB72OS.js} +32 -32
- package/package.json +1 -1
- package/dist/REPL-Z3TOIVYD.js +0 -51
- package/dist/chunk-26KSRQP4.js.map +0 -7
- package/dist/chunk-OW77PW5M.js.map +0 -7
- package/dist/chunk-WGKYEXPG.js.map +0 -7
- package/dist/commands-PVWHGRX3.js +0 -55
- package/dist/prompts-MDTDDW3N.js +0 -57
- package/dist/query-TKK5CM7T.js +0 -55
- package/dist/tools-KTJEXUUE.js +0 -55
- /package/dist/{REPL-Z3TOIVYD.js.map → REPL-B5KZD7G5.js.map} +0 -0
- /package/dist/{acp-FDHMQCWT.js.map → acp-TVN3WHDY.js.map} +0 -0
- /package/dist/{agentsValidate-ELJV3BD5.js.map → agentsValidate-GHHBQ2V3.js.map} +0 -0
- /package/dist/{ask-LLSPXGGE.js.map → ask-Q2KBAHNA.js.map} +0 -0
- /package/dist/{autoUpdater-GPMR6GD7.js.map → autoUpdater-65UHQALF.js.map} +0 -0
- /package/dist/{chunk-7W52VHCA.js.map → chunk-2ONDOJ32.js.map} +0 -0
- /package/dist/{chunk-EYLCDMQQ.js.map → chunk-2VA64CKU.js.map} +0 -0
- /package/dist/{chunk-3EBTDGWV.js.map → chunk-3I5AJWST.js.map} +0 -0
- /package/dist/{chunk-M56ITZBW.js.map → chunk-5G4RB7MC.js.map} +0 -0
- /package/dist/{chunk-Q373NOSL.js.map → chunk-6JEIJLDL.js.map} +0 -0
- /package/dist/{chunk-IA6MVNWV.js.map → chunk-7ALGFH5X.js.map} +0 -0
- /package/dist/{chunk-T2EM3K5B.js.map → chunk-EQBLVRTX.js.map} +0 -0
- /package/dist/{chunk-L7U4IZJ5.js.map → chunk-FPJL5RXB.js.map} +0 -0
- /package/dist/{chunk-Y6JX7EBN.js.map → chunk-HMZHP623.js.map} +0 -0
- /package/dist/{chunk-5S5C2OHM.js.map → chunk-I5XULU7R.js.map} +0 -0
- /package/dist/{chunk-X2CQAFP7.js.map → chunk-LMXJDGUG.js.map} +0 -0
- /package/dist/{chunk-PMPP4Q2U.js.map → chunk-LW26RTGS.js.map} +0 -0
- /package/dist/{chunk-SCVKSNWZ.js.map → chunk-N4EHD2WQ.js.map} +0 -0
- /package/dist/{chunk-WAB6PUNL.js.map → chunk-NVENXGF7.js.map} +0 -0
- /package/dist/{chunk-6BBHJOWS.js.map → chunk-S2TCT35Y.js.map} +0 -0
- /package/dist/{chunk-3KHG4DDY.js.map → chunk-S3O3RCWN.js.map} +0 -0
- /package/dist/{chunk-INRQ5FYB.js.map → chunk-SWH2U4BW.js.map} +0 -0
- /package/dist/{chunk-R4FJYGPN.js.map → chunk-SY5A3V3Q.js.map} +0 -0
- /package/dist/{chunk-ZIWNCLKX.js.map → chunk-TNCM6TNK.js.map} +0 -0
- /package/dist/{chunk-FPVESENY.js.map → chunk-UJHTJTTS.js.map} +0 -0
- /package/dist/{chunk-TWUMAHON.js.map → chunk-VG2Z446J.js.map} +0 -0
- /package/dist/{chunk-BYLAKTEP.js.map → chunk-VWI4TG6L.js.map} +0 -0
- /package/dist/{chunk-H4Z2VPCJ.js.map → chunk-W2ZTYIRJ.js.map} +0 -0
- /package/dist/{chunk-SYD52UQC.js.map → chunk-W57S56SZ.js.map} +0 -0
- /package/dist/{chunk-2AFJRWCO.js.map → chunk-XGYRZA24.js.map} +0 -0
- /package/dist/{chunk-H3NQOBUI.js.map → chunk-YIQDKWRI.js.map} +0 -0
- /package/dist/{chunk-BEV23CJE.js.map → chunk-ZKDULVN5.js.map} +0 -0
- /package/dist/{cli-BBHRJCTN.js.map → cli-R6FWX47L.js.map} +0 -0
- /package/dist/{commands-PVWHGRX3.js.map → commands-5BUFNWGW.js.map} +0 -0
- /package/dist/{config-KN2XEOY7.js.map → config-UOF22R5A.js.map} +0 -0
- /package/dist/{context-BW6MJQM2.js.map → context-2XY2LAUJ.js.map} +0 -0
- /package/dist/{conversationPersistence-RAVYY226.js.map → conversationPersistence-PWSEH5D2.js.map} +0 -0
- /package/dist/{conversationTracker-3IAJEIQ4.js.map → conversationTracker-R3PKN554.js.map} +0 -0
- /package/dist/{customCommands-BNVGCUKP.js.map → customCommands-KRYZL5FH.js.map} +0 -0
- /package/dist/{env-LHB5NTOI.js.map → env-NFA6MDCD.js.map} +0 -0
- /package/dist/{file-CJ3PREEJ.js.map → file-B7O6H4QE.js.map} +0 -0
- /package/dist/{llm-VJ5SXQHW.js.map → llm-SPIGEJ2Z.js.map} +0 -0
- /package/dist/{llmLazy-UUS3WEHK.js.map → llmLazy-GPAEOXPV.js.map} +0 -0
- /package/dist/{loader-5VRUVNER.js.map → loader-32QKHUOK.js.map} +0 -0
- /package/dist/{lsp-BIIABO6H.js.map → lsp-VMFAYCLW.js.map} +0 -0
- /package/dist/{lspAnchor-TT3FWLUS.js.map → lspAnchor-MLXUGBLJ.js.map} +0 -0
- /package/dist/{mcp-R4ZYR3JP.js.map → mcp-PLCRLS5A.js.map} +0 -0
- /package/dist/{mentionProcessor-QYWCQUIV.js.map → mentionProcessor-DFTGT52F.js.map} +0 -0
- /package/dist/{messages-MA74RJER.js.map → messages-TKAHXVGJ.js.map} +0 -0
- /package/dist/{model-POXLU7ZR.js.map → model-EWO655R3.js.map} +0 -0
- /package/dist/{openai-I7BLJUQS.js.map → openai-DM5CXIXZ.js.map} +0 -0
- /package/dist/{outputStyles-75MN6KTI.js.map → outputStyles-XJXX5ZXG.js.map} +0 -0
- /package/dist/{pluginRuntime-3WFVQ6S7.js.map → pluginRuntime-WVEONLK3.js.map} +0 -0
- /package/dist/{pluginValidation-L3SGXFFT.js.map → pluginValidation-AQWVJ7FK.js.map} +0 -0
- /package/dist/{prompts-MDTDDW3N.js.map → prompts-MYXXJHIA.js.map} +0 -0
- /package/dist/{pybAgentSessionLoad-U64JCPNS.js.map → pybAgentSessionLoad-4PHU7OTN.js.map} +0 -0
- /package/dist/{pybAgentSessionResume-DTB7UOFX.js.map → pybAgentSessionResume-CS3E6FIE.js.map} +0 -0
- /package/dist/{pybAgentStreamJsonSession-ZSEACSHS.js.map → pybAgentStreamJsonSession-PYZMFK7D.js.map} +0 -0
- /package/dist/{pybHooks-IZIY2IGK.js.map → pybHooks-JPX6L4HI.js.map} +0 -0
- /package/dist/{query-TKK5CM7T.js.map → query-TFHNPQ35.js.map} +0 -0
- /package/dist/{registry-74CB6VIJ.js.map → registry-MBEH554P.js.map} +0 -0
- /package/dist/{ripgrep-JJE36CNN.js.map → ripgrep-XKTM64PS.js.map} +0 -0
- /package/dist/{skillMarketplace-ARREBOGZ.js.map → skillMarketplace-APD57VBX.js.map} +0 -0
- /package/dist/{state-WZ4UJAH7.js.map → state-2QEHOVTA.js.map} +0 -0
- /package/dist/{theme-57UJPEQK.js.map → theme-NGDPNTUX.js.map} +0 -0
- /package/dist/{toolPermissionSettings-4236ZJBP.js.map → toolPermissionSettings-RLNPVOBI.js.map} +0 -0
- /package/dist/{tools-KTJEXUUE.js.map → tools-U345EBHA.js.map} +0 -0
- /package/dist/{userInput-VIXNIZP3.js.map → userInput-6ASB72OS.js.map} +0 -0
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { createRequire as __pybCreateRequire } from "node:module";
|
|
2
|
+
const require = __pybCreateRequire(import.meta.url);
|
|
3
|
+
import {
|
|
4
|
+
REPL
|
|
5
|
+
} from "./chunk-Y2Z256D7.js";
|
|
6
|
+
import "./chunk-N4EHD2WQ.js";
|
|
7
|
+
import "./chunk-TNCM6TNK.js";
|
|
8
|
+
import "./chunk-5G4RB7MC.js";
|
|
9
|
+
import "./chunk-5P7HBXTD.js";
|
|
10
|
+
import "./chunk-UJHTJTTS.js";
|
|
11
|
+
import "./chunk-S3O3RCWN.js";
|
|
12
|
+
import "./chunk-3I5AJWST.js";
|
|
13
|
+
import "./chunk-F4AXICO7.js";
|
|
14
|
+
import "./chunk-NVENXGF7.js";
|
|
15
|
+
import "./chunk-EQBLVRTX.js";
|
|
16
|
+
import "./chunk-YIQDKWRI.js";
|
|
17
|
+
import "./chunk-XKYHFZEC.js";
|
|
18
|
+
import "./chunk-VG2Z446J.js";
|
|
19
|
+
import "./chunk-HMZHP623.js";
|
|
20
|
+
import "./chunk-W2ZTYIRJ.js";
|
|
21
|
+
import "./chunk-I5XULU7R.js";
|
|
22
|
+
import "./chunk-UNNVICVU.js";
|
|
23
|
+
import "./chunk-FINT4Z7B.js";
|
|
24
|
+
import "./chunk-2ONDOJ32.js";
|
|
25
|
+
import "./chunk-A3BVXXA3.js";
|
|
26
|
+
import "./chunk-DEZYDCUH.js";
|
|
27
|
+
import "./chunk-3DFBSQIT.js";
|
|
28
|
+
import "./chunk-B6IMQJZM.js";
|
|
29
|
+
import "./chunk-OUXHGDLH.js";
|
|
30
|
+
import "./chunk-S2TCT35Y.js";
|
|
31
|
+
import "./chunk-QWIBSCDN.js";
|
|
32
|
+
import "./chunk-6JEIJLDL.js";
|
|
33
|
+
import "./chunk-SWH2U4BW.js";
|
|
34
|
+
import "./chunk-ZKDULVN5.js";
|
|
35
|
+
import "./chunk-UZ34JEUK.js";
|
|
36
|
+
import "./chunk-W57S56SZ.js";
|
|
37
|
+
import "./chunk-BJSWTHRM.js";
|
|
38
|
+
import "./chunk-VWI4TG6L.js";
|
|
39
|
+
import "./chunk-FPJL5RXB.js";
|
|
40
|
+
import "./chunk-KFEHHKZ2.js";
|
|
41
|
+
import "./chunk-LMXJDGUG.js";
|
|
42
|
+
import "./chunk-LW26RTGS.js";
|
|
43
|
+
import "./chunk-2VA64CKU.js";
|
|
44
|
+
import "./chunk-RQVLBMP7.js";
|
|
45
|
+
import "./chunk-7ALGFH5X.js";
|
|
46
|
+
import "./chunk-SY5A3V3Q.js";
|
|
47
|
+
import "./chunk-3NASYKEW.js";
|
|
48
|
+
import "./chunk-I3J4JYES.js";
|
|
49
|
+
export {
|
|
50
|
+
REPL
|
|
51
|
+
};
|
|
@@ -12,71 +12,71 @@ import {
|
|
|
12
12
|
grantReadPermissionForOriginalDir,
|
|
13
13
|
hasPermissionsToUseTool,
|
|
14
14
|
query
|
|
15
|
-
} from "./chunk-
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
15
|
+
} from "./chunk-Y2Z256D7.js";
|
|
16
|
+
import "./chunk-N4EHD2WQ.js";
|
|
17
|
+
import "./chunk-TNCM6TNK.js";
|
|
18
|
+
import "./chunk-5G4RB7MC.js";
|
|
19
19
|
import "./chunk-5P7HBXTD.js";
|
|
20
|
-
import "./chunk-
|
|
20
|
+
import "./chunk-UJHTJTTS.js";
|
|
21
21
|
import {
|
|
22
22
|
ConversationTracker
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-S3O3RCWN.js";
|
|
24
24
|
import {
|
|
25
25
|
FileSystemConversationPersistence
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-3I5AJWST.js";
|
|
27
27
|
import "./chunk-F4AXICO7.js";
|
|
28
|
-
import "./chunk-
|
|
29
|
-
import "./chunk-
|
|
30
|
-
import "./chunk-
|
|
28
|
+
import "./chunk-NVENXGF7.js";
|
|
29
|
+
import "./chunk-EQBLVRTX.js";
|
|
30
|
+
import "./chunk-YIQDKWRI.js";
|
|
31
31
|
import {
|
|
32
32
|
ensureSessionState,
|
|
33
33
|
getCurrentSessionId,
|
|
34
34
|
setCurrentSessionId
|
|
35
35
|
} from "./chunk-XKYHFZEC.js";
|
|
36
|
-
import "./chunk-
|
|
36
|
+
import "./chunk-VG2Z446J.js";
|
|
37
37
|
import {
|
|
38
38
|
getClients
|
|
39
|
-
} from "./chunk-
|
|
40
|
-
import "./chunk-
|
|
39
|
+
} from "./chunk-HMZHP623.js";
|
|
40
|
+
import "./chunk-W2ZTYIRJ.js";
|
|
41
41
|
import {
|
|
42
42
|
loadToolPermissionContextFromDisk,
|
|
43
43
|
persistToolPermissionUpdateToDisk
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-I5XULU7R.js";
|
|
45
45
|
import {
|
|
46
46
|
applyToolPermissionContextUpdates
|
|
47
47
|
} from "./chunk-UNNVICVU.js";
|
|
48
|
-
import "./chunk-
|
|
49
|
-
import "./chunk-
|
|
48
|
+
import "./chunk-FINT4Z7B.js";
|
|
49
|
+
import "./chunk-2ONDOJ32.js";
|
|
50
50
|
import "./chunk-A3BVXXA3.js";
|
|
51
51
|
import {
|
|
52
52
|
createAssistantMessage,
|
|
53
53
|
createUserTurnMessageFromBlocks
|
|
54
|
-
} from "./chunk-
|
|
54
|
+
} from "./chunk-DEZYDCUH.js";
|
|
55
55
|
import "./chunk-3DFBSQIT.js";
|
|
56
56
|
import "./chunk-B6IMQJZM.js";
|
|
57
57
|
import "./chunk-OUXHGDLH.js";
|
|
58
|
-
import "./chunk-
|
|
58
|
+
import "./chunk-S2TCT35Y.js";
|
|
59
59
|
import "./chunk-QWIBSCDN.js";
|
|
60
|
-
import "./chunk-
|
|
61
|
-
import "./chunk-
|
|
62
|
-
import "./chunk-
|
|
60
|
+
import "./chunk-6JEIJLDL.js";
|
|
61
|
+
import "./chunk-SWH2U4BW.js";
|
|
62
|
+
import "./chunk-ZKDULVN5.js";
|
|
63
63
|
import "./chunk-UZ34JEUK.js";
|
|
64
|
-
import "./chunk-
|
|
64
|
+
import "./chunk-W57S56SZ.js";
|
|
65
65
|
import "./chunk-BJSWTHRM.js";
|
|
66
|
-
import "./chunk-
|
|
66
|
+
import "./chunk-VWI4TG6L.js";
|
|
67
67
|
import {
|
|
68
68
|
getContext
|
|
69
|
-
} from "./chunk-
|
|
69
|
+
} from "./chunk-FPJL5RXB.js";
|
|
70
70
|
import "./chunk-KFEHHKZ2.js";
|
|
71
|
-
import "./chunk-
|
|
72
|
-
import "./chunk-
|
|
71
|
+
import "./chunk-LMXJDGUG.js";
|
|
72
|
+
import "./chunk-LW26RTGS.js";
|
|
73
73
|
import {
|
|
74
74
|
enableConfigs
|
|
75
|
-
} from "./chunk-
|
|
75
|
+
} from "./chunk-2VA64CKU.js";
|
|
76
76
|
import "./chunk-RQVLBMP7.js";
|
|
77
77
|
import {
|
|
78
78
|
initDebugLogger
|
|
79
|
-
} from "./chunk-
|
|
79
|
+
} from "./chunk-7ALGFH5X.js";
|
|
80
80
|
import {
|
|
81
81
|
PRODUCT_COMMAND,
|
|
82
82
|
initSentry,
|
|
@@ -84,10 +84,10 @@ import {
|
|
|
84
84
|
resolveXdgDataPath,
|
|
85
85
|
setCwd,
|
|
86
86
|
setOriginalCwd
|
|
87
|
-
} from "./chunk-
|
|
87
|
+
} from "./chunk-SY5A3V3Q.js";
|
|
88
88
|
import {
|
|
89
89
|
MACRO
|
|
90
|
-
} from "./chunk-
|
|
90
|
+
} from "./chunk-3NASYKEW.js";
|
|
91
91
|
import "./chunk-I3J4JYES.js";
|
|
92
92
|
|
|
93
93
|
// 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-VWI4TG6L.js";
|
|
6
|
+
import "./chunk-2VA64CKU.js";
|
|
7
7
|
import "./chunk-RQVLBMP7.js";
|
|
8
|
-
import "./chunk-
|
|
8
|
+
import "./chunk-7ALGFH5X.js";
|
|
9
9
|
import {
|
|
10
10
|
getXdgConfigDir
|
|
11
|
-
} from "./chunk-
|
|
12
|
-
import "./chunk-
|
|
11
|
+
} from "./chunk-SY5A3V3Q.js";
|
|
12
|
+
import "./chunk-3NASYKEW.js";
|
|
13
13
|
import "./chunk-I3J4JYES.js";
|
|
14
14
|
|
|
15
15
|
// 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-U345EBHA.js");
|
|
348
|
+
const { getCurrentProjectConfig } = await import("./config-UOF22R5A.js");
|
|
349
349
|
const allTools = await getTools(getCurrentProjectConfig().enableArchitectTool);
|
|
350
350
|
knownToolNames = new Set(allTools.map((t) => t.name));
|
|
351
351
|
} catch {
|
|
@@ -4,68 +4,68 @@ import {
|
|
|
4
4
|
createConversationTrackerPersistenceTelemetryEmitter,
|
|
5
5
|
getSystemPrompt,
|
|
6
6
|
query
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
7
|
+
} from "./chunk-Y2Z256D7.js";
|
|
8
|
+
import "./chunk-N4EHD2WQ.js";
|
|
9
|
+
import "./chunk-TNCM6TNK.js";
|
|
10
|
+
import "./chunk-5G4RB7MC.js";
|
|
11
11
|
import "./chunk-5P7HBXTD.js";
|
|
12
|
-
import "./chunk-
|
|
12
|
+
import "./chunk-UJHTJTTS.js";
|
|
13
13
|
import {
|
|
14
14
|
ConversationTracker
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-S3O3RCWN.js";
|
|
16
16
|
import {
|
|
17
17
|
FileSystemConversationPersistence
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-3I5AJWST.js";
|
|
19
19
|
import {
|
|
20
20
|
beginReplSessionScope
|
|
21
21
|
} from "./chunk-F4AXICO7.js";
|
|
22
|
-
import "./chunk-
|
|
23
|
-
import "./chunk-
|
|
24
|
-
import "./chunk-
|
|
22
|
+
import "./chunk-NVENXGF7.js";
|
|
23
|
+
import "./chunk-EQBLVRTX.js";
|
|
24
|
+
import "./chunk-YIQDKWRI.js";
|
|
25
25
|
import "./chunk-XKYHFZEC.js";
|
|
26
|
-
import "./chunk-
|
|
27
|
-
import "./chunk-
|
|
28
|
-
import "./chunk-
|
|
29
|
-
import "./chunk-
|
|
26
|
+
import "./chunk-VG2Z446J.js";
|
|
27
|
+
import "./chunk-HMZHP623.js";
|
|
28
|
+
import "./chunk-W2ZTYIRJ.js";
|
|
29
|
+
import "./chunk-I5XULU7R.js";
|
|
30
30
|
import "./chunk-UNNVICVU.js";
|
|
31
|
-
import "./chunk-
|
|
32
|
-
import "./chunk-
|
|
31
|
+
import "./chunk-FINT4Z7B.js";
|
|
32
|
+
import "./chunk-2ONDOJ32.js";
|
|
33
33
|
import "./chunk-A3BVXXA3.js";
|
|
34
34
|
import {
|
|
35
35
|
createUserTurnMessageFromBlocks
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-DEZYDCUH.js";
|
|
37
37
|
import "./chunk-3DFBSQIT.js";
|
|
38
38
|
import "./chunk-B6IMQJZM.js";
|
|
39
39
|
import {
|
|
40
40
|
getTotalCost
|
|
41
41
|
} from "./chunk-OUXHGDLH.js";
|
|
42
|
-
import "./chunk-
|
|
42
|
+
import "./chunk-S2TCT35Y.js";
|
|
43
43
|
import "./chunk-QWIBSCDN.js";
|
|
44
|
-
import "./chunk-
|
|
45
|
-
import "./chunk-
|
|
46
|
-
import "./chunk-
|
|
44
|
+
import "./chunk-6JEIJLDL.js";
|
|
45
|
+
import "./chunk-SWH2U4BW.js";
|
|
46
|
+
import "./chunk-ZKDULVN5.js";
|
|
47
47
|
import "./chunk-UZ34JEUK.js";
|
|
48
|
-
import "./chunk-
|
|
48
|
+
import "./chunk-W57S56SZ.js";
|
|
49
49
|
import "./chunk-BJSWTHRM.js";
|
|
50
50
|
import {
|
|
51
51
|
getModelManager
|
|
52
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-VWI4TG6L.js";
|
|
53
53
|
import {
|
|
54
54
|
getContext
|
|
55
|
-
} from "./chunk-
|
|
55
|
+
} from "./chunk-FPJL5RXB.js";
|
|
56
56
|
import "./chunk-KFEHHKZ2.js";
|
|
57
|
-
import "./chunk-
|
|
58
|
-
import "./chunk-
|
|
59
|
-
import "./chunk-
|
|
57
|
+
import "./chunk-LMXJDGUG.js";
|
|
58
|
+
import "./chunk-LW26RTGS.js";
|
|
59
|
+
import "./chunk-2VA64CKU.js";
|
|
60
60
|
import "./chunk-RQVLBMP7.js";
|
|
61
|
-
import "./chunk-
|
|
61
|
+
import "./chunk-7ALGFH5X.js";
|
|
62
62
|
import {
|
|
63
63
|
getMessagesPath,
|
|
64
64
|
overwriteLog,
|
|
65
65
|
resolveXdgDataPath,
|
|
66
66
|
setCwd
|
|
67
|
-
} from "./chunk-
|
|
68
|
-
import "./chunk-
|
|
67
|
+
} from "./chunk-SY5A3V3Q.js";
|
|
68
|
+
import "./chunk-3NASYKEW.js";
|
|
69
69
|
import "./chunk-I3J4JYES.js";
|
|
70
70
|
|
|
71
71
|
// 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-XGYRZA24.js";
|
|
9
|
+
import "./chunk-SY5A3V3Q.js";
|
|
10
|
+
import "./chunk-3NASYKEW.js";
|
|
11
11
|
import "./chunk-I3J4JYES.js";
|
|
12
12
|
export {
|
|
13
13
|
assertMinVersion,
|
|
@@ -8,12 +8,12 @@ import {
|
|
|
8
8
|
} from "./chunk-BJSWTHRM.js";
|
|
9
9
|
import {
|
|
10
10
|
debug
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-7ALGFH5X.js";
|
|
12
12
|
import {
|
|
13
13
|
getCwd,
|
|
14
14
|
getXdgConfigDir,
|
|
15
15
|
logError
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-SY5A3V3Q.js";
|
|
17
17
|
|
|
18
18
|
// src/utils/agent/loader.ts
|
|
19
19
|
import {
|
|
@@ -5,13 +5,13 @@ import {
|
|
|
5
5
|
} from "./chunk-RQVLBMP7.js";
|
|
6
6
|
import {
|
|
7
7
|
debug
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-7ALGFH5X.js";
|
|
9
9
|
import {
|
|
10
10
|
getCwd,
|
|
11
11
|
getGlobalConfigFilePath,
|
|
12
12
|
getLegacyGlobalConfigFilePath,
|
|
13
13
|
logError
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-SY5A3V3Q.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-EWO655R3.js").then(({ reloadModelManager }) => {
|
|
692
692
|
reloadModelManager();
|
|
693
693
|
});
|
|
694
694
|
}
|
|
@@ -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-SY5A3V3Q.js";
|
|
6
6
|
|
|
7
7
|
// src/utils/session/conversationPersistence.ts
|
|
8
8
|
import {
|
|
@@ -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.5.40\",\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 \"scripts/typed-sql-release-gate.mjs\",\n \"scripts/typed-sql-schema-guard.mjs\",\n \"scripts/typed-sql-install-smoke.mjs\",\n \"scripts/typed-sql-no-fallback-gate.mjs\",\n \"scripts/typed-part-baseline-benchmark.mjs\",\n \"scripts/typed-part-performance-gate.mjs\",\n \"scripts/session-contract-gate.mjs\",\n \"scripts/session-behavior-invariant-gate.mjs\",\n \"scripts/session-project-gate.mjs\",\n \"scripts/protected-tool-names-gate.mjs\",\n \".npmrc\",\n \"resources/**/*\"\n ],\n \"scripts\": {\n \"dev\": \"bun run ./src/entrypoints/cli.tsx --verbose\",\n \"dev:server\": \"bun run ./src/entrypoints/cli.tsx serve --port 4096\",\n \"build:npm\": \"bun scripts/build.mjs\",\n \"build\": \"npm run build:npm\",\n \"build:sdk\": \"npm --prefix ./packages/sdk run build\",\n \"generate:sdk\": \"node scripts/sdk-generate.mjs\",\n \"check:sdk-generated\": \"node scripts/sdk-check-generated.mjs\",\n \"check:compat-window\": \"node scripts/sdk-compat-window-gate.mjs\",\n \"generate:legacy-mapping\": \"node scripts/sdk-legacy-mapping-report.mjs\",\n \"check:legacy-usage\": \"node scripts/sdk-legacy-usage-gate.mjs\",\n \"report:legacy-usage-trend\": \"node scripts/sdk-legacy-usage-trend-report.mjs\",\n \"check:legacy-window\": \"node scripts/sdk-legacy-window-gate.mjs\",\n \"check:docs-consistency\": \"node scripts/sdk-docs-consistency-gate.mjs\",\n \"check:major-cutover\": \"node scripts/sdk-major-cutover-gate.mjs\",\n \"check:facade-closeout\": \"node scripts/sdk-facade-closeout-gate.mjs\",\n \"check:sdk-consistency\": \"node scripts/sdk-consistency-gate.mjs\",\n \"check:sdk-contract-consistency\": \"node scripts/sdk-contract-consistency-gate.mjs\",\n \"check:sdk-legacy-semantics\": \"node scripts/sdk-legacy-semantics-gate.mjs\",\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 \"test:server\": \"bun test tests/unit/sdk-batch-a-closure.test.ts tests/unit/sdk-batch-b-queryrunner.test.ts tests/unit/sdk-batch-c-sse.test.ts tests/unit/sdk-batch-d-openapi.test.ts tests/unit/sdk-batch-e-capability.test.ts tests/unit/sdk-batch-f-release.test.ts tests/unit/sdk-batch-g-generation.test.ts tests/unit/sdk-batch-h-facade.test.ts tests/unit/sdk-batch-i-lifecycle.test.ts tests/unit/sdk-batch-j-sse-first-class.test.ts tests/unit/sdk-batch-k-release-gate.test.ts tests/unit/sdk-batch-l-mapping-baseline.test.ts tests/unit/sdk-batch-m-docs-deprecate.test.ts tests/unit/sdk-batch-n-window-block.test.ts tests/unit/sdk-batch-o-major-cutover.test.ts tests/unit/sdk-batch-p-governance-closeout.test.ts tests/unit/sdk-batch-q1-runtime-guard.test.ts tests/unit/sdk-batch-q2-contract-capability.test.ts tests/unit/sdk-batch-q3-legacy-semantics.test.ts\",\n \"gate:runtime-assets\": \"bun run scripts/runtime-assets-gate-check.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 \"gate:typed-compat-retirement\": \"node scripts/typed-compat-retirement-gate.mjs\",\n \"gate:query-adapter-boundary\": \"node scripts/query-adapter-boundary-gate.mjs\",\n \"gate:session-contract\": \"node scripts/session-contract-gate.mjs\",\n \"gate:session-behavior-invariant\": \"node scripts/session-behavior-invariant-gate.mjs\",\n \"gate:session-project\": \"node scripts/session-project-gate.mjs\",\n \"gate:protected-tool-names\": \"node scripts/protected-tool-names-gate.mjs\",\n \"plan:typed-compat-retirement\": \"node scripts/typed-compat-retirement-plan.mjs\",\n \"enforce:typed-compat-retirement\": \"node scripts/typed-compat-retirement-enforce.mjs\",\n \"gate:typed-sql-release\": \"node scripts/typed-sql-release-gate.mjs\",\n \"gate:typed-sql-schema\": \"node scripts/typed-sql-schema-guard.mjs\",\n \"smoke:typed-sql-install\": \"node scripts/typed-sql-install-smoke.mjs\",\n \"gate:typed-sql-no-fallback\": \"node scripts/typed-sql-no-fallback-gate.mjs\",\n \"benchmark:typed-part-baseline\": \"bun scripts/typed-part-baseline-benchmark.mjs\",\n \"gate:typed-part-performance\": \"node scripts/typed-part-performance-gate.mjs\",\n \"typecheck\": \"tsc --noEmit\",\n \"release:gate\": \"npm run generate:sdk && npm run check:sdk-generated && npm run generate:legacy-mapping && npm run check:legacy-usage && npm run report:legacy-usage-trend && npm run check:legacy-window && npm run check:docs-consistency && npm run check:major-cutover && npm run check:facade-closeout && npm run check:sdk-consistency && npm run check:sdk-contract-consistency && npm run check:sdk-legacy-semantics && npm run check:compat-window && npm run build:sdk && npm run test:server && npm run lint && npm run typecheck\",\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 },\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"],
|
|
4
|
+
"sourcesContent": ["{\n \"name\": \"pybao-cli\",\n \"version\": \"1.5.42\",\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 \"scripts/typed-sql-release-gate.mjs\",\n \"scripts/typed-sql-schema-guard.mjs\",\n \"scripts/typed-sql-install-smoke.mjs\",\n \"scripts/typed-sql-no-fallback-gate.mjs\",\n \"scripts/typed-part-baseline-benchmark.mjs\",\n \"scripts/typed-part-performance-gate.mjs\",\n \"scripts/session-contract-gate.mjs\",\n \"scripts/session-behavior-invariant-gate.mjs\",\n \"scripts/session-project-gate.mjs\",\n \"scripts/protected-tool-names-gate.mjs\",\n \".npmrc\",\n \"resources/**/*\"\n ],\n \"scripts\": {\n \"dev\": \"bun run ./src/entrypoints/cli.tsx --verbose\",\n \"dev:server\": \"bun run ./src/entrypoints/cli.tsx serve --port 4096\",\n \"build:npm\": \"bun scripts/build.mjs\",\n \"build\": \"npm run build:npm\",\n \"build:sdk\": \"npm --prefix ./packages/sdk run build\",\n \"generate:sdk\": \"node scripts/sdk-generate.mjs\",\n \"check:sdk-generated\": \"node scripts/sdk-check-generated.mjs\",\n \"check:compat-window\": \"node scripts/sdk-compat-window-gate.mjs\",\n \"generate:legacy-mapping\": \"node scripts/sdk-legacy-mapping-report.mjs\",\n \"check:legacy-usage\": \"node scripts/sdk-legacy-usage-gate.mjs\",\n \"report:legacy-usage-trend\": \"node scripts/sdk-legacy-usage-trend-report.mjs\",\n \"check:legacy-window\": \"node scripts/sdk-legacy-window-gate.mjs\",\n \"check:docs-consistency\": \"node scripts/sdk-docs-consistency-gate.mjs\",\n \"check:major-cutover\": \"node scripts/sdk-major-cutover-gate.mjs\",\n \"check:facade-closeout\": \"node scripts/sdk-facade-closeout-gate.mjs\",\n \"check:sdk-consistency\": \"node scripts/sdk-consistency-gate.mjs\",\n \"check:sdk-contract-consistency\": \"node scripts/sdk-contract-consistency-gate.mjs\",\n \"check:sdk-legacy-semantics\": \"node scripts/sdk-legacy-semantics-gate.mjs\",\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 \"test:server\": \"bun test tests/unit/sdk-batch-a-closure.test.ts tests/unit/sdk-batch-b-queryrunner.test.ts tests/unit/sdk-batch-c-sse.test.ts tests/unit/sdk-batch-d-openapi.test.ts tests/unit/sdk-batch-e-capability.test.ts tests/unit/sdk-batch-f-release.test.ts tests/unit/sdk-batch-g-generation.test.ts tests/unit/sdk-batch-h-facade.test.ts tests/unit/sdk-batch-i-lifecycle.test.ts tests/unit/sdk-batch-j-sse-first-class.test.ts tests/unit/sdk-batch-k-release-gate.test.ts tests/unit/sdk-batch-l-mapping-baseline.test.ts tests/unit/sdk-batch-m-docs-deprecate.test.ts tests/unit/sdk-batch-n-window-block.test.ts tests/unit/sdk-batch-o-major-cutover.test.ts tests/unit/sdk-batch-p-governance-closeout.test.ts tests/unit/sdk-batch-q1-runtime-guard.test.ts tests/unit/sdk-batch-q2-contract-capability.test.ts tests/unit/sdk-batch-q3-legacy-semantics.test.ts\",\n \"gate:runtime-assets\": \"bun run scripts/runtime-assets-gate-check.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 \"gate:typed-compat-retirement\": \"node scripts/typed-compat-retirement-gate.mjs\",\n \"gate:query-adapter-boundary\": \"node scripts/query-adapter-boundary-gate.mjs\",\n \"gate:session-contract\": \"node scripts/session-contract-gate.mjs\",\n \"gate:session-behavior-invariant\": \"node scripts/session-behavior-invariant-gate.mjs\",\n \"gate:session-project\": \"node scripts/session-project-gate.mjs\",\n \"gate:protected-tool-names\": \"node scripts/protected-tool-names-gate.mjs\",\n \"plan:typed-compat-retirement\": \"node scripts/typed-compat-retirement-plan.mjs\",\n \"enforce:typed-compat-retirement\": \"node scripts/typed-compat-retirement-enforce.mjs\",\n \"gate:typed-sql-release\": \"node scripts/typed-sql-release-gate.mjs\",\n \"gate:typed-sql-schema\": \"node scripts/typed-sql-schema-guard.mjs\",\n \"smoke:typed-sql-install\": \"node scripts/typed-sql-install-smoke.mjs\",\n \"gate:typed-sql-no-fallback\": \"node scripts/typed-sql-no-fallback-gate.mjs\",\n \"benchmark:typed-part-baseline\": \"bun scripts/typed-part-baseline-benchmark.mjs\",\n \"gate:typed-part-performance\": \"node scripts/typed-part-performance-gate.mjs\",\n \"typecheck\": \"tsc --noEmit\",\n \"release:gate\": \"npm run generate:sdk && npm run check:sdk-generated && npm run generate:legacy-mapping && npm run check:legacy-usage && npm run report:legacy-usage-trend && npm run check:legacy-window && npm run check:docs-consistency && npm run check:major-cutover && npm run check:facade-closeout && npm run check:sdk-consistency && npm run check:sdk-contract-consistency && npm run check:sdk-legacy-semantics && npm run check:compat-window && npm run build:sdk && npm run test:server && npm run lint && npm run typecheck\",\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 },\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
|
}
|
|
@@ -4,17 +4,17 @@ import {
|
|
|
4
4
|
LspServerRegistry,
|
|
5
5
|
findNearestRoot,
|
|
6
6
|
getInstallNotices
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-SWH2U4BW.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-7ALGFH5X.js";
|
|
14
14
|
import {
|
|
15
15
|
getCwd,
|
|
16
16
|
getSessionRoot
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-SY5A3V3Q.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-MBEH554P.js");
|
|
569
569
|
const pythonPath = detectPythonVenv(resolvedRoot);
|
|
570
570
|
if (pythonPath) {
|
|
571
571
|
initOpts = { ...initOpts ?? {}, pythonPath };
|
|
@@ -282,6 +282,22 @@ function computeAutoCompactMetrics(events) {
|
|
|
282
282
|
(event) => Number.isFinite(Number(event.data?.cached_block_count)) && Number.isFinite(Number(event.data?.response_chain_depth))
|
|
283
283
|
);
|
|
284
284
|
const cache_chain_trace_rate = cacheChainEvents.length > 0 ? safeDivide(cacheChainTraceSamples.length, cacheChainEvents.length) : void 0;
|
|
285
|
+
const continuationDecisionEvents = events.filter(
|
|
286
|
+
(event) => event.phase === "AUTO_COMPACT_CONTINUATION_DECISION"
|
|
287
|
+
);
|
|
288
|
+
const continuationInjectedCount = continuationDecisionEvents.filter(
|
|
289
|
+
(event) => event.data?.injected === true
|
|
290
|
+
).length;
|
|
291
|
+
const continuationReplayHitCount = continuationDecisionEvents.filter(
|
|
292
|
+
(event) => event.data?.mode === "replay"
|
|
293
|
+
).length;
|
|
294
|
+
const continuationDedupSkipCount = continuationDecisionEvents.filter(
|
|
295
|
+
(event) => event.data?.replaySkippedReason === "dedup_marker"
|
|
296
|
+
).length;
|
|
297
|
+
const continuation_injected_rate = continuationDecisionEvents.length > 0 ? safeDivide(continuationInjectedCount, continuationDecisionEvents.length) : void 0;
|
|
298
|
+
const replay_hit_rate = continuationInjectedCount > 0 ? safeDivide(continuationReplayHitCount, continuationInjectedCount) : void 0;
|
|
299
|
+
const replay_dedup_skip_rate = continuationDecisionEvents.length > 0 ? safeDivide(continuationDedupSkipCount, continuationDecisionEvents.length) : void 0;
|
|
300
|
+
const post_compaction_first_turn_drift_rate = first_turn_drift_rate;
|
|
285
301
|
const stringInputPathNumerator = userContentAdaptedEvents.reduce((sum, event) => {
|
|
286
302
|
const eventTotal = Number(event.data?.totalUserContentCount ?? 0);
|
|
287
303
|
const eventString = Number(event.data?.userStringContentCount ?? 0);
|
|
@@ -331,7 +347,11 @@ function computeAutoCompactMetrics(events) {
|
|
|
331
347
|
dangling_tool_closure_rate,
|
|
332
348
|
w11_sample_pass_rate,
|
|
333
349
|
w14_sample_pass_rate,
|
|
334
|
-
cache_chain_trace_rate
|
|
350
|
+
cache_chain_trace_rate,
|
|
351
|
+
continuation_injected_rate,
|
|
352
|
+
replay_hit_rate,
|
|
353
|
+
replay_dedup_skip_rate,
|
|
354
|
+
post_compaction_first_turn_drift_rate
|
|
335
355
|
};
|
|
336
356
|
}
|
|
337
357
|
|
|
@@ -378,7 +398,8 @@ var AUTO_COMPACT_TELEMETRY_PHASES = /* @__PURE__ */ new Set([
|
|
|
378
398
|
"AUTO_COMPACT_TASK_NODE_CREATED",
|
|
379
399
|
"AUTO_COMPACT_TASK_NODE_TRANSITION",
|
|
380
400
|
"AUTO_COMPACT_TASK_NODE_FAILED",
|
|
381
|
-
"AUTO_COMPACT_OVERFLOW_JOINT_DECISION_DRAFT"
|
|
401
|
+
"AUTO_COMPACT_OVERFLOW_JOINT_DECISION_DRAFT",
|
|
402
|
+
"AUTO_COMPACT_CONTINUATION_DECISION"
|
|
382
403
|
]);
|
|
383
404
|
var AUTO_COMPACT_SINK_LISTENER_ID = "auto-compact-metrics-sink";
|
|
384
405
|
var autoCompactSink = createAutoCompactMetricsSink();
|
|
@@ -952,7 +973,7 @@ function getLastAssistantMessageId(messages) {
|
|
|
952
973
|
|
|
953
974
|
// src/utils/messages/index.ts
|
|
954
975
|
async function processUserInput(input, mode, setToolJSX, context, pastedImages) {
|
|
955
|
-
const impl = await import("./userInput-
|
|
976
|
+
const impl = await import("./userInput-6ASB72OS.js");
|
|
956
977
|
return impl.processUserInput(input, mode, setToolJSX, context, pastedImages);
|
|
957
978
|
}
|
|
958
979
|
|