- Registering typed custom issue fields with Standard Schema validation
- Using OS keychain secrets for API credentials
- Registering UI actions for command palette and detail view
- Background polling with setInterval
- Rich agent prompt construction (issue context + AGENTS.md/.cursor rules)
- Toast notifications via fp.ui.notify
fp.issues.registerProperty— typed property with display configurationfp.secrets.get— OS keychain credential accessfp.ui.registerAction— command palette/contextual actions with custom icon namesfp.ui.notify— toast notificationsfp.issues.update— status transitions and field updatesfp.comments.create— posting agent summariesfp.config.get— reading extension config
examples/cursor-agent/.fp/config.toml:
[extensions.cursor-agent]
api-key = "secret:api-key"
auto-complete = falseThe api-key setting is stored in your OS keychain (macOS Keychain or Linux secret-tool), not in the TOML file. Set it via the Extensions settings screen in the desktop app.
- Copy
.fp/extensions/cursor-agent.tsinto your project's.fp/extensions/directory. - Add the config block under your project
.fp/config.toml. - Set your Cursor API key in the desktop app's Extensions settings.
- Open an issue and run "Send to Cursor Agent" from the command palette (Cmd+K).
- Watch the badge update as the agent progresses.