Sign In

@opencode-ai/schema

Package Overview
Dependencies
Maintainers
2
Versions
1034
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-17635
to
0.0.0-dev-17636
+5
-0
dist/session-event.js

@@ -252,2 +252,4 @@ export * as SessionEvent from "./session-event.js";

finish: FinishReason,
rawFinish: Schema.String.pipe(optional),
providerState: SessionMessage.ProviderState.pipe(optional),
cost: Money.USD,

@@ -266,2 +268,5 @@ tokens: TokenUsage.Info,

error: SessionError.Error,
finish: Schema.Literals(["content-filter"]).pipe(optional),
rawFinish: Schema.String.pipe(optional),
providerState: SessionMessage.ProviderState.pipe(optional),
cost: Money.USD.pipe(optional),

@@ -268,0 +273,0 @@ tokens: TokenUsage.Info.pipe(optional),

+2
-0

@@ -167,2 +167,4 @@ export * as SessionMessage from "./session-message.js";

finish: FinishReason.pipe(optional),
rawFinish: Schema.String.pipe(optional),
providerState: ProviderState.pipe(optional),
cost: Money.USD.pipe(optional),

@@ -169,0 +171,0 @@ tokens: TokenUsage.Info.pipe(optional),

@@ -641,2 +641,4 @@ export * as SessionTransfer from "./session-transfer.js";

readonly finish: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Literals<readonly ["stop", "length", "tool-calls", "content-filter", "error", "unknown"]>>>, Schema.optionalKey<Schema.Literals<readonly ["stop", "length", "tool-calls", "content-filter", "error", "unknown"]>>, never, never>;
readonly rawFinish: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
readonly providerState: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
readonly cost: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.Finite, "Money.USD"> & {

@@ -643,0 +645,0 @@ zero: number & import("effect/Brand").Brand<"Money.USD">;

+1
-1
{
"$schema": "https://json.schemastore.org/package.json",
"name": "@opencode-ai/schema",
"version": "0.0.0-dev-17635",
"version": "0.0.0-dev-17636",
"type": "module",

@@ -6,0 +6,0 @@ "license": "MIT",

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display