@opencode/ai 2.3.1 → 2.4.0

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.
Files changed (87) hide show
  1. package/dist/decision.d.ts +4 -3
  2. package/dist/decision.js +3 -2
  3. package/dist/embedding.d.ts +4 -3
  4. package/dist/embedding.js +3 -2
  5. package/dist/experimental/cloudflare-run-extraction.js +1 -2
  6. package/dist/experimental/realtime.d.ts +12 -43
  7. package/dist/experimental/realtime.js +14 -30
  8. package/dist/experimental.d.ts +1 -1
  9. package/dist/image.js +1 -1
  10. package/dist/media-model.d.ts +5 -4
  11. package/dist/media-model.js +5 -4
  12. package/dist/media.js +4 -17
  13. package/dist/protocols/anthropic-messages.js +7 -11
  14. package/dist/protocols/bedrock-converse.js +6 -6
  15. package/dist/protocols/cohere-chat.js +3 -3
  16. package/dist/protocols/gemini.js +6 -10
  17. package/dist/protocols/google-interactions.d.ts +299 -6
  18. package/dist/protocols/google-interactions.js +251 -33
  19. package/dist/protocols/meta-messages.js +3 -3
  20. package/dist/protocols/minimax-video.js +7 -1
  21. package/dist/protocols/mistral-chat.d.ts +1 -0
  22. package/dist/protocols/mistral-chat.js +3 -3
  23. package/dist/protocols/open-responses-continuation.js +2 -0
  24. package/dist/protocols/open-responses.d.ts +162 -114
  25. package/dist/protocols/open-responses.js +12 -7
  26. package/dist/protocols/openai-chat.d.ts +1 -0
  27. package/dist/protocols/openai-chat.js +6 -5
  28. package/dist/protocols/openai-responses.js +2 -1
  29. package/dist/protocols/shared.d.ts +12 -1
  30. package/dist/protocols/shared.js +56 -9
  31. package/dist/protocols/utils/gateway-protocol.js +1 -0
  32. package/dist/protocols/utils/gemini-generate-content.d.ts +4 -0
  33. package/dist/protocols/utils/gemini-generate-content.js +5 -1
  34. package/dist/protocols/utils/responses-compaction.js +10 -4
  35. package/dist/protocols/xai-responses.d.ts +2 -1
  36. package/dist/protocols/xai-responses.js +4 -1
  37. package/dist/provider-error.js +3 -1
  38. package/dist/providers/alibaba.js +2 -3
  39. package/dist/providers/assemblyai.d.ts +2 -4
  40. package/dist/providers/azure.js +5 -11
  41. package/dist/providers/baseten.js +2 -3
  42. package/dist/providers/byteplus.d.ts +2 -4
  43. package/dist/providers/cartesia.d.ts +2 -4
  44. package/dist/providers/cloudflare-ai-gateway.js +3 -3
  45. package/dist/providers/cloudflare-workers-ai.js +2 -3
  46. package/dist/providers/cohere.js +2 -3
  47. package/dist/providers/deepgram.d.ts +2 -4
  48. package/dist/providers/deepinfra.js +2 -3
  49. package/dist/providers/digitalocean.js +3 -5
  50. package/dist/providers/elevenlabs.d.ts +2 -4
  51. package/dist/providers/fireworks.js +2 -3
  52. package/dist/providers/google-vertex-interactions.d.ts +12 -3
  53. package/dist/providers/google-vertex-interactions.js +1 -2
  54. package/dist/providers/google-vertex.js +6 -2
  55. package/dist/providers/google.d.ts +20 -3
  56. package/dist/providers/google.js +7 -4
  57. package/dist/providers/openai-compatible.js +3 -5
  58. package/dist/providers/openai.js +4 -10
  59. package/dist/providers/opencode.d.ts +2 -4
  60. package/dist/providers/opencode.js +2 -3
  61. package/dist/providers/openrouter.js +3 -5
  62. package/dist/providers/typesafe-ai.d.ts +2 -4
  63. package/dist/providers/typesafe-ai.js +2 -3
  64. package/dist/providers/vercel-ai-gateway.js +3 -5
  65. package/dist/providers/volcengine.d.ts +2 -4
  66. package/dist/route/decision.d.ts +4 -7
  67. package/dist/route/decision.js +8 -10
  68. package/dist/route/embedding.d.ts +4 -7
  69. package/dist/route/embedding.js +4 -7
  70. package/dist/route/executor-service.d.ts +20 -3
  71. package/dist/route/executor-service.js +72 -2
  72. package/dist/route/executor.d.ts +5 -5
  73. package/dist/route/executor.js +68 -73
  74. package/dist/route/media-protocol.d.ts +2 -1
  75. package/dist/route/media-protocol.js +2 -10
  76. package/dist/route/media.d.ts +6 -8
  77. package/dist/route/media.js +8 -8
  78. package/dist/route/protocol.d.ts +2 -0
  79. package/dist/route/protocol.js +4 -1
  80. package/dist/route/transport/http.d.ts +1 -2
  81. package/dist/route/transport/http.js +5 -28
  82. package/dist/schema/errors.js +2 -1
  83. package/dist/schema/options.d.ts +1 -1
  84. package/dist/speech.js +1 -1
  85. package/dist/transcription.js +1 -1
  86. package/dist/video.js +1 -1
  87. package/package.json +3 -3
