Skip to content

feat(onboarding): configure default agent permissions#543

Open
musnows wants to merge 1 commit into
KunAgent:developfrom
musnows:codex/onboarding-agent-permissions
Open

feat(onboarding): configure default agent permissions#543
musnows wants to merge 1 commit into
KunAgent:developfrom
musnows:codex/onboarding-agent-permissions

Conversation

@musnows

@musnows musnows commented Jun 23, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Add a default Agent permission selector to the first-run setup guide.
  • Persist the selected permission mode into Kun runtime approval and sandbox settings.
  • Warn users that Full access runs tools without asking and has full local access.

Changes

  • Reuse the shared Kun tool permission modes so onboarding lists every current option.
  • Preserve saved permission mode when reopening onboarding and keep provider selection behavior unchanged.
  • Add Chinese and English setup copy plus coverage for the saved permission mapping.

Tests

  • npm run test -- src/renderer/src/components/initial-setup-save.test.ts
  • npm run typecheck
  • git diff --check

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