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:
@@ -6,7 +6,11 @@ export const repoRoot = resolve(dirname(fileURLToPath(import.meta.url)), '..');
|
||||
export const cliEntry = join(repoRoot, 'packages', 'cli', 'dist', 'cli', 'src', 'obelisk.js');
|
||||
|
||||
export function runCli(args, { home, env = {}, cwd = repoRoot } = {}) {
|
||||
return spawnSync(process.execPath, [cliEntry, ...args], {
|
||||
return spawnSync(process.execPath, [
|
||||
'--disable-warning=ExperimentalWarning',
|
||||
cliEntry,
|
||||
...args,
|
||||
], {
|
||||
cwd,
|
||||
env: {
|
||||
...process.env,
|
||||
|
||||
Reference in New Issue
Block a user