mirror of
https://github.com/catlog22/Claude-Code-Workflow.git
synced 2026-02-28 09:23:08 +08:00
feat: Implement terminal panel for command execution and monitoring
- Added TerminalPanel component with navigation and main area for terminal interactions. - Integrated terminal session management with CLI execution output display. - Enhanced SolutionDrawer to open terminal panel on command execution. - Updated localization files for terminal panel strings in English and Chinese. - Introduced hooks for terminal panel state management. - Created JSON schemas for plan overview and fix plan types.
This commit is contained in:
@@ -145,3 +145,11 @@ export const selectActiveTerminalId = (state: TerminalPanelStore) => state.activ
|
||||
export const selectPanelView = (state: TerminalPanelStore) => state.panelView;
|
||||
export const selectTerminalOrder = (state: TerminalPanelStore) => state.terminalOrder;
|
||||
export const selectTerminalCount = (state: TerminalPanelStore) => state.terminalOrder.length;
|
||||
|
||||
// ========== Convenience Hooks ==========
|
||||
|
||||
/** Hook that returns the openTerminal action for use in event handlers */
|
||||
export function useOpenTerminalPanel() {
|
||||
const openTerminal = useTerminalPanelStore((s) => s.openTerminal);
|
||||
return openTerminal;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user