@sealant/api-contracts-next 0.39.0-next.729 → 0.39.0-next.731

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.
@@ -1,9 +1,11 @@
1
1
  import { HttpApi } from "effect/unstable/httpapi";
2
2
  import { RequestRefusal } from "./request-refusal.js";
3
- export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi", import("effect/unstable/httpapi/HttpApiGroup").HttpApiGroup<"accessTokens", import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"revokeAccessToken", "POST", "/v1/access-tokens/:tokenId/revoke", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
4
- readonly tokenId: import("effect/Schema").String;
5
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
3
+ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi", import("effect/unstable/httpapi/HttpApiGroup").HttpApiGroup<"accessTokens", import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"createAccessToken", "POST", "/v1/access-tokens/", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
6
4
  readonly ownerUserId: import("effect/Schema").String;
5
+ readonly scopes: import("effect/Schema").$Array<import("effect/Schema").Literals<readonly ["session:read", "session:input", "workspace:exec"]>>;
6
+ readonly name: import("effect/Schema").optional<import("effect/Schema").String>;
7
+ readonly workspaceId: import("effect/Schema").optional<import("effect/Schema").String>;
8
+ readonly ttlSeconds: import("effect/Schema").optional<import("effect/Schema").Int>;
7
9
  }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
8
10
  readonly tokenId: import("effect/Schema").String;
9
11
  readonly ownerUserId: import("effect/Schema").String;
@@ -13,12 +15,11 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
13
15
  readonly expiresAt: import("effect/Schema").optional<import("effect/Schema").String>;
14
16
  readonly revokedAt: import("effect/Schema").optional<import("effect/Schema").String>;
15
17
  readonly createdAt: import("effect/Schema").String;
16
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./access-tokens.js").AccessTokenBadRequestError | typeof import("./access-tokens.js").AccessTokenNotFoundError | typeof import("./access-tokens.js").AccessTokenInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"createAccessToken", "POST", "/v1/access-tokens/", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
18
+ readonly token: import("effect/Schema").String;
19
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./access-tokens.js").AccessTokenBadRequestError | typeof import("./access-tokens.js").AccessTokenNotFoundError | typeof import("./access-tokens.js").AccessTokenInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"revokeAccessToken", "POST", "/v1/access-tokens/:tokenId/revoke", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
20
+ readonly tokenId: import("effect/Schema").String;
21
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
17
22
  readonly ownerUserId: import("effect/Schema").String;
18
- readonly scopes: import("effect/Schema").$Array<import("effect/Schema").Literals<readonly ["session:read", "session:input", "workspace:exec"]>>;
19
- readonly name: import("effect/Schema").optional<import("effect/Schema").String>;
20
- readonly workspaceId: import("effect/Schema").optional<import("effect/Schema").String>;
21
- readonly ttlSeconds: import("effect/Schema").optional<import("effect/Schema").Int>;
22
23
  }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
23
24
  readonly tokenId: import("effect/Schema").String;
24
25
  readonly ownerUserId: import("effect/Schema").String;
@@ -28,7 +29,6 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
28
29
  readonly expiresAt: import("effect/Schema").optional<import("effect/Schema").String>;
29
30
  readonly revokedAt: import("effect/Schema").optional<import("effect/Schema").String>;
30
31
  readonly createdAt: import("effect/Schema").String;
31
- readonly token: import("effect/Schema").String;
32
32
  }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./access-tokens.js").AccessTokenBadRequestError | typeof import("./access-tokens.js").AccessTokenNotFoundError | typeof import("./access-tokens.js").AccessTokenInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"listAccessTokens", "GET", "/v1/access-tokens/", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
33
33
  readonly ownerUserId: import("effect/Schema").String;
34
34
  }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
@@ -42,12 +42,11 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
42
42
  readonly revokedAt: import("effect/Schema").optional<import("effect/Schema").String>;
43
43
  readonly createdAt: import("effect/Schema").String;
44
44
  }>>;
45
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./access-tokens.js").AccessTokenBadRequestError | typeof import("./access-tokens.js").AccessTokenInternalServerError>, RequestRefusal, never>, false> | import("effect/unstable/httpapi/HttpApiGroup").HttpApiGroup<"connectedAccounts", import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"createConnectedAccount", "POST", "/v1/connected-accounts/", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
45
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./access-tokens.js").AccessTokenBadRequestError | typeof import("./access-tokens.js").AccessTokenInternalServerError>, RequestRefusal, never>, false> | import("effect/unstable/httpapi/HttpApiGroup").HttpApiGroup<"connectedAccounts", import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"archiveConnectedAccount", "DELETE", "/v1/connected-accounts/:connectedAccountId", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
46
+ readonly connectedAccountId: import("effect/Schema").String;
47
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
46
48
  readonly ownerUserId: import("effect/Schema").String;
47
- readonly provider: import("effect/Schema").Literals<readonly ["claude", "codex", "github"]>;
48
- readonly name: import("effect/Schema").optional<import("effect/Schema").String>;
49
- readonly secret: import("effect/Schema").String;
50
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
49
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
51
50
  readonly connectedAccountId: import("effect/Schema").String;
52
51
  readonly ownerUserId: import("effect/Schema").String;
53
52
  readonly provider: import("effect/Schema").Literals<readonly ["claude", "codex", "github"]>;
@@ -65,11 +64,12 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
65
64
  readonly lastRefreshAt: import("effect/Schema").NullOr<import("effect/Schema").String>;
66
65
  readonly lastRefreshOutcome: import("effect/Schema").NullOr<import("effect/Schema").Literals<readonly ["refreshed", "fresh", "failed"]>>;
67
66
  }>;
68
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./connected-accounts.js").ConnectedAccountBadRequestError | typeof import("./connected-accounts.js").ConnectedAccountNotFoundError | typeof import("./connected-accounts.js").ConnectedAccountConflictError | typeof import("./connected-accounts.js").ConnectedAccountServiceUnavailableError | typeof import("./connected-accounts.js").ConnectedAccountInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"archiveConnectedAccount", "DELETE", "/v1/connected-accounts/:connectedAccountId", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
69
- readonly connectedAccountId: import("effect/Schema").String;
70
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
67
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./connected-accounts.js").ConnectedAccountNotFoundError | typeof import("./connected-accounts.js").ConnectedAccountInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"createConnectedAccount", "POST", "/v1/connected-accounts/", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
71
68
  readonly ownerUserId: import("effect/Schema").String;
72
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
69
+ readonly provider: import("effect/Schema").Literals<readonly ["claude", "codex", "github"]>;
70
+ readonly name: import("effect/Schema").optional<import("effect/Schema").String>;
71
+ readonly secret: import("effect/Schema").String;
72
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
73
73
  readonly connectedAccountId: import("effect/Schema").String;
74
74
  readonly ownerUserId: import("effect/Schema").String;
75
75
  readonly provider: import("effect/Schema").Literals<readonly ["claude", "codex", "github"]>;
@@ -87,7 +87,7 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
87
87
  readonly lastRefreshAt: import("effect/Schema").NullOr<import("effect/Schema").String>;
88
88
  readonly lastRefreshOutcome: import("effect/Schema").NullOr<import("effect/Schema").Literals<readonly ["refreshed", "fresh", "failed"]>>;
89
89
  }>;
90
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./connected-accounts.js").ConnectedAccountNotFoundError | typeof import("./connected-accounts.js").ConnectedAccountInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"markConnectedAccountInvalid", "POST", "/v1/connected-accounts/:connectedAccountId/mark-invalid", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
90
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./connected-accounts.js").ConnectedAccountBadRequestError | typeof import("./connected-accounts.js").ConnectedAccountNotFoundError | typeof import("./connected-accounts.js").ConnectedAccountConflictError | typeof import("./connected-accounts.js").ConnectedAccountServiceUnavailableError | typeof import("./connected-accounts.js").ConnectedAccountInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"markConnectedAccountInvalid", "POST", "/v1/connected-accounts/:connectedAccountId/mark-invalid", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
91
91
  readonly connectedAccountId: import("effect/Schema").String;
92
92
  }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
93
93
  readonly ownerUserId: import("effect/Schema").String;
@@ -131,7 +131,37 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
131
131
  readonly lastRefreshOutcome: import("effect/Schema").NullOr<import("effect/Schema").Literals<readonly ["refreshed", "fresh", "failed"]>>;
132
132
  }>;
133
133
  }>>;
134
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./connected-accounts.js").ConnectedAccountInternalServerError>, RequestRefusal, never>, false> | import("effect/unstable/httpapi/HttpApiGroup").HttpApiGroup<"github", import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"listInstallations", "GET", "/v1/github/installations", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
134
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./connected-accounts.js").ConnectedAccountInternalServerError>, RequestRefusal, never>, false> | import("effect/unstable/httpapi/HttpApiGroup").HttpApiGroup<"github", import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"syncInstallation", "POST", "/v1/github/installations/:installationId/sync", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
135
+ readonly installationId: import("effect/Schema").String;
136
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
137
+ readonly userId: import("effect/Schema").String;
138
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
139
+ readonly installationId: import("effect/Schema").String;
140
+ readonly syncedRepositoryCount: import("effect/Schema").Number;
141
+ readonly syncedAt: import("effect/Schema").String;
142
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./github.js").GitHubForbiddenError | typeof import("./github.js").GitHubNotFoundError | typeof import("./github.js").GitHubServiceUnavailableError | typeof import("./github.js").GitHubInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"handleWebhook", "POST", "/v1/github/webhooks", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").String>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
143
+ readonly "x-github-delivery": import("effect/Schema").optional<import("effect/Schema").String>;
144
+ readonly "x-github-event": import("effect/Schema").optional<import("effect/Schema").String>;
145
+ readonly "x-hub-signature-256": import("effect/Schema").optional<import("effect/Schema").String>;
146
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
147
+ readonly deliveryId: import("effect/Schema").String;
148
+ readonly status: import("effect/Schema").Literals<readonly ["received", "processed", "failed", "ignored"]>;
149
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./github.js").GitHubBadRequestError | typeof import("./github.js").GitHubUnauthorizedError | typeof import("./github.js").GitHubServiceUnavailableError | typeof import("./github.js").GitHubInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"importInstallation", "POST", "/v1/github/installations/import", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
150
+ readonly userId: import("effect/Schema").String;
151
+ readonly externalInstallationId: import("effect/Schema").String;
152
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
153
+ readonly installation: import("effect/Schema").Struct<{
154
+ readonly installationId: import("effect/Schema").String;
155
+ readonly externalInstallationId: import("effect/Schema").String;
156
+ readonly accountLogin: import("effect/Schema").String;
157
+ readonly accountType: import("effect/Schema").Literals<readonly ["organization", "user"]>;
158
+ readonly status: import("effect/Schema").Literals<readonly ["active", "suspended", "deleted"]>;
159
+ readonly repositorySelection: import("effect/Schema").Literals<readonly ["all", "selected"]>;
160
+ readonly lastSyncedAt: import("effect/Schema").optional<import("effect/Schema").String>;
161
+ }>;
162
+ readonly syncedRepositoryCount: import("effect/Schema").Number;
163
+ readonly syncedAt: import("effect/Schema").String;
164
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./github.js").GitHubNotFoundError | typeof import("./github.js").GitHubServiceUnavailableError | typeof import("./github.js").GitHubInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"listInstallations", "GET", "/v1/github/installations", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
135
165
  readonly userId: import("effect/Schema").String;
