Documentation
¶
Overview ¶
Package agentintegration owns portable CLI bootstrap materialization and read-only freshness, and explicit managed file lifecycle. Host activation remains outside this package's authority.
Index ¶
Constants ¶
const ( OperationInstall = "install" OperationUpdate = "update" OperationRemove = "remove" OperationRecover = "recover" )
const ( MaximumMetadataBytes = 512 MaximumBodyBytes = 4096 )
Variables ¶
This section is empty.
Functions ¶
func ConsumedCommands ¶
func ConsumedCommands() []string
Types ¶
type Capability ¶
Capability binds an existing public invocation contract, not a new schema or a claim of complete transitive implementation equivalence.
type CheckResult ¶
type CheckResult struct {
// contains filtered or unexported fields
}
CheckResult reports only generated-byte freshness, not host activation.
func Check ¶
Check uses one read-only lease and two bounded observations of the selected descriptor-owned path. Neither operation authorizes filesystem mutation.
func (CheckResult) JSONValue ¶
func (result CheckResult) JSONValue() map[string]any
func (CheckResult) State ¶
func (result CheckResult) State() string
func (CheckResult) Text ¶
func (result CheckResult) Text() string
type LifecyclePlan ¶ added in v0.11.0
type LifecyclePlan struct {
// contains filtered or unexported fields
}
func PlanLifecycle ¶ added in v0.11.0
func PlanLifecycle(ctx context.Context, root string, document Document, operation string) (LifecyclePlan, error)
PlanLifecycle recognizes only snapshots captured by the native transaction builder. The opaque result retains its executable plan privately.
func (LifecyclePlan) ExitCode ¶ added in v0.11.0
func (plan LifecyclePlan) ExitCode() int
func (LifecyclePlan) JSONValue ¶ added in v0.11.0
func (plan LifecyclePlan) JSONValue() map[string]any
func (LifecyclePlan) Text ¶ added in v0.11.0
func (plan LifecyclePlan) Text() string
type LifecycleReceipt ¶ added in v0.11.0
type LifecycleReceipt struct {
// contains filtered or unexported fields
}
func ApplyLifecycle ¶ added in v0.11.0
func RecoverLifecycle ¶ added in v0.11.0
func RecoverLifecycle(ctx context.Context, root, transactionID, action string) (LifecycleReceipt, error)
func (LifecycleReceipt) ExitCode ¶ added in v0.11.0
func (receipt LifecycleReceipt) ExitCode() int
func (LifecycleReceipt) JSONValue ¶ added in v0.11.0
func (receipt LifecycleReceipt) JSONValue() map[string]any
func (LifecycleReceipt) Text ¶ added in v0.11.0
func (receipt LifecycleReceipt) Text() string