@sealant/api-contracts-next 0.39.0-next.722 → 0.39.0-next.724

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,11 +1,9 @@
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<"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<{
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<{
4
6
  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>;
9
7
  }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
10
8
  readonly tokenId: import("effect/Schema").String;
11
9
  readonly ownerUserId: import("effect/Schema").String;
@@ -15,11 +13,12 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
15
13
  readonly expiresAt: import("effect/Schema").optional<import("effect/Schema").String>;
16
14
  readonly revokedAt: import("effect/Schema").optional<import("effect/Schema").String>;
17
15
  readonly createdAt: import("effect/Schema").String;
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<{
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<{
22
17
  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>;
23
22
  }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
24
23
  readonly tokenId: import("effect/Schema").String;
25
24
  readonly ownerUserId: import("effect/Schema").String;
@@ -29,6 +28,7 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
29
28
  readonly expiresAt: import("effect/Schema").optional<import("effect/Schema").String>;
30
29
  readonly revokedAt: import("effect/Schema").optional<import("effect/Schema").String>;
31
30
  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,10 +64,11 @@ 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<"markConnectedAccountInvalid", "POST", "/v1/connected-accounts/:connectedAccountId/mark-invalid", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
69
- readonly connectedAccountId: import("effect/Schema").String;
70
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<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;
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
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;
@@ -87,11 +87,11 @@ 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<"archiveConnectedAccount", "DELETE", "/v1/connected-accounts/:connectedAccountId", 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
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
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;
94
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
94
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
95
95
  readonly connectedAccountId: import("effect/Schema").String;
96
96
  readonly ownerUserId: import("effect/Schema").String;
97
97
  readonly provider: import("effect/Schema").Literals<readonly ["claude", "codex", "github"]>;
@@ -131,29 +131,7 @@ 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<"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<{
135
- readonly "x-github-delivery": import("effect/Schema").optional<import("effect/Schema").String>;
136
- readonly "x-github-event": import("effect/Schema").optional<import("effect/Schema").String>;
137
- readonly "x-hub-signature-256": import("effect/Schema").optional<import("effect/Schema").String>;
138
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
139
- readonly deliveryId: import("effect/Schema").String;
140
- readonly status: import("effect/Schema").Literals<readonly ["received", "processed", "failed", "ignored"]>;
141
- }>>, 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<{
142
- readonly userId: import("effect/Schema").String;
143
- readonly externalInstallationId: import("effect/Schema").String;
144
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
145
- readonly installation: import("effect/Schema").Struct<{
146
- readonly installationId: import("effect/Schema").String;
147
- readonly externalInstallationId: import("effect/Schema").String;
148
- readonly accountLogin: import("effect/Schema").String;
149
- readonly accountType: import("effect/Schema").Literals<readonly ["organization", "user"]>;
150
- readonly status: import("effect/Schema").Literals<readonly ["active", "suspended", "deleted"]>;
151
- readonly repositorySelection: import("effect/Schema").Literals<readonly ["all", "selected"]>;
152
- readonly lastSyncedAt: import("effect/Schema").optional<import("effect/Schema").String>;
153
- }>;
154
- readonly syncedRepositoryCount: import("effect/Schema").Number;
155
- readonly syncedAt: import("effect/Schema").String;
156
- }>>, 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<{
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<{
157
135
  readonly userId: import("effect/Schema").String;
158
136
  }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
159
137
  readonly items: import("effect/Schema").$Array<import("effect/Schema").Struct<{
@@ -192,7 +170,29 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
192
170
  readonly installationId: import("effect/Schema").String;
193
171
  readonly syncedRepositoryCount: import("effect/Schema").Number;
194
172
  readonly syncedAt: import("effect/Schema").String;
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<{
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<{
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,13 +285,25 @@ 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<"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<"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<"listProfileCredentialBindings", "GET", "/v1/profiles/:profileId/credential-bindings", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
289
303
  readonly profileId: import("effect/Schema").String;
290
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
304
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
291
305
  readonly ownerUserId: import("effect/Schema").String;
292
- readonly provider: import("effect/Schema").Literals<readonly ["claude", "codex", "github"]>;
293
- readonly connectedAccountId: import("effect/Schema").NullOr<import("effect/Schema").String>;
294
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
306
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
295
307
  readonly items: import("effect/Schema").$Array<import("effect/Schema").Struct<{
296
308
  readonly profileId: import("effect/Schema").String;
297
309
  readonly provider: import("effect/Schema").Literals<readonly ["claude", "codex", "github"]>;
@@ -316,25 +328,13 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
316
328
  }>;
317
329
  }>;
318
330
  }>>;
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<{
331
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./profiles.js").ProfileNotFoundError | 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<{
334
332
  readonly profileId: import("effect/Schema").String;
335
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
333
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
336
334
  readonly ownerUserId: import("effect/Schema").String;
337
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
335
+ readonly provider: import("effect/Schema").Literals<readonly ["claude", "codex", "github"]>;
336
+ readonly connectedAccountId: import("effect/Schema").NullOr<import("effect/Schema").String>;
337
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
338
338
  readonly items: import("effect/Schema").$Array<import("effect/Schema").Struct<{
339
339
  readonly profileId: import("effect/Schema").String;
340
340
  readonly provider: import("effect/Schema").Literals<readonly ["claude", "codex", "github"]>;
@@ -359,7 +359,7 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
359
359
  }>;
360
360
  }>;
361
361
  }>>;
362
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./profiles.js").ProfileNotFoundError | typeof import("./profiles.js").ProfileInternalServerError>, RequestRefusal, never>, false> | import("effect/unstable/httpapi/HttpApiGroup").HttpApiGroup<"registries", import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"getRegistry", "GET", "/v1/registries/:registryId", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
362
+ }>>, 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>, false> | import("effect/unstable/httpapi/HttpApiGroup").HttpApiGroup<"registries", import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"getRegistry", "GET", "/v1/registries/:registryId", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
363
363
  readonly registryId: import("effect/Schema").String;
364
364
  }>>, 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<{
365
365
  readonly name: import("effect/Schema").String;
@@ -398,20 +398,11 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
398
398
  readonly digest: import("effect/Schema").optional<import("effect/Schema").String>;
399
399
  readonly contentType: import("effect/Schema").Union<readonly [import("effect/Schema").String, import("effect/Schema").Null]>;
400
400
  readonly manifest: import("effect/Schema").Unknown;
401
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./registries.js").RegistriesNotFoundError | typeof import("./registries.js").RegistriesBadGatewayError>, RequestRefusal, never>, false> | import("effect/unstable/httpapi/HttpApiGroup").HttpApiGroup<"runs", import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"createRun", "POST", "/v1/runs/", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
402
- readonly workspaceId: import("effect/Schema").String;
403
- readonly harnessId: import("effect/Schema").String;
404
- readonly ownerUserId: import("effect/Schema").String;
405
- readonly mode: import("effect/Schema").optional<import("effect/Schema").Literals<readonly ["one-shot", "interactive"]>>;
406
- readonly prompt: import("effect/Schema").optional<import("effect/Schema").String>;
407
- readonly attemptId: import("effect/Schema").optional<import("effect/Schema").String>;
408
- readonly command: import("effect/Schema").optional<import("effect/Schema").Struct<{
409
- readonly executable: import("effect/Schema").String;
410
- readonly args: import("effect/Schema").$Array<import("effect/Schema").String>;
411
- readonly cwd: import("effect/Schema").optional<import("effect/Schema").String>;
412
- }>>;
413
- readonly metadata: import("effect/Schema").optional<import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").Unknown>>;
414
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
401
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./registries.js").RegistriesNotFoundError | typeof import("./registries.js").RegistriesBadGatewayError>, RequestRefusal, never>, false> | import("effect/unstable/httpapi/HttpApiGroup").HttpApiGroup<"runs", import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"getRun", "GET", "/v1/runs/:runId", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
402
+ readonly runId: import("effect/Schema").String;
403
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
404
+ readonly ownerUserId: import("effect/Schema").optional<import("effect/Schema").String>;
405
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
415
406
  readonly runId: import("effect/Schema").String;
416
407
  readonly workspaceId: import("effect/Schema").String;
417
408
  readonly attemptId: import("effect/Schema").optional<import("effect/Schema").String>;
@@ -436,7 +427,7 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
436
427
  readonly recordDeletedAt: import("effect/Schema").optional<import("effect/Schema").String>;
437
428
  readonly createdAt: import("effect/Schema").String;
438
429
  readonly updatedAt: import("effect/Schema").String;
439
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./budgets.ts").BudgetExceededError | typeof import("./runs.js").RunBadRequestError | typeof import("./runs.js").RunNotFoundError | typeof import("./runs.js").RunInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"updateRun", "PATCH", "/v1/runs/:runId", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
430
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./budgets.ts").BudgetExceededError | typeof import("./runs.js").RunNotFoundError | typeof import("./runs.js").RunInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"updateRun", "PATCH", "/v1/runs/:runId", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
440
431
  readonly runId: import("effect/Schema").String;
441
432
  }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
442
433
  readonly ownerUserId: import("effect/Schema").optional<import("effect/Schema").String>;
@@ -475,7 +466,45 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
475
466
  readonly recordDeletedAt: import("effect/Schema").optional<import("effect/Schema").String>;
476
467
  readonly createdAt: import("effect/Schema").String;
477
468
  readonly updatedAt: import("effect/Schema").String;
478
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./runs.js").RunBadRequestError | typeof import("./runs.js").RunNotFoundError | typeof import("./runs.js").RunInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"listRuns", "GET", "/v1/runs/", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
469
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./runs.js").RunBadRequestError | typeof import("./runs.js").RunNotFoundError | typeof import("./runs.js").RunInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"createRun", "POST", "/v1/runs/", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
470
+ readonly workspaceId: import("effect/Schema").String;
471
+ readonly harnessId: import("effect/Schema").String;
472
+ readonly ownerUserId: import("effect/Schema").String;
473
+ readonly mode: import("effect/Schema").optional<import("effect/Schema").Literals<readonly ["one-shot", "interactive"]>>;
474
+ readonly prompt: import("effect/Schema").optional<import("effect/Schema").String>;
475
+ readonly attemptId: import("effect/Schema").optional<import("effect/Schema").String>;
476
+ readonly command: import("effect/Schema").optional<import("effect/Schema").Struct<{
477
+ readonly executable: import("effect/Schema").String;
478
+ readonly args: import("effect/Schema").$Array<import("effect/Schema").String>;
479
+ readonly cwd: import("effect/Schema").optional<import("effect/Schema").String>;
480
+ }>>;
481
+ readonly metadata: import("effect/Schema").optional<import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").Unknown>>;
482
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
483
+ readonly runId: import("effect/Schema").String;
484
+ readonly workspaceId: import("effect/Schema").String;
485
+ readonly attemptId: import("effect/Schema").optional<import("effect/Schema").String>;
486
+ readonly ownerUserId: import("effect/Schema").String;
487
+ readonly harnessId: import("effect/Schema").String;
488
+ readonly mode: import("effect/Schema").Literals<readonly ["one-shot", "interactive"]>;
489
+ readonly status: import("effect/Schema").Literals<readonly ["queued", "running", "completed", "failed", "cancelled"]>;
490
+ readonly prompt: import("effect/Schema").optional<import("effect/Schema").String>;
491
+ readonly command: import("effect/Schema").optional<import("effect/Schema").Struct<{
492
+ readonly executable: import("effect/Schema").String;
493
+ readonly args: import("effect/Schema").$Array<import("effect/Schema").String>;
494
+ readonly cwd: import("effect/Schema").optional<import("effect/Schema").String>;
495
+ readonly argCount: import("effect/Schema").optional<import("effect/Schema").Number>;
496
+ readonly argLengths: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").Number>>;
497
+ }>>;
498
+ readonly metadata: import("effect/Schema").optional<import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").Unknown>>;
499
+ readonly user: import("effect/Schema").optional<import("effect/Schema").String>;
500
+ readonly exitCode: import("effect/Schema").optional<import("effect/Schema").Number>;
501
+ readonly errorMessage: import("effect/Schema").optional<import("effect/Schema").String>;
502
+ readonly startedAt: import("effect/Schema").optional<import("effect/Schema").String>;
503
+ readonly finishedAt: import("effect/Schema").optional<import("effect/Schema").String>;
504
+ readonly recordDeletedAt: import("effect/Schema").optional<import("effect/Schema").String>;
505
+ readonly createdAt: import("effect/Schema").String;
506
+ readonly updatedAt: import("effect/Schema").String;
507
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./budgets.ts").BudgetExceededError | typeof import("./runs.js").RunBadRequestError | typeof import("./runs.js").RunNotFoundError | typeof import("./runs.js").RunInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"listRuns", "GET", "/v1/runs/", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
479
508
  readonly workspaceId: import("effect/Schema").optional<import("effect/Schema").String>;
480
509
  readonly ownerUserId: import("effect/Schema").optional<import("effect/Schema").String>;
481
510
  readonly status: import("effect/Schema").optional<import("effect/Schema").Literals<readonly ["queued", "running", "completed", "failed", "cancelled"]>>;
@@ -507,36 +536,27 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
507
536
  readonly createdAt: import("effect/Schema").String;
508
537
  readonly updatedAt: import("effect/Schema").String;
509
538
  }>>;
510
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./runs.js").RunBadRequestError | typeof import("./runs.js").RunInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"getRun", "GET", "/v1/runs/:runId", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
539
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./runs.js").RunBadRequestError | typeof import("./runs.js").RunInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"getRunTimeline", "GET", "/v1/runs/:runId/timeline", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
511
540
  readonly runId: import("effect/Schema").String;
512
541
  }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
513
542
  readonly ownerUserId: import("effect/Schema").optional<import("effect/Schema").String>;
543
+ readonly fromSequence: import("effect/Schema").optional<import("effect/Schema").String>;
544
+ readonly toSequence: import("effect/Schema").optional<import("effect/Schema").String>;
545
+ readonly limit: import("effect/Schema").optional<import("effect/Schema").String>;
546
+ readonly kinds: import("effect/Schema").optional<import("effect/Schema").String>;
514
547
  }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
