ponytail/tests
D3VL0PR 511ddd4d62
fix(opencode): stop exporting parseCommandFile from plugin module (#301)
OpenCode's legacy plugin loader iterates every exported function in a
plugin module and tries to invoke each one with the plugin context object.
parseCommandFile was exported alongside the default plugin function, so
the loader called it with an object instead of a file path and crashed
with 'path must be a string or a file descriptor' before any hook ran,
which aborted the whole plugin load.

Move the frontmatter parser to its own .cjs sibling; the plugin module
now exposes exactly one top-level export (the default plugin function).
The plugin requires the parser via createRequire, and the existing
parseCommandFile tests now require the sibling directly.

Co-authored-by: ayushere <ayushere@users.noreply.github.com>
2026-07-09 11:44:31 +02:00
..
behavior.test.js feat: refine ruleset from a full-project field review (#39) 2026-06-15 02:02:50 +02:00
commands.test.js fix: ship the missing /ponytail-help command on Claude Code and OpenCode (#62) 2026-06-15 16:32:02 +02:00
copilot-plugin.test.js fix: copilot-plugin test checks all 6 command files (#393) 2026-06-30 00:21:09 +02:00
correctness.test.js Fix ponytail test coverage and metadata (#503) 2026-07-09 03:35:39 +02:00
gemini-extension.test.js Avoid Gemini loading Claude hook events (#139) 2026-06-19 00:24:43 +02:00
hermes-plugin.test.js Fix ponytail test coverage and metadata (#503) 2026-07-09 03:35:39 +02:00
hooks-windows.test.js fix: prevent Windows session freeze from stdin EOF deadlock (#477) 2026-07-02 00:18:01 +02:00
hooks.test.js feat: report active level on bare /ponytail instead of resetting to default (#99) 2026-07-09 04:15:43 +02:00
openclaw-skills.test.js feat: ship ponytail to OpenClaw (ClawHub skill package) (#102) 2026-06-16 13:35:35 +02:00
opencode-plugin.test.js fix(opencode): stop exporting parseCommandFile from plugin module (#301) 2026-07-09 11:44:31 +02:00
package-scripts.test.js Fix ponytail test coverage and metadata (#503) 2026-07-09 03:35:39 +02:00
package.test.js fix: ship scripts/uninstall.js in the npm package (#538) 2026-07-07 01:54:04 +02:00
uninstall.test.js fix: don't crash uninstall on malformed settings.json (#481) 2026-07-02 01:30:30 +02:00