@roomi-fields/grillhouse 0.53.0 → 0.54.0

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.
Files changed (60) hide show
  1. package/.claude-plugin/plugin.json +1 -1
  2. package/CHANGELOG.md +48 -0
  3. package/cadre/templates/projet/docs/agents/issue-tracker.md +2 -2
  4. package/charte.md +12 -0
  5. package/dist/temporal/circuit/deroule.js +5 -9
  6. package/dist/temporal/circuit/deroule.js.map +1 -1
  7. package/dist/temporal/installation.d.ts +15 -2
  8. package/dist/temporal/installation.js +69 -17
  9. package/dist/temporal/installation.js.map +1 -1
  10. package/docs/INTERFACE.md +21 -1
  11. package/docs/architecture/circuit.md +3 -3
  12. package/docs/architecture/entree.md +4 -4
  13. package/docs/architecture/greffon.md +19 -10
  14. package/docs/architecture/installation.md +11 -7
  15. package/docs/architecture/machine.md +1 -1
  16. package/docs/architecture/tests.md +1 -1
  17. package/hooks/register.tsx +50 -24
  18. package/package.json +1 -1
  19. package/scripts/aiguillage.mjs +4 -2
  20. package/scripts/bd-garde.mjs +69 -0
  21. package/scripts/ci-de-main.mjs +259 -56
  22. package/scripts/circuit.mjs +20 -5
  23. package/scripts/commandes-composees.mjs +1 -1
  24. package/scripts/droits.mjs +11 -4
  25. package/scripts/file-des-tickets.mjs +27 -9
  26. package/scripts/langages/c/commandes.mjs +1 -1
  27. package/scripts/langages/cargo/commandes.mjs +1 -1
  28. package/scripts/langages/cargo/tailles-des-tests.mjs +115 -6
  29. package/scripts/langages/python/commandes.mjs +1 -1
  30. package/scripts/langages/typescript/code-mort.mjs +36 -3
  31. package/scripts/langages/typescript/migrations/configurations-en-commonjs.mjs +95 -24
  32. package/scripts/langages/typescript/mise-a-jour.mjs +49 -12
  33. package/scripts/langages/typescript/parcours.mjs +5 -1
  34. package/scripts/langages.d.mts +6 -0
  35. package/scripts/langages.mjs +6 -0
  36. package/scripts/lire.mjs +236 -0
  37. package/scripts/migrations/cout-des-jetons-au-registre.mjs +136 -0
  38. package/scripts/migrations/lire-un-ticket.mjs +46 -0
  39. package/scripts/migrations.mjs +4 -0
  40. package/scripts/montee.mjs +110 -46
  41. package/scripts/nuit.sh +21 -12
  42. package/scripts/registre.d.mts +7 -1
  43. package/scripts/registre.mjs +114 -102
  44. package/scripts/resultats.mjs +15 -5
  45. package/scripts/sous-commandes.mjs +1 -0
  46. package/scripts/suiveur.mjs +12 -4
  47. package/scripts/superviseur.mjs +28 -17
  48. package/scripts/tableau.mjs +527 -119
  49. package/scripts/tarifs.mjs +67 -0
  50. package/scripts/ticket-du-circuit.mjs +3 -4
  51. package/scripts/transitions.d.mts +0 -5
  52. package/scripts/transitions.mjs +3 -13
  53. package/scripts/verdict-de-la-nuit.mjs +2 -2
  54. package/skills/explorateur/SKILL.md +10 -5
  55. package/skills/mesure/SKILL.md +4 -3
  56. package/skills/pitmaster/SKILL.md +11 -2
  57. package/skills/pitmaster/references/erreurs.md +4 -2
  58. package/skills/pitmaster/references/tour.md +11 -4
  59. package/types/index.d.ts +3 -1
  60. package/scripts/base-des-workflows.mjs +0 -58
@@ -11,16 +11,19 @@
11
11
  // rest from the variable `GRILLHOUSE_MONTEE`.
12
12
  // - The rest, up to five passes: the files the frame writes (scripts/grillhouse-maj.mjs), the
13
13
  // machine's part once (the published tool, the plugins, the binaries, the units and workers, the
14
- // schedule of the nights), the verification of the sort « Montée » on the content of the commit
14
+ // schedule of the nights; in the repository of the frame, the last two by the commands of the
15
+ // published tool), the verification of the sort « Montée » on the content of the commit
15
16
  // alone; green, the commit, its tree kept as judged (scripts/arbres-juges.mjs), main advanced by
16
17
  // fast-forward and pushed; main advanced meanwhile, the next pass writes everything again from
17
18
  // its tip. Main advanced, the main tree installs its dependencies and the plugins the lot adds.
19
+ // - A montée in which a gesture failed ends its report, on the error output, by saying each such
20
+ // failure again, whole, with the command that plays the gesture again.
18
21
  // - Exit code: 0; 1 for a failure, a refusal or a montée not entered; 75 for a verification to play
19
22
  // again; 2 for the usage (scripts/grillhouse-maj.mjs).
20
23
  import { spawnSync } from 'node:child_process';
21
24
  import { existsSync, readFileSync, realpathSync } from 'node:fs';
22
25
  import path from 'node:path';
23
- import { installer, NOM_DU_PAQUET, versionDeLOutil } from './aiguillage.mjs';
26
+ import { dossierDeLOutil, installer, NOM_DU_PAQUET, versionDeLOutil } from './aiguillage.mjs';
24
27
  import { garderLArbreJuge } from './arbres-juges.mjs';
25
28
  import { installerBinaires } from './binaires.mjs';
26
29
  import { poserCrochets } from './crochets.mjs';
@@ -138,16 +141,16 @@ function versionDeLaPointe(principal, pointe, sources) {
138
141
  );
139
142
  }
140
143
 
141
- // npm in `dossier`, its output the command's; whether it succeeded, its failure said.
144
+ // npm in `dossier`, its output the command's: null when it succeeds, else the line of its failure,
145
+ // said.
142
146
  function npm(dossier, args) {
143
147
  const r = spawnSync('npm', args, { cwd: dossier, stdio: 'inherit' });
144
148
  if (r.status === 0) {
145
- return true;
149
+ return null;
146
150
  }
147
- signaler(
148
- `⛔ \`npm ${args.join(' ')}\` dans ${dossier} échoue (${r.error?.message ?? `code ${r.status}`}).`
149
- );
150
- return false;
151
+ const ligne = `⛔ \`npm ${args.join(' ')}\` dans ${dossier} échoue (${r.error?.message ?? `code ${r.status}`}).`;
152
+ signaler(ligne);
153
+ return ligne;
151
154
  }
152
155
 
153
156
  // The installation of a montée in its copy: the package at `version` when the tip does not hold it
@@ -157,7 +160,22 @@ function installerDansLaCopie({ copie, version, duCadre }) {
157
160
  duCadre ||
158
161
  (declareLePaquet(lireJson(path.join(copie, 'package.json'))) &&
159
162
  versionVerrouillee(lireJson(path.join(copie, 'package-lock.json'))) === version);
160
- return npm(copie, aJour ? ['install'] : ['install', '-D', `${NOM_DU_PAQUET}@${version}`]);
163
+ return !npm(copie, aJour ? ['install'] : ['install', '-D', `${NOM_DU_PAQUET}@${version}`]);
164
+ }
165
+
166
+ /**
167
+ * A gesture that failed: the lines the montée said of it, and the line naming the command that
168
+ * plays it again.
169
+ * @typedef {{ lignes: string[], rejeu: string }} Echec
170
+ */
171
+
172
+ // The end of the report: each failure said again, whole, with its command; the exit code.
173
+ function redire(echecs) {
174
+ for (const { lignes, rejeu } of echecs) {
175
+ lignes.forEach(signaler);
176
+ signaler(rejeu);
177
+ }
178
+ return echecs.length > 0 ? 1 : 0;
161
179
  }
162
180
 
163
181
  // What the report says of a montée that did not enter main: its copy, the versions, the commands.
@@ -262,15 +280,31 @@ export function monter(voulue, deLaMaj, cwd = process.cwd()) {
262
280
  nonEntree(montee, false);
263
281
  return 1;
264
282
  }
265
- const echecs = jouerLePoste(montee);
266
- echecs.push(...apresLAvance(montee, false));
283
+ const echecs = [];
284
+ jouerLePoste(montee, echecs);
285
+ apresLAvance(montee, false, echecs);
267
286
  retirerOuDire(montee);
