Merge remote-tracking branch 'origin/main' into code-branch-20251006-101336

This commit is contained in:
James Peter
2025-10-07 19:44:05 +10:00
5 changed files with 39 additions and 24 deletions
+7 -15
View File
@@ -615,6 +615,8 @@ jobs:
# Extract a Linux x86_64 Code binary from artifacts and make it runnable.
mkdir -p .code-bin release-notes
# Always start from a blank file so stale content never leaks through
: > release-notes/RELEASE_NOTES.md
LNX_ZST=$(ls -1 release-assets/code-x86_64-unknown-linux-musl.* 2>/dev/null | head -n1 || true)
if [ -z "$LNX_ZST" ]; then
echo "Could not find linux x86_64 Code artifact in release-assets/" >&2
@@ -755,6 +757,9 @@ jobs:
if [ ! -s release-notes/RELEASE_NOTES.md ]; then
awk -v v="${NEW_VERSION}" '/^## /{p=($2==("v"v)||$2==v)} p{print}' CHANGELOG.md > release-notes/RELEASE_NOTES.md || true
fi
if [ ! -s release-notes/RELEASE_NOTES.md ]; then
printf "## @just-every/code v%s\n\nSee CHANGELOG.md for details." "${NEW_VERSION}" > release-notes/RELEASE_NOTES.md
fi
# Commit CHANGELOG changes if any.
if ! git diff --quiet -- CHANGELOG.md; then
@@ -860,24 +865,11 @@ jobs:
git push origin main
git push origin --tags || true
- name: Align release notes header with version
- name: Verify release notes header matches version
shell: bash
run: |
set -euo pipefail
ver="${{ steps.version.outputs.version }}"
notes="release-notes/RELEASE_NOTES.md"
if [ ! -f "$notes" ]; then
echo "Missing $notes" >&2
exit 1
fi
if grep -q '^## @just-every/code v' "$notes"; then
perl -0pi -e "s/^## @just-every\\/code v[^\\n]*/## @just-every\\/code v${ver}/" "$notes"
else
tmp=$(mktemp)
printf '## @just-every/code v%s\n\n' "$ver" > "$tmp"
cat "$notes" >> "$tmp"
mv "$tmp" "$notes"
fi
scripts/check-release-notes-version.sh
- name: Create GitHub Release
uses: softprops/action-gh-release@v1
+11
View File
@@ -3,6 +3,17 @@
> [!TIP]
> We're constantly improving Code! This page documents the core changes. You can also check our [releases page](https://github.com/just-every/code/releases) for additional information.
## [0.2.188] - 2025-10-06
- MCP: Validate stdio tool commands on PATH and surface clearer spawn errors during setup. (3a51d30)
- Release: Guard release notes generation so headers always match the published version. (db38a24)
## [0.2.187] - 2025-10-06
- TUI: Maintain strict streaming order and stable scrollback so history stays put while answers land. (554f2e6b)
- CLI: Prefer rollout `.jsonl` transcripts when resuming sessions so `code resume` stays reliable after snapshots. (7f69aa55)
- Core/Auth: Automatically use stored API keys for enterprise ChatGPT plans and honor retry hints from rate-limit errors. (fa1bd81f)
## [0.2.184] - 2025-10-03
- Core: Record pid alongside port in server info to simplify local process debugging. (3778659)
+6 -6
View File
@@ -1,6 +1,6 @@
{
"name": "@just-every/code",
"version": "0.2.186",
"version": "0.2.188",
"license": "Apache-2.0",
"description": "Lightweight coding agent that runs in your terminal - fork of OpenAI Codex",
"bin": {
@@ -35,10 +35,10 @@
"prettier": "^3.3.3"
},
"optionalDependencies": {
"@just-every/code-darwin-arm64": "0.2.186",
"@just-every/code-darwin-x64": "0.2.186",
"@just-every/code-linux-x64-musl": "0.2.186",
"@just-every/code-linux-arm64-musl": "0.2.186",
"@just-every/code-win32-x64": "0.2.186"
"@just-every/code-darwin-arm64": "0.2.188",
"@just-every/code-darwin-x64": "0.2.188",
"@just-every/code-linux-x64-musl": "0.2.188",
"@just-every/code-linux-arm64-musl": "0.2.188",
"@just-every/code-win32-x64": "0.2.188"
}
}
+1 -1
View File
@@ -1,4 +1,4 @@
Please use gh to review each issue in https://github.com/just-every/code
Please use gh to review this issue in https://github.com/just-every/code/issues/{issue_number}
1. Please assess if the issue is genuine and needs addressing
2. If it does, work on a solution;
+14 -2
View File
@@ -1,3 +1,15 @@
## @just-every/code v0.2.186
## @just-every/code v0.2.188
See CHANGELOG.md for details.
Small release to tighten MCP integration checks and make automation safer during publishing.
### Changes
- MCP: Validate stdio tool commands on PATH and surface clearer spawn errors during setup.
- Release: Guard release notes generation so headers always match the published version.
### Install
```
npm install -g @just-every/code@latest
code
```
Compare: https://github.com/just-every/code/compare/v0.2.187...v0.2.188