@kitnai/cli 0.1.23 → 0.1.25
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 -3
- package/dist/index.js +385 -106
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -140,7 +140,7 @@ Outputs a unified diff for each file in the component. Shows "up to date" if the
|
|
|
140
140
|
|
|
141
141
|
### `kitn remove <component>`
|
|
142
142
|
|
|
143
|
-
Remove an installed component. Deletes files and removes tracking from `kitn.
|
|
143
|
+
Remove an installed component. Deletes files and removes tracking from `kitn.lock`.
|
|
144
144
|
|
|
145
145
|
```bash
|
|
146
146
|
kitn remove weather-agent
|
|
@@ -279,7 +279,8 @@ Created by `kitn init`. Controls where components are installed and which regist
|
|
|
279
279
|
| `framework` | `hono` |
|
|
280
280
|
| `aliases` | Directory paths for each component type |
|
|
281
281
|
| `registries` | Named registries — each value is a URL string or an object with `url`, `homepage`, `description` |
|
|
282
|
-
|
|
282
|
+
|
|
283
|
+
> Installed component tracking (file paths, content hashes, versions) is stored separately in `kitn.lock`. This file is auto-managed — don't edit it manually.
|
|
283
284
|
|
|
284
285
|
### Registry entries
|
|
285
286
|
|
|
@@ -313,7 +314,7 @@ The CLI automatically detects your package manager by checking for lockfiles in
|
|
|
313
314
|
|
|
314
315
|
Components are **source code**, not packages. `kitn add` copies TypeScript files directly into your project. You own the code and can modify it freely.
|
|
315
316
|
|
|
316
|
-
The CLI tracks what it installed in `kitn.
|
|
317
|
+
The CLI tracks what it installed in `kitn.lock`, storing file paths and content hashes. This enables `kitn diff` to detect local changes and `kitn update` to apply registry updates.
|
|
317
318
|
|
|
318
319
|
### Hosting your own registry
|
|
319
320
|
|