Skip to content

Commit

Permalink
feat: update proposed API MappedEditProviders
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 committed Nov 14, 2024
1 parent d769658 commit fb2d508
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@

<!-- ## 1.56.0 - not yet released -->

- [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

- [ai] added logic to allow to order and clear AI History view [#14233](https://github.com/eclipse-theia/theia/pull/14233)
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 fb2d508

Please sign in to comment.