windsurf now also answers to devin-desktop (CLI --devin-desktop) for the Windsurf→Devin Desktop rebrand; all paths unchanged. The .devin/skills/ workspace migration is split to #1085. Closes #792.
This commit is contained in:
@@ -43,6 +43,7 @@ const {
|
||||
buildRuntimePromptText,
|
||||
resolveKiloConfigPath,
|
||||
configureKiloPermissions,
|
||||
selectRuntimesFromArgs,
|
||||
} = require('../bin/install.js');
|
||||
|
||||
const { getGlobalConfigDir } = require('../gsd-core/bin/lib/runtime-homes.cjs');
|
||||
@@ -835,6 +836,20 @@ describe('install — changeset CLI lands at scripts/changeset/cli.cjs (#935)',
|
||||
});
|
||||
});
|
||||
|
||||
// ─── Section 6: Windsurf / devin-desktop alias (#792) ───────────────────────
|
||||
|
||||
describe('install — --devin-desktop CLI flag routes to windsurf runtime (#792)', () => {
|
||||
test('--devin-desktop resolves to ["windsurf"] via selectRuntimesFromArgs', () => {
|
||||
const runtimes = selectRuntimesFromArgs(['--devin-desktop']);
|
||||
assert.deepStrictEqual(runtimes, ['windsurf'],
|
||||
'--devin-desktop must resolve to ["windsurf"] via selectRuntimesFromArgs');
|
||||
});
|
||||
|
||||
test('--windsurf and --devin-desktop both resolve to ["windsurf"]', () => {
|
||||
assert.deepStrictEqual(selectRuntimesFromArgs(['--windsurf']), ['windsurf']);
|
||||
assert.deepStrictEqual(selectRuntimesFromArgs(['--devin-desktop']), ['windsurf']);
|
||||
});
|
||||
});
|
||||
// ─── Section N+1: #767 — disallowedTools injection for read-only agents ──────
|
||||
//
|
||||
// Verifies (installer-behavioral test — drives install() to a temp dir):
|
||||
|
||||
Reference in New Issue
Block a user