Skip to content

Commit e646cd4

Browse files
committed
Release 0.3.8
1 parent 5294fcd commit e646cd4

13 files changed

Lines changed: 16 additions & 12 deletions

File tree

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
## [0.3.8] - 2026-04-22
11+
12+
Hotfix for v0.3.7 — restore working compiled binaries. v0.3.7 was tagged but never shipped any working assets: two distinct bugs (Pi SDK's module-init `package.json` read, and Bun `--bytecode` producing broken output for this project's module graph) made every compiled archon binary crash at startup. The v0.3.7 GitHub Release was deleted immediately (the tag remains for history); v0.3.8 is the first release with working `archon-{darwin,linux}-{arm64,x64}` and `archon-windows-x64.exe` binaries since v0.3.6. Homebrew and `install.sh` were never updated to v0.3.7, so users were not exposed to the broken state.
13+
1014
### Fixed
1115

1216
- **Compiled archon binaries no longer crash at startup when the Pi provider is bundled.** `@mariozechner/pi-coding-agent/dist/config.js` runs `readFileSync(getPackageJsonPath(), 'utf-8')` at module top-level, which inside a compiled binary resolves to `dirname(process.execPath) + '/package.json'` — a path that doesn't exist next to `/usr/local/bin/archon`, making every archon command (including `archon version`) crash with ENOENT before it ran. The Pi SDK and all Pi-dependent helper modules are now dynamically imported inside `PiProvider.sendQuery()`; registering Pi and instantiating the provider no longer touches Pi's module-init side effects. A regression test (`provider-lazy-load.test.ts`) walks the same `registerCommunityProviders()` + `getAgentProvider('pi')` path the CLI and server take and asserts neither SDK package was resolved. Claude and Codex providers keep their static import style — their SDKs have no equivalent module-init side effect. Unblocks the v0.3.7 release binaries that could not ship because of this bug. (#1355)

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "archon",
3-
"version": "0.3.7",
3+
"version": "0.3.8",
44
"private": true,
55
"workspaces": [
66
"packages/*"

packages/adapters/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@archon/adapters",
3-
"version": "0.3.7",
3+
"version": "0.3.8",
44
"type": "module",
55
"main": "./src/index.ts",
66
"types": "./src/index.ts",

packages/cli/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@archon/cli",
3-
"version": "0.3.7",
3+
"version": "0.3.8",
44
"type": "module",
55
"main": "./src/cli.ts",
66
"bin": {

packages/core/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@archon/core",
3-
"version": "0.3.7",
3+
"version": "0.3.8",
44
"type": "module",
55
"main": "./src/index.ts",
66
"types": "./src/index.ts",

packages/docs-web/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@archon/docs-web",
3-
"version": "0.3.7",
3+
"version": "0.3.8",
44
"private": true,
55
"scripts": {
66
"dev": "astro dev",

packages/git/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@archon/git",
3-
"version": "0.3.7",
3+
"version": "0.3.8",
44
"type": "module",
55
"main": "./src/index.ts",
66
"types": "./src/index.ts",

packages/isolation/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@archon/isolation",
3-
"version": "0.3.7",
3+
"version": "0.3.8",
44
"type": "module",
55
"main": "./src/index.ts",
66
"types": "./src/index.ts",

packages/paths/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@archon/paths",
3-
"version": "0.3.7",
3+
"version": "0.3.8",
44
"type": "module",
55
"main": "./src/index.ts",
66
"types": "./src/index.ts",

packages/providers/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@archon/providers",
3-
"version": "0.3.7",
3+
"version": "0.3.8",
44
"type": "module",
55
"main": "./src/index.ts",
66
"types": "./src/index.ts",

0 commit comments

Comments
 (0)