Skip to content

docs(cursor): Cursor Cookbook reference + artifact previews#17

Draft
chloeilabs wants to merge 14 commits into
mainfrom
cursor/cookbook-reference-881d
Draft

docs(cursor): Cursor Cookbook reference + artifact previews#17
chloeilabs wants to merge 14 commits into
mainfrom
cursor/cookbook-reference-881d

Conversation

@chloeilabs
Copy link
Copy Markdown
Owner

@chloeilabs chloeilabs commented May 30, 2026

Summary

Adopts the official Cursor Cookbook as the documented reference for cloud-agent SDK usage and UX, with patterns ported from sdk/agent-kanban.

Includes the Cursor Cloud UI shell (sidebar, flat detail sections, composer new-agent form).

Cookbook integration

  • docs/cursor-cookbook.md — maps cookbook examples to Chloei Code + implemented/next checklist
  • Catalog cache (~55s): Cursor.repositories.list() and Cursor.models.list()
  • Artifact inline media: image/video previews on run detail (cookbook artifacts/media style)
  • Tests: repository cache, model cache, artifact preview helpers

UI (Cursor Cloud)

  • Sidebar with agent search, Overview, active Status link
  • Flat DetailSection panels on run detail + status page
  • Composer-style /runs/new, AgentsHome overview
  • Search on status-filtered /runs?status=… lists

Verify

pnpm lint && pnpm typecheck && pnpm test && pnpm build

References

Open in Web Open in Cursor 

cursoragent and others added 13 commits May 30, 2026 18:03
Co-authored-by: Chloei <labs@chloei.ai>
Apply a default dark theme with Cursor-like tokens, left sidebar layout,
line-style status filters, shared cursor-panel surfaces, and PageHeader
across runs, status, and new-agent flows.

Co-authored-by: Chloei <labs@chloei.ai>
- Sidebar recent runs, brand mark, workspace nav labels
- Agents list layout with relative timestamps and mono repo paths
- Dark field inputs, log surface styling, thin scrollbars
- Agent stream panel and sign-in polish

Co-authored-by: Chloei <labs@chloei.ai>
- Sidebar-first agent list with status dots and compact New agent CTA
- Flat tokens, no panel shadows; text status filters; list-style agents view
- Composer-style new agent form with prompt-first layout
- Narrower content column, ghost refresh, simplified headers

Co-authored-by: Chloei <labs@chloei.ai>
- /runs shows overview placeholder; filtered lists use ?status=
- Sidebar: Overview, New agent, agent history
- New agent: full-height composer with collapsible repo options
- Run detail: flat stream section, compact header, wider content

Co-authored-by: Chloei <labs@chloei.ai>
- Search agents in sidebar (summary, repo, branch, status)
- DetailSection panels for metadata, result, prompt, artifacts
- Ghost action buttons; single-query runs list filter
- Flatter status metrics and run detail two-column layout

Co-authored-by: Chloei <labs@chloei.ai>
- Pull request panel uses DetailSection with ghost refresh/open actions
- Status page uses flat cursor-panel sections instead of Cards
- Sign-in uses cursor-panel; sidebar Status link highlights active route
- Filtered runs list shows status label only (no duplicate badge)
- Remove unused app-nav-links; add SidebarStatusLink component

Co-authored-by: Chloei <labs@chloei.ai>
Co-authored-by: Chloei <labs@chloei.ai>
- Add docs/cursor-cookbook.md mapping cookbook examples to this app
- Document cookbook in README and AGENTS.md (agent-kanban as primary reference)
- Cache Cursor.repositories.list() ~55s per cookbook agent-kanban
- Inline image/video artifact previews via cookbook media-style responses
- Add artifact-preview helpers and tests

Co-authored-by: Chloei <labs@chloei.ai>
@vercel
Copy link
Copy Markdown

vercel Bot commented May 30, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
chloeicode Ready Ready Preview, Comment May 30, 2026 7:50pm

@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented May 30, 2026

Important

Review skipped

Draft detected.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: 823220a3-a363-424d-a9f7-be7de4969ec2

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch cursor/cookbook-reference-881d

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

- Cache Cursor.models.list() ~55s (cookbook agent-kanban pattern)
- Add repository/model cache tests
- Search on status-filtered runs list (FilteredRunsView)
- Run header: status dot + label only (no duplicate badge)
- Extend cursor-cookbook.md with implemented/next patterns

Co-authored-by: Chloei <labs@chloei.ai>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants