Skip to content

feat(playground): session-bound runner gateway and live apps playground - #20

Open
eliteprox wants to merge 4 commits into
mainfrom
feat/pymthouse-playground
Open

feat(playground): session-bound runner gateway and live apps playground#20
eliteprox wants to merge 4 commits into
mainfrom
feat/pymthouse-playground

Conversation

@eliteprox

Copy link
Copy Markdown
Collaborator

Summary

  • Catch-all `/apps/[...id]` so slash-y discovery ids resolve.
  • Session-bound `POST /api/pymthouse/signer-session` and `POST /api/runner-gateway/v1/[...path]`.
  • Live playground via `RunnerGatewayContext` (cookie session only; no client `externalUserId`).
  • `jmuxer` / `mux.js` deps + type shims (webcam UI still mock).
  • `RUNNER_GATEWAY_ALLOW_INSECURE_TLS=1` is local-only and refused in production.

Stacked on: #19

Test plan

  • Signed-in model with a runner path: Playground submit hits the BFF
  • Slash-y capability id (e.g. `livepeer-example/hello-world`) loads
  • Unauthenticated playground call returns 401
  • `pnpm typecheck` / `pnpm lint` / `pnpm build`

@vercel

vercel Bot commented Aug 24, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
console Ready Ready Preview Aug 28, 2026 11:20pm

Request Review

@eliteprox
eliteprox requested a review from adamsoffer as a code owner August 24, 2026 21:49
@eliteprox
eliteprox force-pushed the feat/pymthouse-discovery branch from 878248f to 07024ca Compare August 28, 2026 22:44
@eliteprox
eliteprox force-pushed the feat/pymthouse-playground branch from 3fa26f2 to 8b06c9d Compare August 28, 2026 22:44
@eliteprox
eliteprox force-pushed the feat/pymthouse-discovery branch from 07024ca to 3d71616 Compare August 28, 2026 22:49
@eliteprox
eliteprox force-pushed the feat/pymthouse-playground branch from 8b06c9d to b9b05e9 Compare August 28, 2026 22:49
@eliteprox
eliteprox force-pushed the feat/pymthouse-discovery branch from 3d71616 to 0e32358 Compare August 28, 2026 23:06
@eliteprox
eliteprox force-pushed the feat/pymthouse-playground branch from b9b05e9 to 542aa6c Compare August 28, 2026 23:06
@eliteprox
eliteprox force-pushed the feat/pymthouse-discovery branch from 0e32358 to ea37e82 Compare August 28, 2026 23:17
@eliteprox
eliteprox force-pushed the feat/pymthouse-playground branch from 542aa6c to a7fb388 Compare August 28, 2026 23:17
Wire /explore to GET /api/discovery/explore, add catch-all model lookup,
and widen next.config redirects so slash-y capability ids survive.
streaming-playground helpers land here for map-to-model enrichment;
the playground UI stays for the next PR.
Catch-all /apps/[...id] runs discovery models through a BFF proxy that
mints signer context from the Auth0 session. No client-supplied
externalUserId. Insecure orch TLS is opt-in and refused in production.
- Added support for SSO mint functionality in the login flow, including handling OAuth redirects and pending states.
- Introduced new API routes for minting credentials and retrieving billing information.
- Updated environment configuration in `.env.example` to include necessary variables for SSO mint.
- Enhanced the login page to accommodate new OAuth parameters and redirect logic.
- Added tests for mint authorization and OAuth login query parsing.
- Created documentation for SSO mint operator setup and usage.
@eliteprox
eliteprox force-pushed the feat/pymthouse-discovery branch from ea37e82 to bbe9d2d Compare August 28, 2026 23:19
@eliteprox
eliteprox force-pushed the feat/pymthouse-playground branch from a7fb388 to fde8220 Compare August 28, 2026 23:19
@eliteprox
eliteprox changed the base branch from feat/pymthouse-discovery to main August 29, 2026 00:08
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