Skip to content

Comments

feat: OpenCost integration#3217

Draft
cursor[bot] wants to merge 1 commit intomainfrom
cursor/integration-3087-e386
Draft

feat: OpenCost integration#3217
cursor[bot] wants to merge 1 commit intomainfrom
cursor/integration-3087-e386

Conversation

@cursor
Copy link

@cursor cursor bot commented Feb 22, 2026

Add OpenCost integration to provide cost allocation actions and cost threshold triggers.

This integration includes a Get Cost Allocation action that queries OpenCost's /allocation/compute API and a Cost Exceeds Threshold polling trigger that fires when any allocation's totalCost exceeds a configured dollar threshold. It also includes an SVG icon, documentation, and 25 passing tests.


Open in Web Open in Cursor 

…hreshold trigger

- Add OpenCost base integration with REST API client (none/basic/bearer auth)
- Add Get Cost Allocation action component (queries /allocation/compute)
- Add Cost Exceeds Threshold polling trigger (checks costs every 5 min)
- Add comprehensive tests for client, integration, action, and trigger
- Add documentation (docs/components/OpenCost.mdx)
- Add SVG icon and UI icon mappings
- Register integration in server.go

Closes #3087
@cursor
Copy link
Author

cursor bot commented Feb 22, 2026

Cursor Agent can help with this pull request. Just @cursor in comments and I'll start working on changes in this branch.
Learn more about Cursor Agents

@cloudflare-workers-and-pages
Copy link

Deploying superplane with  Cloudflare Pages  Cloudflare Pages

Latest commit: b5d4320
Status: ✅  Deploy successful!
Preview URL: https://67af5b25.superplane.pages.dev
Branch Preview URL: https://cursor-integration-3087-e386.superplane.pages.dev

View logs

@shiroyasha shiroyasha changed the title Integration 3087 feat: OpenCost integration Feb 22, 2026
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.

1 participant