From 1d0fbea0697bd6670df99a7abb4baddaa85e658e Mon Sep 17 00:00:00 2001 From: fourbroad Date: Fri, 11 Sep 2026 13:51:39 +0800 Subject: [PATCH] ci: sync from octopus@v0.17.0 --- README.md | 24 ++++++++++++------------ install | 18 +++++++++--------- install.ps1 | 13 +++++-------- 3 files changed, 26 insertions(+), 29 deletions(-) diff --git a/README.md b/README.md index abb52eb..bdfce78 100644 --- a/README.md +++ b/README.md @@ -7,19 +7,19 @@ The AI coding agent built for the terminal. **Unix (Linux/macOS):** ```bash -curl -fsSL https://eightarms.net/fourbroad/octopus-release/raw/branch/main/install | bash +curl -fsSL https://eightarms.net/Octopus/octopus-release/raw/branch/main/install | bash ``` **Windows (PowerShell):** ```powershell [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12 -irm https://eightarms.net/fourbroad/octopus-release/raw/branch/main/install.ps1 | iex +irm https://eightarms.net/Octopus/octopus-release/raw/branch/main/install.ps1 | iex ``` ### Manual install -If the one-liner fails with a connection error, the direct connection to `eightarms.net` is likely being filtered on your network. Download the archive for your platform from the [releases page](https://eightarms.net/fourbroad/octopus-release/releases/latest) and install it manually instead. +If the one-liner fails with a connection error, the direct connection to `eightarms.net` is likely being filtered on your network. Download the archive for your platform from the [releases page](https://eightarms.net/Octopus/octopus-release/releases/latest) and install it manually instead. **Unix (Linux/macOS):** @@ -51,16 +51,16 @@ Open a **new** terminal and run `octopus`. ## Documentation -Visit the [documentation](https://eightarms.net/fourbroad/octopus/wiki) for usage guides and API reference. - -## Development - -The source code and issue tracker are available at the [private development repository](https://eightarms.net/fourbroad/octopus). - -## License - -MIT License — see the source repository for details. +Visit the [documentation](https://eightarms.net/Octopus/octopus/wiki) for usage guides and API reference. ## Workflow Curious how Octopus organizes agent work? Read about the **ticket-driven workflow system** (in Chinese): [docs/workflow.zh.md](docs/workflow.zh.md) + +## Development + +The source code and issue tracker are available at the [private development repository](https://eightarms.net/Octopus/octopus). + +## License + +MIT License — see the source repository for details. diff --git a/install b/install index 10821c8..8ae9846 100755 --- a/install +++ b/install @@ -1,6 +1,6 @@ #!/usr/bin/env bash # Public release repository: -# https://eightarms.net/fourbroad/octopus-release +# https://eightarms.net/Octopus/octopus-release set -euo pipefail APP=octopus @@ -22,8 +22,8 @@ Options: --no-modify-path Don't modify shell config files (.zshrc, .bashrc, etc.) Examples: - curl -fsSL https://eightarms.net/fourbroad/octopus-release/raw/branch/main/install | bash - curl -fsSL https://eightarms.net/fourbroad/octopus-release/raw/branch/main/install | bash -s -- --version 1.0.180 + curl -fsSL https://eightarms.net/install | bash + curl -fsSL https://eightarms.net/install | bash -s -- --version 1.0.180 ./install --binary /path/to/octopus EOF } @@ -183,24 +183,24 @@ else fi if [ -z "$requested_version" ]; then - specific_version=$(curl -s "${GITEA_API_URL:-https://eightarms.net/api/v1}/repos/fourbroad/octopus-release/releases?limit=1" | sed -n 's/.*"tag_name": *"v\([^"]*\)".*/\1/p') + specific_version=$(curl -s "${GITEA_API_URL:-https://eightarms.net/api/v1}/repos/Octopus/octopus-release/releases?limit=1" | sed -n 's/.*"tag_name": *"v\([^"]*\)".*/\1/p') if [[ $? -ne 0 || -z "$specific_version" ]]; then echo -e "${RED}Failed to fetch version information${NC}" exit 1 fi - url="${OCTOPUS_DOWNLOAD_BASE:-https://eightarms.net}/fourbroad/octopus-release/releases/download/v${specific_version}/$filename" + url="${OCTOPUS_DOWNLOAD_BASE:-https://eightarms.net}/Octopus/octopus-release/releases/download/v${specific_version}/$filename" else # Strip leading 'v' if present requested_version="${requested_version#v}" - url="${OCTOPUS_DOWNLOAD_BASE:-https://eightarms.net}/fourbroad/octopus-release/releases/download/v${requested_version}/$filename" + url="${OCTOPUS_DOWNLOAD_BASE:-https://eightarms.net}/Octopus/octopus-release/releases/download/v${requested_version}/$filename" specific_version=$requested_version # Verify the release exists before downloading - http_status=$(curl -sI -o /dev/null -w "%{http_code}" "${GITEA_URL:-https://eightarms.net}/fourbroad/octopus-release/releases/tag/v${requested_version}") + http_status=$(curl -sI -o /dev/null -w "%{http_code}" "${GITEA_URL:-https://eightarms.net}/Octopus/octopus-release/releases/tag/v${requested_version}") if [ "$http_status" = "404" ]; then echo -e "${RED}Error: Release v${requested_version} not found${NC}" - echo -e "${MUTED}Available releases: ${GITEA_URL:-https://eightarms.net}/fourbroad/octopus-release/releases${NC}" + echo -e "${MUTED}Available releases: ${GITEA_URL:-https://eightarms.net}/Octopus/octopus-release/releases${NC}" exit 1 fi fi @@ -456,6 +456,6 @@ echo -e "" echo -e "cd ${MUTED}# Open directory${NC}" echo -e "octopus ${MUTED}# Run command${NC}" echo -e "" -echo -e "${MUTED}For more information visit ${NC}https://eightarms.net/fourbroad/octopus-release" +echo -e "${MUTED}For more information visit ${NC}https://eightarms.net/docs" echo -e "" echo -e "" diff --git a/install.ps1 b/install.ps1 index 51e4b47..2391276 100644 --- a/install.ps1 +++ b/install.ps1 @@ -1,5 +1,5 @@ #Requires -Version 5.1 -# Public release repository: https://eightarms.net/fourbroad/octopus-release +# Public release repository: https://eightarms.net/Octopus/octopus-release <# .SYNOPSIS Octopus installer for Windows. @@ -14,12 +14,10 @@ Do not add the install directory to the user PATH. .EXAMPLE - [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12 - irm https://eightarms.net/fourbroad/octopus-release/raw/branch/main/install.ps1 | iex + irm https://eightarms.net/Octopus/octopus-release/raw/branch/dev/install.ps1 | iex .EXAMPLE - [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12 - irm https://eightarms.net/fourbroad/octopus-release/raw/branch/main/install.ps1 | iex; Install-Octopus -Version 0.1.3 + irm https://eightarms.net/Octopus/octopus-release/raw/branch/dev/install.ps1 | iex; Install-Octopus -Version 0.1.3 #> [CmdletBinding()] param( @@ -29,10 +27,9 @@ param( Set-StrictMode -Version Latest $ErrorActionPreference = "Stop" -[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12 $APP = "octopus" -$REPO = "fourbroad/octopus-release" +$REPO = "Octopus/octopus-release" $baseUrl = if ($env:OCTOPUS_DOWNLOAD_BASE) { $env:OCTOPUS_DOWNLOAD_BASE } else { "https://eightarms.net" } $INSTALL_DIR = Join-Path $env:USERPROFILE ".octopus\bin" @@ -197,7 +194,7 @@ function Install-Octopus { Write-Host " octopus " -NoNewline; Write-Host "# Run command" -ForegroundColor DarkGray Write-Host "" Write-Host "For more information visit " -NoNewline -ForegroundColor DarkGray - Write-Host "https://eightarms.net/fourbroad/octopus-release" + Write-Host "https://eightarms.net/docs" Write-Host "" }