@alis-build/design-system 0.69.1 → 0.70.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.
@@ -18,6 +18,30 @@ A file, recording or queued message waiting in the composer's tray, and the same
18
18
  - **Gone** (`is-gone`, deleted since): a `div`, not pressable and with no state layer; the meta line says "Deleted", in ink, and the glyph sits on an outline. Not red: nothing failed.
19
19
  - **A queued message** (`app-attachment--message`) takes the tray's full width: `schedule`, the text, "Sends when Alis finishes", edit and remove.
20
20
 
21
+ ## The kind and the size
22
+
23
+ The meta line's first half is the file's kind, in these words, and its second the size. Read the kind from the media type, then the extension.
24
+
25
+ | The file | Kind | Glyph |
26
+ | --- | --- | --- |
27
+ | An HTML page | HTML page | `web` |
28
+ | An SVG | SVG image | `shapes` |
29
+ | Markdown | Markdown | `article` |
30
+ | Code | Code | `code` |
31
+ | Plain text | Text | `text_snippet` |
32
+ | A CSV | CSV table | `table` |
33
+ | A PDF | PDF | `description` |
34
+ | An image | Image | the picture, or `image` |
35
+ | Audio | Audio | `graphic_eq` |
36
+ | Video | Video | `movie` |
37
+ | A spreadsheet | Spreadsheet | `table` |
38
+ | A presentation | Presentation | `slideshow` |
39
+ | A document | Its extension in capitals ("DOCX") | `description` |
40
+ | Anything else | Its extension in capitals ("ZIP"), or nothing | `draft` |
41
+
42
+ - **The size**: under 1 KB in bytes ("512 B"), then whole kilobytes ("6 KB"), then megabytes to one decimal ("2.4 MB"), at 1024 a step. None when it isn't known.
43
+ - **Joined by " · "**: "Markdown · 11 KB". A screen capture is an image, and a recording keeps `screen_record` only where the product says it is one.
44
+
21
45
  ## Upload lifecycle
22
46
 
