@alis-build/design-system 0.68.0 → 0.68.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/hosts/gemini.json CHANGED
@@ -69,8 +69,13 @@
69
69
  },
70
70
  "style": {
71
71
  "send": "none",
72
- "exception": "spacing in multiples of 8 between two parts that would touch, where the component has no spacing property; no negative margin, no fixed size",
73
- "why": "Gemini Enterprise draws A2UI with its own styling, and A2UI leaves the look to the host; a component restyled toward ours is a blend"
72
+ "exception": "spacing in multiples of 8 between parts that would touch, and wrapping so a card holds at 320; no negative margin, fixed size or radius",
73
+ "why": "Gemini Enterprise draws A2UI with its own styling, and A2UI leaves the look to the host; a component restyled toward ours is a blend",
74
+ "oursToChoose": [
75
+ "a button's variant",
76
+ "a card's appearance",
77
+ "an image's size (48 for a file's picture)"
78
+ ]
74
79
  },
75
80
  "type": {
76
81
  "text-object-title": "subtitle1",
@@ -106,15 +111,15 @@
106
111
  "ownAnswer": "the card's last line reads \"Or tell Alis something else.\"; no box"
107
112
  },
108
113
  "things": {
109
- "withAddress": "the whole card opens it (href), no button",
114
+ "withAddress": "the whole card opens an https address (href), no button",
110
115
  "noAddress": "drawn with its kind, doesn't open",
111
- "list": "one card of rows, each ending in Open to its own address; a row can't take a link",
116
+ "list": "one card of rows, each ending in Open; every reference listed, since there's no expanded view",
112
117
  "file": "Open, a press, opens the side panel",
113
118
  "link": "stays in the answer as markdown, description after it; no card, since a card shows only once the turn stops"
114
119
  },
115
120
  "progress": {
116
121
  "whileRunning": "each step's words as the task's status",
117
- "card": "drawn once the turn stops, no title, no actions: the state line, the last three steps, a line counting the rest by kind",
122
+ "card": "drawn once as the turn stops, only when it showed steps; no title, no actions: the state line, the last three steps, a line counting the rest by kind",
118
123
  "stop": "Gemini's own cancel"
119
124
  },
120
125
  "updates": {
@@ -263,10 +268,12 @@
263
268
  "standard A2UI (Card, Column, Row, List, Text, Button, ChoicePicker, CheckBox)",
264
269
  "Material*, unstyled"
265
270
  ],
266
- "decidedBy": "the probe"
271
+ "decidedBy": "the probe",
272
+ "rule": "one family for every card; the standard set loses if it can't press or open a link"
267
273
  },
268
274
  "waiting": {
269
275
  "status": "Answer on the card, or tell Alis here.",
270
276
  "typed": "reaches Alis as words, read as any typed answer"
271
- }
277
+ },
278
+ "textTwin": "the agent's words beside each component; an approval's card says everything itself"
272
279
  }
package/hosts/gemini.md CHANGED
@@ -43,7 +43,7 @@ is in `gemini.json` § sources; the ones that shape a design are here.
43
43
  | Approve what Alis wants to do | Alis needs you (Approve), a card | |
44
44
  | Answer Alis's question | Alis needs you (Choose one, Choose several), a card | |
45
45
  | Connect an AlisX account | Gemini's own sign-in, before the first message | |
46
- | Open a file Alis made | A thing; Open shows it in the side panel (text, an image) or hands back the file | An HTML page or an artifact: to the AlisX console, since a frame shows nothing |
46
+ | Open a file Alis made | A thing; Open shows it in the side panel (text, an image) or hands back the file | Seeing an HTML page as a page: the AlisX console, since a frame shows nothing; here it shows as its text |
47
47
  | Open a project, an interview, a ticket | A thing that opens it in the AlisX console | |
48
48
  | Follow a define, build or deploy | A thing that opens its logs | |
49
49
  | Review a long document | The side panel, as text | Anything with a table, a form or a page: the AlisX console |
@@ -63,16 +63,20 @@ components as Gemini draws them: its shapes, weights, type, insets and
63
63
  spacing. We send no `style`, though the Material components would take one
64
64
  ([rules/hosts.md](../rules/hosts.md) § Which kind of host). The one exception
65
65
  is the rule's: two parts that would touch, where the component has no spacing
