@alis-build/design-system 0.70.4 → 0.71.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/claude-ai.json +6 -2
- package/hosts/claude-ai.md +8 -3
- package/package.json +1 -1
- package/rules/hosts.md +23 -2
package/hosts/claude-ai.json
CHANGED
|
@@ -206,10 +206,14 @@
|
|
|
206
206
|
"opens": {
|
|
207
207
|
"file": "expanded",
|
|
208
208
|
"reference": "the browser",
|
|
209
|
-
"operation": "its logs, in the browser",
|
|
209
|
+
"operation": "its logs, in the expanded view; the browser where there's none",
|
|
210
210
|
"link": "the browser"
|
|
211
211
|
},
|
|
212
|
-
"allowedLinks": "the AlisX console, the docs and artifacts, so Claude doesn't ask first"
|
|
212
|
+
"allowedLinks": "the AlisX console, the docs and artifacts, so Claude doesn't ask first",
|
|
213
|
+
"actions": "alone on a card: its state's next step and Open, two at most; nothing that takes something away",
|
|
214
|
+
"list": "rows carry no button; a row opens its thing in the expanded view, the AlisX console where there's none",
|
|
215
|
+
"waysIn": "versions, links, logs, sharing: in the expanded view, never inside the card",
|
|
216
|
+
"takingAway": "delete, unpublish, close, unshare: asked for in the chat, answered with an ask; only the person's press does it"
|
|
213
217
|
},
|
|
214
218
|
"progress": {
|
|
215
219
|
"whileRunning": "Claude's tool call and its spinner",
|
package/hosts/claude-ai.md
CHANGED
|
@@ -159,9 +159,14 @@ card can be skipped (Always allow, perhaps Auto), and where neither can be
|
|
|
159
159
|
pressed the AlisX console decides. Until it's ruled, the tool that answers
|
|
160
160
|
says, first in its description, that only the person decides.
|
|
161
161
|
|
|
162
|
-
**Things open where they live.** A
|
|
163
|
-
|
|
164
|
-
|
|
162
|
+
**Things open where they live.** A thing alone carries its state's actions
|
|
163
|
+
(Deploy to Development, Start, Publish) and *Open*. A row in a list, and every
|
|
164
|
+
way in (versions, links, logs, sharing), opens in Claude's side panel, and in
|
|
165
|
+
the AlisX console where Claude can't expand. What takes something away (Delete,
|
|
166
|
+
Unpublish, Close) is never on a thing: asked for in the chat, it comes back as
|
|
167
|
+
an ask, and the person's press does it. A reference and a link open in the
|
|
168
|
+
browser; the AlisX console, the docs and artifacts are allowed links on the
|
|
169
|
+
listing, so Claude doesn't ask first.
|
|
165
170
|
|
|
166
171
|
**The work is Claude's tool call, then the task card.** Claude's tool call and
|
|
167
172
|
its spinner are the working line. With widgets, the task card carries the
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alis-build/design-system",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.71.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
|
@@ -97,7 +97,7 @@ for one host. Five things, each from a component the system already has.
|
|
|
97
97
|
| --- | --- | --- |
|
|
98
98
|
| **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 |
|
|
99
99
|
| **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, 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 |
|
|
100
|
-
| **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.
|
|
100
|
+
| **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 |
|
|
101
101
|
| **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" |
|
|
102
102
|
| **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 |
|
|
103
103
|
|
|
@@ -110,6 +110,26 @@ your choice, never confirmed and never red ([AppTurn](../components/AppTurn.md))
|
|
|
110
110
|
appear only when the answer carries exactly one thing (one file or one
|
|
111
111
|
reference); with none or several, *Open task* alone.
|
|
112
112
|
|
|
113
|
+
**A thing carries its state's actions**, the way the task card does, where a
|
|
114
|
+
press reaches what it acts on. Two at most: its next step, then *Open* and its
|
|
115
|
+
kind ("Open build"); with no next step, *Open* alone. Where the thing stands
|
|
116
|
+
picks the step: *Stop* while it runs, acting at once; *Try again* when it
|
|
117
|
+
failed, beside *Open logs*; once built, the deploy to the next environment,
|
|
118
|
+
named ("Deploy to Development"); *Start* a stopped workstation; *Publish* a
|
|
119
|
+
draft. **Nothing that takes something away is offered on a thing**: deleting,
|
|
120
|
+
unpublishing, closing, unsharing, stopping what serves people. When the person
|
|
121
|
+
asks for one, the answer is an ask ([AppAsk](../components/AppAsk.md): "Delete
|
|
122
|
+
Launch notes?", what is lost as its fields, Not now, the verb), and only their
|
|
123
|
+
press does it, as a change to Production is asked.
|
|
124
|
+
|
|
125
|
+
**A list is for finding.** Rows of things carry no button: a row opens its
|
|
126
|
+
thing, a card of its own with its state's actions, in the expanded view where
|
|
127
|
+
the host has one, otherwise at its page in the console. What a thing holds
|
|
128
|
+
(its versions, its links, its logs, who it is shared with) is a way in, and
|
|
129
|
+
opens there too, never inside the card: a card never navigates (rule 2). The
|
|
130
|
+
expanded view is a page, so moving around in it is fine, with a back that
|
|
131
|
+
names where you came from ([page.md](page.md)).
|
|
132
|
+
|
|
113
133
|
**A card the host can't change.** Microsoft Teams updates a card it drew;
|
|
114
134
|
Microsoft 365 Copilot and Gemini Enterprise can't. There, a card is drawn once
|
|
115
135
|
and stands as a record of that moment: a task card says when ("Working ·
|
|
@@ -267,7 +287,8 @@ These hold everywhere, and a profile never repeats them:
|
|
|
267
287
|
not actions. AppAsk's one wider scope is the only third, and only on an ask
|
|
268
288
|
that approves: a grant on a command, Run without asking on a plan.
|
|
269
289
|
2. **Nothing scrolls inside a card or a widget.** No tabs, no menus, no
|
|
270
|
-
drill-in, no paging, no search inside one. Long content
|
|
290
|
+
drill-in, no paging, no search inside one. Long content and every way into a
|
|
291
|
+
thing go to the expanded view.
|
|
271
292
|
3. **No message box of our own.** The host's composer is the only one: no note
|
|
272
293
|
field inside an ask, no "answer in your own words" box, no ask-about-this
|
|
273
294
|
field on a thing, because what you type in the composer is all of those.
|