@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.
Files changed (288) hide show
  1. package/README.md +20 -2
  2. package/dist/agent-page.d.ts.map +1 -1
  3. package/dist/agent-page.js +4 -4
  4. package/dist/agent-page.js.map +1 -1
  5. package/dist/api.d.ts +5 -4
  6. package/dist/api.d.ts.map +1 -1
  7. package/dist/api.js +5 -4
  8. package/dist/api.js.map +1 -1
  9. package/dist/cli/cli.d.ts +32 -0
  10. package/dist/cli/cli.d.ts.map +1 -1
  11. package/dist/cli/cli.js +442 -93
  12. package/dist/cli/cli.js.map +1 -1
  13. package/dist/cli/format.d.ts +6 -2
  14. package/dist/cli/format.d.ts.map +1 -1
  15. package/dist/cli/format.js +25 -3
  16. package/dist/cli/format.js.map +1 -1
  17. package/dist/cli/help.d.ts.map +1 -1
  18. package/dist/cli/help.js +10 -5
  19. package/dist/cli/help.js.map +1 -1
  20. package/dist/cli/machine-check.d.ts +36 -0
  21. package/dist/cli/machine-check.d.ts.map +1 -0
  22. package/dist/cli/machine-check.js +151 -0
  23. package/dist/cli/machine-check.js.map +1 -0
  24. package/dist/cli/runner-host.d.ts +7 -0
  25. package/dist/cli/runner-host.d.ts.map +1 -1
  26. package/dist/cli/runner-host.js +2 -0
  27. package/dist/cli/runner-host.js.map +1 -1
  28. package/dist/cli/secret-notes.d.ts +8 -0
  29. package/dist/cli/secret-notes.d.ts.map +1 -0
  30. package/dist/cli/secret-notes.js +48 -0
  31. package/dist/cli/secret-notes.js.map +1 -0
  32. package/dist/client.d.ts +7 -1
  33. package/dist/client.d.ts.map +1 -1
  34. package/dist/client.js +6 -1
  35. package/dist/client.js.map +1 -1
  36. package/dist/components/agent-page.d.ts +106 -13
  37. package/dist/components/agent-page.d.ts.map +1 -1
  38. package/dist/components/agent-page.js +391 -102
  39. package/dist/components/agent-page.js.map +1 -1
  40. package/dist/components/agents.d.ts.map +1 -1
  41. package/dist/components/agents.js +1 -1
  42. package/dist/components/agents.js.map +1 -1
  43. package/dist/components/board.d.ts.map +1 -1
  44. package/dist/components/board.js +3 -2
  45. package/dist/components/board.js.map +1 -1
  46. package/dist/components/categories.js +1 -1
  47. package/dist/components/categories.js.map +1 -1
  48. package/dist/components/decision-list.d.ts.map +1 -1
  49. package/dist/components/decision-list.js +1 -1
  50. package/dist/components/decision-list.js.map +1 -1
  51. package/dist/components/event-feed.d.ts.map +1 -1
  52. package/dist/components/event-feed.js +3 -2
  53. package/dist/components/event-feed.js.map +1 -1
  54. package/dist/components/goals.d.ts +2 -0
  55. package/dist/components/goals.d.ts.map +1 -1
  56. package/dist/components/goals.js +1 -1
  57. package/dist/components/goals.js.map +1 -1
  58. package/dist/components/home.d.ts.map +1 -1
  59. package/dist/components/home.js +12 -6
  60. package/dist/components/home.js.map +1 -1
  61. package/dist/components/icon.d.ts +31 -0
  62. package/dist/components/icon.d.ts.map +1 -0
  63. package/dist/components/icon.js +169 -0
  64. package/dist/components/icon.js.map +1 -0
  65. package/dist/components/markdown.d.ts +6 -0
  66. package/dist/components/markdown.d.ts.map +1 -1
  67. package/dist/components/markdown.js +10 -2
  68. package/dist/components/markdown.js.map +1 -1
  69. package/dist/components/people.js +1 -1
  70. package/dist/components/people.js.map +1 -1
  71. package/dist/components/plugin-frame.d.ts.map +1 -1
  72. package/dist/components/plugin-frame.js +7 -0
  73. package/dist/components/plugin-frame.js.map +1 -1
  74. package/dist/components/projects.d.ts +17 -4
  75. package/dist/components/projects.d.ts.map +1 -1
  76. package/dist/components/projects.js +25 -6
  77. package/dist/components/projects.js.map +1 -1
  78. package/dist/components/sessions.d.ts.map +1 -1
  79. package/dist/components/sessions.js +3 -2
  80. package/dist/components/sessions.js.map +1 -1
  81. package/dist/components/setup.d.ts.map +1 -1
  82. package/dist/components/setup.js +2 -2
  83. package/dist/components/setup.js.map +1 -1
  84. package/dist/components/shell.d.ts.map +1 -1
  85. package/dist/components/shell.js +3 -2
  86. package/dist/components/shell.js.map +1 -1
  87. package/dist/components/tokens.js +1 -1
  88. package/dist/components/tokens.js.map +1 -1
  89. package/dist/components/ui.d.ts +5 -2
  90. package/dist/components/ui.d.ts.map +1 -1
  91. package/dist/components/ui.js +10 -7
  92. package/dist/components/ui.js.map +1 -1
  93. package/dist/connect-page.js +1 -1
  94. package/dist/connect-page.js.map +1 -1
  95. package/dist/console.css +473 -77
  96. package/dist/console.d.ts.map +1 -1
  97. package/dist/console.js +38 -31
  98. package/dist/console.js.map +1 -1
  99. package/dist/home-tiles.d.ts +9 -0
  100. package/dist/home-tiles.d.ts.map +1 -1
  101. package/dist/home-tiles.js +105 -23
  102. package/dist/home-tiles.js.map +1 -1
  103. package/dist/i18n/en.d.ts +48 -1
  104. package/dist/i18n/en.d.ts.map +1 -1
  105. package/dist/i18n/en.js +125 -2
  106. package/dist/i18n/en.js.map +1 -1
  107. package/dist/i18n/ko.d.ts.map +1 -1
  108. package/dist/i18n/ko.js +197 -79
  109. package/dist/i18n/ko.js.map +1 -1
  110. package/dist/i18n/particles.d.ts +7 -0
  111. package/dist/i18n/particles.d.ts.map +1 -0
  112. package/dist/i18n/particles.js +72 -0
  113. package/dist/i18n/particles.js.map +1 -0
  114. package/dist/icons/glyphs.d.ts +605 -0
  115. package/dist/icons/glyphs.d.ts.map +1 -0
  116. package/dist/icons/glyphs.js +104 -0
  117. package/dist/icons/glyphs.js.map +1 -0
  118. package/dist/icons/index.d.ts +59 -0
  119. package/dist/icons/index.d.ts.map +1 -0
  120. package/dist/icons/index.js +157 -0
  121. package/dist/icons/index.js.map +1 -0
  122. package/dist/index.d.ts +1 -0
  123. package/dist/index.d.ts.map +1 -1
  124. package/dist/index.js +1 -0
  125. package/dist/index.js.map +1 -1
  126. package/dist/limits.d.ts +9 -0
  127. package/dist/limits.d.ts.map +1 -1
  128. package/dist/limits.js +9 -0
  129. package/dist/limits.js.map +1 -1
  130. package/dist/marks.d.ts +9 -0
  131. package/dist/marks.d.ts.map +1 -1
  132. package/dist/marks.js +9 -0
  133. package/dist/marks.js.map +1 -1
  134. package/dist/onboarding.js +3 -3
  135. package/dist/onboarding.js.map +1 -1
  136. package/dist/plugin/web.d.ts +3 -0
  137. package/dist/plugin/web.d.ts.map +1 -1
  138. package/dist/plugin/web.js +5 -1
  139. package/dist/plugin/web.js.map +1 -1
  140. package/dist/runner/acp.d.ts.map +1 -1
  141. package/dist/runner/acp.js +2 -2
  142. package/dist/runner/acp.js.map +1 -1
  143. package/dist/runner/awake.d.ts +35 -0
  144. package/dist/runner/awake.d.ts.map +1 -0
  145. package/dist/runner/awake.js +95 -0
  146. package/dist/runner/awake.js.map +1 -0
  147. package/dist/runner/claude.d.ts.map +1 -1
  148. package/dist/runner/claude.js +19 -7
  149. package/dist/runner/claude.js.map +1 -1
  150. package/dist/runner/codex.d.ts.map +1 -1
  151. package/dist/runner/codex.js +2 -2
  152. package/dist/runner/codex.js.map +1 -1
  153. package/dist/runner/config.d.ts +5 -0
  154. package/dist/runner/config.d.ts.map +1 -1
  155. package/dist/runner/config.js +9 -0
  156. package/dist/runner/config.js.map +1 -1
  157. package/dist/runner/desk.d.ts.map +1 -1
  158. package/dist/runner/desk.js +5 -6
  159. package/dist/runner/desk.js.map +1 -1
  160. package/dist/runner/runner.d.ts +13 -2
  161. package/dist/runner/runner.d.ts.map +1 -1
  162. package/dist/runner/runner.js +141 -22
  163. package/dist/runner/runner.js.map +1 -1
  164. package/dist/runner/slack.d.ts.map +1 -1
  165. package/dist/runner/slack.js +10 -4
  166. package/dist/runner/slack.js.map +1 -1
  167. package/dist/runner/types.d.ts +15 -0
  168. package/dist/runner/types.d.ts.map +1 -1
  169. package/dist/runner/types.js +9 -0
  170. package/dist/runner/types.js.map +1 -1
  171. package/dist/schemas.d.ts +94 -1
  172. package/dist/schemas.d.ts.map +1 -1
  173. package/dist/schemas.js +81 -5
  174. package/dist/schemas.js.map +1 -1
  175. package/dist/services.d.ts.map +1 -1
  176. package/dist/services.js +9 -5
  177. package/dist/services.js.map +1 -1
  178. package/dist/setup-guide.d.ts +14 -3
  179. package/dist/setup-guide.d.ts.map +1 -1
  180. package/dist/setup-guide.js +41 -37
  181. package/dist/setup-guide.js.map +1 -1
  182. package/dist/tokens.d.ts.map +1 -1
  183. package/dist/tokens.js +5 -1
  184. package/dist/tokens.js.map +1 -1
  185. package/dist/vocabulary.d.ts +7 -0
  186. package/dist/vocabulary.d.ts.map +1 -1
  187. package/dist/vocabulary.js +6 -0
  188. package/dist/vocabulary.js.map +1 -1
  189. package/docs/specs/cli.md +10 -7
  190. package/docs/specs/plugins.md +17 -6
  191. package/docs/specs/rest.md +10 -8
  192. package/docs/specs/runner.md +26 -8
  193. package/package.json +7 -3
  194. package/skills/building-a-console/SKILL.md +2 -2
  195. package/skills/building-a-plugin/SKILL.md +2 -2
  196. package/skills/keeping-a-desk/SKILL.md +2 -2
  197. package/skills/running-an-agent/SKILL.md +47 -57
  198. package/skills/working-the-board/SKILL.md +5 -4
  199. package/skills/working-the-board/references/the-pack.md +1 -1
  200. package/src/agent-page.tsx +13 -1
  201. package/src/api.ts +32 -1
  202. package/src/cli/cli.ts +530 -106
  203. package/src/cli/format.ts +31 -3
  204. package/src/cli/help.ts +12 -4
  205. package/src/cli/machine-check.ts +223 -0
  206. package/src/cli/runner-host.ts +8 -0
  207. package/src/cli/secret-notes.ts +63 -0
  208. package/src/client.ts +23 -0
  209. package/src/components/agent-page.tsx +629 -112
  210. package/src/components/agents.tsx +9 -5
  211. package/src/components/board.tsx +3 -15
  212. package/src/components/categories.tsx +2 -2
  213. package/src/components/decision-list.tsx +11 -7
  214. package/src/components/event-feed.tsx +7 -2
  215. package/src/components/goals.tsx +33 -25
  216. package/src/components/home.tsx +30 -6
  217. package/src/components/icon.tsx +337 -0
  218. package/src/components/markdown.tsx +22 -2
  219. package/src/components/people.tsx +1 -1
  220. package/src/components/plugin-frame.tsx +7 -0
  221. package/src/components/projects.tsx +39 -5
  222. package/src/components/sessions.tsx +2 -13
  223. package/src/components/setup.tsx +2 -2
  224. package/src/components/shell.tsx +3 -20
  225. package/src/components/tokens.tsx +1 -1
  226. package/src/components/ui.tsx +16 -8
  227. package/src/connect-page.tsx +1 -1
  228. package/src/console.tsx +87 -53
  229. package/src/home-tiles.ts +127 -23
  230. package/src/i18n/en.ts +127 -2
  231. package/src/i18n/ko.ts +200 -79
  232. package/src/i18n/particles.ts +79 -0
  233. package/src/icons/glyphs.ts +112 -0
  234. package/src/icons/index.ts +195 -0
  235. package/src/index.ts +7 -0
  236. package/src/limits.ts +9 -0
  237. package/src/marks.ts +12 -0
  238. package/src/onboarding.ts +3 -3
  239. package/src/plugin/web.ts +9 -2
  240. package/src/runner/acp.ts +2 -1
  241. package/src/runner/awake.ts +135 -0
  242. package/src/runner/claude.ts +19 -4
  243. package/src/runner/codex.ts +2 -1
  244. package/src/runner/config.ts +9 -0
  245. package/src/runner/desk.ts +5 -6
  246. package/src/runner/runner.ts +183 -23
  247. package/src/runner/slack.ts +10 -4
  248. package/src/runner/types.ts +20 -0
  249. package/src/schemas.ts +94 -3
  250. package/src/services.ts +9 -5
  251. package/src/setup-guide.ts +43 -38
  252. package/src/styles/README.md +5 -4
  253. package/src/styles/base.css +17 -0
  254. package/src/styles/console.css +1 -0
  255. package/src/styles/drawn-by-pages.json +1 -1
  256. package/src/styles/pages/agents.css +103 -1
  257. package/src/styles/pages/board.css +0 -10
  258. package/src/styles/pages/calendar.css +1 -1
  259. package/src/styles/pages/connect.css +0 -10
  260. package/src/styles/pages/decisions.css +3 -1
  261. package/src/styles/pages/feed.css +5 -2
  262. package/src/styles/pages/home.css +5 -0
  263. package/src/styles/pages/roadmap.css +2 -2
  264. package/src/styles/pages/settings.css +11 -0
  265. package/src/styles/pages/task.css +0 -20
  266. package/src/styles/pages/thread.css +1 -1
  267. package/src/styles/parts/calendar.css +1 -1
  268. package/src/styles/parts/callout.css +1 -0
  269. package/src/styles/parts/detail.css +22 -0
  270. package/src/styles/parts/empty.css +2 -0
  271. package/src/styles/parts/eyebrow.css +1 -1
  272. package/src/styles/parts/facts.css +1 -1
  273. package/src/styles/parts/figures.css +1 -1
  274. package/src/styles/parts/form.css +2 -1
  275. package/src/styles/parts/icon.css +191 -0
  276. package/src/styles/parts/input.css +14 -4
  277. package/src/styles/parts/mark.css +36 -0
  278. package/src/styles/parts/menu.css +1 -7
  279. package/src/styles/parts/page.css +1 -1
  280. package/src/styles/parts/panel.css +10 -0
  281. package/src/styles/parts/person.css +5 -2
  282. package/src/styles/parts/progress.css +5 -2
  283. package/src/styles/parts/rows.css +1 -0
  284. package/src/styles/parts/settings.css +5 -0
  285. package/src/styles/parts/stat.css +1 -1
  286. package/src/styles/tokens.css +22 -7
  287. package/src/tokens.ts +5 -1
  288. package/src/vocabulary.ts +9 -0