136
166
  }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
137
167
  readonly items: import("effect/Schema").$Array<import("effect/Schema").Struct<{
@@ -162,37 +192,7 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
162
192
  readonly isArchived: import("effect/Schema").Boolean;
163
193
  readonly lastSyncedAt: import("effect/Schema").optional<import("effect/Schema").String>;
164
194
  }>>;
165
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./github.js").GitHubForbiddenError | typeof import("./github.js").GitHubNotFoundError | typeof import("./github.js").GitHubServiceUnavailableError | typeof import("./github.js").GitHubInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"syncInstallation", "POST", "/v1/github/installations/:installationId/sync", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
166
- readonly installationId: import("effect/Schema").String;
167
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
168
- readonly userId: import("effect/Schema").String;
169
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
170
- readonly installationId: import("effect/Schema").String;
171
- readonly syncedRepositoryCount: import("effect/Schema").Number;
172
- readonly syncedAt: import("effect/Schema").String;
173
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./github.js").GitHubForbiddenError | typeof import("./github.js").GitHubNotFoundError | typeof import("./github.js").GitHubServiceUnavailableError | typeof import("./github.js").GitHubInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"importInstallation", "POST", "/v1/github/installations/import", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
174
- readonly userId: import("effect/Schema").String;
175
- readonly externalInstallationId: import("effect/Schema").String;
176
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
177
- readonly installation: import("effect/Schema").Struct<{
178
- readonly installationId: import("effect/Schema").String;
179
- readonly externalInstallationId: import("effect/Schema").String;
180
- readonly accountLogin: import("effect/Schema").String;
181
- readonly accountType: import("effect/Schema").Literals<readonly ["organization", "user"]>;
182
- readonly status: import("effect/Schema").Literals<readonly ["active", "suspended", "deleted"]>;
183
- readonly repositorySelection: import("effect/Schema").Literals<readonly ["all", "selected"]>;
184
- readonly lastSyncedAt: import("effect/Schema").optional<import("effect/Schema").String>;
185
- }>;
186
- readonly syncedRepositoryCount: import("effect/Schema").Number;
187
- readonly syncedAt: import("effect/Schema").String;
188
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./github.js").GitHubNotFoundError | typeof import("./github.js").GitHubServiceUnavailableError | typeof import("./github.js").GitHubInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"handleWebhook", "POST", "/v1/github/webhooks", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").String>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
189
- readonly "x-github-delivery": import("effect/Schema").optional<import("effect/Schema").String>;
190
- readonly "x-github-event": import("effect/Schema").optional<import("effect/Schema").String>;
191
- readonly "x-hub-signature-256": import("effect/Schema").optional<import("effect/Schema").String>;
192
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
193
- readonly deliveryId: import("effect/Schema").String;
194
- readonly status: import("effect/Schema").Literals<readonly ["received", "processed", "failed", "ignored"]>;
195
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./github.js").GitHubBadRequestError | typeof import("./github.js").GitHubUnauthorizedError | typeof import("./github.js").GitHubServiceUnavailableError | typeof import("./github.js").GitHubInternalServerError>, RequestRefusal, never>, false> | import("effect/unstable/httpapi/HttpApiGroup").HttpApiGroup<"inference", import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"respond", "POST", "/v1/inference/respond", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
195
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./github.js").GitHubForbiddenError | typeof import("./github.js").GitHubNotFoundError | typeof import("./github.js").GitHubServiceUnavailableError | typeof import("./github.js").GitHubInternalServerError>, RequestRefusal, never>, false> | import("effect/unstable/httpapi/HttpApiGroup").HttpApiGroup<"inference", import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"respond", "POST", "/v1/inference/respond", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
196
196
  readonly ownerUserId: import("effect/Schema").String;
197
197
  readonly credentials: import("effect/Schema").optional<import("effect/Schema").Struct<{
198
198
  readonly profileId: import("effect/Schema").optional<import("effect/Schema").String>;
@@ -285,21 +285,7 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
285
285
  }>>;
286
286
  readonly fetchedAt: import("effect/Schema").String;
287
287
  readonly expiresAt: import("effect/Schema").String;
288
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./packages.js").PackagesBadGatewayError | typeof import("./packages.js").PackagesInternalServerError>, RequestRefusal, never>, false> | import("effect/unstable/httpapi/HttpApiGroup").HttpApiGroup<"profiles", import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"listProfiles", "GET", "/v1/profiles/", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
289
- readonly ownerUserId: import("effect/Schema").String;
290
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
291
- readonly items: import("effect/Schema").$Array<import("effect/Schema").Struct<{
292
- readonly profileId: import("effect/Schema").String;
293
- readonly ownerUserId: import("effect/Schema").String;
294
- readonly slug: import("effect/Schema").String;
295
- readonly name: import("effect/Schema").String;
296
- readonly description: import("effect/Schema").NullOr<import("effect/Schema").String>;
297
- readonly status: import("effect/Schema").Literals<readonly ["active", "archived"]>;
298
- readonly activeRevisionId: import("effect/Schema").NullOr<import("effect/Schema").String>;
299
- readonly createdAt: import("effect/Schema").String;
300
- readonly updatedAt: import("effect/Schema").String;
301
- }>>;
302
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./profiles.js").ProfileInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"setProfileCredentialBinding", "PUT", "/v1/profiles/:profileId/credential-bindings", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
288
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./packages.js").PackagesBadGatewayError | typeof import("./packages.js").PackagesInternalServerError>, RequestRefusal, never>, false> | import("effect/unstable/httpapi/HttpApiGroup").HttpApiGroup<"profiles", import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"setProfileCredentialBinding", "PUT", "/v1/profiles/:profileId/credential-bindings", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
303
289
  readonly profileId: import("effect/Schema").String;
304
290
  }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
305
291
  readonly ownerUserId: import("effect/Schema").String;
@@ -330,7 +316,21 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
330
316
  }>;
331
317
  }>;
332
318
  }>>;
333
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./profiles.js").ProfileBadRequestError | typeof import("./profiles.js").ProfileNotFoundError | typeof import("./profiles.js").ProfileConflictError | typeof import("./profiles.js").ProfileInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"listProfileCredentialBindings", "GET", "/v1/profiles/:profileId/credential-bindings", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
319
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./profiles.js").ProfileBadRequestError | typeof import("./profiles.js").ProfileNotFoundError | typeof import("./profiles.js").ProfileConflictError | typeof import("./profiles.js").ProfileInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"listProfiles", "GET", "/v1/profiles/", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
320
+ readonly ownerUserId: import("effect/Schema").String;
321
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
322
+ readonly items: import("effect/Schema").$Array<import("effect/Schema").Struct<{
323
+ readonly profileId: import("effect/Schema").String;
324
+ readonly ownerUserId: import("effect/Schema").String;
325
+ readonly slug: import("effect/Schema").String;
326
+ readonly name: import("effect/Schema").String;
327
+ readonly description: import("effect/Schema").NullOr<import("effect/Schema").String>;
328
+ readonly status: import("effect/Schema").Literals<readonly ["active", "archived"]>;
329
+ readonly activeRevisionId: import("effect/Schema").NullOr<import("effect/Schema").String>;
330
+ readonly createdAt: import("effect/Schema").String;
331
+ readonly updatedAt: import("effect/Schema").String;
332
+ }>>;
333
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./profiles.js").ProfileInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"listProfileCredentialBindings", "GET", "/v1/profiles/:profileId/credential-bindings", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
334
334
  readonly profileId: import("effect/Schema").String;
335
335
  }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
336
336
  readonly ownerUserId: import("effect/Schema").String;
@@ -657,11 +657,19 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
657
657
  readonly outputHighWater: import("effect/Schema").String;
658
658
  readonly createdAt: import("effect/Schema").String;
659
659
  readonly endedAt: import("effect/Schema").optional<import("effect/Schema").String>;
660
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./sessions.js").SessionBadRequestError | typeof import("./sessions.js").SessionUnauthorizedError | typeof import("./sessions.js").SessionForbiddenError | typeof import("./sessions.js").SessionNotFoundError | typeof import("./sessions.js").SessionConflictError | typeof import("./sessions.js").SessionBadGatewayError | typeof import("./sessions.js").SessionInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"getSession", "GET", "/v1/sessions/:sessionId", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
661
- readonly sessionId: import("effect/Schema").String;
660
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./sessions.js").SessionBadRequestError | typeof import("./sessions.js").SessionUnauthorizedError | typeof import("./sessions.js").SessionForbiddenError | typeof import("./sessions.js").SessionNotFoundError | typeof import("./sessions.js").SessionConflictError | typeof import("./sessions.js").SessionBadGatewayError | typeof import("./sessions.js").SessionInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"createSessionAsUser", "POST", "/v1/sessions/as-user", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
661
+ readonly workspaceId: import("effect/Schema").String;
662
+ readonly ownerUserId: import("effect/Schema").String;
663
+ readonly argv: import("effect/Schema").$Array<import("effect/Schema").String>;
664
+ readonly cwd: import("effect/Schema").optional<import("effect/Schema").String>;
665
+ readonly env: import("effect/Schema").optional<import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").String>>;
666
+ readonly cols: import("effect/Schema").optional<import("effect/Schema").Int>;
667
+ readonly rows: import("effect/Schema").optional<import("effect/Schema").Int>;
668
+ readonly term: import("effect/Schema").optional<import("effect/Schema").String>;
669
+ readonly mode: import("effect/Schema").optional<import("effect/Schema").Literals<readonly ["pty", "pipe"]>>;
670
+ readonly metadata: import("effect/Schema").optional<import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").Unknown>>;
671
+ readonly user: import("effect/Schema").String;
662
672
  }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
663
- readonly ownerUserId: import("effect/Schema").optional<import("effect/Schema").String>;
664
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
665
673
  readonly authorization: import("effect/Schema").optional<import("effect/Schema").String>;
