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.
Files changed (157) hide show
  1. package/{_executeModel-RWPVI3YV.js → _executeModel-BTZJ6QKO.js} +56 -58
  2. package/{action-SMLG6OTB.js → action-LKQAGKHH.js} +11 -11
  3. package/{addContentAction-SFO244QN.js → addContentAction-IP2B6UUB.js} +9 -9
  4. package/{addDialogAgentAction-W44ZCEHB.js → addDialogAgentAction-JNIAUFE6.js} +8 -8
  5. package/{agentDeleteCommand-KU2RXQPP.js → agentDeleteCommand-WG6T4OTP.js} +48 -44
  6. package/{agentEmailCommands-MPCMDENS.js → agentEmailCommands-4CEZD4JW.js} +83 -80
  7. package/{agentListCommands-EPD4N6FX.js → agentListCommands-2YHWZHLD.js} +56 -43
  8. package/{agentMachineCommands-AF7C3YRT.js → agentMachineCommands-LKCUIDHA.js} +46 -42
  9. package/agentProviderCommands-65ZC2WB4.js +122 -0
  10. package/{agentPullCommand-YH5GEBK4.js → agentPullCommand-NYHSK6EW.js} +3 -3
  11. package/{agentRecordCommands-EYE6MZZG.js → agentRecordCommands-VSBYJUBN.js} +74 -71
  12. package/{agentRunCommand-LL22SGTN.js → agentRunCommand-LAD7TRWT.js} +80 -76
  13. package/{agentRuntimeLocal-JX34G47Z.js → agentRuntimeLocal-TEJECMTH.js} +34 -31
  14. package/{agentSlice-TNMFQQOV.js → agentSlice-3U3H657P.js} +11 -11
  15. package/{appDeleteCommands-43K5VXQB.js → appDeleteCommands-5QCUYGTX.js} +41 -37
  16. package/{appDeployCommands-FEEJSVDZ.js → appDeployCommands-GMIAIMDB.js} +41 -37
  17. package/{appDeployStatusCommands-H76CG45R.js → appDeployStatusCommands-ZTJ6APB6.js} +41 -37
  18. package/{appGetCommands-MDZYFTYZ.js → appGetCommands-PI4NTPKT.js} +41 -37
  19. package/{appListCommands-TUJJXPWG.js → appListCommands-QMRCLRJ6.js} +41 -37
  20. package/{authCommand-T7UK4CWS.js → authCommand-4ICNA46V.js} +21 -20
  21. package/{authCommands-EAPFGNHN.js → authCommands-W74NRPA6.js} +6 -6
  22. package/{chatQueueReduxAdapter-LVQXC4ZY.js → chatQueueReduxAdapter-5GNVXJ5T.js} +25 -24
  23. package/{chunk-JZ5AMMXU.js → chunk-244YJUYS.js} +4 -4
  24. package/{chunk-2UECQ7RE.js → chunk-3AOLVADY.js} +1 -1
  25. package/{chunk-AFV4FOT2.js → chunk-3GDKZAPT.js} +4 -91
  26. package/{chunk-M4NC7NF6.js → chunk-3H3FPUCI.js} +2 -2
  27. package/chunk-3Z32AD6X.js +22 -0
  28. package/{chunk-B2BSG6QQ.js → chunk-4EXK5Q2M.js} +18 -18
  29. package/{chunk-UK5JGQVU.js → chunk-52DHSNJC.js} +14 -20
  30. package/{chunk-LOD75GOS.js → chunk-6PI2635O.js} +3884 -1562
  31. package/{chunk-HDKRSRYU.js → chunk-7CH6ONWB.js} +636 -210
  32. package/{chunk-FMEVI5TG.js → chunk-7CH6U3FL.js} +1 -1
  33. package/{chunk-FSSX3XRY.js → chunk-7URTEFXJ.js} +1 -1
  34. package/{chunk-JTSGWTYZ.js → chunk-ASA3CJSG.js} +2 -2
  35. package/{chunk-6SXC35F4.js → chunk-AXCXE35O.js} +13 -13
  36. package/{chunk-2QTEYCR7.js → chunk-C2UKEL7P.js} +17 -7
  37. package/{chunk-I6N2UVVY.js → chunk-CBYBNR2K.js} +1 -1
  38. package/{chunk-WHD6BG7M.js → chunk-DMOWI2S7.js} +48 -44
  39. package/{chunk-3GZXL6FM.js → chunk-DZPK4YQY.js} +1 -1
  40. package/{chunk-6HYVJV7B.js → chunk-ESHYE7WU.js} +2 -1
  41. package/{chunk-TFPUAELY.js → chunk-ET4UZQN3.js} +3 -3
  42. package/{chunk-3WXRAHCG.js → chunk-EU7POTD4.js} +3 -3
  43. package/{chunk-DPMBNHOJ.js → chunk-FAMAQ3A7.js} +1 -1
  44. package/{chunk-JZPBVBIY.js → chunk-FD36SCCD.js} +19 -8
  45. package/{chunk-57QJXIB6.js → chunk-FEDK54U6.js} +10 -10
  46. package/{chunk-MPZJVZDC.js → chunk-FL3KRU3X.js} +41 -2674
  47. package/{chunk-ZURFOV5J.js → chunk-FS5VNMPF.js} +3 -3
  48. package/{chunk-2H3XIBY4.js → chunk-FSOCQPX7.js} +4 -82
  49. package/{chunk-M2YMQOLC.js → chunk-G34SHBSK.js} +11 -11
  50. package/{chunk-U4TRT5V4.js → chunk-GEPHJJW4.js} +1 -1
  51. package/{chunk-OIQPORYI.js → chunk-GN6ENM54.js} +178 -2
  52. package/{chunk-X664KVEV.js → chunk-HHBXCRJS.js} +204 -123
  53. package/chunk-HJ23CUHW.js +109 -0
  54. package/{chunk-RAZOLMJR.js → chunk-HXV5GJFC.js} +15 -8
  55. package/{chunk-OR2HNLVO.js → chunk-HYQSSY7V.js} +71 -79
  56. package/{chunk-WLH5BAKX.js → chunk-IIOHYLIG.js} +9 -4
  57. package/{chunk-2IVEXF7P.js → chunk-ISQZFROX.js} +2 -9
  58. package/{chunk-IHEC7VBF.js → chunk-J36P3SH5.js} +1 -1
  59. package/{chunk-PREQU5QV.js → chunk-J5STUEYU.js} +1 -1
  60. package/{chunk-O6GEBMIY.js → chunk-JE4J3T7A.js} +5296 -4981
  61. package/{chunk-VH2F7ZB6.js → chunk-JG43PNFR.js} +1 -1
  62. package/{chunk-GTYM4HKV.js → chunk-JZ6JDSWD.js} +5 -5
  63. package/{chunk-X2DAEZ3X.js → chunk-KWPXU3W5.js} +1 -1
  64. package/{chunk-WJSW43QZ.js → chunk-L3JWI7WX.js} +0 -1
  65. package/{chunk-NNWHHCVP.js → chunk-LI6SNQF6.js} +2 -3
  66. package/{chunk-GM6PU7B6.js → chunk-MEYIRKDN.js} +0 -1
  67. package/{chunk-Q5ITEGIN.js → chunk-N4XRDM26.js} +1 -1
  68. package/{chunk-7E72JMBB.js → chunk-N543Q3VR.js} +57 -16
  69. package/{chunk-YDTYDA5W.js → chunk-NBIS3WYT.js} +8 -6
  70. package/{chunk-JMPYDFHY.js → chunk-NI72ISCU.js} +21 -8
  71. package/{chunk-5CS33IBL.js → chunk-NQ4N4IGO.js} +11 -12
  72. package/chunk-OH4Q4VVA.js +38 -0
  73. package/{chunk-CLP2K7U4.js → chunk-OS63QEVB.js} +7 -7
  74. package/{chunk-DFUPZE6V.js → chunk-P35OZHD4.js} +3 -16
  75. package/{chunk-GMXWYXAF.js → chunk-PJT3CCBL.js} +4 -4
  76. package/{chunk-3VAQHAXT.js → chunk-PYLC3472.js} +27 -27
  77. package/{chunk-ADLYMQB6.js → chunk-QUK7UZW7.js} +137 -0
  78. package/{chunk-37V5LNEQ.js → chunk-RRYRKT7X.js} +1 -1
  79. package/{chunk-AAGCMVFT.js → chunk-S6QP3AK4.js} +895 -175
  80. package/{chunk-73GINUCW.js → chunk-SQPMYIR5.js} +135 -56
  81. package/{chunk-XCCGU6QB.js → chunk-SSK4QDFL.js} +1 -1
  82. package/{chunk-IL545V3E.js → chunk-TACRGJZO.js} +7 -7
  83. package/chunk-TVXJEOU2.js +78 -0
  84. package/{chunk-NUO3QFWD.js → chunk-UNHKVD2N.js} +1 -1
  85. package/{chunk-GE6IWA5N.js → chunk-UNZDCI3O.js} +126 -1
  86. package/chunk-UOLENXLQ.js +1132 -0
  87. package/{chunk-5SBK2MTI.js → chunk-UOVE5ZHK.js} +24 -71
  88. package/{chunk-ZJMME4DS.js → chunk-VBJVODPE.js} +6 -6
  89. package/{chunk-FXFGNOT2.js → chunk-VFVCYIRQ.js} +1 -1
  90. package/{chunk-AOXVOC6D.js → chunk-W2DNU6FK.js} +3 -3
  91. package/chunk-X6WFECZY.js +97 -0
  92. package/{chunk-RY57GLGW.js → chunk-YPREESF4.js} +42 -5
  93. package/{chunk-HUCT7HID.js → chunk-YXB5JR6N.js} +1 -1
  94. package/{chunk-BQXOGBFN.js → chunk-YZ2WE6CW.js} +2 -2
  95. package/{cliExecutor-DW3PHGEL.js → cliExecutor-BBUVQU4L.js} +2 -2
  96. package/{codingSkills-DY5MINPG.js → codingSkills-FXKII4C6.js} +3 -3
  97. package/{createAgentAutomationAction-INQT23LX.js → createAgentAutomationAction-CMOMDO6G.js} +25 -26
  98. package/{createDialogAction-LDCPDI73.js → createDialogAction-QG7DKUA7.js} +28 -29
  99. package/{createPageAction-5YXOG2M4.js → createPageAction-JCMCNMTK.js} +30 -31
  100. package/{dbSlice-3SD5L5H2.js → dbSlice-ZNHRC4BK.js} +8 -8
  101. package/{deleteFile-XQXPBFFB.js → deleteFile-NPZ64DFN.js} +5 -5
  102. package/{dialogCommands-CHJO47AX.js → dialogCommands-T43TTFWR.js} +40 -36
  103. package/{dialogSlice-DOWKOILN.js → dialogSlice-5VZFBHCA.js} +24 -23
  104. package/{docCreateCommands-OVZARUFX.js → docCreateCommands-DQBKKPOC.js} +42 -38
  105. package/{docDeleteCommands-E2XJ62LD.js → docDeleteCommands-ULM4MTP3.js} +43 -39
  106. package/{docReadCommands-I7OSREPJ.js → docReadCommands-3FXTVWVJ.js} +42 -38
  107. package/{docStore-UAWSKZ2Y.js → docStore-LTAGA6XZ.js} +26 -27
  108. package/{docUpdateCommands-X4Z26VJM.js → docUpdateCommands-ZE6B3SLE.js} +44 -40
  109. package/emscripten-module-EDQBMDVK.js +576 -0
  110. package/emscripten-module-LCBQ7VWY.js +1506 -0
  111. package/emscripten-module-OFHQ7EL3.js +482 -0
  112. package/emscripten-module-XM7NDJQA.js +4536 -0
  113. package/fetchMessages-7QRCCRYK.js +1 -1
  114. package/ffi-6ZSX3QJ4.js +80 -0
  115. package/ffi-742Y76PE.js +92 -0
  116. package/ffi-AEYWSYLM.js +80 -0
  117. package/ffi-KQC27OUM.js +92 -0
  118. package/{getPricing-L2ENXWHV.js → getPricing-5R7P4JLI.js} +4 -4
  119. package/{handleSendMessageAction-C3TSDWKH.js → handleSendMessageAction-7GF5IU4J.js} +26 -25
  120. package/index.js +78 -76
  121. package/{localRuntimeAuthority-E3R24J4T.js → localRuntimeAuthority-S77B5QVB.js} +6 -2
  122. package/{localRuntimeDb-DDZCJFQZ.js → localRuntimeDb-N3H3HQ7G.js} +1 -1
  123. package/{machineCommands-BUOIYJAD.js → machineCommands-57UG5TRO.js} +84 -81
  124. package/{machineInfo-M6KB6HZN.js → machineInfo-66ZFUMLE.js} +1 -1
  125. package/{machineWsRunDispatch-7CRWAA6O.js → machineWsRunDispatch-L3GQ7ASL.js} +72 -69
  126. package/{models-OX2S5C6Q.js → models-CQOLEOPZ.js} +2 -2
  127. package/module-ES6BEMUI-AFCVSBMS.js +14 -0
  128. package/module-asyncify-2EFITU5U-DEP2F2QP.js +9 -0
  129. package/package.json +1 -1
  130. package/{read-6G73BMEY.js → read-QOLSHOT5.js} +6 -6
  131. package/{readDocTool-DK4EI2GA.js → readDocTool-X7HLXXBW.js} +1 -1
  132. package/{readlineWorkspace-ZDWEASJV.js → readlineWorkspace-SFUQOD4C.js} +3746 -3155
  133. package/{removeDialogAgentAction-E7H557UO.js → removeDialogAgentAction-UBYX7RVR.js} +12 -12
  134. package/{runAgentClientLoop-U7HYA3O5.js → runAgentClientLoop-VCTFHJVP.js} +53 -54
  135. package/{runtimeDoctorCommands-KIKM6BIO.js → runtimeDoctorCommands-HT4O2PXL.js} +6 -6
  136. package/{setDialogExtraReferencesAction-RMMGBR5F.js → setDialogExtraReferencesAction-GMXZTTQA.js} +9 -9
  137. package/{setPrimaryDialogAgentAction-FWBKKLVA.js → setPrimaryDialogAgentAction-JKVEILI3.js} +12 -12
  138. package/{settingSlice-73PV4KG4.js → settingSlice-EQKEXSTU.js} +10 -10
  139. package/{skillDiscovery-KLLKXPUO.js → skillDiscovery-6YSTRCQ7.js} +3 -3
  140. package/{slateUtils-VO2FU36K.js → slateUtils-RIZES3PV.js} +1 -1
  141. package/{spaceCommands-GEWZXGHM.js → spaceCommands-3PVSEEGH.js} +235 -46
  142. package/{spaceSlice-B6MOVY4N.js → spaceSlice-OEBVDZGG.js} +25 -26
  143. package/{streamAgentChatTurn-T527EQTT.js → streamAgentChatTurn-YLUPK5CI.js} +107 -120
  144. package/{switchDialogAgentAction-US6QNL3N.js → switchDialogAgentAction-DSC2T3JW.js} +8 -8
  145. package/{chunk-IDAU4UFS.js → syncMapping-N6RGXGBW.js} +11 -11
  146. package/{tableCommands-QE47K72R.js → tableCommands-SQSOF2XK.js} +9 -9
  147. package/{tools-XMWCVMPM.js → tools-IZUS4UM5.js} +41 -42
  148. package/{tuiSummaryLlmCaller-NCAJSVSD.js → tuiSummaryLlmCaller-ZFPTFGXJ.js} +17 -16
  149. package/{updateCommands-AK2RDOFR.js → updateCommands-MNDUIKN7.js} +2 -2
  150. package/{updateDialogTitleAction-XPJZRJEL.js → updateDialogTitleAction-BB53DOCT.js} +31 -32
  151. package/chunk-6PO2SYCS.js +0 -1800
  152. package/chunk-M3JEW6N6.js +0 -193
  153. package/syncMapping-RK2MANUX.js +0 -43
  154. package/{agentGrantCommands-2LEZDADN.js → agentGrantCommands-OPIGFRDO.js} +2 -2
  155. package/{chunk-ZHYK3N56.js → chunk-G7HTVVFL.js} +3 -3
  156. package/{chunk-SAQQLJZ5.js → chunk-JDSUTNYY.js} +3 -3
  157. 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: 0.5 * 7,
72
- output: 3 * 7,
73
- cachingWrite: 0.05 * 7,
74
- cachingRead: 0.05 * 7
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: 1.5 * 7,
91
- output: 9 * 7,
92
- cachingWrite: 0.15 * 7,
93
- cachingRead: 0.15 * 7
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: 0.75 * 7,
116
- output: 3.75 * 7,
117
- cachingWrite: 0.075 * 7,
118
- cachingRead: 0.075 * 7
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: 2 * 7,
125
- outputPrice: 12 * 7,
126
- imageTokenPricePerMillion: 120 * 7,
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: 0.5 * 7,
163
- outputPrice: 3 * 7,
164
- imageTokenPricePerMillion: 60 * 7,
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: 0.25 * 7,
201
- outputPrice: 1.5 * 7,
202
- pricePerImage: 0.034 * 7,
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: 5 * 8,
235
- output: 30 * 8,
236
- inputCacheHit: 0.5 * 8
232
+ input: 40,
233
+ output: 240,
234
+ inputCacheHit: 4
237
235
  };
238
236
  var GPT_5_5_LONG_CONTEXT_PRICE = {
239
- input: 10 * 8,
240
- output: 45 * 8,
241
- inputCacheHit: 1 * 8
237
+ input: 80,
238
+ output: 360,
239
+ inputCacheHit: 8
242
240
  };
243
241
  var GPT_5_5_PRO_STANDARD_PRICE = {
244
- input: 30 * 8,
245
- output: 180 * 8,
242
+ input: 240,
243
+ output: 1440,
246
244
  inputCacheHit: 0
247
245
  };
248
246
  var GPT_5_5_PRO_LONG_CONTEXT_PRICE = {
249
- input: 60 * 8,
250
- output: 270 * 8,
247
+ input: 480,
248
+ output: 2160,
251
249
  inputCacheHit: 0
252
250
  };
253
251
  var GPT_5_6_SOL_STANDARD_PRICE = {
254
- input: 5 * 8,
255
- output: 30 * 8,
256
- inputCacheHit: 0.5 * 8
252
+ input: 40,
253
+ output: 240,
254
+ inputCacheHit: 4
257
255
  };
258
256
  var GPT_5_6_SOL_LONG_CONTEXT_PRICE = {
259
- input: 10 * 8,
260
- output: 45 * 8,
261
- inputCacheHit: 1 * 8
257
+ input: 80,
258
+ output: 360,
259
+ inputCacheHit: 8
262
260
  };
263
261
  var GPT_5_6_TERRA_STANDARD_PRICE = {
264
- input: 2 * 8,
265
- output: 12 * 8,
266
- inputCacheHit: 0.2 * 8
262
+ input: 16,
263
+ output: 96,
264
+ inputCacheHit: 1.6
267
265
  };
