Expand description
Versioned provider contract schema.
This module defines the machine-readable contract shared between provider
adapters and agentctl:
- adapter operation payloads (
capabilities,healthcheck,execute,limits,auth-state) - normalized success/error envelopes
- stable error categorization and retry semantics
Structs§
- Auth
State Request - Input payload for
auth-state. - Auth
State Response - Output payload for
auth-state. - Capabilities
Request - Input payload for
capabilities. - Capabilities
Response - Capability inventory.
- Capability
- Single declared capability.
- Execute
Request - Input payload for
execute. - Execute
Response - Output payload for
execute. - Healthcheck
Request - Input payload for
healthcheck. - Healthcheck
Response - Output payload for
healthcheck. - Limits
Request - Input payload for
limits. - Limits
Response - Output payload for
limits. - Provider
Envelope - Normalized envelope that
agentctlcan consume uniformly across providers. - Provider
Error - Normalized provider error payload.
- Provider
Metadata - Adapter metadata used by the provider trait.
- Provider
Ref - Provider identity included in each envelope for routing and diagnostics.
Enums§
- Auth
State Status - Authentication state categories.
- Contract
Version - Supported provider contract versions.
- Health
Status - Provider health states.
- Provider
Error Category - Stable error categorization for cross-provider policy handling.
- Provider
Maturity - Provider maturity used for rollout and UX messaging.
- Provider
Operation - Standardized adapter operations.
- Provider
Outcome - Tagged envelope outcome to keep success/error shape stable over time.
Constants§
- CONTRACT_
VERSION_ V1 - Stable contract identifier for the v1 provider adapter schema.
Type Aliases§
- Provider
Result - Normalized provider result type used by contract APIs.