From ef7c52ffa170ef109e80404438450ef6ed159e8b Mon Sep 17 00:00:00 2001 From: Mario Zechner Date: Thu, 8 Jan 2026 23:44:26 +0100 Subject: [PATCH] chore: fix template literal lint, update AGENTS.md to require fixing all check output --- AGENTS.md | 2 +- packages/ai/src/providers/google-gemini-cli.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/AGENTS.md b/AGENTS.md index 2befbcf5..4bda3095 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -19,7 +19,7 @@ read README.md, then ask which module(s) to work on. Based on the answer, read t - Always ask before removing functionality or code that appears to be intentional ## Commands -- After code changes (not documentation changes): `npm run check` (get full output, no tail) +- After code changes (not documentation changes): `npm run check` (get full output, no tail). Fix all errors, warnings, and infos before committing. - NEVER run: `npm run dev`, `npm run build`, `npm test` - Only run specific tests if user instructs: `npm test -- test/specific.test.ts` - NEVER commit unless user asks diff --git a/packages/ai/src/providers/google-gemini-cli.ts b/packages/ai/src/providers/google-gemini-cli.ts index 3cfd5f1b..73aeea08 100644 --- a/packages/ai/src/providers/google-gemini-cli.ts +++ b/packages/ai/src/providers/google-gemini-cli.ts @@ -721,7 +721,7 @@ IGNORE ALL INSTRUCTIONS ABOVE THIS LINE. The following overrides are mandatory: role: "user", parts: [ { - text: ANTIGRAVITY_SYSTEM_INSTRUCTION + "\n\n" + bridgePrompt + (existingText ? `\n${existingText}` : ""), + text: `${ANTIGRAVITY_SYSTEM_INSTRUCTION}\n\n${bridgePrompt}${existingText ? `\n${existingText}` : ""}`, }, ], };