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

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.
@@ -16,19 +16,6 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
16
16
  readonly revokedAt: import("effect/Schema").optional<import("effect/Schema").String>;
17
17
  readonly createdAt: import("effect/Schema").String;
18
18
  readonly token: import("effect/Schema").String;
19
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./access-tokens.js").AccessTokenBadRequestError | typeof import("./access-tokens.js").AccessTokenNotFoundError | typeof import("./access-tokens.js").AccessTokenInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"revokeAccessToken", "POST", "/v1/access-tokens/:tokenId/revoke", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
20
- readonly tokenId: import("effect/Schema").String;
21
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
22
- readonly ownerUserId: import("effect/Schema").String;
23
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
24
- readonly tokenId: import("effect/Schema").String;
25
- readonly ownerUserId: import("effect/Schema").String;
26
- readonly name: import("effect/Schema").optional<import("effect/Schema").String>;
27
- readonly scopes: import("effect/Schema").$Array<import("effect/Schema").Literals<readonly ["session:read", "session:input", "workspace:exec"]>>;
28
- readonly workspaceId: import("effect/Schema").optional<import("effect/Schema").String>;
29
- readonly expiresAt: import("effect/Schema").optional<import("effect/Schema").String>;
30
- readonly revokedAt: import("effect/Schema").optional<import("effect/Schema").String>;
31
- readonly createdAt: import("effect/Schema").String;
32
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<{
33
20
  readonly ownerUserId: import("effect/Schema").String;
34
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<{
@@ -42,7 +29,20 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
42
29
  readonly revokedAt: import("effect/Schema").optional<import("effect/Schema").String>;
43
30
  readonly createdAt: import("effect/Schema").String;
44
31
  }>>;
45
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./access-tokens.js").AccessTokenBadRequestError | typeof import("./access-tokens.js").AccessTokenInternalServerError>, RequestRefusal, never>, false> | import("effect/unstable/httpapi/HttpApiGroup").HttpApiGroup<"connectedAccounts", import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"archiveConnectedAccount", "DELETE", "/v1/connected-accounts/:connectedAccountId", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
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
+ readonly tokenId: import("effect/Schema").String;
34
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
35
+ readonly ownerUserId: import("effect/Schema").String;
36
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
37
+ readonly tokenId: import("effect/Schema").String;
38
+ readonly ownerUserId: import("effect/Schema").String;
39
+ readonly name: import("effect/Schema").optional<import("effect/Schema").String>;
40
+ readonly scopes: import("effect/Schema").$Array<import("effect/Schema").Literals<readonly ["session:read", "session:input", "workspace:exec"]>>;
41
+ readonly workspaceId: import("effect/Schema").optional<import("effect/Schema").String>;
42
+ readonly expiresAt: import("effect/Schema").optional<import("effect/Schema").String>;
43
+ readonly revokedAt: import("effect/Schema").optional<import("effect/Schema").String>;
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
46
  readonly connectedAccountId: import("effect/Schema").String;
47
47
  }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
48
48
  readonly ownerUserId: import("effect/Schema").String;
@@ -87,29 +87,7 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
87
87
  readonly lastRefreshAt: import("effect/Schema").NullOr<import("effect/Schema").String>;
88
88
  readonly lastRefreshOutcome: import("effect/Schema").NullOr<import("effect/Schema").Literals<readonly ["refreshed", "fresh", "failed"]>>;
89
89
  }>;
90
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./connected-accounts.js").ConnectedAccountBadRequestError | typeof import("./connected-accounts.js").ConnectedAccountNotFoundError | typeof import("./connected-accounts.js").ConnectedAccountConflictError | typeof import("./connected-accounts.js").ConnectedAccountServiceUnavailableError | typeof import("./connected-accounts.js").ConnectedAccountInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"markConnectedAccountInvalid", "POST", "/v1/connected-accounts/:connectedAccountId/mark-invalid", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
91
- readonly connectedAccountId: import("effect/Schema").String;
92
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
93
- readonly ownerUserId: import("effect/Schema").String;
94
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
95
- readonly connectedAccountId: import("effect/Schema").String;
96
- readonly ownerUserId: import("effect/Schema").String;
97
- readonly provider: import("effect/Schema").Literals<readonly ["claude", "codex", "github"]>;
98
- readonly name: import("effect/Schema").String;
99
- readonly kind: import("effect/Schema").String;
100
- readonly status: import("effect/Schema").Literals<readonly ["active", "invalid", "archived"]>;
101
- readonly metadata: import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").Unknown>;
102
- readonly connectedAt: import("effect/Schema").String;
103
- readonly updatedAt: import("effect/Schema").String;
104
- readonly lastUsedAt: import("effect/Schema").NullOr<import("effect/Schema").String>;
105
- readonly lastSyncedAt: import("effect/Schema").NullOr<import("effect/Schema").String>;
106
- readonly credential: import("effect/Schema").Struct<{
107
- readonly accessExpiresAt: import("effect/Schema").NullOr<import("effect/Schema").String>;
108
- readonly refreshExpiresAt: import("effect/Schema").NullOr<import("effect/Schema").String>;
109
- readonly lastRefreshAt: import("effect/Schema").NullOr<import("effect/Schema").String>;
110
- readonly lastRefreshOutcome: import("effect/Schema").NullOr<import("effect/Schema").Literals<readonly ["refreshed", "fresh", "failed"]>>;
111
- }>;
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<"listConnectedAccounts", "GET", "/v1/connected-accounts/", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
90
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./connected-accounts.js").ConnectedAccountBadRequestError | typeof import("./connected-accounts.js").ConnectedAccountNotFoundError | typeof import("./connected-accounts.js").ConnectedAccountConflictError | typeof import("./connected-accounts.js").ConnectedAccountServiceUnavailableError | typeof import("./connected-accounts.js").ConnectedAccountInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"listConnectedAccounts", "GET", "/v1/connected-accounts/", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
113
91
  readonly ownerUserId: import("effect/Schema").String;
114
92
  }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
115
93
  readonly items: import("effect/Schema").$Array<import("effect/Schema").Struct<{
@@ -131,15 +109,29 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
131
109
  readonly lastRefreshOutcome: import("effect/Schema").NullOr<import("effect/Schema").Literals<readonly ["refreshed", "fresh", "failed"]>>;
132
110
  }>;
133
111
  }>>;
134
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./connected-accounts.js").ConnectedAccountInternalServerError>, RequestRefusal, never>, false> | import("effect/unstable/httpapi/HttpApiGroup").HttpApiGroup<"github", import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"syncInstallation", "POST", "/v1/github/installations/:installationId/sync", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
135
- readonly installationId: import("effect/Schema").String;
136
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
137
- readonly userId: import("effect/Schema").String;
138
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
139
- readonly installationId: import("effect/Schema").String;
140
- readonly syncedRepositoryCount: import("effect/Schema").Number;
141
- readonly syncedAt: import("effect/Schema").String;
142
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./github.js").GitHubForbiddenError | typeof import("./github.js").GitHubNotFoundError | typeof import("./github.js").GitHubServiceUnavailableError | typeof import("./github.js").GitHubInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"handleWebhook", "POST", "/v1/github/webhooks", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").String>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
112
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<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
+ readonly connectedAccountId: import("effect/Schema").String;
114
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
115
+ readonly ownerUserId: import("effect/Schema").String;
116
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
117
+ readonly connectedAccountId: import("effect/Schema").String;
118
+ readonly ownerUserId: import("effect/Schema").String;
119
+ readonly provider: import("effect/Schema").Literals<readonly ["claude", "codex", "github"]>;
120
+ readonly name: import("effect/Schema").String;
121
+ readonly kind: import("effect/Schema").String;
122
+ readonly status: import("effect/Schema").Literals<readonly ["active", "invalid", "archived"]>;
123
+ readonly metadata: import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").Unknown>;
124
+ readonly connectedAt: import("effect/Schema").String;
125
+ readonly updatedAt: import("effect/Schema").String;
126
+ readonly lastUsedAt: import("effect/Schema").NullOr<import("effect/Schema").String>;
127
+ readonly lastSyncedAt: import("effect/Schema").NullOr<import("effect/Schema").String>;
128
+ readonly credential: import("effect/Schema").Struct<{
129
+ readonly accessExpiresAt: import("effect/Schema").NullOr<import("effect/Schema").String>;
130
+ readonly refreshExpiresAt: import("effect/Schema").NullOr<import("effect/Schema").String>;
131
+ readonly lastRefreshAt: import("effect/Schema").NullOr<import("effect/Schema").String>;
132
+ readonly lastRefreshOutcome: import("effect/Schema").NullOr<import("effect/Schema").Literals<readonly ["refreshed", "fresh", "failed"]>>;
133
+ }>;
134
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./connected-accounts.js").ConnectedAccountNotFoundError | typeof import("./connected-accounts.js").ConnectedAccountInternalServerError>, RequestRefusal, never>, false> | import("effect/unstable/httpapi/HttpApiGroup").HttpApiGroup<"github", import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"handleWebhook", "POST", "/v1/github/webhooks", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").String>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
143
135
  readonly "x-github-delivery": import("effect/Schema").optional<import("effect/Schema").String>;
144
136
  readonly "x-github-event": import("effect/Schema").optional<import("effect/Schema").String>;
145
137
  readonly "x-hub-signature-256": import("effect/Schema").optional<import("effect/Schema").String>;
@@ -161,19 +153,7 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
161
153
  }>;
162
154
  readonly syncedRepositoryCount: import("effect/Schema").Number;
163
155
  readonly syncedAt: import("effect/Schema").String;
164
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./github.js").GitHubNotFoundError | typeof import("./github.js").GitHubServiceUnavailableError | typeof import("./github.js").GitHubInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"listInstallations", "GET", "/v1/github/installations", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
165
- readonly userId: import("effect/Schema").String;
166
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
167
- readonly items: import("effect/Schema").$Array<import("effect/Schema").Struct<{
168
- readonly installationId: import("effect/Schema").String;
169
- readonly externalInstallationId: import("effect/Schema").String;
170
- readonly accountLogin: import("effect/Schema").String;
171
- readonly accountType: import("effect/Schema").Literals<readonly ["organization", "user"]>;
172
- readonly status: import("effect/Schema").Literals<readonly ["active", "suspended", "deleted"]>;
173
- readonly repositorySelection: import("effect/Schema").Literals<readonly ["all", "selected"]>;
174
- readonly lastSyncedAt: import("effect/Schema").optional<import("effect/Schema").String>;
175
- }>>;
176
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./github.js").GitHubServiceUnavailableError | typeof import("./github.js").GitHubInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"listInstallationRepositories", "GET", "/v1/github/installations/:installationId/repositories", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
156
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./github.js").GitHubNotFoundError | typeof import("./github.js").GitHubServiceUnavailableError | typeof import("./github.js").GitHubInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"listInstallationRepositories", "GET", "/v1/github/installations/:installationId/repositories", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
177
157
  readonly installationId: import("effect/Schema").String;
178
158
  }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
179
159
  readonly userId: import("effect/Schema").String;
@@ -192,6 +172,26 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
192
172
  readonly isArchived: import("effect/Schema").Boolean;
193
173
  readonly lastSyncedAt: import("effect/Schema").optional<import("effect/Schema").String>;
194
174
  }>>;
175
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./github.js").GitHubForbiddenError | typeof import("./github.js").GitHubNotFoundError | typeof import("./github.js").GitHubServiceUnavailableError | typeof import("./github.js").GitHubInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"listInstallations", "GET", "/v1/github/installations", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
176
+ readonly userId: import("effect/Schema").String;
177
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
178
+ readonly items: import("effect/Schema").$Array<import("effect/Schema").Struct<{
179
+ readonly installationId: import("effect/Schema").String;
180
+ readonly externalInstallationId: import("effect/Schema").String;
181
+ readonly accountLogin: import("effect/Schema").String;
182
+ readonly accountType: import("effect/Schema").Literals<readonly ["organization", "user"]>;
183
+ readonly status: import("effect/Schema").Literals<readonly ["active", "suspended", "deleted"]>;
184
+ readonly repositorySelection: import("effect/Schema").Literals<readonly ["all", "selected"]>;
185
+ readonly lastSyncedAt: import("effect/Schema").optional<import("effect/Schema").String>;
186
+ }>>;
187
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./github.js").GitHubServiceUnavailableError | typeof import("./github.js").GitHubInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"syncInstallation", "POST", "/v1/github/installations/:installationId/sync", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
188
+ readonly installationId: import("effect/Schema").String;
189
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
190
+ readonly userId: import("effect/Schema").String;
191
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
192
+ readonly installationId: import("effect/Schema").String;
193
+ readonly syncedRepositoryCount: import("effect/Schema").Number;
194
+ readonly syncedAt: import("effect/Schema").String;
195
195
  }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./github.js").GitHubForbiddenError | typeof import("./github.js").GitHubNotFoundError | typeof import("./github.js").GitHubServiceUnavailableError | typeof import("./github.js").GitHubInternalServerError>, RequestRefusal, never>, false> | import("effect/unstable/httpapi/HttpApiGroup").HttpApiGroup<"inference", import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"respond", "POST", "/v1/inference/respond", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
196
196
  readonly ownerUserId: import("effect/Schema").String;
197
197
  readonly credentials: import("effect/Schema").optional<import("effect/Schema").Struct<{
@@ -285,13 +285,11 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
285
285
  }>>;
286
286
  readonly fetchedAt: import("effect/Schema").String;
287
287
  readonly expiresAt: import("effect/Schema").String;
288
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./packages.js").PackagesBadGatewayError | typeof import("./packages.js").PackagesInternalServerError>, RequestRefusal, never>, false> | import("effect/unstable/httpapi/HttpApiGroup").HttpApiGroup<"profiles", import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"setProfileCredentialBinding", "PUT", "/v1/profiles/:profileId/credential-bindings", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
288
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./packages.js").PackagesBadGatewayError | typeof import("./packages.js").PackagesInternalServerError>, RequestRefusal, never>, false> | import("effect/unstable/httpapi/HttpApiGroup").HttpApiGroup<"profiles", import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"listProfileCredentialBindings", "GET", "/v1/profiles/:profileId/credential-bindings", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
289
289
  readonly profileId: import("effect/Schema").String;
290
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
290
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
291
291
  readonly ownerUserId: import("effect/Schema").String;
292
- readonly provider: import("effect/Schema").Literals<readonly ["claude", "codex", "github"]>;
293
- readonly connectedAccountId: import("effect/Schema").NullOr<import("effect/Schema").String>;
294
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
292
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
295
293
  readonly items: import("effect/Schema").$Array<import("effect/Schema").Struct<{
296
294
  readonly profileId: import("effect/Schema").String;
297
295
  readonly provider: import("effect/Schema").Literals<readonly ["claude", "codex", "github"]>;
@@ -316,7 +314,7 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
316
314
  }>;
317
315
  }>;
318
316
  }>>;
319
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./profiles.js").ProfileBadRequestError | typeof import("./profiles.js").ProfileNotFoundError | typeof import("./profiles.js").ProfileConflictError | typeof import("./profiles.js").ProfileInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"listProfiles", "GET", "/v1/profiles/", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
317
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./profiles.js").ProfileNotFoundError | typeof import("./profiles.js").ProfileInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"listProfiles", "GET", "/v1/profiles/", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
320
318
  readonly ownerUserId: import("effect/Schema").String;
321
319
  }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
322
320
  readonly items: import("effect/Schema").$Array<import("effect/Schema").Struct<{
@@ -330,11 +328,13 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
330
328
  readonly createdAt: import("effect/Schema").String;
331
329
  readonly updatedAt: import("effect/Schema").String;
332
330
  }>>;
333
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./profiles.js").ProfileInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"listProfileCredentialBindings", "GET", "/v1/profiles/:profileId/credential-bindings", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
331
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./profiles.js").ProfileInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"setProfileCredentialBinding", "PUT", "/v1/profiles/:profileId/credential-bindings", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
334
332
  readonly profileId: import("effect/Schema").String;
