@sealant/api-contracts-next 0.39.0-next.746 → 0.39.0-next.748

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,19 +1,6 @@
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<"listAccessTokens", "GET", "/v1/access-tokens/", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
4
- readonly ownerUserId: import("effect/Schema").String;
5
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
6
- readonly items: import("effect/Schema").$Array<import("effect/Schema").Struct<{
7
- readonly tokenId: import("effect/Schema").String;
8
- readonly ownerUserId: import("effect/Schema").String;
9
- readonly name: import("effect/Schema").optional<import("effect/Schema").String>;
10
- readonly scopes: import("effect/Schema").$Array<import("effect/Schema").Literals<readonly ["session:read", "session:input", "workspace:exec"]>>;
11
- readonly workspaceId: import("effect/Schema").optional<import("effect/Schema").String>;
12
- readonly expiresAt: import("effect/Schema").optional<import("effect/Schema").String>;
13
- readonly revokedAt: import("effect/Schema").optional<import("effect/Schema").String>;
14
- readonly createdAt: import("effect/Schema").String;
15
- }>>;
16
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./access-tokens.js").AccessTokenBadRequestError | 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<{
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<{
17
4
  readonly ownerUserId: import("effect/Schema").String;
18
5
  readonly scopes: import("effect/Schema").$Array<import("effect/Schema").Literals<readonly ["session:read", "session:input", "workspace:exec"]>>;
19
6
  readonly name: import("effect/Schema").optional<import("effect/Schema").String>;
@@ -29,7 +16,20 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
29
16
  readonly revokedAt: import("effect/Schema").optional<import("effect/Schema").String>;
30
17
  readonly createdAt: import("effect/Schema").String;
31
18
  readonly token: import("effect/Schema").String;
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<"revokeAccessToken", "POST", "/v1/access-tokens/:tokenId/revoke", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
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<"listAccessTokens", "GET", "/v1/access-tokens/", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
20
+ readonly ownerUserId: import("effect/Schema").String;
21
+ }>>, 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
+ readonly items: import("effect/Schema").$Array<import("effect/Schema").Struct<{
23
+ readonly tokenId: import("effect/Schema").String;
24
+ readonly ownerUserId: import("effect/Schema").String;
25
+ readonly name: import("effect/Schema").optional<import("effect/Schema").String>;
26
+ readonly scopes: import("effect/Schema").$Array<import("effect/Schema").Literals<readonly ["session:read", "session:input", "workspace:exec"]>>;
27
+ readonly workspaceId: import("effect/Schema").optional<import("effect/Schema").String>;
28
+ readonly expiresAt: import("effect/Schema").optional<import("effect/Schema").String>;
29
+ readonly revokedAt: import("effect/Schema").optional<import("effect/Schema").String>;
30
+ readonly createdAt: import("effect/Schema").String;
31
+ }>>;
32
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./access-tokens.js").AccessTokenBadRequestError | 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<{
33
33
  readonly tokenId: import("effect/Schema").String;
34
34
  }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
35
35
  readonly ownerUserId: import("effect/Schema").String;
@@ -42,11 +42,12 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
42
42
  readonly expiresAt: import("effect/Schema").optional<import("effect/Schema").String>;
43
43
  readonly revokedAt: import("effect/Schema").optional<import("effect/Schema").String>;
44
44
  readonly createdAt: import("effect/Schema").String;
45
- }>>, 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>, 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<{
45
+ }>>, 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>, 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<{
48
46
  readonly ownerUserId: import("effect/Schema").String;
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<{
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<{
50
51
  readonly connectedAccountId: import("effect/Schema").String;
51
52
  readonly ownerUserId: import("effect/Schema").String;
52
53
  readonly provider: import("effect/Schema").Literals<readonly ["claude", "codex", "github"]>;
@@ -64,7 +65,7 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
64
65
  readonly lastRefreshAt: import("effect/Schema").NullOr<import("effect/Schema").String>;
65
66
  readonly lastRefreshOutcome: import("effect/Schema").NullOr<import("effect/Schema").Literals<readonly ["refreshed", "fresh", "failed"]>>;
66
67
  }>;
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<"listConnectedAccounts", "GET", "/v1/connected-accounts/", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
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<"listConnectedAccounts", "GET", "/v1/connected-accounts/", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
68
69
  readonly ownerUserId: import("effect/Schema").String;
69
70
  }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
70
71
  readonly items: import("effect/Schema").$Array<import("effect/Schema").Struct<{
@@ -86,12 +87,11 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
86
87
  readonly lastRefreshOutcome: import("effect/Schema").NullOr<import("effect/Schema").Literals<readonly ["refreshed", "fresh", "failed"]>>;
87
88
  }>;
88
89
  }>>;
