Skip to content

feat(integrations): add openrouter Stripe catalog provider#46

Open
snowmead wants to merge 1 commit into
mainfrom
feat/integration-openrouter
Open

feat(integrations): add openrouter Stripe catalog provider#46
snowmead wants to merge 1 commit into
mainfrom
feat/integration-openrouter

Conversation

@snowmead

@snowmead snowmead commented Jul 11, 2026

Copy link
Copy Markdown
Owner

Summary

  • Adds the openrouter Stripe Projects catalog integration family as CatalogResource adapter(s).
  • Follows docs/ADDING-A-PROVIDER.md and docs/PROVIDER-WAVES.md.
  • Includes gap test + hermetic provision test. OUTPUT_FIELDS provisional until mise run discover.

Test plan

  • Gap + hermetic tests in module
  • Live mise run discover when provider is linked
  • Merge after resolving additive registry.rs conflict with other family PRs

Note

Low Risk
Additive integration and SDK helpers with offline tests; credential output names are provisional until live discover, which could cause provision mismatches later but not at merge time.

Overview
Adds OpenRouter as a Phase 1 Stripe Projects CatalogResource for openrouter/api: managed, global-only integration with empty config, api_key output (provisional OUTPUT_FIELDS until mise run discover), plus catalog gap and hermetic provision tests. Wires it through register_providers!, providers/mod.rs, and the Hostable::OUTPUTSOUTPUT_FIELDS drift test.

Extends stackless-provider-sdk with optional/required boolean and optional integer config readers for schema-driven generated adapters.

Documents catalog-first / wave landing in PROVIDER-WAVES.md, DECISIONS.md, and ADDING-A-PROVIDER.md, and adds scripts/generate_catalog_integrations.py to scaffold remaining deployables.

Reviewed by Cursor Bugbot for commit 9049d56. Bugbot is set up for automated code reviews on this repo. Configure here.

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 9049d56. Configure here.

count=1,
flags=re.S,
)
reg_path.write_text(reg)

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Codegen drops implemented providers

High Severity

The new catalog generator rebuilds providers/mod.rs and register_providers! from only Clerk, Cloudflare, and catalog entries still outside IMPLEMENTED. After openrouter/api (or any landed family) is added to IMPLEMENTED, a normal codegen run drops its pub mod line and registry row while the Rust sources remain, breaking dispatch and uniqueness tests.

Additional Locations (1)
Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit 9049d56. Configure here.

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