strom-research 1.38.0-beta.6 → 1.38.0-beta.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.cs.md CHANGED
@@ -7,7 +7,7 @@ Změny každé verze ve zkratce. Úplné poznámky a instalační řádky jsou n
7
7
 
8
8
  ## 1.38.0
9
9
 
10
- *Připravuje se: bety do 1.38.0-beta.6. Oddíl bude úplný s vydáním.*
10
+ *Připravuje se: bety do 1.38.0-beta.8. Oddíl bude úplný s vydáním.*
11
11
 
12
12
  - **Přehlednější menu v terminálu:** každá obrazovka říká, kde je (Strom › Nastavení › Údržba), volby jako
13
13
  `[1] Popisek stav`, přepínač s tím, jak je teď a na co přepne, zpět vždy poslední jako `[0]` (i cesta stahovače v
@@ -16,15 +16,19 @@ Změny každé verze ve zkratce. Úplné poznámky a instalační řádky jsou n
16
16
  jen jedna linie výzkumu je o krok dál.
17
17
  - **Materiál roztříděný jednou, nastavení výzkumu slovy:** soubor, kterému poslední třídění navrhlo název, druh,
18
18
  datum nebo osoby a který je už má podle návrhu, se počítá za hotový a znovu se netřídí; co člověk o návrhu rozhodl
19
- v aplikaci Strom (přijato, odmítnuto a proč), zůstane u třídění. Nastavení změněné z aplikace nebo z menu se
19
+ v aplikaci Strom (přijato, odmítnuto a proč), zůstane u třídění. Název, druh, datum a poznámka souboru zadané
20
+ v materiálu zůstanou, i když z něj aplikace Strom udělá portrét nebo přílohu bez nich a rodokmen pošle dvakrát (brály
21
+ se jako odebrané v aplikaci). Nastavení změněné z aplikace nebo z menu se
20
22
  v posledních změnách ukáže názvem a hodnotou v jazyce výzkumu („Vypnuto ve výzkumu: Dotaz před tříděním materiálu“), už ne jako klíč
21
23
  (`sort.confirm`).
22
- - **Agent se zorientuje s méně pokusy:** `strom place find <jméno>` a `strom place <jméno>` navedou na
23
- `strom place list <jméno>`; `strom source list --note <text>` vypíše jedním voláním prameny, jejichž poznámka něco
24
- říká (třeba že adresu dal rejstřík); `strom media view` vysvětluje, jak si prohlédnout obrázek registrovaný jen po
25
- částech a jeho výřez; u eBadatelny (SOA Praha) se agent drží limitů archivu, platných pro člověka
26
- i automatizovaný systém (nejvýš 2 snímky za sekundu, jeden ZIP naráz, 10 ZIPů za 24 hodin), a nikdy nenavrhne cestu,
27
- jak je obejít.
24
+ - **Agent se zorientuje s méně pokusy:** `strom place find <jméno>` a `strom place <jméno>` navedou na `strom place
25
+ list <jméno>`; `strom source list --note <text>` vypíše jedním voláním prameny, jejichž poznámka něco říká (třeba že
26
+ adresu dal rejstřík); `strom media view` vysvětluje, jak si prohlédnout obrázek registrovaný jen po částech a jeho
27
+ výřez; u eBadatelny (SOA Praha) se agent drží limitů archivu, platných pro člověka i automatizovaný systém (nejvýš 2
28
+ snímky za sekundu, jeden ZIP naráz, 10 ZIPů za 24 hodin), a nikdy nenavrhne cestu, jak je obejít. Kontrola, kterou
29
+ strom dělá před každým příkazem agenta v shellu, čeká až 60 sekund místo 10 (na pomalém Windows, když vedle
30
+ rozhovoru pracoval agent sám, se nestihla), nikdy nedělá první spuštění nové verze a kontrola, která trvala dlouho,
31
+ se zapíše pro `strom error`; výzkum dostane nový limit při prvním spuštění této verze.
28
32
  - **Z rodokmenu, ne rukou člověka:** lidé rodokmenu importovaného nebo sloučeného v aplikaci Strom, které starší
29
33
  aplikace poslala bez značky importu, se brali jako zápis člověka (✓ potvrdil člověk); poslání, které je značí, je
30
34
  teď opraví samo, a starší poslání člověk jednou určí – v aplikaci v Co čeká („Přišlo to z rodokmenu?“) nebo příkazem
@@ -36,13 +40,14 @@ Změny každé verze ve zkratce. Úplné poznámky a instalační řádky jsou n
36
40
  nastavením „Historie domů“ a jednotlivý dům jde vyžádat vždy, i z aplikace Strom. Nad místem domu smí aplikace
37
41
  ukázat letecké snímky z 50. let (Česko). Prozkoumaný dům, který řekne dost (dvě generace stromu, nebo tři držitelé a
38
42
  obyvatelé s prameny), dostane se zapnutými vyprávěními své vyprávění, každý údaj s pramenem, nejisté řečeno jako
39
- nejisté; koncept do schválení, pak se už nepřepíše; `strom house story` a aplikace ho vyžádají kdykoli.
40
- - **Výzkum domu:** prochází seznam pramenů jeho země (v Česku adresní registr, pomístní jména, vodní toky, ortofota,
41
- topografie) a do domu zapisuje jen to, co něco řeklo; obec si drží své obrázky (jen pod svobodnou licencí, s tím, co
42
- ukazují) a pomístní jména, každý dům krátkou podobu a kontrolu, zda je o ní co dál číst; podoba domu následuje jako
43
- vlastní úkol jen tam (nastavení „Podoba domů“, výchozí zapnuto); dům jde z aplikace Strom probrat s agentem. Údaj
44
- převzatý ze staršího výzkumu, jehož pramen je na webu (historie obce v PDF), výzkum domu přečte a potvrdí nebo
45
- opraví s místem v prameni; adresa, která se neotevře, zůstane jednou řádkou v tom, co se prošlo.
43
+ nejisté; koncept do schválení, pak se už nepřepíše; `strom house story` a aplikace ho vyžádají kdykoli. Výzkum domu
44
+ prochází seznam pramenů jeho země (v Česku adresní registr, pomístní jména, vodní toky, ortofota, topografie) a do
45
+ domu zapisuje jen to, co něco řeklo; obec si drží své obrázky (jen pod svobodnou licencí, s tím, co ukazují) a
46
+ pomístní jména, každý dům krátkou podobu a kontrolu, zda je o ní co dál číst; podoba domu následuje jako vlastní
47
+ úkol jen tam (nastavení „Podoba domů“, výchozí zapnuto); dům jde z aplikace Strom probrat s agentem. Údaj převzatý
48
+ ze staršího výzkumu, jehož pramen je na webu (historie obce v PDF), výzkum domu přečte a potvrdí nebo opraví s
49
+ místem v prameni; adresa, která se neotevře, zůstane jednou řádkou v tom, co se prošlo. Materiál výzkumu u každého
50
+ souboru uvádí domy, ke kterým patří, aby je aplikace Strom ukázala tam, kde je soubor použit.
46
51
  - **`strom demo`:** strom vyzkoušený na ukázkovém výzkumu smyšlené rodiny (cs, en, de, pl), mimo vlastní stromy a
47
52
  nastavení, otevřený v aplikaci Strom; všechno v něm jde prohlédnout, nic nenabízí agenta; `strom demo --remove` ho
48
53
  smaže.
@@ -52,6 +57,15 @@ Změny každé verze ve zkratce. Úplné poznámky a instalační řádky jsou n
52
57
  snímků, který udává katalog archivu, kniha stažená celá dostane počet na slovo člověka (`strom fixes`), na snímky
53
58
  ukládané znovu se čeká, dokud nepřijde každá nová kopie, a rada ke snímku po částech jmenuje poloviny, ve kterých
54
59
  je.
60
+ - **Dodatečné opravy:** dopis nebo e-mail odeslaný dřív jde zapsat jako odeslaný v den, kdy skutečně odešel (`strom
61
+ task sent T… --date YYYY-MM-DD`, v nabídce Co čeká se den zeptá, Enter = dnes), a špatně zapsaný den jde u odeslané
62
+ žádosti dodatečně opravit (vypíše se den předtím, stejný příkaz s ním opravu vrátí); jak dlouho žádost čeká a 30 dní
63
+ bez odpovědi se počítá od toho dne, podle kalendáře počítače, kolem půlnoci nikdy o den vedle. Den může poslat i
64
+ aplikace Strom, za jednu žádost i za celé místo. `strom media renumber M…=n --reason` změní jen číslo
65
+ zaregistrovaného snímku (soubor, citace i výřezy zůstanou; dva prohozené jedním příkazem; jiný sken na novém čísle
66
+ se odmítne, části a kopie, které zůstaly na starém, se vypíšou, historie čísel v `strom media show`, stejný příkaz
67
+ obráceně opravu vrátí); snímek přiřazený k prameni omylem jde z pramene sundat i s jeho výřezy (`strom source edit
68
+ S… --media-remove M… --reason`) a `strom media retract` u citovaného snímku odkáže na obojí.
55
69
 
56
70
  ## 1.37.0
57
71
 
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.38.0
9
9
 
10
- *In Vorbereitung: die Betas bis 1.38.0-beta.6. Der Abschnitt ist mit dem Release vollständig.*
10
+ *In Vorbereitung: die Betas bis 1.38.0-beta.8. Der Abschnitt ist mit dem Release vollständig.*
11
11
 
12
12
  - **Ein übersichtlicheres Menü im Terminal:** jeder Bildschirm sagt, wo er ist (Strom › Einstellungen › Wartung), die
13
13
  Auswahlen als `[1] Bezeichnung Stand`, ein Schalter mit seinem jetzigen Stand und wohin er umschaltet, zurück
@@ -18,14 +18,20 @@ Die Änderungen jeder Version in Kürze. Die vollständigen Hinweise und die Ins
18
18
  - **Material einmal sortiert, Einstellungen der Forschung in Worten:** eine Datei, der die letzte Sortierung einen
19
19
  Titel, eine Art, ein Datum oder Personen vorschlug und die sie schon wie vorgeschlagen hat, gilt als erledigt und
20
20
  wird nicht neu sortiert; was der Mensch in der Strom-App über einen Vorschlag entschied (übernommen, abgelehnt und
21
- warum), bleibt bei der Sortierung. Eine in der App oder im Menü geänderte Einstellung erscheint in den letzten Änderungen mit Namen und Wert in der Sprache der Forschung („In der Forschung ausgeschaltet:
21
+ warum), bleibt bei der Sortierung. Titel, Art, Datum und Notiz einer Datei, im Material angegeben, bleiben, auch
22
+ wenn die Strom-App daraus ein Porträt oder einen Anhang ohne sie macht und den Stammbaum zweimal sendet (sie galten
23
+ als in der App entfernt). Eine in der App oder im Menü geänderte Einstellung erscheint in den letzten Änderungen mit Namen und Wert in der Sprache der Forschung („In der Forschung ausgeschaltet:
22
24
  Rückfrage vor dem Sortieren des Materials“), nicht mehr als Schlüssel (`sort.confirm`).
23
25
  - **Der Agent findet sich mit weniger Versuchen zurecht:** `strom place find <Name>` und `strom place <Name>` führen
24
26
  zu `strom place list <Name>`; `strom source list --note <Text>` listet mit einem Aufruf die Quellen, deren Notiz
25
27
  etwas sagt (etwa dass ein Register die Adresse gab); `strom media view` erklärt, wie ein nur in Teilen registriertes
26
- Bild und ein Ausschnitt davon anzusehen sind; bei der eBadatelna (SOA Praha) hält sich der Agent an die Grenzen
27
- des Archivs, die für Menschen und automatisierte Systeme gleich gelten (höchstens 2 Bilder pro Sekunde, ein ZIP auf
28
- einmal, 10 ZIPs in 24 Stunden), und schlägt nie einen Weg an ihnen vorbei vor.
28
+ Bild und ein Ausschnitt davon anzusehen sind; bei der eBadatelna (SOA Praha) hält sich der Agent an die Grenzen des
29
+ Archivs, die für Menschen und automatisierte Systeme gleich gelten (höchstens 2 Bilder pro Sekunde, ein ZIP auf
30
+ einmal, 10 ZIPs in 24 Stunden), und schlägt nie einen Weg an ihnen vorbei vor. Die Prüfung, die strom vor jedem
31
+ Shell-Befehl eines Agenten macht, wartet bis zu 60 Sekunden statt 10 (auf einem langsamen Windows-Computer wurde sie
32
+ nicht rechtzeitig fertig, während neben einem Gespräch ein Agent allein arbeitete), übernimmt nie den ersten Start
33
+ einer neuen Version, und eine, die lange dauerte, wird für `strom error` vermerkt; eine Forschung erhält das neue
34
+ Limit beim ersten Start dieser Version.
29
35
  - **Aus einem Stammbaum, nicht von Hand eines Menschen:** Personen eines in der Strom-App importierten oder
30
36
  zusammengeführten Stammbaums, die eine ältere App ohne Importmarke schickte, galten als Eintrag eines Menschen (✓
31
37
  von einem Menschen bestätigt); eine Sendung, die sie markiert, berichtigt sie jetzt von selbst, und eine ältere
@@ -41,15 +47,16 @@ Die Änderungen jeder Version in Kürze. Die vollständigen Hinweise und die Ins
41
47
  App die Luftbilder der 1950er-Jahre zeigen (Tschechien). Ein erforschtes Haus, das genug erzählt (zwei Generationen
42
48
  des Stammbaums oder drei Besitzer und Bewohner mit Quellen), bekommt bei eingeschalteten Erzählungen seine
43
49
  Erzählung, jede Angabe mit Quelle, Unsicheres als unsicher gesagt; ein Entwurf bis zur Freigabe, danach nie
44
- umgeschrieben; `strom house story` und die App fordern sie jederzeit an.
45
- - **Die Forschung eines Hauses:** sie geht eine Liste der Quellen seines Landes durch (in Tschechien das
46
- Adressregister, die Flurnamen, die Gewässer, die Orthofotos, die Topographien) und schreibt ins Haus nur, was etwas
47
- sagte; eine Gemeinde behält ihre Bilder (nur unter freier Lizenz, mit dem, was sie zeigen) und ihre Flurnamen, jedes
48
- Haus ein kurzes Aussehen und eine Prüfung, ob es mehr darüber zu lesen gibt; sein Aussehen folgt als eigene Aufgabe
49
- nur dort (Einstellung „Aussehen der Häuser“, standardmäßig an); ein Haus lässt sich aus der Strom-App mit dem
50
- Agenten besprechen. Eine aus einer älteren Forschung übernommene Angabe, deren Quelle im Web steht (die Geschichte
51
- einer Gemeinde als PDF), liest die Forschung des Hauses und bestätigt oder berichtigt sie mit der Stelle in der
52
- Quelle; eine Adresse, die sich nicht öffnet, bleibt eine Zeile dessen, was durchgegangen wurde.
50
+ umgeschrieben; `strom house story` und die App fordern sie jederzeit an. Die Forschung eines Hauses geht eine Liste
51
+ der Quellen seines Landes durch (in Tschechien das Adressregister, die Flurnamen, die Gewässer, die Orthofotos, die
52
+ Topographien) und schreibt ins Haus nur, was etwas sagte; eine Gemeinde behält ihre Bilder (nur unter freier Lizenz,
53
+ mit dem, was sie zeigen) und ihre Flurnamen, jedes Haus ein kurzes Aussehen und eine Prüfung, ob es mehr darüber zu
54
+ lesen gibt; sein Aussehen folgt als eigene Aufgabe nur dort (Einstellung „Aussehen der Häuser“, standardmäßig an);
55
+ ein Haus lässt sich aus der Strom-App mit dem Agenten besprechen. Eine aus einer älteren Forschung übernommene
56
+ Angabe, deren Quelle im Web steht (die Geschichte einer Gemeinde als PDF), liest die Forschung des Hauses und
57
+ bestätigt oder berichtigt sie mit der Stelle in der Quelle; eine Adresse, die sich nicht öffnet, bleibt eine Zeile
58
+ dessen, was durchgegangen wurde. Das Material der Forschung nennt bei jeder Datei die Häuser, zu denen sie gehört,
59
+ damit die Strom-App sie dort zeigt, wo die Datei verwendet wird.
53
60
  - **`strom demo`:** strom an einer Beispielforschung einer erfundenen Familie ausprobiert (cs, en, de, pl), getrennt
54
61
  von den eigenen Stammbäumen und Einstellungen und in der Strom-App geöffnet; alles darin lässt sich durchsehen,
55
62
  nichts bietet einen Agenten an; `strom demo --remove` löscht sie.
@@ -60,6 +67,17 @@ Die Änderungen jeder Version in Kürze. Die vollständigen Hinweise und die Ins
60
67
  angibt, ein ganz heruntergeladenes Buch seine Zahl auf das Wort des Menschen (`strom fixes`), auf erneut
61
68
  gespeicherte Bilder wird gewartet, bis jede neue Kopie da ist, und der Hinweis zu einem Bild in Teilen nennt die
62
69
  Hälften, in denen es liegt.
70
+ - **Nachträglich berichtigt:** ein früher verschickter Brief oder eine E-Mail wird an dem Tag als versandt vermerkt,
71
+ an dem sie wirklich hinausging (`strom task sent T… --date YYYY-MM-DD`, im Menü „Was wartet“ wird nach dem Tag
72
+ gefragt, Enter = heute), und ein falsch vermerkter Tag lässt sich bei einer versandten Anfrage nachträglich
73
+ berichtigen (der Tag davor wird genannt, derselbe Befehl mit ihm nimmt es zurück); wie lange sie wartet und die 30
74
+ Tage ohne Antwort zählen ab diesem Tag, nach dem Kalender des Rechners, um Mitternacht nie einen Tag daneben. Auch
75
+ die Strom-App kann den Tag senden, für eine Anfrage oder einen ganzen Ort. `strom media renumber M…=n --reason`
76
+ ändert nur die Nummer eines registrierten Bildes (Datei, Zitate und Ausschnitte bleiben; zwei vertauschte mit einem
77
+ Befehl; ein anderer Scan auf der neuen Nummer wird abgelehnt, Teile und Kopien auf der alten genannt, die Geschichte
78
+ der Nummern in `strom media show`, derselbe Befehl umgekehrt nimmt es zurück); ein irrtümlich einer Quelle
79
+ zugeordnetes Bild kommt samt Ausschnitten von ihr ab (`strom source edit S… --media-remove M… --reason`), und `strom
80
+ media retract` eines zitierten Bildes verweist auf beides.
63
81
 
64
82
  ## 1.37.0
65
83
 
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.38.0
9
9
 
10
- *In preparation: the betas up to 1.38.0-beta.6. The section is complete with the release.*
10
+ *In preparation: the betas up to 1.38.0-beta.8. The section is complete with the release.*
11
11
 
12
12
  - **A clearer menu in the terminal:** every screen says where it is (Strom › Settings › Maintenance), its options as
13
13
  `[1] Label state`, a switch with how it is now and what it switches to, back last as `[0]` (also the way a
@@ -16,15 +16,20 @@ The changes of each version in short. The full notes and the install lines are o
16
16
  first with what is next in it; one line of the research alone is a step further.
17
17
  - **Material sorted once, a research's settings in words:** a file whose last sorting proposed a title, kind, date or
18
18
  people and which already has them as proposed counts as done and is not sorted again; what the person decided on a
19
- proposal in the Strom app (taken over, refused, and why) is kept with the sorting. A setting changed from the app or
19
+ proposal in the Strom app (taken over, refused, and why) is kept with the sorting. A file's title, kind, date and
20
+ note given in the material stay when the Strom app makes a portrait or an attachment of it without them and sends the
21
+ tree twice (they were taken off as removed in the app). A setting changed from the app or
20
22
  the menu shows in the recent changes by its name and value in the research's language ("Turned off in the research: Question before the
21
23
  material is sorted"), no longer as its key (`sort.confirm`).
22
- - **The agent finds its way with fewer tries:** `strom place find <name>` and `strom place <name>` point to
23
- `strom place list <name>`; `strom source list --note <text>` lists in one call the sources whose note says something
24
- (that a register gave the address, for one); `strom media view` says how to look at an image registered only in
25
- parts, and at a crop of it; at eBadatelna (SOA Praha) the agent keeps to the archive's limits for a person and an
26
- automated system alike (at most 2 images a second, one ZIP at a time, 10 ZIPs in 24 hours) and never suggests a way
27
- past them.
24
+ - **The agent finds its way with fewer tries:** `strom place find <name>` and `strom place <name>` point to `strom
25
+ place list <name>`; `strom source list --note <text>` lists in one call the sources whose note says something (that
26
+ a register gave the address, for one); `strom media view` says how to look at an image registered only in parts, and
27
+ at a crop of it; at eBadatelna (SOA Praha) the agent keeps to the archive's limits for a person and an automated
28
+ system alike (at most 2 images a second, one ZIP at a time, 10 ZIPs in 24 hours) and never suggests a way past them.
29
+ The check strom makes before each shell command of an agent waits up to 60 seconds instead of 10 (on a slow Windows
30
+ computer, with an agent working alone beside a conversation, it did not finish in time), never does the first start
31
+ of a new version, and one that took long is noted for `strom error`; a research gets the new limit at the first
32
+ start of this version.
28
33
  - **From a family tree, not by a person's hand:** people of a family tree imported or merged in the Strom app that an
29
34
  older app sent without the import's mark were taken as the person's own (✓ confirmed by a person); a send that marks
30
35
  them now sets them right by itself, and an older send the person names once, in the app's What waits ("Did it come
@@ -38,15 +43,15 @@ The changes of each version in short. The full notes and the install lines are o
38
43
  also from the Strom app. Over a house's place the app may show the aerial photos of the 1950s (Czechia). A house
39
44
  researched that tells enough (two generations of the tree, or three holders and residents with sources) gets its
40
45
  story with the stories on, each claim with its source, the uncertain said so; a draft until approved, then never
41
- rewritten; `strom house story` and the app ask for one at any time.
42
- - **A house's research:** it goes through a list of sources for its country (in Czechia the address register, the
43
- field names, the water courses, the orthophotos, the topographies) and writes into the house only what said
44
- something; a municipality keeps its pictures (only under a free licence, with what they show) and its field names,
45
- each house a short look and a check whether there is more of it to read; its look follows as a task of its own only
46
- there (the setting "House look", on by default); a house can be talked over with the agent from the Strom app. A
47
- claim taken over from an older research whose source is on the web (a municipality's history as a PDF) is read in
48
- the house's research and confirmed or corrected with the place in the source; an address that does not open stays
49
- one line of what was gone through.
46
+ rewritten; `strom house story` and the app ask for one at any time. A house's research goes through a list of
47
+ sources for its country (in Czechia the address register, the field names, the water courses, the orthophotos, the
48
+ topographies) and writes into the house only what said something; a municipality keeps its pictures (only under a
49
+ free licence, with what they show) and its field names, each house a short look and a check whether there is more of
50
+ it to read; its look follows as a task of its own only there (the setting "House look", on by default); a house can
51
+ be talked over with the agent from the Strom app. A claim taken over from an older research whose source is on the
52
+ web (a municipality's history as a PDF) is read in the house's research and confirmed or corrected with the place in
53
+ the source; an address that does not open stays one line of what was gone through. The research's material names
54
+ the houses each file belongs to, for the Strom app to show them where the file is used.
50
55
  - **`strom demo`:** strom tried on a sample research of a made-up family (cs, en, de, pl), apart from the person's own
51
56
  trees and settings and opened in the Strom app; everything in it can be looked through, nothing offers an agent;
52
57
  `strom demo --remove` deletes it.
@@ -56,6 +61,15 @@ The changes of each version in short. The full notes and the install lines are o
56
61
  images the archive's catalogue gives, a book downloaded whole gets its count on the person's word (`strom fixes`),
57
62
  images saved once more are waited for until every new copy has come, and the hint on an image in parts names the
58
63
  halves it is in.
64
+ - **Set right afterwards:** a letter or e-mail sent earlier is marked sent on the day it really went out (`strom task
65
+ sent T… --date YYYY-MM-DD`, in the menu's What waits the day is asked, Enter today), and a day marked wrong is put
66
+ right later on a request sent (the day before is said, the same command takes it back); how long it waits and the 30
67
+ days without a reply count from that day, by the calendar of the computer, never a day off around midnight. The
68
+ Strom app can send the day too, for one request or a whole place. `strom media renumber M…=n --reason` changes only
69
+ the number of a registered image (its file, citations and clips stay; two swapped in one command; another scan at
70
+ the new number refused, parts and copies left at the old one said, its history in `strom media show`, the same
71
+ command the other way round takes it back); an image put to a source wrongly comes off it with its clips (`strom
72
+ source edit S… --media-remove M… --reason`), and `strom media retract` of a cited image points to both.
59
73
 
60
74
  ## 1.37.0
61
75
 
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.38.0
9
9
 
10
- *W przygotowaniu: bety do 1.38.0-beta.6. Sekcja będzie kompletna z wydaniem.*
10
+ *W przygotowaniu: bety do 1.38.0-beta.8. Sekcja będzie kompletna z wydaniem.*
11
11
 
12
12
  - **Bardziej przejrzyste menu w terminalu:** każdy ekran mówi, gdzie jest (Strom › Ustawienia › Konserwacja), opcje
13
13
  jako `[1] Etykieta stan`, przełącznik z tym, jak jest teraz i na co przełącza, powrót zawsze na końcu jako `[0]`
@@ -17,14 +17,18 @@ Zmiany każdej wersji w skrócie. Pełne informacje o wydaniach i polecenia inst
17
17
  - **Materiał posortowany raz, ustawienia badania słowami:** plik, któremu ostatnie sortowanie zaproponowało tytuł,
18
18
  rodzaj, datę lub osoby i który ma je już zgodnie z propozycją, liczy się jako gotowy i nie jest sortowany ponownie;
19
19
  to, co człowiek zdecydował o propozycji w aplikacji Strom (przyjęto, odrzucono i dlaczego), zostaje przy
20
- sortowaniu. Ustawienie zmienione w aplikacji lub w menu pokazuje się w ostatnich zmianach nazwą i wartością w języku badania („Wyłączono w badaniu: Pytanie przed sortowaniem materiałów”), już nie
20
+ sortowaniu. Tytuł, rodzaj, data i notatka pliku podane w materiałach zostają, także gdy aplikacja Strom zrobi z niego
21
+ portret lub załącznik bez nich i wyśle drzewo dwa razy (były brane jako usunięte w aplikacji). Ustawienie zmienione w aplikacji lub w menu pokazuje się w ostatnich zmianach nazwą i wartością w języku badania („Wyłączono w badaniu: Pytanie przed sortowaniem materiałów”), już nie
21
22
  jako klucz (`sort.confirm`).
22
23
  - **Agent odnajduje się przy mniejszej liczbie prób:** `strom place find <nazwa>` i `strom place <nazwa>` kierują do
23
24
  `strom place list <nazwa>`; `strom source list --note <tekst>` wypisuje jednym wywołaniem źródła, których notatka
24
25
  coś mówi (na przykład że adres dał rejestr); `strom media view` wyjaśnia, jak obejrzeć obraz zarejestrowany tylko w
25
26
  częściach i jego wycinek; przy eBadatelnie (SOA Praha) agent trzyma się limitów archiwum, jednakowych dla człowieka
26
27
  i systemu automatycznego (najwyżej 2 skany na sekundę, jeden ZIP naraz, 10 ZIP-ów w ciągu 24 godzin), i nigdy nie
27
- proponuje sposobu ich obejścia.
28
+ proponuje sposobu ich obejścia. Sprawdzenie, które strom wykonuje przed każdym poleceniem agenta w powłoce, czeka do
29
+ 60 sekund zamiast 10 (na wolnym komputerze z Windows, gdy obok rozmowy agent pracował sam, nie zdążyło się
30
+ zakończyć), nigdy nie wykonuje pierwszego uruchomienia nowej wersji, a takie, które trwało długo, jest zapisywane
31
+ dla `strom error`; badanie otrzymuje nowy limit przy pierwszym uruchomieniu tej wersji.
28
32
  - **Z drzewa genealogicznego, nie ręką człowieka:** osoby drzewa zaimportowanego lub scalonego w aplikacji Strom,
29
33
  które starsza aplikacja wysłała bez znacznika importu, traktowano jako zapis człowieka (✓ potwierdził człowiek);
30
34
  wysyłka, która je oznacza, poprawia je teraz sama, a starszą wysyłkę człowiek wskazuje raz – w aplikacji w Co czeka
@@ -38,14 +42,15 @@ Zmiany każdej wersji w skrócie. Pełne informacje o wydaniach i polecenia inst
38
42
  także z aplikacji Strom. Nad miejscem domu aplikacja może pokazać zdjęcia lotnicze z lat 50. (Czechy). Zbadany dom,
39
43
  który mówi dość (dwa pokolenia drzewa albo trzech właścicieli i mieszkańców ze źródłami), dostaje przy włączonych
40
44
  opowieściach swoją opowieść, każda informacja ze źródłem, niepewne powiedziane jako niepewne; szkic do
41
- zatwierdzenia, potem nigdy nieprzepisywana; `strom house story` i aplikacja zamawiają ją w każdej chwili.
42
- - **Badanie domu:** przechodzi listę źródeł jego kraju (w Czechach rejestr adresów, nazwy miejscowe, cieki wodne,
43
- ortofotomapy, topografie) i zapisuje do domu tylko to, co coś powiedziało; gmina zachowuje swoje zdjęcia (tylko na
44
- wolnej licencji, z tym, co pokazują) i nazwy miejscowe, każdy dom krótki opis wyglądu i sprawdzenie, czy jest o nim
45
- więcej do przeczytania; jego wygląd idzie jako osobne zadanie tylko tam (ustawienie „Wygląd domów”, domyślnie
46
- włączone); dom można omówić z agentem z aplikacji Strom. Informację przejętą ze starszego badania, której źródło
47
- jest w sieci (historia gminy w PDF), badanie domu odczyta i potwierdzi lub poprawi z miejscem w źródle; adres, który
48
- się nie otwiera, zostaje jednym wierszem w tym, co przejrzano.
45
+ zatwierdzenia, potem nigdy nieprzepisywana; `strom house story` i aplikacja zamawiają ją w każdej chwili. Badanie
46
+ domu przechodzi listę źródeł jego kraju (w Czechach rejestr adresów, nazwy miejscowe, cieki wodne, ortofotomapy,
47
+ topografie) i zapisuje do domu tylko to, co coś powiedziało; gmina zachowuje swoje zdjęcia (tylko na wolnej
48
+ licencji, z tym, co pokazują) i nazwy miejscowe, każdy dom krótki opis wyglądu i sprawdzenie, czy jest o nim więcej
49
+ do przeczytania; jego wygląd idzie jako osobne zadanie tylko tam (ustawienie „Wygląd domów”, domyślnie włączone);
50
+ dom można omówić z agentem z aplikacji Strom. Informację przejętą ze starszego badania, której źródło jest w sieci
51
+ (historia gminy w PDF), badanie domu odczyta i potwierdzi lub poprawi z miejscem w źródle; adres, który się nie
52
+ otwiera, zostaje jednym wierszem w tym, co przejrzano. Materiał badania podaje przy każdym pliku domy, do których
53
+ należy, aby aplikacja Strom pokazała je tam, gdzie plik jest użyty.
49
54
  - **`strom demo`:** strom wypróbowany na przykładowym badaniu zmyślonej rodziny (cs, en, de, pl), z dala od własnych
50
55
  drzew i ustawień, otwarty w aplikacji Strom; wszystko w nim można przejrzeć, nic nie proponuje agenta;
51
56
  `strom demo --remove` je usuwa.
@@ -56,6 +61,16 @@ Zmiany każdej wersji w skrócie. Pełne informacje o wydaniach i polecenia inst
56
61
  katalog archiwum, księga pobrana w całości swoją liczbę na słowo człowieka (`strom fixes`), na skany zapisywane
57
62
  ponownie czeka się, aż przyjdzie każda nowa kopia, a wskazówka do skanu w częściach wymienia połówki, w których
58
63
  jest.
64
+ - **Późniejsze poprawki:** list lub e-mail wysłany wcześniej można zapisać jako wysłany w dniu, w którym naprawdę
65
+ wyszedł (`strom task sent T… --date YYYY-MM-DD`, w menu „Co czeka“ pojawia się pytanie o dzień, Enter = dziś), a źle
66
+ zapisany dzień można przy wysłanym zapytaniu poprawić później (podawany jest dzień poprzedni, to samo polecenie z
67
+ nim cofa poprawkę); jak długo czeka i 30 dni bez odpowiedzi liczy się od tego dnia, według kalendarza komputera,
68
+ wokół północy nigdy o dzień obok. Dzień może wysłać także aplikacja Strom, dla jednego zapytania lub całego miejsca.
69
+ `strom media renumber M…=n --reason` zmienia tylko numer zarejestrowanego skanu (plik, cytowania i wycinki zostają;
70
+ dwa zamienione jednym poleceniem; inny skan pod nowym numerem jest odrzucany, części i kopie pozostałe pod starym są
71
+ wypisywane, historia numerów w `strom media show`, to samo polecenie odwrotnie cofa poprawkę); skan przypisany do
72
+ źródła omyłkowo można zdjąć z niego razem z wycinkami (`strom source edit S… --media-remove M… --reason`), a `strom
73
+ media retract` cytowanego skanu wskazuje obie drogi.
59
74
 
60
75
  ## 1.37.0
61
76
 
@@ -727,6 +727,13 @@
727
727
  "ui.wait.group.retry.tasks": "Vrátit agentovi vše ({tasks, plural, one {# úkol} few {# úkoly} other {# úkolů}})",
728
728
  "ui.wait.group.retry.done": "✓ Vráceno agentovi, na řadě hned: {ids}",
729
729
  "ui.wait.sent.sure": "Zapsat dotaz jako odeslaný{to}? Úkol dál čeká na odpověď.",
730
+ "ui.wait.sent.day": "Den odeslání (Enter = dnes; např. 24. 11. 2026 nebo 2026-11-24)",
731
+ "ui.wait.redate.day": "Skutečný den odeslání (např. 24. 11. 2026 nebo 2026-11-24; Enter nebo 0 vrátí zpět)",
732
+ "ui.wait.day.bad": "{text}: takový den v kalendáři není, nebo teprve přijde – např. 24. 11. 2026 nebo 2026-11-24",
733
+ "ui.wait.sent.on.done": "✓ Zapsáno jako odeslané {day} – úkol dál čeká na odpověď.",
734
+ "ui.wait.a.redate": "Opravit datum odeslání",
735
+ "ui.wait.redate.done": "✓ Odesláno {day} – úkol dál čeká na odpověď.",
736
+ "ui.wait.group.sent.on.done": "✓ Zapsáno jako odeslané {day}: {ids} – dál čekají na odpověď.",
730
737
  "ui.run.summary": "sezení: {n} · konec: {reason}",
731
738
  "ui.run.stop.done": "hotovo",
732
739
  "ui.run.stop.user": "zastaveno ručně",
@@ -1644,6 +1651,7 @@
1644
1651
  "ui.help.cmd.sync.as-import": "Označit, co poslala aplikace Strom, jako převzatý rodokmen, ne jako potvrzené člověkem (nebo ponechat jako zapsané ručně)",
1645
1652
  "ui.help.cmd.task.list": "Úkoly výzkumu",
1646
1653
  "ui.help.cmd.task.wake": "Odpovědět na úkol, který čeká na odpověď; vrátí se agentovi",
1654
+ "ui.help.cmd.task.sent": "Žádost, na kterou úkol čeká, odešla – dnes nebo v zadaný den (--date), i dodatečná oprava data",
1647
1655
  "ui.help.cmd.story.approve": "Schválit vyprávění pro rodinnou knihu",
1648
1656
  "ui.help.cmd.story.discard": "Ponechat schválené vyprávění, ne jeho novou verzi",
1649
1657
  "ui.help.cmd.stats": "Výzkum v kostce: osoby, jak jisté jsou údaje, předkové v každé generaci",
@@ -1676,6 +1684,7 @@
1676
1684
  "ui.help.cmd.demo": "Vyzkoušet strom na ukázkovém výzkumu – vymyšlená rodina, zvlášť od vlastních rodokmenů",
1677
1685
  "ui.help.cmd.tidy": "Uvolnit místo, které si strom drží vedle výzkumu (nejdřív ukáže, pak se zeptá)",
1678
1686
  "ui.help.cmd.media.calibrate": "Vyladit velikost snímků pro agenta a model výzkumu na jeho vlastních doložených záznamech (placená práce modelu; cena se řekne předem)",
1687
+ "ui.help.cmd.media.renumber": "Opravit číslo zaregistrovaného snímku (citace a výřezy pramenů zůstanou; důvod se zapíše do jeho historie)",
1679
1688
  "ui.help.cmd.check": "Zkontrolovat výzkum: vše v pořádku, nic změněné mimo strom",
1680
1689
  "ui.help.cmd.task.order": "Pořadí úkolu: hned na řadu, na konec, nebo zpět podle fronty",
1681
1690
  "ui.help.cmd.offline.list": "Větve mimo linie (sestra předka a její rodina): jak se s každou zachází",
@@ -3221,6 +3230,7 @@
3221
3230
  "log.task.edit": "Upravený úkol: {name}",
3222
3231
  "log.task.sent": "Žádost odeslána: {name}",
3223
3232
  "log.task.unsent": "Žádost přece neodeslána: {name}",
3233
+ "log.task.sent.date": "Opravené datum odeslání žádosti: {name}",
3224
3234
  "log.task.file": "Přišel soubor {inputs} k úkolu, zpět agentovi: {name}",
3225
3235
  "wait.group.family": "Rodina",
3226
3236
  "wait.group.other": "Ostatní",
@@ -3393,6 +3403,7 @@
3393
3403
  "log.image": "{name}, obr. {image}",
3394
3404
  "log.media.edit": "Upravený snímek: {name}",
3395
3405
  "log.media.retract": "Odvolaný snímek: {name}",
3406
+ "log.media.renumber": "Opravené číslo snímku: {name}",
3396
3407
  "log.input.edit": "Materiál doplněn: {name}",
3397
3408
  "log.input.skip": "Materiál odložen jako nepoužitelný: {name}",
3398
3409
  "log.input.sort": "Materiál roztříděn: {name}",
@@ -727,6 +727,13 @@
727
727
  "ui.wait.group.retry.tasks": "Alles an den Agenten zurückgeben ({tasks, plural, one {# Aufgabe} other {# Aufgaben}})",
728
728
  "ui.wait.group.retry.done": "✓ An den Agenten zurückgegeben, sofort an der Reihe: {ids}",
729
729
  "ui.wait.sent.sure": "Die Anfrage als gesendet eintragen{to}? Die Aufgabe wartet weiter auf die Antwort.",
730
+ "ui.wait.sent.day": "Tag des Versands (Enter = heute; z. B. 24. 11. 2026 oder 2026-11-24)",
731
+ "ui.wait.redate.day": "Tatsächlicher Tag des Versands (z. B. 24. 11. 2026 oder 2026-11-24; Enter oder 0 geht zurück)",
732
+ "ui.wait.day.bad": "{text}: kein Tag des Kalenders oder einer, der erst kommt – z. B. 24. 11. 2026 oder 2026-11-24",
733
+ "ui.wait.sent.on.done": "✓ Als gesendet am {day} eingetragen – die Aufgabe wartet weiter auf die Antwort.",
734
+ "ui.wait.a.redate": "Versanddatum berichtigen",
735
+ "ui.wait.redate.done": "✓ Gesendet am {day} – die Aufgabe wartet weiter auf die Antwort.",
736
+ "ui.wait.group.sent.on.done": "✓ Als gesendet am {day} eingetragen: {ids} – sie warten weiter auf die Antwort.",
730
737
  "ui.run.summary": "Sitzungen: {n} · Ende: {reason}",
731
738
  "ui.run.stop.done": "fertig",
732
739
  "ui.run.stop.user": "von Hand angehalten",
@@ -1644,6 +1651,7 @@
1644
1651
  "ui.help.cmd.sync.as-import": "Was eine Sendung der Strom-App schrieb, als übernommenen Stammbaum kennzeichnen, nicht als von einem Menschen bestätigt (oder als von Hand geschrieben belassen)",
1645
1652
  "ui.help.cmd.task.list": "Die Aufgaben der Forschung",
1646
1653
  "ui.help.cmd.task.wake": "Eine wartende Aufgabe beantworten; sie geht an den Agenten zurück",
1654
+ "ui.help.cmd.task.sent": "Die Anfrage, auf die eine Aufgabe wartet, ist hinaus – heute oder am angegebenen Tag (--date), auch später berichtigt",
1647
1655
  "ui.help.cmd.story.approve": "Eine Erzählung für das Familienbuch freigeben",
1648
1656
  "ui.help.cmd.story.discard": "Die freigegebene Erzählung behalten, nicht ihre neue Fassung",
1649
1657
  "ui.help.cmd.stats": "Die Forschung auf einen Blick: Personen, wie sicher die Angaben sind, Vorfahren je Generation",
@@ -1676,6 +1684,7 @@
1676
1684
  "ui.help.cmd.demo": "strom an einer Beispielforschung ausprobieren – eine erfundene Familie, getrennt von den eigenen Stammbäumen",
1677
1685
  "ui.help.cmd.tidy": "Platz freigeben, den strom neben der Forschung belegt (erst gezeigt, nach Zustimmung)",
1678
1686
  "ui.help.cmd.media.calibrate": "Die Größe der Scan-Ansichten für Agent und Modell der Forschung an ihren eigenen belegten Einträgen abstimmen (bezahlte Arbeit des Modells; die Kosten werden vorher genannt)",
1687
+ "ui.help.cmd.media.renumber": "Die Nummer eines registrierten Bildes berichtigen (Zitate und Ausschnitte der Quellen bleiben; der Grund steht in seiner Geschichte)",
1679
1688
  "ui.help.cmd.check": "Die Forschung prüfen: alles in Ordnung, nichts an strom vorbei geändert",
1680
1689
  "ui.help.cmd.task.order": "Wann eine Aufgabe drankommt: als nächste, am Ende oder wieder in der Reihenfolge der Warteschlange",
1681
1690
  "ui.help.cmd.offline.list": "Die Zweige außerhalb der Linien (die Schwester eines Vorfahren und ihre Familie): wie jeder erforscht wird",
@@ -3221,6 +3230,7 @@
3221
3230
  "log.task.edit": "Aufgabe geändert: {name}",
3222
3231
  "log.task.sent": "Anfrage gesendet: {name}",
3223
3232
  "log.task.unsent": "Anfrage doch nicht gesendet: {name}",
3233
+ "log.task.sent.date": "Versanddatum der Anfrage berichtigt: {name}",
3224
3234
  "log.task.file": "Datei {inputs} zur Aufgabe eingegangen, zurück an den Agenten: {name}",
3225
3235
  "wait.group.family": "Familie",
3226
3236
  "wait.group.other": "Sonstiges",
@@ -3393,6 +3403,7 @@
3393
3403
  "log.image": "{name}, Bild {image}",
3394
3404
  "log.media.edit": "Bild geändert: {name}",
3395
3405
  "log.media.retract": "Bild zurückgezogen: {name}",
3406
+ "log.media.renumber": "Bildnummer berichtigt: {name}",
3396
3407
  "log.input.edit": "Material ergänzt: {name}",
3397
3408
  "log.input.skip": "Material als unbrauchbar beiseitegelegt: {name}",
3398
3409
  "log.input.sort": "Material sortiert: {name}",
@@ -727,6 +727,13 @@
727
727
  "ui.wait.group.retry.tasks": "Zwrócić agentowi wszystko ({tasks, plural, one {# zadanie} few {# zadania} many {# zadań} other {# zadań}})",
728
728
  "ui.wait.group.retry.done": "✓ Zwrócone agentowi, od razu w kolejce: {ids}",
729
729
  "ui.wait.sent.sure": "Oznaczyć zapytanie jako wysłane{to}? Zadanie nadal czeka na odpowiedź.",
730
+ "ui.wait.sent.day": "Dzień wysłania (Enter = dziś; np. 24. 11. 2026 lub 2026-11-24)",
731
+ "ui.wait.redate.day": "Rzeczywisty dzień wysłania (np. 24. 11. 2026 lub 2026-11-24; Enter lub 0 wraca)",
732
+ "ui.wait.day.bad": "{text}: nie ma takiego dnia w kalendarzu albo dopiero nadejdzie – np. 24. 11. 2026 lub 2026-11-24",
733
+ "ui.wait.sent.on.done": "✓ Oznaczono jako wysłane {day} – zadanie nadal czeka na odpowiedź.",
734
+ "ui.wait.a.redate": "Poprawić datę wysłania",
735
+ "ui.wait.redate.done": "✓ Wysłano {day} – zadanie nadal czeka na odpowiedź.",
736
+ "ui.wait.group.sent.on.done": "✓ Oznaczono jako wysłane {day}: {ids} – nadal czekają na odpowiedź.",
730
737
  "ui.run.summary": "{n, plural, one {# sesja} few {# sesje} many {# sesji} other {# sesji}} · koniec: {reason}",
731
738
  "ui.run.stop.done": "gotowe",
732
739
  "ui.run.stop.user": "zatrzymano ręcznie",
@@ -1644,6 +1651,7 @@
1644
1651
  "ui.help.cmd.sync.as-import": "Oznaczyć to, co wysłała aplikacja Strom, jako przejęte drzewo genealogiczne, a nie jako potwierdzone przez człowieka (albo zostawić jako wpisane ręcznie)",
1645
1652
  "ui.help.cmd.task.list": "Zadania badania",
1646
1653
  "ui.help.cmd.task.wake": "Odpowiedzieć na zadanie, które czeka na odpowiedź; wróci do agenta",
1654
+ "ui.help.cmd.task.sent": "Zapytanie, na które czeka zadanie, zostało wysłane – dziś lub w podanym dniu (--date), także późniejsza poprawa daty",
1647
1655
  "ui.help.cmd.story.approve": "Zatwierdzić opowieść do Księgi rodu",
1648
1656
  "ui.help.cmd.story.discard": "Zachować zatwierdzoną opowieść, nie jej nową wersję",
1649
1657
  "ui.help.cmd.stats": "Badanie w skrócie: osoby, na ile pewne są dane, przodkowie w każdym pokoleniu",
@@ -1676,6 +1684,7 @@
1676
1684
  "ui.help.cmd.demo": "Wypróbować strom na przykładowym badaniu – wymyślona rodzina, oddzielnie od własnych drzew",
1677
1685
  "ui.help.cmd.tidy": "Zwolnić miejsce, które strom zajmuje obok badania (najpierw pokaże, potem zapyta)",
1678
1686
  "ui.help.cmd.media.calibrate": "Dostrój rozmiar widoków skanów dla agenta i modelu badania na jego własnych udokumentowanych zapisach (płatna praca modelu; koszt podany z góry)",
1687
+ "ui.help.cmd.media.renumber": "Poprawić numer zarejestrowanego skanu (cytowania i wycinki źródeł zostają; powód trafia do jego historii)",
1679
1688
  "ui.help.cmd.check": "Sprawdzić badanie: wszystko w porządku, nic nie zmieniono poza programem strom",
1680
1689
  "ui.help.cmd.task.order": "Kolejność zadania: jako następne, na końcu albo z powrotem według kolejki",
1681
1690
  "ui.help.cmd.offline.list": "Gałęzie poza liniami (siostra przodka i jej rodzina): jak każda jest badana",
@@ -3221,6 +3230,7 @@
3221
3230
  "log.task.edit": "Zmienione zadanie: {name}",
3222
3231
  "log.task.sent": "Zapytanie wysłane: {name}",
3223
3232
  "log.task.unsent": "Zapytanie jednak niewysłane: {name}",
3233
+ "log.task.sent.date": "Poprawiona data wysłania zapytania: {name}",
3224
3234
  "log.task.file": "Przyszedł plik {inputs} do zadania, z powrotem u agenta: {name}",
3225
3235
  "wait.group.family": "Rodzina",
3226
3236
  "wait.group.other": "Inne",
@@ -3393,6 +3403,7 @@
3393
3403
  "log.image": "{name}, obr. {image}",
3394
3404
  "log.media.edit": "Zmieniony skan: {name}",
3395
3405
  "log.media.retract": "Wycofany skan: {name}",
3406
+ "log.media.renumber": "Poprawiony numer skanu: {name}",
3396
3407
  "log.input.edit": "Materiał uzupełniony: {name}",
3397
3408
  "log.input.skip": "Materiał odłożony jako nieprzydatny: {name}",
3398
3409
  "log.input.sort": "Materiał posortowany: {name}",
@@ -22,10 +22,12 @@ import { claudeScanReader, opencodeScanReader, SCAN_READER, scanReaderModel, tre
22
22
  import { claudeImageSaver, IMAGE_SAVER } from "./imagesaver.js";
23
23
  import { claudeWebHooks, grokWebHooks, webRuleLines } from "../core/web.js";
24
24
  import { CODEX_HOOKS, codexHooks } from "../core/codexhook.js";
25
- import { claudeShellHooks, grokShellHook } from "../core/bridgeguard.js";
25
+ import { claudeShellHooks, grokShellHook, olderShellHookTexts } from "../core/bridgeguard.js";
26
26
  import { claudeDelegateHooks } from "../core/delegate.js";
27
27
  import { powershellUtf8Rule, putShim } from "../core/self.js";
28
28
  import { codexWindowsRule } from "../core/writable.js";
29
+ import { writableUnasked } from "../core/integrity.js";
30
+ import { showFile } from "../core/git.js";
29
31
  export const MARKER = "<!-- strom: generated above this line (strom agents sync); your own notes below are kept -->";
30
32
  export function agentsMd(tree, platform = process.platform) {
31
33
  const lang = langName(tree.config.lang);
@@ -744,6 +746,52 @@ export const AGENT_FILES = ["AGENTS.md", "CLAUDE.md", path.join(".claude", "sett
744
746
  * instructions (.md) stay: a person's notes below the mark go along, and they name no folder of a computer.
745
747
  */
746
748
  export const MACHINE_AGENT_FILES = [path.join(".claude", "settings.json"), "opencode.json", path.join(".grok", "config.toml"), GROK_HOOKS, CODEX_RULES, CODEX_HOOKS, CODEX_CONFIG].map((p) => p.split(path.sep).join("/"));
749
+ /**
750
+ * At the first run of a new strom: the agents' hooks of a research as this strom writes them — its Claude Code settings
751
+ * and Grok's hooks, only where strom wrote them before (a research no agent worked in keeps none), committed once (K059:
752
+ * the shell's hook got a longer time limit, a research gets it before its next conversation, not only when strom
753
+ * starts one). Never an archive's (no agent there), never a dry run, never where strom may not write unasked (another
754
+ * computer's seal, something changed outside strom), and only a file exactly as an older strom wrote it and committed
755
+ * (the same, the shell's hook with its older time limit; as git's last commit has it): one a person or another program
756
+ * changed, committed or not, is left as it is — strom chat, run and agents sync write it as they always did. The files
757
+ * committed.
758
+ */
759
+ export function settleAgentHooks(tree) {
760
+ if (tree.dryRun || !tree.key || isArchive(tree))
761
+ return [];
762
+ const settings = (v) => JSON.stringify(v, null, 2) + "\n";
763
+ const claude = claudeSettings(tree);
764
+ const grok = grokHooks(tree.root);
765
+ const files = [
766
+ [path.join(".claude", "settings.json"), settings(claude), olderShellHookTexts(claude)],
767
+ [GROK_HOOKS, settings(grok), olderShellHookTexts(grok)],
768
+ ];
769
+ const stale = () => files.filter(([rel, content, older]) => {
770
+ let cur;
771
+ try {
772
+ cur = fs.readFileSync(path.join(tree.root, rel), "utf8");
773
+ }
774
+ catch {
775
+ return false; // none here: strom never wrote it, nothing to bring up to date
776
+ }
777
+ // as an older strom wrote it, and as committed (an edit not committed yet is the person's)
778
+ return cur !== content && older.includes(cur) && showFile(tree.root, "HEAD", rel) === cur;
779
+ });
780
+ // as they should be (every first run after this one): the tree's lock never waited for — another strom may write long
781
+ if (!stale().length)
782
+ return [];
783
+ let written = [];
784
+ tree.atomically(() => {
785
+ const changed = stale();
786
+ if (!changed.length || !writableUnasked(tree))
787
+ return;
788
+ for (const [rel, content] of changed)
789
+ writeFileAtomic(path.join(tree.root, rel), content);
790
+ written = changed.map(([rel]) => rel.split(path.sep).join("/"));
791
+ tree.commit(`Agent hooks: ${written.join(", ")}`, written);
792
+ });
793
+ return written;
794
+ }
747
795
  /**
748
796
  * strom's files of the agents written for the tree (only what changed: the files written, to commit). `said.shim`: the
749
797
  * shim in .strom/bin was written now (never committed: not among the files).
package/dist/cli/help.js CHANGED
@@ -237,11 +237,11 @@ export const HUMAN_COMMANDS = [
237
237
  "menu", "status", "setup", "doctor", "error", "update", "uninstall", "shortcut",
238
238
  "init", "demo", "trees", "trees use", "trees remove", "trees forget", "lang", "mode",
239
239
  "chat", "run", "session finish", "research new", "research pause", "research resume", "research done", "research edit", "research order", "research move", "research gather", "review", "verify bulk", "verify stop",
240
- "intake", "sync", "sync undo", "sync discard", "sync note", "sync as-import", "conflict list", "conflict resolve", "conflict leave", "conflict keep", "event main", "event revert", "person revert", "hypothesis decide", "task list", "task wake", "task order", "story approve", "story discard",
240
+ "intake", "sync", "sync undo", "sync discard", "sync note", "sync as-import", "conflict list", "conflict resolve", "conflict leave", "conflict keep", "event main", "event revert", "person revert", "hypothesis decide", "task list", "task wake", "task sent", "task order", "story approve", "story discard",
241
241
  "offline list", "offline show", "offline set", "offline answer",
242
242
  "stats", "recent", "plan", "history", "history back", "person card", "person list", "pedigree", "find", "query", "doc",
243
243
  "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",
244
- "fixes", "fixes show", "fixes run", "fixes decline", "fixes reopen", "fixes undo", "fixes review", "house confirm", "media calibrate",
244
+ "fixes", "fixes show", "fixes run", "fixes decline", "fixes reopen", "fixes undo", "fixes review", "house confirm", "media calibrate", "media renumber",
245
245
  "surname accept", "surname reject", "surname group", "surname ungroup", "surname unreject", "occupation add", "occupation list", "occupation remove", "quality dismiss", "quality undo", "place answer", "place undo", "source split", "source retract", "source restore",
246
246
  "config get", "config set", "login", "connector add", "connector remove", "connector use", "link on", "link off", "hook on", "hook off",
247
247
  ];