@alis-build/design-system 0.64.0 → 0.67.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 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
@@ -262,6 +262,9 @@
262
262
  "app-icon-btn--small",
263
263
  "app-icon-swap",
264
264
  "app-key",
265
+ "app-keybar",
266
+ "app-keybar__end",
267
+ "app-keybar__item",
265
268
  "app-keys",
266
269
  "app-keys--single",
267
270
  "app-keys__said",
@@ -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 Alis CLI; the machine appears |
22
- | Fix a failed setup | Fix | The agent runs the Alis CLI; the setup runs again |
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 Alis CLI".
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 Alis CLI, sits a closed [AppDisclosure](AppDisclosure.md), **Set up the Alis CLI yourself**, for anyone who would rather not let the agent install it. Continue never shows it.
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 Alis 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.
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 Alis CLI</span>
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">R</kbd></kbd></div>
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`.
@@ -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 capital takes Shift**: ⇧ U. A letter cap is always the capital.
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: G then H.
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">K</kbd></kbd>
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">K</kbd></kbd>
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">R</kbd></kbd>
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">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>
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">V</kbd></kbd><span class="app-keys__said">Control V</span>
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">R</kbd></kbd><span class="app-keys__said">R</span></dd>
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">U</kbd></kbd><span class="app-keys__said">Shift U</span></dd>
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 A and R act on their own. Turn off if you use speech input.</span>
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>
@@ -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">R</kbd></kbd>
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 -->
@@ -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/teams.json CHANGED
@@ -135,16 +135,30 @@
135
135
  "movie": "Video",
136
136
  "videocam": "Video",
137
137
  "screen_record": "Record",
138
- "record_voice_over": "PersonVoice",
139
138
  "edit_note": "NoteEdit",
140
- "monitor_heart": "HeartPulse",
141
- "extension": "PuzzlePiece",
142
139
  "assignment": "ClipboardTask",
143
- "terminal": "WindowConsole",
144
140
  "web": "Globe",
145
141
  "code": "Code",
146
142
  "text_snippet": "TextDescription",
147
- "shapes": "Shapes"
143
+ "shapes": "Shapes",
144
+ "link": "Link"
145
+ },
146
+ "ours": {
147
+ "drawn": "none",
148
+ "detail": "names the kind",
149
+ "why": "Teams draws Fluent, not Material Symbols; another set's icon never stands for something we make",
150
+ "kinds": [
151
+ "project",
152
+ "interview",
153
+ "artifact",
154
+ "skill",
155
+ "spec",
156
+ "define",
157
+ "build",
158
+ "deploy",
159
+ "agent session",
160
+ "diagnostics"
161
+ ]
148
162
  }
149
163
  },
150
164
  "options": {
package/hosts/teams.md CHANGED
@@ -117,20 +117,23 @@ icon use it, through this map (names to be checked by the card probe):
117
117
  | `graphic_eq` audio | `Mic` |
118
118
  | `movie`, `videocam` | `Video` |
119
119
  | `screen_record` | `Record` |
120
- | `record_voice_over` an interview | `PersonVoice` |
121
120
  | `edit_note` notes | `NoteEdit` |
122
- | `monitor_heart` diagnostics | `HeartPulse` |
123
- | `extension` a skill | `PuzzlePiece` |
124
121
  | `assignment` an issue | `ClipboardTask` |
125
- | `terminal` a coding-agent session | `WindowConsole` |
126
122
  | `web` | `Globe` |
127
123
  | `code` | `Code` |
128
124
  | `text_snippet` | `TextDescription` |
129
125
  | `shapes` a diagram | `Shapes` |
126
+ | `link` a link | `Link` |
130
127
 
131
128
  A glyph is drawn in `default`, never coloured for its kind. A glyph not in the
132
129
  map is added here first, never borrowed.
133
130
 
131
+ **Our things have no icon here.** Teams draws Fluent, not Material Symbols, so
132
+ a project, an interview, an artifact, a skill, a spec, a define, build or
133
+ deploy, an agent session and diagnostics are drawn without one, and the detail
134
+ line names the kind ("Interview · Alis Ideate"). The map holds plain things and
135
+ states only ([rules/hosts.md](../rules/hosts.md) § Every host, rule 8).
136
+
134
137
  **The theme map.** A framed page (a tab, a dialog holding a page) reads Teams'
135
138
  theme from its context and follows its change, then sets `data-theme` through
136
139
  this map, never passing Teams' name through:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alis-build/design-system",
3
- "version": "0.64.0",
3
+ "version": "0.67.0",
4
4
  "description": "The AlisX design system for coding agents: tokens, product CSS, component markup, capability marks, words and rules.",
5
5
  "keywords": ["alisx", "design-system", "design-tokens", "css"],
6
6
  "homepage": "https://alisx.com",
package/rules/hosts.md CHANGED
@@ -78,7 +78,7 @@ for one host. Five things, each from a component the system already has.
78
78
  | What | From | In a host |
79
79
  | --- | --- | --- |
80
80
  | **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
- | **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 and the verb named by its outcome, in AppAsk's order; AppAsk's wider scope ("Allow for this session") isn't offered in a host, so an ask keeps two actions. 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 |
81
+ | **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
82
  | **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
83
  | **Work** | AppTurn's steps, with the composer's Stop | The task card: the task's name, its state in words (Queued, Working, Stopping, Stopped, Failed, Finished), at most three steps; once finished, what was done with its counts ("Interview created, 0 people invited") |
84
84
  | **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 |
@@ -87,27 +87,72 @@ for one host. Five things, each from a component the system already has.
87
87
  composer is the host's. Two at most, by state: *Stop* while it works; *Try
88
88
  again* and *Open task* when it failed; *Open task*, and *Open* and the kind of
89
89
  thing it made ("Open interview"), once finished. Stop acts at once: stopping is
90
- your choice, never confirmed and never red ([AppTurn](../components/AppTurn.md)). The card updates
91
- in place where the host can; where it can't, its last line says how to check:
92
- "Ask Alis how it's going."
93
-
94
- **Order in a turn**: Alis's words first, then an ask or the task card after
95
- them. Nothing interrupts the words; a host draws a card only once a stream has
96
- closed.
90
+ your choice, never confirmed and never red ([AppTurn](../components/AppTurn.md)).
91
+
92
+ **A card the host can't change.** Microsoft Teams updates a card it drew;
93
+ Microsoft 365 Copilot and Gemini Enterprise can't. There, a card is drawn once
94
+ and stands as a record of that moment: a task card says when ("Working ·
95
+ 14:02") and its last line says how to check: "Ask Alis how it's going." What
96
+ follows comes as the next message, never a second copy of the card: an ask's
97
+ record ("Allowed: …"), the finished task. A press on an ask already answered
98
+ gets its record again, and nothing runs twice.
99
+
100
+ **Order in a turn** follows [AppTurn](../components/AppTurn.md): the work above
101
+ the words (the host's own thinking line where it has one, otherwise the task
102
+ card), then Alis's words, then the things and the ask where Alis put them.
103
+ Nothing interrupts the words; a host that draws a card only once a stream has
104
+ closed sends the cards after it.
97
105
 
98
106
  A new kind of card is a decision for this file, never a card built in one host.
99
107
 
108
+ ## From the agent's message
109
+
110
+ Every host translates the same message: the agent's (`alis.os.agent.v3`
111
+ `Message`). Each of its pieces is one of the five things above, drawn the same
112
+ way in every host; a profile says only which of the host's elements draws it.
113
+ A piece the agent gains is added here before any host draws it.
114
+
115
+ | The agent sends | It is | In a host |
116
+ | --- | --- | --- |
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** (a command or a hand-over) | A step of the work | Its summary, the words written for you ("Creating the interview"), never the command line. Past three, one line counts the rest by kind: "Read 9 files, edited 2, ran 4 commands" |
119
+ | **Thinking, notes, a command's output, a specialist's report** | Nothing | Never drawn. A note may be the host's thinking line while the turn runs |
120
+ | **An approval**, a command | Alis needs you: Approve | Title: the act as a question ("Deploy 1.0.5 to Development?"), or "Run this command?" when the agent gives no summary. Body: what makes it grave, as one sentence first (below), then the reason, then the command in the host's code style. Not now, the wider scope when the agent offers one, then the verb named by its outcome ("Deploy", "Delete 14 interviews"), or Run it |
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; Run without asking is the wider scope, and still stops for anything grave. What should change, you say in the host's composer |
122
+ | **Options** | Alis needs you: Choose one, Choose several | Rows: the label, and a supporting line if there is one; the one Alis suggests says "Recommended" on that line. Five at most on a card; more opens in the expanded view. Several: the host's checklist, then Send. When your own answer is welcome, the last line reads "Or tell Alis something else.", and the host's composer is where you say it. A pick is sent as your own words, which are the record |
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 (its host, or "Interview"). Opens in the browser |
125
+ | **A file** | A thing | AppAttachment's glyph for its kind, or the picture when it's an image; Alis's description of it, or its name; its kind and size. Opens in the expanded view; "Deleted" once it's gone |
126
+ | **A reference** | A thing | The glyph for its kind (a project, an interview, a skill) where the host draws Material Symbols, otherwise none (rule 8); its title, and the product after it as the detail ("Project · Alis Ideate"). Opens on the thing itself. Several in a row are one card of rows |
127
+ | **An operation** (a define, build or deploy) | A thing | `schema`, `build` or `rocket_launch` where the host draws Material Symbols, otherwise no glyph but a failure's `error` (rule 8); its state as the label: "Deploying 1.0.5 to Development", "Deployed 1.0.5 to Development", "Couldn't deploy 1.0.5", with `error` for the glyph when it failed; the package, "Running" when it serves, and its changes as the detail, or the error. Opens its logs. Drawn as it stood: a later state is a new one |
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 |
129
+
130
+ **What makes an approval grave** is said in words, never by a tint or a red
131
+ card: an ask is never coloured, because a decision isn't a status.
132
+
133
+ | The agent's risk | The first sentence |
134
+ | --- | --- |
135
+ | Can't be undone | "This can't be undone." |
136
+ | Production | "This changes Production." |
137
+ | Shows secrets | "This shows secret values in this chat." |
138
+ | Needs someone else | "Someone else has to agree to this too." |
139
+ | A change you can reverse | none |
140
+
141
+ Only an approval you can reverse offers a wider scope; the grave ones never do.
142
+
100
143
  ## Every host
101
144
 
102
145
  These hold everywhere, and a profile never repeats them:
103
146
 
104
147
  1. **Two actions at most, the verb last**, in the order of [buttons.md](buttons.md).
105
148
  An ask's options and rows that open what they name are answers and ways in,
106
- not actions.
149
+ not actions. AppAsk's one wider scope is the only third, and only on an ask
150
+ that approves.
107
151
  2. **Nothing scrolls inside a card.** No tabs, no menus, no drill-in, no paging,
108
152
  no search inside a card. Long content goes to the expanded view.
109
153
  3. **No message box of our own.** The host's composer is the only one: no note
110
- field inside an ask, because what you type in the composer is the note.
154
+ field inside an ask, no "answer in your own words" box, no ask-about-this
155
+ field on a thing, because what you type in the composer is all of those.
111
156
  4. **Every state said in words**, and loading, finished, stopped and failed each
112
157
  drawn ([loading.md](loading.md)). A failure says what to do next, in a
113
158
  sentence, never a command to type ([errors.md](errors.md)).
@@ -121,6 +166,14 @@ These hold everywhere, and a profile never repeats them:
121
166
  state's icon in its state's role. Never one beside a title for its own sake,
122
167
  never a colour for a kind of thing, never an emoji or a hand-drawn icon: the
123
168
  host's icon set, through the profile's name map ([icons.md](icons.md)).
169
+ **A thing of ours** (a project, an interview, an artifact, a skill, a spec,
170
+ a define, build or deploy, an agent session, diagnostics) takes our own glyph
171
+ only where the host draws Material Symbols; anywhere else it has **no icon**,
172
+ and its detail line names its kind ("Interview · Alis Ideate"). Another
173
+ set's icon never stands for something we make. A capability mark never goes
174
+ on a card: it names a tool, and a host can't draw it in the host's theme.
175
+ A plain thing (a document, a sheet, a video, a link) and a state keep the
176
+ host's icon.
124
177
  9. **The words of the product**, and the names in § Names. Alis is named,
125
178
  never "your agent", "the agent" or "the assistant". The work is a *task*; *session* is only a coding-agent
126
179
  session; never *workspace*. Never tell someone to type a command ("Send
@@ -160,8 +213,9 @@ the probe.
160
213
 
161
214
  ## Before you hand it back
162
215
 
163
- 1. Is it one of the five things above, from its component, with no more than
164
- two actions and the verb last?
216
+ 1. Is it one of the five things above, drawn as § From the agent's message
217
+ says for its piece, with no more than two actions (three only with an
218
+ approval's wider scope) and the verb last?
165
219
  2. Does it use the host's colours by role, with no hex value, no logo and no
166
220
  decorative icon?
167
221
  3. Does every state say itself in words, and does a described card carry its
@@ -1,6 +1,6 @@
1
1
  # Keyboard shortcuts
2
2
 
3
- **One way to write a key, three places to show it, one sheet that lists them all.**
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 ("⌘K / Ctrl K").
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 capital is written with Shift**: ⇧ U, never "U" beside "u". A letter cap
26
- is always the capital.
27
- - **A sequence says "then"**: G then H. Two caps with nothing between them are
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 V") use that
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
- Only where someone is already looking at the control it works. Nowhere else.
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
- and a menu row's keys leave (the CSS does it on a coarse pointer), and the account
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
- | ⌘ K | Reserved for finding anything across the product ([known-gaps.md](known-gaps.md)); bind nothing to it |
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 (⌘ W, ⌘ T, ⌘ L, ⌘ R, ⌘ F, ⌘ P, ⌘ Q, Ctrl Tab).
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
- | 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 |
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
- | 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 |
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
- | U / ⇧ U | The people on this thing (participants, sharing, access) / hand it over, only where handing over exists | Anything with people on it |
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 (A
94
- approves, R resolves). Three conditions:
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.** R resolves wherever there is something to
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",