Skip to content

Commit

Permalink
unreverted changes
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesmcnamara committed Oct 25, 2024
1 parent 8ee6c71 commit 994b4de
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main/kotlin/com/sourcegraph/cody/agent/CodyAgentServer.kt
Original file line number Diff line number Diff line change
Expand Up @@ -171,4 +171,6 @@ interface _LegacyAgentServer {

@JsonRequest("testing/requestErrors")
fun testingRequestErrors(): CompletableFuture<List<NetworkRequest>>

@JsonRequest("extension/reset") fun extension_reset(params: Null?): CompletableFuture<Null?>
}
Original file line number Diff line number Diff line change
Expand Up @@ -273,6 +273,10 @@ class CodyAuthenticationManager :

fun showInvalidAccessTokenError() = getIsTokenInvalid().getNow(null) == true

fun removeAll() {
accountManager.accounts.forEach { accountManager.removeAccount(it) }
}

override fun dispose() {
scheduler.shutdown()
}
Expand Down
2 changes: 2 additions & 0 deletions src/main/resources/META-INF/plugin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,8 @@
serviceImplementation="com.sourcegraph.find.FindService"/>
<postStartupActivity
implementation="com.sourcegraph.cody.initialization.PostStartupActivity"/>
<postStartupActivity
implementation="com.sourcegraph.cody.initialization.UninstallListener"/>

<!-- Cody -->
<toolWindow
Expand Down

0 comments on commit 994b4de

Please sign in to comment.