Файли
openidea/crates/ide-plugin/tests/fixtures/web-log/plugin.toml
T
Deng Liuтаdengliu fbf57bed23 feat(plugins): generic streaming log editor tab for plugin web views (#2043)
A plugin web view can open a read-only editor tab that streams a process's output, with plugin-defined toggles, Find, wrap, zoom and Clear. The process is authorised in the backend against the exact granted `process:<program>` and its pinned executable, output is bounded, and the stream survives tab switches but ends when the tab closes, the plugin is disabled or the window closes. Adds a web-log test fixture and docs. Verified on macOS; Windows/Linux not run.

Co-authored-by: dengliu <[email protected]>
2026-11-08 04:06:04 +08:00

30 рядки
633 B
TOML

id = "web-log"
name = "Web Log Probe"
version = "0.1.0"
description = "Test fixture for a capability-gated streaming editor tab."
engines.openidea = "^1.3"
wasm = "dist/plugin.wasm"
activation = ["on-command:ping", "on-command:open", "on-command:denied"]
[capabilities]
optional = ["process:bash"]
[[contributes.views]]
id = "logs"
title = "Log Probe"
icon = "file-log"
location = "right"
web = "web/index.html"
[[contributes.commands]]
id = "ping"
title = "Log Probe: Ping"
[[contributes.commands]]
id = "open"
title = "Log Probe: Open Stream"
[[contributes.commands]]
id = "denied"
title = "Log Probe: Try Undeclared Program"