Skip to content

feat(config): enable tool auto-execution by default#138

Merged
GCWing merged 1 commit intomainfrom
gcwing/dev
Mar 13, 2026
Merged

feat(config): enable tool auto-execution by default#138
GCWing merged 1 commit intomainfrom
gcwing/dev

Conversation

@GCWing
Copy link
Owner

@GCWing GCWing commented Mar 13, 2026

Summary

  • Set skip_tool_confirmation default to true in AIConfig so new users get auto-execute enabled out of the box
  • Add dedicated serde default function default_skip_tool_confirmation() so the value is also true when the field is absent from an existing config file
  • Mark DeleteFileTool and FileWriteTool needs_permissions as false, aligning them with the auto-execute default

Test plan

  • Fresh installation: verify the tool auto-execute toggle in Settings > Tools is ON by default
  • Existing config without skip_tool_confirmation field: verify it defaults to enabled after upgrade
  • File write and delete operations execute without a confirmation prompt when auto-execute is enabled
  • Toggling the switch in Settings still persists the user preference correctly

Set skip_tool_confirmation default to true in AIConfig so new users get auto-execute enabled out of the box; add a dedicated serde default fn so the value is also correct when the field is absent from an existing config file. Mark DeleteFileTool and FileWriteTool as not requiring permissions (needs_permissions to false), aligning with the auto-execute default.
@GCWing GCWing merged commit ba0f0d6 into main Mar 13, 2026
1 check passed
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