89
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<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<{
90
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<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<{
91
+ readonly connectedAccountId: import("effect/Schema").String;
92
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
90
93
  readonly ownerUserId: import("effect/Schema").String;
91
- readonly provider: import("effect/Schema").Literals<readonly ["claude", "codex", "github"]>;
92
- readonly name: import("effect/Schema").optional<import("effect/Schema").String>;
93
- readonly secret: import("effect/Schema").String;
94
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
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<{
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"]>;
@@ -109,7 +109,7 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
109
109
  readonly lastRefreshAt: import("effect/Schema").NullOr<import("effect/Schema").String>;
110
110
  readonly lastRefreshOutcome: import("effect/Schema").NullOr<import("effect/Schema").Literals<readonly ["refreshed", "fresh", "failed"]>>;
111
111
  }>;
112
- }>>, 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<{
112
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./connected-accounts.js").ConnectedAccountNotFoundError | typeof import("./connected-accounts.js").ConnectedAccountInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"markConnectedAccountInvalid", "POST", "/v1/connected-accounts/:connectedAccountId/mark-invalid", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
113
113
  readonly connectedAccountId: import("effect/Schema").String;
114
114
  }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
115
115
  readonly ownerUserId: import("effect/Schema").String;
@@ -299,11 +299,13 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
299
299
  readonly createdAt: import("effect/Schema").String;
300
300
  readonly updatedAt: import("effect/Schema").String;
301
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<{
302
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./profiles.js").ProfileInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"setProfileCredentialBinding", "PUT", "/v1/profiles/:profileId/credential-bindings", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
303
303
  readonly profileId: import("effect/Schema").String;
304
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
304
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
305
305
  readonly ownerUserId: import("effect/Schema").String;
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<{
306
+ readonly provider: import("effect/Schema").Literals<readonly ["claude", "codex", "github"]>;
307
+ readonly connectedAccountId: import("effect/Schema").NullOr<import("effect/Schema").String>;
308
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
307
309
  readonly items: import("effect/Schema").$Array<import("effect/Schema").Struct<{
308
310
  readonly profileId: import("effect/Schema").String;
309
311
  readonly provider: import("effect/Schema").Literals<readonly ["claude", "codex", "github"]>;
@@ -328,13 +330,11 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
328
330
  }>;
329
331
  }>;
330
332
  }>>;
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<{
333
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./profiles.js").ProfileBadRequestError | typeof import("./profiles.js").ProfileNotFoundError | typeof import("./profiles.js").ProfileConflictError | typeof import("./profiles.js").ProfileInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"listProfileCredentialBindings", "GET", "/v1/profiles/:profileId/credential-bindings", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
332
334
  readonly profileId: import("effect/Schema").String;
333
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
335
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
334
336
  readonly ownerUserId: import("effect/Schema").String;
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<{
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<{
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").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<{
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<{
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,7 +398,45 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
398
398
  }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
399
399
  readonly repository: import("effect/Schema").String;
400
400
  readonly tags: import("effect/Schema").$Array<import("effect/Schema").String>;
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<"listRuns", "GET", "/v1/runs/", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<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<"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<{
415
+ readonly runId: import("effect/Schema").String;
416
+ readonly workspaceId: import("effect/Schema").String;
417
+ readonly attemptId: import("effect/Schema").optional<import("effect/Schema").String>;
418
+ readonly ownerUserId: import("effect/Schema").String;
419
+ readonly harnessId: import("effect/Schema").String;
420
+ readonly mode: import("effect/Schema").Literals<readonly ["one-shot", "interactive"]>;
421
+ readonly status: import("effect/Schema").Literals<readonly ["queued", "running", "completed", "failed", "cancelled"]>;
422
+ readonly prompt: import("effect/Schema").optional<import("effect/Schema").String>;
423
+ readonly command: import("effect/Schema").optional<import("effect/Schema").Struct<{
424
+ readonly executable: import("effect/Schema").String;
425
+ readonly args: import("effect/Schema").$Array<import("effect/Schema").String>;
426
+ readonly cwd: import("effect/Schema").optional<import("effect/Schema").String>;
427
+ readonly argCount: import("effect/Schema").optional<import("effect/Schema").Number>;
428
+ readonly argLengths: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").Number>>;
429
+ }>>;
430
+ readonly metadata: import("effect/Schema").optional<import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").Unknown>>;
431
+ readonly user: import("effect/Schema").optional<import("effect/Schema").String>;
432
+ readonly exitCode: import("effect/Schema").optional<import("effect/Schema").Number>;
433
+ readonly errorMessage: import("effect/Schema").optional<import("effect/Schema").String>;
434
+ readonly startedAt: import("effect/Schema").optional<import("effect/Schema").String>;
435
+ readonly finishedAt: import("effect/Schema").optional<import("effect/Schema").String>;
436
+ readonly recordDeletedAt: import("effect/Schema").optional<import("effect/Schema").String>;
437
+ readonly createdAt: import("effect/Schema").String;
438
+ 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<"listRuns", "GET", "/v1/runs/", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
402
440
  readonly workspaceId: import("effect/Schema").optional<import("effect/Schema").String>;
403
441
  readonly ownerUserId: import("effect/Schema").optional<import("effect/Schema").String>;
404
442
  readonly status: import("effect/Schema").optional<import("effect/Schema").Literals<readonly ["queued", "running", "completed", "failed", "cancelled"]>>;
@@ -430,7 +468,46 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
430
468
  readonly createdAt: import("effect/Schema").String;
431
469
  readonly updatedAt: import("effect/Schema").String;
432
470
  }>>;
433
- }>>, 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<{
471
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./runs.js").RunBadRequestError | 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<{
472
+ readonly runId: import("effect/Schema").String;
473
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
474
+ readonly ownerUserId: import("effect/Schema").optional<import("effect/Schema").String>;
475
+ readonly status: import("effect/Schema").optional<import("effect/Schema").Literals<readonly ["queued", "running", "completed", "failed", "cancelled"]>>;
476
+ readonly exitCode: import("effect/Schema").optional<import("effect/Schema").Number>;
477
+ readonly errorMessage: import("effect/Schema").optional<import("effect/Schema").String>;
478
+ readonly diff: import("effect/Schema").optional<import("effect/Schema").String>;
479
+ readonly changedFiles: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").Struct<{
480
+ readonly path: import("effect/Schema").String;
481
+ readonly change: import("effect/Schema").Literals<readonly ["added", "modified", "deleted", "renamed"]>;
482
+ readonly oldPath: import("effect/Schema").optional<import("effect/Schema").String>;
483
+ }>>>;
484
+ readonly changesReadFailed: import("effect/Schema").optional<import("effect/Schema").Boolean>;
485
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
486
+ readonly runId: import("effect/Schema").String;
487
+ readonly workspaceId: import("effect/Schema").String;
488
+ readonly attemptId: import("effect/Schema").optional<import("effect/Schema").String>;
489
+ readonly ownerUserId: import("effect/Schema").String;
490
+ readonly harnessId: import("effect/Schema").String;
491
+ readonly mode: import("effect/Schema").Literals<readonly ["one-shot", "interactive"]>;
492
+ readonly status: import("effect/Schema").Literals<readonly ["queued", "running", "completed", "failed", "cancelled"]>;
493
+ readonly prompt: import("effect/Schema").optional<import("effect/Schema").String>;
494
+ readonly command: import("effect/Schema").optional<import("effect/Schema").Struct<{
495
+ readonly executable: import("effect/Schema").String;
496
+ readonly args: import("effect/Schema").$Array<import("effect/Schema").String>;
497
+ readonly cwd: import("effect/Schema").optional<import("effect/Schema").String>;
498
+ readonly argCount: import("effect/Schema").optional<import("effect/Schema").Number>;
499
+ readonly argLengths: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").Number>>;
500
+ }>>;
501
+ readonly metadata: import("effect/Schema").optional<import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").Unknown>>;
502
+ readonly user: import("effect/Schema").optional<import("effect/Schema").String>;
503
+ readonly exitCode: import("effect/Schema").optional<import("effect/Schema").Number>;
504
+ readonly errorMessage: import("effect/Schema").optional<import("effect/Schema").String>;
505
+ readonly startedAt: import("effect/Schema").optional<import("effect/Schema").String>;
506
+ readonly finishedAt: import("effect/Schema").optional<import("effect/Schema").String>;
507
+ readonly recordDeletedAt: import("effect/Schema").optional<import("effect/Schema").String>;
508
+ readonly createdAt: import("effect/Schema").String;
509
+ readonly updatedAt: import("effect/Schema").String;
510
+ }>>, 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<"getRun", "GET", "/v1/runs/:runId", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
434
511
  readonly runId: import("effect/Schema").String;
435
512
  }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
436
513
  readonly ownerUserId: import("effect/Schema").optional<import("effect/Schema").String>;
@@ -546,84 +623,41 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
546
623
  readonly captureMethod: import("effect/Schema").Number;
547
624
  readonly confidence: import("effect/Schema").Number;
548
625
  }>>;
