@opencode-ai/schema 0.0.0-beta-17519 → 0.0.0-beta-17570

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.
@@ -14,7 +14,7 @@ export const Info = Schema.Struct({
14
14
  value: Schema.Json.annotate({ description: "JSON value attached to the session's instructions" }),
15
15
  }).annotate({ identifier: "InstructionEntry.Info" });
16
16
  export const MaxValueBytes = 8 * 1024;
17
- export class ValueTooLargeError extends Schema.TaggedErrorClass()("InstructionEntryValueTooLargeError", {
17
+ export class ValueTooLargeError extends Schema.TaggedError()("InstructionEntryValueTooLargeError", {
18
18
  actualBytes: Schema.Int,
19
19
  maxBytes: Schema.Int,
20
20
  message: Schema.String,
package/dist/tool.js CHANGED
@@ -1,7 +1,7 @@
1
1
  export * as Tool from "./tool.js";
2
2
  import { Effect, JsonSchema, Schema } from "effect";
3
3
  export const CallID = Schema.String.pipe(Schema.brand("Tool.CallID"));
4
- export class Error extends Schema.TaggedErrorClass()("Tool.Error", {
4
+ export class Error extends Schema.TaggedError()("Tool.Error", {
5
5
  message: Schema.String,
6
6
  error: Schema.optional(Schema.Defect()),
7
7
  metadata: Schema.optional(Schema.Record(Schema.String, Schema.Unknown)),
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/package.json",
3
3
  "name": "@opencode-ai/schema",
4
- "version": "0.0.0-beta-17519",
4
+ "version": "0.0.0-beta-17570",
5
5
  "type": "module",
6
6
  "license": "MIT",
7
7
  "repository": {
@@ -31,7 +31,7 @@
31
31
  },
32
32
  "dependencies": {
33
33
  "@standard-schema/spec": "1.1.0",
34
- "effect": "4.0.0-beta.101"
34
+ "effect": "4.0.0-beta.107"
35
35
  },
36
36
  "devDependencies": {
37
37
  "@tsconfig/bun": "1.0.9",