@codeworksh/harness 0.0.1-dev.20260922135939 → 0.0.1-dev.20260923035712

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/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;
@@ -2296,8 +2306,23 @@ type AikitPart = Message.AssistantMessage["parts"][number] | Message.UserMessage
2296
2306
  declare const encodePart: (part: AikitPart) => Effect.Effect<AppendPart, ContextEncodeError, never>;
2297
2307
  declare const validateUserMessage: (value: unknown, entryId: string, type: string) => Effect.Effect<Message.UserMessage, ContextDecodeError>;
2298
2308
  declare const encodeMessage: (message: {
2309
+ messageId: string;
2310
+ role: "user";
2311
+ time: {
2312
+ created: number;
2313
+ };
2314
+ parts: ({
2315
+ type: "text";
2316
+ text: string;
2317
+ textSignature?: string;
2318
+ } | {
2319
+ type: "image";
2320
+ data: string;
2321
+ mimeType: string;
2322
+ })[];
2323
+ } | {
2299
2324
  role: "assistant";
2300
- protocol: "anthropic" | "google" | "google-vertex" | "google-vertex-anthropic" | "openai" | "openai-codex" | "openai-compatible" | "openrouter" | "xai";
2325
+ protocol: "anthropic" | "github-copilot" | "google" | "google-vertex" | "google-vertex-anthropic" | "openai" | "openai-codex" | "openai-compatible" | "openrouter" | "xai";
2301
2326
  provider: {
2302
2327
  id: string;
2303
2328
  name: string;
@@ -2443,19 +2468,14 @@ declare const encodeMessage: (message: {
2443
2468
  type: "image";
2444
2469
  data: string;
2445
2470
  mimeType: string;
2446
- } | {
2447
- type: "thinking";
2448
- thinking: string;
2449
- thinkingSignature?: string;
2450
- redacted?: boolean;
2451
2471
  } | {
2452
2472
  addedToolNames?: string[];
2453
2473
  arguments: Record<string, any>;
2454
2474
  callID: string;
2455
2475
  name: string;
2456
2476
  namespace?: string;
2457
- partial?: {
2458
- content?: ({
2477
+ result: {
2478
+ content: ({
2459
2479
  type: "text";
2460
2480
  text: string;
2461
2481
  textSignature?: string;
@@ -2465,8 +2485,9 @@ declare const encodeMessage: (message: {
2465
2485
  mimeType: string;
2466
2486
  })[];
2467
2487
  details?: any;
2488
+ isError: false;
2468
2489
  };
2469
- status: "running";
2490
+ status: "completed";
2470
2491
  thoughtSignature?: string;
2471
2492
  time: {
2472
2493
  start: number;
@@ -2490,9 +2511,9 @@ declare const encodeMessage: (message: {
2490
2511
  mimeType: string;
2491
2512
  })[];
2492
2513
  details?: any;
2493
- isError: false;
2514
+ isError: true;
2494
2515
  };
2495
- status: "completed";
2516
+ status: "error";
2496
2517
  thoughtSignature?: string;
2497
2518
  time: {
2498
2519
  start: number;
@@ -2518,7 +2539,7 @@ declare const encodeMessage: (message: {
2518
2539
  details?: any;
2519
2540
  isError: true;
2520
2541
  };
2521
- status: "error";
2542
+ status: "skipped";
2522
2543
  thoughtSignature?: string;
2523
2544
  time: {
2524
2545
  start: number;
@@ -2544,21 +2565,26 @@ declare const encodeMessage: (message: {
2544
2565
  details?: any;
2545
2566
  isError: true;
2546
2567
  };
2547
- status: "skipped";
2568
+ status: "aborted";
2548
2569
  thoughtSignature?: string;
2549
2570
  time: {
2550
2571
  start: number;
2551
2572
  end: number;
2552
2573
  };
2553
2574
  type: "toolCall";
2575
+ } | {
2576
+ type: "thinking";
2577
+ thinking: string;
2578
+ thinkingSignature?: string;
2579
+ redacted?: boolean;
2554
2580
  } | {
2555
2581
  addedToolNames?: string[];
2556
2582
  arguments: Record<string, any>;
2557
2583
  callID: string;
2558
2584
  name: string;
2559
2585
  namespace?: string;
2560
- result: {
2561
- content: ({
2586
+ partial?: {
2587
+ content?: ({
2562
2588
  type: "text";
2563
2589
  text: string;
2564
2590
  textSignature?: string;
@@ -2568,9 +2594,8 @@ declare const encodeMessage: (message: {
2568
2594
  mimeType: string;
2569
2595
  })[];
2570
2596
  details?: any;
2571
- isError: true;
2572
2597
  };
2573
- status: "aborted";
2598
+ status: "running";
2574
2599
  thoughtSignature?: string;
2575
2600
  time: {
2576
2601
  start: number;
@@ -2595,7 +2620,8 @@ declare const encodeMessage: (message: {
2595
2620
  responseId?: string;
2596
2621
  responseModel?: string;
2597
2622
  messageId: string;
2598
- } | {
2623
+ }) => Effect.Effect<EncodedMessage, ContextEncodeError, never>;
2624
+ declare const decodeSyntheticMessage: (hydrated: HydratedEntry) => Effect.Effect<{
2599
2625
  messageId: string;
2600
2626
  role: "user";
2601
2627
  time: {
@@ -2610,8 +2636,8 @@ declare const encodeMessage: (message: {
2610
2636
  data: string;
2611
2637
  mimeType: string;
2612
2638
  })[];
2613
- }) => Effect.Effect<EncodedMessage, ContextEncodeError, never>;
2614
- declare const decodeSyntheticMessage: (hydrated: HydratedEntry) => Effect.Effect<{
2639
+ }, ContextDecodeError, never>;
2640
+ declare const decodeMessage: (hydrated: HydratedEntry) => Effect.Effect<{
2615
2641
  messageId: string;
2616
2642
  role: "user";
2617
2643
  time: {
@@ -2626,10 +2652,9 @@ declare const decodeSyntheticMessage: (hydrated: HydratedEntry) => Effect.Effect
2626
2652
  data: string;
2627
2653
  mimeType: string;
2628
2654
  })[];
2629
- }, ContextDecodeError, never>;
2630
- declare const decodeMessage: (hydrated: HydratedEntry) => Effect.Effect<{
2655
+ } | {
2631
2656
  role: "assistant";
2632
- protocol: "anthropic" | "google" | "google-vertex" | "google-vertex-anthropic" | "openai" | "openai-codex" | "openai-compatible" | "openrouter" | "xai";
2657
+ protocol: "anthropic" | "github-copilot" | "google" | "google-vertex" | "google-vertex-anthropic" | "openai" | "openai-codex" | "openai-compatible" | "openrouter" | "xai";
2633
2658
  provider: {
2634
2659
  id: string;
2635
2660
  name: string;
@@ -2775,19 +2800,14 @@ declare const decodeMessage: (hydrated: HydratedEntry) => Effect.Effect<{
2775
2800
  type: "image";
2776
2801
  data: string;
2777
2802
  mimeType: string;
2778
- } | {
2779
- type: "thinking";
2780
- thinking: string;
2781
- thinkingSignature?: string;
2782
- redacted?: boolean;
2783
2803
  } | {
2784
2804
  addedToolNames?: string[];
2785
2805
  arguments: Record<string, any>;
2786
2806
  callID: string;
2787
2807
  name: string;
2788
2808
  namespace?: string;
2789
- partial?: {
2790
- content?: ({
2809
+ result: {
2810
+ content: ({
2791
2811
  type: "text";
2792
2812
  text: string;
2793
2813
  textSignature?: string;
@@ -2797,8 +2817,9 @@ declare const decodeMessage: (hydrated: HydratedEntry) => Effect.Effect<{
2797
2817
  mimeType: string;
2798
2818
  })[];
2799
2819
  details?: any;
2820
+ isError: false;
2800
2821
  };
2801
- status: "running";
2822
+ status: "completed";
2802
2823
  thoughtSignature?: string;
2803
2824
  time: {
2804
2825
  start: number;
@@ -2822,9 +2843,9 @@ declare const decodeMessage: (hydrated: HydratedEntry) => Effect.Effect<{
2822
2843
  mimeType: string;
2823
2844
  })[];
2824
2845
  details?: any;
2825
- isError: false;
2846
+ isError: true;
2826
2847
  };
2827
- status: "completed";
2848
+ status: "error";
2828
2849
  thoughtSignature?: string;
2829
2850
  time: {
2830
2851
  start: number;
@@ -2850,7 +2871,7 @@ declare const decodeMessage: (hydrated: HydratedEntry) => Effect.Effect<{
2850
2871
  details?: any;
2851
2872
  isError: true;
2852
2873
  };
2853
- status: "error";
2874
+ status: "skipped";
2854
2875
  thoughtSignature?: string;
2855
2876
  time: {
2856
2877
  start: number;
@@ -2876,21 +2897,26 @@ declare const decodeMessage: (hydrated: HydratedEntry) => Effect.Effect<{
2876
2897
  details?: any;
2877
2898
  isError: true;
2878
2899
  };
2879
- status: "skipped";
2900
+ status: "aborted";
2880
2901
  thoughtSignature?: string;
2881
2902
  time: {
2882
2903
  start: number;
2883
2904
  end: number;
2884
2905
  };
2885
2906
  type: "toolCall";
2907
+ } | {
2908
+ type: "thinking";
2909
+ thinking: string;
2910
+ thinkingSignature?: string;
2911
+ redacted?: boolean;
2886
2912
  } | {
2887
2913
  addedToolNames?: string[];
2888
2914
  arguments: Record<string, any>;
2889
2915
  callID: string;
2890
2916
  name: string;
2891
2917
  namespace?: string;
2892
- result: {
2893
- content: ({
2918
+ partial?: {
2919
+ content?: ({
2894
2920
  type: "text";
2895
2921
  text: string;
2896
2922
  textSignature?: string;
@@ -2900,9 +2926,8 @@ declare const decodeMessage: (hydrated: HydratedEntry) => Effect.Effect<{
2900
2926
  mimeType: string;
2901
2927
  })[];
2902
2928
  details?: any;
2903
- isError: true;
2904
2929
  };
2905
- status: "aborted";
2930
+ status: "running";
2906
2931
  thoughtSignature?: string;
2907
2932
  time: {
2908
2933
  start: number;
@@ -2927,21 +2952,6 @@ declare const decodeMessage: (hydrated: HydratedEntry) => Effect.Effect<{
2927
2952
  responseId?: string;
2928
2953
  responseModel?: string;
2929
2954
  messageId: string;
2930
- } | {
2931
- messageId: string;
2932
- role: "user";
2933
- time: {
2934
- created: number;
2935
- };
2936
- parts: ({
2937
- type: "text";
2938
- text: string;
2939
- textSignature?: string;
2940
- } | {
2941
- type: "image";
2942
- data: string;
2943
- mimeType: string;
2944
- })[];
2945
2955
  }, ContextDecodeError, never>;
2946
2956
  declare namespace context_d_exports {
2947
2957
  export { context_d_exports as Context, assemble_d_exports as ContextAssembly, codec_d_exports as ContextCodec, ContextDecodeError, ContextEncodeError, ContextInvariantError, ContextReadError, EncodedMessage, Interface$1 as Interface, Service$2 as Service, Snapshot, assemblePath, decodeMessage, decodeSyntheticMessage, encodeMessage, encodePart, layer$2 as layer, validateUserMessage };
@@ -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;