koneck 2.36.0 → 2.36.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.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ui-client.d.ts","sourceRoot":"","sources":["../../src/web/ui-client.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AACH,wBAAgB,YAAY,IAAI,MAAM,
|
|
1
|
+
{"version":3,"file":"ui-client.d.ts","sourceRoot":"","sources":["../../src/web/ui-client.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AACH,wBAAgB,YAAY,IAAI,MAAM,CAm6ErC"}
|
package/dist/web/ui-client.js
CHANGED
|
@@ -2012,9 +2012,29 @@ function setFollow(on) {
|
|
|
2012
2012
|
follow.on = on;
|
|
2013
2013
|
try { localStorage.setItem('koneck.follow', on ? 'on' : 'off'); } catch (e) {}
|
|
2014
2014
|
$('pfollow').innerHTML = 'follow <b>' + (on ? 'on' : 'off') + '</b>';
|
|
2015
|
-
|
|
2016
|
-
|
|
2017
|
-
|
|
2015
|
+
if (!on) {
|
|
2016
|
+
$('watch').hidden = true;
|
|
2017
|
+
stopWatchClock();
|
|
2018
|
+
return;
|
|
2019
|
+
}
|
|
2020
|
+
/*
|
|
2021
|
+
* Turning it on opens it, even with nothing to show yet.
|
|
2022
|
+
*
|
|
2023
|
+
* It used to stay hidden until the next tool call, so switching it on mid-conversation did
|
|
2024
|
+
* nothing you could see and read as broken — asked directly: "then how to open the watching
|
|
2025
|
+
* pane?". A control has to answer when it is used, and "nothing yet, here is what will appear"
|
|
2026
|
+
* is an answer.
|
|
2027
|
+
*/
|
|
2028
|
+
$('watch').hidden = false;
|
|
2029
|
+
if (follow.path) { void showWatched(follow.path, follow.kind === 'diff'); return; }
|
|
2030
|
+
if (follow.kind === 'term') { drawTerm(follow.verb, 'command', follow.output); return; }
|
|
2031
|
+
$('wtool').textContent = 'watching';
|
|
2032
|
+
$('wpath').textContent = 'nothing yet';
|
|
2033
|
+
$('wbody').innerHTML = '';
|
|
2034
|
+
$('wbody').appendChild(el('div', 'wempty',
|
|
2035
|
+
'This follows the work as it happens: the file being read, with the lines it is actually '
|
|
2036
|
+
+ 'reading marked; the pattern it is searching for; a command\u2019s output as it runs; and the '
|
|
2037
|
+
+ 'diff once a file has been written. It fills in at the next step.'));
|
|
2018
2038
|
}
|
|
2019
2039
|
|
|
2020
2040
|
function stopWatchClock() {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ui-client.js","sourceRoot":"","sources":["../../src/web/ui-client.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AACH,MAAM,UAAU,YAAY;IAC1B,OAAO,MAAM,CAAC,GAAG,CAAA
|
|
1
|
+
{"version":3,"file":"ui-client.js","sourceRoot":"","sources":["../../src/web/ui-client.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AACH,MAAM,UAAU,YAAY;IAC1B,OAAO,MAAM,CAAC,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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