@spunto/brand-kit 0.11.1 → 0.12.1
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/package.json +1 -1
- package/src/home/editions/agents.json +310 -0
- package/src/home/editions/ci.json +1 -0
- package/src/home/editions/cloud.json +5 -0
- package/src/home/editions/cms.json +2 -0
- package/src/home/editions/desktop.json +2 -0
- package/src/home/editions/ds.json +1 -0
- package/src/home/editions/foyer.json +2 -0
- package/src/home/editions/lite.json +2 -0
- package/src/home/editions/sandbox.json +2 -1
- package/src/home/editions/search.json +1 -0
- package/src/home/editions.ts +3 -1
- package/src/home/products/agents.ts +51 -0
- package/src/home/products/index.ts +2 -1
- package/src/home/showcase/agents/sample.ts +57 -0
- package/src/home/showcase/agents/thread.tsx +260 -0
- package/src/home/showcase/catalog.ts +12 -1
- package/src/home/showcase/stage.tsx +1 -0
- package/src/home/showcase/view.tsx +2 -0
- package/src/paints.ts +13 -1
- package/src/products.ts +28 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@spunto/brand-kit",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.12.1",
|
|
4
4
|
"description": "Spunto's brand kit — the centre of the brand: the product family and its paints (the colours the design system renders), the voice, the sourced figures, the home editions, the illustrations and the templates (social cards, video scenes, stories) everything we say about Spunto is made from.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -0,0 +1,310 @@
|
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"id": "agents-2026-11-fil",
|
|
4
|
+
"name": "Fil",
|
|
5
|
+
"note": "The site's own page (web/src/marketing/Landing.tsx @ 76d4667), in kit sections and in its own paint (Ardoise · corail): the claim over orbits (the agent at the centre, the harnesses around it), the product shown at work — a decision asked in the thread and answered —, the four things you can see, how a run is a task of yours, the bounds in figures, the FAQ. The hero's claim now says « approve » in English as « valide » in French (the site said « trust »).",
|
|
6
|
+
"product": "agents",
|
|
7
|
+
"date": "2026-11-28",
|
|
8
|
+
"sections": [
|
|
9
|
+
{
|
|
10
|
+
"id": "hero",
|
|
11
|
+
"kind": "hero",
|
|
12
|
+
"layout": "split",
|
|
13
|
+
"theme": "night",
|
|
14
|
+
"kicker": {
|
|
15
|
+
"en": "Spunto Agents · an app for your Spunto organization",
|
|
16
|
+
"fr": "Spunto Agents · une app pour votre organisation Spunto"
|
|
17
|
+
},
|
|
18
|
+
"title": {
|
|
19
|
+
"en": "Agents you read, steer *and approve*.",
|
|
20
|
+
"fr": "Des agents qu'on lit, qu'on guide *et qu'on valide*."
|
|
21
|
+
},
|
|
22
|
+
"lede": {
|
|
23
|
+
"en": "Give an agent its mandate, a schedule and the lines it must not cross. Read its memory, follow its journal, answer the decisions it brings you. Every run is a task in one of your projects: your sandboxes, your repositories, your harness.",
|
|
24
|
+
"fr": "Donnez à un agent son mandat, un planning et les limites à ne pas franchir. Lisez sa mémoire, suivez son journal, répondez aux décisions qu'il vous soumet. Chaque passage est une tâche dans l'un de vos projets : vos sandboxes, vos dépôts, votre harnais."
|
|
25
|
+
},
|
|
26
|
+
"actions": [
|
|
27
|
+
{
|
|
28
|
+
"label": {
|
|
29
|
+
"en": "Get started",
|
|
30
|
+
"fr": "Commencer"
|
|
31
|
+
},
|
|
32
|
+
"href": "/login"
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"label": {
|
|
36
|
+
"en": "How it works",
|
|
37
|
+
"fr": "Comment ça marche"
|
|
38
|
+
},
|
|
39
|
+
"href": "#how",
|
|
40
|
+
"variant": "ghost"
|
|
41
|
+
}
|
|
42
|
+
],
|
|
43
|
+
"scene": {
|
|
44
|
+
"module": "orbits",
|
|
45
|
+
"params": {
|
|
46
|
+
"center": "product",
|
|
47
|
+
"satellites": "agents"
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
"id": "decisions",
|
|
53
|
+
"kind": "showcase",
|
|
54
|
+
"theme": "paper",
|
|
55
|
+
"title": {
|
|
56
|
+
"en": "It does the work. *You keep the calls that matter.*",
|
|
57
|
+
"fr": "Il fait le travail. *Vous gardez les choix qui comptent.*"
|
|
58
|
+
},
|
|
59
|
+
"lede": {
|
|
60
|
+
"en": "An agent runs on its own schedule, but publishing, merging, spending or touching production can require your go-ahead. The question lands in your inbox with its context and options. Answer from the app, or straight from the task in Spunto: the agent resumes where it stopped, or the next run gets it.",
|
|
61
|
+
"fr": "Un agent tourne à son rythme, mais publier, merger, dépenser ou toucher à la production peut exiger votre feu vert. La question arrive dans votre boîte avec son contexte et ses options. Répondez depuis l'app : l'agent reprend là où il s'était arrêté, ou le passage suivant la reçoit."
|
|
62
|
+
},
|
|
63
|
+
"stops": [
|
|
64
|
+
{
|
|
65
|
+
"kicker": {
|
|
66
|
+
"en": "The agent waits for you",
|
|
67
|
+
"fr": "L'agent vous attend"
|
|
68
|
+
},
|
|
69
|
+
"title": {
|
|
70
|
+
"en": "Ask · wait · resume",
|
|
71
|
+
"fr": "Demander · attendre · reprendre"
|
|
72
|
+
},
|
|
73
|
+
"text": {
|
|
74
|
+
"en": "DevRel, one weekday morning: three merged PRs read, a changelog entry drafted, and a question before it goes out. Your answer goes back into the very task that asked.",
|
|
75
|
+
"fr": "DevRel, un matin de semaine : trois PR mergées relevées, une entrée de changelog préparée, et une question avant de la publier. Votre réponse repart dans la tâche même qui l'a demandée."
|
|
76
|
+
},
|
|
77
|
+
"screen": "agents-thread",
|
|
78
|
+
"layout": "wide"
|
|
79
|
+
}
|
|
80
|
+
]
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
"id": "how",
|
|
84
|
+
"kind": "pillars",
|
|
85
|
+
"theme": "paper",
|
|
86
|
+
"title": {
|
|
87
|
+
"en": "Everything an agent knows and does, *on one page*.",
|
|
88
|
+
"fr": "Tout ce qu'un agent sait et fait, *sur une page*."
|
|
89
|
+
},
|
|
90
|
+
"items": [
|
|
91
|
+
{
|
|
92
|
+
"title": {
|
|
93
|
+
"en": "Instructions",
|
|
94
|
+
"fr": "Instructions"
|
|
95
|
+
},
|
|
96
|
+
"text": {
|
|
97
|
+
"en": "Its mandate in markdown, with the guardrails it must respect. Every edit is a version, and every run says which one it received.",
|
|
98
|
+
"fr": "Son mandat en markdown, avec les garde-fous qu'il doit respecter. Chaque modification est une version, et chaque passage dit laquelle il a reçue."
|
|
99
|
+
}
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
"title": {
|
|
103
|
+
"en": "Memory",
|
|
104
|
+
"fr": "Mémoire"
|
|
105
|
+
},
|
|
106
|
+
"text": {
|
|
107
|
+
"en": "Named files the agent reads at the start of each run and rewrites through its API. You read them, fix them, and see who changed what.",
|
|
108
|
+
"fr": "Des fichiers nommés, que l'agent lit au début de chaque passage et réécrit par son API. Vous les lisez, les corrigez, et voyez qui a changé quoi."
|
|
109
|
+
}
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
"title": {
|
|
113
|
+
"en": "Journal",
|
|
114
|
+
"fr": "Journal"
|
|
115
|
+
},
|
|
116
|
+
"text": {
|
|
117
|
+
"en": "What it says it did, with links: the PR it opened, the post it drafted. Next to what the app sees: runs, decisions, memory writes.",
|
|
118
|
+
"fr": "Ce qu'il dit avoir fait, avec les liens : la PR ouverte, le billet préparé. À côté de ce que l'app voit : passages, décisions, écritures de mémoire."
|
|
119
|
+
}
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
"title": {
|
|
123
|
+
"en": "Decisions",
|
|
124
|
+
"fr": "Décisions"
|
|
125
|
+
},
|
|
126
|
+
"text": {
|
|
127
|
+
"en": "When a guardrail says so, it asks and stops. Your answer goes back into the very task that asked, and the session picks up.",
|
|
128
|
+
"fr": "Quand un garde-fou l'exige, il demande et s'arrête. Votre réponse repart dans la tâche même qui l'a demandée, et la session reprend."
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
]
|
|
132
|
+
},
|
|
133
|
+
{
|
|
134
|
+
"id": "hood",
|
|
135
|
+
"kind": "steps",
|
|
136
|
+
"theme": "night",
|
|
137
|
+
"title": {
|
|
138
|
+
"en": "Runs are tasks. *Tasks are yours.*",
|
|
139
|
+
"fr": "Les passages sont des tâches. *Les tâches sont à vous.*"
|
|
140
|
+
},
|
|
141
|
+
"lede": {
|
|
142
|
+
"en": "Nothing new to trust: Spunto Agents runs nothing of its own.",
|
|
143
|
+
"fr": "Rien de nouveau à qui faire confiance : Spunto Agents ne fait rien tourner lui-même."
|
|
144
|
+
},
|
|
145
|
+
"items": [
|
|
146
|
+
{
|
|
147
|
+
"title": {
|
|
148
|
+
"en": "Install",
|
|
149
|
+
"fr": "Installer"
|
|
150
|
+
},
|
|
151
|
+
"text": {
|
|
152
|
+
"en": "An owner or admin connects Spunto Agents from the organization's Integrations page.",
|
|
153
|
+
"fr": "Un owner ou un admin connecte Spunto Agents depuis la page Integrations de l'organisation."
|
|
154
|
+
}
|
|
155
|
+
},
|
|
156
|
+
{
|
|
157
|
+
"title": {
|
|
158
|
+
"en": "Started as you",
|
|
159
|
+
"fr": "Lancé en votre nom"
|
|
160
|
+
},
|
|
161
|
+
"text": {
|
|
162
|
+
"en": "You sign in with Spunto and allow the app to start tasks on your behalf. Runs use your harness and your secrets, never a shared account.",
|
|
163
|
+
"fr": "Vous vous connectez avec Spunto et autorisez l'app à lancer des tâches pour vous. Les passages utilisent votre harnais et vos secrets, jamais un compte partagé."
|
|
164
|
+
}
|
|
165
|
+
},
|
|
166
|
+
{
|
|
167
|
+
"title": {
|
|
168
|
+
"en": "A run",
|
|
169
|
+
"fr": "Un passage"
|
|
170
|
+
},
|
|
171
|
+
"text": {
|
|
172
|
+
"en": "A Spunto task in the agent's project, with its instructions, memory and pending decisions in the prompt.",
|
|
173
|
+
"fr": "Une tâche Spunto dans le projet de l'agent, avec ses instructions, sa mémoire et ses décisions en attente dans le prompt."
|
|
174
|
+
}
|
|
175
|
+
},
|
|
176
|
+
{
|
|
177
|
+
"title": {
|
|
178
|
+
"en": "In the task",
|
|
179
|
+
"fr": "Dans la tâche"
|
|
180
|
+
},
|
|
181
|
+
"text": {
|
|
182
|
+
"en": "A Spunto Agents block in the task's details: the run, the decisions waiting.",
|
|
183
|
+
"fr": "Un bloc Spunto Agents dans les détails de la tâche : le passage, les décisions qui attendent."
|
|
184
|
+
}
|
|
185
|
+
}
|
|
186
|
+
]
|
|
187
|
+
},
|
|
188
|
+
{
|
|
189
|
+
"id": "bounds",
|
|
190
|
+
"kind": "facts",
|
|
191
|
+
"theme": "night",
|
|
192
|
+
"title": {
|
|
193
|
+
"en": "Scoped *and revocable*.",
|
|
194
|
+
"fr": "Borné *et révocable*."
|
|
195
|
+
},
|
|
196
|
+
"facts": [
|
|
197
|
+
"agents-scopes",
|
|
198
|
+
"agents-token",
|
|
199
|
+
"agents-memory",
|
|
200
|
+
"agents-follow"
|
|
201
|
+
]
|
|
202
|
+
},
|
|
203
|
+
{
|
|
204
|
+
"id": "faq",
|
|
205
|
+
"kind": "faq",
|
|
206
|
+
"theme": "paper",
|
|
207
|
+
"title": {
|
|
208
|
+
"en": "Questions",
|
|
209
|
+
"fr": "Questions"
|
|
210
|
+
},
|
|
211
|
+
"items": [
|
|
212
|
+
{
|
|
213
|
+
"q": {
|
|
214
|
+
"en": "What does an agent cost?",
|
|
215
|
+
"fr": "Combien coûte un agent ?"
|
|
216
|
+
},
|
|
217
|
+
"a": {
|
|
218
|
+
"en": "What its tasks cost: the sandbox minutes on Spunto Cloud and the model calls of your harness. Each run shows its cost.",
|
|
219
|
+
"fr": "Ce que coûtent ses tâches : les minutes de sandbox sur Spunto Cloud et les appels au modèle de votre harnais. Chaque passage affiche son coût."
|
|
220
|
+
}
|
|
221
|
+
},
|
|
222
|
+
{
|
|
223
|
+
"q": {
|
|
224
|
+
"en": "Which harness does it use?",
|
|
225
|
+
"fr": "Quel harnais utilise-t-il ?"
|
|
226
|
+
},
|
|
227
|
+
"a": {
|
|
228
|
+
"en": "The one your project's tasks use — Claude Code, Codex or Mistral Vibe — and the model you pick for the agent, or the project's default.",
|
|
229
|
+
"fr": "Celui des tâches de votre projet — Claude Code, Codex ou Mistral Vibe — et le modèle choisi pour l'agent, ou celui du projet par défaut."
|
|
230
|
+
}
|
|
231
|
+
},
|
|
232
|
+
{
|
|
233
|
+
"q": {
|
|
234
|
+
"en": "Who can approve a decision?",
|
|
235
|
+
"fr": "Qui peut trancher une décision ?"
|
|
236
|
+
},
|
|
237
|
+
"a": {
|
|
238
|
+
"en": "The member who owns the agent, and the owners and admins of the organization.",
|
|
239
|
+
"fr": "Le membre propriétaire de l'agent, et les owners et admins de l'organisation."
|
|
240
|
+
}
|
|
241
|
+
},
|
|
242
|
+
{
|
|
243
|
+
"q": {
|
|
244
|
+
"en": "Where does the memory live?",
|
|
245
|
+
"fr": "Où vit la mémoire ?"
|
|
246
|
+
},
|
|
247
|
+
"a": {
|
|
248
|
+
"en": "In Spunto Agents, as files you can read and edit, with the history of every write. Nothing is kept in the sandbox between two runs.",
|
|
249
|
+
"fr": "Dans Spunto Agents, en fichiers que vous lisez et modifiez, avec l'historique de chaque écriture. Rien n'est gardé dans la sandbox entre deux passages."
|
|
250
|
+
}
|
|
251
|
+
}
|
|
252
|
+
]
|
|
253
|
+
},
|
|
254
|
+
{
|
|
255
|
+
"id": "family",
|
|
256
|
+
"kind": "family",
|
|
257
|
+
"theme": "night",
|
|
258
|
+
"title": {
|
|
259
|
+
"en": "Same universe, *different tools*.",
|
|
260
|
+
"fr": "Même univers, *outils différents*."
|
|
261
|
+
},
|
|
262
|
+
"lede": {
|
|
263
|
+
"en": "Spunto Agents runs its agents as Spunto tasks. The rest of the family, each in its own colours.",
|
|
264
|
+
"fr": "Spunto Agents fait tourner ses agents en tâches Spunto. Le reste de la famille, chacun dans ses couleurs."
|
|
265
|
+
},
|
|
266
|
+
"products": [
|
|
267
|
+
"cloud",
|
|
268
|
+
"desktop",
|
|
269
|
+
"ci",
|
|
270
|
+
"sandbox",
|
|
271
|
+
"lite",
|
|
272
|
+
"cms",
|
|
273
|
+
"search",
|
|
274
|
+
"ds",
|
|
275
|
+
"foyer"
|
|
276
|
+
]
|
|
277
|
+
},
|
|
278
|
+
{
|
|
279
|
+
"id": "start",
|
|
280
|
+
"kind": "cta",
|
|
281
|
+
"theme": "signal",
|
|
282
|
+
"title": {
|
|
283
|
+
"en": "Install the app, *start from a template*.",
|
|
284
|
+
"fr": "Installez l'app, *partez d'un modèle*."
|
|
285
|
+
},
|
|
286
|
+
"lede": {
|
|
287
|
+
"en": "DevRel, dependencies, error triage, or a blank page. Pick a project and a schedule, then launch a first run and watch the journal fill up.",
|
|
288
|
+
"fr": "DevRel, dépendances, tri des erreurs, ou une page blanche. Choisissez un projet et un planning, lancez un premier passage et regardez le journal se remplir."
|
|
289
|
+
},
|
|
290
|
+
"actions": [
|
|
291
|
+
{
|
|
292
|
+
"label": {
|
|
293
|
+
"en": "Get started",
|
|
294
|
+
"fr": "Commencer"
|
|
295
|
+
},
|
|
296
|
+
"href": "/login"
|
|
297
|
+
},
|
|
298
|
+
{
|
|
299
|
+
"label": {
|
|
300
|
+
"en": "Open the dashboard",
|
|
301
|
+
"fr": "Ouvrir le tableau de bord"
|
|
302
|
+
},
|
|
303
|
+
"href": "/app",
|
|
304
|
+
"variant": "ghost"
|
|
305
|
+
}
|
|
306
|
+
]
|
|
307
|
+
}
|
|
308
|
+
]
|
|
309
|
+
}
|
|
310
|
+
]
|
|
@@ -566,6 +566,7 @@
|
|
|
566
566
|
},
|
|
567
567
|
"products": [
|
|
568
568
|
"sandbox",
|
|
569
|
+
"agents",
|
|
569
570
|
"lite",
|
|
570
571
|
"cms",
|
|
571
572
|
"desktop",
|
|
@@ -737,6 +738,7 @@
|
|
|
737
738
|
},
|
|
738
739
|
"products": [
|
|
739
740
|
"sandbox",
|
|
741
|
+
"agents",
|
|
740
742
|
"lite",
|
|
741
743
|
"cms",
|
|
742
744
|
"desktop",
|
|
@@ -894,6 +896,7 @@
|
|
|
894
896
|
},
|
|
895
897
|
"products": [
|
|
896
898
|
"sandbox",
|
|
899
|
+
"agents",
|
|
897
900
|
"lite",
|
|
898
901
|
"cms",
|
|
899
902
|
"desktop",
|
|
@@ -1068,6 +1071,7 @@
|
|
|
1068
1071
|
},
|
|
1069
1072
|
"products": [
|
|
1070
1073
|
"sandbox",
|
|
1074
|
+
"agents",
|
|
1071
1075
|
"lite",
|
|
1072
1076
|
"cms",
|
|
1073
1077
|
"desktop",
|
|
@@ -1236,6 +1240,7 @@
|
|
|
1236
1240
|
},
|
|
1237
1241
|
"products": [
|
|
1238
1242
|
"sandbox",
|
|
1243
|
+
"agents",
|
|
1239
1244
|
"lite",
|
|
1240
1245
|
"cms",
|
|
1241
1246
|
"desktop",
|
package/src/home/editions.ts
CHANGED
|
@@ -15,6 +15,7 @@ import cms from "./editions/cms.json"
|
|
|
15
15
|
import desktop from "./editions/desktop.json"
|
|
16
16
|
import ci from "./editions/ci.json"
|
|
17
17
|
import sandbox from "./editions/sandbox.json"
|
|
18
|
+
import agents from "./editions/agents.json"
|
|
18
19
|
import search from "./editions/search.json"
|
|
19
20
|
import ds from "./editions/ds.json"
|
|
20
21
|
import foyer from "./editions/foyer.json"
|
|
@@ -23,7 +24,7 @@ import foyer from "./editions/foyer.json"
|
|
|
23
24
|
export type HomeEditionFile = Omit<HomeEdition, "sections"> & { sections?: HomeSection[] }
|
|
24
25
|
|
|
25
26
|
/** Each product's file, as imported — what the studio's server rewrites (`editions/<product>.json`). */
|
|
26
|
-
export const EDITION_FILES = { cloud, lite, cms, desktop, ci, sandbox, search, ds, foyer } as unknown as Record<BrandProductId, HomeEditionFile[]>
|
|
27
|
+
export const EDITION_FILES = { cloud, lite, cms, desktop, ci, sandbox, agents, search, ds, foyer } as unknown as Record<BrandProductId, HomeEditionFile[]>
|
|
27
28
|
|
|
28
29
|
const STORED = Object.values(EDITION_FILES).flat()
|
|
29
30
|
|
|
@@ -43,6 +44,7 @@ export const PUBLISHED: Record<BrandProductId, string | null> = {
|
|
|
43
44
|
desktop: "desktop-2026-11-vitrine",
|
|
44
45
|
ci: "ci-2026-11-relais",
|
|
45
46
|
sandbox: "sandbox-2026-11-moteur",
|
|
47
|
+
agents: "agents-2026-11-fil",
|
|
46
48
|
search: null,
|
|
47
49
|
ds: null,
|
|
48
50
|
foyer: "foyer-2026-11-tablee",
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
// Spunto Agents' facts — the figures its home editions quote. The editions themselves are data:
|
|
2
|
+
// ../editions/agents.json (written from the product's own site; the notes below say where from).
|
|
3
|
+
//
|
|
4
|
+
// Words come from the product's own site (quoted, both languages) or are new and true; every figure
|
|
5
|
+
// is a fact below, with its source. The product's site imports its published edition:
|
|
6
|
+
// `<ProductHome product="agents" />` (PUBLISHED in ../editions.ts).
|
|
7
|
+
//
|
|
8
|
+
// Source of the words: coderhammer/spunto-agents @ 76d4667 (2026-11-28), web/src/marketing/Landing.tsx
|
|
9
|
+
// (`const en` / `const fr`) and README.md. Not claimed: a price of its own (an agent costs what its tasks
|
|
10
|
+
// cost), a harness of its own, anything run outside the org's projects, an app in English (the app is
|
|
11
|
+
// French only; its site is bilingual).
|
|
12
|
+
|
|
13
|
+
import type { Fact } from "../../facts"
|
|
14
|
+
import type { Words } from "../types"
|
|
15
|
+
|
|
16
|
+
const w = (en: string, fr: string): Words => ({ en, fr })
|
|
17
|
+
|
|
18
|
+
const REPO = "coderhammer/spunto-agents @ 76d4667"
|
|
19
|
+
|
|
20
|
+
export const facts: Fact[] = [
|
|
21
|
+
{
|
|
22
|
+
id: "agents-scopes",
|
|
23
|
+
value: w("4 scopes", "4 scopes"),
|
|
24
|
+
label: w(
|
|
25
|
+
"identity, projects:read, tasks:read, tasks:write — no secrets, no settings",
|
|
26
|
+
"identity, projects:read, tasks:read, tasks:write — ni secrets, ni réglages",
|
|
27
|
+
),
|
|
28
|
+
source: `${REPO}, server/spunto.ts:3 (the scopes a member connects with); README.md (« Connexion »)`,
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
id: "agents-memory",
|
|
32
|
+
value: w("50 files", "50 fichiers"),
|
|
33
|
+
label: w("of memory per agent, 64 KiB each, every write kept", "de mémoire par agent, 64 Kio chacun, chaque écriture gardée"),
|
|
34
|
+
source: `${REPO}, server/store.ts:121-122 (MAX_MEMORY_BYTES, MAX_MEMORY_FILES); README.md (« Mémoire », memory_history)`,
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
id: "agents-follow",
|
|
38
|
+
value: w("15 s", "15 s"),
|
|
39
|
+
label: w("between two looks at a running task", "entre deux regards sur une tâche qui tourne"),
|
|
40
|
+
source: `${REPO}, server/index.ts:59 (setInterval pollRuns, 15_000); README.md (« suivi 15 s », job poll: 4 rounds a minute)`,
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
id: "agents-token",
|
|
44
|
+
value: w("1 run", "1 passage"),
|
|
45
|
+
label: w(
|
|
46
|
+
"what the agent's API token is good for — the base keeps only its hash",
|
|
47
|
+
"ce que vaut le jeton de l'API de l'agent — la base n'en garde que l'empreinte",
|
|
48
|
+
),
|
|
49
|
+
source: `${REPO}, server/runs.ts:180 (sar_ token per run), :32 (an hour of grace after its end); README.md (« API de l'agent »)`,
|
|
50
|
+
},
|
|
51
|
+
]
|
|
@@ -4,10 +4,11 @@ import * as cms from "./cms"
|
|
|
4
4
|
import * as desktop from "./desktop"
|
|
5
5
|
import * as ci from "./ci"
|
|
6
6
|
import * as sandbox from "./sandbox"
|
|
7
|
+
import * as agents from "./agents"
|
|
7
8
|
import * as search from "./search"
|
|
8
9
|
import * as ds from "./ds"
|
|
9
10
|
import * as foyer from "./foyer"
|
|
10
11
|
|
|
11
|
-
const ALL = [lite, cms, desktop, ci, sandbox, search, ds, foyer]
|
|
12
|
+
const ALL = [lite, cms, desktop, ci, sandbox, agents, search, ds, foyer]
|
|
12
13
|
|
|
13
14
|
export const PRODUCT_FACTS = ALL.flatMap((p) => p.facts)
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
// What the Agents screen shows. The app exists in French only (coderhammer/spunto-agents, web/src/app/*): its labels
|
|
2
|
+
// stay in French on the English page. What the agent and the member write follows the page's language.
|
|
3
|
+
//
|
|
4
|
+
// The scene is the morning on the app's own home page (web/src/marketing/Landing.tsx, `feed`): DevRel's run 41
|
|
5
|
+
// reads three merged PRs, opens PR #212, and asks before publishing — the decision goes back into the task.
|
|
6
|
+
|
|
7
|
+
type W = { en: string; fr: string }
|
|
8
|
+
|
|
9
|
+
export const UI = {
|
|
10
|
+
brand: "Spunto",
|
|
11
|
+
product: "Agents",
|
|
12
|
+
org: "Acme",
|
|
13
|
+
nav: ["Agents", "Décisions", "Journal"],
|
|
14
|
+
section: "Agents",
|
|
15
|
+
agents: ["DevRel", "Dépendances", "Tri des erreurs"],
|
|
16
|
+
tabs: ["Vue d'ensemble", "Conversation", "Instructions", "Mémoire", "Journal", "Passages", "Décisions"],
|
|
17
|
+
memory: "4",
|
|
18
|
+
runs: "41",
|
|
19
|
+
pending: "À valider",
|
|
20
|
+
run: "passage 41",
|
|
21
|
+
now: "à l'instant",
|
|
22
|
+
hint: "Un commentaire pour l'agent (facultatif)",
|
|
23
|
+
answer: "Répondre",
|
|
24
|
+
cancel: "Retirer la décision",
|
|
25
|
+
delivered: "renvoyée dans la tâche",
|
|
26
|
+
working: "DevRel travaille…",
|
|
27
|
+
write: "Écrire à DevRel…",
|
|
28
|
+
member: "Camille",
|
|
29
|
+
} as const
|
|
30
|
+
|
|
31
|
+
export const THREAD = {
|
|
32
|
+
first: {
|
|
33
|
+
en: "Run 41: 3 merged PRs read (spunto, design-system, cms). PR #212 opened: the changelog entry of Nov 7, snapshots and CI sizes.",
|
|
34
|
+
fr: "Passage 41 : 3 PR mergées relevées (spunto, design-system, cms). PR #212 ouverte : l'entrée du 7 novembre, snapshots et tailles CI.",
|
|
35
|
+
},
|
|
36
|
+
mine: { en: "Shorter titles this week, please.", fr: "Des titres plus courts cette semaine, s'il te plaît." },
|
|
37
|
+
noted: { en: "Noted in RETOURS.md: shorter titles.", fr: "Noté dans RETOURS.md : titres plus courts." },
|
|
38
|
+
question: { en: "Publish the entry of Nov 7?", fr: "Publier l'entrée du 7 novembre ?" },
|
|
39
|
+
context: {
|
|
40
|
+
en: "PR #212 adds it to the changelog. Guardrail: nothing is published without a go-ahead.",
|
|
41
|
+
fr: "La PR #212 l'ajoute au changelog. Garde-fou : rien n'est publié sans feu vert.",
|
|
42
|
+
},
|
|
43
|
+
options: [
|
|
44
|
+
{ en: "Publish", fr: "Publier" },
|
|
45
|
+
{ en: "Wait for Monday", fr: "Attendre lundi" },
|
|
46
|
+
] as W[],
|
|
47
|
+
done: {
|
|
48
|
+
en: "Published: PR #212 merged, the entry of Nov 7 is live.",
|
|
49
|
+
fr: "Publié : PR #212 mergée, l'entrée du 7 novembre est en ligne.",
|
|
50
|
+
},
|
|
51
|
+
} satisfies Record<string, W | W[]>
|
|
52
|
+
|
|
53
|
+
export const CAPTION = {
|
|
54
|
+
agent: { en: "the agent, from its task", fr: "l'agent, depuis sa tâche" },
|
|
55
|
+
/* The iPhone app's notification, as the server writes it (server/agent-api.ts: `${agent.name} · décision`, French only). */
|
|
56
|
+
phone: { en: "DevRel · décision", fr: "DevRel · décision" },
|
|
57
|
+
} satisfies Record<string, W>
|
|
@@ -0,0 +1,260 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
|
|
3
|
+
import type { ReactNode } from "react"
|
|
4
|
+
import { FONT, hexAlpha } from "../../../theme"
|
|
5
|
+
import { SpuntoMark } from "../desktop/desk"
|
|
6
|
+
import { AppWindow, CodeCard, Cursor, Float, FAINT, Icon, INK, LINE, MUTED, Stage, u, useStage, WASH, type IconId, type StageColors } from "../stage"
|
|
7
|
+
import { CAPTION, THREAD, UI } from "./sample"
|
|
8
|
+
|
|
9
|
+
/* An agent's conversation, in Spunto Agents: DevRel says what its run did, then asks before publishing — the
|
|
10
|
+
decision lands in the thread (and on the phone), the member picks « Publish » and answers, the answer goes back
|
|
11
|
+
into the very task that asked, and the agent carries on.
|
|
12
|
+
|
|
13
|
+
Drawn from coderhammer/spunto-agents: web/src/app/OrgRoutes.tsx (the sidebar), Agent.tsx (the tabs),
|
|
14
|
+
Conversation.tsx (bubbles, « travaille… »), Decisions.tsx (the card, its options, « renvoyée dans la tâche »),
|
|
15
|
+
server/agent-api.ts (the agent's request, its reply, the notification). */
|
|
16
|
+
|
|
17
|
+
type Lang = "en" | "fr"
|
|
18
|
+
|
|
19
|
+
const H = 560
|
|
20
|
+
const WIN = { x: 24, y: 30, w: 872 }
|
|
21
|
+
const SIDEBAR = 150
|
|
22
|
+
/* 0 the thread · 1 a decision arrives · 2 to « Publish » · 3 click · 4 to « Répondre » · 5 click · 6 answered ·
|
|
23
|
+
7 the agent works · 8 it carries on · 9 fade · 10 rewind */
|
|
24
|
+
const LENGTHS = [1500, 1900, 850, 450, 800, 420, 1300, 1300, 3600, 450, 120] as const
|
|
25
|
+
/** Without motion: the decision answered and the agent done — the whole point on one screen. */
|
|
26
|
+
const STILL = 8
|
|
27
|
+
|
|
28
|
+
const GREEN = "#1d8a55"
|
|
29
|
+
const AMBER = "#b7791f"
|
|
30
|
+
const NAV_ICON: IconId[] = ["columns", "check", "history"]
|
|
31
|
+
|
|
32
|
+
/** Where the card's buttons are, in the window. */
|
|
33
|
+
const MAIN_X = SIDEBAR + 22
|
|
34
|
+
const AT = { option: { x: WIN.x + MAIN_X + 44, y: WIN.y + 404 }, answer: { x: WIN.x + MAIN_X + 40, y: WIN.y + 446 } }
|
|
35
|
+
|
|
36
|
+
function Btn({ kind, tone, children, pressed }: { kind: "primary" | "outline" | "ghost"; tone: string; children: ReactNode; pressed?: boolean }) {
|
|
37
|
+
const primary = kind === "primary"
|
|
38
|
+
return (
|
|
39
|
+
<span
|
|
40
|
+
style={{
|
|
41
|
+
display: "inline-flex",
|
|
42
|
+
alignItems: "center",
|
|
43
|
+
gap: u(5),
|
|
44
|
+
height: u(22),
|
|
45
|
+
padding: `0 ${u(10)}`,
|
|
46
|
+
borderRadius: u(4),
|
|
47
|
+
border: kind === "outline" ? `1px solid ${LINE}` : "1px solid transparent",
|
|
48
|
+
background: primary ? tone : "#ffffff",
|
|
49
|
+
color: primary ? "#ffffff" : kind === "ghost" ? MUTED : INK,
|
|
50
|
+
fontSize: u(9.8),
|
|
51
|
+
fontWeight: 550,
|
|
52
|
+
whiteSpace: "nowrap",
|
|
53
|
+
transform: pressed ? "scale(0.96)" : "none",
|
|
54
|
+
transition: "background 0.25s ease, color 0.25s ease, transform 0.15s ease",
|
|
55
|
+
}}
|
|
56
|
+
>
|
|
57
|
+
{children}
|
|
58
|
+
</span>
|
|
59
|
+
)
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
function Sidebar({ colors, pending }: { colors: StageColors; pending: boolean }) {
|
|
63
|
+
const badge = (n: number) => (
|
|
64
|
+
<span style={{ marginLeft: "auto", padding: `0 ${u(4.5)}`, borderRadius: u(8), background: colors.tone, color: "#ffffff", fontFamily: FONT.mono, fontSize: u(8.4) }}>{n}</span>
|
|
65
|
+
)
|
|
66
|
+
return (
|
|
67
|
+
<div style={{ position: "absolute", left: 0, top: 0, bottom: 0, width: u(SIDEBAR), background: hexAlpha(colors.tone, 0.035), borderRight: `1px solid ${LINE}` }}>
|
|
68
|
+
<div style={{ display: "flex", alignItems: "center", gap: u(7), margin: `${u(13)} ${u(11)} 0` }}>
|
|
69
|
+
<SpuntoMark size={19} tile={colors.signal} ink={colors.field} alt={colors.field} style={{ borderRadius: u(4) }} />
|
|
70
|
+
<div>
|
|
71
|
+
<div style={{ fontFamily: FONT.display, fontSize: u(11), lineHeight: 1 }}>{UI.brand}</div>
|
|
72
|
+
<div style={{ marginTop: u(3), fontFamily: FONT.mono, fontSize: u(6.6), letterSpacing: "0.18em", textTransform: "uppercase", color: MUTED, lineHeight: 1 }}>{UI.product}</div>
|
|
73
|
+
</div>
|
|
74
|
+
</div>
|
|
75
|
+
<div style={{ display: "flex", alignItems: "center", gap: u(6), height: u(24), margin: `${u(11)} ${u(9)} 0`, padding: `0 ${u(7)}`, border: `1px solid ${LINE}`, borderRadius: u(5), background: "#ffffff", fontSize: u(10), fontWeight: 550 }}>
|
|
76
|
+
<span style={{ display: "flex", alignItems: "center", justifyContent: "center", width: u(14), height: u(14), borderRadius: u(3), background: colors.tone, color: "#ffffff", fontSize: u(8.4), fontWeight: 650 }}>{UI.org[0]}</span>
|
|
77
|
+
{UI.org}
|
|
78
|
+
<Icon id="chevron" size={10} color={MUTED} style={{ marginLeft: "auto" }} />
|
|
79
|
+
</div>
|
|
80
|
+
<div style={{ margin: `${u(12)} ${u(9)} 0`, display: "flex", flexDirection: "column", gap: u(1) }}>
|
|
81
|
+
{UI.nav.map((label, i) => (
|
|
82
|
+
<div key={label} style={{ display: "flex", alignItems: "center", gap: u(7), height: u(22), padding: `0 ${u(7)}`, borderRadius: u(5), fontSize: u(10), color: MUTED, whiteSpace: "nowrap" }}>
|
|
83
|
+
<Icon id={NAV_ICON[i]} size={11} color={MUTED} />
|
|
84
|
+
{label}
|
|
85
|
+
{i === 0 && <span style={{ marginLeft: "auto", fontFamily: FONT.mono, fontSize: u(8.4), color: MUTED }}>{UI.agents.length}</span>}
|
|
86
|
+
{i === 1 && pending && badge(1)}
|
|
87
|
+
</div>
|
|
88
|
+
))}
|
|
89
|
+
</div>
|
|
90
|
+
<div style={{ margin: `${u(14)} ${u(16)} ${u(3)}`, fontFamily: FONT.mono, fontSize: u(7), letterSpacing: "0.14em", textTransform: "uppercase", color: MUTED }}>{UI.section}</div>
|
|
91
|
+
<div style={{ margin: `0 ${u(9)}`, display: "flex", flexDirection: "column", gap: u(1) }}>
|
|
92
|
+
{UI.agents.map((name, i) => (
|
|
93
|
+
<div key={name} style={{ display: "flex", alignItems: "center", gap: u(7), height: u(22), padding: `0 ${u(7)}`, borderRadius: u(5), background: i === 0 ? hexAlpha(colors.tone, 0.1) : "transparent", fontSize: u(10), fontWeight: i === 0 ? 550 : 450, color: i === 0 ? INK : MUTED, whiteSpace: "nowrap" }}>
|
|
94
|
+
<Icon id="bot" size={11} color={i === 0 ? colors.tone : MUTED} />
|
|
95
|
+
{name}
|
|
96
|
+
{i === 0 && pending && badge(1)}
|
|
97
|
+
</div>
|
|
98
|
+
))}
|
|
99
|
+
</div>
|
|
100
|
+
</div>
|
|
101
|
+
)
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
function Bubble({ mine, tone, children, meta }: { mine?: boolean; tone: string; children: ReactNode; meta: string }) {
|
|
105
|
+
return (
|
|
106
|
+
<div style={{ display: "flex", justifyContent: mine ? "flex-end" : "flex-start" }}>
|
|
107
|
+
<div
|
|
108
|
+
style={{
|
|
109
|
+
maxWidth: "76%",
|
|
110
|
+
padding: `${u(6)} ${u(10)}`,
|
|
111
|
+
borderRadius: mine ? `${u(12)} ${u(12)} ${u(3)} ${u(12)}` : `${u(12)} ${u(12)} ${u(12)} ${u(3)}`,
|
|
112
|
+
background: mine ? tone : WASH,
|
|
113
|
+
color: mine ? "#ffffff" : INK,
|
|
114
|
+
fontSize: u(10.2),
|
|
115
|
+
lineHeight: 1.45,
|
|
116
|
+
}}
|
|
117
|
+
>
|
|
118
|
+
{children}
|
|
119
|
+
<div style={{ marginTop: u(2), textAlign: "right", fontSize: u(8), color: mine ? hexAlpha("#ffffff", 0.72) : FAINT }}>{meta}</div>
|
|
120
|
+
</div>
|
|
121
|
+
</div>
|
|
122
|
+
)
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
/** The decision card of Decisions.tsx: pending (options, comment, « Répondre ») or answered (the green line). */
|
|
126
|
+
function DecisionCard({ lang, colors, choice, pressed, answered }: { lang: Lang; colors: StageColors; choice: boolean; pressed?: "option" | "answer"; answered: boolean }) {
|
|
127
|
+
return (
|
|
128
|
+
<div style={{ width: "82%", padding: u(13), borderRadius: u(7), background: "#ffffff", border: `1px solid ${answered ? LINE : hexAlpha(AMBER, 0.45)}`, display: "grid", gap: u(9), transition: "border-color 0.4s ease" }}>
|
|
129
|
+
<div style={{ display: "flex", alignItems: "center", gap: u(5), fontSize: u(8.6), color: MUTED }}>
|
|
130
|
+
<span>{UI.run}</span>
|
|
131
|
+
<span>· {UI.now}</span>
|
|
132
|
+
{!answered && <span style={{ padding: `${u(1)} ${u(6)}`, borderRadius: u(4), border: `1px solid ${hexAlpha(AMBER, 0.45)}`, color: AMBER, fontWeight: 550 }}>{UI.pending}</span>}
|
|
133
|
+
</div>
|
|
134
|
+
<div style={{ fontFamily: FONT.display, fontSize: u(15), lineHeight: 1.25 }}>{THREAD.question[lang]}</div>
|
|
135
|
+
<div style={{ padding: `${u(6)} ${u(8)}`, borderRadius: u(5), background: hexAlpha(WASH, 0.8), fontSize: u(9.4), lineHeight: 1.45, color: INK }}>{THREAD.context[lang]}</div>
|
|
136
|
+
{answered ? (
|
|
137
|
+
<div style={{ display: "flex", alignItems: "flex-start", gap: u(6), padding: u(8), borderRadius: u(5), border: `1px solid ${hexAlpha(GREEN, 0.3)}`, background: hexAlpha(GREEN, 0.05), fontSize: u(10) }}>
|
|
138
|
+
<Icon id="check" size={12} color={GREEN} width={2.2} style={{ marginTop: u(1) }} />
|
|
139
|
+
<div>
|
|
140
|
+
<span style={{ fontWeight: 600 }}>{THREAD.options[0][lang]}</span>
|
|
141
|
+
<div style={{ marginTop: u(2), fontSize: u(8.6), color: MUTED }}>
|
|
142
|
+
{UI.member} · 08:40 · {UI.delivered}
|
|
143
|
+
</div>
|
|
144
|
+
</div>
|
|
145
|
+
</div>
|
|
146
|
+
) : (
|
|
147
|
+
<>
|
|
148
|
+
<div style={{ display: "flex", gap: u(6) }}>
|
|
149
|
+
{THREAD.options.map((o, i) => (
|
|
150
|
+
<Btn key={o.en} kind={i === 0 && choice ? "primary" : "outline"} tone={colors.tone} pressed={i === 0 && pressed === "option"}>
|
|
151
|
+
{o[lang]}
|
|
152
|
+
</Btn>
|
|
153
|
+
))}
|
|
154
|
+
</div>
|
|
155
|
+
<div style={{ height: u(30), padding: `${u(5)} ${u(8)}`, borderRadius: u(5), border: `1px solid ${LINE}`, fontSize: u(9.4), color: FAINT }}>{UI.hint}</div>
|
|
156
|
+
<div style={{ display: "flex", gap: u(6) }}>
|
|
157
|
+
<span style={{ opacity: choice ? 1 : 0.5, transition: "opacity 0.25s ease" }}>
|
|
158
|
+
<Btn kind="primary" tone={colors.tone} pressed={pressed === "answer"}>{UI.answer}</Btn>
|
|
159
|
+
</span>
|
|
160
|
+
<Btn kind="ghost" tone={colors.tone}>{UI.cancel}</Btn>
|
|
161
|
+
</div>
|
|
162
|
+
</>
|
|
163
|
+
)}
|
|
164
|
+
</div>
|
|
165
|
+
)
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
export function ThreadScreen({ lang, colors, night, label }: { lang: Lang; colors: StageColors; night: boolean; label: string }) {
|
|
169
|
+
const { ref, step } = useStage(LENGTHS, STILL)
|
|
170
|
+
const asked = step >= 1 && step <= 9
|
|
171
|
+
const choice = step >= 3 && step <= 5
|
|
172
|
+
const answered = step >= 6 && step <= 9
|
|
173
|
+
const working = step === 7
|
|
174
|
+
const done = step >= 8 && step <= 9
|
|
175
|
+
const pointer = step <= 2 ? AT.option : AT.answer
|
|
176
|
+
const enter = (show: boolean) => ({ opacity: show ? 1 : 0, transform: show ? "none" : `translateY(${u(10)})`, transition: "opacity 0.4s ease, transform 0.5s cubic-bezier(0.2, 0.9, 0.3, 1.2)" })
|
|
177
|
+
|
|
178
|
+
return (
|
|
179
|
+
<Stage stageRef={ref} colors={colors} night={night} height={H} label={label}>
|
|
180
|
+
<AppWindow {...WIN} h={H} address="agents.spunto.net">
|
|
181
|
+
<div style={{ position: "absolute", inset: 0, opacity: step === 9 ? 0 : 1, transition: "opacity 0.4s ease" }}>
|
|
182
|
+
<Sidebar colors={colors} pending={asked && !answered} />
|
|
183
|
+
<div style={{ position: "absolute", left: u(MAIN_X), right: u(22), top: 0, bottom: 0 }}>
|
|
184
|
+
<div style={{ marginTop: u(16), fontFamily: FONT.mono, fontSize: u(7.6), letterSpacing: "0.14em", textTransform: "uppercase", color: MUTED }}>{UI.org}</div>
|
|
185
|
+
<div style={{ marginTop: u(3), fontFamily: FONT.display, fontSize: u(23), lineHeight: 1.1 }}>DevRel</div>
|
|
186
|
+
<div style={{ display: "flex", gap: u(14), marginTop: u(10), borderBottom: `1px solid ${LINE}`, fontSize: u(9.6), whiteSpace: "nowrap" }}>
|
|
187
|
+
{UI.tabs.map((t, i) => (
|
|
188
|
+
<span key={t} style={{ display: "inline-flex", alignItems: "center", gap: u(4), paddingBottom: u(6), marginBottom: -1, borderBottom: i === 1 ? `2px solid ${colors.tone}` : "2px solid transparent", color: i === 1 ? INK : MUTED, fontWeight: i === 1 ? 550 : 450 }}>
|
|
189
|
+
{t}
|
|
190
|
+
{i === 3 && <span style={{ fontFamily: FONT.mono, fontSize: u(8), color: FAINT }}>{UI.memory}</span>}
|
|
191
|
+
{i === 5 && <span style={{ fontFamily: FONT.mono, fontSize: u(8), color: FAINT }}>{UI.runs}</span>}
|
|
192
|
+
{i === 6 && asked && !answered && <span style={{ padding: `0 ${u(4)}`, borderRadius: u(8), background: colors.tone, color: "#ffffff", fontFamily: FONT.mono, fontSize: u(8) }}>1</span>}
|
|
193
|
+
</span>
|
|
194
|
+
))}
|
|
195
|
+
</div>
|
|
196
|
+
<div style={{ position: "absolute", left: 0, right: 0, top: u(84), bottom: u(12), border: `1px solid ${LINE}`, borderRadius: u(7), background: "#ffffff", overflow: "hidden" }}>
|
|
197
|
+
<div style={{ position: "absolute", left: 0, right: 0, top: 0, bottom: u(44), display: "flex", flexDirection: "column", justifyContent: "flex-end", gap: u(8), padding: `${u(12)} ${u(16)}` }}>
|
|
198
|
+
<Bubble mine tone={colors.tone} meta={`${UI.member} · 07:52`}>{THREAD.mine[lang]}</Bubble>
|
|
199
|
+
<Bubble tone={colors.tone} meta={`08:03 · ${UI.run}`}>{THREAD.noted[lang]}</Bubble>
|
|
200
|
+
<Bubble tone={colors.tone} meta={`08:10 · ${UI.run}`}>{THREAD.first[lang]}</Bubble>
|
|
201
|
+
{asked && (
|
|
202
|
+
<div style={enter(asked)}>
|
|
203
|
+
<DecisionCard lang={lang} colors={colors} choice={choice} pressed={step === 3 ? "option" : step === 5 ? "answer" : undefined} answered={answered} />
|
|
204
|
+
</div>
|
|
205
|
+
)}
|
|
206
|
+
{working && (
|
|
207
|
+
<div style={{ display: "flex", alignItems: "center", gap: u(6), fontSize: u(9), color: MUTED }}>
|
|
208
|
+
<span style={{ display: "flex", gap: u(3) }}>
|
|
209
|
+
{[0, 1, 2].map((d) => <span key={d} style={{ width: u(5), height: u(5), borderRadius: "50%", background: FAINT, opacity: 0.4 + d * 0.25 }} />)}
|
|
210
|
+
</span>
|
|
211
|
+
{UI.working}
|
|
212
|
+
</div>
|
|
213
|
+
)}
|
|
214
|
+
{done && (
|
|
215
|
+
<div style={enter(done)}>
|
|
216
|
+
<Bubble tone={colors.tone} meta={`08:41 · ${UI.run}`}>{THREAD.done[lang]}</Bubble>
|
|
217
|
+
</div>
|
|
218
|
+
)}
|
|
219
|
+
</div>
|
|
220
|
+
<div style={{ position: "absolute", left: 0, right: 0, bottom: 0, height: u(44), display: "flex", alignItems: "center", gap: u(8), padding: `0 ${u(10)}`, borderTop: `1px solid ${LINE}` }}>
|
|
221
|
+
<div style={{ flex: 1, height: u(26), display: "flex", alignItems: "center", padding: `0 ${u(8)}`, borderRadius: u(5), border: `1px solid ${LINE}`, fontSize: u(9.6), color: FAINT }}>{UI.write}</div>
|
|
222
|
+
<span style={{ display: "flex", alignItems: "center", justifyContent: "center", width: u(26), height: u(26), borderRadius: u(4), background: hexAlpha(colors.tone, 0.5) }}>
|
|
223
|
+
<Icon id="send" size={11} color="#ffffff" />
|
|
224
|
+
</span>
|
|
225
|
+
</div>
|
|
226
|
+
</div>
|
|
227
|
+
</div>
|
|
228
|
+
</div>
|
|
229
|
+
<Cursor x={pointer.x - WIN.x} y={pointer.y - WIN.y} down={step === 3 || step === 5} hidden={step < 2 || step > 5} ms={750} />
|
|
230
|
+
</AppWindow>
|
|
231
|
+
|
|
232
|
+
<Float x={640} y={14} w={262} depth={110} show={step >= 1 && step <= 4}>
|
|
233
|
+
<div style={{ display: "flex", gap: u(8), padding: `${u(9)} ${u(11)}`, background: "rgba(246,246,248,0.97)" }}>
|
|
234
|
+
<SpuntoMark size={22} tile={colors.signal} ink={colors.field} alt={colors.field} style={{ borderRadius: u(5) }} />
|
|
235
|
+
<div style={{ minWidth: 0 }}>
|
|
236
|
+
<div style={{ display: "flex", fontSize: u(9.4), fontWeight: 650 }}>
|
|
237
|
+
{CAPTION.phone[lang]}
|
|
238
|
+
<span style={{ marginLeft: "auto", paddingLeft: u(8), fontWeight: 400, color: FAINT, fontSize: u(8.4) }}>{UI.now}</span>
|
|
239
|
+
</div>
|
|
240
|
+
<div style={{ marginTop: u(2), fontSize: u(9.4), color: INK }}>{THREAD.question[lang]}</div>
|
|
241
|
+
</div>
|
|
242
|
+
</div>
|
|
243
|
+
</Float>
|
|
244
|
+
|
|
245
|
+
<Float x={560} y={398} w={340} depth={140} show={step >= 1 && step <= 5}>
|
|
246
|
+
<CodeCard
|
|
247
|
+
title={CAPTION.agent[lang]}
|
|
248
|
+
meta="$AGENT_API_URL/api/run"
|
|
249
|
+
signal={colors.signal}
|
|
250
|
+
lines={[
|
|
251
|
+
{ text: "POST /decisions", hot: true },
|
|
252
|
+
{ text: `{ "question": "${THREAD.question[lang]}",` },
|
|
253
|
+
{ text: ` "options": ["${THREAD.options[0][lang]}", "${THREAD.options[1][lang]}"] }` },
|
|
254
|
+
{ text: "→ 201 · « Ne fais pas l'action en attendant. »", dim: true },
|
|
255
|
+
]}
|
|
256
|
+
/>
|
|
257
|
+
</Float>
|
|
258
|
+
</Stage>
|
|
259
|
+
)
|
|
260
|
+
}
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
|
|
13
13
|
import type { BrandProductId } from "../../products"
|
|
14
14
|
|
|
15
|
-
export type ShowcaseScreenId = "cms-board" | "cms-table" | "cms-page" | "cms-views" | "desktop-wall" | "desktop-drive" | "desktop-handoff" | "desktop-launcher" | "foyer-phone" | "foyer-week" | "foyer-pantry" | "foyer-book" | "sandbox-terminal"
|
|
15
|
+
export type ShowcaseScreenId = "cms-board" | "cms-table" | "cms-page" | "cms-views" | "desktop-wall" | "desktop-drive" | "desktop-handoff" | "desktop-launcher" | "foyer-phone" | "foyer-week" | "foyer-pantry" | "foyer-book" | "sandbox-terminal" | "agents-thread"
|
|
16
16
|
|
|
17
17
|
export type ShowcaseScreenMeta = {
|
|
18
18
|
id: ShowcaseScreenId
|
|
@@ -36,6 +36,10 @@ const DESKTOP_SOURCE = "coderhammer/spunto-desktop@36a6c26 · web/src/app/Deskto
|
|
|
36
36
|
// app serves them (tuppa.app/app/illustrations), never copied into the kit (foyer/sample.ts).
|
|
37
37
|
const FOYER_SOURCE = "coderhammer/foyer@aa0f3b1 · app/src/views/menus.jsx, stock.jsx, recettes.jsx, components/cuisine.jsx, panel.jsx (captures d’un foyer « Chez Camille », semaine du 16 au 22 novembre), app/src/i18n/{en,fr}.js, app/public/illustrations"
|
|
38
38
|
|
|
39
|
+
// The app exists in French only: its labels are printed as it prints them, on the English page too. What the agent and
|
|
40
|
+
// the member write follows the page's language (agents/sample.ts).
|
|
41
|
+
const AGENTS_SOURCE = "coderhammer/spunto-agents@76d4667 · web/src/app/OrgRoutes.tsx (la barre latérale), Agent.tsx (les onglets), Conversation.tsx et Decisions.tsx (le fil, la carte d’une décision), server/agent-api.ts (la requête de l’agent, sa réponse, la notification) ; la matinée de DevRel de web/src/marketing/Landing.tsx"
|
|
42
|
+
|
|
39
43
|
// The CLI speaks English only: its lines are printed as it prints them, on the French page too (sandbox/sample.ts).
|
|
40
44
|
const SANDBOX_SOURCE = "spuntodotnet/sandbox@ac4a9b8 · src/cli/main.ts (ce que sbx écrit), docs/content/docs/quickstart.mdx et benchmarks.mdx de docs/site@f0639c5 (les commandes, les durées mesurées)"
|
|
41
45
|
|
|
@@ -131,6 +135,13 @@ export const SHOWCASE_SCREENS: Record<ShowcaseScreenId, ShowcaseScreenMeta> = {
|
|
|
131
135
|
story: "Un terminal sur sa propre machine : sbx run ubuntu:24.04 fait une boîte, un compteur y tourne, sbx pause l’arrête mémoire gardée (sbx ls : paused), sbx resume le retrouve qui compte, sbx fork en fait une copie qui compte aussi — chaque sortie arrive après la durée mesurée.",
|
|
132
136
|
source: SANDBOX_SOURCE,
|
|
133
137
|
},
|
|
138
|
+
"agents-thread": {
|
|
139
|
+
id: "agents-thread",
|
|
140
|
+
product: "agents",
|
|
141
|
+
name: "Conversation et décision",
|
|
142
|
+
story: "La conversation avec DevRel : il dit ce que son passage a fait, puis demande avant de publier — la décision arrive dans le fil et sur le téléphone, on choisit « Publier », on répond, la réponse repart dans la tâche même qui l’a demandée, et l’agent reprend.",
|
|
143
|
+
source: AGENTS_SOURCE,
|
|
144
|
+
},
|
|
134
145
|
}
|
|
135
146
|
|
|
136
147
|
export const SHOWCASE_SCREEN_IDS = Object.keys(SHOWCASE_SCREENS) as ShowcaseScreenId[]
|
|
@@ -314,6 +314,7 @@ const ICON = {
|
|
|
314
314
|
search: "M11 4a7 7 0 1 0 0 14a7 7 0 0 0 0-14zM20 20l-3.5-3.5",
|
|
315
315
|
more: "M12 5h.01M12 12h.01M12 19h.01",
|
|
316
316
|
download: "M12 4v11M7 11l5 5l5-5M5 20h14",
|
|
317
|
+
send: "M21 3L10 14M21 3l-7 18l-4-7l-7-4z",
|
|
317
318
|
} as const
|
|
318
319
|
|
|
319
320
|
export type IconId = keyof typeof ICON
|
|
@@ -17,6 +17,7 @@ import { PantryScreen } from "./foyer/pantry"
|
|
|
17
17
|
import { PhoneScreen } from "./foyer/phone"
|
|
18
18
|
import { WeekScreen } from "./foyer/week"
|
|
19
19
|
import { TerminalScreen } from "./sandbox/terminal"
|
|
20
|
+
import { ThreadScreen } from "./agents/thread"
|
|
20
21
|
import type { StageColors } from "./stage"
|
|
21
22
|
|
|
22
23
|
/* The client half of a `showcase` section: the home (drawn on the server) hands a screen's id and what
|
|
@@ -38,6 +39,7 @@ const SCREENS: Record<ShowcaseScreenId, (props: ScreenProps) => ReactNode> = {
|
|
|
38
39
|
"foyer-pantry": PantryScreen,
|
|
39
40
|
"foyer-book": BookScreen,
|
|
40
41
|
"sandbox-terminal": TerminalScreen,
|
|
42
|
+
"agents-thread": ThreadScreen,
|
|
41
43
|
}
|
|
42
44
|
|
|
43
45
|
export function ShowcaseScreen({ screen, locale, product, theme, palette, label }: { screen: ShowcaseScreenId; locale: "en" | "fr"; product: BrandProductId; theme: BrandTheme; palette?: BrandPalette; label: string }) {
|
package/src/paints.ts
CHANGED
|
@@ -28,7 +28,7 @@ export type PaintToken =
|
|
|
28
28
|
| "flame"
|
|
29
29
|
| "background" | "card" | "popover" | "secondary" | "muted" | "border" | "input" | "sidebar" | "sidebar-border"
|
|
30
30
|
|
|
31
|
-
export type PaintId = "cloud" | "sprout" | "cms" | "lite" | "browser" | "desktop" | "ci" | "sandbox" | "search" | "foyer" | "ds"
|
|
31
|
+
export type PaintId = "cloud" | "sprout" | "cms" | "lite" | "browser" | "desktop" | "ci" | "sandbox" | "agents" | "search" | "foyer" | "ds"
|
|
32
32
|
|
|
33
33
|
export type Paint = {
|
|
34
34
|
id: PaintId
|
|
@@ -145,6 +145,18 @@ export const PAINTS: Paint[] = [
|
|
|
145
145
|
hue: 165,
|
|
146
146
|
shelf: true,
|
|
147
147
|
},
|
|
148
|
+
{
|
|
149
|
+
id: "agents",
|
|
150
|
+
name: "Ardoise · corail",
|
|
151
|
+
note: `Spunto Agents — slate / vivid coral since 2026-11-29 (an apricot for a day, 2026-11-28: too
|
|
152
|
+
yellow, too near Cloud's amber): a deep, calm slate for agents you can trust, and a warm coral for the
|
|
153
|
+
moment it's your turn (a decision waiting). Its field sits between Search's teal and Lite's ink; its
|
|
154
|
+
signal is deeper and more orange than Sandbox's pale coral (L 0.78, not the family's 0.87), so the
|
|
155
|
+
tiles tell apart. It wore Cloud's paint before, and its favicon and iPhone icon an older amber-on-dusk`,
|
|
156
|
+
field: "0.27 0.065 238", signal: "0.78 0.13 32", tone: "0.49 0.14 238",
|
|
157
|
+
hue: 238,
|
|
158
|
+
shelf: true,
|
|
159
|
+
},
|
|
148
160
|
{
|
|
149
161
|
id: "search",
|
|
150
162
|
name: "Sarcelle · eau",
|
package/src/products.ts
CHANGED
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
|
|
13
13
|
import { PAINT_BY_ID, paintHex, type PaintId } from "./paints"
|
|
14
14
|
|
|
15
|
-
export type BrandProductId = "cloud" | "lite" | "cms" | "desktop" | "ci" | "sandbox" | "search" | "ds" | "foyer"
|
|
15
|
+
export type BrandProductId = "cloud" | "lite" | "cms" | "desktop" | "ci" | "sandbox" | "agents" | "search" | "ds" | "foyer"
|
|
16
16
|
|
|
17
17
|
export type BrandColors = {
|
|
18
18
|
/** The deep colour a product's night bands, story scenes and video backdrops open in. */
|
|
@@ -216,6 +216,33 @@ const ENTRIES: Entry[] = [
|
|
|
216
216
|
claim: "Des microVM Firecracker, *sur votre propre machine*.",
|
|
217
217
|
},
|
|
218
218
|
},
|
|
219
|
+
{
|
|
220
|
+
/* An app an org installs from its Integrations page (coderhammer/spunto-agents), not a machine of its own:
|
|
221
|
+
every run is a task in the org's projects, started as the agent's owner. Born from Spunto's own developer
|
|
222
|
+
advocate, generalised. Words from its README.md and its site (web/src/marketing/Landing.tsx). */
|
|
223
|
+
id: "agents",
|
|
224
|
+
name: "Spunto Agents",
|
|
225
|
+
paint: "agents",
|
|
226
|
+
family: "product",
|
|
227
|
+
href: "https://agents.spunto.net",
|
|
228
|
+
hrefFr: "https://agents.spunto.net/fr",
|
|
229
|
+
en: {
|
|
230
|
+
kind: "agents you can read",
|
|
231
|
+
promise: "Agents with instructions, a memory you read and decisions you approve; every run is a Spunto task.",
|
|
232
|
+
blurb:
|
|
233
|
+
"Give an agent its instructions and its guardrails, a project and a schedule. Read its memory, follow its journal, and answer the decisions it leaves you: it asks, waits, and picks up where it was. Every run is a task in your Spunto projects, started as you, with your harness and your secrets.",
|
|
234
|
+
status: "an app for your org",
|
|
235
|
+
claim: "Agents you read, steer *and approve*.",
|
|
236
|
+
},
|
|
237
|
+
fr: {
|
|
238
|
+
kind: "des agents qu'on lit",
|
|
239
|
+
promise: "Des agents avec des instructions, une mémoire qu'on lit et des décisions qu'on valide ; chaque passage est une tâche Spunto.",
|
|
240
|
+
blurb:
|
|
241
|
+
"Donnez à un agent ses instructions et ses garde-fous, un projet et un planning. Lisez sa mémoire, suivez son journal, et répondez aux décisions qu'il vous laisse : il demande, attend, et reprend où il en était. Chaque passage est une tâche dans vos projets Spunto, lancée en votre nom, avec votre harnais et vos secrets.",
|
|
242
|
+
status: "une app pour votre org",
|
|
243
|
+
claim: "Des agents qu'on lit, qu'on guide *et qu'on valide*.",
|
|
244
|
+
},
|
|
245
|
+
},
|
|
219
246
|
{
|
|
220
247
|
id: "search",
|
|
221
248
|
name: "Spunto Search",
|