strom-research 1.31.0-beta.4 → 1.31.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 +23 -3
- package/CHANGELOG.de.md +27 -3
- package/CHANGELOG.md +24 -3
- package/CHANGELOG.pl.md +25 -3
- package/assets/lang/cs.json +6 -0
- package/assets/lang/de.json +6 -0
- package/assets/lang/pl.json +6 -0
- package/assets/method/reading.md +7 -2
- package/assets/method/recording.md +8 -1
- package/dist/brief/verify.js +5 -2
- package/dist/cli/help.js +1 -1
- package/dist/cli/menu.js +2 -2
- package/dist/cli/ui.js +1 -0
- package/dist/commands/guide.js +4 -1
- package/dist/commands/index.js +1 -0
- package/dist/commands/offline.js +3 -2
- package/dist/commands/output.js +4 -2
- package/dist/commands/session.js +2 -1
- package/dist/commands/sources.js +103 -11
- package/dist/commands/sourcesplit.js +57 -0
- package/dist/commands/tasks.js +6 -1
- package/dist/core/edge.js +2 -3
- package/dist/core/live.js +115 -10
- package/dist/core/liveged.js +4 -2
- package/dist/core/phrases.js +5 -0
- package/dist/core/queue.js +31 -9
- package/dist/core/schema.js +3 -0
- package/dist/core/sourcefields.js +178 -0
- package/dist/core/sourcesplit.js +177 -0
- package/dist/core/stromapp.js +28 -0
- package/dist/core/sync.js +141 -22
- package/dist/core/tree.js +1 -1
- package/dist/core/verify.js +3 -4
- package/dist/gedcom/export.js +29 -7
- package/dist/gedcom/validate.js +6 -2
- package/package.json +1 -1
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.31.0
|
|
9
9
|
|
|
10
|
-
*Připravuje se: bety do 1.31.0-beta.
|
|
10
|
+
*Připravuje se: bety do 1.31.0-beta.5. Oddíl bude úplný s vydáním.*
|
|
11
11
|
|
|
12
12
|
- **`strom repair` už neodstraní práci, kterou poškozená historie skrývá.** Když se dá historie gitu výzkumu číst, ale
|
|
13
13
|
je starší než jeho záznamy (cloudový disk vrátil starší `.git`, vedle něj kopie iCloudu jako `index 2`), `strom
|
|
@@ -28,7 +28,7 @@ Změny každé verze ve zkratce. Úplné poznámky a instalační řádky jsou n
|
|
|
28
28
|
kdy prohlížeč kartu kreslí, a pokračuje, jakmile ji kreslí znovu; karta nekreslená 30 s se ohlásí jako taková. Když
|
|
29
29
|
se zobrazovač mezitím přestránkuje, pod jménem jiného snímku se nic neuloží.
|
|
30
30
|
|
|
31
|
-
|
|
31
|
+
**`strom fetch` ohlásí snímek, který stojí mnoho požadavků, stejně jako `strom connector test`.** Konektor postavený
|
|
32
32
|
před verzí 1.30, který skládá každý snímek z dlaždic (sto požadavků na snímek, hodiny na knihu), stahoval bez varování.
|
|
33
33
|
Teď první snímky stahování agentovi jednou řeknou, kolik stojí jeden snímek a jak dlouho tempem archivu potrvá kniha,
|
|
34
34
|
i jak stahování na pozadí zastavit a co hledat nejdřív (jeden požadavek na snímek). Vychází z vlastního počítání
|
|
@@ -63,10 +63,30 @@ Změny každé verze ve zkratce. Úplné poznámky a instalační řádky jsou n
|
|
|
63
63
|
osob připojí ke stromu; `/status` mostu vypisuje čekající hypotézy (features `hypothesis.decide.link`,
|
|
64
64
|
`hypotheses.accept.link`).
|
|
65
65
|
|
|
66
|
+
- **Zápis se najde znovu, i když archiv změní odkazy.** Kde zápis v knize stojí, se ukládá po polích: `strom source
|
|
67
|
+
add|edit --folio` (strana nebo folio, jak je kniha čísluje, „fol. 12v“), `--image` (číslo snímku na portálu archivu)
|
|
68
|
+
a `--call-number` (signatura knihy u zápisu mimo evidované knihy), vedle `--locator` pro zbytek (číslo zápisu).
|
|
69
|
+
`strom source show` uvádí archiv, signaturu, folio a snímek pohromadě (snímek i z evidovaných skenů) a navrhne folio
|
|
70
|
+
a snímek, které jmenuje starší umístění – sám je nikdy nezapíše; stávající prameny zůstávají, jak jsou. Soubor pro
|
|
71
|
+
aplikaci Strom i jiné programy má jednu čitelnou PAGE složenou z polí („pag. 112, č. 3, snímek 57“) a signaturu jako
|
|
72
|
+
CALN; samotná pole dostane aplikace Strom od verze, která je čte (feature mostu `sources.fields`), a jejich úpravy
|
|
73
|
+
se vracejí synchronizací jako úpravy strany. Agent pole vyplňuje při zápisu a odkaz, který se už neotevře, podle
|
|
74
|
+
nich dohledá. PAGE nikdy neřekne dvě čísla snímku ani folia: jmenuje-li starší umístění jiné číslo než pole, platí v
|
|
75
|
+
ní pole (umístění samo zůstane), a `strom source edit` i `show` navrhnou zbytek umístění. Starší prameny se do polí
|
|
76
|
+
rozdělí najednou příkazem `strom source split`: náhled, čím by se každý stal (umístění, v němž se nic nerozpozná,
|
|
77
|
+
zůstane, jak je), rozdělení zapíše uživatel s `--apply` jedním krokem a jedním se i vrátí (`--undo`); agent ho jen
|
|
78
|
+
nabídne. Rozdělit se dá i z aplikace Strom, která to nabízí (funkce mostu `sources.split`): náhled řekne, kolik
|
|
79
|
+
pramenů, rozdělení se zapíše na kliknutí uživatele jedním krokem podle toho náhledu a vrátí se celé. Folio, snímek
|
|
80
|
+
nebo signaturu, které uživatel smaže v aplikaci Strom, jež tato pole uchovává, smaže i výzkum (vrátí se se
|
|
81
|
+
synchronizací); starší aplikace nesmaže nic. Když umístění neříká nic než folio a snímek, které už dávají pole,
|
|
82
|
+
navrhne `strom source show` ho vyprázdnit a `strom source edit --locator ""` to udělá.
|
|
83
|
+
|
|
66
84
|
- **Drobnosti.** Údaj, jehož ověření uživatel posunul dopředu, je v souboru pro aplikaci Strom označený jako vyžádaný,
|
|
67
85
|
takže aplikace už znovu nenabízí „Ověřit přednostně“. `strom error --note` skryje i skloňované tvary jmen a míst, která
|
|
68
86
|
výzkum zná („z Brna“, „v Praze“). `strom task wait --request` najde soubor i tehdy, když je jeho jméno zadané v jiné
|
|
69
|
-
normalizační formě Unicode (cesta napsaná na Macu, použitá na Windows).
|
|
87
|
+
normalizační formě Unicode (cesta napsaná na Macu, použitá na Windows). Co je na řadě – v menu před `strom run`
|
|
88
|
+
i ve frontě aplikace Strom – je pořadí, v jakém úkoly bere `strom run`: když přijde řada na vyprávění, je první
|
|
89
|
+
jedno vyprávění, ne všechna.
|
|
70
90
|
|
|
71
91
|
## 1.30.1
|
|
72
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.31.0
|
|
9
9
|
|
|
10
|
-
*In Vorbereitung: die Betas bis 1.31.0-beta.
|
|
10
|
+
*In Vorbereitung: die Betas bis 1.31.0-beta.5. Der Abschnitt ist mit dem Release vollständig.*
|
|
11
11
|
|
|
12
12
|
- **`strom repair` entfernt keine Arbeit mehr, die eine beschädigte Historie verbirgt.** Ist die Git-Historie einer
|
|
13
13
|
Forschung lesbar, aber älter als ihre Datensätze (ein Cloud-Laufwerk hat ein älteres `.git` zurückgelegt, daneben
|
|
@@ -32,7 +32,7 @@ Die Änderungen jeder Version in Kürze. Die vollständigen Hinweise und die Ins
|
|
|
32
32
|
zeichnet, und geht weiter, sobald er ihn wieder zeichnet; ein Tab, der 30 s nicht gezeichnet wird, wird als solcher
|
|
33
33
|
gemeldet. Wird der Betrachter inzwischen umgeblättert, wird nichts unter dem Namen eines anderen Bildes gespeichert.
|
|
34
34
|
|
|
35
|
-
|
|
35
|
+
**`strom fetch` meldet ein Bild, das viele Anfragen kostet, wie `strom connector test`.** Ein Konnektor aus der Zeit
|
|
36
36
|
vor 1.30, der jedes Bild aus Kacheln zusammensetzt (hundert Anfragen pro Bild, Stunden für ein Buch), lud ohne ein
|
|
37
37
|
Wort. Jetzt sagen die ersten Bilder eines Downloads dem Agenten einmal, was ein Bild kostet und wie lange ein Buch im
|
|
38
38
|
Tempo des Archivs dauert, dazu, wie ein Download im Hintergrund angehalten wird und wonach zuerst zu suchen ist (eine
|
|
@@ -73,11 +73,35 @@ Die Änderungen jeder Version in Kürze. Die vollständigen Hinweise und die Ins
|
|
|
73
73
|
des Agenten, was gegen jede Variante spricht und wie viele Personen sie zum Baum bringt; `/status` der Brücke nennt
|
|
74
74
|
die wartenden Hypothesen (Features `hypothesis.decide.link`, `hypotheses.accept.link`).
|
|
75
75
|
|
|
76
|
+
- **Ein Eintrag wird wiedergefunden, auch wenn das Archiv seine Links ändert.** Wo ein Eintrag im Buch steht, wird
|
|
77
|
+
Feld für Feld gespeichert: `strom source add|edit --folio` (Seite oder Folio, wie das Buch zählt, „fol. 12v“),
|
|
78
|
+
`--image` (die Bildnummer im Portal des Archivs) und `--call-number` (die Signatur des Buchs bei einem Eintrag
|
|
79
|
+
außerhalb der erfassten Bücher), neben `--locator` für den Rest (die Nummer des Eintrags). `strom source show` nennt
|
|
80
|
+
Archiv, Signatur, Folio und Bild zusammen (ein Bild auch aus den erfassten Scans) und schlägt Folio und Bild vor,
|
|
81
|
+
die eine ältere Fundstelle nennt – geschrieben werden sie nie von selbst; bestehende Quellen bleiben, wie sie sind.
|
|
82
|
+
Die Datei für die Strom-App und andere Programme hat eine lesbare PAGE aus den Feldern („pag. 112, Nr. 3, Bild 57“)
|
|
83
|
+
und die Signatur als CALN; die Felder selbst bekommt die Strom-App ab der Version, die sie liest (Funktion der
|
|
84
|
+
Brücke `sources.fields`), und ihre Änderungen kommen per Abgleich zurück wie die einer Seite. Der Agent füllt sie
|
|
85
|
+
beim Erfassen aus und findet einen Link, der sich nicht mehr öffnet, über sie wieder. Eine PAGE nennt nie zwei Bild-
|
|
86
|
+
oder Folionummern: nennt eine ältere Fundstelle eine andere als das Feld, gilt darin das Feld (die Fundstelle selbst
|
|
87
|
+
bleibt), und `strom source edit` und `show` schlagen den Rest der Fundstelle vor. Ältere Quellen werden mit `strom
|
|
88
|
+
source split` auf einmal in die Felder aufgeteilt: eine Vorschau, was aus jeder würde (eine Fundstelle, in der
|
|
89
|
+
nichts erkannt wird, bleibt, wie sie ist), die Aufteilung schreibt der Benutzer mit `--apply` als einen Schritt und
|
|
90
|
+
macht sie als einen rückgängig (`--undo`); ein Agent bietet sie nur an. Die Aufteilung geht auch aus einer
|
|
91
|
+
Strom-App, die sie anbietet (Brückenfunktion `sources.split`): ihre Vorschau sagt, wie viele Quellen, die Aufteilung
|
|
92
|
+
wird auf den Klick des Benutzers als ein Schritt nach dieser Vorschau geschrieben und ganz zurückgenommen. Ein
|
|
93
|
+
Folio, ein Bild oder eine Signatur, die der Benutzer in einer Strom-App löscht, die diese Felder behält, wird auch
|
|
94
|
+
in der Forschung gelöscht (mit der Synchronisierung rückgängig); eine ältere App löscht nichts. Sagt eine Fundstelle
|
|
95
|
+
nichts als das Folio und das Bild, die ihre Felder schon geben, schlägt `strom source show` vor, sie zu leeren, und
|
|
96
|
+
`strom source edit --locator ""` tut es.
|
|
97
|
+
|
|
76
98
|
- **Kleinigkeiten.** Eine Angabe, deren Prüfung nach vorne gerückt wurde, ist in der Datei für die Strom-App als
|
|
77
99
|
angefragt markiert, sodass die App nicht noch einmal anbietet, sie vorzuziehen. `strom error --note` verbirgt auch die
|
|
78
100
|
gebeugten Formen der Namen und Orte, die die Forschung kennt (tschechisch *z Brna*, *v Praze*). `strom task wait
|
|
79
101
|
--request` findet die Datei auch, wenn ihr Name in der anderen Unicode-Form angegeben ist (ein Pfad vom Mac, unter
|
|
80
|
-
Windows verwendet).
|
|
102
|
+
Windows verwendet). Was als Nächstes kommt – im Menü vor `strom run` und in der Warteschlange der Strom-App –, ist
|
|
103
|
+
die Reihenfolge, in der `strom run` die Aufgaben nimmt: Ist eine Erzählung an der Reihe, steht eine Erzählung vorn,
|
|
104
|
+
nicht alle.
|
|
81
105
|
|
|
82
106
|
## 1.30.1
|
|
83
107
|
|
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.31.0
|
|
9
9
|
|
|
10
|
-
*In preparation: the betas up to 1.31.0-beta.
|
|
10
|
+
*In preparation: the betas up to 1.31.0-beta.5. The section is complete with the release.*
|
|
11
11
|
|
|
12
12
|
- **`strom repair` no longer removes work a damaged history hides.** When a research's git history is readable but
|
|
13
13
|
older than its records (a cloud drive put back an older `.git`, iCloud's copies such as `index 2` beside it), `strom
|
|
@@ -28,7 +28,7 @@ The changes of each version in short. The full notes and the install lines are o
|
|
|
28
28
|
now counts only the time the browser draws the tab and goes on once it draws it again; a tab not drawn for 30 s is
|
|
29
29
|
said as that. When the viewer is paged meanwhile, nothing is saved under another image's name.
|
|
30
30
|
|
|
31
|
-
|
|
31
|
+
**`strom fetch` says an image that costs many requests, as `strom connector test` does.** A connector built before
|
|
32
32
|
1.30 that puts each image together from tiles (a hundred requests an image, hours for a book) fetched without a word.
|
|
33
33
|
Now the first images of a fetch tell the agent once what one image costs and how long a book takes at the archive's
|
|
34
34
|
pace, with how to stop a fetch in the background and what to look for first (one request an image). Taken from the
|
|
@@ -64,10 +64,31 @@ The changes of each version in short. The full notes and the install lines are o
|
|
|
64
64
|
each variant and how many people it joins to the tree; the bridge's `/status` lists the hypotheses that wait
|
|
65
65
|
(features `hypothesis.decide.link`, `hypotheses.accept.link`).
|
|
66
66
|
|
|
67
|
+
- **An entry is found again when the archive changes its links.** Where an entry stands in its book is kept field by
|
|
68
|
+
field: `strom source add|edit --folio` (the page or folio as the book numbers it, "fol. 12v"), `--image` (the
|
|
69
|
+
image's number on the archive's portal) and `--call-number` (the book's, for an entry in no record set), beside
|
|
70
|
+
`--locator` for the rest (the entry's number). `strom source show` says the archive, the call number, the folio and
|
|
71
|
+
the image together (an image also from the registered scans), and proposes the folio and image an older locator
|
|
72
|
+
names — never written by itself; existing sources stay as they are. The file for the Strom app and other programs
|
|
73
|
+
keeps one readable PAGE composed of them ("pag. 112, entry 3, image 57"), the call number as CALN; the Strom app
|
|
74
|
+
gets the fields themselves from the version that reads them (bridge feature `sources.fields`), and its edits of them
|
|
75
|
+
come back by sync like a page's. The agent fills them in as it records, and a link that no longer opens is found
|
|
76
|
+
again by them. A PAGE never says two image or folio numbers: when an older locator names another than the field, the
|
|
77
|
+
field's (the locator itself kept), and `strom source edit` and `show` propose the locator's rest. Older sources are
|
|
78
|
+
split into the fields at once by `strom source split`: a preview of what each would become (a locator in which
|
|
79
|
+
nothing is recognised stays as it is), written by the user with `--apply` as one step and undone as one (`--undo`);
|
|
80
|
+
an agent only offers it. The split is done from a Strom app that offers it too (bridge feature `sources.split`): its
|
|
81
|
+
preview says how many sources, the split is written on the user's click as one step on that preview and taken back
|
|
82
|
+
whole. A folio, image or call number the user removes in a Strom app that keeps these fields is removed in the
|
|
83
|
+
research too (undone with the sync); an older app removes nothing. When a locator says nothing but the folio and
|
|
84
|
+
image its fields give, `strom source show` proposes emptying it, and `strom source edit --locator ""` does so.
|
|
85
|
+
|
|
67
86
|
- **Smaller things.** A fact whose verification the user moved to the front is marked as asked for in the file for the
|
|
68
87
|
Strom app, so the app no longer offers to move it forward again. `strom error --note` also hides the inflected forms of
|
|
69
88
|
the names and places the research knows ("from Brno" said as *z Brna*). `strom task wait --request` finds the file
|
|
70
|
-
also when its name is given in the other Unicode form (a path typed on a Mac, used on Windows).
|
|
89
|
+
also when its name is given in the other Unicode form (a path typed on a Mac, used on Windows). What comes next — in
|
|
90
|
+
the menu before `strom run` and in the Strom app's queue — is the order `strom run` takes: at a story's turn one story
|
|
91
|
+
first, not all of them.
|
|
71
92
|
|
|
72
93
|
## 1.30.1
|
|
73
94
|
|
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.31.0
|
|
9
9
|
|
|
10
|
-
*W przygotowaniu: bety do 1.31.0-beta.
|
|
10
|
+
*W przygotowaniu: bety do 1.31.0-beta.5. Sekcja będzie kompletna z wydaniem.*
|
|
11
11
|
|
|
12
12
|
- **`strom repair` nie usuwa już pracy ukrytej przez uszkodzoną historię.** Gdy historię gita badania da się odczytać,
|
|
13
13
|
ale jest starsza niż jego rekordy (dysk w chmurze przywrócił starszy `.git`, obok kopie iCloud takie jak `index 2`),
|
|
@@ -30,7 +30,7 @@ Zmiany każdej wersji w skrócie. Pełne informacje o wydaniach i polecenia inst
|
|
|
30
30
|
znów ją rysuje; karta nierysowana przez 30 s jest zgłaszana jako taka. Gdy podgląd w międzyczasie przejdzie do
|
|
31
31
|
innego skanu, nic nie zostanie zapisane pod nazwą innego obrazu.
|
|
32
32
|
|
|
33
|
-
|
|
33
|
+
**`strom fetch` zgłasza obraz, który kosztuje wiele zapytań, tak jak `strom connector test`.** Konektor zbudowany
|
|
34
34
|
przed wersją 1.30, który składa każdy obraz z kafelków (sto zapytań na obraz, godziny na księgę), pobierał bez słowa.
|
|
35
35
|
Teraz pierwsze obrazy pobierania mówią agentowi raz, ile kosztuje jeden obraz i jak długo w tempie archiwum potrwa
|
|
36
36
|
księga, a także jak zatrzymać pobieranie w tle i czego szukać najpierw (jedno zapytanie na obraz). Liczone jest tylko
|
|
@@ -67,10 +67,32 @@ Zmiany każdej wersji w skrócie. Pełne informacje o wydaniach i polecenia inst
|
|
|
67
67
|
rozstrzygnięcie, propozycję agenta, co przemawia przeciw każdemu wariantowi i ile osób dołącza do drzewa; `/status`
|
|
68
68
|
mostu wymienia czekające hipotezy (features `hypothesis.decide.link`, `hypotheses.accept.link`).
|
|
69
69
|
|
|
70
|
+
- **Wpis da się odnaleźć, nawet gdy archiwum zmieni linki.** To, gdzie wpis stoi w księdze, jest zapisywane pole po
|
|
71
|
+
polu: `strom source add|edit --folio` (strona lub folio tak, jak numeruje je księga, „fol. 12v”), `--image` (numer
|
|
72
|
+
skanu w portalu archiwum) i `--call-number` (sygnatura księgi przy wpisie spoza zarejestrowanych ksiąg), obok
|
|
73
|
+
`--locator` na resztę (numer wpisu). `strom source show` podaje archiwum, sygnaturę, folio i skan razem (skan także
|
|
74
|
+
z zarejestrowanych obrazów) i proponuje folio i skan, które wymienia starsza lokalizacja – nigdy nie zapisuje ich
|
|
75
|
+
sam; istniejące źródła zostają bez zmian. Plik dla aplikacji Strom i innych programów ma jedną czytelną PAGE złożoną
|
|
76
|
+
z pól („pag. 112, nr 3, skan 57”) i sygnaturę jako CALN; same pola aplikacja Strom dostaje od wersji, która je czyta
|
|
77
|
+
(funkcja mostu `sources.fields`), a ich zmiany wracają przez synchronizację jak zmiany strony. Agent wypełnia je
|
|
78
|
+
przy zapisie i po nich odnajduje link, który już się nie otwiera. PAGE nigdy nie podaje dwóch numerów skanu ani
|
|
79
|
+
folio: gdy starsza lokalizacja wymienia inny numer niż pole, obowiązuje w niej pole (sama lokalizacja zostaje), a
|
|
80
|
+
`strom source edit` i `show` proponują resztę lokalizacji. Starsze źródła rozdziela się na pola naraz poleceniem
|
|
81
|
+
`strom source split`: podgląd, czym stałoby się każde (lokalizacja, w której nic nie rozpoznano, zostaje bez zmian),
|
|
82
|
+
podział zapisuje użytkownik z `--apply` jednym krokiem i jednym się go cofa (`--undo`); agent tylko go proponuje.
|
|
83
|
+
Podział można zrobić także z aplikacji Strom, która go oferuje (funkcja mostu `sources.split`): jej podgląd mówi,
|
|
84
|
+
ile źródeł, podział zapisuje się po kliknięciu użytkownika jednym krokiem według tego podglądu i cofa w całości.
|
|
85
|
+
Folio, skan lub sygnatura usunięte przez użytkownika w aplikacji Strom, która przechowuje te pola, znikają także w
|
|
86
|
+
badaniu (cofa się je z synchronizacją); starsza aplikacja niczego nie usuwa. Gdy lokalizacja nie mówi nic poza folio
|
|
87
|
+
i skanem, które dają już pola, `strom source show` proponuje ją opróżnić, a `strom source edit --locator ""` to
|
|
88
|
+
robi.
|
|
89
|
+
|
|
70
90
|
- **Drobiazgi.** Fakt, którego weryfikację przesunięto na początek, jest w pliku dla aplikacji Strom oznaczony jako
|
|
71
91
|
zamówiony, więc aplikacja nie proponuje już ponownego przesunięcia. `strom error --note` ukrywa też odmienione
|
|
72
92
|
formy imion i miejsc znanych badaniu (czeskie *z Brna*, *v Praze*). `strom task wait --request` znajduje plik także
|
|
73
|
-
wtedy, gdy jego nazwa jest podana w innej formie Unicode (ścieżka wpisana na Macu, użyta w Windows).
|
|
93
|
+
wtedy, gdy jego nazwa jest podana w innej formie Unicode (ścieżka wpisana na Macu, użyta w Windows). To, co jest
|
|
94
|
+
następne – w menu przed `strom run` i w kolejce aplikacji Strom – to kolejność, w jakiej zadania bierze `strom run`:
|
|
95
|
+
gdy przychodzi kolej na opowieść, na początku jest jedna opowieść, nie wszystkie.
|
|
74
96
|
|
|
75
97
|
## 1.30.1
|
|
76
98
|
|
package/assets/lang/cs.json
CHANGED
|
@@ -833,6 +833,11 @@
|
|
|
833
833
|
"sync.verify.done": "každý záznam dohledaný a přečtený nezávisle (snímek zaregistrovaný, strom read M… --blind): čtení se shodují → poznámka u pramene a údaje zůstávají; liší se → rozpor s oběma čteními",
|
|
834
834
|
"sync.reading.note": "Uživatel přečetl tento záznam v aplikaci Strom jinak ({source}); čtení výzkumu platí, dokud se záznam nepřečte znovu:",
|
|
835
835
|
"sync.reading.page": "strana",
|
|
836
|
+
"sync.reading.folio": "folio/strana",
|
|
837
|
+
"sync.reading.image": "snímek",
|
|
838
|
+
"sync.reading.callNumber": "signatura",
|
|
839
|
+
"sync.reading.removed": "odstraněno v aplikaci Strom (bylo {was})",
|
|
840
|
+
"source.image": "snímek",
|
|
836
841
|
"sync.title.note": "Přejmenováno v aplikaci Strom ({source}), výzkum ho mezitím přejmenoval také; platí název výzkumu – název v aplikaci:",
|
|
837
842
|
"sync.reading.text": "přepis",
|
|
838
843
|
"read.note.source.edited": "Přepis byl upraven v aplikaci Strom; čtení {read} má: {text}",
|
|
@@ -1403,6 +1408,7 @@
|
|
|
1403
1408
|
"ui.help.cmd.quality.undo": "Vzít takové označení zpět: nález se může ohlásit znovu",
|
|
1404
1409
|
"ui.help.cmd.place.answer": "Odpovědět na otázku výzkumu k místu",
|
|
1405
1410
|
"ui.help.cmd.place.undo": "Vrátit krok u míst: odpověď, odebraný název",
|
|
1411
|
+
"ui.help.cmd.source.split": "Rozdělit, kde zápisy starších pramenů stojí, na folio a snímek: náhled, pak jeden krok, který lze vrátit",
|
|
1406
1412
|
"ui.help.cmd.hypothesis.decide": "Rozhodnout nejisté spojení (hypotézu) jednou z variant, s důvodem",
|
|
1407
1413
|
"ui.help.cmd.connector.add": "Nainstalovat stahovač pro archiv ze složky nebo z adresy git",
|
|
1408
1414
|
"ui.help.cmd.connector.remove": "Odebrat stahovač pro archiv i s jeho souhlasem",
|
package/assets/lang/de.json
CHANGED
|
@@ -833,6 +833,11 @@
|
|
|
833
833
|
"sync.verify.done": "jeder Eintrag gefunden und unabhängig gelesen (Bild registriert, strom read M… --blind): die Lesungen stimmen überein → Notiz an der Quelle, die Angaben bleiben; sie weichen ab → ein Widerspruch mit beiden Lesungen",
|
|
834
834
|
"sync.reading.note": "Der Benutzer hat diesen Eintrag in der Strom-App anders gelesen ({source}); die Lesung der Forschung gilt, bis er erneut gelesen ist:",
|
|
835
835
|
"sync.reading.page": "Seite",
|
|
836
|
+
"sync.reading.folio": "Folio/Seite",
|
|
837
|
+
"sync.reading.image": "Bild",
|
|
838
|
+
"sync.reading.callNumber": "Signatur",
|
|
839
|
+
"sync.reading.removed": "in der Strom-App entfernt (war {was})",
|
|
840
|
+
"source.image": "Bild",
|
|
836
841
|
"sync.title.note": "In der Strom-App umbenannt ({source}), die Forschung hat ihn inzwischen auch umbenannt; es gilt der Titel der Forschung – der Titel in der App:",
|
|
837
842
|
"sync.reading.text": "Abschrift",
|
|
838
843
|
"read.note.source.edited": "Die Abschrift wurde in der Strom-App geändert; die Lesung {read} hat: {text}",
|
|
@@ -1403,6 +1408,7 @@
|
|
|
1403
1408
|
"ui.help.cmd.quality.undo": "Eine solche Markierung zurücknehmen: der Befund kann wieder gemeldet werden",
|
|
1404
1409
|
"ui.help.cmd.place.answer": "Die Frage der Forschung zu einem Ort beantworten",
|
|
1405
1410
|
"ui.help.cmd.place.undo": "Einen Schritt bei den Orten rückgängig machen: eine Antwort, einen entfernten Namen",
|
|
1411
|
+
"ui.help.cmd.source.split": "Die Fundstelle älterer Quellen in Folio und Bild aufteilen: eine Vorschau, dann ein Schritt, der sich rückgängig machen lässt",
|
|
1406
1412
|
"ui.help.cmd.hypothesis.decide": "Eine unsichere Verbindung (Hypothese) mit einer ihrer Varianten entscheiden, mit Begründung",
|
|
1407
1413
|
"ui.help.cmd.connector.add": "Einen Downloader für ein Archiv aus einem Ordner oder einer Git-Adresse installieren",
|
|
1408
1414
|
"ui.help.cmd.connector.remove": "Einen Downloader für ein Archiv samt seiner Zustimmung entfernen",
|
package/assets/lang/pl.json
CHANGED
|
@@ -833,6 +833,11 @@
|
|
|
833
833
|
"sync.verify.done": "każdy zapis odnaleziony i odczytany niezależnie (skan zarejestrowany, strom read M… --blind): odczyty się zgadzają → notatka przy źródle, a dane zostają; różnią się → sprzeczność z oboma odczytami",
|
|
834
834
|
"sync.reading.note": "Użytkownik odczytał ten zapis w aplikacji Strom inaczej ({source}); odczyt badania obowiązuje, dopóki zapis nie zostanie odczytany ponownie:",
|
|
835
835
|
"sync.reading.page": "strona",
|
|
836
|
+
"sync.reading.folio": "folio/strona",
|
|
837
|
+
"sync.reading.image": "skan",
|
|
838
|
+
"sync.reading.callNumber": "sygnatura",
|
|
839
|
+
"sync.reading.removed": "usunięto w aplikacji Strom (było {was})",
|
|
840
|
+
"source.image": "skan",
|
|
836
841
|
"sync.title.note": "Zmieniono nazwę w aplikacji Strom ({source}), a badanie w międzyczasie również ją zmieniło; obowiązuje nazwa z badania – nazwa w aplikacji:",
|
|
837
842
|
"sync.reading.text": "transkrypcja",
|
|
838
843
|
"read.note.source.edited": "Transkrypcję zmieniono w aplikacji Strom; odczyt {read} ma: {text}",
|
|
@@ -1403,6 +1408,7 @@
|
|
|
1403
1408
|
"ui.help.cmd.quality.undo": "Cofnąć takie oznaczenie: wynik może zostać zgłoszony ponownie",
|
|
1404
1409
|
"ui.help.cmd.place.answer": "Odpowiedzieć na pytanie badania o miejsce",
|
|
1405
1410
|
"ui.help.cmd.place.undo": "Cofnąć krok dotyczący miejsc: odpowiedź, usuniętą nazwę",
|
|
1411
|
+
"ui.help.cmd.source.split": "Rozdzielić miejsce wpisów starszych źródeł na folio i obraz: podgląd, potem jeden krok, który można cofnąć",
|
|
1406
1412
|
"ui.help.cmd.hypothesis.decide": "Rozstrzygnąć niepewne połączenie (hipotezę) jednym z wariantów, z uzasadnieniem",
|
|
1407
1413
|
"ui.help.cmd.connector.add": "Zainstalować program pobierający dla archiwum z folderu lub adresu git",
|
|
1408
1414
|
"ui.help.cmd.connector.remove": "Usunąć program pobierający dla archiwum wraz z jego zgodą",
|
package/assets/method/reading.md
CHANGED
|
@@ -76,12 +76,17 @@ never open again a view cleared from your context — your notes hold it.
|
|
|
76
76
|
- **Report image by image, as you go**: the image and page, what was found (or
|
|
77
77
|
nothing), what was illegible and where, the hand, how sure each name is.
|
|
78
78
|
- **Cite the image, and where the entry is on it**: `strom source add …
|
|
79
|
-
--clip B0001:57@0.05,0.40,0.45,0.18 --
|
|
80
|
-
crop you read it in, as its view prints it; a searched range goes in
|
|
79
|
+
--clip B0001:57@0.05,0.40,0.45,0.18 --folio "pag. 112" --locator "2nd entry"`
|
|
80
|
+
— the crop you read it in, as its view prints it; a searched range goes in
|
|
81
81
|
`strom search add … --pages 40-69`. Pages missing from the book (the
|
|
82
82
|
numbering jumps) were not searched: say so in `--note` (strom read puts the
|
|
83
83
|
gaps its readers saw there), or leave them out of the range
|
|
84
84
|
(`--pages 40-52,55-69`).
|
|
85
|
+
- **A link that no longer opens its entry**: find it again by the archive,
|
|
86
|
+
call number, folio and image `strom source show S…` gives (an image number
|
|
87
|
+
may shift by a few, a folio does not), through strom only, then
|
|
88
|
+
`strom source edit S… --url <its page now> [--image <n>] --reason "…"`,
|
|
89
|
+
with the locator's rest where strom proposes it (`--locator "…"`).
|
|
85
90
|
<!-- for verify enrich intake -->
|
|
86
91
|
- Page ↔ image: `strom recordset calibrate B0001 --point 57=112` (measured on
|
|
87
92
|
the image, never guessed); then `strom media view B0001 --page 112` works.
|
|
@@ -8,7 +8,7 @@ the shell run strom, not edit files), run it again. `#name` labels what a line
|
|
|
8
8
|
creates, `@name` uses it later; a found search comes after the source it found
|
|
9
9
|
(`--found @s`).
|
|
10
10
|
|
|
11
|
-
source add "Baptism of Jan Novák 1885" --kind baptism --recordset B0001 --clip B0001:57@0.05,0.40,0.45,0.18 --
|
|
11
|
+
source add "Baptism of Jan Novák 1885" --kind baptism --recordset B0001 --clip B0001:57@0.05,0.40,0.45,0.18 --folio "pag. 112" --locator "entry 2" --language la --information primary --transcript @notes/entry.txt #s
|
|
12
12
|
event add P0001 CHR --date "25 JUN 1885" --place "Týnec" --house 13 --cite @s --quote "baptizatus est" --with "godparent:Marie Dvořáková" --with "midwife:Anna Nová" --with "officiant:P. Josef Kříž" --status proven
|
|
13
13
|
cite E0001 @s --quote "natus 24. Junii" --status proven
|
|
14
14
|
name add P0002 "Marie /Svobodová/" --kind birth --cite @s --quote "Maria filia Josephi Svoboda"
|
|
@@ -22,6 +22,13 @@ creates, `@name` uses it later; a found search comes after the source it found
|
|
|
22
22
|
the Strom app shows the entry cut out of the scan next to its words. Every
|
|
23
23
|
entry read from a scan gets it when it is recorded — you have the entry in
|
|
24
24
|
front of you; strom reminds you of one without it (source add, task done).
|
|
25
|
+
- Where the entry stands, field by field, so it is found again when a link
|
|
26
|
+
stops working: `--folio` the page or folio as the book numbers it, with its
|
|
27
|
+
word ("pag. 112", "fol. 12v"); `--locator` the rest (the entry's number, a
|
|
28
|
+
column); `--image` the image's number only for an entry with no registered
|
|
29
|
+
image (the clip gives it); `--call-number` for an entry in no record set.
|
|
30
|
+
Older sources whose locator names them: `strom source split` previews them
|
|
31
|
+
all; offer it to the user (`--apply` is theirs), never confirm it yourself.
|
|
25
32
|
- `--transcript` is the entry's words as they stand in it — its own language,
|
|
26
33
|
spelling and abbreviations, line by line, unread letters `[?]`; the Strom app
|
|
27
34
|
shows them next to the entry's image. Every entry read gets them.
|
package/dist/brief/verify.js
CHANGED
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
// the user confirmed against the scan never changed. A search (verify:search, a bulk one's of a family tree's leads):
|
|
6
6
|
// the record the citation names found and cited first, within the archives' terms.
|
|
7
7
|
import { regionText } from "../core/media.js";
|
|
8
|
+
import { composedPage } from "../core/sourcefields.js";
|
|
8
9
|
import { setsWithImages } from "../core/mediaindex.js";
|
|
9
10
|
import { provesIt } from "../core/evidence.js";
|
|
10
11
|
import { langName } from "../core/lang.js";
|
|
@@ -22,7 +23,9 @@ function sourceLine(tree, id, original, withImages) {
|
|
|
22
23
|
const s = tree.get(id);
|
|
23
24
|
if (!s || s.type !== "source")
|
|
24
25
|
return ` ${id} (no longer there)`;
|
|
25
|
-
|
|
26
|
+
// where the entry stands: the folio and the image (given) the locator does not say, the locator
|
|
27
|
+
const where = composedPage(s, "en");
|
|
28
|
+
const head = ` ${s.id} ${s.title}${where ? ` · ${where}` : ""}${original ? "" : ` · ${s.kind}, not the original`}`;
|
|
26
29
|
if (!original)
|
|
27
30
|
return head;
|
|
28
31
|
const looks = [];
|
|
@@ -36,7 +39,7 @@ function sourceLine(tree, id, original, withImages) {
|
|
|
36
39
|
if (looks.length)
|
|
37
40
|
return `${head}\n the entry: ${looks.join(" · ")}`;
|
|
38
41
|
if (s.recordset && withImages.has(s.recordset))
|
|
39
|
-
return `${head}\n the book ${s.recordset} is here: find the image of ${
|
|
42
|
+
return `${head}\n the book ${s.recordset} is here: find the image of ${where ?? "the entry"} (strom source show ${s.id}), then strom media view ${s.recordset}:<n>`;
|
|
40
43
|
return `${head}\n no image of it here${s.recordset ? ` (${s.recordset})` : ""}: fetched only within the archive's terms (strom fetch … --recordset ${s.recordset ?? "B…"}), else --kept --reason`;
|
|
41
44
|
}
|
|
42
45
|
/** One line of each fact of the task, the sources it cites under it. */
|
package/dist/cli/help.js
CHANGED
|
@@ -233,7 +233,7 @@ export const HUMAN_COMMANDS = [
|
|
|
233
233
|
"stats", "recent", "plan", "history", "history back", "person card", "person list", "pedigree", "find", "doc",
|
|
234
234
|
"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",
|
|
235
235
|
"fixes", "fixes show", "fixes run", "fixes decline", "fixes reopen", "fixes undo", "fixes review", "media calibrate",
|
|
236
|
-
"surname accept", "surname reject", "surname group", "surname ungroup", "surname unreject", "quality dismiss", "quality undo", "place answer", "place undo",
|
|
236
|
+
"surname accept", "surname reject", "surname group", "surname ungroup", "surname unreject", "quality dismiss", "quality undo", "place answer", "place undo", "source split",
|
|
237
237
|
"config get", "config set", "login", "connector add", "connector remove", "connector use", "link on", "link off", "hook on", "hook off",
|
|
238
238
|
];
|
|
239
239
|
function humanOf(name, as) {
|
package/dist/cli/menu.js
CHANGED
|
@@ -26,7 +26,7 @@ import { newerVersion } from "../core/update.js";
|
|
|
26
26
|
import { taskQueue } from "../commands/tasks.js";
|
|
27
27
|
import { humanTask } from "../commands/browse.js";
|
|
28
28
|
import { loadGate } from "../core/gate.js";
|
|
29
|
-
import { lacksImages } from "../core/queue.js";
|
|
29
|
+
import { lacksImages, RUN_TURNS } from "../core/queue.js";
|
|
30
30
|
import { forHistory, historyOn } from "../core/pastevents.js";
|
|
31
31
|
import { othersAtWork } from "../core/session.js";
|
|
32
32
|
import { DEFAULT_RUN_MINUTES } from "../core/config.js";
|
|
@@ -326,7 +326,7 @@ export async function runMenu(ctx, run) {
|
|
|
326
326
|
// their pace (the places to map before the research), without what others hold.
|
|
327
327
|
const fresh = Tree.open(root, ctx.env);
|
|
328
328
|
const held = othersAtWork(fresh, fresh.env).tasks;
|
|
329
|
-
const queue = taskQueue(fresh, { strategy: ctx.settings.strategy(fresh.config),
|
|
329
|
+
const queue = taskQueue(fresh, { strategy: ctx.settings.strategy(fresh.config), ...RUN_TURNS }).filter((x) => !held.has(x.id));
|
|
330
330
|
const shown = queue.slice(0, RUN_LIST);
|
|
331
331
|
// The tasks of history alone, in their order whatever its pace (strom run --history): only while it is on.
|
|
332
332
|
const history = historyOn(fresh, ctx.settings) ? taskQueue(fresh, { strategy: ctx.settings.strategy(fresh.config), history: "only" }).filter((x) => !held.has(x.id)) : [];
|
package/dist/cli/ui.js
CHANGED
|
@@ -1150,6 +1150,7 @@ export const UI = {
|
|
|
1150
1150
|
"ui.help.cmd.quality.undo": "Take back such a mark: the finding may be reported again",
|
|
1151
1151
|
"ui.help.cmd.place.answer": "Answer the research's question about a place",
|
|
1152
1152
|
"ui.help.cmd.place.undo": "Undo a step on places: an answer, a name taken off",
|
|
1153
|
+
"ui.help.cmd.source.split": "Split where the older sources' entries stand into folio and image: a preview, then one step that can be undone",
|
|
1153
1154
|
"ui.help.cmd.hypothesis.decide": "Decide an uncertain connection (a hypothesis) by one of its variants, with a reason",
|
|
1154
1155
|
"ui.help.cmd.connector.add": "Install a downloader for an archive from a folder or a git address",
|
|
1155
1156
|
"ui.help.cmd.connector.remove": "Remove a downloader for an archive, its consent with it",
|
package/dist/commands/guide.js
CHANGED
|
@@ -173,7 +173,7 @@ conversation opened anywhere, a bot on its own server)
|
|
|
173
173
|
|
|
174
174
|
RECORDING
|
|
175
175
|
A record (register entry, certificate) — the source first, then its facts:
|
|
176
|
-
strom source add "Křest Jana Nováka 1885" --kind baptism --recordset B0001 --clip B0001:12@0.05,0.40,0.45,0.18 --
|
|
176
|
+
strom source add "Křest Jana Nováka 1885" --kind baptism --recordset B0001 --clip B0001:12@0.05,0.40,0.45,0.18 --folio "fol. 12" --locator "č. 3" --form original --information primary --transcript @zapis.txt
|
|
177
177
|
strom person add "Jan /Novák/" --sex M --born "24 JUN 1885" --born-place "Kamenice nad Lipou" --cite S0001
|
|
178
178
|
strom family add --partner P0002 --partner P0003 --child P0001 the baptism naming the parents proves the link
|
|
179
179
|
strom event add P0001 CHR --date "25 JUN 1885" --cite S0001 --locator "fol. 12" --with "godparent:Marie Dvořáková" --status proven
|
|
@@ -188,6 +188,9 @@ Corrections — a person, a fact, a source:
|
|
|
188
188
|
strom person edit P0003 --sex F --name "…" --reason "…"
|
|
189
189
|
strom event edit E0001 --date "…" --reason "…"
|
|
190
190
|
strom source edit S0001 --locator "…" --reason "…" (filling in, e.g. --translation, needs no reason)
|
|
191
|
+
A link that no longer opens its entry: found again by the archive, call number, folio and image (strom source show S0001),
|
|
192
|
+
then strom source edit S0001 --url <its page now> --reason "…" (a locator that names the folio or image too: its rest
|
|
193
|
+
with it, --locator "…", as strom source show proposes).
|
|
191
194
|
Lessons — a quirk of a book, an archive or a place, for whoever works with it next (strom lesson add "…" --on B…);
|
|
192
195
|
one found wrong or out of date is corrected, never added again:
|
|
193
196
|
strom lesson edit K0001 --rule "…" --reason "…"
|
package/dist/commands/index.js
CHANGED
package/dist/commands/offline.js
CHANGED
|
@@ -10,7 +10,7 @@ import { update, requireRecord } from "../core/records.js";
|
|
|
10
10
|
import { detectAgent } from "../core/which.js";
|
|
11
11
|
import { refuseInArchive } from "../core/state.js";
|
|
12
12
|
import { answerBranch, BRANCH_MODES, branchJson, branchKey, branchOf, offLineJson, offLineView, readOffline, setBranch } from "../core/offline.js";
|
|
13
|
-
import { ownTurn,
|
|
13
|
+
import { ownTurn, runOrder } from "../core/queue.js";
|
|
14
14
|
import { resolveResearch } from "./research.js";
|
|
15
15
|
import { rankData } from "./tasks.js";
|
|
16
16
|
const who = (tree, id) => {
|
|
@@ -196,7 +196,8 @@ register({
|
|
|
196
196
|
/** The task as the queue has it now (its why, its branch, the person's turn); not in the queue: the task alone. */
|
|
197
197
|
function taskTurn(ctx, tree, id) {
|
|
198
198
|
const t = tree.get(id);
|
|
199
|
-
|
|
199
|
+
// its place as strom run would take it, as the Strom app shows the queue (core/queue.ts runOrder)
|
|
200
|
+
const ranked = runOrder(tree, tree.list("task"), ctx.settings.strategy(tree.config));
|
|
200
201
|
const at = ranked.findIndex((r) => r.task.id === id);
|
|
201
202
|
const r = ranked[at];
|
|
202
203
|
return { task: t, ...(r ? { why: r.why, ...rankData(r), place: at + 1 } : {}) };
|
package/dist/commands/output.js
CHANGED
|
@@ -13,7 +13,7 @@ import { UsageError } from "../core/errors.js";
|
|
|
13
13
|
import { excerptSettings, planExcerpts } from "../core/excerpt.js";
|
|
14
14
|
import { runGit, tracked } from "../core/git.js";
|
|
15
15
|
import { Settings } from "../core/config.js";
|
|
16
|
-
import { appKnowsArchive, appKnowsNoCouple, appShowsHypothesisDecider, appShowsHypothesisLinks, appShowsReadings, appShowsOmittedImages, appDecidesConflicts, appOpensLinks, appReadsTitles, appShowsCoupleEvents, appShowsEdges, appShowsSourceReads, appShowsFactStatus, appShowsStoryDrafts, appTurnsExcerpts, appReadsSurnameGroups, appReadsLines, appReadsPlaceRecords, appShowsOrigin, appShowsVerify, appConfirmsTranscripts, appReadsSourcesAgain, appShowsResearchTable, appDecidesHypotheses } from "../core/stromapp.js";
|
|
16
|
+
import { appKnowsArchive, appKnowsNoCouple, appShowsHypothesisDecider, appShowsHypothesisLinks, appShowsReadings, appShowsOmittedImages, appDecidesConflicts, appOpensLinks, appReadsTitles, appShowsCoupleEvents, appShowsEdges, appShowsSourceReads, appShowsFactStatus, appShowsStoryDrafts, appTurnsExcerpts, appReadsSurnameGroups, appReadsLines, appReadsPlaceRecords, appShowsOrigin, appShowsVerify, appConfirmsTranscripts, appReadsSourcesAgain, appShowsResearchTable, appDecidesHypotheses, appReadsSourceFields } from "../core/stromapp.js";
|
|
17
17
|
import { tableMarks } from "../core/tablemarks.js";
|
|
18
18
|
import { surnamesForExport } from "../core/surnames.js";
|
|
19
19
|
import { actsAsArchive } from "../core/state.js";
|
|
@@ -119,10 +119,12 @@ export function writeTreeGed(tree, opts) {
|
|
|
119
119
|
const verify = opts.for === "strom" && appShowsVerify(new Settings(tree.env, {}), opts.stromVersion) ? verifyMarks(tree) : undefined;
|
|
120
120
|
// …and the research in its table: each person's places among the lines, what waits outside, who it added
|
|
121
121
|
const table = opts.for === "strom" && appShowsResearchTable(new Settings(tree.env, {}), opts.stromVersion) ? tableMarks(tree) : undefined;
|
|
122
|
+
// …and each source's location field by field (folio, image, the rest), for an app that reads them
|
|
123
|
+
const sourceFields = opts.for === "strom" && appReadsSourceFields(new Settings(tree.env, {}), opts.stromVersion);
|
|
122
124
|
// …and which sources can be read again from their original here, for an app that offers it (never in an archive)
|
|
123
125
|
const shared = new Settings(tree.env, {}).shared()?.value;
|
|
124
126
|
const original = opts.for === "strom" && appReadsSourcesAgain(new Settings(tree.env, {}), opts.stromVersion) && !actsAsArchive(tree) ? (s) => readsAgain(tree, shared, s) : undefined;
|
|
125
|
-
const result = exportGedcom(tree, { for: opts.for, ...(surnameGroups ? { surnameGroups } : {}), ...(lines ? { lines } : {}), ...(placeRecords ? { placeRecords } : {}), ...(origins ? { origins } : {}), ...(verify ? { verify } : {}), ...(table ? { table } : {}), stromVersion: opts.stromVersion, ...(persons ? { persons } : {}), ...(images ? { excerpts: images.of } : {}), ...(clips ? { clips } : {}), ...(research ? { research } : {}), ...(edges ? { edges } : {}), ...(storyDrafts ? { storyDrafts } : {}), ...(coupleResi ? { coupleResi } : {}), ...(sourceReads ? { sourceReads } : {}), ...(confirms ? { confirms } : {}), ...(factStatus ? { factStatus } : {}), ...(archive ? { archive } : {}), ...(turnsExcerpts ? { turnsExcerpts } : {}), ...(noCouple ? { noCouple } : {}), ...(titles ? { titles } : {}), ...(hypothesisLinks ? { hypothesisLinks } : {}), ...(hypothesisDecider ? { hypothesisDecider } : {}), ...(hypothesisPick ? { hypothesisPick } : {}), ...(conflictSides ? { conflictSides } : {}), ...(readings ? { readings } : {}), ...(original ? { original } : {}), ...(omitted ? { omitted: images.omitted } : {}) });
|
|
127
|
+
const result = exportGedcom(tree, { for: opts.for, ...(surnameGroups ? { surnameGroups } : {}), ...(lines ? { lines } : {}), ...(placeRecords ? { placeRecords } : {}), ...(origins ? { origins } : {}), ...(verify ? { verify } : {}), ...(table ? { table } : {}), ...(sourceFields ? { sourceFields } : {}), stromVersion: opts.stromVersion, ...(persons ? { persons } : {}), ...(images ? { excerpts: images.of } : {}), ...(clips ? { clips } : {}), ...(research ? { research } : {}), ...(edges ? { edges } : {}), ...(storyDrafts ? { storyDrafts } : {}), ...(coupleResi ? { coupleResi } : {}), ...(sourceReads ? { sourceReads } : {}), ...(confirms ? { confirms } : {}), ...(factStatus ? { factStatus } : {}), ...(archive ? { archive } : {}), ...(turnsExcerpts ? { turnsExcerpts } : {}), ...(noCouple ? { noCouple } : {}), ...(titles ? { titles } : {}), ...(hypothesisLinks ? { hypothesisLinks } : {}), ...(hypothesisDecider ? { hypothesisDecider } : {}), ...(hypothesisPick ? { hypothesisPick } : {}), ...(conflictSides ? { conflictSides } : {}), ...(readings ? { readings } : {}), ...(original ? { original } : {}), ...(omitted ? { omitted: images.omitted } : {}) });
|
|
126
128
|
const findings = validateGedcom(result.text, opts.for === "standard" ? { strict: true } : {});
|
|
127
129
|
const file = opts.out ?? gedFile(tree, opts.for, opts.research);
|
|
128
130
|
if (!hasGedErrors(findings) && !tree.dryRun) {
|
package/dist/commands/session.js
CHANGED
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
// hands the brief to an agent CLI as a child process, waits for it to exit,
|
|
5
5
|
// closes what the agent left open, exports the GEDCOM and commits. Between
|
|
6
6
|
// sessions not a single token is spent.
|
|
7
|
+
import { RUN_TURNS } from "../core/queue.js";
|
|
7
8
|
import { queueVerify } from "../core/verify.js";
|
|
8
9
|
import { opsLogsOf } from "../core/opslog.js";
|
|
9
10
|
import fs from "node:fs";
|
|
@@ -942,7 +943,7 @@ register(updatedDuringRun({
|
|
|
942
943
|
// Working alone: now and then a story's turn (in a conversation the user leads); the tasks of history after the
|
|
943
944
|
// research, and now and then one of them first — how often is experiments.historyPace (core/pastevents.ts
|
|
944
945
|
// historyTurn), or with --history those alone in their order; the gate, if any, decides whether a session starts at all.
|
|
945
|
-
const free = () => taskQueue(tree, { ...(research ? { research: research.id } : {}), strategy: ctx.settings.strategy(tree.config),
|
|
946
|
+
const free = () => taskQueue(tree, { ...(research ? { research: research.id } : {}), strategy: ctx.settings.strategy(tree.config), ...(historyOnly ? { history: "only" } : RUN_TURNS) }).find((t) => !others.has(t.id));
|
|
946
947
|
let task;
|
|
947
948
|
if (placesOnly) {
|
|
948
949
|
task = tree.list("task").find((t) => t.origin === PLACES_IDENTIFY_ORIGIN && (t.state === "open" || t.state === "doing") && !others.has(t.id));
|