cursorinstall

package
v1.48.4 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2026 License: GPL-2.0 Imports: 17 Imported by: 0

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

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Adapter

type Adapter struct {
	*cursor.Adapter
	// contains filtered or unexported fields
}

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 (*Adapter) AutomaticallyActivates

func (a *Adapter) AutomaticallyActivates(_ clients.Env, req domain.ActivationRequest) bool

func (*Adapter) CaptureProfileAuthority

func (a *Adapter) CaptureProfileAuthority(ctx context.Context, c domain.DetectedClient) (domain.ProfileAuthority, error)

func (*Adapter) Deactivate

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 (a *Adapter) PreflightActivation(env clients.Env, req domain.ActivationRequest) error

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 (a *Adapter) ResolveProfileRoot(root string) (string, error)

func (*Adapter) RevalidateProfileAuthority

func (a *Adapter) RevalidateProfileAuthority(ctx context.Context, id domain.ClientID, token domain.ProfileAuthority) error

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.

Jump to

Keyboard shortcuts

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