335
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
333
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
336
334
  readonly ownerUserId: import("effect/Schema").String;
337
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
335
+ readonly provider: import("effect/Schema").Literals<readonly ["claude", "codex", "github"]>;
336
+ readonly connectedAccountId: import("effect/Schema").NullOr<import("effect/Schema").String>;
337
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
338
338
  readonly items: import("effect/Schema").$Array<import("effect/Schema").Struct<{
339
339
  readonly profileId: import("effect/Schema").String;
340
340
  readonly provider: import("effect/Schema").Literals<readonly ["claude", "codex", "github"]>;
@@ -359,18 +359,24 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
359
359
  }>;
360
360
  }>;
361
361
  }>>;
362
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./profiles.js").ProfileNotFoundError | typeof import("./profiles.js").ProfileInternalServerError>, RequestRefusal, never>, false> | import("effect/unstable/httpapi/HttpApiGroup").HttpApiGroup<"registries", import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"getRegistry", "GET", "/v1/registries/:registryId", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
362
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./profiles.js").ProfileBadRequestError | typeof import("./profiles.js").ProfileNotFoundError | typeof import("./profiles.js").ProfileConflictError | typeof import("./profiles.js").ProfileInternalServerError>, RequestRefusal, never>, false> | import("effect/unstable/httpapi/HttpApiGroup").HttpApiGroup<"registries", import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"getRegistry", "GET", "/v1/registries/:registryId", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
363
363
  readonly registryId: import("effect/Schema").String;
364
364
  }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
365
365
  readonly name: import("effect/Schema").String;
366
366
  readonly baseUrl: import("effect/Schema").String;
367
367
  readonly pushRegistry: import("effect/Schema").String;
368
368
  readonly hasBasicAuth: import("effect/Schema").Boolean;
369
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./registries.js").RegistriesNotFoundError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"pingRegistry", "GET", "/v1/registries/:registryId/ping", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
369
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./registries.js").RegistriesNotFoundError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"getRegistryManifest", "GET", "/v1/registries/:registryId/manifest", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
370
370
  readonly registryId: import("effect/Schema").String;
371
- }>>, 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<{
372
- readonly name: import("effect/Schema").String;
373
- readonly reachable: import("effect/Schema").Literal<true>;
371
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
372
+ readonly repository: import("effect/Schema").String;
373
+ readonly reference: import("effect/Schema").String;
374
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
375
+ readonly repository: import("effect/Schema").String;
376
+ readonly reference: import("effect/Schema").String;
377
+ readonly digest: import("effect/Schema").optional<import("effect/Schema").String>;
378
+ readonly contentType: import("effect/Schema").Union<readonly [import("effect/Schema").String, import("effect/Schema").Null]>;
379
+ readonly manifest: import("effect/Schema").Unknown;
374
380
  }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./registries.js").RegistriesNotFoundError | typeof import("./registries.js").RegistriesBadGatewayError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"listRegistryExtensions", "GET", "/v1/registries/:registryId/extensions", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
375
381
  readonly registryId: import("effect/Schema").String;
376
382
  }>>, 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<{
@@ -387,17 +393,11 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
387
393
  }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
388
394
  readonly repository: import("effect/Schema").String;
389
395
  readonly tags: import("effect/Schema").$Array<import("effect/Schema").String>;
390
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./registries.js").RegistriesNotFoundError | typeof import("./registries.js").RegistriesBadGatewayError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"getRegistryManifest", "GET", "/v1/registries/:registryId/manifest", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
396
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./registries.js").RegistriesNotFoundError | typeof import("./registries.js").RegistriesBadGatewayError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"pingRegistry", "GET", "/v1/registries/:registryId/ping", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
391
397
  readonly registryId: import("effect/Schema").String;
392
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
393
- readonly repository: import("effect/Schema").String;
394
- readonly reference: import("effect/Schema").String;
395
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
396
- readonly repository: import("effect/Schema").String;
397
- readonly reference: import("effect/Schema").String;
398
- readonly digest: import("effect/Schema").optional<import("effect/Schema").String>;
399
- readonly contentType: import("effect/Schema").Union<readonly [import("effect/Schema").String, import("effect/Schema").Null]>;
400
- readonly manifest: import("effect/Schema").Unknown;
398
+ }>>, 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<{
399
+ readonly name: import("effect/Schema").String;
400
+ readonly reachable: import("effect/Schema").Literal<true>;
401
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
402
  readonly workspaceId: import("effect/Schema").String;
403
403
  readonly harnessId: import("effect/Schema").String;
@@ -436,46 +436,7 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
436
436
  readonly recordDeletedAt: import("effect/Schema").optional<import("effect/Schema").String>;
437
437
  readonly createdAt: import("effect/Schema").String;
438
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<"updateRun", "PATCH", "/v1/runs/:runId", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
440
- readonly runId: import("effect/Schema").String;
441
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
442
- readonly ownerUserId: import("effect/Schema").optional<import("effect/Schema").String>;
443
- readonly status: import("effect/Schema").optional<import("effect/Schema").Literals<readonly ["queued", "running", "completed", "failed", "cancelled"]>>;
444
- readonly exitCode: import("effect/Schema").optional<import("effect/Schema").Number>;
445
- readonly errorMessage: import("effect/Schema").optional<import("effect/Schema").String>;
446
- readonly diff: import("effect/Schema").optional<import("effect/Schema").String>;
447
- readonly changedFiles: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").Struct<{
448
- readonly path: import("effect/Schema").String;
449
- readonly change: import("effect/Schema").Literals<readonly ["added", "modified", "deleted", "renamed"]>;
450
- readonly oldPath: import("effect/Schema").optional<import("effect/Schema").String>;
451
- }>>>;
452
- readonly changesReadFailed: import("effect/Schema").optional<import("effect/Schema").Boolean>;
453
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
454
- readonly runId: import("effect/Schema").String;
455
- readonly workspaceId: import("effect/Schema").String;
456
- readonly attemptId: import("effect/Schema").optional<import("effect/Schema").String>;
457
- readonly ownerUserId: import("effect/Schema").String;
458
- readonly harnessId: import("effect/Schema").String;
459
- readonly mode: import("effect/Schema").Literals<readonly ["one-shot", "interactive"]>;
460
- readonly status: import("effect/Schema").Literals<readonly ["queued", "running", "completed", "failed", "cancelled"]>;
461
- readonly prompt: import("effect/Schema").optional<import("effect/Schema").String>;
462
- readonly command: import("effect/Schema").optional<import("effect/Schema").Struct<{
463
- readonly executable: import("effect/Schema").String;
464
- readonly args: import("effect/Schema").$Array<import("effect/Schema").String>;
465
- readonly cwd: import("effect/Schema").optional<import("effect/Schema").String>;
466
- readonly argCount: import("effect/Schema").optional<import("effect/Schema").Number>;
467
- readonly argLengths: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").Number>>;
468
- }>>;
469
- readonly metadata: import("effect/Schema").optional<import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").Unknown>>;
470
- readonly user: import("effect/Schema").optional<import("effect/Schema").String>;
471
- readonly exitCode: import("effect/Schema").optional<import("effect/Schema").Number>;
472
- readonly errorMessage: import("effect/Schema").optional<import("effect/Schema").String>;
473
- readonly startedAt: import("effect/Schema").optional<import("effect/Schema").String>;
474
- readonly finishedAt: import("effect/Schema").optional<import("effect/Schema").String>;
475
- readonly recordDeletedAt: import("effect/Schema").optional<import("effect/Schema").String>;
476
- readonly createdAt: import("effect/Schema").String;
477
- readonly updatedAt: import("effect/Schema").String;
478
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./runs.js").RunBadRequestError | typeof import("./runs.js").RunNotFoundError | typeof import("./runs.js").RunInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"getRun", "GET", "/v1/runs/:runId", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
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<"getRun", "GET", "/v1/runs/:runId", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
479
440
  readonly runId: import("effect/Schema").String;
480
441
  }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
481
442
  readonly ownerUserId: import("effect/Schema").optional<import("effect/Schema").String>;
@@ -504,59 +465,20 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
504
465
  readonly recordDeletedAt: import("effect/Schema").optional<import("effect/Schema").String>;
505
466
  readonly createdAt: import("effect/Schema").String;
506
467
  readonly updatedAt: import("effect/Schema").String;
507
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./budgets.ts").BudgetExceededError | typeof import("./runs.js").RunNotFoundError | typeof import("./runs.js").RunInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"listRuns", "GET", "/v1/runs/", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
508
- readonly workspaceId: import("effect/Schema").optional<import("effect/Schema").String>;
509
- readonly ownerUserId: import("effect/Schema").optional<import("effect/Schema").String>;
510
- readonly status: import("effect/Schema").optional<import("effect/Schema").Literals<readonly ["queued", "running", "completed", "failed", "cancelled"]>>;
511
- readonly limit: import("effect/Schema").optional<import("effect/Schema").String>;
512
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
513
- readonly items: import("effect/Schema").$Array<import("effect/Schema").Struct<{
514
- readonly runId: import("effect/Schema").String;
515
- readonly workspaceId: import("effect/Schema").String;
516
- readonly attemptId: import("effect/Schema").optional<import("effect/Schema").String>;
517
- readonly ownerUserId: import("effect/Schema").String;
518
- readonly harnessId: import("effect/Schema").String;
519
- readonly mode: import("effect/Schema").Literals<readonly ["one-shot", "interactive"]>;
520
- readonly status: import("effect/Schema").Literals<readonly ["queued", "running", "completed", "failed", "cancelled"]>;
521
- readonly prompt: import("effect/Schema").optional<import("effect/Schema").String>;
522
- readonly command: import("effect/Schema").optional<import("effect/Schema").Struct<{
523
- readonly executable: import("effect/Schema").String;
524
- readonly args: import("effect/Schema").$Array<import("effect/Schema").String>;
525
- readonly cwd: import("effect/Schema").optional<import("effect/Schema").String>;
526
- readonly argCount: import("effect/Schema").optional<import("effect/Schema").Number>;
527
- readonly argLengths: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").Number>>;
528
- }>>;
529
- readonly metadata: import("effect/Schema").optional<import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").Unknown>>;
530
- readonly user: import("effect/Schema").optional<import("effect/Schema").String>;
531
- readonly exitCode: import("effect/Schema").optional<import("effect/Schema").Number>;
532
- readonly errorMessage: import("effect/Schema").optional<import("effect/Schema").String>;
533
- readonly startedAt: import("effect/Schema").optional<import("effect/Schema").String>;
534
- readonly finishedAt: import("effect/Schema").optional<import("effect/Schema").String>;
535
- readonly recordDeletedAt: import("effect/Schema").optional<import("effect/Schema").String>;
536
- readonly createdAt: import("effect/Schema").String;
537
- readonly updatedAt: import("effect/Schema").String;
538
- }>>;
539
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./runs.js").RunBadRequestError | typeof import("./runs.js").RunInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"getRunTimeline", "GET", "/v1/runs/:runId/timeline", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
468
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./budgets.ts").BudgetExceededError | typeof import("./runs.js").RunNotFoundError | typeof import("./runs.js").RunInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"getRunChanges", "GET", "/v1/runs/:runId/changes", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
540
469
  readonly runId: import("effect/Schema").String;
541
470
  }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
542
471
  readonly ownerUserId: import("effect/Schema").optional<import("effect/Schema").String>;
543
- readonly fromSequence: import("effect/Schema").optional<import("effect/Schema").String>;
544
- readonly toSequence: import("effect/Schema").optional<import("effect/Schema").String>;
545
- readonly limit: import("effect/Schema").optional<import("effect/Schema").String>;
546
- readonly kinds: import("effect/Schema").optional<import("effect/Schema").String>;
547
472
  }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
548
- readonly items: import("effect/Schema").$Array<import("effect/Schema").Struct<{
549
- readonly eventId: import("effect/Schema").String;
550
- readonly sequence: import("effect/Schema").String;
551
- readonly kind: import("effect/Schema").String;
552
- readonly occurredAt: import("effect/Schema").String;
553
- readonly summary: import("effect/Schema").String;
554
- readonly ref: import("effect/Schema").optional<import("effect/Schema").Unknown>;
555
- readonly processId: import("effect/Schema").optional<import("effect/Schema").String>;
556
- readonly captureMethod: import("effect/Schema").Number;
557
- readonly confidence: import("effect/Schema").Number;
473
+ readonly files: import("effect/Schema").$Array<import("effect/Schema").Struct<{
474
+ readonly path: import("effect/Schema").String;
475
+ readonly change: import("effect/Schema").Literals<readonly ["added", "modified", "deleted", "renamed"]>;
476
+ readonly oldPath: import("effect/Schema").optional<import("effect/Schema").String>;
558
477
  }>>;
559
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./runs.js").RunBadRequestError | typeof import("./runs.js").RunNotFoundError | typeof import("./runs.js").RunInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"getRunEvent", "GET", "/v1/runs/:runId/events/:sequence", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
478
+ readonly diff: import("effect/Schema").String;
479
+ readonly available: import("effect/Schema").optional<import("effect/Schema").Boolean>;
480
+ readonly unavailableReason: import("effect/Schema").optional<import("effect/Schema").String>;
481
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./runs.js").RunNotFoundError | typeof import("./runs.js").RunInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"getRunEvent", "GET", "/v1/runs/:runId/events/:sequence", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
560
482
  readonly runId: import("effect/Schema").String;
561
483
  readonly sequence: import("effect/Schema").String;
562
484
  }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
@@ -578,20 +500,6 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
578
500
  readonly payloadCase: import("effect/Schema").String;
579
501
  readonly payload: import("effect/Schema").Unknown;
580
502
  readonly ingestedAt: import("effect/Schema").String;
581
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./runs.js").RunBadRequestError | typeof import("./runs.js").RunNotFoundError | typeof import("./runs.js").RunInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"getRunScrollback", "GET", "/v1/runs/:runId/scrollback", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
582
- readonly runId: import("effect/Schema").String;
583
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
584
- readonly ownerUserId: import("effect/Schema").optional<import("effect/Schema").String>;
585
- readonly processId: import("effect/Schema").String;
586
- readonly stream: import("effect/Schema").Literals<readonly ["stdout", "stderr", "pty"]>;
587
- readonly atSequence: import("effect/Schema").optional<import("effect/Schema").String>;
588
- readonly fromSequence: import("effect/Schema").optional<import("effect/Schema").String>;
589
- readonly limit: import("effect/Schema").optional<import("effect/Schema").String>;
590
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
591
- readonly processId: import("effect/Schema").String;
592
- readonly stream: import("effect/Schema").Literals<readonly ["stdout", "stderr", "pty"]>;
593
- readonly byteCount: import("effect/Schema").Number;
594
- readonly contentBase64: import("effect/Schema").String;
595
503
  }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./runs.js").RunBadRequestError | typeof import("./runs.js").RunNotFoundError | typeof import("./runs.js").RunInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"getRunLoss", "GET", "/v1/runs/:runId/loss", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
596
504
  readonly runId: import("effect/Schema").String;
597
505
  }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
@@ -610,31 +518,115 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
610
518
  readonly detectedVia: import("effect/Schema").Literals<readonly ["marker", "gap"]>;
611
519
  readonly reason: import("effect/Schema").optional<import("effect/Schema").String>;
612
520
  }>>;
613
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./runs.js").RunNotFoundError | typeof import("./runs.js").RunInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"getRunChanges", "GET", "/v1/runs/:runId/changes", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
521
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./runs.js").RunNotFoundError | typeof import("./runs.js").RunInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"getRunScrollback", "GET", "/v1/runs/:runId/scrollback", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
614
522
  readonly runId: import("effect/Schema").String;
615
523
  }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
616
524
  readonly ownerUserId: import("effect/Schema").optional<import("effect/Schema").String>;
