Skip to content

fix(web): reorder default permission options in Agent settings#2125

Open
bowenliang123 wants to merge 1 commit into
MoonshotAI:mainfrom
bowenliang123:web/agent-permission-order
Open

fix(web): reorder default permission options in Agent settings#2125
bowenliang123 wants to merge 1 commit into
MoonshotAI:mainfrom
bowenliang123:web/agent-permission-order

Conversation

@bowenliang123

@bowenliang123 bowenliang123 commented Jul 24, 2026

Copy link
Copy Markdown

Related Issue

No linked issue — the problem is explained below.

Problem

In Agent settings, the default permission mode selector showed options in the order manual → auto → yolo. This is neither ordered by risk/permissiveness nor consistent with the Composer toolbar, which lists them as manual → yolo → auto.

  • manual: ask for approval on every tool action (safest)
  • yolo: auto-approve tool actions, but still ask questions (middle)
  • auto: fully autonomous, no questions asked (most permissive)

Placing auto between manual and yolo made the risk progression hard to read at a glance.

What changed

  • Reordered permissionModes in apps/kimi-web/src/components/settings/SettingsDialog.vue from ['manual', 'auto', 'yolo'] to ['manual', 'yolo', 'auto'].
  • This matches the order already used in the Composer permission menu and arranges the modes from safest to most permissive.

Checklist

  • I have read the CONTRIBUTING document.
  • I have linked a related issue, or explained the problem above.
  • I have added tests that prove my feature works. (N/A — small UI ordering change)
  • Ran gen-changesets skill, or this PR needs no changeset.
  • Ran gen-docs skill, or this PR needs no doc update.

Screenshots

Before After
Before After

Align the Agent settings default-permission segmented control with the
Composer toolbar order, arranging modes from safest (manual) to most
permissive (auto).
@changeset-bot

changeset-bot Bot commented Jul 24, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 4daf75a

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@moonshot-ai/kimi-code Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@bowenliang123
bowenliang123 force-pushed the web/agent-permission-order branch from 46165e8 to 4daf75a Compare July 24, 2026 01:55
@bowenliang123 bowenliang123 changed the title web: reorder default permission options in Agent settings fix(web): reorder default permission options in Agent settings Jul 24, 2026
@bowenliang123
bowenliang123 force-pushed the web/agent-permission-order branch from 725f3d8 to 4daf75a Compare July 24, 2026 02:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant