feat(skills): add registry doctor diagnostics and docs
This commit is contained in:
@@ -664,3 +664,21 @@ describe('configSchema — agents truthfulness/autonomy', () => {
|
||||
})).toThrow();
|
||||
});
|
||||
});
|
||||
|
||||
describe('configSchema — skills registry source', () => {
|
||||
const minimalConfig = {
|
||||
telegram: { bot_token: 'test', allowed_chat_ids: [1] },
|
||||
models: { default: { provider: 'anthropic', model: 'claude-3' } },
|
||||
};
|
||||
|
||||
it('accepts skills.registry_source when provided', () => {
|
||||
const result = configSchema.parse({
|
||||
...minimalConfig,
|
||||
skills: {
|
||||
registry_source: 'https://registry.example/catalog.json',
|
||||
},
|
||||
});
|
||||
|
||||
expect(result.skills.registry_source).toBe('https://registry.example/catalog.json');
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user