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