|
47 | 47 | "type": "string",
|
48 | 48 | "description": "Installed CLI"
|
49 | 49 | },
|
50 |
| - { |
51 |
| - "name": "cwsprChatTriggerInteraction", |
52 |
| - "type": "string", |
53 |
| - "allowedValues": ["hotkeys", "click", "contextMenu"], |
54 |
| - "description": "Identifies the specific interaction that opens the chat panel" |
55 |
| - }, |
56 |
| - { |
57 |
| - "name": "cwsprChatConversationId", |
58 |
| - "type": "string", |
59 |
| - "description": "Unique identifier for each conversation" |
60 |
| - }, |
61 |
| - { |
62 |
| - "name": "cwsprChatUserIntent", |
63 |
| - "type": "string", |
64 |
| - "allowedValues": [ |
65 |
| - "suggestAlternateImplementation", |
66 |
| - "applyCommonBestPractices", |
67 |
| - "improveCode", |
68 |
| - "showExample", |
69 |
| - "citeSources", |
70 |
| - "explainLineByLine", |
71 |
| - "explainCodeSelection", |
72 |
| - "generateUnitTests" |
73 |
| - ], |
74 |
| - "description": "Explict user intent associated with a chat message" |
75 |
| - }, |
76 |
| - { |
77 |
| - "name": "cwsprChatHasCodeSnippet", |
78 |
| - "type": "boolean", |
79 |
| - "description": "true if user has selected code snippet, false otherwise." |
80 |
| - }, |
81 |
| - { |
82 |
| - "name": "cwsprChatHasProjectContext", |
83 |
| - "type": "boolean", |
84 |
| - "description": "true if query has project level context, false otherwise." |
85 |
| - }, |
86 |
| - { |
87 |
| - "name": "cwsprChatProjectContextQueryMs", |
88 |
| - "type": "int", |
89 |
| - "description": "Query latency in ms for local project context" |
90 |
| - }, |
91 |
| - { |
92 |
| - "name": "cwsprChatFolderContextCount", |
93 |
| - "type": "int", |
94 |
| - "description": "Number of folders manually added to context" |
95 |
| - }, |
96 |
| - { |
97 |
| - "name": "cwsprChatFileContextCount", |
98 |
| - "type": "int", |
99 |
| - "description": "Number of files manually added to context" |
100 |
| - }, |
101 |
| - { |
102 |
| - "name": "cwsprChatFileContextLength", |
103 |
| - "type": "int", |
104 |
| - "description": "Total length of files added to context" |
105 |
| - }, |
106 |
| - { |
107 |
| - "name": "cwsprChatFileContextTruncatedLength", |
108 |
| - "type": "int", |
109 |
| - "description": "Truncated length of files added to context" |
110 |
| - }, |
111 |
| - { |
112 |
| - "name": "cwsprChatPromptContextCount", |
113 |
| - "type": "int", |
114 |
| - "description": "Number of saved prompts manually added to context" |
115 |
| - }, |
116 |
| - { |
117 |
| - "name": "cwsprChatPromptContextLength", |
118 |
| - "type": "int", |
119 |
| - "description": "Total length of saved prompts added to context" |
120 |
| - }, |
121 |
| - { |
122 |
| - "name": "cwsprChatPromptContextTruncatedLength", |
123 |
| - "type": "int", |
124 |
| - "description": "Truncated length of saved prompts added to context" |
125 |
| - }, |
126 |
| - { |
127 |
| - "name": "cwsprChatRuleContextCount", |
128 |
| - "type": "int", |
129 |
| - "description": "Number of workspace rules automatically added to context" |
130 |
| - }, |
131 |
| - { |
132 |
| - "name": "cwsprChatRuleContextLength", |
133 |
| - "type": "int", |
134 |
| - "description": "Total length of workspace rules added to context" |
135 |
| - }, |
136 |
| - { |
137 |
| - "name": "cwsprChatRuleContextTruncatedLength", |
138 |
| - "type": "int", |
139 |
| - "description": "Truncated length of workspace rules added to context" |
140 |
| - }, |
141 |
| - { |
142 |
| - "name": "cwsprChatHasContextList", |
143 |
| - "type": "boolean", |
144 |
| - "description": "true if context list is displayed to user" |
145 |
| - }, |
146 | 50 | {
|
147 | 51 | "name": "amazonqIndexFileSizeInMB",
|
148 | 52 | "type": "int",
|
|
163 | 67 | "type": "int",
|
164 | 68 | "description": "CPU used by LSP server as a percentage of all available CPUs on the system"
|
165 | 69 | },
|
166 |
| - { |
167 |
| - "name": "cwsprChatConversationType", |
168 |
| - "type": "string", |
169 |
| - "allowedValues": ["Chat", "Assign", "Transform"], |
170 |
| - "description": "Identifies the type of conversation" |
171 |
| - }, |
172 |
| - { |
173 |
| - "name": "cwsprChatMessageId", |
174 |
| - "type": "string", |
175 |
| - "description": "Unique identifier for each message in an conversation" |
176 |
| - }, |
177 |
| - { |
178 |
| - "name": "cwsprChatActiveEditorTotalCharacters", |
179 |
| - "type": "int", |
180 |
| - "description": "Total number of characters in the active editor" |
181 |
| - }, |
182 |
| - { |
183 |
| - "name": "cwsprChatActiveEditorImportCount", |
184 |
| - "type": "int", |
185 |
| - "description": "Number of import statements in the active editor" |
186 |
| - }, |
187 |
| - { |
188 |
| - "name": "cwsprChatResponseCodeSnippetCount", |
189 |
| - "type": "int", |
190 |
| - "description": "Number of code snippets in response" |
191 |
| - }, |
192 |
| - { |
193 |
| - "name": "cwsprChatResponseCode", |
194 |
| - "type": "int", |
195 |
| - "description": "HTTP response code for message API invocation" |
196 |
| - }, |
197 | 70 | {
|
198 | 71 | "name": "cwsprChatResponseErrorReason",
|
199 | 72 | "type": "string",
|
200 | 73 | "description": "Client error reason when processing response stream"
|
201 | 74 | },
|
202 |
| - { |
203 |
| - "name": "cwsprChatSourceLinkCount", |
204 |
| - "type": "int", |
205 |
| - "description": "Number of links in response" |
206 |
| - }, |
207 |
| - { |
208 |
| - "name": "cwsprChatReferencesCount", |
209 |
| - "type": "int", |
210 |
| - "description": "Number of references in response" |
211 |
| - }, |
212 |
| - { |
213 |
| - "name": "cwsprChatFollowUpCount", |
214 |
| - "type": "int", |
215 |
| - "description": "Number of follow ups in response" |
216 |
| - }, |
217 |
| - { |
218 |
| - "name": "cwsprChatTimeToFirstChunk", |
219 |
| - "type": "int", |
220 |
| - "description": "The time between when the conversation id was created and when we got back the first usable result" |
221 |
| - }, |
222 |
| - { |
223 |
| - "name": "cwsprChatTimeBetweenChunks", |
224 |
| - "type": "string", |
225 |
| - "description": "An array of time when successive chunks of data are received from the server" |
226 |
| - }, |
227 |
| - { |
228 |
| - "name": "cwsprChatFullResponseLatency", |
229 |
| - "type": "int", |
230 |
| - "description": "The time between when the conversation id was created and the final response from the server was received" |
231 |
| - }, |
232 |
| - { |
233 |
| - "name": "cwsprChatTimeToFirstUsableChunk", |
234 |
| - "type": "int", |
235 |
| - "description": "The time between the initial server request, including creating the conversation id, and the first usable result" |
236 |
| - }, |
237 |
| - { |
238 |
| - "name": "cwsprChatFullServerResponseLatency", |
239 |
| - "type": "int", |
240 |
| - "description": "The time between the initial server request, including creating the conversation id, and the final response from the server" |
241 |
| - }, |
242 |
| - { |
243 |
| - "name": "cwsprChatTimeToFirstDisplay", |
244 |
| - "type": "int", |
245 |
| - "description": "The time between the user pressing enter and when the first chunk of data is displayed to the user" |
246 |
| - }, |
247 |
| - { |
248 |
| - "name": "cwsprChatTimeBetweenDisplays", |
249 |
| - "type": "string", |
250 |
| - "description": "An array of time when successive chunks of server responses are displayed to the user" |
251 |
| - }, |
252 |
| - { |
253 |
| - "name": "cwsprChatFullDisplayLatency", |
254 |
| - "type": "int", |
255 |
| - "description": "The time between the user pressing enter and the entire response being rendered" |
256 |
| - }, |
257 |
| - { |
258 |
| - "name": "cwsprChatResponseLength", |
259 |
| - "type": "int", |
260 |
| - "description": "Number of characters in response" |
261 |
| - }, |
262 |
| - { |
263 |
| - "name": "cwsprChatRequestLength", |
264 |
| - "type": "int", |
265 |
| - "description": "Number of characters in request" |
266 |
| - }, |
267 | 75 | {
|
268 | 76 | "name": "cwsprChatInteractionTarget",
|
269 | 77 | "type": "string",
|
|
819 | 627 | }
|
820 | 628 | ]
|
821 | 629 | },
|
822 |
| - { |
823 |
| - "name": "amazonq_addMessage", |
824 |
| - "description": "When a message is added to the conversation", |
825 |
| - "metadata": [ |
826 |
| - { |
827 |
| - "type": "cwsprChatConversationId" |
828 |
| - }, |
829 |
| - { |
830 |
| - "type": "credentialStartUrl", |
831 |
| - "required": false |
832 |
| - }, |
833 |
| - { |
834 |
| - "type": "cwsprChatMessageId" |
835 |
| - }, |
836 |
| - { |
837 |
| - "type": "cwsprChatTriggerInteraction" |
838 |
| - }, |
839 |
| - { |
840 |
| - "type": "cwsprChatUserIntent", |
841 |
| - "required": false |
842 |
| - }, |
843 |
| - { |
844 |
| - "type": "cwsprChatHasCodeSnippet", |
845 |
| - "required": false |
846 |
| - }, |
847 |
| - { |
848 |
| - "type": "cwsprChatProgrammingLanguage", |
849 |
| - "required": false |
850 |
| - }, |
851 |
| - { |
852 |
| - "type": "cwsprChatActiveEditorTotalCharacters", |
853 |
| - "required": false |
854 |
| - }, |
855 |
| - { |
856 |
| - "type": "cwsprChatActiveEditorImportCount", |
857 |
| - "required": false |
858 |
| - }, |
859 |
| - { |
860 |
| - "type": "cwsprChatResponseCodeSnippetCount", |
861 |
| - "required": false |
862 |
| - }, |
863 |
| - { |
864 |
| - "type": "cwsprChatResponseCode" |
865 |
| - }, |
866 |
| - { |
867 |
| - "type": "cwsprChatSourceLinkCount", |
868 |
| - "required": false |
869 |
| - }, |
870 |
| - { |
871 |
| - "type": "cwsprChatReferencesCount", |
872 |
| - "required": false |
873 |
| - }, |
874 |
| - { |
875 |
| - "type": "cwsprChatFollowUpCount", |
876 |
| - "required": false |
877 |
| - }, |
878 |
| - { |
879 |
| - "type": "cwsprChatTimeToFirstChunk" |
880 |
| - }, |
881 |
| - { |
882 |
| - "type": "cwsprChatTimeBetweenChunks" |
883 |
| - }, |
884 |
| - { |
885 |
| - "type": "cwsprChatFullResponseLatency" |
886 |
| - }, |
887 |
| - { |
888 |
| - "type": "cwsprChatTimeToFirstUsableChunk" |
889 |
| - }, |
890 |
| - { |
891 |
| - "type": "cwsprChatFullServerResponseLatency" |
892 |
| - }, |
893 |
| - { |
894 |
| - "type": "cwsprChatTimeToFirstDisplay" |
895 |
| - }, |
896 |
| - { |
897 |
| - "type": "cwsprChatFullDisplayLatency" |
898 |
| - }, |
899 |
| - { |
900 |
| - "type": "cwsprChatTimeBetweenDisplays" |
901 |
| - }, |
902 |
| - { |
903 |
| - "type": "cwsprChatRequestLength" |
904 |
| - }, |
905 |
| - { |
906 |
| - "type": "cwsprChatResponseLength", |
907 |
| - "required": false |
908 |
| - }, |
909 |
| - { |
910 |
| - "type": "cwsprChatConversationType" |
911 |
| - }, |
912 |
| - { |
913 |
| - "type": "cwsprChatHasProjectContext", |
914 |
| - "required": false |
915 |
| - }, |
916 |
| - { |
917 |
| - "type": "codewhispererCustomizationArn", |
918 |
| - "required": false |
919 |
| - }, |
920 |
| - { |
921 |
| - "type": "cwsprChatHasContextList", |
922 |
| - "required": false |
923 |
| - }, |
924 |
| - { |
925 |
| - "type": "cwsprChatFolderContextCount", |
926 |
| - "required": false |
927 |
| - }, |
928 |
| - { |
929 |
| - "type": "cwsprChatFileContextCount", |
930 |
| - "required": false |
931 |
| - }, |
932 |
| - { |
933 |
| - "type": "cwsprChatFileContextLength", |
934 |
| - "required": false |
935 |
| - }, |
936 |
| - { |
937 |
| - "type": "cwsprChatFileContextTruncatedLength", |
938 |
| - "required": false |
939 |
| - }, |
940 |
| - { |
941 |
| - "type": "cwsprChatPromptContextCount", |
942 |
| - "required": false |
943 |
| - }, |
944 |
| - { |
945 |
| - "type": "cwsprChatPromptContextLength", |
946 |
| - "required": false |
947 |
| - }, |
948 |
| - { |
949 |
| - "type": "cwsprChatRuleContextTruncatedLength", |
950 |
| - "required": false |
951 |
| - }, |
952 |
| - { |
953 |
| - "type": "cwsprChatRuleContextCount", |
954 |
| - "required": false |
955 |
| - }, |
956 |
| - { |
957 |
| - "type": "cwsprChatRuleContextLength", |
958 |
| - "required": false |
959 |
| - }, |
960 |
| - { |
961 |
| - "type": "cwsprChatPromptContextTruncatedLength", |
962 |
| - "required": false |
963 |
| - } |
964 |
| - ] |
965 |
| - }, |
966 | 630 | {
|
967 | 631 | "name": "amazonq_messageResponseError",
|
968 | 632 | "description": "When an error has occured in response to a prompt",
|
|
0 commit comments