@opencode-ai/protocol 0.0.0-next-15810 → 0.0.0-next-15811
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 +10 -0
- package/dist/groups/session.d.ts +6 -0
- package/package.json +2 -2
package/dist/groups/event.d.ts
CHANGED
|
@@ -2145,6 +2145,8 @@ export declare const EventGroup: HttpApiGroup.HttpApiGroup<"server.event", HttpA
|
|
|
2145
2145
|
readonly write: Schema.Finite;
|
|
2146
2146
|
}>;
|
|
2147
2147
|
}>>, never, never>;
|
|
2148
|
+
readonly snapshot: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Snapshot.ID">>>, Schema.optionalKey<Schema.brand<Schema.String, "Snapshot.ID">>, never, never>;
|
|
2149
|
+
readonly files: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.brand<Schema.String, "RelativePath">>>>, Schema.optionalKey<Schema.$Array<Schema.brand<Schema.String, "RelativePath">>>, never, never>;
|
|
2148
2150
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
2149
2151
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
2150
2152
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
@@ -2188,6 +2190,8 @@ export declare const EventGroup: HttpApiGroup.HttpApiGroup<"server.event", HttpA
|
|
|
2188
2190
|
readonly write: Schema.Finite;
|
|
2189
2191
|
}>;
|
|
2190
2192
|
}>>, never, never>;
|
|
2193
|
+
readonly snapshot: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Snapshot.ID">>>, Schema.optionalKey<Schema.brand<Schema.String, "Snapshot.ID">>, never, never>;
|
|
2194
|
+
readonly files: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.brand<Schema.String, "RelativePath">>>>, Schema.optionalKey<Schema.$Array<Schema.brand<Schema.String, "RelativePath">>>, never, never>;
|
|
2191
2195
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
2192
2196
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
2193
2197
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
@@ -8669,6 +8673,8 @@ export declare const EventGroup: HttpApiGroup.HttpApiGroup<"server.event", HttpA
|
|
|
8669
8673
|
}, "Type">;
|
|
8670
8674
|
readonly assistantMessageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
8671
8675
|
readonly cost?: (number & import("effect/Brand").Brand<"Money.USD">) | undefined;
|
|
8676
|
+
readonly files?: readonly (string & import("effect/Brand").Brand<"RelativePath">)[] | undefined;
|
|
8677
|
+
readonly snapshot?: (string & import("effect/Brand").Brand<"Snapshot.ID">) | undefined;
|
|
8672
8678
|
readonly tokens?: Schema.Struct.ReadonlySide<{
|
|
8673
8679
|
readonly input: Schema.Finite;
|
|
8674
8680
|
readonly output: Schema.Finite;
|
|
@@ -13372,6 +13378,8 @@ export declare const OpenCodeEvent: Schema.Union<readonly [Schema.Struct<{
|
|
|
13372
13378
|
readonly write: Schema.Finite;
|
|
13373
13379
|
}>;
|
|
13374
13380
|
}>>, never, never>;
|
|
13381
|
+
readonly snapshot: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Snapshot.ID">>>, Schema.optionalKey<Schema.brand<Schema.String, "Snapshot.ID">>, never, never>;
|
|
13382
|
+
readonly files: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.brand<Schema.String, "RelativePath">>>>, Schema.optionalKey<Schema.$Array<Schema.brand<Schema.String, "RelativePath">>>, never, never>;
|
|
13375
13383
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
13376
13384
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
13377
13385
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
@@ -13415,6 +13423,8 @@ export declare const OpenCodeEvent: Schema.Union<readonly [Schema.Struct<{
|
|
|
13415
13423
|
readonly write: Schema.Finite;
|
|
13416
13424
|
}>;
|
|
13417
13425
|
}>>, never, never>;
|
|
13426
|
+
readonly snapshot: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Snapshot.ID">>>, Schema.optionalKey<Schema.brand<Schema.String, "Snapshot.ID">>, never, never>;
|
|
13427
|
+
readonly files: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.brand<Schema.String, "RelativePath">>>>, Schema.optionalKey<Schema.$Array<Schema.brand<Schema.String, "RelativePath">>>, never, never>;
|
|
13418
13428
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
13419
13429
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
13420
13430
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
package/dist/groups/session.d.ts
CHANGED
|
@@ -3812,6 +3812,8 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S>(se
|
|
|
3812
3812
|
readonly write: Schema.Finite;
|
|
3813
3813
|
}>;
|
|
3814
3814
|
}>>, never, never>;
|
|
3815
|
+
readonly snapshot: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Snapshot.ID">>>, Schema.optionalKey<Schema.brand<Schema.String, "Snapshot.ID">>, never, never>;
|
|
3816
|
+
readonly files: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.brand<Schema.String, "RelativePath">>>>, Schema.optionalKey<Schema.$Array<Schema.brand<Schema.String, "RelativePath">>>, never, never>;
|
|
3815
3817
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
3816
3818
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
3817
3819
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
@@ -3855,6 +3857,8 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S>(se
|
|
|
3855
3857
|
readonly write: Schema.Finite;
|
|
3856
3858
|
}>;
|
|
3857
3859
|
}>>, never, never>;
|
|
3860
|
+
readonly snapshot: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Snapshot.ID">>>, Schema.optionalKey<Schema.brand<Schema.String, "Snapshot.ID">>, never, never>;
|
|
3861
|
+
readonly files: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.brand<Schema.String, "RelativePath">>>>, Schema.optionalKey<Schema.$Array<Schema.brand<Schema.String, "RelativePath">>>, never, never>;
|
|
3858
3862
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
3859
3863
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
3860
3864
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
@@ -5828,6 +5832,8 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S>(se
|
|
|
5828
5832
|
}, "Type">;
|
|
5829
5833
|
readonly assistantMessageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
5830
5834
|
readonly cost?: (number & import("effect/Brand").Brand<"Money.USD">) | undefined;
|
|
5835
|
+
readonly files?: readonly (string & import("effect/Brand").Brand<"RelativePath">)[] | undefined;
|
|
5836
|
+
readonly snapshot?: (string & import("effect/Brand").Brand<"Snapshot.ID">) | undefined;
|
|
5831
5837
|
readonly tokens?: Schema.Struct.ReadonlySide<{
|
|
5832
5838
|
readonly input: Schema.Finite;
|
|
5833
5839
|
readonly output: Schema.Finite;
|
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-15811",
|
|
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-15811",
|
|
30
30
|
"effect": "4.0.0-beta.98"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|