Skip to content

feat: add payment-aware client runtime - #170

Closed
parvahuja wants to merge 16 commits into
mainfrom
parv/agent-payment-runtime
Closed

feat: add payment-aware client runtime#170
parvahuja wants to merge 16 commits into
mainfrom
parv/agent-payment-runtime

Conversation

@parvahuja

@parvahuja parvahuja commented Jul 7, 2026

Copy link
Copy Markdown
Member

Superseded by the reviewable payment-aware stack

This draft has been split into independently testable PRs using GitHub Stacks. Review and merge bottom-up:

  1. fix: constrain MCP SDK to supported major #195 — constrain the optional MCP SDK to the compatible 1.x API
  2. feat: add shared payment runtime #184 — add the borrowed shared PaymentRuntime
  3. feat: share runtime with async HTTP payments #189 — share the runtime with asynchronous HTTP payments and safety policy
  4. feat: add owned runtime and synchronous payment transport #190 — add the explicitly owned runtime and synchronous HTTP transport
  5. feat: add per-client HTTPX adapters #191 — add explicit per-client HTTPX adapters
  6. feat: add process-global HTTPX instrumentation #192 — add process-global HTTPX instrumentation

The retained stack preserves the intended global payment-aware HTTP behavior while keeping each release boundary independently working.

Removed from this stack

The MCP dependency cap in #195 is compatibility-only: a clean optional install otherwise selects MCP 2.x and breaks pympp's existing MCP imports. It adds no MCP runtime behavior.

Verified end state

  • feat: add process-global HTTPX instrumentation #192 full suite: 934 passed, 41 skipped; 93.77% coverage
  • hosted CI on Python 3.11–3.14
  • package, base/Tempo/MCP install smokes, integration tests, and conformance
  • HTTPX 0.27.x and 0.28.x adapter matrix
  • Ruff, formatting, Pyright, package build, and strict Twine validation
  • exact current heads green across the retained stack

Closing this draft so review continues on the smaller PRs above.

@parvahuja
parvahuja force-pushed the parv/agent-payment-runtime branch 2 times, most recently from 0e4bad5 to 945682b Compare July 7, 2026 18:22
@parvahuja
parvahuja changed the base branch from parv/fix-mcp-challenge-core-metadata to main July 7, 2026 18:23
@parvahuja
parvahuja force-pushed the parv/agent-payment-runtime branch from 945682b to 25e5c19 Compare July 21, 2026 00:37
@parvahuja parvahuja changed the title Add agent payment runtime Add shared payment runtime Jul 21, 2026
@parvahuja parvahuja changed the title Add shared payment runtime Add payment-aware client runtime Jul 21, 2026
@socket-security

socket-security Bot commented Jul 21, 2026

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Addedpypi/​openai@​2.48.090100100100100

View full report

@parvahuja parvahuja changed the title Add payment-aware client runtime feat: add payment-aware client runtime Jul 22, 2026
@parvahuja parvahuja closed this Jul 28, 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