acp migration (ui) : ui connect to acp directly instead of goosed (#10081)

This commit is contained in:
Lifei Zhou
2026-07-02 10:29:29 +10:00
committed by GitHub
parent 0d4b6924b9
commit b83b194dad
78 changed files with 2630 additions and 7899 deletions
@@ -68,7 +68,7 @@ export default function DeeplinkGenerator() {
const urlParams = new URLSearchParams(window.location.search);
if (urlParams.toString()) {
try {
if (urlParams.get('cmd') === 'goosed' && urlParams.getAll('arg').includes('mcp')) {
if (urlParams.get('cmd') === 'goose' && urlParams.getAll('arg').includes('mcp')) {
const args = urlParams.getAll('arg');
const extensionId = args[args.indexOf('mcp') + 1];
if (!extensionId) {
@@ -187,7 +187,7 @@ export default function DeeplinkGenerator() {
const generateDeeplink = (server: ServerConfig): string => {
if (server.is_builtin) {
const queryParams = [
'cmd=goosed',
'cmd=goose',
'arg=mcp',
`arg=${encodeURIComponent(server.id)}`,
`description=${encodeURIComponent(server.id)}`
+2 -2
View File
@@ -3,7 +3,7 @@ import type { MCPServer } from "../types/server";
export function getGooseInstallLink(server: MCPServer): string {
if (server.is_builtin) {
const queryParams = [
'cmd=goosed',
'cmd=goose',
'arg=mcp',
`arg=${encodeURIComponent(server.id)}`,
`description=${encodeURIComponent(server.id)}`
@@ -53,4 +53,4 @@ export function getGooseInstallLink(server: MCPServer): string {
].join("&");
return `goose://extension?${queryParams}`;
}
}