515
- readonly runId: import("effect/Schema").String;
516
- readonly workspaceId: import("effect/Schema").String;
517
- readonly attemptId: import("effect/Schema").optional<import("effect/Schema").String>;
518
- readonly ownerUserId: import("effect/Schema").String;
519
- readonly harnessId: import("effect/Schema").String;
520
- readonly mode: import("effect/Schema").Literals<readonly ["one-shot", "interactive"]>;
521
- readonly status: import("effect/Schema").Literals<readonly ["queued", "running", "completed", "failed", "cancelled"]>;
522
- readonly prompt: import("effect/Schema").optional<import("effect/Schema").String>;
523
- readonly command: import("effect/Schema").optional<import("effect/Schema").Struct<{
524
- readonly executable: import("effect/Schema").String;
525
- readonly args: import("effect/Schema").$Array<import("effect/Schema").String>;
526
- readonly cwd: import("effect/Schema").optional<import("effect/Schema").String>;
527
- readonly argCount: import("effect/Schema").optional<import("effect/Schema").Number>;
528
- readonly argLengths: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").Number>>;
548
+ readonly items: import("effect/Schema").$Array<import("effect/Schema").Struct<{
549
+ readonly eventId: import("effect/Schema").String;
550
+ readonly sequence: import("effect/Schema").String;
551
+ readonly kind: import("effect/Schema").String;
552
+ readonly occurredAt: import("effect/Schema").String;
553
+ readonly summary: import("effect/Schema").String;
554
+ readonly ref: import("effect/Schema").optional<import("effect/Schema").Unknown>;
555
+ readonly processId: import("effect/Schema").optional<import("effect/Schema").String>;
556
+ readonly captureMethod: import("effect/Schema").Number;
557
+ readonly confidence: import("effect/Schema").Number;
529
558
  }>>;
530
- readonly metadata: import("effect/Schema").optional<import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").Unknown>>;
531
- readonly user: import("effect/Schema").optional<import("effect/Schema").String>;
532
- readonly exitCode: import("effect/Schema").optional<import("effect/Schema").Number>;
533
- readonly errorMessage: import("effect/Schema").optional<import("effect/Schema").String>;
534
- readonly startedAt: import("effect/Schema").optional<import("effect/Schema").String>;
535
- readonly finishedAt: import("effect/Schema").optional<import("effect/Schema").String>;
536
- readonly recordDeletedAt: import("effect/Schema").optional<import("effect/Schema").String>;
537
- readonly createdAt: import("effect/Schema").String;
538
- readonly updatedAt: import("effect/Schema").String;
539
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./budgets.ts").BudgetExceededError | typeof import("./runs.js").RunNotFoundError | typeof import("./runs.js").RunInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"getRunEvent", "GET", "/v1/runs/:runId/events/:sequence", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
559
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./runs.js").RunBadRequestError | typeof import("./runs.js").RunNotFoundError | typeof import("./runs.js").RunInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"getRunEvent", "GET", "/v1/runs/:runId/events/:sequence", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
540
560
  readonly runId: import("effect/Schema").String;
541
561
  readonly sequence: import("effect/Schema").String;
542
562
  }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
@@ -558,6 +578,20 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
558
578
  readonly payloadCase: import("effect/Schema").String;
559
579
  readonly payload: import("effect/Schema").Unknown;
560
580
  readonly ingestedAt: import("effect/Schema").String;
581
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./runs.js").RunBadRequestError | typeof import("./runs.js").RunNotFoundError | typeof import("./runs.js").RunInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"getRunScrollback", "GET", "/v1/runs/:runId/scrollback", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
582
+ readonly runId: import("effect/Schema").String;
583
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
584
+ readonly ownerUserId: import("effect/Schema").optional<import("effect/Schema").String>;
585
+ readonly processId: import("effect/Schema").String;
586
+ readonly stream: import("effect/Schema").Literals<readonly ["stdout", "stderr", "pty"]>;
587
+ readonly atSequence: import("effect/Schema").optional<import("effect/Schema").String>;
588
+ readonly fromSequence: import("effect/Schema").optional<import("effect/Schema").String>;
589
+ readonly limit: import("effect/Schema").optional<import("effect/Schema").String>;
590
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
591
+ readonly processId: import("effect/Schema").String;
592
+ readonly stream: import("effect/Schema").Literals<readonly ["stdout", "stderr", "pty"]>;
593
+ readonly byteCount: import("effect/Schema").Number;
594
+ readonly contentBase64: import("effect/Schema").String;
561
595
  }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./runs.js").RunBadRequestError | typeof import("./runs.js").RunNotFoundError | typeof import("./runs.js").RunInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"getRunLoss", "GET", "/v1/runs/:runId/loss", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
562
596
  readonly runId: import("effect/Schema").String;
563
597
  }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
@@ -589,53 +623,11 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
589
623
  readonly diff: import("effect/Schema").String;
590
624
  readonly available: import("effect/Schema").optional<import("effect/Schema").Boolean>;
591
625
  readonly unavailableReason: import("effect/Schema").optional<import("effect/Schema").String>;
592
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./runs.js").RunNotFoundError | typeof import("./runs.js").RunInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"getRunTimeline", "GET", "/v1/runs/:runId/timeline", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
593
- readonly runId: import("effect/Schema").String;
594
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
595
- readonly ownerUserId: import("effect/Schema").optional<import("effect/Schema").String>;
596
- readonly fromSequence: import("effect/Schema").optional<import("effect/Schema").String>;
597
- readonly toSequence: import("effect/Schema").optional<import("effect/Schema").String>;
598
- readonly limit: import("effect/Schema").optional<import("effect/Schema").String>;
599
- readonly kinds: import("effect/Schema").optional<import("effect/Schema").String>;
600
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
601
- readonly items: import("effect/Schema").$Array<import("effect/Schema").Struct<{
602
- readonly eventId: import("effect/Schema").String;
603
- readonly sequence: import("effect/Schema").String;
604
- readonly kind: import("effect/Schema").String;
605
- readonly occurredAt: import("effect/Schema").String;
606
- readonly summary: import("effect/Schema").String;
607
- readonly ref: import("effect/Schema").optional<import("effect/Schema").Unknown>;
608
- readonly processId: import("effect/Schema").optional<import("effect/Schema").String>;
609
- readonly captureMethod: import("effect/Schema").Number;
610
- readonly confidence: import("effect/Schema").Number;
611
- }>>;
612
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./runs.js").RunBadRequestError | typeof import("./runs.js").RunNotFoundError | typeof import("./runs.js").RunInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"getRunScrollback", "GET", "/v1/runs/:runId/scrollback", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
613
- readonly runId: import("effect/Schema").String;
626
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./runs.js").RunNotFoundError | typeof import("./runs.js").RunInternalServerError>, RequestRefusal, never>, false> | import("effect/unstable/httpapi/HttpApiGroup").HttpApiGroup<"sessions", import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"getSession", "GET", "/v1/sessions/:sessionId", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
627
+ readonly sessionId: import("effect/Schema").String;
614
628
  }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
615
629
  readonly ownerUserId: import("effect/Schema").optional<import("effect/Schema").String>;
616
- readonly processId: import("effect/Schema").String;
617
- readonly stream: import("effect/Schema").Literals<readonly ["stdout", "stderr", "pty"]>;
618
- readonly atSequence: import("effect/Schema").optional<import("effect/Schema").String>;
619
- readonly fromSequence: import("effect/Schema").optional<import("effect/Schema").String>;
620
- readonly limit: import("effect/Schema").optional<import("effect/Schema").String>;
621
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
622
- readonly processId: import("effect/Schema").String;
623
- readonly stream: import("effect/Schema").Literals<readonly ["stdout", "stderr", "pty"]>;
624
- readonly byteCount: import("effect/Schema").Number;
625
- readonly contentBase64: import("effect/Schema").String;
626
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./runs.js").RunBadRequestError | typeof import("./runs.js").RunNotFoundError | typeof import("./runs.js").RunInternalServerError>, RequestRefusal, never>, false> | import("effect/unstable/httpapi/HttpApiGroup").HttpApiGroup<"sessions", import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"createSession", "POST", "/v1/sessions/", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
627
- readonly workspaceId: import("effect/Schema").String;
628
- readonly ownerUserId: import("effect/Schema").String;
629
- readonly argv: import("effect/Schema").$Array<import("effect/Schema").String>;
630
- readonly cwd: import("effect/Schema").optional<import("effect/Schema").String>;
631
- readonly env: import("effect/Schema").optional<import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").String>>;
632
- readonly cols: import("effect/Schema").optional<import("effect/Schema").Int>;
633
- readonly rows: import("effect/Schema").optional<import("effect/Schema").Int>;
634
- readonly term: import("effect/Schema").optional<import("effect/Schema").String>;
635
- readonly mode: import("effect/Schema").optional<import("effect/Schema").Literals<readonly ["pty", "pipe"]>>;
636
- readonly metadata: import("effect/Schema").optional<import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").Unknown>>;
637
- readonly user: import("effect/Schema").optional<import("effect/Schema").String>;
638
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
630
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
639
631
  readonly authorization: import("effect/Schema").optional<import("effect/Schema").String>;
640
632
  }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
641
633
  readonly sessionId: import("effect/Schema").String;
@@ -657,7 +649,7 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
657
649
  readonly outputHighWater: import("effect/Schema").String;
658
650
  readonly createdAt: import("effect/Schema").String;
659
651
  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<"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<{
652
+ }>>, 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<"createSession", "POST", "/v1/sessions/", 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
653
  readonly workspaceId: import("effect/Schema").String;
662
654
  readonly ownerUserId: import("effect/Schema").String;
663
655
  readonly argv: import("effect/Schema").$Array<import("effect/Schema").String>;
@@ -668,7 +660,7 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
668
660
  readonly term: import("effect/Schema").optional<import("effect/Schema").String>;
669
661
  readonly mode: import("effect/Schema").optional<import("effect/Schema").Literals<readonly ["pty", "pipe"]>>;
670
662
  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;
663
+ readonly user: import("effect/Schema").optional<import("effect/Schema").String>;
672
664
  }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
673
665
  readonly authorization: import("effect/Schema").optional<import("effect/Schema").String>;
674
666
  }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
@@ -691,38 +683,44 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
691
683
  readonly outputHighWater: import("effect/Schema").String;
692
684
  readonly createdAt: import("effect/Schema").String;
693
685
  readonly endedAt: import("effect/Schema").optional<import("effect/Schema").String>;
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<{
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").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<{
714
687
  readonly sessionId: import("effect/Schema").String;
715
688
  }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
716
689
  readonly ownerUserId: import("effect/Schema").optional<import("effect/Schema").String>;
717
- readonly signal: import("effect/Schema").Int;
718
690
  }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
719
691
  readonly authorization: import("effect/Schema").optional<import("effect/Schema").String>;
720
692
  }>>, 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<{
723
693
  readonly sessionId: import("effect/Schema").String;
724
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
725
- readonly ownerUserId: import("effect/Schema").optional<import("effect/Schema").String>;
694
+ readonly workspaceId: import("effect/Schema").String;
695
+ readonly runId: import("effect/Schema").String;
696
+ readonly ownerUserId: import("effect/Schema").String;
697
+ readonly status: import("effect/Schema").Literals<readonly ["starting", "running", "exited", "failed"]>;
698
+ readonly argv: import("effect/Schema").$Array<import("effect/Schema").String>;
699
+ readonly argCount: import("effect/Schema").optional<import("effect/Schema").Number>;
700
+ readonly argLengths: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").Number>>;
701
+ readonly cwd: import("effect/Schema").optional<import("effect/Schema").String>;
702
+ readonly cols: import("effect/Schema").Number;
703
+ readonly rows: import("effect/Schema").Number;
704
+ readonly mode: import("effect/Schema").optional<import("effect/Schema").Literals<readonly ["pty", "pipe"]>>;
705
+ readonly exitCode: import("effect/Schema").optional<import("effect/Schema").Number>;
706
+ readonly exitSignal: import("effect/Schema").optional<import("effect/Schema").Number>;
707
+ readonly errorMessage: import("effect/Schema").optional<import("effect/Schema").String>;
708
+ readonly metadata: import("effect/Schema").optional<import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").Unknown>>;
709
+ readonly outputHighWater: import("effect/Schema").String;
710
+ readonly createdAt: import("effect/Schema").String;
711
+ 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;
726
724
  }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
727
725
  readonly authorization: import("effect/Schema").optional<import("effect/Schema").String>;
728
726
  }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
@@ -745,7 +743,7 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
745
743
  readonly outputHighWater: import("effect/Schema").String;
746
744
  readonly createdAt: import("effect/Schema").String;
747
745
  readonly endedAt: import("effect/Schema").optional<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<"listSessions", "GET", "/v1/sessions/", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
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<{
749
747
  readonly ownerUserId: import("effect/Schema").String;
750
748
  readonly workspaceId: import("effect/Schema").optional<import("effect/Schema").String>;
751
749
  readonly status: import("effect/Schema").optional<import("effect/Schema").Literals<readonly ["starting", "running", "exited", "failed"]>>;
@@ -790,64 +788,57 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
790
788
  }>>;
791
789
  readonly nextFrom: import("effect/Schema").String;
792
790
  readonly status: import("effect/Schema").Literals<readonly ["starting", "running", "exited", "failed"]>;
793
- }>>, 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<"getSession", "GET", "/v1/sessions/:sessionId", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
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<{
794
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;
795
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<{
796
803
  readonly ownerUserId: import("effect/Schema").optional<import("effect/Schema").String>;
797
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
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<{
798
807
  readonly authorization: import("effect/Schema").optional<import("effect/Schema").String>;
799
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<{
800
811
  readonly sessionId: import("effect/Schema").String;
801
- readonly workspaceId: import("effect/Schema").String;
802
- readonly runId: import("effect/Schema").String;
803
- readonly ownerUserId: import("effect/Schema").String;
804
- readonly status: import("effect/Schema").Literals<readonly ["starting", "running", "exited", "failed"]>;
805
- readonly argv: import("effect/Schema").$Array<import("effect/Schema").String>;
806
- readonly argCount: import("effect/Schema").optional<import("effect/Schema").Number>;
807
- readonly argLengths: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").Number>>;
808
- readonly cwd: import("effect/Schema").optional<import("effect/Schema").String>;
809
- readonly cols: import("effect/Schema").Number;
810
- readonly rows: import("effect/Schema").Number;
811
- readonly mode: import("effect/Schema").optional<import("effect/Schema").Literals<readonly ["pty", "pipe"]>>;
812
- readonly exitCode: import("effect/Schema").optional<import("effect/Schema").Number>;
813
- readonly exitSignal: import("effect/Schema").optional<import("effect/Schema").Number>;
814
- readonly errorMessage: import("effect/Schema").optional<import("effect/Schema").String>;
815
- readonly metadata: import("effect/Schema").optional<import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").Unknown>>;
816
- readonly outputHighWater: import("effect/Schema").String;
817
- readonly createdAt: import("effect/Schema").String;
818
- readonly endedAt: import("effect/Schema").optional<import("effect/Schema").String>;
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<"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
- 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
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;
815
+ }>>, 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<"archiveSshKey", "DELETE", "/v1/ssh-keys/:sshKeyId", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
820
+ readonly sshKeyId: import("effect/Schema").String;
821
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
822
+ readonly ownerUserId: import("effect/Schema").String;
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<"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<{
831
- readonly algo: import("effect/Schema").String;
832
- readonly publicKeyBase64: import("effect/Schema").String;
833
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
834
- readonly "x-sealant-gateway-token": import("effect/Schema").optional<import("effect/Schema").String>;
835
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
836
- readonly principalId: import("effect/Schema").String;
837
- readonly sshKeyId: import("effect/Schema").String;
838
- readonly fingerprint: import("effect/Schema").String;
839
- }>>, 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<"archiveSshKey", "DELETE", "/v1/ssh-keys/:sshKeyId", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
840
- readonly sshKeyId: import("effect/Schema").String;
841
- }>>, 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<{
842
831
  readonly ownerUserId: import("effect/Schema").String;
843
- }>>, 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<{
844
835
  readonly sshKeyId: import("effect/Schema").String;
845
836
  readonly ownerUserId: import("effect/Schema").String;
846
837
  readonly name: import("effect/Schema").String;
847
838
  readonly algorithm: import("effect/Schema").String;
848
839
  readonly fingerprint: import("effect/Schema").String;
849
840
  readonly createdAt: import("effect/Schema").String;
850
- }>>, 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<"listSshKeys", "GET", "/v1/ssh-keys/", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
851
842
  readonly ownerUserId: import("effect/Schema").String;
852
843
  }>>, 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