549
- }>>, 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<"updateRun", "PATCH", "/v1/runs/:runId", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
550
- readonly runId: import("effect/Schema").String;
551
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
552
- readonly ownerUserId: import("effect/Schema").optional<import("effect/Schema").String>;
553
- readonly status: import("effect/Schema").optional<import("effect/Schema").Literals<readonly ["queued", "running", "completed", "failed", "cancelled"]>>;
554
- readonly exitCode: import("effect/Schema").optional<import("effect/Schema").Number>;
555
- readonly errorMessage: import("effect/Schema").optional<import("effect/Schema").String>;
556
- readonly diff: import("effect/Schema").optional<import("effect/Schema").String>;
557
- readonly changedFiles: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").Struct<{
558
- readonly path: import("effect/Schema").String;
559
- readonly change: import("effect/Schema").Literals<readonly ["added", "modified", "deleted", "renamed"]>;
560
- readonly oldPath: import("effect/Schema").optional<import("effect/Schema").String>;
561
- }>>>;
562
- readonly changesReadFailed: import("effect/Schema").optional<import("effect/Schema").Boolean>;
563
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
564
- readonly runId: 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<{
565
627
  readonly workspaceId: import("effect/Schema").String;
566
- readonly attemptId: import("effect/Schema").optional<import("effect/Schema").String>;
567
628
  readonly ownerUserId: import("effect/Schema").String;
568
- readonly harnessId: import("effect/Schema").String;
569
- readonly mode: import("effect/Schema").Literals<readonly ["one-shot", "interactive"]>;
570
- readonly status: import("effect/Schema").Literals<readonly ["queued", "running", "completed", "failed", "cancelled"]>;
571
- readonly prompt: import("effect/Schema").optional<import("effect/Schema").String>;
572
- readonly command: import("effect/Schema").optional<import("effect/Schema").Struct<{
573
- readonly executable: import("effect/Schema").String;
574
- readonly args: import("effect/Schema").$Array<import("effect/Schema").String>;
575
- readonly cwd: import("effect/Schema").optional<import("effect/Schema").String>;
576
- readonly argCount: import("effect/Schema").optional<import("effect/Schema").Number>;
577
- readonly argLengths: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").Number>>;
578
- }>>;
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"]>>;
579
636
  readonly metadata: import("effect/Schema").optional<import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").Unknown>>;
580
637
  readonly user: import("effect/Schema").optional<import("effect/Schema").String>;
581
- readonly exitCode: import("effect/Schema").optional<import("effect/Schema").Number>;
582
- readonly errorMessage: import("effect/Schema").optional<import("effect/Schema").String>;
583
- readonly startedAt: import("effect/Schema").optional<import("effect/Schema").String>;
584
- readonly finishedAt: import("effect/Schema").optional<import("effect/Schema").String>;
585
- readonly recordDeletedAt: import("effect/Schema").optional<import("effect/Schema").String>;
586
- readonly createdAt: import("effect/Schema").String;
587
- readonly updatedAt: import("effect/Schema").String;
588
- }>>, 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<{
638
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
639
+ readonly authorization: import("effect/Schema").optional<import("effect/Schema").String>;
640
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
641
+ readonly sessionId: import("effect/Schema").String;
589
642
  readonly workspaceId: import("effect/Schema").String;
590
- readonly harnessId: import("effect/Schema").String;
591
- readonly ownerUserId: import("effect/Schema").String;
592
- readonly mode: import("effect/Schema").optional<import("effect/Schema").Literals<readonly ["one-shot", "interactive"]>>;
593
- readonly prompt: import("effect/Schema").optional<import("effect/Schema").String>;
594
- readonly attemptId: import("effect/Schema").optional<import("effect/Schema").String>;
595
- readonly command: import("effect/Schema").optional<import("effect/Schema").Struct<{
596
- readonly executable: import("effect/Schema").String;
597
- readonly args: import("effect/Schema").$Array<import("effect/Schema").String>;
598
- readonly cwd: import("effect/Schema").optional<import("effect/Schema").String>;
599
- }>>;
600
- readonly metadata: import("effect/Schema").optional<import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").Unknown>>;
601
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
602
643
  readonly runId: import("effect/Schema").String;
603
- readonly workspaceId: import("effect/Schema").String;
604
- readonly attemptId: import("effect/Schema").optional<import("effect/Schema").String>;
605
644
  readonly ownerUserId: import("effect/Schema").String;
606
- readonly harnessId: import("effect/Schema").String;
607
- readonly mode: import("effect/Schema").Literals<readonly ["one-shot", "interactive"]>;
608
- readonly status: import("effect/Schema").Literals<readonly ["queued", "running", "completed", "failed", "cancelled"]>;
609
- readonly prompt: import("effect/Schema").optional<import("effect/Schema").String>;
610
- readonly command: import("effect/Schema").optional<import("effect/Schema").Struct<{
611
- readonly executable: import("effect/Schema").String;
612
- readonly args: import("effect/Schema").$Array<import("effect/Schema").String>;
613
- readonly cwd: import("effect/Schema").optional<import("effect/Schema").String>;
614
- readonly argCount: import("effect/Schema").optional<import("effect/Schema").Number>;
615
- readonly argLengths: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").Number>>;
616
- }>>;
617
- readonly metadata: import("effect/Schema").optional<import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").Unknown>>;
618
- readonly user: import("effect/Schema").optional<import("effect/Schema").String>;
645
+ readonly status: import("effect/Schema").Literals<readonly ["starting", "running", "exited", "failed"]>;
646
+ readonly argv: import("effect/Schema").$Array<import("effect/Schema").String>;
647
+ readonly argCount: import("effect/Schema").optional<import("effect/Schema").Number>;
648
+ readonly argLengths: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").Number>>;
649
+ readonly cwd: import("effect/Schema").optional<import("effect/Schema").String>;
650
+ readonly cols: import("effect/Schema").Number;
651
+ readonly rows: import("effect/Schema").Number;
652
+ readonly mode: import("effect/Schema").optional<import("effect/Schema").Literals<readonly ["pty", "pipe"]>>;
619
653
  readonly exitCode: import("effect/Schema").optional<import("effect/Schema").Number>;
654
+ readonly exitSignal: import("effect/Schema").optional<import("effect/Schema").Number>;
620
655
  readonly errorMessage: import("effect/Schema").optional<import("effect/Schema").String>;
621
- readonly startedAt: import("effect/Schema").optional<import("effect/Schema").String>;
622
- readonly finishedAt: import("effect/Schema").optional<import("effect/Schema").String>;
623
- readonly recordDeletedAt: import("effect/Schema").optional<import("effect/Schema").String>;
656
+ readonly metadata: import("effect/Schema").optional<import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").Unknown>>;
657
+ readonly outputHighWater: import("effect/Schema").String;
624
658
  readonly createdAt: import("effect/Schema").String;
625
- readonly updatedAt: import("effect/Schema").String;
626
- }>>, 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>, false> | import("effect/unstable/httpapi/HttpApiGroup").HttpApiGroup<"sessions", 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<{
659
+ readonly endedAt: import("effect/Schema").optional<import("effect/Schema").String>;
660
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./sessions.js").SessionBadRequestError | typeof import("./sessions.js").SessionUnauthorizedError | typeof import("./sessions.js").SessionForbiddenError | typeof import("./sessions.js").SessionNotFoundError | typeof import("./sessions.js").SessionConflictError | typeof import("./sessions.js").SessionBadGatewayError | typeof import("./sessions.js").SessionInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"listSessions", "GET", "/v1/sessions/", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
627
661
  readonly ownerUserId: import("effect/Schema").String;
628
662
  readonly workspaceId: import("effect/Schema").optional<import("effect/Schema").String>;
629
663
  readonly status: import("effect/Schema").optional<import("effect/Schema").Literals<readonly ["starting", "running", "exited", "failed"]>>;
@@ -678,34 +712,10 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
678
712
  readonly outputHighWater: import("effect/Schema").String;
679
713
  readonly createdAt: import("effect/Schema").String;
680
714
  readonly endedAt: import("effect/Schema").optional<import("effect/Schema").String>;
681
- }>>, 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<"getSessionOutput", "GET", "/v1/sessions/:sessionId/output", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
715
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./sessions.js").SessionBadRequestError | typeof import("./sessions.js").SessionUnauthorizedError | typeof import("./sessions.js").SessionForbiddenError | typeof import("./sessions.js").SessionNotFoundError | typeof import("./sessions.js").SessionInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"closeSession", "POST", "/v1/sessions/:sessionId/close", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
682
716
  readonly sessionId: import("effect/Schema").String;
683
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
717
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
684
718
  readonly ownerUserId: import("effect/Schema").optional<import("effect/Schema").String>;
