nolo-cli 0.33.0-alpha.9 → 0.34.0-alpha.1

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 (158) hide show
  1. package/{_executeModel-2WR4RTZZ.js → _executeModel-BUYCXZCQ.js} +65 -65
  2. package/{action-OQWPNKAH.js → action-KMBZ3LCZ.js} +12 -12
  3. package/{addContentAction-YVINZQTF.js → addContentAction-KQ44UT2U.js} +10 -10
  4. package/{addDialogAgentAction-6IOCIEPI.js → addDialogAgentAction-ILSDCMYL.js} +9 -9
  5. package/{agentDeleteCommand-H22WRYC6.js → agentDeleteCommand-WSS2IJVM.js} +40 -39
  6. package/{agentEmailCommands-DGJVCMCG.js → agentEmailCommands-SHTPJTSX.js} +75 -75
  7. package/{agentListCommands-6NWMLIMQ.js → agentListCommands-GV6UYVAF.js} +47 -37
  8. package/{agentMachineCommands-5MUO6RDI.js → agentMachineCommands-FLD7TAFH.js} +37 -36
  9. package/agentProviderCommands-65ZC2WB4.js +122 -0
  10. package/{agentPullCommand-YH5GEBK4.js → agentPullCommand-TSWAJPS2.js} +1 -1
  11. package/agentRecordCommands-57W6R7QW.js +113 -0
  12. package/{agentRunCommand-LYEMVQJH.js → agentRunCommand-HJGXSMDN.js} +78 -76
  13. package/{agentRunControl-SCIVRZWX.js → agentRunControl-GXOB47YI.js} +5 -1
  14. package/{agentRuntimeLocal-PRAR3NCW.js → agentRuntimeLocal-G7ZV55I6.js} +33 -33
  15. package/{agentSlice-AMDSTXP5.js → agentSlice-HFR7SP3B.js} +12 -12
  16. package/agentSuperviseCommands-Q64S5SPG.js +640 -0
  17. package/{appDeleteCommands-L5PKC42V.js → appDeleteCommands-SHHE56Y2.js} +35 -34
  18. package/{appDeployCommands-3J7Z4XWV.js → appDeployCommands-WUMSO2VS.js} +35 -34
  19. package/{appDeployStatusCommands-YTRPXE72.js → appDeployStatusCommands-VZSVN6SR.js} +35 -34
  20. package/{appGetCommands-JVXV5WXD.js → appGetCommands-ZJ2C3A5Y.js} +35 -34
  21. package/{appListCommands-7KDEOJSO.js → appListCommands-W33L6U5X.js} +35 -34
  22. package/{authCommand-6Y5LTMZB.js → authCommand-B2XRHNJH.js} +19 -19
  23. package/{authCommands-EAPFGNHN.js → authCommands-GWABTFMR.js} +6 -6
  24. package/{chatQueueReduxAdapter-ZKSS6XRV.js → chatQueueReduxAdapter-SYIX4ODY.js} +28 -28
  25. package/{chunk-UM4H3URE.js → chunk-23KKIMD5.js} +7 -7
  26. package/{chunk-HUCT7HID.js → chunk-2KO5QQFV.js} +2 -2
  27. package/{chunk-2UECQ7RE.js → chunk-3AOLVADY.js} +1 -1
  28. package/{chunk-EMW55KKX.js → chunk-3LWZNEGQ.js} +1 -1
  29. package/{chunk-MQWVAOIU.js → chunk-3XZUNRYF.js} +33 -158
  30. package/{chunk-M2YMQOLC.js → chunk-4APLX2RT.js} +75 -10
  31. package/{chunk-ZHYK3N56.js → chunk-4AWH4LQA.js} +3 -1
  32. package/{chunk-3GZXL6FM.js → chunk-4DMPISV6.js} +7 -3
  33. package/chunk-4HOXB6SY.js +297 -0
  34. package/{chunk-OIQPORYI.js → chunk-64KIQZA2.js} +175 -2
  35. package/{chunk-BQ3OHLR5.js → chunk-6KYCG5GW.js} +1216 -690
  36. package/chunk-6XG52ZQ6.js +146 -0
  37. package/{chunk-GOIDVXK5.js → chunk-74IQ5RRO.js} +21 -8
  38. package/{chunk-FMEVI5TG.js → chunk-7CH6U3FL.js} +1 -1
  39. package/{chunk-DSBGWT2C.js → chunk-7YDKVLAE.js} +10 -10
  40. package/{chunk-5X4GQ53C.js → chunk-AUH2LTIY.js} +7 -7
  41. package/{chunk-UNOTBWZZ.js → chunk-B6H5XCT2.js} +8 -8
  42. package/{chunk-NNWHHCVP.js → chunk-BMB563Y6.js} +10 -4
  43. package/{chunk-DFUPZE6V.js → chunk-C6ELZQ7H.js} +249 -34
  44. package/{chunk-BXPBZVRE.js → chunk-DX6BP4K7.js} +285 -251
  45. package/{chunk-6HYVJV7B.js → chunk-ESHYE7WU.js} +2 -1
  46. package/{chunk-JZPBVBIY.js → chunk-FD36SCCD.js} +19 -8
  47. package/{chunk-7L5CQQIT.js → chunk-FDKEDU7R.js} +14 -14
  48. package/{chunk-DKMOY3QI.js → chunk-FGLKRJDI.js} +54 -3
  49. package/{chunk-2QTEYCR7.js → chunk-FTM4KUOZ.js} +17 -17
  50. package/{chunk-U4TRT5V4.js → chunk-GEPHJJW4.js} +1 -1
  51. package/{chunk-7YYHKBJP.js → chunk-GKHV4UH5.js} +1 -1
  52. package/{chunk-2IVEXF7P.js → chunk-GUYMR3JL.js} +6 -33
  53. package/{chunk-YDTYDA5W.js → chunk-GZRMWK5R.js} +6 -4
  54. package/{chunk-VWY2CZD2.js → chunk-HDT2RB7T.js} +3 -3
  55. package/{chunk-X664KVEV.js → chunk-HHBXCRJS.js} +204 -123
  56. package/{chunk-75U775RZ.js → chunk-IFS5CUEH.js} +1 -1
  57. package/{chunk-WLH5BAKX.js → chunk-IIOHYLIG.js} +9 -4
  58. package/{chunk-ADLYMQB6.js → chunk-IZCHPD7T.js} +52 -3
  59. package/{chunk-ITIA6OAQ.js → chunk-IZNJDUJ4.js} +5 -5
  60. package/{chunk-X2DAEZ3X.js → chunk-J5NMOM35.js} +1 -1
  61. package/{chunk-RPRRIFXV.js → chunk-JI2TIPLP.js} +1 -1
  62. package/{chunk-EGRJC4ZN.js → chunk-JIADXJYU.js} +1 -1
  63. package/{chunk-IHEC7VBF.js → chunk-K4KIFRIN.js} +1 -1
  64. package/{chunk-7INB7NXF.js → chunk-KCBK4MDT.js} +294 -54
  65. package/{chunk-WJSW43QZ.js → chunk-L3JWI7WX.js} +0 -1
  66. package/{chunk-XLLTJXAD.js → chunk-LAUUAYLK.js} +39 -2672
  67. package/{chunk-3RUW3ONU.js → chunk-LD6Y6RJY.js} +4 -4
  68. package/{chunk-AN7DGYMW.js → chunk-LQ6PUHW6.js} +5077 -3588
  69. package/chunk-M3JQWYBC.js +387 -0
  70. package/{chunk-GM6PU7B6.js → chunk-MEYIRKDN.js} +0 -1
  71. package/{chunk-6YXDOOSH.js → chunk-MGIHZ5CJ.js} +4 -4
  72. package/chunk-MI2J67UU.js +43 -0
  73. package/{chunk-4F5M2MW5.js → chunk-MJWX4JQO.js} +2 -2
  74. package/{chunk-Q5ITEGIN.js → chunk-N4XRDM26.js} +1 -1
  75. package/{chunk-5CS33IBL.js → chunk-NQ4N4IGO.js} +11 -12
  76. package/{chunk-ZZ2MH7LE.js → chunk-O6OSWFZQ.js} +0 -1
  77. package/{chunk-ZURFOV5J.js → chunk-OFZPJ3NT.js} +13 -4
  78. package/{chunk-RJKIB55Y.js → chunk-OSCSEJJR.js} +15 -8
  79. package/{chunk-SCUETSRP.js → chunk-PV734VZX.js} +1 -1
  80. package/{chunk-7E72JMBB.js → chunk-SMPAUSX5.js} +46 -5
  81. package/{chunk-ASDXPOJH.js → chunk-U6QQLXWI.js} +1 -1
  82. package/{chunk-NUO3QFWD.js → chunk-UNHKVD2N.js} +1 -1
  83. package/{chunk-GE6IWA5N.js → chunk-UNZDCI3O.js} +126 -1
  84. package/{chunk-CPYYM4RJ.js → chunk-V5GA74HI.js} +19 -5
  85. package/{chunk-UEAUAXYS.js → chunk-VBD7W4Q6.js} +2057 -212
  86. package/{chunk-DNQK7M7K.js → chunk-VD2SO4RG.js} +4 -4
  87. package/{chunk-FXFGNOT2.js → chunk-VFVCYIRQ.js} +1 -1
  88. package/{chunk-7KNERA53.js → chunk-VSA6QAGV.js} +47 -3
  89. package/{chunk-G7E4NWFE.js → chunk-W445DPVT.js} +1 -1
  90. package/{chunk-3UG2IIZ3.js → chunk-WN5AJG5I.js} +1 -1
  91. package/{chunk-KSRFVP36.js → chunk-WRN7L5CS.js} +1 -1
  92. package/{chunk-GJXRIOLS.js → chunk-WRP5TTM6.js} +4 -84
  93. package/chunk-X2K2JSO4.js +163 -0
  94. package/{chunk-OR2HNLVO.js → chunk-X6EN3KJX.js} +279 -477
  95. package/{chunk-IKWTTKWG.js → chunk-XQES6LXQ.js} +2 -2
  96. package/{chunk-IR6W62Q6.js → chunk-XT73C4VH.js} +18 -21
  97. package/{chunk-RY57GLGW.js → chunk-YPREESF4.js} +42 -5
  98. package/{chunk-WNHST4IE.js → chunk-YRP7LG4R.js} +4527 -4080
  99. package/{chunk-BQXOGBFN.js → chunk-YZ2WE6CW.js} +2 -2
  100. package/{chunk-3WXRAHCG.js → chunk-ZBB3MZR3.js} +3 -3
  101. package/{cliExecutor-DW3PHGEL.js → cliExecutor-BBUVQU4L.js} +2 -2
  102. package/{clipboardy-MMBYVRLF.js → clipboardy-PRUHGPGC.js} +4 -3
  103. package/{codingSkills-DY5MINPG.js → codingSkills-H6N5EKSX.js} +3 -3
  104. package/cooldownCommands-C2SZLEEO.js +90 -0
  105. package/{createAgentAutomationAction-GVSJL2CI.js → createAgentAutomationAction-BH3D2L2H.js} +28 -30
  106. package/{createDialogAction-VVR46Q2A.js → createDialogAction-U4LDV2RW.js} +31 -33
  107. package/{createPageAction-M2VDKBYS.js → createPageAction-Q2ANG535.js} +30 -32
  108. package/{dbSlice-UI2VCBLG.js → dbSlice-PIQGICNM.js} +9 -9
  109. package/{deleteFile-XQXPBFFB.js → deleteFile-NPZ64DFN.js} +4 -4
  110. package/{dialogCommands-26DBYNBT.js → dialogCommands-C556D6WD.js} +37 -36
  111. package/{dialogSlice-FFGLRCBL.js → dialogSlice-P2VSKG2X.js} +27 -27
  112. package/dist-VODFSGNG.js +7442 -0
  113. package/{docCreateCommands-F2ASWG6B.js → docCreateCommands-AAVGLQWE.js} +36 -35
  114. package/{docDeleteCommands-A4URDZPI.js → docDeleteCommands-PKMKSQD2.js} +37 -36
  115. package/{docReadCommands-DO6VHDZD.js → docReadCommands-2WUH7UXC.js} +36 -35
  116. package/{docStore-EDAE7RNT.js → docStore-J5UWRBB4.js} +29 -31
  117. package/{docUpdateCommands-ZTXZ3RTP.js → docUpdateCommands-B2N4E5HQ.js} +38 -37
  118. package/{fetchMessages-7QRCCRYK.js → fetchMessages-CUEFN4GQ.js} +4 -4
  119. package/{getPricing-L2ENXWHV.js → getPricing-P3E2WRIH.js} +5 -5
  120. package/{handleSendMessageAction-CIRLGHOC.js → handleSendMessageAction-RRZ53YYH.js} +29 -29
  121. package/index.js +92 -77
  122. package/{localDialogRead-SLMPV5SK.js → localDialogRead-P7CHFMIC.js} +1 -1
  123. package/{localRuntimeAuthority-E3R24J4T.js → localRuntimeAuthority-S77B5QVB.js} +6 -2
  124. package/{localRuntimeDb-DDZCJFQZ.js → localRuntimeDb-N3H3HQ7G.js} +1 -1
  125. package/{machineCommands-NIQNCYJV.js → machineCommands-CWKMJG33.js} +77 -77
  126. package/{machineInfo-M6KB6HZN.js → machineInfo-66ZFUMLE.js} +1 -1
  127. package/{machineWsRunDispatch-EMTSQGAR.js → machineWsRunDispatch-UYNVNX4A.js} +69 -69
  128. package/{models-OX2S5C6Q.js → models-L7S2EKPM.js} +2 -2
  129. package/package.json +1 -1
  130. package/{read-2VHEHCAN.js → read-6C2XD3YZ.js} +5 -5
  131. package/{readDocTool-CSWD6NPC.js → readDocTool-Y7AB365O.js} +1 -1
  132. package/{readlineWorkspace-A2JBJWLI.js → readlineWorkspace-VYELP22P.js} +2851 -1515
  133. package/{removeDialogAgentAction-2T7BPM3T.js → removeDialogAgentAction-KG5WMJRZ.js} +13 -13
  134. package/{runAgentClientLoop-BV4736ED.js → runAgentClientLoop-35GKZDOZ.js} +62 -61
  135. package/{runtimeDoctorCommands-KIKM6BIO.js → runtimeDoctorCommands-HT4O2PXL.js} +6 -6
  136. package/{setDialogExtraReferencesAction-GPT37HTW.js → setDialogExtraReferencesAction-O2NLXMSM.js} +10 -10
  137. package/{setPrimaryDialogAgentAction-3746P7IW.js → setPrimaryDialogAgentAction-FYYUY7PB.js} +13 -13
  138. package/{settingSlice-FIFOQ6OR.js → settingSlice-GPLI6E3M.js} +11 -11
  139. package/{skillDiscovery-KLLKXPUO.js → skillDiscovery-COX56OBO.js} +3 -3
  140. package/{slateUtils-VO2FU36K.js → slateUtils-RIZES3PV.js} +1 -1
  141. package/{spaceCommands-AYZQHDB3.js → spaceCommands-AAKQM2PM.js} +223 -37
  142. package/{spaceSlice-43BNF22B.js → spaceSlice-NSNGR4Y2.js} +28 -30
  143. package/{streamAgentChatTurn-OLLRSITV.js → streamAgentChatTurn-D5IDHXMV.js} +116 -129
  144. package/{switchDialogAgentAction-MQTUTQHL.js → switchDialogAgentAction-GH5P6Q3Z.js} +9 -9
  145. package/{chunk-IDAU4UFS.js → syncMapping-N6RGXGBW.js} +11 -11
  146. package/{tableCommands-QE47K72R.js → tableCommands-PQUJ55AS.js} +3 -3
  147. package/{tools-2SI3FXLL.js → tools-JQOETZP5.js} +44 -45
  148. package/{tuiSummaryLlmCaller-EAWQ3IZX.js → tuiSummaryLlmCaller-LH7F2SP7.js} +18 -18
  149. package/{updateCommands-AK2RDOFR.js → updateCommands-MNDUIKN7.js} +2 -2
  150. package/{updateDialogTitleAction-YJEQFYOA.js → updateDialogTitleAction-WOTSDSFQ.js} +31 -33
  151. package/agentRecordCommands-YMGKT2WF.js +0 -113
  152. package/chunk-D5JI6VDM.js +0 -1800
  153. package/chunk-M3JEW6N6.js +0 -193
  154. package/chunk-ZWS6DUHX.js +0 -480
  155. package/syncMapping-RK2MANUX.js +0 -43
  156. package/{chunk-KMSZPTM6.js → chunk-2WKUUY2E.js} +3 -3
  157. package/{chunk-CWMSB67P.js → chunk-AGGIDPCZ.js} +0 -0
  158. package/{chunk-SAQQLJZ5.js → chunk-JDSUTNYY.js} +3 -3
@@ -4,16 +4,13 @@ import {
4
4
  PLATFORM_HOSTED_KIMI_PROVIDER,
5
5
  cloudflareModels,
6
6
  deepinfraModels,
7
- fireworksModels,
8
7
  getCloudflareWorkersAiChatCompletionsUrl,
9
8
  gmiModels,
10
- googleModels,
11
- openAIModels,
12
9
  openrouterModels,
13
10
  platformHostedModels,
14
- xaiModels,
11
+ toCnyCredits,
15
12
  zaiModels
16
- } from "./chunk-OR2HNLVO.js";
13
+ } from "./chunk-X6EN3KJX.js";
17
14
 
18
15
  // packages/integrations/anthropic/anthropicModels.ts
19
16
  var anthropicModels = [
@@ -26,13 +23,9 @@ var anthropicModels = [
26
23
  maxOutputTokens: 8192,
27
24
  price: {
28
25
  input: 27,
29
- // $3/MTok * 9
30
26
  output: 135,
31
- // $15/MTok * 9
32
27
  cachingWrite: 33.75,
33
- // $3.75/MTok * 9
34
28
  cachingRead: 2.7
35
- // $0.30/MTok * 9
36
29
  }
37
30
  },
38
31
  {
@@ -44,13 +37,9 @@ var anthropicModels = [
44
37
  maxOutputTokens: 8192,
45
38
  price: {
46
39
  input: 27,
47
- // $3/MTok * 9
48
40
  output: 135,
49
- // $15/MTok * 9
50
41
  cachingWrite: 33.75,
51
- // $3.75/MTok * 9
52
42
  cachingRead: 2.7
53
- // $0.30/MTok * 9
54
43
  }
55
44
  },
56
45
  {
@@ -62,13 +51,9 @@ var anthropicModels = [
62
51
  maxOutputTokens: 8192,
63
52
  price: {
64
53
  input: 7.2,
65
- // $0.80/MTok * 9
66
54
  output: 36,
67
- // $4/MTok * 9
68
55
  cachingWrite: 9,
69
- // $1/MTok * 9
70
56
  cachingRead: 0.72
71
- // $0.08/MTok * 9
72
57
  }
73
58
  }
74
59
  ];
@@ -112,6 +97,236 @@ function isAdaptiveThinkingModelId(model) {
112
97
  return n.includes("fable-5") || n.includes("opus-5") || n.includes("sonnet-5") || n.includes("opus-4-8") || n.includes("opus-4-7") || n.includes("sonnet-4-6") || n.includes("opus-4-6");
113
98
  }
114
99
 
100
+ // packages/ai/agent/liveAudioModel.ts
101
+ var DEFAULT_GOOGLE_LIVE_AUDIO_MODEL = "gemini-3.1-flash-live-preview";
102
+
103
+ // packages/integrations/google/models.ts
104
+ var googleModels = [
105
+ {
106
+ name: DEFAULT_GOOGLE_LIVE_AUDIO_MODEL,
107
+ displayName: "Gemini 3.1 Flash Live",
108
+ provider: "google",
109
+ description: "Gemini Live API model for low-latency real-time voice conversations.",
110
+ hasVision: true,
111
+ hasAudio: true,
112
+ contextWindow: 1048576,
113
+ maxOutputTokens: 65500,
114
+ supportsTool: true,
115
+ price: {
116
+ input: 4,
117
+ output: 24,
118
+ cachingWrite: 0.4,
119
+ cachingRead: 0.4
120
+ }
121
+ },
122
+ {
123
+ name: "gemini-3.6-flash",
124
+ displayName: "Gemini 3.6 Flash",
125
+ provider: "google",
126
+ description: "Gemini 3.6 Flash model for fast frontier agentic, coding, and multimodal tasks.",
127
+ hasVision: true,
128
+ hasAudio: true,
129
+ contextWindow: 1048576,
130
+ maxOutputTokens: 65536,
131
+ supportsTool: true,
132
+ supportsReasoningEffort: true,
133
+ price: {
134
+ input: 12,
135
+ output: 72,
136
+ cachingWrite: 1.2,
137
+ cachingRead: 1.2
138
+ },
139
+ serviceTierPriceMultipliers: {
140
+ batch: { inputOutput: 0.5, cache: 0.5 },
141
+ flex: { inputOutput: 0.5, cache: 0.08 / 0.15 },
142
+ priority: { inputOutput: 1.8, cache: 1.8 }
143
+ }
144
+ },
145
+ {
146
+ name: "gemini-3.7-flash",
147
+ displayName: "Gemini 3.7 Flash",
148
+ provider: "google",
149
+ description: "Gemini 3.7 Flash model for fast frontier agentic, coding, and multimodal tasks.",
150
+ hasVision: true,
151
+ hasAudio: true,
152
+ contextWindow: 1048576,
153
+ maxOutputTokens: 65536,
154
+ supportsTool: true,
155
+ supportsReasoningEffort: true,
156
+ // Antigravity's subscription wire route is tiered; Gemini API uses this logical id.
157
+ price: {
158
+ input: 6,
159
+ output: 30,
160
+ cachingWrite: 0.6,
161
+ cachingRead: 0.6
162
+ }
163
+ }
164
+ ];
165
+
166
+ // packages/integrations/openai/models.ts
167
+ var GPT_5_5_STANDARD_PRICE = {
168
+ input: 40,
169
+ output: 240,
170
+ inputCacheHit: 4
171
+ };
172
+ var GPT_5_5_LONG_CONTEXT_PRICE = {
173
+ input: 80,
174
+ output: 360,
175
+ inputCacheHit: 8
176
+ };
177
+ var GPT_5_5_PRO_STANDARD_PRICE = {
178
+ input: 240,
179
+ output: 1440,
180
+ inputCacheHit: 0
181
+ };
182
+ var GPT_5_5_PRO_LONG_CONTEXT_PRICE = {
183
+ input: 480,
184
+ output: 2160,
185
+ inputCacheHit: 0
186
+ };
187
+ var GPT_5_6_SOL_STANDARD_PRICE = {
188
+ input: 40,
189
+ output: 240,
190
+ inputCacheHit: 4
191
+ };
192
+ var GPT_5_6_SOL_LONG_CONTEXT_PRICE = {
193
+ input: 80,
194
+ output: 360,
195
+ inputCacheHit: 8
196
+ };
197
+ var GPT_5_6_TERRA_STANDARD_PRICE = {
198
+ input: 16,
199
+ output: 96,
200
+ inputCacheHit: 1.6
201
+ };
202
+ var GPT_5_6_TERRA_LONG_CONTEXT_PRICE = {
203
+ input: 32,
204
+ output: 144,
205
+ inputCacheHit: 3.2
206
+ };
207
+ var GPT_5_6_LUNA_PRICE = {
208
+ input: 1.6,
209
+ output: 9.6,
210
+ inputCacheHit: 0.16
211
+ };
212
+ var openAIModels = [
213
+ {
214
+ name: "gpt-5.5",
215
+ displayName: "GPT-5.5 Standard",
216
+ endpointKey: "responses",
217
+ hasVision: true,
218
+ contextWindow: 1047576,
219
+ maxOutputTokens: 128e3,
220
+ supportsReasoningEffort: true,
221
+ price: GPT_5_5_STANDARD_PRICE,
222
+ pricingStrategy: {
223
+ type: "tiered_context",
224
+ tiers: [
225
+ {
226
+ minContext: 272001,
227
+ price: GPT_5_5_LONG_CONTEXT_PRICE
228
+ }
229
+ ]
230
+ }
231
+ },
232
+ {
233
+ name: "gpt-5.6-sol",
234
+ displayName: "GPT-5.6 Sol (Flagship)",
235
+ endpointKey: "responses",
236
+ hasVision: true,
237
+ contextWindow: 105e4,
238
+ maxOutputTokens: 128e3,
239
+ supportsReasoningEffort: true,
240
+ price: GPT_5_6_SOL_STANDARD_PRICE,
241
+ pricingStrategy: {
242
+ type: "tiered_context",
243
+ tiers: [
244
+ {
245
+ minContext: 272001,
246
+ price: GPT_5_6_SOL_LONG_CONTEXT_PRICE
247
+ }
248
+ ]
249
+ }
250
+ },
251
+ {
252
+ name: "gpt-5.6-terra",
253
+ displayName: "GPT-5.6 Terra (Balanced)",
254
+ endpointKey: "responses",
255
+ hasVision: true,
256
+ contextWindow: 105e4,
257
+ maxOutputTokens: 128e3,
258
+ supportsReasoningEffort: true,
259
+ price: GPT_5_6_TERRA_STANDARD_PRICE,
260
+ pricingStrategy: {
261
+ type: "tiered_context",
262
+ tiers: [
263
+ {
264
+ minContext: 272001,
265
+ price: GPT_5_6_TERRA_LONG_CONTEXT_PRICE
266
+ }
267
+ ]
268
+ }
269
+ },
270
+ {
271
+ name: "gpt-5.6-luna",
272
+ displayName: "GPT-5.6 Luna (Fast)",
273
+ endpointKey: "responses",
274
+ hasVision: true,
275
+ contextWindow: 105e4,
276
+ maxOutputTokens: 128e3,
277
+ supportsReasoningEffort: true,
278
+ price: GPT_5_6_LUNA_PRICE
279
+ },
280
+ {
281
+ name: "gpt-5.5-pro",
282
+ displayName: "GPT-5.5 Pro",
283
+ endpointKey: "responses",
284
+ hasVision: true,
285
+ contextWindow: 1047576,
286
+ maxOutputTokens: 128e3,
287
+ supportsReasoningEffort: true,
288
+ price: GPT_5_5_PRO_STANDARD_PRICE,
289
+ pricingStrategy: {
290
+ type: "tiered_context",
291
+ tiers: [
292
+ {
293
+ minContext: 272001,
294
+ price: GPT_5_5_PRO_LONG_CONTEXT_PRICE
295
+ }
296
+ ]
297
+ }
298
+ }
299
+ ];
300
+
301
+ // packages/integrations/xai/models.ts
302
+ var xaiModels = [
303
+ {
304
+ name: "grok-4.6",
305
+ displayName: "Grok 4.6",
306
+ hasVision: true,
307
+ contextWindow: 5e5,
308
+ price: { input: 16, output: 48 },
309
+ fnCall: true,
310
+ jsonOutput: true
311
+ }
312
+ ];
313
+
314
+ // packages/ai/llm/fireworks.ts
315
+ var fireworksModels = [
316
+ {
317
+ name: "accounts/fireworks/models/minimax-m3",
318
+ displayName: "MiniMax: MiniMax M3",
319
+ hasVision: true,
320
+ price: {
321
+ input: 2.4,
322
+ output: 9.6,
323
+ cachingRead: 0.48
324
+ },
325
+ contextWindow: 512e3,
326
+ supportsTool: true
327
+ }
328
+ ];
329
+
115
330
  // packages/integrations/qwen/models.ts
116
331
  var qwenModels = [
117
332
  // ── Qwen3 旗舰 ──
@@ -126,7 +341,7 @@ var qwenModels = [
126
341
  supportsTool: true,
127
342
  supportsReasoningEffort: true,
128
343
  // 官方价:输入 ¥12/M、输出 ¥36/M;缓存命中 ¥1.5/M、显式缓存创建 ¥15/M、显式缓存命中 ¥1/M。
129
- price: { input: 12, output: 36 },
344
+ price: { input: toCnyCredits(12), output: toCnyCredits(36) },
130
345
  provider: "qwen",
131
346
  description: "2.4\u4E07\u4EBF\u53C2\u6570 MoE \u65D7\u8230\uFF0C1M \u4E0A\u4E0B\u6587\uFF08\u8F93\u5165 991K / \u8F93\u51FA 131K / \u601D\u7EF4\u94FE 262K\uFF09\uFF0C\u539F\u751F\u89C6\u89C9\u7406\u89E3\u8D2F\u7A7F\u89C4\u5212-\u6267\u884C-\u9A8C\u8BC1\uFF0C\u81EA\u4E3B\u7F16\u7A0B\u53EF\u4EA4\u4ED8\u5B8C\u6574\u9879\u76EE\u3002"
132
347
  },
@@ -140,7 +355,7 @@ var qwenModels = [
140
355
  fnCall: true,
141
356
  supportsTool: true,
142
357
  supportsReasoningEffort: true,
143
- price: { input: 6, output: 24 },
358
+ price: { input: toCnyCredits(6), output: toCnyCredits(24) },
144
359
  provider: "qwen",
145
360
  description: "\u5343\u95EE3 \u65D7\u8230\u6A21\u578B\uFF0C\u652F\u6301\u601D\u8003\u6A21\u5F0F\u3001\u51FD\u6570\u8C03\u7528\u3001\u7ED3\u6784\u5316\u8F93\u51FA\u3002"
146
361
  },
@@ -154,7 +369,7 @@ var qwenModels = [
154
369
  fnCall: true,
155
370
  supportsTool: true,
156
371
  supportsReasoningEffort: true,
157
- price: { input: 6, output: 24 },
372
+ price: { input: toCnyCredits(6), output: toCnyCredits(24) },
158
373
  provider: "qwen"
159
374
  },
160
375
  {
@@ -167,7 +382,7 @@ var qwenModels = [
167
382
  fnCall: true,
168
383
  supportsTool: true,
169
384
  supportsReasoningEffort: true,
170
- price: { input: 4, output: 12 },
385
+ price: { input: toCnyCredits(4), output: toCnyCredits(12) },
171
386
  provider: "qwen"
172
387
  },
173
388
  {
@@ -180,7 +395,7 @@ var qwenModels = [
180
395
  fnCall: true,
181
396
  supportsTool: true,
182
397
  supportsReasoningEffort: true,
183
- price: { input: 2, output: 6 },
398
+ price: { input: toCnyCredits(2), output: toCnyCredits(6) },
184
399
  provider: "qwen"
185
400
  },
186
401
  // ── Qwen3-Coder 编程系列 ──
@@ -194,7 +409,7 @@ var qwenModels = [
194
409
  fnCall: true,
195
410
  supportsTool: true,
196
411
  supportsReasoningEffort: true,
197
- price: { input: 3, output: 9 },
412
+ price: { input: toCnyCredits(3), output: toCnyCredits(9) },
198
413
  provider: "qwen",
199
414
  description: "\u5343\u95EE3 \u7F16\u7A0B\u65D7\u8230\uFF0C1M \u957F\u4E0A\u4E0B\u6587\uFF0C\u9002\u5408\u4EE3\u7801\u751F\u6210\u4E0E Agent \u7F16\u7A0B\u3002"
200
415
  },
@@ -208,7 +423,7 @@ var qwenModels = [
208
423
  fnCall: true,
209
424
  supportsTool: true,
210
425
  supportsReasoningEffort: true,
211
- price: { input: 1, output: 3 },
426
+ price: { input: toCnyCredits(1), output: toCnyCredits(3) },
212
427
  provider: "qwen"
213
428
  },
214
429
  {
@@ -221,7 +436,7 @@ var qwenModels = [
221
436
  fnCall: true,
222
437
  supportsTool: true,
223
438
  supportsReasoningEffort: true,
224
- price: { input: 5, output: 15 },
439
+ price: { input: toCnyCredits(5), output: toCnyCredits(15) },
225
440
  provider: "qwen"
226
441
  },
227
442
  // ── 长上下文 ──
@@ -234,7 +449,7 @@ var qwenModels = [
234
449
  jsonOutput: true,
235
450
  fnCall: false,
236
451
  supportsTool: false,
237
- price: { input: 0.5, output: 2 },
452
+ price: { input: toCnyCredits(0.5), output: toCnyCredits(2) },
238
453
  provider: "qwen",
239
454
  description: "10M \u8D85\u957F\u4E0A\u4E0B\u6587\uFF0C\u9002\u5408\u957F\u6587\u6863\u5904\u7406\u3002"
240
455
  },
@@ -249,7 +464,7 @@ var qwenModels = [
249
464
  fnCall: true,
250
465
  supportsTool: true,
251
466
  supportsReasoningEffort: true,
252
- price: { input: 0.8, output: 2 },
467
+ price: { input: toCnyCredits(0.8), output: toCnyCredits(2) },
253
468
  provider: "qwen"
254
469
  },
255
470
  {
@@ -261,7 +476,7 @@ var qwenModels = [
261
476
  jsonOutput: true,
262
477
  fnCall: true,
263
478
  supportsTool: true,
264
- price: { input: 0.3, output: 0.6 },
479
+ price: { input: toCnyCredits(0.3), output: toCnyCredits(0.6) },
265
480
  provider: "qwen"
266
481
  },
267
482
  {
@@ -273,7 +488,7 @@ var qwenModels = [
273
488
  jsonOutput: true,
274
489
  fnCall: true,
275
490
  supportsTool: true,
276
- price: { input: 0.1, output: 0.3 },
491
+ price: { input: toCnyCredits(0.1), output: toCnyCredits(0.3) },
277
492
  provider: "qwen"
278
493
  },
279
494
  // ── 推理(QwQ) ──
@@ -287,7 +502,7 @@ var qwenModels = [
287
502
  fnCall: true,
288
503
  supportsTool: true,
289
504
  supportsReasoningEffort: true,
290
- price: { input: 2, output: 8 },
505
+ price: { input: toCnyCredits(2), output: toCnyCredits(8) },
291
506
  provider: "qwen",
292
507
  description: "\u6DF1\u5EA6\u601D\u8003\u63A8\u7406\u6A21\u578B\u3002"
293
508
  }
@@ -418,7 +633,7 @@ var moonshotModels = [
418
633
  fnCall: true,
419
634
  supportsTool: true,
420
635
  supportsReasoningEffort: true,
421
- price: { input: 3 * 7, output: 15 * 7 },
636
+ price: { input: 24, output: 120 },
422
637
  provider: "moonshot",
423
638
  description: "Moonshot \u65D7\u8230\u6A21\u578B\uFF0C\u539F\u751F\u591A\u6A21\u6001\uFF0C1M \u4E0A\u4E0B\u6587\uFF0C\u957F\u7A0B\u7F16\u7A0B\u4E0E\u6DF1\u5EA6\u63A8\u7406\u3002"
424
639
  },
@@ -433,7 +648,7 @@ var moonshotModels = [
433
648
  fnCall: true,
434
649
  supportsTool: true,
435
650
  supportsReasoningEffort: true,
436
- price: { input: 0.6 * 7, output: 2.4 * 7 },
651
+ price: { input: 4.8, output: 19.2 },
437
652
  provider: "moonshot",
438
653
  description: "Moonshot \u9AD8\u6027\u80FD\u901A\u7528\u6A21\u578B\u3002"
439
654
  }
@@ -1230,7 +1445,6 @@ var REASONING_MODEL_NAMES = /* @__PURE__ */ new Set([
1230
1445
  "gpt-5.4-pro",
1231
1446
  "gpt-5",
1232
1447
  "gpt-5-mini",
1233
- // Legacy model ids from retired Fireworks/DeepInfra/GMI/CF/Z.AI catalog rows
1234
1448
  "@cf/zai-org/glm-5.2",
1235
1449
  "zai-org/GLM-5.2",
1236
1450
  "accounts/fireworks/models/glm-5p2",
@@ -1318,7 +1532,8 @@ var ANTHROPIC_MODEL_ALIASES = {
1318
1532
  "claude-sonnet-4.5": "claude-3-5-sonnet-latest"
1319
1533
  };
1320
1534
  var NOLO_MODEL_ALIASES = {
1321
- "glm-5.2": "glm-5.3"
1535
+ "glm-5.2": "glm-5.3",
1536
+ "glm-5.3-flash": "glm-5-3-flash"
1322
1537
  };
1323
1538
  var normalizeLookupProvider = (provider) => {
1324
1539
  if (!provider) return null;