@opencode-ai/protocol 0.0.0-next-15153 → 0.0.0-next-15155

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.
@@ -3836,7 +3836,7 @@ export declare const EventGroup: HttpApiGroup.HttpApiGroup<"server.event", HttpA
3836
3836
  create: (id?: string) => string & import("effect/Brand").Brand<"Form.ID">;
3837
3837
  };
3838
3838
  readonly sessionID: Schema.String;
3839
- readonly title: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
3839
+ readonly title: Schema.String;
3840
3840
  readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
3841
3841
  }>, Schema.Struct<{
3842
3842
  readonly mode: Schema.Literal<"url">;
@@ -3845,7 +3845,7 @@ export declare const EventGroup: HttpApiGroup.HttpApiGroup<"server.event", HttpA
3845
3845
  create: (id?: string) => string & import("effect/Brand").Brand<"Form.ID">;
3846
3846
  };
3847
3847
  readonly sessionID: Schema.String;
3848
- readonly title: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
3848
+ readonly title: Schema.String;
3849
3849
  readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
3850
3850
  }>]>;
3851
3851
  }>;
@@ -3968,7 +3968,7 @@ export declare const EventGroup: HttpApiGroup.HttpApiGroup<"server.event", HttpA
3968
3968
  create: (id?: string) => string & import("effect/Brand").Brand<"Form.ID">;
3969
3969
  };
3970
3970
  readonly sessionID: Schema.String;
3971
- readonly title: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
3971
+ readonly title: Schema.String;
3972
3972
  readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
3973
3973
  }>, Schema.Struct<{
3974
3974
  readonly mode: Schema.Literal<"url">;
@@ -3977,7 +3977,7 @@ export declare const EventGroup: HttpApiGroup.HttpApiGroup<"server.event", HttpA
3977
3977
  create: (id?: string) => string & import("effect/Brand").Brand<"Form.ID">;
3978
3978
  };
3979
3979
  readonly sessionID: Schema.String;
3980
- readonly title: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
3980
+ readonly title: Schema.String;
3981
3981
  readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
3982
3982
  }>]>;
3983
3983
  }>;
@@ -9260,7 +9260,7 @@ export declare const EventGroup: HttpApiGroup.HttpApiGroup<"server.event", HttpA
9260
9260
  })[];
9261
9261
  readonly id: string & import("effect/Brand").Brand<"Form.ID">;
9262
9262
  readonly sessionID: string;
9263
- readonly title?: string | undefined;
9263
+ readonly title: string;
9264
9264
  readonly metadata?: {
9265
9265
  readonly [x: string]: unknown;
9266
9266
  } | undefined;
@@ -9269,7 +9269,7 @@ export declare const EventGroup: HttpApiGroup.HttpApiGroup<"server.event", HttpA
9269
9269
  readonly url: string;
9270
9270
  readonly id: string & import("effect/Brand").Brand<"Form.ID">;
9271
9271
  readonly sessionID: string;
9272
- readonly title?: string | undefined;
9272
+ readonly title: string;
9273
9273
  readonly metadata?: {
9274
9274
  readonly [x: string]: unknown;
9275
9275
  } | undefined;
@@ -14437,7 +14437,7 @@ export declare const OpenCodeEvent: Schema.Union<readonly [Schema.Struct<{
14437
14437
  create: (id?: string) => string & import("effect/Brand").Brand<"Form.ID">;
14438
14438
  };
14439
14439
  readonly sessionID: Schema.String;
14440
- readonly title: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
14440
+ readonly title: Schema.String;
14441
14441
  readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
14442
14442
  }>, Schema.Struct<{
14443
14443
  readonly mode: Schema.Literal<"url">;
@@ -14446,7 +14446,7 @@ export declare const OpenCodeEvent: Schema.Union<readonly [Schema.Struct<{
14446
14446
  create: (id?: string) => string & import("effect/Brand").Brand<"Form.ID">;
14447
14447
  };
14448
14448
  readonly sessionID: Schema.String;
14449
- readonly title: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
14449
+ readonly title: Schema.String;
14450
14450
  readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
14451
14451
  }>]>;
