дзеркало
https://github.com/l0ng-ai/openidea.git
синхронізовано 2026-12-04 01:01:17 +02:00
In a remote window the desktop took several decisions about itself from the server: it routed commands by the server's `commands` reply (a command the server left out ran locally), authorized its own commands from the server's `project_current().trusted`, and showed or ran whatever events the server forwarded, including any workbench action named by a plugin `executeCommand` event. - Routing: commands go by `rpc::client_commands()`, the list a server of this build serves, compiled into the desktop; a test builds the server's dispatcher and compares the two. - Trust: commands that run on the desktop follow the desktop's own decision, stored in `remote-project-trust.json` by target and root (a dev container also follows its local folder). The trust prompt appears unless the desktop's and the server's decisions agree; the answer and Revoke Trust update both. New commands `remote_trust_status` / `remote_trust_set`. - Events: server `event`s pass an exhaustive allow-list (MCP approvals, update notices and window-group events are dropped); plugin `executeCommand` may only name `plugin.<id>.<command>`; `openProject` is dropped. - Paths: a project root that the desktop would read as a share or device path is refused at connect. - A remote plugin's `openUrl` and `copyToClipboard` ask first, showing the full address or the text. Co-authored-by: rohitdanda <[email protected]>
20 рядки
427 B
CSS
20 рядки
427 B
CSS
.value {
|
|
margin-top: var(--space-2);
|
|
padding: var(--space-2);
|
|
max-height: 160px;
|
|
overflow: auto;
|
|
font-family: var(--font-mono);
|
|
font-size: var(--fs-small);
|
|
color: var(--fg-strong);
|
|
white-space: pre-wrap;
|
|
overflow-wrap: anywhere;
|
|
background: var(--bg-input);
|
|
border: 1px solid var(--border-strong);
|
|
border-radius: var(--radius-small);
|
|
}
|
|
|
|
.note {
|
|
margin-top: var(--space-2);
|
|
color: var(--fg-muted);
|
|
}
|