685
- readonly from: import("effect/Schema").optional<import("effect/Schema").String>;
686
- readonly limit: import("effect/Schema").optional<import("effect/Schema").String>;
687
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
688
- readonly authorization: import("effect/Schema").optional<import("effect/Schema").String>;
689
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
690
- readonly sessionId: import("effect/Schema").String;
691
- readonly chunks: import("effect/Schema").$Array<import("effect/Schema").Struct<{
692
- readonly sequence: import("effect/Schema").String;
693
- readonly dataBase64: import("effect/Schema").String;
694
- }>>;
695
- readonly nextFrom: import("effect/Schema").String;
696
- readonly status: import("effect/Schema").Literals<readonly ["starting", "running", "exited", "failed"]>;
697
- }>>, 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<{
698
- readonly workspaceId: import("effect/Schema").String;
699
- readonly ownerUserId: import("effect/Schema").String;
700
- readonly argv: import("effect/Schema").$Array<import("effect/Schema").String>;
701
- readonly cwd: import("effect/Schema").optional<import("effect/Schema").String>;
702
- readonly env: import("effect/Schema").optional<import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").String>>;
703
- readonly cols: import("effect/Schema").optional<import("effect/Schema").Int>;
704
- readonly rows: import("effect/Schema").optional<import("effect/Schema").Int>;
705
- readonly term: import("effect/Schema").optional<import("effect/Schema").String>;
706
- readonly mode: import("effect/Schema").optional<import("effect/Schema").Literals<readonly ["pty", "pipe"]>>;
707
- readonly metadata: import("effect/Schema").optional<import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").Unknown>>;
708
- readonly user: import("effect/Schema").optional<import("effect/Schema").String>;
709
719
  }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
710
720
  readonly authorization: import("effect/Schema").optional<import("effect/Schema").String>;
711
721
  }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
@@ -728,42 +738,32 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
728
738
  readonly outputHighWater: import("effect/Schema").String;
729
739
  readonly createdAt: import("effect/Schema").String;
730
740
  readonly endedAt: import("effect/Schema").optional<import("effect/Schema").String>;
731
- }>>, 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<{
741
+ }>>, 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<"sendSessionInput", "POST", "/v1/sessions/:sessionId/input", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
732
742
  readonly sessionId: import("effect/Schema").String;
733
743
  }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
734
744
  readonly ownerUserId: import("effect/Schema").optional<import("effect/Schema").String>;
745
+ readonly dataBase64: import("effect/Schema").String;
735
746
  }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
736
747
  readonly authorization: import("effect/Schema").optional<import("effect/Schema").String>;
737
748
  }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
749
+ readonly ok: import("effect/Schema").Boolean;
750
+ }>>, 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<"getSessionOutput", "GET", "/v1/sessions/:sessionId/output", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
738
751
  readonly sessionId: import("effect/Schema").String;
739
- readonly workspaceId: import("effect/Schema").String;
740
- readonly runId: import("effect/Schema").String;
741
- readonly ownerUserId: import("effect/Schema").String;
742
- readonly status: import("effect/Schema").Literals<readonly ["starting", "running", "exited", "failed"]>;
743
- readonly argv: import("effect/Schema").$Array<import("effect/Schema").String>;
744
- readonly argCount: import("effect/Schema").optional<import("effect/Schema").Number>;
745
- readonly argLengths: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").Number>>;
746
- readonly cwd: import("effect/Schema").optional<import("effect/Schema").String>;
747
- readonly cols: import("effect/Schema").Number;
748
- readonly rows: import("effect/Schema").Number;
749
- readonly mode: import("effect/Schema").optional<import("effect/Schema").Literals<readonly ["pty", "pipe"]>>;
750
- readonly exitCode: import("effect/Schema").optional<import("effect/Schema").Number>;
751
- readonly exitSignal: import("effect/Schema").optional<import("effect/Schema").Number>;
752
- readonly errorMessage: import("effect/Schema").optional<import("effect/Schema").String>;
753
- readonly metadata: import("effect/Schema").optional<import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").Unknown>>;
754
- readonly outputHighWater: import("effect/Schema").String;
755
- readonly createdAt: import("effect/Schema").String;
756
- readonly endedAt: import("effect/Schema").optional<import("effect/Schema").String>;
757
- }>>, 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<"sendSessionInput", "POST", "/v1/sessions/:sessionId/input", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
758
- readonly sessionId: import("effect/Schema").String;
759
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
760
- readonly ownerUserId: import("effect/Schema").optional<import("effect/Schema").String>;
761
- readonly dataBase64: import("effect/Schema").String;
762
752
  }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
753
+ readonly ownerUserId: import("effect/Schema").optional<import("effect/Schema").String>;
754
+ readonly from: import("effect/Schema").optional<import("effect/Schema").String>;
755
+ readonly limit: import("effect/Schema").optional<import("effect/Schema").String>;
756
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
763
757
  readonly authorization: import("effect/Schema").optional<import("effect/Schema").String>;
764
758
  }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
765
- readonly ok: import("effect/Schema").Boolean;
766
- }>>, 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<{
759
+ readonly sessionId: import("effect/Schema").String;
760
+ readonly chunks: import("effect/Schema").$Array<import("effect/Schema").Struct<{
761
+ readonly sequence: import("effect/Schema").String;
762
+ readonly dataBase64: import("effect/Schema").String;
763
+ }>>;
764
+ readonly nextFrom: import("effect/Schema").String;
765
+ readonly status: import("effect/Schema").Literals<readonly ["starting", "running", "exited", "failed"]>;
766
+ }>>, 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<"resizeSession", "POST", "/v1/sessions/:sessionId/resize", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
767
767
  readonly sessionId: import("effect/Schema").String;
768
768
  }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
769
769
  readonly ownerUserId: import("effect/Schema").optional<import("effect/Schema").String>;
@@ -816,18 +816,18 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
816
816
  readonly outputHighWater: import("effect/Schema").String;
817
817
  readonly createdAt: import("effect/Schema").String;
818
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").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<{
819
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./sessions.js").SessionBadRequestError | typeof import("./sessions.js").SessionUnauthorizedError | typeof import("./sessions.js").SessionForbiddenError | typeof import("./sessions.js").SessionNotFoundError | typeof import("./sessions.js").SessionConflictError | typeof import("./sessions.js").SessionBadGatewayError | typeof import("./sessions.js").SessionInternalServerError>, RequestRefusal, never>, false> | import("effect/unstable/httpapi/HttpApiGroup").HttpApiGroup<"sshKeys", import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"createSshKey", "POST", "/v1/ssh-keys/", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
822
820
  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<{
821
+ readonly name: import("effect/Schema").optional<import("effect/Schema").String>;
822
+ readonly publicKey: import("effect/Schema").String;
823
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
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").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<{
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<"listSshKeys", "GET", "/v1/ssh-keys/", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
831
831
  readonly ownerUserId: import("effect/Schema").String;
832
832
  }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
833
833
  readonly items: import("effect/Schema").$Array<import("effect/Schema").Struct<{
@@ -838,18 +838,18 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
838
838
  readonly fingerprint: import("effect/Schema").String;
839
839
  readonly createdAt: import("effect/Schema").String;
840
840
  }>>;
841
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<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<{
841
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<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<{
842
+ readonly sshKeyId: import("effect/Schema").String;
843
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
842
844
  readonly ownerUserId: import("effect/Schema").String;
843
- readonly name: import("effect/Schema").optional<import("effect/Schema").String>;
844
- readonly publicKey: import("effect/Schema").String;
845
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
845
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
846
846
  readonly sshKeyId: import("effect/Schema").String;
847
847
  readonly ownerUserId: import("effect/Schema").String;
848
848
  readonly name: import("effect/Schema").String;
849
849
  readonly algorithm: import("effect/Schema").String;
850
850
  readonly fingerprint: import("effect/Schema").String;
851
851
  readonly createdAt: import("effect/Schema").String;
852
- }>>, 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<{
852
+ }>>, 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<"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
853
  readonly algo: import("effect/Schema").String;
854
854
  readonly publicKeyBase64: import("effect/Schema").String;
855
855
  }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
@@ -885,14 +885,7 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
885
885
  readonly port: import("effect/Schema").Number;
886
886
  readonly usernamePrefix: import("effect/Schema").String;
887
887
  }>>;
888
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./system.js").SystemInternalServerError>, RequestRefusal, never>, false> | import("effect/unstable/httpapi/HttpApiGroup").HttpApiGroup<"users", import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"getUser", "GET", "/v1/users/:userId", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
889
- readonly userId: import("effect/Schema").String;
890
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
891
- readonly userId: import("effect/Schema").String;
892
- readonly email: import("effect/Schema").String;
893
- readonly name: import("effect/Schema").String;
894
- readonly createdAt: import("effect/Schema").String;
895
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./users.js").UserNotFoundError | typeof import("./users.js").UserInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"ensureUser", "POST", "/v1/users/", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
888
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./system.js").SystemInternalServerError>, RequestRefusal, never>, false> | import("effect/unstable/httpapi/HttpApiGroup").HttpApiGroup<"users", import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"ensureUser", "POST", "/v1/users/", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
896
889
  readonly email: import("effect/Schema").String;
897
890
  readonly name: import("effect/Schema").String;
898
891
  readonly userId: import("effect/Schema").optional<import("effect/Schema").String>;
@@ -902,7 +895,14 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
902
895
  readonly name: import("effect/Schema").String;
903
896
  readonly createdAt: import("effect/Schema").String;
904
897
  readonly created: import("effect/Schema").Boolean;
905
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./users.js").UserBadRequestError | typeof import("./users.js").UserInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"bindUserPerson", "POST", "/v1/users/:userId/person", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
898
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./users.js").UserBadRequestError | 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<{
899
+ readonly userId: import("effect/Schema").String;
900
+ }>>, 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<{
901
+ readonly userId: import("effect/Schema").String;
902
+ readonly email: import("effect/Schema").String;
903
+ readonly name: import("effect/Schema").String;
904
+ readonly createdAt: import("effect/Schema").String;
905
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./users.js").UserNotFoundError | typeof import("./users.js").UserInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"bindUserPerson", "POST", "/v1/users/:userId/person", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
906
906
  readonly userId: import("effect/Schema").String;
907
907
  }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
908
908
  readonly id: import("effect/Schema").String;
@@ -916,24 +916,60 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
916
916
  readonly home: import("effect/Schema").String;
917
917
  }>;
918
918
  readonly created: import("effect/Schema").Boolean;
919
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./users.js").UserPersonConflictError | typeof import("./users.js").UserBadRequestError | typeof import("./users.js").UserNotFoundError | typeof import("./users.js").UserInternalServerError>, RequestRefusal, never>, false> | import("effect/unstable/httpapi/HttpApiGroup").HttpApiGroup<"workspaces", import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"releaseWorkspaceCredentials", "DELETE", "/v1/workspaces/:workspaceId/credentials", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
920
- readonly workspaceId: import("effect/Schema").String;
921
- }>>, 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<"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<{
922
920
  readonly ownerUserId: import("effect/Schema").String;
923
- readonly home: import("effect/Schema").String;
924
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
925
- readonly workspaceId: import("effect/Schema").String;
926
- readonly runId: import("effect/Schema").String;
927
- readonly home: import("effect/Schema").String;
928
- readonly released: import("effect/Schema").Boolean;
929
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./workspaces.js").WorkspaceBadRequestError | typeof import("./workspaces.js").WorkspaceForbiddenError | typeof import("./workspaces.js").WorkspaceNotFoundError | typeof import("./workspaces.js").WorkspaceConflictError | typeof import("./workspaces.js").WorkspaceBadGatewayError | typeof import("./workspaces.js").WorkspaceServiceUnavailableError | typeof import("./workspaces.js").WorkspaceInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"clearWorkspaceSshUser", "DELETE", "/v1/workspaces/:workspaceId/ssh-user", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
930
- readonly workspaceId: 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>;
931
950
  }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
932
- readonly ownerUserId: import("effect/Schema").optional<import("effect/Schema").String>;
933
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
951
+ readonly "idempotency-key": import("effect/Schema").optional<import("effect/Schema").String>;
952
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
934
953
  readonly workspaceId: import("effect/Schema").String;
935
- readonly sshUser: import("effect/Schema").Null;
936
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./workspaces.js").WorkspaceNotFoundError | typeof import("./workspaces.js").WorkspaceInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"listWorkspaces", "GET", "/v1/workspaces/", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
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<"listWorkspaces", "GET", "/v1/workspaces/", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
937
973
  readonly ownerUserId: import("effect/Schema").String;
938
974
  readonly status: import("effect/Schema").optional<import("effect/Schema").Literals<readonly ["queued", "running", "ready", "failed", "cancelled", "stopped", "retained"]>>;
939
975
  readonly limit: import("effect/Schema").optional<import("effect/Schema").String>;
@@ -1135,7 +1171,18 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
1135
1171
  readonly finishedAt: import("effect/Schema").optional<import("effect/Schema").String>;
1136
1172
  readonly durationMs: import("effect/Schema").optional<import("effect/Schema").Number>;
1137
1173
  }>>;
1138
- }>>, 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<"getWorkspaceCaptureStatus", "GET", "/v1/workspaces/:workspaceId/capture", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
1174
+ }>>, 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<"bindWorkspace", "POST", "/v1/workspaces/:workspaceId/bind", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
1175
+ readonly workspaceId: import("effect/Schema").String;
1176
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
1177
+ readonly ownerUserId: import("effect/Schema").String;
1178
+ readonly mountPath: import("effect/Schema").optional<import("effect/Schema").String>;
1179
+ readonly subpath: import("effect/Schema").String;
1180
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
1181
+ readonly binds: import("effect/Schema").$Array<import("effect/Schema").Struct<{
1182
+ readonly mountPath: import("effect/Schema").String;
1183
+ readonly subpath: import("effect/Schema").String;
1184
+ }>>;
1185
+ }>>, 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<{
1139
1186
  readonly workspaceId: import("effect/Schema").String;
1140
1187
  }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
1141
1188
  readonly ownerUserId: import("effect/Schema").String;
@@ -1189,156 +1236,6 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
1189
1236
  readonly boundMs: import("effect/Schema").Number;
1190
1237
  }>>;
1191
1238
  readonly ownerMap: import("effect/Schema").optional<import("effect/Schema").Boolean>;
