@skillcdn/console 0.5.1 → 0.5.2
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/README.md +20 -2
- package/dist/agent-page.d.ts.map +1 -1
- package/dist/agent-page.js +4 -4
- package/dist/agent-page.js.map +1 -1
- package/dist/api.d.ts +5 -4
- package/dist/api.d.ts.map +1 -1
- package/dist/api.js +5 -4
- package/dist/api.js.map +1 -1
- package/dist/cli/cli.d.ts +32 -0
- package/dist/cli/cli.d.ts.map +1 -1
- package/dist/cli/cli.js +442 -93
- package/dist/cli/cli.js.map +1 -1
- package/dist/cli/format.d.ts +6 -2
- package/dist/cli/format.d.ts.map +1 -1
- package/dist/cli/format.js +25 -3
- package/dist/cli/format.js.map +1 -1
- package/dist/cli/help.d.ts.map +1 -1
- package/dist/cli/help.js +10 -5
- package/dist/cli/help.js.map +1 -1
- package/dist/cli/machine-check.d.ts +36 -0
- package/dist/cli/machine-check.d.ts.map +1 -0
- package/dist/cli/machine-check.js +151 -0
- package/dist/cli/machine-check.js.map +1 -0
- package/dist/cli/runner-host.d.ts +7 -0
- package/dist/cli/runner-host.d.ts.map +1 -1
- package/dist/cli/runner-host.js +2 -0
- package/dist/cli/runner-host.js.map +1 -1
- package/dist/cli/secret-notes.d.ts +8 -0
- package/dist/cli/secret-notes.d.ts.map +1 -0
- package/dist/cli/secret-notes.js +48 -0
- package/dist/cli/secret-notes.js.map +1 -0
- package/dist/client.d.ts +7 -1
- package/dist/client.d.ts.map +1 -1
- package/dist/client.js +6 -1
- package/dist/client.js.map +1 -1
- package/dist/components/agent-page.d.ts +106 -13
- package/dist/components/agent-page.d.ts.map +1 -1
- package/dist/components/agent-page.js +391 -102
- package/dist/components/agent-page.js.map +1 -1
- package/dist/components/agents.d.ts.map +1 -1
- package/dist/components/agents.js +1 -1
- package/dist/components/agents.js.map +1 -1
- package/dist/components/board.d.ts.map +1 -1
- package/dist/components/board.js +3 -2
- package/dist/components/board.js.map +1 -1
- package/dist/components/categories.js +1 -1
- package/dist/components/categories.js.map +1 -1
- package/dist/components/decision-list.d.ts.map +1 -1
- package/dist/components/decision-list.js +1 -1
- package/dist/components/decision-list.js.map +1 -1
- package/dist/components/event-feed.d.ts.map +1 -1
- package/dist/components/event-feed.js +3 -2
- package/dist/components/event-feed.js.map +1 -1
- package/dist/components/goals.d.ts +2 -0
- package/dist/components/goals.d.ts.map +1 -1
- package/dist/components/goals.js +1 -1
- package/dist/components/goals.js.map +1 -1
- package/dist/components/home.d.ts.map +1 -1
- package/dist/components/home.js +12 -6
- package/dist/components/home.js.map +1 -1
- package/dist/components/icon.d.ts +31 -0
- package/dist/components/icon.d.ts.map +1 -0
- package/dist/components/icon.js +169 -0
- package/dist/components/icon.js.map +1 -0
- package/dist/components/markdown.d.ts +6 -0
- package/dist/components/markdown.d.ts.map +1 -1
- package/dist/components/markdown.js +10 -2
- package/dist/components/markdown.js.map +1 -1
- package/dist/components/people.js +1 -1
- package/dist/components/people.js.map +1 -1
- package/dist/components/plugin-frame.d.ts.map +1 -1
- package/dist/components/plugin-frame.js +7 -0
- package/dist/components/plugin-frame.js.map +1 -1
- package/dist/components/projects.d.ts +17 -4
- package/dist/components/projects.d.ts.map +1 -1
- package/dist/components/projects.js +25 -6
- package/dist/components/projects.js.map +1 -1
- package/dist/components/sessions.d.ts.map +1 -1
- package/dist/components/sessions.js +3 -2
- package/dist/components/sessions.js.map +1 -1
- package/dist/components/setup.d.ts.map +1 -1
- package/dist/components/setup.js +2 -2
- package/dist/components/setup.js.map +1 -1
- package/dist/components/shell.d.ts.map +1 -1
- package/dist/components/shell.js +3 -2
- package/dist/components/shell.js.map +1 -1
- package/dist/components/tokens.js +1 -1
- package/dist/components/tokens.js.map +1 -1
- package/dist/components/ui.d.ts +5 -2
- package/dist/components/ui.d.ts.map +1 -1
- package/dist/components/ui.js +10 -7
- package/dist/components/ui.js.map +1 -1
- package/dist/connect-page.js +1 -1
- package/dist/connect-page.js.map +1 -1
- package/dist/console.css +473 -77
- package/dist/console.d.ts.map +1 -1
- package/dist/console.js +38 -31
- package/dist/console.js.map +1 -1
- package/dist/home-tiles.d.ts +9 -0
- package/dist/home-tiles.d.ts.map +1 -1
- package/dist/home-tiles.js +105 -23
- package/dist/home-tiles.js.map +1 -1
- package/dist/i18n/en.d.ts +48 -1
- package/dist/i18n/en.d.ts.map +1 -1
- package/dist/i18n/en.js +125 -2
- package/dist/i18n/en.js.map +1 -1
- package/dist/i18n/ko.d.ts.map +1 -1
- package/dist/i18n/ko.js +197 -79
- package/dist/i18n/ko.js.map +1 -1
- package/dist/i18n/particles.d.ts +7 -0
- package/dist/i18n/particles.d.ts.map +1 -0
- package/dist/i18n/particles.js +72 -0
- package/dist/i18n/particles.js.map +1 -0
- package/dist/icons/glyphs.d.ts +605 -0
- package/dist/icons/glyphs.d.ts.map +1 -0
- package/dist/icons/glyphs.js +104 -0
- package/dist/icons/glyphs.js.map +1 -0
- package/dist/icons/index.d.ts +59 -0
- package/dist/icons/index.d.ts.map +1 -0
- package/dist/icons/index.js +157 -0
- package/dist/icons/index.js.map +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/limits.d.ts +9 -0
- package/dist/limits.d.ts.map +1 -1
- package/dist/limits.js +9 -0
- package/dist/limits.js.map +1 -1
- package/dist/marks.d.ts +9 -0
- package/dist/marks.d.ts.map +1 -1
- package/dist/marks.js +9 -0
- package/dist/marks.js.map +1 -1
- package/dist/onboarding.js +3 -3
- package/dist/onboarding.js.map +1 -1
- package/dist/plugin/web.d.ts +3 -0
- package/dist/plugin/web.d.ts.map +1 -1
- package/dist/plugin/web.js +5 -1
- package/dist/plugin/web.js.map +1 -1
- package/dist/runner/acp.d.ts.map +1 -1
- package/dist/runner/acp.js +2 -2
- package/dist/runner/acp.js.map +1 -1
- package/dist/runner/awake.d.ts +35 -0
- package/dist/runner/awake.d.ts.map +1 -0
- package/dist/runner/awake.js +95 -0
- package/dist/runner/awake.js.map +1 -0
- package/dist/runner/claude.d.ts.map +1 -1
- package/dist/runner/claude.js +19 -7
- package/dist/runner/claude.js.map +1 -1
- package/dist/runner/codex.d.ts.map +1 -1
- package/dist/runner/codex.js +2 -2
- package/dist/runner/codex.js.map +1 -1
- package/dist/runner/config.d.ts +5 -0
- package/dist/runner/config.d.ts.map +1 -1
- package/dist/runner/config.js +9 -0
- package/dist/runner/config.js.map +1 -1
- package/dist/runner/desk.d.ts.map +1 -1
- package/dist/runner/desk.js +5 -6
- package/dist/runner/desk.js.map +1 -1
- package/dist/runner/runner.d.ts +13 -2
- package/dist/runner/runner.d.ts.map +1 -1
- package/dist/runner/runner.js +141 -22
- package/dist/runner/runner.js.map +1 -1
- package/dist/runner/slack.d.ts.map +1 -1
- package/dist/runner/slack.js +10 -4
- package/dist/runner/slack.js.map +1 -1
- package/dist/runner/types.d.ts +15 -0
- package/dist/runner/types.d.ts.map +1 -1
- package/dist/runner/types.js +9 -0
- package/dist/runner/types.js.map +1 -1
- package/dist/schemas.d.ts +94 -1
- package/dist/schemas.d.ts.map +1 -1
- package/dist/schemas.js +81 -5
- package/dist/schemas.js.map +1 -1
- package/dist/services.d.ts.map +1 -1
- package/dist/services.js +9 -5
- package/dist/services.js.map +1 -1
- package/dist/setup-guide.d.ts +14 -3
- package/dist/setup-guide.d.ts.map +1 -1
- package/dist/setup-guide.js +41 -37
- package/dist/setup-guide.js.map +1 -1
- package/dist/tokens.d.ts.map +1 -1
- package/dist/tokens.js +5 -1
- package/dist/tokens.js.map +1 -1
- package/dist/vocabulary.d.ts +7 -0
- package/dist/vocabulary.d.ts.map +1 -1
- package/dist/vocabulary.js +6 -0
- package/dist/vocabulary.js.map +1 -1
- package/docs/specs/cli.md +10 -7
- package/docs/specs/plugins.md +17 -6
- package/docs/specs/rest.md +10 -8
- package/docs/specs/runner.md +26 -8
- package/package.json +7 -3
- package/skills/building-a-console/SKILL.md +2 -2
- package/skills/building-a-plugin/SKILL.md +2 -2
- package/skills/keeping-a-desk/SKILL.md +2 -2
- package/skills/running-an-agent/SKILL.md +47 -57
- package/skills/working-the-board/SKILL.md +5 -4
- package/skills/working-the-board/references/the-pack.md +1 -1
- package/src/agent-page.tsx +13 -1
- package/src/api.ts +32 -1
- package/src/cli/cli.ts +530 -106
- package/src/cli/format.ts +31 -3
- package/src/cli/help.ts +12 -4
- package/src/cli/machine-check.ts +223 -0
- package/src/cli/runner-host.ts +8 -0
- package/src/cli/secret-notes.ts +63 -0
- package/src/client.ts +23 -0
- package/src/components/agent-page.tsx +629 -112
- package/src/components/agents.tsx +9 -5
- package/src/components/board.tsx +3 -15
- package/src/components/categories.tsx +2 -2
- package/src/components/decision-list.tsx +11 -7
- package/src/components/event-feed.tsx +7 -2
- package/src/components/goals.tsx +33 -25
- package/src/components/home.tsx +30 -6
- package/src/components/icon.tsx +337 -0
- package/src/components/markdown.tsx +22 -2
- package/src/components/people.tsx +1 -1
- package/src/components/plugin-frame.tsx +7 -0
- package/src/components/projects.tsx +39 -5
- package/src/components/sessions.tsx +2 -13
- package/src/components/setup.tsx +2 -2
- package/src/components/shell.tsx +3 -20
- package/src/components/tokens.tsx +1 -1
- package/src/components/ui.tsx +16 -8
- package/src/connect-page.tsx +1 -1
- package/src/console.tsx +87 -53
- package/src/home-tiles.ts +127 -23
- package/src/i18n/en.ts +127 -2
- package/src/i18n/ko.ts +200 -79
- package/src/i18n/particles.ts +79 -0
- package/src/icons/glyphs.ts +112 -0
- package/src/icons/index.ts +195 -0
- package/src/index.ts +7 -0
- package/src/limits.ts +9 -0
- package/src/marks.ts +12 -0
- package/src/onboarding.ts +3 -3
- package/src/plugin/web.ts +9 -2
- package/src/runner/acp.ts +2 -1
- package/src/runner/awake.ts +135 -0
- package/src/runner/claude.ts +19 -4
- package/src/runner/codex.ts +2 -1
- package/src/runner/config.ts +9 -0
- package/src/runner/desk.ts +5 -6
- package/src/runner/runner.ts +183 -23
- package/src/runner/slack.ts +10 -4
- package/src/runner/types.ts +20 -0
- package/src/schemas.ts +94 -3
- package/src/services.ts +9 -5
- package/src/setup-guide.ts +43 -38
- package/src/styles/README.md +5 -4
- package/src/styles/base.css +17 -0
- package/src/styles/console.css +1 -0
- package/src/styles/drawn-by-pages.json +1 -1
- package/src/styles/pages/agents.css +103 -1
- package/src/styles/pages/board.css +0 -10
- package/src/styles/pages/calendar.css +1 -1
- package/src/styles/pages/connect.css +0 -10
- package/src/styles/pages/decisions.css +3 -1
- package/src/styles/pages/feed.css +5 -2
- package/src/styles/pages/home.css +5 -0
- package/src/styles/pages/roadmap.css +2 -2
- package/src/styles/pages/settings.css +11 -0
- package/src/styles/pages/task.css +0 -20
- package/src/styles/pages/thread.css +1 -1
- package/src/styles/parts/calendar.css +1 -1
- package/src/styles/parts/callout.css +1 -0
- package/src/styles/parts/detail.css +22 -0
- package/src/styles/parts/empty.css +2 -0
- package/src/styles/parts/eyebrow.css +1 -1
- package/src/styles/parts/facts.css +1 -1
- package/src/styles/parts/figures.css +1 -1
- package/src/styles/parts/form.css +2 -1
- package/src/styles/parts/icon.css +191 -0
- package/src/styles/parts/input.css +14 -4
- package/src/styles/parts/mark.css +36 -0
- package/src/styles/parts/menu.css +1 -7
- package/src/styles/parts/page.css +1 -1
- package/src/styles/parts/panel.css +10 -0
- package/src/styles/parts/person.css +5 -2
- package/src/styles/parts/progress.css +5 -2
- package/src/styles/parts/rows.css +1 -0
- package/src/styles/parts/settings.css +5 -0
- package/src/styles/parts/stat.css +1 -1
- package/src/styles/tokens.css +22 -7
- package/src/tokens.ts +5 -1
- package/src/vocabulary.ts +9 -0
|
@@ -108,3 +108,25 @@
|
|
|
108
108
|
min-width: 0;
|
|
109
109
|
}
|
|
110
110
|
}
|
|
111
|
+
|
|
112
|
+
/* The head's words where something stands over the title: what the thing is a part of, or the
|
|
113
|
+
way back to all of its kind, in a quiet line, then the title and its badges. */
|
|
114
|
+
.sc-task-heading {
|
|
115
|
+
display: grid;
|
|
116
|
+
flex: 1 1 28rem;
|
|
117
|
+
gap: var(--sc-space-2);
|
|
118
|
+
min-width: 0;
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
.sc-task-parent {
|
|
122
|
+
color: var(--sc-color-text-muted);
|
|
123
|
+
font-size: var(--sc-text-sm);
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
@media (max-width: 40rem) {
|
|
127
|
+
.sc-task-parent {
|
|
128
|
+
overflow: hidden;
|
|
129
|
+
white-space: nowrap;
|
|
130
|
+
text-overflow: ellipsis;
|
|
131
|
+
}
|
|
132
|
+
}
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
font-size: var(--sc-text-xs);
|
|
8
8
|
font-weight: var(--sc-weight-medium);
|
|
9
9
|
letter-spacing: var(--sc-tracking-wide);
|
|
10
|
-
text-transform:
|
|
10
|
+
text-transform: var(--sc-label-case);
|
|
11
11
|
}
|
|
12
12
|
|
|
13
13
|
/* Forms */
|
|
@@ -71,6 +71,7 @@
|
|
|
71
71
|
}
|
|
72
72
|
|
|
73
73
|
.sc-field-hint {
|
|
74
|
+
max-width: var(--sc-width-prose);
|
|
74
75
|
margin-top: var(--sc-space-2);
|
|
75
76
|
color: var(--sc-color-text-muted);
|
|
76
77
|
font-size: var(--sc-text-sm);
|
|
@@ -0,0 +1,191 @@
|
|
|
1
|
+
/* A glyph of the icon pack: lines on one grid, in the colour of the text it stands in. The
|
|
2
|
+
stroke is the pack's own, said on the grid: a glyph drawn small is given a little more of it
|
|
3
|
+
and one drawn large a little less, so that a line stays about as heavy as the letters beside
|
|
4
|
+
it at every size. */
|
|
5
|
+
.sc-icon {
|
|
6
|
+
display: inline-block;
|
|
7
|
+
flex: none;
|
|
8
|
+
fill: none;
|
|
9
|
+
stroke: currentColor;
|
|
10
|
+
stroke-width: 1.5;
|
|
11
|
+
stroke-linecap: round;
|
|
12
|
+
stroke-linejoin: round;
|
|
13
|
+
vertical-align: middle;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
/* The smallest: a caret beside a word. */
|
|
17
|
+
.sc-icon-xs {
|
|
18
|
+
width: 0.75rem;
|
|
19
|
+
height: 0.75rem;
|
|
20
|
+
stroke-width: 1.875;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
/* In a line of text, as tall as its letters with what rises above them. */
|
|
24
|
+
.sc-icon-sm {
|
|
25
|
+
width: 1rem;
|
|
26
|
+
height: 1rem;
|
|
27
|
+
stroke-width: 1.75;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
/* By itself: in a button, a tile, a row's head. */
|
|
31
|
+
.sc-icon-md {
|
|
32
|
+
width: 1.25rem;
|
|
33
|
+
height: 1.25rem;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
/* In an empty state, or on a card. */
|
|
37
|
+
.sc-icon-lg {
|
|
38
|
+
width: 2rem;
|
|
39
|
+
height: 2rem;
|
|
40
|
+
stroke-width: 1.25;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
/* A glyph as a project's mark: on the mark's colour, in the mark's line, a little over half its
|
|
44
|
+
side; on the smallest mark, beside a name, a little more of the side and of the stroke, so
|
|
45
|
+
that it still reads at the height of a letter. */
|
|
46
|
+
.sc-mark > .sc-icon {
|
|
47
|
+
width: 62%;
|
|
48
|
+
height: 62%;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.sc-mark-sm > .sc-icon {
|
|
52
|
+
width: 72%;
|
|
53
|
+
height: 72%;
|
|
54
|
+
stroke-width: 2;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
/* Choosing a glyph: the field that shows the choice, and the pack that opens under it. */
|
|
58
|
+
.sc-icon-picker {
|
|
59
|
+
position: relative;
|
|
60
|
+
min-width: 0;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
.sc-icon-picker-field {
|
|
64
|
+
display: flex;
|
|
65
|
+
align-items: center;
|
|
66
|
+
gap: var(--sc-space-2);
|
|
67
|
+
font-family: inherit;
|
|
68
|
+
text-align: start;
|
|
69
|
+
cursor: pointer;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
.sc-icon-picker-value {
|
|
73
|
+
flex: 1;
|
|
74
|
+
min-width: 0;
|
|
75
|
+
overflow: hidden;
|
|
76
|
+
text-overflow: ellipsis;
|
|
77
|
+
white-space: nowrap;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
.sc-icon-picker-caret {
|
|
81
|
+
color: var(--sc-color-text-faint);
|
|
82
|
+
transition: transform var(--sc-transition);
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
.sc-icon-picker-field[aria-expanded="true"] > .sc-icon-picker-caret {
|
|
86
|
+
transform: rotate(180deg);
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
/* The pack: as wide as its field on a phone, where the field is as wide as the pane leaves, and
|
|
90
|
+
as wide as seven or eight glyphs need from there on, begun where the field begins. */
|
|
91
|
+
.sc-icon-picker-panel {
|
|
92
|
+
position: absolute;
|
|
93
|
+
z-index: 40;
|
|
94
|
+
top: calc(100% + var(--sc-space-1));
|
|
95
|
+
right: 0;
|
|
96
|
+
left: 0;
|
|
97
|
+
display: flex;
|
|
98
|
+
flex-direction: column;
|
|
99
|
+
gap: var(--sc-space-2);
|
|
100
|
+
max-height: 22rem;
|
|
101
|
+
padding: var(--sc-space-2);
|
|
102
|
+
border: var(--sc-border);
|
|
103
|
+
border-radius: var(--sc-radius-lg);
|
|
104
|
+
background: var(--sc-color-bg-raised);
|
|
105
|
+
box-shadow: var(--sc-shadow-menu);
|
|
106
|
+
font-size: var(--sc-text-sm);
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
/* A pane is a layer of its own, and the one after it is drawn over it: the pane whose pack is
|
|
110
|
+
open stands over the panes beside it, so that the pack is never cut where its pane ends. */
|
|
111
|
+
.sc-panel:has(.sc-icon-picker-panel) {
|
|
112
|
+
z-index: 2;
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
/* Where the window has no room below the field, and more above, the pack stands above it. */
|
|
116
|
+
.sc-icon-picker-panel-above {
|
|
117
|
+
top: auto;
|
|
118
|
+
bottom: calc(100% + var(--sc-space-1));
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
@media (min-width: 52rem) {
|
|
122
|
+
.sc-icon-picker-panel {
|
|
123
|
+
right: auto;
|
|
124
|
+
width: 21.5rem;
|
|
125
|
+
min-width: 100%;
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
.sc-icon-picker-list {
|
|
130
|
+
display: flex;
|
|
131
|
+
flex-direction: column;
|
|
132
|
+
gap: var(--sc-space-3);
|
|
133
|
+
min-height: 0;
|
|
134
|
+
padding: var(--sc-space-1);
|
|
135
|
+
overflow-y: auto;
|
|
136
|
+
overscroll-behavior: contain;
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
.sc-icon-picker-group {
|
|
140
|
+
display: flex;
|
|
141
|
+
flex-direction: column;
|
|
142
|
+
gap: var(--sc-space-1);
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
.sc-icon-picker-none {
|
|
146
|
+
display: flex;
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
.sc-icon-grid {
|
|
150
|
+
display: grid;
|
|
151
|
+
grid-template-columns: repeat(auto-fill, minmax(2.25rem, 1fr));
|
|
152
|
+
gap: var(--sc-space-1);
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
/* One choice: a glyph in a square a finger finds, the one in hand raised, the one chosen in the accent. */
|
|
156
|
+
.sc-icon-tile {
|
|
157
|
+
display: grid;
|
|
158
|
+
place-items: center;
|
|
159
|
+
min-height: 2.25rem;
|
|
160
|
+
border-radius: var(--sc-radius-md);
|
|
161
|
+
color: var(--sc-color-text-muted);
|
|
162
|
+
cursor: pointer;
|
|
163
|
+
transition:
|
|
164
|
+
background var(--sc-transition),
|
|
165
|
+
color var(--sc-transition);
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
.sc-icon-tile-none {
|
|
169
|
+
flex: 1;
|
|
170
|
+
justify-items: start;
|
|
171
|
+
padding-inline: var(--sc-space-2);
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
.sc-icon-tile-active {
|
|
175
|
+
background: var(--sc-color-bg-inset);
|
|
176
|
+
color: var(--sc-color-text);
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
.sc-icon-tile-chosen {
|
|
180
|
+
background: var(--sc-color-accent-subtle);
|
|
181
|
+
color: var(--sc-color-accent);
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
.sc-icon-tile-chosen.sc-icon-tile-active {
|
|
185
|
+
outline: var(--sc-focus-ring);
|
|
186
|
+
outline-offset: -2px;
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
.sc-icon-picker-note {
|
|
190
|
+
padding: var(--sc-space-2);
|
|
191
|
+
}
|
|
@@ -17,11 +17,21 @@
|
|
|
17
17
|
}
|
|
18
18
|
|
|
19
19
|
/* A file field: as tall as any other field, what it holds on one line with its button, and
|
|
20
|
-
the button the browser gives it drawn as a small button of the console's own.
|
|
20
|
+
the button the browser gives it drawn as a small button of the console's own. A browser
|
|
21
|
+
lays the button and the words beside it out on a line of its own making, at the top of the
|
|
22
|
+
field whatever the field's display says, so what stands above and below the button is the
|
|
23
|
+
field's padding: half of what the button, by its line, its padding and its border as the
|
|
24
|
+
rule below gives them, leaves of the field's height within its border. */
|
|
21
25
|
.sc-input[type="file"] {
|
|
22
|
-
display:
|
|
23
|
-
|
|
24
|
-
|
|
26
|
+
display: block;
|
|
27
|
+
padding-block: calc(
|
|
28
|
+
(
|
|
29
|
+
var(--sc-control-size) -
|
|
30
|
+
2px -
|
|
31
|
+
(var(--sc-text-xs) * var(--sc-leading-snug) + 2 * (var(--sc-space-1) + 1px) + 2px)
|
|
32
|
+
) /
|
|
33
|
+
2
|
|
34
|
+
);
|
|
25
35
|
color: var(--sc-color-text-muted);
|
|
26
36
|
line-height: var(--sc-leading-snug);
|
|
27
37
|
cursor: pointer;
|
|
@@ -36,10 +36,46 @@
|
|
|
36
36
|
font-size: var(--sc-text-xl);
|
|
37
37
|
}
|
|
38
38
|
|
|
39
|
+
/* A mark with what says it: its icon, its symbol, its colour, its image. The mark stands in a
|
|
40
|
+
column of its own and the fields beside it, one under the other, each as wide as the pane
|
|
41
|
+
leaves, so that a file's name has room on a phone too. What follows the fields, the way to
|
|
42
|
+
take the image away, stands under them and never under the mark, whose column it would widen. */
|
|
39
43
|
.sc-mark-row {
|
|
44
|
+
grid-template-columns: auto minmax(0, 1fr);
|
|
40
45
|
align-items: end;
|
|
41
46
|
}
|
|
42
47
|
|
|
48
|
+
.sc-mark-row > * {
|
|
49
|
+
grid-column: 2;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.sc-mark-row > :first-child {
|
|
53
|
+
grid-column: 1;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.sc-mark-row > .sc-button {
|
|
57
|
+
justify-self: start;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
/* Where the pane holds them, the icon, the symbol and the colour stand on the mark's row, and
|
|
61
|
+
the image under them with the room a file's name needs. The four columns take thirty rem,
|
|
62
|
+
which a pane has from a window of fifty-two on: between a phone and that, a row of four ran
|
|
63
|
+
past its pane. */
|
|
64
|
+
@media (min-width: 52rem) {
|
|
65
|
+
.sc-mark-row {
|
|
66
|
+
grid-template-columns: auto minmax(9rem, 1fr) minmax(7rem, 1fr) minmax(9rem, 1fr);
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
.sc-mark-row > * {
|
|
70
|
+
grid-column: auto;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
.sc-mark-row > label:last-of-type,
|
|
74
|
+
.sc-mark-row > .sc-button {
|
|
75
|
+
grid-column: 2 / -1;
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
|
|
43
79
|
/* A project's own image over the symbol, filling the mark; the symbol shows until the image is there. */
|
|
44
80
|
.sc-mark-pictured {
|
|
45
81
|
padding: 0;
|
|
@@ -38,12 +38,6 @@
|
|
|
38
38
|
color: var(--sc-color-text);
|
|
39
39
|
}
|
|
40
40
|
|
|
41
|
-
.sc-menu-caret {
|
|
42
|
-
flex: none;
|
|
43
|
-
width: 0.75rem;
|
|
44
|
-
height: 0.75rem;
|
|
45
|
-
}
|
|
46
|
-
|
|
47
41
|
.sc-menu-panel {
|
|
48
42
|
position: absolute;
|
|
49
43
|
top: calc(100% + var(--sc-space-2));
|
|
@@ -118,7 +112,7 @@
|
|
|
118
112
|
font-size: var(--sc-text-xs);
|
|
119
113
|
font-weight: var(--sc-weight-medium);
|
|
120
114
|
letter-spacing: var(--sc-tracking-wide);
|
|
121
|
-
text-transform:
|
|
115
|
+
text-transform: var(--sc-label-case);
|
|
122
116
|
}
|
|
123
117
|
|
|
124
118
|
.sc-menu-heading {
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
font-size: var(--sc-text-xs);
|
|
19
19
|
font-weight: var(--sc-weight-medium);
|
|
20
20
|
letter-spacing: var(--sc-tracking-wide);
|
|
21
|
-
text-transform:
|
|
21
|
+
text-transform: var(--sc-label-case);
|
|
22
22
|
}
|
|
23
23
|
|
|
24
24
|
/* A page that takes the whole window takes the header with it, so that the lockup, the tabs and
|
|
@@ -25,6 +25,16 @@
|
|
|
25
25
|
max-width: 56rem;
|
|
26
26
|
}
|
|
27
27
|
|
|
28
|
+
/* A form that stands over a list is as wide as the list under it, edge to edge with it, and
|
|
29
|
+
what it holds keeps the width a form is comfortable at. */
|
|
30
|
+
.sc-panel-form-lead {
|
|
31
|
+
max-width: none;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.sc-panel-form-lead > * {
|
|
35
|
+
max-width: calc(56rem - var(--sc-space-5) * 2);
|
|
36
|
+
}
|
|
37
|
+
|
|
28
38
|
@media (max-width: 40rem) {
|
|
29
39
|
.sc-panel {
|
|
30
40
|
padding: var(--sc-space-4);
|
|
@@ -119,11 +119,14 @@
|
|
|
119
119
|
opacity: 0.7;
|
|
120
120
|
}
|
|
121
121
|
|
|
122
|
-
/* What the member does, in
|
|
122
|
+
/* What the member does, in one line under the name (ADR-0084): a long one is cut short, so
|
|
123
|
+
that the cards of a row keep their lines level. */
|
|
123
124
|
.sc-person-card-title {
|
|
125
|
+
overflow: hidden;
|
|
124
126
|
color: var(--sc-color-text);
|
|
125
127
|
font-size: var(--sc-text-sm);
|
|
126
|
-
overflow
|
|
128
|
+
text-overflow: ellipsis;
|
|
129
|
+
white-space: nowrap;
|
|
127
130
|
}
|
|
128
131
|
|
|
129
132
|
.sc-person-card-note {
|
|
@@ -3,8 +3,11 @@
|
|
|
3
3
|
gap: var(--sc-space-1);
|
|
4
4
|
}
|
|
5
5
|
|
|
6
|
+
/* The bar is drawn as a share is (ADR-0138): its parts in the colours a chart draws its series
|
|
7
|
+
in, the green for what is done and the blue for what is at work, and a gap between the two. */
|
|
6
8
|
.sc-progress-bar {
|
|
7
9
|
display: flex;
|
|
10
|
+
gap: 2px;
|
|
8
11
|
height: 0.5rem;
|
|
9
12
|
overflow: hidden;
|
|
10
13
|
border-radius: var(--sc-radius-full);
|
|
@@ -12,11 +15,11 @@
|
|
|
12
15
|
}
|
|
13
16
|
|
|
14
17
|
.sc-progress-done {
|
|
15
|
-
background: var(--sc-
|
|
18
|
+
background: var(--sc-series-6);
|
|
16
19
|
}
|
|
17
20
|
|
|
18
21
|
.sc-progress-working {
|
|
19
|
-
background: var(--sc-
|
|
22
|
+
background: var(--sc-series-1);
|
|
20
23
|
}
|
|
21
24
|
|
|
22
25
|
.sc-progress-words {
|
|
@@ -72,6 +72,11 @@
|
|
|
72
72
|
font-size: var(--sc-text-sm);
|
|
73
73
|
}
|
|
74
74
|
|
|
75
|
+
/* Said over what it is about, not under a name: it keeps its distance from what follows. */
|
|
76
|
+
.sc-section-head + .sc-settings-hint {
|
|
77
|
+
margin-bottom: var(--sc-space-3);
|
|
78
|
+
}
|
|
79
|
+
|
|
75
80
|
.sc-settings-control {
|
|
76
81
|
display: grid;
|
|
77
82
|
justify-items: start;
|
package/src/styles/tokens.css
CHANGED
|
@@ -42,15 +42,17 @@
|
|
|
42
42
|
--sc-color-info-subtle: #dbe6ff;
|
|
43
43
|
--sc-color-neutral: #4b5563;
|
|
44
44
|
--sc-color-neutral-subtle: #e7eaf0;
|
|
45
|
-
/* The series of a chart (ADR-0123): blue,
|
|
45
|
+
/* The series of a chart (ADR-0123, ADR-0134): blue, coral, raspberry, teal, violet, green, the warm coral
|
|
46
|
+
second so that the commonest charts, of two series, put the two that stand furthest apart side
|
|
47
|
+
by side, to full colour vision and to a reader who does not tell red from green. The console's
|
|
46
48
|
own hues, and a coral between its pink and its orange, each stepped until any two of the
|
|
47
49
|
six are told apart, also by a reader who does not tell red from green, and until each
|
|
48
50
|
stands out on a light ground and on a dark one. No orange among them, which is the point's,
|
|
49
51
|
and no yellow, which at this lightness is a brown. They are marks, never words. */
|
|
50
52
|
--sc-series-1: #285fd4;
|
|
51
|
-
--sc-series-2: #
|
|
52
|
-
--sc-series-3: #
|
|
53
|
-
--sc-series-4: #
|
|
53
|
+
--sc-series-2: #e45b63;
|
|
54
|
+
--sc-series-3: #bf1b7f;
|
|
55
|
+
--sc-series-4: #0097ac;
|
|
54
56
|
--sc-series-5: #946ff2;
|
|
55
57
|
--sc-series-6: #04933e;
|
|
56
58
|
/* The figures that line up: for a column of numbers, a scale, a table. */
|
|
@@ -115,6 +117,8 @@
|
|
|
115
117
|
--sc-tracking-tight: -0.02em;
|
|
116
118
|
--sc-tracking-wide: 0.04em;
|
|
117
119
|
--sc-tracking-code: 0.12em;
|
|
120
|
+
/* How a small label is cased: capitals where the script has them. */
|
|
121
|
+
--sc-label-case: uppercase;
|
|
118
122
|
--sc-weight-normal: 400;
|
|
119
123
|
--sc-weight-medium: 500;
|
|
120
124
|
--sc-weight-bold: 650;
|
|
@@ -145,8 +149,12 @@
|
|
|
145
149
|
|
|
146
150
|
/* Layout. The gutter at the sides of the header, the tabs and every page grows with the
|
|
147
151
|
window, from a step of the grid on a laptop to a wide margin on a large screen, so that a
|
|
148
|
-
page on a wide screen does not run to its very edges; a phone narrows it further below.
|
|
149
|
-
|
|
152
|
+
page on a wide screen does not run to its very edges; a phone narrows it further below. A
|
|
153
|
+
window wider than a page is read at gives what is over to the gutters; a page that wants
|
|
154
|
+
every bit of the window, the board, keeps the gutter a wide screen had before that. */
|
|
155
|
+
--sc-gutter-wide: clamp(var(--sc-space-7), 5vw, 10rem);
|
|
156
|
+
--sc-gutter: max(var(--sc-gutter-wide), calc((100vw - var(--sc-width-page)) / 2));
|
|
157
|
+
--sc-width-page: 100rem;
|
|
150
158
|
--sc-width-prose: 46rem;
|
|
151
159
|
--sc-width-aside: 18rem;
|
|
152
160
|
--sc-column-width: 13.5rem;
|
|
@@ -167,12 +175,19 @@
|
|
|
167
175
|
--sc-transition: 120ms ease-out;
|
|
168
176
|
}
|
|
169
177
|
|
|
178
|
+
/* Under a page as wide as the window, the board, the header and the tabs are as wide as it. */
|
|
179
|
+
.sc-shell:has(.sc-main-wide) {
|
|
180
|
+
--sc-gutter: var(--sc-gutter-wide);
|
|
181
|
+
}
|
|
182
|
+
|
|
170
183
|
/* A page in Korean (the pages say their language on <html>): Hangul fills more of its box than
|
|
171
|
-
Latin capitals and sits higher in it, so a label is lifted less, and the tracking is off
|
|
184
|
+
Latin capitals and sits higher in it, so a label is lifted less, and the tracking is off; a
|
|
185
|
+
label is written as it is, since capitals would touch only the Latin words in it. */
|
|
172
186
|
:root:lang(ko) {
|
|
173
187
|
--sc-label-lift: -0.083em;
|
|
174
188
|
--sc-tracking-tight: 0;
|
|
175
189
|
--sc-tracking-wide: 0;
|
|
190
|
+
--sc-label-case: none;
|
|
176
191
|
}
|
|
177
192
|
|
|
178
193
|
/* The schedule, the roadmap and the categories (ADR-0019). */
|
package/src/tokens.ts
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
// The console's design tokens (ADR-0054, docs/specs/plugins.md, "The look"): the `--sc-*` names
|
|
2
2
|
// the stylesheet's root sets, which the console's page reads as computed and sends to a plugin's
|
|
3
3
|
// frame, so that a custom console's look reaches its plugins' pages. Kept in step with
|
|
4
|
-
// styles/
|
|
4
|
+
// styles/tokens.css: a token added to its root is added here, in the order it stands there,
|
|
5
|
+
// and tokens.test.ts fails where the two differ.
|
|
5
6
|
|
|
6
7
|
export const CONSOLE_TOKENS: readonly string[] = [
|
|
7
8
|
"--sc-color-bg",
|
|
@@ -68,6 +69,7 @@ export const CONSOLE_TOKENS: readonly string[] = [
|
|
|
68
69
|
"--sc-tracking-tight",
|
|
69
70
|
"--sc-tracking-wide",
|
|
70
71
|
"--sc-tracking-code",
|
|
72
|
+
"--sc-label-case",
|
|
71
73
|
"--sc-weight-normal",
|
|
72
74
|
"--sc-weight-medium",
|
|
73
75
|
"--sc-weight-bold",
|
|
@@ -88,7 +90,9 @@ export const CONSOLE_TOKENS: readonly string[] = [
|
|
|
88
90
|
"--sc-border",
|
|
89
91
|
"--sc-hairline",
|
|
90
92
|
"--sc-border-strong",
|
|
93
|
+
"--sc-gutter-wide",
|
|
91
94
|
"--sc-gutter",
|
|
95
|
+
"--sc-width-page",
|
|
92
96
|
"--sc-width-prose",
|
|
93
97
|
"--sc-width-aside",
|
|
94
98
|
"--sc-column-width",
|
package/src/vocabulary.ts
CHANGED
|
@@ -165,6 +165,15 @@ export const SIGNAL_SOURCES = ["person", "board", "schedule", "messenger", "cons
|
|
|
165
165
|
|
|
166
166
|
export type SignalSource = (typeof SIGNAL_SOURCES)[number];
|
|
167
167
|
|
|
168
|
+
/**
|
|
169
|
+
* How a wake source a runner keeps beside the console's own stands (ADR-0144): `connected`,
|
|
170
|
+
* listening; `waiting`, not listening yet, for what it needs or for its turn to connect;
|
|
171
|
+
* `failing`, ended and started again.
|
|
172
|
+
*/
|
|
173
|
+
export const WAKE_SOURCE_STATES = ["connected", "waiting", "failing"] as const;
|
|
174
|
+
|
|
175
|
+
export type WakeSourceState = (typeof WAKE_SOURCE_STATES)[number];
|
|
176
|
+
|
|
168
177
|
/**
|
|
169
178
|
* How a runner's session ended (ADR-0085, ADR-0086): a supervisor stopped the agent, restarted
|
|
170
179
|
* it or reset it; the product's process died, or exited by itself; or a session begun after it
|