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