@@ -3,6 +3,7 @@ import { HttpClientResponse } from "effect/http";
3
3
  import type { Reason, Snapshot } from "../generation.js";
4
4
  import { Media } from "../media.js";
5
5
  import type { AuthInput } from "./auth.js";
6
+ import { RequestExecutor } from "./executor.js";
6
7
  import { AIError, AuthenticationError, type HttpContext, InvalidRequestError, ProviderID, ProviderInternalError, RateLimitError } from "../schema/index.js";
7
8
  /** Array values become repeated parameters (`keyterm=a&keyterm=b`). */
8
9
  export type Query = Readonly<Record<string, string | ReadonlyArray<string>>>;
@@ -153,7 +154,7 @@ export declare const identity: (input: {
153
154
  pending: (id: string) => AIError;
154
155
  contentPolicy: (message: string) => AIError;
155
156
  }, AIError, never>;
156
- bytes: (response: HttpClientResponse.HttpClientResponse) => Effect.Effect<Uint8Array<ArrayBuffer>, AIError, never>;
157
+ bytes: typeof RequestExecutor.responseBytes;
157
158
  decodeJson: <A>(schema: Schema.Codec<A, unknown>) => (response: HttpClientResponse.HttpClientResponse) => Effect.Effect<{
158
159
  body: string;
159
160
  http: HttpContext;
@@ -32,14 +32,6 @@ const FAILURES = {
32
32
  export const identity = (input) => {
33
33
  const provider = ProviderID.make(input.provider);
34
34
  const frameError = (message, body, cause) => new AIError({ reason: new InvalidProviderOutputError({ route: input.id, message, body, cause }) });
35
- const readError = (http) => (cause) => new AIError({
36
- reason: new InvalidProviderOutputError({
37
- route: input.id,
38
- message: `Failed to read the ${input.name} response`,
39
- http,
40
- cause,
41
- }),
42
- });
43
35
  /**
44
36
  * Read a text body while retaining the original payload and HTTP context on every downstream error. `invalid` is a
45
37
  * malformed provider document; `ended` is a generation that ended in `error` without output (reason `failed`
@@ -49,7 +41,7 @@ export const identity = (input) => {
49
41
  */
50
42
  const text = Effect.fn("MediaProtocol.text")(function* (response) {
51
43
  const http = RequestExecutor.responseHttp(response);
52
- const body = yield* response.text.pipe(Effect.mapError(readError(http)));
44
+ const body = yield* RequestExecutor.responseText(response);
53
45
  return {
54
46
  body,
55
47
  http,
@@ -79,7 +71,7 @@ export const identity = (input) => {
79
71
  });
80
72
  };
81
73
  /** Read a raw binary body, for providers that answer with the media bytes themselves. */
82
- const bytes = (response) => response.arrayBuffer.pipe(Effect.map((buffer) => new Uint8Array(buffer)), Effect.mapError(readError(RequestExecutor.responseHttp(response))));
74
+ const bytes = RequestExecutor.responseBytes;
83
75
  return {
84
76
  id: input.id,
85
77
  name: input.name,
@@ -4,13 +4,13 @@ import { Endpoint } from "./endpoint.js";
4
4
  import type { Interface } from "./executor-service.js";
5
5
  import { MediaProtocol } from "./media-protocol.js";
6
6
  import { Generation } from "../generation.js";
7
- import { AIError, ProviderID, type BaseRequest, type HttpOptions, type ProviderOptions } from "../schema/index.js";
7
+ import { AIError, ProviderID, type BaseRequest, type ProviderOptions, type TransportOptions } from "../schema/index.js";
8
8
  export type Execute = Interface["execute"];
9
9
  /** The minimum a media request must carry for the route to build a transport request. */
10
10
  export type MediaRequest = BaseRequest<{
11
11
  readonly id: string;
12
12
  readonly provider: ProviderID;
13
- readonly http?: HttpOptions;
13
+ readonly transport?: TransportOptions;
14
14
  readonly providerOptions?: ProviderOptions;
15
15
  }>;
16
16
  /** Deployment inputs every media model factory accepts; provider facades fill these from `configure(...)`. */
@@ -18,16 +18,14 @@ export interface ModelInput {
18
18
  readonly id: string;
19
19
  readonly auth: Auth.Definition;
20
20
  readonly baseURL?: string;
21
- readonly headers?: Record<string, string>;
22
- readonly http?: HttpOptions;
21
+ /** Deployment headers, timeouts and `http` overlays every request of the model starts from. */
22
+ readonly transport?: TransportOptions;
23
23
  /** Defaults under each request's `providerOptions`. */
24
24
  readonly providerOptions?: ProviderOptions;
25
25
  }
26
26
  /** A provider facade's `configure(...)` input as the `ModelInput` every media selector shares, minus the model id. */
27
- export declare const deployment: (input: {
27
+ export declare const deployment: (input: TransportOptions & {
28
28
  readonly baseURL?: string;
29
- readonly headers?: Record<string, string>;
30
- readonly http?: HttpOptions;
31
29
  }, auth: Auth.Definition) => Omit<ModelInput, "id">;
32
30
  /** One request, one response. */
33
31
  export interface InlineRoute<Request extends MediaRequest, Response> {
@@ -62,7 +60,7 @@ export type AnyRoute<Request extends MediaRequest, Event, Response> = InlineRout
62
60
  export interface Composition<Request extends MediaRequest> {
63
61
  readonly endpoint: Endpoint.Definition<MediaProtocol.Body, Request>;
64
62
  readonly auth: Auth.Definition;
65
- /** Deployment headers applied before transport authentication. */
63
+ /** Headers the protocol requires on every call; the model's transport headers win. */
66
64
  readonly headers?: Record<string, string>;
67
65
  }
68
66
  export interface InlineInput<Request extends MediaRequest, Response> extends Composition<Request> {
@@ -10,7 +10,7 @@ import { AIError, AIErrorReason, InvalidRequestError, ProviderID, UnsupportedOpe
10
10
  import { encodeJson } from "../utils/json.js";
11
11
  import { sanitizeSurrogates } from "../utils/sanitize.js";
12
12
  /** A provider facade's `configure(...)` input as the `ModelInput` every media selector shares, minus the model id. */
13
- export const deployment = (input, auth) => ({ auth, baseURL: input.baseURL, headers: input.headers, http: input.http });
13
+ export const deployment = (input, auth) => ({ auth, baseURL: input.baseURL, transport: mergeTransport(input) });
14
14
  /**
15
15
  * Compose an inline media protocol with an endpoint and auth into a runnable route. The route owns the transport
16
16
  * plumbing every media protocol would otherwise duplicate: option merging, surrogate sanitizing, unsupported-field
@@ -148,22 +148,22 @@ const makeTransport = (input) => {
148
148
  body: encoded.text,
149
149
  headers: encoded.headers,
150
150
  });
151
- const response = yield* RequestExecutor.withTls(execute, call.request.http?.tls)(encoded.apply(HttpClientRequest.make(call.method)(url).pipe(HttpClientRequest.setHeaders(headers))), RequestExecutor.withFetch(fetch));
151
+ const response = yield* RequestExecutor.withTimeout(RequestExecutor.withTls(execute, call.request.http?.tls), call.timeout)(encoded.apply(HttpClientRequest.make(call.method)(url).pipe(HttpClientRequest.setHeaders(headers))), RequestExecutor.withFetch(fetch));
152
152
  return { response };
153
153
  });
154
154
  return {
155
155
  /** Route and model overlays; `start` additionally merges the request's own. */
156
- exchange: (model) => mergeTransport({ headers: input.headers, http: model.http }),
156
+ exchange: (model) => mergeTransport({ headers: input.headers }, model.transport),
157
157
  /** POST the protocol body to the route endpoint. */
158
158
  submit: Effect.fn("MediaRoute.submit")(function* (request, protocol, execute) {
159
159
  yield* rejectUnsupported(input.protocol.id, input.protocol.provider, request, protocol.unsupported);
160
- const { headers: merged, http } = mergeTransport({ headers: input.headers, http: request.model.http }, request);
161
- const exchange = { headers: merged, http, fetch: request.fetch };
160
+ const { headers: merged, timeout, http, } = mergeTransport({ headers: input.headers }, request.model.transport, request);
161
+ const exchange = { headers: merged, timeout, http, fetch: request.fetch };
162
162
  const providerOptions = mergeProviderOptions(request.model.providerOptions, request.providerOptions);
163
163
  const headers = Headers.fromInput(merged);
164
164
  const prepared = protocol.prepare === undefined
165
165
  ? request
166
- : yield* protocol.prepare(request, (path, body) => send({ method: "POST", url: baseURL(path), headers, request: { ...request, http }, body }, request.fetch, execute).pipe(Effect.map((sent) => sent.response)));
166
+ : yield* protocol.prepare(request, (path, body) => send({ method: "POST", url: baseURL(path), headers, request: { ...request, http }, body, timeout }, request.fetch, execute).pipe(Effect.map((sent) => sent.response)));
167
167
  // Sanitize after merging so model-level overlays are covered; the model value is restored, not sanitized.
168
168
  const resolved = {
169
169
  ...sanitizeSurrogates({ ...prepared, headers: merged, http, providerOptions }),
@@ -171,7 +171,7 @@ const makeTransport = (input) => {
171
171
  };
172
172
  const body = yield* protocol.from(resolved);
173
173
  const url = withQuery(withQuery(Endpoint.render(input.endpoint, { request: resolved, body }), body.type === "multipart" ? undefined : body.query), http?.query);
174
- const sent = yield* send({ method: "POST", url, headers, request: resolved, body }, request.fetch, execute);
174
+ const sent = yield* send({ method: "POST", url, headers, request: resolved, body, timeout }, request.fetch, execute);
175
175
  return { response: sent.response, context: { request: resolved, body }, exchange };
176
176
  }),
177
177
  /**
@@ -194,7 +194,7 @@ const makeTransport = (input) => {
194
194
  for (const [key, value] of Object.entries(input.endpoint.query ?? {}))
195
195
  url.searchParams.set(key, value);
196
196
  const headers = Headers.fromInput(exchange.headers);
197
- return send({ method, url, headers, request: { http: exchange.http } }, exchange.fetch, execute);
197
+ return send({ method, url, headers, request: { http: exchange.http }, timeout: exchange.timeout }, exchange.fetch, execute);
198
198
  },
199
199
  };
200
200
  };
@@ -45,6 +45,8 @@ export interface Protocol<Body, Frame, Event, State> {
45
45
  readonly supportsEffortUpdates?: (request: LLMRequest) => boolean;
46
46
  /** Tool changes `body.from` can send in place of `Message.tools(...)` markers; wrappers around another `body.from` must forward it. */
47
47
  readonly toolUpdates?: ToolUpdateEncoding;
48
+ /** Whether `body.from` sends tool namespaces natively; otherwise `make` hands it flattened requests. Wrappers around another `body.from` must forward it. */
49
+ readonly namespaces?: boolean;
48
50
  /** Tool schema sanitizer for every model on this protocol unless the model's compatibility sets one; wrappers around another `body.from` must forward it. */
49
51
  readonly sanitizer?: LanguageModelSanitizerCompatibility;
50
52
  }
@@ -1,4 +1,5 @@
1
1
  import { Schema } from "effect";
2
+ import { flattenRequest } from "../protocols/shared.js";
2
3
  /**
3
4
  * Construct a `Protocol` from its body and stream pieces:
4
5
  *
@@ -11,6 +12,8 @@ import { Schema } from "effect";
11
12
  * without explicit type arguments; the schemas and parser functions are the
12
13
  * source of truth.
13
14
  */
14
- export const make = (input) => input;
15
+ export const make = (input) => input.namespaces
16
+ ? input
17
+ : { ...input, body: { ...input.body, from: (request) => input.body.from(flattenRequest(request)) } };
15
18
  export const jsonEvent = (schema) => Schema.fromJsonString(schema);
16
19
  export * as Protocol from "./protocol.js";
@@ -2,7 +2,6 @@ import { Effect } from "effect";
2
2
  import { Headers, HttpClientRequest } from "effect/http";
3
3
  import { Framing } from "../framing.js";
4
4
  import type { HttpMiddleware, Transport, TransportPrepareInput } from "./index.js";
5
- import { AIError } from "../../schema/index.js";
6
5
  export type JsonRequestInput<Body> = TransportPrepareInput<Body>;
7
6
  export interface JsonRequestParts<Body = unknown> {
8
7
  readonly url: string;
@@ -20,7 +19,7 @@ export declare const jsonRequestParts: <Body>(input: JsonRequestInput<Body>) =>
20
19
  jsonBody: Body | Record<string, unknown>;
21
20
  bodyText: string;
22
21
  headers: Headers.Headers;
23
- }, AIError, never>;
22
+ }, import("../../schema/errors.js").AIError, never>;
24
23
  export interface HttpJsonInput<_Body, Frame> {
25
24
  readonly framing: Framing.Definition<Frame>;
26
25
  }
@@ -1,10 +1,10 @@
1
- import { Clock, Duration, Effect, Stream } from "effect";
1
+ import { Effect } from "effect";
2
2
  import { Headers, HttpClientRequest } from "effect/http";
3
3
  import { Auth } from "../auth.js";
4
4
  import { render as renderEndpoint } from "../endpoint.js";
5
5
  import { Framing } from "../framing.js";
6
6
  import * as ProviderShared from "../../protocols/shared.js";
7
- import { AIError, DEFAULT_CHUNK_TIMEOUT_MS, DEFAULT_HTTP_TIMEOUT_MS, mergeJsonRecords, timeoutConfig, TransportError, } from "../../schema/index.js";
7
+ import { mergeJsonRecords } from "../../schema/index.js";
8
8
  import { RequestExecutor } from "../executor.js";
9
9
  const bodyWithOverlay = (body, request, encodeBody) => Effect.gen(function* () {
10
10
  if (request.http?.body === undefined)
@@ -52,38 +52,15 @@ export const httpJson = (input) => ({
52
52
  };
53
53
  }),
54
54
  execute: (prepared, request, runtime) => Effect.gen(function* () {
55
- const timeout = (operation, message, http) => new AIError({
56
- reason: new TransportError({
57
- message,
58
- transport: "http",
59
- operation,
60
- code: "Timeout",
61
- url: prepared.request.url,
62
- http,
63
- }),
64
- });
65
- const started = yield* Clock.currentTimeMillis;
66
- const limits = timeoutConfig(request.timeout);
67
- // Unlike the header and chunk limits, the whole-request budget has no default.
68
- const total = limits.total ? Duration.millis(limits.total) : Duration.infinity;
69
- const response = yield* RequestExecutor.withTls(runtime.http.execute, request.http?.tls)(prepared.request, prepared.middleware).pipe(Effect.timeoutOrElse({
70
- duration: Duration.min(timeoutDuration(limits.headers), total),
71
- orElse: () => timeout("request", "Timed out waiting for response headers"),
72
- }));
73
- const http = RequestExecutor.responseHttp(response);
74
- const remaining = Duration.subtract(total, Duration.millis((yield* Clock.currentTimeMillis) - started));
55
+ const response = yield* RequestExecutor.withTimeout(RequestExecutor.withTls(runtime.http.execute, request.http?.tls), request.timeout)(prepared.request, prepared.middleware);
75
56
  return {
76
- frames: prepared.framing.frame(RequestExecutor.responseStream(response).pipe(Stream.timeoutOrElse({
77
- duration: timeoutDuration(limits.chunk, DEFAULT_CHUNK_TIMEOUT_MS),
78
- orElse: () => Stream.fail(timeout("read", "Timed out waiting for response data", http)),
79
- }), Stream.interruptWhen(Effect.sleep(remaining).pipe(Effect.andThen(Effect.fail(timeout("read", "Timed out waiting for the response to complete", http))))))),
80
- http,
57
+ frames: prepared.framing.frame(RequestExecutor.responseStream(response)),
58
+ http: RequestExecutor.responseHttp(response),
81
59
  body: prepared.framing.body,
82
60
  raw: prepared.framing.raw,
83
61
  };
84
62
  }),
85
63
  });
86
- const timeoutDuration = (value, fallback = DEFAULT_HTTP_TIMEOUT_MS) => value === false ? Duration.infinity : Duration.millis(value ?? fallback);
87
64
  export const sseJson = {
88
65
  id: "http-json/sse",
89
66
  with: () => httpJson({ framing: Framing.sse }),
@@ -165,7 +165,8 @@ export class AIError extends Schema.TaggedError()("AI.Error", {
165
165
  // A WebSocket acknowledgment marks delivery accepted before model output may exist.
166
166
  // Read failures can still recover; the caller chooses retry versus continuation from durable output.
167
167
  case "Transport":
168
- return (this.reason.delivery !== "rejected" && (this.reason.delivery !== "accepted" || this.reason.operation === "read"));
168
+ return (this.reason.delivery !== "rejected" &&
169
+ (this.reason.delivery !== "accepted" || this.reason.operation === "read"));
169
170
  case "InvalidProviderOutput":
170
171
  return this.reason.classification === "incomplete-stream";
171
172
  // Unrecognized failures retry: classification records affirmative
@@ -53,7 +53,7 @@ export type RequestTimeout = HttpTimeout | TimeoutConfig;
53
53
  export interface TransportOptions {
54
54
  /** Merged over the provider's headers; these win. */
55
55
  readonly headers?: Record<string, string>;
56
- /** Applied to text requests; media requests do not apply it yet. */
56
+ /** Applied to every HTTP request. */
57
57
  readonly timeout?: RequestTimeout;
58
58
  readonly http?: HttpOptions;
59
59
  }
package/dist/speech.js CHANGED
@@ -10,7 +10,7 @@ export class SpeechModel extends MediaModel {
10
10
  return new SpeechModel({
11
11
  id: input.id,
12
12
  provider: route.protocol.provider,
13
- http: input.http,
13
+ transport: input.transport,
14
14
  providerOptions: input.providerOptions,
15
15
  route: composeRoute(route, input, collectResponse),
16
16
  });
@@ -10,7 +10,7 @@ export class TranscriptionModel extends MediaModel {
10
10
  return new TranscriptionModel({
11
11
  id: input.id,
12
12
  provider: route.protocol.provider,
13
- http: input.http,
13
+ transport: input.transport,
14
14
  providerOptions: input.providerOptions,
15
15
  route: composeRoute(route, input, collectResponse),
16
16
  });
package/dist/video.js CHANGED
@@ -10,7 +10,7 @@ export class VideoModel extends MediaModel {
10
10
  return new VideoModel({
11
11
  id: input.id,
12
12
  provider: route.protocol.provider,
13
- http: input.http,
13
+ transport: input.transport,
14
14
  providerOptions: input.providerOptions,
15
15
  route: composeQueuedRoute(route, input),
16
16
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/package.json",
3
- "version": "2.3.1",
3
+ "version": "2.4.0",
4
4
  "name": "@opencode/ai",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -624,7 +624,7 @@
624
624
  "devDependencies": {
625
625
  "@clack/prompts": "1.0.0-alpha.1",
626
626
  "@effect/platform-node": "4.1.0",
627
- "@opencode/http-recorder": "2.3.1",
627
+ "@opencode/http-recorder": "2.4.0",
628
628
  "@tsconfig/bun": "1.0.9",
629
629
  "@types/bun": "1.4.3",
630
630
  "@typescript/native": "npm:typescript@7.1.0-beta",
@@ -634,7 +634,7 @@
634
634
  "@aws-sdk/credential-providers": "3.1057.0",
635
635
  "@smithy/eventstream-codec": "4.2.14",
636
636
  "@smithy/util-utf8": "4.2.2",
637
- "@opencode/schema": "2.3.1",
637
+ "@opencode/schema": "2.4.0",
638
638
  "aws4fetch": "1.0.20",
639
639
  "effect": "4.1.0",
640
640
  "google-auth-library": "10.5.0"