summaryrefslogtreecommitdiff
path: root/packages/core/src/code_assist/metadata.ts
diff options
context:
space:
mode:
authorTommaso Sciortino <[email protected]>2025-06-09 15:14:06 -0700
committerGitHub <[email protected]>2025-06-09 15:14:06 -0700
commit5c9e526f0e967afe75c4948e4b077db286f626f2 (patch)
treeacd94d90266f9d63d034242cd0fad4670692ee98 /packages/core/src/code_assist/metadata.ts
parentf11414a424fb6a440e74d0faabfa254ea75d82c7 (diff)
Code to support Oauth login (#881)
Diffstat (limited to 'packages/core/src/code_assist/metadata.ts')
-rw-r--r--packages/core/src/code_assist/metadata.ts37
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';