@skillcdn/console 0.5.1 → 0.5.3
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 +13 -15
- 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 +24 -33
- package/dist/home-tiles.d.ts.map +1 -1
- package/dist/home-tiles.js +65 -259
- package/dist/home-tiles.js.map +1 -1
- package/dist/i18n/en.d.ts +49 -2
- package/dist/i18n/en.d.ts.map +1 -1
- package/dist/i18n/en.js +126 -3
- 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/manifest.d.ts.map +1 -1
- package/dist/plugin/manifest.js +3 -2
- package/dist/plugin/manifest.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 +18 -7
- 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 +3 -3
- 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 +29 -26
- 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 +76 -291
- package/src/i18n/en.ts +128 -3
- 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/manifest.ts +3 -2
- 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
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
|