@42ws/cli 0.0.47 → 0.0.49

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/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.
@@ -163,7 +163,7 @@ function buildAgentGuide() {
163
163
 
164
164
  ## ツール(任意)
165
165
 
166
- - **画像生成**: gemini / codex 等の画像生成が使える環境なら、ヒーロー/OGP/装飾画像を生成して使う(\`build\` 規約参照。skill の導入は不要)。
166
+ - **画像生成**: gemini / codex があれば画像生成に使う(\`generate-image\` / \`codex-image\` 等のスキルがあればそれを)。**無ければ導入を案内**して実画像を用意する(詳細は \`build\` 規約 §5)。
167
167
  - 制作中のページ確認は \`42ws dev\` が基本。実ブラウザ確認の補助ツール(agent-browser 等)が入っていれば併用してよい。
168
168
  `;
169
169
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@42ws/cli",
3
- "version": "0.0.47",
3
+ "version": "0.0.49",
4
4
  "description": "Publish static sites in one command",
5
5
  "publishConfig": {
6
6
  "access": "public"