fix(coder-labs/gemini): base64-encode task prompt to handle special characters#907
Open
jdomeracki-coder wants to merge 1 commit into
Open
fix(coder-labs/gemini): base64-encode task prompt to handle special characters#907jdomeracki-coder wants to merge 1 commit into
jdomeracki-coder wants to merge 1 commit into
Conversation
…haracters Encode task_prompt before passing it into the start script and decode it in start.sh, matching how the system prompt is already handled. This ensures prompts containing single quotes or other shell metacharacters are passed through correctly instead of breaking the start script. Adds a regression test and bumps the module to v3.0.2.
DevelopmentCats
approved these changes
Jun 2, 2026
Collaborator
DevelopmentCats
left a comment
There was a problem hiding this comment.
LGTM
I will test locally just to ensure it behaves the same way but I cant see why it wouldn't
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Encodes the Gemini module's
task_promptbefore passing it into the start script and decodes it instart.sh, matching howgemini_system_promptis already handled. Prompts containing single quotes or other shell metacharacters are now passed through correctly instead of breaking the start script.Type of Change
Module Information
Path:
registry/coder-labs/modules/geminiNew version:
v3.0.2Breaking change: No
Testing & Validation
bun test main.test.ts) — added a regression test for prompts containing special charactersbun fmt)Related Issues
None
Generated by Coder Agents on behalf of @jdomeracki-coder.