feat(cli-tools): add effort level configuration for Claude CLI

- Introduced effort level options (low, medium, high) in the CLI tool settings.
- Updated the SettingsPage and CliToolCard components to handle effort level updates.
- Enhanced CLI command options to accept effort level via --effort parameter.
- Modified backend routes to support effort level updates in tool configurations.
- Created a new CliViewerToolbar component for improved CLI viewer interactions.
- Implemented logic to manage and display execution statuses and layouts in the CLI viewer.
This commit is contained in:
catlog22
2026-02-17 20:02:44 +08:00
parent 41c6f07ee0
commit c67bf86244
27 changed files with 696 additions and 241 deletions

View File

@@ -84,7 +84,8 @@
"modeDefault": "Default",
"modeYolo": "Yolo",
"quickCreate": "Quick Create",
"configure": "Configure..."
"configure": "Configure...",
"fullscreen": "Fullscreen"
},
"cliConfig": {
"title": "Create CLI Session",
@@ -113,7 +114,15 @@
"copied": "Copied",
"insertPath": "Insert into terminal",
"loading": "Loading...",
"loadFailed": "Failed to load file tree"
"loadFailed": "Failed to load file tree",
"showHidden": "Toggle filtered files"
},
"fileSidebar": {
"title": "Files",
"refresh": "Refresh",
"collapse": "Collapse",
"noProject": "No project open",
"openProjectHint": "Open a project to browse files"
},
"artifacts": {
"types": {
@@ -134,7 +143,8 @@
"linkedIssue": "Linked Issue",
"restart": "Restart Session",
"pause": "Pause Session",
"resume": "Resume Session"
"resume": "Resume Session",
"backToTerminal": "Back to terminal"
},
"tabBar": {
"noTabs": "No terminal sessions"