1192
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./workspaces.js").WorkspaceBadRequestError | typeof import("./workspaces.js").WorkspaceNotFoundError | typeof import("./workspaces.js").WorkspaceConflictError | typeof import("./workspaces.js").WorkspaceInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"listWorkspaceCredentials", "GET", "/v1/workspaces/:workspaceId/credentials", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
1193
- readonly workspaceId: import("effect/Schema").String;
1194
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
1195
- readonly ownerUserId: import("effect/Schema").String;
1196
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
1197
- readonly workspaceId: import("effect/Schema").String;
1198
- readonly runId: import("effect/Schema").String;
1199
- readonly homes: import("effect/Schema").$Array<import("effect/Schema").Struct<{
1200
- readonly home: import("effect/Schema").String;
1201
- readonly onBehalfOfUserId: import("effect/Schema").String;
1202
- readonly accounts: import("effect/Schema").Struct<{
1203
- readonly claude: import("effect/Schema").optional<import("effect/Schema").Struct<{
1204
- readonly connectedAccountId: import("effect/Schema").String;
1205
- readonly name: import("effect/Schema").String;
1206
- }>>;
1207
- readonly codex: import("effect/Schema").optional<import("effect/Schema").Struct<{
1208
- readonly connectedAccountId: import("effect/Schema").String;
1209
- readonly name: import("effect/Schema").String;
1210
- }>>;
1211
- readonly github: import("effect/Schema").optional<import("effect/Schema").Struct<{
1212
- readonly connectedAccountId: import("effect/Schema").String;
1213
- readonly name: import("effect/Schema").String;
1214
- }>>;
1215
- readonly pi: import("effect/Schema").optional<import("effect/Schema").Struct<{
1216
- readonly connectedAccountId: import("effect/Schema").String;
1217
- readonly name: import("effect/Schema").String;
1218
- }>>;
1219
- readonly opencode: import("effect/Schema").optional<import("effect/Schema").Struct<{
1220
- readonly connectedAccountId: import("effect/Schema").String;
1221
- readonly name: import("effect/Schema").String;
1222
- }>>;
1223
- }>;
1224
- }>>;
1225
- }>>, 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<"listWorkspaceEvents", "GET", "/v1/workspaces/:workspaceId/events", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
1226
- readonly workspaceId: import("effect/Schema").String;
1227
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
1228
- readonly ownerUserId: import("effect/Schema").optional<import("effect/Schema").String>;
1229
- readonly limit: import("effect/Schema").optional<import("effect/Schema").String>;
1230
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
1231
- readonly items: import("effect/Schema").$Array<import("effect/Schema").Struct<{
1232
- readonly eventId: import("effect/Schema").String;
1233
- readonly workspaceId: import("effect/Schema").String;
1234
- readonly attemptId: import("effect/Schema").optional<import("effect/Schema").String>;
1235
- readonly type: import("effect/Schema").Literals<readonly ["workspace.created", "attempt.queued", "attempt.running", "attempt.succeeded", "attempt.failed", "attempt.cancelled", "image.published", "runtime.pending", "runtime.running", "runtime.ready", "runtime.failed", "runtime.stopped"]>;
1236
- readonly occurredAt: import("effect/Schema").String;
1237
- readonly message: import("effect/Schema").optional<import("effect/Schema").String>;
1238
- readonly data: import("effect/Schema").optional<import("effect/Schema").Unknown>;
1239
- }>>;
1240
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./workspaces.js").WorkspaceBadRequestError | typeof import("./workspaces.js").WorkspaceNotFoundError | typeof import("./workspaces.js").WorkspaceInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"getWorkspaceSshTarget", "GET", "/v1/workspaces/:workspaceId/ssh-target", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
1241
- readonly workspaceId: import("effect/Schema").String;
1242
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
1243
- readonly "x-sealant-gateway-token": import("effect/Schema").optional<import("effect/Schema").String>;
1244
- readonly "x-sealant-principal-id": import("effect/Schema").optional<import("effect/Schema").String>;
1245
- readonly "x-sealant-gateway-ssh-user": import("effect/Schema").optional<import("effect/Schema").String>;
1246
- readonly "x-sealant-ssh-key-fingerprint": import("effect/Schema").optional<import("effect/Schema").String>;
1247
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
1248
- readonly workspaceId: import("effect/Schema").String;
1249
- readonly attemptId: import("effect/Schema").String;
1250
- readonly runtime: import("effect/Schema").Struct<{
1251
- readonly adapter: import("effect/Schema").Literals<readonly ["docker", "k8s", "k3s", "cloudflare", "microvm"]>;
1252
- readonly resourceId: import("effect/Schema").String;
1253
- readonly reference: import("effect/Schema").String;
1254
- readonly status: import("effect/Schema").Literals<readonly ["pending", "running", "ready", "failed", "stopped"]>;
1255
- readonly endpoint: import("effect/Schema").String;
1256
- }>;
1257
- readonly sessionUser: import("effect/Schema").NullOr<import("effect/Schema").String>;
1258
- readonly sshKeyFingerprint: import("effect/Schema").optional<import("effect/Schema").String>;
1259
- }>>, 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<"getWorkspaceCreate", "GET", "/v1/workspaces/idempotency-keys/:idempotencyKey", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
1260
- readonly idempotencyKey: import("effect/Schema").String;
1261
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
1262
- readonly ownerUserId: import("effect/Schema").String;
1263
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
1264
- readonly idempotencyKey: import("effect/Schema").String;
1265
- readonly state: import("effect/Schema").Literals<readonly ["pending", "found", "cancelled", "none"]>;
1266
- readonly workspaceId: import("effect/Schema").optional<import("effect/Schema").String>;
1267
- readonly runId: import("effect/Schema").optional<import("effect/Schema").String>;
1268
- readonly launchId: import("effect/Schema").optional<import("effect/Schema").String>;
1269
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./workspaces.js").WorkspaceBadRequestError | 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<{
1270
- readonly workspaceId: import("effect/Schema").String;
1271
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
1272
- readonly name: import("effect/Schema").String;
1273
- readonly ownerUserId: import("effect/Schema").optional<import("effect/Schema").String>;
1274
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
1275
- readonly workspaceId: import("effect/Schema").String;
1276
- readonly name: import("effect/Schema").String;
1277
- readonly updatedAt: import("effect/Schema").String;
1278
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./workspaces.js").WorkspaceNotFoundError | typeof import("./workspaces.js").WorkspaceInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"createWorkspace", "POST", "/v1/workspaces/", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
1279
- readonly ownerUserId: import("effect/Schema").String;
1280
- readonly registryId: import("effect/Schema").String;
1281
- readonly repository: import("effect/Schema").String;
1282
- readonly tag: import("effect/Schema").String;
1283
- readonly name: import("effect/Schema").optional<import("effect/Schema").String>;
1284
- readonly sourceSelection: import("effect/Schema").optional<import("effect/Schema").Struct<{
1285
- readonly provider: import("effect/Schema").Literal<"github">;
1286
- readonly installationId: import("effect/Schema").String;
1287
- readonly installationRepositoryId: import("effect/Schema").String;
1288
- readonly ref: import("effect/Schema").optional<import("effect/Schema").String>;
1289
- }>>;
1290
- readonly dotfilesSelection: import("effect/Schema").optional<import("effect/Schema").Struct<{
1291
- readonly provider: import("effect/Schema").Literal<"github">;
1292
- readonly installationId: import("effect/Schema").String;
1293
- readonly installationRepositoryId: import("effect/Schema").String;
1294
- readonly ref: import("effect/Schema").optional<import("effect/Schema").String>;
1295
- }>>;
1296
- readonly credentials: import("effect/Schema").optional<import("effect/Schema").Struct<{
1297
- readonly profileId: import("effect/Schema").optional<import("effect/Schema").String>;
1298
- readonly claude: import("effect/Schema").optional<import("effect/Schema").String>;
1299
- readonly codex: import("effect/Schema").optional<import("effect/Schema").String>;
1300
- readonly github: import("effect/Schema").optional<import("effect/Schema").String>;
1301
- }>>;
1302
- readonly spec: import("effect/Schema").Unknown;
1303
- readonly secretEnv: import("effect/Schema").optional<import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").String>>;
1304
- readonly captureToken: import("effect/Schema").optional<import("effect/Schema").String>;
1305
- readonly ttlSeconds: import("effect/Schema").optional<import("effect/Schema").Int>;
1306
- readonly idempotencyKey: import("effect/Schema").optional<import("effect/Schema").String>;
1307
- readonly launchId: import("effect/Schema").optional<import("effect/Schema").String>;
1308
- readonly sshAsOwner: import("effect/Schema").optional<import("effect/Schema").Boolean>;
1309
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
1310
- readonly "idempotency-key": import("effect/Schema").optional<import("effect/Schema").String>;
1311
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
1312
- readonly workspaceId: import("effect/Schema").String;
1313
- readonly name: import("effect/Schema").String;
1314
- readonly status: import("effect/Schema").Literals<readonly ["queued", "running", "ready", "failed", "cancelled", "stopped", "retained"]>;
1315
- readonly registryId: import("effect/Schema").String;
1316
- readonly repository: import("effect/Schema").String;
1317
- readonly tag: import("effect/Schema").String;
1318
- readonly runId: import("effect/Schema").optional<import("effect/Schema").String>;
1319
- readonly runtime: import("effect/Schema").optional<import("effect/Schema").Struct<{
1320
- readonly adapter: import("effect/Schema").Literals<readonly ["docker", "k8s", "k3s", "cloudflare", "microvm"]>;
1321
- readonly resourceId: import("effect/Schema").String;
1322
- readonly reference: import("effect/Schema").String;
1323
- readonly status: import("effect/Schema").Literals<readonly ["pending", "running", "ready", "failed", "stopped", "retained"]>;
1324
- readonly endpoint: import("effect/Schema").optional<import("effect/Schema").String>;
1325
- readonly deadline: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").String>>;
1326
- readonly runId: import("effect/Schema").optional<import("effect/Schema").String>;
1327
- readonly launchId: import("effect/Schema").optional<import("effect/Schema").String>;
1328
- }>>;
1329
- readonly replayed: import("effect/Schema").optional<import("effect/Schema").Boolean>;
1330
- readonly launchId: import("effect/Schema").optional<import("effect/Schema").String>;
1331
- }>>, 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<"bindWorkspace", "POST", "/v1/workspaces/:workspaceId/bind", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
1332
- readonly workspaceId: import("effect/Schema").String;
1333
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
1334
- readonly ownerUserId: import("effect/Schema").String;
1335
- readonly mountPath: import("effect/Schema").optional<import("effect/Schema").String>;
1336
- readonly subpath: import("effect/Schema").String;
1337
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
1338
- readonly binds: import("effect/Schema").$Array<import("effect/Schema").Struct<{
1339
- readonly mountPath: import("effect/Schema").String;
1340
- readonly subpath: import("effect/Schema").String;
1341
- }>>;
1342
1239
  }>>, 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<{
1343
1240
  readonly workspaceId: import("effect/Schema").String;
1344
1241
  }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
