@theia/ai-ide 1.67.0-next.86 → 1.68.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-configuration/agent-configuration-widget.js +8 -8
- package/lib/browser/ai-configuration/agent-configuration-widget.js.map +1 -1
- package/lib/browser/ai-configuration/mcp-configuration-widget.d.ts.map +1 -1
- package/lib/browser/ai-configuration/mcp-configuration-widget.js +6 -6
- package/lib/browser/ai-configuration/mcp-configuration-widget.js.map +1 -1
- package/lib/browser/ai-configuration/prompt-fragments-configuration-widget.js +10 -10
- package/lib/browser/ai-configuration/prompt-fragments-configuration-widget.js.map +1 -1
- package/lib/browser/ai-configuration/token-usage-configuration-widget.js +1 -1
- package/lib/browser/ai-configuration/token-usage-configuration-widget.js.map +1 -1
- package/lib/browser/ai-configuration/tools-configuration-widget.d.ts.map +1 -1
- package/lib/browser/ai-configuration/tools-configuration-widget.js +3 -3
- package/lib/browser/ai-configuration/tools-configuration-widget.js.map +1 -1
- package/lib/browser/default-chat-agent-recommendation-service.d.ts +5 -0
- package/lib/browser/default-chat-agent-recommendation-service.d.ts.map +1 -0
- package/lib/browser/default-chat-agent-recommendation-service.js +47 -0
- package/lib/browser/default-chat-agent-recommendation-service.js.map +1 -0
- package/lib/browser/frontend-module.d.ts.map +1 -1
- package/lib/browser/frontend-module.js +3 -3
- package/lib/browser/frontend-module.js.map +1 -1
- package/lib/browser/ide-chat-welcome-message-provider.d.ts +36 -0
- package/lib/browser/ide-chat-welcome-message-provider.d.ts.map +1 -1
- package/lib/browser/ide-chat-welcome-message-provider.js +204 -1
- package/lib/browser/ide-chat-welcome-message-provider.js.map +1 -1
- package/package.json +21 -21
- package/src/browser/ai-configuration/agent-configuration-widget.tsx +8 -8
- package/src/browser/ai-configuration/mcp-configuration-widget.tsx +6 -6
- package/src/browser/ai-configuration/prompt-fragments-configuration-widget.tsx +10 -10
- package/src/browser/ai-configuration/token-usage-configuration-widget.tsx +1 -1
- package/src/browser/ai-configuration/tools-configuration-widget.tsx +3 -3
- package/src/browser/default-chat-agent-recommendation-service.ts +43 -0
- package/src/browser/frontend-module.ts +6 -7
- package/src/browser/ide-chat-welcome-message-provider.tsx +300 -2
- package/src/browser/style/index.css +177 -12
|
@@ -71,8 +71,7 @@
|
|
|
71
71
|
padding: var(--theia-ui-padding);
|
|
72
72
|
}
|
|
73
73
|
|
|
74
|
-
.theia-settings-container
|
|
75
|
-
.settings-section-subcategory-title.ai-settings-section-subcategory-title {
|
|
74
|
+
.theia-settings-container .settings-section-subcategory-title.ai-settings-section-subcategory-title {
|
|
76
75
|
padding-left: 0;
|
|
77
76
|
}
|
|
78
77
|
|
|
@@ -255,11 +254,11 @@
|
|
|
255
254
|
border-radius: 50%;
|
|
256
255
|
}
|
|
257
256
|
|
|
258
|
-
.toggle-switch input:checked
|
|
257
|
+
.toggle-switch input:checked+.toggle-slider {
|
|
259
258
|
background-color: var(--theia-button-background);
|
|
260
259
|
}
|
|
261
260
|
|
|
262
|
-
.toggle-switch input:checked
|
|
261
|
+
.toggle-switch input:checked+.toggle-slider:before {
|
|
263
262
|
transform: translateX(16px);
|
|
264
263
|
background-color: var(--theia-button-foreground);
|
|
265
264
|
}
|
|
@@ -327,18 +326,17 @@
|
|
|
327
326
|
.settings-section-subcategory-title {
|
|
328
327
|
font-size: var(--theia-ui-font-size2);
|
|
329
328
|
font-weight: 600;
|
|
330
|
-
margin: calc(var(--theia-ui-padding) * 3) 0
|
|
331
|
-
calc(var(--theia-ui-padding) * 1.5) 0;
|
|
329
|
+
margin: calc(var(--theia-ui-padding) * 3) 0 calc(var(--theia-ui-padding) * 1.5) 0;
|
|
332
330
|
padding: 0;
|
|
333
331
|
color: var(--theia-foreground);
|
|
334
332
|
}
|
|
335
333
|
|
|
336
334
|
/* Detail pane content sections */
|
|
337
|
-
.ai-configuration-detail
|
|
335
|
+
.ai-configuration-detail>div {
|
|
338
336
|
margin-bottom: calc(var(--theia-ui-padding) * 2);
|
|
339
337
|
}
|
|
340
338
|
|
|
341
|
-
.ai-configuration-detail
|
|
339
|
+
.ai-configuration-detail>div:last-child {
|
|
342
340
|
margin-bottom: 0;
|
|
343
341
|
}
|
|
344
342
|
|
|
@@ -763,8 +761,7 @@
|
|
|
763
761
|
}
|
|
764
762
|
|
|
765
763
|
.prompt-fragment-body {
|
|
766
|
-
padding: var(--theia-ui-padding) var(--theia-ui-padding) 0
|
|
767
|
-
var(--theia-ui-padding);
|
|
764
|
+
padding: var(--theia-ui-padding) var(--theia-ui-padding) 0 var(--theia-ui-padding);
|
|
768
765
|
}
|
|
769
766
|
|
|
770
767
|
.prompt-fragment-description p {
|
|
@@ -804,9 +801,15 @@
|
|
|
804
801
|
margin-top: 0;
|
|
805
802
|
}
|
|
806
803
|
|
|
804
|
+
.theia-WelcomeMessage-Content h2 {
|
|
805
|
+
margin-top: 0;
|
|
806
|
+
margin-bottom: calc(var(--theia-ui-padding) * 2);
|
|
807
|
+
font-size: var(--theia-ui-font-size3);
|
|
808
|
+
}
|
|
809
|
+
|
|
807
810
|
.theia-WelcomeMessage-Content p {
|
|
808
|
-
font-size: var(--theia-ui-font-
|
|
809
|
-
line-height:
|
|
811
|
+
font-size: var(--theia-ui-font-size1);
|
|
812
|
+
line-height: var(--theia-content-line-height);
|
|
810
813
|
}
|
|
811
814
|
|
|
812
815
|
.theia-WelcomeMessage-Content p .codicon {
|
|
@@ -818,6 +821,148 @@
|
|
|
818
821
|
font-style: normal;
|
|
819
822
|
}
|
|
820
823
|
|
|
824
|
+
.theia-WelcomeMessage-Content ul {
|
|
825
|
+
text-align: left;
|
|
826
|
+
padding-left: 20px;
|
|
827
|
+
list-style-position: outside;
|
|
828
|
+
}
|
|
829
|
+
|
|
830
|
+
.theia-WelcomeMessage-Error .theia-WelcomeMessage-ErrorIcon {
|
|
831
|
+
font-size: calc(var(--theia-ui-font-size1) * 3.7);
|
|
832
|
+
margin-bottom: calc(var(--theia-ui-padding) * 2.5);
|
|
833
|
+
}
|
|
834
|
+
|
|
835
|
+
.theia-WelcomeMessage-Actions {
|
|
836
|
+
display: flex;
|
|
837
|
+
flex-direction: column;
|
|
838
|
+
gap: var(--theia-ui-padding);
|
|
839
|
+
margin: calc(var(--theia-ui-padding) * 3) 0;
|
|
840
|
+
}
|
|
841
|
+
|
|
842
|
+
.theia-WelcomeMessage-Actions .theia-button {
|
|
843
|
+
padding: 6px 9px;
|
|
844
|
+
border-radius: 2px;
|
|
845
|
+
cursor: pointer;
|
|
846
|
+
font-size: var(--theia-ui-font-size1);
|
|
847
|
+
border: 1px solid var(--theia-button-border);
|
|
848
|
+
transition: background-color 0.2s;
|
|
849
|
+
margin-left: 0;
|
|
850
|
+
}
|
|
851
|
+
|
|
852
|
+
.theia-WelcomeMessage-Actions .theia-button.main {
|
|
853
|
+
background-color: var(--theia-button-background);
|
|
854
|
+
color: var(--theia-button-foreground);
|
|
855
|
+
}
|
|
856
|
+
|
|
857
|
+
.theia-WelcomeMessage-Actions .theia-button.main:hover {
|
|
858
|
+
background-color: var(--theia-button-hoverBackground);
|
|
859
|
+
}
|
|
860
|
+
|
|
861
|
+
.theia-WelcomeMessage-Actions .theia-button.secondary {
|
|
862
|
+
background-color: var(--theia-button-secondaryBackground);
|
|
863
|
+
color: var(--theia-button-secondaryForeground);
|
|
864
|
+
}
|
|
865
|
+
|
|
866
|
+
.theia-WelcomeMessage-Actions .theia-button.secondary:hover {
|
|
867
|
+
background-color: var(--theia-button-secondaryHoverBackground);
|
|
868
|
+
}
|
|
869
|
+
|
|
870
|
+
.theia-WelcomeMessage-Hint {
|
|
871
|
+
display: block;
|
|
872
|
+
margin-top: calc(var(--theia-ui-padding) * 2);
|
|
873
|
+
color: var(--theia-descriptionForeground);
|
|
874
|
+
font-style: italic;
|
|
875
|
+
}
|
|
876
|
+
|
|
877
|
+
.theia-WelcomeMessage-Options {
|
|
878
|
+
margin: calc(var(--theia-ui-padding) * 3) 0;
|
|
879
|
+
text-align: left;
|
|
880
|
+
}
|
|
881
|
+
|
|
882
|
+
.theia-WelcomeMessage-GuidanceList {
|
|
883
|
+
text-align: left;
|
|
884
|
+
margin: calc(var(--theia-ui-padding) * 2) 0;
|
|
885
|
+
padding-left: 20px;
|
|
886
|
+
line-height: 1.6;
|
|
887
|
+
}
|
|
888
|
+
|
|
889
|
+
.theia-WelcomeMessage-GuidanceList li {
|
|
890
|
+
margin-bottom: calc(var(--theia-ui-padding) * 1.3);
|
|
891
|
+
}
|
|
892
|
+
|
|
893
|
+
.theia-WelcomeMessage-IssuesList {
|
|
894
|
+
text-align: left;
|
|
895
|
+
margin: calc(var(--theia-ui-padding) * 1.3) 0;
|
|
896
|
+
padding-left: 20px;
|
|
897
|
+
color: var(--theia-errorForeground);
|
|
898
|
+
font-size: 0.9em;
|
|
899
|
+
line-height: 1.5;
|
|
900
|
+
}
|
|
901
|
+
|
|
902
|
+
.theia-WelcomeMessage-IssuesList li {
|
|
903
|
+
margin-bottom: calc(var(--theia-ui-padding) * 0.7);
|
|
904
|
+
}
|
|
905
|
+
|
|
906
|
+
.theia-WelcomeMessage-AgentButtons {
|
|
907
|
+
display: flex;
|
|
908
|
+
flex-direction: column;
|
|
909
|
+
gap: var(--theia-ui-padding);
|
|
910
|
+
margin: calc(var(--theia-ui-padding) * 3) 0;
|
|
911
|
+
}
|
|
912
|
+
|
|
913
|
+
.theia-WelcomeMessage-AgentButton {
|
|
914
|
+
display: flex;
|
|
915
|
+
align-items: center;
|
|
916
|
+
padding: 6px 9px;
|
|
917
|
+
background-color: var(--theia-button-background);
|
|
918
|
+
color: var(--theia-button-foreground);
|
|
919
|
+
border: 1px solid var(--theia-button-border);
|
|
920
|
+
border-radius: 2px;
|
|
921
|
+
cursor: pointer;
|
|
922
|
+
font-size: var(--theia-ui-font-size1);
|
|
923
|
+
transition: background-color 0.2s;
|
|
924
|
+
text-align: left;
|
|
925
|
+
width: 100%;
|
|
926
|
+
min-height: 28px;
|
|
927
|
+
}
|
|
928
|
+
|
|
929
|
+
.theia-WelcomeMessage-AgentButton:hover {
|
|
930
|
+
background-color: var(--theia-button-hoverBackground);
|
|
931
|
+
}
|
|
932
|
+
|
|
933
|
+
.theia-WelcomeMessage-AgentButton-Icon {
|
|
934
|
+
font-size: var(--theia-ui-font-size2);
|
|
935
|
+
font-weight: bold;
|
|
936
|
+
margin-right: var(--theia-ui-padding);
|
|
937
|
+
color: var(--theia-button-foreground);
|
|
938
|
+
}
|
|
939
|
+
|
|
940
|
+
.theia-WelcomeMessage-AgentButton-Label {
|
|
941
|
+
font-weight: 500;
|
|
942
|
+
}
|
|
943
|
+
|
|
944
|
+
.theia-WelcomeMessage-AlternativeOptions {
|
|
945
|
+
margin-top: calc(var(--theia-ui-padding) * 4);
|
|
946
|
+
padding-top: calc(var(--theia-ui-padding) * 3);
|
|
947
|
+
border-top: 1px solid var(--theia-panelTitle-activeBorder);
|
|
948
|
+
}
|
|
949
|
+
|
|
950
|
+
.theia-WelcomeMessage-OrDivider {
|
|
951
|
+
text-align: center;
|
|
952
|
+
color: var(--theia-descriptionForeground);
|
|
953
|
+
font-size: 0.9em;
|
|
954
|
+
margin: 0 0 calc(var(--theia-ui-padding) * 2.5) 0;
|
|
955
|
+
text-transform: uppercase;
|
|
956
|
+
letter-spacing: 0.5px;
|
|
957
|
+
}
|
|
958
|
+
|
|
959
|
+
.theia-WelcomeMessage-RecommendedNote {
|
|
960
|
+
font-size: 0.9em;
|
|
961
|
+
color: var(--theia-descriptionForeground);
|
|
962
|
+
margin: calc(var(--theia-ui-padding) * 1.3) 0 calc(var(--theia-ui-padding) * 2) 0;
|
|
963
|
+
font-weight: 500;
|
|
964
|
+
}
|
|
965
|
+
|
|
821
966
|
/*
|
|
822
967
|
* AI Tools Configuration Widget Styles
|
|
823
968
|
* Only touch styles in this section for the tools configuration widget
|
|
@@ -904,71 +1049,91 @@
|
|
|
904
1049
|
.ai-model-alias-list {
|
|
905
1050
|
width: 25%;
|
|
906
1051
|
}
|
|
1052
|
+
|
|
907
1053
|
.ai-alias-detail-title {
|
|
908
1054
|
padding-left: 0;
|
|
909
1055
|
padding-bottom: var(--theia-ui-padding);
|
|
910
1056
|
}
|
|
1057
|
+
|
|
911
1058
|
.ai-alias-detail-description {
|
|
912
1059
|
padding-bottom: var(--theia-ui-padding);
|
|
913
1060
|
}
|
|
1061
|
+
|
|
914
1062
|
.ai-alias-detail-selected-model {
|
|
915
1063
|
margin-bottom: calc(var(--theia-ui-padding) * 2);
|
|
916
1064
|
}
|
|
1065
|
+
|
|
917
1066
|
.ai-language-model-item-ready {
|
|
918
1067
|
font-style: normal;
|
|
919
1068
|
}
|
|
1069
|
+
|
|
920
1070
|
.ai-language-model-item-not-ready {
|
|
921
1071
|
font-style: italic;
|
|
922
1072
|
}
|
|
1073
|
+
|
|
923
1074
|
.ai-alias-priority-item-resolved {
|
|
924
1075
|
font-weight: bold;
|
|
925
1076
|
}
|
|
1077
|
+
|
|
926
1078
|
.ai-alias-priority-item-ready {
|
|
927
1079
|
font-style: inherit;
|
|
928
1080
|
}
|
|
1081
|
+
|
|
929
1082
|
.ai-alias-priority-item-not-ready {
|
|
930
1083
|
font-style: italic;
|
|
931
1084
|
}
|
|
1085
|
+
|
|
932
1086
|
.ai-alias-detail-defaults {
|
|
933
1087
|
margin-bottom: var(--theia-ui-padding);
|
|
934
1088
|
}
|
|
1089
|
+
|
|
935
1090
|
.ai-model-default-not-ready {
|
|
936
1091
|
font-style: italic;
|
|
937
1092
|
color: var(--theia-descriptionForeground);
|
|
938
1093
|
}
|
|
1094
|
+
|
|
939
1095
|
.ai-alias-defaults-hint {
|
|
940
1096
|
color: var(--theia-descriptionForeground);
|
|
941
1097
|
margin-top: var(--theia-ui-padding);
|
|
942
1098
|
}
|
|
1099
|
+
|
|
943
1100
|
.ai-alias-evaluates-to-container {
|
|
944
1101
|
margin-top: var(--theia-ui-padding);
|
|
945
1102
|
margin-bottom: var(--theia-ui-padding);
|
|
946
1103
|
}
|
|
1104
|
+
|
|
947
1105
|
.ai-alias-evaluates-to-label {
|
|
948
1106
|
font-weight: 600;
|
|
949
1107
|
}
|
|
1108
|
+
|
|
950
1109
|
.ai-model-status-ready {
|
|
951
1110
|
color: var(--theia-ansi-green-color);
|
|
952
1111
|
margin-left: var(--theia-ui-padding);
|
|
953
1112
|
}
|
|
1113
|
+
|
|
954
1114
|
.ai-model-status-not-ready {
|
|
955
1115
|
color: var(--theia-ansi-red-color);
|
|
956
1116
|
margin-left: var(--theia-ui-padding);
|
|
957
1117
|
}
|
|
1118
|
+
|
|
958
1119
|
.ai-alias-evaluates-to-unresolved {
|
|
959
1120
|
margin-left: var(--theia-ui-padding);
|
|
960
1121
|
color: var(--theia-descriptionForeground);
|
|
961
1122
|
}
|
|
1123
|
+
|
|
962
1124
|
.ai-alias-detail-agents {
|
|
963
1125
|
margin-bottom: var(--theia-ui-padding);
|
|
964
1126
|
}
|
|
1127
|
+
|
|
965
1128
|
.ai-alias-agent-id {
|
|
966
1129
|
color: var(--theia-descriptionForeground);
|
|
967
1130
|
margin-left: var(--theia-ui-padding);
|
|
968
1131
|
}
|
|
1132
|
+
|
|
969
1133
|
.ai-alias-no-agents {
|
|
970
1134
|
color: var(--theia-descriptionForeground);
|
|
971
1135
|
}
|
|
1136
|
+
|
|
972
1137
|
/* End AI Model Aliases and Language Model Renderer extracted styles */
|
|
973
1138
|
|
|
974
1139
|
/* Token Usage Configuration Styles */
|