@opencode-ai/ai 0.0.0-next-16596 → 0.0.0-next-16598

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.
@@ -5,6 +5,7 @@ export interface Settings extends Readonly<Record<string, unknown>> {
5
5
  readonly body?: Readonly<Record<string, unknown>>;
6
6
  readonly limits?: {
7
7
  readonly context: number;
8
+ readonly input?: number;
8
9
  readonly output: number;
9
10
  };
10
11
  }
@@ -49,6 +49,7 @@ export type GenerationOptionsInput = GenerationOptions | GenerationOptionsFields
49
49
  export declare const mergeGenerationOptions: (...items: ReadonlyArray<GenerationOptionsInput | undefined>) => GenerationOptions | undefined;
50
50
  declare const ModelLimits_base: Schema.Class<ModelLimits, Schema.Struct<{
51
51
  readonly context: Schema.optional<Schema.Number>;
52
+ readonly input: Schema.optional<Schema.Number>;
52
53
  readonly output: Schema.optional<Schema.Number>;
53
54
  }>, {}>;
54
55
  export declare class ModelLimits extends ModelLimits_base {
@@ -89,6 +89,7 @@ export const mergeGenerationOptions = (...items) => {
89
89
  };
90
90
  export class ModelLimits extends Schema.Class("LLM.ModelLimits")({
91
91
  context: Schema.optional(Schema.Number),
92
+ input: Schema.optional(Schema.Number),
92
93
  output: Schema.optional(Schema.Number),
93
94
  }) {
94
95
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/package.json",
3
- "version": "0.0.0-next-16596",
3
+ "version": "0.0.0-next-16598",
4
4
  "name": "@opencode-ai/ai",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -30,7 +30,7 @@
30
30
  "devDependencies": {
31
31
  "@clack/prompts": "1.0.0-alpha.1",
32
32
  "@effect/platform-node": "4.0.0-beta.101",
33
- "@opencode-ai/http-recorder": "0.0.0-next-16596",
33
+ "@opencode-ai/http-recorder": "0.0.0-next-16598",
34
34
  "@tsconfig/bun": "1.0.9",
35
35
  "@types/bun": "1.3.13",
36
36
  "@typescript/native-preview": "7.0.0-dev.20251207.1",
@@ -39,7 +39,7 @@
39
39
  "dependencies": {
40
40
  "@smithy/eventstream-codec": "4.2.14",
41
41
  "@smithy/util-utf8": "4.2.2",
42
- "@opencode-ai/schema": "0.0.0-next-16596",
42
+ "@opencode-ai/schema": "0.0.0-next-16598",
43
43
  "aws4fetch": "1.0.20",
44
44
  "effect": "4.0.0-beta.101",
45
45
  "google-auth-library": "10.5.0"