666
674
  }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
667
675
  readonly sessionId: import("effect/Schema").String;
@@ -683,7 +691,35 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
683
691
  readonly outputHighWater: import("effect/Schema").String;
684
692
  readonly createdAt: import("effect/Schema").String;
685
693
  readonly endedAt: import("effect/Schema").optional<import("effect/Schema").String>;
686
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./sessions.js").SessionBadRequestError | typeof import("./sessions.js").SessionUnauthorizedError | typeof import("./sessions.js").SessionForbiddenError | typeof import("./sessions.js").SessionNotFoundError | typeof import("./sessions.js").SessionInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"closeSession", "POST", "/v1/sessions/:sessionId/close", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
694
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./sessions.js").SessionBadRequestError | typeof import("./sessions.js").SessionUnauthorizedError | typeof import("./sessions.js").SessionForbiddenError | typeof import("./sessions.js").SessionNotFoundError | typeof import("./sessions.js").SessionConflictError | typeof import("./sessions.js").SessionBadGatewayError | typeof import("./sessions.js").SessionInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"sendSessionInput", "POST", "/v1/sessions/:sessionId/input", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
695
+ readonly sessionId: import("effect/Schema").String;
696
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
697
+ readonly ownerUserId: import("effect/Schema").optional<import("effect/Schema").String>;
698
+ readonly dataBase64: import("effect/Schema").String;
699
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
700
+ readonly authorization: import("effect/Schema").optional<import("effect/Schema").String>;
701
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
702
+ readonly ok: import("effect/Schema").Boolean;
703
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./sessions.js").SessionBadRequestError | typeof import("./sessions.js").SessionUnauthorizedError | typeof import("./sessions.js").SessionForbiddenError | typeof import("./sessions.js").SessionNotFoundError | typeof import("./sessions.js").SessionConflictError | typeof import("./sessions.js").SessionBadGatewayError | typeof import("./sessions.js").SessionInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"resizeSession", "POST", "/v1/sessions/:sessionId/resize", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
704
+ readonly sessionId: import("effect/Schema").String;
705
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
706
+ readonly ownerUserId: import("effect/Schema").optional<import("effect/Schema").String>;
707
+ readonly cols: import("effect/Schema").Int;
708
+ readonly rows: import("effect/Schema").Int;
709
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
710
+ readonly authorization: import("effect/Schema").optional<import("effect/Schema").String>;
711
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
712
+ readonly ok: import("effect/Schema").Boolean;
713
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./sessions.js").SessionBadRequestError | typeof import("./sessions.js").SessionUnauthorizedError | typeof import("./sessions.js").SessionForbiddenError | typeof import("./sessions.js").SessionNotFoundError | typeof import("./sessions.js").SessionConflictError | typeof import("./sessions.js").SessionBadGatewayError | typeof import("./sessions.js").SessionInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"signalSession", "POST", "/v1/sessions/:sessionId/signal", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
714
+ readonly sessionId: import("effect/Schema").String;
715
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
716
+ readonly ownerUserId: import("effect/Schema").optional<import("effect/Schema").String>;
717
+ readonly signal: import("effect/Schema").Int;
718
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
719
+ readonly authorization: import("effect/Schema").optional<import("effect/Schema").String>;
720
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
721
+ readonly ok: import("effect/Schema").Boolean;
722
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./sessions.js").SessionBadRequestError | typeof import("./sessions.js").SessionUnauthorizedError | typeof import("./sessions.js").SessionForbiddenError | typeof import("./sessions.js").SessionNotFoundError | typeof import("./sessions.js").SessionConflictError | typeof import("./sessions.js").SessionBadGatewayError | typeof import("./sessions.js").SessionInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"closeSession", "POST", "/v1/sessions/:sessionId/close", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
687
723
  readonly sessionId: import("effect/Schema").String;
688
724
  }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
689
725
  readonly ownerUserId: import("effect/Schema").optional<import("effect/Schema").String>;
@@ -709,19 +745,11 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
709
745
  readonly outputHighWater: import("effect/Schema").String;
710
746
  readonly createdAt: import("effect/Schema").String;
711
747
  readonly endedAt: import("effect/Schema").optional<import("effect/Schema").String>;
712
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./sessions.js").SessionBadRequestError | typeof import("./sessions.js").SessionUnauthorizedError | typeof import("./sessions.js").SessionForbiddenError | typeof import("./sessions.js").SessionNotFoundError | typeof import("./sessions.js").SessionBadGatewayError | typeof import("./sessions.js").SessionInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"createSessionAsUser", "POST", "/v1/sessions/as-user", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
713
- readonly workspaceId: import("effect/Schema").String;
714
- readonly ownerUserId: import("effect/Schema").String;
715
- readonly argv: import("effect/Schema").$Array<import("effect/Schema").String>;
716
- readonly cwd: import("effect/Schema").optional<import("effect/Schema").String>;
717
- readonly env: import("effect/Schema").optional<import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").String>>;
718
- readonly cols: import("effect/Schema").optional<import("effect/Schema").Int>;
719
- readonly rows: import("effect/Schema").optional<import("effect/Schema").Int>;
720
- readonly term: import("effect/Schema").optional<import("effect/Schema").String>;
721
- readonly mode: import("effect/Schema").optional<import("effect/Schema").Literals<readonly ["pty", "pipe"]>>;
722
- readonly metadata: import("effect/Schema").optional<import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").Unknown>>;
723
- readonly user: import("effect/Schema").String;
748
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./sessions.js").SessionBadRequestError | typeof import("./sessions.js").SessionUnauthorizedError | typeof import("./sessions.js").SessionForbiddenError | typeof import("./sessions.js").SessionNotFoundError | typeof import("./sessions.js").SessionBadGatewayError | typeof import("./sessions.js").SessionInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"getSession", "GET", "/v1/sessions/:sessionId", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
749
+ readonly sessionId: import("effect/Schema").String;
724
750
  }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
751
+ readonly ownerUserId: import("effect/Schema").optional<import("effect/Schema").String>;
752
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
725
753
  readonly authorization: import("effect/Schema").optional<import("effect/Schema").String>;
726
754
  }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
727
755
  readonly sessionId: import("effect/Schema").String;
@@ -743,7 +771,7 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
743
771
  readonly outputHighWater: import("effect/Schema").String;
744
772
  readonly createdAt: import("effect/Schema").String;
745
773
  readonly endedAt: import("effect/Schema").optional<import("effect/Schema").String>;
746
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./sessions.js").SessionBadRequestError | typeof import("./sessions.js").SessionUnauthorizedError | typeof import("./sessions.js").SessionForbiddenError | typeof import("./sessions.js").SessionNotFoundError | typeof import("./sessions.js").SessionConflictError | typeof import("./sessions.js").SessionBadGatewayError | typeof import("./sessions.js").SessionInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"listSessions", "GET", "/v1/sessions/", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
774
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./sessions.js").SessionBadRequestError | typeof import("./sessions.js").SessionUnauthorizedError | typeof import("./sessions.js").SessionForbiddenError | typeof import("./sessions.js").SessionNotFoundError | typeof import("./sessions.js").SessionInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"listSessions", "GET", "/v1/sessions/", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
747
775
  readonly ownerUserId: import("effect/Schema").String;
748
776
  readonly workspaceId: import("effect/Schema").optional<import("effect/Schema").String>;
749
777
  readonly status: import("effect/Schema").optional<import("effect/Schema").Literals<readonly ["starting", "running", "exited", "failed"]>>;
@@ -788,57 +816,38 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
788
816
  }>>;
789
817
  readonly nextFrom: import("effect/Schema").String;
790
818
  readonly status: import("effect/Schema").Literals<readonly ["starting", "running", "exited", "failed"]>;
791
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./sessions.js").SessionBadRequestError | typeof import("./sessions.js").SessionUnauthorizedError | typeof import("./sessions.js").SessionForbiddenError | typeof import("./sessions.js").SessionNotFoundError | typeof import("./sessions.js").SessionInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"sendSessionInput", "POST", "/v1/sessions/:sessionId/input", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
792
- readonly sessionId: import("effect/Schema").String;
793
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
794
- readonly ownerUserId: import("effect/Schema").optional<import("effect/Schema").String>;
795
- readonly dataBase64: import("effect/Schema").String;
796
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
797
- readonly authorization: import("effect/Schema").optional<import("effect/Schema").String>;
798
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
799
- readonly ok: import("effect/Schema").Boolean;
800
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./sessions.js").SessionBadRequestError | typeof import("./sessions.js").SessionUnauthorizedError | typeof import("./sessions.js").SessionForbiddenError | typeof import("./sessions.js").SessionNotFoundError | typeof import("./sessions.js").SessionConflictError | typeof import("./sessions.js").SessionBadGatewayError | typeof import("./sessions.js").SessionInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"resizeSession", "POST", "/v1/sessions/:sessionId/resize", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
801
- readonly sessionId: import("effect/Schema").String;
802
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
803
- readonly ownerUserId: import("effect/Schema").optional<import("effect/Schema").String>;
804
- readonly cols: import("effect/Schema").Int;
805
- readonly rows: import("effect/Schema").Int;
806
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
807
- readonly authorization: import("effect/Schema").optional<import("effect/Schema").String>;
808
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
809
- readonly ok: import("effect/Schema").Boolean;
810
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./sessions.js").SessionBadRequestError | typeof import("./sessions.js").SessionUnauthorizedError | typeof import("./sessions.js").SessionForbiddenError | typeof import("./sessions.js").SessionNotFoundError | typeof import("./sessions.js").SessionConflictError | typeof import("./sessions.js").SessionBadGatewayError | typeof import("./sessions.js").SessionInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"signalSession", "POST", "/v1/sessions/:sessionId/signal", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
811
- readonly sessionId: import("effect/Schema").String;
812
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
813
- readonly ownerUserId: import("effect/Schema").optional<import("effect/Schema").String>;
814
- readonly signal: import("effect/Schema").Int;
819
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./sessions.js").SessionBadRequestError | typeof import("./sessions.js").SessionUnauthorizedError | typeof import("./sessions.js").SessionForbiddenError | typeof import("./sessions.js").SessionNotFoundError | typeof import("./sessions.js").SessionInternalServerError>, RequestRefusal, never>, false> | import("effect/unstable/httpapi/HttpApiGroup").HttpApiGroup<"sshKeys", import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"archiveSshKey", "DELETE", "/v1/ssh-keys/:sshKeyId", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
820
+ readonly sshKeyId: import("effect/Schema").String;
815
821
  }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
816
- readonly authorization: import("effect/Schema").optional<import("effect/Schema").String>;
817
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
818
- readonly ok: import("effect/Schema").Boolean;
819
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./sessions.js").SessionBadRequestError | typeof import("./sessions.js").SessionUnauthorizedError | typeof import("./sessions.js").SessionForbiddenError | typeof import("./sessions.js").SessionNotFoundError | typeof import("./sessions.js").SessionConflictError | typeof import("./sessions.js").SessionBadGatewayError | typeof import("./sessions.js").SessionInternalServerError>, RequestRefusal, never>, false> | import("effect/unstable/httpapi/HttpApiGroup").HttpApiGroup<"sshKeys", import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"createSshKey", "POST", "/v1/ssh-keys/", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
820
822
  readonly ownerUserId: import("effect/Schema").String;
821
- readonly name: import("effect/Schema").optional<import("effect/Schema").String>;
822
- readonly publicKey: import("effect/Schema").String;
823
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
823
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
824
824
  readonly sshKeyId: import("effect/Schema").String;
825
825
  readonly ownerUserId: import("effect/Schema").String;
826
826
  readonly name: import("effect/Schema").String;
827
827
  readonly algorithm: import("effect/Schema").String;
828
828
  readonly fingerprint: import("effect/Schema").String;
829
829
  readonly createdAt: import("effect/Schema").String;
830
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./ssh-keys.js").SshKeyBadRequestError | typeof import("./ssh-keys.js").SshKeyNotFoundError | typeof import("./ssh-keys.js").SshKeyConflictError | typeof import("./ssh-keys.js").SshKeyInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"archiveSshKey", "DELETE", "/v1/ssh-keys/:sshKeyId", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
831
- readonly sshKeyId: import("effect/Schema").String;
832
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
830
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./ssh-keys.js").SshKeyNotFoundError | typeof import("./ssh-keys.js").SshKeyInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"createSshKey", "POST", "/v1/ssh-keys/", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
833
831
  readonly ownerUserId: import("effect/Schema").String;
834
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
832
+ readonly name: import("effect/Schema").optional<import("effect/Schema").String>;
833
+ readonly publicKey: import("effect/Schema").String;
834
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
835
835
  readonly sshKeyId: import("effect/Schema").String;
836
836
  readonly ownerUserId: import("effect/Schema").String;
837
837
  readonly name: import("effect/Schema").String;
838
838
  readonly algorithm: import("effect/Schema").String;
839
839
  readonly fingerprint: import("effect/Schema").String;
840
840
  readonly createdAt: import("effect/Schema").String;
841
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./ssh-keys.js").SshKeyNotFoundError | typeof import("./ssh-keys.js").SshKeyInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"listSshKeys", "GET", "/v1/ssh-keys/", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
841
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./ssh-keys.js").SshKeyBadRequestError | typeof import("./ssh-keys.js").SshKeyNotFoundError | typeof import("./ssh-keys.js").SshKeyConflictError | typeof import("./ssh-keys.js").SshKeyInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"resolveSshPrincipal", "POST", "/v1/ssh-keys/resolve-principal", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
842
+ readonly algo: import("effect/Schema").String;
843
+ readonly publicKeyBase64: import("effect/Schema").String;
844
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
845
+ readonly "x-sealant-gateway-token": import("effect/Schema").optional<import("effect/Schema").String>;
846
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
847
+ readonly principalId: import("effect/Schema").String;
848
+ readonly sshKeyId: import("effect/Schema").String;
849
+ readonly fingerprint: import("effect/Schema").String;
850
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./ssh-keys.js").SshKeyUnauthorizedError | typeof import("./ssh-keys.js").SshKeyNotFoundError | typeof import("./ssh-keys.js").SshKeyServiceUnavailableError | typeof import("./ssh-keys.js").SshKeyInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"listSshKeys", "GET", "/v1/ssh-keys/", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
842
851
  readonly ownerUserId: import("effect/Schema").String;
843
852
  }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
844
853
  readonly items: import("effect/Schema").$Array<import("effect/Schema").Struct<{
@@ -849,16 +858,7 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
849
858
  readonly fingerprint: import("effect/Schema").String;
850
859
  readonly createdAt: import("effect/Schema").String;
851
860
  }>>;
852
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./ssh-keys.js").SshKeyInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"resolveSshPrincipal", "POST", "/v1/ssh-keys/resolve-principal", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
853
- readonly algo: import("effect/Schema").String;
854
- readonly publicKeyBase64: import("effect/Schema").String;
855
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
856
- readonly "x-sealant-gateway-token": import("effect/Schema").optional<import("effect/Schema").String>;
857
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
858
- readonly principalId: import("effect/Schema").String;
859
- readonly sshKeyId: import("effect/Schema").String;
860
- readonly fingerprint: import("effect/Schema").String;
861
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./ssh-keys.js").SshKeyUnauthorizedError | typeof import("./ssh-keys.js").SshKeyNotFoundError | typeof import("./ssh-keys.js").SshKeyServiceUnavailableError | typeof import("./ssh-keys.js").SshKeyInternalServerError>, RequestRefusal, never>, false> | import("effect/unstable/httpapi/HttpApiGroup").HttpApiGroup<"system", import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"getIndex", "GET", "/", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
861
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./ssh-keys.js").SshKeyInternalServerError>, RequestRefusal, never>, false> | import("effect/unstable/httpapi/HttpApiGroup").HttpApiGroup<"system", import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"getIndex", "GET", "/", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
862
862
  readonly name: import("effect/Schema").String;
863
863
  readonly version: import("effect/Schema").String;
864
864
  readonly docsPath: import("effect/Schema").String;
@@ -885,14 +885,7 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
885
885
  readonly port: import("effect/Schema").Number;
886
886
  readonly usernamePrefix: import("effect/Schema").String;
887
887
  }>>;
888
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./system.js").SystemInternalServerError>, RequestRefusal, never>, false> | import("effect/unstable/httpapi/HttpApiGroup").HttpApiGroup<"users", import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"getUser", "GET", "/v1/users/:userId", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
889
- readonly userId: import("effect/Schema").String;
890
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
891
- readonly userId: import("effect/Schema").String;
892
- readonly email: import("effect/Schema").String;
893
- readonly name: import("effect/Schema").String;
894
- readonly createdAt: import("effect/Schema").String;
895
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./users.js").UserNotFoundError | typeof import("./users.js").UserInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"ensureUser", "POST", "/v1/users/", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
888
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./system.js").SystemInternalServerError>, RequestRefusal, never>, false> | import("effect/unstable/httpapi/HttpApiGroup").HttpApiGroup<"users", import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"ensureUser", "POST", "/v1/users/", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
896
889
  readonly email: import("effect/Schema").String;
897
890
  readonly name: import("effect/Schema").String;
898
891
  readonly userId: import("effect/Schema").optional<import("effect/Schema").String>;
@@ -916,35 +909,101 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
916
909
  readonly home: import("effect/Schema").String;
917
910
  }>;
918
911
  readonly created: import("effect/Schema").Boolean;
919
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./users.js").UserPersonConflictError | typeof import("./users.js").UserBadRequestError | typeof import("./users.js").UserNotFoundError | typeof import("./users.js").UserInternalServerError>, RequestRefusal, never>, false> | import("effect/unstable/httpapi/HttpApiGroup").HttpApiGroup<"workspaces", import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"applyWorkspaceDotfiles", "POST", "/v1/workspaces/:workspaceId/dotfiles", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
912
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./users.js").UserPersonConflictError | typeof import("./users.js").UserBadRequestError | typeof import("./users.js").UserNotFoundError | typeof import("./users.js").UserInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"getUser", "GET", "/v1/users/:userId", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
913
+ readonly userId: import("effect/Schema").String;
914
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
915
+ readonly userId: import("effect/Schema").String;
916
+ readonly email: import("effect/Schema").String;
917
+ readonly name: import("effect/Schema").String;
918
+ readonly createdAt: import("effect/Schema").String;
919
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./users.js").UserNotFoundError | typeof import("./users.js").UserInternalServerError>, RequestRefusal, never>, false> | import("effect/unstable/httpapi/HttpApiGroup").HttpApiGroup<"workspaces", import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"releaseWorkspaceCredentials", "DELETE", "/v1/workspaces/:workspaceId/credentials", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
920
920
  readonly workspaceId: import("effect/Schema").String;
921
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
921
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
922
922
  readonly ownerUserId: import("effect/Schema").String;
923
- readonly onBehalfOfUserId: import("effect/Schema").String;
924
- readonly user: import("effect/Schema").String;
925
923
  readonly home: import("effect/Schema").String;
926
- readonly repository: import("effect/Schema").optional<import("effect/Schema").Struct<{
927
- readonly url: import("effect/Schema").String;
928
- readonly ref: import("effect/Schema").optional<import("effect/Schema").String>;
929
- readonly manager: import("effect/Schema").optional<import("effect/Schema").Literals<readonly ["auto", "chezmoi", "stow", "copy"]>>;
930
- readonly bootstrap: import("effect/Schema").optional<import("effect/Schema").Boolean>;
931
- readonly bootstrapCommand: import("effect/Schema").optional<import("effect/Schema").String>;
932
- }>>;
933
- readonly archives: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").Struct<{
934
- readonly data: import("effect/Schema").String;
935
- readonly manager: import("effect/Schema").optional<import("effect/Schema").Literals<readonly ["auto", "chezmoi", "stow", "copy"]>>;
936
- readonly target: import("effect/Schema").optional<import("effect/Schema").Literals<readonly ["home", "config"]>>;
937
- readonly bootstrap: import("effect/Schema").optional<import("effect/Schema").Boolean>;
938
- readonly bootstrapCommand: import("effect/Schema").optional<import("effect/Schema").String>;
939
- }>>>;
940
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
924
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
925
+ readonly workspaceId: import("effect/Schema").String;
941
926
  readonly runId: import("effect/Schema").String;
927
+ readonly home: import("effect/Schema").String;
928
+ readonly released: import("effect/Schema").Boolean;
929
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./workspaces.js").WorkspaceBadRequestError | typeof import("./workspaces.js").WorkspaceForbiddenError | typeof import("./workspaces.js").WorkspaceNotFoundError | typeof import("./workspaces.js").WorkspaceConflictError | typeof import("./workspaces.js").WorkspaceBadGatewayError | typeof import("./workspaces.js").WorkspaceServiceUnavailableError | typeof import("./workspaces.js").WorkspaceInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"clearWorkspaceSshUser", "DELETE", "/v1/workspaces/:workspaceId/ssh-user", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
942
930
  readonly workspaceId: import("effect/Schema").String;
943
- readonly attemptId: import("effect/Schema").optional<import("effect/Schema").String>;
944
- readonly ownerUserId: import("effect/Schema").String;
945
- readonly harnessId: import("effect/Schema").String;
946
- readonly mode: import("effect/Schema").Literals<readonly ["one-shot", "interactive"]>;
947
- readonly status: import("effect/Schema").Literals<readonly ["queued", "running", "completed", "failed", "cancelled"]>;
931
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
932
+ readonly ownerUserId: import("effect/Schema").optional<import("effect/Schema").String>;
933
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
934
+ readonly workspaceId: import("effect/Schema").String;
935
+ readonly sshUser: import("effect/Schema").Null;
936
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./workspaces.js").WorkspaceNotFoundError | typeof import("./workspaces.js").WorkspaceInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"createWorkspace", "POST", "/v1/workspaces/", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
937
+ readonly ownerUserId: import("effect/Schema").String;
938
+ readonly registryId: import("effect/Schema").String;
939
+ readonly repository: import("effect/Schema").String;
940
+ readonly tag: import("effect/Schema").String;
941
+ readonly name: import("effect/Schema").optional<import("effect/Schema").String>;
942
+ readonly sourceSelection: import("effect/Schema").optional<import("effect/Schema").Struct<{
943
+ readonly provider: import("effect/Schema").Literal<"github">;
944
+ readonly installationId: import("effect/Schema").String;
945
+ readonly installationRepositoryId: import("effect/Schema").String;
946
+ readonly ref: import("effect/Schema").optional<import("effect/Schema").String>;
947
+ }>>;
948
+ readonly dotfilesSelection: import("effect/Schema").optional<import("effect/Schema").Struct<{
949
+ readonly provider: import("effect/Schema").Literal<"github">;
950
+ readonly installationId: import("effect/Schema").String;
951
+ readonly installationRepositoryId: import("effect/Schema").String;
952
+ readonly ref: import("effect/Schema").optional<import("effect/Schema").String>;
953
+ }>>;
954
+ readonly credentials: import("effect/Schema").optional<import("effect/Schema").Struct<{
955
+ readonly profileId: import("effect/Schema").optional<import("effect/Schema").String>;
956
+ readonly claude: import("effect/Schema").optional<import("effect/Schema").String>;
957
+ readonly codex: import("effect/Schema").optional<import("effect/Schema").String>;
958
+ readonly github: import("effect/Schema").optional<import("effect/Schema").String>;
959
+ }>>;
960
+ readonly spec: import("effect/Schema").Unknown;
961
+ readonly secretEnv: import("effect/Schema").optional<import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").String>>;
962
+ readonly captureToken: import("effect/Schema").optional<import("effect/Schema").String>;
963
+ readonly ttlSeconds: import("effect/Schema").optional<import("effect/Schema").Int>;
964
+ readonly idempotencyKey: import("effect/Schema").optional<import("effect/Schema").String>;
965
+ readonly launchId: import("effect/Schema").optional<import("effect/Schema").String>;
966
+ readonly sshAsOwner: import("effect/Schema").optional<import("effect/Schema").Boolean>;
967
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
968
+ readonly "idempotency-key": import("effect/Schema").optional<import("effect/Schema").String>;
969
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
970
+ readonly workspaceId: import("effect/Schema").String;
971
+ readonly name: import("effect/Schema").String;
972
+ readonly status: import("effect/Schema").Literals<readonly ["queued", "running", "ready", "failed", "cancelled", "stopped", "retained"]>;
973
+ readonly registryId: import("effect/Schema").String;
974
+ readonly repository: import("effect/Schema").String;
975
+ readonly tag: import("effect/Schema").String;
976
+ readonly runId: import("effect/Schema").optional<import("effect/Schema").String>;
977
+ readonly runtime: import("effect/Schema").optional<import("effect/Schema").Struct<{
978
+ readonly adapter: import("effect/Schema").Literals<readonly ["docker", "k8s", "k3s", "cloudflare", "microvm"]>;
979
+ readonly resourceId: import("effect/Schema").String;
980
+ readonly reference: import("effect/Schema").String;
981
+ readonly status: import("effect/Schema").Literals<readonly ["pending", "running", "ready", "failed", "stopped", "retained"]>;
982
+ readonly endpoint: import("effect/Schema").optional<import("effect/Schema").String>;
983
+ readonly deadline: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").String>>;
984
+ readonly runId: import("effect/Schema").optional<import("effect/Schema").String>;
985
+ readonly launchId: import("effect/Schema").optional<import("effect/Schema").String>;
986
+ }>>;
987
+ readonly replayed: import("effect/Schema").optional<import("effect/Schema").Boolean>;
988
+ readonly launchId: import("effect/Schema").optional<import("effect/Schema").String>;
989
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./budgets.ts").BudgetExceededError | typeof import("./workspaces.js").WorkspaceBadRequestError | typeof import("./workspaces.js").WorkspaceRuntimeEnvReferencesUnsupportedError | typeof import("./workspaces.js").WorkspaceDockerServiceUnsupportedError | typeof import("./workspaces.js").WorkspaceSshOwnerRefusedError | typeof import("./workspaces.js").WorkspaceForbiddenError | typeof import("./workspaces.js").WorkspaceNotFoundError | typeof import("./workspaces.js").WorkspaceConflictError | typeof import("./workspaces.js").WorkspaceBadGatewayError | typeof import("./workspaces.js").WorkspaceServiceUnavailableError | typeof import("./workspaces.js").WorkspaceInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"execWorkspace", "POST", "/v1/workspaces/:workspaceId/exec", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
990
+ readonly workspaceId: import("effect/Schema").String;
991
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
992
+ readonly ownerUserId: import("effect/Schema").String;
993
+ readonly commands: import("effect/Schema").$Array<import("effect/Schema").Struct<{
994
+ readonly executable: import("effect/Schema").String;
995
+ readonly args: import("effect/Schema").$Array<import("effect/Schema").String>;
996
+ readonly cwd: import("effect/Schema").optional<import("effect/Schema").String>;
997
+ }>>;
998
+ readonly user: import("effect/Schema").optional<import("effect/Schema").String>;
999
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
1000
+ readonly runId: import("effect/Schema").String;
1001
+ readonly workspaceId: import("effect/Schema").String;
1002
+ readonly attemptId: import("effect/Schema").optional<import("effect/Schema").String>;
1003
+ readonly ownerUserId: import("effect/Schema").String;
1004
+ readonly harnessId: import("effect/Schema").String;
1005
+ readonly mode: import("effect/Schema").Literals<readonly ["one-shot", "interactive"]>;
1006
+ readonly status: import("effect/Schema").Literals<readonly ["queued", "running", "completed", "failed", "cancelled"]>;
948
1007
  readonly prompt: import("effect/Schema").optional<import("effect/Schema").String>;
949
1008
  readonly command: import("effect/Schema").optional<import("effect/Schema").Struct<{
950
1009
  readonly executable: import("effect/Schema").String;
@@ -962,7 +1021,7 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
962
1021
  readonly recordDeletedAt: import("effect/Schema").optional<import("effect/Schema").String>;
963
1022
  readonly createdAt: import("effect/Schema").String;
964
1023
  readonly updatedAt: import("effect/Schema").String;
965
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./workspaces.js").WorkspaceBadRequestError | typeof import("./workspaces.js").WorkspaceForbiddenError | typeof import("./workspaces.js").WorkspaceNotFoundError | typeof import("./workspaces.js").WorkspaceConflictError | typeof import("./workspaces.js").WorkspaceBadGatewayError | typeof import("./workspaces.js").WorkspaceServiceUnavailableError | typeof import("./workspaces.js").WorkspaceInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"execWorkspace", "POST", "/v1/workspaces/:workspaceId/exec", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
1024
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./workspaces.js").WorkspaceBadRequestError | typeof import("./workspaces.js").WorkspaceNotFoundError | typeof import("./workspaces.js").WorkspaceConflictError | typeof import("./workspaces.js").WorkspaceBadGatewayError | typeof import("./workspaces.js").WorkspaceInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"execWorkspaceAsUser", "POST", "/v1/workspaces/:workspaceId/exec-as-user", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
966
1025
  readonly workspaceId: import("effect/Schema").String;
967
1026
  }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
968
1027
  readonly ownerUserId: import("effect/Schema").String;
@@ -971,7 +1030,7 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
971
1030
  readonly args: import("effect/Schema").$Array<import("effect/Schema").String>;
972
1031
  readonly cwd: import("effect/Schema").optional<import("effect/Schema").String>;
973
1032
  }>>;
974
- readonly user: import("effect/Schema").optional<import("effect/Schema").String>;
1033
+ readonly user: import("effect/Schema").String;
975
1034
  }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
976
1035
  readonly runId: import("effect/Schema").String;
977
1036
  readonly workspaceId: import("effect/Schema").String;
@@ -997,16 +1056,27 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
997
1056
  readonly recordDeletedAt: import("effect/Schema").optional<import("effect/Schema").String>;
998
1057
  readonly createdAt: import("effect/Schema").String;
999
1058
  readonly updatedAt: import("effect/Schema").String;
1000
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./workspaces.js").WorkspaceBadRequestError | typeof import("./workspaces.js").WorkspaceNotFoundError | typeof import("./workspaces.js").WorkspaceConflictError | typeof import("./workspaces.js").WorkspaceBadGatewayError | typeof import("./workspaces.js").WorkspaceInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"execWorkspaceAsUser", "POST", "/v1/workspaces/:workspaceId/exec-as-user", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
1059
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./workspaces.js").WorkspaceBadRequestError | typeof import("./workspaces.js").WorkspaceNotFoundError | typeof import("./workspaces.js").WorkspaceConflictError | typeof import("./workspaces.js").WorkspaceBadGatewayError | typeof import("./workspaces.js").WorkspaceInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"applyWorkspaceDotfiles", "POST", "/v1/workspaces/:workspaceId/dotfiles", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
1001
1060
  readonly workspaceId: import("effect/Schema").String;
1002
1061
  }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
1003
1062
  readonly ownerUserId: import("effect/Schema").String;
1004
- readonly commands: import("effect/Schema").$Array<import("effect/Schema").Struct<{
1005
- readonly executable: import("effect/Schema").String;
1006
- readonly args: import("effect/Schema").$Array<import("effect/Schema").String>;
1007
- readonly cwd: import("effect/Schema").optional<import("effect/Schema").String>;
1008
- }>>;
1063
+ readonly onBehalfOfUserId: import("effect/Schema").String;
1009
1064
  readonly user: import("effect/Schema").String;
1065
+ readonly home: import("effect/Schema").String;
1066
+ readonly repository: import("effect/Schema").optional<import("effect/Schema").Struct<{
1067
+ readonly url: import("effect/Schema").String;
1068
+ readonly ref: import("effect/Schema").optional<import("effect/Schema").String>;
1069
+ readonly manager: import("effect/Schema").optional<import("effect/Schema").Literals<readonly ["auto", "chezmoi", "stow", "copy"]>>;
1070
+ readonly bootstrap: import("effect/Schema").optional<import("effect/Schema").Boolean>;
1071
+ readonly bootstrapCommand: import("effect/Schema").optional<import("effect/Schema").String>;
1072
+ }>>;
1073
+ readonly archives: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").Struct<{
1074
+ readonly data: import("effect/Schema").String;
1075
+ readonly manager: import("effect/Schema").optional<import("effect/Schema").Literals<readonly ["auto", "chezmoi", "stow", "copy"]>>;
1076
+ readonly target: import("effect/Schema").optional<import("effect/Schema").Literals<readonly ["home", "config"]>>;
1077
+ readonly bootstrap: import("effect/Schema").optional<import("effect/Schema").Boolean>;
1078
+ readonly bootstrapCommand: import("effect/Schema").optional<import("effect/Schema").String>;
1079
+ }>>>;
1010
1080
  }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
1011
1081
  readonly runId: import("effect/Schema").String;
1012
1082
  readonly workspaceId: import("effect/Schema").String;
@@ -1032,26 +1102,7 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
1032
1102
  readonly recordDeletedAt: import("effect/Schema").optional<import("effect/Schema").String>;
1033
1103
  readonly createdAt: import("effect/Schema").String;
1034
1104
  readonly updatedAt: import("effect/Schema").String;
1035
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./workspaces.js").WorkspaceBadRequestError | typeof import("./workspaces.js").WorkspaceNotFoundError | typeof import("./workspaces.js").WorkspaceConflictError | typeof import("./workspaces.js").WorkspaceBadGatewayError | typeof import("./workspaces.js").WorkspaceInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"getWorkspaceSshTarget", "GET", "/v1/workspaces/:workspaceId/ssh-target", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
1036
- readonly workspaceId: import("effect/Schema").String;
1037
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
1038
- readonly "x-sealant-gateway-token": import("effect/Schema").optional<import("effect/Schema").String>;
1039
- readonly "x-sealant-principal-id": import("effect/Schema").optional<import("effect/Schema").String>;
1040
- readonly "x-sealant-gateway-ssh-user": import("effect/Schema").optional<import("effect/Schema").String>;
1041
- readonly "x-sealant-ssh-key-fingerprint": import("effect/Schema").optional<import("effect/Schema").String>;
1042
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
1043
- readonly workspaceId: import("effect/Schema").String;
1044
- readonly attemptId: import("effect/Schema").String;
1045
- readonly runtime: import("effect/Schema").Struct<{
1046
- readonly adapter: import("effect/Schema").Literals<readonly ["docker", "k8s", "k3s", "cloudflare", "microvm"]>;
1047
- readonly resourceId: import("effect/Schema").String;
1048
- readonly reference: import("effect/Schema").String;
1049
- readonly status: import("effect/Schema").Literals<readonly ["pending", "running", "ready", "failed", "stopped"]>;
1050
- readonly endpoint: import("effect/Schema").String;
1051
- }>;
1052
- readonly sessionUser: import("effect/Schema").NullOr<import("effect/Schema").String>;
1053
- readonly sshKeyFingerprint: import("effect/Schema").optional<import("effect/Schema").String>;
1054
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./workspaces.js").WorkspaceUnauthorizedError | typeof import("./workspaces.js").WorkspaceSshKeyNoLongerRegisteredError | typeof import("./workspaces.js").WorkspaceNotFoundError | typeof import("./workspaces.js").WorkspaceConflictError | typeof import("./workspaces.js").WorkspaceServiceUnavailableError | typeof import("./workspaces.js").WorkspaceInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"bindWorkspace", "POST", "/v1/workspaces/:workspaceId/bind", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
1105
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./workspaces.js").WorkspaceBadRequestError | typeof import("./workspaces.js").WorkspaceForbiddenError | typeof import("./workspaces.js").WorkspaceNotFoundError | typeof import("./workspaces.js").WorkspaceConflictError | typeof import("./workspaces.js").WorkspaceBadGatewayError | typeof import("./workspaces.js").WorkspaceServiceUnavailableError | typeof import("./workspaces.js").WorkspaceInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"bindWorkspace", "POST", "/v1/workspaces/:workspaceId/bind", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
1055
1106
  readonly workspaceId: import("effect/Schema").String;
1056
1107
  }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
1057
1108
  readonly ownerUserId: import("effect/Schema").String;
@@ -1062,60 +1113,6 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
1062
1113
  readonly mountPath: import("effect/Schema").String;
1063
1114
  readonly subpath: import("effect/Schema").String;
1064
1115
  }>>;
1065
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./workspaces.js").WorkspaceBadRequestError | typeof import("./workspaces.js").WorkspaceNotFoundError | typeof import("./workspaces.js").WorkspaceConflictError | typeof import("./workspaces.js").WorkspaceInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"getWorkspaceCaptureStatus", "GET", "/v1/workspaces/:workspaceId/capture", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
1066
- readonly workspaceId: import("effect/Schema").String;
1067
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
1068
- readonly ownerUserId: import("effect/Schema").String;
1069
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
1070
- readonly epoch: import("effect/Schema").Number;
1071
- readonly worktreeId: import("effect/Schema").String;
1072
- readonly headN: import("effect/Schema").optional<import("effect/Schema").Number>;
1073
- readonly pending: import("effect/Schema").Number;
1074
- readonly stagedBytes: import("effect/Schema").Number;
1075
- readonly uploadedObjects: import("effect/Schema").Number;
1076
- readonly uploadedBytes: import("effect/Schema").Number;
1077
- readonly registered: import("effect/Schema").Number;
1078
- readonly fenced: import("effect/Schema").Boolean;
1079
- readonly paused: import("effect/Schema").Boolean;
1080
- readonly lastSnapUnixMs: import("effect/Schema").optional<import("effect/Schema").Number>;
1081
- readonly refused: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").Literals<readonly ["small", "bulk"]>>>;
1082
- readonly pendingBytes: import("effect/Schema").optional<import("effect/Schema").Number>;
1083
- readonly pendingBulk: import("effect/Schema").optional<import("effect/Schema").Number>;
1084
- readonly complete: import("effect/Schema").optional<import("effect/Schema").Boolean>;
1085
- readonly incompleteReason: import("effect/Schema").optional<import("effect/Schema").String>;
1086
- readonly unreadable: import("effect/Schema").optional<import("effect/Schema").Number>;
1087
- readonly carried: import("effect/Schema").optional<import("effect/Schema").Number>;
1088
- readonly unreadablePaths: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").String>>;
1089
- readonly registerRefused: import("effect/Schema").optional<import("effect/Schema").String>;
1090
- readonly registerRefusedN: import("effect/Schema").optional<import("effect/Schema").Number>;
1091
- readonly registerMissing: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").String>>;
1092
- readonly registerRefusals: import("effect/Schema").optional<import("effect/Schema").Number>;
1093
- readonly repairing: import("effect/Schema").optional<import("effect/Schema").Boolean>;
1094
- readonly bulkBuilding: import("effect/Schema").optional<import("effect/Schema").Boolean>;
1095
- readonly snaps: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").Struct<{
1096
- readonly class: import("effect/Schema").Literals<readonly ["small", "bulk"]>;
1097
- readonly snapsFailed: import("effect/Schema").Number;
1098
- readonly lastSnapError: import("effect/Schema").optional<import("effect/Schema").String>;
1099
- readonly snapFailingSinceUnixMs: import("effect/Schema").optional<import("effect/Schema").Number>;
1100
- }>>>;
1101
- readonly lastSnapError: import("effect/Schema").optional<import("effect/Schema").String>;
1102
- readonly snapFailingSinceUnixMs: import("effect/Schema").optional<import("effect/Schema").Number>;
1103
- readonly snapsFailed: import("effect/Schema").optional<import("effect/Schema").Number>;
1104
- readonly origin: import("effect/Schema").optional<import("effect/Schema").Struct<{
1105
- readonly epoch: import("effect/Schema").Int;
1106
- readonly launch: import("effect/Schema").String;
1107
- readonly bootId: import("effect/Schema").String;
1108
- readonly bootGeneration: import("effect/Schema").Int;
1109
- readonly observation: import("effect/Schema").Int;
1110
- readonly headN: import("effect/Schema").optional<import("effect/Schema").Int>;
1111
- }>>;
1112
- readonly overdue: import("effect/Schema").optional<import("effect/Schema").Struct<{
1113
- readonly step: import("effect/Schema").String;
1114
- readonly startedUnixMs: import("effect/Schema").Number;
1115
- readonly runningMs: import("effect/Schema").Number;
1116
- readonly boundMs: import("effect/Schema").Number;
1117
- }>>;
1118
- readonly ownerMap: import("effect/Schema").optional<import("effect/Schema").Boolean>;
1119
1116
  }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./workspaces.js").WorkspaceBadRequestError | typeof import("./workspaces.js").WorkspaceNotFoundError | typeof import("./workspaces.js").WorkspaceConflictError | typeof import("./workspaces.js").WorkspaceInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"flushWorkspaceCapture", "POST", "/v1/workspaces/:workspaceId/capture/flush", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
1120
1117
  readonly workspaceId: import("effect/Schema").String;
1121
1118
  }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
@@ -1196,7 +1193,16 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
1196
1193
  readonly bytesSkipped: import("effect/Schema").Number;
1197
1194
  readonly removed: import("effect/Schema").Number;
1198
1195
  readonly unchanged: import("effect/Schema").Boolean;
1199
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./workspaces.js").WorkspaceBadRequestError | typeof import("./workspaces.js").WorkspaceNotFoundError | typeof import("./workspaces.js").WorkspaceConflictError | typeof import("./workspaces.js").WorkspaceInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"stopWorkspace", "POST", "/v1/workspaces/:workspaceId/stop", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
1196
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./workspaces.js").WorkspaceBadRequestError | typeof import("./workspaces.js").WorkspaceNotFoundError | typeof import("./workspaces.js").WorkspaceConflictError | typeof import("./workspaces.js").WorkspaceInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"renameWorkspace", "PATCH", "/v1/workspaces/:workspaceId/name", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
1197
+ readonly workspaceId: import("effect/Schema").String;
1198
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
1199
+ readonly name: import("effect/Schema").String;
1200
+ readonly ownerUserId: import("effect/Schema").optional<import("effect/Schema").String>;
1201
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
1202
+ readonly workspaceId: import("effect/Schema").String;
1203
+ readonly name: import("effect/Schema").String;
1204
+ readonly updatedAt: import("effect/Schema").String;
1205
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./workspaces.js").WorkspaceNotFoundError | typeof import("./workspaces.js").WorkspaceInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"stopWorkspace", "POST", "/v1/workspaces/:workspaceId/stop", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
1200
1206
  readonly workspaceId: import("effect/Schema").String;
