@sealant/api-contracts-next 0.39.0-next.716 → 0.39.0-next.718
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 +443 -443
- package/package.json +2 -2
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import { HttpApi } from "effect/unstable/httpapi";
|
|
2
2
|
import { RequestRefusal } from "./request-refusal.js";
|
|
3
|
-
export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi", import("effect/unstable/httpapi/HttpApiGroup").HttpApiGroup<"accessTokens", import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"
|
|
4
|
-
readonly tokenId: import("effect/Schema").String;
|
|
5
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
3
|
+
export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi", import("effect/unstable/httpapi/HttpApiGroup").HttpApiGroup<"accessTokens", import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"createAccessToken", "POST", "/v1/access-tokens/", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
6
4
|
readonly ownerUserId: import("effect/Schema").String;
|
|
5
|
+
readonly scopes: import("effect/Schema").$Array<import("effect/Schema").Literals<readonly ["session:read", "session:input", "workspace:exec"]>>;
|
|
6
|
+
readonly name: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
7
|
+
readonly workspaceId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
8
|
+
readonly ttlSeconds: import("effect/Schema").optional<import("effect/Schema").Int>;
|
|
7
9
|
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
8
10
|
readonly tokenId: import("effect/Schema").String;
|
|
9
11
|
readonly ownerUserId: import("effect/Schema").String;
|
|
@@ -13,12 +15,11 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
13
15
|
readonly expiresAt: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
14
16
|
readonly revokedAt: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
15
17
|
readonly createdAt: import("effect/Schema").String;
|
|
16
|
-
|
|
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<{
|
|
17
22
|
readonly ownerUserId: import("effect/Schema").String;
|
|
18
|
-
readonly scopes: import("effect/Schema").$Array<import("effect/Schema").Literals<readonly ["session:read", "session:input", "workspace:exec"]>>;
|
|
19
|
-
readonly name: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
20
|
-
readonly workspaceId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
21
|
-
readonly ttlSeconds: import("effect/Schema").optional<import("effect/Schema").Int>;
|
|
22
23
|
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
23
24
|
readonly tokenId: import("effect/Schema").String;
|
|
24
25
|
readonly ownerUserId: import("effect/Schema").String;
|
|
@@ -28,7 +29,6 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
28
29
|
readonly expiresAt: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
29
30
|
readonly revokedAt: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
30
31
|
readonly createdAt: import("effect/Schema").String;
|
|
31
|
-
readonly token: import("effect/Schema").String;
|
|
32
32
|
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./access-tokens.js").AccessTokenBadRequestError | typeof import("./access-tokens.js").AccessTokenNotFoundError | typeof import("./access-tokens.js").AccessTokenInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"listAccessTokens", "GET", "/v1/access-tokens/", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
33
33
|
readonly ownerUserId: import("effect/Schema").String;
|
|
34
34
|
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
@@ -42,12 +42,11 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
42
42
|
readonly revokedAt: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
43
43
|
readonly createdAt: import("effect/Schema").String;
|
|
44
44
|
}>>;
|
|
45
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./access-tokens.js").AccessTokenBadRequestError | typeof import("./access-tokens.js").AccessTokenInternalServerError>, RequestRefusal, never>, false> | import("effect/unstable/httpapi/HttpApiGroup").HttpApiGroup<"connectedAccounts", import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"
|
|
45
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./access-tokens.js").AccessTokenBadRequestError | typeof import("./access-tokens.js").AccessTokenInternalServerError>, RequestRefusal, never>, false> | import("effect/unstable/httpapi/HttpApiGroup").HttpApiGroup<"connectedAccounts", import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"archiveConnectedAccount", "DELETE", "/v1/connected-accounts/:connectedAccountId", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
46
|
+
readonly connectedAccountId: import("effect/Schema").String;
|
|
47
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
46
48
|
readonly ownerUserId: import("effect/Schema").String;
|
|
47
|
-
|
|
48
|
-
readonly name: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
49
|
-
readonly secret: import("effect/Schema").String;
|
|
50
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
49
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
51
50
|
readonly connectedAccountId: import("effect/Schema").String;
|
|
52
51
|
readonly ownerUserId: import("effect/Schema").String;
|
|
53
52
|
readonly provider: import("effect/Schema").Literals<readonly ["claude", "codex", "github"]>;
|
|
@@ -65,10 +64,11 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
65
64
|
readonly lastRefreshAt: import("effect/Schema").NullOr<import("effect/Schema").String>;
|
|
66
65
|
readonly lastRefreshOutcome: import("effect/Schema").NullOr<import("effect/Schema").Literals<readonly ["refreshed", "fresh", "failed"]>>;
|
|
67
66
|
}>;
|
|
68
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./connected-accounts.js").
|
|
69
|
-
readonly connectedAccountId: import("effect/Schema").String;
|
|
70
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
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<"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<{
|
|
71
68
|
readonly ownerUserId: import("effect/Schema").String;
|
|
69
|
+
readonly provider: import("effect/Schema").Literals<readonly ["claude", "codex", "github"]>;
|
|
70
|
+
readonly name: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
71
|
+
readonly secret: import("effect/Schema").String;
|
|
72
72
|
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
73
73
|
readonly connectedAccountId: import("effect/Schema").String;
|
|
74
74
|
readonly ownerUserId: import("effect/Schema").String;
|
|
@@ -87,11 +87,11 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
87
87
|
readonly lastRefreshAt: import("effect/Schema").NullOr<import("effect/Schema").String>;
|
|
88
88
|
readonly lastRefreshOutcome: import("effect/Schema").NullOr<import("effect/Schema").Literals<readonly ["refreshed", "fresh", "failed"]>>;
|
|
89
89
|
}>;
|
|
90
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./connected-accounts.js").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").ConnectedAccountBadRequestError | typeof import("./connected-accounts.js").ConnectedAccountNotFoundError | typeof import("./connected-accounts.js").ConnectedAccountConflictError | typeof import("./connected-accounts.js").ConnectedAccountServiceUnavailableError | typeof import("./connected-accounts.js").ConnectedAccountInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"markConnectedAccountInvalid", "POST", "/v1/connected-accounts/:connectedAccountId/mark-invalid", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
91
91
|
readonly connectedAccountId: import("effect/Schema").String;
|
|
92
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
92
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
93
93
|
readonly ownerUserId: import("effect/Schema").String;
|
|
94
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").
|
|
94
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
95
95
|
readonly connectedAccountId: import("effect/Schema").String;
|
|
96
96
|
readonly ownerUserId: import("effect/Schema").String;
|
|
97
97
|
readonly provider: import("effect/Schema").Literals<readonly ["claude", "codex", "github"]>;
|
|
@@ -131,7 +131,37 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
131
131
|
readonly lastRefreshOutcome: import("effect/Schema").NullOr<import("effect/Schema").Literals<readonly ["refreshed", "fresh", "failed"]>>;
|
|
132
132
|
}>;
|
|
133
133
|
}>>;
|
|
134
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./connected-accounts.js").ConnectedAccountInternalServerError>, RequestRefusal, never>, false> | import("effect/unstable/httpapi/HttpApiGroup").HttpApiGroup<"github", import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"
|
|
134
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./connected-accounts.js").ConnectedAccountInternalServerError>, RequestRefusal, never>, false> | import("effect/unstable/httpapi/HttpApiGroup").HttpApiGroup<"github", import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"syncInstallation", "POST", "/v1/github/installations/:installationId/sync", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
135
|
+
readonly installationId: import("effect/Schema").String;
|
|
136
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
137
|
+
readonly userId: import("effect/Schema").String;
|
|
138
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
139
|
+
readonly installationId: import("effect/Schema").String;
|
|
140
|
+
readonly syncedRepositoryCount: import("effect/Schema").Number;
|
|
141
|
+
readonly syncedAt: import("effect/Schema").String;
|
|
142
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./github.js").GitHubForbiddenError | typeof import("./github.js").GitHubNotFoundError | typeof import("./github.js").GitHubServiceUnavailableError | typeof import("./github.js").GitHubInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"handleWebhook", "POST", "/v1/github/webhooks", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").String>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
143
|
+
readonly "x-github-delivery": import("effect/Schema").optional<import("effect/Schema").String>;
|
|
144
|
+
readonly "x-github-event": import("effect/Schema").optional<import("effect/Schema").String>;
|
|
145
|
+
readonly "x-hub-signature-256": import("effect/Schema").optional<import("effect/Schema").String>;
|
|
146
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
147
|
+
readonly deliveryId: import("effect/Schema").String;
|
|
148
|
+
readonly status: import("effect/Schema").Literals<readonly ["received", "processed", "failed", "ignored"]>;
|
|
149
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./github.js").GitHubBadRequestError | typeof import("./github.js").GitHubUnauthorizedError | typeof import("./github.js").GitHubServiceUnavailableError | typeof import("./github.js").GitHubInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"importInstallation", "POST", "/v1/github/installations/import", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
150
|
+
readonly userId: import("effect/Schema").String;
|
|
151
|
+
readonly externalInstallationId: import("effect/Schema").String;
|
|
152
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
153
|
+
readonly installation: import("effect/Schema").Struct<{
|
|
154
|
+
readonly installationId: import("effect/Schema").String;
|
|
155
|
+
readonly externalInstallationId: import("effect/Schema").String;
|
|
156
|
+
readonly accountLogin: import("effect/Schema").String;
|
|
157
|
+
readonly accountType: import("effect/Schema").Literals<readonly ["organization", "user"]>;
|
|
158
|
+
readonly status: import("effect/Schema").Literals<readonly ["active", "suspended", "deleted"]>;
|
|
159
|
+
readonly repositorySelection: import("effect/Schema").Literals<readonly ["all", "selected"]>;
|
|
160
|
+
readonly lastSyncedAt: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
161
|
+
}>;
|
|
162
|
+
readonly syncedRepositoryCount: import("effect/Schema").Number;
|
|
163
|
+
readonly syncedAt: import("effect/Schema").String;
|
|
164
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./github.js").GitHubNotFoundError | typeof import("./github.js").GitHubServiceUnavailableError | typeof import("./github.js").GitHubInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"listInstallations", "GET", "/v1/github/installations", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
135
165
|
readonly userId: import("effect/Schema").String;
|
|
136
166
|
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
137
167
|
readonly items: import("effect/Schema").$Array<import("effect/Schema").Struct<{
|
|
@@ -162,37 +192,7 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
162
192
|
readonly isArchived: import("effect/Schema").Boolean;
|
|
163
193
|
readonly lastSyncedAt: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
164
194
|
}>>;
|
|
165
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./github.js").GitHubForbiddenError | typeof import("./github.js").GitHubNotFoundError | typeof import("./github.js").GitHubServiceUnavailableError | typeof import("./github.js").GitHubInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"
|
|
166
|
-
readonly installationId: import("effect/Schema").String;
|
|
167
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
168
|
-
readonly userId: import("effect/Schema").String;
|
|
169
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
170
|
-
readonly installationId: import("effect/Schema").String;
|
|
171
|
-
readonly syncedRepositoryCount: import("effect/Schema").Number;
|
|
172
|
-
readonly syncedAt: import("effect/Schema").String;
|
|
173
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./github.js").GitHubForbiddenError | typeof import("./github.js").GitHubNotFoundError | typeof import("./github.js").GitHubServiceUnavailableError | typeof import("./github.js").GitHubInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"importInstallation", "POST", "/v1/github/installations/import", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
174
|
-
readonly userId: import("effect/Schema").String;
|
|
175
|
-
readonly externalInstallationId: import("effect/Schema").String;
|
|
176
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
177
|
-
readonly installation: import("effect/Schema").Struct<{
|
|
178
|
-
readonly installationId: import("effect/Schema").String;
|
|
179
|
-
readonly externalInstallationId: import("effect/Schema").String;
|
|
180
|
-
readonly accountLogin: import("effect/Schema").String;
|
|
181
|
-
readonly accountType: import("effect/Schema").Literals<readonly ["organization", "user"]>;
|
|
182
|
-
readonly status: import("effect/Schema").Literals<readonly ["active", "suspended", "deleted"]>;
|
|
183
|
-
readonly repositorySelection: import("effect/Schema").Literals<readonly ["all", "selected"]>;
|
|
184
|
-
readonly lastSyncedAt: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
185
|
-
}>;
|
|
186
|
-
readonly syncedRepositoryCount: import("effect/Schema").Number;
|
|
187
|
-
readonly syncedAt: import("effect/Schema").String;
|
|
188
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./github.js").GitHubNotFoundError | typeof import("./github.js").GitHubServiceUnavailableError | typeof import("./github.js").GitHubInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"handleWebhook", "POST", "/v1/github/webhooks", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").String>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
189
|
-
readonly "x-github-delivery": import("effect/Schema").optional<import("effect/Schema").String>;
|
|
190
|
-
readonly "x-github-event": import("effect/Schema").optional<import("effect/Schema").String>;
|
|
191
|
-
readonly "x-hub-signature-256": import("effect/Schema").optional<import("effect/Schema").String>;
|
|
192
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
193
|
-
readonly deliveryId: import("effect/Schema").String;
|
|
194
|
-
readonly status: import("effect/Schema").Literals<readonly ["received", "processed", "failed", "ignored"]>;
|
|
195
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./github.js").GitHubBadRequestError | typeof import("./github.js").GitHubUnauthorizedError | typeof import("./github.js").GitHubServiceUnavailableError | typeof import("./github.js").GitHubInternalServerError>, RequestRefusal, never>, false> | import("effect/unstable/httpapi/HttpApiGroup").HttpApiGroup<"inference", import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"respond", "POST", "/v1/inference/respond", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
195
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./github.js").GitHubForbiddenError | typeof import("./github.js").GitHubNotFoundError | typeof import("./github.js").GitHubServiceUnavailableError | typeof import("./github.js").GitHubInternalServerError>, RequestRefusal, never>, false> | import("effect/unstable/httpapi/HttpApiGroup").HttpApiGroup<"inference", import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"respond", "POST", "/v1/inference/respond", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
196
196
|
readonly ownerUserId: import("effect/Schema").String;
|
|
197
197
|
readonly credentials: import("effect/Schema").optional<import("effect/Schema").Struct<{
|
|
198
198
|
readonly profileId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
@@ -285,21 +285,7 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
285
285
|
}>>;
|
|
286
286
|
readonly fetchedAt: import("effect/Schema").String;
|
|
287
287
|
readonly expiresAt: import("effect/Schema").String;
|
|
288
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./packages.js").PackagesBadGatewayError | typeof import("./packages.js").PackagesInternalServerError>, RequestRefusal, never>, false> | import("effect/unstable/httpapi/HttpApiGroup").HttpApiGroup<"profiles", import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"
|
|
289
|
-
readonly ownerUserId: import("effect/Schema").String;
|
|
290
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
291
|
-
readonly items: import("effect/Schema").$Array<import("effect/Schema").Struct<{
|
|
292
|
-
readonly profileId: import("effect/Schema").String;
|
|
293
|
-
readonly ownerUserId: import("effect/Schema").String;
|
|
294
|
-
readonly slug: import("effect/Schema").String;
|
|
295
|
-
readonly name: import("effect/Schema").String;
|
|
296
|
-
readonly description: import("effect/Schema").NullOr<import("effect/Schema").String>;
|
|
297
|
-
readonly status: import("effect/Schema").Literals<readonly ["active", "archived"]>;
|
|
298
|
-
readonly activeRevisionId: import("effect/Schema").NullOr<import("effect/Schema").String>;
|
|
299
|
-
readonly createdAt: import("effect/Schema").String;
|
|
300
|
-
readonly updatedAt: import("effect/Schema").String;
|
|
301
|
-
}>>;
|
|
302
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./profiles.js").ProfileInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"setProfileCredentialBinding", "PUT", "/v1/profiles/:profileId/credential-bindings", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
288
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./packages.js").PackagesBadGatewayError | typeof import("./packages.js").PackagesInternalServerError>, RequestRefusal, never>, false> | import("effect/unstable/httpapi/HttpApiGroup").HttpApiGroup<"profiles", import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"setProfileCredentialBinding", "PUT", "/v1/profiles/:profileId/credential-bindings", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
303
289
|
readonly profileId: import("effect/Schema").String;
|
|
304
290
|
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
305
291
|
readonly ownerUserId: import("effect/Schema").String;
|
|
@@ -330,7 +316,21 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
330
316
|
}>;
|
|
331
317
|
}>;
|
|
332
318
|
}>>;
|
|
333
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./profiles.js").ProfileBadRequestError | typeof import("./profiles.js").ProfileNotFoundError | typeof import("./profiles.js").ProfileConflictError | typeof import("./profiles.js").ProfileInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"
|
|
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<{
|
|
320
|
+
readonly ownerUserId: import("effect/Schema").String;
|
|
321
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
322
|
+
readonly items: import("effect/Schema").$Array<import("effect/Schema").Struct<{
|
|
323
|
+
readonly profileId: import("effect/Schema").String;
|
|
324
|
+
readonly ownerUserId: import("effect/Schema").String;
|
|
325
|
+
readonly slug: import("effect/Schema").String;
|
|
326
|
+
readonly name: import("effect/Schema").String;
|
|
327
|
+
readonly description: import("effect/Schema").NullOr<import("effect/Schema").String>;
|
|
328
|
+
readonly status: import("effect/Schema").Literals<readonly ["active", "archived"]>;
|
|
329
|
+
readonly activeRevisionId: import("effect/Schema").NullOr<import("effect/Schema").String>;
|
|
330
|
+
readonly createdAt: import("effect/Schema").String;
|
|
331
|
+
readonly updatedAt: import("effect/Schema").String;
|
|
332
|
+
}>>;
|
|
333
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./profiles.js").ProfileInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"listProfileCredentialBindings", "GET", "/v1/profiles/:profileId/credential-bindings", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
334
334
|
readonly profileId: import("effect/Schema").String;
|
|
335
335
|
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
336
336
|
readonly ownerUserId: import("effect/Schema").String;
|
|
@@ -475,36 +475,7 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
475
475
|
readonly recordDeletedAt: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
476
476
|
readonly createdAt: import("effect/Schema").String;
|
|
477
477
|
readonly updatedAt: import("effect/Schema").String;
|
|
478
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./runs.js").RunBadRequestError | typeof import("./runs.js").RunNotFoundError | typeof import("./runs.js").RunInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"
|
|
479
|
-
readonly runId: import("effect/Schema").String;
|
|
480
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
481
|
-
readonly ownerUserId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
482
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
483
|
-
readonly runId: import("effect/Schema").String;
|
|
484
|
-
readonly workspaceId: import("effect/Schema").String;
|
|
485
|
-
readonly attemptId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
486
|
-
readonly ownerUserId: import("effect/Schema").String;
|
|
487
|
-
readonly harnessId: import("effect/Schema").String;
|
|
488
|
-
readonly mode: import("effect/Schema").Literals<readonly ["one-shot", "interactive"]>;
|
|
489
|
-
readonly status: import("effect/Schema").Literals<readonly ["queued", "running", "completed", "failed", "cancelled"]>;
|
|
490
|
-
readonly prompt: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
491
|
-
readonly command: import("effect/Schema").optional<import("effect/Schema").Struct<{
|
|
492
|
-
readonly executable: import("effect/Schema").String;
|
|
493
|
-
readonly args: import("effect/Schema").$Array<import("effect/Schema").String>;
|
|
494
|
-
readonly cwd: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
495
|
-
readonly argCount: import("effect/Schema").optional<import("effect/Schema").Number>;
|
|
496
|
-
readonly argLengths: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").Number>>;
|
|
497
|
-
}>>;
|
|
498
|
-
readonly metadata: import("effect/Schema").optional<import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").Unknown>>;
|
|
499
|
-
readonly user: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
500
|
-
readonly exitCode: import("effect/Schema").optional<import("effect/Schema").Number>;
|
|
501
|
-
readonly errorMessage: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
502
|
-
readonly startedAt: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
503
|
-
readonly finishedAt: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
504
|
-
readonly recordDeletedAt: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
505
|
-
readonly createdAt: import("effect/Schema").String;
|
|
506
|
-
readonly updatedAt: import("effect/Schema").String;
|
|
507
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./budgets.ts").BudgetExceededError | typeof import("./runs.js").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<{
|
|
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<{
|
|
508
479
|
readonly workspaceId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
509
480
|
readonly ownerUserId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
510
481
|
readonly status: import("effect/Schema").optional<import("effect/Schema").Literals<readonly ["queued", "running", "completed", "failed", "cancelled"]>>;
|
|
@@ -536,27 +507,67 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
536
507
|
readonly createdAt: import("effect/Schema").String;
|
|
537
508
|
readonly updatedAt: import("effect/Schema").String;
|
|
538
509
|
}>>;
|
|
539
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./runs.js").RunBadRequestError | typeof import("./runs.js").RunInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"
|
|
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<"getRunLoss", "GET", "/v1/runs/:runId/loss", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
540
511
|
readonly runId: import("effect/Schema").String;
|
|
541
512
|
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
542
513
|
readonly ownerUserId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
543
|
-
readonly fromSequence: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
544
|
-
readonly toSequence: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
545
|
-
readonly limit: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
546
|
-
readonly kinds: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
547
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<{
|
|
548
|
-
readonly
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
readonly
|
|
555
|
-
readonly
|
|
556
|
-
readonly
|
|
557
|
-
readonly
|
|
515
|
+
readonly runId: import("effect/Schema").String;
|
|
516
|
+
readonly droppedEventCount: import("effect/Schema").String;
|
|
517
|
+
readonly sequenceGapCount: import("effect/Schema").Number;
|
|
518
|
+
readonly watchOverflowCount: import("effect/Schema").Number;
|
|
519
|
+
readonly earlyClose: import("effect/Schema").Boolean;
|
|
520
|
+
readonly spans: import("effect/Schema").$Array<import("effect/Schema").Struct<{
|
|
521
|
+
readonly kind: import("effect/Schema").Literals<readonly ["dropped_event", "sequence_gap", "watch_overflow", "early_close"]>;
|
|
522
|
+
readonly fromSequence: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
523
|
+
readonly toSequence: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
524
|
+
readonly droppedCount: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
525
|
+
readonly detectedVia: import("effect/Schema").Literals<readonly ["marker", "gap"]>;
|
|
526
|
+
readonly reason: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
527
|
+
}>>;
|
|
528
|
+
}>>, 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<{
|
|
529
|
+
readonly runId: import("effect/Schema").String;
|
|
530
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
531
|
+
readonly ownerUserId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
532
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
533
|
+
readonly files: import("effect/Schema").$Array<import("effect/Schema").Struct<{
|
|
534
|
+
readonly path: import("effect/Schema").String;
|
|
535
|
+
readonly change: import("effect/Schema").Literals<readonly ["added", "modified", "deleted", "renamed"]>;
|
|
536
|
+
readonly oldPath: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
537
|
+
}>>;
|
|
538
|
+
readonly diff: import("effect/Schema").String;
|
|
539
|
+
readonly available: import("effect/Schema").optional<import("effect/Schema").Boolean>;
|
|
540
|
+
readonly unavailableReason: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
541
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./runs.js").RunNotFoundError | typeof import("./runs.js").RunInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"getRun", "GET", "/v1/runs/:runId", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
542
|
+
readonly runId: import("effect/Schema").String;
|
|
543
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
544
|
+
readonly ownerUserId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
545
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
546
|
+
readonly runId: import("effect/Schema").String;
|
|
547
|
+
readonly workspaceId: import("effect/Schema").String;
|
|
548
|
+
readonly attemptId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
549
|
+
readonly ownerUserId: import("effect/Schema").String;
|
|
550
|
+
readonly harnessId: import("effect/Schema").String;
|
|
551
|
+
readonly mode: import("effect/Schema").Literals<readonly ["one-shot", "interactive"]>;
|
|
552
|
+
readonly status: import("effect/Schema").Literals<readonly ["queued", "running", "completed", "failed", "cancelled"]>;
|
|
553
|
+
readonly prompt: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
554
|
+
readonly command: import("effect/Schema").optional<import("effect/Schema").Struct<{
|
|
555
|
+
readonly executable: import("effect/Schema").String;
|
|
556
|
+
readonly args: import("effect/Schema").$Array<import("effect/Schema").String>;
|
|
557
|
+
readonly cwd: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
558
|
+
readonly argCount: import("effect/Schema").optional<import("effect/Schema").Number>;
|
|
559
|
+
readonly argLengths: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").Number>>;
|
|
558
560
|
}>>;
|
|
559
|
-
|
|
561
|
+
readonly metadata: import("effect/Schema").optional<import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").Unknown>>;
|
|
562
|
+
readonly user: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
563
|
+
readonly exitCode: import("effect/Schema").optional<import("effect/Schema").Number>;
|
|
564
|
+
readonly errorMessage: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
565
|
+
readonly startedAt: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
566
|
+
readonly finishedAt: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
567
|
+
readonly recordDeletedAt: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
568
|
+
readonly createdAt: import("effect/Schema").String;
|
|
569
|
+
readonly updatedAt: import("effect/Schema").String;
|
|
570
|
+
}>>, 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<{
|
|
560
571
|
readonly runId: import("effect/Schema").String;
|
|
561
572
|
readonly sequence: import("effect/Schema").String;
|
|
562
573
|
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
@@ -578,6 +589,26 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
578
589
|
readonly payloadCase: import("effect/Schema").String;
|
|
579
590
|
readonly payload: import("effect/Schema").Unknown;
|
|
580
591
|
readonly ingestedAt: import("effect/Schema").String;
|
|
592
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./runs.js").RunBadRequestError | typeof import("./runs.js").RunNotFoundError | typeof import("./runs.js").RunInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"getRunTimeline", "GET", "/v1/runs/:runId/timeline", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
593
|
+
readonly runId: import("effect/Schema").String;
|
|
594
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
595
|
+
readonly ownerUserId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
596
|
+
readonly fromSequence: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
597
|
+
readonly toSequence: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
598
|
+
readonly limit: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
599
|
+
readonly kinds: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
600
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
601
|
+
readonly items: import("effect/Schema").$Array<import("effect/Schema").Struct<{
|
|
602
|
+
readonly eventId: import("effect/Schema").String;
|
|
603
|
+
readonly sequence: import("effect/Schema").String;
|
|
604
|
+
readonly kind: import("effect/Schema").String;
|
|
605
|
+
readonly occurredAt: import("effect/Schema").String;
|
|
606
|
+
readonly summary: import("effect/Schema").String;
|
|
607
|
+
readonly ref: import("effect/Schema").optional<import("effect/Schema").Unknown>;
|
|
608
|
+
readonly processId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
609
|
+
readonly captureMethod: import("effect/Schema").Number;
|
|
610
|
+
readonly confidence: import("effect/Schema").Number;
|
|
611
|
+
}>>;
|
|
581
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<{
|
|
582
613
|
readonly runId: import("effect/Schema").String;
|
|
583
614
|
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
@@ -592,38 +623,7 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
592
623
|
readonly stream: import("effect/Schema").Literals<readonly ["stdout", "stderr", "pty"]>;
|
|
593
624
|
readonly byteCount: import("effect/Schema").Number;
|
|
594
625
|
readonly contentBase64: import("effect/Schema").String;
|
|
595
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./runs.js").RunBadRequestError | typeof import("./runs.js").RunNotFoundError | typeof import("./runs.js").RunInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"
|
|
596
|
-
readonly runId: import("effect/Schema").String;
|
|
597
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
598
|
-
readonly ownerUserId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
599
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
600
|
-
readonly runId: import("effect/Schema").String;
|
|
601
|
-
readonly droppedEventCount: import("effect/Schema").String;
|
|
602
|
-
readonly sequenceGapCount: import("effect/Schema").Number;
|
|
603
|
-
readonly watchOverflowCount: import("effect/Schema").Number;
|
|
604
|
-
readonly earlyClose: import("effect/Schema").Boolean;
|
|
605
|
-
readonly spans: import("effect/Schema").$Array<import("effect/Schema").Struct<{
|
|
606
|
-
readonly kind: import("effect/Schema").Literals<readonly ["dropped_event", "sequence_gap", "watch_overflow", "early_close"]>;
|
|
607
|
-
readonly fromSequence: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
608
|
-
readonly toSequence: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
609
|
-
readonly droppedCount: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
610
|
-
readonly detectedVia: import("effect/Schema").Literals<readonly ["marker", "gap"]>;
|
|
611
|
-
readonly reason: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
612
|
-
}>>;
|
|
613
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./runs.js").RunNotFoundError | typeof import("./runs.js").RunInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"getRunChanges", "GET", "/v1/runs/:runId/changes", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
614
|
-
readonly runId: import("effect/Schema").String;
|
|
615
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
616
|
-
readonly ownerUserId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
617
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
618
|
-
readonly files: import("effect/Schema").$Array<import("effect/Schema").Struct<{
|
|
619
|
-
readonly path: import("effect/Schema").String;
|
|
620
|
-
readonly change: import("effect/Schema").Literals<readonly ["added", "modified", "deleted", "renamed"]>;
|
|
621
|
-
readonly oldPath: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
622
|
-
}>>;
|
|
623
|
-
readonly diff: import("effect/Schema").String;
|
|
624
|
-
readonly available: import("effect/Schema").optional<import("effect/Schema").Boolean>;
|
|
625
|
-
readonly unavailableReason: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
626
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./runs.js").RunNotFoundError | typeof import("./runs.js").RunInternalServerError>, RequestRefusal, never>, false> | import("effect/unstable/httpapi/HttpApiGroup").HttpApiGroup<"sessions", import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"createSession", "POST", "/v1/sessions/", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
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<{
|
|
627
627
|
readonly workspaceId: import("effect/Schema").String;
|
|
628
628
|
readonly ownerUserId: import("effect/Schema").String;
|
|
629
629
|
readonly argv: import("effect/Schema").$Array<import("effect/Schema").String>;
|
|
@@ -691,37 +691,39 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
691
691
|
readonly outputHighWater: import("effect/Schema").String;
|
|
692
692
|
readonly createdAt: import("effect/Schema").String;
|
|
693
693
|
readonly endedAt: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
694
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./sessions.js").SessionBadRequestError | typeof import("./sessions.js").SessionUnauthorizedError | typeof import("./sessions.js").SessionForbiddenError | typeof import("./sessions.js").SessionNotFoundError | typeof import("./sessions.js").SessionConflictError | typeof import("./sessions.js").SessionBadGatewayError | typeof import("./sessions.js").SessionInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"
|
|
694
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./sessions.js").SessionBadRequestError | typeof import("./sessions.js").SessionUnauthorizedError | typeof import("./sessions.js").SessionForbiddenError | typeof import("./sessions.js").SessionNotFoundError | typeof import("./sessions.js").SessionConflictError | typeof import("./sessions.js").SessionBadGatewayError | typeof import("./sessions.js").SessionInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"sendSessionInput", "POST", "/v1/sessions/:sessionId/input", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
695
695
|
readonly sessionId: import("effect/Schema").String;
|
|
696
696
|
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
697
697
|
readonly ownerUserId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
698
|
+
readonly dataBase64: import("effect/Schema").String;
|
|
698
699
|
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
699
700
|
readonly authorization: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
700
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<{
|
|
701
704
|
readonly sessionId: import("effect/Schema").String;
|
|
702
|
-
|
|
703
|
-
readonly
|
|
704
|
-
readonly
|
|
705
|
-
readonly
|
|
706
|
-
|
|
707
|
-
readonly
|
|
708
|
-
|
|
709
|
-
readonly
|
|
710
|
-
|
|
711
|
-
readonly rows: import("effect/Schema").Number;
|
|
712
|
-
readonly mode: import("effect/Schema").optional<import("effect/Schema").Literals<readonly ["pty", "pipe"]>>;
|
|
713
|
-
readonly exitCode: import("effect/Schema").optional<import("effect/Schema").Number>;
|
|
714
|
-
readonly exitSignal: import("effect/Schema").optional<import("effect/Schema").Number>;
|
|
715
|
-
readonly errorMessage: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
716
|
-
readonly metadata: import("effect/Schema").optional<import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").Unknown>>;
|
|
717
|
-
readonly outputHighWater: import("effect/Schema").String;
|
|
718
|
-
readonly createdAt: import("effect/Schema").String;
|
|
719
|
-
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").SessionBadGatewayError | typeof import("./sessions.js").SessionInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"getSession", "GET", "/v1/sessions/:sessionId", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
705
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
706
|
+
readonly ownerUserId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
707
|
+
readonly cols: import("effect/Schema").Int;
|
|
708
|
+
readonly rows: import("effect/Schema").Int;
|
|
709
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
710
|
+
readonly authorization: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
711
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
712
|
+
readonly ok: import("effect/Schema").Boolean;
|
|
713
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./sessions.js").SessionBadRequestError | typeof import("./sessions.js").SessionUnauthorizedError | typeof import("./sessions.js").SessionForbiddenError | typeof import("./sessions.js").SessionNotFoundError | typeof import("./sessions.js").SessionConflictError | typeof import("./sessions.js").SessionBadGatewayError | typeof import("./sessions.js").SessionInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"signalSession", "POST", "/v1/sessions/:sessionId/signal", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
721
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;
|
|
722
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<{
|
|
723
725
|
readonly ownerUserId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
724
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<
|
|
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,7 +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<"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<{
|
|
747
749
|
readonly ownerUserId: import("effect/Schema").String;
|
|
748
750
|
readonly workspaceId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
749
751
|
readonly status: import("effect/Schema").optional<import("effect/Schema").Literals<readonly ["starting", "running", "exited", "failed"]>>;
|
|
@@ -788,57 +790,64 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
788
790
|
}>>;
|
|
789
791
|
readonly nextFrom: import("effect/Schema").String;
|
|
790
792
|
readonly status: import("effect/Schema").Literals<readonly ["starting", "running", "exited", "failed"]>;
|
|
791
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./sessions.js").SessionBadRequestError | typeof import("./sessions.js").SessionUnauthorizedError | typeof import("./sessions.js").SessionForbiddenError | typeof import("./sessions.js").SessionNotFoundError | typeof import("./sessions.js").SessionInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"
|
|
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<{
|
|
792
794
|
readonly sessionId: import("effect/Schema").String;
|
|
793
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
794
|
-
readonly ownerUserId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
795
|
-
readonly dataBase64: import("effect/Schema").String;
|
|
796
795
|
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
797
|
-
readonly authorization: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
798
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
799
|
-
readonly ok: import("effect/Schema").Boolean;
|
|
800
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./sessions.js").SessionBadRequestError | typeof import("./sessions.js").SessionUnauthorizedError | typeof import("./sessions.js").SessionForbiddenError | typeof import("./sessions.js").SessionNotFoundError | typeof import("./sessions.js").SessionConflictError | typeof import("./sessions.js").SessionBadGatewayError | typeof import("./sessions.js").SessionInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"resizeSession", "POST", "/v1/sessions/:sessionId/resize", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
801
|
-
readonly sessionId: import("effect/Schema").String;
|
|
802
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
803
796
|
readonly ownerUserId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
804
|
-
|
|
805
|
-
readonly rows: import("effect/Schema").Int;
|
|
806
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
797
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
807
798
|
readonly authorization: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
808
799
|
}>>, 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
800
|
readonly sessionId: import("effect/Schema").String;
|
|
812
|
-
|
|
813
|
-
readonly
|
|
814
|
-
readonly
|
|
801
|
+
readonly workspaceId: import("effect/Schema").String;
|
|
802
|
+
readonly runId: import("effect/Schema").String;
|
|
803
|
+
readonly ownerUserId: import("effect/Schema").String;
|
|
804
|
+
readonly status: import("effect/Schema").Literals<readonly ["starting", "running", "exited", "failed"]>;
|
|
805
|
+
readonly argv: import("effect/Schema").$Array<import("effect/Schema").String>;
|
|
806
|
+
readonly argCount: import("effect/Schema").optional<import("effect/Schema").Number>;
|
|
807
|
+
readonly argLengths: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").Number>>;
|
|
808
|
+
readonly cwd: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
809
|
+
readonly cols: import("effect/Schema").Number;
|
|
810
|
+
readonly rows: import("effect/Schema").Number;
|
|
811
|
+
readonly mode: import("effect/Schema").optional<import("effect/Schema").Literals<readonly ["pty", "pipe"]>>;
|
|
812
|
+
readonly exitCode: import("effect/Schema").optional<import("effect/Schema").Number>;
|
|
813
|
+
readonly exitSignal: import("effect/Schema").optional<import("effect/Schema").Number>;
|
|
814
|
+
readonly errorMessage: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
815
|
+
readonly metadata: import("effect/Schema").optional<import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").Unknown>>;
|
|
816
|
+
readonly outputHighWater: import("effect/Schema").String;
|
|
817
|
+
readonly createdAt: import("effect/Schema").String;
|
|
818
|
+
readonly endedAt: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
819
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./sessions.js").SessionBadRequestError | typeof import("./sessions.js").SessionUnauthorizedError | typeof import("./sessions.js").SessionForbiddenError | typeof import("./sessions.js").SessionNotFoundError | typeof import("./sessions.js").SessionInternalServerError>, RequestRefusal, never>, false> | import("effect/unstable/httpapi/HttpApiGroup").HttpApiGroup<"sshKeys", import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"archiveSshKey", "DELETE", "/v1/ssh-keys/:sshKeyId", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
820
|
+
readonly sshKeyId: import("effect/Schema").String;
|
|
815
821
|
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
816
|
-
readonly authorization: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
817
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
818
|
-
readonly ok: import("effect/Schema").Boolean;
|
|
819
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./sessions.js").SessionBadRequestError | typeof import("./sessions.js").SessionUnauthorizedError | typeof import("./sessions.js").SessionForbiddenError | typeof import("./sessions.js").SessionNotFoundError | typeof import("./sessions.js").SessionConflictError | typeof import("./sessions.js").SessionBadGatewayError | typeof import("./sessions.js").SessionInternalServerError>, RequestRefusal, never>, false> | import("effect/unstable/httpapi/HttpApiGroup").HttpApiGroup<"sshKeys", import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"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
822
|
readonly ownerUserId: import("effect/Schema").String;
|
|
821
|
-
|
|
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<{
|
|
823
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
824
824
|
readonly sshKeyId: import("effect/Schema").String;
|
|
825
825
|
readonly ownerUserId: import("effect/Schema").String;
|
|
826
826
|
readonly name: import("effect/Schema").String;
|
|
827
827
|
readonly algorithm: import("effect/Schema").String;
|
|
828
828
|
readonly fingerprint: import("effect/Schema").String;
|
|
829
829
|
readonly createdAt: import("effect/Schema").String;
|
|
830
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./ssh-keys.js").
|
|
831
|
-
readonly sshKeyId: import("effect/Schema").String;
|
|
832
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
830
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./ssh-keys.js").SshKeyNotFoundError | typeof import("./ssh-keys.js").SshKeyInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"createSshKey", "POST", "/v1/ssh-keys/", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
833
831
|
readonly ownerUserId: import("effect/Schema").String;
|
|
834
|
-
|
|
832
|
+
readonly name: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
833
|
+
readonly publicKey: import("effect/Schema").String;
|
|
834
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
835
835
|
readonly sshKeyId: import("effect/Schema").String;
|
|
836
836
|
readonly ownerUserId: import("effect/Schema").String;
|
|
837
837
|
readonly name: import("effect/Schema").String;
|
|
838
838
|
readonly algorithm: import("effect/Schema").String;
|
|
839
839
|
readonly fingerprint: import("effect/Schema").String;
|
|
840
840
|
readonly createdAt: import("effect/Schema").String;
|
|
841
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./ssh-keys.js").SshKeyNotFoundError | typeof import("./ssh-keys.js").SshKeyInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"
|
|
841
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./ssh-keys.js").SshKeyBadRequestError | typeof import("./ssh-keys.js").SshKeyNotFoundError | typeof import("./ssh-keys.js").SshKeyConflictError | typeof import("./ssh-keys.js").SshKeyInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"resolveSshPrincipal", "POST", "/v1/ssh-keys/resolve-principal", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
842
|
+
readonly algo: import("effect/Schema").String;
|
|
843
|
+
readonly publicKeyBase64: import("effect/Schema").String;
|
|
844
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
845
|
+
readonly "x-sealant-gateway-token": import("effect/Schema").optional<import("effect/Schema").String>;
|
|
846
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
847
|
+
readonly principalId: import("effect/Schema").String;
|
|
848
|
+
readonly sshKeyId: import("effect/Schema").String;
|
|
849
|
+
readonly fingerprint: import("effect/Schema").String;
|
|
850
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./ssh-keys.js").SshKeyUnauthorizedError | typeof import("./ssh-keys.js").SshKeyNotFoundError | typeof import("./ssh-keys.js").SshKeyServiceUnavailableError | typeof import("./ssh-keys.js").SshKeyInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"listSshKeys", "GET", "/v1/ssh-keys/", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
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;
|
|
@@ -884,14 +884,7 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
884
884
|
readonly port: import("effect/Schema").Number;
|
|
885
885
|
readonly usernamePrefix: import("effect/Schema").String;
|
|
886
886
|
}>>;
|
|
887
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./system.js").SystemInternalServerError>, RequestRefusal, never>, false> | import("effect/unstable/httpapi/HttpApiGroup").HttpApiGroup<"users", import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"
|
|
888
|
-
readonly userId: import("effect/Schema").String;
|
|
889
|
-
}>>, 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<{
|
|
890
|
-
readonly userId: import("effect/Schema").String;
|
|
891
|
-
readonly email: import("effect/Schema").String;
|
|
892
|
-
readonly name: import("effect/Schema").String;
|
|
893
|
-
readonly createdAt: import("effect/Schema").String;
|
|
894
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./users.js").UserNotFoundError | typeof import("./users.js").UserInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"ensureUser", "POST", "/v1/users/", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
887
|
+
}>>, 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<{
|
|
895
888
|
readonly email: import("effect/Schema").String;
|
|
896
889
|
readonly name: import("effect/Schema").String;
|
|
897
890
|
readonly userId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
@@ -915,7 +908,84 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
915
908
|
readonly home: import("effect/Schema").String;
|
|
916
909
|
}>;
|
|
917
910
|
readonly created: import("effect/Schema").Boolean;
|
|
918
|
-
}>>, 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
|
|
911
|
+
}>>, 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<{
|
|
912
|
+
readonly userId: import("effect/Schema").String;
|
|
913
|
+
}>>, 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<{
|
|
914
|
+
readonly userId: import("effect/Schema").String;
|
|
915
|
+
readonly email: import("effect/Schema").String;
|
|
916
|
+
readonly name: import("effect/Schema").String;
|
|
917
|
+
readonly createdAt: import("effect/Schema").String;
|
|
918
|
+
}>>, 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<"clearWorkspaceSshUser", "DELETE", "/v1/workspaces/:workspaceId/ssh-user", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
919
|
+
readonly workspaceId: import("effect/Schema").String;
|
|
920
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
921
|
+
readonly ownerUserId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
922
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
923
|
+
readonly workspaceId: import("effect/Schema").String;
|
|
924
|
+
readonly sshUser: import("effect/Schema").Null;
|
|
925
|
+
}>>, 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<{
|
|
926
|
+
readonly workspaceId: import("effect/Schema").String;
|
|
927
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
928
|
+
readonly ownerUserId: import("effect/Schema").String;
|
|
929
|
+
readonly home: import("effect/Schema").String;
|
|
930
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
931
|
+
readonly workspaceId: import("effect/Schema").String;
|
|
932
|
+
readonly runId: import("effect/Schema").String;
|
|
933
|
+
readonly home: import("effect/Schema").String;
|
|
934
|
+
readonly released: import("effect/Schema").Boolean;
|
|
935
|
+
}>>, 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<"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<{
|
|
936
|
+
readonly ownerUserId: import("effect/Schema").String;
|
|
937
|
+
readonly registryId: import("effect/Schema").String;
|
|
938
|
+
readonly repository: import("effect/Schema").String;
|
|
939
|
+
readonly tag: import("effect/Schema").String;
|
|
940
|
+
readonly name: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
941
|
+
readonly sourceSelection: import("effect/Schema").optional<import("effect/Schema").Struct<{
|
|
942
|
+
readonly provider: import("effect/Schema").Literal<"github">;
|
|
943
|
+
readonly installationId: import("effect/Schema").String;
|
|
944
|
+
readonly installationRepositoryId: import("effect/Schema").String;
|
|
945
|
+
readonly ref: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
946
|
+
}>>;
|
|
947
|
+
readonly dotfilesSelection: import("effect/Schema").optional<import("effect/Schema").Struct<{
|
|
948
|
+
readonly provider: import("effect/Schema").Literal<"github">;
|
|
949
|
+
readonly installationId: import("effect/Schema").String;
|
|
950
|
+
readonly installationRepositoryId: import("effect/Schema").String;
|
|
951
|
+
readonly ref: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
952
|
+
}>>;
|
|
953
|
+
readonly credentials: import("effect/Schema").optional<import("effect/Schema").Struct<{
|
|
954
|
+
readonly profileId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
955
|
+
readonly claude: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
956
|
+
readonly codex: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
957
|
+
readonly github: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
958
|
+
}>>;
|
|
959
|
+
readonly spec: import("effect/Schema").Unknown;
|
|
960
|
+
readonly secretEnv: import("effect/Schema").optional<import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").String>>;
|
|
961
|
+
readonly captureToken: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
962
|
+
readonly ttlSeconds: import("effect/Schema").optional<import("effect/Schema").Int>;
|
|
963
|
+
readonly idempotencyKey: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
964
|
+
readonly launchId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
965
|
+
readonly sshAsOwner: import("effect/Schema").optional<import("effect/Schema").Boolean>;
|
|
966
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
967
|
+
readonly "idempotency-key": import("effect/Schema").optional<import("effect/Schema").String>;
|
|
968
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
969
|
+
readonly workspaceId: import("effect/Schema").String;
|
|
970
|
+
readonly name: import("effect/Schema").String;
|
|
971
|
+
readonly status: import("effect/Schema").Literals<readonly ["queued", "running", "ready", "failed", "cancelled", "stopped", "retained"]>;
|
|
972
|
+
readonly registryId: import("effect/Schema").String;
|
|
973
|
+
readonly repository: import("effect/Schema").String;
|
|
974
|
+
readonly tag: import("effect/Schema").String;
|
|
975
|
+
readonly runId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
976
|
+
readonly runtime: import("effect/Schema").optional<import("effect/Schema").Struct<{
|
|
977
|
+
readonly adapter: import("effect/Schema").Literals<readonly ["docker", "k8s", "k3s", "cloudflare", "microvm"]>;
|
|
978
|
+
readonly resourceId: import("effect/Schema").String;
|
|
979
|
+
readonly reference: import("effect/Schema").String;
|
|
980
|
+
readonly status: import("effect/Schema").Literals<readonly ["pending", "running", "ready", "failed", "stopped", "retained"]>;
|
|
981
|
+
readonly endpoint: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
982
|
+
readonly deadline: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").String>>;
|
|
983
|
+
readonly runId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
984
|
+
readonly launchId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
985
|
+
}>>;
|
|
986
|
+
readonly replayed: import("effect/Schema").optional<import("effect/Schema").Boolean>;
|
|
987
|
+
readonly launchId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
988
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./budgets.ts").BudgetExceededError | typeof import("./workspaces.js").WorkspaceBadRequestError | typeof import("./workspaces.js").WorkspaceRuntimeEnvReferencesUnsupportedError | typeof import("./workspaces.js").WorkspaceDockerServiceUnsupportedError | typeof import("./workspaces.js").WorkspaceSshOwnerRefusedError | typeof import("./workspaces.js").WorkspaceForbiddenError | typeof import("./workspaces.js").WorkspaceNotFoundError | typeof import("./workspaces.js").WorkspaceConflictError | typeof import("./workspaces.js").WorkspaceBadGatewayError | typeof import("./workspaces.js").WorkspaceServiceUnavailableError | typeof import("./workspaces.js").WorkspaceInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"execWorkspace", "POST", "/v1/workspaces/:workspaceId/exec", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
919
989
|
readonly workspaceId: import("effect/Schema").String;
|
|
920
990
|
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
921
991
|
readonly ownerUserId: import("effect/Schema").String;
|
|
@@ -1099,60 +1169,6 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
1099
1169
|
readonly boundMs: import("effect/Schema").Number;
|
|
1100
1170
|
}>>;
|
|
1101
1171
|
readonly ownerMap: import("effect/Schema").optional<import("effect/Schema").Boolean>;
|
|
1102
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./workspaces.js").WorkspaceBadRequestError | typeof import("./workspaces.js").WorkspaceNotFoundError | typeof import("./workspaces.js").WorkspaceConflictError | typeof import("./workspaces.js").WorkspaceInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"getWorkspaceCaptureStatus", "GET", "/v1/workspaces/:workspaceId/capture", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
1103
|
-
readonly workspaceId: import("effect/Schema").String;
|
|
1104
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
1105
|
-
readonly ownerUserId: import("effect/Schema").String;
|
|
1106
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
1107
|
-
readonly epoch: import("effect/Schema").Number;
|
|
1108
|
-
readonly worktreeId: import("effect/Schema").String;
|
|
1109
|
-
readonly headN: import("effect/Schema").optional<import("effect/Schema").Number>;
|
|
1110
|
-
readonly pending: import("effect/Schema").Number;
|
|
1111
|
-
readonly stagedBytes: import("effect/Schema").Number;
|
|
1112
|
-
readonly uploadedObjects: import("effect/Schema").Number;
|
|
1113
|
-
readonly uploadedBytes: import("effect/Schema").Number;
|
|
1114
|
-
readonly registered: import("effect/Schema").Number;
|
|
1115
|
-
readonly fenced: import("effect/Schema").Boolean;
|
|
1116
|
-
readonly paused: import("effect/Schema").Boolean;
|
|
1117
|
-
readonly lastSnapUnixMs: import("effect/Schema").optional<import("effect/Schema").Number>;
|
|
1118
|
-
readonly refused: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").Literals<readonly ["small", "bulk"]>>>;
|
|
1119
|
-
readonly pendingBytes: import("effect/Schema").optional<import("effect/Schema").Number>;
|
|
1120
|
-
readonly pendingBulk: import("effect/Schema").optional<import("effect/Schema").Number>;
|
|
1121
|
-
readonly complete: import("effect/Schema").optional<import("effect/Schema").Boolean>;
|
|
1122
|
-
readonly incompleteReason: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1123
|
-
readonly unreadable: import("effect/Schema").optional<import("effect/Schema").Number>;
|
|
1124
|
-
readonly carried: import("effect/Schema").optional<import("effect/Schema").Number>;
|
|
1125
|
-
readonly unreadablePaths: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").String>>;
|
|
1126
|
-
readonly registerRefused: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1127
|
-
readonly registerRefusedN: import("effect/Schema").optional<import("effect/Schema").Number>;
|
|
1128
|
-
readonly registerMissing: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").String>>;
|
|
1129
|
-
readonly registerRefusals: import("effect/Schema").optional<import("effect/Schema").Number>;
|
|
1130
|
-
readonly repairing: import("effect/Schema").optional<import("effect/Schema").Boolean>;
|
|
1131
|
-
readonly bulkBuilding: import("effect/Schema").optional<import("effect/Schema").Boolean>;
|
|
1132
|
-
readonly snaps: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").Struct<{
|
|
1133
|
-
readonly class: import("effect/Schema").Literals<readonly ["small", "bulk"]>;
|
|
1134
|
-
readonly snapsFailed: import("effect/Schema").Number;
|
|
1135
|
-
readonly lastSnapError: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1136
|
-
readonly snapFailingSinceUnixMs: import("effect/Schema").optional<import("effect/Schema").Number>;
|
|
1137
|
-
}>>>;
|
|
1138
|
-
readonly lastSnapError: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1139
|
-
readonly snapFailingSinceUnixMs: import("effect/Schema").optional<import("effect/Schema").Number>;
|
|
1140
|
-
readonly snapsFailed: import("effect/Schema").optional<import("effect/Schema").Number>;
|
|
1141
|
-
readonly origin: import("effect/Schema").optional<import("effect/Schema").Struct<{
|
|
1142
|
-
readonly epoch: import("effect/Schema").Int;
|
|
1143
|
-
readonly launch: import("effect/Schema").String;
|
|
1144
|
-
readonly bootId: import("effect/Schema").String;
|
|
1145
|
-
readonly bootGeneration: import("effect/Schema").Int;
|
|
1146
|
-
readonly observation: import("effect/Schema").Int;
|
|
1147
|
-
readonly headN: import("effect/Schema").optional<import("effect/Schema").Int>;
|
|
1148
|
-
}>>;
|
|
1149
|
-
readonly overdue: import("effect/Schema").optional<import("effect/Schema").Struct<{
|
|
1150
|
-
readonly step: import("effect/Schema").String;
|
|
1151
|
-
readonly startedUnixMs: import("effect/Schema").Number;
|
|
1152
|
-
readonly runningMs: import("effect/Schema").Number;
|
|
1153
|
-
readonly boundMs: import("effect/Schema").Number;
|
|
1154
|
-
}>>;
|
|
1155
|
-
readonly ownerMap: import("effect/Schema").optional<import("effect/Schema").Boolean>;
|
|
1156
1172
|
}>>, 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<{
|
|
1157
1173
|
readonly workspaceId: import("effect/Schema").String;
|
|
1158
1174
|
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
@@ -1176,7 +1192,16 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
1176
1192
|
readonly bytesSkipped: import("effect/Schema").Number;
|
|
1177
1193
|
readonly removed: import("effect/Schema").Number;
|
|
1178
1194
|
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<"
|
|
1195
|
+
}>>, 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<{
|
|
1196
|
+
readonly workspaceId: import("effect/Schema").String;
|
|
1197
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
1198
|
+
readonly name: import("effect/Schema").String;
|
|
1199
|
+
readonly ownerUserId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1200
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
1201
|
+
readonly workspaceId: import("effect/Schema").String;
|
|
1202
|
+
readonly name: import("effect/Schema").String;
|
|
1203
|
+
readonly updatedAt: import("effect/Schema").String;
|
|
1204
|
+
}>>, 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<{
|
|
1180
1205
|
readonly workspaceId: import("effect/Schema").String;
|
|
1181
1206
|
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
1182
1207
|
readonly ownerUserId: import("effect/Schema").String;
|
|
@@ -1292,74 +1317,15 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
1292
1317
|
readonly code: import("effect/Schema").Literals<readonly ["connected-account-missing", "connected-account-invalid", "connected-account-unsupported", "login-file-unusable"]>;
|
|
1293
1318
|
readonly message: import("effect/Schema").String;
|
|
1294
1319
|
}>>>;
|
|
1295
|
-
}>>, 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<"
|
|
1320
|
+
}>>, 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<{
|
|
1296
1321
|
readonly workspaceId: import("effect/Schema").String;
|
|
1297
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
1322
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
1298
1323
|
readonly ownerUserId: import("effect/Schema").String;
|
|
1299
|
-
readonly
|
|
1300
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").
|
|
1301
|
-
readonly workspaceId: import("effect/Schema").String;
|
|
1302
|
-
readonly runId: import("effect/Schema").String;
|
|
1303
|
-
readonly home: import("effect/Schema").String;
|
|
1304
|
-
readonly released: import("effect/Schema").Boolean;
|
|
1305
|
-
}>>, 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<{
|
|
1306
|
-
readonly workspaceId: import("effect/Schema").String;
|
|
1307
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
1308
|
-
readonly ownerUserId: import("effect/Schema").String;
|
|
1309
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, 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 runId: import("effect/Schema").String;
|
|
1312
|
-
readonly homes: import("effect/Schema").$Array<import("effect/Schema").Struct<{
|
|
1313
|
-
readonly home: import("effect/Schema").String;
|
|
1314
|
-
readonly onBehalfOfUserId: import("effect/Schema").String;
|
|
1315
|
-
readonly accounts: import("effect/Schema").Struct<{
|
|
1316
|
-
readonly claude: import("effect/Schema").optional<import("effect/Schema").Struct<{
|
|
1317
|
-
readonly connectedAccountId: import("effect/Schema").String;
|
|
1318
|
-
readonly name: import("effect/Schema").String;
|
|
1319
|
-
}>>;
|
|
1320
|
-
readonly codex: import("effect/Schema").optional<import("effect/Schema").Struct<{
|
|
1321
|
-
readonly connectedAccountId: import("effect/Schema").String;
|
|
1322
|
-
readonly name: import("effect/Schema").String;
|
|
1323
|
-
}>>;
|
|
1324
|
-
readonly github: import("effect/Schema").optional<import("effect/Schema").Struct<{
|
|
1325
|
-
readonly connectedAccountId: import("effect/Schema").String;
|
|
1326
|
-
readonly name: import("effect/Schema").String;
|
|
1327
|
-
}>>;
|
|
1328
|
-
readonly pi: import("effect/Schema").optional<import("effect/Schema").Struct<{
|
|
1329
|
-
readonly connectedAccountId: import("effect/Schema").String;
|
|
1330
|
-
readonly name: import("effect/Schema").String;
|
|
1331
|
-
}>>;
|
|
1332
|
-
readonly opencode: import("effect/Schema").optional<import("effect/Schema").Struct<{
|
|
1333
|
-
readonly connectedAccountId: import("effect/Schema").String;
|
|
1334
|
-
readonly name: import("effect/Schema").String;
|
|
1335
|
-
}>>;
|
|
1336
|
-
}>;
|
|
1337
|
-
}>>;
|
|
1338
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./workspaces.js").WorkspaceForbiddenError | typeof import("./workspaces.js").WorkspaceNotFoundError | typeof import("./workspaces.js").WorkspaceConflictError | typeof import("./workspaces.js").WorkspaceInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"expireWorkspace", "POST", "/v1/workspaces/:workspaceId/expire", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
1339
|
-
readonly workspaceId: import("effect/Schema").String;
|
|
1340
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
1341
|
-
readonly ownerUserId: import("effect/Schema").String;
|
|
1342
|
-
readonly ttlSeconds: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").Int>>;
|
|
1343
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
1324
|
+
readonly ttlSeconds: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").Int>>;
|
|
1325
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
1344
1326
|
readonly workspaceId: import("effect/Schema").String;
|
|
1345
1327
|
readonly expiresAt: import("effect/Schema").NullOr<import("effect/Schema").String>;
|
|
1346
|
-
}>>, 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<"
|
|
1347
|
-
readonly workspaceId: import("effect/Schema").String;
|
|
1348
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
1349
|
-
readonly name: import("effect/Schema").String;
|
|
1350
|
-
readonly ownerUserId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1351
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
1352
|
-
readonly workspaceId: import("effect/Schema").String;
|
|
1353
|
-
readonly name: import("effect/Schema").String;
|
|
1354
|
-
readonly updatedAt: import("effect/Schema").String;
|
|
1355
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./workspaces.js").WorkspaceNotFoundError | typeof import("./workspaces.js").WorkspaceInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"clearWorkspaceSshUser", "DELETE", "/v1/workspaces/:workspaceId/ssh-user", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
1356
|
-
readonly workspaceId: import("effect/Schema").String;
|
|
1357
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
1358
|
-
readonly ownerUserId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1359
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
1360
|
-
readonly workspaceId: import("effect/Schema").String;
|
|
1361
|
-
readonly sshUser: import("effect/Schema").Null;
|
|
1362
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<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<{
|
|
1328
|
+
}>>, 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<{
|
|
1363
1329
|
readonly idempotencyKey: import("effect/Schema").String;
|
|
1364
1330
|
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
1365
1331
|
readonly ownerUserId: import("effect/Schema").String;
|
|
@@ -1379,6 +1345,64 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
1379
1345
|
readonly workspaceId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1380
1346
|
readonly runId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1381
1347
|
readonly launchId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1348
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./workspaces.js").WorkspaceBadRequestError | 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<{
|
|
1349
|
+
readonly ownerUserId: import("effect/Schema").String;
|
|
1350
|
+
readonly status: import("effect/Schema").optional<import("effect/Schema").Literals<readonly ["queued", "running", "ready", "failed", "cancelled", "stopped", "retained"]>>;
|
|
1351
|
+
readonly limit: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1352
|
+
readonly idempotencyKey: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1353
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
1354
|
+
readonly items: import("effect/Schema").$Array<import("effect/Schema").Struct<{
|
|
1355
|
+
readonly workspaceId: import("effect/Schema").String;
|
|
1356
|
+
readonly name: import("effect/Schema").String;
|
|
1357
|
+
readonly ownerUserId: import("effect/Schema").String;
|
|
1358
|
+
readonly status: import("effect/Schema").Literals<readonly ["queued", "running", "ready", "failed", "cancelled", "stopped", "retained"]>;
|
|
1359
|
+
readonly registryId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1360
|
+
readonly repository: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1361
|
+
readonly tag: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1362
|
+
readonly runtime: import("effect/Schema").optional<import("effect/Schema").Struct<{
|
|
1363
|
+
readonly adapter: import("effect/Schema").Literals<readonly ["docker", "k8s", "k3s", "cloudflare", "microvm"]>;
|
|
1364
|
+
readonly resourceId: import("effect/Schema").String;
|
|
1365
|
+
readonly reference: import("effect/Schema").String;
|
|
1366
|
+
readonly status: import("effect/Schema").Literals<readonly ["pending", "running", "ready", "failed", "stopped", "retained"]>;
|
|
1367
|
+
readonly endpoint: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1368
|
+
readonly deadline: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").String>>;
|
|
1369
|
+
readonly runId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1370
|
+
readonly launchId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1371
|
+
}>>;
|
|
1372
|
+
readonly publishedImage: import("effect/Schema").optional<import("effect/Schema").Struct<{
|
|
1373
|
+
readonly reference: import("effect/Schema").String;
|
|
1374
|
+
readonly digestReference: import("effect/Schema").String;
|
|
1375
|
+
readonly digest: import("effect/Schema").String;
|
|
1376
|
+
readonly personLayout: import("effect/Schema").optional<import("effect/Schema").Struct<{
|
|
1377
|
+
readonly status: import("effect/Schema").Literals<readonly ["supported", "unsupported", "unknown"]>;
|
|
1378
|
+
readonly missing: import("effect/Schema").$Array<import("effect/Schema").String>;
|
|
1379
|
+
readonly unknown: import("effect/Schema").$Array<import("effect/Schema").String>;
|
|
1380
|
+
readonly runtime: import("effect/Schema").String;
|
|
1381
|
+
readonly acl: import("effect/Schema").Literals<readonly ["supported", "unsupported", "unknown"]>;
|
|
1382
|
+
}>>;
|
|
1383
|
+
}>>;
|
|
1384
|
+
readonly processUser: import("effect/Schema").optional<import("effect/Schema").Literals<readonly ["supported", "unsupported", "unknown"]>>;
|
|
1385
|
+
readonly error: import("effect/Schema").optional<import("effect/Schema").Struct<{
|
|
1386
|
+
readonly message: import("effect/Schema").String;
|
|
1387
|
+
readonly code: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1388
|
+
}>>;
|
|
1389
|
+
readonly phase: import("effect/Schema").optional<import("effect/Schema").Struct<{
|
|
1390
|
+
readonly name: import("effect/Schema").Literals<readonly ["queued", "image-build", "boot"]>;
|
|
1391
|
+
readonly since: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1392
|
+
readonly imageBuild: import("effect/Schema").optional<import("effect/Schema").Struct<{
|
|
1393
|
+
readonly step: import("effect/Schema").optional<import("effect/Schema").Int>;
|
|
1394
|
+
readonly steps: import("effect/Schema").optional<import("effect/Schema").Int>;
|
|
1395
|
+
readonly stepName: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1396
|
+
readonly progressAt: import("effect/Schema").String;
|
|
1397
|
+
readonly stallTimeoutMs: import("effect/Schema").optional<import("effect/Schema").Int>;
|
|
1398
|
+
}>>;
|
|
1399
|
+
}>>;
|
|
1400
|
+
readonly createdAt: import("effect/Schema").String;
|
|
1401
|
+
readonly updatedAt: import("effect/Schema").String;
|
|
1402
|
+
readonly startedAt: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1403
|
+
readonly finishedAt: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1404
|
+
readonly expiresAt: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1405
|
+
}>>;
|
|
1382
1406
|
}>>, 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<{
|
|
1383
1407
|
readonly workspaceId: import("effect/Schema").String;
|
|
1384
1408
|
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
@@ -1476,65 +1500,7 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
1476
1500
|
}>>;
|
|
1477
1501
|
}>>;
|
|
1478
1502
|
}>>;
|
|
1479
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./workspaces.js").WorkspaceNotFoundError | typeof import("./workspaces.js").WorkspaceInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"
|
|
1480
|
-
readonly ownerUserId: import("effect/Schema").String;
|
|
1481
|
-
readonly status: import("effect/Schema").optional<import("effect/Schema").Literals<readonly ["queued", "running", "ready", "failed", "cancelled", "stopped", "retained"]>>;
|
|
1482
|
-
readonly limit: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1483
|
-
readonly idempotencyKey: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1484
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
1485
|
-
readonly items: import("effect/Schema").$Array<import("effect/Schema").Struct<{
|
|
1486
|
-
readonly workspaceId: import("effect/Schema").String;
|
|
1487
|
-
readonly name: import("effect/Schema").String;
|
|
1488
|
-
readonly ownerUserId: import("effect/Schema").String;
|
|
1489
|
-
readonly status: import("effect/Schema").Literals<readonly ["queued", "running", "ready", "failed", "cancelled", "stopped", "retained"]>;
|
|
1490
|
-
readonly registryId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1491
|
-
readonly repository: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1492
|
-
readonly tag: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1493
|
-
readonly runtime: import("effect/Schema").optional<import("effect/Schema").Struct<{
|
|
1494
|
-
readonly adapter: import("effect/Schema").Literals<readonly ["docker", "k8s", "k3s", "cloudflare", "microvm"]>;
|
|
1495
|
-
readonly resourceId: import("effect/Schema").String;
|
|
1496
|
-
readonly reference: import("effect/Schema").String;
|
|
1497
|
-
readonly status: import("effect/Schema").Literals<readonly ["pending", "running", "ready", "failed", "stopped", "retained"]>;
|
|
1498
|
-
readonly endpoint: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1499
|
-
readonly deadline: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").String>>;
|
|
1500
|
-
readonly runId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1501
|
-
readonly launchId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1502
|
-
}>>;
|
|
1503
|
-
readonly publishedImage: import("effect/Schema").optional<import("effect/Schema").Struct<{
|
|
1504
|
-
readonly reference: import("effect/Schema").String;
|
|
1505
|
-
readonly digestReference: import("effect/Schema").String;
|
|
1506
|
-
readonly digest: import("effect/Schema").String;
|
|
1507
|
-
readonly personLayout: import("effect/Schema").optional<import("effect/Schema").Struct<{
|
|
1508
|
-
readonly status: import("effect/Schema").Literals<readonly ["supported", "unsupported", "unknown"]>;
|
|
1509
|
-
readonly missing: import("effect/Schema").$Array<import("effect/Schema").String>;
|
|
1510
|
-
readonly unknown: import("effect/Schema").$Array<import("effect/Schema").String>;
|
|
1511
|
-
readonly runtime: import("effect/Schema").String;
|
|
1512
|
-
readonly acl: import("effect/Schema").Literals<readonly ["supported", "unsupported", "unknown"]>;
|
|
1513
|
-
}>>;
|
|
1514
|
-
}>>;
|
|
1515
|
-
readonly processUser: import("effect/Schema").optional<import("effect/Schema").Literals<readonly ["supported", "unsupported", "unknown"]>>;
|
|
1516
|
-
readonly error: import("effect/Schema").optional<import("effect/Schema").Struct<{
|
|
1517
|
-
readonly message: import("effect/Schema").String;
|
|
1518
|
-
readonly code: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1519
|
-
}>>;
|
|
1520
|
-
readonly phase: import("effect/Schema").optional<import("effect/Schema").Struct<{
|
|
1521
|
-
readonly name: import("effect/Schema").Literals<readonly ["queued", "image-build", "boot"]>;
|
|
1522
|
-
readonly since: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1523
|
-
readonly imageBuild: import("effect/Schema").optional<import("effect/Schema").Struct<{
|
|
1524
|
-
readonly step: import("effect/Schema").optional<import("effect/Schema").Int>;
|
|
1525
|
-
readonly steps: import("effect/Schema").optional<import("effect/Schema").Int>;
|
|
1526
|
-
readonly stepName: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1527
|
-
readonly progressAt: import("effect/Schema").String;
|
|
1528
|
-
readonly stallTimeoutMs: import("effect/Schema").optional<import("effect/Schema").Int>;
|
|
1529
|
-
}>>;
|
|
1530
|
-
}>>;
|
|
1531
|
-
readonly createdAt: import("effect/Schema").String;
|
|
1532
|
-
readonly updatedAt: import("effect/Schema").String;
|
|
1533
|
-
readonly startedAt: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1534
|
-
readonly finishedAt: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1535
|
-
readonly expiresAt: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1536
|
-
}>>;
|
|
1537
|
-
}>>, 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<{
|
|
1503
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<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<{
|
|
1538
1504
|
readonly workspaceId: import("effect/Schema").String;
|
|
1539
1505
|
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
1540
1506
|
readonly ownerUserId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
@@ -1596,60 +1562,94 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
1596
1562
|
readonly message: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1597
1563
|
readonly data: import("effect/Schema").optional<import("effect/Schema").Unknown>;
|
|
1598
1564
|
}>>;
|
|
1599
|
-
}>>, 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<"
|
|
1565
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./workspaces.js").WorkspaceBadRequestError | typeof import("./workspaces.js").WorkspaceNotFoundError | typeof import("./workspaces.js").WorkspaceInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"getWorkspaceCaptureStatus", "GET", "/v1/workspaces/:workspaceId/capture", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
1566
|
+
readonly workspaceId: import("effect/Schema").String;
|
|
1567
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
1600
1568
|
readonly ownerUserId: import("effect/Schema").String;
|
|
1601
|
-
|
|
1602
|
-
readonly
|
|
1603
|
-
readonly
|
|
1604
|
-
readonly
|
|
1605
|
-
readonly
|
|
1606
|
-
|
|
1607
|
-
|
|
1608
|
-
|
|
1609
|
-
|
|
1610
|
-
|
|
1611
|
-
readonly
|
|
1612
|
-
|
|
1613
|
-
|
|
1614
|
-
|
|
1615
|
-
|
|
1569
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
1570
|
+
readonly epoch: import("effect/Schema").Number;
|
|
1571
|
+
readonly worktreeId: import("effect/Schema").String;
|
|
1572
|
+
readonly headN: import("effect/Schema").optional<import("effect/Schema").Number>;
|
|
1573
|
+
readonly pending: import("effect/Schema").Number;
|
|
1574
|
+
readonly stagedBytes: import("effect/Schema").Number;
|
|
1575
|
+
readonly uploadedObjects: import("effect/Schema").Number;
|
|
1576
|
+
readonly uploadedBytes: import("effect/Schema").Number;
|
|
1577
|
+
readonly registered: import("effect/Schema").Number;
|
|
1578
|
+
readonly fenced: import("effect/Schema").Boolean;
|
|
1579
|
+
readonly paused: import("effect/Schema").Boolean;
|
|
1580
|
+
readonly lastSnapUnixMs: import("effect/Schema").optional<import("effect/Schema").Number>;
|
|
1581
|
+
readonly refused: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").Literals<readonly ["small", "bulk"]>>>;
|
|
1582
|
+
readonly pendingBytes: import("effect/Schema").optional<import("effect/Schema").Number>;
|
|
1583
|
+
readonly pendingBulk: import("effect/Schema").optional<import("effect/Schema").Number>;
|
|
1584
|
+
readonly complete: import("effect/Schema").optional<import("effect/Schema").Boolean>;
|
|
1585
|
+
readonly incompleteReason: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1586
|
+
readonly unreadable: import("effect/Schema").optional<import("effect/Schema").Number>;
|
|
1587
|
+
readonly carried: import("effect/Schema").optional<import("effect/Schema").Number>;
|
|
1588
|
+
readonly unreadablePaths: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").String>>;
|
|
1589
|
+
readonly registerRefused: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1590
|
+
readonly registerRefusedN: import("effect/Schema").optional<import("effect/Schema").Number>;
|
|
1591
|
+
readonly registerMissing: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").String>>;
|
|
1592
|
+
readonly registerRefusals: import("effect/Schema").optional<import("effect/Schema").Number>;
|
|
1593
|
+
readonly repairing: import("effect/Schema").optional<import("effect/Schema").Boolean>;
|
|
1594
|
+
readonly bulkBuilding: import("effect/Schema").optional<import("effect/Schema").Boolean>;
|
|
1595
|
+
readonly snaps: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").Struct<{
|
|
1596
|
+
readonly class: import("effect/Schema").Literals<readonly ["small", "bulk"]>;
|
|
1597
|
+
readonly snapsFailed: import("effect/Schema").Number;
|
|
1598
|
+
readonly lastSnapError: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1599
|
+
readonly snapFailingSinceUnixMs: import("effect/Schema").optional<import("effect/Schema").Number>;
|
|
1600
|
+
}>>>;
|
|
1601
|
+
readonly lastSnapError: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1602
|
+
readonly snapFailingSinceUnixMs: import("effect/Schema").optional<import("effect/Schema").Number>;
|
|
1603
|
+
readonly snapsFailed: import("effect/Schema").optional<import("effect/Schema").Number>;
|
|
1604
|
+
readonly origin: import("effect/Schema").optional<import("effect/Schema").Struct<{
|
|
1605
|
+
readonly epoch: import("effect/Schema").Int;
|
|
1606
|
+
readonly launch: import("effect/Schema").String;
|
|
1607
|
+
readonly bootId: import("effect/Schema").String;
|
|
1608
|
+
readonly bootGeneration: import("effect/Schema").Int;
|
|
1609
|
+
readonly observation: import("effect/Schema").Int;
|
|
1610
|
+
readonly headN: import("effect/Schema").optional<import("effect/Schema").Int>;
|
|
1616
1611
|
}>>;
|
|
1617
|
-
readonly
|
|
1618
|
-
readonly
|
|
1619
|
-
readonly
|
|
1620
|
-
readonly
|
|
1621
|
-
readonly
|
|
1612
|
+
readonly overdue: import("effect/Schema").optional<import("effect/Schema").Struct<{
|
|
1613
|
+
readonly step: import("effect/Schema").String;
|
|
1614
|
+
readonly startedUnixMs: import("effect/Schema").Number;
|
|
1615
|
+
readonly runningMs: import("effect/Schema").Number;
|
|
1616
|
+
readonly boundMs: import("effect/Schema").Number;
|
|
1622
1617
|
}>>;
|
|
1623
|
-
readonly
|
|
1624
|
-
|
|
1625
|
-
readonly
|
|
1626
|
-
readonly ttlSeconds: import("effect/Schema").optional<import("effect/Schema").Int>;
|
|
1627
|
-
readonly idempotencyKey: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1628
|
-
readonly launchId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1629
|
-
readonly sshAsOwner: import("effect/Schema").optional<import("effect/Schema").Boolean>;
|
|
1618
|
+
readonly ownerMap: import("effect/Schema").optional<import("effect/Schema").Boolean>;
|
|
1619
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./workspaces.js").WorkspaceBadRequestError | typeof import("./workspaces.js").WorkspaceNotFoundError | typeof import("./workspaces.js").WorkspaceConflictError | typeof import("./workspaces.js").WorkspaceInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"listWorkspaceCredentials", "GET", "/v1/workspaces/:workspaceId/credentials", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
1620
|
+
readonly workspaceId: import("effect/Schema").String;
|
|
1630
1621
|
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
1631
|
-
readonly
|
|
1632
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
1622
|
+
readonly ownerUserId: import("effect/Schema").String;
|
|
1623
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
1633
1624
|
readonly workspaceId: import("effect/Schema").String;
|
|
1634
|
-
readonly
|
|
1635
|
-
readonly
|
|
1636
|
-
|
|
1637
|
-
|
|
1638
|
-
|
|
1639
|
-
|
|
1640
|
-
|
|
1641
|
-
|
|
1642
|
-
|
|
1643
|
-
|
|
1644
|
-
|
|
1645
|
-
|
|
1646
|
-
|
|
1647
|
-
|
|
1648
|
-
|
|
1625
|
+
readonly runId: import("effect/Schema").String;
|
|
1626
|
+
readonly homes: import("effect/Schema").$Array<import("effect/Schema").Struct<{
|
|
1627
|
+
readonly home: import("effect/Schema").String;
|
|
1628
|
+
readonly onBehalfOfUserId: import("effect/Schema").String;
|
|
1629
|
+
readonly accounts: import("effect/Schema").Struct<{
|
|
1630
|
+
readonly claude: import("effect/Schema").optional<import("effect/Schema").Struct<{
|
|
1631
|
+
readonly connectedAccountId: import("effect/Schema").String;
|
|
1632
|
+
readonly name: import("effect/Schema").String;
|
|
1633
|
+
}>>;
|
|
1634
|
+
readonly codex: import("effect/Schema").optional<import("effect/Schema").Struct<{
|
|
1635
|
+
readonly connectedAccountId: import("effect/Schema").String;
|
|
1636
|
+
readonly name: import("effect/Schema").String;
|
|
1637
|
+
}>>;
|
|
1638
|
+
readonly github: import("effect/Schema").optional<import("effect/Schema").Struct<{
|
|
1639
|
+
readonly connectedAccountId: import("effect/Schema").String;
|
|
1640
|
+
readonly name: import("effect/Schema").String;
|
|
1641
|
+
}>>;
|
|
1642
|
+
readonly pi: import("effect/Schema").optional<import("effect/Schema").Struct<{
|
|
1643
|
+
readonly connectedAccountId: import("effect/Schema").String;
|
|
1644
|
+
readonly name: import("effect/Schema").String;
|
|
1645
|
+
}>>;
|
|
1646
|
+
readonly opencode: import("effect/Schema").optional<import("effect/Schema").Struct<{
|
|
1647
|
+
readonly connectedAccountId: import("effect/Schema").String;
|
|
1648
|
+
readonly name: import("effect/Schema").String;
|
|
1649
|
+
}>>;
|
|
1650
|
+
}>;
|
|
1649
1651
|
}>>;
|
|
1650
|
-
|
|
1651
|
-
readonly launchId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1652
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./budgets.ts").BudgetExceededError | typeof import("./workspaces.js").WorkspaceBadRequestError | typeof import("./workspaces.js").WorkspaceRuntimeEnvReferencesUnsupportedError | typeof import("./workspaces.js").WorkspaceDockerServiceUnsupportedError | typeof import("./workspaces.js").WorkspaceSshOwnerRefusedError | typeof import("./workspaces.js").WorkspaceForbiddenError | typeof import("./workspaces.js").WorkspaceNotFoundError | typeof import("./workspaces.js").WorkspaceConflictError | typeof import("./workspaces.js").WorkspaceBadGatewayError | typeof import("./workspaces.js").WorkspaceServiceUnavailableError | typeof import("./workspaces.js").WorkspaceInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"getWorkspaceSshTarget", "GET", "/v1/workspaces/:workspaceId/ssh-target", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
1652
|
+
}>>, 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<"getWorkspaceSshTarget", "GET", "/v1/workspaces/:workspaceId/ssh-target", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
1653
1653
|
readonly workspaceId: import("effect/Schema").String;
|
|
1654
1654
|
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
1655
1655
|
readonly "x-sealant-gateway-token": import("effect/Schema").optional<import("effect/Schema").String>;
|