66
- property of its own (a row's gap), get spacing in multiples of 8, and
67
- nothing else: no negative margin, no fixed width or height. An image is sent at
68
- the size it's drawn.
66
+ property of its own (a row's gap), get spacing in multiples of 8; a row of
67
+ actions wraps, and a long value breaks, so a card holds at 320. Nothing else:
68
+ no negative margin, no fixed width or height, no radius. Gemini's own options
69
+ are ours to choose (a button's variant, a card's appearance, an image's size,
70
+ 48 for a file's picture).
69
71
 
70
72
  **Which components** isn't settled: the standard A2UI ones (Card, Column, Row,
71
73
  List, Text, Button, ChoicePicker, CheckBox), which Gemini styles itself and
72
74
  which take no `style`, or its `Material*` ones, unstyled. A probe decides: the
73
75
  same approval card built both ways, light and dark, beside one of Google's own
74
76
  agents in Gemini Enterprise. The family that reads as Gemini's own is the one
75
- every card uses, written here once it's chosen. The probe also answers, in
77
+ every card uses, written here once it's chosen. If the standard set can't
78
+ send a press or open a card's link, it loses: one family serves every card,
79
+ never a mix. The probe also answers, in
76
80
  the family it picks: whether a card's link opens; whether its choice and
77
81
  button send a press; whether a picked chip or a ticked box still shows after
78
82
  the turn ends and when the chat is opened again; and whether a command in
@@ -111,12 +115,19 @@ Alis keeps a question to five. Where an answer of your own is welcome, the
111
115
  card's last line reads "Or tell Alis something else.", and the chat is where
112
116
  you say it: no box on the card.
113
117
 
114
- **A thing opens from the whole card** where it has an address: a reference and
118
+ **The text twin is the agent's words.** agent.v3 writes the same thing in the
119
+ answer's words beside every component, and Gemini always draws A2UI, so a card
120
+ carries no fallback text of its own. An approval has no words beside it, so its
121
+ card says everything itself.
122
+
123
+ **A thing opens from the whole card** where it has an address (an `https`
124
+ one): a reference and
115
125
  an operation's logs are a card whose `href` is that address, with no button on
116
126
  it. A thing with no address (an interview with no page yet) is still drawn,
117
127
  with its kind, and doesn't open. A row can't take a link, so several references in a row are
118
128
  one card of rows, each ending in Open, which opens that row's address: one
119
- card for the list, not a card each. A file opens from a press, because the
129
+ card for the list, not a card each, listing every reference however many: there's
130
+ no expanded view to send the rest to. A file opens from a press, because the
120
131
  side panel does, so a file's card keeps Open.
121
132
 
122
133
  **A link stays in the words.** A card shows only once the turn stops, and a
@@ -127,11 +138,12 @@ markdown, with its description after it, and gets no card.
127
138
  **The task card is a record.** Gemini draws it once the turn has stopped, so
128
139
  it carries no actions: no Stop (Gemini's own cancel stops the turn), and no
129
140
  Try again or Open task (sending the words again, or the AlisX console, does
130
- that). It has no title: its state line leads. While the turn runs,
141
+ that). It has no title: its state line leads. It is drawn once, as the turn
142
+ stops, and only for a turn that showed steps; a turn that showed none gets no
143
+ card. While the turn runs,
131
144
  each step's words are sent as its status, and Gemini shows them under
132
145
  "Thinking…". The card lists the last three steps under one line that counts
133
- the rest by kind, and when the turn didn't finish, its last line says how it
134
- stood, in words. Drawn once, it is never redrawn.
146
+ the rest by kind.
135
147
 
136
148
  **After a press, the record follows.** An approval can't lose its actions, so
137
149
  what was decided comes first in the answer that follows the press: "Allowed:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alis-build/design-system",
3
- "version": "0.68.0",
3
+ "version": "0.68.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
@@ -73,9 +73,11 @@ take it. We choose which of the host's components and roles carry each part,
73
73
  in what order, and which action is filled; the host decides how all of it
74
74
  looks. Restyling a host's component toward ours (our radius, our button
75
75
  weight, our insets) is the blend the stance rules out, and it breaks when the
76
- host changes its look. The one exception: two parts that would touch, where the
77
- host has no spacing property of its own, get spacing on the host's grid, and
78
- nothing else.
76
+ host changes its look. Choosing among the host's own options (a button's
77
+ variant, a card's appearance, an image's size) is ours; a radius, a weight or a
78
+ colour never is. The one exception is layout the host leaves undone: two parts
79
+ that would touch get spacing on the host's grid, and a row or a long value
80
+ that would overflow at 320 wraps. Nothing else.
79
81
 
80
82
  A framed page doesn't draw what the host already draws: no second title bar, no
81
83
  navigation pane, no sign-in screen when the host has signed the person in.