fix(install): register AdaL capability metadata

This commit is contained in:
haelyra
2026-08-29 13:40:56 -04:00
parent 1e7493595c
commit 73c29bbd08
2 changed files with 18 additions and 4 deletions
+13
View File
@@ -201,6 +201,19 @@ const HARNESS_CAPABILITIES = deepFreeze([
hooks: hooks('not-configured', false, 'ECC hooks are not configured by this adapter.'),
aliases: [],
},
{
id: 'adal',
label: 'AdaL CLI',
targetIds: ['adal'],
channel: 'managed-project',
installMode: 'managed-project',
guidedReady: false,
availability: 'advanced',
destination: './.adal',
scopes: [scope('project', 'adal', './.adal')],
hooks: hooks('not-configured', false, 'ECC hooks are not configured by this adapter.'),
aliases: ['adal-cli'],
},
{
id: 'hermes',
label: 'Hermes',
+5 -4
View File
@@ -33,12 +33,12 @@ function runTests() {
let passed = 0;
let failed = 0;
if (test('represents all 14 registered targets exactly once across 13 harnesses', () => {
if (test('represents all 15 registered targets exactly once across 14 harnesses', () => {
const catalogTargetIds = HARNESS_CAPABILITIES.flatMap(harness => harness.targetIds);
const adapterTargetIds = listInstallTargetAdapters().map(adapter => adapter.target);
assert.strictEqual(HARNESS_CAPABILITIES.length, 13);
assert.strictEqual(new Set(catalogTargetIds).size, 14);
assert.strictEqual(HARNESS_CAPABILITIES.length, 14);
assert.strictEqual(new Set(catalogTargetIds).size, 15);
assert.deepStrictEqual([...catalogTargetIds].sort(), [...SUPPORTED_INSTALL_TARGETS].sort());
assert.deepStrictEqual([...catalogTargetIds].sort(), [...adapterTargetIds].sort());
})) passed++; else failed++;
@@ -100,6 +100,7 @@ function runTests() {
joycode: ['project', './.joycode'],
qwen: ['home', '~/.qwen'],
zed: ['project', './.zed'],
adal: ['project', './.adal'],
hermes: ['home', '~/.hermes'],
openclaw: ['home', '~/.openclaw'],
};
@@ -170,7 +171,7 @@ function runTests() {
const first = listHarnessCapabilities();
first.pop();
assert.strictEqual(listHarnessCapabilities().length, 13);
assert.strictEqual(listHarnessCapabilities().length, 14);
const guided = listGuidedHarnesses();
guided.reverse();