@opencode-ai/protocol 0.0.0-next-15183 → 0.0.0-next-15185
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 +0 -123
- package/package.json +2 -2
package/dist/groups/event.d.ts
CHANGED
|
@@ -7623,58 +7623,6 @@ export declare const EventGroup: HttpApiGroup.HttpApiGroup<"server.event", HttpA
|
|
|
7623
7623
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
7624
7624
|
};
|
|
7625
7625
|
}>;
|
|
7626
|
-
}) | (Schema.Struct<{
|
|
7627
|
-
readonly id: Schema.brand<Schema.String, "Event.ID"> & {
|
|
7628
|
-
create: () => string & import("effect/Brand").Brand<"Event.ID">;
|
|
7629
|
-
};
|
|
7630
|
-
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
7631
|
-
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
7632
|
-
readonly type: Schema.Literal<"todo.updated">;
|
|
7633
|
-
readonly location: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
7634
|
-
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
|
7635
|
-
readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "WorkspaceV2.ID"> & {
|
|
7636
|
-
ascending: (id?: string) => string & import("effect/Brand").Brand<"WorkspaceV2.ID">;
|
|
7637
|
-
create: () => string & import("effect/Brand").Brand<"WorkspaceV2.ID">;
|
|
7638
|
-
}>>, Schema.optionalKey<Schema.brand<Schema.String, "WorkspaceV2.ID"> & {
|
|
7639
|
-
ascending: (id?: string) => string & import("effect/Brand").Brand<"WorkspaceV2.ID">;
|
|
7640
|
-
create: () => string & import("effect/Brand").Brand<"WorkspaceV2.ID">;
|
|
7641
|
-
}>, never, never>;
|
|
7642
|
-
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
7643
|
-
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
|
7644
|
-
readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "WorkspaceV2.ID"> & {
|
|
7645
|
-
ascending: (id?: string) => string & import("effect/Brand").Brand<"WorkspaceV2.ID">;
|
|
7646
|
-
create: () => string & import("effect/Brand").Brand<"WorkspaceV2.ID">;
|
|
7647
|
-
}>>, Schema.optionalKey<Schema.brand<Schema.String, "WorkspaceV2.ID"> & {
|
|
7648
|
-
ascending: (id?: string) => string & import("effect/Brand").Brand<"WorkspaceV2.ID">;
|
|
7649
|
-
create: () => string & import("effect/Brand").Brand<"WorkspaceV2.ID">;
|
|
7650
|
-
}>, never, never>;
|
|
7651
|
-
}>>, never, never>;
|
|
7652
|
-
readonly data: Schema.Struct<{
|
|
7653
|
-
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
7654
|
-
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
7655
|
-
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
7656
|
-
};
|
|
7657
|
-
readonly todos: Schema.$Array<Schema.Struct<{
|
|
7658
|
-
readonly content: Schema.String;
|
|
7659
|
-
readonly status: Schema.String;
|
|
7660
|
-
readonly priority: Schema.String;
|
|
7661
|
-
}>>;
|
|
7662
|
-
}>;
|
|
7663
|
-
}> & {
|
|
7664
|
-
type: "todo.updated";
|
|
7665
|
-
durability: "ephemeral";
|
|
7666
|
-
durable: undefined;
|
|
7667
|
-
data: Schema.Struct<{
|
|
7668
|
-
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
7669
|
-
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
7670
|
-
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
7671
|
-
};
|
|
7672
|
-
readonly todos: Schema.$Array<Schema.Struct<{
|
|
7673
|
-
readonly content: Schema.String;
|
|
7674
|
-
readonly status: Schema.String;
|
|
7675
|
-
readonly priority: Schema.String;
|
|
7676
|
-
}>>;
|
|
7677
|
-
}>;
|
|
7678
7626
|
}) | (Schema.Struct<{
|
|
7679
7627
|
readonly id: Schema.brand<Schema.String, "Event.ID"> & {
|
|
7680
7628
|
create: () => string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -10478,25 +10426,6 @@ export declare const EventGroup: HttpApiGroup.HttpApiGroup<"server.event", HttpA
|
|
|
10478
10426
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
10479
10427
|
readonly workspaceID?: (string & import("effect/Brand").Brand<"WorkspaceV2.ID">) | undefined;
|
|
10480
10428
|
} | undefined;
|
|
10481
|
-
} | {
|
|
10482
|
-
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
10483
|
-
readonly created: import("effect/DateTime").Utc;
|
|
10484
|
-
readonly type: "todo.updated";
|
|
10485
|
-
readonly data: {
|
|
10486
|
-
readonly sessionID: string & import("effect/Brand").Brand<"SessionID">;
|
|
10487
|
-
readonly todos: readonly {
|
|
10488
|
-
readonly content: string;
|
|
10489
|
-
readonly status: string;
|
|
10490
|
-
readonly priority: string;
|
|
10491
|
-
}[];
|
|
10492
|
-
};
|
|
10493
|
-
readonly metadata?: {
|
|
10494
|
-
readonly [x: string]: unknown;
|
|
10495
|
-
} | undefined;
|
|
10496
|
-
readonly location?: {
|
|
10497
|
-
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
10498
|
-
readonly workspaceID?: (string & import("effect/Brand").Brand<"WorkspaceV2.ID">) | undefined;
|
|
10499
|
-
} | undefined;
|
|
10500
10429
|
} | {
|
|
10501
10430
|
readonly id: string & import("effect/Brand").Brand<"Event.ID">;
|
|
10502
10431
|
readonly created: import("effect/DateTime").Utc;
|
|
@@ -18174,58 +18103,6 @@ export declare const OpenCodeEvent: Schema.Union<readonly [Schema.Struct<{
|
|
|
18174
18103
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
18175
18104
|
};
|
|
18176
18105
|
}>;
|
|
18177
|
-
}) | (Schema.Struct<{
|
|
18178
|
-
readonly id: Schema.brand<Schema.String, "Event.ID"> & {
|
|
18179
|
-
create: () => string & import("effect/Brand").Brand<"Event.ID">;
|
|
18180
|
-
};
|
|
18181
|
-
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
18182
|
-
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
18183
|
-
readonly type: Schema.Literal<"todo.updated">;
|
|
18184
|
-
readonly location: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
18185
|
-
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
|
18186
|
-
readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "WorkspaceV2.ID"> & {
|
|
18187
|
-
ascending: (id?: string) => string & import("effect/Brand").Brand<"WorkspaceV2.ID">;
|
|
18188
|
-
create: () => string & import("effect/Brand").Brand<"WorkspaceV2.ID">;
|
|
18189
|
-
}>>, Schema.optionalKey<Schema.brand<Schema.String, "WorkspaceV2.ID"> & {
|
|
18190
|
-
ascending: (id?: string) => string & import("effect/Brand").Brand<"WorkspaceV2.ID">;
|
|
18191
|
-
create: () => string & import("effect/Brand").Brand<"WorkspaceV2.ID">;
|
|
18192
|
-
}>, never, never>;
|
|
18193
|
-
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
18194
|
-
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
|
18195
|
-
readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "WorkspaceV2.ID"> & {
|
|
18196
|
-
ascending: (id?: string) => string & import("effect/Brand").Brand<"WorkspaceV2.ID">;
|
|
18197
|
-
create: () => string & import("effect/Brand").Brand<"WorkspaceV2.ID">;
|
|
18198
|
-
}>>, Schema.optionalKey<Schema.brand<Schema.String, "WorkspaceV2.ID"> & {
|
|
18199
|
-
ascending: (id?: string) => string & import("effect/Brand").Brand<"WorkspaceV2.ID">;
|
|
18200
|
-
create: () => string & import("effect/Brand").Brand<"WorkspaceV2.ID">;
|
|
18201
|
-
}>, never, never>;
|
|
18202
|
-
}>>, never, never>;
|
|
18203
|
-
readonly data: Schema.Struct<{
|
|
18204
|
-
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
18205
|
-
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
18206
|
-
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
18207
|
-
};
|
|
18208
|
-
readonly todos: Schema.$Array<Schema.Struct<{
|
|
18209
|
-
readonly content: Schema.String;
|
|
18210
|
-
readonly status: Schema.String;
|
|
18211
|
-
readonly priority: Schema.String;
|
|
18212
|
-
}>>;
|
|
18213
|
-
}>;
|
|
18214
|
-
}> & {
|
|
18215
|
-
type: "todo.updated";
|
|
18216
|
-
durability: "ephemeral";
|
|
18217
|
-
durable: undefined;
|
|
18218
|
-
data: Schema.Struct<{
|
|
18219
|
-
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
18220
|
-
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
18221
|
-
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
18222
|
-
};
|
|
18223
|
-
readonly todos: Schema.$Array<Schema.Struct<{
|
|
18224
|
-
readonly content: Schema.String;
|
|
18225
|
-
readonly status: Schema.String;
|
|
18226
|
-
readonly priority: Schema.String;
|
|
18227
|
-
}>>;
|
|
18228
|
-
}>;
|
|
18229
18106
|
}) | (Schema.Struct<{
|
|
18230
18107
|
readonly id: Schema.brand<Schema.String, "Event.ID"> & {
|
|
18231
18108
|
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-15185",
|
|
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-
|
|
29
|
+
"@opencode-ai/schema": "0.0.0-next-15185",
|
|
30
30
|
"effect": "4.0.0-beta.83"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|