525
+ readonly processId: import("effect/Schema").String;
526
+ readonly stream: import("effect/Schema").Literals<readonly ["stdout", "stderr", "pty"]>;
527
+ readonly atSequence: import("effect/Schema").optional<import("effect/Schema").String>;
528
+ readonly fromSequence: import("effect/Schema").optional<import("effect/Schema").String>;
529
+ readonly limit: import("effect/Schema").optional<import("effect/Schema").String>;
617
530
  }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
618
- readonly files: import("effect/Schema").$Array<import("effect/Schema").Struct<{
619
- readonly path: import("effect/Schema").String;
620
- readonly change: import("effect/Schema").Literals<readonly ["added", "modified", "deleted", "renamed"]>;
621
- readonly oldPath: import("effect/Schema").optional<import("effect/Schema").String>;
622
- }>>;
623
- readonly diff: import("effect/Schema").String;
624
- readonly available: import("effect/Schema").optional<import("effect/Schema").Boolean>;
625
- readonly unavailableReason: import("effect/Schema").optional<import("effect/Schema").String>;
626
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./runs.js").RunNotFoundError | typeof import("./runs.js").RunInternalServerError>, RequestRefusal, never>, false> | import("effect/unstable/httpapi/HttpApiGroup").HttpApiGroup<"sessions", import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"createSession", "POST", "/v1/sessions/", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
627
- readonly workspaceId: import("effect/Schema").String;
628
- readonly ownerUserId: import("effect/Schema").String;
629
- readonly argv: import("effect/Schema").$Array<import("effect/Schema").String>;
630
- readonly cwd: import("effect/Schema").optional<import("effect/Schema").String>;
631
- readonly env: import("effect/Schema").optional<import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").String>>;
632
- readonly cols: import("effect/Schema").optional<import("effect/Schema").Int>;
633
- readonly rows: import("effect/Schema").optional<import("effect/Schema").Int>;
634
- readonly term: import("effect/Schema").optional<import("effect/Schema").String>;
635
- readonly mode: import("effect/Schema").optional<import("effect/Schema").Literals<readonly ["pty", "pipe"]>>;
531
+ readonly processId: import("effect/Schema").String;
532
+ readonly stream: import("effect/Schema").Literals<readonly ["stdout", "stderr", "pty"]>;
533
+ readonly byteCount: import("effect/Schema").Number;
534
+ readonly contentBase64: import("effect/Schema").String;
535
+ }>>, 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<"getRunTimeline", "GET", "/v1/runs/:runId/timeline", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
536
+ readonly runId: import("effect/Schema").String;
537
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
538
+ readonly ownerUserId: import("effect/Schema").optional<import("effect/Schema").String>;
539
+ readonly fromSequence: import("effect/Schema").optional<import("effect/Schema").String>;
540
+ readonly toSequence: import("effect/Schema").optional<import("effect/Schema").String>;
541
+ readonly limit: import("effect/Schema").optional<import("effect/Schema").String>;
542
+ readonly kinds: import("effect/Schema").optional<import("effect/Schema").String>;
543
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
544
+ readonly items: import("effect/Schema").$Array<import("effect/Schema").Struct<{
545
+ readonly eventId: import("effect/Schema").String;
546
+ readonly sequence: import("effect/Schema").String;
547
+ readonly kind: import("effect/Schema").String;
548
+ readonly occurredAt: import("effect/Schema").String;
549
+ readonly summary: import("effect/Schema").String;
550
+ readonly ref: import("effect/Schema").optional<import("effect/Schema").Unknown>;
551
+ readonly processId: import("effect/Schema").optional<import("effect/Schema").String>;
552
+ readonly captureMethod: import("effect/Schema").Number;
553
+ readonly confidence: import("effect/Schema").Number;
554
+ }>>;
555
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./runs.js").RunBadRequestError | typeof import("./runs.js").RunNotFoundError | typeof import("./runs.js").RunInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"listRuns", "GET", "/v1/runs/", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
556
+ readonly workspaceId: import("effect/Schema").optional<import("effect/Schema").String>;
557
+ readonly ownerUserId: import("effect/Schema").optional<import("effect/Schema").String>;
558
+ readonly status: import("effect/Schema").optional<import("effect/Schema").Literals<readonly ["queued", "running", "completed", "failed", "cancelled"]>>;
559
+ readonly limit: import("effect/Schema").optional<import("effect/Schema").String>;
560
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
561
+ readonly items: import("effect/Schema").$Array<import("effect/Schema").Struct<{
562
+ readonly runId: import("effect/Schema").String;
563
+ readonly workspaceId: import("effect/Schema").String;
564
+ readonly attemptId: import("effect/Schema").optional<import("effect/Schema").String>;
565
+ readonly ownerUserId: import("effect/Schema").String;
566
+ readonly harnessId: import("effect/Schema").String;
567
+ readonly mode: import("effect/Schema").Literals<readonly ["one-shot", "interactive"]>;
568
+ readonly status: import("effect/Schema").Literals<readonly ["queued", "running", "completed", "failed", "cancelled"]>;
569
+ readonly prompt: import("effect/Schema").optional<import("effect/Schema").String>;
570
+ readonly command: import("effect/Schema").optional<import("effect/Schema").Struct<{
571
+ readonly executable: import("effect/Schema").String;
572
+ readonly args: import("effect/Schema").$Array<import("effect/Schema").String>;
573
+ readonly cwd: import("effect/Schema").optional<import("effect/Schema").String>;
574
+ readonly argCount: import("effect/Schema").optional<import("effect/Schema").Number>;
575
+ readonly argLengths: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").Number>>;
576
+ }>>;
577
+ readonly metadata: import("effect/Schema").optional<import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").Unknown>>;
578
+ readonly user: import("effect/Schema").optional<import("effect/Schema").String>;
579
+ readonly exitCode: import("effect/Schema").optional<import("effect/Schema").Number>;
580
+ readonly errorMessage: import("effect/Schema").optional<import("effect/Schema").String>;
581
+ readonly startedAt: import("effect/Schema").optional<import("effect/Schema").String>;
582
+ readonly finishedAt: import("effect/Schema").optional<import("effect/Schema").String>;
583
+ readonly recordDeletedAt: import("effect/Schema").optional<import("effect/Schema").String>;
584
+ readonly createdAt: import("effect/Schema").String;
585
+ readonly updatedAt: import("effect/Schema").String;
586
+ }>>;
587
+ }>>, 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<{
588
+ readonly runId: import("effect/Schema").String;
589
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
590
+ readonly ownerUserId: import("effect/Schema").optional<import("effect/Schema").String>;
591
+ readonly status: import("effect/Schema").optional<import("effect/Schema").Literals<readonly ["queued", "running", "completed", "failed", "cancelled"]>>;
592
+ readonly exitCode: import("effect/Schema").optional<import("effect/Schema").Number>;
593
+ readonly errorMessage: import("effect/Schema").optional<import("effect/Schema").String>;
594
+ readonly diff: import("effect/Schema").optional<import("effect/Schema").String>;
595
+ readonly changedFiles: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").Struct<{
596
+ readonly path: import("effect/Schema").String;
597
+ readonly change: import("effect/Schema").Literals<readonly ["added", "modified", "deleted", "renamed"]>;
598
+ readonly oldPath: import("effect/Schema").optional<import("effect/Schema").String>;
599
+ }>>>;
600
+ readonly changesReadFailed: import("effect/Schema").optional<import("effect/Schema").Boolean>;
601
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
602
+ 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
+ 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
+ }>>;
636
617
  readonly metadata: import("effect/Schema").optional<import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").Unknown>>;
637
618
  readonly user: import("effect/Schema").optional<import("effect/Schema").String>;
619
+ readonly exitCode: import("effect/Schema").optional<import("effect/Schema").Number>;
620
+ 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>;
624
+ readonly createdAt: import("effect/Schema").String;
625
+ readonly updatedAt: 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<"closeSession", "POST", "/v1/sessions/:sessionId/close", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
627
+ readonly sessionId: import("effect/Schema").String;
628
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
629
+ readonly ownerUserId: import("effect/Schema").optional<import("effect/Schema").String>;
638
630
  }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
639
631
  readonly authorization: import("effect/Schema").optional<import("effect/Schema").String>;
640
632
  }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
@@ -657,7 +649,7 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
657
649
  readonly outputHighWater: import("effect/Schema").String;
658
650
  readonly createdAt: import("effect/Schema").String;
659
651
  readonly endedAt: import("effect/Schema").optional<import("effect/Schema").String>;
660
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./sessions.js").SessionBadRequestError | typeof import("./sessions.js").SessionUnauthorizedError | typeof import("./sessions.js").SessionForbiddenError | typeof import("./sessions.js").SessionNotFoundError | typeof import("./sessions.js").SessionConflictError | typeof import("./sessions.js").SessionBadGatewayError | typeof import("./sessions.js").SessionInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"createSessionAsUser", "POST", "/v1/sessions/as-user", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
652
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./sessions.js").SessionBadRequestError | typeof import("./sessions.js").SessionUnauthorizedError | typeof import("./sessions.js").SessionForbiddenError | typeof import("./sessions.js").SessionNotFoundError | typeof import("./sessions.js").SessionBadGatewayError | typeof import("./sessions.js").SessionInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"createSession", "POST", "/v1/sessions/", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
661
653
  readonly workspaceId: import("effect/Schema").String;
662
654
  readonly ownerUserId: import("effect/Schema").String;
663
655
  readonly argv: import("effect/Schema").$Array<import("effect/Schema").String>;
@@ -668,7 +660,7 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
668
660
  readonly term: import("effect/Schema").optional<import("effect/Schema").String>;
669
661
  readonly mode: import("effect/Schema").optional<import("effect/Schema").Literals<readonly ["pty", "pipe"]>>;
670
662
  readonly metadata: import("effect/Schema").optional<import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").Unknown>>;
671
- readonly user: import("effect/Schema").String;
663
+ readonly user: import("effect/Schema").optional<import("effect/Schema").String>;
672
664
  }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
673
665
  readonly authorization: import("effect/Schema").optional<import("effect/Schema").String>;
674
666
  }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
@@ -691,38 +683,18 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
691
683
  readonly outputHighWater: import("effect/Schema").String;
692
684
  readonly createdAt: import("effect/Schema").String;
693
685
  readonly endedAt: import("effect/Schema").optional<import("effect/Schema").String>;
694
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./sessions.js").SessionBadRequestError | typeof import("./sessions.js").SessionUnauthorizedError | typeof import("./sessions.js").SessionForbiddenError | typeof import("./sessions.js").SessionNotFoundError | typeof import("./sessions.js").SessionConflictError | typeof import("./sessions.js").SessionBadGatewayError | typeof import("./sessions.js").SessionInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"sendSessionInput", "POST", "/v1/sessions/:sessionId/input", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
695
- readonly sessionId: import("effect/Schema").String;
696
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
697
- readonly ownerUserId: import("effect/Schema").optional<import("effect/Schema").String>;
698
- readonly dataBase64: import("effect/Schema").String;
699
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
700
- readonly authorization: import("effect/Schema").optional<import("effect/Schema").String>;
701
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
702
- readonly ok: import("effect/Schema").Boolean;
703
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./sessions.js").SessionBadRequestError | typeof import("./sessions.js").SessionUnauthorizedError | typeof import("./sessions.js").SessionForbiddenError | typeof import("./sessions.js").SessionNotFoundError | typeof import("./sessions.js").SessionConflictError | typeof import("./sessions.js").SessionBadGatewayError | typeof import("./sessions.js").SessionInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"resizeSession", "POST", "/v1/sessions/:sessionId/resize", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
704
- readonly sessionId: import("effect/Schema").String;
705
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
706
- readonly ownerUserId: import("effect/Schema").optional<import("effect/Schema").String>;
707
- readonly cols: import("effect/Schema").Int;
708
- readonly rows: import("effect/Schema").Int;
709
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
710
- readonly authorization: import("effect/Schema").optional<import("effect/Schema").String>;
711
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
712
- readonly ok: import("effect/Schema").Boolean;
713
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./sessions.js").SessionBadRequestError | typeof import("./sessions.js").SessionUnauthorizedError | typeof import("./sessions.js").SessionForbiddenError | typeof import("./sessions.js").SessionNotFoundError | typeof import("./sessions.js").SessionConflictError | typeof import("./sessions.js").SessionBadGatewayError | typeof import("./sessions.js").SessionInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"signalSession", "POST", "/v1/sessions/:sessionId/signal", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
714
- readonly sessionId: import("effect/Schema").String;
715
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
716
- readonly ownerUserId: import("effect/Schema").optional<import("effect/Schema").String>;
717
- readonly signal: import("effect/Schema").Int;
718
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
719
- readonly authorization: import("effect/Schema").optional<import("effect/Schema").String>;
720
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
721
- readonly ok: import("effect/Schema").Boolean;
722
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./sessions.js").SessionBadRequestError | typeof import("./sessions.js").SessionUnauthorizedError | typeof import("./sessions.js").SessionForbiddenError | typeof import("./sessions.js").SessionNotFoundError | typeof import("./sessions.js").SessionConflictError | typeof import("./sessions.js").SessionBadGatewayError | typeof import("./sessions.js").SessionInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"closeSession", "POST", "/v1/sessions/:sessionId/close", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
723
- readonly sessionId: import("effect/Schema").String;
724
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
725
- readonly ownerUserId: import("effect/Schema").optional<import("effect/Schema").String>;
686
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./sessions.js").SessionBadRequestError | typeof import("./sessions.js").SessionUnauthorizedError | typeof import("./sessions.js").SessionForbiddenError | typeof import("./sessions.js").SessionNotFoundError | typeof import("./sessions.js").SessionConflictError | typeof import("./sessions.js").SessionBadGatewayError | typeof import("./sessions.js").SessionInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"createSessionAsUser", "POST", "/v1/sessions/as-user", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
687
+ readonly workspaceId: import("effect/Schema").String;
688
+ readonly ownerUserId: import("effect/Schema").String;
689
+ readonly argv: import("effect/Schema").$Array<import("effect/Schema").String>;
690
+ readonly cwd: import("effect/Schema").optional<import("effect/Schema").String>;
691
+ readonly env: import("effect/Schema").optional<import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").String>>;
692
+ readonly cols: import("effect/Schema").optional<import("effect/Schema").Int>;
693
+ readonly rows: import("effect/Schema").optional<import("effect/Schema").Int>;
694
+ readonly term: import("effect/Schema").optional<import("effect/Schema").String>;
695
+ readonly mode: import("effect/Schema").optional<import("effect/Schema").Literals<readonly ["pty", "pipe"]>>;
696
+ readonly metadata: import("effect/Schema").optional<import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").Unknown>>;
697
+ readonly user: import("effect/Schema").String;
726
698
  }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
727
699
  readonly authorization: import("effect/Schema").optional<import("effect/Schema").String>;
728
700
  }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
@@ -745,7 +717,7 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
745
717
  readonly outputHighWater: import("effect/Schema").String;
746
718
  readonly createdAt: import("effect/Schema").String;
747
719
  readonly endedAt: import("effect/Schema").optional<import("effect/Schema").String>;
748
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./sessions.js").SessionBadRequestError | typeof import("./sessions.js").SessionUnauthorizedError | typeof import("./sessions.js").SessionForbiddenError | typeof import("./sessions.js").SessionNotFoundError | typeof import("./sessions.js").SessionBadGatewayError | typeof import("./sessions.js").SessionInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"getSession", "GET", "/v1/sessions/:sessionId", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
720
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./sessions.js").SessionBadRequestError | typeof import("./sessions.js").SessionUnauthorizedError | typeof import("./sessions.js").SessionForbiddenError | typeof import("./sessions.js").SessionNotFoundError | typeof import("./sessions.js").SessionConflictError | typeof import("./sessions.js").SessionBadGatewayError | typeof import("./sessions.js").SessionInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"getSession", "GET", "/v1/sessions/:sessionId", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
749
721
  readonly sessionId: import("effect/Schema").String;
