layero 0.8.15 → 0.8.16
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/bin/layero.js +2 -2
- package/dist/commands/init.js +7 -2
- package/package.json +1 -1
package/dist/bin/layero.js
CHANGED
|
@@ -318,8 +318,8 @@ main().catch((err) => {
|
|
|
318
318
|
event: "error",
|
|
319
319
|
code: "internal",
|
|
320
320
|
next_action: debug
|
|
321
|
-
? "report at https://
|
|
322
|
-
: "re-run with --debug for a stack trace, or report at https://
|
|
321
|
+
? "report at https://docs.layero.ru/contacts/"
|
|
322
|
+
: "re-run with --debug for a stack trace, or report at https://docs.layero.ru/contacts/",
|
|
323
323
|
message,
|
|
324
324
|
});
|
|
325
325
|
}
|
package/dist/commands/init.js
CHANGED
|
@@ -49,11 +49,16 @@ stdout), the CLI auto-switches to JSON-lines. Key events to watch:
|
|
|
49
49
|
|
|
50
50
|
Common error codes and remediation:
|
|
51
51
|
|
|
52
|
-
- \`
|
|
52
|
+
- \`auth_required\` → run \`npx layero@latest login\`, or set \`LAYERO_TOKEN\`
|
|
53
53
|
- \`auth_expired\` / \`auth_timeout\` → user did not approve in time, re-run login
|
|
54
|
+
- \`project_unknown\` → run from the project directory, or pass \`--project\`
|
|
54
55
|
- \`invalid_type\` → drop \`--type\`, rely on auto-detect
|
|
55
56
|
- \`cli_deploys_disabled\` → user must enable CLI deploys in project settings
|
|
56
|
-
- \`deploy_failed\`
|
|
57
|
+
- \`deploy_failed\` → check the dashboard URL in the message
|
|
58
|
+
- \`internal\` → unexpected CLI error; re-run with \`--debug\`
|
|
59
|
+
|
|
60
|
+
There is no \`not_logged_in\`, \`deploy_error\` or \`deploy_timed_out\` — do not
|
|
61
|
+
branch on codes that are not listed here.
|
|
57
62
|
|
|
58
63
|
### Re-deploys and production
|
|
59
64
|
|