evOo-local/packages/adapters/src/release-watch-guidance.test.ts
cynarAI 6c7eed7580 Initial clean evOo-local from f00577b
Fresh history cut from cynarAI/evoo antigravity-handoff/project-timeline
(Voice First + project timeline). Brand docs/titles as evOo; keep @rakazo/*
packages as tech debt. Excludes node_modules, caches, secrets, voice blobs.
2026-09-20 17:15:16 +02:00

15 lines
669 B
TypeScript

import { describe, expect, it } from "vitest";
import { builtinAgentTools } from "./builtin-tools.js";
describe("release-watch guidance", () => {
it("tells schedule_create prompts to name plugin tools instead of browsing", () => {
const tool = builtinAgentTools.find((entry) => entry.name === "schedule_create");
expect(tool).toBeTruthy();
const prompt = (
tool?.inputSchema as { properties?: { prompt?: { description?: string } } } | undefined
)?.properties?.prompt;
expect(prompt?.description ?? "").toContain("GITHUB_LIST_RELEASES");
expect(prompt?.description ?? "").toMatch(/Prefer plugin tools over computer browser/i);
});
});