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
11 changes: 10 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,14 @@ uses [Semantic Versioning](https://semver.org/) for tagged releases.

## [Unreleased]

## [1.6.4] - 2026-09-27

### Fixed

- Restored the verified source bootstrap after the GitHub repository moved to
BeamoTech by resolving releases from the canonical repository on Unix and
Windows.

## [1.6.3] - 2026-09-26

### Changed
Expand Down Expand Up @@ -502,7 +510,8 @@ uses [Semantic Versioning](https://semver.org/) for tagged releases.
- Claude in Chrome first party profile support.
- Cross platform regression coverage in GitHub Actions.

[Unreleased]: https://github.com/BeamoINT/Claudex/compare/v1.6.3...HEAD
[Unreleased]: https://github.com/BeamoINT/Claudex/compare/v1.6.4...HEAD
[1.6.4]: https://github.com/BeamoINT/Claudex/compare/v1.6.3...v1.6.4
[1.6.3]: https://github.com/BeamoINT/Claudex/compare/v1.6.2...v1.6.3
[1.6.2]: https://github.com/BeamoINT/Claudex/compare/v1.6.1...v1.6.2
[1.6.1]: https://github.com/BeamoINT/Claudex/compare/v1.6.0...v1.6.1
Expand Down
4 changes: 2 additions & 2 deletions bootstrap.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ $ErrorActionPreference = 'Stop'
Set-StrictMode -Version 2.0
[Net.ServicePointManager]::SecurityProtocol = [Net.ServicePointManager]::SecurityProtocol -bor [Net.SecurityProtocolType]::Tls12

$repositoryUrl = 'https://github.com/BeamoINT/Claudex'
$apiUrl = 'https://api.github.com/repos/BeamoINT/Claudex/releases/latest'
$repositoryUrl = 'https://github.com/BeamoTech/Claudex'
$apiUrl = 'https://api.github.com/repos/BeamoTech/Claudex/releases/latest'
$temporary = Join-Path ([IO.Path]::GetTempPath()) ('claudex-bootstrap-' + [guid]::NewGuid().ToString('N'))

function Fail([string] $Message) {
Expand Down
2 changes: 1 addition & 1 deletion bootstrap.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env bash
set -euo pipefail

readonly repository_url="https://github.com/BeamoINT/Claudex"
readonly repository_url="https://github.com/BeamoTech/Claudex"
readonly latest_url="$repository_url/releases/latest"
temporary=""

Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "claudex-codex",
"version": "1.6.3",
"version": "1.6.4",
"private": true,
"description": "Cross platform compatibility layer for using Codex GPT and native Claude models through Claude Code",
"type": "module",
Expand Down
1 change: 1 addition & 0 deletions test.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ function Remove-TestPathWithRetry([string] $Path, [int] $TimeoutMilliseconds = 5
}

try {
& (Join-Path $root 'tests/bootstrap-windows.test.ps1')
[IO.Directory]::CreateDirectory($testConfig) | Out-Null
[IO.Directory]::CreateDirectory($fakeBin) | Out-Null
if ($isWindowsPlatform -and $env:CI) {
Expand Down
12 changes: 11 additions & 1 deletion test.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -2142,7 +2142,7 @@ output=""; url=""
while (( $# > 0 )); do
case "$1" in --output) output="$2"; shift 2 ;; --write-out) shift 2 ;; -*) shift ;; *) url="$1"; shift ;; esac
done
if [[ "$output" == /dev/null ]]; then printf '%s' 'https://github.com/BeamoINT/Claudex/releases/tag/v9.8.7'; exit; fi
if [[ "$output" == /dev/null ]]; then printf '%s' "${FAKE_BOOTSTRAP_LATEST_REDIRECT:-https://github.com/BeamoTech/Claudex/releases/tag/v9.8.7}"; exit; fi
case "$url" in */SHA256SUMS) cp "$FAKE_BOOTSTRAP_FIXTURE/SHA256SUMS" "$output" ;; *) cp "$FAKE_BOOTSTRAP_FIXTURE/claudex-9.8.7.tar.gz" "$output" ;; esac
EOF
chmod +x "$tmp/bootstrap-bin/curl"
Expand All @@ -2152,6 +2152,16 @@ PATH="$tmp/bootstrap-bin:/usr/bin:/bin" TMPDIR="$bootstrap_tmp" \
"$root/bootstrap.sh" --login >/dev/null
[[ "$(<"$bootstrap_install_log")" == 'archive:--login' ]]
[[ -z "$(find "$bootstrap_tmp" -mindepth 1 -maxdepth 1 -print -quit)" ]]
rm -f "$bootstrap_install_log"
if PATH="$tmp/bootstrap-bin:/usr/bin:/bin" TMPDIR="$bootstrap_tmp" \
FAKE_BOOTSTRAP_FIXTURE="$bootstrap_fixture" FAKE_BOOTSTRAP_INSTALL_LOG="$bootstrap_install_log" \
FAKE_BOOTSTRAP_LATEST_REDIRECT='https://github.com/BeamoINT/Claudex/releases/tag/v9.8.7' \
"$root/bootstrap.sh" >"$tmp/bootstrap-old-owner.stdout" 2>"$tmp/bootstrap-old-owner.stderr"; then
printf '%s\n' 'expected redirect to previous repository owner to fail' >&2
exit 1
fi
grep -F 'the latest-release redirect did not stay on the expected GitHub repository' "$tmp/bootstrap-old-owner.stderr" >/dev/null
[[ ! -e "$bootstrap_install_log" ]]
printf x >> "$bootstrap_archive"
if PATH="$tmp/bootstrap-bin:/usr/bin:/bin" TMPDIR="$bootstrap_tmp" \
FAKE_BOOTSTRAP_FIXTURE="$bootstrap_fixture" FAKE_BOOTSTRAP_INSTALL_LOG="$bootstrap_install_log" \
Expand Down
53 changes: 53 additions & 0 deletions tests/bootstrap-windows.test.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
$ErrorActionPreference = 'Stop'
Set-StrictMode -Version 2.0

$root = Split-Path -Parent $PSScriptRoot
$global:ClaudexBootstrapTestCalls = New-Object 'System.Collections.Generic.List[string]'
$global:ClaudexBootstrapTestArchive = $null
$expectedFailure = 'bootstrap fixture stopped after the checksum download'
$failure = $null

try {
& {
function Invoke-RestMethod {
param([switch] $UseBasicParsing, [hashtable] $Headers, [string] $Uri, [int] $TimeoutSec)
$global:ClaudexBootstrapTestCalls.Add("api:$Uri")
return [pscustomobject] @{ tag_name = 'v9.8.7' }
}

function Invoke-WebRequest {
param([switch] $UseBasicParsing, [hashtable] $Headers, [string] $Uri, [string] $OutFile, [int] $TimeoutSec)
$global:ClaudexBootstrapTestCalls.Add("download:$Uri")
if ($Uri.EndsWith('/SHA256SUMS', [StringComparison]::Ordinal)) {
throw 'bootstrap fixture stopped after the checksum download'
}
$global:ClaudexBootstrapTestArchive = $OutFile
[IO.File]::WriteAllText($OutFile, 'fixture')
}

& (Join-Path $root 'bootstrap.ps1')
}
} catch {
$failure = $_.Exception.Message
}

if ($failure -ne $expectedFailure) { throw "Windows bootstrap fixture failed unexpectedly: $failure" }
$expectedCalls = @(
'api:https://api.github.com/repos/BeamoTech/Claudex/releases/latest',
'download:https://github.com/BeamoTech/Claudex/releases/download/v9.8.7/claudex-9.8.7-windows.zip',
'download:https://github.com/BeamoTech/Claudex/releases/download/v9.8.7/SHA256SUMS'
)
if ($global:ClaudexBootstrapTestCalls.Count -ne $expectedCalls.Count) {
throw "Windows bootstrap made $($global:ClaudexBootstrapTestCalls.Count) requests, expected $($expectedCalls.Count)"
}
for ($index = 0; $index -lt $expectedCalls.Count; $index += 1) {
if ($global:ClaudexBootstrapTestCalls[$index] -ne $expectedCalls[$index]) {
throw "Windows bootstrap request $index was $($global:ClaudexBootstrapTestCalls[$index]), expected $($expectedCalls[$index])"
}
}
if (-not $global:ClaudexBootstrapTestArchive -or (Test-Path -LiteralPath $global:ClaudexBootstrapTestArchive)) {
throw 'Windows bootstrap did not clean up the interrupted download'
}

[Console]::WriteLine('Windows bootstrap release lookup and download tests passed')
Remove-Variable -Name ClaudexBootstrapTestCalls, ClaudexBootstrapTestArchive -Scope Global