mirror of
https://github.com/cline/cline.git
synced 2026-09-21 05:10:09 +08:00
* docs(cli): release the SDK before the CLI in the publish-cli skill Add a Step 0 to the publish-cli skill that gates a CLI release on an SDK release when the SDK changed since its last release, and relocate the publish-cli skill to the repo root. Why release the SDK alongside the CLI: the CLI bundles the SDK source via workspace:*, so the CLI always ships the latest SDK code, but the hub daemon stamps a buildId that defaults to the @cline/core version and a running hub is only respawned when that buildId changes. Bumping the SDK version forces a stale hub to be retired and respawned with the new code. It also keeps SDK releases on a regular cadence in step with the CLI. Step 0 covers detecting unreleased sdk/packages changes, bumping the shared SDK version + llms CHANGELOG, committing to main, kicking off sdk-publish.yml on the latest channel, and waiting for it before cutting the CLI release. Also fixes the now-stale working-directory note (commands run from the repo root, not sdk/) and updates the DEVELOPMENT.md path. * chore: move opentui skill to repo root Relocate the opentui TUI skill from apps/cli to the repo root, matching the real-dir + symlink convention used by the other root skills (real dir in .agents/skills, symlink from .claude/skills). * docs(sdk): reformat the SDK changelog and move it to sdk/CHANGELOG.md The changelog covers all SDK packages (they share one version and release together), so move it from sdk/packages/llms/ to the SDK root, parallel to apps/cli/CHANGELOG.md. Reformat to match the CLI changelog: a titled header with flat, version-only sections, newest on top, no dates, and no Next Release bucket. The unreleased entry that bucket held is captured from commits when the next SDK release is drafted. Update the publish-cli skill to draft SDK notes from commits and prepend a ## <version> section at sdk/CHANGELOG.md.