@opencode-ai/protocol 0.0.0-next-17251 → 0.0.0-next-17263

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.
@@ -106,6 +106,67 @@ export declare const MessageGroup: HttpApiGroup.HttpApiGroup<"server.message", H
106
106
  readonly time: Schema.Struct<{
107
107
  readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
108
108
  }>;
109
+ }>, Schema.Struct<{
110
+ readonly type: Schema.tag<"location-switched">;
111
+ readonly location: Schema.Struct<{
112
+ readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
113
+ readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Workspace.ID"> & {
114
+ ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
115
+ create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
116
+ }>>, Schema.optionalKey<Schema.brand<Schema.String, "Workspace.ID"> & {
117
+ ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
118
+ create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
119
+ }>, never, never>;
120
+ }>;
121
+ readonly projectID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Project.ID"> & {
122
+ global: string & import("effect/Brand").Brand<"Project.ID">;
123
+ }>>, Schema.optionalKey<Schema.brand<Schema.String, "Project.ID"> & {
124
+ global: string & import("effect/Brand").Brand<"Project.ID">;
125
+ }>, never, never>;
126
+ readonly subpath: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "RelativePath">>>, Schema.optionalKey<Schema.brand<Schema.String, "RelativePath">>, never, never>;
127
+ readonly previous: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
128
+ readonly location: Schema.Struct<{
129
+ readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
130
+ readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Workspace.ID"> & {
131
+ ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
132
+ create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
133
+ }>>, Schema.optionalKey<Schema.brand<Schema.String, "Workspace.ID"> & {
134
+ ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
135
+ create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
136
+ }>, never, never>;
137
+ }>;
138
+ readonly projectID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Project.ID"> & {
139
+ global: string & import("effect/Brand").Brand<"Project.ID">;
140
+ }>>, Schema.optionalKey<Schema.brand<Schema.String, "Project.ID"> & {
141
+ global: string & import("effect/Brand").Brand<"Project.ID">;
142
+ }>, never, never>;
143
+ readonly subpath: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "RelativePath">>>, Schema.optionalKey<Schema.brand<Schema.String, "RelativePath">>, never, never>;
144
+ }>>>, Schema.optionalKey<Schema.Struct<{
145
+ readonly location: Schema.Struct<{
146
+ readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
147
+ readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Workspace.ID"> & {
148
+ ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
149
+ create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
150
+ }>>, Schema.optionalKey<Schema.brand<Schema.String, "Workspace.ID"> & {
151
+ ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
152
+ create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
153
+ }>, never, never>;
154
+ }>;
155
+ readonly projectID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Project.ID"> & {
156
+ global: string & import("effect/Brand").Brand<"Project.ID">;
157
+ }>>, Schema.optionalKey<Schema.brand<Schema.String, "Project.ID"> & {
158
+ global: string & import("effect/Brand").Brand<"Project.ID">;
159
+ }>, never, never>;
160
+ readonly subpath: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "RelativePath">>>, Schema.optionalKey<Schema.brand<Schema.String, "RelativePath">>, never, never>;
161
+ }>>, never, never>;
162
+ readonly id: Schema.brand<Schema.String, "Session.Message.ID"> & {
163
+ create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
164
+ fromEvent: (eventID: import("@opencode-ai/schema/event").ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
165
+ };
166
+ readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
167
+ readonly time: Schema.Struct<{
168
+ readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
169
+ }>;
109
170
  }>, Schema.Struct<{
110
171
  readonly text: Schema.String;
111
172
  readonly files: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.Struct<{
@@ -869,6 +869,67 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S>(se
869
869
  readonly time: Schema.Struct<{
870
870
  readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
871
871
  }>;
872
+ }>, Schema.Struct<{
873
+ readonly type: Schema.tag<"location-switched">;
874
+ readonly location: Schema.Struct<{
875
+ readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
876
+ readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Workspace.ID"> & {
877
+ ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
878
+ create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
879
+ }>>, Schema.optionalKey<Schema.brand<Schema.String, "Workspace.ID"> & {
880
+ ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
881
+ create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
882
+ }>, never, never>;
883
+ }>;
884
+ readonly projectID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Project.ID"> & {
885
+ global: string & import("effect/Brand").Brand<"Project.ID">;
886
+ }>>, Schema.optionalKey<Schema.brand<Schema.String, "Project.ID"> & {
887
+ global: string & import("effect/Brand").Brand<"Project.ID">;
888
+ }>, never, never>;
889
+ readonly subpath: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "RelativePath">>>, Schema.optionalKey<Schema.brand<Schema.String, "RelativePath">>, never, never>;
890
+ readonly previous: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
891
+ readonly location: Schema.Struct<{
892
+ readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
893
+ readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Workspace.ID"> & {
894
+ ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
895
+ create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
896
+ }>>, Schema.optionalKey<Schema.brand<Schema.String, "Workspace.ID"> & {
897
+ ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
898
+ create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
899
+ }>, never, never>;
900
+ }>;
901
+ readonly projectID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Project.ID"> & {
902
+ global: string & import("effect/Brand").Brand<"Project.ID">;
903
+ }>>, Schema.optionalKey<Schema.brand<Schema.String, "Project.ID"> & {
904
+ global: string & import("effect/Brand").Brand<"Project.ID">;
905
+ }>, never, never>;
906
+ readonly subpath: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "RelativePath">>>, Schema.optionalKey<Schema.brand<Schema.String, "RelativePath">>, never, never>;
907
+ }>>>, Schema.optionalKey<Schema.Struct<{
908
+ readonly location: Schema.Struct<{
909
+ readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
910
+ readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Workspace.ID"> & {
911
+ ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
912
+ create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
913
+ }>>, Schema.optionalKey<Schema.brand<Schema.String, "Workspace.ID"> & {
914
+ ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
915
+ create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
916
+ }>, never, never>;
917
+ }>;
918
+ readonly projectID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Project.ID"> & {
919
+ global: string & import("effect/Brand").Brand<"Project.ID">;
920
+ }>>, Schema.optionalKey<Schema.brand<Schema.String, "Project.ID"> & {
921
+ global: string & import("effect/Brand").Brand<"Project.ID">;
922
+ }>, never, never>;
923
+ readonly subpath: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "RelativePath">>>, Schema.optionalKey<Schema.brand<Schema.String, "RelativePath">>, never, never>;
924
+ }>>, never, never>;
925
+ readonly id: Schema.brand<Schema.String, "Session.Message.ID"> & {
926
+ create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
927
+ fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
928
+ };
929
+ readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
930
+ readonly time: Schema.Struct<{
931
+ readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
932
+ }>;
872
933
  }>, Schema.Struct<{
873
934
  readonly text: Schema.String;
874
935
  readonly files: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.Struct<{
@@ -1724,6 +1785,67 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S>(se
1724
1785
  readonly time: Schema.Struct<{
1725
1786
  readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
1726
1787
  }>;
1788
+ }>, Schema.Struct<{
1789
+ readonly type: Schema.tag<"location-switched">;
1790
+ readonly location: Schema.Struct<{
1791
+ readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
1792
+ readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Workspace.ID"> & {
1793
+ ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
1794
+ create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
1795
+ }>>, Schema.optionalKey<Schema.brand<Schema.String, "Workspace.ID"> & {
1796
+ ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
1797
+ create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
1798
+ }>, never, never>;
1799
+ }>;
1800
+ readonly projectID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Project.ID"> & {
1801
+ global: string & import("effect/Brand").Brand<"Project.ID">;
1802
+ }>>, Schema.optionalKey<Schema.brand<Schema.String, "Project.ID"> & {
1803
+ global: string & import("effect/Brand").Brand<"Project.ID">;
1804
+ }>, never, never>;
1805
+ readonly subpath: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "RelativePath">>>, Schema.optionalKey<Schema.brand<Schema.String, "RelativePath">>, never, never>;
1806
+ readonly previous: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
1807
+ readonly location: Schema.Struct<{
1808
+ readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
1809
+ readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Workspace.ID"> & {
1810
+ ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
1811
+ create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
1812
+ }>>, Schema.optionalKey<Schema.brand<Schema.String, "Workspace.ID"> & {
1813
+ ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
1814
+ create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
1815
+ }>, never, never>;
1816
+ }>;
1817
+ readonly projectID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Project.ID"> & {
1818
+ global: string & import("effect/Brand").Brand<"Project.ID">;
1819
+ }>>, Schema.optionalKey<Schema.brand<Schema.String, "Project.ID"> & {
1820
+ global: string & import("effect/Brand").Brand<"Project.ID">;
1821
+ }>, never, never>;
1822
+ readonly subpath: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "RelativePath">>>, Schema.optionalKey<Schema.brand<Schema.String, "RelativePath">>, never, never>;
1823
+ }>>>, Schema.optionalKey<Schema.Struct<{
1824
+ readonly location: Schema.Struct<{
1825
+ readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
1826
+ readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Workspace.ID"> & {
1827
+ ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
1828
+ create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
1829
+ }>>, Schema.optionalKey<Schema.brand<Schema.String, "Workspace.ID"> & {
1830
+ ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
1831
+ create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
1832
+ }>, never, never>;
1833
+ }>;
1834
+ readonly projectID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Project.ID"> & {
1835
+ global: string & import("effect/Brand").Brand<"Project.ID">;
1836
+ }>>, Schema.optionalKey<Schema.brand<Schema.String, "Project.ID"> & {
1837
+ global: string & import("effect/Brand").Brand<"Project.ID">;
1838
+ }>, never, never>;
1839
+ readonly subpath: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "RelativePath">>>, Schema.optionalKey<Schema.brand<Schema.String, "RelativePath">>, never, never>;
1840
+ }>>, never, never>;
1841
+ readonly id: Schema.brand<Schema.String, "Session.Message.ID"> & {
1842
+ create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
1843
+ fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
1844
+ };
1845
+ readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
1846
+ readonly time: Schema.Struct<{
1847
+ readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
1848
+ }>;
1727
1849
  }>, Schema.Struct<{
1728
1850
  readonly text: Schema.String;
1729
1851
  readonly files: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.Struct<{
@@ -3326,6 +3448,67 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S>(se
3326
3448
  readonly time: Schema.Struct<{
3327
3449
  readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
3328
3450
  }>;
3451
+ }>, Schema.Struct<{
3452
+ readonly type: Schema.tag<"location-switched">;
3453
+ readonly location: Schema.Struct<{
3454
+ readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
3455
+ readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Workspace.ID"> & {
3456
+ ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
3457
+ create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
3458
+ }>>, Schema.optionalKey<Schema.brand<Schema.String, "Workspace.ID"> & {
3459
+ ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
3460
+ create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
3461
+ }>, never, never>;
3462
+ }>;
3463
+ readonly projectID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Project.ID"> & {
3464
+ global: string & import("effect/Brand").Brand<"Project.ID">;
3465
+ }>>, Schema.optionalKey<Schema.brand<Schema.String, "Project.ID"> & {
3466
+ global: string & import("effect/Brand").Brand<"Project.ID">;
3467
+ }>, never, never>;
3468
+ readonly subpath: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "RelativePath">>>, Schema.optionalKey<Schema.brand<Schema.String, "RelativePath">>, never, never>;
3469
+ readonly previous: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
3470
+ readonly location: Schema.Struct<{
3471
+ readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
3472
+ readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Workspace.ID"> & {
3473
+ ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
3474
+ create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
3475
+ }>>, Schema.optionalKey<Schema.brand<Schema.String, "Workspace.ID"> & {
3476
+ ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
3477
+ create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
3478
+ }>, never, never>;
3479
+ }>;
3480
+ readonly projectID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Project.ID"> & {
3481
+ global: string & import("effect/Brand").Brand<"Project.ID">;
3482
+ }>>, Schema.optionalKey<Schema.brand<Schema.String, "Project.ID"> & {
3483
+ global: string & import("effect/Brand").Brand<"Project.ID">;
3484
+ }>, never, never>;
3485
+ readonly subpath: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "RelativePath">>>, Schema.optionalKey<Schema.brand<Schema.String, "RelativePath">>, never, never>;
3486
+ }>>>, Schema.optionalKey<Schema.Struct<{
3487
+ readonly location: Schema.Struct<{
3488
+ readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
3489
+ readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Workspace.ID"> & {
3490
+ ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
3491
+ create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
3492
+ }>>, Schema.optionalKey<Schema.brand<Schema.String, "Workspace.ID"> & {
3493
+ ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
3494
+ create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
3495
+ }>, never, never>;
3496
+ }>;
3497
+ readonly projectID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Project.ID"> & {
3498
+ global: string & import("effect/Brand").Brand<"Project.ID">;
3499
+ }>>, Schema.optionalKey<Schema.brand<Schema.String, "Project.ID"> & {
3500
+ global: string & import("effect/Brand").Brand<"Project.ID">;
3501
+ }>, never, never>;
3502
+ readonly subpath: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "RelativePath">>>, Schema.optionalKey<Schema.brand<Schema.String, "RelativePath">>, never, never>;
3503
+ }>>, never, never>;
3504
+ readonly id: Schema.brand<Schema.String, "Session.Message.ID"> & {
3505
+ create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
3506
+ fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
3507
+ };
3508
+ readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
3509
+ readonly time: Schema.Struct<{
3510
+ readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
3511
+ }>;
3329
3512
  }>, Schema.Struct<{
3330
3513
  readonly text: Schema.String;
3331
3514
  readonly files: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.Struct<{
@@ -8640,6 +8823,67 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S>(se
8640
8823
  readonly time: Schema.Struct<{
8641
8824
  readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
8642
8825
  }>;
8826
+ }>, Schema.Struct<{
8827
+ readonly type: Schema.tag<"location-switched">;
8828
+ readonly location: Schema.Struct<{
8829
+ readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
8830
+ readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Workspace.ID"> & {
8831
+ ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
8832
+ create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
8833
+ }>>, Schema.optionalKey<Schema.brand<Schema.String, "Workspace.ID"> & {
8834
+ ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
8835
+ create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
8836
+ }>, never, never>;
8837
+ }>;
8838
+ readonly projectID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Project.ID"> & {
8839
+ global: string & import("effect/Brand").Brand<"Project.ID">;
8840
+ }>>, Schema.optionalKey<Schema.brand<Schema.String, "Project.ID"> & {
8841
+ global: string & import("effect/Brand").Brand<"Project.ID">;
8842
+ }>, never, never>;
8843
+ readonly subpath: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "RelativePath">>>, Schema.optionalKey<Schema.brand<Schema.String, "RelativePath">>, never, never>;
8844
+ readonly previous: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
8845
+ readonly location: Schema.Struct<{
8846
+ readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
8847
+ readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Workspace.ID"> & {
8848
+ ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
8849
+ create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
8850
+ }>>, Schema.optionalKey<Schema.brand<Schema.String, "Workspace.ID"> & {
8851
+ ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
8852
+ create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
8853
+ }>, never, never>;
8854
+ }>;
8855
+ readonly projectID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Project.ID"> & {
8856
+ global: string & import("effect/Brand").Brand<"Project.ID">;
8857
+ }>>, Schema.optionalKey<Schema.brand<Schema.String, "Project.ID"> & {
8858
+ global: string & import("effect/Brand").Brand<"Project.ID">;
8859
+ }>, never, never>;
8860
+ readonly subpath: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "RelativePath">>>, Schema.optionalKey<Schema.brand<Schema.String, "RelativePath">>, never, never>;
8861
+ }>>>, Schema.optionalKey<Schema.Struct<{
8862
+ readonly location: Schema.Struct<{
8863
+ readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
8864
+ readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Workspace.ID"> & {
8865
+ ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
8866
+ create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
8867
+ }>>, Schema.optionalKey<Schema.brand<Schema.String, "Workspace.ID"> & {
8868
+ ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
8869
+ create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
8870
+ }>, never, never>;
8871
+ }>;
8872
+ readonly projectID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Project.ID"> & {
8873
+ global: string & import("effect/Brand").Brand<"Project.ID">;
8874
+ }>>, Schema.optionalKey<Schema.brand<Schema.String, "Project.ID"> & {
8875
+ global: string & import("effect/Brand").Brand<"Project.ID">;
8876
+ }>, never, never>;
8877
+ readonly subpath: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "RelativePath">>>, Schema.optionalKey<Schema.brand<Schema.String, "RelativePath">>, never, never>;
8878
+ }>>, never, never>;
8879
+ readonly id: Schema.brand<Schema.String, "Session.Message.ID"> & {
8880
+ create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
8881
+ fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
8882
+ };
8883
+ readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
8884
+ readonly time: Schema.Struct<{
8885
+ readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
8886
+ }>;
8643
8887
  }>, Schema.Struct<{
8644
8888
  readonly text: Schema.String;
8645
8889
  readonly files: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<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-ai/protocol",
4
- "version": "0.0.0-next-17251",
4
+ "version": "0.0.0-next-17263",
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-17251",
31
+ "@opencode-ai/schema": "0.0.0-next-17263",
32
32
  "effect": "4.0.0-beta.101"
33
33
  },
34
34
  "devDependencies": {