Switch session permission mode beside the composer #41

Merged
weichen merged 1 commits from feature/permission-hooks into main 2026-10-03 17:06:49 +00:00
Owner

Why: The three modes have to be visible where the user sends a message.

Evidence: vitest and knip passed inside make test. A mock instance saved plan mode.

Impact: An empty mode still renders as 默认.

Refs: feature/permission-hooks

Why: The three modes have to be visible where the user sends a message. Evidence: vitest and knip passed inside make test. A mock instance saved plan mode. Impact: An empty mode still renders as 默认. Refs: feature/permission-hooks
weichen added 1 commit 2026-10-03 17:06:20 +00:00
Why: Plan, default, and auto-edit have to be visible where the user sends a message, and confirmation cards need to show the arguments.
Evidence: The mode control and card detail only use existing color, radius, and type tokens.
Impact: An empty mode still renders as 默认. Confirm cards use the wait color instead of the success color.
Refs: feature/permission-hooks
Co-authored-by: Cursor <cursoragent@cursor.com>
weichen merged commit 82d216b324 into main 2026-10-03 17:06:49 +00:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: weichen/Agent-System-Frontend#41