From ea55dd87545bf477c9cb7ffe879bc9bc18c9b5b2 Mon Sep 17 00:00:00 2001 From: Beatrix Date: Mon, 19 Aug 2024 11:20:16 -0700 Subject: [PATCH] update bindings --- .../cody/agent/protocol_generated/CodyAgentClient.kt | 2 ++ .../cody/agent/protocol_generated/SerializedChatTranscript.kt | 1 - .../cody/agent/protocol_generated/WebviewNativeConfigParams.kt | 3 +++ 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/main/kotlin/com/sourcegraph/cody/agent/protocol_generated/CodyAgentClient.kt b/src/main/kotlin/com/sourcegraph/cody/agent/protocol_generated/CodyAgentClient.kt index 916ed890cf..0f75eb1cb5 100644 --- a/src/main/kotlin/com/sourcegraph/cody/agent/protocol_generated/CodyAgentClient.kt +++ b/src/main/kotlin/com/sourcegraph/cody/agent/protocol_generated/CodyAgentClient.kt @@ -17,6 +17,8 @@ interface CodyAgentClient { // ======== @JsonRequest("window/showMessage") fun window_showMessage(params: ShowWindowMessageParams): CompletableFuture + @JsonRequest("window/showSaveDialog") + fun window_showSaveDialog(params: Null?): CompletableFuture @JsonRequest("textDocument/edit") fun textDocument_edit(params: TextDocumentEditParams): CompletableFuture @JsonRequest("textDocument/openUntitledDocument") diff --git a/src/main/kotlin/com/sourcegraph/cody/agent/protocol_generated/SerializedChatTranscript.kt b/src/main/kotlin/com/sourcegraph/cody/agent/protocol_generated/SerializedChatTranscript.kt index b998f1d61a..11afd5cd5c 100644 --- a/src/main/kotlin/com/sourcegraph/cody/agent/protocol_generated/SerializedChatTranscript.kt +++ b/src/main/kotlin/com/sourcegraph/cody/agent/protocol_generated/SerializedChatTranscript.kt @@ -8,7 +8,6 @@ package com.sourcegraph.cody.agent.protocol_generated; data class SerializedChatTranscript( val id: String, - val chatModel: String? = null, val chatTitle: String? = null, val interactions: List, val lastInteractionTimestamp: String, diff --git a/src/main/kotlin/com/sourcegraph/cody/agent/protocol_generated/WebviewNativeConfigParams.kt b/src/main/kotlin/com/sourcegraph/cody/agent/protocol_generated/WebviewNativeConfigParams.kt index c4caf72cb1..552ee23e48 100644 --- a/src/main/kotlin/com/sourcegraph/cody/agent/protocol_generated/WebviewNativeConfigParams.kt +++ b/src/main/kotlin/com/sourcegraph/cody/agent/protocol_generated/WebviewNativeConfigParams.kt @@ -12,6 +12,9 @@ data class WebviewNativeConfigParams( val view: ViewEnum, // Oneof: multiple, single val cspSource: String, val webviewBundleServingPrefix: String, + val rootDir: String? = null, + val injectScript: String? = null, + val injectStyle: String? = null, ) { enum class ViewEnum {