mirror of
https://github.com/pbakaus/impeccable.git
synced 2026-09-12 06:06:37 +03:00
Add qoder to FILE_DOWNLOAD_PROVIDER_CONFIG_DIRS so the download endpoint accepts /api/download/skill/qoder/* and resolves to dist/qoder/.qoder/. Without this, the website install surface returned 400 Invalid provider even though qoder was a first-class harness everywhere else. Cover the new provider with two assertions in download-validation.test.js (allowlist + path resolution). Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
26 lines
577 B
JavaScript
26 lines
577 B
JavaScript
export const FILE_DOWNLOAD_PROVIDER_CONFIG_DIRS = Object.freeze({
|
|
cursor: '.cursor',
|
|
'claude-code': '.claude',
|
|
gemini: '.gemini',
|
|
codex: '.codex',
|
|
agents: '.agents',
|
|
github: '.github',
|
|
kiro: '.kiro',
|
|
opencode: '.opencode',
|
|
pi: '.pi',
|
|
qoder: '.qoder',
|
|
});
|
|
|
|
export const FILE_DOWNLOAD_PROVIDERS = Object.freeze(
|
|
Object.keys(FILE_DOWNLOAD_PROVIDER_CONFIG_DIRS)
|
|
);
|
|
|
|
export const BUNDLE_DOWNLOAD_PROVIDERS = Object.freeze([
|
|
'universal',
|
|
]);
|
|
|
|
export const DOWNLOAD_PROVIDERS = Object.freeze([
|
|
...FILE_DOWNLOAD_PROVIDERS,
|
|
...BUNDLE_DOWNLOAD_PROVIDERS,
|
|
]);
|