@haakco/hostingctl 1.0.536 → 1.0.537

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
@@ -60619,7 +60619,7 @@ var storeHostingSshSourceRequestSchema = object({
60619
60619
  var storeHostingStorageBindingRequestSchema = object({
60620
60620
  path: string().max(255).optional(),
60621
60621
  mode: hostingStorageBindingModeEnumSchema.describe("How one environment reaches a company's purchased object storage. The two modes are access paths to the *same* bucket, not separate products: a client can use a normal S3 client, mount the bucket at a directory in an application, or do both, and switching between them moves no data and costs nothing extra. `native` records that the client uses the branded S3 endpoint itself, so the platform composes no mount for it.\n")
60622
- }).describe("Binding a purchased bucket to one environment, natively or as a managed directory.\n\nThe path is the dangerous part, so its rule is owned by `StorageMountPath` rather than written as\nbranching inside this declaration; a path that is not absolute, contains a traversal segment, is the\nfilesystem root or lands on a reserved system/managed location is refused before any write. Only the\nnative access path is delivered today, and the controller refuses a mount, so the path rule protects\nthe binding shape the day the mount is wired.");
60622
+ }).describe("Binding a purchased bucket to one environment, natively or as a managed directory.\n\nThe path is the dangerous part, so its rule is owned by `StorageMountPath` rather than written as\nbranching inside this declaration; a path that is not absolute, contains a traversal segment, is the\nfilesystem root or lands on a reserved system/managed location is refused before any write. Only the\nmount path is a directory inside the application tree, so it is validated here rather than by a\nbranching rule inside the controller.");
60623
60623
  var storeHostingStorageBucketRequestSchema = object({
60624
60624
  name: string().min(1).max(64).regex(/^[\pL\pN][\pL\pN ._-]*$/).describe("The client's own label, so they can tell two purchases apart. Anything printable and short."),
60625
60625
  capacityGb: int().min(10).max(1e5)
@@ -63075,7 +63075,7 @@ union([
63075
63075
  object({ message: string().describe("Error overview.") }),
63076
63076
  messageDataSchema
63077
63077
  ]);
63078
- storeHostingStorageBindingRequestSchema.describe("Binding a purchased bucket to one environment, natively or as a managed directory.\n\nThe path is the dangerous part, so its rule is owned by `StorageMountPath` rather than written as\nbranching inside this declaration; a path that is not absolute, contains a traversal segment, is the\nfilesystem root or lands on a reserved system/managed location is refused before any write. Only the\nnative access path is delivered today, and the controller refuses a mount, so the path rule protects\nthe binding shape the day the mount is wired.");
63078
+ storeHostingStorageBindingRequestSchema.describe("Binding a purchased bucket to one environment, natively or as a managed directory.\n\nThe path is the dangerous part, so its rule is owned by `StorageMountPath` rather than written as\nbranching inside this declaration; a path that is not absolute, contains a traversal segment, is the\nfilesystem root or lands on a reserved system/managed location is refused before any write. Only the\nmount path is a directory inside the application tree, so it is validated here rather than by a\nbranching rule inside the controller.");
63079
63079
  union([object({ message: string().describe("Error overview.") }), object({ message: string().describe("Error overview.") })]);
63080
63080
  union([object({ message: string().describe("Error overview.") }), object({ message: string().describe("Error overview.") })]);
63081
63081
  union([
@@ -69497,7 +69497,7 @@ function writeUpdateState(state, env = process.env) {
69497
69497
  }
69498
69498
  //#endregion
69499
69499
  //#region src/version.ts
69500
- var VERSION = "1.0.536";
69500
+ var VERSION = "1.0.537";
69501
69501
  //#endregion
69502
69502
  //#region src/commands/update.ts
69503
69503
  /**
@@ -69572,7 +69572,7 @@ var update = {
69572
69572
  }, process.env);
69573
69573
  return {
69574
69574
  ...known,
69575
- current: after ?? "1.0.536",
69575
+ current: after ?? "1.0.537",
69576
69576
  latest: after ?? latest,
69577
69577
  upToDate: after !== null && (latest === null || !isNewerVersion(latest, after)),
69578
69578
  action: "run",
@@ -69849,7 +69849,7 @@ async function printUpdateNotice(options) {
69849
69849
  }, env, { waitMs: NOTICE_LOCK_WAIT_MS });
69850
69850
  } catch {}
69851
69851
  if (latest === null) return;
69852
- if (!isNewerVersion(latest, "1.0.536")) return;
69852
+ if (!isNewerVersion(latest, "1.0.537")) return;
69853
69853
  process.stderr.write(`A newer hostingctl is published: ${latest} (this copy is ${VERSION}). Run \`hostingctl update\` to update.\n`);
69854
69854
  }
69855
69855
  /** Whether an environment variable is set to something, which is how CI and the opt-out are read. */