Skip to content

Commit

Permalink
update bindings
Browse files Browse the repository at this point in the history
  • Loading branch information
abeatrix committed Aug 19, 2024
1 parent bdee018 commit ea55dd8
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ interface CodyAgentClient {
// ========
@JsonRequest("window/showMessage")
fun window_showMessage(params: ShowWindowMessageParams): CompletableFuture<String?>
@JsonRequest("window/showSaveDialog")
fun window_showSaveDialog(params: Null?): CompletableFuture<String?>
@JsonRequest("textDocument/edit")
fun textDocument_edit(params: TextDocumentEditParams): CompletableFuture<Boolean>
@JsonRequest("textDocument/openUntitledDocument")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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<SerializedChatInteraction>,
val lastInteractionTimestamp: String,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit ea55dd8

Please sign in to comment.