268
266
  var GPT_5_6_TERRA_LONG_CONTEXT_PRICE = {
269
- input: 4 * 8,
270
- output: 18 * 8,
271
- inputCacheHit: 0.4 * 8
267
+ input: 32,
268
+ output: 144,
269
+ inputCacheHit: 3.2
272
270
  };
273
271
  var GPT_5_6_LUNA_PRICE = {
274
- input: 0.2 * 8,
275
- output: 1.2 * 8,
276
- inputCacheHit: 0.02 * 8
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: 5 * 8, output: 0, inputCacheHit: 1.25 * 8 },
373
+ price: { input: 40, output: 0, inputCacheHit: 10 },
376
374
  pricePerImage: void 0,
377
375
  // Dynamic cost via imageTokenPricePerMillion and quality/size
378
- imageTokenPricePerMillion: 30 * 8,
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: 5 * 8,
405
- output: 25 * 8
400
+ input: 40,
401
+ output: 200
406
402
  };
407
403
  var DEEPINFRA_CLAUDE_FABLE_PRICE = {
408
- input: 10 * 8,
409
- output: 50 * 8
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
- // 价格沿用 grok-4.5 报价($2/$6 ×7),换代后待 live 验证再校准。
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: 0.3 * 8,
472
- output: 1.2 * 8,
473
- cachingRead: 0.06 * 8
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 (3 * 8 = 24)
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: toPlatformCredits(1.4),
543
+ input: 7.84,
552
544
  // 11.2 credits
553
- inputCacheHit: toPlatformCredits(0.26),
545
+ inputCacheHit: 1.456,
554
546
  // 2.08 credits
555
- output: toPlatformCredits(4.4)
556
- // 35.2 credits (4.4 * 8 = 35.2)
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: toPlatformCredits(0.75),
552
+ input: 4.2,
561
553
  // 6.0 credits
562
- output: toPlatformCredits(3.75),
554
+ output: 21,
563
555
  // 30.0 credits
564
- cachingWrite: toPlatformCredits(0.075),
556
+ cachingWrite: 0.42,
565
557
  // 0.6 credits
566
- cachingRead: toPlatformCredits(0.075)
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 beijingHour = (new Date(nowMs).getUTCHours() + 8 + 24) % 24;
597
- return beijingHour >= 0 && beijingHour < 8;
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
- "queryModelUsage",
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\u6216\u5199\u5165\u957F\u671F\u8BB0\u5FC6\u3002",
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-2QTEYCR7.js";
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
  };
@@ -2,7 +2,7 @@ import {
2
2
  deleteDbRecord,
3
3
  queryUserRecords,
4
4
  readDbRecord
5
- } from "./chunk-YDTYDA5W.js";
5
+ } from "./chunk-NBIS3WYT.js";
6
6
  import {
7
7
  mergeAndDedupUserData
8
8
  } from "./chunk-KQHGZWSV.js";
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  DEFAULT_AGENT_BASE_POLICY,
3
3
  DEFAULT_USER_PREFERENCE_PROFILE
4
- } from "./chunk-CLP2K7U4.js";
4
+ } from "./chunk-OS63QEVB.js";
5
5
 
6
6
  // packages/ai/policy/runtimePolicy.ts
7
7
  var clampLevel = (value, fallback) => {