strom-research 1.30.0-beta.3 → 1.30.0-beta.5

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/CHANGELOG.cs.md CHANGED
@@ -7,7 +7,7 @@ Změny každé verze ve zkratce. Úplné poznámky a instalační řádky jsou n
7
7
 
8
8
  ## 1.30.0
9
9
 
10
- *Připravuje se: bety do 1.30.0-beta.3. Oddíl bude úplný s vydáním.*
10
+ *Připravuje se: bety do 1.30.0-beta.5. Oddíl bude úplný s vydáním.*
11
11
 
12
12
  - **Údaje ověřené proti originálu.** Narození, křest, sňatek, úmrtí nebo pohřeb, který cituje původní záznam, ale
13
13
  zůstává pravděpodobný nebo možný, agent ověří proti tomu originálu: podívá se na sken a údaj buď povýší na doložený,
@@ -27,7 +27,7 @@ Změny každé verze ve zkratce. Úplné poznámky a instalační řádky jsou n
27
27
  ve stromu, agent nikdy nezmění: jen navrhne – ani souborem, který načte přes `strom sync`. Návrhy agenta jsou v `strom
28
28
  conflict list` a `show` poznat a uzavřou se samy, jakmile navržená hodnota platí. Výzkum založený dřív se po
29
29
  aktualizaci jednou označí (které údaje přišly z převzatého rodokmenu, které jsou uživatele): žádná hodnota se nemění a
30
- `strom fixes undo origins` značky vezme zpět. Návrh, jehož hodnota se od jeho vzniku změnila (upravil ji uživatel), je
30
+ `strom fixes undo origins` značky vezme zpět; kolik hodnot a v kolika záznamech se označilo, řekne `strom fixes show origins`. Návrh, jehož hodnota se od jeho vzniku změnila (upravil ji uživatel), je
31
31
  zastaralý: přijmout ho nelze – přes novější hodnotu se nic nezapíše –, jen uzavřít s ponechanou hodnotou. Co návrh
32
32
  neunese (příčina změněná spolu s datem), řekne výsledek synchronizace, nikdy se neztratí.
33
33
  Hodnota, která přišla s rodokmenem z aplikace Strom a nikdo ji od té doby nezměnil, je chráněná jako hodnota uživatele.
@@ -48,7 +48,7 @@ Změny každé verze ve zkratce. Úplné poznámky a instalační řádky jsou n
48
48
  z rodokmenu do něj nejde – jména, místa, poznámky, přepisy, snímky, cesty se jménem uživatele, přihlášení a tokeny jsou
49
49
  vynechané nebo nahrazené stálými kódy – a nic se neodesílá: soubor posílá uživatel sám, na adresu, kterou příkaz
50
50
  vypíše. `--about fetch|sync|agent|install|windows` přidá podrobnosti jedné oblasti (tabulka je v `strom error
51
- --help`), `--where` říká, kde se problém stal, `--note` ho popíše slovy uživatele; údaje jmenovaných osob, rodin nebo
51
+ --help`), `--where` říká, kde se problém stal, `--note` ho popíše slovy uživatele (jde tak, jak je napsaná – nahradí se jen jména, která výzkum zná); údaje jmenovaných osob, rodin nebo
52
52
  knihy jen s `--with-data` a souhlasem uživatele. Agent požádaný o nahlášení problému se zeptá, kde se stal, příkaz
53
53
  spustí a řekne cestu – soubor nikdy neposílá, neotvírá ani nepřepisuje do chatu. V nabídce: Údržba → Nahlásit problém.
54
54
  Výzkum se jen čte, i rozbitý.
@@ -59,7 +59,9 @@ Změny každé verze ve zkratce. Úplné poznámky a instalační řádky jsou n
59
59
  mnohem rychleji:** strom pro aplikaci se sestaví jednou pro každý stav výzkumu a zůstane uložený i po novém spuštění
60
60
  mostu, a během sledování se změna ohlásí, až je její strom připravený. Most už neskončí, když je disk výzkumu na
61
61
  chvíli nedostupný, a druhý most téhož výzkumu spuštěný navíc hned skončí a neběží dál bez povšimnutí.
62
+ Aktualizace ve chvíli, kdy strom most spouští, už nenechá běžet dva mosty: zůstane jeden, na adrese, kterou aplikace sleduje.
62
63
  Aplikaci, která nejnovější strom už má, se znovu nic neposílá.
64
+ Aplikace, která o to požádá, dostane strom s obrázky označenými podle obsahu a načte jen ty, které ještě nemá.
63
65
 
64
66
  - **Údaj zobrazený nebo upravený v terminálu** (`strom event show`, `strom event edit`) se vypisuje v jazyce
65
67
  výzkumu. V aplikaci Strom už rodokmen převzatý do výzkumu nemá jako odkaz celého rodokmenu první řádek z něj:
@@ -81,6 +83,10 @@ Změny každé verze ve zkratce. Úplné poznámky a instalační řádky jsou n
81
83
  **Stavba konektoru:** `strom connector test` varuje, když jeden snímek stojí mnoho požadavků (dlaždice), a řekne, co
82
84
  hledat nejdřív – odkaz portálu na celý snímek nebo stažení celé knihy – s dobou, jakou by kniha trvala v tempu archivu;
83
85
  `strom connector new` cituje, co strom ví o podmínkách archivu.
86
+ **macOS: aplikace Strom otevřená z výzkumu** (sledovat živě, soubor pro aplikaci) už nenechá v Docku mezi nedávnými
87
+ aplikacemi ikonu Google Chrome: adresa jde rovnou do už běžícího prohlížeče, okno aplikace se otevře jako dřív.
88
+ **Snímek, který měl uložit prohlížeč agenta a prohlížeč ho zadržel** (Chrome uloží jeden soubor webu sám, další až
89
+ po povolení stahování více souborů), se ohlásí: Co čeká uvede web, kterému to jednou povolit v adresním řádku prohlížeče.
84
90
 
85
91
  ## 1.29.0
86
92
 
package/CHANGELOG.de.md CHANGED
@@ -7,7 +7,7 @@ Die Änderungen jeder Version in Kürze. Die vollständigen Hinweise und die Ins
7
7
 
8
8
  ## 1.30.0
9
9
 
10
- *In Vorbereitung: die Betas bis 1.30.0-beta.3. Der Abschnitt ist mit dem Release vollständig.*
10
+ *In Vorbereitung: die Betas bis 1.30.0-beta.5. Der Abschnitt ist mit dem Release vollständig.*
11
11
 
12
12
  - **Angaben am Original geprüft.** Angaben zu Geburt, Taufe, Heirat, Tod oder Begräbnis, die ihren ursprünglichen
13
13
  Eintrag zitieren, aber wahrscheinlich oder möglich bleiben, prüft der Agent an diesem Original: er sieht sich den Scan
@@ -31,7 +31,7 @@ Die Änderungen jeder Version in Kürze. Die vollständigen Hinweise und die Ins
31
31
  einliest. Die Vorschläge des Agenten sind in `strom conflict list` und `show` erkennbar und schließen sich selbst,
32
32
  sobald der vorgeschlagene Wert gilt. Eine früher angelegte Forschung wird nach dem Update einmal markiert (welche
33
33
  Angaben aus einem übernommenen Stammbaum kamen, welche vom Benutzer sind): kein Wert ändert sich, und `strom fixes undo
34
- origins` nimmt die Markierungen zurück. Ein Vorschlag, dessen Wert sich seit seiner Entstehung geändert hat (vom
34
+ origins` nimmt die Markierungen zurück; wie viele Werte in wie vielen Datensätzen markiert wurden, sagt `strom fixes show origins`. Ein Vorschlag, dessen Wert sich seit seiner Entstehung geändert hat (vom
35
35
  Benutzer bearbeitet), ist veraltet: Er lässt sich nicht annehmen – über den neueren Wert wird nichts geschrieben –, nur
36
36
  mit dem behaltenen Wert schließen. Was ein Vorschlag nicht tragen kann (eine zusammen mit dem Datum geänderte Ursache),
37
37
  nennt das Ergebnis der Synchronisation, es geht nie verloren.
@@ -56,7 +56,7 @@ Die Änderungen jeder Version in Kürze. Die vollständigen Hinweise und die Ins
56
56
  Notizen, Transkriptionen, Bilder, Pfade mit dem Namen des Benutzers, Anmeldungen und Tokens werden weggelassen oder
57
57
  durch feste Codes ersetzt – und nichts wird gesendet: die Datei sendet der Benutzer selbst, an die Adresse, die der
58
58
  Befehl nennt. `--about fetch|sync|agent|install|windows` fügt die Einzelheiten eines Bereichs hinzu (die Tabelle steht
59
- in `strom error --help`), `--where` sagt, wo das Problem auftrat, `--note` beschreibt es mit den Worten des Benutzers;
59
+ in `strom error --help`), `--where` sagt, wo das Problem auftrat, `--note` beschreibt es mit den Worten des Benutzers (sie geht so, wie sie geschrieben ist – ersetzt werden nur Namen, die die Forschung kennt);
60
60
  die Daten genannter Personen, Familien oder eines Buches nur mit `--with-data` und der Zustimmung des Benutzers. Um
61
61
  eine Meldung gebeten, fragt der Agent, wo das Problem auftrat, führt den Befehl aus und nennt den Pfad – die Datei
62
62
  sendet, öffnet und kopiert er nie in den Chat. Im Menü: Wartung → Ein Problem melden. Die Forschung wird nur gelesen,
@@ -70,7 +70,9 @@ Die Änderungen jeder Version in Kürze. Die vollständigen Hinweise und die Ins
70
70
  Brücke, und beim Verfolgen wird eine Änderung gemeldet, sobald ihr Baum bereit ist. Die Brücke endet nicht mehr,
71
71
  wenn das Laufwerk der Forschung kurz nicht erreichbar ist, und eine zusätzlich gestartete zweite Brücke derselben
72
72
  Forschung endet sofort, statt unbemerkt weiterzulaufen.
73
+ Ein Update, während strom die Brücke startet, lässt keine zwei Brücken mehr laufen: Eine bleibt, unter der Adresse, der die App folgt.
73
74
  Einer App, die den neuesten Stammbaum schon hat, wird nichts erneut gesendet.
75
+ Eine App, die darum bittet, bekommt den Stammbaum mit jedem Bild nach seinem Inhalt benannt und lädt nur die Bilder, die sie noch nicht hat.
74
76
 
75
77
  - **Eine im Terminal gezeigte oder bearbeitete Angabe** (`strom event show`, `strom event edit`) erscheint in der
76
78
  Sprache der Forschung. In der App Strom hat ein in die Forschung übernommener Stammbaum nicht mehr die erste Zeile
@@ -97,6 +99,12 @@ Die Änderungen jeder Version in Kürze. Die vollständigen Hinweise und die Ins
97
99
  zuerst zu suchen ist – den Link des Portals auf das ganze Bild oder das Herunterladen eines ganzen Buches – mit der
98
100
  Zeit, die ein Buch im Tempo des Archivs bräuchte; `strom connector new` zitiert, was strom von den Bedingungen des
99
101
  Archivs weiß.
102
+ **macOS: Die App Strom, aus der Forschung geöffnet** (live verfolgen, eine Datei für die App), lässt im Dock unter
103
+ den zuletzt verwendeten Apps kein Symbol von Google Chrome mehr zurück: Die Adresse geht direkt an den bereits
104
+ laufenden Browser, das Fenster der App öffnet sich wie bisher.
105
+ **Eine Aufnahme, die der Browser des Agenten speichern sollte und der Browser zurückhielt** (Chrome speichert eine
106
+ Datei einer Website von selbst, die nächste erst, wenn sie mehrere Dateien herunterladen darf), wird gemeldet: „Was
107
+ wartet“ nennt die Website, der das einmal in der Adressleiste des Browsers zu erlauben ist.
100
108
 
