gentle-pi 0.3.0 → 0.3.2
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 +22 -18
- package/extensions/gentle-ai.ts +305 -27
- package/extensions/sdd-init.ts +2 -2
- package/extensions/skill-registry.ts +120 -77
- package/extensions/startup-banner.ts +231 -102
- package/lib/sdd-preflight.ts +30 -11
- package/package.json +1 -1
- package/tests/runtime-harness.mjs +113 -6
- package/tests/skill-registry.test.ts +5 -2
|
@@ -105,12 +105,15 @@ test("project-scoped duplicate wins over user duplicate", () => {
|
|
|
105
105
|
assert.equal(chosen.path, projectPath);
|
|
106
106
|
});
|
|
107
107
|
|
|
108
|
-
test("uniqueExistingDirs normalizes duplicates and ignores missing roots", () => {
|
|
108
|
+
test("uniqueExistingDirs normalizes duplicates and ignores missing roots", async () => {
|
|
109
109
|
const root = join(tmpdir(), `gentle-pi-existing-${Date.now()}`);
|
|
110
110
|
const existing = join(root, "skills");
|
|
111
111
|
mkdirSync(existing, { recursive: true });
|
|
112
112
|
|
|
113
|
-
assert.deepEqual(
|
|
113
|
+
assert.deepEqual(
|
|
114
|
+
await __testing.uniqueExistingDirs([existing, join(root, "skills/"), join(root, "missing")]),
|
|
115
|
+
[existing],
|
|
116
|
+
);
|
|
114
117
|
});
|
|
115
118
|
|
|
116
119
|
test("startup skip honors no skill registry controls", () => {
|