Skip to content

Commit d0a8644

Browse files
authored
Feature branch is behind main. Update in line with main (#663)
## Problem Feature branch is behind main. ## Solution Update in line with main <!--- REMINDER: - Read CONTRIBUTING.md first. - Add test coverage for your changes. - Link to related issues/commits. - Testing: how did you test your changes? - Screenshots if applicable --> ## License By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
2 parents 842e8c8 + 474335b commit d0a8644

25 files changed

+823
-80
lines changed

.release-please-manifest.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"chat-client-ui-types": "0.1.56",
3-
"runtimes": "0.2.118",
4-
"types": "0.1.50"
2+
"chat-client-ui-types": "0.1.62",
3+
"runtimes": "0.2.125",
4+
"types": "0.1.56"
55
}

chat-client-ui-types/CHANGELOG.md

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,59 @@
11
# Changelog
22

3+
## [0.1.62](https://github.com/aws/language-server-runtimes/compare/chat-client-ui-types/v0.1.61...chat-client-ui-types/v0.1.62) (2025-08-12)
4+
5+
6+
### Dependencies
7+
8+
* The following workspace dependencies were updated
9+
* dependencies
10+
* @aws/language-server-runtimes-types bumped from ^0.1.55 to ^0.1.56
11+
12+
## [0.1.61](https://github.com/aws/language-server-runtimes/compare/chat-client-ui-types/v0.1.60...chat-client-ui-types/v0.1.61) (2025-08-07)
13+
14+
15+
### Dependencies
16+
17+
* The following workspace dependencies were updated
18+
* dependencies
19+
* @aws/language-server-runtimes-types bumped from ^0.1.54 to ^0.1.55
20+
21+
## [0.1.60](https://github.com/aws/language-server-runtimes/compare/chat-client-ui-types/v0.1.59...chat-client-ui-types/v0.1.60) (2025-08-05)
22+
23+
24+
### Dependencies
25+
26+
* The following workspace dependencies were updated
27+
* dependencies
28+
* @aws/language-server-runtimes-types bumped from ^0.1.53 to ^0.1.54
29+
30+
## [0.1.59](https://github.com/aws/language-server-runtimes/compare/chat-client-ui-types/v0.1.58...chat-client-ui-types/v0.1.59) (2025-08-01)
31+
32+
33+
### Dependencies
34+
35+
* The following workspace dependencies were updated
36+
* dependencies
37+
* @aws/language-server-runtimes-types bumped from ^0.1.52 to ^0.1.53
38+
39+
## [0.1.58](https://github.com/aws/language-server-runtimes/compare/chat-client-ui-types/v0.1.57...chat-client-ui-types/v0.1.58) (2025-08-01)
40+
41+
42+
### Dependencies
43+
44+
* The following workspace dependencies were updated
45+
* dependencies
46+
* @aws/language-server-runtimes-types bumped from ^0.1.51 to ^0.1.52
47+
48+
## [0.1.57](https://github.com/aws/language-server-runtimes/compare/chat-client-ui-types/v0.1.56...chat-client-ui-types/v0.1.57) (2025-08-01)
49+
50+
51+
### Dependencies
52+
53+
* The following workspace dependencies were updated
54+
* dependencies
55+
* @aws/language-server-runtimes-types bumped from ^0.1.50 to ^0.1.51
56+
357
## [0.1.56](https://github.com/aws/language-server-runtimes/compare/chat-client-ui-types/v0.1.55...chat-client-ui-types/v0.1.56) (2025-07-22)
458

559

chat-client-ui-types/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@aws/chat-client-ui-types",
3-
"version": "0.1.56",
3+
"version": "0.1.62",
44
"description": "Type definitions for Chat UIs in Language Servers and Runtimes for AWS",
55
"main": "./out/index.js",
66
"scripts": {
@@ -18,6 +18,6 @@
1818
"author": "Amazon Web Services",
1919
"license": "Apache-2.0",
2020
"dependencies": {
21-
"@aws/language-server-runtimes-types": "^0.1.50"
21+
"@aws/language-server-runtimes-types": "^0.1.56"
2222
}
2323
}

package-lock.json

Lines changed: 12 additions & 33 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

runtimes/CHANGELOG.md

Lines changed: 76 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,81 @@
11
# Changelog
22

