@hintoai/cli 0.3.2 → 0.3.4

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
@@ -6,7 +6,7 @@
6
6
 
7
7
  Command-line interface for [**Hinto AI**](https://hintoai.com) — turn videos into articles, docs, and published content. Manage videos, articles, folders, templates, and publishing from your terminal or from AI agents and scripts.
8
8
 
9
- > New to Hinto AI? Create a project and grab your API key at **[hintoai.com](https://hintoai.com)**.
9
+ > New to Hinto AI? Create a project at **[hintoai.com](https://hintoai.com)**, then grab a per-project API key from the project's **Settings → API Keys & Webhooks** in the [app](https://app.hintoai.com).
10
10
 
11
11
  ## Installation
12
12
 
@@ -30,6 +30,8 @@ The skill bootstraps the CLI itself (`npm install -g @hintoai/cli`) on first use
30
30
 
31
31
  ## Authentication
32
32
 
33
+ **Get your API key** from the project it belongs to — keys are per-project, not account-wide: open the project in the [Hinto app](https://app.hintoai.com) → **Settings** → **API Keys & Webhooks** → **New Api Key**.
34
+
33
35
  Run `init` once with your API key to store credentials locally:
34
36
 
35
37
  ```bash
@@ -127,7 +129,7 @@ Templates are automatically scoped to your project type.
127
129
  "name": "Tutorial",
128
130
  "description": "Step-by-step guide format",
129
131
  "requires_video": true,
130
- "image_url": "https://cdn.hinto.ai/templates/tutorial.png",
132
+ "image_url": "https://cdn.hintoai.com/templates/tutorial.png",
131
133
  "sort_order": 1
132
134
  }
133
135
  ]
@@ -16,7 +16,7 @@ function registerInit(program) {
16
16
  .command('init')
17
17
  .description('Authenticate with your Hinto API key')
18
18
  .requiredOption('--key <apiKey>', 'Your Hinto API key')
19
- .option('--api-url <url>', 'Override the Hinto base URL', 'https://app.hinto.ai')
19
+ .option('--api-url <url>', 'Override the Hinto base URL', 'https://app.hintoai.com')
20
20
  .action((opts) => {
21
21
  // Prefer the root program's --api-url (passed globally) over the local default
22
22
  const baseUrl = program.opts().apiUrl ?? opts.apiUrl;
package/dist/index.js CHANGED
@@ -35,7 +35,7 @@ const config = (() => {
35
35
  return (0, config_1.loadConfig)();
36
36
  }
37
37
  catch {
38
- return { apiKey: process.env.HINTO_API_KEY ?? '', baseUrl: 'https://app.hinto.ai' };
38
+ return { apiKey: process.env.HINTO_API_KEY ?? '', baseUrl: 'https://app.hintoai.com' };
39
39
  }
40
40
  })();
41
41
  const apiUrl = (() => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hintoai/cli",
3
- "version": "0.3.2",
3
+ "version": "0.3.4",
4
4
  "description": "Hinto AI CLI — manage videos, articles, and publishing via the Hinto API",
5
5
  "main": "dist/index.js",
6
6
  "bin": {