protocol

package
v0.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 16, 2026 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// CommitV1Tag is the domain/version tag prepended to every commit preimage.
	CommitV1Tag = "agentstore-commit-v1\n"

	// RequestV1Tag is the domain/version tag prepended to every request-signing preimage.
	RequestV1Tag = "agentstore-request-v1\n"

	// Wire headers carried on every HTTP request and the WebSocket handshake.
	HeaderProto     = "X-AgentStore-Proto"
	HeaderPrincipal = "X-AgentStore-Principal"
	HeaderTimestamp = "X-AgentStore-Timestamp"
	HeaderSignature = "X-AgentStore-Signature"

	// Version is the protocol version declared in HeaderProto.
	Version = "1"
)

Protocol identifiers — frozen at first release. These appear in hash preimages and wire headers; a rename must NOT touch them. They are separate from the brand package for this reason.

Variables

This section is empty.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL