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.
@@ -318,8 +318,8 @@ main().catch((err) => {
318
318
  event: "error",
319
319
  code: "internal",
320
320
  next_action: debug
321
- ? "report at https://github.com/LayeroInfra/core/issues"
322
- : "re-run with --debug for a stack trace, or report at https://github.com/LayeroInfra/core/issues",
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
  }
@@ -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
- - \`not_logged_in\` → run \`npx layero@latest login\`
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\` / \`deploy_error\` → check the dashboard URL in the message
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
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "layero",
3
- "version": "0.8.15",
3
+ "version": "0.8.16",
4
4
  "description": "Layero CLI — publish a local site with one command. No git, no GitHub, agent-friendly (Cursor, Claude Code).",
5
5
  "license": "MIT",
6
6
  "type": "module",