Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/ignore-ai-sdk-devtools.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"eve": patch
---

Treat AI SDK `.devtools` like other generated directories: ignore it in `eve dev` watching, agent discovery, and source snapshots so generation writes do not recompile or warn.
2 changes: 1 addition & 1 deletion packages/eve/src/discover/agent.integration.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -486,7 +486,7 @@ describe("discoverAgent (memory)", () => {

it("silently ignores generated runtime directories", async () => {
const project = buildMemoryAgentProject({
agentDirectories: [".eve", ".next", ".output", ".vercel", "node_modules"],
agentDirectories: [".devtools", ".eve", ".next", ".output", ".vercel", "node_modules"],
agentFiles: {
"instructions.md": "You are a precise assistant.",
},
Expand Down
1 change: 1 addition & 0 deletions packages/eve/src/discover/filesystem.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ export const PROJECT_MARKER_FILE_NAMES = ["package.json", "vercel.json"] as cons

const PROJECT_MARKER_FILE_NAME_SET = new Set<string>(PROJECT_MARKER_FILE_NAMES);
const GENERATED_AGENT_DIRECTORY_NAMES = new Set<string>([
".devtools",
".eve",
".next",
".output",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ import {
} from "#internal/nitro/dev-runtime-source-snapshot.js";

const SNAPSHOT_SKIP_NAMES = new Set([
".devtools",
".generated",
".eve",
".git",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,7 @@ describe("startAuthoredSourceWatcher", () => {

try {
const ignored = getIgnoredPredicate();
expect(ignored(join(host.appRoot, ".devtools", "generations.json"))).toBe(true);
expect(ignored(join(host.appRoot, ".eve", "dev-hosts", "candidate"))).toBe(true);
expect(ignored(join(host.appRoot, "node_modules", "eve"))).toBe(true);
expect(ignored(join(host.appRoot, "agent", "tools", "weather.ts"))).toBe(false);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ const WATCHED_LOCKFILE_NAMES = [
const WATCH_ROOT_MARKER_NAMES = [".git", "pnpm-workspace.yaml"] as const;
const TS_CONFIG_GLOB_NAME = "tsconfig.*.json";
const WATCHER_IGNORED_DIRECTORY_NAMES = new Set([
".devtools",
".generated",
".eve",
".git",
Expand Down