cursor

package
v0.6.1 Latest Latest
Warning

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

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

Documentation

Overview

Package cursor renders Cursor CLI (cursor-agent) enterprise hooks: the system-wide hooks.json is the one root-owned, admin-controlled file the CLI reads. Everything else Cursor can govern (models, MCP allowlist, rules, telemetry, permissions) is either a server-side team setting or a per-user file, so it is warned about, never rendered. Facts and sources: internal/harness/FACTS.md.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Adapter

type Adapter struct{}

Adapter implements harness.Adapter for Cursor CLI.

func (Adapter) Capabilities

func (Adapter) Capabilities() []harness.Capability

Capabilities is empty: the rendered hooks run alongside user and project hooks (the CLI loads all of them), so there is no hooks lock, and every other capability is server-side or per-user in Cursor.

func (Adapter) InstallCommand

func (Adapter) InstallCommand(string, harness.OS) string

InstallCommand is empty: https://cursor.com/install installs whatever version is current and takes no version argument, so no exact-version install can be stated. halod then reports "no verified install artifact".

func (Adapter) Meta

func (Adapter) Meta() harness.Meta

Meta implements harness.Describer. Cursor's installer cannot pin a version and the CLI sends no documented User-Agent, so neither is declared.

func (Adapter) Name

func (Adapter) Name() string

func (Adapter) Render

func (Adapter) Render(p *policy.Profile, c harness.Context) ([]harness.File, []string, error)

Jump to

Keyboard shortcuts

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