Documentation
¶
Overview ¶
Package cursorinstall supplies only the vendor mechanics for the explicitly selected Cursor user Stop route. UAP owns intent persistence, physical callback fences and acknowledgement; AN's existing owners retain consent and delivery.
Index ¶
- type Adapter
- func (a *Adapter) Activate(ctx context.Context, env clients.Env, req domain.ActivationRequest) (domain.ActivationOutcome, error)
- func (a *Adapter) AutomaticallyActivates(_ clients.Env, req domain.ActivationRequest) bool
- func (a *Adapter) CaptureProfileAuthority(ctx context.Context, c domain.DetectedClient) (domain.ProfileAuthority, error)
- func (a *Adapter) Deactivate(ctx context.Context, env clients.Env, req domain.DeactivationRequest) (domain.DeactivationOutcome, error)
- func (a *Adapter) InspectNativeRegistry(ctx context.Context, env clients.Env, c domain.DetectedClient, ...) (clients.RegistryFinding, error)
- func (a *Adapter) PreflightActivation(env clients.Env, req domain.ActivationRequest) error
- func (a *Adapter) ReconcileNativeIntent(ctx context.Context, intent domain.PendingNativeIntent) (domain.ActivationOutcome, error)
- func (a *Adapter) RefinePlan(ctx context.Context, in clients.PlanInput, plan *domain.DeliveryPlan) error
- func (a *Adapter) ResolveProfileRoot(root string) (string, error)
- func (a *Adapter) RevalidateProfileAuthority(ctx context.Context, id domain.ClientID, token domain.ProfileAuthority) error
- func (a *Adapter) ValidateBindingProfile(root string, binding domain.ClientBinding) error
- func (a *Adapter) VerifierAvailable(_ domain.DetectedClient, plan domain.DeliveryPlan, _ string) bool
- type Authority
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Adapter ¶
Adapter embeds the public historical Cursor capabilities. A zero requested selection retains its MCP/skill preparation lifecycle. No adapter is registered here; the consumer composition remains a separate change.
func New ¶
func New(native nativeconfig.Kernel, paths ports.PathPolicy, fixed *Authority) (*Adapter, error)
New uses only the existing public native kernel/path port and fixed facts. Canonicalization happens once at construction. Subsequent operations compare that original root and revalidate recorded tokens; they never select a new root.
func (*Adapter) Activate ¶
func (a *Adapter) Activate(ctx context.Context, env clients.Env, req domain.ActivationRequest) (domain.ActivationOutcome, error)
func (*Adapter) AutomaticallyActivates ¶
func (*Adapter) CaptureProfileAuthority ¶
func (a *Adapter) CaptureProfileAuthority(ctx context.Context, c domain.DetectedClient) (domain.ProfileAuthority, error)
func (*Adapter) Deactivate ¶
func (a *Adapter) Deactivate(ctx context.Context, env clients.Env, req domain.DeactivationRequest) (domain.DeactivationOutcome, error)
func (*Adapter) InspectNativeRegistry ¶
func (a *Adapter) InspectNativeRegistry(ctx context.Context, env clients.Env, c domain.DetectedClient, plan domain.DeliveryPlan, binding *domain.ClientBinding) (clients.RegistryFinding, error)
InspectNativeRegistry is the existing read-only removal/admission capability. Its receipt always comes from the binding; a proposed packet is not ownership.
func (*Adapter) PreflightActivation ¶
func (*Adapter) ReconcileNativeIntent ¶
func (a *Adapter) ReconcileNativeIntent(ctx context.Context, intent domain.PendingNativeIntent) (domain.ActivationOutcome, error)
ReconcileNativeIntent consumes the full durable packet. UAP validates its binding, package and frozen physical authority on both sides of this callback. This adapter only observes; neither registration nor removal is resent.
func (*Adapter) RefinePlan ¶
func (a *Adapter) RefinePlan(ctx context.Context, in clients.PlanInput, plan *domain.DeliveryPlan) error
RefinePlan freezes the successful public pure Plan result and its actual original existence/raw bytes basis. No lock, directory or intent is created.
func (*Adapter) ResolveProfileRoot ¶
func (*Adapter) RevalidateProfileAuthority ¶
func (*Adapter) ValidateBindingProfile ¶
func (a *Adapter) ValidateBindingProfile(root string, binding domain.ClientBinding) error
func (*Adapter) VerifierAvailable ¶
func (a *Adapter) VerifierAvailable(_ domain.DetectedClient, plan domain.DeliveryPlan, _ string) bool
type Authority ¶
type Authority struct {
ProfileRoot, CursorVersion, QualificationID string
Executable, ExecutableDigest, Selector string
ObjectID string
}
Authority is supplied by the composition owner after qualifying the current Linux amd64 Cursor tuple. QualificationID refers to that evidence, not a discovery hint. ExecutableDigest binds the owned observer bytes; Selector is the fixed portable binding path. No consent or physical token is fabricated.