You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 2b43958
Browse filesBrowse the repository at this point in the historyBrowse files
feat(sdk-ts): automate semantic-release for npm publishing (#52)
## Summary
- Migrates TypeScript SDK release automation to `semantic-release` using
the existing workflow file.
- Keeps TS SDK versioning independent from monorepo/Python release tags.
- Enforces commit-prefix-driven bumping for `sdk-ts` scope.
- Adds TS release runbook/policy docs and changelog file.
## Scope
- User-facing/API changes:
- TS npm package release process is now semantic-release-driven.
- TS release tags use `ts-sdk-vX.Y.Z`.
- Internal changes:
- Updated existing workflow: `.github/workflows/release-sdk-ts.yml`.
- Added `sdks/typescript/release.config.cjs`.
- Added semantic-release scripts/deps in `sdks/typescript/package.json`
and lockfile updates.
- Added `sdks/typescript/CHANGELOG.md`.
- Added `sdk-ts` scope in PR title validator.
- Out of scope:
- Python semantic-release changes.
- Server/OpenAPI architecture changes.
## Risk and Rollout
- Risk level: medium
- Rollout plan:
- Merge this PR to `main`.
- Run `Release TypeScript SDK` workflow once with `dry_run=true` on
`main`.
- Run again with `dry_run=false` on `main` to publish.
- Rollback plan:
- Revert this PR and re-run existing manual publish path.
## Publishing 0.2.0 Test Status
- New workflow validated successfully on branch in both modes:
- dry run:
https://github.com/agentcontrol/agent-control/actions/runs/22649229718
- publish-mode dispatch:
https://github.com/agentcontrol/agent-control/actions/runs/22649269871
- `semantic-release` correctly skipped publish on branch `lev/ts-semver`
because release branch is `main`.
- Actual `0.2.0` publish test must be run from `main` after merge.
## Testing
- [ ] Added or updated automated tests
- [ ] Ran `make check` (or explained why not)
- [x] Manually verified behavior
Notes:
- Did not add new test files; this change is workflow/config/docs
focused.
- Ran `make sdk-ts-release-check` locally.
- Ran workflow dry-run and publish-mode dispatch on PR branch to
validate execution path.
## Checklist
- [x] Linked issue/spec (if applicable)
- [x] Updated docs/examples for user-facing changes
- [x] Included any required follow-up tasks
Links:
- Parent story:
https://app.shortcut.com/galileo/story/55974/define-typescript-sdk-semver-policy-and-release-alignment
- Implementation subtask:
https://app.shortcut.com/galileo/story/57429/implement-independent-commitdriven-semanticrelease-for-typescript-sdk
0 commit comments