844
  readonly items: import("effect/Schema").$Array<import("effect/Schema").Struct<{
@@ -858,7 +849,16 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
858
849
  readonly fingerprint: import("effect/Schema").String;
859
850
  readonly createdAt: import("effect/Schema").String;
860
851
  }>>;
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<{
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<{
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,7 +885,14 @@ 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<"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<"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<{
889
896
  readonly email: import("effect/Schema").String;
890
897
  readonly name: import("effect/Schema").String;
891
898
  readonly userId: import("effect/Schema").optional<import("effect/Schema").String>;
@@ -909,76 +916,27 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
909
916
  readonly home: import("effect/Schema").String;
910
917
  }>;
911
918
  readonly created: import("effect/Schema").Boolean;
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<"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<{
920
- readonly ownerUserId: import("effect/Schema").String;
921
- readonly registryId: import("effect/Schema").String;
922
- readonly repository: import("effect/Schema").String;
923
- readonly tag: import("effect/Schema").String;
924
- readonly name: import("effect/Schema").optional<import("effect/Schema").String>;
925
- readonly sourceSelection: import("effect/Schema").optional<import("effect/Schema").Struct<{
926
- readonly provider: import("effect/Schema").Literal<"github">;
927
- readonly installationId: import("effect/Schema").String;
928
- readonly installationRepositoryId: import("effect/Schema").String;
929
- readonly ref: import("effect/Schema").optional<import("effect/Schema").String>;
930
- }>>;
931
- readonly dotfilesSelection: import("effect/Schema").optional<import("effect/Schema").Struct<{
932
- readonly provider: import("effect/Schema").Literal<"github">;
933
- readonly installationId: import("effect/Schema").String;
934
- readonly installationRepositoryId: import("effect/Schema").String;
935
- readonly ref: import("effect/Schema").optional<import("effect/Schema").String>;
936
- }>>;
937
- readonly credentials: import("effect/Schema").optional<import("effect/Schema").Struct<{
938
- readonly profileId: import("effect/Schema").optional<import("effect/Schema").String>;
939
- readonly claude: import("effect/Schema").optional<import("effect/Schema").String>;
940
- readonly codex: import("effect/Schema").optional<import("effect/Schema").String>;
941
- readonly github: import("effect/Schema").optional<import("effect/Schema").String>;
942
- }>>;
943
- readonly spec: import("effect/Schema").Unknown;
944
- readonly secretEnv: import("effect/Schema").optional<import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").String>>;
945
- readonly captureToken: import("effect/Schema").optional<import("effect/Schema").String>;
946
- readonly ttlSeconds: import("effect/Schema").optional<import("effect/Schema").Int>;
947
- readonly idempotencyKey: import("effect/Schema").optional<import("effect/Schema").String>;
948
- readonly launchId: import("effect/Schema").optional<import("effect/Schema").String>;
949
- readonly sshAsOwner: import("effect/Schema").optional<import("effect/Schema").Boolean>;
950
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
951
- readonly "idempotency-key": import("effect/Schema").optional<import("effect/Schema").String>;
952
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
953
- readonly workspaceId: import("effect/Schema").String;
954
- readonly name: import("effect/Schema").String;
955
- readonly status: import("effect/Schema").Literals<readonly ["queued", "running", "ready", "failed", "cancelled", "stopped", "retained"]>;
956
- readonly registryId: import("effect/Schema").String;
957
- readonly repository: import("effect/Schema").String;
958
- readonly tag: import("effect/Schema").String;
959
- readonly runId: import("effect/Schema").optional<import("effect/Schema").String>;
960
- readonly runtime: import("effect/Schema").optional<import("effect/Schema").Struct<{
961
- readonly adapter: import("effect/Schema").Literals<readonly ["docker", "k8s", "k3s", "cloudflare", "microvm"]>;
962
- readonly resourceId: import("effect/Schema").String;
963
- readonly reference: import("effect/Schema").String;
964
- readonly status: import("effect/Schema").Literals<readonly ["pending", "running", "ready", "failed", "stopped", "retained"]>;
965
- readonly endpoint: import("effect/Schema").optional<import("effect/Schema").String>;
966
- readonly deadline: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").String>>;
967
- readonly runId: import("effect/Schema").optional<import("effect/Schema").String>;
968
- readonly launchId: import("effect/Schema").optional<import("effect/Schema").String>;
969
- }>>;
970
- readonly replayed: import("effect/Schema").optional<import("effect/Schema").Boolean>;
971
- readonly launchId: import("effect/Schema").optional<import("effect/Schema").String>;
972
- }>>, 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<{
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<{
973
920
  readonly workspaceId: import("effect/Schema").String;
974
921
  }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
975
922
  readonly ownerUserId: import("effect/Schema").String;
976
- readonly commands: import("effect/Schema").$Array<import("effect/Schema").Struct<{
977
- readonly executable: import("effect/Schema").String;
978
- readonly args: import("effect/Schema").$Array<import("effect/Schema").String>;
979
- readonly cwd: import("effect/Schema").optional<import("effect/Schema").String>;
923
+ readonly onBehalfOfUserId: import("effect/Schema").String;
924
+ readonly user: import("effect/Schema").String;
925
+ 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>;
980
932
  }>>;
981
- readonly user: import("effect/Schema").optional<import("effect/Schema").String>;
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
+ }>>>;
982
940
  }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
983
941
  readonly runId: import("effect/Schema").String;
984
942
  readonly workspaceId: import("effect/Schema").String;
@@ -1004,7 +962,7 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
1004
962
  readonly recordDeletedAt: import("effect/Schema").optional<import("effect/Schema").String>;
1005
963
  readonly createdAt: import("effect/Schema").String;
1006
964
  readonly updatedAt: import("effect/Schema").String;
1007
- }>>, 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<{
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<{
1008
966
  readonly workspaceId: import("effect/Schema").String;
1009
967
  }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
1010
968
  readonly ownerUserId: import("effect/Schema").String;
@@ -1013,7 +971,7 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
1013
971
  readonly args: import("effect/Schema").$Array<import("effect/Schema").String>;
1014
972
  readonly cwd: import("effect/Schema").optional<import("effect/Schema").String>;
1015
973
  }>>;
1016
- readonly user: import("effect/Schema").String;
974
+ readonly user: import("effect/Schema").optional<import("effect/Schema").String>;
1017
975
  }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
1018
976
  readonly runId: import("effect/Schema").String;
1019
977
  readonly workspaceId: import("effect/Schema").String;
@@ -1039,27 +997,16 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
1039
997
  readonly recordDeletedAt: import("effect/Schema").optional<import("effect/Schema").String>;
