@crewx/sdk 0.9.0-rc.211 → 0.9.0-rc.213
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/esm/history-snapshot/index.js +8 -8
- package/dist/esm/index.js +282 -282
- package/dist/history-snapshot/index.d.ts +1 -0
- package/dist/history-snapshot/index.js +8 -8
- package/dist/index.browser.js +1 -1
- package/dist/index.js +283 -283
- package/dist/route/types.d.ts +20 -0
- package/dist/types/index.d.ts +10 -0
- package/package.json +1 -1
package/dist/route/types.d.ts
CHANGED
|
@@ -5,16 +5,19 @@ export declare const RouteModelConfigSchema: z.ZodObject<{
|
|
|
5
5
|
model: z.ZodString;
|
|
6
6
|
weight: z.ZodDefault<z.ZodNumber>;
|
|
7
7
|
account: z.ZodOptional<z.ZodString>;
|
|
8
|
+
effort: z.ZodOptional<z.ZodString>;
|
|
8
9
|
}, "strict", z.ZodTypeAny, {
|
|
9
10
|
id: string;
|
|
10
11
|
model: string;
|
|
11
12
|
provider: string;
|
|
12
13
|
weight: number;
|
|
14
|
+
effort?: string | undefined;
|
|
13
15
|
account?: string | undefined;
|
|
14
16
|
}, {
|
|
15
17
|
id: string;
|
|
16
18
|
model: string;
|
|
17
19
|
provider: string;
|
|
20
|
+
effort?: string | undefined;
|
|
18
21
|
weight?: number | undefined;
|
|
19
22
|
account?: string | undefined;
|
|
20
23
|
}>;
|
|
@@ -24,16 +27,19 @@ export declare const RouteCandidateConfigSchema: z.ZodObject<{
|
|
|
24
27
|
model: z.ZodString;
|
|
25
28
|
weight: z.ZodDefault<z.ZodNumber>;
|
|
26
29
|
account: z.ZodOptional<z.ZodString>;
|
|
30
|
+
effort: z.ZodOptional<z.ZodString>;
|
|
27
31
|
}, "strict", z.ZodTypeAny, {
|
|
28
32
|
id: string;
|
|
29
33
|
model: string;
|
|
30
34
|
provider: string;
|
|
31
35
|
weight: number;
|
|
36
|
+
effort?: string | undefined;
|
|
32
37
|
account?: string | undefined;
|
|
33
38
|
}, {
|
|
34
39
|
id: string;
|
|
35
40
|
model: string;
|
|
36
41
|
provider: string;
|
|
42
|
+
effort?: string | undefined;
|
|
37
43
|
weight?: number | undefined;
|
|
38
44
|
account?: string | undefined;
|
|
39
45
|
}>;
|
|
@@ -66,16 +72,19 @@ declare const RouteConfigInputSchema: z.ZodEffects<z.ZodObject<{
|
|
|
66
72
|
model: z.ZodString;
|
|
67
73
|
weight: z.ZodDefault<z.ZodNumber>;
|
|
68
74
|
account: z.ZodOptional<z.ZodString>;
|
|
75
|
+
effort: z.ZodOptional<z.ZodString>;
|
|
69
76
|
}, "strict", z.ZodTypeAny, {
|
|
70
77
|
id: string;
|
|
71
78
|
model: string;
|
|
72
79
|
provider: string;
|
|
73
80
|
weight: number;
|
|
81
|
+
effort?: string | undefined;
|
|
74
82
|
account?: string | undefined;
|
|
75
83
|
}, {
|
|
76
84
|
id: string;
|
|
77
85
|
model: string;
|
|
78
86
|
provider: string;
|
|
87
|
+
effort?: string | undefined;
|
|
79
88
|
weight?: number | undefined;
|
|
80
89
|
account?: string | undefined;
|
|
81
90
|
}>, "many">>;
|
|
@@ -85,16 +94,19 @@ declare const RouteConfigInputSchema: z.ZodEffects<z.ZodObject<{
|
|
|
85
94
|
model: z.ZodString;
|
|
86
95
|
weight: z.ZodDefault<z.ZodNumber>;
|
|
87
96
|
account: z.ZodOptional<z.ZodString>;
|
|
97
|
+
effort: z.ZodOptional<z.ZodString>;
|
|
88
98
|
}, "strict", z.ZodTypeAny, {
|
|
89
99
|
id: string;
|
|
90
100
|
model: string;
|
|
91
101
|
provider: string;
|
|
92
102
|
weight: number;
|
|
103
|
+
effort?: string | undefined;
|
|
93
104
|
account?: string | undefined;
|
|
94
105
|
}, {
|
|
95
106
|
id: string;
|
|
96
107
|
model: string;
|
|
97
108
|
provider: string;
|
|
109
|
+
effort?: string | undefined;
|
|
98
110
|
weight?: number | undefined;
|
|
99
111
|
account?: string | undefined;
|
|
100
112
|
}>, "many">>;
|
|
@@ -110,6 +122,7 @@ declare const RouteConfigInputSchema: z.ZodEffects<z.ZodObject<{
|
|
|
110
122
|
model: string;
|
|
111
123
|
provider: string;
|
|
112
124
|
weight: number;
|
|
125
|
+
effort?: string | undefined;
|
|
113
126
|
account?: string | undefined;
|
|
114
127
|
}[] | undefined;
|
|
115
128
|
chain?: {
|
|
@@ -121,6 +134,7 @@ declare const RouteConfigInputSchema: z.ZodEffects<z.ZodObject<{
|
|
|
121
134
|
model: string;
|
|
122
135
|
provider: string;
|
|
123
136
|
weight: number;
|
|
137
|
+
effort?: string | undefined;
|
|
124
138
|
account?: string | undefined;
|
|
125
139
|
}[] | undefined;
|
|
126
140
|
defaultModel?: string | undefined;
|
|
@@ -132,6 +146,7 @@ declare const RouteConfigInputSchema: z.ZodEffects<z.ZodObject<{
|
|
|
132
146
|
id: string;
|
|
133
147
|
model: string;
|
|
134
148
|
provider: string;
|
|
149
|
+
effort?: string | undefined;
|
|
135
150
|
weight?: number | undefined;
|
|
136
151
|
account?: string | undefined;
|
|
137
152
|
}[] | undefined;
|
|
@@ -143,6 +158,7 @@ declare const RouteConfigInputSchema: z.ZodEffects<z.ZodObject<{
|
|
|
143
158
|
id: string;
|
|
144
159
|
model: string;
|
|
145
160
|
provider: string;
|
|
161
|
+
effort?: string | undefined;
|
|
146
162
|
weight?: number | undefined;
|
|
147
163
|
account?: string | undefined;
|
|
148
164
|
}[] | undefined;
|
|
@@ -158,6 +174,7 @@ declare const RouteConfigInputSchema: z.ZodEffects<z.ZodObject<{
|
|
|
158
174
|
model: string;
|
|
159
175
|
provider: string;
|
|
160
176
|
weight: number;
|
|
177
|
+
effort?: string | undefined;
|
|
161
178
|
account?: string | undefined;
|
|
162
179
|
}[] | undefined;
|
|
163
180
|
chain?: {
|
|
@@ -169,6 +186,7 @@ declare const RouteConfigInputSchema: z.ZodEffects<z.ZodObject<{
|
|
|
169
186
|
model: string;
|
|
170
187
|
provider: string;
|
|
171
188
|
weight: number;
|
|
189
|
+
effort?: string | undefined;
|
|
172
190
|
account?: string | undefined;
|
|
173
191
|
}[] | undefined;
|
|
174
192
|
defaultModel?: string | undefined;
|
|
@@ -180,6 +198,7 @@ declare const RouteConfigInputSchema: z.ZodEffects<z.ZodObject<{
|
|
|
180
198
|
id: string;
|
|
181
199
|
model: string;
|
|
182
200
|
provider: string;
|
|
201
|
+
effort?: string | undefined;
|
|
183
202
|
weight?: number | undefined;
|
|
184
203
|
account?: string | undefined;
|
|
185
204
|
}[] | undefined;
|
|
@@ -191,6 +210,7 @@ declare const RouteConfigInputSchema: z.ZodEffects<z.ZodObject<{
|
|
|
191
210
|
id: string;
|
|
192
211
|
model: string;
|
|
193
212
|
provider: string;
|
|
213
|
+
effort?: string | undefined;
|
|
194
214
|
weight?: number | undefined;
|
|
195
215
|
account?: string | undefined;
|
|
196
216
|
}[] | undefined;
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1418,6 +1418,7 @@ export declare const CrewxProjectConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1418
1418
|
id: string;
|
|
1419
1419
|
model: string;
|
|
1420
1420
|
provider: string;
|
|
1421
|
+
effort?: string | undefined;
|
|
1421
1422
|
weight?: number | undefined;
|
|
1422
1423
|
account?: string | undefined;
|
|
1423
1424
|
}[] | undefined;
|
|
@@ -1429,6 +1430,7 @@ export declare const CrewxProjectConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1429
1430
|
id: string;
|
|
1430
1431
|
model: string;
|
|
1431
1432
|
provider: string;
|
|
1433
|
+
effort?: string | undefined;
|
|
1432
1434
|
weight?: number | undefined;
|
|
1433
1435
|
account?: string | undefined;
|
|
1434
1436
|
}[] | undefined;
|
|
@@ -2097,6 +2099,7 @@ export declare const CrewxProjectConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2097
2099
|
id: string;
|
|
2098
2100
|
model: string;
|
|
2099
2101
|
provider: string;
|
|
2102
|
+
effort?: string | undefined;
|
|
2100
2103
|
weight?: number | undefined;
|
|
2101
2104
|
account?: string | undefined;
|
|
2102
2105
|
}[] | undefined;
|
|
@@ -2108,6 +2111,7 @@ export declare const CrewxProjectConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2108
2111
|
id: string;
|
|
2109
2112
|
model: string;
|
|
2110
2113
|
provider: string;
|
|
2114
|
+
effort?: string | undefined;
|
|
2111
2115
|
weight?: number | undefined;
|
|
2112
2116
|
account?: string | undefined;
|
|
2113
2117
|
}[] | undefined;
|
|
@@ -2776,6 +2780,7 @@ export declare const CrewxProjectConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2776
2780
|
id: string;
|
|
2777
2781
|
model: string;
|
|
2778
2782
|
provider: string;
|
|
2783
|
+
effort?: string | undefined;
|
|
2779
2784
|
weight?: number | undefined;
|
|
2780
2785
|
account?: string | undefined;
|
|
2781
2786
|
}[] | undefined;
|
|
@@ -2787,6 +2792,7 @@ export declare const CrewxProjectConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2787
2792
|
id: string;
|
|
2788
2793
|
model: string;
|
|
2789
2794
|
provider: string;
|
|
2795
|
+
effort?: string | undefined;
|
|
2790
2796
|
weight?: number | undefined;
|
|
2791
2797
|
account?: string | undefined;
|
|
2792
2798
|
}[] | undefined;
|
|
@@ -3455,6 +3461,7 @@ export declare const CrewxProjectConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3455
3461
|
id: string;
|
|
3456
3462
|
model: string;
|
|
3457
3463
|
provider: string;
|
|
3464
|
+
effort?: string | undefined;
|
|
3458
3465
|
weight?: number | undefined;
|
|
3459
3466
|
account?: string | undefined;
|
|
3460
3467
|
}[] | undefined;
|
|
@@ -3466,6 +3473,7 @@ export declare const CrewxProjectConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3466
3473
|
id: string;
|
|
3467
3474
|
model: string;
|
|
3468
3475
|
provider: string;
|
|
3476
|
+
effort?: string | undefined;
|
|
3469
3477
|
weight?: number | undefined;
|
|
3470
3478
|
account?: string | undefined;
|
|
3471
3479
|
}[] | undefined;
|
|
@@ -4134,6 +4142,7 @@ export declare const CrewxProjectConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
4134
4142
|
id: string;
|
|
4135
4143
|
model: string;
|
|
4136
4144
|
provider: string;
|
|
4145
|
+
effort?: string | undefined;
|
|
4137
4146
|
weight?: number | undefined;
|
|
4138
4147
|
account?: string | undefined;
|
|
4139
4148
|
}[] | undefined;
|
|
@@ -4145,6 +4154,7 @@ export declare const CrewxProjectConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
4145
4154
|
id: string;
|
|
4146
4155
|
model: string;
|
|
4147
4156
|
provider: string;
|
|
4157
|
+
effort?: string | undefined;
|
|
4148
4158
|
weight?: number | undefined;
|
|
4149
4159
|
account?: string | undefined;
|
|
4150
4160
|
}[] | undefined;
|