microsoft/agent-host-protocol v0.3.0
microsoft/agent-host-protocol
Captured source
source ↗AHP Swift Package v0.3.0
Repository: microsoft/agent-host-protocol
Tag: v0.3.0
Published: 2026-06-06T14:59:12Z
Prerelease: no
Release notes:
[0.3.0] — 2026-06-05
Implements AHP 0.3.0.
Added
McpServerCustomizationnow exposes the full MCP lifecycle:enabled,
the discriminated McpServerState enum (.starting/.ready/.authRequired/.error/.stopped), optional channel URI for the mcp:// side-channel, and optional mcpApp block carrying AhpMcpUiHostCapabilities for MCP Apps.
McpServerAuthRequiredStatecarriesProtectedResourceMetadata
plus reason / requiredScopes / description so the existing authenticate command can drive per-server auth.
Customization.mcpServertop-level case — hosts MAY surface bare
MCP servers directly rather than only inside a plugin or directory.
SessionMcpServerStateChangedActionand matching reducer arm —
narrow upsert of state + channel on an existing MCP server customization by id. Wired through both Reducers.swift and the protocol-based NativeReducer.swift.
ClientCapabilitiesstruct onInitializeParams.capabilitieswith
first entry mcpApps.
changeKindfield onChangeset(well-known values:'session',
'branch', 'uncommitted', 'turn', 'compare-turns').
statusanderrorfields onChangesetOperationand the
changeset/operationStatusChanged action, tracking the idle → running → error lifecycle of a changeset operation.
AgentCustomization._metaprovider metadata field.- Optional
changesfield onSessionSummary(ChangesSummarywith optionaladditions,deletions, andfilescounts) summarising a session's file-change footprint.
Changed
- Renamed the
ChangesetSummarytype toChangeset. The on-the-wire shape is unchanged. - Moved the
changesetscatalogue fromSessionSummarytoSessionState. Thesession/changesetsChangedaction now updatesstate.changesetsdirectly instead ofstate.summary.changesets.
Removed
- Removed the
additions,deletions, andfilesfields fromChangesetSummary. Aggregate counts now live onSessionSummary.changes; per-changeset views derive their own totals fromChangesetState.files.
Changed
ToolCallBase.toolClientId: String?replaced by
ToolCallBase.contributor: ToolCallContributor? (enum with .client(ToolCallClientContributor) and .mcp(ToolCallMcpContributor) cases). SessionToolCallStartAction carries the new contributor field as well. Reducers.swift, NativeReducer.swift, and ToolCallStateExtensions.swift follow the rename.
Notability
notability 5.0/10A notable protocol release from Microsoft but lacks strong traction indicators.