demoman 0.7.0 → 0.7.1

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.
@@ -24,8 +24,7 @@
24
24
  }
25
25
  .content { min-width: 0; display: flex; flex-direction: column; gap: 40px; }
26
26
 
27
- /* The nav: the tabs' pill idiom, stacked. A count says how many
28
- sites are listed; a lime chip says requests wait for an answer. */
27
+ /* The nav: the tabs' pill idiom, stacked. */
29
28
  /* The title and the nav, one column: held in view together where the
30
29
  nav is (see the media rule below). */
31
30
  .settings-side { align-self: start; }
@@ -48,16 +47,6 @@
48
47
  .section-nav svg { width: 15px; height: 15px; flex: none; opacity: 0.85; }
49
48
  .section-nav a:hover { color: var(--ink); background: var(--control); }
50
49
  .section-nav a[aria-current="true"] { color: var(--ink); background: var(--control-hover); }
51
- .nav-count { margin-left: auto; font-size: 12px; color: var(--ink-faint); font-variant-numeric: tabular-nums; }
52
- .nav-ask {
53
- margin-left: auto;
54
- padding: 1px 7px;
55
- border-radius: 999px;
56
- background: var(--primary);
57
- color: var(--primary-ink);
58
- font-size: 11px; font-weight: 700;
59
- font-variant-numeric: tabular-nums;
60
- }
61
50
  /* The title is held in view with the nav (2026-10-08): both are
62
51
  `.settings-side`, the nav's column, so nothing is laid over the
63
52
  sections as they scroll. The sections start the title's height
@@ -89,127 +78,9 @@
89
78
  background: var(--control);
90
79
  }
91
80
 
92
- /* Replay: label and what it does, the switch at the row's end. */
93
- [data-section="replay"] .switch-row { align-items: flex-start; padding: 16px 0; }
94
- /* By class, not by tag: the size row is a div among labels. */
95
- [data-section="replay"] .switch-row:not(.switch-row ~ .switch-row) { padding-top: 0; }
96
- [data-section="replay"] .switch-row:not(:has(~ .switch-row)) { padding-bottom: 0; }
97
- [data-section="replay"] .switch-row + .switch-row { border-top: 1px solid var(--ring); }
98
- [data-section="replay"] .switch { margin-top: 1px; }
99
- /* The agent video size has no hint, so its choices centre on the label. */
100
- [data-section="replay"] .switch-row.run-size { align-items: center; }
101
- /* Pull requests has no hint either: one row, its choices centred on the label. */
81
+ /* Export and Pull requests: one row each, the choices centred on the label. */
102
82
  [data-section="pullRequests"] .switch-row,
103
83
  [data-section="export"] .switch-row { align-items: center; }
