Skip to content

feat(runtime): add session endpoint client and local endpoint - #724

Merged
nborges-aws merged 1 commit into
mainfrom
feat/runtime-session-endpoints
Oct 29, 2026
Merged

nborges-aws merged 1 commit into
mainfrom
feat/runtime-session-endpoints

Conversation

@jariy17

@jariy17 jariy17 commented Oct 29, 2026

Copy link
Copy Markdown
Contributor

Summary

  • add SessionEndpointClient for authenticated HTTP and WebSocket requests to Runtime session endpoints and allowed ports
  • add LocalEndpoint, a loopback relay that enables browser access while applying SigV4 or OAuth authentication
  • reuse runtime-level URL and WebSocket authentication helpers
  • add shared incremental SSE parsing used by Runtime streaming and the web search client
  • preserve binary response bodies and provide text and json() helpers

Testing

  • uv run pytest tests -q — 3,767 passed, 10 skipped, 4 xpassed
  • uv run ruff check ...
  • uv run ruff format --check ...

Add authenticated HTTP and WebSocket access to Runtime session endpoints, a loopback local endpoint for browser access, and incremental SSE event parsing.

Co-authored-by: Sundar Raghavan <sundargthb@users.noreply.github.com>
@jariy17
jariy17 requested a review from a team October 29, 2026 14:51
@github-actions github-actions Bot added the size/xl PR size: XL label Oct 29, 2026
@jariy17
jariy17 deployed to auto-approve October 29, 2026 14:52 — with GitHub Actions Active
@jariy17
jariy17 deployed to auto-approve October 29, 2026 14:52 — with GitHub Actions Active
@jariy17
jariy17 deployed to auto-approve October 29, 2026 14:52 — with GitHub Actions Active
@jariy17
jariy17 deployed to auto-approve October 29, 2026 14:52 — with GitHub Actions Active
@jariy17
jariy17 deployed to auto-approve October 29, 2026 14:52 — with GitHub Actions Active
@jariy17
jariy17 deployed to auto-approve October 29, 2026 14:52 — with GitHub Actions Active
@jariy17
jariy17 deployed to auto-approve October 29, 2026 14:52 — with GitHub Actions Active
@jariy17
jariy17 deployed to auto-approve October 29, 2026 14:52 — with GitHub Actions Active
@jariy17
jariy17 deployed to auto-approve October 29, 2026 14:52 — with GitHub Actions Active
@github-actions

Copy link
Copy Markdown
Contributor

✅ No Breaking Changes Detected

No public API breaking changes found in this PR.

@agentcore-devx-automation agentcore-devx-automation Bot added the claude-security-reviewing Claude Code /security-review in progress label Oct 29, 2026
@agentcore-devx-automation

Copy link
Copy Markdown
Contributor

Claude Security Review: no high-confidence findings. (run)

@agentcore-devx-automation agentcore-devx-automation Bot removed the claude-security-reviewing Claude Code /security-review in progress label Oct 29, 2026
@nborges-aws
nborges-aws merged commit f885dc8 into main Oct 29, 2026
45 checks passed

This branch was successfully deployed

1 active deployment
auto-approve — a8dda830 Deployed Oct 29, 2026 by jariy17 via Test (runtime) #1678
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size/xl PR size: XL

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants