@sealant/api-contracts-next 0.40.0-next.932 → 0.40.0-next.934
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/connected-accounts.d.ts +12 -12
- package/dist/core-api/connected-accounts.js +6 -1
- package/dist/core-api/control-plane.d.ts +30 -16
- package/dist/core-api/profiles.d.ts +10 -10
- package/dist/core-api/workspaces.d.ts +55 -15
- package/dist/core-api/workspaces.js +12 -1
- package/package.json +2 -2
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Schema } from "effect";
|
|
2
2
|
import { HttpApiEndpoint, HttpApiGroup } from "effect/http-api";
|
|
3
|
-
export declare const connectedAccountProviderSchema: Schema.Literals<readonly ["claude", "codex", "github"]>;
|
|
3
|
+
export declare const connectedAccountProviderSchema: Schema.Literals<readonly ["claude", "codex", "github", "antigravity"]>;
|
|
4
4
|
export type ConnectedAccountProvider = typeof connectedAccountProviderSchema.Type;
|
|
5
5
|
export declare const connectedAccountStatusSchema: Schema.Literals<readonly ["active", "invalid", "archived"]>;
|
|
6
6
|
export type ConnectedAccountStatus = typeof connectedAccountStatusSchema.Type;
|
|
@@ -39,7 +39,7 @@ export type ConnectedAccountLogin = typeof connectedAccountLoginSchema.Type;
|
|
|
39
39
|
export declare const connectedAccountSummarySchema: Schema.Struct<{
|
|
40
40
|
readonly connectedAccountId: Schema.String;
|
|
41
41
|
readonly ownerUserId: Schema.String;
|
|
42
|
-
readonly provider: Schema.Literals<readonly ["claude", "codex", "github"]>;
|
|
42
|
+
readonly provider: Schema.Literals<readonly ["claude", "codex", "github", "antigravity"]>;
|
|
43
43
|
readonly name: Schema.String;
|
|
44
44
|
readonly kind: Schema.String;
|
|
45
45
|
readonly status: Schema.Literals<readonly ["active", "invalid", "archived"]>;
|
|
@@ -78,7 +78,7 @@ export declare const connectedAccountSummarySchema: Schema.Struct<{
|
|
|
78
78
|
export type ConnectedAccountSummary = typeof connectedAccountSummarySchema.Type;
|
|
79
79
|
export declare const createConnectedAccountRequestSchema: Schema.Struct<{
|
|
80
80
|
readonly ownerUserId: Schema.String;
|
|
81
|
-
readonly provider: Schema.Literals<readonly ["claude", "codex", "github"]>;
|
|
81
|
+
readonly provider: Schema.Literals<readonly ["claude", "codex", "github", "antigravity"]>;
|
|
82
82
|
/**
|
|
83
83
|
* The account to connect or replace by name; a new name is a new account, and `default` names
|
|
84
84
|
* the owner's chosen default. The owner's first account for the provider is named `default`
|
|
@@ -116,7 +116,7 @@ export declare const listConnectedAccountsResponseSchema: Schema.Struct<{
|
|
|
116
116
|
readonly items: Schema.$Array<Schema.Struct<{
|
|
117
117
|
readonly connectedAccountId: Schema.String;
|
|
118
118
|
readonly ownerUserId: Schema.String;
|
|
119
|
-
readonly provider: Schema.Literals<readonly ["claude", "codex", "github"]>;
|
|
119
|
+
readonly provider: Schema.Literals<readonly ["claude", "codex", "github", "antigravity"]>;
|
|
120
120
|
readonly name: Schema.String;
|
|
121
121
|
readonly kind: Schema.String;
|
|
122
122
|
readonly status: Schema.Literals<readonly ["active", "invalid", "archived"]>;
|
|
@@ -171,7 +171,7 @@ export type MarkConnectedAccountInvalidRequest = typeof markConnectedAccountInva
|
|
|
171
171
|
export declare const markConnectedAccountInvalidResponseSchema: Schema.Struct<{
|
|
172
172
|
readonly connectedAccountId: Schema.String;
|
|
173
173
|
readonly ownerUserId: Schema.String;
|
|
174
|
-
readonly provider: Schema.Literals<readonly ["claude", "codex", "github"]>;
|
|
174
|
+
readonly provider: Schema.Literals<readonly ["claude", "codex", "github", "antigravity"]>;
|
|
175
175
|
readonly name: Schema.String;
|
|
176
176
|
readonly kind: Schema.String;
|
|
177
177
|
readonly status: Schema.Literals<readonly ["active", "invalid", "archived"]>;
|
|
@@ -255,7 +255,7 @@ export declare const ConnectedAccountsGroup: HttpApiGroup.HttpApiGroup<"connecte
|
|
|
255
255
|
}>>, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
256
256
|
readonly connectedAccountId: Schema.String;
|
|
257
257
|
readonly ownerUserId: Schema.String;
|
|
258
|
-
readonly provider: Schema.Literals<readonly ["claude", "codex", "github"]>;
|
|
258
|
+
readonly provider: Schema.Literals<readonly ["claude", "codex", "github", "antigravity"]>;
|
|
259
259
|
readonly name: Schema.String;
|
|
260
260
|
readonly kind: Schema.String;
|
|
261
261
|
readonly status: Schema.Literals<readonly ["active", "invalid", "archived"]>;
|
|
@@ -292,7 +292,7 @@ export declare const ConnectedAccountsGroup: HttpApiGroup.HttpApiGroup<"connecte
|
|
|
292
292
|
}>]>>;
|
|
293
293
|
}>>, Schema.toCodecJson<typeof ConnectedAccountNotFoundError | typeof ConnectedAccountInternalServerError>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"createConnectedAccount", "POST", "/", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
294
294
|
readonly ownerUserId: Schema.String;
|
|
295
|
-
readonly provider: Schema.Literals<readonly ["claude", "codex", "github"]>;
|
|
295
|
+
readonly provider: Schema.Literals<readonly ["claude", "codex", "github", "antigravity"]>;
|
|
296
296
|
/**
|
|
297
297
|
* The account to connect or replace by name; a new name is a new account, and `default` names
|
|
298
298
|
* the owner's chosen default. The owner's first account for the provider is named `default`
|
|
@@ -323,7 +323,7 @@ export declare const ConnectedAccountsGroup: HttpApiGroup.HttpApiGroup<"connecte
|
|
|
323
323
|
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
324
324
|
readonly connectedAccountId: Schema.String;
|
|
325
325
|
readonly ownerUserId: Schema.String;
|
|
326
|
-
readonly provider: Schema.Literals<readonly ["claude", "codex", "github"]>;
|
|
326
|
+
readonly provider: Schema.Literals<readonly ["claude", "codex", "github", "antigravity"]>;
|
|
327
327
|
readonly name: Schema.String;
|
|
328
328
|
readonly kind: Schema.String;
|
|
329
329
|
readonly status: Schema.Literals<readonly ["active", "invalid", "archived"]>;
|
|
@@ -364,7 +364,7 @@ export declare const ConnectedAccountsGroup: HttpApiGroup.HttpApiGroup<"connecte
|
|
|
364
364
|
readonly items: Schema.$Array<Schema.Struct<{
|
|
365
365
|
readonly connectedAccountId: Schema.String;
|
|
366
366
|
readonly ownerUserId: Schema.String;
|
|
367
|
-
readonly provider: Schema.Literals<readonly ["claude", "codex", "github"]>;
|
|
367
|
+
readonly provider: Schema.Literals<readonly ["claude", "codex", "github", "antigravity"]>;
|
|
368
368
|
readonly name: Schema.String;
|
|
369
369
|
readonly kind: Schema.String;
|
|
370
370
|
readonly status: Schema.Literals<readonly ["active", "invalid", "archived"]>;
|
|
@@ -417,7 +417,7 @@ export declare const ConnectedAccountsGroup: HttpApiGroup.HttpApiGroup<"connecte
|
|
|
417
417
|
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
418
418
|
readonly connectedAccountId: Schema.String;
|
|
419
419
|
readonly ownerUserId: Schema.String;
|
|
420
|
-
readonly provider: Schema.Literals<readonly ["claude", "codex", "github"]>;
|
|
420
|
+
readonly provider: Schema.Literals<readonly ["claude", "codex", "github", "antigravity"]>;
|
|
421
421
|
readonly name: Schema.String;
|
|
422
422
|
readonly kind: Schema.String;
|
|
423
423
|
readonly status: Schema.Literals<readonly ["active", "invalid", "archived"]>;
|
|
@@ -455,14 +455,14 @@ export declare const ConnectedAccountsGroup: HttpApiGroup.HttpApiGroup<"connecte
|
|
|
455
455
|
/** `marked`: the account is now invalid. `superseded`: a newer credential, left as it was. */
|
|
456
456
|
readonly outcome: Schema.optional<Schema.Literals<readonly ["marked", "superseded"]>>;
|
|
457
457
|
}>>, Schema.toCodecJson<typeof ConnectedAccountNotFoundError | typeof ConnectedAccountInternalServerError>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"setConnectedAccountDefault", "PUT", "/defaults/:provider", Schema.toCodecStringTree<Schema.Struct<{
|
|
458
|
-
readonly provider: Schema.Literals<readonly ["claude", "codex", "github"]>;
|
|
458
|
+
readonly provider: Schema.Literals<readonly ["claude", "codex", "github", "antigravity"]>;
|
|
459
459
|
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
460
460
|
readonly ownerUserId: Schema.String;
|
|
461
461
|
readonly connectedAccountId: Schema.String;
|
|
462
462
|
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
463
463
|
readonly connectedAccountId: Schema.String;
|
|
464
464
|
readonly ownerUserId: Schema.String;
|
|
465
|
-
readonly provider: Schema.Literals<readonly ["claude", "codex", "github"]>;
|
|
465
|
+
readonly provider: Schema.Literals<readonly ["claude", "codex", "github", "antigravity"]>;
|
|
466
466
|
readonly name: Schema.String;
|
|
467
467
|
readonly kind: Schema.String;
|
|
468
468
|
readonly status: Schema.Literals<readonly ["active", "invalid", "archived"]>;
|
|
@@ -19,7 +19,12 @@ SDK's `true`) means. Connecting a person's first account for a provider makes it
|
|
|
19
19
|
after that only `makeDefault` on a connect, or `setConnectedAccountDefault`, changes it.
|
|
20
20
|
Disconnecting the default leaves the person without one: no other account is chosen for them.
|
|
21
21
|
*/
|
|
22
|
-
export const connectedAccountProviderSchema = Schema.Literals([
|
|
22
|
+
export const connectedAccountProviderSchema = Schema.Literals([
|
|
23
|
+
"claude",
|
|
24
|
+
"codex",
|
|
25
|
+
"github",
|
|
26
|
+
"antigravity",
|
|
27
|
+
]);
|
|
23
28
|
export const connectedAccountStatusSchema = Schema.Literals(["active", "invalid", "archived"]);
|
|
24
29
|
/**
|
|
25
30
|
* What the control plane observed about a credential's life, so a consumer can say "expired" as an
|
|
@@ -2054,7 +2054,7 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
2054
2054
|
}>>, never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
|
|
2055
2055
|
readonly connectedAccountId: import("effect/Schema").String;
|
|
2056
2056
|
readonly ownerUserId: import("effect/Schema").String;
|
|
2057
|
-
readonly provider: import("effect/Schema").Literals<readonly ["claude", "codex", "github"]>;
|
|
2057
|
+
readonly provider: import("effect/Schema").Literals<readonly ["claude", "codex", "github", "antigravity"]>;
|
|
2058
2058
|
readonly name: import("effect/Schema").String;
|
|
2059
2059
|
readonly kind: import("effect/Schema").String;
|
|
2060
2060
|
readonly status: import("effect/Schema").Literals<readonly ["active", "invalid", "archived"]>;
|
|
@@ -2080,7 +2080,7 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
2080
2080
|
}>]>>;
|
|
2081
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<"createConnectedAccount", "POST", "/v1/connected-accounts/", never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
|
|
2082
2082
|
readonly ownerUserId: import("effect/Schema").String;
|
|
2083
|
-
readonly provider: import("effect/Schema").Literals<readonly ["claude", "codex", "github"]>;
|
|
2083
|
+
readonly provider: import("effect/Schema").Literals<readonly ["claude", "codex", "github", "antigravity"]>;
|
|
2084
2084
|
readonly name: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
2085
2085
|
readonly accountId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
2086
2086
|
readonly makeDefault: import("effect/Schema").optional<import("effect/Schema").Boolean>;
|
|
@@ -2090,7 +2090,7 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
2090
2090
|
}>>, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
|
|
2091
2091
|
readonly connectedAccountId: import("effect/Schema").String;
|
|
2092
2092
|
readonly ownerUserId: import("effect/Schema").String;
|
|
2093
|
-
readonly provider: import("effect/Schema").Literals<readonly ["claude", "codex", "github"]>;
|
|
2093
|
+
readonly provider: import("effect/Schema").Literals<readonly ["claude", "codex", "github", "antigravity"]>;
|
|
2094
2094
|
readonly name: import("effect/Schema").String;
|
|
2095
2095
|
readonly kind: import("effect/Schema").String;
|
|
2096
2096
|
readonly status: import("effect/Schema").Literals<readonly ["active", "invalid", "archived"]>;
|
|
@@ -2120,7 +2120,7 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
2120
2120
|
readonly items: import("effect/Schema").$Array<import("effect/Schema").Struct<{
|
|
2121
2121
|
readonly connectedAccountId: import("effect/Schema").String;
|
|
2122
2122
|
readonly ownerUserId: import("effect/Schema").String;
|
|
2123
|
-
readonly provider: import("effect/Schema").Literals<readonly ["claude", "codex", "github"]>;
|
|
2123
|
+
readonly provider: import("effect/Schema").Literals<readonly ["claude", "codex", "github", "antigravity"]>;
|
|
2124
2124
|
readonly name: import("effect/Schema").String;
|
|
2125
2125
|
readonly kind: import("effect/Schema").String;
|
|
2126
2126
|
readonly status: import("effect/Schema").Literals<readonly ["active", "invalid", "archived"]>;
|
|
@@ -2154,7 +2154,7 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
2154
2154
|
}>>, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
|
|
2155
2155
|
readonly connectedAccountId: import("effect/Schema").String;
|
|
2156
2156
|
readonly ownerUserId: import("effect/Schema").String;
|
|
2157
|
-
readonly provider: import("effect/Schema").Literals<readonly ["claude", "codex", "github"]>;
|
|
2157
|
+
readonly provider: import("effect/Schema").Literals<readonly ["claude", "codex", "github", "antigravity"]>;
|
|
2158
2158
|
readonly name: import("effect/Schema").String;
|
|
2159
2159
|
readonly kind: import("effect/Schema").String;
|
|
2160
2160
|
readonly status: import("effect/Schema").Literals<readonly ["active", "invalid", "archived"]>;
|
|
@@ -2180,14 +2180,14 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
2180
2180
|
}>]>>;
|
|
2181
2181
|
readonly outcome: import("effect/Schema").optional<import("effect/Schema").Literals<readonly ["marked", "superseded"]>>;
|
|
2182
2182
|
}>>, 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<{
|
|
2183
|
-
readonly provider: import("effect/Schema").Literals<readonly ["claude", "codex", "github"]>;
|
|
2183
|
+
readonly provider: import("effect/Schema").Literals<readonly ["claude", "codex", "github", "antigravity"]>;
|
|
2184
2184
|
}>>, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
|
|
2185
2185
|
readonly ownerUserId: import("effect/Schema").String;
|
|
2186
2186
|
readonly connectedAccountId: import("effect/Schema").String;
|
|
2187
2187
|
}>>, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
|
|
2188
2188
|
readonly connectedAccountId: import("effect/Schema").String;
|
|
2189
2189
|
readonly ownerUserId: import("effect/Schema").String;
|
|
2190
|
-
readonly provider: import("effect/Schema").Literals<readonly ["claude", "codex", "github"]>;
|
|
2190
|
+
readonly provider: import("effect/Schema").Literals<readonly ["claude", "codex", "github", "antigravity"]>;
|
|
2191
2191
|
readonly name: import("effect/Schema").String;
|
|
2192
2192
|
readonly kind: import("effect/Schema").String;
|
|
2193
2193
|
readonly status: import("effect/Schema").Literals<readonly ["active", "invalid", "archived"]>;
|
|
@@ -2378,12 +2378,12 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
2378
2378
|
}>>, never, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
|
|
2379
2379
|
readonly items: import("effect/Schema").$Array<import("effect/Schema").Struct<{
|
|
2380
2380
|
readonly profileId: import("effect/Schema").String;
|
|
2381
|
-
readonly provider: import("effect/Schema").Literals<readonly ["claude", "codex", "github"]>;
|
|
2381
|
+
readonly provider: import("effect/Schema").Literals<readonly ["claude", "codex", "github", "antigravity"]>;
|
|
2382
2382
|
readonly connectedAccountId: import("effect/Schema").String;
|
|
2383
2383
|
readonly account: import("effect/Schema").Struct<{
|
|
2384
2384
|
readonly connectedAccountId: import("effect/Schema").String;
|
|
2385
2385
|
readonly ownerUserId: import("effect/Schema").String;
|
|
2386
|
-
readonly provider: import("effect/Schema").Literals<readonly ["claude", "codex", "github"]>;
|
|
2386
|
+
readonly provider: import("effect/Schema").Literals<readonly ["claude", "codex", "github", "antigravity"]>;
|
|
2387
2387
|
readonly name: import("effect/Schema").String;
|
|
2388
2388
|
readonly kind: import("effect/Schema").String;
|
|
2389
2389
|
readonly status: import("effect/Schema").Literals<readonly ["active", "invalid", "archived"]>;
|
|
@@ -2427,17 +2427,17 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
2427
2427
|
readonly profileId: import("effect/Schema").String;
|
|
2428
2428
|
}>>, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
|
|
2429
2429
|
readonly ownerUserId: import("effect/Schema").String;
|
|
2430
|
-
readonly provider: import("effect/Schema").Literals<readonly ["claude", "codex", "github"]>;
|
|
2430
|
+
readonly provider: import("effect/Schema").Literals<readonly ["claude", "codex", "github", "antigravity"]>;
|
|
2431
2431
|
readonly connectedAccountId: import("effect/Schema").NullOr<import("effect/Schema").String>;
|
|
2432
2432
|
}>>, never, import("effect/Schema").toCodecJson<import("effect/Schema").Struct<{
|
|
2433
2433
|
readonly items: import("effect/Schema").$Array<import("effect/Schema").Struct<{
|
|
2434
2434
|
readonly profileId: import("effect/Schema").String;
|
|
2435
|
-
readonly provider: import("effect/Schema").Literals<readonly ["claude", "codex", "github"]>;
|
|
2435
|
+
readonly provider: import("effect/Schema").Literals<readonly ["claude", "codex", "github", "antigravity"]>;
|
|
2436
2436
|
readonly connectedAccountId: import("effect/Schema").String;
|
|
2437
2437
|
readonly account: import("effect/Schema").Struct<{
|
|
2438
2438
|
readonly connectedAccountId: import("effect/Schema").String;
|
|
2439
2439
|
readonly ownerUserId: import("effect/Schema").String;
|
|
2440
|
-
readonly provider: import("effect/Schema").Literals<readonly ["claude", "codex", "github"]>;
|
|
2440
|
+
readonly provider: import("effect/Schema").Literals<readonly ["claude", "codex", "github", "antigravity"]>;
|
|
2441
2441
|
readonly name: import("effect/Schema").String;
|
|
2442
2442
|
readonly kind: import("effect/Schema").String;
|
|
2443
2443
|
readonly status: import("effect/Schema").Literals<readonly ["active", "invalid", "archived"]>;
|
|
@@ -3566,6 +3566,7 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
3566
3566
|
readonly claude: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
3567
3567
|
readonly codex: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
3568
3568
|
readonly github: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
3569
|
+
readonly antigravity: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
3569
3570
|
}>>;
|
|
3570
3571
|
readonly spec: import("effect/Schema").Unknown;
|
|
3571
3572
|
readonly secretEnv: import("effect/Schema").optional<import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").String>>;
|
|
@@ -4180,7 +4181,7 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
4180
4181
|
readonly baseUrl: import("effect/Schema").optional<import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").toType<import("effect/Schema").String>, import("effect/Schema").String, never, never>, "EndpointUrl">>;
|
|
4181
4182
|
}>]>;
|
|
4182
4183
|
readonly pinned: import("effect/Schema").Boolean;
|
|
4183
|
-
readonly provider: import("effect/Schema").Literals<readonly ["claude", "codex", "github", "pi", "opencode"]>;
|
|
4184
|
+
readonly provider: import("effect/Schema").Literals<readonly ["claude", "codex", "github", "antigravity", "pi", "opencode"]>;
|
|
4184
4185
|
}>>>;
|
|
4185
4186
|
readonly accounts: import("effect/Schema").Struct<{
|
|
4186
4187
|
readonly claude: import("effect/Schema").optional<import("effect/Schema").Struct<{
|
|
@@ -4195,6 +4196,10 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
4195
4196
|
readonly connectedAccountId: import("effect/Schema").String;
|
|
4196
4197
|
readonly name: import("effect/Schema").String;
|
|
4197
4198
|
}>>;
|
|
4199
|
+
readonly antigravity: import("effect/Schema").optional<import("effect/Schema").Struct<{
|
|
4200
|
+
readonly connectedAccountId: import("effect/Schema").String;
|
|
4201
|
+
readonly name: import("effect/Schema").String;
|
|
4202
|
+
}>>;
|
|
4198
4203
|
readonly pi: import("effect/Schema").optional<import("effect/Schema").Struct<{
|
|
4199
4204
|
readonly connectedAccountId: import("effect/Schema").String;
|
|
4200
4205
|
readonly name: import("effect/Schema").String;
|
|
@@ -4457,7 +4462,7 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
4457
4462
|
readonly baseUrl: import("effect/Schema").optional<import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").toType<import("effect/Schema").String>, import("effect/Schema").String, never, never>, "EndpointUrl">>;
|
|
4458
4463
|
}>]>;
|
|
4459
4464
|
readonly pinned: import("effect/Schema").Boolean;
|
|
4460
|
-
readonly provider: import("effect/Schema").Literals<readonly ["claude", "codex", "github", "pi", "opencode"]>;
|
|
4465
|
+
readonly provider: import("effect/Schema").Literals<readonly ["claude", "codex", "github", "antigravity", "pi", "opencode"]>;
|
|
4461
4466
|
}>>>;
|
|
4462
4467
|
readonly accounts: import("effect/Schema").Struct<{
|
|
4463
4468
|
readonly claude: import("effect/Schema").optional<import("effect/Schema").Struct<{
|
|
@@ -4472,6 +4477,10 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
4472
4477
|
readonly connectedAccountId: import("effect/Schema").String;
|
|
4473
4478
|
readonly name: import("effect/Schema").String;
|
|
4474
4479
|
}>>;
|
|
4480
|
+
readonly antigravity: import("effect/Schema").optional<import("effect/Schema").Struct<{
|
|
4481
|
+
readonly connectedAccountId: import("effect/Schema").String;
|
|
4482
|
+
readonly name: import("effect/Schema").String;
|
|
4483
|
+
}>>;
|
|
4475
4484
|
readonly pi: import("effect/Schema").optional<import("effect/Schema").Struct<{
|
|
4476
4485
|
readonly connectedAccountId: import("effect/Schema").String;
|
|
4477
4486
|
readonly name: import("effect/Schema").String;
|
|
@@ -4493,6 +4502,7 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
4493
4502
|
readonly claude: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").String>>;
|
|
4494
4503
|
readonly codex: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").String>>;
|
|
4495
4504
|
readonly github: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").String>>;
|
|
4505
|
+
readonly antigravity: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").String>>;
|
|
4496
4506
|
readonly pi: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").String>>;
|
|
4497
4507
|
readonly opencode: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").String>>;
|
|
4498
4508
|
readonly partial: import("effect/Schema").optional<import("effect/Schema").Boolean>;
|
|
@@ -4516,7 +4526,7 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
4516
4526
|
readonly baseUrl: import("effect/Schema").optional<import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").toType<import("effect/Schema").String>, import("effect/Schema").String, never, never>, "EndpointUrl">>;
|
|
4517
4527
|
}>]>;
|
|
4518
4528
|
readonly pinned: import("effect/Schema").Boolean;
|
|
4519
|
-
readonly provider: import("effect/Schema").Literals<readonly ["claude", "codex", "github", "pi", "opencode"]>;
|
|
4529
|
+
readonly provider: import("effect/Schema").Literals<readonly ["claude", "codex", "github", "antigravity", "pi", "opencode"]>;
|
|
4520
4530
|
}>>>;
|
|
4521
4531
|
readonly accounts: import("effect/Schema").Struct<{
|
|
4522
4532
|
readonly claude: import("effect/Schema").optional<import("effect/Schema").Struct<{
|
|
@@ -4531,6 +4541,10 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
4531
4541
|
readonly connectedAccountId: import("effect/Schema").String;
|
|
4532
4542
|
readonly name: import("effect/Schema").String;
|
|
4533
4543
|
}>>;
|
|
4544
|
+
readonly antigravity: import("effect/Schema").optional<import("effect/Schema").Struct<{
|
|
4545
|
+
readonly connectedAccountId: import("effect/Schema").String;
|
|
4546
|
+
readonly name: import("effect/Schema").String;
|
|
4547
|
+
}>>;
|
|
4534
4548
|
readonly pi: import("effect/Schema").optional<import("effect/Schema").Struct<{
|
|
4535
4549
|
readonly connectedAccountId: import("effect/Schema").String;
|
|
4536
4550
|
readonly name: import("effect/Schema").String;
|
|
@@ -4542,7 +4556,7 @@ export declare const ControlPlaneAPI: HttpApi.HttpApi<"sealantControlPlaneApi",
|
|
|
4542
4556
|
}>;
|
|
4543
4557
|
}>;
|
|
4544
4558
|
readonly skipped: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").Struct<{
|
|
4545
|
-
readonly provider: import("effect/Schema").Literals<readonly ["claude", "codex", "github", "pi", "opencode"]>;
|
|
4559
|
+
readonly provider: import("effect/Schema").Literals<readonly ["claude", "codex", "github", "antigravity", "pi", "opencode"]>;
|
|
4546
4560
|
readonly code: import("effect/Schema").Literals<readonly ["connected-account-missing", "connected-account-invalid", "connected-account-unsupported", "login-file-unusable"]>;
|
|
4547
4561
|
readonly message: import("effect/Schema").String;
|
|
4548
4562
|
}>>>;
|
|
@@ -34,12 +34,12 @@ export declare const listProfilesResponseSchema: Schema.Struct<{
|
|
|
34
34
|
export type ListProfilesResponse = typeof listProfilesResponseSchema.Type;
|
|
35
35
|
export declare const profileCredentialBindingWithAccountSchema: Schema.Struct<{
|
|
36
36
|
readonly profileId: Schema.String;
|
|
37
|
-
readonly provider: Schema.Literals<readonly ["claude", "codex", "github"]>;
|
|
37
|
+
readonly provider: Schema.Literals<readonly ["claude", "codex", "github", "antigravity"]>;
|
|
38
38
|
readonly connectedAccountId: Schema.String;
|
|
39
39
|
readonly account: Schema.Struct<{
|
|
40
40
|
readonly connectedAccountId: Schema.String;
|
|
41
41
|
readonly ownerUserId: Schema.String;
|
|
42
|
-
readonly provider: Schema.Literals<readonly ["claude", "codex", "github"]>;
|
|
42
|
+
readonly provider: Schema.Literals<readonly ["claude", "codex", "github", "antigravity"]>;
|
|
43
43
|
readonly name: Schema.String;
|
|
44
44
|
readonly kind: Schema.String;
|
|
45
45
|
readonly status: Schema.Literals<readonly ["active", "invalid", "archived"]>;
|
|
@@ -69,12 +69,12 @@ export type ProfileCredentialBindingWithAccount = typeof profileCredentialBindin
|
|
|
69
69
|
export declare const listProfileCredentialBindingsResponseSchema: Schema.Struct<{
|
|
70
70
|
readonly items: Schema.$Array<Schema.Struct<{
|
|
71
71
|
readonly profileId: Schema.String;
|
|
72
|
-
readonly provider: Schema.Literals<readonly ["claude", "codex", "github"]>;
|
|
72
|
+
readonly provider: Schema.Literals<readonly ["claude", "codex", "github", "antigravity"]>;
|
|
73
73
|
readonly connectedAccountId: Schema.String;
|
|
74
74
|
readonly account: Schema.Struct<{
|
|
75
75
|
readonly connectedAccountId: Schema.String;
|
|
76
76
|
readonly ownerUserId: Schema.String;
|
|
77
|
-
readonly provider: Schema.Literals<readonly ["claude", "codex", "github"]>;
|
|
77
|
+
readonly provider: Schema.Literals<readonly ["claude", "codex", "github", "antigravity"]>;
|
|
78
78
|
readonly name: Schema.String;
|
|
79
79
|
readonly kind: Schema.String;
|
|
80
80
|
readonly status: Schema.Literals<readonly ["active", "invalid", "archived"]>;
|
|
@@ -104,7 +104,7 @@ export declare const listProfileCredentialBindingsResponseSchema: Schema.Struct<
|
|
|
104
104
|
export type ListProfileCredentialBindingsResponse = typeof listProfileCredentialBindingsResponseSchema.Type;
|
|
105
105
|
export declare const setProfileCredentialBindingRequestSchema: Schema.Struct<{
|
|
106
106
|
readonly ownerUserId: Schema.String;
|
|
107
|
-
readonly provider: Schema.Literals<readonly ["claude", "codex", "github"]>;
|
|
107
|
+
readonly provider: Schema.Literals<readonly ["claude", "codex", "github", "antigravity"]>;
|
|
108
108
|
/**
|
|
109
109
|
* The account to bind: its id, or `default` for the owner's chosen default for `provider` (an
|
|
110
110
|
* account name is accepted too). null clears the binding for that provider; the profile id
|
|
@@ -140,12 +140,12 @@ export declare const ProfilesGroup: HttpApiGroup.HttpApiGroup<"profiles", HttpAp
|
|
|
140
140
|
}>>, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
141
141
|
readonly items: Schema.$Array<Schema.Struct<{
|
|
142
142
|
readonly profileId: Schema.String;
|
|
143
|
-
readonly provider: Schema.Literals<readonly ["claude", "codex", "github"]>;
|
|
143
|
+
readonly provider: Schema.Literals<readonly ["claude", "codex", "github", "antigravity"]>;
|
|
144
144
|
readonly connectedAccountId: Schema.String;
|
|
145
145
|
readonly account: Schema.Struct<{
|
|
146
146
|
readonly connectedAccountId: Schema.String;
|
|
147
147
|
readonly ownerUserId: Schema.String;
|
|
148
|
-
readonly provider: Schema.Literals<readonly ["claude", "codex", "github"]>;
|
|
148
|
+
readonly provider: Schema.Literals<readonly ["claude", "codex", "github", "antigravity"]>;
|
|
149
149
|
readonly name: Schema.String;
|
|
150
150
|
readonly kind: Schema.String;
|
|
151
151
|
readonly status: Schema.Literals<readonly ["active", "invalid", "archived"]>;
|
|
@@ -189,7 +189,7 @@ export declare const ProfilesGroup: HttpApiGroup.HttpApiGroup<"profiles", HttpAp
|
|
|
189
189
|
readonly profileId: Schema.String;
|
|
190
190
|
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
191
191
|
readonly ownerUserId: Schema.String;
|
|
192
|
-
readonly provider: Schema.Literals<readonly ["claude", "codex", "github"]>;
|
|
192
|
+
readonly provider: Schema.Literals<readonly ["claude", "codex", "github", "antigravity"]>;
|
|
193
193
|
/**
|
|
194
194
|
* The account to bind: its id, or `default` for the owner's chosen default for `provider` (an
|
|
195
195
|
* account name is accepted too). null clears the binding for that provider; the profile id
|
|
@@ -199,12 +199,12 @@ export declare const ProfilesGroup: HttpApiGroup.HttpApiGroup<"profiles", HttpAp
|
|
|
199
199
|
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
200
200
|
readonly items: Schema.$Array<Schema.Struct<{
|
|
201
201
|
readonly profileId: Schema.String;
|
|
202
|
-
readonly provider: Schema.Literals<readonly ["claude", "codex", "github"]>;
|
|
202
|
+
readonly provider: Schema.Literals<readonly ["claude", "codex", "github", "antigravity"]>;
|
|
203
203
|
readonly connectedAccountId: Schema.String;
|
|
204
204
|
readonly account: Schema.Struct<{
|
|
205
205
|
readonly connectedAccountId: Schema.String;
|
|
206
206
|
readonly ownerUserId: Schema.String;
|
|
207
|
-
readonly provider: Schema.Literals<readonly ["claude", "codex", "github"]>;
|
|
207
|
+
readonly provider: Schema.Literals<readonly ["claude", "codex", "github", "antigravity"]>;
|
|
208
208
|
readonly name: Schema.String;
|
|
209
209
|
readonly kind: Schema.String;
|
|
210
210
|
readonly status: Schema.Literals<readonly ["active", "invalid", "archived"]>;
|
|
@@ -207,6 +207,7 @@ export declare const createWorkspaceCredentialsSchema: Schema.Struct<{
|
|
|
207
207
|
readonly claude: Schema.optional<Schema.String>;
|
|
208
208
|
readonly codex: Schema.optional<Schema.String>;
|
|
209
209
|
readonly github: Schema.optional<Schema.String>;
|
|
210
|
+
readonly antigravity: Schema.optional<Schema.String>;
|
|
210
211
|
}>;
|
|
211
212
|
export type CreateWorkspaceCredentials = typeof createWorkspaceCredentialsSchema.Type;
|
|
212
213
|
/**
|
|
@@ -255,6 +256,7 @@ export declare const createWorkspaceRequestSchema: Schema.Struct<{
|
|
|
255
256
|
readonly claude: Schema.optional<Schema.String>;
|
|
256
257
|
readonly codex: Schema.optional<Schema.String>;
|
|
257
258
|
readonly github: Schema.optional<Schema.String>;
|
|
259
|
+
readonly antigravity: Schema.optional<Schema.String>;
|
|
258
260
|
}>>;
|
|
259
261
|
/**
|
|
260
262
|
* The workspace's spec (the blueprint in `@sealant/validators`), stored with the workspace and
|
|
@@ -1197,10 +1199,10 @@ export type ConnectedAccountRefusalCode = (typeof connectedAccountRefusalCodes)[
|
|
|
1197
1199
|
* `opencode` are the person's ChatGPT login (a Codex connected account), written into each tool's
|
|
1198
1200
|
* own `auth.json`.
|
|
1199
1201
|
*/
|
|
1200
|
-
export declare const workspaceCredentialHomeProviders: readonly ["claude", "codex", "github", "pi", "opencode"];
|
|
1202
|
+
export declare const workspaceCredentialHomeProviders: readonly ["claude", "codex", "github", "antigravity", "pi", "opencode"];
|
|
1201
1203
|
export type WorkspaceCredentialHomeProvider = (typeof workspaceCredentialHomeProviders)[number];
|
|
1202
1204
|
/** The connected account's provider each home provider's login is made from. */
|
|
1203
|
-
export declare const workspaceCredentialHomeAccountProvider: Readonly<Record<WorkspaceCredentialHomeProvider, "claude" | "codex" | "github">>;
|
|
1205
|
+
export declare const workspaceCredentialHomeAccountProvider: Readonly<Record<WorkspaceCredentialHomeProvider, "claude" | "codex" | "github" | "antigravity">>;
|
|
1204
1206
|
/**
|
|
1205
1207
|
* Put one person's logins into one home of a RUNNING workspace (docs/connected-accounts-design.md
|
|
1206
1208
|
* §6c). A home holds one person's logins while it is held: the first put names its person, a put
|
|
@@ -1232,6 +1234,7 @@ export declare const putWorkspaceCredentialsRequestSchema: Schema.Struct<{
|
|
|
1232
1234
|
readonly claude: Schema.optional<Schema.NullOr<Schema.String>>;
|
|
1233
1235
|
readonly codex: Schema.optional<Schema.NullOr<Schema.String>>;
|
|
1234
1236
|
readonly github: Schema.optional<Schema.NullOr<Schema.String>>;
|
|
1237
|
+
readonly antigravity: Schema.optional<Schema.NullOr<Schema.String>>;
|
|
1235
1238
|
/**
|
|
1236
1239
|
* pi's ChatGPT login, made from a Codex account of `onBehalfOfUserId` (an id or a Codex account
|
|
1237
1240
|
* name), as the `openai-codex` entry of `<home>/.pi/agent/auth.json`. The file is merged: its
|
|
@@ -1302,7 +1305,7 @@ export declare const workspaceCredentialPlacementReceiptSchema: Schema.Struct<{
|
|
|
1302
1305
|
readonly baseUrl: Schema.optional<Schema.brand<Schema.decodeTo<Schema.toType<Schema.String>, Schema.String, never, never>, "EndpointUrl">>;
|
|
1303
1306
|
}>]>;
|
|
1304
1307
|
readonly pinned: Schema.Boolean;
|
|
1305
|
-
readonly provider: Schema.Literals<readonly ["claude", "codex", "github", "pi", "opencode"]>;
|
|
1308
|
+
readonly provider: Schema.Literals<readonly ["claude", "codex", "github", "antigravity", "pi", "opencode"]>;
|
|
1306
1309
|
}>;
|
|
1307
1310
|
export type WorkspaceCredentialPlacementReceipt = typeof workspaceCredentialPlacementReceiptSchema.Type;
|
|
1308
1311
|
/** One account whose copy a home holds. */
|
|
@@ -1331,7 +1334,7 @@ export declare const workspaceCredentialHomeSchema: Schema.Struct<{
|
|
|
1331
1334
|
readonly baseUrl: Schema.optional<Schema.brand<Schema.decodeTo<Schema.toType<Schema.String>, Schema.String, never, never>, "EndpointUrl">>;
|
|
1332
1335
|
}>]>;
|
|
1333
1336
|
readonly pinned: Schema.Boolean;
|
|
1334
|
-
readonly provider: Schema.Literals<readonly ["claude", "codex", "github", "pi", "opencode"]>;
|
|
1337
|
+
readonly provider: Schema.Literals<readonly ["claude", "codex", "github", "antigravity", "pi", "opencode"]>;
|
|
1335
1338
|
}>>>;
|
|
1336
1339
|
/**
|
|
1337
1340
|
* By provider, the account whose login holds the provider's one file; a provider the home holds
|
|
@@ -1355,6 +1358,11 @@ export declare const workspaceCredentialHomeSchema: Schema.Struct<{
|
|
|
1355
1358
|
/** The account's name under its provider, as it is now. */
|
|
1356
1359
|
readonly name: Schema.String;
|
|
1357
1360
|
}>>;
|
|
1361
|
+
readonly antigravity: Schema.optional<Schema.Struct<{
|
|
1362
|
+
readonly connectedAccountId: Schema.String;
|
|
1363
|
+
/** The account's name under its provider, as it is now. */
|
|
1364
|
+
readonly name: Schema.String;
|
|
1365
|
+
}>>;
|
|
1358
1366
|
/** The Codex account pi's ChatGPT login is made from. */
|
|
1359
1367
|
readonly pi: Schema.optional<Schema.Struct<{
|
|
1360
1368
|
readonly connectedAccountId: Schema.String;
|
|
@@ -1372,7 +1380,7 @@ export declare const workspaceCredentialHomeSchema: Schema.Struct<{
|
|
|
1372
1380
|
export type WorkspaceCredentialHome = typeof workspaceCredentialHomeSchema.Type;
|
|
1373
1381
|
/** A provider a partial put left out, and why (its account's refusal). */
|
|
1374
1382
|
export declare const workspaceCredentialSkipSchema: Schema.Struct<{
|
|
1375
|
-
readonly provider: Schema.Literals<readonly ["claude", "codex", "github", "pi", "opencode"]>;
|
|
1383
|
+
readonly provider: Schema.Literals<readonly ["claude", "codex", "github", "antigravity", "pi", "opencode"]>;
|
|
1376
1384
|
/**
|
|
1377
1385
|
* The account's refusal, or `login-file-unusable`: the provider's login file in the home cannot
|
|
1378
1386
|
* be written there (not a regular file, another hard link, or really outside the home).
|
|
@@ -1405,7 +1413,7 @@ export declare const putWorkspaceCredentialsResponseSchema: Schema.Struct<{
|
|
|
1405
1413
|
readonly baseUrl: Schema.optional<Schema.brand<Schema.decodeTo<Schema.toType<Schema.String>, Schema.String, never, never>, "EndpointUrl">>;
|
|
1406
1414
|
}>]>;
|
|
1407
1415
|
readonly pinned: Schema.Boolean;
|
|
1408
|
-
readonly provider: Schema.Literals<readonly ["claude", "codex", "github", "pi", "opencode"]>;
|
|
1416
|
+
readonly provider: Schema.Literals<readonly ["claude", "codex", "github", "antigravity", "pi", "opencode"]>;
|
|
1409
1417
|
}>>>;
|
|
1410
1418
|
/**
|
|
1411
1419
|
* By provider, the account whose login holds the provider's one file; a provider the home holds
|
|
@@ -1429,6 +1437,11 @@ export declare const putWorkspaceCredentialsResponseSchema: Schema.Struct<{
|
|
|
1429
1437
|
/** The account's name under its provider, as it is now. */
|
|
1430
1438
|
readonly name: Schema.String;
|
|
1431
1439
|
}>>;
|
|
1440
|
+
readonly antigravity: Schema.optional<Schema.Struct<{
|
|
1441
|
+
readonly connectedAccountId: Schema.String;
|
|
1442
|
+
/** The account's name under its provider, as it is now. */
|
|
1443
|
+
readonly name: Schema.String;
|
|
1444
|
+
}>>;
|
|
1432
1445
|
/** The Codex account pi's ChatGPT login is made from. */
|
|
1433
1446
|
readonly pi: Schema.optional<Schema.Struct<{
|
|
1434
1447
|
readonly connectedAccountId: Schema.String;
|
|
@@ -1445,7 +1458,7 @@ export declare const putWorkspaceCredentialsResponseSchema: Schema.Struct<{
|
|
|
1445
1458
|
}>;
|
|
1446
1459
|
/** A partial put's left-out providers, in the order named (empty when all were written). */
|
|
1447
1460
|
readonly skipped: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
1448
|
-
readonly provider: Schema.Literals<readonly ["claude", "codex", "github", "pi", "opencode"]>;
|
|
1461
|
+
readonly provider: Schema.Literals<readonly ["claude", "codex", "github", "antigravity", "pi", "opencode"]>;
|
|
1449
1462
|
/**
|
|
1450
1463
|
* The account's refusal, or `login-file-unusable`: the provider's login file in the home cannot
|
|
1451
1464
|
* be written there (not a regular file, another hard link, or really outside the home).
|
|
@@ -1485,7 +1498,7 @@ export declare const pruneWorkspaceCredentialsResponseSchema: Schema.Struct<{
|
|
|
1485
1498
|
readonly baseUrl: Schema.optional<Schema.brand<Schema.decodeTo<Schema.toType<Schema.String>, Schema.String, never, never>, "EndpointUrl">>;
|
|
1486
1499
|
}>]>;
|
|
1487
1500
|
readonly pinned: Schema.Boolean;
|
|
1488
|
-
readonly provider: Schema.Literals<readonly ["claude", "codex", "github", "pi", "opencode"]>;
|
|
1501
|
+
readonly provider: Schema.Literals<readonly ["claude", "codex", "github", "antigravity", "pi", "opencode"]>;
|
|
1489
1502
|
}>>>;
|
|
1490
1503
|
/**
|
|
1491
1504
|
* By provider, the account whose login holds the provider's one file; a provider the home holds
|
|
@@ -1509,6 +1522,11 @@ export declare const pruneWorkspaceCredentialsResponseSchema: Schema.Struct<{
|
|
|
1509
1522
|
/** The account's name under its provider, as it is now. */
|
|
1510
1523
|
readonly name: Schema.String;
|
|
1511
1524
|
}>>;
|
|
1525
|
+
readonly antigravity: Schema.optional<Schema.Struct<{
|
|
1526
|
+
readonly connectedAccountId: Schema.String;
|
|
1527
|
+
/** The account's name under its provider, as it is now. */
|
|
1528
|
+
readonly name: Schema.String;
|
|
1529
|
+
}>>;
|
|
1512
1530
|
/** The Codex account pi's ChatGPT login is made from. */
|
|
1513
1531
|
readonly pi: Schema.optional<Schema.Struct<{
|
|
1514
1532
|
readonly connectedAccountId: Schema.String;
|
|
@@ -1565,7 +1583,7 @@ export declare const listWorkspaceCredentialsResponseSchema: Schema.Struct<{
|
|
|
1565
1583
|
readonly baseUrl: Schema.optional<Schema.brand<Schema.decodeTo<Schema.toType<Schema.String>, Schema.String, never, never>, "EndpointUrl">>;
|
|
1566
1584
|
}>]>;
|
|
1567
1585
|
readonly pinned: Schema.Boolean;
|
|
1568
|
-
readonly provider: Schema.Literals<readonly ["claude", "codex", "github", "pi", "opencode"]>;
|
|
1586
|
+
readonly provider: Schema.Literals<readonly ["claude", "codex", "github", "antigravity", "pi", "opencode"]>;
|
|
1569
1587
|
}>>>;
|
|
1570
1588
|
/**
|
|
1571
1589
|
* By provider, the account whose login holds the provider's one file; a provider the home holds
|
|
@@ -1589,6 +1607,11 @@ export declare const listWorkspaceCredentialsResponseSchema: Schema.Struct<{
|
|
|
1589
1607
|
/** The account's name under its provider, as it is now. */
|
|
1590
1608
|
readonly name: Schema.String;
|
|
1591
1609
|
}>>;
|
|
1610
|
+
readonly antigravity: Schema.optional<Schema.Struct<{
|
|
1611
|
+
readonly connectedAccountId: Schema.String;
|
|
1612
|
+
/** The account's name under its provider, as it is now. */
|
|
1613
|
+
readonly name: Schema.String;
|
|
1614
|
+
}>>;
|
|
1592
1615
|
/** The Codex account pi's ChatGPT login is made from. */
|
|
1593
1616
|
readonly pi: Schema.optional<Schema.Struct<{
|
|
1594
1617
|
readonly connectedAccountId: Schema.String;
|
|
@@ -2739,7 +2762,7 @@ declare const WorkspaceNotFoundError_base: Schema.Class<WorkspaceNotFoundError,
|
|
|
2739
2762
|
/** A stable reason, where one applies (`connected-account-missing`). */
|
|
2740
2763
|
readonly code: Schema.optional<Schema.String>;
|
|
2741
2764
|
/** The provider of the connected account the reason is about. */
|
|
2742
|
-
readonly provider: Schema.optional<Schema.Literals<readonly ["claude", "codex", "github"]>>;
|
|
2765
|
+
readonly provider: Schema.optional<Schema.Literals<readonly ["claude", "codex", "github", "antigravity"]>>;
|
|
2743
2766
|
}>, import("effect/Cause").YieldableError>;
|
|
2744
2767
|
export declare class WorkspaceNotFoundError extends WorkspaceNotFoundError_base {
|
|
2745
2768
|
}
|
|
@@ -2748,7 +2771,7 @@ declare const WorkspaceConflictError_base: Schema.Class<WorkspaceConflictError,
|
|
|
2748
2771
|
/** A stable reason, where one applies (`create-cancelled`: the create's key was cancelled). */
|
|
2749
2772
|
readonly code: Schema.optional<Schema.String>;
|
|
2750
2773
|
/** The provider of the connected account the reason is about (`connected-account-invalid`). */
|
|
2751
|
-
readonly provider: Schema.optional<Schema.Literals<readonly ["claude", "codex", "github"]>>;
|
|
2774
|
+
readonly provider: Schema.optional<Schema.Literals<readonly ["claude", "codex", "github", "antigravity"]>>;
|
|
2752
2775
|
}>, import("effect/Cause").YieldableError>;
|
|
2753
2776
|
export declare class WorkspaceConflictError extends WorkspaceConflictError_base {
|
|
2754
2777
|
}
|
|
@@ -2880,6 +2903,7 @@ export declare const WorkspacesGroup: HttpApiGroup.HttpApiGroup<"workspaces", Ht
|
|
|
2880
2903
|
readonly claude: Schema.optional<Schema.String>;
|
|
2881
2904
|
readonly codex: Schema.optional<Schema.String>;
|
|
2882
2905
|
readonly github: Schema.optional<Schema.String>;
|
|
2906
|
+
readonly antigravity: Schema.optional<Schema.String>;
|
|
2883
2907
|
}>>;
|
|
2884
2908
|
/**
|
|
2885
2909
|
* The workspace's spec (the blueprint in `@sealant/validators`), stored with the workspace and
|
|
@@ -3832,7 +3856,7 @@ export declare const WorkspacesGroup: HttpApiGroup.HttpApiGroup<"workspaces", Ht
|
|
|
3832
3856
|
readonly baseUrl: Schema.optional<Schema.brand<Schema.decodeTo<Schema.toType<Schema.String>, Schema.String, never, never>, "EndpointUrl">>;
|
|
3833
3857
|
}>]>;
|
|
3834
3858
|
readonly pinned: Schema.Boolean;
|
|
3835
|
-
readonly provider: Schema.Literals<readonly ["claude", "codex", "github", "pi", "opencode"]>;
|
|
3859
|
+
readonly provider: Schema.Literals<readonly ["claude", "codex", "github", "antigravity", "pi", "opencode"]>;
|
|
3836
3860
|
}>>>;
|
|
3837
3861
|
/**
|
|
3838
3862
|
* By provider, the account whose login holds the provider's one file; a provider the home holds
|
|
@@ -3856,6 +3880,11 @@ export declare const WorkspacesGroup: HttpApiGroup.HttpApiGroup<"workspaces", Ht
|
|
|
3856
3880
|
/** The account's name under its provider, as it is now. */
|
|
3857
3881
|
readonly name: Schema.String;
|
|
3858
3882
|
}>>;
|
|
3883
|
+
readonly antigravity: Schema.optional<Schema.Struct<{
|
|
3884
|
+
readonly connectedAccountId: Schema.String;
|
|
3885
|
+
/** The account's name under its provider, as it is now. */
|
|
3886
|
+
readonly name: Schema.String;
|
|
3887
|
+
}>>;
|
|
3859
3888
|
/** The Codex account pi's ChatGPT login is made from. */
|
|
3860
3889
|
readonly pi: Schema.optional<Schema.Struct<{
|
|
3861
3890
|
readonly connectedAccountId: Schema.String;
|
|
@@ -4177,7 +4206,7 @@ export declare const WorkspacesGroup: HttpApiGroup.HttpApiGroup<"workspaces", Ht
|
|
|
4177
4206
|
readonly baseUrl: Schema.optional<Schema.brand<Schema.decodeTo<Schema.toType<Schema.String>, Schema.String, never, never>, "EndpointUrl">>;
|
|
4178
4207
|
}>]>;
|
|
4179
4208
|
readonly pinned: Schema.Boolean;
|
|
4180
|
-
readonly provider: Schema.Literals<readonly ["claude", "codex", "github", "pi", "opencode"]>;
|
|
4209
|
+
readonly provider: Schema.Literals<readonly ["claude", "codex", "github", "antigravity", "pi", "opencode"]>;
|
|
4181
4210
|
}>>>;
|
|
4182
4211
|
/**
|
|
4183
4212
|
* By provider, the account whose login holds the provider's one file; a provider the home holds
|
|
@@ -4201,6 +4230,11 @@ export declare const WorkspacesGroup: HttpApiGroup.HttpApiGroup<"workspaces", Ht
|
|
|
4201
4230
|
/** The account's name under its provider, as it is now. */
|
|
4202
4231
|
readonly name: Schema.String;
|
|
4203
4232
|
}>>;
|
|
4233
|
+
readonly antigravity: Schema.optional<Schema.Struct<{
|
|
4234
|
+
readonly connectedAccountId: Schema.String;
|
|
4235
|
+
/** The account's name under its provider, as it is now. */
|
|
4236
|
+
readonly name: Schema.String;
|
|
4237
|
+
}>>;
|
|
4204
4238
|
/** The Codex account pi's ChatGPT login is made from. */
|
|
4205
4239
|
readonly pi: Schema.optional<Schema.Struct<{
|
|
4206
4240
|
readonly connectedAccountId: Schema.String;
|
|
@@ -4238,6 +4272,7 @@ export declare const WorkspacesGroup: HttpApiGroup.HttpApiGroup<"workspaces", Ht
|
|
|
4238
4272
|
readonly claude: Schema.optional<Schema.NullOr<Schema.String>>;
|
|
4239
4273
|
readonly codex: Schema.optional<Schema.NullOr<Schema.String>>;
|
|
4240
4274
|
readonly github: Schema.optional<Schema.NullOr<Schema.String>>;
|
|
4275
|
+
readonly antigravity: Schema.optional<Schema.NullOr<Schema.String>>;
|
|
4241
4276
|
/**
|
|
4242
4277
|
* pi's ChatGPT login, made from a Codex account of `onBehalfOfUserId` (an id or a Codex account
|
|
4243
4278
|
* name), as the `openai-codex` entry of `<home>/.pi/agent/auth.json`. The file is merged: its
|
|
@@ -4285,7 +4320,7 @@ export declare const WorkspacesGroup: HttpApiGroup.HttpApiGroup<"workspaces", Ht
|
|
|
4285
4320
|
readonly baseUrl: Schema.optional<Schema.brand<Schema.decodeTo<Schema.toType<Schema.String>, Schema.String, never, never>, "EndpointUrl">>;
|
|
4286
4321
|
}>]>;
|
|
4287
4322
|
readonly pinned: Schema.Boolean;
|
|
4288
|
-
readonly provider: Schema.Literals<readonly ["claude", "codex", "github", "pi", "opencode"]>;
|
|
4323
|
+
readonly provider: Schema.Literals<readonly ["claude", "codex", "github", "antigravity", "pi", "opencode"]>;
|
|
4289
4324
|
}>>>;
|
|
4290
4325
|
/**
|
|
4291
4326
|
* By provider, the account whose login holds the provider's one file; a provider the home holds
|
|
@@ -4309,6 +4344,11 @@ export declare const WorkspacesGroup: HttpApiGroup.HttpApiGroup<"workspaces", Ht
|
|
|
4309
4344
|
/** The account's name under its provider, as it is now. */
|
|
4310
4345
|
readonly name: Schema.String;
|
|
4311
4346
|
}>>;
|
|
4347
|
+
readonly antigravity: Schema.optional<Schema.Struct<{
|
|
4348
|
+
readonly connectedAccountId: Schema.String;
|
|
4349
|
+
/** The account's name under its provider, as it is now. */
|
|
4350
|
+
readonly name: Schema.String;
|
|
4351
|
+
}>>;
|
|
4312
4352
|
/** The Codex account pi's ChatGPT login is made from. */
|
|
4313
4353
|
readonly pi: Schema.optional<Schema.Struct<{
|
|
4314
4354
|
readonly connectedAccountId: Schema.String;
|
|
@@ -4325,7 +4365,7 @@ export declare const WorkspacesGroup: HttpApiGroup.HttpApiGroup<"workspaces", Ht
|
|
|
4325
4365
|
}>;
|
|
4326
4366
|
/** A partial put's left-out providers, in the order named (empty when all were written). */
|
|
4327
4367
|
readonly skipped: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
4328
|
-
readonly provider: Schema.Literals<readonly ["claude", "codex", "github", "pi", "opencode"]>;
|
|
4368
|
+
readonly provider: Schema.Literals<readonly ["claude", "codex", "github", "antigravity", "pi", "opencode"]>;
|
|
4329
4369
|
/**
|
|
4330
4370
|
* The account's refusal, or `login-file-unusable`: the provider's login file in the home cannot
|
|
4331
4371
|
* be written there (not a regular file, another hard link, or really outside the home).
|
|
@@ -198,6 +198,7 @@ export const createWorkspaceCredentialsSchema = Schema.Struct({
|
|
|
198
198
|
claude: Schema.optional(NonEmptyString),
|
|
199
199
|
codex: Schema.optional(NonEmptyString),
|
|
200
200
|
github: Schema.optional(NonEmptyString),
|
|
201
|
+
antigravity: Schema.optional(NonEmptyString),
|
|
201
202
|
});
|
|
202
203
|
/**
|
|
203
204
|
* `spec.runtime.resources` of a create: this workspace will never be linked to project resources
|
|
@@ -850,11 +851,19 @@ export const workspaceCredentialHomeProviders = [
|
|
|
850
851
|
"claude",
|
|
851
852
|
"codex",
|
|
852
853
|
"github",
|
|
854
|
+
"antigravity",
|
|
853
855
|
"pi",
|
|
854
856
|
"opencode",
|
|
855
857
|
];
|
|
856
858
|
/** The connected account's provider each home provider's login is made from. */
|
|
857
|
-
export const workspaceCredentialHomeAccountProvider = {
|
|
859
|
+
export const workspaceCredentialHomeAccountProvider = {
|
|
860
|
+
claude: "claude",
|
|
861
|
+
codex: "codex",
|
|
862
|
+
github: "github",
|
|
863
|
+
antigravity: "antigravity",
|
|
864
|
+
pi: "codex",
|
|
865
|
+
opencode: "codex",
|
|
866
|
+
};
|
|
858
867
|
/**
|
|
859
868
|
* Put one person's logins into one home of a RUNNING workspace (docs/connected-accounts-design.md
|
|
860
869
|
* §6c). A home holds one person's logins while it is held: the first put names its person, a put
|
|
@@ -886,6 +895,7 @@ export const putWorkspaceCredentialsRequestSchema = Schema.Struct({
|
|
|
886
895
|
claude: Schema.optional(Schema.NullOr(NonEmptyString)),
|
|
887
896
|
codex: Schema.optional(Schema.NullOr(NonEmptyString)),
|
|
888
897
|
github: Schema.optional(Schema.NullOr(NonEmptyString)),
|
|
898
|
+
antigravity: Schema.optional(Schema.NullOr(NonEmptyString)),
|
|
889
899
|
/**
|
|
890
900
|
* pi's ChatGPT login, made from a Codex account of `onBehalfOfUserId` (an id or a Codex account
|
|
891
901
|
* name), as the `openai-codex` entry of `<home>/.pi/agent/auth.json`. The file is merged: its
|
|
@@ -961,6 +971,7 @@ export const workspaceCredentialHomeSchema = Schema.Struct({
|
|
|
961
971
|
claude: Schema.optional(workspaceHomeAccountSchema),
|
|
962
972
|
codex: Schema.optional(workspaceHomeAccountSchema),
|
|
963
973
|
github: Schema.optional(workspaceHomeAccountSchema),
|
|
974
|
+
antigravity: Schema.optional(workspaceHomeAccountSchema),
|
|
964
975
|
/** The Codex account pi's ChatGPT login is made from. */
|
|
965
976
|
pi: Schema.optional(workspaceHomeAccountSchema),
|
|
966
977
|
/** The Codex account opencode's ChatGPT login is made from. */
|
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.934",
|
|
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": "a4983c4ee2e5e14ea0bb8eb3fc2127cde76c6bae",
|
|
40
40
|
"publishConfig": {
|
|
41
41
|
"access": "public"
|
|
42
42
|
}
|