# Changelog

All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [0.0.4] - 2026-05-04

### Fixed
- Fixed release publishing by supporting npm trusted publishing with an `NPM_TOKEN` fallback.
- Fixed release validation by running frozen Bun installs, tests, and typecheck before publishing.
- Reduced npm consumer installs by marking the pi host package peer dependency optional.

## [0.0.3] - 2026-05-04

### Fixed
- Fixed CI release workflow: added `actions/setup-node` for npm registry auth and a clear error message when `NPM_TOKEN` secret is missing.

## [0.0.2] - 2026-05-04

### Fixed
- Fixed `TypeError: th.fg is not a function` crash on startup caused by pi's `EditorTheme` API change. The editor now receives the full `Theme` object through callbacks for colored label rendering.

## [0.0.1] - 2026-05-03

### Added
- Initial release of pi-queue extension.
- **Queue Mode**: Press `Enter` while working to queue messages for delivery after the full agent run.
- **Steer Mode**: Press `Enter` while working to send steering messages after the current tool batch.
- **Live Widget**: Visual indicator above the editor showing mode, queue count, and queued messages.
- **Queue Manager**: Interactive overlay (`Ctrl+Shift+Q`) for editing, removing, and reordering queued messages.
- **Mode Toggle**: `Ctrl+Shift+M` to switch between queue and steer modes.
- **Smart Escape**: Press `Escape` while working to abort and auto-drain the queue.
- **Commands**: `/queue`, `/queue-mode`, `/queue-clear`.
- **Persistent Mode**: Mode preference survives session restarts.
