chore: publish from main

This commit is contained in:
github-actions[bot]
2026-07-31 07:07:49 +00:00
parent 1e58dfd050
commit df3e5f8ab1
4 changed files with 11 additions and 8 deletions
@@ -8,7 +8,7 @@
*/
export interface PluginInstallProps {
isExternal?: boolean;
/** awesome-copilot plugin id (internal installs). */
/** awesome-copilot plugin id. */
pluginId?: string | null;
/** Upstream marketplace source (owner/repo or git URL) for external installs. */
externalSource?: string | null;
@@ -36,6 +36,11 @@ let insidersUrl: string | null = null;
let ghappUrl: string | null = null;
if (isExternal) {
if (pluginId) {
ghappUrl = `ghapp://plugins/install?source=${encodeURIComponent(
`${pluginId}@${MARKETPLACE}`
)}`;
}
if (externalSource) {
vscodeUrl = `vscode://chat-plugin/install?source=${encodeURIComponent(
externalSource
@@ -43,9 +48,6 @@ if (isExternal) {
insidersUrl = `vscode-insiders://chat-plugin/install?source=${encodeURIComponent(
externalSource
)}`;
ghappUrl = `ghapp://plugins/marketplace/add?source=${encodeURIComponent(
externalSource
)}`;
}
} else if (pluginId) {
const plugin = encodeURIComponent(pluginId);