@opencode-ai/protocol 0.0.0-next-15019 → 0.0.0-next-15021
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/session.d.ts +100 -0
- package/package.json +2 -2
package/dist/groups/session.d.ts
CHANGED
|
@@ -155,6 +155,31 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S>(se
|
|
|
155
155
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
156
156
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
157
157
|
}>, never, never>;
|
|
158
|
+
readonly fork: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
159
|
+
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
160
|
+
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
161
|
+
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
162
|
+
};
|
|
163
|
+
readonly messageID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
164
|
+
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
165
|
+
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
166
|
+
}>>, Schema.optionalKey<Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
167
|
+
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
168
|
+
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
169
|
+
}>, never, never>;
|
|
170
|
+
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
171
|
+
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
172
|
+
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
173
|
+
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
174
|
+
};
|
|
175
|
+
readonly messageID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
176
|
+
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
177
|
+
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
178
|
+
}>>, Schema.optionalKey<Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
179
|
+
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
180
|
+
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
181
|
+
}>, never, never>;
|
|
182
|
+
}>>, never, never>;
|
|
158
183
|
readonly projectID: Schema.brand<Schema.String, "Project.ID"> & {
|
|
159
184
|
global: string & import("effect/Brand").Brand<"Project.ID">;
|
|
160
185
|
};
|
|
@@ -385,6 +410,31 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S>(se
|
|
|
385
410
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
386
411
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
387
412
|
}>, never, never>;
|
|
413
|
+
readonly fork: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
414
|
+
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
415
|
+
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
416
|
+
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
417
|
+
};
|
|
418
|
+
readonly messageID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
419
|
+
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
420
|
+
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
421
|
+
}>>, Schema.optionalKey<Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
422
|
+
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
423
|
+
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
424
|
+
}>, never, never>;
|
|
425
|
+
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
426
|
+
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
427
|
+
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
428
|
+
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
429
|
+
};
|
|
430
|
+
readonly messageID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
431
|
+
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
432
|
+
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
433
|
+
}>>, Schema.optionalKey<Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
434
|
+
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
435
|
+
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
436
|
+
}>, never, never>;
|
|
437
|
+
}>>, never, never>;
|
|
388
438
|
readonly projectID: Schema.brand<Schema.String, "Project.ID"> & {
|
|
389
439
|
global: string & import("effect/Brand").Brand<"Project.ID">;
|
|
390
440
|
};
|
|
@@ -518,6 +568,31 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S>(se
|
|
|
518
568
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
519
569
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
520
570
|
}>, never, never>;
|
|
571
|
+
readonly fork: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
572
|
+
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
573
|
+
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
574
|
+
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
575
|
+
};
|
|
576
|
+
readonly messageID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
577
|
+
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
578
|
+
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
579
|
+
}>>, Schema.optionalKey<Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
580
|
+
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
581
|
+
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
582
|
+
}>, never, never>;
|
|
583
|
+
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
584
|
+
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
585
|
+
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
586
|
+
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
587
|
+
};
|
|
588
|
+
readonly messageID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
589
|
+
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
590
|
+
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
591
|
+
}>>, Schema.optionalKey<Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
592
|
+
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
593
|
+
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
594
|
+
}>, never, never>;
|
|
595
|
+
}>>, never, never>;
|
|
521
596
|
readonly projectID: Schema.brand<Schema.String, "Project.ID"> & {
|
|
522
597
|
global: string & import("effect/Brand").Brand<"Project.ID">;
|
|
523
598
|
};
|
|
@@ -649,6 +724,31 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S>(se
|
|
|
649
724
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
650
725
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
651
726
|
}>, never, never>;
|
|
727
|
+
readonly fork: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
728
|
+
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
729
|
+
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
730
|
+
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
731
|
+
};
|
|
732
|
+
readonly messageID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
733
|
+
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
734
|
+
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
735
|
+
}>>, Schema.optionalKey<Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
736
|
+
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
737
|
+
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
738
|
+
}>, never, never>;
|
|
739
|
+
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
740
|
+
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
741
|
+
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
742
|
+
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
743
|
+
};
|
|
744
|
+
readonly messageID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
745
|
+
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
746
|
+
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
747
|
+
}>>, Schema.optionalKey<Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
748
|
+
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
749
|
+
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
750
|
+
}>, never, never>;
|
|
751
|
+
}>>, never, never>;
|
|
652
752
|
readonly projectID: Schema.brand<Schema.String, "Project.ID"> & {
|
|
653
753
|
global: string & import("effect/Brand").Brand<"Project.ID">;
|
|
654
754
|
};
|
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-15021",
|
|
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-15021",
|
|
30
30
|
"effect": "4.0.0-beta.83"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|