chore: version packages#123
Merged
Merged
Conversation
5efc8a1 to
4ec8b72
Compare
4ec8b72 to
73b1e34
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.
Releases
@glrs-dev/harness-opencode@0.16.0
Minor Changes
#124
fafe250Thanks @iceglober! - Pivot the installer's provider/model data source from Catwalk (catwalk.charm.land) to Models.dev (models.dev/api.json), matching what OpenCode's runtime uses to validate model IDs.Previously, the installer emitted provider IDs from Catwalk's registry (
bedrock/anthropic.claude-opus-4-6,vertexai/claude-opus-4-6@20250610) that OpenCode's runtime rejects at agent invocation withAgent <name>'s configured model <id> is not valid. Models.dev uses different provider IDs (amazon-bedrock,google-vertex-anthropic) for the same providers. The AWS Bedrock and Google Vertex presets have been broken out of the box since this ID schism was introduced upstream; only the Anthropic preset happened to work because its provider ID is identical in both registries.The Bedrock preset now emits
amazon-bedrock/global.anthropic.claude-*IDs (using AWS CRIS global cross-region inference for the broadest availability). The Vertex preset now emitsgoogle-vertex-anthropic/claude-*@defaultIDs. The Anthropic preset is unchanged.The plugin's runtime validator (
src/model-validator.ts) now flags any model override starting withbedrock/orvertex(ai)/as invalid and suggests the Models.dev-valid replacement. If you hitProviderModelNotFoundErrororAgent ... configured model ... is not validafter a recent OpenCode upgrade, runbunx @glrs-dev/harness-opencode doctor— it enumerates the bad overrides and the correct Models.dev IDs.Note for existing installations: your opencode.json is never auto-rewritten. The doctor tells you the exact line to change. If you had a working
anthropic/*oramazon-bedrock/*config, nothing changes. If you had a Catwalk-stylebedrock/anthropic.*orvertexai/claude-*@<date>config, you will now see warnings until you update it — those configs never actually worked at runtime against current OpenCode versions.Patch Changes
#122
d433060Thanks @iceglober! - fix(pilot): preventgit worktree add -Bcollision between runs of the same plan.Previously, every
pilot buildof the same plan constructed identical per-task branch names (pilot/<slug>/<taskId>). An aborted or failed prior run leftpreserveOnFailureworktrees alive (by design — so users can inspect), but those worktrees held the branch refs. The nextpilot buildtripped onfatal: '<branch>' is already used by worktree at <prior-run-dir>, failing T1 and cascade-blocking every downstream task.Branch names now include the runId:
pilot/<slug>/<runId>/<taskId>. Runs of the same plan no longer share a branch namespace; preserved worktrees from prior runs stay on disk for inspection but don't block new runs.Note on existing branches: branches created by earlier pilot versions (without the runId segment) remain on disk as orphans. They won't be touched or reused by new runs. To clean up manually:
git branch --list 'pilot/*' | xargs -n1 git branch -D(after confirming nothing valuable lives under those refs, and pruning any orphan worktrees withgit worktree prune).