koneck 2.128.61 → 2.128.62
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.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ui-client.d.ts","sourceRoot":"","sources":["../../src/web/ui-client.ts"],"names":[],"mappings":"AACA;;;;;;;;;;;GAWG;AACH,wBAAgB,YAAY,IAAI,MAAM,
|
|
1
|
+
{"version":3,"file":"ui-client.d.ts","sourceRoot":"","sources":["../../src/web/ui-client.ts"],"names":[],"mappings":"AACA;;;;;;;;;;;GAWG;AACH,wBAAgB,YAAY,IAAI,MAAM,CA4uOrC"}
|
package/dist/web/ui-client.js
CHANGED
|
@@ -3827,10 +3827,35 @@ function setSheet(open) {
|
|
|
3827
3827
|
}
|
|
3828
3828
|
$('sheetbtn').onclick = () => setSheet(!document.body.classList.contains('sheet'));
|
|
3829
3829
|
new MutationObserver(() => {
|
|
3830
|
-
// Something to watch appeared while the sheet was shut: say so on its button.
|
|
3831
|
-
if (!$('watch').hidden && sheetWidth() && !document.body.classList.contains('sheet')) $('sheetbtn').classList.add('busy');
|
|
3832
3830
|
if ($('watch').hidden) document.body.classList.remove('sheet');
|
|
3833
3831
|
}).observe($('watch'), { attributes: true, attributeFilter: ['hidden'] });
|
|
3832
|
+
|
|
3833
|
+
/*
|
|
3834
|
+
* The header's pills wrap when they do not fit, so none of them is ever off the edge.
|
|
3835
|
+
*
|
|
3836
|
+
* Measured rather than guessed from the width: what fits depends on the sidebar, the workspace's
|
|
3837
|
+
* name and the model's, not on the window alone. Checked again whenever the header resizes or a
|
|
3838
|
+
* pill's value changes.
|
|
3839
|
+
*/
|
|
3840
|
+
function fitPills() {
|
|
3841
|
+
const head = document.querySelector('header');
|
|
3842
|
+
const row = document.querySelector('.hpills');
|
|
3843
|
+
if (!head || !row) return;
|
|
3844
|
+
// The counter with nothing to count yet is a dash, and was taking a row of its own.
|
|
3845
|
+
// Written only when it changes: this runs from an observer that sees its own writes, and setting
|
|
3846
|
+
// an attribute to the value it already has still counts as a change — an endless loop otherwise.
|
|
3847
|
+
const stat = $('stat');
|
|
3848
|
+
const empty = !!stat && /^[\s—-]*$/.test(stat.textContent || '');
|
|
3849
|
+
if (stat && stat.hidden !== empty) stat.hidden = empty;
|
|
3850
|
+
const was = head.classList.contains('hwrap');
|
|
3851
|
+
head.classList.remove('hwrap');
|
|
3852
|
+
const cut = [...row.querySelectorAll('.pill b')].some((b) => b.scrollWidth > b.clientWidth + 1);
|
|
3853
|
+
const wrap = row.scrollWidth > row.clientWidth + 1 || cut;
|
|
3854
|
+
if (wrap) head.classList.add('hwrap');
|
|
3855
|
+
}
|
|
3856
|
+
if (typeof ResizeObserver !== 'undefined') new ResizeObserver(() => fitPills()).observe(document.querySelector('main'));
|
|
3857
|
+
new MutationObserver(() => fitPills()).observe(document.querySelector('.hpills'), { subtree: true, childList: true, characterData: true, attributes: true, attributeFilter: ['hidden'] });
|
|
3858
|
+
fitPills();
|
|
3834
3859
|
document.addEventListener('keydown', (ev) => {
|
|
3835
3860
|
if (ev.key === 'Escape' && document.body.classList.contains('sheet') && !preview.picking
|
|
3836
3861
|
&& !(ev.target.closest && ev.target.closest('.pvnote'))) setSheet(false);
|
|
@@ -6101,6 +6126,8 @@ function drawTrail(activeLabel) {
|
|
|
6101
6126
|
|
|
6102
6127
|
/** Points the panel at whatever a tool call is about. Cheap to call on every event. */
|
|
6103
6128
|
function watchTool(e, done) {
|
|
6129
|
+
// On a narrow screen with the sheet shut, the browser button says something is happening.
|
|
6130
|
+
if (sheetWidth() && !document.body.classList.contains('sheet')) $('sheetbtn').classList.add('busy');
|
|
6104
6131
|
if (!follow.on) return;
|
|
6105
6132
|
const t = targetOf(e);
|
|
6106
6133
|
const verb = verbFor(e.name);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ui-client.js","sourceRoot":"","sources":["../../src/web/ui-client.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EA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ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ui-css.d.ts","sourceRoot":"","sources":["../../src/web/ui-css.ts"],"names":[],"mappings":"AA+CA,wBAAgB,GAAG,CAAC,OAAO,EAAE,MAAM,GAAG,MAAM,
|
|
1
|
+
{"version":3,"file":"ui-css.d.ts","sourceRoot":"","sources":["../../src/web/ui-css.ts"],"names":[],"mappings":"AA+CA,wBAAgB,GAAG,CAAC,OAAO,EAAE,MAAM,GAAG,MAAM,CAwuD3C"}
|
package/dist/web/ui-css.js
CHANGED
|
@@ -1782,6 +1782,24 @@ body[data-tint="soft"]{filter:contrast(.92) brightness(1.04)}
|
|
|
1782
1782
|
}
|
|
1783
1783
|
/* An empty box shows its placeholder on one line: wrapped, it scrolled a one-line box on a phone. */
|
|
1784
1784
|
#ta:placeholder-shown{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
|
|
1785
|
+
/*
|
|
1786
|
+
* Every pill visible, at any width: when they do not fit on one row they wrap onto rows of their
|
|
1787
|
+
* own under the header's controls, instead of scrolling sideways with no scrollbar. Decided by
|
|
1788
|
+
* measuring (fitPills), not by a breakpoint — a laptop with the sidebar open ran out of room too.
|
|
1789
|
+
*
|
|
1790
|
+
* Reported from a phone: "effort, mode, workspace, cli, provider, model is very hidden". Only the
|
|
1791
|
+
* first two fitted; the rest were off the edge of a row that gave no sign it could scroll. The
|
|
1792
|
+
* header grows to hold them — it has no overflow of its own, so the view menu inside it is not
|
|
1793
|
+
* clipped (see the header rule above).
|
|
1794
|
+
*/
|
|
1795
|
+
header.hwrap{height:auto;flex:0 0 auto;flex-wrap:wrap;row-gap:6px;padding-top:6px;padding-bottom:6px}
|
|
1796
|
+
header.hwrap .hpills{order:10;flex:1 1 100%;flex-wrap:wrap;overflow:visible;gap:6px;padding:0 0 2px}
|
|
1797
|
+
header.hwrap .pill{max-width:100%}
|
|
1798
|
+
header.hwrap .pill b{max-width:calc(100vw - 110px)}
|
|
1799
|
+
@media (max-width:820px){
|
|
1800
|
+
header.hwrap{padding-left:10px;padding-right:10px}
|
|
1801
|
+
header.hwrap .pill{padding:5px 10px}
|
|
1802
|
+
}
|
|
1785
1803
|
/* Small phones — last, so it wins over the rules it narrows. */
|
|
1786
1804
|
@media (max-width:560px){
|
|
1787
1805
|
.whead{gap:6px;padding:8px 10px}
|
package/dist/web/ui-css.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ui-css.js","sourceRoot":"","sources":["../../src/web/ui-css.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACvC;;;;;;;;;;;;GAYG;AACH;;;;;;;;;;;;GAYG;AACH,MAAM,IAAI,GAAG;;;;;;;;;;;;;;;;;;CAkBZ,CAAC;AAEF,MAAM,UAAU,GAAG,CAAC,OAAe;IACjC,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;gBAyBO,OAAO;;EAErB,QAAQ,CAAC,IAAI,CAAC
|
|
1
|
+
{"version":3,"file":"ui-css.js","sourceRoot":"","sources":["../../src/web/ui-css.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACvC;;;;;;;;;;;;GAYG;AACH;;;;;;;;;;;;GAYG;AACH,MAAM,IAAI,GAAG;;;;;;;;;;;;;;;;;;CAkBZ,CAAC;AAEF,MAAM,UAAU,GAAG,CAAC,OAAe;IACjC,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;gBAyBO,OAAO;;EAErB,QAAQ,CAAC,IAAI,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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