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

@opencode-ai/schema

Package Overview
Dependencies
Maintainers
2
Versions
1390
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-beta-18387
to
0.0.0-beta-18414
+10
-2
dist/persistent-pty.d.ts

@@ -31,6 +31,14 @@ export * as PersistentPty from "./persistent-pty.js";

}
export declare const Handoff: Schema.Struct<{
readonly directory: Schema.String;
readonly instanceID: Schema.String;
readonly ticket: Schema.String;
readonly expiresAt: Schema.Number;
}>;
export interface Handoff extends Schema.Schema.Type<typeof Handoff> {
}
export declare const CreateInput: Schema.Struct<{
readonly command: Schema.String;
readonly command: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
readonly args: Schema.$Array<Schema.String>;
readonly cwd: Schema.String;
readonly cwd: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
readonly title: Schema.String;

@@ -37,0 +45,0 @@ readonly env: Schema.$Record<Schema.String, Schema.String>;

+8
-2

@@ -14,6 +14,12 @@ export * as PersistentPty from "./persistent-pty.js";

}).annotate({ identifier: "PersistentPty.Info" });
export const Handoff = Schema.Struct({
directory: Schema.String,
instanceID: Schema.String,
ticket: Schema.String,
expiresAt: Schema.Number,
}).annotate({ identifier: "PersistentPty.Handoff" });
export const CreateInput = Schema.Struct({
command: Schema.String,
command: optional(Schema.String),
args: Schema.Array(Schema.String),
cwd: Schema.String,
cwd: optional(Schema.String),
title: Schema.String,

@@ -20,0 +26,0 @@ env: Schema.Record(Schema.String, Schema.String),

{
"$schema": "https://json.schemastore.org/package.json",
"name": "@opencode-ai/schema",
"version": "0.0.0-beta-18387",
"version": "0.0.0-beta-18414",
"type": "module",

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