Skip to content

The open-source agent harness - the runtime layer that turns an LLM into a working agent.

Fix release workflow

Chirag Jain62a8a5410091
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 1f927a2ab..a7946dd90 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -50,7 +50,8 @@ jobs:
with:
node-version: 24
cache: pnpm
- registry-url: https://registry.npmjs.org
+ # No registry-url / NODE_AUTH_TOKEN: an `_authToken` in .npmrc disables
+ # pnpm's OIDC exchange for npm trusted publishing.
- run: pnpm install --frozen-lockfile
@@ -79,12 +80,16 @@ jobs:
test -f packages/server/dist/cli.js
test -f packages/server/dist/_frontend/index.html
+ # Must be @v2: @changesets/cli@3 stores applied RC changesets under
+ # `.changeset/pre/`; @v1 still expects folder-style `pre/changes.md` and
+ # fails with ENOENT right after the Version Packages merge.
- name: Create Version Packages PR or publish to npm
- uses: changesets/action@v1
+ uses: changesets/action@v2
with:
- version: pnpm run version
- publish: pnpm run release
- createGithubReleases: true
+ version-script: pnpm run version
+ publish-script: pnpm run release
+ create-github-releases: true
+ push-with-git-cli: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# TODO(oss): set NPM_CONFIG_PROVENANCE once the repo is public. Do NOT
diff --git a/README.md b/README.md
index 8e076f1e7..773ed69a0 100644
--- a/README.md
+++ b/README.md
@@ -55,7 +55,7 @@ It scales down and up: **local mode** (one process, SQLite) or **hosted mode** (
Requires [Node.js](https://nodejs.org) 22.13 or newer. One command, no other infrastructure - UI and backend run locally; data is stored in SQLite:
```bash
-npx @truefoundry/trueforge
+npx @truefoundry/trueforge@rc
```
Then open [http://localhost:8790](http://localhost:8790).