nolo-cli 0.155.0-alpha.1 → 0.155.0
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-UWUM5QKW.js → _executeModel-3HHZYHHB.js} +54 -54
- package/{accountResolver-7RYB4D2P.js → accountResolver-55EDKEIK.js} +1 -1
- package/{action-SXJD5N5R.js → action-GPPJC5TI.js} +5 -5
- package/{addContentAction-65ONHX2T.js → addContentAction-XJQEJ4XW.js} +8 -8
- package/{addDialogAgentAction-WOLK7RB4.js → addDialogAgentAction-5WZX5CAY.js} +7 -7
- package/{agentDeleteCommand-FRPRYY4N.js → agentDeleteCommand-74EL5T7G.js} +74 -75
- package/{agentEmailCommands-TMP7BKVS.js → agentEmailCommands-ST7HL3E7.js} +77 -78
- package/{agentListCommands-G36AMSBR.js → agentListCommands-L33M3I6V.js} +35 -35
- package/{agentMachineCommands-CAWH6B4N.js → agentMachineCommands-JSQPNSS5.js} +34 -31
- package/{agentProviderCommands-X2HQE6HY.js → agentProviderCommands-CXBHNONN.js} +5 -5
- package/{agentPullCommand-FA43RBRU.js → agentPullCommand-GXXEDOSA.js} +4 -4
- package/{agentRecordCommands-NRUEGQO6.js → agentRecordCommands-JWW5NQQ7.js} +71 -72
- package/{agentRunCommand-MTUMHPBF.js → agentRunCommand-UTBBUSHP.js} +74 -74
- package/{agentRunControl-2C5GM3BW.js → agentRunControl-XBSNHHZE.js} +7 -7
- package/{agentRuntimeLocal-Q7ZOMZC7.js → agentRuntimeLocal-XCKO5FVP.js} +20 -18
- package/{agentSlice-RKEZWJZL.js → agentSlice-YT3VCCEW.js} +8 -8
- package/{appDeleteCommands-MMWT54BR.js → appDeleteCommands-2PJFNLAJ.js} +30 -28
- package/{appDeployCommands-OIFXVDOF.js → appDeployCommands-AZCMCMK6.js} +30 -28
- package/{appDeployStatusCommands-OTXMSDFB.js → appDeployStatusCommands-HSIKPVJN.js} +30 -28
- package/{appGetCommands-JPY36ANL.js → appGetCommands-IUZCPAP7.js} +30 -28
- package/{appListCommands-IHJGN36O.js → appListCommands-JLFVS44M.js} +30 -28
- package/{authCommand-J3XILHWW.js → authCommand-3Z52KJID.js} +22 -302
- package/{authCommands-77CHYBGF.js → authCommands-QOCKVPX3.js} +5 -5
- package/{builtinSkillRegistry-A6VSPJEJ.js → builtinSkillRegistry-LJV7FHNI.js} +4 -4
- package/{chromeCommands-OBBNJCLS.js → chromeCommands-IY4NVSXZ.js} +17 -10
- package/{chunk-SW4S4XYB.js → chunk-2AB2HA4M.js} +84 -34
- package/{chunk-FDT27L7S.js → chunk-2XDQAWBM.js} +18 -16
- package/{chunk-AHSHCC2V.js → chunk-2ZYCNT2O.js} +232 -76
- package/{chunk-QFEW2ULV.js → chunk-32ZKZET7.js} +1 -1
- package/{chunk-WHLTTNKZ.js → chunk-3GTVM7NJ.js} +22 -22
- package/{chunk-XPWGOTBQ.js → chunk-3L2WKC3W.js} +1 -8
- package/{chunk-LGCICX53.js → chunk-3L5MSPWX.js} +1 -1
- package/{chunk-4YRTZIVN.js → chunk-43OFVLWJ.js} +6 -6
- package/{chunk-6TF64IF2.js → chunk-4L4K6YR7.js} +16 -2
- package/{chunk-P5QACQDK.js → chunk-62TBKWTV.js} +1 -1
- package/{chunk-TRW43TSC.js → chunk-6EQD4AQL.js} +41 -1
- package/{chunk-YLMMECCH.js → chunk-6XIE5ZGI.js} +1 -1
- package/{chunk-UUPR3TD7.js → chunk-7RF4O6AT.js} +1 -3
- package/{chunk-OGI4JKBD.js → chunk-BAWAKW7X.js} +2 -2
- package/{chunk-2GGXHQIW.js → chunk-BLVSFYQ3.js} +4 -2
- package/{chunk-XZ6QGCBU.js → chunk-BMCPKNL2.js} +7 -7
- package/{chunk-RYCZTKFM.js → chunk-BO3ARJRK.js} +825 -688
- package/{chunk-A7HQF6YH.js → chunk-CDLP56BS.js} +9 -9
- package/{chunk-5MM7NNO6.js → chunk-CNWKLQRL.js} +8 -3
- package/{chunk-ITECOZFT.js → chunk-CXCMXNME.js} +134 -126
- package/{chunk-TJ2VPCBE.js → chunk-DD2EOI6S.js} +2 -2
- package/{chunk-36OMEXXR.js → chunk-DLV3H464.js} +8 -8
- package/{chunk-KO4VPOIN.js → chunk-DT7EWFTY.js} +6 -6
- package/{chunk-C5DLHL3R.js → chunk-ESMZW5PE.js} +3 -3
- package/{chunk-PSJWPSKS.js → chunk-EWO77ZGF.js} +9 -43
- package/{chunk-ZWG3C7VI.js → chunk-F3SOW2EU.js} +81 -1
- package/{chunk-ZJWUXAJ7.js → chunk-F5WASHQA.js} +271 -138
- package/{chunk-VOEJ7EMJ.js → chunk-FB5WLEOD.js} +21 -17
- package/{chunk-TENH5FPC.js → chunk-FCUKCVKN.js} +12 -8
- package/{chunk-FY4SDK2E.js → chunk-FDLDMJTM.js} +1 -1
- package/{chunk-EM3YOZJ4.js → chunk-FFHV45HO.js} +3 -3
- package/{chunk-D3AN5D3L.js → chunk-FZYKQFBQ.js} +3 -3
- package/{chunk-7KYVUFDG.js → chunk-G3VYRPTV.js} +5 -267
- package/{chunk-6MJNEXUU.js → chunk-HGDKT2D6.js} +4 -0
- package/{chunk-2KKTIPQ3.js → chunk-HW7EBEC5.js} +35 -207
- package/{chunk-B2EGWZJG.js → chunk-I7S63QUU.js} +1 -1
- package/{chunk-PDJ6ZODI.js → chunk-IF7V3CBU.js} +1 -1
- package/{chunk-T6CBQ6BN.js → chunk-INFHX73M.js} +1 -1
- package/{chunk-YBNHPX4S.js → chunk-IW64YHXL.js} +155 -31
- package/{chunk-RV3PVWWL.js → chunk-JDKSYQQN.js} +5 -5
- package/{chunk-K43ZF2C3.js → chunk-JPPQ3GUO.js} +1 -1
- package/{chunk-VEJFPTX7.js → chunk-JWEXJ573.js} +3 -3
- package/{chunk-ZG73GDYU.js → chunk-K25WQPP3.js} +253 -57
- package/{chunk-HKT6QXP3.js → chunk-KABQ74UQ.js} +5 -5
- package/{chunk-I2ZMGXXF.js → chunk-KFHREHUQ.js} +1 -1
- package/{chunk-3C2QLERX.js → chunk-KMDDG73K.js} +1 -1
- package/{chunk-AIZE5TDM.js → chunk-MAYW6V3E.js} +2 -2
- package/{chunk-IPAW7XLD.js → chunk-MFVOJ6KF.js} +2 -2
- package/{chunk-CBHGZRCE.js → chunk-MYOH447Z.js} +1 -1
- package/{chunk-TPG4CZHI.js → chunk-NHEWV5FD.js} +17 -3
- package/{chunk-G47IPDOK.js → chunk-O2IWR23M.js} +1 -1
- package/{chunk-H3KW6W64.js → chunk-OLVOR45M.js} +2 -2
- package/{chunk-OHUFHV3U.js → chunk-OWCHFPWR.js} +17 -16
- package/{chunk-SUKSWFLP.js → chunk-PIG2IUVZ.js} +1 -1
- package/{chunk-SEJ5OS6F.js → chunk-PXYBUFDB.js} +4 -0
- package/{chunk-2MTE2PEH.js → chunk-QA2C5NKI.js} +5 -739
- package/{chunk-TYND6RDQ.js → chunk-QI2WVWXV.js} +73 -2
- package/{chunk-L6EQV5OC.js → chunk-QXZH5UDF.js} +3 -3
- package/{chunk-4ZSZP7PY.js → chunk-QZIOZDM6.js} +10 -10
- package/{chunk-K2XCMQMM.js → chunk-R2KWTENX.js} +3 -3
- package/{chunk-TNIX77YM.js → chunk-R5GO3YZP.js} +34 -1
- package/{chunk-UTIMX333.js → chunk-RIHQGFFA.js} +1 -1
- package/{chunk-4Z245KOA.js → chunk-SH3XD4E2.js} +8 -4
- package/{chunk-MM3662RS.js → chunk-SNAWGDXT.js} +263 -4
- package/{chunk-JGRPBIZZ.js → chunk-SQX235S2.js} +1 -1
- package/chunk-TT644UJD.js +188 -0
- package/{chunk-IYBIRCQV.js → chunk-U34KT53V.js} +29 -11
- package/{chunk-ANJTRG52.js → chunk-ULQAD7ZY.js} +18 -43
- package/{chunk-I2RMFLLH.js → chunk-V7PCFWX3.js} +1 -1
- package/{chunk-KX6LPG7W.js → chunk-VXS4YYJ2.js} +8 -8
- package/{chunk-HXHSTRGH.js → chunk-VYNMQ6HW.js} +0 -27
- package/{chunk-IJERIUXS.js → chunk-WRCZXJ4N.js} +6 -3
- package/chunk-Y5GCAMGP.js +9 -0
- package/{chunk-JZX2XLKC.js → chunk-YCRROBDY.js} +1 -1
- package/{chunk-EYWJT7A2.js → chunk-YPG7TUQD.js} +3 -3
- package/chunk-YR47Y7CN.js +2685 -0
- package/{chunk-NS2WBMJT.js → chunk-ZAV4YVEA.js} +18 -2
- package/{chunk-YANF2RR4.js → chunk-ZPKUJROL.js} +1 -1
- package/{commandRegistry-O335ZA5D.js → commandRegistry-HPL2KOVB.js} +88 -96
- package/{contentThunks-6GWTLD5V.js → contentThunks-QBL5NK2W.js} +21 -21
- package/{createAgentAutomationAction-3WJWXWWA.js → createAgentAutomationAction-5UWBLR2N.js} +21 -21
- package/{createDialogAction-VEX236QX.js → createDialogAction-NJ2LE7KC.js} +25 -25
- package/{createPageAction-65CX7QH6.js → createPageAction-7T3RINS2.js} +24 -25
- package/{dbSlice-S2HYXURM.js → dbSlice-6PVPY44C.js} +7 -7
- package/{deleteFile-6JWDDRVP.js → deleteFile-YM6NDPAR.js} +5 -5
- package/{dialogCommands-H3K7PTF6.js → dialogCommands-KMECTGCW.js} +34 -31
- package/{dialogSlice-AHU5PNUQ.js → dialogSlice-GQMTD4HR.js} +20 -20
- package/{dist-NJC2W7I4.js → dist-Q2JSMAKA.js} +7 -361
- package/{docCreateCommands-KP64KMVL.js → docCreateCommands-4IT5PUAL.js} +31 -29
- package/{docDeleteCommands-C3F4SZSR.js → docDeleteCommands-QS66YNZV.js} +32 -30
- package/{docReadCommands-7H6BDOUR.js → docReadCommands-3SAI46YC.js} +31 -29
- package/{docStore-WROLAUBT.js → docStore-PM5PYKPZ.js} +8 -8
- package/{docUpdateCommands-JDW4BRBH.js → docUpdateCommands-OGYG5BRC.js} +31 -29
- package/{getPricing-TX35D7PI.js → getPricing-XQ3N3RBP.js} +2 -2
- package/{handleSendMessageAction-OK3GHWHR.js → handleSendMessageAction-EQ3U6K5N.js} +43 -39
- package/index.js +8 -8
- package/{localRuntimeAdapter-ARIAVQ4O.js → localRuntimeAdapter-74L7FLMW.js} +69 -68
- package/{localRuntimeAuthority-JDAD7CB6.js → localRuntimeAuthority-BPN5OAQG.js} +2 -2
- package/{localRuntimeDb-CVC62PM5.js → localRuntimeDb-QIVAXMUL.js} +1 -1
- package/{machineCommands-ZTAJYKQM.js → machineCommands-BUZTMLYD.js} +79 -78
- package/{machineWsRunDispatch-JIODLHZZ.js → machineWsRunDispatch-CCDVG5AO.js} +69 -70
- package/{memberThunks-VPTET5M2.js → memberThunks-AZINUM4S.js} +10 -10
- package/package.json +6 -2
- package/{profileConfig-ZGOFORWV.js → profileConfig-KN3N2BLF.js} +7 -1
- package/{providerPresetApply-CRZFMQD5.js → providerPresetApply-PKUOHQJT.js} +5 -5
- package/{providerRegistry-7IS43D3X.js → providerRegistry-HNQLIFN2.js} +5 -5
- package/{read-VMMIHEAK.js → read-7JPIWRBQ.js} +5 -5
- package/{readDocTool-4XSLKYSQ.js → readDocTool-AAQTB2Y3.js} +1 -1
- package/{readlineWorkspace-24O4OG6C.js → readlineWorkspace-MS2ZIQ2P.js} +374 -199
- package/{removeDialogAgentAction-YIV37ENV.js → removeDialogAgentAction-RMVRILLK.js} +9 -9
- package/{runAgentClientLoop-WWE753AB.js → runAgentClientLoop-EXIQDX7G.js} +58 -53
- package/{runtimeDoctorCommands-56NWKNON.js → runtimeDoctorCommands-MMCP4B4U.js} +12 -12
- package/{secretCommands-ZXZRLR3R.js → secretCommands-DNY56NSU.js} +11 -1
- package/{setDialogExtraReferencesAction-FWVD656I.js → setDialogExtraReferencesAction-L3V7JTMG.js} +8 -8
- package/{setPrimaryDialogAgentAction-HIPQTT6N.js → setPrimaryDialogAgentAction-X52JQGTJ.js} +9 -9
- package/settingThunks-N6XFWPOU.js +923 -0
- package/{spaceCommands-JQN7D4FE.js → spaceCommands-WQMUCGV7.js} +28 -26
- package/{streamAgentChatTurn-YD65RR4J.js → streamAgentChatTurn-DI2334G3.js} +153 -94
- package/{switchDialogAgentAction-SLTPB635.js → switchDialogAgentAction-ZJ5CGU7J.js} +7 -7
- package/{tableCommands-U3QDY4L6.js → tableCommands-IVC5S7Y3.js} +11 -11
- package/{toolApiClient-7WSJJJBV.js → toolApiClient-HGNO53TC.js} +2 -2
- package/{tools-ZDLAPPTQ.js → tools-23VQGJOX.js} +42 -43
- package/{tuiSummaryLlmCaller-KLK6K3Q3.js → tuiSummaryLlmCaller-FESHBDTT.js} +7 -7
- package/{updateCommands-NQXAGFM7.js → updateCommands-FJHGWD3Q.js} +5 -3
- package/{updateDialogTitleAction-RQEO5PNQ.js → updateDialogTitleAction-AGAYHWS7.js} +21 -21
- package/{workloadLifecycle-36DXRZKU.js → workloadLifecycle-6O6PMISX.js} +2 -2
- package/chunk-GW7LIREE.js +0 -7012
- package/chunk-IA7TRNNR.js +0 -11
- package/chunk-UKZX3NHN.js +0 -48
- package/chunk-W4S6OTSC.js +0 -35
- package/clipboardy-GCO3GT3I.js +0 -11793
- package/settingThunks-SB37UY4C.js +0 -1371
- package/{agentGrantCommands-HOJ3JBBQ.js → agentGrantCommands-5DPHYEKP.js} +3 -3
- package/{chromeOpsCommands-3Z34RKSE.js → chromeOpsCommands-GZVVK7HU.js} +4 -4
- package/{chunk-XETG4RIX.js → chunk-AETZ7AD6.js} +4 -4
- package/{chunk-2IXDJNZI.js → chunk-GAGGEA7D.js} +3 -3
- package/{memoryCommands-CUNBFRVS.js → memoryCommands-ZS3VQJAL.js} +3 -3
- package/{offlineMarxistsAgentCommand-2QTHJCHV.js → offlineMarxistsAgentCommand-3GLX4QQY.js} +3 -3
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
buildStaticUserPolicyContext,
|
|
3
3
|
resolveSpaceContextPreloadPlan
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-INFHX73M.js";
|
|
5
5
|
import {
|
|
6
6
|
fetchReferenceContents,
|
|
7
7
|
mergeReferences,
|
|
8
8
|
resolveReferenceAssets,
|
|
9
9
|
resolveToolsFromKeys
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-QZIOZDM6.js";
|
|
11
11
|
import {
|
|
12
12
|
UI_CARD_ENVELOPE_MAX_BYTES,
|
|
13
13
|
getAllToolRuns,
|
|
@@ -20,27 +20,27 @@ import {
|
|
|
20
20
|
selectSpaceContextLevel,
|
|
21
21
|
selectUserTonePreset,
|
|
22
22
|
uiCardFallback
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-FCUKCVKN.js";
|
|
24
24
|
import {
|
|
25
25
|
resolveToolBaseUrl
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-MYOH447Z.js";
|
|
27
27
|
import {
|
|
28
28
|
getFinalPrice,
|
|
29
29
|
getModelPricing,
|
|
30
30
|
getPrices,
|
|
31
31
|
hasExplicitAgentPricing
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-ZPKUJROL.js";
|
|
33
33
|
import {
|
|
34
34
|
getDocState
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-R2KWTENX.js";
|
|
36
36
|
import {
|
|
37
37
|
getTableState
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-YR47Y7CN.js";
|
|
39
39
|
import {
|
|
40
40
|
PERSONALIZATION_DIALOG_CATEGORY,
|
|
41
41
|
buildPersonalizationDialogPolicyContext,
|
|
42
42
|
selectAllMsgs
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-F5WASHQA.js";
|
|
44
44
|
import {
|
|
45
45
|
getCurrentSpaceIdRaw,
|
|
46
46
|
getViewMode
|
|
@@ -51,12 +51,12 @@ import {
|
|
|
51
51
|
import {
|
|
52
52
|
read,
|
|
53
53
|
selectById
|
|
54
|
-
} from "./chunk-
|
|
54
|
+
} from "./chunk-CDLP56BS.js";
|
|
55
55
|
import {
|
|
56
56
|
getSessionSnapshotForState,
|
|
57
57
|
selectIdentityUserBalance,
|
|
58
58
|
selectIdentityUserId
|
|
59
|
-
} from "./chunk-
|
|
59
|
+
} from "./chunk-PXYBUFDB.js";
|
|
60
60
|
import {
|
|
61
61
|
TOOL_PACKS,
|
|
62
62
|
addDefaultSystemCapabilityTools,
|
|
@@ -66,27 +66,31 @@ import {
|
|
|
66
66
|
expandEnabledPackPromptPatches,
|
|
67
67
|
expandEnabledPacks,
|
|
68
68
|
resolveEffectiveEnabledPacks
|
|
69
|
-
} from "./chunk-
|
|
69
|
+
} from "./chunk-YCRROBDY.js";
|
|
70
70
|
import {
|
|
71
71
|
projectToolMessageContent
|
|
72
|
-
} from "./chunk-
|
|
72
|
+
} from "./chunk-U34KT53V.js";
|
|
73
73
|
import {
|
|
74
74
|
attachmentKind,
|
|
75
75
|
normalizeAttachmentPart
|
|
76
76
|
} from "./chunk-WJZOQR2J.js";
|
|
77
77
|
import {
|
|
78
78
|
extractReferenceKeysFromMessage
|
|
79
|
-
} from "./chunk-
|
|
79
|
+
} from "./chunk-F3SOW2EU.js";
|
|
80
80
|
import {
|
|
81
81
|
getModelContextWindow,
|
|
82
82
|
planContextUsage
|
|
83
|
-
} from "./chunk-
|
|
83
|
+
} from "./chunk-QA2C5NKI.js";
|
|
84
84
|
import {
|
|
85
85
|
asRecordOrEmpty
|
|
86
86
|
} from "./chunk-KX6YBIHG.js";
|
|
87
87
|
import {
|
|
88
88
|
isAbortError
|
|
89
89
|
} from "./chunk-7DPNBQSV.js";
|
|
90
|
+
import {
|
|
91
|
+
buildLinkedSpacesSection,
|
|
92
|
+
buildSpaceContextLayer
|
|
93
|
+
} from "./chunk-VEA7H5FG.js";
|
|
90
94
|
import {
|
|
91
95
|
canonicalizeToolNames,
|
|
92
96
|
prioritizeToolNames
|
|
@@ -100,16 +104,16 @@ import {
|
|
|
100
104
|
import {
|
|
101
105
|
asNonEmptyStringArray
|
|
102
106
|
} from "./chunk-I42VC5KR.js";
|
|
103
|
-
import {
|
|
104
|
-
asOptionalFiniteNumber
|
|
105
|
-
} from "./chunk-WWC7I6TA.js";
|
|
106
107
|
import {
|
|
107
108
|
estimateTokenCount
|
|
108
109
|
} from "./chunk-PSCNXBYA.js";
|
|
110
|
+
import {
|
|
111
|
+
asOptionalFiniteNumber
|
|
112
|
+
} from "./chunk-WWC7I6TA.js";
|
|
109
113
|
import {
|
|
110
114
|
getModelConfig,
|
|
111
115
|
getProviderByModelName
|
|
112
|
-
} from "./chunk-
|
|
116
|
+
} from "./chunk-6EQD4AQL.js";
|
|
113
117
|
import {
|
|
114
118
|
isRecord
|
|
115
119
|
} from "./chunk-KUG52IAP.js";
|
|
@@ -119,10 +123,6 @@ import {
|
|
|
119
123
|
import {
|
|
120
124
|
asOptionalTrimmedString
|
|
121
125
|
} from "./chunk-G3SUCT4W.js";
|
|
122
|
-
import {
|
|
123
|
-
buildLinkedSpacesSection,
|
|
124
|
-
buildSpaceContextLayer
|
|
125
|
-
} from "./chunk-VEA7H5FG.js";
|
|
126
126
|
|
|
127
127
|
// packages/ai/agent/foregroundTurnAdmissionFetch.ts
|
|
128
128
|
var FOREGROUND_TURN_KEEPALIVE_MAX_BODY_BYTES = 60 * 1024;
|
|
@@ -24,12 +24,6 @@ async function isDrainExhaustedResponse(response) {
|
|
|
24
24
|
}
|
|
25
25
|
}
|
|
26
26
|
|
|
27
|
-
// packages/core/positiveFiniteNumberOrFallback.ts
|
|
28
|
-
function parsePositiveFiniteNumberOrFallback(value, fallback) {
|
|
29
|
-
const parsed = Number(value);
|
|
30
|
-
return Number.isFinite(parsed) && parsed > 0 ? parsed : fallback;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
27
|
// packages/core/retryAfterMs.ts
|
|
34
28
|
function normalizeNonNegativeMs(value, fallbackMs) {
|
|
35
29
|
const parsed = Number(value);
|
|
@@ -57,6 +51,5 @@ export {
|
|
|
57
51
|
createDrainExhaustedResponse,
|
|
58
52
|
isDrainExhaustedResponse,
|
|
59
53
|
normalizeNonNegativeMs,
|
|
60
|
-
parseRetryAfterHeaderMs
|
|
61
|
-
parsePositiveFiniteNumberOrFallback
|
|
54
|
+
parseRetryAfterHeaderMs
|
|
62
55
|
};
|
|
@@ -206,7 +206,7 @@ async function readDocFunc(args, thunkApi) {
|
|
|
206
206
|
throw new Error(`\u65E0\u6548\u7684\u9875\u9762 ID: ${id}\u3002\u9875\u9762 ID \u901A\u5E38\u4EE5 "page-" \u5F00\u5934\u3002`);
|
|
207
207
|
}
|
|
208
208
|
try {
|
|
209
|
-
const { readAction } = await import("./read-
|
|
209
|
+
const { readAction } = await import("./read-7JPIWRBQ.js");
|
|
210
210
|
const pageData = await readAction({ dbKey: id }, thunkApi);
|
|
211
211
|
if (!pageData) {
|
|
212
212
|
throw new Error(`\u672A\u627E\u5230 ID \u4E3A ${id} \u7684\u9875\u9762\u3002`);
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
noloUploadRequest,
|
|
9
9
|
noloWriteRequest,
|
|
10
10
|
syncWithServers
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-WRCZXJ4N.js";
|
|
12
12
|
import {
|
|
13
13
|
getAllServers,
|
|
14
14
|
getIsDesktopApp
|
|
@@ -17,20 +17,20 @@ import {
|
|
|
17
17
|
selectIdentityToken,
|
|
18
18
|
selectIdentityUser,
|
|
19
19
|
selectIdentityUserId
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-PXYBUFDB.js";
|
|
21
21
|
import {
|
|
22
22
|
asOptionalPositiveFiniteNumber
|
|
23
23
|
} from "./chunk-U6VC4MU4.js";
|
|
24
|
+
import {
|
|
25
|
+
SERVERS,
|
|
26
|
+
normalizeKnownServerOrigin
|
|
27
|
+
} from "./chunk-LCBAMY2M.js";
|
|
24
28
|
import {
|
|
25
29
|
isRecord
|
|
26
30
|
} from "./chunk-KUG52IAP.js";
|
|
27
31
|
import {
|
|
28
32
|
asTrimmedString
|
|
29
33
|
} from "./chunk-3EUW3WEO.js";
|
|
30
|
-
import {
|
|
31
|
-
SERVERS,
|
|
32
|
-
normalizeKnownServerOrigin
|
|
33
|
-
} from "./chunk-LCBAMY2M.js";
|
|
34
34
|
import {
|
|
35
35
|
isLocalServerUrl
|
|
36
36
|
} from "./chunk-4SN6J65J.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getModelContextWindow
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-QA2C5NKI.js";
|
|
4
4
|
import {
|
|
5
5
|
isRecord
|
|
6
6
|
} from "./chunk-KUG52IAP.js";
|
|
@@ -854,6 +854,8 @@ var STREAM_USAGE_PROVIDERS = /* @__PURE__ */ new Set([
|
|
|
854
854
|
// kimi-code CLI also sends include_usage). Custom agents pointing at the
|
|
855
855
|
// same endpoint are covered by the endpoint check below, not here.
|
|
856
856
|
"kimi-code",
|
|
857
|
+
// MiniMax 官方 API(api.minimaxi.com):OpenAI 兼容流式端点,支持 stream_options.include_usage。
|
|
858
|
+
"minimax",
|
|
857
859
|
// OpenDesign (open-design.ai) and OpenCode Go (opencode.ai): OpenAI-compatible
|
|
858
860
|
// aggregation / subscription endpoints. Verified to emit terminal usage with
|
|
859
861
|
// prompt_tokens_details.cached_tokens.
|
|
@@ -862,10 +864,22 @@ var STREAM_USAGE_PROVIDERS = /* @__PURE__ */ new Set([
|
|
|
862
864
|
"opencode-go"
|
|
863
865
|
]);
|
|
864
866
|
var KIMI_CODE_ENDPOINT_MARKER = "api.kimi.com";
|
|
867
|
+
function extractHostname(endpoint) {
|
|
868
|
+
try {
|
|
869
|
+
const raw = endpoint.includes("://") ? endpoint : `https://${endpoint}`;
|
|
870
|
+
return new URL(raw).hostname.toLowerCase();
|
|
871
|
+
} catch {
|
|
872
|
+
return null;
|
|
873
|
+
}
|
|
874
|
+
}
|
|
875
|
+
var isMiniMaxEndpoint = (endpoint) => {
|
|
876
|
+
const host = extractHostname(endpoint);
|
|
877
|
+
return host === "api.minimaxi.com" || host === "api.minimax.chat";
|
|
878
|
+
};
|
|
865
879
|
var isSupportedCustomEndpoint = (endpoint) => {
|
|
866
880
|
if (typeof endpoint !== "string") return false;
|
|
867
881
|
const ep = endpoint.toLowerCase();
|
|
868
|
-
return ep.includes(KIMI_CODE_ENDPOINT_MARKER) || ep.includes("open-design.ai") || ep.includes("opencode.ai") || isOllamaEndpoint(endpoint);
|
|
882
|
+
return isMiniMaxEndpoint(endpoint) || ep.includes(KIMI_CODE_ENDPOINT_MARKER) || ep.includes("open-design.ai") || ep.includes("opencode.ai") || isOllamaEndpoint(endpoint);
|
|
869
883
|
};
|
|
870
884
|
var EXTRA_USAGE_FIELD_PROVIDERS = /* @__PURE__ */ new Set(["openrouter"]);
|
|
871
885
|
var normalizeProviderName = (providerName) => asTrimmedLowercaseString(providerName);
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
|
|
5
5
|
// packages/cli/agentCommandSupport.ts
|
|
6
6
|
async function getDefaultCliDb() {
|
|
7
|
-
const { getDefaultCliLocalRuntimeDb } = await import("./localRuntimeDb-
|
|
7
|
+
const { getDefaultCliLocalRuntimeDb } = await import("./localRuntimeDb-QIVAXMUL.js");
|
|
8
8
|
return getDefaultCliLocalRuntimeDb();
|
|
9
9
|
}
|
|
10
10
|
function createNullCliDb() {
|
|
@@ -575,6 +575,44 @@ var stepfunStepPlanModels = [
|
|
|
575
575
|
}
|
|
576
576
|
];
|
|
577
577
|
|
|
578
|
+
// packages/integrations/minimax/models.ts
|
|
579
|
+
var minimaxModels = [
|
|
580
|
+
{
|
|
581
|
+
name: "MiniMax-M3.1-Flash",
|
|
582
|
+
displayName: "MiniMax M3.1 Flash",
|
|
583
|
+
hasVision: true,
|
|
584
|
+
contextWindow: 1e6,
|
|
585
|
+
maxOutputTokens: 8192,
|
|
586
|
+
jsonOutput: true,
|
|
587
|
+
fnCall: true,
|
|
588
|
+
supportsTool: true,
|
|
589
|
+
price: {
|
|
590
|
+
input: toCnyCredits(1),
|
|
591
|
+
output: toCnyCredits(4),
|
|
592
|
+
inputCacheHit: toCnyCredits(0.1)
|
|
593
|
+
},
|
|
594
|
+
provider: "minimax",
|
|
595
|
+
description: "MiniMax \u65B0\u4E00\u4EE3 Flash \u65D7\u8230\u6A21\u578B\uFF0C1M \u4E0A\u4E0B\u6587\uFF0C\u539F\u751F\u591A\u6A21\u6001\u89C6\u89C9\u7406\u89E3\uFF0C\u9488\u5BF9 Agent\u3001\u4EE3\u7801\u4E0E\u5DE5\u5177\u8C03\u7528\u6DF1\u5EA6\u4F18\u5316\u3002"
|
|
596
|
+
},
|
|
597
|
+
{
|
|
598
|
+
name: "MiniMax-M3",
|
|
599
|
+
displayName: "MiniMax M3",
|
|
600
|
+
hasVision: true,
|
|
601
|
+
contextWindow: 1e6,
|
|
602
|
+
maxOutputTokens: 8192,
|
|
603
|
+
jsonOutput: true,
|
|
604
|
+
fnCall: true,
|
|
605
|
+
supportsTool: true,
|
|
606
|
+
price: {
|
|
607
|
+
input: toCnyCredits(2.1),
|
|
608
|
+
output: toCnyCredits(8.4),
|
|
609
|
+
inputCacheHit: toCnyCredits(0.42)
|
|
610
|
+
},
|
|
611
|
+
provider: "minimax",
|
|
612
|
+
description: "MiniMax M3 \u65D7\u8230\u591A\u6A21\u6001\u63A8\u7406\u6A21\u578B\uFF0C1M \u4E0A\u4E0B\u6587\uFF0C\u652F\u6301\u6587\u672C\u4E0E\u89C6\u89C9\u7406\u89E3\u3001\u5DE5\u5177\u8C03\u7528\u3002"
|
|
613
|
+
}
|
|
614
|
+
];
|
|
615
|
+
|
|
578
616
|
// packages/integrations/commandcode/models.ts
|
|
579
617
|
var commandCodeModels = [
|
|
580
618
|
// ── DeepSeek ──
|
|
@@ -3297,7 +3335,8 @@ var MODEL_MAP = {
|
|
|
3297
3335
|
zai: zaiModels,
|
|
3298
3336
|
qwen: qwenAllModels,
|
|
3299
3337
|
moonshot: moonshotAllModels,
|
|
3300
|
-
stepfun: stepfunAllModels
|
|
3338
|
+
stepfun: stepfunAllModels,
|
|
3339
|
+
minimax: minimaxModels
|
|
3301
3340
|
};
|
|
3302
3341
|
var MODEL_LOOKUP_MAP = {
|
|
3303
3342
|
anthropic: [...anthropicModels, ...anthropicOAuthModels],
|
|
@@ -3539,6 +3578,7 @@ export {
|
|
|
3539
3578
|
kimiCodeModels,
|
|
3540
3579
|
stepfunModels,
|
|
3541
3580
|
stepfunStepPlanModels,
|
|
3581
|
+
minimaxModels,
|
|
3542
3582
|
commandCodeModels,
|
|
3543
3583
|
opencodeGoModels,
|
|
3544
3584
|
DEFAULT_REASONING_EFFORT,
|
|
@@ -10,9 +10,7 @@ var OAUTH_PROVIDER_REFS = [
|
|
|
10
10
|
"antigravity",
|
|
11
11
|
"claude",
|
|
12
12
|
"cursor",
|
|
13
|
-
"devin"
|
|
14
|
-
"workbuddy",
|
|
15
|
-
"workbuddy-ai"
|
|
13
|
+
"devin"
|
|
16
14
|
];
|
|
17
15
|
var METERED_API_KEY_REF_PREFIX = "api-key:";
|
|
18
16
|
var normalizeRef = (ref) => typeof ref === "string" ? ref.trim().toLowerCase() : "";
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
} from "./chunk-UAD2WT54.js";
|
|
8
8
|
import {
|
|
9
9
|
toTimestampMs
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-CDLP56BS.js";
|
|
11
11
|
import {
|
|
12
12
|
fetchFromServer,
|
|
13
13
|
getAllServers
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
import {
|
|
16
16
|
selectIdentityToken,
|
|
17
17
|
selectIdentityUserId
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-PXYBUFDB.js";
|
|
19
19
|
import {
|
|
20
20
|
isTombstoneRecord
|
|
21
21
|
} from "./chunk-D2MDMY2M.js";
|
|
@@ -1,11 +1,13 @@
|
|
|
1
|
+
import {
|
|
2
|
+
parsePositiveFiniteNumberOrFallback
|
|
3
|
+
} from "./chunk-Y5GCAMGP.js";
|
|
1
4
|
import {
|
|
2
5
|
isGatewayHttpStatus
|
|
3
6
|
} from "./chunk-NF64D32W.js";
|
|
4
7
|
import {
|
|
5
8
|
CORE_DRAIN_REASON,
|
|
6
|
-
parsePositiveFiniteNumberOrFallback,
|
|
7
9
|
parseRetryAfterHeaderMs
|
|
8
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-3L2WKC3W.js";
|
|
9
11
|
import {
|
|
10
12
|
asTrimmedLowercaseString
|
|
11
13
|
} from "./chunk-QSJ3HFEF.js";
|
|
@@ -3,10 +3,10 @@ import {
|
|
|
3
3
|
} from "./chunk-U4STABYN.js";
|
|
4
4
|
import {
|
|
5
5
|
getReadableCliDb
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-62TBKWTV.js";
|
|
7
7
|
import {
|
|
8
8
|
clearCliLocalRuntimePreparedAgentCache
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-BO3ARJRK.js";
|
|
10
10
|
import {
|
|
11
11
|
readCredentialAvailability
|
|
12
12
|
} from "./chunk-6MXDOUMH.js";
|
|
@@ -19,17 +19,17 @@ import {
|
|
|
19
19
|
resolveAgentRecordFromHybridStore,
|
|
20
20
|
sanitizeAgentRecordForCliOutput,
|
|
21
21
|
writeAgentRecord
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-KABQ74UQ.js";
|
|
23
23
|
import {
|
|
24
24
|
resolveCliAgentKeyInput
|
|
25
25
|
} from "./chunk-NBTY7YJF.js";
|
|
26
|
-
import {
|
|
27
|
-
toErrorMessage
|
|
28
|
-
} from "./chunk-HNMXYYJR.js";
|
|
29
26
|
import {
|
|
30
27
|
parseUserIdFromAuthToken,
|
|
31
28
|
resolveAuthToken
|
|
32
29
|
} from "./chunk-A7GB5UGH.js";
|
|
30
|
+
import {
|
|
31
|
+
toErrorMessage
|
|
32
|
+
} from "./chunk-HNMXYYJR.js";
|
|
33
33
|
|
|
34
34
|
// packages/cli/agentRecordCommands.ts
|
|
35
35
|
async function runAgentReadCommand(args, deps = {}) {
|
|
@@ -244,7 +244,7 @@ async function runAgentCreateCommand(args, deps = {}) {
|
|
|
244
244
|
let verifyResult;
|
|
245
245
|
if (parsed.verify) {
|
|
246
246
|
try {
|
|
247
|
-
const { verifyCustomProvider } = await import("./agentProviderCommands-
|
|
247
|
+
const { verifyCustomProvider } = await import("./agentProviderCommands-CXBHNONN.js");
|
|
248
248
|
const rec = built.nextRecord;
|
|
249
249
|
verifyResult = await verifyCustomProvider({
|
|
250
250
|
providerUrl: rec.customProviderUrl,
|