@theia/ai-chat-ui 1.65.0-next.6 → 1.66.0-next.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.
- package/lib/browser/ai-chat-ui-contribution.js +4 -4
- package/lib/browser/ai-chat-ui-contribution.js.map +1 -1
- package/lib/browser/ai-chat-ui-frontend-module.d.ts.map +1 -1
- package/lib/browser/ai-chat-ui-frontend-module.js +9 -1
- package/lib/browser/ai-chat-ui-frontend-module.js.map +1 -1
- package/lib/browser/chat-input-history-contribution.d.ts +17 -0
- package/lib/browser/chat-input-history-contribution.d.ts.map +1 -0
- package/lib/browser/chat-input-history-contribution.js +157 -0
- package/lib/browser/chat-input-history-contribution.js.map +1 -0
- package/lib/browser/chat-input-history.d.ts +32 -0
- package/lib/browser/chat-input-history.d.ts.map +1 -0
- package/lib/browser/chat-input-history.js +125 -0
- package/lib/browser/chat-input-history.js.map +1 -0
- package/lib/browser/chat-input-widget.d.ts +22 -1
- package/lib/browser/chat-input-widget.d.ts.map +1 -1
- package/lib/browser/chat-input-widget.js +166 -8
- package/lib/browser/chat-input-widget.js.map +1 -1
- package/lib/browser/chat-response-renderer/tool-confirmation.d.ts +1 -1
- package/lib/browser/chat-response-renderer/tool-confirmation.d.ts.map +1 -1
- package/lib/browser/chat-response-renderer/toolcall-part-renderer.d.ts +2 -1
- package/lib/browser/chat-response-renderer/toolcall-part-renderer.d.ts.map +1 -1
- package/lib/browser/chat-response-renderer/toolcall-part-renderer.js +46 -11
- package/lib/browser/chat-response-renderer/toolcall-part-renderer.js.map +1 -1
- package/lib/browser/chat-view-commands.d.ts +2 -0
- package/lib/browser/chat-view-commands.d.ts.map +1 -1
- package/lib/browser/chat-view-commands.js +30 -23
- package/lib/browser/chat-view-commands.js.map +1 -1
- package/lib/browser/chat-view-widget.d.ts +3 -3
- package/lib/browser/chat-view-widget.d.ts.map +1 -1
- package/lib/browser/chat-view-widget.js +2 -4
- package/lib/browser/chat-view-widget.js.map +1 -1
- package/package.json +11 -12
- package/src/browser/ai-chat-ui-contribution.ts +4 -4
- package/src/browser/ai-chat-ui-frontend-module.ts +11 -2
- package/src/browser/chat-input-history-contribution.ts +166 -0
- package/src/browser/chat-input-history.ts +138 -0
- package/src/browser/chat-input-widget.tsx +197 -8
- package/src/browser/chat-response-renderer/tool-confirmation.tsx +1 -1
- package/src/browser/chat-response-renderer/toolcall-part-renderer.tsx +52 -12
- package/src/browser/chat-view-commands.ts +24 -17
- package/src/browser/chat-view-widget.tsx +3 -6
- package/src/browser/style/index.css +22 -16
|
@@ -7,8 +7,8 @@
|
|
|
7
7
|
flex: 1;
|
|
8
8
|
}
|
|
9
9
|
|
|
10
|
-
.chat-input-widget
|
|
11
|
-
.chat-input-widget
|
|
10
|
+
.chat-input-widget > .ps__rail-x,
|
|
11
|
+
.chat-input-widget > .ps__rail-y {
|
|
12
12
|
display: none !important;
|
|
13
13
|
}
|
|
14
14
|
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
overflow-wrap: break-word;
|
|
24
24
|
}
|
|
25
25
|
|
|
26
|
-
div:last-child
|
|
26
|
+
div:last-child > .theia-ChatNode {
|
|
27
27
|
border: none;
|
|
28
28
|
}
|
|
29
29
|
|
|
@@ -59,7 +59,6 @@ div:last-child>.theia-ChatNode {
|
|
|
59
59
|
}
|
|
60
60
|
|
|
61
61
|
@keyframes dots {
|
|
62
|
-
|
|
63
62
|
0%,
|
|
64
63
|
20% {
|
|
65
64
|
content: "";
|
|
@@ -122,7 +121,7 @@ div:last-child>.theia-ChatNode {
|
|
|
122
121
|
padding-inline-start: 1rem;
|
|
123
122
|
}
|
|
124
123
|
|
|
125
|
-
.theia-ChatNode li>p {
|
|
124
|
+
.theia-ChatNode li > p {
|
|
126
125
|
margin-top: 0;
|
|
127
126
|
margin-bottom: 0;
|
|
128
127
|
}
|
|
@@ -136,7 +135,7 @@ div:last-child>.theia-ChatNode {
|
|
|
136
135
|
font-size: var(--theia-code-font-size);
|
|
137
136
|
}
|
|
138
137
|
|
|
139
|
-
.theia-RequestNode>p div {
|
|
138
|
+
.theia-RequestNode > p div {
|
|
140
139
|
display: inline;
|
|
141
140
|
}
|
|
142
141
|
|
|
@@ -370,7 +369,8 @@ div:last-child>.theia-ChatNode {
|
|
|
370
369
|
text-align: center;
|
|
371
370
|
}
|
|
372
371
|
|
|
373
|
-
.theia-ChatInput-ChangeSet-List
|
|
372
|
+
.theia-ChatInput-ChangeSet-List
|
|
373
|
+
.theia-ChatInput-ChangeSet-Icon.codicon::before {
|
|
374
374
|
font-size: var(--theia-ui-font-size1);
|
|
375
375
|
}
|
|
376
376
|
|
|
@@ -387,7 +387,8 @@ div:last-child>.theia-ChatNode {
|
|
|
387
387
|
color: var(--theia-disabledForeground);
|
|
388
388
|
}
|
|
389
389
|
|
|
390
|
-
.theia-ChatInput-ChangeSet-List
|
|
390
|
+
.theia-ChatInput-ChangeSet-List
|
|
391
|
+
.theia-ChatInput-ChangeSet-AdditionalInfo-SuffixIcon {
|
|
391
392
|
font-size: var(--theia-ui-font-size0) px;
|
|
392
393
|
margin-left: 4px;
|
|
393
394
|
}
|
|
@@ -486,7 +487,7 @@ div:last-child>.theia-ChatNode {
|
|
|
486
487
|
|
|
487
488
|
.theia-ChatInput-Editor-Placeholder {
|
|
488
489
|
position: absolute;
|
|
489
|
-
top:
|
|
490
|
+
top: var(--theia-ui-padding);
|
|
490
491
|
left: 8px;
|
|
491
492
|
right: 0;
|
|
492
493
|
display: flex;
|
|
@@ -496,6 +497,7 @@ div:last-child>.theia-ChatNode {
|
|
|
496
497
|
z-index: 10;
|
|
497
498
|
text-align: left;
|
|
498
499
|
font-family: var(--theia-ui-font-family);
|
|
500
|
+
line-height: var(--theia-content-line-height);
|
|
499
501
|
}
|
|
500
502
|
|
|
501
503
|
.theia-ChatInput-Editor-Placeholder.hidden {
|
|
@@ -632,7 +634,8 @@ div:last-child>.theia-ChatNode {
|
|
|
632
634
|
display: flex;
|
|
633
635
|
flex-direction: column;
|
|
634
636
|
gap: 8px;
|
|
635
|
-
border: var(--theia-border-width) solid
|
|
637
|
+
border: var(--theia-border-width) solid
|
|
638
|
+
var(--theia-sideBarSectionHeader-border);
|
|
636
639
|
padding: 8px 12px 12px;
|
|
637
640
|
border-radius: 5px;
|
|
638
641
|
margin: 0 0 8px 0;
|
|
@@ -988,7 +991,8 @@ details[open].collapsible-arguments .collapsible-arguments-summary {
|
|
|
988
991
|
|
|
989
992
|
/* Delegation response styles */
|
|
990
993
|
.theia-delegation-container {
|
|
991
|
-
border: var(--theia-border-width) solid
|
|
994
|
+
border: var(--theia-border-width) solid
|
|
995
|
+
var(--theia-sideBarSectionHeader-border);
|
|
992
996
|
border-radius: var(--theia-ui-padding);
|
|
993
997
|
margin: var(--theia-ui-padding) 0;
|
|
994
998
|
background-color: var(--theia-sideBar-background);
|
|
@@ -1003,7 +1007,8 @@ details[open].collapsible-arguments .collapsible-arguments-summary {
|
|
|
1003
1007
|
padding: var(--theia-ui-padding);
|
|
1004
1008
|
background-color: var(--theia-editorGroupHeader-tabsBackground);
|
|
1005
1009
|
border-radius: var(--theia-ui-padding) var(--theia-ui-padding) 0 0;
|
|
1006
|
-
border-bottom: var(--theia-border-width) solid
|
|
1010
|
+
border-bottom: var(--theia-border-width) solid
|
|
1011
|
+
var(--theia-sideBarSectionHeader-border);
|
|
1007
1012
|
list-style: none;
|
|
1008
1013
|
position: relative;
|
|
1009
1014
|
}
|
|
@@ -1106,7 +1111,8 @@ details[open].collapsible-arguments .collapsible-arguments-summary {
|
|
|
1106
1111
|
.delegation-prompt-section {
|
|
1107
1112
|
margin-bottom: var(--theia-ui-padding);
|
|
1108
1113
|
padding-bottom: var(--theia-ui-padding);
|
|
1109
|
-
border-bottom: var(--theia-border-width) solid
|
|
1114
|
+
border-bottom: var(--theia-border-width) solid
|
|
1115
|
+
var(--theia-sideBarSectionHeader-border);
|
|
1110
1116
|
}
|
|
1111
1117
|
|
|
1112
1118
|
.delegation-prompt {
|
|
@@ -1123,7 +1129,7 @@ details[open].collapsible-arguments .collapsible-arguments-summary {
|
|
|
1123
1129
|
margin-top: var(--theia-ui-padding);
|
|
1124
1130
|
}
|
|
1125
1131
|
|
|
1126
|
-
.delegation-response-section>strong {
|
|
1132
|
+
.delegation-response-section > strong {
|
|
1127
1133
|
display: block;
|
|
1128
1134
|
margin-bottom: var(--theia-ui-padding);
|
|
1129
1135
|
color: var(--theia-foreground);
|
|
@@ -1144,7 +1150,7 @@ details[open].collapsible-arguments .collapsible-arguments-summary {
|
|
|
1144
1150
|
height: 32px;
|
|
1145
1151
|
border-radius: 16px;
|
|
1146
1152
|
border: none;
|
|
1147
|
-
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.
|
|
1153
|
+
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
|
|
1148
1154
|
background: var(--theia-layoutColor3, #ececec);
|
|
1149
1155
|
cursor: pointer;
|
|
1150
1156
|
display: flex;
|
|
@@ -1153,7 +1159,7 @@ details[open].collapsible-arguments .collapsible-arguments-summary {
|
|
|
1153
1159
|
font-size: 20px;
|
|
1154
1160
|
opacity: 0.7;
|
|
1155
1161
|
color: var(--theia-button-background, #007acc);
|
|
1156
|
-
transition: opacity 0.18s, background 0.
|
|
1162
|
+
transition: opacity 0.18s, background 0.2s, color 0.2s;
|
|
1157
1163
|
}
|
|
1158
1164
|
|
|
1159
1165
|
.theia-ChatTree-ScrollToBottom:hover {
|