@alis-build/design-system 0.80.1 → 0.82.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
@@ -1151,8 +1151,7 @@ span.app-account__avatar{display:flex;align-items:center;justify-content:center;
1151
1151
  .app-composer{position:relative;display:flex;flex-direction:column;gap:var(--space-8);width:100%;max-width:var(--measure-prose);margin-inline:auto}
1152
1152
  .app-composer__box{position:relative;z-index:1;display:flex;flex-direction:column;padding:var(--space-8);border-radius:var(--radius-xl);background:var(--surface-container-high);box-shadow:var(--elevation-2);transition:background-color var(--spring-fast-effects),box-shadow var(--spring-fast-effects)}
1153
1153
  /* Audience is a message property, kept above the draft even when its error line changes. */
1154
- .app-composer__audience{display:flex;flex-wrap:wrap;align-items:flex-end;gap:var(--space-12);padding:var(--space-8) var(--space-12) var(--space-12);border-bottom:1px solid var(--outline-variant)}
1155
- .app-composer__audience .app-field{flex:1 1 24ch;min-width:0;max-width:100%}
1154
+ .app-composer__audience{display:flex;flex-wrap:wrap;align-items:center;gap:var(--space-12);padding:var(--space-8) var(--space-12) var(--space-12);border-bottom:1px solid var(--outline-variant)}
1156
1155
  .app-composer__audience>.text-meta{margin:0;padding-block:var(--space-8);color:var(--on-surface-variant);overflow-wrap:anywhere}
1157
1156
  .app-composer__tray{display:flex;flex-wrap:wrap;align-items:flex-start;gap:var(--space-8);padding:var(--space-4) var(--space-4) 0}
1158
1157
  .app-composer__editor{min-height:24px;max-height:208px;overflow-y:auto;padding:var(--space-12) var(--space-12) var(--space-4);color:var(--on-surface);font-family:var(--font-sans);font-size:16px;line-height:24px;font-weight:400;overflow-wrap:anywhere}
@@ -1219,6 +1218,8 @@ span.app-account__avatar{display:flex;align-items:center;justify-content:center;
1219
1218
  @media (max-width:599px) and (pointer:coarse){.app-composer:focus-within .app-composer__editor{max-height:136px}.app-composer:focus-within>.app-composer__line:not(.is-error){display:none}}
1220
1219
  .app-composer__drop{display:flex;align-items:center;justify-content:center;width:100%;min-height:56px;border-radius:var(--radius-lg);color:var(--primary)}
1221
1220
  /* Locked: drops to the ground, no shadow, no controls */
1221
+ /* A private note is quieter but still floats: the fill keeps the state in sight while typing. */
1222
+ .app-composer.is-note .app-composer__box{background:var(--surface-container-low)}
1222
1223
  .app-composer.is-locked .app-composer__box{background:var(--surface-container-low);box-shadow:none}
1223
1224
  .app-composer.is-locked .app-composer__editor{color:var(--on-surface-variant)}
1224
1225
  /* The voice light, behind the composer in a call: cool while you speak, warm while Alis does */
package/classes.json CHANGED
@@ -517,6 +517,7 @@
517
517
  "is-locked",
518
518
  "is-more",
519
519
  "is-muted",
520
+ "is-note",
520
521
  "is-numeric",
521
522
  "is-open",
522
523
  "is-paused",
@@ -14,7 +14,7 @@ Where you write to Alis, an agent or a person. One floating surface with three b
14
14
  |---|---|---|
15
15
  | **Capture** (top, only while a capture runs beside the conversation) | The capture bar: a thumbnail of what's captured, the red dot and *Recording*, the time, Pause, ⋯ and Stop recording, divided by a hairline (§ A capture beside the conversation). Above an ask | The product decides what it captures and what ⋯ holds |
16
16
  | **Ask** (top, only while Alis or a person is waiting on you) | The decision they need: an [AppAsk](AppAsk.md), above the tray, divided by a hairline | The product writes it |
17
- | **Audience** (only when a responder can write internally or to a customer) | A labelled choice and its recipient, always visible while composing (§ Message audience). Below an ask, above the tray | The product supplies the permitted audiences and recipient |
17
+ | **Audience** (only for the people helping, where they can also write privately) | Reply or Private note, and who reads it, always visible while composing (§ Message audience). Below an ask, above the tray | The product supplies the permitted audiences, the default and who reads it |
18
18
  | **Tray** (top, only when something's in it) | What goes with *this message*: [AppAttachment](AppAttachment.md)s (files, screen captures), a queued message, the drop target | The product decides which files and sizes |
19
19
  | **Editor** | Body type, 16/24. Grows to eight lines (five on a phone while the keyboard is up), then scrolls inside itself. The placeholder says what to write, short enough to fit beside the buttons on a phone (§ On a phone) | The product writes the placeholder |
20
20
  | **Suggestions** (only while you type `/` or `@`) | An [AppMenu](AppMenu.md) band right above the editor, divided by a hairline: commands, or people and things to mention. Below an open ask | The product supplies the commands and what can be mentioned |
@@ -63,13 +63,17 @@ Below 600 wide, with the keyboard up, the conversation has about 390px, and ever
63
63
 
64
64
  ## Message audience
65
65
 
66
- For responders in a conversation with both team-only and customer messages:
66
+ For the people helping in a conversation where they can also write to each other alone (AlisX's own support, a portal's team):
67
67
 
68
- - **A new draft starts as Internal note.** Choosing **Note to customer** is deliberate and applies to this message only. Keep the choice and recipient visible in `.app-composer__audience`, above the tray and editor; it is never a context chip, a colour alone or a setting hidden in Add.
69
- - Use a labelled [AppSelect](AppSelect.md): **Message visibility**, with Internal note and Note to customer. This is a choice attached to a message, not a filter on the thread. Beside it, say **Only your team** or **To Thandi Mokoena** (the actual recipient, or **To the customer** when unnamed). The editor's accessible name and placeholder, and Send's accessible name, repeat the chosen action: **Internal note** / **Note to customer**, **Send internal note** / **Send note to customer**.
70
- - **Keep the audience while editing, uploading, validating or retrying.** Capture it with the message, its recipient and attachments when submitting. A new draft resets to Internal note; retrying an earlier message uses that message's captured audience, even if the current draft is different. Never carry the customer choice into another conversation or another person's session.
71
- - With only one permitted audience, show its words and recipient without a selector. A customer portal only composes customer-visible messages: no internal option or internal metadata. Enforce audience and access on the server; hiding controls is not authorisation.
72
- - Ordinary internal conversations with no customer audience need no extra band. A terminal uses the same words and defaults in its composing status; its visibility shortcut changes the draft, never existing messages.
68
+ - **Two choices, the same words on every conversation and portal: Reply and Private note.** A reply is read by everyone in the conversation: the person who asked and anyone on it with them. A private note is read only by the team helping them. Never "internal", "external" or "customer" for a message: internal to whom, and on AlisX's own support the person who asked is a builder. Never "note" for anything the person who asked reads.
69
+ - **An [AppSegmented](AppSegmented.md) at the head of the composer**, in `.app-composer__audience` above the tray and editor, named "Who can read this"; Private note carries `lock`. The choice changes the composer in place, so it is never a select that hides the other choice, a context chip, a colour alone or a setting in Add. Two short words always fit; on a phone the line beside it wraps below.
70
+ - **Beside it, who reads it**: a reply says **To Thandi Mokoena**, or **To Thandi Mokoena and 1 other** (the people, never a role); a note says **Only the team helping Thandi**. Never "Only your team": the person who asked has teammates in the conversation too.
71
+ - **A note is quieter**: the box takes `surface-container-low` and keeps its shadow (`.is-note`), so the state is in view where you type, after the placeholder has gone. The lock, the segment's word and the line beside it carry the meaning; the fill only keeps it in sight.
72
+ - **The editor and Send repeat the choice**: the placeholder and the editor's accessible name are **Write a reply** / **Write a private note**; Send's accessible name and tooltip are **Send reply** / **Add private note**.
73
+ - **A new draft starts as Reply on AlisX's own support, and as Private note on a portal.** On our own support the person who asked is waiting on the team, and a note is written on purpose: knowing the content is private is when you look at the switch. On a portal a slip reaches our customer's own customer and can't be taken back, while a note sent by mistake only keeps them waiting. The product sets which; a choice applies to this message only.
74
+ - **Keep the audience while editing, uploading, validating or retrying.** Capture it with the message, its recipients and attachments when submitting. A new draft resets to the conversation's default; retrying an earlier message uses that message's captured audience, even if the current draft is different. Never carry a choice into another conversation or another person's session.
75
+ - With only one permitted audience, show no control. The side of the person who asked (a portal's customer, a builder on AlisX's support) only composes replies: no private option, no note metadata. Enforce audience and access on the server; hiding controls is not authorisation.
76
+ - Conversations with no private notes need no extra band. A terminal uses the same words and defaults in its composing status; its shortcut changes this draft only, never the next one or a sent message.
73
77
 
74
78
  ## Delivery and retry
75
79
 
@@ -160,52 +164,40 @@ Select text on a screen with a dock and **Ask Alis** appears by the selection (`
160
164
  <p class="app-composer__line text-meta">What you put here stays in your organisation.</p>
161
165
  </div>
162
166
 
163
- <!-- Internal note: the recipient remains visible while writing -->
167
+ <!-- A reply: who reads it stays in view while writing -->
164
168
  <div class="app-composer">
165
169
  <div class="app-composer__box">
166
170
  <div class="app-composer__audience">
167
- <div class="app-field">
168
- <label for="audience-internal" class="app-field__label text-label">Message visibility</label>
169
- <div class="app-field__box app-field__box--select">
170
- <select id="audience-internal" class="app-field__select" aria-describedby="recipient-internal">
171
- <option value="internal" selected>Internal note</option>
172
- <option value="customer">Note to customer</option>
173
- </select>
174
- <span class="app-icon" aria-hidden="true">expand_more</span>
175
- </div>
171
+ <div role="radiogroup" aria-label="Who can read this" class="app-seg">
172
+ <button type="button" role="radio" aria-checked="true" class="app-seg__item app-state is-selected">Reply</button>
173
+ <button type="button" role="radio" aria-checked="false" class="app-seg__item app-state"><span class="app-icon" aria-hidden="true">lock</span>Private note</button>
176
174
  </div>
177
- <p id="recipient-internal" class="text-meta">Only your team</p>
175
+ <p id="audience-reply" class="text-meta">To Thandi Mokoena and 1 other</p>
178
176
  </div>
179
- <div class="app-composer__editor"><textarea class="app-composer__input" rows="2" aria-label="Internal note" aria-describedby="recipient-internal" placeholder="Internal note">Check the failed request before replying.</textarea></div>
177
+ <div class="app-composer__editor"><textarea class="app-composer__input" rows="2" aria-label="Write a reply" aria-describedby="audience-reply" placeholder="Write a reply">The fix is ready for you to try.</textarea></div>
180
178
  <div class="app-composer__row">
181
179
  <button type="button" class="app-icon-btn app-state app-target" aria-label="Add files and more" title="Add files and more"><span class="app-icon" aria-hidden="true">add</span></button>
182
180
  <span class="app-composer__spacer"></span>
183
- <button type="button" class="app-composer__go app-state app-target" aria-label="Send internal note" title="Send internal note"><span class="app-icon-swap" aria-hidden="true"><span class="app-icon">arrow_upward</span><span class="app-icon">stop</span></span></button>
181
+ <button type="button" class="app-composer__go app-state app-target" aria-label="Send reply" title="Send reply"><span class="app-icon" aria-hidden="true">arrow_upward</span></button>
184
182
  </div>
185
183
  </div>
186
184
  </div>
187
185
 
188
- <!-- Note to customer: the recipient remains visible while writing -->
189
- <div class="app-composer">
186
+ <!-- A private note: quieter, with its lock; a portal's new draft starts here -->
187
+ <div class="app-composer is-note">
190
188
  <div class="app-composer__box">
191
189
  <div class="app-composer__audience">
192
- <div class="app-field">
193
- <label for="audience-customer" class="app-field__label text-label">Message visibility</label>
194
- <div class="app-field__box app-field__box--select">
195
- <select id="audience-customer" class="app-field__select" aria-describedby="recipient-customer">
196
- <option value="internal">Internal note</option>
197
- <option value="customer" selected>Note to customer</option>
198
- </select>
199
- <span class="app-icon" aria-hidden="true">expand_more</span>
200
- </div>
190
+ <div role="radiogroup" aria-label="Who can read this" class="app-seg">
191
+ <button type="button" role="radio" aria-checked="false" class="app-seg__item app-state">Reply</button>
192
+ <button type="button" role="radio" aria-checked="true" class="app-seg__item app-state is-selected"><span class="app-icon app-icon--filled" aria-hidden="true">lock</span>Private note</button>
201
193
  </div>
202
- <p id="recipient-customer" class="text-meta">To Thandi Mokoena</p>
194
+ <p id="audience-note" class="text-meta">Only the team helping Thandi</p>
203
195
  </div>
204
- <div class="app-composer__editor"><textarea class="app-composer__input" rows="2" aria-label="Note to customer" aria-describedby="recipient-customer" placeholder="Note to customer">The fix is ready for you to try.</textarea></div>
196
+ <div class="app-composer__editor"><textarea class="app-composer__input" rows="2" aria-label="Write a private note" aria-describedby="audience-note" placeholder="Write a private note">Check the failed request before replying.</textarea></div>
205
197
  <div class="app-composer__row">
206
198
  <button type="button" class="app-icon-btn app-state app-target" aria-label="Add files and more" title="Add files and more"><span class="app-icon" aria-hidden="true">add</span></button>
207
199
  <span class="app-composer__spacer"></span>
208
- <button type="button" class="app-composer__go app-state app-target" aria-label="Send note to customer" title="Send note to customer"><span class="app-icon" aria-hidden="true">arrow_upward</span></button>
200
+ <button type="button" class="app-composer__go app-state app-target" aria-label="Add private note" title="Add private note"><span class="app-icon-swap" aria-hidden="true"><span class="app-icon">arrow_upward</span><span class="app-icon">stop</span></span></button>
209
201
  </div>
210
202
  </div>
211
203
  </div>
@@ -373,4 +365,4 @@ Select text on a screen with a dock and **Ask Alis** appears by the selection (`
373
365
 
374
366
  ## Classes
375
367
 
376
- `.app-composer`, `.app-icon-swap`, `.is-swapped`, `.app-composer__audience`, `.is-locked`, `.app-composer__go--plain`, `.is-alis`, `.is-muted`, `.app-composer__light`, `.app-composer__box`, `.app-composer__tray`, `.app-composer__drop`, `.app-composer__editor`, `.app-composer__input`, `.app-composer__interim`, `.app-composer__row`, `.app-composer__spacer`, `.app-composer__go`, `.app-composer__go-label`, `.app-composer__rec`, `.app-composer__meter`, `.app-composer__timer`, `.app-composer__capture`, `.is-paused`, `.app-composer__capture-label`, `.app-capture-thumb`, `.is-empty`, `.app-capture-peek`, `.app-capture-peek__head`, `.app-capture-peek__title`, `.app-capture-peek__frame`, `.app-capture-peek__note`, `.app-composer__status`, `.app-composer__line`, `.is-error`, `.app-composer__line-action`, `.app-dock`, `.app-composer__lift`, `.is-settled`, `.app-composer__trace`, `.app-composer__quote`, `.app-composer__quote-text`, `.app-selection-ask`, with `.drop-target` on the drop, `.app-state` on every button, `.app-target` on the icon buttons and the capture bar's buttons, `.app-btn--error` on Stop recording, and `.app-compact-only` on Pause's glyph.
368
+ `.app-composer`, `.app-icon-swap`, `.is-swapped`, `.app-composer__audience`, `.is-note`, `.is-locked`, `.app-composer__go--plain`, `.is-alis`, `.is-muted`, `.app-composer__light`, `.app-composer__box`, `.app-composer__tray`, `.app-composer__drop`, `.app-composer__editor`, `.app-composer__input`, `.app-composer__interim`, `.app-composer__row`, `.app-composer__spacer`, `.app-composer__go`, `.app-composer__go-label`, `.app-composer__rec`, `.app-composer__meter`, `.app-composer__timer`, `.app-composer__capture`, `.is-paused`, `.app-composer__capture-label`, `.app-capture-thumb`, `.is-empty`, `.app-capture-peek`, `.app-capture-peek__head`, `.app-capture-peek__title`, `.app-capture-peek__frame`, `.app-capture-peek__note`, `.app-composer__status`, `.app-composer__line`, `.is-error`, `.app-composer__line-action`, `.app-dock`, `.app-composer__lift`, `.is-settled`, `.app-composer__trace`, `.app-composer__quote`, `.app-composer__quote-text`, `.app-selection-ask`, with `.drop-target` on the drop, `.app-state` on every button, `.app-target` on the icon buttons and the capture bar's buttons, `.app-btn--error` on Stop recording, and `.app-compact-only` on Pause's glyph.
@@ -67,22 +67,22 @@ Alis is never typing or seen: the phases already say what Alis is doing.
67
67
 
68
68
  ## Message audience
69
69
 
70
- In the responder's view of a conversation that mixes team and customer messages,
71
- show a separate `.app-turn__audience` meta line **under the author and time** and
72
- above the content: `lock` **Internal** or `outgoing_mail` **External**. The icon
73
- is decorative; the word carries the meaning. Keep it in `on-surface-variant`,
74
- never a coloured bubble or a bracketed prefix in the message body.
70
+ In the helpers' view of a conversation that holds private notes, a private note
71
+ carries a `.app-turn__audience` meta line **under the author and time** and above
72
+ the content: `lock` **Private note**. A reply carries none: everyone in the
73
+ conversation reads it, which is the usual case, so only the exception is marked.
74
+ The icon is decorative; the words carry the meaning. Keep it in
75
+ `on-surface-variant`, never a coloured bubble or a bracketed prefix in the body.
75
76
 
76
77
  - Record the audience from the sent message, not the current composer's choice.
77
- Every message keeps its annotation, including consecutive messages from the
78
- same person. If grouping suppresses the author line, keep the audience line.
79
- - **Internal** means only authorised team members. **External** means visible
80
- to the customer, including messages the customer sent. The customer's own
81
- portal has no internal messages, counts, snippets, attachments or audience
82
- annotations; filter these on the server, not by hiding DOM elements.
83
- - A failed submitted turn keeps that same annotation and its captured recipient.
84
- Try again resends the same message, never the current draft. A terminal uses
85
- the same **Internal / External** words beneath its author/time metadata.
78
+ Every note keeps its line, including consecutive notes from the same person. If
79
+ grouping suppresses the author line, keep the audience line.
80
+ - The side of the person who asked has no private notes, counts, snippets,
81
+ attachments or annotations of them; filter these on the server, not by hiding
82
+ DOM elements.
83
+ - A failed note keeps its line and its captured audience. Try again resends the
84
+ same message, never the current draft. A terminal uses the same **Private note**
85
+ words beneath its author/time metadata, and nothing on a reply.
86
86
 
87
87
  ## A request
88
88
 
@@ -174,16 +174,15 @@ Northwind 120 —</pre></li>
174
174
  <div class="app-turn__who"><span class="app-turn__avatar" aria-hidden="true">TM</span><span class="text-label">Thandi Mokoena</span><span class="text-meta">Build specialist · 09:20</span></div>
175
175
  <div class="app-turn__row"><div class="app-turn__bubble">I've got it. I'll split the index into its own step.</div></div>
176
176
  </div>
177
- <!-- Message audiences: responder view only -->
177
+ <!-- Message audiences: the helpers' view only; a reply carries no line -->
178
178
  <div class="app-thread">
179
179
  <div class="app-turn app-turn--them">
180
- <div class="app-turn__who"><span class="app-turn__avatar" aria-hidden="true">TM</span><span class="text-label">Thandi Mokoena</span><span class="text-meta">09:20</span></div>
181
- <p class="app-turn__audience text-meta"><span class="app-icon" aria-hidden="true">lock</span>Internal</p>
180
+ <div class="app-turn__who"><span class="app-turn__avatar" aria-hidden="true">JK</span><span class="text-label">Jan Krynauw</span><span class="text-meta">09:20</span></div>
181
+ <p class="app-turn__audience text-meta"><span class="app-icon" aria-hidden="true">lock</span>Private note</p>
182
182
  <div class="app-turn__row"><div class="app-turn__bubble">The upload completed; processing still needs checking.</div></div>
183
183
  </div>
184
184
  <div class="app-turn app-turn--you">
185
185
  <div class="app-turn__who"><span class="text-label">You</span><span class="text-meta">09:22</span></div>
186
- <p class="app-turn__audience text-meta"><span class="app-icon" aria-hidden="true">outgoing_mail</span>External</p>
187
186
  <div class="app-turn__row"><div class="app-turn__bubble">Your file is ready. Could you try again?</div></div>
188
187
  <p class="app-turn__line text-meta is-error"><span class="app-icon" aria-hidden="true">error</span>Didn't send<button type="button" class="app-turn__line-action">Try again</button></p>
189
188
  </div>
package/hosts/teams.json CHANGED
@@ -125,6 +125,7 @@
125
125
  "error": "ErrorCircle",
126
126
  "warning": "Warning",
127
127
  "info": "Info",
128
+ "check": "Checkmark",
128
129
  "block": "Prohibited",
129
130
  "description": "Document",
130
131
  "article": "DocumentText",
package/hosts/teams.md CHANGED
@@ -86,8 +86,9 @@ above a streamed reply): it carries the latest step's words while the turn
86
86
  runs.
87
87
 
88
88
  **The task card updates in place.** Alis updates the card it sent rather than
89
- sending a new one, and a refresh keeps it current for each person. A working
90
- step shows Teams' own progress ring; there's no progress bar unless the work is
89
+ sending a new one, and a refresh keeps it current for each person. The step
90
+ running shows Teams' own progress ring, as does the state line while it works,
91
+ and a step done Teams' checkmark in `on-surface-variant`; there's no progress bar unless the work is
91
92
  counted ([AppProgress](../components/AppProgress.md)). Long work is a task card,
92
93
  never a reply left streaming: a stream closes at 10 minutes.
93
94
 
@@ -97,6 +98,8 @@ that doesn't (it waits on an ask, fails, or outlasts the stream) gets the task
97
98
  card as soon as the stream closes, then the things and the ask after it. Steps
98
99
  fold behind a Show steps disclosure (`Action.ToggleVisibility`): the latest
99
100
  twelve, and the whole list on the task's page. Never paged inside the card.
101
+ The disclosure is a row, not a button: the earlier steps counted by kind, and
102
+ Show at its trailing edge.
100
103
 
101
104
  **The expanded view, for now, is the Tasks tab** (opened in Stageview). A
102
105
  dialog holding a page is the long-term surface; until one is built, the tab is
@@ -127,7 +130,8 @@ icon use it, through this map (names to be checked by the card probe):
127
130
  | `error` failed | `ErrorCircle` |
128
131
  | `warning` | `Warning` |
129
132
  | `info` | `Info` |
130
- | `block` not now | `Prohibited` |
133
+ | `check` a step done | `Checkmark` |
134
+ | `block` not now, stopped | `Prohibited` |
131
135
  | `description` a document | `Document` |
132
136
  | `article` | `DocumentText` |
133
137
  | `draft` | `DocumentEdit` |
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alis-build/design-system",
3
- "version": "0.80.1",
3
+ "version": "0.82.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
@@ -141,7 +141,7 @@ for one host. Five things, each from a component the system already has.
141
141
  | **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 |
142
142
  | **Alis needs you** | [AppAsk](../components/AppAsk.md), any kind | A card. The question is its title, under a first line that says it waits and until when ("Waiting for you · until 15:30"); up to four fields say what will happen. Options are rows you press to answer, never buttons. Choose several is the host's own checklist, then the verb. Then Not now, AppAsk's one wider scope where the ask offers it, and the verb named by its outcome, in AppAsk's order. A press or an answer typed in the host's composer closes it: "yes, go ahead" allows it, except where the host's own agent answers, whose profile says what counts. It then reads back as AppAsk's record ("Allowed: Send 6 invites", "Not now: …") and loses its actions. Connect is AppAsk's Connect |
143
143
  | **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. Alone on a card it carries its state's actions (below); a row in a list opens it and carries no button |
144
- | **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" |
144
+ | **Work** | AppTurn's steps, with the composer's Stop | The task card: a first line with its state in words (§ From the agent's message) and the state's icon, then the task's name as its title, then the latest three steps, the one running marked and the rest in `on-surface-variant`. Once finished the first line is AppTurn's ("Finished · worked for 42s · 6 steps") and the steps fold away |
145
145
  | **Too big for a card** | [AppFilePane](../components/AppFilePane.md), a page | The expanded view: an embedded page beside or over the conversation, where the host has one. *Open task* opens a task there; *Open interview* (the thing's name) opens a thing in the console |
146
146
 
147
147
  **The task card carries the composer's controls**, because in a host the
@@ -252,12 +252,12 @@ A piece the agent gains is added here before any host draws it.
252
252
  | **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. |
253
253
  | **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 |
254
254
  | **An approval**, a plan | Alis needs you: Approve | Title "Run this plan?". Body: the plan's first six lines that aren't blank; a longer plan ends with a link to the whole of it in the expanded view. Not now · Run without asking · **Run it**. Run it answers with `MANUAL` (asks before every change), Run without asking with `AUTO`, and still stops for anything grave. What should change, you say in the host's composer |
255
- | **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 |
256
- | **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 |
255
+ | **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, as rows of things are: past five, four and then a row that opens all of them in the expanded view ("See all 7 regions"); a card never drops an option without saying so. 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 |
256
+ | **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 that verb doesn't fit at 320 it is Connect, since the title names the account. Where the host signs people in itself, the host's sign-in, and nothing of ours |
257
257
  | **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 |
258
258
  | **A file** | A thing | AppAttachment's glyph for its kind, or the picture (`thumbnail_uri`) when it's an image; its `description`, or else its `file_name`; its kind and size as the detail ("HTML page · 6 KB"). Opens in the expanded view. "Deleted" once it's gone: a file the agent serves (it has a `uri`) and found neither a write time nor a size for. One it names but doesn't serve is never taken for gone |
259
259
  | **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 |
260
- | **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 |
260
+ | **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` in words ("2 added, 3 changed", a zero left out, never "+2 ~3 -0"), 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 |
261
261
  | **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 |
262
262
  | **The turn's state** | The task card | Below |
263
263
 
@@ -292,7 +292,12 @@ alone is safe to press.
292
292
 
293
293
  **The wider scope** is AppAsk's one: the first of the request's `grants`, as
294
294
  "Allow alis build commands for this session" (its `title`), and only when the
295
- risk is `CHANGE` or none. A grave approval never offers one.
295
+ risk is `CHANGE` or none. A grave approval never offers one. **Where three
296
+ actions don't fit at 320**, the wider scope is a row of its own above Not now
297
+ and the verb, pressed like an option: its label ("Allow for this session"),
298
+ and under it a line on what it reaches ("Alis runs alis build commands without
299
+ asking until the session ends"). A plan's Run without asking is the same row
300
+ ("Alis still stops for anything grave"). It stays the only third choice.
296
301
 
297
302
  **The records** an approval leaves, in AppAsk's words: "Allowed: Run this
298
303
  command" (or the act, once the agent says it), "Allowed for this session: alis
@@ -351,9 +356,18 @@ glyph. The glyph is drawn only where the host draws Material Symbols (rule 8):
351
356
  | The session is RUNNING | Working, and the latest steps |
352
357
  | The session is AWAITING_APPROVAL | Waiting for you |
353
358
  | A stop was asked, and the turn hasn't ended | Stopping |
354
- | The turn ended CANCELLED | Stopped |
355
- | The turn ended FAILED | Failed, and `error_message` as its line |
356
- | The turn ended COMPLETED | Finished, and "Worked for 42s · 6 steps" |
359
+ | The turn ended CANCELLED | Stopped, who and when ("Stopped · by you at 15:21") |
360
+ | The turn ended FAILED | Failed, in `error`; `error_message` in ink as its line, then where it stopped |
361
+ | The turn ended COMPLETED | Finished, and "worked for 42s · 6 steps" |
362
+
363
+ Where the host's adapter holds the task and the agent can't say, three more,
364
+ each with the one move that helps:
365
+
366
+ | The adapter knows | The card reads | Its action |
367
+ | --- | --- | --- |
368
+ | Alis isn't turned on for the person | Can't start yet, `warning`, and who acts in a sentence ("Ask your administrator to turn it on.") | Help and support; never Try again, which fails the same way |
369
+ | The AlisX account has to be connected again | Waiting for you, and "Connect your AlisX account again to carry on." | Connect your AlisX account |
370
+ | It isn't known whether the request reached Alis | Not sure it reached Alis, `warning`, and "Open the task to check before you send it again, so nothing runs twice." | Open task alone; never Try again, which could run an action twice |
357
371
 
358
372
  **Steps counted by kind**, past the three shown, in one line in this order:
359
373
  "Read 9 files, edited 2 files, searched 3 times, opened 2 pages, ran 4
package/words.json CHANGED
@@ -261,6 +261,22 @@
261
261
  "retired": ["support ticket", "support tickets"],
262
262
  "avoid": ["ticket (on screen)"]
263
263
  },
264
+ {
265
+ "name": "reply",
266
+ "plural": "replies",
267
+ "product": "all",
268
+ "means": "A message everyone in a conversation reads: the person who asked and anyone on it with them. The one choice beside a private note when you are helping (AppComposer § Message audience).",
269
+ "retired": ["reply to customer", "note to customer"],
270
+ "avoid": ["external (for a message)", "customer (for the person who asked, outside a portal)"]
271
+ },
272
+ {
273
+ "name": "private note",
274
+ "plural": "private notes",
275
+ "product": "all",
276
+ "means": "A message only the team helping in a conversation reads, never the person who asked or anyone on it with them. Marked with a lock and its name in the thread.",
277
+ "retired": ["internal note", "internal notes"],
278
+ "avoid": ["internal (for a message)", "note (for anything the person who asked reads)"]
279
+ },
264
280
  {
265
281
  "name": "file",
266
282
  "plural": "files",