@moda-ai/cli 1.14.2 → 1.14.3
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/init/tenant.js
CHANGED
|
@@ -390,9 +390,12 @@ export async function selectTenantAndCreateKey(options = {}) {
|
|
|
390
390
|
throw new CliAccessError(parsed.message ||
|
|
391
391
|
'This organization has reached its CLI API key limit.', {
|
|
392
392
|
// Command-agnostic: this path is shared by `moda init` and
|
|
393
|
-
// `moda provision`.
|
|
394
|
-
|
|
395
|
-
|
|
393
|
+
// `moda provision`. Prefer asking an admin to raise the
|
|
394
|
+
// per-tenant cap; revoke/reuse remain valid escape hatches.
|
|
395
|
+
guidance: 'Ask your organization admin to raise the CLI key limit in the dashboard ' +
|
|
396
|
+
'(Settings → API Keys → CLI key limit), or revoke unused "CLI - ..." keys, ' +
|
|
397
|
+
'or reuse the existing key already saved in ~/.moda/config.json from a previous ' +
|
|
398
|
+
'moda init / moda provision --save, then retry.',
|
|
396
399
|
});
|
|
397
400
|
}
|
|
398
401
|
throw new Error(`Failed to create API key (409): ${body}`);
|
package/package.json
CHANGED