MCPcopy Create free account
hub / github.com/cloudflare/computer / ai.test.ts

File ai.test.ts

packages/computer/src/tools/ai.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { SQLiteTestStorage } from "@cloudflare/dofs/testing";
2import { describe, expect, it } from "vitest";
3import type { ExecHandle, ExecResult } from "../shell.js";
4import { Workspace } from "../workspace.js";

Callers

nothing calls this directly

Calls 14

drainChunksFunction · 0.85
createAIToolsFunction · 0.85
executeToolFunction · 0.85
createWriteToolFunction · 0.85
memoryStoreFunction · 0.85
createEditToolFunction · 0.85
createReadToolFunction · 0.85
toolDescriptionFunction · 0.85
makeWorkspaceFunction · 0.70
bytesFunction · 0.70
mkdirMethod · 0.65
writeFileMethod · 0.65

Tested by

no test coverage detected