@opencode-ai/protocol 0.0.0-next-17353 → 0.0.0-next-17364
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.
- package/dist/groups/event.d.ts +147 -14
- package/package.json +2 -2
package/dist/groups/event.d.ts
CHANGED
|
@@ -4065,6 +4065,62 @@ export declare const EventGroup: HttpApiGroup.HttpApiGroup<"server.event", HttpA
|
|
|
4065
4065
|
global: string & import("effect/Brand").Brand<"Project.ID">;
|
|
4066
4066
|
};
|
|
4067
4067
|
}>;
|
|
4068
|
+
}, Schema.Struct<{
|
|
4069
|
+
readonly id: Schema.brand<Schema.String, "Event.ID"> & {
|
|
4070
|
+
create: () => string & import("effect/Brand").Brand<"Event.ID">;
|
|
4071
|
+
};
|
|
4072
|
+
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
4073
|
+
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
4074
|
+
readonly type: Schema.Literal<"project.directory.resolved">;
|
|
4075
|
+
readonly durable: Schema.Struct<{
|
|
4076
|
+
readonly aggregateID: Schema.String;
|
|
4077
|
+
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
4078
|
+
readonly version: Schema.decodeTo<Schema.toType<Schema.brand<Schema.Int, "Event.Version">>, Schema.Literal<number>, never, never>;
|
|
4079
|
+
}>;
|
|
4080
|
+
readonly location: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
4081
|
+
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
|
4082
|
+
readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
4083
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
4084
|
+
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
4085
|
+
}>>, Schema.optionalKey<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
4086
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
4087
|
+
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
4088
|
+
}>, never, never>;
|
|
4089
|
+
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
4090
|
+
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
|
4091
|
+
readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
4092
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
4093
|
+
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
4094
|
+
}>>, Schema.optionalKey<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
4095
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
4096
|
+
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
4097
|
+
}>, never, never>;
|
|
4098
|
+
}>>, never, never>;
|
|
4099
|
+
readonly data: Schema.Struct<{
|
|
4100
|
+
readonly projectID: Schema.brand<Schema.String, "Project.ID"> & {
|
|
4101
|
+
global: string & import("effect/Brand").Brand<"Project.ID">;
|
|
4102
|
+
};
|
|
4103
|
+
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
|
4104
|
+
readonly previous: Schema.brand<Schema.String, "Project.ID"> & {
|
|
4105
|
+
global: string & import("effect/Brand").Brand<"Project.ID">;
|
|
4106
|
+
};
|
|
4107
|
+
}>;
|
|
4108
|
+
}> & {
|
|
4109
|
+
type: "project.directory.resolved";
|
|
4110
|
+
durability: "durable";
|
|
4111
|
+
durable: {
|
|
4112
|
+
readonly version: number;
|
|
4113
|
+
readonly aggregate: string;
|
|
4114
|
+
};
|
|
4115
|
+
data: Schema.Struct<{
|
|
4116
|
+
readonly projectID: Schema.brand<Schema.String, "Project.ID"> & {
|
|
4117
|
+
global: string & import("effect/Brand").Brand<"Project.ID">;
|
|
4118
|
+
};
|
|
4119
|
+
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
|
4120
|
+
readonly previous: Schema.brand<Schema.String, "Project.ID"> & {
|
|
4121
|
+
global: string & import("effect/Brand").Brand<"Project.ID">;
|
|
4122
|
+
};
|
|
4123
|
+
}>;
|
|
4068
4124
|
}, Schema.Struct<{
|
|
4069
4125
|
readonly id: Schema.brand<Schema.String, "Event.ID"> & {
|
|
4070
4126
|
create: () => string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -7230,6 +7286,41 @@ export declare const EventGroup: HttpApiGroup.HttpApiGroup<"server.event", HttpA
|
|
|
7230
7286
|
readonly metadata?: {
|
|
7231
7287
|
readonly [x: string]: unknown;
|
|
7232
7288
|
} | undefined;
|
|
7289
|
+
} | {
|
|
7290
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
7291
|
+
readonly data: {
|
|
7292
|
+
readonly projectID: string & import("effect/Brand").Brand<"Project.ID">;
|
|
7293
|
+
};
|
|
7294
|
+
readonly type: "project.directories.updated";
|
|
7295
|
+
readonly created: import("effect/DateTime").Utc;
|
|
7296
|
+
readonly location?: {
|
|
7297
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
7298
|
+
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
7299
|
+
} | undefined;
|
|
7300
|
+
readonly metadata?: {
|
|
7301
|
+
readonly [x: string]: unknown;
|
|
7302
|
+
} | undefined;
|
|
7303
|
+
} | {
|
|
7304
|
+
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
7305
|
+
readonly data: {
|
|
7306
|
+
readonly projectID: string & import("effect/Brand").Brand<"Project.ID">;
|
|
7307
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
7308
|
+
readonly previous: string & import("effect/Brand").Brand<"Project.ID">;
|
|
7309
|
+
};
|
|
7310
|
+
readonly durable: {
|
|
7311
|
+
readonly aggregateID: string;
|
|
7312
|
+
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
7313
|
+
readonly version: number & import("effect/Brand").Brand<"Event.Version">;
|
|
7314
|
+
};
|
|
7315
|
+
readonly type: "project.directory.resolved";
|
|
7316
|
+
readonly created: import("effect/DateTime").Utc;
|
|
7317
|
+
readonly location?: {
|
|
7318
|
+
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
7319
|
+
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
7320
|
+
} | undefined;
|
|
7321
|
+
readonly metadata?: {
|
|
7322
|
+
readonly [x: string]: unknown;
|
|
7323
|
+
} | undefined;
|
|
7233
7324
|
} | {
|
|
7234
7325
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
7235
7326
|
readonly data: {
|
|
@@ -7324,20 +7415,6 @@ export declare const EventGroup: HttpApiGroup.HttpApiGroup<"server.event", HttpA
|
|
|
7324
7415
|
readonly metadata?: {
|
|
7325
7416
|
readonly [x: string]: unknown;
|
|
7326
7417
|
} | undefined;
|
|
7327
|
-
} | {
|
|
7328
|
-
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
7329
|
-
readonly data: {
|
|
7330
|
-
readonly projectID: string & import("effect/Brand").Brand<"Project.ID">;
|
|
7331
|
-
};
|
|
7332
|
-
readonly type: "project.directories.updated";
|
|
7333
|
-
readonly created: import("effect/DateTime").Utc;
|
|
7334
|
-
readonly location?: {
|
|
7335
|
-
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
7336
|
-
readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
|
|
7337
|
-
} | undefined;
|
|
7338
|
-
readonly metadata?: {
|
|
7339
|
-
readonly [x: string]: unknown;
|
|
7340
|
-
} | undefined;
|
|
7341
7418
|
} | {
|
|
7342
7419
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
7343
7420
|
readonly data: {
|
|
@@ -11650,6 +11727,62 @@ export declare const OpenCodeEvent: Schema.Union<readonly [Schema.Struct<{
|
|
|
11650
11727
|
global: string & import("effect/Brand").Brand<"Project.ID">;
|
|
11651
11728
|
};
|
|
11652
11729
|
}>;
|
|
11730
|
+
}, Schema.Struct<{
|
|
11731
|
+
readonly id: Schema.brand<Schema.String, "Event.ID"> & {
|
|
11732
|
+
create: () => string & import("effect/Brand").Brand<"Event.ID">;
|
|
11733
|
+
};
|
|
11734
|
+
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
11735
|
+
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
11736
|
+
readonly type: Schema.Literal<"project.directory.resolved">;
|
|
11737
|
+
readonly durable: Schema.Struct<{
|
|
11738
|
+
readonly aggregateID: Schema.String;
|
|
11739
|
+
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
11740
|
+
readonly version: Schema.decodeTo<Schema.toType<Schema.brand<Schema.Int, "Event.Version">>, Schema.Literal<number>, never, never>;
|
|
11741
|
+
}>;
|
|
11742
|
+
readonly location: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
11743
|
+
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
|
11744
|
+
readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
11745
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
11746
|
+
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
11747
|
+
}>>, Schema.optionalKey<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
11748
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
11749
|
+
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
11750
|
+
}>, never, never>;
|
|
11751
|
+
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
11752
|
+
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
|
11753
|
+
readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
11754
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
11755
|
+
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
11756
|
+
}>>, Schema.optionalKey<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
11757
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
11758
|
+
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
11759
|
+
}>, never, never>;
|
|
11760
|
+
}>>, never, never>;
|
|
11761
|
+
readonly data: Schema.Struct<{
|
|
11762
|
+
readonly projectID: Schema.brand<Schema.String, "Project.ID"> & {
|
|
11763
|
+
global: string & import("effect/Brand").Brand<"Project.ID">;
|
|
11764
|
+
};
|
|
11765
|
+
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
|
11766
|
+
readonly previous: Schema.brand<Schema.String, "Project.ID"> & {
|
|
11767
|
+
global: string & import("effect/Brand").Brand<"Project.ID">;
|
|
11768
|
+
};
|
|
11769
|
+
}>;
|
|
11770
|
+
}> & {
|
|
11771
|
+
type: "project.directory.resolved";
|
|
11772
|
+
durability: "durable";
|
|
11773
|
+
durable: {
|
|
11774
|
+
readonly version: number;
|
|
11775
|
+
readonly aggregate: string;
|
|
11776
|
+
};
|
|
11777
|
+
data: Schema.Struct<{
|
|
11778
|
+
readonly projectID: Schema.brand<Schema.String, "Project.ID"> & {
|
|
11779
|
+
global: string & import("effect/Brand").Brand<"Project.ID">;
|
|
11780
|
+
};
|
|
11781
|
+
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
|
11782
|
+
readonly previous: Schema.brand<Schema.String, "Project.ID"> & {
|
|
11783
|
+
global: string & import("effect/Brand").Brand<"Project.ID">;
|
|
11784
|
+
};
|
|
11785
|
+
}>;
|
|
11653
11786
|
}, Schema.Struct<{
|
|
11654
11787
|
readonly id: Schema.brand<Schema.String, "Event.ID"> & {
|
|
11655
11788
|
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-
|
|
4
|
+
"version": "0.0.0-next-17364",
|
|
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-
|
|
31
|
+
"@opencode-ai/schema": "0.0.0-next-17364",
|
|
32
32
|
"effect": "4.0.0-beta.101"
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|