@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
package/src/services.ts
CHANGED
|
@@ -86,9 +86,13 @@ export function fillTemplate(template: string, names: ServiceNames): string | un
|
|
|
86
86
|
const called = (account: string | undefined, otherwise: string): string =>
|
|
87
87
|
account === undefined ? otherwise : `\`${account}\``;
|
|
88
88
|
|
|
89
|
-
/**
|
|
89
|
+
/**
|
|
90
|
+
* What a desk's item says last: the desk's git is handed the token by the setup's own helper, so
|
|
91
|
+
* that the agent sets none up and no copy is kept by the machine; and the organization's pack
|
|
92
|
+
* may hold the skill for setting a desk up.
|
|
93
|
+
*/
|
|
90
94
|
const DESK_BY_THE_PACK =
|
|
91
|
-
'Where the organization
|
|
95
|
+
"The desk's git takes git.token from your store by itself, so nothing is typed and no helper of the machine keeps a copy. Where the organization's pack has a skill for setting a desk up, go by it: console skills --search \"desk setup\" --limit 5.";
|
|
92
96
|
|
|
93
97
|
/** What a service the account signs in to the console through says last: the sign-in is needed once, at the setup. */
|
|
94
98
|
const SIGN_IN_AT_HAND =
|
|
@@ -265,12 +269,12 @@ const slack: ServiceProvider = {
|
|
|
265
269
|
],
|
|
266
270
|
onboarding: ({ service, address }) => [
|
|
267
271
|
{
|
|
268
|
-
title: "Join the messenger and
|
|
269
|
-
body: `Accept the invitation to ${slackPlace(service)} ${address === undefined ? "where one has reached you" : `that came to \`${address}\`, the address you sign in with`}, set your name, your title and your picture (console agent <handle> --avatar <file> writes the file)
|
|
272
|
+
title: "Join the messenger and set your profile",
|
|
273
|
+
body: `Accept the invitation to ${slackPlace(service)} ${address === undefined ? "where one has reached you" : `that came to \`${address}\`, the address you sign in with`}, and set your name, your title and your picture as any member does (console agent <handle> --avatar <file> writes the file).`,
|
|
270
274
|
},
|
|
271
275
|
{
|
|
272
276
|
title: "Connect the messenger to your product, and be woken by it",
|
|
273
|
-
body:
|
|
277
|
+
body: `Add the messenger's own MCP server to your product, and make the app that wakes you from the manifest your skill carries; keep its tokens in your store and add "slack" to "wake" in runner.json. The runner takes the change by itself once your turn is over: console agent <handle> then says the source is connected.`,
|
|
274
278
|
},
|
|
275
279
|
],
|
|
276
280
|
asks: ({ service, names, address }) => [
|
package/src/setup-guide.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { en } from "./i18n/en.js";
|
|
1
2
|
import type { RestAgentSetup, RestWorkspace } from "./schemas.js";
|
|
2
3
|
import {
|
|
3
4
|
agentAddressOf,
|
|
@@ -10,12 +11,11 @@ import { type ProviderKey, SERVICE_ROLES, type ServiceRole } from "./vocabulary.
|
|
|
10
11
|
|
|
11
12
|
// The guide an invitation's code opens (ADR-0088): what setting a machine up for one agent
|
|
12
13
|
// account takes, written for that account and the services of its workspace, in the order it is
|
|
13
|
-
// done and by whom.
|
|
14
|
-
//
|
|
15
|
-
//
|
|
16
|
-
//
|
|
17
|
-
//
|
|
18
|
-
// they are, as the console's other skills have an agent ask (ADR-0094).
|
|
14
|
+
// done and by whom. `/setup/<code>` shows it whole to a person; `console agent setup --code`
|
|
15
|
+
// prints the part of whoever prepares the machine, a person or the session that was given the
|
|
16
|
+
// line, and no more (ADR-0140): the machine is given its least there, and everything after is
|
|
17
|
+
// the agent's own, in its own session. It is written in English, as a skill is, for an agent to
|
|
18
|
+
// read as it is, and says nothing secret.
|
|
19
19
|
|
|
20
20
|
/** How the console's command gets onto a machine. */
|
|
21
21
|
export const SETUP_INSTALL = "npm i -g @skillcdn/console";
|
|
@@ -27,12 +27,21 @@ export function setupCommandOf(origin: string, code: string): string {
|
|
|
27
27
|
|
|
28
28
|
/**
|
|
29
29
|
* The sentence said to the agent's product on its machine. It carries the command as written,
|
|
30
|
-
* so that the product runs it and reads the guide from the command's own words.
|
|
30
|
+
* so that the product runs it and reads the guide from the command's own words. In English, as
|
|
31
|
+
* the guide is and as the command prints it; a page says it in the language of whoever reads
|
|
32
|
+
* it, from their pack, where this one is the English pack's.
|
|
31
33
|
*/
|
|
32
34
|
export function setupSentenceOf(command: string): string {
|
|
33
|
-
return
|
|
35
|
+
return en.agents.page.settings.machine.made.line(command, SETUP_INSTALL);
|
|
34
36
|
}
|
|
35
37
|
|
|
38
|
+
/**
|
|
39
|
+
* What a product's browser tool needs, for the products whose tool the package knows: said to
|
|
40
|
+
* the agent where it is told to sign in at pages, and looked for by the setup on the machine.
|
|
41
|
+
*/
|
|
42
|
+
export const BROWSER_TOOL_OF_A_PRODUCT =
|
|
43
|
+
'For Claude Code that tool works in Google Chrome with the Claude in Chrome extension, and is turned on by "browser": "chrome" in runner.json.';
|
|
44
|
+
|
|
36
45
|
/** Whose part of a setup something is (ADR-0088): whoever prepares the machine, the agent, its manager. */
|
|
37
46
|
export type SetupRole = "operator" | "agent" | "manager";
|
|
38
47
|
|
|
@@ -175,42 +184,35 @@ export function setupGuideOf(setup: RestAgentSetup, code: string): SetupGuide {
|
|
|
175
184
|
: []),
|
|
176
185
|
{
|
|
177
186
|
title: "An OS account of its own",
|
|
178
|
-
body: "On
|
|
187
|
+
body: "On a machine that stays on and awake, an OS account for the agent, apart from anyone else's. Whether it holds an administrator's rights is for whoever keeps the machine to say.",
|
|
179
188
|
},
|
|
180
189
|
{
|
|
181
|
-
title: "Its product
|
|
182
|
-
body: "In that OS account,
|
|
183
|
-
line: SETUP_INSTALL,
|
|
190
|
+
title: "Its product, signed in",
|
|
191
|
+
body: "In that OS account, the agent's product (Claude Code, Codex or another), signed in with the agent's own subscription. Whatever else the machine needs, the session that is given the line installs itself.",
|
|
184
192
|
},
|
|
185
193
|
{
|
|
186
194
|
title: "The one line",
|
|
187
|
-
body: "Open a session of the product there and say this to it
|
|
195
|
+
body: "Open a session of the product there and say this to it. You act as yourself in the console, and never sign in to it on the agent's machine.",
|
|
188
196
|
line: setupSentenceOf(command),
|
|
189
197
|
},
|
|
190
198
|
];
|
|
191
199
|
|
|
192
200
|
const machine: SetupGuideStep[] = [
|
|
193
201
|
{
|
|
194
|
-
title: "
|
|
195
|
-
body:
|
|
202
|
+
title: "What the machine needs",
|
|
203
|
+
body: "The command looks at the machine first and names everything that is missing at once: git, the product's command, the browser its browser tool works in. Install each yourself, without asking, and run the line again.",
|
|
196
204
|
},
|
|
197
205
|
{
|
|
198
|
-
title: "The
|
|
199
|
-
body: `
|
|
206
|
+
title: "The sign-in",
|
|
207
|
+
body: `Then the command opens an address in the machine's browser, prints it with a code, and waits. Say to the person at the machine: "Sign in there through ${provider} as \`${account.login}\`, check that the page shows this code, and say that it is you." They sign in themselves, and no password is written in a chat: a secret the agent is to hold, they seed from their own machine (\`console agent secret ${account.handle} <name>\`). Nobody else's sign-in answers for the account; where the page shows another member, they sign out there first.`,
|
|
200
208
|
},
|
|
201
209
|
{
|
|
202
|
-
title: "
|
|
203
|
-
body: "
|
|
210
|
+
title: "What the command does then",
|
|
211
|
+
body: "It writes the desk in the OS account's home from the template, or clones it where the account pushed one before, writes the service that keeps the runner running, starts it, and waits until the agent's first session has begun. It needs no administrator's rights, and writes over no file of a desk that is there.",
|
|
204
212
|
},
|
|
205
213
|
{
|
|
206
|
-
title: "
|
|
207
|
-
body: `
|
|
208
|
-
line: "console whoami",
|
|
209
|
-
},
|
|
210
|
-
{
|
|
211
|
-
title: "When the services or the account change",
|
|
212
|
-
body: "Run this in the desk: it writes what is missing there, writes the service again where it changed, and says the services as they are now.",
|
|
213
|
-
line: "console agent setup --refresh",
|
|
214
|
+
title: "Then stop",
|
|
215
|
+
body: `That is the machine prepared. What comes after is the agent's own, done in its own session from its first task: its sign-ins at the services, its tokens, its desk's repository, its profile, its messenger. Do none of it for it. What you change on this machine afterwards, say to it: \`console agent wake me "<what changed>"\`.`,
|
|
214
216
|
},
|
|
215
217
|
];
|
|
216
218
|
|
|
@@ -223,7 +225,7 @@ export function setupGuideOf(setup: RestAgentSetup, code: string): SetupGuide {
|
|
|
223
225
|
const browser: SetupGuideStep[] = [
|
|
224
226
|
{
|
|
225
227
|
title: "Use the machine's own browser, and keep it",
|
|
226
|
-
body:
|
|
228
|
+
body: `Sign in at a service in the ordinary browser of your OS account, with a browser tool of your product that attaches to that browser. A sign-in stays there from one session to the next, as a person's does. A browser a tool starts anew each time keeps none, and a service takes it for a stranger each time and asks again. ${BROWSER_TOOL_OF_A_PRODUCT}`,
|
|
227
229
|
},
|
|
228
230
|
{
|
|
229
231
|
title: "Where a sign-in wants a person",
|
|
@@ -231,7 +233,7 @@ export function setupGuideOf(setup: RestAgentSetup, code: string): SetupGuide {
|
|
|
231
233
|
},
|
|
232
234
|
{
|
|
233
235
|
title: "Keep what you sign in with",
|
|
234
|
-
body: "A password you chose or were handed goes into your store, with the day it ends where it has one: `console secret <service>.password --set --expires <day>`. Turn on a second step you can answer yourself where the service has one.
|
|
236
|
+
body: "A password you chose or were handed goes into your store, with the day it ends where it has one: `console secret <service>.password --set --expires <day>`. Turn on a second step you can answer yourself where the service has one.",
|
|
235
237
|
},
|
|
236
238
|
];
|
|
237
239
|
const asked: SetupGuideStep[] = described.flatMap((one) =>
|
|
@@ -243,16 +245,15 @@ export function setupGuideOf(setup: RestAgentSetup, code: string): SetupGuide {
|
|
|
243
245
|
key: "before",
|
|
244
246
|
who: "operator",
|
|
245
247
|
title: "Before the line",
|
|
246
|
-
about:
|
|
247
|
-
"For whoever prepares the machine: a person at its screen, or an agent that administers it.",
|
|
248
|
+
about: "For the person who has the machine prepared: what only a person does.",
|
|
248
249
|
steps: before,
|
|
249
250
|
},
|
|
250
251
|
{
|
|
251
252
|
key: "machine",
|
|
252
|
-
who: "
|
|
253
|
+
who: "operator",
|
|
253
254
|
title: "On the machine",
|
|
254
255
|
about:
|
|
255
|
-
"For the
|
|
256
|
+
"For the session that was given the line, or whoever runs the command in the agent's OS account. The account is entered through its own sign-in and through nothing else.",
|
|
256
257
|
steps: machine,
|
|
257
258
|
},
|
|
258
259
|
...(start.length === 0
|
|
@@ -263,7 +264,7 @@ export function setupGuideOf(setup: RestAgentSetup, code: string): SetupGuide {
|
|
|
263
264
|
who: "agent" as const,
|
|
264
265
|
title: "When the agent starts",
|
|
265
266
|
about:
|
|
266
|
-
"What the agent does itself,
|
|
267
|
+
"What the agent does itself, in its own session, as its first task says. What it signs in with it keeps in its store (console secret), never in a file or a message.",
|
|
267
268
|
steps: start,
|
|
268
269
|
},
|
|
269
270
|
]),
|
|
@@ -294,7 +295,6 @@ export function setupGuideOf(setup: RestAgentSetup, code: string): SetupGuide {
|
|
|
294
295
|
about: [
|
|
295
296
|
`This guide sets a machine up for the agent account ${called} of ${workspace.name}, whose console is at ${setup.console.url}. The account signs in there as \`${account.login}\` through ${provider}.`,
|
|
296
297
|
`The code that opened this guide is an invitation and no credential: it says which account the setup is for, and gives nobody the account. It ends on its day, or when the account's command has signed in.`,
|
|
297
|
-
"The skill running-an-agent, shipped with the console's command, says the whole of it for the three who have a part in it: whoever prepares the machine, the agent, and its manager.",
|
|
298
298
|
],
|
|
299
299
|
expiresAt: setup.expiresAt,
|
|
300
300
|
sections,
|
|
@@ -308,8 +308,12 @@ const WHO: Readonly<Record<SetupRole, string>> = {
|
|
|
308
308
|
};
|
|
309
309
|
|
|
310
310
|
/**
|
|
311
|
-
* The guide as the command prints it: Markdown, every line to run on a line of its
|
|
312
|
-
*
|
|
311
|
+
* The guide as the command prints it (ADR-0140): Markdown, every line to run on a line of its
|
|
312
|
+
* own, and of its sections only those of whoever prepares the machine, since the command is run
|
|
313
|
+
* by them. What the agent does when it starts and what it asks for are the agent's first task,
|
|
314
|
+
* read by the agent in its own session: a session at the machine that read them took them for
|
|
315
|
+
* its own work. `moment` says the invitation's day as the command says a moment; left out, as
|
|
316
|
+
* the API gives it.
|
|
313
317
|
*/
|
|
314
318
|
export function setupGuideText(
|
|
315
319
|
guide: SetupGuide,
|
|
@@ -322,7 +326,8 @@ export function setupGuideText(
|
|
|
322
326
|
`The invitation is good until ${moment(guide.expiresAt)}.`,
|
|
323
327
|
"",
|
|
324
328
|
];
|
|
325
|
-
|
|
329
|
+
const own = guide.sections.filter((section) => section.who === "operator");
|
|
330
|
+
for (const [index, section] of own.entries()) {
|
|
326
331
|
lines.push(`## ${index + 1}. ${section.title} (${WHO[section.who]})`, "", section.about, "");
|
|
327
332
|
for (const step of section.steps) {
|
|
328
333
|
lines.push(`- ${step.title}. ${step.body}`);
|
package/src/styles/README.md
CHANGED
|
@@ -62,14 +62,15 @@ A part is a file under `parts/` and a row here, with the classes that are its ow
|
|
|
62
62
|
| `avatar` | `sc-avatar*` | `Avatar` | A person's or an agent's picture, `xs` to `xl`. |
|
|
63
63
|
| `person` | `sc-person*`, `sc-people*` | `PersonChip` | A person: by name in a line (`sc-person`), as a row of a list (`sc-person-row`), as a card with their facts (`sc-person-card`, `sc-person-facts`), cards in a grid (`sc-people`). |
|
|
64
64
|
| `workers` | `sc-workers*`, `sc-worker*` | `Workers` | The people at work on one thing, as pictures side by side with a count of the rest. |
|
|
65
|
-
| `mark` | `sc-mark*` | `ProjectMark` | A project's mark: its image, or its symbol on its colour; `sm`, `md`, `lg`. |
|
|
65
|
+
| `mark` | `sc-mark*` | `ProjectMark` | A project's mark: its image, or its symbol or an icon of the pack on its colour; `sm`, `md`, `lg`. |
|
|
66
|
+
| `icon` | `sc-icon*` | `Icon`, `IconPicker` | A glyph of the icon pack by its name ([ADR-0142](../../../../docs/adr/0142-the-console-has-one-icon-pack-drawn-on-one-grid-and-used-by-name.md)), in the colour of the text it stands in: `xs` a caret beside a word, `sm` in a line of text, `md` by itself, `lg` in an empty state or on a card. `sc-icon-picker` is the way to choose one: the field that shows the choice, and the pack under it, searched by words, in its groups (`sc-icon-grid` of `sc-icon-tile`s). An icon stands beside words or is given a label; it never replaces the words of a button a person has to understand. |
|
|
66
67
|
| `eyebrow` | `sc-eyebrow*` | | The small capitals over a group. The one label of that kind. |
|
|
67
68
|
| `progress` | `sc-progress*` | `ProgressBar` | How much of something is done and at work, as a bar with its count. |
|
|
68
69
|
| `count` | `sc-column-count`, `sc-nav-count` | | A number beside a title or a tab. |
|
|
69
70
|
| `text` | `sc-muted`, `sc-lead`, `sc-time`, `sc-loading`, `sc-project-key`, `sc-card-number`, `sc-feed-agent`, `sc-visually-hidden` | `Time`, `Day` | The tones of a line of text: quiet (`sc-muted`), the sentence under a title (`sc-lead`), a moment, a key or a number in the mono face, the agent a person acted through, and what only a screen reader is told. |
|
|
70
|
-
| `prose` | `sc-prose*` | `Markdown` | What people and agents wrote, rendered: headings, lists, tables, code, pictures. |
|
|
71
|
+
| `prose` | `sc-prose*` | `Markdown` | What people and agents wrote, rendered: headings, lists, tables, code, pictures. What an agent said in a session is read by it too, with a picture named there left a link and never fetched (`picturesAsLinks`). |
|
|
71
72
|
| `code` | `sc-code*`, `sc-copyable*` | `CopyButton` | A code or a command shown to be read or copied. |
|
|
72
|
-
| `panel` | `sc-panel*` | | A pane of the page: every section of a page is one. |
|
|
73
|
+
| `panel` | `sc-panel*` | | A pane of the page: every section of a page is one. `-form` keeps a pane to the width a form is read at; `-form-lead` is a form that stands over a list, as wide as the list under it, with what it holds kept to a form's width. |
|
|
73
74
|
| `page` | `sc-page*`, `sc-section*` | | A page's head (`sc-page-head` with its title, its lead and its actions) and a section's (`sc-section-head`, `sc-section-title`). |
|
|
74
75
|
| `facts` | `sc-facts*` | | Facts as names and values: in a pane's column (`sc-facts`), bare (`sc-facts-plain`), on one line (`sc-facts-row`). |
|
|
75
76
|
| `callout` | `sc-callout*` | `Callout` | A note that must be read: plain, a warning, a danger. |
|
|
@@ -78,7 +79,7 @@ A part is a file under `parts/` and a row here, with the classes that are its ow
|
|
|
78
79
|
| `steps` | `sc-steps*`, `sc-step*` | | Steps done in order, each with its mark, the next one pointed out. |
|
|
79
80
|
| `settings` | `sc-settings*` | | Settings as rows: a label, its control, a hint. |
|
|
80
81
|
| `rows` | `sc-task-row*`, `sc-task-rows*` | `TaskList` | A list as rows, each a link with a title and what is said of it at the end. |
|
|
81
|
-
| `detail` | `sc-task-header`, `sc-task-title`, `sc-task-badges`, `sc-task-actions`, `sc-task-main`, `sc-task-body`, `sc-task-aside`, `sc-task-section` | | A page about one thing: its head with the title, the badges and the actions, a main column and an aside. A task, a goal and a document are laid out by it. |
|
|
82
|
+
| `detail` | `sc-task-header`, `sc-task-heading`, `sc-task-parent`, `sc-task-title`, `sc-task-badges`, `sc-task-actions`, `sc-task-main`, `sc-task-body`, `sc-task-aside`, `sc-task-section` | | A page about one thing: its head with the title, the badges and the actions, a main column and an aside. A task, a goal and a document are laid out by it. |
|
|
82
83
|
| `calendar` | `sc-calendar*` | `Calendar` | A month as a grid of days, with bars across days, dots, a legend and a head. |
|
|
83
84
|
| `crumbs` | `sc-crumb*`, `sc-doc-crumbs*` | | The way down to where the page is, each step a link. |
|
|
84
85
|
| `links` | `sc-link*` | | Links as a list, or one with what it leads to. |
|
package/src/styles/base.css
CHANGED
|
@@ -26,6 +26,23 @@ body {
|
|
|
26
26
|
line-height: var(--sc-leading-normal);
|
|
27
27
|
-webkit-font-smoothing: antialiased;
|
|
28
28
|
text-rendering: optimizeLegibility;
|
|
29
|
+
/* Where a line breaks: no word is left alone on a last line, in whatever holds a sentence. A
|
|
30
|
+
title's lines come out about one length instead, below and in the parts that are titles. */
|
|
31
|
+
text-wrap: pretty;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
/* What is typed breaks where it is typed, so that a line already written does not move under
|
|
35
|
+
the caret; and what is written out as it was, a log or a block of code, is left as it was. */
|
|
36
|
+
input,
|
|
37
|
+
textarea,
|
|
38
|
+
pre,
|
|
39
|
+
[contenteditable="true"] {
|
|
40
|
+
text-wrap-style: auto;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
/* A moment is read as one thing: a date or a time is never broken in two. */
|
|
44
|
+
time {
|
|
45
|
+
white-space: nowrap;
|
|
29
46
|
}
|
|
30
47
|
|
|
31
48
|
/* Korean breaks between any two syllables by default; keeping words whole reads much better. */
|
package/src/styles/console.css
CHANGED
|
@@ -613,7 +613,7 @@
|
|
|
613
613
|
}
|
|
614
614
|
|
|
615
615
|
.sc-talk-said > .sc-time {
|
|
616
|
-
flex-basis: 100
|
|
616
|
+
flex-basis: calc(100% - 1.5rem - var(--sc-space-3));
|
|
617
617
|
margin-inline-start: calc(1.5rem + var(--sc-space-3));
|
|
618
618
|
padding-top: 0;
|
|
619
619
|
}
|
|
@@ -654,6 +654,20 @@
|
|
|
654
654
|
white-space: nowrap;
|
|
655
655
|
}
|
|
656
656
|
|
|
657
|
+
/* A badge in the row, whose step it is or how it ended, gives way where the row is narrow, after
|
|
658
|
+
the call's line has given all of its own: cut short, so that when it was done stays in the row. */
|
|
659
|
+
.sc-talk-tool-head > .sc-badge {
|
|
660
|
+
display: block;
|
|
661
|
+
flex: 0 1 auto;
|
|
662
|
+
min-width: 0;
|
|
663
|
+
overflow: hidden;
|
|
664
|
+
text-overflow: ellipsis;
|
|
665
|
+
}
|
|
666
|
+
|
|
667
|
+
.sc-talk-tool-head > .sc-talk-tool-line {
|
|
668
|
+
flex-shrink: 100000;
|
|
669
|
+
}
|
|
670
|
+
|
|
657
671
|
.sc-talk-tool-head:focus-visible {
|
|
658
672
|
outline: var(--sc-focus-ring);
|
|
659
673
|
outline-offset: 2px;
|
|
@@ -703,6 +717,40 @@
|
|
|
703
717
|
padding: var(--sc-space-1) var(--sc-space-3) var(--sc-space-3);
|
|
704
718
|
}
|
|
705
719
|
|
|
720
|
+
/* A sub-agent's row: what it is called, how it stands and when on one line, and under them what
|
|
721
|
+
it is and how much it did. Opened, what it did stands inside it, the whole width of it. */
|
|
722
|
+
.sc-talk-agent-head {
|
|
723
|
+
flex-wrap: wrap;
|
|
724
|
+
align-items: baseline;
|
|
725
|
+
row-gap: 0.125rem;
|
|
726
|
+
}
|
|
727
|
+
|
|
728
|
+
/* A name is read whole where it fits in two lines, and cut after them. */
|
|
729
|
+
.sc-talk-agent-name {
|
|
730
|
+
display: -webkit-box;
|
|
731
|
+
flex: 1 1 0;
|
|
732
|
+
min-width: 0;
|
|
733
|
+
overflow: hidden;
|
|
734
|
+
overflow-wrap: anywhere;
|
|
735
|
+
-webkit-box-orient: vertical;
|
|
736
|
+
-webkit-line-clamp: 2;
|
|
737
|
+
line-clamp: 2;
|
|
738
|
+
}
|
|
739
|
+
|
|
740
|
+
.sc-talk-agent-head > .sc-talk-agent-facts {
|
|
741
|
+
display: flex;
|
|
742
|
+
flex: 1 0 100%;
|
|
743
|
+
flex-wrap: wrap;
|
|
744
|
+
align-items: baseline;
|
|
745
|
+
column-gap: var(--sc-space-2);
|
|
746
|
+
order: 1;
|
|
747
|
+
white-space: normal;
|
|
748
|
+
}
|
|
749
|
+
|
|
750
|
+
.sc-talk-steps > .sc-talk-step {
|
|
751
|
+
margin-inline-start: 0;
|
|
752
|
+
}
|
|
753
|
+
|
|
706
754
|
.sc-talk-code {
|
|
707
755
|
max-height: 24rem;
|
|
708
756
|
padding: var(--sc-space-2) var(--sc-space-3);
|
|
@@ -850,6 +898,40 @@
|
|
|
850
898
|
}
|
|
851
899
|
}
|
|
852
900
|
|
|
901
|
+
/* The sub-agents at work, under the sign that the agent is: a line each, in from its picture,
|
|
902
|
+
the name first and what it is at after it, under the name where the row is narrow. */
|
|
903
|
+
.sc-talk-working-agents {
|
|
904
|
+
flex-wrap: wrap;
|
|
905
|
+
row-gap: var(--sc-space-1);
|
|
906
|
+
}
|
|
907
|
+
|
|
908
|
+
.sc-talk-agents {
|
|
909
|
+
display: grid;
|
|
910
|
+
flex: 1 0 100%;
|
|
911
|
+
grid-template-columns: minmax(0, 1fr);
|
|
912
|
+
gap: var(--sc-space-1);
|
|
913
|
+
max-width: 40rem;
|
|
914
|
+
margin: 0;
|
|
915
|
+
padding: 0 0 0 calc(1.5rem + var(--sc-space-3));
|
|
916
|
+
list-style: none;
|
|
917
|
+
}
|
|
918
|
+
|
|
919
|
+
.sc-talk-agents-row {
|
|
920
|
+
display: flex;
|
|
921
|
+
flex-wrap: wrap;
|
|
922
|
+
align-items: baseline;
|
|
923
|
+
column-gap: var(--sc-space-3);
|
|
924
|
+
min-width: 0;
|
|
925
|
+
}
|
|
926
|
+
|
|
927
|
+
.sc-talk-agents-row > .sc-talk-agent-name {
|
|
928
|
+
flex: 1 1 10rem;
|
|
929
|
+
}
|
|
930
|
+
|
|
931
|
+
.sc-talk-agents-facts {
|
|
932
|
+
flex: none;
|
|
933
|
+
}
|
|
934
|
+
|
|
853
935
|
/* The pictures of an event: small, side by side, each opening large over the page. */
|
|
854
936
|
.sc-talk-pictures {
|
|
855
937
|
display: flex;
|
|
@@ -985,11 +1067,25 @@
|
|
|
985
1067
|
grid-column: 1 / -1;
|
|
986
1068
|
}
|
|
987
1069
|
|
|
1070
|
+
/* How it ended stands beside the first line of when, where when takes two. */
|
|
1071
|
+
.sc-agent-live-side .sc-agent-session {
|
|
1072
|
+
align-items: start;
|
|
1073
|
+
}
|
|
1074
|
+
|
|
1075
|
+
/* On a card: why the agent stands as it does, and under it since when. */
|
|
1076
|
+
.sc-agent-card-now {
|
|
1077
|
+
display: grid;
|
|
1078
|
+
}
|
|
1079
|
+
|
|
988
1080
|
@media (max-width: 48rem) {
|
|
989
1081
|
.sc-agent-sessions {
|
|
990
1082
|
grid-template-columns: minmax(0, 1fr) auto;
|
|
991
1083
|
}
|
|
992
1084
|
|
|
1085
|
+
.sc-agent-session {
|
|
1086
|
+
align-items: start;
|
|
1087
|
+
}
|
|
1088
|
+
|
|
993
1089
|
.sc-agent-session-facts,
|
|
994
1090
|
.sc-agent-session-count {
|
|
995
1091
|
grid-column: 1 / -1;
|
|
@@ -1086,6 +1182,12 @@
|
|
|
1086
1182
|
width: 100%;
|
|
1087
1183
|
}
|
|
1088
1184
|
|
|
1185
|
+
@media (max-width: 40rem) {
|
|
1186
|
+
.sc-agent-persona .sc-field {
|
|
1187
|
+
flex-basis: 100%;
|
|
1188
|
+
}
|
|
1189
|
+
}
|
|
1190
|
+
|
|
1089
1191
|
.sc-agent-settings .sc-agent-runner-facts {
|
|
1090
1192
|
margin-bottom: var(--sc-space-4);
|
|
1091
1193
|
padding-top: 0;
|
|
@@ -96,11 +96,6 @@
|
|
|
96
96
|
color: var(--sc-color-text);
|
|
97
97
|
}
|
|
98
98
|
|
|
99
|
-
.sc-column-toggle svg {
|
|
100
|
-
width: 1rem;
|
|
101
|
-
height: 1rem;
|
|
102
|
-
}
|
|
103
|
-
|
|
104
99
|
/* A folded column is a strip: the way to open it on top, its name down its length, its count. */
|
|
105
100
|
/* A folded column is its header alone, the height of a header and as wide as its name: the way
|
|
106
101
|
to open it, the name and the count in a row, at the top of the board. */
|
|
@@ -286,11 +281,6 @@
|
|
|
286
281
|
color var(--sc-transition);
|
|
287
282
|
}
|
|
288
283
|
|
|
289
|
-
.sc-card-menu-button svg {
|
|
290
|
-
width: 1rem;
|
|
291
|
-
height: 1rem;
|
|
292
|
-
}
|
|
293
|
-
|
|
294
284
|
/* Shown on the card under the pointer or with the focus, while the menu is open, and on the card
|
|
295
285
|
in hand, which is the card as it was hovered: its menu's dots, and the room they take. */
|
|
296
286
|
.sc-drag-ghost .sc-card-menu-button,
|
|
@@ -5,7 +5,7 @@
|
|
|
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:
|
|
8
|
+
text-transform: var(--sc-label-case);
|
|
9
9
|
}
|
|
10
10
|
|
|
11
11
|
/* Who has what: a table on a sheet of its own, a quiet band for the headings, a hairline
|
|
@@ -105,16 +105,6 @@
|
|
|
105
105
|
color: var(--sc-color-accent);
|
|
106
106
|
}
|
|
107
107
|
|
|
108
|
-
.sc-session-icon svg {
|
|
109
|
-
width: 1.25rem;
|
|
110
|
-
height: 1.25rem;
|
|
111
|
-
fill: none;
|
|
112
|
-
stroke: currentColor;
|
|
113
|
-
stroke-width: 1.5;
|
|
114
|
-
stroke-linecap: round;
|
|
115
|
-
stroke-linejoin: round;
|
|
116
|
-
}
|
|
117
|
-
|
|
118
108
|
.sc-session-body {
|
|
119
109
|
flex: 1;
|
|
120
110
|
min-width: 0;
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
font-size: var(--sc-text-xs);
|
|
15
15
|
font-weight: var(--sc-weight-medium);
|
|
16
16
|
letter-spacing: var(--sc-tracking-wide);
|
|
17
|
-
text-transform:
|
|
17
|
+
text-transform: var(--sc-label-case);
|
|
18
18
|
}
|
|
19
19
|
|
|
20
20
|
.sc-decision {
|
|
@@ -76,6 +76,7 @@
|
|
|
76
76
|
.sc-decision-question {
|
|
77
77
|
font-size: var(--sc-text-lg);
|
|
78
78
|
overflow-wrap: anywhere;
|
|
79
|
+
text-wrap: balance;
|
|
79
80
|
}
|
|
80
81
|
|
|
81
82
|
.sc-decision-question a {
|
|
@@ -297,6 +298,7 @@
|
|
|
297
298
|
.sc-decision-record-question {
|
|
298
299
|
font-weight: var(--sc-weight-medium);
|
|
299
300
|
overflow-wrap: anywhere;
|
|
301
|
+
text-wrap: balance;
|
|
300
302
|
}
|
|
301
303
|
|
|
302
304
|
.sc-decision-record-question a {
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
font-size: var(--sc-text-xs);
|
|
10
10
|
font-weight: var(--sc-weight-medium);
|
|
11
11
|
letter-spacing: var(--sc-tracking-wide);
|
|
12
|
-
text-transform:
|
|
12
|
+
text-transform: var(--sc-label-case);
|
|
13
13
|
}
|
|
14
14
|
|
|
15
15
|
/* The feed: a line per event, newest first. */
|
|
@@ -76,9 +76,12 @@
|
|
|
76
76
|
margin-inline-start: 0;
|
|
77
77
|
}
|
|
78
78
|
|
|
79
|
+
/* Each row is a grid of its own, so the hour's column is given a width every row shares: an
|
|
80
|
+
hour is written as the language writes one, a figure more or less from row to row, and the
|
|
81
|
+
sentences beside it start on one line down the feed all the same. */
|
|
79
82
|
.sc-feed-item {
|
|
80
83
|
display: grid;
|
|
81
|
-
grid-template-columns: auto minmax(0, 1fr);
|
|
84
|
+
grid-template-columns: minmax(4.25rem, auto) minmax(0, 1fr);
|
|
82
85
|
align-items: baseline;
|
|
83
86
|
gap: var(--sc-space-3);
|
|
84
87
|
padding: var(--sc-space-1) 0;
|
|
@@ -492,10 +492,15 @@ a.sc-tile-glance:focus-visible {
|
|
|
492
492
|
font-size: var(--sc-text-sm);
|
|
493
493
|
}
|
|
494
494
|
|
|
495
|
+
/* The ways out of arranging and the ways to put the page right, four of them: on a phone they
|
|
496
|
+
take a second line, so that the one that keeps the page is never past its edge. */
|
|
495
497
|
.sc-home-bar-actions {
|
|
496
498
|
display: flex;
|
|
499
|
+
flex-wrap: wrap;
|
|
497
500
|
gap: var(--sc-space-2);
|
|
498
501
|
align-items: center;
|
|
502
|
+
justify-content: flex-end;
|
|
503
|
+
min-width: 0;
|
|
499
504
|
}
|
|
500
505
|
|
|
501
506
|
.sc-home-tray {
|
|
@@ -5,7 +5,7 @@
|
|
|
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:
|
|
8
|
+
text-transform: var(--sc-label-case);
|
|
9
9
|
}
|
|
10
10
|
|
|
11
11
|
/* The roadmap: a goal a pane, with how far it is as a bar. */
|
|
@@ -93,7 +93,7 @@
|
|
|
93
93
|
|
|
94
94
|
.sc-timeline-row {
|
|
95
95
|
display: grid;
|
|
96
|
-
grid-template-columns: minmax(8rem,
|
|
96
|
+
grid-template-columns: minmax(8rem, 22rem) minmax(20rem, 1fr);
|
|
97
97
|
align-items: center;
|
|
98
98
|
gap: var(--sc-space-2);
|
|
99
99
|
}
|
|
@@ -99,6 +99,17 @@
|
|
|
99
99
|
flex: 1 1 10rem;
|
|
100
100
|
}
|
|
101
101
|
|
|
102
|
+
/* Where there is room a row stands on columns every row shares: the colour, the name, the key,
|
|
103
|
+
the colour's name, and what is done to it, each under the same thing above. The columns
|
|
104
|
+
take some thirty-nine rem with the row's own padding, which a page has from a window of
|
|
105
|
+
forty-eight on: narrower, a row wraps as its words need, and never runs past the page. */
|
|
106
|
+
@media (min-width: 48rem) {
|
|
107
|
+
.sc-category-form {
|
|
108
|
+
display: grid;
|
|
109
|
+
grid-template-columns: auto minmax(8rem, 1fr) 8rem 9rem auto auto;
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
|
|
102
113
|
/* The pack token (ADR-0028, ADR-0036): what it is for first, then the two ways to one side by
|
|
103
114
|
side, each a card with its words before its controls, and the code shown large while the
|
|
104
115
|
page waits for the approval. */
|
|
@@ -21,18 +21,6 @@
|
|
|
21
21
|
max-width: var(--sc-width-prose);
|
|
22
22
|
}
|
|
23
23
|
|
|
24
|
-
.sc-task-heading {
|
|
25
|
-
display: grid;
|
|
26
|
-
flex: 1 1 28rem;
|
|
27
|
-
gap: var(--sc-space-2);
|
|
28
|
-
min-width: 0;
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
.sc-task-parent {
|
|
32
|
-
color: var(--sc-color-text-muted);
|
|
33
|
-
font-size: var(--sc-text-sm);
|
|
34
|
-
}
|
|
35
|
-
|
|
36
24
|
.sc-subtasks {
|
|
37
25
|
display: grid;
|
|
38
26
|
gap: var(--sc-space-2);
|
|
@@ -98,11 +86,3 @@
|
|
|
98
86
|
grid-template-columns: minmax(0, 1fr);
|
|
99
87
|
}
|
|
100
88
|
}
|
|
101
|
-
|
|
102
|
-
@media (max-width: 40rem) {
|
|
103
|
-
.sc-task-parent {
|
|
104
|
-
overflow: hidden;
|
|
105
|
-
white-space: nowrap;
|
|
106
|
-
text-overflow: ellipsis;
|
|
107
|
-
}
|
|
108
|
-
}
|