nolo-cli 0.29.2 → 0.30.0-alpha.2
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/{_executeModel-BFVTGZXE.js → _executeModel-VBHHG7LT.js} +62 -68
- package/{action-LG32A6DJ.js → action-FENWPT3C.js} +14 -15
- package/{addContentAction-MPGMBJTQ.js → addContentAction-Z5S5ZQ7I.js} +12 -12
- package/{addDialogAgentAction-ZH23WDID.js → addDialogAgentAction-VUNVD2XR.js} +11 -11
- package/{agentDeleteCommand-4S4STG42.js → agentDeleteCommand-LLGZXUYJ.js} +60 -39
- package/{agentEmailCommands-3F4IP4DI.js → agentEmailCommands-LC2FPN6G.js} +76 -81
- package/{agentGrantCommands-JNDE4RWR.js → agentGrantCommands-E7ZZFRHK.js} +2 -1
- package/{agentListCommands-JCRV2XF6.js → agentListCommands-A6OBQ3QX.js} +57 -40
- package/{agentMachineCommands-KYXPYSFP.js → agentMachineCommands-4O4Q5B5X.js} +53 -35
- package/{agentPullCommand-ZZGU5KOY.js → agentPullCommand-4V36XNGV.js} +4 -3
- package/{agentRecordCommands-UADUPIXO.js → agentRecordCommands-W22RIQRV.js} +73 -78
- package/{agentRunCommand-MJWSR53W.js → agentRunCommand-V4OBU4FB.js} +77 -82
- package/{agentRunControl-SNUKXN6J.js → agentRunControl-AKBN2366.js} +13 -1
- package/{agentRuntimeLocal-PC5RRRPT.js → agentRuntimeLocal-I57YSGH4.js} +48 -30
- package/{agentSlice-C5OYLNBT.js → agentSlice-3ZHY7RAO.js} +12 -13
- package/{appDeleteCommands-ZXODZ5AD.js → appDeleteCommands-DJJF466K.js} +53 -35
- package/{appDeployCommands-AWC6JPZH.js → appDeployCommands-WJZGIOEZ.js} +53 -35
- package/{appDeployStatusCommands-74NXMDAI.js → appDeployStatusCommands-ICYXUJNO.js} +53 -35
- package/{appGetCommands-6YGIAP5L.js → appGetCommands-UOCWYJPV.js} +53 -35
- package/{appListCommands-DZWBHMNK.js → appListCommands-EOKWTXPW.js} +53 -35
- package/{authCommand-XMQHBK5L.js → authCommand-H5KE7K7K.js} +16 -16
- package/{authCommands-JSOG2H4E.js → authCommands-CXJ6PI2O.js} +7 -7
- package/{chunk-OEWEE4VW.js → chunk-2XM5KUNE.js} +4 -2
- package/{chunk-7H3UTGPM.js → chunk-3AUWC6EM.js} +82 -3
- package/{chunk-HEXXIS77.js → chunk-3RIWR23B.js} +1 -1
- package/{chunk-R7LOFGRE.js → chunk-446VANPP.js} +18 -14
- package/{chunk-RZNYL4LW.js → chunk-4SAV7BD7.js} +65 -1
- package/{chunk-QC6ZWDSV.js → chunk-56IUA7RU.js} +3 -3
- package/{chunk-R3JSTDQO.js → chunk-66O5MZYH.js} +1 -1
- package/{chunk-PSK2RUHV.js → chunk-7CD24PU4.js} +360 -2
- package/{chunk-G2BZ43DV.js → chunk-A4JDTA5T.js} +13 -13
- package/{chunk-DZ3XJVET.js → chunk-AOS5IN2I.js} +1 -1
- package/{chunk-SKDNBYZK.js → chunk-BOL2D2JW.js} +1 -1
- package/{chunk-YTA2QOEE.js → chunk-CAENRKNJ.js} +15 -0
- package/{chunk-2TYLTEAH.js → chunk-CV6I4HBA.js} +1 -1
- package/chunk-DCDL3GC4.js +171 -0
- package/{chunk-FVOSIYXM.js → chunk-DCWBP2O7.js} +42 -393
- package/{chunk-OLWMGSW2.js → chunk-DI6MXJK5.js} +37 -37
- package/{chunk-HRPWRVBI.js → chunk-DKRT67FG.js} +11 -11
- package/{chunk-L6RBX4L4.js → chunk-DWQNDGO7.js} +20 -8
- package/{chunk-VKBTAQWT.js → chunk-FS5TTXPS.js} +6 -6
- package/chunk-G5JHHUAK.js +73 -0
- package/{chunk-TOGGHWHI.js → chunk-G6VITLCZ.js} +3 -3
- package/{chunk-RJBTU7AS.js → chunk-GAGUBI42.js} +302 -14
- package/{chunk-NXMJ55RU.js → chunk-GVKTKT3O.js} +3 -3
- package/{chunk-5ZXNLOAG.js → chunk-HI7QZNWX.js} +17 -10
- package/{chunk-DF7SMWEV.js → chunk-HLG6GAUD.js} +1 -1
- package/{chunk-MQRZ5QUH.js → chunk-IXZX5CJK.js} +1 -1
- package/{chunk-IC7W63RM.js → chunk-IZ3CBMD5.js} +3 -3
- package/{chunk-VHBWHNVT.js → chunk-K6QEHQZ3.js} +8 -4
- package/chunk-KW47OSRJ.js +3246 -0
- package/{chunk-Q5RXHXKU.js → chunk-KWKD3BCC.js} +189 -122
- package/{chunk-L65QKSVJ.js → chunk-L3GCUVOH.js} +1 -1
- package/{chunk-4BDPDTJU.js → chunk-L3VQOVKK.js} +8 -8
- package/{chunk-HALKDXKP.js → chunk-MEUZFIAJ.js} +8 -4
- package/{chunk-H5S4XUGI.js → chunk-MMCVBEAD.js} +174 -149
- package/{chunk-XOIF2TNF.js → chunk-OB6FBSH3.js} +13 -0
- package/chunk-OYK7PA5U.js +1707 -0
- package/{chunk-6HTWA77J.js → chunk-Q24P6TUS.js} +1 -1
- package/{chunk-GMJS5AYP.js → chunk-QLV2GKU5.js} +16 -178
- package/{chunk-WMB7GVPN.js → chunk-SWOTB2TX.js} +134 -1166
- package/{chunk-GC34RRTQ.js → chunk-SWYMCHM7.js} +1 -69
- package/{chunk-BBGRJB5E.js → chunk-SZ5CBYMZ.js} +4 -4
- package/chunk-T27IEBNQ.js +149 -0
- package/{chunk-WX3ZOSTL.js → chunk-T3Y5EMJS.js} +24 -26
- package/{chunk-UFL6WHHJ.js → chunk-THTAR67C.js} +1056 -137
- package/{chunk-2FX23RGA.js → chunk-TJYWZ3LO.js} +4 -4
- package/{chunk-KEF5OBOZ.js → chunk-UKC5HU2C.js} +33 -27
- package/{chunk-HRJEPMZY.js → chunk-UTQZ73QQ.js} +2 -2
- package/{chunk-GT3GG2H7.js → chunk-VSTUQGLT.js} +1 -1
- package/{chunk-32ZM6HVI.js → chunk-W2YKDXT7.js} +95 -95
- package/{chunk-L3QFIBZG.js → chunk-WTGCTVJG.js} +1 -1
- package/{chunk-XS7UPVR7.js → chunk-XD5NQEOH.js} +5 -5
- package/{chunk-WSQLK2KR.js → chunk-XFGM5PJP.js} +6 -6
- package/{chunk-JSB4N6NU.js → chunk-YLADSPDU.js} +3 -3
- package/{chunk-FRN5QOKN.js → chunk-YWGSCF37.js} +19 -4
- package/{codingSkills-EN6Z6G6U.js → codingSkills-V35TRR4Y.js} +1 -2
- package/{createAgentAutomationAction-BK4UZJKU.js → createAgentAutomationAction-3GMH6ORX.js} +30 -37
- package/{createDialogAction-MJJUI2MK.js → createDialogAction-R5MCL4RE.js} +32 -38
- package/{createPageAction-YMZ7K363.js → createPageAction-QYTG656R.js} +43 -50
- package/{dbSlice-6QJYQUBV.js → dbSlice-OBV7VFCF.js} +11 -11
- package/{deleteFile-WDZ3VM7B.js → deleteFile-AC45HYSM.js} +5 -5
- package/{dialogCommands-OKH45ASS.js → dialogCommands-NUQGIXVZ.js} +53 -37
- package/{dialogSlice-UDOKNDHB.js → dialogSlice-CFDECXEU.js} +27 -34
- package/{docCreateCommands-MCLMR4TE.js → docCreateCommands-UNFCXB5N.js} +52 -36
- package/{docDeleteCommands-ONDHI7JV.js → docDeleteCommands-NG5IVKE5.js} +54 -38
- package/{docReadCommands-FCXBMISW.js → docReadCommands-6J7MUUX6.js} +52 -36
- package/{docStore-N66O4CGH.js → docStore-MZZWJM4F.js} +28 -35
- package/{docUpdateCommands-T3XN6XOX.js → docUpdateCommands-6AW3VZOX.js} +55 -39
- package/{fetchMessages-W4IKHPCS.js → fetchMessages-VPPQDDZ4.js} +3 -3
- package/{getPricing-X6I23RN6.js → getPricing-XQYSSVV6.js} +6 -7
- package/{handleSendMessageAction-KC4AYUZP.js → handleSendMessageAction-IU2QNTLM.js} +30 -37
- package/index.js +72 -72
- package/{localDialogRead-UFLBS6OT.js → localDialogRead-P72W2U2R.js} +1 -1
- package/{machineCommands-DIMRFA3Y.js → machineCommands-Z2QEWTHZ.js} +76 -81
- package/{machineWsRunDispatch-2DYJZI6Z.js → machineWsRunDispatch-SJTYHZHN.js} +71 -76
- package/{models-YT32CTT5.js → models-WDUTTYFS.js} +2 -2
- package/{offlineMarxistsAgentCommand-5OOWZLJI.js → offlineMarxistsAgentCommand-E6LUG63A.js} +6 -2
- package/package.json +1 -1
- package/{read-C7Y6LSBM.js → read-QK7ZRX6G.js} +6 -6
- package/{readDocTool-TOHRYJHP.js → readDocTool-EYDMVRBL.js} +2 -1
- package/{readlineWorkspace-HUPHMLDG.js → readlineWorkspace-BGKPABK4.js} +208 -183
- package/{removeDialogAgentAction-WZXPOH5S.js → removeDialogAgentAction-TBW3UZJW.js} +15 -16
- package/{runAgentClientLoop-5TGSUKHV.js → runAgentClientLoop-N3YDLTMS.js} +61 -66
- package/{setDialogExtraReferencesAction-INZY2ENI.js → setDialogExtraReferencesAction-Q3ANF2NR.js} +12 -12
- package/{setPrimaryDialogAgentAction-WCVLPYCF.js → setPrimaryDialogAgentAction-FQ5R3EFJ.js} +15 -16
- package/{settingSlice-IDUM4LWU.js → settingSlice-JKKV2T7O.js} +13 -14
- package/{skillDiscovery-ITA7BI7A.js → skillDiscovery-I3QRA7NE.js} +2 -2
- package/{spaceCommands-XSSDB3YK.js → spaceCommands-R6AEQNLG.js} +57 -40
- package/{spaceSlice-BXDCO6PT.js → spaceSlice-MCH7RLLP.js} +27 -34
- package/{streamAgentChatTurn-HRFMVSVC.js → streamAgentChatTurn-Q4U2CVMI.js} +130 -1300
- package/{switchDialogAgentAction-YBFFCBOD.js → switchDialogAgentAction-QQGVE4SL.js} +11 -11
- package/{toolApiClient-WVTUYOFM.js → toolApiClient-ARGFDJAG.js} +2 -2
- package/{tools-5V6FHWQU.js → tools-Y3UBLLYW.js} +50 -56
- package/{tuiSummaryLlmCaller-GCUPULOV.js → tuiSummaryLlmCaller-4474IBTI.js} +12 -12
- package/{updateDialogTitleAction-W62C4W4K.js → updateDialogTitleAction-3J7GH67I.js} +35 -43
- package/chunk-5CS33IBL.js +0 -301
- package/chunk-5MMAK75Q.js +0 -15
- package/chunk-HYSJHRWD.js +0 -669
- package/chunk-MRC4Q34M.js +0 -188
- package/chunk-SIZQB7BD.js +0 -91
- package/chunk-UEOPA6MV.js +0 -641
- package/chunk-VIDPVFP3.js +0 -20
- package/chunk-W2LZV5GE.js +0 -231
- package/chunk-Y5GCAMGP.js +0 -9
- package/chunk-YYLHWIW6.js +0 -48
- package/chunk-Z54ZAZZC.js +0 -1791
- package/chunk-ZZ2MH7LE.js +0 -84
- package/{chunk-OMP5L5NF.js → chunk-44HACRCK.js} +3 -3
- package/{chunk-ZVZMT3EA.js → chunk-KWCLUYGQ.js} +3 -3
- package/{chunk-NRY4GCKJ.js → chunk-WHLVPK32.js} +3 -3
- package/{chunk-RQSOAMPJ.js → chunk-Z5MXSEOJ.js} +2 -2
- package/{chunk-XMLRJUU5.js → chunk-ZFTCLBEX.js} +9 -9
- package/{runtimeDoctorCommands-HSU632DY.js → runtimeDoctorCommands-E2OUORHK.js} +3 -3
- package/{tableCommands-QSZILI7I.js → tableCommands-PRJNWN6Q.js} +6 -6
|
@@ -7,23 +7,23 @@ import {
|
|
|
7
7
|
import {
|
|
8
8
|
patch,
|
|
9
9
|
selectById
|
|
10
|
-
} from "./chunk-
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-WWC7I6TA.js";
|
|
13
|
-
import "./chunk-SKDNBYZK.js";
|
|
14
|
-
import "./chunk-I42VC5KR.js";
|
|
10
|
+
} from "./chunk-A4JDTA5T.js";
|
|
11
|
+
import "./chunk-BOL2D2JW.js";
|
|
15
12
|
import "./chunk-QSJ3HFEF.js";
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-
|
|
13
|
+
import "./chunk-DWQNDGO7.js";
|
|
14
|
+
import "./chunk-TOW4E763.js";
|
|
15
|
+
import "./chunk-ZFTCLBEX.js";
|
|
18
16
|
import "./chunk-R5V5G73M.js";
|
|
17
|
+
import "./chunk-LCBAMY2M.js";
|
|
18
|
+
import "./chunk-4SN6J65J.js";
|
|
19
|
+
import "./chunk-CF7PE763.js";
|
|
20
|
+
import "./chunk-WHLVPK32.js";
|
|
21
|
+
import "./chunk-WWC7I6TA.js";
|
|
19
22
|
import "./chunk-GBRG75BQ.js";
|
|
20
23
|
import "./chunk-3EUW3WEO.js";
|
|
21
24
|
import "./chunk-U6VC4MU4.js";
|
|
22
|
-
import "./chunk-TOW4E763.js";
|
|
23
25
|
import "./chunk-KUG52IAP.js";
|
|
24
|
-
import "./chunk-
|
|
25
|
-
import "./chunk-4SN6J65J.js";
|
|
26
|
-
import "./chunk-CF7PE763.js";
|
|
26
|
+
import "./chunk-I42VC5KR.js";
|
|
27
27
|
import "./chunk-G3SUCT4W.js";
|
|
28
28
|
import {
|
|
29
29
|
__toESM
|
|
@@ -7,9 +7,9 @@ import {
|
|
|
7
7
|
getToolRequestContext,
|
|
8
8
|
resolveToolApiBaseUrl,
|
|
9
9
|
resolveToolBaseUrl
|
|
10
|
-
} from "./chunk-
|
|
11
|
-
import "./chunk-3ASDTTEI.js";
|
|
10
|
+
} from "./chunk-44HACRCK.js";
|
|
12
11
|
import "./chunk-DWLEOOGR.js";
|
|
12
|
+
import "./chunk-3ASDTTEI.js";
|
|
13
13
|
import "./chunk-QSJ3HFEF.js";
|
|
14
14
|
import "./chunk-TOW4E763.js";
|
|
15
15
|
import "./chunk-KUG52IAP.js";
|
|
@@ -8,30 +8,60 @@ import {
|
|
|
8
8
|
toolQueryFunc,
|
|
9
9
|
toolQueryFunctionSchema,
|
|
10
10
|
toolRegistry
|
|
11
|
-
} from "./chunk-
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
11
|
+
} from "./chunk-SWOTB2TX.js";
|
|
12
|
+
import "./chunk-Z5MXSEOJ.js";
|
|
13
|
+
import "./chunk-KXKQO4Q6.js";
|
|
14
|
+
import "./chunk-UTQZ73QQ.js";
|
|
15
15
|
import "./chunk-KQHGZWSV.js";
|
|
16
|
+
import "./chunk-OYK7PA5U.js";
|
|
17
|
+
import "./chunk-FS5TTXPS.js";
|
|
18
|
+
import "./chunk-Q24P6TUS.js";
|
|
19
|
+
import "./chunk-G5JHHUAK.js";
|
|
20
|
+
import "./chunk-SWYMCHM7.js";
|
|
21
|
+
import "./chunk-44HACRCK.js";
|
|
22
|
+
import "./chunk-QLV2GKU5.js";
|
|
23
|
+
import "./chunk-DCDL3GC4.js";
|
|
16
24
|
import "./chunk-3LY4F7SV.js";
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-
|
|
21
|
-
import "./chunk-
|
|
22
|
-
import "./chunk-GMJS5AYP.js";
|
|
23
|
-
import "./chunk-UFL6WHHJ.js";
|
|
24
|
-
import "./chunk-XOIF2TNF.js";
|
|
25
|
-
import "./chunk-MRC4Q34M.js";
|
|
26
|
-
import "./chunk-SIZQB7BD.js";
|
|
27
|
-
import "./chunk-RJBTU7AS.js";
|
|
28
|
-
import "./chunk-YYLHWIW6.js";
|
|
29
|
-
import "./chunk-CWMSB67P.js";
|
|
30
|
-
import "./chunk-IC7W63RM.js";
|
|
25
|
+
import "./chunk-THTAR67C.js";
|
|
26
|
+
import "./chunk-OB6FBSH3.js";
|
|
27
|
+
import "./chunk-IZ3CBMD5.js";
|
|
28
|
+
import "./chunk-GAGUBI42.js";
|
|
29
|
+
import "./chunk-JZPBVBIY.js";
|
|
31
30
|
import "./chunk-5RGU3J7P.js";
|
|
32
31
|
import "./chunk-M76ECQRD.js";
|
|
33
|
-
import "./chunk-
|
|
34
|
-
import "./chunk-
|
|
32
|
+
import "./chunk-HNMXYYJR.js";
|
|
33
|
+
import "./chunk-DWLEOOGR.js";
|
|
34
|
+
import "./chunk-3ASDTTEI.js";
|
|
35
|
+
import "./chunk-YLADSPDU.js";
|
|
36
|
+
import "./chunk-WTGCTVJG.js";
|
|
37
|
+
import "./chunk-CWMSB67P.js";
|
|
38
|
+
import "./chunk-VSTUQGLT.js";
|
|
39
|
+
import "./chunk-ZHXJ6M7T.js";
|
|
40
|
+
import "./chunk-CAENRKNJ.js";
|
|
41
|
+
import "./chunk-63W5N6P3.js";
|
|
42
|
+
import "./chunk-VF4K2QE6.js";
|
|
43
|
+
import "./chunk-DKRT67FG.js";
|
|
44
|
+
import "./chunk-446VANPP.js";
|
|
45
|
+
import "./chunk-KX6YBIHG.js";
|
|
46
|
+
import "./chunk-A4JDTA5T.js";
|
|
47
|
+
import "./chunk-BOL2D2JW.js";
|
|
48
|
+
import "./chunk-QSJ3HFEF.js";
|
|
49
|
+
import "./chunk-DWQNDGO7.js";
|
|
50
|
+
import "./chunk-TOW4E763.js";
|
|
51
|
+
import "./chunk-ZFTCLBEX.js";
|
|
52
|
+
import "./chunk-R5V5G73M.js";
|
|
53
|
+
import "./chunk-LCBAMY2M.js";
|
|
54
|
+
import "./chunk-4SN6J65J.js";
|
|
55
|
+
import "./chunk-CF7PE763.js";
|
|
56
|
+
import "./chunk-VP4WJWKW.js";
|
|
57
|
+
import "./chunk-L3GCUVOH.js";
|
|
58
|
+
import "./chunk-WHLVPK32.js";
|
|
59
|
+
import "./chunk-WWC7I6TA.js";
|
|
60
|
+
import "./chunk-GBRG75BQ.js";
|
|
61
|
+
import "./chunk-3EUW3WEO.js";
|
|
62
|
+
import "./chunk-U6VC4MU4.js";
|
|
63
|
+
import "./chunk-KUG52IAP.js";
|
|
64
|
+
import "./chunk-3AUWC6EM.js";
|
|
35
65
|
import {
|
|
36
66
|
TOOL_PACKS,
|
|
37
67
|
addDefaultLightWebToolsForConfiguredAgents,
|
|
@@ -39,44 +69,8 @@ import {
|
|
|
39
69
|
} from "./chunk-CF7S2RYZ.js";
|
|
40
70
|
import "./chunk-ZWJOGMKH.js";
|
|
41
71
|
import "./chunk-WZSRQNQG.js";
|
|
42
|
-
import "./chunk-UEOPA6MV.js";
|
|
43
|
-
import "./chunk-HYSJHRWD.js";
|
|
44
|
-
import "./chunk-5MMAK75Q.js";
|
|
45
|
-
import "./chunk-5CS33IBL.js";
|
|
46
|
-
import "./chunk-JZPBVBIY.js";
|
|
47
|
-
import "./chunk-GT3GG2H7.js";
|
|
48
|
-
import "./chunk-ZHXJ6M7T.js";
|
|
49
|
-
import "./chunk-ZZ2MH7LE.js";
|
|
50
|
-
import "./chunk-OMP5L5NF.js";
|
|
51
|
-
import "./chunk-3ASDTTEI.js";
|
|
52
|
-
import "./chunk-DWLEOOGR.js";
|
|
53
|
-
import "./chunk-KXKQO4Q6.js";
|
|
54
|
-
import "./chunk-HNMXYYJR.js";
|
|
55
|
-
import "./chunk-L3QFIBZG.js";
|
|
56
|
-
import "./chunk-YTA2QOEE.js";
|
|
57
|
-
import "./chunk-HRPWRVBI.js";
|
|
58
|
-
import "./chunk-R7LOFGRE.js";
|
|
59
|
-
import "./chunk-Y5GCAMGP.js";
|
|
60
72
|
import "./chunk-UZ6XXCVR.js";
|
|
61
|
-
import "./chunk-KX6YBIHG.js";
|
|
62
|
-
import "./chunk-JSB4N6NU.js";
|
|
63
|
-
import "./chunk-G2BZ43DV.js";
|
|
64
|
-
import "./chunk-NRY4GCKJ.js";
|
|
65
|
-
import "./chunk-WWC7I6TA.js";
|
|
66
|
-
import "./chunk-SKDNBYZK.js";
|
|
67
73
|
import "./chunk-I42VC5KR.js";
|
|
68
|
-
import "./chunk-QSJ3HFEF.js";
|
|
69
|
-
import "./chunk-L6RBX4L4.js";
|
|
70
|
-
import "./chunk-XMLRJUU5.js";
|
|
71
|
-
import "./chunk-R5V5G73M.js";
|
|
72
|
-
import "./chunk-GBRG75BQ.js";
|
|
73
|
-
import "./chunk-3EUW3WEO.js";
|
|
74
|
-
import "./chunk-U6VC4MU4.js";
|
|
75
|
-
import "./chunk-TOW4E763.js";
|
|
76
|
-
import "./chunk-KUG52IAP.js";
|
|
77
|
-
import "./chunk-LCBAMY2M.js";
|
|
78
|
-
import "./chunk-4SN6J65J.js";
|
|
79
|
-
import "./chunk-CF7PE763.js";
|
|
80
74
|
import "./chunk-G3SUCT4W.js";
|
|
81
75
|
import "./chunk-4VNS5WPM.js";
|
|
82
76
|
export {
|
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
import {
|
|
2
|
-
BUILTIN_SUMMARY_LLM_CONFIG
|
|
3
|
-
} from "./chunk-XOIF2TNF.js";
|
|
4
1
|
import {
|
|
5
2
|
buildPlatformChatCompletionRequest,
|
|
6
3
|
canUsePlatformChatProvider,
|
|
7
4
|
parsePlatformChatCompletionResponse,
|
|
8
5
|
resolvePlatformChatProviderConfig
|
|
9
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-MEUZFIAJ.js";
|
|
7
|
+
import "./chunk-T27IEBNQ.js";
|
|
10
8
|
import "./chunk-N7J63Q6C.js";
|
|
11
9
|
import "./chunk-D34RI6NI.js";
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import
|
|
14
|
-
|
|
15
|
-
|
|
10
|
+
import "./chunk-XD5NQEOH.js";
|
|
11
|
+
import {
|
|
12
|
+
BUILTIN_SUMMARY_LLM_CONFIG
|
|
13
|
+
} from "./chunk-OB6FBSH3.js";
|
|
16
14
|
import "./chunk-DWLEOOGR.js";
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
15
|
+
import "./chunk-VSTUQGLT.js";
|
|
16
|
+
import "./chunk-ZHXJ6M7T.js";
|
|
17
|
+
import "./chunk-CAENRKNJ.js";
|
|
19
18
|
import "./chunk-QSJ3HFEF.js";
|
|
20
|
-
import "./chunk-3EUW3WEO.js";
|
|
21
|
-
import "./chunk-KUG52IAP.js";
|
|
22
19
|
import "./chunk-4SN6J65J.js";
|
|
23
20
|
import "./chunk-CF7PE763.js";
|
|
21
|
+
import "./chunk-3EUW3WEO.js";
|
|
22
|
+
import "./chunk-KUG52IAP.js";
|
|
23
|
+
import "./chunk-I42VC5KR.js";
|
|
24
24
|
import "./chunk-G3SUCT4W.js";
|
|
25
25
|
import "./chunk-4VNS5WPM.js";
|
|
26
26
|
|
|
@@ -1,74 +1,66 @@
|
|
|
1
|
+
import {
|
|
2
|
+
buildDialogFallbackTitleFromMessages,
|
|
3
|
+
resolveDialogTitle
|
|
4
|
+
} from "./chunk-2MBTWINN.js";
|
|
1
5
|
import {
|
|
2
6
|
isAssistantToolStub,
|
|
3
7
|
selectAllMsgs,
|
|
8
|
+
serializeMessageContent,
|
|
4
9
|
updateContentTitle
|
|
5
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-THTAR67C.js";
|
|
6
11
|
import {
|
|
7
12
|
BUILTIN_TITLE_LLM_CONFIG
|
|
8
|
-
} from "./chunk-
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-SIZQB7BD.js";
|
|
13
|
+
} from "./chunk-OB6FBSH3.js";
|
|
14
|
+
import "./chunk-IZ3CBMD5.js";
|
|
11
15
|
import {
|
|
12
16
|
runLlm
|
|
13
|
-
} from "./chunk-
|
|
14
|
-
import "./chunk-
|
|
15
|
-
import "./chunk-CWMSB67P.js";
|
|
16
|
-
import "./chunk-IC7W63RM.js";
|
|
17
|
+
} from "./chunk-GAGUBI42.js";
|
|
18
|
+
import "./chunk-JZPBVBIY.js";
|
|
17
19
|
import "./chunk-5RGU3J7P.js";
|
|
18
20
|
import {
|
|
19
21
|
require_date_fns
|
|
20
22
|
} from "./chunk-M76ECQRD.js";
|
|
21
|
-
import "./chunk-L65QKSVJ.js";
|
|
22
|
-
import {
|
|
23
|
-
buildDialogFallbackTitleFromMessages,
|
|
24
|
-
resolveDialogTitle
|
|
25
|
-
} from "./chunk-2MBTWINN.js";
|
|
26
|
-
import {
|
|
27
|
-
serializeMessageContent
|
|
28
|
-
} from "./chunk-HYSJHRWD.js";
|
|
29
|
-
import "./chunk-5MMAK75Q.js";
|
|
30
|
-
import "./chunk-5CS33IBL.js";
|
|
31
|
-
import "./chunk-JZPBVBIY.js";
|
|
32
|
-
import "./chunk-GT3GG2H7.js";
|
|
33
|
-
import "./chunk-ZHXJ6M7T.js";
|
|
34
|
-
import "./chunk-3ASDTTEI.js";
|
|
35
|
-
import "./chunk-DWLEOOGR.js";
|
|
36
23
|
import "./chunk-HNMXYYJR.js";
|
|
37
|
-
import "./chunk-
|
|
38
|
-
import "./chunk-
|
|
39
|
-
import "./chunk-R7LOFGRE.js";
|
|
40
|
-
import "./chunk-Y5GCAMGP.js";
|
|
41
|
-
import "./chunk-UZ6XXCVR.js";
|
|
42
|
-
import "./chunk-KX6YBIHG.js";
|
|
24
|
+
import "./chunk-DWLEOOGR.js";
|
|
25
|
+
import "./chunk-3ASDTTEI.js";
|
|
43
26
|
import {
|
|
44
27
|
normalizeSpaceId
|
|
45
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-YLADSPDU.js";
|
|
29
|
+
import "./chunk-WTGCTVJG.js";
|
|
30
|
+
import "./chunk-CWMSB67P.js";
|
|
31
|
+
import "./chunk-VSTUQGLT.js";
|
|
32
|
+
import "./chunk-ZHXJ6M7T.js";
|
|
33
|
+
import "./chunk-CAENRKNJ.js";
|
|
34
|
+
import "./chunk-446VANPP.js";
|
|
35
|
+
import "./chunk-KX6YBIHG.js";
|
|
46
36
|
import {
|
|
47
37
|
patch,
|
|
48
38
|
selectById
|
|
49
|
-
} from "./chunk-
|
|
50
|
-
import "./chunk-
|
|
51
|
-
import "./chunk-WWC7I6TA.js";
|
|
52
|
-
import "./chunk-SKDNBYZK.js";
|
|
53
|
-
import "./chunk-I42VC5KR.js";
|
|
39
|
+
} from "./chunk-A4JDTA5T.js";
|
|
40
|
+
import "./chunk-BOL2D2JW.js";
|
|
54
41
|
import "./chunk-QSJ3HFEF.js";
|
|
55
|
-
import "./chunk-
|
|
42
|
+
import "./chunk-DWQNDGO7.js";
|
|
43
|
+
import {
|
|
44
|
+
extractCustomId
|
|
45
|
+
} from "./chunk-TOW4E763.js";
|
|
56
46
|
import {
|
|
57
47
|
selectIdentityUserId
|
|
58
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-ZFTCLBEX.js";
|
|
59
49
|
import "./chunk-R5V5G73M.js";
|
|
50
|
+
import "./chunk-LCBAMY2M.js";
|
|
51
|
+
import "./chunk-4SN6J65J.js";
|
|
52
|
+
import "./chunk-CF7PE763.js";
|
|
53
|
+
import "./chunk-L3GCUVOH.js";
|
|
54
|
+
import "./chunk-WHLVPK32.js";
|
|
55
|
+
import "./chunk-WWC7I6TA.js";
|
|
60
56
|
import "./chunk-GBRG75BQ.js";
|
|
61
57
|
import {
|
|
62
58
|
asTrimmedString
|
|
63
59
|
} from "./chunk-3EUW3WEO.js";
|
|
64
60
|
import "./chunk-U6VC4MU4.js";
|
|
65
|
-
import {
|
|
66
|
-
extractCustomId
|
|
67
|
-
} from "./chunk-TOW4E763.js";
|
|
68
61
|
import "./chunk-KUG52IAP.js";
|
|
69
|
-
import "./chunk-
|
|
70
|
-
import "./chunk-
|
|
71
|
-
import "./chunk-CF7PE763.js";
|
|
62
|
+
import "./chunk-UZ6XXCVR.js";
|
|
63
|
+
import "./chunk-I42VC5KR.js";
|
|
72
64
|
import "./chunk-G3SUCT4W.js";
|
|
73
65
|
import {
|
|
74
66
|
__toESM
|
package/chunk-5CS33IBL.js
DELETED
|
@@ -1,301 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
getCredentialsDir
|
|
3
|
-
} from "./chunk-JZPBVBIY.js";
|
|
4
|
-
import {
|
|
5
|
-
asNonEmptyStringArray
|
|
6
|
-
} from "./chunk-I42VC5KR.js";
|
|
7
|
-
import {
|
|
8
|
-
asTrimmedString
|
|
9
|
-
} from "./chunk-3EUW3WEO.js";
|
|
10
|
-
import {
|
|
11
|
-
asOptionalPositiveFiniteNumber
|
|
12
|
-
} from "./chunk-U6VC4MU4.js";
|
|
13
|
-
import {
|
|
14
|
-
isRecord
|
|
15
|
-
} from "./chunk-KUG52IAP.js";
|
|
16
|
-
|
|
17
|
-
// packages/agent-runtime/fileCredentialBroker.ts
|
|
18
|
-
import {
|
|
19
|
-
chmodSync,
|
|
20
|
-
existsSync,
|
|
21
|
-
mkdirSync,
|
|
22
|
-
readFileSync,
|
|
23
|
-
unlinkSync,
|
|
24
|
-
writeFileSync
|
|
25
|
-
} from "node:fs";
|
|
26
|
-
import { homedir } from "node:os";
|
|
27
|
-
import { join } from "node:path";
|
|
28
|
-
|
|
29
|
-
// packages/agent-runtime/credentialBroker.ts
|
|
30
|
-
function assertCredentialRef(ref) {
|
|
31
|
-
const trimmed = asTrimmedString(ref);
|
|
32
|
-
if (!trimmed) {
|
|
33
|
-
throw new Error("invalid_ref");
|
|
34
|
-
}
|
|
35
|
-
if (trimmed.includes("..") || trimmed.includes("/") || trimmed.includes("\\")) {
|
|
36
|
-
throw new Error("invalid_ref");
|
|
37
|
-
}
|
|
38
|
-
return trimmed;
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
// packages/agent-runtime/fileCredentialBroker.ts
|
|
42
|
-
function getApiKeyCredentialsDir(homeDir = homedir()) {
|
|
43
|
-
return join(getCredentialsDir(homeDir), "keys");
|
|
44
|
-
}
|
|
45
|
-
function credentialRefToFileName(ref) {
|
|
46
|
-
const safe = assertCredentialRef(ref).replace(/[^a-zA-Z0-9._-]+/g, "_");
|
|
47
|
-
if (!safe || safe === "." || safe === "..") {
|
|
48
|
-
throw new Error(`Credential ref is not filesystem-safe: ${ref}`);
|
|
49
|
-
}
|
|
50
|
-
return `${safe}.json`;
|
|
51
|
-
}
|
|
52
|
-
function getApiKeyCredentialPath(ref, homeDir = homedir()) {
|
|
53
|
-
return join(getApiKeyCredentialsDir(homeDir), credentialRefToFileName(ref));
|
|
54
|
-
}
|
|
55
|
-
function ensurePrivateDir(dir) {
|
|
56
|
-
mkdirSync(dir, { recursive: true, mode: 448 });
|
|
57
|
-
try {
|
|
58
|
-
chmodSync(dir, 448);
|
|
59
|
-
} catch {
|
|
60
|
-
}
|
|
61
|
-
}
|
|
62
|
-
function writePrivateFile(path, body) {
|
|
63
|
-
writeFileSync(path, body, { encoding: "utf8", mode: 384 });
|
|
64
|
-
try {
|
|
65
|
-
chmodSync(path, 384);
|
|
66
|
-
} catch {
|
|
67
|
-
}
|
|
68
|
-
}
|
|
69
|
-
function readApiKeyCredential(ref, homeDir = homedir()) {
|
|
70
|
-
const path = getApiKeyCredentialPath(ref, homeDir);
|
|
71
|
-
if (!existsSync(path)) return null;
|
|
72
|
-
try {
|
|
73
|
-
const raw = readFileSync(path, "utf8");
|
|
74
|
-
const parsed = JSON.parse(raw);
|
|
75
|
-
if (typeof parsed?.secret !== "string" || !parsed.secret) return null;
|
|
76
|
-
return parsed.secret;
|
|
77
|
-
} catch {
|
|
78
|
-
return null;
|
|
79
|
-
}
|
|
80
|
-
}
|
|
81
|
-
function writeApiKeyCredential(ref, secret, homeDir = homedir(), now = Date.now()) {
|
|
82
|
-
const trimmedSecret = secret.trim();
|
|
83
|
-
if (!trimmedSecret) {
|
|
84
|
-
throw new Error("Cannot store an empty credential secret.");
|
|
85
|
-
}
|
|
86
|
-
assertCredentialRef(ref);
|
|
87
|
-
const dir = getApiKeyCredentialsDir(homeDir);
|
|
88
|
-
ensurePrivateDir(dir);
|
|
89
|
-
const path = getApiKeyCredentialPath(ref, homeDir);
|
|
90
|
-
const payload = {
|
|
91
|
-
secret: trimmedSecret,
|
|
92
|
-
updatedAt: now
|
|
93
|
-
};
|
|
94
|
-
writePrivateFile(path, `${JSON.stringify(payload, null, 2)}
|
|
95
|
-
`);
|
|
96
|
-
}
|
|
97
|
-
function removeApiKeyCredential(ref, homeDir = homedir()) {
|
|
98
|
-
assertCredentialRef(ref);
|
|
99
|
-
const path = getApiKeyCredentialPath(ref, homeDir);
|
|
100
|
-
if (!existsSync(path)) return;
|
|
101
|
-
unlinkSync(path);
|
|
102
|
-
}
|
|
103
|
-
function hasApiKeyCredential(ref, homeDir = homedir()) {
|
|
104
|
-
return readApiKeyCredential(ref, homeDir) !== null;
|
|
105
|
-
}
|
|
106
|
-
function createFileCredentialBroker(options = {}) {
|
|
107
|
-
const homeDir = options.homeDir ?? homedir();
|
|
108
|
-
const now = options.now ?? Date.now;
|
|
109
|
-
return {
|
|
110
|
-
get(ref) {
|
|
111
|
-
return readApiKeyCredential(ref, homeDir);
|
|
112
|
-
},
|
|
113
|
-
put(ref, secret) {
|
|
114
|
-
writeApiKeyCredential(ref, secret, homeDir, now());
|
|
115
|
-
},
|
|
116
|
-
delete(ref) {
|
|
117
|
-
removeApiKeyCredential(ref, homeDir);
|
|
118
|
-
},
|
|
119
|
-
has(ref) {
|
|
120
|
-
return hasApiKeyCredential(ref, homeDir);
|
|
121
|
-
}
|
|
122
|
-
};
|
|
123
|
-
}
|
|
124
|
-
|
|
125
|
-
// packages/agent-runtime/migrateAgentSecrets.ts
|
|
126
|
-
function buildAgentApiKeyCredentialRef(agentKey) {
|
|
127
|
-
const key = asTrimmedString(agentKey);
|
|
128
|
-
if (!key) throw new Error("agentKey is required to build a credential ref.");
|
|
129
|
-
return `api-key:${key}`;
|
|
130
|
-
}
|
|
131
|
-
function readRawApiKey(agent) {
|
|
132
|
-
return asTrimmedString(agent.apiKey);
|
|
133
|
-
}
|
|
134
|
-
function resolveTargetRef(agent) {
|
|
135
|
-
const fromCredential = asTrimmedString(agent.credentialRef);
|
|
136
|
-
if (fromCredential) return fromCredential;
|
|
137
|
-
const fromApiKeyRef = asTrimmedString(agent.apiKeyRef);
|
|
138
|
-
if (fromApiKeyRef.startsWith("api-key:")) return fromApiKeyRef;
|
|
139
|
-
return buildAgentApiKeyCredentialRef(agent.key);
|
|
140
|
-
}
|
|
141
|
-
async function brokerHas(broker, ref) {
|
|
142
|
-
return Boolean(await broker.has(ref));
|
|
143
|
-
}
|
|
144
|
-
async function brokerPut(broker, ref, secret) {
|
|
145
|
-
await broker.put(ref, secret);
|
|
146
|
-
}
|
|
147
|
-
async function migrateAgentSecrets(args) {
|
|
148
|
-
const { agent, broker } = args;
|
|
149
|
-
const raw = readRawApiKey(agent);
|
|
150
|
-
const migration = asTrimmedString(agent.credentialMigration);
|
|
151
|
-
if (migration === "done" && !raw) {
|
|
152
|
-
const ref = typeof agent.credentialRef === "string" && agent.credentialRef.trim() || (typeof agent.apiKeyRef === "string" && agent.apiKeyRef.startsWith("api-key:") ? agent.apiKeyRef.trim() : "") || void 0;
|
|
153
|
-
return {
|
|
154
|
-
updates: {},
|
|
155
|
-
status: "already-done",
|
|
156
|
-
...ref ? { credentialRef: ref } : {},
|
|
157
|
-
phase: "complete"
|
|
158
|
-
};
|
|
159
|
-
}
|
|
160
|
-
if (!raw && migration !== "pending") {
|
|
161
|
-
return { updates: {}, status: "noop", phase: "none" };
|
|
162
|
-
}
|
|
163
|
-
const targetRef = resolveTargetRef(agent);
|
|
164
|
-
if (raw) {
|
|
165
|
-
await brokerPut(broker, targetRef, raw);
|
|
166
|
-
const stored2 = await brokerHas(broker, targetRef);
|
|
167
|
-
if (!stored2) {
|
|
168
|
-
return {
|
|
169
|
-
updates: {
|
|
170
|
-
credentialRef: targetRef,
|
|
171
|
-
credentialMigration: "pending"
|
|
172
|
-
},
|
|
173
|
-
status: "resumed-pending",
|
|
174
|
-
credentialRef: targetRef,
|
|
175
|
-
phase: "put"
|
|
176
|
-
};
|
|
177
|
-
}
|
|
178
|
-
return {
|
|
179
|
-
updates: {
|
|
180
|
-
apiKey: null,
|
|
181
|
-
credentialRef: targetRef,
|
|
182
|
-
// Keep apiKeyRef for resolution if not already an OAuth provider name.
|
|
183
|
-
// Prefer explicit credentialRef; set apiKeyRef only when empty so OAuth agents stay intact.
|
|
184
|
-
...!(typeof agent.apiKeyRef === "string" && agent.apiKeyRef.trim()) ? { apiKeyRef: targetRef } : {},
|
|
185
|
-
credentialMigration: "done"
|
|
186
|
-
},
|
|
187
|
-
status: migration === "pending" ? "resumed-pending" : "migrated",
|
|
188
|
-
credentialRef: targetRef,
|
|
189
|
-
phase: "strip"
|
|
190
|
-
};
|
|
191
|
-
}
|
|
192
|
-
const stored = await brokerHas(broker, targetRef);
|
|
193
|
-
if (stored) {
|
|
194
|
-
return {
|
|
195
|
-
updates: {
|
|
196
|
-
credentialRef: targetRef,
|
|
197
|
-
credentialMigration: "done",
|
|
198
|
-
...!(typeof agent.apiKeyRef === "string" && agent.apiKeyRef.trim()) ? { apiKeyRef: targetRef } : {}
|
|
199
|
-
},
|
|
200
|
-
status: "resumed-pending",
|
|
201
|
-
credentialRef: targetRef,
|
|
202
|
-
phase: "complete"
|
|
203
|
-
};
|
|
204
|
-
}
|
|
205
|
-
return {
|
|
206
|
-
updates: {
|
|
207
|
-
credentialRef: targetRef,
|
|
208
|
-
credentialMigration: "pending"
|
|
209
|
-
},
|
|
210
|
-
status: "awaiting-secret",
|
|
211
|
-
credentialRef: targetRef,
|
|
212
|
-
phase: "put"
|
|
213
|
-
};
|
|
214
|
-
}
|
|
215
|
-
function applyAgentSecretMigrationUpdates(record, updates) {
|
|
216
|
-
const next = { ...record };
|
|
217
|
-
if ("apiKey" in updates) {
|
|
218
|
-
if (updates.apiKey === null || updates.apiKey === "") {
|
|
219
|
-
delete next.apiKey;
|
|
220
|
-
} else if (typeof updates.apiKey === "string") {
|
|
221
|
-
next.apiKey = updates.apiKey;
|
|
222
|
-
}
|
|
223
|
-
}
|
|
224
|
-
if (updates.apiKeyRef !== void 0) next.apiKeyRef = updates.apiKeyRef;
|
|
225
|
-
if (updates.credentialRef !== void 0) next.credentialRef = updates.credentialRef;
|
|
226
|
-
if (updates.credentialMigration !== void 0) {
|
|
227
|
-
next.credentialMigration = updates.credentialMigration;
|
|
228
|
-
}
|
|
229
|
-
return next;
|
|
230
|
-
}
|
|
231
|
-
|
|
232
|
-
// packages/agent-runtime/runtimeToolPolicy.ts
|
|
233
|
-
function unique(values) {
|
|
234
|
-
return [...new Set(values)];
|
|
235
|
-
}
|
|
236
|
-
function normalizeAgentRuntimeToolPolicy(value) {
|
|
237
|
-
if (!isRecord(value)) return void 0;
|
|
238
|
-
return {
|
|
239
|
-
version: 1,
|
|
240
|
-
...asNonEmptyStringArray(value.agentTools).length ? { agentTools: unique(asNonEmptyStringArray(value.agentTools)) } : {},
|
|
241
|
-
...asNonEmptyStringArray(value.runtimeTools).length ? { runtimeTools: unique(asNonEmptyStringArray(value.runtimeTools)) } : {},
|
|
242
|
-
...isRecord(value.workspace) ? { workspace: { ...value.workspace } } : {},
|
|
243
|
-
...isRecord(value.shell) ? { shell: { ...value.shell } } : {},
|
|
244
|
-
...isRecord(value.isolation) ? { isolation: { ...value.isolation } } : {},
|
|
245
|
-
...isRecord(value.git) ? { git: { ...value.git } } : {},
|
|
246
|
-
...isRecord(value.budget) ? { budget: { ...value.budget } } : {},
|
|
247
|
-
...isRecord(value.audit) ? { audit: { ...value.audit } } : {}
|
|
248
|
-
};
|
|
249
|
-
}
|
|
250
|
-
function runtimeBindingRecord(runtimeBinding) {
|
|
251
|
-
return isRecord(runtimeBinding) ? runtimeBinding : void 0;
|
|
252
|
-
}
|
|
253
|
-
function runtimeToolNamesFromPolicy(policy) {
|
|
254
|
-
return asNonEmptyStringArray(policy?.runtimeTools);
|
|
255
|
-
}
|
|
256
|
-
function readPositiveNumber(value) {
|
|
257
|
-
return asOptionalPositiveFiniteNumber(Number(value));
|
|
258
|
-
}
|
|
259
|
-
function resolveRequestedRuntimeToolNames(args) {
|
|
260
|
-
const runtimeBinding = runtimeBindingRecord(args.agentConfig.runtimeBinding);
|
|
261
|
-
const bindingPolicy = normalizeAgentRuntimeToolPolicy(
|
|
262
|
-
runtimeBinding?.runtimeToolPolicy
|
|
263
|
-
);
|
|
264
|
-
const bindingSnapshotPolicy = normalizeAgentRuntimeToolPolicy(
|
|
265
|
-
runtimeBinding?.runtimeToolPolicySnapshot
|
|
266
|
-
);
|
|
267
|
-
return unique([
|
|
268
|
-
...asNonEmptyStringArray(args.agentConfig.toolNames),
|
|
269
|
-
...runtimeToolNamesFromPolicy(
|
|
270
|
-
normalizeAgentRuntimeToolPolicy(args.agentConfig.runtimeToolPolicy)
|
|
271
|
-
),
|
|
272
|
-
...runtimeToolNamesFromPolicy(bindingPolicy),
|
|
273
|
-
...runtimeToolNamesFromPolicy(bindingSnapshotPolicy)
|
|
274
|
-
]);
|
|
275
|
-
}
|
|
276
|
-
function resolveCurrentRunRuntimeToolPolicy(agentConfig) {
|
|
277
|
-
const runtimeBinding = runtimeBindingRecord(agentConfig?.runtimeBinding);
|
|
278
|
-
return normalizeAgentRuntimeToolPolicy(
|
|
279
|
-
runtimeBinding?.runtimeToolPolicySnapshot ?? agentConfig?.runtimeToolPolicy ?? runtimeBinding?.runtimeToolPolicy
|
|
280
|
-
);
|
|
281
|
-
}
|
|
282
|
-
function resolveLocalRuntimeEnvFromPolicy(runtimeEnv, policy) {
|
|
283
|
-
return { ...runtimeEnv };
|
|
284
|
-
}
|
|
285
|
-
function resolveLocalWorkspaceExecutorOptionsFromPolicy(policy) {
|
|
286
|
-
const maxOutputBytes = readPositiveNumber(policy?.shell?.maxOutputBytes);
|
|
287
|
-
return {
|
|
288
|
-
...maxOutputBytes ? { commandOutputLimit: Math.floor(maxOutputBytes) } : {}
|
|
289
|
-
};
|
|
290
|
-
}
|
|
291
|
-
|
|
292
|
-
export {
|
|
293
|
-
createFileCredentialBroker,
|
|
294
|
-
migrateAgentSecrets,
|
|
295
|
-
applyAgentSecretMigrationUpdates,
|
|
296
|
-
normalizeAgentRuntimeToolPolicy,
|
|
297
|
-
resolveRequestedRuntimeToolNames,
|
|
298
|
-
resolveCurrentRunRuntimeToolPolicy,
|
|
299
|
-
resolveLocalRuntimeEnvFromPolicy,
|
|
300
|
-
resolveLocalWorkspaceExecutorOptionsFromPolicy
|
|
301
|
-
};
|
package/chunk-5MMAK75Q.js
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
compactWhitespace
|
|
3
|
-
} from "./chunk-DWLEOOGR.js";
|
|
4
|
-
|
|
5
|
-
// packages/core/clipCompactText.ts
|
|
6
|
-
function clipCompactText(value, max, ellipsis = "...") {
|
|
7
|
-
const compact = compactWhitespace(value);
|
|
8
|
-
if (compact.length <= max) return compact;
|
|
9
|
-
if (max <= ellipsis.length) return compact.slice(0, max);
|
|
10
|
-
return `${compact.slice(0, max - ellipsis.length)}${ellipsis}`;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
export {
|
|
14
|
-
clipCompactText
|
|
15
|
-
};
|