@opencode/protocol 0.0.0-dev-19557 → 0.0.0-dev-19559

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.
@@ -9,13 +9,6 @@ export declare const AgentGroup: HttpApiGroup.HttpApiGroup<"server.agent", HttpA
9
9
  }>>, never, never, Schema.toCodecJson<Schema.Struct<{
10
10
  readonly location: Schema.Struct<{
11
11
  readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
12
- readonly project: Schema.Struct<{
13
- readonly id: Schema.brand<Schema.String, "Project.ID"> & {
14
- global: string & import("effect/Brand").Brand<"Project.ID">;
15
- };
16
- readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
17
- readonly canonical: Schema.brand<Schema.String, "AbsolutePath">;
18
- }>;
19
12
  }>;
20
13
  readonly data: Schema.$Array<Schema.Struct<{
21
14
  readonly id: Schema.brand<Schema.String, "Agent.ID">;
@@ -112,13 +105,6 @@ export declare const AgentGroup: HttpApiGroup.HttpApiGroup<"server.agent", HttpA
112
105
  }>>, never, never, Schema.toCodecJson<Schema.Struct<{
113
106
  readonly location: Schema.Struct<{
114
107
  readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
115
- readonly project: Schema.Struct<{
116
- readonly id: Schema.brand<Schema.String, "Project.ID"> & {
117
- global: string & import("effect/Brand").Brand<"Project.ID">;
118
- };
119
- readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
120
- readonly canonical: Schema.brand<Schema.String, "AbsolutePath">;
121
- }>;
122
108
  }>;
123
109
  readonly data: Schema.Struct<{
124
110
  readonly id: Schema.brand<Schema.String, "Agent.ID">;
@@ -7,13 +7,6 @@ export declare const CommandGroup: HttpApiGroup.HttpApiGroup<"server.command", H
7
7
  }>>, never, never, Schema.toCodecJson<Schema.Struct<{
8
8
  readonly location: Schema.Struct<{
9
9
  readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
10
- readonly project: Schema.Struct<{
11
- readonly id: Schema.brand<Schema.String, "Project.ID"> & {
12
- global: string & import("effect/Brand").Brand<"Project.ID">;
13
- };
14
- readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
15
- readonly canonical: Schema.brand<Schema.String, "AbsolutePath">;
16
- }>;
17
10
  }>;
18
11
  readonly data: Schema.$Array<Schema.Struct<{
19
12
  readonly name: Schema.String;
@@ -4587,7 +4587,6 @@ export declare const EventGroup: HttpApiGroup.HttpApiGroup<"server.event", HttpA
4587
4587
  readonly time: Schema.Struct<{
4588
4588
  readonly created: Schema.Int;
4589
4589
  readonly updated: Schema.Int;
4590
- readonly initialized: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
4591
4590
  }>;
4592
4591
  readonly sandboxes: Schema.$Array<Schema.String>;
4593
4592
  }>;
@@ -4619,7 +4618,6 @@ export declare const EventGroup: HttpApiGroup.HttpApiGroup<"server.event", HttpA
4619
4618
  readonly time: Schema.Struct<{
4620
4619
  readonly created: Schema.Int;
4621
4620
  readonly updated: Schema.Int;
4622
- readonly initialized: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
4623
4621
  }>;
4624
4622
  readonly sandboxes: Schema.$Array<Schema.String>;
4625
4623
  }>;
@@ -6561,7 +6559,6 @@ export declare const EventGroup: HttpApiGroup.HttpApiGroup<"server.event", HttpA
6561
6559
  readonly time: {
6562
6560
  readonly created: number;
6563
6561
  readonly updated: number;
6564
- readonly initialized?: number | undefined;
6565
6562
  };
6566
6563
  readonly sandboxes: readonly string[];
6567
6564
  readonly name?: string | undefined;
@@ -12962,7 +12959,6 @@ export declare const OpenCodeEvent: Schema.Union<readonly [Schema.Struct<{
12962
12959
  readonly time: Schema.Struct<{
12963
12960
  readonly created: Schema.Int;
12964
12961
  readonly updated: Schema.Int;
12965
- readonly initialized: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
12966
12962
  }>;
12967
12963
  readonly sandboxes: Schema.$Array<Schema.String>;
12968
12964
  }>;
@@ -12994,7 +12990,6 @@ export declare const OpenCodeEvent: Schema.Union<readonly [Schema.Struct<{
12994
12990
  readonly time: Schema.Struct<{
12995
12991
  readonly created: Schema.Int;
12996
12992
  readonly updated: Schema.Int;
12997
- readonly initialized: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
12998
12993
  }>;
12999
12994
  readonly sandboxes: Schema.$Array<Schema.String>;
13000
12995
  }>;
@@ -130,13 +130,6 @@ export declare const makeFormGroup: <LocationId extends HttpApiMiddleware.AnyId,
130
130
  }>>, never, never, Schema.toCodecJson<Schema.Struct<{
131
131
  readonly location: Schema.Struct<{
132
132
  readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
133
- readonly project: Schema.Struct<{
134
- readonly id: Schema.brand<Schema.String, "Project.ID"> & {
135
- global: string & import("effect/Brand").Brand<"Project.ID">;
136
- };
137
- readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
138
- readonly canonical: Schema.brand<Schema.String, "AbsolutePath">;
139
- }>;
140
133
  }>;
141
134
  readonly data: Schema.$Array<Schema.Struct<{
142
135
  readonly fields: Schema.NonEmptyArray<Schema.Union<readonly [Schema.Struct<{
@@ -13,13 +13,6 @@ export declare const FileSystemGroup: HttpApiGroup.HttpApiGroup<"server.fs", Htt
13
13
  }>>, never, never, Schema.toCodecJson<Schema.Struct<{
14
14
  readonly location: Schema.Struct<{
15
15
  readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
16
- readonly project: Schema.Struct<{
17
- readonly id: Schema.brand<Schema.String, "Project.ID"> & {
18
- global: string & import("effect/Brand").Brand<"Project.ID">;
19
- };
20
- readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
21
- readonly canonical: Schema.brand<Schema.String, "AbsolutePath">;
22
- }>;
23
16
  }>;
24
17
  readonly data: Schema.$Array<Schema.Struct<{
25
18
  readonly path: Schema.brand<Schema.String, "RelativePath">;
@@ -35,13 +28,6 @@ export declare const FileSystemGroup: HttpApiGroup.HttpApiGroup<"server.fs", Htt
35
28
  }>>, never, never, Schema.toCodecJson<Schema.Struct<{
36
29
  readonly location: Schema.Struct<{
37
30
  readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
38
- readonly project: Schema.Struct<{
39
- readonly id: Schema.brand<Schema.String, "Project.ID"> & {
40
- global: string & import("effect/Brand").Brand<"Project.ID">;
41
- };
42
- readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
43
- readonly canonical: Schema.brand<Schema.String, "AbsolutePath">;
44
- }>;
45
31
  }>;
46
32
  readonly data: Schema.$Array<Schema.Struct<{
47
33
  readonly path: Schema.brand<Schema.String, "RelativePath">;
@@ -9,13 +9,6 @@ export declare const IntegrationGroup: HttpApiGroup.HttpApiGroup<"server.integra
9
9
  }>>, never, never, Schema.toCodecJson<Schema.Struct<{
10
10
  readonly location: Schema.Struct<{
11
11
  readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
12
- readonly project: Schema.Struct<{
13
- readonly id: Schema.brand<Schema.String, "Project.ID"> & {
14
- global: string & import("effect/Brand").Brand<"Project.ID">;
15
- };
16
- readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
17
- readonly canonical: Schema.brand<Schema.String, "AbsolutePath">;
18
- }>;
19
12
  }>;
20
13
  readonly data: Schema.$Array<Schema.Struct<{
21
14
  readonly id: Schema.brand<Schema.String, "Integration.ID">;
@@ -511,13 +504,6 @@ export declare const IntegrationGroup: HttpApiGroup.HttpApiGroup<"server.integra
511
504
  }>>, never, never, Schema.toCodecJson<Schema.Struct<{
512
505
  readonly location: Schema.Struct<{
513
506
  readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
514
- readonly project: Schema.Struct<{
515
- readonly id: Schema.brand<Schema.String, "Project.ID"> & {
516
- global: string & import("effect/Brand").Brand<"Project.ID">;
517
- };
518
- readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
519
- readonly canonical: Schema.brand<Schema.String, "AbsolutePath">;
520
- }>;
521
507
  }>;
522
508
  readonly data: Schema.UndefinedOr<Schema.Struct<{
523
509
  readonly id: Schema.brand<Schema.String, "Integration.ID">;
@@ -1033,13 +1019,6 @@ export declare const IntegrationGroup: HttpApiGroup.HttpApiGroup<"server.integra
1033
1019
  }>>, never, Schema.toCodecJson<Schema.Struct<{
1034
1020
  readonly location: Schema.Struct<{
1035
1021
  readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
1036
- readonly project: Schema.Struct<{
1037
- readonly id: Schema.brand<Schema.String, "Project.ID"> & {
1038
- global: string & import("effect/Brand").Brand<"Project.ID">;
1039
- };
1040
- readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
1041
- readonly canonical: Schema.brand<Schema.String, "AbsolutePath">;
1042
- }>;
1043
1022
  }>;
1044
1023
  readonly data: typeof Integration.Attempt;
1045
1024
  }>>, Schema.toCodecJson<typeof InvalidRequestError>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"integration.oauth.status", "GET", "/api/integration/:integrationID/connect/oauth/:attemptID", Schema.toCodecStringTree<Schema.Struct<{
@@ -1054,13 +1033,6 @@ export declare const IntegrationGroup: HttpApiGroup.HttpApiGroup<"server.integra
1054
1033
  }>>, never, never, Schema.toCodecJson<Schema.Struct<{
1055
1034
  readonly location: Schema.Struct<{
1056
1035
  readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
1057
- readonly project: Schema.Struct<{
1058
- readonly id: Schema.brand<Schema.String, "Project.ID"> & {
1059
- global: string & import("effect/Brand").Brand<"Project.ID">;
1060
- };
1061
- readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
1062
- readonly canonical: Schema.brand<Schema.String, "AbsolutePath">;
1063
- }>;
1064
1036
  }>;
1065
1037
  readonly data: Schema.Union<readonly [Schema.Struct<{
1066
1038
  readonly status: Schema.Literal<"pending">;
@@ -1120,13 +1092,6 @@ export declare const IntegrationGroup: HttpApiGroup.HttpApiGroup<"server.integra
1120
1092
  }>>, never, Schema.toCodecJson<Schema.Struct<{
1121
1093
  readonly location: Schema.Struct<{
1122
1094
  readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
1123
- readonly project: Schema.Struct<{
1124
- readonly id: Schema.brand<Schema.String, "Project.ID"> & {
1125
- global: string & import("effect/Brand").Brand<"Project.ID">;
1126
- };
1127
- readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
1128
- readonly canonical: Schema.brand<Schema.String, "AbsolutePath">;
1129
- }>;
1130
1095
  }>;
1131
1096
  readonly data: Schema.Struct<{
1132
1097
  readonly attemptID: Schema.brand<Schema.String, "Integration.AttemptID"> & {
@@ -1149,13 +1114,6 @@ export declare const IntegrationGroup: HttpApiGroup.HttpApiGroup<"server.integra
1149
1114
  }>>, never, never, Schema.toCodecJson<Schema.Struct<{
1150
1115
  readonly location: Schema.Struct<{
1151
1116
  readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
1152
- readonly project: Schema.Struct<{
1153
- readonly id: Schema.brand<Schema.String, "Project.ID"> & {
1154
- global: string & import("effect/Brand").Brand<"Project.ID">;
1155
- };
1156
- readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
1157
- readonly canonical: Schema.brand<Schema.String, "AbsolutePath">;
1158
- }>;
1159
1117
  }>;
1160
1118
  readonly data: Schema.Union<readonly [Schema.Struct<{
1161
1119
  readonly status: Schema.Literal<"pending">;
@@ -9,13 +9,6 @@ export declare const McpGroup: HttpApiGroup.HttpApiGroup<"server.mcp", HttpApiEn
9
9
  }>>, never, never, Schema.toCodecJson<Schema.Struct<{
10
10
  readonly location: Schema.Struct<{
11
11
  readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
12
- readonly project: Schema.Struct<{
13
- readonly id: Schema.brand<Schema.String, "Project.ID"> & {
14
- global: string & import("effect/Brand").Brand<"Project.ID">;
15
- };
16
- readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
17
- readonly canonical: Schema.brand<Schema.String, "AbsolutePath">;
18
- }>;
19
12
  }>;
20
13
  readonly data: Schema.$Array<Schema.Struct<{
21
14
  readonly name: Schema.String;
@@ -66,13 +59,6 @@ export declare const McpGroup: HttpApiGroup.HttpApiGroup<"server.mcp", HttpApiEn
66
59
  }>>, never, never, Schema.toCodecJson<Schema.Struct<{
67
60
  readonly location: Schema.Struct<{
68
61
  readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
69
- readonly project: Schema.Struct<{
70
- readonly id: Schema.brand<Schema.String, "Project.ID"> & {
71
- global: string & import("effect/Brand").Brand<"Project.ID">;
72
- };
73
- readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
74
- readonly canonical: Schema.brand<Schema.String, "AbsolutePath">;
75
- }>;
76
62
  }>;
77
63
  readonly data: Schema.Struct<{
78
64
  readonly resources: Schema.$Array<Schema.Struct<{
@@ -9,13 +9,6 @@ export declare const ModelGroup: HttpApiGroup.HttpApiGroup<"server.model", HttpA
9
9
  }>>, never, never, Schema.toCodecJson<Schema.Struct<{
10
10
  readonly location: Schema.Struct<{
11
11
  readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
12
- readonly project: Schema.Struct<{
13
- readonly id: Schema.brand<Schema.String, "Project.ID"> & {
14
- global: string & import("effect/Brand").Brand<"Project.ID">;
15
- };
16
- readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
17
- readonly canonical: Schema.brand<Schema.String, "AbsolutePath">;
18
- }>;
19
12
  }>;
20
13
  readonly data: Schema.$Array<Schema.Struct<{
21
14
  readonly capabilities: Schema.Struct<{
@@ -171,13 +164,6 @@ export declare const ModelGroup: HttpApiGroup.HttpApiGroup<"server.model", HttpA
171
164
  }>>, never, never, Schema.toCodecJson<Schema.Struct<{
172
165
  readonly location: Schema.Struct<{
173
166
  readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
174
- readonly project: Schema.Struct<{
175
- readonly id: Schema.brand<Schema.String, "Project.ID"> & {
176
- global: string & import("effect/Brand").Brand<"Project.ID">;
177
- };
178
- readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
179
- readonly canonical: Schema.brand<Schema.String, "AbsolutePath">;
180
- }>;
181
167
  }>;
182
168
  readonly data: Schema.UndefinedOr<Schema.Struct<{
183
169
  readonly capabilities: Schema.Struct<{
@@ -8,13 +8,6 @@ export declare const makePermissionGroup: <LocationId extends HttpApiMiddleware.
8
8
  }>>, never, never, Schema.toCodecJson<Schema.Struct<{
9
9
  readonly location: Schema.Struct<{
10
10
  readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
11
- readonly project: Schema.Struct<{
12
- readonly id: Schema.brand<Schema.String, "Project.ID"> & {
13
- global: string & import("effect/Brand").Brand<"Project.ID">;
14
- };
15
- readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
16
- readonly canonical: Schema.brand<Schema.String, "AbsolutePath">;
17
- }>;
18
11
  }>;
19
12
  readonly data: Schema.$Array<Schema.Struct<{
20
13
  readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
@@ -8,13 +8,6 @@ export declare const PluginGroup: HttpApiGroup.HttpApiGroup<"server.plugin", Htt
8
8
  }>>, never, never, Schema.toCodecJson<Schema.Struct<{
9
9
  readonly location: Schema.Struct<{
10
10
  readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
11
- readonly project: Schema.Struct<{
12
- readonly id: Schema.brand<Schema.String, "Project.ID"> & {
13
- global: string & import("effect/Brand").Brand<"Project.ID">;
14
- };
15
- readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
16
- readonly canonical: Schema.brand<Schema.String, "AbsolutePath">;
17
- }>;
18
11
  }>;
19
12
  readonly data: Schema.$Array<Schema.Struct<{
20
13
  readonly id: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Plugin.ID">>>, Schema.optionalKey<Schema.brand<Schema.String, "Plugin.ID">>, never, never>;
@@ -58,13 +51,6 @@ export declare const PluginGroup: HttpApiGroup.HttpApiGroup<"server.plugin", Htt
58
51
  }>>, never, Schema.toCodecJson<Schema.Struct<{
59
52
  readonly location: Schema.Struct<{
60
53
  readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
61
- readonly project: Schema.Struct<{
62
- readonly id: Schema.brand<Schema.String, "Project.ID"> & {
63
- global: string & import("effect/Brand").Brand<"Project.ID">;
64
- };
65
- readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
66
- readonly canonical: Schema.brand<Schema.String, "AbsolutePath">;
67
- }>;
68
54
  }>;
69
55
  readonly data: Schema.$Array<Schema.Struct<{
70
56
  readonly id: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Plugin.ID">>>, Schema.optionalKey<Schema.brand<Schema.String, "Plugin.ID">>, never, never>;
@@ -25,7 +25,6 @@ export declare const ProjectGroup: HttpApiGroup.HttpApiGroup<"server.project", H
25
25
  readonly time: Schema.Struct<{
26
26
  readonly created: Schema.Int;
27
27
  readonly updated: Schema.Int;
28
- readonly initialized: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
29
28
  }>;
30
29
  readonly sandboxes: Schema.$Array<Schema.String>;
31
30
  }>>>, never, never, never> | HttpApiEndpoint.HttpApiEndpoint<"project.update", "PATCH", "/api/project/:projectID", Schema.toCodecStringTree<Schema.Struct<{
@@ -73,7 +72,6 @@ export declare const ProjectGroup: HttpApiGroup.HttpApiGroup<"server.project", H
73
72
  readonly time: Schema.Struct<{
74
73
  readonly created: Schema.Int;
75
74
  readonly updated: Schema.Int;
76
- readonly initialized: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
77
75
  }>;
78
76
  readonly sandboxes: Schema.$Array<Schema.String>;
79
77
  }>>, Schema.toCodecJson<typeof ProjectNotFoundError>, never, never>, false>;
@@ -9,13 +9,6 @@ export declare const ProviderGroup: HttpApiGroup.HttpApiGroup<"server.provider",
9
9
  }>>, never, never, Schema.toCodecJson<Schema.Struct<{
10
10
  readonly location: Schema.Struct<{
11
11
  readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
12
- readonly project: Schema.Struct<{
13
- readonly id: Schema.brand<Schema.String, "Project.ID"> & {
14
- global: string & import("effect/Brand").Brand<"Project.ID">;
15
- };
16
- readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
17
- readonly canonical: Schema.brand<Schema.String, "AbsolutePath">;
18
- }>;
19
12
  }>;
20
13
  readonly data: Schema.$Array<Schema.Struct<{
21
14
  readonly settings: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Any>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Any>>, never, never>;
@@ -99,13 +92,6 @@ export declare const ProviderGroup: HttpApiGroup.HttpApiGroup<"server.provider",
99
92
  }>>, never, never, Schema.toCodecJson<Schema.Struct<{
100
93
  readonly location: Schema.Struct<{
101
94
  readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
102
- readonly project: Schema.Struct<{
103
- readonly id: Schema.brand<Schema.String, "Project.ID"> & {
104
- global: string & import("effect/Brand").Brand<"Project.ID">;
105
- };
106
- readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
107
- readonly canonical: Schema.brand<Schema.String, "AbsolutePath">;
108
- }>;
109
95
  }>;
110
96
  readonly data: Schema.Struct<{
111
97
  readonly settings: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Any>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Any>>, never, never>;
@@ -12,13 +12,6 @@ export declare const PtyGroup: HttpApiGroup.HttpApiGroup<"server.pty", HttpApiEn
12
12
  }>>, never, never, Schema.toCodecJson<Schema.Struct<{
13
13
  readonly location: Schema.Struct<{
14
14
  readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
15
- readonly project: Schema.Struct<{
16
- readonly id: Schema.brand<Schema.String, "Project.ID"> & {
17
- global: string & import("effect/Brand").Brand<"Project.ID">;
18
- };
19
- readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
20
- readonly canonical: Schema.brand<Schema.String, "AbsolutePath">;
21
- }>;
22
15
  }>;
23
16
  readonly data: Schema.$Array<Schema.Struct<{
24
17
  readonly id: Schema.brand<Schema.String, "PtyID"> & {
@@ -46,13 +39,6 @@ export declare const PtyGroup: HttpApiGroup.HttpApiGroup<"server.pty", HttpApiEn
46
39
  }>>, never, Schema.toCodecJson<Schema.Struct<{
47
40
  readonly location: Schema.Struct<{
48
41
  readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
49
- readonly project: Schema.Struct<{
50
- readonly id: Schema.brand<Schema.String, "Project.ID"> & {
51
- global: string & import("effect/Brand").Brand<"Project.ID">;
52
- };
53
- readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
54
- readonly canonical: Schema.brand<Schema.String, "AbsolutePath">;
55
- }>;
56
42
  }>;
57
43
  readonly data: Schema.Struct<{
58
44
  readonly id: Schema.brand<Schema.String, "PtyID"> & {
@@ -79,13 +65,6 @@ export declare const PtyGroup: HttpApiGroup.HttpApiGroup<"server.pty", HttpApiEn
79
65
  }>>, never, never, Schema.toCodecJson<Schema.Struct<{
80
66
  readonly location: Schema.Struct<{
81
67
  readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
82
- readonly project: Schema.Struct<{
83
- readonly id: Schema.brand<Schema.String, "Project.ID"> & {
84
- global: string & import("effect/Brand").Brand<"Project.ID">;
85
- };
86
- readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
87
- readonly canonical: Schema.brand<Schema.String, "AbsolutePath">;
88
- }>;
89
68
  }>;
90
69
  readonly data: Schema.Struct<{
91
70
  readonly id: Schema.brand<Schema.String, "PtyID"> & {
@@ -121,13 +100,6 @@ export declare const PtyGroup: HttpApiGroup.HttpApiGroup<"server.pty", HttpApiEn
121
100
  }>>, never, Schema.toCodecJson<Schema.Struct<{
122
101
  readonly location: Schema.Struct<{
123
102
  readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
124
- readonly project: Schema.Struct<{
125
- readonly id: Schema.brand<Schema.String, "Project.ID"> & {
126
- global: string & import("effect/Brand").Brand<"Project.ID">;
127
- };
128
- readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
129
- readonly canonical: Schema.brand<Schema.String, "AbsolutePath">;
130
- }>;
131
103
  }>;
132
104
  readonly data: Schema.Struct<{
133
105
  readonly id: Schema.brand<Schema.String, "PtyID"> & {
@@ -165,13 +137,6 @@ export declare const PtyGroup: HttpApiGroup.HttpApiGroup<"server.pty", HttpApiEn
165
137
  }>>, Schema.toCodecJson<Schema.Struct<{
166
138
  readonly location: Schema.Struct<{
167
139
  readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
168
- readonly project: Schema.Struct<{
169
- readonly id: Schema.brand<Schema.String, "Project.ID"> & {
170
- global: string & import("effect/Brand").Brand<"Project.ID">;
171
- };
172
- readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
173
- readonly canonical: Schema.brand<Schema.String, "AbsolutePath">;
174
- }>;
175
140
  }>;
176
141
  readonly data: Schema.Struct<{
177
142
  readonly ticket: Schema.String;
@@ -7,13 +7,6 @@ export declare const ReferenceGroup: HttpApiGroup.HttpApiGroup<"server.reference
7
7
  }>>, never, never, Schema.toCodecJson<Schema.Struct<{
8
8
  readonly location: Schema.Struct<{
9
9
  readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
10
- readonly project: Schema.Struct<{
11
- readonly id: Schema.brand<Schema.String, "Project.ID"> & {
12
- global: string & import("effect/Brand").Brand<"Project.ID">;
13
- };
14
- readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
15
- readonly canonical: Schema.brand<Schema.String, "AbsolutePath">;
16
- }>;
17
10
  }>;
18
11
  readonly data: Schema.$Array<Schema.Struct<{
19
12
  readonly name: Schema.String;
@@ -8,13 +8,6 @@ export declare const ShellGroup: HttpApiGroup.HttpApiGroup<"server.shell", HttpA
8
8
  }>>, never, never, Schema.toCodecJson<Schema.Struct<{
9
9
  readonly location: Schema.Struct<{
10
10
  readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
11
- readonly project: Schema.Struct<{
12
- readonly id: Schema.brand<Schema.String, "Project.ID"> & {
13
- global: string & import("effect/Brand").Brand<"Project.ID">;
14
- };
15
- readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
16
- readonly canonical: Schema.brand<Schema.String, "AbsolutePath">;
17
- }>;
18
11
  }>;
19
12
  readonly data: Schema.$Array<Schema.Struct<{
20
13
  readonly id: Schema.brand<Schema.String, "Shell.ID"> & {
@@ -46,13 +39,6 @@ export declare const ShellGroup: HttpApiGroup.HttpApiGroup<"server.shell", HttpA
46
39
  }>>, never, Schema.toCodecJson<Schema.Struct<{
47
40
  readonly location: Schema.Struct<{
48
41
  readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
49
- readonly project: Schema.Struct<{
50
- readonly id: Schema.brand<Schema.String, "Project.ID"> & {
51
- global: string & import("effect/Brand").Brand<"Project.ID">;
52
- };
53
- readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
54
- readonly canonical: Schema.brand<Schema.String, "AbsolutePath">;
55
- }>;
56
42
  }>;
57
43
  readonly data: Schema.Struct<{
58
44
  readonly id: Schema.brand<Schema.String, "Shell.ID"> & {
@@ -84,13 +70,6 @@ export declare const ShellGroup: HttpApiGroup.HttpApiGroup<"server.shell", HttpA
84
70
  }>>, never, never, Schema.toCodecJson<Schema.Struct<{
85
71
  readonly location: Schema.Struct<{
86
72
  readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
87
- readonly project: Schema.Struct<{
88
- readonly id: Schema.brand<Schema.String, "Project.ID"> & {
89
- global: string & import("effect/Brand").Brand<"Project.ID">;
90
- };
91
- readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
92
- readonly canonical: Schema.brand<Schema.String, "AbsolutePath">;
93
- }>;
94
73
  }>;
95
74
  readonly data: Schema.Struct<{
96
75
  readonly id: Schema.brand<Schema.String, "Shell.ID"> & {
@@ -124,13 +103,6 @@ export declare const ShellGroup: HttpApiGroup.HttpApiGroup<"server.shell", HttpA
124
103
  }>>, never, Schema.toCodecJson<Schema.Struct<{
125
104
  readonly location: Schema.Struct<{
126
105
  readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
127
- readonly project: Schema.Struct<{
128
- readonly id: Schema.brand<Schema.String, "Project.ID"> & {
129
- global: string & import("effect/Brand").Brand<"Project.ID">;
130
- };
131
- readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
132
- readonly canonical: Schema.brand<Schema.String, "AbsolutePath">;
133
- }>;
134
106
  }>;
135
107
  readonly data: Schema.Struct<{
136
108
  readonly id: Schema.brand<Schema.String, "Shell.ID"> & {
@@ -164,13 +136,6 @@ export declare const ShellGroup: HttpApiGroup.HttpApiGroup<"server.shell", HttpA
164
136
  }>>, never, never, Schema.toCodecJson<Schema.Struct<{
165
137
  readonly location: Schema.Struct<{
166
138
  readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
167
- readonly project: Schema.Struct<{
168
- readonly id: Schema.brand<Schema.String, "Project.ID"> & {
169
- global: string & import("effect/Brand").Brand<"Project.ID">;
170
- };
171
- readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
172
- readonly canonical: Schema.brand<Schema.String, "AbsolutePath">;
173
- }>;
174
139
  }>;
175
140
  readonly data: Schema.Struct<{
176
141
  readonly output: Schema.String;
@@ -7,13 +7,6 @@ export declare const SkillGroup: HttpApiGroup.HttpApiGroup<"server.skill", HttpA
7
7
  }>>, never, never, Schema.toCodecJson<Schema.Struct<{
8
8
  readonly location: Schema.Struct<{
9
9
  readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
10
- readonly project: Schema.Struct<{
11
- readonly id: Schema.brand<Schema.String, "Project.ID"> & {
12
- global: string & import("effect/Brand").Brand<"Project.ID">;
13
- };
14
- readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
15
- readonly canonical: Schema.brand<Schema.String, "AbsolutePath">;
16
- }>;
17
10
  }>;
18
11
  readonly data: Schema.$Array<Schema.Struct<{
19
12
  readonly id: Schema.brand<Schema.String, "Skill.ID">;
@@ -8,13 +8,6 @@ export declare const VcsGroup: HttpApiGroup.HttpApiGroup<"server.vcs", HttpApiEn
8
8
  }>>, never, never, Schema.toCodecJson<Schema.Struct<{
9
9
  readonly location: Schema.Struct<{
10
10
  readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
11
- readonly project: Schema.Struct<{
12
- readonly id: Schema.brand<Schema.String, "Project.ID"> & {
13
- global: string & import("effect/Brand").Brand<"Project.ID">;
14
- };
15
- readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
16
- readonly canonical: Schema.brand<Schema.String, "AbsolutePath">;
17
- }>;
18
11
  }>;
19
12
  readonly data: Schema.Struct<{
20
13
  readonly branch: Schema.Struct<{
@@ -29,13 +22,6 @@ export declare const VcsGroup: HttpApiGroup.HttpApiGroup<"server.vcs", HttpApiEn
29
22
  }>>, never, never, Schema.toCodecJson<Schema.Struct<{
30
23
  readonly location: Schema.Struct<{
31
24
  readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
32
- readonly project: Schema.Struct<{
33
- readonly id: Schema.brand<Schema.String, "Project.ID"> & {
34
- global: string & import("effect/Brand").Brand<"Project.ID">;
35
- };
36
- readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
37
- readonly canonical: Schema.brand<Schema.String, "AbsolutePath">;
38
- }>;
39
25
  }>;
40
26
  readonly data: Schema.NullOr<Schema.Struct<{
41
27
  readonly name: Schema.String;
@@ -49,13 +35,6 @@ export declare const VcsGroup: HttpApiGroup.HttpApiGroup<"server.vcs", HttpApiEn
49
35
  }>>, never, never, Schema.toCodecJson<Schema.Struct<{
50
36
  readonly location: Schema.Struct<{
51
37
  readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
52
- readonly project: Schema.Struct<{
53
- readonly id: Schema.brand<Schema.String, "Project.ID"> & {
54
- global: string & import("effect/Brand").Brand<"Project.ID">;
55
- };
56
- readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
57
- readonly canonical: Schema.brand<Schema.String, "AbsolutePath">;
58
- }>;
59
38
  }>;
60
39
  readonly data: Schema.$Array<Schema.Struct<{
61
40
  readonly file: Schema.String;
@@ -72,13 +51,6 @@ export declare const VcsGroup: HttpApiGroup.HttpApiGroup<"server.vcs", HttpApiEn
72
51
  }>>, never, never, Schema.toCodecJson<Schema.Struct<{
73
52
  readonly location: Schema.Struct<{
74
53
  readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
75
- readonly project: Schema.Struct<{
76
- readonly id: Schema.brand<Schema.String, "Project.ID"> & {
77
- global: string & import("effect/Brand").Brand<"Project.ID">;
78
- };
79
- readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
80
- readonly canonical: Schema.brand<Schema.String, "AbsolutePath">;
81
- }>;
82
54
  }>;
83
55
  readonly data: Schema.$Array<Schema.String>;
84
56
  }>>, never, never, never> | HttpApiEndpoint.HttpApiEndpoint<"vcs.diff", "GET", "/api/vcs/diff", never, Schema.toCodecStringTree<Schema.Struct<{
@@ -91,13 +63,6 @@ export declare const VcsGroup: HttpApiGroup.HttpApiGroup<"server.vcs", HttpApiEn
91
63
  }>>, never, never, Schema.toCodecJson<Schema.Struct<{
92
64
  readonly location: Schema.Struct<{
93
65
  readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
94
- readonly project: Schema.Struct<{
95
- readonly id: Schema.brand<Schema.String, "Project.ID"> & {
96
- global: string & import("effect/Brand").Brand<"Project.ID">;
97
- };
98
- readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
99
- readonly canonical: Schema.brand<Schema.String, "AbsolutePath">;
100
- }>;
101
66
  }>;
102
67
  readonly data: Schema.$Array<Schema.Struct<{
103
68
  readonly file: Schema.String;
@@ -9,13 +9,6 @@ export declare const WebSearchGroup: HttpApiGroup.HttpApiGroup<"server.websearch
9
9
  }>>, never, never, Schema.toCodecJson<Schema.Struct<{
10
10
  readonly location: Schema.Struct<{
11
11
  readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
12
- readonly project: Schema.Struct<{
13
- readonly id: Schema.brand<Schema.String, "Project.ID"> & {
14
- global: string & import("effect/Brand").Brand<"Project.ID">;
15
- };
16
- readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
17
- readonly canonical: Schema.brand<Schema.String, "AbsolutePath">;
18
- }>;
19
12
  }>;
20
13
  readonly data: Schema.$Array<Schema.Struct<{
21
14
  readonly id: Schema.brand<Schema.String, "WebSearch.ID">;
@@ -31,13 +24,6 @@ export declare const WebSearchGroup: HttpApiGroup.HttpApiGroup<"server.websearch
31
24
  }>>, never, Schema.toCodecJson<Schema.Struct<{
32
25
  readonly location: Schema.Struct<{
33
26
  readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
34
- readonly project: Schema.Struct<{
35
- readonly id: Schema.brand<Schema.String, "Project.ID"> & {
36
- global: string & import("effect/Brand").Brand<"Project.ID">;
37
- };
38
- readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
39
- readonly canonical: Schema.brand<Schema.String, "AbsolutePath">;
40
- }>;
41
27
  }>;
42
28
  readonly data: typeof WebSearch.Response;
43
29
  }>>, Schema.toCodecJson<typeof InvalidRequestError | typeof ServiceUnavailableError>, never, never>, false>;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/package.json",
3
3
  "name": "@opencode/protocol",
4
- "version": "0.0.0-dev-19557",
4
+ "version": "0.0.0-dev-19559",
5
5
  "type": "module",
6
6
  "license": "MIT",
7
7
  "repository": {
@@ -32,7 +32,7 @@
32
32
  "typecheck": "tsgo --noEmit"
33
33
  },
34
34
  "dependencies": {
35
- "@opencode/schema": "0.0.0-dev-19557",
35
+ "@opencode/schema": "0.0.0-dev-19559",
36
36
  "effect": "4.0.0-rc.112"
37
37
  },
38
38
  "devDependencies": {