@@ -1467,7 +1364,50 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
1467
1364
  readonly code: import("effect/Schema").Literals<readonly ["connected-account-missing", "connected-account-invalid", "connected-account-unsupported", "login-file-unusable"]>;
1468
1365
  readonly message: import("effect/Schema").String;
1469
1366
  }>>>;
1470
- }>>, 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<"applyWorkspaceDotfiles", "POST", "/v1/workspaces/:workspaceId/dotfiles", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
1367
+ }>>, 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<{
1368
+ readonly workspaceId: import("effect/Schema").String;
1369
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
1370
+ readonly ownerUserId: import("effect/Schema").String;
1371
+ readonly home: import("effect/Schema").String;
1372
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
1373
+ readonly workspaceId: import("effect/Schema").String;
1374
+ readonly runId: import("effect/Schema").String;
1375
+ readonly home: import("effect/Schema").String;
1376
+ readonly released: import("effect/Schema").Boolean;
1377
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./workspaces.js").WorkspaceBadRequestError | typeof import("./workspaces.js").WorkspaceForbiddenError | typeof import("./workspaces.js").WorkspaceNotFoundError | typeof import("./workspaces.js").WorkspaceConflictError | typeof import("./workspaces.js").WorkspaceBadGatewayError | typeof import("./workspaces.js").WorkspaceServiceUnavailableError | typeof import("./workspaces.js").WorkspaceInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"listWorkspaceCredentials", "GET", "/v1/workspaces/:workspaceId/credentials", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
1378
+ readonly workspaceId: import("effect/Schema").String;
1379
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
1380
+ readonly ownerUserId: import("effect/Schema").String;
1381
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
1382
+ readonly workspaceId: import("effect/Schema").String;
1383
+ readonly runId: import("effect/Schema").String;
1384
+ readonly homes: import("effect/Schema").$Array<import("effect/Schema").Struct<{
1385
+ readonly home: import("effect/Schema").String;
1386
+ readonly onBehalfOfUserId: import("effect/Schema").String;
1387
+ readonly accounts: import("effect/Schema").Struct<{
1388
+ readonly claude: import("effect/Schema").optional<import("effect/Schema").Struct<{
1389
+ readonly connectedAccountId: import("effect/Schema").String;
1390
+ readonly name: import("effect/Schema").String;
1391
+ }>>;
1392
+ readonly codex: import("effect/Schema").optional<import("effect/Schema").Struct<{
1393
+ readonly connectedAccountId: import("effect/Schema").String;
1394
+ readonly name: import("effect/Schema").String;
1395
+ }>>;
1396
+ readonly github: import("effect/Schema").optional<import("effect/Schema").Struct<{
1397
+ readonly connectedAccountId: import("effect/Schema").String;
1398
+ readonly name: import("effect/Schema").String;
1399
+ }>>;
1400
+ readonly pi: import("effect/Schema").optional<import("effect/Schema").Struct<{
1401
+ readonly connectedAccountId: import("effect/Schema").String;
1402
+ readonly name: import("effect/Schema").String;
1403
+ }>>;
1404
+ readonly opencode: import("effect/Schema").optional<import("effect/Schema").Struct<{
1405
+ readonly connectedAccountId: import("effect/Schema").String;
1406
+ readonly name: import("effect/Schema").String;
1407
+ }>>;
1408
+ }>;
1409
+ }>>;
1410
+ }>>, 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<"applyWorkspaceDotfiles", "POST", "/v1/workspaces/:workspaceId/dotfiles", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
1471
1411
  readonly workspaceId: import("effect/Schema").String;
1472
1412
  }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
1473
1413
  readonly ownerUserId: import("effect/Schema").String;
@@ -1513,7 +1453,22 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
1513
1453
  readonly recordDeletedAt: import("effect/Schema").optional<import("effect/Schema").String>;
1514
1454
  readonly createdAt: import("effect/Schema").String;
1515
1455
  readonly updatedAt: import("effect/Schema").String;
