Commit 8a29a1a
authored
release/v4.205.0 (#20)
* fix race condition with the isUserInput flag
* API Streaming Failed to have retry button
* fix previous commands still show run/reject buttons
* better checkpoint handling
* feat: migrate KiloTaskHeader and TaskItem to use ReadOnlyChatText
MIGRATION CHANGES:
- Update KiloTaskHeader.tsx to import and use ReadOnlyChatText component
- Replace custom highlightText function calls with ReadOnlyChatText
- Remove unused highlighting functions (highlightSlashCommands, highlightMentions, highlightText)
- Update TaskItem.tsx to use ReadOnlyChatText for consistent text rendering
- Remove unused highlight property from DisplayHistoryItem interface
- Remove empty DisplayHistoryItem interface to fix linting warning
LINTING FIXES:
- Clean up unused imports (validateSlashCommand, mentionRegexGlobal, vscode)
- Remove unused customModes variable in KiloTaskHeader
- Remove unused Mention import in ChatRow.tsx
- Remove unused imports in ChatTextArea.tsx (getIconForFilePath, getIconUrlByName, formatMentionChipParts, getFileIconForMention, valueToHtml)
- Remove unused mentionRegex import in ReadOnlyChatText.tsx
BENEFITS:
- Provides better text formatting with HTML conversion and mention support
- Maintains all existing styling and layout functionality
- Improves code consistency across chat components
- Eliminates custom highlighting logic in favor of established component
* add chat renderer
* fix duplicate code
* update changelog1 parent c6719d5 commit 8a29a1a
File tree
12 files changed
+409
-246
lines changed- src
- core/task
- webview-ui/src
- components
- chat
- history
- kilocode
- utils
12 files changed
+409
-246
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
3 | 26 | | |
4 | 27 | | |
5 | 28 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3198 | 3198 | | |
3199 | 3199 | | |
3200 | 3200 | | |
3201 | | - | |
| 3201 | + | |
| 3202 | + | |
| 3203 | + | |
| 3204 | + | |
3202 | 3205 | | |
3203 | 3206 | | |
3204 | 3207 | | |
| |||
3212 | 3215 | | |
3213 | 3216 | | |
3214 | 3217 | | |
3215 | | - | |
| 3218 | + | |
3216 | 3219 | | |
3217 | 3220 | | |
3218 | 3221 | | |
3219 | 3222 | | |
3220 | | - | |
3221 | | - | |
3222 | | - | |
3223 | | - | |
3224 | | - | |
| 3223 | + | |
3225 | 3224 | | |
3226 | 3225 | | |
3227 | 3226 | | |
3228 | 3227 | | |
3229 | | - | |
3230 | 3228 | | |
3231 | 3229 | | |
3232 | 3230 | | |
| |||
3235 | 3233 | | |
3236 | 3234 | | |
3237 | 3235 | | |
3238 | | - | |
3239 | 3236 | | |
3240 | 3237 | | |
3241 | 3238 | | |
| |||
3263 | 3260 | | |
3264 | 3261 | | |
3265 | 3262 | | |
3266 | | - | |
3267 | | - | |
3268 | | - | |
3269 | | - | |
3270 | | - | |
3271 | | - | |
3272 | | - | |
3273 | | - | |
3274 | | - | |
| 3263 | + | |
| 3264 | + | |
| 3265 | + | |
| 3266 | + | |
| 3267 | + | |
| 3268 | + | |
| 3269 | + | |
| 3270 | + | |
| 3271 | + | |
| 3272 | + | |
| 3273 | + | |
| 3274 | + | |
| 3275 | + | |
| 3276 | + | |
| 3277 | + | |
| 3278 | + | |
| 3279 | + | |
| 3280 | + | |
| 3281 | + | |
| 3282 | + | |
| 3283 | + | |
| 3284 | + | |
| 3285 | + | |
| 3286 | + | |
| 3287 | + | |
| 3288 | + | |
| 3289 | + | |
| 3290 | + | |
| 3291 | + | |
| 3292 | + | |
| 3293 | + | |
| 3294 | + | |
| 3295 | + | |
| 3296 | + | |
| 3297 | + | |
| 3298 | + | |
| 3299 | + | |
| 3300 | + | |
| 3301 | + | |
| 3302 | + | |
| 3303 | + | |
| 3304 | + | |
| 3305 | + | |
| 3306 | + | |
| 3307 | + | |
| 3308 | + | |
| 3309 | + | |
| 3310 | + | |
| 3311 | + | |
| 3312 | + | |
| 3313 | + | |
| 3314 | + | |
| 3315 | + | |
| 3316 | + | |
| 3317 | + | |
| 3318 | + | |
| 3319 | + | |
| 3320 | + | |
| 3321 | + | |
3275 | 3322 | | |
3276 | 3323 | | |
3277 | 3324 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
5 | 6 | | |
6 | 7 | | |
7 | 8 | | |
| |||
34 | 35 | | |
35 | 36 | | |
36 | 37 | | |
37 | | - | |
38 | 38 | | |
39 | 39 | | |
| 40 | + | |
40 | 41 | | |
41 | 42 | | |
42 | 43 | | |
| |||
1323 | 1324 | | |
1324 | 1325 | | |
1325 | 1326 | | |
1326 | | - | |
| 1327 | + | |
| 1328 | + | |
| 1329 | + | |
1327 | 1330 | | |
1328 | 1331 | | |
1329 | 1332 | | |
| |||
1347 | 1350 | | |
1348 | 1351 | | |
1349 | 1352 | | |
1350 | | - | |
1351 | | - | |
1352 | | - | |
1353 | | - | |
1354 | | - | |
1355 | | - | |
1356 | | - | |
1357 | | - | |
1358 | | - | |
1359 | | - | |
1360 | | - | |
| 1353 | + | |
| 1354 | + | |
| 1355 | + | |
| 1356 | + | |
| 1357 | + | |
| 1358 | + | |
| 1359 | + | |
| 1360 | + | |
| 1361 | + | |
| 1362 | + | |
| 1363 | + | |
| 1364 | + | |
1361 | 1365 | | |
| 1366 | + | |
| 1367 | + | |
| 1368 | + | |
| 1369 | + | |
| 1370 | + | |
| 1371 | + | |
| 1372 | + | |
| 1373 | + | |
| 1374 | + | |
| 1375 | + | |
| 1376 | + | |
| 1377 | + | |
| 1378 | + | |
1362 | 1379 | | |
1363 | 1380 | | |
1364 | 1381 | | |
| |||
0 commit comments