Skip to content

Commit 1dda18d

Browse files
authored
Merge pull request #170 from microsoft/connor4312/0.2.0
prep packages for 0.2.0 publish
2 parents 380f213 + 189bd35 commit 1dda18d

11 files changed

Lines changed: 60 additions & 75 deletions

File tree

‎CHANGELOG.md‎

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,7 @@ changes accumulate. Track in-flight protocol changes via PRs touching
2323
`NOTIFICATION_INTRODUCED_IN` maps in
2424
[`types/version/registry.ts`](types/version/registry.ts).
2525

26-
### Added
27-
- `UserMessage._meta` optional `Record<string, unknown>` field for
28-
provider-specific message metadata, mirroring the MCP `_meta` convention
29-
already used on `MessageAttachmentBase`, `ToolDefinition`, `ToolCallBase`,
30-
`UsageInfo`, and `SessionState`.
31-
32-
## [0.2.0] — Unreleased
26+
## [0.2.0] — 2026-05-28
3327

3428
Spec version: `0.2.0`
3529

@@ -57,6 +51,10 @@ commits between `spec/v0.1.0` (not yet tagged) and `spec/v0.2.0`. Highlights:
5751
- The entire content-bearing `resource*` family is now formally
5852
bidirectional — the methods appear in `ServerCommandMap` and may be
5953
initiated by either peer (matches VS Code's existing implementation).
54+
- `UserMessage._meta` optional `Record<string, unknown>` field for
55+
provider-specific message metadata, mirroring the MCP `_meta` convention
56+
already used on `MessageAttachmentBase`, `ToolDefinition`, `ToolCallBase`,
57+
`UsageInfo`, and `SessionState`.
6058

6159
## [0.1.0] — Pre-tagging
6260

‎clients/go/CHANGELOG.md‎

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -14,26 +14,26 @@ tag whose matching `## [X.Y.Z]` heading is missing from this file.
1414

1515
## [Unreleased]
1616

17-
- Wire types for the extended `resource*` family: `resourceResolve`,
18-
`resourceMkdir`, `createResourceWatch`, and the new `ahp-resource-watch:/`
19-
channel with the `resourceWatch/changed` action. `ResourceWriteParams`
20-
gains `mode` / `position` / `ifMatch`. New `Conflict` (`-32011`) error
21-
code. The whole content-bearing `resource*` family is now bidirectional
22-
(it appears in both `CommandMap` and `ServerCommandMap`).
23-
- `UserMessage._meta` optional map field, generated as
24-
`Map[string]json.RawMessage`, exposing the new spec-level provider
25-
metadata channel on user messages.
26-
## [0.1.0]
17+
## [0.1.0] — 2026-05-28
2718

2819
Implements AHP `0.2.0`.
2920

3021
First published version of the Go module. Includes:
3122

32-
- `ahptypes` — generated wire types from `types/*.ts`. Structs use Go
23+
- `ahptypes` — generated wire types from `types/*.ts`, including the
24+
extended `resource*` family (`resourceResolve`, `resourceMkdir`,
25+
`createResourceWatch`, the new `ahp-resource-watch:/` channel with the
26+
`resourceWatch/changed` action), `ResourceWriteParams`'s `mode` /
27+
`position` / `ifMatch` fields, the new `Conflict` (`-32011`) error code,
28+
and the bidirectional content-bearing `resource*` surface exposed on
29+
both `CommandMap` and `ServerCommandMap`. Structs use Go
3330
JSON struct tags that preserve the canonical camelCase wire names;
3431
discriminated unions are concrete wrapper structs that round-trip via
3532
custom `MarshalJSON` / `UnmarshalJSON`; bitset enums are typed `uint32`
3633
with named flag constants and helpers.
34+
- `UserMessage._meta` optional map field, generated as
35+
`Map[string]json.RawMessage`, exposing the new spec-level provider
36+
metadata channel on user messages.
3737
- `ahp` — async `Client` driven by a pluggable `Transport`, pure
3838
`ApplyActionToRoot` / `ApplyActionToSession` / `ApplyActionToTerminal`
3939
/ `ApplyActionToChangeset` reducers, `MultiHostClient` runtime under

‎clients/kotlin/CHANGELOG.md‎

Lines changed: 10 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -15,29 +15,20 @@ versions (`*-SNAPSHOT`) are explicitly rejected by the publish pipeline; bump
1515

1616
## [Unreleased]
1717

18-
Implements AHP `0.2.0`.
19-
20-
`gradle.properties` currently pins `VERSION_NAME=0.2.0-SNAPSHOT`. Drop the
21-
`-SNAPSHOT` suffix and bump as appropriate before tagging the first release.
22-
23-
- Wire types for the extended `resource*` family: `resourceResolve`,
24-
`resourceMkdir`, `createResourceWatch`, and the new `ahp-resource-watch:/`
25-
channel with the `resourceWatch/changed` action. `ResourceWriteParams`
26-
gains `mode` / `position` / `ifMatch`. New `Conflict` (`-32011`) error
27-
code. The whole content-bearing `resource*` family is now bidirectional
28-
(it appears in both `CommandMap` and `ServerCommandMap`).
29-
- `UserMessage.meta` optional `Map<String, JsonElement>?` field (serialized as
30-
`_meta`), exposing the new spec-level provider metadata channel on user
31-
messages.
32-
## [0.2.0] — Unreleased
18+
## [0.2.0] — 2026-05-28
3319

3420
Implements AHP `0.2.0`.
3521

3622
First Maven Central release of the Kotlin/JVM client (`com.microsoft.agenthostprotocol:agent-host-protocol`).
3723
Includes:
3824

3925
- Wire types generated from the canonical TypeScript protocol definitions in
40-
`types/`.
26+
`types/`, including the extended `resource*` family (`resourceResolve`,
27+
`resourceMkdir`, `createResourceWatch`, the new `ahp-resource-watch:/`
28+
channel with the `resourceWatch/changed` action), `ResourceWriteParams`'s
29+
`mode` / `position` / `ifMatch` fields, and the new `Conflict` (`-32011`)
30+
error code. The whole content-bearing `resource*` family is bidirectional
31+
(it appears in both `CommandMap` and `ServerCommandMap`).
4132
- `com.microsoft.agenthostprotocol.Ahp.json` — pre-configured
4233
`kotlinx.serialization.json.Json` instance suitable for AHP encoding /
4334
decoding.
@@ -47,5 +38,8 @@ Includes:
4738
raw JSON envelope), so a client built against this version round-trips and
4839
reducer-processes wire payloads emitted by a server speaking a newer
4940
protocol version without throwing.
41+
- `UserMessage.meta` optional `Map<String, JsonElement>?` field (serialized
42+
as `_meta`), exposing the new spec-level provider metadata channel on user
43+
messages.
5044
- Generated `PROTOCOL_VERSION` and `SUPPORTED_PROTOCOL_VERSIONS` constants in
5145
`com.microsoft.agenthostprotocol.generated`.

‎clients/kotlin/gradle.properties‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ kotlin.code.style=official
88
# Maven coordinates — consumed by build.gradle.kts and validated by the
99
# publish workflow against the `kotlin/v*` git tag.
1010
GROUP=com.microsoft.agenthostprotocol
11-
VERSION_NAME=0.2.0-SNAPSHOT
11+
VERSION_NAME=0.2.0
1212
POM_NAME=agent-host-protocol
1313
POM_DESCRIPTION=Kotlin/JVM client for the Agent Host Protocol (AHP)
1414
POM_INCEPTION_YEAR=2026

‎clients/kotlin/release-metadata.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"client": "kotlin",
3-
"packageVersion": "0.2.0-SNAPSHOT",
3+
"packageVersion": "0.2.0",
44
"supportedProtocolVersions": [
55
"0.2.0"
66
]

‎clients/rust/CHANGELOG.md‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,10 @@ matching `## [X.Y.Z]` heading is missing from this file.
1515

1616
## [Unreleased]
1717

18-
Implements AHP `0.2.0`.
18+
## [0.2.0] — 2026-05-28
1919

20-
The in-tree source already supports protocol version `0.2.0` even though the
21-
last published crates are `0.1.0`. The next Rust release will bump the
22-
workspace version to align with the current spec.
20+
Implements AHP `0.2.0`. Bumps the `ahp-types`, `ahp`, and `ahp-ws` crates
21+
together from `0.1.0` to align the workspace with the current spec.
2322

