MCPcopy Create free account
hub / github.com/MiniCodeMonkey/chief / NewCursorProvider

Function NewCursorProvider

internal/agent/cursor.go:19–24  ·  view source on GitHub ↗

NewCursorProvider returns a Provider for the Cursor CLI. If cliPath is empty, "agent" is used.

(cliPath string)

Source from the content-addressed store, hash-verified

17// NewCursorProvider returns a Provider for the Cursor CLI.
18// If cliPath is empty, "agent" is used.
19func NewCursorProvider(cliPath string) *CursorProvider {
20 if cliPath == "" {
21 cliPath = "agent"
22 }
23 return &CursorProvider{cliPath: cliPath}
24}
25
26// Name implements loop.Provider.
27func (p *CursorProvider) Name() string { return "Cursor" }

Calls

no outgoing calls