Skip to content

Commit a327b7f

Browse files
authored
Merge pull request #313 from goadesign/chorus-v1.3.3
Update the Chorus page and live demo to Chorus v1.3.3
2 parents ea2a253 + ce5f906 commit a327b7f

22 files changed

Lines changed: 1284 additions & 543 deletions

File tree

‎content/en/docs/3-ecosystem/chorus.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ Chorus is a compact reference service combining [Goa-AI MCP generation](/docs/2-
109109

110110
```go
111111
// design/design.go (excerpt — TextResult wraps ArrayOfRequired(TextBlock))
112-
var _ = API("chorus", func() { Version("1.3.0") })
112+
var _ = API("chorus", func() { Version("1.3.3") })
113113

114114
var _ = Service("chorus", func() {
115115
MCP("chorus", "1.0.0")

‎content/es/docs/3-ecosystem/chorus.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ Chorus es un servicio de referencia compacto que combina la [generación MCP de
112112

113113
```go
114114
// design/design.go (excerpt — TextResult wraps ArrayOfRequired(TextBlock))
115-
var _ = API("chorus", func() { Version("1.3.0") })
115+
var _ = API("chorus", func() { Version("1.3.3") })
116116

117117
var _ = Service("chorus", func() {
118118
MCP("chorus", "1.0.0")

‎content/fr/docs/3-ecosystem/chorus.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ Chorus est un service de référence compact combinant la [génération MCP de G
111111

112112
```go
113113
// design/design.go (excerpt — TextResult wraps ArrayOfRequired(TextBlock))
114-
var _ = API("chorus", func() { Version("1.3.0") })
114+
var _ = API("chorus", func() { Version("1.3.3") })
115115

116116
var _ = Service("chorus", func() {
117117
MCP("chorus", "1.0.0")

‎content/it/docs/3-ecosystem/chorus.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ Chorus è un servizio di riferimento compatto che combina la [generazione MCP di
112112

113113
```go
114114
// design/design.go (excerpt — TextResult wraps ArrayOfRequired(TextBlock))
115-
var _ = API("chorus", func() { Version("1.3.0") })
115+
var _ = API("chorus", func() { Version("1.3.3") })
116116

117117
var _ = Service("chorus", func() {
118118
MCP("chorus", "1.0.0")

‎content/ja/docs/3-ecosystem/chorus.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ Chorus は、[Goa-AI の MCP コード生成](/ja/docs/2-goa-ai/mcp-integration/
112112

113113
```go
114114
// design/design.go (excerpt — TextResult wraps ArrayOfRequired(TextBlock))
115-
var _ = API("chorus", func() { Version("1.3.0") })
115+
var _ = API("chorus", func() { Version("1.3.3") })
116116

117117
var _ = Service("chorus", func() {
118118
MCP("chorus", "1.0.0")

‎layouts/chorus/section.html‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -195,10 +195,10 @@ <h2 id="chorus-install-title" class="chorus-install-title">{{ T "chorus_install_
195195
<img src="{{ "img/chorus/dashboard-desktop-dark.webp" | relURL }}" alt="{{ T "chorus_dashboard_alt" }}" width="1440" height="960" fetchpriority="high" decoding="async">
196196
</picture>
197197
{{- /* Dot centers of #auth#1, #2, #6 and #7, in percent of each image (scripts/chorus-example/dots.json). */ -}}
198-
<span class="chorus-pin" style="--dx: 27.71%; --dy: 7.19%; --mx: 29.49%; --my: 10.36%" aria-hidden="true">1</span>
199-
<span class="chorus-pin" style="--dx: 31.61%; --dy: 9.9%; --mx: 36.67%; --my: 13.93%" aria-hidden="true">2</span>
200-
<span class="chorus-pin" style="--dx: 47.22%; --dy: 7.19%; --mx: 65.38%; --my: 10.36%" aria-hidden="true">3</span>
201-
<span class="chorus-pin" style="--dx: 51.13%; --dy: 9.9%; --mx: 72.56%; --my: 13.93%" aria-hidden="true">4</span>
198+
<span class="chorus-pin" style="--dx: 29.72%; --dy: 8.33%; --mx: 32.82%; --my: 11.93%" aria-hidden="true">1</span>
199+
<span class="chorus-pin" style="--dx: 32.63%; --dy: 11.04%; --mx: 40%; --my: 15.5%" aria-hidden="true">2</span>
200+
<span class="chorus-pin" style="--dx: 44.24%; --dy: 8.33%; --mx: 68.72%; --my: 11.93%" aria-hidden="true">3</span>
201+
<span class="chorus-pin" style="--dx: 47.14%; --dy: 11.04%; --mx: 75.9%; --my: 15.5%" aria-hidden="true">4</span>
202202
</div>
203203
<figcaption>{{ T "chorus_dashboard_caption" | markdownify }} <a href="/chorus/demo/">{{ T "chorus_demo_cta" }} →</a></figcaption>
204204
</figure>

‎scripts/chorus-example/README.md‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ screenshots, and numbers can be checked and regenerated.
99
The conversation is invented. The handles (`@dana`, a person posting from the
1010
browser dashboard, and the coding agents `@claude`, `@codex`, and `@gemini`),
1111
the `auth` service, the commit IDs, and the file paths are fictional. The
12-
dashboard and the message text are real Chorus v1.3.0 output from that invented
12+
dashboard and the message text are real Chorus v1.3.3 output from that invented
1313
conversation.
1414

1515
## Files
@@ -21,7 +21,7 @@ conversation.
2121
| `wire.jsonl` | One line per agent wakeup or MCP tool call: the agent, the command or tool, its arguments, and the exact text the agent's model received. |
2222
| `measure.py` | Estimates the tokens of every recorded result and writes `tokens.json`. |
2323
| `tokens.json` | The estimates, per result and summarized by kind. |
24-
| `capture.js` | Opens the real Chorus v1.3.0 dashboard in headless Chrome (with the side-by-side `Plan` split pane open on desktop) and saves four PNG screenshots in this folder (light and dark, desktop 1440×960 and mobile 390×700), plus `dots.json`. `cwebp` converts them into `static/img/chorus/`. |
24+
| `capture.js` | Opens the real Chorus v1.3.3 dashboard in headless Chrome (with the side-by-side `Plan` split pane open on desktop) and saves four PNG screenshots in this folder (light and dark, desktop 1440×960 and mobile 390×700), plus `dots.json`. `cwebp` converts them into `static/img/chorus/`. |
2525
| `dots.json` | Where each message's discussion-map dot sits in each screenshot, in percent. The page places its numbered markers at these positions. |
2626

2727
## How the numbers are estimated
@@ -75,4 +75,4 @@ text stays the same, so the token estimates change only if wakeups group
7575
messages differently. Stop the server and clear its Redis database afterwards.
7676

7777
The published screenshots were captured from Chorus at commit
78-
`8d595d620b8003314b692aa71f40c4fb18f1addc`.
78+
`4e65e3a36dd0c2474e084ab0171b6d46a3c90c0b`.

‎scripts/chorus-example/capture.js‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// capture.js takes the goa.design Chorus page's dashboard screenshots from
22
// the isolated test server (127.0.0.1:9450) seeded by seed.py.
33
// For each theme (light, dark) and size (desktop 1440x960, mobile 390x700) it
4-
// opens the real Chorus v1.3.0 dashboard in headless Chrome, opens the
4+
// opens the real Chorus v1.3.3 dashboard in headless Chrome, opens the
55
// side-by-side Plan split pane on desktop so the pinned plan is visible next to
66
// the swimlane map and message stream, saves a PNG, and records where each
77
// discussion-map dot sits as a percentage of the image so the page can place
@@ -44,6 +44,7 @@ async function shoot(browser, theme, size) {
4444
if (await planBtn.isVisible()) {
4545
await planBtn.click();
4646
await page.waitForSelector("#plan-pane:not([hidden])", { timeout: 5000 });
47+
await page.evaluate(() => Promise.allSettled(document.getAnimations().map((a) => a.finished)));
4748
}
4849
} else {
4950
// Ensure early turns (#auth#1, #2, #6, #7) sit cleanly in view on 390px mobile.

‎scripts/chorus-example/dots.json‎

Lines changed: 84 additions & 84 deletions
Original file line numberDiff line numberDiff line change
@@ -1,178 +1,178 @@
11
{
22
"dashboard-desktop-light": {
33
"1": {
4-
"x": 27.71,
5-
"y": 7.19
4+
"x": 29.72,
5+
"y": 8.33
66
},
77
"2": {
8-
"x": 31.61,
9-
"y": 9.9
8+
"x": 32.63,
9+
"y": 11.04
1010
},
1111
"3": {
12-
"x": 35.51,
13-
"y": 12.6
12+
"x": 35.53,
13+
"y": 13.75
1414
},
1515
"4": {
16-
"x": 39.42,
17-
"y": 15.31
16+
"x": 38.43,
17+
"y": 16.46
1818
},
1919
"5": {
20-
"x": 43.32,
21-
"y": 9.9
20+
"x": 41.33,
21+
"y": 11.04
2222
},
2323
"6": {
24-
"x": 47.22,
25-
"y": 7.19
24+
"x": 44.24,
25+
"y": 8.33
2626
},
2727
"7": {
28-
"x": 51.13,
29-
"y": 9.9
28+
"x": 47.14,
29+
"y": 11.04
3030
},
3131
"8": {
32-
"x": 55.03,
33-
"y": 9.9
32+
"x": 50.04,
33+
"y": 11.04
3434
},
3535
"9": {
36-
"x": 58.93,
37-
"y": 12.6
36+
"x": 52.94,
37+
"y": 13.75
3838
},
3939
"10": {
40-
"x": 62.83,
41-
"y": 15.31
40+
"x": 55.85,
41+
"y": 16.46
4242
},
4343
"11": {
44-
"x": 66.74,
45-
"y": 9.9
44+
"x": 58.75,
45+
"y": 11.04
4646
}
4747
},
4848
"dashboard-mobile-light": {
4949
"1": {
50-
"x": 29.49,
51-
"y": 10.36
50+
"x": 32.82,
51+
"y": 11.93
5252
},
5353
"2": {
54-
"x": 36.67,
55-
"y": 13.93
54+
"x": 40,
55+
"y": 15.5
5656
},
5757
"3": {
58-
"x": 43.85,
59-
"y": 17.5
58+
"x": 47.18,
59+
"y": 19.07
6060
},
6161
"4": {
62-
"x": 51.03,
63-
"y": 21.07
62+
"x": 54.36,
63+
"y": 22.64
6464
},
6565
"5": {
66-
"x": 58.21,
67-
"y": 13.93
66+
"x": 61.54,
67+
"y": 15.5
6868
},
6969
"6": {
70-
"x": 65.38,
71-
"y": 10.36
70+
"x": 68.72,
71+
"y": 11.93
7272
},
7373
"7": {
74-
"x": 72.56,
75-
"y": 13.93
74+
"x": 75.9,
75+
"y": 15.5
7676
},
7777
"8": {
78-
"x": 79.74,
79-
"y": 13.93
78+
"x": 83.08,
79+
"y": 15.5
8080
},
8181
"9": {
82-
"x": 86.92,
83-
"y": 17.5
82+
"x": 90.26,
83+
"y": 19.07
8484
},
8585
"10": {
86-
"x": 94.1,
87-
"y": 21.07
86+
"x": 97.44,
87+
"y": 22.64
8888
}
8989
},
9090
"dashboard-desktop-dark": {
9191
"1": {
92-
"x": 27.71,
93-
"y": 7.19
92+
"x": 29.72,
93+
"y": 8.33
9494
},
9595
"2": {
96-
"x": 31.61,
97-
"y": 9.9
96+
"x": 32.63,
97+
"y": 11.04
9898
},
9999
"3": {
100-
"x": 35.51,
101-
"y": 12.6
100+
"x": 35.53,
101+
"y": 13.75
102102
},
103103
"4": {
104-
"x": 39.42,
105-
"y": 15.31
104+
"x": 38.43,
105+
"y": 16.46
106106
},
107107
"5": {
108-
"x": 43.32,
109-
"y": 9.9
108+
"x": 41.33,
109+
"y": 11.04
110110
},
111111
"6": {
112-
"x": 47.22,
113-
"y": 7.19
112+
"x": 44.24,
113+
"y": 8.33
114114
},
115115
"7": {
116-
"x": 51.13,
117-
"y": 9.9
116+
"x": 47.14,
117+
"y": 11.04
118118
},
119119
"8": {
120-
"x": 55.03,
121-
"y": 9.9
120+
"x": 50.04,
121+
"y": 11.04
122122
},
123123
"9": {
124-
"x": 58.93,
125-
"y": 12.6
124+
"x": 52.94,
125+
"y": 13.75
126126
},
127127
"10": {
128-
"x": 62.83,
129-
"y": 15.31
128+
"x": 55.85,
129+
"y": 16.46
130130
},
131131
"11": {
132-
"x": 66.74,
133-
"y": 9.9
132+
"x": 58.75,
133+
"y": 11.04
134134
}
135135
},
136136
"dashboard-mobile-dark": {
137137
"1": {
138-
"x": 29.49,
139-
"y": 10.36
138+
"x": 32.82,
139+
"y": 11.93
140140
},
141141
"2": {
142-
"x": 36.67,
143-
"y": 13.93
142+
"x": 40,
143+
"y": 15.5
144144
},
145145
"3": {
146-
"x": 43.85,
147-
"y": 17.5
146+
"x": 47.18,
147+
"y": 19.07
148148
},
149149
"4": {
150-
"x": 51.03,
151-
"y": 21.07
150+
"x": 54.36,
151+
"y": 22.64
152152
},
153153
"5": {
154-
"x": 58.21,
155-
"y": 13.93
154+
"x": 61.54,
155+
"y": 15.5
156156
},
157157
"6": {
158-
"x": 65.38,
159-
"y": 10.36
158+
"x": 68.72,
159+
"y": 11.93
160160
},
161161
"7": {
162-
"x": 72.56,
163-
"y": 13.93
162+
"x": 75.9,
163+
"y": 15.5
164164
},
165165
"8": {
166-
"x": 79.74,
167-
"y": 13.93
166+
"x": 83.08,
167+
"y": 15.5
168168
},
169169
"9": {
170-
"x": 86.92,
171-
"y": 17.5
170+
"x": 90.26,
171+
"y": 19.07
172172
},
173173
"10": {
174-
"x": 94.1,
175-
"y": 21.07
174+
"x": 97.44,
175+
"y": 22.64
176176
}
177177
}
178178
}

‎scripts/chorus-example/tokens.json‎

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -80,21 +80,21 @@
8080
},
8181
{
8282
"kind": "wakeup",
83-
"agent": "gemini",
84-
"bytes": 497,
83+
"agent": "codex",
84+
"bytes": 496,
8585
"tokens": 86,
86-
"bytes_div_4": 125,
86+
"bytes_div_4": 124,
8787
"messages": 2,
88-
"result": "#auth#1 @dana (human): @claude lead this: add single-use challenges to `/v2/passkey/verify` so a captured assertion can't be replayed. Split the work with the others.\n#auth#2 @claude: Goal: single-use passkey challenges | @claude `internal/passkey/verify.go` (consume the challenge atomically), review @codex | @codex `verify_test.go` replay and expiry cases | @gemini docs + `client/passkey.ts` retry message | Verify: `go test -race ./internal/passkey/...`\n! watch: chorus watch gemini -wait 30s"
88+
"result": "#auth#1 @dana (human): @claude lead this: add single-use challenges to `/v2/passkey/verify` so a captured assertion can't be replayed. Split the work with the others.\n#auth#2 @claude: Goal: single-use passkey challenges | @claude `internal/passkey/verify.go` (consume the challenge atomically), review @codex | @codex `verify_test.go` replay and expiry cases | @gemini docs + `client/passkey.ts` retry message | Verify: `go test -race ./internal/passkey/...`\n! watch: chorus watch codex -wait 30s"
8989
},
9090
{
9191
"kind": "wakeup",
92-
"agent": "codex",
93-
"bytes": 496,
92+
"agent": "gemini",
93+
"bytes": 497,
9494
"tokens": 86,
95-
"bytes_div_4": 124,
95+
"bytes_div_4": 125,
9696
"messages": 2,
97-
"result": "#auth#1 @dana (human): @claude lead this: add single-use challenges to `/v2/passkey/verify` so a captured assertion can't be replayed. Split the work with the others.\n#auth#2 @claude: Goal: single-use passkey challenges | @claude `internal/passkey/verify.go` (consume the challenge atomically), review @codex | @codex `verify_test.go` replay and expiry cases | @gemini docs + `client/passkey.ts` retry message | Verify: `go test -race ./internal/passkey/...`\n! watch: chorus watch codex -wait 30s"
97+
"result": "#auth#1 @dana (human): @claude lead this: add single-use challenges to `/v2/passkey/verify` so a captured assertion can't be replayed. Split the work with the others.\n#auth#2 @claude: Goal: single-use passkey challenges | @claude `internal/passkey/verify.go` (consume the challenge atomically), review @codex | @codex `verify_test.go` replay and expiry cases | @gemini docs + `client/passkey.ts` retry message | Verify: `go test -race ./internal/passkey/...`\n! watch: chorus watch gemini -wait 30s"
9898
},
9999
{
100100
"kind": "send-ack",

0 commit comments

Comments
 (0)