The first end-to-end test: a Project Think agent, on the real model, writes code that runs in a dynamic worker and drives a mower; the test counts the cells cut, and saves the turn to itest-output/. Installs @cloudflare/think, @cloudflare/codemode, agents, ai, workers-ai-provider, zod. The model-test worker now has a main entry, the Neighbor DO, and a LOADER binding. Red: src/worker.ts doesn't exist yet. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
25 lines
587 B
JSON
25 lines
587 B
JSON
{
|
|
"name": "good-fences",
|
|
"private": true,
|
|
"type": "module",
|
|
"scripts": {
|
|
"test": "node --test test/*.test.ts",
|
|
"test:model": "vitest run -c vitest.model.config.ts",
|
|
"types": "wrangler types -c wrangler.model-tests.jsonc"
|
|
},
|
|
"dependencies": {
|
|
"@cloudflare/codemode": "0.5.3",
|
|
"@cloudflare/think": "0.20.1",
|
|
"agents": "0.27.0",
|
|
"ai": "7.0.136",
|
|
"ses": "^1.14.0",
|
|
"workers-ai-provider": "4.0.0",
|
|
"zod": "4.6.5"
|
|
},
|
|
"devDependencies": {
|
|
"@cloudflare/vitest-plugin": "1.3.6",
|
|
"vitest": "4.1.11",
|
|
"wrangler": "^4.148.0"
|
|
}
|
|
}
|