@crewx/sdk 0.9.0-rc.200 → 0.9.0-rc.202
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/agent-interceptor/schema.d.ts +12 -12
- package/dist/config/models.generated.d.ts +2 -2
- package/dist/config/pricing.generated.d.ts +2 -2
- package/dist/esm/index.js +301 -282
- package/dist/esm/plugins/index.js +106 -87
- package/dist/esm/repository/index.js +166 -147
- package/dist/esm/testing/index.js +1 -1
- package/dist/index.browser.js +4 -4
- package/dist/index.d.ts +1 -0
- package/dist/index.js +307 -288
- package/dist/plugins/index.js +110 -91
- package/dist/provider/cli/adapter.types.d.ts +1 -0
- package/dist/provider/cli/adapters/opencode-data-dir.d.ts +17 -0
- package/dist/provider/errors.d.ts +7 -1
- package/dist/provider/safe-opencode-text.d.ts +2 -0
- package/dist/provider/task-error.types.d.ts +4 -1
- package/dist/repository/index.js +161 -142
- package/dist/testing/index.js +1 -1
- package/package.json +1 -1
|
@@ -32,8 +32,8 @@ export declare const AgentInterceptorItemSchema: z.ZodEffects<z.ZodObject<{
|
|
|
32
32
|
mode: "active" | "audit";
|
|
33
33
|
type: "mutation" | "validation";
|
|
34
34
|
config: Record<string, unknown>;
|
|
35
|
-
enabled: boolean;
|
|
36
35
|
timeoutMs: number;
|
|
36
|
+
enabled: boolean;
|
|
37
37
|
phase: "response" | "request";
|
|
38
38
|
failOpen: boolean;
|
|
39
39
|
priorityHint: number;
|
|
@@ -55,8 +55,8 @@ export declare const AgentInterceptorItemSchema: z.ZodEffects<z.ZodObject<{
|
|
|
55
55
|
} | undefined;
|
|
56
56
|
command?: string[] | undefined;
|
|
57
57
|
config?: Record<string, unknown> | undefined;
|
|
58
|
-
enabled?: boolean | undefined;
|
|
59
58
|
timeoutMs?: number | undefined;
|
|
59
|
+
enabled?: boolean | undefined;
|
|
60
60
|
failOpen?: boolean | undefined;
|
|
61
61
|
priorityHint?: number | undefined;
|
|
62
62
|
}>, {
|
|
@@ -64,8 +64,8 @@ export declare const AgentInterceptorItemSchema: z.ZodEffects<z.ZodObject<{
|
|
|
64
64
|
mode: "active" | "audit";
|
|
65
65
|
type: "mutation" | "validation";
|
|
66
66
|
config: Record<string, unknown>;
|
|
67
|
-
enabled: boolean;
|
|
68
67
|
timeoutMs: number;
|
|
68
|
+
enabled: boolean;
|
|
69
69
|
phase: "response" | "request";
|
|
70
70
|
failOpen: boolean;
|
|
71
71
|
priorityHint: number;
|
|
@@ -87,8 +87,8 @@ export declare const AgentInterceptorItemSchema: z.ZodEffects<z.ZodObject<{
|
|
|
87
87
|
} | undefined;
|
|
88
88
|
command?: string[] | undefined;
|
|
89
89
|
config?: Record<string, unknown> | undefined;
|
|
90
|
-
enabled?: boolean | undefined;
|
|
91
90
|
timeoutMs?: number | undefined;
|
|
91
|
+
enabled?: boolean | undefined;
|
|
92
92
|
failOpen?: boolean | undefined;
|
|
93
93
|
priorityHint?: number | undefined;
|
|
94
94
|
}>;
|
|
@@ -123,8 +123,8 @@ export declare const AgentInterceptorChainSchema: z.ZodEffects<z.ZodObject<{
|
|
|
123
123
|
mode: "active" | "audit";
|
|
124
124
|
type: "mutation" | "validation";
|
|
125
125
|
config: Record<string, unknown>;
|
|
126
|
-
enabled: boolean;
|
|
127
126
|
timeoutMs: number;
|
|
127
|
+
enabled: boolean;
|
|
128
128
|
phase: "response" | "request";
|
|
129
129
|
failOpen: boolean;
|
|
130
130
|
priorityHint: number;
|
|
@@ -146,8 +146,8 @@ export declare const AgentInterceptorChainSchema: z.ZodEffects<z.ZodObject<{
|
|
|
146
146
|
} | undefined;
|
|
147
147
|
command?: string[] | undefined;
|
|
148
148
|
config?: Record<string, unknown> | undefined;
|
|
149
|
-
enabled?: boolean | undefined;
|
|
150
149
|
timeoutMs?: number | undefined;
|
|
150
|
+
enabled?: boolean | undefined;
|
|
151
151
|
failOpen?: boolean | undefined;
|
|
152
152
|
priorityHint?: number | undefined;
|
|
153
153
|
}>, {
|
|
@@ -155,8 +155,8 @@ export declare const AgentInterceptorChainSchema: z.ZodEffects<z.ZodObject<{
|
|
|
155
155
|
mode: "active" | "audit";
|
|
156
156
|
type: "mutation" | "validation";
|
|
157
157
|
config: Record<string, unknown>;
|
|
158
|
-
enabled: boolean;
|
|
159
158
|
timeoutMs: number;
|
|
159
|
+
enabled: boolean;
|
|
160
160
|
phase: "response" | "request";
|
|
161
161
|
failOpen: boolean;
|
|
162
162
|
priorityHint: number;
|
|
@@ -178,8 +178,8 @@ export declare const AgentInterceptorChainSchema: z.ZodEffects<z.ZodObject<{
|
|
|
178
178
|
} | undefined;
|
|
179
179
|
command?: string[] | undefined;
|
|
180
180
|
config?: Record<string, unknown> | undefined;
|
|
181
|
-
enabled?: boolean | undefined;
|
|
182
181
|
timeoutMs?: number | undefined;
|
|
182
|
+
enabled?: boolean | undefined;
|
|
183
183
|
failOpen?: boolean | undefined;
|
|
184
184
|
priorityHint?: number | undefined;
|
|
185
185
|
}>, "many">;
|
|
@@ -190,8 +190,8 @@ export declare const AgentInterceptorChainSchema: z.ZodEffects<z.ZodObject<{
|
|
|
190
190
|
mode: "active" | "audit";
|
|
191
191
|
type: "mutation" | "validation";
|
|
192
192
|
config: Record<string, unknown>;
|
|
193
|
-
enabled: boolean;
|
|
194
193
|
timeoutMs: number;
|
|
194
|
+
enabled: boolean;
|
|
195
195
|
phase: "response" | "request";
|
|
196
196
|
failOpen: boolean;
|
|
197
197
|
priorityHint: number;
|
|
@@ -216,8 +216,8 @@ export declare const AgentInterceptorChainSchema: z.ZodEffects<z.ZodObject<{
|
|
|
216
216
|
} | undefined;
|
|
217
217
|
command?: string[] | undefined;
|
|
218
218
|
config?: Record<string, unknown> | undefined;
|
|
219
|
-
enabled?: boolean | undefined;
|
|
220
219
|
timeoutMs?: number | undefined;
|
|
220
|
+
enabled?: boolean | undefined;
|
|
221
221
|
failOpen?: boolean | undefined;
|
|
222
222
|
priorityHint?: number | undefined;
|
|
223
223
|
}[];
|
|
@@ -228,8 +228,8 @@ export declare const AgentInterceptorChainSchema: z.ZodEffects<z.ZodObject<{
|
|
|
228
228
|
mode: "active" | "audit";
|
|
229
229
|
type: "mutation" | "validation";
|
|
230
230
|
config: Record<string, unknown>;
|
|
231
|
-
enabled: boolean;
|
|
232
231
|
timeoutMs: number;
|
|
232
|
+
enabled: boolean;
|
|
233
233
|
phase: "response" | "request";
|
|
234
234
|
failOpen: boolean;
|
|
235
235
|
priorityHint: number;
|
|
@@ -254,8 +254,8 @@ export declare const AgentInterceptorChainSchema: z.ZodEffects<z.ZodObject<{
|
|
|
254
254
|
} | undefined;
|
|
255
255
|
command?: string[] | undefined;
|
|
256
256
|
config?: Record<string, unknown> | undefined;
|
|
257
|
-
enabled?: boolean | undefined;
|
|
258
257
|
timeoutMs?: number | undefined;
|
|
258
|
+
enabled?: boolean | undefined;
|
|
259
259
|
failOpen?: boolean | undefined;
|
|
260
260
|
priorityHint?: number | undefined;
|
|
261
261
|
}[];
|
|
@@ -5,8 +5,8 @@ export declare const EFFORT_LEVELS: readonly ["none", "minimal", "low", "medium"
|
|
|
5
5
|
export type EffortLevel = (typeof EFFORT_LEVELS)[number];
|
|
6
6
|
export type KnownEffortLevel = EffortLevel;
|
|
7
7
|
export declare const PROVIDER_ARGV_EFFORTS: Record<string, readonly string[]>;
|
|
8
|
-
export declare const MODEL_CATALOG_VERSION =
|
|
9
|
-
export declare const MODEL_CATALOG_UPDATED = "2026-10-
|
|
8
|
+
export declare const MODEL_CATALOG_VERSION = 39;
|
|
9
|
+
export declare const MODEL_CATALOG_UPDATED = "2026-10-30T00:00:00Z";
|
|
10
10
|
export interface ModelCatalogEntry {
|
|
11
11
|
id: string;
|
|
12
12
|
name: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { ModelPricing } from './pricing.types.js';
|
|
2
2
|
export declare const MODEL_PRICING: Record<string, ModelPricing>;
|
|
3
|
-
export declare const MODEL_PRICING_VERSION =
|
|
4
|
-
export declare const MODEL_PRICING_UPDATED = "2026-10-
|
|
3
|
+
export declare const MODEL_PRICING_VERSION = 39;
|
|
4
|
+
export declare const MODEL_PRICING_UPDATED = "2026-10-30T00:00:00Z";
|
|
5
5
|
export declare const UNPUBLISHED_MODEL_IDS: ReadonlySet<string>;
|
|
6
6
|
export declare const CATALOG_MODEL_IDS: ReadonlySet<string>;
|