268
- return echecs.length > 0 ? 1 : 0;
287
+ return redire(echecs);
269
288
  }
270
289
 
271
- // Runs a command of the frame in the main tree; the line of its failure, which names `geste`.
272
- function duPoste(principal, geste, script, args) {
273
- const r = spawnSync(process.execPath, [path.join(PAQUET, script), ...args], {
290
+ // The package whose commands the machine's part runs: in the repository of the frame, the published
291
+ // tool of the version the copy writes, never the build of the workspace (installation.md §5.5);
292
+ // elsewhere the package that runs, installed in the copy.
293
+ function paquetDuPoste({ copie, version, duCadre }) {
294
+ if (!duCadre) {
295
+ return PAQUET;
296
+ }
297
+ const publiee = versionDeLOutil(copie) ?? version;
298
+ const paquet = path.join(dossierDeLOutil(publiee), 'node_modules', NOM_DU_PAQUET);
299
+ if (!existsSync(paquet)) {
300
+ throw new Error(`l'outil publié ${publiee} n'est pas installé.`);
301
+ }
302
+ return paquet;
303
+ }
304
+
305
+ // Runs a command of <paquet> in the main tree; the line of its failure, which names `geste`.
306
+ function duPoste(principal, geste, paquet, script, args) {
307
+ const r = spawnSync(process.execPath, [path.join(paquet, script), ...args], {
274
308
  cwd: principal,
275
309
  encoding: 'utf8',
276
310
  });
@@ -283,9 +317,16 @@ function duPoste(principal, geste, script, args) {
283
317
  ];
284
318
  }
285
319
 
286
- // The machine's part (installation.md §5.3), at the version and by the declarations the copy
287
- // holds, with the paths and names of the main tree: the lines of failure, each said.
288
- function jouerLePoste({ principal, copie, version }) {
320
+ /**
321
+ * The machine's part (installation.md §5.3), at the version and by the declarations the copy
322
+ * holds, with the paths and names of the main tree: the lines of failure, each said, and its
323
+ * failure added to `echoues`.
324
+ * @param {{ principal: string, copie: string, version: string, duCadre: boolean }} montee
325
+ * @param {Echec[]} [echoues]
326
+ * @returns {string[]}
327
+ */
328
+ export function jouerLePoste(montee, echoues = []) {
329
+ const { principal, copie, version } = montee;
289
330
  const echecs = [];
290
331
  const essayer = (geste, jouer) => {
291
332
  try {
@@ -315,24 +356,32 @@ function jouerLePoste({ principal, copie, version }) {
315
356
  return r.lignes;
316
357
  });
317
358
  essayer('npx grillhouse temporal installer', () =>
318
- duPoste(principal, 'npx grillhouse temporal installer', 'dist/temporal/commande.js', [
319
- 'installer',
320
- '--racine',
359
+ duPoste(
321
360
  principal,
322
- '--declarations',
323
- copie,
324
- ])
361
+ 'npx grillhouse temporal installer',
362
+ paquetDuPoste(montee),
363
+ 'dist/temporal/commande.js',
364
+ ['installer', '--racine', principal, '--declarations', copie]
365
+ )
325
366
  );
326
367
  essayer('npx grillhouse nuit --planifier', () =>
327
- duPoste(principal, 'npx grillhouse nuit --planifier', 'dist/temporal/nuits/commande.js', [
328
- '--planifier',
329
- ])
368
+ duPoste(
369
+ principal,
370
+ 'npx grillhouse nuit --planifier',
371
+ paquetDuPoste(montee),
372
+ 'dist/temporal/nuits/commande.js',
373
+ ['--planifier']
374
+ )
330
375
  );
331
376
  echecs.forEach(signaler);
332
377
  if (echecs.length > 0) {
333
378
  signaler(
334
379
  `Part du poste en échec : \`npx grillhouse maj ${version}\` la rejoue, \`npx grillhouse maj\` revient à la version du projet.`
335
380
  );
381
+ echoues.push({
382
+ lignes: echecs,
383
+ rejeu: `Part du poste en échec : \`npx grillhouse maj ${version}\` la rejoue.`,
384
+ });
336
385
  }
337
386
  return echecs;
338
387
  }
@@ -352,19 +401,26 @@ function perime(principal) {
352
401
  }
353
402
 
354
403
  // What follows the advance of main (`avance`) in the main tree: its dependencies, then the plugins
355
- // it declares; the lines of failure, each said.
356
- function apresLAvance({ principal, version }, avance) {
357
- const echecs = [];
358
- if ((avance || perime(principal)) && !npm(principal, ['install'])) {
359
- echecs.push(
360
- `Arbre principal : \`npm install\` reste à jouer ; \`npx grillhouse maj ${version}\` le rejoue.`
361
- );
362
- signaler(echecs[0]);
404
+ // it declares; their failures, each line said, added to `echoues`.
405
+ function apresLAvance({ principal, version }, avance, echoues) {
406
+ const deNpm = (avance || perime(principal)) && npm(principal, ['install']);
407
+ if (deNpm) {
408
+ const reste = `Arbre principal : \`npm install\` reste à jouer ; \`npx grillhouse maj ${version}\` le rejoue.`;
409
+ signaler(reste);
410
+ echoues.push({
411
+ lignes: [deNpm, reste],
412
+ rejeu: `\`npx grillhouse maj ${version}\` rejoue \`npm install\` dans l'arbre principal.`,
413
+ });
363
414
  }
364
415
  poserCrochets(principal);
365
416
  const greffons = installerGreffons(principal, { version });
366
417
  greffons.forEach(signaler);
367
- return [...echecs, ...greffons];
418
+ if (greffons.length > 0) {
419
+ echoues.push({
420
+ lignes: greffons,
421
+ rejeu: `Greffons en échec : \`npx grillhouse greffons\` les rejoue dans ${principal}.`,
422
+ });
423
+ }
368
424
  }
369
425
 
370
426
  // Removes the copy, or says why it stays.
@@ -403,7 +459,8 @@ function avancer({ principal, branche }, base, commit, fichiers) {
403
459
  export function suivre(montee, { ecrireLeProjet, verifier }) {
404
460
  const { principal, branche, copie, version, duCadre } = montee;
405
461
  let { pointe } = montee;
406
- let echecs = null;
462
+ const echecs = [];
463
+ let posteJoue = false;
407
464
  let entree = false;
408
465
  // Lays back what was set aside, says the montée did not enter, and gives the exit code.
409
466
  const arreter = (cause, code = 1) => {
@@ -415,8 +472,9 @@ export function suivre(montee, { ecrireLeProjet, verifier }) {
415
472
  signaler(`Le changement d'un autre reste tel quel dans la copie : ${enConflit.join(', ')}.`);
416
473
  }
417
474
  if (!entree) {
418
- nonEntree({ ...montee, pointe }, echecs !== null);
475
+ nonEntree({ ...montee, pointe }, posteJoue);
419
476
  }
477
+ redire(echecs);
420
478
  return code;
421
479
  };
422
480
  try {
@@ -439,7 +497,10 @@ export function suivre(montee, { ecrireLeProjet, verifier }) {
439
497
  });
440
498
  const fichiers = fichiersEcrits(copie);
441
499
  garderLEtat(copie, version, fichiers);
442
- echecs ??= jouerLePoste(montee);
500
+ if (!posteJoue) {
501
+ jouerLePoste(montee, echecs);
502
+ posteJoue = true;
503
+ }
443
504
  const enConflit = conflits(copie, version);
444
505
  if (aFaire || enConflit.length > 0) {
445
506
  const v = aFaire
@@ -452,9 +513,9 @@ export function suivre(montee, { ecrireLeProjet, verifier }) {
452
513
  if (fichiers.length === 0) {
453
514
  dire(`Montée ${version} : rien à commiter, le projet est à jour ; aucun commit.`);
454
515
  restaurer(copie, version);
455
- const apres = apresLAvance(montee, false);
516
+ apresLAvance(montee, false, echecs);
456
517
  retirerOuDire(montee);
457
- return echecs.length + apres.length > 0 ? 1 : 0;
518
+ return redire(echecs);
458
519
  }
459
520
  const arbre = arbreDe(copie, pointe, fichiers);
460
521
  const v = verifier(copie, { fichiersAFinir: false, installer: false, sansVerifier });
@@ -495,18 +556,21 @@ export function suivre(montee, { ecrireLeProjet, verifier }) {
495
556
  dire(
496
557
  `Commit ${commit.slice(0, 7)} « Montée du cadre à ${version} » : ${fichiers.join(', ')} ; ${branche} avancée.`
497
558
  );
498
- const apres = [];
499
559
  if (resultatDeGit(principal, ['remote', 'get-url', 'origin']).status === 0) {
500
560
  const p = resultatDeGit(principal, ['push', '-q', 'origin', branche]);
501
561
  if (p.status !== 0) {
502
- apres.push(`⛔ \`git push origin ${branche}\` échoue : ${p.stderr.trim()}`);
503
- signaler(apres[0]);
562
+ const ligne = `⛔ \`git push origin ${branche}\` échoue : ${p.stderr.trim()}`;
563
+ signaler(ligne);
564
+ echecs.push({
565
+ lignes: [ligne],
566
+ rejeu: `Poussée en échec : \`git push origin ${branche}\` la rejoue dans ${principal}.`,
567
+ });
504
568
  }
505
569
  }
506
- apres.push(...apresLAvance(montee, true));
570
+ apresLAvance(montee, true, echecs);
507
571
  restaurer(copie, version);
508
572
  retirerOuDire(montee);
509
- return echecs.length + apres.length > 0 ? 1 : 0;
573
+ return redire(echecs);
510
574
  }
511
575
  return arreter(
512
576
  `⛔ main a avancé à chacune des ${PASSES_MAX} passes : la montée s'arrête sans avancer main.`
package/scripts/nuit.sh CHANGED
@@ -44,9 +44,10 @@
44
44
  # path, whatever the environment of the night's launcher; a faulty key turns the night red, the
45
45
  # log naming it, and nothing runs.
46
46
  # - TEMPORAL: after the tools of the project, before any command, the night lays the pinned program of
47
- # Temporal down (`grillhouse temporal installer --programme-seul`, by the built command of the
48
- # version playing the night, not the copy's: the copy has no build yet; idempotent: a program
49
- # already laid down is not downloaded again) and exports its path as TEMPORAL, over any key left
47
+ # Temporal down (`grillhouse temporal installer --programme-seul`, by the command of the
48
+ # version playing the night, in the frame's repository the published version the key
49
+ # grillhouse.outil names, never the copy's code: the copy has no build yet; idempotent: a
50
+ # program already laid down is not downloaded again) and exports its path as TEMPORAL, over any key left
50
51
  # in a package.json. A laying that fails does not stop the night: the log names it, TEMPORAL
51
52
  # stays unset, and a test that starts a server resolves the program from the shared cache
52
53
  # (~/.cache/grillhouse/temporal/<version>/temporal), or fails on itself naming the command that
@@ -119,7 +120,10 @@
119
120
  # among them), else the full pass by its command, the night tests, the project's
120
121
  # night script by its command, or the preparation when the night is red before any step. Each
121
122
  # red task comments the open ticket labelled `nuit` whose title names it (« <task> »), once per
122
- # ticket, or opens its own, « La nuit est rouge sur « <task> » depuis la nuit du <date> ». The
123
+ # ticket, or opens its own, « La nuit est rouge sur « <task> » depuis la nuit du <date> ». Its
124
+ # title, « number — subject — components », is one the departure of a circuit reads, so that
125
+ # the ticket launches itself; fixes may be created under it. Its components are those of a defect
126
+ # of the CI of main (scripts/ci-de-main.mjs), over the lots entered since the last green. The
123
127
  # text, the same for each, gives the commits since the last green, where `git bisect` looks for
124
128
  # the culprit, each red step and each red task, with or without a last green, then the end of
125
129
  # the log. With a last green, each red task of the full pass that comes with its command gets the
@@ -333,8 +337,9 @@ jouer() {
333
337
  fi
334
338
  eval "$outils"
335
339
  # The pinned program of Temporal, laid down and exported for every command. The command is that
336
- # of the version playing the night (already built), not the copy's: the copy is cleaned of its
337
- # build and has no node_modules before the `npm ci` below.
340
+ # of the version playing the night (already built; in the frame's repository the published one,
341
+ # installation.md §5.5), not the copy's code: the copy is cleaned of its build and has no
342
+ # node_modules before the `npm ci` below.
338
343
  local temporal
339
344
  if temporal=$(env -C "$copie" node "$ici/../bin/grillhouse.mjs" temporal installer --programme-seul); then
340
345
  export TEMPORAL="$temporal"
@@ -481,8 +486,9 @@ fi
481
486
  ouverts=
482
487
  commentes=" "
483
488
  # Reports one cause: comments the open night ticket whose title names it (once a night), or opens
484
- # its own (title « number — subject — parent », the number being the id without the project's
485
- # prefix as `prefixe` reads it in `.beads/config.yaml`, the subject naming « <cause> »); its id goes to
489
+ # its own (title « number — subject — components », the number being the id without the project's
490
+ # prefix as `prefixe` reads it in `.beads/config.yaml`, the subject naming « <cause> », the
491
+ # components those of `composants`; without a prefix, « subject — components »); its id goes to
486
492
  # `numero`.
487
493
  signaler() {
488
494
  local cause="$1" sujet="$2" texte="$3" ouvert neuf= prefixe
@@ -496,9 +502,9 @@ signaler() {
496
502
  commentes="$commentes$ouvert " ;;
497
503
  esac
498
504
  else
499
- neuf="$(cd "$racine" && bd create "$sujet" -t bug -p 1 -l nuit -d "$texte" --silent)"
505
+ neuf="$(cd "$racine" && bd create "$sujet — $composants" -t bug -p 1 -l nuit -d "$texte" --silent)"
500
506
  if prefixe="$(node "$ici/prefixe-des-tickets.mjs" "$racine" 2>&1)"; then
501
- [ -n "$neuf" ] && (cd "$racine" && bd update "$neuf" --title "${neuf#"$prefixe"-} — $sujet — parent" >/dev/null)
507
+ [ -n "$neuf" ] && (cd "$racine" && bd update "$neuf" --title "${neuf#"$prefixe"-} — $sujet — $composants" >/dev/null)
502
508
  else
503
509
  echo "⛔ ${prefixe}" >> "$journal"
504
510
  fi
@@ -543,8 +549,11 @@ $liste
543
549
  Journal : $journal
544
550
  Fin du journal :
545
551
  $(tail -40 "$journal")"
546
- # Each red task reports on the night ticket that names it, else on its own; a night ticket is the
547
- # mother of its fixes.
552
+ # The components of a ticket the night opens: those of the lots entered since its last green.
553
+ composants="$(node "$ici/ci-de-main.mjs" composants "$racine" "$vert" "$tete" 2>> "$journal")"
554
+ [ -n "$composants" ] || composants=.
555
+ # Each red task reports on the night ticket that names it, else on its own: a defect ticket that
556
+ # launches itself, under which its fixes may be created.
548
557
  for tache in "${taches[@]}"; do
549
558
  signaler "$tache" "La nuit est rouge sur « $tache » depuis la nuit du $(date +%Y-%m-%d)" "$texte"
550
559
  echo "✗ rouge : ticket ${numero:-neuf} (étiquette nuit) sur « $tache »." >> "$journal"
@@ -20,6 +20,8 @@ export interface Tarif {
20
20
  lecture: number;
21
21
  ecriture5m: number;
22
22
  ecriture1h: number;
23
+ /** The upper tier, of a request of more than `au` input tokens, cache included. */
24
+ palier?: Omit<Tarif, 'palier'> & { au: number };
23
25
  }
24
26
 
25
27
  /** A line of the register. */
@@ -60,7 +62,6 @@ export function ligne(
60
62
  tours: [number, number][];
61
63
  jetons: number;
62
64
  cache: number;
63
- cout?: number | null;
64
65
  modeles?: Record<string, Partial<Tarif>>;
65
66
  },
66
67
  projet: string
@@ -86,5 +87,10 @@ export function aRattraper(
86
87
  maintenant?: number
87
88
  ): EntreeDuCrochet[];
88
89
  export function ecrire(l: LigneDuRegistre): boolean;
90
+ export function depenseJusqua(
91
+ lectures: ({ reponses: object[] } | undefined)[],
92
+ fin: number
93
+ ): { jetons: number; cache: number; modeles: Record<string, object>; ecartee: boolean };
94
+ export function ecrireLaLigne(input: EntreeDuCrochet, projet: string, home?: string): boolean;
89
95
  export function transcriptionsDeLaCopie(copie: string, home: string): string;
90
96
  export function deLaCopie(copie: string, home: string, connus: Set<string>): EntreeDuCrochet[];