@kitnai/cli 0.1.10 → 0.1.12
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 +4 -5
- package/dist/index.js +376 -325
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -24,7 +24,7 @@ pnpm dlx @kitnai/cli init
|
|
|
24
24
|
|
|
25
25
|
### `kitn init`
|
|
26
26
|
|
|
27
|
-
Initialize kitn in your project. Creates
|
|
27
|
+
Initialize kitn in your project. Creates `kitn.json`, installs the core engine and Hono routes, and sets up tsconfig path aliases.
|
|
28
28
|
|
|
29
29
|
```bash
|
|
30
30
|
kitn init
|
|
@@ -32,10 +32,9 @@ kitn init
|
|
|
32
32
|
|
|
33
33
|
Prompts for:
|
|
34
34
|
- **Runtime**: bun, node, or deno
|
|
35
|
-
- **Framework**: hono, cloudflare, elysia, fastify, express
|
|
36
35
|
- **Install path**: Base directory for kitn components (defaults to `src/ai`)
|
|
37
36
|
|
|
38
|
-
|
|
37
|
+
After answering, the CLI automatically installs the core engine and HTTP routes into your project.
|
|
39
38
|
|
|
40
39
|
### `kitn add [components...]`
|
|
41
40
|
|
|
@@ -92,7 +91,7 @@ kitn list --registry @myteam
|
|
|
92
91
|
| Flag | Description |
|
|
93
92
|
|------|-------------|
|
|
94
93
|
| `-i, --installed` | Only show installed components |
|
|
95
|
-
| `-t, --type <type>` | Filter by type (`agent`, `tool`, `skill`, `storage
|
|
94
|
+
| `-t, --type <type>` | Filter by type (`agent`, `tool`, `skill`, `storage`) |
|
|
96
95
|
| `-r, --registry <namespace>` | Only show components from this registry |
|
|
97
96
|
|
|
98
97
|
Shows installed version, latest registry version, and an update indicator when a newer version is available.
|
|
@@ -191,7 +190,7 @@ Created by `kitn init`. Controls where components are installed and which regist
|
|
|
191
190
|
| Field | Description |
|
|
192
191
|
|-------|-------------|
|
|
193
192
|
| `runtime` | `bun`, `node`, or `deno` |
|
|
194
|
-
| `framework` | `hono
|
|
193
|
+
| `framework` | `hono` |
|
|
195
194
|
| `aliases` | Directory paths for each component type |
|
|
196
195
|
| `registries` | Named registries with URL templates |
|
|
197
196
|
| `installed` | Auto-managed tracking of installed components (don't edit manually) |
|