@alis-build/design-system 0.36.0 → 0.38.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 +22 -0
- package/classes.json +14 -0
- package/components/AppHandOff.md +183 -0
- package/components/README.md +1 -0
- package/email/blocks.html +72 -40
- package/email/glyphs/article-dark.png +0 -0
- package/email/glyphs/article.png +0 -0
- package/email/glyphs/assignment-dark.png +0 -0
- package/email/glyphs/assignment.png +0 -0
- package/email/glyphs/code-dark.png +0 -0
- package/email/glyphs/code.png +0 -0
- package/email/glyphs/description-dark.png +0 -0
- package/email/glyphs/description.png +0 -0
- package/email/glyphs/draft-dark.png +0 -0
- package/email/glyphs/draft.png +0 -0
- package/email/glyphs/edit_note-dark.png +0 -0
- package/email/glyphs/edit_note.png +0 -0
- package/email/glyphs/error-dark.png +0 -0
- package/email/glyphs/error.png +0 -0
- package/email/glyphs/extension-dark.png +0 -0
- package/email/glyphs/extension.png +0 -0
- package/email/glyphs/graphic_eq-dark.png +0 -0
- package/email/glyphs/graphic_eq.png +0 -0
- package/email/glyphs/info-dark.png +0 -0
- package/email/glyphs/info.png +0 -0
- package/email/glyphs/monitor_heart-dark.png +0 -0
- package/email/glyphs/monitor_heart.png +0 -0
- package/email/glyphs/movie-dark.png +0 -0
- package/email/glyphs/movie.png +0 -0
- package/email/glyphs/record_voice_over-dark.png +0 -0
- package/email/glyphs/record_voice_over.png +0 -0
- package/email/glyphs/screen_record-dark.png +0 -0
- package/email/glyphs/screen_record.png +0 -0
- package/email/glyphs/shapes-dark.png +0 -0
- package/email/glyphs/shapes.png +0 -0
- package/email/glyphs/slideshow-dark.png +0 -0
- package/email/glyphs/slideshow.png +0 -0
- package/email/glyphs/success-dark.png +0 -0
- package/email/glyphs/success.png +0 -0
- package/email/glyphs/table-dark.png +0 -0
- package/email/glyphs/table.png +0 -0
- package/email/glyphs/terminal-dark.png +0 -0
- package/email/glyphs/terminal.png +0 -0
- package/email/glyphs/text_snippet-dark.png +0 -0
- package/email/glyphs/text_snippet.png +0 -0
- package/email/glyphs/videocam-dark.png +0 -0
- package/email/glyphs/videocam.png +0 -0
- package/email/glyphs/warning-dark.png +0 -0
- package/email/glyphs/warning.png +0 -0
- package/email/glyphs/web-dark.png +0 -0
- package/email/glyphs/web.png +0 -0
- package/email/shell.html +39 -34
- package/email/shell.txt +3 -3
- package/package.json +1 -1
- package/rules/buttons.md +5 -3
- package/rules/email.md +103 -69
- package/rules/icons.md +5 -3
- package/rules/known-gaps.md +2 -2
- package/rules/quick-start.md +1 -0
- package/rules/register.md +5 -4
- package/words.json +15 -0
package/alisx.css
CHANGED
|
@@ -889,6 +889,28 @@ span.app-account__avatar{display:flex;align-items:center;justify-content:center;
|
|
|
889
889
|
.app-code--command .app-icon-btn{color:var(--on-machine-surface)}
|
|
890
890
|
@media print{.app-code{box-shadow:none}.app-code.is-folded .app-code__body{max-height:none;-webkit-mask-image:none;mask-image:none}.app-code .app-icon-btn,.app-code__foot{display:none}}
|
|
891
891
|
|
|
892
|
+
/* ── Hand-off · a task done in the person's own agent, and the way back ──
|
|
893
|
+
The ask is a command's machine ground and signal caret; it is words, so it wraps.
|
|
894
|
+
The context folds under one line and scrolls past 12 lines when opened. Back and a
|
|
895
|
+
step's buttons are pulled to the text edge, as the detail title bar's are. */
|
|
896
|
+
.app-handoff{display:flex;flex-direction:column;gap:var(--space-16);min-width:0}
|
|
897
|
+
.app-handoff__choices{display:flex;flex-direction:column;min-width:0}
|
|
898
|
+
.app-handoff__back{margin-inline-start:calc(var(--space-24) * -1)}
|
|
899
|
+
.app-handoff__label{margin:0}
|
|
900
|
+
.app-handoff__status{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
|
|
901
|
+
.app-handoff__head{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:var(--space-8)}
|
|
902
|
+
.app-handoff__title{margin:0}
|
|
903
|
+
.app-handoff__steps{display:flex;flex-direction:column;gap:var(--space-24);margin:0;padding:0;list-style:none}
|
|
904
|
+
.app-handoff__step{display:flex;align-items:flex-start;gap:var(--space-12)}
|
|
905
|
+
.app-handoff__step>.app-icon{flex:none;color:var(--on-surface-variant)}
|
|
906
|
+
.app-handoff__body{display:flex;flex-direction:column;align-items:flex-start;gap:var(--space-8);flex:1;min-width:0}
|
|
907
|
+
.app-handoff__body>.app-btn-row{align-self:stretch;margin-inline-start:calc(var(--space-24) * -1)}
|
|
908
|
+
.app-handoff__ask{align-self:stretch;margin:0;padding:var(--space-12) var(--space-16);border-radius:var(--radius-md);font-family:var(--font-mono);font-size:14px;line-height:20px;white-space:pre-wrap;overflow-wrap:anywhere}
|
|
909
|
+
.app-handoff__caret{color:var(--signal);-webkit-user-select:none;user-select:none}
|
|
910
|
+
.app-handoff__context{align-self:stretch;max-height:calc(12 * 20px + var(--space-24));overflow-y:auto;padding:var(--space-12) var(--space-16);border-radius:var(--radius-md);background:var(--code-surface);box-shadow:inset 0 0 0 1px var(--outline-variant);color:var(--on-surface);font-family:var(--font-mono);font-size:14px;line-height:20px;white-space:pre-wrap;overflow-wrap:anywhere}
|
|
911
|
+
.app-handoff__group{margin:var(--space-24) 0 var(--space-4);color:var(--on-surface-variant)}
|
|
912
|
+
.app-handoff__group:first-child{margin-top:0}
|
|
913
|
+
|
|
892
914
|
/* ── Composer · where you write to Alis, an agent or a person: tray, editor, row; one line below ── */
|
|
893
915
|
.app-composer{position:relative;display:flex;flex-direction:column;gap:var(--space-8);width:100%;max-width:var(--measure-prose);margin-inline:auto}
|
|
894
916
|
.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(--dur-effects) var(--motion-effects),box-shadow var(--dur-effects) var(--motion-effects)}
|
package/classes.json
CHANGED
|
@@ -181,6 +181,20 @@
|
|
|
181
181
|
"app-filterrow__search",
|
|
182
182
|
"app-filterrow__summary",
|
|
183
183
|
"app-form",
|
|
184
|
+
"app-handoff",
|
|
185
|
+
"app-handoff__ask",
|
|
186
|
+
"app-handoff__back",
|
|
187
|
+
"app-handoff__body",
|
|
188
|
+
"app-handoff__caret",
|
|
189
|
+
"app-handoff__choices",
|
|
190
|
+
"app-handoff__context",
|
|
191
|
+
"app-handoff__group",
|
|
192
|
+
"app-handoff__head",
|
|
193
|
+
"app-handoff__label",
|
|
194
|
+
"app-handoff__status",
|
|
195
|
+
"app-handoff__step",
|
|
196
|
+
"app-handoff__steps",
|
|
197
|
+
"app-handoff__title",
|
|
184
198
|
"app-icon",
|
|
185
199
|
"app-icon--24",
|
|
186
200
|
"app-icon--filled",
|
|
@@ -0,0 +1,183 @@
|
|
|
1
|
+
# AppHandOff
|
|
2
|
+
|
|
3
|
+
A task the person can do in **their own agent** (Claude, ChatGPT, Copilot, Codex, Gemini and the rest) or with Alis, and the way the result comes back. AlisX works with the agent you already have; this is where a screen shows it.
|
|
4
|
+
|
|
5
|
+
## Use / don't use
|
|
6
|
+
|
|
7
|
+
- **Where an agent can do the task.** A hand-off that **makes** something here (an interview, an artifact, a machine's setup) needs a way back: the agent saves to the project, or the person pastes the result into a named place. A hand-off that **carries on** something you already have (an artifact) may end in the agent: "Continue it with Claude" has two steps and no way back.
|
|
8
|
+
- **One per screen.** Repeated items (a list's rows, a grid of cards) never carry one each; theirs are the ⋯ menu rows.
|
|
9
|
+
- **List or button.** A flow that asks how to start (write it yourself, use what you have, or plan it with AI) takes **the list** as its AI-led option, beside its own controls. A surface that already has a form and an affirmative takes **the button** in its action row.
|
|
10
|
+
- **The screen gives it three things**: the task's verb (below), the prompt and the way back. It never draws its own.
|
|
11
|
+
- **Doing it yourself is not part of it.** Writing a purpose by hand, or pasting your own questions, stay the flow's own controls beside the hand-off; they are never rows in its list.
|
|
12
|
+
|
|
13
|
+
## The words
|
|
14
|
+
|
|
15
|
+
The person's tool is **your agent** ([words.md](../rules/words.md)), named wherever it is known. **Every label is *[verb] it with [who]***, Alis's too: "Plan it with Alis", "Plan it with Claude", "Plan it with your agent". What they copy is the **prompt**. A label names the task and the doer, never the mechanism: CLI, MCP, copy and paste live in the steps.
|
|
16
|
+
|
|
17
|
+
| Task | Verb | The way back |
|
|
18
|
+
|---|---|---|
|
|
19
|
+
| Plan an interview | Plan | The questions, pasted back; or the draft, saved by the agent |
|
|
20
|
+
| Make an artifact | Draft | The text, pasted back; or the artifact, saved by the agent |
|
|
21
|
+
| Set up a machine | Set up | The agent runs the Alis CLI; the machine appears |
|
|
22
|
+
| Fix a failed setup | Fix | The agent runs the Alis CLI; the setup runs again |
|
|
23
|
+
| Carry on an artifact | Continue | None: it ends in the chat or your agent |
|
|
24
|
+
|
|
25
|
+
**What comes back** is said once per group in the list (its heading) and in the steps' first line. A list groups its agents only when they bring the result back in two ways: "Saves the {result} to this project" (Alis, and agents that run commands) and "You paste the {result} back here" (chats). When every agent brings it back the same way (Set up, Fix, Continue), the list has one group and no heading. **What each agent needs** is its row's second line and the steps' first line: "Needs a Claude account", "Needs the Alis CLI".
|
|
26
|
+
|
|
27
|
+
## Four placements
|
|
28
|
+
|
|
29
|
+
1. **The list**, at the start of a create flow that offers AI-led ways in. One [AppListRow](AppListRow.md) list per group, each under a heading saying what comes back. **Alis comes first**, then the agents the task works with, by name, then **"[Verb] it with another agent"** last. Alis's row starts a normal Alis chat, where chats open in the product ("Opens a chat · Nothing to set up"); every other row opens the steps and ends in `chevron_right`.
|
|
30
|
+
2. **In the action row**, a text [AppButton](AppButton.md) in the `.app-btn-row` the surface already has, **before** the affirmative, which stays last on the trailing edge ([buttons.md](../rules/buttons.md)). Never a line of its own, never "Or…", never a chevron, never filled or outlined, never a split button. It names the doer (§ The doer): with Alis it starts the chat, with an outside agent it opens the steps, with none known ("Plan it with your agent") it opens the list. On a narrow surface the row wraps, the affirmative still last; the label never truncates.
|
|
31
|
+
3. **Two menu rows**, in the ⋯ [AppMenu](AppMenu.md) of a thing you can carry on with (an artifact), on its own screen or on its row in a list: **Continue it with Claude** opens the steps, and **Copy as prompt** copies at once, then says "Copied" in a snackbar, since the menu has closed. In a menu whose rows carry glyphs, Copy as prompt takes `content_copy` and Continue takes the agent's mark, or `forward` until this package has the marks.
|
|
32
|
+
4. **The steps**, which the other three open for an outside agent.
|
|
33
|
+
|
|
34
|
+
**On an alert**, a hand-off is the alert's one action ([AppAlert](AppAlert.md)): a failed setup's error offers "Fix it with Claude Code", and the steps open in place of the alert's panel.
|
|
35
|
+
|
|
36
|
+
## The steps
|
|
37
|
+
|
|
38
|
+
**They open in place of what opened them**: the list's place, or the whole of the card (its fields and its action row), or the thing's content from its ⋯ menu. From a row in a list, the thing opens first, with the steps in place of its content. A Back in words leads them, named for what they replaced, and puts it back exactly as it was: "Back to the form", "Back to the list", "Back to Q3 pricing brief". Opening the steps adds a history entry, so the browser's back does the same.
|
|
39
|
+
|
|
40
|
+
Then the head (the label, then **Use another agent**), one line saying what the agent needs and what comes back, and the numbered steps:
|
|
41
|
+
|
|
42
|
+
1. **Copy the prompt**: the ask, the line saying what its context carries, then one row: **Copy prompt** and **Show full prompt**.
|
|
43
|
+
2. **Use it in Claude**, with **Open Claude**, which opens the agent's start page in a new tab. An agent that runs commands has no start page: the step reads **Paste it into Claude Code**, with no button.
|
|
44
|
+
3. **The way back**, by how the result comes back:
|
|
45
|
+
- **Pasted**: "Bring the {result} back", with **Paste what Claude gave you**.
|
|
46
|
+
- **Saved by the agent**: "Review the draft", with a line ("It shows here when Claude Code has saved it.") until it exists, then **Open the draft**. No button before there is a draft.
|
|
47
|
+
- **Done on the machine** (Set up, Fix): "Check it here", with a line ("This page updates when Claude Code has finished.") and no button.
|
|
48
|
+
- **None** (Continue): no third step.
|
|
49
|
+
|
|
50
|
+
Under the steps of an agent that runs commands, when the way back needs the Alis CLI, sits a closed [AppDisclosure](AppDisclosure.md), **Set up the Alis CLI yourself**, for anyone who would rather not let the agent install it. Continue never shows it.
|
|
51
|
+
|
|
52
|
+
## The doer
|
|
53
|
+
|
|
54
|
+
- **Remembered per person** (on every device they use) **and per task** in the table above: someone may plan interviews in Copilot and set up machines in Claude Code. The action row and the Continue row name the one remembered.
|
|
55
|
+
- **"Used" means Copy prompt was pressed, or Alis's chat started.** Opening the steps doesn't count.
|
|
56
|
+
- **Alis counts**, for every verb. If Alis was last, the button reads "Plan it with Alis" (or "Continue it with Alis") and starts the chat.
|
|
57
|
+
- **Another agent counts as "your agent"**: next time the label is "Plan it with your agent" and it opens the steps for another agent.
|
|
58
|
+
- **None yet**: "[Verb] it with your agent" opens the list, in the place the steps would open.
|
|
59
|
+
- **Use another agent** swaps the steps for the list, led by Back to the steps; whatever is picked becomes the name next time.
|
|
60
|
+
- **The list never reorders** for what is remembered: Alis first, the rest in the product's order, another agent last.
|
|
61
|
+
- **Each agent's mark** is its harness mark: one colour, the ink of the text beside it, at text size ([icons.md](../rules/icons.md)). It leads the agent's row and its Open button. This is the one-colour exception to buttons.md's full-colour third-party marks (§ A third party's mark on a hand-off), which are for sign-in and connect. Until this package carries the marks ([known-gaps.md](../rules/known-gaps.md) § Assets), every row is its words alone, Alis's too, so the column stays even.
|
|
62
|
+
|
|
63
|
+
## The prompt
|
|
64
|
+
|
|
65
|
+
**Two parts, the same at any length.** It never switches look at a character count.
|
|
66
|
+
|
|
67
|
+
- **The ask**: one sentence in the person's voice, imperative, sentence case, ending in a full stop. "Help me plan an interview about why onboarding takes three weeks." Built from what the person has given so far; with nothing yet, from the project: "Help me plan an interview for Client onboarding." Always shown, on the machine ground behind the `signal` caret like a command to run ([AppCodeBlock](AppCodeBlock.md)). It is words, not code, so it wraps, still in mono.
|
|
68
|
+
- **The context**, in Markdown: everything the agent needs and the person doesn't need to read. The goal (what the person typed, else the project's goal), then each document by its name with its text, then the way back. For an agent that runs commands, the way back says where to save with the Alis CLI, and how to install the CLI and sign in when it is missing. For a chat, it says the form to give the result in, so the paste lands cleanly. A carry-on has no way back. This package sets no length limit; the product does.
|
|
69
|
+
- **One line says what the context carries**, under the ask: "With {what it carries, named and counted} and how to bring the {result} back." So: "With the goal, 3 documents and how to bring the questions back." A carry-on drops the last part: "With the brief's full text." **Show full prompt** (beside Copy prompt) opens the context above that row, in a box that scrolls past 12 lines.
|
|
70
|
+
- **Copy prompt** copies the ask, a blank line, then the context. Never the caret.
|
|
71
|
+
- **Alis gets the same prompt**: the ask and the context are sent as the first message of a normal Alis chat.
|
|
72
|
+
- **Nothing copies until Copy prompt or Copy as prompt is pressed.** Picking a row or opening the steps never touches the clipboard.
|
|
73
|
+
|
|
74
|
+
## Markup
|
|
75
|
+
|
|
76
|
+
```html
|
|
77
|
+
<!-- 1 · The list: one list per group, under its heading -->
|
|
78
|
+
<div class="app-handoff__choices">
|
|
79
|
+
<h3 class="app-handoff__group text-label" id="g-saves">Saves the draft to this project</h3>
|
|
80
|
+
<div class="app-list" role="list" aria-labelledby="g-saves">
|
|
81
|
+
<div class="app-row app-state app-row--divided" role="listitem">
|
|
82
|
+
<span class="app-row__text">
|
|
83
|
+
<button type="button" class="app-row__hit text-object-title">Plan it with Alis</button>
|
|
84
|
+
<span class="text-supporting">Opens a chat · Nothing to set up</span>
|
|
85
|
+
</span>
|
|
86
|
+
</div>
|
|
87
|
+
<div class="app-row app-state app-row--divided" role="listitem">
|
|
88
|
+
<span class="app-row__text">
|
|
89
|
+
<button type="button" class="app-row__hit text-object-title">Plan it with Claude Code</button>
|
|
90
|
+
<span class="text-supporting">Needs the Alis CLI</span>
|
|
91
|
+
</span>
|
|
92
|
+
<span class="app-row__trailing"><span class="app-icon" aria-hidden="true">chevron_right</span></span>
|
|
93
|
+
</div>
|
|
94
|
+
</div>
|
|
95
|
+
<h3 class="app-handoff__group text-label" id="g-paste">You paste the questions back here</h3>
|
|
96
|
+
<div class="app-list" role="list" aria-labelledby="g-paste">
|
|
97
|
+
<div class="app-row app-state app-row--divided" role="listitem">
|
|
98
|
+
<span class="app-row__text">
|
|
99
|
+
<button type="button" class="app-row__hit text-object-title">Plan it with Claude</button>
|
|
100
|
+
<span class="text-supporting">Needs a Claude account</span>
|
|
101
|
+
</span>
|
|
102
|
+
<span class="app-row__trailing"><span class="app-icon" aria-hidden="true">chevron_right</span></span>
|
|
103
|
+
</div>
|
|
104
|
+
<div class="app-row app-state app-row--divided" role="listitem">
|
|
105
|
+
<span class="app-row__text">
|
|
106
|
+
<button type="button" class="app-row__hit text-object-title">Plan it with another agent</button>
|
|
107
|
+
<span class="text-supporting">Any agent that takes a prompt</span>
|
|
108
|
+
</span>
|
|
109
|
+
<span class="app-row__trailing"><span class="app-icon" aria-hidden="true">chevron_right</span></span>
|
|
110
|
+
</div>
|
|
111
|
+
</div>
|
|
112
|
+
</div>
|
|
113
|
+
|
|
114
|
+
<!-- 2 · In the action row: before the affirmative, which stays last -->
|
|
115
|
+
<div class="app-btn-row">
|
|
116
|
+
<button type="button" class="app-btn app-state app-target">Plan it with Claude</button>
|
|
117
|
+
<button type="button" class="app-btn app-btn--filled app-state app-target">Create interview</button>
|
|
118
|
+
</div>
|
|
119
|
+
|
|
120
|
+
<!-- 3 · The ⋯ menu rows, in a menu whose rows carry glyphs -->
|
|
121
|
+
<button type="button" class="app-menu__item app-state" role="menuitem"><span class="app-icon" aria-hidden="true">forward</span><span class="app-menu__text"><span>Continue it with Claude</span></span></button>
|
|
122
|
+
<button type="button" class="app-menu__item app-state" role="menuitem"><span class="app-icon" aria-hidden="true">content_copy</span><span class="app-menu__text"><span>Copy as prompt</span></span></button>
|
|
123
|
+
|
|
124
|
+
<!-- 4 · The steps, in place of what opened them -->
|
|
125
|
+
<section class="app-handoff" aria-labelledby="handoff-title">
|
|
126
|
+
<div class="app-btn-row app-btn-row--start app-handoff__back">
|
|
127
|
+
<button type="button" class="app-btn app-state app-target">Back to the form</button>
|
|
128
|
+
</div>
|
|
129
|
+
<div class="app-handoff__head">
|
|
130
|
+
<h2 class="app-handoff__title text-section-title" id="handoff-title">Plan it with Claude</h2>
|
|
131
|
+
<button type="button" class="app-btn app-state app-target">Use another agent</button>
|
|
132
|
+
</div>
|
|
133
|
+
<p class="text-supporting text-on-surface-variant">Needs a Claude account. The questions come back here.</p>
|
|
134
|
+
<ol class="app-handoff__steps" role="list">
|
|
135
|
+
<li class="app-handoff__step">
|
|
136
|
+
<span class="app-icon" aria-hidden="true">counter_1</span>
|
|
137
|
+
<div class="app-handoff__body">
|
|
138
|
+
<h3 class="app-handoff__label text-label">Copy the prompt</h3>
|
|
139
|
+
<p class="app-handoff__ask app-machine"><span class="app-handoff__caret" aria-hidden="true">❯ </span>Help me plan an interview about why onboarding takes three weeks.</p>
|
|
140
|
+
<p class="text-supporting text-on-surface-variant">With the goal, 3 documents and how to bring the questions back.</p>
|
|
141
|
+
<div class="app-handoff__context" id="handoff-context" role="region" aria-label="Full prompt" tabindex="0" hidden><!-- the context, as plain text --></div>
|
|
142
|
+
<div class="app-btn-row app-btn-row--start">
|
|
143
|
+
<button type="button" class="app-btn app-state app-target"><span class="app-icon" aria-hidden="true">content_copy</span>Copy prompt</button>
|
|
144
|
+
<button type="button" class="app-btn app-state app-target app-handoff__more" aria-expanded="false" aria-controls="handoff-context">Show full prompt</button>
|
|
145
|
+
</div>
|
|
146
|
+
</div>
|
|
147
|
+
</li>
|
|
148
|
+
<li class="app-handoff__step">
|
|
149
|
+
<span class="app-icon" aria-hidden="true">counter_2</span>
|
|
150
|
+
<div class="app-handoff__body">
|
|
151
|
+
<h3 class="app-handoff__label text-label">Use it in Claude</h3>
|
|
152
|
+
<div class="app-btn-row app-btn-row--start">
|
|
153
|
+
<a class="app-btn app-state app-target" href="https://claude.ai/new" target="_blank" rel="noopener" aria-label="Open Claude, opens in a new tab">Open Claude<span class="app-icon" aria-hidden="true">open_in_new</span></a>
|
|
154
|
+
</div>
|
|
155
|
+
</div>
|
|
156
|
+
</li>
|
|
157
|
+
<li class="app-handoff__step">
|
|
158
|
+
<span class="app-icon" aria-hidden="true">counter_3</span>
|
|
159
|
+
<div class="app-handoff__body">
|
|
160
|
+
<h3 class="app-handoff__label text-label">Bring the questions back</h3>
|
|
161
|
+
<div class="app-btn-row app-btn-row--start">
|
|
162
|
+
<button type="button" class="app-btn app-state app-target">Paste what Claude gave you</button>
|
|
163
|
+
</div>
|
|
164
|
+
</div>
|
|
165
|
+
</li>
|
|
166
|
+
</ol>
|
|
167
|
+
<span class="app-handoff__status" aria-live="polite"></span>
|
|
168
|
+
</section>
|
|
169
|
+
```
|
|
170
|
+
|
|
171
|
+
## Behaviour you must supply
|
|
172
|
+
|
|
173
|
+
- **Remember the doer** per person and per task (§ The doer), stored with the person, not the browser.
|
|
174
|
+
- **Copy prompt** writes the ask, a blank line and the context. Then its glyph turns to `check` and its label to "Copied", said in `.app-handoff__status`, both back after 2 seconds ([buttons.md](../rules/buttons.md)). **Copy as prompt** in a menu says "Copied" in a snackbar instead.
|
|
175
|
+
- **Show full prompt** removes `hidden` from the context and reads "Hide full prompt" with `aria-expanded="true"`.
|
|
176
|
+
- **Open the agent** in a new tab at its start page, with nothing filled in: the person pastes the prompt themselves.
|
|
177
|
+
- **Paste never reads the clipboard.** It opens the place the result belongs (Use your questions, a new artifact's editor) with its field focused, and the person pastes there. What lands is staged, never saved unseen. **Review the draft** opens the draft the agent saved.
|
|
178
|
+
- **Back** puts back what the steps replaced, as it was, with focus on the control that opened them. It is words alone: `arrow_back` belongs to the title bar's icon button. **Use another agent** shows the list led by Back to the steps, focus on its first row.
|
|
179
|
+
- **Alis's row and button** start a normal Alis chat with the whole prompt as the first message, sent.
|
|
180
|
+
|
|
181
|
+
## Classes
|
|
182
|
+
|
|
183
|
+
`.app-handoff` (the steps), `.app-handoff__choices` (the list), `.app-handoff__group` (the heading over each of the list's groups), `.app-handoff__back`, `.app-handoff__head`, `.app-handoff__title`, `.app-handoff__steps`, `.app-handoff__step`, `.app-handoff__body`, `.app-handoff__label`, `.app-handoff__ask` (with `.app-machine`), `.app-handoff__caret`, `.app-handoff__context`, `.app-handoff__status` (the visually hidden live region). `.app-handoff__more` is a hook for your script; it draws nothing. The list's rows are `.app-row--divided` in `.app-list`s; the buttons are `.app-btn` in `.app-btn-row`. The Back row and a step's button rows are pulled to the text edge, as the detail title bar's is, so a leading glyph (Copy prompt's) hangs 8px into the margin. The glyphs `counter_1` to `counter_3`, `forward`, `content_copy` and `open_in_new` belong in your self-hosted Material Symbols subset.
|
package/components/README.md
CHANGED
|
@@ -42,6 +42,7 @@ Shared conventions: `app-state` gives anything pressable its hover, focus and pr
|
|
|
42
42
|
| AppVoiceView | A live call given the content area, or the screen on a phone | [AppVoiceView.md](AppVoiceView.md) |
|
|
43
43
|
| AppTurn | A turn in a conversation: your bubble, Alis's prose, anyone else under a who-line; Alis's work, actions, voice notes; people's states and requests | [AppTurn.md](AppTurn.md) |
|
|
44
44
|
| AppAsk | When Alis or a person needs a decision from you: an approval, a choice, a connection, docked on the composer | [AppAsk.md](AppAsk.md) |
|
|
45
|
+
| AppHandOff | A task done in the person's own agent (Claude, ChatGPT, Copilot…) or with Alis, and the way the result comes back | [AppHandOff.md](AppHandOff.md) |
|
|
45
46
|
| AppMenu | Acts or places that open from a control (floating) or from `/` and `@` (docked on the composer), and the token you chose | [AppMenu.md](AppMenu.md) |
|
|
46
47
|
| AppSelectTile | A card chosen among others | [AppSelectTile.md](AppSelectTile.md) |
|
|
47
48
|
| AppSegmented | 2 to 5 options that change content in place | [AppSegmented.md](AppSegmented.md) |
|
package/email/blocks.html
CHANGED
|
@@ -3,78 +3,110 @@
|
|
|
3
3
|
(source/email/); do not edit them here. Rules: rules/email.md.
|
|
4
4
|
|
|
5
5
|
Each block is a snippet for the shell's {{{body}}} slot. An email uses one or two,
|
|
6
|
-
never a stack.
|
|
7
|
-
|
|
6
|
+
never a stack. Each is a product component drawn for mail, on the product's type and
|
|
7
|
+
space. The classes (em-ink, em-meta, em-line, em-block, em-glyph, em-alert-*, em-term,
|
|
8
|
+
em-light, em-dark) are what the shell's dark and phone styles hook onto: keep them.
|
|
8
9
|
-->
|
|
9
10
|
|
|
10
|
-
<!-- ── Paragraph · one to three, short
|
|
11
|
-
<p class="em-ink" style="margin:16px 0 0;font-size:16px;line-height:
|
|
11
|
+
<!-- ── Paragraph · body; one to three, short ───────────────────────────────── -->
|
|
12
|
+
<p class="em-ink" style="margin:16px 0 0;font-size:16px;line-height:24px;color:#27323a">{{text}}</p>
|
|
12
13
|
|
|
13
|
-
<!-- Small print under a block (an expiry, a note) -->
|
|
14
|
-
<p class="em-meta" style="margin:16px 0 0;font-size:
|
|
14
|
+
<!-- Small print under a block (an expiry, a note): meta -->
|
|
15
|
+
<p class="em-meta" style="margin:16px 0 0;font-size:12px;line-height:16px;color:#5d666d">{{text}}</p>
|
|
15
16
|
|
|
16
|
-
<!-- ── Code · something to type: mono, spaced in groups, never a button
|
|
17
|
-
<div class="em-block em-ink" style="margin-top:
|
|
17
|
+
<!-- ── Code · something to type: mono at page-title, spaced in groups, never a button ── -->
|
|
18
|
+
<div class="em-block em-ink" style="margin-top:24px;background:#f3f3f2;border-radius:12px;padding:24px;text-align:center;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:28px;line-height:36px;font-weight:700;font-variant-numeric:tabular-nums;color:#27323a">{{code}}</div>
|
|
18
19
|
|
|
19
|
-
<!-- ──
|
|
20
|
-
<
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
<div class="em-ink" style="padding-top:6px;font-size:16px;line-height:26px;color:#27323a">“{{excerpt}}”</div>
|
|
24
|
-
</td>
|
|
20
|
+
<!-- ── Message · someone's own words: who wrote them, then the words in quotes in their bubble; cut at 400 characters ── -->
|
|
21
|
+
<div class="em-meta" style="margin-top:24px;font-size:14px;line-height:20px;font-weight:500;color:#5d666d">{{who}} wrote</div>
|
|
22
|
+
<table role="presentation" cellpadding="0" cellspacing="0" style="margin-top:8px;max-width:85%;border-collapse:separate"><tr>
|
|
23
|
+
<td class="em-block em-ink" style="background:#f3f3f2;border-radius:16px;padding:12px 16px;font-size:16px;line-height:24px;color:#27323a">“{{excerpt}}”</td>
|
|
25
24
|
</tr></table>
|
|
26
25
|
|
|
27
|
-
<!-- ──
|
|
28
|
-
<table role="presentation" width="100%" cellpadding="0" cellspacing="0"
|
|
29
|
-
{{#each
|
|
30
|
-
<tr>
|
|
31
|
-
<
|
|
32
|
-
<
|
|
33
|
-
</tr>
|
|
26
|
+
<!-- ── Fields · a request or a record read back: the name over its value, up to six rows ── -->
|
|
27
|
+
<table role="presentation" width="100%" cellpadding="0" cellspacing="0" style="margin-top:24px">
|
|
28
|
+
{{#each fields}}
|
|
29
|
+
<tr><td class="em-line" style="padding:12px 0;border-bottom:1px solid #e6e8eb{{#if @first}};border-top:1px solid #e6e8eb{{/if}}">
|
|
30
|
+
<div class="em-ink" style="font-size:16px;line-height:24px;font-weight:500;color:#27323a">{{this.name}}</div>
|
|
31
|
+
<div class="em-ink" style="font-size:14px;line-height:20px;color:#27323a">{{this.value}}</div>
|
|
32
|
+
</td></tr>
|
|
34
33
|
{{/each}}
|
|
35
34
|
</table>
|
|
36
35
|
|
|
36
|
+
<!-- ── Tile · a file, or a thing (an interview, a meeting, an issue): its glyph, its name, its kind and a detail; up to five, never a link ── -->
|
|
37
|
+
<table role="presentation" cellpadding="0" cellspacing="0" class="em-block" style="margin-top:24px;width:100%;max-width:320px;border-collapse:separate;background:#f3f3f2;border-radius:16px"><tr>
|
|
38
|
+
<td style="width:40px;padding:8px 12px 8px 8px;vertical-align:middle">
|
|
39
|
+
<div class="em-glyph" style="width:40px;height:40px;border-radius:8px;background:#ffffff;text-align:center">
|
|
40
|
+
<img class="em-light" src="{{assets_url}}/glyphs/{{glyph}}.png" width="24" height="24" alt="" style="display:inline-block;margin-top:8px">
|
|
41
|
+
<div class="em-dark"><img src="{{assets_url}}/glyphs/{{glyph}}-dark.png" width="24" height="24" alt="" style="display:inline-block;margin-top:8px"></div>
|
|
42
|
+
</div>
|
|
43
|
+
</td>
|
|
44
|
+
<td style="padding:8px 12px 8px 0;vertical-align:middle">
|
|
45
|
+
<div class="em-ink" style="font-size:14px;line-height:20px;font-weight:500;color:#27323a">{{name}}</div>
|
|
46
|
+
<div class="em-meta" style="font-size:12px;line-height:16px;color:#5d666d">{{detail}}</div>
|
|
47
|
+
</td>
|
|
48
|
+
</tr></table>
|
|
49
|
+
|
|
50
|
+
<!-- ── Alert · one status the email is about (a deploy failed, a payment didn't go through): the status's icon on its tint, a title and a line in ink. One per email. ── -->
|
|
51
|
+
<!-- error -->
|
|
52
|
+
<table role="presentation" width="100%" cellpadding="0" cellspacing="0" class="em-alert-error" style="margin-top:24px;border-collapse:separate;background:#f7e4e4;border-radius:4px"><tr>
|
|
53
|
+
<td style="width:24px;padding:16px 12px 16px 16px;vertical-align:top"><img class="em-light" src="{{assets_url}}/glyphs/error.png" width="24" height="24" alt="Error"><div class="em-dark"><img src="{{assets_url}}/glyphs/error-dark.png" width="24" height="24" alt="Error"></div></td>
|
|
54
|
+
<td class="em-ink" style="padding:16px 16px 16px 0;font-size:14px;line-height:20px;color:#27323a"><div style="font-size:16px;line-height:24px;font-weight:500">{{title}}</div>{{text}}</td>
|
|
55
|
+
</tr></table>
|
|
56
|
+
<!-- warning -->
|
|
57
|
+
<table role="presentation" width="100%" cellpadding="0" cellspacing="0" class="em-alert-warning" style="margin-top:24px;border-collapse:separate;background:#f6f0e0;border-radius:4px"><tr>
|
|
58
|
+
<td style="width:24px;padding:16px 12px 16px 16px;vertical-align:top"><img class="em-light" src="{{assets_url}}/glyphs/warning.png" width="24" height="24" alt="Warning"><div class="em-dark"><img src="{{assets_url}}/glyphs/warning-dark.png" width="24" height="24" alt="Warning"></div></td>
|
|
59
|
+
<td class="em-ink" style="padding:16px 16px 16px 0;font-size:14px;line-height:20px;color:#27323a"><div style="font-size:16px;line-height:24px;font-weight:500">{{title}}</div>{{text}}</td>
|
|
60
|
+
</tr></table>
|
|
61
|
+
<!-- success -->
|
|
62
|
+
<table role="presentation" width="100%" cellpadding="0" cellspacing="0" class="em-alert-success" style="margin-top:24px;border-collapse:separate;background:#e4ede7;border-radius:4px"><tr>
|
|
63
|
+
<td style="width:24px;padding:16px 12px 16px 16px;vertical-align:top"><img class="em-light" src="{{assets_url}}/glyphs/success.png" width="24" height="24" alt="Done"><div class="em-dark"><img src="{{assets_url}}/glyphs/success-dark.png" width="24" height="24" alt="Done"></div></td>
|
|
64
|
+
<td class="em-ink" style="padding:16px 16px 16px 0;font-size:14px;line-height:20px;color:#27323a"><div style="font-size:16px;line-height:24px;font-weight:500">{{title}}</div>{{text}}</td>
|
|
65
|
+
</tr></table>
|
|
66
|
+
<!-- info -->
|
|
67
|
+
<table role="presentation" width="100%" cellpadding="0" cellspacing="0" class="em-alert-info" style="margin-top:24px;border-collapse:separate;background:#e5ebf7;border-radius:4px"><tr>
|
|
68
|
+
<td style="width:24px;padding:16px 12px 16px 16px;vertical-align:top"><img class="em-light" src="{{assets_url}}/glyphs/info.png" width="24" height="24" alt="Note"><div class="em-dark"><img src="{{assets_url}}/glyphs/info-dark.png" width="24" height="24" alt="Note"></div></td>
|
|
69
|
+
<td class="em-ink" style="padding:16px 16px 16px 0;font-size:14px;line-height:20px;color:#27323a"><div style="font-size:16px;line-height:24px;font-weight:500">{{title}}</div>{{text}}</td>
|
|
70
|
+
</tr></table>
|
|
71
|
+
|
|
37
72
|
<!-- ── List · a few named things, each with one value; five at most, then "and 3 more" ── -->
|
|
38
|
-
<table role="presentation" width="100%" cellpadding="0" cellspacing="0"
|
|
73
|
+
<table role="presentation" width="100%" cellpadding="0" cellspacing="0" style="margin-top:24px">
|
|
39
74
|
{{#each items}}
|
|
40
75
|
<tr>
|
|
41
|
-
<td class="em-line" style="padding:
|
|
42
|
-
<div class="em-ink" style="font-size:
|
|
43
|
-
{{#if this.meta}}<div class="em-meta" style="font-size:
|
|
76
|
+
<td class="em-line" style="padding:12px 16px 12px 0;border-bottom:1px solid #e6e8eb{{#if @first}};border-top:1px solid #e6e8eb{{/if}}">
|
|
77
|
+
<div class="em-ink" style="font-size:16px;line-height:24px;font-weight:500;color:#27323a">{{this.title}}</div>
|
|
78
|
+
{{#if this.meta}}<div class="em-meta" style="font-size:12px;line-height:16px;color:#5d666d">{{this.meta}}</div>{{/if}}
|
|
44
79
|
</td>
|
|
45
|
-
<td class="em-ink em-line" align="right" style="padding:
|
|
80
|
+
<td class="em-ink em-line" align="right" style="padding:12px 0;border-bottom:1px solid #e6e8eb{{#if @first}};border-top:1px solid #e6e8eb{{/if}};font-size:14px;line-height:20px;color:#27323a;white-space:nowrap;vertical-align:top">{{this.value}}</td>
|
|
46
81
|
</tr>
|
|
47
82
|
{{/each}}
|
|
48
83
|
</table>
|
|
49
84
|
|
|
50
85
|
<!-- ── Numbers · up to three figures that are the point of a digest, each with its change ── -->
|
|
51
|
-
<table role="presentation" width="100%" cellpadding="0" cellspacing="0" class="em-line" style="margin-top:
|
|
86
|
+
<table role="presentation" width="100%" cellpadding="0" cellspacing="0" class="em-line" style="margin-top:24px;border:1px solid #e6e8eb;border-radius:12px;border-collapse:separate;table-layout:fixed">
|
|
52
87
|
<tr>
|
|
53
88
|
{{#each stats}}
|
|
54
|
-
<td class="em-stat em-line" style="padding:
|
|
55
|
-
<div class="em-meta" style="font-size:
|
|
56
|
-
<div class="em-ink em-stat-n" style="font-size:28px;line-height:36px;font-weight:
|
|
57
|
-
{{#if this.change}}<div class="em-meta" style="font-size:
|
|
89
|
+
<td class="em-stat em-line" style="padding:16px;vertical-align:top{{#unless @first}};border-left:1px solid #e6e8eb{{/unless}}">
|
|
90
|
+
<div class="em-meta" style="font-size:14px;line-height:20px;font-weight:500;color:#5d666d">{{this.label}}</div>
|
|
91
|
+
<div class="em-ink em-stat-n" style="font-size:28px;line-height:36px;font-weight:700;letter-spacing:-.03em;font-variant-numeric:tabular-nums;color:#27323a;white-space:nowrap">{{this.value}}</div>
|
|
92
|
+
{{#if this.change}}<div class="em-meta" style="font-size:12px;line-height:16px;color:#5d666d">{{this.change}}</div>{{/if}}
|
|
58
93
|
</td>
|
|
59
94
|
{{/each}}
|
|
60
95
|
</tr>
|
|
61
96
|
</table>
|
|
62
97
|
|
|
63
98
|
<!-- ── Steps · what happens next, for someone new; three at most ─────────────── -->
|
|
64
|
-
<table role="presentation" width="100%" cellpadding="0" cellspacing="0" style="margin-top:
|
|
99
|
+
<table role="presentation" width="100%" cellpadding="0" cellspacing="0" style="margin-top:24px">
|
|
65
100
|
{{#each steps}}
|
|
66
101
|
<tr>
|
|
67
|
-
<td style="width:24px;padding:0 12px
|
|
68
|
-
<div class="em-block em-
|
|
102
|
+
<td style="width:24px;padding:0 12px 12px 0;vertical-align:top">
|
|
103
|
+
<div class="em-block em-meta" style="width:24px;height:24px;border-radius:999px;background:#f3f3f2;color:#5d666d;font-size:12px;line-height:24px;text-align:center">{{this.n}}</div>
|
|
69
104
|
</td>
|
|
70
|
-
<td class="em-ink" style="padding:0 0
|
|
105
|
+
<td class="em-ink" style="padding:0 0 12px;font-size:16px;line-height:24px;color:#27323a">{{this.text}}</td>
|
|
71
106
|
</tr>
|
|
72
107
|
{{/each}}
|
|
73
108
|
</table>
|
|
74
109
|
|
|
75
110
|
<!-- ── Command · the terminal way to do the same action, behind the red caret; Alis Build only.
|
|
76
|
-
It goes in the shell's {{{after_action}}} slot, under the button, never in the body. ── -->
|
|
77
|
-
<div class="em-term" style="margin-top:
|
|
78
|
-
|
|
79
|
-
<!-- ── File · an attachment or a shared file, named ─────────────────────────── -->
|
|
80
|
-
<div class="em-block em-ink" style="margin-top:20px;background:#f3f3f2;border-radius:12px;padding:10px 14px;font-size:14px;line-height:20px;color:#27323a"><span class="em-meta" style="font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:11px;font-weight:700;letter-spacing:.06em;color:#5d666d">{{ext}}</span> {{name}}</div>
|
|
111
|
+
It goes in the shell's {{{after_action}}} slot, under the button and its link, never in the body. ── -->
|
|
112
|
+
<div class="em-term" style="margin-top:24px;background:#27323a;border-radius:12px;padding:12px 16px;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:14px;line-height:20px;color:#f4f4f2;word-break:break-all"><span style="color:#f02222">❯</span> {{command}}</div>
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/email/shell.html
CHANGED
|
@@ -9,24 +9,23 @@
|
|
|
9
9
|
<!--
|
|
10
10
|
AlisX email shell · @alis-build/design-system. Colours are GENERATED from tokens.json
|
|
11
11
|
(source/email/); do not edit them here. Rules: rules/email.md. Blocks: email/blocks.html.
|
|
12
|
-
Slots are Handlebars: {{subject}} {{preheader}} {{
|
|
13
|
-
{{action_label}} {{action_url}} {{
|
|
12
|
+
Slots are Handlebars: {{subject}} {{preheader}} {{internal}} {{headline}} {{{body}}}
|
|
13
|
+
{{action_label}} {{action_url}} {{{after_action}}} {{reason}} {{manage_label}} {{manage_url}} {{assets_url}}.
|
|
14
14
|
-->
|
|
15
|
-
<link href="https://fonts.googleapis.com/css2?family=Nunito+Sans:opsz,wght@6..12,400;6..12,
|
|
15
|
+
<link href="https://fonts.googleapis.com/css2?family=Nunito+Sans:opsz,wght@6..12,400;6..12,500;6..12,700&display=swap" rel="stylesheet">
|
|
16
16
|
<style>
|
|
17
17
|
body{margin:0;padding:0;-webkit-text-size-adjust:100%}
|
|
18
|
-
table{border-collapse:collapse}
|
|
19
18
|
img{border:0;display:block}
|
|
20
19
|
a{color:#006383}
|
|
21
|
-
.em-
|
|
20
|
+
.em-dark{display:none;max-height:0;overflow:hidden}
|
|
22
21
|
@media (max-width:480px){
|
|
23
|
-
.em-
|
|
24
|
-
.em-
|
|
22
|
+
.em-canvas,.em-body{background:#ffffff!important}
|
|
23
|
+
.em-gutter{padding:0!important}
|
|
24
|
+
.em-sheet{border:0!important;border-radius:0!important;padding:24px 16px!important}
|
|
25
|
+
.em-h1{font-size:22px!important;line-height:28px!important;font-weight:500!important;letter-spacing:0!important}
|
|
25
26
|
.em-btn-row{width:100%!important}
|
|
26
27
|
.em-btn a{display:block!important;text-align:center}
|
|
27
|
-
.em-
|
|
28
|
-
.em-fact-label{padding-bottom:0!important;border-bottom:0!important}
|
|
29
|
-
.em-fact-value{padding-top:2px!important}
|
|
28
|
+
.em-foot{padding:8px 16px 24px!important}
|
|
30
29
|
.em-stat{padding:12px!important}
|
|
31
30
|
.em-stat-n{font-size:22px!important;line-height:28px!important}
|
|
32
31
|
}
|
|
@@ -35,14 +34,22 @@
|
|
|
35
34
|
.em-sheet{background:#26313a!important;border-color:#34414a!important}
|
|
36
35
|
.em-ink{color:#dfe7ec!important}
|
|
37
36
|
.em-meta,.em-meta a{color:#9aa6ae!important}
|
|
37
|
+
.em-meta a.em-link{color:#7fd4e8!important}
|
|
38
38
|
.em-line{border-color:#34414a!important}
|
|
39
39
|
.em-block{background:#21292f!important}
|
|
40
|
+
.em-glyph{background:#26313a!important}
|
|
41
|
+
.em-alert-error{background:#404148!important}
|
|
42
|
+
.em-alert-warning{background:#3d413b!important}
|
|
43
|
+
.em-alert-success{background:#304445!important}
|
|
44
|
+
.em-alert-info{background:#364252!important}
|
|
45
|
+
.em-term{background:#0f1418!important}
|
|
40
46
|
.em-btn{background:#7fd4e8!important}
|
|
41
47
|
.em-btn a{color:#00303f!important}
|
|
42
|
-
.em-
|
|
43
|
-
.em-
|
|
44
|
-
|
|
45
|
-
|
|
48
|
+
.em-light{display:none!important}
|
|
49
|
+
.em-dark{display:block!important;max-height:none!important;overflow:visible!important}
|
|
50
|
+
}
|
|
51
|
+
@media (prefers-color-scheme:dark) and (max-width:480px){
|
|
52
|
+
.em-canvas,.em-body{background:#26313a!important}
|
|
46
53
|
}
|
|
47
54
|
</style>
|
|
48
55
|
</head>
|
|
@@ -51,32 +58,28 @@
|
|
|
51
58
|
<div style="display:none;max-height:0;overflow:hidden;mso-hide:all">{{preheader}} ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏</div>
|
|
52
59
|
<table role="presentation" width="100%" cellpadding="0" cellspacing="0" class="em-canvas" style="background:#f3f3f2">
|
|
53
60
|
<tr><td align="center" class="em-gutter" style="padding:32px 16px">
|
|
54
|
-
|
|
61
|
+
<!-- separate, never collapse: a collapsed table draws a cell's border square under its rounded fill -->
|
|
62
|
+
<table role="presentation" width="600" cellpadding="0" cellspacing="0" style="width:100%;max-width:600px;border-collapse:separate">
|
|
55
63
|
|
|
56
|
-
<!-- 1 · Head: the AlisX wordmark, nothing else -->
|
|
57
|
-
<tr><td style="padding:0 8px 20px">
|
|
58
|
-
<img class="em-logo-light" src="{{assets_url}}/alisx-wordmark.png" width="62" height="24" alt="AlisX">
|
|
59
|
-
<div class="em-logo-dark"><img src="{{assets_url}}/alisx-wordmark-dark.png" width="62" height="24" alt="AlisX"></div>
|
|
60
|
-
</td></tr>
|
|
61
|
-
|
|
62
|
-
<!-- The sheet -->
|
|
63
64
|
<tr><td class="em-sheet" style="background:#ffffff;border:1px solid #e6e8eb;border-radius:16px;padding:32px;font-family:'Nunito Sans',Arial,Helvetica,sans-serif;color:#27323a">
|
|
64
65
|
|
|
65
|
-
<!--
|
|
66
|
-
<div class="em-meta" style="font-size:12px;line-height:16px;
|
|
67
|
-
|
|
66
|
+
<!-- Staff mail only: says so before anything else -->
|
|
67
|
+
{{#if internal}}<div class="em-meta" style="padding-bottom:8px;font-size:12px;line-height:16px;color:#5d666d">Internal: for AlisX staff</div>{{/if}}
|
|
68
|
+
|
|
69
|
+
<!-- 1 · Headline: the news, opening with whoever caused it ("Sam Naidoo asked …", "Alis finished …"); page-title -->
|
|
70
|
+
<h1 class="em-ink em-h1" style="margin:0;font-size:28px;line-height:36px;font-weight:700;letter-spacing:-.03em;color:#27323a">{{headline}}</h1>
|
|
68
71
|
|
|
69
|
-
<!--
|
|
72
|
+
<!-- 2 · Body: one to three paragraphs (blocks.html § Paragraph), then at most two blocks -->
|
|
70
73
|
{{{body}}}
|
|
71
74
|
|
|
72
|
-
<!--
|
|
75
|
+
<!-- 3 · Action: one filled button, the link written out under it for a mail app where the button fails. Left out when the job has none. -->
|
|
73
76
|
{{#if action_url}}
|
|
74
|
-
<table role="presentation" cellpadding="0" cellspacing="0" class="em-btn-row" style="margin-top:
|
|
77
|
+
<table role="presentation" cellpadding="0" cellspacing="0" class="em-btn-row" style="margin-top:32px"><tr>
|
|
75
78
|
<td class="em-btn" style="background:#006383;border-radius:999px">
|
|
76
|
-
<a href="{{action_url}}" style="display:inline-block;padding:
|
|
79
|
+
<a href="{{action_url}}" style="display:inline-block;padding:14px 24px;font-family:'Nunito Sans',Arial,Helvetica,sans-serif;font-size:14px;line-height:20px;font-weight:700;color:#ffffff;text-decoration:none;border-radius:999px">{{action_label}}</a>
|
|
77
80
|
</td>
|
|
78
81
|
</tr></table>
|
|
79
|
-
<div class="em-meta" style="padding-top:12px;font-size:
|
|
82
|
+
<div class="em-meta" style="padding-top:12px;font-size:12px;line-height:16px;color:#5d666d;word-break:break-word">Or open <a class="em-link" href="{{action_url}}" style="color:#006383">{{action_url}}</a></div>
|
|
80
83
|
{{/if}}
|
|
81
84
|
|
|
82
85
|
<!-- Below the action: only the Command block, the terminal way to do the same thing (blocks.html) -->
|
|
@@ -84,10 +87,12 @@
|
|
|
84
87
|
|
|
85
88
|
</td></tr>
|
|
86
89
|
|
|
87
|
-
<!--
|
|
88
|
-
<tr><td class="em-
|
|
89
|
-
{{reason}}{{#if manage_url}} <a href="{{manage_url}}" style="color:#5d666d">{{manage_label}}</a>{{/if}}
|
|
90
|
-
<
|
|
90
|
+
<!-- 4 · Foot: why you got it and how to stop it, then AlisX signs it: the wordmark and the legal line -->
|
|
91
|
+
<tr><td class="em-foot" style="padding:24px 8px 0;font-family:'Nunito Sans',Arial,Helvetica,sans-serif">
|
|
92
|
+
<div class="em-meta" style="font-size:14px;line-height:20px;color:#5d666d">{{reason}}{{#if manage_url}} <a href="{{manage_url}}" style="color:#5d666d">{{manage_label}}</a>{{/if}}</div>
|
|
93
|
+
<img class="em-light" src="{{assets_url}}/alisx-wordmark.png" width="52" height="20" alt="AlisX" style="margin-top:16px">
|
|
94
|
+
<div class="em-dark" style="margin-top:16px"><img src="{{assets_url}}/alisx-wordmark-dark.png" width="52" height="20" alt="AlisX"></div>
|
|
95
|
+
<div class="em-meta" style="padding-top:8px;font-size:12px;line-height:16px;color:#5d666d">Alis Exchange · 43 Boulevard Prince Henri, L-1724 Luxembourg</div>
|
|
91
96
|
</td></tr>
|
|
92
97
|
|
|
93
98
|
</table>
|
package/email/shell.txt
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
{{
|
|
1
|
+
{{#if internal}}Internal: for AlisX staff
|
|
2
2
|
|
|
3
|
-
{{headline}}
|
|
3
|
+
{{/if}}{{headline}}
|
|
4
4
|
|
|
5
5
|
{{body_text}}
|
|
6
6
|
{{#if action_url}}
|
|
@@ -11,4 +11,4 @@
|
|
|
11
11
|
--
|
|
12
12
|
{{reason}}{{#if manage_url}}
|
|
13
13
|
{{manage_label}}: {{manage_url}}{{/if}}
|
|
14
|
-
Alis Exchange · 43 Boulevard Prince Henri, L-1724 Luxembourg
|
|
14
|
+
AlisX · Alis Exchange · 43 Boulevard Prince Henri, L-1724 Luxembourg
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alis-build/design-system",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.38.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/buttons.md
CHANGED
|
@@ -143,8 +143,9 @@ click goes.
|
|
|
143
143
|
`arrow_forward` for it.
|
|
144
144
|
- **A third party's mark on a hand-off**: "Sign in with Google", "Connect
|
|
145
145
|
GitHub", "Open in VS Code". The button takes you to that party, so it leads
|
|
146
|
-
with their mark, at the glyph's size and never recoloured
|
|
147
|
-
|
|
146
|
+
with their mark, at the glyph's size and never recoloured (an agent's mark
|
|
147
|
+
in a hand-off is the exception: one colour, [icons.md](icons.md)). Only sign-in,
|
|
148
|
+
connect and open-in buttons (and an agent's row in a hand-off), and only marks from the system's list
|
|
148
149
|
([known-gaps.md](known-gaps.md) § Assets).
|
|
149
150
|
- **`stop_circle` on the control that stops a capture in flight**, in the red
|
|
150
151
|
of § Colour, filled or not, and alone on a phone.
|
|
@@ -167,7 +168,8 @@ The rest:
|
|
|
167
168
|
"Edit session" with `edit`.
|
|
168
169
|
- **One glyph.** It leads, except the two that say where the click goes (the
|
|
169
170
|
chevron, `open_in_new`), which trail.
|
|
170
|
-
- **Alis's actions say so in words** ("Draft with Alis"
|
|
171
|
+
- **Alis's actions say so in words** ("Draft it with Alis", the hand-off's shape:
|
|
172
|
+
[AppHandOff](../components/AppHandOff.md)). ✦ (`auto_awesome`)
|
|
171
173
|
marks what Alis wrote ([AppChip](../components/AppChip.md)), never a button.
|
|
172
174
|
|
|
173
175
|
## Rules
|
package/rules/email.md
CHANGED
|
@@ -1,29 +1,35 @@
|
|
|
1
1
|
# Email
|
|
2
2
|
|
|
3
3
|
Every email AlisX sends, from any service, is one shell and a few blocks. The
|
|
4
|
-
markup is in `email/` in this package: `shell.html`, `blocks.html
|
|
5
|
-
|
|
6
|
-
product roles, light and dark. Email is
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
4
|
+
markup is in `email/` in this package: `shell.html`, `blocks.html`, the plain-text
|
|
5
|
+
twin `shell.txt`, and the PNGs a mail app shows (the wordmark and `glyphs/`), with
|
|
6
|
+
every colour already written in from the product roles, light and dark. Email is
|
|
7
|
+
the product speaking to you ([register.md](register.md)): its roles, its type and
|
|
8
|
+
its components, drawn for a mail app at a fixed size, because a mail app takes no
|
|
9
|
+
custom properties, no fluid type and no icon font.
|
|
10
10
|
|
|
11
11
|
## The six rules
|
|
12
12
|
|
|
13
13
|
1. **One job, one action.** Each email does one of the jobs below and asks for
|
|
14
14
|
at most one thing. The action is a verb and the name: *Review request*,
|
|
15
15
|
*Open conversation* ([buttons.md](buttons.md)).
|
|
16
|
-
2. **The headline is the news
|
|
17
|
-
|
|
16
|
+
2. **The headline is the news, and it opens with whoever caused it.** One
|
|
17
|
+
sentence with the names in it: "Sam Naidoo asked for Editor access to
|
|
18
|
+
Month-end close.", "Alis finished the synthesis of 12 interviews." The name
|
|
19
|
+
alone: no avatar, no photo, no role or organisation beside it. When nobody
|
|
20
|
+
caused it (a sign-in code, an invoice), it opens with the thing.
|
|
18
21
|
3. **The product speaks, to you** ([words.md](words.md)). No "I", "we" or
|
|
19
|
-
sign-off ("— Alis", "The Alis team"). Alis is named
|
|
20
|
-
No emoji, no exclamation marks; the names from `words.json`.
|
|
22
|
+
sign-off ("— Alis", "The Alis team"). Alis is named like a person, with no
|
|
23
|
+
mark. No emoji, no exclamation marks; the names from `words.json`.
|
|
21
24
|
4. **Always say why they got it.** The foot says who or what sent it to this
|
|
22
25
|
person, and how to stop it where they can.
|
|
23
|
-
5. **The
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
5. **The product's face, signed by AlisX.** The product roles, Nunito Sans, the
|
|
27
|
+
one filled action. The wordmark signs the foot; nothing heads the email but
|
|
28
|
+
its headline. Red only in the command caret and an error alert. No banner, no
|
|
29
|
+
product colour, no photograph.
|
|
30
|
+
6. **Built for mail apps** (below): 600 wide, one column, edge to edge on a
|
|
31
|
+
phone, a dark version, the link written out under the button, a plain-text
|
|
32
|
+
twin.
|
|
27
33
|
|
|
28
34
|
## Which job
|
|
29
35
|
|
|
@@ -43,56 +49,73 @@ What does the reader need from it?
|
|
|
43
49
|
|
|
44
50
|
| Job | Blocks it uses | Action |
|
|
45
51
|
| --- | --- | --- |
|
|
46
|
-
| Prove it's you | Code,
|
|
47
|
-
| You're invited |
|
|
48
|
-
| Needs your decision |
|
|
49
|
-
| Something happened |
|
|
50
|
-
| Money and account |
|
|
52
|
+
| Prove it's you | Code, small print (how long it works; "ignore this if it wasn't you") | None: the code is the email |
|
|
53
|
+
| You're invited | Tile (the interview, the project), Fields (until when, who sees what, the role) or Steps | Accept, Start: one verb |
|
|
54
|
+
| Needs your decision | Message (their reason), Fields (the role asked for); Command for Alis Build | *Review request*: the decision happens in the product |
|
|
55
|
+
| Something happened | Alert when it failed, Message, Tile (the file) | *Open conversation*, *Open logs* |
|
|
56
|
+
| Money and account | Fields, Tile (the PDF) | *View invoice* |
|
|
51
57
|
| Digest | Numbers, List | *Open your week in review* |
|
|
52
|
-
| Internal |
|
|
58
|
+
| Internal | Fields, Message | Open it in the console |
|
|
53
59
|
|
|
54
|
-
**
|
|
55
|
-
|
|
60
|
+
**A role is always named** where the email lets someone in or asks for it: a
|
|
61
|
+
Fields row, "Access · Editor: can add contributions and run interviews", in the
|
|
62
|
+
role's own name ([access.md](access.md)).
|
|
63
|
+
|
|
64
|
+
**An internal email** sets the shell's `internal` slot, so a meta line ("Internal:
|
|
65
|
+
for AlisX staff") stands over the headline and nobody mistakes it for customer
|
|
66
|
+
mail. No welcome, facts first.
|
|
56
67
|
|
|
57
68
|
## The shell
|
|
58
69
|
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
1. **
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
5. **Foot.** Why you got it ("You're getting this because Pieter Botha invited
|
|
70
|
+
Four parts, always in this order:
|
|
71
|
+
|
|
72
|
+
1. **Headline.** The news as one sentence ending in a full stop, opening with
|
|
73
|
+
whoever caused it. `page-title`: 28/36 at 700, 22/28 at 500 on a phone. Bind
|
|
74
|
+
its last two words with a non-breaking space.
|
|
75
|
+
2. **Body.** One to three short paragraphs, then at most two blocks.
|
|
76
|
+
3. **Action.** One filled button, then the link written out under it ("Or open
|
|
77
|
+
…"), for a mail app where the button fails or a reader who copies it. A job
|
|
78
|
+
without an action leaves both out.
|
|
79
|
+
4. **Foot.** Why you got it ("You're getting this because Pieter Botha invited
|
|
70
80
|
you."), a way to stop it where one exists (*Turn off interview emails*,
|
|
71
|
-
*Mute this conversation*),
|
|
72
|
-
**Alis Exchange · 43 Boulevard Prince
|
|
81
|
+
*Mute this conversation*), then AlisX signs it: the wordmark, and under it the
|
|
82
|
+
legal line, which the shell carries: **Alis Exchange · 43 Boulevard Prince
|
|
83
|
+
Henri, L-1724 Luxembourg.**
|
|
73
84
|
|
|
74
|
-
The shell's slots: `subject`, `preheader`, `
|
|
75
|
-
blocks, as HTML), `action_label`, `action_url`,
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
85
|
+
The shell's slots: `subject`, `preheader`, `internal` (staff mail only),
|
|
86
|
+
`headline`, `body` (the blocks, as HTML), `action_label`, `action_url`,
|
|
87
|
+
`after_action` (the Command block alone, under the link), `reason`,
|
|
88
|
+
`manage_label`, `manage_url`, and `assets_url`, where the PNGs are served (the
|
|
89
|
+
wordmark at its root, the glyphs under `glyphs/`).
|
|
79
90
|
|
|
80
91
|
## The blocks
|
|
81
92
|
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
|
86
|
-
|
|
|
87
|
-
| **
|
|
88
|
-
| **
|
|
89
|
-
| **
|
|
90
|
-
| **
|
|
91
|
-
| **
|
|
92
|
-
| **
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
93
|
+
Each block is a product component drawn for mail, on the product's type and
|
|
94
|
+
space, so a thing reads the same in the inbox as in the app.
|
|
95
|
+
|
|
96
|
+
| Block | Is | For | Limit |
|
|
97
|
+
| --- | --- | --- | --- |
|
|
98
|
+
| **Paragraph** | body, 16/24 | The body's prose; small print (meta) under a block | Three paragraphs |
|
|
99
|
+
| **Code** | mono at page-title | Something to type. Spaced in groups, never a button | One |
|
|
100
|
+
| **Message** | a bubble ([AppTurn](../components/AppTurn.md)) | Someone's own words: "Sam Naidoo wrote" over them, the words in quotes in their bubble | 400 characters, then cut |
|
|
101
|
+
| **Fields** | the field list ([AppListRow](../components/AppListRow.md) § Field) | A request or a record read back: the name over its value | Six rows |
|
|
102
|
+
| **Tile** | [AppAttachment](../components/AppAttachment.md) | A file, or a thing (an interview, a meeting, an issue): its glyph, its name, its kind and a detail. Never a link: the button is the way in | Five |
|
|
103
|
+
| **Alert** | [AppAlert](../components/AppAlert.md) | The one status the email is about: a deploy failed, a payment didn't go through. Its icon on its tint, a title and a line saying what to do | One |
|
|
104
|
+
| **List** | rows | A few named things, each with one value | Five, then "and 3 more" |
|
|
105
|
+
| **Numbers** | stats at page-title | The figures that are the point of a digest, each with its change | Three |
|
|
106
|
+
| **Steps** | numbered rows | What happens next, for someone new | Three |
|
|
107
|
+
| **Command** | machine speech | The terminal way to do the same action, behind the red caret | Alis Build only |
|
|
108
|
+
|
|
109
|
+
A block is never the only thing on the sheet except Code. Two blocks at most; a
|
|
110
|
+
digest's Numbers and List are its two. Command sits in `after_action` and doesn't
|
|
111
|
+
count.
|
|
112
|
+
|
|
113
|
+
**A tile's glyph** is the attachment's, by name: `description`, `slideshow`,
|
|
114
|
+
`table`, `graphic_eq`, `movie`, `screen_record`, `draft` for files;
|
|
115
|
+
`record_voice_over` an interview, `videocam` a meeting, `edit_note` its notes,
|
|
116
|
+
`monitor_heart` diagnostics, `extension` a skill, `assignment` an issue,
|
|
117
|
+
`terminal` an agent session; `web`, `article`, `code`, `text_snippet`, `shapes`
|
|
118
|
+
for what Alis made. A glyph the set doesn't have is drawn first, never borrowed.
|
|
96
119
|
|
|
97
120
|
## Subject, preview and sender
|
|
98
121
|
|
|
@@ -122,36 +145,47 @@ Never a category.
|
|
|
122
145
|
- **The sender is who caused it** (Ruan, 2026-10-14). "Pieter Botha via AlisX"
|
|
123
146
|
when a person did it (an invite, a request, a reply); "AlisX" when the product
|
|
124
147
|
did; "Lerato Dlamini via AlisX Specialists" for a Specialist; "AlisX internal"
|
|
125
|
-
for staff mail. Strangers recognise the person, not us.
|
|
148
|
+
for staff mail. Strangers recognise the person, not us. The headline names the
|
|
149
|
+
same person first.
|
|
126
150
|
|
|
127
151
|
## Built for mail apps
|
|
128
152
|
|
|
129
153
|
- **600 wide, one column**, tables for layout and every style inline: Gmail and
|
|
130
154
|
Outlook drop most of a `<style>` block. The shell's `<style>` only adds dark
|
|
131
155
|
and phone adjustments to mail apps that keep it.
|
|
132
|
-
- **
|
|
133
|
-
|
|
134
|
-
PNG. Elsewhere a mail app may invert the light one itself; the roles are
|
|
135
|
-
chosen to survive that.
|
|
136
|
-
- **On a phone** (under 480): facts stack label over value, the button runs the
|
|
156
|
+
- **On a phone** (under 480) the sheet runs edge to edge on `surface`, with no
|
|
157
|
+
edge or corner; the headline takes page-title's phone step, the button runs the
|
|
137
158
|
full width, the numbers stay one row and shrink.
|
|
138
|
-
- **
|
|
139
|
-
|
|
140
|
-
|
|
159
|
+
- **Dark.** The shell carries a dark version for mail apps that honour
|
|
160
|
+
`prefers-color-scheme` (Apple Mail, iOS); the wordmark and glyphs swap to their
|
|
161
|
+
`-dark` PNGs. Elsewhere a mail app may invert the light one itself; the roles
|
|
162
|
+
are chosen to survive that.
|
|
163
|
+
- **Type and space are the product's**: body, supporting, meta, object-title and
|
|
164
|
+
page-title ([type.md](type.md)); 4, 8, 12, 16, 24 and 32 ([spacing.md](spacing.md));
|
|
165
|
+
the filled button 48 tall, padded 24. No size a product screen doesn't use.
|
|
166
|
+
- **Images are PNG only**, at 3×: the wordmark (`alisx-wordmark.png` and
|
|
167
|
+
`-dark.png`, 52 × 20 shown) and the glyphs (24 shown). Never SVG, never an icon
|
|
168
|
+
font, never a picture carrying words. The wordmark's `alt` is "AlisX"; a tile's
|
|
169
|
+
glyph has none, because its name is beside it; an alert's says its status.
|
|
141
170
|
- **Fonts**: Nunito Sans where the mail app loads it, then Arial.
|
|
142
171
|
- **A plain-text twin of every email** (`shell.txt`): the same words, the link
|
|
143
172
|
written out.
|
|
144
173
|
- **Colours come from the roles.** `source/email/` writes `[[role]]` and
|
|
145
|
-
`[[role:dark]]
|
|
146
|
-
|
|
174
|
+
`[[role:dark]]`, and `[[role/12]]` for an alert's tint (the role at 12% over
|
|
175
|
+
`surface`); `make generate` resolves them, and fails on a name that isn't a
|
|
176
|
+
product role. Never a hex typed into a template. The glyphs are drawn from the
|
|
177
|
+
same roles by `generate/email-glyphs.mjs`, and redrawn when one changes.
|
|
147
178
|
|
|
148
179
|
## Before you send it
|
|
149
180
|
|
|
150
181
|
1. Which job is it, and is there exactly one action (or none)?
|
|
151
|
-
2. Does the headline
|
|
182
|
+
2. Does the headline open with whoever caused it, by name alone, and does the
|
|
183
|
+
subject say the news?
|
|
152
184
|
3. Does the preview add something the subject didn't?
|
|
153
185
|
4. Is the sender the person who caused it?
|
|
154
|
-
5.
|
|
155
|
-
|
|
186
|
+
5. Are someone's own words captioned with their name? Is a role named where
|
|
187
|
+
someone is let in?
|
|
188
|
+
6. Does the foot say why they got it?
|
|
189
|
+
7. Any "I", "we", sign-off, emoji or exclamation mark? Any word not from
|
|
156
190
|
`words.json`?
|
|
157
|
-
|
|
191
|
+
8. Does it read in the plain-text twin, and on a phone?
|
package/rules/icons.md
CHANGED
|
@@ -60,7 +60,9 @@ pane), never by drawing new glyphs.
|
|
|
60
60
|
## Brand marks are not icons
|
|
61
61
|
|
|
62
62
|
- **The Alis mark**: never recoloured, never rotated, never boxed.
|
|
63
|
-
- **Harness marks** (Claude, Copilot, Codex, Cursor, Antigravity,
|
|
64
|
-
colour, at text size, for nominative "works with" use only
|
|
65
|
-
|
|
63
|
+
- **Harness marks** (Claude, ChatGPT, Gemini, Copilot, Codex, Cursor, Antigravity,
|
|
64
|
+
OpenCode): one colour, at text size, for nominative "works with" use only, and
|
|
65
|
+
to lead an agent's row and its Open button in a hand-off
|
|
66
|
+
([AppHandOff](../components/AppHandOff.md)), in the ink of the text beside
|
|
67
|
+
them. Never in a vendor's brand colour.
|
|
66
68
|
- Product lockups are assets. Never reconstruct one by hand.
|
package/rules/known-gaps.md
CHANGED
|
@@ -29,7 +29,7 @@ What the system doesn't decide yet, in one place. When you hit one, take the qui
|
|
|
29
29
|
## Assets
|
|
30
30
|
|
|
31
31
|
- No font files are vendored. `fonts.css` loads Nunito Sans and Material Symbols from Google Fonts, for prototypes; in production, self-host them (Material Symbols as the subset you use).
|
|
32
|
-
- The coding-agent ("works with") marks are not in this package; alisx.com carries them.
|
|
32
|
+
- The coding-agent ("works with") marks are not in this package; alisx.com carries them. Until they are here, a hand-off's rows and its Open button are words alone ([AppHandOff](../components/AppHandOff.md)).
|
|
33
33
|
- **Third-party marks for hand-offs** ("Sign in with Google", "Connect GitHub", "Open in VS Code"; [buttons.md](buttons.md) § The form) have no list yet. Until a mark is added here with its owner's usage terms, the button is its words alone.
|
|
34
|
-
- **The email
|
|
34
|
+
- **The email images are served per release** under `alisx.com/assets/email/<version>/`: the wordmarks and, from 0.37.0, the glyphs. A release that changes an email PNG needs that folder added to alisx.com before an email that uses it is sent; the shell reads it from its `assets_url` slot ([email.md](email.md)).
|
|
35
35
|
- **The email button in Outlook for Windows** draws square: rounding it needs VML, which the shell leaves out.
|
package/rules/quick-start.md
CHANGED
|
@@ -43,6 +43,7 @@ AppShell
|
|
|
43
43
|
| Writing to Alis, an agent or a person | `AppComposer`, one per conversation; files in its tray as `AppAttachment`s; a call given room is `AppVoiceView` |
|
|
44
44
|
| The conversation above it | `AppTurn`s in an `.app-thread`: you in a bubble, Alis as prose, the mark at the top of Alis's latest turn |
|
|
45
45
|
| More actions behind `more_vert`, the composer's Add, `/` commands and `@` mentions | `AppMenu`: floating for actions, a band on the composer for suggestions; what you choose is an `.app-token` |
|
|
46
|
+
| A task the person can do in their own agent (Claude, ChatGPT, Copilot…), with a way back | `AppHandOff`, one per screen: a list at the start of a create flow, a text button before the affirmative ("Plan it with Claude"), or a ⋯ row; each opens the steps |
|
|
46
47
|
| Alis or a person needs an answer, an approval or a connection | `AppAsk`, docked on the composer of whoever decides; the conversation's row shows a `warning` "Needs you" chip and the rail an `.app-count` |
|
|
47
48
|
| A recording that runs while you keep writing (a screen, through an interview) | `AppComposer`'s capture bar, docked on top of the composer and led by a live thumbnail; Stop recording in `error` ink, unfilled beside Send |
|
|
48
49
|
| Content Alis wrote | a label `AppChip icon="auto_awesome"` "AI-generated", once, at its top |
|
package/rules/register.md
CHANGED
|
@@ -11,7 +11,7 @@ What am I building?
|
|
|
11
11
|
│ crossing below
|
|
12
12
|
├─ An explainer page inside the product that
|
|
13
13
|
│ sells a capability → EXPRESSIVE (below)
|
|
14
|
-
├─ An email →
|
|
14
|
+
├─ An email → PRODUCT, built from the
|
|
15
15
|
│ email shell (email.md)
|
|
16
16
|
└─ alisx.com, a landing page, a deck → NARRATIVE
|
|
17
17
|
```
|
|
@@ -68,9 +68,10 @@ records or app chrome.
|
|
|
68
68
|
|
|
69
69
|
## Narrative
|
|
70
70
|
|
|
71
|
-
alisx.com and
|
|
72
|
-
|
|
73
|
-
|
|
71
|
+
alisx.com and the pages that sell, outside the product. An email addresses a
|
|
72
|
+
reader too, but about their own work, so it stays product ([email.md](email.md)).
|
|
73
|
+
Narrative's tokens are `narrative-*`, `band-*`, `on-band-*` and `term-*`; its type
|
|
74
|
+
is the `narrative-*` and `mono*` styles. It never reaches a working screen.
|
|
74
75
|
|
|
75
76
|
### Voice on alisx.com
|
|
76
77
|
|
package/words.json
CHANGED
|
@@ -280,6 +280,21 @@
|
|
|
280
280
|
"means": "A synthesis or an artifact that context has arrived since. Said in words, with what changed (\"3 new contributions since this was written\"), and Update beside it.",
|
|
281
281
|
"retired": [],
|
|
282
282
|
"avoid": ["Stale (Build may still say a cache is stale)"]
|
|
283
|
+
},
|
|
284
|
+
{
|
|
285
|
+
"name": "your agent",
|
|
286
|
+
"product": "all",
|
|
287
|
+
"means": "The AI tool a person already uses outside AlisX: Claude, ChatGPT, Copilot, Codex, Gemini and the rest. Named by its own name wherever it is known (\"Plan it with Claude\"); \"your agent\" only where it isn't, and \"another agent\" on the last row of a list. Never Alis, who is named. A hand-off's label is [verb] it with [who]: \"Plan it with Alis\", \"Plan it with your agent\" (AppHandOff).",
|
|
288
|
+
"retired": ["your AI tool"],
|
|
289
|
+
"avoid": ["AI tool", "your AI (Alis is an AI too)", "your assistant"]
|
|
290
|
+
},
|
|
291
|
+
{
|
|
292
|
+
"name": "prompt",
|
|
293
|
+
"plural": "prompts",
|
|
294
|
+
"product": "all",
|
|
295
|
+
"means": "What you copy into your agent to hand it a task: one sentence asking for it, then the context it needs. \"Copy prompt\", and \"Copy as prompt\" on a thing you can carry on with.",
|
|
296
|
+
"retired": [],
|
|
297
|
+
"avoid": ["brief (for a prompt: a project brief is an artifact, and the introduction was the participant brief)", "instructions"]
|
|
283
298
|
}
|
|
284
299
|
],
|
|
285
300
|
"verbs": [
|