feat(cli-endpoints): add create, update, and delete functionality for CLI endpoints

- Implemented `useCreateCliEndpoint`, `useUpdateCliEndpoint`, and `useDeleteCliEndpoint` hooks for managing CLI endpoints.
- Added `CliEndpointFormDialog` component for creating and editing CLI endpoints with validation.
- Updated translations for CLI hooks and manager to include new fields and messages.
- Refactored `CcwToolsMcpCard` to simplify enabling and disabling tools.
- Adjusted `SkillCreateDialog` to display paths based on CLI type.
This commit is contained in:
catlog22
2026-02-07 21:56:08 +08:00
parent 678be8d41f
commit 6073627ff2
12 changed files with 1252 additions and 422 deletions

View File

@@ -170,6 +170,9 @@ export type {
export {
useCliEndpoints,
useToggleCliEndpoint,
useCreateCliEndpoint,
useUpdateCliEndpoint,
useDeleteCliEndpoint,
cliEndpointsKeys,
useCliInstallations,
useInstallCliTool,
@@ -298,4 +301,4 @@ export type {
UseRebuildIndexReturn,
UseUpdateIndexReturn,
UseCancelIndexingReturn,
} from './useCodexLens';
} from './useCodexLens';