@kaddo/cli 3.101.0 → 3.102.0
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 +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -427,7 +427,7 @@ without mapping it as multirepo or reading its source.
|
|
|
427
427
|
|
|
428
428
|
```bash
|
|
429
429
|
kaddo capsule export # → .kaddo/exports/<project>.capsule.md / .json
|
|
430
|
-
kaddo capsule add <path> # import an external capsule → external/<id>.capsule.md
|
|
430
|
+
kaddo capsule add <path> # import an external capsule → knowledge/external/<id>.capsule.md
|
|
431
431
|
```
|
|
432
432
|
|
|
433
433
|
`export` builds a deterministic draft from `knowledge/` (purpose, capabilities, public
|
package/dist/index.js
CHANGED
|
@@ -10869,7 +10869,7 @@ function addExternalCapsule(dir, sourceFile) {
|
|
|
10869
10869
|
const isCapsuleType = data.type === "knowledge-capsule";
|
|
10870
10870
|
const fallbackName = sourceFile.split(/[\\/]/).pop()?.replace(/\.capsule\.md$/, "") ?? "external";
|
|
10871
10871
|
const id = slugId(String(data.system ?? fallbackName));
|
|
10872
|
-
const destRel = join("external", `${id}.capsule.md`).replace(/\\/g, "/");
|
|
10872
|
+
const destRel = join("knowledge", "external", `${id}.capsule.md`).replace(/\\/g, "/");
|
|
10873
10873
|
writeFile(join(dir, destRel), raw);
|
|
10874
10874
|
const entry = {
|
|
10875
10875
|
id,
|