1516
- }>>, 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<{
1456
+ }>>, 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<"listWorkspaceEvents", "GET", "/v1/workspaces/:workspaceId/events", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
1457
+ readonly workspaceId: import("effect/Schema").String;
1458
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
1459
+ readonly ownerUserId: import("effect/Schema").optional<import("effect/Schema").String>;
1460
+ readonly limit: import("effect/Schema").optional<import("effect/Schema").String>;
1461
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
1462
+ readonly items: import("effect/Schema").$Array<import("effect/Schema").Struct<{
1463
+ readonly eventId: import("effect/Schema").String;
1464
+ readonly workspaceId: import("effect/Schema").String;
1465
+ readonly attemptId: import("effect/Schema").optional<import("effect/Schema").String>;
1466
+ readonly type: import("effect/Schema").Literals<readonly ["workspace.created", "attempt.queued", "attempt.running", "attempt.succeeded", "attempt.failed", "attempt.cancelled", "image.published", "runtime.pending", "runtime.running", "runtime.ready", "runtime.failed", "runtime.stopped"]>;
1467
+ readonly occurredAt: import("effect/Schema").String;
1468
+ readonly message: import("effect/Schema").optional<import("effect/Schema").String>;
1469
+ readonly data: import("effect/Schema").optional<import("effect/Schema").Unknown>;
1470
+ }>>;
1471
+ }>>, 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<"execWorkspace", "POST", "/v1/workspaces/:workspaceId/exec", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
1517
1472
  readonly workspaceId: import("effect/Schema").String;
1518
1473
  }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
1519
1474
  readonly ownerUserId: import("effect/Schema").String;
@@ -1591,7 +1546,16 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
1591
1546
  }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
1592
1547
  readonly workspaceId: import("effect/Schema").String;
1593
1548
  readonly expiresAt: import("effect/Schema").NullOr<import("effect/Schema").String>;
1594
- }>>, 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<"recoverWorkspace", "POST", "/v1/workspaces/:workspaceId/recover", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
1549
+ }>>, 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<{
1550
+ readonly workspaceId: import("effect/Schema").String;
1551
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
1552
+ readonly name: import("effect/Schema").String;
1553
+ readonly ownerUserId: import("effect/Schema").optional<import("effect/Schema").String>;
1554
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
1555
+ readonly workspaceId: import("effect/Schema").String;
1556
+ readonly name: import("effect/Schema").String;
1557
+ readonly updatedAt: import("effect/Schema").String;
1558
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./workspaces.js").WorkspaceNotFoundError | typeof import("./workspaces.js").WorkspaceInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"recoverWorkspace", "POST", "/v1/workspaces/:workspaceId/recover", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
1595
1559
  readonly workspaceId: import("effect/Schema").String;
1596
1560
  }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
1597
1561
  readonly ownerUserId: import("effect/Schema").String;
@@ -1607,7 +1571,33 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
1607
1571
  readonly workspaceId: import("effect/Schema").String;
1608
1572
  readonly runId: import("effect/Schema").String;
1609
1573
  readonly status: import("effect/Schema").Literals<readonly ["queued", "running", "ready", "failed", "cancelled", "stopped", "retained"]>;
1610
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./budgets.ts").BudgetExceededError | 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<"stopWorkspace", "POST", "/v1/workspaces/:workspaceId/stop", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
1574
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./budgets.ts").BudgetExceededError | typeof import("./workspaces.js").WorkspaceBadRequestError | typeof import("./workspaces.js").WorkspaceNotFoundError | typeof import("./workspaces.js").WorkspaceConflictError | typeof import("./workspaces.js").WorkspaceBadGatewayError | typeof import("./workspaces.js").WorkspaceInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"getWorkspaceSshTarget", "GET", "/v1/workspaces/:workspaceId/ssh-target", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
1575
+ readonly workspaceId: import("effect/Schema").String;
1576
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
1577
+ readonly "x-sealant-gateway-token": import("effect/Schema").optional<import("effect/Schema").String>;
1578
+ readonly "x-sealant-principal-id": import("effect/Schema").optional<import("effect/Schema").String>;
1579
+ readonly "x-sealant-gateway-ssh-user": import("effect/Schema").optional<import("effect/Schema").String>;
1580
+ readonly "x-sealant-ssh-key-fingerprint": import("effect/Schema").optional<import("effect/Schema").String>;
1581
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
1582
+ readonly workspaceId: import("effect/Schema").String;
1583
+ readonly attemptId: import("effect/Schema").String;
1584
+ readonly runtime: import("effect/Schema").Struct<{
1585
+ readonly adapter: import("effect/Schema").Literals<readonly ["docker", "k8s", "k3s", "cloudflare", "microvm"]>;
1586
+ readonly resourceId: import("effect/Schema").String;
1587
+ readonly reference: import("effect/Schema").String;
1588
+ readonly status: import("effect/Schema").Literals<readonly ["pending", "running", "ready", "failed", "stopped"]>;
1589
+ readonly endpoint: import("effect/Schema").String;
1590
+ }>;
1591
+ readonly sessionUser: import("effect/Schema").NullOr<import("effect/Schema").String>;
1592
+ readonly sshKeyFingerprint: import("effect/Schema").optional<import("effect/Schema").String>;
1593
+ }>>, 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<"clearWorkspaceSshUser", "DELETE", "/v1/workspaces/:workspaceId/ssh-user", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
1594
+ readonly workspaceId: import("effect/Schema").String;
1595
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
1596
+ readonly ownerUserId: import("effect/Schema").optional<import("effect/Schema").String>;
1597
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
1598
+ readonly workspaceId: import("effect/Schema").String;
1599
+ readonly sshUser: import("effect/Schema").Null;
1600
+ }>>, 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<{
1611
1601
  readonly workspaceId: import("effect/Schema").String;
1612
1602
  }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
1613
1603
  readonly ownerUserId: import("effect/Schema").String;
@@ -1634,7 +1624,17 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
1634
1624
  readonly outcome: import("effect/Schema").Literals<readonly ["accepted", "ignored"]>;
1635
1625
  readonly detail: import("effect/Schema").optional<import("effect/Schema").String>;
1636
1626
  }>>;
1637
- }>>, 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<"cancelWorkspaceCreate", "POST", "/v1/workspaces/idempotency-keys/:idempotencyKey/cancel", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
1627
+ }>>, 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<"getWorkspaceCreate", "GET", "/v1/workspaces/idempotency-keys/:idempotencyKey", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
1628
+ readonly idempotencyKey: import("effect/Schema").String;
1629
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
1630
+ readonly ownerUserId: import("effect/Schema").String;
1631
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
1632
+ readonly idempotencyKey: import("effect/Schema").String;
1633
+ readonly state: import("effect/Schema").Literals<readonly ["pending", "found", "cancelled", "none"]>;
1634
+ readonly workspaceId: import("effect/Schema").optional<import("effect/Schema").String>;
1635
+ readonly runId: import("effect/Schema").optional<import("effect/Schema").String>;
1636
+ readonly launchId: import("effect/Schema").optional<import("effect/Schema").String>;
1637
+ }>>, 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<{
1638
1638
  readonly idempotencyKey: import("effect/Schema").String;
1639
1639
  }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
1640
1640
  readonly ownerUserId: import("effect/Schema").String;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sealant/api-contracts-next",
3
- "version": "0.39.0-next.746",
3
+ "version": "0.39.0-next.748",
4
4
  "description": "Contract-first HTTP API definitions for Sealant services",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
@@ -32,7 +32,7 @@
32
32
  "peerDependencies": {
33
33
  "effect": ">=4.0.0-beta.85 <5"
34
34
  },
35
- "gitHead": "e1a8557df234cb316ecc48ddb12aff5fd9ea2b4a",
35
+ "gitHead": "fa163c6ff0dd25c59324673a5df3da5d7ce6808f",
36
36
  "publishConfig": {
37
37
  "access": "public"
38
38
  }