3+
## [0.2.125](https://github.com/aws/language-server-runtimes/compare/language-server-runtimes/v0.2.124...language-server-runtimes/v0.2.125) (2025-08-12)
4+
5+
6+
### Bug Fixes
7+
8+
* add file context override for inline completion ([#660](https://github.com/aws/language-server-runtimes/issues/660)) ([f6f0da8](https://github.com/aws/language-server-runtimes/commit/f6f0da86e935c148c357852a15f43e56c2a7ba44))
9+
10+
## [0.2.124](https://github.com/aws/language-server-runtimes/compare/language-server-runtimes/v0.2.123...language-server-runtimes/v0.2.124) (2025-08-12)
11+
12+
13+
### Features
14+
15+
* add diagnostic checking and workspace file opening support ([#658](https://github.com/aws/language-server-runtimes/issues/658)) ([1013f32](https://github.com/aws/language-server-runtimes/commit/1013f32172c942e5598f8fddcbfe8d6f0836da9f))
16+
17+
18+
### Dependencies
19+
20+
* The following workspace dependencies were updated
21+
* dependencies
22+
* @aws/language-server-runtimes-types bumped from ^0.1.55 to ^0.1.56
23+
24+
## [0.2.123](https://github.com/aws/language-server-runtimes/compare/language-server-runtimes/v0.2.122...language-server-runtimes/v0.2.123) (2025-08-07)
25+
26+
27+
### Bug Fixes
28+
29+
* refactor auto-discovery for OS proxy settings ([#654](https://github.com/aws/language-server-runtimes/issues/654)) ([e1b033f](https://github.com/aws/language-server-runtimes/commit/e1b033f9785862ca2fbb956ba6b1436176672b71))
30+
31+
32+
### Dependencies
33+
34+
* The following workspace dependencies were updated
35+
* dependencies
36+
* @aws/language-server-runtimes-types bumped from ^0.1.54 to ^0.1.55
37+
38+
## [0.2.122](https://github.com/aws/language-server-runtimes/compare/language-server-runtimes/v0.2.121...language-server-runtimes/v0.2.122) (2025-08-05)
39+
40+
41+
### Dependencies
42+
43+
* The following workspace dependencies were updated
44+
* dependencies
45+
* @aws/language-server-runtimes-types bumped from ^0.1.53 to ^0.1.54
46+
47+
## [0.2.121](https://github.com/aws/language-server-runtimes/compare/language-server-runtimes/v0.2.120...language-server-runtimes/v0.2.121) (2025-08-01)
48+
49+
50+
### Dependencies
51+
52+
* The following workspace dependencies were updated
53+
* dependencies
54+
* @aws/language-server-runtimes-types bumped from ^0.1.52 to ^0.1.53
55+
56+
## [0.2.120](https://github.com/aws/language-server-runtimes/compare/language-server-runtimes/v0.2.119...language-server-runtimes/v0.2.120) (2025-08-01)
57+
58+
59+
### Dependencies
60+
61+
* The following workspace dependencies were updated
62+
* dependencies
63+
* @aws/language-server-runtimes-types bumped from ^0.1.51 to ^0.1.52
64+
65+
## [0.2.119](https://github.com/aws/language-server-runtimes/compare/language-server-runtimes/v0.2.118...language-server-runtimes/v0.2.119) (2025-08-01)
66+
67+
68+
### Bug Fixes
69+
70+
* add open tab params to inline completion protocol ([#645](https://github.com/aws/language-server-runtimes/issues/645)) ([56c9fe0](https://github.com/aws/language-server-runtimes/commit/56c9fe01cca4aacfc15e3a8116a44b72ad10d43a))
71+
72+
73+
### Dependencies
74+
75+
* The following workspace dependencies were updated
76+
* dependencies
77+
* @aws/language-server-runtimes-types bumped from ^0.1.50 to ^0.1.51
78+
379
## [0.2.118](https://github.com/aws/language-server-runtimes/compare/language-server-runtimes/v0.2.117...language-server-runtimes/v0.2.118) (2025-07-31)
480

581

runtimes/README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,18 @@ The server runtime implementation acts as a proxy for LSP methods, which means i
3131
| onInlineCompletion | Yes | Provide list of inline completion suggestions from the Server |
3232
| onExecuteCommand | Yes | Executes a custom command provided by the Server. Servers are advised to document custom commands they support in the package README. |
3333

34+
##### LSP Window
35+
36+
| Description | Method | Params | Method type | Response Type |
37+
| ------------------------------------ | --------------------------------- | ------------------------------ | ------------------------------------------------------------------------------------------------------------------------------- | --------------- |
38+
| Request to check diagnostics for specified files | `aws/checkDiagnostics` | `CheckDiagnosticsParams` | [Request](https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#requestMessage) Server to Client | `CheckDiagnosticsResult` |
39+
3440
##### LSP Workspace
3541

3642
| Description | Method | Params | Method type | Response Type |
3743
| ------------------------------------ | --------------------------------- | ------------------------------ | ------------------------------------------------------------------------------------------------------------------------------- | --------------- |
3844
| Request to select workspace item (folder, file) with the selected items returned | `aws/selectWorkspaceItem` | `SelectWorkspaceItemParams` | [Request](https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#requestMessage) Server to Client | `SelectWorkspaceItemResult` |
45+
| Request to open a file in the workspace programmatically | `aws/openWorkspaceFile` | `OpenWorkspaceFileParams` | [Request](https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#requestMessage) Server to Client | `OpenWorkspaceFileResult` |
3946
| Sent notification to open file differences for the new file content. Supports new, updated or removed files. | `aws/openFileDiff` | `OpenFileDiffParams` | [Notification](https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#notificationMessage) Server to Client | n/a |
4047
| Sent notification that file was copied from old to new path using file system operation. | `aws/didCopyFile` | `CopyFileParams` | [Notification](https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#notificationMessage) Server to Client | n/a |
4148
| Sent notification that content was written to file using file system operation. | `aws/didWriteFile` | `FileParams` | [Notification](https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#notificationMessage) Server to Client | n/a |

runtimes/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@aws/language-server-runtimes",
3-
"version": "0.2.118",
3+
"version": "0.2.125",
44
"description": "Runtimes to host Language Servers for AWS",
55
"repository": {
66
"type": "git",
@@ -30,7 +30,7 @@
3030
"generate-types": "ts-node ./script/generate-types.ts"
3131
},
3232
"dependencies": {
33-
"@aws/language-server-runtimes-types": "^0.1.50",
33+
"@aws/language-server-runtimes-types": "^0.1.56",
3434
"@opentelemetry/api": "^1.9.0",
3535
"@opentelemetry/api-logs": "^0.200.0",
3636
"@opentelemetry/core": "^2.0.0",
@@ -45,12 +45,12 @@
4545
"hpagent": "^1.2.0",
4646
"jose": "^5.9.6",
4747
"mac-ca": "^3.1.1",
48-
"os-proxy-config": "^1.1.2",
4948
"rxjs": "^7.8.2",
5049
"vscode-languageserver": "^9.0.1",
5150
"vscode-languageserver-protocol": "^3.17.5",
5251
"vscode-uri": "^3.1.0",
53-
"win-ca": "^3.5.1"
52+
"win-ca": "^3.5.1",
53+
"registry-js": "^1.16.1"
5454
},
5555
"devDependencies": {
5656
"@types/mocha": "^10.0.9",

runtimes/protocol/inlineCompletionWithReferences.ts

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,26 @@ interface DocumentChangeParams {
1818
}
1919

2020
interface OpenTabParams {
21-
openTabFilepaths?: string
21+
openTabFilepaths?: string[]
22+
}
23+
24+
interface FileContext {
25+
leftFileContent: string
26+
rightFileContent: string
27+
filename: string
28+
fileUri?: string
29+
programmingLanguage: string
30+
}
31+
32+
interface FileContextParams {
33+
fileContextOverride?: FileContext
2234
}
2335

2436
export type InlineCompletionWithReferencesParams = InlineCompletionParams &
2537
PartialResultParams &
2638
DocumentChangeParams &
27-
OpenTabParams
39+
OpenTabParams &
40+
FileContextParams
2841

2942
export const inlineCompletionWithReferencesRequestType = new ProtocolRequestType<
3043
InlineCompletionWithReferencesParams,

runtimes/protocol/window.ts

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ import {
66
ShowOpenDialogResult,
77
ShowOpenDialogParams,
88
SHOW_OPEN_FILE_DIALOG_REQUEST_METHOD,
9+
CHECK_DIAGNOSTICS_REQUEST_METHOD,
10+
CheckDiagnosticsParams,
11+
CheckDiagnosticsResult,
912
} from './lsp'
1013

1114
/**
@@ -27,3 +30,11 @@ export const ShowOpenDialogRequestType = new ProtocolRequestType<
2730
void,
2831
void
2932
>(SHOW_OPEN_FILE_DIALOG_REQUEST_METHOD)
33+
34+
export const CheckDiagnosticsRequestType = new ProtocolRequestType<
35+
CheckDiagnosticsParams,
36+
CheckDiagnosticsResult,
37+
never,
38+
void,
39+
void
40+
>(CHECK_DIAGNOSTICS_REQUEST_METHOD)

0 commit comments

Comments
 (0)