@alis-build/design-system 0.65.0 → 0.68.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/alisx.css +8 -0
- package/classes.json +3 -0
- package/components/AppHandOff.md +6 -6
- package/components/AppIconButton.md +1 -1
- package/components/AppKeyBar.md +49 -0
- package/components/AppKeys.md +10 -10
- package/components/AppShortcutSheet.md +3 -3
- package/components/AppTooltip.md +1 -1
- package/components/README.md +1 -0
- package/hosts/README.md +3 -1
- package/hosts/gemini.json +272 -0
- package/hosts/gemini.md +170 -0
- package/hosts/teams.json +3 -3
- package/hosts/teams.md +26 -7
- package/package.json +2 -1
- package/rules/hosts.md +98 -21
- package/rules/shortcuts.md +50 -19
- package/words.json +7 -0
package/alisx.css
CHANGED
|
@@ -1462,6 +1462,14 @@ a.app-token,button.app-token{border:0;font:inherit;font-weight:600;cursor:pointe
|
|
|
1462
1462
|
[data-single-keys="off"] .app-keys--single{display:none}
|
|
1463
1463
|
[data-single-keys="off"] .app-shortcuts .app-keys--single{display:inline-flex;opacity:.38}
|
|
1464
1464
|
.app-shortcuts[data-single-keys="off"] .app-keys--single{display:inline-flex;opacity:.38}
|
|
1465
|
+
/* ── Key bar · the keys of a screen worked through one item at a time, along its bottom edge ── */
|
|
1466
|
+
.app-keybar{position:sticky;bottom:0;z-index:1;display:flex;flex:none;flex-wrap:wrap;align-items:center;gap:var(--space-4) var(--space-16);box-sizing:border-box;width:100%;padding:var(--space-8) var(--space-24);background:var(--background);color:var(--on-surface-variant);font-family:var(--font-sans);font-size:12px;line-height:16px;font-weight:400}
|
|
1467
|
+
.app-keybar__item{display:inline-flex;align-items:center;gap:var(--space-4);white-space:nowrap}
|
|
1468
|
+
.app-keybar__end{margin-left:auto;padding:0;border:0;border-radius:var(--radius-xs);background:none;color:inherit;font:inherit;cursor:pointer}
|
|
1469
|
+
.app-keybar__end:hover{color:var(--on-surface)}
|
|
1470
|
+
.app-keybar__end:focus-visible{outline:2px solid var(--primary);outline-offset:2px}
|
|
1471
|
+
/* No keyboard, no bar */
|
|
1472
|
+
@media (pointer:coarse),(max-width:599px){.app-keybar{display:none}}
|
|
1465
1473
|
/* ── Tooltip · names a control and carries its keys: inverse, below, after 200ms ── */
|
|
1466
1474
|
.app-tooltip{position:fixed;z-index:40;display:inline-flex;align-items:center;gap:var(--space-8);max-width:240px;min-height:28px;box-sizing:border-box;margin:0;padding:var(--space-4) var(--space-8);border-radius:var(--radius-sm);background:var(--inverse-surface);color:var(--on-inverse-surface);font-family:var(--font-sans);font-size:12px;line-height:16px;font-weight:500;pointer-events:none}
|
|
1467
1475
|
.app-tooltip[hidden]{display:none}
|
package/classes.json
CHANGED
package/components/AppHandOff.md
CHANGED
|
@@ -18,11 +18,11 @@ The person's tool is **your agent** ([words.md](../rules/words.md)), named where
|
|
|
18
18
|
|---|---|---|
|
|
19
19
|
| Plan an interview | Plan | The questions, pasted back; or the draft, saved by the agent |
|
|
20
20
|
| Make an artifact | Draft | The text, pasted back; or the artifact, saved by the agent |
|
|
21
|
-
| Set up a machine | Set up | The agent runs the
|
|
22
|
-
| Fix a failed setup | Fix | The agent runs the
|
|
21
|
+
| Set up a machine | Set up | The agent runs the AlisX CLI; the machine appears |
|
|
22
|
+
| Fix a failed setup | Fix | The agent runs the AlisX CLI; the setup runs again |
|
|
23
23
|
| Carry on an artifact | Continue | None: it ends in the chat or your agent |
|
|
24
24
|
|
|
25
|
-
**What comes back** is said once per group in the list (its heading) and in the steps' first line. A list groups its agents only when they bring the result back in two ways: "Saves the {result} to this project" (Alis, and agents that run commands) and "You paste the {result} back here" (chats). When every agent brings it back the same way (Set up, Fix, Continue), the list has one group and no heading. **What each agent needs** is its row's second line and the steps' first line: "Needs a Claude account", "Needs the
|
|
25
|
+
**What comes back** is said once per group in the list (its heading) and in the steps' first line. A list groups its agents only when they bring the result back in two ways: "Saves the {result} to this project" (Alis, and agents that run commands) and "You paste the {result} back here" (chats). When every agent brings it back the same way (Set up, Fix, Continue), the list has one group and no heading. **What each agent needs** is its row's second line and the steps' first line: "Needs a Claude account", "Needs the AlisX CLI".
|
|
26
26
|
|
|
27
27
|
## Four placements
|
|
28
28
|
|
|
@@ -47,7 +47,7 @@ Then the head (the label, then **Use another agent**), one line saying what the
|
|
|
47
47
|
- **Done on the machine** (Set up, Fix): "Check it here", with a line ("This page updates when Claude Code has finished.") and no button.
|
|
48
48
|
- **None** (Continue): no third step.
|
|
49
49
|
|
|
50
|
-
Under the steps of an agent that runs commands, when the way back needs the
|
|
50
|
+
Under the steps of an agent that runs commands, when the way back needs the AlisX CLI, sits a closed [AppDisclosure](AppDisclosure.md), **Set up the AlisX CLI yourself**, for anyone who would rather not let the agent install it. Continue never shows it.
|
|
51
51
|
|
|
52
52
|
## The doer
|
|
53
53
|
|
|
@@ -67,7 +67,7 @@ Under the steps of an agent that runs commands, when the way back needs the Alis
|
|
|
67
67
|
**Two parts, the same at any length.** It never switches look at a character count.
|
|
68
68
|
|
|
69
69
|
- **The ask**: one sentence in the person's voice, imperative, sentence case, ending in a full stop. "Help me plan an interview about why onboarding takes three weeks." Built from what the person has given so far; with nothing yet, from the project: "Help me plan an interview for Client onboarding." Always shown, on the machine ground behind the `signal` caret like a command to run ([AppCodeBlock](AppCodeBlock.md)). It is words, not code, so it wraps, still in mono.
|
|
70
|
-
- **The context**, in Markdown: everything the agent needs and the person doesn't need to read. The goal (what the person typed, else the project's goal), then each document by its name with its text, then the way back. For an agent that runs commands, the way back says where to save with the
|
|
70
|
+
- **The context**, in Markdown: everything the agent needs and the person doesn't need to read. The goal (what the person typed, else the project's goal), then each document by its name with its text, then the way back. For an agent that runs commands, the way back says where to save with the AlisX CLI, and how to install the CLI and sign in when it is missing. For a chat, it says the form to give the result in, so the paste lands cleanly. A carry-on has no way back. This package sets no length limit; the product does.
|
|
71
71
|
- **One line says what the context carries**, under the ask: "With {what it carries, named and counted} and how to bring the {result} back." So: "With the goal, 3 documents and how to bring the questions back." For an agent that saves to the project: "…and how to save the {result} here." A carry-on drops the last part: "With the brief's full text." **Show full prompt** (beside Copy prompt) opens the context above that row, in a box that scrolls past 12 lines.
|
|
72
72
|
- **Copy prompt** copies the ask, a blank line, then the context. Never the caret.
|
|
73
73
|
- **Alis gets the same prompt**: the ask and the context are sent as the first message of a normal Alis chat.
|
|
@@ -91,7 +91,7 @@ Under the steps of an agent that runs commands, when the way back needs the Alis
|
|
|
91
91
|
<span class="app-icon app-icon--mark app-row__icon" aria-hidden="true"><!-- assets/Harness/claude.svg --></span>
|
|
92
92
|
<span class="app-row__text">
|
|
93
93
|
<button type="button" class="app-row__hit text-object-title">Plan it with Claude Code</button>
|
|
94
|
-
<span class="text-supporting">Needs the
|
|
94
|
+
<span class="text-supporting">Needs the AlisX CLI</span>
|
|
95
95
|
</span>
|
|
96
96
|
<span class="app-row__trailing"><span class="app-icon" aria-hidden="true">chevron_right</span></span>
|
|
97
97
|
</div>
|
|
@@ -23,7 +23,7 @@ A 20px glyph in a 40px box that performs one action.
|
|
|
23
23
|
<button type="button" class="app-icon-btn app-state app-target" aria-label="Resolve conversation" aria-keyshortcuts="R">
|
|
24
24
|
<span class="app-icon" aria-hidden="true">check_circle</span>
|
|
25
25
|
</button>
|
|
26
|
-
<div class="app-tooltip" id="tt-3" role="tooltip" hidden>Resolve conversation <kbd class="app-keys app-keys--single" aria-hidden="true"><kbd class="app-key">
|
|
26
|
+
<div class="app-tooltip" id="tt-3" role="tooltip" hidden>Resolve conversation <kbd class="app-keys app-keys--single" aria-hidden="true"><kbd class="app-key">r</kbd></kbd></div>
|
|
27
27
|
|
|
28
28
|
<!-- Small (detail pane close, title bar) -->
|
|
29
29
|
<button type="button" class="app-icon-btn app-state app-target app-icon-btn--small" aria-label="Close details" title="Close details">
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
# AppKeyBar
|
|
2
|
+
|
|
3
|
+
The keys of a screen that is worked through one item at a time, in one quiet row along its bottom edge ([shortcuts.md](../rules/shortcuts.md) § The key bar).
|
|
4
|
+
|
|
5
|
+
## Use / don't use
|
|
6
|
+
|
|
7
|
+
- **Use** on a screen where one item is in focus and the same few acts are taken on item after item: a queue cleared one at a time.
|
|
8
|
+
- **Don't use** under a composer, a picker, a form or a list beside its detail. Those keys live in tooltips and the [AppShortcutSheet](AppShortcutSheet.md).
|
|
9
|
+
- **Only what works now.** Each item is a key whose act is there to take on the item in focus; the rest are left out, not dimmed.
|
|
10
|
+
- **In a field, the field's keys**: Enter sends, ⇧ Enter breaks the line, Esc leaves.
|
|
11
|
+
- **One per screen**, and never a second list of keys beside it: the last item opens the sheet.
|
|
12
|
+
|
|
13
|
+
## Anatomy
|
|
14
|
+
|
|
15
|
+
| Part | What it is |
|
|
16
|
+
|---|---|
|
|
17
|
+
| **Bar** (`.app-keybar`) | A row pinned to the bottom of the screen's scroller, on the ground (`background`) so content scrolls under it. 8 above and below, 24 either side; items 16 apart and wrapping. No border, no shadow |
|
|
18
|
+
| **Item** (`.app-keybar__item`) | An [AppKeys](AppKeys.md) set, or two that pair, then the act in a word or two: meta, `on-surface-variant`, 4 from the caps |
|
|
19
|
+
| **End** (`.app-keybar__end`) | The last item, pushed to the trailing edge: `?` All keys. A button that opens the sheet |
|
|
20
|
+
|
|
21
|
+
## Markup
|
|
22
|
+
|
|
23
|
+
```html
|
|
24
|
+
<div class="app-keybar">
|
|
25
|
+
<span class="app-keybar__item" aria-hidden="true">
|
|
26
|
+
<kbd class="app-keys app-keys--single"><kbd class="app-key">h</kbd></kbd>
|
|
27
|
+
<kbd class="app-keys app-keys--single"><kbd class="app-key">l</kbd></kbd>
|
|
28
|
+
Move
|
|
29
|
+
</span>
|
|
30
|
+
<span class="app-keybar__item" aria-hidden="true"><kbd class="app-keys"><kbd class="app-key">Enter</kbd></kbd> Reply</span>
|
|
31
|
+
<span class="app-keybar__item" aria-hidden="true"><kbd class="app-keys app-keys--single"><kbd class="app-key">x</kbd></kbd> Remove</span>
|
|
32
|
+
<span class="app-keybar__item" aria-hidden="true"><kbd class="app-keys app-keys--single"><kbd class="app-key">s</kbd></kbd> Later</span>
|
|
33
|
+
<button type="button" class="app-keybar__item app-keybar__end" aria-label="Keyboard shortcuts">
|
|
34
|
+
<kbd class="app-keys app-keys--single" aria-hidden="true"><kbd class="app-key">?</kbd></kbd> All keys
|
|
35
|
+
</button>
|
|
36
|
+
</div>
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
## Behaviour you must supply
|
|
40
|
+
|
|
41
|
+
- **The items**, from the product's one list of shortcuts, kept to those whose act is there to take now. Change them as the item in focus changes, and to the field's keys while focus is in a field.
|
|
42
|
+
- **Decoration, not content.** Every item but the end is `aria-hidden`; the controls the keys press carry `aria-keyshortcuts`, and the sheet says each key in words.
|
|
43
|
+
- **The end opens the sheet** and closes it again.
|
|
44
|
+
- **Focus goes back** to what the keys act on after every act, so the next key works.
|
|
45
|
+
- **No keyboard, no bar**: the CSS hides it on a coarse pointer and below 600. Leave out an item whose keys are all single keys while single-key shortcuts are off.
|
|
46
|
+
|
|
47
|
+
## Classes
|
|
48
|
+
|
|
49
|
+
`.app-keybar`, `__item`, `__end`; with `.app-keys`.
|
package/components/AppKeys.md
CHANGED
|
@@ -4,12 +4,12 @@ A keyboard shortcut, one cap per key, written for the platform ([shortcuts.md](.
|
|
|
4
4
|
|
|
5
5
|
## Use / don't use
|
|
6
6
|
|
|
7
|
-
- **Where it goes**: after a label in an [AppTooltip](AppTooltip.md), in an [AppMenu](AppMenu.md) row's hint, at the end of the screen's search field, in the [AppShortcutSheet](AppShortcutSheet.md), and inline in prose that tells someone what to press.
|
|
7
|
+
- **Where it goes**: after a label in an [AppTooltip](AppTooltip.md), in an [AppMenu](AppMenu.md) row's hint, at the end of the screen's search field, in an [AppKeyBar](AppKeyBar.md), in the [AppShortcutSheet](AppShortcutSheet.md), and inline in prose that tells someone what to press.
|
|
8
8
|
- **Not a label.** Never inside a button, never in brackets, never on a line of its own under a composer or a picker.
|
|
9
9
|
- **One spelling.** ⌘ ⇧ ⌥ ⌃ on a Mac, Ctrl Shift Alt elsewhere; Enter, Esc, Tab, Space and Delete as words everywhere; arrows as arrows. Never a plus sign.
|
|
10
|
-
- **A
|
|
10
|
+
- **A letter cap is lowercase**, as typed: `j`, ⌘ k. **A capital takes Shift**: ⇧ u.
|
|
11
11
|
- **A symbol is its own cap**: `+`, `?`, `/` as the character they type. A lone `+` cap is the plus key, never a separator.
|
|
12
|
-
- **A sequence** puts `then` between its keys:
|
|
12
|
+
- **A sequence** puts `then` between its keys: g then h.
|
|
13
13
|
|
|
14
14
|
## Anatomy
|
|
15
15
|
|
|
@@ -24,21 +24,21 @@ A keyboard shortcut, one cap per key, written for the platform ([shortcuts.md](.
|
|
|
24
24
|
|
|
25
25
|
```html
|
|
26
26
|
<!-- On a control (tooltip, menu row, search field): decoration; the control carries aria-keyshortcuts -->
|
|
27
|
-
<kbd class="app-keys" aria-hidden="true"><kbd class="app-key">⌘</kbd><kbd class="app-key">
|
|
27
|
+
<kbd class="app-keys" aria-hidden="true"><kbd class="app-key">⌘</kbd><kbd class="app-key">k</kbd></kbd>
|
|
28
28
|
|
|
29
29
|
<!-- The same shortcut on Windows and Linux -->
|
|
30
|
-
<kbd class="app-keys" aria-hidden="true"><kbd class="app-key">Ctrl</kbd><kbd class="app-key">
|
|
30
|
+
<kbd class="app-keys" aria-hidden="true"><kbd class="app-key">Ctrl</kbd><kbd class="app-key">k</kbd></kbd>
|
|
31
31
|
|
|
32
32
|
<!-- A single key (a letter, a digit, +, ?, /): --single, so it can leave when single-key shortcuts are off -->
|
|
33
|
-
<kbd class="app-keys app-keys--single" aria-hidden="true"><kbd class="app-key">
|
|
33
|
+
<kbd class="app-keys app-keys--single" aria-hidden="true"><kbd class="app-key">r</kbd></kbd>
|
|
34
34
|
|
|
35
35
|
<!-- A capital, and a sequence -->
|
|
36
|
-
<kbd class="app-keys" aria-hidden="true"><kbd class="app-key">⇧</kbd><kbd class="app-key">
|
|
37
|
-
<kbd class="app-keys" aria-hidden="true"><kbd class="app-key">
|
|
36
|
+
<kbd class="app-keys" aria-hidden="true"><kbd class="app-key">⇧</kbd><kbd class="app-key">u</kbd></kbd>
|
|
37
|
+
<kbd class="app-keys" aria-hidden="true"><kbd class="app-key">g</kbd><span class="app-keys__then">then</span><kbd class="app-key">h</kbd></kbd>
|
|
38
38
|
|
|
39
39
|
<!-- Content (the sheet, prose): the caps hidden, the keys said -->
|
|
40
40
|
<p class="text-body">Open PowerShell and press
|
|
41
|
-
<kbd class="app-keys" aria-hidden="true"><kbd class="app-key">Ctrl</kbd><kbd class="app-key">
|
|
41
|
+
<kbd class="app-keys" aria-hidden="true"><kbd class="app-key">Ctrl</kbd><kbd class="app-key">v</kbd></kbd><span class="app-keys__said">Control V</span>
|
|
42
42
|
to paste the command.</p>
|
|
43
43
|
```
|
|
44
44
|
|
|
@@ -46,7 +46,7 @@ A keyboard shortcut, one cap per key, written for the platform ([shortcuts.md](.
|
|
|
46
46
|
|
|
47
47
|
- **The platform**, detected once for the product (a Mac, or anything else), and every set written for it. A guide for another app writes that app's platform instead.
|
|
48
48
|
- **`app-keys--single`** on a set that is one character key with no modifier (a letter, a digit, `+`, `?`, `/`), so the product can hide it while single-key shortcuts are off (`data-single-keys="off"` on the root).
|
|
49
|
-
- **`aria-keyshortcuts`** on the control a set describes, in the platform's terms (`Meta+K` on a Mac, `Control+K` elsewhere; `R`; `Shift+U`).
|
|
49
|
+
- **`aria-keyshortcuts`** on the control a set describes, in the platform's terms (`Meta+K` on a Mac, `Control+K` elsewhere; `R`; `Shift+U`). The attribute keeps its capitals; only the cap is lowercase.
|
|
50
50
|
|
|
51
51
|
## Classes
|
|
52
52
|
|
|
@@ -41,11 +41,11 @@ Every key the screen answers to, in the detail pane's place ([shortcuts.md](../r
|
|
|
41
41
|
<dl>
|
|
42
42
|
<div class="app-shortcuts__row">
|
|
43
43
|
<dt class="text-body">Resolve</dt>
|
|
44
|
-
<dd><kbd class="app-keys app-keys--single" aria-hidden="true"><kbd class="app-key">
|
|
44
|
+
<dd><kbd class="app-keys app-keys--single" aria-hidden="true"><kbd class="app-key">r</kbd></kbd><span class="app-keys__said">R</span></dd>
|
|
45
45
|
</div>
|
|
46
46
|
<div class="app-shortcuts__row">
|
|
47
47
|
<dt class="text-body">Hand over</dt>
|
|
48
|
-
<dd><kbd class="app-keys" aria-hidden="true"><kbd class="app-key">⇧</kbd><kbd class="app-key">
|
|
48
|
+
<dd><kbd class="app-keys" aria-hidden="true"><kbd class="app-key">⇧</kbd><kbd class="app-key">u</kbd></kbd><span class="app-keys__said">Shift U</span></dd>
|
|
49
49
|
</div>
|
|
50
50
|
</dl>
|
|
51
51
|
</section>
|
|
@@ -63,7 +63,7 @@ Every key the screen answers to, in the detail pane's place ([shortcuts.md](../r
|
|
|
63
63
|
<label for="ks-single" class="app-switch-row">
|
|
64
64
|
<span class="app-switch-row__text">
|
|
65
65
|
<span class="text-body">Single-key shortcuts</span>
|
|
66
|
-
<span id="ks-single-s" class="text-supporting">Letters like
|
|
66
|
+
<span id="ks-single-s" class="text-supporting">Letters like a and r act on their own. Turn off if you use speech input.</span>
|
|
67
67
|
</span>
|
|
68
68
|
<input id="ks-single" type="checkbox" role="switch" class="app-switch" aria-describedby="ks-single-s" checked>
|
|
69
69
|
</label>
|
package/components/AppTooltip.md
CHANGED
|
@@ -28,7 +28,7 @@ Names a control that shows no words, and carries its keys ([shortcuts.md](../rul
|
|
|
28
28
|
</button>
|
|
29
29
|
<div class="app-tooltip" id="tt-3" role="tooltip" hidden>
|
|
30
30
|
Resolve conversation
|
|
31
|
-
<kbd class="app-keys app-keys--single" aria-hidden="true"><kbd class="app-key">
|
|
31
|
+
<kbd class="app-keys app-keys--single" aria-hidden="true"><kbd class="app-key">r</kbd></kbd>
|
|
32
32
|
</div>
|
|
33
33
|
|
|
34
34
|
<!-- No shortcut: the label alone -->
|
package/components/README.md
CHANGED
|
@@ -29,6 +29,7 @@ Shared conventions: `app-state` gives anything pressable its hover, focus and pr
|
|
|
29
29
|
| AppCheckbox | Several of a list, or something you agree to; the radio for one of a few | [AppCheckbox.md](AppCheckbox.md) |
|
|
30
30
|
| AppTooltip | Names a control that shows no words, and carries its keys | [AppTooltip.md](AppTooltip.md) |
|
|
31
31
|
| AppKeys | A keyboard shortcut, one cap per key, written for the platform | [AppKeys.md](AppKeys.md) |
|
|
32
|
+
| AppKeyBar | The keys of a screen worked through one item at a time, along its bottom edge | [AppKeyBar.md](AppKeyBar.md) |
|
|
32
33
|
| AppFilePane | A file Alis made, opened beside the conversation: Preview / Code, each kind's body, its states | [AppFilePane.md](AppFilePane.md) |
|
|
33
34
|
| AppShortcutSheet | Every key the screen answers to, opened by `?`, in the detail pane's place | [AppShortcutSheet.md](AppShortcutSheet.md) |
|
|
34
35
|
| AppAvatar | A person (round) or a thing (a square tile), at 24, 36 or 80 | [AppAvatar.md](AppAvatar.md) |
|
package/hosts/README.md
CHANGED
|
@@ -8,9 +8,11 @@ first; a profile never repeats it.
|
|
|
8
8
|
| Host | Kinds | Onboarded | Checked |
|
|
9
9
|
| --- | --- | --- | --- |
|
|
10
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 |
|
|
11
12
|
|
|
12
13
|
Next in line: Microsoft 365 Copilot (described cards for Alis in Copilot chat,
|
|
13
|
-
framed views for the Copilot companion)
|
|
14
|
+
framed views for the Copilot companion), and Google Meet (a framed page: the
|
|
15
|
+
add-on's side panel and main stage). ChatGPT, Claude and Slack wait until
|
|
14
16
|
something is built for them.
|
|
15
17
|
|
|
16
18
|
A new host starts from the five sections in
|
|
@@ -0,0 +1,272 @@
|
|
|
1
|
+
{
|
|
2
|
+
"host": "gemini",
|
|
3
|
+
"name": "Gemini Enterprise",
|
|
4
|
+
"status": "draft",
|
|
5
|
+
"missing": [
|
|
6
|
+
"proof for every card, light and dark",
|
|
7
|
+
"a probe, in each family: the standard A2UI set or the Material* set, unstyled, beside one of Google's own agents; whether a card's link opens, its choice and button send a press, a picked chip or ticked box still shows later, and backticks draw as code",
|
|
8
|
+
"a probe: MaterialExpansionPanel, the contrast look, Material Symbols or Material Icons"
|
|
9
|
+
],
|
|
10
|
+
"owner": "design system",
|
|
11
|
+
"checked": "2026-11-16",
|
|
12
|
+
"due": "2027-02-16",
|
|
13
|
+
"recheckWhen": "Google changes the A2UI catalog Gemini Enterprise names, or Gemini Enterprise's release notes touch agents, A2A or A2UI",
|
|
14
|
+
"protocol": {
|
|
15
|
+
"a2a": "0.3",
|
|
16
|
+
"a2ui": "v0.9",
|
|
17
|
+
"catalog": "https://www.gstatic.com/vertexaisearch/a2ui/v0_9/gemini_enterprise_composite_catalog.json"
|
|
18
|
+
},
|
|
19
|
+
"surfaces": [
|
|
20
|
+
{
|
|
21
|
+
"id": "message",
|
|
22
|
+
"kind": "described",
|
|
23
|
+
"is": "A message in the chat with Alis: markdown text, streamed by appending"
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"id": "card",
|
|
27
|
+
"kind": "described",
|
|
28
|
+
"is": "An A2UI surface in a task's artifact, drawn once the task stops"
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
"id": "status",
|
|
32
|
+
"kind": "host",
|
|
33
|
+
"is": "The task's working status, shown under Gemini's \"Thinking…\" and folded into \"Show thinking\""
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"id": "side-panel",
|
|
37
|
+
"kind": "described",
|
|
38
|
+
"is": "Gemini's Canvas: a side panel opened from a press, holding text or an image"
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
"id": "waiting-form",
|
|
42
|
+
"kind": "host",
|
|
43
|
+
"is": "Gemini's own free-text form while a turn waits for an answer (input-required)"
|
|
44
|
+
}
|
|
45
|
+
],
|
|
46
|
+
"listing": {
|
|
47
|
+
"name": "AlisX",
|
|
48
|
+
"developmentName": "AlisX (Dev)",
|
|
49
|
+
"provider": "Alis Exchange",
|
|
50
|
+
"nameSetAt": "registration (displayName); the agent card's name is AlisX too",
|
|
51
|
+
"signIn": "named by its authorization id, which people read: alisx"
|
|
52
|
+
},
|
|
53
|
+
"limits": {
|
|
54
|
+
"drawnWhen": "the task stops",
|
|
55
|
+
"updateDrawnCard": false,
|
|
56
|
+
"reuseSurfaceId": false,
|
|
57
|
+
"answerUpdates": "append",
|
|
58
|
+
"styleOn": "Material* components only",
|
|
59
|
+
"colourValue": false,
|
|
60
|
+
"fontFamily": false,
|
|
61
|
+
"pressFrom": [
|
|
62
|
+
"MaterialButton",
|
|
63
|
+
"MaterialChips"
|
|
64
|
+
],
|
|
65
|
+
"cardLink": "MaterialCard href",
|
|
66
|
+
"sidePanelOpensFrom": "a press",
|
|
67
|
+
"materialCardInset": 16,
|
|
68
|
+
"frames": "IFrameSrcdoc shows nothing; IFrameUrl untested"
|
|
69
|
+
},
|
|
70
|
+
"style": {
|
|
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"
|
|
74
|
+
},
|
|
75
|
+
"type": {
|
|
76
|
+
"text-object-title": "subtitle1",
|
|
77
|
+
"text-body": "body1",
|
|
78
|
+
"text-supporting": "body2",
|
|
79
|
+
"text-label": "subtitle2"
|
|
80
|
+
},
|
|
81
|
+
"themes": [],
|
|
82
|
+
"theme": {
|
|
83
|
+
"source": "Gemini's own; a card takes no colour, so it follows",
|
|
84
|
+
"contrast": "unknown"
|
|
85
|
+
},
|
|
86
|
+
"colour": {
|
|
87
|
+
"send": false,
|
|
88
|
+
"askTinted": false,
|
|
89
|
+
"riskIn": "words"
|
|
90
|
+
},
|
|
91
|
+
"icons": {
|
|
92
|
+
"set": "Material, by name (MaterialIcon)",
|
|
93
|
+
"checked": false,
|
|
94
|
+
"map": "identity: the system's own names",
|
|
95
|
+
"ours": {
|
|
96
|
+
"drawn": "our glyph",
|
|
97
|
+
"why": "Gemini draws Material, the set our things are drawn in"
|
|
98
|
+
},
|
|
99
|
+
"capabilityMarks": false
|
|
100
|
+
},
|
|
101
|
+
"options": {
|
|
102
|
+
"plain": "MaterialChips, one per option; \"(recommended)\" after the suggested one's label",
|
|
103
|
+
"described": "a row per option: label over its line, Choose at its end; the suggested one says Recommended and its Choose is filled",
|
|
104
|
+
"several": "MaterialCheckbox per option, its line under it, then Send",
|
|
105
|
+
"max": "every option drawn; Alis keeps a question to five",
|
|
106
|
+
"ownAnswer": "the card's last line reads \"Or tell Alis something else.\"; no box"
|
|
107
|
+
},
|
|
108
|
+
"things": {
|
|
109
|
+
"withAddress": "the whole card opens it (href), no button",
|
|
110
|
+
"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",
|
|
112
|
+
"file": "Open, a press, opens the side panel",
|
|
113
|
+
"link": "stays in the answer as markdown, description after it; no card, since a card shows only once the turn stops"
|
|
114
|
+
},
|
|
115
|
+
"progress": {
|
|
116
|
+
"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",
|
|
118
|
+
"stop": "Gemini's own cancel"
|
|
119
|
+
},
|
|
120
|
+
"updates": {
|
|
121
|
+
"updateSentCard": false,
|
|
122
|
+
"afterPress": "an approval's record first in the answer that follows; a second press gets the first decision's record; a choice's record is the pick the card keeps showing, else its labels first in the answer"
|
|
123
|
+
},
|
|
124
|
+
"plan": {
|
|
125
|
+
"body": "the whole plan on the card",
|
|
126
|
+
"why": "the side panel opens only from a press, so there is no link to the rest"
|
|
127
|
+
},
|
|
128
|
+
"cards": {
|
|
129
|
+
"reply": {
|
|
130
|
+
"surface": "message",
|
|
131
|
+
"proof": "none"
|
|
132
|
+
},
|
|
133
|
+
"ask": {
|
|
134
|
+
"surface": "card",
|
|
135
|
+
"proof": "none"
|
|
136
|
+
},
|
|
137
|
+
"thing": {
|
|
138
|
+
"surface": "card",
|
|
139
|
+
"proof": "none"
|
|
140
|
+
},
|
|
141
|
+
"task": {
|
|
142
|
+
"surface": "card",
|
|
143
|
+
"also": "status",
|
|
144
|
+
"proof": "none",
|
|
145
|
+
"updates": "drawn once"
|
|
146
|
+
},
|
|
147
|
+
"expanded": {
|
|
148
|
+
"surface": "side-panel",
|
|
149
|
+
"proof": "none"
|
|
150
|
+
}
|
|
151
|
+
},
|
|
152
|
+
"sources": [
|
|
153
|
+
{
|
|
154
|
+
"id": "catalog",
|
|
155
|
+
"tag": "limit",
|
|
156
|
+
"claim": "Only MaterialButton (action) and MaterialChips send a press; MaterialCard takes href; the catalog also lists MaterialExpansionPanel",
|
|
157
|
+
"url": "https://www.gstatic.com/vertexaisearch/a2ui/v0_9/gemini_enterprise_composite_catalog.json",
|
|
158
|
+
"page": null,
|
|
159
|
+
"checked": "2026-11-16"
|
|
160
|
+
},
|
|
161
|
+
{
|
|
162
|
+
"id": "built-in-styling",
|
|
163
|
+
"tag": "limit",
|
|
164
|
+
"claim": "Gemini Enterprise supports the standard A2UI components and draws them with its own built-in styling",
|
|
165
|
+
"url": "https://cloud.google.com/blog/topics/developers-practitioners/guide-to-gemini-enterprise-and-a2ui-integration",
|
|
166
|
+
"page": null,
|
|
167
|
+
"checked": "2026-11-16"
|
|
168
|
+
},
|
|
169
|
+
{
|
|
170
|
+
"id": "drawn-when-stopped",
|
|
171
|
+
"tag": "limit",
|
|
172
|
+
"claim": "A card is drawn only once the task stops, whether it was sent as a last chunk or not",
|
|
173
|
+
"url": null,
|
|
174
|
+
"page": null,
|
|
175
|
+
"checked": "2026-11-09",
|
|
176
|
+
"note": "agent.google.v1 4009c55319 reverts three tries to draw it sooner"
|
|
177
|
+
},
|
|
178
|
+
{
|
|
179
|
+
"id": "no-redraw",
|
|
180
|
+
"tag": "limit",
|
|
181
|
+
"claim": "A drawn card can't change, and a surface id can be used once",
|
|
182
|
+
"url": null,
|
|
183
|
+
"page": null,
|
|
184
|
+
"checked": "2026-11-09",
|
|
185
|
+
"note": "agent.google.v1 2cd04a84ce: a second Open failed with surface already exists"
|
|
186
|
+
},
|
|
187
|
+
{
|
|
188
|
+
"id": "append-only",
|
|
189
|
+
"tag": "limit",
|
|
190
|
+
"claim": "An answer's update appends; a replacement is ignored",
|
|
191
|
+
"url": null,
|
|
192
|
+
"page": null,
|
|
193
|
+
"checked": "2026-11-02",
|
|
194
|
+
"note": "agent.google.v1 README"
|
|
195
|
+
},
|
|
196
|
+
{
|
|
197
|
+
"id": "style-material",
|
|
198
|
+
"tag": "limit",
|
|
199
|
+
"claim": "Only Material* components take a style; no colour or font family gets through",
|
|
200
|
+
"url": null,
|
|
201
|
+
"page": null,
|
|
202
|
+
"checked": "2026-11-10",
|
|
203
|
+
"note": "agent.google.v1 README"
|
|
204
|
+
},
|
|
205
|
+
{
|
|
206
|
+
"id": "thinking",
|
|
207
|
+
"tag": "observed",
|
|
208
|
+
"claim": "A working status shows under \"Thinking…\" while the turn runs and folds into \"Show thinking\" when it ends",
|
|
209
|
+
"url": null,
|
|
210
|
+
"page": null,
|
|
211
|
+
"checked": "2026-11-09",
|
|
212
|
+
"note": "agent.google.v1 README, seen on Development"
|
|
213
|
+
},
|
|
214
|
+
{
|
|
215
|
+
"id": "waiting-form",
|
|
216
|
+
"tag": "limit",
|
|
217
|
+
"claim": "While a turn is input-required, Gemini draws its own form, \"Review: Mock Function Call For Required User Input\", with the status as its prompt; what is typed reaches Alis as a plain message",
|
|
218
|
+
"url": null,
|
|
219
|
+
"page": null,
|
|
220
|
+
"checked": "2026-11-04",
|
|
221
|
+
"note": "agent.google.v1 320efbd3ec"
|
|
222
|
+
},
|
|
223
|
+
{
|
|
224
|
+
"id": "seen-working",
|
|
225
|
+
"tag": "observed",
|
|
226
|
+
"claim": "Chips, ticked boxes and Send, a typed answer, a risk in words, fact sets, file pictures, a reference's Open and an operation's Logs draw and work",
|
|
227
|
+
"url": null,
|
|
228
|
+
"page": null,
|
|
229
|
+
"checked": "2026-11-10",
|
|
230
|
+
"note": "agent.google.v1 3d38d909af, d5421eb201"
|
|
231
|
+
},
|
|
232
|
+
{
|
|
233
|
+
"id": "frames",
|
|
234
|
+
"tag": "observed",
|
|
235
|
+
"claim": "IFrameSrcdoc shows nothing for our pages, inside a column or not",
|
|
236
|
+
"url": null,
|
|
237
|
+
"page": null,
|
|
238
|
+
"checked": "2026-11-05",
|
|
239
|
+
"note": "agent.google.v1 README"
|
|
240
|
+
},
|
|
241
|
+
{
|
|
242
|
+
"id": "sign-in",
|
|
243
|
+
"tag": "limit",
|
|
244
|
+
"claim": "Gemini asks people to sign in with \"The agent requires additional authorization for: <id>\", naming the authorization by its id; an id serves one agent, forever",
|
|
245
|
+
"url": null,
|
|
246
|
+
"page": null,
|
|
247
|
+
"checked": "2026-11-12",
|
|
248
|
+
"note": "agent.google.v1 b0927ff6a2, seen on Production"
|
|
249
|
+
},
|
|
250
|
+
{
|
|
251
|
+
"id": "first-chat-empty",
|
|
252
|
+
"tag": "observed",
|
|
253
|
+
"claim": "No opening message follows a first sign-in: that chat starts empty",
|
|
254
|
+
"url": null,
|
|
255
|
+
"page": null,
|
|
256
|
+
"checked": "2026-11-12",
|
|
257
|
+
"note": "agent.google.v1 b0927ff6a2"
|
|
258
|
+
}
|
|
259
|
+
],
|
|
260
|
+
"components": {
|
|
261
|
+
"family": "unsettled",
|
|
262
|
+
"candidates": [
|
|
263
|
+
"standard A2UI (Card, Column, Row, List, Text, Button, ChoicePicker, CheckBox)",
|
|
264
|
+
"Material*, unstyled"
|
|
265
|
+
],
|
|
266
|
+
"decidedBy": "the probe"
|
|
267
|
+
},
|
|
268
|
+
"waiting": {
|
|
269
|
+
"status": "Answer on the card, or tell Alis here.",
|
|
270
|
+
"typed": "reaches Alis as words, read as any typed answer"
|
|
271
|
+
}
|
|
272
|
+
}
|
package/hosts/gemini.md
ADDED
|
@@ -0,0 +1,170 @@
|
|
|
1
|
+
# Gemini Enterprise
|
|
2
|
+
|
|
3
|
+
**Status: draft.** Sources, jobs and differences are filled from Google's A2UI
|
|
4
|
+
catalog and from what the adapter has seen Gemini Enterprise do; there's no
|
|
5
|
+
proof yet in the form section 4 asks for. Read [rules/hosts.md](../rules/hosts.md)
|
|
6
|
+
first: this page holds only where Gemini Enterprise differs. The same facts as
|
|
7
|
+
data are in `gemini.json`.
|
|
8
|
+
|
|
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.
|
|
13
|
+
|
|
14
|
+
## 1. Sources and evidence
|
|
15
|
+
|
|
16
|
+
Checked 16 November 2026. Every claim, with its link or the change that saw it,
|
|
17
|
+
is in `gemini.json` § sources; the ones that shape a design are here.
|
|
18
|
+
|
|
19
|
+
| Tag | What Gemini Enterprise does |
|
|
20
|
+
| --- | --- |
|
|
21
|
+
| limit | Draws a card only once the task stops: a card sent while the turn runs, and redrawn as it goes, shows at the end |
|
|
22
|
+
| limit | Can't change a card it has drawn, and refuses a surface id it has already seen |
|
|
23
|
+
| limit | Appends to an answer and ignores a replacement |
|
|
24
|
+
| limit | Draws every standard A2UI component with its own styling; only its `Material*` components take a `style`, and no colour value or font family gets through |
|
|
25
|
+
| limit | Only a button and a chip send a press back to Alis; a card takes a link (`href`) and nothing else |
|
|
26
|
+
| limit | Opens its side panel (`Canvas`) only from a press, not from a link |
|
|
27
|
+
| limit | Draws its own free-text form beside a card while a turn waits for an answer (`input-required`); what is typed there reaches Alis as a message, not as an answer to the card |
|
|
28
|
+
| limit | Asks people to sign in in its own words, naming the authorization by its id |
|
|
29
|
+
| observed | A step's words, sent as the turn's status, show under "Thinking…" while it runs and fold into "Show thinking" after, 9 Nov |
|
|
30
|
+
| observed | Chips, ticked boxes with Send, a typed answer, a risk in words, fact sets, file pictures, a reference's Open and an operation's Logs all draw and work, 3 to 10 Nov |
|
|
31
|
+
| observed | `IFrameSrcdoc` shows nothing for our pages, 5 Nov |
|
|
32
|
+
| observed | No opening message after someone first signs in: that chat starts empty |
|
|
33
|
+
| unknown | Which components read as Gemini's own, unstyled: the standard A2UI set or the `Material*` set (§ 3, the probe) |
|
|
34
|
+
| unknown | Whether `MaterialExpansionPanel`, which the catalog lists, draws: nothing that folds has been tried |
|
|
35
|
+
| unknown | How a card looks in a contrast theme, and whether Gemini has one |
|
|
36
|
+
| unknown | Whether `MaterialIcon` draws Material Symbols or the older Material Icons |
|
|
37
|
+
|
|
38
|
+
## 2. Jobs here
|
|
39
|
+
|
|
40
|
+
| Job | Here, as | Handed off, and why |
|
|
41
|
+
| --- | --- | --- |
|
|
42
|
+
| Ask Alis something, follow the answer | Alis's reply; the steps under Gemini's "Thinking…"; the task card once it stops | |
|
|
43
|
+
| Approve what Alis wants to do | Alis needs you (Approve), a card | |
|
|
44
|
+
| Answer Alis's question | Alis needs you (Choose one, Choose several), a card | |
|
|
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 |
|
|
47
|
+
| Open a project, an interview, a ticket | A thing that opens it in the AlisX console | |
|
|
48
|
+
| Follow a define, build or deploy | A thing that opens its logs | |
|
|
49
|
+
| Review a long document | The side panel, as text | Anything with a table, a form or a page: the AlisX console |
|
|
50
|
+
| Run an interview in a call | Not here | The Google Meet add-on: Google Meet is its own host |
|
|
51
|
+
|
|
52
|
+
## 3. Differences
|
|
53
|
+
|
|
54
|
+
**One listing, named AlisX.** The agent card's name is AlisX and its provider
|
|
55
|
+
Alis Exchange; the name Gemini shows is set when the agent is registered:
|
|
56
|
+
AlisX, and AlisX (Dev) for Development only. The card's description speaks of
|
|
57
|
+
the AlisX Platform, and of Alis. Sign-in is named by its authorization id,
|
|
58
|
+
which people read, so Production's id is `alisx`.
|
|
59
|
+
|
|
60
|
+
**Gemini's look, throughout.** Gemini Enterprise draws A2UI with its own
|
|
61
|
+
styling, and A2UI leaves the look to the host, so a card is Gemini's
|
|
62
|
+
components as Gemini draws them: its shapes, weights, type, insets and
|
|
63
|
+
spacing. We send no `style`, though the Material components would take one
|
|
64
|
+
([rules/hosts.md](../rules/hosts.md) § Which kind of host). The one exception
|
|
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.
|
|
69
|
+
|
|
70
|
+
**Which components** isn't settled: the standard A2UI ones (Card, Column, Row,
|
|
71
|
+
List, Text, Button, ChoicePicker, CheckBox), which Gemini styles itself and
|
|
72
|
+
which take no `style`, or its `Material*` ones, unstyled. A probe decides: the
|
|
73
|
+
same approval card built both ways, light and dark, beside one of Google's own
|
|
74
|
+
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
|
|
76
|
+
the family it picks: whether a card's link opens; whether its choice and
|
|
77
|
+
button send a press; whether a picked chip or a ticked box still shows after
|
|
78
|
+
the turn ends and when the chat is opened again; and whether a command in
|
|
79
|
+
backticks draws as code.
|
|
80
|
+
|
|
81
|
+
**Our type roles take Gemini's words**, and nothing else sets type. For the
|
|
82
|
+
`Material*` set they are below; if the probe picks the standard set, its
|
|
83
|
+
Text's own hints replace them here:
|
|
84
|
+
|
|
85
|
+
| Our role | Material's |
|
|
86
|
+
| --- | --- |
|
|
87
|
+
| `text-object-title` (a card's title) | `subtitle1` |
|
|
88
|
+
| `text-body` | `body1` |
|
|
89
|
+
| `text-supporting` | `body2` |
|
|
90
|
+
| `text-label` | `subtitle2` |
|
|
91
|
+
|
|
92
|
+
**No colour, so states and risk are words.** Nothing sends a colour; a
|
|
93
|
+
failure says so, and the glyph is a state's. An ask is never coloured.
|
|
94
|
+
|
|
95
|
+
**Glyphs are ours.** Gemini draws Material icons by name, so a thing's glyph
|
|
96
|
+
and a state's icon are the system's own names, unmapped
|
|
97
|
+
([icons.md](../rules/icons.md)), and a thing of ours keeps its glyph. A
|
|
98
|
+
capability mark never goes on a card.
|
|
99
|
+
|
|
100
|
+
**Options are what Gemini can press.** A row can't be pressed, so the options
|
|
101
|
+
the rule draws as rows are, in Gemini:
|
|
102
|
+
|
|
103
|
+
| The ask | Drawn as |
|
|
104
|
+
| --- | --- |
|
|
105
|
+
| Choose one, options with a label only | Gemini's chips, one per option; the one Alis suggests reads "(recommended)" after its label, which is all a chip carries |
|
|
106
|
+
| Choose one, options that say more | A row per option, its label over its line, Choose at its end; the suggested one says "Recommended" on its line and its Choose is filled |
|
|
107
|
+
| Choose several | A box to tick per option, its line under it, then Send |
|
|
108
|
+
|
|
109
|
+
Gemini has no expanded view an ask can open, so a card lists every option;
|
|
110
|
+
Alis keeps a question to five. Where an answer of your own is welcome, the
|
|
111
|
+
card's last line reads "Or tell Alis something else.", and the chat is where
|
|
112
|
+
you say it: no box on the card.
|
|
113
|
+
|
|
114
|
+
**A thing opens from the whole card** where it has an address: a reference and
|
|
115
|
+
an operation's logs are a card whose `href` is that address, with no button on
|
|
116
|
+
it. A thing with no address (an interview with no page yet) is still drawn,
|
|
117
|
+
with its kind, and doesn't open. A row can't take a link, so several references in a row are
|
|
118
|
+
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
|
|
120
|
+
side panel does, so a file's card keeps Open.
|
|
121
|
+
|
|
122
|
+
**A link stays in the words.** A card shows only once the turn stops, and a
|
|
123
|
+
link is often something to act on now: the sign-in link and its code, which
|
|
124
|
+
the agent sends while a turn waits. So a link is written into the answer as
|
|
125
|
+
markdown, with its description after it, and gets no card.
|
|
126
|
+
|
|
127
|
+
**The task card is a record.** Gemini draws it once the turn has stopped, so
|
|
128
|
+
it carries no actions: no Stop (Gemini's own cancel stops the turn), and no
|
|
129
|
+
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,
|
|
131
|
+
each step's words are sent as its status, and Gemini shows them under
|
|
132
|
+
"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.
|
|
135
|
+
|
|
136
|
+
**After a press, the record follows.** An approval can't lose its actions, so
|
|
137
|
+
what was decided comes first in the answer that follows the press: "Allowed:
|
|
138
|
+
…", "Not now: …", in the rule's words. A second press on an answered approval
|
|
139
|
+
gets the record of what was decided first, whichever button it is, and
|
|
140
|
+
nothing runs twice. A choice's record is the pick itself, which the chip or
|
|
141
|
+
the ticked box keeps showing; if the probe finds it doesn't, the pick's labels
|
|
142
|
+
come first in the answer instead.
|
|
143
|
+
|
|
144
|
+
**A plan stays whole on its card.** The side panel opens only from a press, so
|
|
145
|
+
there's no link to the rest of a long plan: the card holds all of it.
|
|
146
|
+
|
|
147
|
+
**While a turn waits** for an approval, Gemini draws its own form for the
|
|
148
|
+
waiting state, with the turn's status as its prompt. What is typed there
|
|
149
|
+
reaches Alis as words, and Alis reads them as any typed answer
|
|
150
|
+
([rules/hosts.md](../rules/hosts.md)), so the status says both ways:
|
|
151
|
+
"Answer on the card, or tell Alis here."
|
|
152
|
+
|
|
153
|
+
## 4. Proof
|
|
154
|
+
|
|
155
|
+
None yet. The adapter's cards were built before this profile, so they go in
|
|
156
|
+
the baseline; what Gemini has been seen to draw is in section 1.
|
|
157
|
+
|
|
158
|
+
| Card | Real Gemini Enterprise, light and dark |
|
|
159
|
+
| --- | --- |
|
|
160
|
+
| Alis's reply | Not yet |
|
|
161
|
+
| Alis needs you (Approve, a plan, Choose one, Choose several) | Not yet |
|
|
162
|
+
| A thing (a file, a reference, a link, an operation) | Not yet |
|
|
163
|
+
| The task card | Not yet |
|
|
164
|
+
| The expanded view (the side panel) | Not yet |
|
|
165
|
+
|
|
166
|
+
## 5. Re-check
|
|
167
|
+
|
|
168
|
+
Owned by the design system. Checked 16 November 2026; due 16 February 2027, or
|
|
169
|
+
sooner when Google changes the A2UI catalog Gemini Enterprise names, or
|
|
170
|
+
Gemini Enterprise's release notes touch agents, A2A or A2UI.
|
package/hosts/teams.json
CHANGED
|
@@ -162,7 +162,7 @@
|
|
|
162
162
|
}
|
|
163
163
|
},
|
|
164
164
|
"options": {
|
|
165
|
-
"as": "container with selectAction
|
|
165
|
+
"as": "container with selectAction",
|
|
166
166
|
"max": 5,
|
|
167
167
|
"quickReplies": false,
|
|
168
168
|
"dropdown": false
|
|
@@ -199,8 +199,8 @@
|
|
|
199
199
|
"updates": "in place"
|
|
200
200
|
},
|
|
201
201
|
"expanded": {
|
|
202
|
-
"surface": "
|
|
203
|
-
"also": "
|
|
202
|
+
"surface": "tab",
|
|
203
|
+
"also": "dialog-page, once one is built",
|
|
204
204
|
"proof": "none"
|
|
205
205
|
}
|
|
206
206
|
},
|
package/hosts/teams.md
CHANGED
|
@@ -71,11 +71,19 @@ one that matters is said by its word and its place, last, as everywhere. In a
|
|
|
71
71
|
dialog holding a card the last action is drawn solid, which is the same place.
|
|
72
72
|
|
|
73
73
|
**Options are rows you press.** An ask's options are containers with a
|
|
74
|
-
`selectAction`, each a label and a supporting line
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
74
|
+
`selectAction`, each a label and a supporting line, never action buttons and
|
|
75
|
+
never a dropdown; Teams' compound button needs a newer card schema than the 1.5
|
|
76
|
+
this profile pins, so it isn't used. Five at most; more opens the expanded
|
|
77
|
+
view. Choose several is an expanded multi-select list, then Send: a card can't
|
|
78
|
+
count what's chosen as you choose, and the agent's options don't name what
|
|
79
|
+
they are.
|
|
80
|
+
|
|
81
|
+
**A command** is a `CodeBlock` in Teams, with a monospace `TextBlock` as its
|
|
82
|
+
fallback, which is what Microsoft 365 Copilot draws.
|
|
83
|
+
|
|
84
|
+
**The working line** is Teams' own streaming update (the informative message
|
|
85
|
+
above a streamed reply): it carries the latest step's words while the turn
|
|
86
|
+
runs.
|
|
79
87
|
|
|
80
88
|
**The task card updates in place.** Alis updates the card it sent rather than
|
|
81
89
|
sending a new one, and a refresh keeps it current for each person. A working
|
|
@@ -83,6 +91,17 @@ step shows Teams' own progress ring; there's no progress bar unless the work is
|
|
|
83
91
|
counted ([AppProgress](../components/AppProgress.md)). Long work is a task card,
|
|
84
92
|
never a reply left streaming: a stream closes at 10 minutes.
|
|
85
93
|
|
|
94
|
+
**The work, in a streamed turn.** While the reply streams, the work is the
|
|
95
|
+
working line. A turn that finishes inside its stream needs no task card. One
|
|
96
|
+
that doesn't (it waits on an ask, fails, or outlasts the stream) gets the task
|
|
97
|
+
card as soon as the stream closes, then the things and the ask after it. Steps
|
|
98
|
+
fold behind a Show steps disclosure (`Action.ToggleVisibility`): the latest
|
|
99
|
+
twelve, and the whole list on the task's page. Never paged inside the card.
|
|
100
|
+
|
|
101
|
+
**The expanded view, for now, is the Tasks tab** (opened in Stageview). A
|
|
102
|
+
dialog holding a page is the long-term surface; until one is built, the tab is
|
|
103
|
+
where Open task and anything too big for a card go.
|
|
104
|
+
|
|
86
105
|
**Colour, by role.** Our roles take these Teams words, and nothing else does:
|
|
87
106
|
|
|
88
107
|
| Our role | On a card |
|
|
@@ -147,8 +166,8 @@ this map, never passing Teams' name through:
|
|
|
147
166
|
| anything else | `light` |
|
|
148
167
|
|
|
149
168
|
A framed page is the product register ([register.md](../rules/register.md)). It
|
|
150
|
-
draws no title bar, navigation or sign-in of its own; when the person's
|
|
151
|
-
account isn't connected, it shows Alis needs you (Connect), not a sign-in
|
|
169
|
+
draws no title bar, navigation or sign-in of its own; when the person's
|
|
170
|
+
AlisX account isn't connected, it shows Alis needs you (Connect), not a sign-in
|
|
152
171
|
screen.
|
|
153
172
|
|
|
154
173
|
**Quick replies aren't used.** Suggested actions under a message would be a
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alis-build/design-system",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.68.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",
|
|
@@ -24,6 +24,7 @@
|
|
|
24
24
|
"./components/*": "./components/*",
|
|
25
25
|
"./assets/*": "./assets/*",
|
|
26
26
|
"./email/*": "./email/*",
|
|
27
|
+
"./hosts/*": "./hosts/*",
|
|
27
28
|
"./package.json": "./package.json"
|
|
28
29
|
},
|
|
29
30
|
"files": [
|
package/rules/hosts.md
CHANGED
|
@@ -66,6 +66,16 @@ Who draws what we send?
|
|
|
66
66
|
| **Type** | The host's | The host's font and scale | Ours ([type.md](type.md)) |
|
|
67
67
|
| **Theme** | The host's, contrast included | The host's, from what it sends; the profile's fallback when it sends nothing | The host's, through the profile's map ([themes.md](themes.md) § Who picks the theme) |
|
|
68
68
|
| **Components** | The host's elements | Plain HTML on the host's variables; no `.app-*` component | `.app-*`, the whole product register |
|
|
69
|
+
| **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
|
+
|
|
71
|
+
**A described card sends no styling of its own**, even where the host would
|
|
72
|
+
take it. We choose which of the host's components and roles carry each part,
|
|
73
|
+
in what order, and which action is filled; the host decides how all of it
|
|
74
|
+
looks. Restyling a host's component toward ours (our radius, our button
|
|
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.
|
|
69
79
|
|
|
70
80
|
A framed page doesn't draw what the host already draws: no second title bar, no
|
|
71
81
|
navigation pane, no sign-in screen when the host has signed the person in.
|
|
@@ -80,7 +90,7 @@ for one host. Five things, each from a component the system already has.
|
|
|
80
90
|
| **Alis's reply** | [AppTurn](../components/AppTurn.md) | A message, the default. It streams where the host streams, and Alis writes "I". Thumbs are the host's own reactions where it has them. A card only when a press or a structure is needed |
|
|
81
91
|
| **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. It then reads back as AppAsk's record ("Allowed: Send 6 invites", "Not now: …") and loses its actions. Connect is AppAsk's Connect |
|
|
82
92
|
| **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 |
|
|
83
|
-
| **Work** | AppTurn's steps, with the composer's Stop | The task card: the task's name, its state in words (
|
|
93
|
+
| **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" |
|
|
84
94
|
| **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 |
|
|
85
95
|
|
|
86
96
|
**The task card carries the composer's controls**, because in a host the
|
|
@@ -88,6 +98,9 @@ composer is the host's. Two at most, by state: *Stop* while it works; *Try
|
|
|
88
98
|
again* and *Open task* when it failed; *Open task*, and *Open* and the kind of
|
|
89
99
|
thing it made ("Open interview"), once finished. Stop acts at once: stopping is
|
|
90
100
|
your choice, never confirmed and never red ([AppTurn](../components/AppTurn.md)).
|
|
101
|
+
*Try again* sends the words that started the turn again. *Open* and its kind
|
|
102
|
+
appear only when the answer carries exactly one thing (one file or one
|
|
103
|
+
reference); with none or several, *Open task* alone.
|
|
91
104
|
|
|
92
105
|
**A card the host can't change.** Microsoft Teams updates a card it drew;
|
|
93
106
|
Microsoft 365 Copilot and Gemini Enterprise can't. There, a card is drawn once
|
|
@@ -114,31 +127,95 @@ A piece the agent gains is added here before any host draws it.
|
|
|
114
127
|
|
|
115
128
|
| The agent sends | It is | In a host |
|
|
116
129
|
| --- | --- | --- |
|
|
117
|
-
| **Text** that answers | Alis's reply | The message. A path under the agent's own address never shows: it's a file, drawn as one |
|
|
118
|
-
| **A step** (
|
|
119
|
-
| **Thinking, notes, a command's output, a specialist's report** | Nothing | Never drawn.
|
|
120
|
-
| **An approval**, a command | Alis needs you: Approve | Title: the act as a question ("Deploy 1.0.5 to Development?"),
|
|
121
|
-
| **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 asks before every change
|
|
122
|
-
| **Options** | Alis needs you: Choose one, Choose several | Rows: the label
|
|
123
|
-
| **Connect** | Alis needs you: Connect | "Connect your AlisX account". Where the host signs people in itself, the host's sign-in, and nothing of ours |
|
|
124
|
-
| **A link** | A thing | `link`, its title, and where it lives as the detail
|
|
125
|
-
| **A file** | A thing | AppAttachment's glyph for its kind, or the picture when it's an image;
|
|
126
|
-
| **A reference** | A thing | The glyph for its kind
|
|
127
|
-
| **An operation** (a define, build or deploy) | A thing | `schema`, `build` or `rocket_launch` where the host draws Material Symbols, otherwise
|
|
128
|
-
| **Facts** | 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 |
|
|
130
|
+
| **Text** that answers (`presentation` ANSWER, or unspecified from Alis) | Alis's reply | The message. A path under the agent's own address (`/api/files/…`) never shows in the text: it's a file, drawn as one. While the turn runs, the host's working line carries text marked PROGRESS when there is some, otherwise the latest step's summary |
|
|
131
|
+
| **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 |
|
|
132
|
+
| **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. |
|
|
133
|
+
| **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 |
|
|
134
|
+
| **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 |
|
|
135
|
+
| **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 |
|
|
136
|
+
| **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 |
|
|
137
|
+
| **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 |
|
|
138
|
+
| **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 |
|
|
139
|
+
| **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 |
|
|
140
|
+
| **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 |
|
|
141
|
+
| **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 |
|
|
142
|
+
| **The turn's state** | The task card | Below |
|
|
143
|
+
|
|
144
|
+
**What's typed while an ask waits** goes to the agent as words, and the agent
|
|
145
|
+
reads them: "yes, go ahead" approves because Alis reads it so. The host never
|
|
146
|
+
decides an approval from the words itself. A typed option's label or number may
|
|
147
|
+
go as that pick, as the console does. Once the turn moves on (the session
|
|
148
|
+
leaves AWAITING_APPROVAL, or a new turn starts), the card loses its actions;
|
|
149
|
+
words typed are their own record, so the card gains none.
|
|
150
|
+
|
|
151
|
+
**Rows of things** are five at most on a card, as options are; past five, the
|
|
152
|
+
card's last row opens the rest in the expanded view ("Open all 8").
|
|
129
153
|
|
|
130
154
|
**What makes an approval grave** is said in words, never by a tint or a red
|
|
131
155
|
card: an ask is never coloured, because a decision isn't a status.
|
|
132
156
|
|
|
133
|
-
|
|
|
157
|
+
| `risk` | The first sentence |
|
|
134
158
|
| --- | --- |
|
|
135
|
-
|
|
|
136
|
-
|
|
|
137
|
-
|
|
|
138
|
-
|
|
|
139
|
-
|
|
|
159
|
+
| `DESTRUCTIVE` | "This can't be undone." |
|
|
160
|
+
| `PRODUCTION` | "This changes Production." |
|
|
161
|
+
| `SECRET` | "This shows secret values in this chat." |
|
|
162
|
+
| `GATED` | "Someone else has to agree to this too." |
|
|
163
|
+
| `CHANGE`, or none (`RISK_UNSPECIFIED`) | none |
|
|
164
|
+
|
|
165
|
+
**The wider scope** is AppAsk's one: the first of the request's `grants`, as
|
|
166
|
+
"Allow alis build commands for this session" (its `title`), and only when the
|
|
167
|
+
risk is `CHANGE` or none. A grave approval never offers one.
|
|
168
|
+
|
|
169
|
+
**The records** an approval leaves, in AppAsk's words: "Allowed: Run this
|
|
170
|
+
command" (or the act, once the agent says it), "Allowed for this session: alis
|
|
171
|
+
build commands", "Not now: Run this command"; for a plan, "Allowed: Run this
|
|
172
|
+
plan, asking before every change", "Allowed: Run this plan without asking",
|
|
173
|
+
"Not now: Run this plan". A choice leaves the person's own words.
|
|
140
174
|
|
|
141
|
-
|
|
175
|
+
**An operation's label**, with its version and, for a deploy, where it went:
|
|
176
|
+
|
|
177
|
+
| | Running | Done | Failed |
|
|
178
|
+
| --- | --- | --- | --- |
|
|
179
|
+
| Define | Defining 1.0.5 | Defined 1.0.5 | Couldn't define 1.0.5 |
|
|
180
|
+
| Build | Building 1.0.5 | Built 1.0.5 | Couldn't build 1.0.5 |
|
|
181
|
+
| Deploy | Deploying 1.0.5 to Development | Deployed 1.0.5 to Development | Couldn't deploy 1.0.5 |
|
|
182
|
+
| Not said | Running | Finished | Couldn't finish |
|
|
183
|
+
|
|
184
|
+
**A reference's kind**, from the last collection in its name (`…/products/…`,
|
|
185
|
+
`…/interviews/…`): names nest (`organisations/acme/products/ledger` is a
|
|
186
|
+
product), so read the segment before the last id, never the first. A
|
|
187
|
+
collection not listed has no detail but its `description`:
|
|
188
|
+
|
|
189
|
+
| The last collection in its name | The detail |
|
|
190
|
+
| --- | --- |
|
|
191
|
+
| `ideas` | Project · Alis Ideate |
|
|
192
|
+
| `interviews` | Interview · Alis Ideate |
|
|
193
|
+
| `artifacts` | Artifact · Alis Ideate |
|
|
194
|
+
| `collections` | Collection · Alis Ideate |
|
|
195
|
+
| `contributionSessions` | Contribution · Alis Ideate |
|
|
196
|
+
| `skills` | Skill · AlisX Skill Store |
|
|
197
|
+
| `products` | Product · Alis Build |
|
|
198
|
+
| `workstations` | Workstation · Alis Build |
|
|
199
|
+
| `tickets` | Conversation · Support |
|
|
200
|
+
| `sessions` | Chat |
|
|
201
|
+
| `accounts`, `organisations` | Account |
|
|
202
|
+
|
|
203
|
+
**The task card's state**, in words, from the turn:
|
|
204
|
+
|
|
205
|
+
| The agent says | The card reads |
|
|
206
|
+
| --- | --- |
|
|
207
|
+
| The message is `queued` | Queued |
|
|
208
|
+
| The session is RUNNING | Working, and the latest steps |
|
|
209
|
+
| The session is AWAITING_APPROVAL | Waiting for you |
|
|
210
|
+
| A stop was asked, and the turn hasn't ended | Stopping |
|
|
211
|
+
| The turn ended CANCELLED | Stopped |
|
|
212
|
+
| The turn ended FAILED | Failed, and `error_message` as its line |
|
|
213
|
+
| The turn ended COMPLETED | Finished, and "Worked for 42s · 6 steps" |
|
|
214
|
+
|
|
215
|
+
**Steps counted by kind**, past the three shown, in one line in this order:
|
|
216
|
+
"Read 9 files, edited 2 files, searched 3 times, opened 2 pages, ran 4
|
|
217
|
+
commands". A read is `READ_FILE`; an edit `WRITE_FILE` or `EDIT_FILE`; a search
|
|
218
|
+
`LIST_FILES` or `SEARCH_FILES`; a page `BROWSER`; everything else a command.
|
|
142
219
|
|
|
143
220
|
## Every host
|
|
144
221
|
|
|
@@ -147,7 +224,7 @@ These hold everywhere, and a profile never repeats them:
|
|
|
147
224
|
1. **Two actions at most, the verb last**, in the order of [buttons.md](buttons.md).
|
|
148
225
|
An ask's options and rows that open what they name are answers and ways in,
|
|
149
226
|
not actions. AppAsk's one wider scope is the only third, and only on an ask
|
|
150
|
-
that approves.
|
|
227
|
+
that approves: a grant on a command, Run without asking on a plan.
|
|
151
228
|
2. **Nothing scrolls inside a card.** No tabs, no menus, no drill-in, no paging,
|
|
152
229
|
no search inside a card. Long content goes to the expanded view.
|
|
153
230
|
3. **No message box of our own.** The host's composer is the only one: no note
|
package/rules/shortcuts.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Keyboard shortcuts
|
|
2
2
|
|
|
3
|
-
**One way to write a key,
|
|
3
|
+
**One way to write a key, a few places to show it, one sheet that lists them all.**
|
|
4
4
|
This file decides how a shortcut is shown and which keys mean the same thing on
|
|
5
5
|
every screen. Which other keys a screen binds is that screen's own choice.
|
|
6
6
|
|
|
@@ -17,26 +17,28 @@ side, never a plus sign and never brackets.
|
|
|
17
17
|
| Control, where it differs from `mod` | ⌃ | Ctrl |
|
|
18
18
|
|
|
19
19
|
- **Detect the platform once**, for the whole product, and write every shortcut
|
|
20
|
-
for it. Never two spellings side by side ("⌘
|
|
20
|
+
for it. Never two spellings side by side ("⌘k / Ctrl k").
|
|
21
21
|
- **Modifiers first**, in the platform's order: ⌃ ⌥ ⇧ ⌘ on a Mac, Ctrl Alt Shift
|
|
22
22
|
elsewhere.
|
|
23
23
|
- **Named keys are words** on every platform: Enter, Esc, Tab, Space, Delete,
|
|
24
24
|
Backspace. **Arrows are arrows**: ↑ ↓ ← →.
|
|
25
|
-
- **A
|
|
26
|
-
|
|
27
|
-
- **A
|
|
25
|
+
- **A letter cap is the letter as typed, lowercase**: `j`, ⌘ k, Ctrl v. The cap
|
|
26
|
+
shows what the finger presses, and a capital on it reads as Shift.
|
|
27
|
+
- **A capital is written with Shift**: ⇧ u, never "U" beside "u".
|
|
28
|
+
- **A sequence says "then"**: g then h. Two caps with nothing between them are
|
|
28
29
|
pressed together.
|
|
29
30
|
- **A symbol is its own cap**: `+`, `?` and `/` are the keys themselves, written as
|
|
30
31
|
the character they type, even where a layout needs Shift for it. A lone `+` cap
|
|
31
32
|
is the plus key, never a separator.
|
|
32
|
-
- **Keys for another app** (a setup guide: "In PowerShell, press Ctrl
|
|
33
|
+
- **Keys for another app** (a setup guide: "In PowerShell, press Ctrl v") use that
|
|
33
34
|
guide's platform, not the one detected.
|
|
34
35
|
- **In a terminal** there are no caps, so keys are written in text: `Ctrl+V`
|
|
35
36
|
([terminal.md](terminal.md) § Writing text).
|
|
36
37
|
|
|
37
38
|
## Where a key shows
|
|
38
39
|
|
|
39
|
-
|
|
40
|
+
Where someone is already looking at the control it works, and on a screen
|
|
41
|
+
worked through by keyboard, along its bottom edge. Nowhere else.
|
|
40
42
|
|
|
41
43
|
1. **The tooltip** ([AppTooltip](../components/AppTooltip.md)): the label, then the
|
|
42
44
|
keys. A text button that has a shortcut takes a tooltip only to carry its keys.
|
|
@@ -44,9 +46,11 @@ Only where someone is already looking at the control it works. Nowhere else.
|
|
|
44
46
|
trailing hint.
|
|
45
47
|
3. **The screen's search field** ([AppTitleBar](../components/AppTitleBar.md)): a
|
|
46
48
|
`/` cap at its end, while it is empty and unfocused. A field has no tooltip.
|
|
49
|
+
4. **The key bar** ([AppKeyBar](../components/AppKeyBar.md)), only on a screen
|
|
50
|
+
that is worked through one item at a time (§ The key bar).
|
|
47
51
|
|
|
48
|
-
**On a touch screen, none of them.** Tooltips don't open, the search field's cap
|
|
49
|
-
|
|
52
|
+
**On a touch screen, none of them.** Tooltips don't open, the search field's cap,
|
|
53
|
+
a menu row's keys and the key bar leave (the CSS does it on a coarse pointer), and the account
|
|
50
54
|
menu leaves out **Keyboard shortcuts**. Keys in prose stay: a setup guide still
|
|
51
55
|
says what to press on the computer it is about.
|
|
52
56
|
|
|
@@ -55,6 +59,31 @@ and no hint lines: not under a composer ("Press Enter to send"), not under a
|
|
|
55
59
|
picker ("↑↓ to navigate"). Enter sends and Shift Enter breaks the line in every
|
|
56
60
|
composer; Send's tooltip says so, and the sheet lists both.
|
|
57
61
|
|
|
62
|
+
## The key bar
|
|
63
|
+
|
|
64
|
+
A screen where one item is in focus and the same few acts are taken on item
|
|
65
|
+
after item (a queue cleared one at a time) may show its keys in an
|
|
66
|
+
[AppKeyBar](../components/AppKeyBar.md): one quiet row along the bottom of the
|
|
67
|
+
screen. There a tooltip would have to be opened again for every item; the row
|
|
68
|
+
is read once and then left alone.
|
|
69
|
+
|
|
70
|
+
- **Only on a work-through screen.** A form, a list beside its detail, a
|
|
71
|
+
composer and a picker never get one: the hint-line rule above still holds.
|
|
72
|
+
- **Only what works now, on the item in focus.** A key whose act isn't there to
|
|
73
|
+
take is left out, not dimmed, as in the sheet. While focus is in a field the
|
|
74
|
+
row is that field's keys: Enter sends, ⇧ Enter breaks the line, Esc leaves.
|
|
75
|
+
- **Caps, then the act in a word or two**, as its button names it, cut to the
|
|
76
|
+
verb: "Remove", "Later". Two keys that pair share one word: `h` `l` Move.
|
|
77
|
+
- **The last item opens the sheet**: `?` All keys. The bar is a reminder, the
|
|
78
|
+
sheet is the list.
|
|
79
|
+
- **No keyboard, no bar.** It leaves on a coarse pointer and below 600, and an
|
|
80
|
+
item whose keys are all single keys leaves while those are off.
|
|
81
|
+
- **Text buttons need no tooltip for their key** on a screen with a key bar. An
|
|
82
|
+
icon button keeps its tooltip, the keys after its label.
|
|
83
|
+
- **Every act hands focus back** to the thing the keys act on, so the next key
|
|
84
|
+
lands on the next item. A key that sends text goes to the text first: nothing
|
|
85
|
+
is sent unread.
|
|
86
|
+
|
|
58
87
|
## The sheet
|
|
59
88
|
|
|
60
89
|
Every key the screen answers to, in one place: an
|
|
@@ -71,27 +100,27 @@ nothing here is left out, not dimmed.
|
|
|
71
100
|
| ? | Opens or closes the sheet |
|
|
72
101
|
| Esc | Closes what is open (a menu, a dialog, the sheet). In a field it does the field's own job first (clears a search's query, closes a `/` or `@` band, cancels a rename), and otherwise leaves the field. One step at a time: an expanded file goes back beside the conversation before it closes, and a Glass view closes an open part before Esc leaves the view. Inside a page's frame (AppFilePane) keys are the page's, so Esc doesn't reach the app; the pane's bar still works |
|
|
73
102
|
| / | Puts you in the screen's search field |
|
|
74
|
-
| ⌘
|
|
103
|
+
| ⌘ k | Reserved for finding anything across the product ([known-gaps.md](known-gaps.md)); bind nothing to it |
|
|
75
104
|
|
|
76
105
|
A screen never rebinds these, and never takes a key the browser or the operating
|
|
77
|
-
system owns (⌘
|
|
106
|
+
system owns (⌘ w, ⌘ t, ⌘ l, ⌘ r, ⌘ f, ⌘ p, ⌘ q, Ctrl Tab).
|
|
78
107
|
|
|
79
108
|
These single keys mean the same wherever they work, and nothing else anywhere.
|
|
80
109
|
A screen binds the ones it has a use for:
|
|
81
110
|
|
|
82
111
|
| Keys | Does | Where |
|
|
83
112
|
| --- | --- | --- |
|
|
84
|
-
|
|
|
113
|
+
| j / k | Next / previous item; Enter opens it. With a detail open, steps to the next or previous item | Every list, and a list beside its detail |
|
|
85
114
|
| + | The screen's New: its title bar's lead when that is New or Add, or a new conversation. Matched on the character typed, so any layout and the numpad work | Every screen whose lead is a New or an Add |
|
|
86
|
-
|
|
|
115
|
+
| a / x | The affirmative / the refusal of an ask waiting on you, whoever asks ([AppAsk](../components/AppAsk.md)). `x` opens the reason field where there is one. **On an ask that is hard to undo** (deleting, reaching production), `a` moves focus to the affirmative and Enter confirms: one stray key never does it | Any screen showing an ask that waits on you |
|
|
87
116
|
| 1–9 | Picks option n of the ask, or of numbered options, waiting on you | Wherever options are numbered |
|
|
88
|
-
|
|
|
117
|
+
| u / ⇧ u | The people on this thing (participants, sharing, access) / hand it over, only where handing over exists | Anything with people on it |
|
|
89
118
|
|
|
90
119
|
## Single keys
|
|
91
120
|
|
|
92
121
|
A single key is any key that types a character on its own: a letter, a digit,
|
|
93
|
-
`+`, `?`, `/`. A screen may bind single keys for the verbs a person repeats (
|
|
94
|
-
approves,
|
|
122
|
+
`+`, `?`, `/`. A screen may bind single keys for the verbs a person repeats (`a`
|
|
123
|
+
approves, `r` resolves). Three conditions:
|
|
95
124
|
|
|
96
125
|
- **Never while typing.** A single key does nothing while focus is in a field, an
|
|
97
126
|
editor or anything that takes text.
|
|
@@ -101,13 +130,15 @@ approves, R resolves). Three conditions:
|
|
|
101
130
|
leave tooltips, menus and the search field; the sheet keeps them, dimmed, under
|
|
102
131
|
a note saying they are off, and still opens from the account menu. Speech input
|
|
103
132
|
types any character, and a stray one must not approve anything.
|
|
104
|
-
- **The same key, the same act.**
|
|
105
|
-
resolve; it never means Reply on another screen.
|
|
133
|
+
- **The same key, the same act.** `r` resolves wherever there is something to
|
|
134
|
+
resolve; it never means Reply on another screen. The same key may take a
|
|
135
|
+
second act only of the same kind, in a place the first never shows: `x`
|
|
136
|
+
refuses an ask, and takes an item off a queue.
|
|
106
137
|
|
|
107
138
|
## Accessible names
|
|
108
139
|
|
|
109
140
|
- **On a control**, the caps are decoration: hide them from assistive technology
|
|
110
141
|
and give the control `aria-keyshortcuts` (`R`, `Meta+L`, `Control+L`,
|
|
111
|
-
`Shift+U`).
|
|
142
|
+
`Shift+U`): the attribute names keys its own way, capitals included.
|
|
112
143
|
- **In the sheet and in prose**, the keys are the content: say them in words
|
|
113
144
|
(`.app-keys__said`, "Command K"), since a screen reader can't read ⌘ or ⇧.
|
package/words.json
CHANGED
|
@@ -88,6 +88,13 @@
|
|
|
88
88
|
"retired": ["Alis Identity"],
|
|
89
89
|
"avoid": []
|
|
90
90
|
},
|
|
91
|
+
{
|
|
92
|
+
"name": "AlisX CLI",
|
|
93
|
+
"product": "all",
|
|
94
|
+
"means": "The `alis` command line, and the TUI it opens with no arguments: how people and their coding agents use the AlisX Platform from a terminal. A product of the platform, so it takes the platform's name, written in full wherever it is named: its installer, its help, `alis upgrade`, its sign-in, the docs. \"The CLI\" after that; the command stays `alis`.",
|
|
95
|
+
"retired": ["Alis Build CLI", "Alis CLI"],
|
|
96
|
+
"avoid": ["alis CLI (in words: `alis` is the command)", "the Alis tools (for the CLI)"]
|
|
97
|
+
},
|
|
91
98
|
{
|
|
92
99
|
"name": "AlisX Specialists",
|
|
93
100
|
"product": "all",
|