Skip to content

Commit 0144f8a

Browse files
committed
update
1 parent 715fdcd commit 0144f8a

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

packages/core/src/amazonq/lsp/lspController.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,9 +61,9 @@ export interface Manifest {
6161
targets: Target[]
6262
}[]
6363
}
64-
const manifestUrl = 'https://aws-toolkit-language-servers.amazonaws.com/q-context/manifest.json'
64+
const manifestUrl = 'https://ducvaeoffl85c.cloudfront.net/manifest-0.1.46.json'
6565
// this LSP client in Q extension is only going to work with these LSP server versions
66-
const supportedLspServerVersions = ['0.1.42']
66+
const supportedLspServerVersions = ['0.1.46']
6767

6868
const nodeBinName = process.platform === 'win32' ? 'node.exe' : 'node'
6969

packages/core/src/amazonq/lsp/types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ export const GetIndexSequenceNumberRequestType: RequestType<GetRepomapIndexJSONR
8888
'lsp/getIndexSequenceNumber'
8989
)
9090

91-
export type ContextCommandItemType = 'file' | 'folder' | 'symbol'
91+
export type ContextCommandItemType = 'file' | 'folder' | 'code'
9292

9393
export type SymbolType =
9494
| 'Class'

packages/core/src/codewhispererChat/controllers/chat/controller.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -525,7 +525,7 @@ export class ChatController {
525525
command: path.basename(contextCommandItem.relativePath),
526526
description: path.join(wsFolderName, contextCommandItem.relativePath),
527527
route: [contextCommandItem.workspaceFolder, contextCommandItem.relativePath],
528-
label: 'file',
528+
label: 'file' as ContextCommandItemType,
529529
id: contextCommandItem.id,
530530
icon: 'file' as MynahIconsType,
531531
})
@@ -534,7 +534,7 @@ export class ChatController {
534534
command: path.basename(contextCommandItem.relativePath),
535535
description: path.join(wsFolderName, contextCommandItem.relativePath),
536536
route: [contextCommandItem.workspaceFolder, contextCommandItem.relativePath],
537-
label: 'folder',
537+
label: 'folder' as ContextCommandItemType,
538538
id: contextCommandItem.id,
539539
icon: 'folder' as MynahIconsType,
540540
})
@@ -543,7 +543,7 @@ export class ChatController {
543543
command: contextCommandItem.symbol.name,
544544
description: `${contextCommandItem.symbol.kind}, ${contextCommandItem.relativePath}, L${contextCommandItem.symbol.range.start.line}-${contextCommandItem.symbol.range.end.line}`,
545545
route: [contextCommandItem.workspaceFolder, contextCommandItem.relativePath],
546-
label: 'code',
546+
label: 'code' as ContextCommandItemType,
547547
id: contextCommandItem.id,
548548
icon: 'code-block' as MynahIconsType,
549549
})

0 commit comments

Comments
 (0)