strom-research 1.38.0 → 1.39.0-beta.2
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 +22 -0
- package/CHANGELOG.de.md +25 -0
- package/CHANGELOG.md +22 -0
- package/CHANGELOG.pl.md +23 -0
- package/assets/lang/cs.json +50 -0
- package/assets/lang/de.json +50 -0
- package/assets/lang/pl.json +50 -0
- package/assets/method/core.md +2 -1
- package/dist/agents/files.js +4 -3
- package/dist/agents/imagesaver.js +9 -6
- package/dist/brief/brief.js +27 -12
- package/dist/cli/help.js +1 -1
- package/dist/cli/ui.js +47 -0
- package/dist/commands/connectors.js +25 -4
- package/dist/commands/diary.js +119 -0
- package/dist/commands/index.js +1 -0
- package/dist/commands/media.js +47 -19
- package/dist/commands/setup.js +15 -2
- package/dist/commands/tasks.js +56 -6
- package/dist/core/browser.js +33 -0
- package/dist/core/browserhelp.js +2 -2
- package/dist/core/browserwait.js +70 -0
- package/dist/core/chromehook.js +64 -5
- package/dist/core/config.js +19 -0
- package/dist/core/device-allow.js +1 -0
- package/dist/core/diary.js +381 -0
- package/dist/core/live.js +15 -2
- package/dist/core/metrics.js +9 -0
- package/dist/core/net.js +56 -10
- package/dist/core/overview.js +1 -1
- package/dist/core/phrases.js +3 -0
- package/dist/core/report.js +1 -1
- package/dist/core/retry.js +6 -0
- package/dist/core/terms.js +45 -1
- package/dist/core/tree.js +2 -2
- package/dist/core/web.js +38 -7
- package/package.json +4 -1
package/CHANGELOG.cs.md
CHANGED
|
@@ -5,6 +5,28 @@
|
|
|
5
5
|
Změny každé verze ve zkratce. Úplné poznámky a instalační řádky jsou na
|
|
6
6
|
[GitHub Releases](https://github.com/ACiDekCZ/strom-research/releases) (anglicky).
|
|
7
7
|
|
|
8
|
+
## 1.39.0
|
|
9
|
+
|
|
10
|
+
*Připravuje se: bety do 1.39.0-beta.2. Oddíl bude úplný s vydáním.*
|
|
11
|
+
|
|
12
|
+
- **Deník výzkumu:** `strom diary` ukáže den po dni, nejnovější nahoře, na čem výzkum pracoval: u každého dne sezení,
|
|
13
|
+
hotové a odložené úkoly, nové osoby a údaje a cenu, hned pod tím několika větami, co se ten den našlo; pak každé
|
|
14
|
+
sezení – úkol lidskými slovy, linii, prohledanou knihu, archiv a snímky, výsledek (nalezeno, nic nenalezeno, čeká na
|
|
15
|
+
snímky), celý souhrn a další krok. `--day`, `--days`, `--line`; přerušené sezení to řekne, sezení přes půlnoc patří
|
|
16
|
+
ke dni, kdy začalo. Skládá se z toho, co výzkum už má, bez AI a bez zápisu; `--json` a most (`GET diary`) dávají
|
|
17
|
+
totéž aplikaci Strom.
|
|
18
|
+
- **Snímky přes prohlížeč agenta tempem člověka:** u archivu, kde je povolena cesta „přes prohlížeč“ (třeba Acta
|
|
19
|
+
Publica Moravského zemského archivu), ukládá rozsah snímků, který úkol potřebuje, agent sám, jeden po druhém přes
|
|
20
|
+
`strom media save`, nikdy celou knihu – už nezůstává na ručním uložení. Tempo hlídá strom pro každý archiv napříč
|
|
21
|
+
sezeními i výzkumy: aspoň 5 s mezi snímky s malým náhodným přídavkem, nejvýš 20 za sebou a pak pauza 3 minuty,
|
|
22
|
+
nejvýš 120 za hodinu; nikdy rychleji ani víc, než dovolují podmínky archivu. Po hodinovém stropu agent dělá jinou
|
|
23
|
+
práci nebo úkol vrátí na později. Výchozí hodnoty jsou nastavením tohoto počítače (`browser.pace`, „5 120 20 180“),
|
|
24
|
+
vlastní pro jeden archiv přes `strom allow host <host> --pace/--per-hour/--burst`; obojí mění jen člověk. Žádný
|
|
25
|
+
prohlížeč připojený: úkol čeká na prohlížeč agenta a vrátí se sám, jakmile ten otevře stránku; připojených víc a žádný
|
|
26
|
+
na tomto počítači: jednou se zeptá, který, a odpověď se pro tento počítač zapamatuje (`browser.name`). Každý snímek
|
|
27
|
+
navíc agent ukládá rychleji a úsporněji: celý ukládací skript stromu už u každého snímku znovu nevypisuje; tempo
|
|
28
|
+
archivu zůstává stejné.
|
|
29
|
+
|
|
8
30
|
## 1.38.0
|
|
9
31
|
|
|
10
32
|
*29. 11. 2026 · patří k aplikaci Strom 3.33.0.*
|
package/CHANGELOG.de.md
CHANGED
|
@@ -5,6 +5,31 @@
|
|
|
5
5
|
Die Änderungen jeder Version in Kürze. Die vollständigen Hinweise und die Installationszeilen stehen bei
|
|
6
6
|
[GitHub Releases](https://github.com/ACiDekCZ/strom-research/releases) (auf Englisch).
|
|
7
7
|
|
|
8
|
+
## 1.39.0
|
|
9
|
+
|
|
10
|
+
*In Vorbereitung: die Betas bis 1.39.0-beta.2. Der Abschnitt ist mit dem Release vollständig.*
|
|
11
|
+
|
|
12
|
+
- **Das Tagebuch der Forschung:** `strom diary` zeigt Tag für Tag, das Neueste oben, woran die Forschung gearbeitet
|
|
13
|
+
hat: für jeden Tag die Sitzungen, erledigte und zurückgestellte Aufgaben, neue Personen und Angaben und die Kosten,
|
|
14
|
+
gleich darunter in wenigen Sätzen, was an dem Tag gefunden wurde; dann jede Sitzung – die Aufgabe in einfachen
|
|
15
|
+
Worten, die Linie, das durchsuchte Buch, Archiv und die Bilder, das Ergebnis (gefunden, nichts gefunden, wartet auf
|
|
16
|
+
Bilder), die ganze Zusammenfassung und der nächste Schritt. `--day`, `--days`, `--line`; eine unterbrochene Sitzung
|
|
17
|
+
sagt es, eine Sitzung über Mitternacht gehört zum Tag ihres Beginns. Aus dem, was die Forschung schon hat, ohne KI
|
|
18
|
+
und ohne Schreiben; `--json` und die Brücke (`GET diary`) geben dasselbe der App Strom.
|
|
19
|
+
- **Bilder über den Browser des Agenten im Tempo eines Menschen:** Bei einem Archiv, für das der Weg „über den Browser“
|
|
20
|
+
erlaubt ist (etwa Acta Publica des Mährischen Landesarchivs), speichert der Agent den Bereich der Bilder, den eine
|
|
21
|
+
Aufgabe braucht, selbst, eines nach dem anderen mit `strom media save`, nie das ganze Buch – nicht mehr von Hand.
|
|
22
|
+
strom hält das Tempo für jedes Archiv über Sitzungen und Forschungen hinweg ein: mindestens 5 s zwischen Bildern mit
|
|
23
|
+
einem kleinen zufälligen Zuschlag, höchstens 20 hintereinander und dann 3 Minuten Pause, höchstens 120 pro Stunde; nie
|
|
24
|
+
schneller oder mehr, als die Bedingungen des Archivs erlauben. Nach der Stundengrenze erledigt der Agent andere Arbeit
|
|
25
|
+
oder gibt die Aufgabe für später zurück. Die Vorgaben sind eine Einstellung dieses Computers (`browser.pace`,
|
|
26
|
+
„5 120 20 180“), eigene für ein Archiv über `strom allow host <host> --pace/--per-hour/--burst`; beides ändert nur
|
|
27
|
+
ein Mensch. Kein Browser verbunden: Die Aufgabe wartet auf den Browser des Agenten und kommt von selbst zurück, sobald
|
|
28
|
+
er eine Seite öffnet; mehrere verbunden und keiner auf diesem Computer: einmal die Frage, welcher, und die Antwort
|
|
29
|
+
bleibt für diesen Computer gespeichert (`browser.name`). Jedes Bild speichert der Agent zudem schneller und
|
|
30
|
+
sparsamer: Das ganze Speicherskript von strom schreibt er nicht mehr für jedes Bild neu aus; das Tempo des Archivs
|
|
31
|
+
bleibt gleich.
|
|
32
|
+
|
|
8
33
|
## 1.38.0
|
|
9
34
|
|
|
10
35
|
*29.11.2026 · gehört zur Strom-App 3.33.0.*
|
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,28 @@ English · [Čeština](CHANGELOG.cs.md) · [Deutsch](CHANGELOG.de.md) · [Polski
|
|
|
5
5
|
The changes of each version in short. The full notes and the install lines are on
|
|
6
6
|
[GitHub Releases](https://github.com/ACiDekCZ/strom-research/releases).
|
|
7
7
|
|
|
8
|
+
## 1.39.0
|
|
9
|
+
|
|
10
|
+
*In preparation: the betas up to 1.39.0-beta.2. The section is complete with the release.*
|
|
11
|
+
|
|
12
|
+
- **The research's diary:** `strom diary` says day by day, newest first, what the research worked on: each day its
|
|
13
|
+
sessions, tasks done and put aside, new people and facts and its cost, and right under it what was found that day in
|
|
14
|
+
a few sentences; then each session — its task in plain words, its line, the book, archive and images looked through,
|
|
15
|
+
what came of it (found, nothing found, waiting for images), its whole summary and the next step. `--day`, `--days`,
|
|
16
|
+
`--line`; an interrupted session says so, a session over midnight belongs to the day it started. Made of what the
|
|
17
|
+
research already holds, no AI, nothing written; `--json` and the bridge (`GET diary`) give the same to the Strom app.
|
|
18
|
+
- **Images through the agent's browser at a person's pace:** at an archive the person allowed "through the browser"
|
|
19
|
+
(the Moravian Land Archive's Acta Publica, for one) the agent saves the range of images a task needs itself, one after
|
|
20
|
+
another with `strom media save`, never the whole book — no longer left to the person's hand. strom keeps the pace for
|
|
21
|
+
each archive across sessions and researches: at least 5 s between images with a small random part on top, at most 20
|
|
22
|
+
in a row and then a pause of 3 minutes, at most 120 an hour; never faster or more than the archive's own terms allow.
|
|
23
|
+
Past the hour's cap the agent does other work or returns the task for later. The defaults are a setting of this
|
|
24
|
+
computer (`browser.pace`, "5 120 20 180"), one archive's own by `strom allow host <host> --pace/--per-hour/--burst`,
|
|
25
|
+
both the person's alone. No browser connected: the task waits for the agent's browser and comes back by itself once it
|
|
26
|
+
opens a page; several connected, none of them on this computer: the person is asked once which, and the answer is
|
|
27
|
+
kept for this computer (`browser.name`). The agent also saves each image faster and more economically: it no longer
|
|
28
|
+
writes strom's whole saving script out again for every image; the archive's pace stays the same.
|
|
29
|
+
|
|
8
30
|
## 1.38.0
|
|
9
31
|
|
|
10
32
|
*2026-11-29 · goes with the Strom app 3.33.0.*
|
package/CHANGELOG.pl.md
CHANGED
|
@@ -5,6 +5,29 @@
|
|
|
5
5
|
Zmiany każdej wersji w skrócie. Pełne informacje o wydaniach i polecenia instalacji są na
|
|
6
6
|
[GitHub Releases](https://github.com/ACiDekCZ/strom-research/releases) (po angielsku).
|
|
7
7
|
|
|
8
|
+
## 1.39.0
|
|
9
|
+
|
|
10
|
+
*W przygotowaniu: bety do 1.39.0-beta.2. Sekcja będzie kompletna z wydaniem.*
|
|
11
|
+
|
|
12
|
+
- **Dziennik badania:** `strom diary` pokazuje dzień po dniu, najnowsze na górze, nad czym badanie pracowało: przy
|
|
13
|
+
każdym dniu sesje, zadania ukończone i odłożone, nowe osoby i dane oraz koszt, zaraz pod tym w kilku zdaniach, co
|
|
14
|
+
się tego dnia znalazło; potem każda sesja – zadanie prostymi słowami, linia, przeszukana księga, archiwum i skany,
|
|
15
|
+
wynik (znaleziono, nic nie znaleziono, czeka na skany), całe podsumowanie i następny krok. `--day`, `--days`,
|
|
16
|
+
`--line`; przerwana sesja to mówi, sesja po północy należy do dnia, w którym się zaczęła. Złożony z tego, co badanie
|
|
17
|
+
już ma, bez AI i bez zapisu; `--json` i most (`GET diary`) dają to samo aplikacji Strom.
|
|
18
|
+
- **Skany przez przeglądarkę agenta w tempie człowieka:** w archiwum, w którym dozwolona jest droga „przez przeglądarkę“
|
|
19
|
+
(na przykład Acta Publica Morawskiego Archiwum Krajowego), zakres skanów potrzebny zadaniu agent zapisuje sam, jeden
|
|
20
|
+
po drugim przez `strom media save`, nigdy całej księgi – już nie zostaje to do ręcznego zapisania. Tempa strom pilnuje
|
|
21
|
+
dla każdego archiwum we wszystkich sesjach i badaniach: co najmniej 5 s między skanami z małym losowym dodatkiem,
|
|
22
|
+
najwyżej 20 pod rząd, potem 3 minuty przerwy, najwyżej 120 na godzinę; nigdy szybciej ani więcej, niż pozwalają
|
|
23
|
+
warunki archiwum. Po limicie godzinowym agent zajmuje się inną pracą albo odkłada zadanie na później. Wartości
|
|
24
|
+
domyślne są ustawieniem tego komputera (`browser.pace`, „5 120 20 180“), własne dla jednego archiwum przez
|
|
25
|
+
`strom allow host <host> --pace/--per-hour/--burst`; jedno i drugie zmienia tylko człowiek. Żadna przeglądarka nie
|
|
26
|
+
jest podłączona: zadanie czeka na przeglądarkę agenta i wraca samo, gdy ta otworzy stronę; podłączonych jest kilka,
|
|
27
|
+
a żadna na tym komputerze: jedno pytanie, która, a odpowiedź zostaje zapamiętana dla tego komputera (`browser.name`).
|
|
28
|
+
Każdy skan agent zapisuje też szybciej i oszczędniej: nie wypisuje już od nowa całego skryptu zapisu strom przy
|
|
29
|
+
każdym skanie; tempo archiwum pozostaje to samo.
|
|
30
|
+
|
|
8
31
|
## 1.38.0
|
|
9
32
|
|
|
10
33
|
*29.11.2026 · współpracuje z aplikacją Strom 3.33.0.*
|
package/assets/lang/cs.json
CHANGED
|
@@ -1390,6 +1390,8 @@
|
|
|
1390
1390
|
"ui.web.ask.have": "Už {n, plural, one {# požadavek} few {# požadavky} other {# požadavků}} na {host} v tomto sezení. Více stránek nebo položek tohoto serveru je šetrnější stahovat přes jeho konektor {connector}, který tu už je a dodrží tempo serveru, robots.txt a jeho podmínky. Přesto povolit další?",
|
|
1391
1391
|
"ui.pace.cap": "nejvýš {n} za hodinu",
|
|
1392
1392
|
"ui.pace.nocap": "bez hodinového stropu",
|
|
1393
|
+
"ui.pace.burst": "nejvýš {n} za sebou, pak pauza {seconds} s",
|
|
1394
|
+
"ui.pace.noburst": "bez omezení počtu snímků za sebou",
|
|
1393
1395
|
"ui.o.results.offered": "{file} – pro aplikaci Strom, tady nenainstalovanou; uživatel o ní už ví – zmiň ji znovu, jen když chce vidět výsledky (strom app install, pak strom app)",
|
|
1394
1396
|
"ui.o.ask": "otázky",
|
|
1395
1397
|
"ui.o.ask.tell": "řekni uživateli jednou, jednou větou, že se tu může ptát na kohokoli ve stromu – strom to řekne jen jednou",
|
|
@@ -1844,6 +1846,48 @@
|
|
|
1844
1846
|
"ui.ped.seen": "(viz výše)",
|
|
1845
1847
|
"ui.ped.legend": "U každého nejdřív otec, pak matka · ✓ narození doloženo záznamem",
|
|
1846
1848
|
"ui.ped.more": "Známí předkové sahají až do {n}. generace: strom pedigree {id} --generations {n}",
|
|
1849
|
+
"ui.help.cmd.diary": "Deník výzkumu: co se který den našlo",
|
|
1850
|
+
"ui.diary.title": "Deník výzkumu – {name}",
|
|
1851
|
+
"ui.diary.title.line": "Deník výzkumu – {name} · {line}",
|
|
1852
|
+
"ui.diary.archive": "{name} je Archiv Stromu: data přicházejí z aplikace Strom, deník výzkumu se nevede.",
|
|
1853
|
+
"ui.diary.none.day": "Dne {day} žádné sezení.",
|
|
1854
|
+
"ui.diary.none.days": "Od {from} do {to} žádné sezení.",
|
|
1855
|
+
"ui.diary.last": "Poslední práce: {day} (strom diary --day {date}).",
|
|
1856
|
+
"ui.diary.day": "{day} – sezení: {sessions} · úkoly hotové: {done}, odložené: {parked} · nové osoby: {persons} · nové údaje: {facts}",
|
|
1857
|
+
"ui.diary.noline": "bez linie",
|
|
1858
|
+
"ui.diary.task": "Úkol: {what} ({outcome})",
|
|
1859
|
+
"ui.diary.outcome.done": "hotovo",
|
|
1860
|
+
"ui.diary.outcome.parked": "odloženo",
|
|
1861
|
+
"ui.diary.outcome.waiting": "čeká",
|
|
1862
|
+
"ui.diary.outcome.continued": "pokračuje příště",
|
|
1863
|
+
"ui.diary.outcome.dropped": "zrušeno",
|
|
1864
|
+
"ui.diary.outcome.open": "probíhá",
|
|
1865
|
+
"ui.diary.searched": "Hledalo se: {what}",
|
|
1866
|
+
"ui.diary.pages": "snímky {pages}",
|
|
1867
|
+
"ui.diary.q.found": "nalezeno",
|
|
1868
|
+
"ui.diary.q.negative": "nic nenalezeno",
|
|
1869
|
+
"ui.diary.q.partial": "nalezeno zčásti",
|
|
1870
|
+
"ui.diary.q.inconclusive": "nerozhodnuto",
|
|
1871
|
+
"ui.diary.persons": "Nové osoby: {names}",
|
|
1872
|
+
"ui.diary.facts": "Nové údaje:",
|
|
1873
|
+
"ui.diary.result": "Výsledek: {what}",
|
|
1874
|
+
"ui.diary.result.found": "nalezeno",
|
|
1875
|
+
"ui.diary.result.not-found": "nenalezeno",
|
|
1876
|
+
"ui.diary.result.waiting-images": "čeká na snímek",
|
|
1877
|
+
"ui.diary.summary": "Souhrn: {text}",
|
|
1878
|
+
"ui.diary.interrupted": "Přerušeno, bez zápisu.",
|
|
1879
|
+
"ui.diary.running": "Stále probíhá.",
|
|
1880
|
+
"ui.diary.next": "Další krok: {text}",
|
|
1881
|
+
"ui.diary.sum.about": "Práce se týkala: {names}.",
|
|
1882
|
+
"ui.diary.sum.sessions": "Sezení bez úkolu o konkrétní osobě: {n}.",
|
|
1883
|
+
"ui.diary.sum.andmore": "{names} a další ({n})",
|
|
1884
|
+
"ui.diary.sum.persons": "nové osoby ({n}): {names}",
|
|
1885
|
+
"ui.diary.sum.facts": "nové údaje ({n}): {list}",
|
|
1886
|
+
"ui.diary.sum.found": "Našlo se: {what}.",
|
|
1887
|
+
"ui.diary.sum.nothing": "Nic nového se nenašlo.",
|
|
1888
|
+
"ui.diary.sum.vain": "Marně se hledalo: {list}.",
|
|
1889
|
+
"ui.diary.sum.images": "čeká se na snímky ({n})",
|
|
1890
|
+
"ui.diary.sum.open": "Zůstává otevřené: {what}.",
|
|
1847
1891
|
"ui.recent.title": "Co přibylo od {since}",
|
|
1848
1892
|
"ui.recent.nothing": "Od {since} nic nového nepřibylo.",
|
|
1849
1893
|
"ui.recent.counts": "Nové osoby: {persons} · údaje: nové {facts}, upřesněné {refined} · záznamy z pramenů: {sources} · vyprávění: {stories} · hotové úkoly: {done}",
|
|
@@ -3397,6 +3441,9 @@
|
|
|
3397
3441
|
"retry.held": "prohlížeč zadržel stahování z {host} – v profilu, ve kterém agent pracuje, povolit stahování více souborů (ikona vpravo v adresním řádku), pak vrátit agentovi",
|
|
3398
3442
|
"retry.stopped": "ukládání přes prohlížeč agenta se zastavilo – sezení agenta skončilo uprostřed",
|
|
3399
3443
|
"retry.ready": "prohlížeč agenta k {archive} teď dosáhne – snímky uloží sám",
|
|
3444
|
+
"browser.none": "prohlížeč agenta – teď žádný připojený; úkol se vrátí sám, jakmile prohlížeč v tomto výzkumu otevře stránku",
|
|
3445
|
+
"browser.which": "Který prohlížeč má agent používat: {names}? (žádný z nich není na tomto počítači; odpověď se pro tento počítač zapamatuje)",
|
|
3446
|
+
"retry.browser": "prohlížeč agenta – po připojení se pokračuje",
|
|
3400
3447
|
"retry.noext": "rozšíření Claude in Chrome není připojené v žádném prohlížeči – snímky agent uloží jen s ním",
|
|
3401
3448
|
"retry.agent": "prohlížeč agenta {agent} strom nehlídá – snímky agent uloží jen přes Claude Code s rozšířením Claude in Chrome",
|
|
3402
3449
|
"retry.screen": "prohlížeč agenta k {archive} teď dosáhne – jen čtení z obrazovky, snímky se neuloží",
|
|
@@ -4180,6 +4227,9 @@
|
|
|
4180
4227
|
"ui.error.story.no-source.hint": "pozadí místa a doby se nejdřív zapíše jako pramen: strom source add … --kind book|newspaper|web",
|
|
4181
4228
|
"ui.consent.read.app": "Povolit aplikaci Strom až {hour} čtení dokumentů za hodinu a {day} za den? Každé čtení spustí agenta výzkumu a počítá se do ceny měsíce.",
|
|
4182
4229
|
"ui.consent.archive.pace": "Tempo stahování snímků z archivů, jejichž podmínky automatizaci omezují, po svolení „pomalu“: nejméně {seconds} s mezi dvěma snímky, nejvýš {n, plural, one {# požadavek} few {# požadavky} other {# požadavků}} na archiv za hodinu včetně katalogu. Nastavit?",
|
|
4230
|
+
"ui.consent.browser.pace": "Tempo, jakým prohlížeč agenta ukládá snímky z archivů jen přes prohlížeč člověka, po svolení „přes prohlížeč“: nejméně {seconds} s mezi dvěma snímky (náhodně o něco víc), nejvýš {n, plural, one {# snímek} few {# snímky} other {# snímků}} z jednoho archivu za hodinu na tomto počítači, {run}. Nastavit?",
|
|
4231
|
+
"ui.consent.browser.name": "Prohlížeč agenta, když je připojeno víc prohlížečů a žádný není na tomto počítači: „{name}“. Nastavit?",
|
|
4232
|
+
"ui.consent.browser.name.unset": "Prohlížeč, který agent používá, když je připojeno víc prohlížečů: zapomenout – agent se zeptá znovu. Nastavit?",
|
|
4183
4233
|
"ui.consent.claude.dir": "Složka Claude Code pro výzkum (její přihlášení, tedy které předplatné práci platí): {dir}",
|
|
4184
4234
|
"ui.archive.terms.known": "Podmínky: „{quote}“ ({terms})",
|
|
4185
4235
|
"ui.archive.terms.connector": "Podmínky podle stahovače: {quote} ({terms})",
|
package/assets/lang/de.json
CHANGED
|
@@ -1390,6 +1390,8 @@
|
|
|
1390
1390
|
"ui.web.ask.have": "Bereits {n, plural, one {# Anfrage} other {# Anfragen}} an {host} in dieser Sitzung. Mehr Seiten oder Einträge dieses Servers gehen schonender über seinen Connector {connector}, der schon da ist und Tempo, robots.txt und Bedingungen des Servers einhält. Trotzdem noch eine zulassen?",
|
|
1391
1391
|
"ui.pace.cap": "höchstens {n} pro Stunde",
|
|
1392
1392
|
"ui.pace.nocap": "ohne Stundenobergrenze",
|
|
1393
|
+
"ui.pace.burst": "höchstens {n} hintereinander, dann eine Pause von {seconds} s",
|
|
1394
|
+
"ui.pace.noburst": "ohne Grenze für Bilder hintereinander",
|
|
1393
1395
|
"ui.o.results.offered": "{file} – für die Strom-App, hier nicht installiert; der Nutzer kennt sie schon – erwähne sie erst wieder, wenn er die Ergebnisse sehen will (strom app install, dann strom app)",
|
|
1394
1396
|
"ui.o.ask": "Fragen",
|
|
1395
1397
|
"ui.o.ask.tell": "sag dem Nutzer einmal, in einem Satz, dass er dich hier nach jedem im Stammbaum fragen kann – strom sagt das nur einmal",
|
|
@@ -1844,6 +1846,48 @@
|
|
|
1844
1846
|
"ui.ped.seen": "(siehe oben)",
|
|
1845
1847
|
"ui.ped.legend": "Zuerst der Vater, dann die Mutter · ✓ Geburt durch einen Eintrag belegt",
|
|
1846
1848
|
"ui.ped.more": "Die bekannten Vorfahren reichen bis zur {n}. Generation: strom pedigree {id} --generations {n}",
|
|
1849
|
+
"ui.help.cmd.diary": "Forschungstagebuch: was an welchem Tag gefunden wurde",
|
|
1850
|
+
"ui.diary.title": "Forschungstagebuch – {name}",
|
|
1851
|
+
"ui.diary.title.line": "Forschungstagebuch – {name} · {line}",
|
|
1852
|
+
"ui.diary.archive": "{name} ist ein Strom-Archiv: die Daten kommen aus der Strom-App, ein Forschungstagebuch wird nicht geführt.",
|
|
1853
|
+
"ui.diary.none.day": "Am {day} keine Sitzung.",
|
|
1854
|
+
"ui.diary.none.days": "Vom {from} bis {to} keine Sitzung.",
|
|
1855
|
+
"ui.diary.last": "Zuletzt gearbeitet: {day} (strom diary --day {date}).",
|
|
1856
|
+
"ui.diary.day": "{day} – Sitzungen: {sessions} · Aufgaben erledigt: {done}, zurückgestellt: {parked} · neue Personen: {persons} · neue Angaben: {facts}",
|
|
1857
|
+
"ui.diary.noline": "ohne Linie",
|
|
1858
|
+
"ui.diary.task": "Aufgabe: {what} ({outcome})",
|
|
1859
|
+
"ui.diary.outcome.done": "erledigt",
|
|
1860
|
+
"ui.diary.outcome.parked": "zurückgestellt",
|
|
1861
|
+
"ui.diary.outcome.waiting": "wartet",
|
|
1862
|
+
"ui.diary.outcome.continued": "geht nächstes Mal weiter",
|
|
1863
|
+
"ui.diary.outcome.dropped": "verworfen",
|
|
1864
|
+
"ui.diary.outcome.open": "läuft",
|
|
1865
|
+
"ui.diary.searched": "Gesucht: {what}",
|
|
1866
|
+
"ui.diary.pages": "Bilder {pages}",
|
|
1867
|
+
"ui.diary.q.found": "gefunden",
|
|
1868
|
+
"ui.diary.q.negative": "nichts gefunden",
|
|
1869
|
+
"ui.diary.q.partial": "teilweise gefunden",
|
|
1870
|
+
"ui.diary.q.inconclusive": "unentschieden",
|
|
1871
|
+
"ui.diary.persons": "Neue Personen: {names}",
|
|
1872
|
+
"ui.diary.facts": "Neue Angaben:",
|
|
1873
|
+
"ui.diary.result": "Ergebnis: {what}",
|
|
1874
|
+
"ui.diary.result.found": "gefunden",
|
|
1875
|
+
"ui.diary.result.not-found": "nicht gefunden",
|
|
1876
|
+
"ui.diary.result.waiting-images": "wartet auf ein Bild",
|
|
1877
|
+
"ui.diary.summary": "Zusammenfassung: {text}",
|
|
1878
|
+
"ui.diary.interrupted": "Unterbrochen, ohne Eintrag.",
|
|
1879
|
+
"ui.diary.running": "Läuft noch.",
|
|
1880
|
+
"ui.diary.next": "Nächster Schritt: {text}",
|
|
1881
|
+
"ui.diary.sum.about": "Die Arbeit betraf: {names}.",
|
|
1882
|
+
"ui.diary.sum.sessions": "Sitzungen ohne Aufgabe zu einer bestimmten Person: {n}.",
|
|
1883
|
+
"ui.diary.sum.andmore": "{names} und weitere ({n})",
|
|
1884
|
+
"ui.diary.sum.persons": "neue Personen ({n}): {names}",
|
|
1885
|
+
"ui.diary.sum.facts": "neue Angaben ({n}): {list}",
|
|
1886
|
+
"ui.diary.sum.found": "Gefunden: {what}.",
|
|
1887
|
+
"ui.diary.sum.nothing": "Nichts Neues gefunden.",
|
|
1888
|
+
"ui.diary.sum.vain": "Vergeblich gesucht: {list}.",
|
|
1889
|
+
"ui.diary.sum.images": "Bilder erwartet ({n})",
|
|
1890
|
+
"ui.diary.sum.open": "Noch offen: {what}.",
|
|
1847
1891
|
"ui.recent.title": "Was seit {since} dazukam",
|
|
1848
1892
|
"ui.recent.nothing": "Seit {since} nichts Neues.",
|
|
1849
1893
|
"ui.recent.counts": "Neue Personen: {persons} · Angaben: neu {facts}, präzisiert {refined} · Einträge aus Quellen: {sources} · Geschichten: {stories} · erledigte Aufgaben: {done}",
|
|
@@ -3397,6 +3441,9 @@
|
|
|
3397
3441
|
"retry.held": "der Browser hat das Herunterladen von {host} zurückgehalten – im Profil, in dem der Agent arbeitet, das Herunterladen mehrerer Dateien erlauben (das Symbol rechts in der Adressleiste), dann an den Agenten zurückgeben",
|
|
3398
3442
|
"retry.stopped": "das Speichern über den Browser des Agenten ist angehalten – die Sitzung des Agenten endete mittendrin",
|
|
3399
3443
|
"retry.ready": "der Browser des Agenten erreicht {archive} jetzt – er speichert die Aufnahmen selbst",
|
|
3444
|
+
"browser.none": "der Browser des Agenten – gerade keiner verbunden; die Aufgabe kommt von selbst zurück, sobald er in dieser Forschung eine Seite öffnet",
|
|
3445
|
+
"browser.which": "Welchen Browser soll der Agent verwenden: {names}? (keiner davon ist auf diesem Computer; die Antwort bleibt für diesen Computer gespeichert)",
|
|
3446
|
+
"retry.browser": "der Browser des Agenten – nach dem Verbinden geht es weiter",
|
|
3400
3447
|
"retry.noext": "die Erweiterung Claude in Chrome ist in keinem Browser verbunden – die Aufnahmen speichert der Agent nur mit ihr",
|
|
3401
3448
|
"retry.agent": "den Browser von {agent} überwacht strom nicht – die Aufnahmen speichert der Agent nur über Claude Code mit der Erweiterung Claude in Chrome",
|
|
3402
3449
|
"retry.screen": "der Browser des Agenten erreicht {archive} jetzt – nur vom Bildschirm gelesen, keine Aufnahme wird gespeichert",
|
|
@@ -4180,6 +4227,9 @@
|
|
|
4180
4227
|
"ui.error.story.no-source.hint": "der Hintergrund von Ort und Zeit wird zuerst als Quelle erfasst: strom source add … --kind book|newspaper|web",
|
|
4181
4228
|
"ui.consent.read.app": "Der Strom-App bis zu {hour, plural, one {# Lesung} other {# Lesungen}} von Dokumenten pro Stunde und {day} pro Tag erlauben? Jede Lesung startet den Agenten der Forschung und zählt zu den Kosten des Monats.",
|
|
4182
4229
|
"ui.consent.archive.pace": "Tempo für Bilder aus Archiven, deren Bedingungen die Automatisierung einschränken, nach der Erlaubnis „langsam“: mindestens {seconds} s zwischen zwei Bildern, höchstens {n, plural, one {# Anfrage} other {# Anfragen}} an das Archiv pro Stunde, den Katalog mitgezählt. So einstellen?",
|
|
4230
|
+
"ui.consent.browser.pace": "Tempo, in dem der Browser des Agenten Bilder aus Archiven speichert, die nur der Browser eines Menschen betreten darf, nach der Erlaubnis „über den Browser“: mindestens {seconds} s zwischen zwei Bildern (zufällig etwas mehr), höchstens {n, plural, one {# Bild} other {# Bilder}} aus einem Archiv pro Stunde auf diesem Computer, {run}. So einstellen?",
|
|
4231
|
+
"ui.consent.browser.name": "Der Browser des Agenten, wenn mehrere verbunden sind und keiner auf diesem Computer ist: „{name}“. So einstellen?",
|
|
4232
|
+
"ui.consent.browser.name.unset": "Der Browser, den der Agent verwendet, wenn mehrere verbunden sind: vergessen – der Agent fragt erneut. So einstellen?",
|
|
4183
4233
|
"ui.consent.claude.dir": "Ordner von Claude Code für die Forschung (seine Anmeldung, also welches Abonnement die Arbeit bezahlt): {dir}",
|
|
4184
4234
|
"ui.archive.terms.known": "Bedingungen: „{quote}“ ({terms})",
|
|
4185
4235
|
"ui.archive.terms.connector": "Bedingungen laut Downloader: {quote} ({terms})",
|
package/assets/lang/pl.json
CHANGED
|
@@ -1390,6 +1390,8 @@
|
|
|
1390
1390
|
"ui.web.ask.have": "Już {n, plural, one {# zapytanie} few {# zapytania} many {# zapytań} other {# zapytań}} do {host} w tej sesji. Kolejne strony lub pozycje tego serwera łagodniej jest pobierać przez jego konektor {connector}, który już tu jest i zachowa tempo serwera, robots.txt i jego warunki. Mimo to zezwolić na kolejne?",
|
|
1391
1391
|
"ui.pace.cap": "najwyżej {n} na godzinę",
|
|
1392
1392
|
"ui.pace.nocap": "bez limitu godzinowego",
|
|
1393
|
+
"ui.pace.burst": "najwyżej {n} pod rząd, potem przerwa {seconds} s",
|
|
1394
|
+
"ui.pace.noburst": "bez limitu skanów pod rząd",
|
|
1393
1395
|
"ui.o.results.offered": "{file} – dla aplikacji Strom, tu niezainstalowanej; użytkownik już o niej wie – wspomnieć o niej ponownie tylko wtedy, gdy zechce zobaczyć wyniki (strom app install, potem strom app)",
|
|
1394
1396
|
"ui.o.ask": "pytania",
|
|
1395
1397
|
"ui.o.ask.tell": "powiedz użytkownikowi raz, jednym zdaniem, że może tu pytać o kogokolwiek w drzewie – strom mówi to tylko raz",
|
|
@@ -1844,6 +1846,48 @@
|
|
|
1844
1846
|
"ui.ped.seen": "(zob. wyżej)",
|
|
1845
1847
|
"ui.ped.legend": "U każdego najpierw ojciec, potem matka · ✓ urodzenie udokumentowane aktem",
|
|
1846
1848
|
"ui.ped.more": "Znani przodkowie sięgają aż do {n}. pokolenia: strom pedigree {id} --generations {n}",
|
|
1849
|
+
"ui.help.cmd.diary": "Dziennik badań: co którego dnia znaleziono",
|
|
1850
|
+
"ui.diary.title": "Dziennik badań – {name}",
|
|
1851
|
+
"ui.diary.title.line": "Dziennik badań – {name} · {line}",
|
|
1852
|
+
"ui.diary.archive": "{name} jest Archiwum Strom: dane pochodzą z aplikacji Strom, dziennik badań nie jest prowadzony.",
|
|
1853
|
+
"ui.diary.none.day": "Dnia {day} brak sesji.",
|
|
1854
|
+
"ui.diary.none.days": "Od {from} do {to} brak sesji.",
|
|
1855
|
+
"ui.diary.last": "Ostatnia praca: {day} (strom diary --day {date}).",
|
|
1856
|
+
"ui.diary.day": "{day} – sesje: {sessions} · zadania wykonane: {done}, odłożone: {parked} · nowe osoby: {persons} · nowe dane: {facts}",
|
|
1857
|
+
"ui.diary.noline": "bez linii",
|
|
1858
|
+
"ui.diary.task": "Zadanie: {what} ({outcome})",
|
|
1859
|
+
"ui.diary.outcome.done": "wykonane",
|
|
1860
|
+
"ui.diary.outcome.parked": "odłożone",
|
|
1861
|
+
"ui.diary.outcome.waiting": "czeka",
|
|
1862
|
+
"ui.diary.outcome.continued": "ciąg dalszy następnym razem",
|
|
1863
|
+
"ui.diary.outcome.dropped": "porzucone",
|
|
1864
|
+
"ui.diary.outcome.open": "w toku",
|
|
1865
|
+
"ui.diary.searched": "Szukano: {what}",
|
|
1866
|
+
"ui.diary.pages": "skany {pages}",
|
|
1867
|
+
"ui.diary.q.found": "znaleziono",
|
|
1868
|
+
"ui.diary.q.negative": "nic nie znaleziono",
|
|
1869
|
+
"ui.diary.q.partial": "znaleziono częściowo",
|
|
1870
|
+
"ui.diary.q.inconclusive": "nierozstrzygnięte",
|
|
1871
|
+
"ui.diary.persons": "Nowe osoby: {names}",
|
|
1872
|
+
"ui.diary.facts": "Nowe dane:",
|
|
1873
|
+
"ui.diary.result": "Wynik: {what}",
|
|
1874
|
+
"ui.diary.result.found": "znaleziono",
|
|
1875
|
+
"ui.diary.result.not-found": "nie znaleziono",
|
|
1876
|
+
"ui.diary.result.waiting-images": "czeka na skan",
|
|
1877
|
+
"ui.diary.summary": "Podsumowanie: {text}",
|
|
1878
|
+
"ui.diary.interrupted": "Przerwano, bez zapisu.",
|
|
1879
|
+
"ui.diary.running": "Wciąż trwa.",
|
|
1880
|
+
"ui.diary.next": "Następny krok: {text}",
|
|
1881
|
+
"ui.diary.sum.about": "Praca dotyczyła: {names}.",
|
|
1882
|
+
"ui.diary.sum.sessions": "Sesje bez zadania o konkretnej osobie: {n}.",
|
|
1883
|
+
"ui.diary.sum.andmore": "{names} i inni ({n})",
|
|
1884
|
+
"ui.diary.sum.persons": "nowe osoby ({n}): {names}",
|
|
1885
|
+
"ui.diary.sum.facts": "nowe dane ({n}): {list}",
|
|
1886
|
+
"ui.diary.sum.found": "Znaleziono: {what}.",
|
|
1887
|
+
"ui.diary.sum.nothing": "Nic nowego nie znaleziono.",
|
|
1888
|
+
"ui.diary.sum.vain": "Na próżno szukano: {list}.",
|
|
1889
|
+
"ui.diary.sum.images": "oczekiwane skany ({n})",
|
|
1890
|
+
"ui.diary.sum.open": "Wciąż otwarte: {what}.",
|
|
1847
1891
|
"ui.recent.title": "Co przybyło od {since}",
|
|
1848
1892
|
"ui.recent.nothing": "Od {since} nic nowego nie przybyło.",
|
|
1849
1893
|
"ui.recent.counts": "Nowe osoby: {persons} · dane: nowe {facts}, uściślone {refined} · zapisy ze źródeł: {sources} · opowieści: {stories} · gotowe zadania: {done}",
|
|
@@ -3397,6 +3441,9 @@
|
|
|
3397
3441
|
"retry.held": "przeglądarka wstrzymała pobieranie z {host} – w profilu, w którym pracuje agent, zezwolić na pobieranie wielu plików (ikona po prawej stronie paska adresu), potem zwrócić agentowi",
|
|
3398
3442
|
"retry.stopped": "zapisywanie przez przeglądarkę agenta się zatrzymało – sesja agenta skończyła się w połowie",
|
|
3399
3443
|
"retry.ready": "przeglądarka agenta sięga teraz do {archive} – skany zapisze sama",
|
|
3444
|
+
"browser.none": "przeglądarka agenta – teraz żadna nie jest połączona; zadanie wróci samo, gdy przeglądarka otworzy stronę w tym badaniu",
|
|
3445
|
+
"browser.which": "Której przeglądarki ma używać agent: {names}? (żadna z nich nie jest na tym komputerze; odpowiedź zostanie zapamiętana dla tego komputera)",
|
|
3446
|
+
"retry.browser": "przeglądarka agenta – po połączeniu praca idzie dalej",
|
|
3400
3447
|
"retry.noext": "rozszerzenie Claude in Chrome nie jest połączone w żadnej przeglądarce – skany agent zapisze tylko z nim",
|
|
3401
3448
|
"retry.agent": "przeglądarki agenta {agent} strom nie pilnuje – skany agent zapisze tylko przez Claude Code z rozszerzeniem Claude in Chrome",
|
|
3402
3449
|
"retry.screen": "przeglądarka agenta sięga teraz do {archive} – tylko odczyt z ekranu, skany nie zostaną zapisane",
|
|
@@ -4180,6 +4227,9 @@
|
|
|
4180
4227
|
"ui.error.story.no-source.hint": "tło miejsca i czasu zapisuje się najpierw jako źródło: strom source add … --kind book|newspaper|web",
|
|
4181
4228
|
"ui.consent.read.app": "Zezwolić, by aplikacja Strom zlecała do {hour, plural, one {# odczytu} few {# odczytów} many {# odczytów} other {# odczytów}} dokumentów na godzinę i {day} na dobę? Każdy odczyt uruchamia agenta badania i wlicza się do kosztów miesiąca.",
|
|
4182
4229
|
"ui.consent.archive.pace": "Tempo pobierania skanów z archiwów, których warunki ograniczają automatyczny dostęp, po zgodzie „powoli”: co najmniej {seconds} s między dwoma skanami, najwyżej {n, plural, one {# zapytanie} few {# zapytania} many {# zapytań} other {# zapytań}} do archiwum na godzinę, łącznie z katalogiem. Ustawić tak?",
|
|
4230
|
+
"ui.consent.browser.pace": "Tempo, w jakim przeglądarka agenta zapisuje skany z archiwów dostępnych tylko przez przeglądarkę człowieka, po zgodzie „przez przeglądarkę”: co najmniej {seconds} s między dwoma skanami (losowo nieco więcej), najwyżej {n, plural, one {# skan} few {# skany} many {# skanów} other {# skanów}} z jednego archiwum na godzinę na tym komputerze, {run}. Ustawić tak?",
|
|
4231
|
+
"ui.consent.browser.name": "Przeglądarka agenta, gdy połączonych jest kilka, a żadna nie jest na tym komputerze: „{name}”. Ustawić tak?",
|
|
4232
|
+
"ui.consent.browser.name.unset": "Przeglądarka, której agent używa, gdy połączonych jest kilka: zapomnieć – agent zapyta ponownie. Ustawić tak?",
|
|
4183
4233
|
"ui.consent.claude.dir": "Folder Claude Code dla badania (jego logowanie, czyli która subskrypcja opłaca pracę): {dir}",
|
|
4184
4234
|
"ui.archive.terms.known": "Warunki: „{quote}” ({terms})",
|
|
4185
4235
|
"ui.archive.terms.connector": "Warunki według programu pobierającego: {quote} ({terms})",
|
package/assets/method/core.md
CHANGED
|
@@ -116,7 +116,8 @@ conclusion so the next researcher can follow it.
|
|
|
116
116
|
half the name falls in; never batches from one end), only the images of the
|
|
117
117
|
name's letter fetched; a page number from the index turned into an image
|
|
118
118
|
number by one or two images, never a batch of ten; an entry: its image ±1
|
|
119
|
-
(it may run over a page).
|
|
119
|
+
(it may run over a page). Through your browser: the range the task needs is
|
|
120
|
+
yours, at strom's pace — never the person's hand. An archive that allows automation: batches as
|
|
120
121
|
usual (about ±5 around the target, an index in batches) — fewer turns.
|
|
121
122
|
`strom read` may follow a fetch at work: sooner, never more images.
|
|
122
123
|
Images you will read later in the session: `--background` fetches them
|
package/dist/agents/files.js
CHANGED
|
@@ -121,11 +121,12 @@ the researcher; \`strom\` is your only way to read and change the research.
|
|
|
121
121
|
\`strom net web --check <url> --browser\` first. An image of such an
|
|
122
122
|
archive the person allowed "through the browser", with no connector of
|
|
123
123
|
it: one at a time, \`strom media save T… --image <n> --at <its page>\`
|
|
124
|
-
(
|
|
124
|
+
(what to run in your tab: in Claude Code a short call per image, the
|
|
125
|
+
tree's hook gives it the script), then \`strom media add --inbox --waiting\`,
|
|
125
126
|
which says what came and where it is now — never read the downloads
|
|
126
127
|
folder yourself. Several: \`--image 40,41,45\` with an \`--at\` each (or one
|
|
127
|
-
with {n})
|
|
128
|
-
|
|
128
|
+
with {n}) in one call — each page opened in turn, what it prints for that
|
|
129
|
+
image run there, one \`strom media add --inbox --waiting\` after the last. What a task waits for (\`--on\`) is a sentence the user reads in strom's
|
|
129
130
|
menu: impersonal, what is needed and from whom, never addressed to them;
|
|
130
131
|
say its kind (\`--kind letter|family|web|other\`) and, when known,
|
|
131
132
|
\`--to\`, \`--request notes/<file>.md\`, \`--url\`.
|
|
@@ -3,7 +3,8 @@
|
|
|
3
3
|
// context is not read again on every page (1124: 30 images = 154 turns of the agent at ~140k tokens each). It has the
|
|
4
4
|
// shell (for strom) and the four tools of Claude in Chrome a save needs — its tab, navigate, the script — and nothing
|
|
5
5
|
// else: no reading of the page, no clicks, no web, no subagents, a short prompt, so it starts small and stays small
|
|
6
|
-
// (at most SAVE_PAGES_MAX images a call of strom media save
|
|
6
|
+
// (at most SAVE_PAGES_MAX images a call of strom media save, each image on its own page: a short call each, which the
|
|
7
|
+
// tree's hook gives its script — core/browser.ts saveCall, 1129 — so it never writes the script out again per image).
|
|
7
8
|
//
|
|
8
9
|
// The tree's hooks hold for it as for the agent that starts it: Claude Code runs the tree's hooks before a subagent's
|
|
9
10
|
// tools too, with the same session id — the navigate paced and counted with the agent's (the site's pages of the session,
|
|
@@ -26,13 +27,15 @@ with {n} where the number goes), and whether they are saved once more (--again).
|
|
|
26
27
|
you never read the images, never write anything else to the research and decide nothing.
|
|
27
28
|
|
|
28
29
|
1. \`strom media save <task> --image <numbers, at most ${SAVE_PAGES_MAX}> --recordset <book> --at <page>…\` (one --at
|
|
29
|
-
each, in their order, or one with {n}; --again when given) — it prints
|
|
30
|
-
image you were given goes into it; more than ${SAVE_PAGES_MAX}: the next call right after it, before any page
|
|
30
|
+
each, in their order, or one with {n}; --again when given) — it prints each page and, under it, that
|
|
31
|
+
image's short call. EVERY image you were given goes into it; more than ${SAVE_PAGES_MAX}: the next call right after it, before any page
|
|
31
32
|
(each call's script for its own images) — so the task waits for them all.
|
|
32
33
|
2. For each image in turn: navigate your tab to its page exactly as printed (never click through a
|
|
33
|
-
viewer, never another page), then run
|
|
34
|
-
|
|
35
|
-
|
|
34
|
+
viewer, never another page), then run that image's call with javascript_tool in that tab, exactly
|
|
35
|
+
as printed (the tree's hook gives the tool its script — never write or copy a script yourself).
|
|
36
|
+
It answers "strom-result <n>:200:<bytes>"; "strom-wait …": the same call again in the same tab.
|
|
37
|
+
Nothing in between: no screenshot, no reading the page, no strom command. It answers "nothing
|
|
38
|
+
ran — … --full": step 1 once more with --full, then its one script for every image instead.
|
|
36
39
|
3. After the last: \`strom media add --inbox --waiting\`, once.
|
|
37
40
|
|
|
38
41
|
Your tab: tabs_context_mcp once at the start (createIfEmpty), then one tab of your own for all pages.
|
package/dist/brief/brief.js
CHANGED
|
@@ -30,7 +30,7 @@ import { taskRecordsets } from "../core/frontier.js";
|
|
|
30
30
|
import { reviewItems } from "../core/review.js";
|
|
31
31
|
import { byHandOnly, listConnectors, missingConsents, readyConnectors, routeOf } from "../core/connector.js";
|
|
32
32
|
import { clock, clockUp, hostAllowed, hostState, leftAloneFor, REFUSED_FOREVER } from "../core/net.js";
|
|
33
|
-
import { archiveLevel } from "../core/terms.js";
|
|
33
|
+
import { archiveLevel, browserPace } from "../core/terms.js";
|
|
34
34
|
import { onHost, permissionQuestions, setHosts } from "../core/archivewait.js";
|
|
35
35
|
import { runs, runsArg, shellArg } from "../cli/format.js";
|
|
36
36
|
import { readingsLine, readingsOf } from "../core/readsync.js";
|
|
@@ -53,7 +53,7 @@ import { placesIdentifySections } from "./places.js";
|
|
|
53
53
|
import { verifySection } from "./verify.js";
|
|
54
54
|
import { auditSections } from "./audit.js";
|
|
55
55
|
export { DEFAULT_BUDGET } from "../core/config.js";
|
|
56
|
-
import { DEFAULT_BUDGET, Settings } from "../core/config.js";
|
|
56
|
+
import { DEFAULT_BUDGET, loadUserConfig, Settings } from "../core/config.js";
|
|
57
57
|
import { censusHoldings, forCensus } from "../core/census.js";
|
|
58
58
|
import { bookTuned, hostTuned, readingOf, treeTuning, tuningOn } from "../core/tune.js";
|
|
59
59
|
import { researchKey, viewModel, viewSizes } from "../core/viewsizes.js";
|
|
@@ -701,7 +701,7 @@ function byHandAsk(b, whole) {
|
|
|
701
701
|
/** What a finder of a record set means for its images. */
|
|
702
702
|
function finderText(f, b) {
|
|
703
703
|
if (f.why === "browser")
|
|
704
|
-
return `only a person's browser goes to this archive: its connector ${f.connector} is refused there by strom fetch, finding its books (--find) too — ${f.save ? `
|
|
704
|
+
return `only a person's browser goes to this archive: its connector ${f.connector} is refused there by strom fetch, finding its books (--find) too — ${f.save ? `the images the task needs through your browser, a range of them too, image after image: ${f.save} (then strom media add --inbox --waiting); the person saves them by hand only when your browser cannot reach it` : "the person saves the images by hand"}`;
|
|
705
705
|
if (f.why === "consent")
|
|
706
706
|
return `its connector ${f.connector} fetches them once the user allows it — one strom fetch ${f.connector} <book> --images <from-to> --recordset ${b.id} asks them; once the question waits, never again until they decide`;
|
|
707
707
|
const what = f.why === "manual" ? `the archive's terms allow no automation: its connector ${f.connector} finds books and gives their links` : `its connector ${f.connector} only finds books and fetches no images`;
|
|
@@ -967,9 +967,12 @@ function archiveLine(tree, b, repo, shared, installed, qs = []) {
|
|
|
967
967
|
: "no decision of the person's yet: a fetch of its images asks them once, and the question then waits — never fetch there again until they decide")(qs.find((x) => onHost(a.host, x.host))));
|
|
968
968
|
else if (a.permission === "manual")
|
|
969
969
|
parts.push("the person: images by hand only");
|
|
970
|
-
// a restricted archive's images
|
|
971
|
-
|
|
972
|
-
|
|
970
|
+
// a restricted archive's images allowed slowly: sparing (the method's "Fetch only what you read"); through the agent's
|
|
971
|
+
// browser: the images the task needs, a range of them too, at a person's pace strom keeps (Milan, 29 November 2026)
|
|
972
|
+
if ((a.level === "restricted" || a.level === "unknown") && a.permission === "slow" && !a.browserOnly)
|
|
973
|
+
parts.push("fetch sparingly: an index by halving, a page to its image by 1–2 images, an entry ±1");
|
|
974
|
+
else if ((a.level === "restricted" || a.level === "unknown") && a.permission === "browser")
|
|
975
|
+
parts.push(browserImagesLine(tree.env));
|
|
973
976
|
if (a.refused)
|
|
974
977
|
parts.push(`${a.refused.host} refused strom's client — left alone ${a.refused.until && a.refused.until < REFUSED_FOREVER ? `until ${clock(a.refused.until)}` : "until the person lifts it"}; not through your web tools or a browser either`);
|
|
975
978
|
else if (net) {
|
|
@@ -986,6 +989,16 @@ function archiveLine(tree, b, repo, shared, installed, qs = []) {
|
|
|
986
989
|
}
|
|
987
990
|
return parts.length ? ` archive ${a.host}: ${parts.join(" · ")}` : "";
|
|
988
991
|
}
|
|
992
|
+
/**
|
|
993
|
+
* An archive whose images the agent's browser saves (the person's permission "through the browser"): the images the
|
|
994
|
+
* task needs, a range of them too, image after image at a person's pace strom keeps (core/terms.ts browserPace, the
|
|
995
|
+
* archive's own slower) — past the archive's hour other work or the queue for later, never the person's hand; never a
|
|
996
|
+
* whole book. Finding the page stays sparing (an index by halving).
|
|
997
|
+
*/
|
|
998
|
+
export function browserImagesLine(env) {
|
|
999
|
+
const p = browserPace(env);
|
|
1000
|
+
return `images through your browser: the ones the task needs, a range of them too (an entry over pages, a year of a register), image after image — strom paces each page at a person's pace (${p.minIntervalMs / 1000} s apart or more${p.burst && p.burstPauseMs ? `, at most ${p.burst} in a row, then ${Math.round(p.burstPauseMs / 1000)} s of pause` : ""}, at most ${p.perHour} images an hour from this archive on this computer — its own, where the person set one, as strom keeps it); a pause or past its hour: other work, else strom session close --continue and on later — never strom task wait for the person (by hand only when your browser cannot reach it); never the whole book, nothing ahead; to find the page: an index by halving, an entry ±1`;
|
|
1001
|
+
}
|
|
989
1002
|
/**
|
|
990
1003
|
* The files that came for what the task waited for (Task.files: strom intake --answers, the Strom app's file to the
|
|
991
1004
|
* task) — that they came, never the person's words: read each as the task's next step.
|
|
@@ -1037,7 +1050,9 @@ const BROWSER_SITES = 12;
|
|
|
1037
1050
|
* person (several connected) — only another computer's: none, somebody may be working there —, and what is outside
|
|
1038
1051
|
* its sites or forbids automation goes to the user as a task that waits — never a question left in the summary.
|
|
1039
1052
|
*/
|
|
1040
|
-
export function browserRules(sites, alone, task) {
|
|
1053
|
+
export function browserRules(sites, alone, task, chosen) {
|
|
1054
|
+
// the person's choice of a browser for this computer (browser.name: their answer in What waits, or strom config)
|
|
1055
|
+
const pick = chosen ? `"${chosen}" (the person's choice for this computer), else ` : "";
|
|
1041
1056
|
const bare = [...new Set(sites.map((h) => h.replace(/^\*\./, "").toLowerCase()))];
|
|
1042
1057
|
const named = bare.length > BROWSER_SITES ? `${bare.slice(0, BROWSER_SITES).join(", ")} and ${bare.length - BROWSER_SITES} more` : bare.join(", ");
|
|
1043
1058
|
return [
|
|
@@ -1050,12 +1065,12 @@ export function browserRules(sites, alone, task) {
|
|
|
1050
1065
|
`- A site that forbids automation, refused strom, or restricts it without the person's permission "through the browser" (strom net web --check <url> --browser says it): no connector, no browser — another way to the same records (another archive or fonds of the jurisdiction, the parish, an index, secondary sources), the search recorded (strom search add … --result inconclusive --note "<host>: …"); only if the source stays necessary: strom task wait ${task ?? "T…"} --check <url> --on "<what the person checks there>"${alone ? ", then close the session" : ""}.`,
|
|
1051
1066
|
...(alone
|
|
1052
1067
|
? [
|
|
1053
|
-
|
|
1054
|
-
`- Neither: those browsers are another computer's, somebody may be working there —
|
|
1068
|
+
`- Nobody answers in a run: no AskUserQuestion, no switch_browser. Several browsers connected, none selected: list_connected_browsers, then select_browser — ${pick}onThisComputer, else isLocal.`,
|
|
1069
|
+
`- Neither: those browsers are another computer's, somebody may be working there — never one of your own choice: strom task wait ${task ?? "T…"} --browser "<name>|<name>" (as listed; the person chooses once, kept for this computer), then close the session. No browser connected: strom task wait ${task ?? "T…"} --browser none (back by itself once one is), then close the session — never images by hand for it.`,
|
|
1055
1070
|
`- Another site that allows automation: an archive the task needs without a connector — build one (strom connector new); anything else — strom task wait ${task ?? "T…"} --on "<the question>", then close the session.`,
|
|
1056
1071
|
]
|
|
1057
1072
|
: [
|
|
1058
|
-
|
|
1073
|
+
`- Several browsers connected, none selected: list_connected_browsers, ${chosen ? `select_browser "${chosen}" (the person's choice for this computer) if listed, else ` : ""}ask the user which — onThisComputer, else isLocal, else the first suggested —, then select_browser.`,
|
|
1059
1074
|
"- Another site: ask the user first.",
|
|
1060
1075
|
]),
|
|
1061
1076
|
].join("\n");
|
|
@@ -1452,7 +1467,7 @@ export function buildBrief(tree, opts) {
|
|
|
1452
1467
|
const saveFor = (b) => {
|
|
1453
1468
|
const repo = b.repository ? tree.get(b.repository) : undefined;
|
|
1454
1469
|
const a = bookBrowserArchive(tree, [b.url, repo?.url].find((x) => !!x && URL.canParse(x)), opts.shared);
|
|
1455
|
-
return a?.permitted && browserState(tree.env, tuneAgent, tree.root).state === "ready" ? `strom media save ${task?.id ?? "T…"} --image <n> --at <the archive's page of that image
|
|
1470
|
+
return a?.permitted && browserState(tree.env, tuneAgent, tree.root).state === "ready" ? `strom media save ${task?.id ?? "T…"} --image <n> --at <the archive's page of that image> (several: --image 70-79 --at "<the page with {n} where the number goes>")` : undefined;
|
|
1456
1471
|
};
|
|
1457
1472
|
const finders = new Map(sets.map((b) => [b.id, routes.get(b.id) ? undefined : bookFinder(tree, b, installed, opts.shared, saveFor(b))]));
|
|
1458
1473
|
// a weak scan of such an archive: the image saved once more through that browser (strom media save --again)
|
|
@@ -1649,7 +1664,7 @@ export function buildBrief(tree, opts) {
|
|
|
1649
1664
|
sections.push({ name: "commands", first: true, pointer: "strom help <command>", text: sheet });
|
|
1650
1665
|
// 8c. the browser, for a session that has it (its sites): how to use it, and gently
|
|
1651
1666
|
if (opts.browser)
|
|
1652
|
-
sections.push({ name: "browser", first: true, pointer: "strom guide", text: browserRules(opts.browser, !!opts.session?.runner, task?.id) });
|
|
1667
|
+
sections.push({ name: "browser", first: true, pointer: "strom guide", text: browserRules(opts.browser, !!opts.session?.runner, task?.id, loadUserConfig(tree.env).browserName) });
|
|
1653
1668
|
// 9. how to finish
|
|
1654
1669
|
sections.push({
|
|
1655
1670
|
name: "closing",
|
package/dist/cli/help.js
CHANGED
|
@@ -271,7 +271,7 @@ export const HUMAN_COMMANDS = [
|
|
|
271
271
|
"chat", "run", "session finish", "research new", "research pause", "research resume", "research done", "research edit", "research order", "research move", "research gather", "review", "verify bulk", "verify stop",
|
|
272
272
|
"intake", "sync", "sync undo", "sync discard", "sync note", "sync as-import", "conflict list", "conflict resolve", "conflict leave", "conflict keep", "event main", "event revert", "person revert", "hypothesis decide", "task list", "task wake", "task sent", "task order", "story approve", "story discard",
|
|
273
273
|
"offline list", "offline show", "offline set", "offline answer",
|
|
274
|
-
"stats", "recent", "plan", "history", "history back", "person card", "person list", "pedigree", "find", "query", "doc",
|
|
274
|
+
"stats", "recent", "diary", "plan", "history", "history back", "person card", "person list", "pedigree", "find", "query", "doc",
|
|
275
275
|
"app", "app install", "live", "live start", "live stop", "phone", "phone on", "phone qr", "phone off", "export gedcom", "pack", "unpack", "seal adopt", "seal accept", "repair undo", "backup", "tidy", "check",
|
|
276
276
|
"fixes", "fixes show", "fixes run", "fixes decline", "fixes reopen", "fixes undo", "fixes review", "house confirm", "media calibrate", "media renumber",
|
|
277
277
|
"surname accept", "surname reject", "surname group", "surname ungroup", "surname unreject", "occupation add", "occupation list", "occupation remove", "quality dismiss", "quality undo", "health", "health list", "health show", "health stop", "audit accept", "audit dismiss", "audit undo", "place answer", "place undo", "source split", "source retract", "source restore",
|