@opencode-ai/schema
Advanced tools
@@ -17,3 +17,3 @@ export * as InstructionEntry from "./instruction-entry.js"; | ||
| export const MaxValueBytes = 8 * 1024; | ||
| export class ValueTooLargeError extends Schema.TaggedErrorClass()("InstructionEntryValueTooLargeError", { | ||
| export class ValueTooLargeError extends Schema.TaggedError()("InstructionEntryValueTooLargeError", { | ||
| actualBytes: Schema.Int, | ||
@@ -20,0 +20,0 @@ maxBytes: Schema.Int, |
+1
-1
| export * as Tool from "./tool.js"; | ||
| import { Effect, JsonSchema, Schema } from "effect"; | ||
| export const CallID = Schema.String.pipe(Schema.brand("Tool.CallID")); | ||
| export class Error extends Schema.TaggedErrorClass()("Tool.Error", { | ||
| export class Error extends Schema.TaggedError()("Tool.Error", { | ||
| message: Schema.String, | ||
@@ -6,0 +6,0 @@ error: Schema.optional(Schema.Defect()), |
+2
-2
| { | ||
| "$schema": "https://json.schemastore.org/package.json", | ||
| "name": "@opencode-ai/schema", | ||
| "version": "0.0.0-dev-17545", | ||
| "version": "0.0.0-dev-17582", | ||
| "type": "module", | ||
@@ -34,3 +34,3 @@ "license": "MIT", | ||
| "@standard-schema/spec": "1.1.0", | ||
| "effect": "4.0.0-beta.101" | ||
| "effect": "4.0.0-beta.107" | ||
| }, | ||
@@ -37,0 +37,0 @@ "devDependencies": { |
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
3451042
0+ Added
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
Updated