cursor

package
v0.13.0 Latest Latest
Warning

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

Go to latest
Published: Jun 20, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package cursor provides the Cursor IDE workflow adapter.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Adapter

type Adapter struct{}

Adapter converts between canonical Workflow and Cursor format.

func (*Adapter) EntryPointDir

func (a *Adapter) EntryPointDir() string

EntryPointDir returns the directory for the entry point.

func (*Adapter) EntryPointFile

func (a *Adapter) EntryPointFile() string

EntryPointFile returns the entry point filename for Cursor.

func (*Adapter) Generate

func (a *Adapter) Generate(workflow *core.Workflow, outputDir string) error

Generate creates Cursor workflow files from a Workflow.

func (*Adapter) GenerateEntryPoint

func (a *Adapter) GenerateEntryPoint(workflow *core.Workflow) ([]byte, error)

GenerateEntryPoint generates the .mdc file content for Cursor.

func (*Adapter) Name

func (a *Adapter) Name() string

Name returns the adapter identifier.

func (*Adapter) RuleDetailsDir

func (a *Adapter) RuleDetailsDir() string

RuleDetailsDir returns the directory for rule details.

Jump to

Keyboard shortcuts

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