@volter/world-console 2.0.8 → 2.0.10
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/client/brand/tokens.css
CHANGED
|
@@ -57,16 +57,10 @@
|
|
|
57
57
|
--volter-color-violet-text: #4f4275;
|
|
58
58
|
--volter-color-violet-line: #d9d1ea;
|
|
59
59
|
--volter-color-ansi-blue: #3b5f8a;
|
|
60
|
-
--volter-color-ansi-cyan: #2f7a74;
|
|
61
|
-
--volter-color-ansi-bright-green: #6a9a3a;
|
|
62
|
-
--volter-color-ansi-bright-yellow: #c98a12;
|
|
63
|
-
--volter-color-ansi-bright-blue: #4f78a8;
|
|
64
|
-
--volter-color-ansi-bright-magenta: #8a78c0;
|
|
65
|
-
--volter-color-ansi-bright-cyan: #3f948d;
|
|
66
|
-
--volter-color-ansi-bright-white: #b8bab5;
|
|
67
60
|
--volter-font-ui: "Geist", "Segoe UI", system-ui, sans-serif;
|
|
68
61
|
--volter-font-data: "Geist Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
|
|
69
62
|
--volter-font-display: "Instrument Serif", Georgia, serif;
|
|
63
|
+
--volter-font-terminal: "SF Mono", SFMono-Regular, ui-monospace, Menlo, Consolas, monospace;
|
|
70
64
|
--volter-font-size-xs: 11px;
|
|
71
65
|
--volter-font-size-sm: 12.5px;
|
|
72
66
|
--volter-font-size-md: 14px;
|
|
@@ -75,6 +69,7 @@
|
|
|
75
69
|
--volter-font-size-2xl: 24px;
|
|
76
70
|
--volter-font-size-3xl: 32px;
|
|
77
71
|
--volter-font-size-display: 48px;
|
|
72
|
+
--volter-font-size-terminal: 11px;
|
|
78
73
|
--volter-space-1: 4px;
|
|
79
74
|
--volter-space-2: 8px;
|
|
80
75
|
--volter-space-3: 12px;
|
|
@@ -189,22 +184,26 @@
|
|
|
189
184
|
--volter-scene-dynamic: light-dark(#6a5a92, #aa98d8);
|
|
190
185
|
--volter-scene-dynamic-soft: light-dark(#dcd5e9, rgba(220, 213, 233, 0.3));
|
|
191
186
|
--volter-scene-instance: light-dark(#5f9a2e, #9bcf62);
|
|
192
|
-
--volter-terminal-
|
|
193
|
-
--volter-terminal-
|
|
194
|
-
--volter-terminal-
|
|
195
|
-
--volter-terminal-
|
|
196
|
-
--volter-terminal-
|
|
197
|
-
--volter-terminal-
|
|
198
|
-
--volter-terminal-
|
|
199
|
-
--volter-terminal-
|
|
200
|
-
--volter-terminal-
|
|
201
|
-
--volter-terminal-
|
|
202
|
-
--volter-terminal-
|
|
203
|
-
--volter-terminal-
|
|
204
|
-
--volter-terminal-bright-
|
|
205
|
-
--volter-terminal-bright-
|
|
206
|
-
--volter-terminal-bright-
|
|
207
|
-
--volter-terminal-bright-
|
|
187
|
+
--volter-terminal-background: light-dark(#ffffff, #1e1e1e);
|
|
188
|
+
--volter-terminal-foreground: light-dark(#000000, #ffffff);
|
|
189
|
+
--volter-terminal-cursor: #9d9d9d;
|
|
190
|
+
--volter-terminal-selection: light-dark(#b3d7ff, #3f638b);
|
|
191
|
+
--volter-terminal-black: #000000;
|
|
192
|
+
--volter-terminal-red: #990000;
|
|
193
|
+
--volter-terminal-green: #00a600;
|
|
194
|
+
--volter-terminal-yellow: #999900;
|
|
195
|
+
--volter-terminal-blue: #0000b3;
|
|
196
|
+
--volter-terminal-magenta: #b300b3;
|
|
197
|
+
--volter-terminal-cyan: #00a6b3;
|
|
198
|
+
--volter-terminal-white: #bfbfbf;
|
|
199
|
+
--volter-terminal-bright-black: #666666;
|
|
200
|
+
--volter-terminal-bright-red: #e60000;
|
|
201
|
+
--volter-terminal-bright-green: #00d900;
|
|
202
|
+
--volter-terminal-bright-yellow: #e6e600;
|
|
203
|
+
--volter-terminal-bright-blue: #0000ff;
|
|
204
|
+
--volter-terminal-bright-magenta: #e600e6;
|
|
205
|
+
--volter-terminal-bright-cyan: #00e6e6;
|
|
206
|
+
--volter-terminal-bright-white: #e6e6e6;
|
|
208
207
|
--volter-accent-lime: #e4f09c;
|
|
209
208
|
--volter-accent-lime-strong: #d8eb6a;
|
|
210
209
|
--volter-accent-lilac: #dcd5e9;
|
package/client/console.tsx
CHANGED
|
@@ -429,7 +429,7 @@ type Diff = { base: { id: string; at: string | null }; changes: Array<{ twin: st
|
|
|
429
429
|
type Branch = { name: string; at?: { instant?: string }; createdAt: string; expiresAt: string | null };
|
|
430
430
|
/** The branches door: the host's snapshots of this World, and the World's own named branches (`volter world branch`),
|
|
431
431
|
* one of which, `checkedOut`, is the one this serve holds. */
|
|
432
|
-
type BranchesDoor = { branches: Branch[]; checkedOut?: string; named?: Array<{ name: string; running: boolean }
|
|
432
|
+
type BranchesDoor = { branches: Branch[]; checkedOut?: string; named?: Array<{ name: string; running: boolean }>; canServe?: boolean };
|
|
433
433
|
/** What the World's session answered: its scope; `unknown` when the host has no session door (a write then says). */
|
|
434
434
|
type Scope = 'pending' | 'read' | 'write' | 'unknown';
|
|
435
435
|
|
|
@@ -1019,7 +1019,7 @@ function BranchList({ name, token, canWrite, branches, opens, note, remove, onCh
|
|
|
1019
1019
|
) : null}
|
|
1020
1020
|
{branches.state === 'ok' && (branches.data.named?.length ?? 0) > 0 ? (
|
|
1021
1021
|
<>
|
|
1022
|
-
<p className="lede">This World's own branches (<code>volter world branch</code>). One runs at a time;
|
|
1022
|
+
<p className="lede">This World's own branches (<code>volter world branch</code>). One runs at a time; {branches.data.canServe ? <>“Serve here” stops this one's twins and serves that one in its place.</> : <>this host serves one of them; another is served by <code>volter world checkout <branch></code> where the World lives, then serving again.</>}</p>
|
|
1023
1023
|
{serveError ? <p role="alert">{serveError}</p> : null}
|
|
1024
1024
|
<div className="block">
|
|
1025
1025
|
<table className="dense" aria-label="World branches">
|
|
@@ -1029,7 +1029,7 @@ function BranchList({ name, token, canWrite, branches, opens, note, remove, onCh
|
|
|
1029
1029
|
<tr key={b.name}>
|
|
1030
1030
|
<td><b>{b.name}</b>{b.name === branches.data.checkedOut ? <> <span className="badge">served here</span></> : null}</td>
|
|
1031
1031
|
<td className="mode">{b.running ? 'running' : 'stopped'}</td>
|
|
1032
|
-
<td className="num row-actions">{canWrite && b.name !== branches.data.checkedOut ? <button type="button" disabled={serving !== null} onClick={() => void serveHere(b.name)}>{serving === b.name ? 'Switching…' : 'Serve here'}</button> : null}</td>
|
|
1032
|
+
<td className="num row-actions">{canWrite && branches.data.canServe && b.name !== branches.data.checkedOut ? <button type="button" disabled={serving !== null} onClick={() => void serveHere(b.name)}>{serving === b.name ? 'Switching…' : 'Serve here'}</button> : null}</td>
|
|
1033
1033
|
</tr>
|
|
1034
1034
|
))}
|
|
1035
1035
|
</tbody>
|
|
@@ -57,16 +57,10 @@
|
|
|
57
57
|
--volter-color-violet-text: #4f4275;
|
|
58
58
|
--volter-color-violet-line: #d9d1ea;
|
|
59
59
|
--volter-color-ansi-blue: #3b5f8a;
|
|
60
|
-
--volter-color-ansi-cyan: #2f7a74;
|
|
61
|
-
--volter-color-ansi-bright-green: #6a9a3a;
|
|
62
|
-
--volter-color-ansi-bright-yellow: #c98a12;
|
|
63
|
-
--volter-color-ansi-bright-blue: #4f78a8;
|
|
64
|
-
--volter-color-ansi-bright-magenta: #8a78c0;
|
|
65
|
-
--volter-color-ansi-bright-cyan: #3f948d;
|
|
66
|
-
--volter-color-ansi-bright-white: #b8bab5;
|
|
67
60
|
--volter-font-ui: "Geist", "Segoe UI", system-ui, sans-serif;
|
|
68
61
|
--volter-font-data: "Geist Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
|
|
69
62
|
--volter-font-display: "Instrument Serif", Georgia, serif;
|
|
63
|
+
--volter-font-terminal: "SF Mono", SFMono-Regular, ui-monospace, Menlo, Consolas, monospace;
|
|
70
64
|
--volter-font-size-xs: 11px;
|
|
71
65
|
--volter-font-size-sm: 12.5px;
|
|
72
66
|
--volter-font-size-md: 14px;
|
|
@@ -75,6 +69,7 @@
|
|
|
75
69
|
--volter-font-size-2xl: 24px;
|
|
76
70
|
--volter-font-size-3xl: 32px;
|
|
77
71
|
--volter-font-size-display: 48px;
|
|
72
|
+
--volter-font-size-terminal: 11px;
|
|
78
73
|
--volter-space-1: 4px;
|
|
79
74
|
--volter-space-2: 8px;
|
|
80
75
|
--volter-space-3: 12px;
|
|
@@ -189,22 +184,26 @@
|
|
|
189
184
|
--volter-scene-dynamic: light-dark(#6a5a92, #aa98d8);
|
|
190
185
|
--volter-scene-dynamic-soft: light-dark(#dcd5e9, rgba(220, 213, 233, 0.3));
|
|
191
186
|
--volter-scene-instance: light-dark(#5f9a2e, #9bcf62);
|
|
192
|
-
--volter-terminal-
|
|
193
|
-
--volter-terminal-
|
|
194
|
-
--volter-terminal-
|
|
195
|
-
--volter-terminal-
|
|
196
|
-
--volter-terminal-
|
|
197
|
-
--volter-terminal-
|
|
198
|
-
--volter-terminal-
|
|
199
|
-
--volter-terminal-
|
|
200
|
-
--volter-terminal-
|
|
201
|
-
--volter-terminal-
|
|
202
|
-
--volter-terminal-
|
|
203
|
-
--volter-terminal-
|
|
204
|
-
--volter-terminal-bright-
|
|
205
|
-
--volter-terminal-bright-
|
|
206
|
-
--volter-terminal-bright-
|
|
207
|
-
--volter-terminal-bright-
|
|
187
|
+
--volter-terminal-background: light-dark(#ffffff, #1e1e1e);
|
|
188
|
+
--volter-terminal-foreground: light-dark(#000000, #ffffff);
|
|
189
|
+
--volter-terminal-cursor: #9d9d9d;
|
|
190
|
+
--volter-terminal-selection: light-dark(#b3d7ff, #3f638b);
|
|
191
|
+
--volter-terminal-black: #000000;
|
|
192
|
+
--volter-terminal-red: #990000;
|
|
193
|
+
--volter-terminal-green: #00a600;
|
|
194
|
+
--volter-terminal-yellow: #999900;
|
|
195
|
+
--volter-terminal-blue: #0000b3;
|
|
196
|
+
--volter-terminal-magenta: #b300b3;
|
|
197
|
+
--volter-terminal-cyan: #00a6b3;
|
|
198
|
+
--volter-terminal-white: #bfbfbf;
|
|
199
|
+
--volter-terminal-bright-black: #666666;
|
|
200
|
+
--volter-terminal-bright-red: #e60000;
|
|
201
|
+
--volter-terminal-bright-green: #00d900;
|
|
202
|
+
--volter-terminal-bright-yellow: #e6e600;
|
|
203
|
+
--volter-terminal-bright-blue: #0000ff;
|
|
204
|
+
--volter-terminal-bright-magenta: #e600e6;
|
|
205
|
+
--volter-terminal-bright-cyan: #00e6e6;
|
|
206
|
+
--volter-terminal-bright-white: #e6e6e6;
|
|
208
207
|
--volter-accent-lime: #e4f09c;
|
|
209
208
|
--volter-accent-lime-strong: #d8eb6a;
|
|
210
209
|
--volter-accent-lilac: #dcd5e9;
|