@omnicross/contracts 0.1.4 → 0.1.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account-tokens-types.d.cts +71 -54
- package/dist/account-tokens-types.d.ts +71 -54
- package/dist/canonical-models.cjs +11 -0
- package/dist/canonical-models.js +11 -0
- package/dist/index.cjs +104 -113
- package/dist/index.d.cts +57 -2
- package/dist/index.d.ts +57 -2
- package/dist/index.js +103 -113
- package/dist/pricing-types.cjs +5 -2
- package/dist/pricing-types.d.cts +16 -1
- package/dist/pricing-types.d.ts +16 -1
- package/dist/pricing-types.js +3 -1
- package/dist/provider-presets/index.cjs +90 -113
- package/dist/provider-presets/index.js +90 -113
- package/dist/subscription-types.d.cts +8 -13
- package/dist/subscription-types.d.ts +8 -13
- package/package.json +1 -1
|
@@ -230,8 +230,12 @@ var anthropic_default = {
|
|
|
230
230
|
api_base_url: "https://api.anthropic.com/v1/messages",
|
|
231
231
|
modelsEndpoint: "https://api.anthropic.com/v1/models",
|
|
232
232
|
models: [
|
|
233
|
+
"claude-fable-5",
|
|
234
|
+
"claude-opus-5",
|
|
235
|
+
"claude-opus-4-8",
|
|
233
236
|
"claude-opus-4-7",
|
|
234
237
|
"claude-opus-4-7[1m]",
|
|
238
|
+
"claude-sonnet-5",
|
|
235
239
|
"claude-sonnet-4-6",
|
|
236
240
|
"claude-sonnet-4-6[1m]",
|
|
237
241
|
"claude-opus-4-6",
|
|
@@ -239,6 +243,21 @@ var anthropic_default = {
|
|
|
239
243
|
"claude-haiku-4-5"
|
|
240
244
|
],
|
|
241
245
|
modelConfigs: [
|
|
246
|
+
{
|
|
247
|
+
id: "claude-fable-5",
|
|
248
|
+
name: "Claude Fable 5",
|
|
249
|
+
enabled: true
|
|
250
|
+
},
|
|
251
|
+
{
|
|
252
|
+
id: "claude-opus-5",
|
|
253
|
+
name: "Claude Opus 5",
|
|
254
|
+
enabled: true
|
|
255
|
+
},
|
|
256
|
+
{
|
|
257
|
+
id: "claude-opus-4-8",
|
|
258
|
+
name: "Claude Opus 4.8",
|
|
259
|
+
enabled: true
|
|
260
|
+
},
|
|
242
261
|
{
|
|
243
262
|
id: "claude-opus-4-7",
|
|
244
263
|
name: "Claude Opus 4.7",
|
|
@@ -249,6 +268,11 @@ var anthropic_default = {
|
|
|
249
268
|
name: "Claude Opus 4.7 (1M)",
|
|
250
269
|
enabled: false
|
|
251
270
|
},
|
|
271
|
+
{
|
|
272
|
+
id: "claude-sonnet-5",
|
|
273
|
+
name: "Claude Sonnet 5",
|
|
274
|
+
enabled: true
|
|
275
|
+
},
|
|
252
276
|
{
|
|
253
277
|
id: "claude-sonnet-4-6",
|
|
254
278
|
name: "Claude Sonnet 4.6",
|
|
@@ -275,11 +299,6 @@ var anthropic_default = {
|
|
|
275
299
|
enabled: true
|
|
276
300
|
}
|
|
277
301
|
],
|
|
278
|
-
transformer: {
|
|
279
|
-
use: [
|
|
280
|
-
"anthropic"
|
|
281
|
-
]
|
|
282
|
-
},
|
|
283
302
|
description: "Claude\u6A21\u578B\u5B98\u65B9API (Anthropic Messages\u683C\u5F0F)",
|
|
284
303
|
icon: "anthropic",
|
|
285
304
|
website: "https://anthropic.com",
|
|
@@ -536,9 +555,7 @@ var deepseek_default = {
|
|
|
536
555
|
api_base_url: "https://api.deepseek.com/v1/chat/completions",
|
|
537
556
|
models: [
|
|
538
557
|
"deepseek-v4-flash",
|
|
539
|
-
"deepseek-v4-pro"
|
|
540
|
-
"deepseek-chat",
|
|
541
|
-
"deepseek-reasoner"
|
|
558
|
+
"deepseek-v4-pro"
|
|
542
559
|
],
|
|
543
560
|
modelConfigs: [
|
|
544
561
|
{
|
|
@@ -550,23 +567,8 @@ var deepseek_default = {
|
|
|
550
567
|
id: "deepseek-v4-pro",
|
|
551
568
|
name: "DeepSeek V4 Pro",
|
|
552
569
|
enabled: true
|
|
553
|
-
},
|
|
554
|
-
{
|
|
555
|
-
id: "deepseek-chat",
|
|
556
|
-
name: "DeepSeek Chat (Legacy)",
|
|
557
|
-
enabled: false
|
|
558
|
-
},
|
|
559
|
-
{
|
|
560
|
-
id: "deepseek-reasoner",
|
|
561
|
-
name: "DeepSeek Reasoner (Legacy)",
|
|
562
|
-
enabled: false
|
|
563
570
|
}
|
|
564
571
|
],
|
|
565
|
-
transformer: {
|
|
566
|
-
use: [
|
|
567
|
-
"deepseek"
|
|
568
|
-
]
|
|
569
|
-
},
|
|
570
572
|
description: "DeepSeek\u5B98\u65B9API",
|
|
571
573
|
icon: "deepseek",
|
|
572
574
|
website: "https://deepseek.com",
|
|
@@ -591,10 +593,16 @@ var gemini_default = {
|
|
|
591
593
|
api_base_url: "https://generativelanguage.googleapis.com/v1beta/models/",
|
|
592
594
|
modelsEndpoint: "https://generativelanguage.googleapis.com/v1beta/models",
|
|
593
595
|
models: [
|
|
596
|
+
"gemini-3.5-flash",
|
|
594
597
|
"gemini-3-flash",
|
|
595
598
|
"gemini-3.1-pro"
|
|
596
599
|
],
|
|
597
600
|
modelConfigs: [
|
|
601
|
+
{
|
|
602
|
+
id: "gemini-3.5-flash",
|
|
603
|
+
name: "Gemini 3.5 Flash",
|
|
604
|
+
enabled: true
|
|
605
|
+
},
|
|
598
606
|
{
|
|
599
607
|
id: "gemini-3-flash",
|
|
600
608
|
name: "Gemini 3 Flash",
|
|
@@ -645,10 +653,16 @@ var gemini_vertex_default = {
|
|
|
645
653
|
apiType: "google",
|
|
646
654
|
api_base_url: "https://us-central1-aiplatform.googleapis.com/v1/projects/YOUR_PROJECT_ID/locations/us-central1/publishers/google",
|
|
647
655
|
models: [
|
|
656
|
+
"gemini-3.5-flash",
|
|
648
657
|
"gemini-3-flash",
|
|
649
658
|
"gemini-3.1-pro"
|
|
650
659
|
],
|
|
651
660
|
modelConfigs: [
|
|
661
|
+
{
|
|
662
|
+
id: "gemini-3.5-flash",
|
|
663
|
+
name: "Gemini 3.5 Flash",
|
|
664
|
+
enabled: true
|
|
665
|
+
},
|
|
652
666
|
{
|
|
653
667
|
id: "gemini-3-flash",
|
|
654
668
|
name: "Gemini 3 Flash",
|
|
@@ -699,30 +713,18 @@ var grok_default = {
|
|
|
699
713
|
apiType: "openai",
|
|
700
714
|
api_base_url: "https://api.x.ai/v1/chat/completions",
|
|
701
715
|
models: [
|
|
702
|
-
"grok-4.
|
|
703
|
-
"grok-4.
|
|
704
|
-
"grok-4.20-reasoning",
|
|
705
|
-
"grok-4.20-multi-agent"
|
|
716
|
+
"grok-4.5",
|
|
717
|
+
"grok-4.3"
|
|
706
718
|
],
|
|
707
719
|
modelConfigs: [
|
|
708
720
|
{
|
|
709
|
-
id: "grok-4.
|
|
710
|
-
name: "Grok 4.
|
|
711
|
-
enabled: true
|
|
712
|
-
},
|
|
713
|
-
{
|
|
714
|
-
id: "grok-4.20",
|
|
715
|
-
name: "Grok 4.20",
|
|
721
|
+
id: "grok-4.5",
|
|
722
|
+
name: "Grok 4.5",
|
|
716
723
|
enabled: true
|
|
717
724
|
},
|
|
718
725
|
{
|
|
719
|
-
id: "grok-4.
|
|
720
|
-
name: "Grok 4.
|
|
721
|
-
enabled: true
|
|
722
|
-
},
|
|
723
|
-
{
|
|
724
|
-
id: "grok-4.20-multi-agent",
|
|
725
|
-
name: "Grok 4.20 Multi-Agent",
|
|
726
|
+
id: "grok-4.3",
|
|
727
|
+
name: "Grok 4.3",
|
|
726
728
|
enabled: true
|
|
727
729
|
}
|
|
728
730
|
],
|
|
@@ -808,11 +810,16 @@ var kimi_default = {
|
|
|
808
810
|
api_base_url: "https://api.moonshot.ai/v1",
|
|
809
811
|
codingPlanBaseUrl: "https://api.kimi.com/coding/v1",
|
|
810
812
|
models: [
|
|
813
|
+
"kimi-k3",
|
|
811
814
|
"kimi-k2.6",
|
|
812
|
-
"kimi-k2.5"
|
|
813
|
-
"kimi-k2-thinking"
|
|
815
|
+
"kimi-k2.5"
|
|
814
816
|
],
|
|
815
817
|
modelConfigs: [
|
|
818
|
+
{
|
|
819
|
+
id: "kimi-k3",
|
|
820
|
+
name: "Kimi K3",
|
|
821
|
+
enabled: true
|
|
822
|
+
},
|
|
816
823
|
{
|
|
817
824
|
id: "kimi-k2.6",
|
|
818
825
|
name: "Kimi K2.6",
|
|
@@ -822,11 +829,6 @@ var kimi_default = {
|
|
|
822
829
|
id: "kimi-k2.5",
|
|
823
830
|
name: "Kimi K2.5",
|
|
824
831
|
enabled: true
|
|
825
|
-
},
|
|
826
|
-
{
|
|
827
|
-
id: "kimi-k2-thinking",
|
|
828
|
-
name: "Kimi K2 Thinking",
|
|
829
|
-
enabled: false
|
|
830
832
|
}
|
|
831
833
|
],
|
|
832
834
|
description: "Moonshot AI - Kimi\u5927\u6A21\u578B",
|
|
@@ -1071,42 +1073,30 @@ var openai_default = {
|
|
|
1071
1073
|
apiType: "openai",
|
|
1072
1074
|
api_base_url: "https://api.openai.com/v1/chat/completions",
|
|
1073
1075
|
models: [
|
|
1074
|
-
"gpt-5.
|
|
1075
|
-
"gpt-5.
|
|
1076
|
-
"gpt-5.
|
|
1077
|
-
"gpt-5.
|
|
1078
|
-
"gpt-4o",
|
|
1079
|
-
"gpt-4o-mini"
|
|
1076
|
+
"gpt-5.6-sol",
|
|
1077
|
+
"gpt-5.6-terra",
|
|
1078
|
+
"gpt-5.6-luna",
|
|
1079
|
+
"gpt-5.5"
|
|
1080
1080
|
],
|
|
1081
1081
|
modelConfigs: [
|
|
1082
1082
|
{
|
|
1083
|
-
id: "gpt-5.
|
|
1084
|
-
name: "GPT-5.
|
|
1085
|
-
enabled: true
|
|
1086
|
-
},
|
|
1087
|
-
{
|
|
1088
|
-
id: "gpt-5.4",
|
|
1089
|
-
name: "GPT-5.4",
|
|
1083
|
+
id: "gpt-5.6-sol",
|
|
1084
|
+
name: "GPT-5.6 Sol",
|
|
1090
1085
|
enabled: true
|
|
1091
1086
|
},
|
|
1092
1087
|
{
|
|
1093
|
-
id: "gpt-5.
|
|
1094
|
-
name: "GPT-5.
|
|
1088
|
+
id: "gpt-5.6-terra",
|
|
1089
|
+
name: "GPT-5.6 Terra",
|
|
1095
1090
|
enabled: true
|
|
1096
1091
|
},
|
|
1097
1092
|
{
|
|
1098
|
-
id: "gpt-5.
|
|
1099
|
-
name: "GPT-5.
|
|
1093
|
+
id: "gpt-5.6-luna",
|
|
1094
|
+
name: "GPT-5.6 Luna",
|
|
1100
1095
|
enabled: true
|
|
1101
1096
|
},
|
|
1102
1097
|
{
|
|
1103
|
-
id: "gpt-
|
|
1104
|
-
name: "GPT-
|
|
1105
|
-
enabled: true
|
|
1106
|
-
},
|
|
1107
|
-
{
|
|
1108
|
-
id: "gpt-4o-mini",
|
|
1109
|
-
name: "GPT-4o Mini",
|
|
1098
|
+
id: "gpt-5.5",
|
|
1099
|
+
name: "GPT-5.5",
|
|
1110
1100
|
enabled: true
|
|
1111
1101
|
}
|
|
1112
1102
|
],
|
|
@@ -1141,62 +1131,33 @@ var openai_response_default = {
|
|
|
1141
1131
|
apiFormat: "openai-response",
|
|
1142
1132
|
api_base_url: "https://api.openai.com",
|
|
1143
1133
|
models: [
|
|
1144
|
-
"gpt-5.
|
|
1145
|
-
"gpt-5.
|
|
1146
|
-
"gpt-5.
|
|
1147
|
-
"gpt-5.
|
|
1148
|
-
"gpt-5.2",
|
|
1149
|
-
"o3",
|
|
1150
|
-
"o4-mini",
|
|
1151
|
-
"gpt-4.1"
|
|
1134
|
+
"gpt-5.6-sol",
|
|
1135
|
+
"gpt-5.6-terra",
|
|
1136
|
+
"gpt-5.6-luna",
|
|
1137
|
+
"gpt-5.5"
|
|
1152
1138
|
],
|
|
1153
1139
|
modelConfigs: [
|
|
1154
1140
|
{
|
|
1155
|
-
id: "gpt-5.
|
|
1156
|
-
name: "GPT-5.
|
|
1157
|
-
enabled: true
|
|
1158
|
-
},
|
|
1159
|
-
{
|
|
1160
|
-
id: "gpt-5.4",
|
|
1161
|
-
name: "GPT-5.4",
|
|
1162
|
-
enabled: true
|
|
1163
|
-
},
|
|
1164
|
-
{
|
|
1165
|
-
id: "gpt-5.4-mini",
|
|
1166
|
-
name: "GPT-5.4 Mini",
|
|
1167
|
-
enabled: true
|
|
1168
|
-
},
|
|
1169
|
-
{
|
|
1170
|
-
id: "gpt-5.3-codex",
|
|
1171
|
-
name: "GPT-5.3 Codex",
|
|
1141
|
+
id: "gpt-5.6-sol",
|
|
1142
|
+
name: "GPT-5.6 Sol",
|
|
1172
1143
|
enabled: true
|
|
1173
1144
|
},
|
|
1174
1145
|
{
|
|
1175
|
-
id: "gpt-5.
|
|
1176
|
-
name: "GPT-5.
|
|
1146
|
+
id: "gpt-5.6-terra",
|
|
1147
|
+
name: "GPT-5.6 Terra",
|
|
1177
1148
|
enabled: true
|
|
1178
1149
|
},
|
|
1179
1150
|
{
|
|
1180
|
-
id: "
|
|
1181
|
-
name: "
|
|
1151
|
+
id: "gpt-5.6-luna",
|
|
1152
|
+
name: "GPT-5.6 Luna",
|
|
1182
1153
|
enabled: true
|
|
1183
1154
|
},
|
|
1184
1155
|
{
|
|
1185
|
-
id: "
|
|
1186
|
-
name: "
|
|
1187
|
-
enabled: true
|
|
1188
|
-
},
|
|
1189
|
-
{
|
|
1190
|
-
id: "gpt-4.1",
|
|
1191
|
-
name: "GPT-4.1",
|
|
1156
|
+
id: "gpt-5.5",
|
|
1157
|
+
name: "GPT-5.5",
|
|
1192
1158
|
enabled: true
|
|
1193
1159
|
}
|
|
1194
1160
|
],
|
|
1195
|
-
transformer: {
|
|
1196
|
-
use: [
|
|
1197
|
-
"openai-response"
|
|
1198
|
-
]
|
|
1199
|
-
},
|
|
1200
1161
|
description: "OpenAI Responses API (/v1/responses endpoint)",
|
|
1201
1162
|
icon: "openai",
|
|
1202
1163
|
website: "https://openai.com",
|
|
@@ -1795,6 +1756,7 @@ var zhipu_default = {
|
|
|
1795
1756
|
codingPlanBaseUrl: "https://api.z.ai/api/coding/paas/v4",
|
|
1796
1757
|
modelsEndpoint: "https://api.z.ai/api/paas/v4/models",
|
|
1797
1758
|
models: [
|
|
1759
|
+
"glm-5.2",
|
|
1798
1760
|
"glm-5",
|
|
1799
1761
|
"glm-5.1",
|
|
1800
1762
|
"glm-4.5-air",
|
|
@@ -1802,6 +1764,11 @@ var zhipu_default = {
|
|
|
1802
1764
|
"glm-4.7"
|
|
1803
1765
|
],
|
|
1804
1766
|
modelConfigs: [
|
|
1767
|
+
{
|
|
1768
|
+
id: "glm-5.2",
|
|
1769
|
+
name: "GLM-5.2",
|
|
1770
|
+
enabled: true
|
|
1771
|
+
},
|
|
1805
1772
|
{
|
|
1806
1773
|
id: "glm-5",
|
|
1807
1774
|
name: "GLM-5",
|
|
@@ -1875,6 +1842,7 @@ var zhipu_bigmodel_default = {
|
|
|
1875
1842
|
codingPlanBaseUrl: "https://open.bigmodel.cn/api/coding/paas/v4",
|
|
1876
1843
|
modelsEndpoint: "https://open.bigmodel.cn/api/paas/v4/models",
|
|
1877
1844
|
models: [
|
|
1845
|
+
"glm-5.2",
|
|
1878
1846
|
"glm-5",
|
|
1879
1847
|
"glm-5.1",
|
|
1880
1848
|
"glm-4.5-air",
|
|
@@ -1882,6 +1850,15 @@ var zhipu_bigmodel_default = {
|
|
|
1882
1850
|
"glm-4.7"
|
|
1883
1851
|
],
|
|
1884
1852
|
modelConfigs: [
|
|
1853
|
+
{
|
|
1854
|
+
id: "glm-5.2",
|
|
1855
|
+
name: "GLM-5.2",
|
|
1856
|
+
enabled: true,
|
|
1857
|
+
category: "chat",
|
|
1858
|
+
contextLength: 1048576,
|
|
1859
|
+
maxTokens: 131072,
|
|
1860
|
+
functionCall: true
|
|
1861
|
+
},
|
|
1885
1862
|
{
|
|
1886
1863
|
id: "glm-5",
|
|
1887
1864
|
name: "GLM-5",
|
|
@@ -12,8 +12,7 @@
|
|
|
12
12
|
/** Stable IDs for built-in subscription providers. */
|
|
13
13
|
type SubscriptionProviderId = 'claude' | 'codex' | 'gemini' | 'opencodego';
|
|
14
14
|
/**
|
|
15
|
-
* OpenCodeGo routing scenarios
|
|
16
|
-
* (and `_others/oc-go-cc/configs/config.example.json`).
|
|
15
|
+
* OpenCodeGo routing scenarios used for model selection and fallback.
|
|
17
16
|
*
|
|
18
17
|
* `background` is DORMANT in this version: the scenario router never
|
|
19
18
|
* auto-selects it (keyword-driven selection is a downstream change). It is
|
|
@@ -26,13 +25,11 @@ interface OpenCodeGoModelEntry {
|
|
|
26
25
|
/** Provider model id sent upstream (e.g. `kimi-k2.6`, `minimax-m2.5`). */
|
|
27
26
|
modelId: string;
|
|
28
27
|
/**
|
|
29
|
-
* Which
|
|
30
|
-
* `
|
|
31
|
-
*
|
|
32
|
-
* stored config behaves byte-identically (no zen traffic). The built-in
|
|
28
|
+
* Which OpenCode provider half this model lives on. When absent it defaults to
|
|
29
|
+
* `'go'`, so every existing stored config behaves the same (no zen traffic).
|
|
30
|
+
* The built-in
|
|
33
31
|
* default `modelMap`/`fallbacks` are entirely `'go'`; a `'zen'` model is
|
|
34
|
-
* reachable
|
|
35
|
-
* (strict user-only parity, mirroring the reference's `model_overrides`).
|
|
32
|
+
* reachable only via a user-supplied entry that explicitly sets this field.
|
|
36
33
|
*/
|
|
37
34
|
provider?: 'go' | 'zen';
|
|
38
35
|
/** Optional temperature override. */
|
|
@@ -55,12 +52,10 @@ interface OpenCodeGoTokenConfig {
|
|
|
55
52
|
/** Encrypted on disk; decrypted in memory only via the host's token store. */
|
|
56
53
|
apiKey?: string;
|
|
57
54
|
/** Optional override of the default OpenCodeGo upstream host. Applies to the
|
|
58
|
-
*
|
|
59
|
-
* half is overridden by `zenBaseUrl`. */
|
|
55
|
+
* GO half only; the ZEN half is overridden by `zenBaseUrl`. */
|
|
60
56
|
baseUrl?: string;
|
|
61
|
-
/** Optional override of the default
|
|
62
|
-
*
|
|
63
|
-
* unset, zen models resolve under the built-in zen constants. A go-half
|
|
57
|
+
/** Optional override of the default OpenCode ZEN upstream host. Applies to the
|
|
58
|
+
* ZEN half only. When unset, ZEN models resolve under the built-in constants. A GO-half
|
|
64
59
|
* override (`baseUrl`) NEVER redirects zen traffic and vice-versa. */
|
|
65
60
|
zenBaseUrl?: string;
|
|
66
61
|
/** Optional override of the built-in model map per scenario. */
|
|
@@ -12,8 +12,7 @@
|
|
|
12
12
|
/** Stable IDs for built-in subscription providers. */
|
|
13
13
|
type SubscriptionProviderId = 'claude' | 'codex' | 'gemini' | 'opencodego';
|
|
14
14
|
/**
|
|
15
|
-
* OpenCodeGo routing scenarios
|
|
16
|
-
* (and `_others/oc-go-cc/configs/config.example.json`).
|
|
15
|
+
* OpenCodeGo routing scenarios used for model selection and fallback.
|
|
17
16
|
*
|
|
18
17
|
* `background` is DORMANT in this version: the scenario router never
|
|
19
18
|
* auto-selects it (keyword-driven selection is a downstream change). It is
|
|
@@ -26,13 +25,11 @@ interface OpenCodeGoModelEntry {
|
|
|
26
25
|
/** Provider model id sent upstream (e.g. `kimi-k2.6`, `minimax-m2.5`). */
|
|
27
26
|
modelId: string;
|
|
28
27
|
/**
|
|
29
|
-
* Which
|
|
30
|
-
* `
|
|
31
|
-
*
|
|
32
|
-
* stored config behaves byte-identically (no zen traffic). The built-in
|
|
28
|
+
* Which OpenCode provider half this model lives on. When absent it defaults to
|
|
29
|
+
* `'go'`, so every existing stored config behaves the same (no zen traffic).
|
|
30
|
+
* The built-in
|
|
33
31
|
* default `modelMap`/`fallbacks` are entirely `'go'`; a `'zen'` model is
|
|
34
|
-
* reachable
|
|
35
|
-
* (strict user-only parity, mirroring the reference's `model_overrides`).
|
|
32
|
+
* reachable only via a user-supplied entry that explicitly sets this field.
|
|
36
33
|
*/
|
|
37
34
|
provider?: 'go' | 'zen';
|
|
38
35
|
/** Optional temperature override. */
|
|
@@ -55,12 +52,10 @@ interface OpenCodeGoTokenConfig {
|
|
|
55
52
|
/** Encrypted on disk; decrypted in memory only via the host's token store. */
|
|
56
53
|
apiKey?: string;
|
|
57
54
|
/** Optional override of the default OpenCodeGo upstream host. Applies to the
|
|
58
|
-
*
|
|
59
|
-
* half is overridden by `zenBaseUrl`. */
|
|
55
|
+
* GO half only; the ZEN half is overridden by `zenBaseUrl`. */
|
|
60
56
|
baseUrl?: string;
|
|
61
|
-
/** Optional override of the default
|
|
62
|
-
*
|
|
63
|
-
* unset, zen models resolve under the built-in zen constants. A go-half
|
|
57
|
+
/** Optional override of the default OpenCode ZEN upstream host. Applies to the
|
|
58
|
+
* ZEN half only. When unset, ZEN models resolve under the built-in constants. A GO-half
|
|
64
59
|
* override (`baseUrl`) NEVER redirects zen traffic and vice-versa. */
|
|
65
60
|
zenBaseUrl?: string;
|
|
66
61
|
/** Optional override of the built-in model map per scenario. */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@omnicross/contracts",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.6",
|
|
4
4
|
"description": "Dependency-light, host-agnostic contract types + runtime-value helpers shared by the @omnicross/* packages.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Sayo (https://github.com/Dumoedss)",
|