Skip to content

Commit da7d870

Browse files
authored
Merge pull request aws#1877 from aws/autoMerge/feature/lambda-get-started
Merge staging into feature/lambda-get-started
2 parents 10b0455 + 2eb7891 commit da7d870

File tree

76 files changed

+11812
-1645
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

76 files changed

+11812
-1645
lines changed

buildspec/shared/common.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
# - "Webview is disposed": only happens on vscode "minimum" (1.68.0)
1010
# - "HTTPError: Response code …": caused by github rate-limiting.
1111
# - "npm WARN deprecated querystring": transitive dep of aws sdk v2 (check `npm ls querystring`), so that's blocked until we migrate to v3.
12-
_ignore_pat='Timed-out waiting for browser login flow\|HTTPError: Response code 403\|HTTPError: Response code 404\|npm WARN deprecated querystring'
12+
_ignore_pat='Timed-out waiting for browser login flow\|HTTPError: Response code 403\|HTTPError: Response code 404\|npm WARN deprecated querystring\|npm WARN deprecated'
1313
if [ "$VSCODE_TEST_VERSION" = 'minimum' ]; then
1414
_ignore_pat="$_ignore_pat"'\|Webview is disposed'
1515
fi

docs/build.md

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,23 @@
11
# Build
22

3-
The AmazonQ features rely on the `codewhisperer-streaming` service, who's client
4-
is generated from the service's smithy models and placed in
5-
`src.gen/@amzn/codewhisperer-streaming` (For more
6-
information about this client and how it is generated, please see this
3+
The AmazonQ features rely on the `codewhisperer-streaming` service, to support both Sigv4 and Bearer token modes of this service,
4+
two clients are generated from the service's smithy models and placed in
5+
`src.gen/@amzn/amazon-q-developer-streaming-client` and `src.gen/@amzn/codewhisperer-streaming` respectively (For more
6+
information about these clients and how they are generated, please see this
77
[quip document](https://quip-amazon.com/2dAWAvTIYXXr/Build-instructions-for-AWS-CodeWhisperer-Streaming-Typescript-client)).
88

9+
## @amzn/amazon-q-developer-streaming client
10+
11+
This client is a standalone npm project in typescript, and it is added to
12+
the project as a workspace in the project's root `package.json` with the line `"workspaces": [ ..., "src.gen/@amzn/amazon-q-developer-streaming" ]`.
13+
The client may be manually built using `npm run build -w @amzn/amazon-q-developer-streaming"`.
14+
The `generateClients` run script ensures that this dependency is
15+
built before the toolkit project itself. Workspaces are automatically ready to
16+
be imported in the root toolkit project by their declared package.json name,
17+
(`@amzn/amazon-q-developer-streaming` in this case).
18+
19+
## @amzn/codewhisperer-streaming client
20+
921
This client is a standalone npm project in typescript, and it is added to
1022
the project as a workspace in the project's root `package.json` with the line `"workspaces": [ ..., "src.gen/@amzn/codewhisperer-streaming" ]`.
1123
The client may be manually built using `npm run build -w @amzn/codewhisperer-streaming"`.

package-lock.json

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

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
},
2121
"scripts": {
2222
"prepare": "ts-node ./scripts/prepare.ts",
23-
"preinstall": "cd src.gen/@amzn/codewhisperer-streaming && npm i",
23+
"preinstall": "cd src.gen/@amzn/codewhisperer-streaming && npm i && cd ../amazon-q-developer-streaming-client && npm i",
2424
"postinstall": "npm run buildCustomLintPlugin && npm run postinstall -ws --if-present",
2525
"buildCustomLintPlugin": "npm run build -w plugins/eslint-plugin-aws-toolkits",
2626
"compile": "npm run compile -w packages/",
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
{
2+
"date": "2024-10-29",
3+
"version": "1.31.0",
4+
"entries": [
5+
{
6+
"type": "Breaking Change",
7+
"description": "Change keybind for focusing chat to ctrl+win+i on Windows, ctrl+cmd+i on macOS and ctrl+meta+i on Linux"
8+
},
9+
{
10+
"type": "Bug Fix",
11+
"description": "Inline Suggestions: Occasional `ValidationException` if user context has too many characters."
12+
},
13+
{
14+
"type": "Bug Fix",
15+
"description": "Update `@workspace` index when adding or deleting a file"
16+
},
17+
{
18+
"type": "Bug Fix",
19+
"description": "fixed device code detection when running auth through tunneled vscode"
20+
},
21+
{
22+
"type": "Feature",
23+
"description": "Use inline chat to select code and transform it with natural language instructions"
24+
},
25+
{
26+
"type": "Feature",
27+
"description": "Amazon Q /dev: Add stop generation action"
28+
},
29+
{
30+
"type": "Feature",
31+
"description": "Provide more frequent updates about code changes made by agent"
32+
}
33+
]
34+
}
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
{
2+
"date": "2024-10-29",
3+
"version": "1.32.0",
4+
"entries": [
5+
{
6+
"type": "Bug Fix",
7+
"description": "Remove warning when no input is provided to inline chat input box"
8+
},
9+
{
10+
"type": "Bug Fix",
11+
"description": "Use Sagemaker environment IAM Credentials for Code Completion when they're available"
12+
},
13+
{
14+
"type": "Bug Fix",
15+
"description": "Inline: Code completion not working for Sagemaker Pro Tier users."
16+
},
17+
{
18+
"type": "Bug Fix",
19+
"description": "Disable /transform and /dev commands for sagemaker users as they're not supported"
20+
},
21+
{
22+
"type": "Feature",
23+
"description": "Enable Free Tier Chat for IAM users"
24+
}
25+
]
26+
}

packages/amazonq/.changes/next-release/Breaking Change-912fe720-0d1b-40a3-8638-f9a4d2948904.json

Lines changed: 0 additions & 4 deletions
This file was deleted.

packages/amazonq/.changes/next-release/Bug Fix-279c3a22-246e-41ca-9a42-3e446cdb9565.json

Lines changed: 0 additions & 4 deletions
This file was deleted.

packages/amazonq/.changes/next-release/Bug Fix-59d88db7-cfd5-41da-9a63-2a6391b27add.json

Lines changed: 0 additions & 4 deletions
This file was deleted.

packages/amazonq/.changes/next-release/Bug Fix-771c645f-eeea-4da5-b2d2-4315dfad9506.json

Lines changed: 0 additions & 4 deletions
This file was deleted.

0 commit comments

Comments
 (0)