дзеркало
https://github.com/l0ng-ai/openidea.git
синхронізовано 2026-11-08 19:02:17 +02:00
views.open-log-tab(key, title, process-log) (SDK host::open_log_tab) opens the read-only log tab a web view opens with open-log-tab, from a command or event of a window, reusing the Services pane's process-log. The host checks the process grant and limits when called and remembers what each key runs in that window; the tab starts it by key (plugin_log_tab_spawn) through the web-view PTY checks: pinned program, trusted project, session cap, lifecycle and grant revocation. Remote windows report that these tabs aren't available there yet.
34 рядки
726 B
TOML
34 рядки
726 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", "on-command:code"]
|
|
|
|
[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"
|
|
|
|
[[contributes.commands]]
|
|
id = "code"
|
|
title = "Log Probe: Open From Code"
|