@aws/language-server-runtimes-types
Advanced tools
Comparing version 0.0.5 to 0.0.6
# Changelog | ||
## [0.0.6] = 2024-06-20 | ||
- Move `ChatOptions` into `runtimes-types` | ||
- Introduce `EncryptedChatParams` and `EncryptedQuickActionParams` to be used by runtimes | ||
## [0.0.5] = 2024-06-05 | ||
@@ -4,0 +9,0 @@ |
@@ -63,2 +63,5 @@ import { Position, Range, TextDocumentIdentifier } from './lsp'; | ||
} | ||
export interface EncryptedChatParams extends PartialResultParams { | ||
message: string; | ||
} | ||
export interface ChatResult { | ||
@@ -82,2 +85,35 @@ body?: string; | ||
export type EndChatResult = boolean; | ||
/** | ||
* Configuration object for chat quick action. | ||
*/ | ||
export interface QuickActionCommand { | ||
command: string; | ||
disabled?: boolean; | ||
description?: string; | ||
placeholder?: string; | ||
} | ||
/** | ||
* Configuration object for registering chat quick actions groups. | ||
*/ | ||
export interface QuickActionCommandGroup { | ||
groupName?: string; | ||
commands: QuickActionCommand[]; | ||
} | ||
/** | ||
* Registration options for a Chat QuickActionRequest. | ||
*/ | ||
export interface QuickActions { | ||
/** | ||
* The chat quick actions groups and commands to be executed on server. | ||
*/ | ||
quickActionsCommandGroups: QuickActionCommandGroup[]; | ||
} | ||
/** | ||
* Registration options regarding chat data | ||
* Currently only contains the available quick actions provided by a server | ||
* Can be extended in the future (e.g with default tab data) | ||
*/ | ||
export interface ChatOptions { | ||
quickActions?: QuickActions; | ||
} | ||
export interface QuickActionParams extends PartialResultParams { | ||
@@ -90,2 +126,5 @@ tabId: string; | ||
} | ||
export interface EncryptedQuickActionParams extends PartialResultParams { | ||
message: string; | ||
} | ||
export interface QuickActionResult extends ChatResult { | ||
@@ -92,0 +131,0 @@ } |
{ | ||
"name": "@aws/language-server-runtimes-types", | ||
"version": "0.0.5", | ||
"version": "0.0.6", | ||
"description": "Type definitions in Language Servers and Runtimes for AWS", | ||
@@ -9,3 +9,3 @@ "main": "index.js", | ||
"compile": "tsc --build", | ||
"prepub:copyFiles": "cp ../.npmignore CHANGELOG.md ../LICENSE ../NOTICE README.md ../SECURITY.md package.json out/", | ||
"prepub:copyFiles": "shx cp ../.npmignore CHANGELOG.md ../LICENSE ../NOTICE README.md ../SECURITY.md package.json out/", | ||
"prepub": "npm run clean && npm run compile && npm run prepub:copyFiles", | ||
@@ -12,0 +12,0 @@ "pub": "cd out && npm publish" |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
49660
327
0