Файли
openidea/crates/ide-plugin/tests/fixtures/data-tools/plugin.toml
T
l0ng-ai 047cac209b feat(plugins): plugin API 1.4 (#2207)
Plugin API 1.4: grants for unencrypted HTTP, local sockets, IDE commands and owned database sources; window status items, output channels, content tabs, editor selections, decorations, search, Problems and VCS reads; runs, keyed terminals with exit events, plugin run targets, dynamic run configurations and test parsers; language features, injections, snippets and menu locations; plugin MCP tools on the built-in server; four official API examples. Released 1.3 plugins keep working.
2026-11-09 08:40:40 +08:00

69 рядки
1.2 KiB
TOML

id = "test.data-tools"
name = "Data tools fixture"
version = "0.1.0"
engines.openidea = "^1.4"
wasm = "dist/plugin.wasm"
activation = ["on-command:*"]
[capabilities]
required = ["project.read"]
optional = ["database.sources"]
[[contributes.commands]]
id = "upsert"
title = "upsert"
[[contributes.commands]]
id = "remove"
title = "remove"
[[contributes.commands]]
id = "sources"
title = "sources"
[[contributes.commands]]
id = "credential"
title = "credential"
[[contributes.commands]]
id = "connect"
title = "connect"
[[contributes.commands]]
id = "stdio"
title = "stdio"
[[contributes.mcpTools]]
name = "echo"
description = "Fixture echo"
inputSchema = "arguments.json"
readOnly = true
destructive = false
[[contributes.mcpTools]]
name = "write"
description = "Fixture write"
inputSchema = "arguments.json"
readOnly = false
destructive = false
[[contributes.mcpTools]]
name = "erase"
description = "Fixture erase"
inputSchema = "arguments.json"
readOnly = false
destructive = true
[[contributes.mcpTools]]
name = "spin"
description = "Fixture spin"
inputSchema = "arguments.json"
readOnly = true
destructive = false
[[contributes.mcpTools]]
name = "denied"
description = "Fixture denied"
inputSchema = "arguments.json"
readOnly = true
destructive = false