Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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"
4 changes: 2 additions & 2 deletions download_cli.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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
Expand Down
6 changes: 3 additions & 3 deletions download_cli.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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"
Expand Down
4 changes: 2 additions & 2 deletions ui/desktop/forge.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
4 changes: 2 additions & 2 deletions ui/desktop/src/components/settings/app/AppSettingsSection.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -510,7 +510,7 @@ export default function AppSettingsSection({ scrollToSection }: AppSettingsSecti
<Button
onClick={() => {
window.open(
'https://github.com/apecloud/goose/issues/new?template=bug_report.md',
'https://github.com/apecloud/apemind-agent/issues/new?template=bug_report.md',
'_blank'
);
}}
Expand All @@ -522,7 +522,7 @@ export default function AppSettingsSection({ scrollToSection }: AppSettingsSecti
<Button
onClick={() => {
window.open(
'https://github.com/apecloud/goose/issues/new?template=feature_request.md',
'https://github.com/apecloud/apemind-agent/issues/new?template=feature_request.md',
'_blank'
);
}}
Expand Down
17 changes: 11 additions & 6 deletions ui/desktop/src/components/ui/Diagnostics.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,10 @@ Add any other context about the problem here.
labels: 'bug',
});

window.open(`https://github.com/aaif-goose/goose/issues/new?${params.toString()}`, '_blank');
window.open(
`https://github.com/apecloud/apemind-agent/issues/new?${params.toString()}`,
'_blank'
);
onClose();
} catch {
toastError({
Expand All @@ -210,7 +213,9 @@ Add any other context about the problem here.
<div className="flex items-start gap-3 mb-4">
<AlertTriangle className="text-orange-500 flex-shrink-0 mt-1" size={20} />
<div>
<h3 className="text-lg font-semibold text-text-primary mb-2">{intl.formatMessage(i18n.reportProblem)}</h3>
<h3 className="text-lg font-semibold text-text-primary mb-2">
{intl.formatMessage(i18n.reportProblem)}
</h3>
<p className="text-sm text-text-secondary mb-3">
{intl.formatMessage(i18n.description)}
</p>
Expand All @@ -223,9 +228,7 @@ Add any other context about the problem here.
<p className="text-sm text-text-secondary">
<strong>Warning:</strong> {intl.formatMessage(i18n.sensitiveWarning)}
</p>
<p className="text-sm text-text-secondary">
{intl.formatMessage(i18n.attachHint)}
</p>
<p className="text-sm text-text-secondary">{intl.formatMessage(i18n.attachHint)}</p>
</div>
</div>
<div className="flex gap-2 justify-end">
Expand All @@ -244,7 +247,9 @@ Add any other context about the problem here.
disabled={isDownloading || isFilingBug}
>
<Download size={16} className="mr-1" />
{isDownloading ? intl.formatMessage(i18n.downloading) : intl.formatMessage(i18n.download)}
{isDownloading
? intl.formatMessage(i18n.downloading)
: intl.formatMessage(i18n.download)}
</Button>
<Button
onClick={handleFileGitHubIssue}
Expand Down
4 changes: 2 additions & 2 deletions ui/desktop/src/utils/githubUpdater.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ interface UpdateCheckResult {
}

export class GitHubUpdater {
private readonly owner = process.env.GITHUB_OWNER || 'block';
private readonly repo = process.env.GITHUB_REPO || 'goose';
private readonly owner = process.env.GITHUB_OWNER || 'apecloud';
private readonly repo = process.env.GITHUB_REPO || 'apemind-agent';
private readonly bundleName = process.env.GOOSE_BUNDLE_NAME || 'ApeMind Agent';
private readonly apiUrl = `https://api.github.com/repos/${this.owner}/${this.repo}/releases/latest`;

Expand Down
8 changes: 5 additions & 3 deletions ui/desktop/vite.main.config.mts
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,10 @@ import { defineConfig } from 'vite';
// https://vitejs.dev/config
export default defineConfig({
define: {
'process.env.GITHUB_OWNER': JSON.stringify(process.env.GITHUB_OWNER || 'block'),
'process.env.GITHUB_REPO': JSON.stringify(process.env.GITHUB_REPO || 'goose'),
'process.env.GOOSE_BUNDLE_NAME': JSON.stringify(process.env.GOOSE_BUNDLE_NAME || 'Goose'),
'process.env.GITHUB_OWNER': JSON.stringify(process.env.GITHUB_OWNER || 'apecloud'),
'process.env.GITHUB_REPO': JSON.stringify(process.env.GITHUB_REPO || 'apemind-agent'),
'process.env.GOOSE_BUNDLE_NAME': JSON.stringify(
process.env.GOOSE_BUNDLE_NAME || 'ApeMind Agent'
),
},
});
Loading