1201
1207
  }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
1202
1208
  readonly ownerUserId: import("effect/Schema").String;
@@ -1312,17 +1318,79 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
1312
1318
  readonly code: import("effect/Schema").Literals<readonly ["connected-account-missing", "connected-account-invalid", "connected-account-unsupported", "login-file-unusable"]>;
1313
1319
  readonly message: import("effect/Schema").String;
1314
1320
  }>>>;
1315
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./workspaces.js").WorkspaceBadRequestError | typeof import("./workspaces.js").WorkspaceForbiddenError | typeof import("./workspaces.js").WorkspaceNotFoundError | typeof import("./workspaces.js").WorkspaceConflictError | typeof import("./workspaces.js").WorkspaceBadGatewayError | typeof import("./workspaces.js").WorkspaceServiceUnavailableError | typeof import("./workspaces.js").WorkspaceInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"releaseWorkspaceCredentials", "DELETE", "/v1/workspaces/:workspaceId/credentials", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
1321
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./workspaces.js").WorkspaceBadRequestError | typeof import("./workspaces.js").WorkspaceForbiddenError | typeof import("./workspaces.js").WorkspaceNotFoundError | typeof import("./workspaces.js").WorkspaceConflictError | typeof import("./workspaces.js").WorkspaceBadGatewayError | typeof import("./workspaces.js").WorkspaceServiceUnavailableError | typeof import("./workspaces.js").WorkspaceInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"expireWorkspace", "POST", "/v1/workspaces/:workspaceId/expire", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
1316
1322
  readonly workspaceId: import("effect/Schema").String;
1317
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
1323
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
1318
1324
  readonly ownerUserId: import("effect/Schema").String;
1319
- readonly home: import("effect/Schema").String;
1320
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
1325
+ readonly ttlSeconds: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").Int>>;
1326
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
1321
1327
  readonly workspaceId: import("effect/Schema").String;
1322
- readonly runId: import("effect/Schema").String;
1323
- readonly home: import("effect/Schema").String;
1324
- readonly released: import("effect/Schema").Boolean;
1325
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./workspaces.js").WorkspaceBadRequestError | typeof import("./workspaces.js").WorkspaceForbiddenError | typeof import("./workspaces.js").WorkspaceNotFoundError | typeof import("./workspaces.js").WorkspaceConflictError | typeof import("./workspaces.js").WorkspaceBadGatewayError | typeof import("./workspaces.js").WorkspaceServiceUnavailableError | typeof import("./workspaces.js").WorkspaceInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"listWorkspaceCredentials", "GET", "/v1/workspaces/:workspaceId/credentials", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
1328
+ readonly expiresAt: import("effect/Schema").NullOr<import("effect/Schema").String>;
1329
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./workspaces.js").WorkspaceBadRequestError | typeof import("./workspaces.js").WorkspaceNotFoundError | typeof import("./workspaces.js").WorkspaceInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"cancelWorkspaceCreate", "POST", "/v1/workspaces/idempotency-keys/:idempotencyKey/cancel", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
1330
+ readonly idempotencyKey: import("effect/Schema").String;
1331
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
1332
+ readonly ownerUserId: import("effect/Schema").String;
1333
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
1334
+ readonly idempotencyKey: import("effect/Schema").String;
1335
+ readonly state: import("effect/Schema").Literals<readonly ["pending", "found", "cancelled", "none"]>;
1336
+ readonly workspaceId: import("effect/Schema").optional<import("effect/Schema").String>;
1337
+ readonly runId: import("effect/Schema").optional<import("effect/Schema").String>;
1338
+ readonly launchId: import("effect/Schema").optional<import("effect/Schema").String>;
1339
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./workspaces.js").WorkspaceBadRequestError | typeof import("./workspaces.js").WorkspaceInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"getWorkspaceCaptureStatus", "GET", "/v1/workspaces/:workspaceId/capture", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
1340
+ readonly workspaceId: import("effect/Schema").String;
1341
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
1342
+ readonly ownerUserId: import("effect/Schema").String;
1343
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
1344
+ readonly epoch: import("effect/Schema").Number;
1345
+ readonly worktreeId: import("effect/Schema").String;
1346
+ readonly headN: import("effect/Schema").optional<import("effect/Schema").Number>;
1347
+ readonly pending: import("effect/Schema").Number;
1348
+ readonly stagedBytes: import("effect/Schema").Number;
1349
+ readonly uploadedObjects: import("effect/Schema").Number;
1350
+ readonly uploadedBytes: import("effect/Schema").Number;
1351
+ readonly registered: import("effect/Schema").Number;
1352
+ readonly fenced: import("effect/Schema").Boolean;
1353
+ readonly paused: import("effect/Schema").Boolean;
1354
+ readonly lastSnapUnixMs: import("effect/Schema").optional<import("effect/Schema").Number>;
1355
+ readonly refused: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").Literals<readonly ["small", "bulk"]>>>;
1356
+ readonly pendingBytes: import("effect/Schema").optional<import("effect/Schema").Number>;
1357
+ readonly pendingBulk: import("effect/Schema").optional<import("effect/Schema").Number>;
1358
+ readonly complete: import("effect/Schema").optional<import("effect/Schema").Boolean>;
1359
+ readonly incompleteReason: import("effect/Schema").optional<import("effect/Schema").String>;
1360
+ readonly unreadable: import("effect/Schema").optional<import("effect/Schema").Number>;
1361
+ readonly carried: import("effect/Schema").optional<import("effect/Schema").Number>;
1362
+ readonly unreadablePaths: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").String>>;
1363
+ readonly registerRefused: import("effect/Schema").optional<import("effect/Schema").String>;
1364
+ readonly registerRefusedN: import("effect/Schema").optional<import("effect/Schema").Number>;
1365
+ readonly registerMissing: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").String>>;
1366
+ readonly registerRefusals: import("effect/Schema").optional<import("effect/Schema").Number>;
1367
+ readonly repairing: import("effect/Schema").optional<import("effect/Schema").Boolean>;
1368
+ readonly bulkBuilding: import("effect/Schema").optional<import("effect/Schema").Boolean>;
1369
+ readonly snaps: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").Struct<{
1370
+ readonly class: import("effect/Schema").Literals<readonly ["small", "bulk"]>;
1371
+ readonly snapsFailed: import("effect/Schema").Number;
1372
+ readonly lastSnapError: import("effect/Schema").optional<import("effect/Schema").String>;
1373
+ readonly snapFailingSinceUnixMs: import("effect/Schema").optional<import("effect/Schema").Number>;
1374
+ }>>>;
1375
+ readonly lastSnapError: import("effect/Schema").optional<import("effect/Schema").String>;
1376
+ readonly snapFailingSinceUnixMs: import("effect/Schema").optional<import("effect/Schema").Number>;
1377
+ readonly snapsFailed: import("effect/Schema").optional<import("effect/Schema").Number>;
1378
+ readonly origin: import("effect/Schema").optional<import("effect/Schema").Struct<{
1379
+ readonly epoch: import("effect/Schema").Int;
1380
+ readonly launch: import("effect/Schema").String;
1381
+ readonly bootId: import("effect/Schema").String;
1382
+ readonly bootGeneration: import("effect/Schema").Int;
1383
+ readonly observation: import("effect/Schema").Int;
1384
+ readonly headN: import("effect/Schema").optional<import("effect/Schema").Int>;
1385
+ }>>;
1386
+ readonly overdue: import("effect/Schema").optional<import("effect/Schema").Struct<{
1387
+ readonly step: import("effect/Schema").String;
1388
+ readonly startedUnixMs: import("effect/Schema").Number;
1389
+ readonly runningMs: import("effect/Schema").Number;
1390
+ readonly boundMs: import("effect/Schema").Number;
1391
+ }>>;
1392
+ readonly ownerMap: import("effect/Schema").optional<import("effect/Schema").Boolean>;
1393
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./workspaces.js").WorkspaceBadRequestError | typeof import("./workspaces.js").WorkspaceNotFoundError | typeof import("./workspaces.js").WorkspaceConflictError | typeof import("./workspaces.js").WorkspaceInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"listWorkspaceCredentials", "GET", "/v1/workspaces/:workspaceId/credentials", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
1326
1394
  readonly workspaceId: import("effect/Schema").String;
1327
1395
  }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
1328
1396
  readonly ownerUserId: import("effect/Schema").String;
@@ -1355,84 +1423,7 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
1355
1423
  }>>;
1356
1424
  }>;
1357
1425
  }>>;
