@opencode-ai/protocol 0.0.0-next-14941 → 0.0.0-next-14942

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.
@@ -6347,6 +6347,38 @@ export declare const EventGroup: HttpApiGroup.HttpApiGroup<"server.event", HttpA
6347
6347
  data: Schema.Struct<{
6348
6348
  readonly id: Schema.brand<Schema.String, "Plugin.ID">;
6349
6349
  }>;
6350
+ }) | (Schema.Struct<{
6351
+ readonly id: Schema.brand<Schema.String, "Event.ID"> & {
6352
+ create: () => string & import("effect/Brand").Brand<"Event.ID">;
6353
+ };
6354
+ readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
6355
+ readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
6356
+ readonly type: Schema.Literal<"plugin.updated">;
6357
+ readonly location: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
6358
+ readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
6359
+ readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "WorkspaceV2.ID"> & {
6360
+ ascending: (id?: string) => string & import("effect/Brand").Brand<"WorkspaceV2.ID">;
6361
+ create: () => string & import("effect/Brand").Brand<"WorkspaceV2.ID">;
6362
+ }>>, Schema.optionalKey<Schema.brand<Schema.String, "WorkspaceV2.ID"> & {
6363
+ ascending: (id?: string) => string & import("effect/Brand").Brand<"WorkspaceV2.ID">;
6364
+ create: () => string & import("effect/Brand").Brand<"WorkspaceV2.ID">;
6365
+ }>, never, never>;
6366
+ }>>>, Schema.optionalKey<Schema.Struct<{
6367
+ readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
6368
+ readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "WorkspaceV2.ID"> & {
6369
+ ascending: (id?: string) => string & import("effect/Brand").Brand<"WorkspaceV2.ID">;
6370
+ create: () => string & import("effect/Brand").Brand<"WorkspaceV2.ID">;
6371
+ }>>, Schema.optionalKey<Schema.brand<Schema.String, "WorkspaceV2.ID"> & {
6372
+ ascending: (id?: string) => string & import("effect/Brand").Brand<"WorkspaceV2.ID">;
6373
+ create: () => string & import("effect/Brand").Brand<"WorkspaceV2.ID">;
6374
+ }>, never, never>;
6375
+ }>>, never, never>;
6376
+ readonly data: Schema.Struct<{}>;
6377
+ }> & {
6378
+ type: "plugin.updated";
6379
+ durability: "ephemeral";
6380
+ durable: undefined;
6381
+ data: Schema.Struct<{}>;
6350
6382
  }) | (Schema.Struct<{
6351
6383
  readonly id: Schema.brand<Schema.String, "Event.ID"> & {
6352
6384
  create: () => string & import("effect/Brand").Brand<"Event.ID">;
@@ -9525,6 +9557,18 @@ export declare const EventGroup: HttpApiGroup.HttpApiGroup<"server.event", HttpA
9525
9557
  readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
9526
9558
  readonly workspaceID?: (string & import("effect/Brand").Brand<"WorkspaceV2.ID">) | undefined;
9527
9559
  } | undefined;
9560
+ } | {
9561
+ readonly id: string & import("effect/Brand").Brand<"Event.ID">;
9562
+ readonly created: import("effect/DateTime").Utc;
9563
+ readonly type: "plugin.updated";
9564
+ readonly data: {};
9565
+ readonly metadata?: {
9566
+ readonly [x: string]: unknown;
9567
+ } | undefined;
9568
+ readonly location?: {
9569
+ readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
9570
+ readonly workspaceID?: (string & import("effect/Brand").Brand<"WorkspaceV2.ID">) | undefined;
9571
+ } | undefined;
9528
9572
  } | {
9529
9573
  readonly id: string & import("effect/Brand").Brand<"Event.ID">;
9530
9574
  readonly created: import("effect/DateTime").Utc;
@@ -16188,6 +16232,38 @@ export declare const OpenCodeEvent: Schema.Union<readonly [Schema.Struct<{
16188
16232
  data: Schema.Struct<{
16189
16233
  readonly id: Schema.brand<Schema.String, "Plugin.ID">;
16190
16234
  }>;
16235
+ }) | (Schema.Struct<{
16236
+ readonly id: Schema.brand<Schema.String, "Event.ID"> & {
16237
+ create: () => string & import("effect/Brand").Brand<"Event.ID">;
16238
+ };
16239
+ readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
16240
+ readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
16241
+ readonly type: Schema.Literal<"plugin.updated">;
16242
+ readonly location: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
16243
+ readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
16244
+ readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "WorkspaceV2.ID"> & {
16245
+ ascending: (id?: string) => string & import("effect/Brand").Brand<"WorkspaceV2.ID">;
16246
+ create: () => string & import("effect/Brand").Brand<"WorkspaceV2.ID">;
16247
+ }>>, Schema.optionalKey<Schema.brand<Schema.String, "WorkspaceV2.ID"> & {
16248
+ ascending: (id?: string) => string & import("effect/Brand").Brand<"WorkspaceV2.ID">;
16249
+ create: () => string & import("effect/Brand").Brand<"WorkspaceV2.ID">;
16250
+ }>, never, never>;
16251
+ }>>>, Schema.optionalKey<Schema.Struct<{
16252
+ readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
16253
+ readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "WorkspaceV2.ID"> & {
16254
+ ascending: (id?: string) => string & import("effect/Brand").Brand<"WorkspaceV2.ID">;
16255
+ create: () => string & import("effect/Brand").Brand<"WorkspaceV2.ID">;
16256
+ }>>, Schema.optionalKey<Schema.brand<Schema.String, "WorkspaceV2.ID"> & {
16257
+ ascending: (id?: string) => string & import("effect/Brand").Brand<"WorkspaceV2.ID">;
16258
+ create: () => string & import("effect/Brand").Brand<"WorkspaceV2.ID">;
16259
+ }>, never, never>;
16260
+ }>>, never, never>;
16261
+ readonly data: Schema.Struct<{}>;
16262
+ }> & {
16263
+ type: "plugin.updated";
16264
+ durability: "ephemeral";
16265
+ durable: undefined;
16266
+ data: Schema.Struct<{}>;
16191
16267
  }) | (Schema.Struct<{
16192
16268
  readonly id: Schema.brand<Schema.String, "Event.ID"> & {
16193
16269
  create: () => string & import("effect/Brand").Brand<"Event.ID">;
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-14941",
4
+ "version": "0.0.0-next-14942",
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-14941",
29
+ "@opencode-ai/schema": "0.0.0-next-14942",
30
30
  "effect": "4.0.0-beta.83"
31
31
  },
32
32
  "devDependencies": {