Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ Spec version: `0.3.0`
`changeset/operationStatusChanged` action so servers can reflect an
operation's execution lifecycle (`idle → running → error`) back into
changeset state.
- Added optional `_meta` provider metadata to `AgentCustomization`.
- Renamed the `UserMessage` type to `Message` and surfaced it consistently
across turn state (`Turn.message`, `ActiveTurn.message`, `PendingMessage.message`)
and the actions that carry it (`session/turnStarted`,
Expand Down
2 changes: 2 additions & 0 deletions clients/go/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,11 @@ tag whose matching `## [X.Y.Z]` heading is missing from this file.
## [Unreleased]

### Added

- `status` and `error` fields on `ChangesetOperation` and the
`changeset/operationStatusChanged` action, tracking the
`idle → running → error` lifecycle of a changeset operation.
- `AgentCustomization._meta` provider metadata field.

## [0.1.0] — 2026-05-28

Expand Down
4 changes: 4 additions & 0 deletions clients/go/ahptypes/state.generated.go
Original file line number Diff line number Diff line change
Expand Up @@ -1696,6 +1696,10 @@ type AgentCustomization struct {
// Short description of what the agent specializes in and when to
// invoke it. Sourced from the agent file's frontmatter `description`.
Description *string `json:"description,omitempty"`
// Additional provider-specific metadata for this custom agent.
//
// Mirrors the MCP `_meta` convention.
Meta map[string]json.RawMessage `json:"_meta,omitempty"`
}

// A skill contributed by a plugin or directory.
Expand Down
2 changes: 2 additions & 0 deletions clients/kotlin/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,11 @@ versions (`*-SNAPSHOT`) are explicitly rejected by the publish pipeline; bump
## [Unreleased]

### Added

- `status` and `error` fields on `ChangesetOperation` and the
`changeset/operationStatusChanged` action, tracking the
`idle → running → error` lifecycle of a changeset operation.
- `AgentCustomization._meta` provider metadata field.

## [0.2.0] — 2026-05-28

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2481,7 +2481,14 @@ data class AgentCustomization(
* Short description of what the agent specializes in and when to
* invoke it. Sourced from the agent file's frontmatter `description`.
*/
val description: String? = null
val description: String? = null,
/**
* Additional provider-specific metadata for this custom agent.
*
* Mirrors the MCP `_meta` convention.
*/
@SerialName("_meta")
val meta: Map<String, JsonElement>? = null
)

@Serializable
Expand Down
2 changes: 2 additions & 0 deletions clients/rust/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,11 @@ matching `## [X.Y.Z]` heading is missing from this file.
## [Unreleased]

### Added

- `status` and `error` fields on `ChangesetOperation` and the
`changeset/operationStatusChanged` action, tracking the
`idle → running → error` lifecycle of a changeset operation.
- `AgentCustomization._meta` provider metadata field.

## [0.2.0] — 2026-05-28

Expand Down
5 changes: 5 additions & 0 deletions clients/rust/crates/ahp-types/src/state.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2075,6 +2075,11 @@ pub struct AgentCustomization {
/// invoke it. Sourced from the agent file's frontmatter `description`.
#[serde(default, skip_serializing_if = "Option::is_none")]
pub description: Option<String>,
/// Additional provider-specific metadata for this custom agent.
///
/// Mirrors the MCP `_meta` convention.
#[serde(rename = "_meta", default, skip_serializing_if = "Option::is_none")]
pub meta: Option<JsonObject>,
}

/// A skill contributed by a plugin or directory.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2665,6 +2665,21 @@ public struct AgentCustomization: Codable, Sendable {
/// Short description of what the agent specializes in and when to
/// invoke it. Sourced from the agent file's frontmatter `description`.
public var description: String?
/// Additional provider-specific metadata for this custom agent.
///
/// Mirrors the MCP `_meta` convention.
public var meta: [String: AnyCodable]?

enum CodingKeys: String, CodingKey {
case id
case uri
case name
case icons
case range
case type
case description
case meta = "_meta"
}

public init(
id: String,
Expand All @@ -2673,7 +2688,8 @@ public struct AgentCustomization: Codable, Sendable {
icons: [Icon]? = nil,
range: TextRange? = nil,
type: CustomizationType,
description: String? = nil
description: String? = nil,
meta: [String: AnyCodable]? = nil
) {
self.id = id
self.uri = uri
Expand All @@ -2682,6 +2698,7 @@ public struct AgentCustomization: Codable, Sendable {
self.range = range
self.type = type
self.description = description
self.meta = meta
}
}

Expand Down
2 changes: 2 additions & 0 deletions clients/swift/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,11 @@ the tag matches the version pinned in [`VERSION`](VERSION).
## [Unreleased]

### Added

- `status` and `error` fields on `ChangesetOperation` and the
`changeset/operationStatusChanged` action, tracking the
`idle → running → error` lifecycle of a changeset operation.
- `AgentCustomization._meta` provider metadata field.

## [0.2.0] — 2026-05-28

Expand Down
2 changes: 2 additions & 0 deletions clients/typescript/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,11 @@ hotfix escape hatch.
## [Unreleased]

### Added

- `status` and `error` fields on `ChangesetOperation` and the
`changeset/operationStatusChanged` action, tracking the
`idle → running → error` lifecycle of a changeset operation.
- `AgentCustomization._meta` provider metadata field.

## [0.2.0] — 2026-05-28

Expand Down
5 changes: 5 additions & 0 deletions schema/actions.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -4431,6 +4431,11 @@
"description": {
"type": "string",
"description": "Short description of what the agent specializes in and when to\ninvoke it. Sourced from the agent file's frontmatter `description`."
},
"_meta": {
"type": "object",
"additionalProperties": {},
"description": "Additional provider-specific metadata for this custom agent.\n\nMirrors the MCP `_meta` convention."
}
},
"required": [
Expand Down
5 changes: 5 additions & 0 deletions schema/commands.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -4082,6 +4082,11 @@
"description": {
"type": "string",
"description": "Short description of what the agent specializes in and when to\ninvoke it. Sourced from the agent file's frontmatter `description`."
},
"_meta": {
"type": "object",
"additionalProperties": {},
"description": "Additional provider-specific metadata for this custom agent.\n\nMirrors the MCP `_meta` convention."
}
},
"required": [
Expand Down
5 changes: 5 additions & 0 deletions schema/errors.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -3014,6 +3014,11 @@
"description": {
"type": "string",
"description": "Short description of what the agent specializes in and when to\ninvoke it. Sourced from the agent file's frontmatter `description`."
},
"_meta": {
"type": "object",
"additionalProperties": {},
"description": "Additional provider-specific metadata for this custom agent.\n\nMirrors the MCP `_meta` convention."
}
},
"required": [
Expand Down
5 changes: 5 additions & 0 deletions schema/notifications.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -3142,6 +3142,11 @@
"description": {
"type": "string",
"description": "Short description of what the agent specializes in and when to\ninvoke it. Sourced from the agent file's frontmatter `description`."
},
"_meta": {
"type": "object",
"additionalProperties": {},
"description": "Additional provider-specific metadata for this custom agent.\n\nMirrors the MCP `_meta` convention."
}
},
"required": [
Expand Down
5 changes: 5 additions & 0 deletions schema/state.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -2925,6 +2925,11 @@
"description": {
"type": "string",
"description": "Short description of what the agent specializes in and when to\ninvoke it. Sourced from the agent file's frontmatter `description`."
},
"_meta": {
"type": "object",
"additionalProperties": {},
"description": "Additional provider-specific metadata for this custom agent.\n\nMirrors the MCP `_meta` convention."
}
},
"required": [
Expand Down
6 changes: 6 additions & 0 deletions types/channels-session/state.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1525,6 +1525,12 @@ export interface AgentCustomization extends CustomizationBase {
* invoke it. Sourced from the agent file's frontmatter `description`.
*/
description?: string;
/**
* Additional provider-specific metadata for this custom agent.
*
* Mirrors the MCP `_meta` convention.
*/
_meta?: Record<string, unknown>;
}

/**
Expand Down
Loading