New:Socket for Asana Is Now Available.Learn more
Get Started

@opencode-ai/schema

Package Overview
Dependencies
Maintainers
2
Versions
1416
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-18480
to
0.0.0-dev-18483
+14
-2
dist/config/provider.d.ts

@@ -59,3 +59,9 @@ export * as ConfigProvider from "./provider.js";

readonly responsesWebsockets: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
}>>>, Schema.optionalKey<Schema.Struct<{
}> & {
default: () => {
tools: true;
input: string[];
output: string[];
};
}>>, Schema.optionalKey<Schema.Struct<{
readonly tools: Schema.Boolean;

@@ -65,3 +71,9 @@ readonly input: Schema.$Array<Schema.String>;

readonly responsesWebsockets: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
}>>, never, never>;
}> & {
default: () => {
tools: true;
input: string[];
output: string[];
};
}>, never, never>;
readonly variants: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.Struct<{

@@ -68,0 +80,0 @@ readonly settings: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>, never, never>;

@@ -56,3 +56,9 @@ export * as Model from "./model.js";

readonly responsesWebsockets: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
}>;
}> & {
default: () => {
tools: true;
input: string[];
output: string[];
};
};
export interface Cost extends Schema.Schema.Type<typeof Cost> {

@@ -99,3 +105,9 @@ }

readonly responsesWebsockets: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
}>;
}> & {
default: () => {
tools: true;
input: string[];
output: string[];
};
};
readonly variants: Schema.$Array<Schema.Struct<{

@@ -102,0 +114,0 @@ readonly settings: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Any>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Any>>, never, never>;

+6
-2

@@ -53,3 +53,7 @@ export * as Model from "./model.js";

responsesWebsockets: Schema.Boolean.pipe(optional),
}).annotate({ identifier: "Model.Capabilities" });
})
.annotate({ identifier: "Model.Capabilities" })
.pipe(statics(() => ({
default: () => ({ tools: true, input: ["text", "image"], output: ["text"] }),
})));
export const Cost = Schema.Struct({

@@ -101,3 +105,3 @@ tier: Schema.Struct({

name: id,
capabilities: { tools: true, input: ["text", "image"], output: ["text"] },
capabilities: Capabilities.default(),
variants: [],

@@ -104,0 +108,0 @@ time: { released: 0 },

{
"$schema": "https://json.schemastore.org/package.json",
"name": "@opencode-ai/schema",
"version": "0.0.0-dev-18480",
"version": "0.0.0-dev-18483",
"type": "module",

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