- Update ChatViewer to calculate and pass timeline positions (isFirst/isLast) to messages
- Enhance AssistantMessage with timeline connector visualization
- Add storybook stories for AssistantMessage component
- Update SearchToolCall and LayoutComponents for improved UI consistency
- Export new adapters in main index file
- Add timeline styling to components
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
- Implement ACPAdapter to convert ACP protocol messages to unified format
- Implement JSONLAdapter to convert JSONL format messages to unified format
- Define unified message types for consistent component rendering
- Add helper functions for timeline position calculation (isFirst/isLast)
- Enable cross-platform message format compatibility
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
- Introduce WebviewContainer component for style isolation in VSCode webviews
- Rename CSS variables from --app-* to --qwen-app-* to prevent conflicts
- Add dedicated webview.css with isolated styles
- Update exports to include webview.css in package
- Modify all components to use new CSS variable names
- Update VSCode IDE companion to use new webview container
- Add style isolation to prevent conflicts with VSCode environment
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
Fixes webview UI issues in VSCode IDE Companion by providing proper style encapsulation.
- Move PermissionDrawer component and types from vscode-ide-companion to webui
- Add PermissionDrawer Storybook story for documentation
- Export PermissionOption and PermissionToolCall types from webui
- Update VSCodePlatformProvider with openDiff and openTempFile handlers
- Remove duplicated components: PermissionDrawer, FileLink, types, copyUtils
- Update ToolCall components to use usePlatform hook instead of useVSCode
- Add animation keyframes to tailwind preset for slide-up effect
- Only treat as error when error field is set OR type is 'error' with content
- This avoids false positives from empty error markers
- While not missing real errors that only have type='error' with text
- Fix groupContent error detection: only treat as error when contentObj.error is truthy
- Fix safeTitle: add try/catch for circular reference handling
- Update CopyButton to use PlatformContext with navigator.clipboard fallback
- Improve FileLink accessibility: use button element with proper keyboard support
- Add aria-disabled and disabled attributes when file opening is unavailable
- Move icon components (FileIcons, EditIcons, NavigationIcons, StatusIcons,
SpecialIcons, StopIcon) from vscode-ide-companion to webui package
- Migrate Tooltip component with CSS variable theming support
- Migrate WaitingMessage and InterruptedMessage components
- Enhance Button component with forwardRef, new variants (ghost, outline),
loading state, and icon support
- Enhance Input component with forwardRef, error state, label, and helper text
- Update vscode-ide-companion to import components from @qwen-code/webui
- Remove replaced local components from vscode-ide-companion
- Add skipLibCheck to vscode-ide-companion tsconfig for type compatibility