@opencode-ai/schema 0.0.0-dev-18402 → 0.0.0-dev-18409
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/persistent-pty.d.ts
CHANGED
|
@@ -28,6 +28,14 @@ export declare const Info: Schema.Struct<{
|
|
|
28
28
|
}>;
|
|
29
29
|
export interface Info extends Schema.Schema.Type<typeof Info> {
|
|
30
30
|
}
|
|
31
|
+
export declare const Handoff: Schema.Struct<{
|
|
32
|
+
readonly directory: Schema.String;
|
|
33
|
+
readonly instanceID: Schema.String;
|
|
34
|
+
readonly ticket: Schema.String;
|
|
35
|
+
readonly expiresAt: Schema.Number;
|
|
36
|
+
}>;
|
|
37
|
+
export interface Handoff extends Schema.Schema.Type<typeof Handoff> {
|
|
38
|
+
}
|
|
31
39
|
export declare const CreateInput: Schema.Struct<{
|
|
32
40
|
readonly command: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
33
41
|
readonly args: Schema.$Array<Schema.String>;
|
package/dist/persistent-pty.js
CHANGED
|
@@ -11,6 +11,12 @@ export const Info = Schema.Struct({
|
|
|
11
11
|
size: Schema.Struct({ cols: PositiveInt, rows: PositiveInt }),
|
|
12
12
|
output: Schema.Struct({ head: NonNegativeInt, tail: NonNegativeInt }),
|
|
13
13
|
}).annotate({ identifier: "PersistentPty.Info" });
|
|
14
|
+
export const Handoff = Schema.Struct({
|
|
15
|
+
directory: Schema.String,
|
|
16
|
+
instanceID: Schema.String,
|
|
17
|
+
ticket: Schema.String,
|
|
18
|
+
expiresAt: Schema.Number,
|
|
19
|
+
}).annotate({ identifier: "PersistentPty.Handoff" });
|
|
14
20
|
export const CreateInput = Schema.Struct({
|
|
15
21
|
command: optional(Schema.String),
|
|
16
22
|
args: Schema.Array(Schema.String),
|