@codeworksh/harness 0.0.1-dev.20260922135939 → 0.0.1-dev.20260922184400
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/README.md +2 -1
- package/effect.d.mts +74 -56
- package/effect.mjs +54 -3
- package/effect.mjs.map +1 -1
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -210,7 +210,8 @@ Vercel and Daytona are the first remote drivers. More providers can be added beh
|
|
|
210
210
|
## Requirements
|
|
211
211
|
|
|
212
212
|
- Node.js 24.14.1 or newer
|
|
213
|
-
- An API key for the model provider you select
|
|
213
|
+
- An API key for the model provider you select, or OAuth credentials created with
|
|
214
|
+
`codework auth login --openai-codex` / `codework auth login --github-copilot`
|
|
214
215
|
- A generated Aikit model catalog; run `codework models generate` from the project you want to use
|
|
215
216
|
|
|
216
217
|
## CLI
|
package/effect.d.mts
CHANGED
|
@@ -1254,7 +1254,7 @@ declare const layerMounted: (ref?: Ref$1) => Layer.Layer<Service, import("@codew
|
|
|
1254
1254
|
declare const layerWith$1: <E, RIn>(ref: Ref$1, sandbox: Sandbox.Sandbox<E, RIn>) => Layer.Layer<Service, E | import("effect/Config").ConfigError | import("@codeworksh/plugin/location").Error, Exclude<RIn, SqlClient$1.SqlClient | import("@effect/sql-sqlite-node/SqliteClient").SqliteClient>>;
|
|
1255
1255
|
declare const defaultLayer$1: (ref: Ref$1, path: string) => Layer.Layer<Service, import("effect/Config").ConfigError | import("@codeworksh/plugin/location").Error, never>;
|
|
1256
1256
|
declare namespace global_d_exports {
|
|
1257
|
-
export { global_d_exports as Global, Interface$8 as Interface, Service$9 as Service, app, appConfigDir, defaultLayer, homeConfig, layer$7 as layer, layerWith, make$3 as make, resolve$3 as resolve };
|
|
1257
|
+
export { global_d_exports as Global, Interface$8 as Interface, Service$9 as Service, app, appConfigDir, authFile, defaultLayer, homeConfig, layer$7 as layer, layerWith, make$3 as make, resolve$3 as resolve };
|
|
1258
1258
|
}
|
|
1259
1259
|
declare const appConfigDir = ".codework";
|
|
1260
1260
|
declare const app = "codework";
|
|
@@ -1268,6 +1268,16 @@ interface Interface$8 {
|
|
|
1268
1268
|
readonly log: string;
|
|
1269
1269
|
}
|
|
1270
1270
|
declare function make$3(input?: Partial<Interface$8>): Interface$8;
|
|
1271
|
+
/**
|
|
1272
|
+
* Where a Codework home keeps its OAuth credentials, or undefined to let aikit
|
|
1273
|
+
* resolve them (`CODEWORK_CREDENTIALS`, then the default home).
|
|
1274
|
+
*
|
|
1275
|
+
* Callers pass a home only when the user actually chose one, so an explicit
|
|
1276
|
+
* `--home` pins the file and everything else defers to aikit. The harness and
|
|
1277
|
+
* the RPC server both go through here: if they disagreed, a login stored by one
|
|
1278
|
+
* would be invisible to the other.
|
|
1279
|
+
*/
|
|
1280
|
+
declare const authFile: (home: string | undefined) => string | undefined;
|
|
1271
1281
|
declare const resolve$3: (input?: Partial<Interface$8> | undefined) => Effect.Effect<Interface$8, Config.ConfigError, never>;
|
|
1272
1282
|
declare const layer$7: Layer.Layer<Service$9, Config.ConfigError, never>;
|
|
1273
1283
|
declare const defaultLayer: Layer.Layer<Service$9, Config.ConfigError, never>;
|
|
@@ -1389,7 +1399,7 @@ declare const parse$1: (path: string, source: string) => Effect.Effect<{
|
|
|
1389
1399
|
} | undefined;
|
|
1390
1400
|
readonly baseURL?: string | undefined;
|
|
1391
1401
|
readonly method?: "chat" | "completion" | "completionModel" | "languageModel" | "messages" | "responses" | undefined;
|
|
1392
|
-
readonly protocol?: "anthropic" | "google" | "google-vertex" | "google-vertex-anthropic" | "openai" | "openai-codex" | "openai-compatible" | "openrouter" | "xai" | undefined;
|
|
1402
|
+
readonly protocol?: "anthropic" | "github-copilot" | "google" | "google-vertex" | "google-vertex-anthropic" | "openai" | "openai-codex" | "openai-compatible" | "openrouter" | "xai" | undefined;
|
|
1393
1403
|
readonly thinkingLevel?: "high" | "low" | "max" | "medium" | "minimal" | "off" | "xhigh" | undefined;
|
|
1394
1404
|
readonly toolExecution?: "parallel" | "sequential" | undefined;
|
|
1395
1405
|
readonly contextWindow?: number | undefined;
|
|
@@ -1422,7 +1432,7 @@ declare const parse$1: (path: string, source: string) => Effect.Effect<{
|
|
|
1422
1432
|
} | undefined;
|
|
1423
1433
|
readonly baseURL?: string | undefined;
|
|
1424
1434
|
readonly method?: "chat" | "completion" | "completionModel" | "languageModel" | "messages" | "responses" | undefined;
|
|
1425
|
-
readonly protocol?: "anthropic" | "google" | "google-vertex" | "google-vertex-anthropic" | "openai" | "openai-codex" | "openai-compatible" | "openrouter" | "xai" | undefined;
|
|
1435
|
+
readonly protocol?: "anthropic" | "github-copilot" | "google" | "google-vertex" | "google-vertex-anthropic" | "openai" | "openai-codex" | "openai-compatible" | "openrouter" | "xai" | undefined;
|
|
1426
1436
|
readonly thinkingLevel?: "high" | "low" | "max" | "medium" | "minimal" | "off" | "xhigh" | undefined;
|
|
1427
1437
|
readonly toolExecution?: "parallel" | "sequential" | undefined;
|
|
1428
1438
|
readonly contextWindow?: number | undefined;
|
|
@@ -1491,7 +1501,7 @@ declare const load$1: (options: Options$4 & {
|
|
|
1491
1501
|
} | undefined;
|
|
1492
1502
|
readonly baseURL?: string | undefined;
|
|
1493
1503
|
readonly method?: "chat" | "completion" | "completionModel" | "languageModel" | "messages" | "responses" | undefined;
|
|
1494
|
-
readonly protocol?: "anthropic" | "google" | "google-vertex" | "google-vertex-anthropic" | "openai" | "openai-codex" | "openai-compatible" | "openrouter" | "xai" | undefined;
|
|
1504
|
+
readonly protocol?: "anthropic" | "github-copilot" | "google" | "google-vertex" | "google-vertex-anthropic" | "openai" | "openai-codex" | "openai-compatible" | "openrouter" | "xai" | undefined;
|
|
1495
1505
|
readonly thinkingLevel?: "high" | "low" | "max" | "medium" | "minimal" | "off" | "xhigh" | undefined;
|
|
1496
1506
|
readonly toolExecution?: "parallel" | "sequential" | undefined;
|
|
1497
1507
|
readonly contextWindow?: number | undefined;
|
|
@@ -1524,7 +1534,7 @@ declare const load$1: (options: Options$4 & {
|
|
|
1524
1534
|
} | undefined;
|
|
1525
1535
|
readonly baseURL?: string | undefined;
|
|
1526
1536
|
readonly method?: "chat" | "completion" | "completionModel" | "languageModel" | "messages" | "responses" | undefined;
|
|
1527
|
-
readonly protocol?: "anthropic" | "google" | "google-vertex" | "google-vertex-anthropic" | "openai" | "openai-codex" | "openai-compatible" | "openrouter" | "xai" | undefined;
|
|
1537
|
+
readonly protocol?: "anthropic" | "github-copilot" | "google" | "google-vertex" | "google-vertex-anthropic" | "openai" | "openai-codex" | "openai-compatible" | "openrouter" | "xai" | undefined;
|
|
1528
1538
|
readonly thinkingLevel?: "high" | "low" | "max" | "medium" | "minimal" | "off" | "xhigh" | undefined;
|
|
1529
1539
|
readonly toolExecution?: "parallel" | "sequential" | undefined;
|
|
1530
1540
|
readonly contextWindow?: number | undefined;
|
|
@@ -2297,7 +2307,7 @@ declare const encodePart: (part: AikitPart) => Effect.Effect<AppendPart, Context
|
|
|
2297
2307
|
declare const validateUserMessage: (value: unknown, entryId: string, type: string) => Effect.Effect<Message.UserMessage, ContextDecodeError>;
|
|
2298
2308
|
declare const encodeMessage: (message: {
|
|
2299
2309
|
role: "assistant";
|
|
2300
|
-
protocol: "anthropic" | "google" | "google-vertex" | "google-vertex-anthropic" | "openai" | "openai-codex" | "openai-compatible" | "openrouter" | "xai";
|
|
2310
|
+
protocol: "anthropic" | "github-copilot" | "google" | "google-vertex" | "google-vertex-anthropic" | "openai" | "openai-codex" | "openai-compatible" | "openrouter" | "xai";
|
|
2301
2311
|
provider: {
|
|
2302
2312
|
id: string;
|
|
2303
2313
|
name: string;
|
|
@@ -2629,7 +2639,7 @@ declare const decodeSyntheticMessage: (hydrated: HydratedEntry) => Effect.Effect
|
|
|
2629
2639
|
}, ContextDecodeError, never>;
|
|
2630
2640
|
declare const decodeMessage: (hydrated: HydratedEntry) => Effect.Effect<{
|
|
2631
2641
|
role: "assistant";
|
|
2632
|
-
protocol: "anthropic" | "google" | "google-vertex" | "google-vertex-anthropic" | "openai" | "openai-codex" | "openai-compatible" | "openrouter" | "xai";
|
|
2642
|
+
protocol: "anthropic" | "github-copilot" | "google" | "google-vertex" | "google-vertex-anthropic" | "openai" | "openai-codex" | "openai-compatible" | "openrouter" | "xai";
|
|
2633
2643
|
provider: {
|
|
2634
2644
|
id: string;
|
|
2635
2645
|
name: string;
|
|
@@ -3066,7 +3076,7 @@ declare const make$1: (input: {
|
|
|
3066
3076
|
terminal: Effect.Effect<Terminal, LLMStreamError, never>;
|
|
3067
3077
|
}, never, Service$17>;
|
|
3068
3078
|
declare namespace llm_d_exports {
|
|
3069
|
-
export { Input, llm_d_exports as LLM, Open, Request, RequestInput, ResolutionInput, Resolve, make, messageFailure, open, providerError, resolve$2 as resolve, run, runtimeOptions };
|
|
3079
|
+
export { Input, llm_d_exports as LLM, Open, OpenOptions, Request, RequestInput, ResolutionInput, Resolve, make, messageFailure, open, openWith, providerError, resolve$2 as resolve, run, runtimeOptions };
|
|
3070
3080
|
}
|
|
3071
3081
|
interface Input {
|
|
3072
3082
|
readonly sessionId: ID$1;
|
|
@@ -3082,6 +3092,13 @@ interface RequestInput extends Input {
|
|
|
3082
3092
|
readonly publisher: Publisher;
|
|
3083
3093
|
}
|
|
3084
3094
|
type Open = (input: Input, signal: AbortSignal) => Effect.Effect<AsyncIterable<Event.LLMMessageEvent>, ModelCatalogError | ModelNotFoundError | ProviderError>;
|
|
3095
|
+
interface OpenOptions {
|
|
3096
|
+
/**
|
|
3097
|
+
* `auth.json` holding OAuth credentials for providers that have no API key
|
|
3098
|
+
* environment variable. Omitted, aikit resolves its own default location.
|
|
3099
|
+
*/
|
|
3100
|
+
readonly authFile?: string;
|
|
3101
|
+
}
|
|
3085
3102
|
type Request = (input: RequestInput) => Effect.Effect<Terminal, ModelCatalogError | ModelNotFoundError | ProviderError | LLMStreamError>;
|
|
3086
3103
|
declare const runtimeOptions: (input: Input, model: Model$1.Info, signal: AbortSignal) => {
|
|
3087
3104
|
thinkingBudgets?: import("@codeworksh/aikit").ThinkingBudgets;
|
|
@@ -3113,6 +3130,7 @@ type Resolve = (input: ResolutionInput) => Effect.Effect<Model$1.Info, ModelCata
|
|
|
3113
3130
|
/** Resolve once before exchange setup; execution reuses this exact instance. */
|
|
3114
3131
|
declare const resolve$2: Resolve;
|
|
3115
3132
|
/** Start a provider stream using the model pinned by State. */
|
|
3133
|
+
declare const openWith: (options?: OpenOptions) => Open;
|
|
3116
3134
|
declare const open: Open;
|
|
3117
3135
|
/**
|
|
3118
3136
|
* Build a provider request from an opener. Tests use this with deterministic
|
|
@@ -3677,7 +3695,7 @@ declare const LLMStarted: Schema.Struct<{
|
|
|
3677
3695
|
};
|
|
3678
3696
|
readonly message: Schema.decodeTo<Schema.declare<{
|
|
3679
3697
|
role: "assistant";
|
|
3680
|
-
protocol: "anthropic" | "google" | "google-vertex" | "google-vertex-anthropic" | "openai" | "openai-codex" | "openai-compatible" | "openrouter" | "xai";
|
|
3698
|
+
protocol: "anthropic" | "github-copilot" | "google" | "google-vertex" | "google-vertex-anthropic" | "openai" | "openai-codex" | "openai-compatible" | "openrouter" | "xai";
|
|
3681
3699
|
provider: {
|
|
3682
3700
|
id: string;
|
|
3683
3701
|
name: string;
|
|
@@ -3977,7 +3995,7 @@ declare const LLMStarted: Schema.Struct<{
|
|
|
3977
3995
|
messageId: string;
|
|
3978
3996
|
}, {
|
|
3979
3997
|
role: "assistant";
|
|
3980
|
-
protocol: "anthropic" | "google" | "google-vertex" | "google-vertex-anthropic" | "openai" | "openai-codex" | "openai-compatible" | "openrouter" | "xai";
|
|
3998
|
+
protocol: "anthropic" | "github-copilot" | "google" | "google-vertex" | "google-vertex-anthropic" | "openai" | "openai-codex" | "openai-compatible" | "openrouter" | "xai";
|
|
3981
3999
|
provider: {
|
|
3982
4000
|
id: string;
|
|
3983
4001
|
name: string;
|
|
@@ -4295,7 +4313,7 @@ declare const LLMStarted: Schema.Struct<{
|
|
|
4295
4313
|
};
|
|
4296
4314
|
readonly message: Schema.decodeTo<Schema.declare<{
|
|
4297
4315
|
role: "assistant";
|
|
4298
|
-
protocol: "anthropic" | "google" | "google-vertex" | "google-vertex-anthropic" | "openai" | "openai-codex" | "openai-compatible" | "openrouter" | "xai";
|
|
4316
|
+
protocol: "anthropic" | "github-copilot" | "google" | "google-vertex" | "google-vertex-anthropic" | "openai" | "openai-codex" | "openai-compatible" | "openrouter" | "xai";
|
|
4299
4317
|
provider: {
|
|
4300
4318
|
id: string;
|
|
4301
4319
|
name: string;
|
|
@@ -4595,7 +4613,7 @@ declare const LLMStarted: Schema.Struct<{
|
|
|
4595
4613
|
messageId: string;
|
|
4596
4614
|
}, {
|
|
4597
4615
|
role: "assistant";
|
|
4598
|
-
protocol: "anthropic" | "google" | "google-vertex" | "google-vertex-anthropic" | "openai" | "openai-codex" | "openai-compatible" | "openrouter" | "xai";
|
|
4616
|
+
protocol: "anthropic" | "github-copilot" | "google" | "google-vertex" | "google-vertex-anthropic" | "openai" | "openai-codex" | "openai-compatible" | "openrouter" | "xai";
|
|
4599
4617
|
provider: {
|
|
4600
4618
|
id: string;
|
|
4601
4619
|
name: string;
|
|
@@ -5216,7 +5234,7 @@ declare const LLMEnded: Schema.Struct<{
|
|
|
5216
5234
|
readonly reason: Schema.Literals<readonly ["stop", "length", "toolUse"]>;
|
|
5217
5235
|
readonly message: Schema.decodeTo<Schema.declare<{
|
|
5218
5236
|
role: "assistant";
|
|
5219
|
-
protocol: "anthropic" | "google" | "google-vertex" | "google-vertex-anthropic" | "openai" | "openai-codex" | "openai-compatible" | "openrouter" | "xai";
|
|
5237
|
+
protocol: "anthropic" | "github-copilot" | "google" | "google-vertex" | "google-vertex-anthropic" | "openai" | "openai-codex" | "openai-compatible" | "openrouter" | "xai";
|
|
5220
5238
|
provider: {
|
|
5221
5239
|
id: string;
|
|
5222
5240
|
name: string;
|
|
@@ -5516,7 +5534,7 @@ declare const LLMEnded: Schema.Struct<{
|
|
|
5516
5534
|
messageId: string;
|
|
5517
5535
|
}, {
|
|
5518
5536
|
role: "assistant";
|
|
5519
|
-
protocol: "anthropic" | "google" | "google-vertex" | "google-vertex-anthropic" | "openai" | "openai-codex" | "openai-compatible" | "openrouter" | "xai";
|
|
5537
|
+
protocol: "anthropic" | "github-copilot" | "google" | "google-vertex" | "google-vertex-anthropic" | "openai" | "openai-codex" | "openai-compatible" | "openrouter" | "xai";
|
|
5520
5538
|
provider: {
|
|
5521
5539
|
id: string;
|
|
5522
5540
|
name: string;
|
|
@@ -5835,7 +5853,7 @@ declare const LLMEnded: Schema.Struct<{
|
|
|
5835
5853
|
readonly reason: Schema.Literals<readonly ["stop", "length", "toolUse"]>;
|
|
5836
5854
|
readonly message: Schema.decodeTo<Schema.declare<{
|
|
5837
5855
|
role: "assistant";
|
|
5838
|
-
protocol: "anthropic" | "google" | "google-vertex" | "google-vertex-anthropic" | "openai" | "openai-codex" | "openai-compatible" | "openrouter" | "xai";
|
|
5856
|
+
protocol: "anthropic" | "github-copilot" | "google" | "google-vertex" | "google-vertex-anthropic" | "openai" | "openai-codex" | "openai-compatible" | "openrouter" | "xai";
|
|
5839
5857
|
provider: {
|
|
5840
5858
|
id: string;
|
|
5841
5859
|
name: string;
|
|
@@ -6135,7 +6153,7 @@ declare const LLMEnded: Schema.Struct<{
|
|
|
6135
6153
|
messageId: string;
|
|
6136
6154
|
}, {
|
|
6137
6155
|
role: "assistant";
|
|
6138
|
-
protocol: "anthropic" | "google" | "google-vertex" | "google-vertex-anthropic" | "openai" | "openai-codex" | "openai-compatible" | "openrouter" | "xai";
|
|
6156
|
+
protocol: "anthropic" | "github-copilot" | "google" | "google-vertex" | "google-vertex-anthropic" | "openai" | "openai-codex" | "openai-compatible" | "openrouter" | "xai";
|
|
6139
6157
|
provider: {
|
|
6140
6158
|
id: string;
|
|
6141
6159
|
name: string;
|
|
@@ -6466,7 +6484,7 @@ declare const LLMFailed: Schema.Struct<{
|
|
|
6466
6484
|
readonly reason: Schema.Literals<readonly ["aborted", "error"]>;
|
|
6467
6485
|
readonly message: Schema.decodeTo<Schema.declare<{
|
|
6468
6486
|
role: "assistant";
|
|
6469
|
-
protocol: "anthropic" | "google" | "google-vertex" | "google-vertex-anthropic" | "openai" | "openai-codex" | "openai-compatible" | "openrouter" | "xai";
|
|
6487
|
+
protocol: "anthropic" | "github-copilot" | "google" | "google-vertex" | "google-vertex-anthropic" | "openai" | "openai-codex" | "openai-compatible" | "openrouter" | "xai";
|
|
6470
6488
|
provider: {
|
|
6471
6489
|
id: string;
|
|
6472
6490
|
name: string;
|
|
@@ -6766,7 +6784,7 @@ declare const LLMFailed: Schema.Struct<{
|
|
|
6766
6784
|
messageId: string;
|
|
6767
6785
|
}, {
|
|
6768
6786
|
role: "assistant";
|
|
6769
|
-
protocol: "anthropic" | "google" | "google-vertex" | "google-vertex-anthropic" | "openai" | "openai-codex" | "openai-compatible" | "openrouter" | "xai";
|
|
6787
|
+
protocol: "anthropic" | "github-copilot" | "google" | "google-vertex" | "google-vertex-anthropic" | "openai" | "openai-codex" | "openai-compatible" | "openrouter" | "xai";
|
|
6770
6788
|
provider: {
|
|
6771
6789
|
id: string;
|
|
6772
6790
|
name: string;
|
|
@@ -7085,7 +7103,7 @@ declare const LLMFailed: Schema.Struct<{
|
|
|
7085
7103
|
readonly reason: Schema.Literals<readonly ["aborted", "error"]>;
|
|
7086
7104
|
readonly message: Schema.decodeTo<Schema.declare<{
|
|
7087
7105
|
role: "assistant";
|
|
7088
|
-
protocol: "anthropic" | "google" | "google-vertex" | "google-vertex-anthropic" | "openai" | "openai-codex" | "openai-compatible" | "openrouter" | "xai";
|
|
7106
|
+
protocol: "anthropic" | "github-copilot" | "google" | "google-vertex" | "google-vertex-anthropic" | "openai" | "openai-codex" | "openai-compatible" | "openrouter" | "xai";
|
|
7089
7107
|
provider: {
|
|
7090
7108
|
id: string;
|
|
7091
7109
|
name: string;
|
|
@@ -7385,7 +7403,7 @@ declare const LLMFailed: Schema.Struct<{
|
|
|
7385
7403
|
messageId: string;
|
|
7386
7404
|
}, {
|
|
7387
7405
|
role: "assistant";
|
|
7388
|
-
protocol: "anthropic" | "google" | "google-vertex" | "google-vertex-anthropic" | "openai" | "openai-codex" | "openai-compatible" | "openrouter" | "xai";
|
|
7406
|
+
protocol: "anthropic" | "github-copilot" | "google" | "google-vertex" | "google-vertex-anthropic" | "openai" | "openai-codex" | "openai-compatible" | "openrouter" | "xai";
|
|
7389
7407
|
provider: {
|
|
7390
7408
|
id: string;
|
|
7391
7409
|
name: string;
|
|
@@ -9029,7 +9047,7 @@ declare const Definitions: readonly [Schema.Struct<{
|
|
|
9029
9047
|
};
|
|
9030
9048
|
readonly message: Schema.decodeTo<Schema.declare<{
|
|
9031
9049
|
role: "assistant";
|
|
9032
|
-
protocol: "anthropic" | "google" | "google-vertex" | "google-vertex-anthropic" | "openai" | "openai-codex" | "openai-compatible" | "openrouter" | "xai";
|
|
9050
|
+
protocol: "anthropic" | "github-copilot" | "google" | "google-vertex" | "google-vertex-anthropic" | "openai" | "openai-codex" | "openai-compatible" | "openrouter" | "xai";
|
|
9033
9051
|
provider: {
|
|
9034
9052
|
id: string;
|
|
9035
9053
|
name: string;
|
|
@@ -9329,7 +9347,7 @@ declare const Definitions: readonly [Schema.Struct<{
|
|
|
9329
9347
|
messageId: string;
|
|
9330
9348
|
}, {
|
|
9331
9349
|
role: "assistant";
|
|
9332
|
-
protocol: "anthropic" | "google" | "google-vertex" | "google-vertex-anthropic" | "openai" | "openai-codex" | "openai-compatible" | "openrouter" | "xai";
|
|
9350
|
+
protocol: "anthropic" | "github-copilot" | "google" | "google-vertex" | "google-vertex-anthropic" | "openai" | "openai-codex" | "openai-compatible" | "openrouter" | "xai";
|
|
9333
9351
|
provider: {
|
|
9334
9352
|
id: string;
|
|
9335
9353
|
name: string;
|
|
@@ -9647,7 +9665,7 @@ declare const Definitions: readonly [Schema.Struct<{
|
|
|
9647
9665
|
};
|
|
9648
9666
|
readonly message: Schema.decodeTo<Schema.declare<{
|
|
9649
9667
|
role: "assistant";
|
|
9650
|
-
protocol: "anthropic" | "google" | "google-vertex" | "google-vertex-anthropic" | "openai" | "openai-codex" | "openai-compatible" | "openrouter" | "xai";
|
|
9668
|
+
protocol: "anthropic" | "github-copilot" | "google" | "google-vertex" | "google-vertex-anthropic" | "openai" | "openai-codex" | "openai-compatible" | "openrouter" | "xai";
|
|
9651
9669
|
provider: {
|
|
9652
9670
|
id: string;
|
|
9653
9671
|
name: string;
|
|
@@ -9947,7 +9965,7 @@ declare const Definitions: readonly [Schema.Struct<{
|
|
|
9947
9965
|
messageId: string;
|
|
9948
9966
|
}, {
|
|
9949
9967
|
role: "assistant";
|
|
9950
|
-
protocol: "anthropic" | "google" | "google-vertex" | "google-vertex-anthropic" | "openai" | "openai-codex" | "openai-compatible" | "openrouter" | "xai";
|
|
9968
|
+
protocol: "anthropic" | "github-copilot" | "google" | "google-vertex" | "google-vertex-anthropic" | "openai" | "openai-codex" | "openai-compatible" | "openrouter" | "xai";
|
|
9951
9969
|
provider: {
|
|
9952
9970
|
id: string;
|
|
9953
9971
|
name: string;
|
|
@@ -10553,7 +10571,7 @@ declare const Definitions: readonly [Schema.Struct<{
|
|
|
10553
10571
|
readonly reason: Schema.Literals<readonly ["stop", "length", "toolUse"]>;
|
|
10554
10572
|
readonly message: Schema.decodeTo<Schema.declare<{
|
|
10555
10573
|
role: "assistant";
|
|
10556
|
-
protocol: "anthropic" | "google" | "google-vertex" | "google-vertex-anthropic" | "openai" | "openai-codex" | "openai-compatible" | "openrouter" | "xai";
|
|
10574
|
+
protocol: "anthropic" | "github-copilot" | "google" | "google-vertex" | "google-vertex-anthropic" | "openai" | "openai-codex" | "openai-compatible" | "openrouter" | "xai";
|
|
10557
10575
|
provider: {
|
|
10558
10576
|
id: string;
|
|
10559
10577
|
name: string;
|
|
@@ -10853,7 +10871,7 @@ declare const Definitions: readonly [Schema.Struct<{
|
|
|
10853
10871
|
messageId: string;
|
|
10854
10872
|
}, {
|
|
10855
10873
|
role: "assistant";
|
|
10856
|
-
protocol: "anthropic" | "google" | "google-vertex" | "google-vertex-anthropic" | "openai" | "openai-codex" | "openai-compatible" | "openrouter" | "xai";
|
|
10874
|
+
protocol: "anthropic" | "github-copilot" | "google" | "google-vertex" | "google-vertex-anthropic" | "openai" | "openai-codex" | "openai-compatible" | "openrouter" | "xai";
|
|
10857
10875
|
provider: {
|
|
10858
10876
|
id: string;
|
|
10859
10877
|
name: string;
|
|
@@ -11172,7 +11190,7 @@ declare const Definitions: readonly [Schema.Struct<{
|
|
|
11172
11190
|
readonly reason: Schema.Literals<readonly ["stop", "length", "toolUse"]>;
|
|
11173
11191
|
readonly message: Schema.decodeTo<Schema.declare<{
|
|
11174
11192
|
role: "assistant";
|
|
11175
|
-
protocol: "anthropic" | "google" | "google-vertex" | "google-vertex-anthropic" | "openai" | "openai-codex" | "openai-compatible" | "openrouter" | "xai";
|
|
11193
|
+
protocol: "anthropic" | "github-copilot" | "google" | "google-vertex" | "google-vertex-anthropic" | "openai" | "openai-codex" | "openai-compatible" | "openrouter" | "xai";
|
|
11176
11194
|
provider: {
|
|
11177
11195
|
id: string;
|
|
11178
11196
|
name: string;
|
|
@@ -11472,7 +11490,7 @@ declare const Definitions: readonly [Schema.Struct<{
|
|
|
11472
11490
|
messageId: string;
|
|
11473
11491
|
}, {
|
|
11474
11492
|
role: "assistant";
|
|
11475
|
-
protocol: "anthropic" | "google" | "google-vertex" | "google-vertex-anthropic" | "openai" | "openai-codex" | "openai-compatible" | "openrouter" | "xai";
|
|
11493
|
+
protocol: "anthropic" | "github-copilot" | "google" | "google-vertex" | "google-vertex-anthropic" | "openai" | "openai-codex" | "openai-compatible" | "openrouter" | "xai";
|
|
11476
11494
|
provider: {
|
|
11477
11495
|
id: string;
|
|
11478
11496
|
name: string;
|
|
@@ -11800,7 +11818,7 @@ declare const Definitions: readonly [Schema.Struct<{
|
|
|
11800
11818
|
readonly reason: Schema.Literals<readonly ["aborted", "error"]>;
|
|
11801
11819
|
readonly message: Schema.decodeTo<Schema.declare<{
|
|
11802
11820
|
role: "assistant";
|
|
11803
|
-
protocol: "anthropic" | "google" | "google-vertex" | "google-vertex-anthropic" | "openai" | "openai-codex" | "openai-compatible" | "openrouter" | "xai";
|
|
11821
|
+
protocol: "anthropic" | "github-copilot" | "google" | "google-vertex" | "google-vertex-anthropic" | "openai" | "openai-codex" | "openai-compatible" | "openrouter" | "xai";
|
|
11804
11822
|
provider: {
|
|
11805
11823
|
id: string;
|
|
11806
11824
|
name: string;
|
|
@@ -12100,7 +12118,7 @@ declare const Definitions: readonly [Schema.Struct<{
|
|
|
12100
12118
|
messageId: string;
|
|
12101
12119
|
}, {
|
|
12102
12120
|
role: "assistant";
|
|
12103
|
-
protocol: "anthropic" | "google" | "google-vertex" | "google-vertex-anthropic" | "openai" | "openai-codex" | "openai-compatible" | "openrouter" | "xai";
|
|
12121
|
+
protocol: "anthropic" | "github-copilot" | "google" | "google-vertex" | "google-vertex-anthropic" | "openai" | "openai-codex" | "openai-compatible" | "openrouter" | "xai";
|
|
12104
12122
|
provider: {
|
|
12105
12123
|
id: string;
|
|
12106
12124
|
name: string;
|
|
@@ -12419,7 +12437,7 @@ declare const Definitions: readonly [Schema.Struct<{
|
|
|
12419
12437
|
readonly reason: Schema.Literals<readonly ["aborted", "error"]>;
|
|
12420
12438
|
readonly message: Schema.decodeTo<Schema.declare<{
|
|
12421
12439
|
role: "assistant";
|
|
12422
|
-
protocol: "anthropic" | "google" | "google-vertex" | "google-vertex-anthropic" | "openai" | "openai-codex" | "openai-compatible" | "openrouter" | "xai";
|
|
12440
|
+
protocol: "anthropic" | "github-copilot" | "google" | "google-vertex" | "google-vertex-anthropic" | "openai" | "openai-codex" | "openai-compatible" | "openrouter" | "xai";
|
|
12423
12441
|
provider: {
|
|
12424
12442
|
id: string;
|
|
12425
12443
|
name: string;
|
|
@@ -12719,7 +12737,7 @@ declare const Definitions: readonly [Schema.Struct<{
|
|
|
12719
12737
|
messageId: string;
|
|
12720
12738
|
}, {
|
|
12721
12739
|
role: "assistant";
|
|
12722
|
-
protocol: "anthropic" | "google" | "google-vertex" | "google-vertex-anthropic" | "openai" | "openai-codex" | "openai-compatible" | "openrouter" | "xai";
|
|
12740
|
+
protocol: "anthropic" | "github-copilot" | "google" | "google-vertex" | "google-vertex-anthropic" | "openai" | "openai-codex" | "openai-compatible" | "openrouter" | "xai";
|
|
12723
12741
|
provider: {
|
|
12724
12742
|
id: string;
|
|
12725
12743
|
name: string;
|
|
@@ -14124,7 +14142,7 @@ declare const PublicDefinitions: readonly [Schema.Struct<{
|
|
|
14124
14142
|
};
|
|
14125
14143
|
readonly message: Schema.decodeTo<Schema.declare<{
|
|
14126
14144
|
role: "assistant";
|
|
14127
|
-
protocol: "anthropic" | "google" | "google-vertex" | "google-vertex-anthropic" | "openai" | "openai-codex" | "openai-compatible" | "openrouter" | "xai";
|
|
14145
|
+
protocol: "anthropic" | "github-copilot" | "google" | "google-vertex" | "google-vertex-anthropic" | "openai" | "openai-codex" | "openai-compatible" | "openrouter" | "xai";
|
|
14128
14146
|
provider: {
|
|
14129
14147
|
id: string;
|
|
14130
14148
|
name: string;
|
|
@@ -14424,7 +14442,7 @@ declare const PublicDefinitions: readonly [Schema.Struct<{
|
|
|
14424
14442
|
messageId: string;
|
|
14425
14443
|
}, {
|
|
14426
14444
|
role: "assistant";
|
|
14427
|
-
protocol: "anthropic" | "google" | "google-vertex" | "google-vertex-anthropic" | "openai" | "openai-codex" | "openai-compatible" | "openrouter" | "xai";
|
|
14445
|
+
protocol: "anthropic" | "github-copilot" | "google" | "google-vertex" | "google-vertex-anthropic" | "openai" | "openai-codex" | "openai-compatible" | "openrouter" | "xai";
|
|
14428
14446
|
provider: {
|
|
14429
14447
|
id: string;
|
|
14430
14448
|
name: string;
|
|
@@ -14742,7 +14760,7 @@ declare const PublicDefinitions: readonly [Schema.Struct<{
|
|
|
14742
14760
|
};
|
|
14743
14761
|
readonly message: Schema.decodeTo<Schema.declare<{
|
|
14744
14762
|
role: "assistant";
|
|
14745
|
-
protocol: "anthropic" | "google" | "google-vertex" | "google-vertex-anthropic" | "openai" | "openai-codex" | "openai-compatible" | "openrouter" | "xai";
|
|
14763
|
+
protocol: "anthropic" | "github-copilot" | "google" | "google-vertex" | "google-vertex-anthropic" | "openai" | "openai-codex" | "openai-compatible" | "openrouter" | "xai";
|
|
14746
14764
|
provider: {
|
|
14747
14765
|
id: string;
|
|
14748
14766
|
name: string;
|
|
@@ -15042,7 +15060,7 @@ declare const PublicDefinitions: readonly [Schema.Struct<{
|
|
|
15042
15060
|
messageId: string;
|
|
15043
15061
|
}, {
|
|
15044
15062
|
role: "assistant";
|
|
15045
|
-
protocol: "anthropic" | "google" | "google-vertex" | "google-vertex-anthropic" | "openai" | "openai-codex" | "openai-compatible" | "openrouter" | "xai";
|
|
15063
|
+
protocol: "anthropic" | "github-copilot" | "google" | "google-vertex" | "google-vertex-anthropic" | "openai" | "openai-codex" | "openai-compatible" | "openrouter" | "xai";
|
|
15046
15064
|
provider: {
|
|
15047
15065
|
id: string;
|
|
15048
15066
|
name: string;
|
|
@@ -15648,7 +15666,7 @@ declare const PublicDefinitions: readonly [Schema.Struct<{
|
|
|
15648
15666
|
readonly reason: Schema.Literals<readonly ["stop", "length", "toolUse"]>;
|
|
15649
15667
|
readonly message: Schema.decodeTo<Schema.declare<{
|
|
15650
15668
|
role: "assistant";
|
|
15651
|
-
protocol: "anthropic" | "google" | "google-vertex" | "google-vertex-anthropic" | "openai" | "openai-codex" | "openai-compatible" | "openrouter" | "xai";
|
|
15669
|
+
protocol: "anthropic" | "github-copilot" | "google" | "google-vertex" | "google-vertex-anthropic" | "openai" | "openai-codex" | "openai-compatible" | "openrouter" | "xai";
|
|
15652
15670
|
provider: {
|
|
15653
15671
|
id: string;
|
|
15654
15672
|
name: string;
|
|
@@ -15948,7 +15966,7 @@ declare const PublicDefinitions: readonly [Schema.Struct<{
|
|
|
15948
15966
|
messageId: string;
|
|
15949
15967
|
}, {
|
|
15950
15968
|
role: "assistant";
|
|
15951
|
-
protocol: "anthropic" | "google" | "google-vertex" | "google-vertex-anthropic" | "openai" | "openai-codex" | "openai-compatible" | "openrouter" | "xai";
|
|
15969
|
+
protocol: "anthropic" | "github-copilot" | "google" | "google-vertex" | "google-vertex-anthropic" | "openai" | "openai-codex" | "openai-compatible" | "openrouter" | "xai";
|
|
15952
15970
|
provider: {
|
|
15953
15971
|
id: string;
|
|
15954
15972
|
name: string;
|
|
@@ -16267,7 +16285,7 @@ declare const PublicDefinitions: readonly [Schema.Struct<{
|
|
|
16267
16285
|
readonly reason: Schema.Literals<readonly ["stop", "length", "toolUse"]>;
|
|
16268
16286
|
readonly message: Schema.decodeTo<Schema.declare<{
|
|
16269
16287
|
role: "assistant";
|
|
16270
|
-
protocol: "anthropic" | "google" | "google-vertex" | "google-vertex-anthropic" | "openai" | "openai-codex" | "openai-compatible" | "openrouter" | "xai";
|
|
16288
|
+
protocol: "anthropic" | "github-copilot" | "google" | "google-vertex" | "google-vertex-anthropic" | "openai" | "openai-codex" | "openai-compatible" | "openrouter" | "xai";
|
|
16271
16289
|
provider: {
|
|
16272
16290
|
id: string;
|
|
16273
16291
|
name: string;
|
|
@@ -16567,7 +16585,7 @@ declare const PublicDefinitions: readonly [Schema.Struct<{
|
|
|
16567
16585
|
messageId: string;
|
|
16568
16586
|
}, {
|
|
16569
16587
|
role: "assistant";
|
|
16570
|
-
protocol: "anthropic" | "google" | "google-vertex" | "google-vertex-anthropic" | "openai" | "openai-codex" | "openai-compatible" | "openrouter" | "xai";
|
|
16588
|
+
protocol: "anthropic" | "github-copilot" | "google" | "google-vertex" | "google-vertex-anthropic" | "openai" | "openai-codex" | "openai-compatible" | "openrouter" | "xai";
|
|
16571
16589
|
provider: {
|
|
16572
16590
|
id: string;
|
|
16573
16591
|
name: string;
|
|
@@ -16895,7 +16913,7 @@ declare const PublicDefinitions: readonly [Schema.Struct<{
|
|
|
16895
16913
|
readonly reason: Schema.Literals<readonly ["aborted", "error"]>;
|
|
16896
16914
|
readonly message: Schema.decodeTo<Schema.declare<{
|
|
16897
16915
|
role: "assistant";
|
|
16898
|
-
protocol: "anthropic" | "google" | "google-vertex" | "google-vertex-anthropic" | "openai" | "openai-codex" | "openai-compatible" | "openrouter" | "xai";
|
|
16916
|
+
protocol: "anthropic" | "github-copilot" | "google" | "google-vertex" | "google-vertex-anthropic" | "openai" | "openai-codex" | "openai-compatible" | "openrouter" | "xai";
|
|
16899
16917
|
provider: {
|
|
16900
16918
|
id: string;
|
|
16901
16919
|
name: string;
|
|
@@ -17195,7 +17213,7 @@ declare const PublicDefinitions: readonly [Schema.Struct<{
|
|
|
17195
17213
|
messageId: string;
|
|
17196
17214
|
}, {
|
|
17197
17215
|
role: "assistant";
|
|
17198
|
-
protocol: "anthropic" | "google" | "google-vertex" | "google-vertex-anthropic" | "openai" | "openai-codex" | "openai-compatible" | "openrouter" | "xai";
|
|
17216
|
+
protocol: "anthropic" | "github-copilot" | "google" | "google-vertex" | "google-vertex-anthropic" | "openai" | "openai-codex" | "openai-compatible" | "openrouter" | "xai";
|
|
17199
17217
|
provider: {
|
|
17200
17218
|
id: string;
|
|
17201
17219
|
name: string;
|
|
@@ -17514,7 +17532,7 @@ declare const PublicDefinitions: readonly [Schema.Struct<{
|
|
|
17514
17532
|
readonly reason: Schema.Literals<readonly ["aborted", "error"]>;
|
|
17515
17533
|
readonly message: Schema.decodeTo<Schema.declare<{
|
|
17516
17534
|
role: "assistant";
|
|
17517
|
-
protocol: "anthropic" | "google" | "google-vertex" | "google-vertex-anthropic" | "openai" | "openai-codex" | "openai-compatible" | "openrouter" | "xai";
|
|
17535
|
+
protocol: "anthropic" | "github-copilot" | "google" | "google-vertex" | "google-vertex-anthropic" | "openai" | "openai-codex" | "openai-compatible" | "openrouter" | "xai";
|
|
17518
17536
|
provider: {
|
|
17519
17537
|
id: string;
|
|
17520
17538
|
name: string;
|
|
@@ -17814,7 +17832,7 @@ declare const PublicDefinitions: readonly [Schema.Struct<{
|
|
|
17814
17832
|
messageId: string;
|
|
17815
17833
|
}, {
|
|
17816
17834
|
role: "assistant";
|
|
17817
|
-
protocol: "anthropic" | "google" | "google-vertex" | "google-vertex-anthropic" | "openai" | "openai-codex" | "openai-compatible" | "openrouter" | "xai";
|
|
17835
|
+
protocol: "anthropic" | "github-copilot" | "google" | "google-vertex" | "google-vertex-anthropic" | "openai" | "openai-codex" | "openai-compatible" | "openrouter" | "xai";
|
|
17818
17836
|
provider: {
|
|
17819
17837
|
id: string;
|
|
17820
17838
|
name: string;
|
|
@@ -18982,7 +19000,7 @@ declare const DurableDefinitions: readonly [Schema.Struct<{
|
|
|
18982
19000
|
};
|
|
18983
19001
|
readonly message: Schema.decodeTo<Schema.declare<{
|
|
18984
19002
|
role: "assistant";
|
|
18985
|
-
protocol: "anthropic" | "google" | "google-vertex" | "google-vertex-anthropic" | "openai" | "openai-codex" | "openai-compatible" | "openrouter" | "xai";
|
|
19003
|
+
protocol: "anthropic" | "github-copilot" | "google" | "google-vertex" | "google-vertex-anthropic" | "openai" | "openai-codex" | "openai-compatible" | "openrouter" | "xai";
|
|
18986
19004
|
provider: {
|
|
18987
19005
|
id: string;
|
|
18988
19006
|
name: string;
|
|
@@ -19282,7 +19300,7 @@ declare const DurableDefinitions: readonly [Schema.Struct<{
|
|
|
19282
19300
|
messageId: string;
|
|
19283
19301
|
}, {
|
|
19284
19302
|
role: "assistant";
|
|
19285
|
-
protocol: "anthropic" | "google" | "google-vertex" | "google-vertex-anthropic" | "openai" | "openai-codex" | "openai-compatible" | "openrouter" | "xai";
|
|
19303
|
+
protocol: "anthropic" | "github-copilot" | "google" | "google-vertex" | "google-vertex-anthropic" | "openai" | "openai-codex" | "openai-compatible" | "openrouter" | "xai";
|
|
19286
19304
|
provider: {
|
|
19287
19305
|
id: string;
|
|
19288
19306
|
name: string;
|
|
@@ -19600,7 +19618,7 @@ declare const DurableDefinitions: readonly [Schema.Struct<{
|
|
|
19600
19618
|
};
|
|
19601
19619
|
readonly message: Schema.decodeTo<Schema.declare<{
|
|
19602
19620
|
role: "assistant";
|
|
19603
|
-
protocol: "anthropic" | "google" | "google-vertex" | "google-vertex-anthropic" | "openai" | "openai-codex" | "openai-compatible" | "openrouter" | "xai";
|
|
19621
|
+
protocol: "anthropic" | "github-copilot" | "google" | "google-vertex" | "google-vertex-anthropic" | "openai" | "openai-codex" | "openai-compatible" | "openrouter" | "xai";
|
|
19604
19622
|
provider: {
|
|
19605
19623
|
id: string;
|
|
19606
19624
|
name: string;
|
|
@@ -19900,7 +19918,7 @@ declare const DurableDefinitions: readonly [Schema.Struct<{
|
|
|
19900
19918
|
messageId: string;
|
|
19901
19919
|
}, {
|
|
19902
19920
|
role: "assistant";
|
|
19903
|
-
protocol: "anthropic" | "google" | "google-vertex" | "google-vertex-anthropic" | "openai" | "openai-codex" | "openai-compatible" | "openrouter" | "xai";
|
|
19921
|
+
protocol: "anthropic" | "github-copilot" | "google" | "google-vertex" | "google-vertex-anthropic" | "openai" | "openai-codex" | "openai-compatible" | "openrouter" | "xai";
|
|
19904
19922
|
provider: {
|
|
19905
19923
|
id: string;
|
|
19906
19924
|
name: string;
|
|
@@ -20228,7 +20246,7 @@ declare const DurableDefinitions: readonly [Schema.Struct<{
|
|
|
20228
20246
|
readonly reason: Schema.Literals<readonly ["stop", "length", "toolUse"]>;
|
|
20229
20247
|
readonly message: Schema.decodeTo<Schema.declare<{
|
|
20230
20248
|
role: "assistant";
|
|
20231
|
-
protocol: "anthropic" | "google" | "google-vertex" | "google-vertex-anthropic" | "openai" | "openai-codex" | "openai-compatible" | "openrouter" | "xai";
|
|
20249
|
+
protocol: "anthropic" | "github-copilot" | "google" | "google-vertex" | "google-vertex-anthropic" | "openai" | "openai-codex" | "openai-compatible" | "openrouter" | "xai";
|
|
20232
20250
|
provider: {
|
|
20233
20251
|
id: string;
|
|
20234
20252
|
name: string;
|
|
@@ -20528,7 +20546,7 @@ declare const DurableDefinitions: readonly [Schema.Struct<{
|
|
|
20528
20546
|
messageId: string;
|
|
20529
20547
|
}, {
|
|
20530
20548
|
role: "assistant";
|
|
20531
|
-
protocol: "anthropic" | "google" | "google-vertex" | "google-vertex-anthropic" | "openai" | "openai-codex" | "openai-compatible" | "openrouter" | "xai";
|
|
20549
|
+
protocol: "anthropic" | "github-copilot" | "google" | "google-vertex" | "google-vertex-anthropic" | "openai" | "openai-codex" | "openai-compatible" | "openrouter" | "xai";
|
|
20532
20550
|
provider: {
|
|
20533
20551
|
id: string;
|
|
20534
20552
|
name: string;
|
|
@@ -20847,7 +20865,7 @@ declare const DurableDefinitions: readonly [Schema.Struct<{
|
|
|
20847
20865
|
readonly reason: Schema.Literals<readonly ["stop", "length", "toolUse"]>;
|
|
20848
20866
|
readonly message: Schema.decodeTo<Schema.declare<{
|
|
20849
20867
|
role: "assistant";
|
|
20850
|
-
protocol: "anthropic" | "google" | "google-vertex" | "google-vertex-anthropic" | "openai" | "openai-codex" | "openai-compatible" | "openrouter" | "xai";
|
|
20868
|
+
protocol: "anthropic" | "github-copilot" | "google" | "google-vertex" | "google-vertex-anthropic" | "openai" | "openai-codex" | "openai-compatible" | "openrouter" | "xai";
|
|
20851
20869
|
provider: {
|
|
20852
20870
|
id: string;
|
|
20853
20871
|
name: string;
|
|
@@ -21147,7 +21165,7 @@ declare const DurableDefinitions: readonly [Schema.Struct<{
|
|
|
21147
21165
|
messageId: string;
|
|
21148
21166
|
}, {
|
|
21149
21167
|
role: "assistant";
|
|
21150
|
-
protocol: "anthropic" | "google" | "google-vertex" | "google-vertex-anthropic" | "openai" | "openai-codex" | "openai-compatible" | "openrouter" | "xai";
|
|
21168
|
+
protocol: "anthropic" | "github-copilot" | "google" | "google-vertex" | "google-vertex-anthropic" | "openai" | "openai-codex" | "openai-compatible" | "openrouter" | "xai";
|
|
21151
21169
|
provider: {
|
|
21152
21170
|
id: string;
|
|
21153
21171
|
name: string;
|
|
@@ -21475,7 +21493,7 @@ declare const DurableDefinitions: readonly [Schema.Struct<{
|
|
|
21475
21493
|
readonly reason: Schema.Literals<readonly ["aborted", "error"]>;
|
|
21476
21494
|
readonly message: Schema.decodeTo<Schema.declare<{
|
|
21477
21495
|
role: "assistant";
|
|
21478
|
-
protocol: "anthropic" | "google" | "google-vertex" | "google-vertex-anthropic" | "openai" | "openai-codex" | "openai-compatible" | "openrouter" | "xai";
|
|
21496
|
+
protocol: "anthropic" | "github-copilot" | "google" | "google-vertex" | "google-vertex-anthropic" | "openai" | "openai-codex" | "openai-compatible" | "openrouter" | "xai";
|
|
21479
21497
|
provider: {
|
|
21480
21498
|
id: string;
|
|
21481
21499
|
name: string;
|
|
@@ -21775,7 +21793,7 @@ declare const DurableDefinitions: readonly [Schema.Struct<{
|
|
|
21775
21793
|
messageId: string;
|
|
21776
21794
|
}, {
|
|
21777
21795
|
role: "assistant";
|
|
21778
|
-
protocol: "anthropic" | "google" | "google-vertex" | "google-vertex-anthropic" | "openai" | "openai-codex" | "openai-compatible" | "openrouter" | "xai";
|
|
21796
|
+
protocol: "anthropic" | "github-copilot" | "google" | "google-vertex" | "google-vertex-anthropic" | "openai" | "openai-codex" | "openai-compatible" | "openrouter" | "xai";
|
|
21779
21797
|
provider: {
|
|
21780
21798
|
id: string;
|
|
21781
21799
|
name: string;
|
|
@@ -22094,7 +22112,7 @@ declare const DurableDefinitions: readonly [Schema.Struct<{
|
|
|
22094
22112
|
readonly reason: Schema.Literals<readonly ["aborted", "error"]>;
|
|
22095
22113
|
readonly message: Schema.decodeTo<Schema.declare<{
|
|
22096
22114
|
role: "assistant";
|
|
22097
|
-
protocol: "anthropic" | "google" | "google-vertex" | "google-vertex-anthropic" | "openai" | "openai-codex" | "openai-compatible" | "openrouter" | "xai";
|
|
22115
|
+
protocol: "anthropic" | "github-copilot" | "google" | "google-vertex" | "google-vertex-anthropic" | "openai" | "openai-codex" | "openai-compatible" | "openrouter" | "xai";
|
|
22098
22116
|
provider: {
|
|
22099
22117
|
id: string;
|
|
22100
22118
|
name: string;
|
|
@@ -22394,7 +22412,7 @@ declare const DurableDefinitions: readonly [Schema.Struct<{
|
|
|
22394
22412
|
messageId: string;
|
|
22395
22413
|
}, {
|
|
22396
22414
|
role: "assistant";
|
|
22397
|
-
protocol: "anthropic" | "google" | "google-vertex" | "google-vertex-anthropic" | "openai" | "openai-codex" | "openai-compatible" | "openrouter" | "xai";
|
|
22415
|
+
protocol: "anthropic" | "github-copilot" | "google" | "google-vertex" | "google-vertex-anthropic" | "openai" | "openai-codex" | "openai-compatible" | "openrouter" | "xai";
|
|
22398
22416
|
provider: {
|
|
22399
22417
|
id: string;
|
|
22400
22418
|
name: string;
|