clients/go/v0.7.0
microsoft/agent-host-protocolclients/go/v0.7.0Jul 31, 2026by github-actions[bot]
Upgrading?
AI Summary
The Go client implements AHP 0.7.0, adding multiroot session support and capability-gated side chats.
Key Highlights
- Multiroot session support with `immutablePrimary` capability
- Capability-gated side chats with bounded chat transcripts
- Terminal content now includes exit codes and PTY metadata
- New `ToolResultTerminalContent` replaces `ToolResultTerminalCompleteContent`
Breaking Changes
- Removed `ToolResultTerminalCompleteContent`
New Features
- Multiroot working directory management
- Side chat sources with immutable selected-text snapshots
- PTY-backed terminal resource detection
- Convenience methods for completions and session config
Full Release Notes
## [0.7.0] — 2026-07-31 Implements AHP 0.7.0. ### Added - Capability-gated side chats can start from a chat turn and return bounded chat transcripts as message attachments. - Multiroot session support: `AgentCapabilities.multipleWorkingDirectories` capability (with `immutablePrimary`, which pins `workingDirectories[0]` as a fixed primary root that clients MUST NOT remove or reorder), `CreateSessionParams.workingDirectories` and `SessionMetadata.workingDirectories` (equal-peer set, mirrored onto `SessionState`/`SessionSummary`), `CreateChatParams.workingDirectories` and `ChatState`/`ChatSummary.workingDirectories` (a subset of the session's set), and the client-dispatchable `session/workingDirectorySet` / `session/workingDirectoryRemoved` and `chat/workingDirectorySet` / `chat/workingDirectoryRemoved` actions for mutating those sets. (#337) - `Client.Completions()` and `Client.SessionConfigCompletions()` typed wrappers for the `completions` / `sessionConfigCompletions` commands, matching the existing `resource*` convenience methods. (#340) - `result` on `ToolResultTerminalContent` (`exitCode`, `preview`, `truncated`), present once the command exits. (#323) - Optional `isPty` metadata on `ToolResultTerminalContent` and `TerminalState` indicating whether a terminal resource is PTY-backed. (#322) - Side-chat sources and origins can now carry an immutable selected-text snapshot with optional response-part provenance. ### Changed - Side-chat sources and origins now carry stable `turnId` references instead of nested active/completed turn snapshots. - `MessageChatAttachment.endTurn` is optional; hosts pin the latest completed turn when it is omitted, and chat attachments may reference chats in other sessions. - `chat/toolCallReady` may finalize a tool call's provisional contributor and intention without changing client execution ownership. - Final tool input may be inline or a lazy `ContentRef`, and streaming deltas may include partial parameters. ### Removed - `ToolResultTerminalCompleteContent`; command completion data now lives on `ToolResultTerminalContent`. (#322, #323) - Non-standard `resource_encryption_alg_values_supported` and `resource_encryption_enc_values_supported` fields from `ProtectedResourceMetadata`. (#368) ### Fixed - `createChat.source` is once again a fully discriminated union: fork and side-chat sources both require a `kind`, and missing or unknown kinds are rejected. - Restored authentication documentation in the `authenticate` command and `McpAuthRequirement` that a secret-scanner had redacted, including a corrupted `WWW-Authenticate: Bearer scope="…"` header example.
Related Repositories
openclaw/openclaw★ 392,752
The AI that really does things. Any OS. Any Platform. The lobster way. 🦞
nilbuild/developer-roadmap★ 370,119
Interactive roadmaps, guides and other educational content to help developers grow in their careers.
morluto/rea★ 362,995
Reverse engineer anything with agents, from app behavior down to native binaries.
anomalyco/opencode★ 220,004
The open source coding agent.
n8n-io/n8n★ 208,321
Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.