@spunto/brand-kit 0.10.0 → 0.11.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.
@@ -0,0 +1,504 @@
1
+ [
2
+ {
3
+ "id": "sandbox-2026-11-moteur",
4
+ "name": "Moteur",
5
+ "note": "The engine of Spunto Cloud, on one's own machine: the install line in the hero over the fleet (microVMs running, paused, forked), a terminal playing the quickstart at the measured speed, the five commands, the figures with where they were measured (a nested GCP VM; bare metal apart), why Firecracker, what a box is, what the machine needs, the SDK, the FAQ. Every word and figure from spuntodotnet/sandbox (README, docs/site). Left out: anything of Cloud's platform, an npm install of the SDK (not published yet), macOS and ARM.",
6
+ "product": "sandbox",
7
+ "date": "2026-11-25",
8
+ "sections": [
9
+ {
10
+ "id": "hero",
11
+ "kind": "hero",
12
+ "layout": "split",
13
+ "theme": "night",
14
+ "kicker": {
15
+ "en": "Open source · Apache-2.0 · the engine of Spunto Cloud",
16
+ "fr": "Open source · Apache-2.0 · le moteur de Spunto Cloud"
17
+ },
18
+ "title": {
19
+ "en": "Firecracker microVMs, *on your own machine*.",
20
+ "fr": "Des microVM Firecracker, *sur votre propre machine*."
21
+ },
22
+ "lede": {
23
+ "en": "An OCI image in, a microVM in seconds. A pause keeps the memory: every process waits in its RAM and carries on at the resume, milliseconds later. A fork copies a running one. The engine that runs Spunto Cloud, with a daemon, a CLI and a TypeScript SDK around it.",
24
+ "fr": "Une image OCI en entrée, une microVM en quelques secondes. Une pause garde la mémoire : chaque processus attend dans sa RAM et continue à la reprise, quelques millisecondes plus tard. Un fork copie une boîte qui tourne. Le moteur qui fait tourner Spunto Cloud, avec un démon, une CLI et un SDK TypeScript autour."
25
+ },
26
+ "command": "curl -fsSL https://sandbox.spunto.net/install.sh | sudo sh",
27
+ "actions": [
28
+ {
29
+ "label": {
30
+ "en": "Quickstart",
31
+ "fr": "Démarrage rapide"
32
+ },
33
+ "href": "/docs/quickstart"
34
+ },
35
+ {
36
+ "label": {
37
+ "en": "GitHub",
38
+ "fr": "GitHub"
39
+ },
40
+ "href": "https://github.com/spuntodotnet/sandbox",
41
+ "variant": "ghost"
42
+ }
43
+ ],
44
+ "scene": {
45
+ "module": "fleet"
46
+ }
47
+ },
48
+ {
49
+ "id": "session",
50
+ "kind": "showcase",
51
+ "theme": "paper",
52
+ "title": {
53
+ "en": "Pause it. Resume it. *It carries on.*",
54
+ "fr": "En pause. Reprise. *Elle continue.*"
55
+ },
56
+ "stops": [
57
+ {
58
+ "layout": "wide",
59
+ "kicker": {
60
+ "en": "sbx, in a terminal",
61
+ "fr": "sbx, dans un terminal"
62
+ },
63
+ "title": {
64
+ "en": "A box that picks up *where it stopped*.",
65
+ "fr": "Une boîte qui reprend *où elle en était*."
66
+ },
67
+ "text": {
68
+ "en": "sbx run makes a microVM from ubuntu:24.04, and a counter runs in it. sbx pause writes its RAM and stops it: nothing runs, nothing is lost. sbx resume brings the same process back, counting from where it was; sbx fork makes a second box with the same memory, counting too. Each output comes after as long as the command took when it was measured.",
69
+ "fr": "sbx run fait une microVM depuis ubuntu:24.04, et un compteur y tourne. sbx pause écrit sa RAM et l’arrête : plus rien ne tourne, rien n’est perdu. sbx resume ramène le même processus, qui compte depuis où il en était ; sbx fork fait une seconde boîte avec la même mémoire, qui compte aussi. Chaque sortie arrive après le temps que la commande a pris quand on l’a mesurée."
70
+ },
71
+ "screen": "sandbox-terminal"
72
+ }
73
+ ]
74
+ },
75
+ {
76
+ "id": "how",
77
+ "kind": "steps",
78
+ "theme": "night",
79
+ "title": {
80
+ "en": "Five commands. *One microVM.*",
81
+ "fr": "Cinq commandes. *Une microVM.*"
82
+ },
83
+ "items": [
84
+ {
85
+ "title": {
86
+ "en": "Make a box",
87
+ "fr": "Faites une boîte"
88
+ },
89
+ "text": {
90
+ "en": "From any OCI image: ubuntu, node, python, your own. The first box of an image pulls and unpacks it; the next ones boot in about two seconds.",
91
+ "fr": "Depuis n’importe quelle image OCI : ubuntu, node, python, la vôtre. La première boîte d’une image la tire et la dépaquette ; les suivantes démarrent en deux secondes environ."
92
+ },
93
+ "command": "sbx run ubuntu:24.04 --name hello"
94
+ },
95
+ {
96
+ "title": {
97
+ "en": "Work in it",
98
+ "fr": "Travaillez dedans"
99
+ },
100
+ "text": {
101
+ "en": "A command, a shell (sbx shell), a file in or out (sbx cp), one of its ports on your localhost (sbx port-forward).",
102
+ "fr": "Une commande, un shell (sbx shell), un fichier qui entre ou sort (sbx cp), un de ses ports sur votre localhost (sbx port-forward)."
103
+ },
104
+ "command": "sbx exec hello -- uname -a"
105
+ },
106
+ {
107
+ "title": {
108
+ "en": "Pause it",
109
+ "fr": "Mettez-la en pause"
110
+ },
111
+ "text": {
112
+ "en": "Its RAM written, its VMM stopped: a paused box holds no memory and no CPU on the host, only its memory file on disk.",
113
+ "fr": "Sa RAM écrite, son VMM arrêté : une boîte en pause ne tient ni mémoire ni CPU sur la machine, seulement son fichier mémoire sur disque."
114
+ },
115
+ "command": "sbx pause hello"
116
+ },
117
+ {
118
+ "title": {
119
+ "en": "Resume it",
120
+ "fr": "Reprenez-la"
121
+ },
122
+ "text": {
123
+ "en": "Every process back where it was. It never stopped: it was frozen.",
124
+ "fr": "Chaque processus là où il en était. Il ne s’est jamais arrêté : il était figé."
125
+ },
126
+ "command": "sbx resume hello"
127
+ },
128
+ {
129
+ "title": {
130
+ "en": "Fork it",
131
+ "fr": "Forkez-la"
132
+ },
133
+ "text": {
134
+ "en": "A second VM, same memory, same processes, with its own disks from then on: what one writes, the other does not see.",
135
+ "fr": "Une seconde VM, même mémoire, mêmes processus, avec ses propres disques à partir de là : ce que l’une écrit, l’autre ne le voit pas."
136
+ },
137
+ "command": "sbx fork hello --name hello-2"
138
+ }
139
+ ]
140
+ },
141
+ {
142
+ "id": "measured",
143
+ "kind": "facts",
144
+ "theme": "paper",
145
+ "title": {
146
+ "en": "Measured on a nested cloud VM. *Bare metal is faster.*",
147
+ "fr": "Mesuré sur une VM de cloud imbriquée. *Sur machine nue, c’est plus rapide.*"
148
+ },
149
+ "facts": [
150
+ "sandbox-run",
151
+ "sandbox-pause",
152
+ "sandbox-resume",
153
+ "sandbox-fork",
154
+ "sandbox-fork-copy"
155
+ ]
156
+ },
157
+ {
158
+ "id": "metal",
159
+ "kind": "facts",
160
+ "theme": "night",
161
+ "title": {
162
+ "en": "On Spunto Cloud’s *bare metal*.",
163
+ "fr": "Sur les machines nues de *Spunto Cloud*."
164
+ },
165
+ "facts": [
166
+ "sandbox-resume-metal",
167
+ "sandbox-fork-disk"
168
+ ]
169
+ },
170
+ {
171
+ "id": "why",
172
+ "kind": "compare",
173
+ "theme": "paper",
174
+ "title": {
175
+ "en": "Why *Firecracker*.",
176
+ "fr": "Pourquoi *Firecracker*."
177
+ },
178
+ "lede": {
179
+ "en": "Measured on the same bare-metal server before the engine was written. A resume that takes as long as a boot keeps nothing worth keeping: that measurement is why the engine is Firecracker.",
180
+ "fr": "Mesuré sur le même serveur nu avant que le moteur soit écrit. Une reprise aussi longue qu’un démarrage ne garde rien qui vaille : c’est cette mesure qui a fait choisir Firecracker."
181
+ },
182
+ "them": {
183
+ "en": "Incus (QEMU)",
184
+ "fr": "Incus (QEMU)"
185
+ },
186
+ "us": {
187
+ "en": "Firecracker",
188
+ "fr": "Firecracker"
189
+ },
190
+ "rows": [
191
+ {
192
+ "label": {
193
+ "en": "Boot",
194
+ "fr": "Démarrage"
195
+ },
196
+ "them": {
197
+ "en": "9 to 11 s",
198
+ "fr": "9 à 11 s"
199
+ },
200
+ "us": {
201
+ "en": "2.3 s, to a login prompt",
202
+ "fr": "2,3 s, jusqu’à l’invite de connexion"
203
+ }
204
+ },
205
+ {
206
+ "label": {
207
+ "en": "Resume, memory and all",
208
+ "fr": "Reprise, mémoire comprise"
209
+ },
210
+ "them": {
211
+ "en": "7.8 s: no faster than a boot",
212
+ "fr": "7,8 s : pas plus vite qu’un démarrage"
213
+ },
214
+ "us": {
215
+ "en": "27 ms, snapshot/load and resume",
216
+ "fr": "27 ms, snapshot/load et reprise"
217
+ }
218
+ }
219
+ ],
220
+ "source": "spuntodotnet/sandbox, docs/content/docs/benchmarks.mdx « Against QEMU » and design.mdx § 2 (docs/site @ f0639c5): Incus and Firecracker on the same bare-metal OVH server, the 27 ms being the daemon side of a first trial"
221
+ },
222
+ {
223
+ "id": "box",
224
+ "kind": "pillars",
225
+ "theme": "night",
226
+ "title": {
227
+ "en": "A box is *a microVM*, not a container.",
228
+ "fr": "Une boîte est *une microVM*, pas un conteneur."
229
+ },
230
+ "items": [
231
+ {
232
+ "illustration": "sandbox",
233
+ "title": {
234
+ "en": "Its own kernel",
235
+ "fr": "Son propre noyau"
236
+ },
237
+ "text": {
238
+ "en": "Ours, built reproducibly, with what Docker needs: Docker works inside. Its own disks, its own network namespace.",
239
+ "fr": "Le nôtre, construit de façon reproductible, avec ce qu’il faut à Docker : Docker marche dedans. Ses propres disques, son propre espace réseau."
240
+ }
241
+ },
242
+ {
243
+ "title": {
244
+ "en": "Jailed, one by one",
245
+ "fr": "En cellule, une par une"
246
+ },
247
+ "text": {
248
+ "en": "Each VMM runs under Firecracker’s jailer: a chroot, a uid of its own, no capability.",
249
+ "fr": "Chaque VMM tourne sous le jailer de Firecracker : un chroot, un uid à lui, aucune capability."
250
+ }
251
+ },
252
+ {
253
+ "title": {
254
+ "en": "Any OCI image",
255
+ "fr": "N’importe quelle image OCI"
256
+ },
257
+ "text": {
258
+ "en": "Pulled and unpacked inside a throwaway microVM: an image is an archive from anywhere, and the host never untars it.",
259
+ "fr": "Tirée et dépaquetée dans une microVM jetable : une image est une archive venue de n’importe où, et la machine ne la détare jamais."
260
+ }
261
+ },
262
+ {
263
+ "title": {
264
+ "en": "Two disks, on ZFS",
265
+ "fr": "Deux disques, sur ZFS"
266
+ },
267
+ "text": {
268
+ "en": "/ is a copy-on-write clone of the image, /workspace is kept across rebuilds. A clone costs nothing; a box only takes what it writes.",
269
+ "fr": "/ est un clone copy-on-write de l’image, /workspace est gardé d’une reconstruction à l’autre. Un clone ne coûte rien ; une boîte ne prend que ce qu’elle écrit."
270
+ }
271
+ },
272
+ {
273
+ "title": {
274
+ "en": "Out to the internet only",
275
+ "fr": "Vers Internet, seulement"
276
+ },
277
+ "text": {
278
+ "en": "No box reaches the host, another box, a private network or a cloud’s metadata server; outgoing SMTP is closed. Nothing comes in: sbx port-forward is how you reach a port.",
279
+ "fr": "Aucune boîte ne joint la machine, une autre boîte, un réseau privé ou le serveur de métadonnées d’un cloud ; le SMTP sortant est fermé. Rien n’entre : on joint un port par sbx port-forward."
280
+ }
281
+ },
282
+ {
283
+ "title": {
284
+ "en": "Bounded",
285
+ "fr": "Bornée"
286
+ },
287
+ "text": {
288
+ "en": "A CPU quota and an equal weight per box, a network ceiling and equal shares when the uplink is full, and a box only starts if the machine has room for it — never one the OOM killer would take a minute later.",
289
+ "fr": "Un quota CPU et un poids égal par boîte, un plafond réseau et des parts égales quand le lien est plein, et une boîte ne démarre que si la machine a la place — jamais une que l’OOM killer prendrait une minute plus tard."
290
+ }
291
+ }
292
+ ]
293
+ },
294
+ {
295
+ "id": "needs",
296
+ "kind": "pillars",
297
+ "theme": "paper",
298
+ "title": {
299
+ "en": "What your machine *needs*.",
300
+ "fr": "Ce qu’il faut à *votre machine*."
301
+ },
302
+ "lede": {
303
+ "en": "The installer checks each of these and says what is missing. Not macOS, not ARM — not yet.",
304
+ "fr": "L’installeur vérifie chacun et dit ce qui manque. Ni macOS, ni ARM — pas encore."
305
+ },
306
+ "items": [
307
+ {
308
+ "title": {
309
+ "en": "Linux x86_64 with KVM",
310
+ "fr": "Linux x86_64 avec KVM"
311
+ },
312
+ "text": {
313
+ "en": "/dev/kvm: a bare-metal server, or a cloud VM with nested virtualization.",
314
+ "fr": "/dev/kvm : un serveur nu, ou une VM de cloud avec la virtualisation imbriquée."
315
+ }
316
+ },
317
+ {
318
+ "title": {
319
+ "en": "systemd and cgroup v2",
320
+ "fr": "systemd et cgroup v2"
321
+ },
322
+ "text": {
323
+ "en": "Ubuntu 22.04+, Debian 12+. Others work; the installer only knows apt for missing packages.",
324
+ "fr": "Ubuntu 22.04+, Debian 12+. D’autres marchent ; l’installeur ne connaît qu’apt pour les paquets manquants."
325
+ }
326
+ },
327
+ {
328
+ "title": {
329
+ "en": "ZFS",
330
+ "fr": "ZFS"
331
+ },
332
+ "text": {
333
+ "en": "A pool of yours, or one in a file to try it: --create-pool 100G.",
334
+ "fr": "Un pool à vous, ou un dans un fichier pour essayer : --create-pool 100G."
335
+ }
336
+ },
337
+ {
338
+ "title": {
339
+ "en": "root, for the daemon",
340
+ "fr": "root, pour le démon"
341
+ },
342
+ "text": {
343
+ "en": "The VMMs themselves run unprivileged, each jailed. The installer adds you to the spunto-sandbox group: sbx without sudo from your next login.",
344
+ "fr": "Les VMM eux-mêmes tournent sans privilèges, chacun en cellule. L’installeur vous ajoute au groupe spunto-sandbox : sbx sans sudo dès votre prochaine connexion."
345
+ }
346
+ }
347
+ ]
348
+ },
349
+ {
350
+ "id": "sdk",
351
+ "kind": "command",
352
+ "theme": "night",
353
+ "title": {
354
+ "en": "From code: *@spunto/sandbox*.",
355
+ "fr": "Depuis le code : *@spunto/sandbox*."
356
+ },
357
+ "lede": {
358
+ "en": "The TypeScript SDK every sbx command is a call of. Node 22 or later, on the daemon’s unix socket — or another machine’s, with SBX_HOST and SBX_TOKEN. Underneath, a REST API with its OpenAPI spec.",
359
+ "fr": "Le SDK TypeScript dont chaque commande sbx est un appel. Node 22 ou plus, sur le socket unix du démon — ou celui d’une autre machine, avec SBX_HOST et SBX_TOKEN. Dessous, une API REST et sa spec OpenAPI."
360
+ },
361
+ "command": "import { Sandbox } from \"@spunto/sandbox\"\n\nconst box = await Sandbox.create({ image: \"node:24\" })\nconst { stdout } = await box.exec(\"node -v\")\nawait box.pause() // RAM kept, nothing running\nawait box.resume() // same processes, back in milliseconds\nconst copy = await box.fork() // a second box, same memory",
362
+ "prompt": false,
363
+ "caption": {
364
+ "en": "agent.ts",
365
+ "fr": "agent.ts"
366
+ }
367
+ },
368
+ {
369
+ "id": "faq",
370
+ "kind": "faq",
371
+ "theme": "paper",
372
+ "title": {
373
+ "en": "Questions",
374
+ "fr": "Questions"
375
+ },
376
+ "items": [
377
+ {
378
+ "q": {
379
+ "en": "How is it different from Spunto Cloud?",
380
+ "fr": "Quelle différence avec Spunto Cloud ?"
381
+ },
382
+ "a": {
383
+ "en": "Spunto Cloud runs this engine on its own machines: the same microVMs, by the minute they run, a pause that stops the meter. It adds what a platform adds — an API and an MCP server for agents, a dashboard, projects, tasks delegated to coding agents, teams. Spunto Sandbox is the engine alone, on your hardware.",
384
+ "fr": "Spunto Cloud fait tourner ce moteur sur ses machines : les mêmes microVM, à la minute où elles tournent, une pause qui arrête le compteur. Il ajoute ce qu’ajoute une plateforme — une API et un serveur MCP pour les agents, un tableau de bord, des projets, des tâches confiées à des agents de code, des équipes. Spunto Sandbox, c’est le moteur seul, sur votre matériel."
385
+ }
386
+ },
387
+ {
388
+ "q": {
389
+ "en": "Does it run on a cloud VM?",
390
+ "fr": "Ça tourne sur une VM de cloud ?"
391
+ },
392
+ "a": {
393
+ "en": "Yes, with nested virtualization (on GCP, --enable-nested-virtualization; most clouds have an equivalent, or a metal instance). The figures above were measured on one; bare metal is faster.",
394
+ "fr": "Oui, avec la virtualisation imbriquée (sur GCP, --enable-nested-virtualization ; la plupart des clouds ont un équivalent, ou une instance nue). Les chiffres plus haut ont été mesurés sur l’une d’elles ; sur machine nue, c’est plus rapide."
395
+ }
396
+ },
397
+ {
398
+ "q": {
399
+ "en": "What does a paused box cost?",
400
+ "fr": "Que coûte une boîte en pause ?"
401
+ },
402
+ "a": {
403
+ "en": "No memory and no CPU on the host: only its memory file, on disk. A running box holds only what its guest touches, and what the guest frees goes back.",
404
+ "fr": "Ni mémoire ni CPU sur la machine : seulement son fichier mémoire, sur disque. Une boîte qui tourne ne tient que ce que son invité touche, et ce qu’il libère est rendu."
405
+ }
406
+ },
407
+ {
408
+ "q": {
409
+ "en": "Can I run Docker in a box?",
410
+ "fr": "Peut-on lancer Docker dans une boîte ?"
411
+ },
412
+ "a": {
413
+ "en": "Yes. The guest kernel is ours, built with what Docker needs, all built in, and reproducibly: CI must produce exactly the pinned sha256 before it publishes.",
414
+ "fr": "Oui. Le noyau invité est le nôtre, construit avec ce qu’il faut à Docker, tout intégré, et de façon reproductible : la CI doit retrouver exactement le sha256 épinglé avant de le publier."
415
+ }
416
+ },
417
+ {
418
+ "q": {
419
+ "en": "Who may use it?",
420
+ "fr": "Qui peut s’en servir ?"
421
+ },
422
+ "a": {
423
+ "en": "The API listens on /run/spunto-sandbox.sock, for root and the spunto-sandbox group: give that group as you would docker’s. Another machine reaches it on a TCP address with a token, behind TLS.",
424
+ "fr": "L’API écoute sur /run/spunto-sandbox.sock, pour root et le groupe spunto-sandbox : donnez ce groupe comme vous donneriez celui de docker. Une autre machine la joint sur une adresse TCP avec un jeton, derrière du TLS."
425
+ }
426
+ },
427
+ {
428
+ "q": {
429
+ "en": "macOS? ARM?",
430
+ "fr": "macOS ? ARM ?"
431
+ },
432
+ "a": {
433
+ "en": "Not yet: Linux on x86_64, with KVM.",
434
+ "fr": "Pas encore : Linux sur x86_64, avec KVM."
435
+ }
436
+ },
437
+ {
438
+ "q": {
439
+ "en": "Is it really open source?",
440
+ "fr": "C’est vraiment open source ?"
441
+ },
442
+ "a": {
443
+ "en": "Apache-2.0, built on Firecracker. It is the code that runs Spunto Cloud in production — written there first — with a daemon, a CLI and an SDK around it so that it runs on your machine without the rest of Spunto.",
444
+ "fr": "Apache-2.0, construit sur Firecracker. C’est le code qui fait tourner Spunto Cloud en production — écrit là d’abord —, avec un démon, une CLI et un SDK autour pour qu’il tourne sur votre machine sans le reste de Spunto."
445
+ }
446
+ }
447
+ ]
448
+ },
449
+ {
450
+ "id": "family",
451
+ "kind": "family",
452
+ "theme": "night",
453
+ "title": {
454
+ "en": "Same universe, *different tools*.",
455
+ "fr": "Même univers, *outils différents*."
456
+ },
457
+ "lede": {
458
+ "en": "Spunto Sandbox is the engine of Spunto Cloud. The rest of the family, each in its own colours.",
459
+ "fr": "Spunto Sandbox est le moteur de Spunto Cloud. Le reste de la famille, chacun dans ses couleurs."
460
+ },
461
+ "products": [
462
+ "cloud",
463
+ "desktop",
464
+ "ci",
465
+ "lite",
466
+ "cms",
467
+ "search",
468
+ "ds",
469
+ "foyer"
470
+ ]
471
+ },
472
+ {
473
+ "id": "start",
474
+ "kind": "cta",
475
+ "theme": "signal",
476
+ "title": {
477
+ "en": "One line. *Your machine.*",
478
+ "fr": "Une ligne. *Votre machine.*"
479
+ },
480
+ "lede": {
481
+ "en": "The installer checks the machine and says what is missing. Then sbx run.",
482
+ "fr": "L’installeur vérifie la machine et dit ce qui manque. Puis sbx run."
483
+ },
484
+ "actions": [
485
+ {
486
+ "label": {
487
+ "en": "Read the docs",
488
+ "fr": "Lire la doc"
489
+ },
490
+ "href": "/docs"
491
+ },
492
+ {
493
+ "label": {
494
+ "en": "The repository",
495
+ "fr": "Le dépôt"
496
+ },
497
+ "href": "https://github.com/spuntodotnet/sandbox",
498
+ "variant": "ghost"
499
+ }
500
+ ]
501
+ }
502
+ ]
503
+ }
504
+ ]
@@ -279,6 +279,7 @@
279
279
  },
