Skip to content

Floralph/nep flare #1638

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 108 commits into
base: main
Choose a base branch
from
Draft

Floralph/nep flare #1638

wants to merge 108 commits into from

Conversation

atonaamz
Copy link
Contributor

Problem

Solution

License

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

floralph and others added 30 commits April 28, 2025 21:49
…rovider (#1188)

* feat(client): add support for edit suggestions in inline completion provider

* feat(client): update to use isInlineEdit and simplify telemetry

* feat(client): improve comments and fix redundant code
- Add support for insertText property in server responses
- Implement robust udiff handling with diff-match-patch library
- Fix issue with lingering diff encoding in edit suggestions
- Add detailed logging for better diagnostics
- Handle edge cases in patch application
- Remove excessive logging
- Keep only essential debug messages
- Simplify code while maintaining functionality
- Add diff-match-patch and its type definitions
- Document the need for robust udiff handling
- Prepare for PR submission
feat: adding new fields for NEP telemetry event
fix: make new fields in userModificationEvent optional
…m main branch and fixed conflicts in multiple files.\nUpdated emitUserModificationEvent call to match new API signature
Merged latest changes from main branch and fixed conflicts in multiple files.

Updated emitUserModificationEvent call to match new API signature
Added .gitallowed file to prevent false positive detection of '.brazil'

directory name in constants.ts
Updated .gitallowed to only allow '.brazil' in the constants.ts file

for better security
Added auto-trigger files for NEP edit prediction feature
Populate telemetry metrics for NEP
pass addedCharacterCount and deletedCharacterCount to UTG event

# Workspace
client/vscode/lsp_client.code-workspace
package-lock.json
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

package-lock.json needs to be removed from here

"args": [
"--extensionDevelopmentPath=${workspaceFolder}/client/vscode",
"--disable-extensions",
"--enable-proposed-api=aws.awsdocuments-ls-client",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This proposed API cannot be used in production.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it is OK to only use it in debug

@@ -28,7 +32,7 @@ const props = createTokenRuntimeProps(VERSION, [
BashToolsServer,
QLocalProjectContextServerTokenProxy,
WorkspaceContextServerTokenProxy,
// McpToolsServer,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this diff should not exist in this PR..

@@ -1,17 +1,9 @@
const path = require('path')
var path = require('path')
const webpack = require('webpack')
const HtmlWebpackPlugin = require('html-webpack-plugin')
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please keep this file as is. There is a high chance that this breaks our release pipeline

@@ -1,5 +1,30 @@
# Changelog

## [0.1.15](https://github.com/aws/language-servers/compare/chat-client/v0.1.14...chat-client/v0.1.15) (2025-06-11)

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this diff should not be in this pr

atonaamz and others added 22 commits June 13, 2025 02:44
feat: adding feature flag and merge codeWhispererServer.ts from main
fix: removing logic to skip suggestion at same location
fix: remove checking for predictionTypes in codeWhispererServer
Fix unit test failures due to NEP
feat: adding logic to merge with previous suggestion
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants