@opencode/ai 0.0.0-dev-287 → 0.0.0-dev-291

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 (2) hide show
  1. package/dist/tool.d.ts +2 -2
  2. package/package.json +3 -3
package/dist/tool.d.ts CHANGED
@@ -49,9 +49,9 @@ export interface Definition<Parameters extends ToolSchema<any>, Success extends
49
49
  /** @internal */
50
50
  readonly _decode: (input: unknown) => Effect.Effect<Schema.Schema.Type<Parameters>, Schema.SchemaError>;
51
51
  /** @internal */
52
- readonly _encode: (value: Schema.Schema.Type<Success>) => Effect.Effect<unknown, Schema.SchemaError>;
52
+ _encode(value: Schema.Schema.Type<Success>): Effect.Effect<unknown, Schema.SchemaError>;
53
53
  /** @internal */
54
- readonly _project: (parameters: Schema.Schema.Type<Parameters>, id: ToolCallPart["id"], output: unknown) => ToolOutputType;
54
+ _project(parameters: Schema.Schema.Type<Parameters>, id: ToolCallPart["id"], output: unknown): ToolOutputType;
55
55
  /** @internal */
56
56
  readonly _legacyResult: boolean;
57
57
  /** @internal */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/package.json",
3
- "version": "0.0.0-dev-287",
3
+ "version": "0.0.0-dev-291",
4
4
  "name": "@opencode/ai",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -516,7 +516,7 @@
516
516
  "devDependencies": {
517
517
  "@clack/prompts": "1.0.0-alpha.1",
518
518
  "@effect/platform-node": "4.0.6",
519
- "@opencode/http-recorder": "0.0.0-dev-287",
519
+ "@opencode/http-recorder": "0.0.0-dev-291",
520
520
  "@tsconfig/bun": "1.0.9",
521
521
  "@types/bun": "1.4.3",
522
522
  "@typescript/native": "npm:typescript@7.1.0-beta",
@@ -526,7 +526,7 @@
526
526
  "@aws-sdk/credential-providers": "3.1057.0",
527
527
  "@smithy/eventstream-codec": "4.2.14",
528
528
  "@smithy/util-utf8": "4.2.2",
529
- "@opencode/schema": "0.0.0-dev-287",
529
+ "@opencode/schema": "0.0.0-dev-291",
530
530
  "aws4fetch": "1.0.20",
531
531
  "effect": "4.0.6",
532
532
  "google-auth-library": "10.5.0"