@opencode/protocol 0.0.0-dev-19595 → 0.0.0-dev-19598

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.
@@ -191,7 +191,7 @@ export declare const EventGroup: HttpApiGroup.HttpApiGroup<"server.event", HttpA
191
191
  };
192
192
  readonly created: Schema.Finite;
193
193
  readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
194
- readonly type: Schema.Literal<"catalog.updated">;
194
+ readonly type: Schema.Literal<"provider.updated">;
195
195
  readonly location: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
196
196
  readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
197
197
  readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Workspace.ID"> & {
@@ -213,7 +213,39 @@ export declare const EventGroup: HttpApiGroup.HttpApiGroup<"server.event", HttpA
213
213
  }>>, never, never>;
214
214
  readonly data: Schema.Struct<{}>;
215
215
  }> & {
216
- type: "catalog.updated";
216
+ type: "provider.updated";
217
+ durability: "ephemeral";
218
+ durable: undefined;
219
+ data: Schema.Struct<{}>;
220
+ }, Schema.Struct<{
221
+ readonly id: Schema.brand<Schema.String, "Event.ID"> & {
222
+ create: () => string & import("effect/Brand").Brand<"Event.ID">;
223
+ };
224
+ readonly created: Schema.Finite;
225
+ readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
226
+ readonly type: Schema.Literal<"model.updated">;
227
+ readonly location: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
228
+ readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
229
+ readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Workspace.ID"> & {
230
+ ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
231
+ create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
232
+ }>>, Schema.optionalKey<Schema.brand<Schema.String, "Workspace.ID"> & {
233
+ ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
234
+ create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
235
+ }>, never, never>;
236
+ }>>>, Schema.optionalKey<Schema.Struct<{
237
+ readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
238
+ readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Workspace.ID"> & {
239
+ ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
240
+ create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
241
+ }>>, Schema.optionalKey<Schema.brand<Schema.String, "Workspace.ID"> & {
242
+ ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
243
+ create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
244
+ }>, never, never>;
245
+ }>>, never, never>;
246
+ readonly data: Schema.Struct<{}>;
247
+ }> & {
248
+ type: "model.updated";
217
249
  durability: "ephemeral";
218
250
  durable: undefined;
219
251
  data: Schema.Struct<{}>;
@@ -6496,6 +6528,30 @@ export declare const EventGroup: HttpApiGroup.HttpApiGroup<"server.event", HttpA
6496
6528
  readonly metadata?: {
6497
6529
  readonly [x: string]: unknown;
6498
6530
  } | undefined;
6531
+ } | {
6532
+ readonly id: string & import("effect/Brand").Brand<"Event.ID">;
6533
+ readonly data: {};
6534
+ readonly type: "provider.updated";
6535
+ readonly created: number;
6536
+ readonly location?: {
6537
+ readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
6538
+ readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
6539
+ } | undefined;
6540
+ readonly metadata?: {
6541
+ readonly [x: string]: unknown;
6542
+ } | undefined;
6543
+ } | {
6544
+ readonly id: string & import("effect/Brand").Brand<"Event.ID">;
6545
+ readonly data: {};
6546
+ readonly type: "model.updated";
6547
+ readonly created: number;
6548
+ readonly location?: {
6549
+ readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
6550
+ readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
6551
+ } | undefined;
6552
+ readonly metadata?: {
6553
+ readonly [x: string]: unknown;
6554
+ } | undefined;
6499
6555
  } | {
6500
6556
  readonly id: string & import("effect/Brand").Brand<"Event.ID">;
6501
6557
  readonly data: {
@@ -7988,18 +8044,6 @@ export declare const EventGroup: HttpApiGroup.HttpApiGroup<"server.event", HttpA
7988
8044
  readonly metadata?: {
7989
8045
  readonly [x: string]: unknown;
7990
8046
  } | undefined;
7991
- } | {
7992
- readonly id: string & import("effect/Brand").Brand<"Event.ID">;
7993
- readonly data: {};
7994
- readonly type: "catalog.updated";
7995
- readonly created: number;
7996
- readonly location?: {
7997
- readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
7998
- readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
7999
- } | undefined;
8000
- readonly metadata?: {
8001
- readonly [x: string]: unknown;
8002
- } | undefined;
8003
8047
  } | {
8004
8048
  readonly id: string & import("effect/Brand").Brand<"Event.ID">;
8005
8049
  readonly data: {};
@@ -8563,7 +8607,39 @@ export declare const OpenCodeEvent: Schema.Union<readonly [Schema.Struct<{
8563
8607
  };
8564
8608
  readonly created: Schema.Finite;
8565
8609
  readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
8566
- readonly type: Schema.Literal<"catalog.updated">;
8610
+ readonly type: Schema.Literal<"provider.updated">;
8611
+ readonly location: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
8612
+ readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
8613
+ readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Workspace.ID"> & {
8614
+ ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
8615
+ create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
8616
+ }>>, Schema.optionalKey<Schema.brand<Schema.String, "Workspace.ID"> & {
8617
+ ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
8618
+ create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
8619
+ }>, never, never>;
8620
+ }>>>, Schema.optionalKey<Schema.Struct<{
8621
+ readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
8622
+ readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Workspace.ID"> & {
8623
+ ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
8624
+ create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
8625
+ }>>, Schema.optionalKey<Schema.brand<Schema.String, "Workspace.ID"> & {
8626
+ ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
8627
+ create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
8628
+ }>, never, never>;
8629
+ }>>, never, never>;
8630
+ readonly data: Schema.Struct<{}>;
8631
+ }> & {
8632
+ type: "provider.updated";
8633
+ durability: "ephemeral";
8634
+ durable: undefined;
8635
+ data: Schema.Struct<{}>;
8636
+ }, Schema.Struct<{
8637
+ readonly id: Schema.brand<Schema.String, "Event.ID"> & {
8638
+ create: () => string & import("effect/Brand").Brand<"Event.ID">;
8639
+ };
8640
+ readonly created: Schema.Finite;
8641
+ readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
8642
+ readonly type: Schema.Literal<"model.updated">;
8567
8643
  readonly location: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
8568
8644
  readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
8569
8645
  readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Workspace.ID"> & {
@@ -8585,7 +8661,7 @@ export declare const OpenCodeEvent: Schema.Union<readonly [Schema.Struct<{
8585
8661
  }>>, never, never>;
8586
8662
  readonly data: Schema.Struct<{}>;
8587
8663
  }> & {
8588
- type: "catalog.updated";
8664
+ type: "model.updated";
8589
8665
  durability: "ephemeral";
8590
8666
  durable: undefined;
8591
8667
  data: 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/protocol",
4
- "version": "0.0.0-dev-19595",
4
+ "version": "0.0.0-dev-19598",
5
5
  "type": "module",
6
6
  "license": "MIT",
7
7
  "repository": {
@@ -32,7 +32,7 @@
32
32
  "typecheck": "tsgo --noEmit"
33
33
  },
34
34
  "dependencies": {
35
- "@opencode/schema": "0.0.0-dev-19595",
35
+ "@opencode/schema": "0.0.0-dev-19598",
36
36
  "effect": "4.0.0-rc.112"
37
37
  },
38
38
  "devDependencies": {