chore(release): bump @codespar/types, @codespar/sdk, codespar to 0.10.0 - #56
Merged
Conversation
Aligns all three publishable packages at 0.10.0 ahead of publishing the hosted test-mode SDK surface that landed in #54 without a version bump. The CHANGELOGs are prepended with 0.10.0 sections covering the mocks forwarding on session create, the structured CodesparApiError, the tool-result-codes module with five type-narrowed guards plus exhaustive- match helper, and CODESPAR_BASE_URL env-var resolution. @codespar/types jumps 0.7.0 -> 0.10.0 (skipping 0.8.0 and 0.9.0) deliberately so all three packages share a single release version and reviewers do not have to keep three numbers in their head. The @codespar/types 0.10.0 entry documents the new MockObject / MockValue aliases and the widened CreateSessionRequest. The Python User-Agent and __version__ constants are bumped in lockstep, and scripts/publish.sh has its version constants and bundled release notes updated so a subsequent bash scripts/publish.sh ships these exact values. No functional code changes — release prep only.
… cli Workspace cross-deps were pinned to ^0.9.0, which excludes 0.10.0 under caret-on-0.x semver, so npm fetched a nested copy into packages/cli/node_modules/@codespar/* and the lockfile drift CI guard fired. Bumping the dep range in 13 packages (12 framework adapters + cli) lets npm resolve via the workspace symlink. peerDependencies remain '*' since they're satisfied by any workspace version. CLI templates pin ^0.2.0 (scaffolded into user projects, not workspace internals) and are unchanged.
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.
Release prep for the hosted-test-mode SDK surface that landed in #54. Aligns the three publishable packages at
0.10.0so versions match each other (one number, not three).Versions
@codespar/types0.7.00.10.0@codespar/sdk0.9.00.10.0codespar(Python)0.9.00.10.0@codespar/typesskips0.8.0/0.9.0deliberately — nothing external pinned to those, and the alignment is worth the gap.Released content
@codespar/types@0.10.0— mock-shape type exports (MockObject,MockValue).@codespar/sdk@0.10.0:session.send({ mocks })field — forwarded verbatim to the runtimeCodesparApiErrortyped error envelopetool-result-codesmodule withisPolicyDenied,isApprovalRequired,isMocksExhausted,isMocksEngineError,isToolNotMocked,ToolResultCode,assertExhaustiveToolResultCODESPAR_BASE_URLenv-var resolution at client construction@codespar/typesdep bumped to^0.10.0codespar@0.10.0(Python) — Python lockstep of the SDK additions:session.send(mocks=...)forwarding,CodesparApiErrorexception,tool_result_codesguards,CODESPAR_BASE_URLresolution, User-Agent tocodespar-python/0.10.0, wire-parity fixture attests/_fixtures/mocks_canonical.json.Workspace dep-range alignment
13 packages (CLI + 12 framework adapters) pinned
dependencies."@codespar/sdk": "^0.9.0". Caret-on-0.x excludes0.10.0, so npm was installing a nested SDK copy intopackages/cli/node_modules/@codespar/*instead of resolving via the workspace symlink — which the repo's lockfile-drift check rejects. Bumped each to^0.10.0. The adapters themselves are not republished by this PR; only the workspace's internal resolution changes.peerDependenciesstays"*". CLI templates keep^0.2.0(scaffolded into user projects, not workspace internals).Publishing after merge
The
v0.10.0tag triggers.github/workflows/publish.yml, which publishes the bumped packages and skips already-published ones. The release event triggers.github/workflows/publish-python.yml, which publishes via PyPI trusted publishing (OIDC). No local credentials required.