agent-attachment-protocol 0.1.0

Experimental agent attachment references, observations, and validation
Documentation
1
2
3
4
5
6
7
8
9
10
11
# agent-attachment-protocol

Shared Rust types and validation for agent attachment providers and terminal clients.

The version 1 JSON contract separates an exact agent reference, a fresh availability observation, and an executable attachment plan. Only the `attachable` observation carries a plan. Consumers validate the returned reference against the requested reference before using its plan.

The crate exports `AttachmentReference`, `Destination`, `CommandSpec`, `AttachmentPlan`, `Observation`, and `AttachmentResolution`.

Providers retain lifecycle, authentication, native conversation ownership, and recovery policy. Terminal layout planning belongs to `agent-ssh`.

This 0.1 API is experimental.