@leitwerk-dev/ui 0.1.8 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/ApiTokensPage-B15IzsLp.css +1 -0
- package/dist/assets/ApiTokensPage-ClJp9PYr.js +1 -0
- package/dist/assets/ChronicleMarkdown-lqwX9Ywa.js +16 -0
- package/dist/assets/ChronicleMarkdown-wsUF8Z75.css +1 -0
- package/dist/assets/FutureLaunchDetailPage-BOoZaG11.css +1 -0
- package/dist/assets/FutureLaunchDetailPage-Bdlgm4cJ.js +1 -0
- package/dist/assets/GenericLauncher-Bf7Eb1Rw.js +1 -0
- package/dist/assets/GenericLauncher-CExW6wei.css +1 -0
- package/dist/assets/HomePage-4Q7aqPBl.css +1 -0
- package/dist/assets/HomePage-CSkNdC4m.js +1 -0
- package/dist/assets/PageHeader-DPuQInDo.css +1 -0
- package/dist/assets/PageHeader-sphJnWL1.js +1 -0
- package/dist/assets/ProcessActionsMenu-DLMywI9c.js +1 -0
- package/dist/assets/ProcessActionsMenu-VKT7PE6z.css +1 -0
- package/dist/assets/ProcessDetailPage-Cth6A0DN.css +1 -0
- package/dist/assets/ProcessDetailPage-fvvdvO19.js +14 -0
- package/dist/assets/ProcessFlowDiagram-Dx2wheGN.js +2 -0
- package/dist/assets/ProcessesPage-uLl7LXp8.js +1 -0
- package/dist/assets/ProcessesPage-yPjjrzjg.css +1 -0
- package/dist/assets/ScheduleDateTimePicker-DmojMRxN.js +1 -0
- package/dist/assets/{ScheduleDateTimePicker-CadXN9z7.css → ScheduleDateTimePicker-uacJAkIq.css} +1 -1
- package/dist/assets/SkillsPage-CJrtt8xU.css +1 -0
- package/dist/assets/SkillsPage-CotbGUxm.js +2 -0
- package/dist/assets/WatchersPage-ByWGNJet.js +1 -0
- package/dist/assets/WatchersPage-cRBnmTAD.css +1 -0
- package/dist/assets/external-links-CX92-VRP.js +1 -0
- package/dist/assets/http-client-VpPXJwbR.js +2 -0
- package/dist/assets/index-C7zNe3je.js +6 -0
- package/dist/assets/index-DtEI5gsQ.css +1 -0
- package/dist/assets/index-client-BYQviCtQ.js +2 -0
- package/dist/assets/{mermaid-render.worker-DAVgiVRG.js → mermaid-render.worker-QW2WZpEE.js} +12 -12
- package/dist/assets/process-terminal-display-BQRQwGod.js +1 -0
- package/dist/assets/router.svelte-EEldxHlO.js +1 -0
- package/dist/index.html +8 -8
- package/package.json +8 -8
- package/src/App.svelte +41 -2
- package/src/chronicle/components/ChronicleActionSection.svelte +70 -143
- package/src/chronicle/components/ChronicleCreateIssueButton.svelte +22 -0
- package/src/chronicle/components/ChronicleEntryHeader.svelte +76 -0
- package/src/chronicle/components/ChronicleExpandButton.svelte +11 -34
- package/src/chronicle/components/ChronicleFailureMessage.svelte +41 -0
- package/src/chronicle/components/ChronicleFlow.svelte +135 -28
- package/src/chronicle/components/ChronicleLeafOutcomeRendererHost.svelte +1 -8
- package/src/chronicle/components/ChronicleLeafOutcomeSection.svelte +25 -52
- package/src/chronicle/components/ChronicleLiveChip.svelte +1 -35
- package/src/chronicle/components/ChronicleLiveTail.svelte +55 -154
- package/src/chronicle/components/ChronicleMarkdown.svelte +6 -6
- package/src/chronicle/components/ChronicleOperatorInputSection.svelte +5 -18
- package/src/chronicle/components/ChronicleProcessErrorSection.svelte +10 -107
- package/src/chronicle/components/ChroniclePromptSection.svelte +6 -26
- package/src/chronicle/components/ChronicleQuestionRequest.svelte +22 -5
- package/src/chronicle/components/ChronicleReasoningDetailsOverlay.svelte +71 -109
- package/src/chronicle/components/ChronicleRecoverySection.svelte +99 -262
- package/src/chronicle/components/ChronicleScheduledActionSection.svelte +1 -1
- package/src/chronicle/components/ChronicleSectionHeader.svelte +1 -4
- package/src/chronicle/components/ChronicleStartupHistory.svelte +63 -0
- package/src/chronicle/components/ChronicleStartupRecoverySection.svelte +10 -26
- package/src/chronicle/components/ChronicleThinkingSection.svelte +25 -165
- package/src/chronicle/components/ChronicleThinkingText.svelte +1 -0
- package/src/chronicle/components/ChronicleToolApproval.svelte +40 -0
- package/src/chronicle/components/ChronicleToolCallItem.svelte +1 -1
- package/src/chronicle/components/ChronicleTurnCluster.svelte +209 -282
- package/src/chronicle/components/ChronicleTurnDetailsButton.svelte +16 -0
- package/src/chronicle/components/ChronicleTurnProgress.svelte +94 -0
- package/src/chronicle/components/ChronicleTurnRail.svelte +339 -394
- package/src/chronicle/components/CompactActionComposer.svelte +36 -13
- package/src/chronicle/components/ReadonlyJsonValue.svelte +30 -0
- package/src/chronicle/lib/action-bindings.ts +1 -1
- package/src/chronicle/lib/action-model-display.ts +2 -2
- package/src/chronicle/lib/action-preview.ts +1 -1
- package/src/chronicle/lib/chronicle-projection.ts +135 -108
- package/src/chronicle/lib/chronicle-rail-groups.ts +158 -0
- package/src/chronicle/lib/chronicle-selectable-items.ts +16 -11
- package/src/chronicle/lib/chronicle-ticket-artifact.ts +7 -0
- package/src/chronicle/lib/formatting.ts +19 -0
- package/src/chronicle/lib/leaf-outcome-loader.ts +30 -111
- package/src/chronicle/lib/leaf-outcome-runtime.ts +3 -15
- package/src/chronicle/lib/result-presentation.ts +40 -0
- package/src/chronicle/lib/retry-groups.ts +24 -0
- package/src/chronicle/lib/scroll-sync.ts +1 -0
- package/src/chronicle/lib/tool-call-summary.ts +1 -9
- package/src/chronicle/ticket-selection.ts +23 -0
- package/src/components/ElapsedTime.svelte +31 -0
- package/src/components/ExternalLink.svelte +39 -0
- package/src/components/FormFieldRenderer.svelte +4 -1
- package/src/components/GenericLauncher.svelte +40 -15
- package/src/components/KeyboardShortcutsModal.svelte +2 -2
- package/src/components/LaunchChecklist.svelte +184 -0
- package/src/components/ModalShell.svelte +49 -15
- package/src/components/PageHeader.svelte +36 -35
- package/src/components/ProcessActionsMenu.svelte +247 -138
- package/src/components/ProcessInfoOverlay.svelte +13 -21
- package/src/components/ProgressChecklist.svelte +46 -0
- package/src/components/ProgressChecklistRows.svelte +80 -0
- package/src/components/launcher-form-copy.ts +4 -1
- package/src/components/launcher-model-config.ts +1 -1
- package/src/extension-ui-dev-server.ts +2 -5
- package/src/lib/api-tokens.ts +34 -0
- package/src/lib/api.ts +330 -455
- package/src/lib/elapsed-time.ts +19 -0
- package/src/lib/external-links.ts +81 -0
- package/src/lib/flow-layout.ts +1 -8
- package/src/lib/format.ts +3 -26
- package/src/lib/future-launch-detail.ts +1 -1
- package/src/lib/http-client.ts +79 -0
- package/src/lib/launch-updates.ts +17 -0
- package/src/lib/markdown.ts +8 -1
- package/src/lib/primary-path-detail.ts +97 -3
- package/src/lib/primary-path-replay.ts +13 -7
- package/src/lib/process-row-view.ts +1 -1
- package/src/lib/process-terminal-display.ts +4 -7
- package/src/lib/processes.svelte.ts +41 -9
- package/src/lib/reasoning-history.ts +95 -0
- package/src/lib/retry-config.svelte.ts +1 -1
- package/src/lib/rich-markdown-elements.ts +2 -2
- package/src/lib/router-logic.ts +3 -0
- package/src/lib/runtime-config.ts +1 -3
- package/src/lib/test-fixtures.ts +1 -1
- package/src/lib/tool-call-rendering.ts +4 -1
- package/src/lib/ui-extensions.svelte.ts +78 -127
- package/src/lib/ws-classifier.ts +8 -1
- package/src/pages/ApiTokensPage.svelte +213 -0
- package/src/pages/FutureLaunchDetailPage.svelte +8 -38
- package/src/pages/HomePage.svelte +8 -11
- package/src/pages/ProcessCard.svelte +1 -1
- package/src/pages/ProcessDetailPage.svelte +161 -62
- package/src/pages/ProcessGallery.svelte +1 -3
- package/src/pages/ProcessesPage.svelte +7 -42
- package/src/pages/SkillsPage.svelte +32 -24
- package/src/pages/WatchersPage.svelte +31 -55
- package/src/pages/process-detail/ProcessDetailChronicle.svelte +415 -19
- package/src/pages/process-detail/ProcessDetailHeader.svelte +66 -25
- package/src/pages/process-detail/ProcessSummary.svelte +35 -0
- package/src/pages/process-detail/TicketCreationComposer.svelte +219 -0
- package/src/pages/process-detail/process-detail-action-drafts.svelte.ts +5 -5
- package/src/pages/process-detail/process-detail-actions.svelte.ts +4 -2
- package/src/pages/process-detail/process-detail-chronicle-dom.ts +39 -14
- package/src/pages/process-detail/process-detail-chronicle-scroll.svelte.ts +68 -10
- package/src/pages/process-detail/process-detail-view-model.ts +10 -23
- package/src/shell/AppShell.svelte +260 -6
- package/src/shell/RouteLoadBoundary.svelte +48 -12
- package/src/shell/Sidebar.svelte +304 -172
- package/src/styles/controls.css +188 -0
- package/dist/assets/ChronicleMarkdown-D6hFzERy.css +0 -1
- package/dist/assets/ChronicleMarkdown-iH1VLv7x.js +0 -16
- package/dist/assets/FutureLaunchDetailPage-BJphZBFH.js +0 -1
- package/dist/assets/FutureLaunchDetailPage-VPMBtpYc.css +0 -1
- package/dist/assets/GenericLauncher-D_GMtsQ5.css +0 -1
- package/dist/assets/GenericLauncher-tr1to52a.js +0 -1
- package/dist/assets/HomePage-CSHVQefI.js +0 -1
- package/dist/assets/HomePage-DYh_QHXv.css +0 -1
- package/dist/assets/PageHeader-6PdvYODN.css +0 -1
- package/dist/assets/PageHeader-C4j3zJKF.js +0 -1
- package/dist/assets/ProcessActionsMenu-BT2r9vO8.css +0 -1
- package/dist/assets/ProcessActionsMenu-gNiZGUCZ.js +0 -1
- package/dist/assets/ProcessDetailPage-CGyVxjeH.js +0 -12
- package/dist/assets/ProcessDetailPage-CSrjzajF.css +0 -1
- package/dist/assets/ProcessFlowDiagram-BX_Zjm2n.js +0 -2
- package/dist/assets/ProcessesPage-BcM38HMs.css +0 -1
- package/dist/assets/ProcessesPage-D3jjufse.js +0 -1
- package/dist/assets/ScheduleDateTimePicker-D72J6EhE.js +0 -1
- package/dist/assets/SkillsPage-B30FAFia.css +0 -1
- package/dist/assets/SkillsPage-CcYm4ATy.js +0 -2
- package/dist/assets/WatchersPage-Bac86WLp.js +0 -1
- package/dist/assets/WatchersPage-Dnfi1zUK.css +0 -1
- package/dist/assets/api-HGtUzekR.js +0 -1
- package/dist/assets/dist-DVNpSD5l.js +0 -2
- package/dist/assets/index-66T4Gmbl.css +0 -1
- package/dist/assets/index-ChVsVf6R.js +0 -7
- package/dist/assets/index-client-BqF3_t3P.js +0 -2
- package/dist/assets/retry-config.svelte-DFKCJtCe.js +0 -1
- package/dist/assets/router.svelte-C2wi6I7k.js +0 -1
- package/src/lib/process-initial-prompt.ts +0 -7
|
@@ -1,10 +1,15 @@
|
|
|
1
1
|
<script lang="ts">
|
|
2
|
+
import type { SessionTransferOperationView } from "@leitwerk-dev/protocol/http-contracts";
|
|
2
3
|
import { tick } from "svelte";
|
|
3
4
|
import {
|
|
5
|
+
cancelSessionTransfer,
|
|
6
|
+
createSessionTransferGrant,
|
|
4
7
|
fetchProcessRetryConfig,
|
|
5
8
|
postProcessAbort,
|
|
6
9
|
deleteProcess as requestProcessDeletion,
|
|
10
|
+
type SessionTransferGrantResponse,
|
|
7
11
|
} from "../lib/api.js";
|
|
12
|
+
import { NEW_TAB_WINDOW_FEATURES } from "../lib/external-links.js";
|
|
8
13
|
import { keyboardShortcutHelpOpen } from "../lib/keyboard-shortcuts-help.js";
|
|
9
14
|
import { setPendingRetryConfig } from "../lib/retry-config.svelte.js";
|
|
10
15
|
import { buildHomePath, navigate } from "../lib/router.svelte.js";
|
|
@@ -17,6 +22,9 @@ interface Props {
|
|
|
17
22
|
hasSessionFile?: boolean;
|
|
18
23
|
processLabel: string;
|
|
19
24
|
onDeleted?: () => void;
|
|
25
|
+
presentation?: "default" | "sheet";
|
|
26
|
+
idSuffix?: string;
|
|
27
|
+
sessionTransfer?: SessionTransferOperationView | null;
|
|
20
28
|
}
|
|
21
29
|
|
|
22
30
|
let {
|
|
@@ -26,25 +34,66 @@ let {
|
|
|
26
34
|
hasSessionFile = false,
|
|
27
35
|
processLabel,
|
|
28
36
|
onDeleted,
|
|
37
|
+
presentation = "default",
|
|
38
|
+
idSuffix = "",
|
|
39
|
+
sessionTransfer = null,
|
|
29
40
|
}: Props = $props();
|
|
30
41
|
|
|
31
42
|
let menuOpen = $state(false);
|
|
32
43
|
let confirmation = $state<"abort" | "abort-and-retry" | "delete" | null>(null);
|
|
33
44
|
let busy = $state(false);
|
|
34
45
|
let error = $state<string | null>(null);
|
|
46
|
+
let transferGrant = $state<SessionTransferGrantResponse | null>(null);
|
|
47
|
+
let copyStatus = $state<"idle" | "copied" | "failed">("idle");
|
|
48
|
+
let locallyCancelledAttemptId = $state<string | null>(null);
|
|
35
49
|
|
|
36
50
|
let menuRef = $state<HTMLDivElement | null>(null);
|
|
37
51
|
let triggerRef = $state<HTMLButtonElement | null>(null);
|
|
38
52
|
let dropdownRef = $state<HTMLDivElement | null>(null);
|
|
53
|
+
let transferLinkRef = $state<HTMLInputElement | null>(null);
|
|
39
54
|
|
|
40
55
|
const isFinished = $derived(lifecycleStatus === "completed" || lifecycleStatus === "aborted");
|
|
41
56
|
const actionTarget = $derived(processLabel.trim() || `process ${instanceId}`);
|
|
42
|
-
const
|
|
43
|
-
|
|
57
|
+
const activeTransfer = $derived(
|
|
58
|
+
sessionTransfer?.attemptId === locallyCancelledAttemptId ? null : sessionTransfer,
|
|
59
|
+
);
|
|
60
|
+
|
|
61
|
+
function phaseLabel(phase: string): string {
|
|
62
|
+
return (
|
|
63
|
+
(
|
|
64
|
+
{
|
|
65
|
+
queued: "Queued",
|
|
66
|
+
waiting_for_execution_chain: "Waiting for execution",
|
|
67
|
+
stopping_worker: "Stopping worker",
|
|
68
|
+
starting_exporter: "Starting exporter",
|
|
69
|
+
scanning: "Scanning",
|
|
70
|
+
ready_to_stream: "Ready to stream",
|
|
71
|
+
streaming: "Streaming",
|
|
72
|
+
awaiting_ack: "Awaiting local acknowledgement",
|
|
73
|
+
consumed: "Consumed",
|
|
74
|
+
cancelled: "Cancelled",
|
|
75
|
+
failed: "Failed",
|
|
76
|
+
} as Record<string, string>
|
|
77
|
+
)[phase] ?? phase
|
|
78
|
+
);
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
function transferExpiryLabel(expiresAt: string): string {
|
|
82
|
+
const timestamp = Date.parse(expiresAt);
|
|
83
|
+
if (!Number.isFinite(timestamp)) return "Expiry unavailable";
|
|
84
|
+
return new Intl.DateTimeFormat(undefined, {
|
|
85
|
+
dateStyle: "medium",
|
|
86
|
+
timeStyle: "short",
|
|
87
|
+
}).format(timestamp);
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
const idDisambiguator = $derived(idSuffix ? `-${idSuffix}` : "");
|
|
91
|
+
const triggerId = $derived(`process-actions-trigger-${instanceId}${idDisambiguator}`);
|
|
92
|
+
const menuId = $derived(`process-actions-menu-${instanceId}${idDisambiguator}`);
|
|
44
93
|
const confirmationView = $derived({
|
|
45
94
|
message:
|
|
46
95
|
confirmation === "abort"
|
|
47
|
-
? `Abort ${actionTarget}? This can’t be undone.`
|
|
96
|
+
? `Abort ${actionTarget}? Active work will stop. Its history will remain available. This can’t be undone.`
|
|
48
97
|
: confirmation === "delete"
|
|
49
98
|
? `Permanently delete ${actionTarget}? ${isFinished ? "" : "Active work will be stopped first. "}History and managed stored artifacts will be permanently removed. This can’t be undone.`
|
|
50
99
|
: `Abort ${actionTarget}, then prepare a new process with the same setup. Existing history will remain available.`,
|
|
@@ -59,8 +108,8 @@ const confirmationView = $derived({
|
|
|
59
108
|
? "Deleting…"
|
|
60
109
|
: "Delete process"
|
|
61
110
|
: busy
|
|
62
|
-
? "
|
|
63
|
-
: "Abort
|
|
111
|
+
? "Preparing new process…"
|
|
112
|
+
: "Abort and retry",
|
|
64
113
|
action:
|
|
65
114
|
confirmation === "abort"
|
|
66
115
|
? handleAbort
|
|
@@ -74,6 +123,7 @@ function toggleMenu() {
|
|
|
74
123
|
menuOpen = !menuOpen;
|
|
75
124
|
confirmation = null;
|
|
76
125
|
error = null;
|
|
126
|
+
copyStatus = "idle";
|
|
77
127
|
}
|
|
78
128
|
|
|
79
129
|
function closeMenu(options: { restoreFocus?: boolean } = {}) {
|
|
@@ -145,6 +195,10 @@ $effect(() => {
|
|
|
145
195
|
}
|
|
146
196
|
});
|
|
147
197
|
|
|
198
|
+
$effect(() => {
|
|
199
|
+
if (menuOpen && (confirmation || transferGrant)) void tick().then(focusFirstMenuControl);
|
|
200
|
+
});
|
|
201
|
+
|
|
148
202
|
async function runBusy(work: () => Promise<void>, fallbackError: string) {
|
|
149
203
|
busy = true;
|
|
150
204
|
error = null;
|
|
@@ -173,6 +227,40 @@ function cancelConfirmation() {
|
|
|
173
227
|
error = null;
|
|
174
228
|
}
|
|
175
229
|
|
|
230
|
+
async function handleCreateTransfer() {
|
|
231
|
+
copyStatus = "idle";
|
|
232
|
+
await runBusy(async () => {
|
|
233
|
+
transferGrant = await createSessionTransferGrant(instanceId);
|
|
234
|
+
await tick();
|
|
235
|
+
transferLinkRef?.focus();
|
|
236
|
+
}, "Couldn't create local transfer link");
|
|
237
|
+
}
|
|
238
|
+
|
|
239
|
+
async function handleCopyTransferLink() {
|
|
240
|
+
if (!transferGrant) return;
|
|
241
|
+
try {
|
|
242
|
+
await navigator.clipboard.writeText(transferGrant.transferUrl);
|
|
243
|
+
copyStatus = "copied";
|
|
244
|
+
} catch {
|
|
245
|
+
copyStatus = "failed";
|
|
246
|
+
}
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
async function handleCancelTransfer() {
|
|
250
|
+
if (!activeTransfer) return;
|
|
251
|
+
await runBusy(async () => {
|
|
252
|
+
await cancelSessionTransfer(instanceId, activeTransfer.attemptId);
|
|
253
|
+
locallyCancelledAttemptId = activeTransfer.attemptId;
|
|
254
|
+
}, "Couldn't cancel the local session transfer");
|
|
255
|
+
}
|
|
256
|
+
|
|
257
|
+
function showActions() {
|
|
258
|
+
transferGrant = null;
|
|
259
|
+
copyStatus = "idle";
|
|
260
|
+
error = null;
|
|
261
|
+
void tick().then(focusFirstMenuControl);
|
|
262
|
+
}
|
|
263
|
+
|
|
176
264
|
async function handleDelete() {
|
|
177
265
|
if (confirmation !== "delete") {
|
|
178
266
|
confirmation = "delete";
|
|
@@ -208,17 +296,37 @@ async function handleAbortAndRetry() {
|
|
|
208
296
|
|
|
209
297
|
function handleDownloadSession() {
|
|
210
298
|
const url = resolveApiUrl(`/api/processes/${encodeURIComponent(instanceId)}/session`);
|
|
211
|
-
window.open(url, "_blank");
|
|
299
|
+
window.open(url, "_blank", NEW_TAB_WINDOW_FEATURES);
|
|
212
300
|
closeMenu();
|
|
213
301
|
}
|
|
214
302
|
</script>
|
|
215
303
|
|
|
216
|
-
|
|
304
|
+
{#snippet menuItem(
|
|
305
|
+
key: string,
|
|
306
|
+
label: string,
|
|
307
|
+
action: () => void,
|
|
308
|
+
danger = false,
|
|
309
|
+
)}
|
|
310
|
+
<button
|
|
311
|
+
type="button"
|
|
312
|
+
class="menu-item"
|
|
313
|
+
class:menu-item-danger={danger}
|
|
314
|
+
role="menuitem"
|
|
315
|
+
data-menu-item={key}
|
|
316
|
+
data-pressable="true"
|
|
317
|
+
disabled={busy}
|
|
318
|
+
onclick={action}
|
|
319
|
+
>
|
|
320
|
+
{label}
|
|
321
|
+
</button>
|
|
322
|
+
{/snippet}
|
|
323
|
+
|
|
324
|
+
<div class="process-actions-menu" data-presentation={presentation} bind:this={menuRef}>
|
|
217
325
|
<button
|
|
218
326
|
bind:this={triggerRef}
|
|
219
327
|
id={triggerId}
|
|
220
328
|
type="button"
|
|
221
|
-
class="menu-trigger"
|
|
329
|
+
class="ui-button menu-trigger"
|
|
222
330
|
data-pressable="true"
|
|
223
331
|
aria-haspopup="menu"
|
|
224
332
|
aria-controls={menuOpen ? menuId : undefined}
|
|
@@ -228,11 +336,10 @@ function handleDownloadSession() {
|
|
|
228
336
|
aria-label={`Open actions for ${actionTarget}`}
|
|
229
337
|
title={`Actions for ${actionTarget}`}
|
|
230
338
|
>
|
|
231
|
-
<svg
|
|
232
|
-
<circle cx="12" cy="12" r="
|
|
233
|
-
<path d="M19.4 15a1.65 1.65 0 0 0 .33 1.82l.06.06a2 2 0 0 1 0 2.83 2 2 0 0 1-2.83 0l-.06-.06a1.65 1.65 0 0 0-1.82-.33 1.65 1.65 0 0 0-1 1.51V21a2 2 0 0 1-2 2 2 2 0 0 1-2-2v-.09A1.65 1.65 0 0 0 9 19.4a1.65 1.65 0 0 0-1.82.33l-.06.06a2 2 0 0 1-2.83 0 2 2 0 0 1 0-2.83l.06-.06a1.65 1.65 0 0 0 .33-1.82 1.65 1.65 0 0 0-1.51-1H3a2 2 0 0 1-2-2 2 2 0 0 1 2-2h.09A1.65 1.65 0 0 0 4.6 9a1.65 1.65 0 0 0-.33-1.82l-.06-.06a2 2 0 0 1 0-2.83 2 2 0 0 1 2.83 0l.06.06a1.65 1.65 0 0 0 1.82.33H9a1.65 1.65 0 0 0 1-1.51V3a2 2 0 0 1 2-2 2 2 0 0 1 2 2v.09a1.65 1.65 0 0 0 1 1.51 1.65 1.65 0 0 0 1.82-.33l.06-.06a2 2 0 0 1 2.83 0 2 2 0 0 1 0 2.83l-.06.06a1.65 1.65 0 0 0-.33 1.82V9a1.65 1.65 0 0 0 1.51 1H21a2 2 0 0 1 2 2 2 2 0 0 1-2 2h-.09a1.65 1.65 0 0 0-1.51 1z"></path>
|
|
339
|
+
<svg viewBox="0 0 24 24" fill="currentColor" aria-hidden="true">
|
|
340
|
+
<circle cx="5" cy="12" r="1.5" /><circle cx="12" cy="12" r="1.5" /><circle cx="19" cy="12" r="1.5" />
|
|
234
341
|
</svg>
|
|
235
|
-
<span class="menu-trigger-label">More actions</span>
|
|
342
|
+
<span class:sr-only={presentation === "sheet"} class="menu-trigger-label">More actions</span>
|
|
236
343
|
</button>
|
|
237
344
|
|
|
238
345
|
{#if menuOpen}
|
|
@@ -249,14 +356,48 @@ function handleDownloadSession() {
|
|
|
249
356
|
{#if error}
|
|
250
357
|
<p class="menu-error" role="alert">{error}</p>
|
|
251
358
|
{/if}
|
|
359
|
+
{#if activeTransfer}
|
|
360
|
+
<p class="menu-note" role="status">
|
|
361
|
+
<strong>Local transfer: {phaseLabel(activeTransfer.phase)}.</strong>
|
|
362
|
+
{activeTransfer.blocksManualTurns ? " New manual turns are blocked until streaming ends." : " The process is unblocked; streamed bytes can no longer be recalled."}
|
|
363
|
+
</p>
|
|
364
|
+
{#if activeTransfer.blocksManualTurns}
|
|
365
|
+
{@render menuItem("cancel-transfer", busy ? "Cancelling…" : "Cancel transfer", handleCancelTransfer)}
|
|
366
|
+
{/if}
|
|
367
|
+
<div class="menu-divider" role="separator"></div>
|
|
368
|
+
{/if}
|
|
252
369
|
|
|
253
|
-
{#if
|
|
370
|
+
{#if transferGrant}
|
|
371
|
+
<div class="confirm-panel transfer-panel" aria-label="Local Pi transfer link">
|
|
372
|
+
<p class="confirm-message">Open this process in local Pi</p>
|
|
373
|
+
<p class="transfer-note">Single use · expires {transferExpiryLabel(transferGrant.expiresAt)}</p>
|
|
374
|
+
<label class="transfer-field-label" for={`transfer-link-${instanceId}${idDisambiguator}`}>Transfer link</label>
|
|
375
|
+
<input
|
|
376
|
+
bind:this={transferLinkRef}
|
|
377
|
+
id={`transfer-link-${instanceId}${idDisambiguator}`}
|
|
378
|
+
class="transfer-link"
|
|
379
|
+
readonly
|
|
380
|
+
value={transferGrant.transferUrl}
|
|
381
|
+
onfocus={(event) => event.currentTarget.select()}
|
|
382
|
+
/>
|
|
383
|
+
<p class="transfer-note">Anyone with this link can download this session and workspace.</p>
|
|
384
|
+
<div class="confirm-actions">
|
|
385
|
+
<button type="button" class="ui-button confirm-cancel" data-pressable="true" onclick={showActions}>Back</button>
|
|
386
|
+
<button type="button" class="ui-button confirm-cancel" data-pressable="true" onclick={handleCopyTransferLink}>
|
|
387
|
+
{copyStatus === "copied" ? "Copied" : "Copy link"}
|
|
388
|
+
</button>
|
|
389
|
+
</div>
|
|
390
|
+
<p class="transfer-note" aria-live="polite">
|
|
391
|
+
{copyStatus === "copied" ? "Transfer link copied." : copyStatus === "failed" ? "Copy failed. Select and copy the link manually." : ""}
|
|
392
|
+
</p>
|
|
393
|
+
</div>
|
|
394
|
+
{:else if confirmation}
|
|
254
395
|
<div class="confirm-panel">
|
|
255
396
|
<p class="confirm-message">{confirmationView.message}</p>
|
|
256
397
|
<div class="confirm-actions">
|
|
257
398
|
<button
|
|
258
399
|
type="button"
|
|
259
|
-
class="confirm-cancel"
|
|
400
|
+
class="ui-button confirm-cancel"
|
|
260
401
|
data-pressable="true"
|
|
261
402
|
disabled={busy}
|
|
262
403
|
onclick={cancelConfirmation}
|
|
@@ -265,7 +406,7 @@ function handleDownloadSession() {
|
|
|
265
406
|
</button>
|
|
266
407
|
<button
|
|
267
408
|
type="button"
|
|
268
|
-
class="confirm-danger"
|
|
409
|
+
class="ui-button confirm-danger" data-variant="danger"
|
|
269
410
|
data-pressable="true"
|
|
270
411
|
disabled={busy}
|
|
271
412
|
onclick={confirmationView.action}
|
|
@@ -276,63 +417,19 @@ function handleDownloadSession() {
|
|
|
276
417
|
</div>
|
|
277
418
|
{:else}
|
|
278
419
|
{#if hasSessionFile}
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
class="menu-item"
|
|
282
|
-
role="menuitem"
|
|
283
|
-
data-pressable="true"
|
|
284
|
-
disabled={busy}
|
|
285
|
-
onclick={handleDownloadSession}
|
|
286
|
-
>
|
|
287
|
-
Download Pi session (.jsonl)
|
|
288
|
-
</button>
|
|
420
|
+
{@render menuItem("create-transfer", busy ? "Creating transfer link…" : "Create local transfer link", handleCreateTransfer)}
|
|
421
|
+
{@render menuItem("download-session", "Download Pi session (.jsonl)", handleDownloadSession)}
|
|
289
422
|
<div class="menu-divider" role="separator"></div>
|
|
290
423
|
{/if}
|
|
291
424
|
{#if !isFinished}
|
|
292
|
-
|
|
293
|
-
type="button"
|
|
294
|
-
class="menu-item"
|
|
295
|
-
role="menuitem"
|
|
296
|
-
data-pressable="true"
|
|
297
|
-
disabled={busy}
|
|
298
|
-
onclick={handleAbort}
|
|
299
|
-
>
|
|
300
|
-
Abort process
|
|
301
|
-
</button>
|
|
425
|
+
{@render menuItem("abort", "Abort process", handleAbort)}
|
|
302
426
|
{/if}
|
|
303
|
-
|
|
304
|
-
type="button"
|
|
305
|
-
class="menu-item"
|
|
306
|
-
role="menuitem"
|
|
307
|
-
data-pressable="true"
|
|
308
|
-
disabled={busy}
|
|
309
|
-
onclick={handleRetry}
|
|
310
|
-
>
|
|
311
|
-
{busy ? "Loading…" : "Retry as new process"}
|
|
312
|
-
</button>
|
|
427
|
+
{@render menuItem("retry", busy ? "Loading…" : "Retry as new process", handleRetry)}
|
|
313
428
|
{#if !isFinished}
|
|
314
|
-
|
|
315
|
-
type="button"
|
|
316
|
-
class="menu-item"
|
|
317
|
-
role="menuitem"
|
|
318
|
-
data-pressable="true"
|
|
319
|
-
disabled={busy}
|
|
320
|
-
onclick={handleAbortAndRetry}
|
|
321
|
-
>
|
|
322
|
-
Abort and retry as new process
|
|
323
|
-
</button>
|
|
429
|
+
{@render menuItem("abort-and-retry", "Abort and retry as new process", handleAbortAndRetry)}
|
|
324
430
|
{/if}
|
|
325
431
|
<div class="menu-divider" role="separator"></div>
|
|
326
|
-
|
|
327
|
-
type="button"
|
|
328
|
-
class="menu-item menu-item-danger"
|
|
329
|
-
role="menuitem"
|
|
330
|
-
data-pressable="true"
|
|
331
|
-
disabled={busy}
|
|
332
|
-
onclick={handleDelete}
|
|
333
|
-
>
|
|
334
|
-
Delete process
|
|
335
|
-
</button>
|
|
432
|
+
{@render menuItem("delete", "Delete process", handleDelete, true)}
|
|
336
433
|
{/if}
|
|
337
434
|
</div>
|
|
338
435
|
{/if}
|
|
@@ -343,39 +440,24 @@ function handleDownloadSession() {
|
|
|
343
440
|
position: relative;
|
|
344
441
|
}
|
|
345
442
|
|
|
346
|
-
.menu-trigger {
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
min-height: 38px;
|
|
352
|
-
padding: 0 12px;
|
|
353
|
-
border: 1px solid color-mix(in srgb, var(--chronicle-border) 88%, transparent 12%);
|
|
354
|
-
border-radius: 999px;
|
|
355
|
-
background: color-mix(in srgb, var(--chronicle-card-surface) 76%, transparent 24%);
|
|
356
|
-
color: var(--chronicle-text-muted);
|
|
357
|
-
font: inherit;
|
|
358
|
-
font-size: var(--type-body-sm, 13px);
|
|
359
|
-
font-weight: 620;
|
|
360
|
-
white-space: nowrap;
|
|
361
|
-
cursor: pointer;
|
|
362
|
-
}
|
|
363
|
-
|
|
364
|
-
.menu-trigger:hover:not(:disabled) {
|
|
365
|
-
background: color-mix(in srgb, var(--chronicle-panel-muted) 60%, transparent 40%);
|
|
366
|
-
color: var(--chronicle-text);
|
|
367
|
-
border-color: var(--chronicle-border);
|
|
443
|
+
.process-actions-menu[data-presentation="sheet"] .menu-trigger {
|
|
444
|
+
width: 44px;
|
|
445
|
+
min-height: 44px;
|
|
446
|
+
padding: 0;
|
|
447
|
+
border-radius: 10px;
|
|
368
448
|
}
|
|
369
449
|
|
|
370
|
-
.menu-trigger
|
|
371
|
-
|
|
372
|
-
cursor: default;
|
|
450
|
+
.process-actions-menu[data-presentation="sheet"] .menu-trigger svg {
|
|
451
|
+
display: none;
|
|
373
452
|
}
|
|
374
453
|
|
|
375
|
-
.menu
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
454
|
+
.process-actions-menu[data-presentation="sheet"] .menu-trigger::before {
|
|
455
|
+
content: "";
|
|
456
|
+
width: 3px;
|
|
457
|
+
height: 3px;
|
|
458
|
+
border-radius: 999px;
|
|
459
|
+
background: currentColor;
|
|
460
|
+
box-shadow: -6px 0 currentColor, 6px 0 currentColor;
|
|
379
461
|
}
|
|
380
462
|
|
|
381
463
|
.menu-dropdown {
|
|
@@ -383,14 +465,24 @@ function handleDownloadSession() {
|
|
|
383
465
|
top: calc(100% + 6px);
|
|
384
466
|
right: 0;
|
|
385
467
|
z-index: 100;
|
|
386
|
-
|
|
468
|
+
width: min(360px, calc(100vw - 32px));
|
|
469
|
+
max-height: min(640px, calc(100dvh - 140px));
|
|
470
|
+
overflow-y: auto;
|
|
471
|
+
overscroll-behavior: contain;
|
|
387
472
|
padding: 8px;
|
|
388
473
|
border: 1px solid var(--chronicle-border-strong);
|
|
389
|
-
border-radius:
|
|
474
|
+
border-radius: 14px;
|
|
390
475
|
background: var(--chronicle-card-surface);
|
|
391
476
|
box-shadow: var(--chronicle-shadow);
|
|
392
477
|
}
|
|
393
478
|
|
|
479
|
+
.process-actions-menu[data-presentation="sheet"] .menu-dropdown {
|
|
480
|
+
top: auto;
|
|
481
|
+
bottom: calc(100% + 8px);
|
|
482
|
+
right: 0;
|
|
483
|
+
max-width: min(320px, calc(100vw - 32px));
|
|
484
|
+
}
|
|
485
|
+
|
|
394
486
|
.menu-context {
|
|
395
487
|
margin: 0 0 6px;
|
|
396
488
|
padding: 6px 8px 8px;
|
|
@@ -406,12 +498,12 @@ function handleDownloadSession() {
|
|
|
406
498
|
width: 100%;
|
|
407
499
|
padding: 10px 12px;
|
|
408
500
|
border: none;
|
|
409
|
-
border-radius:
|
|
501
|
+
border-radius: 10px;
|
|
410
502
|
background: transparent;
|
|
411
503
|
color: var(--chronicle-text);
|
|
412
504
|
font: inherit;
|
|
413
505
|
font-size: var(--type-body-sm, 13px);
|
|
414
|
-
font-weight:
|
|
506
|
+
font-weight: 620;
|
|
415
507
|
text-align: left;
|
|
416
508
|
cursor: pointer;
|
|
417
509
|
}
|
|
@@ -439,13 +531,66 @@ function handleDownloadSession() {
|
|
|
439
531
|
background: var(--chronicle-border);
|
|
440
532
|
}
|
|
441
533
|
|
|
534
|
+
.menu-note {
|
|
535
|
+
margin: 0;
|
|
536
|
+
padding: 6px 8px;
|
|
537
|
+
font-size: var(--type-caption, 12px);
|
|
538
|
+
line-height: 1.45;
|
|
539
|
+
color: var(--chronicle-text-muted);
|
|
540
|
+
}
|
|
541
|
+
|
|
542
|
+
.menu-note strong {
|
|
543
|
+
color: var(--chronicle-text);
|
|
544
|
+
}
|
|
545
|
+
|
|
546
|
+
.transfer-panel {
|
|
547
|
+
min-width: 0;
|
|
548
|
+
}
|
|
549
|
+
|
|
550
|
+
.transfer-note {
|
|
551
|
+
min-height: 18px;
|
|
552
|
+
margin: 8px 0;
|
|
553
|
+
font-size: var(--type-caption, 12px);
|
|
554
|
+
line-height: 1.45;
|
|
555
|
+
color: var(--chronicle-text-muted);
|
|
556
|
+
}
|
|
557
|
+
|
|
558
|
+
.transfer-field-label {
|
|
559
|
+
display: block;
|
|
560
|
+
margin: 12px 0 6px;
|
|
561
|
+
font-size: var(--type-caption, 12px);
|
|
562
|
+
font-weight: 700;
|
|
563
|
+
color: var(--chronicle-text-muted);
|
|
564
|
+
}
|
|
565
|
+
|
|
566
|
+
.transfer-link {
|
|
567
|
+
box-sizing: border-box;
|
|
568
|
+
width: 100%;
|
|
569
|
+
min-height: 42px;
|
|
570
|
+
padding: 10px 12px;
|
|
571
|
+
border: 1px solid var(--chronicle-border-strong);
|
|
572
|
+
border-radius: 10px;
|
|
573
|
+
background: var(--chronicle-panel-muted);
|
|
574
|
+
color: var(--chronicle-text);
|
|
575
|
+
font: 500 var(--type-caption, 12px) / 1.4 var(--font-mono, ui-monospace, monospace);
|
|
576
|
+
}
|
|
577
|
+
|
|
578
|
+
.transfer-link:focus-visible {
|
|
579
|
+
outline: 2px solid var(--chronicle-accent);
|
|
580
|
+
outline-offset: 2px;
|
|
581
|
+
}
|
|
582
|
+
|
|
583
|
+
.transfer-panel .confirm-actions {
|
|
584
|
+
margin-top: 12px;
|
|
585
|
+
}
|
|
586
|
+
|
|
442
587
|
.menu-error {
|
|
443
588
|
margin: 0 0 8px;
|
|
444
589
|
padding: 10px 12px;
|
|
445
590
|
border-radius: 10px;
|
|
446
591
|
background: var(--chronicle-danger-surface);
|
|
447
592
|
border: 1px solid var(--chronicle-danger-border);
|
|
448
|
-
font-size: 13px;
|
|
593
|
+
font-size: var(--type-body-sm, 13px);
|
|
449
594
|
line-height: 1.45;
|
|
450
595
|
color: var(--chronicle-danger-text);
|
|
451
596
|
}
|
|
@@ -465,49 +610,13 @@ function handleDownloadSession() {
|
|
|
465
610
|
.confirm-actions {
|
|
466
611
|
display: flex;
|
|
467
612
|
gap: 8px;
|
|
613
|
+
flex-wrap: wrap;
|
|
468
614
|
justify-content: flex-end;
|
|
469
615
|
}
|
|
470
616
|
|
|
471
|
-
.confirm-cancel,
|
|
472
|
-
.confirm-danger {
|
|
473
|
-
min-height: 36px;
|
|
474
|
-
padding: 0 14px;
|
|
475
|
-
border-radius: 999px;
|
|
476
|
-
font: inherit;
|
|
477
|
-
font-size: 13px;
|
|
478
|
-
font-weight: 600;
|
|
479
|
-
cursor: pointer;
|
|
480
|
-
}
|
|
481
|
-
|
|
482
|
-
.confirm-cancel {
|
|
483
|
-
border: 1px solid var(--chronicle-border-strong);
|
|
484
|
-
background: var(--chronicle-card-surface);
|
|
485
|
-
color: var(--chronicle-text);
|
|
486
|
-
}
|
|
487
|
-
|
|
488
|
-
.confirm-cancel:hover:not(:disabled) {
|
|
489
|
-
background: var(--chronicle-panel-muted);
|
|
490
|
-
}
|
|
491
|
-
|
|
492
|
-
.confirm-danger {
|
|
493
|
-
border: 1px solid var(--chronicle-danger-border);
|
|
494
|
-
background: var(--chronicle-danger);
|
|
495
|
-
color: var(--chronicle-text-on-accent);
|
|
496
|
-
}
|
|
497
|
-
|
|
498
|
-
.confirm-danger:hover:not(:disabled) {
|
|
499
|
-
opacity: 0.9;
|
|
500
|
-
}
|
|
501
|
-
|
|
502
|
-
.confirm-cancel:disabled,
|
|
503
|
-
.confirm-danger:disabled {
|
|
504
|
-
opacity: 0.5;
|
|
505
|
-
cursor: default;
|
|
506
|
-
}
|
|
507
|
-
|
|
508
617
|
@media (max-width: 720px) {
|
|
509
|
-
.process-actions-menu,
|
|
510
|
-
.menu-trigger {
|
|
618
|
+
.process-actions-menu:not([data-presentation="sheet"]),
|
|
619
|
+
.process-actions-menu:not([data-presentation="sheet"]) .menu-trigger {
|
|
511
620
|
width: 100%;
|
|
512
621
|
}
|
|
513
622
|
}
|
|
@@ -8,11 +8,13 @@ import type { ProcessDetailData } from "../lib/api";
|
|
|
8
8
|
import { formatRelativeTime, formatStatus } from "../lib/format";
|
|
9
9
|
import ProcessFlowDiagram from "../pages/ProcessFlowDiagram.svelte";
|
|
10
10
|
import ConversationTreeDiagram from "./ConversationTreeDiagram.svelte";
|
|
11
|
+
import ExternalLink from "./ExternalLink.svelte";
|
|
11
12
|
|
|
12
13
|
interface Props {
|
|
13
14
|
detail: ProcessDetailData;
|
|
14
15
|
processUsageEstimate: ProcessUsageEstimateSnapshot | null;
|
|
15
16
|
onClose: () => void;
|
|
17
|
+
onShowSummary?: () => void;
|
|
16
18
|
railItems: readonly ChronicleSelectableItem[];
|
|
17
19
|
}
|
|
18
20
|
|
|
@@ -35,7 +37,7 @@ const tabs: readonly { id: ProcessInfoTab; label: string }[] = [
|
|
|
35
37
|
{ id: "conversation-tree", label: "Conversation tree" },
|
|
36
38
|
];
|
|
37
39
|
|
|
38
|
-
let { detail, processUsageEstimate, onClose, railItems }: Props = $props();
|
|
40
|
+
let { detail, processUsageEstimate, onClose, railItems, onShowSummary }: Props = $props();
|
|
39
41
|
let closeButton: HTMLButtonElement | null = $state(null);
|
|
40
42
|
let activeTab = $state<ProcessInfoTab>("overview");
|
|
41
43
|
|
|
@@ -199,7 +201,7 @@ onMount(() => {
|
|
|
199
201
|
<button
|
|
200
202
|
bind:this={closeButton}
|
|
201
203
|
type="button"
|
|
202
|
-
class="overlay-close"
|
|
204
|
+
class="ui-button overlay-close"
|
|
203
205
|
data-pressable="true"
|
|
204
206
|
onclick={() => onClose()}
|
|
205
207
|
aria-label="Close process info"
|
|
@@ -240,6 +242,7 @@ onMount(() => {
|
|
|
240
242
|
<h3>At a glance</h3>
|
|
241
243
|
<p>The operational facts for this process run.</p>
|
|
242
244
|
</div>
|
|
245
|
+
{#if onShowSummary}<button type="button" class="ui-button" onclick={onShowSummary}>Show process summary</button>{/if}
|
|
243
246
|
<dl class="fact-grid">
|
|
244
247
|
<div>
|
|
245
248
|
<dt>Status</dt>
|
|
@@ -299,7 +302,11 @@ onMount(() => {
|
|
|
299
302
|
{/if}
|
|
300
303
|
</dl>
|
|
301
304
|
{#if project.externalUrl}
|
|
302
|
-
<
|
|
305
|
+
<ExternalLink
|
|
306
|
+
href={project.externalUrl}
|
|
307
|
+
label="Open external project"
|
|
308
|
+
resourceType="project"
|
|
309
|
+
/>
|
|
303
310
|
{/if}
|
|
304
311
|
</section>
|
|
305
312
|
{/each}
|
|
@@ -608,7 +615,7 @@ onMount(() => {
|
|
|
608
615
|
justify-content: space-between;
|
|
609
616
|
gap: var(--space-md);
|
|
610
617
|
align-items: start;
|
|
611
|
-
padding: var(--space-
|
|
618
|
+
padding: var(--space-lg);
|
|
612
619
|
}
|
|
613
620
|
|
|
614
621
|
.overlay-heading-copy {
|
|
@@ -628,7 +635,7 @@ onMount(() => {
|
|
|
628
635
|
}
|
|
629
636
|
|
|
630
637
|
.overlay-header h2 {
|
|
631
|
-
font-size: var(--type-title-
|
|
638
|
+
font-size: var(--type-title-md);
|
|
632
639
|
line-height: 1.2;
|
|
633
640
|
font-weight: 680;
|
|
634
641
|
}
|
|
@@ -650,19 +657,6 @@ onMount(() => {
|
|
|
650
657
|
color: var(--chronicle-text-muted);
|
|
651
658
|
}
|
|
652
659
|
|
|
653
|
-
.overlay-close {
|
|
654
|
-
min-height: 36px;
|
|
655
|
-
padding: 0 12px;
|
|
656
|
-
border-radius: 999px;
|
|
657
|
-
border: 1px solid color-mix(in srgb, var(--chronicle-border) 82%, white 18%);
|
|
658
|
-
background: color-mix(in srgb, white 90%, var(--chronicle-panel-muted) 10%);
|
|
659
|
-
font: inherit;
|
|
660
|
-
font-size: 13px;
|
|
661
|
-
font-weight: 620;
|
|
662
|
-
color: var(--chronicle-text);
|
|
663
|
-
cursor: pointer;
|
|
664
|
-
}
|
|
665
|
-
|
|
666
660
|
.overlay-index {
|
|
667
661
|
display: flex;
|
|
668
662
|
gap: var(--space-lg);
|
|
@@ -855,11 +849,9 @@ onMount(() => {
|
|
|
855
849
|
color: var(--chronicle-text-muted);
|
|
856
850
|
}
|
|
857
851
|
|
|
858
|
-
.repository-row a {
|
|
852
|
+
.repository-row :global(a.external-link) {
|
|
859
853
|
width: fit-content;
|
|
860
854
|
font-size: 13px;
|
|
861
|
-
font-weight: 620;
|
|
862
|
-
color: var(--chronicle-link);
|
|
863
855
|
}
|
|
864
856
|
|
|
865
857
|
.usage-line {
|