@alis-build/design-system 0.70.0 → 0.70.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -18,6 +18,30 @@ A file, recording or queued message waiting in the composer's tray, and the same
18
18
  - **Gone** (`is-gone`, deleted since): a `div`, not pressable and with no state layer; the meta line says "Deleted", in ink, and the glyph sits on an outline. Not red: nothing failed.
19
19
  - **A queued message** (`app-attachment--message`) takes the tray's full width: `schedule`, the text, "Sends when Alis finishes", edit and remove.
20
20
 
21
+ ## The kind and the size
22
+
23
+ The meta line's first half is the file's kind, in these words, and its second the size. Read the kind from the media type, then the extension.
24
+
25
+ | The file | Kind | Glyph |
26
+ | --- | --- | --- |
27
+ | An HTML page | HTML page | `web` |
28
+ | An SVG | SVG image | `shapes` |
29
+ | Markdown | Markdown | `article` |
30
+ | Code | Code | `code` |
31
+ | Plain text | Text | `text_snippet` |
32
+ | A CSV | CSV table | `table` |
33
+ | A PDF | PDF | `description` |
34
+ | An image | Image | the picture, or `image` |
35
+ | Audio | Audio | `graphic_eq` |
36
+ | Video | Video | `movie` |
37
+ | A spreadsheet | Spreadsheet | `table` |
38
+ | A presentation | Presentation | `slideshow` |
39
+ | A document | Its extension in capitals ("DOCX") | `description` |
40
+ | Anything else | Its extension in capitals ("ZIP"), or nothing | `draft` |
41
+
42
+ - **The size**: under 1 KB in bytes ("512 B"), then whole kilobytes ("6 KB"), then megabytes to one decimal ("2.4 MB"), at 1024 a step. None when it isn't known.
43
+ - **Joined by " · "**: "Markdown · 11 KB". A screen capture is an image, and a recording keeps `screen_record` only where the product says it is one.
44
+
21
45
  ## Upload lifecycle
22
46
 
23
47
  The product supplies allowed file kinds, size/count limits and concurrency. State
package/hosts/teams.md CHANGED
@@ -151,7 +151,8 @@ map is added here first, never borrowed.
151
151
  a project, an interview, an artifact, a skill, a spec, a define, build or
152
152
  deploy, an agent session and diagnostics are drawn without one, and the detail
153
153
  line names the kind ("Interview · Alis Ideate"). The map holds plain things and
154
- states only ([rules/hosts.md](../rules/hosts.md) § Every host, rule 8).
154
+ states only ([rules/hosts.md](../rules/hosts.md) § Every host, rule 8). A card
155
+ whose rows mix our things and plain ones draws no icon on any row.
155
156
 
156
157
  **The theme map.** An embedded page (a tab, a dialog holding a page) reads Teams'
157
158
  theme from its context and follows its change, then sets `data-theme` through
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alis-build/design-system",
3
- "version": "0.70.0",
3
+ "version": "0.70.1",
4
4
  "description": "The AlisX design system for coding agents: tokens, product CSS, component markup, capability marks, words and rules.",
5
5
  "keywords": ["alisx", "design-system", "design-tokens", "css"],
6
6
  "homepage": "https://alisx.com",
package/rules/hosts.md CHANGED
@@ -136,11 +136,11 @@ A piece the agent gains is added here before any host draws it.
136
136
  | **A step** (`Command`, by its `summary`) | A step of the work | Its summary ("Creating the interview"), never the command line. The latest three show; the rest are one line counted by kind (below). A step with no summary is counted, never listed. A hand-over to a specialist (`Delegation`) isn't a step of its own: the steps taken under it (`parent`) are |
137
137
  | **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. |
138
138
  | **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 |
139
- | **An approval**, a plan | Alis needs you: Approve | Title "Run this plan?". Body: the plan's first six lines; a longer plan ends with a link to the whole of it in the expanded view. Not now · Run without asking · **Run it**. Run it answers with `MANUAL` (asks before every change), Run without asking with `AUTO`, and still stops for anything grave. What should change, you say in the host's composer |
139
+ | **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 |
140
140
  | **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 |
141
141
  | **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 |
142
142
  | **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 |
143
- | **A file** | A thing | AppAttachment's glyph for its kind, or the picture (`thumbnail_uri`) when it's an image; its `description`, or else its `file_name`; its kind and size as the detail ("HTML page · 6 KB"). Opens in the expanded view. "Deleted" once it's gone: a file the agent found neither a write time nor a size for |
143
+ | **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 |
144
144
  | **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 |
145
145
  | **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 |
146
146
  | **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 |
@@ -191,21 +191,22 @@ plan, asking before every change", "Allowed: Run this plan without asking",
191
191
  **A reference's kind**, from the last collection in its name (`…/products/…`,
192
192
  `…/interviews/…`): names nest (`organisations/acme/products/ledger` is a
193
193
  product), so read the segment before the last id, never the first. A
194
- collection not listed has no detail but its `description`:
194
+ collection not listed has no detail but its `description`, and `link` for its
195
+ glyph. The glyph is drawn only where the host draws Material Symbols (rule 8):
195
196
 
196
- | The last collection in its name | The detail |
197
- | --- | --- |
198
- | `ideas` | Project · Alis Ideate |
199
- | `interviews` | Interview · Alis Ideate |
200
- | `artifacts` | Artifact · Alis Ideate |
201
- | `collections` | Collection · Alis Ideate |
202
- | `contributionSessions` | Contribution · Alis Ideate |
203
- | `skills` | Skill · AlisX Skill Store |
204
- | `products` | Product · Alis Build |
205
- | `workstations` | Workstation · Alis Build |
206
- | `tickets` | Conversation · Support |
207
- | `sessions` | Chat |
208
- | `accounts`, `organisations` | Account |
197
+ | The last collection in its name | The detail | The glyph |
198
+ | --- | --- | --- |
199
+ | `ideas` | Project · Alis Ideate | `lightbulb` |
200
+ | `interviews` | Interview · Alis Ideate | `record_voice_over` |
201
+ | `artifacts` | Artifact · Alis Ideate | `description` |
202
+ | `collections` | Collection · Alis Ideate | `folder_open` |
203
+ | `contributionSessions` | Contribution · Alis Ideate | `forum` |
204
+ | `skills` | Skill · AlisX Skill Store | `extension` |
205
+ | `products` | Product · Alis Build | `inventory_2` |
206
+ | `workstations` | Workstation · Alis Build | `computer` |
207
+ | `tickets` | Conversation · Support | `support_agent` |
208
+ | `sessions` | Chat | `chat` |
209
+ | `accounts`, `organisations` | Account | `business` |
209
210
 
210
211
  **The task card's state**, in words, from the turn:
211
212
 
@@ -280,14 +281,19 @@ These hold everywhere, and a profile never repeats them:
280
281
  state's icon in its state's role. Never one beside a title for its own sake,
281
282
  never a colour for a kind of thing, never an emoji or a hand-drawn icon: the
282
283
  host's icon set, through the profile's name map ([icons.md](icons.md)).
283
- **A thing of ours** (a project, an interview, an artifact, a skill, a spec,
284
- a define, build or deploy, an agent session, diagnostics) takes our own glyph
285
- only where the host draws Material Symbols; anywhere else it has **no icon**,
286
- and its detail line names its kind ("Interview · Alis Ideate"). Another
284
+ **A thing's identity is its words**: its kind line ("Interview · Alis
285
+ Ideate") reads the same in every host and in the console; an icon is a help
286
+ to scanning, given only when it is exactly the console's. So **a thing of
287
+ ours** (a project, an interview, an artifact, a skill, a spec, a define,
288
+ build or deploy, an agent session, diagnostics) takes the Material Symbol
289
+ the system gives it (the kind table below, and AppAttachment) only where the
290
+ host draws Material Symbols; anywhere else it has **no icon**. Another
287
291
  set's icon never stands for something we make. A capability mark never goes
288
- on a card: it names a tool, and a host can't draw it in the host's theme.
289
- A plain thing (a document, a sheet, a video, a link) and a state keep the
290
- host's icon.
292
+ on a card: it names a tool, not a thing, and a host can't draw our drawing
293
+ in its theme. A plain thing (a document, a sheet, a video, a link) and a
294
+ state keep the host's icon. **Within one card, every row has an icon or
295
+ none does**: a document beside a project in a host that draws no glyph for
296
+ the project loses its own too, so the rows line up.
291
297
  9. **The words of the product**, and the names in § Names. Alis is named,
292
298
  never "your agent", "the agent" or "the assistant". The work is a *task*; *session* is only a coding-agent
293
299
  session; never *workspace*. Never tell someone to type a command ("Send