1040
998
  readonly createdAt: import("effect/Schema").String;
1041
999
  readonly updatedAt: import("effect/Schema").String;
1042
- }>>, 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<{
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<{
1043
1001
  readonly workspaceId: import("effect/Schema").String;
1044
1002
  }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
1045
1003
  readonly ownerUserId: import("effect/Schema").String;
1046
- readonly onBehalfOfUserId: import("effect/Schema").String;
1047
- readonly user: import("effect/Schema").String;
1048
- readonly home: import("effect/Schema").String;
1049
- readonly repository: import("effect/Schema").optional<import("effect/Schema").Struct<{
1050
- readonly url: import("effect/Schema").String;
1051
- readonly ref: import("effect/Schema").optional<import("effect/Schema").String>;
1052
- readonly manager: import("effect/Schema").optional<import("effect/Schema").Literals<readonly ["auto", "chezmoi", "stow", "copy"]>>;
1053
- readonly bootstrap: import("effect/Schema").optional<import("effect/Schema").Boolean>;
1054
- readonly bootstrapCommand: import("effect/Schema").optional<import("effect/Schema").String>;
1055
- }>>;
1056
- readonly archives: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").Struct<{
1057
- readonly data: import("effect/Schema").String;
1058
- readonly manager: import("effect/Schema").optional<import("effect/Schema").Literals<readonly ["auto", "chezmoi", "stow", "copy"]>>;
1059
- readonly target: import("effect/Schema").optional<import("effect/Schema").Literals<readonly ["home", "config"]>>;
1060
- readonly bootstrap: import("effect/Schema").optional<import("effect/Schema").Boolean>;
1061
- readonly bootstrapCommand: import("effect/Schema").optional<import("effect/Schema").String>;
1062
- }>>>;
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
+ }>>;
1009
+ readonly user: import("effect/Schema").String;
1063
1010
  }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
1064
1011
  readonly runId: import("effect/Schema").String;
1065
1012
  readonly workspaceId: import("effect/Schema").String;
@@ -1085,7 +1032,7 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
1085
1032
  readonly recordDeletedAt: import("effect/Schema").optional<import("effect/Schema").String>;
1086
1033
  readonly createdAt: import("effect/Schema").String;
1087
1034
  readonly updatedAt: import("effect/Schema").String;
1088
- }>>, 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<{
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<"bindWorkspace", "POST", "/v1/workspaces/:workspaceId/bind", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
1089
1036
  readonly workspaceId: import("effect/Schema").String;
1090
1037
  }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
1091
1038
  readonly ownerUserId: import("effect/Schema").String;
@@ -1096,6 +1043,60 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
1096
1043
  readonly mountPath: import("effect/Schema").String;
1097
1044
  readonly subpath: import("effect/Schema").String;
1098
1045
  }>>;
1046
+ }>>, 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<{
1047
+ readonly workspaceId: import("effect/Schema").String;
1048
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
1049
+ readonly ownerUserId: import("effect/Schema").String;
1050
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
1051
+ readonly epoch: import("effect/Schema").Number;
1052
+ readonly worktreeId: import("effect/Schema").String;
1053
+ readonly headN: import("effect/Schema").optional<import("effect/Schema").Number>;
1054
+ readonly pending: import("effect/Schema").Number;
1055
+ readonly stagedBytes: import("effect/Schema").Number;
1056
+ readonly uploadedObjects: import("effect/Schema").Number;
1057
+ readonly uploadedBytes: import("effect/Schema").Number;
1058
+ readonly registered: import("effect/Schema").Number;
1059
+ readonly fenced: import("effect/Schema").Boolean;
1060
+ readonly paused: import("effect/Schema").Boolean;
1061
+ readonly lastSnapUnixMs: import("effect/Schema").optional<import("effect/Schema").Number>;
1062
+ readonly refused: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").Literals<readonly ["small", "bulk"]>>>;
1063
+ readonly pendingBytes: import("effect/Schema").optional<import("effect/Schema").Number>;
1064
+ readonly pendingBulk: import("effect/Schema").optional<import("effect/Schema").Number>;
1065
+ readonly complete: import("effect/Schema").optional<import("effect/Schema").Boolean>;
1066
+ readonly incompleteReason: import("effect/Schema").optional<import("effect/Schema").String>;
1067
+ readonly unreadable: import("effect/Schema").optional<import("effect/Schema").Number>;
1068
+ readonly carried: import("effect/Schema").optional<import("effect/Schema").Number>;
1069
+ readonly unreadablePaths: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").String>>;
1070
+ readonly registerRefused: import("effect/Schema").optional<import("effect/Schema").String>;
1071
+ readonly registerRefusedN: import("effect/Schema").optional<import("effect/Schema").Number>;
1072
+ readonly registerMissing: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").String>>;
1073
+ readonly registerRefusals: import("effect/Schema").optional<import("effect/Schema").Number>;
1074
+ readonly repairing: import("effect/Schema").optional<import("effect/Schema").Boolean>;
1075
+ readonly bulkBuilding: import("effect/Schema").optional<import("effect/Schema").Boolean>;
1076
+ readonly snaps: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").Struct<{
1077
+ readonly class: import("effect/Schema").Literals<readonly ["small", "bulk"]>;
1078
+ readonly snapsFailed: import("effect/Schema").Number;
1079
+ readonly lastSnapError: import("effect/Schema").optional<import("effect/Schema").String>;
1080
+ readonly snapFailingSinceUnixMs: import("effect/Schema").optional<import("effect/Schema").Number>;
1081
+ }>>>;
1082
+ readonly lastSnapError: import("effect/Schema").optional<import("effect/Schema").String>;
1083
+ readonly snapFailingSinceUnixMs: import("effect/Schema").optional<import("effect/Schema").Number>;
1084
+ readonly snapsFailed: import("effect/Schema").optional<import("effect/Schema").Number>;
1085
+ readonly origin: import("effect/Schema").optional<import("effect/Schema").Struct<{
1086
+ readonly epoch: import("effect/Schema").Int;
1087
+ readonly launch: import("effect/Schema").String;
1088
+ readonly bootId: import("effect/Schema").String;
1089
+ readonly bootGeneration: import("effect/Schema").Int;
1090
+ readonly observation: import("effect/Schema").Int;
1091
+ readonly headN: import("effect/Schema").optional<import("effect/Schema").Int>;
1092
+ }>>;
1093
+ readonly overdue: import("effect/Schema").optional<import("effect/Schema").Struct<{
1094
+ readonly step: import("effect/Schema").String;
1095
+ readonly startedUnixMs: import("effect/Schema").Number;
1096
+ readonly runningMs: import("effect/Schema").Number;
1097
+ readonly boundMs: import("effect/Schema").Number;
1098
+ }>>;
1099
+ readonly ownerMap: import("effect/Schema").optional<import("effect/Schema").Boolean>;
1099
1100
  }>>, 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<{
1100
1101
  readonly workspaceId: import("effect/Schema").String;
1101
1102
  }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
@@ -1176,16 +1177,7 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
1176
1177
  readonly bytesSkipped: import("effect/Schema").Number;
1177
1178
  readonly removed: import("effect/Schema").Number;
1178
1179
  readonly unchanged: import("effect/Schema").Boolean;
1179
- }>>, 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<{
1180
- readonly workspaceId: import("effect/Schema").String;
1181
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
1182
- readonly name: import("effect/Schema").String;
1183
- readonly ownerUserId: import("effect/Schema").optional<import("effect/Schema").String>;
1184
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
1185
- readonly workspaceId: import("effect/Schema").String;
1186
- readonly name: import("effect/Schema").String;
1187
- readonly updatedAt: import("effect/Schema").String;
1188
- }>>, 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<{
1180
+ }>>, 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<{
1189
1181
  readonly workspaceId: import("effect/Schema").String;
1190
1182
  }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
1191
1183
  readonly ownerUserId: import("effect/Schema").String;
@@ -1301,105 +1293,7 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
1301
1293
  readonly code: import("effect/Schema").Literals<readonly ["connected-account-missing", "connected-account-invalid", "connected-account-unsupported", "login-file-unusable"]>;
1302
1294
  readonly message: import("effect/Schema").String;
1303
1295
  }>>>;
1304
- }>>, 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<{
1305
- readonly workspaceId: import("effect/Schema").String;
1306
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
1307
- readonly ownerUserId: import("effect/Schema").String;
1308
- readonly ttlSeconds: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").Int>>;
1309
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
1310
- readonly workspaceId: import("effect/Schema").String;
1311
- readonly expiresAt: import("effect/Schema").NullOr<import("effect/Schema").String>;
1312
- }>>, 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<{
1313
- readonly idempotencyKey: import("effect/Schema").String;
1314
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
1315
- readonly ownerUserId: import("effect/Schema").String;
1316
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
1317
- readonly idempotencyKey: import("effect/Schema").String;
1318
- readonly state: import("effect/Schema").Literals<readonly ["pending", "found", "cancelled", "none"]>;
1319
- readonly workspaceId: import("effect/Schema").optional<import("effect/Schema").String>;
1320
- readonly runId: import("effect/Schema").optional<import("effect/Schema").String>;
1321
- readonly launchId: import("effect/Schema").optional<import("effect/Schema").String>;
1322
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./workspaces.js").WorkspaceBadRequestError | 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<{
1323
- readonly workspaceId: import("effect/Schema").String;
1324
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
1325
- readonly "x-sealant-gateway-token": import("effect/Schema").optional<import("effect/Schema").String>;
1326
- readonly "x-sealant-principal-id": import("effect/Schema").optional<import("effect/Schema").String>;
1327
- readonly "x-sealant-gateway-ssh-user": import("effect/Schema").optional<import("effect/Schema").String>;
1328
- readonly "x-sealant-ssh-key-fingerprint": import("effect/Schema").optional<import("effect/Schema").String>;
1329
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
1330
- readonly workspaceId: import("effect/Schema").String;
1331
- readonly attemptId: import("effect/Schema").String;
1332
- readonly runtime: import("effect/Schema").Struct<{
1333
- readonly adapter: import("effect/Schema").Literals<readonly ["docker", "k8s", "k3s", "cloudflare", "microvm"]>;
1334
- readonly resourceId: import("effect/Schema").String;
1335
- readonly reference: import("effect/Schema").String;
1336
- readonly status: import("effect/Schema").Literals<readonly ["pending", "running", "ready", "failed", "stopped"]>;
1337
- readonly endpoint: import("effect/Schema").String;
1338
- }>;
1339
- readonly sessionUser: import("effect/Schema").NullOr<import("effect/Schema").String>;
1340
- readonly sshKeyFingerprint: import("effect/Schema").optional<import("effect/Schema").String>;
1341
- }>>, 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<"getWorkspaceCaptureStatus", "GET", "/v1/workspaces/:workspaceId/capture", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
1342
- readonly workspaceId: import("effect/Schema").String;
1343
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
1344
- readonly ownerUserId: import("effect/Schema").String;
1345
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
1346
- readonly epoch: import("effect/Schema").Number;
1347
- readonly worktreeId: import("effect/Schema").String;
1348
- readonly headN: import("effect/Schema").optional<import("effect/Schema").Number>;
1349
- readonly pending: import("effect/Schema").Number;
1350
- readonly stagedBytes: import("effect/Schema").Number;
1351
- readonly uploadedObjects: import("effect/Schema").Number;
1352
- readonly uploadedBytes: import("effect/Schema").Number;
1353
- readonly registered: import("effect/Schema").Number;
1354
- readonly fenced: import("effect/Schema").Boolean;
1355
- readonly paused: import("effect/Schema").Boolean;
1356
- readonly lastSnapUnixMs: import("effect/Schema").optional<import("effect/Schema").Number>;
1357
- readonly refused: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").Literals<readonly ["small", "bulk"]>>>;
1358
- readonly pendingBytes: import("effect/Schema").optional<import("effect/Schema").Number>;
1359
- readonly pendingBulk: import("effect/Schema").optional<import("effect/Schema").Number>;
1360
- readonly complete: import("effect/Schema").optional<import("effect/Schema").Boolean>;
1361
- readonly incompleteReason: import("effect/Schema").optional<import("effect/Schema").String>;
1362
- readonly unreadable: import("effect/Schema").optional<import("effect/Schema").Number>;
1363
- readonly carried: import("effect/Schema").optional<import("effect/Schema").Number>;
1364
- readonly unreadablePaths: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").String>>;
1365
- readonly registerRefused: import("effect/Schema").optional<import("effect/Schema").String>;
1366
- readonly registerRefusedN: import("effect/Schema").optional<import("effect/Schema").Number>;
1367
- readonly registerMissing: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").String>>;
1368
- readonly registerRefusals: import("effect/Schema").optional<import("effect/Schema").Number>;
1369
- readonly repairing: import("effect/Schema").optional<import("effect/Schema").Boolean>;
1370
- readonly bulkBuilding: import("effect/Schema").optional<import("effect/Schema").Boolean>;
1371
- readonly snaps: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").Struct<{
1372
- readonly class: import("effect/Schema").Literals<readonly ["small", "bulk"]>;
1373
- readonly snapsFailed: import("effect/Schema").Number;
1374
- readonly lastSnapError: import("effect/Schema").optional<import("effect/Schema").String>;
1375
- readonly snapFailingSinceUnixMs: import("effect/Schema").optional<import("effect/Schema").Number>;
1376
- }>>>;
1377
- readonly lastSnapError: import("effect/Schema").optional<import("effect/Schema").String>;
1378
- readonly snapFailingSinceUnixMs: import("effect/Schema").optional<import("effect/Schema").Number>;
1379
- readonly snapsFailed: import("effect/Schema").optional<import("effect/Schema").Number>;
1380
- readonly origin: import("effect/Schema").optional<import("effect/Schema").Struct<{
1381
- readonly epoch: import("effect/Schema").Int;
1382
- readonly launch: import("effect/Schema").String;
1383
- readonly bootId: import("effect/Schema").String;
1384
- readonly bootGeneration: import("effect/Schema").Int;
1385
- readonly observation: import("effect/Schema").Int;
1386
- readonly headN: import("effect/Schema").optional<import("effect/Schema").Int>;
1387
- }>>;
1388
- readonly overdue: import("effect/Schema").optional<import("effect/Schema").Struct<{
1389
- readonly step: import("effect/Schema").String;
1390
- readonly startedUnixMs: import("effect/Schema").Number;
1391
- readonly runningMs: import("effect/Schema").Number;
1392
- readonly boundMs: import("effect/Schema").Number;
1393
- }>>;
1394
- readonly ownerMap: import("effect/Schema").optional<import("effect/Schema").Boolean>;
1395
- }>>, 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<"clearWorkspaceSshUser", "DELETE", "/v1/workspaces/:workspaceId/ssh-user", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
1396
- readonly workspaceId: import("effect/Schema").String;
1397
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
1398
- readonly ownerUserId: import("effect/Schema").optional<import("effect/Schema").String>;
1399
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
1400
- readonly workspaceId: import("effect/Schema").String;
1401
- readonly sshUser: import("effect/Schema").Null;
1402
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./workspaces.js").WorkspaceNotFoundError | 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<{
1296
+ }>>, 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<{
1403
1297
  readonly workspaceId: import("effect/Schema").String;
1404
1298
  }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
1405
1299
  readonly ownerUserId: import("effect/Schema").String;
@@ -1442,7 +1336,31 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
1442
1336
  }>>;
1443
1337
  }>;
1444
1338
  }>>;
1445
- }>>, 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<{
1339
+ }>>, 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<{
1340
+ readonly workspaceId: import("effect/Schema").String;
1341
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
1342
+ readonly ownerUserId: import("effect/Schema").String;
1343
+ readonly ttlSeconds: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").Int>>;
1344
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
1345
+ readonly workspaceId: import("effect/Schema").String;
1346
+ readonly expiresAt: import("effect/Schema").NullOr<import("effect/Schema").String>;
1347
+ }>>, 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<{
1348
+ readonly workspaceId: import("effect/Schema").String;
1349
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
1350
+ readonly name: import("effect/Schema").String;
1351
+ readonly ownerUserId: import("effect/Schema").optional<import("effect/Schema").String>;
1352
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
1353
+ readonly workspaceId: import("effect/Schema").String;
1354
+ readonly name: import("effect/Schema").String;
1355
+ readonly updatedAt: import("effect/Schema").String;
1356
+ }>>, 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<{
1357
+ readonly workspaceId: import("effect/Schema").String;
1358
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
1359
+ readonly ownerUserId: import("effect/Schema").optional<import("effect/Schema").String>;
1360
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
1361
+ readonly workspaceId: import("effect/Schema").String;
1362
+ readonly sshUser: import("effect/Schema").Null;
1363
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./workspaces.js").WorkspaceNotFoundError | 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<{
1446
1364
  readonly idempotencyKey: import("effect/Schema").String;
1447
1365
  }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
1448
1366
  readonly ownerUserId: import("effect/Schema").String;
@@ -1452,6 +1370,16 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
1452
1370
  readonly workspaceId: import("effect/Schema").optional<import("effect/Schema").String>;
1453
1371
  readonly runId: import("effect/Schema").optional<import("effect/Schema").String>;
1454
1372
  readonly launchId: import("effect/Schema").optional<import("effect/Schema").String>;
1373
+ }>>, 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<{
1374
+ readonly idempotencyKey: import("effect/Schema").String;
1375
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
1376
+ readonly ownerUserId: import("effect/Schema").String;
1377
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
1378
+ readonly idempotencyKey: import("effect/Schema").String;
1379
+ readonly state: import("effect/Schema").Literals<readonly ["pending", "found", "cancelled", "none"]>;
1380
+ readonly workspaceId: import("effect/Schema").optional<import("effect/Schema").String>;
1381
+ readonly runId: import("effect/Schema").optional<import("effect/Schema").String>;
1382
+ readonly launchId: import("effect/Schema").optional<import("effect/Schema").String>;
1455
1383
  }>>, 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
1384
  readonly workspaceId: import("effect/Schema").String;
1457
1385
  }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
@@ -1669,4 +1597,76 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
1669
1597
  readonly message: import("effect/Schema").optional<import("effect/Schema").String>;
1670
1598
  readonly data: import("effect/Schema").optional<import("effect/Schema").Unknown>;
1671
1599
  }>>;
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>>;
1600
+ }>>, 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<"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<{
1601
+ readonly ownerUserId: import("effect/Schema").String;
1602
+ readonly registryId: import("effect/Schema").String;
1603
+ readonly repository: import("effect/Schema").String;
1604
+ readonly tag: import("effect/Schema").String;
1605
+ readonly name: import("effect/Schema").optional<import("effect/Schema").String>;
1606
+ readonly sourceSelection: import("effect/Schema").optional<import("effect/Schema").Struct<{
1607
+ readonly provider: import("effect/Schema").Literal<"github">;
1608
+ readonly installationId: import("effect/Schema").String;
1609
+ readonly installationRepositoryId: import("effect/Schema").String;
1610
+ readonly ref: import("effect/Schema").optional<import("effect/Schema").String>;
1611
+ }>>;
1612
+ readonly dotfilesSelection: import("effect/Schema").optional<import("effect/Schema").Struct<{
1613
+ readonly provider: import("effect/Schema").Literal<"github">;
1614
+ readonly installationId: import("effect/Schema").String;
1615
+ readonly installationRepositoryId: import("effect/Schema").String;
1616
+ readonly ref: import("effect/Schema").optional<import("effect/Schema").String>;
1617
+ }>>;
1618
+ readonly credentials: import("effect/Schema").optional<import("effect/Schema").Struct<{
1619
+ readonly profileId: import("effect/Schema").optional<import("effect/Schema").String>;
1620
+ readonly claude: import("effect/Schema").optional<import("effect/Schema").String>;
1621
+ readonly codex: import("effect/Schema").optional<import("effect/Schema").String>;
1622
+ readonly github: import("effect/Schema").optional<import("effect/Schema").String>;
1623
+ }>>;
1624
+ readonly spec: import("effect/Schema").Unknown;
1625
+ readonly secretEnv: import("effect/Schema").optional<import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").String>>;
1626
+ readonly captureToken: import("effect/Schema").optional<import("effect/Schema").String>;
1627
+ readonly ttlSeconds: import("effect/Schema").optional<import("effect/Schema").Int>;
1628
+ readonly idempotencyKey: import("effect/Schema").optional<import("effect/Schema").String>;
1629
+ readonly launchId: import("effect/Schema").optional<import("effect/Schema").String>;
1630
+ readonly sshAsOwner: import("effect/Schema").optional<import("effect/Schema").Boolean>;
1631
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
1632
+ readonly "idempotency-key": import("effect/Schema").optional<import("effect/Schema").String>;
1633
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
1634
+ readonly workspaceId: import("effect/Schema").String;
1635
+ readonly name: import("effect/Schema").String;
1636
+ readonly status: import("effect/Schema").Literals<readonly ["queued", "running", "ready", "failed", "cancelled", "stopped", "retained"]>;
1637
+ readonly registryId: import("effect/Schema").String;
1638
+ readonly repository: import("effect/Schema").String;
1639
+ readonly tag: import("effect/Schema").String;
1640
+ readonly runId: import("effect/Schema").optional<import("effect/Schema").String>;
1641
+ readonly runtime: import("effect/Schema").optional<import("effect/Schema").Struct<{
1642
+ readonly adapter: import("effect/Schema").Literals<readonly ["docker", "k8s", "k3s", "cloudflare", "microvm"]>;
1643
+ readonly resourceId: import("effect/Schema").String;
1644
+ readonly reference: import("effect/Schema").String;
1645
+ readonly status: import("effect/Schema").Literals<readonly ["pending", "running", "ready", "failed", "stopped", "retained"]>;
1646
+ readonly endpoint: import("effect/Schema").optional<import("effect/Schema").String>;
1647
+ readonly deadline: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").String>>;
1648
+ readonly runId: import("effect/Schema").optional<import("effect/Schema").String>;
1649
+ readonly launchId: import("effect/Schema").optional<import("effect/Schema").String>;
1650
+ }>>;
1651
+ readonly replayed: import("effect/Schema").optional<import("effect/Schema").Boolean>;
1652
+ readonly launchId: import("effect/Schema").optional<import("effect/Schema").String>;
1653
+ }>>, 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<"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>>;