Skip to content

Commit 666bd6c

Browse files
committed
refactor: remove redundant /claude-settings and /output-settings commands
Consolidated into /settings (category:claude and category:output). Keeps /quick-model as a useful shortcut.
1 parent 00af40e commit 666bd6c

File tree

6 files changed

+14
-106
lines changed

6 files changed

+14
-106
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
99

1010
### Added
1111
- **Interactive Permission Requests**: Allow/Deny buttons in Discord when Claude wants to use an unapproved tool (replaces CLI TUI prompt, makes `default` and `acceptEdits` modes fully usable)
12+
- **Settings Autocomplete**: `/settings` action and value fields now show dropdown suggestions based on selected category
1213
- **Fast Mode** (`/fast`): Toggle Opus 4.6 speed-optimized API config (2.5x faster, same quality)
1314
- **AskUserQuestion Handler**: Claude can now ask clarifying questions mid-session via Discord buttons
1415
- **Startup Buttons**: Quick-action buttons on the startup embed (Status, Sessions, Help, Shutdown)
@@ -25,6 +26,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
2526

2627
### Changed
2728
- `/continue` renamed to `/resume` for clarity
29+
- `/claude-settings` and `/output-settings` removed — consolidated into `/settings` (use `category:claude` or `category:output`)
2830
- Button UX overhaul: consistent styling, proper disabled states, contextual labels
2931
- Settings display now shows SDK features (hooks, agent teams, sandbox config, additional dirs)
3032
- Help system updated with all new command documentation

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,9 +64,9 @@ Installment options (`auto setup script` or `manual installment`), see [Installa
6464
## Select Newest Model Available
6565

6666
```
67-
/claude-settings action:set-model value:opus
68-
/claude-settings action:set-model value:sonnet
69-
/claude-settings action:set-model value:haiku
67+
/settings category:claude action:set-model value:opus
68+
/settings category:claude action:set-model value:sonnet
69+
/quick-model model:haiku
7070
```
7171

7272
## Configuration

core/command-wrappers.ts

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -432,13 +432,6 @@ export function createSettingsCommandHandlers(
432432
const { advancedSettings: advancedSettingsHandlers, unifiedSettings: unifiedSettingsHandlers, agent: agentHandlers } = handlers;
433433

434434
return new Map([
435-
['claude-settings', {
436-
execute: async (ctx: InteractionContext) => {
437-
const action = ctx.getString('action', true)!;
438-
const value = ctx.getString('value');
439-
await advancedSettingsHandlers.onClaudeSettings(ctx, action, value || undefined);
440-
}
441-
}],
442435
['settings', {
443436
execute: async (ctx: InteractionContext) => {
444437
const category = ctx.getString('category', true)!;
@@ -476,13 +469,6 @@ export function createSettingsCommandHandlers(
476469
await agentHandlers.onAgent(ctx, action, agentName || undefined, message || undefined, contextFiles || undefined, includeSystemInfo || undefined);
477470
}
478471
}],
479-
['output-settings', {
480-
execute: async (ctx: InteractionContext) => {
481-
const action = ctx.getString('action', true)!;
482-
const value = ctx.getString('value');
483-
await advancedSettingsHandlers.onOutputSettings(ctx, action, value || undefined);
484-
}
485-
}],
486472
['quick-model', {
487473
execute: async (ctx: InteractionContext) => {
488474
const model = ctx.getString('model', true)!;

docs/commands.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,13 +38,11 @@
3838
| `/rewind` | Rewind file changes to a specific conversation turn. Options: `turn` (number), `dry_run` (preview changes without applying). |
3939
| `/claude-control` | Mid-session controls. Options: `action` (interrupt/set-model/set-permissions/stop-task/status), `value`. Change model, permissions, or stop background tasks without restarting. In default/acceptEdits mode, unapproved tools trigger interactive Allow/Deny buttons. |
4040

41-
## Settings Commands (4)
41+
## Settings Commands (2)
4242

4343
| Command | Description |
4444
|---------|-------------|
45-
| `/settings` | Unified settings hub. Options: `category` (mode/claude/output/system/mcp/permissions/all), `action`, `value`. |
46-
| `/claude-settings` | Claude-specific settings. Actions: `show`, `set-model`, `toggle-git-context`, `toggle-system-info`, `set-system-prompt`, `reset-defaults`. |
47-
| `/output-settings` | Output formatting settings. |
45+
| `/settings` | Unified settings hub. Categories: `show`, `bot`, `claude`, `modes`, `output`, `proxy`, `developer`, `reset`. Action and value fields have autocomplete. |
4846
| `/quick-model` | Quickly switch the active Claude model. |
4947

5048
## Task & Agent Management (3)

help/commands.ts

Lines changed: 4 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -726,46 +726,8 @@ export const COMMAND_HELP = {
726726
"Provides exercises for hands-on practice"
727727
]
728728
},
729-
"claude-settings": {
730-
title: "⚙️ Claude Code Settings",
731-
description: "Manage Claude Code specific settings and preferences",
732-
usage: "/claude-settings action: [show/set-model/toggle-auto-system-info/toggle-auto-git-context/set-system-prompt] value: [optional]",
733-
examples: [
734-
"/claude-settings action: show",
735-
"/claude-settings action: set-model value: claude-sonnet-4",
736-
"/claude-settings action: toggle-auto-git-context",
737-
"/claude-settings action: set-system-prompt value: You are a helpful coding assistant"
738-
],
739-
parameters: [
740-
{ name: "action", description: "Setting action to perform", required: true },
741-
{ name: "value", description: "New value for the setting", required: false }
742-
],
743-
notes: [
744-
"Configure default model and context options",
745-
"Enable/disable automatic system info and git context",
746-
"Set custom system prompts for specialized tasks",
747-
"Note: Only model and context options are supported by Claude Code CLI"
748-
]
749-
},
750-
"output-settings": {
751-
title: "🎨 Output Display Settings",
752-
description: "Configure output formatting and display preferences",
753-
usage: "/output-settings action: [show/toggle-code-highlighting/set-max-length/etc] value: [optional]",
754-
examples: [
755-
"/output-settings action: show",
756-
"/output-settings action: toggle-code-highlighting",
757-
"/output-settings action: set-max-length value: 5000"
758-
],
759-
parameters: [
760-
{ name: "action", description: "Output setting to configure", required: true },
761-
{ name: "value", description: "New value for the setting", required: false }
762-
],
763-
notes: [
764-
"Control syntax highlighting and pagination",
765-
"Set maximum output length and timestamp format",
766-
"Customize display preferences for better readability"
767-
]
768-
},
729+
// /claude-settings and /output-settings have been removed.
730+
// Use /settings category:claude and /settings category:output instead.
769731
"quick-model": {
770732
title: "🚀 Quick Model Switch",
771733
description: "Quickly switch Claude model for your next conversation",
@@ -982,8 +944,8 @@ export function createHelpHandlers(deps: HelpHandlerDeps) {
982944
inline: false
983945
},
984946
{
985-
name: "⚙️ Advanced Settings",
986-
value: "`/settings` - Unified bot settings (NEW)\n`/claude-settings` - Claude preferences\n`/output-settings` - Display settings\n`/quick-model` - Switch Claude model\n`/fast` - Toggle fast mode",
947+
name: "⚙️ Settings",
948+
value: "`/settings` - Unified settings hub (all categories)\n`/quick-model` - Quick model switch\n`/fast` - Toggle fast mode",
987949
inline: false
988950
},
989951
{

settings/advanced-settings.ts

Lines changed: 3 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -71,49 +71,9 @@ export const DEFAULT_SETTINGS: AdvancedBotSettings = {
7171
};
7272

7373
export const advancedSettingsCommands = [
74-
new SlashCommandBuilder()
75-
.setName('claude-settings')
76-
.setDescription('Manage Claude Code specific settings')
77-
.addStringOption(option =>
78-
option.setName('action')
79-
.setDescription('Setting action to perform')
80-
.setRequired(true)
81-
.addChoices(
82-
{ name: 'show', value: 'show' },
83-
{ name: 'set-model', value: 'set-model' },
84-
{ name: 'set-system-prompt', value: 'set-system-prompt' },
85-
{ name: 'toggle-auto-system-info', value: 'toggle-auto-system-info' },
86-
{ name: 'toggle-auto-git-context', value: 'toggle-auto-git-context' },
87-
{ name: 'reset-defaults', value: 'reset-defaults' }
88-
))
89-
.addStringOption(option =>
90-
option.setName('value')
91-
.setDescription('New value for the setting')
92-
.setRequired(false)),
93-
94-
new SlashCommandBuilder()
95-
.setName('output-settings')
96-
.setDescription('Configure output formatting and display settings')
97-
.addStringOption(option =>
98-
option.setName('action')
99-
.setDescription('Output setting to configure')
100-
.setRequired(true)
101-
.addChoices(
102-
{ name: 'show', value: 'show' },
103-
{ name: 'toggle-code-highlighting', value: 'toggle-code-highlighting' },
104-
{ name: 'toggle-auto-pagination', value: 'toggle-auto-pagination' },
105-
{ name: 'set-max-length', value: 'set-max-length' },
106-
{ name: 'set-timestamp-format', value: 'set-timestamp-format' }
107-
))
108-
.addStringOption(option =>
109-
option.setName('value')
110-
.setDescription('New value for the setting')
111-
.setRequired(false)),
112-
113-
// NOTE: Removed non-implemented advanced settings commands:
114-
// - session-settings, monitoring-settings, developer-settings, profile-settings
115-
// These commands were defined but had no handlers implemented
116-
// Their functionality is now available through the unified settings system
74+
// NOTE: /claude-settings and /output-settings have been removed.
75+
// Their functionality is fully covered by the unified /settings command
76+
// (category:claude and category:output respectively).
11777

11878
new SlashCommandBuilder()
11979
.setName('quick-model')

0 commit comments

Comments
 (0)