diff --git a/CHANGELOG.md b/CHANGELOG.md index acd2c9fa8..0966e33ba 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,32 @@ Release notes for playbook: the binary and the plugin in `plugins/playbook`. From 0.34.0 they ship together as one `vX.Y.Z` release with one version ([ADR-0038](docs/adr/0038-one-release-line.md)). Each release has a section named `## playbook `, newest first, which the release pull request adds from the notes that `scripts/release-notes.sh` builds. The sections from 0.33.0 down are plugin releases from before the two lines joined. The binary skips 0.27 to 0.33: it goes from 0.26 to 0.34.0. +## playbook 0.45.0 + +### Features + +- **pbtop**: shorten the key hints and make r cycle the range ([#1865](https://github.com/AmplifiedEngineer/playbook/pull/1865)) +- **telemetry**: price models from an embedded LiteLLM price list ([#1869](https://github.com/AmplifiedEngineer/playbook/pull/1869)) +- **telemetry**: refresh the price list once a day ([#1870](https://github.com/AmplifiedEngineer/playbook/pull/1870)) +- **telemetry**: use telemetry cost per request, estimate the rest ([#1871](https://github.com/AmplifiedEngineer/playbook/pull/1871)) +- **telemetry**: mark estimated cost, name unpriced models ([#1872](https://github.com/AmplifiedEngineer/playbook/pull/1872)) +- **telemetry**: ask to show real plugin skill names in pbtop ([#1879](https://github.com/AmplifiedEngineer/playbook/pull/1879)) + +### Fixes + +- **pbtop**: fill the burn-up area solid like btop ([#1863](https://github.com/AmplifiedEngineer/playbook/pull/1863)) +- **pbtop**: keep bars and gaps equal and add axis steps ([#1864](https://github.com/AmplifiedEngineer/playbook/pull/1864)) +- **pbtop**: fix the empty-range hint and document schema 6 ([#1873](https://github.com/AmplifiedEngineer/playbook/pull/1873)) +- **pbtop**: drop the at sign from a masked account ([#1874](https://github.com/AmplifiedEngineer/playbook/pull/1874)) +- **pbtop**: focus the first chart panel on a fresh start ([#1875](https://github.com/AmplifiedEngineer/playbook/pull/1875)) +- **test**: stop watch and doc\_read tests failing under load ([#1877](https://github.com/AmplifiedEngineer/playbook/pull/1877)) +- **telemetry**: drop skill, tool and agent names that look like paths ([#1878](https://github.com/AmplifiedEngineer/playbook/pull/1878)) + +### Other changes + +- docs(pbtop): fill the README screenshot with a full month of sample data ([#1789](https://github.com/AmplifiedEngineer/playbook/pull/1789)) +- chore(plugin): remove the session-handoff alias ([#1876](https://github.com/AmplifiedEngineer/playbook/pull/1876)) + ## playbook 0.44.0 ### Breaking changes diff --git a/Cargo.lock b/Cargo.lock index 96ff0ef2b..758196c13 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -337,7 +337,7 @@ checksum = "1c133bc6a41be0d194c306b5506d15e6feeea7b1d6604bd3f8310dfb2ca96486" [[package]] name = "code-bench" -version = "0.44.0" +version = "0.45.0" dependencies = [ "playbook-common", "serde", @@ -1256,7 +1256,7 @@ dependencies = [ [[package]] name = "pbdoc" -version = "0.44.0" +version = "0.45.0" dependencies = [ "anydoc", "rayon", @@ -1266,7 +1266,7 @@ dependencies = [ [[package]] name = "pbsync" -version = "0.44.0" +version = "0.45.0" dependencies = [ "playbook-common", "playbook-data", @@ -1315,7 +1315,7 @@ checksum = "f6b464fbc74e149a392436b17d523f769e057cb6877f6a5c4618bc6f11800548" [[package]] name = "playbook" -version = "0.44.0" +version = "0.45.0" dependencies = [ "chrono", "clap", @@ -1336,7 +1336,7 @@ dependencies = [ [[package]] name = "playbook-code" -version = "0.44.0" +version = "0.45.0" dependencies = [ "clap", "insta", @@ -1387,7 +1387,7 @@ dependencies = [ [[package]] name = "playbook-telemetry" -version = "0.44.0" +version = "0.45.0" dependencies = [ "chrono", "clap", diff --git a/Cargo.toml b/Cargo.toml index 02a2d4726..658a2c2bf 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -6,7 +6,7 @@ resolver = "2" members = ["crates/cli", "crates/code", "crates/code-bench", "crates/common", "crates/data", "crates/pbdoc", "crates/pbsync", "crates/plugin-checks", "crates/store", "crates/telemetry"] [workspace.package] -version = "0.44.0" +version = "0.45.0" edition = "2021" license = "Apache-2.0" diff --git a/README.md b/README.md index ec3d7e19f..efc64d9eb 100644 --- a/README.md +++ b/README.md @@ -38,7 +38,7 @@ Use the full name, which trusts only this formula. With no Homebrew, run the ins curl -fsSL https://raw.githubusercontent.com/amplifiedengineer/playbook/main/install.sh | bash ``` -Pin a version with `PLAYBOOK_REF=v0.44.0`. Nix, Windows, the plugin on its own and every other route are in the [install guide](docs/guides/00-install.md). Coming from the old org or tap name? See [Moving from the old tap name](docs/guides/00-install.md#moving-from-the-old-tap-name). +Pin a version with `PLAYBOOK_REF=v0.45.0`. Nix, Windows, the plugin on its own and every other route are in the [install guide](docs/guides/00-install.md). Coming from the old org or tap name? See [Moving from the old tap name](docs/guides/00-install.md#moving-from-the-old-tap-name). ## First use diff --git a/crates/cli/src/init/migrate.rs b/crates/cli/src/init/migrate.rs index b4c4ba8a1..4aec96a93 100644 --- a/crates/cli/src/init/migrate.rs +++ b/crates/cli/src/init/migrate.rs @@ -466,7 +466,7 @@ pub fn registry() -> Vec { }, Migration { id: TOOL_DETAILS_MIGRATION, - since: "next", + since: "0.45.0", kind: Kind::Idempotent, scope: Scope::Consent { check: tool_details_pending, @@ -2953,7 +2953,8 @@ mod tests { assert!(matches!(outcome, Outcome::Quiet)); assert_eq!(snapshot(&h), before); - assert_eq!(entry.since(), Since::Next); + // `next` on main; release-prepare.sh fills in the version on the release branch. + assert!(matches!(entry.since(), Since::Next | Since::At(_))); } fn with_since(id: &'static str, since: &'static str) -> Migration { diff --git a/docs/guides/00-install.md b/docs/guides/00-install.md index 515d4269a..9c237cfa9 100644 --- a/docs/guides/00-install.md +++ b/docs/guides/00-install.md @@ -146,7 +146,7 @@ Pass `--yes` to say yes to every question, including `playbook setup`. Flags go Pin a version with `PLAYBOOK_REF`: ```bash -curl -fsSL https://raw.githubusercontent.com/amplifiedengineer/playbook/main/install.sh | PLAYBOOK_REF=v0.44.0 bash +curl -fsSL https://raw.githubusercontent.com/amplifiedengineer/playbook/main/install.sh | PLAYBOOK_REF=v0.45.0 bash ``` A release tag installs that release. A branch or commit is refused, because it has no published binary. @@ -176,7 +176,7 @@ The `pbtop` formula conflicts with the `playbook` formula, because `playbook` ow A `pbtop` from another source can fall behind `playbook`, for example the install script or an older install next to a newer `playbook`. `playbook doctor check` then prints a WARN row with the version, the path and the command that fixes it. The first command after an upgrade by Homebrew, the install script or a manual download adds the same hint under the "playbook updated from A to B" line, once. When a Claude Code session starts first, its hook takes that line and only `playbook doctor check` shows the hint. The check runs `pbtop --version`, and only in those two places: never in a hook or the status line. -`install-pbtop.sh` needs `bash` and `curl`. It downloads `install.sh` from `main` and runs it in its pbtop mode, which checks the archive like the `playbook` binary (its line in `SHA256SUMS`, the build attestation when `gh` can check it, and `pbtop --version`), installs `pbtop` into `PLAYBOOK_BIN_DIR` (default `~/.local/bin`) and puts that folder on `PATH`. It runs nothing else. To pin a release, set `PLAYBOOK_REF` for `sh`, as in `curl -fsSL .../install-pbtop.sh | PLAYBOOK_REF=v0.44.0 sh`. On a release before 0.35.0 it stops, because those have no `pbtop` archive. The old `install.sh --pbtop` still works for one more release and points to `install-pbtop.sh`. +`install-pbtop.sh` needs `bash` and `curl`. It downloads `install.sh` from `main` and runs it in its pbtop mode, which checks the archive like the `playbook` binary (its line in `SHA256SUMS`, the build attestation when `gh` can check it, and `pbtop --version`), installs `pbtop` into `PLAYBOOK_BIN_DIR` (default `~/.local/bin`) and puts that folder on `PATH`. It runs nothing else. To pin a release, set `PLAYBOOK_REF` for `sh`, as in `curl -fsSL .../install-pbtop.sh | PLAYBOOK_REF=v0.45.0 sh`. On a release before 0.35.0 it stops, because those have no `pbtop` archive. The old `install.sh --pbtop` still works for one more release and points to `install-pbtop.sh`. Then run `pbtop`. The [pbtop page](../pbtop.md) covers the flags, the views, the keys and where the data lives. The [crate README](../../crates/telemetry/README.md) covers `cargo` builds. diff --git a/plugins/playbook/.claude-plugin/plugin.json b/plugins/playbook/.claude-plugin/plugin.json index 4074cb84a..cc9d2263c 100644 --- a/plugins/playbook/.claude-plugin/plugin.json +++ b/plugins/playbook/.claude-plugin/plugin.json @@ -1,9 +1,9 @@ { "name": "playbook", "displayName": "Playbook", - "version": "0.44.0", + "version": "0.45.0", "metadata": { - "minBinaryVersion": "0.44.0" + "minBinaryVersion": "0.45.0" }, "description": "A pragmatic Claude Code toolkit: opinionated skills, slash commands and subagents for planning, review, memory, and guarded editing.", "author": {