@william_jin/autobrowse 0.8.15 → 0.8.17
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.
|
@@ -22,8 +22,10 @@ button:focus-visible,.row:focus-visible{outline:2px solid var(--ring);outline-of
|
|
|
22
22
|
#seg{display:flex;flex:none;margin:0;border:0;padding:2px;border-radius:8px;background:var(--seg)}
|
|
23
23
|
#seg button{display:grid;place-items:center;width:30px;height:22px;padding:0;border-radius:6px;color:var(--mut);font-size:12px;font-weight:500;transition:background-color .15s,color .15s}
|
|
24
24
|
#seg button[aria-pressed=true]{background:var(--segon);color:var(--fg);box-shadow:0 1px 2px rgba(0,0,0,.12)}
|
|
25
|
-
|
|
26
|
-
|
|
25
|
+
/* §Hub motion: Restore sits over the drag space left of the layout switch, so nothing moves; it fades and slides 6 px */
|
|
26
|
+
#segs{position:relative;display:flex;flex:none}
|
|
27
|
+
#unmax{position:absolute;right:calc(100% + 6px);top:0;padding:0 8px 0 6px;opacity:0;transform:translateX(6px);white-space:nowrap;font-size:12px;font-weight:500;pointer-events:none;transition:opacity .15s cubic-bezier(.16,1,.3,1),transform .15s cubic-bezier(.16,1,.3,1),background-color .15s,color .15s}
|
|
28
|
+
.maxed #unmax{opacity:1;transform:none;pointer-events:auto}
|
|
27
29
|
#pauseall{flex-direction:column;gap:0;padding:0 10px;font-size:12px;font-weight:500;background:var(--btn);color:var(--fg)}
|
|
28
30
|
/* sizer: the longer label, never seen */
|
|
29
31
|
#pauseall::after{content:"Resume all";height:0;overflow:hidden;visibility:hidden}
|
|
@@ -32,16 +34,22 @@ button:focus-visible,.row:focus-visible{outline:2px solid var(--ring);outline-of
|
|
|
32
34
|
@media (max-width:759px){#top{gap:4px}#seg button{width:26px}#pauseall{padding:0 8px}}
|
|
33
35
|
#main{position:absolute;inset:38px 0 0 0;display:flex}
|
|
34
36
|
#list{position:relative;list-style:none;margin:0;flex:1;overflow-y:auto;padding:2px 6px 44px;scrollbar-width:thin}
|
|
35
|
-
/* §Sidebar collapse: #side holds the room in the layout (full, rail or none); #sidein is the panel, --sidew wide, clipped to
|
|
36
|
-
|
|
37
|
+
/* §Sidebar collapse: #side holds the room in the layout (full, rail or none); #sidein is the panel, --sidew wide, clipped to --vis. The flyout unclips it over the stage, so the stage never resizes.
|
|
38
|
+
§Hub motion: the room takes its width at once (the panes sweep); the clip edge moves by two opposite translateXs, #sideclip and #sidein, so no layout and no clip repaint */
|
|
39
|
+
#main{background:var(--pane)}
|
|
40
|
+
#side{position:relative;z-index:3;flex:none;width:var(--sidew,248px)}
|
|
37
41
|
.m-rail #side{width:52px}
|
|
38
42
|
.m-hidden #side{width:0}
|
|
39
|
-
#
|
|
40
|
-
|
|
41
|
-
.m-
|
|
43
|
+
#sideclip{--vis:var(--sidew,248px);position:absolute;inset:0 auto 0 0;width:calc(var(--sidew,248px) + 60px);overflow:hidden;transform:translateX(calc(var(--vis) - var(--sidew,248px) - 60px));transition:transform .2s cubic-bezier(.16,1,.3,1)}
|
|
44
|
+
#sidein{position:absolute;inset:0 auto 0 0;width:var(--sidew,248px);display:flex;flex-direction:column;background:var(--side);overflow:hidden;transform:translateX(calc(var(--sidew,248px) + 60px - var(--vis)));transition:transform .2s cubic-bezier(.16,1,.3,1),box-shadow .2s cubic-bezier(.16,1,.3,1)}
|
|
45
|
+
.m-rail #sideclip{--vis:52px}
|
|
46
|
+
.m-hidden #sideclip{--vis:0px}
|
|
47
|
+
.m-hidden #sidein{pointer-events:none}
|
|
42
48
|
/* the flyout: unclipped, room on the right for its shadow */
|
|
43
|
-
.m-rail.peek #
|
|
44
|
-
.
|
|
49
|
+
.m-rail.peek #sideclip{--vis:calc(var(--sidew,248px) + 60px)}
|
|
50
|
+
.m-rail.peek #sidein{box-shadow:0 0 0 1px var(--hair),var(--lift)}
|
|
51
|
+
.m-rail.peek :is(#sideclip,#sidein){transition-duration:.18s}
|
|
52
|
+
.unpeek #side :is(#sideclip,#sidein){transition-duration:.15s}
|
|
45
53
|
/* a leaving row or label: out of the flow, fading, while the rest slide up */
|
|
46
54
|
#list>.gone{position:absolute;left:6px;right:6px;opacity:0;pointer-events:none;transition:opacity .15s}
|
|
47
55
|
.sec{position:sticky;top:0;z-index:1;background:var(--side);transition:opacity .15s,transform .2s cubic-bezier(.16,1,.3,1)}
|
|
@@ -142,7 +150,9 @@ button:focus-visible,.row:focus-visible{outline:2px solid var(--ring);outline-of
|
|
|
142
150
|
kbd{display:inline-flex;align-items:center;justify-content:center;min-width:18px;height:18px;padding:0 4px;border-radius:5px;background:var(--fill);box-shadow:inset 0 0 0 1px var(--hair);font:500 11px/1 -apple-system,system-ui,sans-serif;color:var(--fg);white-space:nowrap}
|
|
143
151
|
.ks{display:inline-flex;gap:3px}
|
|
144
152
|
#stage{position:relative;flex:1;min-width:0;background:var(--pane)}
|
|
145
|
-
|
|
153
|
+
/* §Hub motion: the box sweeps by transform (sweep()); .pin counter-scales, so bar and page stay 1:1 */
|
|
154
|
+
.pane{position:absolute;overflow:hidden;background:var(--bg);opacity:0;transform-origin:0 0;transition:opacity .15s cubic-bezier(.16,1,.3,1)}
|
|
155
|
+
.pin{display:flex;flex-direction:column;width:100%;height:100%;transform-origin:0 0}
|
|
146
156
|
.pane.in{opacity:1}
|
|
147
157
|
.pane.off{visibility:hidden;pointer-events:none}
|
|
148
158
|
.grid .pane{border-radius:8px;box-shadow:var(--raise)}
|
|
@@ -221,11 +231,10 @@ kbd{display:inline-flex;align-items:center;justify-content:center;min-width:18px
|
|
|
221
231
|
.m-hidden #grip,.peek #grip,.narrow #grip{display:none}
|
|
222
232
|
/* a drag: 1:1 with the pointer, so no tweens; frames take no pointer */
|
|
223
233
|
.sizing,.sizing *{cursor:col-resize}
|
|
224
|
-
.sizing #side
|
|
234
|
+
.sizing #side :is(#sideclip,#sidein),.sizing #stage .pane{transition:none}
|
|
225
235
|
.sizing iframe{pointer-events:none}
|
|
226
236
|
/* a snap mid-drag (rail, hidden, back): the edge leaves the pointer, so it eases */
|
|
227
|
-
.sizing.snap #side{transition:
|
|
228
|
-
.sizing.snap #side #sidein{transition:clip-path .12s cubic-bezier(.16,1,.3,1)}
|
|
237
|
+
.sizing.snap #side :is(#sideclip,#sidein){transition:transform .12s cubic-bezier(.16,1,.3,1)}
|
|
229
238
|
/* compact rows: one line; a needs-you reason stays */
|
|
230
239
|
#list .row .meta,#list .row .title{transition:opacity .1s}
|
|
231
240
|
.compacting .row :is(.meta,.job,.flow,.title,.tabs){opacity:0}
|
|
@@ -237,18 +246,19 @@ kbd{display:inline-flex;align-items:center;justify-content:center;min-width:18px
|
|
|
237
246
|
<div id="top">
|
|
238
247
|
<button type="button" class="nb" id="sidebtn" title="Sessions (⌘\)" aria-label="Collapse or expand the sidebar (⌘\)" aria-pressed="true"><svg class="ic" viewBox="0 0 16 16" aria-hidden="true"><rect x="2" y="3" width="12" height="10" rx="2"/><path d="M6 3v10"/></svg></button>
|
|
239
248
|
<div class="sp" id="drag"></div>
|
|
249
|
+
<span id="segs">
|
|
240
250
|
<button type="button" class="nb" id="unmax" title="Restore the layout (⌘⇧↩)" tabindex="-1"><svg class="ic" viewBox="0 0 16 16" aria-hidden="true"><path d="M13.5 6.5h-4v-4M2.5 9.5h4v4M9.5 6.5l4-4M6.5 9.5l-4 4"/></svg>Restore</button>
|
|
241
251
|
<fieldset id="seg" aria-label="Layout">
|
|
242
252
|
<button type="button" data-l="focus" title="Focus: one pane (⌃⌘1)" aria-label="Focus: one pane" aria-pressed="true"><svg class="ic" viewBox="0 0 16 16" aria-hidden="true"><rect x="2" y="3" width="12" height="10" rx="2"/></svg></button>
|
|
243
253
|
<button type="button" data-l="split" title="Split: two panes (⌃⌘2)" aria-label="Split: two panes" aria-pressed="false"><svg class="ic" viewBox="0 0 16 16" aria-hidden="true"><rect x="2" y="3" width="12" height="10" rx="2"/><path d="M8 3v10"/></svg></button>
|
|
244
254
|
<button type="button" data-l="grid" title="Grid: up to 9 panes (⌃⌘3)" aria-label="Grid: up to 9 panes" aria-pressed="false"><svg class="ic" viewBox="0 0 16 16" aria-hidden="true"><rect x="2" y="3" width="12" height="10" rx="2"/><path d="M8 3v10M2 8h12"/></svg></button>
|
|
245
|
-
</fieldset>
|
|
255
|
+
</fieldset></span>
|
|
246
256
|
<button type="button" class="nb" id="pauseall" title="Pause every agent (⌘⇧P)" disabled>Pause all</button>
|
|
247
257
|
<button type="button" class="nb" id="keysbtn" title="Keys" aria-label="Keys" aria-expanded="false"><svg class="ic" viewBox="0 0 16 16" aria-hidden="true"><rect x="1.5" y="4" width="13" height="8.5" rx="1.8"/><path d="M4.5 7h.01M7 7h.01M9.5 7h.01M12 7h.01M5 10h6"/></svg></button>
|
|
248
258
|
</div>
|
|
249
259
|
<div id="main">
|
|
250
|
-
<nav id="side" aria-label="Sessions"><div id="sidein"><ul id="list"></ul>
|
|
251
|
-
<div id="bar" class="off"><span id="barl"></span><span class="sp"></span><button type="button" id="barkeys" title="Keys (⌘/)">Keys <span class="ks"><kbd>⌘</kbd><kbd>/</kbd></span></button><button type="button" id="more" title="Sidebar actions" aria-label="Sidebar actions" aria-haspopup="menu" aria-expanded="false" aria-controls="menu" popovertarget="menu"><svg class="ic" viewBox="0 0 16 16" aria-hidden="true"><path d="M3.5 8h.01M8 8h.01M12.5 8h.01" stroke-width="2.4"/></svg></button></div></div>
|
|
260
|
+
<nav id="side" aria-label="Sessions"><div id="sideclip"><div id="sidein"><ul id="list"></ul>
|
|
261
|
+
<div id="bar" class="off"><span id="barl"></span><span class="sp"></span><button type="button" id="barkeys" title="Keys (⌘/)">Keys <span class="ks"><kbd>⌘</kbd><kbd>/</kbd></span></button><button type="button" id="more" title="Sidebar actions" aria-label="Sidebar actions" aria-haspopup="menu" aria-expanded="false" aria-controls="menu" popovertarget="menu"><svg class="ic" viewBox="0 0 16 16" aria-hidden="true"><path d="M3.5 8h.01M8 8h.01M12.5 8h.01" stroke-width="2.4"/></svg></button></div></div></div>
|
|
252
262
|
<!-- biome-ignore lint/a11y/useSemanticElements: a focusable splitter (WAI-ARIA window splitter); <hr> is a static rule -->
|
|
253
263
|
<div id="grip" role="separator" tabindex="0" aria-orientation="vertical" aria-label="Sidebar width" aria-valuemin="0" aria-valuemax="420" aria-valuenow="248" title="Drag to resize; double-click to reset"></div>
|
|
254
264
|
</nav>
|
|
@@ -465,6 +475,53 @@ function rects(n, W = stage.clientWidth, H = stage.clientHeight) {
|
|
|
465
475
|
}
|
|
466
476
|
return out;
|
|
467
477
|
}
|
|
478
|
+
// --- §Hub motion: FLIP --------------------------------------------------------------
|
|
479
|
+
// a pane takes its new box at once (one layout, one page resize); a transform plays from the old box
|
|
480
|
+
const SWEEP_MS = 200, KF = 20;
|
|
481
|
+
/** keyframe times where cubic-bezier(.16,1,.3,1) reaches k/KF: even steps in scale, so .pin's counter-scale stays near exact between keyframes */
|
|
482
|
+
const SWEEP_AT = (() => {
|
|
483
|
+
const bz = (a, b, u) => 3 * a * u * (1 - u) ** 2 + 3 * b * u * u * (1 - u) + u ** 3;
|
|
484
|
+
return Array.from({ length: KF + 1 }, (_, k) => {
|
|
485
|
+
if (k === 0 || k === KF) return k / KF;
|
|
486
|
+
let lo = 0, hi = 1;
|
|
487
|
+
for (let j = 0; j < 30; j++) { const m = (lo + hi) / 2; if (bz(1, 1, m) < k / KF) lo = m; else hi = m; }
|
|
488
|
+
return bz(.16, .3, (lo + hi) / 2);
|
|
489
|
+
});
|
|
490
|
+
})();
|
|
491
|
+
let stageWH = '', roomMoved = false, roomFrom = null, roomAt = 0;
|
|
492
|
+
/** each shown pane's box on screen now (mid-sweep: where it is); a sidebar change captured it first */
|
|
493
|
+
function sweepFrom() {
|
|
494
|
+
const pre = roomFrom && performance.now() - roomAt < 100 ? roomFrom : null;
|
|
495
|
+
roomFrom = null;
|
|
496
|
+
return pre ?? new Map([...panes].filter(([, p]) => p.el.classList.contains('in') && !p.el.classList.contains('off')).map(([k, p]) => [k, p.el.getBoundingClientRect()]));
|
|
497
|
+
}
|
|
498
|
+
const EASE = 'cubic-bezier(.16,1,.3,1)';
|
|
499
|
+
/** a pane comes in (150 ms) or leaves (120 ms: exit faster); a later fade replaces it */
|
|
500
|
+
function fade(p, show) {
|
|
501
|
+
p.fade?.cancel();
|
|
502
|
+
const v = 'visible';
|
|
503
|
+
p.fade = p.el.animate(show ? [{ opacity: 0 }, { opacity: 1 }] : [{ opacity: 1, visibility: v }, { opacity: 0, visibility: v }], { duration: show ? 150 : 120, easing: EASE });
|
|
504
|
+
}
|
|
505
|
+
function stopSweep(p) { for (const a of p.sweep ?? []) a.cancel(); p.sweep = null; }
|
|
506
|
+
function sweep(p, o, n) {
|
|
507
|
+
stopSweep(p);
|
|
508
|
+
const sx = o.width / n.width, sy = o.height / n.height, dx = o.left - n.left, dy = o.top - n.top;
|
|
509
|
+
if (Math.abs(dx) < .5 && Math.abs(dy) < .5 && Math.abs(sx - 1) < .002 && Math.abs(sy - 1) < .002) return;
|
|
510
|
+
const box = [], pin = [];
|
|
511
|
+
SWEEP_AT.forEach((offset, k) => {
|
|
512
|
+
const e = k / KF, x = sx + (1 - sx) * e, y = sy + (1 - sy) * e;
|
|
513
|
+
box.push({ offset, transform: `translate(${dx * (1 - e)}px,${dy * (1 - e)}px) scale(${x},${y})` });
|
|
514
|
+
pin.push({ offset, transform: `scale(${1 / x},${1 / y})` });
|
|
515
|
+
});
|
|
516
|
+
const t = { duration: SWEEP_MS, easing: 'linear' };
|
|
517
|
+
p.sweep = [p.el.animate(box, t), p.el.firstChild.animate(pin, t)];
|
|
518
|
+
p.sweep[0].onfinish = () => { p.sweep = null; };
|
|
519
|
+
}
|
|
520
|
+
/** a cell in px: each edge rounds once, so neighbours share it and every gap is exactly `gap` */
|
|
521
|
+
function boxOf([x, y, w, h], W, H, gap) {
|
|
522
|
+
const l = Math.round(x * W), t = Math.round(y * H), r = Math.round((x + w) * W), b = Math.round((y + h) * H);
|
|
523
|
+
return [l + gap, t + gap, r - l - gap * (x + w >= .999 ? 2 : 1), b - t - gap * (y + h >= .999 ? 2 : 1)];
|
|
524
|
+
}
|
|
468
525
|
/** what a pane's viewer needs: tiles scale frames; one full pane sets the viewport; a narrow first pane zooms out */
|
|
469
526
|
function embedOf(key) {
|
|
470
527
|
const i = cells.indexOf(key), single = max ? i === cur : cells.length === 1 && layout === 'focus';
|
|
@@ -484,7 +541,7 @@ function pane(key) {
|
|
|
484
541
|
if (p) return p;
|
|
485
542
|
const el = document.createElement('div');
|
|
486
543
|
el.className = 'pane';
|
|
487
|
-
el.innerHTML = `<div class="ph" draggable="true"><span class="dot idle"></span><span class="nm"></span><span class="sw"></span><span class="tt"></span><button type="button" class="rb ico" data-a="max" title="Maximize (⌘⇧↩)" aria-label="Maximize (⌘⇧↩)">${icon('max')}</button><button type="button" class="rb ico" data-a="tear" title="Own window (⌘⇧T)" aria-label="Own window (⌘⇧T)">${icon('tear')}</button><button type="button" class="rb ico" data-a="x" title="Close pane" aria-label="Close pane">${icon('x')}</button></div>`;
|
|
544
|
+
el.innerHTML = `<div class="pin"><div class="ph" draggable="true"><span class="dot idle"></span><span class="nm"></span><span class="sw"></span><span class="tt"></span><button type="button" class="rb ico" data-a="max" title="Maximize (⌘⇧↩)" aria-label="Maximize (⌘⇧↩)">${icon('max')}</button><button type="button" class="rb ico" data-a="tear" title="Own window (⌘⇧T)" aria-label="Own window (⌘⇧T)">${icon('tear')}</button><button type="button" class="rb ico" data-a="x" title="Close pane" aria-label="Close pane">${icon('x')}</button></div></div>`;
|
|
488
545
|
const frame = document.createElement('iframe');
|
|
489
546
|
// the viewer keeps its own token, Host and Origin checks: the frame's origin is the session's
|
|
490
547
|
const u = new URL(r.url);
|
|
@@ -493,7 +550,7 @@ function pane(key) {
|
|
|
493
550
|
frame.src = u.href;
|
|
494
551
|
frame.title = r.site;
|
|
495
552
|
frame.addEventListener('load', () => frame.contentWindow?.postMessage({ hub: embedOf(key) }, '*'));
|
|
496
|
-
el.append(frame);
|
|
553
|
+
el.firstChild.append(frame);
|
|
497
554
|
el.querySelector('.ph').addEventListener('click', (e) => {
|
|
498
555
|
const a = e.target.closest('button')?.dataset.a;
|
|
499
556
|
const i = cells.indexOf(key);
|
|
@@ -556,7 +613,9 @@ function target(e) {
|
|
|
556
613
|
|
|
557
614
|
// --- render --------------------------------------------------------------------------
|
|
558
615
|
function render() {
|
|
616
|
+
const was = sweepFrom();
|
|
559
617
|
applySide();
|
|
618
|
+
roomFrom = null;
|
|
560
619
|
for (const b of $('seg').children) b.setAttribute('aria-pressed', String(b.dataset.l === layout));
|
|
561
620
|
const single = max || (cells.length <= 1 && layout === 'focus');
|
|
562
621
|
stage.classList.toggle('single', single);
|
|
@@ -573,6 +632,12 @@ function render() {
|
|
|
573
632
|
// panes
|
|
574
633
|
const W = stage.clientWidth, H = stage.clientHeight, gap = single ? 0 : 6;
|
|
575
634
|
const R = rects(cells.length);
|
|
635
|
+
// a window resize or a grip drag tracks the hand: no sweep; a sidebar mode change sweeps
|
|
636
|
+
const resized = `${W}x${H}` !== stageWH; stageWH = `${W}x${H}`;
|
|
637
|
+
// reduced motion: no sweep; a moved pane fades in at its new box
|
|
638
|
+
const morph = (!resized || roomMoved) && !sizing && booted && motionOn(), moves = morph && !reduceQ.matches;
|
|
639
|
+
roomMoved = false;
|
|
640
|
+
const at = moves ? stage.getBoundingClientRect() : null;
|
|
576
641
|
cells.forEach((key, i) => {
|
|
577
642
|
const p = pane(key);
|
|
578
643
|
const r = rows.get(idOf(key));
|
|
@@ -587,19 +652,28 @@ function render() {
|
|
|
587
652
|
p.el.querySelector('.ph').title = `${r.site || 'session'} · ${p.title || r.state?.title || ''}`;
|
|
588
653
|
const nm = p.el.querySelector('.nm'); nm.classList.toggle('cut', nm.scrollWidth > nm.clientWidth);
|
|
589
654
|
p.el.classList.toggle('cur', i === cur && cells.length > 1);
|
|
590
|
-
const hidden = max && i !== cur;
|
|
655
|
+
const off = p.el.classList.contains('off'), hidden = max && i !== cur, back = off && !hidden;
|
|
591
656
|
p.el.classList.toggle('off', hidden);
|
|
657
|
+
if (morph && (back || (hidden && !off))) fade(p, back);
|
|
592
658
|
p.el.querySelector('[data-a=max]').innerHTML = icon(max ? 'min' : 'max');
|
|
593
|
-
const [
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
659
|
+
const [left, top, width, height] = boxOf(max ? [0, 0, 1, 1] : R[i], W, H, gap);
|
|
660
|
+
p.el.style.zIndex = i === cur ? 1 : 0;
|
|
661
|
+
const box = `${left},${top},${width},${height}`;
|
|
662
|
+
if (p.box !== box) {
|
|
663
|
+
p.box = box;
|
|
664
|
+
Object.assign(p.el.style, { left: `${left}px`, top: `${top}px`, width: `${width}px`, height: `${height}px` });
|
|
665
|
+
const o = moves && !hidden && !back ? was.get(key) : null;
|
|
666
|
+
if (o) sweep(p, o, { left: at.left + left, top: at.top + top, width, height });
|
|
667
|
+
else stopSweep(p);
|
|
668
|
+
if (morph && !moves && !hidden && !back && was.has(key)) fade(p, true);
|
|
669
|
+
}
|
|
599
670
|
});
|
|
600
671
|
// panes out of the layout: hidden and off screen, the oldest go
|
|
601
672
|
const out = [...panes.entries()].filter(([k]) => !cells.includes(k)).sort((a, b) => b[1].at - a[1].at);
|
|
602
|
-
out.forEach(([k, p], i) => {
|
|
673
|
+
out.forEach(([k, p], i) => {
|
|
674
|
+
if (i >= KEEP || !placeable(idOf(k))) drop(k);
|
|
675
|
+
else if (!p.el.classList.contains('off')) { p.el.classList.add('off'); if (morph) fade(p, false); }
|
|
676
|
+
});
|
|
603
677
|
for (const [k, p] of panes) p.frame.contentWindow?.postMessage({ hub: embedOf(k) }, '*');
|
|
604
678
|
$('empty').classList.toggle('on', cells.length === 0);
|
|
605
679
|
$('empty').querySelector('.h').textContent = rows.size ? 'Pick a session' : 'No sessions';
|
|
@@ -1075,6 +1149,8 @@ function flipRows(change, ms) {
|
|
|
1075
1149
|
}
|
|
1076
1150
|
function applySide() {
|
|
1077
1151
|
const m = sizing ? sizing.m : shownMode(), open = m === 'rail' && (peek || pin);
|
|
1152
|
+
// the room changes width: the panes sweep from where they are now (§Hub motion)
|
|
1153
|
+
if (!sizing && booted && !root.classList.contains(`m-${m}`)) { roomFrom = sweepFrom(); roomAt = performance.now(); roomMoved = true; }
|
|
1078
1154
|
for (const k of ['full', 'rail', 'hidden']) root.classList.toggle(`m-${k}`, m === k);
|
|
1079
1155
|
root.classList.toggle('narrow', narrowQ.matches);
|
|
1080
1156
|
root.classList.toggle('peek', open);
|
|
Binary file
|
|
Binary file
|
package/dist/llms.txt
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
> Signed-in browser and site-API automation for agents: stored logins, official APIs behind one facade, and a journaled browser whose acts compile into workflows.
|
|
4
4
|
|
|
5
|
-
Version 0.8.
|
|
5
|
+
Version 0.8.17. Every command takes `--help --json`; `autobrowse list <words> --json` finds a route, flow or workflow. Errors are one JSON shape: `{code, message, hint, retryable, outcome?, artifact?}`.
|
|
6
6
|
|
|
7
7
|
## Skill
|
|
8
8
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@william_jin/autobrowse",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.17",
|
|
4
4
|
"description": "Browser and account automation: recorded flows where no API exists, official API shapes where one does, a person in the loop for money, accounts and consent.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|