Skip to content

Add Desktop SDK, export Image/Snapshots from entrypoint#98

Closed
motatoes wants to merge 1 commit intomainfrom
feat/sdk-export-desktop-image-snapshots
Closed

Add Desktop SDK, export Image/Snapshots from entrypoint#98
motatoes wants to merge 1 commit intomainfrom
feat/sdk-export-desktop-image-snapshots

Conversation

@motatoes
Copy link
Copy Markdown
Contributor

Summary

  • Adds Desktop class to both TypeScript and Python SDKs (remote display, screenshots, mouse/keyboard, VNC streaming)
  • Exports Image and Snapshots as value exports from the main SDK entrypoint — fixes import { Image, Snapshots } from '@opencomputer/sdk' which is documented but currently broken (they were type-only exports)
  • Adds Dockerfile.desktop for the desktop rootfs template
  • Adds demo-desktop.ts example

Test plan

  • npm run build in sdks/typescript/ succeeds
  • import { Desktop, Image, Snapshots } from '@opencomputer/sdk' resolves at runtime
  • npx tsx examples/demo-desktop.ts against a running instance
  • Python: from opencomputer import Desktop works

🤖 Generated with Claude Code

Desktop SDK (TS + Python) provides remote display, screenshots, mouse/keyboard
control, and VNC streaming for sandbox VMs. Also exports Image and Snapshots
as value exports from the main SDK entrypoint so `import { Image, Snapshots }
from '@opencomputer/sdk'` works as documented.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@vercel
Copy link
Copy Markdown

vercel bot commented Mar 31, 2026

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

Project Deployment Actions Updated (UTC)
opensandbox Ready Ready Preview, Comment Mar 31, 2026 4:20am

Request Review

@motatoes motatoes closed this Apr 15, 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