@opencode/protocol 0.0.0-dev-1313 → 0.0.0-dev-1314

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.
@@ -568,7 +568,7 @@ export declare const ExperimentalGroup: import("effect/http-api/HttpApiGroup").H
568
568
  readonly sessionID: import("effect/Schema").optional<import("effect/Schema").brand<import("effect/Schema").String, "SessionID"> & {
569
569
  create: () => string & import("effect/Brand").Brand<"SessionID">;
570
570
  }>;
571
- readonly kind: import("effect/Schema").optional<import("effect/Schema").Literals<readonly ["shell", "subagent", "image", "codemode"]>>;
571
+ readonly kind: import("effect/Schema").optional<import("effect/Schema").Literals<readonly ["shell", "subagent", "image", "video", "codemode"]>>;
572
572
  readonly status: import("effect/Schema").optional<import("effect/Schema").Literals<readonly ["running", "completed", "error", "cancelled"]>>;
573
573
  readonly descendants: import("effect/Schema").optional<import("effect/Schema").decodeTo<import("effect/Schema").Boolean, import("effect/Schema").Literals<readonly ["true", "false"]>, never, never>>;
574
574
  }>>, never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
@@ -617,6 +617,19 @@ export declare const ExperimentalGroup: import("effect/http-api/HttpApiGroup").H
617
617
  readonly kind: import("effect/Schema").tag<"image">;
618
618
  readonly path: import("effect/Schema").String;
619
619
  readonly model: import("effect/Schema").String;
620
+ }>, import("effect/Schema").Struct<{
621
+ readonly id: import("effect/Schema").String;
622
+ readonly sessionID: import("effect/Schema").brand<import("effect/Schema").String, "SessionID"> & {
623
+ create: () => string & import("effect/Brand").Brand<"SessionID">;
624
+ };
625
+ readonly status: import("effect/Schema").Literals<readonly ["running", "completed", "error", "cancelled"]>;
626
+ readonly title: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").String>>, import("effect/Schema").optionalKey<import("effect/Schema").String>, never, never>;
627
+ readonly time: import("effect/Schema").Struct<{
628
+ readonly started: import("effect/Schema").Finite;
629
+ readonly completed: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").Finite>>, import("effect/Schema").optionalKey<import("effect/Schema").Finite>, never, never>;
630
+ }>;
631
+ readonly kind: import("effect/Schema").tag<"video">;
632
+ readonly path: import("effect/Schema").String;
620
633
  }>, import("effect/Schema").Struct<{
621
634
  readonly id: import("effect/Schema").String;
622
635
  readonly sessionID: import("effect/Schema").brand<import("effect/Schema").String, "SessionID"> & {
@@ -5,7 +5,7 @@ export declare const ListQuery: Schema.Struct<{
5
5
  readonly sessionID: Schema.optional<Schema.brand<Schema.String, "SessionID"> & {
6
6
  create: () => string & import("effect/Brand").Brand<"SessionID">;
7
7
  }>;
8
- readonly kind: Schema.optional<Schema.Literals<readonly ["shell", "subagent", "image", "codemode"]>>;
8
+ readonly kind: Schema.optional<Schema.Literals<readonly ["shell", "subagent", "image", "video", "codemode"]>>;
9
9
  readonly status: Schema.optional<Schema.Literals<readonly ["running", "completed", "error", "cancelled"]>>;
10
10
  readonly descendants: Schema.optional<Schema.decodeTo<Schema.Boolean, Schema.Literals<readonly ["true", "false"]>, never, never>>;
11
11
  }>;
@@ -15,7 +15,7 @@ export declare const JobEndpoints: readonly [HttpApiEndpoint.HttpApiEndpoint<"jo
15
15
  readonly sessionID: Schema.optional<Schema.brand<Schema.String, "SessionID"> & {
16
16
  create: () => string & import("effect/Brand").Brand<"SessionID">;
17
17
  }>;
18
- readonly kind: Schema.optional<Schema.Literals<readonly ["shell", "subagent", "image", "codemode"]>>;
18
+ readonly kind: Schema.optional<Schema.Literals<readonly ["shell", "subagent", "image", "video", "codemode"]>>;
19
19
  readonly status: Schema.optional<Schema.Literals<readonly ["running", "completed", "error", "cancelled"]>>;
20
20
  readonly descendants: Schema.optional<Schema.decodeTo<Schema.Boolean, Schema.Literals<readonly ["true", "false"]>, never, never>>;
21
21
  }>>, never, never, Schema.toCodecJson<Schema.Struct<{
@@ -64,6 +64,19 @@ export declare const JobEndpoints: readonly [HttpApiEndpoint.HttpApiEndpoint<"jo
64
64
  readonly kind: Schema.tag<"image">;
65
65
  readonly path: Schema.String;
66
66
  readonly model: Schema.String;
67
+ }>, Schema.Struct<{
68
+ readonly id: Schema.String;
69
+ readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
70
+ create: () => string & import("effect/Brand").Brand<"SessionID">;
71
+ };
72
+ readonly status: Schema.Literals<readonly ["running", "completed", "error", "cancelled"]>;
73
+ readonly title: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
74
+ readonly time: Schema.Struct<{
75
+ readonly started: Schema.Finite;
76
+ readonly completed: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Finite>>, Schema.optionalKey<Schema.Finite>, never, never>;
77
+ }>;
78
+ readonly kind: Schema.tag<"video">;
79
+ readonly path: Schema.String;
67
80
  }>, Schema.Struct<{
68
81
  readonly id: Schema.String;
69
82
  readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/package.json",
3
3
  "name": "@opencode/protocol",
4
- "version": "0.0.0-dev-1313",
4
+ "version": "0.0.0-dev-1314",
5
5
  "type": "module",
6
6
  "license": "MIT",
7
7
  "repository": {
@@ -35,7 +35,7 @@
35
35
  "typecheck:tsc": "tsc --noEmit"
36
36
  },
37
37
  "dependencies": {
38
- "@opencode/schema": "0.0.0-dev-1313",
38
+ "@opencode/schema": "0.0.0-dev-1314",
39
39
  "effect": "4.1.0"
40
40
  },
41
41
  "devDependencies": {