101
109
  ## 1.29.0
102
110
 
package/CHANGELOG.md CHANGED
@@ -7,7 +7,7 @@ The changes of each version in short. The full notes and the install lines are o
7
7
 
8
8
  ## 1.30.0
9
9
 
10
- *In preparation: the betas up to 1.30.0-beta.3. The section is complete with the release.*
10
+ *In preparation: the betas up to 1.30.0-beta.5. The section is complete with the release.*
11
11
 
12
12
  - **Facts checked against their originals.** A birth, a baptism, a marriage, a death or a burial that cites its
13
13
  original record but stays probable or possible is verified by the agent against that original: it looks at the scan
@@ -29,7 +29,7 @@ The changes of each version in short. The full notes and the install lines are o
29
29
  file it brings in with `strom sync`. The agent's proposals are told apart in `strom conflict list` and `show`, and
30
30
  close by themselves once the value proposed holds. A research made before is marked once after the update (which
31
31
  values came from an imported tree, which are the user's): no value changes, and `strom fixes undo origins` takes the
32
- marks back. A proposal whose value has changed since it was made (the user edited it) is out of date: it cannot be
32
+ marks back; `strom fixes show origins` says how many values were marked and in how many records. A proposal whose value has changed since it was made (the user edited it) is out of date: it cannot be
33
33
  taken – nothing is written over the newer value – only closed keeping the value. What a proposal cannot carry (a cause
34
34
  changed together with a date) is said in the sync's result, never lost.
35
35
  A value that came with the family tree from the Strom app and nobody has changed since is guarded as the user's own.
@@ -52,7 +52,7 @@ The changes of each version in short. The full notes and the install lines are o
52
52
  paths with the user's name, logins and tokens are left out or masked to stable codes – and nothing is sent: the user
53
53
  sends the file, to the address the command says. `--about fetch|sync|agent|install|windows` adds the details of one
54
54
  area (the table is in `strom error --help`), `--where` says where the problem happened, `--note` says it in the user's
55
- words; the data of named people, families or a book only with `--with-data` and the user's yes. Asked to report a
55
+ words (it goes as written – only names the research knows are replaced); the data of named people, families or a book only with `--with-data` and the user's yes. Asked to report a
56
56
  problem, the agent asks where it happened, runs it and tells the path – it never sends, opens or copies the file. In
57
57
  the menu: Maintenance → Report a problem. The research is only read, a broken one too.
58
58
 
@@ -63,7 +63,9 @@ The changes of each version in short. The full notes and the install lines are o
63
63
  and kept, also when the bridge starts again, and while the app follows, a change is told once its tree is ready.
64
64
  The bridge no longer ends when the research's disk is away for a moment, and a second bridge started for the same
65
65
  research ends at once instead of running on unseen.
66
+ An update while strom starts the bridge no longer leaves two bridges: one stays, at the address the app follows.
66
67
  An app that has the newest tree already is sent nothing again.
68
+ An app that asks for it is sent the tree with each image named by its content, and loads only the images it does not have yet.
67
69
 
68
70
  - **A fact shown or edited at the terminal** (`strom event show`, `strom event edit`) is said in the research's
69
71
  language. In the Strom app, a family tree taken into the research no longer gives the first line of it as the
@@ -87,6 +89,11 @@ The changes of each version in short. The full notes and the install lines are o
87
89
  **Building a connector:** `strom connector test` warns when one image costs many requests (tiles) and says what to
88
90
  look for first – the portal's link to the whole image, or the download of a whole book – with the time a book would
89
91
  take at the archive's pace; `strom connector new` quotes what strom knows of the archive's terms.
92
+ **macOS: the Strom app opened from the research** (follow live, a file for the app) leaves no Google Chrome icon in
93
+ the Dock's recent apps: the address goes straight to the browser already running, the app's window opens as before.
94
+ **An image the agent's browser was to save and the browser held back** (Chrome saves one file of a site by itself, the
95
+ next only once the site may download several files) is said: what waits names the site to allow, once, in the
96
+ browser's address bar.
90
97
 
91
98
  ## 1.29.0
92
99
 
package/CHANGELOG.pl.md CHANGED
@@ -7,7 +7,7 @@ Zmiany każdej wersji w skrócie. Pełne informacje o wydaniach i polecenia inst
7
7
 
8
8
  ## 1.30.0
9
9
 
10
- *W przygotowaniu: bety do 1.30.0-beta.3. Sekcja będzie kompletna z wydaniem.*
10
+ *W przygotowaniu: bety do 1.30.0-beta.5. Sekcja będzie kompletna z wydaniem.*
11
11
 
12
12
  - **Dane sprawdzane z oryginałem.** Urodzenie, chrzest, ślub, zgon lub pochówek, który cytuje pierwotny zapis, ale
13
13
  pozostaje prawdopodobny lub możliwy, agent sprawdzi z tym oryginałem: obejrzy skan i albo podniesie daną do
@@ -28,7 +28,7 @@ Zmiany każdej wersji w skrócie. Pełne informacje o wydaniach i polecenia inst
28
28
  aplikacji Strom lub w stromie, agent nigdy nie zmienia: tylko proponuje – również nie przez plik wczytany przez `strom
29
29
  sync`. Propozycje agenta są rozpoznawalne w `strom conflict list` i `show` i zamykają się same, gdy proponowana
30
30
  wartość już obowiązuje. Badanie założone wcześniej zostanie po aktualizacji raz oznaczone (które dane przyszły z
31
- przejętego drzewa, które są użytkownika): żadna wartość się nie zmienia, a `strom fixes undo origins` cofa oznaczenia.
31
+ przejętego drzewa, które są użytkownika): żadna wartość się nie zmienia, a `strom fixes undo origins` cofa oznaczenia; ile wartości i w ilu rekordach oznaczono, mówi `strom fixes show origins`.
32
32
  Propozycja, której wartość zmieniła się od jej powstania (zmienił ją użytkownik), jest nieaktualna: nie można jej
33
33
  przyjąć – nic nie zostanie zapisane na nowszej wartości – można ją tylko zamknąć, zachowując wartość. Czego propozycja
34
34
  nie uniesie (przyczyna zmieniona razem z datą), mówi wynik synchronizacji, nigdy nie ginie.
@@ -51,7 +51,7 @@ Zmiany każdej wersji w skrócie. Pełne informacje o wydaniach i polecenia inst
51
51
  użytkownika, logowania i tokeny są pominięte lub zastąpione stałymi kodami – i nic nie jest wysyłane: plik wysyła sam
52
52
  użytkownik, na adres podany przez polecenie. `--about fetch|sync|agent|install|windows` dodaje szczegóły jednego
53
53
  obszaru (tabela jest w `strom error --help`), `--where` mówi, gdzie problem wystąpił, `--note` opisuje go słowami
54
- użytkownika; dane wskazanych osób, rodzin lub księgi tylko z `--with-data` i za zgodą użytkownika. Poproszony
54
+ użytkownika (trafia tak, jak została napisana – zastępowane są tylko nazwy znane badaniu); dane wskazanych osób, rodzin lub księgi tylko z `--with-data` i za zgodą użytkownika. Poproszony
55
55
  o zgłoszenie problemu agent pyta, gdzie wystąpił, uruchamia polecenie i podaje ścieżkę – pliku nigdy nie wysyła, nie
56
56
  otwiera ani nie przepisuje do czatu. W menu: Konserwacja → Zgłosić problem. Badanie jest tylko czytane, także
57
57
  uszkodzone.
@@ -63,7 +63,9 @@ Zmiany każdej wersji w skrócie. Pełne informacje o wydaniach i polecenia inst
63
63
  zostaje zapisane, także po ponownym uruchomieniu mostu, a podczas śledzenia zmiana jest zgłaszana, gdy jej drzewo
64
64
  jest gotowe. Most nie kończy się już, gdy dysk badania jest na chwilę niedostępny, a drugi most tego samego badania
65
65
  uruchomiony dodatkowo kończy się od razu, zamiast działać dalej niezauważony.
66
+ Aktualizacja w chwili, gdy strom uruchamia most, nie zostawia już dwóch mostów: zostaje jeden, pod adresem, który śledzi aplikacja.
66
67
  Aplikacji, która ma już najnowsze drzewo, nic nie jest wysyłane ponownie.
68
+ Aplikacja, która o to poprosi, dostaje drzewo z obrazami oznaczonymi według ich zawartości i wczytuje tylko te, których jeszcze nie ma.
67
69
 
68
70
  - **Dana pokazana lub zmieniona w terminalu** (`strom event show`, `strom event edit`) jest wypisywana w języku
69
71
  badania. W aplikacji Strom drzewo przejęte do badania nie ma już jako odnośnika całego drzewa pierwszego wiersza z
@@ -88,6 +90,12 @@ Zmiany każdej wersji w skrócie. Pełne informacje o wydaniach i polecenia inst
88
90
  **Budowa konektora:** `strom connector test` ostrzega, gdy jeden skan kosztuje wiele żądań (kafelki), i mówi, czego
89
91
  szukać najpierw – linku portalu do całego skanu lub pobrania całej księgi – z czasem, jaki zajęłaby księga w tempie
90
92
  archiwum; `strom connector new` cytuje, co strom wie o warunkach archiwum.
93
+ **macOS: aplikacja Strom otwarta z badania** (śledzenie na żywo, plik dla aplikacji) nie zostawia już w Docku wśród
94
+ ostatnio używanych aplikacji ikony Google Chrome: adres trafia prosto do już działającej przeglądarki, okno aplikacji
95
+ otwiera się jak dotąd.
96
+ **Skan, który miała zapisać przeglądarka agenta, a przeglądarka go wstrzymała** (Chrome zapisuje sam jeden plik
97
+ witryny, kolejny dopiero po zezwoleniu na pobieranie wielu plików), jest zgłaszany: „Co czeka“ podaje witrynę, której
98
+ trzeba na to jednorazowo zezwolić w pasku adresu przeglądarki.
91
99
 
92
100
  ## 1.29.0
93
101
 
package/README.md CHANGED
@@ -120,6 +120,10 @@ npm: `npm install -g strom-research@latest`. What is new in each version:
120
120
  neither see nor click
121
121
  - `strom doctor` checks everything strom needs and fixes it with your yes;
122
122
  `strom uninstall` removes strom again (your research stays)
123
+ - `strom error` packs a report of a problem into one ZIP for you to send: the
124
+ people's names, places and notes replaced by codes, nothing sent by strom; a
125
+ note given with `--note` goes as written (only names the research knows are
126
+ replaced)
123
127
 
124
128
  **Everywhere**
125
129
  - Windows, macOS and Linux; strom brings its own official Node, needs no admin
@@ -2595,6 +2595,7 @@
2595
2595
  "wait.group.connectors": "Stahovače",
2596
2596
  "browser.wait": "snímky {images} knihy {book}, ukládá je prohlížeč agenta z {url}",
2597
2597
  "browser.save.other": "karta prohlížeče ukazuje jiný snímek než {n} ({url}), nic se neuložilo",
2598
+ "browser.wait.held": "snímky {images} knihy {book}, ukládá je prohlížeč agenta z {url} — prohlížeč snímek {n} zadržel: povolit webu {host} stahování více souborů, jednou (ikona vpravo v adresním řádku prohlížeče)",
2598
2599
  "wait.group.app": "Aplikace Strom",
2599
2600
  "wait.group.tune": "Čtení snímků",
2600
2601
  "wait.group.conflicts": "K rozhodnutí – rozpory",
@@ -2595,6 +2595,7 @@
2595
2595
  "wait.group.connectors": "Downloader",