14452
14452
  }>;
@@ -14569,7 +14569,7 @@ export declare const OpenCodeEvent: Schema.Union<readonly [Schema.Struct<{
14569
14569
  create: (id?: string) => string & import("effect/Brand").Brand<"Form.ID">;
14570
14570
  };
14571
14571
  readonly sessionID: Schema.String;
14572
- readonly title: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
14572
+ readonly title: Schema.String;
14573
14573
  readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
14574
14574
  }>, Schema.Struct<{
14575
14575
  readonly mode: Schema.Literal<"url">;
@@ -14578,7 +14578,7 @@ export declare const OpenCodeEvent: Schema.Union<readonly [Schema.Struct<{
14578
14578
  create: (id?: string) => string & import("effect/Brand").Brand<"Form.ID">;
14579
14579
  };
14580
14580
  readonly sessionID: Schema.String;
14581
- readonly title: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
14581
+ readonly title: Schema.String;
14582
14582
  readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
14583
14583
  }>]>;
14584
14584
  }>;
@@ -6,7 +6,7 @@ declare const CreatePayload: Schema.Struct<{
6
6
  readonly id: Schema.optional<Schema.brand<Schema.String, "Form.ID"> & {
7
7
  create: (id?: string) => string & import("effect/Brand").Brand<"Form.ID">;
8
8
  }>;
9
- readonly title: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
9
+ readonly title: Schema.String;
10
10
  readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
11
11
  readonly mode: Schema.Literals<readonly ["form", "url"]>;
12
12
  readonly fields: Schema.optional<Schema.$Array<Schema.toTaggedUnion<"type", readonly [Schema.Struct<{
@@ -241,7 +241,7 @@ export declare const makeFormGroup: <LocationId extends HttpApiMiddleware.AnyId,
241
241
  create: (id?: string) => string & import("effect/Brand").Brand<"Form.ID">;
242
242
  };
243
243
  readonly sessionID: Schema.String;
244
- readonly title: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
244
+ readonly title: Schema.String;
245
245
  readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
246
246
  }>, Schema.Struct<{
247
247
  readonly mode: Schema.Literal<"url">;
@@ -250,7 +250,7 @@ export declare const makeFormGroup: <LocationId extends HttpApiMiddleware.AnyId,
250
250
  create: (id?: string) => string & import("effect/Brand").Brand<"Form.ID">;
251
251
  };
252
252
  readonly sessionID: Schema.String;
253
- readonly title: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
253
+ readonly title: Schema.String;
254
254
  readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
255
255
  }>]>>;
256
256
  }>>, HttpApiEndpoint.Json<never>, LocationId, HttpApiMiddleware.Requires<LocationId>> | HttpApiEndpoint.HttpApiEndpoint<"session.form.list", "GET", "/api/session/:sessionID/form", HttpApiEndpoint.StringTree<Schema.Struct<{
@@ -370,7 +370,7 @@ export declare const makeFormGroup: <LocationId extends HttpApiMiddleware.AnyId,
370
370
  create: (id?: string) => string & import("effect/Brand").Brand<"Form.ID">;
371
371
  };
372
372
  readonly sessionID: Schema.String;
373
- readonly title: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
373
+ readonly title: Schema.String;
374
374
  readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
375
375
  }>, Schema.Struct<{
376
376
  readonly mode: Schema.Literal<"url">;
@@ -379,7 +379,7 @@ export declare const makeFormGroup: <LocationId extends HttpApiMiddleware.AnyId,
379
379
  create: (id?: string) => string & import("effect/Brand").Brand<"Form.ID">;
380
380
  };
381
381
  readonly sessionID: Schema.String;
382
- readonly title: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
382
+ readonly title: Schema.String;
383
383
  readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
384
384
  }>]>>;