@@ -26,6 +26,7 @@
26
26
 
27
27
  .sc-callout-title {
28
28
  font-weight: var(--sc-weight-bold);
29
+ text-wrap: balance;
29
30
  }
30
31
 
31
32
  .sc-callout-body {
@@ -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
+ }
@@ -3,6 +3,8 @@
3
3
  border: 1px dashed var(--sc-color-border);
4
4
  border-radius: var(--sc-radius-lg);
5
5
  text-align: center;
6
+ /* Centred lines of about one length, a title's and a sentence's alike. */
7
+ text-wrap: balance;
6
8
  }
7
9
 
8
10
  .sc-empty-title {
@@ -5,5 +5,5 @@
5
5
  font-size: var(--sc-text-xs);
6
6
  font-weight: var(--sc-weight-medium);
7
7
  letter-spacing: var(--sc-tracking-wide);
8
- text-transform: uppercase;
8
+ text-transform: var(--sc-label-case);
9
9
  }
@@ -4,7 +4,7 @@
4
4
  font-size: var(--sc-text-xs);
5
5
  font-weight: var(--sc-weight-medium);
6
6
  letter-spacing: var(--sc-tracking-wide);
7
- text-transform: uppercase;
7
+ text-transform: var(--sc-label-case);
8
8
  }
