nolo-cli 0.33.0-alpha.3 → 0.33.0-alpha.31
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-RWPVI3YV.js → _executeModel-BTZJ6QKO.js} +56 -58
- package/{action-SMLG6OTB.js → action-LKQAGKHH.js} +11 -11
- package/{addContentAction-SFO244QN.js → addContentAction-IP2B6UUB.js} +9 -9
- package/{addDialogAgentAction-W44ZCEHB.js → addDialogAgentAction-JNIAUFE6.js} +8 -8
- package/{agentDeleteCommand-KU2RXQPP.js → agentDeleteCommand-WG6T4OTP.js} +48 -44
- package/{agentEmailCommands-MPCMDENS.js → agentEmailCommands-4CEZD4JW.js} +83 -80
- package/{agentListCommands-EPD4N6FX.js → agentListCommands-2YHWZHLD.js} +56 -43
- package/{agentMachineCommands-AF7C3YRT.js → agentMachineCommands-LKCUIDHA.js} +46 -42
- package/agentProviderCommands-65ZC2WB4.js +122 -0
- package/{agentPullCommand-YH5GEBK4.js → agentPullCommand-NYHSK6EW.js} +3 -3
- package/{agentRecordCommands-EYE6MZZG.js → agentRecordCommands-VSBYJUBN.js} +74 -71
- package/{agentRunCommand-LL22SGTN.js → agentRunCommand-LAD7TRWT.js} +80 -76
- package/{agentRuntimeLocal-JX34G47Z.js → agentRuntimeLocal-TEJECMTH.js} +34 -31
- package/{agentSlice-TNMFQQOV.js → agentSlice-3U3H657P.js} +11 -11
- package/{appDeleteCommands-43K5VXQB.js → appDeleteCommands-5QCUYGTX.js} +41 -37
- package/{appDeployCommands-FEEJSVDZ.js → appDeployCommands-GMIAIMDB.js} +41 -37
- package/{appDeployStatusCommands-H76CG45R.js → appDeployStatusCommands-ZTJ6APB6.js} +41 -37
- package/{appGetCommands-MDZYFTYZ.js → appGetCommands-PI4NTPKT.js} +41 -37
- package/{appListCommands-TUJJXPWG.js → appListCommands-QMRCLRJ6.js} +41 -37
- package/{authCommand-T7UK4CWS.js → authCommand-4ICNA46V.js} +21 -20
- package/{authCommands-EAPFGNHN.js → authCommands-W74NRPA6.js} +6 -6
- package/{chatQueueReduxAdapter-LVQXC4ZY.js → chatQueueReduxAdapter-5GNVXJ5T.js} +25 -24
- package/{chunk-JZ5AMMXU.js → chunk-244YJUYS.js} +4 -4
- package/{chunk-2UECQ7RE.js → chunk-3AOLVADY.js} +1 -1
- package/{chunk-AFV4FOT2.js → chunk-3GDKZAPT.js} +4 -91
- package/{chunk-M4NC7NF6.js → chunk-3H3FPUCI.js} +2 -2
- package/chunk-3Z32AD6X.js +22 -0
- package/{chunk-B2BSG6QQ.js → chunk-4EXK5Q2M.js} +18 -18
- package/{chunk-UK5JGQVU.js → chunk-52DHSNJC.js} +14 -20
- package/{chunk-LOD75GOS.js → chunk-6PI2635O.js} +3884 -1562
- package/{chunk-HDKRSRYU.js → chunk-7CH6ONWB.js} +636 -210
- package/{chunk-FMEVI5TG.js → chunk-7CH6U3FL.js} +1 -1
- package/{chunk-FSSX3XRY.js → chunk-7URTEFXJ.js} +1 -1
- package/{chunk-JTSGWTYZ.js → chunk-ASA3CJSG.js} +2 -2
- package/{chunk-6SXC35F4.js → chunk-AXCXE35O.js} +13 -13
- package/{chunk-2QTEYCR7.js → chunk-C2UKEL7P.js} +17 -7
- package/{chunk-I6N2UVVY.js → chunk-CBYBNR2K.js} +1 -1
- package/{chunk-WHD6BG7M.js → chunk-DMOWI2S7.js} +48 -44
- package/{chunk-3GZXL6FM.js → chunk-DZPK4YQY.js} +1 -1
- package/{chunk-6HYVJV7B.js → chunk-ESHYE7WU.js} +2 -1
- package/{chunk-TFPUAELY.js → chunk-ET4UZQN3.js} +3 -3
- package/{chunk-3WXRAHCG.js → chunk-EU7POTD4.js} +3 -3
- package/{chunk-DPMBNHOJ.js → chunk-FAMAQ3A7.js} +1 -1
- package/{chunk-JZPBVBIY.js → chunk-FD36SCCD.js} +19 -8
- package/{chunk-57QJXIB6.js → chunk-FEDK54U6.js} +10 -10
- package/{chunk-MPZJVZDC.js → chunk-FL3KRU3X.js} +41 -2674
- package/{chunk-ZURFOV5J.js → chunk-FS5VNMPF.js} +3 -3
- package/{chunk-2H3XIBY4.js → chunk-FSOCQPX7.js} +4 -82
- package/{chunk-M2YMQOLC.js → chunk-G34SHBSK.js} +11 -11
- package/{chunk-U4TRT5V4.js → chunk-GEPHJJW4.js} +1 -1
- package/{chunk-OIQPORYI.js → chunk-GN6ENM54.js} +178 -2
- package/{chunk-X664KVEV.js → chunk-HHBXCRJS.js} +204 -123
- package/chunk-HJ23CUHW.js +109 -0
- package/{chunk-RAZOLMJR.js → chunk-HXV5GJFC.js} +15 -8
- package/{chunk-OR2HNLVO.js → chunk-HYQSSY7V.js} +71 -79
- package/{chunk-WLH5BAKX.js → chunk-IIOHYLIG.js} +9 -4
- package/{chunk-2IVEXF7P.js → chunk-ISQZFROX.js} +2 -9
- package/{chunk-IHEC7VBF.js → chunk-J36P3SH5.js} +1 -1
- package/{chunk-PREQU5QV.js → chunk-J5STUEYU.js} +1 -1
- package/{chunk-O6GEBMIY.js → chunk-JE4J3T7A.js} +5296 -4981
- package/{chunk-VH2F7ZB6.js → chunk-JG43PNFR.js} +1 -1
- package/{chunk-GTYM4HKV.js → chunk-JZ6JDSWD.js} +5 -5
- package/{chunk-X2DAEZ3X.js → chunk-KWPXU3W5.js} +1 -1
- package/{chunk-WJSW43QZ.js → chunk-L3JWI7WX.js} +0 -1
- package/{chunk-NNWHHCVP.js → chunk-LI6SNQF6.js} +2 -3
- package/{chunk-GM6PU7B6.js → chunk-MEYIRKDN.js} +0 -1
- package/{chunk-Q5ITEGIN.js → chunk-N4XRDM26.js} +1 -1
- package/{chunk-7E72JMBB.js → chunk-N543Q3VR.js} +57 -16
- package/{chunk-YDTYDA5W.js → chunk-NBIS3WYT.js} +8 -6
- package/{chunk-JMPYDFHY.js → chunk-NI72ISCU.js} +21 -8
- package/{chunk-5CS33IBL.js → chunk-NQ4N4IGO.js} +11 -12
- package/chunk-OH4Q4VVA.js +38 -0
- package/{chunk-CLP2K7U4.js → chunk-OS63QEVB.js} +7 -7
- package/{chunk-DFUPZE6V.js → chunk-P35OZHD4.js} +3 -16
- package/{chunk-GMXWYXAF.js → chunk-PJT3CCBL.js} +4 -4
- package/{chunk-3VAQHAXT.js → chunk-PYLC3472.js} +27 -27
- package/{chunk-ADLYMQB6.js → chunk-QUK7UZW7.js} +137 -0
- package/{chunk-37V5LNEQ.js → chunk-RRYRKT7X.js} +1 -1
- package/{chunk-AAGCMVFT.js → chunk-S6QP3AK4.js} +895 -175
- package/{chunk-73GINUCW.js → chunk-SQPMYIR5.js} +135 -56
- package/{chunk-XCCGU6QB.js → chunk-SSK4QDFL.js} +1 -1
- package/{chunk-IL545V3E.js → chunk-TACRGJZO.js} +7 -7
- package/chunk-TVXJEOU2.js +78 -0
- package/{chunk-NUO3QFWD.js → chunk-UNHKVD2N.js} +1 -1
- package/{chunk-GE6IWA5N.js → chunk-UNZDCI3O.js} +126 -1
- package/chunk-UOLENXLQ.js +1132 -0
- package/{chunk-5SBK2MTI.js → chunk-UOVE5ZHK.js} +24 -71
- package/{chunk-ZJMME4DS.js → chunk-VBJVODPE.js} +6 -6
- package/{chunk-FXFGNOT2.js → chunk-VFVCYIRQ.js} +1 -1
- package/{chunk-AOXVOC6D.js → chunk-W2DNU6FK.js} +3 -3
- package/chunk-X6WFECZY.js +97 -0
- package/{chunk-RY57GLGW.js → chunk-YPREESF4.js} +42 -5
- package/{chunk-HUCT7HID.js → chunk-YXB5JR6N.js} +1 -1
- package/{chunk-BQXOGBFN.js → chunk-YZ2WE6CW.js} +2 -2
- package/{cliExecutor-DW3PHGEL.js → cliExecutor-BBUVQU4L.js} +2 -2
- package/{codingSkills-DY5MINPG.js → codingSkills-FXKII4C6.js} +3 -3
- package/{createAgentAutomationAction-INQT23LX.js → createAgentAutomationAction-CMOMDO6G.js} +25 -26
- package/{createDialogAction-LDCPDI73.js → createDialogAction-QG7DKUA7.js} +28 -29
- package/{createPageAction-5YXOG2M4.js → createPageAction-JCMCNMTK.js} +30 -31
- package/{dbSlice-3SD5L5H2.js → dbSlice-ZNHRC4BK.js} +8 -8
- package/{deleteFile-XQXPBFFB.js → deleteFile-NPZ64DFN.js} +5 -5
- package/{dialogCommands-CHJO47AX.js → dialogCommands-T43TTFWR.js} +40 -36
- package/{dialogSlice-DOWKOILN.js → dialogSlice-5VZFBHCA.js} +24 -23
- package/{docCreateCommands-OVZARUFX.js → docCreateCommands-DQBKKPOC.js} +42 -38
- package/{docDeleteCommands-E2XJ62LD.js → docDeleteCommands-ULM4MTP3.js} +43 -39
- package/{docReadCommands-I7OSREPJ.js → docReadCommands-3FXTVWVJ.js} +42 -38
- package/{docStore-UAWSKZ2Y.js → docStore-LTAGA6XZ.js} +26 -27
- package/{docUpdateCommands-X4Z26VJM.js → docUpdateCommands-ZE6B3SLE.js} +44 -40
- package/emscripten-module-EDQBMDVK.js +576 -0
- package/emscripten-module-LCBQ7VWY.js +1506 -0
- package/emscripten-module-OFHQ7EL3.js +482 -0
- package/emscripten-module-XM7NDJQA.js +4536 -0
- package/fetchMessages-7QRCCRYK.js +1 -1
- package/ffi-6ZSX3QJ4.js +80 -0
- package/ffi-742Y76PE.js +92 -0
- package/ffi-AEYWSYLM.js +80 -0
- package/ffi-KQC27OUM.js +92 -0
- package/{getPricing-L2ENXWHV.js → getPricing-5R7P4JLI.js} +4 -4
- package/{handleSendMessageAction-C3TSDWKH.js → handleSendMessageAction-7GF5IU4J.js} +26 -25
- package/index.js +78 -76
- package/{localRuntimeAuthority-E3R24J4T.js → localRuntimeAuthority-S77B5QVB.js} +6 -2
- package/{localRuntimeDb-DDZCJFQZ.js → localRuntimeDb-N3H3HQ7G.js} +1 -1
- package/{machineCommands-BUOIYJAD.js → machineCommands-57UG5TRO.js} +84 -81
- package/{machineInfo-M6KB6HZN.js → machineInfo-66ZFUMLE.js} +1 -1
- package/{machineWsRunDispatch-7CRWAA6O.js → machineWsRunDispatch-L3GQ7ASL.js} +72 -69
- package/{models-OX2S5C6Q.js → models-CQOLEOPZ.js} +2 -2
- package/module-ES6BEMUI-AFCVSBMS.js +14 -0
- package/module-asyncify-2EFITU5U-DEP2F2QP.js +9 -0
- package/package.json +1 -1
- package/{read-6G73BMEY.js → read-QOLSHOT5.js} +6 -6
- package/{readDocTool-DK4EI2GA.js → readDocTool-X7HLXXBW.js} +1 -1
- package/{readlineWorkspace-ZDWEASJV.js → readlineWorkspace-SFUQOD4C.js} +3746 -3155
- package/{removeDialogAgentAction-E7H557UO.js → removeDialogAgentAction-UBYX7RVR.js} +12 -12
- package/{runAgentClientLoop-U7HYA3O5.js → runAgentClientLoop-VCTFHJVP.js} +53 -54
- package/{runtimeDoctorCommands-KIKM6BIO.js → runtimeDoctorCommands-HT4O2PXL.js} +6 -6
- package/{setDialogExtraReferencesAction-RMMGBR5F.js → setDialogExtraReferencesAction-GMXZTTQA.js} +9 -9
- package/{setPrimaryDialogAgentAction-FWBKKLVA.js → setPrimaryDialogAgentAction-JKVEILI3.js} +12 -12
- package/{settingSlice-73PV4KG4.js → settingSlice-EQKEXSTU.js} +10 -10
- package/{skillDiscovery-KLLKXPUO.js → skillDiscovery-6YSTRCQ7.js} +3 -3
- package/{slateUtils-VO2FU36K.js → slateUtils-RIZES3PV.js} +1 -1
- package/{spaceCommands-GEWZXGHM.js → spaceCommands-3PVSEEGH.js} +235 -46
- package/{spaceSlice-B6MOVY4N.js → spaceSlice-OEBVDZGG.js} +25 -26
- package/{streamAgentChatTurn-T527EQTT.js → streamAgentChatTurn-YLUPK5CI.js} +107 -120
- package/{switchDialogAgentAction-US6QNL3N.js → switchDialogAgentAction-DSC2T3JW.js} +8 -8
- package/{chunk-IDAU4UFS.js → syncMapping-N6RGXGBW.js} +11 -11
- package/{tableCommands-QE47K72R.js → tableCommands-SQSOF2XK.js} +9 -9
- package/{tools-XMWCVMPM.js → tools-IZUS4UM5.js} +41 -42
- package/{tuiSummaryLlmCaller-NCAJSVSD.js → tuiSummaryLlmCaller-ZFPTFGXJ.js} +17 -16
- package/{updateCommands-AK2RDOFR.js → updateCommands-MNDUIKN7.js} +2 -2
- package/{updateDialogTitleAction-XPJZRJEL.js → updateDialogTitleAction-BB53DOCT.js} +31 -32
- package/chunk-6PO2SYCS.js +0 -1800
- package/chunk-M3JEW6N6.js +0 -193
- package/syncMapping-RK2MANUX.js +0 -43
- package/{agentGrantCommands-2LEZDADN.js → agentGrantCommands-OPIGFRDO.js} +2 -2
- package/{chunk-ZHYK3N56.js → chunk-G7HTVVFL.js} +3 -3
- package/{chunk-SAQQLJZ5.js → chunk-JDSUTNYY.js} +3 -3
- package/{offlineMarxistsAgentCommand-GEH6SNNA.js → offlineMarxistsAgentCommand-HDIQVGKN.js} +3 -3
|
@@ -68,10 +68,10 @@ var googleModels = [
|
|
|
68
68
|
maxOutputTokens: 65500,
|
|
69
69
|
supportsTool: true,
|
|
70
70
|
price: {
|
|
71
|
-
input:
|
|
72
|
-
output:
|
|
73
|
-
cachingWrite: 0.
|
|
74
|
-
cachingRead: 0.
|
|
71
|
+
input: 3.5,
|
|
72
|
+
output: 21,
|
|
73
|
+
cachingWrite: 0.35000000000000003,
|
|
74
|
+
cachingRead: 0.35000000000000003
|
|
75
75
|
}
|
|
76
76
|
},
|
|
77
77
|
{
|
|
@@ -85,12 +85,11 @@ var googleModels = [
|
|
|
85
85
|
maxOutputTokens: 65536,
|
|
86
86
|
supportsTool: true,
|
|
87
87
|
supportsReasoningEffort: true,
|
|
88
|
-
// TODO(pricing): gemini-3.6-flash 官方定价未确认,暂沿用 3.5-flash 费率,确认后更新。
|
|
89
88
|
price: {
|
|
90
|
-
input:
|
|
91
|
-
output:
|
|
92
|
-
cachingWrite:
|
|
93
|
-
cachingRead:
|
|
89
|
+
input: 10.5,
|
|
90
|
+
output: 63,
|
|
91
|
+
cachingWrite: 1.05,
|
|
92
|
+
cachingRead: 1.05
|
|
94
93
|
},
|
|
95
94
|
serviceTierPriceMultipliers: {
|
|
96
95
|
batch: { inputOutput: 0.5, cache: 0.5 },
|
|
@@ -109,21 +108,20 @@ var googleModels = [
|
|
|
109
108
|
maxOutputTokens: 65536,
|
|
110
109
|
supportsTool: true,
|
|
111
110
|
supportsReasoningEffort: true,
|
|
112
|
-
// Official promo pricing: $0.75/$3.75/$0.075 per 1M through 2026-12-31.
|
|
113
111
|
// Antigravity's subscription wire route is tiered; Gemini API uses this logical id.
|
|
114
112
|
price: {
|
|
115
|
-
input:
|
|
116
|
-
output:
|
|
117
|
-
cachingWrite: 0.
|
|
118
|
-
cachingRead: 0.
|
|
113
|
+
input: 5.25,
|
|
114
|
+
output: 26.25,
|
|
115
|
+
cachingWrite: 0.525,
|
|
116
|
+
cachingRead: 0.525
|
|
119
117
|
}
|
|
120
118
|
},
|
|
121
119
|
createGoogleImageModel({
|
|
122
120
|
name: "gemini-3-pro-image-preview",
|
|
123
121
|
displayName: "Nano Banana Pro (Gemini 3 Pro Image Preview)",
|
|
124
|
-
inputPrice:
|
|
125
|
-
outputPrice:
|
|
126
|
-
imageTokenPricePerMillion:
|
|
122
|
+
inputPrice: 14,
|
|
123
|
+
outputPrice: 84,
|
|
124
|
+
imageTokenPricePerMillion: 840,
|
|
127
125
|
imageOutputTokenEstimateBySize: {
|
|
128
126
|
"1K": 1120,
|
|
129
127
|
"2K": 1120,
|
|
@@ -159,9 +157,9 @@ var googleModels = [
|
|
|
159
157
|
createGoogleImageModel({
|
|
160
158
|
name: "gemini-3.1-flash-image-preview",
|
|
161
159
|
displayName: "Nano Banana 2 (Gemini 3.1 Flash Image Preview)",
|
|
162
|
-
inputPrice:
|
|
163
|
-
outputPrice:
|
|
164
|
-
imageTokenPricePerMillion:
|
|
160
|
+
inputPrice: 3.5,
|
|
161
|
+
outputPrice: 21,
|
|
162
|
+
imageTokenPricePerMillion: 420,
|
|
165
163
|
imageOutputTokenEstimateBySize: {
|
|
166
164
|
"1K": 1120,
|
|
167
165
|
"2K": 1680,
|
|
@@ -197,9 +195,9 @@ var googleModels = [
|
|
|
197
195
|
createGoogleImageModel({
|
|
198
196
|
name: "gemini-3.1-flash-lite-image",
|
|
199
197
|
displayName: "Nano Banana 2 Lite (Gemini 3.1 Flash Lite Image)",
|
|
200
|
-
inputPrice:
|
|
201
|
-
outputPrice:
|
|
202
|
-
pricePerImage: 0.
|
|
198
|
+
inputPrice: 1.75,
|
|
199
|
+
outputPrice: 10.5,
|
|
200
|
+
pricePerImage: 0.23800000000000002,
|
|
203
201
|
maxOutputTokens: 65536,
|
|
204
202
|
contextWindow: 65536,
|
|
205
203
|
imageGenerationWaitTimeSeconds: {
|
|
@@ -231,49 +229,49 @@ var googleModels = [
|
|
|
231
229
|
|
|
232
230
|
// packages/integrations/openai/models.ts
|
|
233
231
|
var GPT_5_5_STANDARD_PRICE = {
|
|
234
|
-
input:
|
|
235
|
-
output:
|
|
236
|
-
inputCacheHit:
|
|
232
|
+
input: 40,
|
|
233
|
+
output: 240,
|
|
234
|
+
inputCacheHit: 4
|
|
237
235
|
};
|
|
238
236
|
var GPT_5_5_LONG_CONTEXT_PRICE = {
|
|
239
|
-
input:
|
|
240
|
-
output:
|
|
241
|
-
inputCacheHit:
|
|
237
|
+
input: 80,
|
|
238
|
+
output: 360,
|
|
239
|
+
inputCacheHit: 8
|
|
242
240
|
};
|
|
243
241
|
var GPT_5_5_PRO_STANDARD_PRICE = {
|
|
244
|
-
input:
|
|
245
|
-
output:
|
|
242
|
+
input: 240,
|
|
243
|
+
output: 1440,
|
|
246
244
|
inputCacheHit: 0
|
|
247
245
|
};
|
|
248
246
|
var GPT_5_5_PRO_LONG_CONTEXT_PRICE = {
|
|
249
|
-
input:
|
|
250
|
-
output:
|
|
247
|
+
input: 480,
|
|
248
|
+
output: 2160,
|
|
251
249
|
inputCacheHit: 0
|
|
252
250
|
};
|
|
253
251
|
var GPT_5_6_SOL_STANDARD_PRICE = {
|
|
254
|
-
input:
|
|
255
|
-
output:
|
|
256
|
-
inputCacheHit:
|
|
252
|
+
input: 40,
|
|
253
|
+
output: 240,
|
|
254
|
+
inputCacheHit: 4
|
|
257
255
|
};
|
|
258
256
|
var GPT_5_6_SOL_LONG_CONTEXT_PRICE = {
|
|
259
|
-
input:
|
|
260
|
-
output:
|
|
261
|
-
inputCacheHit:
|
|
257
|
+
input: 80,
|
|
258
|
+
output: 360,
|
|
259
|
+
inputCacheHit: 8
|
|
262
260
|
};
|
|
263
261
|
var GPT_5_6_TERRA_STANDARD_PRICE = {
|
|
264
|
-
input:
|
|
265
|
-
output:
|
|
266
|
-
inputCacheHit:
|
|
262
|
+
input: 16,
|
|
263
|
+
output: 96,
|
|
264
|
+
inputCacheHit: 1.6
|
|
267
265
|
};
|
|
268
266
|
var GPT_5_6_TERRA_LONG_CONTEXT_PRICE = {
|
|
269
|
-
input:
|
|
270
|
-
output:
|
|
271
|
-
inputCacheHit:
|
|
267
|
+
input: 32,
|
|
268
|
+
output: 144,
|
|
269
|
+
inputCacheHit: 3.2
|
|
272
270
|
};
|
|
273
271
|
var GPT_5_6_LUNA_PRICE = {
|
|
274
|
-
input:
|
|
275
|
-
output:
|
|
276
|
-
inputCacheHit: 0.
|
|
272
|
+
input: 1.6,
|
|
273
|
+
output: 9.6,
|
|
274
|
+
inputCacheHit: 0.16
|
|
277
275
|
};
|
|
278
276
|
var openAIModels = [
|
|
279
277
|
{
|
|
@@ -372,13 +370,11 @@ var openAIModels = [
|
|
|
372
370
|
supportsTool: false,
|
|
373
371
|
contextWindow: 128e3,
|
|
374
372
|
maxOutputTokens: 32768,
|
|
375
|
-
price: { input:
|
|
373
|
+
price: { input: 40, output: 0, inputCacheHit: 10 },
|
|
376
374
|
pricePerImage: void 0,
|
|
377
375
|
// Dynamic cost via imageTokenPricePerMillion and quality/size
|
|
378
|
-
imageTokenPricePerMillion:
|
|
379
|
-
// $30.00 per 1M output tokens
|
|
376
|
+
imageTokenPricePerMillion: 240,
|
|
380
377
|
// Official GPT Image 2 output estimates from the OpenAI image guide:
|
|
381
|
-
// low/medium/high cost by size divided by $30 per 1M output tokens.
|
|
382
378
|
imageOutputTokenEstimateBySize: {
|
|
383
379
|
"1K": { low: 200, medium: 1766, high: 7033 },
|
|
384
380
|
"2K": { low: 166, medium: 1366, high: 5500 },
|
|
@@ -401,12 +397,12 @@ var DEEPINFRA_CLAUDE_SONNET_PRICE = {
|
|
|
401
397
|
output: 15 * 9
|
|
402
398
|
};
|
|
403
399
|
var DEEPINFRA_CLAUDE_OPUS_PRICE = {
|
|
404
|
-
input:
|
|
405
|
-
output:
|
|
400
|
+
input: 40,
|
|
401
|
+
output: 200
|
|
406
402
|
};
|
|
407
403
|
var DEEPINFRA_CLAUDE_FABLE_PRICE = {
|
|
408
|
-
input:
|
|
409
|
-
output:
|
|
404
|
+
input: 80,
|
|
405
|
+
output: 400
|
|
410
406
|
};
|
|
411
407
|
var deepinfraModels = [
|
|
412
408
|
{
|
|
@@ -454,8 +450,7 @@ var xaiModels = [
|
|
|
454
450
|
displayName: "Grok 4.6",
|
|
455
451
|
hasVision: true,
|
|
456
452
|
contextWindow: 5e5,
|
|
457
|
-
|
|
458
|
-
price: { input: 2 * 7, output: 6 * 7 },
|
|
453
|
+
price: { input: 14, output: 42 },
|
|
459
454
|
fnCall: true,
|
|
460
455
|
jsonOutput: true
|
|
461
456
|
}
|
|
@@ -468,9 +463,9 @@ var fireworksModels = [
|
|
|
468
463
|
displayName: "MiniMax: MiniMax M3",
|
|
469
464
|
hasVision: true,
|
|
470
465
|
price: {
|
|
471
|
-
input:
|
|
472
|
-
output:
|
|
473
|
-
cachingRead: 0.
|
|
466
|
+
input: 2.4,
|
|
467
|
+
output: 9.6,
|
|
468
|
+
cachingRead: 0.48
|
|
474
469
|
},
|
|
475
470
|
contextWindow: 512e3,
|
|
476
471
|
supportsTool: true
|
|
@@ -531,15 +526,12 @@ var PLATFORM_HOSTED_KIMI_PRICE = {
|
|
|
531
526
|
inputCacheHit: toPlatformCredits(0.04),
|
|
532
527
|
// 0.32 credits
|
|
533
528
|
output: toPlatformCredits(3)
|
|
534
|
-
// 24.0 credits (
|
|
529
|
+
// 24.0 credits (24 = 24)
|
|
535
530
|
};
|
|
536
531
|
var PLATFORM_HOSTED_KIMI_K3_PRICE = {
|
|
537
532
|
input: 16,
|
|
538
|
-
// crof $2 × 8
|
|
539
533
|
inputCacheHit: 2,
|
|
540
|
-
// crof $0.25 × 8
|
|
541
534
|
output: 64
|
|
542
|
-
// crof $8 × 8
|
|
543
535
|
};
|
|
544
536
|
var PLATFORM_HOSTED_GLM_53_MODEL = "glm-5.3";
|
|
545
537
|
var PLATFORM_HOSTED_GLM_52_MODEL = "glm-5.2";
|
|
@@ -548,27 +540,25 @@ var isPlatformHostedGlmModel = (model) => {
|
|
|
548
540
|
return m === PLATFORM_HOSTED_GLM_53_MODEL || m === PLATFORM_HOSTED_GLM_52_MODEL;
|
|
549
541
|
};
|
|
550
542
|
var PLATFORM_HOSTED_GLM_PRICE = {
|
|
551
|
-
input:
|
|
543
|
+
input: 7.84,
|
|
552
544
|
// 11.2 credits
|
|
553
|
-
inputCacheHit:
|
|
545
|
+
inputCacheHit: 1.456,
|
|
554
546
|
// 2.08 credits
|
|
555
|
-
output:
|
|
556
|
-
// 35.2 credits (
|
|
547
|
+
output: 24.64
|
|
548
|
+
// 35.2 credits (35.2 = 35.2)
|
|
557
549
|
};
|
|
558
550
|
var PLATFORM_HOSTED_GEMINI_37_FLASH_MODEL = "gemini-3.7-flash";
|
|
559
551
|
var PLATFORM_HOSTED_GEMINI_37_FLASH_PRICE = {
|
|
560
|
-
input:
|
|
552
|
+
input: 4.2,
|
|
561
553
|
// 6.0 credits
|
|
562
|
-
output:
|
|
554
|
+
output: 21,
|
|
563
555
|
// 30.0 credits
|
|
564
|
-
cachingWrite:
|
|
556
|
+
cachingWrite: 0.42,
|
|
565
557
|
// 0.6 credits
|
|
566
|
-
cachingRead:
|
|
558
|
+
cachingRead: 0.42
|
|
567
559
|
// 0.6 credits
|
|
568
560
|
};
|
|
569
561
|
var isPlatformHostedGeminiModel = (model) => asTrimmedLowercaseString(model) === PLATFORM_HOSTED_GEMINI_37_FLASH_MODEL;
|
|
570
|
-
var PLATFORM_HOSTED_QWEN_37_FLASH_MODEL = "qwen3.7-flash";
|
|
571
|
-
var isPlatformHostedQwen37FlashModel = (model) => asTrimmedLowercaseString(model) === PLATFORM_HOSTED_QWEN_37_FLASH_MODEL;
|
|
572
562
|
var PLATFORM_HOSTED_DEEPSEEK_FLASH_MODEL = "deepseek-v4-flash";
|
|
573
563
|
var PLATFORM_HOSTED_DEEPSEEK_FLASH_VISION_EXP_MODEL = "deepseek-v4-flash-vision-exp";
|
|
574
564
|
var PLATFORM_HOSTED_DEEPSEEK_PRO_MODEL = "deepseek-v4-pro";
|
|
@@ -593,8 +583,12 @@ var PLATFORM_HOSTED_DEEPSEEK_PRO_OFF_PEAK_PRICE = {
|
|
|
593
583
|
output: 13.5
|
|
594
584
|
};
|
|
595
585
|
var isDeepSeekOffPeakBeijingTime = (nowMs = Date.now()) => {
|
|
596
|
-
const
|
|
597
|
-
|
|
586
|
+
const beijing = new Date(nowMs + 8 * 60 * 60 * 1e3);
|
|
587
|
+
const beijingDay = beijing.getUTCDay();
|
|
588
|
+
const beijingHour = beijing.getUTCHours();
|
|
589
|
+
if (beijingDay === 0 || beijingDay === 6) return true;
|
|
590
|
+
const isPeakWindow = beijingHour >= 9 && beijingHour < 12 || beijingHour >= 14 && beijingHour < 18;
|
|
591
|
+
return !isPeakWindow;
|
|
598
592
|
};
|
|
599
593
|
var getPlatformHostedDeepSeekV4Price = (model, nowMs = Date.now()) => {
|
|
600
594
|
const isOffPeak = isDeepSeekOffPeakBeijingTime(nowMs);
|
|
@@ -755,8 +749,6 @@ export {
|
|
|
755
749
|
isPlatformHostedKimiK26Model,
|
|
756
750
|
isPlatformHostedGlmModel,
|
|
757
751
|
isPlatformHostedGeminiModel,
|
|
758
|
-
PLATFORM_HOSTED_QWEN_37_FLASH_MODEL,
|
|
759
|
-
isPlatformHostedQwen37FlashModel,
|
|
760
752
|
PLATFORM_HOSTED_DEEPSEEK_FLASH_MODEL,
|
|
761
753
|
PLATFORM_HOSTED_DEEPSEEK_FLASH_VISION_EXP_MODEL,
|
|
762
754
|
PLATFORM_HOSTED_DEEPSEEK_FLASH_PEAK_PRICE,
|
|
@@ -43,14 +43,19 @@ var TOOL_PACKS = {
|
|
|
43
43
|
// search_all_spaces 已改为内置 skill(search-all-spaces),按需 loadSkill
|
|
44
44
|
// 加载,不再随 CORE 常驻;全部视图(All View)运行时只给 recommended hint,
|
|
45
45
|
// 不自动注入工具。search_workspace 保持常驻(分类视图的「当前空间」检索)。
|
|
46
|
+
// ask_user:Web/TUI 默认启用(CORE 常驻,用户可显式 disabledTools 关闭);
|
|
47
|
+
// desktop 无交互通道,由 desktopAgentRuntimeTurnService.ts 经
|
|
48
|
+
// INTERACTION_REQUIRED_TOOL_NAMES 剥离。
|
|
49
|
+
// queryModelUsage / queryUserGrowthReport:server-only 工具(web/CLI executor
|
|
50
|
+
// 直接返回 serverOnlyResult),不随 CORE 常驻——server 端由 agent 显式
|
|
51
|
+
// tools 配置按需挂载(utilityServerTools 执行器),web 端不再挂死 schema。
|
|
46
52
|
CORE: [
|
|
47
53
|
"read",
|
|
48
54
|
"createDoc",
|
|
49
55
|
"updateDoc",
|
|
50
56
|
"search_workspace",
|
|
51
57
|
"updateSelf",
|
|
52
|
-
"
|
|
53
|
-
"queryUserGrowthReport",
|
|
58
|
+
"ask_user",
|
|
54
59
|
"createAgentAutomation",
|
|
55
60
|
"notifyUser",
|
|
56
61
|
"setTodoList"
|
|
@@ -100,8 +105,8 @@ var CAPABILITY_PACKS = [
|
|
|
100
105
|
{
|
|
101
106
|
id: "long-term-memory",
|
|
102
107
|
label: "\u957F\u671F\u8BB0\u5FC6",
|
|
103
|
-
description: "\u5BF9\u8BDD\u524D\u81EA\u52A8\u8F7D\u5165\u9AD8\u76F8\u5173\u8BB0\u5FC6\uFF0C\u5E76\u5141\u8BB8 agent \u6309\u9700\u67E5\u8BE2\
|
|
104
|
-
tools: ["queryMemory", "rememberMemory"],
|
|
108
|
+
description: "\u5BF9\u8BDD\u524D\u81EA\u52A8\u8F7D\u5165\u9AD8\u76F8\u5173\u8BB0\u5FC6\uFF0C\u5E76\u5141\u8BB8 agent \u6309\u9700\u67E5\u8BE2\u3001\u5199\u5165\u6216\u5728\u7528\u6237\u5F3A\u5236\u8981\u6C42\u4E0B\u5220\u9664\u957F\u671F\u8BB0\u5FC6\u3002",
|
|
109
|
+
tools: ["queryMemory", "rememberMemory", "deleteMemory"],
|
|
105
110
|
defaultEnabled: true,
|
|
106
111
|
icon: "\u{1F9E0}"
|
|
107
112
|
},
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-YYLHWIW6.js";
|
|
4
4
|
import {
|
|
5
5
|
getModelAbility
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-C2UKEL7P.js";
|
|
7
7
|
import {
|
|
8
8
|
isOwnedAgentKey,
|
|
9
9
|
ownedAgentKey,
|
|
@@ -178,14 +178,7 @@ function sortSafeAgentSummaries(agents) {
|
|
|
178
178
|
});
|
|
179
179
|
}
|
|
180
180
|
|
|
181
|
-
// packages/ai/agent/agentAvailabilityShared.ts
|
|
182
|
-
function isAgentUnavailableNow(agent, now = Date.now()) {
|
|
183
|
-
const at = agent?.nextAvailableAt;
|
|
184
|
-
return typeof at === "number" && Number.isFinite(at) && at > now;
|
|
185
|
-
}
|
|
186
|
-
|
|
187
181
|
export {
|
|
188
182
|
toSafeAgentSummary,
|
|
189
|
-
sortSafeAgentSummaries
|
|
190
|
-
isAgentUnavailableNow
|
|
183
|
+
sortSafeAgentSummaries
|
|
191
184
|
};
|