Fix Gemini CLI extension issues (gm-gc)#19
Conversation
- Strip 'agent' and 'enforce' from agent frontmatter for Gemini - Switch context file from GEMINI.md to AGENTS.md for Gemini platform - Include AGENTS.md in gemini package and installer - Normalize hook exit codes in plugkit.js (map 2 to 0) - Update tool mappings for Gemini (skill, agent) - Fix build reporter regex for lowercase path variables Co-authored-by: lanmower <657315+lanmower@users.noreply.github.com>
|
👋 Jules, reporting for duty! I'm here to lend a hand with this pull request. When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down. I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job! For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with New to Jules? Learn more at jules.google/docs. For security, I will only act on instructions from the user who triggered this task. |
This PR fixes several issues identified during testing with the Gemini CLI (gm-gc platform):
agent:andenforce:keys in their frontmatter. ThetransformAgentFrontmatterfunction inplatforms/cli-config-shared.jswas updated to correctly strip these keys even with leading whitespace.GEMINI.mdtoAGENTS.mdfor the Gemini platform. This ensures that the core project rules are loaded correctly by Gemini CLI's memory system.AGENTS.mdis included in the package manifest and handled correctly by the installer scripts.gm-starter/bin/plugkit.jsto map exit code 2 to 0 for hooks, allowing the CLI to process the JSONdecisioninstead of crashing.platforms/cli-config-factory.jsto include correct tool names forskillandagenton the Gemini platform.lib/build-reporter.jsregex to recognize${extensionPath}as a valid path variable, removing false-positive warnings during the build process.Verified the fixes by building the platforms and running
geminiin a test directory with the generated extension.PR created automatically by Jules for task 1162609706878532573 started by @lanmower