Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 12 additions & 10 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,11 @@ Then clone the repository and install NPM packages:

### Run

Due to the monorepo structure of the project, you must have the `aws-toolkit-vscode/packages/toolkit` folder open as root folder in the workspace.
The easiest way to open the project: File > Open Workspace from File > choose `aws-toolkit-vscode/aws-toolkit-vscode.code-workspace`
Due to the monorepo structure of the project, you must open the project using the
`aws-toolkit-vscode.code-workspace` project file.

1. Run the `File: Open Workspace from File...` command in vscode.
2. Select the `aws-toolkit-vscode.code-workspace` project file.

To run the extension from VSCode as a Node.js app:

Expand Down Expand Up @@ -164,8 +167,7 @@ See [web.md](./docs/web.md) for working with the web mode implementation of the
See [TESTPLAN.md](./docs/TESTPLAN.md) to understand the project's test
structure, mechanics and philosophy.

You can run tests directly from VSCode. Due to the monorepo structure of the project, you must have the `aws-toolkit-vscode/packages/toolkit` folder open as root folder in the workspace.
The easiest way to open the project: File > Open Workspace from File > choose `aws-toolkit-vscode/aws-toolkit-vscode.code-workspace`
You can run tests directly from VSCode. Due to the monorepo structure of the project, you must [open the project via the `aws-toolkit-vscode.code-workspace` project file](#run).

1. Select `View > Debug`, or select the Debug pane from the sidebar.
2. From the dropdown at the top of the Debug pane, select the `Extension Tests` configuration.
Expand All @@ -180,12 +182,13 @@ Tests will write logs to `./.test-reports/testLog.log`.

#### Run a specific test

To run a single test in VSCode, do any one of:
To run a single test in VSCode, do any _one_ of the following:

- Run the _Extension Tests (current file)_ launch-config.
- Use Mocha's [it.only()](https://mochajs.org/#exclusive-tests) or `describe.only()`.
- Run in your terminal:

- Note: if you don't see this in the vscode debug menu, confirm that you opened the project
[via the `aws-toolkit-vscode.code-workspace` project file](#run).
- or... Use Mocha's [it.only()](https://mochajs.org/#exclusive-tests) or `describe.only()`.
- or... Run in your terminal:
- Unix/macOS/POSIX shell:
```
TEST_FILE=../core/src/test/foo.test.ts npm run test
Expand All @@ -194,8 +197,7 @@ To run a single test in VSCode, do any one of:
```
$Env:TEST_FILE = "../core/src/test/foo.test.ts"; npm run test
```

- To run all tests in a particular subdirectory, you can edit
- or... To run all tests in a particular subdirectory, you can edit
`src/test/index.ts:rootTestsPath` to point to a subdirectory:
```
rootTestsPath: __dirname + '/shared/sam/debugger/'
Expand Down
7 changes: 4 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

22 changes: 22 additions & 0 deletions packages/amazonq/.changes/1.53.0.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"date": "2025-03-28",
"version": "1.53.0",
"entries": [
{
"type": "Bug Fix",
"description": "Amazon Q Chat: Choosing a nested subfolder for `/doc` on Windows results in `The folder you chose did not contain any source files` error"
},
{
"type": "Feature",
"description": "Add support for Code search in Q chat"
},
{
"type": "Feature",
"description": "(Experimental) Amazon Q inline code suggestions via Amazon Q Language Server. (enable with `aws.experiments.amazonqLSP: true`)"
},
{
"type": "Feature",
"description": "Command Palette: Add `Amazon Q: Open Chat` command."
}
]
}

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

7 changes: 7 additions & 0 deletions packages/amazonq/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
## 1.53.0 2025-03-28

- **Bug Fix** Amazon Q Chat: Choosing a nested subfolder for `/doc` on Windows results in `The folder you chose did not contain any source files` error
- **Feature** Add support for Code search in Q chat
- **Feature** (Experimental) Amazon Q inline code suggestions via Amazon Q Language Server. (enable with `aws.experiments.amazonqLSP: true`)
- **Feature** Command Palette: Add `Amazon Q: Open Chat` command.

## 1.52.0 2025-03-20

- **Bug Fix** Amazon Q chat: @Folders and @Files are missing `@` prefix in chat history
Expand Down
2 changes: 1 addition & 1 deletion packages/amazonq/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "amazon-q-vscode",
"displayName": "Amazon Q",
"description": "The most capable generative AI-powered assistant for building, operating, and transforming software, with advanced capabilities for managing data and AI",
"version": "1.53.0-SNAPSHOT",
"version": "1.54.0-SNAPSHOT",
"extensionKind": [
"workspace"
],
Expand Down
150 changes: 145 additions & 5 deletions packages/core/src/codewhisperer/client/user-service-2.json
Original file line number Diff line number Diff line change
Expand Up @@ -280,6 +280,22 @@
],
"documentation": "<p>Lists the findings from a particular code analysis job.</p>"
},
"ListEvents": {
"name": "ListEvents",
"http": {
"method": "POST",
"requestUri": "/"
},
"input": { "shape": "ListEventsRequest" },
"output": { "shape": "ListEventsResponse" },
"errors": [
{ "shape": "ThrottlingException" },
{ "shape": "InternalServerException" },
{ "shape": "ValidationException" },
{ "shape": "AccessDeniedException" }
],
"documentation": "<p>List events for agent activity</p>"
},
"ListFeatureEvaluations": {
"name": "ListFeatureEvaluations",
"http": {
Expand Down Expand Up @@ -689,7 +705,9 @@
"acceptedLineCount": { "shape": "Integer" },
"acceptedSnippetHasReference": { "shape": "Boolean" },
"hasProjectLevelContext": { "shape": "Boolean" },
"userIntent": { "shape": "UserIntent" }
"userIntent": { "shape": "UserIntent" },
"addedIdeDiagnostics": { "shape": "IdeDiagnosticList" },
"removedIdeDiagnostics": { "shape": "IdeDiagnosticList" }
}
},
"ChatInteractWithMessageEventInteractionTargetString": {
Expand Down Expand Up @@ -1079,7 +1097,8 @@
"CreateWorkspaceRequestWorkspaceRootString": {
"type": "string",
"max": 1024,
"min": 1
"min": 1,
"sensitive": true
},
"CreateWorkspaceResponse": {
"type": "structure",
Expand Down Expand Up @@ -1394,6 +1413,10 @@
"useRelevantDocuments": {
"shape": "Boolean",
"documentation": "<p>Whether service should use relevant document in prompt</p>"
},
"workspaceFolders": {
"shape": "WorkspaceFolderList",
"documentation": "<p>Represents IDE provided list of workspace folders</p>"
}
},
"documentation": "<p>Represents the state of an Editor</p>"
Expand Down Expand Up @@ -1476,6 +1499,34 @@
"max": 2048,
"min": 0
},
"Event": {
"type": "structure",
"required": ["eventId", "generationId", "eventTimestamp", "eventType", "eventBlob"],
"members": {
"eventId": { "shape": "UUID" },
"generationId": { "shape": "UUID" },
"eventTimestamp": { "shape": "SyntheticTimestamp_date_time" },
"eventType": { "shape": "EventType" },
"eventBlob": { "shape": "EventBlob" }
}
},
"EventBlob": {
"type": "blob",
"max": 400000,
"min": 1,
"sensitive": true
},
"EventList": {
"type": "list",
"member": { "shape": "Event" },
"max": 10,
"min": 1
},
"EventType": {
"type": "string",
"max": 100,
"min": 1
},
"ExternalIdentityDetails": {
"type": "structure",
"members": {
Expand Down Expand Up @@ -1629,7 +1680,8 @@
"TASK_ASSIST",
"TRANSFORMATIONS",
"CHAT_CUSTOMIZATION",
"TRANSFORMATIONS_WEBAPP"
"TRANSFORMATIONS_WEBAPP",
"FEATURE_DEVELOPMENT"
],
"max": 64,
"min": 1
Expand Down Expand Up @@ -1807,6 +1859,46 @@
"max": 64,
"min": 1
},
"IdeDiagnostic": {
"type": "structure",
"required": ["ideDiagnosticType"],
"members": {
"range": {
"shape": "Range",
"documentation": "<p>The range at which the message applies.</p>"
},
"source": {
"shape": "IdeDiagnosticSourceString",
"documentation": "<p>A human-readable string describing the source of the diagnostic</p>"
},
"severity": {
"shape": "DiagnosticSeverity",
"documentation": "<p>Diagnostic Error type</p>"
},
"ideDiagnosticType": {
"shape": "IdeDiagnosticType",
"documentation": "<p>Type of the diagnostic</p>"
}
},
"documentation": "<p>Structure to represent metadata about a Diagnostic from user local IDE</p>"
},
"IdeDiagnosticList": {
"type": "list",
"member": { "shape": "IdeDiagnostic" },
"documentation": "<p>List of IDE Diagnostics</p>",
"max": 1024,
"min": 0
},
"IdeDiagnosticSourceString": {
"type": "string",
"max": 1024,
"min": 0,
"sensitive": true
},
"IdeDiagnosticType": {
"type": "string",
"enum": ["SYNTAX_ERROR", "TYPE_ERROR", "REFERENCE_ERROR", "BEST_PRACTICE", "SECURITY", "OTHER"]
},
"IdempotencyToken": {
"type": "string",
"max": 256,
Expand Down Expand Up @@ -1995,6 +2087,30 @@
"codeAnalysisFindings": { "shape": "SensitiveString" }
}
},
"ListEventsRequest": {
"type": "structure",
"required": ["conversationId"],
"members": {
"conversationId": { "shape": "UUID" },
"maxResults": { "shape": "ListEventsRequestMaxResultsInteger" },
"nextToken": { "shape": "NextToken" }
}
},
"ListEventsRequestMaxResultsInteger": {
"type": "integer",
"box": true,
"max": 50,
"min": 1
},
"ListEventsResponse": {
"type": "structure",
"required": ["conversationId", "events"],
"members": {
"conversationId": { "shape": "UUID" },
"events": { "shape": "EventList" },
"nextToken": { "shape": "NextToken" }
}
},
"ListFeatureEvaluationsRequest": {
"type": "structure",
"required": ["userContext"],
Expand Down Expand Up @@ -2023,7 +2139,8 @@
"ListWorkspaceMetadataRequestWorkspaceRootString": {
"type": "string",
"max": 1024,
"min": 1
"min": 1,
"sensitive": true
},
"ListWorkspaceMetadataResponse": {
"type": "structure",
Expand Down Expand Up @@ -2066,6 +2183,11 @@
"min": 1,
"pattern": "[-a-zA-Z0-9._]*"
},
"NextToken": {
"type": "string",
"max": 1000,
"min": 0
},
"Notifications": {
"type": "list",
"member": { "shape": "NotificationsFeature" },
Expand Down Expand Up @@ -2893,6 +3015,10 @@
"type": "string",
"enum": ["DECLARATION", "USAGE"]
},
"SyntheticTimestamp_date_time": {
"type": "timestamp",
"timestampFormat": "iso8601"
},
"TargetCode": {
"type": "structure",
"required": ["relativeTargetPath"],
Expand Down Expand Up @@ -3752,7 +3878,9 @@
"generatedLine": { "shape": "PrimitiveInteger" },
"numberOfRecommendations": { "shape": "PrimitiveInteger" },
"perceivedLatencyMilliseconds": { "shape": "Double" },
"acceptedCharacterCount": { "shape": "PrimitiveInteger" }
"acceptedCharacterCount": { "shape": "PrimitiveInteger" },
"addedIdeDiagnostics": { "shape": "IdeDiagnosticList" },
"removedIdeDiagnostics": { "shape": "IdeDiagnosticList" }
}
},
"ValidationException": {
Expand Down Expand Up @@ -3786,6 +3914,18 @@
"programmingLanguage": { "shape": "ProgrammingLanguage" }
}
},
"WorkspaceFolderList": {
"type": "list",
"member": { "shape": "WorkspaceFolderListMemberString" },
"max": 100,
"min": 0
},
"WorkspaceFolderListMemberString": {
"type": "string",
"max": 4096,
"min": 1,
"sensitive": true
},
"WorkspaceList": {
"type": "list",
"member": { "shape": "WorkspaceMetadata" }
Expand Down
Loading
Loading