Skip to content

Commit 1bfc82c

Browse files
Merge pull request #219 from EvanProgramming/codex/windows-installer-head-preflight
fix: harden Windows installer asset retrieval
2 parents eb12943 + b048c80 commit 1bfc82c

17 files changed

Lines changed: 76 additions & 55 deletions

File tree

‎.github/workflows/ci.yml‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,10 @@ jobs:
179179
runs-on: windows-latest
180180
steps:
181181
- uses: actions/checkout@v4
182-
- name: Parse PowerShell installer and run help path
182+
- name: Parse installer and run help path (Windows PowerShell 5.1)
183+
shell: powershell
184+
run: ./install.ps1 -Help
185+
- name: Parse installer and run help path (PowerShell 7)
183186
shell: pwsh
184187
run: ./install.ps1 -Help
185188

‎.github/workflows/release.yml‎

Lines changed: 18 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -80,14 +80,29 @@ jobs:
8080
with:
8181
ref: ${{ inputs.release_tag || github.ref }}
8282

83-
- name: Install the tagged release with the PowerShell installer
83+
- name: Install the tagged release with Windows PowerShell 5.1
84+
shell: powershell
85+
run: |
86+
$auditHome = Join-Path $env:RUNNER_TEMP "openkyrozen-release-home-ps51"
87+
New-Item -ItemType Directory -Force -Path $auditHome | Out-Null
88+
$env:HOME = $auditHome
89+
$env:USERPROFILE = $auditHome
90+
irm "https://raw.githubusercontent.com/EvanProgramming/OpenKyrozen/$env:RELEASE_TAG/install.ps1" | iex
91+
$bin = Join-Path $auditHome ".local\bin"
92+
& (Join-Path $bin "kyrozen.exe") --version
93+
& (Join-Path $bin "kyrozen.exe") --help *> $null
94+
& (Join-Path $bin "kyrozen-web.exe") --help *> $null
95+
$revision = & (Join-Path $auditHome ".kyrozen\bin\openkyrozen-tui.exe") --revision
96+
if ($revision -ne $env:RELEASE_TAG) { throw "Installed TUI revision does not match release" }
97+
98+
- name: Install the tagged release with PowerShell 7
8499
shell: pwsh
85100
run: |
86-
$auditHome = Join-Path $env:RUNNER_TEMP "openkyrozen-release-home"
101+
$auditHome = Join-Path $env:RUNNER_TEMP "openkyrozen-release-home-pwsh"
87102
New-Item -ItemType Directory -Force -Path $auditHome | Out-Null
88103
$env:HOME = $auditHome
89104
$env:USERPROFILE = $auditHome
90-
Invoke-RestMethod "https://raw.githubusercontent.com/EvanProgramming/OpenKyrozen/$env:RELEASE_TAG/install.ps1" | Invoke-Expression
105+
irm "https://raw.githubusercontent.com/EvanProgramming/OpenKyrozen/$env:RELEASE_TAG/install.ps1" | iex
91106
$bin = Join-Path $auditHome ".local\bin"
92107
& (Join-Path $bin "kyrozen.exe") --version
93108
& (Join-Path $bin "kyrozen.exe") --help *> $null

‎README.ja.md‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,14 @@ OpenKyrozen は Python **3.12 と 3.13** をサポートします。Python 3.14
1919
### macOS または Linux
2020

2121
```bash
22-
curl -fsSL https://raw.githubusercontent.com/EvanProgramming/OpenKyrozen/v2.0.7/install.sh | sh
22+
curl -fsSL https://raw.githubusercontent.com/EvanProgramming/OpenKyrozen/v2.0.8/install.sh | sh
2323
kyrozen
2424
```
2525

2626
### Windows PowerShell
2727

2828
```powershell
29-
irm https://raw.githubusercontent.com/EvanProgramming/OpenKyrozen/v2.0.7/install.ps1 | iex
29+
irm https://raw.githubusercontent.com/EvanProgramming/OpenKyrozen/v2.0.8/install.ps1 | iex
3030
kyrozen
3131
```
3232

@@ -53,7 +53,7 @@ make run
5353
### 検証済み release wheel を直接インストール
5454

5555
```bash
56-
uv tool install --python 3.12 --force --with fastapi --with uvicorn https://github.com/EvanProgramming/OpenKyrozen/releases/download/v2.0.7/openkyrozen-2.0.7-py3-none-any.whl
56+
uv tool install --python 3.12 --force --with fastapi --with uvicorn https://github.com/EvanProgramming/OpenKyrozen/releases/download/v2.0.8/openkyrozen-2.0.8-py3-none-any.whl
5757
```
5858

5959
## クイックスタート

‎README.ko.md‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,14 @@ OpenKyrozen은 Python **3.12와 3.13**을 지원합니다. Python 3.14는 지원
1919
### macOS 또는 Linux
2020

2121
```bash
22-
curl -fsSL https://raw.githubusercontent.com/EvanProgramming/OpenKyrozen/v2.0.7/install.sh | sh
22+
curl -fsSL https://raw.githubusercontent.com/EvanProgramming/OpenKyrozen/v2.0.8/install.sh | sh
2323
kyrozen
2424
```
2525

