@datarails-ai/dr-appspace-cli 0.12.90 → 0.12.91

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.
Files changed (2) hide show
  1. package/dist/cli.js +11 -2
  2. package/package.json +1 -1
package/dist/cli.js CHANGED
@@ -13,7 +13,7 @@ import { fileURLToPath as fileURLToPath6 } from "url";
13
13
  // package.json
14
14
  var package_default = {
15
15
  name: "@datarails-ai/dr-appspace-cli",
16
- version: "0.12.90",
16
+ version: "0.12.91",
17
17
  description: "Datarails App Space CLI \u2014 build, try, push and publish App Space apps",
18
18
  type: "module",
19
19
  engines: {
@@ -57,7 +57,7 @@ var package_default = {
57
57
  };
58
58
 
59
59
  // src/buildInfo.ts
60
- var BUILD_TIME = "2026-11-16T15:39:46.390Z";
60
+ var BUILD_TIME = "2026-11-16T15:43:35.423Z";
61
61
  function formatBuildTime(iso) {
62
62
  if (iso === "") return "";
63
63
  const d = new Date(iso);
@@ -3725,6 +3725,13 @@ function describeEntries(res) {
3725
3725
  });
3726
3726
  return lines.join("\n") + "\n";
3727
3727
  }
3728
+ var KNOWN_LIMITS = [
3729
+ "Known limit: a host that echoes request headers back can leak the secret to any handler of the app. Approve only hosts that do not echo headers.",
3730
+ "Known limit: a push to a draft changes the published app's hosts at once, not at publish."
3731
+ ];
3732
+ function describeLimits() {
3733
+ return KNOWN_LIMITS.join("\n") + "\n";
3734
+ }
3728
3735
  async function askYes(question, output) {
3729
3736
  const rl = createInterface({ input: process.stdin, output });
3730
3737
  try {
@@ -3760,6 +3767,8 @@ function registerApproveHostsCommand(parent) {
3760
3767
  say.write(`About to approve for ${appId}:
3761
3768
  `);
3762
3769
  say.write(describeEntries({ entries: waiting, pending_hosts: [] }));
3770
+ const limits = opts.yes === true ? process.stderr : say;
3771
+ limits.write(describeLimits());
3763
3772
  if (opts.yes !== true) {
3764
3773
  if (process.stdin.isTTY !== true) {
3765
3774
  throw new Error("pass --yes to approve without a terminal to confirm on");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@datarails-ai/dr-appspace-cli",
3
- "version": "0.12.90",
3
+ "version": "0.12.91",
4
4
  "description": "Datarails App Space CLI — build, try, push and publish App Space apps",
5
5
  "type": "module",
6
6
  "engines": {