diff --git a/.gitignore b/.gitignore index 92cb4b852..6bee12102 100644 --- a/.gitignore +++ b/.gitignore @@ -173,4 +173,4 @@ extensions/.continue-debug/ *.vsix .continuerules -**/.continue/assistants/ \ No newline at end of file +CLAUDE.md diff --git a/core/protocol/coreWebview.ts b/core/protocol/coreWebview.ts index 5f76ac777..ccb93505b 100644 --- a/core/protocol/coreWebview.ts +++ b/core/protocol/coreWebview.ts @@ -7,6 +7,12 @@ export type ToCoreFromWebviewProtocol = ToCoreFromIdeOrWebviewProtocol & { { id: string | null; profileId?: string | null }, void, ]; +}; +export type ToWebviewFromCoreProtocol = ToWebviewFromIdeOrCoreProtocol & { + didChangeAvailableProfiles: [ + { profiles: ProfileDescription[]; selectedProfileId: string | null }, + void, + ]; toolCallPartialOutput: [ { toolCallId: string; contextItems: any[] }, void, diff --git a/core/protocol/passThrough.ts b/core/protocol/passThrough.ts index 2dd5186f0..32b34d756 100644 --- a/core/protocol/passThrough.ts +++ b/core/protocol/passThrough.ts @@ -83,4 +83,5 @@ export const CORE_TO_WEBVIEW_PASS_THROUGH: (keyof ToWebviewFromCoreProtocol)[] = "didCloseFiles", "toolCallPartialOutput", "process/isBackgroundedResponse", + "docs/suggestions", ]; diff --git a/gui/src/pages/gui/ToolCallDiv/RunTerminalCommand.tsx b/gui/src/pages/gui/ToolCallDiv/RunTerminalCommand.tsx index ede1ce529..03fa777f8 100644 --- a/gui/src/pages/gui/ToolCallDiv/RunTerminalCommand.tsx +++ b/gui/src/pages/gui/ToolCallDiv/RunTerminalCommand.tsx @@ -72,6 +72,41 @@ function parseTerminalOutput(output: string): { }; } +const OutputContainer = styled.div` + margin-top: 8px; + border-top: 1px solid rgba(128, 128, 128, 0.2); + padding-top: 8px; +`; + +const OutputTitle = styled.div` + font-size: 12px; + color: #888; + margin-bottom: 4px; + display: flex; + align-items: center; +`; + +const RunningDot = styled.div` + width: 8px; + height: 8px; + background-color: #4caf50; + border-radius: 50%; + margin-left: 6px; + animation: pulse 1.5s infinite; + + @keyframes pulse { + 0% { + opacity: 0.4; + } + 50% { + opacity: 1; + } + 100% { + opacity: 0.4; + } + } +`; + export function RunTerminalCommand(props: RunTerminalCommandToolCallProps) { const dispatch = useDispatch>();