2626
### Windows PowerShell
2727

2828
```powershell
29-
irm https://raw.githubusercontent.com/EvanProgramming/OpenKyrozen/v2.0.7/install.ps1 | iex
29+
irm https://raw.githubusercontent.com/EvanProgramming/OpenKyrozen/v2.0.8/install.ps1 | iex
3030
kyrozen
3131
```
3232

@@ -53,7 +53,7 @@ make run
5353
### 검증된 release wheel 직접 설치
5454

5555
```bash
56-
uv tool install --python 3.12 --force --with fastapi --with uvicorn https://github.com/EvanProgramming/OpenKyrozen/releases/download/v2.0.7/openkyrozen-2.0.7-py3-none-any.whl
56+
uv tool install --python 3.12 --force --with fastapi --with uvicorn https://github.com/EvanProgramming/OpenKyrozen/releases/download/v2.0.8/openkyrozen-2.0.8-py3-none-any.whl
5757
```
5858

5959
## 빠른 시작

‎README.md‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,19 +12,19 @@
1212

1313
## Install
1414

15-
The current published stable release is **v2.0.7**. It supports Python 3.12 and 3.13; Python 3.14 is outside the supported range.
15+
The current published stable release is **v2.0.8**. It supports Python 3.12 and 3.13; Python 3.14 is outside the supported range.
1616

1717
macOS or Linux:
1818

1919
```sh
20-
curl -fsSL https://raw.githubusercontent.com/EvanProgramming/OpenKyrozen/v2.0.7/install.sh | sh
20+
curl -fsSL https://raw.githubusercontent.com/EvanProgramming/OpenKyrozen/v2.0.8/install.sh | sh
2121
kyrozen
2222
```
2323

2424
Windows PowerShell:
2525

2626
```powershell
27-
irm https://raw.githubusercontent.com/EvanProgramming/OpenKyrozen/v2.0.7/install.ps1 | iex
27+
irm https://raw.githubusercontent.com/EvanProgramming/OpenKyrozen/v2.0.8/install.ps1 | iex
2828
kyrozen
2929
```
3030

‎README.zh-CN.md‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,14 @@ OpenKyrozen 支持 Python **3.12 和 3.13**。Python 3.14 暂不支持。
1919
### macOS 或 Linux
2020

2121
```bash
22-
curl -fsSL https://raw.githubusercontent.com/EvanProgramming/OpenKyrozen/v2.0.7/install.sh | sh
22+
curl -fsSL https://raw.githubusercontent.com/EvanProgramming/OpenKyrozen/v2.0.8/install.sh | sh
2323
kyrozen
2424
```
2525

2626
### Windows PowerShell
2727

2828
```powershell
29-
irm https://raw.githubusercontent.com/EvanProgramming/OpenKyrozen/v2.0.7/install.ps1 | iex
29+
irm https://raw.githubusercontent.com/EvanProgramming/OpenKyrozen/v2.0.8/install.ps1 | iex
3030
kyrozen
3131
```
3232

@@ -53,7 +53,7 @@ make run
5353
### 直接安装已验证的 release wheel
5454

5555
```bash
56-
uv tool install --python 3.12 --force --with fastapi --with uvicorn https://github.com/EvanProgramming/OpenKyrozen/releases/download/v2.0.7/openkyrozen-2.0.7-py3-none-any.whl
56+
uv tool install --python 3.12 --force --with fastapi --with uvicorn https://github.com/EvanProgramming/OpenKyrozen/releases/download/v2.0.8/openkyrozen-2.0.8-py3-none-any.whl
5757
```
5858

5959
## 快速开始

‎docs/installation.md‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,21 +2,21 @@
22

33
## Requirements
44

5-
The published v2.0.7 release supports Python 3.12 and 3.13. Python 3.14 is excluded by the package metadata. The official installers provision Python through `uv`; a source checkout needs Git and a supported Python. The optional Bubble Tea terminal UI is a Go binary distributed with the release. Docker uses Python 3.12. See the live [release page](https://github.com/EvanProgramming/OpenKyrozen/releases/latest) before copying a pinned command: installer examples below identify the current release as of 5 October 2026.
5+
The published v2.0.8 release supports Python 3.12 and 3.13. Python 3.14 is excluded by the package metadata. The official installers provision Python through `uv`; a source checkout needs Git and a supported Python. The optional Bubble Tea terminal UI is a Go binary distributed with the release. Docker uses Python 3.12. See the live [release page](https://github.com/EvanProgramming/OpenKyrozen/releases/latest) before copying a pinned command: installer examples below identify the current release as of 5 October 2026.
66

77
## Install the published release
88

99
On macOS or Linux:
1010

1111
```sh
12-
curl -fsSL https://raw.githubusercontent.com/EvanProgramming/OpenKyrozen/v2.0.7/install.sh | sh
12+
curl -fsSL https://raw.githubusercontent.com/EvanProgramming/OpenKyrozen/v2.0.8/install.sh | sh
1313
kyrozen --version
1414
```
1515

1616
On Windows PowerShell:
1717

1818
```powershell
19-
irm https://raw.githubusercontent.com/EvanProgramming/OpenKyrozen/v2.0.7/install.ps1 | iex
19+
irm https://raw.githubusercontent.com/EvanProgramming/OpenKyrozen/v2.0.8/install.ps1 | iex
2020
kyrozen --version
2121
```
2222

@@ -26,7 +26,7 @@ For a direct Python install, add the optional web server dependencies explicitly
2626

2727
```sh
2828
uv tool install --python 3.12 --force --with fastapi --with uvicorn \
29-
https://github.com/EvanProgramming/OpenKyrozen/releases/download/v2.0.7/openkyrozen-2.0.7-py3-none-any.whl
29+
https://github.com/EvanProgramming/OpenKyrozen/releases/download/v2.0.8/openkyrozen-2.0.8-py3-none-any.whl
3030
kyrozen --version
3131
```
3232

@@ -69,7 +69,7 @@ The value shown is a shell placeholder; replace it locally and never commit a re
6969

7070
For an installed release, type `/update` in the running agent. The updater selects one verified source revision for Python and the terminal binary, checks installed package provenance, and stages the replacement TUI before activation. Restart when prompted so the new process loads the installed version. Updates need network access and package dependencies; errors and partial outcomes include recovery instructions.
7171

72-
The published v2.0.7 one-line installers are pinned. The update command tracks the latest verified `main` revision, so it can install a development revision newer than the release version. If startup reports an incomplete update, exit and rerun the official installer. `kyrozen --help` is also intended to remain available for recovery. Historical Windows installations that predate the staged updater should exit the application and run the current official installer before updating.
72+
The published v2.0.8 one-line installers are pinned. The update command tracks the latest verified `main` revision, so it can install a development revision newer than the release version. If startup reports an incomplete update, exit and rerun the official installer. `kyrozen --help` is also intended to remain available for recovery. Historical Windows installations that predate the staged updater should exit the application and run the current official installer before updating.
7373

7474
## State and uninstalling
7575

‎install.ps1‎

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,11 @@ function Warn([string]$Message) {
1919
}
2020

2121
if ($ShowHelp) {
22-
Write-Output "OpenKyrozen installer: installs the pinned v2.0.7 GitHub release, uv, Python 3.12/3.13, and the Bubble Tea terminal UI."
22+
Write-Output "OpenKyrozen installer: installs the pinned v2.0.8 GitHub release, uv, Python 3.12/3.13, and the Bubble Tea terminal UI."
2323
exit 0
2424
}
2525

26-
$releaseVersion = "2.0.7"
26+
$releaseVersion = "2.0.8"
2727
$releaseTag = "v$releaseVersion"
2828
$goVersion = "1.27.1"
2929
$releaseBaseUrl = "https://github.com/EvanProgramming/OpenKyrozen/releases/download/$releaseTag"
@@ -70,12 +70,6 @@ try {
7070
Fail "Could not create writable OpenKyrozen state directories under $stateDir"
7171
}
7272

73-
try {
74-
Invoke-WebRequest -UseBasicParsing -Uri $releaseWheelUrl -Method Head -TimeoutSec 20 | Out-Null
75-
} catch {
76-
Fail "GitHub release asset is unavailable: $releaseTag"
77-
}
78-
7973
$localBin = Join-Path $homeDirectory ".local\bin"
8074
$cargoBin = Join-Path $homeDirectory ".cargo\bin"
8175
$env:Path = "$localBin;$cargoBin;$env:Path"
@@ -119,7 +113,9 @@ if ($LASTEXITCODE -ne 0) {
119113
Info "uv cache was incomplete; retrying without the existing cache..."
120114
& $uvCommand.Source --no-cache tool install --python $pythonVersion --force --with fastapi --with uvicorn $releaseWheelUrl
121115
}
122-
if ($LASTEXITCODE -ne 0) { Fail "OpenKyrozen installation failed from release $releaseTag." }
116+
if ($LASTEXITCODE -ne 0) {
117+
Fail "OpenKyrozen installation failed from release $releaseTag ($releaseWheelUrl). Check the uv error above and verify GitHub access."
118+
}
123119
try { & $uvCommand.Source tool update-shell *> $null } catch { }
124120

125121
$ghBootstrap = Join-Path $localBin "kyrozen-bootstrap-gh.exe"

‎install.sh‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
set -eu
44

5-
release_version='2.0.7'
5+
release_version='2.0.8'
66
release_tag="v$release_version"
77
go_version='1.27.1'
88
release_base_url="https://github.com/EvanProgramming/OpenKyrozen/releases/download/$release_tag"

‎openkyrozen/__init__.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
"""OpenKyrozen modular agent application."""
2-
__version__ = "2.0.7"
2+
__version__ = "2.0.8"

0 commit comments

Comments
 (0)