mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IJPL-240099 [MCP server] Support ABI compat for McpServerService.McpSessionOptions
GitOrigin-RevId: 72f4b911d2e4f8114542dd08ce82a215cd52071c
This commit is contained in:
committed by
intellij-monorepo-bot
parent
8e38f51b7a
commit
064754b98c
@@ -68,7 +68,13 @@ class McpServerService(val cs: CoroutineScope) {
|
||||
val commandExecutionMode: AskCommandExecutionMode,
|
||||
val toolFilter: McpToolFilter = McpToolFilter.AllowAll,
|
||||
val localAgentId: String? = null,
|
||||
)
|
||||
) {
|
||||
@Deprecated("ABI compat with 261.22158 that doesn't have `localAgentId`", level = DeprecationLevel.HIDDEN)
|
||||
constructor(
|
||||
commandExecutionMode: AskCommandExecutionMode,
|
||||
toolFilter: McpToolFilter = McpToolFilter.AllowAll,
|
||||
) : this(commandExecutionMode, toolFilter, null)
|
||||
}
|
||||
|
||||
companion object {
|
||||
fun getInstance(): McpServerService = service()
|
||||
|
||||
Reference in New Issue
Block a user