@haakco/hostingctl 1.0.685 → 1.0.688

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/main.js CHANGED
@@ -32941,6 +32941,8 @@ function hostingBackupDestinationStore(options) {
32941
32941
  }));
32942
32942
  }
32943
32943
  /**
32944
+ * @description It takes the copy lock so the destination cannot be removed between a pass's read of it and that pass's
32945
+ * record of what reached it.
32944
32946
  * @summary The destination is removed; copies already written to it are the client's to keep or expire
32945
32947
  * {@link /c/:company/hosting/backup-destination}
32946
32948
  */
@@ -32958,6 +32960,54 @@ function hostingBackupDestinationDestroy(options) {
32958
32960
  }));
32959
32961
  }
32960
32962
  /**
32963
+ * {@link /c/:company/hosting/environments/:environmentUuid/backup-requests}
32964
+ */
32965
+ function hostingBackupRequestsIndex(options) {
32966
+ const { client: request = client, ...config } = options;
32967
+ return withUnwrap(request({
32968
+ method: "GET",
32969
+ url: "/c/{company}/hosting/environments/{environmentUuid}/backup-requests",
32970
+ security: [{
32971
+ type: "http",
32972
+ scheme: "bearer"
32973
+ }],
32974
+ ...config,
32975
+ throwOnError: config.throwOnError ?? true
32976
+ }));
32977
+ }
32978
+ /**
32979
+ * {@link /c/:company/hosting/environments/:environmentUuid/backup-requests}
32980
+ */
32981
+ function hostingBackupRequestsStore(options) {
32982
+ const { client: request = client, ...config } = options;
32983
+ return withUnwrap(request({
32984
+ method: "POST",
32985
+ url: "/c/{company}/hosting/environments/{environmentUuid}/backup-requests",
32986
+ security: [{
32987
+ type: "http",
32988
+ scheme: "bearer"
32989
+ }],
32990
+ ...config,
32991
+ throwOnError: config.throwOnError ?? true
32992
+ }));
32993
+ }
32994
+ /**
32995
+ * {@link /c/:company/hosting/environments/:environmentUuid/backup-requests/:backupRequestUuid}
32996
+ */
32997
+ function hostingBackupRequestsShow(options) {
32998
+ const { client: request = client, ...config } = options;
32999
+ return withUnwrap(request({
33000
+ method: "GET",
33001
+ url: "/c/{company}/hosting/environments/{environmentUuid}/backup-requests/{backupRequestUuid}",
33002
+ security: [{
33003
+ type: "http",
33004
+ scheme: "bearer"
33005
+ }],
33006
+ ...config,
33007
+ throwOnError: config.throwOnError ?? true
33008
+ }));
33009
+ }
33010
+ /**
32961
33011
  * {@link /c/:company/hosting/environments/:environmentUuid/applications/:workloadUuid/builds/:buildUuid/log}
32962
33012
  */
32963
33013
  function hostingDeploymentBuildLog(options) {
@@ -39527,7 +39577,7 @@ function notificationsText(page) {
39527
39577
  return ` ${one.createdAt} ${read} ${one.title} ${one.id}`;
39528
39578
  }).join("\n");
39529
39579
  }
39530
- function statusText$2(report) {
39580
+ function statusText$3(report) {
39531
39581
  const lines = [
39532
39582
  `Profile "${report.profile}" → ${report.apiUrl}`,
39533
39583
  ` client ${report.clientId}`,
@@ -39554,7 +39604,7 @@ function authText(report) {
39554
39604
  if ("kind" in report && report.kind === "push-token") return authPushText(report);
39555
39605
  if (isProfiles(report)) return profilesText(report);
39556
39606
  if (isLogin(report)) return loginText(report);
39557
- if (isStatus(report)) return statusText$2(report);
39607
+ if (isStatus(report)) return statusText$3(report);
39558
39608
  if (isLogout(report)) return logoutText(report);
39559
39609
  if (isImpersonation(report)) return impersonationText(report);
39560
39610
  if ("kind" in report && (report.kind === "sent-emails" || report.kind === "sent-email")) return sentEmailText(report);
@@ -40062,13 +40112,13 @@ function isSessionlessMailboxCommand(argv) {
40062
40112
  async function runMailboxRecovery(context, rest) {
40063
40113
  const [action, extra] = rest;
40064
40114
  if (extra !== void 0) throw new UsageError(USAGE$54);
40065
- if (action === "request") return await request$1(context);
40115
+ if (action === "request") return await request$2(context);
40066
40116
  if (action === "verify") return await verify$1(context);
40067
40117
  if (action === "reset") return await reset(context);
40068
40118
  throw new UsageError(USAGE$54);
40069
40119
  }
40070
40120
  /** `request`: the answer is deliberately identical whether or not an eligible mailbox exists. */
40071
- async function request$1(context) {
40121
+ async function request$2(context) {
40072
40122
  const address = context.flags.get("--address");
40073
40123
  if (address === void 0 || address === "") throw new UsageError(USAGE$54);
40074
40124
  return await confirmableWrite(context, `Request a mailbox recovery link for ${address}. The answer is the same for an unknown mailbox, one with no confirmed fallback, and an eligible one.`, async () => (await emailMailboxRecoveryRequest({ body: { address } })).data);
@@ -44489,22 +44539,38 @@ function destinationText(destination) {
44489
44539
  //#endregion
44490
44540
  //#region src/commands/backups-metadata.ts
44491
44541
  /**
44492
- * `backups` — the state of one environment's backup tracks.
44542
+ * `backups` — the state of one environment's backup tracks, and the fresh backup a client can ask for.
44493
44543
  *
44494
- * The tracks are read whole, so the command reads no flag of its own beyond the global `--company`.
44544
+ * The tracks are read whole, so the read command takes no flag of its own beyond the global `--company`. The
44545
+ * request writes through the shared `--confirm`/`--dry-run` contract, and the two request reads take the
44546
+ * environment or the request's own UUID.
44495
44547
  */
44496
44548
  var BACKUPS_USAGE = [
44497
44549
  "Usage: hostingctl backups <environment-uuid> --company <slug>",
44550
+ " hostingctl backups requests <environment-uuid> --company <slug>",
44551
+ " hostingctl backups request-show <environment-uuid> <request-uuid> --company <slug>",
44552
+ " hostingctl backups request <environment-uuid> --company <slug>",
44553
+ "",
44554
+ " (bare) Each backup track's state and the newest restore point across them.",
44555
+ " requests The fresh backups this environment has asked for, newest first.",
44556
+ " request-show One fresh backup request, with its state and any actionable failure.",
44557
+ " request Ask for a fresh backup of the application files and managed databases, copied to the",
44558
+ " company's own armed bucket. Writing needs --confirm; --dry-run describes it.",
44498
44559
  "",
44499
- "The state of each backup track and when it last succeeded, with the newest restore point across them.",
44500
- "The company's own bucket is reported separately: it is a second copy, written after ours."
44560
+ "The company's own bucket is reported separately: it is a second copy, written after ours. A request is",
44561
+ "reported queued, in progress, complete or failed from the request's own state; asking while one is still",
44562
+ "open is refused by name."
44501
44563
  ].join("\n");
44502
44564
  var BACKUPS_METADATA = {
44503
44565
  name: "backups",
44504
- summary: "Backup states and the newest restore point for one environment.",
44566
+ summary: "Backup states and the newest restore point for one environment, and the fresh backup a client can ask for.",
44505
44567
  usage: BACKUPS_USAGE,
44506
44568
  flags: [],
44507
- subcommands: []
44569
+ subcommands: [
44570
+ "requests",
44571
+ "request-show",
44572
+ "request"
44573
+ ]
44508
44574
  };
44509
44575
  //#endregion
44510
44576
  //#region src/commands/backups.ts
@@ -44516,34 +44582,111 @@ function clientCopyLine(copy) {
44516
44582
  const when = copy.completedAt ?? copy.attemptedAt ?? "never";
44517
44583
  return `own bucket ${copy.state} ${progress} ${when}${copy.failure === null ? "" : ` — ${copy.failure}`}`;
44518
44584
  }
44585
+ /** The API's own status words in the words a request means to a client. */
44586
+ var STATUS_LABEL = {
44587
+ pending: "queued",
44588
+ running: "in progress",
44589
+ completed: "complete",
44590
+ failed: "failed",
44591
+ cancelled: "cancelled"
44592
+ };
44519
44593
  /**
44520
44594
  * `backups <uuid>`: what is protected, and from when.
44521
44595
  *
44522
44596
  * The spec's row asks for "backup states and the newest restore point". The newest restore point is the
44523
44597
  * latest success among the tracks, falling back to the status's own `lastSuccessAt`, and `recovery` says what
44524
44598
  * that can actually recover from. Each of those is the API's own field; none is derived here.
44599
+ *
44600
+ * Beside it, `request` asks for a fresh capture of both tracks to the company's own armed bucket,
44601
+ * `requests` lists what this environment has asked for, and `request-show` reads one of those requests.
44602
+ * A bare first argument that is not one of those words is still the environment UUID, so the existing read
44603
+ * keeps working unchanged.
44525
44604
  */
44526
44605
  var backups = {
44527
44606
  ...BACKUPS_METADATA,
44528
44607
  async run(context) {
44529
- const [uuid, ...rest] = context.positional;
44530
- if (uuid === void 0 || rest.length > 0) throw new UsageError(BACKUPS_USAGE);
44608
+ const [first, ...rest] = context.positional;
44609
+ if (first === "requests") return await requests(context, rest);
44610
+ if (first === "request-show") return await requestShow(context, rest);
44611
+ if (first === "request") return await request$1(context, rest);
44612
+ if (first === void 0 || rest.length > 0) throw new UsageError(BACKUPS_USAGE);
44531
44613
  return (await hostingBackupShow({ path: {
44532
44614
  company: await requireCompany(context.flags),
44533
- environmentUuid: uuid
44615
+ environmentUuid: first
44534
44616
  } })).data;
44535
44617
  },
44536
44618
  human(report) {
44537
- const newest = report.tracks.map((track) => track.lastSuccessAt).filter((at) => at !== null).sort().at(-1) ?? report.lastSuccessAt ?? "never";
44538
- const tracks = report.tracks.map((track) => ` ${track.kind} ${track.name} ${track.state} last success ${track.lastSuccessAt ?? "never"}`);
44539
- return [
44540
- `recovery ${report.recovery}`,
44541
- `newest restore point ${newest}`,
44542
- ...tracks.length === 0 ? [" no backup tracks are recorded for this environment"] : tracks,
44543
- clientCopyLine(report.clientCopy)
44544
- ].join("\n");
44619
+ if ("kind" in report) {
44620
+ if (report.kind === "requests") return requestsText(report.page);
44621
+ if (report.kind === "request") return requestLine(report.request);
44622
+ return renderWriteOutcome(report.outcome, requestLine);
44623
+ }
44624
+ return statusText$2(report);
44545
44625
  }
44546
44626
  };
44627
+ /** `requests <environment-uuid>`: the fresh backups this environment has asked for, newest first. */
44628
+ async function requests(context, rest) {
44629
+ const [uuid] = rest;
44630
+ if (uuid === void 0 || rest.length > 1) throw new UsageError(BACKUPS_USAGE);
44631
+ return {
44632
+ kind: "requests",
44633
+ page: (await hostingBackupRequestsIndex({ path: {
44634
+ company: await requireCompany(context.flags),
44635
+ environmentUuid: uuid
44636
+ } })).data
44637
+ };
44638
+ }
44639
+ /** `request-show <environment-uuid> <request-uuid>`: one request's state. */
44640
+ async function requestShow(context, rest) {
44641
+ const [environmentUuid, requestUuid] = rest;
44642
+ if (environmentUuid === void 0 || requestUuid === void 0 || rest.length > 2) throw new UsageError(BACKUPS_USAGE);
44643
+ return {
44644
+ kind: "request",
44645
+ request: (await hostingBackupRequestsShow({ path: {
44646
+ company: await requireCompany(context.flags),
44647
+ environmentUuid,
44648
+ backupRequestUuid: requestUuid
44649
+ } })).data
44650
+ };
44651
+ }
44652
+ /** `request <environment-uuid>`: ask for a fresh backup, copied to the company's own armed bucket. */
44653
+ async function request$1(context, rest) {
44654
+ const [uuid] = rest;
44655
+ if (uuid === void 0 || rest.length > 1) throw new UsageError(BACKUPS_USAGE);
44656
+ const company = await requireCompany(context.flags);
44657
+ return {
44658
+ kind: "request-write",
44659
+ outcome: await confirmableWrite(context, `Ask for a fresh backup of environment ${uuid}: a new capture of its application files and managed databases, copied to the company's own armed bucket.`, async () => (await hostingBackupRequestsStore({ path: {
44660
+ company,
44661
+ environmentUuid: uuid
44662
+ } })).data)
44663
+ };
44664
+ }
44665
+ /** The backup status as a few readable lines: recovery, the newest restore point, each track and the own copy. */
44666
+ function statusText$2(report) {
44667
+ const newest = report.tracks.map((track) => track.lastSuccessAt).filter((at) => at !== null).sort().at(-1) ?? report.lastSuccessAt ?? "never";
44668
+ const tracks = report.tracks.map((track) => ` ${track.kind} ${track.name} ${track.state} last success ${track.lastSuccessAt ?? "never"}`);
44669
+ return [
44670
+ `recovery ${report.recovery}`,
44671
+ `newest restore point ${newest}`,
44672
+ ...tracks.length === 0 ? [" no backup tracks are recorded for this environment"] : tracks,
44673
+ clientCopyLine(report.clientCopy)
44674
+ ].join("\n");
44675
+ }
44676
+ /** Every request in the page, one line each; an empty history says so rather than printing nothing. */
44677
+ function requestsText(page) {
44678
+ if (page.requests.length === 0) return "No fresh backups have been asked for from this environment.";
44679
+ return page.requests.map(requestLine).join("\n");
44680
+ }
44681
+ /** One request: its state, when it was asked for, and when it finished. */
44682
+ function requestLine(request) {
44683
+ const finished = request.completedAt ?? "not yet";
44684
+ return [
44685
+ `request ${request.uuid} ${STATUS_LABEL[request.status]}`,
44686
+ ` asked ${request.requestedAt} finished ${finished}`,
44687
+ ...request.failureReason === null ? [] : [` ${request.failureReason}`]
44688
+ ].join("\n");
44689
+ }
44547
44690
  //#endregion
44548
44691
  //#region src/commands/billing-text-money.ts
44549
44692
  /**
@@ -60344,7 +60487,7 @@ var authoritativeDnsAnswerDataSchema = object({
60344
60487
  recursion_available: boolean(),
60345
60488
  authentic_data: boolean()
60346
60489
  });
60347
- object({
60490
+ var authorizationCodeDataSchema = object({
60348
60491
  code: string(),
60349
60492
  redirectUri: string(),
60350
60493
  state: string().nullable(),
@@ -61318,11 +61461,13 @@ var faviconUrlsDataSchema = object({
61318
61461
  androidIcon512Url: string(),
61319
61462
  expiresAt: string()
61320
61463
  });
61464
+ var companyStrongAuthModeEnumSchema = _enum(["off", "required"]);
61321
61465
  object({ company: object({
61322
61466
  slug: string(),
61323
61467
  name: string(),
61324
61468
  logo: union([companyLogoUrlsDataSchema, _null()]),
61325
- favicon: union([faviconUrlsDataSchema, _null()])
61469
+ favicon: union([faviconUrlsDataSchema, _null()]),
61470
+ strongAuthMode: companyStrongAuthModeEnumSchema
61326
61471
  }) });
61327
61472
  object({ items: array(object({
61328
61473
  uuid: string(),
@@ -61337,7 +61482,8 @@ object({ token: string().min(64).max(64) });
61337
61482
  var companyMemberDataSchema = object({
61338
61483
  user: userDataSchema,
61339
61484
  role: string(),
61340
- joinedAt: string()
61485
+ joinedAt: string(),
61486
+ strongAuthEnrolled: boolean()
61341
61487
  });
61342
61488
  object({
61343
61489
  slug: string(),
@@ -61425,6 +61571,7 @@ var confirmPortableSiteRequestSchema = object({
61425
61571
  previewHash: string().min(64).max(64),
61426
61572
  expiresAt: int()
61427
61573
  }).describe("The confirmed import carries the same reviewed digest as preparation.\n\nA separate class keeps the confirmation's documented contract distinct from preparation's even\nthough the fields are identical: they are different operations against different state, and a\nfuture field that belongs to only one of them must not silently become part of both.");
61574
+ var confirmTotpRequestSchema = object({ code: string().max(10) }).describe("The code that finishes an authenticator-app enrolment for the caller's own account.\n\nThere is no subject field: the account being changed is the one the presented credential\nauthenticated, so no caller can name somebody else's enrolment.");
61428
61575
  var consentScopeDataSchema = object({
61429
61576
  id: string(),
61430
61577
  description: string()
@@ -61498,9 +61645,10 @@ var createHostingCancellationRequestSchema = object({
61498
61645
  effectiveAt: datetime(),
61499
61646
  accepted: boolean().describe("`boolean` rather than `accepted`, for the reason recorded on\nResetHostingAdministratorPasswordRequest: the accepted rule's value set is\ninferred into the generated client as an enum OpenAPI cannot express.\n\"Must be true\" is asserted in HostingCancellationService, the single writer of\na cancellation row, so a direct caller cannot skip it either."),
61500
61647
  deletionAcknowledged: boolean().optional().describe("The destructive choice carries its own acknowledgement, checked authoritatively by the\nrecorder; the boundary only has to accept the field."),
61648
+ liveStorageDisposalAcknowledged: boolean().optional().describe("Irreversible live-storage removal is its own confirmation, checked authoritatively by the\nrecorder; the boundary only has to accept the field. An older client that omits it records\nno consent, and that episode is refused at approval rather than granted the newer meaning."),
61501
61649
  deletionTiming: union([hostingCancellationDeletionTimingEnumSchema, _null()]).optional(),
61502
61650
  finalCopyOrder: union([hostingFinalCopyOrderEnumSchema, _null()]).optional()
61503
- }).describe("A Company Admin's cancellation request.\n\nThe effective date is submitted as what it is — the date service ends — and the\nserver decides whether it is allowed. `accepted` must be present and true, so a\nconfirmation is a deliberate act rather than the absence of a rejection.\n\n`deletionTiming` is the one optional member: it states whether the environment is deleted at the\nagreed service end or now, and omitting it keeps the legacy episode that records no timing at all.");
61651
+ }).describe("A Company Admin's cancellation request.\n\nThe effective date is submitted as what it is — the date service ends — and the\nserver decides whether it is allowed. `accepted` must be present and true, so a\nconfirmation is a deliberate act rather than the absence of a rejection.\n\n`deletionTiming` is the one optional member: it states whether the environment is deleted at the\nagreed service end or now, and omitting it keeps the legacy episode that records no timing at all.\n\n`liveStorageDisposalAcknowledged` is optional at the boundary because copy shown before it existed\ncould not have offered it; the recorder decides whether the episode carries consent, and an episode\nwithout it is refused at approval.");
61504
61652
  var createHostingDatabaseRequestSchema = object({
61505
61653
  key: string().max(63).regex(/^[a-z][a-z0-9_]{0,62}$/),
61506
61654
  engine: _enum([
@@ -61713,6 +61861,10 @@ var diagnosticsUnreadyEnvironmentsDataSchema = object({
61713
61861
  total: int(),
61714
61862
  environments: array(diagnosticsUnreadyEnvironmentDataSchema)
61715
61863
  });
61864
+ var discoverablePasskeyAssertRequestSchema = object({
61865
+ challengeId: string().max(100),
61866
+ credential: string()
61867
+ }).describe("The browser's signed assertion answering a passwordless start.\n\n`challengeId` names the one challenge the options minted and `credential` is the WebAuthn JSON the\nbrowser returned for it. Neither can name an origin: that is stored with the challenge.");
61716
61868
  object({
61717
61869
  retainedOperationId: string().regex(/^[a-z0-9][a-z0-9-]{3,40}$/),
61718
61870
  retainedGeneration: int().min(0),
@@ -62446,6 +62598,14 @@ var firstPartyAuthorizeRequestSchema = object({
62446
62598
  scope: string().max(255).optional(),
62447
62599
  state: string().max(255).optional()
62448
62600
  }).describe("Credential-to-code exchange for an approved first-party public client.\nThe client ID, redirect URI and PKCE challenge are all required; nothing is\ntrusted from the caller beyond the credentials themselves.");
62601
+ var firstPartyPasskeyStartRequestSchema = object({
62602
+ client_id: string().max(100),
62603
+ redirect_uri: string().max(2048),
62604
+ code_challenge: string().min(43).max(128),
62605
+ code_challenge_method: _enum(["S256"]),
62606
+ scope: string().max(255).optional(),
62607
+ state: string().max(255).optional()
62608
+ }).describe("The first half of a passwordless first-party login: only the authorization frame it is for.\n\nThere is deliberately no email, password or other account identifier, because the member is not\nknown until the assertion answering these options verifies.");
62449
62609
  object({ email: email().max(255) });
62450
62610
  object({
62451
62611
  configured: boolean(),
@@ -63366,6 +63526,20 @@ object({
63366
63526
  accessKeyHint: string().nullable(),
63367
63527
  updatedAt: string().nullable()
63368
63528
  });
63529
+ var hostingOperationStatusEnumSchema = _enum([
63530
+ "running",
63531
+ "completed",
63532
+ "failed",
63533
+ "pending",
63534
+ "cancelled"
63535
+ ]).describe("How one operation run or one of its stages ended, or that it has not ended. Deliberately not `HostingStatusEnum`: an environment is `ready`, a stage is `completed`, and a stage that threw a readiness wait is `pending` rather than `failed`. Reusing the environment lifecycle words here would let one report call a healthy wait a fault — the distinction the journal was changed to make on 2026-10-02.\n");
63536
+ object({ requests: array(object({
63537
+ uuid: string(),
63538
+ status: hostingOperationStatusEnumSchema.describe("How one operation run or one of its stages ended, or that it has not ended. Deliberately not `HostingStatusEnum`: an environment is `ready`, a stage is `completed`, and a stage that threw a readiness wait is `pending` rather than `failed`. Reusing the environment lifecycle words here would let one report call a healthy wait a fault — the distinction the journal was changed to make on 2026-10-02.\n"),
63539
+ requestedAt: string(),
63540
+ completedAt: string().nullable(),
63541
+ failureReason: string().nullable()
63542
+ })) });
63369
63543
  var hostingBackupTrackDataSchema = object({
63370
63544
  kind: string(),
63371
63545
  name: string(),
@@ -65735,6 +65909,29 @@ var linkHostingExternalSecretReferenceRequestSchema = object({
65735
65909
  remotePath: string().max(255),
65736
65910
  remoteKey: string().max(255)
65737
65911
  }).describe("Mapping one remote key onto one declared secret name.\n\nThe name is a local secret a process declares, and the path and key are the\ncustomer's own naming inside their secret manager. Nothing here is a value.");
65912
+ var loginContinuationStageEnumSchema = _enum(["challenge", "enrol"]).describe("What a login continuation is still waiting for: proving an existing factor, or establishing one because a company the member belongs to requires strong authentication.\n");
65913
+ var strongAuthMethodEnumSchema = _enum(["totp", "passkey"]);
65914
+ var loginContinuationDataSchema = object({
65915
+ continuation: string(),
65916
+ expiresAt: string(),
65917
+ stage: loginContinuationStageEnumSchema.describe("What a login continuation is still waiting for: proving an existing factor, or establishing one because a company the member belongs to requires strong authentication.\n"),
65918
+ availableMethods: array(strongAuthMethodEnumSchema)
65919
+ });
65920
+ var loginContinuationEnrolRequestSchema = object({ continuation: string().max(100) }).describe("The first half of an enrolment: a pending login asking to begin the factor it owes.\n\nThere is no member field, so a secret or a set of creation options can only be minted for the\naccount the continuation already belongs to.");
65921
+ var loginContinuationPasskeyOptionsRequestSchema = object({ continuation: string().max(100) }).describe("The first half of a passkey ceremony: the pending login asking for assertion options.\n\nThere is no member field, so the options can only be minted for the account the continuation\nbelongs to.");
65922
+ var loginContinuationPasskeyRequestSchema = object({
65923
+ continuation: string().max(100),
65924
+ challengeId: string().max(100),
65925
+ credential: string()
65926
+ }).describe("The second half of a passkey ceremony: the browser's signed assertion for the pending login.\n\n`challengeId` names the one challenge the options answer minted for this login, and `credential` is\nthe WebAuthn JSON the browser returned for it. Neither can name a member or a credential the\ncontinuation does not already belong to.");
65927
+ var loginContinuationRecoveryCodeRequestSchema = object({
65928
+ continuation: string().max(100),
65929
+ recoveryCode: string().max(64)
65930
+ }).describe("One ceremony step: a recovery code offered to the login continuation that is waiting.\n\nA recovery code replaces a lost factor, so this step is refused a stage where nothing is pending\nand it never returns access — only the replacement stage.");
65931
+ var loginContinuationTotpRequestSchema = object({
65932
+ continuation: string().max(100),
65933
+ code: string().max(10)
65934
+ }).describe("One ceremony step: an authenticator-app code for the login continuation that asked for it.\n\nThe continuation is the whole capability. There is no email, password, user id or client field to\nsubmit, so a caller can only finish the stage that is actually pending.");
65738
65935
  var mailQueueSnapshotDataSchema = object({
65739
65936
  state: string(),
65740
65937
  reason: string().nullable(),
@@ -65804,6 +66001,20 @@ var orphanedNamespaceDataSchema = object({
65804
66001
  protected: boolean(),
65805
66002
  owned: boolean()
65806
66003
  });
66004
+ var passkeyAssertionOptionsDataSchema = object({
66005
+ challengeId: string(),
66006
+ publicKey: string()
66007
+ });
66008
+ var passkeyCredentialDataSchema = object({
66009
+ uuid: string(),
66010
+ label: string(),
66011
+ createdAt: string(),
66012
+ lastUsedAt: string().nullable()
66013
+ });
66014
+ var passkeyRegistrationOptionsDataSchema = object({
66015
+ challengeId: string(),
66016
+ publicKey: string()
66017
+ });
65807
66018
  var platformAlertDeliveryStatusEnumSchema = _enum([
65808
66019
  "pending",
65809
66020
  "accepted",
@@ -66128,6 +66339,7 @@ var recordBillingProviderSettlementRequestSchema = object({
66128
66339
  note: string().max(255).nullish()
66129
66340
  }).describe("An operator transcribes the provider's amounts; this request neither moves nor verifies money.");
66130
66341
  var recordHostingCustdAudienceRequestSchema = object({ audience: string().regex(/^[a-z0-9][a-z0-9._-]{2,199}$/) }).describe("The shape of one application workload's CustD realm audience name.\n\nAn audience name is the only input. Provider client id and redirect URIs belong to the realm\nintent's registration settings, never to the recorded audience binding, so this request cannot\nleak them into the binding. The alphabet is the same one the binding service records with.");
66342
+ var recoveryCodeSetDataSchema = object({ codes: array(string()) });
66131
66343
  var redeemBillingDiscountCodeRequestSchema = object({ code: string().max(64) }).describe("Redeeming a code.\n\nThe code is the only field: the account is the one the route resolved, never a value in the body, so a caller\ncannot redeem a code against somebody else's account.");
66132
66344
  var redeemMailboxRecoveryRequestSchema = object({
66133
66345
  token: string().max(200),
@@ -66152,6 +66364,11 @@ var registerHostingStorageClassRequestSchema = object({
66152
66364
  enabled: boolean().optional(),
66153
66365
  restricted: boolean().optional()
66154
66366
  }).describe("Register one cluster's Kubernetes StorageClass in the catalogue.\n\nThe name is validated as a Kubernetes object name and unique per cluster, because it names an\nobject that already exists: a second row for the same class would let two records disagree about\none pool. Nothing here contacts the cluster; registration records intent.");
66367
+ var registerPasskeyRequestSchema = object({
66368
+ challengeId: string().max(100),
66369
+ credential: string(),
66370
+ label: string().max(100).nullish()
66371
+ }).describe("The attestation a browser produced for a passkey registration it was offered.\n\n`challengeId` names the one cached ceremony the service minted for this caller; the credential is\nthe WebAuthn JSON the browser returned for it. The label is only what the member will call the key.");
66155
66372
  object({
66156
66373
  name: string().max(255),
66157
66374
  email: email().max(255).describe("Live rows only. A closed account keeps its address as retained\nhistory, so the address is registrable again as a new person — which\nis the only reason this is not the whole-table rule it used to be."),
@@ -66516,7 +66733,8 @@ object({
66516
66733
  authenticated: boolean(),
66517
66734
  user: union([userDataSchema, _null()]),
66518
66735
  csrfToken: string(),
66519
- redirectUrl: string().nullable()
66736
+ redirectUrl: string().nullable(),
66737
+ continuation: union([loginContinuationDataSchema, _null()])
66520
66738
  });
66521
66739
  var setEmailAliasDestinationsRequestSchema = object({}).describe("Aliases share mailbox forwarding syntax, normalization, duplicates and bounds, but cannot be empty.");
66522
66740
  var setEmailMailboxFallbackRequestSchema = object({ address: email().max(254) }).describe("Setting or replacing one mailbox's fallback address.\n\nThe candidate is validated with Laravel's standard syntax rules; normalization is owned by\n{@see CanonicalEmailService}. Setting a fallback never marks it verified, so no\ncaller-supplied flag can enable self-service recovery: only completing the verification link does.");
@@ -66948,6 +67166,12 @@ var storePlatformHostingEnvironmentRequestSchema = object({
66948
67166
  postgresRestoreSource: object({ sourceEnvironmentUuid: uuid().optional() }).nullish(),
66949
67167
  configuration: string().max(65536).optional()
66950
67168
  }).describe("One client's environment, submitted by a staff operator who holds no membership in that client.\n\nEvery field rule is the customer's own, including the preset merge and the package allowlist: only the source of the\ncompany differs, because this request has no company middleware and names the client in the URL. A rule restated\nhere would be a second definition of what an environment may be.");
67169
+ var strongAuthFactorInventoryDataSchema = object({
67170
+ totpEnrolled: boolean(),
67171
+ totpConfirmedAt: string().nullable(),
67172
+ passkeys: array(passkeyCredentialDataSchema),
67173
+ unusedRecoveryCodes: int()
67174
+ });
66951
67175
  var systemOrphansHolderDataSchema = object({
66952
67176
  name: string(),
66953
67177
  run: string().nullable(),
@@ -66968,6 +67192,11 @@ object({
66968
67192
  tenantSecretFolders: array(tenantSecretFolderDataSchema),
66969
67193
  namespaces: array(orphanedNamespaceDataSchema)
66970
67194
  });
67195
+ var totpEnrolmentDataSchema = object({
67196
+ secret: string(),
67197
+ provisioningUri: string(),
67198
+ expiresAt: string()
67199
+ });
66971
67200
  var updateBillingCustomerProfileRequestSchema = object({
66972
67201
  legalName: string().max(255).nullish(),
66973
67202
  tradingName: string().max(255).nullish(),
@@ -67036,7 +67265,10 @@ var updateBillingPaymentStateRequestSchema = object({
67036
67265
  }).describe("Recording a manual payment state: one invoice, or an explicit list of a company's invoices.\n\nTwo bodies, one route file apart: a single invoice names a `state` and an optional `note`, while a\ncompany action names `invoices`, an explicit array of UUIDs. The shape is what separates them — a\ncompany action that could also be read as a single-invoice write would be a way to mark an unnamed\nset unpaid, which is exactly what this surface refuses to do.");
67037
67266
  var updateCompanyAssetRequestSchema = object({ image: _instanceof(File).describe("Maximum file size: 16384 kilobytes.") }).describe("Company logo or favicon upload. Accepted types, byte size and minimum\ndimensions come from config/media.php; SVG is not accepted.");
67038
67267
  object({ role: _enum(["Company Admin", "Company Member"]) });
67039
- object({ name: string().max(255).describe("The slug is stable when the name changes; it is never accepted here.") });
67268
+ object({
67269
+ name: string().max(255).describe("The slug is stable when the name changes; it is never accepted here."),
67270
+ strongAuthMode: companyStrongAuthModeEnumSchema.optional().describe("One of the catalogue's modes: never a boolean, never a free string.")
67271
+ });
67040
67272
  var updateDnsZoneTemplateRequestSchema = object({
67041
67273
  name: string().max(100),
67042
67274
  description: string().max(1e3).nullish(),
@@ -68203,8 +68435,18 @@ union([
68203
68435
  ]);
68204
68436
  union([object({ message: string().describe("Error overview.") }), messageDataSchema]);
68205
68437
  union([object({ message: string().describe("Error overview.") }), messageDataSchema]);
68438
+ union([loginContinuationDataSchema, authorizationCodeDataSchema]);
68206
68439
  union([messageDataSchema, messageDataSchema]);
68207
68440
  firstPartyAuthorizeRequestSchema.describe("Credential-to-code exchange for an approved first-party public client.\nThe client ID, redirect URI and PKCE challenge are all required; nothing is\ntrusted from the caller beyond the credentials themselves.");
68441
+ var authPasskeyAuthorizeStatus200Schema = passkeyAssertionOptionsDataSchema;
68442
+ var authPasskeyAuthorizeStatus201Schema = string();
68443
+ var authPasskeyAuthorizeStatus422Schema = messageDataSchema;
68444
+ var authPasskeyAuthorizeStatus429Schema = messageDataSchema;
68445
+ union([authPasskeyAuthorizeStatus200Schema, authPasskeyAuthorizeStatus201Schema]);
68446
+ union([authPasskeyAuthorizeStatus422Schema, authPasskeyAuthorizeStatus429Schema]);
68447
+ firstPartyPasskeyStartRequestSchema.describe("The first half of a passwordless first-party login: only the authorization frame it is for.\n\nThere is deliberately no email, password or other account identifier, because the member is not\nknown until the assertion answering these options verifies.");
68448
+ union([messageDataSchema, messageDataSchema]);
68449
+ discoverablePasskeyAssertRequestSchema.describe("The browser's signed assertion answering a passwordless start.\n\n`challengeId` names the one challenge the options minted and `credential` is the WebAuthn JSON the\nbrowser returned for it. Neither can name an origin: that is stored with the challenge.");
68208
68450
  union([object({ message: string().describe("Error overview.") }), object({ message: string().describe("Error overview.") })]);
68209
68451
  union([
68210
68452
  messageDataSchema,
@@ -68625,10 +68867,31 @@ union([object({ message: string().describe("Error overview.") }), object({ messa
68625
68867
  union([
68626
68868
  object({ message: string().describe("Error overview.") }),
68627
68869
  object({ message: string().describe("Error overview.") }),
68870
+ messageDataSchema,
68628
68871
  messageDataSchema
68629
68872
  ]);
68630
68873
  storeHostingBackupDestinationRequestSchema.describe("The one write that records a company's own backup destination.\n\nThe rules are the boundary of a credential the platform will later use to reach a client's bucket, so\nthey are stricter than \"it is a string\": the endpoint must be a real HTTPS URL (a plaintext endpoint\nwould carry the secret in the clear), the bucket and region must be the shapes S3 accepts, and the\nprefix must be a relative folder without a `..` segment because it decides where copies land.\n\nA local endpoint is allowed over HTTP only when its host is loopback, which is how a client tests\nagainst MinIO on their own machine. Everything else is refused here rather than discovered when a\nbackup fails weeks later.");
68631
- union([object({ message: string().describe("Error overview.") }), object({ message: string().describe("Error overview.") })]);
68874
+ union([
68875
+ object({ message: string().describe("Error overview.") }),
68876
+ object({ message: string().describe("Error overview.") }),
68877
+ messageDataSchema
68878
+ ]);
68879
+ union([
68880
+ object({ message: string().describe("Error overview.") }),
68881
+ object({ message: string().describe("Error overview.") }),
68882
+ messageDataSchema
68883
+ ]);
68884
+ union([
68885
+ object({ message: string().describe("Error overview.") }),
68886
+ object({ message: string().describe("Error overview.") }),
68887
+ messageDataSchema,
68888
+ messageDataSchema
68889
+ ]);
68890
+ union([
68891
+ object({ message: string().describe("Error overview.") }),
68892
+ object({ message: string().describe("Error overview.") }),
68893
+ messageDataSchema
68894
+ ]);
68632
68895
  union([
68633
68896
  object({ message: string().describe("Error overview.") }),
68634
68897
  object({ message: string().describe("Error overview.") }),
@@ -68665,7 +68928,7 @@ union([
68665
68928
  messageDataSchema,
68666
68929
  messageDataSchema
68667
68930
  ]);
68668
- createHostingCancellationRequestSchema.describe("A Company Admin's cancellation request.\n\nThe effective date is submitted as what it is — the date service ends — and the\nserver decides whether it is allowed. `accepted` must be present and true, so a\nconfirmation is a deliberate act rather than the absence of a rejection.\n\n`deletionTiming` is the one optional member: it states whether the environment is deleted at the\nagreed service end or now, and omitting it keeps the legacy episode that records no timing at all.");
68931
+ createHostingCancellationRequestSchema.describe("A Company Admin's cancellation request.\n\nThe effective date is submitted as what it is — the date service ends — and the\nserver decides whether it is allowed. `accepted` must be present and true, so a\nconfirmation is a deliberate act rather than the absence of a rejection.\n\n`deletionTiming` is the one optional member: it states whether the environment is deleted at the\nagreed service end or now, and omitting it keeps the legacy episode that records no timing at all.\n\n`liveStorageDisposalAcknowledged` is optional at the boundary because copy shown before it existed\ncould not have offered it; the recorder decides whether the episode carries consent, and an episode\nwithout it is refused at approval.");
68669
68932
  union([
68670
68933
  object({ message: string().describe("Error overview.") }),
68671
68934
  object({ message: string().describe("Error overview.") }),
@@ -70075,6 +70338,37 @@ union([
70075
70338
  object({ message: string().describe("Error overview.") }),
70076
70339
  messageDataSchema
70077
70340
  ]);
70341
+ union([messageDataSchema, messageDataSchema]);
70342
+ loginContinuationTotpRequestSchema.describe("One ceremony step: an authenticator-app code for the login continuation that asked for it.\n\nThe continuation is the whole capability. There is no email, password, user id or client field to\nsubmit, so a caller can only finish the stage that is actually pending.");
70343
+ union([messageDataSchema, messageDataSchema]);
70344
+ loginContinuationRecoveryCodeRequestSchema.describe("One ceremony step: a recovery code offered to the login continuation that is waiting.\n\nA recovery code replaces a lost factor, so this step is refused a stage where nothing is pending\nand it never returns access — only the replacement stage.");
70345
+ var authContinuationPasskeyOptionsStatus200Schema = passkeyAssertionOptionsDataSchema;
70346
+ var authContinuationPasskeyOptionsStatus201Schema = string();
70347
+ var authContinuationPasskeyOptionsStatus422Schema = messageDataSchema;
70348
+ var authContinuationPasskeyOptionsStatus429Schema = messageDataSchema;
70349
+ union([authContinuationPasskeyOptionsStatus200Schema, authContinuationPasskeyOptionsStatus201Schema]);
70350
+ union([authContinuationPasskeyOptionsStatus422Schema, authContinuationPasskeyOptionsStatus429Schema]);
70351
+ loginContinuationPasskeyOptionsRequestSchema.describe("The first half of a passkey ceremony: the pending login asking for assertion options.\n\nThere is no member field, so the options can only be minted for the account the continuation\nbelongs to.");
70352
+ union([messageDataSchema, messageDataSchema]);
70353
+ loginContinuationPasskeyRequestSchema.describe("The second half of a passkey ceremony: the browser's signed assertion for the pending login.\n\n`challengeId` names the one challenge the options answer minted for this login, and `credential` is\nthe WebAuthn JSON the browser returned for it. Neither can name a member or a credential the\ncontinuation does not already belong to.");
70354
+ var authContinuationEnrolTotpStatus200Schema = totpEnrolmentDataSchema;
70355
+ var authContinuationEnrolTotpStatus201Schema = string();
70356
+ var authContinuationEnrolTotpStatus422Schema = messageDataSchema;
70357
+ var authContinuationEnrolTotpStatus429Schema = messageDataSchema;
70358
+ union([authContinuationEnrolTotpStatus200Schema, authContinuationEnrolTotpStatus201Schema]);
70359
+ union([authContinuationEnrolTotpStatus422Schema, authContinuationEnrolTotpStatus429Schema]);
70360
+ loginContinuationEnrolRequestSchema.describe("The first half of an enrolment: a pending login asking to begin the factor it owes.\n\nThere is no member field, so a secret or a set of creation options can only be minted for the\naccount the continuation already belongs to.");
70361
+ union([messageDataSchema, messageDataSchema]);
70362
+ loginContinuationTotpRequestSchema.describe("One ceremony step: an authenticator-app code for the login continuation that asked for it.\n\nThe continuation is the whole capability. There is no email, password, user id or client field to\nsubmit, so a caller can only finish the stage that is actually pending.");
70363
+ var authContinuationEnrolPasskeyOptionsStatus200Schema = passkeyRegistrationOptionsDataSchema;
70364
+ var authContinuationEnrolPasskeyOptionsStatus201Schema = string();
70365
+ var authContinuationEnrolPasskeyOptionsStatus422Schema = messageDataSchema;
70366
+ var authContinuationEnrolPasskeyOptionsStatus429Schema = messageDataSchema;
70367
+ union([authContinuationEnrolPasskeyOptionsStatus200Schema, authContinuationEnrolPasskeyOptionsStatus201Schema]);
70368
+ union([authContinuationEnrolPasskeyOptionsStatus422Schema, authContinuationEnrolPasskeyOptionsStatus429Schema]);
70369
+ loginContinuationEnrolRequestSchema.describe("The first half of an enrolment: a pending login asking to begin the factor it owes.\n\nThere is no member field, so a secret or a set of creation options can only be minted for the\naccount the continuation already belongs to.");
70370
+ union([messageDataSchema, messageDataSchema]);
70371
+ loginContinuationPasskeyRequestSchema.describe("The second half of a passkey ceremony: the browser's signed assertion for the pending login.\n\n`challengeId` names the one challenge the options answer minted for this login, and `credential` is\nthe WebAuthn JSON the browser returned for it. Neither can name a member or a credential the\ncontinuation does not already belong to.");
70078
70372
  requestMailboxRecoveryRequestSchema.describe("An unauthenticated self-service recovery request for one mailbox address.\n\nThe address is only the lookup key: the response is identical whether the mailbox is unknown, has\nno verified fallback, or is eligible, so this request neither authorizes nor reveals anything.");
70079
70373
  verifyMailboxFallbackRequestSchema.describe("Confirming control of a candidate fallback address with the token from the verification link.\n\nThe token is taken in the POST body so a mail scanner following a GET cannot consume the grant. A\nsuccessful confirmation only marks the stored fallback verified; it changes no password.");
70080
70374
  redeemMailboxRecoveryRequestSchema.describe("Completing one mailbox password reset with the capability token from the link.\n\nThe token is taken in the POST body, never in a URL a scanner could follow, and it authorizes only\nthis one mailbox password change. The new password uses the same policy owner as every other\npassword (`Password::defaults()`) and must be confirmed.");
@@ -70970,6 +71264,59 @@ union([
70970
71264
  stateManagerCallbackRefusalDataSchema
70971
71265
  ]);
70972
71266
  stateManagerIntentRequestSchema.describe("The manager's intent-resolution request.\n\nThe run reference is the exact manager tuple the callback must bind and echo.\nThe intent reference is the Laravel-owned record it must resolve. Neither a\ncompany, an actor nor a credential is accepted: the handler resolves those\nserver-side and a caller-supplied identity grants no authority.\n\nThe callback is a Laravel/HTTP boundary, so its own fields are camelCase like\nthe rest of the API. The complete unfiltered payload is checked against the one\nshared callback schema, so a superseded snake_case, mixed or unknown-field body\nis refused rather than silently coerced by Laravel's field filtering.");
71267
+ object({ message: string().describe("Error overview.") });
71268
+ var strongAuthFactorBeginTotpStatus200Schema = totpEnrolmentDataSchema;
71269
+ var strongAuthFactorBeginTotpStatus201Schema = string();
71270
+ var strongAuthFactorBeginTotpStatus401Schema = object({ message: string().describe("Error overview.") });
71271
+ var strongAuthFactorBeginTotpStatus403Schema = messageDataSchema;
71272
+ union([strongAuthFactorBeginTotpStatus200Schema, strongAuthFactorBeginTotpStatus201Schema]);
71273
+ union([strongAuthFactorBeginTotpStatus401Schema, strongAuthFactorBeginTotpStatus403Schema]);
71274
+ union([
71275
+ object({ message: string().describe("Error overview.") }),
71276
+ messageDataSchema,
71277
+ messageDataSchema
71278
+ ]);
71279
+ var strongAuthFactorConfirmTotpStatus200Schema = strongAuthFactorInventoryDataSchema;
71280
+ var strongAuthFactorConfirmTotpStatus201Schema = string();
71281
+ var strongAuthFactorConfirmTotpStatus401Schema = object({ message: string().describe("Error overview.") });
71282
+ var strongAuthFactorConfirmTotpStatus403Schema = messageDataSchema;
71283
+ var strongAuthFactorConfirmTotpStatus422Schema = messageDataSchema;
71284
+ union([strongAuthFactorConfirmTotpStatus200Schema, strongAuthFactorConfirmTotpStatus201Schema]);
71285
+ union([
71286
+ strongAuthFactorConfirmTotpStatus401Schema,
71287
+ strongAuthFactorConfirmTotpStatus403Schema,
71288
+ strongAuthFactorConfirmTotpStatus422Schema
71289
+ ]);
71290
+ confirmTotpRequestSchema.describe("The code that finishes an authenticator-app enrolment for the caller's own account.\n\nThere is no subject field: the account being changed is the one the presented credential\nauthenticated, so no caller can name somebody else's enrolment.");
71291
+ var strongAuthFactorIssueRecoveryCodesStatus200Schema = recoveryCodeSetDataSchema;
71292
+ var strongAuthFactorIssueRecoveryCodesStatus201Schema = string();
71293
+ var strongAuthFactorIssueRecoveryCodesStatus401Schema = object({ message: string().describe("Error overview.") });
71294
+ var strongAuthFactorIssueRecoveryCodesStatus403Schema = messageDataSchema;
71295
+ union([strongAuthFactorIssueRecoveryCodesStatus200Schema, strongAuthFactorIssueRecoveryCodesStatus201Schema]);
71296
+ union([strongAuthFactorIssueRecoveryCodesStatus401Schema, strongAuthFactorIssueRecoveryCodesStatus403Schema]);
71297
+ var strongAuthPasskeyOptionsStatus200Schema = passkeyRegistrationOptionsDataSchema;
71298
+ var strongAuthPasskeyOptionsStatus201Schema = string();
71299
+ var strongAuthPasskeyOptionsStatus401Schema = object({ message: string().describe("Error overview.") });
71300
+ var strongAuthPasskeyOptionsStatus403Schema = messageDataSchema;
71301
+ union([strongAuthPasskeyOptionsStatus200Schema, strongAuthPasskeyOptionsStatus201Schema]);
71302
+ union([strongAuthPasskeyOptionsStatus401Schema, strongAuthPasskeyOptionsStatus403Schema]);
71303
+ var strongAuthPasskeyStoreStatus200Schema = passkeyCredentialDataSchema;
71304
+ var strongAuthPasskeyStoreStatus201Schema = string();
71305
+ var strongAuthPasskeyStoreStatus401Schema = object({ message: string().describe("Error overview.") });
71306
+ var strongAuthPasskeyStoreStatus403Schema = messageDataSchema;
71307
+ var strongAuthPasskeyStoreStatus422Schema = messageDataSchema;
71308
+ union([strongAuthPasskeyStoreStatus200Schema, strongAuthPasskeyStoreStatus201Schema]);
71309
+ union([
71310
+ strongAuthPasskeyStoreStatus401Schema,
71311
+ strongAuthPasskeyStoreStatus403Schema,
71312
+ strongAuthPasskeyStoreStatus422Schema
71313
+ ]);
71314
+ registerPasskeyRequestSchema.describe("The attestation a browser produced for a passkey registration it was offered.\n\n`challengeId` names the one cached ceremony the service minted for this caller; the credential is\nthe WebAuthn JSON the browser returned for it. The label is only what the member will call the key.");
71315
+ union([
71316
+ object({ message: string().describe("Error overview.") }),
71317
+ messageDataSchema,
71318
+ messageDataSchema
71319
+ ]);
70973
71320
  union([messageDataSchema, messageDataSchema]);
70974
71321
  union([object({ message: string().describe("Error overview.") }), object({ message: string().describe("Error overview.") })]);
70975
71322
  union([
@@ -79390,7 +79737,7 @@ function writeUpdateState(state, env = process.env) {
79390
79737
  }
79391
79738
  //#endregion
79392
79739
  //#region src/version.ts
79393
- var VERSION = "1.0.685";
79740
+ var VERSION = "1.0.688";
79394
79741
  //#endregion
79395
79742
  //#region src/commands/update.ts
79396
79743
  /**
@@ -79465,7 +79812,7 @@ var update = {
79465
79812
  }, process.env);
79466
79813
  return {
79467
79814
  ...known,
79468
- current: after ?? "1.0.685",
79815
+ current: after ?? "1.0.688",
79469
79816
  latest: after ?? latest,
79470
79817
  upToDate: after !== null && (latest === null || !isNewerVersion(latest, after)),
79471
79818
  action: "run",
@@ -79747,7 +80094,7 @@ async function printUpdateNotice(options) {
79747
80094
  }, env, { waitMs: NOTICE_LOCK_WAIT_MS });
79748
80095
  } catch {}
79749
80096
  if (latest === null) return;
79750
- if (!isNewerVersion(latest, "1.0.685")) return;
80097
+ if (!isNewerVersion(latest, "1.0.688")) return;
79751
80098
  process.stderr.write(`A newer hostingctl is published: ${latest} (this copy is ${VERSION}). Run \`hostingctl update\` to update.\n`);
79752
80099
  }
79753
80100
  /** Whether an environment variable is set to something, which is how CI and the opt-out are read. */