这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@homanp
Copy link
Collaborator

@homanp homanp commented Jun 22, 2025

Description

This pull request introduces support for TogetherAI sandboxes, updates the development environment configuration, and adds new dependencies to the project. The most significant changes include implementing a new sandbox provider for TogetherAI, updating the sandbox configuration logic, and enhancing the development setup with a .devcontainer configuration and .csbignore file.

TogetherAI Sandbox Integration:

  • Added a new TogetherAISandboxProvider class and TogetherAISandboxInstance implementation in src/services/sandbox.ts, enabling the creation, resumption, and command execution for TogetherAI sandboxes. [1] [2]
  • Updated SandboxConfig and EnvironmentConfig types in src/types.ts to include TogetherAI-specific configurations (apiKey, templateId). [1] [2]
  • Modified the createSandboxProvider function to support TogetherAI as a new sandbox type.

Development Environment Enhancements:

  • Added a .devcontainer configuration with a Dockerfile (Dockerfile.claude) to set up a standardized development environment using Ubuntu 22.04, Node.js 24.x, and Claude Code. [1] [2]
  • Introduced a .csbignore file to exclude common directories and files (node_modules, dist, .vscode, *.log) from CodeSandbox.

Dependency Updates:

  • Added the @codesandbox/sdk dependency to package.json for TogetherAI sandbox integration.

Codebase Updates:

  • Updated src/index.ts to export the new TogetherAIConfig type.
  • Imported CodeSandbox from @codesandbox/sdk in src/services/sandbox.ts for TogetherAI functionality.

Related Issue

Fixes #48

@homanp homanp self-assigned this Jun 22, 2025
@vercel
Copy link

vercel bot commented Jun 22, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
clondex ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 22, 2025 9:37pm

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.

Add together ai sandbox

2 participants