MCPcopy Index your code
hub / github.com/TanStack/ai / create

Method create

packages/ai-sandbox-docker/src/provider.ts:133–136  ·  view source on GitHub ↗
(input: SandboxCreateInput)

Source from the content-addressed store, hash-verified

131 }
132
133 async create(input: SandboxCreateInput): Promise<SandboxHandle> {
134 await this.ensureImage(this.config.image)
135 return this.startContainer(this.config.image, input.env)
136 }
137
138 async resume(input: SandboxResumeInput): Promise<SandboxHandle | null> {
139 const container = this.docker.getContainer(input.id)

Callers

nothing calls this directly

Calls 2

ensureImageMethod · 0.95
startContainerMethod · 0.95

Tested by

no test coverage detected