@anchrd/colab-sdk 0.1.45 → 0.1.47

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.
@@ -41,7 +41,7 @@ export declare const gatewayCatalog: readonly [{
41
41
  };
42
42
  readonly reasoning: {
43
43
  readonly level: "off";
44
- readonly adjustable: false;
44
+ readonly adjustable: true;
45
45
  };
46
46
  }, {
47
47
  readonly model: "anthropic/claude-sonnet-5-5";
@@ -55,7 +55,7 @@ export declare const gatewayCatalog: readonly [{
55
55
  };
56
56
  readonly reasoning: {
57
57
  readonly level: "off";
58
- readonly adjustable: false;
58
+ readonly adjustable: true;
59
59
  };
60
60
  }, {
61
61
  readonly model: "anthropic/claude-opus-5-5";
@@ -68,8 +68,8 @@ export declare const gatewayCatalog: readonly [{
68
68
  readonly output: 20;
69
69
  };
70
70
  readonly reasoning: {
71
- readonly level: "off";
72
- readonly adjustable: false;
71
+ readonly level: "medium";
72
+ readonly adjustable: true;
73
73
  };
74
74
  }, {
75
75
  readonly model: "anthropic/claude-fable-5-1";
@@ -83,7 +83,21 @@ export declare const gatewayCatalog: readonly [{
83
83
  };
84
84
  readonly reasoning: {
85
85
  readonly level: "off";
86
- readonly adjustable: false;
86
+ readonly adjustable: true;
87
+ };
88
+ }, {
89
+ readonly model: "anthropic/claude-fable-5-2";
90
+ readonly name: "Claude Fable 5.2";
91
+ readonly context: 1000000;
92
+ readonly price: {
93
+ readonly input: 8;
94
+ readonly cacheRead: 0.2;
95
+ readonly cacheWrite: 10;
96
+ readonly output: 40;
97
+ };
98
+ readonly reasoning: {
99
+ readonly level: "medium";
100
+ readonly adjustable: true;
87
101
  };
88
102
  }, {
89
103
  readonly model: "xai/grok-4.7";
@@ -228,6 +242,19 @@ export declare const gatewayCatalog: readonly [{
228
242
  readonly level: "off";
229
243
  readonly adjustable: false;
230
244
  };
245
+ }, {
246
+ readonly model: "google-ai-studio/gemini-3.8-flash";
247
+ readonly name: "Gemini 3.8 Flash";
248
+ readonly context: 1048576;
249
+ readonly price: {
250
+ readonly input: 0.75;
251
+ readonly cacheRead: 0.075;
252
+ readonly output: 3.75;
253
+ };
254
+ readonly reasoning: {
255
+ readonly level: "medium";
256
+ readonly adjustable: false;
257
+ };
231
258
  }, {
232
259
  readonly model: "openai/gpt-6.1-terra";
233
260
  readonly name: "GPT-6.1 Terra";
@@ -239,11 +266,23 @@ export declare const gatewayCatalog: readonly [{
239
266
  readonly output: 5;
240
267
  };
241
268
  readonly reasoning: {
242
- readonly level: "off";
243
- readonly adjustable: false;
269
+ readonly level: "medium";
270
+ readonly adjustable: true;
271
+ };
272
+ }, {
273
+ readonly model: "openai/gpt-6.1-sol";
274
+ readonly name: "GPT-6.1 Sol";
275
+ readonly context: 1050000;
276
+ readonly price: {
277
+ readonly input: 2;
278
+ readonly cacheRead: 0.1;
279
+ readonly cacheWrite: 2.5;
280
+ readonly output: 10;
281
+ };
282
+ readonly reasoning: {
283
+ readonly level: "medium";
284
+ readonly adjustable: true;
244
285
  };
245
- readonly outputLimit: "max_completion_tokens";
246
- readonly reasoningEffort: "none";
247
286
  }, {
248
287
  readonly model: "openai/gpt-6-luna";
249
288
  readonly name: "GPT-6 Luna";
@@ -255,11 +294,9 @@ export declare const gatewayCatalog: readonly [{
255
294
  readonly output: 0.5;
256
295
  };
257
296
  readonly reasoning: {
258
- readonly level: "off";
259
- readonly adjustable: false;
297
+ readonly level: "medium";
298
+ readonly adjustable: true;
260
299
  };
261
- readonly outputLimit: "max_completion_tokens";
262
- readonly reasoningEffort: "none";
263
300
  }];
264
301
  }];
265
302
  export type GatewayModelEntry = (typeof gatewayCatalog)[number]["models"][number];
@@ -282,8 +319,6 @@ export declare const retiredGatewayModels: readonly [{
282
319
  }];
283
320
  export type RetiredGatewayModel = (typeof retiredGatewayModels)[number]["model"];
284
321
  export declare function gatewayModelOf(model: string): GatewayModelEntry | null;
285
- export type GatewayOutputLimit = "max_tokens" | "max_completion_tokens";
286
- export declare function outputLimitOf(model: string): GatewayOutputLimit;
287
322
  export declare const ReasoningLevel: z.ZodEnum<{
288
323
  medium: "medium";
289
324
  off: "off";
@@ -318,11 +353,6 @@ export declare const GatewayModelEntrySchema: z.ZodObject<{
318
353
  cacheWrite: z.ZodOptional<z.ZodNumber>;
319
354
  output: z.ZodNumber;
320
355
  }, z.core.$strip>;
321
- outputLimit: z.ZodOptional<z.ZodEnum<{
322
- max_completion_tokens: "max_completion_tokens";
323
- max_tokens: "max_tokens";
324
- }>>;
325
- reasoningEffort: z.ZodOptional<z.ZodLiteral<"none">>;
326
356
  reasoning: z.ZodObject<{
327
357
  level: z.ZodEnum<{
328
358
  medium: "medium";
@@ -351,7 +381,7 @@ export declare const operatorProviders: readonly [{
351
381
  readonly selectable: true;
352
382
  readonly kinds: readonly ["gateway"];
353
383
  readonly beta: false;
354
- readonly models: ("workers-ai/@cf/deepseek-ai/deepseek-v4-pro-0813" | "workers-ai/@cf/deepseek-ai/deepseek-v4.1-flash-1017" | "anthropic/claude-haiku-5-5" | "anthropic/claude-sonnet-5-5" | "anthropic/claude-opus-5-5" | "anthropic/claude-fable-5-1" | "xai/grok-4.7" | "moonshotai/kimi-k3" | "workers-ai/@cf/moonshotai/kimi-k2.7-code" | "workers-ai/@cf/moonshotai/kimi-k2.6" | "workers-ai/@cf/zai-org/glm-5.3" | "workers-ai/@cf/zai-org/glm-5.3-flash" | "workers-ai/@cf/qwen/qwen3.8-27b" | "workers-ai/@cf/google/gemma-4-26b-a4b-it" | "workers-ai/@cf/nvidia/nemotron-3-120b-a12b" | "workers-ai/@cf/meta/llama-4-scout-17b-16e-instruct" | "workers-ai/@cf/mistralai/mistral-small-3.1-24b-instruct" | "openai/gpt-6.1-terra" | "openai/gpt-6-luna")[];
384
+ readonly models: ("workers-ai/@cf/deepseek-ai/deepseek-v4-pro-0813" | "workers-ai/@cf/deepseek-ai/deepseek-v4.1-flash-1017" | "anthropic/claude-haiku-5-5" | "anthropic/claude-sonnet-5-5" | "anthropic/claude-opus-5-5" | "anthropic/claude-fable-5-1" | "anthropic/claude-fable-5-2" | "xai/grok-4.7" | "moonshotai/kimi-k3" | "workers-ai/@cf/moonshotai/kimi-k2.7-code" | "workers-ai/@cf/moonshotai/kimi-k2.6" | "workers-ai/@cf/zai-org/glm-5.3" | "workers-ai/@cf/zai-org/glm-5.3-flash" | "workers-ai/@cf/qwen/qwen3.8-27b" | "workers-ai/@cf/google/gemma-4-26b-a4b-it" | "workers-ai/@cf/nvidia/nemotron-3-120b-a12b" | "workers-ai/@cf/meta/llama-4-scout-17b-16e-instruct" | "workers-ai/@cf/mistralai/mistral-small-3.1-24b-instruct" | "google-ai-studio/gemini-3.8-flash" | "openai/gpt-6.1-terra" | "openai/gpt-6.1-sol" | "openai/gpt-6-luna")[];
355
385
  readonly defaultModel: "workers-ai/@cf/deepseek-ai/deepseek-v4-pro-0813";
356
386
  readonly subagents: false;
357
387
  readonly costs: true;
@@ -392,7 +422,6 @@ export declare const operatorVendors: readonly [{
392
422
  readonly name: "Gemini";
393
423
  readonly maker: "Google";
394
424
  readonly mark: "Ge";
395
- readonly unavailable: "gateway";
396
425
  }, {
397
426
  readonly vendor: "deepseek";
398
427
  readonly name: "DeepSeek";
@@ -461,6 +490,7 @@ export declare const OperatorModel: z.ZodEnum<{
461
490
  "anthropic/claude-sonnet-5-5": "anthropic/claude-sonnet-5-5";
462
491
  "anthropic/claude-opus-5-5": "anthropic/claude-opus-5-5";
463
492
  "anthropic/claude-fable-5-1": "anthropic/claude-fable-5-1";
493
+ "anthropic/claude-fable-5-2": "anthropic/claude-fable-5-2";
464
494
  "xai/grok-4.7": "xai/grok-4.7";
465
495
  "moonshotai/kimi-k3": "moonshotai/kimi-k3";
466
496
  "workers-ai/@cf/moonshotai/kimi-k2.7-code": "workers-ai/@cf/moonshotai/kimi-k2.7-code";
@@ -472,7 +502,9 @@ export declare const OperatorModel: z.ZodEnum<{
472
502
  "workers-ai/@cf/nvidia/nemotron-3-120b-a12b": "workers-ai/@cf/nvidia/nemotron-3-120b-a12b";
473
503
  "workers-ai/@cf/meta/llama-4-scout-17b-16e-instruct": "workers-ai/@cf/meta/llama-4-scout-17b-16e-instruct";
474
504
  "workers-ai/@cf/mistralai/mistral-small-3.1-24b-instruct": "workers-ai/@cf/mistralai/mistral-small-3.1-24b-instruct";
505
+ "google-ai-studio/gemini-3.8-flash": "google-ai-studio/gemini-3.8-flash";
475
506
  "openai/gpt-6.1-terra": "openai/gpt-6.1-terra";
507
+ "openai/gpt-6.1-sol": "openai/gpt-6.1-sol";
476
508
  "openai/gpt-6-luna": "openai/gpt-6-luna";
477
509
  "anthropic/claude-sonnet-4-6": "anthropic/claude-sonnet-4-6";
478
510
  "anthropic/claude-opus-4-6": "anthropic/claude-opus-4-6";
@@ -863,6 +895,7 @@ export declare const OperatorMachineCreateInput: z.ZodObject<{
863
895
  "anthropic/claude-sonnet-5-5": "anthropic/claude-sonnet-5-5";
864
896
  "anthropic/claude-opus-5-5": "anthropic/claude-opus-5-5";
865
897
  "anthropic/claude-fable-5-1": "anthropic/claude-fable-5-1";
898
+ "anthropic/claude-fable-5-2": "anthropic/claude-fable-5-2";
866
899
  "xai/grok-4.7": "xai/grok-4.7";
867
900
  "moonshotai/kimi-k3": "moonshotai/kimi-k3";
868
901
  "workers-ai/@cf/moonshotai/kimi-k2.7-code": "workers-ai/@cf/moonshotai/kimi-k2.7-code";
@@ -874,7 +907,9 @@ export declare const OperatorMachineCreateInput: z.ZodObject<{
874
907
  "workers-ai/@cf/nvidia/nemotron-3-120b-a12b": "workers-ai/@cf/nvidia/nemotron-3-120b-a12b";
875
908
  "workers-ai/@cf/meta/llama-4-scout-17b-16e-instruct": "workers-ai/@cf/meta/llama-4-scout-17b-16e-instruct";
876
909
  "workers-ai/@cf/mistralai/mistral-small-3.1-24b-instruct": "workers-ai/@cf/mistralai/mistral-small-3.1-24b-instruct";
910
+ "google-ai-studio/gemini-3.8-flash": "google-ai-studio/gemini-3.8-flash";
877
911
  "openai/gpt-6.1-terra": "openai/gpt-6.1-terra";
912
+ "openai/gpt-6.1-sol": "openai/gpt-6.1-sol";
878
913
  "openai/gpt-6-luna": "openai/gpt-6-luna";
879
914
  "anthropic/claude-sonnet-4-6": "anthropic/claude-sonnet-4-6";
880
915
  "anthropic/claude-opus-4-6": "anthropic/claude-opus-4-6";
@@ -920,6 +955,7 @@ export declare const OperatorMachineUpdateInput: z.ZodObject<{
920
955
  "anthropic/claude-sonnet-5-5": "anthropic/claude-sonnet-5-5";
921
956
  "anthropic/claude-opus-5-5": "anthropic/claude-opus-5-5";
922
957
  "anthropic/claude-fable-5-1": "anthropic/claude-fable-5-1";
958
+ "anthropic/claude-fable-5-2": "anthropic/claude-fable-5-2";
923
959
  "xai/grok-4.7": "xai/grok-4.7";
924
960
  "moonshotai/kimi-k3": "moonshotai/kimi-k3";
925
961
  "workers-ai/@cf/moonshotai/kimi-k2.7-code": "workers-ai/@cf/moonshotai/kimi-k2.7-code";
@@ -931,7 +967,9 @@ export declare const OperatorMachineUpdateInput: z.ZodObject<{
931
967
  "workers-ai/@cf/nvidia/nemotron-3-120b-a12b": "workers-ai/@cf/nvidia/nemotron-3-120b-a12b";
932
968
  "workers-ai/@cf/meta/llama-4-scout-17b-16e-instruct": "workers-ai/@cf/meta/llama-4-scout-17b-16e-instruct";
933
969
  "workers-ai/@cf/mistralai/mistral-small-3.1-24b-instruct": "workers-ai/@cf/mistralai/mistral-small-3.1-24b-instruct";
970
+ "google-ai-studio/gemini-3.8-flash": "google-ai-studio/gemini-3.8-flash";
934
971
  "openai/gpt-6.1-terra": "openai/gpt-6.1-terra";
972
+ "openai/gpt-6.1-sol": "openai/gpt-6.1-sol";
935
973
  "openai/gpt-6-luna": "openai/gpt-6-luna";
936
974
  "anthropic/claude-sonnet-4-6": "anthropic/claude-sonnet-4-6";
937
975
  "anthropic/claude-opus-4-6": "anthropic/claude-opus-4-6";
@@ -1011,6 +1049,7 @@ export declare const Operator: z.ZodObject<{
1011
1049
  "anthropic/claude-sonnet-5-5": "anthropic/claude-sonnet-5-5";
1012
1050
  "anthropic/claude-opus-5-5": "anthropic/claude-opus-5-5";
1013
1051
  "anthropic/claude-fable-5-1": "anthropic/claude-fable-5-1";
1052
+ "anthropic/claude-fable-5-2": "anthropic/claude-fable-5-2";
1014
1053
  "xai/grok-4.7": "xai/grok-4.7";
1015
1054
  "moonshotai/kimi-k3": "moonshotai/kimi-k3";
1016
1055
  "workers-ai/@cf/moonshotai/kimi-k2.7-code": "workers-ai/@cf/moonshotai/kimi-k2.7-code";
@@ -1022,7 +1061,9 @@ export declare const Operator: z.ZodObject<{
1022
1061
  "workers-ai/@cf/nvidia/nemotron-3-120b-a12b": "workers-ai/@cf/nvidia/nemotron-3-120b-a12b";
1023
1062
  "workers-ai/@cf/meta/llama-4-scout-17b-16e-instruct": "workers-ai/@cf/meta/llama-4-scout-17b-16e-instruct";
1024
1063
  "workers-ai/@cf/mistralai/mistral-small-3.1-24b-instruct": "workers-ai/@cf/mistralai/mistral-small-3.1-24b-instruct";
1064
+ "google-ai-studio/gemini-3.8-flash": "google-ai-studio/gemini-3.8-flash";
1025
1065
  "openai/gpt-6.1-terra": "openai/gpt-6.1-terra";
1066
+ "openai/gpt-6.1-sol": "openai/gpt-6.1-sol";
1026
1067
  "openai/gpt-6-luna": "openai/gpt-6-luna";
1027
1068
  "anthropic/claude-sonnet-4-6": "anthropic/claude-sonnet-4-6";
1028
1069
  "anthropic/claude-opus-4-6": "anthropic/claude-opus-4-6";
@@ -1221,6 +1262,7 @@ export declare const OperatorList: z.ZodObject<{
1221
1262
  "anthropic/claude-sonnet-5-5": "anthropic/claude-sonnet-5-5";
1222
1263
  "anthropic/claude-opus-5-5": "anthropic/claude-opus-5-5";
1223
1264
  "anthropic/claude-fable-5-1": "anthropic/claude-fable-5-1";
1265
+ "anthropic/claude-fable-5-2": "anthropic/claude-fable-5-2";
1224
1266
  "xai/grok-4.7": "xai/grok-4.7";
1225
1267
  "moonshotai/kimi-k3": "moonshotai/kimi-k3";
1226
1268
  "workers-ai/@cf/moonshotai/kimi-k2.7-code": "workers-ai/@cf/moonshotai/kimi-k2.7-code";
@@ -1232,7 +1274,9 @@ export declare const OperatorList: z.ZodObject<{
1232
1274
  "workers-ai/@cf/nvidia/nemotron-3-120b-a12b": "workers-ai/@cf/nvidia/nemotron-3-120b-a12b";
1233
1275
  "workers-ai/@cf/meta/llama-4-scout-17b-16e-instruct": "workers-ai/@cf/meta/llama-4-scout-17b-16e-instruct";
1234
1276
  "workers-ai/@cf/mistralai/mistral-small-3.1-24b-instruct": "workers-ai/@cf/mistralai/mistral-small-3.1-24b-instruct";
1277
+ "google-ai-studio/gemini-3.8-flash": "google-ai-studio/gemini-3.8-flash";
1235
1278
  "openai/gpt-6.1-terra": "openai/gpt-6.1-terra";
1279
+ "openai/gpt-6.1-sol": "openai/gpt-6.1-sol";
1236
1280
  "openai/gpt-6-luna": "openai/gpt-6-luna";
1237
1281
  "anthropic/claude-sonnet-4-6": "anthropic/claude-sonnet-4-6";
1238
1282
  "anthropic/claude-opus-4-6": "anthropic/claude-opus-4-6";
@@ -1419,6 +1463,7 @@ export declare const OperatorList: z.ZodObject<{
1419
1463
  "anthropic/claude-sonnet-5-5": "anthropic/claude-sonnet-5-5";
1420
1464
  "anthropic/claude-opus-5-5": "anthropic/claude-opus-5-5";
1421
1465
  "anthropic/claude-fable-5-1": "anthropic/claude-fable-5-1";
1466
+ "anthropic/claude-fable-5-2": "anthropic/claude-fable-5-2";
1422
1467
  "xai/grok-4.7": "xai/grok-4.7";
1423
1468
  "moonshotai/kimi-k3": "moonshotai/kimi-k3";
1424
1469
  "workers-ai/@cf/moonshotai/kimi-k2.7-code": "workers-ai/@cf/moonshotai/kimi-k2.7-code";
@@ -1430,7 +1475,9 @@ export declare const OperatorList: z.ZodObject<{
1430
1475
  "workers-ai/@cf/nvidia/nemotron-3-120b-a12b": "workers-ai/@cf/nvidia/nemotron-3-120b-a12b";
1431
1476
  "workers-ai/@cf/meta/llama-4-scout-17b-16e-instruct": "workers-ai/@cf/meta/llama-4-scout-17b-16e-instruct";
1432
1477
  "workers-ai/@cf/mistralai/mistral-small-3.1-24b-instruct": "workers-ai/@cf/mistralai/mistral-small-3.1-24b-instruct";
1478
+ "google-ai-studio/gemini-3.8-flash": "google-ai-studio/gemini-3.8-flash";
1433
1479
  "openai/gpt-6.1-terra": "openai/gpt-6.1-terra";
1480
+ "openai/gpt-6.1-sol": "openai/gpt-6.1-sol";
1434
1481
  "openai/gpt-6-luna": "openai/gpt-6-luna";
1435
1482
  "anthropic/claude-sonnet-4-6": "anthropic/claude-sonnet-4-6";
1436
1483
  "anthropic/claude-opus-4-6": "anthropic/claude-opus-4-6";
@@ -1513,6 +1560,7 @@ export declare const OperatorUserUpdateInput: z.ZodObject<{
1513
1560
  "anthropic/claude-sonnet-5-5": "anthropic/claude-sonnet-5-5";
1514
1561
  "anthropic/claude-opus-5-5": "anthropic/claude-opus-5-5";
1515
1562
  "anthropic/claude-fable-5-1": "anthropic/claude-fable-5-1";
1563
+ "anthropic/claude-fable-5-2": "anthropic/claude-fable-5-2";
1516
1564
  "xai/grok-4.7": "xai/grok-4.7";
1517
1565
  "moonshotai/kimi-k3": "moonshotai/kimi-k3";
1518
1566
  "workers-ai/@cf/moonshotai/kimi-k2.7-code": "workers-ai/@cf/moonshotai/kimi-k2.7-code";
@@ -1524,7 +1572,9 @@ export declare const OperatorUserUpdateInput: z.ZodObject<{
1524
1572
  "workers-ai/@cf/nvidia/nemotron-3-120b-a12b": "workers-ai/@cf/nvidia/nemotron-3-120b-a12b";
1525
1573
  "workers-ai/@cf/meta/llama-4-scout-17b-16e-instruct": "workers-ai/@cf/meta/llama-4-scout-17b-16e-instruct";
1526
1574
  "workers-ai/@cf/mistralai/mistral-small-3.1-24b-instruct": "workers-ai/@cf/mistralai/mistral-small-3.1-24b-instruct";
1575
+ "google-ai-studio/gemini-3.8-flash": "google-ai-studio/gemini-3.8-flash";
1527
1576
  "openai/gpt-6.1-terra": "openai/gpt-6.1-terra";
1577
+ "openai/gpt-6.1-sol": "openai/gpt-6.1-sol";
1528
1578
  "openai/gpt-6-luna": "openai/gpt-6-luna";
1529
1579
  "anthropic/claude-sonnet-4-6": "anthropic/claude-sonnet-4-6";
1530
1580
  "anthropic/claude-opus-4-6": "anthropic/claude-opus-4-6";
@@ -1559,6 +1609,7 @@ export declare const OperatorUser: z.ZodObject<{
1559
1609
  "anthropic/claude-sonnet-5-5": "anthropic/claude-sonnet-5-5";
1560
1610
  "anthropic/claude-opus-5-5": "anthropic/claude-opus-5-5";
1561
1611
  "anthropic/claude-fable-5-1": "anthropic/claude-fable-5-1";
1612
+ "anthropic/claude-fable-5-2": "anthropic/claude-fable-5-2";
1562
1613
  "xai/grok-4.7": "xai/grok-4.7";
1563
1614
  "moonshotai/kimi-k3": "moonshotai/kimi-k3";
1564
1615
  "workers-ai/@cf/moonshotai/kimi-k2.7-code": "workers-ai/@cf/moonshotai/kimi-k2.7-code";
@@ -1570,7 +1621,9 @@ export declare const OperatorUser: z.ZodObject<{
1570
1621
  "workers-ai/@cf/nvidia/nemotron-3-120b-a12b": "workers-ai/@cf/nvidia/nemotron-3-120b-a12b";
1571
1622
  "workers-ai/@cf/meta/llama-4-scout-17b-16e-instruct": "workers-ai/@cf/meta/llama-4-scout-17b-16e-instruct";
1572
1623
  "workers-ai/@cf/mistralai/mistral-small-3.1-24b-instruct": "workers-ai/@cf/mistralai/mistral-small-3.1-24b-instruct";
1624
+ "google-ai-studio/gemini-3.8-flash": "google-ai-studio/gemini-3.8-flash";
1573
1625
  "openai/gpt-6.1-terra": "openai/gpt-6.1-terra";
1626
+ "openai/gpt-6.1-sol": "openai/gpt-6.1-sol";
1574
1627
  "openai/gpt-6-luna": "openai/gpt-6-luna";
1575
1628
  "anthropic/claude-sonnet-4-6": "anthropic/claude-sonnet-4-6";
1576
1629
  "anthropic/claude-opus-4-6": "anthropic/claude-opus-4-6";
@@ -1598,6 +1651,7 @@ export declare const OperatorUser: z.ZodObject<{
1598
1651
  "anthropic/claude-sonnet-5-5": "anthropic/claude-sonnet-5-5";
1599
1652
  "anthropic/claude-opus-5-5": "anthropic/claude-opus-5-5";
1600
1653
  "anthropic/claude-fable-5-1": "anthropic/claude-fable-5-1";
1654
+ "anthropic/claude-fable-5-2": "anthropic/claude-fable-5-2";
1601
1655
  "xai/grok-4.7": "xai/grok-4.7";
1602
1656
  "moonshotai/kimi-k3": "moonshotai/kimi-k3";
1603
1657
  "workers-ai/@cf/moonshotai/kimi-k2.7-code": "workers-ai/@cf/moonshotai/kimi-k2.7-code";
@@ -1609,7 +1663,9 @@ export declare const OperatorUser: z.ZodObject<{
1609
1663
  "workers-ai/@cf/nvidia/nemotron-3-120b-a12b": "workers-ai/@cf/nvidia/nemotron-3-120b-a12b";
1610
1664
  "workers-ai/@cf/meta/llama-4-scout-17b-16e-instruct": "workers-ai/@cf/meta/llama-4-scout-17b-16e-instruct";
1611
1665
  "workers-ai/@cf/mistralai/mistral-small-3.1-24b-instruct": "workers-ai/@cf/mistralai/mistral-small-3.1-24b-instruct";
1666
+ "google-ai-studio/gemini-3.8-flash": "google-ai-studio/gemini-3.8-flash";
1612
1667
  "openai/gpt-6.1-terra": "openai/gpt-6.1-terra";
1668
+ "openai/gpt-6.1-sol": "openai/gpt-6.1-sol";
1613
1669
  "openai/gpt-6-luna": "openai/gpt-6-luna";
1614
1670
  "anthropic/claude-sonnet-4-6": "anthropic/claude-sonnet-4-6";
1615
1671
  "anthropic/claude-opus-4-6": "anthropic/claude-opus-4-6";
@@ -1654,6 +1710,7 @@ export declare const OperatorUserList: z.ZodObject<{
1654
1710
  "anthropic/claude-sonnet-5-5": "anthropic/claude-sonnet-5-5";
1655
1711
  "anthropic/claude-opus-5-5": "anthropic/claude-opus-5-5";
1656
1712
  "anthropic/claude-fable-5-1": "anthropic/claude-fable-5-1";
1713
+ "anthropic/claude-fable-5-2": "anthropic/claude-fable-5-2";
1657
1714
  "xai/grok-4.7": "xai/grok-4.7";
1658
1715
  "moonshotai/kimi-k3": "moonshotai/kimi-k3";
1659
1716
  "workers-ai/@cf/moonshotai/kimi-k2.7-code": "workers-ai/@cf/moonshotai/kimi-k2.7-code";
@@ -1665,7 +1722,9 @@ export declare const OperatorUserList: z.ZodObject<{
1665
1722
  "workers-ai/@cf/nvidia/nemotron-3-120b-a12b": "workers-ai/@cf/nvidia/nemotron-3-120b-a12b";
1666
1723
  "workers-ai/@cf/meta/llama-4-scout-17b-16e-instruct": "workers-ai/@cf/meta/llama-4-scout-17b-16e-instruct";
1667
1724
  "workers-ai/@cf/mistralai/mistral-small-3.1-24b-instruct": "workers-ai/@cf/mistralai/mistral-small-3.1-24b-instruct";
1725
+ "google-ai-studio/gemini-3.8-flash": "google-ai-studio/gemini-3.8-flash";
1668
1726
  "openai/gpt-6.1-terra": "openai/gpt-6.1-terra";
1727
+ "openai/gpt-6.1-sol": "openai/gpt-6.1-sol";
1669
1728
  "openai/gpt-6-luna": "openai/gpt-6-luna";
1670
1729
  "anthropic/claude-sonnet-4-6": "anthropic/claude-sonnet-4-6";
1671
1730
  "anthropic/claude-opus-4-6": "anthropic/claude-opus-4-6";
@@ -1699,6 +1758,7 @@ export declare const OperatorUserList: z.ZodObject<{
1699
1758
  "anthropic/claude-sonnet-5-5": "anthropic/claude-sonnet-5-5";
1700
1759
  "anthropic/claude-opus-5-5": "anthropic/claude-opus-5-5";
1701
1760
  "anthropic/claude-fable-5-1": "anthropic/claude-fable-5-1";
1761
+ "anthropic/claude-fable-5-2": "anthropic/claude-fable-5-2";
1702
1762
  "xai/grok-4.7": "xai/grok-4.7";
1703
1763
  "moonshotai/kimi-k3": "moonshotai/kimi-k3";
1704
1764
  "workers-ai/@cf/moonshotai/kimi-k2.7-code": "workers-ai/@cf/moonshotai/kimi-k2.7-code";
@@ -1710,7 +1770,9 @@ export declare const OperatorUserList: z.ZodObject<{
1710
1770
  "workers-ai/@cf/nvidia/nemotron-3-120b-a12b": "workers-ai/@cf/nvidia/nemotron-3-120b-a12b";
1711
1771
  "workers-ai/@cf/meta/llama-4-scout-17b-16e-instruct": "workers-ai/@cf/meta/llama-4-scout-17b-16e-instruct";
1712
1772
  "workers-ai/@cf/mistralai/mistral-small-3.1-24b-instruct": "workers-ai/@cf/mistralai/mistral-small-3.1-24b-instruct";
1773
+ "google-ai-studio/gemini-3.8-flash": "google-ai-studio/gemini-3.8-flash";
1713
1774
  "openai/gpt-6.1-terra": "openai/gpt-6.1-terra";
1775
+ "openai/gpt-6.1-sol": "openai/gpt-6.1-sol";
1714
1776
  "openai/gpt-6-luna": "openai/gpt-6-luna";
1715
1777
  "anthropic/claude-sonnet-4-6": "anthropic/claude-sonnet-4-6";
1716
1778
  "anthropic/claude-opus-4-6": "anthropic/claude-opus-4-6";
@@ -1738,6 +1800,7 @@ export declare const OperatorUserList: z.ZodObject<{
1738
1800
  "anthropic/claude-sonnet-5-5": "anthropic/claude-sonnet-5-5";
1739
1801
  "anthropic/claude-opus-5-5": "anthropic/claude-opus-5-5";
1740
1802
  "anthropic/claude-fable-5-1": "anthropic/claude-fable-5-1";
1803
+ "anthropic/claude-fable-5-2": "anthropic/claude-fable-5-2";
1741
1804
  "xai/grok-4.7": "xai/grok-4.7";
1742
1805
  "moonshotai/kimi-k3": "moonshotai/kimi-k3";
1743
1806
  "workers-ai/@cf/moonshotai/kimi-k2.7-code": "workers-ai/@cf/moonshotai/kimi-k2.7-code";
@@ -1749,7 +1812,9 @@ export declare const OperatorUserList: z.ZodObject<{
1749
1812
  "workers-ai/@cf/nvidia/nemotron-3-120b-a12b": "workers-ai/@cf/nvidia/nemotron-3-120b-a12b";
1750
1813
  "workers-ai/@cf/meta/llama-4-scout-17b-16e-instruct": "workers-ai/@cf/meta/llama-4-scout-17b-16e-instruct";
1751
1814
  "workers-ai/@cf/mistralai/mistral-small-3.1-24b-instruct": "workers-ai/@cf/mistralai/mistral-small-3.1-24b-instruct";
1815
+ "google-ai-studio/gemini-3.8-flash": "google-ai-studio/gemini-3.8-flash";
1752
1816
  "openai/gpt-6.1-terra": "openai/gpt-6.1-terra";
1817
+ "openai/gpt-6.1-sol": "openai/gpt-6.1-sol";
1753
1818
  "openai/gpt-6-luna": "openai/gpt-6-luna";
1754
1819
  "anthropic/claude-sonnet-4-6": "anthropic/claude-sonnet-4-6";
1755
1820
  "anthropic/claude-opus-4-6": "anthropic/claude-opus-4-6";
@@ -2125,6 +2190,7 @@ export declare const OperatorRunUsage: z.ZodObject<{
2125
2190
  "anthropic/claude-sonnet-5-5": "anthropic/claude-sonnet-5-5";
2126
2191
  "anthropic/claude-opus-5-5": "anthropic/claude-opus-5-5";
2127
2192
  "anthropic/claude-fable-5-1": "anthropic/claude-fable-5-1";
2193
+ "anthropic/claude-fable-5-2": "anthropic/claude-fable-5-2";
2128
2194
  "xai/grok-4.7": "xai/grok-4.7";
2129
2195
  "moonshotai/kimi-k3": "moonshotai/kimi-k3";
2130
2196
  "workers-ai/@cf/moonshotai/kimi-k2.7-code": "workers-ai/@cf/moonshotai/kimi-k2.7-code";
@@ -2136,7 +2202,9 @@ export declare const OperatorRunUsage: z.ZodObject<{
2136
2202
  "workers-ai/@cf/nvidia/nemotron-3-120b-a12b": "workers-ai/@cf/nvidia/nemotron-3-120b-a12b";
2137
2203
  "workers-ai/@cf/meta/llama-4-scout-17b-16e-instruct": "workers-ai/@cf/meta/llama-4-scout-17b-16e-instruct";
2138
2204
  "workers-ai/@cf/mistralai/mistral-small-3.1-24b-instruct": "workers-ai/@cf/mistralai/mistral-small-3.1-24b-instruct";
2205
+ "google-ai-studio/gemini-3.8-flash": "google-ai-studio/gemini-3.8-flash";
2139
2206
  "openai/gpt-6.1-terra": "openai/gpt-6.1-terra";
2207
+ "openai/gpt-6.1-sol": "openai/gpt-6.1-sol";
2140
2208
  "openai/gpt-6-luna": "openai/gpt-6-luna";
2141
2209
  "anthropic/claude-sonnet-4-6": "anthropic/claude-sonnet-4-6";
2142
2210
  "anthropic/claude-opus-4-6": "anthropic/claude-opus-4-6";
@@ -2345,6 +2413,7 @@ export declare const OperatorRunList: z.ZodObject<{
2345
2413
  "anthropic/claude-sonnet-5-5": "anthropic/claude-sonnet-5-5";
2346
2414
  "anthropic/claude-opus-5-5": "anthropic/claude-opus-5-5";
2347
2415
  "anthropic/claude-fable-5-1": "anthropic/claude-fable-5-1";
2416
+ "anthropic/claude-fable-5-2": "anthropic/claude-fable-5-2";
2348
2417
  "xai/grok-4.7": "xai/grok-4.7";
2349
2418
  "moonshotai/kimi-k3": "moonshotai/kimi-k3";
2350
2419
  "workers-ai/@cf/moonshotai/kimi-k2.7-code": "workers-ai/@cf/moonshotai/kimi-k2.7-code";
@@ -2356,7 +2425,9 @@ export declare const OperatorRunList: z.ZodObject<{
2356
2425
  "workers-ai/@cf/nvidia/nemotron-3-120b-a12b": "workers-ai/@cf/nvidia/nemotron-3-120b-a12b";
2357
2426
  "workers-ai/@cf/meta/llama-4-scout-17b-16e-instruct": "workers-ai/@cf/meta/llama-4-scout-17b-16e-instruct";
2358
2427
  "workers-ai/@cf/mistralai/mistral-small-3.1-24b-instruct": "workers-ai/@cf/mistralai/mistral-small-3.1-24b-instruct";
2428
+ "google-ai-studio/gemini-3.8-flash": "google-ai-studio/gemini-3.8-flash";
2359
2429
  "openai/gpt-6.1-terra": "openai/gpt-6.1-terra";
2430
+ "openai/gpt-6.1-sol": "openai/gpt-6.1-sol";
2360
2431
  "openai/gpt-6-luna": "openai/gpt-6-luna";
2361
2432
  "anthropic/claude-sonnet-4-6": "anthropic/claude-sonnet-4-6";
2362
2433
  "anthropic/claude-opus-4-6": "anthropic/claude-opus-4-6";
@@ -17,11 +17,13 @@ import { OperatorProvider, UserId } from "../users/users.js";
17
17
  // is called `key`, `secret`, `token` or `password` (`/mcp` would strike it, `redactSecrets`). The
18
18
  // value's field in the inputs is `value`, the kinds are `subscription` and `apikey`.
19
19
  // The models of the kind Gateway (E210, #1011), by the gateway's own name `provider/model` as its
20
- // Unified API (`/compat`) takes it. `context` in tokens; `price` in US dollars per million tokens
21
- // (input, input read from the cache, output, and a cache write where the catalog names its own): the
22
- // amount of a run where the token cannot read the gateway's logs. Since #1059 every price and context
23
- // is the one of the model's page in Cloudflare's catalog (developers.cloudflare.com/ai/models/,
24
- // read 2026-11-05; for Claude Haiku 5.5 the short-context price, for Grok 4.7 the one under 200k).
20
+ // Unified API (`/compat`) takes it; Claude and GPT go by their own paths, without the prefix (E252,
21
+ // E253). `context` in tokens; `price` in US dollars per million tokens (input, input read from the
22
+ // cache, output, and a cache write where the catalog names its own): the amount of a run where the
23
+ // token cannot read the gateway's logs. Since #1059 every price and context is the one of the model's
24
+ // page in Cloudflare's catalog (developers.cloudflare.com/ai/models/, read 2026-11-05; Claude Fable
25
+ // 5.2, GPT-6.1 Sol and Gemini 3.8 Flash read 2026-11-12; for Claude Haiku 5.5 and GPT the
26
+ // short-context price, for Grok 4.7 the one under 200k).
25
27
  // Where a page names no price for cached input, `cacheRead` is the input's.
26
28
  // ⚠️ The names are `/compat`'s, not the catalog page's: Claude 5.x goes with hyphens
27
29
  // (`anthropic/claude-opus-5-5`); the page's `claude-opus-5.5` answers 404 "Did you mean
@@ -29,20 +31,21 @@ import { OperatorProvider, UserId } from "../users/users.js";
29
31
  // Each model of the catalog finished one test card under `bun run dev` on 2026-11-05 (#1059): read
30
32
  // the card, one sentence in its chat, the card to Done. Left out after that test: Gemini 4 Argon and
31
33
  // 3.8 Pro (`/compat` asks for a Google key, Unified Billing does not pay for them), Gemini 3.8 Flash
32
- // (its streamed tool call carries `thought_signature`, which the AI SDK refuses), Granite 4.0 Micro
34
+ // until #1166 (its streamed tool call carried `thought_signature`, which the AI SDK refused before
35
+ // `@ai-sdk/openai-compatible`, #1139; through `/compat` it thinks without returning a text), Granite 4.0 Micro
33
36
  // and gpt-oss-120b (Workers AI answers "Bad Request" to the run's tools), Alibaba, MiniMax and Meta's
34
37
  // Muse (`/compat` knows no such provider), Perplexity, Mistral's own API and DeepSeek through
35
- // Fireworks (`/compat` asks for the provider's key). OpenAI's GPT models (#1018) refuse
36
- // `max_tokens` (`outputLimit` names the field that caps a step's output) and call tools only with
37
- // `reasoning_effort: "none"` (`reasoningEffort`); `openai/gpt-6.1-sol` and `gpt-6-sol` call tools only
38
- // through `/responses` (Spike #979). GPT-6.1 Terra stays (#1059 keeps it) although it left its test
39
- // card open twice (#1066).
38
+ // Fireworks (`/compat` asks for the provider's key). OpenAI's GPT models (#1018) refused `max_tokens`
39
+ // and called tools only with `reasoning_effort: "none"` through `/compat`, and GPT-6.1 Sol called them
40
+ // only through `/responses` (Spike #979): since #1162 GPT goes through the Responses API (E253).
41
+ // GPT-6.1 Terra stays (#1059 keeps it) although it left its test card open twice (#1066).
40
42
  // `reasoning` (E249, #1139): how strongly the model thinks unasked (`level`, `off` not at all), and
41
- // whether its path through `/compat` takes a stage while it calls tools (`adjustable`). Adjustable is
42
- // DeepSeek: its runs think at `high` and not at `off` (#1139). Claude does not think through
43
- // `/compat` at any stage (Sonnet 5.5 at `high`: no thinking, the same output, #1139) until #1161;
44
- // GPT calls tools only without thinking; Grok, Kimi, GLM, Qwen and Nemotron think by themselves, but
45
- // no stage of theirs is proven.
43
+ // whether its path takes a stage while it calls tools (`adjustable`). Adjustable is DeepSeek: its
44
+ // runs think at `high` and not at `off` (#1139). Claude did not think through `/compat` at any stage
45
+ // (#1139); since #1161 it goes through `/anthropic` (E252), where every Claude takes the stage, and
46
+ // Opus 5.5 and Fable 5.2 think unasked (probes of 2026-11-12). GPT goes through Responses since #1162
47
+ // (E253), takes the stage there and thinks unasked at `medium` (probes of 2026-11-12). Grok, Kimi,
48
+ // GLM, Qwen and Nemotron think by themselves, but no stage of theirs is proven.
46
49
  export const gatewayCatalog = [
47
50
  {
48
51
  gateway: "cloudflare",
@@ -67,28 +70,35 @@ export const gatewayCatalog = [
67
70
  name: "Claude Haiku 5.5",
68
71
  context: 1_000_000,
69
72
  price: { input: 0.1, cacheRead: 0.01, cacheWrite: 0.125, output: 0.5 },
70
- reasoning: { level: "off", adjustable: false },
73
+ reasoning: { level: "off", adjustable: true },
71
74
  },
72
75
  {
73
76
  model: "anthropic/claude-sonnet-5-5",
74
77
  name: "Claude Sonnet 5.5",
75
78
  context: 1_000_000,
76
79
  price: { input: 2, cacheRead: 0.1, cacheWrite: 2.5, output: 10 },
77
- reasoning: { level: "off", adjustable: false },
80
+ reasoning: { level: "off", adjustable: true },
78
81
  },
79
82
  {
80
83
  model: "anthropic/claude-opus-5-5",
81
84
  name: "Claude Opus 5.5",
82
85
  context: 1_000_000,
83
86
  price: { input: 4, cacheRead: 0.2, cacheWrite: 5, output: 20 },
84
- reasoning: { level: "off", adjustable: false },
87
+ reasoning: { level: "medium", adjustable: true },
85
88
  },
86
89
  {
87
90
  model: "anthropic/claude-fable-5-1",
88
91
  name: "Claude Fable 5.1",
89
92
  context: 1_000_000,
90
93
  price: { input: 10, cacheRead: 0.25, cacheWrite: 12.5, output: 50 },
91
- reasoning: { level: "off", adjustable: false },
94
+ reasoning: { level: "off", adjustable: true },
95
+ },
96
+ {
97
+ model: "anthropic/claude-fable-5-2",
98
+ name: "Claude Fable 5.2",
99
+ context: 1_000_000,
100
+ price: { input: 8, cacheRead: 0.2, cacheWrite: 10, output: 40 },
101
+ reasoning: { level: "medium", adjustable: true },
92
102
  },
93
103
  {
94
104
  model: "xai/grok-4.7",
@@ -167,23 +177,33 @@ export const gatewayCatalog = [
167
177
  price: { input: 0.351, cacheRead: 0.351, output: 0.555 },
168
178
  reasoning: { level: "off", adjustable: false },
169
179
  },
180
+ {
181
+ model: "google-ai-studio/gemini-3.8-flash",
182
+ name: "Gemini 3.8 Flash",
183
+ context: 1_048_576,
184
+ price: { input: 0.75, cacheRead: 0.075, output: 3.75 },
185
+ reasoning: { level: "medium", adjustable: false },
186
+ },
170
187
  {
171
188
  model: "openai/gpt-6.1-terra",
172
189
  name: "GPT-6.1 Terra",
173
190
  context: 1_050_000,
174
191
  price: { input: 1, cacheRead: 0.05, cacheWrite: 1.25, output: 5 },
175
- reasoning: { level: "off", adjustable: false },
176
- outputLimit: "max_completion_tokens",
177
- reasoningEffort: "none",
192
+ reasoning: { level: "medium", adjustable: true },
193
+ },
194
+ {
195
+ model: "openai/gpt-6.1-sol",
196
+ name: "GPT-6.1 Sol",
197
+ context: 1_050_000,
198
+ price: { input: 2, cacheRead: 0.1, cacheWrite: 2.5, output: 10 },
199
+ reasoning: { level: "medium", adjustable: true },
178
200
  },
179
201
  {
180
202
  model: "openai/gpt-6-luna",
181
203
  name: "GPT-6 Luna",
182
204
  context: 1_050_000,
183
205
  price: { input: 0.1, cacheRead: 0.01, cacheWrite: 0.125, output: 0.5 },
184
- reasoning: { level: "off", adjustable: false },
185
- outputLimit: "max_completion_tokens",
186
- reasoningEffort: "none",
206
+ reasoning: { level: "medium", adjustable: true },
187
207
  },
188
208
  ],
189
209
  },
@@ -210,10 +230,6 @@ export function gatewayModelOf(model) {
210
230
  }
211
231
  return null;
212
232
  }
213
- export function outputLimitOf(model) {
214
- const entry = gatewayModelOf(model);
215
- return entry && "outputLimit" in entry ? entry.outputLimit : "max_tokens";
216
- }
217
233
  // The stage an Operator of the kind Gateway thinks at (E249, #1139): `default` sends nothing, so the
218
234
  // model thinks as the catalog's `level` says; every other stage goes to the model.
219
235
  export const ReasoningLevel = z.enum(["off", "low", "medium", "high"]);
@@ -229,12 +245,7 @@ export function reasoningAdjustable(model) {
229
245
  }
230
246
  export function reasoningEffortOf(model, stage) {
231
247
  const entry = gatewayModelOf(model);
232
- if (!entry)
233
- return null;
234
- if (!entry.reasoning.adjustable) {
235
- return "reasoningEffort" in entry ? entry.reasoningEffort : null;
236
- }
237
- if (stage === "default")
248
+ if (!entry?.reasoning.adjustable || stage === "default")
238
249
  return null;
239
250
  return stage === "off" ? "none" : stage;
240
251
  }
@@ -254,8 +265,6 @@ export const GatewayModelEntrySchema = z.object({
254
265
  cacheWrite: z.number().nonnegative().optional(),
255
266
  output: z.number().nonnegative(),
256
267
  }),
257
- outputLimit: z.enum(["max_tokens", "max_completion_tokens"]).optional(),
258
- reasoningEffort: z.literal("none").optional(),
259
268
  reasoning: z.object({ level: ReasoningLevel, adjustable: z.boolean() }),
260
269
  });
261
270
  // The catalog (Einstellungen › Operator › Katalog), two kinds (E210):
@@ -309,8 +318,7 @@ export function inCatalog(provider, model) {
309
318
  // The catalog the UI shows (E230, #1090): the AI vendors, not the kinds a run goes through. An
310
319
  // Operator's vendor follows from its model alone (`vendorOfModel`), so every stored Operator, one on
311
320
  // a retired model or one of Codex and Gemini from before #978 included, stands under exactly one.
312
- // `mark` is the square's letters. `unavailable` names why no credential unlocks a vendor: Gemini's
313
- // current models are not paid by Unified Billing (#1059), so the gateway holds none of them.
321
+ // `mark` is the square's letters.
314
322
  export const OperatorVendor = z.enum([
315
323
  "claude",
316
324
  "gpt",
@@ -328,7 +336,7 @@ export const OperatorVendor = z.enum([
328
336
  export const operatorVendors = [
329
337
  { vendor: "claude", name: "Claude", maker: "Anthropic", mark: "C" },
330
338
  { vendor: "gpt", name: "GPT", maker: "OpenAI", mark: "G" },
331
- { vendor: "gemini", name: "Gemini", maker: "Google", mark: "Ge", unavailable: "gateway" },
339
+ { vendor: "gemini", name: "Gemini", maker: "Google", mark: "Ge" },
332
340
  { vendor: "deepseek", name: "DeepSeek", maker: "DeepSeek", mark: "DS" },
333
341
  { vendor: "kimi", name: "Kimi", maker: "Moonshot", mark: "K" },
334
342
  { vendor: "grok", name: "Grok", maker: "xAI", mark: "Gr" },
@@ -359,6 +367,7 @@ const vendors = {
359
367
  "anthropic/claude-sonnet-5-5": "claude",
360
368
  "anthropic/claude-opus-5-5": "claude",
361
369
  "anthropic/claude-fable-5-1": "claude",
370
+ "anthropic/claude-fable-5-2": "claude",
362
371
  "xai/grok-4.7": "grok",
363
372
  "moonshotai/kimi-k3": "kimi",
364
373
  "workers-ai/@cf/moonshotai/kimi-k2.7-code": "kimi",
@@ -371,12 +380,14 @@ const vendors = {
371
380
  "workers-ai/@cf/meta/llama-4-scout-17b-16e-instruct": "llama",
372
381
  "workers-ai/@cf/mistralai/mistral-small-3.1-24b-instruct": "mistral",
373
382
  "openai/gpt-6.1-terra": "gpt",
383
+ "openai/gpt-6.1-sol": "gpt",
374
384
  "openai/gpt-6-luna": "gpt",
375
385
  "anthropic/claude-sonnet-4-6": "claude",
376
386
  "anthropic/claude-opus-4-6": "claude",
377
387
  "anthropic/claude-haiku-4-5": "claude",
378
388
  "google-ai-studio/gemini-2.5-pro": "gemini",
379
389
  "google-ai-studio/gemini-2.5-flash": "gemini",
390
+ "google-ai-studio/gemini-3.8-flash": "gemini",
380
391
  };
381
392
  export function vendorOfModel(model) {
382
393
  return vendors[model];
@@ -426,6 +437,7 @@ export const OperatorModel = z.enum([
426
437
  "anthropic/claude-sonnet-5-5",
427
438
  "anthropic/claude-opus-5-5",
428
439
  "anthropic/claude-fable-5-1",
440
+ "anthropic/claude-fable-5-2",
429
441
  "xai/grok-4.7",
430
442
  "moonshotai/kimi-k3",
431
443
  "workers-ai/@cf/moonshotai/kimi-k2.7-code",
@@ -439,6 +451,7 @@ export const OperatorModel = z.enum([
439
451
  "workers-ai/@cf/mistralai/mistral-small-3.1-24b-instruct",
440
452
  // OpenAI through the gateway (#1018).
441
453
  "openai/gpt-6.1-terra",
454
+ "openai/gpt-6.1-sol",
442
455
  "openai/gpt-6-luna",
443
456
  // Out of the catalog since #1059 (`retiredGatewayModels`): a stored Operator still reads.
444
457
  "anthropic/claude-sonnet-4-6",
@@ -446,6 +459,7 @@ export const OperatorModel = z.enum([
446
459
  "anthropic/claude-haiku-4-5",
447
460
  "google-ai-studio/gemini-2.5-pro",
448
461
  "google-ai-studio/gemini-2.5-flash",
462
+ "google-ai-studio/gemini-3.8-flash",
449
463
  ]);
450
464
  export const CredentialId = idSchema("credential");
451
465
  const CredentialName = z.string().trim().min(1).max(64);
@@ -264,6 +264,10 @@ export declare const RelationList: z.ZodObject<{
264
264
  implementedBy: z.ZodNullable<z.ZodTemplateLiteral<`node_${string}`>>;
265
265
  on: z.ZodArray<z.ZodTemplateLiteral<`node_${string}`>>;
266
266
  }, z.core.$strip>>;
267
+ nodeTypes: z.ZodArray<z.ZodObject<{
268
+ nodeId: z.ZodTemplateLiteral<`node_${string}`>;
269
+ typeIds: z.ZodArray<z.ZodTemplateLiteral<`type_${string}`>>;
270
+ }, z.core.$strip>>;
267
271
  nextCursor: z.ZodNull;
268
272
  }, z.core.$strip>;
269
273
  export type RelationList = z.infer<typeof RelationList>;
@@ -2,7 +2,7 @@ import { z } from "zod";
2
2
  import { idSchema } from "../ids/ids.js";
3
3
  import { NodeId, NodeKindRead } from "../nodes/nodes.js";
4
4
  import { IdempotencyKey } from "../primitives/primitives.js";
5
- import { TypeId, TypeKind, TypeRef } from "../types/types.js";
5
+ import { NodeTypes, TypeId, TypeKind, TypeRef } from "../types/types.js";
6
6
  // The ontology's relations (#1124, Nodes › Ontologie): what connects two things, a node or an actor,
7
7
  // "Beziehung" in the UI. A relation is computed from a rule ("entsteht aus") or set by somebody; that
8
8
  // is its origin, never a type of its own. The view "Ontologie" of a folder reads them through
@@ -93,6 +93,10 @@ export const RelationList = z.object({
93
93
  outside: z.array(RelationOutside),
94
94
  types: z.array(RelationType),
95
95
  actions: z.array(RelationAction),
96
+ // The own object types given to the nodes of this picture (#1170, E255): its cards, the node of an
97
+ // object picture and the outside nodes it names; a node without any is left out. Their names stand
98
+ // in `types`.
99
+ nodeTypes: z.array(NodeTypes),
96
100
  nextCursor: z.null(),
97
101
  });
98
102
  // One end of a relation somebody sets: a node, a person or machine, or a thing of the real world (an
package/dist/sdk.d.ts CHANGED
@@ -34,7 +34,7 @@ export { Mcp, McpAuth, McpCall, McpCallAction, McpCallList, McpCallListInput, ty
34
34
  export { ChatRead, ChatTopic, ChatUpdateInput, Message, MessageAuthor, MessageCreateInput, MessageId, MessageList, MessageListInput, messageMaxLength, TopicName, topicMaxLength, topicOf, } from "./messages/messages.js";
35
35
  export { Missing, MissingCall, MissingCode, missingCodes, Reached, } from "./missing/missing.js";
36
36
  export { BoardShownKind, FolderCreated, FolderCreateInput, IntelligenceUser, IntelligenceUserList, IntelligenceUserListInput, NodeDetail, NodeGetInput, NodeHit, NodeHitFoundIn, NodeHitGroup, NodeId, NodeKind, NodeKindRead, NodeList, NodeListInput, NodeListItem, NodeMoved, NodeMoveInput, NodePath, NodePerson, NodeQuery, NodeReader, NodeSearch, NodeSection, NodeSort, NodeUpdateInput, nodeKinds, responsibleKinds, SearchIndexState, SecretFields, SecretId, unknownNodeKind, } from "./nodes/nodes.js";
37
- export { ChangeTrigger, Credential, CredentialCreateInput, CredentialGetInput, CredentialId, CredentialKind, CredentialList, CredentialListInput, CredentialRevokeInput, CredentialState, CredentialTested, CredentialTestInput, CredentialTestResult, CredentialUpdateInput, cacheWritePriceOf, compactRunLimit, type GatewayModel, type GatewayModelEntry, GatewayModelEntrySchema, type GatewayOutputLimit, GatewayRight, GatewayRightCheck, GatewayTarget, gatewayCatalog, gatewayModelOf, inCatalog, KeepStepsDays, MachineDisableInput, MachineEnableInput, MachineGetInput, MachineListInput, modelsOf, modelsOfVendor, Operator, OperatorBudget, OperatorLimits, OperatorList, OperatorMachineArchiveInput, OperatorMachineCreateInput, OperatorMachineRestoreInput, OperatorMachineUpdateInput, OperatorModel, type OperatorProviderEntry, OperatorRun, OperatorRunAgents, OperatorRunCostSource, OperatorRunFallbackReason, OperatorRunGetInput, OperatorRunId, OperatorRunInstructions, OperatorRunList, OperatorRunListInput, OperatorRunReason, OperatorRunStatus, OperatorRunStep, OperatorRunStepKind, OperatorRunStepList, OperatorRunTokens, OperatorRunTouched, OperatorRunTrigger, OperatorRunUsage, OperatorRunWoken, OperatorState, OperatorUser, OperatorUserList, OperatorUserListInput, OperatorUserUpdateInput, OperatorVendor, type OperatorVendorEntry, OwnCredentialState, offeredModels, operatorDefaults, operatorProviders, operatorVendors, outputLimitOf, PauseReason, planAnswerOf, type ReasoningEffort, ReasoningLevel, ReasoningStage, type RetiredGatewayModel, RunCancelInput, RunPlanAnswer, RunPlanStep, RunStepListInput, RunUpdateInput, reasoningAdjustable, reasoningDefault, reasoningEffortOf, reasoningOfModel, retiredGatewayModels, runPlanMax, runSummaryChars, Subagents, scheduleQuietMinutes, Trigger, UserCredentialCreateInput, UserCredentialRevokeInput, UserCredentialTestInput, UserCredentialUpdateInput, vendorOfModel, } from "./operators/operators.js";
37
+ export { ChangeTrigger, Credential, CredentialCreateInput, CredentialGetInput, CredentialId, CredentialKind, CredentialList, CredentialListInput, CredentialRevokeInput, CredentialState, CredentialTested, CredentialTestInput, CredentialTestResult, CredentialUpdateInput, cacheWritePriceOf, compactRunLimit, type GatewayModel, type GatewayModelEntry, GatewayModelEntrySchema, GatewayRight, GatewayRightCheck, GatewayTarget, gatewayCatalog, gatewayModelOf, inCatalog, KeepStepsDays, MachineDisableInput, MachineEnableInput, MachineGetInput, MachineListInput, modelsOf, modelsOfVendor, Operator, OperatorBudget, OperatorLimits, OperatorList, OperatorMachineArchiveInput, OperatorMachineCreateInput, OperatorMachineRestoreInput, OperatorMachineUpdateInput, OperatorModel, type OperatorProviderEntry, OperatorRun, OperatorRunAgents, OperatorRunCostSource, OperatorRunFallbackReason, OperatorRunGetInput, OperatorRunId, OperatorRunInstructions, OperatorRunList, OperatorRunListInput, OperatorRunReason, OperatorRunStatus, OperatorRunStep, OperatorRunStepKind, OperatorRunStepList, OperatorRunTokens, OperatorRunTouched, OperatorRunTrigger, OperatorRunUsage, OperatorRunWoken, OperatorState, OperatorUser, OperatorUserList, OperatorUserListInput, OperatorUserUpdateInput, OperatorVendor, type OperatorVendorEntry, OwnCredentialState, offeredModels, operatorDefaults, operatorProviders, operatorVendors, PauseReason, planAnswerOf, type ReasoningEffort, ReasoningLevel, ReasoningStage, type RetiredGatewayModel, RunCancelInput, RunPlanAnswer, RunPlanStep, RunStepListInput, RunUpdateInput, reasoningAdjustable, reasoningDefault, reasoningEffortOf, reasoningOfModel, retiredGatewayModels, runPlanMax, runSummaryChars, Subagents, scheduleQuietMinutes, Trigger, UserCredentialCreateInput, UserCredentialRevokeInput, UserCredentialTestInput, UserCredentialUpdateInput, vendorOfModel, } from "./operators/operators.js";
38
38
  export { Currency, CurrencyRate, currencies, Organisation, OrganisationGetInput, OrganisationUpdateInput, } from "./organisation/organisation.js";
39
39
  export { PageDetail, PageGetInput, PageHead, PageHeading, PageId, PageList, PageListInput, PageSummary, } from "./pages/pages.js";
40
40
  export { AgentName, gatewayAgentsMax, IdempotencyKey, PlanSubstep, planEvidenceMax, Rev, } from "./primitives/primitives.js";
@@ -54,7 +54,7 @@ export { maxTableColumns, maxTableRows, RowLimit, TableColumn, TableColumnChange
54
54
  export { companyTeamId, MemberId, Team, TeamArchiveInput, TeamCreateInput, TeamId, TeamList, TeamListInput, TeamMember, TeamMemberCreateInput, TeamMemberRemoveInput, TeamRestoreInput, TeamRole, TeamUpdateInput, } from "./teams/teams.js";
55
55
  export { type Actor, defineTool, type Permission, type Tool, type ToolAnnotations, type ToolContext, type ToolInput, type ToolSource, } from "./tool.js";
56
56
  export { compareTreeNames, treeKindOrder, treeKindRank, } from "./tree-order/tree-order.js";
57
- export { baseActionTypes, baseActorTypes, baseObjectTypes, baseRef, Cardinality, cardinalities, OntologyType, TypeArchiveInput, TypeCreateInput, TypeId, TypeKind, TypeList, TypeListInput, TypeRef, TypeRestoreInput, TypeStatus, TypeUpdateInput, typeKinds, typeStatuses, } from "./types/types.js";
57
+ export { baseActionTypes, baseActorTypes, baseObjectTypes, baseRef, Cardinality, cardinalities, NodeTypeCreateInput, NodeTypeRemoveInput, NodeTypes, OntologyType, TypeArchiveInput, TypeCreateInput, TypeId, TypeKind, TypeList, TypeListInput, TypeRef, TypeRestoreInput, TypeStatus, TypeUpdateInput, typeKinds, typeStatuses, } from "./types/types.js";
58
58
  export { IntelligenceUserGetInput, IntelligenceUserUpdateInput, NotifyMode, notifyModes, UserSettings, } from "./user-settings/user-settings.js";
59
59
  export { MachineFacts, MachineKeyFacts, MachineKind, MessageMachine, OperatorProvider, OwnRoleList, SignInMethod, User, UserDetail, UserDisableInput, UserEnableInput, UserGetInput, UserId, UserKind, UserList, UserListInput, UserListItem, UserStatus, UserTestInput, UserTestResult, UserUpdateInput, } from "./users/users.js";
60
60
  export { MoveColumn, NodeVersion, NodeVersionCreateInput, NodeVersionDetail, NodeVersionExcerpt, NodeVersionGetInput, NodeVersionList, NodeVersionListInput, TaskVersionChange, taskVersionChanges, VersionId, VersionMove, versionKinds, } from "./versions/versions.js";
package/dist/sdk.js CHANGED
@@ -37,7 +37,7 @@ export { Mcp, McpAuth, McpCall, McpCallAction, McpCallList, McpCallListInput, Mc
37
37
  export { ChatRead, ChatTopic, ChatUpdateInput, Message, MessageAuthor, MessageCreateInput, MessageId, MessageList, MessageListInput, messageMaxLength, TopicName, topicMaxLength, topicOf, } from "./messages/messages.js";
38
38
  export { Missing, MissingCall, MissingCode, missingCodes, Reached, } from "./missing/missing.js";
39
39
  export { BoardShownKind, FolderCreated, FolderCreateInput, IntelligenceUser, IntelligenceUserList, IntelligenceUserListInput, NodeDetail, NodeGetInput, NodeHit, NodeHitFoundIn, NodeHitGroup, NodeId, NodeKind, NodeKindRead, NodeList, NodeListInput, NodeListItem, NodeMoved, NodeMoveInput, NodePath, NodePerson, NodeQuery, NodeReader, NodeSearch, NodeSection, NodeSort, NodeUpdateInput, nodeKinds, responsibleKinds, SearchIndexState, SecretFields, SecretId, unknownNodeKind, } from "./nodes/nodes.js";
40
- export { ChangeTrigger, Credential, CredentialCreateInput, CredentialGetInput, CredentialId, CredentialKind, CredentialList, CredentialListInput, CredentialRevokeInput, CredentialState, CredentialTested, CredentialTestInput, CredentialTestResult, CredentialUpdateInput, cacheWritePriceOf, compactRunLimit, GatewayModelEntrySchema, GatewayRight, GatewayRightCheck, GatewayTarget, gatewayCatalog, gatewayModelOf, inCatalog, KeepStepsDays, MachineDisableInput, MachineEnableInput, MachineGetInput, MachineListInput, modelsOf, modelsOfVendor, Operator, OperatorBudget, OperatorLimits, OperatorList, OperatorMachineArchiveInput, OperatorMachineCreateInput, OperatorMachineRestoreInput, OperatorMachineUpdateInput, OperatorModel, OperatorRun, OperatorRunAgents, OperatorRunCostSource, OperatorRunFallbackReason, OperatorRunGetInput, OperatorRunId, OperatorRunInstructions, OperatorRunList, OperatorRunListInput, OperatorRunReason, OperatorRunStatus, OperatorRunStep, OperatorRunStepKind, OperatorRunStepList, OperatorRunTokens, OperatorRunTouched, OperatorRunTrigger, OperatorRunUsage, OperatorRunWoken, OperatorState, OperatorUser, OperatorUserList, OperatorUserListInput, OperatorUserUpdateInput, OperatorVendor, OwnCredentialState, offeredModels, operatorDefaults, operatorProviders, operatorVendors, outputLimitOf, PauseReason, planAnswerOf, ReasoningLevel, ReasoningStage, RunCancelInput, RunPlanAnswer, RunPlanStep, RunStepListInput, RunUpdateInput, reasoningAdjustable, reasoningDefault, reasoningEffortOf, reasoningOfModel, retiredGatewayModels, runPlanMax, runSummaryChars, Subagents, scheduleQuietMinutes, Trigger, UserCredentialCreateInput, UserCredentialRevokeInput, UserCredentialTestInput, UserCredentialUpdateInput, vendorOfModel, } from "./operators/operators.js";
40
+ export { ChangeTrigger, Credential, CredentialCreateInput, CredentialGetInput, CredentialId, CredentialKind, CredentialList, CredentialListInput, CredentialRevokeInput, CredentialState, CredentialTested, CredentialTestInput, CredentialTestResult, CredentialUpdateInput, cacheWritePriceOf, compactRunLimit, GatewayModelEntrySchema, GatewayRight, GatewayRightCheck, GatewayTarget, gatewayCatalog, gatewayModelOf, inCatalog, KeepStepsDays, MachineDisableInput, MachineEnableInput, MachineGetInput, MachineListInput, modelsOf, modelsOfVendor, Operator, OperatorBudget, OperatorLimits, OperatorList, OperatorMachineArchiveInput, OperatorMachineCreateInput, OperatorMachineRestoreInput, OperatorMachineUpdateInput, OperatorModel, OperatorRun, OperatorRunAgents, OperatorRunCostSource, OperatorRunFallbackReason, OperatorRunGetInput, OperatorRunId, OperatorRunInstructions, OperatorRunList, OperatorRunListInput, OperatorRunReason, OperatorRunStatus, OperatorRunStep, OperatorRunStepKind, OperatorRunStepList, OperatorRunTokens, OperatorRunTouched, OperatorRunTrigger, OperatorRunUsage, OperatorRunWoken, OperatorState, OperatorUser, OperatorUserList, OperatorUserListInput, OperatorUserUpdateInput, OperatorVendor, OwnCredentialState, offeredModels, operatorDefaults, operatorProviders, operatorVendors, PauseReason, planAnswerOf, ReasoningLevel, ReasoningStage, RunCancelInput, RunPlanAnswer, RunPlanStep, RunStepListInput, RunUpdateInput, reasoningAdjustable, reasoningDefault, reasoningEffortOf, reasoningOfModel, retiredGatewayModels, runPlanMax, runSummaryChars, Subagents, scheduleQuietMinutes, Trigger, UserCredentialCreateInput, UserCredentialRevokeInput, UserCredentialTestInput, UserCredentialUpdateInput, vendorOfModel, } from "./operators/operators.js";
41
41
  export { Currency, CurrencyRate, currencies, Organisation, OrganisationGetInput, OrganisationUpdateInput, } from "./organisation/organisation.js";
42
42
  export { PageDetail, PageGetInput, PageHead, PageHeading, PageId, PageList, PageListInput, PageSummary, } from "./pages/pages.js";
43
43
  export { AgentName, gatewayAgentsMax, IdempotencyKey, PlanSubstep, planEvidenceMax, Rev, } from "./primitives/primitives.js";
@@ -57,7 +57,7 @@ export { maxTableColumns, maxTableRows, RowLimit, TableColumn, TableColumnChange
57
57
  export { companyTeamId, MemberId, Team, TeamArchiveInput, TeamCreateInput, TeamId, TeamList, TeamListInput, TeamMember, TeamMemberCreateInput, TeamMemberRemoveInput, TeamRestoreInput, TeamRole, TeamUpdateInput, } from "./teams/teams.js";
58
58
  export { defineTool, } from "./tool.js";
59
59
  export { compareTreeNames, treeKindOrder, treeKindRank, } from "./tree-order/tree-order.js";
60
- export { baseActionTypes, baseActorTypes, baseObjectTypes, baseRef, Cardinality, cardinalities, OntologyType, TypeArchiveInput, TypeCreateInput, TypeId, TypeKind, TypeList, TypeListInput, TypeRef, TypeRestoreInput, TypeStatus, TypeUpdateInput, typeKinds, typeStatuses, } from "./types/types.js";
60
+ export { baseActionTypes, baseActorTypes, baseObjectTypes, baseRef, Cardinality, cardinalities, NodeTypeCreateInput, NodeTypeRemoveInput, NodeTypes, OntologyType, TypeArchiveInput, TypeCreateInput, TypeId, TypeKind, TypeList, TypeListInput, TypeRef, TypeRestoreInput, TypeStatus, TypeUpdateInput, typeKinds, typeStatuses, } from "./types/types.js";
61
61
  export { IntelligenceUserGetInput, IntelligenceUserUpdateInput, NotifyMode, notifyModes, UserSettings, } from "./user-settings/user-settings.js";
62
62
  export { MachineFacts, MachineKeyFacts, MachineKind, MessageMachine, OperatorProvider, OwnRoleList, SignInMethod, User, UserDetail, UserDisableInput, UserEnableInput, UserGetInput, UserId, UserKind, UserList, UserListInput, UserListItem, UserStatus, UserTestInput, UserTestResult, UserUpdateInput, } from "./users/users.js";
63
63
  export { MoveColumn, NodeVersion, NodeVersionCreateInput, NodeVersionDetail, NodeVersionExcerpt, NodeVersionGetInput, NodeVersionList, NodeVersionListInput, TaskVersionChange, taskVersionChanges, VersionId, VersionMove, versionKinds, } from "./versions/versions.js";
@@ -164,3 +164,18 @@ export declare const TypeRestoreInput: z.ZodObject<{
164
164
  typeId: z.ZodTemplateLiteral<`type_${string}`>;
165
165
  }, z.core.$strict>;
166
166
  export type TypeRestoreInput = z.infer<typeof TypeRestoreInput>;
167
+ export declare const NodeTypeCreateInput: z.ZodObject<{
168
+ nodeId: z.ZodTemplateLiteral<`node_${string}`>;
169
+ typeId: z.ZodTemplateLiteral<`type_${string}`>;
170
+ }, z.core.$strict>;
171
+ export type NodeTypeCreateInput = z.infer<typeof NodeTypeCreateInput>;
172
+ export declare const NodeTypeRemoveInput: z.ZodObject<{
173
+ nodeId: z.ZodTemplateLiteral<`node_${string}`>;
174
+ typeId: z.ZodTemplateLiteral<`type_${string}`>;
175
+ }, z.core.$strict>;
176
+ export type NodeTypeRemoveInput = z.infer<typeof NodeTypeRemoveInput>;
177
+ export declare const NodeTypes: z.ZodObject<{
178
+ nodeId: z.ZodTemplateLiteral<`node_${string}`>;
179
+ typeIds: z.ZodArray<z.ZodTemplateLiteral<`type_${string}`>>;
180
+ }, z.core.$strip>;
181
+ export type NodeTypes = z.infer<typeof NodeTypes>;
@@ -110,3 +110,15 @@ export const TypeUpdateInput = z.strictObject({
110
110
  });
111
111
  export const TypeArchiveInput = z.strictObject({ typeId: TypeId });
112
112
  export const TypeRestoreInput = z.strictObject({ typeId: TypeId });
113
+ // Own object types given to one element (#1170, E255): beside its locked base type, by whoever may
114
+ // change the element. A folder takes none (E250), and nothing is ever required.
115
+ export const NodeTypeCreateInput = z.strictObject({
116
+ nodeId: NodeId.describe("The element to give the type: a document, file, table, board, task, gadget, skill, goal or source. A folder takes no type."),
117
+ typeId: TypeId.describe("An own object type, `type_…`, from intelligence_type_list. Giving it again changes nothing."),
118
+ });
119
+ export const NodeTypeRemoveInput = z.strictObject({
120
+ nodeId: NodeId,
121
+ typeId: TypeId.describe("The own object type to take off the element."),
122
+ });
123
+ // An element's own object types, by name order; its base type is its kind.
124
+ export const NodeTypes = z.object({ nodeId: NodeId, typeIds: z.array(TypeId) });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@anchrd/colab-sdk",
3
- "version": "0.1.45",
3
+ "version": "0.1.47",
4
4
  "description": "Types, Zod schemas and the service client of Colab, the contract between its UI, backends and outside services.",
5
5
  "type": "module",
6
6
  "license": "UNLICENSED",