mirror of
https://github.com/QwenLM/qwen-code.git
synced 2026-04-29 04:00:36 +00:00
Merge pull request #2719 from QwenLM/feat/npm-extension-installation
feat(extension): Add npm registry support for extension installation
This commit is contained in:
commit
2eb2f4e319
11 changed files with 924 additions and 12 deletions
|
|
@ -228,9 +228,10 @@ export type ExtensionOriginSource = 'QwenCode' | 'Claude' | 'Gemini';
|
|||
|
||||
export interface ExtensionInstallMetadata {
|
||||
source: string;
|
||||
type: 'git' | 'local' | 'link' | 'github-release';
|
||||
type: 'git' | 'local' | 'link' | 'github-release' | 'npm';
|
||||
originSource?: ExtensionOriginSource;
|
||||
releaseTag?: string; // Only present for github-release installs.
|
||||
releaseTag?: string; // Only present for github-release and npm installs.
|
||||
registryUrl?: string; // Only present for npm installs.
|
||||
ref?: string;
|
||||
autoUpdate?: boolean;
|
||||
allowPreRelease?: boolean;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue