mirror of
https://github.com/QwenLM/qwen-code.git
synced 2025-12-19 09:33:53 +00:00
- 新增 InProgressToolCall 组件用于展示进行中的工具调用状态 - 重构 InputForm 为独立组件,提升代码可维护性 - 改进 tool_call_update 处理逻辑,支持创建缺失的初始工具调用 - 添加思考块(thought chunk)日志以便调试 AI 思维过程 - 更新样式以支持新的进行中工具调用卡片显示 - 在权限请求时自动创建对应的工具调用记录 ```
43 lines
1.2 KiB
JavaScript
43 lines
1.2 KiB
JavaScript
/** @type {import('tailwindcss').Config} */
|
||
// eslint-disable-next-line no-undef
|
||
module.exports = {
|
||
content: [
|
||
// 渐进式采用策略:只扫描新创建的Tailwind组件
|
||
'./src/webview/App.tsx',
|
||
'./src/webview/components/ui/**/*.{js,jsx,ts,tsx}',
|
||
'./src/webview/components/messages/**/*.{js,jsx,ts,tsx}',
|
||
'./src/webview/components/MessageContent.tsx',
|
||
'./src/webview/components/InfoBanner.tsx',
|
||
'./src/webview/components/InputForm.tsx',
|
||
'./src/webview/components/PermissionDrawer.tsx',
|
||
// 当需要在更多组件中使用Tailwind时,可以逐步添加路径
|
||
// "./src/webview/components/NewComponent/**/*.{js,jsx,ts,tsx}",
|
||
// "./src/webview/pages/**/*.{js,jsx,ts,tsx}",
|
||
],
|
||
theme: {
|
||
extend: {
|
||
colors: {
|
||
qwen: {
|
||
orange: '#615fff',
|
||
'clay-orange': '#4f46e5',
|
||
ivory: '#f5f5ff',
|
||
slate: '#141420',
|
||
green: '#6bcf7f',
|
||
},
|
||
},
|
||
borderRadius: {
|
||
small: '4px',
|
||
medium: '6px',
|
||
large: '8px',
|
||
},
|
||
spacing: {
|
||
small: '4px',
|
||
medium: '8px',
|
||
large: '12px',
|
||
xlarge: '16px',
|
||
},
|
||
},
|
||
},
|
||
plugins: [],
|
||
};
|