-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Lower Cody CodeActions priority as a temporary workaround
- Loading branch information
Showing
25 changed files
with
343 additions
and
10 deletions.
There are no files selected for viewing
13 changes: 13 additions & 0 deletions
13
src/main/kotlin/com/sourcegraph/cody/agent/protocol_generated/Chat_Sidebar_NewResult.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
/* | ||
* Generated file - DO NOT EDIT MANUALLY | ||
* They are copied from the cody agent project using the copyProtocol gradle task. | ||
* This is only a temporary solution before we fully migrate to generated protocol messages. | ||
*/ | ||
@file:Suppress("FunctionName", "ClassName", "unused", "EnumEntryName", "UnusedImport") | ||
package com.sourcegraph.cody.agent.protocol_generated; | ||
|
||
data class Chat_Sidebar_NewResult( | ||
val panelId: String, | ||
val chatId: String, | ||
) | ||
|
18 changes: 18 additions & 0 deletions
18
src/main/kotlin/com/sourcegraph/cody/agent/protocol_generated/DefiniteWebviewOptions.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
/* | ||
* Generated file - DO NOT EDIT MANUALLY | ||
* They are copied from the cody agent project using the copyProtocol gradle task. | ||
* This is only a temporary solution before we fully migrate to generated protocol messages. | ||
*/ | ||
@file:Suppress("FunctionName", "ClassName", "unused", "EnumEntryName", "UnusedImport") | ||
package com.sourcegraph.cody.agent.protocol_generated; | ||
|
||
data class DefiniteWebviewOptions( | ||
val enableScripts: Boolean, | ||
val enableForms: Boolean, | ||
val enableOnlyCommandUris: List<String>? = null, | ||
val localResourceRoots: List<String>? = null, | ||
val portMapping: List<PortMappingParams>, | ||
val enableFindWidget: Boolean, | ||
val retainContextWhenHidden: Boolean, | ||
) | ||
|
12 changes: 12 additions & 0 deletions
12
src/main/kotlin/com/sourcegraph/cody/agent/protocol_generated/Env_OpenExternalParams.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
/* | ||
* Generated file - DO NOT EDIT MANUALLY | ||
* They are copied from the cody agent project using the copyProtocol gradle task. | ||
* This is only a temporary solution before we fully migrate to generated protocol messages. | ||
*/ | ||
@file:Suppress("FunctionName", "ClassName", "unused", "EnumEntryName", "UnusedImport") | ||
package com.sourcegraph.cody.agent.protocol_generated; | ||
|
||
data class Env_OpenExternalParams( | ||
val uri: String, | ||
) | ||
|
13 changes: 13 additions & 0 deletions
13
src/main/kotlin/com/sourcegraph/cody/agent/protocol_generated/PortMappingParams.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
/* | ||
* Generated file - DO NOT EDIT MANUALLY | ||
* They are copied from the cody agent project using the copyProtocol gradle task. | ||
* This is only a temporary solution before we fully migrate to generated protocol messages. | ||
*/ | ||
@file:Suppress("FunctionName", "ClassName", "unused", "EnumEntryName", "UnusedImport") | ||
package com.sourcegraph.cody.agent.protocol_generated; | ||
|
||
data class PortMappingParams( | ||
val webviewPort: Long, | ||
val extensionHostPort: Long, | ||
) | ||
|
15 changes: 15 additions & 0 deletions
15
src/main/kotlin/com/sourcegraph/cody/agent/protocol_generated/SaveDialogOptionsParams.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
/* | ||
* Generated file - DO NOT EDIT MANUALLY | ||
* They are copied from the cody agent project using the copyProtocol gradle task. | ||
* This is only a temporary solution before we fully migrate to generated protocol messages. | ||
*/ | ||
@file:Suppress("FunctionName", "ClassName", "unused", "EnumEntryName", "UnusedImport") | ||
package com.sourcegraph.cody.agent.protocol_generated; | ||
|
||
data class SaveDialogOptionsParams( | ||
val defaultUri: String? = null, | ||
val saveLabel: String? = null, | ||
val filters: Map<String, List<String>>? = null, | ||
val title: String? = null, | ||
) | ||
|
13 changes: 13 additions & 0 deletions
13
src/main/kotlin/com/sourcegraph/cody/agent/protocol_generated/ShowOptionsParams.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
/* | ||
* Generated file - DO NOT EDIT MANUALLY | ||
* They are copied from the cody agent project using the copyProtocol gradle task. | ||
* This is only a temporary solution before we fully migrate to generated protocol messages. | ||
*/ | ||
@file:Suppress("FunctionName", "ClassName", "unused", "EnumEntryName", "UnusedImport") | ||
package com.sourcegraph.cody.agent.protocol_generated; | ||
|
||
data class ShowOptionsParams( | ||
val preserveFocus: Boolean, | ||
val viewColumn: Long, | ||
) | ||
|
13 changes: 13 additions & 0 deletions
13
src/main/kotlin/com/sourcegraph/cody/agent/protocol_generated/SourceParams.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
/* | ||
* Generated file - DO NOT EDIT MANUALLY | ||
* They are copied from the cody agent project using the copyProtocol gradle task. | ||
* This is only a temporary solution before we fully migrate to generated protocol messages. | ||
*/ | ||
@file:Suppress("FunctionName", "ClassName", "unused", "EnumEntryName", "UnusedImport") | ||
package com.sourcegraph.cody.agent.protocol_generated; | ||
|
||
data class SourceParams( | ||
val client: String, | ||
val clientVersion: String, | ||
) | ||
|
16 changes: 16 additions & 0 deletions
16
src/main/kotlin/com/sourcegraph/cody/agent/protocol_generated/TestingTelemetryEvent.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
/* | ||
* Generated file - DO NOT EDIT MANUALLY | ||
* They are copied from the cody agent project using the copyProtocol gradle task. | ||
* This is only a temporary solution before we fully migrate to generated protocol messages. | ||
*/ | ||
@file:Suppress("FunctionName", "ClassName", "unused", "EnumEntryName", "UnusedImport") | ||
package com.sourcegraph.cody.agent.protocol_generated; | ||
|
||
data class TestingTelemetryEvent( | ||
val feature: String, | ||
val action: String, | ||
val source: SourceParams, | ||
val timestamp: String, | ||
val testOnlyAnonymousUserID: String, | ||
) | ||
|
12 changes: 12 additions & 0 deletions
12
...in/com/sourcegraph/cody/agent/protocol_generated/Testing_ExportedTelemetryEventsResult.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
/* | ||
* Generated file - DO NOT EDIT MANUALLY | ||
* They are copied from the cody agent project using the copyProtocol gradle task. | ||
* This is only a temporary solution before we fully migrate to generated protocol messages. | ||
*/ | ||
@file:Suppress("FunctionName", "ClassName", "unused", "EnumEntryName", "UnusedImport") | ||
package com.sourcegraph.cody.agent.protocol_generated; | ||
|
||
data class Testing_ExportedTelemetryEventsResult( | ||
val events: List<TestingTelemetryEvent>, | ||
) | ||
|
18 changes: 18 additions & 0 deletions
18
.../kotlin/com/sourcegraph/cody/agent/protocol_generated/WebviewCreateWebviewPanelOptions.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
/* | ||
* Generated file - DO NOT EDIT MANUALLY | ||
* They are copied from the cody agent project using the copyProtocol gradle task. | ||
* This is only a temporary solution before we fully migrate to generated protocol messages. | ||
*/ | ||
@file:Suppress("FunctionName", "ClassName", "unused", "EnumEntryName", "UnusedImport") | ||
package com.sourcegraph.cody.agent.protocol_generated; | ||
|
||
data class WebviewCreateWebviewPanelOptions( | ||
val enableScripts: Boolean, | ||
val enableForms: Boolean, | ||
val enableOnlyCommandUris: List<String>? = null, | ||
val localResourceRoots: List<String>? = null, | ||
val portMapping: List<PortMappingParams>, | ||
val enableFindWidget: Boolean, | ||
val retainContextWhenHidden: Boolean, | ||
) | ||
|
25 changes: 25 additions & 0 deletions
25
src/main/kotlin/com/sourcegraph/cody/agent/protocol_generated/WebviewNativeConfigParams.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
/* | ||
* Generated file - DO NOT EDIT MANUALLY | ||
* They are copied from the cody agent project using the copyProtocol gradle task. | ||
* This is only a temporary solution before we fully migrate to generated protocol messages. | ||
*/ | ||
@file:Suppress("FunctionName", "ClassName", "unused", "EnumEntryName", "UnusedImport") | ||
package com.sourcegraph.cody.agent.protocol_generated; | ||
|
||
import com.google.gson.annotations.SerializedName; | ||
|
||
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 { | ||
@SerializedName("multiple") Multiple, | ||
@SerializedName("single") Single, | ||
} | ||
} | ||
|
16 changes: 16 additions & 0 deletions
16
.../kotlin/com/sourcegraph/cody/agent/protocol_generated/Webview_CreateWebviewPanelParams.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
/* | ||
* Generated file - DO NOT EDIT MANUALLY | ||
* They are copied from the cody agent project using the copyProtocol gradle task. | ||
* This is only a temporary solution before we fully migrate to generated protocol messages. | ||
*/ | ||
@file:Suppress("FunctionName", "ClassName", "unused", "EnumEntryName", "UnusedImport") | ||
package com.sourcegraph.cody.agent.protocol_generated; | ||
|
||
data class Webview_CreateWebviewPanelParams( | ||
val handle: String, | ||
val viewType: String, | ||
val title: String, | ||
val showOptions: ShowOptionsParams, | ||
val options: WebviewCreateWebviewPanelOptions, | ||
) | ||
|
12 changes: 12 additions & 0 deletions
12
...in/kotlin/com/sourcegraph/cody/agent/protocol_generated/Webview_DidDisposeNativeParams.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
/* | ||
* Generated file - DO NOT EDIT MANUALLY | ||
* They are copied from the cody agent project using the copyProtocol gradle task. | ||
* This is only a temporary solution before we fully migrate to generated protocol messages. | ||
*/ | ||
@file:Suppress("FunctionName", "ClassName", "unused", "EnumEntryName", "UnusedImport") | ||
package com.sourcegraph.cody.agent.protocol_generated; | ||
|
||
data class Webview_DidDisposeNativeParams( | ||
val handle: String, | ||
) | ||
|
12 changes: 12 additions & 0 deletions
12
src/main/kotlin/com/sourcegraph/cody/agent/protocol_generated/Webview_DisposeParams.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
/* | ||
* Generated file - DO NOT EDIT MANUALLY | ||
* They are copied from the cody agent project using the copyProtocol gradle task. | ||
* This is only a temporary solution before we fully migrate to generated protocol messages. | ||
*/ | ||
@file:Suppress("FunctionName", "ClassName", "unused", "EnumEntryName", "UnusedImport") | ||
package com.sourcegraph.cody.agent.protocol_generated; | ||
|
||
data class Webview_DisposeParams( | ||
val handle: String, | ||
) | ||
|
13 changes: 13 additions & 0 deletions
13
...om/sourcegraph/cody/agent/protocol_generated/Webview_RegisterWebviewViewProviderParams.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
/* | ||
* Generated file - DO NOT EDIT MANUALLY | ||
* They are copied from the cody agent project using the copyProtocol gradle task. | ||
* This is only a temporary solution before we fully migrate to generated protocol messages. | ||
*/ | ||
@file:Suppress("FunctionName", "ClassName", "unused", "EnumEntryName", "UnusedImport") | ||
package com.sourcegraph.cody.agent.protocol_generated; | ||
|
||
data class Webview_RegisterWebviewViewProviderParams( | ||
val viewId: String, | ||
val retainContextWhenHidden: Boolean, | ||
) | ||
|
13 changes: 13 additions & 0 deletions
13
.../kotlin/com/sourcegraph/cody/agent/protocol_generated/Webview_ResolveWebviewViewParams.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
/* | ||
* Generated file - DO NOT EDIT MANUALLY | ||
* They are copied from the cody agent project using the copyProtocol gradle task. | ||
* This is only a temporary solution before we fully migrate to generated protocol messages. | ||
*/ | ||
@file:Suppress("FunctionName", "ClassName", "unused", "EnumEntryName", "UnusedImport") | ||
package com.sourcegraph.cody.agent.protocol_generated; | ||
|
||
data class Webview_ResolveWebviewViewParams( | ||
val viewId: String, | ||
val webviewHandle: String, | ||
) | ||
|
14 changes: 14 additions & 0 deletions
14
src/main/kotlin/com/sourcegraph/cody/agent/protocol_generated/Webview_RevealParams.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
/* | ||
* Generated file - DO NOT EDIT MANUALLY | ||
* They are copied from the cody agent project using the copyProtocol gradle task. | ||
* This is only a temporary solution before we fully migrate to generated protocol messages. | ||
*/ | ||
@file:Suppress("FunctionName", "ClassName", "unused", "EnumEntryName", "UnusedImport") | ||
package com.sourcegraph.cody.agent.protocol_generated; | ||
|
||
data class Webview_RevealParams( | ||
val handle: String, | ||
val viewColumn: Long, | ||
val preserveFocus: Boolean, | ||
) | ||
|
13 changes: 13 additions & 0 deletions
13
src/main/kotlin/com/sourcegraph/cody/agent/protocol_generated/Webview_SetHtmlParams.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
/* | ||
* Generated file - DO NOT EDIT MANUALLY | ||
* They are copied from the cody agent project using the copyProtocol gradle task. | ||
* This is only a temporary solution before we fully migrate to generated protocol messages. | ||
*/ | ||
@file:Suppress("FunctionName", "ClassName", "unused", "EnumEntryName", "UnusedImport") | ||
package com.sourcegraph.cody.agent.protocol_generated; | ||
|
||
data class Webview_SetHtmlParams( | ||
val handle: String, | ||
val html: String, | ||
) | ||
|
13 changes: 13 additions & 0 deletions
13
src/main/kotlin/com/sourcegraph/cody/agent/protocol_generated/Webview_SetIconPathParams.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
/* | ||
* Generated file - DO NOT EDIT MANUALLY | ||
* They are copied from the cody agent project using the copyProtocol gradle task. | ||
* This is only a temporary solution before we fully migrate to generated protocol messages. | ||
*/ | ||
@file:Suppress("FunctionName", "ClassName", "unused", "EnumEntryName", "UnusedImport") | ||
package com.sourcegraph.cody.agent.protocol_generated; | ||
|
||
data class Webview_SetIconPathParams( | ||
val handle: String, | ||
val iconPathUri: String? = null, | ||
) | ||
|
13 changes: 13 additions & 0 deletions
13
src/main/kotlin/com/sourcegraph/cody/agent/protocol_generated/Webview_SetOptionsParams.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
/* | ||
* Generated file - DO NOT EDIT MANUALLY | ||
* They are copied from the cody agent project using the copyProtocol gradle task. | ||
* This is only a temporary solution before we fully migrate to generated protocol messages. | ||
*/ | ||
@file:Suppress("FunctionName", "ClassName", "unused", "EnumEntryName", "UnusedImport") | ||
package com.sourcegraph.cody.agent.protocol_generated; | ||
|
||
data class Webview_SetOptionsParams( | ||
val handle: String, | ||
val options: DefiniteWebviewOptions, | ||
) | ||
|
13 changes: 13 additions & 0 deletions
13
src/main/kotlin/com/sourcegraph/cody/agent/protocol_generated/Webview_SetTitleParams.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
/* | ||
* Generated file - DO NOT EDIT MANUALLY | ||
* They are copied from the cody agent project using the copyProtocol gradle task. | ||
* This is only a temporary solution before we fully migrate to generated protocol messages. | ||
*/ | ||
@file:Suppress("FunctionName", "ClassName", "unused", "EnumEntryName", "UnusedImport") | ||
package com.sourcegraph.cody.agent.protocol_generated; | ||
|
||
data class Webview_SetTitleParams( | ||
val handle: String, | ||
val title: String, | ||
) | ||
|
13 changes: 13 additions & 0 deletions
13
...ain/kotlin/com/sourcegraph/cody/agent/protocol_generated/Window_DidChangeContextParams.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
/* | ||
* Generated file - DO NOT EDIT MANUALLY | ||
* They are copied from the cody agent project using the copyProtocol gradle task. | ||
* This is only a temporary solution before we fully migrate to generated protocol messages. | ||
*/ | ||
@file:Suppress("FunctionName", "ClassName", "unused", "EnumEntryName", "UnusedImport") | ||
package com.sourcegraph.cody.agent.protocol_generated; | ||
|
||
data class Window_DidChangeContextParams( | ||
val key: String, | ||
val value: String? = null, | ||
) | ||
|
12 changes: 12 additions & 0 deletions
12
...n/kotlin/com/sourcegraph/cody/agent/protocol_generated/WorkspaceFolder_DidChangeParams.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
/* | ||
* Generated file - DO NOT EDIT MANUALLY | ||
* They are copied from the cody agent project using the copyProtocol gradle task. | ||
* This is only a temporary solution before we fully migrate to generated protocol messages. | ||
*/ | ||
@file:Suppress("FunctionName", "ClassName", "unused", "EnumEntryName", "UnusedImport") | ||
package com.sourcegraph.cody.agent.protocol_generated; | ||
|
||
data class WorkspaceFolder_DidChangeParams( | ||
val uris: List<String>, | ||
) | ||
|
Oops, something went wrong.