Skip to content

Commit 7cc0816

Browse files
Merge main into feature/q-inlinechat
2 parents e0ff6cc + 78edb89 commit 7cc0816

File tree

1 file changed

+36
-4
lines changed
  • plugins/core/sdk-codegen/codegen-resources/codewhispererruntime

1 file changed

+36
-4
lines changed

plugins/core/sdk-codegen/codegen-resources/codewhispererruntime/service-2.json

Lines changed: 36 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -577,7 +577,9 @@
577577
"acceptedCharacterCount": { "shape": "PrimitiveInteger" },
578578
"totalCharacterCount": { "shape": "PrimitiveInteger" },
579579
"timestamp": { "shape": "Timestamp" },
580-
"unmodifiedAcceptedCharacterCount": { "shape": "PrimitiveInteger" }
580+
"unmodifiedAcceptedCharacterCount": { "shape": "PrimitiveInteger" },
581+
"totalNewCodeCharacterCount": { "shape": "PrimitiveInteger" },
582+
"totalNewCodeLineCount": { "shape": "PrimitiveInteger" }
581583
}
582584
},
583585
"CodeFixAcceptanceEvent": {
@@ -657,6 +659,16 @@
657659
"codeAnalysisScope": { "shape": "CodeAnalysisScope" }
658660
}
659661
},
662+
"CodeScanFailedEvent": {
663+
"type": "structure",
664+
"required": ["programmingLanguage", "codeScanJobId", "timestamp"],
665+
"members": {
666+
"programmingLanguage": { "shape": "ProgrammingLanguage" },
667+
"codeScanJobId": { "shape": "CodeScanJobId" },
668+
"timestamp": { "shape": "Timestamp" },
669+
"codeAnalysisScope": { "shape": "CodeAnalysisScope" }
670+
}
671+
},
660672
"CodeScanJobId": {
661673
"type": "string",
662674
"max": 128,
@@ -686,6 +698,17 @@
686698
"type": "string",
687699
"enum": ["CODESCAN_ISSUE_HOVER", "CODESCAN_ISSUE_APPLY_FIX", "CODESCAN_ISSUE_VIEW_DETAILS"]
688700
},
701+
"CodeScanSucceededEvent": {
702+
"type": "structure",
703+
"required": ["programmingLanguage", "codeScanJobId", "timestamp", "numberOfFindings"],
704+
"members": {
705+
"programmingLanguage": { "shape": "ProgrammingLanguage" },
706+
"codeScanJobId": { "shape": "CodeScanJobId" },
707+
"timestamp": { "shape": "Timestamp" },
708+
"numberOfFindings": { "shape": "PrimitiveInteger" },
709+
"codeAnalysisScope": { "shape": "CodeAnalysisScope" }
710+
}
711+
},
689712
"Completion": {
690713
"type": "structure",
691714
"required": ["content"],
@@ -909,12 +932,19 @@
909932
"numberOfAddLines": { "shape": "PrimitiveInteger" },
910933
"numberOfAddFiles": { "shape": "PrimitiveInteger" },
911934
"userDecision": { "shape": "DocGenerationUserDecision" },
912-
"interactionType": { "shape": "DocGenerationInteractionType" }
935+
"interactionType": { "shape": "DocGenerationInteractionType" },
936+
"userIdentity": { "shape": "String" },
937+
"numberOfNavigation": { "shape": "PrimitiveInteger" },
938+
"folderLevel": { "shape": "DocGenerationFolderLevel" }
913939
}
914940
},
941+
"DocGenerationFolderLevel": {
942+
"type": "string",
943+
"enum": ["SUB_FOLDER", "ENTIRE_WORKSPACE"]
944+
},
915945
"DocGenerationInteractionType": {
916946
"type": "string",
917-
"enum": ["GENERATE_README", "UPDATE_README"]
947+
"enum": ["GENERATE_README", "UPDATE_README", "EDIT_README"]
918948
},
919949
"DocGenerationUserDecision": {
920950
"type": "string",
@@ -1952,7 +1982,7 @@
19521982
},
19531983
"SuggestionState": {
19541984
"type": "string",
1955-
"enum": ["ACCEPT", "REJECT", "DISCARD", "EMPTY"]
1985+
"enum": ["ACCEPT", "REJECT", "DISCARD", "EMPTY", "MERGE"]
19561986
},
19571987
"SupplementalContext": {
19581988
"type": "structure",
@@ -2090,6 +2120,8 @@
20902120
"codeCoverageEvent": { "shape": "CodeCoverageEvent" },
20912121
"userModificationEvent": { "shape": "UserModificationEvent" },
20922122
"codeScanEvent": { "shape": "CodeScanEvent" },
2123+
"codeScanSucceededEvent": { "shape": "CodeScanSucceededEvent" },
2124+
"codeScanFailedEvent": { "shape": "CodeScanFailedEvent" },
20932125
"codeScanRemediationsEvent": { "shape": "CodeScanRemediationsEvent" },
20942126
"codeFixGenerationEvent": { "shape": "CodeFixGenerationEvent" },
20952127
"codeFixAcceptanceEvent": { "shape": "CodeFixAcceptanceEvent" },

0 commit comments

Comments
 (0)