385
385
  }>>, HttpApiEndpoint.Json<typeof SessionNotFoundError>, FormLocationId, HttpApiMiddleware.Requires<FormLocationId>> | HttpApiEndpoint.HttpApiEndpoint<"session.form.create", "POST", "/api/session/:sessionID/form", HttpApiEndpoint.StringTree<Schema.Struct<{
@@ -388,7 +388,7 @@ export declare const makeFormGroup: <LocationId extends HttpApiMiddleware.AnyId,
388
388
  readonly id: Schema.optional<Schema.brand<Schema.String, "Form.ID"> & {
389
389
  create: (id?: string) => string & import("effect/Brand").Brand<"Form.ID">;
390
390
  }>;
391
- readonly title: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
391
+ readonly title: Schema.String;
392
392
  readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
393
393
  readonly mode: Schema.Literals<readonly ["form", "url"]>;
394
394
  readonly fields: Schema.optional<Schema.$Array<Schema.toTaggedUnion<"type", readonly [Schema.Struct<{
@@ -615,7 +615,7 @@ export declare const makeFormGroup: <LocationId extends HttpApiMiddleware.AnyId,
615
615
  create: (id?: string) => string & import("effect/Brand").Brand<"Form.ID">;
616
616
  };
617
617
  readonly sessionID: Schema.String;
618
- readonly title: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
618
+ readonly title: Schema.String;
619
619
  readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
620
620
  }>, Schema.Struct<{
621
621
  readonly mode: Schema.Literal<"url">;
@@ -624,7 +624,7 @@ export declare const makeFormGroup: <LocationId extends HttpApiMiddleware.AnyId,
624
624
  create: (id?: string) => string & import("effect/Brand").Brand<"Form.ID">;
625
625
  };
626
626
  readonly sessionID: Schema.String;
627
- readonly title: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
627
+ readonly title: Schema.String;
628
628
  readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
629
629
  }>]>;
630
630
  }>>, HttpApiEndpoint.Json<typeof InvalidRequestError | typeof ConflictError | typeof SessionNotFoundError>, FormLocationId, HttpApiMiddleware.Requires<FormLocationId>> | HttpApiEndpoint.HttpApiEndpoint<"session.form.get", "GET", "/api/session/:sessionID/form/:formID", HttpApiEndpoint.StringTree<Schema.Struct<{
@@ -747,7 +747,7 @@ export declare const makeFormGroup: <LocationId extends HttpApiMiddleware.AnyId,
747
747
  create: (id?: string) => string & import("effect/Brand").Brand<"Form.ID">;
748
748
  };
749
749
  readonly sessionID: Schema.String;
750
- readonly title: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
750
+ readonly title: Schema.String;
751
751
  readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
752
752
  }>, Schema.Struct<{
753
753
  readonly mode: Schema.Literal<"url">;
@@ -756,7 +756,7 @@ export declare const makeFormGroup: <LocationId extends HttpApiMiddleware.AnyId,
756
756
  create: (id?: string) => string & import("effect/Brand").Brand<"Form.ID">;
757
757
  };
758
758
  readonly sessionID: Schema.String;
759
- readonly title: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
759
+ readonly title: Schema.String;
760
760
  readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
761
761
  }>]>;
762
762
  }>>, HttpApiEndpoint.Json<typeof SessionNotFoundError | typeof FormNotFoundError>, FormLocationId, HttpApiMiddleware.Requires<FormLocationId>> | HttpApiEndpoint.HttpApiEndpoint<"session.form.state", "GET", "/api/session/:sessionID/form/:formID/state", HttpApiEndpoint.StringTree<Schema.Struct<{
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/package.json",
3
3
  "name": "@opencode-ai/protocol",
4
- "version": "0.0.0-next-15153",
4
+ "version": "0.0.0-next-15155",
5
5
  "type": "module",
6
6
  "license": "MIT",
7
7
  "repository": {
@@ -26,7 +26,7 @@
26
26
  "typecheck": "tsgo --noEmit"
27
27
  },
28
28
  "dependencies": {
29
- "@opencode-ai/schema": "0.0.0-next-15153",
29
+ "@opencode-ai/schema": "0.0.0-next-15155",
30
30
  "effect": "4.0.0-beta.83"
31
31
  },
32
32
  "devDependencies": {