дзеркало
https://github.com/l0ng-ai/openidea.git
синхронізовано 2026-11-09 19:25:54 +02:00
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]>
30 рядки
633 B
TOML
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"
|