diff options
Diffstat (limited to 'packages/core/src/code_assist/metadata.ts')
| -rw-r--r-- | packages/core/src/code_assist/metadata.ts | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/packages/core/src/code_assist/metadata.ts b/packages/core/src/code_assist/metadata.ts new file mode 100644 index 00000000..7f74f962 --- /dev/null +++ b/packages/core/src/code_assist/metadata.ts @@ -0,0 +1,37 @@ +/** + * @license + * Copyright 2025 Google LLC + * SPDX-License-Identifier: Apache-2.0 + */ + +export interface ClientMetadata { + ideType?: ClientMetadataIdeType | null; + ideVersion?: string | null; + pluginVersion?: string | null; + platform?: ClientMetadataPlatform | null; + updateChannel?: string | null; + duetProject?: string | null; + pluginType?: ClientMetadataPluginType | null; + ideName?: string | null; +} + +export type ClientMetadataIdeType = + | 'IDE_UNSPECIFIED' + | 'VSCODE' + | 'INTELLIJ' + | 'VSCODE_CLOUD_WORKSTATION' + | 'INTELLIJ_CLOUD_WORKSTATION' + | 'CLOUD_SHELL'; +export type ClientMetadataPlatform = + | 'PLATFORM_UNSPECIFIED' + | 'DARWIN_AMD64' + | 'DARWIN_ARM64' + | 'LINUX_AMD64' + | 'LINUX_ARM64' + | 'WINDOWS_AMD64'; +export type ClientMetadataPluginType = + | 'PLUGIN_UNSPECIFIED' + | 'CLOUD_CODE' + | 'GEMINI' + | 'AIPLUGIN_INTELLIJ' + | 'AIPLUGIN_STUDIO'; |