2596
2596
  "browser.wait": "Aufnahmen {images} des Buches {book}, vom Browser des Agenten gespeichert ({url})",
2597
2597
  "browser.save.other": "der Tab des Browsers zeigt eine andere Aufnahme als {n} ({url}), nichts wurde gespeichert",
2598
+ "browser.wait.held": "Aufnahmen {images} des Buches {book}, vom Browser des Agenten gespeichert ({url}) — der Browser hat Aufnahme {n} zurückgehalten: {host} das Herunterladen mehrerer Dateien erlauben, einmal (das Symbol rechts in der Adressleiste des Browsers)",
2598
2599
  "wait.group.app": "Die Strom-App",
2599
2600
  "wait.group.tune": "Das Lesen der Scans",
2600
2601
  "wait.group.conflicts": "Widersprüche zu entscheiden",
@@ -2595,6 +2595,7 @@
2595
2595
  "wait.group.connectors": "Programy pobierające",
2596
2596
  "browser.wait": "skany {images} księgi {book}, zapisywane przez przeglądarkę agenta z {url}",
2597
2597
  "browser.save.other": "karta przeglądarki pokazuje inny skan niż {n} ({url}), nic nie zostało zapisane",
2598
+ "browser.wait.held": "skany {images} księgi {book}, zapisywane przez przeglądarkę agenta z {url} — przeglądarka wstrzymała skan {n}: zezwolić witrynie {host} na pobieranie wielu plików, jednorazowo (ikona po prawej stronie paska adresu przeglądarki)",
2598
2599
  "wait.group.app": "Aplikacja Strom",
2599
2600
  "wait.group.tune": "Odczyt skanów",
2600
2601
  "wait.group.conflicts": "Do rozstrzygnięcia – sprzeczności",
