@khanglvm/relay 0.5.0 → 0.5.2
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/README.md
CHANGED
|
@@ -10,11 +10,23 @@ JSON and keeps working.
|
|
|
10
10
|
|
|
11
11
|
## See it
|
|
12
12
|
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
answers
|
|
13
|
+
**The whole loop** — your agent asks in the terminal, a board opens in your
|
|
14
|
+
browser; you pick a style, expand the chart, comment on a data point, leave a
|
|
15
|
+
note, Submit — and the agent picks up your answers and keeps going:
|
|
16
16
|
|
|
17
|
-

|
|
18
|
+
|
|
19
|
+
**Visual answer options** — every choice carries its own chart/image/diagram, so you pick by looking:
|
|
20
|
+
|
|
21
|
+

|
|
22
|
+
|
|
23
|
+
**Comment on anything** — click a chart bar, diagram node, table cell, or sentence; comments return to the agent with the answers:
|
|
24
|
+
|
|
25
|
+

|
|
26
|
+
|
|
27
|
+
**Full-screen any visual** — one button above every chart, diagram, table, image, and prototype:
|
|
28
|
+
|
|
29
|
+

|
|
18
30
|
|
|
19
31
|
| Light theme | Dark theme |
|
|
20
32
|
|---|---|
|
package/docs/assets/demo.gif
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@khanglvm/relay",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.2",
|
|
4
4
|
"description": "Browser-based question boards with rich blocks (markdown, charts, mermaid, tables, code, sandboxed HTML) and element-level annotations for AI coding agents (Claude Code, Codex, …): ask users structured questions, present interactive visuals, collect inline comments, wait for submit, read answers as JSON.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ai-agents",
|
package/src/ui/blocks.css
CHANGED
|
@@ -132,10 +132,12 @@
|
|
|
132
132
|
.blk-table tbody tr:last-child td { border-bottom: 0; }
|
|
133
133
|
|
|
134
134
|
/* ---------- chart ---------- */
|
|
135
|
+
/* NO height here: renderChart always sets the inline height, and this class
|
|
136
|
+
also lands on the outer .blk.blk-chart dispatch wrapper — a CSS height
|
|
137
|
+
would force every custom-height chart into a 320px box (dead space). */
|
|
135
138
|
.blk-chart {
|
|
136
139
|
position: relative;
|
|
137
140
|
width: 100%;
|
|
138
|
-
height: 320px;
|
|
139
141
|
}
|
|
140
142
|
.blk-chart canvas { display: block; }
|
|
141
143
|
.blk-chart-badge {
|