104
- .switch-text strong { font-size: 14px; font-weight: 600; }
105
- .switch-text .hint { margin-top: 3px; max-width: 58ch; line-height: 1.5; }
106
-
107
- /* Sites: one line per site — host and status icons — opening to its
108
- facts. The icons hold the same four columns on every line, under
109
- a legend that names them. */
110
- .sites { display: flex; flex-direction: column; }
111
- .sites-legend {
112
- display: flex; flex-wrap: wrap; gap: 6px 16px;
113
- padding-bottom: 12px;
114
- font-size: 12px; color: var(--ink-muted);
115
- border-bottom: 1px solid var(--ring);
116
- }
117
- .sites-legend > span { display: inline-flex; align-items: center; gap: 6px; }
118
- .site + .site { border-top: 1px solid var(--ring); }
119
- .site > summary {
120
- list-style: none;
121
- display: grid;
122
- grid-template-columns: 16px minmax(0, 1fr) auto;
123
- align-items: center;
124
- gap: 10px;
125
- min-height: 48px;
126
- cursor: pointer;
127
- border-radius: var(--radius);
128
- }
129
- .site > summary::-webkit-details-marker { display: none; }
130
- .site[open] .chev { transform: rotate(90deg); }
131
- .site > summary:hover .chev { color: var(--ink); }
132
- .host { font-size: 14px; font-weight: 700; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
133
- .chips { display: flex; gap: 6px; }
134
- .chip, .chip-slot { width: 24px; height: 24px; flex: none; }
135
- .chip {
136
- border-radius: 50%;
137
- display: grid; place-items: center;
138
- background: var(--control);
139
- color: var(--ink-faint);
140
- }
141
- .chip svg { width: 13px; height: 13px; }
142
- .chip[data-on="true"] { background: var(--primary); color: var(--primary-ink); }
143
- /* The legend's icons, a size down from a line's. */
144
- .sites-legend .chip { width: 20px; height: 20px; }
145
- .sites-legend .chip svg { width: 11px; height: 11px; }
146
- .site-detail { padding: 0 0 12px 26px; }
147
-
148
- /* A site's facts as label / value / control rows. */
149
- .site-fact {
150
- display: flex;
151
- align-items: center;
152
- flex-wrap: wrap;
153
- gap: 8px 12px;
154
- padding: 6px 0;
155
- }
156
- .fact-label { flex: 0 0 130px; font-size: 12px; font-weight: 600; color: var(--ink-muted); }
157
- /* The value holds a column of its own, wide enough for On / Off /
158
- Yes / No, so the control after it starts at the same x in every
159
- row — beside the value it acts on (2026-10-04), not at the far
160
- edge of the card. A longer value (the muted count) simply pushes
161
- its own control along. */
162
- .fact-value { flex: none; min-width: 48px; font-weight: 600; }
163
- .fact-control { display: inline-flex; align-items: center; }
164
- /* The hint takes the whole next line rather than competing with the
165
- value for the row. Today's hints are long enough to fill a line
166
- unaided — what puts them on their own line is `.site-fact`'s
167
- `flex-wrap`, which is what the browser lane pins — so the basis
168
- here is insurance for a short hint, not the load-bearing rule. */
169
- .fact-hint { flex-basis: 100%; margin: 0; }
170
- /* Muted recordings: the same row shape, but a fact about the
171
- library rather than about any one site, so it sits after the
172
- list with a rule above it rather than inside a site. */
173
- [data-muted] { margin-top: 4px; padding-top: 12px; border-top: 1px solid var(--ring); }
174
- .rules { list-style: none; margin: 0; padding: 0; flex: 1; min-width: 0; }
175
- .rules li { display: flex; align-items: center; gap: 8px; padding: 2px 0; }
176
- .rules code { overflow-wrap: anywhere; }
177
- .rules .btn-link { width: auto; padding: 2px 6px; font-size: 12px; }
178
-
179
- /* Agents: three groups, the one that wants an answer first; in each,
180
- one row per key with its buttons at the end. A narrow window
181
- wraps the times under the name rather than squeezing either. */
182
- .agents { display: flex; flex-direction: column; }
183
- .group + .group { border-top: 1px solid var(--ring); margin-top: 12px; padding-top: 12px; }
184
- .group-label { margin: 0 0 4px; font-size: 12px; font-weight: 600; color: var(--ink-muted); }
185
- .agent {
186
- display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 12px;
187
- padding: 12px 0;
188
- }
189
- .group-label + .agent { padding-top: 4px; }
190
- .agent:last-child { padding-bottom: 0; }
191
- .agent-text { display: flex; align-items: baseline; flex-wrap: wrap; gap: 2px 16px; min-width: 0; }
192
- .agent-head { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; }
193
- .agent-name { font-size: 14px; font-weight: 700; }
194
- .agent-head code { color: var(--ink-muted); }
195
- .agent-facts { margin: 0; }
196
- .agent-actions { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
197
- .agent-actions .split { flex: none; }
198
- /* An approved agent's sites, hung under it on a rule. */
199
- .agent-sites { margin: -4px 0 12px 4px; padding-left: 14px; border-left: 2px solid var(--ring); display: grid; gap: 2px; }
200
- .agent-sites:last-child { margin-bottom: 0; }
201
- .site-line { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; min-height: 32px; }
202
- .site-line .site-unit { font-weight: 600; }
203
- .site-line .btn { margin-left: auto; }
204
- .site-line .split { margin-left: auto; }
205
- .site-line .split .btn { margin-left: 0; }
206
- .agent + .agent, .agent-sites + .agent { border-top: 1px solid var(--ring); }
207
- /* A narrow card puts a row's buttons under its words rather than
208
- squeezing the words into what the buttons leave. */
209
- @container (max-width: 520px) {
210
- .agent { grid-template-columns: minmax(0, 1fr); }
211
- .agent-actions { justify-content: flex-start; }
212
- }
213
84
 
214
85
  /* Brand kits (2026-10-08): the kits as a strip of live tiles, the
215
86
  selected one's picture full width, and its controls in three short
@@ -310,17 +181,6 @@
310
181
  }
311
182
  }
312
183
 
313
- /* Diagnostics' tool buttons, in one row under its lines. */
314
- .controls {
315
- display: flex;
316
- align-items: center;
317
- flex-wrap: wrap;
318
- gap: 8px;
319
- margin-top: 12px;
320
- }
321
- [data-server], [data-version] { margin-top: 6px; }
322
- [data-version] { margin-top: 0; }
323
-
324
184
  /* Repeated from the shell, on purpose: rules above set `display` at
325
185
  the same specificity, and this file loads after the shell, so the
326
186
  shell's own `.hidden` would lose to them. */
@@ -0,0 +1 @@
1
+ function e(e,t,n=.3){if(e.length===0)return null;if(t.atFoot)return e[e.length-1]?.id??null;let r=e[0]?.id??null;for(let i of e)i.top<=t.height*n&&(r=i.id);return r}function t(t){let n=null,r,i=()=>[...t.querySelectorAll(`a[data-nav]`)],a=e=>{for(let t of i())t.setAttribute(`aria-current`,String(t.dataset.nav===e))},o=()=>{if(n!==null)return a(n);let t=document.documentElement,r=i().flatMap(e=>{let t=e.dataset.nav??``,n=document.getElementById(t);return n===null?[]:[{id:t,top:n.getBoundingClientRect().top}]});a(e(r,{height:window.innerHeight,atFoot:window.scrollY+window.innerHeight>=t.scrollHeight-2}))};return t.addEventListener(`click`,e=>{let t=e.target?.closest(`a[data-nav]`);t!=null&&(n=t.dataset.nav??null,a(n),clearTimeout(r),r=setTimeout(()=>{n=null,o()},800))}),window.addEventListener(`scroll`,o,{passive:!0}),window.addEventListener(`resize`,o),{mark:o}}function n(e){let t=Promise.resolve(),n=0,r=0,i=!1,a=!1,o=!1;function s(i,a){let o=()=>a!==void 0&&r>=a?Promise.resolve():(r=n,e.paint(i));return t=t.then(o,o),t}function c(t){if(i=!0,e.hold?.()===!0){o=!0;return}s(!0,t).catch(e.onRefreshFailed).finally(()=>{i=!1,a&&(a=!1,c(n))})}return{render:()=>s(!1),soon(){let e=++n;if(i){a=!0;return}c(e)},resume(){!o||e.hold?.()===!0||(o=!1,a=!1,c(n))},pending:()=>t}}function r(e){document.querySelector(`a[data-tab="settings"]`)?.setAttribute(`href`,e.nav.kits())}export{n,t as r,r as t};
@@ -6,12 +6,12 @@
6
6
  <!-- The shell — tokens, faces, the brand lockup, buttons, notices — is
7
7
  shared with the popup, the Recordings page and Settings. Only the
8
8
  editor's own rules are inline below. -->
9
- <link rel="stylesheet" href="/assets/editor-inline-3529c61f.css">
10
- <script type="module" crossorigin src="/assets/editor-BTGqbeOf.js"></script>
11
- <link rel="modulepreload" crossorigin href="/assets/theme-D59pt_a-.js">
12
- <link rel="modulepreload" crossorigin href="/assets/switch-Bn7Uwnf1.js">
9
+ <link rel="stylesheet" href="/assets/editor-inline-7e387eed.css">
10
+ <script type="module" crossorigin src="/assets/editor-APtBBZEt.js"></script>
11
+ <link rel="modulepreload" crossorigin href="/assets/confirm-dialog-DkCVzKzd.js">
12
+ <link rel="modulepreload" crossorigin href="/assets/controls-BoAnJbcP.js">
13
13
  <link rel="modulepreload" crossorigin href="/assets/state-COWbBf84.js">
14
- <link rel="stylesheet" crossorigin href="/assets/theme-D6wPSXx4.css">
14
+ <link rel="stylesheet" crossorigin href="/assets/confirm-dialog-Dd_hs1Bv.css">
15
15
  </head>
16
16
  <body>
17
17
  <header>
@@ -86,7 +86,6 @@
86
86
  <div id="notes" popover role="dialog" aria-label="Notes on this take">
87
87
  <div id="banner"></div>
88
88
  <div id="failure"></div>
89
- <div id="report"></div>
90
89
  <!-- The take's own warnings — the notices `buildLaneModel` collects
91
90
  and the hover pass's verdict. Both were drawn inside the dock
92
91
  until 2026-09-22; see `renderTakeNotes` for why they are here
@@ -8,11 +8,11 @@
8
8
  — is shared with the popup. Only this page's own rules are inline
9
9
  below. -->
10
10
  <link rel="stylesheet" href="/assets/library-inline-2187206c.css">
11
- <script type="module" crossorigin src="/assets/library-BgPfg1Id.js"></script>
12
- <link rel="modulepreload" crossorigin href="/assets/theme-D59pt_a-.js">
11
+ <script type="module" crossorigin src="/assets/library-C8XIahb7.js"></script>
12
+ <link rel="modulepreload" crossorigin href="/assets/confirm-dialog-DkCVzKzd.js">
13
13
  <link rel="modulepreload" crossorigin href="/assets/state-COWbBf84.js">
14
- <link rel="modulepreload" crossorigin href="/assets/topbar-Dq9UrNEm.js">
15
- <link rel="stylesheet" crossorigin href="/assets/theme-D6wPSXx4.css">
14
+ <link rel="modulepreload" crossorigin href="/assets/topbar-sSUyITjl.js">
15
+ <link rel="stylesheet" crossorigin href="/assets/confirm-dialog-Dd_hs1Bv.css">
16
16
  </head>
17
17
  <body>
18
18
  <header class="topbar">
@@ -37,15 +37,10 @@
37
37
  <a href="settings.html" data-tab="settings" title="Settings"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M12.22 2h-.44a2 2 0 0 0-2 2v.18a2 2 0 0 1-1 1.73l-.43.25a2 2 0 0 1-2 0l-.15-.08a2 2 0 0 0-2.73.73l-.22.38a2 2 0 0 0 .73 2.73l.15.1a2 2 0 0 1 1 1.72v.51a2 2 0 0 1-1 1.74l-.15.09a2 2 0 0 0-.73 2.73l.22.38a2 2 0 0 0 2.73.73l.15-.08a2 2 0 0 1 2 0l.43.25a2 2 0 0 1 1 1.73V20a2 2 0 0 0 2 2h.44a2 2 0 0 0 2-2v-.18a2 2 0 0 1 1-1.73l.43-.25a2 2 0 0 1 2 0l.15.08a2 2 0 0 0 2.73-.73l.22-.39a2 2 0 0 0-.73-2.73l-.15-.08a2 2 0 0 1-1-1.74v-.5a2 2 0 0 1 1-1.74l.15-.09a2 2 0 0 0 .73-2.73l-.22-.38a2 2 0 0 0-2.73-.73l-.15.08a2 2 0 0 1-2 0l-.43-.25a2 2 0 0 1-1-1.73V4a2 2 0 0 0-2-2z"/><circle cx="12" cy="12" r="3"/></svg><span class="tab-label">Settings</span></a>
38
38
  </nav>
39
39
  </div>
40
- <!-- The theme toggle and the account menu, mounted by
41
- src/shell/topbar.ts; the account slot stays empty in a build
42
- that cannot share. -->
43
40
  <div class="topbar-group topbar-actions">
44
41
  <!-- The storage trigger and its panel, put here by
45
42
  src/library/view.ts. -->
46
43
  <div class="topbar-storage" data-storage-slot></div>
47
- <div class="topbar-theme" data-theme-slot></div>
48
- <div class="topbar-account" data-account-slot></div>
49
44
  </div>
50
45
  </div>
51
46
  </header>
@@ -7,12 +7,12 @@
7
7
  <!-- The shell — tokens, faces, the top bar and tabs, cards,
8
8
  buttons, switches, notices — is shared with the popup and the
9
9
  Recordings page. Only this page's own rules are inline below. -->
10
- <link rel="stylesheet" href="/assets/settings-inline-081bd3f0.css">
11
- <script type="module" crossorigin src="/assets/settings-Bq1e7Iz8.js"></script>
12
- <link rel="modulepreload" crossorigin href="/assets/theme-D59pt_a-.js">
13
- <link rel="modulepreload" crossorigin href="/assets/switch-Bn7Uwnf1.js">
14
- <link rel="modulepreload" crossorigin href="/assets/topbar-Dq9UrNEm.js">
15
- <link rel="stylesheet" crossorigin href="/assets/theme-D6wPSXx4.css">
10
+ <link rel="stylesheet" href="/assets/settings-inline-ff6d2eee.css">
11
+ <script type="module" crossorigin src="/assets/settings-Cs1_sqqR.js"></script>
12
+ <link rel="modulepreload" crossorigin href="/assets/confirm-dialog-DkCVzKzd.js">
13
+ <link rel="modulepreload" crossorigin href="/assets/controls-BoAnJbcP.js">
14
+ <link rel="modulepreload" crossorigin href="/assets/topbar-sSUyITjl.js">
15
+ <link rel="stylesheet" crossorigin href="/assets/confirm-dialog-Dd_hs1Bv.css">
16
16
  </head>
17
17
  <body>
18
18
  <header class="topbar">
@@ -37,12 +37,7 @@
37
37
  <a href="settings.html" data-tab="settings" aria-current="page" title="Settings"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M12.22 2h-.44a2 2 0 0 0-2 2v.18a2 2 0 0 1-1 1.73l-.43.25a2 2 0 0 1-2 0l-.15-.08a2 2 0 0 0-2.73.73l-.22.38a2 2 0 0 0 .73 2.73l.15.1a2 2 0 0 1 1 1.72v.51a2 2 0 0 1-1 1.74l-.15.09a2 2 0 0 0-.73 2.73l.22.38a2 2 0 0 0 2.73.73l.15-.08a2 2 0 0 1 2 0l.43.25a2 2 0 0 1 1 1.73V20a2 2 0 0 0 2 2h.44a2 2 0 0 0 2-2v-.18a2 2 0 0 1 1-1.73l.43-.25a2 2 0 0 1 2 0l.15.08a2 2 0 0 0 2.73-.73l.22-.39a2 2 0 0 0-.73-2.73l-.15-.08a2 2 0 0 1-1-1.74v-.5a2 2 0 0 1 1-1.74l.15-.09a2 2 0 0 0 .73-2.73l-.22-.38a2 2 0 0 0-2.73-.73l-.15.08a2 2 0 0 1-2 0l-.43-.25a2 2 0 0 1-1-1.73V4a2 2 0 0 0-2-2z"/><circle cx="12" cy="12" r="3"/></svg><span class="tab-label">Settings</span></a>
38
38
  </nav>
39
39
  </div>
40
- <!-- The theme toggle and the account menu, mounted by
41
- src/shell/topbar.ts; the account slot stays empty in a build
42
- that cannot share. -->
43
40
  <div class="topbar-group topbar-actions">
44
- <div class="topbar-theme" data-theme-slot></div>
45
- <div class="topbar-account" data-account-slot></div>
46
41
  </div>
47
42
  </div>
48
43
  </header>
@@ -1,5 +1,5 @@
1
1
  {
2
- "sha": "3b3a1091",
3
- "builtAt": "2026-10-21T17:09:02.815Z",
4
- "version": "0.7.0"
2
+ "sha": "4aa7a64f",
3
+ "builtAt": "2026-10-23T02:41:23.153Z",
4
+ "version": "0.7.1"
5
5
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "demoman",
3
- "version": "0.7.0",
3
+ "version": "0.7.1",
4
4
  "description": "Polished demo videos of web apps, made by your coding agent.",
5
5
  "license": "FSL-1.1-ALv2",
6
6
  "homepage": "https://demoman.io",