Skip to content

Commit

Permalink
feat: update proposed API MappedEditProviders (#14453)
Browse files Browse the repository at this point in the history
fix: #14451

contributed on behalf of STMicroelectronics

Signed-off-by: Remi Schnekenburger <[email protected]>
  • Loading branch information
rschnekenbu authored Nov 21, 2024
1 parent 31da09e commit 50f6755
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

- [plugin] added stubs for the additional LanguageModel APIs [#14446](https://github.com/eclipse-theia/theia/pull/14446) - Contributed on behalf of STMicroelectronics
- [plugin] added support for ThemeColor property id [#14437](https://github.com/eclipse-theia/theia/pull/14437) - Contributed on behalf of STMicroelectronics
- [plugin] supported MappedEditProviders proposed API evolution [#14453](https://github.com/eclipse-theia/theia/pull/14453) - Contributed on behalf of STMicroelectronics

## 1.55.0 - 10/31/2024

Expand Down
3 changes: 2 additions & 1 deletion packages/plugin/src/theia.proposed.mappedEditsProvider.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ export module '@theia/plugin' {
export interface ConversationResponse {
readonly type: 'response';
readonly message: string;
readonly result?: ChatResult;
readonly references?: DocumentContextItem[];
}

Expand Down Expand Up @@ -69,7 +70,7 @@ export module '@theia/plugin' {
}

export interface MappedEditsRequest {
readonly codeBlocks: { code: string; resource: Uri }[];
readonly codeBlocks: { code: string; resource: Uri; markdownBeforeBlock?: string }[];
// for every prior response that contains codeblocks, make sure we pass the code as well as the resources based on the reported codemapper URIs
readonly conversation: (ConversationRequest | ConversationResponse)[];
}
Expand Down

0 comments on commit 50f6755

Please sign in to comment.