Commit 542e440
committed
feat(chat): 添加用户提问Carousel组件并支持问答流程
- 新增AskQuestionCarousel组件实现多问题轮播问答交互
- 在App组件中集成AskQuestionCarousel,条件渲染用户提问界面
- 扩展ChatProvider状态管理,新增askUserQuestions状态字段
- 更新AskUserQuestion组件,增加类型守卫及表单验证优化
- 消息组件Messages调整,支持传递tool消息的isLastMessage属性
- 新增chatService接口addSystemMessage以记录系统问答摘要
- 调整DiffPreview组件props结构,更清晰地处理输出和元数据
- 优化InputPrompt及Messages组件的样式和结构细节
- 升级项目依赖,添加typescript-eslint相关依赖和配置1 parent 86c2e9e commit 542e440
16 files changed
Lines changed: 954 additions & 331 deletions
File tree
- packages/vscode-ide-companion
- src
- webview
- components
- bubbles
- ui
- context
- services
- utils
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
128 | 128 | | |
129 | 129 | | |
130 | 130 | | |
| 131 | + | |
| 132 | + | |
131 | 133 | | |
132 | 134 | | |
133 | 135 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
248 | 248 | | |
249 | 249 | | |
250 | 250 | | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
251 | 267 | | |
252 | 268 | | |
253 | 269 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
7 | 8 | | |
8 | 9 | | |
9 | 10 | | |
10 | 11 | | |
11 | 12 | | |
12 | | - | |
| 13 | + | |
13 | 14 | | |
14 | 15 | | |
15 | 16 | | |
16 | 17 | | |
17 | 18 | | |
18 | 19 | | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
| 20 | + | |
26 | 21 | | |
27 | 22 | | |
28 | 23 | | |
| |||
41 | 36 | | |
42 | 37 | | |
43 | 38 | | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
44 | 45 | | |
45 | 46 | | |
46 | 47 | | |
| |||
0 commit comments