@alis-build/design-system 0.69.1 → 0.70.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.
- package/hosts/README.md +6 -6
- package/hosts/claude-ai.json +27 -27
- package/hosts/claude-ai.md +24 -24
- package/hosts/gemini.json +3 -3
- package/hosts/gemini.md +3 -3
- package/hosts/teams.json +6 -6
- package/hosts/teams.md +3 -3
- package/package.json +1 -1
- package/rules/hosts.md +29 -26
- package/rules/themes.md +3 -3
package/hosts/README.md
CHANGED
|
@@ -7,14 +7,14 @@ first; a profile never repeats it.
|
|
|
7
7
|
|
|
8
8
|
| Host | Kinds | Onboarded | Checked |
|
|
9
9
|
| --- | --- | --- | --- |
|
|
10
|
-
| [Microsoft Teams](teams.md) |
|
|
11
|
-
| [Gemini Enterprise](gemini.md) |
|
|
12
|
-
| [Claude](claude-ai.md), on the web and Desktop | Its own agent answers;
|
|
10
|
+
| [Microsoft Teams](teams.md) | Cards (in chat, in dialogs), embedded pages (tabs, dialogs) | Draft: no proof yet | 2026-11-07 |
|
|
11
|
+
| [Gemini Enterprise](gemini.md) | Cards (A2UI cards, the side panel), and messages | Draft: no proof yet | 2026-11-16 |
|
|
12
|
+
| [Claude](claude-ai.md), on the web and Desktop | Its own agent answers; widgets (MCP Apps: inline, the side panel, full screen), suggested | Draft: no proof yet; approvals open | 2026-11-16 |
|
|
13
13
|
|
|
14
|
-
Next in line: Microsoft 365 Copilot (
|
|
15
|
-
|
|
14
|
+
Next in line: Microsoft 365 Copilot (cards for Alis in Copilot chat,
|
|
15
|
+
widgets for the Copilot companion), and Google Meet (an embedded page: the
|
|
16
16
|
add-on's side panel and main stage). ChatGPT and Slack wait until something is
|
|
17
|
-
built for them. MCP Apps, which Claude's
|
|
17
|
+
built for them. MCP Apps, which Claude's widgets are, may serve the other hosts
|
|
18
18
|
too; nothing here rules that yet.
|
|
19
19
|
|
|
20
20
|
The Claude profile is `claude-ai`, Claude's own name for its web client: a file
|
package/hosts/claude-ai.json
CHANGED
|
@@ -4,10 +4,10 @@
|
|
|
4
4
|
"scope": "Claude on the web and Claude Desktop, with Alis as a remote connector. Not Claude Code (rules/terminal.md), not Claude Cowork yet; phones only in passing",
|
|
5
5
|
"status": "draft",
|
|
6
6
|
"missing": [
|
|
7
|
-
"proof for every
|
|
7
|
+
"proof for every widget, light and dark, on the web and Desktop",
|
|
8
8
|
"a probe: the tool call's text, the permission card's, the names of the variables Claude sends, whether Auto asks before a tool marked destructive",
|
|
9
9
|
"a ruling on what counts as the person's decision (approval.status)",
|
|
10
|
-
"the
|
|
10
|
+
"the widgets, suggested while the builders try MCP Apps out (widgets.status)"
|
|
11
11
|
],
|
|
12
12
|
"owner": "design system",
|
|
13
13
|
"checked": "2026-11-16",
|
|
@@ -50,13 +50,13 @@
|
|
|
50
50
|
},
|
|
51
51
|
{
|
|
52
52
|
"id": "inline",
|
|
53
|
-
"kind": "
|
|
54
|
-
"is": "An MCP App
|
|
53
|
+
"kind": "widget",
|
|
54
|
+
"is": "An MCP App widget in the conversation, under its tool call; its height fits its content up to a cap Claude sets"
|
|
55
55
|
},
|
|
56
56
|
{
|
|
57
57
|
"id": "expanded",
|
|
58
|
-
"kind": "
|
|
59
|
-
"is": "The same
|
|
58
|
+
"kind": "widget",
|
|
59
|
+
"is": "The same widget requested as fullscreen: Claude puts it in the side panel beside the conversation or over it, and reports both as fullscreen",
|
|
60
60
|
"sizes": {
|
|
61
61
|
"panel": "about half the chat's width, down to about 320",
|
|
62
62
|
"fullScreen": "the chat's area, Claude's composer still below"
|
|
@@ -101,23 +101,23 @@
|
|
|
101
101
|
"talks to specialists": "Ask a specialist, Message a specialist, Read a conversation with specialists"
|
|
102
102
|
}
|
|
103
103
|
},
|
|
104
|
-
"
|
|
104
|
+
"widgets": {
|
|
105
105
|
"status": "suggested",
|
|
106
|
-
"why": "the builders are still trying out how to set MCP Apps up; every result works as text alone, and no check holds anyone to a
|
|
106
|
+
"why": "the builders are still trying out how to set MCP Apps up; every result works as text alone, and no check holds anyone to a widget",
|
|
107
107
|
"inline": [
|
|
108
108
|
"the ask",
|
|
109
109
|
"a thing",
|
|
110
110
|
"the task card"
|
|
111
111
|
],
|
|
112
112
|
"expanded": "Claude's panel or full screen; where Claude can't expand, the AlisX console",
|
|
113
|
-
"look": "Claude's: a
|
|
113
|
+
"look": "Claude's: a widget on Claude's variables, font and sizes, expanded too; never an embedded page",
|
|
114
114
|
"ground": "transparent, no border around it",
|
|
115
|
-
"connect": "Claude's own sign-in, never a
|
|
115
|
+
"connect": "Claude's own sign-in, never a widget"
|
|
116
116
|
},
|
|
117
117
|
"style": {
|
|
118
118
|
"send": "ours, from Claude's variables only",
|
|
119
119
|
"narrow": "from 320",
|
|
120
|
-
"edges": "clear of every edge: the composer can overlap an inline
|
|
120
|
+
"edges": "clear of every edge: the composer can overlap an inline widget's foot"
|
|
121
121
|
},
|
|
122
122
|
"type": {
|
|
123
123
|
"text-object-title": "--font-text-md-size, --font-weight-semibold",
|
|
@@ -163,7 +163,7 @@
|
|
|
163
163
|
"filledAction": "drawn as Claude draws its filled button: inverse-surface with on-inverse-surface",
|
|
164
164
|
"states": "a failure in error; every other state in on-surface-variant",
|
|
165
165
|
"ourAccent": {
|
|
166
|
-
"
|
|
166
|
+
"widget": false
|
|
167
167
|
},
|
|
168
168
|
"askTinted": false,
|
|
169
169
|
"riskIn": "words",
|
|
@@ -173,7 +173,7 @@
|
|
|
173
173
|
]
|
|
174
174
|
},
|
|
175
175
|
"icons": {
|
|
176
|
-
"set": "none: Claude passes no icon set to a
|
|
176
|
+
"set": "none: Claude passes no icon set to a widget",
|
|
177
177
|
"checked": false,
|
|
178
178
|
"map": null,
|
|
179
179
|
"ours": {
|
|
@@ -195,7 +195,7 @@
|
|
|
195
195
|
"approval": {
|
|
196
196
|
"status": "open",
|
|
197
197
|
"decidedBy": "the team, before it is ruled",
|
|
198
|
-
"leaning": "only a press by the person counts: on our
|
|
198
|
+
"leaning": "only a press by the person counts: on our widget, or on Claude's own card where no widget draws",
|
|
199
199
|
"forTheDebate": [
|
|
200
200
|
"Claude's card can be skipped: Always allow, perhaps Auto",
|
|
201
201
|
"where neither can be pressed, the AlisX console decides"
|
|
@@ -213,15 +213,15 @@
|
|
|
213
213
|
},
|
|
214
214
|
"progress": {
|
|
215
215
|
"whileRunning": "Claude's tool call and its spinner",
|
|
216
|
-
"card": "with
|
|
216
|
+
"card": "with widgets, the task card with the rule's controls; its Stop is the one that works, since Claude's doesn't reach a running call"
|
|
217
217
|
},
|
|
218
218
|
"updates": {
|
|
219
219
|
"updateSentCard": true,
|
|
220
|
-
"older": "a
|
|
220
|
+
"older": "a widget a newer one replaces loses its actions and reads as its record",
|
|
221
221
|
"reopened": "may draw empty, so the text always says it all"
|
|
222
222
|
},
|
|
223
223
|
"telling": {
|
|
224
|
-
"never": "a
|
|
224
|
+
"never": "a widget never writes in the person's composer or sends a message as them"
|
|
225
225
|
},
|
|
226
226
|
"thumbs": "Claude's reactions rate Claude, not Alis: Alis gets no rating here",
|
|
227
227
|
"cards": {
|
|
@@ -244,7 +244,7 @@
|
|
|
244
244
|
"surface": "inline",
|
|
245
245
|
"also": "tool-call",
|
|
246
246
|
"proof": "none",
|
|
247
|
-
"updates": "in place, by the
|
|
247
|
+
"updates": "in place, by the widget; each turn's widget replaces the last"
|
|
248
248
|
},
|
|
249
249
|
"expanded": {
|
|
250
250
|
"surface": "expanded",
|
|
@@ -253,7 +253,7 @@
|
|
|
253
253
|
},
|
|
254
254
|
"baseline": {
|
|
255
255
|
"connectors": "two: Alis and Alis Build",
|
|
256
|
-
"results": "Markdown only, no
|
|
256
|
+
"results": "Markdown only, no widgets",
|
|
257
257
|
"titles": "say session and workspace"
|
|
258
258
|
},
|
|
259
259
|
"sources": [
|
|
@@ -269,7 +269,7 @@
|
|
|
269
269
|
{
|
|
270
270
|
"id": "apps-panel",
|
|
271
271
|
"tag": "limit",
|
|
272
|
-
"claim": "A
|
|
272
|
+
"claim": "A widget can open beside the conversation or over it, rolling out on the web and Desktop with the new Claude experience, not on phones yet",
|
|
273
273
|
"url": "https://support.claude.com/en/articles/13454812",
|
|
274
274
|
"page": "2026-11-10",
|
|
275
275
|
"checked": "2026-11-16"
|
|
@@ -277,7 +277,7 @@
|
|
|
277
277
|
{
|
|
278
278
|
"id": "display-modes",
|
|
279
279
|
"tag": "limit",
|
|
280
|
-
"claim": "Claude offers inline and fullscreen and reports fullscreen for the side panel too; the panel opens at about half the chat's width and narrows to about 320, only after a recent press in the
|
|
280
|
+
"claim": "Claude offers inline and fullscreen and reports fullscreen for the side panel too; the panel opens at about half the chat's width and narrows to about 320, only after a recent press in the widget; a chat in its own Desktop window is inline only",
|
|
281
281
|
"url": "https://claude.com/docs/connectors/building/mcp-apps/display-modes",
|
|
282
282
|
"page": null,
|
|
283
283
|
"checked": "2026-11-16"
|
|
@@ -285,7 +285,7 @@
|
|
|
285
285
|
{
|
|
286
286
|
"id": "design-guidelines",
|
|
287
287
|
"tag": "advice",
|
|
288
|
-
"claim": "An inline
|
|
288
|
+
"claim": "An inline widget has at most 2 actions and 4 to 5 data points, no menus, no nested scrolling, no input copying Claude's; host colours for structure, brand only for accents; three sizes, two weights; light and dark; fluid from 320; skeletons rather than spinners; an app for confirming a prepared action, live monitoring and review, the chat for free text",
|
|
289
289
|
"url": "https://claude.com/docs/connectors/building/mcp-apps/design-guidelines",
|
|
290
290
|
"page": null,
|
|
291
291
|
"checked": "2026-11-16"
|
|
@@ -293,7 +293,7 @@
|
|
|
293
293
|
{
|
|
294
294
|
"id": "theming",
|
|
295
295
|
"tag": "limit",
|
|
296
|
-
"claim": "Claude passes its theme, its colour, type, radius and shadow variables and Anthropic Sans to a
|
|
296
|
+
"claim": "Claude passes its theme, its colour, type, radius and shadow variables and Anthropic Sans to a widget; every frame is transparent",
|
|
297
297
|
"url": "https://claude.com/docs/connectors/building/mcp-apps/transparent-theming",
|
|
298
298
|
"page": null,
|
|
299
299
|
"checked": "2026-11-16"
|
|
@@ -301,7 +301,7 @@
|
|
|
301
301
|
{
|
|
302
302
|
"id": "external-links",
|
|
303
303
|
"tag": "limit",
|
|
304
|
-
"claim": "A link a
|
|
304
|
+
"claim": "A link a widget opens shows Claude's Open external link dialog, unless a directory listing allows that address",
|
|
305
305
|
"url": "https://claude.com/docs/connectors/building/mcp-apps/external-links",
|
|
306
306
|
"page": null,
|
|
307
307
|
"checked": "2026-11-16"
|
|
@@ -309,7 +309,7 @@
|
|
|
309
309
|
{
|
|
310
310
|
"id": "supersession",
|
|
311
311
|
"tag": "limit",
|
|
312
|
-
"claim": "A new
|
|
312
|
+
"claim": "A new widget mounts for every tool call and nothing unmounts the older ones; a key the server mints and a BroadcastChannel tell the older ones",
|
|
313
313
|
"url": "https://claude.com/docs/connectors/building/mcp-apps/instance-supersession",
|
|
314
314
|
"page": null,
|
|
315
315
|
"checked": "2026-11-16"
|
|
@@ -391,7 +391,7 @@
|
|
|
391
391
|
{
|
|
392
392
|
"id": "projects",
|
|
393
393
|
"tag": "observed",
|
|
394
|
-
"claim": "
|
|
394
|
+
"claim": "Widgets aren't drawn in Claude's Projects on Desktop (beta): only the text shows",
|
|
395
395
|
"url": "https://github.com/anthropics/claude-ai-mcp/issues/1180",
|
|
396
396
|
"page": "2026-10-23",
|
|
397
397
|
"checked": "2026-11-16"
|
|
@@ -399,7 +399,7 @@
|
|
|
399
399
|
{
|
|
400
400
|
"id": "reopened-empty",
|
|
401
401
|
"tag": "observed",
|
|
402
|
-
"claim": "After a chat reloads, a
|
|
402
|
+
"claim": "After a chat reloads, a widget may be drawn empty",
|
|
403
403
|
"url": "https://github.com/anthropics/claude-ai-mcp/issues/1158",
|
|
404
404
|
"page": "2026-10-19",
|
|
405
405
|
"checked": "2026-11-16"
|
package/hosts/claude-ai.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
**Status: draft.** Sources, jobs and differences are filled from Anthropic's
|
|
4
4
|
pages and the issues Anthropic tracks; there's no proof yet. Two parts aren't
|
|
5
|
-
settled: our
|
|
5
|
+
settled: our widgets are **suggested** while the builders try MCP Apps out, and
|
|
6
6
|
what counts as the person's decision on an approval is **open** (§ 3). Read
|
|
7
7
|
[rules/hosts.md](../rules/hosts.md) first: this page holds only where Claude
|
|
8
8
|
differs, and says what a person sees, never how the connector is built. The
|
|
@@ -16,7 +16,7 @@ differs.
|
|
|
16
16
|
**Claude answers, not Alis.** You talk to Claude; Claude reaches Alis through
|
|
17
17
|
the AlisX connector and says what came back in its own words, so
|
|
18
18
|
[rules/hosts.md](../rules/hosts.md) § When the host's own agent answers
|
|
19
|
-
applies throughout. Our own
|
|
19
|
+
applies throughout. Our own widgets are **MCP Apps**, in the
|
|
20
20
|
conversation or expanded beside or over it.
|
|
21
21
|
|
|
22
22
|
## 1. Sources and evidence
|
|
@@ -28,21 +28,21 @@ read.
|
|
|
28
28
|
|
|
29
29
|
| Tag | What Claude does |
|
|
30
30
|
| --- | --- |
|
|
31
|
-
| limit | Draws MCP App
|
|
32
|
-
| limit | Places a
|
|
33
|
-
| limit | Passes a
|
|
34
|
-
| limit | Shows its Open external link dialog for an address a
|
|
35
|
-
| limit | Keeps every
|
|
31
|
+
| limit | Draws MCP App widgets on the web, Desktop and phones, on every plan; where widgets don't draw, the text result stands alone |
|
|
32
|
+
| limit | Places a widget inline, or expanded: in a side panel beside the conversation (about half its width, at least about 320) or full screen with Claude's composer below; expanded widgets are rolling out on the web and Desktop, not on phones yet |
|
|
33
|
+
| limit | Passes a widget its theme (light or dark), its colour, type and radius variables, and Anthropic Sans; every frame between the widget and the chat is transparent |
|
|
34
|
+
| limit | Shows its Open external link dialog for an address a widget opens, unless the directory listing allows that address |
|
|
35
|
+
| limit | Keeps every widget it has drawn: a new one comes with every tool call |
|
|
36
36
|
| limit | Can ask before a tool runs (Decline, Allow once, Always allow), naming the connector and the tool's title, and sorts a connector's tools into its "Read-only" and "Write/delete" groups |
|
|
37
37
|
| limit | In Auto, the default on Pro, Max, Ultra and Team, acts without asking; Manual, the default on Enterprise, asks before each action |
|
|
38
38
|
| limit | Signs people in itself, with an inline Connect card when a tool first needs it |
|
|
39
|
-
| advice | An inline
|
|
39
|
+
| advice | An inline widget: two actions at most, four or five data points, no menus, no scrolling inside, no input copying Claude's |
|
|
40
40
|
| advice | Claude's colours for structure, a brand colour only for accents; three sizes, two weights; light and dark; fluid from 320 |
|
|
41
|
-
| advice | A
|
|
41
|
+
| advice | A widget for confirming a prepared action, following work and reviewing; free text and follow-ups go through the chat |
|
|
42
42
|
| observed | Never shows progress messages: the tool call keeps its spinner |
|
|
43
43
|
| observed | Desktop names a tool by its name, not its title |
|
|
44
44
|
| observed | Ignores a server's icons: a custom connector shows its domain's favicon |
|
|
45
|
-
| observed | Draws no
|
|
45
|
+
| observed | Draws no widgets in Claude's Projects on Desktop (beta), and may draw a widget empty after a chat reloads |
|
|
46
46
|
| observed | Claude's Stop doesn't cancel a tool call already running |
|
|
47
47
|
| unknown | Whether Auto still asks before a tool marked destructive: Anthropic's pages disagree (§ 3, approvals) |
|
|
48
48
|
| unknown | The tool call's exact text, the permission card's, the names of the variables Claude sends |
|
|
@@ -91,18 +91,18 @@ conversation is with specialists:
|
|
|
91
91
|
Each tool says whether it only reads, or can delete or change Production,
|
|
92
92
|
because Claude sorts and asks by that.
|
|
93
93
|
|
|
94
|
-
**
|
|
94
|
+
**Widgets, suggested.** Until the builders have tried MCP Apps out, our widgets
|
|
95
95
|
are the suggestion and words are the floor: every result works as text
|
|
96
|
-
alone. Where
|
|
96
|
+
alone. Where widgets are built, the ask, a thing and the task card are inline,
|
|
97
97
|
and the expanded view is Claude's panel or full screen. Connect is Claude's
|
|
98
|
-
own sign-in, never a
|
|
98
|
+
own sign-in, never a widget. Where Claude can't expand a widget, what would open
|
|
99
99
|
there opens in the AlisX console.
|
|
100
100
|
|
|
101
|
-
**Claude's look, expanded too.** A
|
|
102
|
-
|
|
103
|
-
|
|
101
|
+
**Claude's look, expanded too.** A widget takes Claude's variables,
|
|
102
|
+
font and sizes, our roles mapped onto them; expanded, it stays a widget, never
|
|
103
|
+
an embedded page in our register. Its ground is transparent, with no border
|
|
104
104
|
around it: it sits on Claude's conversation. It lays out from 320 and keeps
|
|
105
|
-
clear of every edge, since Claude's composer can overlap an inline
|
|
105
|
+
clear of every edge, since Claude's composer can overlap an inline widget's
|
|
106
106
|
foot.
|
|
107
107
|
|
|
108
108
|
**Colour, by role.** Our roles take these of Claude's variables, and nothing
|
|
@@ -139,7 +139,7 @@ in `--font-sans`; a command is `--font-mono`. The probe confirms the names:
|
|
|
139
139
|
when Claude sends none. Claude has no contrast theme; forced colours is still
|
|
140
140
|
honoured.
|
|
141
141
|
|
|
142
|
-
**No icons.** Claude passes no icon set, so a
|
|
142
|
+
**No icons.** Claude passes no icon set, so a widget draws none: a thing is
|
|
143
143
|
named by its detail line ("Interview · Alis Ideate"), and a state is its
|
|
144
144
|
words. A file that is an image shows its picture.
|
|
145
145
|
|
|
@@ -152,7 +152,7 @@ you give in Claude's composer, and Claude passes it on.
|
|
|
152
152
|
Auto Claude may answer an approval without showing anyone a card, so Alis
|
|
153
153
|
can't tell the person's yes from Claude's judgement. The leaning, which the
|
|
154
154
|
team debates before it's ruled: only a press by the person counts, on our
|
|
155
|
-
|
|
155
|
+
widget or on Claude's own card where no widget draws. For the debate: Claude's
|
|
156
156
|
card can be skipped (Always allow, perhaps Auto), and where neither can be
|
|
157
157
|
pressed the AlisX console decides. Until it's ruled, the tool that answers
|
|
158
158
|
says, first in its description, that only the person decides.
|
|
@@ -162,16 +162,16 @@ operation's logs and a link open in the browser; the AlisX console, the docs
|
|
|
162
162
|
and artifacts are allowed links on the listing, so Claude doesn't ask first.
|
|
163
163
|
|
|
164
164
|
**The work is Claude's tool call, then the task card.** Claude's tool call and
|
|
165
|
-
its spinner are the working line. With
|
|
165
|
+
its spinner are the working line. With widgets, the task card carries the
|
|
166
166
|
rule's controls, and its Stop is the one that works: Claude's doesn't reach a
|
|
167
167
|
call already running.
|
|
168
168
|
|
|
169
|
-
**An older
|
|
170
|
-
one that a newer
|
|
171
|
-
("Allowed: …"). A chat opened again may draw a
|
|
169
|
+
**An older widget becomes a record.** Claude keeps every widget it has drawn, so
|
|
170
|
+
one that a newer widget replaces loses its actions and reads as its record
|
|
171
|
+
("Allowed: …"). A chat opened again may draw a widget empty, so the text always
|
|
172
172
|
says it all.
|
|
173
173
|
|
|
174
|
-
**A
|
|
174
|
+
**A widget never types for you.** It never writes in your composer or sends a
|
|
175
175
|
message as you; what happens in it reaches Claude at your next message.
|
|
176
176
|
|
|
177
177
|
**No thumbs for Alis.** Claude's reactions rate Claude's reply, not Alis.
|
package/hosts/gemini.json
CHANGED
|
@@ -18,12 +18,12 @@
|
|
|
18
18
|
"surfaces": [
|
|
19
19
|
{
|
|
20
20
|
"id": "message",
|
|
21
|
-
"kind": "
|
|
21
|
+
"kind": "message",
|
|
22
22
|
"is": "A message in the chat with Alis: markdown text, streamed by appending"
|
|
23
23
|
},
|
|
24
24
|
{
|
|
25
25
|
"id": "card",
|
|
26
|
-
"kind": "
|
|
26
|
+
"kind": "card",
|
|
27
27
|
"is": "An A2UI surface in a task's artifact, drawn once the task stops"
|
|
28
28
|
},
|
|
29
29
|
{
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
},
|
|
34
34
|
{
|
|
35
35
|
"id": "side-panel",
|
|
36
|
-
"kind": "
|
|
36
|
+
"kind": "card",
|
|
37
37
|
"is": "Gemini's Canvas: a side panel opened from a press, holding text or an image"
|
|
38
38
|
},
|
|
39
39
|
{
|
package/hosts/gemini.md
CHANGED
|
@@ -7,9 +7,9 @@ first: this page holds only where Gemini Enterprise differs. The same facts as
|
|
|
7
7
|
data are in `gemini.json`.
|
|
8
8
|
|
|
9
9
|
Gemini Enterprise talks to Alis over A2A 0.3 and draws what Alis sends with
|
|
10
|
-
A2UI v0.9, from its own catalog of components. Everything Alis sends is
|
|
11
|
-
**
|
|
12
|
-
|
|
10
|
+
A2UI v0.9, from its own catalog of components. Everything Alis sends is a
|
|
11
|
+
**card** or a message: Gemini draws it with its own Material components. There
|
|
12
|
+
is no widget or embedded page yet.
|
|
13
13
|
|
|
14
14
|
## 1. Sources and evidence
|
|
15
15
|
|
package/hosts/teams.json
CHANGED
|
@@ -13,17 +13,17 @@
|
|
|
13
13
|
"surfaces": [
|
|
14
14
|
{
|
|
15
15
|
"id": "chat-card",
|
|
16
|
-
"kind": "
|
|
16
|
+
"kind": "card",
|
|
17
17
|
"is": "An Adaptive Card in personal chat with Alis"
|
|
18
18
|
},
|
|
19
19
|
{
|
|
20
20
|
"id": "dialog-card",
|
|
21
|
-
"kind": "
|
|
21
|
+
"kind": "card",
|
|
22
22
|
"is": "A dialog holding an Adaptive Card"
|
|
23
23
|
},
|
|
24
24
|
{
|
|
25
25
|
"id": "dialog-page",
|
|
26
|
-
"kind": "
|
|
26
|
+
"kind": "embedded-page",
|
|
27
27
|
"is": "A dialog holding our page",
|
|
28
28
|
"sizes": {
|
|
29
29
|
"small": "20% wide, 20% high",
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
},
|
|
34
34
|
{
|
|
35
35
|
"id": "tab",
|
|
36
|
-
"kind": "
|
|
36
|
+
"kind": "embedded-page",
|
|
37
37
|
"is": "A personal tab beside the chat (Tasks today)"
|
|
38
38
|
}
|
|
39
39
|
],
|
|
@@ -110,8 +110,8 @@
|
|
|
110
110
|
],
|
|
111
111
|
"askTinted": false,
|
|
112
112
|
"ourAccent": {
|
|
113
|
-
"
|
|
114
|
-
"
|
|
113
|
+
"card": false,
|
|
114
|
+
"embeddedPage": true
|
|
115
115
|
},
|
|
116
116
|
"statement": {
|
|
117
117
|
"container": "emphasis"
|
package/hosts/teams.md
CHANGED
|
@@ -35,7 +35,7 @@ One page says only mobile lacks sideways scroll, another that no card may have
|
|
|
35
35
|
it. This profile takes the stricter reading of each.
|
|
36
36
|
|
|
37
37
|
**Contrast, settled without Windows.** Teams' contrast theme forces nothing on
|
|
38
|
-
a Mac, so
|
|
38
|
+
a Mac, so an embedded page draws the contrast theme itself. Forced colours come
|
|
39
39
|
from the operating system, not from Teams; the contrast block covers them, and
|
|
40
40
|
it is checked with a browser's forced-colours emulation.
|
|
41
41
|
|
|
@@ -153,7 +153,7 @@ deploy, an agent session and diagnostics are drawn without one, and the detail
|
|
|
153
153
|
line names the kind ("Interview · Alis Ideate"). The map holds plain things and
|
|
154
154
|
states only ([rules/hosts.md](../rules/hosts.md) § Every host, rule 8).
|
|
155
155
|
|
|
156
|
-
**The theme map.**
|
|
156
|
+
**The theme map.** An embedded page (a tab, a dialog holding a page) reads Teams'
|
|
157
157
|
theme from its context and follows its change, then sets `data-theme` through
|
|
158
158
|
this map, never passing Teams' name through:
|
|
159
159
|
|
|
@@ -165,7 +165,7 @@ this map, never passing Teams' name through:
|
|
|
165
165
|
| `glass` | `light`, until a probe shows otherwise |
|
|
166
166
|
| anything else | `light` |
|
|
167
167
|
|
|
168
|
-
|
|
168
|
+
An embedded page is the product register ([register.md](../rules/register.md)). It
|
|
169
169
|
draws no title bar, navigation or sign-in of its own; when the person's
|
|
170
170
|
AlisX account isn't connected, it shows Alis needs you (Connect), not a sign-in
|
|
171
171
|
screen.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alis-build/design-system",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.70.0",
|
|
4
4
|
"description": "The AlisX design system for coding agents: tokens, product CSS, component markup, capability marks, words and rules.",
|
|
5
5
|
"keywords": ["alisx", "design-system", "design-tokens", "css"],
|
|
6
6
|
"homepage": "https://alisx.com",
|
package/rules/hosts.md
CHANGED
|
@@ -14,8 +14,8 @@ only where its host differs.
|
|
|
14
14
|
## The stance
|
|
15
15
|
|
|
16
16
|
**Native or ours, never a blend.** What sits inside the host's conversation (a
|
|
17
|
-
|
|
18
|
-
|
|
17
|
+
card, a widget) is native: the host's components, type, colour and spacing. An
|
|
18
|
+
embedded page is wholly ours: the product register, on the host's
|
|
19
19
|
theme. Nothing mixes the two. Inside the conversation, Alis shows through:
|
|
20
20
|
|
|
21
21
|
- **Alis named**, and the words from `words.json` ([words.md](words.md)).
|
|
@@ -51,15 +51,18 @@ Claude calls it a connector.
|
|
|
51
51
|
|
|
52
52
|
```
|
|
53
53
|
Who draws what we send?
|
|
54
|
-
├─ The host, from
|
|
55
|
-
│ (an Adaptive Card, Slack blocks)
|
|
56
|
-
├─
|
|
57
|
-
│
|
|
58
|
-
└─
|
|
59
|
-
(a Teams tab, a dialog with a page) →
|
|
54
|
+
├─ The host, from data we send
|
|
55
|
+
│ (an Adaptive Card, A2UI, Slack blocks) → CARD
|
|
56
|
+
├─ We do, small, inside the conversation
|
|
57
|
+
│ (an MCP App) → WIDGET
|
|
58
|
+
└─ We do, filling the host's frame
|
|
59
|
+
(a Teams tab, a dialog with a page) → EMBEDDED PAGE
|
|
60
60
|
```
|
|
61
61
|
|
|
62
|
-
|
|
62
|
+
These are the words the hosts' own pages use. Alis's reply in plain words is a
|
|
63
|
+
message, which every host draws itself; it isn't one of the three.
|
|
64
|
+
|
|
65
|
+
| | Card | Widget | Embedded page |
|
|
63
66
|
| --- | --- | --- | --- |
|
|
64
67
|
| **We send** | Structure and roles by meaning; the profile names the host's word for each | HTML and CSS in a sandboxed frame | A product page |
|
|
65
68
|
| **Colour** | The host's, picked by role. Never a hex value | The host's variables, our roles mapped onto them (the profile's table). Our accent on the filled action only where allowed | The product roles ([colour.md](colour.md)) |
|
|
@@ -68,7 +71,7 @@ Who draws what we send?
|
|
|
68
71
|
| **Components** | The host's elements | Plain HTML on the host's variables; no `.app-*` component | `.app-*`, the whole product register |
|
|
69
72
|
| **Style** | None of ours: the host's shapes, weights, sizes and spacing, set only through the host's own properties | Ours, from the host's variables only | Ours ([styling.md](styling.md)) |
|
|
70
73
|
|
|
71
|
-
**A
|
|
74
|
+
**A card sends no styling of its own**, even where the host would
|
|
72
75
|
take it. We choose which of the host's components and roles carry each part,
|
|
73
76
|
in what order, and which action is filled; the host decides how all of it
|
|
74
77
|
looks. Restyling a host's component toward ours (our radius, our button
|
|
@@ -79,7 +82,7 @@ colour never is. The one exception is layout the host leaves undone: two parts
|
|
|
79
82
|
that would touch get spacing on the host's grid, and a row or a long value
|
|
80
83
|
that would overflow at 320 wraps. Nothing else.
|
|
81
84
|
|
|
82
|
-
|
|
85
|
+
An embedded page doesn't draw what the host already draws: no second title bar, no
|
|
83
86
|
navigation pane, no sign-in screen when the host has signed the person in.
|
|
84
87
|
|
|
85
88
|
## What we send
|
|
@@ -93,7 +96,7 @@ for one host. Five things, each from a component the system already has.
|
|
|
93
96
|
| **Alis needs you** | [AppAsk](../components/AppAsk.md), any kind | A card. The question is its title; up to four fields say what will happen. Options are rows you press to answer, never buttons. Choose several is the host's own checklist, then the verb. Then Not now, AppAsk's one wider scope where the ask offers it, and the verb named by its outcome, in AppAsk's order. A press or an answer typed in the host's composer closes it: "yes, go ahead" allows it, except where the host's own agent answers, whose profile says what counts. It then reads back as AppAsk's record ("Allowed: Send 6 invites", "Not now: …") and loses its actions. Connect is AppAsk's Connect |
|
|
94
97
|
| **A thing** | [AppAttachment](../components/AppAttachment.md) | A card, or a row in one: its glyph, its name, its kind and a detail, up to four fields. The whole tile opens it, so rows of things need no button each |
|
|
95
98
|
| **Work** | AppTurn's steps, with the composer's Stop | The task card: the task's name, its state in words (§ From the agent's message), the latest three steps; once finished, AppTurn's line: "Worked for 42s · 6 steps" |
|
|
96
|
-
| **Too big for a card** | [AppFilePane](../components/AppFilePane.md), a page | The expanded view:
|
|
99
|
+
| **Too big for a card** | [AppFilePane](../components/AppFilePane.md), a page | The expanded view: an embedded page beside or over the conversation, where the host has one. *Open task* opens a task there; *Open interview* (the thing's name) opens a thing in the console |
|
|
97
100
|
|
|
98
101
|
**The task card carries the composer's controls**, because in a host the
|
|
99
102
|
composer is the host's. Two at most, by state: *Stop* while it works; *Try
|
|
@@ -231,25 +234,25 @@ places, each read by someone else:
|
|
|
231
234
|
|
|
232
235
|
| Where | Read by | What we send |
|
|
233
236
|
| --- | --- | --- |
|
|
234
|
-
| **The tool's result** (`result` in a profile's data) | The host's agent; the person only when they open the tool call | The text twin of everything a
|
|
237
|
+
| **The tool's result** (`result` in a profile's data) | The host's agent; the person only when they open the tool call | The text twin of everything a widget would show, written for the host's agent to pass on: the piece's words from § From the agent's message |
|
|
235
238
|
| **The host's own surfaces** (`host`) | The person, drawn by the host from what we declare | Each tool's name and title, the listing, the sign-in. These are labels ([words.md](words.md)): a verb first, Alis named where Alis acts ("Message Alis", "Stop Alis"), never the host's name or its maker's |
|
|
236
|
-
| **Our
|
|
239
|
+
| **Our widgets** (`widget`) | The person | The five things, as widgets, where the host draws them and its profile says so |
|
|
237
240
|
|
|
238
|
-
- **The five things and § From the agent's message hold as they are.** A
|
|
241
|
+
- **The five things and § From the agent's message hold as they are.** A widget
|
|
239
242
|
draws its piece as that section says, and the tool's result says the same in
|
|
240
|
-
words. A
|
|
243
|
+
words. A widget may not draw (a host without widgets, a chat reopened later, a
|
|
241
244
|
part of the host that draws none), so a result is never empty and never "see
|
|
242
245
|
above".
|
|
243
246
|
- **Alis is named, never "I".** Here "I" is the host's agent. In the result,
|
|
244
247
|
around Alis's own words, Alis is named as the one doing the work: "Alis is
|
|
245
248
|
deploying 1.0.5 to Development", "Alis asks to deploy 1.0.5 to Development".
|
|
246
|
-
A
|
|
249
|
+
A widget keeps the words of § From the agent's message ("Deploy 1.0.5 to
|
|
247
250
|
Development?", "Working"): it sits under the tool call that names Alis.
|
|
248
251
|
- **The host's agent never decides for the person.** It is told what Alis
|
|
249
252
|
asks and that the person decides; what counts as the person's decision in a
|
|
250
253
|
host is in its profile.
|
|
251
254
|
- **The host draws the work.** Its tool call, with its own spinner, is the
|
|
252
|
-
working line; a profile says whether a
|
|
255
|
+
working line; a profile says whether a widget of ours takes over.
|
|
253
256
|
|
|
254
257
|
## Every host
|
|
255
258
|
|
|
@@ -259,8 +262,8 @@ These hold everywhere, and a profile never repeats them:
|
|
|
259
262
|
An ask's options and rows that open what they name are answers and ways in,
|
|
260
263
|
not actions. AppAsk's one wider scope is the only third, and only on an ask
|
|
261
264
|
that approves: a grant on a command, Run without asking on a plan.
|
|
262
|
-
2. **Nothing scrolls inside a card.** No tabs, no menus, no
|
|
263
|
-
no search inside
|
|
265
|
+
2. **Nothing scrolls inside a card or a widget.** No tabs, no menus, no
|
|
266
|
+
drill-in, no paging, no search inside one. Long content goes to the expanded view.
|
|
264
267
|
3. **No message box of our own.** The host's composer is the only one: no note
|
|
265
268
|
field inside an ask, no "answer in your own words" box, no ask-about-this
|
|
266
269
|
field on a thing, because what you type in the composer is all of those.
|
|
@@ -268,10 +271,10 @@ These hold everywhere, and a profile never repeats them:
|
|
|
268
271
|
drawn ([loading.md](loading.md)). A failure says what to do next, in a
|
|
269
272
|
sentence, never a command to type ([errors.md](errors.md)).
|
|
270
273
|
5. **Narrow first.** Everything works at 320 wide.
|
|
271
|
-
6. **Every theme the host has.** A
|
|
272
|
-
|
|
274
|
+
6. **Every theme the host has.** A card takes the host's own themes, contrast
|
|
275
|
+
included. A widget or an embedded page maps the host's theme names through
|
|
273
276
|
its profile ([themes.md](themes.md)).
|
|
274
|
-
7. **A text twin.** Every
|
|
277
|
+
7. **A text twin.** Every card carries fallback text saying the same
|
|
275
278
|
thing in a sentence, for a host or a reader that can't draw it.
|
|
276
279
|
8. **An icon names a thing or a state, never decorates.** A thing's glyph, or a
|
|
277
280
|
state's icon in its state's role. Never one beside a title for its own sake,
|
|
@@ -303,7 +306,7 @@ sections, in this order:
|
|
|
303
306
|
date it was checked and a tag: **limit** (the host enforces it), **advice**
|
|
304
307
|
(the host recommends it), **observed** (we saw it happen) or **unknown**
|
|
305
308
|
(the pages disagree or say nothing, and only a probe can tell). When the
|
|
306
|
-
host's pages disagree, say so and test it. A probe (a card and a
|
|
309
|
+
host's pages disagree, say so and test it. A probe (a card and a widget that report
|
|
307
310
|
what the host sends and draws) outranks the docs.
|
|
308
311
|
2. **Jobs here.** Which jobs this host serves, which it hands to another surface,
|
|
309
312
|
and the limit from section 1 that forces each hand-off. A host serves jobs
|
|
@@ -330,11 +333,11 @@ the probe.
|
|
|
330
333
|
approval's wider scope) and the verb last?
|
|
331
334
|
2. Does it use the host's colours by role, with no hex value, no logo and no
|
|
332
335
|
decorative icon?
|
|
333
|
-
3. Does every state say itself in words, and does a
|
|
336
|
+
3. Does every state say itself in words, and does a card carry its
|
|
334
337
|
text twin?
|
|
335
338
|
4. Does it hold at 320 wide, in every theme the host has?
|
|
336
339
|
5. Is every word from `words.json`, with Alis named and no command to type, and
|
|
337
340
|
is the listing AlisX, published by Alis Exchange?
|
|
338
341
|
6. Did the profile's check pass on the host's own rendering of it?
|
|
339
342
|
7. Where the host's own agent answers, does the tool's result say everything
|
|
340
|
-
its
|
|
343
|
+
its widget shows, with Alis named and every tool titled as a label?
|
package/rules/themes.md
CHANGED
|
@@ -49,9 +49,9 @@ surface (§ Who picks the theme).
|
|
|
49
49
|
| The console and our own pages | The person: System, Light or Dark | Light and dark |
|
|
50
50
|
| Email | The mail app | Light and dark, written in ([email.md](email.md)) |
|
|
51
51
|
| The terminal | The terminal | Roles only ([terminal.md](terminal.md)) |
|
|
52
|
-
| A
|
|
53
|
-
| A
|
|
54
|
-
|
|
|
52
|
+
| A card in a host (Teams, Slack) | The host | Roles only: the host draws it ([hosts.md](hosts.md)) |
|
|
53
|
+
| A widget in a host (Copilot, ChatGPT, Claude) | The host, from what it sends | Light or dark, from its profile's map ([hosts.md](hosts.md)) |
|
|
54
|
+
| An embedded page in a host (a Teams tab) | The host | Whatever its profile's map says, contrast included |
|
|
55
55
|
|
|
56
56
|
Every surface drawn in HTML also honours the modes below, whoever picks its
|
|
57
57
|
theme.
|