ponytail/tests
Ben Younes e01aa900f7
feat: add Gemini CLI support (#25)
* feat: add Gemini CLI support

Add a thin Gemini CLI extension adapter (closes #22). The manifest points
contextFileName at the existing AGENTS.md for always-on rules and reuses the
repo's commands/*.toml (/ponytail, /ponytail-review) and skills/, which Gemini
CLI auto-discovers — no rule text is duplicated.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

* test: read manifest inside cases for a clean RED

The manifest was parsed at module scope, so reverting the adapter crashed the
whole test file at load (ENOENT) and collapsed all four cases into one
unreadable failure. Read it inside each case via a helper that asserts existence
first, so a missing or malformed manifest surfaces as clear per-case assertion
failures instead of a stack trace.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-14 17:50:02 +02:00
..
gemini-extension.test.js feat: add Gemini CLI support (#25) 2026-06-14 17:50:02 +02:00
hooks-windows.test.js fix: use PowerShell $env: syntax for Windows hook paths (#26) 2026-06-14 17:39:59 +02:00
hooks.test.js fix: make hook compatibility test cross-platform (USERPROFILE for Windows os.homedir) 2026-06-12 17:11:05 +02:00
opencode-plugin.test.js feat: add OpenCode adapter 2026-06-13 03:20:44 +02:00