Skip to content

chore(release): prepare 2.3.0-shuv.2 - #495

Merged
shuv1337 merged 1 commit into
integration-v2from
release-shuv2-prep
Nov 14, 2026
Merged

shuv1337 merged 1 commit into
integration-v2from
release-shuv2-prep

Conversation

@shuv1337

Copy link
Copy Markdown
Owner

Summary

Small, separate release-prep PR for 2.3.0-shuv.2 on npm latest, based on freshly fetched origin/integration-v2 617bc15ee9663272ec0a1121334d65abbd79abef (merge of #494; verified as an ancestor).

Metadata only — no code, API, generated client, protocol or OpenAPI surface changes:

File Change
packages/cli/package.json version 2.3.0-shuv.1 → 2.3.0-shuv.2 (checked-in release floor)
bun.lock workspace shuvcode version 2.3.0-shuv.1 → 2.3.0-shuv.2
CHANGELOG.md new v2.3.0-shuv.2 maintenance notes above the existing fork notes

bun.lock diff in full: the single "version" line under packages/cli. Root manifest stays upstream 2.3.0; nothing bare-upstream can be published. No feature flag: the flags were made irrelevant by upstream's own shell-timeout graduation and a release-prep commit adds no behavior to gate.

Fork identity/hiding/dependency invariants are untouched by this diff (Shuvcode name/bin/XDG/ports, npm-only updates and guarded publish, hidden Claude Agent SDK provider, managed-policy waits). The #490/#491/#492 CI/test fixes are already in the base.

Release notes added

Maintenance release on upstream v2.3.0, syncing dev from 73abe63ac2 through cbe71595e1 (40 commits) as #494.

Shell timeouts — upstream graduated and removed the shell_timeout_background flag. A foreground shell command that reaches its timeout now moves to the background instead of being stopped; you are notified when it finishes, so there is no need to poll. The foreground default is still 120 seconds. For a foreground call, timeout: 0 falls back to that default rather than waiting indefinitely. An explicit timeout on a background: true call stops the command when it expires, while a background call without a timeout keeps running until it finishes.

Read tool — small text files now honor the default read limits (2,000 lines and 50 KB) instead of returning the whole file; over-limit files page from the start with a continuation offset. Paged reads keep a single blank line, and limit: 0 fails with a clear error instead of returning an empty page. Both six-byte GIF signatures are recognized, and a bitmap header is required before BM bytes count as an image, so text files starting with BM stay readable.

App — preview find matches the original text with escaped, case-insensitive Unicode patterns, so highlights stay aligned for characters whose case folding changes length. New timeline direct shell messages show nonzero-exit, timeout and stopped outcomes again, including commands that produced no output.

Also included: New timeline metadata/subagent ordering/tidy fixes, connect-dialog and tooltip/submenu polish, no zero cost for OpenCode Go sessions, ttft removed from the assistant footer, and the retained fork identity/update/publish/hidden-provider invariants.

The timeout wording was read from packages/core/src/tool/plugin/shell.ts and its tests (treats a foreground timeout of zero as the default timeout, stops a background command when its explicit timeout expires), not inferred. #493 (PowerShell first-test stall) is not claimed fixed; this branch carries only the existing diagnostics.

Validation (this head)

Gate Result
Version resolution, no publish (OPENCODE_CHANNEL=latest bun -e 'await import("./packages/script/src/index.ts")') channel: latest, version: 2.3.0-shuv.2; npm latest read as 2.3.0-shuv.1 for both shuvcode and shuvcode-node
bun install --frozen-lockfile Pass, 1597 packages, no lockfile drift
packages/script bun test (version + pack + highlights) 22 pass, 12 skip, 0 fail
packages/cli publish-order, publish-ownership, updater-install, launcher 40 pass, 4 skip, 0 fail
Root bun run check 40/40 tasks, lint + typecheck exit 0 (only shuvcode uncached from the manifest bump)
git diff --check / Prettier --check Pass

Cross-platform: local evidence is Linux x64 only. This repo's unit and e2e jobs (the effective release gates) run on ubuntu-latest only, and publish.yml builds the Linux/macOS/Windows Bun and Node packages on ubuntu-latest for the release artifacts — that pipeline, not this host, covers the other targets. No Windows/macOS execution is claimed here. The base head already had a green full sync CI run (unit+e2e 43567537752, typecheck 43567537749), but this release-prep head needs its own green unit+e2e; the chore(release) title enables both.

Release run recipe (not dispatched here)

publish.yml supports exactly two workflow_dispatch inputs: version (required string) and channel (optional string, default latest). Dispatch on branch integration-v2 at the merge commit:

gh workflow run publish.yml --repo shuv1337/shuvcode --ref integration-v2 \
  -f version=2.3.0-shuv.2 -f channel=latest

That run gates on typecheck + test (unit/e2e), builds Bun and Node CLI distributions plus the five gpt-live-host helpers, publishes shuvcode, shuvcode-node and their platform packages to dist-tag latest via the shuv1337/shuvcode-guarded packages/cli/script/publish.ts, then creates the GitHub release v2.3.0-shuv.2 (non-prerelease because the channel is latest) at $GITHUB_SHA with the archives and helper assets. The tag is created by gh release create --target $GITHUB_SHA; no separate tag step.

Caveats

  • No merge, tag, publish, install or host restart in this PR. Terra drives the release run and host upgrades; per-host no-running-opencode_shuvcode guard applies before any restart.
  • npm serves 404 for new platform tarballs for a few minutes after publish; host upgrades should wait.
  • No ### Visual section: this is chore(release) metadata only with no user-facing UI change, so the repo's feat/fix/perf animated-SVG requirement does not apply.
  • CI is not being watched from this worker; results arrive on the PR.

Set the CLI manifest and lockfile release floor to 2.3.0-shuv.2 and add the maintenance release notes for upstream sync cbe7159 (#494). No code, API or generated surface changes.
@shuv1337
shuv1337 merged commit 27840dc into integration-v2 Nov 14, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant