@42ws/cli 0.0.47 → 0.0.48

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.
Files changed (2) hide show
  1. package/README.md +4 -1
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -131,12 +131,15 @@ Print an AI-facing guide. `cli` (overall), `context` (site build conventions), `
131
131
 
132
132
  ### `42ws whoami`
133
133
 
134
- Show the currently logged-in user.
134
+ Show the logged-in user, the target environment, and the plan features available on the account.
135
135
 
136
136
  ```
137
137
  42ws whoami
138
+ 42ws whoami --json
138
139
  ```
139
140
 
141
+ Output includes the API endpoint (so you can tell which environment you're on) and which features your plan enables (hosting / contact form / collection / custom domains). AI agents should check this before proposing features so they don't suggest something the plan can't use.
142
+
140
143
  ## Localization
141
144
 
142
145
  The CLI auto-detects locale from `LANG` / `LC_ALL` env vars and falls back to the OS locale via `Intl`. Override explicitly with `--lang ja` or `--lang en`. Currently supports English and Japanese.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@42ws/cli",
3
- "version": "0.0.47",
3
+ "version": "0.0.48",
4
4
  "description": "Publish static sites in one command",
5
5
  "publishConfig": {
6
6
  "access": "public"