@sealant/api-contracts-next 0.39.0-next.723 → 0.39.0-next.725
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.
- package/dist/core-api/control-plane.d.ts +723 -723
- package/package.json +2 -2
|
@@ -1,19 +1,6 @@
|
|
|
1
1
|
import { HttpApi } from "effect/unstable/httpapi";
|
|
2
2
|
import { RequestRefusal } from "./request-refusal.js";
|
|
3
|
-
export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi", import("effect/unstable/httpapi/HttpApiGroup").HttpApiGroup<"accessTokens", import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"
|
|
4
|
-
readonly tokenId: import("effect/Schema").String;
|
|
5
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
6
|
-
readonly ownerUserId: import("effect/Schema").String;
|
|
7
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
8
|
-
readonly tokenId: import("effect/Schema").String;
|
|
9
|
-
readonly ownerUserId: import("effect/Schema").String;
|
|
10
|
-
readonly name: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
11
|
-
readonly scopes: import("effect/Schema").$Array<import("effect/Schema").Literals<readonly ["session:read", "session:input", "workspace:exec"]>>;
|
|
12
|
-
readonly workspaceId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
13
|
-
readonly expiresAt: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
14
|
-
readonly revokedAt: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
15
|
-
readonly createdAt: import("effect/Schema").String;
|
|
16
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./access-tokens.js").AccessTokenBadRequestError | typeof import("./access-tokens.js").AccessTokenNotFoundError | typeof import("./access-tokens.js").AccessTokenInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"createAccessToken", "POST", "/v1/access-tokens/", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
3
|
+
export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi", import("effect/unstable/httpapi/HttpApiGroup").HttpApiGroup<"accessTokens", import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"createAccessToken", "POST", "/v1/access-tokens/", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
17
4
|
readonly ownerUserId: import("effect/Schema").String;
|
|
18
5
|
readonly scopes: import("effect/Schema").$Array<import("effect/Schema").Literals<readonly ["session:read", "session:input", "workspace:exec"]>>;
|
|
19
6
|
readonly name: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
@@ -42,33 +29,24 @@ 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
|
|
46
|
-
readonly
|
|
47
|
-
}>>, 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<{
|
|
48
35
|
readonly ownerUserId: import("effect/Schema").String;
|
|
49
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").
|
|
50
|
-
readonly
|
|
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;
|
|
51
38
|
readonly ownerUserId: import("effect/Schema").String;
|
|
52
|
-
readonly
|
|
53
|
-
readonly
|
|
54
|
-
readonly
|
|
55
|
-
readonly
|
|
56
|
-
readonly
|
|
57
|
-
readonly
|
|
58
|
-
|
|
59
|
-
readonly lastUsedAt: import("effect/Schema").NullOr<import("effect/Schema").String>;
|
|
60
|
-
readonly lastSyncedAt: import("effect/Schema").NullOr<import("effect/Schema").String>;
|
|
61
|
-
readonly credential: import("effect/Schema").Struct<{
|
|
62
|
-
readonly accessExpiresAt: import("effect/Schema").NullOr<import("effect/Schema").String>;
|
|
63
|
-
readonly refreshExpiresAt: import("effect/Schema").NullOr<import("effect/Schema").String>;
|
|
64
|
-
readonly lastRefreshAt: import("effect/Schema").NullOr<import("effect/Schema").String>;
|
|
65
|
-
readonly lastRefreshOutcome: import("effect/Schema").NullOr<import("effect/Schema").Literals<readonly ["refreshed", "fresh", "failed"]>>;
|
|
66
|
-
}>;
|
|
67
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./connected-accounts.js").ConnectedAccountNotFoundError | typeof import("./connected-accounts.js").ConnectedAccountInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"markConnectedAccountInvalid", "POST", "/v1/connected-accounts/:connectedAccountId/mark-invalid", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
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<{
|
|
68
46
|
readonly connectedAccountId: import("effect/Schema").String;
|
|
69
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<
|
|
47
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
70
48
|
readonly ownerUserId: import("effect/Schema").String;
|
|
71
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
49
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
72
50
|
readonly connectedAccountId: import("effect/Schema").String;
|
|
73
51
|
readonly ownerUserId: import("effect/Schema").String;
|
|
74
52
|
readonly provider: import("effect/Schema").Literals<readonly ["claude", "codex", "github"]>;
|
|
@@ -131,10 +109,40 @@ 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
|
|
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<{
|
|
135
|
+
readonly "x-github-delivery": import("effect/Schema").optional<import("effect/Schema").String>;
|
|
136
|
+
readonly "x-github-event": import("effect/Schema").optional<import("effect/Schema").String>;
|
|
137
|
+
readonly "x-hub-signature-256": import("effect/Schema").optional<import("effect/Schema").String>;
|
|
138
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
139
|
+
readonly deliveryId: import("effect/Schema").String;
|
|
140
|
+
readonly status: import("effect/Schema").Literals<readonly ["received", "processed", "failed", "ignored"]>;
|
|
141
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./github.js").GitHubBadRequestError | typeof import("./github.js").GitHubUnauthorizedError | typeof import("./github.js").GitHubServiceUnavailableError | typeof import("./github.js").GitHubInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"importInstallation", "POST", "/v1/github/installations/import", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
135
142
|
readonly userId: import("effect/Schema").String;
|
|
136
|
-
|
|
137
|
-
|
|
143
|
+
readonly externalInstallationId: import("effect/Schema").String;
|
|
144
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
145
|
+
readonly installation: import("effect/Schema").Struct<{
|
|
138
146
|
readonly installationId: import("effect/Schema").String;
|
|
139
147
|
readonly externalInstallationId: import("effect/Schema").String;
|
|
140
148
|
readonly accountLogin: import("effect/Schema").String;
|
|
@@ -142,8 +150,10 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
142
150
|
readonly status: import("effect/Schema").Literals<readonly ["active", "suspended", "deleted"]>;
|
|
143
151
|
readonly repositorySelection: import("effect/Schema").Literals<readonly ["all", "selected"]>;
|
|
144
152
|
readonly lastSyncedAt: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
145
|
-
}
|
|
146
|
-
|
|
153
|
+
}>;
|
|
154
|
+
readonly syncedRepositoryCount: import("effect/Schema").Number;
|
|
155
|
+
readonly syncedAt: import("effect/Schema").String;
|
|
156
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./github.js").GitHubNotFoundError | typeof import("./github.js").GitHubServiceUnavailableError | typeof import("./github.js").GitHubInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"listInstallationRepositories", "GET", "/v1/github/installations/:installationId/repositories", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
147
157
|
readonly installationId: import("effect/Schema").String;
|
|
148
158
|
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
149
159
|
readonly userId: import("effect/Schema").String;
|
|
@@ -162,19 +172,10 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
162
172
|
readonly isArchived: import("effect/Schema").Boolean;
|
|
163
173
|
readonly lastSyncedAt: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
164
174
|
}>>;
|
|
165
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./github.js").GitHubForbiddenError | typeof import("./github.js").GitHubNotFoundError | typeof import("./github.js").GitHubServiceUnavailableError | typeof import("./github.js").GitHubInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"
|
|
166
|
-
readonly installationId: import("effect/Schema").String;
|
|
167
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
168
|
-
readonly userId: import("effect/Schema").String;
|
|
169
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
170
|
-
readonly installationId: import("effect/Schema").String;
|
|
171
|
-
readonly syncedRepositoryCount: import("effect/Schema").Number;
|
|
172
|
-
readonly syncedAt: import("effect/Schema").String;
|
|
173
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./github.js").GitHubForbiddenError | typeof import("./github.js").GitHubNotFoundError | typeof import("./github.js").GitHubServiceUnavailableError | typeof import("./github.js").GitHubInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"importInstallation", "POST", "/v1/github/installations/import", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
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<{
|
|
174
176
|
readonly userId: import("effect/Schema").String;
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
readonly installation: import("effect/Schema").Struct<{
|
|
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<{
|
|
178
179
|
readonly installationId: import("effect/Schema").String;
|
|
179
180
|
readonly externalInstallationId: import("effect/Schema").String;
|
|
180
181
|
readonly accountLogin: import("effect/Schema").String;
|
|
@@ -182,17 +183,16 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
182
183
|
readonly status: import("effect/Schema").Literals<readonly ["active", "suspended", "deleted"]>;
|
|
183
184
|
readonly repositorySelection: import("effect/Schema").Literals<readonly ["all", "selected"]>;
|
|
184
185
|
readonly lastSyncedAt: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
185
|
-
}
|
|
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;
|
|
186
193
|
readonly syncedRepositoryCount: import("effect/Schema").Number;
|
|
187
194
|
readonly syncedAt: import("effect/Schema").String;
|
|
188
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./github.js").GitHubNotFoundError | typeof import("./github.js").GitHubServiceUnavailableError | typeof import("./github.js").GitHubInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"
|
|
189
|
-
readonly "x-github-delivery": import("effect/Schema").optional<import("effect/Schema").String>;
|
|
190
|
-
readonly "x-github-event": import("effect/Schema").optional<import("effect/Schema").String>;
|
|
191
|
-
readonly "x-hub-signature-256": import("effect/Schema").optional<import("effect/Schema").String>;
|
|
192
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
193
|
-
readonly deliveryId: import("effect/Schema").String;
|
|
194
|
-
readonly status: import("effect/Schema").Literals<readonly ["received", "processed", "failed", "ignored"]>;
|
|
195
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./github.js").GitHubBadRequestError | typeof import("./github.js").GitHubUnauthorizedError | typeof import("./github.js").GitHubServiceUnavailableError | typeof import("./github.js").GitHubInternalServerError>, RequestRefusal, never>, false> | import("effect/unstable/httpapi/HttpApiGroup").HttpApiGroup<"inference", import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"respond", "POST", "/v1/inference/respond", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
195
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./github.js").GitHubForbiddenError | typeof import("./github.js").GitHubNotFoundError | typeof import("./github.js").GitHubServiceUnavailableError | typeof import("./github.js").GitHubInternalServerError>, RequestRefusal, never>, false> | import("effect/unstable/httpapi/HttpApiGroup").HttpApiGroup<"inference", import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"respond", "POST", "/v1/inference/respond", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
196
196
|
readonly ownerUserId: import("effect/Schema").String;
|
|
197
197
|
readonly credentials: import("effect/Schema").optional<import("effect/Schema").Struct<{
|
|
198
198
|
readonly profileId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
@@ -285,21 +285,7 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
285
285
|
}>>;
|
|
286
286
|
readonly fetchedAt: import("effect/Schema").String;
|
|
287
287
|
readonly expiresAt: import("effect/Schema").String;
|
|
288
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./packages.js").PackagesBadGatewayError | typeof import("./packages.js").PackagesInternalServerError>, RequestRefusal, never>, false> | import("effect/unstable/httpapi/HttpApiGroup").HttpApiGroup<"profiles", import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"
|
|
289
|
-
readonly ownerUserId: import("effect/Schema").String;
|
|
290
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
291
|
-
readonly items: import("effect/Schema").$Array<import("effect/Schema").Struct<{
|
|
292
|
-
readonly profileId: import("effect/Schema").String;
|
|
293
|
-
readonly ownerUserId: import("effect/Schema").String;
|
|
294
|
-
readonly slug: import("effect/Schema").String;
|
|
295
|
-
readonly name: import("effect/Schema").String;
|
|
296
|
-
readonly description: import("effect/Schema").NullOr<import("effect/Schema").String>;
|
|
297
|
-
readonly status: import("effect/Schema").Literals<readonly ["active", "archived"]>;
|
|
298
|
-
readonly activeRevisionId: import("effect/Schema").NullOr<import("effect/Schema").String>;
|
|
299
|
-
readonly createdAt: import("effect/Schema").String;
|
|
300
|
-
readonly updatedAt: import("effect/Schema").String;
|
|
301
|
-
}>>;
|
|
302
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./profiles.js").ProfileInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"listProfileCredentialBindings", "GET", "/v1/profiles/:profileId/credential-bindings", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
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<{
|
|
303
289
|
readonly profileId: import("effect/Schema").String;
|
|
304
290
|
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
305
291
|
readonly ownerUserId: import("effect/Schema").String;
|
|
@@ -328,7 +314,21 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
328
314
|
}>;
|
|
329
315
|
}>;
|
|
330
316
|
}>>;
|
|
331
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./profiles.js").ProfileNotFoundError | typeof import("./profiles.js").ProfileInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"
|
|
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<{
|
|
318
|
+
readonly ownerUserId: import("effect/Schema").String;
|
|
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<{
|
|
320
|
+
readonly items: import("effect/Schema").$Array<import("effect/Schema").Struct<{
|
|
321
|
+
readonly profileId: import("effect/Schema").String;
|
|
322
|
+
readonly ownerUserId: import("effect/Schema").String;
|
|
323
|
+
readonly slug: import("effect/Schema").String;
|
|
324
|
+
readonly name: import("effect/Schema").String;
|
|
325
|
+
readonly description: import("effect/Schema").NullOr<import("effect/Schema").String>;
|
|
326
|
+
readonly status: import("effect/Schema").Literals<readonly ["active", "archived"]>;
|
|
327
|
+
readonly activeRevisionId: import("effect/Schema").NullOr<import("effect/Schema").String>;
|
|
328
|
+
readonly createdAt: import("effect/Schema").String;
|
|
329
|
+
readonly updatedAt: import("effect/Schema").String;
|
|
330
|
+
}>>;
|
|
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<{
|
|
332
332
|
readonly profileId: import("effect/Schema").String;
|
|
333
333
|
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
334
334
|
readonly ownerUserId: import("effect/Schema").String;
|
|
@@ -366,11 +366,17 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
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<"
|
|
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<
|
|
372
|
-
readonly
|
|
373
|
-
readonly
|
|
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,60 +393,24 @@ 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<"
|
|
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
|
|
394
|
-
readonly
|
|
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;
|
|
401
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./registries.js").RegistriesNotFoundError | typeof import("./registries.js").RegistriesBadGatewayError>, RequestRefusal, never>, false> | import("effect/unstable/httpapi/HttpApiGroup").HttpApiGroup<"runs", import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"getRun", "GET", "/v1/runs/:runId", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
402
|
-
readonly runId: import("effect/Schema").String;
|
|
403
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
404
|
-
readonly ownerUserId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
405
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
406
|
-
readonly runId: import("effect/Schema").String;
|
|
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
|
+
}>>, 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<{
|
|
407
402
|
readonly workspaceId: import("effect/Schema").String;
|
|
408
|
-
readonly attemptId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
409
|
-
readonly ownerUserId: import("effect/Schema").String;
|
|
410
403
|
readonly harnessId: import("effect/Schema").String;
|
|
411
|
-
readonly
|
|
412
|
-
readonly
|
|
404
|
+
readonly ownerUserId: import("effect/Schema").String;
|
|
405
|
+
readonly mode: import("effect/Schema").optional<import("effect/Schema").Literals<readonly ["one-shot", "interactive"]>>;
|
|
413
406
|
readonly prompt: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
407
|
+
readonly attemptId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
414
408
|
readonly command: import("effect/Schema").optional<import("effect/Schema").Struct<{
|
|
415
409
|
readonly executable: import("effect/Schema").String;
|
|
416
410
|
readonly args: import("effect/Schema").$Array<import("effect/Schema").String>;
|
|
417
411
|
readonly cwd: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
418
|
-
readonly argCount: import("effect/Schema").optional<import("effect/Schema").Number>;
|
|
419
|
-
readonly argLengths: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").Number>>;
|
|
420
412
|
}>>;
|
|
421
413
|
readonly metadata: import("effect/Schema").optional<import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").Unknown>>;
|
|
422
|
-
readonly user: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
423
|
-
readonly exitCode: import("effect/Schema").optional<import("effect/Schema").Number>;
|
|
424
|
-
readonly errorMessage: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
425
|
-
readonly startedAt: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
426
|
-
readonly finishedAt: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
427
|
-
readonly recordDeletedAt: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
428
|
-
readonly createdAt: import("effect/Schema").String;
|
|
429
|
-
readonly updatedAt: import("effect/Schema").String;
|
|
430
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./budgets.ts").BudgetExceededError | typeof import("./runs.js").RunNotFoundError | typeof import("./runs.js").RunInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"updateRun", "PATCH", "/v1/runs/:runId", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
431
|
-
readonly runId: import("effect/Schema").String;
|
|
432
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
433
|
-
readonly ownerUserId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
434
|
-
readonly status: import("effect/Schema").optional<import("effect/Schema").Literals<readonly ["queued", "running", "completed", "failed", "cancelled"]>>;
|
|
435
|
-
readonly exitCode: import("effect/Schema").optional<import("effect/Schema").Number>;
|
|
436
|
-
readonly errorMessage: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
437
|
-
readonly diff: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
438
|
-
readonly changedFiles: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").Struct<{
|
|
439
|
-
readonly path: import("effect/Schema").String;
|
|
440
|
-
readonly change: import("effect/Schema").Literals<readonly ["added", "modified", "deleted", "renamed"]>;
|
|
441
|
-
readonly oldPath: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
442
|
-
}>>>;
|
|
443
|
-
readonly changesReadFailed: import("effect/Schema").optional<import("effect/Schema").Boolean>;
|
|
444
414
|
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
445
415
|
readonly runId: import("effect/Schema").String;
|
|
446
416
|
readonly workspaceId: import("effect/Schema").String;
|
|
@@ -466,20 +436,11 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
466
436
|
readonly recordDeletedAt: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
467
437
|
readonly createdAt: import("effect/Schema").String;
|
|
468
438
|
readonly updatedAt: import("effect/Schema").String;
|
|
469
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./runs.js").RunBadRequestError | typeof import("./runs.js").RunNotFoundError | typeof import("./runs.js").RunInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"
|
|
470
|
-
readonly
|
|
471
|
-
|
|
472
|
-
readonly ownerUserId: import("effect/Schema").String
|
|
473
|
-
|
|
474
|
-
readonly prompt: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
475
|
-
readonly attemptId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
476
|
-
readonly command: import("effect/Schema").optional<import("effect/Schema").Struct<{
|
|
477
|
-
readonly executable: import("effect/Schema").String;
|
|
478
|
-
readonly args: import("effect/Schema").$Array<import("effect/Schema").String>;
|
|
479
|
-
readonly cwd: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
480
|
-
}>>;
|
|
481
|
-
readonly metadata: import("effect/Schema").optional<import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").Unknown>>;
|
|
482
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
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<{
|
|
440
|
+
readonly runId: import("effect/Schema").String;
|
|
441
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
442
|
+
readonly ownerUserId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
443
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
483
444
|
readonly runId: import("effect/Schema").String;
|
|
484
445
|
readonly workspaceId: import("effect/Schema").String;
|
|
485
446
|
readonly attemptId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
@@ -504,61 +465,22 @@ 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").
|
|
508
|
-
readonly
|
|
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<{
|
|
469
|
+
readonly runId: import("effect/Schema").String;
|
|
470
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
509
471
|
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
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<{
|
|
513
|
-
readonly
|
|
514
|
-
readonly
|
|
515
|
-
readonly
|
|
516
|
-
readonly
|
|
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;
|
|
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>;
|
|
538
477
|
}>>;
|
|
539
|
-
|
|
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<{
|
|
540
482
|
readonly runId: import("effect/Schema").String;
|
|
541
|
-
|
|
542
|
-
readonly ownerUserId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
543
|
-
readonly fromSequence: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
544
|
-
readonly toSequence: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
545
|
-
readonly limit: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
546
|
-
readonly kinds: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
547
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
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;
|
|
558
|
-
}>>;
|
|
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<{
|
|
560
|
-
readonly runId: import("effect/Schema").String;
|
|
561
|
-
readonly sequence: import("effect/Schema").String;
|
|
483
|
+
readonly sequence: import("effect/Schema").String;
|
|
562
484
|
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
563
485
|
readonly ownerUserId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
564
486
|
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<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,24 +518,116 @@ 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<"
|
|
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
|
|
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<{
|
|
619
596
|
readonly path: import("effect/Schema").String;
|
|
620
597
|
readonly change: import("effect/Schema").Literals<readonly ["added", "modified", "deleted", "renamed"]>;
|
|
621
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>>;
|
|
622
616
|
}>>;
|
|
623
|
-
readonly
|
|
624
|
-
readonly
|
|
625
|
-
readonly
|
|
626
|
-
|
|
617
|
+
readonly metadata: import("effect/Schema").optional<import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").Unknown>>;
|
|
618
|
+
readonly user: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
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
627
|
readonly sessionId: import("effect/Schema").String;
|
|
628
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
628
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
629
629
|
readonly ownerUserId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
630
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<
|
|
630
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
631
631
|
readonly authorization: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
632
632
|
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
633
633
|
readonly sessionId: import("effect/Schema").String;
|
|
@@ -649,10 +649,18 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
649
649
|
readonly outputHighWater: import("effect/Schema").String;
|
|
650
650
|
readonly createdAt: import("effect/Schema").String;
|
|
651
651
|
readonly endedAt: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
652
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./sessions.js").SessionBadRequestError | typeof import("./sessions.js").SessionUnauthorizedError | typeof import("./sessions.js").SessionForbiddenError | typeof import("./sessions.js").SessionNotFoundError | typeof import("./sessions.js").SessionInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"
|
|
653
|
-
readonly
|
|
654
|
-
|
|
655
|
-
readonly
|
|
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<{
|
|
653
|
+
readonly workspaceId: import("effect/Schema").String;
|
|
654
|
+
readonly ownerUserId: import("effect/Schema").String;
|
|
655
|
+
readonly argv: import("effect/Schema").$Array<import("effect/Schema").String>;
|
|
656
|
+
readonly cwd: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
657
|
+
readonly env: import("effect/Schema").optional<import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").String>>;
|
|
658
|
+
readonly cols: import("effect/Schema").optional<import("effect/Schema").Int>;
|
|
659
|
+
readonly rows: import("effect/Schema").optional<import("effect/Schema").Int>;
|
|
660
|
+
readonly term: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
661
|
+
readonly mode: import("effect/Schema").optional<import("effect/Schema").Literals<readonly ["pty", "pipe"]>>;
|
|
662
|
+
readonly metadata: import("effect/Schema").optional<import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").Unknown>>;
|
|
663
|
+
readonly user: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
656
664
|
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
657
665
|
readonly authorization: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
658
666
|
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
@@ -675,7 +683,7 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
675
683
|
readonly outputHighWater: import("effect/Schema").String;
|
|
676
684
|
readonly createdAt: import("effect/Schema").String;
|
|
677
685
|
readonly endedAt: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
678
|
-
}>>, 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<"
|
|
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<{
|
|
679
687
|
readonly workspaceId: import("effect/Schema").String;
|
|
680
688
|
readonly ownerUserId: import("effect/Schema").String;
|
|
681
689
|
readonly argv: import("effect/Schema").$Array<import("effect/Schema").String>;
|
|
@@ -686,7 +694,7 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
686
694
|
readonly term: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
687
695
|
readonly mode: import("effect/Schema").optional<import("effect/Schema").Literals<readonly ["pty", "pipe"]>>;
|
|
688
696
|
readonly metadata: import("effect/Schema").optional<import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").Unknown>>;
|
|
689
|
-
readonly user: import("effect/Schema").
|
|
697
|
+
readonly user: import("effect/Schema").String;
|
|
690
698
|
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
691
699
|
readonly authorization: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
692
700
|
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
@@ -709,19 +717,11 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
709
717
|
readonly outputHighWater: import("effect/Schema").String;
|
|
710
718
|
readonly createdAt: import("effect/Schema").String;
|
|
711
719
|
readonly endedAt: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
712
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./sessions.js").SessionBadRequestError | typeof import("./sessions.js").SessionUnauthorizedError | typeof import("./sessions.js").SessionForbiddenError | typeof import("./sessions.js").SessionNotFoundError | typeof import("./sessions.js").SessionConflictError | typeof import("./sessions.js").SessionBadGatewayError | typeof import("./sessions.js").SessionInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"
|
|
713
|
-
readonly
|
|
714
|
-
readonly ownerUserId: import("effect/Schema").String;
|
|
715
|
-
readonly argv: import("effect/Schema").$Array<import("effect/Schema").String>;
|
|
716
|
-
readonly cwd: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
717
|
-
readonly env: import("effect/Schema").optional<import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").String>>;
|
|
718
|
-
readonly cols: import("effect/Schema").optional<import("effect/Schema").Int>;
|
|
719
|
-
readonly rows: import("effect/Schema").optional<import("effect/Schema").Int>;
|
|
720
|
-
readonly term: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
721
|
-
readonly mode: import("effect/Schema").optional<import("effect/Schema").Literals<readonly ["pty", "pipe"]>>;
|
|
722
|
-
readonly metadata: import("effect/Schema").optional<import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").Unknown>>;
|
|
723
|
-
readonly user: import("effect/Schema").String;
|
|
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<{
|
|
721
|
+
readonly sessionId: import("effect/Schema").String;
|
|
724
722
|
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
723
|
+
readonly ownerUserId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
724
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
725
725
|
readonly authorization: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
726
726
|
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
727
727
|
readonly sessionId: import("effect/Schema").String;
|
|
@@ -743,7 +743,23 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
743
743
|
readonly outputHighWater: import("effect/Schema").String;
|
|
744
744
|
readonly createdAt: import("effect/Schema").String;
|
|
745
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").
|
|
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"]>;
|
|
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<{
|
|
747
763
|
readonly ownerUserId: import("effect/Schema").String;
|
|
748
764
|
readonly workspaceId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
749
765
|
readonly status: import("effect/Schema").optional<import("effect/Schema").Literals<readonly ["starting", "running", "exited", "failed"]>>;
|
|
@@ -772,37 +788,21 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
772
788
|
readonly createdAt: import("effect/Schema").String;
|
|
773
789
|
readonly endedAt: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
774
790
|
}>>;
|
|
775
|
-
}>>, 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<"
|
|
776
|
-
readonly sessionId: import("effect/Schema").String;
|
|
777
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
778
|
-
readonly ownerUserId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
779
|
-
readonly from: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
780
|
-
readonly limit: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
781
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
782
|
-
readonly authorization: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
783
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
784
|
-
readonly sessionId: import("effect/Schema").String;
|
|
785
|
-
readonly chunks: import("effect/Schema").$Array<import("effect/Schema").Struct<{
|
|
786
|
-
readonly sequence: import("effect/Schema").String;
|
|
787
|
-
readonly dataBase64: import("effect/Schema").String;
|
|
788
|
-
}>>;
|
|
789
|
-
readonly nextFrom: import("effect/Schema").String;
|
|
790
|
-
readonly status: import("effect/Schema").Literals<readonly ["starting", "running", "exited", "failed"]>;
|
|
791
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./sessions.js").SessionBadRequestError | typeof import("./sessions.js").SessionUnauthorizedError | typeof import("./sessions.js").SessionForbiddenError | typeof import("./sessions.js").SessionNotFoundError | typeof import("./sessions.js").SessionInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"sendSessionInput", "POST", "/v1/sessions/:sessionId/input", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
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<{
|
|
792
792
|
readonly sessionId: import("effect/Schema").String;
|
|
793
793
|
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
794
794
|
readonly ownerUserId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
795
|
-
readonly
|
|
795
|
+
readonly cols: import("effect/Schema").Int;
|
|
796
|
+
readonly rows: import("effect/Schema").Int;
|
|
796
797
|
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
797
798
|
readonly authorization: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
798
799
|
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
799
800
|
readonly ok: import("effect/Schema").Boolean;
|
|
800
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./sessions.js").SessionBadRequestError | typeof import("./sessions.js").SessionUnauthorizedError | typeof import("./sessions.js").SessionForbiddenError | typeof import("./sessions.js").SessionNotFoundError | typeof import("./sessions.js").SessionConflictError | typeof import("./sessions.js").SessionBadGatewayError | typeof import("./sessions.js").SessionInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"
|
|
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<{
|
|
801
802
|
readonly sessionId: import("effect/Schema").String;
|
|
802
803
|
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
803
804
|
readonly ownerUserId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
804
|
-
readonly
|
|
805
|
-
readonly rows: import("effect/Schema").Int;
|
|
805
|
+
readonly dataBase64: import("effect/Schema").String;
|
|
806
806
|
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
807
807
|
readonly authorization: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
808
808
|
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
@@ -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,24 +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
|
|
889
|
-
readonly
|
|
890
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
891
|
-
readonly
|
|
892
|
-
|
|
893
|
-
readonly name: import("effect/Schema").String;
|
|
894
|
-
readonly createdAt: import("effect/Schema").String;
|
|
895
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./users.js").UserNotFoundError | typeof import("./users.js").UserInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"ensureUser", "POST", "/v1/users/", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
896
|
-
readonly email: import("effect/Schema").String;
|
|
897
|
-
readonly name: import("effect/Schema").String;
|
|
898
|
-
readonly userId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
899
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
900
|
-
readonly userId: import("effect/Schema").String;
|
|
901
|
-
readonly email: import("effect/Schema").String;
|
|
902
|
-
readonly name: import("effect/Schema").String;
|
|
903
|
-
readonly createdAt: import("effect/Schema").String;
|
|
904
|
-
readonly created: import("effect/Schema").Boolean;
|
|
905
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./users.js").UserBadRequestError | typeof import("./users.js").UserInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"bindUserPerson", "POST", "/v1/users/:userId/person", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
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<{
|
|
906
889
|
readonly userId: import("effect/Schema").String;
|
|
907
890
|
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
908
891
|
readonly id: import("effect/Schema").String;
|
|
@@ -916,16 +899,44 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
916
899
|
readonly home: import("effect/Schema").String;
|
|
917
900
|
}>;
|
|
918
901
|
readonly created: import("effect/Schema").Boolean;
|
|
919
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./users.js").UserPersonConflictError | typeof import("./users.js").UserBadRequestError | typeof import("./users.js").UserNotFoundError | typeof import("./users.js").UserInternalServerError>, RequestRefusal, never
|
|
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
|
+
readonly userId: import("effect/Schema").String;
|
|
914
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
915
|
+
readonly userId: import("effect/Schema").String;
|
|
916
|
+
readonly email: import("effect/Schema").String;
|
|
917
|
+
readonly name: import("effect/Schema").String;
|
|
918
|
+
readonly createdAt: import("effect/Schema").String;
|
|
919
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./users.js").UserNotFoundError | typeof import("./users.js").UserInternalServerError>, RequestRefusal, never>, false> | import("effect/unstable/httpapi/HttpApiGroup").HttpApiGroup<"workspaces", import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"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
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
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
|
|
923
|
+
readonly onBehalfOfUserId: import("effect/Schema").String;
|
|
924
|
+
readonly user: import("effect/Schema").String;
|
|
925
|
+
readonly home: import("effect/Schema").String;
|
|
926
|
+
readonly repository: import("effect/Schema").optional<import("effect/Schema").Struct<{
|
|
927
|
+
readonly url: import("effect/Schema").String;
|
|
928
|
+
readonly ref: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
929
|
+
readonly manager: import("effect/Schema").optional<import("effect/Schema").Literals<readonly ["auto", "chezmoi", "stow", "copy"]>>;
|
|
930
|
+
readonly bootstrap: import("effect/Schema").optional<import("effect/Schema").Boolean>;
|
|
931
|
+
readonly bootstrapCommand: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
927
932
|
}>>;
|
|
928
|
-
readonly
|
|
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
|
+
}>>>;
|
|
929
940
|
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
930
941
|
readonly runId: import("effect/Schema").String;
|
|
931
942
|
readonly workspaceId: import("effect/Schema").String;
|
|
@@ -951,16 +962,97 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
951
962
|
readonly recordDeletedAt: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
952
963
|
readonly createdAt: import("effect/Schema").String;
|
|
953
964
|
readonly updatedAt: import("effect/Schema").String;
|
|
954
|
-
}>>, 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<"
|
|
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<{
|
|
955
966
|
readonly workspaceId: import("effect/Schema").String;
|
|
956
967
|
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
957
968
|
readonly ownerUserId: import("effect/Schema").String;
|
|
958
|
-
readonly
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
|
|
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;
|
|
962
975
|
}>>;
|
|
963
|
-
|
|
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<{
|
|
991
|
+
readonly workspaceId: import("effect/Schema").String;
|
|
992
|
+
readonly sshUser: import("effect/Schema").Null;
|
|
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<{
|
|
994
|
+
readonly ownerUserId: import("effect/Schema").String;
|
|
995
|
+
readonly registryId: import("effect/Schema").String;
|
|
996
|
+
readonly repository: import("effect/Schema").String;
|
|
997
|
+
readonly tag: import("effect/Schema").String;
|
|
998
|
+
readonly name: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
999
|
+
readonly sourceSelection: import("effect/Schema").optional<import("effect/Schema").Struct<{
|
|
1000
|
+
readonly provider: import("effect/Schema").Literal<"github">;
|
|
1001
|
+
readonly installationId: import("effect/Schema").String;
|
|
1002
|
+
readonly installationRepositoryId: import("effect/Schema").String;
|
|
1003
|
+
readonly ref: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1004
|
+
}>>;
|
|
1005
|
+
readonly dotfilesSelection: import("effect/Schema").optional<import("effect/Schema").Struct<{
|
|
1006
|
+
readonly provider: import("effect/Schema").Literal<"github">;
|
|
1007
|
+
readonly installationId: import("effect/Schema").String;
|
|
1008
|
+
readonly installationRepositoryId: import("effect/Schema").String;
|
|
1009
|
+
readonly ref: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1010
|
+
}>>;
|
|
1011
|
+
readonly credentials: import("effect/Schema").optional<import("effect/Schema").Struct<{
|
|
1012
|
+
readonly profileId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1013
|
+
readonly claude: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1014
|
+
readonly codex: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1015
|
+
readonly github: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1016
|
+
}>>;
|
|
1017
|
+
readonly spec: import("effect/Schema").Unknown;
|
|
1018
|
+
readonly secretEnv: import("effect/Schema").optional<import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").String>>;
|
|
1019
|
+
readonly captureToken: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1020
|
+
readonly ttlSeconds: import("effect/Schema").optional<import("effect/Schema").Int>;
|
|
1021
|
+
readonly idempotencyKey: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1022
|
+
readonly launchId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1023
|
+
readonly sshAsOwner: import("effect/Schema").optional<import("effect/Schema").Boolean>;
|
|
1024
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
1025
|
+
readonly "idempotency-key": import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1026
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
1027
|
+
readonly workspaceId: import("effect/Schema").String;
|
|
1028
|
+
readonly name: import("effect/Schema").String;
|
|
1029
|
+
readonly status: import("effect/Schema").Literals<readonly ["queued", "running", "ready", "failed", "cancelled", "stopped", "retained"]>;
|
|
1030
|
+
readonly registryId: import("effect/Schema").String;
|
|
1031
|
+
readonly repository: import("effect/Schema").String;
|
|
1032
|
+
readonly tag: import("effect/Schema").String;
|
|
1033
|
+
readonly runId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1034
|
+
readonly runtime: import("effect/Schema").optional<import("effect/Schema").Struct<{
|
|
1035
|
+
readonly adapter: import("effect/Schema").Literals<readonly ["docker", "k8s", "k3s", "cloudflare", "microvm"]>;
|
|
1036
|
+
readonly resourceId: import("effect/Schema").String;
|
|
1037
|
+
readonly reference: import("effect/Schema").String;
|
|
1038
|
+
readonly status: import("effect/Schema").Literals<readonly ["pending", "running", "ready", "failed", "stopped", "retained"]>;
|
|
1039
|
+
readonly endpoint: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1040
|
+
readonly deadline: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").String>>;
|
|
1041
|
+
readonly runId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1042
|
+
readonly launchId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1043
|
+
}>>;
|
|
1044
|
+
readonly replayed: import("effect/Schema").optional<import("effect/Schema").Boolean>;
|
|
1045
|
+
readonly launchId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1046
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./budgets.ts").BudgetExceededError | typeof import("./workspaces.js").WorkspaceBadRequestError | typeof import("./workspaces.js").WorkspaceRuntimeEnvReferencesUnsupportedError | typeof import("./workspaces.js").WorkspaceDockerServiceUnsupportedError | typeof import("./workspaces.js").WorkspaceSshOwnerRefusedError | typeof import("./workspaces.js").WorkspaceForbiddenError | typeof import("./workspaces.js").WorkspaceNotFoundError | typeof import("./workspaces.js").WorkspaceConflictError | typeof import("./workspaces.js").WorkspaceBadGatewayError | typeof import("./workspaces.js").WorkspaceServiceUnavailableError | typeof import("./workspaces.js").WorkspaceInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"execWorkspace", "POST", "/v1/workspaces/:workspaceId/exec", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
1047
|
+
readonly workspaceId: import("effect/Schema").String;
|
|
1048
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
1049
|
+
readonly ownerUserId: import("effect/Schema").String;
|
|
1050
|
+
readonly commands: import("effect/Schema").$Array<import("effect/Schema").Struct<{
|
|
1051
|
+
readonly executable: import("effect/Schema").String;
|
|
1052
|
+
readonly args: import("effect/Schema").$Array<import("effect/Schema").String>;
|
|
1053
|
+
readonly cwd: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1054
|
+
}>>;
|
|
1055
|
+
readonly user: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
964
1056
|
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
965
1057
|
readonly runId: import("effect/Schema").String;
|
|
966
1058
|
readonly workspaceId: import("effect/Schema").String;
|
|
@@ -986,27 +1078,16 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
986
1078
|
readonly recordDeletedAt: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
987
1079
|
readonly createdAt: import("effect/Schema").String;
|
|
988
1080
|
readonly updatedAt: import("effect/Schema").String;
|
|
989
|
-
}>>, 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<"
|
|
1081
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./workspaces.js").WorkspaceBadRequestError | typeof import("./workspaces.js").WorkspaceNotFoundError | typeof import("./workspaces.js").WorkspaceConflictError | typeof import("./workspaces.js").WorkspaceBadGatewayError | typeof import("./workspaces.js").WorkspaceInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"execWorkspaceAsUser", "POST", "/v1/workspaces/:workspaceId/exec-as-user", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
990
1082
|
readonly workspaceId: import("effect/Schema").String;
|
|
991
1083
|
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
992
1084
|
readonly ownerUserId: import("effect/Schema").String;
|
|
993
|
-
readonly
|
|
994
|
-
|
|
995
|
-
|
|
996
|
-
|
|
997
|
-
readonly url: import("effect/Schema").String;
|
|
998
|
-
readonly ref: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
999
|
-
readonly manager: import("effect/Schema").optional<import("effect/Schema").Literals<readonly ["auto", "chezmoi", "stow", "copy"]>>;
|
|
1000
|
-
readonly bootstrap: import("effect/Schema").optional<import("effect/Schema").Boolean>;
|
|
1001
|
-
readonly bootstrapCommand: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1085
|
+
readonly commands: import("effect/Schema").$Array<import("effect/Schema").Struct<{
|
|
1086
|
+
readonly executable: import("effect/Schema").String;
|
|
1087
|
+
readonly args: import("effect/Schema").$Array<import("effect/Schema").String>;
|
|
1088
|
+
readonly cwd: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1002
1089
|
}>>;
|
|
1003
|
-
readonly
|
|
1004
|
-
readonly data: import("effect/Schema").String;
|
|
1005
|
-
readonly manager: import("effect/Schema").optional<import("effect/Schema").Literals<readonly ["auto", "chezmoi", "stow", "copy"]>>;
|
|
1006
|
-
readonly target: import("effect/Schema").optional<import("effect/Schema").Literals<readonly ["home", "config"]>>;
|
|
1007
|
-
readonly bootstrap: import("effect/Schema").optional<import("effect/Schema").Boolean>;
|
|
1008
|
-
readonly bootstrapCommand: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1009
|
-
}>>>;
|
|
1090
|
+
readonly user: import("effect/Schema").String;
|
|
1010
1091
|
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
1011
1092
|
readonly runId: import("effect/Schema").String;
|
|
1012
1093
|
readonly workspaceId: import("effect/Schema").String;
|
|
@@ -1032,41 +1113,22 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
1032
1113
|
readonly recordDeletedAt: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1033
1114
|
readonly createdAt: import("effect/Schema").String;
|
|
1034
1115
|
readonly updatedAt: import("effect/Schema").String;
|
|
1035
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./workspaces.js").WorkspaceBadRequestError | typeof import("./workspaces.js").
|
|
1036
|
-
readonly workspaceId: import("effect/Schema").String;
|
|
1037
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
1038
|
-
readonly "x-sealant-gateway-token": import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1039
|
-
readonly "x-sealant-principal-id": import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1040
|
-
readonly "x-sealant-gateway-ssh-user": import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1041
|
-
readonly "x-sealant-ssh-key-fingerprint": import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1042
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
1043
|
-
readonly workspaceId: import("effect/Schema").String;
|
|
1044
|
-
readonly attemptId: import("effect/Schema").String;
|
|
1045
|
-
readonly runtime: import("effect/Schema").Struct<{
|
|
1046
|
-
readonly adapter: import("effect/Schema").Literals<readonly ["docker", "k8s", "k3s", "cloudflare", "microvm"]>;
|
|
1047
|
-
readonly resourceId: import("effect/Schema").String;
|
|
1048
|
-
readonly reference: import("effect/Schema").String;
|
|
1049
|
-
readonly status: import("effect/Schema").Literals<readonly ["pending", "running", "ready", "failed", "stopped"]>;
|
|
1050
|
-
readonly endpoint: import("effect/Schema").String;
|
|
1051
|
-
}>;
|
|
1052
|
-
readonly sessionUser: import("effect/Schema").NullOr<import("effect/Schema").String>;
|
|
1053
|
-
readonly sshKeyFingerprint: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1054
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./workspaces.js").WorkspaceUnauthorizedError | typeof import("./workspaces.js").WorkspaceSshKeyNoLongerRegisteredError | typeof import("./workspaces.js").WorkspaceNotFoundError | typeof import("./workspaces.js").WorkspaceConflictError | typeof import("./workspaces.js").WorkspaceServiceUnavailableError | typeof import("./workspaces.js").WorkspaceInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"bindWorkspace", "POST", "/v1/workspaces/:workspaceId/bind", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
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<{
|
|
1055
1117
|
readonly workspaceId: import("effect/Schema").String;
|
|
1056
1118
|
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
1057
1119
|
readonly ownerUserId: import("effect/Schema").String;
|
|
1058
|
-
readonly
|
|
1059
|
-
readonly subpath: import("effect/Schema").String;
|
|
1120
|
+
readonly ttlSeconds: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").Int>>;
|
|
1060
1121
|
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
1061
|
-
readonly binds: import("effect/Schema").$Array<import("effect/Schema").Struct<{
|
|
1062
|
-
readonly mountPath: import("effect/Schema").String;
|
|
1063
|
-
readonly subpath: import("effect/Schema").String;
|
|
1064
|
-
}>>;
|
|
1065
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./workspaces.js").WorkspaceBadRequestError | typeof import("./workspaces.js").WorkspaceNotFoundError | typeof import("./workspaces.js").WorkspaceConflictError | typeof import("./workspaces.js").WorkspaceInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"getWorkspaceCaptureStatus", "GET", "/v1/workspaces/:workspaceId/capture", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
1066
1122
|
readonly workspaceId: import("effect/Schema").String;
|
|
1067
|
-
|
|
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<{
|
|
1125
|
+
readonly workspaceId: import("effect/Schema").String;
|
|
1126
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
1068
1127
|
readonly ownerUserId: import("effect/Schema").String;
|
|
1069
|
-
|
|
1128
|
+
readonly kind: import("effect/Schema").optional<import("effect/Schema").Literals<readonly ["final", "suspend"]>>;
|
|
1129
|
+
readonly deadlineMs: import("effect/Schema").optional<import("effect/Schema").Int>;
|
|
1130
|
+
readonly graceMs: import("effect/Schema").optional<import("effect/Schema").Int>;
|
|
1131
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
1070
1132
|
readonly epoch: import("effect/Schema").Number;
|
|
1071
1133
|
readonly worktreeId: import("effect/Schema").String;
|
|
1072
1134
|
readonly headN: import("effect/Schema").optional<import("effect/Schema").Number>;
|
|
@@ -1116,14 +1178,108 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
1116
1178
|
readonly boundMs: import("effect/Schema").Number;
|
|
1117
1179
|
}>>;
|
|
1118
1180
|
readonly ownerMap: import("effect/Schema").optional<import("effect/Schema").Boolean>;
|
|
1119
|
-
}>>, 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<"
|
|
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<{
|
|
1120
1182
|
readonly workspaceId: import("effect/Schema").String;
|
|
1121
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<
|
|
1183
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
1184
|
+
readonly ownerUserId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
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<{
|
|
1186
|
+
readonly workspaceId: import("effect/Schema").String;
|
|
1187
|
+
readonly name: import("effect/Schema").String;
|
|
1122
1188
|
readonly ownerUserId: import("effect/Schema").String;
|
|
1123
|
-
readonly
|
|
1124
|
-
readonly
|
|
1125
|
-
readonly
|
|
1126
|
-
|
|
1189
|
+
readonly status: import("effect/Schema").Literals<readonly ["queued", "running", "ready", "failed", "cancelled", "stopped", "retained"]>;
|
|
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>;
|
|
1202
|
+
}>>;
|
|
1203
|
+
readonly publishedImage: import("effect/Schema").optional<import("effect/Schema").Struct<{
|
|
1204
|
+
readonly reference: import("effect/Schema").String;
|
|
1205
|
+
readonly digestReference: import("effect/Schema").String;
|
|
1206
|
+
readonly digest: import("effect/Schema").String;
|
|
1207
|
+
readonly personLayout: import("effect/Schema").optional<import("effect/Schema").Struct<{
|
|
1208
|
+
readonly status: import("effect/Schema").Literals<readonly ["supported", "unsupported", "unknown"]>;
|
|
1209
|
+
readonly missing: import("effect/Schema").$Array<import("effect/Schema").String>;
|
|
1210
|
+
readonly unknown: import("effect/Schema").$Array<import("effect/Schema").String>;
|
|
1211
|
+
readonly runtime: import("effect/Schema").String;
|
|
1212
|
+
readonly acl: import("effect/Schema").Literals<readonly ["supported", "unsupported", "unknown"]>;
|
|
1213
|
+
}>>;
|
|
1214
|
+
}>>;
|
|
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<{
|
|
1279
|
+
readonly workspaceId: import("effect/Schema").String;
|
|
1280
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
1281
|
+
readonly ownerUserId: import("effect/Schema").String;
|
|
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<{
|
|
1127
1283
|
readonly epoch: import("effect/Schema").Number;
|
|
1128
1284
|
readonly worktreeId: import("effect/Schema").String;
|
|
1129
1285
|
readonly headN: import("effect/Schema").optional<import("effect/Schema").Number>;
|
|
@@ -1173,73 +1329,36 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
1173
1329
|
readonly boundMs: import("effect/Schema").Number;
|
|
1174
1330
|
}>>;
|
|
1175
1331
|
readonly ownerMap: import("effect/Schema").optional<import("effect/Schema").Boolean>;
|
|
1176
|
-
}>>, 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<"
|
|
1177
|
-
readonly
|
|
1178
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<
|
|
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<{
|
|
1333
|
+
readonly idempotencyKey: import("effect/Schema").String;
|
|
1334
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
1179
1335
|
readonly ownerUserId: import("effect/Schema").String;
|
|
1180
|
-
|
|
1181
|
-
|
|
1182
|
-
|
|
1183
|
-
|
|
1184
|
-
|
|
1185
|
-
|
|
1186
|
-
|
|
1187
|
-
}>>>;
|
|
1188
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
1189
|
-
readonly worktreeId: import("effect/Schema").String;
|
|
1190
|
-
readonly epoch: import("effect/Schema").Number;
|
|
1191
|
-
readonly headN: import("effect/Schema").optional<import("effect/Schema").Number>;
|
|
1192
|
-
readonly headCaptureId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1193
|
-
readonly filesWritten: import("effect/Schema").Number;
|
|
1194
|
-
readonly bytesWritten: import("effect/Schema").Number;
|
|
1195
|
-
readonly filesSkipped: import("effect/Schema").Number;
|
|
1196
|
-
readonly bytesSkipped: import("effect/Schema").Number;
|
|
1197
|
-
readonly removed: import("effect/Schema").Number;
|
|
1198
|
-
readonly unchanged: import("effect/Schema").Boolean;
|
|
1199
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./workspaces.js").WorkspaceBadRequestError | typeof import("./workspaces.js").WorkspaceNotFoundError | typeof import("./workspaces.js").WorkspaceConflictError | typeof import("./workspaces.js").WorkspaceInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"stopWorkspace", "POST", "/v1/workspaces/:workspaceId/stop", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
1200
|
-
readonly workspaceId: import("effect/Schema").String;
|
|
1201
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
1202
|
-
readonly ownerUserId: import("effect/Schema").String;
|
|
1203
|
-
readonly discardUnsaved: import("effect/Schema").optional<import("effect/Schema").Boolean>;
|
|
1204
|
-
readonly completion: import("effect/Schema").optional<import("effect/Schema").Struct<{
|
|
1205
|
-
readonly captureN: import("effect/Schema").Int;
|
|
1206
|
-
readonly epoch: import("effect/Schema").Int;
|
|
1207
|
-
readonly executorId: import("effect/Schema").String;
|
|
1208
|
-
readonly launchId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1209
|
-
readonly sealedAt: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1210
|
-
readonly origin: import("effect/Schema").optional<import("effect/Schema").Struct<{
|
|
1211
|
-
readonly epoch: import("effect/Schema").Int;
|
|
1212
|
-
readonly launch: import("effect/Schema").String;
|
|
1213
|
-
readonly bootId: import("effect/Schema").String;
|
|
1214
|
-
readonly bootGeneration: import("effect/Schema").Int;
|
|
1215
|
-
readonly observation: import("effect/Schema").Int;
|
|
1216
|
-
readonly headN: import("effect/Schema").optional<import("effect/Schema").Int>;
|
|
1217
|
-
}>>;
|
|
1218
|
-
}>>;
|
|
1219
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
1220
|
-
readonly workspaceId: import("effect/Schema").String;
|
|
1221
|
-
readonly status: import("effect/Schema").Literals<readonly ["queued", "running", "ready", "failed", "cancelled", "stopped", "retained"]>;
|
|
1222
|
-
readonly completion: import("effect/Schema").optional<import("effect/Schema").Struct<{
|
|
1223
|
-
readonly outcome: import("effect/Schema").Literals<readonly ["accepted", "ignored"]>;
|
|
1224
|
-
readonly detail: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1225
|
-
}>>;
|
|
1226
|
-
}>>, 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<{
|
|
1227
|
-
readonly workspaceId: import("effect/Schema").String;
|
|
1228
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
1229
|
-
readonly ownerUserId: import("effect/Schema").String;
|
|
1230
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
1231
|
-
readonly workspaceId: import("effect/Schema").String;
|
|
1232
|
-
readonly state: import("effect/Schema").Literals<readonly ["requested", "not-retained"]>;
|
|
1233
|
-
readonly recoverable: import("effect/Schema").optional<import("effect/Schema").Boolean>;
|
|
1234
|
-
}>>, 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<{
|
|
1336
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
1337
|
+
readonly idempotencyKey: import("effect/Schema").String;
|
|
1338
|
+
readonly state: import("effect/Schema").Literals<readonly ["pending", "found", "cancelled", "none"]>;
|
|
1339
|
+
readonly workspaceId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1340
|
+
readonly runId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1341
|
+
readonly launchId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
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<{
|
|
1235
1343
|
readonly workspaceId: import("effect/Schema").String;
|
|
1236
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").
|
|
1237
|
-
readonly
|
|
1238
|
-
|
|
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<{
|
|
1239
1350
|
readonly workspaceId: import("effect/Schema").String;
|
|
1240
|
-
readonly
|
|
1241
|
-
readonly
|
|
1242
|
-
|
|
1351
|
+
readonly attemptId: import("effect/Schema").String;
|
|
1352
|
+
readonly runtime: import("effect/Schema").Struct<{
|
|
1353
|
+
readonly adapter: import("effect/Schema").Literals<readonly ["docker", "k8s", "k3s", "cloudflare", "microvm"]>;
|
|
1354
|
+
readonly resourceId: import("effect/Schema").String;
|
|
1355
|
+
readonly reference: import("effect/Schema").String;
|
|
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<{
|
|
1243
1362
|
readonly ownerUserId: import("effect/Schema").String;
|
|
1244
1363
|
readonly registryId: import("effect/Schema").String;
|
|
1245
1364
|
readonly spec: import("effect/Schema").Unknown;
|
|
@@ -1264,24 +1383,61 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
1264
1383
|
readonly runtime: import("effect/Schema").String;
|
|
1265
1384
|
readonly acl: import("effect/Schema").Literals<readonly ["supported", "unsupported", "unknown"]>;
|
|
1266
1385
|
}>;
|
|
1267
|
-
}>>, 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<"
|
|
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<{
|
|
1268
1387
|
readonly workspaceId: import("effect/Schema").String;
|
|
1269
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<
|
|
1388
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
1389
|
+
readonly ownerUserId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1390
|
+
readonly limit: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
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<{
|
|
1392
|
+
readonly items: import("effect/Schema").$Array<import("effect/Schema").Struct<{
|
|
1393
|
+
readonly attemptId: import("effect/Schema").String;
|
|
1394
|
+
readonly relation: import("effect/Schema").Literals<readonly ["launch", "rebuild", "retry", "resume"]>;
|
|
1395
|
+
readonly status: import("effect/Schema").Literals<readonly ["queued", "running", "ready", "failed", "cancelled", "stopped", "retained"]>;
|
|
1396
|
+
readonly triggerType: import("effect/Schema").Literals<readonly ["manual", "schedule", "api", "retry"]>;
|
|
1397
|
+
readonly triggerRef: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1398
|
+
readonly runtime: import("effect/Schema").optional<import("effect/Schema").Struct<{
|
|
1399
|
+
readonly adapter: import("effect/Schema").Literals<readonly ["docker", "k8s", "k3s", "cloudflare", "microvm"]>;
|
|
1400
|
+
readonly resourceId: import("effect/Schema").String;
|
|
1401
|
+
readonly reference: import("effect/Schema").String;
|
|
1402
|
+
readonly status: import("effect/Schema").Literals<readonly ["pending", "running", "ready", "failed", "stopped", "retained"]>;
|
|
1403
|
+
readonly endpoint: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1404
|
+
readonly deadline: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").String>>;
|
|
1405
|
+
readonly runId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1406
|
+
readonly launchId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1407
|
+
}>>;
|
|
1408
|
+
readonly publishedImage: import("effect/Schema").optional<import("effect/Schema").Struct<{
|
|
1409
|
+
readonly reference: import("effect/Schema").String;
|
|
1410
|
+
readonly digestReference: import("effect/Schema").String;
|
|
1411
|
+
readonly digest: import("effect/Schema").String;
|
|
1412
|
+
readonly personLayout: import("effect/Schema").optional<import("effect/Schema").Struct<{
|
|
1413
|
+
readonly status: import("effect/Schema").Literals<readonly ["supported", "unsupported", "unknown"]>;
|
|
1414
|
+
readonly missing: import("effect/Schema").$Array<import("effect/Schema").String>;
|
|
1415
|
+
readonly unknown: import("effect/Schema").$Array<import("effect/Schema").String>;
|
|
1416
|
+
readonly runtime: import("effect/Schema").String;
|
|
1417
|
+
readonly acl: import("effect/Schema").Literals<readonly ["supported", "unsupported", "unknown"]>;
|
|
1418
|
+
}>>;
|
|
1419
|
+
}>>;
|
|
1420
|
+
readonly error: import("effect/Schema").optional<import("effect/Schema").Struct<{
|
|
1421
|
+
readonly message: import("effect/Schema").String;
|
|
1422
|
+
readonly code: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1423
|
+
}>>;
|
|
1424
|
+
readonly spec: import("effect/Schema").optional<import("effect/Schema").Unknown>;
|
|
1425
|
+
readonly queuedAt: import("effect/Schema").String;
|
|
1426
|
+
readonly createdAt: import("effect/Schema").String;
|
|
1427
|
+
readonly updatedAt: import("effect/Schema").String;
|
|
1428
|
+
readonly linkedAt: import("effect/Schema").String;
|
|
1429
|
+
readonly startedAt: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1430
|
+
readonly finishedAt: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1431
|
+
readonly durationMs: import("effect/Schema").optional<import("effect/Schema").Number>;
|
|
1432
|
+
}>>;
|
|
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<{
|
|
1270
1436
|
readonly ownerUserId: import("effect/Schema").String;
|
|
1271
|
-
|
|
1272
|
-
readonly home: import("effect/Schema").String;
|
|
1273
|
-
readonly uid: import("effect/Schema").optional<import("effect/Schema").Int>;
|
|
1274
|
-
readonly gid: import("effect/Schema").optional<import("effect/Schema").Int>;
|
|
1275
|
-
readonly claude: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").String>>;
|
|
1276
|
-
readonly codex: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").String>>;
|
|
1277
|
-
readonly github: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").String>>;
|
|
1278
|
-
readonly pi: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").String>>;
|
|
1279
|
-
readonly opencode: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").String>>;
|
|
1280
|
-
readonly partial: import("effect/Schema").optional<import("effect/Schema").Boolean>;
|
|
1281
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
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<{
|
|
1282
1438
|
readonly workspaceId: import("effect/Schema").String;
|
|
1283
1439
|
readonly runId: import("effect/Schema").String;
|
|
1284
|
-
readonly
|
|
1440
|
+
readonly homes: import("effect/Schema").$Array<import("effect/Schema").Struct<{
|
|
1285
1441
|
readonly home: import("effect/Schema").String;
|
|
1286
1442
|
readonly onBehalfOfUserId: import("effect/Schema").String;
|
|
1287
1443
|
readonly accounts: import("effect/Schema").Struct<{
|
|
@@ -1306,30 +1462,98 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
1306
1462
|
readonly name: import("effect/Schema").String;
|
|
1307
1463
|
}>>;
|
|
1308
1464
|
}>;
|
|
1309
|
-
}
|
|
1310
|
-
|
|
1311
|
-
readonly provider: import("effect/Schema").Literals<readonly ["claude", "codex", "github", "pi", "opencode"]>;
|
|
1312
|
-
readonly code: import("effect/Schema").Literals<readonly ["connected-account-missing", "connected-account-invalid", "connected-account-unsupported", "login-file-unusable"]>;
|
|
1313
|
-
readonly message: import("effect/Schema").String;
|
|
1314
|
-
}>>>;
|
|
1315
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./workspaces.js").WorkspaceBadRequestError | typeof import("./workspaces.js").WorkspaceForbiddenError | typeof import("./workspaces.js").WorkspaceNotFoundError | typeof import("./workspaces.js").WorkspaceConflictError | typeof import("./workspaces.js").WorkspaceBadGatewayError | typeof import("./workspaces.js").WorkspaceServiceUnavailableError | typeof import("./workspaces.js").WorkspaceInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"releaseWorkspaceCredentials", "DELETE", "/v1/workspaces/:workspaceId/credentials", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
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<{
|
|
1316
1467
|
readonly workspaceId: import("effect/Schema").String;
|
|
1317
1468
|
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
1469
|
+
readonly ownerUserId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1470
|
+
readonly limit: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
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<{
|
|
1472
|
+
readonly items: import("effect/Schema").$Array<import("effect/Schema").Struct<{
|
|
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<{
|
|
1318
1482
|
readonly ownerUserId: import("effect/Schema").String;
|
|
1319
|
-
readonly
|
|
1320
|
-
|
|
1321
|
-
readonly
|
|
1322
|
-
|
|
1323
|
-
readonly
|
|
1324
|
-
|
|
1325
|
-
|
|
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;
|
|
1491
|
+
readonly status: import("effect/Schema").Literals<readonly ["queued", "running", "ready", "failed", "cancelled", "stopped", "retained"]>;
|
|
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>;
|
|
1495
|
+
readonly runtime: import("effect/Schema").optional<import("effect/Schema").Struct<{
|
|
1496
|
+
readonly adapter: import("effect/Schema").Literals<readonly ["docker", "k8s", "k3s", "cloudflare", "microvm"]>;
|
|
1497
|
+
readonly resourceId: import("effect/Schema").String;
|
|
1498
|
+
readonly reference: import("effect/Schema").String;
|
|
1499
|
+
readonly status: import("effect/Schema").Literals<readonly ["pending", "running", "ready", "failed", "stopped", "retained"]>;
|
|
1500
|
+
readonly endpoint: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1501
|
+
readonly deadline: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").String>>;
|
|
1502
|
+
readonly runId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1503
|
+
readonly launchId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1504
|
+
}>>;
|
|
1505
|
+
readonly publishedImage: import("effect/Schema").optional<import("effect/Schema").Struct<{
|
|
1506
|
+
readonly reference: import("effect/Schema").String;
|
|
1507
|
+
readonly digestReference: import("effect/Schema").String;
|
|
1508
|
+
readonly digest: import("effect/Schema").String;
|
|
1509
|
+
readonly personLayout: import("effect/Schema").optional<import("effect/Schema").Struct<{
|
|
1510
|
+
readonly status: import("effect/Schema").Literals<readonly ["supported", "unsupported", "unknown"]>;
|
|
1511
|
+
readonly missing: import("effect/Schema").$Array<import("effect/Schema").String>;
|
|
1512
|
+
readonly unknown: import("effect/Schema").$Array<import("effect/Schema").String>;
|
|
1513
|
+
readonly runtime: import("effect/Schema").String;
|
|
1514
|
+
readonly acl: import("effect/Schema").Literals<readonly ["supported", "unsupported", "unknown"]>;
|
|
1515
|
+
}>>;
|
|
1516
|
+
}>>;
|
|
1517
|
+
readonly processUser: import("effect/Schema").optional<import("effect/Schema").Literals<readonly ["supported", "unsupported", "unknown"]>>;
|
|
1518
|
+
readonly error: import("effect/Schema").optional<import("effect/Schema").Struct<{
|
|
1519
|
+
readonly message: import("effect/Schema").String;
|
|
1520
|
+
readonly code: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1521
|
+
}>>;
|
|
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
|
+
}>>;
|
|
1533
|
+
readonly createdAt: import("effect/Schema").String;
|
|
1534
|
+
readonly updatedAt: import("effect/Schema").String;
|
|
1535
|
+
readonly startedAt: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1536
|
+
readonly finishedAt: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1537
|
+
readonly expiresAt: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1538
|
+
}>>;
|
|
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<{
|
|
1326
1540
|
readonly workspaceId: import("effect/Schema").String;
|
|
1327
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
1541
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
1328
1542
|
readonly ownerUserId: import("effect/Schema").String;
|
|
1329
|
-
|
|
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<{
|
|
1330
1554
|
readonly workspaceId: import("effect/Schema").String;
|
|
1331
1555
|
readonly runId: import("effect/Schema").String;
|
|
1332
|
-
readonly
|
|
1556
|
+
readonly home: import("effect/Schema").Struct<{
|
|
1333
1557
|
readonly home: import("effect/Schema").String;
|
|
1334
1558
|
readonly onBehalfOfUserId: import("effect/Schema").String;
|
|
1335
1559
|
readonly accounts: import("effect/Schema").Struct<{
|
|
@@ -1354,16 +1578,31 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
1354
1578
|
readonly name: import("effect/Schema").String;
|
|
1355
1579
|
}>>;
|
|
1356
1580
|
}>;
|
|
1357
|
-
}
|
|
1358
|
-
|
|
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<{
|
|
1359
1588
|
readonly workspaceId: import("effect/Schema").String;
|
|
1360
1589
|
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
1361
1590
|
readonly ownerUserId: import("effect/Schema").String;
|
|
1362
|
-
readonly ttlSeconds: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").Int>>;
|
|
1363
1591
|
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
1364
1592
|
readonly workspaceId: import("effect/Schema").String;
|
|
1365
|
-
readonly
|
|
1366
|
-
|
|
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<{
|
|
1596
|
+
readonly workspaceId: import("effect/Schema").String;
|
|
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<{
|
|
1367
1606
|
readonly workspaceId: import("effect/Schema").String;
|
|
1368
1607
|
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
1369
1608
|
readonly name: import("effect/Schema").String;
|
|
@@ -1372,301 +1611,62 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
1372
1611
|
readonly workspaceId: import("effect/Schema").String;
|
|
1373
1612
|
readonly name: import("effect/Schema").String;
|
|
1374
1613
|
readonly updatedAt: import("effect/Schema").String;
|
|
1375
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./workspaces.js").WorkspaceNotFoundError | typeof import("./workspaces.js").WorkspaceInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"
|
|
1376
|
-
readonly workspaceId: import("effect/Schema").String;
|
|
1377
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
1378
|
-
readonly ownerUserId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1379
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
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<{
|
|
1380
1615
|
readonly workspaceId: import("effect/Schema").String;
|
|
1381
|
-
|
|
1382
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./workspaces.js").WorkspaceNotFoundError | typeof import("./workspaces.js").WorkspaceInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"createWorkspace", "POST", "/v1/workspaces/", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
1616
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
1383
1617
|
readonly ownerUserId: import("effect/Schema").String;
|
|
1384
|
-
readonly
|
|
1385
|
-
|
|
1386
|
-
|
|
1387
|
-
|
|
1388
|
-
|
|
1389
|
-
|
|
1390
|
-
|
|
1391
|
-
|
|
1392
|
-
|
|
1393
|
-
|
|
1394
|
-
readonly
|
|
1395
|
-
|
|
1396
|
-
|
|
1397
|
-
|
|
1398
|
-
|
|
1399
|
-
|
|
1400
|
-
readonly
|
|
1401
|
-
|
|
1402
|
-
|
|
1403
|
-
|
|
1404
|
-
readonly github: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1405
|
-
}>>;
|
|
1406
|
-
readonly spec: import("effect/Schema").Unknown;
|
|
1407
|
-
readonly secretEnv: import("effect/Schema").optional<import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").String>>;
|
|
1408
|
-
readonly captureToken: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1409
|
-
readonly ttlSeconds: import("effect/Schema").optional<import("effect/Schema").Int>;
|
|
1410
|
-
readonly idempotencyKey: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1411
|
-
readonly launchId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1412
|
-
readonly sshAsOwner: import("effect/Schema").optional<import("effect/Schema").Boolean>;
|
|
1413
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
1414
|
-
readonly "idempotency-key": import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1415
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
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<{
|
|
1416
1638
|
readonly workspaceId: import("effect/Schema").String;
|
|
1417
|
-
readonly name: import("effect/Schema").String;
|
|
1418
|
-
readonly status: import("effect/Schema").Literals<readonly ["queued", "running", "ready", "failed", "cancelled", "stopped", "retained"]>;
|
|
1419
|
-
readonly registryId: import("effect/Schema").String;
|
|
1420
|
-
readonly repository: import("effect/Schema").String;
|
|
1421
|
-
readonly tag: import("effect/Schema").String;
|
|
1422
|
-
readonly runId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1423
|
-
readonly runtime: import("effect/Schema").optional<import("effect/Schema").Struct<{
|
|
1424
|
-
readonly adapter: import("effect/Schema").Literals<readonly ["docker", "k8s", "k3s", "cloudflare", "microvm"]>;
|
|
1425
|
-
readonly resourceId: import("effect/Schema").String;
|
|
1426
|
-
readonly reference: import("effect/Schema").String;
|
|
1427
|
-
readonly status: import("effect/Schema").Literals<readonly ["pending", "running", "ready", "failed", "stopped", "retained"]>;
|
|
1428
|
-
readonly endpoint: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1429
|
-
readonly deadline: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").String>>;
|
|
1430
|
-
readonly runId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1431
|
-
readonly launchId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1432
|
-
}>>;
|
|
1433
|
-
readonly replayed: import("effect/Schema").optional<import("effect/Schema").Boolean>;
|
|
1434
|
-
readonly launchId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1435
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./budgets.ts").BudgetExceededError | typeof import("./workspaces.js").WorkspaceBadRequestError | typeof import("./workspaces.js").WorkspaceRuntimeEnvReferencesUnsupportedError | typeof import("./workspaces.js").WorkspaceDockerServiceUnsupportedError | typeof import("./workspaces.js").WorkspaceSshOwnerRefusedError | typeof import("./workspaces.js").WorkspaceForbiddenError | typeof import("./workspaces.js").WorkspaceNotFoundError | typeof import("./workspaces.js").WorkspaceConflictError | typeof import("./workspaces.js").WorkspaceBadGatewayError | typeof import("./workspaces.js").WorkspaceServiceUnavailableError | typeof import("./workspaces.js").WorkspaceInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"getWorkspaceCreate", "GET", "/v1/workspaces/idempotency-keys/:idempotencyKey", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
1436
|
-
readonly idempotencyKey: import("effect/Schema").String;
|
|
1437
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
1438
|
-
readonly ownerUserId: import("effect/Schema").String;
|
|
1439
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
1440
|
-
readonly idempotencyKey: import("effect/Schema").String;
|
|
1441
|
-
readonly state: import("effect/Schema").Literals<readonly ["pending", "found", "cancelled", "none"]>;
|
|
1442
|
-
readonly workspaceId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1443
|
-
readonly runId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1444
|
-
readonly launchId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1445
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./workspaces.js").WorkspaceBadRequestError | typeof import("./workspaces.js").WorkspaceInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"cancelWorkspaceCreate", "POST", "/v1/workspaces/idempotency-keys/:idempotencyKey/cancel", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
1446
|
-
readonly idempotencyKey: import("effect/Schema").String;
|
|
1447
1639
|
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
1448
1640
|
readonly ownerUserId: import("effect/Schema").String;
|
|
1449
1641
|
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
1450
|
-
readonly idempotencyKey: import("effect/Schema").String;
|
|
1451
|
-
readonly state: import("effect/Schema").Literals<readonly ["pending", "found", "cancelled", "none"]>;
|
|
1452
|
-
readonly workspaceId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1453
|
-
readonly runId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1454
|
-
readonly launchId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1455
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./workspaces.js").WorkspaceBadRequestError | typeof import("./workspaces.js").WorkspaceInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"getWorkspace", "GET", "/v1/workspaces/:workspaceId", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
1456
1642
|
readonly workspaceId: import("effect/Schema").String;
|
|
1457
|
-
|
|
1458
|
-
readonly
|
|
1459
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").
|
|
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<{
|
|
1460
1646
|
readonly workspaceId: import("effect/Schema").String;
|
|
1461
|
-
|
|
1647
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
1462
1648
|
readonly ownerUserId: import("effect/Schema").String;
|
|
1463
|
-
readonly
|
|
1464
|
-
readonly
|
|
1465
|
-
|
|
1466
|
-
|
|
1467
|
-
|
|
1468
|
-
readonly adapter: import("effect/Schema").Literals<readonly ["docker", "k8s", "k3s", "cloudflare", "microvm"]>;
|
|
1469
|
-
readonly resourceId: import("effect/Schema").String;
|
|
1470
|
-
readonly reference: import("effect/Schema").String;
|
|
1471
|
-
readonly status: import("effect/Schema").Literals<readonly ["pending", "running", "ready", "failed", "stopped", "retained"]>;
|
|
1472
|
-
readonly endpoint: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1473
|
-
readonly deadline: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").String>>;
|
|
1474
|
-
readonly runId: import("effect/Schema").optional<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;
|
|
1475
1654
|
readonly launchId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1476
|
-
|
|
1477
|
-
|
|
1478
|
-
readonly reference: import("effect/Schema").String;
|
|
1479
|
-
readonly digestReference: import("effect/Schema").String;
|
|
1480
|
-
readonly digest: import("effect/Schema").String;
|
|
1481
|
-
readonly personLayout: import("effect/Schema").optional<import("effect/Schema").Struct<{
|
|
1482
|
-
readonly status: import("effect/Schema").Literals<readonly ["supported", "unsupported", "unknown"]>;
|
|
1483
|
-
readonly missing: import("effect/Schema").$Array<import("effect/Schema").String>;
|
|
1484
|
-
readonly unknown: import("effect/Schema").$Array<import("effect/Schema").String>;
|
|
1485
|
-
readonly runtime: import("effect/Schema").String;
|
|
1486
|
-
readonly acl: import("effect/Schema").Literals<readonly ["supported", "unsupported", "unknown"]>;
|
|
1487
|
-
}>>;
|
|
1488
|
-
}>>;
|
|
1489
|
-
readonly processUser: import("effect/Schema").optional<import("effect/Schema").Literals<readonly ["supported", "unsupported", "unknown"]>>;
|
|
1490
|
-
readonly error: import("effect/Schema").optional<import("effect/Schema").Struct<{
|
|
1491
|
-
readonly message: import("effect/Schema").String;
|
|
1492
|
-
readonly code: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1493
|
-
}>>;
|
|
1494
|
-
readonly phase: import("effect/Schema").optional<import("effect/Schema").Struct<{
|
|
1495
|
-
readonly name: import("effect/Schema").Literals<readonly ["queued", "image-build", "boot"]>;
|
|
1496
|
-
readonly since: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1497
|
-
readonly imageBuild: import("effect/Schema").optional<import("effect/Schema").Struct<{
|
|
1498
|
-
readonly step: import("effect/Schema").optional<import("effect/Schema").Int>;
|
|
1499
|
-
readonly steps: import("effect/Schema").optional<import("effect/Schema").Int>;
|
|
1500
|
-
readonly stepName: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1501
|
-
readonly progressAt: import("effect/Schema").String;
|
|
1502
|
-
readonly stallTimeoutMs: import("effect/Schema").optional<import("effect/Schema").Int>;
|
|
1503
|
-
}>>;
|
|
1504
|
-
}>>;
|
|
1505
|
-
readonly createdAt: import("effect/Schema").String;
|
|
1506
|
-
readonly updatedAt: import("effect/Schema").String;
|
|
1507
|
-
readonly startedAt: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1508
|
-
readonly finishedAt: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1509
|
-
readonly expiresAt: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1510
|
-
readonly spec: import("effect/Schema").optional<import("effect/Schema").Unknown>;
|
|
1511
|
-
readonly captureDrain: import("effect/Schema").optional<import("effect/Schema").Struct<{
|
|
1512
|
-
readonly state: import("effect/Schema").Literals<readonly ["draining", "kept", "saved", "gone", "stop-failed", "stopped", "discarded"]>;
|
|
1513
|
-
readonly detail: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1514
|
-
readonly observedAt: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1515
|
-
readonly preservationStartsAt: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1516
|
-
readonly discard: import("effect/Schema").optional<import("effect/Schema").Struct<{
|
|
1517
|
-
readonly requestedBy: import("effect/Schema").String;
|
|
1518
|
-
readonly requestedAt: import("effect/Schema").String;
|
|
1519
|
-
}>>;
|
|
1520
|
-
readonly retained: import("effect/Schema").optional<import("effect/Schema").Struct<{
|
|
1521
|
-
readonly since: import("effect/Schema").String;
|
|
1522
|
-
readonly reason: import("effect/Schema").String;
|
|
1523
|
-
readonly recoverable: import("effect/Schema").Boolean;
|
|
1524
|
-
readonly recoveryAttempts: import("effect/Schema").Int;
|
|
1525
|
-
readonly nextRecoveryAt: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1526
|
-
readonly lastRecoveryError: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1527
|
-
}>>;
|
|
1528
|
-
readonly executor: import("effect/Schema").optional<import("effect/Schema").Struct<{
|
|
1529
|
-
readonly runId: import("effect/Schema").String;
|
|
1530
|
-
readonly adapter: import("effect/Schema").String;
|
|
1531
|
-
readonly resourceId: import("effect/Schema").String;
|
|
1532
|
-
readonly reference: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1533
|
-
readonly launchId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1534
|
-
}>>;
|
|
1535
|
-
readonly completion: import("effect/Schema").optional<import("effect/Schema").Struct<{
|
|
1536
|
-
readonly executorId: 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<{
|
|
1537
1657
|
readonly epoch: import("effect/Schema").Int;
|
|
1538
|
-
readonly
|
|
1539
|
-
readonly
|
|
1540
|
-
readonly
|
|
1541
|
-
readonly
|
|
1542
|
-
readonly
|
|
1543
|
-
readonly epoch: import("effect/Schema").Int;
|
|
1544
|
-
readonly launch: import("effect/Schema").String;
|
|
1545
|
-
readonly bootId: import("effect/Schema").String;
|
|
1546
|
-
readonly bootGeneration: import("effect/Schema").Int;
|
|
1547
|
-
readonly observation: import("effect/Schema").Int;
|
|
1548
|
-
readonly headN: import("effect/Schema").optional<import("effect/Schema").Int>;
|
|
1549
|
-
}>>;
|
|
1550
|
-
}>>;
|
|
1551
|
-
}>>;
|
|
1552
|
-
}>>, 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<{
|
|
1553
|
-
readonly ownerUserId: import("effect/Schema").String;
|
|
1554
|
-
readonly status: import("effect/Schema").optional<import("effect/Schema").Literals<readonly ["queued", "running", "ready", "failed", "cancelled", "stopped", "retained"]>>;
|
|
1555
|
-
readonly limit: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1556
|
-
readonly idempotencyKey: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1557
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
1558
|
-
readonly items: import("effect/Schema").$Array<import("effect/Schema").Struct<{
|
|
1559
|
-
readonly workspaceId: import("effect/Schema").String;
|
|
1560
|
-
readonly name: import("effect/Schema").String;
|
|
1561
|
-
readonly ownerUserId: import("effect/Schema").String;
|
|
1562
|
-
readonly status: import("effect/Schema").Literals<readonly ["queued", "running", "ready", "failed", "cancelled", "stopped", "retained"]>;
|
|
1563
|
-
readonly registryId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1564
|
-
readonly repository: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1565
|
-
readonly tag: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1566
|
-
readonly runtime: import("effect/Schema").optional<import("effect/Schema").Struct<{
|
|
1567
|
-
readonly adapter: import("effect/Schema").Literals<readonly ["docker", "k8s", "k3s", "cloudflare", "microvm"]>;
|
|
1568
|
-
readonly resourceId: import("effect/Schema").String;
|
|
1569
|
-
readonly reference: import("effect/Schema").String;
|
|
1570
|
-
readonly status: import("effect/Schema").Literals<readonly ["pending", "running", "ready", "failed", "stopped", "retained"]>;
|
|
1571
|
-
readonly endpoint: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1572
|
-
readonly deadline: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").String>>;
|
|
1573
|
-
readonly runId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1574
|
-
readonly launchId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1575
|
-
}>>;
|
|
1576
|
-
readonly publishedImage: import("effect/Schema").optional<import("effect/Schema").Struct<{
|
|
1577
|
-
readonly reference: import("effect/Schema").String;
|
|
1578
|
-
readonly digestReference: import("effect/Schema").String;
|
|
1579
|
-
readonly digest: import("effect/Schema").String;
|
|
1580
|
-
readonly personLayout: import("effect/Schema").optional<import("effect/Schema").Struct<{
|
|
1581
|
-
readonly status: import("effect/Schema").Literals<readonly ["supported", "unsupported", "unknown"]>;
|
|
1582
|
-
readonly missing: import("effect/Schema").$Array<import("effect/Schema").String>;
|
|
1583
|
-
readonly unknown: import("effect/Schema").$Array<import("effect/Schema").String>;
|
|
1584
|
-
readonly runtime: import("effect/Schema").String;
|
|
1585
|
-
readonly acl: import("effect/Schema").Literals<readonly ["supported", "unsupported", "unknown"]>;
|
|
1586
|
-
}>>;
|
|
1587
|
-
}>>;
|
|
1588
|
-
readonly processUser: import("effect/Schema").optional<import("effect/Schema").Literals<readonly ["supported", "unsupported", "unknown"]>>;
|
|
1589
|
-
readonly error: import("effect/Schema").optional<import("effect/Schema").Struct<{
|
|
1590
|
-
readonly message: import("effect/Schema").String;
|
|
1591
|
-
readonly code: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1592
|
-
}>>;
|
|
1593
|
-
readonly phase: import("effect/Schema").optional<import("effect/Schema").Struct<{
|
|
1594
|
-
readonly name: import("effect/Schema").Literals<readonly ["queued", "image-build", "boot"]>;
|
|
1595
|
-
readonly since: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1596
|
-
readonly imageBuild: import("effect/Schema").optional<import("effect/Schema").Struct<{
|
|
1597
|
-
readonly step: import("effect/Schema").optional<import("effect/Schema").Int>;
|
|
1598
|
-
readonly steps: import("effect/Schema").optional<import("effect/Schema").Int>;
|
|
1599
|
-
readonly stepName: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1600
|
-
readonly progressAt: import("effect/Schema").String;
|
|
1601
|
-
readonly stallTimeoutMs: import("effect/Schema").optional<import("effect/Schema").Int>;
|
|
1602
|
-
}>>;
|
|
1603
|
-
}>>;
|
|
1604
|
-
readonly createdAt: import("effect/Schema").String;
|
|
1605
|
-
readonly updatedAt: import("effect/Schema").String;
|
|
1606
|
-
readonly startedAt: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1607
|
-
readonly finishedAt: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1608
|
-
readonly expiresAt: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1609
|
-
}>>;
|
|
1610
|
-
}>>, 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<{
|
|
1611
|
-
readonly workspaceId: import("effect/Schema").String;
|
|
1612
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
1613
|
-
readonly ownerUserId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1614
|
-
readonly limit: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1615
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
1616
|
-
readonly items: import("effect/Schema").$Array<import("effect/Schema").Struct<{
|
|
1617
|
-
readonly attemptId: import("effect/Schema").String;
|
|
1618
|
-
readonly relation: import("effect/Schema").Literals<readonly ["launch", "rebuild", "retry", "resume"]>;
|
|
1619
|
-
readonly status: import("effect/Schema").Literals<readonly ["queued", "running", "ready", "failed", "cancelled", "stopped", "retained"]>;
|
|
1620
|
-
readonly triggerType: import("effect/Schema").Literals<readonly ["manual", "schedule", "api", "retry"]>;
|
|
1621
|
-
readonly triggerRef: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1622
|
-
readonly runtime: import("effect/Schema").optional<import("effect/Schema").Struct<{
|
|
1623
|
-
readonly adapter: import("effect/Schema").Literals<readonly ["docker", "k8s", "k3s", "cloudflare", "microvm"]>;
|
|
1624
|
-
readonly resourceId: import("effect/Schema").String;
|
|
1625
|
-
readonly reference: import("effect/Schema").String;
|
|
1626
|
-
readonly status: import("effect/Schema").Literals<readonly ["pending", "running", "ready", "failed", "stopped", "retained"]>;
|
|
1627
|
-
readonly endpoint: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1628
|
-
readonly deadline: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").String>>;
|
|
1629
|
-
readonly runId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1630
|
-
readonly launchId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1631
|
-
}>>;
|
|
1632
|
-
readonly publishedImage: import("effect/Schema").optional<import("effect/Schema").Struct<{
|
|
1633
|
-
readonly reference: import("effect/Schema").String;
|
|
1634
|
-
readonly digestReference: import("effect/Schema").String;
|
|
1635
|
-
readonly digest: import("effect/Schema").String;
|
|
1636
|
-
readonly personLayout: import("effect/Schema").optional<import("effect/Schema").Struct<{
|
|
1637
|
-
readonly status: import("effect/Schema").Literals<readonly ["supported", "unsupported", "unknown"]>;
|
|
1638
|
-
readonly missing: import("effect/Schema").$Array<import("effect/Schema").String>;
|
|
1639
|
-
readonly unknown: import("effect/Schema").$Array<import("effect/Schema").String>;
|
|
1640
|
-
readonly runtime: import("effect/Schema").String;
|
|
1641
|
-
readonly acl: import("effect/Schema").Literals<readonly ["supported", "unsupported", "unknown"]>;
|
|
1642
|
-
}>>;
|
|
1643
|
-
}>>;
|
|
1644
|
-
readonly error: import("effect/Schema").optional<import("effect/Schema").Struct<{
|
|
1645
|
-
readonly message: import("effect/Schema").String;
|
|
1646
|
-
readonly code: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
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>;
|
|
1647
1663
|
}>>;
|
|
1648
|
-
readonly spec: import("effect/Schema").optional<import("effect/Schema").Unknown>;
|
|
1649
|
-
readonly queuedAt: import("effect/Schema").String;
|
|
1650
|
-
readonly createdAt: import("effect/Schema").String;
|
|
1651
|
-
readonly updatedAt: import("effect/Schema").String;
|
|
1652
|
-
readonly linkedAt: import("effect/Schema").String;
|
|
1653
|
-
readonly startedAt: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1654
|
-
readonly finishedAt: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1655
|
-
readonly durationMs: import("effect/Schema").optional<import("effect/Schema").Number>;
|
|
1656
1664
|
}>>;
|
|
1657
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").
|
|
1665
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
1658
1666
|
readonly workspaceId: import("effect/Schema").String;
|
|
1659
|
-
|
|
1660
|
-
readonly
|
|
1661
|
-
|
|
1662
|
-
|
|
1663
|
-
readonly items: import("effect/Schema").$Array<import("effect/Schema").Struct<{
|
|
1664
|
-
readonly eventId: import("effect/Schema").String;
|
|
1665
|
-
readonly workspaceId: import("effect/Schema").String;
|
|
1666
|
-
readonly attemptId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1667
|
-
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"]>;
|
|
1668
|
-
readonly occurredAt: import("effect/Schema").String;
|
|
1669
|
-
readonly message: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1670
|
-
readonly data: import("effect/Schema").optional<import("effect/Schema").Unknown>;
|
|
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
1671
|
}>>;
|
|
1672
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./workspaces.js").WorkspaceBadRequestError | typeof import("./workspaces.js").WorkspaceNotFoundError | typeof import("./workspaces.js").WorkspaceInternalServerError>, RequestRefusal, never>, false>>;
|
|
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>>;
|