@sealant/api-contracts-next 0.40.0-next.901 → 0.40.0-next.903
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 +105 -105
- package/package.json +2 -2
|
@@ -73,9 +73,11 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
73
73
|
readonly snapshot: import("effect/Schema").NullOr<import("effect/Schema").String>;
|
|
74
74
|
readonly removalConfirmed: import("effect/Schema").Boolean;
|
|
75
75
|
}>;
|
|
76
|
-
}>>, import("effect/Schema").toCodecJson<typeof import("./boat-accounts.js").BoatAccountNotFoundError | typeof import("./boat-accounts.js").BoatAccountConflictError | typeof import("./boat-accounts.js").BoatAccountServiceUnavailableError | typeof import("./boat-accounts.js").BoatAccountInternalServerError>, RequestBudget | RequestRefusal, never> | import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"
|
|
77
|
-
readonly
|
|
78
|
-
|
|
76
|
+
}>>, import("effect/Schema").toCodecJson<typeof import("./boat-accounts.js").BoatAccountNotFoundError | typeof import("./boat-accounts.js").BoatAccountConflictError | typeof import("./boat-accounts.js").BoatAccountServiceUnavailableError | typeof import("./boat-accounts.js").BoatAccountInternalServerError>, RequestBudget | RequestRefusal, never> | import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"createBoatAccount", "POST", "/v1/boat-accounts/", never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
|
|
77
|
+
readonly label: import("effect/Schema").String;
|
|
78
|
+
readonly apiKey: import("effect/Schema").String;
|
|
79
|
+
readonly organization: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
80
|
+
}>>, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
|
|
79
81
|
readonly boatAccountId: import("effect/Schema").String;
|
|
80
82
|
readonly label: import("effect/Schema").String;
|
|
81
83
|
readonly state: import("effect/Schema").Literals<readonly ["active", "removing"]>;
|
|
@@ -328,11 +330,9 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
328
330
|
readonly runs: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").String>>;
|
|
329
331
|
readonly builds: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").String>>;
|
|
330
332
|
}>>>;
|
|
331
|
-
}>>, import("effect/Schema").toCodecJson<typeof import("./boat-accounts.js").
|
|
332
|
-
readonly
|
|
333
|
-
|
|
334
|
-
readonly organization: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
335
|
-
}>>, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
|
|
333
|
+
}>>, import("effect/Schema").toCodecJson<typeof import("./boat-accounts.js").BoatAccountBadRequestError | typeof import("./boat-accounts.js").BoatAccountKeyRefusedError | typeof import("./boat-accounts.js").BoatAccountServiceUnavailableError | typeof import("./boat-accounts.js").BoatAccountInternalServerError>, RequestBudget | RequestRefusal, never> | import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"checkBoatAccount", "POST", "/v1/boat-accounts/:boatAccountId/check", import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
|
|
334
|
+
readonly boatAccountId: import("effect/Schema").String;
|
|
335
|
+
}>>, never, never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
|
|
336
336
|
readonly boatAccountId: import("effect/Schema").String;
|
|
337
337
|
readonly label: import("effect/Schema").String;
|
|
338
338
|
readonly state: import("effect/Schema").Literals<readonly ["active", "removing"]>;
|
|
@@ -585,7 +585,7 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
585
585
|
readonly runs: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").String>>;
|
|
586
586
|
readonly builds: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").String>>;
|
|
587
587
|
}>>>;
|
|
588
|
-
}>>, import("effect/Schema").toCodecJson<typeof import("./boat-accounts.js").
|
|
588
|
+
}>>, import("effect/Schema").toCodecJson<typeof import("./boat-accounts.js").BoatAccountKeyRefusedError | typeof import("./boat-accounts.js").BoatAccountNotFoundError | typeof import("./boat-accounts.js").BoatAccountServiceUnavailableError | typeof import("./boat-accounts.js").BoatAccountInternalServerError>, RequestBudget | RequestRefusal, never> | import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"removeBoatAccount", "DELETE", "/v1/boat-accounts/:boatAccountId", import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
|
|
589
589
|
readonly boatAccountId: import("effect/Schema").Union<readonly [import("effect/Schema").String, import("effect/Schema").Literal<"default">]>;
|
|
590
590
|
}>>, never, never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
|
|
591
591
|
readonly boatAccountId: import("effect/Schema").String;
|
|
@@ -1354,7 +1354,7 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
1354
1354
|
readonly runs: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").String>>;
|
|
1355
1355
|
readonly builds: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").String>>;
|
|
1356
1356
|
}>>>;
|
|
1357
|
-
}>>, import("effect/Schema").toCodecJson<typeof import("./boat-accounts.js").BoatAccountBadRequestError | typeof import("./boat-accounts.js").BoatAccountKeyRefusedError | typeof import("./boat-accounts.js").BoatAccountNotFoundError | typeof import("./boat-accounts.js").BoatAccountConflictError | typeof import("./boat-accounts.js").BoatAccountServiceUnavailableError | typeof import("./boat-accounts.js").BoatAccountInternalServerError>, RequestBudget | RequestRefusal, never> | import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"
|
|
1357
|
+
}>>, import("effect/Schema").toCodecJson<typeof import("./boat-accounts.js").BoatAccountBadRequestError | typeof import("./boat-accounts.js").BoatAccountKeyRefusedError | typeof import("./boat-accounts.js").BoatAccountNotFoundError | typeof import("./boat-accounts.js").BoatAccountConflictError | typeof import("./boat-accounts.js").BoatAccountServiceUnavailableError | typeof import("./boat-accounts.js").BoatAccountInternalServerError>, RequestBudget | RequestRefusal, never> | import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"getBoatInstallKey", "GET", "/v1/boat-accounts/install-key", never, never, never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
|
|
1358
1358
|
readonly label: import("effect/Schema").String;
|
|
1359
1359
|
readonly report: import("effect/Schema").NullOr<import("effect/Schema").Struct<{
|
|
1360
1360
|
readonly observedAt: import("effect/Schema").String;
|
|
@@ -1573,7 +1573,7 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
1573
1573
|
readonly runs: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").String>>;
|
|
1574
1574
|
readonly builds: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").String>>;
|
|
1575
1575
|
}>>>;
|
|
1576
|
-
}>>, import("effect/Schema").toCodecJson<typeof import("./boat-accounts.js").
|
|
1576
|
+
}>>, import("effect/Schema").toCodecJson<typeof import("./boat-accounts.js").BoatAccountServiceUnavailableError | typeof import("./boat-accounts.js").BoatAccountInternalServerError>, RequestBudget | RequestRefusal, never> | import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"checkBoatInstallKey", "POST", "/v1/boat-accounts/install-key", never, never, never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
|
|
1577
1577
|
readonly label: import("effect/Schema").String;
|
|
1578
1578
|
readonly report: import("effect/Schema").NullOr<import("effect/Schema").Struct<{
|
|
1579
1579
|
readonly observedAt: import("effect/Schema").String;
|
|
@@ -1792,7 +1792,7 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
1792
1792
|
readonly runs: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").String>>;
|
|
1793
1793
|
readonly builds: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").String>>;
|
|
1794
1794
|
}>>>;
|
|
1795
|
-
}>>, import("effect/Schema").toCodecJson<typeof import("./boat-accounts.js").BoatAccountServiceUnavailableError | typeof import("./boat-accounts.js").BoatAccountInternalServerError>, RequestBudget | RequestRefusal, never> | import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"listBoatAccounts", "GET", "/v1/boat-accounts/", never, never, never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
|
|
1795
|
+
}>>, import("effect/Schema").toCodecJson<typeof import("./boat-accounts.js").BoatAccountKeyRefusedError | typeof import("./boat-accounts.js").BoatAccountServiceUnavailableError | typeof import("./boat-accounts.js").BoatAccountInternalServerError>, RequestBudget | RequestRefusal, never> | import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"listBoatAccounts", "GET", "/v1/boat-accounts/", never, never, never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
|
|
1796
1796
|
readonly items: import("effect/Schema").$Array<import("effect/Schema").Struct<{
|
|
1797
1797
|
readonly boatAccountId: import("effect/Schema").String;
|
|
1798
1798
|
readonly label: import("effect/Schema").String;
|
|
@@ -2078,15 +2078,11 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
2078
2078
|
readonly suffix: import("effect/Schema").String;
|
|
2079
2079
|
readonly endpointHost: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
2080
2080
|
}>]>>;
|
|
2081
|
-
}>>, import("effect/Schema").toCodecJson<typeof import("./connected-accounts.js").ConnectedAccountNotFoundError | typeof import("./connected-accounts.js").ConnectedAccountInternalServerError>, RequestBudget | RequestRefusal, never> | import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"
|
|
2082
|
-
readonly ownerUserId: import("effect/Schema").String;
|
|
2081
|
+
}>>, import("effect/Schema").toCodecJson<typeof import("./connected-accounts.js").ConnectedAccountNotFoundError | typeof import("./connected-accounts.js").ConnectedAccountInternalServerError>, RequestBudget | RequestRefusal, never> | import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"setConnectedAccountDefault", "PUT", "/v1/connected-accounts/defaults/:provider", import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
|
|
2083
2082
|
readonly provider: import("effect/Schema").Literals<readonly ["claude", "codex", "github"]>;
|
|
2084
|
-
|
|
2085
|
-
readonly
|
|
2086
|
-
readonly
|
|
2087
|
-
readonly login: import("effect/Schema").optional<import("effect/Schema").Literals<readonly ["subscription", "api-key"]>>;
|
|
2088
|
-
readonly secret: import("effect/Schema").String;
|
|
2089
|
-
readonly endpoint: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
2083
|
+
}>>, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
|
|
2084
|
+
readonly ownerUserId: import("effect/Schema").String;
|
|
2085
|
+
readonly connectedAccountId: import("effect/Schema").String;
|
|
2090
2086
|
}>>, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
|
|
2091
2087
|
readonly connectedAccountId: import("effect/Schema").String;
|
|
2092
2088
|
readonly ownerUserId: import("effect/Schema").String;
|
|
@@ -2114,11 +2110,15 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
2114
2110
|
readonly suffix: import("effect/Schema").String;
|
|
2115
2111
|
readonly endpointHost: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
2116
2112
|
}>]>>;
|
|
2117
|
-
}>>, import("effect/Schema").toCodecJson<typeof import("./connected-accounts.js").
|
|
2118
|
-
readonly provider: import("effect/Schema").Literals<readonly ["claude", "codex", "github"]>;
|
|
2119
|
-
}>>, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
|
|
2113
|
+
}>>, import("effect/Schema").toCodecJson<typeof import("./connected-accounts.js").ConnectedAccountNotFoundError | typeof import("./connected-accounts.js").ConnectedAccountConflictError | typeof import("./connected-accounts.js").ConnectedAccountInternalServerError>, RequestBudget | RequestRefusal, never> | import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"createConnectedAccount", "POST", "/v1/connected-accounts/", never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
|
|
2120
2114
|
readonly ownerUserId: import("effect/Schema").String;
|
|
2121
|
-
readonly
|
|
2115
|
+
readonly provider: import("effect/Schema").Literals<readonly ["claude", "codex", "github"]>;
|
|
2116
|
+
readonly name: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
2117
|
+
readonly accountId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
2118
|
+
readonly makeDefault: import("effect/Schema").optional<import("effect/Schema").Boolean>;
|
|
2119
|
+
readonly login: import("effect/Schema").optional<import("effect/Schema").Literals<readonly ["subscription", "api-key"]>>;
|
|
2120
|
+
readonly secret: import("effect/Schema").String;
|
|
2121
|
+
readonly endpoint: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
2122
2122
|
}>>, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
|
|
2123
2123
|
readonly connectedAccountId: import("effect/Schema").String;
|
|
2124
2124
|
readonly ownerUserId: import("effect/Schema").String;
|
|
@@ -2146,7 +2146,7 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
2146
2146
|
readonly suffix: import("effect/Schema").String;
|
|
2147
2147
|
readonly endpointHost: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
2148
2148
|
}>]>>;
|
|
2149
|
-
}>>, import("effect/Schema").toCodecJson<typeof import("./connected-accounts.js").ConnectedAccountNotFoundError | typeof import("./connected-accounts.js").ConnectedAccountConflictError | typeof import("./connected-accounts.js").ConnectedAccountInternalServerError>, RequestBudget | RequestRefusal, never> | import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"listConnectedAccounts", "GET", "/v1/connected-accounts/", never, import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
|
|
2149
|
+
}>>, import("effect/Schema").toCodecJson<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>, RequestBudget | RequestRefusal, never> | import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"listConnectedAccounts", "GET", "/v1/connected-accounts/", never, import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
|
|
2150
2150
|
readonly ownerUserId: import("effect/Schema").String;
|
|
2151
2151
|
}>>, never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
|
|
2152
2152
|
readonly items: import("effect/Schema").$Array<import("effect/Schema").Struct<{
|
|
@@ -2942,20 +2942,11 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
2942
2942
|
readonly dockerName: import("effect/Schema").String;
|
|
2943
2943
|
readonly bytes: import("effect/Schema").NullOr<import("effect/Schema").Int>;
|
|
2944
2944
|
}>>;
|
|
2945
|
-
}>>, import("effect/Schema").toCodecJson<typeof import("./resource-domains.js").ResourceDomainForbiddenError | typeof import("./resource-domains.js").ResourceDomainNotFoundError | typeof import("./resource-domains.js").ResourceDomainInternalServerError | typeof import("./resource-instances.js").ResourceInstanceSpecRefusedError | typeof import("./resource-instances.js").ResourceRuntimeUnsupportedError | typeof import("./resource-instances.js").ResourceInstanceBusyError | typeof import("./resource-instances.js").ResourceInstanceBudgetError>, RequestBudget | RequestRefusal, never>, false> | import("effect/http-api/HttpApiGroup").HttpApiGroup<"runs", import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"
|
|
2946
|
-
readonly
|
|
2947
|
-
|
|
2948
|
-
readonly ownerUserId: import("effect/Schema").String
|
|
2949
|
-
|
|
2950
|
-
readonly prompt: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
2951
|
-
readonly attemptId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
2952
|
-
readonly command: import("effect/Schema").optional<import("effect/Schema").Struct<{
|
|
2953
|
-
readonly executable: import("effect/Schema").String;
|
|
2954
|
-
readonly args: import("effect/Schema").$Array<import("effect/Schema").String>;
|
|
2955
|
-
readonly cwd: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
2956
|
-
}>>;
|
|
2957
|
-
readonly metadata: import("effect/Schema").optional<import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").Unknown>>;
|
|
2958
|
-
}>>, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
|
|
2945
|
+
}>>, import("effect/Schema").toCodecJson<typeof import("./resource-domains.js").ResourceDomainForbiddenError | typeof import("./resource-domains.js").ResourceDomainNotFoundError | typeof import("./resource-domains.js").ResourceDomainInternalServerError | typeof import("./resource-instances.js").ResourceInstanceSpecRefusedError | typeof import("./resource-instances.js").ResourceRuntimeUnsupportedError | typeof import("./resource-instances.js").ResourceInstanceBusyError | typeof import("./resource-instances.js").ResourceInstanceBudgetError>, RequestBudget | RequestRefusal, never>, false> | import("effect/http-api/HttpApiGroup").HttpApiGroup<"runs", import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"getRun", "GET", "/v1/runs/:runId", import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
|
|
2946
|
+
readonly runId: import("effect/Schema").String;
|
|
2947
|
+
}>>, import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
|
|
2948
|
+
readonly ownerUserId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
2949
|
+
}>>, never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
|
|
2959
2950
|
readonly runId: import("effect/Schema").String;
|
|
2960
2951
|
readonly workspaceId: import("effect/Schema").String;
|
|
2961
2952
|
readonly attemptId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
@@ -2980,11 +2971,21 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
2980
2971
|
readonly recordDeletedAt: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
2981
2972
|
readonly createdAt: import("effect/Schema").String;
|
|
2982
2973
|
readonly updatedAt: import("effect/Schema").String;
|
|
2983
|
-
}>>, import("effect/Schema").toCodecJson<typeof import("./budgets.js").BudgetExceededError | typeof import("./runs.js").
|
|
2974
|
+
}>>, import("effect/Schema").toCodecJson<typeof import("./budgets.js").BudgetExceededError | typeof import("./runs.js").RunNotFoundError | typeof import("./runs.js").RunInternalServerError>, RequestBudget | RequestRefusal, never> | import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"updateRun", "PATCH", "/v1/runs/:runId", import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
|
|
2984
2975
|
readonly runId: import("effect/Schema").String;
|
|
2985
|
-
}>>, import("effect/Schema").
|
|
2976
|
+
}>>, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
|
|
2986
2977
|
readonly ownerUserId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
2987
|
-
|
|
2978
|
+
readonly status: import("effect/Schema").optional<import("effect/Schema").Literals<readonly ["queued", "running", "completed", "failed", "cancelled"]>>;
|
|
2979
|
+
readonly exitCode: import("effect/Schema").optional<import("effect/Schema").Number>;
|
|
2980
|
+
readonly errorMessage: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
2981
|
+
readonly diff: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
2982
|
+
readonly changedFiles: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").Struct<{
|
|
2983
|
+
readonly path: import("effect/Schema").String;
|
|
2984
|
+
readonly change: import("effect/Schema").Literals<readonly ["added", "modified", "deleted", "renamed"]>;
|
|
2985
|
+
readonly oldPath: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
2986
|
+
}>>>;
|
|
2987
|
+
readonly changesReadFailed: import("effect/Schema").optional<import("effect/Schema").Boolean>;
|
|
2988
|
+
}>>, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
|
|
2988
2989
|
readonly runId: import("effect/Schema").String;
|
|
2989
2990
|
readonly workspaceId: import("effect/Schema").String;
|
|
2990
2991
|
readonly attemptId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
@@ -3009,20 +3010,19 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
3009
3010
|
readonly recordDeletedAt: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
3010
3011
|
readonly createdAt: import("effect/Schema").String;
|
|
3011
3012
|
readonly updatedAt: import("effect/Schema").String;
|
|
3012
|
-
}>>, import("effect/Schema").toCodecJson<typeof import("./
|
|
3013
|
-
readonly
|
|
3014
|
-
|
|
3015
|
-
readonly ownerUserId: import("effect/Schema").
|
|
3016
|
-
readonly
|
|
3017
|
-
readonly
|
|
3018
|
-
readonly
|
|
3019
|
-
readonly
|
|
3020
|
-
|
|
3021
|
-
readonly
|
|
3022
|
-
readonly
|
|
3023
|
-
|
|
3024
|
-
|
|
3025
|
-
readonly changesReadFailed: import("effect/Schema").optional<import("effect/Schema").Boolean>;
|
|
3013
|
+
}>>, import("effect/Schema").toCodecJson<typeof import("./runs.js").RunBadRequestError | typeof import("./runs.js").RunNotFoundError | typeof import("./runs.js").RunInternalServerError>, RequestBudget | RequestRefusal, never> | import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"createRun", "POST", "/v1/runs/", never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
|
|
3014
|
+
readonly workspaceId: import("effect/Schema").String;
|
|
3015
|
+
readonly harnessId: import("effect/Schema").String;
|
|
3016
|
+
readonly ownerUserId: import("effect/Schema").String;
|
|
3017
|
+
readonly mode: import("effect/Schema").optional<import("effect/Schema").Literals<readonly ["one-shot", "interactive"]>>;
|
|
3018
|
+
readonly prompt: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
3019
|
+
readonly attemptId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
3020
|
+
readonly command: import("effect/Schema").optional<import("effect/Schema").Struct<{
|
|
3021
|
+
readonly executable: import("effect/Schema").String;
|
|
3022
|
+
readonly args: import("effect/Schema").$Array<import("effect/Schema").String>;
|
|
3023
|
+
readonly cwd: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
3024
|
+
}>>;
|
|
3025
|
+
readonly metadata: import("effect/Schema").optional<import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").Unknown>>;
|
|
3026
3026
|
}>>, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
|
|
3027
3027
|
readonly runId: import("effect/Schema").String;
|
|
3028
3028
|
readonly workspaceId: import("effect/Schema").String;
|
|
@@ -3048,7 +3048,7 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
3048
3048
|
readonly recordDeletedAt: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
3049
3049
|
readonly createdAt: import("effect/Schema").String;
|
|
3050
3050
|
readonly updatedAt: import("effect/Schema").String;
|
|
3051
|
-
}>>, import("effect/Schema").toCodecJson<typeof import("./runs.js").RunBadRequestError | typeof import("./runs.js").RunNotFoundError | typeof import("./runs.js").RunInternalServerError>, RequestBudget | RequestRefusal, never> | import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"listRuns", "GET", "/v1/runs/", never, import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
|
|
3051
|
+
}>>, import("effect/Schema").toCodecJson<typeof import("./budgets.js").BudgetExceededError | typeof import("./runs.js").RunBadRequestError | typeof import("./runs.js").RunNotFoundError | typeof import("./runs.js").RunInternalServerError>, RequestBudget | RequestRefusal, never> | import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"listRuns", "GET", "/v1/runs/", never, import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
|
|
3052
3052
|
readonly workspaceId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
3053
3053
|
readonly ownerUserId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
3054
3054
|
readonly status: import("effect/Schema").optional<import("effect/Schema").Literals<readonly ["queued", "running", "completed", "failed", "cancelled"]>>;
|
|
@@ -3168,11 +3168,11 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
3168
3168
|
readonly diff: import("effect/Schema").String;
|
|
3169
3169
|
readonly available: import("effect/Schema").optional<import("effect/Schema").Boolean>;
|
|
3170
3170
|
readonly unavailableReason: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
3171
|
-
}>>, import("effect/Schema").toCodecJson<typeof import("./runs.js").RunNotFoundError | typeof import("./runs.js").RunInternalServerError>, RequestBudget | RequestRefusal, never>, false> | import("effect/http-api/HttpApiGroup").HttpApiGroup<"sessions", import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"
|
|
3171
|
+
}>>, import("effect/Schema").toCodecJson<typeof import("./runs.js").RunNotFoundError | typeof import("./runs.js").RunInternalServerError>, RequestBudget | RequestRefusal, never>, false> | import("effect/http-api/HttpApiGroup").HttpApiGroup<"sessions", import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"getSession", "GET", "/v1/sessions/:sessionId", import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
|
|
3172
3172
|
readonly sessionId: import("effect/Schema").String;
|
|
3173
|
-
}>>, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
|
|
3174
|
-
readonly ownerUserId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
3175
3173
|
}>>, import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
|
|
3174
|
+
readonly ownerUserId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
3175
|
+
}>>, never, import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
|
|
3176
3176
|
readonly authorization: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
3177
3177
|
}>>, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
|
|
3178
3178
|
readonly sessionId: import("effect/Schema").String;
|
|
@@ -3194,18 +3194,10 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
3194
3194
|
readonly outputHighWater: import("effect/Schema").String;
|
|
3195
3195
|
readonly createdAt: import("effect/Schema").String;
|
|
3196
3196
|
readonly endedAt: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
3197
|
-
}>>, import("effect/Schema").toCodecJson<typeof import("./sessions.js").SessionBadRequestError | typeof import("./sessions.js").SessionUnauthorizedError | typeof import("./sessions.js").SessionForbiddenError | typeof import("./sessions.js").SessionNotFoundError | typeof import("./sessions.js").
|
|
3198
|
-
readonly
|
|
3199
|
-
|
|
3200
|
-
readonly
|
|
3201
|
-
readonly cwd: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
3202
|
-
readonly env: import("effect/Schema").optional<import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").String>>;
|
|
3203
|
-
readonly cols: import("effect/Schema").optional<import("effect/Schema").Int>;
|
|
3204
|
-
readonly rows: import("effect/Schema").optional<import("effect/Schema").Int>;
|
|
3205
|
-
readonly term: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
3206
|
-
readonly mode: import("effect/Schema").optional<import("effect/Schema").Literals<readonly ["pty", "pipe"]>>;
|
|
3207
|
-
readonly metadata: import("effect/Schema").optional<import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").Unknown>>;
|
|
3208
|
-
readonly user: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
3197
|
+
}>>, import("effect/Schema").toCodecJson<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>, RequestBudget | RequestRefusal, never> | import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"closeSession", "POST", "/v1/sessions/:sessionId/close", import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
|
|
3198
|
+
readonly sessionId: import("effect/Schema").String;
|
|
3199
|
+
}>>, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
|
|
3200
|
+
readonly ownerUserId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
3209
3201
|
}>>, import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
|
|
3210
3202
|
readonly authorization: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
3211
3203
|
}>>, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
|
|
@@ -3228,7 +3220,7 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
3228
3220
|
readonly outputHighWater: import("effect/Schema").String;
|
|
3229
3221
|
readonly createdAt: import("effect/Schema").String;
|
|
3230
3222
|
readonly endedAt: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
3231
|
-
}>>, import("effect/Schema").toCodecJson<typeof import("./sessions.js").SessionBadRequestError | typeof import("./sessions.js").SessionUnauthorizedError | typeof import("./sessions.js").SessionForbiddenError | typeof import("./sessions.js").SessionNotFoundError | typeof import("./sessions.js").
|
|
3223
|
+
}>>, import("effect/Schema").toCodecJson<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>, RequestBudget | RequestRefusal, never> | import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"createSession", "POST", "/v1/sessions/", never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
|
|
3232
3224
|
readonly workspaceId: import("effect/Schema").String;
|
|
3233
3225
|
readonly ownerUserId: import("effect/Schema").String;
|
|
3234
3226
|
readonly argv: import("effect/Schema").$Array<import("effect/Schema").String>;
|
|
@@ -3239,7 +3231,7 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
3239
3231
|
readonly term: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
3240
3232
|
readonly mode: import("effect/Schema").optional<import("effect/Schema").Literals<readonly ["pty", "pipe"]>>;
|
|
3241
3233
|
readonly metadata: import("effect/Schema").optional<import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").Unknown>>;
|
|
3242
|
-
readonly user: import("effect/Schema").String
|
|
3234
|
+
readonly user: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
3243
3235
|
}>>, import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
|
|
3244
3236
|
readonly authorization: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
3245
3237
|
}>>, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
|
|
@@ -3262,11 +3254,19 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
3262
3254
|
readonly outputHighWater: import("effect/Schema").String;
|
|
3263
3255
|
readonly createdAt: import("effect/Schema").String;
|
|
3264
3256
|
readonly endedAt: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
3265
|
-
}>>, import("effect/Schema").toCodecJson<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>, RequestBudget | RequestRefusal, never> | import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"
|
|
3266
|
-
readonly
|
|
3257
|
+
}>>, import("effect/Schema").toCodecJson<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>, RequestBudget | RequestRefusal, never> | import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"createSessionAsUser", "POST", "/v1/sessions/as-user", never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
|
|
3258
|
+
readonly workspaceId: import("effect/Schema").String;
|
|
3259
|
+
readonly ownerUserId: import("effect/Schema").String;
|
|
3260
|
+
readonly argv: import("effect/Schema").$Array<import("effect/Schema").String>;
|
|
3261
|
+
readonly cwd: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
3262
|
+
readonly env: import("effect/Schema").optional<import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").String>>;
|
|
3263
|
+
readonly cols: import("effect/Schema").optional<import("effect/Schema").Int>;
|
|
3264
|
+
readonly rows: import("effect/Schema").optional<import("effect/Schema").Int>;
|
|
3265
|
+
readonly term: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
3266
|
+
readonly mode: import("effect/Schema").optional<import("effect/Schema").Literals<readonly ["pty", "pipe"]>>;
|
|
3267
|
+
readonly metadata: import("effect/Schema").optional<import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").Unknown>>;
|
|
3268
|
+
readonly user: import("effect/Schema").String;
|
|
3267
3269
|
}>>, import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
|
|
3268
|
-
readonly ownerUserId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
3269
|
-
}>>, never, import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
|
|
3270
3270
|
readonly authorization: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
3271
3271
|
}>>, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
|
|
3272
3272
|
readonly sessionId: import("effect/Schema").String;
|
|
@@ -3288,7 +3288,7 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
3288
3288
|
readonly outputHighWater: import("effect/Schema").String;
|
|
3289
3289
|
readonly createdAt: import("effect/Schema").String;
|
|
3290
3290
|
readonly endedAt: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
3291
|
-
}>>, import("effect/Schema").toCodecJson<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>, RequestBudget | RequestRefusal, never> | import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"listSessions", "GET", "/v1/sessions/", never, import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
|
|
3291
|
+
}>>, import("effect/Schema").toCodecJson<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>, RequestBudget | RequestRefusal, never> | import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"listSessions", "GET", "/v1/sessions/", never, import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
|
|
3292
3292
|
readonly ownerUserId: import("effect/Schema").String;
|
|
3293
3293
|
readonly workspaceId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
3294
3294
|
readonly status: import("effect/Schema").optional<import("effect/Schema").Literals<readonly ["starting", "running", "exited", "failed"]>>;
|
|
@@ -3468,27 +3468,16 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
3468
3468
|
readonly home: import("effect/Schema").String;
|
|
3469
3469
|
}>;
|
|
3470
3470
|
readonly created: import("effect/Schema").Boolean;
|
|
3471
|
-
}>>, import("effect/Schema").toCodecJson<typeof import("./users.js").UserPersonConflictError | typeof import("./users.js").UserBadRequestError | typeof import("./users.js").UserNotFoundError | typeof import("./users.js").UserInternalServerError>, RequestBudget | RequestRefusal, never>, false> | import("effect/http-api/HttpApiGroup").HttpApiGroup<"workspaces", import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"
|
|
3471
|
+
}>>, import("effect/Schema").toCodecJson<typeof import("./users.js").UserPersonConflictError | typeof import("./users.js").UserBadRequestError | typeof import("./users.js").UserNotFoundError | typeof import("./users.js").UserInternalServerError>, RequestBudget | RequestRefusal, never>, false> | import("effect/http-api/HttpApiGroup").HttpApiGroup<"workspaces", import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"execWorkspace", "POST", "/v1/workspaces/:workspaceId/exec", import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
|
|
3472
3472
|
readonly workspaceId: import("effect/Schema").String;
|
|
3473
3473
|
}>>, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
|
|
3474
3474
|
readonly ownerUserId: import("effect/Schema").String;
|
|
3475
|
-
readonly
|
|
3476
|
-
|
|
3477
|
-
|
|
3478
|
-
|
|
3479
|
-
readonly url: import("effect/Schema").String;
|
|
3480
|
-
readonly ref: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
3481
|
-
readonly manager: import("effect/Schema").optional<import("effect/Schema").Literals<readonly ["auto", "chezmoi", "stow", "copy"]>>;
|
|
3482
|
-
readonly bootstrap: import("effect/Schema").optional<import("effect/Schema").Boolean>;
|
|
3483
|
-
readonly bootstrapCommand: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
3475
|
+
readonly commands: import("effect/Schema").$Array<import("effect/Schema").Struct<{
|
|
3476
|
+
readonly executable: import("effect/Schema").String;
|
|
3477
|
+
readonly args: import("effect/Schema").$Array<import("effect/Schema").String>;
|
|
3478
|
+
readonly cwd: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
3484
3479
|
}>>;
|
|
3485
|
-
readonly
|
|
3486
|
-
readonly data: import("effect/Schema").String;
|
|
3487
|
-
readonly manager: import("effect/Schema").optional<import("effect/Schema").Literals<readonly ["auto", "chezmoi", "stow", "copy"]>>;
|
|
3488
|
-
readonly target: import("effect/Schema").optional<import("effect/Schema").Literals<readonly ["home", "config"]>>;
|
|
3489
|
-
readonly bootstrap: import("effect/Schema").optional<import("effect/Schema").Boolean>;
|
|
3490
|
-
readonly bootstrapCommand: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
3491
|
-
}>>>;
|
|
3480
|
+
readonly user: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
3492
3481
|
}>>, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
|
|
3493
3482
|
readonly runId: import("effect/Schema").String;
|
|
3494
3483
|
readonly workspaceId: import("effect/Schema").String;
|
|
@@ -3514,7 +3503,7 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
3514
3503
|
readonly recordDeletedAt: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
3515
3504
|
readonly createdAt: import("effect/Schema").String;
|
|
3516
3505
|
readonly updatedAt: import("effect/Schema").String;
|
|
3517
|
-
}>>, import("effect/Schema").toCodecJson<typeof import("./workspaces.js").WorkspaceBadRequestError | typeof import("./workspaces.js").
|
|
3506
|
+
}>>, import("effect/Schema").toCodecJson<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>, RequestBudget | RequestRefusal, never> | import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"execWorkspaceAsUser", "POST", "/v1/workspaces/:workspaceId/exec-as-user", import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
|
|
3518
3507
|
readonly workspaceId: import("effect/Schema").String;
|
|
3519
3508
|
}>>, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
|
|
3520
3509
|
readonly ownerUserId: import("effect/Schema").String;
|
|
@@ -3523,7 +3512,7 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
3523
3512
|
readonly args: import("effect/Schema").$Array<import("effect/Schema").String>;
|
|
3524
3513
|
readonly cwd: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
3525
3514
|
}>>;
|
|
3526
|
-
readonly user: import("effect/Schema").
|
|
3515
|
+
readonly user: import("effect/Schema").String;
|
|
3527
3516
|
}>>, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
|
|
3528
3517
|
readonly runId: import("effect/Schema").String;
|
|
3529
3518
|
readonly workspaceId: import("effect/Schema").String;
|
|
@@ -3549,16 +3538,27 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
3549
3538
|
readonly recordDeletedAt: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
3550
3539
|
readonly createdAt: import("effect/Schema").String;
|
|
3551
3540
|
readonly updatedAt: import("effect/Schema").String;
|
|
3552
|
-
}>>, import("effect/Schema").toCodecJson<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>, RequestBudget | RequestRefusal, never> | import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"
|
|
3541
|
+
}>>, import("effect/Schema").toCodecJson<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>, RequestBudget | RequestRefusal, never> | import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"applyWorkspaceDotfiles", "POST", "/v1/workspaces/:workspaceId/dotfiles", import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
|
|
3553
3542
|
readonly workspaceId: import("effect/Schema").String;
|
|
3554
3543
|
}>>, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
|
|
3555
3544
|
readonly ownerUserId: import("effect/Schema").String;
|
|
3556
|
-
readonly
|
|
3557
|
-
readonly executable: import("effect/Schema").String;
|
|
3558
|
-
readonly args: import("effect/Schema").$Array<import("effect/Schema").String>;
|
|
3559
|
-
readonly cwd: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
3560
|
-
}>>;
|
|
3545
|
+
readonly onBehalfOfUserId: import("effect/Schema").String;
|
|
3561
3546
|
readonly user: import("effect/Schema").String;
|
|
3547
|
+
readonly home: import("effect/Schema").String;
|
|
3548
|
+
readonly repository: import("effect/Schema").optional<import("effect/Schema").Struct<{
|
|
3549
|
+
readonly url: import("effect/Schema").String;
|
|
3550
|
+
readonly ref: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
3551
|
+
readonly manager: import("effect/Schema").optional<import("effect/Schema").Literals<readonly ["auto", "chezmoi", "stow", "copy"]>>;
|
|
3552
|
+
readonly bootstrap: import("effect/Schema").optional<import("effect/Schema").Boolean>;
|
|
3553
|
+
readonly bootstrapCommand: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
3554
|
+
}>>;
|
|
3555
|
+
readonly archives: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").Struct<{
|
|
3556
|
+
readonly data: import("effect/Schema").String;
|
|
3557
|
+
readonly manager: import("effect/Schema").optional<import("effect/Schema").Literals<readonly ["auto", "chezmoi", "stow", "copy"]>>;
|
|
3558
|
+
readonly target: import("effect/Schema").optional<import("effect/Schema").Literals<readonly ["home", "config"]>>;
|
|
3559
|
+
readonly bootstrap: import("effect/Schema").optional<import("effect/Schema").Boolean>;
|
|
3560
|
+
readonly bootstrapCommand: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
3561
|
+
}>>>;
|
|
3562
3562
|
}>>, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
|
|
3563
3563
|
readonly runId: import("effect/Schema").String;
|
|
3564
3564
|
readonly workspaceId: import("effect/Schema").String;
|
|
@@ -3584,7 +3584,7 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
3584
3584
|
readonly recordDeletedAt: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
3585
3585
|
readonly createdAt: import("effect/Schema").String;
|
|
3586
3586
|
readonly updatedAt: import("effect/Schema").String;
|
|
3587
|
-
}>>, import("effect/Schema").toCodecJson<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>, RequestBudget | RequestRefusal, never> | import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"bindWorkspace", "POST", "/v1/workspaces/:workspaceId/bind", import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
|
|
3587
|
+
}>>, import("effect/Schema").toCodecJson<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>, RequestBudget | RequestRefusal, never> | import("effect/http-api/HttpApiEndpoint").HttpApiEndpoint<"bindWorkspace", "POST", "/v1/workspaces/:workspaceId/bind", import("effect/Schema").toCodecStringTree<import("effect/Schema").Struct<{
|
|
3588
3588
|
readonly workspaceId: import("effect/Schema").String;
|
|
3589
3589
|
}>>, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
|
|
3590
3590
|
readonly ownerUserId: import("effect/Schema").String;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sealant/api-contracts-next",
|
|
3
|
-
"version": "0.40.0-next.
|
|
3
|
+
"version": "0.40.0-next.903",
|
|
4
4
|
"description": "Contract-first HTTP API definitions for Sealant services",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"peerDependencies": {
|
|
37
37
|
"effect": "^4.0.5"
|
|
38
38
|
},
|
|
39
|
-
"gitHead": "
|
|
39
|
+
"gitHead": "527f6d8feb8523d20c4a760cde45e8cbd1098f88",
|
|
40
40
|
"publishConfig": {
|
|
41
41
|
"access": "public"
|
|
42
42
|
}
|