openhome-cli 0.1.9 → 0.1.10

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/cli.js CHANGED
@@ -291,8 +291,17 @@ function openBrowser(url) {
291
291
  }
292
292
  async function loginCommand() {
293
293
  p.intro("\u{1F511} OpenHome Login");
294
+ p.note(
295
+ [
296
+ "Your API key is a private password that lets this CLI talk to your",
297
+ "OpenHome account. You can find it on your settings page.",
298
+ "",
299
+ `Press Enter and we'll open it for you \u2014 click the ${chalk2.bold("API Keys")} tab.`
300
+ ].join("\n"),
301
+ "Step 1 of 2 \u2014 Connect your account"
302
+ );
294
303
  const openSettings = await p.confirm({
295
- message: `Press Enter to open your browser and navigate to the ${chalk2.bold("API Keys")} tab`,
304
+ message: "Ready? Press Enter to open your browser",
296
305
  initialValue: true,
297
306
  active: "Open browser",
298
307
  inactive: "Skip"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "openhome-cli",
3
- "version": "0.1.9",
3
+ "version": "0.1.10",
4
4
  "description": "CLI for managing OpenHome voice AI abilities",
5
5
  "type": "module",
6
6
  "bin": {
@@ -26,8 +26,18 @@ export async function loginCommand(): Promise<void> {
26
26
  p.intro("🔑 OpenHome Login");
27
27
 
28
28
  // Step 1: API key
29
+ p.note(
30
+ [
31
+ "Your API key is a private password that lets this CLI talk to your",
32
+ "OpenHome account. You can find it on your settings page.",
33
+ "",
34
+ `Press Enter and we'll open it for you — click the ${chalk.bold("API Keys")} tab.`,
35
+ ].join("\n"),
36
+ "Step 1 of 2 — Connect your account",
37
+ );
38
+
29
39
  const openSettings = await p.confirm({
30
- message: `Press Enter to open your browser and navigate to the ${chalk.bold("API Keys")} tab`,
40
+ message: "Ready? Press Enter to open your browser",
31
41
  initialValue: true,
32
42
  active: "Open browser",
33
43
  inactive: "Skip",