All notable changes to the Go client module are documented here. See
../../CHANGELOG.md for the protocol spec
changelog and release-metadata.json for the
machine-readable mapping between the current source tree and protocol
versions.
The format is based on Keep a Changelog and the module follows SemVer.
The publish-go.yml workflow refuses to publish a clients/go/vX.Y.Z
tag whose matching ## [X.Y.Z] heading is missing from this file.
statusanderrorfields onChangesetOperationand thechangeset/operationStatusChangedaction, tracking theidle → running → errorlifecycle of a changeset operation.AgentCustomization._metaprovider metadata field.- Optional
changesfield onSessionSummary(ChangesSummarywith optionaladditions,deletions, andfilescounts) summarising a session's file-change footprint.
- 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 the
additions,deletions, andfilesfields fromChangesetSummary. Aggregate counts now live onSessionSummary.changes; per-changeset views derive their own totals fromChangesetState.files.
Implements AHP 0.2.0.
First published version of the Go module. Includes:
ahptypes— generated wire types fromtypes/*.ts, including the extendedresource*family (resourceResolve,resourceMkdir,createResourceWatch, the newahp-resource-watch:/channel with theresourceWatch/changedaction),ResourceWriteParams'smode/position/ifMatchfields, the newConflict(-32011) error code, and the bidirectional content-bearingresource*surface exposed on bothCommandMapandServerCommandMap. Structs use Go JSON struct tags that preserve the canonical camelCase wire names; discriminated unions are concrete wrapper structs that round-trip via customMarshalJSON/UnmarshalJSON; bitset enums are typeduint32with named flag constants and helpers.UserMessage._metaoptional map field, generated asMap[string]json.RawMessage, exposing the new spec-level provider metadata channel on user messages.ahp— asyncClientdriven by a pluggableTransport, pureApplyActionToRoot/ApplyActionToSession/ApplyActionToTerminal/ApplyActionToChangesetreducers,MultiHostClientruntime underahp/hosts,MultiHostStateMirrorhelper.ahpws— WebSocket transport built ongithub.qkg1.top/coder/websocket, matching the Rustahp-wscrate's API shape.