Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@aws/language-server-runtimes-types

Package Overview
Dependencies
Maintainers
7
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@aws/language-server-runtimes-types - npm Package Compare versions

Comparing version 0.0.1 to 0.0.2

5

CHANGELOG.md
# Changelog
## [0.0.2] - 2024-05-06
- Update Chat and QuickAction request parameter types
- Fix main entry to the package
## [0.0.1] - 2024-04-24
- Initial release containing type definitions migrated from `@aws/language-server-runtimes` package

18

chat.d.ts

@@ -0,1 +1,2 @@

import { Position, Range, TextDocumentIdentifier } from './lsp';
export interface ChatItemAction {

@@ -38,5 +39,15 @@ pillText: string;

export type CodeSelectionType = 'selection' | 'block';
export interface ChatParams {
export type CursorState = {
position: Position;
} | {
range: Range;
};
interface PartialResultParams {
partialResultToken?: number | string;
}
export interface ChatParams extends PartialResultParams {
tabId: string;
prompt: ChatPrompt;
cursorState?: CursorState[];
textDocument?: TextDocumentIdentifier;
}

@@ -61,6 +72,8 @@ export interface ChatResult {

export type EndChatResult = boolean;
export interface QuickActionParams {
export interface QuickActionParams extends PartialResultParams {
tabId: string;
quickAction: string;
prompt?: string;
cursorState?: CursorState[];
textDocument?: TextDocumentIdentifier;
}

@@ -112,1 +125,2 @@ export interface QuickActionResult extends ChatResult {

}
export {};

1

chat.js
"use strict";
// Chat Data Model
Object.defineProperty(exports, "__esModule", { value: true });

@@ -4,0 +3,0 @@ exports.VoteType = void 0;

{
"name": "@aws/language-server-runtimes-types",
"version": "0.0.1",
"version": "0.0.2",
"description": "Type definitions in Language Servers and Runtimes for AWS",
"main": "out/index.js",
"main": "index.js",
"scripts": {

@@ -7,0 +7,0 @@ "clean": "rm -rf out/",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc