nolo-cli 0.16.0-alpha.7 → 0.16.0-alpha.9
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-XF7VJZ6O.js → _executeModel-ABTND4KZ.js} +17 -17
- package/{agentDeleteCommand-X35VSSVM.js → agentDeleteCommand-ARMAV46L.js} +11 -11
- package/{agentEmailCommands-LGMEEMQP.js → agentEmailCommands-BKPZP4UP.js} +22 -22
- package/{agentListCommands-LLQHUE4O.js → agentListCommands-5J7RRXUO.js} +13 -13
- package/{agentMachineCommands-4Q5PFIKF.js → agentMachineCommands-VXWJXXPF.js} +11 -11
- package/{agentRecordCommands-XUYVG7BS.js → agentRecordCommands-INDJINPN.js} +21 -21
- package/{agentRunCommand-NORLSA7L.js → agentRunCommand-KBN6HBY4.js} +21 -21
- package/{agentRuntimeLocal-N56G2ZJK.js → agentRuntimeLocal-AH2RYWGP.js} +8 -10
- package/{agentSlice-JE5BREZQ.js → agentSlice-R4PELU57.js} +1 -1
- package/{appDeleteCommands-WHRYDQLZ.js → appDeleteCommands-FRWMPQNS.js} +12 -12
- package/{appDeployCommands-USRWBT6T.js → appDeployCommands-IRF3T35Z.js} +12 -12
- package/{appDeployStatusCommands-R632IBVL.js → appDeployStatusCommands-ADFERYPU.js} +12 -12
- package/{appGetCommands-PKGC2JWH.js → appGetCommands-FTEOXWMS.js} +12 -12
- package/{appListCommands-OMRAEOAL.js → appListCommands-WBY7UWYD.js} +12 -12
- package/{authCommand-P22WCVOP.js → authCommand-QU5BXRBH.js} +6 -6
- package/{chunk-BS5STUTA.js → chunk-2XA3QGOH.js} +3 -3
- package/{chunk-NY5FDXZL.js → chunk-4EME3YTO.js} +3 -3
- package/{chunk-KOW2R4MZ.js → chunk-4N7QA72L.js} +1 -5
- package/{chunk-2B3BNWPC.js → chunk-5Y5KEB7V.js} +1 -1
- package/{chunk-5BP2BROQ.js → chunk-66X4VSRC.js} +4 -3
- package/{chunk-BH4AZ7S6.js → chunk-7HECYFOI.js} +30 -19
- package/{chunk-C2BYYSAO.js → chunk-AFNJWHKL.js} +3 -3
- package/{chunk-AWGYJBWX.js → chunk-BG7AP3Q7.js} +8 -8
- package/{chunk-ZVBKL6NS.js → chunk-BHVBFI6B.js} +3 -3
- package/{chunk-AKYTMRBP.js → chunk-F6JSVFHX.js} +1 -1
- package/{chunk-FJHD7FHN.js → chunk-FMYTM25W.js} +1 -1
- package/{chunk-EFNMO3YF.js → chunk-G63IH3ZK.js} +1 -1
- package/{chunk-XQW4K7D3.js → chunk-GWESD7AS.js} +2 -2
- package/{chunk-CI2G2Z2L.js → chunk-HSLJ7QER.js} +1 -1
- package/{chunk-OIX36K6R.js → chunk-IFPY2BIE.js} +1 -1
- package/{chunk-J4VLNDI7.js → chunk-J3VQSU5W.js} +1 -1
- package/{chunk-XBOY5KZG.js → chunk-LSHKV3S7.js} +10 -10
- package/{chunk-ZTRZ2O5B.js → chunk-LZYEWFPK.js} +7 -3
- package/{chunk-4IF3B7WC.js → chunk-OELQ67TN.js} +2 -2
- package/{chunk-3STYIYRD.js → chunk-PEDT43JF.js} +2 -2
- package/{chunk-BOPYCNN3.js → chunk-QLWU2KOT.js} +1 -1
- package/{chunk-ZRDWHLMQ.js → chunk-R6ALN5F5.js} +1 -1
- package/{chunk-UALQTIWY.js → chunk-RK5NYQEL.js} +1 -1
- package/{chunk-YQMTILRW.js → chunk-RLCXU7A5.js} +1 -1
- package/{chunk-CTZLNWT3.js → chunk-SGRDLYRZ.js} +2 -2
- package/{chunk-J2DR42U3.js → chunk-VAT72PDP.js} +12 -10
- package/{chunk-YXQA6X6I.js → chunk-VK2HVKAO.js} +31 -24
- package/{chunk-QSWWWYGA.js → chunk-WVDAUR2S.js} +1 -1
- package/{chunk-6EFJQCL6.js → chunk-XECKIDGJ.js} +79 -63
- package/{chunk-4XR5OJ7J.js → chunk-ZPPTWRPT.js} +1 -1
- package/{chunk-YLVJ7NB4.js → chunk-ZVC2PCZN.js} +2 -2
- package/{chunk-LJIJWXIT.js → chunk-ZVDRAEZL.js} +4 -12
- package/{createAgentAutomationAction-MEYL7OTC.js → createAgentAutomationAction-3KKRAYGE.js} +6 -6
- package/{createDialogAction-OUK5YIH4.js → createDialogAction-S7NMQ4TZ.js} +7 -7
- package/{createPageAction-NEBMC6AB.js → createPageAction-2EFBT4LQ.js} +6 -6
- package/{dialogCommands-L4LMXQAI.js → dialogCommands-J7XFIQRD.js} +12 -12
- package/{dialogSlice-BKRE6NDW.js → dialogSlice-LNRRBUIC.js} +6 -6
- package/{docCreateCommands-C4HJCM47.js → docCreateCommands-MKO5WB34.js} +11 -11
- package/{docDeleteCommands-Y6W6A3W6.js → docDeleteCommands-RCBHRKUE.js} +12 -12
- package/{docReadCommands-2WUIDAR6.js → docReadCommands-66527P4G.js} +11 -11
- package/{docStore-XIPSSX7U.js → docStore-67MYPX7P.js} +7 -7
- package/{docUpdateCommands-XVL2CBKE.js → docUpdateCommands-UT5HSLOJ.js} +11 -11
- package/{getPricing-HXWUZAEN.js → getPricing-P4XRJRZB.js} +3 -3
- package/{handleSendMessageAction-NTDBIOMZ.js → handleSendMessageAction-VZ7226PB.js} +6 -6
- package/index.js +47 -47
- package/{machineCommands-SXOARUBD.js → machineCommands-ATA7OSBJ.js} +20 -20
- package/{machineWsRunDispatch-OZQ4WNCE.js → machineWsRunDispatch-ZDCZ645H.js} +20 -20
- package/{models-DQUMNIGQ.js → models-5K5G2CZI.js} +2 -2
- package/package.json +1 -1
- package/{readlineWorkspace-AM2FA7HS.js → readlineWorkspace-UUNABTLB.js} +29 -25
- package/{runAgentClientLoop-ISTTN5QO.js → runAgentClientLoop-2A577WBM.js} +14 -14
- package/{spaceCommands-PYFLKEAW.js → spaceCommands-UNZVR2OS.js} +11 -11
- package/{spaceSlice-QER2OEYB.js → spaceSlice-MC7FYPMZ.js} +6 -6
- package/{streamAgentChatTurn-VBXKG5JA.js → streamAgentChatTurn-IEKPNM33.js} +17 -20
- package/{tools-XMFFOQXS.js → tools-E6FHKTCF.js} +10 -10
- package/{tuiSummaryLlmCaller-ENLQTJUV.js → tuiSummaryLlmCaller-QHPDD4WP.js} +4 -4
- package/{updateDialogTitleAction-QJEJGVZD.js → updateDialogTitleAction-SQJEEW2K.js} +6 -6
- /package/{chunk-LPWS7HMQ.js → chunk-O6W2O2DA.js} +0 -0
|
@@ -5,28 +5,28 @@ import {
|
|
|
5
5
|
pickDefined,
|
|
6
6
|
printCliError,
|
|
7
7
|
resolveCliContext
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-G63IH3ZK.js";
|
|
9
9
|
import {
|
|
10
10
|
hasFlag,
|
|
11
11
|
hasHelpArg
|
|
12
|
-
} from "./chunk-
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
12
|
+
} from "./chunk-5Y5KEB7V.js";
|
|
13
|
+
import "./chunk-FMYTM25W.js";
|
|
14
|
+
import "./chunk-WVDAUR2S.js";
|
|
15
15
|
import "./chunk-VHBWHNVT.js";
|
|
16
16
|
import "./chunk-VF4K2QE6.js";
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
17
|
+
import "./chunk-AFNJWHKL.js";
|
|
18
|
+
import "./chunk-4N7QA72L.js";
|
|
19
19
|
import "./chunk-ZNFJWEN4.js";
|
|
20
20
|
import "./chunk-OIQPORYI.js";
|
|
21
|
-
import "./chunk-
|
|
21
|
+
import "./chunk-LZYEWFPK.js";
|
|
22
22
|
import "./chunk-LSFAWXKC.js";
|
|
23
23
|
import "./chunk-ASZ2C44S.js";
|
|
24
24
|
import "./chunk-KFEVY3ST.js";
|
|
25
|
-
import "./chunk-
|
|
25
|
+
import "./chunk-ZVDRAEZL.js";
|
|
26
26
|
import "./chunk-B4KT7RN2.js";
|
|
27
|
-
import "./chunk-
|
|
27
|
+
import "./chunk-OELQ67TN.js";
|
|
28
28
|
import "./chunk-5MMAK75Q.js";
|
|
29
|
-
import "./chunk-
|
|
29
|
+
import "./chunk-66X4VSRC.js";
|
|
30
30
|
import "./chunk-5CS33IBL.js";
|
|
31
31
|
import "./chunk-JZPBVBIY.js";
|
|
32
32
|
import "./chunk-ZHXJ6M7T.js";
|
|
@@ -39,8 +39,8 @@ import {
|
|
|
39
39
|
readOption
|
|
40
40
|
} from "./chunk-A7GB5UGH.js";
|
|
41
41
|
import "./chunk-OLZBQWZU.js";
|
|
42
|
-
import "./chunk-
|
|
43
|
-
import "./chunk-
|
|
42
|
+
import "./chunk-RK5NYQEL.js";
|
|
43
|
+
import "./chunk-O6W2O2DA.js";
|
|
44
44
|
import "./chunk-KX6YBIHG.js";
|
|
45
45
|
import "./chunk-IWLUTMYX.js";
|
|
46
46
|
import "./chunk-3S2VOMIF.js";
|
|
@@ -4,28 +4,28 @@ import {
|
|
|
4
4
|
outputResult,
|
|
5
5
|
printCliError,
|
|
6
6
|
resolveCliContext
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-G63IH3ZK.js";
|
|
8
8
|
import {
|
|
9
9
|
hasFlag,
|
|
10
10
|
hasHelpArg
|
|
11
|
-
} from "./chunk-
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
11
|
+
} from "./chunk-5Y5KEB7V.js";
|
|
12
|
+
import "./chunk-FMYTM25W.js";
|
|
13
|
+
import "./chunk-WVDAUR2S.js";
|
|
14
14
|
import "./chunk-VHBWHNVT.js";
|
|
15
15
|
import "./chunk-VF4K2QE6.js";
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-
|
|
16
|
+
import "./chunk-AFNJWHKL.js";
|
|
17
|
+
import "./chunk-4N7QA72L.js";
|
|
18
18
|
import "./chunk-ZNFJWEN4.js";
|
|
19
19
|
import "./chunk-OIQPORYI.js";
|
|
20
|
-
import "./chunk-
|
|
20
|
+
import "./chunk-LZYEWFPK.js";
|
|
21
21
|
import "./chunk-LSFAWXKC.js";
|
|
22
22
|
import "./chunk-ASZ2C44S.js";
|
|
23
23
|
import "./chunk-KFEVY3ST.js";
|
|
24
|
-
import "./chunk-
|
|
24
|
+
import "./chunk-ZVDRAEZL.js";
|
|
25
25
|
import "./chunk-B4KT7RN2.js";
|
|
26
|
-
import "./chunk-
|
|
26
|
+
import "./chunk-OELQ67TN.js";
|
|
27
27
|
import "./chunk-5MMAK75Q.js";
|
|
28
|
-
import "./chunk-
|
|
28
|
+
import "./chunk-66X4VSRC.js";
|
|
29
29
|
import "./chunk-5CS33IBL.js";
|
|
30
30
|
import "./chunk-JZPBVBIY.js";
|
|
31
31
|
import "./chunk-ZHXJ6M7T.js";
|
|
@@ -38,8 +38,8 @@ import {
|
|
|
38
38
|
readOption
|
|
39
39
|
} from "./chunk-A7GB5UGH.js";
|
|
40
40
|
import "./chunk-OLZBQWZU.js";
|
|
41
|
-
import "./chunk-
|
|
42
|
-
import "./chunk-
|
|
41
|
+
import "./chunk-RK5NYQEL.js";
|
|
42
|
+
import "./chunk-O6W2O2DA.js";
|
|
43
43
|
import "./chunk-KX6YBIHG.js";
|
|
44
44
|
import "./chunk-IWLUTMYX.js";
|
|
45
45
|
import "./chunk-3S2VOMIF.js";
|
|
@@ -5,28 +5,28 @@ import {
|
|
|
5
5
|
pickDefined,
|
|
6
6
|
printCliError,
|
|
7
7
|
resolveCliContext
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-G63IH3ZK.js";
|
|
9
9
|
import {
|
|
10
10
|
hasFlag,
|
|
11
11
|
hasHelpArg
|
|
12
|
-
} from "./chunk-
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
12
|
+
} from "./chunk-5Y5KEB7V.js";
|
|
13
|
+
import "./chunk-FMYTM25W.js";
|
|
14
|
+
import "./chunk-WVDAUR2S.js";
|
|
15
15
|
import "./chunk-VHBWHNVT.js";
|
|
16
16
|
import "./chunk-VF4K2QE6.js";
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
17
|
+
import "./chunk-AFNJWHKL.js";
|
|
18
|
+
import "./chunk-4N7QA72L.js";
|
|
19
19
|
import "./chunk-ZNFJWEN4.js";
|
|
20
20
|
import "./chunk-OIQPORYI.js";
|
|
21
|
-
import "./chunk-
|
|
21
|
+
import "./chunk-LZYEWFPK.js";
|
|
22
22
|
import "./chunk-LSFAWXKC.js";
|
|
23
23
|
import "./chunk-ASZ2C44S.js";
|
|
24
24
|
import "./chunk-KFEVY3ST.js";
|
|
25
|
-
import "./chunk-
|
|
25
|
+
import "./chunk-ZVDRAEZL.js";
|
|
26
26
|
import "./chunk-B4KT7RN2.js";
|
|
27
|
-
import "./chunk-
|
|
27
|
+
import "./chunk-OELQ67TN.js";
|
|
28
28
|
import "./chunk-5MMAK75Q.js";
|
|
29
|
-
import "./chunk-
|
|
29
|
+
import "./chunk-66X4VSRC.js";
|
|
30
30
|
import "./chunk-5CS33IBL.js";
|
|
31
31
|
import "./chunk-JZPBVBIY.js";
|
|
32
32
|
import "./chunk-ZHXJ6M7T.js";
|
|
@@ -39,8 +39,8 @@ import {
|
|
|
39
39
|
readOption
|
|
40
40
|
} from "./chunk-A7GB5UGH.js";
|
|
41
41
|
import "./chunk-OLZBQWZU.js";
|
|
42
|
-
import "./chunk-
|
|
43
|
-
import "./chunk-
|
|
42
|
+
import "./chunk-RK5NYQEL.js";
|
|
43
|
+
import "./chunk-O6W2O2DA.js";
|
|
44
44
|
import "./chunk-KX6YBIHG.js";
|
|
45
45
|
import "./chunk-IWLUTMYX.js";
|
|
46
46
|
import "./chunk-3S2VOMIF.js";
|
|
@@ -5,28 +5,28 @@ import {
|
|
|
5
5
|
pickDefined,
|
|
6
6
|
printCliError,
|
|
7
7
|
resolveCliContext
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-G63IH3ZK.js";
|
|
9
9
|
import {
|
|
10
10
|
hasFlag,
|
|
11
11
|
hasHelpArg
|
|
12
|
-
} from "./chunk-
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
12
|
+
} from "./chunk-5Y5KEB7V.js";
|
|
13
|
+
import "./chunk-FMYTM25W.js";
|
|
14
|
+
import "./chunk-WVDAUR2S.js";
|
|
15
15
|
import "./chunk-VHBWHNVT.js";
|
|
16
16
|
import "./chunk-VF4K2QE6.js";
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
17
|
+
import "./chunk-AFNJWHKL.js";
|
|
18
|
+
import "./chunk-4N7QA72L.js";
|
|
19
19
|
import "./chunk-ZNFJWEN4.js";
|
|
20
20
|
import "./chunk-OIQPORYI.js";
|
|
21
|
-
import "./chunk-
|
|
21
|
+
import "./chunk-LZYEWFPK.js";
|
|
22
22
|
import "./chunk-LSFAWXKC.js";
|
|
23
23
|
import "./chunk-ASZ2C44S.js";
|
|
24
24
|
import "./chunk-KFEVY3ST.js";
|
|
25
|
-
import "./chunk-
|
|
25
|
+
import "./chunk-ZVDRAEZL.js";
|
|
26
26
|
import "./chunk-B4KT7RN2.js";
|
|
27
|
-
import "./chunk-
|
|
27
|
+
import "./chunk-OELQ67TN.js";
|
|
28
28
|
import "./chunk-5MMAK75Q.js";
|
|
29
|
-
import "./chunk-
|
|
29
|
+
import "./chunk-66X4VSRC.js";
|
|
30
30
|
import "./chunk-5CS33IBL.js";
|
|
31
31
|
import "./chunk-JZPBVBIY.js";
|
|
32
32
|
import "./chunk-ZHXJ6M7T.js";
|
|
@@ -39,8 +39,8 @@ import {
|
|
|
39
39
|
readOption
|
|
40
40
|
} from "./chunk-A7GB5UGH.js";
|
|
41
41
|
import "./chunk-OLZBQWZU.js";
|
|
42
|
-
import "./chunk-
|
|
43
|
-
import "./chunk-
|
|
42
|
+
import "./chunk-RK5NYQEL.js";
|
|
43
|
+
import "./chunk-O6W2O2DA.js";
|
|
44
44
|
import "./chunk-KX6YBIHG.js";
|
|
45
45
|
import "./chunk-IWLUTMYX.js";
|
|
46
46
|
import "./chunk-3S2VOMIF.js";
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
parseFlagWithOptionalValue,
|
|
7
7
|
runCloudflareOAuthLogin,
|
|
8
8
|
upsertEnvVariable
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-QLWU2KOT.js";
|
|
10
10
|
import "./chunk-6HYVJV7B.js";
|
|
11
11
|
import {
|
|
12
12
|
generatePkcePair,
|
|
@@ -17,10 +17,10 @@ import {
|
|
|
17
17
|
runXaiOAuthDeviceCode,
|
|
18
18
|
runXaiOAuthLogin,
|
|
19
19
|
startCallbackServer
|
|
20
|
-
} from "./chunk-
|
|
21
|
-
import "./chunk-
|
|
22
|
-
import "./chunk-
|
|
23
|
-
import "./chunk-
|
|
20
|
+
} from "./chunk-J3VQSU5W.js";
|
|
21
|
+
import "./chunk-HSLJ7QER.js";
|
|
22
|
+
import "./chunk-ZVDRAEZL.js";
|
|
23
|
+
import "./chunk-66X4VSRC.js";
|
|
24
24
|
import {
|
|
25
25
|
createOAuthTokenStore
|
|
26
26
|
} from "./chunk-JZPBVBIY.js";
|
|
@@ -37,7 +37,7 @@ import {
|
|
|
37
37
|
} from "./chunk-ROWQEJRP.js";
|
|
38
38
|
import "./chunk-A7GB5UGH.js";
|
|
39
39
|
import "./chunk-OLZBQWZU.js";
|
|
40
|
-
import "./chunk-
|
|
40
|
+
import "./chunk-O6W2O2DA.js";
|
|
41
41
|
import "./chunk-O4BU24WZ.js";
|
|
42
42
|
import "./chunk-I42VC5KR.js";
|
|
43
43
|
import "./chunk-WWC7I6TA.js";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
listUserRecordsFromServers,
|
|
3
3
|
readLiveDbRecordAfterTombstoneMerge
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-F6JSVFHX.js";
|
|
5
5
|
import {
|
|
6
6
|
agentRecordHasConfiguredCredential
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-FMYTM25W.js";
|
|
8
8
|
import {
|
|
9
9
|
toSafeAgentSummary
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-IFPY2BIE.js";
|
|
11
11
|
|
|
12
12
|
// packages/cli/agentListHelpers.ts
|
|
13
13
|
function parseAgentRecordId(privateKey, explicitId) {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createCliLocalRuntimeAdapter,
|
|
3
3
|
summarizeEndpoint
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-XECKIDGJ.js";
|
|
5
5
|
import {
|
|
6
6
|
clipMultilineText
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-7HECYFOI.js";
|
|
8
8
|
import {
|
|
9
9
|
runLocalAgentTurn
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-LZYEWFPK.js";
|
|
11
11
|
import {
|
|
12
12
|
resolveLocalRuntimeEnvFromPolicy
|
|
13
13
|
} from "./chunk-5CS33IBL.js";
|
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
resolvePlatformAuthToken,
|
|
24
24
|
resolvePlatformServerUrl,
|
|
25
25
|
resolveProviderTransportDecision
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-ZVDRAEZL.js";
|
|
27
27
|
import {
|
|
28
28
|
clipCompactText
|
|
29
29
|
} from "./chunk-5MMAK75Q.js";
|
|
@@ -301,9 +301,6 @@ function buildPlatformChatCompletionRequest(args) {
|
|
|
301
301
|
}
|
|
302
302
|
};
|
|
303
303
|
}
|
|
304
|
-
function resolveLegacyDeepSeekProxyChatFallback(args) {
|
|
305
|
-
return void 0;
|
|
306
|
-
}
|
|
307
304
|
function tryParseJson(raw) {
|
|
308
305
|
try {
|
|
309
306
|
return JSON.parse(raw);
|
|
@@ -416,7 +413,6 @@ export {
|
|
|
416
413
|
readSseDataValues,
|
|
417
414
|
resolvePlatformChatProviderConfig,
|
|
418
415
|
buildPlatformChatCompletionRequest,
|
|
419
|
-
resolveLegacyDeepSeekProxyChatFallback,
|
|
420
416
|
parsePlatformChatCompletionData,
|
|
421
417
|
parsePlatformChatCompletionResponse,
|
|
422
418
|
canUsePlatformChatProvider2 as canUsePlatformChatProvider,
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
platformHostedModels,
|
|
16
16
|
xaiModels,
|
|
17
17
|
zaiModels
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-O6W2O2DA.js";
|
|
19
19
|
import {
|
|
20
20
|
__export
|
|
21
21
|
} from "./chunk-4VNS5WPM.js";
|
|
@@ -4777,8 +4777,9 @@ var API_ENDPOINTS = {
|
|
|
4777
4777
|
default: "https://api.x.ai/v1/chat/completions"
|
|
4778
4778
|
},
|
|
4779
4779
|
deepseek: {
|
|
4780
|
-
|
|
4781
|
-
|
|
4780
|
+
// No `responses` entry: the official DeepSeek provider was retired and no
|
|
4781
|
+
// deepseek model declares endpointKey "responses", so it was unreachable.
|
|
4782
|
+
default: "https://api.deepseek.com/chat/completions"
|
|
4782
4783
|
},
|
|
4783
4784
|
deepinfra: {
|
|
4784
4785
|
default: "https://api.deepinfra.com/v1/openai/chat/completions"
|
|
@@ -8,14 +8,14 @@ import {
|
|
|
8
8
|
import {
|
|
9
9
|
sortSafeAgentSummaries,
|
|
10
10
|
toSafeAgentSummary
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-IFPY2BIE.js";
|
|
12
12
|
import {
|
|
13
13
|
getUserDataItemTimestamp,
|
|
14
14
|
mergeAndDedupUserData
|
|
15
15
|
} from "./chunk-KQHGZWSV.js";
|
|
16
16
|
import {
|
|
17
17
|
createDocState
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-GWESD7AS.js";
|
|
19
19
|
import {
|
|
20
20
|
readDocFunc,
|
|
21
21
|
readDocFunctionSchema,
|
|
@@ -37,7 +37,7 @@ import {
|
|
|
37
37
|
} from "./chunk-VF4K2QE6.js";
|
|
38
38
|
import {
|
|
39
39
|
createDialogAction
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-SGRDLYRZ.js";
|
|
41
41
|
import {
|
|
42
42
|
buildSkillDocMarkdown,
|
|
43
43
|
normalizeSkillBudgetTier,
|
|
@@ -76,13 +76,13 @@ import {
|
|
|
76
76
|
updateContentCategory,
|
|
77
77
|
updateContentTitle,
|
|
78
78
|
updateStep
|
|
79
|
-
} from "./chunk-
|
|
79
|
+
} from "./chunk-LSHKV3S7.js";
|
|
80
80
|
import {
|
|
81
81
|
createAgent,
|
|
82
82
|
runLlm,
|
|
83
83
|
streamAgentChatTurn,
|
|
84
84
|
updateAgent
|
|
85
|
-
} from "./chunk-
|
|
85
|
+
} from "./chunk-BHVBFI6B.js";
|
|
86
86
|
import {
|
|
87
87
|
NOLO_WORKSPACE_TOOL_NAMES,
|
|
88
88
|
buildNoloSubjectRefQueryTarget,
|
|
@@ -101,10 +101,10 @@ import {
|
|
|
101
101
|
} from "./chunk-B4KT7RN2.js";
|
|
102
102
|
import {
|
|
103
103
|
buildDatabaseFileContentUrl
|
|
104
|
-
} from "./chunk-
|
|
104
|
+
} from "./chunk-OELQ67TN.js";
|
|
105
105
|
import {
|
|
106
106
|
DEFAULT_MODEL
|
|
107
|
-
} from "./chunk-
|
|
107
|
+
} from "./chunk-66X4VSRC.js";
|
|
108
108
|
import {
|
|
109
109
|
ToolApiError,
|
|
110
110
|
buildToolRequestHeaders,
|
|
@@ -11483,7 +11483,7 @@ var HOSTED_EXEC_RUNTIME_TOOL_POLICY = {
|
|
|
11483
11483
|
workspace: { mode: "lease" }
|
|
11484
11484
|
};
|
|
11485
11485
|
var findModelConfig = async (modelName, provider) => {
|
|
11486
|
-
const { ALL_MODELS } = await import("./models-
|
|
11486
|
+
const { ALL_MODELS } = await import("./models-5K5G2CZI.js");
|
|
11487
11487
|
const name = toTrimmedString(modelName);
|
|
11488
11488
|
const prov = toTrimmedString(provider ?? "");
|
|
11489
11489
|
if (!name) return null;
|
|
@@ -11724,7 +11724,7 @@ var buildFormDataFromArgs = async (args) => {
|
|
|
11724
11724
|
const trimmedModel = toTrimmedString(model);
|
|
11725
11725
|
const trimmedProvider = toTrimmedString(provider);
|
|
11726
11726
|
const modelConfig = await findModelConfig(trimmedModel, trimmedProvider);
|
|
11727
|
-
const { getModelPricing } = await import("./getPricing-
|
|
11727
|
+
const { getModelPricing } = await import("./getPricing-P4XRJRZB.js");
|
|
11728
11728
|
const normalizedTools = tools ?? [];
|
|
11729
11729
|
const resolvedRuntimeToolPolicy = runtimeToolPolicy ?? (normalizedTools.includes("execShell") ? HOSTED_EXEC_RUNTIME_TOOL_POLICY : void 0);
|
|
11730
11730
|
const formData = {
|
|
@@ -14154,7 +14154,7 @@ async function deleteDialogsFunc(args, thunkApi) {
|
|
|
14154
14154
|
const deletedDialogIds = [];
|
|
14155
14155
|
const deletedDialogKeys = [];
|
|
14156
14156
|
const failures = [];
|
|
14157
|
-
const { deleteDialog } = await import("./dialogSlice-
|
|
14157
|
+
const { deleteDialog } = await import("./dialogSlice-LNRRBUIC.js");
|
|
14158
14158
|
for (const target of targets) {
|
|
14159
14159
|
try {
|
|
14160
14160
|
await thunkApi.dispatch(deleteDialog(target.dbKey)).unwrap();
|
|
@@ -21951,6 +21951,14 @@ function isAgentNameFallback(agentName) {
|
|
|
21951
21951
|
const trimmed = typeof agentName === "string" ? agentName.trim() : "";
|
|
21952
21952
|
return !trimmed || trimmed === "agent";
|
|
21953
21953
|
}
|
|
21954
|
+
function resolveRunLabel(run) {
|
|
21955
|
+
for (const candidate of [run.agentName, run.name, run.agentKey, run.runId]) {
|
|
21956
|
+
if (typeof candidate === "string" && !isAgentNameFallback(candidate)) {
|
|
21957
|
+
return candidate.trim();
|
|
21958
|
+
}
|
|
21959
|
+
}
|
|
21960
|
+
return "agent";
|
|
21961
|
+
}
|
|
21954
21962
|
function formatStartRunCard(agentName, status = "running", labels) {
|
|
21955
21963
|
const L = resolveLabels(labels);
|
|
21956
21964
|
const icon = getAgentRunStatusIcon(status);
|
|
@@ -22001,8 +22009,7 @@ function formatListRunsCard(runs, labels) {
|
|
|
22001
22009
|
for (const run of runs) {
|
|
22002
22010
|
const status = run.status ?? "\u2014";
|
|
22003
22011
|
const icon = getAgentRunStatusIcon(status);
|
|
22004
|
-
|
|
22005
|
-
lines.push(` ${icon} ${name}`);
|
|
22012
|
+
lines.push(` ${icon} ${resolveRunLabel(run)}`);
|
|
22006
22013
|
}
|
|
22007
22014
|
return lines.join("\n");
|
|
22008
22015
|
}
|
|
@@ -22076,14 +22083,16 @@ async function startAgentRunFunc(args, thunkApi, _context) {
|
|
|
22076
22083
|
).unwrap();
|
|
22077
22084
|
const runId = bgResult.dialogId;
|
|
22078
22085
|
const status = bgResult.status ?? "pending";
|
|
22079
|
-
const
|
|
22086
|
+
const resolvedName = agentName?.trim() || bgResult.agentName || bgResult.name;
|
|
22087
|
+
const identity = { agentName: resolvedName, agentKey, runId };
|
|
22080
22088
|
return {
|
|
22081
22089
|
rawData: {
|
|
22082
22090
|
runId,
|
|
22083
22091
|
status,
|
|
22084
|
-
|
|
22092
|
+
agentKey,
|
|
22093
|
+
...resolvedName ? { agentName: resolvedName } : {}
|
|
22085
22094
|
},
|
|
22086
|
-
displayData: formatStartRunCard(
|
|
22095
|
+
displayData: formatStartRunCard(resolveRunLabel(identity), status)
|
|
22087
22096
|
};
|
|
22088
22097
|
} catch (e) {
|
|
22089
22098
|
throw new Error(`startAgentRun \u542F\u52A8 Agent [${agentKey}] \u5931\u8D25: ${toErrorMessage(e)}`);
|
|
@@ -22179,7 +22188,7 @@ async function handleStatus(thunkApi, opts) {
|
|
|
22179
22188
|
}
|
|
22180
22189
|
const run = resData.run;
|
|
22181
22190
|
const logLines = resData.logLines;
|
|
22182
|
-
const name = run
|
|
22191
|
+
const name = resolveRunLabel(run);
|
|
22183
22192
|
return {
|
|
22184
22193
|
rawData: { found: true, ...run, ...logLines ? { logLines } : {} },
|
|
22185
22194
|
displayData: formatStatusRunCard(name, run.status, {
|
|
@@ -23404,7 +23413,7 @@ var executeToolRun = createAsyncThunk(
|
|
|
23404
23413
|
if (!executionInput) {
|
|
23405
23414
|
throw new Error(`ToolRun ${id} has no input to execute with.`);
|
|
23406
23415
|
}
|
|
23407
|
-
const { findToolExecutor: findToolExecutor2 } = await import("./tools-
|
|
23416
|
+
const { findToolExecutor: findToolExecutor2 } = await import("./tools-E6FHKTCF.js");
|
|
23408
23417
|
const { executor } = findToolExecutor2(run.toolName);
|
|
23409
23418
|
toolRunStarted({
|
|
23410
23419
|
id: run.id,
|
|
@@ -23428,7 +23437,7 @@ var executeToolRun = createAsyncThunk(
|
|
|
23428
23437
|
const latestState = thunkApi.getState();
|
|
23429
23438
|
const userId = latestState.auth?.currentUser?.userId;
|
|
23430
23439
|
if (userId) {
|
|
23431
|
-
const { fetchUserSpaceMemberships } = await import("./spaceSlice-
|
|
23440
|
+
const { fetchUserSpaceMemberships } = await import("./spaceSlice-MC7FYPMZ.js");
|
|
23432
23441
|
await thunkApi.dispatch(fetchUserSpaceMemberships(userId));
|
|
23433
23442
|
}
|
|
23434
23443
|
}
|
|
@@ -25911,7 +25920,7 @@ async function updateDocFunc(args, thunkApi) {
|
|
|
25911
25920
|
updated_at: (/* @__PURE__ */ new Date()).toISOString()
|
|
25912
25921
|
};
|
|
25913
25922
|
await dispatch(write({ data: updatedPageData, customKey: id })).unwrap();
|
|
25914
|
-
const { getDocState, applyExternalDocUpdate } = await import("./docStore-
|
|
25923
|
+
const { getDocState, applyExternalDocUpdate } = await import("./docStore-67MYPX7P.js");
|
|
25915
25924
|
if (getDocState().pageKey === id) {
|
|
25916
25925
|
applyExternalDocUpdate({
|
|
25917
25926
|
slateData: finalSlateData,
|
|
@@ -28177,6 +28186,8 @@ export {
|
|
|
28177
28186
|
readXPostFunc,
|
|
28178
28187
|
readXhsProfileFunctionSchema,
|
|
28179
28188
|
readXhsProfileFunc,
|
|
28189
|
+
isAgentNameFallback,
|
|
28190
|
+
resolveRunLabel,
|
|
28180
28191
|
formatStartRunCard,
|
|
28181
28192
|
formatStatusRunCard,
|
|
28182
28193
|
formatStopRunCard,
|
|
@@ -4,10 +4,10 @@ import {
|
|
|
4
4
|
providerHttpFailure,
|
|
5
5
|
readSseFrames,
|
|
6
6
|
throwIfChatCompletionStreamFailed
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-4N7QA72L.js";
|
|
8
8
|
import {
|
|
9
9
|
parseToolArgumentsJson
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-LZYEWFPK.js";
|
|
11
11
|
import {
|
|
12
12
|
createThinkParserState,
|
|
13
13
|
createToolCallAccumulator,
|
|
@@ -26,7 +26,7 @@ import {
|
|
|
26
26
|
import {
|
|
27
27
|
buildProviderAuthHeaders,
|
|
28
28
|
buildProviderExecutionPlan
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-ZVDRAEZL.js";
|
|
30
30
|
import {
|
|
31
31
|
canonicalizeToolName,
|
|
32
32
|
createGlob,
|
|
@@ -5,10 +5,10 @@ import {
|
|
|
5
5
|
inlineImageUrlsForCustomProvider,
|
|
6
6
|
prepareTools,
|
|
7
7
|
shouldInlineImageUrlsForAgent
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-PEDT43JF.js";
|
|
9
9
|
import {
|
|
10
10
|
performFetchRequest
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-VAT72PDP.js";
|
|
12
12
|
import {
|
|
13
13
|
createSSEParser,
|
|
14
14
|
createToolRunId,
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
toolRunSetPending,
|
|
20
20
|
toolRunStarted,
|
|
21
21
|
toolRunSucceeded
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-7HECYFOI.js";
|
|
23
23
|
import {
|
|
24
24
|
getPublicImageAgentMode
|
|
25
25
|
} from "./chunk-VIDPVFP3.js";
|
|
@@ -29,13 +29,13 @@ import {
|
|
|
29
29
|
messageStreaming,
|
|
30
30
|
selectCurrentSpaceId,
|
|
31
31
|
updateToolMessage
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-LSHKV3S7.js";
|
|
33
33
|
import {
|
|
34
34
|
streamAgentChatTurn
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-BHVBFI6B.js";
|
|
36
36
|
import {
|
|
37
37
|
EMPTY_ASSISTANT_REPAIR_PROMPT
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-LZYEWFPK.js";
|
|
39
39
|
import {
|
|
40
40
|
accumulateToolCallDelta,
|
|
41
41
|
createThinkParserState,
|
|
@@ -47,10 +47,10 @@ import {
|
|
|
47
47
|
} from "./chunk-LSFAWXKC.js";
|
|
48
48
|
import {
|
|
49
49
|
getModelInfo
|
|
50
|
-
} from "./chunk-
|
|
50
|
+
} from "./chunk-OELQ67TN.js";
|
|
51
51
|
import {
|
|
52
52
|
getApiEndpoint
|
|
53
|
-
} from "./chunk-
|
|
53
|
+
} from "./chunk-66X4VSRC.js";
|
|
54
54
|
import {
|
|
55
55
|
extractCustomId
|
|
56
56
|
} from "./chunk-DFFIZ25G.js";
|
|
@@ -300,7 +300,7 @@ var slice = createSliceWithThunks({
|
|
|
300
300
|
const overrides = {};
|
|
301
301
|
if (args.systemPromptOverride !== void 0) overrides.prompt = args.systemPromptOverride;
|
|
302
302
|
if (args.toolsOverride !== void 0) overrides.tools = args.toolsOverride;
|
|
303
|
-
const { _executeModel } = await import("./_executeModel-
|
|
303
|
+
const { _executeModel } = await import("./_executeModel-ABTND4KZ.js");
|
|
304
304
|
return _executeModel(
|
|
305
305
|
{
|
|
306
306
|
isStreaming: args.isStreaming ?? false,
|
|
@@ -321,7 +321,7 @@ var slice = createSliceWithThunks({
|
|
|
321
321
|
* - 循环直到无工具调用或触发其他运行时停止条件
|
|
322
322
|
*/
|
|
323
323
|
runAgent: create.asyncThunk(async (args, thunkApi) => {
|
|
324
|
-
const { runAgentClientLoop } = await import("./runAgentClientLoop-
|
|
324
|
+
const { runAgentClientLoop } = await import("./runAgentClientLoop-2A577WBM.js");
|
|
325
325
|
const { content: loopContent, toolCallCount } = await runAgentClientLoop(
|
|
326
326
|
{
|
|
327
327
|
agentKey: args.agentKey,
|
|
@@ -337,7 +337,7 @@ var slice = createSliceWithThunks({
|
|
|
337
337
|
* 聊天轮次流式 Agent 调用
|
|
338
338
|
*/
|
|
339
339
|
streamAgentChatTurn: create.asyncThunk(async (args, thunkApi) => {
|
|
340
|
-
const { streamAgentChatTurnHandler } = await import("./streamAgentChatTurn-
|
|
340
|
+
const { streamAgentChatTurnHandler } = await import("./streamAgentChatTurn-IEKPNM33.js");
|
|
341
341
|
return streamAgentChatTurnHandler(args, thunkApi);
|
|
342
342
|
}),
|
|
343
343
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
updateContentTitle
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-LSHKV3S7.js";
|
|
4
4
|
import {
|
|
5
5
|
require_date_fns
|
|
6
6
|
} from "./chunk-M76ECQRD.js";
|
|
@@ -367,7 +367,7 @@ async function saveDocState(arg, { dispatch, getState }) {
|
|
|
367
367
|
}
|
|
368
368
|
}
|
|
369
369
|
async function createDocState(args, thunkApi) {
|
|
370
|
-
const { createPageAction } = await import("./createPageAction-
|
|
370
|
+
const { createPageAction } = await import("./createPageAction-2EFBT4LQ.js");
|
|
371
371
|
return createPageAction(args, thunkApi);
|
|
372
372
|
}
|
|
373
373
|
function subscribe(listener) {
|