1358
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./workspaces.js").WorkspaceForbiddenError | typeof import("./workspaces.js").WorkspaceNotFoundError | typeof import("./workspaces.js").WorkspaceConflictError | typeof import("./workspaces.js").WorkspaceInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"expireWorkspace", "POST", "/v1/workspaces/:workspaceId/expire", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
1359
- readonly workspaceId: import("effect/Schema").String;
1360
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
1361
- readonly ownerUserId: import("effect/Schema").String;
1362
- readonly ttlSeconds: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").Int>>;
1363
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
1364
- readonly workspaceId: import("effect/Schema").String;
1365
- readonly expiresAt: import("effect/Schema").NullOr<import("effect/Schema").String>;
1366
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./workspaces.js").WorkspaceBadRequestError | typeof import("./workspaces.js").WorkspaceNotFoundError | typeof import("./workspaces.js").WorkspaceInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"renameWorkspace", "PATCH", "/v1/workspaces/:workspaceId/name", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
1367
- readonly workspaceId: import("effect/Schema").String;
1368
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
1369
- readonly name: import("effect/Schema").String;
1370
- readonly ownerUserId: import("effect/Schema").optional<import("effect/Schema").String>;
1371
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
1372
- readonly workspaceId: import("effect/Schema").String;
1373
- readonly name: import("effect/Schema").String;
1374
- readonly updatedAt: import("effect/Schema").String;
1375
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./workspaces.js").WorkspaceNotFoundError | typeof import("./workspaces.js").WorkspaceInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"clearWorkspaceSshUser", "DELETE", "/v1/workspaces/:workspaceId/ssh-user", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
1376
- readonly workspaceId: import("effect/Schema").String;
1377
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
1378
- readonly ownerUserId: import("effect/Schema").optional<import("effect/Schema").String>;
1379
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
1380
- readonly workspaceId: import("effect/Schema").String;
1381
- readonly sshUser: import("effect/Schema").Null;
1382
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./workspaces.js").WorkspaceNotFoundError | typeof import("./workspaces.js").WorkspaceInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"createWorkspace", "POST", "/v1/workspaces/", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
1383
- readonly ownerUserId: import("effect/Schema").String;
1384
- readonly registryId: import("effect/Schema").String;
1385
- readonly repository: import("effect/Schema").String;
1386
- readonly tag: import("effect/Schema").String;
1387
- readonly name: import("effect/Schema").optional<import("effect/Schema").String>;
1388
- readonly sourceSelection: import("effect/Schema").optional<import("effect/Schema").Struct<{
1389
- readonly provider: import("effect/Schema").Literal<"github">;
1390
- readonly installationId: import("effect/Schema").String;
1391
- readonly installationRepositoryId: import("effect/Schema").String;
1392
- readonly ref: import("effect/Schema").optional<import("effect/Schema").String>;
1393
- }>>;
1394
- readonly dotfilesSelection: import("effect/Schema").optional<import("effect/Schema").Struct<{
1395
- readonly provider: import("effect/Schema").Literal<"github">;
1396
- readonly installationId: import("effect/Schema").String;
1397
- readonly installationRepositoryId: import("effect/Schema").String;
1398
- readonly ref: import("effect/Schema").optional<import("effect/Schema").String>;
1399
- }>>;
1400
- readonly credentials: import("effect/Schema").optional<import("effect/Schema").Struct<{
1401
- readonly profileId: import("effect/Schema").optional<import("effect/Schema").String>;
1402
- readonly claude: import("effect/Schema").optional<import("effect/Schema").String>;
1403
- readonly codex: import("effect/Schema").optional<import("effect/Schema").String>;
1404
- readonly github: import("effect/Schema").optional<import("effect/Schema").String>;
1405
- }>>;
1406
- readonly spec: import("effect/Schema").Unknown;
1407
- readonly secretEnv: import("effect/Schema").optional<import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").String>>;
1408
- readonly captureToken: import("effect/Schema").optional<import("effect/Schema").String>;
1409
- readonly ttlSeconds: import("effect/Schema").optional<import("effect/Schema").Int>;
1410
- readonly idempotencyKey: import("effect/Schema").optional<import("effect/Schema").String>;
1411
- readonly launchId: import("effect/Schema").optional<import("effect/Schema").String>;
1412
- readonly sshAsOwner: import("effect/Schema").optional<import("effect/Schema").Boolean>;
1413
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
1414
- readonly "idempotency-key": import("effect/Schema").optional<import("effect/Schema").String>;
1415
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
1416
- readonly workspaceId: import("effect/Schema").String;
1417
- readonly name: import("effect/Schema").String;
1418
- readonly status: import("effect/Schema").Literals<readonly ["queued", "running", "ready", "failed", "cancelled", "stopped", "retained"]>;
1419
- readonly registryId: import("effect/Schema").String;
1420
- readonly repository: import("effect/Schema").String;
1421
- readonly tag: import("effect/Schema").String;
1422
- readonly runId: import("effect/Schema").optional<import("effect/Schema").String>;
1423
- readonly runtime: import("effect/Schema").optional<import("effect/Schema").Struct<{
1424
- readonly adapter: import("effect/Schema").Literals<readonly ["docker", "k8s", "k3s", "cloudflare", "microvm"]>;
1425
- readonly resourceId: import("effect/Schema").String;
1426
- readonly reference: import("effect/Schema").String;
1427
- readonly status: import("effect/Schema").Literals<readonly ["pending", "running", "ready", "failed", "stopped", "retained"]>;
1428
- readonly endpoint: import("effect/Schema").optional<import("effect/Schema").String>;
1429
- readonly deadline: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").String>>;
1430
- readonly runId: import("effect/Schema").optional<import("effect/Schema").String>;
1431
- readonly launchId: import("effect/Schema").optional<import("effect/Schema").String>;
1432
- }>>;
1433
- readonly replayed: import("effect/Schema").optional<import("effect/Schema").Boolean>;
1434
- readonly launchId: import("effect/Schema").optional<import("effect/Schema").String>;
1435
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./budgets.ts").BudgetExceededError | typeof import("./workspaces.js").WorkspaceBadRequestError | typeof import("./workspaces.js").WorkspaceRuntimeEnvReferencesUnsupportedError | typeof import("./workspaces.js").WorkspaceDockerServiceUnsupportedError | typeof import("./workspaces.js").WorkspaceSshOwnerRefusedError | typeof import("./workspaces.js").WorkspaceForbiddenError | typeof import("./workspaces.js").WorkspaceNotFoundError | typeof import("./workspaces.js").WorkspaceConflictError | typeof import("./workspaces.js").WorkspaceBadGatewayError | typeof import("./workspaces.js").WorkspaceServiceUnavailableError | typeof import("./workspaces.js").WorkspaceInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"getWorkspaceCreate", "GET", "/v1/workspaces/idempotency-keys/:idempotencyKey", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
1426
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./workspaces.js").WorkspaceForbiddenError | typeof import("./workspaces.js").WorkspaceNotFoundError | typeof import("./workspaces.js").WorkspaceConflictError | typeof import("./workspaces.js").WorkspaceInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"getWorkspaceCreate", "GET", "/v1/workspaces/idempotency-keys/:idempotencyKey", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
1436
1427
  readonly idempotencyKey: import("effect/Schema").String;
1437
1428
  }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
1438
1429
  readonly ownerUserId: import("effect/Schema").String;
@@ -1442,16 +1433,6 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
1442
1433
  readonly workspaceId: import("effect/Schema").optional<import("effect/Schema").String>;
1443
1434
  readonly runId: import("effect/Schema").optional<import("effect/Schema").String>;
1444
1435
  readonly launchId: import("effect/Schema").optional<import("effect/Schema").String>;
1445
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./workspaces.js").WorkspaceBadRequestError | typeof import("./workspaces.js").WorkspaceInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"cancelWorkspaceCreate", "POST", "/v1/workspaces/idempotency-keys/:idempotencyKey/cancel", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
1446
- readonly idempotencyKey: import("effect/Schema").String;
1447
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
1448
- readonly ownerUserId: import("effect/Schema").String;
1449
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
1450
- readonly idempotencyKey: import("effect/Schema").String;
1451
- readonly state: import("effect/Schema").Literals<readonly ["pending", "found", "cancelled", "none"]>;
1452
- readonly workspaceId: import("effect/Schema").optional<import("effect/Schema").String>;
1453
- readonly runId: import("effect/Schema").optional<import("effect/Schema").String>;
1454
- readonly launchId: import("effect/Schema").optional<import("effect/Schema").String>;
1455
1436
  }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./workspaces.js").WorkspaceBadRequestError | typeof import("./workspaces.js").WorkspaceInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"getWorkspace", "GET", "/v1/workspaces/:workspaceId", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
1456
1437
  readonly workspaceId: import("effect/Schema").String;
1457
1438
  }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
@@ -1669,4 +1650,23 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
1669
1650
  readonly message: import("effect/Schema").optional<import("effect/Schema").String>;
1670
1651
  readonly data: import("effect/Schema").optional<import("effect/Schema").Unknown>;
1671
1652
  }>>;
1672
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./workspaces.js").WorkspaceBadRequestError | typeof import("./workspaces.js").WorkspaceNotFoundError | typeof import("./workspaces.js").WorkspaceInternalServerError>, RequestRefusal, never>, false>>;
1653
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./workspaces.js").WorkspaceBadRequestError | typeof import("./workspaces.js").WorkspaceNotFoundError | typeof import("./workspaces.js").WorkspaceInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"getWorkspaceSshTarget", "GET", "/v1/workspaces/:workspaceId/ssh-target", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
1654
+ readonly workspaceId: import("effect/Schema").String;
1655
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
1656
+ readonly "x-sealant-gateway-token": import("effect/Schema").optional<import("effect/Schema").String>;
1657
+ readonly "x-sealant-principal-id": import("effect/Schema").optional<import("effect/Schema").String>;
1658
+ readonly "x-sealant-gateway-ssh-user": import("effect/Schema").optional<import("effect/Schema").String>;
1659
+ readonly "x-sealant-ssh-key-fingerprint": import("effect/Schema").optional<import("effect/Schema").String>;
1660
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
1661
+ readonly workspaceId: import("effect/Schema").String;
1662
+ readonly attemptId: import("effect/Schema").String;
1663
+ readonly runtime: import("effect/Schema").Struct<{
1664
+ readonly adapter: import("effect/Schema").Literals<readonly ["docker", "k8s", "k3s", "cloudflare", "microvm"]>;
1665
+ readonly resourceId: import("effect/Schema").String;
1666
+ readonly reference: import("effect/Schema").String;
1667
+ readonly status: import("effect/Schema").Literals<readonly ["pending", "running", "ready", "failed", "stopped"]>;
1668
+ readonly endpoint: import("effect/Schema").String;
1669
+ }>;
1670
+ readonly sessionUser: import("effect/Schema").NullOr<import("effect/Schema").String>;
1671
+ readonly sshKeyFingerprint: import("effect/Schema").optional<import("effect/Schema").String>;
1672
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./workspaces.js").WorkspaceUnauthorizedError | typeof import("./workspaces.js").WorkspaceSshKeyNoLongerRegisteredError | typeof import("./workspaces.js").WorkspaceNotFoundError | typeof import("./workspaces.js").WorkspaceConflictError | typeof import("./workspaces.js").WorkspaceServiceUnavailableError | typeof import("./workspaces.js").WorkspaceInternalServerError>, RequestRefusal, never>, false>>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sealant/api-contracts-next",
3
- "version": "0.39.0-next.729",
3
+ "version": "0.39.0-next.731",
4
4
  "description": "Contract-first HTTP API definitions for Sealant services",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
@@ -32,7 +32,7 @@
32
32
  "peerDependencies": {
33
33
  "effect": ">=4.0.0-beta.85 <5"
34
34
  },
35
- "gitHead": "21ee980bcc9a5e6225dce86adae6fd21df020249",
35
+ "gitHead": "b9cd952258c0ead384ef3817bbbf9b282d3ebe84",
36
36
  "publishConfig": {
37
37
  "access": "public"
38
38
  }