@@ -79,14 +79,15 @@ register({
79
79
  "bridge to the Strom app, the research in numbers only (counts, strom check, git, downloads, sessions) and strom's\n" +
80
80
  "technical logs of the last days, with the commands that ended with an error. Names, places, notes, paths with the\n" +
81
81
  "user's name and e-mails are replaced by codes; logins, keys and tokens never go. The ZIP goes to the downloads\n" +
82
- "folder (else the current one); strom sends nothing — the user sends it. Nothing in the research is written.\n" +
82
+ "folder (else the current one); strom sends nothing — the user sends it. Nothing in the research is written. A note\n" +
83
+ "(--note) goes as written: only names the research knows are replaced in it.\n" +
83
84
  "\n" +
84
85
  REPORT_TABLE,
85
86
  options: [
86
87
  { name: "about", type: "string", multiple: true, value: "<area>", description: "details of an area too: fetch, sync, agent, install, windows" },
87
88
  { name: "since", type: "string", value: "<2d|1w|YYYY-MM-DD>", description: "how far back the logs go (default 7 days)" },
88
89
  { name: "where", type: "string", value: "<chat|terminal|app|unknown>", description: "where the problem happened, as the user says: chat (a conversation with an agent), terminal (strom without an agent), app (the Strom app), unknown" },
89
- { name: "note", type: "string", value: "<text>", max: 2000, description: "the problem in the user's own words (names of the research masked)" },
90
+ { name: "note", type: "string", value: "<text>", max: 2000, description: "the problem in the user's own words: it goes as written — only names the research knows are replaced by codes, so the user writes no name or place to keep private" },
90
91
  { name: "with-data", type: "boolean", description: "add the data of the persons, families and books named (names, facts, citations, how sure each is — no images, notes or transcripts) as data.json; the person is asked" },
91
92
  { name: "person", type: "string", multiple: true, value: "<P…>", description: "with --with-data: a person the problem is about" },
92
93
  { name: "family", type: "string", multiple: true, value: "<F…>", description: "with --with-data: a family the problem is about" },
@@ -847,7 +847,12 @@ export const ORIGINS = {
847
847
  agentWork: true,
848
848
  detect: (tree) => {
849
849
  const f = originFixes(tree);
850
- return { items: [], exact: 0, estimated: 0, unjudged: 0, readings: 0, rewrites: f.fixes, unsplit: 0, left: [] };
850
+ // marked by itself (at the start of this strom, or once more for the family tree's values): how many, and examples
851
+ const marks = f.fixes.length ? [] : originsDone(tree).filter((m) => m.kind !== "source" && m.kind !== "ids");
852
+ const owners = new Set(marks.map((m) => (m.kind === "fact" ? m.owner : m.kind === "name" || m.kind === "sex" ? m.person : "")));
853
+ const people = new Set(marks.flatMap((m) => (m.kind === "name" || m.kind === "sex" ? [m.person] : m.kind === "fact" && m.owner.startsWith("P") ? [m.owner] : [])));
854
+ const done = marks.length ? { count: marks.length, records: owners.size, people: people.size, items: marks, unit: "marks" } : undefined;
855
+ return { items: [], exact: 0, estimated: 0, unjudged: 0, readings: 0, rewrites: f.fixes, unsplit: 0, left: [], ...(done ? { done } : {}) };
851
856
  },
852
857
  applied: (tree) => originsDone(tree).length,
853
858
  };
@@ -399,7 +399,7 @@ function stateData(ctx, tree, s, all = false) {
399
399
  unsplit: s.found.unsplit ?? 0,
400
400
  ...(s.found.towns ? { bare: townCount(s.found) } : {}),
401
401
  },
402
- ...(done ? { done: { facts: done.count, people: done.people, tasks: done.records, ...(done.at ? { at: done.at } : {}) } } : {}),
402
+ ...(done ? { done: done.unit === "marks" ? { marks: done.count, records: done.records, people: done.people } : { facts: done.count, people: done.people, tasks: done.records, ...(done.at ? { at: done.at } : {}) } } : {}),
403
403
  items: all ? shown : shown.slice(0, EXAMPLES),
404
404
  ...(s.found.left ? { left: all ? s.found.left : s.found.left.slice(0, EXAMPLES) } : {}),
405
405
  // municipalities with numbers alone after the name: set right only on a person's answer for each (strom fixes run)
@@ -34,7 +34,7 @@ import { askedNow, folderFiles, handedImages, inboxState, inboxWaitOf, inboxWait
34
34
  import { formatOf } from "../image/index.js";
35
35
  import { pdfScans } from "../image/pdf.js";
36
36
  import { readableFile } from "../core/readable.js";
37
- import { PLAN_TTL_MS, saveScript, waitFileBase } from "../core/browser.js";
37
+ import { HELD_AFTER_MS, PLAN_TTL_MS, findDownload, loadSaves, noteSave, saveScript, storeSaves, waitFileBase } from "../core/browser.js";
38
38
  import { bookOn, browserGate, otherWay } from "../core/webgate.js";
39
39
  import { allows } from "../core/terms.js";
40
40
  import { phrase } from "../core/phrases.js";
@@ -447,6 +447,58 @@ function stillWaiting(tree, recordset) {
447
447
  return `${t.id} still waits for images ${runs(missing)} of ${recordset} (it asked for ${t.awaits.images}) — it comes back once they are there`;
448
448
  });
449
449
  }
450
+ /**
451
+ * The images strom media save gave the agent's tab a script for whose file never came — not in the downloads folder
452
+ * (nor still downloading), not in the task's folder, not registered, a while after the script was given: Chrome saves
453
+ * one file of a site by itself and holds the next back until the person allows the site to download several files.
454
+ * The first time an image is found so, its task's wait says it to the person (in the research language). Records of
455
+ * images registered since, or of tasks that wait for them no more, go.
456
+ */
457
+ export function heldSaves(tree, shared, downloads, now = Date.now()) {
458
+ const saves = loadSaves(tree.root);
459
+ if (!saves.length)
460
+ return [];
461
+ const keep = [];
462
+ const held = [];
463
+ for (const r of saves) {
464
+ const t = tree.get(r.task);
465
+ const want = t?.state === "waiting" && t.awaits?.recordset === r.recordset ? (parseImageList(t.awaits.images) ?? []) : [];
466
+ if (!want.includes(r.n) || registeredImages(tree, r.recordset).has(r.n))
467
+ continue;
468
+ keep.push(r);
469
+ const dl = findDownload(downloads, r.file);
470
+ const dir = path.join(shared, "inbox", t.awaits.folder);
471
+ const inFolder = fs.existsSync(dir) && folderFiles(dir).length > 0;
472
+ if (dl.file || dl.unfinished || inFolder || now - r.at < HELD_AFTER_MS)
473
+ continue;
474
+ held.push(r);
475
+ }
476
+ const fresh = held.filter((r) => !r.held);
477
+ if (!tree.dryRun) {
478
+ if (fresh.length)
479
+ tree.withTreeLock(() => {
480
+ for (const id of new Set(fresh.map((r) => r.task))) {
481
+ const mine = held.filter((r) => r.task === id);
482
+ const t = tree.get(id);
483
+ const b = tree.get(mine[0].recordset);
484
+ const said = phrase(tree.lang, "browser.wait.held", { images: t.awaits.images, book: b ? `${b.id} ${b.title}` : mine[0].recordset, url: mine[0].url, n: runs(mine.map((r) => r.n)), host: mine[0].host });
485
+ if (t.waitingOn !== said)
486
+ update(tree, id, "task", (x) => ({ ...x, waitingOn: said }), { op: "task.wait", summary: `${id} wait: image ${runs(mine.map((r) => r.n))} of ${mine[0].recordset} held back by the browser — ${mine[0].host} to be allowed to download several files` });
487
+ }
488
+ });
489
+ storeSaves(tree.root, keep.map((r) => (held.includes(r) ? { ...r, held: true } : r)));
490
+ }
491
+ return held;
492
+ }
493
+ /** What the agent is told of an image its browser held back. */
494
+ function heldLine(ctx, h, downloads) {
495
+ const since = new Date(h.at).toTimeString().slice(0, 8);
496
+ return (`⚠ image ${h.n} of ${h.recordset} (${h.task}): nothing came into ${ctx.display(downloads)} since strom media save gave its script (${since}). ` +
497
+ `The script answered "strom-result ${h.n}:200:…": the browser held the file back — Chrome saves one file of a site by itself and the next only once the person allows ${h.host} to download several files ` +
498
+ `(once: the icon at the right end of the address bar, or the site's settings → Automatic downloads). Tell the user exactly that; it is the person's permission — never change the browser's settings yourself, never save the image another way. ` +
499
+ `${h.task} waits for it meanwhile and what waits says it to the person; go on with other work. Once allowed: strom media save ${h.task} --image ${h.n} --at ${h.url}, its script in that tab again, then strom media add --inbox --waiting. ` +
500
+ `The script answered anything else: tell the user what it said. The browser saves elsewhere: strom config set browser.downloads <folder>.`);
501
+ }
450
502
  /** What was taken of the folders, a line each (strom media add --inbox --waiting, a session's start). */
451
503
  export function takenLines(taken) {
452
504
  return taken.map((t) => {
@@ -997,11 +1049,14 @@ register({
997
1049
  if (args.length || opts.recordset || opts.first !== undefined || opts.image !== undefined)
998
1050
  throw new UsageError("--waiting takes the folders of the waiting tasks as they are: no folder, --recordset, --first or --image");
999
1051
  // what the agent's browser saved for them (strom media save) first goes into their folders
1000
- const taken = takeWaiting(tree, shared, { downloads: ctx.settings.downloads() });
1052
+ const downloads = ctx.settings.downloads();
1053
+ const taken = takeWaiting(tree, shared, { downloads });
1001
1054
  const woken = taken.flatMap((t) => t.woken);
1055
+ // what the agent's browser was to save and never saved: held back by the browser — said, to the person too
1056
+ const held = heldSaves(tree, shared, downloads);
1002
1057
  return {
1003
- text: lines(taken.length ? undefined : "no task waits for images saved into the inbox, or none of their folders holds a file", ...takenLines(taken)),
1004
- data: { taken, woken },
1058
+ text: lines(taken.length || held.length ? undefined : "no task waits for images saved into the inbox, or none of their folders holds a file", ...takenLines(taken), ...held.map((h) => heldLine(ctx, h, downloads))),
1059
+ data: { taken, woken, held: held.map((h) => ({ task: h.task, recordset: h.recordset, image: h.n, host: h.host, url: h.url, since: new Date(h.at).toISOString() })) },
1005
1060
  };
1006
1061
  }
1007
1062
  let paths;
@@ -1208,7 +1263,9 @@ register({
1208
1263
  const want = [...new Set([...(w?.by === "images" ? (w.want ?? []) : []), n])].sort((x, y) => x - y);
1209
1264
  const images = runs(want);
1210
1265
  const lang = tree.lang;
1211
- const was = t.state === "waiting" && t.awaits?.images === images;
1266
+ // said held back before (its wait asks the person to allow the downloads): the wait as it is again, the script given anew
1267
+ const wasHeld = loadSaves(tree.root).some((r) => r.task === t.id && r.held);
1268
+ const was = t.state === "waiting" && t.awaits?.images === images && !wasHeld;
1212
1269
  if (!was && !tree.dryRun)
1213
1270
  update(tree, t.id, "task", (x) => {
1214
1271
  const next = { ...x, state: "waiting", waitingOn: phrase(lang, "browser.wait", { images, book: `${b.id} ${b.title}`, url: u.href }), awaits: { recordset: b.id, images, folder: inboxFolderFor(b) }, ...(x.where.includes(b.id) ? {} : { where: [...x.where, b.id] }) };
@@ -1220,6 +1277,12 @@ register({
1220
1277
  if (!tree.dryRun)
1221
1278
  fs.mkdirSync(dir, { recursive: true });
1222
1279
  const file = waitFileBase(t.id, n);
1280
+ if (!tree.dryRun) {
1281
+ noteSave(tree.root, { task: t.id, n, recordset: b.id, host: u.hostname, url: u.href, file, at: Date.now() });
1282
+ // the task's other images held back before: asked of the person once more by this wait, so said anew
1283
+ if (wasHeld)
1284
+ storeSaves(tree.root, loadSaves(tree.root).map(({ held, ...r }) => (r.task === t.id || !held ? r : { ...r, held })));
1285
+ }
1223
1286
  const script = saveScript({ url: u.href, file, n, until: Date.now() + PLAN_TTL_MS, other: phrase(lang, "browser.save.other", { n: String(n), url: u.href }) });
1224
1287
  const then = "strom media add --inbox --waiting";
1225
1288
  return {
@@ -519,8 +519,9 @@ function waitOptions(tree, id, opts, has = {}) {
519
519
  if (opts.kind !== undefined) {
520
520
  const k = String(opts.kind).trim().toLowerCase();
521
521
  if (has.images || has.check) {
522
- // --kind images with --images (--kind check with --check) only repeats what the flag says: taken as said
523
- if (k === (has.images ? "images" : "check"))
522
+ // --kind images with --images (--kind check with --check) only repeats what the flag says: taken as said; so does
523
+ // --kind web — the images are saved from a site, the check is of one: the flag says which
524
+ if (k === (has.images ? "images" : "check") || k === "web")
524
525
  return waitOptions(tree, id, { ...opts, kind: undefined }, has);
525
526
  throw new UsageError(`--kind: --${has.images ? "images" : "check"} says the kind itself (${has.images ? "images the user saves by hand" : "a site only the user checks"})`, { hint: `leave out --kind` });
526
527
  }
@@ -1017,7 +1018,7 @@ register({
1017
1018
  "start: strom media add --inbox --waiting) — a part of them, it waits on and says which are missing. Files named\n" +
1018
1019
  "otherwise are taken by their order when there are as many as images missing.\n" +
1019
1020
  "--kind web on a task whose --where names one book: images of that book saved into its folder of the inbox bring it\n" +
1020
- "back too (which ones not known yet) — with the numbers known, --images.\n" +
1021
+ "back too (which ones not known yet) — with the numbers known, --images in its place (it says the kind itself).\n" +
1021
1022
  "--check <URL>: the user looks at a site strom and your web tools may not read (it refused strom, or its terms\n" +
1022
1023
  "forbid or restrict automation) — only after another way to the same records was tried and the blocked way recorded\n" +
1023
1024
  "in this session (strom search add … --note \"<host>: …\"); --on says what to check there. They answer in strom's\n" +
@@ -1033,7 +1034,8 @@ register({
1033
1034
  { name: "on", type: "string", value: "<for the user: impersonal, research language>", description: "what it waits for, for the user: which book, its link, which images" },
1034
1035
  { name: "images", type: "string", value: "<B…:n-m>", description: "the images the user saves by hand, numbered as the portal's viewer counts them (B0001:40-69, B0001:9,12)" },
1035
1036
  { name: "check", type: "string", value: "<URL>", description: "a site for the user to check (one strom may not read): only after another way was tried and the blocked way recorded (strom search add)" },
1036
- ...WAIT_OPTIONS,
1037
+ // --images and --check say the kind themselves: --kind is for a wait of neither
1038
+ ...WAIT_OPTIONS.map((o) => (o.name === "kind" ? { ...o, description: `${o.description} — not with --images or --check: they say the kind themselves` } : o)),
1037
1039
  ],
1038
1040
  examples: [
1039
1041
  'strom task wait T0002 --on "reply of the archive to the request of 21 Sep"',
@@ -511,6 +511,31 @@ export function viewerScript(plan) {
511
511
  return "strom-result " + out.join(" ");
512
512
  })()`;
513
513
  }
514
+ /** A file the browser has had this long to come before it counts as held back (the script runs after strom media save). */
515
+ export const HELD_AFTER_MS = 5_000;
516
+ function savesFile(root) {
517
+ return path.join(root, ".strom", "browser-saves.json");
518
+ }
519
+ export function loadSaves(root) {
520
+ let all;
521
+ try {
522
+ all = readJsonIfExists(savesFile(root));
523
+ }
524
+ catch {
525
+ all = undefined; // a broken file: as if none were given
526
+ }
527
+ return Array.isArray(all) ? all.filter((r) => r && typeof r.task === "string" && Number.isInteger(r.n) && typeof r.file === "string") : [];
528
+ }
529
+ export function storeSaves(root, saves) {
530
+ if (saves.length)
531
+ writeJson(savesFile(root), saves);
532
+ else
533
+ fs.rmSync(savesFile(root), { force: true });
534
+ }
535
+ /** The script for image n of a task was given now: the one record of it (an earlier one of the same image replaced). */
536
+ export function noteSave(root, rec) {
537
+ storeSaves(root, [...loadSaves(root).filter((r) => r.task !== rec.task || r.n !== rec.n), rec]);
538
+ }
514
539
  /** The name an image saved from the tab for a waiting task is saved under: strom-T0007-0040 (taken by strom media add --inbox --waiting). */
515
540
  export function waitFileBase(task, n) {
516
541
  return `strom-${safe(task)}-${String(n).padStart(4, "0")}`;
@@ -159,17 +159,23 @@ const USER_DATA = {
159
159
  Chromium: { mac: "Chromium", win: "Chromium\\User Data", linux: "chromium" },
160
160
  Vivaldi: { mac: "Vivaldi", win: "Vivaldi\\User Data", linux: "vivaldi" },
161
161
  };
162
- /** The profile of the browser an installed web app belongs to: the one that holds its files (only folder names are looked at). */
163
- export function webAppProfile(browser, appId, env, platform = process.platform) {
162
+ /** The folder a browser keeps its profiles in (its user data). */
163
+ function userDataDir(browser, env, platform) {
164
164
  const d = USER_DATA[browser];
165
165
  if (!d)
166
166
  return undefined;
167
167
  const home = userHome(env);
168
- const root = platform === "darwin"
168
+ return platform === "darwin"
169
169
  ? path.join(home, "Library", "Application Support", d.mac)
170
170
  : platform === "win32"
171
171
  ? path.join(env.LOCALAPPDATA ?? path.join(home, "AppData", "Local"), d.win)
172
172
  : path.join(env.XDG_CONFIG_HOME ?? path.join(home, ".config"), d.linux);
173
+ }
174
+ /** The profile of the browser an installed web app belongs to: the one that holds its files (only folder names are looked at). */
175
+ export function webAppProfile(browser, appId, env, platform = process.platform) {
176
+ const root = userDataDir(browser, env, platform);
177
+ if (!root)
178
+ return undefined;
173
179
  let dirs = [];
174
180
  try {
175
181
  dirs = fs.readdirSync(root);
@@ -195,8 +201,54 @@ export function openWebApp(app, url, env, platform = process.platform) {
195
201
  const exe = platform === "darwin" ? path.join(b.path, "Contents", "MacOS", path.basename(b.path, ".app")) : b.path;
196
202
  if (platform !== "darwin" && platform !== "win32" && !env.DISPLAY && !env.WAYLAND_DISPLAY)
197
203
  return false;
204
+ // macOS, the browser running: the request goes to it as that program would hand it over, with no program started —
205
+ // a program started outside the system's launcher stays in the Dock's recent apps as the browser not running (found
206
+ // 9. 11. 2026 with "follow live"). Not taken (not running, no answer, shutting down): the program as before.
207
+ if (platform === "darwin") {
208
+ const dir = userDataDir(app.browser, env, platform);
209
+ if (dir && handToRunning(path.join(dir, "SingletonSocket"), [exe, ...args]))
210
+ return true;
211
+ }
198
212
  return launch(exe, args, env);
199
213
  }
214
+ /**
215
+ * What a second start of a Chromium browser sends the one running, through the socket in its user data
216
+ * (ProcessSingleton, POSIX): START, the folder it runs in and its command line, each ended by a NUL but the last.
217
+ */
218
+ export function singletonMessage(argv, cwd = "/") {
219
+ return ["START", cwd, ...argv].join("\0");
220
+ }
221
+ /** Read by the helper below: the socket, then the message in base64; exit 0 only on the browser's ACK. */
222
+ const HAND_OVER = `const net=require("node:net");const c=net.connect(process.argv[1]);let got="";
223
+ c.on("connect",()=>c.end(Buffer.from(process.argv[2],"base64")));c.on("data",(d)=>{got+=d});
224
+ c.on("close",()=>process.exit(got.startsWith("ACK")?0:1));c.on("error",()=>process.exit(1));`;
225
+ /**
226
+ * Hand a command line to the Chromium browser running on that socket, as its own second start would: true when it
227
+ * answered ACK (it opens what it was asked to). Nothing there, refused, no answer within 5 s, or SHUTDOWN: false.
228
+ */
229
+ export function handToRunning(socket, argv, timeoutMs = 5000) {
230
+ try {
231
+ fs.lstatSync(socket);
232
+ }
233
+ catch {
234
+ return false;
235
+ }
236
+ // the socket's own path (the link points to a short one in the temporary folder): a long one is refused by the system
237
+ let at = socket;
238
+ try {
239
+ at = fs.realpathSync(socket);
240
+ }
241
+ catch {
242
+ return false;
243
+ }
244
+ const r = spawnSync(process.execPath, ["-e", HAND_OVER, at, Buffer.from(singletonMessage(argv), "utf8").toString("base64")], {
245
+ stdio: "ignore",
246
+ timeout: timeoutMs,
247
+ windowsHide: true,
248
+ env: {},
249
+ });
250
+ return r.status === 0;
251
+ }
200
252
  /** Open an address in that browser; false when this computer cannot (no desktop) or tests ask not to. */
201
253
  export function openInBrowser(browser, url, env, platform = process.platform) {
202
254
  if (env.STROM_NO_OPEN === "1")