2423
- Wire types for the extended `resource*` family: `resourceResolve`,
2524
`resourceMkdir`, `createResourceWatch`, and the new `ahp-resource-watch:/`
@@ -29,6 +28,7 @@ workspace version to align with the current spec.
2928
(it appears in both `CommandMap` and `ServerCommandMap`).
3029
- `UserMessage.meta` optional `JsonObject` field (serialized as `_meta`),
3130
exposing the new spec-level provider metadata channel on user messages.
31+
3232
## [0.1.0] — 2026-01-01
3333

3434
Implements AHP `0.1.0`.

‎clients/rust/Cargo.lock‎

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎clients/rust/Cargo.toml‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ members = [
77
]
88

99
[workspace.package]
10-
version = "0.1.0"
10+
version = "0.2.0"
1111
edition = "2021"
1212
rust-version = "1.75"
1313
license = "MIT"
@@ -22,5 +22,5 @@ tokio = { version = "1", features = ["sync", "rt", "macros", "time"] }
2222
tokio-util = "0.7"
2323
futures-util = "0.3"
2424
tracing = "0.1"
25-
ahp-types = { path = "crates/ahp-types", version = "0.1.0" }
26-
ahp = { path = "crates/ahp", version = "0.1.0" }
25+
ahp-types = { path = "crates/ahp-types", version = "0.2.0" }
26+
ahp = { path = "crates/ahp", version = "0.2.0" }

‎clients/rust/release-metadata.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"client": "rust",
3-
"packageVersion": "0.1.0",
3+
"packageVersion": "0.2.0",
44
"supportedProtocolVersions": [
55
"0.2.0"
66
]

‎clients/swift/CHANGELOG.md‎

Lines changed: 12 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -17,30 +17,25 @@ the tag matches the version pinned in [`VERSION`](VERSION).
1717

1818
## [Unreleased]
1919

20-
Implements AHP `0.2.0`.
21-
22-
[`VERSION`](VERSION) currently pins `0.2.0`; the first tag-driven Swift
23-
release will use the bare `v0.2.0` tag.
24-
25-
- Wire types for the extended `resource*` family: `resourceResolve`,
26-
`resourceMkdir`, `createResourceWatch`, and the new `ahp-resource-watch:/`
27-
channel with the `resourceWatch/changed` action. `ResourceWriteParams`
28-
gains `mode` / `position` / `ifMatch`. New `Conflict` (`-32011`) error
29-
code. The whole content-bearing `resource*` family is now bidirectional
30-
(it appears in both `CommandMap` and `ServerCommandMap`).
31-
- `UserMessage.meta` optional `[String: AnyCodable]?` field (serialized as
32-
`_meta`), exposing the new spec-level provider metadata channel on user
33-
messages. The generated `init` gains a trailing `meta:` parameter that
34-
defaults to `nil`.
35-
## [0.2.0] — Unreleased
20+
## [0.2.0] — 2026-05-28
3621

3722
Implements AHP `0.2.0`.
3823

3924
First versioned Swift Package Manager release. Includes:
4025

4126
- `AgentHostProtocol` product — generated wire types, actions, commands,
4227
notifications, errors, reducers (`AHPRootReducer`, `AHPSessionReducer`,
43-
`AHPTerminalReducer`, `AHPChangesetReducer`, `NativeReducer`).
28+
`AHPTerminalReducer`, `AHPChangesetReducer`, `NativeReducer`). Includes
29+
the extended `resource*` family (`resourceResolve`, `resourceMkdir`,
30+
`createResourceWatch`, the new `ahp-resource-watch:/` channel with the
31+
`resourceWatch/changed` action), `ResourceWriteParams`'s `mode` /
32+
`position` / `ifMatch` fields, the new `Conflict` (`-32011`) error code,
33+
and the bidirectional content-bearing `resource*` surface exposed on
34+
both `CommandMap` and `ServerCommandMap`.
35+
- `UserMessage.meta` optional `[String: AnyCodable]?` field (serialized as
36+
`_meta`), exposing the new spec-level provider metadata channel on user
37+
messages. The generated `init` gains a trailing `meta:` parameter that
38+
defaults to `nil`.
4439
- `AgentHostProtocolClient` product — single-host `AHPClient`, multi-host
4540
`MultiHostClient`, `AHPStateMirror` / `MultiHostStateMirror`, transports
4641
(`URLSessionWebSocketTransport`, `NWConnectionWebSocketTransport`,

0 commit comments

Comments
 (0)