9
9
 
10
10
  .sc-facts {
@@ -49,7 +49,7 @@
49
49
  font-size: var(--sc-text-xs);
50
50
  font-weight: var(--sc-weight-medium);
51
51
  letter-spacing: var(--sc-tracking-wide);
52
- text-transform: uppercase;
52
+ text-transform: var(--sc-label-case);
53
53
  }
54
54
 
55
55
  .sc-figures tbody th {
@@ -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: uppercase;
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: flex;
23
- align-items: center;
24
- padding-block: 0;
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: uppercase;
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: uppercase;
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 a line under the name (ADR-0084). */
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-wrap: anywhere;
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-color-success);
18
+ background: var(--sc-series-6);
16
19
  }
17
20
 
18
21
  .sc-progress-working {
19
- background: var(--sc-color-accent);
22
+ background: var(--sc-series-1);
20
23
  }
21
24
 
22
25
  .sc-progress-words {
@@ -26,6 +26,7 @@
26
26
  font-weight: var(--sc-weight-medium);
27
27
  text-decoration: none;
28
28
  overflow-wrap: anywhere;
29
+ text-wrap: balance;
29
30
  }
30
31
 
31
32
  .sc-task-row-title:hover {
@@ -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;
@@ -29,7 +29,7 @@
29
29
  font-size: var(--sc-text-xs);
30
30
  font-weight: var(--sc-weight-medium);
31
31
  letter-spacing: var(--sc-tracking-wide);
32
- text-transform: uppercase;
32
+ text-transform: var(--sc-label-case);
33
33
  overflow-wrap: anywhere;
34
34
  }
35
35
 
@@ -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, teal, raspberry, coral, violet, green. The console's
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: #0097ac;
52
- --sc-series-3: #bb2b76;
53
- --sc-series-4: #fa4655;
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
- --sc-gutter: clamp(var(--sc-space-7), 5vw, 10rem);
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/console.css: a token added there is added here.
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