@alis-build/design-system 0.70.4 → 0.72.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/components/AppAsk.md +4 -3
- package/hosts/claude-ai.json +12 -3
- package/hosts/claude-ai.md +12 -3
- package/package.json +1 -1
- package/rules/hosts.md +34 -2
package/components/AppAsk.md
CHANGED
|
@@ -52,13 +52,13 @@ A band at the top of the composer's surface, above the editor, divided from it b
|
|
|
52
52
|
| **When it arrives** | At the end of Alis's turn; focus moves to the band | At any moment, so it docks **without moving focus** and is announced politely |
|
|
53
53
|
| **The title** | The act: "Deploy v1.43.0 to staging?" | The person and the act: "Give Martha Mukama builder access to inovar?" |
|
|
54
54
|
| **What you send** | Your answer; it closes the ask. Placeholder *Or tell Alis something else* | A reply; the ask stays. Placeholder *Reply to Martha* |
|
|
55
|
-
| **Saying no** | Not now | Decline, with a reason they read. Not now when they ask you to produce something: no reason |
|
|
55
|
+
| **Saying no** | Not now | Decline, with a reason they read if you give one. Not now when they ask you to produce something: no reason |
|
|
56
56
|
| **It closes on** | Any answer | A decision, by anyone who can make it, or what you produced arriving |
|
|
57
57
|
| **It lapses** | When the product gives it a time | Never, unless the product gives it a time |
|
|
58
58
|
| **The outcome** | Your turn: a bubble, or a record line | Their request's state line, naming who decided. No record turn |
|
|
59
59
|
| **Skip** | On a run of Alis's questions | Never |
|
|
60
60
|
|
|
61
|
-
- **Decline
|
|
61
|
+
- **Decline offers a reason, never demands one.** Decline opens a field in the band, "Reason for Martha", its supporting line "Optional. Martha reads it.", and the actions become Back (text) and Decline (filled: nothing is destroyed, so not `error`). Focus moves to the field; Back returns it to Decline. Decline with the field empty declines without a reason. In a host, where the composer is the host's, Decline declines at once ([hosts.md](../rules/hosts.md) § What we send).
|
|
62
62
|
- **Access to a thing** ([access.md](../rules/access.md) § Asking for more): the title names the person, the role and the thing ("Give Priya Naidoo Editor access to Renewal calls?"), the body is their note in their words, and the filled action is Grant Editor access. Deciding updates the line where they asked: "Declined by Jan Krynauw: …" with Request again, or the controls their new role allows.
|
|
63
63
|
- **One value at most** when the decision needs one (the organisation id when you set one up): an [AppTextField](AppTextField.md) above the actions, filled with what they suggested.
|
|
64
64
|
- **Produce it**: the body says how, with the command in mono, and the action copies it (text). When it arrives in the thread as an [AppAttachment](AppAttachment.md) the ask closes and their request reads "Shared by Martha". Not now closes it, and the request reads "Not shared by Martha".
|
|
@@ -162,7 +162,8 @@ A band at the top of the composer's surface, above the editor, divided from it b
|
|
|
162
162
|
<div class="app-ask__head"><h3 class="app-ask__title text-object-title" id="ask-12">Give Martha Mukama builder access to inovar?</h3></div>
|
|
163
163
|
<div class="app-field">
|
|
164
164
|
<label for="ask-12-reason" class="app-field__label text-label">Reason for Martha</label>
|
|
165
|
-
<div class="app-field__box"><input id="ask-12-reason" class="app-field__input"></div>
|
|
165
|
+
<div class="app-field__box"><input id="ask-12-reason" class="app-field__input" aria-describedby="ask-12-reason-line"></div>
|
|
166
|
+
<p id="ask-12-reason-line" class="app-field__support text-supporting">Optional. Martha reads it.</p>
|
|
166
167
|
</div>
|
|
167
168
|
<div class="app-ask__actions">
|
|
168
169
|
<button type="button" class="app-btn app-state">Back</button>
|
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",
|
|
@@ -421,5 +425,10 @@
|
|
|
421
425
|
"page": "2026-11-09",
|
|
422
426
|
"checked": "2026-11-16"
|
|
423
427
|
}
|
|
424
|
-
]
|
|
428
|
+
],
|
|
429
|
+
"personRequest": {
|
|
430
|
+
"decline": "at once, on the card's press; no reason field",
|
|
431
|
+
"reason": "optional: a reply on the requester's conversation, typed to Claude, which may offer to pass one on",
|
|
432
|
+
"record": "Declined: Martha Botha's builder access"
|
|
433
|
+
}
|
|
425
434
|
}
|
package/hosts/claude-ai.md
CHANGED
|
@@ -150,6 +150,10 @@ in the expanded view, or are all listed where there's none. A pick goes to
|
|
|
150
150
|
Alis as its answer, not through Claude. Your own answer, where it's welcome,
|
|
151
151
|
you give in Claude's composer, and Claude passes it on.
|
|
152
152
|
|
|
153
|
+
**A person's request declines at once.** Decline on the card declines it,
|
|
154
|
+
with no reason field; Claude knows of the press and may offer to tell the
|
|
155
|
+
requester why, which goes as a reply on their conversation.
|
|
156
|
+
|
|
153
157
|
**Approvals: what counts is open.** Typed words reach Claude, not Alis, and in
|
|
154
158
|
Auto Claude may answer an approval without showing anyone a card, so Alis
|
|
155
159
|
can't tell the person's yes from Claude's judgement. The leaning, which the
|
|
@@ -159,9 +163,14 @@ card can be skipped (Always allow, perhaps Auto), and where neither can be
|
|
|
159
163
|
pressed the AlisX console decides. Until it's ruled, the tool that answers
|
|
160
164
|
says, first in its description, that only the person decides.
|
|
161
165
|
|
|
162
|
-
**Things open where they live.** A
|
|
163
|
-
|
|
164
|
-
|
|
166
|
+
**Things open where they live.** A thing alone carries its state's actions
|
|
167
|
+
(Deploy to Development, Start, Publish) and *Open*. A row in a list, and every
|
|
168
|
+
way in (versions, links, logs, sharing), opens in Claude's side panel, and in
|
|
169
|
+
the AlisX console where Claude can't expand. What takes something away (Delete,
|
|
170
|
+
Unpublish, Close) is never on a thing: asked for in the chat, it comes back as
|
|
171
|
+
an ask, and the person's press does it. A reference and a link open in the
|
|
172
|
+
browser; the AlisX console, the docs and artifacts are allowed links on the
|
|
173
|
+
listing, so Claude doesn't ask first.
|
|
165
174
|
|
|
166
175
|
**The work is Claude's tool call, then the task card.** Claude's tool call and
|
|
167
176
|
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.72.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,37 @@ 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 person's request** ([AppAsk](../components/AppAsk.md) § Who asks) is
|
|
126
|
+
shown to whoever can decide it, never to the requester. Its title is a question
|
|
127
|
+
naming them and the act ("Give Martha Botha builder access to alis?"), its body
|
|
128
|
+
their note in their words, then Decline and the verb by its outcome ("Grant
|
|
129
|
+
builder access"). **Decline declines at once**: a host's card has no reason
|
|
130
|
+
field (rule 3), and a press never waits on a message. The card then reads as
|
|
131
|
+
its record ("Declined: Martha Botha's builder access"), and the requester sees
|
|
132
|
+
who declined. A reason, when the person wants to give one, is a reply on the
|
|
133
|
+
requester's conversation, typed in the host's composer; where the host's own
|
|
134
|
+
agent answers, it may offer to pass one on.
|
|
135
|
+
|
|
136
|
+
**A list is for finding.** Rows of things carry no button: a row opens its
|
|
137
|
+
thing, a card of its own with its state's actions, in the expanded view where
|
|
138
|
+
the host has one, otherwise at its page in the console. What a thing holds
|
|
139
|
+
(its versions, its links, its logs, who it is shared with) is a way in, and
|
|
140
|
+
opens there too, never inside the card: a card never navigates (rule 2). The
|
|
141
|
+
expanded view is a page, so moving around in it is fine, with a back that
|
|
142
|
+
names where you came from ([page.md](page.md)).
|
|
143
|
+
|
|
113
144
|
**A card the host can't change.** Microsoft Teams updates a card it drew;
|
|
114
145
|
Microsoft 365 Copilot and Gemini Enterprise can't. There, a card is drawn once
|
|
115
146
|
and stands as a record of that moment: a task card says when ("Working ·
|
|
@@ -267,7 +298,8 @@ These hold everywhere, and a profile never repeats them:
|
|
|
267
298
|
not actions. AppAsk's one wider scope is the only third, and only on an ask
|
|
268
299
|
that approves: a grant on a command, Run without asking on a plan.
|
|
269
300
|
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
|
|
301
|
+
drill-in, no paging, no search inside one. Long content and every way into a
|
|
302
|
+
thing go to the expanded view.
|
|
271
303
|
3. **No message box of our own.** The host's composer is the only one: no note
|
|
272
304
|
field inside an ask, no "answer in your own words" box, no ask-about-this
|
|
273
305
|
field on a thing, because what you type in the composer is all of those.
|