Skip to content

feat: add private sandbox preview tab - #68

Merged
laotoutou merged 3 commits into
mainfrom
agent/private-preview
Aug 3, 2026
Merged

feat: add private sandbox preview tab#68
laotoutou merged 3 commits into
mainfrom
agent/private-preview

Conversation

@laotoutou

Copy link
Copy Markdown
Contributor

Summary

  • add an independent Preview Inspector tab for Sandbox loopback applications
  • turn explicit and bare localhost, 127.0.0.1, and IPv6 loopback URLs in conversations and terminal output into Preview actions
  • expose authenticated Environment preview create, renew, and revoke routes through the official Sandbox0 SDK only
  • keep iframe grants short-lived, renew active previews, revoke them on close or replacement, and isolate separately opened tabs from their opener
  • publish the Environment API contract and cover URL parsing, authorization routing, SDK compatibility, and UI presentation

Dependencies

Validation

  • npm run openapi:check
  • npm run typecheck
  • npm run lint
  • npm test (725 tests, including PostgreSQL integration)
  • npm run build
  • the Sandbox0 gateway/procd chain used by this UI was validated on the disposable remote environment documented in sandbox0 PR 813

@laotoutou
laotoutou marked this pull request as ready for review August 3, 2026 08:54
# Conflicts:
#	src/server/openapi/openapi.test.ts
@laotoutou
laotoutou merged commit 30a4f1c into main Aug 3, 2026
2 checks passed
@laotoutou
laotoutou deleted the agent/private-preview branch August 3, 2026 14:10
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.

2 participants