mirror of
https://github.com/yigitkonur/cli-continues.git
synced 2026-04-26 00:36:02 +03:00
[PR #5] [CLOSED] feat: add per-tool autonomy & safety flags for Codex, Claude, Gemini, and Droid #16
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#16
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/5
Author: @ynlmz
Created: 2/20/2026
Status: ❌ Closed
Base:
main← Head:feat/tool-flags📝 Commits (6)
a08a247feat: add per-tool autonomy/safety flags (codex, claude, gemini, droid)3630028docs: update README with tool flags and Droid in conversion matrix0ee7e81Merge branch 'main' into feat/tool-flags5a56ec2fix: enforce yolo>fullAuto>sandbox precedence in codex flag assembly; add Droid to requirements77ab8fedocs: remove Oxford comma from requirements list0a2cdaadocs: revert README changes from tool-flags PR📊 Changes
2 files changed (+200 additions, -46 deletions)
View changed files
📝
src/cli.ts(+66 -22)📝
src/utils/resume.ts(+134 -24)📄 Description
What this PR does
Adds support for passing tool-specific autonomy and safety flags directly from
continuescommands, so you can control permission/sandbox behavior at launch time — no more manually re-running the tool with flags after resuming.Usage
continues resumewith flagsQuick-resume with flags
Flags reference
--full-auto--full-auto--yolo--dangerously-bypass-approvals-and-sandbox--yolo--approval-mode yolo--sandbox <mode>--sandbox <mode>--ask-for-approval <policy>--ask-for-approval <policy>--dangerously-skip-permissions--dangerously-skip-permissions--permission-mode <mode>--permission-mode <mode>--approval-mode <mode>--approval-mode <mode>--gemini-sandbox--sandbox--auto <level>--auto <level>--skip-permissions-unsafe--skip-permissions-unsafe--model <name>--model <name>Flags are silently ignored when passed to a tool that doesn't support them (e.g.
--full-autowhen targeting Claude). Copilot and OpenCode are intentionally omitted — they have no startup autonomy flags.Changes
src/utils/resume.ts— newToolFlagsinterface,buildToolArgs()helper that maps continues flags to each tool's actual CLI arg names, updated signatures fornativeResume(),crossToolResume(),resume(), andgetResumeCommand()src/cli.ts— flag options added tocontinues resumeand all four tool quick-resume subcommands (codex,claude,gemini,droid); newcollectFlags()helperNotes
tsc --noEmitpasses cleanSummary by CodeRabbit
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.