@lvce-editor/chat-debug-view 2.7.0 → 2.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1334,6 +1334,22 @@ const getCss = () => {
|
|
|
1334
1334
|
.TokenBoolean {
|
|
1335
1335
|
color: var(--vscode-debugTokenExpression-boolean, var(--vscode-charts-yellow, #dcdcaa));
|
|
1336
1336
|
}
|
|
1337
|
+
|
|
1338
|
+
.ChatOrderedList{
|
|
1339
|
+
margin:0;
|
|
1340
|
+
padding:0;
|
|
1341
|
+
padding-left:10px;
|
|
1342
|
+
}
|
|
1343
|
+
|
|
1344
|
+
.ChatOrderedListItem{
|
|
1345
|
+
margin:0;
|
|
1346
|
+
padding:0;
|
|
1347
|
+
}
|
|
1348
|
+
|
|
1349
|
+
.ChatToolCalls{
|
|
1350
|
+
margin:0;
|
|
1351
|
+
padding:0;
|
|
1352
|
+
}
|
|
1337
1353
|
`;
|
|
1338
1354
|
};
|
|
1339
1355
|
|
|
@@ -1357,6 +1373,7 @@ const text = data => {
|
|
|
1357
1373
|
};
|
|
1358
1374
|
|
|
1359
1375
|
const HandleInput = 4;
|
|
1376
|
+
const HandleFilterInput = 5;
|
|
1360
1377
|
|
|
1361
1378
|
const numberRegex = /^-?(?:0|[1-9]\d*)(?:\.\d+)?(?:[eE][+-]?\d+)?/;
|
|
1362
1379
|
const getTokenSegments = json => {
|
|
@@ -1485,7 +1502,7 @@ const getChatDebugViewDom = (sessionId, errorMessage, filterValue, showEventStre
|
|
|
1485
1502
|
childCount: 0,
|
|
1486
1503
|
className: 'InputBox',
|
|
1487
1504
|
name: Filter,
|
|
1488
|
-
onInput:
|
|
1505
|
+
onInput: HandleFilterInput,
|
|
1489
1506
|
placeholder: 'Filter events',
|
|
1490
1507
|
type: Input,
|
|
1491
1508
|
value: filterValue
|
|
@@ -1605,6 +1622,9 @@ const render2 = (uid, diffResult) => {
|
|
|
1605
1622
|
|
|
1606
1623
|
const renderEventListeners = () => {
|
|
1607
1624
|
return [{
|
|
1625
|
+
name: HandleFilterInput,
|
|
1626
|
+
params: ['handleInput', TargetName, TargetValue]
|
|
1627
|
+
}, {
|
|
1608
1628
|
name: HandleInput,
|
|
1609
1629
|
params: ['handleInput', TargetName, TargetValue, TargetChecked]
|
|
1610
1630
|
}];
|