23
47
  The product supplies allowed file kinds, size/count limits and concurrency. State
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) | Described (chat cards, dialogs), framed page (tabs, dialogs) | Draft: no proof yet | 2026-11-07 |
11
- | [Gemini Enterprise](gemini.md) | Described (messages, A2UI cards, the side panel) | Draft: no proof yet | 2026-11-16 |
12
- | [Claude](claude-ai.md), on the web and Desktop | Its own agent answers; framed views (MCP Apps: inline, the side panel, full screen), suggested | Draft: no proof yet; approvals open | 2026-11-16 |
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 (described cards for Alis in Copilot chat,
15
- framed views for the Copilot companion), and Google Meet (a framed page: the
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 views are, may serve the other hosts
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
@@ -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 view, light and dark, on the web and Desktop",
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 views, suggested while the builders try MCP Apps out (views.status)"
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": "framed-view",
54
- "is": "An MCP App view in the conversation, under its tool call; its height fits its content up to a cap Claude sets"
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": "framed-view",
59
- "is": "The same view requested as fullscreen: Claude puts it in the side panel beside the conversation or over it, and reports both as fullscreen",
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
- "views": {
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 view",
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 framed view on Claude's variables, font and sizes, expanded too; never a framed page",
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 view"
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 view's foot"
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
- "framedView": false
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 view",
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 view, or on Claude's own card where no view draws",
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 views, the task card with the rule's controls; its Stop is the one that works, since Claude's doesn't reach a running call"
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 view a newer one replaces loses its actions and reads as its record",
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 view never writes in the person's composer or sends a message as them"
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 view; each turn's view replaces the last"
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 views",
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 view can open beside the conversation or over it, rolling out on the web and Desktop with the new Claude experience, not on phones yet",
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 view; a chat in its own Desktop window is inline only",
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 view 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",
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 view; every frame is transparent",
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 view opens shows Claude's Open external link dialog, unless a directory listing allows that address",
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 view mounts for every tool call and nothing unmounts the older ones; a key the server mints and a BroadcastChannel tell the older ones",
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": "Views aren't drawn in Claude's Projects on Desktop (beta): only the text shows",
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 view may be drawn empty",
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"
@@ -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 views are **suggested** while the builders try MCP Apps out, and
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 views are **framed views** (MCP Apps), in the
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 views on the web, Desktop and phones, on every plan; where views don't draw, the text result stands alone |
32
- | limit | Places a view 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 views are rolling out on the web and Desktop, not on phones yet |
33
- | limit | Passes a view its theme (light or dark), its colour, type and radius variables, and Anthropic Sans; every frame between the view and the chat is transparent |
34
- | limit | Shows its Open external link dialog for an address a view opens, unless the directory listing allows that address |
35
- | limit | Keeps every view it has drawn: a new one comes with every tool call |
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 view: two actions at most, four or five data points, no menus, no scrolling inside, no input copying Claude's |
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 view for confirming a prepared action, following work and reviewing; free text and follow-ups go through the chat |
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 views in Claude's Projects on Desktop (beta), and may draw a view empty after a chat reloads |
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
- **Views, suggested.** Until the builders have tried MCP Apps out, our views
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 views are built, the ask, a thing and the task card are inline,
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 view. Where Claude can't expand a view, what would open
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 view is a framed view on Claude's
102
- variables, font and sizes, our roles mapped onto them; expanded, it stays one,
103
- never a framed page in our register. Its ground is transparent, with no border
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 view's
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 view draws none: a thing is
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
- view or on Claude's own card where no view draws. For the debate: Claude's
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 views, the task card carries the
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 view becomes a record.** Claude keeps every view it has drawn, so
170
- one that a newer view replaces loses its actions and reads as its record
171
- ("Allowed: …"). A chat opened again may draw a view empty, so the text always
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 view never types for you.** It never writes in your composer or sends 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": "described",
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": "described",
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": "described",
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
- **described**: Gemini draws it with its own Material components. There is no
12
- framed view or framed page yet.
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": "described",
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": "described",
21
+ "kind": "card",
22
22
  "is": "A dialog holding an Adaptive Card"
23
23
  },
24
24
  {
25
25
  "id": "dialog-page",
26
- "kind": "framed-page",
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": "framed-page",
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
- "described": false,
114
- "framedPage": true
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 a framed page draws the contrast theme itself. Forced colours come
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
 
@@ -151,9 +151,10 @@ map is added here first, never borrowed.
151
151
  a project, an interview, an artifact, a skill, a spec, a define, build or
152
152
  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
- states only ([rules/hosts.md](../rules/hosts.md) § Every host, rule 8).
154
+ states only ([rules/hosts.md](../rules/hosts.md) § Every host, rule 8). A card
155
+ whose rows mix our things and plain ones draws no icon on any row.
155
156
 
156
- **The theme map.** A framed page (a tab, a dialog holding a page) reads Teams'
157
+ **The theme map.** An embedded page (a tab, a dialog holding a page) reads Teams'
157
158
  theme from its context and follows its change, then sets `data-theme` through
158
159
  this map, never passing Teams' name through:
159
160
 
@@ -165,7 +166,7 @@ this map, never passing Teams' name through:
165
166
  | `glass` | `light`, until a probe shows otherwise |
166
167
  | anything else | `light` |
167
168
 
168
- A framed page is the product register ([register.md](../rules/register.md)). It
169
+ An embedded page is the product register ([register.md](../rules/register.md)). It
169
170
  draws no title bar, navigation or sign-in of its own; when the person's
170
171
  AlisX account isn't connected, it shows Alis needs you (Connect), not a sign-in
171
172
  screen.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alis-build/design-system",
3
- "version": "0.69.1",
3
+ "version": "0.70.1",
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
- described card, a framed view) is native: the host's components, type, colour
18
- and spacing. A framed page is wholly ours: the product register, on the host's
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 a description we send
55
- │ (an Adaptive Card, Slack blocks) → DESCRIBED
56
- ├─ Our own small view, in the host's frame,
57
- │ inside the conversation (an MCP app widget) → FRAMED VIEW
58
- └─ Our own page, filling the host's frame
59
- (a Teams tab, a dialog with a page) → FRAMED 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
- | | Described | Framed view | Framed page |
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 described card sends no styling of its own**, even where the host would
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
- A framed page doesn't draw what the host already draws: no second title bar, no
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: a framed 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 |
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
@@ -133,11 +136,11 @@ A piece the agent gains is added here before any host draws it.
133
136
  | **A step** (`Command`, by its `summary`) | A step of the work | Its summary ("Creating the interview"), never the command line. The latest three show; the rest are one line counted by kind (below). A step with no summary is counted, never listed. A hand-over to a specialist (`Delegation`) isn't a step of its own: the steps taken under it (`parent`) are |
134
137
  | **Thinking, notes, a command's output, a specialist's report, a tool's picture** | Nothing | Never drawn. Nor are the parts that echo what the person sent (their answers, references, approvals): the host shows their message. |
135
138
  | **An approval**, a command | Alis needs you: Approve | Title: the act as a question ("Deploy 1.0.5 to Development?") when the agent says the act; until it does, "Run this command?". Body: the risk sentence first (below), then the `summary` ("Deploying 1.0.5 to Development"), the `reason`, and the `command` in the host's code style. Actions: Not now · the wider scope (below) · the verb named by its outcome ("Deploy"), or Run it while the agent doesn't say one |
136
- | **An approval**, a plan | Alis needs you: Approve | Title "Run this plan?". Body: the plan's first six lines; a longer plan ends with a link to the whole of it in the expanded view. Not now · Run without asking · **Run it**. Run it answers with `MANUAL` (asks before every change), Run without asking with `AUTO`, and still stops for anything grave. What should change, you say in the host's composer |
139
+ | **An approval**, a plan | Alis needs you: Approve | Title "Run this plan?". Body: the plan's first six lines that aren't blank; a longer plan ends with a link to the whole of it in the expanded view. Not now · Run without asking · **Run it**. Run it answers with `MANUAL` (asks before every change), Run without asking with `AUTO`, and still stops for anything grave. What should change, you say in the host's composer |
137
140
  | **Options** | Alis needs you: Choose one, Choose several | `question` is the title. Rows: the `label`, and the `description` under it; on the one Alis suggests (`recommended`), that second line starts "Recommended · ". Five at most on a card; more opens in the expanded view. Several (`multiple`): the host's checklist, then Send. When your own answer is welcome (`allow_other`), the last line reads "Or tell Alis something else.", and the host's composer is where you say it. A pick goes back as `answers` (the question's id, each pick's `value` and `label`), several picks as one answer; what's typed goes as text |
138
141
  | **Connect** | Alis needs you: Connect | Title "Connect your AlisX account?", one line on what Alis will be able to do, then Not now · Connect your AlisX account. Where the host signs people in itself, the host's sign-in, and nothing of ours |
139
142
  | **A link** | A thing | `link`, its `title` (its address when there's none), and where it lives as the detail: "Interview" when it opens an interview, otherwise its host ("docs.alisx.com"). Opens in the browser |
140
- | **A file** | A thing | AppAttachment's glyph for its kind, or the picture (`thumbnail_uri`) when it's an image; its `description`, or else its `file_name`; its kind and size as the detail ("HTML page · 6 KB"). Opens in the expanded view. "Deleted" once it's gone: a file the agent found neither a write time nor a size for |
143
+ | **A file** | A thing | AppAttachment's glyph for its kind, or the picture (`thumbnail_uri`) when it's an image; its `description`, or else its `file_name`; its kind and size as the detail ("HTML page · 6 KB"). Opens in the expanded view. "Deleted" once it's gone: a file the agent serves (it has a `uri`) and found neither a write time nor a size for. One it names but doesn't serve is never taken for gone |
141
144
  | **A reference** | A thing | The glyph for its kind where the host draws Material Symbols, otherwise none (rule 8); its `title`; its kind and product as the detail, read from the last collection in its name (below). Opens its `uri`, on the thing itself; with no `uri`, the row opens nothing and isn't pressable. Several in a row are one card of rows, each row opening its own |
142
145
  | **An operation** (a define, build or deploy) | A thing | `schema`, `build` or `rocket_launch` where the host draws Material Symbols, otherwise none but a failure's `error` (rule 8). Its state is the label (below); the detail is the package, "Running" when the deployed service is up (`live`), and `change_summary`, joined by " · ", or the `error_message` when it failed. Opens its logs (`logs_uri`). Drawn as it stood: a later state is a new one |
143
146
  | **Facts** (`FactSet`) | Alis's reply, as a read-back ([AppFact](../components/AppFact.md)) | A title if it has one, then each label and its whole value, never shortened. The host's own fact list where it has one |
@@ -188,21 +191,22 @@ plan, asking before every change", "Allowed: Run this plan without asking",
188
191
  **A reference's kind**, from the last collection in its name (`…/products/…`,
189
192
  `…/interviews/…`): names nest (`organisations/acme/products/ledger` is a
190
193
  product), so read the segment before the last id, never the first. A
191
- collection not listed has no detail but its `description`:
194
+ collection not listed has no detail but its `description`, and `link` for its
195
+ glyph. The glyph is drawn only where the host draws Material Symbols (rule 8):
192
196
 
193
- | The last collection in its name | The detail |
194
- | --- | --- |
195
- | `ideas` | Project · Alis Ideate |
196
- | `interviews` | Interview · Alis Ideate |
197
- | `artifacts` | Artifact · Alis Ideate |
198
- | `collections` | Collection · Alis Ideate |
199
- | `contributionSessions` | Contribution · Alis Ideate |
200
- | `skills` | Skill · AlisX Skill Store |
201
- | `products` | Product · Alis Build |
202
- | `workstations` | Workstation · Alis Build |
203
- | `tickets` | Conversation · Support |
204
- | `sessions` | Chat |
205
- | `accounts`, `organisations` | Account |
197
+ | The last collection in its name | The detail | The glyph |
198
+ | --- | --- | --- |
199
+ | `ideas` | Project · Alis Ideate | `lightbulb` |
200
+ | `interviews` | Interview · Alis Ideate | `record_voice_over` |
201
+ | `artifacts` | Artifact · Alis Ideate | `description` |
202
+ | `collections` | Collection · Alis Ideate | `folder_open` |
203
+ | `contributionSessions` | Contribution · Alis Ideate | `forum` |
204
+ | `skills` | Skill · AlisX Skill Store | `extension` |
205
+ | `products` | Product · Alis Build | `inventory_2` |
206
+ | `workstations` | Workstation · Alis Build | `computer` |
207
+ | `tickets` | Conversation · Support | `support_agent` |
208
+ | `sessions` | Chat | `chat` |
209
+ | `accounts`, `organisations` | Account | `business` |
206
210
 
207
211
  **The task card's state**, in words, from the turn:
208
212
 
@@ -231,25 +235,25 @@ places, each read by someone else:
231
235
 
232
236
  | Where | Read by | What we send |
233
237
  | --- | --- | --- |
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 view would show, written for the host's agent to pass on: the piece's words from § From the agent's message |
238
+ | **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
239
  | **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 views** (`framed-view`) | The person | The five things, as framed views, where the host draws them and its profile says so |
240
+ | **Our widgets** (`widget`) | The person | The five things, as widgets, where the host draws them and its profile says so |
237
241
 
238
- - **The five things and § From the agent's message hold as they are.** A view
242
+ - **The five things and § From the agent's message hold as they are.** A widget
239
243
  draws its piece as that section says, and the tool's result says the same in
240
- words. A view may not draw (a host without views, a chat reopened later, a
244
+ words. A widget may not draw (a host without widgets, a chat reopened later, a
241
245
  part of the host that draws none), so a result is never empty and never "see
242
246
  above".
243
247
  - **Alis is named, never "I".** Here "I" is the host's agent. In the result,
244
248
  around Alis's own words, Alis is named as the one doing the work: "Alis is
245
249
  deploying 1.0.5 to Development", "Alis asks to deploy 1.0.5 to Development".
246
- A view keeps the words of § From the agent's message ("Deploy 1.0.5 to
250
+ A widget keeps the words of § From the agent's message ("Deploy 1.0.5 to
247
251
  Development?", "Working"): it sits under the tool call that names Alis.
248
252
  - **The host's agent never decides for the person.** It is told what Alis
249
253
  asks and that the person decides; what counts as the person's decision in a
250
254
  host is in its profile.
251
255
  - **The host draws the work.** Its tool call, with its own spinner, is the
252
- working line; a profile says whether a view of ours takes over.
256
+ working line; a profile says whether a widget of ours takes over.
253
257
 
254
258
  ## Every host
255
259
 
@@ -259,8 +263,8 @@ These hold everywhere, and a profile never repeats them:
259
263
  An ask's options and rows that open what they name are answers and ways in,
260
264
  not actions. AppAsk's one wider scope is the only third, and only on an ask
261
265
  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 drill-in, no paging,
263
- no search inside a card. Long content goes to the expanded view.
266
+ 2. **Nothing scrolls inside a card or a widget.** No tabs, no menus, no
267
+ drill-in, no paging, no search inside one. Long content goes to the expanded view.
264
268
  3. **No message box of our own.** The host's composer is the only one: no note
265
269
  field inside an ask, no "answer in your own words" box, no ask-about-this
266
270
  field on a thing, because what you type in the composer is all of those.
@@ -268,23 +272,28 @@ These hold everywhere, and a profile never repeats them:
268
272
  drawn ([loading.md](loading.md)). A failure says what to do next, in a
269
273
  sentence, never a command to type ([errors.md](errors.md)).
270
274
  5. **Narrow first.** Everything works at 320 wide.
271
- 6. **Every theme the host has.** A described card takes the host's own themes,
272
- contrast included. A framed view or page maps the host's theme names through
275
+ 6. **Every theme the host has.** A card takes the host's own themes, contrast
276
+ included. A widget or an embedded page maps the host's theme names through
273
277
  its profile ([themes.md](themes.md)).
274
- 7. **A text twin.** Every described card carries fallback text saying the same
278
+ 7. **A text twin.** Every card carries fallback text saying the same
275
279
  thing in a sentence, for a host or a reader that can't draw it.
276
280
  8. **An icon names a thing or a state, never decorates.** A thing's glyph, or a
277
281
  state's icon in its state's role. Never one beside a title for its own sake,
278
282
  never a colour for a kind of thing, never an emoji or a hand-drawn icon: the
279
283
  host's icon set, through the profile's name map ([icons.md](icons.md)).
280
- **A thing of ours** (a project, an interview, an artifact, a skill, a spec,
281
- a define, build or deploy, an agent session, diagnostics) takes our own glyph
282
- only where the host draws Material Symbols; anywhere else it has **no icon**,
283
- and its detail line names its kind ("Interview · Alis Ideate"). Another
284
+ **A thing's identity is its words**: its kind line ("Interview · Alis
285
+ Ideate") reads the same in every host and in the console; an icon is a help
286
+ to scanning, given only when it is exactly the console's. So **a thing of
287
+ ours** (a project, an interview, an artifact, a skill, a spec, a define,
288
+ build or deploy, an agent session, diagnostics) takes the Material Symbol
289
+ the system gives it (the kind table below, and AppAttachment) only where the
290
+ host draws Material Symbols; anywhere else it has **no icon**. Another
284
291
  set's icon never stands for something we make. A capability mark never goes
285
- on a card: it names a tool, and a host can't draw it in the host's theme.
286
- A plain thing (a document, a sheet, a video, a link) and a state keep the
287
- host's icon.
292
+ on a card: it names a tool, not a thing, and a host can't draw our drawing
293
+ in its theme. A plain thing (a document, a sheet, a video, a link) and a
294
+ state keep the host's icon. **Within one card, every row has an icon or
295
+ none does**: a document beside a project in a host that draws no glyph for
296
+ the project loses its own too, so the rows line up.
288
297
  9. **The words of the product**, and the names in § Names. Alis is named,
289
298
  never "your agent", "the agent" or "the assistant". The work is a *task*; *session* is only a coding-agent
290
299
  session; never *workspace*. Never tell someone to type a command ("Send
@@ -303,7 +312,7 @@ sections, in this order:
303
312
  date it was checked and a tag: **limit** (the host enforces it), **advice**
304
313
  (the host recommends it), **observed** (we saw it happen) or **unknown**
305
314
  (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 view that report
315
+ host's pages disagree, say so and test it. A probe (a card and a widget that report
307
316
  what the host sends and draws) outranks the docs.
308
317
  2. **Jobs here.** Which jobs this host serves, which it hands to another surface,
309
318
  and the limit from section 1 that forces each hand-off. A host serves jobs
@@ -330,11 +339,11 @@ the probe.
330
339
  approval's wider scope) and the verb last?
331
340
  2. Does it use the host's colours by role, with no hex value, no logo and no
332
341
  decorative icon?
333
- 3. Does every state say itself in words, and does a described card carry its
342
+ 3. Does every state say itself in words, and does a card carry its
334
343
  text twin?
335
344
  4. Does it hold at 320 wide, in every theme the host has?
336
345
  5. Is every word from `words.json`, with Alis named and no command to type, and
337
346
  is the listing AlisX, published by Alis Exchange?
338
347
  6. Did the profile's check pass on the host's own rendering of it?
339
348
  7. Where the host's own agent answers, does the tool's result say everything
340
- its view shows, with Alis named and every tool titled as a label?
349
+ 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 described card in a host (Teams, Slack) | The host | Roles only: the host draws it ([hosts.md](hosts.md)) |
53
- | A framed view 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
- | A framed page in a host (a Teams tab) | The host | Whatever its profile's map says, contrast included |
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.