11import { standalone } from '@aws/language-server-runtimes/runtimes'
22import {
3+ AmazonQServiceServerIAM ,
4+ AmazonQServiceServerToken ,
35 CodeWhispererSecurityScanServerTokenProxy ,
46 CodeWhispererServerTokenProxy ,
5- QAgenticChatServerTokenProxy ,
7+ QAgenticChatServerProxy ,
68 QConfigurationServerTokenProxy ,
7- QLocalProjectContextServerTokenProxy ,
9+ QLocalProjectContextServerProxy ,
810 QNetTransformServerTokenProxy ,
911 WorkspaceContextServerTokenProxy ,
1012} from '@aws/lsp-codewhisperer'
@@ -14,26 +16,32 @@ import {
1416 FsToolsServer ,
1517 McpToolsServer ,
1618} from '@aws/lsp-codewhisperer/out/language-server/agenticChat/tools/toolServer'
17- import { createTokenRuntimeProps } from './standalone-common '
19+ import { RuntimeProps } from '@aws/language-server-runtimes/runtimes/runtime '
1820
1921const MAJOR = 0
2022const MINOR = 1
2123const PATCH = 0
2224const VERSION = `${ MAJOR } .${ MINOR } .${ PATCH } `
2325
24- const props = createTokenRuntimeProps ( VERSION , [
25- CodeWhispererServerTokenProxy ,
26- CodeWhispererSecurityScanServerTokenProxy ,
27- QConfigurationServerTokenProxy ,
28- QNetTransformServerTokenProxy ,
29- QAgenticChatServerTokenProxy ,
30- IdentityServer . create ,
31- FsToolsServer ,
32- BashToolsServer ,
33- QLocalProjectContextServerTokenProxy ,
34- WorkspaceContextServerTokenProxy ,
35- McpToolsServer ,
36- // LspToolsServer,
37- ] )
26+ const props = {
27+ version : VERSION ,
28+ servers : [
29+ CodeWhispererServerTokenProxy ,
30+ CodeWhispererSecurityScanServerTokenProxy ,
31+ QConfigurationServerTokenProxy ,
32+ QNetTransformServerTokenProxy ,
33+ QAgenticChatServerProxy ,
34+ IdentityServer . create ,
35+ FsToolsServer ,
36+ BashToolsServer ,
37+ QLocalProjectContextServerProxy ,
38+ WorkspaceContextServerTokenProxy ,
39+ McpToolsServer ,
40+ // LspToolsServer,
41+ AmazonQServiceServerIAM ,
42+ AmazonQServiceServerToken ,
43+ ] ,
44+ name : 'AWS CodeWhisperer' ,
45+ } as RuntimeProps
3846
3947standalone ( props )
0 commit comments