busa-cli 0.80.0 → 0.81.0

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/cli.js CHANGED
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- import { i as checkForUpdate, n as pkgVersion, r as runCli } from "./run-CqgevSM9.js";
2
+ import { i as checkForUpdate, n as pkgVersion, r as runCli } from "./run-CGOZ8gfF.js";
3
3
  //#region src/flush-stdio.ts
4
4
  /**
5
5
  * Wait for stdout/stderr to reach the other side before the process is torn down.
package/dist/index.js CHANGED
@@ -1,3 +1,3 @@
1
- import { a as render, i as checkForUpdate, n as pkgVersion, r as runCli, t as HELP } from "./run-CqgevSM9.js";
1
+ import { a as render, i as checkForUpdate, n as pkgVersion, r as runCli, t as HELP } from "./run-CGOZ8gfF.js";
2
2
  import { DEFAULT_BASE_URL, createBusabaseClient, normalizeBaseUrl } from "busabase-sdk";
3
3
  export { DEFAULT_BASE_URL, HELP, checkForUpdate, createBusabaseClient, normalizeBaseUrl, pkgVersion, render, runCli };
@@ -29,7 +29,8 @@ const LocaleSchema = z.enum({
29
29
  "de",
30
30
  "fr",
31
31
  "es",
32
- "pt"
32
+ "pt",
33
+ "vi"
33
34
  ],
34
35
  extendLocales: [
35
36
  "en",
@@ -114,7 +115,7 @@ const iStringParse = (str, lang = "en") => {
114
115
  if (!str) return "";
115
116
  if (typeof str === "string") return str;
116
117
  const locales = Object.keys(str || {});
117
- const result = str[locales.find((locale) => locale === lang) || locales.find((locale) => locale !== "en") || "en"];
118
+ const result = str[locales.includes(lang) ? lang : locales.includes("en") ? "en" : locales[0] ?? "en"];
118
119
  if (result === void 0) console.warn(`iStringParse: ${JSON.stringify(str)} has no '${lang}' or other locales`);
119
120
  return result || "";
120
121
  };
@@ -1232,7 +1233,7 @@ const airappNodeType = makeFileTreeNodeType({
1232
1233
  routeBase: "airapps",
1233
1234
  tag: "AirApps",
1234
1235
  entryFile: "package.json",
1235
- publicAccess: "no"
1236
+ publicAccess: "runtime"
1236
1237
  });
1237
1238
  //#endregion
1238
1239
  //#region ../../packages/busabase-contract/src/domains/base/definition.ts
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "busa-cli",
3
- "version": "0.80.0",
3
+ "version": "0.81.0",
4
4
  "description": "Command-line client for the Busabase OpenAPI REST API. Talks to a local or remote `busabase server`. Short-name alias for busabase-cli.",
5
5
  "license": "MIT",
6
6
  "homepage": "https://github.com/busabase/busabase/tree/main/apps/busabase-cli",
@@ -33,7 +33,7 @@
33
33
  "dependencies": {
34
34
  "@zip.js/zip.js": "^2.8.20",
35
35
  "busabase-package": "workspace:*",
36
- "busabase-sdk": "0.80.0",
36
+ "busabase-sdk": "0.81.0",
37
37
  "commander": "^14.0.0",
38
38
  "qrcode": "^1.5.4",
39
39
  "tar-stream": "^3.1.7",