feat(plugins): let plugin code open streaming log tabs (#2082)

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.
Цей коміт міститься в:
l0ng-ai authored and GitHub committed 2026-11-08 10:01:35 +08:00
1 джерело ec171c3188
коміт 2bf412ff0d
92 files changed
+496 -50

No files matched your search

+2 -1
Переглянути файл
@@ -402,5 +402,6 @@
"The plugin did not save the content": "The plugin did not save the content",
"Running an action applies pending settings first.": "Running an action applies pending settings first.",
"Could not apply settings.": "Could not apply settings.",
"The value exceeds this setting’s limits.": "The value exceeds this setting’s limits."
"The value exceeds this setting’s limits.": "The value exceeds this setting’s limits.",
"Log tabs opened by plugin code are not available in remote projects yet.": "Log tabs opened by plugin code are not available in remote projects yet."
}
+2 -1
Переглянути файл
@@ -6755,5 +6755,6 @@
"The plugin did not save the content": "插件未保存内容",
"Running an action applies pending settings first.": "运行动作前会先应用待保存的设置。",
"Could not apply settings.": "无法应用设置。",
"The value exceeds this setting’s limits.": "该值超出了此设置的限制。"
"The value exceeds this setting’s limits.": "该值超出了此设置的限制。",
"Log tabs opened by plugin code are not available in remote projects yet.": "插件代码打开的日志标签页暂不支持远程项目。"
}