You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(claw): add default permissions selector to settings tab (#1475)
## Summary
Makes permission preset selection available outside of the onboarding
flow for KiloClaw.
## Verification
- Verified the SettingsTab diff is surgical — only the new imports, the
new `PermissionPresetSection` component, and the render insertion are
changed; no formatting churn in existing code
- Could not run `pnpm typecheck` because `node_modules` are not
installed in this environment (shallow clone), but all new code follows
existing patterns (same `mutations` API, same `toast`/`Button`/`Save`
imports already used by the file)
## Visual Changes
https://github.com/user-attachments/assets/b8dbca19-6cb8-4937-9766-e84e5e432a6f
## Reviewer Notes
- The `PermissionPresetCards` shared component is intentionally kept in
the `claw/components/` directory rather than `components/shared/` since
it's only used within the claw feature
- The `selected` prop on `PermissionPresetCards` is optional — when
omitted (as in the onboarding flow), no card shows the active highlight
- There is currently no API to **read** the current exec preset from the
backend, so the settings section starts with no card selected. Users
pick a preset, then save. A future improvement could add a
`getExecPreset` query to pre-populate the selection.
0 commit comments