@alis-build/design-system 0.64.0 → 0.65.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/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.65.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