@sealant/api-contracts-next 0.39.0-next.722 → 0.39.0-next.723
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 +393 -393
- package/package.json +2 -2
|
@@ -1,11 +1,9 @@
|
|
|
1
1
|
import { HttpApi } from "effect/unstable/httpapi";
|
|
2
2
|
import { RequestRefusal } from "./request-refusal.js";
|
|
3
|
-
export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi", import("effect/unstable/httpapi/HttpApiGroup").HttpApiGroup<"accessTokens", import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"
|
|
3
|
+
export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi", import("effect/unstable/httpapi/HttpApiGroup").HttpApiGroup<"accessTokens", import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"revokeAccessToken", "POST", "/v1/access-tokens/:tokenId/revoke", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
4
|
+
readonly tokenId: import("effect/Schema").String;
|
|
5
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
4
6
|
readonly ownerUserId: import("effect/Schema").String;
|
|
5
|
-
readonly scopes: import("effect/Schema").$Array<import("effect/Schema").Literals<readonly ["session:read", "session:input", "workspace:exec"]>>;
|
|
6
|
-
readonly name: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
7
|
-
readonly workspaceId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
8
|
-
readonly ttlSeconds: import("effect/Schema").optional<import("effect/Schema").Int>;
|
|
9
7
|
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
10
8
|
readonly tokenId: import("effect/Schema").String;
|
|
11
9
|
readonly ownerUserId: import("effect/Schema").String;
|
|
@@ -15,11 +13,12 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
15
13
|
readonly expiresAt: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
16
14
|
readonly revokedAt: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
17
15
|
readonly createdAt: import("effect/Schema").String;
|
|
18
|
-
|
|
19
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./access-tokens.js").AccessTokenBadRequestError | typeof import("./access-tokens.js").AccessTokenNotFoundError | typeof import("./access-tokens.js").AccessTokenInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"revokeAccessToken", "POST", "/v1/access-tokens/:tokenId/revoke", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
20
|
-
readonly tokenId: import("effect/Schema").String;
|
|
21
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
16
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./access-tokens.js").AccessTokenBadRequestError | typeof import("./access-tokens.js").AccessTokenNotFoundError | typeof import("./access-tokens.js").AccessTokenInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"createAccessToken", "POST", "/v1/access-tokens/", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
22
17
|
readonly ownerUserId: import("effect/Schema").String;
|
|
18
|
+
readonly scopes: import("effect/Schema").$Array<import("effect/Schema").Literals<readonly ["session:read", "session:input", "workspace:exec"]>>;
|
|
19
|
+
readonly name: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
20
|
+
readonly workspaceId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
21
|
+
readonly ttlSeconds: import("effect/Schema").optional<import("effect/Schema").Int>;
|
|
23
22
|
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
24
23
|
readonly tokenId: import("effect/Schema").String;
|
|
25
24
|
readonly ownerUserId: import("effect/Schema").String;
|
|
@@ -29,6 +28,7 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
29
28
|
readonly expiresAt: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
30
29
|
readonly revokedAt: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
31
30
|
readonly createdAt: import("effect/Schema").String;
|
|
31
|
+
readonly token: import("effect/Schema").String;
|
|
32
32
|
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./access-tokens.js").AccessTokenBadRequestError | typeof import("./access-tokens.js").AccessTokenNotFoundError | typeof import("./access-tokens.js").AccessTokenInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"listAccessTokens", "GET", "/v1/access-tokens/", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
33
33
|
readonly ownerUserId: import("effect/Schema").String;
|
|
34
34
|
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
@@ -42,12 +42,11 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
42
42
|
readonly revokedAt: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
43
43
|
readonly createdAt: import("effect/Schema").String;
|
|
44
44
|
}>>;
|
|
45
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./access-tokens.js").AccessTokenBadRequestError | typeof import("./access-tokens.js").AccessTokenInternalServerError>, RequestRefusal, never>, false> | import("effect/unstable/httpapi/HttpApiGroup").HttpApiGroup<"connectedAccounts", import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"
|
|
45
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./access-tokens.js").AccessTokenBadRequestError | typeof import("./access-tokens.js").AccessTokenInternalServerError>, RequestRefusal, never>, false> | import("effect/unstable/httpapi/HttpApiGroup").HttpApiGroup<"connectedAccounts", import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"archiveConnectedAccount", "DELETE", "/v1/connected-accounts/:connectedAccountId", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
46
|
+
readonly connectedAccountId: import("effect/Schema").String;
|
|
47
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
46
48
|
readonly ownerUserId: import("effect/Schema").String;
|
|
47
|
-
|
|
48
|
-
readonly name: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
49
|
-
readonly secret: import("effect/Schema").String;
|
|
50
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
49
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
51
50
|
readonly connectedAccountId: import("effect/Schema").String;
|
|
52
51
|
readonly ownerUserId: import("effect/Schema").String;
|
|
53
52
|
readonly provider: import("effect/Schema").Literals<readonly ["claude", "codex", "github"]>;
|
|
@@ -65,7 +64,7 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
65
64
|
readonly lastRefreshAt: import("effect/Schema").NullOr<import("effect/Schema").String>;
|
|
66
65
|
readonly lastRefreshOutcome: import("effect/Schema").NullOr<import("effect/Schema").Literals<readonly ["refreshed", "fresh", "failed"]>>;
|
|
67
66
|
}>;
|
|
68
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./connected-accounts.js").
|
|
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<{
|
|
69
68
|
readonly connectedAccountId: import("effect/Schema").String;
|
|
70
69
|
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
71
70
|
readonly ownerUserId: import("effect/Schema").String;
|
|
@@ -87,11 +86,12 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
87
86
|
readonly lastRefreshAt: import("effect/Schema").NullOr<import("effect/Schema").String>;
|
|
88
87
|
readonly lastRefreshOutcome: import("effect/Schema").NullOr<import("effect/Schema").Literals<readonly ["refreshed", "fresh", "failed"]>>;
|
|
89
88
|
}>;
|
|
90
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./connected-accounts.js").ConnectedAccountNotFoundError | typeof import("./connected-accounts.js").ConnectedAccountInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"
|
|
91
|
-
readonly connectedAccountId: import("effect/Schema").String;
|
|
92
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
89
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./connected-accounts.js").ConnectedAccountNotFoundError | typeof import("./connected-accounts.js").ConnectedAccountInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"createConnectedAccount", "POST", "/v1/connected-accounts/", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
93
90
|
readonly ownerUserId: import("effect/Schema").String;
|
|
94
|
-
|
|
91
|
+
readonly provider: import("effect/Schema").Literals<readonly ["claude", "codex", "github"]>;
|
|
92
|
+
readonly name: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
93
|
+
readonly secret: import("effect/Schema").String;
|
|
94
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
95
95
|
readonly connectedAccountId: import("effect/Schema").String;
|
|
96
96
|
readonly ownerUserId: import("effect/Schema").String;
|
|
97
97
|
readonly provider: import("effect/Schema").Literals<readonly ["claude", "codex", "github"]>;
|
|
@@ -109,7 +109,7 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
109
109
|
readonly lastRefreshAt: import("effect/Schema").NullOr<import("effect/Schema").String>;
|
|
110
110
|
readonly lastRefreshOutcome: import("effect/Schema").NullOr<import("effect/Schema").Literals<readonly ["refreshed", "fresh", "failed"]>>;
|
|
111
111
|
}>;
|
|
112
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./connected-accounts.js").ConnectedAccountNotFoundError | typeof import("./connected-accounts.js").ConnectedAccountInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"listConnectedAccounts", "GET", "/v1/connected-accounts/", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
112
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./connected-accounts.js").ConnectedAccountBadRequestError | typeof import("./connected-accounts.js").ConnectedAccountNotFoundError | typeof import("./connected-accounts.js").ConnectedAccountConflictError | typeof import("./connected-accounts.js").ConnectedAccountServiceUnavailableError | typeof import("./connected-accounts.js").ConnectedAccountInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"listConnectedAccounts", "GET", "/v1/connected-accounts/", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
113
113
|
readonly ownerUserId: import("effect/Schema").String;
|
|
114
114
|
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
115
115
|
readonly items: import("effect/Schema").$Array<import("effect/Schema").Struct<{
|
|
@@ -131,29 +131,7 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
131
131
|
readonly lastRefreshOutcome: import("effect/Schema").NullOr<import("effect/Schema").Literals<readonly ["refreshed", "fresh", "failed"]>>;
|
|
132
132
|
}>;
|
|
133
133
|
}>>;
|
|
134
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./connected-accounts.js").ConnectedAccountInternalServerError>, RequestRefusal, never>, false> | import("effect/unstable/httpapi/HttpApiGroup").HttpApiGroup<"github", import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"
|
|
135
|
-
readonly "x-github-delivery": import("effect/Schema").optional<import("effect/Schema").String>;
|
|
136
|
-
readonly "x-github-event": import("effect/Schema").optional<import("effect/Schema").String>;
|
|
137
|
-
readonly "x-hub-signature-256": import("effect/Schema").optional<import("effect/Schema").String>;
|
|
138
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
139
|
-
readonly deliveryId: import("effect/Schema").String;
|
|
140
|
-
readonly status: import("effect/Schema").Literals<readonly ["received", "processed", "failed", "ignored"]>;
|
|
141
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./github.js").GitHubBadRequestError | typeof import("./github.js").GitHubUnauthorizedError | typeof import("./github.js").GitHubServiceUnavailableError | typeof import("./github.js").GitHubInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"importInstallation", "POST", "/v1/github/installations/import", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
142
|
-
readonly userId: import("effect/Schema").String;
|
|
143
|
-
readonly externalInstallationId: import("effect/Schema").String;
|
|
144
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
145
|
-
readonly installation: import("effect/Schema").Struct<{
|
|
146
|
-
readonly installationId: import("effect/Schema").String;
|
|
147
|
-
readonly externalInstallationId: import("effect/Schema").String;
|
|
148
|
-
readonly accountLogin: import("effect/Schema").String;
|
|
149
|
-
readonly accountType: import("effect/Schema").Literals<readonly ["organization", "user"]>;
|
|
150
|
-
readonly status: import("effect/Schema").Literals<readonly ["active", "suspended", "deleted"]>;
|
|
151
|
-
readonly repositorySelection: import("effect/Schema").Literals<readonly ["all", "selected"]>;
|
|
152
|
-
readonly lastSyncedAt: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
153
|
-
}>;
|
|
154
|
-
readonly syncedRepositoryCount: import("effect/Schema").Number;
|
|
155
|
-
readonly syncedAt: import("effect/Schema").String;
|
|
156
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./github.js").GitHubNotFoundError | typeof import("./github.js").GitHubServiceUnavailableError | typeof import("./github.js").GitHubInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"listInstallations", "GET", "/v1/github/installations", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
134
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./connected-accounts.js").ConnectedAccountInternalServerError>, RequestRefusal, never>, false> | import("effect/unstable/httpapi/HttpApiGroup").HttpApiGroup<"github", import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"listInstallations", "GET", "/v1/github/installations", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
157
135
|
readonly userId: import("effect/Schema").String;
|
|
158
136
|
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
159
137
|
readonly items: import("effect/Schema").$Array<import("effect/Schema").Struct<{
|
|
@@ -192,7 +170,29 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
192
170
|
readonly installationId: import("effect/Schema").String;
|
|
193
171
|
readonly syncedRepositoryCount: import("effect/Schema").Number;
|
|
194
172
|
readonly syncedAt: import("effect/Schema").String;
|
|
195
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./github.js").GitHubForbiddenError | typeof import("./github.js").GitHubNotFoundError | typeof import("./github.js").GitHubServiceUnavailableError | typeof import("./github.js").GitHubInternalServerError>, RequestRefusal, never
|
|
173
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./github.js").GitHubForbiddenError | typeof import("./github.js").GitHubNotFoundError | typeof import("./github.js").GitHubServiceUnavailableError | typeof import("./github.js").GitHubInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"importInstallation", "POST", "/v1/github/installations/import", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
174
|
+
readonly userId: import("effect/Schema").String;
|
|
175
|
+
readonly externalInstallationId: import("effect/Schema").String;
|
|
176
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
177
|
+
readonly installation: import("effect/Schema").Struct<{
|
|
178
|
+
readonly installationId: import("effect/Schema").String;
|
|
179
|
+
readonly externalInstallationId: import("effect/Schema").String;
|
|
180
|
+
readonly accountLogin: import("effect/Schema").String;
|
|
181
|
+
readonly accountType: import("effect/Schema").Literals<readonly ["organization", "user"]>;
|
|
182
|
+
readonly status: import("effect/Schema").Literals<readonly ["active", "suspended", "deleted"]>;
|
|
183
|
+
readonly repositorySelection: import("effect/Schema").Literals<readonly ["all", "selected"]>;
|
|
184
|
+
readonly lastSyncedAt: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
185
|
+
}>;
|
|
186
|
+
readonly syncedRepositoryCount: import("effect/Schema").Number;
|
|
187
|
+
readonly syncedAt: import("effect/Schema").String;
|
|
188
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./github.js").GitHubNotFoundError | typeof import("./github.js").GitHubServiceUnavailableError | typeof import("./github.js").GitHubInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"handleWebhook", "POST", "/v1/github/webhooks", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").String>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
189
|
+
readonly "x-github-delivery": import("effect/Schema").optional<import("effect/Schema").String>;
|
|
190
|
+
readonly "x-github-event": import("effect/Schema").optional<import("effect/Schema").String>;
|
|
191
|
+
readonly "x-hub-signature-256": import("effect/Schema").optional<import("effect/Schema").String>;
|
|
192
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
193
|
+
readonly deliveryId: import("effect/Schema").String;
|
|
194
|
+
readonly status: import("effect/Schema").Literals<readonly ["received", "processed", "failed", "ignored"]>;
|
|
195
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./github.js").GitHubBadRequestError | typeof import("./github.js").GitHubUnauthorizedError | typeof import("./github.js").GitHubServiceUnavailableError | typeof import("./github.js").GitHubInternalServerError>, RequestRefusal, never>, false> | import("effect/unstable/httpapi/HttpApiGroup").HttpApiGroup<"inference", import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"respond", "POST", "/v1/inference/respond", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
196
196
|
readonly ownerUserId: import("effect/Schema").String;
|
|
197
197
|
readonly credentials: import("effect/Schema").optional<import("effect/Schema").Struct<{
|
|
198
198
|
readonly profileId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
@@ -285,13 +285,25 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
285
285
|
}>>;
|
|
286
286
|
readonly fetchedAt: import("effect/Schema").String;
|
|
287
287
|
readonly expiresAt: import("effect/Schema").String;
|
|
288
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./packages.js").PackagesBadGatewayError | typeof import("./packages.js").PackagesInternalServerError>, RequestRefusal, never>, false> | import("effect/unstable/httpapi/HttpApiGroup").HttpApiGroup<"profiles", import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"
|
|
288
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./packages.js").PackagesBadGatewayError | typeof import("./packages.js").PackagesInternalServerError>, RequestRefusal, never>, false> | import("effect/unstable/httpapi/HttpApiGroup").HttpApiGroup<"profiles", import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"listProfiles", "GET", "/v1/profiles/", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
289
|
+
readonly ownerUserId: import("effect/Schema").String;
|
|
290
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
291
|
+
readonly items: import("effect/Schema").$Array<import("effect/Schema").Struct<{
|
|
292
|
+
readonly profileId: import("effect/Schema").String;
|
|
293
|
+
readonly ownerUserId: import("effect/Schema").String;
|
|
294
|
+
readonly slug: import("effect/Schema").String;
|
|
295
|
+
readonly name: import("effect/Schema").String;
|
|
296
|
+
readonly description: import("effect/Schema").NullOr<import("effect/Schema").String>;
|
|
297
|
+
readonly status: import("effect/Schema").Literals<readonly ["active", "archived"]>;
|
|
298
|
+
readonly activeRevisionId: import("effect/Schema").NullOr<import("effect/Schema").String>;
|
|
299
|
+
readonly createdAt: import("effect/Schema").String;
|
|
300
|
+
readonly updatedAt: import("effect/Schema").String;
|
|
301
|
+
}>>;
|
|
302
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./profiles.js").ProfileInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"listProfileCredentialBindings", "GET", "/v1/profiles/:profileId/credential-bindings", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
289
303
|
readonly profileId: import("effect/Schema").String;
|
|
290
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<
|
|
304
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
291
305
|
readonly ownerUserId: import("effect/Schema").String;
|
|
292
|
-
|
|
293
|
-
readonly connectedAccountId: import("effect/Schema").NullOr<import("effect/Schema").String>;
|
|
294
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
306
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
295
307
|
readonly items: import("effect/Schema").$Array<import("effect/Schema").Struct<{
|
|
296
308
|
readonly profileId: import("effect/Schema").String;
|
|
297
309
|
readonly provider: import("effect/Schema").Literals<readonly ["claude", "codex", "github"]>;
|
|
@@ -316,25 +328,13 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
316
328
|
}>;
|
|
317
329
|
}>;
|
|
318
330
|
}>>;
|
|
319
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./profiles.js").
|
|
320
|
-
readonly ownerUserId: import("effect/Schema").String;
|
|
321
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
322
|
-
readonly items: import("effect/Schema").$Array<import("effect/Schema").Struct<{
|
|
323
|
-
readonly profileId: import("effect/Schema").String;
|
|
324
|
-
readonly ownerUserId: import("effect/Schema").String;
|
|
325
|
-
readonly slug: import("effect/Schema").String;
|
|
326
|
-
readonly name: import("effect/Schema").String;
|
|
327
|
-
readonly description: import("effect/Schema").NullOr<import("effect/Schema").String>;
|
|
328
|
-
readonly status: import("effect/Schema").Literals<readonly ["active", "archived"]>;
|
|
329
|
-
readonly activeRevisionId: import("effect/Schema").NullOr<import("effect/Schema").String>;
|
|
330
|
-
readonly createdAt: import("effect/Schema").String;
|
|
331
|
-
readonly updatedAt: import("effect/Schema").String;
|
|
332
|
-
}>>;
|
|
333
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./profiles.js").ProfileInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"listProfileCredentialBindings", "GET", "/v1/profiles/:profileId/credential-bindings", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
331
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./profiles.js").ProfileNotFoundError | typeof import("./profiles.js").ProfileInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"setProfileCredentialBinding", "PUT", "/v1/profiles/:profileId/credential-bindings", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
334
332
|
readonly profileId: import("effect/Schema").String;
|
|
335
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
333
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
336
334
|
readonly ownerUserId: import("effect/Schema").String;
|
|
337
|
-
|
|
335
|
+
readonly provider: import("effect/Schema").Literals<readonly ["claude", "codex", "github"]>;
|
|
336
|
+
readonly connectedAccountId: import("effect/Schema").NullOr<import("effect/Schema").String>;
|
|
337
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
338
338
|
readonly items: import("effect/Schema").$Array<import("effect/Schema").Struct<{
|
|
339
339
|
readonly profileId: import("effect/Schema").String;
|
|
340
340
|
readonly provider: import("effect/Schema").Literals<readonly ["claude", "codex", "github"]>;
|
|
@@ -359,7 +359,7 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
359
359
|
}>;
|
|
360
360
|
}>;
|
|
361
361
|
}>>;
|
|
362
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./profiles.js").ProfileNotFoundError | typeof import("./profiles.js").ProfileInternalServerError>, RequestRefusal, never>, false> | import("effect/unstable/httpapi/HttpApiGroup").HttpApiGroup<"registries", import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"getRegistry", "GET", "/v1/registries/:registryId", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
362
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./profiles.js").ProfileBadRequestError | typeof import("./profiles.js").ProfileNotFoundError | typeof import("./profiles.js").ProfileConflictError | typeof import("./profiles.js").ProfileInternalServerError>, RequestRefusal, never>, false> | import("effect/unstable/httpapi/HttpApiGroup").HttpApiGroup<"registries", import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"getRegistry", "GET", "/v1/registries/:registryId", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
363
363
|
readonly registryId: import("effect/Schema").String;
|
|
364
364
|
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
365
365
|
readonly name: import("effect/Schema").String;
|
|
@@ -398,20 +398,11 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
398
398
|
readonly digest: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
399
399
|
readonly contentType: import("effect/Schema").Union<readonly [import("effect/Schema").String, import("effect/Schema").Null]>;
|
|
400
400
|
readonly manifest: import("effect/Schema").Unknown;
|
|
401
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./registries.js").RegistriesNotFoundError | typeof import("./registries.js").RegistriesBadGatewayError>, RequestRefusal, never>, false> | import("effect/unstable/httpapi/HttpApiGroup").HttpApiGroup<"runs", import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"
|
|
402
|
-
readonly
|
|
403
|
-
|
|
404
|
-
readonly ownerUserId: import("effect/Schema").String
|
|
405
|
-
|
|
406
|
-
readonly prompt: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
407
|
-
readonly attemptId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
408
|
-
readonly command: import("effect/Schema").optional<import("effect/Schema").Struct<{
|
|
409
|
-
readonly executable: import("effect/Schema").String;
|
|
410
|
-
readonly args: import("effect/Schema").$Array<import("effect/Schema").String>;
|
|
411
|
-
readonly cwd: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
412
|
-
}>>;
|
|
413
|
-
readonly metadata: import("effect/Schema").optional<import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").Unknown>>;
|
|
414
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
401
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./registries.js").RegistriesNotFoundError | typeof import("./registries.js").RegistriesBadGatewayError>, RequestRefusal, never>, false> | import("effect/unstable/httpapi/HttpApiGroup").HttpApiGroup<"runs", import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"getRun", "GET", "/v1/runs/:runId", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
402
|
+
readonly runId: import("effect/Schema").String;
|
|
403
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
404
|
+
readonly ownerUserId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
405
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
415
406
|
readonly runId: import("effect/Schema").String;
|
|
416
407
|
readonly workspaceId: import("effect/Schema").String;
|
|
417
408
|
readonly attemptId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
@@ -436,7 +427,7 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
436
427
|
readonly recordDeletedAt: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
437
428
|
readonly createdAt: import("effect/Schema").String;
|
|
438
429
|
readonly updatedAt: import("effect/Schema").String;
|
|
439
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./budgets.ts").BudgetExceededError | typeof import("./runs.js").
|
|
430
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./budgets.ts").BudgetExceededError | typeof import("./runs.js").RunNotFoundError | typeof import("./runs.js").RunInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"updateRun", "PATCH", "/v1/runs/:runId", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
440
431
|
readonly runId: import("effect/Schema").String;
|
|
441
432
|
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
442
433
|
readonly ownerUserId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
@@ -475,7 +466,45 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
475
466
|
readonly recordDeletedAt: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
476
467
|
readonly createdAt: import("effect/Schema").String;
|
|
477
468
|
readonly updatedAt: import("effect/Schema").String;
|
|
478
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./runs.js").RunBadRequestError | typeof import("./runs.js").RunNotFoundError | typeof import("./runs.js").RunInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"
|
|
469
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./runs.js").RunBadRequestError | typeof import("./runs.js").RunNotFoundError | typeof import("./runs.js").RunInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"createRun", "POST", "/v1/runs/", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
470
|
+
readonly workspaceId: import("effect/Schema").String;
|
|
471
|
+
readonly harnessId: import("effect/Schema").String;
|
|
472
|
+
readonly ownerUserId: import("effect/Schema").String;
|
|
473
|
+
readonly mode: import("effect/Schema").optional<import("effect/Schema").Literals<readonly ["one-shot", "interactive"]>>;
|
|
474
|
+
readonly prompt: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
475
|
+
readonly attemptId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
476
|
+
readonly command: import("effect/Schema").optional<import("effect/Schema").Struct<{
|
|
477
|
+
readonly executable: import("effect/Schema").String;
|
|
478
|
+
readonly args: import("effect/Schema").$Array<import("effect/Schema").String>;
|
|
479
|
+
readonly cwd: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
480
|
+
}>>;
|
|
481
|
+
readonly metadata: import("effect/Schema").optional<import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").Unknown>>;
|
|
482
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
483
|
+
readonly runId: import("effect/Schema").String;
|
|
484
|
+
readonly workspaceId: import("effect/Schema").String;
|
|
485
|
+
readonly attemptId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
486
|
+
readonly ownerUserId: import("effect/Schema").String;
|
|
487
|
+
readonly harnessId: import("effect/Schema").String;
|
|
488
|
+
readonly mode: import("effect/Schema").Literals<readonly ["one-shot", "interactive"]>;
|
|
489
|
+
readonly status: import("effect/Schema").Literals<readonly ["queued", "running", "completed", "failed", "cancelled"]>;
|
|
490
|
+
readonly prompt: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
491
|
+
readonly command: import("effect/Schema").optional<import("effect/Schema").Struct<{
|
|
492
|
+
readonly executable: import("effect/Schema").String;
|
|
493
|
+
readonly args: import("effect/Schema").$Array<import("effect/Schema").String>;
|
|
494
|
+
readonly cwd: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
495
|
+
readonly argCount: import("effect/Schema").optional<import("effect/Schema").Number>;
|
|
496
|
+
readonly argLengths: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").Number>>;
|
|
497
|
+
}>>;
|
|
498
|
+
readonly metadata: import("effect/Schema").optional<import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").Unknown>>;
|
|
499
|
+
readonly user: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
500
|
+
readonly exitCode: import("effect/Schema").optional<import("effect/Schema").Number>;
|
|
501
|
+
readonly errorMessage: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
502
|
+
readonly startedAt: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
503
|
+
readonly finishedAt: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
504
|
+
readonly recordDeletedAt: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
505
|
+
readonly createdAt: import("effect/Schema").String;
|
|
506
|
+
readonly updatedAt: import("effect/Schema").String;
|
|
507
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./budgets.ts").BudgetExceededError | typeof import("./runs.js").RunBadRequestError | typeof import("./runs.js").RunNotFoundError | typeof import("./runs.js").RunInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"listRuns", "GET", "/v1/runs/", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
479
508
|
readonly workspaceId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
480
509
|
readonly ownerUserId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
481
510
|
readonly status: import("effect/Schema").optional<import("effect/Schema").Literals<readonly ["queued", "running", "completed", "failed", "cancelled"]>>;
|
|
@@ -507,36 +536,27 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
507
536
|
readonly createdAt: import("effect/Schema").String;
|
|
508
537
|
readonly updatedAt: import("effect/Schema").String;
|
|
509
538
|
}>>;
|
|
510
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./runs.js").RunBadRequestError | typeof import("./runs.js").RunInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"
|
|
539
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./runs.js").RunBadRequestError | typeof import("./runs.js").RunInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"getRunTimeline", "GET", "/v1/runs/:runId/timeline", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
511
540
|
readonly runId: import("effect/Schema").String;
|
|
512
541
|
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
513
542
|
readonly ownerUserId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
543
|
+
readonly fromSequence: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
544
|
+
readonly toSequence: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
545
|
+
readonly limit: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
546
|
+
readonly kinds: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
514
547
|
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
515
|
-
readonly
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
readonly
|
|
525
|
-
readonly args: import("effect/Schema").$Array<import("effect/Schema").String>;
|
|
526
|
-
readonly cwd: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
527
|
-
readonly argCount: import("effect/Schema").optional<import("effect/Schema").Number>;
|
|
528
|
-
readonly argLengths: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").Number>>;
|
|
548
|
+
readonly items: import("effect/Schema").$Array<import("effect/Schema").Struct<{
|
|
549
|
+
readonly eventId: import("effect/Schema").String;
|
|
550
|
+
readonly sequence: import("effect/Schema").String;
|
|
551
|
+
readonly kind: import("effect/Schema").String;
|
|
552
|
+
readonly occurredAt: import("effect/Schema").String;
|
|
553
|
+
readonly summary: import("effect/Schema").String;
|
|
554
|
+
readonly ref: import("effect/Schema").optional<import("effect/Schema").Unknown>;
|
|
555
|
+
readonly processId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
556
|
+
readonly captureMethod: import("effect/Schema").Number;
|
|
557
|
+
readonly confidence: import("effect/Schema").Number;
|
|
529
558
|
}>>;
|
|
530
|
-
|
|
531
|
-
readonly user: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
532
|
-
readonly exitCode: import("effect/Schema").optional<import("effect/Schema").Number>;
|
|
533
|
-
readonly errorMessage: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
534
|
-
readonly startedAt: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
535
|
-
readonly finishedAt: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
536
|
-
readonly recordDeletedAt: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
537
|
-
readonly createdAt: import("effect/Schema").String;
|
|
538
|
-
readonly updatedAt: import("effect/Schema").String;
|
|
539
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./budgets.ts").BudgetExceededError | typeof import("./runs.js").RunNotFoundError | typeof import("./runs.js").RunInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"getRunEvent", "GET", "/v1/runs/:runId/events/:sequence", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
559
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./runs.js").RunBadRequestError | typeof import("./runs.js").RunNotFoundError | typeof import("./runs.js").RunInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"getRunEvent", "GET", "/v1/runs/:runId/events/:sequence", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
540
560
|
readonly runId: import("effect/Schema").String;
|
|
541
561
|
readonly sequence: import("effect/Schema").String;
|
|
542
562
|
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
@@ -558,6 +578,20 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
558
578
|
readonly payloadCase: import("effect/Schema").String;
|
|
559
579
|
readonly payload: import("effect/Schema").Unknown;
|
|
560
580
|
readonly ingestedAt: import("effect/Schema").String;
|
|
581
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./runs.js").RunBadRequestError | typeof import("./runs.js").RunNotFoundError | typeof import("./runs.js").RunInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"getRunScrollback", "GET", "/v1/runs/:runId/scrollback", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
582
|
+
readonly runId: import("effect/Schema").String;
|
|
583
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
584
|
+
readonly ownerUserId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
585
|
+
readonly processId: import("effect/Schema").String;
|
|
586
|
+
readonly stream: import("effect/Schema").Literals<readonly ["stdout", "stderr", "pty"]>;
|
|
587
|
+
readonly atSequence: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
588
|
+
readonly fromSequence: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
589
|
+
readonly limit: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
590
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
591
|
+
readonly processId: import("effect/Schema").String;
|
|
592
|
+
readonly stream: import("effect/Schema").Literals<readonly ["stdout", "stderr", "pty"]>;
|
|
593
|
+
readonly byteCount: import("effect/Schema").Number;
|
|
594
|
+
readonly contentBase64: import("effect/Schema").String;
|
|
561
595
|
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./runs.js").RunBadRequestError | typeof import("./runs.js").RunNotFoundError | typeof import("./runs.js").RunInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"getRunLoss", "GET", "/v1/runs/:runId/loss", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
562
596
|
readonly runId: import("effect/Schema").String;
|
|
563
597
|
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
@@ -589,52 +623,36 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
589
623
|
readonly diff: import("effect/Schema").String;
|
|
590
624
|
readonly available: import("effect/Schema").optional<import("effect/Schema").Boolean>;
|
|
591
625
|
readonly unavailableReason: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
592
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./runs.js").RunNotFoundError | typeof import("./runs.js").RunInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"
|
|
593
|
-
readonly
|
|
594
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
595
|
-
readonly ownerUserId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
596
|
-
readonly fromSequence: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
597
|
-
readonly toSequence: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
598
|
-
readonly limit: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
599
|
-
readonly kinds: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
600
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
601
|
-
readonly items: import("effect/Schema").$Array<import("effect/Schema").Struct<{
|
|
602
|
-
readonly eventId: import("effect/Schema").String;
|
|
603
|
-
readonly sequence: import("effect/Schema").String;
|
|
604
|
-
readonly kind: import("effect/Schema").String;
|
|
605
|
-
readonly occurredAt: import("effect/Schema").String;
|
|
606
|
-
readonly summary: import("effect/Schema").String;
|
|
607
|
-
readonly ref: import("effect/Schema").optional<import("effect/Schema").Unknown>;
|
|
608
|
-
readonly processId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
609
|
-
readonly captureMethod: import("effect/Schema").Number;
|
|
610
|
-
readonly confidence: import("effect/Schema").Number;
|
|
611
|
-
}>>;
|
|
612
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./runs.js").RunBadRequestError | typeof import("./runs.js").RunNotFoundError | typeof import("./runs.js").RunInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"getRunScrollback", "GET", "/v1/runs/:runId/scrollback", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
613
|
-
readonly runId: import("effect/Schema").String;
|
|
626
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./runs.js").RunNotFoundError | typeof import("./runs.js").RunInternalServerError>, RequestRefusal, never>, false> | import("effect/unstable/httpapi/HttpApiGroup").HttpApiGroup<"sessions", import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"getSession", "GET", "/v1/sessions/:sessionId", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
627
|
+
readonly sessionId: import("effect/Schema").String;
|
|
614
628
|
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
615
629
|
readonly ownerUserId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
616
|
-
|
|
617
|
-
readonly
|
|
618
|
-
|
|
619
|
-
readonly
|
|
620
|
-
readonly limit: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
621
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
622
|
-
readonly processId: import("effect/Schema").String;
|
|
623
|
-
readonly stream: import("effect/Schema").Literals<readonly ["stdout", "stderr", "pty"]>;
|
|
624
|
-
readonly byteCount: import("effect/Schema").Number;
|
|
625
|
-
readonly contentBase64: import("effect/Schema").String;
|
|
626
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./runs.js").RunBadRequestError | typeof import("./runs.js").RunNotFoundError | typeof import("./runs.js").RunInternalServerError>, RequestRefusal, never>, false> | import("effect/unstable/httpapi/HttpApiGroup").HttpApiGroup<"sessions", import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"createSession", "POST", "/v1/sessions/", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
630
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
631
|
+
readonly authorization: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
632
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
633
|
+
readonly sessionId: import("effect/Schema").String;
|
|
627
634
|
readonly workspaceId: import("effect/Schema").String;
|
|
635
|
+
readonly runId: import("effect/Schema").String;
|
|
628
636
|
readonly ownerUserId: import("effect/Schema").String;
|
|
637
|
+
readonly status: import("effect/Schema").Literals<readonly ["starting", "running", "exited", "failed"]>;
|
|
629
638
|
readonly argv: import("effect/Schema").$Array<import("effect/Schema").String>;
|
|
639
|
+
readonly argCount: import("effect/Schema").optional<import("effect/Schema").Number>;
|
|
640
|
+
readonly argLengths: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").Number>>;
|
|
630
641
|
readonly cwd: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
631
|
-
readonly
|
|
632
|
-
readonly
|
|
633
|
-
readonly rows: import("effect/Schema").optional<import("effect/Schema").Int>;
|
|
634
|
-
readonly term: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
642
|
+
readonly cols: import("effect/Schema").Number;
|
|
643
|
+
readonly rows: import("effect/Schema").Number;
|
|
635
644
|
readonly mode: import("effect/Schema").optional<import("effect/Schema").Literals<readonly ["pty", "pipe"]>>;
|
|
645
|
+
readonly exitCode: import("effect/Schema").optional<import("effect/Schema").Number>;
|
|
646
|
+
readonly exitSignal: import("effect/Schema").optional<import("effect/Schema").Number>;
|
|
647
|
+
readonly errorMessage: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
636
648
|
readonly metadata: import("effect/Schema").optional<import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").Unknown>>;
|
|
637
|
-
readonly
|
|
649
|
+
readonly outputHighWater: import("effect/Schema").String;
|
|
650
|
+
readonly createdAt: import("effect/Schema").String;
|
|
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<"closeSession", "POST", "/v1/sessions/:sessionId/close", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
653
|
+
readonly sessionId: import("effect/Schema").String;
|
|
654
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
655
|
+
readonly ownerUserId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
638
656
|
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
639
657
|
readonly authorization: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
640
658
|
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
@@ -657,7 +675,7 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
657
675
|
readonly outputHighWater: import("effect/Schema").String;
|
|
658
676
|
readonly createdAt: import("effect/Schema").String;
|
|
659
677
|
readonly endedAt: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
660
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./sessions.js").SessionBadRequestError | typeof import("./sessions.js").SessionUnauthorizedError | typeof import("./sessions.js").SessionForbiddenError | typeof import("./sessions.js").SessionNotFoundError | typeof import("./sessions.js").
|
|
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<"createSession", "POST", "/v1/sessions/", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
661
679
|
readonly workspaceId: import("effect/Schema").String;
|
|
662
680
|
readonly ownerUserId: import("effect/Schema").String;
|
|
663
681
|
readonly argv: import("effect/Schema").$Array<import("effect/Schema").String>;
|
|
@@ -668,7 +686,7 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
668
686
|
readonly term: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
669
687
|
readonly mode: import("effect/Schema").optional<import("effect/Schema").Literals<readonly ["pty", "pipe"]>>;
|
|
670
688
|
readonly metadata: import("effect/Schema").optional<import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").Unknown>>;
|
|
671
|
-
readonly user: import("effect/Schema").String
|
|
689
|
+
readonly user: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
672
690
|
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
673
691
|
readonly authorization: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
674
692
|
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
@@ -691,38 +709,18 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
691
709
|
readonly outputHighWater: import("effect/Schema").String;
|
|
692
710
|
readonly createdAt: import("effect/Schema").String;
|
|
693
711
|
readonly endedAt: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
694
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./sessions.js").SessionBadRequestError | typeof import("./sessions.js").SessionUnauthorizedError | typeof import("./sessions.js").SessionForbiddenError | typeof import("./sessions.js").SessionNotFoundError | typeof import("./sessions.js").SessionConflictError | typeof import("./sessions.js").SessionBadGatewayError | typeof import("./sessions.js").SessionInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"
|
|
695
|
-
readonly
|
|
696
|
-
|
|
697
|
-
readonly
|
|
698
|
-
readonly
|
|
699
|
-
|
|
700
|
-
readonly
|
|
701
|
-
|
|
702
|
-
readonly
|
|
703
|
-
|
|
704
|
-
readonly
|
|
705
|
-
|
|
706
|
-
readonly ownerUserId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
707
|
-
readonly cols: import("effect/Schema").Int;
|
|
708
|
-
readonly rows: import("effect/Schema").Int;
|
|
709
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
710
|
-
readonly authorization: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
711
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
712
|
-
readonly ok: import("effect/Schema").Boolean;
|
|
713
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./sessions.js").SessionBadRequestError | typeof import("./sessions.js").SessionUnauthorizedError | typeof import("./sessions.js").SessionForbiddenError | typeof import("./sessions.js").SessionNotFoundError | typeof import("./sessions.js").SessionConflictError | typeof import("./sessions.js").SessionBadGatewayError | typeof import("./sessions.js").SessionInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"signalSession", "POST", "/v1/sessions/:sessionId/signal", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
714
|
-
readonly sessionId: import("effect/Schema").String;
|
|
715
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
716
|
-
readonly ownerUserId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
717
|
-
readonly signal: import("effect/Schema").Int;
|
|
718
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
719
|
-
readonly authorization: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
720
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
721
|
-
readonly ok: import("effect/Schema").Boolean;
|
|
722
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./sessions.js").SessionBadRequestError | typeof import("./sessions.js").SessionUnauthorizedError | typeof import("./sessions.js").SessionForbiddenError | typeof import("./sessions.js").SessionNotFoundError | typeof import("./sessions.js").SessionConflictError | typeof import("./sessions.js").SessionBadGatewayError | typeof import("./sessions.js").SessionInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"closeSession", "POST", "/v1/sessions/:sessionId/close", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
723
|
-
readonly sessionId: import("effect/Schema").String;
|
|
724
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
725
|
-
readonly ownerUserId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
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<"createSessionAsUser", "POST", "/v1/sessions/as-user", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
713
|
+
readonly workspaceId: import("effect/Schema").String;
|
|
714
|
+
readonly ownerUserId: import("effect/Schema").String;
|
|
715
|
+
readonly argv: import("effect/Schema").$Array<import("effect/Schema").String>;
|
|
716
|
+
readonly cwd: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
717
|
+
readonly env: import("effect/Schema").optional<import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").String>>;
|
|
718
|
+
readonly cols: import("effect/Schema").optional<import("effect/Schema").Int>;
|
|
719
|
+
readonly rows: import("effect/Schema").optional<import("effect/Schema").Int>;
|
|
720
|
+
readonly term: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
721
|
+
readonly mode: import("effect/Schema").optional<import("effect/Schema").Literals<readonly ["pty", "pipe"]>>;
|
|
722
|
+
readonly metadata: import("effect/Schema").optional<import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").Unknown>>;
|
|
723
|
+
readonly user: import("effect/Schema").String;
|
|
726
724
|
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
727
725
|
readonly authorization: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
728
726
|
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
@@ -745,7 +743,7 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
745
743
|
readonly outputHighWater: import("effect/Schema").String;
|
|
746
744
|
readonly createdAt: import("effect/Schema").String;
|
|
747
745
|
readonly endedAt: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
748
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./sessions.js").SessionBadRequestError | typeof import("./sessions.js").SessionUnauthorizedError | typeof import("./sessions.js").SessionForbiddenError | typeof import("./sessions.js").SessionNotFoundError | typeof import("./sessions.js").SessionBadGatewayError | typeof import("./sessions.js").SessionInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"listSessions", "GET", "/v1/sessions/", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
746
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./sessions.js").SessionBadRequestError | typeof import("./sessions.js").SessionUnauthorizedError | typeof import("./sessions.js").SessionForbiddenError | typeof import("./sessions.js").SessionNotFoundError | typeof import("./sessions.js").SessionConflictError | typeof import("./sessions.js").SessionBadGatewayError | typeof import("./sessions.js").SessionInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"listSessions", "GET", "/v1/sessions/", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
749
747
|
readonly ownerUserId: import("effect/Schema").String;
|
|
750
748
|
readonly workspaceId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
751
749
|
readonly status: import("effect/Schema").optional<import("effect/Schema").Literals<readonly ["starting", "running", "exited", "failed"]>>;
|
|
@@ -790,64 +788,57 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
790
788
|
}>>;
|
|
791
789
|
readonly nextFrom: import("effect/Schema").String;
|
|
792
790
|
readonly status: import("effect/Schema").Literals<readonly ["starting", "running", "exited", "failed"]>;
|
|
793
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./sessions.js").SessionBadRequestError | typeof import("./sessions.js").SessionUnauthorizedError | typeof import("./sessions.js").SessionForbiddenError | typeof import("./sessions.js").SessionNotFoundError | typeof import("./sessions.js").SessionInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"
|
|
791
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./sessions.js").SessionBadRequestError | typeof import("./sessions.js").SessionUnauthorizedError | typeof import("./sessions.js").SessionForbiddenError | typeof import("./sessions.js").SessionNotFoundError | typeof import("./sessions.js").SessionInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"sendSessionInput", "POST", "/v1/sessions/:sessionId/input", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
794
792
|
readonly sessionId: import("effect/Schema").String;
|
|
793
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
794
|
+
readonly ownerUserId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
795
|
+
readonly dataBase64: import("effect/Schema").String;
|
|
795
796
|
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
797
|
+
readonly authorization: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
798
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
799
|
+
readonly ok: import("effect/Schema").Boolean;
|
|
800
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./sessions.js").SessionBadRequestError | typeof import("./sessions.js").SessionUnauthorizedError | typeof import("./sessions.js").SessionForbiddenError | typeof import("./sessions.js").SessionNotFoundError | typeof import("./sessions.js").SessionConflictError | typeof import("./sessions.js").SessionBadGatewayError | typeof import("./sessions.js").SessionInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"resizeSession", "POST", "/v1/sessions/:sessionId/resize", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
801
|
+
readonly sessionId: import("effect/Schema").String;
|
|
802
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
796
803
|
readonly ownerUserId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
797
|
-
|
|
804
|
+
readonly cols: import("effect/Schema").Int;
|
|
805
|
+
readonly rows: import("effect/Schema").Int;
|
|
806
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
798
807
|
readonly authorization: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
799
808
|
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
809
|
+
readonly ok: import("effect/Schema").Boolean;
|
|
810
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./sessions.js").SessionBadRequestError | typeof import("./sessions.js").SessionUnauthorizedError | typeof import("./sessions.js").SessionForbiddenError | typeof import("./sessions.js").SessionNotFoundError | typeof import("./sessions.js").SessionConflictError | typeof import("./sessions.js").SessionBadGatewayError | typeof import("./sessions.js").SessionInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"signalSession", "POST", "/v1/sessions/:sessionId/signal", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
800
811
|
readonly sessionId: import("effect/Schema").String;
|
|
801
|
-
readonly workspaceId: import("effect/Schema").String;
|
|
802
|
-
readonly runId: import("effect/Schema").String;
|
|
803
|
-
readonly ownerUserId: import("effect/Schema").String;
|
|
804
|
-
readonly status: import("effect/Schema").Literals<readonly ["starting", "running", "exited", "failed"]>;
|
|
805
|
-
readonly argv: import("effect/Schema").$Array<import("effect/Schema").String>;
|
|
806
|
-
readonly argCount: import("effect/Schema").optional<import("effect/Schema").Number>;
|
|
807
|
-
readonly argLengths: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").Number>>;
|
|
808
|
-
readonly cwd: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
809
|
-
readonly cols: import("effect/Schema").Number;
|
|
810
|
-
readonly rows: import("effect/Schema").Number;
|
|
811
|
-
readonly mode: import("effect/Schema").optional<import("effect/Schema").Literals<readonly ["pty", "pipe"]>>;
|
|
812
|
-
readonly exitCode: import("effect/Schema").optional<import("effect/Schema").Number>;
|
|
813
|
-
readonly exitSignal: import("effect/Schema").optional<import("effect/Schema").Number>;
|
|
814
|
-
readonly errorMessage: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
815
|
-
readonly metadata: import("effect/Schema").optional<import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").Unknown>>;
|
|
816
|
-
readonly outputHighWater: import("effect/Schema").String;
|
|
817
|
-
readonly createdAt: import("effect/Schema").String;
|
|
818
|
-
readonly endedAt: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
819
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./sessions.js").SessionBadRequestError | typeof import("./sessions.js").SessionUnauthorizedError | typeof import("./sessions.js").SessionForbiddenError | typeof import("./sessions.js").SessionNotFoundError | typeof import("./sessions.js").SessionInternalServerError>, RequestRefusal, never>, false> | import("effect/unstable/httpapi/HttpApiGroup").HttpApiGroup<"sshKeys", import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"createSshKey", "POST", "/v1/ssh-keys/", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
820
|
-
readonly ownerUserId: import("effect/Schema").String;
|
|
821
|
-
readonly name: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
822
|
-
readonly publicKey: import("effect/Schema").String;
|
|
823
812
|
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
813
|
+
readonly ownerUserId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
814
|
+
readonly signal: import("effect/Schema").Int;
|
|
815
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
816
|
+
readonly authorization: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
817
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
818
|
+
readonly ok: import("effect/Schema").Boolean;
|
|
819
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./sessions.js").SessionBadRequestError | typeof import("./sessions.js").SessionUnauthorizedError | typeof import("./sessions.js").SessionForbiddenError | typeof import("./sessions.js").SessionNotFoundError | typeof import("./sessions.js").SessionConflictError | typeof import("./sessions.js").SessionBadGatewayError | typeof import("./sessions.js").SessionInternalServerError>, RequestRefusal, never>, false> | import("effect/unstable/httpapi/HttpApiGroup").HttpApiGroup<"sshKeys", import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"archiveSshKey", "DELETE", "/v1/ssh-keys/:sshKeyId", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
820
|
+
readonly sshKeyId: import("effect/Schema").String;
|
|
821
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
822
|
+
readonly ownerUserId: import("effect/Schema").String;
|
|
823
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
824
824
|
readonly sshKeyId: import("effect/Schema").String;
|
|
825
825
|
readonly ownerUserId: import("effect/Schema").String;
|
|
826
826
|
readonly name: import("effect/Schema").String;
|
|
827
827
|
readonly algorithm: import("effect/Schema").String;
|
|
828
828
|
readonly fingerprint: import("effect/Schema").String;
|
|
829
829
|
readonly createdAt: import("effect/Schema").String;
|
|
830
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./ssh-keys.js").
|
|
831
|
-
readonly algo: import("effect/Schema").String;
|
|
832
|
-
readonly publicKeyBase64: import("effect/Schema").String;
|
|
833
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
834
|
-
readonly "x-sealant-gateway-token": import("effect/Schema").optional<import("effect/Schema").String>;
|
|
835
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
836
|
-
readonly principalId: import("effect/Schema").String;
|
|
837
|
-
readonly sshKeyId: import("effect/Schema").String;
|
|
838
|
-
readonly fingerprint: import("effect/Schema").String;
|
|
839
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./ssh-keys.js").SshKeyUnauthorizedError | typeof import("./ssh-keys.js").SshKeyNotFoundError | typeof import("./ssh-keys.js").SshKeyServiceUnavailableError | typeof import("./ssh-keys.js").SshKeyInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"archiveSshKey", "DELETE", "/v1/ssh-keys/:sshKeyId", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
840
|
-
readonly sshKeyId: import("effect/Schema").String;
|
|
841
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
830
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./ssh-keys.js").SshKeyNotFoundError | typeof import("./ssh-keys.js").SshKeyInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"createSshKey", "POST", "/v1/ssh-keys/", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
842
831
|
readonly ownerUserId: import("effect/Schema").String;
|
|
843
|
-
|
|
832
|
+
readonly name: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
833
|
+
readonly publicKey: import("effect/Schema").String;
|
|
834
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
844
835
|
readonly sshKeyId: import("effect/Schema").String;
|
|
845
836
|
readonly ownerUserId: import("effect/Schema").String;
|
|
846
837
|
readonly name: import("effect/Schema").String;
|
|
847
838
|
readonly algorithm: import("effect/Schema").String;
|
|
848
839
|
readonly fingerprint: import("effect/Schema").String;
|
|
849
840
|
readonly createdAt: import("effect/Schema").String;
|
|
850
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./ssh-keys.js").SshKeyNotFoundError | typeof import("./ssh-keys.js").SshKeyInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"listSshKeys", "GET", "/v1/ssh-keys/", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
841
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./ssh-keys.js").SshKeyBadRequestError | typeof import("./ssh-keys.js").SshKeyNotFoundError | typeof import("./ssh-keys.js").SshKeyConflictError | typeof import("./ssh-keys.js").SshKeyInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"listSshKeys", "GET", "/v1/ssh-keys/", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
851
842
|
readonly ownerUserId: import("effect/Schema").String;
|
|
852
843
|
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
853
844
|
readonly items: import("effect/Schema").$Array<import("effect/Schema").Struct<{
|
|
@@ -858,7 +849,16 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
858
849
|
readonly fingerprint: import("effect/Schema").String;
|
|
859
850
|
readonly createdAt: import("effect/Schema").String;
|
|
860
851
|
}>>;
|
|
861
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./ssh-keys.js").SshKeyInternalServerError>, RequestRefusal, never
|
|
852
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./ssh-keys.js").SshKeyInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"resolveSshPrincipal", "POST", "/v1/ssh-keys/resolve-principal", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
853
|
+
readonly algo: import("effect/Schema").String;
|
|
854
|
+
readonly publicKeyBase64: import("effect/Schema").String;
|
|
855
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
856
|
+
readonly "x-sealant-gateway-token": import("effect/Schema").optional<import("effect/Schema").String>;
|
|
857
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
858
|
+
readonly principalId: import("effect/Schema").String;
|
|
859
|
+
readonly sshKeyId: import("effect/Schema").String;
|
|
860
|
+
readonly fingerprint: import("effect/Schema").String;
|
|
861
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./ssh-keys.js").SshKeyUnauthorizedError | typeof import("./ssh-keys.js").SshKeyNotFoundError | typeof import("./ssh-keys.js").SshKeyServiceUnavailableError | typeof import("./ssh-keys.js").SshKeyInternalServerError>, RequestRefusal, never>, false> | import("effect/unstable/httpapi/HttpApiGroup").HttpApiGroup<"system", import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"getIndex", "GET", "/", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
862
862
|
readonly name: import("effect/Schema").String;
|
|
863
863
|
readonly version: import("effect/Schema").String;
|
|
864
864
|
readonly docsPath: import("effect/Schema").String;
|
|
@@ -885,7 +885,14 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
885
885
|
readonly port: import("effect/Schema").Number;
|
|
886
886
|
readonly usernamePrefix: import("effect/Schema").String;
|
|
887
887
|
}>>;
|
|
888
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./system.js").SystemInternalServerError>, RequestRefusal, never>, false> | import("effect/unstable/httpapi/HttpApiGroup").HttpApiGroup<"users", import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"
|
|
888
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./system.js").SystemInternalServerError>, RequestRefusal, never>, false> | import("effect/unstable/httpapi/HttpApiGroup").HttpApiGroup<"users", import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"getUser", "GET", "/v1/users/:userId", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
889
|
+
readonly userId: import("effect/Schema").String;
|
|
890
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
891
|
+
readonly userId: import("effect/Schema").String;
|
|
892
|
+
readonly email: import("effect/Schema").String;
|
|
893
|
+
readonly name: import("effect/Schema").String;
|
|
894
|
+
readonly createdAt: import("effect/Schema").String;
|
|
895
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./users.js").UserNotFoundError | typeof import("./users.js").UserInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"ensureUser", "POST", "/v1/users/", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
889
896
|
readonly email: import("effect/Schema").String;
|
|
890
897
|
readonly name: import("effect/Schema").String;
|
|
891
898
|
readonly userId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
@@ -909,67 +916,7 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
909
916
|
readonly home: import("effect/Schema").String;
|
|
910
917
|
}>;
|
|
911
918
|
readonly created: import("effect/Schema").Boolean;
|
|
912
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./users.js").UserPersonConflictError | typeof import("./users.js").UserBadRequestError | typeof import("./users.js").UserNotFoundError | typeof import("./users.js").UserInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"
|
|
913
|
-
readonly userId: import("effect/Schema").String;
|
|
914
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
915
|
-
readonly userId: import("effect/Schema").String;
|
|
916
|
-
readonly email: import("effect/Schema").String;
|
|
917
|
-
readonly name: import("effect/Schema").String;
|
|
918
|
-
readonly createdAt: import("effect/Schema").String;
|
|
919
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./users.js").UserNotFoundError | typeof import("./users.js").UserInternalServerError>, RequestRefusal, never>, false> | import("effect/unstable/httpapi/HttpApiGroup").HttpApiGroup<"workspaces", import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"createWorkspace", "POST", "/v1/workspaces/", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
920
|
-
readonly ownerUserId: import("effect/Schema").String;
|
|
921
|
-
readonly registryId: import("effect/Schema").String;
|
|
922
|
-
readonly repository: import("effect/Schema").String;
|
|
923
|
-
readonly tag: import("effect/Schema").String;
|
|
924
|
-
readonly name: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
925
|
-
readonly sourceSelection: import("effect/Schema").optional<import("effect/Schema").Struct<{
|
|
926
|
-
readonly provider: import("effect/Schema").Literal<"github">;
|
|
927
|
-
readonly installationId: import("effect/Schema").String;
|
|
928
|
-
readonly installationRepositoryId: import("effect/Schema").String;
|
|
929
|
-
readonly ref: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
930
|
-
}>>;
|
|
931
|
-
readonly dotfilesSelection: import("effect/Schema").optional<import("effect/Schema").Struct<{
|
|
932
|
-
readonly provider: import("effect/Schema").Literal<"github">;
|
|
933
|
-
readonly installationId: import("effect/Schema").String;
|
|
934
|
-
readonly installationRepositoryId: import("effect/Schema").String;
|
|
935
|
-
readonly ref: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
936
|
-
}>>;
|
|
937
|
-
readonly credentials: import("effect/Schema").optional<import("effect/Schema").Struct<{
|
|
938
|
-
readonly profileId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
939
|
-
readonly claude: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
940
|
-
readonly codex: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
941
|
-
readonly github: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
942
|
-
}>>;
|
|
943
|
-
readonly spec: import("effect/Schema").Unknown;
|
|
944
|
-
readonly secretEnv: import("effect/Schema").optional<import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").String>>;
|
|
945
|
-
readonly captureToken: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
946
|
-
readonly ttlSeconds: import("effect/Schema").optional<import("effect/Schema").Int>;
|
|
947
|
-
readonly idempotencyKey: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
948
|
-
readonly launchId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
949
|
-
readonly sshAsOwner: import("effect/Schema").optional<import("effect/Schema").Boolean>;
|
|
950
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
951
|
-
readonly "idempotency-key": import("effect/Schema").optional<import("effect/Schema").String>;
|
|
952
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
953
|
-
readonly workspaceId: import("effect/Schema").String;
|
|
954
|
-
readonly name: import("effect/Schema").String;
|
|
955
|
-
readonly status: import("effect/Schema").Literals<readonly ["queued", "running", "ready", "failed", "cancelled", "stopped", "retained"]>;
|
|
956
|
-
readonly registryId: import("effect/Schema").String;
|
|
957
|
-
readonly repository: import("effect/Schema").String;
|
|
958
|
-
readonly tag: import("effect/Schema").String;
|
|
959
|
-
readonly runId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
960
|
-
readonly runtime: import("effect/Schema").optional<import("effect/Schema").Struct<{
|
|
961
|
-
readonly adapter: import("effect/Schema").Literals<readonly ["docker", "k8s", "k3s", "cloudflare", "microvm"]>;
|
|
962
|
-
readonly resourceId: import("effect/Schema").String;
|
|
963
|
-
readonly reference: import("effect/Schema").String;
|
|
964
|
-
readonly status: import("effect/Schema").Literals<readonly ["pending", "running", "ready", "failed", "stopped", "retained"]>;
|
|
965
|
-
readonly endpoint: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
966
|
-
readonly deadline: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").String>>;
|
|
967
|
-
readonly runId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
968
|
-
readonly launchId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
969
|
-
}>>;
|
|
970
|
-
readonly replayed: import("effect/Schema").optional<import("effect/Schema").Boolean>;
|
|
971
|
-
readonly launchId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
972
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./budgets.ts").BudgetExceededError | typeof import("./workspaces.js").WorkspaceBadRequestError | typeof import("./workspaces.js").WorkspaceRuntimeEnvReferencesUnsupportedError | typeof import("./workspaces.js").WorkspaceDockerServiceUnsupportedError | typeof import("./workspaces.js").WorkspaceSshOwnerRefusedError | typeof import("./workspaces.js").WorkspaceForbiddenError | typeof import("./workspaces.js").WorkspaceNotFoundError | typeof import("./workspaces.js").WorkspaceConflictError | typeof import("./workspaces.js").WorkspaceBadGatewayError | typeof import("./workspaces.js").WorkspaceServiceUnavailableError | typeof import("./workspaces.js").WorkspaceInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"execWorkspace", "POST", "/v1/workspaces/:workspaceId/exec", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
919
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./users.js").UserPersonConflictError | typeof import("./users.js").UserBadRequestError | typeof import("./users.js").UserNotFoundError | typeof import("./users.js").UserInternalServerError>, RequestRefusal, never>, false> | import("effect/unstable/httpapi/HttpApiGroup").HttpApiGroup<"workspaces", import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"execWorkspace", "POST", "/v1/workspaces/:workspaceId/exec", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
973
920
|
readonly workspaceId: import("effect/Schema").String;
|
|
974
921
|
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
975
922
|
readonly ownerUserId: import("effect/Schema").String;
|
|
@@ -1085,7 +1032,26 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
1085
1032
|
readonly recordDeletedAt: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1086
1033
|
readonly createdAt: import("effect/Schema").String;
|
|
1087
1034
|
readonly updatedAt: import("effect/Schema").String;
|
|
1088
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./workspaces.js").WorkspaceBadRequestError | typeof import("./workspaces.js").WorkspaceForbiddenError | typeof import("./workspaces.js").WorkspaceNotFoundError | typeof import("./workspaces.js").WorkspaceConflictError | typeof import("./workspaces.js").WorkspaceBadGatewayError | typeof import("./workspaces.js").WorkspaceServiceUnavailableError | typeof import("./workspaces.js").WorkspaceInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"
|
|
1035
|
+
}>>, 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<"getWorkspaceSshTarget", "GET", "/v1/workspaces/:workspaceId/ssh-target", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
1036
|
+
readonly workspaceId: import("effect/Schema").String;
|
|
1037
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
1038
|
+
readonly "x-sealant-gateway-token": import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1039
|
+
readonly "x-sealant-principal-id": import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1040
|
+
readonly "x-sealant-gateway-ssh-user": import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1041
|
+
readonly "x-sealant-ssh-key-fingerprint": import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1042
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
1043
|
+
readonly workspaceId: import("effect/Schema").String;
|
|
1044
|
+
readonly attemptId: import("effect/Schema").String;
|
|
1045
|
+
readonly runtime: import("effect/Schema").Struct<{
|
|
1046
|
+
readonly adapter: import("effect/Schema").Literals<readonly ["docker", "k8s", "k3s", "cloudflare", "microvm"]>;
|
|
1047
|
+
readonly resourceId: import("effect/Schema").String;
|
|
1048
|
+
readonly reference: import("effect/Schema").String;
|
|
1049
|
+
readonly status: import("effect/Schema").Literals<readonly ["pending", "running", "ready", "failed", "stopped"]>;
|
|
1050
|
+
readonly endpoint: import("effect/Schema").String;
|
|
1051
|
+
}>;
|
|
1052
|
+
readonly sessionUser: import("effect/Schema").NullOr<import("effect/Schema").String>;
|
|
1053
|
+
readonly sshKeyFingerprint: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1054
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./workspaces.js").WorkspaceUnauthorizedError | typeof import("./workspaces.js").WorkspaceSshKeyNoLongerRegisteredError | typeof import("./workspaces.js").WorkspaceNotFoundError | typeof import("./workspaces.js").WorkspaceConflictError | typeof import("./workspaces.js").WorkspaceServiceUnavailableError | typeof import("./workspaces.js").WorkspaceInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"bindWorkspace", "POST", "/v1/workspaces/:workspaceId/bind", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
1089
1055
|
readonly workspaceId: import("effect/Schema").String;
|
|
1090
1056
|
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
1091
1057
|
readonly ownerUserId: import("effect/Schema").String;
|
|
@@ -1096,6 +1062,60 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
1096
1062
|
readonly mountPath: import("effect/Schema").String;
|
|
1097
1063
|
readonly subpath: import("effect/Schema").String;
|
|
1098
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
|
+
readonly workspaceId: import("effect/Schema").String;
|
|
1067
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
1068
|
+
readonly ownerUserId: import("effect/Schema").String;
|
|
1069
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
1070
|
+
readonly epoch: import("effect/Schema").Number;
|
|
1071
|
+
readonly worktreeId: import("effect/Schema").String;
|
|
1072
|
+
readonly headN: import("effect/Schema").optional<import("effect/Schema").Number>;
|
|
1073
|
+
readonly pending: import("effect/Schema").Number;
|
|
1074
|
+
readonly stagedBytes: import("effect/Schema").Number;
|
|
1075
|
+
readonly uploadedObjects: import("effect/Schema").Number;
|
|
1076
|
+
readonly uploadedBytes: import("effect/Schema").Number;
|
|
1077
|
+
readonly registered: import("effect/Schema").Number;
|
|
1078
|
+
readonly fenced: import("effect/Schema").Boolean;
|
|
1079
|
+
readonly paused: import("effect/Schema").Boolean;
|
|
1080
|
+
readonly lastSnapUnixMs: import("effect/Schema").optional<import("effect/Schema").Number>;
|
|
1081
|
+
readonly refused: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").Literals<readonly ["small", "bulk"]>>>;
|
|
1082
|
+
readonly pendingBytes: import("effect/Schema").optional<import("effect/Schema").Number>;
|
|
1083
|
+
readonly pendingBulk: import("effect/Schema").optional<import("effect/Schema").Number>;
|
|
1084
|
+
readonly complete: import("effect/Schema").optional<import("effect/Schema").Boolean>;
|
|
1085
|
+
readonly incompleteReason: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1086
|
+
readonly unreadable: import("effect/Schema").optional<import("effect/Schema").Number>;
|
|
1087
|
+
readonly carried: import("effect/Schema").optional<import("effect/Schema").Number>;
|
|
1088
|
+
readonly unreadablePaths: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").String>>;
|
|
1089
|
+
readonly registerRefused: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1090
|
+
readonly registerRefusedN: import("effect/Schema").optional<import("effect/Schema").Number>;
|
|
1091
|
+
readonly registerMissing: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").String>>;
|
|
1092
|
+
readonly registerRefusals: import("effect/Schema").optional<import("effect/Schema").Number>;
|
|
1093
|
+
readonly repairing: import("effect/Schema").optional<import("effect/Schema").Boolean>;
|
|
1094
|
+
readonly bulkBuilding: import("effect/Schema").optional<import("effect/Schema").Boolean>;
|
|
1095
|
+
readonly snaps: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").Struct<{
|
|
1096
|
+
readonly class: import("effect/Schema").Literals<readonly ["small", "bulk"]>;
|
|
1097
|
+
readonly snapsFailed: import("effect/Schema").Number;
|
|
1098
|
+
readonly lastSnapError: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1099
|
+
readonly snapFailingSinceUnixMs: import("effect/Schema").optional<import("effect/Schema").Number>;
|
|
1100
|
+
}>>>;
|
|
1101
|
+
readonly lastSnapError: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1102
|
+
readonly snapFailingSinceUnixMs: import("effect/Schema").optional<import("effect/Schema").Number>;
|
|
1103
|
+
readonly snapsFailed: import("effect/Schema").optional<import("effect/Schema").Number>;
|
|
1104
|
+
readonly origin: import("effect/Schema").optional<import("effect/Schema").Struct<{
|
|
1105
|
+
readonly epoch: import("effect/Schema").Int;
|
|
1106
|
+
readonly launch: import("effect/Schema").String;
|
|
1107
|
+
readonly bootId: import("effect/Schema").String;
|
|
1108
|
+
readonly bootGeneration: import("effect/Schema").Int;
|
|
1109
|
+
readonly observation: import("effect/Schema").Int;
|
|
1110
|
+
readonly headN: import("effect/Schema").optional<import("effect/Schema").Int>;
|
|
1111
|
+
}>>;
|
|
1112
|
+
readonly overdue: import("effect/Schema").optional<import("effect/Schema").Struct<{
|
|
1113
|
+
readonly step: import("effect/Schema").String;
|
|
1114
|
+
readonly startedUnixMs: import("effect/Schema").Number;
|
|
1115
|
+
readonly runningMs: import("effect/Schema").Number;
|
|
1116
|
+
readonly boundMs: import("effect/Schema").Number;
|
|
1117
|
+
}>>;
|
|
1118
|
+
readonly ownerMap: import("effect/Schema").optional<import("effect/Schema").Boolean>;
|
|
1099
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<"flushWorkspaceCapture", "POST", "/v1/workspaces/:workspaceId/capture/flush", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
1100
1120
|
readonly workspaceId: import("effect/Schema").String;
|
|
1101
1121
|
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
@@ -1176,16 +1196,7 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
1176
1196
|
readonly bytesSkipped: import("effect/Schema").Number;
|
|
1177
1197
|
readonly removed: import("effect/Schema").Number;
|
|
1178
1198
|
readonly unchanged: import("effect/Schema").Boolean;
|
|
1179
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./workspaces.js").WorkspaceBadRequestError | typeof import("./workspaces.js").WorkspaceNotFoundError | typeof import("./workspaces.js").WorkspaceConflictError | typeof import("./workspaces.js").WorkspaceInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"
|
|
1180
|
-
readonly workspaceId: import("effect/Schema").String;
|
|
1181
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
1182
|
-
readonly name: import("effect/Schema").String;
|
|
1183
|
-
readonly ownerUserId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1184
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
1185
|
-
readonly workspaceId: import("effect/Schema").String;
|
|
1186
|
-
readonly name: import("effect/Schema").String;
|
|
1187
|
-
readonly updatedAt: import("effect/Schema").String;
|
|
1188
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./workspaces.js").WorkspaceNotFoundError | typeof import("./workspaces.js").WorkspaceInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"stopWorkspace", "POST", "/v1/workspaces/:workspaceId/stop", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
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<{
|
|
1189
1200
|
readonly workspaceId: import("effect/Schema").String;
|
|
1190
1201
|
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
1191
1202
|
readonly ownerUserId: import("effect/Schema").String;
|
|
@@ -1301,105 +1312,7 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
1301
1312
|
readonly code: import("effect/Schema").Literals<readonly ["connected-account-missing", "connected-account-invalid", "connected-account-unsupported", "login-file-unusable"]>;
|
|
1302
1313
|
readonly message: import("effect/Schema").String;
|
|
1303
1314
|
}>>>;
|
|
1304
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./workspaces.js").WorkspaceBadRequestError | typeof import("./workspaces.js").WorkspaceForbiddenError | typeof import("./workspaces.js").WorkspaceNotFoundError | typeof import("./workspaces.js").WorkspaceConflictError | typeof import("./workspaces.js").WorkspaceBadGatewayError | typeof import("./workspaces.js").WorkspaceServiceUnavailableError | typeof import("./workspaces.js").WorkspaceInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"
|
|
1305
|
-
readonly workspaceId: import("effect/Schema").String;
|
|
1306
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
1307
|
-
readonly ownerUserId: import("effect/Schema").String;
|
|
1308
|
-
readonly ttlSeconds: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").Int>>;
|
|
1309
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
1310
|
-
readonly workspaceId: import("effect/Schema").String;
|
|
1311
|
-
readonly expiresAt: import("effect/Schema").NullOr<import("effect/Schema").String>;
|
|
1312
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./workspaces.js").WorkspaceBadRequestError | typeof import("./workspaces.js").WorkspaceNotFoundError | typeof import("./workspaces.js").WorkspaceInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"cancelWorkspaceCreate", "POST", "/v1/workspaces/idempotency-keys/:idempotencyKey/cancel", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
1313
|
-
readonly idempotencyKey: import("effect/Schema").String;
|
|
1314
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
1315
|
-
readonly ownerUserId: import("effect/Schema").String;
|
|
1316
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
1317
|
-
readonly idempotencyKey: import("effect/Schema").String;
|
|
1318
|
-
readonly state: import("effect/Schema").Literals<readonly ["pending", "found", "cancelled", "none"]>;
|
|
1319
|
-
readonly workspaceId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1320
|
-
readonly runId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1321
|
-
readonly launchId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1322
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./workspaces.js").WorkspaceBadRequestError | typeof import("./workspaces.js").WorkspaceInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"getWorkspaceSshTarget", "GET", "/v1/workspaces/:workspaceId/ssh-target", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
1323
|
-
readonly workspaceId: import("effect/Schema").String;
|
|
1324
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
1325
|
-
readonly "x-sealant-gateway-token": import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1326
|
-
readonly "x-sealant-principal-id": import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1327
|
-
readonly "x-sealant-gateway-ssh-user": import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1328
|
-
readonly "x-sealant-ssh-key-fingerprint": import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1329
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
1330
|
-
readonly workspaceId: import("effect/Schema").String;
|
|
1331
|
-
readonly attemptId: import("effect/Schema").String;
|
|
1332
|
-
readonly runtime: import("effect/Schema").Struct<{
|
|
1333
|
-
readonly adapter: import("effect/Schema").Literals<readonly ["docker", "k8s", "k3s", "cloudflare", "microvm"]>;
|
|
1334
|
-
readonly resourceId: import("effect/Schema").String;
|
|
1335
|
-
readonly reference: import("effect/Schema").String;
|
|
1336
|
-
readonly status: import("effect/Schema").Literals<readonly ["pending", "running", "ready", "failed", "stopped"]>;
|
|
1337
|
-
readonly endpoint: import("effect/Schema").String;
|
|
1338
|
-
}>;
|
|
1339
|
-
readonly sessionUser: import("effect/Schema").NullOr<import("effect/Schema").String>;
|
|
1340
|
-
readonly sshKeyFingerprint: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1341
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./workspaces.js").WorkspaceUnauthorizedError | typeof import("./workspaces.js").WorkspaceSshKeyNoLongerRegisteredError | typeof import("./workspaces.js").WorkspaceNotFoundError | typeof import("./workspaces.js").WorkspaceConflictError | typeof import("./workspaces.js").WorkspaceServiceUnavailableError | typeof import("./workspaces.js").WorkspaceInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"getWorkspaceCaptureStatus", "GET", "/v1/workspaces/:workspaceId/capture", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
1342
|
-
readonly workspaceId: import("effect/Schema").String;
|
|
1343
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
1344
|
-
readonly ownerUserId: import("effect/Schema").String;
|
|
1345
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
1346
|
-
readonly epoch: import("effect/Schema").Number;
|
|
1347
|
-
readonly worktreeId: import("effect/Schema").String;
|
|
1348
|
-
readonly headN: import("effect/Schema").optional<import("effect/Schema").Number>;
|
|
1349
|
-
readonly pending: import("effect/Schema").Number;
|
|
1350
|
-
readonly stagedBytes: import("effect/Schema").Number;
|
|
1351
|
-
readonly uploadedObjects: import("effect/Schema").Number;
|
|
1352
|
-
readonly uploadedBytes: import("effect/Schema").Number;
|
|
1353
|
-
readonly registered: import("effect/Schema").Number;
|
|
1354
|
-
readonly fenced: import("effect/Schema").Boolean;
|
|
1355
|
-
readonly paused: import("effect/Schema").Boolean;
|
|
1356
|
-
readonly lastSnapUnixMs: import("effect/Schema").optional<import("effect/Schema").Number>;
|
|
1357
|
-
readonly refused: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").Literals<readonly ["small", "bulk"]>>>;
|
|
1358
|
-
readonly pendingBytes: import("effect/Schema").optional<import("effect/Schema").Number>;
|
|
1359
|
-
readonly pendingBulk: import("effect/Schema").optional<import("effect/Schema").Number>;
|
|
1360
|
-
readonly complete: import("effect/Schema").optional<import("effect/Schema").Boolean>;
|
|
1361
|
-
readonly incompleteReason: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1362
|
-
readonly unreadable: import("effect/Schema").optional<import("effect/Schema").Number>;
|
|
1363
|
-
readonly carried: import("effect/Schema").optional<import("effect/Schema").Number>;
|
|
1364
|
-
readonly unreadablePaths: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").String>>;
|
|
1365
|
-
readonly registerRefused: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1366
|
-
readonly registerRefusedN: import("effect/Schema").optional<import("effect/Schema").Number>;
|
|
1367
|
-
readonly registerMissing: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").String>>;
|
|
1368
|
-
readonly registerRefusals: import("effect/Schema").optional<import("effect/Schema").Number>;
|
|
1369
|
-
readonly repairing: import("effect/Schema").optional<import("effect/Schema").Boolean>;
|
|
1370
|
-
readonly bulkBuilding: import("effect/Schema").optional<import("effect/Schema").Boolean>;
|
|
1371
|
-
readonly snaps: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").Struct<{
|
|
1372
|
-
readonly class: import("effect/Schema").Literals<readonly ["small", "bulk"]>;
|
|
1373
|
-
readonly snapsFailed: import("effect/Schema").Number;
|
|
1374
|
-
readonly lastSnapError: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1375
|
-
readonly snapFailingSinceUnixMs: import("effect/Schema").optional<import("effect/Schema").Number>;
|
|
1376
|
-
}>>>;
|
|
1377
|
-
readonly lastSnapError: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1378
|
-
readonly snapFailingSinceUnixMs: import("effect/Schema").optional<import("effect/Schema").Number>;
|
|
1379
|
-
readonly snapsFailed: import("effect/Schema").optional<import("effect/Schema").Number>;
|
|
1380
|
-
readonly origin: import("effect/Schema").optional<import("effect/Schema").Struct<{
|
|
1381
|
-
readonly epoch: import("effect/Schema").Int;
|
|
1382
|
-
readonly launch: import("effect/Schema").String;
|
|
1383
|
-
readonly bootId: import("effect/Schema").String;
|
|
1384
|
-
readonly bootGeneration: import("effect/Schema").Int;
|
|
1385
|
-
readonly observation: import("effect/Schema").Int;
|
|
1386
|
-
readonly headN: import("effect/Schema").optional<import("effect/Schema").Int>;
|
|
1387
|
-
}>>;
|
|
1388
|
-
readonly overdue: import("effect/Schema").optional<import("effect/Schema").Struct<{
|
|
1389
|
-
readonly step: import("effect/Schema").String;
|
|
1390
|
-
readonly startedUnixMs: import("effect/Schema").Number;
|
|
1391
|
-
readonly runningMs: import("effect/Schema").Number;
|
|
1392
|
-
readonly boundMs: import("effect/Schema").Number;
|
|
1393
|
-
}>>;
|
|
1394
|
-
readonly ownerMap: import("effect/Schema").optional<import("effect/Schema").Boolean>;
|
|
1395
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./workspaces.js").WorkspaceBadRequestError | typeof import("./workspaces.js").WorkspaceNotFoundError | typeof import("./workspaces.js").WorkspaceConflictError | typeof import("./workspaces.js").WorkspaceInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"clearWorkspaceSshUser", "DELETE", "/v1/workspaces/:workspaceId/ssh-user", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
1396
|
-
readonly workspaceId: import("effect/Schema").String;
|
|
1397
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
1398
|
-
readonly ownerUserId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1399
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
1400
|
-
readonly workspaceId: import("effect/Schema").String;
|
|
1401
|
-
readonly sshUser: import("effect/Schema").Null;
|
|
1402
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./workspaces.js").WorkspaceNotFoundError | typeof import("./workspaces.js").WorkspaceInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"releaseWorkspaceCredentials", "DELETE", "/v1/workspaces/:workspaceId/credentials", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
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<{
|
|
1403
1316
|
readonly workspaceId: import("effect/Schema").String;
|
|
1404
1317
|
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
1405
1318
|
readonly ownerUserId: import("effect/Schema").String;
|
|
@@ -1442,7 +1355,84 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
1442
1355
|
}>>;
|
|
1443
1356
|
}>;
|
|
1444
1357
|
}>>;
|
|
1445
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./workspaces.js").WorkspaceForbiddenError | typeof import("./workspaces.js").WorkspaceNotFoundError | typeof import("./workspaces.js").WorkspaceConflictError | typeof import("./workspaces.js").WorkspaceInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"
|
|
1358
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./workspaces.js").WorkspaceForbiddenError | typeof import("./workspaces.js").WorkspaceNotFoundError | typeof import("./workspaces.js").WorkspaceConflictError | typeof import("./workspaces.js").WorkspaceInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"expireWorkspace", "POST", "/v1/workspaces/:workspaceId/expire", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
1359
|
+
readonly workspaceId: import("effect/Schema").String;
|
|
1360
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
1361
|
+
readonly ownerUserId: import("effect/Schema").String;
|
|
1362
|
+
readonly ttlSeconds: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").Int>>;
|
|
1363
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
1364
|
+
readonly workspaceId: import("effect/Schema").String;
|
|
1365
|
+
readonly expiresAt: import("effect/Schema").NullOr<import("effect/Schema").String>;
|
|
1366
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./workspaces.js").WorkspaceBadRequestError | typeof import("./workspaces.js").WorkspaceNotFoundError | typeof import("./workspaces.js").WorkspaceInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"renameWorkspace", "PATCH", "/v1/workspaces/:workspaceId/name", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
1367
|
+
readonly workspaceId: import("effect/Schema").String;
|
|
1368
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
1369
|
+
readonly name: import("effect/Schema").String;
|
|
1370
|
+
readonly ownerUserId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1371
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
1372
|
+
readonly workspaceId: import("effect/Schema").String;
|
|
1373
|
+
readonly name: import("effect/Schema").String;
|
|
1374
|
+
readonly updatedAt: import("effect/Schema").String;
|
|
1375
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./workspaces.js").WorkspaceNotFoundError | typeof import("./workspaces.js").WorkspaceInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"clearWorkspaceSshUser", "DELETE", "/v1/workspaces/:workspaceId/ssh-user", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
1376
|
+
readonly workspaceId: import("effect/Schema").String;
|
|
1377
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
1378
|
+
readonly ownerUserId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1379
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
1380
|
+
readonly workspaceId: import("effect/Schema").String;
|
|
1381
|
+
readonly sshUser: import("effect/Schema").Null;
|
|
1382
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./workspaces.js").WorkspaceNotFoundError | typeof import("./workspaces.js").WorkspaceInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"createWorkspace", "POST", "/v1/workspaces/", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
1383
|
+
readonly ownerUserId: import("effect/Schema").String;
|
|
1384
|
+
readonly registryId: import("effect/Schema").String;
|
|
1385
|
+
readonly repository: import("effect/Schema").String;
|
|
1386
|
+
readonly tag: import("effect/Schema").String;
|
|
1387
|
+
readonly name: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1388
|
+
readonly sourceSelection: import("effect/Schema").optional<import("effect/Schema").Struct<{
|
|
1389
|
+
readonly provider: import("effect/Schema").Literal<"github">;
|
|
1390
|
+
readonly installationId: import("effect/Schema").String;
|
|
1391
|
+
readonly installationRepositoryId: import("effect/Schema").String;
|
|
1392
|
+
readonly ref: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1393
|
+
}>>;
|
|
1394
|
+
readonly dotfilesSelection: import("effect/Schema").optional<import("effect/Schema").Struct<{
|
|
1395
|
+
readonly provider: import("effect/Schema").Literal<"github">;
|
|
1396
|
+
readonly installationId: import("effect/Schema").String;
|
|
1397
|
+
readonly installationRepositoryId: import("effect/Schema").String;
|
|
1398
|
+
readonly ref: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1399
|
+
}>>;
|
|
1400
|
+
readonly credentials: import("effect/Schema").optional<import("effect/Schema").Struct<{
|
|
1401
|
+
readonly profileId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1402
|
+
readonly claude: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1403
|
+
readonly codex: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1404
|
+
readonly github: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1405
|
+
}>>;
|
|
1406
|
+
readonly spec: import("effect/Schema").Unknown;
|
|
1407
|
+
readonly secretEnv: import("effect/Schema").optional<import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").String>>;
|
|
1408
|
+
readonly captureToken: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1409
|
+
readonly ttlSeconds: import("effect/Schema").optional<import("effect/Schema").Int>;
|
|
1410
|
+
readonly idempotencyKey: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1411
|
+
readonly launchId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1412
|
+
readonly sshAsOwner: import("effect/Schema").optional<import("effect/Schema").Boolean>;
|
|
1413
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
1414
|
+
readonly "idempotency-key": import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1415
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
1416
|
+
readonly workspaceId: import("effect/Schema").String;
|
|
1417
|
+
readonly name: import("effect/Schema").String;
|
|
1418
|
+
readonly status: import("effect/Schema").Literals<readonly ["queued", "running", "ready", "failed", "cancelled", "stopped", "retained"]>;
|
|
1419
|
+
readonly registryId: import("effect/Schema").String;
|
|
1420
|
+
readonly repository: import("effect/Schema").String;
|
|
1421
|
+
readonly tag: import("effect/Schema").String;
|
|
1422
|
+
readonly runId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1423
|
+
readonly runtime: import("effect/Schema").optional<import("effect/Schema").Struct<{
|
|
1424
|
+
readonly adapter: import("effect/Schema").Literals<readonly ["docker", "k8s", "k3s", "cloudflare", "microvm"]>;
|
|
1425
|
+
readonly resourceId: import("effect/Schema").String;
|
|
1426
|
+
readonly reference: import("effect/Schema").String;
|
|
1427
|
+
readonly status: import("effect/Schema").Literals<readonly ["pending", "running", "ready", "failed", "stopped", "retained"]>;
|
|
1428
|
+
readonly endpoint: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1429
|
+
readonly deadline: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").String>>;
|
|
1430
|
+
readonly runId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1431
|
+
readonly launchId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1432
|
+
}>>;
|
|
1433
|
+
readonly replayed: import("effect/Schema").optional<import("effect/Schema").Boolean>;
|
|
1434
|
+
readonly launchId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1435
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./budgets.ts").BudgetExceededError | typeof import("./workspaces.js").WorkspaceBadRequestError | typeof import("./workspaces.js").WorkspaceRuntimeEnvReferencesUnsupportedError | typeof import("./workspaces.js").WorkspaceDockerServiceUnsupportedError | typeof import("./workspaces.js").WorkspaceSshOwnerRefusedError | typeof import("./workspaces.js").WorkspaceForbiddenError | typeof import("./workspaces.js").WorkspaceNotFoundError | typeof import("./workspaces.js").WorkspaceConflictError | typeof import("./workspaces.js").WorkspaceBadGatewayError | typeof import("./workspaces.js").WorkspaceServiceUnavailableError | typeof import("./workspaces.js").WorkspaceInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"getWorkspaceCreate", "GET", "/v1/workspaces/idempotency-keys/:idempotencyKey", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
1446
1436
|
readonly idempotencyKey: import("effect/Schema").String;
|
|
1447
1437
|
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
1448
1438
|
readonly ownerUserId: import("effect/Schema").String;
|
|
@@ -1452,6 +1442,16 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
1452
1442
|
readonly workspaceId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1453
1443
|
readonly runId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1454
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
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
1448
|
+
readonly ownerUserId: import("effect/Schema").String;
|
|
1449
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
1450
|
+
readonly idempotencyKey: import("effect/Schema").String;
|
|
1451
|
+
readonly state: import("effect/Schema").Literals<readonly ["pending", "found", "cancelled", "none"]>;
|
|
1452
|
+
readonly workspaceId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1453
|
+
readonly runId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1454
|
+
readonly launchId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1455
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
1456
|
readonly workspaceId: import("effect/Schema").String;
|
|
1457
1457
|
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|