cursor

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Aug 6, 2026 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package cursor reserves the Cursor CLI adapter. Caps are declared so the orchestrator can reason about the agent, but Parse and Invoke fail closed until a real stream has been recorded from `cursor exec --json`.

Writing a parser from documentation produces one that passes its own tests and fails on real output, so this package deliberately has no parser.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Adapter

type Adapter struct{}

Adapter implements agent.Adapter for Cursor.

func New

func New() *Adapter

New returns the Cursor adapter.

func (*Adapter) Caps

func (a *Adapter) Caps() agent.Caps

Caps declares what is known about Cursor without a recorded stream. Whether its stream exposes a skill-invocation event is unverified, so SupportsSkillInvocation stays false — claiming otherwise would silently zero trigger measurement.

func (*Adapter) InstallSkill

func (a *Adapter) InstallSkill(string, string) error

InstallSkill is not implemented without a verified layout.

func (*Adapter) Invoke

Invoke is not implemented.

func (*Adapter) Name

func (a *Adapter) Name() string

Name identifies the adapter.

func (*Adapter) Parse

func (a *Adapter) Parse(agent.RawStream) (*agent.Result, error)

Parse is not implemented — no recorded fixture exists for this CLI.

Jump to

Keyboard shortcuts

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