280
280
  "products": [
281
281
  "cloud",
282
+ "sandbox",
282
283
  "lite",
283
284
  "cms",
284
285
  "desktop",
@@ -14,6 +14,7 @@ import lite from "./editions/lite.json"
14
14
  import cms from "./editions/cms.json"
15
15
  import desktop from "./editions/desktop.json"
16
16
  import ci from "./editions/ci.json"
17
+ import sandbox from "./editions/sandbox.json"
17
18
  import search from "./editions/search.json"
18
19
  import ds from "./editions/ds.json"
19
20
  import foyer from "./editions/foyer.json"
@@ -22,7 +23,7 @@ import foyer from "./editions/foyer.json"
22
23
  export type HomeEditionFile = Omit<HomeEdition, "sections"> & { sections?: HomeSection[] }
23
24
 
24
25
  /** Each product's file, as imported — what the studio's server rewrites (`editions/<product>.json`). */
25
- export const EDITION_FILES = { cloud, lite, cms, desktop, ci, search, ds, foyer } as unknown as Record<BrandProductId, HomeEditionFile[]>
26
+ export const EDITION_FILES = { cloud, lite, cms, desktop, ci, sandbox, search, ds, foyer } as unknown as Record<BrandProductId, HomeEditionFile[]>
26
27
 
27
28
  const STORED = Object.values(EDITION_FILES).flat()
28
29
 
@@ -41,6 +42,7 @@ export const PUBLISHED: Record<BrandProductId, string | null> = {
41
42
  cms: "cms-2026-11-constellation",
42
43
  desktop: "desktop-2026-11-vitrine",
43
44
  ci: "ci-2026-11-relais",
45
+ sandbox: "sandbox-2026-11-moteur",
44
46
  search: null,
45
47
  ds: null,
46
48
  foyer: "foyer-2026-11-tablee",
package/src/home/guide.ts CHANGED
@@ -37,7 +37,7 @@ type Action = { label: Words; href: string; variant?: "primary" | "ghost" } | {
37
37
  type HomeEdition = { id: string /* kebab-case */; name: string; note: string; product: ProductId; palette?: string; date: string; sections: Section[] }
38
38
 
39
39
  // Every section has { id: string; theme: Theme; kind: … }
40
- hero { layout: "centered" | "split" | "band"; kicker?: Words; title: Words; lede?: Words; actions?: Action[]; illustration?: IllustrationId; scene?: Module3DRef; screen?: ShowcaseScreenId /* a narrow one, e.g. foyer-phone; not in a band */ }
40
+ hero { layout: "centered" | "split" | "band"; kicker?: Words; title: Words; lede?: Words; command?: string /* one real line to copy, e.g. an install */; actions?: Action[]; illustration?: IllustrationId; scene?: Module3DRef; screen?: ShowcaseScreenId /* a narrow one, e.g. foyer-phone; not in a band */ }
41
41
  facts { title?: Words; facts: FactId[] } // a figure is QUOTED by id, never typed
42
42
  pillars { title?: Words; lede?: Words; items: { illustration?: IllustrationId; title: Words; text: Words }[] }
43
43
  showcase { title?: Words; lede?: Words; stops: { kicker?: Words; title: Words; text: Words; screen: ShowcaseScreenId; layout?: "split" | "wide" }[] }
@@ -45,7 +45,7 @@ ways { title?: Words; lede?: Words; items: { kicker: Words; title: Words; te
45
45
  pricing { title?: Words; lede?: Words; note?: Words } // the plan and the sizes — figures from facts.ts, never typed
46
46
  mobile { kicker?: Words; title: Words; lede?: Words; points: Words[]; screen: { task: Words; project: string; harness: "claude" | "codex" | "mistral"; status: Words; state?: "live" | "done" | "failed"; events: ({ from: "you" | "agent" | "thinking"; text: Words } | { from: "steps"; text: Words; detail?: Words; failed?: Words; duration?: string } | { from: "tool"; name: string; text: string; duration?: string } | { from: "photos"; by: "you" | "agent"; shots: ("sketch" | "desktop" | "phone")[]; src?: string; caption?: Words })[] }; actions?: Action[] } // the iPhone app, a phone drawn with one task's session
47
47
  roster { title?: Words; lede?: Words; badges: { role: Words; harness: "claude" | "codex" | "mistral"; model?: string; rows: { label: Words; value: string; denied?: boolean }[]; port?: string }[]; points: { title: Words; text: Words }[] } // agents as access badges — only rights Spunto really gives
48
- command { title?: Words; lede?: Words; command: string /* a real one */; caption?: Words }
48
+ command { title?: Words; lede?: Words; command: string /* a real one */; prompt?: boolean /* false: code, no "$ " */; caption?: Words }
49
49
  family { title?: Words; lede?: Words; products?: ProductId[] /* default: all */ }
50
50
  scene { layout: "split" | "wide" | "background"; title?: Words; lede?: Words; scene: Module3DRef; actions?: Action[] }
51
51
  quote { text: Words; author: string /* a real person */; role?: Words }
package/src/home/home.tsx CHANGED
@@ -260,7 +260,7 @@ function SectionView({ section, ctx, path: p }: { section: HomeSection; ctx: Ctx
260
260
  wordBreak: "break-word",
261
261
  }}
262
262
  >
263
- <span style={{ color: section.theme === "paper" ? s.signal : s.accent }}>$ </span>
263
+ {section.prompt !== false && <span style={{ color: section.theme === "paper" ? s.signal : s.accent }}>$ </span>}
264
264
  {section.command}
265
265
  </pre>
266
266
  {section.caption && <div style={{ marginTop: 10, fontFamily: FONT.mono, fontSize: 12, color: s.muted }}>{ctx.t(section.caption, `${p}.caption`)}</div>}
@@ -1236,6 +1236,29 @@ function HeroSection({ section, s, ctx, path: p }: { section: Extract<HomeSectio
1236
1236
  {ctx.t(section.title, `${p}.title`, s.accent)}
1237
1237
  </h1>
1238
1238
  {section.lede && <p style={{ margin: 0, fontSize: "clamp(17px, 1.6cqi, 20px)", lineHeight: 1.55, color: s.muted, maxWidth: "52ch" }}>{ctx.t(section.lede, `${p}.lede`)}</p>}
1239
+ {section.command && (
1240
+ <pre
1241
+ style={{
1242
+ margin: "4px 0 0",
1243
+ maxWidth: "100%",
1244
+ padding: "14px 18px",
1245
+ borderRadius: 4,
1246
+ background: section.theme === "paper" ? BRAND_NEUTRALS.ink : "rgba(0,0,0,0.32)",
1247
+ border: `1px solid ${section.theme === "paper" ? "transparent" : s.line}`,
1248
+ color: "#e9efeb",
1249
+ fontFamily: FONT.mono,
1250
+ fontSize: "clamp(12px, 1.3cqi, 14px)",
1251
+ lineHeight: 1.6,
1252
+ textAlign: "left",
1253
+ whiteSpace: "pre-wrap",
1254
+ wordBreak: "break-word",
1255
+ userSelect: "all",
1256
+ }}
1257
+ >
1258
+ <span style={{ color: section.theme === "paper" ? s.signal : s.accent, userSelect: "none" }}>$ </span>
1259
+ {section.command}
1260
+ </pre>
1261
+ )}
1239
1262
  {section.actions && <Actions actions={section.actions} s={s} theme={section.theme} ctx={ctx} path={`${p}.actions`} center={centered} />}
1240
1263
  </div>
1241
1264
  {illus && (
@@ -16,25 +16,36 @@ import type { Words } from "../types"
16
16
 
17
17
  const w = (en: string, fr: string): Words => ({ en, fr })
18
18
 
19
- const LANDING = "coderhammer/foyer app/src/views/landing.jsx"
19
+ // Since 2026-11-22 Foyer is free and only the assistant is paid (branch foyer/gratuit-sans-assistant,
20
+ // coderhammer/foyer#73): the price facts are sourced there.
21
+ const FREE = "coderhammer/foyer@foyer/gratuit-sans-assistant"
20
22
 
21
23
  export const facts: Fact[] = [
24
+ {
25
+ id: "foyer-free",
26
+ value: { en: "€0", fr: "0 €" },
27
+ label: w(
28
+ "free for the whole household, with no time limit and no card: menus, recipes, stock, shared lists, integrations",
29
+ "gratuit pour tout le foyer, sans limite de temps ni carte bancaire : menus, carnet, stock, listes partagées, intégrations",
30
+ ),
31
+ source: `${FREE} server/server.js:574 (the 402 guard covers the assistant only), server/billing.js:85 and :90 (no subscription, no credits), 2026-11-22`,
32
+ },
22
33
  {
23
34
  id: "foyer-price",
24
- value: { en: "€10", fr: "10 €" },
25
- label: w("a month, for the whole household", "par mois, pour tout le foyer"),
26
- source: `${LANDING}:285 (pricing card) and :160 (FAQ), scripts/stripe-setup.mjs:12 (SUB_PRICE_CENTS 1000), 2026-11-07`,
35
+ value: { en: "€10", fr: "10 €" },
36
+ label: w("a month with the assistant, for the whole household, no commitment", "par mois avec l’assistant, pour tout le foyer, sans engagement"),
37
+ source: `${FREE} site/content/fr/home.json (pricing), scripts/stripe-setup.mjs:12 (SUB_PRICE_CENTS 1000), 2026-11-22`,
27
38
  },
28
39
  {
29
40
  id: "foyer-credits",
30
41
  value: { en: "500", fr: "500" },
31
- label: w("assistant credits a month, included", "crédits d’assistant par mois, compris"),
32
- source: `${LANDING}:287, server/billing.js:17 (MONTHLY_CREDITS 500), server/pages/conditions.html:19, 2026-11-07`,
42
+ label: w("assistant credits a month, with the assistant; a free household has none", "crédits d’assistant par mois avec l’assistant ; un foyer gratuit n’en a pas"),
43
+ source: `${FREE} server/billing.js:18 (MONTHLY_CREDITS 500) and :90 (0 without a subscription), 2026-11-22`,
33
44
  },
34
45
  {
35
46
  id: "foyer-pack",
36
47
  value: { en: "€5", fr: "5 €" },
37
48
  label: w("a top-up of 350 credits, which don't expire", "la recharge de 350 crédits, qui ne périment pas"),
38
- source: `${LANDING}:160 and :287, server/billing.js:20 (CREDITS_PER_PACK 350), scripts/stripe-setup.mjs:12 (PACK_PRICE_CENTS 500), 2026-11-07`,
49
+ source: `${FREE} server/billing.js:21 (CREDITS_PER_PACK 350) and :156 (subscribers only), scripts/stripe-setup.mjs:12 (PACK_PRICE_CENTS 500), 2026-11-22`,
39
50
  },
40
51
  ]
@@ -3,10 +3,11 @@ import * as lite from "./lite"
3
3
  import * as cms from "./cms"
4
4
  import * as desktop from "./desktop"
5
5
  import * as ci from "./ci"
6
+ import * as sandbox from "./sandbox"
6
7
  import * as search from "./search"
7
8
  import * as ds from "./ds"
8
9
  import * as foyer from "./foyer"
9
10
 
10
- const ALL = [lite, cms, desktop, ci, search, ds, foyer]
11
+ const ALL = [lite, cms, desktop, ci, sandbox, search, ds, foyer]
11
12
 
12
13
  export const PRODUCT_FACTS = ALL.flatMap((p) => p.facts)