From 2085b72078e974e426d6559d706a6ea734dee915 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=A2=85=E8=A5=BF?= Date: Sun, 24 May 2026 12:09:05 +0800 Subject: [PATCH] chore: point fork links at apemind-agent repo --- Dockerfile | 8 ++++---- download_cli.ps1 | 4 ++-- download_cli.sh | 6 +++--- ui/desktop/forge.config.ts | 4 ++-- .../settings/app/AppSettingsSection.tsx | 4 ++-- ui/desktop/src/components/ui/Diagnostics.tsx | 17 +++++++++++------ ui/desktop/src/utils/githubUpdater.ts | 4 ++-- ui/desktop/vite.main.config.mts | 8 +++++--- 8 files changed, 31 insertions(+), 24 deletions(-) diff --git a/Dockerfile b/Dockerfile index 05429deeea17..6714b64c703a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -70,7 +70,7 @@ ENTRYPOINT ["/usr/local/bin/goose"] CMD ["--help"] # Labels for metadata -LABEL org.opencontainers.image.title="goose" -LABEL org.opencontainers.image.description="goose CLI" -LABEL org.opencontainers.image.vendor="AAIF" -LABEL org.opencontainers.image.source="https://github.com/aaif-goose/goose" +LABEL org.opencontainers.image.title="ApeMind Agent" +LABEL org.opencontainers.image.description="ApeMind Agent CLI" +LABEL org.opencontainers.image.vendor="ApeCloud" +LABEL org.opencontainers.image.source="https://github.com/apecloud/apemind-agent" diff --git a/download_cli.ps1 b/download_cli.ps1 index c3742d6a96f4..c0b7902390fe 100644 --- a/download_cli.ps1 +++ b/download_cli.ps1 @@ -8,7 +8,7 @@ # Supported Architectures: x86_64 # # Usage: -# Invoke-WebRequest -Uri "https://github.com/apecloud/goose/releases/download/stable/download_cli.ps1" -OutFile "download_cli.ps1"; .\download_cli.ps1 +# Invoke-WebRequest -Uri "https://github.com/apecloud/apemind-agent/releases/download/stable/download_cli.ps1" -OutFile "download_cli.ps1"; .\download_cli.ps1 # Or simply: .\download_cli.ps1 # # Environment variables: @@ -25,7 +25,7 @@ $ErrorActionPreference = "Stop" # --- 1) Variables --- -$REPO = "apecloud/goose" +$REPO = "apecloud/apemind-agent" $OUT_FILE = "goose.exe" # Set default bin directory if not specified diff --git a/download_cli.sh b/download_cli.sh index f9e64350c5a5..f6b5319bcad5 100755 --- a/download_cli.sh +++ b/download_cli.sh @@ -11,7 +11,7 @@ set -eu # Supported Architectures: x86_64, arm64 # # Usage: -# curl -fsSL https://github.com/apecloud/goose/releases/download/stable/download_cli.sh | bash +# curl -fsSL https://github.com/apecloud/apemind-agent/releases/download/stable/download_cli.sh | bash # # Environment variables: # GOOSE_BIN_DIR - Directory to which goose will be installed (default: $HOME/.local/bin) @@ -54,7 +54,7 @@ fi # --- 2) Variables --- -REPO="apecloud/goose" +REPO="apecloud/apemind-agent" OUT_FILE="goose" # Set default bin directory based on detected OS environment @@ -220,7 +220,7 @@ echo "Downloading $RELEASE_TAG release: $FILE..." if ! curl -sLf "$DOWNLOAD_URL" --output "$FILE"; then # If the download fails, only fall back to latest stable when no version was specified and canary was not requested). if ! [ -n "${GOOSE_VERSION:-}" ] && [ "${CANARY:-false}" != "true" ]; then - LATEST_TAG=$(curl -s https://api.github.com/repos/apecloud/goose/releases/latest | \ + LATEST_TAG=$(curl -s "https://api.github.com/repos/$REPO/releases/latest" | \ grep '"tag_name":' | sed -E 's/.*"([^"]+)".*/\1/') if [ -z "$LATEST_TAG" ]; then echo "Error: Failed to download $DOWNLOAD_URL and latest tag unavailable" diff --git a/ui/desktop/forge.config.ts b/ui/desktop/forge.config.ts index 5bc24d3a9e75..4c3a77401896 100644 --- a/ui/desktop/forge.config.ts +++ b/ui/desktop/forge.config.ts @@ -66,8 +66,8 @@ module.exports = { name: '@electron-forge/publisher-github', config: { repository: { - owner: process.env.GITHUB_OWNER || 'aaif-goose', - name: process.env.GITHUB_REPO || 'goose', + owner: process.env.GITHUB_OWNER || 'apecloud', + name: process.env.GITHUB_REPO || 'apemind-agent', }, prerelease: false, draft: true, diff --git a/ui/desktop/src/components/settings/app/AppSettingsSection.tsx b/ui/desktop/src/components/settings/app/AppSettingsSection.tsx index 0b8d8f540779..55ed35168946 100644 --- a/ui/desktop/src/components/settings/app/AppSettingsSection.tsx +++ b/ui/desktop/src/components/settings/app/AppSettingsSection.tsx @@ -510,7 +510,7 @@ export default function AppSettingsSection({ scrollToSection }: AppSettingsSecti