Sign In

@opencode-ai/schema

Package Overview
Dependencies
Maintainers
2
Versions
1002
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@opencode-ai/schema - npm Package Compare versions

Comparing version
0.0.0-dev-17545
to
0.0.0-dev-17582
+1
-1
dist/instruction-entry.js

@@ -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,

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()),

{
"$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": {