# 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.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]

## [0.11.8](https://github.com/donbader/anyclaw/compare/anyclaw-sdk-types-v0.11.7...anyclaw-sdk-types-v0.11.8) - 2026-05-17

### Added

- add foundation types for three-plane architecture (Phase 0) ([#701](https://github.com/donbader/anyclaw/pull/701))

## [0.11.7](https://github.com/donbader/anyclaw/compare/anyclaw-sdk-types-v0.11.6...anyclaw-sdk-types-v0.11.7) - 2026-05-16

### Fixed

- resolve media:// URIs in ResourceLink (file) blocks before sending to agents ([#675](https://github.com/donbader/anyclaw/pull/675))

## [0.11.6](https://github.com/donbader/anyclaw/compare/anyclaw-sdk-types-v0.11.5...anyclaw-sdk-types-v0.11.6) - 2026-05-08

### Added

- add CancelPermission protocol for approval lifecycle cleanup ([#522](https://github.com/donbader/anyclaw/pull/522))

## [0.11.5](https://github.com/donbader/anyclaw/compare/anyclaw-sdk-types-v0.11.4...anyclaw-sdk-types-v0.11.5) - 2026-05-07

### Added

- add video and animation media types for Telegram rendering

## [0.11.4](https://github.com/donbader/anyclaw/compare/anyclaw-sdk-types-v0.11.3...anyclaw-sdk-types-v0.11.4) - 2026-05-07

### Fixed

- use typed SessionUpdateType deserialization in ContentKind::from_content

## [0.11.3](https://github.com/donbader/anyclaw/compare/anyclaw-sdk-types-v0.11.2...anyclaw-sdk-types-v0.11.3) - 2026-05-06

### Fixed

- validate SessionKey components and fix colon-based access control bypass ([#456](https://github.com/donbader/anyclaw/pull/456))

## [0.11.2](https://github.com/donbader/anyclaw/compare/anyclaw-sdk-types-v0.11.1...anyclaw-sdk-types-v0.11.2) - 2026-05-06

### Fixed

- low-priority code cleanups (dead code, overflow, timestamps, version) ([#445](https://github.com/donbader/anyclaw/pull/445))
- preserve inline base64 image data in content_block_to_part ([#443](https://github.com/donbader/anyclaw/pull/443))

## [0.11.1](https://github.com/donbader/anyclaw/compare/anyclaw-sdk-types-v0.11.0...anyclaw-sdk-types-v0.11.1) - 2026-05-04

### Other

- remove 46 low-value sdk-types and core unit tests ([#316](https://github.com/donbader/anyclaw/pull/316))

## [0.11.0](https://github.com/donbader/anyclaw/compare/anyclaw-sdk-types-v0.10.3...anyclaw-sdk-types-v0.11.0) - 2026-04-29

### Added

- enrich permission descriptions with kind, path, and input context ([#234](https://github.com/donbader/anyclaw/pull/234))

## [0.10.3](https://github.com/donbader/anyclaw/compare/anyclaw-sdk-types-v0.10.2...anyclaw-sdk-types-v0.10.3) - 2026-04-28

### Fixed

- prevent orphan turn state and drain race in prompt completion ([#207](https://github.com/donbader/anyclaw/pull/207))

## [0.10.2](https://github.com/donbader/anyclaw/compare/anyclaw-sdk-types-v0.10.1...anyclaw-sdk-types-v0.10.2) - 2026-04-26

### Other

- promote Gateway to Orchestrator with Service trait ([#187](https://github.com/donbader/anyclaw/pull/187))

## [0.10.1](https://github.com/donbader/anyclaw/compare/anyclaw-sdk-types-v0.10.0...anyclaw-sdk-types-v0.10.1) - 2026-04-26

### Other

- update Cargo.toml dependencies

## [0.10.0](https://github.com/donbader/anyclaw/compare/anyclaw-sdk-types-v0.9.1...anyclaw-sdk-types-v0.10.0) - 2026-04-20

### Added

- add ACP SDK foundation for spec compliance migration ([#98](https://github.com/donbader/anyclaw/pull/98))

## [0.9.1](https://github.com/donbader/anyclaw/compare/anyclaw-sdk-types-v0.9.0...anyclaw-sdk-types-v0.9.1) - 2026-04-19

### Other

- improve test coverage and enforce rstest consistency ([#93](https://github.com/donbader/anyclaw/pull/93))

## [0.9.0](https://github.com/donbader/anyclaw/compare/anyclaw-sdk-types-v0.8.2...anyclaw-sdk-types-v0.9.0) - 2026-04-19

### Added

- add SenderInfo and was_mentioned to ChannelSendMessage ([#83](https://github.com/donbader/anyclaw/pull/83))

## [0.8.2](https://github.com/donbader/anyclaw/compare/anyclaw-sdk-types-v0.8.1...anyclaw-sdk-types-v0.8.2) - 2026-04-18

### Fixed

- discard stale ToolCallUpdate events and surface agent errors to channels ([#61](https://github.com/donbader/anyclaw/pull/61))

## [0.8.1](https://github.com/donbader/anyclaw/compare/anyclaw-sdk-types-v0.8.0...anyclaw-sdk-types-v0.8.1) - 2026-04-17

### Added

- handle media messages in telegram channel ([#49](https://github.com/donbader/anyclaw/pull/49))

## [0.8.0](https://github.com/donbader/anyclaw/compare/anyclaw-sdk-types-v0.7.0...anyclaw-sdk-types-v0.8.0) - 2026-04-17

### Added

- rich reply context with sender attribution, partial quotes, and media placeholders ([#46](https://github.com/donbader/anyclaw/pull/46))

## [0.7.0](https://github.com/donbader/anyclaw/compare/anyclaw-sdk-types-v0.6.1...anyclaw-sdk-types-v0.7.0) - 2026-04-17

### Added

- rich media delivery, reply/thread context, and agent-initiated push ([#33](https://github.com/donbader/anyclaw/pull/33))

## [0.6.1](https://github.com/donbader/anyclaw/compare/anyclaw-sdk-types-v0.6.0...anyclaw-sdk-types-v0.6.1) - 2026-04-16

### Other

- expand SDK crate READMEs with examples and quick start
- update AGENTS.md files for queue migration and /cancel
- copy SessionQueue to agents, add ChannelEvent::DispatchStarted

## [0.6.0](https://github.com/donbader/anyclaw/compare/anyclaw-sdk-types-v0.5.2...anyclaw-sdk-types-v0.6.0) - 2026-04-16

### Added

- *(acp)* align with official ACP spec — add StopReason and PromptResponse
- *(sdk)* extensions report defaults via initialize response

### Fixed

- setup chmod properly
- *(telegram)* show ❌ reaction when agent result is an error

## [0.5.2](https://github.com/donbader/anyclaw/compare/anyclaw-sdk-types-v0.5.1...anyclaw-sdk-types-v0.5.2) - 2026-04-15

### Other

- *(04-02)* add round-trip serde tests for all sdk-types wire types

## [0.5.1](https://github.com/donbader/anyclaw/compare/anyclaw-sdk-types-v0.5.0...anyclaw-sdk-types-v0.5.1) - 2026-04-14

### Added

- *(02-01)* type channel_event.rs, update lib.rs allows, fix downstream
- *(02-01)* type acp.rs — replace Value fields with typed structs

### Fixed

- *(01-02)* resolve all clippy warnings across workspace

### Other

- *(01-01)* propagate lint inheritance to all 19 workspace crates

## [0.5.0](https://github.com/donbader/anyclaw/compare/anyclaw-sdk-types-v0.4.0...anyclaw-sdk-types-v0.5.0) - 2026-04-14

### Fixed

- *(sdk-types)* read availableCommands instead of commands from wire format
- use official ACP schema types for agent capabilities

### Other

- add agent-client-protocol-schema v0.11

## [0.4.0](https://github.com/donbader/anyclaw/compare/anyclaw-sdk-types-v0.3.0...anyclaw-sdk-types-v0.4.0) - 2026-04-13

### Added

- *(config)* [**breaking**] replace args field with StringOrArray, update Example 02 for direct ACP spawn

### Fixed

- *(agents)* handle OpenCode permission request schema mismatch

### Other

- *(sdk-types)* add missing field-level doc comments to ACP wire types

## [0.3.0](https://github.com/donbader/anyclaw/compare/anyclaw-sdk-types-v0.2.3...anyclaw-sdk-types-v0.3.0) - 2026-04-12

### Added

- *(sdk)* mark public enums non_exhaustive and document API stability
- *(sdk-types,telegram)* add ContentKind::AvailableCommandsUpdate and Telegram setMyCommands

### Other

- *(acp)* document extension types and clean agent-specific references
- update AGENTS.md with v0.3.0 Phase 80 changes

## [0.2.3](https://github.com/donbader/anyclaw/compare/anyclaw-sdk-types-v0.2.2...anyclaw-sdk-types-v0.2.3) - 2026-04-12

### Other

- fix trailing whitespace in test modules

## [0.2.2](https://github.com/donbader/anyclaw/compare/anyclaw-sdk-types-v0.2.1...anyclaw-sdk-types-v0.2.2) - 2026-04-12

### Fixed

- remove unused rstest imports across workspace (43 files)

## [0.2.1](https://github.com/donbader/anyclaw/compare/anyclaw-sdk-types-v0.2.0...anyclaw-sdk-types-v0.2.1) - 2026-04-12

### Other

- add missing_docs lint and doc comments to all SDK crates
