Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 26 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 <version>`, 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
Expand Down
12 changes: 6 additions & 6 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
5 changes: 3 additions & 2 deletions crates/cli/src/init/migrate.rs
Original file line number Diff line number Diff line change
Expand Up @@ -466,7 +466,7 @@ pub fn registry() -> Vec<Migration> {
},
Migration {
id: TOOL_DETAILS_MIGRATION,
since: "next",
since: "0.45.0",
kind: Kind::Idempotent,
scope: Scope::Consent {
check: tool_details_pending,
Expand Down Expand Up @@ -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 {
Expand Down
4 changes: 2 additions & 2 deletions docs/guides/00-install.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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.

Expand Down
4 changes: 2 additions & 2 deletions plugins/playbook/.claude-plugin/plugin.json
Original file line number Diff line number Diff line change
@@ -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": {
Expand Down
Loading