@sealant/api-contracts-next 0.40.0-next.877 → 0.40.0-next.879

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.
@@ -2,7 +2,7 @@
2
2
  * The ids that name a person, and the one rule that keeps a resource domain out of them.
3
3
  *
4
4
  * A resource domain (`resource-domains.ts`) is an owner that is not a person: it never holds a
5
- * login or a provider credential and never runs a harness. Core mints every resource domain id
5
+ * login or a provider credential and never runs a harness. sealant mints every resource domain id
6
6
  * with {@link RESOURCE_DOMAIN_ID_PREFIX}, and no `user` row may carry it (a database check), so
7
7
  * the spelling alone tells the two apart. Every field and header that names a person (`ownerUserId`,
8
8
  * `onBehalfOfUserId`, `userId`, the SSH gateway's `principalId`) is a {@link PersonId}: a domain id there is refused with a `400`
@@ -2,7 +2,7 @@
2
2
  * The ids that name a person, and the one rule that keeps a resource domain out of them.
3
3
  *
4
4
  * A resource domain (`resource-domains.ts`) is an owner that is not a person: it never holds a
5
- * login or a provider credential and never runs a harness. Core mints every resource domain id
5
+ * login or a provider credential and never runs a harness. sealant mints every resource domain id
6
6
  * with {@link RESOURCE_DOMAIN_ID_PREFIX}, and no `user` row may carry it (a database check), so
7
7
  * the spelling alone tells the two apart. Every field and header that names a person (`ownerUserId`,
8
8
  * `onBehalfOfUserId`, `userId`, the SSH gateway's `principalId`) is a {@link PersonId}: a domain id there is refused with a `400`
@@ -18,7 +18,7 @@
18
18
  *
19
19
  * Members are the people the application lets reach the domain. A grant or a revoke carries
20
20
  * `version`, the application's own number for its decision about this person, rising with each
21
- * decision it makes (its record's revision, say). Core writes the decision only over a lower
21
+ * decision it makes (its record's revision, say). sealant writes the decision only over a lower
22
22
  * version. The same version with the same state is a repeat, answered with the member unchanged.
23
23
  * The same version with the other state, or a lower one, is stale: `409`, carrying the decision
24
24
  * that stands. So a delayed grant never undoes a newer revoke, whatever order decisions arrive in
@@ -18,7 +18,7 @@
18
18
  *
19
19
  * Members are the people the application lets reach the domain. A grant or a revoke carries
20
20
  * `version`, the application's own number for its decision about this person, rising with each
21
- * decision it makes (its record's revision, say). Core writes the decision only over a lower
21
+ * decision it makes (its record's revision, say). sealant writes the decision only over a lower
22
22
  * version. The same version with the same state is a repeat, answered with the member unchanged.
23
23
  * The same version with the other state, or a lower one, is stale: `409`, carrying the decision
24
24
  * that stands. So a delayed grant never undoes a newer revoke, whatever order decisions arrive in
@@ -24,7 +24,7 @@ export type ResourceInstanceAlias = typeof ResourceInstanceAlias.Type;
24
24
  /** The application's opaque name for a worktree: links and worktree instances match on it. */
25
25
  export declare const ResourceWorktreeKey: Schema.brand<Schema.String, "ResourceWorktreeKey">;
26
26
  export type ResourceWorktreeKey = typeof ResourceWorktreeKey.Type;
27
- /** An image pinned by digest (a tag may precede it). Core never resolves a tag. */
27
+ /** An image pinned by digest (a tag may precede it). sealant never resolves a tag. */
28
28
  export declare const ResourcePinnedImage: Schema.brand<Schema.String, "ResourcePinnedImage">;
29
29
  export type ResourcePinnedImage = typeof ResourcePinnedImage.Type;
30
30
  export declare const resourceInstanceVolumeSchema: Schema.Struct<{
@@ -43,7 +43,7 @@ export declare const resourceInstanceReadySchema: Schema.Union<readonly [Schema.
43
43
  readonly user: Schema.NullOr<Schema.String>;
44
44
  }>]>;
45
45
  export type ResourceInstanceReady = typeof resourceInstanceReadySchema.Type;
46
- /** Ten days: the longest an instance may wait unreached before Core stops it. */
46
+ /** Ten days: the longest an instance may wait unreached before sealant stops it. */
47
47
  export declare const RESOURCE_INSTANCE_MAX_IDLE_SECONDS = 864000;
48
48
  /** A configured caller receives the service and exposes one private callback port. */
49
49
  export declare const resourceCallerReachSchema: Schema.Struct<{
@@ -53,7 +53,7 @@ export declare const resourceCallerReachSchema: Schema.Struct<{
53
53
  readonly callbackPort: Schema.Int;
54
54
  }>;
55
55
  export type ResourceCallerReach = typeof resourceCallerReachSchema.Type;
56
- /** Write-only process env. Core seals it before persistence and never returns or records it. */
56
+ /** Write-only process env. sealant seals it before persistence and never returns or records it. */
57
57
  export declare const resourceInstanceSecretEnvSchema: Schema.$Record<Schema.String, Schema.String>;
58
58
  /** What an instance runs. Excess keys are refused; see the header for what has no field. */
59
59
  export declare const resourceInstanceSpecSchema: Schema.Struct<{
@@ -89,7 +89,7 @@ export declare const resourceInstanceSpecSchema: Schema.Struct<{
89
89
  readonly argv: Schema.$Array<Schema.String>;
90
90
  readonly user: Schema.NullOr<Schema.String>;
91
91
  }>]>;
92
- /** Seconds with no live linked executor reaching it before Core stops it. */
92
+ /** Seconds with no live linked executor reaching it before sealant stops it. */
93
93
  readonly idleStopAfterSeconds: Schema.NullOr<Schema.Int>;
94
94
  }>;
95
95
  export type ResourceInstanceSpec = typeof resourceInstanceSpecSchema.Type;
@@ -100,7 +100,7 @@ export declare const resourceInstanceStopReasonSchema: Schema.Union<readonly [Sc
100
100
  readonly by: Schema.String;
101
101
  }>]>;
102
102
  export type ResourceInstanceStopReason = typeof resourceInstanceStopReasonSchema.Type;
103
- /** What Core last observed of an instance, apart from what was asked of it. Times are ISO. */
103
+ /** What sealant last observed of an instance, apart from what was asked of it. Times are ISO. */
104
104
  export declare const resourceInstanceStateSchema: Schema.Union<readonly [Schema.Struct<{
105
105
  readonly kind: Schema.Literal<"not-started">;
106
106
  }>, Schema.Struct<{
@@ -200,7 +200,7 @@ export declare const resourceInstanceSchema: Schema.Struct<{
200
200
  readonly kind: Schema.Literal<"person">;
201
201
  readonly by: Schema.String;
202
202
  }>]>>;
203
- /** What Core last observed, and when. */
203
+ /** What sealant last observed, and when. */
204
204
  readonly state: Schema.Union<readonly [Schema.Struct<{
205
205
  readonly kind: Schema.Literal<"not-started">;
206
206
  }>, Schema.Struct<{
@@ -398,7 +398,7 @@ export declare const ResourceInstancesGroup: HttpApiGroup.HttpApiGroup<"resource
398
398
  readonly kind: Schema.Literal<"person">;
399
399
  readonly by: Schema.String;
400
400
  }>]>>;
401
- /** What Core last observed, and when. */
401
+ /** What sealant last observed, and when. */
402
402
  readonly state: Schema.Union<readonly [Schema.Struct<{
403
403
  readonly kind: Schema.Literal<"not-started">;
404
404
  }>, Schema.Struct<{
@@ -468,7 +468,7 @@ export declare const ResourceInstancesGroup: HttpApiGroup.HttpApiGroup<"resource
468
468
  readonly kind: Schema.Literal<"person">;
469
469
  readonly by: Schema.String;
470
470
  }>]>>;
471
- /** What Core last observed, and when. */
471
+ /** What sealant last observed, and when. */
472
472
  readonly state: Schema.Union<readonly [Schema.Struct<{
473
473
  readonly kind: Schema.Literal<"not-started">;
474
474
  }>, Schema.Struct<{
@@ -546,7 +546,7 @@ export declare const ResourceInstancesGroup: HttpApiGroup.HttpApiGroup<"resource
546
546
  readonly kind: Schema.Literal<"person">;
547
547
  readonly by: Schema.String;
548
548
  }>]>>;
549
- /** What Core last observed, and when. */
549
+ /** What sealant last observed, and when. */
550
550
  readonly state: Schema.Union<readonly [Schema.Struct<{
551
551
  readonly kind: Schema.Literal<"not-started">;
552
552
  }>, Schema.Struct<{
@@ -619,7 +619,7 @@ export declare const ResourceInstancesGroup: HttpApiGroup.HttpApiGroup<"resource
619
619
  readonly kind: Schema.Literal<"person">;
620
620
  readonly by: Schema.String;
621
621
  }>]>>;
622
- /** What Core last observed, and when. */
622
+ /** What sealant last observed, and when. */
623
623
  readonly state: Schema.Union<readonly [Schema.Struct<{
624
624
  readonly kind: Schema.Literal<"not-started">;
625
625
  }>, Schema.Struct<{
@@ -690,7 +690,7 @@ export declare const ResourceInstancesGroup: HttpApiGroup.HttpApiGroup<"resource
690
690
  readonly kind: Schema.Literal<"person">;
691
691
  readonly by: Schema.String;
692
692
  }>]>>;
693
- /** What Core last observed, and when. */
693
+ /** What sealant last observed, and when. */
694
694
  readonly state: Schema.Union<readonly [Schema.Struct<{
695
695
  readonly kind: Schema.Literal<"not-started">;
696
696
  }>, Schema.Struct<{
@@ -23,7 +23,7 @@ export const ResourceInstanceKey = Schema.String.check(matching(/^[a-z0-9][a-z0-
23
23
  export const ResourceInstanceAlias = Schema.String.check(matching(/^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$/, "must be a DNS label: lower-case letters, digits and '-', starting with a letter")).pipe(Schema.brand("ResourceInstanceAlias"));
24
24
  /** The application's opaque name for a worktree: links and worktree instances match on it. */
25
25
  export const ResourceWorktreeKey = Schema.String.check(matching(/^[A-Za-z0-9][A-Za-z0-9._:@-]{0,127}$/, "must be 1 to 128 letters, digits, '.', '_', ':', '@' or '-', starting with a letter or digit")).pipe(Schema.brand("ResourceWorktreeKey"));
26
- /** An image pinned by digest (a tag may precede it). Core never resolves a tag. */
26
+ /** An image pinned by digest (a tag may precede it). sealant never resolves a tag. */
27
27
  export const ResourcePinnedImage = Schema.String.check(matching(/^[a-z0-9][a-z0-9._/:-]*@sha256:[0-9a-f]{64}$/, "must be an image pinned by digest (<repository>[:tag]@sha256:<64 hex>)")).pipe(Schema.brand("ResourcePinnedImage"));
28
28
  const VolumeName = Schema.String.check(matching(/^[a-z][a-z0-9-]{0,30}$/, "must be 1 to 31 lower-case letters, digits or '-'"));
29
29
  const isMountPath = (path) => {
@@ -57,7 +57,7 @@ export const resourceInstanceReadySchema = Schema.Union([
57
57
  user: Schema.NullOr(Schema.String.check(matching(/^[A-Za-z0-9._-]{1,64}$/, "must be a user"))),
58
58
  }),
59
59
  ]);
60
- /** Ten days: the longest an instance may wait unreached before Core stops it. */
60
+ /** Ten days: the longest an instance may wait unreached before sealant stops it. */
61
61
  export const RESOURCE_INSTANCE_MAX_IDLE_SECONDS = 864_000;
62
62
  const distinct = (by, message) => (items) => new Set(items.map(by)).size === items.length ? undefined : message;
63
63
  /** A configured caller receives the service and exposes one private callback port. */
@@ -67,7 +67,7 @@ export const resourceCallerReachSchema = Schema.Struct({
67
67
  port: Port,
68
68
  callbackPort: Port,
69
69
  });
70
- /** Write-only process env. Core seals it before persistence and never returns or records it. */
70
+ /** Write-only process env. sealant seals it before persistence and never returns or records it. */
71
71
  export const resourceInstanceSecretEnvSchema = Schema.Record(EnvName, EnvValue);
72
72
  /** What an instance runs. Excess keys are refused; see the header for what has no field. */
73
73
  export const resourceInstanceSpecSchema = Schema.Struct({
@@ -86,7 +86,7 @@ export const resourceInstanceSpecSchema = Schema.Struct({
86
86
  memoryBytes: Schema.Int.check(Schema.isBetween({ minimum: 16 * 1024 * 1024, maximum: Number.MAX_SAFE_INTEGER })),
87
87
  }),
88
88
  ready: resourceInstanceReadySchema,
89
- /** Seconds with no live linked executor reaching it before Core stops it. */
89
+ /** Seconds with no live linked executor reaching it before sealant stops it. */
90
90
  idleStopAfterSeconds: Schema.NullOr(Schema.Int.check(Schema.isBetween({ minimum: 1, maximum: RESOURCE_INSTANCE_MAX_IDLE_SECONDS }))),
91
91
  });
92
92
  export const resourceInstanceStopReasonSchema = Schema.Union([
@@ -97,7 +97,7 @@ export const resourceInstanceStopReasonSchema = Schema.Union([
97
97
  by: Schema.String.check(Schema.isMinLength(1), Schema.isMaxLength(200)),
98
98
  }),
99
99
  ]);
100
- /** What Core last observed of an instance, apart from what was asked of it. Times are ISO. */
100
+ /** What sealant last observed of an instance, apart from what was asked of it. Times are ISO. */
101
101
  export const resourceInstanceStateSchema = Schema.Union([
102
102
  Schema.Struct({ kind: Schema.Literal("not-started") }),
103
103
  Schema.Struct({ kind: Schema.Literal("starting"), since: Schema.String }),
@@ -108,7 +108,7 @@ export const resourceInstanceStateSchema = Schema.Union([
108
108
  at: Schema.String,
109
109
  reason: resourceInstanceStopReasonSchema,
110
110
  }),
111
- /** The container ended on its own; Core starts it again. */
111
+ /** The container ended on its own; sealant starts it again. */
112
112
  Schema.Struct({
113
113
  kind: Schema.Literal("exited"),
114
114
  at: Schema.String,
@@ -225,7 +225,7 @@ export const resourceInstanceSchema = Schema.Struct({
225
225
  desired: Schema.Literals(["running", "stopped", "archived"]),
226
226
  /** Why it is stopped, while `desired` is `stopped`. */
227
227
  stopReason: Schema.NullOr(resourceInstanceStopReasonSchema),
228
- /** What Core last observed, and when. */
228
+ /** What sealant last observed, and when. */
229
229
  state: resourceInstanceStateSchema,
230
230
  observedAt: Timestamp,
231
231
  startedAt: Schema.NullOr(Timestamp),
@@ -9,9 +9,9 @@
9
9
  * `progress` with the cumulative bytes and frames it has consumed; a sender keeps what it has sent
10
10
  * within the last `progress` plus the window, and sends nothing before the first `progress`
11
11
  * (`{0,0}`), which opens the receiver's window. A receiver resets a sender that goes past it.
12
- * `fin` ends one direction with the totals sent; `reset` ends both at once. Core sends a `progress`
13
- * naming exactly what reached the workspace before its `fin`, so a client can tell whether
14
- * everything it wrote arrived. {@link ForwardFlow} keeps this ledger for either side.
12
+ * `fin` ends one direction with the totals sent; `reset` ends both at once. sealant sends a
13
+ * `progress` naming exactly what reached the workspace before its `fin`, so a client can tell
14
+ * whether everything it wrote arrived. {@link ForwardFlow} keeps this ledger for either side.
15
15
  */
16
16
  import { Schema } from "effect";
17
17
  import { type BudgetExceededError } from "./budgets.js";
@@ -69,8 +69,8 @@ export declare const forwardReadyFrameSchema: Schema.Struct<{
69
69
  }>;
70
70
  export type ForwardReadyFrame = typeof forwardReadyFrameSchema.Type;
71
71
  /**
72
- * Decoded with any `reason`, so a client keeps a refusal from a Core newer than itself, with the
73
- * status and message that Core sent.
72
+ * Decoded with any `reason`, so a client keeps a refusal from a sealant newer than itself, with the
73
+ * status and message that sealant sent.
74
74
  */
75
75
  export declare const forwardRefusedFrameSchema: Schema.Struct<{
76
76
  readonly t: Schema.Literal<"refused">;
@@ -130,7 +130,7 @@ export declare const forwardFinFrameSchema: Schema.Struct<{
130
130
  export type ForwardFinFrame = typeof forwardFinFrameSchema.Type;
131
131
  export declare const forwardResetReasonSchema: Schema.Literals<readonly ["window-exceeded", "protocol-violation", "aborted", "target-error", "runtime-lost", "owner-exited"]>;
132
132
  export type ForwardResetReason = typeof forwardResetReasonSchema.Type;
133
- /** Decoded with any `reason`, so a client keeps a reset from a Core newer than itself. */
133
+ /** Decoded with any `reason`, so a client keeps a reset from a sealant newer than itself. */
134
134
  export declare const forwardResetFrameSchema: Schema.Struct<{
135
135
  readonly t: Schema.Literal<"reset">;
136
136
  readonly reason: Schema.String;
@@ -169,8 +169,8 @@ export type ForwardInbound = {
169
169
  export declare function forwardFrames(chunk: Uint8Array): Generator<Uint8Array>;
170
170
  /**
171
171
  * Both directions of an open v2 forward as one side sees them, with no I/O: what it sent against
172
- * what its peer consumed, and what it received and consumed against what it granted. Core and the
173
- * SDK each drive one from their socket.
172
+ * what its peer consumed, and what it received and consumed against what it granted. sealant and
173
+ * the SDK each drive one from their socket.
174
174
  *
175
175
  * A grant is made when its `progress` is sent, so a side that holds a `progress` back while its
176
176
  * socket is backed up also holds back its peer, and the next `progress` it sends names the latest
@@ -9,9 +9,9 @@
9
9
  * `progress` with the cumulative bytes and frames it has consumed; a sender keeps what it has sent
10
10
  * within the last `progress` plus the window, and sends nothing before the first `progress`
11
11
  * (`{0,0}`), which opens the receiver's window. A receiver resets a sender that goes past it.
12
- * `fin` ends one direction with the totals sent; `reset` ends both at once. Core sends a `progress`
13
- * naming exactly what reached the workspace before its `fin`, so a client can tell whether
14
- * everything it wrote arrived. {@link ForwardFlow} keeps this ledger for either side.
12
+ * `fin` ends one direction with the totals sent; `reset` ends both at once. sealant sends a
13
+ * `progress` naming exactly what reached the workspace before its `fin`, so a client can tell
14
+ * whether everything it wrote arrived. {@link ForwardFlow} keeps this ledger for either side.
15
15
  */
16
16
  import { Option, Schema } from "effect";
17
17
  import { requestBudgetRefusalSchema } from "./budgets.js";
@@ -80,8 +80,8 @@ export const forwardReadyFrameSchema = Schema.Struct({
80
80
  binding: forwardBindingSchema,
81
81
  });
82
82
  /**
83
- * Decoded with any `reason`, so a client keeps a refusal from a Core newer than itself, with the
84
- * status and message that Core sent.
83
+ * Decoded with any `reason`, so a client keeps a refusal from a sealant newer than itself, with the
84
+ * status and message that sealant sent.
85
85
  */
86
86
  export const forwardRefusedFrameSchema = Schema.Struct({
87
87
  t: Schema.Literal("refused"),
@@ -133,7 +133,7 @@ export const forwardResetReasonSchema = Schema.Literals([
133
133
  "runtime-lost",
134
134
  "owner-exited",
135
135
  ]);
136
- /** Decoded with any `reason`, so a client keeps a reset from a Core newer than itself. */
136
+ /** Decoded with any `reason`, so a client keeps a reset from a sealant newer than itself. */
137
137
  export const forwardResetFrameSchema = Schema.Struct({
138
138
  t: Schema.Literal("reset"),
139
139
  reason: Schema.String,
@@ -174,8 +174,8 @@ export function* forwardFrames(chunk) {
174
174
  }
175
175
  /**
176
176
  * Both directions of an open v2 forward as one side sees them, with no I/O: what it sent against
177
- * what its peer consumed, and what it received and consumed against what it granted. Core and the
178
- * SDK each drive one from their socket.
177
+ * what its peer consumed, and what it received and consumed against what it granted. sealant and
178
+ * the SDK each drive one from their socket.
179
179
  *
180
180
  * A grant is made when its `progress` is sent, so a side that holds a `progress` back while its
181
181
  * socket is backed up also holds back its peer, and the next `progress` it sends names the latest
@@ -215,7 +215,7 @@ export type CreateWorkspaceCredentials = typeof createWorkspaceCredentialsSchema
215
215
  * as before the option existed, on every runtime.
216
216
  *
217
217
  * What it buys is runtime-specific. On Boat a workspace's way to reach resources is built when it
218
- * launches (a gateway on Core's Docker host, a tunnel and a resolver in the VM); with `"none"`
218
+ * launches (a gateway on sealant's Docker host, a tunnel and a resolver in the VM); with `"none"`
219
219
  * none of it is built, the workspace is ready sooner, and a Boat deployment with no resource
220
220
  * gateway can run it. A later link of such a workspace is refused there
221
221
  * (`ResourceWorkspaceWithoutResourcesError`, 409). A Boat deployment with no resource gateway
@@ -1204,12 +1204,12 @@ export declare const workspaceCredentialHomeAccountProvider: Readonly<Record<Wor
1204
1204
  /**
1205
1205
  * Put one person's logins into one home of a RUNNING workspace (docs/connected-accounts-design.md
1206
1206
  * §6c). A home holds one person's logins while it is held: the first put names its person, a put
1207
- * for anyone else is refused (`home-held`) until the home is released. Core writes a copy of each
1208
- * named account (no refresh token, like a launch) owned by the home's owner, mode 0600, and keeps it
1209
- * refreshed there; GitHub is written as `<home>/.config/gh/hosts.yml`. Values are connected-account
1210
- * ids ("cacc_…") or per-provider account names of `onBehalfOfUserId`, resolved exactly as at create
1211
- * ("default" is the account `true` picks); `null` removes that provider's login from the home (the
1212
- * person has not connected it). A provider left out is left as it is.
1207
+ * for anyone else is refused (`home-held`) until the home is released. sealant writes a copy of
1208
+ * each named account (no refresh token, like a launch) owned by the home's owner, mode 0600, and
1209
+ * keeps it refreshed there; GitHub is written as `<home>/.config/gh/hosts.yml`. Values are
1210
+ * connected-account ids ("cacc_…") or per-provider account names of `onBehalfOfUserId`, resolved
1211
+ * exactly as at create ("default" is the account `true` picks); `null` removes that provider's
1212
+ * login from the home (the person has not connected it). A provider left out is left as it is.
1213
1213
  */
1214
1214
  export declare const putWorkspaceCredentialsRequestSchema: Schema.Struct<{
1215
1215
  /** The workspace's owner (owner scope; uniform 404 otherwise). */
@@ -1312,7 +1312,7 @@ export declare const workspaceHomeAccountSchema: Schema.Struct<{
1312
1312
  readonly name: Schema.String;
1313
1313
  }>;
1314
1314
  export type WorkspaceHomeAccount = typeof workspaceHomeAccountSchema.Type;
1315
- /** One home of a running workspace and the logins Core keeps in it. */
1315
+ /** One home of a running workspace and the logins sealant keeps in it. */
1316
1316
  export declare const workspaceCredentialHomeSchema: Schema.Struct<{
1317
1317
  readonly home: Schema.String;
1318
1318
  /** The one person whose logins the home holds. */
@@ -205,7 +205,7 @@ export const createWorkspaceCredentialsSchema = Schema.Struct({
205
205
  * as before the option existed, on every runtime.
206
206
  *
207
207
  * What it buys is runtime-specific. On Boat a workspace's way to reach resources is built when it
208
- * launches (a gateway on Core's Docker host, a tunnel and a resolver in the VM); with `"none"`
208
+ * launches (a gateway on sealant's Docker host, a tunnel and a resolver in the VM); with `"none"`
209
209
  * none of it is built, the workspace is ready sooner, and a Boat deployment with no resource
210
210
  * gateway can run it. A later link of such a workspace is refused there
211
211
  * (`ResourceWorkspaceWithoutResourcesError`, 409). A Boat deployment with no resource gateway
@@ -858,12 +858,12 @@ export const workspaceCredentialHomeAccountProvider = { claude: "claude", codex:
858
858
  /**
859
859
  * Put one person's logins into one home of a RUNNING workspace (docs/connected-accounts-design.md
860
860
  * §6c). A home holds one person's logins while it is held: the first put names its person, a put
861
- * for anyone else is refused (`home-held`) until the home is released. Core writes a copy of each
862
- * named account (no refresh token, like a launch) owned by the home's owner, mode 0600, and keeps it
863
- * refreshed there; GitHub is written as `<home>/.config/gh/hosts.yml`. Values are connected-account
864
- * ids ("cacc_…") or per-provider account names of `onBehalfOfUserId`, resolved exactly as at create
865
- * ("default" is the account `true` picks); `null` removes that provider's login from the home (the
866
- * person has not connected it). A provider left out is left as it is.
861
+ * for anyone else is refused (`home-held`) until the home is released. sealant writes a copy of
862
+ * each named account (no refresh token, like a launch) owned by the home's owner, mode 0600, and
863
+ * keeps it refreshed there; GitHub is written as `<home>/.config/gh/hosts.yml`. Values are
864
+ * connected-account ids ("cacc_…") or per-provider account names of `onBehalfOfUserId`, resolved
865
+ * exactly as at create ("default" is the account `true` picks); `null` removes that provider's
866
+ * login from the home (the person has not connected it). A provider left out is left as it is.
867
867
  */
868
868
  export const putWorkspaceCredentialsRequestSchema = Schema.Struct({
869
869
  /** The workspace's owner (owner scope; uniform 404 otherwise). */
@@ -944,7 +944,7 @@ export const workspaceHomeAccountSchema = Schema.Struct({
944
944
  /** The account's name under its provider, as it is now. */
945
945
  name: NonEmptyString,
946
946
  });
947
- /** One home of a running workspace and the logins Core keeps in it. */
947
+ /** One home of a running workspace and the logins sealant keeps in it. */
948
948
  export const workspaceCredentialHomeSchema = Schema.Struct({
949
949
  home: NonEmptyString,
950
950
  /** The one person whose logins the home holds. */
@@ -1592,7 +1592,7 @@ HttpApiEndpoint.post("applyWorkspaceDotfiles", "/:workspaceId/dotfiles", {
1592
1592
  WorkspaceConflictError,
1593
1593
  // The executor did not confirm the staging.
1594
1594
  WorkspaceBadGatewayError,
1595
- // Core cannot reach the executor.
1595
+ // sealant cannot reach the executor.
1596
1596
  WorkspaceServiceUnavailableError,
1597
1597
  WorkspaceInternalServerError,
1598
1598
  ],
@@ -1686,7 +1686,7 @@ HttpApiEndpoint.post("putWorkspaceCredentials", "/:workspaceId/credentials", {
1686
1686
  WorkspaceConflictError,
1687
1687
  // The executor did not confirm the write.
1688
1688
  WorkspaceBadGatewayError,
1689
- // SEALANT_CREDENTIALS_KEY is not configured, or Core cannot reach the executor.
1689
+ // SEALANT_CREDENTIALS_KEY is not configured, or sealant cannot reach the executor.
1690
1690
  WorkspaceServiceUnavailableError,
1691
1691
  WorkspaceInternalServerError,
1692
1692
  ],
@@ -1708,7 +1708,7 @@ HttpApiEndpoint.delete("releaseWorkspaceCredentials", "/:workspaceId/credentials
1708
1708
  WorkspaceConflictError,
1709
1709
  // The executor did not confirm the write.
1710
1710
  WorkspaceBadGatewayError,
1711
- // SEALANT_CREDENTIALS_KEY is not configured, or Core cannot reach the executor.
1711
+ // SEALANT_CREDENTIALS_KEY is not configured, or sealant cannot reach the executor.
1712
1712
  WorkspaceServiceUnavailableError,
1713
1713
  WorkspaceInternalServerError,
1714
1714
  ],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sealant/api-contracts-next",
3
- "version": "0.40.0-next.877",
3
+ "version": "0.40.0-next.879",
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": "157d4150ac44205e83414ea01cbc9332cdd2d018",
39
+ "gitHead": "7023ad209c68e65b6b2bdf12b981e90f7b362d54",
40
40
  "publishConfig": {
41
41
  "access": "public"
42
42
  }