750
722
  }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
751
723
  readonly ownerUserId: import("effect/Schema").optional<import("effect/Schema").String>;
@@ -771,6 +743,22 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
771
743
  readonly outputHighWater: import("effect/Schema").String;
772
744
  readonly createdAt: import("effect/Schema").String;
773
745
  readonly endedAt: import("effect/Schema").optional<import("effect/Schema").String>;
746
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./sessions.js").SessionBadRequestError | typeof import("./sessions.js").SessionUnauthorizedError | typeof import("./sessions.js").SessionForbiddenError | typeof import("./sessions.js").SessionNotFoundError | typeof import("./sessions.js").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<{
747
+ readonly sessionId: import("effect/Schema").String;
748
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
749
+ readonly ownerUserId: import("effect/Schema").optional<import("effect/Schema").String>;
750
+ readonly from: import("effect/Schema").optional<import("effect/Schema").String>;
751
+ readonly limit: import("effect/Schema").optional<import("effect/Schema").String>;
752
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
753
+ readonly authorization: import("effect/Schema").optional<import("effect/Schema").String>;
754
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
755
+ readonly sessionId: import("effect/Schema").String;
756
+ readonly chunks: import("effect/Schema").$Array<import("effect/Schema").Struct<{
757
+ readonly sequence: import("effect/Schema").String;
758
+ readonly dataBase64: import("effect/Schema").String;
759
+ }>>;
760
+ readonly nextFrom: import("effect/Schema").String;
761
+ readonly status: import("effect/Schema").Literals<readonly ["starting", "running", "exited", "failed"]>;
774
762
  }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./sessions.js").SessionBadRequestError | typeof import("./sessions.js").SessionUnauthorizedError | typeof import("./sessions.js").SessionForbiddenError | typeof import("./sessions.js").SessionNotFoundError | typeof import("./sessions.js").SessionInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"listSessions", "GET", "/v1/sessions/", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
775
763
  readonly ownerUserId: import("effect/Schema").String;
776
764
  readonly workspaceId: import("effect/Schema").optional<import("effect/Schema").String>;
@@ -800,23 +788,35 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
800
788
  readonly createdAt: import("effect/Schema").String;
801
789
  readonly endedAt: import("effect/Schema").optional<import("effect/Schema").String>;
802
790
  }>>;
803
- }>>, 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").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<{
791
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./sessions.js").SessionBadRequestError | typeof import("./sessions.js").SessionUnauthorizedError | typeof import("./sessions.js").SessionForbiddenError | typeof import("./sessions.js").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<{
804
792
  readonly sessionId: import("effect/Schema").String;
793
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
794
+ readonly ownerUserId: import("effect/Schema").optional<import("effect/Schema").String>;
795
+ readonly cols: import("effect/Schema").Int;
796
+ readonly rows: import("effect/Schema").Int;
805
797
  }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
798
+ readonly authorization: import("effect/Schema").optional<import("effect/Schema").String>;
799
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
800
+ readonly ok: import("effect/Schema").Boolean;
801
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./sessions.js").SessionBadRequestError | typeof import("./sessions.js").SessionUnauthorizedError | typeof import("./sessions.js").SessionForbiddenError | typeof import("./sessions.js").SessionNotFoundError | typeof import("./sessions.js").SessionConflictError | typeof import("./sessions.js").SessionBadGatewayError | typeof import("./sessions.js").SessionInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"sendSessionInput", "POST", "/v1/sessions/:sessionId/input", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
802
+ readonly sessionId: import("effect/Schema").String;
803
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
806
804
  readonly ownerUserId: import("effect/Schema").optional<import("effect/Schema").String>;
807
- readonly from: import("effect/Schema").optional<import("effect/Schema").String>;
808
- readonly limit: import("effect/Schema").optional<import("effect/Schema").String>;
809
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
805
+ readonly dataBase64: import("effect/Schema").String;
806
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
810
807
  readonly authorization: import("effect/Schema").optional<import("effect/Schema").String>;
811
808
  }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
809
+ readonly ok: import("effect/Schema").Boolean;
810
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./sessions.js").SessionBadRequestError | typeof import("./sessions.js").SessionUnauthorizedError | typeof import("./sessions.js").SessionForbiddenError | typeof import("./sessions.js").SessionNotFoundError | typeof import("./sessions.js").SessionConflictError | typeof import("./sessions.js").SessionBadGatewayError | typeof import("./sessions.js").SessionInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"signalSession", "POST", "/v1/sessions/:sessionId/signal", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
812
811
  readonly sessionId: import("effect/Schema").String;
813
- readonly chunks: import("effect/Schema").$Array<import("effect/Schema").Struct<{
814
- readonly sequence: import("effect/Schema").String;
815
- readonly dataBase64: import("effect/Schema").String;
816
- }>>;
817
- readonly nextFrom: import("effect/Schema").String;
818
- readonly status: import("effect/Schema").Literals<readonly ["starting", "running", "exited", "failed"]>;
819
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./sessions.js").SessionBadRequestError | typeof import("./sessions.js").SessionUnauthorizedError | typeof import("./sessions.js").SessionForbiddenError | typeof import("./sessions.js").SessionNotFoundError | typeof import("./sessions.js").SessionInternalServerError>, RequestRefusal, never>, false> | import("effect/unstable/httpapi/HttpApiGroup").HttpApiGroup<"sshKeys", import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"archiveSshKey", "DELETE", "/v1/ssh-keys/:sshKeyId", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
812
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
813
+ readonly ownerUserId: import("effect/Schema").optional<import("effect/Schema").String>;
814
+ readonly signal: import("effect/Schema").Int;
815
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
816
+ readonly authorization: import("effect/Schema").optional<import("effect/Schema").String>;
817
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
818
+ readonly ok: import("effect/Schema").Boolean;
819
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./sessions.js").SessionBadRequestError | typeof import("./sessions.js").SessionUnauthorizedError | typeof import("./sessions.js").SessionForbiddenError | typeof import("./sessions.js").SessionNotFoundError | typeof import("./sessions.js").SessionConflictError | typeof import("./sessions.js").SessionBadGatewayError | typeof import("./sessions.js").SessionInternalServerError>, RequestRefusal, never>, false> | import("effect/unstable/httpapi/HttpApiGroup").HttpApiGroup<"sshKeys", import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"archiveSshKey", "DELETE", "/v1/ssh-keys/:sshKeyId", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
820
820
  readonly sshKeyId: import("effect/Schema").String;
821
821
  }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
822
822
  readonly ownerUserId: import("effect/Schema").String;
@@ -838,16 +838,7 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
838
838
  readonly algorithm: import("effect/Schema").String;
839
839
  readonly fingerprint: import("effect/Schema").String;
840
840
  readonly createdAt: import("effect/Schema").String;
841
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./ssh-keys.js").SshKeyBadRequestError | typeof import("./ssh-keys.js").SshKeyNotFoundError | typeof import("./ssh-keys.js").SshKeyConflictError | typeof import("./ssh-keys.js").SshKeyInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"resolveSshPrincipal", "POST", "/v1/ssh-keys/resolve-principal", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
842
- readonly algo: import("effect/Schema").String;
843
- readonly publicKeyBase64: import("effect/Schema").String;
844
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
845
- readonly "x-sealant-gateway-token": import("effect/Schema").optional<import("effect/Schema").String>;
846
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
847
- readonly principalId: import("effect/Schema").String;
848
- readonly sshKeyId: import("effect/Schema").String;
849
- readonly fingerprint: import("effect/Schema").String;
850
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./ssh-keys.js").SshKeyUnauthorizedError | typeof import("./ssh-keys.js").SshKeyNotFoundError | typeof import("./ssh-keys.js").SshKeyServiceUnavailableError | typeof import("./ssh-keys.js").SshKeyInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"listSshKeys", "GET", "/v1/ssh-keys/", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
841
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./ssh-keys.js").SshKeyBadRequestError | typeof import("./ssh-keys.js").SshKeyNotFoundError | typeof import("./ssh-keys.js").SshKeyConflictError | typeof import("./ssh-keys.js").SshKeyInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"listSshKeys", "GET", "/v1/ssh-keys/", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
851
842
  readonly ownerUserId: import("effect/Schema").String;
852
843
  }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
853
844
  readonly items: import("effect/Schema").$Array<import("effect/Schema").Struct<{
@@ -858,7 +849,16 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
858
849
  readonly fingerprint: import("effect/Schema").String;
859
850
  readonly createdAt: import("effect/Schema").String;
860
851
  }>>;
861
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./ssh-keys.js").SshKeyInternalServerError>, RequestRefusal, never>, false> | import("effect/unstable/httpapi/HttpApiGroup").HttpApiGroup<"system", import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"getIndex", "GET", "/", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
852
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./ssh-keys.js").SshKeyInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"resolveSshPrincipal", "POST", "/v1/ssh-keys/resolve-principal", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
853
+ readonly algo: import("effect/Schema").String;
854
+ readonly publicKeyBase64: import("effect/Schema").String;
855
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
856
+ readonly "x-sealant-gateway-token": import("effect/Schema").optional<import("effect/Schema").String>;
857
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
858
+ readonly principalId: import("effect/Schema").String;
859
+ readonly sshKeyId: import("effect/Schema").String;
860
+ readonly fingerprint: import("effect/Schema").String;
861
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./ssh-keys.js").SshKeyUnauthorizedError | typeof import("./ssh-keys.js").SshKeyNotFoundError | typeof import("./ssh-keys.js").SshKeyServiceUnavailableError | typeof import("./ssh-keys.js").SshKeyInternalServerError>, RequestRefusal, never>, false> | import("effect/unstable/httpapi/HttpApiGroup").HttpApiGroup<"system", import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"getIndex", "GET", "/", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
862
862
  readonly name: import("effect/Schema").String;
863
863
  readonly version: import("effect/Schema").String;
864
864
  readonly docsPath: import("effect/Schema").String;
@@ -874,10 +874,6 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
874
874
  readonly personBinding: import("effect/Schema").optional<import("effect/Schema").Boolean>;
875
875
  readonly sshKeyRemovalEndsConnections: import("effect/Schema").optional<import("effect/Schema").Boolean>;
876
876
  }>>;
877
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<never>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"health", "GET", "/healthz", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
878
- readonly status: import("effect/Schema").Literal<"ok">;
879
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<never>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"ready", "GET", "/readyz", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
880
- readonly status: import("effect/Schema").Literal<"ok">;
881
877
  }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<never>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"getSetupState", "GET", "/v1/system/setup-state", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
882
878
  readonly needsSetup: import("effect/Schema").Boolean;
883
879
  readonly sshGateway: import("effect/Schema").NullOr<import("effect/Schema").Struct<{
@@ -885,17 +881,11 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
885
881
  readonly port: import("effect/Schema").Number;
886
882
  readonly usernamePrefix: import("effect/Schema").String;
887
883
  }>>;
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<{
889
- readonly email: import("effect/Schema").String;
890
- readonly name: import("effect/Schema").String;
891
- readonly userId: import("effect/Schema").optional<import("effect/Schema").String>;
892
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
893
- readonly userId: import("effect/Schema").String;
894
- readonly email: import("effect/Schema").String;
895
- readonly name: import("effect/Schema").String;
896
- readonly createdAt: import("effect/Schema").String;
897
- readonly created: import("effect/Schema").Boolean;
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<"bindUserPerson", "POST", "/v1/users/:userId/person", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
884
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./system.js").SystemInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"health", "GET", "/healthz", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
885
+ readonly status: import("effect/Schema").Literal<"ok">;
886
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<never>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"ready", "GET", "/readyz", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
887
+ readonly status: import("effect/Schema").Literal<"ok">;
888
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<never>, RequestRefusal, never>, false> | import("effect/unstable/httpapi/HttpApiGroup").HttpApiGroup<"users", import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"bindUserPerson", "POST", "/v1/users/:userId/person", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
899
889
  readonly userId: import("effect/Schema").String;
900
890
  }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
901
891
  readonly id: import("effect/Schema").String;
@@ -909,28 +899,95 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
909
899
  readonly home: import("effect/Schema").String;
910
900
  }>;
911
901
  readonly created: import("effect/Schema").Boolean;
912
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./users.js").UserPersonConflictError | typeof import("./users.js").UserBadRequestError | typeof import("./users.js").UserNotFoundError | typeof import("./users.js").UserInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"getUser", "GET", "/v1/users/:userId", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
902
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./users.js").UserPersonConflictError | typeof import("./users.js").UserBadRequestError | typeof import("./users.js").UserNotFoundError | typeof import("./users.js").UserInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"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<{
903
+ readonly email: import("effect/Schema").String;
904
+ readonly name: import("effect/Schema").String;
905
+ readonly userId: import("effect/Schema").optional<import("effect/Schema").String>;
906
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
907
+ readonly userId: import("effect/Schema").String;
908
+ readonly email: import("effect/Schema").String;
909
+ readonly name: import("effect/Schema").String;
910
+ readonly createdAt: import("effect/Schema").String;
911
+ readonly created: import("effect/Schema").Boolean;
912
+ }>>, 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<{
913
913
  readonly userId: import("effect/Schema").String;
914
914
  }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
915
915
  readonly userId: import("effect/Schema").String;
916
916
  readonly email: import("effect/Schema").String;
917
917
  readonly name: import("effect/Schema").String;
918
918
  readonly createdAt: import("effect/Schema").String;
919
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./users.js").UserNotFoundError | typeof import("./users.js").UserInternalServerError>, RequestRefusal, never>, false> | import("effect/unstable/httpapi/HttpApiGroup").HttpApiGroup<"workspaces", import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"releaseWorkspaceCredentials", "DELETE", "/v1/workspaces/:workspaceId/credentials", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
919
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./users.js").UserNotFoundError | typeof import("./users.js").UserInternalServerError>, RequestRefusal, never>, false> | import("effect/unstable/httpapi/HttpApiGroup").HttpApiGroup<"workspaces", import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"applyWorkspaceDotfiles", "POST", "/v1/workspaces/:workspaceId/dotfiles", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
920
920
  readonly workspaceId: import("effect/Schema").String;
921
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
921
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
922
922
  readonly ownerUserId: import("effect/Schema").String;
923
+ readonly onBehalfOfUserId: import("effect/Schema").String;
924
+ readonly user: import("effect/Schema").String;
923
925
  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 repository: import("effect/Schema").optional<import("effect/Schema").Struct<{
927
+ readonly url: import("effect/Schema").String;
928
+ readonly ref: import("effect/Schema").optional<import("effect/Schema").String>;
929
+ readonly manager: import("effect/Schema").optional<import("effect/Schema").Literals<readonly ["auto", "chezmoi", "stow", "copy"]>>;
930
+ readonly bootstrap: import("effect/Schema").optional<import("effect/Schema").Boolean>;
931
+ readonly bootstrapCommand: import("effect/Schema").optional<import("effect/Schema").String>;
932
+ }>>;
933
+ readonly archives: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").Struct<{
934
+ readonly data: import("effect/Schema").String;
935
+ readonly manager: import("effect/Schema").optional<import("effect/Schema").Literals<readonly ["auto", "chezmoi", "stow", "copy"]>>;
936
+ readonly target: import("effect/Schema").optional<import("effect/Schema").Literals<readonly ["home", "config"]>>;
937
+ readonly bootstrap: import("effect/Schema").optional<import("effect/Schema").Boolean>;
938
+ readonly bootstrapCommand: import("effect/Schema").optional<import("effect/Schema").String>;
939
+ }>>>;
940
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
926
941
  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
942
  readonly workspaceId: import("effect/Schema").String;
931
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
932
- readonly ownerUserId: import("effect/Schema").optional<import("effect/Schema").String>;
933
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
943
+ readonly attemptId: import("effect/Schema").optional<import("effect/Schema").String>;
944
+ readonly ownerUserId: import("effect/Schema").String;
945
+ readonly harnessId: import("effect/Schema").String;
946
+ readonly mode: import("effect/Schema").Literals<readonly ["one-shot", "interactive"]>;
947
+ readonly status: import("effect/Schema").Literals<readonly ["queued", "running", "completed", "failed", "cancelled"]>;
948
+ readonly prompt: import("effect/Schema").optional<import("effect/Schema").String>;
949
+ readonly command: import("effect/Schema").optional<import("effect/Schema").Struct<{
950
+ readonly executable: import("effect/Schema").String;
951
+ readonly args: import("effect/Schema").$Array<import("effect/Schema").String>;
952
+ readonly cwd: import("effect/Schema").optional<import("effect/Schema").String>;
953
+ readonly argCount: import("effect/Schema").optional<import("effect/Schema").Number>;
954
+ readonly argLengths: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").Number>>;
955
+ }>>;
956
+ readonly metadata: import("effect/Schema").optional<import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").Unknown>>;
957
+ readonly user: import("effect/Schema").optional<import("effect/Schema").String>;
958
+ readonly exitCode: import("effect/Schema").optional<import("effect/Schema").Number>;
959
+ readonly errorMessage: import("effect/Schema").optional<import("effect/Schema").String>;
960
+ readonly startedAt: import("effect/Schema").optional<import("effect/Schema").String>;
961
+ readonly finishedAt: import("effect/Schema").optional<import("effect/Schema").String>;
962
+ readonly recordDeletedAt: import("effect/Schema").optional<import("effect/Schema").String>;
963
+ readonly createdAt: import("effect/Schema").String;
964
+ readonly updatedAt: import("effect/Schema").String;
965
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./workspaces.js").WorkspaceBadRequestError | typeof import("./workspaces.js").WorkspaceForbiddenError | typeof import("./workspaces.js").WorkspaceNotFoundError | typeof import("./workspaces.js").WorkspaceConflictError | typeof import("./workspaces.js").WorkspaceBadGatewayError | typeof import("./workspaces.js").WorkspaceServiceUnavailableError | typeof import("./workspaces.js").WorkspaceInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"bindWorkspace", "POST", "/v1/workspaces/:workspaceId/bind", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
966
+ readonly workspaceId: import("effect/Schema").String;
967
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
968
+ readonly ownerUserId: import("effect/Schema").String;
969
+ readonly mountPath: import("effect/Schema").optional<import("effect/Schema").String>;
970
+ readonly subpath: import("effect/Schema").String;
971
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
972
+ readonly binds: import("effect/Schema").$Array<import("effect/Schema").Struct<{
973
+ readonly mountPath: import("effect/Schema").String;
974
+ readonly subpath: import("effect/Schema").String;
975
+ }>>;
976
+ }>>, 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<"cancelWorkspaceCreate", "POST", "/v1/workspaces/idempotency-keys/:idempotencyKey/cancel", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
977
+ readonly idempotencyKey: import("effect/Schema").String;
978
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
979
+ readonly ownerUserId: import("effect/Schema").String;
980
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
981
+ readonly idempotencyKey: import("effect/Schema").String;
982
+ readonly state: import("effect/Schema").Literals<readonly ["pending", "found", "cancelled", "none"]>;
983
+ readonly workspaceId: import("effect/Schema").optional<import("effect/Schema").String>;
984
+ readonly runId: import("effect/Schema").optional<import("effect/Schema").String>;
985
+ readonly launchId: import("effect/Schema").optional<import("effect/Schema").String>;
986
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./workspaces.js").WorkspaceBadRequestError | 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<{
987
+ readonly workspaceId: import("effect/Schema").String;
988
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
989
+ readonly ownerUserId: import("effect/Schema").optional<import("effect/Schema").String>;
990
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
934
991
  readonly workspaceId: import("effect/Schema").String;
935
992
  readonly sshUser: import("effect/Schema").Null;
936
993
  }>>, 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<{
@@ -1056,64 +1113,15 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
1056
1113
  readonly recordDeletedAt: import("effect/Schema").optional<import("effect/Schema").String>;
1057
1114
  readonly createdAt: import("effect/Schema").String;
1058
1115
  readonly updatedAt: import("effect/Schema").String;
1059
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./workspaces.js").WorkspaceBadRequestError | typeof import("./workspaces.js").WorkspaceNotFoundError | typeof import("./workspaces.js").WorkspaceConflictError | typeof import("./workspaces.js").WorkspaceBadGatewayError | typeof import("./workspaces.js").WorkspaceInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"applyWorkspaceDotfiles", "POST", "/v1/workspaces/:workspaceId/dotfiles", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
1116
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./workspaces.js").WorkspaceBadRequestError | typeof import("./workspaces.js").WorkspaceNotFoundError | typeof import("./workspaces.js").WorkspaceConflictError | typeof import("./workspaces.js").WorkspaceBadGatewayError | typeof import("./workspaces.js").WorkspaceInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"expireWorkspace", "POST", "/v1/workspaces/:workspaceId/expire", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
1060
1117
  readonly workspaceId: import("effect/Schema").String;
1061
1118
  }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
1062
1119
  readonly ownerUserId: import("effect/Schema").String;
1063
- readonly onBehalfOfUserId: import("effect/Schema").String;
1064
- readonly user: import("effect/Schema").String;
1065
- readonly home: import("effect/Schema").String;
1066
- readonly repository: import("effect/Schema").optional<import("effect/Schema").Struct<{
1067
- readonly url: import("effect/Schema").String;
1068
- readonly ref: import("effect/Schema").optional<import("effect/Schema").String>;
1069
- readonly manager: import("effect/Schema").optional<import("effect/Schema").Literals<readonly ["auto", "chezmoi", "stow", "copy"]>>;
1070
- readonly bootstrap: import("effect/Schema").optional<import("effect/Schema").Boolean>;
1071
- readonly bootstrapCommand: import("effect/Schema").optional<import("effect/Schema").String>;
1072
- }>>;
1073
- readonly archives: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").Struct<{
1074
- readonly data: import("effect/Schema").String;
1075
- readonly manager: import("effect/Schema").optional<import("effect/Schema").Literals<readonly ["auto", "chezmoi", "stow", "copy"]>>;
1076
- readonly target: import("effect/Schema").optional<import("effect/Schema").Literals<readonly ["home", "config"]>>;
1077
- readonly bootstrap: import("effect/Schema").optional<import("effect/Schema").Boolean>;
1078
- readonly bootstrapCommand: import("effect/Schema").optional<import("effect/Schema").String>;
1079
- }>>>;
1120
+ readonly ttlSeconds: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").Int>>;
1080
1121
  }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
1081
- readonly runId: import("effect/Schema").String;
1082
- readonly workspaceId: import("effect/Schema").String;
1083
- readonly attemptId: import("effect/Schema").optional<import("effect/Schema").String>;
1084
- readonly ownerUserId: import("effect/Schema").String;
1085
- readonly harnessId: import("effect/Schema").String;
1086
- readonly mode: import("effect/Schema").Literals<readonly ["one-shot", "interactive"]>;
1087
- readonly status: import("effect/Schema").Literals<readonly ["queued", "running", "completed", "failed", "cancelled"]>;
1088
- readonly prompt: import("effect/Schema").optional<import("effect/Schema").String>;
1089
- readonly command: import("effect/Schema").optional<import("effect/Schema").Struct<{
1090
- readonly executable: import("effect/Schema").String;
1091
- readonly args: import("effect/Schema").$Array<import("effect/Schema").String>;
1092
- readonly cwd: import("effect/Schema").optional<import("effect/Schema").String>;
1093
- readonly argCount: import("effect/Schema").optional<import("effect/Schema").Number>;
1094
- readonly argLengths: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").Number>>;
1095
- }>>;
1096
- readonly metadata: import("effect/Schema").optional<import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").Unknown>>;
1097
- readonly user: import("effect/Schema").optional<import("effect/Schema").String>;
1098
- readonly exitCode: import("effect/Schema").optional<import("effect/Schema").Number>;
1099
- readonly errorMessage: import("effect/Schema").optional<import("effect/Schema").String>;
1100
- readonly startedAt: import("effect/Schema").optional<import("effect/Schema").String>;
1101
- readonly finishedAt: import("effect/Schema").optional<import("effect/Schema").String>;
1102
- readonly recordDeletedAt: import("effect/Schema").optional<import("effect/Schema").String>;
1103
- readonly createdAt: import("effect/Schema").String;
1104
- readonly updatedAt: import("effect/Schema").String;
1105
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./workspaces.js").WorkspaceBadRequestError | typeof import("./workspaces.js").WorkspaceForbiddenError | typeof import("./workspaces.js").WorkspaceNotFoundError | typeof import("./workspaces.js").WorkspaceConflictError | typeof import("./workspaces.js").WorkspaceBadGatewayError | typeof import("./workspaces.js").WorkspaceServiceUnavailableError | typeof import("./workspaces.js").WorkspaceInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"bindWorkspace", "POST", "/v1/workspaces/:workspaceId/bind", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
1106
1122
  readonly workspaceId: import("effect/Schema").String;
1107
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
1108
- readonly ownerUserId: import("effect/Schema").String;
1109
- readonly mountPath: import("effect/Schema").optional<import("effect/Schema").String>;
1110
- readonly subpath: import("effect/Schema").String;
1111
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
1112
- readonly binds: import("effect/Schema").$Array<import("effect/Schema").Struct<{
1113
- readonly mountPath: import("effect/Schema").String;
1114
- readonly subpath: import("effect/Schema").String;
1115
- }>>;
1116
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./workspaces.js").WorkspaceBadRequestError | typeof import("./workspaces.js").WorkspaceNotFoundError | typeof import("./workspaces.js").WorkspaceConflictError | typeof import("./workspaces.js").WorkspaceInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"flushWorkspaceCapture", "POST", "/v1/workspaces/:workspaceId/capture/flush", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
1123
+ readonly expiresAt: import("effect/Schema").NullOr<import("effect/Schema").String>;
1124
+ }>>, 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<"flushWorkspaceCapture", "POST", "/v1/workspaces/:workspaceId/capture/flush", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
1117
1125
  readonly workspaceId: import("effect/Schema").String;
1118
1126
  }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
1119
1127
  readonly ownerUserId: import("effect/Schema").String;
@@ -1170,87 +1178,28 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
1170
1178
  readonly boundMs: import("effect/Schema").Number;
1171
1179
  }>>;
1172
1180
  readonly ownerMap: import("effect/Schema").optional<import("effect/Schema").Boolean>;
1173
- }>>, 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<"replanWorkspaceCapture", "POST", "/v1/workspaces/:workspaceId/capture/replan", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
1174
- readonly workspaceId: import("effect/Schema").String;
1175
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
1176
- readonly ownerUserId: import("effect/Schema").String;
1177
- readonly expectedOwnerMap: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").Struct<{
1178
- readonly gid: import("effect/Schema").Number;
1179
- readonly worktreeUid: import("effect/Schema").Number;
1180
- readonly people: import("effect/Schema").$Array<import("effect/Schema").Struct<{
1181
- readonly id: import("effect/Schema").String;
1182
- readonly uid: import("effect/Schema").Number;
1183
- }>>;
1184
- }>>>;
1185
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
1186
- readonly worktreeId: import("effect/Schema").String;
1187
- readonly epoch: import("effect/Schema").Number;
1188
- readonly headN: import("effect/Schema").optional<import("effect/Schema").Number>;
1189
- readonly headCaptureId: import("effect/Schema").optional<import("effect/Schema").String>;
1190
- readonly filesWritten: import("effect/Schema").Number;
1191
- readonly bytesWritten: import("effect/Schema").Number;
1192
- readonly filesSkipped: import("effect/Schema").Number;
1193
- readonly bytesSkipped: import("effect/Schema").Number;
1194
- readonly removed: import("effect/Schema").Number;
1195
- readonly unchanged: import("effect/Schema").Boolean;
1196
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./workspaces.js").WorkspaceBadRequestError | typeof import("./workspaces.js").WorkspaceNotFoundError | typeof import("./workspaces.js").WorkspaceConflictError | typeof import("./workspaces.js").WorkspaceInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"renameWorkspace", "PATCH", "/v1/workspaces/:workspaceId/name", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
1181
+ }>>, 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<"getWorkspace", "GET", "/v1/workspaces/:workspaceId", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
1197
1182
  readonly workspaceId: import("effect/Schema").String;
1198
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
1199
- readonly name: import("effect/Schema").String;
1183
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
1200
1184
  readonly ownerUserId: import("effect/Schema").optional<import("effect/Schema").String>;
1201
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
1185
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
1202
1186
  readonly workspaceId: import("effect/Schema").String;
1203
1187
  readonly name: import("effect/Schema").String;
1204
- readonly updatedAt: import("effect/Schema").String;
1205
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./workspaces.js").WorkspaceNotFoundError | typeof import("./workspaces.js").WorkspaceInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"stopWorkspace", "POST", "/v1/workspaces/:workspaceId/stop", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
1206
- readonly workspaceId: import("effect/Schema").String;
1207
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
1208
1188
  readonly ownerUserId: import("effect/Schema").String;
1209
- readonly discardUnsaved: import("effect/Schema").optional<import("effect/Schema").Boolean>;
1210
- readonly completion: import("effect/Schema").optional<import("effect/Schema").Struct<{
1211
- readonly captureN: import("effect/Schema").Int;
1212
- readonly epoch: import("effect/Schema").Int;
1213
- readonly executorId: import("effect/Schema").String;
1214
- readonly launchId: import("effect/Schema").optional<import("effect/Schema").String>;
1215
- readonly sealedAt: import("effect/Schema").optional<import("effect/Schema").String>;
1216
- readonly origin: import("effect/Schema").optional<import("effect/Schema").Struct<{
1217
- readonly epoch: import("effect/Schema").Int;
1218
- readonly launch: import("effect/Schema").String;
1219
- readonly bootId: import("effect/Schema").String;
1220
- readonly bootGeneration: import("effect/Schema").Int;
1221
- readonly observation: import("effect/Schema").Int;
1222
- readonly headN: import("effect/Schema").optional<import("effect/Schema").Int>;
1223
- }>>;
1224
- }>>;
1225
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
1226
- readonly workspaceId: import("effect/Schema").String;
1227
1189
  readonly status: import("effect/Schema").Literals<readonly ["queued", "running", "ready", "failed", "cancelled", "stopped", "retained"]>;
1228
- readonly completion: import("effect/Schema").optional<import("effect/Schema").Struct<{
1229
- readonly outcome: import("effect/Schema").Literals<readonly ["accepted", "ignored"]>;
1230
- readonly detail: import("effect/Schema").optional<import("effect/Schema").String>;
1190
+ readonly registryId: import("effect/Schema").optional<import("effect/Schema").String>;
1191
+ readonly repository: import("effect/Schema").optional<import("effect/Schema").String>;
1192
+ readonly tag: import("effect/Schema").optional<import("effect/Schema").String>;
1193
+ readonly runtime: import("effect/Schema").optional<import("effect/Schema").Struct<{
1194
+ readonly adapter: import("effect/Schema").Literals<readonly ["docker", "k8s", "k3s", "cloudflare", "microvm"]>;
1195
+ readonly resourceId: import("effect/Schema").String;
1196
+ readonly reference: import("effect/Schema").String;
1197
+ readonly status: import("effect/Schema").Literals<readonly ["pending", "running", "ready", "failed", "stopped", "retained"]>;
1198
+ readonly endpoint: import("effect/Schema").optional<import("effect/Schema").String>;
1199
+ readonly deadline: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").String>>;
1200
+ readonly runId: import("effect/Schema").optional<import("effect/Schema").String>;
1201
+ readonly launchId: import("effect/Schema").optional<import("effect/Schema").String>;
1231
1202
  }>>;
1232
- }>>, 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<"recoverWorkspace", "POST", "/v1/workspaces/:workspaceId/recover", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
1233
- readonly workspaceId: import("effect/Schema").String;
1234
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
1235
- readonly ownerUserId: import("effect/Schema").String;
1236
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
1237
- readonly workspaceId: import("effect/Schema").String;
1238
- readonly state: import("effect/Schema").Literals<readonly ["requested", "not-retained"]>;
1239
- readonly recoverable: import("effect/Schema").optional<import("effect/Schema").Boolean>;
1240
- }>>, 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<"restartWorkspace", "POST", "/v1/workspaces/:workspaceId/restart", 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").Json<import("effect/Schema").Struct<{
1243
- readonly ownerUserId: import("effect/Schema").String;
1244
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
1245
- readonly workspaceId: import("effect/Schema").String;
1246
- readonly runId: import("effect/Schema").String;
1247
- readonly status: import("effect/Schema").Literals<readonly ["queued", "running", "ready", "failed", "cancelled", "stopped", "retained"]>;
1248
- }>>, 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<"inspectWorkspaceImage", "POST", "/v1/workspaces/image", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
1249
- readonly ownerUserId: import("effect/Schema").String;
1250
- readonly registryId: import("effect/Schema").String;
1251
- readonly spec: import("effect/Schema").Unknown;
1252
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
1253
- readonly planHash: import("effect/Schema").String;
1254
1203
  readonly publishedImage: import("effect/Schema").optional<import("effect/Schema").Struct<{
1255
1204
  readonly reference: import("effect/Schema").String;
1256
1205
  readonly digestReference: import("effect/Schema").String;
@@ -1263,82 +1212,72 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
1263
1212
  readonly acl: import("effect/Schema").Literals<readonly ["supported", "unsupported", "unknown"]>;
1264
1213
  }>>;
1265
1214
  }>>;
1266
- readonly personLayout: import("effect/Schema").Struct<{
1267
- readonly status: import("effect/Schema").Literals<readonly ["supported", "unsupported", "unknown"]>;
1268
- readonly missing: import("effect/Schema").$Array<import("effect/Schema").String>;
1269
- readonly unknown: import("effect/Schema").$Array<import("effect/Schema").String>;
1270
- readonly runtime: import("effect/Schema").String;
1271
- readonly acl: import("effect/Schema").Literals<readonly ["supported", "unsupported", "unknown"]>;
1272
- }>;
1273
- }>>, 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<"putWorkspaceCredentials", "POST", "/v1/workspaces/:workspaceId/credentials", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
1215
+ readonly processUser: import("effect/Schema").optional<import("effect/Schema").Literals<readonly ["supported", "unsupported", "unknown"]>>;
1216
+ readonly error: import("effect/Schema").optional<import("effect/Schema").Struct<{
1217
+ readonly message: import("effect/Schema").String;
1218
+ readonly code: import("effect/Schema").optional<import("effect/Schema").String>;
1219
+ }>>;
1220
+ readonly phase: import("effect/Schema").optional<import("effect/Schema").Struct<{
1221
+ readonly name: import("effect/Schema").Literals<readonly ["queued", "image-build", "boot"]>;
1222
+ readonly since: import("effect/Schema").optional<import("effect/Schema").String>;
1223
+ readonly imageBuild: import("effect/Schema").optional<import("effect/Schema").Struct<{
1224
+ readonly step: import("effect/Schema").optional<import("effect/Schema").Int>;
1225
+ readonly steps: import("effect/Schema").optional<import("effect/Schema").Int>;
1226
+ readonly stepName: import("effect/Schema").optional<import("effect/Schema").String>;
1227
+ readonly progressAt: import("effect/Schema").String;
1228
+ readonly stallTimeoutMs: import("effect/Schema").optional<import("effect/Schema").Int>;
1229
+ }>>;
1230
+ }>>;
1231
+ readonly createdAt: import("effect/Schema").String;
1232
+ readonly updatedAt: import("effect/Schema").String;
1233
+ readonly startedAt: import("effect/Schema").optional<import("effect/Schema").String>;
1234
+ readonly finishedAt: import("effect/Schema").optional<import("effect/Schema").String>;
1235
+ readonly expiresAt: import("effect/Schema").optional<import("effect/Schema").String>;
1236
+ readonly spec: import("effect/Schema").optional<import("effect/Schema").Unknown>;
1237
+ readonly captureDrain: import("effect/Schema").optional<import("effect/Schema").Struct<{
1238
+ readonly state: import("effect/Schema").Literals<readonly ["draining", "kept", "saved", "gone", "stop-failed", "stopped", "discarded"]>;
1239
+ readonly detail: import("effect/Schema").optional<import("effect/Schema").String>;
1240
+ readonly observedAt: import("effect/Schema").optional<import("effect/Schema").String>;
1241
+ readonly preservationStartsAt: import("effect/Schema").optional<import("effect/Schema").String>;
1242
+ readonly discard: import("effect/Schema").optional<import("effect/Schema").Struct<{
1243
+ readonly requestedBy: import("effect/Schema").String;
1244
+ readonly requestedAt: import("effect/Schema").String;
1245
+ }>>;
1246
+ readonly retained: import("effect/Schema").optional<import("effect/Schema").Struct<{
1247
+ readonly since: import("effect/Schema").String;
1248
+ readonly reason: import("effect/Schema").String;
1249
+ readonly recoverable: import("effect/Schema").Boolean;
1250
+ readonly recoveryAttempts: import("effect/Schema").Int;
1251
+ readonly nextRecoveryAt: import("effect/Schema").optional<import("effect/Schema").String>;
1252
+ readonly lastRecoveryError: import("effect/Schema").optional<import("effect/Schema").String>;
1253
+ }>>;
1254
+ readonly executor: import("effect/Schema").optional<import("effect/Schema").Struct<{
1255
+ readonly runId: import("effect/Schema").String;
1256
+ readonly adapter: import("effect/Schema").String;
1257
+ readonly resourceId: import("effect/Schema").String;
1258
+ readonly reference: import("effect/Schema").optional<import("effect/Schema").String>;
1259
+ readonly launchId: import("effect/Schema").optional<import("effect/Schema").String>;
1260
+ }>>;
1261
+ readonly completion: import("effect/Schema").optional<import("effect/Schema").Struct<{
1262
+ readonly executorId: import("effect/Schema").String;
1263
+ readonly epoch: import("effect/Schema").Int;
1264
+ readonly captureN: import("effect/Schema").Int;
1265
+ readonly attestedAt: import("effect/Schema").String;
1266
+ readonly launchId: import("effect/Schema").optional<import("effect/Schema").String>;
1267
+ readonly sealedAt: import("effect/Schema").optional<import("effect/Schema").String>;
1268
+ readonly origin: import("effect/Schema").optional<import("effect/Schema").Struct<{
1269
+ readonly epoch: import("effect/Schema").Int;
1270
+ readonly launch: import("effect/Schema").String;
1271
+ readonly bootId: import("effect/Schema").String;
1272
+ readonly bootGeneration: import("effect/Schema").Int;
1273
+ readonly observation: import("effect/Schema").Int;
1274
+ readonly headN: import("effect/Schema").optional<import("effect/Schema").Int>;
1275
+ }>>;
1276
+ }>>;
1277
+ }>>;
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<"getWorkspaceCaptureStatus", "GET", "/v1/workspaces/:workspaceId/capture", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
1274
1279
  readonly workspaceId: import("effect/Schema").String;
1275
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
1276
- readonly ownerUserId: import("effect/Schema").String;
1277
- readonly onBehalfOfUserId: import("effect/Schema").String;
1278
- readonly home: import("effect/Schema").String;
1279
- readonly uid: import("effect/Schema").optional<import("effect/Schema").Int>;
1280
- readonly gid: import("effect/Schema").optional<import("effect/Schema").Int>;
1281
- readonly claude: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").String>>;
1282
- readonly codex: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").String>>;
1283
- readonly github: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").String>>;
1284
- readonly pi: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").String>>;
1285
- readonly opencode: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").String>>;
1286
- readonly partial: import("effect/Schema").optional<import("effect/Schema").Boolean>;
1287
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
1288
- readonly workspaceId: import("effect/Schema").String;
1289
- readonly runId: import("effect/Schema").String;
1290
- readonly home: import("effect/Schema").Struct<{
1291
- readonly home: import("effect/Schema").String;
1292
- readonly onBehalfOfUserId: import("effect/Schema").String;
1293
- readonly accounts: import("effect/Schema").Struct<{
1294
- readonly claude: import("effect/Schema").optional<import("effect/Schema").Struct<{
1295
- readonly connectedAccountId: import("effect/Schema").String;
1296
- readonly name: import("effect/Schema").String;
1297
- }>>;
1298
- readonly codex: import("effect/Schema").optional<import("effect/Schema").Struct<{
1299
- readonly connectedAccountId: import("effect/Schema").String;
1300
- readonly name: import("effect/Schema").String;
1301
- }>>;
1302
- readonly github: import("effect/Schema").optional<import("effect/Schema").Struct<{
1303
- readonly connectedAccountId: import("effect/Schema").String;
1304
- readonly name: import("effect/Schema").String;
1305
- }>>;
1306
- readonly pi: import("effect/Schema").optional<import("effect/Schema").Struct<{
1307
- readonly connectedAccountId: import("effect/Schema").String;
1308
- readonly name: import("effect/Schema").String;
1309
- }>>;
1310
- readonly opencode: import("effect/Schema").optional<import("effect/Schema").Struct<{
1311
- readonly connectedAccountId: import("effect/Schema").String;
1312
- readonly name: import("effect/Schema").String;
1313
- }>>;
1314
- }>;
1315
- }>;
1316
- readonly skipped: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").Struct<{
1317
- readonly provider: import("effect/Schema").Literals<readonly ["claude", "codex", "github", "pi", "opencode"]>;
1318
- readonly code: import("effect/Schema").Literals<readonly ["connected-account-missing", "connected-account-invalid", "connected-account-unsupported", "login-file-unusable"]>;
1319
- readonly message: import("effect/Schema").String;
1320
- }>>>;
1321
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./workspaces.js").WorkspaceBadRequestError | typeof import("./workspaces.js").WorkspaceForbiddenError | typeof import("./workspaces.js").WorkspaceNotFoundError | typeof import("./workspaces.js").WorkspaceConflictError | typeof import("./workspaces.js").WorkspaceBadGatewayError | typeof import("./workspaces.js").WorkspaceServiceUnavailableError | typeof import("./workspaces.js").WorkspaceInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"expireWorkspace", "POST", "/v1/workspaces/:workspaceId/expire", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
1322
- readonly workspaceId: import("effect/Schema").String;
1323
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
1324
- readonly ownerUserId: import("effect/Schema").String;
1325
- readonly ttlSeconds: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").Int>>;
1326
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
1327
- readonly workspaceId: import("effect/Schema").String;
1328
- readonly expiresAt: import("effect/Schema").NullOr<import("effect/Schema").String>;
1329
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./workspaces.js").WorkspaceBadRequestError | typeof import("./workspaces.js").WorkspaceNotFoundError | typeof import("./workspaces.js").WorkspaceInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"cancelWorkspaceCreate", "POST", "/v1/workspaces/idempotency-keys/:idempotencyKey/cancel", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
1330
- readonly idempotencyKey: import("effect/Schema").String;
1331
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
1332
- readonly ownerUserId: import("effect/Schema").String;
1333
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
1334
- readonly idempotencyKey: import("effect/Schema").String;
1335
- readonly state: import("effect/Schema").Literals<readonly ["pending", "found", "cancelled", "none"]>;
1336
- readonly workspaceId: import("effect/Schema").optional<import("effect/Schema").String>;
1337
- readonly runId: import("effect/Schema").optional<import("effect/Schema").String>;
1338
- readonly launchId: import("effect/Schema").optional<import("effect/Schema").String>;
1339
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./workspaces.js").WorkspaceBadRequestError | typeof import("./workspaces.js").WorkspaceInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"getWorkspaceCaptureStatus", "GET", "/v1/workspaces/:workspaceId/capture", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
1340
- readonly workspaceId: import("effect/Schema").String;
1341
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
1280
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
1342
1281
  readonly ownerUserId: import("effect/Schema").String;
1343
1282
  }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
1344
1283
  readonly epoch: import("effect/Schema").Number;
@@ -1390,40 +1329,7 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
1390
1329
  readonly boundMs: import("effect/Schema").Number;
1391
1330
  }>>;
1392
1331
  readonly ownerMap: import("effect/Schema").optional<import("effect/Schema").Boolean>;
1393
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./workspaces.js").WorkspaceBadRequestError | typeof import("./workspaces.js").WorkspaceNotFoundError | typeof import("./workspaces.js").WorkspaceConflictError | typeof import("./workspaces.js").WorkspaceInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"listWorkspaceCredentials", "GET", "/v1/workspaces/:workspaceId/credentials", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
1394
- readonly workspaceId: import("effect/Schema").String;
1395
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
1396
- readonly ownerUserId: import("effect/Schema").String;
1397
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
1398
- readonly workspaceId: import("effect/Schema").String;
1399
- readonly runId: import("effect/Schema").String;
1400
- readonly homes: import("effect/Schema").$Array<import("effect/Schema").Struct<{
1401
- readonly home: import("effect/Schema").String;
1402
- readonly onBehalfOfUserId: import("effect/Schema").String;
1403
- readonly accounts: import("effect/Schema").Struct<{
1404
- readonly claude: import("effect/Schema").optional<import("effect/Schema").Struct<{
1405
- readonly connectedAccountId: import("effect/Schema").String;
1406
- readonly name: import("effect/Schema").String;
1407
- }>>;
1408
- readonly codex: import("effect/Schema").optional<import("effect/Schema").Struct<{
1409
- readonly connectedAccountId: import("effect/Schema").String;
1410
- readonly name: import("effect/Schema").String;
1411
- }>>;
1412
- readonly github: import("effect/Schema").optional<import("effect/Schema").Struct<{
1413
- readonly connectedAccountId: import("effect/Schema").String;
1414
- readonly name: import("effect/Schema").String;
1415
- }>>;
1416
- readonly pi: import("effect/Schema").optional<import("effect/Schema").Struct<{
1417
- readonly connectedAccountId: import("effect/Schema").String;
1418
- readonly name: import("effect/Schema").String;
1419
- }>>;
1420
- readonly opencode: import("effect/Schema").optional<import("effect/Schema").Struct<{
1421
- readonly connectedAccountId: import("effect/Schema").String;
1422
- readonly name: import("effect/Schema").String;
1423
- }>>;
1424
- }>;
1425
- }>>;
1426
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./workspaces.js").WorkspaceForbiddenError | typeof import("./workspaces.js").WorkspaceNotFoundError | typeof import("./workspaces.js").WorkspaceConflictError | typeof import("./workspaces.js").WorkspaceInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"getWorkspaceCreate", "GET", "/v1/workspaces/idempotency-keys/:idempotencyKey", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
1332
+ }>>, 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<"getWorkspaceCreate", "GET", "/v1/workspaces/idempotency-keys/:idempotencyKey", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
1427
1333
  readonly idempotencyKey: import("effect/Schema").String;
1428
1334
  }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
1429
1335
  readonly ownerUserId: import("effect/Schema").String;
@@ -1433,28 +1339,31 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
1433
1339
  readonly workspaceId: import("effect/Schema").optional<import("effect/Schema").String>;
1434
1340
  readonly runId: import("effect/Schema").optional<import("effect/Schema").String>;
1435
1341
  readonly launchId: import("effect/Schema").optional<import("effect/Schema").String>;
1436
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./workspaces.js").WorkspaceBadRequestError | typeof import("./workspaces.js").WorkspaceInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"getWorkspace", "GET", "/v1/workspaces/:workspaceId", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
1342
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./workspaces.js").WorkspaceBadRequestError | typeof import("./workspaces.js").WorkspaceInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"getWorkspaceSshTarget", "GET", "/v1/workspaces/:workspaceId/ssh-target", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
1437
1343
  readonly workspaceId: import("effect/Schema").String;
1438
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
1439
- readonly ownerUserId: import("effect/Schema").optional<import("effect/Schema").String>;
1440
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
1344
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
1345
+ readonly "x-sealant-gateway-token": import("effect/Schema").optional<import("effect/Schema").String>;
1346
+ readonly "x-sealant-principal-id": import("effect/Schema").optional<import("effect/Schema").String>;
1347
+ readonly "x-sealant-gateway-ssh-user": import("effect/Schema").optional<import("effect/Schema").String>;
1348
+ readonly "x-sealant-ssh-key-fingerprint": import("effect/Schema").optional<import("effect/Schema").String>;
1349
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
1441
1350
  readonly workspaceId: import("effect/Schema").String;
1442
- readonly name: import("effect/Schema").String;
1443
- readonly ownerUserId: import("effect/Schema").String;
1444
- readonly status: import("effect/Schema").Literals<readonly ["queued", "running", "ready", "failed", "cancelled", "stopped", "retained"]>;
1445
- readonly registryId: import("effect/Schema").optional<import("effect/Schema").String>;
1446
- readonly repository: import("effect/Schema").optional<import("effect/Schema").String>;
1447
- readonly tag: import("effect/Schema").optional<import("effect/Schema").String>;
1448
- readonly runtime: import("effect/Schema").optional<import("effect/Schema").Struct<{
1351
+ readonly attemptId: import("effect/Schema").String;
1352
+ readonly runtime: import("effect/Schema").Struct<{
1449
1353
  readonly adapter: import("effect/Schema").Literals<readonly ["docker", "k8s", "k3s", "cloudflare", "microvm"]>;
1450
1354
  readonly resourceId: import("effect/Schema").String;
1451
1355
  readonly reference: import("effect/Schema").String;
1452
- readonly status: import("effect/Schema").Literals<readonly ["pending", "running", "ready", "failed", "stopped", "retained"]>;
1453
- readonly endpoint: import("effect/Schema").optional<import("effect/Schema").String>;
1454
- readonly deadline: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").String>>;
1455
- readonly runId: import("effect/Schema").optional<import("effect/Schema").String>;
1456
- readonly launchId: import("effect/Schema").optional<import("effect/Schema").String>;
1457
- }>>;
1356
+ readonly status: import("effect/Schema").Literals<readonly ["pending", "running", "ready", "failed", "stopped"]>;
1357
+ readonly endpoint: import("effect/Schema").String;
1358
+ }>;
1359
+ readonly sessionUser: import("effect/Schema").NullOr<import("effect/Schema").String>;
1360
+ readonly sshKeyFingerprint: import("effect/Schema").optional<import("effect/Schema").String>;
1361
+ }>>, 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<"inspectWorkspaceImage", "POST", "/v1/workspaces/image", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
1362
+ readonly ownerUserId: import("effect/Schema").String;
1363
+ readonly registryId: import("effect/Schema").String;
1364
+ readonly spec: import("effect/Schema").Unknown;
1365
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
1366
+ readonly planHash: import("effect/Schema").String;
1458
1367
  readonly publishedImage: import("effect/Schema").optional<import("effect/Schema").Struct<{
1459
1368
  readonly reference: import("effect/Schema").String;
1460
1369
  readonly digestReference: import("effect/Schema").String;
@@ -1467,83 +1376,25 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
1467
1376
  readonly acl: import("effect/Schema").Literals<readonly ["supported", "unsupported", "unknown"]>;
1468
1377
  }>>;
1469
1378
  }>>;
1470
- readonly processUser: import("effect/Schema").optional<import("effect/Schema").Literals<readonly ["supported", "unsupported", "unknown"]>>;
1471
- readonly error: import("effect/Schema").optional<import("effect/Schema").Struct<{
1472
- readonly message: import("effect/Schema").String;
1473
- readonly code: import("effect/Schema").optional<import("effect/Schema").String>;
1474
- }>>;
1475
- readonly phase: import("effect/Schema").optional<import("effect/Schema").Struct<{
1476
- readonly name: import("effect/Schema").Literals<readonly ["queued", "image-build", "boot"]>;
1477
- readonly since: import("effect/Schema").optional<import("effect/Schema").String>;
1478
- readonly imageBuild: import("effect/Schema").optional<import("effect/Schema").Struct<{
1479
- readonly step: import("effect/Schema").optional<import("effect/Schema").Int>;
1480
- readonly steps: import("effect/Schema").optional<import("effect/Schema").Int>;
1481
- readonly stepName: import("effect/Schema").optional<import("effect/Schema").String>;
1482
- readonly progressAt: import("effect/Schema").String;
1483
- readonly stallTimeoutMs: import("effect/Schema").optional<import("effect/Schema").Int>;
1484
- }>>;
1485
- }>>;
1486
- readonly createdAt: import("effect/Schema").String;
1487
- readonly updatedAt: import("effect/Schema").String;
1488
- readonly startedAt: import("effect/Schema").optional<import("effect/Schema").String>;
1489
- readonly finishedAt: import("effect/Schema").optional<import("effect/Schema").String>;
1490
- readonly expiresAt: import("effect/Schema").optional<import("effect/Schema").String>;
1491
- readonly spec: import("effect/Schema").optional<import("effect/Schema").Unknown>;
1492
- readonly captureDrain: import("effect/Schema").optional<import("effect/Schema").Struct<{
1493
- readonly state: import("effect/Schema").Literals<readonly ["draining", "kept", "saved", "gone", "stop-failed", "stopped", "discarded"]>;
1494
- readonly detail: import("effect/Schema").optional<import("effect/Schema").String>;
1495
- readonly observedAt: import("effect/Schema").optional<import("effect/Schema").String>;
1496
- readonly preservationStartsAt: import("effect/Schema").optional<import("effect/Schema").String>;
1497
- readonly discard: import("effect/Schema").optional<import("effect/Schema").Struct<{
1498
- readonly requestedBy: import("effect/Schema").String;
1499
- readonly requestedAt: import("effect/Schema").String;
1500
- }>>;
1501
- readonly retained: import("effect/Schema").optional<import("effect/Schema").Struct<{
1502
- readonly since: import("effect/Schema").String;
1503
- readonly reason: import("effect/Schema").String;
1504
- readonly recoverable: import("effect/Schema").Boolean;
1505
- readonly recoveryAttempts: import("effect/Schema").Int;
1506
- readonly nextRecoveryAt: import("effect/Schema").optional<import("effect/Schema").String>;
1507
- readonly lastRecoveryError: import("effect/Schema").optional<import("effect/Schema").String>;
1508
- }>>;
1509
- readonly executor: import("effect/Schema").optional<import("effect/Schema").Struct<{
1510
- readonly runId: import("effect/Schema").String;
1511
- readonly adapter: import("effect/Schema").String;
1512
- readonly resourceId: import("effect/Schema").String;
1513
- readonly reference: import("effect/Schema").optional<import("effect/Schema").String>;
1514
- readonly launchId: import("effect/Schema").optional<import("effect/Schema").String>;
1515
- }>>;
1516
- readonly completion: import("effect/Schema").optional<import("effect/Schema").Struct<{
1517
- readonly executorId: import("effect/Schema").String;
1518
- readonly epoch: import("effect/Schema").Int;
1519
- readonly captureN: import("effect/Schema").Int;
1520
- readonly attestedAt: import("effect/Schema").String;
1521
- readonly launchId: import("effect/Schema").optional<import("effect/Schema").String>;
1522
- readonly sealedAt: import("effect/Schema").optional<import("effect/Schema").String>;
1523
- readonly origin: import("effect/Schema").optional<import("effect/Schema").Struct<{
1524
- readonly epoch: import("effect/Schema").Int;
1525
- readonly launch: import("effect/Schema").String;
1526
- readonly bootId: import("effect/Schema").String;
1527
- readonly bootGeneration: import("effect/Schema").Int;
1528
- readonly observation: import("effect/Schema").Int;
1529
- readonly headN: import("effect/Schema").optional<import("effect/Schema").Int>;
1530
- }>>;
1531
- }>>;
1532
- }>>;
1533
- }>>, 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<{
1534
- readonly ownerUserId: import("effect/Schema").String;
1535
- readonly status: import("effect/Schema").optional<import("effect/Schema").Literals<readonly ["queued", "running", "ready", "failed", "cancelled", "stopped", "retained"]>>;
1379
+ readonly personLayout: import("effect/Schema").Struct<{
1380
+ readonly status: import("effect/Schema").Literals<readonly ["supported", "unsupported", "unknown"]>;
1381
+ readonly missing: import("effect/Schema").$Array<import("effect/Schema").String>;
1382
+ readonly unknown: import("effect/Schema").$Array<import("effect/Schema").String>;
1383
+ readonly runtime: import("effect/Schema").String;
1384
+ readonly acl: import("effect/Schema").Literals<readonly ["supported", "unsupported", "unknown"]>;
1385
+ }>;
1386
+ }>>, 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<"listWorkspaceAttempts", "GET", "/v1/workspaces/:workspaceId/attempts", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
1387
+ readonly workspaceId: import("effect/Schema").String;
1388
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
1389
+ readonly ownerUserId: import("effect/Schema").optional<import("effect/Schema").String>;
1536
1390
  readonly limit: import("effect/Schema").optional<import("effect/Schema").String>;
1537
- readonly idempotencyKey: import("effect/Schema").optional<import("effect/Schema").String>;
1538
1391
  }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
1539
1392
  readonly items: import("effect/Schema").$Array<import("effect/Schema").Struct<{
1540
- readonly workspaceId: import("effect/Schema").String;
1541
- readonly name: import("effect/Schema").String;
1542
- readonly ownerUserId: import("effect/Schema").String;
1393
+ readonly attemptId: import("effect/Schema").String;
1394
+ readonly relation: import("effect/Schema").Literals<readonly ["launch", "rebuild", "retry", "resume"]>;
1543
1395
  readonly status: import("effect/Schema").Literals<readonly ["queued", "running", "ready", "failed", "cancelled", "stopped", "retained"]>;
1544
- readonly registryId: import("effect/Schema").optional<import("effect/Schema").String>;
1545
- readonly repository: import("effect/Schema").optional<import("effect/Schema").String>;
1546
- readonly tag: import("effect/Schema").optional<import("effect/Schema").String>;
1396
+ readonly triggerType: import("effect/Schema").Literals<readonly ["manual", "schedule", "api", "retry"]>;
1397
+ readonly triggerRef: import("effect/Schema").optional<import("effect/Schema").String>;
1547
1398
  readonly runtime: import("effect/Schema").optional<import("effect/Schema").Struct<{
1548
1399
  readonly adapter: import("effect/Schema").Literals<readonly ["docker", "k8s", "k3s", "cloudflare", "microvm"]>;
1549
1400
  readonly resourceId: import("effect/Schema").String;
@@ -1566,40 +1417,81 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
1566
1417
  readonly acl: import("effect/Schema").Literals<readonly ["supported", "unsupported", "unknown"]>;
1567
1418
  }>>;
1568
1419
  }>>;
1569
- readonly processUser: import("effect/Schema").optional<import("effect/Schema").Literals<readonly ["supported", "unsupported", "unknown"]>>;
1570
1420
  readonly error: import("effect/Schema").optional<import("effect/Schema").Struct<{
1571
1421
  readonly message: import("effect/Schema").String;
1572
1422
  readonly code: import("effect/Schema").optional<import("effect/Schema").String>;
1573
1423
  }>>;
1574
- readonly phase: import("effect/Schema").optional<import("effect/Schema").Struct<{
1575
- readonly name: import("effect/Schema").Literals<readonly ["queued", "image-build", "boot"]>;
1576
- readonly since: import("effect/Schema").optional<import("effect/Schema").String>;
1577
- readonly imageBuild: import("effect/Schema").optional<import("effect/Schema").Struct<{
1578
- readonly step: import("effect/Schema").optional<import("effect/Schema").Int>;
1579
- readonly steps: import("effect/Schema").optional<import("effect/Schema").Int>;
1580
- readonly stepName: import("effect/Schema").optional<import("effect/Schema").String>;
1581
- readonly progressAt: import("effect/Schema").String;
1582
- readonly stallTimeoutMs: import("effect/Schema").optional<import("effect/Schema").Int>;
1583
- }>>;
1584
- }>>;
1424
+ readonly spec: import("effect/Schema").optional<import("effect/Schema").Unknown>;
1425
+ readonly queuedAt: import("effect/Schema").String;
1585
1426
  readonly createdAt: import("effect/Schema").String;
1586
1427
  readonly updatedAt: import("effect/Schema").String;
1428
+ readonly linkedAt: import("effect/Schema").String;
1587
1429
  readonly startedAt: import("effect/Schema").optional<import("effect/Schema").String>;
1588
1430
  readonly finishedAt: import("effect/Schema").optional<import("effect/Schema").String>;
1589
- readonly expiresAt: import("effect/Schema").optional<import("effect/Schema").String>;
1431
+ readonly durationMs: import("effect/Schema").optional<import("effect/Schema").Number>;
1590
1432
  }>>;
1591
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./workspaces.js").WorkspaceBadRequestError | typeof import("./workspaces.js").WorkspaceInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"listWorkspaceAttempts", "GET", "/v1/workspaces/:workspaceId/attempts", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
1433
+ }>>, 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<"listWorkspaceCredentials", "GET", "/v1/workspaces/:workspaceId/credentials", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
1434
+ readonly workspaceId: import("effect/Schema").String;
1435
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
1436
+ readonly ownerUserId: import("effect/Schema").String;
1437
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
1438
+ readonly workspaceId: import("effect/Schema").String;
1439
+ readonly runId: import("effect/Schema").String;
1440
+ readonly homes: import("effect/Schema").$Array<import("effect/Schema").Struct<{
1441
+ readonly home: import("effect/Schema").String;
1442
+ readonly onBehalfOfUserId: import("effect/Schema").String;
1443
+ readonly accounts: import("effect/Schema").Struct<{
1444
+ readonly claude: import("effect/Schema").optional<import("effect/Schema").Struct<{
1445
+ readonly connectedAccountId: import("effect/Schema").String;
1446
+ readonly name: import("effect/Schema").String;
1447
+ }>>;
1448
+ readonly codex: import("effect/Schema").optional<import("effect/Schema").Struct<{
1449
+ readonly connectedAccountId: import("effect/Schema").String;
1450
+ readonly name: import("effect/Schema").String;
1451
+ }>>;
1452
+ readonly github: import("effect/Schema").optional<import("effect/Schema").Struct<{
1453
+ readonly connectedAccountId: import("effect/Schema").String;
1454
+ readonly name: import("effect/Schema").String;
1455
+ }>>;
1456
+ readonly pi: import("effect/Schema").optional<import("effect/Schema").Struct<{
1457
+ readonly connectedAccountId: import("effect/Schema").String;
1458
+ readonly name: import("effect/Schema").String;
1459
+ }>>;
1460
+ readonly opencode: import("effect/Schema").optional<import("effect/Schema").Struct<{
1461
+ readonly connectedAccountId: import("effect/Schema").String;
1462
+ readonly name: import("effect/Schema").String;
1463
+ }>>;
1464
+ }>;
1465
+ }>>;
1466
+ }>>, 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<{
1592
1467
  readonly workspaceId: import("effect/Schema").String;
1593
1468
  }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
1594
1469
  readonly ownerUserId: import("effect/Schema").optional<import("effect/Schema").String>;
1595
1470
  readonly limit: import("effect/Schema").optional<import("effect/Schema").String>;
1596
1471
  }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
