MCPcopy Create free account
hub / github.com/cloudflare/computer / makeWorkspace

Function makeWorkspace

packages/computer/src/tools/ai.test.ts:29–31  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

27}
28
29function makeWorkspace(): Workspace {
30 return new Workspace({ storage: new SQLiteTestStorage(), now: () => 1_700_000_000_000 });
31}
32
33function bytes(text: string): Uint8Array {
34 return new TextEncoder().encode(text);

Callers 1

ai.test.tsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected