|
33 | 33 | "name": "codecatalyst_devEnvironmentWorkflowStep",
|
34 | 34 | "type": "string",
|
35 | 35 | "description": "Workflow step name"
|
| 36 | + }, |
| 37 | + { |
| 38 | + "name": "codewhispererCustomizationArn", |
| 39 | + "type": "string", |
| 40 | + "description": "The currently selected customization arn(None if using the base model)" |
36 | 41 | }
|
37 | 42 | ],
|
38 | 43 | "metrics": [
|
|
103 | 108 | { "type": "codecatalyst_devEnvironmentWorkflowStep"},
|
104 | 109 | { "type": "codecatalyst_devEnvironmentWorkflowError", "required": false }
|
105 | 110 | ]
|
| 111 | + }, |
| 112 | + { |
| 113 | + "name": "codewhisperer_serviceInvocation", |
| 114 | + "description": "Client side invocation of the CodeWhisperer service for suggestion", |
| 115 | + "metadata": [ |
| 116 | + { |
| 117 | + "type": "codewhispererAutomatedTriggerType", |
| 118 | + "required": false |
| 119 | + }, |
| 120 | + { |
| 121 | + "type": "codewhispererCompletionType", |
| 122 | + "required": false |
| 123 | + }, |
| 124 | + { |
| 125 | + "type": "codewhispererCursorOffset" |
| 126 | + }, |
| 127 | + { |
| 128 | + "type": "codewhispererLanguage" |
| 129 | + }, |
| 130 | + { |
| 131 | + "type": "codewhispererLastSuggestionIndex", |
| 132 | + "required": false |
| 133 | + }, |
| 134 | + { |
| 135 | + "type": "codewhispererLineNumber" |
| 136 | + }, |
| 137 | + { |
| 138 | + "type": "codewhispererRequestId", |
| 139 | + "required": false |
| 140 | + }, |
| 141 | + { |
| 142 | + "type": "codewhispererRuntime", |
| 143 | + "required": false |
| 144 | + }, |
| 145 | + { |
| 146 | + "type": "codewhispererRuntimeSource", |
| 147 | + "required": false |
| 148 | + }, |
| 149 | + { |
| 150 | + "type": "codewhispererSessionId", |
| 151 | + "required": false |
| 152 | + }, |
| 153 | + { |
| 154 | + "type": "codewhispererSupplementalContextTimeout", |
| 155 | + "required": false |
| 156 | + }, |
| 157 | + { |
| 158 | + "type": "codewhispererSupplementalContextIsUtg", |
| 159 | + "required": false |
| 160 | + }, |
| 161 | + { |
| 162 | + "type": "codewhispererSupplementalContextLatency", |
| 163 | + "required": false |
| 164 | + }, |
| 165 | + { |
| 166 | + "type": "codewhispererSupplementalContextLength", |
| 167 | + "required": false |
| 168 | + }, |
| 169 | + { |
| 170 | + "type": "codewhispererTriggerType" |
| 171 | + }, |
| 172 | + { |
| 173 | + "type": "duration" |
| 174 | + }, |
| 175 | + { |
| 176 | + "type": "reason", |
| 177 | + "required": false |
| 178 | + }, |
| 179 | + { |
| 180 | + "type": "result" |
| 181 | + }, |
| 182 | + { |
| 183 | + "type": "credentialStartUrl", |
| 184 | + "required": false |
| 185 | + }, |
| 186 | + { |
| 187 | + "type": "codewhispererImportRecommendationEnabled", |
| 188 | + "required": false |
| 189 | + }, |
| 190 | + { |
| 191 | + "type": "codewhispererCustomizationArn", |
| 192 | + "required": false |
| 193 | + }, |
| 194 | + { |
| 195 | + "type": "codewhispererUserGroup" |
| 196 | + }, |
| 197 | + { |
| 198 | + "type": "codewhispererGettingStartedTask", |
| 199 | + "required": false |
| 200 | + } |
| 201 | + ] |
| 202 | + }, |
| 203 | + { |
| 204 | + "name": "codewhisperer_codePercentage", |
| 205 | + "description": "Percentage of user tokens against suggestions until 5 mins of time", |
| 206 | + "metadata": [ |
| 207 | + { |
| 208 | + "type": "codewhispererAcceptedTokens" |
| 209 | + }, |
| 210 | + { |
| 211 | + "type": "codewhispererLanguage" |
| 212 | + }, |
| 213 | + { |
| 214 | + "type": "codewhispererPercentage" |
| 215 | + }, |
| 216 | + { |
| 217 | + "type": "codewhispererTotalTokens" |
| 218 | + }, |
| 219 | + { |
| 220 | + "type": "reason", |
| 221 | + "required": false |
| 222 | + }, |
| 223 | + { |
| 224 | + "type": "successCount" |
| 225 | + }, |
| 226 | + { |
| 227 | + "type": "codewhispererCustomizationArn", |
| 228 | + "required": false |
| 229 | + }, |
| 230 | + { |
| 231 | + "type": "codewhispererUserGroup" |
| 232 | + } |
| 233 | + ], |
| 234 | + "passive": true |
| 235 | + }, |
| 236 | + { |
| 237 | + "name": "codewhisperer_userTriggerDecision", |
| 238 | + "description": "User decision aggregated at trigger level", |
| 239 | + "metadata": [ |
| 240 | + { |
| 241 | + "type": "codewhispererSessionId", |
| 242 | + "required": false |
| 243 | + }, |
| 244 | + { |
| 245 | + "type": "codewhispererFirstRequestId" |
| 246 | + }, |
| 247 | + { |
| 248 | + "type": "credentialStartUrl", |
| 249 | + "required": false |
| 250 | + }, |
| 251 | + { |
| 252 | + "type": "codewhispererIsPartialAcceptance", |
| 253 | + "required": false |
| 254 | + }, |
| 255 | + { |
| 256 | + "type": "codewhispererPartialAcceptanceCount", |
| 257 | + "required": false |
| 258 | + }, |
| 259 | + { |
| 260 | + "type": "codewhispererCharactersAccepted", |
| 261 | + "required": false |
| 262 | + }, |
| 263 | + { |
| 264 | + "type": "codewhispererCharactersRecommended", |
| 265 | + "required": false |
| 266 | + }, |
| 267 | + { |
| 268 | + "type": "reason", |
| 269 | + "required": false |
| 270 | + }, |
| 271 | + { |
| 272 | + "type": "codewhispererCompletionType" |
| 273 | + }, |
| 274 | + { |
| 275 | + "type": "codewhispererLanguage" |
| 276 | + }, |
| 277 | + { |
| 278 | + "type": "codewhispererGettingStartedTask", |
| 279 | + "required": false |
| 280 | + }, |
| 281 | + { |
| 282 | + "type": "codewhispererTriggerType" |
| 283 | + }, |
| 284 | + { |
| 285 | + "type": "codewhispererAutomatedTriggerType", |
| 286 | + "required": false |
| 287 | + }, |
| 288 | + { |
| 289 | + "type": "codewhispererLineNumber" |
| 290 | + }, |
| 291 | + { |
| 292 | + "type": "codewhispererCursorOffset" |
| 293 | + }, |
| 294 | + { |
| 295 | + "type": "codewhispererSuggestionCount" |
| 296 | + }, |
| 297 | + { |
| 298 | + "type": "codewhispererSuggestionImportCount" |
| 299 | + }, |
| 300 | + { |
| 301 | + "type": "codewhispererTotalShownTime", |
| 302 | + "required": false |
| 303 | + }, |
| 304 | + { |
| 305 | + "type": "codewhispererTriggerCharacter", |
| 306 | + "required": false |
| 307 | + }, |
| 308 | + { |
| 309 | + "type": "codewhispererTypeaheadLength" |
| 310 | + }, |
| 311 | + { |
| 312 | + "type": "codewhispererTimeSinceLastDocumentChange", |
| 313 | + "required": false |
| 314 | + }, |
| 315 | + { |
| 316 | + "type": "codewhispererTimeSinceLastUserDecision", |
| 317 | + "required": false |
| 318 | + }, |
| 319 | + { |
| 320 | + "type": "codewhispererTimeToFirstRecommendation", |
| 321 | + "required": false |
| 322 | + }, |
| 323 | + { |
| 324 | + "type": "codewhispererPreviousSuggestionState", |
| 325 | + "required": false |
| 326 | + }, |
| 327 | + { |
| 328 | + "type": "codewhispererSuggestionState" |
| 329 | + }, |
| 330 | + { |
| 331 | + "type": "codewhispererClassifierResult", |
| 332 | + "required": false |
| 333 | + }, |
| 334 | + { |
| 335 | + "type": "codewhispererSupplementalContextTimeout", |
| 336 | + "required": false |
| 337 | + }, |
| 338 | + { |
| 339 | + "type": "codewhispererSupplementalContextIsUtg", |
| 340 | + "required": false |
| 341 | + }, |
| 342 | + { |
| 343 | + "type": "codewhispererSupplementalContextLength", |
| 344 | + "required": false |
| 345 | + }, |
| 346 | + { |
| 347 | + "type": "codewhispererSupplementalContextStrategyId", |
| 348 | + "required": false |
| 349 | + }, |
| 350 | + { |
| 351 | + "type": "codewhispererClassifierThreshold", |
| 352 | + "required": false |
| 353 | + }, |
| 354 | + { |
| 355 | + "type": "codewhispererUserGroup" |
| 356 | + }, |
| 357 | + { |
| 358 | + "type": "codewhispererCustomizationArn", |
| 359 | + "required": false |
| 360 | + } |
| 361 | + ] |
106 | 362 | }
|
107 | 363 | ]
|
108 | 364 | }
|
0 commit comments