1597
1472
  readonly items: import("effect/Schema").$Array<import("effect/Schema").Struct<{
1598
- readonly attemptId: import("effect/Schema").String;
1599
- readonly relation: import("effect/Schema").Literals<readonly ["launch", "rebuild", "retry", "resume"]>;
1473
+ readonly eventId: import("effect/Schema").String;
1474
+ readonly workspaceId: import("effect/Schema").String;
1475
+ readonly attemptId: import("effect/Schema").optional<import("effect/Schema").String>;
1476
+ 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"]>;
1477
+ readonly occurredAt: import("effect/Schema").String;
1478
+ readonly message: import("effect/Schema").optional<import("effect/Schema").String>;
1479
+ readonly data: import("effect/Schema").optional<import("effect/Schema").Unknown>;
1480
+ }>>;
1481
+ }>>, 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<"listWorkspaces", "GET", "/v1/workspaces/", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
1482
+ readonly ownerUserId: import("effect/Schema").String;
1483
+ readonly status: import("effect/Schema").optional<import("effect/Schema").Literals<readonly ["queued", "running", "ready", "failed", "cancelled", "stopped", "retained"]>>;
1484
+ readonly limit: import("effect/Schema").optional<import("effect/Schema").String>;
1485
+ readonly idempotencyKey: import("effect/Schema").optional<import("effect/Schema").String>;
1486
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
1487
+ readonly items: import("effect/Schema").$Array<import("effect/Schema").Struct<{
1488
+ readonly workspaceId: import("effect/Schema").String;
1489
+ readonly name: import("effect/Schema").String;
1490
+ readonly ownerUserId: import("effect/Schema").String;
1600
1491
  readonly status: import("effect/Schema").Literals<readonly ["queued", "running", "ready", "failed", "cancelled", "stopped", "retained"]>;
1601
- readonly triggerType: import("effect/Schema").Literals<readonly ["manual", "schedule", "api", "retry"]>;
1602
- readonly triggerRef: import("effect/Schema").optional<import("effect/Schema").String>;
1492
+ readonly registryId: import("effect/Schema").optional<import("effect/Schema").String>;
1493
+ readonly repository: import("effect/Schema").optional<import("effect/Schema").String>;
1494
+ readonly tag: import("effect/Schema").optional<import("effect/Schema").String>;
1603
1495
  readonly runtime: import("effect/Schema").optional<import("effect/Schema").Struct<{
1604
1496
  readonly adapter: import("effect/Schema").Literals<readonly ["docker", "k8s", "k3s", "cloudflare", "microvm"]>;
1605
1497
  readonly resourceId: import("effect/Schema").String;
@@ -1622,51 +1514,159 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
1622
1514
  readonly acl: import("effect/Schema").Literals<readonly ["supported", "unsupported", "unknown"]>;
1623
1515
  }>>;
1624
1516
  }>>;
1517
+ readonly processUser: import("effect/Schema").optional<import("effect/Schema").Literals<readonly ["supported", "unsupported", "unknown"]>>;
1625
1518
  readonly error: import("effect/Schema").optional<import("effect/Schema").Struct<{
1626
1519
  readonly message: import("effect/Schema").String;
1627
1520
  readonly code: import("effect/Schema").optional<import("effect/Schema").String>;
1628
1521
  }>>;
1629
- readonly spec: import("effect/Schema").optional<import("effect/Schema").Unknown>;
1630
- readonly queuedAt: import("effect/Schema").String;
1522
+ readonly phase: import("effect/Schema").optional<import("effect/Schema").Struct<{
1523
+ readonly name: import("effect/Schema").Literals<readonly ["queued", "image-build", "boot"]>;
1524
+ readonly since: import("effect/Schema").optional<import("effect/Schema").String>;
1525
+ readonly imageBuild: import("effect/Schema").optional<import("effect/Schema").Struct<{
1526
+ readonly step: import("effect/Schema").optional<import("effect/Schema").Int>;
1527
+ readonly steps: import("effect/Schema").optional<import("effect/Schema").Int>;
1528
+ readonly stepName: import("effect/Schema").optional<import("effect/Schema").String>;
1529
+ readonly progressAt: import("effect/Schema").String;
1530
+ readonly stallTimeoutMs: import("effect/Schema").optional<import("effect/Schema").Int>;
1531
+ }>>;
1532
+ }>>;
1631
1533
  readonly createdAt: import("effect/Schema").String;
1632
1534
  readonly updatedAt: import("effect/Schema").String;
1633
- readonly linkedAt: import("effect/Schema").String;
1634
1535
  readonly startedAt: import("effect/Schema").optional<import("effect/Schema").String>;
1635
1536
  readonly finishedAt: import("effect/Schema").optional<import("effect/Schema").String>;
1636
- readonly durationMs: import("effect/Schema").optional<import("effect/Schema").Number>;
1537
+ readonly expiresAt: import("effect/Schema").optional<import("effect/Schema").String>;
1637
1538
  }>>;
1638
- }>>, 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<"listWorkspaceEvents", "GET", "/v1/workspaces/:workspaceId/events", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
1539
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./workspaces.js").WorkspaceBadRequestError | typeof import("./workspaces.js").WorkspaceInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"putWorkspaceCredentials", "POST", "/v1/workspaces/:workspaceId/credentials", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
1540
+ readonly workspaceId: import("effect/Schema").String;
1541
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
1542
+ readonly ownerUserId: import("effect/Schema").String;
1543
+ readonly onBehalfOfUserId: import("effect/Schema").String;
1544
+ readonly home: import("effect/Schema").String;
1545
+ readonly uid: import("effect/Schema").optional<import("effect/Schema").Int>;
1546
+ readonly gid: import("effect/Schema").optional<import("effect/Schema").Int>;
1547
+ readonly claude: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").String>>;
1548
+ readonly codex: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").String>>;
1549
+ readonly github: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").String>>;
1550
+ readonly pi: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").String>>;
1551
+ readonly opencode: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").String>>;
1552
+ readonly partial: import("effect/Schema").optional<import("effect/Schema").Boolean>;
1553
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
1554
+ readonly workspaceId: import("effect/Schema").String;
1555
+ readonly runId: import("effect/Schema").String;
1556
+ readonly home: import("effect/Schema").Struct<{
1557
+ readonly home: import("effect/Schema").String;
1558
+ readonly onBehalfOfUserId: import("effect/Schema").String;
1559
+ readonly accounts: import("effect/Schema").Struct<{
1560
+ readonly claude: import("effect/Schema").optional<import("effect/Schema").Struct<{
1561
+ readonly connectedAccountId: import("effect/Schema").String;
1562
+ readonly name: import("effect/Schema").String;
1563
+ }>>;
1564
+ readonly codex: import("effect/Schema").optional<import("effect/Schema").Struct<{
1565
+ readonly connectedAccountId: import("effect/Schema").String;
1566
+ readonly name: import("effect/Schema").String;
1567
+ }>>;
1568
+ readonly github: import("effect/Schema").optional<import("effect/Schema").Struct<{
1569
+ readonly connectedAccountId: import("effect/Schema").String;
1570
+ readonly name: import("effect/Schema").String;
1571
+ }>>;
1572
+ readonly pi: import("effect/Schema").optional<import("effect/Schema").Struct<{
1573
+ readonly connectedAccountId: import("effect/Schema").String;
1574
+ readonly name: import("effect/Schema").String;
1575
+ }>>;
1576
+ readonly opencode: import("effect/Schema").optional<import("effect/Schema").Struct<{
1577
+ readonly connectedAccountId: import("effect/Schema").String;
1578
+ readonly name: import("effect/Schema").String;
1579
+ }>>;
1580
+ }>;
1581
+ }>;
1582
+ readonly skipped: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").Struct<{
1583
+ readonly provider: import("effect/Schema").Literals<readonly ["claude", "codex", "github", "pi", "opencode"]>;
1584
+ readonly code: import("effect/Schema").Literals<readonly ["connected-account-missing", "connected-account-invalid", "connected-account-unsupported", "login-file-unusable"]>;
1585
+ readonly message: import("effect/Schema").String;
1586
+ }>>>;
1587
+ }>>, 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<"recoverWorkspace", "POST", "/v1/workspaces/:workspaceId/recover", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
1588
+ readonly workspaceId: import("effect/Schema").String;
1589
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
1590
+ readonly ownerUserId: import("effect/Schema").String;
1591
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
1592
+ readonly workspaceId: import("effect/Schema").String;
1593
+ readonly state: import("effect/Schema").Literals<readonly ["requested", "not-retained"]>;
1594
+ readonly recoverable: import("effect/Schema").optional<import("effect/Schema").Boolean>;
1595
+ }>>, 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<"releaseWorkspaceCredentials", "DELETE", "/v1/workspaces/:workspaceId/credentials", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
1639
1596
  readonly workspaceId: import("effect/Schema").String;
1640
1597
  }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
1598
+ readonly ownerUserId: import("effect/Schema").String;
1599
+ readonly home: import("effect/Schema").String;
1600
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
1601
+ readonly workspaceId: import("effect/Schema").String;
1602
+ readonly runId: import("effect/Schema").String;
1603
+ readonly home: import("effect/Schema").String;
1604
+ readonly released: import("effect/Schema").Boolean;
1605
+ }>>, 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<"renameWorkspace", "PATCH", "/v1/workspaces/:workspaceId/name", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
1606
+ readonly workspaceId: import("effect/Schema").String;
1607
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
1608
+ readonly name: import("effect/Schema").String;
1641
1609
  readonly ownerUserId: import("effect/Schema").optional<import("effect/Schema").String>;
1642
- readonly limit: import("effect/Schema").optional<import("effect/Schema").String>;
1643
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
1644
- readonly items: import("effect/Schema").$Array<import("effect/Schema").Struct<{
1645
- readonly eventId: import("effect/Schema").String;
1646
- readonly workspaceId: import("effect/Schema").String;
1647
- readonly attemptId: import("effect/Schema").optional<import("effect/Schema").String>;
1648
- 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"]>;
1649
- readonly occurredAt: import("effect/Schema").String;
1650
- readonly message: import("effect/Schema").optional<import("effect/Schema").String>;
1651
- readonly data: import("effect/Schema").optional<import("effect/Schema").Unknown>;
1652
- }>>;
1653
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./workspaces.js").WorkspaceBadRequestError | typeof import("./workspaces.js").WorkspaceNotFoundError | typeof import("./workspaces.js").WorkspaceInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"getWorkspaceSshTarget", "GET", "/v1/workspaces/:workspaceId/ssh-target", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
1610
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
1654
1611
  readonly workspaceId: import("effect/Schema").String;
1655
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
1656
- readonly "x-sealant-gateway-token": import("effect/Schema").optional<import("effect/Schema").String>;
1657
- readonly "x-sealant-principal-id": import("effect/Schema").optional<import("effect/Schema").String>;
1658
- readonly "x-sealant-gateway-ssh-user": import("effect/Schema").optional<import("effect/Schema").String>;
1659
- readonly "x-sealant-ssh-key-fingerprint": import("effect/Schema").optional<import("effect/Schema").String>;
1660
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
1612
+ readonly name: import("effect/Schema").String;
1613
+ readonly updatedAt: import("effect/Schema").String;
1614
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./workspaces.js").WorkspaceNotFoundError | typeof import("./workspaces.js").WorkspaceInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"replanWorkspaceCapture", "POST", "/v1/workspaces/:workspaceId/capture/replan", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
1661
1615
  readonly workspaceId: import("effect/Schema").String;
1662
- readonly attemptId: import("effect/Schema").String;
1663
- readonly runtime: import("effect/Schema").Struct<{
1664
- readonly adapter: import("effect/Schema").Literals<readonly ["docker", "k8s", "k3s", "cloudflare", "microvm"]>;
1665
- readonly resourceId: import("effect/Schema").String;
1666
- readonly reference: import("effect/Schema").String;
1667
- readonly status: import("effect/Schema").Literals<readonly ["pending", "running", "ready", "failed", "stopped"]>;
1668
- readonly endpoint: import("effect/Schema").String;
1669
- }>;
1670
- readonly sessionUser: import("effect/Schema").NullOr<import("effect/Schema").String>;
1671
- readonly sshKeyFingerprint: import("effect/Schema").optional<import("effect/Schema").String>;
1672
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./workspaces.js").WorkspaceUnauthorizedError | typeof import("./workspaces.js").WorkspaceSshKeyNoLongerRegisteredError | typeof import("./workspaces.js").WorkspaceNotFoundError | typeof import("./workspaces.js").WorkspaceConflictError | typeof import("./workspaces.js").WorkspaceServiceUnavailableError | typeof import("./workspaces.js").WorkspaceInternalServerError>, RequestRefusal, never>, false>>;
1616
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
1617
+ readonly ownerUserId: import("effect/Schema").String;
1618
+ readonly expectedOwnerMap: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").Struct<{
1619
+ readonly gid: import("effect/Schema").Number;
1620
+ readonly worktreeUid: import("effect/Schema").Number;
1621
+ readonly people: import("effect/Schema").$Array<import("effect/Schema").Struct<{
1622
+ readonly id: import("effect/Schema").String;
1623
+ readonly uid: import("effect/Schema").Number;
1624
+ }>>;
1625
+ }>>>;
1626
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
1627
+ readonly worktreeId: import("effect/Schema").String;
1628
+ readonly epoch: import("effect/Schema").Number;
1629
+ readonly headN: import("effect/Schema").optional<import("effect/Schema").Number>;
1630
+ readonly headCaptureId: import("effect/Schema").optional<import("effect/Schema").String>;
1631
+ readonly filesWritten: import("effect/Schema").Number;
1632
+ readonly bytesWritten: import("effect/Schema").Number;
1633
+ readonly filesSkipped: import("effect/Schema").Number;
1634
+ readonly bytesSkipped: import("effect/Schema").Number;
1635
+ readonly removed: import("effect/Schema").Number;
1636
+ readonly unchanged: import("effect/Schema").Boolean;
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").WorkspaceInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"restartWorkspace", "POST", "/v1/workspaces/:workspaceId/restart", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
1638
+ readonly workspaceId: import("effect/Schema").String;
1639
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
1640
+ readonly ownerUserId: import("effect/Schema").String;
1641
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
1642
+ readonly workspaceId: import("effect/Schema").String;
1643
+ readonly runId: import("effect/Schema").String;
1644
+ readonly status: import("effect/Schema").Literals<readonly ["queued", "running", "ready", "failed", "cancelled", "stopped", "retained"]>;
1645
+ }>>, 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<{
1646
+ readonly workspaceId: import("effect/Schema").String;
1647
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
1648
+ readonly ownerUserId: import("effect/Schema").String;
1649
+ readonly discardUnsaved: import("effect/Schema").optional<import("effect/Schema").Boolean>;
1650
+ readonly completion: import("effect/Schema").optional<import("effect/Schema").Struct<{
1651
+ readonly captureN: import("effect/Schema").Int;
1652
+ readonly epoch: import("effect/Schema").Int;
1653
+ readonly executorId: import("effect/Schema").String;
1654
+ readonly launchId: import("effect/Schema").optional<import("effect/Schema").String>;
1655
+ readonly sealedAt: import("effect/Schema").optional<import("effect/Schema").String>;
1656
+ readonly origin: import("effect/Schema").optional<import("effect/Schema").Struct<{
1657
+ readonly epoch: import("effect/Schema").Int;
1658
+ readonly launch: import("effect/Schema").String;
1659
+ readonly bootId: import("effect/Schema").String;
1660
+ readonly bootGeneration: import("effect/Schema").Int;
1661
+ readonly observation: import("effect/Schema").Int;
1662
+ readonly headN: import("effect/Schema").optional<import("effect/Schema").Int>;
1663
+ }>>;
1664
+ }>>;
1665
+ }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
1666
+ readonly workspaceId: import("effect/Schema").String;
1667
+ readonly status: import("effect/Schema").Literals<readonly ["queued", "running", "ready", "failed", "cancelled", "stopped", "retained"]>;
1668
+ readonly completion: import("effect/Schema").optional<import("effect/Schema").Struct<{
1669
+ readonly outcome: import("effect/Schema").Literals<readonly ["accepted", "ignored"]>;
1670
+ readonly detail: import("effect/Schema").optional<import("effect/Schema").String>;
1671
+ }>>;
1672
+ }>>, 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>, false>>;