AHP Swift Package v0.8.0
[0.8.0] — 2026-08-17
Implements AHP 0.8.0.
Added
- Optional
_metarequest metadata on all command parameters. ClientPluginCustomizationcan publish child enablement decisions.- Reserve the
x-prefix for implementation-defined channel URI schemes, commands, notifications, and actions. (#367) session/workingDirectoryReplacedatomically replaces a working-directory entry, including a replaceable primary. (#392)
Changed
- Renamed
ResourceReponseParttoResourceResponsePart, correcting a misspelling. The Rust and Go clients already exposed the corrected name via generator-level renames; the TypeScript, Kotlin and Swift clients previously carried the typo, so the type now has one consistent name across all five clients. SessionState.inputNeededentries of kindtoolClientExecutionno longer raiseSessionStatus.InputNeeded. Such an entry is work delegated to a client, not a user prompt, so a session staysInProgresswhile a client tool runs.Customizationenablement now carries scoped host-published provenance, andsession/customizationToggledreplaces its complete decision set.auth/requirednow carries completeProtectedResourceMetadatain its requiredresourcefield.
Fixed
session/workingDirectoryReplacedretains an earlier duplicate replacement so a later replacement cannot move a protected primary, andprimaryReplacementmay accompanyimmutablePrimaryfor safe legacy-client compatibility.