@sealant/api-contracts-next 0.39.0-next.735 → 0.39.0-next.739
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 +806 -806
- package/package.json +2 -2
|
@@ -1,6 +1,19 @@
|
|
|
1
1
|
import { HttpApi } from "effect/unstable/httpapi";
|
|
2
2
|
import { RequestRefusal } from "./request-refusal.js";
|
|
3
|
-
export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi", import("effect/unstable/httpapi/HttpApiGroup").HttpApiGroup<"accessTokens", import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"
|
|
3
|
+
export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi", import("effect/unstable/httpapi/HttpApiGroup").HttpApiGroup<"accessTokens", import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"listAccessTokens", "GET", "/v1/access-tokens/", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
4
|
+
readonly ownerUserId: import("effect/Schema").String;
|
|
5
|
+
}>>, 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
|
+
readonly items: import("effect/Schema").$Array<import("effect/Schema").Struct<{
|
|
7
|
+
readonly tokenId: import("effect/Schema").String;
|
|
8
|
+
readonly ownerUserId: import("effect/Schema").String;
|
|
9
|
+
readonly name: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
10
|
+
readonly scopes: import("effect/Schema").$Array<import("effect/Schema").Literals<readonly ["session:read", "session:input", "workspace:exec"]>>;
|
|
11
|
+
readonly workspaceId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
12
|
+
readonly expiresAt: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
13
|
+
readonly revokedAt: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
14
|
+
readonly createdAt: import("effect/Schema").String;
|
|
15
|
+
}>>;
|
|
16
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./access-tokens.js").AccessTokenBadRequestError | typeof import("./access-tokens.js").AccessTokenInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"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<{
|
|
4
17
|
readonly ownerUserId: import("effect/Schema").String;
|
|
5
18
|
readonly scopes: import("effect/Schema").$Array<import("effect/Schema").Literals<readonly ["session:read", "session:input", "workspace:exec"]>>;
|
|
6
19
|
readonly name: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
@@ -16,20 +29,7 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
16
29
|
readonly revokedAt: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
17
30
|
readonly createdAt: import("effect/Schema").String;
|
|
18
31
|
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<"
|
|
20
|
-
readonly ownerUserId: import("effect/Schema").String;
|
|
21
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
22
|
-
readonly items: import("effect/Schema").$Array<import("effect/Schema").Struct<{
|
|
23
|
-
readonly tokenId: import("effect/Schema").String;
|
|
24
|
-
readonly ownerUserId: import("effect/Schema").String;
|
|
25
|
-
readonly name: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
26
|
-
readonly scopes: import("effect/Schema").$Array<import("effect/Schema").Literals<readonly ["session:read", "session:input", "workspace:exec"]>>;
|
|
27
|
-
readonly workspaceId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
28
|
-
readonly expiresAt: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
29
|
-
readonly revokedAt: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
30
|
-
readonly createdAt: import("effect/Schema").String;
|
|
31
|
-
}>>;
|
|
32
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./access-tokens.js").AccessTokenBadRequestError | typeof import("./access-tokens.js").AccessTokenInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"revokeAccessToken", "POST", "/v1/access-tokens/:tokenId/revoke", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
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<"revokeAccessToken", "POST", "/v1/access-tokens/:tokenId/revoke", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
33
33
|
readonly tokenId: import("effect/Schema").String;
|
|
34
34
|
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
35
35
|
readonly ownerUserId: import("effect/Schema").String;
|
|
@@ -64,7 +64,29 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
64
64
|
readonly lastRefreshAt: import("effect/Schema").NullOr<import("effect/Schema").String>;
|
|
65
65
|
readonly lastRefreshOutcome: import("effect/Schema").NullOr<import("effect/Schema").Literals<readonly ["refreshed", "fresh", "failed"]>>;
|
|
66
66
|
}>;
|
|
67
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./connected-accounts.js").ConnectedAccountNotFoundError | typeof import("./connected-accounts.js").ConnectedAccountInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"
|
|
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<"listConnectedAccounts", "GET", "/v1/connected-accounts/", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
68
|
+
readonly ownerUserId: import("effect/Schema").String;
|
|
69
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
70
|
+
readonly items: import("effect/Schema").$Array<import("effect/Schema").Struct<{
|
|
71
|
+
readonly connectedAccountId: import("effect/Schema").String;
|
|
72
|
+
readonly ownerUserId: import("effect/Schema").String;
|
|
73
|
+
readonly provider: import("effect/Schema").Literals<readonly ["claude", "codex", "github"]>;
|
|
74
|
+
readonly name: import("effect/Schema").String;
|
|
75
|
+
readonly kind: import("effect/Schema").String;
|
|
76
|
+
readonly status: import("effect/Schema").Literals<readonly ["active", "invalid", "archived"]>;
|
|
77
|
+
readonly metadata: import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").Unknown>;
|
|
78
|
+
readonly connectedAt: import("effect/Schema").String;
|
|
79
|
+
readonly updatedAt: import("effect/Schema").String;
|
|
80
|
+
readonly lastUsedAt: import("effect/Schema").NullOr<import("effect/Schema").String>;
|
|
81
|
+
readonly lastSyncedAt: import("effect/Schema").NullOr<import("effect/Schema").String>;
|
|
82
|
+
readonly credential: import("effect/Schema").Struct<{
|
|
83
|
+
readonly accessExpiresAt: import("effect/Schema").NullOr<import("effect/Schema").String>;
|
|
84
|
+
readonly refreshExpiresAt: import("effect/Schema").NullOr<import("effect/Schema").String>;
|
|
85
|
+
readonly lastRefreshAt: import("effect/Schema").NullOr<import("effect/Schema").String>;
|
|
86
|
+
readonly lastRefreshOutcome: import("effect/Schema").NullOr<import("effect/Schema").Literals<readonly ["refreshed", "fresh", "failed"]>>;
|
|
87
|
+
}>;
|
|
88
|
+
}>>;
|
|
89
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<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<{
|
|
68
90
|
readonly ownerUserId: import("effect/Schema").String;
|
|
69
91
|
readonly provider: import("effect/Schema").Literals<readonly ["claude", "codex", "github"]>;
|
|
70
92
|
readonly name: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
@@ -87,29 +109,7 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
87
109
|
readonly lastRefreshAt: import("effect/Schema").NullOr<import("effect/Schema").String>;
|
|
88
110
|
readonly lastRefreshOutcome: import("effect/Schema").NullOr<import("effect/Schema").Literals<readonly ["refreshed", "fresh", "failed"]>>;
|
|
89
111
|
}>;
|
|
90
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./connected-accounts.js").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<"
|
|
91
|
-
readonly ownerUserId: import("effect/Schema").String;
|
|
92
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
93
|
-
readonly items: import("effect/Schema").$Array<import("effect/Schema").Struct<{
|
|
94
|
-
readonly connectedAccountId: import("effect/Schema").String;
|
|
95
|
-
readonly ownerUserId: import("effect/Schema").String;
|
|
96
|
-
readonly provider: import("effect/Schema").Literals<readonly ["claude", "codex", "github"]>;
|
|
97
|
-
readonly name: import("effect/Schema").String;
|
|
98
|
-
readonly kind: import("effect/Schema").String;
|
|
99
|
-
readonly status: import("effect/Schema").Literals<readonly ["active", "invalid", "archived"]>;
|
|
100
|
-
readonly metadata: import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").Unknown>;
|
|
101
|
-
readonly connectedAt: import("effect/Schema").String;
|
|
102
|
-
readonly updatedAt: import("effect/Schema").String;
|
|
103
|
-
readonly lastUsedAt: import("effect/Schema").NullOr<import("effect/Schema").String>;
|
|
104
|
-
readonly lastSyncedAt: import("effect/Schema").NullOr<import("effect/Schema").String>;
|
|
105
|
-
readonly credential: import("effect/Schema").Struct<{
|
|
106
|
-
readonly accessExpiresAt: import("effect/Schema").NullOr<import("effect/Schema").String>;
|
|
107
|
-
readonly refreshExpiresAt: import("effect/Schema").NullOr<import("effect/Schema").String>;
|
|
108
|
-
readonly lastRefreshAt: import("effect/Schema").NullOr<import("effect/Schema").String>;
|
|
109
|
-
readonly lastRefreshOutcome: import("effect/Schema").NullOr<import("effect/Schema").Literals<readonly ["refreshed", "fresh", "failed"]>>;
|
|
110
|
-
}>;
|
|
111
|
-
}>>;
|
|
112
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./connected-accounts.js").ConnectedAccountInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"markConnectedAccountInvalid", "POST", "/v1/connected-accounts/:connectedAccountId/mark-invalid", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
112
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./connected-accounts.js").ConnectedAccountBadRequestError | typeof import("./connected-accounts.js").ConnectedAccountNotFoundError | typeof import("./connected-accounts.js").ConnectedAccountConflictError | typeof import("./connected-accounts.js").ConnectedAccountServiceUnavailableError | typeof import("./connected-accounts.js").ConnectedAccountInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"markConnectedAccountInvalid", "POST", "/v1/connected-accounts/:connectedAccountId/mark-invalid", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
113
113
|
readonly connectedAccountId: import("effect/Schema").String;
|
|
114
114
|
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
115
115
|
readonly ownerUserId: import("effect/Schema").String;
|
|
@@ -131,18 +131,10 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
131
131
|
readonly lastRefreshAt: import("effect/Schema").NullOr<import("effect/Schema").String>;
|
|
132
132
|
readonly lastRefreshOutcome: import("effect/Schema").NullOr<import("effect/Schema").Literals<readonly ["refreshed", "fresh", "failed"]>>;
|
|
133
133
|
}>;
|
|
134
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./connected-accounts.js").ConnectedAccountNotFoundError | typeof import("./connected-accounts.js").ConnectedAccountInternalServerError>, RequestRefusal, never>, false> | import("effect/unstable/httpapi/HttpApiGroup").HttpApiGroup<"github", import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"
|
|
135
|
-
readonly "x-github-delivery": import("effect/Schema").optional<import("effect/Schema").String>;
|
|
136
|
-
readonly "x-github-event": import("effect/Schema").optional<import("effect/Schema").String>;
|
|
137
|
-
readonly "x-hub-signature-256": import("effect/Schema").optional<import("effect/Schema").String>;
|
|
138
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
139
|
-
readonly deliveryId: import("effect/Schema").String;
|
|
140
|
-
readonly status: import("effect/Schema").Literals<readonly ["received", "processed", "failed", "ignored"]>;
|
|
141
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./github.js").GitHubBadRequestError | typeof import("./github.js").GitHubUnauthorizedError | typeof import("./github.js").GitHubServiceUnavailableError | typeof import("./github.js").GitHubInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"importInstallation", "POST", "/v1/github/installations/import", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
134
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./connected-accounts.js").ConnectedAccountNotFoundError | typeof import("./connected-accounts.js").ConnectedAccountInternalServerError>, RequestRefusal, never>, false> | import("effect/unstable/httpapi/HttpApiGroup").HttpApiGroup<"github", import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"listInstallations", "GET", "/v1/github/installations", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
142
135
|
readonly userId: import("effect/Schema").String;
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
readonly installation: import("effect/Schema").Struct<{
|
|
136
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
137
|
+
readonly items: import("effect/Schema").$Array<import("effect/Schema").Struct<{
|
|
146
138
|
readonly installationId: import("effect/Schema").String;
|
|
147
139
|
readonly externalInstallationId: import("effect/Schema").String;
|
|
148
140
|
readonly accountLogin: import("effect/Schema").String;
|
|
@@ -150,10 +142,8 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
150
142
|
readonly status: import("effect/Schema").Literals<readonly ["active", "suspended", "deleted"]>;
|
|
151
143
|
readonly repositorySelection: import("effect/Schema").Literals<readonly ["all", "selected"]>;
|
|
152
144
|
readonly lastSyncedAt: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
153
|
-
}
|
|
154
|
-
|
|
155
|
-
readonly syncedAt: import("effect/Schema").String;
|
|
156
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./github.js").GitHubNotFoundError | typeof import("./github.js").GitHubServiceUnavailableError | typeof import("./github.js").GitHubInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"listInstallationRepositories", "GET", "/v1/github/installations/:installationId/repositories", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
145
|
+
}>>;
|
|
146
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./github.js").GitHubServiceUnavailableError | typeof import("./github.js").GitHubInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"listInstallationRepositories", "GET", "/v1/github/installations/:installationId/repositories", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
157
147
|
readonly installationId: import("effect/Schema").String;
|
|
158
148
|
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
159
149
|
readonly userId: import("effect/Schema").String;
|
|
@@ -172,10 +162,18 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
172
162
|
readonly isArchived: import("effect/Schema").Boolean;
|
|
173
163
|
readonly lastSyncedAt: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
174
164
|
}>>;
|
|
175
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./github.js").GitHubForbiddenError | typeof import("./github.js").GitHubNotFoundError | typeof import("./github.js").GitHubServiceUnavailableError | typeof import("./github.js").GitHubInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"
|
|
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<"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<{
|
|
166
|
+
readonly "x-github-delivery": import("effect/Schema").optional<import("effect/Schema").String>;
|
|
167
|
+
readonly "x-github-event": import("effect/Schema").optional<import("effect/Schema").String>;
|
|
168
|
+
readonly "x-hub-signature-256": import("effect/Schema").optional<import("effect/Schema").String>;
|
|
169
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
170
|
+
readonly deliveryId: import("effect/Schema").String;
|
|
171
|
+
readonly status: import("effect/Schema").Literals<readonly ["received", "processed", "failed", "ignored"]>;
|
|
172
|
+
}>>, 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<{
|
|
176
173
|
readonly userId: import("effect/Schema").String;
|
|
177
|
-
|
|
178
|
-
|
|
174
|
+
readonly externalInstallationId: import("effect/Schema").String;
|
|
175
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
176
|
+
readonly installation: import("effect/Schema").Struct<{
|
|
179
177
|
readonly installationId: import("effect/Schema").String;
|
|
180
178
|
readonly externalInstallationId: import("effect/Schema").String;
|
|
181
179
|
readonly accountLogin: import("effect/Schema").String;
|
|
@@ -183,8 +181,10 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
183
181
|
readonly status: import("effect/Schema").Literals<readonly ["active", "suspended", "deleted"]>;
|
|
184
182
|
readonly repositorySelection: import("effect/Schema").Literals<readonly ["all", "selected"]>;
|
|
185
183
|
readonly lastSyncedAt: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
186
|
-
}
|
|
187
|
-
|
|
184
|
+
}>;
|
|
185
|
+
readonly syncedRepositoryCount: import("effect/Schema").Number;
|
|
186
|
+
readonly syncedAt: import("effect/Schema").String;
|
|
187
|
+
}>>, 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<"syncInstallation", "POST", "/v1/github/installations/:installationId/sync", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
188
188
|
readonly installationId: import("effect/Schema").String;
|
|
189
189
|
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
190
190
|
readonly userId: import("effect/Schema").String;
|
|
@@ -285,7 +285,21 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
285
285
|
}>>;
|
|
286
286
|
readonly fetchedAt: import("effect/Schema").String;
|
|
287
287
|
readonly expiresAt: import("effect/Schema").String;
|
|
288
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./packages.js").PackagesBadGatewayError | typeof import("./packages.js").PackagesInternalServerError>, RequestRefusal, never>, false> | import("effect/unstable/httpapi/HttpApiGroup").HttpApiGroup<"profiles", import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"
|
|
288
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./packages.js").PackagesBadGatewayError | typeof import("./packages.js").PackagesInternalServerError>, RequestRefusal, never>, false> | import("effect/unstable/httpapi/HttpApiGroup").HttpApiGroup<"profiles", import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"listProfiles", "GET", "/v1/profiles/", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
289
|
+
readonly ownerUserId: import("effect/Schema").String;
|
|
290
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
291
|
+
readonly items: import("effect/Schema").$Array<import("effect/Schema").Struct<{
|
|
292
|
+
readonly profileId: import("effect/Schema").String;
|
|
293
|
+
readonly ownerUserId: import("effect/Schema").String;
|
|
294
|
+
readonly slug: import("effect/Schema").String;
|
|
295
|
+
readonly name: import("effect/Schema").String;
|
|
296
|
+
readonly description: import("effect/Schema").NullOr<import("effect/Schema").String>;
|
|
297
|
+
readonly status: import("effect/Schema").Literals<readonly ["active", "archived"]>;
|
|
298
|
+
readonly activeRevisionId: import("effect/Schema").NullOr<import("effect/Schema").String>;
|
|
299
|
+
readonly createdAt: import("effect/Schema").String;
|
|
300
|
+
readonly updatedAt: import("effect/Schema").String;
|
|
301
|
+
}>>;
|
|
302
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./profiles.js").ProfileInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"listProfileCredentialBindings", "GET", "/v1/profiles/:profileId/credential-bindings", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
289
303
|
readonly profileId: import("effect/Schema").String;
|
|
290
304
|
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
291
305
|
readonly ownerUserId: import("effect/Schema").String;
|
|
@@ -314,21 +328,7 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
314
328
|
}>;
|
|
315
329
|
}>;
|
|
316
330
|
}>>;
|
|
317
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./profiles.js").ProfileNotFoundError | typeof import("./profiles.js").ProfileInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"
|
|
318
|
-
readonly ownerUserId: import("effect/Schema").String;
|
|
319
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
320
|
-
readonly items: import("effect/Schema").$Array<import("effect/Schema").Struct<{
|
|
321
|
-
readonly profileId: import("effect/Schema").String;
|
|
322
|
-
readonly ownerUserId: import("effect/Schema").String;
|
|
323
|
-
readonly slug: import("effect/Schema").String;
|
|
324
|
-
readonly name: import("effect/Schema").String;
|
|
325
|
-
readonly description: import("effect/Schema").NullOr<import("effect/Schema").String>;
|
|
326
|
-
readonly status: import("effect/Schema").Literals<readonly ["active", "archived"]>;
|
|
327
|
-
readonly activeRevisionId: import("effect/Schema").NullOr<import("effect/Schema").String>;
|
|
328
|
-
readonly createdAt: import("effect/Schema").String;
|
|
329
|
-
readonly updatedAt: import("effect/Schema").String;
|
|
330
|
-
}>>;
|
|
331
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./profiles.js").ProfileInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"setProfileCredentialBinding", "PUT", "/v1/profiles/:profileId/credential-bindings", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
331
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./profiles.js").ProfileNotFoundError | typeof import("./profiles.js").ProfileInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"setProfileCredentialBinding", "PUT", "/v1/profiles/:profileId/credential-bindings", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
332
332
|
readonly profileId: import("effect/Schema").String;
|
|
333
333
|
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
334
334
|
readonly ownerUserId: import("effect/Schema").String;
|
|
@@ -366,17 +366,11 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
366
366
|
readonly baseUrl: import("effect/Schema").String;
|
|
367
367
|
readonly pushRegistry: import("effect/Schema").String;
|
|
368
368
|
readonly hasBasicAuth: import("effect/Schema").Boolean;
|
|
369
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./registries.js").RegistriesNotFoundError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"
|
|
369
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./registries.js").RegistriesNotFoundError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"pingRegistry", "GET", "/v1/registries/:registryId/ping", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
370
370
|
readonly registryId: import("effect/Schema").String;
|
|
371
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
372
|
-
readonly
|
|
373
|
-
readonly
|
|
374
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
375
|
-
readonly repository: import("effect/Schema").String;
|
|
376
|
-
readonly reference: import("effect/Schema").String;
|
|
377
|
-
readonly digest: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
378
|
-
readonly contentType: import("effect/Schema").Union<readonly [import("effect/Schema").String, import("effect/Schema").Null]>;
|
|
379
|
-
readonly manifest: import("effect/Schema").Unknown;
|
|
371
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
372
|
+
readonly name: import("effect/Schema").String;
|
|
373
|
+
readonly reachable: import("effect/Schema").Literal<true>;
|
|
380
374
|
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./registries.js").RegistriesNotFoundError | typeof import("./registries.js").RegistriesBadGatewayError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"listRegistryExtensions", "GET", "/v1/registries/:registryId/extensions", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
381
375
|
readonly registryId: import("effect/Schema").String;
|
|
382
376
|
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
@@ -393,50 +387,50 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
393
387
|
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
394
388
|
readonly repository: import("effect/Schema").String;
|
|
395
389
|
readonly tags: import("effect/Schema").$Array<import("effect/Schema").String>;
|
|
396
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./registries.js").RegistriesNotFoundError | typeof import("./registries.js").RegistriesBadGatewayError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"
|
|
390
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./registries.js").RegistriesNotFoundError | typeof import("./registries.js").RegistriesBadGatewayError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"getRegistryManifest", "GET", "/v1/registries/:registryId/manifest", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
397
391
|
readonly registryId: import("effect/Schema").String;
|
|
398
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<
|
|
399
|
-
readonly
|
|
400
|
-
readonly
|
|
401
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").
|
|
402
|
-
readonly
|
|
403
|
-
readonly
|
|
404
|
-
readonly
|
|
405
|
-
readonly
|
|
406
|
-
readonly
|
|
407
|
-
|
|
408
|
-
readonly
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
readonly
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
392
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
393
|
+
readonly repository: import("effect/Schema").String;
|
|
394
|
+
readonly reference: import("effect/Schema").String;
|
|
395
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
396
|
+
readonly repository: import("effect/Schema").String;
|
|
397
|
+
readonly reference: import("effect/Schema").String;
|
|
398
|
+
readonly digest: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
399
|
+
readonly contentType: import("effect/Schema").Union<readonly [import("effect/Schema").String, import("effect/Schema").Null]>;
|
|
400
|
+
readonly manifest: import("effect/Schema").Unknown;
|
|
401
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./registries.js").RegistriesNotFoundError | typeof import("./registries.js").RegistriesBadGatewayError>, RequestRefusal, never>, false> | import("effect/unstable/httpapi/HttpApiGroup").HttpApiGroup<"runs", import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"listRuns", "GET", "/v1/runs/", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
402
|
+
readonly workspaceId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
403
|
+
readonly ownerUserId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
404
|
+
readonly status: import("effect/Schema").optional<import("effect/Schema").Literals<readonly ["queued", "running", "completed", "failed", "cancelled"]>>;
|
|
405
|
+
readonly limit: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
406
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
407
|
+
readonly items: import("effect/Schema").$Array<import("effect/Schema").Struct<{
|
|
408
|
+
readonly runId: import("effect/Schema").String;
|
|
409
|
+
readonly workspaceId: import("effect/Schema").String;
|
|
410
|
+
readonly attemptId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
411
|
+
readonly ownerUserId: import("effect/Schema").String;
|
|
412
|
+
readonly harnessId: import("effect/Schema").String;
|
|
413
|
+
readonly mode: import("effect/Schema").Literals<readonly ["one-shot", "interactive"]>;
|
|
414
|
+
readonly status: import("effect/Schema").Literals<readonly ["queued", "running", "completed", "failed", "cancelled"]>;
|
|
415
|
+
readonly prompt: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
416
|
+
readonly command: import("effect/Schema").optional<import("effect/Schema").Struct<{
|
|
417
|
+
readonly executable: import("effect/Schema").String;
|
|
418
|
+
readonly args: import("effect/Schema").$Array<import("effect/Schema").String>;
|
|
419
|
+
readonly cwd: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
420
|
+
readonly argCount: import("effect/Schema").optional<import("effect/Schema").Number>;
|
|
421
|
+
readonly argLengths: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").Number>>;
|
|
422
|
+
}>>;
|
|
423
|
+
readonly metadata: import("effect/Schema").optional<import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").Unknown>>;
|
|
424
|
+
readonly user: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
425
|
+
readonly exitCode: import("effect/Schema").optional<import("effect/Schema").Number>;
|
|
426
|
+
readonly errorMessage: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
427
|
+
readonly startedAt: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
428
|
+
readonly finishedAt: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
429
|
+
readonly recordDeletedAt: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
430
|
+
readonly createdAt: import("effect/Schema").String;
|
|
431
|
+
readonly updatedAt: import("effect/Schema").String;
|
|
429
432
|
}>>;
|
|
430
|
-
|
|
431
|
-
readonly user: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
432
|
-
readonly exitCode: import("effect/Schema").optional<import("effect/Schema").Number>;
|
|
433
|
-
readonly errorMessage: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
434
|
-
readonly startedAt: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
435
|
-
readonly finishedAt: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
436
|
-
readonly recordDeletedAt: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
437
|
-
readonly createdAt: import("effect/Schema").String;
|
|
438
|
-
readonly updatedAt: import("effect/Schema").String;
|
|
439
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./budgets.ts").BudgetExceededError | typeof import("./runs.js").RunBadRequestError | typeof import("./runs.js").RunNotFoundError | typeof import("./runs.js").RunInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"getRun", "GET", "/v1/runs/:runId", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
433
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./runs.js").RunBadRequestError | typeof import("./runs.js").RunInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"getRun", "GET", "/v1/runs/:runId", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
440
434
|
readonly runId: import("effect/Schema").String;
|
|
441
435
|
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
442
436
|
readonly ownerUserId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
@@ -465,42 +459,7 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
465
459
|
readonly recordDeletedAt: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
466
460
|
readonly createdAt: import("effect/Schema").String;
|
|
467
461
|
readonly updatedAt: import("effect/Schema").String;
|
|
468
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./budgets.ts").BudgetExceededError | typeof import("./runs.js").RunNotFoundError | typeof import("./runs.js").RunInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"
|
|
469
|
-
readonly runId: import("effect/Schema").String;
|
|
470
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
471
|
-
readonly ownerUserId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
472
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
473
|
-
readonly files: import("effect/Schema").$Array<import("effect/Schema").Struct<{
|
|
474
|
-
readonly path: import("effect/Schema").String;
|
|
475
|
-
readonly change: import("effect/Schema").Literals<readonly ["added", "modified", "deleted", "renamed"]>;
|
|
476
|
-
readonly oldPath: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
477
|
-
}>>;
|
|
478
|
-
readonly diff: import("effect/Schema").String;
|
|
479
|
-
readonly available: import("effect/Schema").optional<import("effect/Schema").Boolean>;
|
|
480
|
-
readonly unavailableReason: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
481
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./runs.js").RunNotFoundError | typeof import("./runs.js").RunInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"getRunEvent", "GET", "/v1/runs/:runId/events/:sequence", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
482
|
-
readonly runId: import("effect/Schema").String;
|
|
483
|
-
readonly sequence: import("effect/Schema").String;
|
|
484
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
485
|
-
readonly ownerUserId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
486
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
487
|
-
readonly eventId: import("effect/Schema").String;
|
|
488
|
-
readonly runId: import("effect/Schema").String;
|
|
489
|
-
readonly runtimeId: import("effect/Schema").String;
|
|
490
|
-
readonly executionId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
491
|
-
readonly sessionId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
492
|
-
readonly processId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
493
|
-
readonly requestId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
494
|
-
readonly schemaVersion: import("effect/Schema").Number;
|
|
495
|
-
readonly sequence: import("effect/Schema").String;
|
|
496
|
-
readonly observedAt: import("effect/Schema").String;
|
|
497
|
-
readonly monotonicTimestamp: import("effect/Schema").String;
|
|
498
|
-
readonly captureMethod: import("effect/Schema").Number;
|
|
499
|
-
readonly confidence: import("effect/Schema").Number;
|
|
500
|
-
readonly payloadCase: import("effect/Schema").String;
|
|
501
|
-
readonly payload: import("effect/Schema").Unknown;
|
|
502
|
-
readonly ingestedAt: import("effect/Schema").String;
|
|
503
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./runs.js").RunBadRequestError | typeof import("./runs.js").RunNotFoundError | typeof import("./runs.js").RunInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"getRunLoss", "GET", "/v1/runs/:runId/loss", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
462
|
+
}>>, 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<"getRunLoss", "GET", "/v1/runs/:runId/loss", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
504
463
|
readonly runId: import("effect/Schema").String;
|
|
505
464
|
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
506
465
|
readonly ownerUserId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
@@ -518,21 +477,20 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
518
477
|
readonly detectedVia: import("effect/Schema").Literals<readonly ["marker", "gap"]>;
|
|
519
478
|
readonly reason: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
520
479
|
}>>;
|
|
521
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./runs.js").RunNotFoundError | typeof import("./runs.js").RunInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"
|
|
480
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./runs.js").RunNotFoundError | typeof import("./runs.js").RunInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"getRunChanges", "GET", "/v1/runs/:runId/changes", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
522
481
|
readonly runId: import("effect/Schema").String;
|
|
523
482
|
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
524
483
|
readonly ownerUserId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
525
|
-
readonly processId: import("effect/Schema").String;
|
|
526
|
-
readonly stream: import("effect/Schema").Literals<readonly ["stdout", "stderr", "pty"]>;
|
|
527
|
-
readonly atSequence: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
528
|
-
readonly fromSequence: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
529
|
-
readonly limit: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
530
484
|
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
531
|
-
readonly
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
}
|
|
485
|
+
readonly files: import("effect/Schema").$Array<import("effect/Schema").Struct<{
|
|
486
|
+
readonly path: import("effect/Schema").String;
|
|
487
|
+
readonly change: import("effect/Schema").Literals<readonly ["added", "modified", "deleted", "renamed"]>;
|
|
488
|
+
readonly oldPath: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
489
|
+
}>>;
|
|
490
|
+
readonly diff: import("effect/Schema").String;
|
|
491
|
+
readonly available: import("effect/Schema").optional<import("effect/Schema").Boolean>;
|
|
492
|
+
readonly unavailableReason: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
493
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./runs.js").RunNotFoundError | typeof import("./runs.js").RunInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"getRunTimeline", "GET", "/v1/runs/:runId/timeline", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
536
494
|
readonly runId: import("effect/Schema").String;
|
|
537
495
|
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
538
496
|
readonly ownerUserId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
@@ -552,39 +510,43 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
552
510
|
readonly captureMethod: import("effect/Schema").Number;
|
|
553
511
|
readonly confidence: import("effect/Schema").Number;
|
|
554
512
|
}>>;
|
|
555
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./runs.js").RunBadRequestError | typeof import("./runs.js").RunNotFoundError | typeof import("./runs.js").RunInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"
|
|
556
|
-
readonly
|
|
513
|
+
}>>, 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<{
|
|
514
|
+
readonly runId: import("effect/Schema").String;
|
|
515
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
557
516
|
readonly ownerUserId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
558
|
-
readonly
|
|
517
|
+
readonly processId: import("effect/Schema").String;
|
|
518
|
+
readonly stream: import("effect/Schema").Literals<readonly ["stdout", "stderr", "pty"]>;
|
|
519
|
+
readonly atSequence: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
520
|
+
readonly fromSequence: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
559
521
|
readonly limit: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
560
522
|
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
561
|
-
readonly
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./runs.js").RunBadRequestError | typeof import("./runs.js").RunInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"updateRun", "PATCH", "/v1/runs/:runId", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
523
|
+
readonly processId: import("effect/Schema").String;
|
|
524
|
+
readonly stream: import("effect/Schema").Literals<readonly ["stdout", "stderr", "pty"]>;
|
|
525
|
+
readonly byteCount: import("effect/Schema").Number;
|
|
526
|
+
readonly contentBase64: import("effect/Schema").String;
|
|
527
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./runs.js").RunBadRequestError | typeof import("./runs.js").RunNotFoundError | typeof import("./runs.js").RunInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"getRunEvent", "GET", "/v1/runs/:runId/events/:sequence", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
528
|
+
readonly runId: import("effect/Schema").String;
|
|
529
|
+
readonly sequence: 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 eventId: import("effect/Schema").String;
|
|
534
|
+
readonly runId: import("effect/Schema").String;
|
|
535
|
+
readonly runtimeId: import("effect/Schema").String;
|
|
536
|
+
readonly executionId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
537
|
+
readonly sessionId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
538
|
+
readonly processId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
539
|
+
readonly requestId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
540
|
+
readonly schemaVersion: import("effect/Schema").Number;
|
|
541
|
+
readonly sequence: import("effect/Schema").String;
|
|
542
|
+
readonly observedAt: import("effect/Schema").String;
|
|
543
|
+
readonly monotonicTimestamp: import("effect/Schema").String;
|
|
544
|
+
readonly captureMethod: import("effect/Schema").Number;
|
|
545
|
+
readonly confidence: import("effect/Schema").Number;
|
|
546
|
+
readonly payloadCase: import("effect/Schema").String;
|
|
547
|
+
readonly payload: import("effect/Schema").Unknown;
|
|
548
|
+
readonly ingestedAt: import("effect/Schema").String;
|
|
549
|
+
}>>, 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<"updateRun", "PATCH", "/v1/runs/:runId", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
588
550
|
readonly runId: import("effect/Schema").String;
|
|
589
551
|
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
590
552
|
readonly ownerUserId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
@@ -623,11 +585,94 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
623
585
|
readonly recordDeletedAt: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
624
586
|
readonly createdAt: import("effect/Schema").String;
|
|
625
587
|
readonly updatedAt: import("effect/Schema").String;
|
|
626
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./runs.js").RunBadRequestError | typeof import("./runs.js").RunNotFoundError | typeof import("./runs.js").RunInternalServerError>, RequestRefusal, never
|
|
627
|
-
readonly
|
|
588
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./runs.js").RunBadRequestError | typeof import("./runs.js").RunNotFoundError | typeof import("./runs.js").RunInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"createRun", "POST", "/v1/runs/", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
589
|
+
readonly workspaceId: import("effect/Schema").String;
|
|
590
|
+
readonly harnessId: import("effect/Schema").String;
|
|
591
|
+
readonly ownerUserId: import("effect/Schema").String;
|
|
592
|
+
readonly mode: import("effect/Schema").optional<import("effect/Schema").Literals<readonly ["one-shot", "interactive"]>>;
|
|
593
|
+
readonly prompt: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
594
|
+
readonly attemptId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
595
|
+
readonly command: import("effect/Schema").optional<import("effect/Schema").Struct<{
|
|
596
|
+
readonly executable: import("effect/Schema").String;
|
|
597
|
+
readonly args: import("effect/Schema").$Array<import("effect/Schema").String>;
|
|
598
|
+
readonly cwd: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
599
|
+
}>>;
|
|
600
|
+
readonly metadata: import("effect/Schema").optional<import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").Unknown>>;
|
|
628
601
|
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
602
|
+
readonly runId: import("effect/Schema").String;
|
|
603
|
+
readonly workspaceId: import("effect/Schema").String;
|
|
604
|
+
readonly attemptId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
605
|
+
readonly ownerUserId: import("effect/Schema").String;
|
|
606
|
+
readonly harnessId: import("effect/Schema").String;
|
|
607
|
+
readonly mode: import("effect/Schema").Literals<readonly ["one-shot", "interactive"]>;
|
|
608
|
+
readonly status: import("effect/Schema").Literals<readonly ["queued", "running", "completed", "failed", "cancelled"]>;
|
|
609
|
+
readonly prompt: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
610
|
+
readonly command: import("effect/Schema").optional<import("effect/Schema").Struct<{
|
|
611
|
+
readonly executable: import("effect/Schema").String;
|
|
612
|
+
readonly args: import("effect/Schema").$Array<import("effect/Schema").String>;
|
|
613
|
+
readonly cwd: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
614
|
+
readonly argCount: import("effect/Schema").optional<import("effect/Schema").Number>;
|
|
615
|
+
readonly argLengths: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").Number>>;
|
|
616
|
+
}>>;
|
|
617
|
+
readonly metadata: import("effect/Schema").optional<import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").Unknown>>;
|
|
618
|
+
readonly user: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
619
|
+
readonly exitCode: import("effect/Schema").optional<import("effect/Schema").Number>;
|
|
620
|
+
readonly errorMessage: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
621
|
+
readonly startedAt: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
622
|
+
readonly finishedAt: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
623
|
+
readonly recordDeletedAt: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
624
|
+
readonly createdAt: import("effect/Schema").String;
|
|
625
|
+
readonly updatedAt: import("effect/Schema").String;
|
|
626
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./budgets.ts").BudgetExceededError | 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<"listSessions", "GET", "/v1/sessions/", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
627
|
+
readonly ownerUserId: import("effect/Schema").String;
|
|
628
|
+
readonly workspaceId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
629
|
+
readonly status: import("effect/Schema").optional<import("effect/Schema").Literals<readonly ["starting", "running", "exited", "failed"]>>;
|
|
630
|
+
readonly limit: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
631
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
632
|
+
readonly authorization: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
633
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
634
|
+
readonly items: import("effect/Schema").$Array<import("effect/Schema").Struct<{
|
|
635
|
+
readonly sessionId: import("effect/Schema").String;
|
|
636
|
+
readonly workspaceId: import("effect/Schema").String;
|
|
637
|
+
readonly runId: import("effect/Schema").String;
|
|
638
|
+
readonly ownerUserId: import("effect/Schema").String;
|
|
639
|
+
readonly status: import("effect/Schema").Literals<readonly ["starting", "running", "exited", "failed"]>;
|
|
640
|
+
readonly argv: import("effect/Schema").$Array<import("effect/Schema").String>;
|
|
641
|
+
readonly argCount: import("effect/Schema").optional<import("effect/Schema").Number>;
|
|
642
|
+
readonly argLengths: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").Number>>;
|
|
643
|
+
readonly cwd: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
644
|
+
readonly cols: import("effect/Schema").Number;
|
|
645
|
+
readonly rows: import("effect/Schema").Number;
|
|
646
|
+
readonly mode: import("effect/Schema").optional<import("effect/Schema").Literals<readonly ["pty", "pipe"]>>;
|
|
647
|
+
readonly exitCode: import("effect/Schema").optional<import("effect/Schema").Number>;
|
|
648
|
+
readonly exitSignal: import("effect/Schema").optional<import("effect/Schema").Number>;
|
|
649
|
+
readonly errorMessage: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
650
|
+
readonly metadata: import("effect/Schema").optional<import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").Unknown>>;
|
|
651
|
+
readonly outputHighWater: import("effect/Schema").String;
|
|
652
|
+
readonly createdAt: import("effect/Schema").String;
|
|
653
|
+
readonly endedAt: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
654
|
+
}>>;
|
|
655
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./sessions.js").SessionBadRequestError | typeof import("./sessions.js").SessionUnauthorizedError | typeof import("./sessions.js").SessionForbiddenError | typeof import("./sessions.js").SessionInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"getSessionOutput", "GET", "/v1/sessions/:sessionId/output", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
656
|
+
readonly sessionId: import("effect/Schema").String;
|
|
657
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
629
658
|
readonly ownerUserId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
659
|
+
readonly from: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
660
|
+
readonly limit: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
661
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
662
|
+
readonly authorization: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
663
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
664
|
+
readonly sessionId: import("effect/Schema").String;
|
|
665
|
+
readonly chunks: import("effect/Schema").$Array<import("effect/Schema").Struct<{
|
|
666
|
+
readonly sequence: import("effect/Schema").String;
|
|
667
|
+
readonly dataBase64: import("effect/Schema").String;
|
|
668
|
+
}>>;
|
|
669
|
+
readonly nextFrom: import("effect/Schema").String;
|
|
670
|
+
readonly status: import("effect/Schema").Literals<readonly ["starting", "running", "exited", "failed"]>;
|
|
671
|
+
}>>, 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<{
|
|
672
|
+
readonly sessionId: import("effect/Schema").String;
|
|
630
673
|
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
674
|
+
readonly ownerUserId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
675
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
631
676
|
readonly authorization: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
632
677
|
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
633
678
|
readonly sessionId: import("effect/Schema").String;
|
|
@@ -649,7 +694,7 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
649
694
|
readonly outputHighWater: import("effect/Schema").String;
|
|
650
695
|
readonly createdAt: import("effect/Schema").String;
|
|
651
696
|
readonly endedAt: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
652
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./sessions.js").SessionBadRequestError | typeof import("./sessions.js").SessionUnauthorizedError | typeof import("./sessions.js").SessionForbiddenError | typeof import("./sessions.js").SessionNotFoundError | typeof import("./sessions.js").
|
|
697
|
+
}>>, 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<"createSession", "POST", "/v1/sessions/", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
653
698
|
readonly workspaceId: import("effect/Schema").String;
|
|
654
699
|
readonly ownerUserId: import("effect/Schema").String;
|
|
655
700
|
readonly argv: import("effect/Schema").$Array<import("effect/Schema").String>;
|
|
@@ -717,78 +762,16 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
717
762
|
readonly outputHighWater: import("effect/Schema").String;
|
|
718
763
|
readonly createdAt: import("effect/Schema").String;
|
|
719
764
|
readonly endedAt: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
720
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./sessions.js").SessionBadRequestError | typeof import("./sessions.js").SessionUnauthorizedError | typeof import("./sessions.js").SessionForbiddenError | typeof import("./sessions.js").SessionNotFoundError | typeof import("./sessions.js").SessionConflictError | typeof import("./sessions.js").SessionBadGatewayError | typeof import("./sessions.js").SessionInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"
|
|
765
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./sessions.js").SessionBadRequestError | typeof import("./sessions.js").SessionUnauthorizedError | typeof import("./sessions.js").SessionForbiddenError | typeof import("./sessions.js").SessionNotFoundError | typeof import("./sessions.js").SessionConflictError | typeof import("./sessions.js").SessionBadGatewayError | typeof import("./sessions.js").SessionInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"sendSessionInput", "POST", "/v1/sessions/:sessionId/input", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
721
766
|
readonly sessionId: import("effect/Schema").String;
|
|
722
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
767
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
723
768
|
readonly ownerUserId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
724
|
-
|
|
725
|
-
readonly authorization: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
726
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
727
|
-
readonly sessionId: import("effect/Schema").String;
|
|
728
|
-
readonly workspaceId: import("effect/Schema").String;
|
|
729
|
-
readonly runId: import("effect/Schema").String;
|
|
730
|
-
readonly ownerUserId: import("effect/Schema").String;
|
|
731
|
-
readonly status: import("effect/Schema").Literals<readonly ["starting", "running", "exited", "failed"]>;
|
|
732
|
-
readonly argv: import("effect/Schema").$Array<import("effect/Schema").String>;
|
|
733
|
-
readonly argCount: import("effect/Schema").optional<import("effect/Schema").Number>;
|
|
734
|
-
readonly argLengths: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").Number>>;
|
|
735
|
-
readonly cwd: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
736
|
-
readonly cols: import("effect/Schema").Number;
|
|
737
|
-
readonly rows: import("effect/Schema").Number;
|
|
738
|
-
readonly mode: import("effect/Schema").optional<import("effect/Schema").Literals<readonly ["pty", "pipe"]>>;
|
|
739
|
-
readonly exitCode: import("effect/Schema").optional<import("effect/Schema").Number>;
|
|
740
|
-
readonly exitSignal: import("effect/Schema").optional<import("effect/Schema").Number>;
|
|
741
|
-
readonly errorMessage: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
742
|
-
readonly metadata: import("effect/Schema").optional<import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").Unknown>>;
|
|
743
|
-
readonly outputHighWater: import("effect/Schema").String;
|
|
744
|
-
readonly createdAt: import("effect/Schema").String;
|
|
745
|
-
readonly endedAt: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
746
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./sessions.js").SessionBadRequestError | typeof import("./sessions.js").SessionUnauthorizedError | typeof import("./sessions.js").SessionForbiddenError | typeof import("./sessions.js").SessionNotFoundError | typeof import("./sessions.js").SessionInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"getSessionOutput", "GET", "/v1/sessions/:sessionId/output", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
747
|
-
readonly sessionId: import("effect/Schema").String;
|
|
769
|
+
readonly dataBase64: import("effect/Schema").String;
|
|
748
770
|
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
749
|
-
readonly ownerUserId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
750
|
-
readonly from: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
751
|
-
readonly limit: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
752
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
753
|
-
readonly authorization: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
754
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
755
|
-
readonly sessionId: import("effect/Schema").String;
|
|
756
|
-
readonly chunks: import("effect/Schema").$Array<import("effect/Schema").Struct<{
|
|
757
|
-
readonly sequence: import("effect/Schema").String;
|
|
758
|
-
readonly dataBase64: import("effect/Schema").String;
|
|
759
|
-
}>>;
|
|
760
|
-
readonly nextFrom: import("effect/Schema").String;
|
|
761
|
-
readonly status: import("effect/Schema").Literals<readonly ["starting", "running", "exited", "failed"]>;
|
|
762
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./sessions.js").SessionBadRequestError | typeof import("./sessions.js").SessionUnauthorizedError | typeof import("./sessions.js").SessionForbiddenError | typeof import("./sessions.js").SessionNotFoundError | typeof import("./sessions.js").SessionInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"listSessions", "GET", "/v1/sessions/", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
763
|
-
readonly ownerUserId: import("effect/Schema").String;
|
|
764
|
-
readonly workspaceId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
765
|
-
readonly status: import("effect/Schema").optional<import("effect/Schema").Literals<readonly ["starting", "running", "exited", "failed"]>>;
|
|
766
|
-
readonly limit: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
767
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
768
771
|
readonly authorization: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
769
772
|
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
770
|
-
readonly
|
|
771
|
-
|
|
772
|
-
readonly workspaceId: import("effect/Schema").String;
|
|
773
|
-
readonly runId: import("effect/Schema").String;
|
|
774
|
-
readonly ownerUserId: import("effect/Schema").String;
|
|
775
|
-
readonly status: import("effect/Schema").Literals<readonly ["starting", "running", "exited", "failed"]>;
|
|
776
|
-
readonly argv: import("effect/Schema").$Array<import("effect/Schema").String>;
|
|
777
|
-
readonly argCount: import("effect/Schema").optional<import("effect/Schema").Number>;
|
|
778
|
-
readonly argLengths: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").Number>>;
|
|
779
|
-
readonly cwd: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
780
|
-
readonly cols: import("effect/Schema").Number;
|
|
781
|
-
readonly rows: import("effect/Schema").Number;
|
|
782
|
-
readonly mode: import("effect/Schema").optional<import("effect/Schema").Literals<readonly ["pty", "pipe"]>>;
|
|
783
|
-
readonly exitCode: import("effect/Schema").optional<import("effect/Schema").Number>;
|
|
784
|
-
readonly exitSignal: import("effect/Schema").optional<import("effect/Schema").Number>;
|
|
785
|
-
readonly errorMessage: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
786
|
-
readonly metadata: import("effect/Schema").optional<import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").Unknown>>;
|
|
787
|
-
readonly outputHighWater: import("effect/Schema").String;
|
|
788
|
-
readonly createdAt: import("effect/Schema").String;
|
|
789
|
-
readonly endedAt: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
790
|
-
}>>;
|
|
791
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./sessions.js").SessionBadRequestError | typeof import("./sessions.js").SessionUnauthorizedError | typeof import("./sessions.js").SessionForbiddenError | typeof import("./sessions.js").SessionInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"resizeSession", "POST", "/v1/sessions/:sessionId/resize", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
773
|
+
readonly ok: import("effect/Schema").Boolean;
|
|
774
|
+
}>>, 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<{
|
|
792
775
|
readonly sessionId: import("effect/Schema").String;
|
|
793
776
|
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
794
777
|
readonly ownerUserId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
@@ -798,25 +781,42 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
798
781
|
readonly authorization: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
799
782
|
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
800
783
|
readonly ok: import("effect/Schema").Boolean;
|
|
801
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./sessions.js").SessionBadRequestError | typeof import("./sessions.js").SessionUnauthorizedError | typeof import("./sessions.js").SessionForbiddenError | typeof import("./sessions.js").SessionNotFoundError | typeof import("./sessions.js").SessionConflictError | typeof import("./sessions.js").SessionBadGatewayError | typeof import("./sessions.js").SessionInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"
|
|
784
|
+
}>>, 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<{
|
|
802
785
|
readonly sessionId: import("effect/Schema").String;
|
|
803
786
|
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
804
787
|
readonly ownerUserId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
805
|
-
readonly
|
|
788
|
+
readonly signal: import("effect/Schema").Int;
|
|
806
789
|
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
807
790
|
readonly authorization: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
808
791
|
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
809
792
|
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<"
|
|
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").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<{
|
|
811
794
|
readonly sessionId: import("effect/Schema").String;
|
|
812
795
|
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
813
796
|
readonly ownerUserId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
814
|
-
readonly signal: import("effect/Schema").Int;
|
|
815
797
|
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
816
798
|
readonly authorization: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
817
799
|
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
818
|
-
readonly
|
|
819
|
-
|
|
800
|
+
readonly sessionId: import("effect/Schema").String;
|
|
801
|
+
readonly workspaceId: import("effect/Schema").String;
|
|
802
|
+
readonly runId: import("effect/Schema").String;
|
|
803
|
+
readonly ownerUserId: import("effect/Schema").String;
|
|
804
|
+
readonly status: import("effect/Schema").Literals<readonly ["starting", "running", "exited", "failed"]>;
|
|
805
|
+
readonly argv: import("effect/Schema").$Array<import("effect/Schema").String>;
|
|
806
|
+
readonly argCount: import("effect/Schema").optional<import("effect/Schema").Number>;
|
|
807
|
+
readonly argLengths: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").Number>>;
|
|
808
|
+
readonly cwd: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
809
|
+
readonly cols: import("effect/Schema").Number;
|
|
810
|
+
readonly rows: import("effect/Schema").Number;
|
|
811
|
+
readonly mode: import("effect/Schema").optional<import("effect/Schema").Literals<readonly ["pty", "pipe"]>>;
|
|
812
|
+
readonly exitCode: import("effect/Schema").optional<import("effect/Schema").Number>;
|
|
813
|
+
readonly exitSignal: import("effect/Schema").optional<import("effect/Schema").Number>;
|
|
814
|
+
readonly errorMessage: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
815
|
+
readonly metadata: import("effect/Schema").optional<import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").Unknown>>;
|
|
816
|
+
readonly outputHighWater: import("effect/Schema").String;
|
|
817
|
+
readonly createdAt: import("effect/Schema").String;
|
|
818
|
+
readonly endedAt: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
819
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./sessions.js").SessionBadRequestError | typeof import("./sessions.js").SessionUnauthorizedError | typeof import("./sessions.js").SessionForbiddenError | typeof import("./sessions.js").SessionNotFoundError | typeof import("./sessions.js").SessionBadGatewayError | typeof import("./sessions.js").SessionInternalServerError>, RequestRefusal, never>, false> | import("effect/unstable/httpapi/HttpApiGroup").HttpApiGroup<"sshKeys", import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"archiveSshKey", "DELETE", "/v1/ssh-keys/:sshKeyId", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
820
820
|
readonly sshKeyId: import("effect/Schema").String;
|
|
821
821
|
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
822
822
|
readonly ownerUserId: import("effect/Schema").String;
|
|
@@ -827,18 +827,7 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
827
827
|
readonly algorithm: import("effect/Schema").String;
|
|
828
828
|
readonly fingerprint: import("effect/Schema").String;
|
|
829
829
|
readonly createdAt: import("effect/Schema").String;
|
|
830
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./ssh-keys.js").SshKeyNotFoundError | typeof import("./ssh-keys.js").SshKeyInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"
|
|
831
|
-
readonly ownerUserId: import("effect/Schema").String;
|
|
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
|
-
readonly sshKeyId: import("effect/Schema").String;
|
|
836
|
-
readonly ownerUserId: import("effect/Schema").String;
|
|
837
|
-
readonly name: import("effect/Schema").String;
|
|
838
|
-
readonly algorithm: import("effect/Schema").String;
|
|
839
|
-
readonly fingerprint: import("effect/Schema").String;
|
|
840
|
-
readonly createdAt: import("effect/Schema").String;
|
|
841
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./ssh-keys.js").SshKeyBadRequestError | typeof import("./ssh-keys.js").SshKeyNotFoundError | typeof import("./ssh-keys.js").SshKeyConflictError | typeof import("./ssh-keys.js").SshKeyInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"listSshKeys", "GET", "/v1/ssh-keys/", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, 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<"listSshKeys", "GET", "/v1/ssh-keys/", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
842
831
|
readonly ownerUserId: import("effect/Schema").String;
|
|
843
832
|
}>>, 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
833
|
readonly items: import("effect/Schema").$Array<import("effect/Schema").Struct<{
|
|
@@ -849,11 +838,22 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
849
838
|
readonly fingerprint: import("effect/Schema").String;
|
|
850
839
|
readonly createdAt: import("effect/Schema").String;
|
|
851
840
|
}>>;
|
|
852
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./ssh-keys.js").SshKeyInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"
|
|
853
|
-
readonly
|
|
854
|
-
readonly
|
|
855
|
-
|
|
856
|
-
|
|
841
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./ssh-keys.js").SshKeyInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"createSshKey", "POST", "/v1/ssh-keys/", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
842
|
+
readonly ownerUserId: import("effect/Schema").String;
|
|
843
|
+
readonly name: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
844
|
+
readonly publicKey: import("effect/Schema").String;
|
|
845
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
846
|
+
readonly sshKeyId: import("effect/Schema").String;
|
|
847
|
+
readonly ownerUserId: import("effect/Schema").String;
|
|
848
|
+
readonly name: import("effect/Schema").String;
|
|
849
|
+
readonly algorithm: import("effect/Schema").String;
|
|
850
|
+
readonly fingerprint: import("effect/Schema").String;
|
|
851
|
+
readonly createdAt: import("effect/Schema").String;
|
|
852
|
+
}>>, 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<{
|
|
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
857
|
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
858
858
|
readonly principalId: import("effect/Schema").String;
|
|
859
859
|
readonly sshKeyId: import("effect/Schema").String;
|
|
@@ -874,6 +874,10 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
874
874
|
readonly personBinding: import("effect/Schema").optional<import("effect/Schema").Boolean>;
|
|
875
875
|
readonly sshKeyRemovalEndsConnections: import("effect/Schema").optional<import("effect/Schema").Boolean>;
|
|
876
876
|
}>>;
|
|
877
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<never>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"health", "GET", "/healthz", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
878
|
+
readonly status: import("effect/Schema").Literal<"ok">;
|
|
879
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<never>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"ready", "GET", "/readyz", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
880
|
+
readonly status: import("effect/Schema").Literal<"ok">;
|
|
877
881
|
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<never>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"getSetupState", "GET", "/v1/system/setup-state", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
878
882
|
readonly needsSetup: import("effect/Schema").Boolean;
|
|
879
883
|
readonly sshGateway: import("effect/Schema").NullOr<import("effect/Schema").Struct<{
|
|
@@ -881,25 +885,14 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
881
885
|
readonly port: import("effect/Schema").Number;
|
|
882
886
|
readonly usernamePrefix: import("effect/Schema").String;
|
|
883
887
|
}>>;
|
|
884
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./system.js").SystemInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/
|
|
885
|
-
readonly status: import("effect/Schema").Literal<"ok">;
|
|
886
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<never>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"ready", "GET", "/readyz", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
887
|
-
readonly status: import("effect/Schema").Literal<"ok">;
|
|
888
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<never>, RequestRefusal, never>, false> | import("effect/unstable/httpapi/HttpApiGroup").HttpApiGroup<"users", import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"bindUserPerson", "POST", "/v1/users/:userId/person", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
888
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./system.js").SystemInternalServerError>, RequestRefusal, never>, false> | import("effect/unstable/httpapi/HttpApiGroup").HttpApiGroup<"users", import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"getUser", "GET", "/v1/users/:userId", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
889
889
|
readonly userId: import("effect/Schema").String;
|
|
890
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
891
|
-
readonly id: import("effect/Schema").String;
|
|
892
|
-
readonly uid: import("effect/Schema").Int;
|
|
893
|
-
readonly home: import("effect/Schema").String;
|
|
894
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
890
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
895
891
|
readonly userId: import("effect/Schema").String;
|
|
896
|
-
readonly
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
}>;
|
|
901
|
-
readonly created: import("effect/Schema").Boolean;
|
|
902
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./users.js").UserPersonConflictError | typeof import("./users.js").UserBadRequestError | typeof import("./users.js").UserNotFoundError | typeof import("./users.js").UserInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"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<{
|
|
892
|
+
readonly email: import("effect/Schema").String;
|
|
893
|
+
readonly name: import("effect/Schema").String;
|
|
894
|
+
readonly createdAt: import("effect/Schema").String;
|
|
895
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./users.js").UserNotFoundError | typeof import("./users.js").UserInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"ensureUser", "POST", "/v1/users/", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
903
896
|
readonly email: import("effect/Schema").String;
|
|
904
897
|
readonly name: import("effect/Schema").String;
|
|
905
898
|
readonly userId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
@@ -909,87 +902,379 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
909
902
|
readonly name: import("effect/Schema").String;
|
|
910
903
|
readonly createdAt: import("effect/Schema").String;
|
|
911
904
|
readonly created: import("effect/Schema").Boolean;
|
|
912
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./users.js").UserBadRequestError | typeof import("./users.js").UserInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"
|
|
905
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./users.js").UserBadRequestError | typeof import("./users.js").UserInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"bindUserPerson", "POST", "/v1/users/:userId/person", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
913
906
|
readonly userId: import("effect/Schema").String;
|
|
914
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").
|
|
907
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
908
|
+
readonly id: import("effect/Schema").String;
|
|
909
|
+
readonly uid: import("effect/Schema").Int;
|
|
910
|
+
readonly home: import("effect/Schema").String;
|
|
911
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
915
912
|
readonly userId: import("effect/Schema").String;
|
|
916
|
-
readonly
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
|
|
913
|
+
readonly person: import("effect/Schema").Struct<{
|
|
914
|
+
readonly id: import("effect/Schema").String;
|
|
915
|
+
readonly uid: import("effect/Schema").Int;
|
|
916
|
+
readonly home: import("effect/Schema").String;
|
|
917
|
+
}>;
|
|
918
|
+
readonly created: import("effect/Schema").Boolean;
|
|
919
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./users.js").UserPersonConflictError | typeof import("./users.js").UserBadRequestError | typeof import("./users.js").UserNotFoundError | typeof import("./users.js").UserInternalServerError>, RequestRefusal, never>, 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<{
|
|
920
920
|
readonly workspaceId: import("effect/Schema").String;
|
|
921
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<
|
|
921
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
922
|
+
readonly ownerUserId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
923
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
924
|
+
readonly workspaceId: import("effect/Schema").String;
|
|
925
|
+
readonly sshUser: import("effect/Schema").Null;
|
|
926
|
+
}>>, 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<{
|
|
927
|
+
readonly workspaceId: import("effect/Schema").String;
|
|
928
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
922
929
|
readonly ownerUserId: import("effect/Schema").String;
|
|
923
|
-
readonly onBehalfOfUserId: import("effect/Schema").String;
|
|
924
|
-
readonly user: import("effect/Schema").String;
|
|
925
930
|
readonly home: import("effect/Schema").String;
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
|
|
931
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
932
|
+
readonly workspaceId: import("effect/Schema").String;
|
|
933
|
+
readonly runId: import("effect/Schema").String;
|
|
934
|
+
readonly home: import("effect/Schema").String;
|
|
935
|
+
readonly released: import("effect/Schema").Boolean;
|
|
936
|
+
}>>, 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<"listWorkspaces", "GET", "/v1/workspaces/", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
937
|
+
readonly ownerUserId: import("effect/Schema").String;
|
|
938
|
+
readonly status: import("effect/Schema").optional<import("effect/Schema").Literals<readonly ["queued", "running", "ready", "failed", "cancelled", "stopped", "retained"]>>;
|
|
939
|
+
readonly limit: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
940
|
+
readonly idempotencyKey: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
941
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
942
|
+
readonly items: import("effect/Schema").$Array<import("effect/Schema").Struct<{
|
|
943
|
+
readonly workspaceId: import("effect/Schema").String;
|
|
944
|
+
readonly name: import("effect/Schema").String;
|
|
945
|
+
readonly ownerUserId: import("effect/Schema").String;
|
|
946
|
+
readonly status: import("effect/Schema").Literals<readonly ["queued", "running", "ready", "failed", "cancelled", "stopped", "retained"]>;
|
|
947
|
+
readonly registryId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
948
|
+
readonly repository: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
949
|
+
readonly tag: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
950
|
+
readonly runtime: import("effect/Schema").optional<import("effect/Schema").Struct<{
|
|
951
|
+
readonly adapter: import("effect/Schema").Literals<readonly ["docker", "k8s", "k3s", "cloudflare", "microvm"]>;
|
|
952
|
+
readonly resourceId: import("effect/Schema").String;
|
|
953
|
+
readonly reference: import("effect/Schema").String;
|
|
954
|
+
readonly status: import("effect/Schema").Literals<readonly ["pending", "running", "ready", "failed", "stopped", "retained"]>;
|
|
955
|
+
readonly endpoint: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
956
|
+
readonly deadline: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").String>>;
|
|
957
|
+
readonly runId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
958
|
+
readonly launchId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
959
|
+
}>>;
|
|
960
|
+
readonly publishedImage: import("effect/Schema").optional<import("effect/Schema").Struct<{
|
|
961
|
+
readonly reference: import("effect/Schema").String;
|
|
962
|
+
readonly digestReference: import("effect/Schema").String;
|
|
963
|
+
readonly digest: import("effect/Schema").String;
|
|
964
|
+
readonly personLayout: import("effect/Schema").optional<import("effect/Schema").Struct<{
|
|
965
|
+
readonly status: import("effect/Schema").Literals<readonly ["supported", "unsupported", "unknown"]>;
|
|
966
|
+
readonly missing: import("effect/Schema").$Array<import("effect/Schema").String>;
|
|
967
|
+
readonly unknown: import("effect/Schema").$Array<import("effect/Schema").String>;
|
|
968
|
+
readonly runtime: import("effect/Schema").String;
|
|
969
|
+
readonly acl: import("effect/Schema").Literals<readonly ["supported", "unsupported", "unknown"]>;
|
|
970
|
+
}>>;
|
|
971
|
+
}>>;
|
|
972
|
+
readonly processUser: import("effect/Schema").optional<import("effect/Schema").Literals<readonly ["supported", "unsupported", "unknown"]>>;
|
|
973
|
+
readonly error: import("effect/Schema").optional<import("effect/Schema").Struct<{
|
|
974
|
+
readonly message: import("effect/Schema").String;
|
|
975
|
+
readonly code: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
976
|
+
}>>;
|
|
977
|
+
readonly phase: import("effect/Schema").optional<import("effect/Schema").Struct<{
|
|
978
|
+
readonly name: import("effect/Schema").Literals<readonly ["queued", "image-build", "boot"]>;
|
|
979
|
+
readonly since: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
980
|
+
readonly imageBuild: import("effect/Schema").optional<import("effect/Schema").Struct<{
|
|
981
|
+
readonly step: import("effect/Schema").optional<import("effect/Schema").Int>;
|
|
982
|
+
readonly steps: import("effect/Schema").optional<import("effect/Schema").Int>;
|
|
983
|
+
readonly stepName: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
984
|
+
readonly progressAt: import("effect/Schema").String;
|
|
985
|
+
readonly stallTimeoutMs: import("effect/Schema").optional<import("effect/Schema").Int>;
|
|
986
|
+
}>>;
|
|
987
|
+
}>>;
|
|
988
|
+
readonly createdAt: import("effect/Schema").String;
|
|
989
|
+
readonly updatedAt: import("effect/Schema").String;
|
|
990
|
+
readonly startedAt: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
991
|
+
readonly finishedAt: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
992
|
+
readonly expiresAt: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
932
993
|
}>>;
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
|
|
994
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./workspaces.js").WorkspaceBadRequestError | typeof import("./workspaces.js").WorkspaceInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"getWorkspaceSshTarget", "GET", "/v1/workspaces/:workspaceId/ssh-target", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
995
|
+
readonly workspaceId: import("effect/Schema").String;
|
|
996
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
997
|
+
readonly "x-sealant-gateway-token": import("effect/Schema").optional<import("effect/Schema").String>;
|
|
998
|
+
readonly "x-sealant-principal-id": import("effect/Schema").optional<import("effect/Schema").String>;
|
|
999
|
+
readonly "x-sealant-gateway-ssh-user": import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1000
|
+
readonly "x-sealant-ssh-key-fingerprint": import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1001
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
1002
|
+
readonly workspaceId: import("effect/Schema").String;
|
|
1003
|
+
readonly attemptId: import("effect/Schema").String;
|
|
1004
|
+
readonly runtime: import("effect/Schema").Struct<{
|
|
1005
|
+
readonly adapter: import("effect/Schema").Literals<readonly ["docker", "k8s", "k3s", "cloudflare", "microvm"]>;
|
|
1006
|
+
readonly resourceId: import("effect/Schema").String;
|
|
1007
|
+
readonly reference: import("effect/Schema").String;
|
|
1008
|
+
readonly status: import("effect/Schema").Literals<readonly ["pending", "running", "ready", "failed", "stopped"]>;
|
|
1009
|
+
readonly endpoint: import("effect/Schema").String;
|
|
1010
|
+
}>;
|
|
1011
|
+
readonly sessionUser: import("effect/Schema").NullOr<import("effect/Schema").String>;
|
|
1012
|
+
readonly sshKeyFingerprint: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1013
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./workspaces.js").WorkspaceUnauthorizedError | typeof import("./workspaces.js").WorkspaceSshKeyNoLongerRegisteredError | typeof import("./workspaces.js").WorkspaceNotFoundError | typeof import("./workspaces.js").WorkspaceConflictError | typeof import("./workspaces.js").WorkspaceServiceUnavailableError | typeof import("./workspaces.js").WorkspaceInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"getWorkspaceCaptureStatus", "GET", "/v1/workspaces/:workspaceId/capture", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
1014
|
+
readonly workspaceId: import("effect/Schema").String;
|
|
1015
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
1016
|
+
readonly ownerUserId: import("effect/Schema").String;
|
|
1017
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
1018
|
+
readonly epoch: import("effect/Schema").Number;
|
|
1019
|
+
readonly worktreeId: import("effect/Schema").String;
|
|
1020
|
+
readonly headN: import("effect/Schema").optional<import("effect/Schema").Number>;
|
|
1021
|
+
readonly pending: import("effect/Schema").Number;
|
|
1022
|
+
readonly stagedBytes: import("effect/Schema").Number;
|
|
1023
|
+
readonly uploadedObjects: import("effect/Schema").Number;
|
|
1024
|
+
readonly uploadedBytes: import("effect/Schema").Number;
|
|
1025
|
+
readonly registered: import("effect/Schema").Number;
|
|
1026
|
+
readonly fenced: import("effect/Schema").Boolean;
|
|
1027
|
+
readonly paused: import("effect/Schema").Boolean;
|
|
1028
|
+
readonly lastSnapUnixMs: import("effect/Schema").optional<import("effect/Schema").Number>;
|
|
1029
|
+
readonly refused: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").Literals<readonly ["small", "bulk"]>>>;
|
|
1030
|
+
readonly pendingBytes: import("effect/Schema").optional<import("effect/Schema").Number>;
|
|
1031
|
+
readonly pendingBulk: import("effect/Schema").optional<import("effect/Schema").Number>;
|
|
1032
|
+
readonly complete: import("effect/Schema").optional<import("effect/Schema").Boolean>;
|
|
1033
|
+
readonly incompleteReason: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1034
|
+
readonly unreadable: import("effect/Schema").optional<import("effect/Schema").Number>;
|
|
1035
|
+
readonly carried: import("effect/Schema").optional<import("effect/Schema").Number>;
|
|
1036
|
+
readonly unreadablePaths: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").String>>;
|
|
1037
|
+
readonly registerRefused: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1038
|
+
readonly registerRefusedN: import("effect/Schema").optional<import("effect/Schema").Number>;
|
|
1039
|
+
readonly registerMissing: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").String>>;
|
|
1040
|
+
readonly registerRefusals: import("effect/Schema").optional<import("effect/Schema").Number>;
|
|
1041
|
+
readonly repairing: import("effect/Schema").optional<import("effect/Schema").Boolean>;
|
|
1042
|
+
readonly bulkBuilding: import("effect/Schema").optional<import("effect/Schema").Boolean>;
|
|
1043
|
+
readonly snaps: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").Struct<{
|
|
1044
|
+
readonly class: import("effect/Schema").Literals<readonly ["small", "bulk"]>;
|
|
1045
|
+
readonly snapsFailed: import("effect/Schema").Number;
|
|
1046
|
+
readonly lastSnapError: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1047
|
+
readonly snapFailingSinceUnixMs: import("effect/Schema").optional<import("effect/Schema").Number>;
|
|
939
1048
|
}>>>;
|
|
940
|
-
|
|
1049
|
+
readonly lastSnapError: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1050
|
+
readonly snapFailingSinceUnixMs: import("effect/Schema").optional<import("effect/Schema").Number>;
|
|
1051
|
+
readonly snapsFailed: import("effect/Schema").optional<import("effect/Schema").Number>;
|
|
1052
|
+
readonly origin: import("effect/Schema").optional<import("effect/Schema").Struct<{
|
|
1053
|
+
readonly epoch: import("effect/Schema").Int;
|
|
1054
|
+
readonly launch: import("effect/Schema").String;
|
|
1055
|
+
readonly bootId: import("effect/Schema").String;
|
|
1056
|
+
readonly bootGeneration: import("effect/Schema").Int;
|
|
1057
|
+
readonly observation: import("effect/Schema").Int;
|
|
1058
|
+
readonly headN: import("effect/Schema").optional<import("effect/Schema").Int>;
|
|
1059
|
+
}>>;
|
|
1060
|
+
readonly overdue: import("effect/Schema").optional<import("effect/Schema").Struct<{
|
|
1061
|
+
readonly step: import("effect/Schema").String;
|
|
1062
|
+
readonly startedUnixMs: import("effect/Schema").Number;
|
|
1063
|
+
readonly runningMs: import("effect/Schema").Number;
|
|
1064
|
+
readonly boundMs: import("effect/Schema").Number;
|
|
1065
|
+
}>>;
|
|
1066
|
+
readonly ownerMap: import("effect/Schema").optional<import("effect/Schema").Boolean>;
|
|
1067
|
+
}>>, 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<{
|
|
1068
|
+
readonly workspaceId: import("effect/Schema").String;
|
|
1069
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
1070
|
+
readonly ownerUserId: import("effect/Schema").String;
|
|
1071
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
1072
|
+
readonly workspaceId: import("effect/Schema").String;
|
|
941
1073
|
readonly runId: import("effect/Schema").String;
|
|
1074
|
+
readonly homes: import("effect/Schema").$Array<import("effect/Schema").Struct<{
|
|
1075
|
+
readonly home: import("effect/Schema").String;
|
|
1076
|
+
readonly onBehalfOfUserId: import("effect/Schema").String;
|
|
1077
|
+
readonly accounts: import("effect/Schema").Struct<{
|
|
1078
|
+
readonly claude: import("effect/Schema").optional<import("effect/Schema").Struct<{
|
|
1079
|
+
readonly connectedAccountId: import("effect/Schema").String;
|
|
1080
|
+
readonly name: import("effect/Schema").String;
|
|
1081
|
+
}>>;
|
|
1082
|
+
readonly codex: import("effect/Schema").optional<import("effect/Schema").Struct<{
|
|
1083
|
+
readonly connectedAccountId: import("effect/Schema").String;
|
|
1084
|
+
readonly name: import("effect/Schema").String;
|
|
1085
|
+
}>>;
|
|
1086
|
+
readonly github: import("effect/Schema").optional<import("effect/Schema").Struct<{
|
|
1087
|
+
readonly connectedAccountId: import("effect/Schema").String;
|
|
1088
|
+
readonly name: import("effect/Schema").String;
|
|
1089
|
+
}>>;
|
|
1090
|
+
readonly pi: import("effect/Schema").optional<import("effect/Schema").Struct<{
|
|
1091
|
+
readonly connectedAccountId: import("effect/Schema").String;
|
|
1092
|
+
readonly name: import("effect/Schema").String;
|
|
1093
|
+
}>>;
|
|
1094
|
+
readonly opencode: import("effect/Schema").optional<import("effect/Schema").Struct<{
|
|
1095
|
+
readonly connectedAccountId: import("effect/Schema").String;
|
|
1096
|
+
readonly name: import("effect/Schema").String;
|
|
1097
|
+
}>>;
|
|
1098
|
+
}>;
|
|
1099
|
+
}>>;
|
|
1100
|
+
}>>, 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<"getWorkspace", "GET", "/v1/workspaces/:workspaceId", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
942
1101
|
readonly workspaceId: import("effect/Schema").String;
|
|
943
|
-
|
|
1102
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
1103
|
+
readonly ownerUserId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1104
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
1105
|
+
readonly workspaceId: import("effect/Schema").String;
|
|
1106
|
+
readonly name: import("effect/Schema").String;
|
|
944
1107
|
readonly ownerUserId: import("effect/Schema").String;
|
|
945
|
-
readonly
|
|
946
|
-
readonly
|
|
947
|
-
readonly
|
|
948
|
-
readonly
|
|
949
|
-
readonly
|
|
950
|
-
readonly
|
|
951
|
-
readonly
|
|
952
|
-
readonly
|
|
953
|
-
readonly
|
|
954
|
-
readonly
|
|
1108
|
+
readonly status: import("effect/Schema").Literals<readonly ["queued", "running", "ready", "failed", "cancelled", "stopped", "retained"]>;
|
|
1109
|
+
readonly registryId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1110
|
+
readonly repository: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1111
|
+
readonly tag: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1112
|
+
readonly runtime: import("effect/Schema").optional<import("effect/Schema").Struct<{
|
|
1113
|
+
readonly adapter: import("effect/Schema").Literals<readonly ["docker", "k8s", "k3s", "cloudflare", "microvm"]>;
|
|
1114
|
+
readonly resourceId: import("effect/Schema").String;
|
|
1115
|
+
readonly reference: import("effect/Schema").String;
|
|
1116
|
+
readonly status: import("effect/Schema").Literals<readonly ["pending", "running", "ready", "failed", "stopped", "retained"]>;
|
|
1117
|
+
readonly endpoint: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1118
|
+
readonly deadline: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").String>>;
|
|
1119
|
+
readonly runId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1120
|
+
readonly launchId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1121
|
+
}>>;
|
|
1122
|
+
readonly publishedImage: import("effect/Schema").optional<import("effect/Schema").Struct<{
|
|
1123
|
+
readonly reference: import("effect/Schema").String;
|
|
1124
|
+
readonly digestReference: import("effect/Schema").String;
|
|
1125
|
+
readonly digest: import("effect/Schema").String;
|
|
1126
|
+
readonly personLayout: import("effect/Schema").optional<import("effect/Schema").Struct<{
|
|
1127
|
+
readonly status: import("effect/Schema").Literals<readonly ["supported", "unsupported", "unknown"]>;
|
|
1128
|
+
readonly missing: import("effect/Schema").$Array<import("effect/Schema").String>;
|
|
1129
|
+
readonly unknown: import("effect/Schema").$Array<import("effect/Schema").String>;
|
|
1130
|
+
readonly runtime: import("effect/Schema").String;
|
|
1131
|
+
readonly acl: import("effect/Schema").Literals<readonly ["supported", "unsupported", "unknown"]>;
|
|
1132
|
+
}>>;
|
|
1133
|
+
}>>;
|
|
1134
|
+
readonly processUser: import("effect/Schema").optional<import("effect/Schema").Literals<readonly ["supported", "unsupported", "unknown"]>>;
|
|
1135
|
+
readonly error: import("effect/Schema").optional<import("effect/Schema").Struct<{
|
|
1136
|
+
readonly message: import("effect/Schema").String;
|
|
1137
|
+
readonly code: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1138
|
+
}>>;
|
|
1139
|
+
readonly phase: import("effect/Schema").optional<import("effect/Schema").Struct<{
|
|
1140
|
+
readonly name: import("effect/Schema").Literals<readonly ["queued", "image-build", "boot"]>;
|
|
1141
|
+
readonly since: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1142
|
+
readonly imageBuild: import("effect/Schema").optional<import("effect/Schema").Struct<{
|
|
1143
|
+
readonly step: import("effect/Schema").optional<import("effect/Schema").Int>;
|
|
1144
|
+
readonly steps: import("effect/Schema").optional<import("effect/Schema").Int>;
|
|
1145
|
+
readonly stepName: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1146
|
+
readonly progressAt: import("effect/Schema").String;
|
|
1147
|
+
readonly stallTimeoutMs: import("effect/Schema").optional<import("effect/Schema").Int>;
|
|
1148
|
+
}>>;
|
|
955
1149
|
}>>;
|
|
956
|
-
readonly metadata: import("effect/Schema").optional<import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").Unknown>>;
|
|
957
|
-
readonly user: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
958
|
-
readonly exitCode: import("effect/Schema").optional<import("effect/Schema").Number>;
|
|
959
|
-
readonly errorMessage: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
960
|
-
readonly startedAt: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
961
|
-
readonly finishedAt: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
962
|
-
readonly recordDeletedAt: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
963
1150
|
readonly createdAt: import("effect/Schema").String;
|
|
964
1151
|
readonly updatedAt: import("effect/Schema").String;
|
|
965
|
-
|
|
1152
|
+
readonly startedAt: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1153
|
+
readonly finishedAt: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1154
|
+
readonly expiresAt: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1155
|
+
readonly spec: import("effect/Schema").optional<import("effect/Schema").Unknown>;
|
|
1156
|
+
readonly captureDrain: import("effect/Schema").optional<import("effect/Schema").Struct<{
|
|
1157
|
+
readonly state: import("effect/Schema").Literals<readonly ["draining", "kept", "saved", "gone", "stop-failed", "stopped", "discarded"]>;
|
|
1158
|
+
readonly detail: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1159
|
+
readonly observedAt: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1160
|
+
readonly preservationStartsAt: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1161
|
+
readonly discard: import("effect/Schema").optional<import("effect/Schema").Struct<{
|
|
1162
|
+
readonly requestedBy: import("effect/Schema").String;
|
|
1163
|
+
readonly requestedAt: import("effect/Schema").String;
|
|
1164
|
+
}>>;
|
|
1165
|
+
readonly retained: import("effect/Schema").optional<import("effect/Schema").Struct<{
|
|
1166
|
+
readonly since: import("effect/Schema").String;
|
|
1167
|
+
readonly reason: import("effect/Schema").String;
|
|
1168
|
+
readonly recoverable: import("effect/Schema").Boolean;
|
|
1169
|
+
readonly recoveryAttempts: import("effect/Schema").Int;
|
|
1170
|
+
readonly nextRecoveryAt: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1171
|
+
readonly lastRecoveryError: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1172
|
+
}>>;
|
|
1173
|
+
readonly executor: import("effect/Schema").optional<import("effect/Schema").Struct<{
|
|
1174
|
+
readonly runId: import("effect/Schema").String;
|
|
1175
|
+
readonly adapter: import("effect/Schema").String;
|
|
1176
|
+
readonly resourceId: import("effect/Schema").String;
|
|
1177
|
+
readonly reference: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1178
|
+
readonly launchId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1179
|
+
}>>;
|
|
1180
|
+
readonly completion: import("effect/Schema").optional<import("effect/Schema").Struct<{
|
|
1181
|
+
readonly executorId: import("effect/Schema").String;
|
|
1182
|
+
readonly epoch: import("effect/Schema").Int;
|
|
1183
|
+
readonly captureN: import("effect/Schema").Int;
|
|
1184
|
+
readonly attestedAt: import("effect/Schema").String;
|
|
1185
|
+
readonly launchId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1186
|
+
readonly sealedAt: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1187
|
+
readonly origin: import("effect/Schema").optional<import("effect/Schema").Struct<{
|
|
1188
|
+
readonly epoch: import("effect/Schema").Int;
|
|
1189
|
+
readonly launch: import("effect/Schema").String;
|
|
1190
|
+
readonly bootId: import("effect/Schema").String;
|
|
1191
|
+
readonly bootGeneration: import("effect/Schema").Int;
|
|
1192
|
+
readonly observation: import("effect/Schema").Int;
|
|
1193
|
+
readonly headN: import("effect/Schema").optional<import("effect/Schema").Int>;
|
|
1194
|
+
}>>;
|
|
1195
|
+
}>>;
|
|
1196
|
+
}>>;
|
|
1197
|
+
}>>, 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<{
|
|
966
1198
|
readonly workspaceId: import("effect/Schema").String;
|
|
967
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<
|
|
968
|
-
readonly ownerUserId: import("effect/Schema").String
|
|
969
|
-
readonly
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
readonly
|
|
974
|
-
readonly
|
|
1199
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
1200
|
+
readonly ownerUserId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1201
|
+
readonly limit: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1202
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
1203
|
+
readonly items: import("effect/Schema").$Array<import("effect/Schema").Struct<{
|
|
1204
|
+
readonly attemptId: import("effect/Schema").String;
|
|
1205
|
+
readonly relation: import("effect/Schema").Literals<readonly ["launch", "rebuild", "retry", "resume"]>;
|
|
1206
|
+
readonly status: import("effect/Schema").Literals<readonly ["queued", "running", "ready", "failed", "cancelled", "stopped", "retained"]>;
|
|
1207
|
+
readonly triggerType: import("effect/Schema").Literals<readonly ["manual", "schedule", "api", "retry"]>;
|
|
1208
|
+
readonly triggerRef: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1209
|
+
readonly runtime: import("effect/Schema").optional<import("effect/Schema").Struct<{
|
|
1210
|
+
readonly adapter: import("effect/Schema").Literals<readonly ["docker", "k8s", "k3s", "cloudflare", "microvm"]>;
|
|
1211
|
+
readonly resourceId: import("effect/Schema").String;
|
|
1212
|
+
readonly reference: import("effect/Schema").String;
|
|
1213
|
+
readonly status: import("effect/Schema").Literals<readonly ["pending", "running", "ready", "failed", "stopped", "retained"]>;
|
|
1214
|
+
readonly endpoint: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1215
|
+
readonly deadline: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").String>>;
|
|
1216
|
+
readonly runId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1217
|
+
readonly launchId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1218
|
+
}>>;
|
|
1219
|
+
readonly publishedImage: import("effect/Schema").optional<import("effect/Schema").Struct<{
|
|
1220
|
+
readonly reference: import("effect/Schema").String;
|
|
1221
|
+
readonly digestReference: import("effect/Schema").String;
|
|
1222
|
+
readonly digest: import("effect/Schema").String;
|
|
1223
|
+
readonly personLayout: import("effect/Schema").optional<import("effect/Schema").Struct<{
|
|
1224
|
+
readonly status: import("effect/Schema").Literals<readonly ["supported", "unsupported", "unknown"]>;
|
|
1225
|
+
readonly missing: import("effect/Schema").$Array<import("effect/Schema").String>;
|
|
1226
|
+
readonly unknown: import("effect/Schema").$Array<import("effect/Schema").String>;
|
|
1227
|
+
readonly runtime: import("effect/Schema").String;
|
|
1228
|
+
readonly acl: import("effect/Schema").Literals<readonly ["supported", "unsupported", "unknown"]>;
|
|
1229
|
+
}>>;
|
|
1230
|
+
}>>;
|
|
1231
|
+
readonly error: import("effect/Schema").optional<import("effect/Schema").Struct<{
|
|
1232
|
+
readonly message: import("effect/Schema").String;
|
|
1233
|
+
readonly code: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1234
|
+
}>>;
|
|
1235
|
+
readonly spec: import("effect/Schema").optional<import("effect/Schema").Unknown>;
|
|
1236
|
+
readonly queuedAt: import("effect/Schema").String;
|
|
1237
|
+
readonly createdAt: import("effect/Schema").String;
|
|
1238
|
+
readonly updatedAt: import("effect/Schema").String;
|
|
1239
|
+
readonly linkedAt: import("effect/Schema").String;
|
|
1240
|
+
readonly startedAt: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1241
|
+
readonly finishedAt: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1242
|
+
readonly durationMs: import("effect/Schema").optional<import("effect/Schema").Number>;
|
|
1243
|
+
}>>;
|
|
1244
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./workspaces.js").WorkspaceBadRequestError | typeof import("./workspaces.js").WorkspaceNotFoundError | typeof import("./workspaces.js").WorkspaceInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"listWorkspaceEvents", "GET", "/v1/workspaces/:workspaceId/events", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
1245
|
+
readonly workspaceId: import("effect/Schema").String;
|
|
1246
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
1247
|
+
readonly ownerUserId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1248
|
+
readonly limit: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1249
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
1250
|
+
readonly items: import("effect/Schema").$Array<import("effect/Schema").Struct<{
|
|
1251
|
+
readonly eventId: import("effect/Schema").String;
|
|
1252
|
+
readonly workspaceId: import("effect/Schema").String;
|
|
1253
|
+
readonly attemptId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1254
|
+
readonly type: import("effect/Schema").Literals<readonly ["workspace.created", "attempt.queued", "attempt.running", "attempt.succeeded", "attempt.failed", "attempt.cancelled", "image.published", "runtime.pending", "runtime.running", "runtime.ready", "runtime.failed", "runtime.stopped"]>;
|
|
1255
|
+
readonly occurredAt: import("effect/Schema").String;
|
|
1256
|
+
readonly message: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1257
|
+
readonly data: import("effect/Schema").optional<import("effect/Schema").Unknown>;
|
|
975
1258
|
}>>;
|
|
976
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./workspaces.js").WorkspaceBadRequestError | typeof import("./workspaces.js").WorkspaceNotFoundError | typeof import("./workspaces.js").
|
|
1259
|
+
}>>, 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<"getWorkspaceCreate", "GET", "/v1/workspaces/idempotency-keys/:idempotencyKey", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
977
1260
|
readonly idempotencyKey: import("effect/Schema").String;
|
|
978
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<
|
|
1261
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
979
1262
|
readonly ownerUserId: import("effect/Schema").String;
|
|
980
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
1263
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
981
1264
|
readonly idempotencyKey: import("effect/Schema").String;
|
|
982
1265
|
readonly state: import("effect/Schema").Literals<readonly ["pending", "found", "cancelled", "none"]>;
|
|
983
1266
|
readonly workspaceId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
984
1267
|
readonly runId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
985
1268
|
readonly launchId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
986
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./workspaces.js").WorkspaceBadRequestError | typeof import("./workspaces.js").WorkspaceInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"
|
|
1269
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./workspaces.js").WorkspaceBadRequestError | 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<{
|
|
987
1270
|
readonly workspaceId: import("effect/Schema").String;
|
|
988
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
1271
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
1272
|
+
readonly name: import("effect/Schema").String;
|
|
989
1273
|
readonly ownerUserId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
990
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").
|
|
1274
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
991
1275
|
readonly workspaceId: import("effect/Schema").String;
|
|
992
|
-
readonly
|
|
1276
|
+
readonly name: import("effect/Schema").String;
|
|
1277
|
+
readonly updatedAt: import("effect/Schema").String;
|
|
993
1278
|
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./workspaces.js").WorkspaceNotFoundError | typeof import("./workspaces.js").WorkspaceInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"createWorkspace", "POST", "/v1/workspaces/", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
994
1279
|
readonly ownerUserId: import("effect/Schema").String;
|
|
995
1280
|
readonly registryId: import("effect/Schema").String;
|
|
@@ -1041,9 +1326,69 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
1041
1326
|
readonly runId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1042
1327
|
readonly launchId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1043
1328
|
}>>;
|
|
1044
|
-
readonly replayed: import("effect/Schema").optional<import("effect/Schema").Boolean>;
|
|
1045
|
-
readonly launchId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1046
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./budgets.ts").BudgetExceededError | typeof import("./workspaces.js").WorkspaceBadRequestError | typeof import("./workspaces.js").WorkspaceRuntimeEnvReferencesUnsupportedError | typeof import("./workspaces.js").WorkspaceDockerServiceUnsupportedError | typeof import("./workspaces.js").WorkspaceSshOwnerRefusedError | typeof import("./workspaces.js").WorkspaceForbiddenError | typeof import("./workspaces.js").WorkspaceNotFoundError | typeof import("./workspaces.js").WorkspaceConflictError | typeof import("./workspaces.js").WorkspaceBadGatewayError | typeof import("./workspaces.js").WorkspaceServiceUnavailableError | typeof import("./workspaces.js").WorkspaceInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"
|
|
1329
|
+
readonly replayed: import("effect/Schema").optional<import("effect/Schema").Boolean>;
|
|
1330
|
+
readonly launchId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1331
|
+
}>>, 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<"inspectWorkspaceImage", "POST", "/v1/workspaces/image", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
1332
|
+
readonly ownerUserId: import("effect/Schema").String;
|
|
1333
|
+
readonly registryId: import("effect/Schema").String;
|
|
1334
|
+
readonly spec: import("effect/Schema").Unknown;
|
|
1335
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
1336
|
+
readonly planHash: import("effect/Schema").String;
|
|
1337
|
+
readonly publishedImage: import("effect/Schema").optional<import("effect/Schema").Struct<{
|
|
1338
|
+
readonly reference: import("effect/Schema").String;
|
|
1339
|
+
readonly digestReference: import("effect/Schema").String;
|
|
1340
|
+
readonly digest: import("effect/Schema").String;
|
|
1341
|
+
readonly personLayout: import("effect/Schema").optional<import("effect/Schema").Struct<{
|
|
1342
|
+
readonly status: import("effect/Schema").Literals<readonly ["supported", "unsupported", "unknown"]>;
|
|
1343
|
+
readonly missing: import("effect/Schema").$Array<import("effect/Schema").String>;
|
|
1344
|
+
readonly unknown: import("effect/Schema").$Array<import("effect/Schema").String>;
|
|
1345
|
+
readonly runtime: import("effect/Schema").String;
|
|
1346
|
+
readonly acl: import("effect/Schema").Literals<readonly ["supported", "unsupported", "unknown"]>;
|
|
1347
|
+
}>>;
|
|
1348
|
+
}>>;
|
|
1349
|
+
readonly personLayout: import("effect/Schema").Struct<{
|
|
1350
|
+
readonly status: import("effect/Schema").Literals<readonly ["supported", "unsupported", "unknown"]>;
|
|
1351
|
+
readonly missing: import("effect/Schema").$Array<import("effect/Schema").String>;
|
|
1352
|
+
readonly unknown: import("effect/Schema").$Array<import("effect/Schema").String>;
|
|
1353
|
+
readonly runtime: import("effect/Schema").String;
|
|
1354
|
+
readonly acl: import("effect/Schema").Literals<readonly ["supported", "unsupported", "unknown"]>;
|
|
1355
|
+
}>;
|
|
1356
|
+
}>>, 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<"execWorkspace", "POST", "/v1/workspaces/:workspaceId/exec", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
1357
|
+
readonly workspaceId: import("effect/Schema").String;
|
|
1358
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
1359
|
+
readonly ownerUserId: import("effect/Schema").String;
|
|
1360
|
+
readonly commands: import("effect/Schema").$Array<import("effect/Schema").Struct<{
|
|
1361
|
+
readonly executable: import("effect/Schema").String;
|
|
1362
|
+
readonly args: import("effect/Schema").$Array<import("effect/Schema").String>;
|
|
1363
|
+
readonly cwd: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1364
|
+
}>>;
|
|
1365
|
+
readonly user: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1366
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
1367
|
+
readonly runId: import("effect/Schema").String;
|
|
1368
|
+
readonly workspaceId: import("effect/Schema").String;
|
|
1369
|
+
readonly attemptId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1370
|
+
readonly ownerUserId: import("effect/Schema").String;
|
|
1371
|
+
readonly harnessId: import("effect/Schema").String;
|
|
1372
|
+
readonly mode: import("effect/Schema").Literals<readonly ["one-shot", "interactive"]>;
|
|
1373
|
+
readonly status: import("effect/Schema").Literals<readonly ["queued", "running", "completed", "failed", "cancelled"]>;
|
|
1374
|
+
readonly prompt: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1375
|
+
readonly command: import("effect/Schema").optional<import("effect/Schema").Struct<{
|
|
1376
|
+
readonly executable: import("effect/Schema").String;
|
|
1377
|
+
readonly args: import("effect/Schema").$Array<import("effect/Schema").String>;
|
|
1378
|
+
readonly cwd: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1379
|
+
readonly argCount: import("effect/Schema").optional<import("effect/Schema").Number>;
|
|
1380
|
+
readonly argLengths: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").Number>>;
|
|
1381
|
+
}>>;
|
|
1382
|
+
readonly metadata: import("effect/Schema").optional<import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").Unknown>>;
|
|
1383
|
+
readonly user: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1384
|
+
readonly exitCode: import("effect/Schema").optional<import("effect/Schema").Number>;
|
|
1385
|
+
readonly errorMessage: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1386
|
+
readonly startedAt: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1387
|
+
readonly finishedAt: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1388
|
+
readonly recordDeletedAt: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1389
|
+
readonly createdAt: import("effect/Schema").String;
|
|
1390
|
+
readonly updatedAt: import("effect/Schema").String;
|
|
1391
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./workspaces.js").WorkspaceBadRequestError | typeof import("./workspaces.js").WorkspaceNotFoundError | typeof import("./workspaces.js").WorkspaceConflictError | typeof import("./workspaces.js").WorkspaceBadGatewayError | typeof import("./workspaces.js").WorkspaceInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"execWorkspaceAsUser", "POST", "/v1/workspaces/:workspaceId/exec-as-user", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
1047
1392
|
readonly workspaceId: import("effect/Schema").String;
|
|
1048
1393
|
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
1049
1394
|
readonly ownerUserId: import("effect/Schema").String;
|
|
@@ -1052,7 +1397,7 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
1052
1397
|
readonly args: import("effect/Schema").$Array<import("effect/Schema").String>;
|
|
1053
1398
|
readonly cwd: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1054
1399
|
}>>;
|
|
1055
|
-
readonly user: import("effect/Schema").
|
|
1400
|
+
readonly user: import("effect/Schema").String;
|
|
1056
1401
|
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
1057
1402
|
readonly runId: import("effect/Schema").String;
|
|
1058
1403
|
readonly workspaceId: import("effect/Schema").String;
|
|
@@ -1078,16 +1423,27 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
1078
1423
|
readonly recordDeletedAt: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1079
1424
|
readonly createdAt: import("effect/Schema").String;
|
|
1080
1425
|
readonly updatedAt: import("effect/Schema").String;
|
|
1081
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./workspaces.js").WorkspaceBadRequestError | typeof import("./workspaces.js").WorkspaceNotFoundError | typeof import("./workspaces.js").WorkspaceConflictError | typeof import("./workspaces.js").WorkspaceBadGatewayError | typeof import("./workspaces.js").WorkspaceInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"
|
|
1426
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./workspaces.js").WorkspaceBadRequestError | typeof import("./workspaces.js").WorkspaceNotFoundError | typeof import("./workspaces.js").WorkspaceConflictError | typeof import("./workspaces.js").WorkspaceBadGatewayError | typeof import("./workspaces.js").WorkspaceInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"applyWorkspaceDotfiles", "POST", "/v1/workspaces/:workspaceId/dotfiles", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
1082
1427
|
readonly workspaceId: import("effect/Schema").String;
|
|
1083
1428
|
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
1084
1429
|
readonly ownerUserId: import("effect/Schema").String;
|
|
1085
|
-
readonly
|
|
1086
|
-
readonly executable: import("effect/Schema").String;
|
|
1087
|
-
readonly args: import("effect/Schema").$Array<import("effect/Schema").String>;
|
|
1088
|
-
readonly cwd: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1089
|
-
}>>;
|
|
1430
|
+
readonly onBehalfOfUserId: import("effect/Schema").String;
|
|
1090
1431
|
readonly user: import("effect/Schema").String;
|
|
1432
|
+
readonly home: import("effect/Schema").String;
|
|
1433
|
+
readonly repository: import("effect/Schema").optional<import("effect/Schema").Struct<{
|
|
1434
|
+
readonly url: import("effect/Schema").String;
|
|
1435
|
+
readonly ref: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1436
|
+
readonly manager: import("effect/Schema").optional<import("effect/Schema").Literals<readonly ["auto", "chezmoi", "stow", "copy"]>>;
|
|
1437
|
+
readonly bootstrap: import("effect/Schema").optional<import("effect/Schema").Boolean>;
|
|
1438
|
+
readonly bootstrapCommand: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1439
|
+
}>>;
|
|
1440
|
+
readonly archives: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").Struct<{
|
|
1441
|
+
readonly data: import("effect/Schema").String;
|
|
1442
|
+
readonly manager: import("effect/Schema").optional<import("effect/Schema").Literals<readonly ["auto", "chezmoi", "stow", "copy"]>>;
|
|
1443
|
+
readonly target: import("effect/Schema").optional<import("effect/Schema").Literals<readonly ["home", "config"]>>;
|
|
1444
|
+
readonly bootstrap: import("effect/Schema").optional<import("effect/Schema").Boolean>;
|
|
1445
|
+
readonly bootstrapCommand: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1446
|
+
}>>>;
|
|
1091
1447
|
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
1092
1448
|
readonly runId: import("effect/Schema").String;
|
|
1093
1449
|
readonly workspaceId: import("effect/Schema").String;
|
|
@@ -1113,15 +1469,18 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
1113
1469
|
readonly recordDeletedAt: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1114
1470
|
readonly createdAt: import("effect/Schema").String;
|
|
1115
1471
|
readonly updatedAt: import("effect/Schema").String;
|
|
1116
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./workspaces.js").WorkspaceBadRequestError | typeof import("./workspaces.js").WorkspaceNotFoundError | typeof import("./workspaces.js").WorkspaceConflictError | typeof import("./workspaces.js").WorkspaceBadGatewayError | typeof import("./workspaces.js").WorkspaceInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"
|
|
1472
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./workspaces.js").WorkspaceBadRequestError | typeof import("./workspaces.js").WorkspaceForbiddenError | typeof import("./workspaces.js").WorkspaceNotFoundError | typeof import("./workspaces.js").WorkspaceConflictError | typeof import("./workspaces.js").WorkspaceBadGatewayError | typeof import("./workspaces.js").WorkspaceServiceUnavailableError | typeof import("./workspaces.js").WorkspaceInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"bindWorkspace", "POST", "/v1/workspaces/:workspaceId/bind", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
1117
1473
|
readonly workspaceId: import("effect/Schema").String;
|
|
1118
1474
|
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
1119
1475
|
readonly ownerUserId: import("effect/Schema").String;
|
|
1120
|
-
readonly
|
|
1476
|
+
readonly mountPath: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1477
|
+
readonly subpath: import("effect/Schema").String;
|
|
1121
1478
|
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
1122
|
-
readonly
|
|
1123
|
-
|
|
1124
|
-
|
|
1479
|
+
readonly binds: import("effect/Schema").$Array<import("effect/Schema").Struct<{
|
|
1480
|
+
readonly mountPath: import("effect/Schema").String;
|
|
1481
|
+
readonly subpath: import("effect/Schema").String;
|
|
1482
|
+
}>>;
|
|
1483
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./workspaces.js").WorkspaceBadRequestError | typeof import("./workspaces.js").WorkspaceNotFoundError | typeof import("./workspaces.js").WorkspaceConflictError | typeof import("./workspaces.js").WorkspaceInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"flushWorkspaceCapture", "POST", "/v1/workspaces/:workspaceId/capture/flush", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
1125
1484
|
readonly workspaceId: import("effect/Schema").String;
|
|
1126
1485
|
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
1127
1486
|
readonly ownerUserId: import("effect/Schema").String;
|
|
@@ -1178,365 +1537,73 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
1178
1537
|
readonly boundMs: import("effect/Schema").Number;
|
|
1179
1538
|
}>>;
|
|
1180
1539
|
readonly ownerMap: import("effect/Schema").optional<import("effect/Schema").Boolean>;
|
|
1181
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./workspaces.js").WorkspaceBadRequestError | typeof import("./workspaces.js").WorkspaceNotFoundError | typeof import("./workspaces.js").WorkspaceConflictError | typeof import("./workspaces.js").WorkspaceInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"
|
|
1182
|
-
readonly workspaceId: import("effect/Schema").String;
|
|
1183
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
1184
|
-
readonly ownerUserId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1185
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
1540
|
+
}>>, 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<{
|
|
1186
1541
|
readonly workspaceId: import("effect/Schema").String;
|
|
1187
|
-
|
|
1542
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
1188
1543
|
readonly ownerUserId: import("effect/Schema").String;
|
|
1189
|
-
readonly
|
|
1190
|
-
|
|
1191
|
-
|
|
1192
|
-
|
|
1193
|
-
|
|
1194
|
-
|
|
1195
|
-
readonly resourceId: import("effect/Schema").String;
|
|
1196
|
-
readonly reference: import("effect/Schema").String;
|
|
1197
|
-
readonly status: import("effect/Schema").Literals<readonly ["pending", "running", "ready", "failed", "stopped", "retained"]>;
|
|
1198
|
-
readonly endpoint: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1199
|
-
readonly deadline: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").String>>;
|
|
1200
|
-
readonly runId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1201
|
-
readonly launchId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1202
|
-
}>>;
|
|
1203
|
-
readonly publishedImage: import("effect/Schema").optional<import("effect/Schema").Struct<{
|
|
1204
|
-
readonly reference: import("effect/Schema").String;
|
|
1205
|
-
readonly digestReference: import("effect/Schema").String;
|
|
1206
|
-
readonly digest: import("effect/Schema").String;
|
|
1207
|
-
readonly personLayout: import("effect/Schema").optional<import("effect/Schema").Struct<{
|
|
1208
|
-
readonly status: import("effect/Schema").Literals<readonly ["supported", "unsupported", "unknown"]>;
|
|
1209
|
-
readonly missing: import("effect/Schema").$Array<import("effect/Schema").String>;
|
|
1210
|
-
readonly unknown: import("effect/Schema").$Array<import("effect/Schema").String>;
|
|
1211
|
-
readonly runtime: import("effect/Schema").String;
|
|
1212
|
-
readonly acl: import("effect/Schema").Literals<readonly ["supported", "unsupported", "unknown"]>;
|
|
1213
|
-
}>>;
|
|
1214
|
-
}>>;
|
|
1215
|
-
readonly processUser: import("effect/Schema").optional<import("effect/Schema").Literals<readonly ["supported", "unsupported", "unknown"]>>;
|
|
1216
|
-
readonly error: import("effect/Schema").optional<import("effect/Schema").Struct<{
|
|
1217
|
-
readonly message: import("effect/Schema").String;
|
|
1218
|
-
readonly code: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1219
|
-
}>>;
|
|
1220
|
-
readonly phase: import("effect/Schema").optional<import("effect/Schema").Struct<{
|
|
1221
|
-
readonly name: import("effect/Schema").Literals<readonly ["queued", "image-build", "boot"]>;
|
|
1222
|
-
readonly since: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1223
|
-
readonly imageBuild: import("effect/Schema").optional<import("effect/Schema").Struct<{
|
|
1224
|
-
readonly step: import("effect/Schema").optional<import("effect/Schema").Int>;
|
|
1225
|
-
readonly steps: import("effect/Schema").optional<import("effect/Schema").Int>;
|
|
1226
|
-
readonly stepName: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1227
|
-
readonly progressAt: import("effect/Schema").String;
|
|
1228
|
-
readonly stallTimeoutMs: import("effect/Schema").optional<import("effect/Schema").Int>;
|
|
1229
|
-
}>>;
|
|
1230
|
-
}>>;
|
|
1231
|
-
readonly createdAt: import("effect/Schema").String;
|
|
1232
|
-
readonly updatedAt: import("effect/Schema").String;
|
|
1233
|
-
readonly startedAt: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1234
|
-
readonly finishedAt: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1235
|
-
readonly expiresAt: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1236
|
-
readonly spec: import("effect/Schema").optional<import("effect/Schema").Unknown>;
|
|
1237
|
-
readonly captureDrain: import("effect/Schema").optional<import("effect/Schema").Struct<{
|
|
1238
|
-
readonly state: import("effect/Schema").Literals<readonly ["draining", "kept", "saved", "gone", "stop-failed", "stopped", "discarded"]>;
|
|
1239
|
-
readonly detail: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1240
|
-
readonly observedAt: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1241
|
-
readonly preservationStartsAt: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1242
|
-
readonly discard: import("effect/Schema").optional<import("effect/Schema").Struct<{
|
|
1243
|
-
readonly requestedBy: import("effect/Schema").String;
|
|
1244
|
-
readonly requestedAt: import("effect/Schema").String;
|
|
1245
|
-
}>>;
|
|
1246
|
-
readonly retained: import("effect/Schema").optional<import("effect/Schema").Struct<{
|
|
1247
|
-
readonly since: import("effect/Schema").String;
|
|
1248
|
-
readonly reason: import("effect/Schema").String;
|
|
1249
|
-
readonly recoverable: import("effect/Schema").Boolean;
|
|
1250
|
-
readonly recoveryAttempts: import("effect/Schema").Int;
|
|
1251
|
-
readonly nextRecoveryAt: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1252
|
-
readonly lastRecoveryError: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1253
|
-
}>>;
|
|
1254
|
-
readonly executor: import("effect/Schema").optional<import("effect/Schema").Struct<{
|
|
1255
|
-
readonly runId: import("effect/Schema").String;
|
|
1256
|
-
readonly adapter: import("effect/Schema").String;
|
|
1257
|
-
readonly resourceId: import("effect/Schema").String;
|
|
1258
|
-
readonly reference: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1259
|
-
readonly launchId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1260
|
-
}>>;
|
|
1261
|
-
readonly completion: import("effect/Schema").optional<import("effect/Schema").Struct<{
|
|
1262
|
-
readonly executorId: import("effect/Schema").String;
|
|
1263
|
-
readonly epoch: import("effect/Schema").Int;
|
|
1264
|
-
readonly captureN: import("effect/Schema").Int;
|
|
1265
|
-
readonly attestedAt: import("effect/Schema").String;
|
|
1266
|
-
readonly launchId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1267
|
-
readonly sealedAt: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1268
|
-
readonly origin: import("effect/Schema").optional<import("effect/Schema").Struct<{
|
|
1269
|
-
readonly epoch: import("effect/Schema").Int;
|
|
1270
|
-
readonly launch: import("effect/Schema").String;
|
|
1271
|
-
readonly bootId: import("effect/Schema").String;
|
|
1272
|
-
readonly bootGeneration: import("effect/Schema").Int;
|
|
1273
|
-
readonly observation: import("effect/Schema").Int;
|
|
1274
|
-
readonly headN: import("effect/Schema").optional<import("effect/Schema").Int>;
|
|
1275
|
-
}>>;
|
|
1544
|
+
readonly expectedOwnerMap: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").Struct<{
|
|
1545
|
+
readonly gid: import("effect/Schema").Number;
|
|
1546
|
+
readonly worktreeUid: import("effect/Schema").Number;
|
|
1547
|
+
readonly people: import("effect/Schema").$Array<import("effect/Schema").Struct<{
|
|
1548
|
+
readonly id: import("effect/Schema").String;
|
|
1549
|
+
readonly uid: import("effect/Schema").Number;
|
|
1276
1550
|
}>>;
|
|
1277
|
-
}
|
|
1278
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").
|
|
1279
|
-
readonly workspaceId: import("effect/Schema").String;
|
|
1280
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
1281
|
-
readonly ownerUserId: import("effect/Schema").String;
|
|
1282
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
1283
|
-
readonly epoch: import("effect/Schema").Number;
|
|
1551
|
+
}>>>;
|
|
1552
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
1284
1553
|
readonly worktreeId: import("effect/Schema").String;
|
|
1554
|
+
readonly epoch: import("effect/Schema").Number;
|
|
1285
1555
|
readonly headN: import("effect/Schema").optional<import("effect/Schema").Number>;
|
|
1286
|
-
readonly
|
|
1287
|
-
readonly
|
|
1288
|
-
readonly
|
|
1289
|
-
readonly
|
|
1290
|
-
readonly
|
|
1291
|
-
readonly
|
|
1292
|
-
readonly
|
|
1293
|
-
|
|
1294
|
-
readonly refused: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").Literals<readonly ["small", "bulk"]>>>;
|
|
1295
|
-
readonly pendingBytes: import("effect/Schema").optional<import("effect/Schema").Number>;
|
|
1296
|
-
readonly pendingBulk: import("effect/Schema").optional<import("effect/Schema").Number>;
|
|
1297
|
-
readonly complete: import("effect/Schema").optional<import("effect/Schema").Boolean>;
|
|
1298
|
-
readonly incompleteReason: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1299
|
-
readonly unreadable: import("effect/Schema").optional<import("effect/Schema").Number>;
|
|
1300
|
-
readonly carried: import("effect/Schema").optional<import("effect/Schema").Number>;
|
|
1301
|
-
readonly unreadablePaths: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").String>>;
|
|
1302
|
-
readonly registerRefused: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1303
|
-
readonly registerRefusedN: import("effect/Schema").optional<import("effect/Schema").Number>;
|
|
1304
|
-
readonly registerMissing: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").String>>;
|
|
1305
|
-
readonly registerRefusals: import("effect/Schema").optional<import("effect/Schema").Number>;
|
|
1306
|
-
readonly repairing: import("effect/Schema").optional<import("effect/Schema").Boolean>;
|
|
1307
|
-
readonly bulkBuilding: import("effect/Schema").optional<import("effect/Schema").Boolean>;
|
|
1308
|
-
readonly snaps: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").Struct<{
|
|
1309
|
-
readonly class: import("effect/Schema").Literals<readonly ["small", "bulk"]>;
|
|
1310
|
-
readonly snapsFailed: import("effect/Schema").Number;
|
|
1311
|
-
readonly lastSnapError: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1312
|
-
readonly snapFailingSinceUnixMs: import("effect/Schema").optional<import("effect/Schema").Number>;
|
|
1313
|
-
}>>>;
|
|
1314
|
-
readonly lastSnapError: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1315
|
-
readonly snapFailingSinceUnixMs: import("effect/Schema").optional<import("effect/Schema").Number>;
|
|
1316
|
-
readonly snapsFailed: import("effect/Schema").optional<import("effect/Schema").Number>;
|
|
1317
|
-
readonly origin: import("effect/Schema").optional<import("effect/Schema").Struct<{
|
|
1318
|
-
readonly epoch: import("effect/Schema").Int;
|
|
1319
|
-
readonly launch: import("effect/Schema").String;
|
|
1320
|
-
readonly bootId: import("effect/Schema").String;
|
|
1321
|
-
readonly bootGeneration: import("effect/Schema").Int;
|
|
1322
|
-
readonly observation: import("effect/Schema").Int;
|
|
1323
|
-
readonly headN: import("effect/Schema").optional<import("effect/Schema").Int>;
|
|
1324
|
-
}>>;
|
|
1325
|
-
readonly overdue: import("effect/Schema").optional<import("effect/Schema").Struct<{
|
|
1326
|
-
readonly step: import("effect/Schema").String;
|
|
1327
|
-
readonly startedUnixMs: import("effect/Schema").Number;
|
|
1328
|
-
readonly runningMs: import("effect/Schema").Number;
|
|
1329
|
-
readonly boundMs: import("effect/Schema").Number;
|
|
1330
|
-
}>>;
|
|
1331
|
-
readonly ownerMap: import("effect/Schema").optional<import("effect/Schema").Boolean>;
|
|
1332
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./workspaces.js").WorkspaceBadRequestError | typeof import("./workspaces.js").WorkspaceNotFoundError | typeof import("./workspaces.js").WorkspaceConflictError | typeof import("./workspaces.js").WorkspaceInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"getWorkspaceCreate", "GET", "/v1/workspaces/idempotency-keys/:idempotencyKey", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
1333
|
-
readonly idempotencyKey: import("effect/Schema").String;
|
|
1334
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
1335
|
-
readonly ownerUserId: import("effect/Schema").String;
|
|
1336
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
1337
|
-
readonly idempotencyKey: import("effect/Schema").String;
|
|
1338
|
-
readonly state: import("effect/Schema").Literals<readonly ["pending", "found", "cancelled", "none"]>;
|
|
1339
|
-
readonly workspaceId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1340
|
-
readonly runId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1341
|
-
readonly launchId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1342
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./workspaces.js").WorkspaceBadRequestError | typeof import("./workspaces.js").WorkspaceInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"getWorkspaceSshTarget", "GET", "/v1/workspaces/:workspaceId/ssh-target", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
1343
|
-
readonly workspaceId: import("effect/Schema").String;
|
|
1344
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
1345
|
-
readonly "x-sealant-gateway-token": import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1346
|
-
readonly "x-sealant-principal-id": import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1347
|
-
readonly "x-sealant-gateway-ssh-user": import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1348
|
-
readonly "x-sealant-ssh-key-fingerprint": import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1349
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
1556
|
+
readonly headCaptureId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1557
|
+
readonly filesWritten: import("effect/Schema").Number;
|
|
1558
|
+
readonly bytesWritten: import("effect/Schema").Number;
|
|
1559
|
+
readonly filesSkipped: import("effect/Schema").Number;
|
|
1560
|
+
readonly bytesSkipped: import("effect/Schema").Number;
|
|
1561
|
+
readonly removed: import("effect/Schema").Number;
|
|
1562
|
+
readonly unchanged: import("effect/Schema").Boolean;
|
|
1563
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./workspaces.js").WorkspaceBadRequestError | typeof import("./workspaces.js").WorkspaceNotFoundError | typeof import("./workspaces.js").WorkspaceConflictError | typeof import("./workspaces.js").WorkspaceInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"stopWorkspace", "POST", "/v1/workspaces/:workspaceId/stop", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
1350
1564
|
readonly workspaceId: import("effect/Schema").String;
|
|
1351
|
-
readonly attemptId: import("effect/Schema").String;
|
|
1352
|
-
readonly runtime: import("effect/Schema").Struct<{
|
|
1353
|
-
readonly adapter: import("effect/Schema").Literals<readonly ["docker", "k8s", "k3s", "cloudflare", "microvm"]>;
|
|
1354
|
-
readonly resourceId: import("effect/Schema").String;
|
|
1355
|
-
readonly reference: import("effect/Schema").String;
|
|
1356
|
-
readonly status: import("effect/Schema").Literals<readonly ["pending", "running", "ready", "failed", "stopped"]>;
|
|
1357
|
-
readonly endpoint: import("effect/Schema").String;
|
|
1358
|
-
}>;
|
|
1359
|
-
readonly sessionUser: import("effect/Schema").NullOr<import("effect/Schema").String>;
|
|
1360
|
-
readonly sshKeyFingerprint: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1361
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./workspaces.js").WorkspaceUnauthorizedError | typeof import("./workspaces.js").WorkspaceSshKeyNoLongerRegisteredError | typeof import("./workspaces.js").WorkspaceNotFoundError | typeof import("./workspaces.js").WorkspaceConflictError | typeof import("./workspaces.js").WorkspaceServiceUnavailableError | typeof import("./workspaces.js").WorkspaceInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"inspectWorkspaceImage", "POST", "/v1/workspaces/image", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
1362
|
-
readonly ownerUserId: import("effect/Schema").String;
|
|
1363
|
-
readonly registryId: import("effect/Schema").String;
|
|
1364
|
-
readonly spec: import("effect/Schema").Unknown;
|
|
1365
1565
|
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
1366
|
-
readonly
|
|
1367
|
-
readonly
|
|
1368
|
-
|
|
1369
|
-
readonly
|
|
1370
|
-
readonly
|
|
1371
|
-
readonly
|
|
1372
|
-
|
|
1373
|
-
|
|
1374
|
-
|
|
1375
|
-
readonly
|
|
1376
|
-
readonly
|
|
1566
|
+
readonly ownerUserId: import("effect/Schema").String;
|
|
1567
|
+
readonly discardUnsaved: import("effect/Schema").optional<import("effect/Schema").Boolean>;
|
|
1568
|
+
readonly completion: import("effect/Schema").optional<import("effect/Schema").Struct<{
|
|
1569
|
+
readonly captureN: import("effect/Schema").Int;
|
|
1570
|
+
readonly epoch: import("effect/Schema").Int;
|
|
1571
|
+
readonly executorId: import("effect/Schema").String;
|
|
1572
|
+
readonly launchId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1573
|
+
readonly sealedAt: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1574
|
+
readonly origin: import("effect/Schema").optional<import("effect/Schema").Struct<{
|
|
1575
|
+
readonly epoch: import("effect/Schema").Int;
|
|
1576
|
+
readonly launch: import("effect/Schema").String;
|
|
1577
|
+
readonly bootId: import("effect/Schema").String;
|
|
1578
|
+
readonly bootGeneration: import("effect/Schema").Int;
|
|
1579
|
+
readonly observation: import("effect/Schema").Int;
|
|
1580
|
+
readonly headN: import("effect/Schema").optional<import("effect/Schema").Int>;
|
|
1377
1581
|
}>>;
|
|
1378
1582
|
}>>;
|
|
1379
|
-
|
|
1380
|
-
readonly status: import("effect/Schema").Literals<readonly ["supported", "unsupported", "unknown"]>;
|
|
1381
|
-
readonly missing: import("effect/Schema").$Array<import("effect/Schema").String>;
|
|
1382
|
-
readonly unknown: import("effect/Schema").$Array<import("effect/Schema").String>;
|
|
1383
|
-
readonly runtime: import("effect/Schema").String;
|
|
1384
|
-
readonly acl: import("effect/Schema").Literals<readonly ["supported", "unsupported", "unknown"]>;
|
|
1385
|
-
}>;
|
|
1386
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./workspaces.js").WorkspaceBadRequestError | typeof import("./workspaces.js").WorkspaceNotFoundError | typeof import("./workspaces.js").WorkspaceInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"listWorkspaceAttempts", "GET", "/v1/workspaces/:workspaceId/attempts", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
1583
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
1387
1584
|
readonly workspaceId: import("effect/Schema").String;
|
|
1388
|
-
|
|
1389
|
-
readonly
|
|
1390
|
-
|
|
1391
|
-
|
|
1392
|
-
readonly items: import("effect/Schema").$Array<import("effect/Schema").Struct<{
|
|
1393
|
-
readonly attemptId: import("effect/Schema").String;
|
|
1394
|
-
readonly relation: import("effect/Schema").Literals<readonly ["launch", "rebuild", "retry", "resume"]>;
|
|
1395
|
-
readonly status: import("effect/Schema").Literals<readonly ["queued", "running", "ready", "failed", "cancelled", "stopped", "retained"]>;
|
|
1396
|
-
readonly triggerType: import("effect/Schema").Literals<readonly ["manual", "schedule", "api", "retry"]>;
|
|
1397
|
-
readonly triggerRef: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1398
|
-
readonly runtime: import("effect/Schema").optional<import("effect/Schema").Struct<{
|
|
1399
|
-
readonly adapter: import("effect/Schema").Literals<readonly ["docker", "k8s", "k3s", "cloudflare", "microvm"]>;
|
|
1400
|
-
readonly resourceId: import("effect/Schema").String;
|
|
1401
|
-
readonly reference: import("effect/Schema").String;
|
|
1402
|
-
readonly status: import("effect/Schema").Literals<readonly ["pending", "running", "ready", "failed", "stopped", "retained"]>;
|
|
1403
|
-
readonly endpoint: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1404
|
-
readonly deadline: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").String>>;
|
|
1405
|
-
readonly runId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1406
|
-
readonly launchId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1407
|
-
}>>;
|
|
1408
|
-
readonly publishedImage: import("effect/Schema").optional<import("effect/Schema").Struct<{
|
|
1409
|
-
readonly reference: import("effect/Schema").String;
|
|
1410
|
-
readonly digestReference: import("effect/Schema").String;
|
|
1411
|
-
readonly digest: import("effect/Schema").String;
|
|
1412
|
-
readonly personLayout: import("effect/Schema").optional<import("effect/Schema").Struct<{
|
|
1413
|
-
readonly status: import("effect/Schema").Literals<readonly ["supported", "unsupported", "unknown"]>;
|
|
1414
|
-
readonly missing: import("effect/Schema").$Array<import("effect/Schema").String>;
|
|
1415
|
-
readonly unknown: import("effect/Schema").$Array<import("effect/Schema").String>;
|
|
1416
|
-
readonly runtime: import("effect/Schema").String;
|
|
1417
|
-
readonly acl: import("effect/Schema").Literals<readonly ["supported", "unsupported", "unknown"]>;
|
|
1418
|
-
}>>;
|
|
1419
|
-
}>>;
|
|
1420
|
-
readonly error: import("effect/Schema").optional<import("effect/Schema").Struct<{
|
|
1421
|
-
readonly message: import("effect/Schema").String;
|
|
1422
|
-
readonly code: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1423
|
-
}>>;
|
|
1424
|
-
readonly spec: import("effect/Schema").optional<import("effect/Schema").Unknown>;
|
|
1425
|
-
readonly queuedAt: import("effect/Schema").String;
|
|
1426
|
-
readonly createdAt: import("effect/Schema").String;
|
|
1427
|
-
readonly updatedAt: import("effect/Schema").String;
|
|
1428
|
-
readonly linkedAt: import("effect/Schema").String;
|
|
1429
|
-
readonly startedAt: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1430
|
-
readonly finishedAt: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1431
|
-
readonly durationMs: import("effect/Schema").optional<import("effect/Schema").Number>;
|
|
1585
|
+
readonly status: import("effect/Schema").Literals<readonly ["queued", "running", "ready", "failed", "cancelled", "stopped", "retained"]>;
|
|
1586
|
+
readonly completion: import("effect/Schema").optional<import("effect/Schema").Struct<{
|
|
1587
|
+
readonly outcome: import("effect/Schema").Literals<readonly ["accepted", "ignored"]>;
|
|
1588
|
+
readonly detail: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1432
1589
|
}>>;
|
|
1433
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./workspaces.js").WorkspaceBadRequestError | typeof import("./workspaces.js").WorkspaceNotFoundError | typeof import("./workspaces.js").WorkspaceInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"
|
|
1590
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./workspaces.js").WorkspaceBadRequestError | typeof import("./workspaces.js").WorkspaceNotFoundError | typeof import("./workspaces.js").WorkspaceConflictError | typeof import("./workspaces.js").WorkspaceBadGatewayError | typeof import("./workspaces.js").WorkspaceInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"recoverWorkspace", "POST", "/v1/workspaces/:workspaceId/recover", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
1434
1591
|
readonly workspaceId: import("effect/Schema").String;
|
|
1435
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
1592
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
1436
1593
|
readonly ownerUserId: import("effect/Schema").String;
|
|
1437
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").
|
|
1594
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
1438
1595
|
readonly workspaceId: import("effect/Schema").String;
|
|
1439
|
-
readonly
|
|
1440
|
-
readonly
|
|
1441
|
-
|
|
1442
|
-
readonly onBehalfOfUserId: import("effect/Schema").String;
|
|
1443
|
-
readonly accounts: import("effect/Schema").Struct<{
|
|
1444
|
-
readonly claude: import("effect/Schema").optional<import("effect/Schema").Struct<{
|
|
1445
|
-
readonly connectedAccountId: import("effect/Schema").String;
|
|
1446
|
-
readonly name: import("effect/Schema").String;
|
|
1447
|
-
}>>;
|
|
1448
|
-
readonly codex: import("effect/Schema").optional<import("effect/Schema").Struct<{
|
|
1449
|
-
readonly connectedAccountId: import("effect/Schema").String;
|
|
1450
|
-
readonly name: import("effect/Schema").String;
|
|
1451
|
-
}>>;
|
|
1452
|
-
readonly github: import("effect/Schema").optional<import("effect/Schema").Struct<{
|
|
1453
|
-
readonly connectedAccountId: import("effect/Schema").String;
|
|
1454
|
-
readonly name: import("effect/Schema").String;
|
|
1455
|
-
}>>;
|
|
1456
|
-
readonly pi: import("effect/Schema").optional<import("effect/Schema").Struct<{
|
|
1457
|
-
readonly connectedAccountId: import("effect/Schema").String;
|
|
1458
|
-
readonly name: import("effect/Schema").String;
|
|
1459
|
-
}>>;
|
|
1460
|
-
readonly opencode: import("effect/Schema").optional<import("effect/Schema").Struct<{
|
|
1461
|
-
readonly connectedAccountId: import("effect/Schema").String;
|
|
1462
|
-
readonly name: import("effect/Schema").String;
|
|
1463
|
-
}>>;
|
|
1464
|
-
}>;
|
|
1465
|
-
}>>;
|
|
1466
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./workspaces.js").WorkspaceForbiddenError | typeof import("./workspaces.js").WorkspaceNotFoundError | typeof import("./workspaces.js").WorkspaceConflictError | typeof import("./workspaces.js").WorkspaceInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"listWorkspaceEvents", "GET", "/v1/workspaces/:workspaceId/events", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
1596
|
+
readonly state: import("effect/Schema").Literals<readonly ["requested", "not-retained"]>;
|
|
1597
|
+
readonly recoverable: import("effect/Schema").optional<import("effect/Schema").Boolean>;
|
|
1598
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./workspaces.js").WorkspaceBadRequestError | typeof import("./workspaces.js").WorkspaceNotFoundError | typeof import("./workspaces.js").WorkspaceConflictError | typeof import("./workspaces.js").WorkspaceInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"restartWorkspace", "POST", "/v1/workspaces/:workspaceId/restart", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
1467
1599
|
readonly workspaceId: import("effect/Schema").String;
|
|
1468
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
1469
|
-
readonly ownerUserId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1470
|
-
readonly limit: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1471
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
1472
|
-
readonly items: import("effect/Schema").$Array<import("effect/Schema").Struct<{
|
|
1473
|
-
readonly eventId: import("effect/Schema").String;
|
|
1474
|
-
readonly workspaceId: import("effect/Schema").String;
|
|
1475
|
-
readonly attemptId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1476
|
-
readonly type: import("effect/Schema").Literals<readonly ["workspace.created", "attempt.queued", "attempt.running", "attempt.succeeded", "attempt.failed", "attempt.cancelled", "image.published", "runtime.pending", "runtime.running", "runtime.ready", "runtime.failed", "runtime.stopped"]>;
|
|
1477
|
-
readonly occurredAt: import("effect/Schema").String;
|
|
1478
|
-
readonly message: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1479
|
-
readonly data: import("effect/Schema").optional<import("effect/Schema").Unknown>;
|
|
1480
|
-
}>>;
|
|
1481
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./workspaces.js").WorkspaceBadRequestError | typeof import("./workspaces.js").WorkspaceNotFoundError | typeof import("./workspaces.js").WorkspaceInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"listWorkspaces", "GET", "/v1/workspaces/", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
1600
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
1482
1601
|
readonly ownerUserId: import("effect/Schema").String;
|
|
1483
|
-
|
|
1484
|
-
readonly
|
|
1485
|
-
readonly
|
|
1486
|
-
|
|
1487
|
-
|
|
1488
|
-
readonly workspaceId: import("effect/Schema").String;
|
|
1489
|
-
readonly name: import("effect/Schema").String;
|
|
1490
|
-
readonly ownerUserId: import("effect/Schema").String;
|
|
1491
|
-
readonly status: import("effect/Schema").Literals<readonly ["queued", "running", "ready", "failed", "cancelled", "stopped", "retained"]>;
|
|
1492
|
-
readonly registryId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1493
|
-
readonly repository: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1494
|
-
readonly tag: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1495
|
-
readonly runtime: import("effect/Schema").optional<import("effect/Schema").Struct<{
|
|
1496
|
-
readonly adapter: import("effect/Schema").Literals<readonly ["docker", "k8s", "k3s", "cloudflare", "microvm"]>;
|
|
1497
|
-
readonly resourceId: import("effect/Schema").String;
|
|
1498
|
-
readonly reference: import("effect/Schema").String;
|
|
1499
|
-
readonly status: import("effect/Schema").Literals<readonly ["pending", "running", "ready", "failed", "stopped", "retained"]>;
|
|
1500
|
-
readonly endpoint: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1501
|
-
readonly deadline: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").String>>;
|
|
1502
|
-
readonly runId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1503
|
-
readonly launchId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1504
|
-
}>>;
|
|
1505
|
-
readonly publishedImage: import("effect/Schema").optional<import("effect/Schema").Struct<{
|
|
1506
|
-
readonly reference: import("effect/Schema").String;
|
|
1507
|
-
readonly digestReference: import("effect/Schema").String;
|
|
1508
|
-
readonly digest: import("effect/Schema").String;
|
|
1509
|
-
readonly personLayout: import("effect/Schema").optional<import("effect/Schema").Struct<{
|
|
1510
|
-
readonly status: import("effect/Schema").Literals<readonly ["supported", "unsupported", "unknown"]>;
|
|
1511
|
-
readonly missing: import("effect/Schema").$Array<import("effect/Schema").String>;
|
|
1512
|
-
readonly unknown: import("effect/Schema").$Array<import("effect/Schema").String>;
|
|
1513
|
-
readonly runtime: import("effect/Schema").String;
|
|
1514
|
-
readonly acl: import("effect/Schema").Literals<readonly ["supported", "unsupported", "unknown"]>;
|
|
1515
|
-
}>>;
|
|
1516
|
-
}>>;
|
|
1517
|
-
readonly processUser: import("effect/Schema").optional<import("effect/Schema").Literals<readonly ["supported", "unsupported", "unknown"]>>;
|
|
1518
|
-
readonly error: import("effect/Schema").optional<import("effect/Schema").Struct<{
|
|
1519
|
-
readonly message: import("effect/Schema").String;
|
|
1520
|
-
readonly code: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1521
|
-
}>>;
|
|
1522
|
-
readonly phase: import("effect/Schema").optional<import("effect/Schema").Struct<{
|
|
1523
|
-
readonly name: import("effect/Schema").Literals<readonly ["queued", "image-build", "boot"]>;
|
|
1524
|
-
readonly since: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1525
|
-
readonly imageBuild: import("effect/Schema").optional<import("effect/Schema").Struct<{
|
|
1526
|
-
readonly step: import("effect/Schema").optional<import("effect/Schema").Int>;
|
|
1527
|
-
readonly steps: import("effect/Schema").optional<import("effect/Schema").Int>;
|
|
1528
|
-
readonly stepName: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1529
|
-
readonly progressAt: import("effect/Schema").String;
|
|
1530
|
-
readonly stallTimeoutMs: import("effect/Schema").optional<import("effect/Schema").Int>;
|
|
1531
|
-
}>>;
|
|
1532
|
-
}>>;
|
|
1533
|
-
readonly createdAt: import("effect/Schema").String;
|
|
1534
|
-
readonly updatedAt: import("effect/Schema").String;
|
|
1535
|
-
readonly startedAt: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1536
|
-
readonly finishedAt: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1537
|
-
readonly expiresAt: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1538
|
-
}>>;
|
|
1539
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./workspaces.js").WorkspaceBadRequestError | typeof import("./workspaces.js").WorkspaceInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"putWorkspaceCredentials", "POST", "/v1/workspaces/:workspaceId/credentials", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
1602
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
1603
|
+
readonly workspaceId: import("effect/Schema").String;
|
|
1604
|
+
readonly runId: import("effect/Schema").String;
|
|
1605
|
+
readonly status: import("effect/Schema").Literals<readonly ["queued", "running", "ready", "failed", "cancelled", "stopped", "retained"]>;
|
|
1606
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./budgets.ts").BudgetExceededError | typeof import("./workspaces.js").WorkspaceBadRequestError | typeof import("./workspaces.js").WorkspaceNotFoundError | typeof import("./workspaces.js").WorkspaceConflictError | typeof import("./workspaces.js").WorkspaceBadGatewayError | typeof import("./workspaces.js").WorkspaceInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"putWorkspaceCredentials", "POST", "/v1/workspaces/:workspaceId/credentials", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
1540
1607
|
readonly workspaceId: import("effect/Schema").String;
|
|
1541
1608
|
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
1542
1609
|
readonly ownerUserId: import("effect/Schema").String;
|
|
@@ -1584,89 +1651,22 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
1584
1651
|
readonly code: import("effect/Schema").Literals<readonly ["connected-account-missing", "connected-account-invalid", "connected-account-unsupported", "login-file-unusable"]>;
|
|
1585
1652
|
readonly message: import("effect/Schema").String;
|
|
1586
1653
|
}>>>;
|
|
1587
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./workspaces.js").WorkspaceBadRequestError | typeof import("./workspaces.js").WorkspaceForbiddenError | typeof import("./workspaces.js").WorkspaceNotFoundError | typeof import("./workspaces.js").WorkspaceConflictError | typeof import("./workspaces.js").WorkspaceBadGatewayError | typeof import("./workspaces.js").WorkspaceServiceUnavailableError | typeof import("./workspaces.js").WorkspaceInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"
|
|
1588
|
-
readonly workspaceId: import("effect/Schema").String;
|
|
1589
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
1590
|
-
readonly ownerUserId: import("effect/Schema").String;
|
|
1591
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
1592
|
-
readonly workspaceId: import("effect/Schema").String;
|
|
1593
|
-
readonly state: import("effect/Schema").Literals<readonly ["requested", "not-retained"]>;
|
|
1594
|
-
readonly recoverable: import("effect/Schema").optional<import("effect/Schema").Boolean>;
|
|
1595
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./workspaces.js").WorkspaceBadRequestError | typeof import("./workspaces.js").WorkspaceNotFoundError | typeof import("./workspaces.js").WorkspaceConflictError | typeof import("./workspaces.js").WorkspaceInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"releaseWorkspaceCredentials", "DELETE", "/v1/workspaces/:workspaceId/credentials", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
1596
|
-
readonly workspaceId: import("effect/Schema").String;
|
|
1597
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
1598
|
-
readonly ownerUserId: import("effect/Schema").String;
|
|
1599
|
-
readonly home: import("effect/Schema").String;
|
|
1600
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
1601
|
-
readonly workspaceId: import("effect/Schema").String;
|
|
1602
|
-
readonly runId: import("effect/Schema").String;
|
|
1603
|
-
readonly home: import("effect/Schema").String;
|
|
1604
|
-
readonly released: import("effect/Schema").Boolean;
|
|
1605
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./workspaces.js").WorkspaceBadRequestError | typeof import("./workspaces.js").WorkspaceForbiddenError | typeof import("./workspaces.js").WorkspaceNotFoundError | typeof import("./workspaces.js").WorkspaceConflictError | typeof import("./workspaces.js").WorkspaceBadGatewayError | typeof import("./workspaces.js").WorkspaceServiceUnavailableError | typeof import("./workspaces.js").WorkspaceInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"renameWorkspace", "PATCH", "/v1/workspaces/:workspaceId/name", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
1606
|
-
readonly workspaceId: import("effect/Schema").String;
|
|
1607
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
1608
|
-
readonly name: import("effect/Schema").String;
|
|
1609
|
-
readonly ownerUserId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1610
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
1611
|
-
readonly workspaceId: import("effect/Schema").String;
|
|
1612
|
-
readonly name: import("effect/Schema").String;
|
|
1613
|
-
readonly updatedAt: import("effect/Schema").String;
|
|
1614
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./workspaces.js").WorkspaceNotFoundError | typeof import("./workspaces.js").WorkspaceInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"replanWorkspaceCapture", "POST", "/v1/workspaces/:workspaceId/capture/replan", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
1615
|
-
readonly workspaceId: import("effect/Schema").String;
|
|
1616
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
1617
|
-
readonly ownerUserId: import("effect/Schema").String;
|
|
1618
|
-
readonly expectedOwnerMap: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").Struct<{
|
|
1619
|
-
readonly gid: import("effect/Schema").Number;
|
|
1620
|
-
readonly worktreeUid: import("effect/Schema").Number;
|
|
1621
|
-
readonly people: import("effect/Schema").$Array<import("effect/Schema").Struct<{
|
|
1622
|
-
readonly id: import("effect/Schema").String;
|
|
1623
|
-
readonly uid: import("effect/Schema").Number;
|
|
1624
|
-
}>>;
|
|
1625
|
-
}>>>;
|
|
1626
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
1627
|
-
readonly worktreeId: import("effect/Schema").String;
|
|
1628
|
-
readonly epoch: import("effect/Schema").Number;
|
|
1629
|
-
readonly headN: import("effect/Schema").optional<import("effect/Schema").Number>;
|
|
1630
|
-
readonly headCaptureId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1631
|
-
readonly filesWritten: import("effect/Schema").Number;
|
|
1632
|
-
readonly bytesWritten: import("effect/Schema").Number;
|
|
1633
|
-
readonly filesSkipped: import("effect/Schema").Number;
|
|
1634
|
-
readonly bytesSkipped: import("effect/Schema").Number;
|
|
1635
|
-
readonly removed: import("effect/Schema").Number;
|
|
1636
|
-
readonly unchanged: import("effect/Schema").Boolean;
|
|
1637
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./workspaces.js").WorkspaceBadRequestError | typeof import("./workspaces.js").WorkspaceNotFoundError | typeof import("./workspaces.js").WorkspaceConflictError | typeof import("./workspaces.js").WorkspaceInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"restartWorkspace", "POST", "/v1/workspaces/:workspaceId/restart", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
1654
|
+
}>>, 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<{
|
|
1638
1655
|
readonly workspaceId: import("effect/Schema").String;
|
|
1639
1656
|
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
1640
1657
|
readonly ownerUserId: import("effect/Schema").String;
|
|
1658
|
+
readonly ttlSeconds: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").Int>>;
|
|
1641
1659
|
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
1642
1660
|
readonly workspaceId: import("effect/Schema").String;
|
|
1643
|
-
readonly
|
|
1644
|
-
|
|
1645
|
-
|
|
1646
|
-
readonly workspaceId: import("effect/Schema").String;
|
|
1661
|
+
readonly expiresAt: import("effect/Schema").NullOr<import("effect/Schema").String>;
|
|
1662
|
+
}>>, 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<{
|
|
1663
|
+
readonly idempotencyKey: import("effect/Schema").String;
|
|
1647
1664
|
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
1648
1665
|
readonly ownerUserId: import("effect/Schema").String;
|
|
1649
|
-
readonly discardUnsaved: import("effect/Schema").optional<import("effect/Schema").Boolean>;
|
|
1650
|
-
readonly completion: import("effect/Schema").optional<import("effect/Schema").Struct<{
|
|
1651
|
-
readonly captureN: import("effect/Schema").Int;
|
|
1652
|
-
readonly epoch: import("effect/Schema").Int;
|
|
1653
|
-
readonly executorId: import("effect/Schema").String;
|
|
1654
|
-
readonly launchId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1655
|
-
readonly sealedAt: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1656
|
-
readonly origin: import("effect/Schema").optional<import("effect/Schema").Struct<{
|
|
1657
|
-
readonly epoch: import("effect/Schema").Int;
|
|
1658
|
-
readonly launch: import("effect/Schema").String;
|
|
1659
|
-
readonly bootId: import("effect/Schema").String;
|
|
1660
|
-
readonly bootGeneration: import("effect/Schema").Int;
|
|
1661
|
-
readonly observation: import("effect/Schema").Int;
|
|
1662
|
-
readonly headN: import("effect/Schema").optional<import("effect/Schema").Int>;
|
|
1663
|
-
}>>;
|
|
1664
|
-
}>>;
|
|
1665
1666
|
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
1666
|
-
readonly
|
|
1667
|
-
readonly
|
|
1668
|
-
readonly
|
|
1669
|
-
|
|
1670
|
-
|
|
1671
|
-
|
|
1672
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./workspaces.js").WorkspaceBadRequestError | typeof import("./workspaces.js").WorkspaceNotFoundError | typeof import("./workspaces.js").WorkspaceConflictError | typeof import("./workspaces.js").WorkspaceBadGatewayError | typeof import("./workspaces.js").WorkspaceInternalServerError>, RequestRefusal, never>, false>>;
|
|
1667
|
+
readonly idempotencyKey: import("effect/Schema").String;
|
|
1668
|
+
readonly state: import("effect/Schema").Literals<readonly ["pending", "found", "cancelled", "none"]>;
|
|
1669
|
+
readonly workspaceId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1670
|
+
readonly runId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1671
|
+
readonly launchId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1672
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./workspaces.js").WorkspaceBadRequestError | typeof import("./workspaces.js").WorkspaceInternalServerError>, RequestRefusal, never>, false>>;
|