fix(cli): clarify skill scope and stabilize Node 22 tests

Require the bootstrap agent to ask whether the skill should be installed locally or globally, and suppress only SQLite’s ExperimentalWarning in CLI test processes.
This commit is contained in:
tommy0103
2026-07-16 20:51:58 +08:00
parent 0d3797b55d
commit cc01df9fec
7 changed files with 68 additions and 8 deletions
+4
View File
@@ -21,6 +21,10 @@ test('root SKILL.md bootstraps the CLI before installing the official skill', ()
assert.match(source, /install\.sh/);
assert.match(source, /obelisk --version/);
assert.match(source, /obelisk install/);
assert.match(source, /defaults to the current project/i);
assert.match(source, /ask whether .*should be\s+installed/is);
assert.match(source, /obelisk install --global/);
assert.match(source, /Do not silently choose the current-project default/);
assert.doesNotMatch(source, /obelisk --query/);
});