@opencode-ai/protocol 0.0.0-next-16824 → 0.0.0-next-16830

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.
@@ -1586,6 +1586,7 @@ export declare const EventGroup: HttpApiGroup.HttpApiGroup<"server.event", HttpA
1586
1586
  }>>, never, never>;
1587
1587
  readonly data: Schema.Struct<{
1588
1588
  readonly delta: Schema.$Record<Schema.String, Schema.Union<readonly [Schema.brand<Schema.String, "Instruction.Hash">, Schema.Literal<"removed">]>>;
1589
+ readonly text: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
1589
1590
  readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
1590
1591
  create: () => string & import("effect/Brand").Brand<"SessionID">;
1591
1592
  descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
@@ -1600,6 +1601,7 @@ export declare const EventGroup: HttpApiGroup.HttpApiGroup<"server.event", HttpA
1600
1601
  };
1601
1602
  data: Schema.Struct<{
1602
1603
  readonly delta: Schema.$Record<Schema.String, Schema.Union<readonly [Schema.brand<Schema.String, "Instruction.Hash">, Schema.Literal<"removed">]>>;
1604
+ readonly text: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
1603
1605
  readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
1604
1606
  create: () => string & import("effect/Brand").Brand<"SessionID">;
1605
1607
  descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
@@ -8088,10 +8090,11 @@ export declare const EventGroup: HttpApiGroup.HttpApiGroup<"server.event", HttpA
8088
8090
  } | {
8089
8091
  readonly id: string & import("effect/Brand").Brand<"Event.ID">;
8090
8092
  readonly data: {
8093
+ readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
8091
8094
  readonly delta: {
8092
8095
  readonly [x: string]: (string & import("effect/Brand").Brand<"Instruction.Hash">) | "removed";
8093
8096
  };
8094
- readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
8097
+ readonly text?: string | undefined;
8095
8098
  };
8096
8099
  readonly durable: {
8097
8100
  readonly aggregateID: string;
@@ -11874,6 +11877,7 @@ export declare const OpenCodeEvent: Schema.Union<readonly [Schema.Struct<{
11874
11877
  }>>, never, never>;
11875
11878
  readonly data: Schema.Struct<{
11876
11879
  readonly delta: Schema.$Record<Schema.String, Schema.Union<readonly [Schema.brand<Schema.String, "Instruction.Hash">, Schema.Literal<"removed">]>>;
11880
+ readonly text: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
11877
11881
  readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
11878
11882
  create: () => string & import("effect/Brand").Brand<"SessionID">;
11879
11883
  descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
@@ -11888,6 +11892,7 @@ export declare const OpenCodeEvent: Schema.Union<readonly [Schema.Struct<{
11888
11892
  };
11889
11893
  data: Schema.Struct<{
11890
11894
  readonly delta: Schema.$Record<Schema.String, Schema.Union<readonly [Schema.brand<Schema.String, "Instruction.Hash">, Schema.Literal<"removed">]>>;
11895
+ readonly text: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
11891
11896
  readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
11892
11897
  create: () => string & import("effect/Brand").Brand<"SessionID">;
11893
11898
  descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
@@ -3277,6 +3277,7 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S>(se
3277
3277
  }>>, never, never>;
3278
3278
  readonly data: Schema.Struct<{
3279
3279
  readonly delta: Schema.$Record<Schema.String, Schema.Union<readonly [Schema.brand<Schema.String, "Instruction.Hash">, Schema.Literal<"removed">]>>;
3280
+ readonly text: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
3280
3281
  readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
3281
3282
  create: () => string & import("effect/Brand").Brand<"SessionID">;
3282
3283
  descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
@@ -3291,6 +3292,7 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S>(se
3291
3292
  };
3292
3293
  data: Schema.Struct<{
3293
3294
  readonly delta: Schema.$Record<Schema.String, Schema.Union<readonly [Schema.brand<Schema.String, "Instruction.Hash">, Schema.Literal<"removed">]>>;
3295
+ readonly text: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
3294
3296
  readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
3295
3297
  create: () => string & import("effect/Brand").Brand<"SessionID">;
3296
3298
  descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
@@ -5486,10 +5488,11 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S>(se
5486
5488
  } | {
5487
5489
  readonly id: string & import("effect/Brand").Brand<"Event.ID">;
5488
5490
  readonly data: {
5491
+ readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
5489
5492
  readonly delta: {
5490
5493
  readonly [x: string]: (string & import("effect/Brand").Brand<"Instruction.Hash">) | "removed";
5491
5494
  };
5492
- readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
5495
+ readonly text?: string | undefined;
5493
5496
  };
5494
5497
  readonly durable: {
5495
5498
  readonly aggregateID: string;
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-16824",
4
+ "version": "0.0.0-next-16830",
5
5
  "type": "module",
6
6
  "license": "MIT",
7
7
  "repository": {
@@ -28,7 +28,7 @@
28
28
  "typecheck": "tsgo --noEmit"
29
29
  },
30
30
  "dependencies": {
31
- "@opencode-ai/schema": "0.0.0-next-16824",
31
+ "@opencode-ai/schema": "0.0.0-next-16830",
32
32
  "effect": "4.0.0-beta.101"
33
33
  },
34
34
  "devDependencies": {