Merge pull request #120 from vinaypokharkar/feature/qoder-support

feat: add Qoder harness support
This commit is contained in:
Paul Bakaus
2026-04-28 17:55:52 -07:00
committed by GitHub
62 changed files with 15426 additions and 22 deletions
+11
View File
@@ -19,6 +19,11 @@ describe('download provider validation', () => {
expect(isAllowedFileProvider('github')).toBe(true);
});
test('allows qoder as an individual download provider', () => {
expect(ALLOWED_FILE_PROVIDERS).toContain('qoder');
expect(isAllowedFileProvider('qoder')).toBe(true);
});
test('separates file downloads from bundle downloads', () => {
expect(ALLOWED_BUNDLE_PROVIDERS).toContain('universal');
expect(isAllowedBundleProvider('universal')).toBe(true);
@@ -46,6 +51,12 @@ describe('download file paths', () => {
);
});
test('maps qoder skills into the .qoder config directory', () => {
expect(getFilePath('skill', 'qoder', 'impeccable')).toBe(
path.join(process.cwd(), 'dist', 'qoder', '.qoder', 'skills', 'impeccable', 'SKILL.md')
);
});
test('rejects bundle-only providers on the individual download route', async () => {
const response = await handleFileDownload('skill', 'universal', 'impeccable');
expect(response.status).toBe(400);