feat(startup): enable startup clone requests from CLI and IPC

Adds startup clone support with a new clone request type and parsing.
It wires a CLI and IPC pathway to forward a clone to a running app.
UI and docs were updated to reflect startup clone behavior.

- Introduce StartupCloneRequest and argument parsing.
- Wire IPC to pass clone requests and clone on startup.
- UI updated to queue clone requests and trigger clone.
This commit is contained in:
Christoph Brandau
2026-08-18 17:41:15 +02:00
parent e4697c74b6
commit 7408371430
7 changed files with 211 additions and 26 deletions
+25
View File
@@ -4277,6 +4277,31 @@
.tool-surface-choice > button > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tool-surface-choice > button:hover:not(:disabled) { color: var(--color-ink); background: var(--color-surface-hover); }
.tool-surface-choice > button.active { border-color: color-mix(in srgb, var(--color-accent) 32%, var(--color-border)); color: var(--color-accent); background: color-mix(in srgb, var(--color-accent) 9%, var(--color-surface-raised)); box-shadow: inset 2px 0 0 var(--color-accent); }
.line-patch-header-actions { --line-patch-header-control-size: var(--ui-control-height); }
.line-patch-header-actions .tool-surface-choice {
height: var(--line-patch-header-control-size);
padding: 0;
overflow: hidden;
border-radius: var(--ui-radius-sm);
}
.line-patch-header-actions .tool-surface-choice > span {
display: inline-flex;
align-items: center;
align-self: stretch;
}
.line-patch-header-actions .tool-surface-choice > button {
height: var(--line-patch-header-control-size);
min-height: var(--line-patch-header-control-size);
border-radius: calc(var(--ui-radius-sm) - 1px);
}
.line-patch-header-actions > .btn-sm {
height: var(--line-patch-header-control-size);
min-height: var(--line-patch-header-control-size);
}
.line-patch-header-actions > .dialog-close {
width: var(--line-patch-header-control-size);
min-width: var(--line-patch-header-control-size);
}
.compare-restore { max-width: 170px; min-width: 0; }
.compare-restore span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }