@opencode-ai/schema
Advanced tools
@@ -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>; |
@@ -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), |
+1
-1
| { | ||
| "$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", |
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.
3734844
0.02%59033
0.02%