mirror of
https://github.com/yigitkonur/cli-continues.git
synced 2026-04-26 00:36:02 +03:00
[PR #29] [MERGED] fix: opencode cross-tool handoff and gemini native resume #29
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/cli-continues#29
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/yigitkonur/cli-continues/pull/29
Author: @yigitkonur
Created: 3/2/2026
Status: ✅ Merged
Merged: 3/2/2026
Merged by: @yigitkonur
Base:
main← Head:fix/opencode-handoff-gemini-resume📝 Commits (1)
8ac769afix: opencode cross-tool handoff, gemini resume, and windows spawn safety (#22)📊 Changes
2 files changed (+15 additions, -10 deletions)
View changed files
📝
src/parsers/registry.ts(+3 -3)📝
src/utils/resume.ts(+12 -7)📄 Description
fixes #22
hey @DaveW001 — tracked this down to three things:
opencode handoff was passing
--promptwhich doesn't exist on therunsubcommand. opencode uses yargs strict mode so it just shows help and exits 1. switched to positional args:opencode run <prompt>gemini native resume was using
--continuebut gemini cli actually uses--resume. simple flag name mismatch.windows spawn was hitting node 22's DEP0190 deprecation — passing args array with
shell: truedoesn't quote them, so multi-word prompts get word-split. rewroterunCommand()to build a properly quoted command string on windows and use direct spawn (no shell) on unix.all 688 tests pass, build is clean.
Review all of them with eye of John Carmack-like simplicity with elegeance approach and apply the one only if required
Greptile Summary
Fixes three handoff bugs: opencode now uses
run <prompt>(positional) instead of non-existent--promptflag, gemini uses--resumeinstead of--continue, and Windows spawn avoids DEP0190 by building quoted command strings. Changes are minimal and targeted.""and handles word-splittingisBinaryAvailable()still uses deprecated args-with-shell pattern on Windows (inconsistent withrunCommand()fix)Confidence Score: 4/5
Important Files Changed
Last reviewed commit: 2eae97b
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.