@opencode-ai/schema 0.0.0-dev-18394 → 0.0.0-dev-18395

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.
@@ -29,9 +29,9 @@ export declare const Info: Schema.Struct<{
29
29
  export interface Info extends Schema.Schema.Type<typeof Info> {
30
30
  }
31
31
  export declare const CreateInput: Schema.Struct<{
32
- readonly command: Schema.String;
32
+ readonly command: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
33
33
  readonly args: Schema.$Array<Schema.String>;
34
- readonly cwd: Schema.String;
34
+ readonly cwd: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
35
35
  readonly title: Schema.String;
36
36
  readonly env: Schema.$Record<Schema.String, Schema.String>;
37
37
  readonly size: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
@@ -12,9 +12,9 @@ export const Info = Schema.Struct({
12
12
  output: Schema.Struct({ head: NonNegativeInt, tail: NonNegativeInt }),
13
13
  }).annotate({ identifier: "PersistentPty.Info" });
14
14
  export const CreateInput = Schema.Struct({
15
- command: Schema.String,
15
+ command: optional(Schema.String),
16
16
  args: Schema.Array(Schema.String),
17
- cwd: Schema.String,
17
+ cwd: optional(Schema.String),
18
18
  title: Schema.String,
19
19
  env: Schema.Record(Schema.String, Schema.String),
20
20
  size: optional(Schema.Struct({ cols: PositiveInt, rows: PositiveInt })),
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/package.json",
3
3
  "name": "@opencode-ai/schema",
4
- "version": "0.0.0-dev-18394",
4
+ "version": "0.0.0-dev-18395",
5
5
  "type": "module",
6
6
  "license": "MIT",
7
7
  "repository": {