@hintoai/cli 0.3.3 → 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 +3 -3
- package/dist/commands/init.js +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
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 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.
|
|
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,7 +30,7 @@ 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.
|
|
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
34
|
|
|
35
35
|
Run `init` once with your API key to store credentials locally:
|
|
36
36
|
|
|
@@ -129,7 +129,7 @@ Templates are automatically scoped to your project type.
|
|
|
129
129
|
"name": "Tutorial",
|
|
130
130
|
"description": "Step-by-step guide format",
|
|
131
131
|
"requires_video": true,
|
|
132
|
-
"image_url": "https://cdn.
|
|
132
|
+
"image_url": "https://cdn.hintoai.com/templates/tutorial.png",
|
|
133
133
|
"sort_order": 1
|
|
134
134
|
}
|
|
135
135
|
]
|
package/dist/commands/init.js
CHANGED
|
@@ -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.
|
|
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.
|
|
38
|
+
return { apiKey: process.env.HINTO_API_KEY ?? '', baseUrl: 'https://app.hintoai.com' };
|
|
39
39
|
}
|
|
40
40
|
})();
|
|
41
41
|
const apiUrl = (() => {
|