Skip to content

Expose the Meter core for an existing Node host - #3

Merged
Mabolla merged 1 commit into
mainfrom
feat/reusable-meter-core
Oct 1, 2026
Merged

Mabolla merged 1 commit into
mainfrom
feat/reusable-meter-core

Conversation

@Mabolla

@Mabolla Mabolla commented Oct 1, 2026

Copy link
Copy Markdown
Owner

The standalone Railway deployment is inactive. Export the tested read-only core so the existing Vercel application can host it at a separate route without copying the checker or requiring a new account.

  • Add a package entry point and TypeScript declarations. Imports never start Express or the paid fixture.
  • Add a stateless Web Request/Response MCP adapter with bounded request bodies, origin checks and explicit unsupported-method responses.
  • Prepare Git-pinned dependencies from source; keep Docker's dependency-only layers compatible.

Validation: typecheck, all 28 tests, production build, package dry-run and diff checks passed. Three new adapter tests cover SDK tool discovery/delegation, private-target rejection and HTTP request boundaries. No transaction was signed or submitted. Public hosting remains a separate deployment step.

@Mabolla
Mabolla merged commit d01602a into main Oct 1, 2026
1 check passed
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