-
Notifications
You must be signed in to change notification settings - Fork 1.2k
feat(cli): open permission selector from /yolo and /auto #3515
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -146,16 +146,16 @@ function formatDirectoryCompletionValue(argumentPrefix: string, parentInput: str | |
|
|
||
| export const BUILTIN_SLASH_COMMANDS = [ | ||
| { | ||
| name: 'ask-when-needed', | ||
| aliases: ['yolo', 'yes'], | ||
| description: 'Toggle Ask When Needed mode: routine edits and commands run automatically; risky actions, questions, and plans still ask.', | ||
| name: 'yolo', | ||
| aliases: ['yes'], | ||
|
Comment on lines
+149
to
+150
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
After upgrading, users who enter the previously documented AGENTS.md reference: AGENTS.md:L62-L62 Useful? React with 👍 / 👎. |
||
| description: 'Ask When Needed mode: routine edits and commands run automatically; risky actions, questions, and plans still ask.', | ||
| priority: 101, | ||
| availability: 'always', | ||
| }, | ||
| { | ||
| name: 'never-ask', | ||
| aliases: ['auto'], | ||
| description: 'Toggle Never Ask mode: never interrupts you; everything runs and is decided automatically.', | ||
| name: 'auto', | ||
| aliases: [], | ||
| description: 'Never Ask mode: never interrupts you; everything runs and is decided automatically.', | ||
| priority: 99, | ||
| availability: 'always', | ||
| }, | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This changes shipped CLI behavior by replacing immediate permission toggles and their arguments with a selector, but the commit adds no changeset describing that user-visible interaction. The existing
permission-mode-file-warning.mdonly covers the earlier warning change, so this behavior will be absent from the generated release notes and versioning metadata unless a dedicated@moonshot-ai/kimi-codechangeset is added.AGENTS.md reference: AGENTS.md:L85-L86
Useful? React with 👍 / 👎.