@sealant/api-contracts-next 0.39.0-next.740 → 0.39.0-next.741
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 +483 -483
- 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<"revokeAccessToken", "POST", "/v1/access-tokens/:tokenId/revoke", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
4
|
+
readonly tokenId: import("effect/Schema").String;
|
|
5
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
6
|
+
readonly ownerUserId: import("effect/Schema").String;
|
|
7
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
8
|
+
readonly tokenId: import("effect/Schema").String;
|
|
9
|
+
readonly ownerUserId: import("effect/Schema").String;
|
|
10
|
+
readonly name: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
11
|
+
readonly scopes: import("effect/Schema").$Array<import("effect/Schema").Literals<readonly ["session:read", "session:input", "workspace:exec"]>>;
|
|
12
|
+
readonly workspaceId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
13
|
+
readonly expiresAt: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
14
|
+
readonly revokedAt: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
15
|
+
readonly createdAt: import("effect/Schema").String;
|
|
16
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./access-tokens.js").AccessTokenBadRequestError | typeof import("./access-tokens.js").AccessTokenNotFoundError | typeof import("./access-tokens.js").AccessTokenInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"createAccessToken", "POST", "/v1/access-tokens/", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
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>;
|
|
@@ -29,20 +42,7 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
29
42
|
readonly revokedAt: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
30
43
|
readonly createdAt: import("effect/Schema").String;
|
|
31
44
|
}>>;
|
|
32
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./access-tokens.js").AccessTokenBadRequestError | typeof import("./access-tokens.js").AccessTokenInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"
|
|
33
|
-
readonly tokenId: import("effect/Schema").String;
|
|
34
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
35
|
-
readonly ownerUserId: import("effect/Schema").String;
|
|
36
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
37
|
-
readonly tokenId: import("effect/Schema").String;
|
|
38
|
-
readonly ownerUserId: import("effect/Schema").String;
|
|
39
|
-
readonly name: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
40
|
-
readonly scopes: import("effect/Schema").$Array<import("effect/Schema").Literals<readonly ["session:read", "session:input", "workspace:exec"]>>;
|
|
41
|
-
readonly workspaceId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
42
|
-
readonly expiresAt: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
43
|
-
readonly revokedAt: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
44
|
-
readonly createdAt: import("effect/Schema").String;
|
|
45
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./access-tokens.js").AccessTokenBadRequestError | typeof import("./access-tokens.js").AccessTokenNotFoundError | typeof import("./access-tokens.js").AccessTokenInternalServerError>, RequestRefusal, never>, false> | import("effect/unstable/httpapi/HttpApiGroup").HttpApiGroup<"connectedAccounts", import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"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<{
|
|
45
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./access-tokens.js").AccessTokenBadRequestError | typeof import("./access-tokens.js").AccessTokenInternalServerError>, RequestRefusal, never>, false> | import("effect/unstable/httpapi/HttpApiGroup").HttpApiGroup<"connectedAccounts", import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"createConnectedAccount", "POST", "/v1/connected-accounts/", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
46
46
|
readonly ownerUserId: import("effect/Schema").String;
|
|
47
47
|
readonly provider: import("effect/Schema").Literals<readonly ["claude", "codex", "github"]>;
|
|
48
48
|
readonly name: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
@@ -65,33 +65,11 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
65
65
|
readonly lastRefreshAt: import("effect/Schema").NullOr<import("effect/Schema").String>;
|
|
66
66
|
readonly lastRefreshOutcome: import("effect/Schema").NullOr<import("effect/Schema").Literals<readonly ["refreshed", "fresh", "failed"]>>;
|
|
67
67
|
}>;
|
|
68
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./connected-accounts.js").ConnectedAccountBadRequestError | typeof import("./connected-accounts.js").ConnectedAccountNotFoundError | typeof import("./connected-accounts.js").ConnectedAccountConflictError | typeof import("./connected-accounts.js").ConnectedAccountServiceUnavailableError | typeof import("./connected-accounts.js").ConnectedAccountInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"
|
|
69
|
-
readonly ownerUserId: import("effect/Schema").String;
|
|
70
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
71
|
-
readonly items: import("effect/Schema").$Array<import("effect/Schema").Struct<{
|
|
72
|
-
readonly connectedAccountId: import("effect/Schema").String;
|
|
73
|
-
readonly ownerUserId: import("effect/Schema").String;
|
|
74
|
-
readonly provider: import("effect/Schema").Literals<readonly ["claude", "codex", "github"]>;
|
|
75
|
-
readonly name: import("effect/Schema").String;
|
|
76
|
-
readonly kind: import("effect/Schema").String;
|
|
77
|
-
readonly status: import("effect/Schema").Literals<readonly ["active", "invalid", "archived"]>;
|
|
78
|
-
readonly metadata: import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").Unknown>;
|
|
79
|
-
readonly connectedAt: import("effect/Schema").String;
|
|
80
|
-
readonly updatedAt: import("effect/Schema").String;
|
|
81
|
-
readonly lastUsedAt: import("effect/Schema").NullOr<import("effect/Schema").String>;
|
|
82
|
-
readonly lastSyncedAt: import("effect/Schema").NullOr<import("effect/Schema").String>;
|
|
83
|
-
readonly credential: import("effect/Schema").Struct<{
|
|
84
|
-
readonly accessExpiresAt: import("effect/Schema").NullOr<import("effect/Schema").String>;
|
|
85
|
-
readonly refreshExpiresAt: import("effect/Schema").NullOr<import("effect/Schema").String>;
|
|
86
|
-
readonly lastRefreshAt: import("effect/Schema").NullOr<import("effect/Schema").String>;
|
|
87
|
-
readonly lastRefreshOutcome: import("effect/Schema").NullOr<import("effect/Schema").Literals<readonly ["refreshed", "fresh", "failed"]>>;
|
|
88
|
-
}>;
|
|
89
|
-
}>>;
|
|
90
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./connected-accounts.js").ConnectedAccountInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"archiveConnectedAccount", "DELETE", "/v1/connected-accounts/:connectedAccountId", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
68
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./connected-accounts.js").ConnectedAccountBadRequestError | typeof import("./connected-accounts.js").ConnectedAccountNotFoundError | typeof import("./connected-accounts.js").ConnectedAccountConflictError | typeof import("./connected-accounts.js").ConnectedAccountServiceUnavailableError | typeof import("./connected-accounts.js").ConnectedAccountInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"markConnectedAccountInvalid", "POST", "/v1/connected-accounts/:connectedAccountId/mark-invalid", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
91
69
|
readonly connectedAccountId: import("effect/Schema").String;
|
|
92
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
70
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
93
71
|
readonly ownerUserId: import("effect/Schema").String;
|
|
94
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").
|
|
72
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
95
73
|
readonly connectedAccountId: import("effect/Schema").String;
|
|
96
74
|
readonly ownerUserId: import("effect/Schema").String;
|
|
97
75
|
readonly provider: import("effect/Schema").Literals<readonly ["claude", "codex", "github"]>;
|
|
@@ -109,11 +87,11 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
109
87
|
readonly lastRefreshAt: import("effect/Schema").NullOr<import("effect/Schema").String>;
|
|
110
88
|
readonly lastRefreshOutcome: import("effect/Schema").NullOr<import("effect/Schema").Literals<readonly ["refreshed", "fresh", "failed"]>>;
|
|
111
89
|
}>;
|
|
112
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./connected-accounts.js").ConnectedAccountNotFoundError | typeof import("./connected-accounts.js").ConnectedAccountInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"
|
|
90
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./connected-accounts.js").ConnectedAccountNotFoundError | typeof import("./connected-accounts.js").ConnectedAccountInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"archiveConnectedAccount", "DELETE", "/v1/connected-accounts/:connectedAccountId", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
113
91
|
readonly connectedAccountId: import("effect/Schema").String;
|
|
114
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<
|
|
92
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
115
93
|
readonly ownerUserId: import("effect/Schema").String;
|
|
116
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
94
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
117
95
|
readonly connectedAccountId: import("effect/Schema").String;
|
|
118
96
|
readonly ownerUserId: import("effect/Schema").String;
|
|
119
97
|
readonly provider: import("effect/Schema").Literals<readonly ["claude", "codex", "github"]>;
|
|
@@ -131,14 +109,29 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
131
109
|
readonly lastRefreshAt: import("effect/Schema").NullOr<import("effect/Schema").String>;
|
|
132
110
|
readonly lastRefreshOutcome: import("effect/Schema").NullOr<import("effect/Schema").Literals<readonly ["refreshed", "fresh", "failed"]>>;
|
|
133
111
|
}>;
|
|
134
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./connected-accounts.js").ConnectedAccountNotFoundError | typeof import("./connected-accounts.js").ConnectedAccountInternalServerError>, RequestRefusal, never
|
|
135
|
-
readonly
|
|
136
|
-
|
|
137
|
-
readonly
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
112
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./connected-accounts.js").ConnectedAccountNotFoundError | typeof import("./connected-accounts.js").ConnectedAccountInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"listConnectedAccounts", "GET", "/v1/connected-accounts/", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
113
|
+
readonly ownerUserId: import("effect/Schema").String;
|
|
114
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
115
|
+
readonly items: import("effect/Schema").$Array<import("effect/Schema").Struct<{
|
|
116
|
+
readonly connectedAccountId: import("effect/Schema").String;
|
|
117
|
+
readonly ownerUserId: import("effect/Schema").String;
|
|
118
|
+
readonly provider: import("effect/Schema").Literals<readonly ["claude", "codex", "github"]>;
|
|
119
|
+
readonly name: import("effect/Schema").String;
|
|
120
|
+
readonly kind: import("effect/Schema").String;
|
|
121
|
+
readonly status: import("effect/Schema").Literals<readonly ["active", "invalid", "archived"]>;
|
|
122
|
+
readonly metadata: import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").Unknown>;
|
|
123
|
+
readonly connectedAt: import("effect/Schema").String;
|
|
124
|
+
readonly updatedAt: import("effect/Schema").String;
|
|
125
|
+
readonly lastUsedAt: import("effect/Schema").NullOr<import("effect/Schema").String>;
|
|
126
|
+
readonly lastSyncedAt: import("effect/Schema").NullOr<import("effect/Schema").String>;
|
|
127
|
+
readonly credential: import("effect/Schema").Struct<{
|
|
128
|
+
readonly accessExpiresAt: import("effect/Schema").NullOr<import("effect/Schema").String>;
|
|
129
|
+
readonly refreshExpiresAt: import("effect/Schema").NullOr<import("effect/Schema").String>;
|
|
130
|
+
readonly lastRefreshAt: import("effect/Schema").NullOr<import("effect/Schema").String>;
|
|
131
|
+
readonly lastRefreshOutcome: import("effect/Schema").NullOr<import("effect/Schema").Literals<readonly ["refreshed", "fresh", "failed"]>>;
|
|
132
|
+
}>;
|
|
133
|
+
}>>;
|
|
134
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./connected-accounts.js").ConnectedAccountInternalServerError>, RequestRefusal, never>, false> | import("effect/unstable/httpapi/HttpApiGroup").HttpApiGroup<"github", import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"importInstallation", "POST", "/v1/github/installations/import", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
142
135
|
readonly userId: import("effect/Schema").String;
|
|
143
136
|
readonly externalInstallationId: import("effect/Schema").String;
|
|
144
137
|
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
@@ -153,7 +146,14 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
153
146
|
}>;
|
|
154
147
|
readonly syncedRepositoryCount: import("effect/Schema").Number;
|
|
155
148
|
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<"
|
|
149
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./github.js").GitHubNotFoundError | typeof import("./github.js").GitHubServiceUnavailableError | typeof import("./github.js").GitHubInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"handleWebhook", "POST", "/v1/github/webhooks", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").String>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
150
|
+
readonly "x-github-delivery": import("effect/Schema").optional<import("effect/Schema").String>;
|
|
151
|
+
readonly "x-github-event": import("effect/Schema").optional<import("effect/Schema").String>;
|
|
152
|
+
readonly "x-hub-signature-256": import("effect/Schema").optional<import("effect/Schema").String>;
|
|
153
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
154
|
+
readonly deliveryId: import("effect/Schema").String;
|
|
155
|
+
readonly status: import("effect/Schema").Literals<readonly ["received", "processed", "failed", "ignored"]>;
|
|
156
|
+
}>>, 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<"listInstallations", "GET", "/v1/github/installations", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
157
157
|
readonly userId: import("effect/Schema").String;
|
|
158
158
|
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
159
159
|
readonly items: import("effect/Schema").$Array<import("effect/Schema").Struct<{
|
|
@@ -165,15 +165,7 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
165
165
|
readonly repositorySelection: import("effect/Schema").Literals<readonly ["all", "selected"]>;
|
|
166
166
|
readonly lastSyncedAt: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
167
167
|
}>>;
|
|
168
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./github.js").GitHubServiceUnavailableError | typeof import("./github.js").GitHubInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"
|
|
169
|
-
readonly installationId: import("effect/Schema").String;
|
|
170
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
171
|
-
readonly userId: import("effect/Schema").String;
|
|
172
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
173
|
-
readonly installationId: import("effect/Schema").String;
|
|
174
|
-
readonly syncedRepositoryCount: import("effect/Schema").Number;
|
|
175
|
-
readonly syncedAt: import("effect/Schema").String;
|
|
176
|
-
}>>, 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<"listInstallationRepositories", "GET", "/v1/github/installations/:installationId/repositories", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
168
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./github.js").GitHubServiceUnavailableError | typeof import("./github.js").GitHubInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"listInstallationRepositories", "GET", "/v1/github/installations/:installationId/repositories", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
177
169
|
readonly installationId: import("effect/Schema").String;
|
|
178
170
|
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
179
171
|
readonly userId: import("effect/Schema").String;
|
|
@@ -192,6 +184,14 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
192
184
|
readonly isArchived: import("effect/Schema").Boolean;
|
|
193
185
|
readonly lastSyncedAt: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
194
186
|
}>>;
|
|
187
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./github.js").GitHubForbiddenError | typeof import("./github.js").GitHubNotFoundError | typeof import("./github.js").GitHubServiceUnavailableError | typeof import("./github.js").GitHubInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"syncInstallation", "POST", "/v1/github/installations/:installationId/sync", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
188
|
+
readonly installationId: import("effect/Schema").String;
|
|
189
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
190
|
+
readonly userId: import("effect/Schema").String;
|
|
191
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
192
|
+
readonly installationId: import("effect/Schema").String;
|
|
193
|
+
readonly syncedRepositoryCount: import("effect/Schema").Number;
|
|
194
|
+
readonly syncedAt: import("effect/Schema").String;
|
|
195
195
|
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./github.js").GitHubForbiddenError | typeof import("./github.js").GitHubNotFoundError | typeof import("./github.js").GitHubServiceUnavailableError | typeof import("./github.js").GitHubInternalServerError>, RequestRefusal, never>, false> | import("effect/unstable/httpapi/HttpApiGroup").HttpApiGroup<"inference", import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"respond", "POST", "/v1/inference/respond", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
196
196
|
readonly ownerUserId: import("effect/Schema").String;
|
|
197
197
|
readonly credentials: import("effect/Schema").optional<import("effect/Schema").Struct<{
|
|
@@ -285,21 +285,7 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
285
285
|
}>>;
|
|
286
286
|
readonly fetchedAt: import("effect/Schema").String;
|
|
287
287
|
readonly expiresAt: import("effect/Schema").String;
|
|
288
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./packages.js").PackagesBadGatewayError | typeof import("./packages.js").PackagesInternalServerError>, RequestRefusal, never>, false> | import("effect/unstable/httpapi/HttpApiGroup").HttpApiGroup<"profiles", import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"
|
|
289
|
-
readonly ownerUserId: import("effect/Schema").String;
|
|
290
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
291
|
-
readonly items: import("effect/Schema").$Array<import("effect/Schema").Struct<{
|
|
292
|
-
readonly profileId: import("effect/Schema").String;
|
|
293
|
-
readonly ownerUserId: import("effect/Schema").String;
|
|
294
|
-
readonly slug: import("effect/Schema").String;
|
|
295
|
-
readonly name: import("effect/Schema").String;
|
|
296
|
-
readonly description: import("effect/Schema").NullOr<import("effect/Schema").String>;
|
|
297
|
-
readonly status: import("effect/Schema").Literals<readonly ["active", "archived"]>;
|
|
298
|
-
readonly activeRevisionId: import("effect/Schema").NullOr<import("effect/Schema").String>;
|
|
299
|
-
readonly createdAt: import("effect/Schema").String;
|
|
300
|
-
readonly updatedAt: import("effect/Schema").String;
|
|
301
|
-
}>>;
|
|
302
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./profiles.js").ProfileInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"setProfileCredentialBinding", "PUT", "/v1/profiles/:profileId/credential-bindings", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
288
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./packages.js").PackagesBadGatewayError | typeof import("./packages.js").PackagesInternalServerError>, RequestRefusal, never>, false> | import("effect/unstable/httpapi/HttpApiGroup").HttpApiGroup<"profiles", import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"setProfileCredentialBinding", "PUT", "/v1/profiles/:profileId/credential-bindings", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
303
289
|
readonly profileId: import("effect/Schema").String;
|
|
304
290
|
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
305
291
|
readonly ownerUserId: import("effect/Schema").String;
|
|
@@ -330,7 +316,21 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
330
316
|
}>;
|
|
331
317
|
}>;
|
|
332
318
|
}>>;
|
|
333
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./profiles.js").ProfileBadRequestError | typeof import("./profiles.js").ProfileNotFoundError | typeof import("./profiles.js").ProfileConflictError | typeof import("./profiles.js").ProfileInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"
|
|
319
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./profiles.js").ProfileBadRequestError | typeof import("./profiles.js").ProfileNotFoundError | typeof import("./profiles.js").ProfileConflictError | typeof import("./profiles.js").ProfileInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"listProfiles", "GET", "/v1/profiles/", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
320
|
+
readonly ownerUserId: import("effect/Schema").String;
|
|
321
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
322
|
+
readonly items: import("effect/Schema").$Array<import("effect/Schema").Struct<{
|
|
323
|
+
readonly profileId: import("effect/Schema").String;
|
|
324
|
+
readonly ownerUserId: import("effect/Schema").String;
|
|
325
|
+
readonly slug: import("effect/Schema").String;
|
|
326
|
+
readonly name: import("effect/Schema").String;
|
|
327
|
+
readonly description: import("effect/Schema").NullOr<import("effect/Schema").String>;
|
|
328
|
+
readonly status: import("effect/Schema").Literals<readonly ["active", "archived"]>;
|
|
329
|
+
readonly activeRevisionId: import("effect/Schema").NullOr<import("effect/Schema").String>;
|
|
330
|
+
readonly createdAt: import("effect/Schema").String;
|
|
331
|
+
readonly updatedAt: import("effect/Schema").String;
|
|
332
|
+
}>>;
|
|
333
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./profiles.js").ProfileInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"listProfileCredentialBindings", "GET", "/v1/profiles/:profileId/credential-bindings", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
334
334
|
readonly profileId: import("effect/Schema").String;
|
|
335
335
|
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
336
336
|
readonly ownerUserId: import("effect/Schema").String;
|
|
@@ -436,39 +436,7 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
436
436
|
readonly recordDeletedAt: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
437
437
|
readonly createdAt: import("effect/Schema").String;
|
|
438
438
|
readonly updatedAt: import("effect/Schema").String;
|
|
439
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./budgets.ts").BudgetExceededError | typeof import("./runs.js").RunBadRequestError | typeof import("./runs.js").RunNotFoundError | typeof import("./runs.js").RunInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"
|
|
440
|
-
readonly workspaceId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
441
|
-
readonly ownerUserId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
442
|
-
readonly status: import("effect/Schema").optional<import("effect/Schema").Literals<readonly ["queued", "running", "completed", "failed", "cancelled"]>>;
|
|
443
|
-
readonly limit: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
444
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
445
|
-
readonly items: import("effect/Schema").$Array<import("effect/Schema").Struct<{
|
|
446
|
-
readonly runId: import("effect/Schema").String;
|
|
447
|
-
readonly workspaceId: import("effect/Schema").String;
|
|
448
|
-
readonly attemptId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
449
|
-
readonly ownerUserId: import("effect/Schema").String;
|
|
450
|
-
readonly harnessId: import("effect/Schema").String;
|
|
451
|
-
readonly mode: import("effect/Schema").Literals<readonly ["one-shot", "interactive"]>;
|
|
452
|
-
readonly status: import("effect/Schema").Literals<readonly ["queued", "running", "completed", "failed", "cancelled"]>;
|
|
453
|
-
readonly prompt: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
454
|
-
readonly command: import("effect/Schema").optional<import("effect/Schema").Struct<{
|
|
455
|
-
readonly executable: import("effect/Schema").String;
|
|
456
|
-
readonly args: import("effect/Schema").$Array<import("effect/Schema").String>;
|
|
457
|
-
readonly cwd: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
458
|
-
readonly argCount: import("effect/Schema").optional<import("effect/Schema").Number>;
|
|
459
|
-
readonly argLengths: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").Number>>;
|
|
460
|
-
}>>;
|
|
461
|
-
readonly metadata: import("effect/Schema").optional<import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").Unknown>>;
|
|
462
|
-
readonly user: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
463
|
-
readonly exitCode: import("effect/Schema").optional<import("effect/Schema").Number>;
|
|
464
|
-
readonly errorMessage: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
465
|
-
readonly startedAt: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
466
|
-
readonly finishedAt: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
467
|
-
readonly recordDeletedAt: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
468
|
-
readonly createdAt: import("effect/Schema").String;
|
|
469
|
-
readonly updatedAt: import("effect/Schema").String;
|
|
470
|
-
}>>;
|
|
471
|
-
}>>, 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<{
|
|
439
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./budgets.ts").BudgetExceededError | typeof import("./runs.js").RunBadRequestError | typeof import("./runs.js").RunNotFoundError | typeof import("./runs.js").RunInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"updateRun", "PATCH", "/v1/runs/:runId", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
472
440
|
readonly runId: import("effect/Schema").String;
|
|
473
441
|
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
474
442
|
readonly ownerUserId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
@@ -507,7 +475,39 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
507
475
|
readonly recordDeletedAt: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
508
476
|
readonly createdAt: import("effect/Schema").String;
|
|
509
477
|
readonly updatedAt: import("effect/Schema").String;
|
|
510
|
-
}>>, 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<"
|
|
478
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./runs.js").RunBadRequestError | typeof import("./runs.js").RunNotFoundError | typeof import("./runs.js").RunInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"listRuns", "GET", "/v1/runs/", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
479
|
+
readonly workspaceId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
480
|
+
readonly ownerUserId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
481
|
+
readonly status: import("effect/Schema").optional<import("effect/Schema").Literals<readonly ["queued", "running", "completed", "failed", "cancelled"]>>;
|
|
482
|
+
readonly limit: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
483
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
484
|
+
readonly items: import("effect/Schema").$Array<import("effect/Schema").Struct<{
|
|
485
|
+
readonly runId: import("effect/Schema").String;
|
|
486
|
+
readonly workspaceId: import("effect/Schema").String;
|
|
487
|
+
readonly attemptId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
488
|
+
readonly ownerUserId: import("effect/Schema").String;
|
|
489
|
+
readonly harnessId: import("effect/Schema").String;
|
|
490
|
+
readonly mode: import("effect/Schema").Literals<readonly ["one-shot", "interactive"]>;
|
|
491
|
+
readonly status: import("effect/Schema").Literals<readonly ["queued", "running", "completed", "failed", "cancelled"]>;
|
|
492
|
+
readonly prompt: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
493
|
+
readonly command: import("effect/Schema").optional<import("effect/Schema").Struct<{
|
|
494
|
+
readonly executable: import("effect/Schema").String;
|
|
495
|
+
readonly args: import("effect/Schema").$Array<import("effect/Schema").String>;
|
|
496
|
+
readonly cwd: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
497
|
+
readonly argCount: import("effect/Schema").optional<import("effect/Schema").Number>;
|
|
498
|
+
readonly argLengths: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").Number>>;
|
|
499
|
+
}>>;
|
|
500
|
+
readonly metadata: import("effect/Schema").optional<import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").Unknown>>;
|
|
501
|
+
readonly user: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
502
|
+
readonly exitCode: import("effect/Schema").optional<import("effect/Schema").Number>;
|
|
503
|
+
readonly errorMessage: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
504
|
+
readonly startedAt: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
505
|
+
readonly finishedAt: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
506
|
+
readonly recordDeletedAt: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
507
|
+
readonly createdAt: import("effect/Schema").String;
|
|
508
|
+
readonly updatedAt: import("effect/Schema").String;
|
|
509
|
+
}>>;
|
|
510
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./runs.js").RunBadRequestError | typeof import("./runs.js").RunInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"getRun", "GET", "/v1/runs/:runId", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
511
511
|
readonly runId: import("effect/Schema").String;
|
|
512
512
|
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
513
513
|
readonly ownerUserId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
@@ -536,40 +536,28 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
536
536
|
readonly recordDeletedAt: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
537
537
|
readonly createdAt: import("effect/Schema").String;
|
|
538
538
|
readonly updatedAt: import("effect/Schema").String;
|
|
539
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./budgets.ts").BudgetExceededError | typeof import("./runs.js").RunNotFoundError | typeof import("./runs.js").RunInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"
|
|
539
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./budgets.ts").BudgetExceededError | typeof import("./runs.js").RunNotFoundError | typeof import("./runs.js").RunInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"getRunEvent", "GET", "/v1/runs/:runId/events/:sequence", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
540
540
|
readonly runId: import("effect/Schema").String;
|
|
541
|
+
readonly sequence: import("effect/Schema").String;
|
|
541
542
|
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
542
543
|
readonly ownerUserId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
543
|
-
readonly fromSequence: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
544
|
-
readonly toSequence: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
545
|
-
readonly limit: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
546
|
-
readonly kinds: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
547
544
|
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
548
|
-
readonly
|
|
549
|
-
readonly eventId: import("effect/Schema").String;
|
|
550
|
-
readonly sequence: import("effect/Schema").String;
|
|
551
|
-
readonly kind: import("effect/Schema").String;
|
|
552
|
-
readonly occurredAt: import("effect/Schema").String;
|
|
553
|
-
readonly summary: import("effect/Schema").String;
|
|
554
|
-
readonly ref: import("effect/Schema").optional<import("effect/Schema").Unknown>;
|
|
555
|
-
readonly processId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
556
|
-
readonly captureMethod: import("effect/Schema").Number;
|
|
557
|
-
readonly confidence: import("effect/Schema").Number;
|
|
558
|
-
}>>;
|
|
559
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./runs.js").RunBadRequestError | typeof import("./runs.js").RunNotFoundError | typeof import("./runs.js").RunInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"getRunScrollback", "GET", "/v1/runs/:runId/scrollback", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
545
|
+
readonly eventId: import("effect/Schema").String;
|
|
560
546
|
readonly runId: import("effect/Schema").String;
|
|
561
|
-
|
|
562
|
-
readonly
|
|
563
|
-
readonly
|
|
564
|
-
readonly
|
|
565
|
-
readonly
|
|
566
|
-
readonly
|
|
567
|
-
readonly
|
|
568
|
-
|
|
569
|
-
readonly
|
|
570
|
-
readonly
|
|
571
|
-
readonly
|
|
572
|
-
readonly
|
|
547
|
+
readonly runtimeId: import("effect/Schema").String;
|
|
548
|
+
readonly executionId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
549
|
+
readonly sessionId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
550
|
+
readonly processId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
551
|
+
readonly requestId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
552
|
+
readonly schemaVersion: import("effect/Schema").Number;
|
|
553
|
+
readonly sequence: import("effect/Schema").String;
|
|
554
|
+
readonly observedAt: import("effect/Schema").String;
|
|
555
|
+
readonly monotonicTimestamp: import("effect/Schema").String;
|
|
556
|
+
readonly captureMethod: import("effect/Schema").Number;
|
|
557
|
+
readonly confidence: import("effect/Schema").Number;
|
|
558
|
+
readonly payloadCase: import("effect/Schema").String;
|
|
559
|
+
readonly payload: import("effect/Schema").Unknown;
|
|
560
|
+
readonly ingestedAt: import("effect/Schema").String;
|
|
573
561
|
}>>, 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<{
|
|
574
562
|
readonly runId: import("effect/Schema").String;
|
|
575
563
|
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
@@ -601,29 +589,67 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
601
589
|
readonly diff: import("effect/Schema").String;
|
|
602
590
|
readonly available: import("effect/Schema").optional<import("effect/Schema").Boolean>;
|
|
603
591
|
readonly unavailableReason: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
604
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./runs.js").RunNotFoundError | typeof import("./runs.js").RunInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"
|
|
592
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./runs.js").RunNotFoundError | typeof import("./runs.js").RunInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"getRunTimeline", "GET", "/v1/runs/:runId/timeline", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
605
593
|
readonly runId: import("effect/Schema").String;
|
|
606
|
-
readonly sequence: import("effect/Schema").String;
|
|
607
594
|
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
608
595
|
readonly ownerUserId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
596
|
+
readonly fromSequence: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
597
|
+
readonly toSequence: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
598
|
+
readonly limit: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
599
|
+
readonly kinds: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
609
600
|
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
610
|
-
readonly
|
|
601
|
+
readonly items: import("effect/Schema").$Array<import("effect/Schema").Struct<{
|
|
602
|
+
readonly eventId: import("effect/Schema").String;
|
|
603
|
+
readonly sequence: import("effect/Schema").String;
|
|
604
|
+
readonly kind: import("effect/Schema").String;
|
|
605
|
+
readonly occurredAt: import("effect/Schema").String;
|
|
606
|
+
readonly summary: import("effect/Schema").String;
|
|
607
|
+
readonly ref: import("effect/Schema").optional<import("effect/Schema").Unknown>;
|
|
608
|
+
readonly processId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
609
|
+
readonly captureMethod: import("effect/Schema").Number;
|
|
610
|
+
readonly confidence: import("effect/Schema").Number;
|
|
611
|
+
}>>;
|
|
612
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./runs.js").RunBadRequestError | typeof import("./runs.js").RunNotFoundError | typeof import("./runs.js").RunInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"getRunScrollback", "GET", "/v1/runs/:runId/scrollback", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
611
613
|
readonly runId: import("effect/Schema").String;
|
|
612
|
-
|
|
613
|
-
readonly
|
|
614
|
-
readonly
|
|
615
|
-
readonly
|
|
616
|
-
readonly
|
|
617
|
-
readonly
|
|
618
|
-
readonly
|
|
619
|
-
|
|
620
|
-
readonly
|
|
621
|
-
readonly
|
|
622
|
-
readonly
|
|
623
|
-
readonly
|
|
624
|
-
|
|
625
|
-
readonly
|
|
626
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").
|
|
614
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
615
|
+
readonly ownerUserId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
616
|
+
readonly processId: import("effect/Schema").String;
|
|
617
|
+
readonly stream: import("effect/Schema").Literals<readonly ["stdout", "stderr", "pty"]>;
|
|
618
|
+
readonly atSequence: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
619
|
+
readonly fromSequence: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
620
|
+
readonly limit: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
621
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
622
|
+
readonly processId: import("effect/Schema").String;
|
|
623
|
+
readonly stream: import("effect/Schema").Literals<readonly ["stdout", "stderr", "pty"]>;
|
|
624
|
+
readonly byteCount: import("effect/Schema").Number;
|
|
625
|
+
readonly contentBase64: import("effect/Schema").String;
|
|
626
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./runs.js").RunBadRequestError | typeof import("./runs.js").RunNotFoundError | typeof import("./runs.js").RunInternalServerError>, RequestRefusal, never>, false> | import("effect/unstable/httpapi/HttpApiGroup").HttpApiGroup<"sessions", import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"closeSession", "POST", "/v1/sessions/:sessionId/close", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
627
|
+
readonly sessionId: import("effect/Schema").String;
|
|
628
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
629
|
+
readonly ownerUserId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
630
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
631
|
+
readonly authorization: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
632
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
633
|
+
readonly sessionId: import("effect/Schema").String;
|
|
634
|
+
readonly workspaceId: import("effect/Schema").String;
|
|
635
|
+
readonly runId: import("effect/Schema").String;
|
|
636
|
+
readonly ownerUserId: import("effect/Schema").String;
|
|
637
|
+
readonly status: import("effect/Schema").Literals<readonly ["starting", "running", "exited", "failed"]>;
|
|
638
|
+
readonly argv: import("effect/Schema").$Array<import("effect/Schema").String>;
|
|
639
|
+
readonly argCount: import("effect/Schema").optional<import("effect/Schema").Number>;
|
|
640
|
+
readonly argLengths: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").Number>>;
|
|
641
|
+
readonly cwd: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
642
|
+
readonly cols: import("effect/Schema").Number;
|
|
643
|
+
readonly rows: import("effect/Schema").Number;
|
|
644
|
+
readonly mode: import("effect/Schema").optional<import("effect/Schema").Literals<readonly ["pty", "pipe"]>>;
|
|
645
|
+
readonly exitCode: import("effect/Schema").optional<import("effect/Schema").Number>;
|
|
646
|
+
readonly exitSignal: import("effect/Schema").optional<import("effect/Schema").Number>;
|
|
647
|
+
readonly errorMessage: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
648
|
+
readonly metadata: import("effect/Schema").optional<import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").Unknown>>;
|
|
649
|
+
readonly outputHighWater: import("effect/Schema").String;
|
|
650
|
+
readonly createdAt: import("effect/Schema").String;
|
|
651
|
+
readonly endedAt: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
652
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./sessions.js").SessionBadRequestError | typeof import("./sessions.js").SessionUnauthorizedError | typeof import("./sessions.js").SessionForbiddenError | typeof import("./sessions.js").SessionNotFoundError | typeof import("./sessions.js").SessionBadGatewayError | typeof import("./sessions.js").SessionInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"createSession", "POST", "/v1/sessions/", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
627
653
|
readonly workspaceId: import("effect/Schema").String;
|
|
628
654
|
readonly ownerUserId: import("effect/Schema").String;
|
|
629
655
|
readonly argv: import("effect/Schema").$Array<import("effect/Schema").String>;
|
|
@@ -691,6 +717,34 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
691
717
|
readonly outputHighWater: import("effect/Schema").String;
|
|
692
718
|
readonly createdAt: import("effect/Schema").String;
|
|
693
719
|
readonly endedAt: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
720
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./sessions.js").SessionBadRequestError | typeof import("./sessions.js").SessionUnauthorizedError | typeof import("./sessions.js").SessionForbiddenError | typeof import("./sessions.js").SessionNotFoundError | typeof import("./sessions.js").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
|
+
readonly sessionId: import("effect/Schema").String;
|
|
722
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
723
|
+
readonly ownerUserId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
724
|
+
readonly dataBase64: import("effect/Schema").String;
|
|
725
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
726
|
+
readonly authorization: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
727
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
728
|
+
readonly ok: import("effect/Schema").Boolean;
|
|
729
|
+
}>>, 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<{
|
|
730
|
+
readonly sessionId: import("effect/Schema").String;
|
|
731
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
732
|
+
readonly ownerUserId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
733
|
+
readonly cols: import("effect/Schema").Int;
|
|
734
|
+
readonly rows: import("effect/Schema").Int;
|
|
735
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
736
|
+
readonly authorization: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
737
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
738
|
+
readonly ok: import("effect/Schema").Boolean;
|
|
739
|
+
}>>, 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<{
|
|
740
|
+
readonly sessionId: import("effect/Schema").String;
|
|
741
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
742
|
+
readonly ownerUserId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
743
|
+
readonly signal: import("effect/Schema").Int;
|
|
744
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
745
|
+
readonly authorization: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
746
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
747
|
+
readonly ok: import("effect/Schema").Boolean;
|
|
694
748
|
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./sessions.js").SessionBadRequestError | typeof import("./sessions.js").SessionUnauthorizedError | typeof import("./sessions.js").SessionForbiddenError | typeof import("./sessions.js").SessionNotFoundError | typeof import("./sessions.js").SessionConflictError | typeof import("./sessions.js").SessionBadGatewayError | typeof import("./sessions.js").SessionInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"listSessions", "GET", "/v1/sessions/", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
695
749
|
readonly ownerUserId: import("effect/Schema").String;
|
|
696
750
|
readonly workspaceId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
@@ -720,61 +774,23 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
720
774
|
readonly createdAt: import("effect/Schema").String;
|
|
721
775
|
readonly endedAt: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
722
776
|
}>>;
|
|
723
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./sessions.js").SessionBadRequestError | typeof import("./sessions.js").SessionUnauthorizedError | typeof import("./sessions.js").SessionForbiddenError | typeof import("./sessions.js").SessionInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"
|
|
777
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./sessions.js").SessionBadRequestError | typeof import("./sessions.js").SessionUnauthorizedError | typeof import("./sessions.js").SessionForbiddenError | typeof import("./sessions.js").SessionInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"getSessionOutput", "GET", "/v1/sessions/:sessionId/output", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
724
778
|
readonly sessionId: import("effect/Schema").String;
|
|
725
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
726
|
-
readonly ownerUserId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
727
|
-
readonly dataBase64: import("effect/Schema").String;
|
|
728
779
|
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
729
|
-
readonly authorization: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
730
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
731
|
-
readonly ok: import("effect/Schema").Boolean;
|
|
732
|
-
}>>, 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<{
|
|
733
|
-
readonly sessionId: import("effect/Schema").String;
|
|
734
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
735
780
|
readonly ownerUserId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
736
|
-
readonly
|
|
737
|
-
readonly
|
|
738
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
739
|
-
readonly authorization: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
740
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
741
|
-
readonly ok: import("effect/Schema").Boolean;
|
|
742
|
-
}>>, 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<{
|
|
743
|
-
readonly sessionId: import("effect/Schema").String;
|
|
744
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
745
|
-
readonly ownerUserId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
746
|
-
readonly signal: import("effect/Schema").Int;
|
|
747
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
748
|
-
readonly authorization: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
749
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
750
|
-
readonly ok: import("effect/Schema").Boolean;
|
|
751
|
-
}>>, 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<{
|
|
752
|
-
readonly sessionId: import("effect/Schema").String;
|
|
753
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
754
|
-
readonly ownerUserId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
755
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
781
|
+
readonly from: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
782
|
+
readonly limit: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
783
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
756
784
|
readonly authorization: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
757
785
|
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
758
786
|
readonly sessionId: import("effect/Schema").String;
|
|
759
|
-
readonly
|
|
760
|
-
|
|
761
|
-
|
|
787
|
+
readonly chunks: import("effect/Schema").$Array<import("effect/Schema").Struct<{
|
|
788
|
+
readonly sequence: import("effect/Schema").String;
|
|
789
|
+
readonly dataBase64: import("effect/Schema").String;
|
|
790
|
+
}>>;
|
|
791
|
+
readonly nextFrom: import("effect/Schema").String;
|
|
762
792
|
readonly status: import("effect/Schema").Literals<readonly ["starting", "running", "exited", "failed"]>;
|
|
763
|
-
|
|
764
|
-
readonly argCount: import("effect/Schema").optional<import("effect/Schema").Number>;
|
|
765
|
-
readonly argLengths: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").Number>>;
|
|
766
|
-
readonly cwd: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
767
|
-
readonly cols: import("effect/Schema").Number;
|
|
768
|
-
readonly rows: import("effect/Schema").Number;
|
|
769
|
-
readonly mode: import("effect/Schema").optional<import("effect/Schema").Literals<readonly ["pty", "pipe"]>>;
|
|
770
|
-
readonly exitCode: import("effect/Schema").optional<import("effect/Schema").Number>;
|
|
771
|
-
readonly exitSignal: import("effect/Schema").optional<import("effect/Schema").Number>;
|
|
772
|
-
readonly errorMessage: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
773
|
-
readonly metadata: import("effect/Schema").optional<import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").Unknown>>;
|
|
774
|
-
readonly outputHighWater: import("effect/Schema").String;
|
|
775
|
-
readonly createdAt: import("effect/Schema").String;
|
|
776
|
-
readonly endedAt: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
777
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./sessions.js").SessionBadRequestError | typeof import("./sessions.js").SessionUnauthorizedError | typeof import("./sessions.js").SessionForbiddenError | typeof import("./sessions.js").SessionNotFoundError | typeof import("./sessions.js").SessionBadGatewayError | typeof import("./sessions.js").SessionInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"getSession", "GET", "/v1/sessions/:sessionId", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
793
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./sessions.js").SessionBadRequestError | typeof import("./sessions.js").SessionUnauthorizedError | typeof import("./sessions.js").SessionForbiddenError | typeof import("./sessions.js").SessionNotFoundError | typeof import("./sessions.js").SessionInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"getSession", "GET", "/v1/sessions/:sessionId", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
778
794
|
readonly sessionId: import("effect/Schema").String;
|
|
779
795
|
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
780
796
|
readonly ownerUserId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
@@ -800,22 +816,6 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
800
816
|
readonly outputHighWater: import("effect/Schema").String;
|
|
801
817
|
readonly createdAt: import("effect/Schema").String;
|
|
802
818
|
readonly endedAt: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
803
|
-
}>>, 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<{
|
|
804
|
-
readonly sessionId: import("effect/Schema").String;
|
|
805
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
806
|
-
readonly ownerUserId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
807
|
-
readonly from: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
808
|
-
readonly limit: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
809
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
810
|
-
readonly authorization: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
811
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
812
|
-
readonly sessionId: import("effect/Schema").String;
|
|
813
|
-
readonly chunks: import("effect/Schema").$Array<import("effect/Schema").Struct<{
|
|
814
|
-
readonly sequence: import("effect/Schema").String;
|
|
815
|
-
readonly dataBase64: import("effect/Schema").String;
|
|
816
|
-
}>>;
|
|
817
|
-
readonly nextFrom: import("effect/Schema").String;
|
|
818
|
-
readonly status: import("effect/Schema").Literals<readonly ["starting", "running", "exited", "failed"]>;
|
|
819
819
|
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./sessions.js").SessionBadRequestError | typeof import("./sessions.js").SessionUnauthorizedError | typeof import("./sessions.js").SessionForbiddenError | typeof import("./sessions.js").SessionNotFoundError | typeof import("./sessions.js").SessionInternalServerError>, RequestRefusal, never>, false> | import("effect/unstable/httpapi/HttpApiGroup").HttpApiGroup<"sshKeys", import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"createSshKey", "POST", "/v1/ssh-keys/", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
820
820
|
readonly ownerUserId: import("effect/Schema").String;
|
|
821
821
|
readonly name: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
@@ -836,18 +836,7 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
836
836
|
readonly principalId: import("effect/Schema").String;
|
|
837
837
|
readonly sshKeyId: import("effect/Schema").String;
|
|
838
838
|
readonly fingerprint: import("effect/Schema").String;
|
|
839
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./ssh-keys.js").SshKeyUnauthorizedError | typeof import("./ssh-keys.js").SshKeyNotFoundError | typeof import("./ssh-keys.js").SshKeyServiceUnavailableError | typeof import("./ssh-keys.js").SshKeyInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"
|
|
840
|
-
readonly ownerUserId: import("effect/Schema").String;
|
|
841
|
-
}>>, 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 items: import("effect/Schema").$Array<import("effect/Schema").Struct<{
|
|
843
|
-
readonly sshKeyId: import("effect/Schema").String;
|
|
844
|
-
readonly ownerUserId: import("effect/Schema").String;
|
|
845
|
-
readonly name: import("effect/Schema").String;
|
|
846
|
-
readonly algorithm: import("effect/Schema").String;
|
|
847
|
-
readonly fingerprint: import("effect/Schema").String;
|
|
848
|
-
readonly createdAt: import("effect/Schema").String;
|
|
849
|
-
}>>;
|
|
850
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./ssh-keys.js").SshKeyInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"archiveSshKey", "DELETE", "/v1/ssh-keys/:sshKeyId", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
839
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./ssh-keys.js").SshKeyUnauthorizedError | typeof import("./ssh-keys.js").SshKeyNotFoundError | typeof import("./ssh-keys.js").SshKeyServiceUnavailableError | typeof import("./ssh-keys.js").SshKeyInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"archiveSshKey", "DELETE", "/v1/ssh-keys/:sshKeyId", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
851
840
|
readonly sshKeyId: import("effect/Schema").String;
|
|
852
841
|
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
853
842
|
readonly ownerUserId: import("effect/Schema").String;
|
|
@@ -858,7 +847,18 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
858
847
|
readonly algorithm: import("effect/Schema").String;
|
|
859
848
|
readonly fingerprint: import("effect/Schema").String;
|
|
860
849
|
readonly createdAt: import("effect/Schema").String;
|
|
861
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./ssh-keys.js").SshKeyNotFoundError | typeof import("./ssh-keys.js").SshKeyInternalServerError>, RequestRefusal, never
|
|
850
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./ssh-keys.js").SshKeyNotFoundError | typeof import("./ssh-keys.js").SshKeyInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"listSshKeys", "GET", "/v1/ssh-keys/", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
851
|
+
readonly ownerUserId: import("effect/Schema").String;
|
|
852
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
853
|
+
readonly items: import("effect/Schema").$Array<import("effect/Schema").Struct<{
|
|
854
|
+
readonly sshKeyId: import("effect/Schema").String;
|
|
855
|
+
readonly ownerUserId: import("effect/Schema").String;
|
|
856
|
+
readonly name: import("effect/Schema").String;
|
|
857
|
+
readonly algorithm: import("effect/Schema").String;
|
|
858
|
+
readonly fingerprint: import("effect/Schema").String;
|
|
859
|
+
readonly createdAt: import("effect/Schema").String;
|
|
860
|
+
}>>;
|
|
861
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./ssh-keys.js").SshKeyInternalServerError>, RequestRefusal, never>, false> | import("effect/unstable/httpapi/HttpApiGroup").HttpApiGroup<"system", import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"getIndex", "GET", "/", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
862
862
|
readonly name: import("effect/Schema").String;
|
|
863
863
|
readonly version: import("effect/Schema").String;
|
|
864
864
|
readonly docsPath: import("effect/Schema").String;
|
|
@@ -885,7 +885,14 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
885
885
|
readonly port: import("effect/Schema").Number;
|
|
886
886
|
readonly usernamePrefix: import("effect/Schema").String;
|
|
887
887
|
}>>;
|
|
888
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./system.js").SystemInternalServerError>, RequestRefusal, never>, false> | import("effect/unstable/httpapi/HttpApiGroup").HttpApiGroup<"users", import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"
|
|
888
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./system.js").SystemInternalServerError>, RequestRefusal, never>, false> | import("effect/unstable/httpapi/HttpApiGroup").HttpApiGroup<"users", import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"getUser", "GET", "/v1/users/:userId", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
889
|
+
readonly userId: import("effect/Schema").String;
|
|
890
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
891
|
+
readonly userId: import("effect/Schema").String;
|
|
892
|
+
readonly email: import("effect/Schema").String;
|
|
893
|
+
readonly name: import("effect/Schema").String;
|
|
894
|
+
readonly createdAt: import("effect/Schema").String;
|
|
895
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./users.js").UserNotFoundError | typeof import("./users.js").UserInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"ensureUser", "POST", "/v1/users/", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
889
896
|
readonly email: import("effect/Schema").String;
|
|
890
897
|
readonly name: import("effect/Schema").String;
|
|
891
898
|
readonly userId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
@@ -909,176 +916,27 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
909
916
|
readonly home: import("effect/Schema").String;
|
|
910
917
|
}>;
|
|
911
918
|
readonly created: import("effect/Schema").Boolean;
|
|
912
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./users.js").UserPersonConflictError | typeof import("./users.js").UserBadRequestError | typeof import("./users.js").UserNotFoundError | typeof import("./users.js").UserInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"
|
|
913
|
-
readonly userId: import("effect/Schema").String;
|
|
914
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
915
|
-
readonly userId: import("effect/Schema").String;
|
|
916
|
-
readonly email: import("effect/Schema").String;
|
|
917
|
-
readonly name: import("effect/Schema").String;
|
|
918
|
-
readonly createdAt: import("effect/Schema").String;
|
|
919
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./users.js").UserNotFoundError | typeof import("./users.js").UserInternalServerError>, RequestRefusal, never>, false> | import("effect/unstable/httpapi/HttpApiGroup").HttpApiGroup<"workspaces", import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"createWorkspace", "POST", "/v1/workspaces/", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
920
|
-
readonly ownerUserId: import("effect/Schema").String;
|
|
921
|
-
readonly registryId: import("effect/Schema").String;
|
|
922
|
-
readonly repository: import("effect/Schema").String;
|
|
923
|
-
readonly tag: import("effect/Schema").String;
|
|
924
|
-
readonly name: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
925
|
-
readonly sourceSelection: import("effect/Schema").optional<import("effect/Schema").Struct<{
|
|
926
|
-
readonly provider: import("effect/Schema").Literal<"github">;
|
|
927
|
-
readonly installationId: import("effect/Schema").String;
|
|
928
|
-
readonly installationRepositoryId: import("effect/Schema").String;
|
|
929
|
-
readonly ref: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
930
|
-
}>>;
|
|
931
|
-
readonly dotfilesSelection: import("effect/Schema").optional<import("effect/Schema").Struct<{
|
|
932
|
-
readonly provider: import("effect/Schema").Literal<"github">;
|
|
933
|
-
readonly installationId: import("effect/Schema").String;
|
|
934
|
-
readonly installationRepositoryId: import("effect/Schema").String;
|
|
935
|
-
readonly ref: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
936
|
-
}>>;
|
|
937
|
-
readonly credentials: import("effect/Schema").optional<import("effect/Schema").Struct<{
|
|
938
|
-
readonly profileId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
939
|
-
readonly claude: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
940
|
-
readonly codex: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
941
|
-
readonly github: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
942
|
-
}>>;
|
|
943
|
-
readonly spec: import("effect/Schema").Unknown;
|
|
944
|
-
readonly secretEnv: import("effect/Schema").optional<import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").String>>;
|
|
945
|
-
readonly captureToken: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
946
|
-
readonly ttlSeconds: import("effect/Schema").optional<import("effect/Schema").Int>;
|
|
947
|
-
readonly idempotencyKey: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
948
|
-
readonly launchId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
949
|
-
readonly sshAsOwner: import("effect/Schema").optional<import("effect/Schema").Boolean>;
|
|
950
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
951
|
-
readonly "idempotency-key": import("effect/Schema").optional<import("effect/Schema").String>;
|
|
952
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
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<"applyWorkspaceDotfiles", "POST", "/v1/workspaces/:workspaceId/dotfiles", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
953
920
|
readonly workspaceId: import("effect/Schema").String;
|
|
954
|
-
readonly name: import("effect/Schema").String;
|
|
955
|
-
readonly status: import("effect/Schema").Literals<readonly ["queued", "running", "ready", "failed", "cancelled", "stopped", "retained"]>;
|
|
956
|
-
readonly registryId: import("effect/Schema").String;
|
|
957
|
-
readonly repository: import("effect/Schema").String;
|
|
958
|
-
readonly tag: import("effect/Schema").String;
|
|
959
|
-
readonly runId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
960
|
-
readonly runtime: import("effect/Schema").optional<import("effect/Schema").Struct<{
|
|
961
|
-
readonly adapter: import("effect/Schema").Literals<readonly ["docker", "k8s", "k3s", "cloudflare", "microvm"]>;
|
|
962
|
-
readonly resourceId: import("effect/Schema").String;
|
|
963
|
-
readonly reference: import("effect/Schema").String;
|
|
964
|
-
readonly status: import("effect/Schema").Literals<readonly ["pending", "running", "ready", "failed", "stopped", "retained"]>;
|
|
965
|
-
readonly endpoint: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
966
|
-
readonly deadline: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").String>>;
|
|
967
|
-
readonly runId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
968
|
-
readonly launchId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
969
|
-
}>>;
|
|
970
|
-
readonly replayed: import("effect/Schema").optional<import("effect/Schema").Boolean>;
|
|
971
|
-
readonly launchId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
972
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./budgets.ts").BudgetExceededError | typeof import("./workspaces.js").WorkspaceBadRequestError | typeof import("./workspaces.js").WorkspaceRuntimeEnvReferencesUnsupportedError | typeof import("./workspaces.js").WorkspaceDockerServiceUnsupportedError | typeof import("./workspaces.js").WorkspaceSshOwnerRefusedError | typeof import("./workspaces.js").WorkspaceForbiddenError | typeof import("./workspaces.js").WorkspaceNotFoundError | typeof import("./workspaces.js").WorkspaceConflictError | typeof import("./workspaces.js").WorkspaceBadGatewayError | typeof import("./workspaces.js").WorkspaceServiceUnavailableError | typeof import("./workspaces.js").WorkspaceInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"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<{
|
|
973
|
-
readonly ownerUserId: import("effect/Schema").String;
|
|
974
|
-
readonly registryId: import("effect/Schema").String;
|
|
975
|
-
readonly spec: import("effect/Schema").Unknown;
|
|
976
921
|
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
977
|
-
readonly planHash: import("effect/Schema").String;
|
|
978
|
-
readonly publishedImage: import("effect/Schema").optional<import("effect/Schema").Struct<{
|
|
979
|
-
readonly reference: import("effect/Schema").String;
|
|
980
|
-
readonly digestReference: import("effect/Schema").String;
|
|
981
|
-
readonly digest: import("effect/Schema").String;
|
|
982
|
-
readonly personLayout: import("effect/Schema").optional<import("effect/Schema").Struct<{
|
|
983
|
-
readonly status: import("effect/Schema").Literals<readonly ["supported", "unsupported", "unknown"]>;
|
|
984
|
-
readonly missing: import("effect/Schema").$Array<import("effect/Schema").String>;
|
|
985
|
-
readonly unknown: import("effect/Schema").$Array<import("effect/Schema").String>;
|
|
986
|
-
readonly runtime: import("effect/Schema").String;
|
|
987
|
-
readonly acl: import("effect/Schema").Literals<readonly ["supported", "unsupported", "unknown"]>;
|
|
988
|
-
}>>;
|
|
989
|
-
}>>;
|
|
990
|
-
readonly personLayout: import("effect/Schema").Struct<{
|
|
991
|
-
readonly status: import("effect/Schema").Literals<readonly ["supported", "unsupported", "unknown"]>;
|
|
992
|
-
readonly missing: import("effect/Schema").$Array<import("effect/Schema").String>;
|
|
993
|
-
readonly unknown: import("effect/Schema").$Array<import("effect/Schema").String>;
|
|
994
|
-
readonly runtime: import("effect/Schema").String;
|
|
995
|
-
readonly acl: import("effect/Schema").Literals<readonly ["supported", "unsupported", "unknown"]>;
|
|
996
|
-
}>;
|
|
997
|
-
}>>, 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<{
|
|
998
922
|
readonly ownerUserId: import("effect/Schema").String;
|
|
999
|
-
readonly
|
|
1000
|
-
readonly
|
|
1001
|
-
readonly idempotencyKey: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1002
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
1003
|
-
readonly items: import("effect/Schema").$Array<import("effect/Schema").Struct<{
|
|
1004
|
-
readonly workspaceId: import("effect/Schema").String;
|
|
1005
|
-
readonly name: import("effect/Schema").String;
|
|
1006
|
-
readonly ownerUserId: import("effect/Schema").String;
|
|
1007
|
-
readonly status: import("effect/Schema").Literals<readonly ["queued", "running", "ready", "failed", "cancelled", "stopped", "retained"]>;
|
|
1008
|
-
readonly registryId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1009
|
-
readonly repository: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1010
|
-
readonly tag: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1011
|
-
readonly runtime: import("effect/Schema").optional<import("effect/Schema").Struct<{
|
|
1012
|
-
readonly adapter: import("effect/Schema").Literals<readonly ["docker", "k8s", "k3s", "cloudflare", "microvm"]>;
|
|
1013
|
-
readonly resourceId: import("effect/Schema").String;
|
|
1014
|
-
readonly reference: import("effect/Schema").String;
|
|
1015
|
-
readonly status: import("effect/Schema").Literals<readonly ["pending", "running", "ready", "failed", "stopped", "retained"]>;
|
|
1016
|
-
readonly endpoint: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1017
|
-
readonly deadline: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").String>>;
|
|
1018
|
-
readonly runId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1019
|
-
readonly launchId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1020
|
-
}>>;
|
|
1021
|
-
readonly publishedImage: import("effect/Schema").optional<import("effect/Schema").Struct<{
|
|
1022
|
-
readonly reference: import("effect/Schema").String;
|
|
1023
|
-
readonly digestReference: import("effect/Schema").String;
|
|
1024
|
-
readonly digest: import("effect/Schema").String;
|
|
1025
|
-
readonly personLayout: import("effect/Schema").optional<import("effect/Schema").Struct<{
|
|
1026
|
-
readonly status: import("effect/Schema").Literals<readonly ["supported", "unsupported", "unknown"]>;
|
|
1027
|
-
readonly missing: import("effect/Schema").$Array<import("effect/Schema").String>;
|
|
1028
|
-
readonly unknown: import("effect/Schema").$Array<import("effect/Schema").String>;
|
|
1029
|
-
readonly runtime: import("effect/Schema").String;
|
|
1030
|
-
readonly acl: import("effect/Schema").Literals<readonly ["supported", "unsupported", "unknown"]>;
|
|
1031
|
-
}>>;
|
|
1032
|
-
}>>;
|
|
1033
|
-
readonly processUser: import("effect/Schema").optional<import("effect/Schema").Literals<readonly ["supported", "unsupported", "unknown"]>>;
|
|
1034
|
-
readonly error: import("effect/Schema").optional<import("effect/Schema").Struct<{
|
|
1035
|
-
readonly message: import("effect/Schema").String;
|
|
1036
|
-
readonly code: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1037
|
-
}>>;
|
|
1038
|
-
readonly phase: import("effect/Schema").optional<import("effect/Schema").Struct<{
|
|
1039
|
-
readonly name: import("effect/Schema").Literals<readonly ["queued", "image-build", "boot"]>;
|
|
1040
|
-
readonly since: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1041
|
-
readonly imageBuild: import("effect/Schema").optional<import("effect/Schema").Struct<{
|
|
1042
|
-
readonly step: import("effect/Schema").optional<import("effect/Schema").Int>;
|
|
1043
|
-
readonly steps: import("effect/Schema").optional<import("effect/Schema").Int>;
|
|
1044
|
-
readonly stepName: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1045
|
-
readonly progressAt: import("effect/Schema").String;
|
|
1046
|
-
readonly stallTimeoutMs: import("effect/Schema").optional<import("effect/Schema").Int>;
|
|
1047
|
-
}>>;
|
|
1048
|
-
}>>;
|
|
1049
|
-
readonly createdAt: import("effect/Schema").String;
|
|
1050
|
-
readonly updatedAt: import("effect/Schema").String;
|
|
1051
|
-
readonly startedAt: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1052
|
-
readonly finishedAt: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1053
|
-
readonly expiresAt: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1054
|
-
}>>;
|
|
1055
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./workspaces.js").WorkspaceBadRequestError | 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<{
|
|
1056
|
-
readonly workspaceId: import("effect/Schema").String;
|
|
1057
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
1058
|
-
readonly ownerUserId: import("effect/Schema").String;
|
|
1059
|
-
readonly home: import("effect/Schema").String;
|
|
1060
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
1061
|
-
readonly workspaceId: import("effect/Schema").String;
|
|
1062
|
-
readonly runId: import("effect/Schema").String;
|
|
923
|
+
readonly onBehalfOfUserId: import("effect/Schema").String;
|
|
924
|
+
readonly user: import("effect/Schema").String;
|
|
1063
925
|
readonly home: import("effect/Schema").String;
|
|
1064
|
-
readonly
|
|
1065
|
-
|
|
1066
|
-
|
|
1067
|
-
|
|
1068
|
-
|
|
1069
|
-
|
|
1070
|
-
readonly workspaceId: import("effect/Schema").String;
|
|
1071
|
-
readonly sshUser: import("effect/Schema").Null;
|
|
1072
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<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<{
|
|
1073
|
-
readonly workspaceId: import("effect/Schema").String;
|
|
1074
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
1075
|
-
readonly ownerUserId: import("effect/Schema").String;
|
|
1076
|
-
readonly commands: import("effect/Schema").$Array<import("effect/Schema").Struct<{
|
|
1077
|
-
readonly executable: import("effect/Schema").String;
|
|
1078
|
-
readonly args: import("effect/Schema").$Array<import("effect/Schema").String>;
|
|
1079
|
-
readonly cwd: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
926
|
+
readonly repository: import("effect/Schema").optional<import("effect/Schema").Struct<{
|
|
927
|
+
readonly url: import("effect/Schema").String;
|
|
928
|
+
readonly ref: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
929
|
+
readonly manager: import("effect/Schema").optional<import("effect/Schema").Literals<readonly ["auto", "chezmoi", "stow", "copy"]>>;
|
|
930
|
+
readonly bootstrap: import("effect/Schema").optional<import("effect/Schema").Boolean>;
|
|
931
|
+
readonly bootstrapCommand: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1080
932
|
}>>;
|
|
1081
|
-
readonly
|
|
933
|
+
readonly archives: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").Struct<{
|
|
934
|
+
readonly data: import("effect/Schema").String;
|
|
935
|
+
readonly manager: import("effect/Schema").optional<import("effect/Schema").Literals<readonly ["auto", "chezmoi", "stow", "copy"]>>;
|
|
936
|
+
readonly target: import("effect/Schema").optional<import("effect/Schema").Literals<readonly ["home", "config"]>>;
|
|
937
|
+
readonly bootstrap: import("effect/Schema").optional<import("effect/Schema").Boolean>;
|
|
938
|
+
readonly bootstrapCommand: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
939
|
+
}>>>;
|
|
1082
940
|
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
1083
941
|
readonly runId: import("effect/Schema").String;
|
|
1084
942
|
readonly workspaceId: import("effect/Schema").String;
|
|
@@ -1104,7 +962,7 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
1104
962
|
readonly recordDeletedAt: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1105
963
|
readonly createdAt: import("effect/Schema").String;
|
|
1106
964
|
readonly updatedAt: import("effect/Schema").String;
|
|
1107
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./workspaces.js").WorkspaceBadRequestError | typeof import("./workspaces.js").WorkspaceNotFoundError | typeof import("./workspaces.js").WorkspaceConflictError | typeof import("./workspaces.js").WorkspaceBadGatewayError | typeof import("./workspaces.js").WorkspaceInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"
|
|
965
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./workspaces.js").WorkspaceBadRequestError | typeof import("./workspaces.js").WorkspaceForbiddenError | typeof import("./workspaces.js").WorkspaceNotFoundError | typeof import("./workspaces.js").WorkspaceConflictError | typeof import("./workspaces.js").WorkspaceBadGatewayError | typeof import("./workspaces.js").WorkspaceServiceUnavailableError | typeof import("./workspaces.js").WorkspaceInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"execWorkspace", "POST", "/v1/workspaces/:workspaceId/exec", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
1108
966
|
readonly workspaceId: import("effect/Schema").String;
|
|
1109
967
|
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
1110
968
|
readonly ownerUserId: import("effect/Schema").String;
|
|
@@ -1113,7 +971,7 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
1113
971
|
readonly args: import("effect/Schema").$Array<import("effect/Schema").String>;
|
|
1114
972
|
readonly cwd: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1115
973
|
}>>;
|
|
1116
|
-
readonly user: import("effect/Schema").String
|
|
974
|
+
readonly user: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1117
975
|
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
1118
976
|
readonly runId: import("effect/Schema").String;
|
|
1119
977
|
readonly workspaceId: import("effect/Schema").String;
|
|
@@ -1135,31 +993,20 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
1135
993
|
readonly exitCode: import("effect/Schema").optional<import("effect/Schema").Number>;
|
|
1136
994
|
readonly errorMessage: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1137
995
|
readonly startedAt: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1138
|
-
readonly finishedAt: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1139
|
-
readonly recordDeletedAt: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1140
|
-
readonly createdAt: import("effect/Schema").String;
|
|
1141
|
-
readonly updatedAt: import("effect/Schema").String;
|
|
1142
|
-
}>>, 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<"
|
|
1143
|
-
readonly workspaceId: import("effect/Schema").String;
|
|
1144
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
1145
|
-
readonly ownerUserId: import("effect/Schema").String;
|
|
1146
|
-
readonly
|
|
1147
|
-
|
|
1148
|
-
|
|
1149
|
-
|
|
1150
|
-
readonly url: import("effect/Schema").String;
|
|
1151
|
-
readonly ref: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1152
|
-
readonly manager: import("effect/Schema").optional<import("effect/Schema").Literals<readonly ["auto", "chezmoi", "stow", "copy"]>>;
|
|
1153
|
-
readonly bootstrap: import("effect/Schema").optional<import("effect/Schema").Boolean>;
|
|
1154
|
-
readonly bootstrapCommand: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
996
|
+
readonly finishedAt: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
997
|
+
readonly recordDeletedAt: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
998
|
+
readonly createdAt: import("effect/Schema").String;
|
|
999
|
+
readonly updatedAt: import("effect/Schema").String;
|
|
1000
|
+
}>>, 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<{
|
|
1001
|
+
readonly workspaceId: import("effect/Schema").String;
|
|
1002
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
1003
|
+
readonly ownerUserId: import("effect/Schema").String;
|
|
1004
|
+
readonly commands: import("effect/Schema").$Array<import("effect/Schema").Struct<{
|
|
1005
|
+
readonly executable: import("effect/Schema").String;
|
|
1006
|
+
readonly args: import("effect/Schema").$Array<import("effect/Schema").String>;
|
|
1007
|
+
readonly cwd: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1155
1008
|
}>>;
|
|
1156
|
-
readonly
|
|
1157
|
-
readonly data: import("effect/Schema").String;
|
|
1158
|
-
readonly manager: import("effect/Schema").optional<import("effect/Schema").Literals<readonly ["auto", "chezmoi", "stow", "copy"]>>;
|
|
1159
|
-
readonly target: import("effect/Schema").optional<import("effect/Schema").Literals<readonly ["home", "config"]>>;
|
|
1160
|
-
readonly bootstrap: import("effect/Schema").optional<import("effect/Schema").Boolean>;
|
|
1161
|
-
readonly bootstrapCommand: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1162
|
-
}>>>;
|
|
1009
|
+
readonly user: import("effect/Schema").String;
|
|
1163
1010
|
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
1164
1011
|
readonly runId: import("effect/Schema").String;
|
|
1165
1012
|
readonly workspaceId: import("effect/Schema").String;
|
|
@@ -1185,7 +1032,7 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
1185
1032
|
readonly recordDeletedAt: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1186
1033
|
readonly createdAt: import("effect/Schema").String;
|
|
1187
1034
|
readonly updatedAt: import("effect/Schema").String;
|
|
1188
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./workspaces.js").WorkspaceBadRequestError | typeof import("./workspaces.js").
|
|
1035
|
+
}>>, 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<"bindWorkspace", "POST", "/v1/workspaces/:workspaceId/bind", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
1189
1036
|
readonly workspaceId: import("effect/Schema").String;
|
|
1190
1037
|
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
1191
1038
|
readonly ownerUserId: import("effect/Schema").String;
|
|
@@ -1276,16 +1123,7 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
1276
1123
|
readonly bytesSkipped: import("effect/Schema").Number;
|
|
1277
1124
|
readonly removed: import("effect/Schema").Number;
|
|
1278
1125
|
readonly unchanged: import("effect/Schema").Boolean;
|
|
1279
|
-
}>>, 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<"
|
|
1280
|
-
readonly workspaceId: import("effect/Schema").String;
|
|
1281
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
1282
|
-
readonly name: import("effect/Schema").String;
|
|
1283
|
-
readonly ownerUserId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1284
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
1285
|
-
readonly workspaceId: import("effect/Schema").String;
|
|
1286
|
-
readonly name: import("effect/Schema").String;
|
|
1287
|
-
readonly updatedAt: import("effect/Schema").String;
|
|
1288
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./workspaces.js").WorkspaceNotFoundError | typeof import("./workspaces.js").WorkspaceInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"stopWorkspace", "POST", "/v1/workspaces/:workspaceId/stop", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
1126
|
+
}>>, 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<{
|
|
1289
1127
|
readonly workspaceId: import("effect/Schema").String;
|
|
1290
1128
|
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
1291
1129
|
readonly ownerUserId: import("effect/Schema").String;
|
|
@@ -1328,7 +1166,32 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
1328
1166
|
readonly workspaceId: import("effect/Schema").String;
|
|
1329
1167
|
readonly runId: import("effect/Schema").String;
|
|
1330
1168
|
readonly status: import("effect/Schema").Literals<readonly ["queued", "running", "ready", "failed", "cancelled", "stopped", "retained"]>;
|
|
1331
|
-
}>>, 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<"
|
|
1169
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./budgets.ts").BudgetExceededError | typeof import("./workspaces.js").WorkspaceBadRequestError | typeof import("./workspaces.js").WorkspaceNotFoundError | typeof import("./workspaces.js").WorkspaceConflictError | typeof import("./workspaces.js").WorkspaceBadGatewayError | typeof import("./workspaces.js").WorkspaceInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"inspectWorkspaceImage", "POST", "/v1/workspaces/image", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
1170
|
+
readonly ownerUserId: import("effect/Schema").String;
|
|
1171
|
+
readonly registryId: import("effect/Schema").String;
|
|
1172
|
+
readonly spec: import("effect/Schema").Unknown;
|
|
1173
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
1174
|
+
readonly planHash: import("effect/Schema").String;
|
|
1175
|
+
readonly publishedImage: import("effect/Schema").optional<import("effect/Schema").Struct<{
|
|
1176
|
+
readonly reference: import("effect/Schema").String;
|
|
1177
|
+
readonly digestReference: import("effect/Schema").String;
|
|
1178
|
+
readonly digest: import("effect/Schema").String;
|
|
1179
|
+
readonly personLayout: import("effect/Schema").optional<import("effect/Schema").Struct<{
|
|
1180
|
+
readonly status: import("effect/Schema").Literals<readonly ["supported", "unsupported", "unknown"]>;
|
|
1181
|
+
readonly missing: import("effect/Schema").$Array<import("effect/Schema").String>;
|
|
1182
|
+
readonly unknown: import("effect/Schema").$Array<import("effect/Schema").String>;
|
|
1183
|
+
readonly runtime: import("effect/Schema").String;
|
|
1184
|
+
readonly acl: import("effect/Schema").Literals<readonly ["supported", "unsupported", "unknown"]>;
|
|
1185
|
+
}>>;
|
|
1186
|
+
}>>;
|
|
1187
|
+
readonly personLayout: import("effect/Schema").Struct<{
|
|
1188
|
+
readonly status: import("effect/Schema").Literals<readonly ["supported", "unsupported", "unknown"]>;
|
|
1189
|
+
readonly missing: import("effect/Schema").$Array<import("effect/Schema").String>;
|
|
1190
|
+
readonly unknown: import("effect/Schema").$Array<import("effect/Schema").String>;
|
|
1191
|
+
readonly runtime: import("effect/Schema").String;
|
|
1192
|
+
readonly acl: import("effect/Schema").Literals<readonly ["supported", "unsupported", "unknown"]>;
|
|
1193
|
+
}>;
|
|
1194
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./workspaces.js").WorkspaceBadRequestError | typeof import("./workspaces.js").WorkspaceNotFoundError | typeof import("./workspaces.js").WorkspaceInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"putWorkspaceCredentials", "POST", "/v1/workspaces/:workspaceId/credentials", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
1332
1195
|
readonly workspaceId: import("effect/Schema").String;
|
|
1333
1196
|
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
1334
1197
|
readonly ownerUserId: import("effect/Schema").String;
|
|
@@ -1384,7 +1247,98 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
1384
1247
|
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
1385
1248
|
readonly workspaceId: import("effect/Schema").String;
|
|
1386
1249
|
readonly expiresAt: import("effect/Schema").NullOr<import("effect/Schema").String>;
|
|
1387
|
-
}>>, 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<"
|
|
1250
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./workspaces.js").WorkspaceBadRequestError | typeof import("./workspaces.js").WorkspaceNotFoundError | typeof import("./workspaces.js").WorkspaceInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"renameWorkspace", "PATCH", "/v1/workspaces/:workspaceId/name", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
1251
|
+
readonly workspaceId: import("effect/Schema").String;
|
|
1252
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
1253
|
+
readonly name: import("effect/Schema").String;
|
|
1254
|
+
readonly ownerUserId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1255
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
1256
|
+
readonly workspaceId: import("effect/Schema").String;
|
|
1257
|
+
readonly name: import("effect/Schema").String;
|
|
1258
|
+
readonly updatedAt: import("effect/Schema").String;
|
|
1259
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./workspaces.js").WorkspaceNotFoundError | typeof import("./workspaces.js").WorkspaceInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"cancelWorkspaceCreate", "POST", "/v1/workspaces/idempotency-keys/:idempotencyKey/cancel", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
1260
|
+
readonly idempotencyKey: import("effect/Schema").String;
|
|
1261
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
1262
|
+
readonly ownerUserId: import("effect/Schema").String;
|
|
1263
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
1264
|
+
readonly idempotencyKey: import("effect/Schema").String;
|
|
1265
|
+
readonly state: import("effect/Schema").Literals<readonly ["pending", "found", "cancelled", "none"]>;
|
|
1266
|
+
readonly workspaceId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1267
|
+
readonly runId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1268
|
+
readonly launchId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
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<"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<{
|
|
1270
|
+
readonly ownerUserId: import("effect/Schema").String;
|
|
1271
|
+
readonly registryId: import("effect/Schema").String;
|
|
1272
|
+
readonly repository: import("effect/Schema").String;
|
|
1273
|
+
readonly tag: import("effect/Schema").String;
|
|
1274
|
+
readonly name: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1275
|
+
readonly sourceSelection: import("effect/Schema").optional<import("effect/Schema").Struct<{
|
|
1276
|
+
readonly provider: import("effect/Schema").Literal<"github">;
|
|
1277
|
+
readonly installationId: import("effect/Schema").String;
|
|
1278
|
+
readonly installationRepositoryId: import("effect/Schema").String;
|
|
1279
|
+
readonly ref: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1280
|
+
}>>;
|
|
1281
|
+
readonly dotfilesSelection: import("effect/Schema").optional<import("effect/Schema").Struct<{
|
|
1282
|
+
readonly provider: import("effect/Schema").Literal<"github">;
|
|
1283
|
+
readonly installationId: import("effect/Schema").String;
|
|
1284
|
+
readonly installationRepositoryId: import("effect/Schema").String;
|
|
1285
|
+
readonly ref: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1286
|
+
}>>;
|
|
1287
|
+
readonly credentials: import("effect/Schema").optional<import("effect/Schema").Struct<{
|
|
1288
|
+
readonly profileId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1289
|
+
readonly claude: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1290
|
+
readonly codex: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1291
|
+
readonly github: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1292
|
+
}>>;
|
|
1293
|
+
readonly spec: import("effect/Schema").Unknown;
|
|
1294
|
+
readonly secretEnv: import("effect/Schema").optional<import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").String>>;
|
|
1295
|
+
readonly captureToken: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1296
|
+
readonly ttlSeconds: import("effect/Schema").optional<import("effect/Schema").Int>;
|
|
1297
|
+
readonly idempotencyKey: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1298
|
+
readonly launchId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1299
|
+
readonly sshAsOwner: import("effect/Schema").optional<import("effect/Schema").Boolean>;
|
|
1300
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
1301
|
+
readonly "idempotency-key": import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1302
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
1303
|
+
readonly workspaceId: import("effect/Schema").String;
|
|
1304
|
+
readonly name: import("effect/Schema").String;
|
|
1305
|
+
readonly status: import("effect/Schema").Literals<readonly ["queued", "running", "ready", "failed", "cancelled", "stopped", "retained"]>;
|
|
1306
|
+
readonly registryId: import("effect/Schema").String;
|
|
1307
|
+
readonly repository: import("effect/Schema").String;
|
|
1308
|
+
readonly tag: import("effect/Schema").String;
|
|
1309
|
+
readonly runId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1310
|
+
readonly runtime: import("effect/Schema").optional<import("effect/Schema").Struct<{
|
|
1311
|
+
readonly adapter: import("effect/Schema").Literals<readonly ["docker", "k8s", "k3s", "cloudflare", "microvm"]>;
|
|
1312
|
+
readonly resourceId: import("effect/Schema").String;
|
|
1313
|
+
readonly reference: import("effect/Schema").String;
|
|
1314
|
+
readonly status: import("effect/Schema").Literals<readonly ["pending", "running", "ready", "failed", "stopped", "retained"]>;
|
|
1315
|
+
readonly endpoint: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1316
|
+
readonly deadline: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").String>>;
|
|
1317
|
+
readonly runId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1318
|
+
readonly launchId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1319
|
+
}>>;
|
|
1320
|
+
readonly replayed: import("effect/Schema").optional<import("effect/Schema").Boolean>;
|
|
1321
|
+
readonly launchId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1322
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./budgets.ts").BudgetExceededError | typeof import("./workspaces.js").WorkspaceBadRequestError | typeof import("./workspaces.js").WorkspaceRuntimeEnvReferencesUnsupportedError | typeof import("./workspaces.js").WorkspaceDockerServiceUnsupportedError | typeof import("./workspaces.js").WorkspaceSshOwnerRefusedError | typeof import("./workspaces.js").WorkspaceForbiddenError | typeof import("./workspaces.js").WorkspaceNotFoundError | typeof import("./workspaces.js").WorkspaceConflictError | typeof import("./workspaces.js").WorkspaceBadGatewayError | typeof import("./workspaces.js").WorkspaceServiceUnavailableError | typeof import("./workspaces.js").WorkspaceInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"getWorkspaceSshTarget", "GET", "/v1/workspaces/:workspaceId/ssh-target", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
1323
|
+
readonly workspaceId: import("effect/Schema").String;
|
|
1324
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
1325
|
+
readonly "x-sealant-gateway-token": import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1326
|
+
readonly "x-sealant-principal-id": import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1327
|
+
readonly "x-sealant-gateway-ssh-user": import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1328
|
+
readonly "x-sealant-ssh-key-fingerprint": import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1329
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
1330
|
+
readonly workspaceId: import("effect/Schema").String;
|
|
1331
|
+
readonly attemptId: import("effect/Schema").String;
|
|
1332
|
+
readonly runtime: import("effect/Schema").Struct<{
|
|
1333
|
+
readonly adapter: import("effect/Schema").Literals<readonly ["docker", "k8s", "k3s", "cloudflare", "microvm"]>;
|
|
1334
|
+
readonly resourceId: import("effect/Schema").String;
|
|
1335
|
+
readonly reference: import("effect/Schema").String;
|
|
1336
|
+
readonly status: import("effect/Schema").Literals<readonly ["pending", "running", "ready", "failed", "stopped"]>;
|
|
1337
|
+
readonly endpoint: import("effect/Schema").String;
|
|
1338
|
+
}>;
|
|
1339
|
+
readonly sessionUser: import("effect/Schema").NullOr<import("effect/Schema").String>;
|
|
1340
|
+
readonly sshKeyFingerprint: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1341
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./workspaces.js").WorkspaceUnauthorizedError | typeof import("./workspaces.js").WorkspaceSshKeyNoLongerRegisteredError | typeof import("./workspaces.js").WorkspaceNotFoundError | typeof import("./workspaces.js").WorkspaceConflictError | typeof import("./workspaces.js").WorkspaceServiceUnavailableError | typeof import("./workspaces.js").WorkspaceInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"getWorkspaceCaptureStatus", "GET", "/v1/workspaces/:workspaceId/capture", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
1388
1342
|
readonly workspaceId: import("effect/Schema").String;
|
|
1389
1343
|
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
1390
1344
|
readonly ownerUserId: import("effect/Schema").String;
|
|
@@ -1438,7 +1392,24 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
1438
1392
|
readonly boundMs: import("effect/Schema").Number;
|
|
1439
1393
|
}>>;
|
|
1440
1394
|
readonly ownerMap: import("effect/Schema").optional<import("effect/Schema").Boolean>;
|
|
1441
|
-
}>>, 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<"
|
|
1395
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./workspaces.js").WorkspaceBadRequestError | typeof import("./workspaces.js").WorkspaceNotFoundError | typeof import("./workspaces.js").WorkspaceConflictError | typeof import("./workspaces.js").WorkspaceInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"clearWorkspaceSshUser", "DELETE", "/v1/workspaces/:workspaceId/ssh-user", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
1396
|
+
readonly workspaceId: import("effect/Schema").String;
|
|
1397
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
1398
|
+
readonly ownerUserId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1399
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
1400
|
+
readonly workspaceId: import("effect/Schema").String;
|
|
1401
|
+
readonly sshUser: import("effect/Schema").Null;
|
|
1402
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./workspaces.js").WorkspaceNotFoundError | typeof import("./workspaces.js").WorkspaceInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"releaseWorkspaceCredentials", "DELETE", "/v1/workspaces/:workspaceId/credentials", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
1403
|
+
readonly workspaceId: import("effect/Schema").String;
|
|
1404
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
1405
|
+
readonly ownerUserId: import("effect/Schema").String;
|
|
1406
|
+
readonly home: import("effect/Schema").String;
|
|
1407
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
1408
|
+
readonly workspaceId: import("effect/Schema").String;
|
|
1409
|
+
readonly runId: import("effect/Schema").String;
|
|
1410
|
+
readonly home: import("effect/Schema").String;
|
|
1411
|
+
readonly released: import("effect/Schema").Boolean;
|
|
1412
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./workspaces.js").WorkspaceBadRequestError | typeof import("./workspaces.js").WorkspaceForbiddenError | typeof import("./workspaces.js").WorkspaceNotFoundError | typeof import("./workspaces.js").WorkspaceConflictError | typeof import("./workspaces.js").WorkspaceBadGatewayError | typeof import("./workspaces.js").WorkspaceServiceUnavailableError | typeof import("./workspaces.js").WorkspaceInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"listWorkspaceCredentials", "GET", "/v1/workspaces/:workspaceId/credentials", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
1442
1413
|
readonly workspaceId: import("effect/Schema").String;
|
|
1443
1414
|
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
1444
1415
|
readonly ownerUserId: import("effect/Schema").String;
|
|
@@ -1471,7 +1442,17 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
1471
1442
|
}>>;
|
|
1472
1443
|
}>;
|
|
1473
1444
|
}>>;
|
|
1474
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./workspaces.js").WorkspaceForbiddenError | typeof import("./workspaces.js").WorkspaceNotFoundError | typeof import("./workspaces.js").WorkspaceConflictError | typeof import("./workspaces.js").WorkspaceInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"
|
|
1445
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./workspaces.js").WorkspaceForbiddenError | typeof import("./workspaces.js").WorkspaceNotFoundError | typeof import("./workspaces.js").WorkspaceConflictError | typeof import("./workspaces.js").WorkspaceInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"getWorkspaceCreate", "GET", "/v1/workspaces/idempotency-keys/:idempotencyKey", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
1446
|
+
readonly idempotencyKey: import("effect/Schema").String;
|
|
1447
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
1448
|
+
readonly ownerUserId: import("effect/Schema").String;
|
|
1449
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
1450
|
+
readonly idempotencyKey: import("effect/Schema").String;
|
|
1451
|
+
readonly state: import("effect/Schema").Literals<readonly ["pending", "found", "cancelled", "none"]>;
|
|
1452
|
+
readonly workspaceId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1453
|
+
readonly runId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1454
|
+
readonly launchId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1455
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./workspaces.js").WorkspaceBadRequestError | typeof import("./workspaces.js").WorkspaceInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"getWorkspace", "GET", "/v1/workspaces/:workspaceId", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
1475
1456
|
readonly workspaceId: import("effect/Schema").String;
|
|
1476
1457
|
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
1477
1458
|
readonly ownerUserId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
@@ -1568,7 +1549,65 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
1568
1549
|
}>>;
|
|
1569
1550
|
}>>;
|
|
1570
1551
|
}>>;
|
|
1571
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./workspaces.js").WorkspaceNotFoundError | typeof import("./workspaces.js").WorkspaceInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"
|
|
1552
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./workspaces.js").WorkspaceNotFoundError | typeof import("./workspaces.js").WorkspaceInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"listWorkspaces", "GET", "/v1/workspaces/", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
1553
|
+
readonly ownerUserId: import("effect/Schema").String;
|
|
1554
|
+
readonly status: import("effect/Schema").optional<import("effect/Schema").Literals<readonly ["queued", "running", "ready", "failed", "cancelled", "stopped", "retained"]>>;
|
|
1555
|
+
readonly limit: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1556
|
+
readonly idempotencyKey: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1557
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
1558
|
+
readonly items: import("effect/Schema").$Array<import("effect/Schema").Struct<{
|
|
1559
|
+
readonly workspaceId: import("effect/Schema").String;
|
|
1560
|
+
readonly name: import("effect/Schema").String;
|
|
1561
|
+
readonly ownerUserId: import("effect/Schema").String;
|
|
1562
|
+
readonly status: import("effect/Schema").Literals<readonly ["queued", "running", "ready", "failed", "cancelled", "stopped", "retained"]>;
|
|
1563
|
+
readonly registryId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1564
|
+
readonly repository: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1565
|
+
readonly tag: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1566
|
+
readonly runtime: import("effect/Schema").optional<import("effect/Schema").Struct<{
|
|
1567
|
+
readonly adapter: import("effect/Schema").Literals<readonly ["docker", "k8s", "k3s", "cloudflare", "microvm"]>;
|
|
1568
|
+
readonly resourceId: import("effect/Schema").String;
|
|
1569
|
+
readonly reference: import("effect/Schema").String;
|
|
1570
|
+
readonly status: import("effect/Schema").Literals<readonly ["pending", "running", "ready", "failed", "stopped", "retained"]>;
|
|
1571
|
+
readonly endpoint: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1572
|
+
readonly deadline: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").String>>;
|
|
1573
|
+
readonly runId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1574
|
+
readonly launchId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1575
|
+
}>>;
|
|
1576
|
+
readonly publishedImage: import("effect/Schema").optional<import("effect/Schema").Struct<{
|
|
1577
|
+
readonly reference: import("effect/Schema").String;
|
|
1578
|
+
readonly digestReference: import("effect/Schema").String;
|
|
1579
|
+
readonly digest: import("effect/Schema").String;
|
|
1580
|
+
readonly personLayout: import("effect/Schema").optional<import("effect/Schema").Struct<{
|
|
1581
|
+
readonly status: import("effect/Schema").Literals<readonly ["supported", "unsupported", "unknown"]>;
|
|
1582
|
+
readonly missing: import("effect/Schema").$Array<import("effect/Schema").String>;
|
|
1583
|
+
readonly unknown: import("effect/Schema").$Array<import("effect/Schema").String>;
|
|
1584
|
+
readonly runtime: import("effect/Schema").String;
|
|
1585
|
+
readonly acl: import("effect/Schema").Literals<readonly ["supported", "unsupported", "unknown"]>;
|
|
1586
|
+
}>>;
|
|
1587
|
+
}>>;
|
|
1588
|
+
readonly processUser: import("effect/Schema").optional<import("effect/Schema").Literals<readonly ["supported", "unsupported", "unknown"]>>;
|
|
1589
|
+
readonly error: import("effect/Schema").optional<import("effect/Schema").Struct<{
|
|
1590
|
+
readonly message: import("effect/Schema").String;
|
|
1591
|
+
readonly code: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1592
|
+
}>>;
|
|
1593
|
+
readonly phase: import("effect/Schema").optional<import("effect/Schema").Struct<{
|
|
1594
|
+
readonly name: import("effect/Schema").Literals<readonly ["queued", "image-build", "boot"]>;
|
|
1595
|
+
readonly since: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1596
|
+
readonly imageBuild: import("effect/Schema").optional<import("effect/Schema").Struct<{
|
|
1597
|
+
readonly step: import("effect/Schema").optional<import("effect/Schema").Int>;
|
|
1598
|
+
readonly steps: import("effect/Schema").optional<import("effect/Schema").Int>;
|
|
1599
|
+
readonly stepName: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1600
|
+
readonly progressAt: import("effect/Schema").String;
|
|
1601
|
+
readonly stallTimeoutMs: import("effect/Schema").optional<import("effect/Schema").Int>;
|
|
1602
|
+
}>>;
|
|
1603
|
+
}>>;
|
|
1604
|
+
readonly createdAt: import("effect/Schema").String;
|
|
1605
|
+
readonly updatedAt: import("effect/Schema").String;
|
|
1606
|
+
readonly startedAt: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1607
|
+
readonly finishedAt: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1608
|
+
readonly expiresAt: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1609
|
+
}>>;
|
|
1610
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./workspaces.js").WorkspaceBadRequestError | typeof import("./workspaces.js").WorkspaceInternalServerError>, RequestRefusal, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"listWorkspaceAttempts", "GET", "/v1/workspaces/:workspaceId/attempts", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
1572
1611
|
readonly workspaceId: import("effect/Schema").String;
|
|
1573
1612
|
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
1574
1613
|
readonly ownerUserId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
@@ -1630,43 +1669,4 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
1630
1669
|
readonly message: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1631
1670
|
readonly data: import("effect/Schema").optional<import("effect/Schema").Unknown>;
|
|
1632
1671
|
}>>;
|
|
1633
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./workspaces.js").WorkspaceBadRequestError | typeof import("./workspaces.js").WorkspaceNotFoundError | typeof import("./workspaces.js").WorkspaceInternalServerError>, RequestRefusal, never
|
|
1634
|
-
readonly workspaceId: import("effect/Schema").String;
|
|
1635
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
1636
|
-
readonly "x-sealant-gateway-token": import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1637
|
-
readonly "x-sealant-principal-id": import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1638
|
-
readonly "x-sealant-gateway-ssh-user": import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1639
|
-
readonly "x-sealant-ssh-key-fingerprint": import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1640
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
1641
|
-
readonly workspaceId: import("effect/Schema").String;
|
|
1642
|
-
readonly attemptId: import("effect/Schema").String;
|
|
1643
|
-
readonly runtime: import("effect/Schema").Struct<{
|
|
1644
|
-
readonly adapter: import("effect/Schema").Literals<readonly ["docker", "k8s", "k3s", "cloudflare", "microvm"]>;
|
|
1645
|
-
readonly resourceId: import("effect/Schema").String;
|
|
1646
|
-
readonly reference: import("effect/Schema").String;
|
|
1647
|
-
readonly status: import("effect/Schema").Literals<readonly ["pending", "running", "ready", "failed", "stopped"]>;
|
|
1648
|
-
readonly endpoint: import("effect/Schema").String;
|
|
1649
|
-
}>;
|
|
1650
|
-
readonly sessionUser: import("effect/Schema").NullOr<import("effect/Schema").String>;
|
|
1651
|
-
readonly sshKeyFingerprint: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1652
|
-
}>>, 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<"cancelWorkspaceCreate", "POST", "/v1/workspaces/idempotency-keys/:idempotencyKey/cancel", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
1653
|
-
readonly idempotencyKey: import("effect/Schema").String;
|
|
1654
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
1655
|
-
readonly ownerUserId: import("effect/Schema").String;
|
|
1656
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
1657
|
-
readonly idempotencyKey: import("effect/Schema").String;
|
|
1658
|
-
readonly state: import("effect/Schema").Literals<readonly ["pending", "found", "cancelled", "none"]>;
|
|
1659
|
-
readonly workspaceId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1660
|
-
readonly runId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1661
|
-
readonly launchId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1662
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./workspaces.js").WorkspaceBadRequestError | 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<{
|
|
1663
|
-
readonly idempotencyKey: import("effect/Schema").String;
|
|
1664
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
1665
|
-
readonly ownerUserId: import("effect/Schema").String;
|
|
1666
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
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>>;
|
|
1672
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./workspaces.js").WorkspaceBadRequestError | typeof import("./workspaces.js").WorkspaceNotFoundError | typeof import("./workspaces.js").WorkspaceInternalServerError>, RequestRefusal, never>, false>>;
|