@ait-co/console-cli 0.1.33 → 0.1.34

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.mjs CHANGED
@@ -2143,7 +2143,7 @@ async function runDeploy(args, deps = {}) {
2143
2143
  async function emitPartialFailure(json, err, progress) {
2144
2144
  if (err instanceof TossApiError && err.isAuthError) {
2145
2145
  if (json) emitJson({
2146
- ok: true,
2146
+ ok: false,
2147
2147
  authenticated: false,
2148
2148
  reason: "session-expired",
2149
2149
  ...progress
@@ -2514,7 +2514,8 @@ function validateManifest(raw, configDir) {
2514
2514
  const csEmail = requireString(raw, "csEmail");
2515
2515
  if (!isValidEmail$1(csEmail)) throw new ManifestError("invalid-config", `csEmail is not a valid email address (got ${csEmail})`, "csEmail");
2516
2516
  const subtitle = requireString(raw, "subtitle");
2517
- if (subtitle.length > MANIFEST_LIMITS.subtitleMaxChars) throw new ManifestError("invalid-config", `subtitle must be ${MANIFEST_LIMITS.subtitleMaxChars} characters or fewer (got ${subtitle.length})`, "subtitle");
2517
+ const subtitleCodepoints = [...subtitle].length;
2518
+ if (subtitleCodepoints > MANIFEST_LIMITS.subtitleMaxChars) throw new ManifestError("invalid-config", `subtitle must be ${MANIFEST_LIMITS.subtitleMaxChars} characters or fewer (got ${subtitleCodepoints})`, "subtitle");
2518
2519
  const description = requireString(raw, "description");
2519
2520
  const descriptionCodepoints = [...description].length;
2520
2521
  if (descriptionCodepoints > DETAIL_DESCRIPTION_MAX_CODEPOINTS) throw new ManifestError("invalid-config", `description must be ${DETAIL_DESCRIPTION_MAX_CODEPOINTS} characters or fewer (got ${descriptionCodepoints})`, "description");
@@ -9232,7 +9233,7 @@ function resolveVersion() {
9232
9233
  if (typeof injected === "string" && injected.length > 0) return injected;
9233
9234
  } catch {}
9234
9235
  try {
9235
- return "0.1.33";
9236
+ return "0.1.34";
9236
9237
  } catch {}
9237
9238
  return "0.0.0-dev";
9238
9239
  }