strom-research 1.32.0-beta.1 → 1.32.0-beta.3
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 +12 -4
- package/CHANGELOG.de.md +13 -4
- package/CHANGELOG.md +12 -4
- package/CHANGELOG.pl.md +13 -4
- package/assets/lang/cs.json +43 -17
- package/assets/lang/de.json +43 -17
- package/assets/lang/pl.json +43 -17
- package/dist/agents/files.js +18 -8
- package/dist/agents/global.js +8 -3
- package/dist/cli/execute.js +13 -0
- package/dist/cli/help.js +14 -3
- package/dist/cli/menu-links.js +73 -1
- package/dist/cli/menu-settings.js +48 -46
- package/dist/cli/ui.js +43 -17
- package/dist/commands/analysis.js +1 -1
- package/dist/commands/guide.js +12 -6
- package/dist/commands/index.js +1 -1
- package/dist/commands/links.js +10 -0
- package/dist/commands/offline.js +35 -13
- package/dist/commands/{facts.js → query.js} +158 -80
- package/dist/commands/session.js +40 -3
- package/dist/commands/start.js +1 -1
- package/dist/core/gate.js +12 -0
- package/dist/core/links.js +27 -2
- package/dist/core/live.js +195 -19
- package/dist/core/{facts.js → query.js} +134 -5
- package/dist/core/queue.js +40 -9
- package/dist/core/searchtext.js +1 -1
- package/dist/core/tree.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.cs.md
CHANGED
|
@@ -7,9 +7,9 @@ Změny každé verze ve zkratce. Úplné poznámky a instalační řádky jsou n
|
|
|
7
7
|
|
|
8
8
|
## 1.32.0
|
|
9
9
|
|
|
10
|
-
*Připravuje se: bety do 1.32.0-beta.
|
|
10
|
+
*Připravuje se: bety do 1.32.0-beta.3. Oddíl bude úplný s vydáním.*
|
|
11
11
|
|
|
12
|
-
- **Otázky nad rodokmenem jedním voláním: `strom
|
|
12
|
+
- **Otázky nad rodokmenem jedním voláním: `strom query`.** Kolik mlynářů je v rodu, kdo žil v čísle 12, kdo se
|
|
13
13
|
narodil ve Lhotě v 18. století: řádek za každý údaj osoby s hodnotou, místem, číslem popisným, datem, jistotou
|
|
14
14
|
a prameny. Filtry podle druhu, povolání, hodnoty, místa, čísla, let, příjmení (i jeho dalších tvarů), pramene a stavu;
|
|
15
15
|
čí údaje: přímá linie, pokrevní příbuzní (výchozí, i boční větve), i s partnery, nebo celý strom. `--count`
|
|
@@ -19,10 +19,18 @@ Změny každé verze ve zkratce. Úplné poznámky a instalační řádky jsou n
|
|
|
19
19
|
jak to říká kalkulačka vztahů aplikace Strom.
|
|
20
20
|
- **Povolání i v českých, německých, latinských a polských tvarech:** mlynar najde i Müller a molitor; osoby se slovem
|
|
21
21
|
jen ve jméně nebo poznámce se počítají zvlášť, se `strom find`, který je najde.
|
|
22
|
-
- **
|
|
23
|
-
|
|
22
|
+
- **I vyprávění: `strom query --story <slovo>`** vypíše osoby a páry, v jejichž vyprávění slovo je, každou s větou
|
|
23
|
+
a prameny, o které se opírá, se stejnými filtry, počty i skupinami.
|
|
24
|
+
- **Agent odpovídá na otázky nad rodokmenem příkazem `strom query`,** se jménem a ID osoby v závorce (aby šla otevřít v
|
|
25
|
+
aplikaci Strom), celým vztahem a pramenem jeho názvem, a říká, jak jistý je každý údaj: vodítko ani pravděpodobný údaj
|
|
26
|
+
nikdy jako fakt. Vyprávění jen ukazuje, kde hledat; čí je zápis, kdo je kdo a ověřování údajů jde dál jako dosud, z
|
|
27
|
+
pramenů.
|
|
24
28
|
- **Číslo domu zapsané i se slovem** (č. 7, Nr. 7) už nemá slovo dvakrát, ani na kartě osoby.
|
|
25
29
|
- **`strom app --person P…`** otevře aplikaci Strom na této osobě stromu (aplikace před 3.21 otevře strom).
|
|
30
|
+
- **Fronta z aplikace Strom:** hledání v celé frontě (číslo úkolu nebo osoby, jméno, slova úkolu, jeho kniha, archiv nebo
|
|
31
|
+
místo, bez ohledu na diakritiku; hledaný text se nikam neukládá); „jako další“ dá naposledy zvolený úkol první a jde
|
|
32
|
+
přesně vrátit; práce na frontě otevře terminál, který ukáže, co se pustí, a spustí to až po „ano“ – určitý počet úkolů
|
|
33
|
+
(`strom run --tasks N`, skončí po N vyřízených), nebo samostatnou práci jen pod podmínkou.
|
|
26
34
|
|
|
27
35
|
## 1.31.1
|
|
28
36
|
|
package/CHANGELOG.de.md
CHANGED
|
@@ -7,9 +7,9 @@ Die Änderungen jeder Version in Kürze. Die vollständigen Hinweise und die Ins
|
|
|
7
7
|
|
|
8
8
|
## 1.32.0
|
|
9
9
|
|
|
10
|
-
*In Vorbereitung: die Betas bis 1.32.0-beta.
|
|
10
|
+
*In Vorbereitung: die Betas bis 1.32.0-beta.3. Der Abschnitt ist mit dem Release vollständig.*
|
|
11
11
|
|
|
12
|
-
- **Fragen an den Stammbaum mit einem Aufruf: `strom
|
|
12
|
+
- **Fragen an den Stammbaum mit einem Aufruf: `strom query`.** Wie viele Müller es in der Familie gibt, wer im Haus 12
|
|
13
13
|
wohnte, wer im 18. Jahrhundert in Lhota geboren wurde: eine Zeile je Angabe einer Person mit Wert, Ort, Hausnummer,
|
|
14
14
|
Datum, Sicherheit und Quellen. Filter nach Art, Beruf, Wert, Ort, Hausnummer, Jahren, Nachname (auch seinen anderen
|
|
15
15
|
Formen), Quelle und Status; wessen Angaben: die direkte Linie, die Blutsverwandten (Standard, auch Seitenlinien), mit
|
|
@@ -20,10 +20,19 @@ Die Änderungen jeder Version in Kürze. Die vollständigen Hinweise und die Ins
|
|
|
20
20
|
- **Berufe auch in ihren tschechischen, deutschen, lateinischen und polnischen Formen:** mlynar findet auch Müller und
|
|
21
21
|
molitor; Personen mit dem Wort nur im Namen oder in einer Notiz werden getrennt gezählt, mit dem `strom find`, das sie
|
|
22
22
|
findet.
|
|
23
|
-
- **
|
|
24
|
-
|
|
23
|
+
- **Auch die Erzählungen: `strom query --story <Wort>`** nennt die Personen und Paare, in deren Erzählung das Wort
|
|
24
|
+
steht, jede mit dem Satz und den Quellen, auf die er sich stützt, mit denselben Filtern, Zählungen und Gruppen.
|
|
25
|
+
- **Der Agent beantwortet Fragen an den Stammbaum mit `strom query`,** mit dem Namen und der ID jeder Person in Klammern
|
|
26
|
+
(zum Öffnen in der Strom-App), der ganzen Verwandtschaft und der Quelle mit ihrem Titel, und sagt, wie sicher jede
|
|
27
|
+
Angabe ist: ein Hinweis oder eine wahrscheinliche Angabe nie als Tatsache. Eine Erzählung zeigt nur, wo zu suchen ist;
|
|
28
|
+
wem ein Eintrag gehört, wer wer ist und das Prüfen der Angaben geht weiter wie bisher, aus den Quellen.
|
|
25
29
|
- **Eine Hausnummer mit eigenem Wort** (č. 7, Nr. 7) zeigt das Wort nicht mehr doppelt, auch auf der Karte einer Person.
|
|
26
30
|
- **`strom app --person P…`** öffnet die Strom-App bei dieser Person des Baums (eine App vor 3.21 öffnet den Baum).
|
|
31
|
+
- **Die Warteschlange aus der Strom-App:** Suche in der ganzen Warteschlange (Nummer einer Aufgabe oder Person, Name,
|
|
32
|
+
Wörter der Aufgabe, ihr Buch, Archiv oder Ort, ohne Rücksicht auf diakritische Zeichen; der gesuchte Text wird nirgends
|
|
33
|
+
gespeichert); „Als Nächstes“ setzt die zuletzt gewählte Aufgabe an die Spitze und lässt sich genau zurücksetzen; Arbeit
|
|
34
|
+
an der Warteschlange öffnet ein Terminal, das zeigt, was startet, und es erst nach einem Ja startet – eine Anzahl
|
|
35
|
+
Aufgaben (`strom run --tasks N`, endet nach N erledigten) oder selbstständige Arbeit nur unter einer Bedingung.
|
|
27
36
|
|
|
28
37
|
## 1.31.1
|
|
29
38
|
|
package/CHANGELOG.md
CHANGED
|
@@ -7,9 +7,9 @@ The changes of each version in short. The full notes and the install lines are o
|
|
|
7
7
|
|
|
8
8
|
## 1.32.0
|
|
9
9
|
|
|
10
|
-
*In preparation: the betas up to 1.32.0-beta.
|
|
10
|
+
*In preparation: the betas up to 1.32.0-beta.3. The section is complete with the release.*
|
|
11
11
|
|
|
12
|
-
- **Questions over the family tree in one call: `strom
|
|
12
|
+
- **Questions over the family tree in one call: `strom query`.** How many millers in the family, who lived at house 12,
|
|
13
13
|
who was born in Lhota in the 18th century: one row per fact of a person with its value, place, house, date, how sure
|
|
14
14
|
it is and its sources. Filters by kind, occupation, value, place, house, years, surname (its other forms too), source
|
|
15
15
|
and status; whose facts: the direct line, the blood relatives (the default, side branches too), with their partners,
|
|
@@ -19,10 +19,18 @@ The changes of each version in short. The full notes and the install lines are o
|
|
|
19
19
|
father's, the mother's) and the generation, as the Strom app's relationship finder says it.
|
|
20
20
|
- **Occupations in their Czech, German, Latin and Polish forms:** mlynar finds Müller and molitor too; people with the
|
|
21
21
|
word only in a name or a note are counted apart, with the `strom find` that finds them.
|
|
22
|
-
- **The
|
|
23
|
-
|
|
22
|
+
- **The stories too: `strom query --story <word>`** gives the people and couples whose story holds the word, each with
|
|
23
|
+
the sentence and the sources it rests on, with the same filters, counts and groups.
|
|
24
|
+
- **The agent answers questions over the tree with `strom query`,** with each person's name and ID in brackets (to open
|
|
25
|
+
them in the Strom app), the relation whole and the source by its title, and says how sure each fact is: a lead or a
|
|
26
|
+
probable one never as a fact. A story only shows where to look; whose a record is, who a person is and verifying facts
|
|
27
|
+
go on as before, from the records.
|
|
24
28
|
- **A house written with its own word** (č. 7, Nr. 7) no longer shows the word twice, on a person's card too.
|
|
25
29
|
- **`strom app --person P…`** opens the Strom app on that person of the tree (an app before 3.21 opens the tree).
|
|
30
|
+
- **The queue from the Strom app:** a search in the whole queue (a task's or a person's number, a name, words of the task,
|
|
31
|
+
its book, archive or place, without regard to accents; the searched words kept nowhere); "next" puts the last chosen
|
|
32
|
+
first and can be put back exactly; work on the queue opens a terminal that shows what will start and starts it only
|
|
33
|
+
on a yes — a number of tasks (`strom run --tasks N`, ends after N settled), or work on its own only under a gate.
|
|
26
34
|
|
|
27
35
|
## 1.31.1
|
|
28
36
|
|
package/CHANGELOG.pl.md
CHANGED
|
@@ -7,9 +7,9 @@ Zmiany każdej wersji w skrócie. Pełne informacje o wydaniach i polecenia inst
|
|
|
7
7
|
|
|
8
8
|
## 1.32.0
|
|
9
9
|
|
|
10
|
-
*W przygotowaniu: bety do 1.32.0-beta.
|
|
10
|
+
*W przygotowaniu: bety do 1.32.0-beta.3. Sekcja będzie kompletna z wydaniem.*
|
|
11
11
|
|
|
12
|
-
- **Pytania o drzewo jednym wywołaniem: `strom
|
|
12
|
+
- **Pytania o drzewo jednym wywołaniem: `strom query`.** Ilu młynarzy jest w rodzie, kto mieszkał pod numerem 12, kto
|
|
13
13
|
urodził się w Lhocie w XVIII wieku: wiersz na każdą daną osoby z wartością, miejscem, numerem domu, datą, pewnością
|
|
14
14
|
i źródłami. Filtry według rodzaju, zawodu, wartości, miejsca, numeru domu, lat, nazwiska (także jego innych form),
|
|
15
15
|
źródła i stanu; czyje dane: linia prosta, krewni (domyślnie, także linie boczne), z ich partnerami, albo całe drzewo.
|
|
@@ -19,10 +19,19 @@ Zmiany każdej wersji w skrócie. Pełne informacje o wydaniach i polecenia inst
|
|
|
19
19
|
i pokoleniem, tak jak mówi kalkulator pokrewieństwa aplikacji Strom.
|
|
20
20
|
- **Zawody także w formach czeskich, niemieckich, łacińskich i polskich:** mlynar znajduje też Müller i molitor; osoby
|
|
21
21
|
ze słowem tylko w nazwisku lub notatce liczone są osobno, z `strom find`, który je znajduje.
|
|
22
|
-
- **
|
|
23
|
-
|
|
22
|
+
- **Także opowieści: `strom query --story <słowo>`** podaje osoby i pary, w których opowieści jest to słowo, każdą
|
|
23
|
+
ze zdaniem i źródłami, na których się opiera, z tymi samymi filtrami, liczeniem i grupami.
|
|
24
|
+
- **Agent odpowiada na pytania o drzewo poleceniem `strom query`,** z imieniem i ID osoby w nawiasie (by otworzyć ją w
|
|
25
|
+
aplikacji Strom), pełnym pokrewieństwem i źródłem z jego tytułem, i mówi, jak pewna jest każda dana: wskazówka ani
|
|
26
|
+
dana prawdopodobna nigdy jako fakt. Opowieść pokazuje tylko, gdzie szukać; czyj jest zapis, kto jest kim i sprawdzanie
|
|
27
|
+
danych idą dalej jak dotąd, ze źródeł.
|
|
24
28
|
- **Numer domu zapisany z własnym słowem** (č. 7, Nr. 7) nie ma już słowa dwa razy, także na karcie osoby.
|
|
25
29
|
- **`strom app --person P…`** otwiera aplikację Strom na tej osobie drzewa (aplikacja przed 3.21 otwiera drzewo).
|
|
30
|
+
- **Kolejka z aplikacji Strom:** wyszukiwanie w całej kolejce (numer zadania lub osoby, imię i nazwisko, słowa zadania,
|
|
31
|
+
jego księga, archiwum lub miejsce, bez względu na znaki diakrytyczne; szukany tekst nie jest nigdzie zapisywany);
|
|
32
|
+
„jako następne” stawia ostatnio wybrane zadanie na początku i daje się dokładnie cofnąć; praca nad kolejką otwiera
|
|
33
|
+
terminal, który pokazuje, co się uruchomi, i uruchamia to dopiero po „tak” – określoną liczbę zadań (`strom run
|
|
34
|
+
--tasks N`, kończy się po N załatwionych) albo samodzielną pracę tylko pod warunkiem.
|
|
26
35
|
|
|
27
36
|
## 1.31.1
|
|
28
37
|
|
package/assets/lang/cs.json
CHANGED
|
@@ -1274,22 +1274,27 @@
|
|
|
1274
1274
|
"ui.show.removed.mark": "(odebráno)",
|
|
1275
1275
|
"ui.show.relof": "{rel} u {who}",
|
|
1276
1276
|
"ui.show.eventOf": "{id} – {who} (celý záznam: strom {type} show {owner})",
|
|
1277
|
-
"ui.
|
|
1278
|
-
"ui.
|
|
1279
|
-
"ui.
|
|
1280
|
-
"ui.
|
|
1281
|
-
"ui.
|
|
1282
|
-
"ui.
|
|
1283
|
-
"ui.
|
|
1284
|
-
"ui.
|
|
1285
|
-
"ui.
|
|
1286
|
-
"ui.
|
|
1287
|
-
"ui.
|
|
1288
|
-
"ui.
|
|
1289
|
-
"ui.
|
|
1290
|
-
"ui.
|
|
1291
|
-
"ui.
|
|
1292
|
-
"ui.
|
|
1277
|
+
"ui.query.kin.ancestors": "{of} a předkové",
|
|
1278
|
+
"ui.query.kin.blood": "pokrevní příbuzní osoby {of}",
|
|
1279
|
+
"ui.query.kin.family": "příbuzní osoby {of} a jejich partneři",
|
|
1280
|
+
"ui.query.kin.all": "celý strom, vztahy k osobě {of}",
|
|
1281
|
+
"ui.query.place": "místo {place}",
|
|
1282
|
+
"ui.query.house": "čp. {house}",
|
|
1283
|
+
"ui.query.surname": "příjmení {surname}",
|
|
1284
|
+
"ui.query.source": "pramen {source}",
|
|
1285
|
+
"ui.query.count": "{people, plural, one {# osoba} few {# osoby} many {# osoby} other {# osob}}, {facts, plural, one {# údaj} few {# údaje} many {# údaje} other {# údajů}}",
|
|
1286
|
+
"ui.query.self": "výchozí osoba",
|
|
1287
|
+
"ui.query.unrelated": "bez příbuzenského vztahu",
|
|
1288
|
+
"ui.query.unknown": "neznámo",
|
|
1289
|
+
"ui.query.side": "boční větve",
|
|
1290
|
+
"ui.query.elsewhere": "+{n, plural, one {# osoba} few {# osoby} many {# osoby} other {# osob}} se slovem jen jinde (jméno, poznámka…): {command}",
|
|
1291
|
+
"ui.query.none": "nic nenalezeno: {query}",
|
|
1292
|
+
"ui.query.try": "dál zkusit: {commands}",
|
|
1293
|
+
"ui.query.story": "vyprávění {words}",
|
|
1294
|
+
"ui.query.count.stories": "{people, plural, one {# osoba} few {# osoby} many {# osoby} other {# osob}}, {stories, plural, one {# vyprávění} few {# vyprávění} many {# vyprávění} other {# vyprávění}}",
|
|
1295
|
+
"ui.query.story.snippet": "vyprávění: „{text}“",
|
|
1296
|
+
"ui.query.story.draft": "koncept",
|
|
1297
|
+
"ui.query.story.all": "prameny celého vyprávění: {list}",
|
|
1293
1298
|
"ui.event.edited": "upraveno: {line}",
|
|
1294
1299
|
"ui.show.sex.M": "muž",
|
|
1295
1300
|
"ui.show.sex.F": "žena",
|
|
@@ -1382,7 +1387,7 @@
|
|
|
1382
1387
|
"ui.help.cmd.person.list": "Osoby v rodokmenu",
|
|
1383
1388
|
"ui.help.cmd.pedigree": "Předkové osoby jako strom",
|
|
1384
1389
|
"ui.help.cmd.find": "Najít osobu, záznam nebo místo podle jména",
|
|
1385
|
-
"ui.help.cmd.
|
|
1390
|
+
"ui.help.cmd.query": "Kolik, kdo, kde, kdy: údaje rodu podle povolání, místa, let nebo pramene, i s příbuzenským vztahem každé osoby",
|
|
1386
1391
|
"ui.help.cmd.doc": "Jak Strom funguje: pravidla výzkumu a aplikace podle čísla nebo slov",
|
|
1387
1392
|
"ui.help.cmd.app": "Otevřít výzkum v aplikaci Strom",
|
|
1388
1393
|
"ui.help.cmd.app.install": "Nainstalovat aplikaci Strom z prohlížeče",
|
|
@@ -3087,6 +3092,8 @@
|
|
|
3087
3092
|
"ui.error.command.unknown.hint": "strom help (všechny příkazy)",
|
|
3088
3093
|
"ui.error.command.unknown.person": "neznámý příkaz „strom {cmd}“",
|
|
3089
3094
|
"ui.error.command.unknown.person.hint": "strom help --human – nebo jen {strom}: menu",
|
|
3095
|
+
"ui.error.command.renamed": "„strom {old}“ je teď „strom {now}“ (stejné přepínače)",
|
|
3096
|
+
"ui.error.command.renamed.hint": "{call}",
|
|
3090
3097
|
"ui.error.option.near": "neznámá volba {opt} u {cmd}",
|
|
3091
3098
|
"ui.error.option.near.hint": "podobná volba: {near}",
|
|
3092
3099
|
"ui.conflict.none": "žádné otevřené rozpory",
|
|
@@ -3498,6 +3505,8 @@
|
|
|
3498
3505
|
"ui.plan.history.prefer": "; přednost: místo {place} z nedávného sezení",
|
|
3499
3506
|
"ui.run.stop.history": "žádné úkoly dějin nezbývají",
|
|
3500
3507
|
"ui.run.stop.places": "žádná místa ke ztotožnění nezbývají",
|
|
3508
|
+
"ui.run.stop.tasks": "vyřízené úkoly: {n}",
|
|
3509
|
+
"ui.run.stop.sessions": "sezení: {max} (nejvíc pro žádaný počet úkolů) – vyřízené úkoly: {n}",
|
|
3501
3510
|
"ui.plan.history.left": "Úkolů dějin zbývá: {n} (všechny napřed: strom run --history)",
|
|
3502
3511
|
"ui.run.history": "Hledat dějiny teď ({n, plural, one {# úkol} few {# úkoly} other {# úkolů}} dějin)",
|
|
3503
3512
|
"ui.run.history.how": "Kolik úkolů dějin? (0 zpět)",
|
|
@@ -3534,6 +3543,23 @@
|
|
|
3534
3543
|
"ui.link.places.count.usd": "; podle dosavadních sezení {from}–{to}",
|
|
3535
3544
|
"ui.link.places.none": "teď žádné – ztotožnění zůstane ve frontě první",
|
|
3536
3545
|
"ui.link.places.stop": "Sezení jedno po druhém; Ctrl-C požádá rozpracované sezení o dokončení a běh zastaví – zbylá místa zůstanou ve frontě první.",
|
|
3546
|
+
"ui.link.what.work.tasks": "samostatná práce agenta na frontě, úkolů: {n}",
|
|
3547
|
+
"ui.link.what.work.loop": "samostatná práce agenta na frontě, dokud je práce",
|
|
3548
|
+
"ui.link.work.tasks": "Skončí po vyřízení úkolů: {n} (hotové, čekající, odložené nebo vzdané); úkol vrácený do fronty se nepočítá; nejvýš {max} sezení.",
|
|
3549
|
+
"ui.link.work.loop": "Sezení za sezením, dokud je práce a podmínka to dovolí.",
|
|
3550
|
+
"ui.link.work.gate.each": "Podmínka: {gate} – ptá se před každým sezením.",
|
|
3551
|
+
"ui.link.work.gate.once": "Podmínka: {gate} – ptá se jednou, před prvním sezením; když by nespustila, otázka přijde tady.",
|
|
3552
|
+
"ui.link.work.gate.none": "Podmínka: žádná (nastavení run.gate).",
|
|
3553
|
+
"ui.link.work.empty": "Ve frontě nic nečeká. Nic se nespustilo.",
|
|
3554
|
+
"ui.link.work.busy": "Na tomto výzkumu se už pracuje (běhy: {runs}, sezení: {sessions}). Nic dalšího se nespustilo.",
|
|
3555
|
+
"ui.link.work.nogate": "Automatická práce běží jen pod podmínkou (nastavení run.gate): ta před každým sezením řekne, zda pokračovat, počkat, nebo skončit. Bez ní se samo nic nespustí.",
|
|
3556
|
+
"ui.link.work.instead": "Místo toho:",
|
|
3557
|
+
"ui.link.work.instead.tasks": "Teď jen určitý počet úkolů",
|
|
3558
|
+
"ui.link.work.instead.gate": "Nastavit podmínku (jako v nastavení)",
|
|
3559
|
+
"ui.link.work.instead.none": "Teď nic",
|
|
3560
|
+
"ui.link.work.how": "Kolik úkolů? (1–100; 0 nic)",
|
|
3561
|
+
"ui.link.work.gate.still": "Podmínka nastavená není. Nic se nespustilo.",
|
|
3562
|
+
"ui.link.work.stop": "Sezení za sezením v tomto okně; Ctrl-C požádá rozpracované sezení o dokončení a běh zastaví – zbytek zůstane ve frontě.",
|
|
3537
3563
|
"ui.link.what.experiment.places": "hledat samo dějiny každého místa se souřadnicemi a jeho okolí, jedno místo po druhém",
|
|
3538
3564
|
"ui.link.experiment.places.count": "Míst se souřadnicemi: {n}, z nich už prohledaných: {done}.",
|
|
3539
3565
|
"ui.link.experiment.places.on.done": "Dějiny jednotlivých míst se hledají samy, v tempu dějin.",
|
package/assets/lang/de.json
CHANGED
|
@@ -1274,22 +1274,27 @@
|
|
|
1274
1274
|
"ui.show.removed.mark": "(entfernt)",
|
|
1275
1275
|
"ui.show.relof": "{rel} bei {who}",
|
|
1276
1276
|
"ui.show.eventOf": "{id} – {who} (der ganze Eintrag: strom {type} show {owner})",
|
|
1277
|
-
"ui.
|
|
1278
|
-
"ui.
|
|
1279
|
-
"ui.
|
|
1280
|
-
"ui.
|
|
1281
|
-
"ui.
|
|
1282
|
-
"ui.
|
|
1283
|
-
"ui.
|
|
1284
|
-
"ui.
|
|
1285
|
-
"ui.
|
|
1286
|
-
"ui.
|
|
1287
|
-
"ui.
|
|
1288
|
-
"ui.
|
|
1289
|
-
"ui.
|
|
1290
|
-
"ui.
|
|
1291
|
-
"ui.
|
|
1292
|
-
"ui.
|
|
1277
|
+
"ui.query.kin.ancestors": "{of} und die Vorfahren",
|
|
1278
|
+
"ui.query.kin.blood": "Blutsverwandte von {of}",
|
|
1279
|
+
"ui.query.kin.family": "Verwandte von {of} und ihre Partner",
|
|
1280
|
+
"ui.query.kin.all": "der ganze Stammbaum, Beziehungen zu {of}",
|
|
1281
|
+
"ui.query.place": "Ort {place}",
|
|
1282
|
+
"ui.query.house": "Haus Nr. {house}",
|
|
1283
|
+
"ui.query.surname": "Nachname {surname}",
|
|
1284
|
+
"ui.query.source": "Quelle {source}",
|
|
1285
|
+
"ui.query.count": "{people, plural, one {# Person} other {# Personen}}, {facts, plural, one {# Angabe} other {# Angaben}}",
|
|
1286
|
+
"ui.query.self": "Ausgangsperson",
|
|
1287
|
+
"ui.query.unrelated": "nicht verwandt",
|
|
1288
|
+
"ui.query.unknown": "unbekannt",
|
|
1289
|
+
"ui.query.side": "Seitenlinien",
|
|
1290
|
+
"ui.query.elsewhere": "+{n, plural, one {# Person} other {# Personen}} mit dem Wort nur anderswo (Name, Notiz …): {command}",
|
|
1291
|
+
"ui.query.none": "nichts gefunden: {query}",
|
|
1292
|
+
"ui.query.try": "weiter: {commands}",
|
|
1293
|
+
"ui.query.story": "Erzählung {words}",
|
|
1294
|
+
"ui.query.count.stories": "{people, plural, one {# Person} other {# Personen}}, {stories, plural, one {# Erzählung} other {# Erzählungen}}",
|
|
1295
|
+
"ui.query.story.snippet": "Erzählung: „{text}“",
|
|
1296
|
+
"ui.query.story.draft": "Entwurf",
|
|
1297
|
+
"ui.query.story.all": "Quellen der ganzen Erzählung: {list}",
|
|
1293
1298
|
"ui.event.edited": "geändert: {line}",
|
|
1294
1299
|
"ui.show.sex.M": "Mann",
|
|
1295
1300
|
"ui.show.sex.F": "Frau",
|
|
@@ -1382,7 +1387,7 @@
|
|
|
1382
1387
|
"ui.help.cmd.person.list": "Die Personen des Stammbaums",
|
|
1383
1388
|
"ui.help.cmd.pedigree": "Die Vorfahren einer Person als Baum",
|
|
1384
1389
|
"ui.help.cmd.find": "Eine Person, einen Eintrag oder einen Ort nach dem Namen finden",
|
|
1385
|
-
"ui.help.cmd.
|
|
1390
|
+
"ui.help.cmd.query": "Wie viele, wer, wo, wann: die Angaben der Familie nach Beruf, Ort, Jahren oder Quelle, mit dem Verwandtschaftsgrad jeder Person",
|
|
1386
1391
|
"ui.help.cmd.doc": "Wie Strom funktioniert: die Regeln der Forschung und der App, nach Nummer oder Wörtern",
|
|
1387
1392
|
"ui.help.cmd.app": "Die Forschung in der Strom-App öffnen",
|
|
1388
1393
|
"ui.help.cmd.app.install": "Die Strom-App aus dem Browser installieren",
|
|
@@ -3087,6 +3092,8 @@
|
|
|
3087
3092
|
"ui.error.command.unknown.hint": "strom help (alle Befehle)",
|
|
3088
3093
|
"ui.error.command.unknown.person": "unbekannter Befehl „strom {cmd}“",
|
|
3089
3094
|
"ui.error.command.unknown.person.hint": "strom help --human – oder nur {strom}: das Menü",
|
|
3095
|
+
"ui.error.command.renamed": "„strom {old}“ heißt jetzt „strom {now}“ (dieselben Optionen)",
|
|
3096
|
+
"ui.error.command.renamed.hint": "{call}",
|
|
3090
3097
|
"ui.error.option.near": "unbekannte Option {opt} für {cmd}",
|
|
3091
3098
|
"ui.error.option.near.hint": "ähnliche Option: {near}",
|
|
3092
3099
|
"ui.conflict.none": "keine offenen Widersprüche",
|
|
@@ -3498,6 +3505,8 @@
|
|
|
3498
3505
|
"ui.plan.history.prefer": "; zuerst: der Ort {place} aus einer kürzlichen Sitzung",
|
|
3499
3506
|
"ui.run.stop.history": "keine Aufgaben der Geschichte übrig",
|
|
3500
3507
|
"ui.run.stop.places": "keine Orte mehr zu bestimmen",
|
|
3508
|
+
"ui.run.stop.tasks": "{n, plural, one {# Aufgabe} other {# Aufgaben}} erledigt",
|
|
3509
|
+
"ui.run.stop.sessions": "Sitzungen: {max} (höchstens so viele für die gewünschten Aufgaben) – erledigte Aufgaben: {n}",
|
|
3501
3510
|
"ui.plan.history.left": "Aufgaben der Geschichte offen: {n} (alle zuerst: strom run --history)",
|
|
3502
3511
|
"ui.run.history": "Geschichte jetzt suchen ({n, plural, one {# Aufgabe} other {# Aufgaben}} der Geschichte)",
|
|
3503
3512
|
"ui.run.history.how": "Wie viele Aufgaben der Geschichte? (0 zurück)",
|
|
@@ -3534,6 +3543,23 @@
|
|
|
3534
3543
|
"ui.link.places.count.usd": "; nach den bisherigen Sitzungen {from}–{to}",
|
|
3535
3544
|
"ui.link.places.none": "jetzt keine – die Bestimmung bleibt zuerst in der Warteschlange",
|
|
3536
3545
|
"ui.link.places.stop": "Eine Sitzung nach der anderen; Strg-C bittet die laufende Sitzung abzuschließen und hält den Lauf an – die übrigen Orte bleiben zuerst in der Warteschlange.",
|
|
3546
|
+
"ui.link.what.work.tasks": "die Arbeit des Agenten allein an der Warteschlange, {n, plural, one {# Aufgabe} other {# Aufgaben}}",
|
|
3547
|
+
"ui.link.what.work.loop": "die Arbeit des Agenten allein an der Warteschlange, solange es Arbeit gibt",
|
|
3548
|
+
"ui.link.work.tasks": "Endet nach {n, plural, one {# erledigten Aufgabe} other {# erledigten Aufgaben}} (fertig, wartend, zurückgestellt oder aufgegeben); eine in die Warteschlange zurückgegebene Aufgabe zählt nicht; höchstens {max} Sitzungen.",
|
|
3549
|
+
"ui.link.work.loop": "Sitzung um Sitzung, solange es Arbeit gibt und die Bedingung es zulässt.",
|
|
3550
|
+
"ui.link.work.gate.each": "Bedingung: {gate} – vor jeder Sitzung gefragt.",
|
|
3551
|
+
"ui.link.work.gate.once": "Bedingung: {gate} – einmal gefragt, vor der ersten Sitzung; würde sie nicht starten, kommt die Frage hier.",
|
|
3552
|
+
"ui.link.work.gate.none": "Bedingung: keine (Einstellung run.gate).",
|
|
3553
|
+
"ui.link.work.empty": "In der Warteschlange wartet nichts. Nichts wurde gestartet.",
|
|
3554
|
+
"ui.link.work.busy": "An dieser Forschung wird schon gearbeitet (Läufe: {runs}, Sitzungen: {sessions}). Nichts weiter wurde gestartet.",
|
|
3555
|
+
"ui.link.work.nogate": "Die automatische Arbeit läuft nur unter einer Bedingung (Einstellung run.gate): vor jeder Sitzung sagt sie, ob weiter, warten oder aufhören. Ohne sie startet nichts von selbst.",
|
|
3556
|
+
"ui.link.work.instead": "Stattdessen:",
|
|
3557
|
+
"ui.link.work.instead.tasks": "Jetzt nur eine Anzahl Aufgaben",
|
|
3558
|
+
"ui.link.work.instead.gate": "Die Bedingung einstellen (wie in den Einstellungen)",
|
|
3559
|
+
"ui.link.work.instead.none": "Jetzt nichts",
|
|
3560
|
+
"ui.link.work.how": "Wie viele Aufgaben? (1–100; 0 nichts)",
|
|
3561
|
+
"ui.link.work.gate.still": "Keine Bedingung eingestellt. Nichts wurde gestartet.",
|
|
3562
|
+
"ui.link.work.stop": "Sitzung um Sitzung in diesem Fenster; Strg-C bittet die laufende Sitzung abzuschließen und hält den Lauf an – der Rest bleibt in der Warteschlange.",
|
|
3537
3563
|
"ui.link.what.experiment.places": "die Geschichte jedes Ortes mit Koordinaten und seiner Umgebung von selbst suchen, einen Ort nach dem anderen",
|
|
3538
3564
|
"ui.link.experiment.places.count": "Orte mit Koordinaten: {n}, davon schon durchsucht: {done}.",
|
|
3539
3565
|
"ui.link.experiment.places.on.done": "Die Geschichte der einzelnen Orte wird von selbst gesucht, im Tempo der Geschichte.",
|
package/assets/lang/pl.json
CHANGED
|
@@ -1274,22 +1274,27 @@
|
|
|
1274
1274
|
"ui.show.removed.mark": "(usunięte)",
|
|
1275
1275
|
"ui.show.relof": "{rel} przy {who}",
|
|
1276
1276
|
"ui.show.eventOf": "{id} – {who} (cały zapis: strom {type} show {owner})",
|
|
1277
|
-
"ui.
|
|
1278
|
-
"ui.
|
|
1279
|
-
"ui.
|
|
1280
|
-
"ui.
|
|
1281
|
-
"ui.
|
|
1282
|
-
"ui.
|
|
1283
|
-
"ui.
|
|
1284
|
-
"ui.
|
|
1285
|
-
"ui.
|
|
1286
|
-
"ui.
|
|
1287
|
-
"ui.
|
|
1288
|
-
"ui.
|
|
1289
|
-
"ui.
|
|
1290
|
-
"ui.
|
|
1291
|
-
"ui.
|
|
1292
|
-
"ui.
|
|
1277
|
+
"ui.query.kin.ancestors": "{of} i przodkowie",
|
|
1278
|
+
"ui.query.kin.blood": "krewni osoby {of}",
|
|
1279
|
+
"ui.query.kin.family": "krewni osoby {of} i ich partnerzy",
|
|
1280
|
+
"ui.query.kin.all": "całe drzewo, pokrewieństwo z {of}",
|
|
1281
|
+
"ui.query.place": "miejscowość {place}",
|
|
1282
|
+
"ui.query.house": "nr domu {house}",
|
|
1283
|
+
"ui.query.surname": "nazwisko {surname}",
|
|
1284
|
+
"ui.query.source": "źródło {source}",
|
|
1285
|
+
"ui.query.count": "{people, plural, one {# osoba} few {# osoby} many {# osób} other {# osoby}}, {facts, plural, one {# fakt} few {# fakty} many {# faktów} other {# faktu}}",
|
|
1286
|
+
"ui.query.self": "osoba wyjściowa",
|
|
1287
|
+
"ui.query.unrelated": "bez pokrewieństwa",
|
|
1288
|
+
"ui.query.unknown": "nieznane",
|
|
1289
|
+
"ui.query.side": "linie boczne",
|
|
1290
|
+
"ui.query.elsewhere": "+{n, plural, one {# osoba} few {# osoby} many {# osób} other {# osoby}} ze słowem tylko gdzie indziej (nazwisko, notatka…): {command}",
|
|
1291
|
+
"ui.query.none": "nic nie znaleziono: {query}",
|
|
1292
|
+
"ui.query.try": "dalej: {commands}",
|
|
1293
|
+
"ui.query.story": "opowieść {words}",
|
|
1294
|
+
"ui.query.count.stories": "{people, plural, one {# osoba} few {# osoby} many {# osób} other {# osoby}}, {stories, plural, one {# opowieść} few {# opowieści} many {# opowieści} other {# opowieści}}",
|
|
1295
|
+
"ui.query.story.snippet": "opowieść: „{text}”",
|
|
1296
|
+
"ui.query.story.draft": "szkic",
|
|
1297
|
+
"ui.query.story.all": "źródła całej opowieści: {list}",
|
|
1293
1298
|
"ui.event.edited": "zmieniono: {line}",
|
|
1294
1299
|
"ui.show.sex.M": "mężczyzna",
|
|
1295
1300
|
"ui.show.sex.F": "kobieta",
|
|
@@ -1382,7 +1387,7 @@
|
|
|
1382
1387
|
"ui.help.cmd.person.list": "Osoby w drzewie",
|
|
1383
1388
|
"ui.help.cmd.pedigree": "Przodkowie osoby w formie drzewa",
|
|
1384
1389
|
"ui.help.cmd.find": "Znaleźć osobę, zapis albo miejsce według nazwy",
|
|
1385
|
-
"ui.help.cmd.
|
|
1390
|
+
"ui.help.cmd.query": "Ilu, kto, gdzie, kiedy: dane rodu według zawodu, miejsca, lat lub źródła, z pokrewieństwem każdej osoby",
|
|
1386
1391
|
"ui.help.cmd.doc": "Jak działa Strom: zasady badania i aplikacji według numeru albo słów",
|
|
1387
1392
|
"ui.help.cmd.app": "Otworzyć badanie w aplikacji Strom",
|
|
1388
1393
|
"ui.help.cmd.app.install": "Zainstalować aplikację Strom z przeglądarki",
|
|
@@ -3087,6 +3092,8 @@
|
|
|
3087
3092
|
"ui.error.command.unknown.hint": "strom help (wszystkie polecenia)",
|
|
3088
3093
|
"ui.error.command.unknown.person": "nieznane polecenie „strom {cmd}”",
|
|
3089
3094
|
"ui.error.command.unknown.person.hint": "strom help --human – albo po prostu {strom}: menu",
|
|
3095
|
+
"ui.error.command.renamed": "„strom {old}” to teraz „strom {now}” (te same opcje)",
|
|
3096
|
+
"ui.error.command.renamed.hint": "{call}",
|
|
3090
3097
|
"ui.error.option.near": "nieznana opcja {opt} przy {cmd}",
|
|
3091
3098
|
"ui.error.option.near.hint": "podobna opcja: {near}",
|
|
3092
3099
|
"ui.conflict.none": "brak otwartych sprzeczności",
|
|
@@ -3498,6 +3505,8 @@
|
|
|
3498
3505
|
"ui.plan.history.prefer": "; pierwszeństwo: miejsce {place} z niedawnej sesji",
|
|
3499
3506
|
"ui.run.stop.history": "nie zostały żadne zadania historii",
|
|
3500
3507
|
"ui.run.stop.places": "nie zostały żadne miejsca do identyfikacji",
|
|
3508
|
+
"ui.run.stop.tasks": "załatwione zadania: {n}",
|
|
3509
|
+
"ui.run.stop.sessions": "sesje: {max} (najwięcej dla żądanej liczby zadań) – załatwione zadania: {n}",
|
|
3501
3510
|
"ui.plan.history.left": "Zadań historii zostało: {n} (wszystkie najpierw: strom run --history)",
|
|
3502
3511
|
"ui.run.history": "Szukaj historii teraz ({n, plural, one {# zadanie} few {# zadania} many {# zadań} other {# zadań}} historii)",
|
|
3503
3512
|
"ui.run.history.how": "Ile zadań historii? (0 wstecz)",
|
|
@@ -3534,6 +3543,23 @@
|
|
|
3534
3543
|
"ui.link.places.count.usd": "; według dotychczasowych sesji {from}–{to}",
|
|
3535
3544
|
"ui.link.places.none": "teraz żadnej – identyfikacja zostaje pierwsza w kolejce",
|
|
3536
3545
|
"ui.link.places.stop": "Sesja po sesji; Ctrl-C prosi trwającą sesję o dokończenie i zatrzymuje przebieg – pozostałe miejsca zostają pierwsze w kolejce.",
|
|
3546
|
+
"ui.link.what.work.tasks": "samodzielna praca agenta nad kolejką, zadań: {n}",
|
|
3547
|
+
"ui.link.what.work.loop": "samodzielna praca agenta nad kolejką, dopóki jest praca",
|
|
3548
|
+
"ui.link.work.tasks": "Kończy się po załatwieniu zadań: {n} (gotowe, czekające, odłożone lub porzucone); zadanie zwrócone do kolejki się nie liczy; najwyżej sesji: {max}.",
|
|
3549
|
+
"ui.link.work.loop": "Sesja za sesją, dopóki jest praca i warunek na to pozwala.",
|
|
3550
|
+
"ui.link.work.gate.each": "Warunek: {gate} – pytany przed każdą sesją.",
|
|
3551
|
+
"ui.link.work.gate.once": "Warunek: {gate} – pytany raz, przed pierwszą sesją; gdyby nie pozwolił zacząć, pytanie pojawi się tutaj.",
|
|
3552
|
+
"ui.link.work.gate.none": "Warunek: brak (ustawienie run.gate).",
|
|
3553
|
+
"ui.link.work.empty": "W kolejce nic nie czeka. Nic nie uruchomiono.",
|
|
3554
|
+
"ui.link.work.busy": "Nad tym badaniem już trwa praca (przebiegi: {runs}, sesje: {sessions}). Nic więcej nie uruchomiono.",
|
|
3555
|
+
"ui.link.work.nogate": "Praca automatyczna działa tylko pod warunkiem (ustawienie run.gate): przed każdą sesją mówi, czy kontynuować, czekać, czy skończyć. Bez niego nic nie uruchomi się samo.",
|
|
3556
|
+
"ui.link.work.instead": "Zamiast tego:",
|
|
3557
|
+
"ui.link.work.instead.tasks": "Teraz tylko określona liczba zadań",
|
|
3558
|
+
"ui.link.work.instead.gate": "Ustawić warunek (jak w ustawieniach)",
|
|
3559
|
+
"ui.link.work.instead.none": "Teraz nic",
|
|
3560
|
+
"ui.link.work.how": "Ile zadań? (1–100; 0 nic)",
|
|
3561
|
+
"ui.link.work.gate.still": "Warunek nie jest ustawiony. Nic nie uruchomiono.",
|
|
3562
|
+
"ui.link.work.stop": "Sesja za sesją w tym oknie; Ctrl-C prosi trwającą sesję o dokończenie i zatrzymuje przebieg – reszta zostaje w kolejce.",
|
|
3537
3563
|
"ui.link.what.experiment.places": "szukać samoczynnie historii każdego miejsca ze współrzędnymi i jego okolicy, jednego miejsca po drugim",
|
|
3538
3564
|
"ui.link.experiment.places.count": "Miejsc ze współrzędnymi: {n}, z nich już przeszukanych: {done}.",
|
|
3539
3565
|
"ui.link.experiment.places.on.done": "Historii poszczególnych miejsc szuka się samoczynnie, w tempie historii.",
|
package/dist/agents/files.js
CHANGED
|
@@ -81,13 +81,7 @@ the researcher; \`strom\` is your only way to read and change the research.
|
|
|
81
81
|
\`strom media view B0001:57 --half left\` writes one to \`.strom/views/\`;
|
|
82
82
|
the views of a scan or a batch come in one call (\`B0001:57-60 --half both\`).
|
|
83
83
|
A text in those files: \`strom grep "<text>"\` (each line with its file and
|
|
84
|
-
number) — never read a big file in pieces.
|
|
85
|
-
where or when (millers in the family, who lived at house 12): one
|
|
86
|
-
\`strom facts\` call with filters (\`--occupation mlynar --count --by
|
|
87
|
-
generation\`), never \`find\` and \`show\` person by person; answer with the
|
|
88
|
-
people's IDs, the relation and the source (S…), and how sure each fact
|
|
89
|
-
is: only a proven one is told as a fact; probable, possible and a lead
|
|
90
|
-
are not proven — say so, never as a fact.
|
|
84
|
+
number) — never read a big file in pieces.
|
|
91
85
|
7. Run strom commands on their own — no pipes (\`| head\`, \`| grep\`), no
|
|
92
86
|
redirection (\`2>&1\`), no \`cd\` before them: output is already short,
|
|
93
87
|
listings take \`--limit\` and \`--page\`, and such commands may be refused by
|
|
@@ -138,7 +132,8 @@ the researcher; \`strom\` is your only way to read and change the research.
|
|
|
138
132
|
|
|
139
133
|
The user watches this conversation and is usually not technical. Talk in
|
|
140
134
|
${lang}, plainly: say "the baptism of Karel in 1782", not record IDs, unless
|
|
141
|
-
they ask
|
|
135
|
+
they ask, or ask a question over the data (below: the ID in brackets after
|
|
136
|
+
each name). (Working alone — a session of strom run — nobody watches: this
|
|
142
137
|
section is a conversation's; nothing there is said to the user, and its brief
|
|
143
138
|
says how it ends.)
|
|
144
139
|
|
|
@@ -181,6 +176,21 @@ ${hypotheses}
|
|
|
181
176
|
\`strom review P… P…\`; those no record of their own proves ("who has no
|
|
182
177
|
source?"): \`strom person list --unproven\`, then \`strom review --unproven\`
|
|
183
178
|
(a batch at a time).
|
|
179
|
+
- **Questions over the data** ("how many millers were in the family?", "who
|
|
180
|
+
lived at house 12?"): one \`strom query\` call with filters
|
|
181
|
+
(\`--occupation mlynar --count --by generation\`; the stories holding a
|
|
182
|
+
word: \`--story mlyn\`), never \`find\` and \`show\` person by person for
|
|
183
|
+
such a question; answer with each person's name and their ID in brackets
|
|
184
|
+
after it (Karel Lhoták (P0012) — so it opens in the app: \`strom app
|
|
185
|
+
--person P…\`), the relation in words whole as \`strom query\` gives it,
|
|
186
|
+
never shortened, the source by its title with its S… in brackets, and how
|
|
187
|
+
sure each fact is: only a proven one is told as a fact;
|
|
188
|
+
probable, possible and a lead are not proven — say so, never as a fact. A
|
|
189
|
+
story retells the facts: answer from the facts and sources, a story only
|
|
190
|
+
shows where to look. \`strom query\` answers them and shows where to look;
|
|
191
|
+
whose a record is, who a person is, verifying and writing facts go as ever
|
|
192
|
+
(\`strom person show\`, the sources, the method) — a row of it is not
|
|
193
|
+
enough for that.
|
|
184
194
|
- **Their edits in the Strom app** ("I fixed grandma's birthday in the
|
|
185
195
|
app", a .ged or .json they exported): \`strom sync <file>\` shows what it
|
|
186
196
|
would take — tell them, write it on their yes (\`--apply\`); a sync is
|
package/dist/agents/global.js
CHANGED
|
@@ -86,10 +86,15 @@ mentions strom, a family tree or the Strom app.
|
|
|
86
86
|
then works offline); \`strom app\` opens it — with the research, followed
|
|
87
87
|
live while you work, when the app can take it. Without it, the user can ask
|
|
88
88
|
you about anyone in the tree: answer from \`strom person show\` and the like;
|
|
89
|
-
how many, who, where, when (millers in the family): \`strom
|
|
90
|
-
filters
|
|
89
|
+
how many, who, where, when (millers in the family): \`strom query\` with
|
|
90
|
+
filters; each person's name with their ID in brackets after it, the
|
|
91
|
+
relation in words whole as query gives it, never shortened, the source by
|
|
92
|
+
its title with its S… in brackets; only a
|
|
91
93
|
proven fact is told as a fact, probable, possible and a lead are said to
|
|
92
|
-
be unproven
|
|
94
|
+
be unproven; a story (\`--story <word>\`) retells the facts, only shows
|
|
95
|
+
where to look — \`strom app --person P…\` opens one in the app. It
|
|
96
|
+
answers; whose a record is, verifying and writing facts go as ever
|
|
97
|
+
(\`strom person show\`, the sources, the method).
|
|
93
98
|
`;
|
|
94
99
|
/**
|
|
95
100
|
* The rules that let the agent run strom without asking, in its own settings' words.
|
package/dist/cli/execute.js
CHANGED
|
@@ -88,6 +88,10 @@ export function resolveCommand(argv) {
|
|
|
88
88
|
const leftover = found ? words.slice(found.used) : words;
|
|
89
89
|
// Words that are not options — the values of global options (--lang en) are no stray words.
|
|
90
90
|
const extra = rest.filter((r, i) => !r.startsWith("-") && !VALUE_GLOBALS.has(rest[i - 1] ?? ""));
|
|
91
|
+
// a command strom renamed, called by its old name (rules an agent read before, a conversation older than the update):
|
|
92
|
+
// the same call under its new name, never run for it
|
|
93
|
+
if (words.length === 0 && extra[0] !== undefined && Object.hasOwn(RENAMED, extra[0]))
|
|
94
|
+
throw renamedCommand(argv, extra[0]);
|
|
91
95
|
if (found && leftover.length === 0) {
|
|
92
96
|
if (found.def.path.length === 0 && extra.length && rest[0] !== "--")
|
|
93
97
|
throw unknownCommand(extra.slice(0, 2));
|
|
@@ -105,6 +109,15 @@ export function resolveCommand(argv) {
|
|
|
105
109
|
}
|
|
106
110
|
throw unknownCommand([...words, ...extra].slice(0, Math.max(words.length + 1, 2)));
|
|
107
111
|
}
|
|
112
|
+
/** Commands strom renamed: the old name → the new one, which takes the same options. */
|
|
113
|
+
export const RENAMED = { facts: "query" };
|
|
114
|
+
/** A renamed command called by its old name: the same call under the new name, to run as it is. */
|
|
115
|
+
function renamedCommand(argv, old) {
|
|
116
|
+
const now = RENAMED[old];
|
|
117
|
+
const at = argv.indexOf(old);
|
|
118
|
+
const call = ["strom", ...argv.map((a, i) => (i === at ? now : shellArg(a)))].join(" ");
|
|
119
|
+
return new UsageError(`"strom ${old}" is now "strom ${now}" (the same options)`, { hint: call, code: "command.renamed", params: { old, now, call } });
|
|
120
|
+
}
|
|
108
121
|
/** Signal: a group name alone — the caller prints the group's short help. */
|
|
109
122
|
export class GroupOnly extends Error {
|
|
110
123
|
group;
|
package/dist/cli/help.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// then arguments and options.
|
|
3
3
|
import { GROUPS, GROUP_ALIASES, GLOBAL_OPTIONS, WRITE_OPTIONS, aliasGroup, commands, descriptionOf, match, subcommandsOf, usageLine } from "./registry.js";
|
|
4
4
|
import { table } from "./format.js";
|
|
5
|
-
import { suggest } from "./execute.js";
|
|
5
|
+
import { RENAMED, suggest } from "./execute.js";
|
|
6
6
|
import { UI, ui } from "./ui.js";
|
|
7
7
|
import { docLangOf } from "../core/doc.js";
|
|
8
8
|
import { REPORT_TABLE_ARCHIVE } from "../core/report.js";
|
|
@@ -30,7 +30,7 @@ const ARCHIVE_COMMANDS = new Set([
|
|
|
30
30
|
"init", "trees", "trees use", "trees remove", "trees forget", "mode", "lang", "pack", "unpack", "seal adopt", "seal accept", "backup", "sync", "sync undo", "sync discard",
|
|
31
31
|
"intake", "input list", "input show", "conflict list", "conflict show", "conflict resolve",
|
|
32
32
|
"person list", "person show", "person card", "family show", "source list", "source show", "media list", "media show",
|
|
33
|
-
"find", "
|
|
33
|
+
"find", "query", "stats", "pedigree", "recent", "history", "history back", "doc",
|
|
34
34
|
"export gedcom", "gedcom validate", "app", "app install", "live", "live start", "live stop",
|
|
35
35
|
"check", "verify", "repair", "repair undo", "seal adopt", "seal accept", "fixes", "fixes show", "fixes run", "fixes decline", "fixes reopen", "fixes undo",
|
|
36
36
|
"phone", "phone status", "phone on", "phone qr", "phone off", "phone list", "phone remove",
|
|
@@ -202,6 +202,10 @@ export function overview(archive = false) {
|
|
|
202
202
|
out.push("", "One command — usage, examples, options: strom help <command>", archive ? "Each command with what it does: strom commands <group>" : "Each command with what it does: strom commands [<group>] · with options and examples: strom commands <group> --json");
|
|
203
203
|
return out.join("\n");
|
|
204
204
|
}
|
|
205
|
+
/** A command strom renamed, named in help by its old name alone (strom help facts): the old name and the new one. */
|
|
206
|
+
function renamedHelp(words) {
|
|
207
|
+
return words.length === 1 && Object.hasOwn(RENAMED, words[0]) ? { old: words[0], now: RENAMED[words[0]] } : undefined;
|
|
208
|
+
}
|
|
205
209
|
export function helpFor(input, archive, appUrl, waiting = false) {
|
|
206
210
|
// "strom help 'research new'" — one quoted argument with several words.
|
|
207
211
|
const words = input.flatMap((w) => w.trim().split(/\s+/)).filter(Boolean);
|
|
@@ -215,6 +219,10 @@ export function helpFor(input, archive, appUrl, waiting = false) {
|
|
|
215
219
|
const real = aliasGroup(words);
|
|
216
220
|
if (real)
|
|
217
221
|
return groupHelp(real, archive, waiting);
|
|
222
|
+
// a command strom renamed (strom help facts): said as running it says it, then the help of its new name
|
|
223
|
+
const renamed = renamedHelp(words);
|
|
224
|
+
if (renamed)
|
|
225
|
+
return `${ui("en", "ui.error.command.renamed", renamed)}\n→ strom help ${renamed.now}\n\n${helpFor([renamed.now], archive, appUrl, waiting)}`;
|
|
218
226
|
const all = commands().filter((c) => c.path.length > 0).map((c) => c.path.join(" "));
|
|
219
227
|
const near = suggest(words.join(" "), all.filter((c) => c.split(" ").length === words.length));
|
|
220
228
|
return `unknown command "${words.join(" ")}"${near.length ? ` — similar command: ${near.map((c) => `strom help ${c}`).join(" · ")}` : ""}\nall commands: strom help`;
|
|
@@ -230,7 +238,7 @@ export const HUMAN_COMMANDS = [
|
|
|
230
238
|
"chat", "run", "session finish", "research new", "research pause", "research resume", "research done", "research edit", "research order", "research move", "review", "verify bulk", "verify stop",
|
|
231
239
|
"intake", "sync", "sync undo", "sync discard", "conflict list", "conflict resolve", "conflict leave", "event revert", "person revert", "hypothesis decide", "task list", "task wake", "task order", "story approve", "story discard",
|
|
232
240
|
"offline list", "offline show", "offline set", "offline answer",
|
|
233
|
-
"stats", "recent", "plan", "history", "history back", "person card", "person list", "pedigree", "find", "
|
|
241
|
+
"stats", "recent", "plan", "history", "history back", "person card", "person list", "pedigree", "find", "query", "doc",
|
|
234
242
|
"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
243
|
"fixes", "fixes show", "fixes run", "fixes decline", "fixes reopen", "fixes undo", "fixes review", "media calibrate",
|
|
236
244
|
"surname accept", "surname reject", "surname group", "surname ungroup", "surname unreject", "quality dismiss", "quality undo", "place answer", "place undo", "source split",
|
|
@@ -309,6 +317,9 @@ export function helpAs(input, as) {
|
|
|
309
317
|
const real = aliasGroup(words);
|
|
310
318
|
if (real)
|
|
311
319
|
return humanGroup(real, as);
|
|
320
|
+
const renamed = renamedHelp(words);
|
|
321
|
+
if (renamed)
|
|
322
|
+
return `${ui(as.lang, "ui.error.command.renamed", renamed)}\n→ strom help ${renamed.now} --human\n\n${helpAs([renamed.now], as)}`;
|
|
312
323
|
const all = commands().filter((c) => c.path.length > 0).map((c) => c.path.join(" "));
|
|
313
324
|
const near = suggest(words.join(" "), all.filter((c) => c.split(" ").length === words.length));
|
|
314
325
|
return [ui(as.lang, "ui.help.unknown", { cmd: words.join(" ") }), ...near.map((c) => ` strom help ${c} --human`)].join("\n");
|