@skillcdn/console 0.5.0 → 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 +87 -12
- package/SKILLCDN.md +3 -3
- package/dist/agent-page.d.ts.map +1 -1
- package/dist/agent-page.js +7 -6
- package/dist/agent-page.js.map +1 -1
- package/dist/api.d.ts +9 -7
- package/dist/api.d.ts.map +1 -1
- package/dist/api.js +8 -6
- package/dist/api.js.map +1 -1
- package/dist/charts.d.ts +103 -0
- package/dist/charts.d.ts.map +1 -0
- package/dist/charts.js +182 -0
- package/dist/charts.js.map +1 -0
- package/dist/cli/cli.d.ts +58 -2
- package/dist/cli/cli.d.ts.map +1 -1
- package/dist/cli/cli.js +1742 -472
- package/dist/cli/cli.js.map +1 -1
- package/dist/cli/command-words.d.ts +20 -0
- package/dist/cli/command-words.d.ts.map +1 -0
- package/dist/cli/command-words.js +51 -0
- package/dist/cli/command-words.js.map +1 -0
- package/dist/cli/credentials.d.ts +54 -5
- package/dist/cli/credentials.d.ts.map +1 -1
- package/dist/cli/credentials.js +126 -20
- package/dist/cli/credentials.js.map +1 -1
- package/dist/cli/directory.d.ts +19 -4
- package/dist/cli/directory.d.ts.map +1 -1
- package/dist/cli/directory.js +16 -8
- package/dist/cli/directory.js.map +1 -1
- package/dist/cli/format.d.ts +70 -9
- package/dist/cli/format.d.ts.map +1 -1
- package/dist/cli/format.js +267 -40
- package/dist/cli/format.js.map +1 -1
- package/dist/cli/help.d.ts +13 -4
- package/dist/cli/help.d.ts.map +1 -1
- package/dist/cli/help.js +101 -58
- 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/main.js +76 -2
- package/dist/cli/main.js.map +1 -1
- package/dist/cli/pack.d.ts +69 -60
- package/dist/cli/pack.d.ts.map +1 -1
- package/dist/cli/pack.js +241 -270
- package/dist/cli/pack.js.map +1 -1
- package/dist/cli/plugin-check.d.ts +42 -0
- package/dist/cli/plugin-check.d.ts.map +1 -1
- package/dist/cli/plugin-check.js +221 -36
- package/dist/cli/plugin-check.js.map +1 -1
- package/dist/cli/plugin-cli.d.ts +6 -1
- package/dist/cli/plugin-cli.d.ts.map +1 -1
- package/dist/cli/plugin-cli.js +21 -4
- package/dist/cli/plugin-cli.js.map +1 -1
- package/dist/cli/plugin-main.js +1 -0
- package/dist/cli/plugin-main.js.map +1 -1
- 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/cli/serve.d.ts +33 -1
- package/dist/cli/serve.d.ts.map +1 -1
- package/dist/cli/serve.js +252 -3
- package/dist/cli/serve.js.map +1 -1
- package/dist/client.d.ts +54 -9
- package/dist/client.d.ts.map +1 -1
- package/dist/client.js +77 -80
- package/dist/client.js.map +1 -1
- package/dist/components/agent-page.d.ts +164 -8
- package/dist/components/agent-page.d.ts.map +1 -1
- package/dist/components/agent-page.js +588 -151
- 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/charts.d.ts +157 -0
- package/dist/components/charts.d.ts.map +1 -0
- package/dist/components/charts.js +182 -0
- package/dist/components/charts.js.map +1 -0
- 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/desk-records.d.ts +102 -0
- package/dist/components/desk-records.d.ts.map +1 -0
- package/dist/components/desk-records.js +221 -0
- package/dist/components/desk-records.js.map +1 -0
- package/dist/components/desk.d.ts +85 -0
- package/dist/components/desk.d.ts.map +1 -0
- package/dist/components/desk.js +135 -0
- package/dist/components/desk.js.map +1 -0
- package/dist/components/event-feed.d.ts.map +1 -1
- package/dist/components/event-feed.js +7 -3
- 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 +14 -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/plugin-settings.d.ts.map +1 -1
- package/dist/components/plugin-settings.js +54 -3
- package/dist/components/plugin-settings.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 +51 -12
- package/dist/components/projects.js.map +1 -1
- package/dist/components/rules.d.ts +8 -10
- package/dist/components/rules.d.ts.map +1 -1
- package/dist/components/rules.js +35 -13
- package/dist/components/rules.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 +9 -3
- package/dist/components/setup.d.ts.map +1 -1
- package/dist/components/setup.js +12 -6
- 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 +1172 -106
- package/dist/console.d.ts +5 -0
- package/dist/console.d.ts.map +1 -1
- package/dist/console.js +52 -39
- package/dist/console.js.map +1 -1
- package/dist/data.d.ts.map +1 -1
- package/dist/data.js +32 -33
- package/dist/data.js.map +1 -1
- package/dist/desk-page.d.ts +38 -0
- package/dist/desk-page.d.ts.map +1 -0
- package/dist/desk-page.js +184 -0
- package/dist/desk-page.js.map +1 -0
- package/dist/desk-records-page.d.ts +18 -0
- package/dist/desk-records-page.d.ts.map +1 -0
- package/dist/desk-records-page.js +130 -0
- package/dist/desk-records-page.js.map +1 -0
- package/dist/desk-records.d.ts +247 -0
- package/dist/desk-records.d.ts.map +1 -0
- package/dist/desk-records.js +543 -0
- package/dist/desk-records.js.map +1 -0
- package/dist/desk.d.ts +122 -0
- package/dist/desk.d.ts.map +1 -0
- package/dist/desk.js +211 -0
- package/dist/desk.js.map +1 -0
- package/dist/feed-stream.d.ts +39 -0
- package/dist/feed-stream.d.ts.map +1 -0
- package/dist/feed-stream.js +117 -0
- package/dist/feed-stream.js.map +1 -0
- package/dist/home-tiles.d.ts +19 -3
- package/dist/home-tiles.d.ts.map +1 -1
- package/dist/home-tiles.js +147 -42
- package/dist/home-tiles.js.map +1 -1
- package/dist/i18n/en.d.ts +228 -6
- package/dist/i18n/en.d.ts.map +1 -1
- package/dist/i18n/en.js +309 -9
- package/dist/i18n/en.js.map +1 -1
- package/dist/i18n/ko.d.ts.map +1 -1
- package/dist/i18n/ko.js +366 -85
- 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 +9 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +9 -0
- package/dist/index.js.map +1 -1
- package/dist/limits.d.ts +20 -0
- package/dist/limits.d.ts.map +1 -1
- package/dist/limits.js +20 -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.d.ts +6 -0
- package/dist/onboarding.d.ts.map +1 -1
- package/dist/onboarding.js +5 -5
- package/dist/onboarding.js.map +1 -1
- package/dist/plugin/context.d.ts +42 -11
- package/dist/plugin/context.d.ts.map +1 -1
- package/dist/plugin/limits.d.ts +2 -0
- package/dist/plugin/limits.d.ts.map +1 -1
- package/dist/plugin/limits.js +2 -0
- package/dist/plugin/limits.js.map +1 -1
- package/dist/plugin/manifest.d.ts +13 -0
- package/dist/plugin/manifest.d.ts.map +1 -1
- package/dist/plugin/manifest.js +30 -3
- package/dist/plugin/manifest.js.map +1 -1
- package/dist/plugin/rest-schemas.d.ts +55 -0
- package/dist/plugin/rest-schemas.d.ts.map +1 -1
- package/dist/plugin/rest-schemas.js +37 -0
- package/dist/plugin/rest-schemas.js.map +1 -1
- package/dist/plugin/sandbox.d.ts.map +1 -1
- package/dist/plugin/sandbox.js +4 -1
- package/dist/plugin/sandbox.js.map +1 -1
- package/dist/plugin/testing.d.ts +6 -2
- package/dist/plugin/testing.d.ts.map +1 -1
- package/dist/plugin/testing.js +52 -10
- package/dist/plugin/testing.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/plugin.d.ts +1 -1
- package/dist/plugin.d.ts.map +1 -1
- package/dist/plugin.js +1 -1
- package/dist/plugin.js.map +1 -1
- package/dist/records.d.ts +283 -0
- package/dist/records.d.ts.map +1 -0
- package/dist/records.js +543 -0
- package/dist/records.js.map +1 -0
- package/dist/routes.d.ts +3 -1
- package/dist/routes.d.ts.map +1 -1
- package/dist/routes.js +3 -1
- package/dist/routes.js.map +1 -1
- package/dist/rules.d.ts +30 -11
- package/dist/rules.d.ts.map +1 -1
- package/dist/rules.js +98 -45
- package/dist/rules.js.map +1 -1
- package/dist/runner/acp.d.ts +1 -1
- package/dist/runner/acp.d.ts.map +1 -1
- package/dist/runner/acp.js +32 -21
- 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 +1 -1
- package/dist/runner/claude.d.ts.map +1 -1
- package/dist/runner/claude.js +100 -18
- package/dist/runner/claude.js.map +1 -1
- package/dist/runner/codex.d.ts +1 -1
- package/dist/runner/codex.d.ts.map +1 -1
- package/dist/runner/codex.js +20 -17
- 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 +43 -2
- package/dist/runner/desk.d.ts.map +1 -1
- package/dist/runner/desk.js +168 -13
- package/dist/runner/desk.js.map +1 -1
- package/dist/runner/process.d.ts.map +1 -1
- package/dist/runner/process.js +11 -4
- package/dist/runner/process.js.map +1 -1
- package/dist/runner/redact.d.ts +39 -4
- package/dist/runner/redact.d.ts.map +1 -1
- package/dist/runner/redact.js +81 -5
- package/dist/runner/redact.js.map +1 -1
- package/dist/runner/runner.d.ts +28 -3
- package/dist/runner/runner.d.ts.map +1 -1
- package/dist/runner/runner.js +371 -54
- 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/task-scheduler.d.ts +20 -0
- package/dist/runner/task-scheduler.d.ts.map +1 -1
- package/dist/runner/task-scheduler.js +34 -4
- package/dist/runner/task-scheduler.js.map +1 -1
- package/dist/runner/types.d.ts +51 -1
- package/dist/runner/types.d.ts.map +1 -1
- package/dist/runner/types.js +26 -0
- package/dist/runner/types.js.map +1 -1
- package/dist/runner.d.ts +6 -6
- package/dist/runner.d.ts.map +1 -1
- package/dist/runner.js +5 -5
- package/dist/runner.js.map +1 -1
- package/dist/schemas.d.ts +603 -6
- package/dist/schemas.d.ts.map +1 -1
- package/dist/schemas.js +156 -20
- package/dist/schemas.js.map +1 -1
- package/dist/services.d.ts +22 -5
- package/dist/services.d.ts.map +1 -1
- package/dist/services.js +41 -17
- package/dist/services.js.map +1 -1
- package/dist/setup-guide.d.ts +17 -4
- package/dist/setup-guide.d.ts.map +1 -1
- package/dist/setup-guide.js +48 -41
- 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 +21 -3
- package/dist/vocabulary.d.ts.map +1 -1
- package/dist/vocabulary.js +19 -3
- package/dist/vocabulary.js.map +1 -1
- package/docs/specs/cli.md +73 -44
- package/docs/specs/plugins.md +40 -22
- package/docs/specs/records.md +113 -0
- package/docs/specs/rest.md +30 -21
- package/docs/specs/runner.md +46 -22
- package/package.json +11 -2
- package/skills/building-a-console/SKILL.md +4 -4
- package/skills/building-a-plugin/SKILL.md +6 -6
- package/skills/deploying-a-console/SKILL.md +4 -4
- package/skills/deploying-a-console/references/resources.md +41 -4
- package/skills/deploying-a-console/references/running-it-again.md +3 -2
- package/skills/keeping-a-desk/SKILL.md +133 -0
- package/skills/keeping-a-desk/collections.md +96 -0
- package/skills/planning-the-board/SKILL.md +14 -18
- package/skills/planning-the-board/references/a-task.md +2 -2
- package/skills/planning-the-board/references/project-rules.md +13 -14
- package/skills/planning-the-board/references/setting-up.md +15 -13
- package/skills/running-an-agent/SKILL.md +47 -56
- package/skills/working-the-board/SKILL.md +63 -44
- package/skills/working-the-board/references/terms.md +9 -5
- package/skills/working-the-board/references/the-pack.md +12 -10
- package/skills/working-the-board/references/the-sentence.md +2 -2
- package/src/agent-page.tsx +16 -2
- package/src/api.ts +109 -3
- package/src/charts.ts +250 -0
- package/src/cli/cli.ts +2226 -580
- package/src/cli/command-words.ts +56 -0
- package/src/cli/credentials.ts +181 -20
- package/src/cli/directory.ts +28 -10
- package/src/cli/format.ts +332 -49
- package/src/cli/help.ts +113 -57
- package/src/cli/machine-check.ts +223 -0
- package/src/cli/main.ts +72 -2
- package/src/cli/pack.ts +333 -372
- package/src/cli/plugin-check.ts +275 -34
- package/src/cli/plugin-cli.ts +28 -4
- package/src/cli/plugin-main.ts +1 -0
- package/src/cli/runner-host.ts +8 -0
- package/src/cli/secret-notes.ts +63 -0
- package/src/cli/serve.ts +295 -2
- package/src/client.ts +215 -177
- package/src/components/agent-page.tsx +1044 -281
- package/src/components/agents.tsx +9 -5
- package/src/components/board.tsx +3 -15
- package/src/components/categories.tsx +2 -2
- package/src/components/charts.tsx +680 -0
- package/src/components/decision-list.tsx +11 -7
- package/src/components/desk-records.tsx +724 -0
- package/src/components/desk.tsx +471 -0
- package/src/components/event-feed.tsx +12 -3
- package/src/components/goals.tsx +33 -25
- package/src/components/home.tsx +42 -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/plugin-settings.tsx +171 -12
- package/src/components/projects.tsx +68 -17
- package/src/components/rules.tsx +94 -34
- package/src/components/sessions.tsx +2 -13
- package/src/components/setup.tsx +20 -5
- 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 +104 -62
- package/src/data.ts +37 -34
- package/src/desk-page.tsx +332 -0
- package/src/desk-records-page.tsx +256 -0
- package/src/desk-records.ts +808 -0
- package/src/desk.ts +329 -0
- package/src/feed-stream.ts +144 -0
- package/src/home-tiles.ts +170 -46
- package/src/i18n/en.ts +323 -11
- package/src/i18n/ko.ts +378 -87
- 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 +125 -0
- package/src/limits.ts +20 -0
- package/src/marks.ts +12 -0
- package/src/onboarding.ts +14 -6
- package/src/plugin/context.ts +55 -12
- package/src/plugin/limits.ts +2 -0
- package/src/plugin/manifest.ts +38 -2
- package/src/plugin/rest-schemas.ts +41 -0
- package/src/plugin/sandbox.ts +4 -1
- package/src/plugin/testing.ts +63 -12
- package/src/plugin/web.ts +9 -2
- package/src/plugin.ts +2 -0
- package/src/records.ts +702 -0
- package/src/routes.ts +3 -1
- package/src/rules.ts +108 -47
- package/src/runner/acp.ts +49 -30
- package/src/runner/awake.ts +135 -0
- package/src/runner/claude.ts +131 -26
- package/src/runner/codex.ts +37 -26
- package/src/runner/config.ts +9 -0
- package/src/runner/desk.ts +200 -15
- package/src/runner/process.ts +11 -4
- package/src/runner/redact.ts +92 -6
- package/src/runner/runner.ts +457 -56
- package/src/runner/slack.ts +10 -4
- package/src/runner/task-scheduler.ts +36 -4
- package/src/runner/types.ts +67 -1
- package/src/runner.ts +27 -2
- package/src/schemas.ts +177 -18
- package/src/services.ts +55 -16
- package/src/setup-guide.ts +49 -40
- package/src/styles/README.md +16 -5
- package/src/styles/base.css +17 -0
- package/src/styles/console.css +10 -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/desk.css +126 -0
- package/src/styles/pages/documents.css +5 -0
- 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/bars.css +80 -0
- package/src/styles/parts/calendar.css +1 -1
- package/src/styles/parts/callout.css +1 -0
- package/src/styles/parts/chart.css +173 -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 +65 -0
- 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/legend.css +48 -0
- 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/series.css +32 -0
- package/src/styles/parts/settings.css +5 -0
- package/src/styles/parts/share.css +25 -0
- package/src/styles/parts/spark.css +23 -0
- package/src/styles/parts/stat.css +69 -0
- package/src/styles/tokens.css +31 -10
- package/src/tokens.ts +5 -1
- package/src/vocabulary.ts +25 -3
- package/template/desk-web/README.md +8 -0
- package/template/desk-web/index.html +13 -0
- package/template/desk-web/package.json +25 -0
- package/template/desk-web/src/main.tsx +24 -0
- package/template/desk-web/src/page.tsx +51 -0
- package/template/desk-web/tsconfig.json +16 -0
- package/template/desk-web/vite.config.ts +15 -0
package/src/styles/tokens.css
CHANGED
|
@@ -37,17 +37,25 @@
|
|
|
37
37
|
--sc-color-warning-line: #e9a23b;
|
|
38
38
|
--sc-color-danger: #b0273a;
|
|
39
39
|
--sc-color-danger-subtle: #fadadf;
|
|
40
|
-
/* For the plugins' pages (ADR-0054): a state that informs, one neither good nor bad
|
|
40
|
+
/* For the plugins' pages (ADR-0054): a state that informs, and one neither good nor bad. */
|
|
41
41
|
--sc-color-info: #1d4ed8;
|
|
42
42
|
--sc-color-info-subtle: #dbe6ff;
|
|
43
43
|
--sc-color-neutral: #4b5563;
|
|
44
44
|
--sc-color-neutral-subtle: #e7eaf0;
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
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
|
|
48
|
+
own hues, and a coral between its pink and its orange, each stepped until any two of the
|
|
49
|
+
six are told apart, also by a reader who does not tell red from green, and until each
|
|
50
|
+
stands out on a light ground and on a dark one. No orange among them, which is the point's,
|
|
51
|
+
and no yellow, which at this lightness is a brown. They are marks, never words. */
|
|
52
|
+
--sc-series-1: #285fd4;
|
|
53
|
+
--sc-series-2: #e45b63;
|
|
54
|
+
--sc-series-3: #bf1b7f;
|
|
55
|
+
--sc-series-4: #0097ac;
|
|
56
|
+
--sc-series-5: #946ff2;
|
|
57
|
+
--sc-series-6: #04933e;
|
|
58
|
+
/* The figures that line up: for a column of numbers, a scale, a table. */
|
|
51
59
|
--sc-numeric: "tnum" 1, "lnum" 1;
|
|
52
60
|
|
|
53
61
|
/* The ground: a pale field, one gradient from the top. The default UI provides the field's
|
|
@@ -109,6 +117,8 @@
|
|
|
109
117
|
--sc-tracking-tight: -0.02em;
|
|
110
118
|
--sc-tracking-wide: 0.04em;
|
|
111
119
|
--sc-tracking-code: 0.12em;
|
|
120
|
+
/* How a small label is cased: capitals where the script has them. */
|
|
121
|
+
--sc-label-case: uppercase;
|
|
112
122
|
--sc-weight-normal: 400;
|
|
113
123
|
--sc-weight-medium: 500;
|
|
114
124
|
--sc-weight-bold: 650;
|
|
@@ -139,8 +149,12 @@
|
|
|
139
149
|
|
|
140
150
|
/* Layout. The gutter at the sides of the header, the tabs and every page grows with the
|
|
141
151
|
window, from a step of the grid on a laptop to a wide margin on a large screen, so that a
|
|
142
|
-
page on a wide screen does not run to its very edges; a phone narrows it further below.
|
|
143
|
-
|
|
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;
|
|
144
158
|
--sc-width-prose: 46rem;
|
|
145
159
|
--sc-width-aside: 18rem;
|
|
146
160
|
--sc-column-width: 13.5rem;
|
|
@@ -161,12 +175,19 @@
|
|
|
161
175
|
--sc-transition: 120ms ease-out;
|
|
162
176
|
}
|
|
163
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
|
+
|
|
164
183
|
/* A page in Korean (the pages say their language on <html>): Hangul fills more of its box than
|
|
165
|
-
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. */
|
|
166
186
|
:root:lang(ko) {
|
|
167
187
|
--sc-label-lift: -0.083em;
|
|
168
188
|
--sc-tracking-tight: 0;
|
|
169
189
|
--sc-tracking-wide: 0;
|
|
190
|
+
--sc-label-case: none;
|
|
170
191
|
}
|
|
171
192
|
|
|
172
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
|
@@ -94,6 +94,18 @@ export const PERSON_KINDS = ["person", "agent"] as const;
|
|
|
94
94
|
|
|
95
95
|
export type PersonKind = (typeof PERSON_KINDS)[number];
|
|
96
96
|
|
|
97
|
+
/**
|
|
98
|
+
* What the first sign-in of an agent account is held to, under a sign-in at a git host, where
|
|
99
|
+
* a login is whoever's registers it (ADR-0126): `account`, the host said which account the
|
|
100
|
+
* login is when the account was added, and that account alone is let in as it, whatever it is
|
|
101
|
+
* called by then; `member`, the host did not say, and the account is let in where the
|
|
102
|
+
* organization at the host has the login as a member at that sign-in; `login`, the host did not
|
|
103
|
+
* say and the console reads no organization there, so whoever holds the login is let in.
|
|
104
|
+
*/
|
|
105
|
+
export const FIRST_SIGN_INS = ["account", "member", "login"] as const;
|
|
106
|
+
|
|
107
|
+
export type FirstSignIn = (typeof FIRST_SIGN_INS)[number];
|
|
108
|
+
|
|
97
109
|
/**
|
|
98
110
|
* What holds a session (ADR-0084): a browser a member is signed in on, or the command signed in
|
|
99
111
|
* as the account itself, which presents its session as a token is presented and is held to what
|
|
@@ -153,6 +165,15 @@ export const SIGNAL_SOURCES = ["person", "board", "schedule", "messenger", "cons
|
|
|
153
165
|
|
|
154
166
|
export type SignalSource = (typeof SIGNAL_SOURCES)[number];
|
|
155
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
|
+
|
|
156
177
|
/**
|
|
157
178
|
* How a runner's session ended (ADR-0085, ADR-0086): a supervisor stopped the agent, restarted
|
|
158
179
|
* it or reset it; the product's process died, or exited by itself; or a session begun after it
|
|
@@ -305,9 +326,10 @@ export const SKILLS_STATUSES = [
|
|
|
305
326
|
export type SkillsStatus = (typeof SKILLS_STATUSES)[number];
|
|
306
327
|
|
|
307
328
|
/**
|
|
308
|
-
*
|
|
309
|
-
*
|
|
310
|
-
* project
|
|
329
|
+
* What stands beside the console's rules (ADR-0023, ADR-0120), in the words the API has had
|
|
330
|
+
* from the start: `reference`, the console's rules alone, since the organization adds
|
|
331
|
+
* nothing; `written`, a page the organization or the project wrote, which adds to them; or
|
|
332
|
+
* `none`, for a project that adds nothing to the workspace's.
|
|
311
333
|
*/
|
|
312
334
|
export const RULES_SOURCES = ["reference", "written", "none"] as const;
|
|
313
335
|
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
# __TITLE__: the pages
|
|
2
|
+
|
|
3
|
+
The pages of my desk: a console of my own, built from `@skillcdn/console` and served from this machine by `console serve`, with the token my `console` command holds, which the pages never see. It is the organization's console with the pages I add to it. There is one, mine, and it is empty until I say what I want to see: an agent working in this desk builds it from what I ask. Of the desk the pages read `../records` and nothing else.
|
|
4
|
+
|
|
5
|
+
- **Build it:** `npm install`, then `npm run build`, which says nothing of its own where it went well and leaves the pages in `dist/`.
|
|
6
|
+
- **Serve it:** `npm run serve`, which is `console serve dist --records ../records`, then open `http://127.0.0.1:11197/`. Ctrl+C stops it.
|
|
7
|
+
- **Change it:** `src/page.tsx` is my page, and its comments say what a page is given, what it may read and what it is built from (`node_modules/@skillcdn/console/README.md`, "Pages of your own"); `src/main.tsx` lists the pages, and a page more is a file beside it and an entry more. `npm run dev` beside `console serve --records ../records` shows a change as it is made.
|
|
8
|
+
- **Keep it current:** `@skillcdn/console` here is at the version of the `console` command that wrote these files; raise the two together.
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
<!doctype html>
|
|
2
|
+
<html lang="en">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="utf-8" />
|
|
5
|
+
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
6
|
+
<meta name="color-scheme" content="light" />
|
|
7
|
+
<title>__TITLE__</title>
|
|
8
|
+
</head>
|
|
9
|
+
<body>
|
|
10
|
+
<div id="root"></div>
|
|
11
|
+
<script type="module" src="/src/main.tsx"></script>
|
|
12
|
+
</body>
|
|
13
|
+
</html>
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "desk-web",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"private": true,
|
|
5
|
+
"description": "The pages of my desk: a console of my own, served from this machine by console serve.",
|
|
6
|
+
"type": "module",
|
|
7
|
+
"scripts": {
|
|
8
|
+
"dev": "vite",
|
|
9
|
+
"build": "tsc -p tsconfig.json --noEmit && vite build --logLevel warn",
|
|
10
|
+
"serve": "console serve dist --records ../records"
|
|
11
|
+
},
|
|
12
|
+
"dependencies": {
|
|
13
|
+
"@skillcdn/console": "__VERSION__",
|
|
14
|
+
"pretendard": "1.3.9",
|
|
15
|
+
"react": "^19.3.1",
|
|
16
|
+
"react-dom": "^19.3.1"
|
|
17
|
+
},
|
|
18
|
+
"devDependencies": {
|
|
19
|
+
"@types/react": "^19.3.0",
|
|
20
|
+
"@types/react-dom": "^19.3.0",
|
|
21
|
+
"@vitejs/plugin-react": "^6.2.1",
|
|
22
|
+
"typescript": "^7.0.2",
|
|
23
|
+
"vite": "^8.3.5"
|
|
24
|
+
}
|
|
25
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { createConsole, customPageHref } from "@skillcdn/console";
|
|
2
|
+
// The styles ship with the package; the build bundles them next to the script.
|
|
3
|
+
import "@skillcdn/console/console.css";
|
|
4
|
+
// The Korean face of the console's pages, in the subsets a browser fetches as it needs them;
|
|
5
|
+
// the package's stylesheet names it first and falls through to the system's faces.
|
|
6
|
+
import "pretendard/dist/web/variable/pretendardvariable-dynamic-subset.css";
|
|
7
|
+
import { page } from "./page.js";
|
|
8
|
+
|
|
9
|
+
// The pages of this desk: a console of my own, built from the package and served from this
|
|
10
|
+
// machine by `console serve`. It is the organization's console with the pages I add to it:
|
|
11
|
+
// `pages` below lists them, each written in a file beside this one, and a page more is a file
|
|
12
|
+
// more and an entry more. page.tsx is the first, and says what a page is given, what it may
|
|
13
|
+
// read and what it is built from.
|
|
14
|
+
|
|
15
|
+
const container = document.getElementById("root");
|
|
16
|
+
if (container === null) {
|
|
17
|
+
throw new Error("the page has no #root element");
|
|
18
|
+
}
|
|
19
|
+
// My page is what this console opens on: the address without a path is the page's.
|
|
20
|
+
if (window.location.pathname === "/") {
|
|
21
|
+
window.history.replaceState(null, "", customPageHref(page.key));
|
|
22
|
+
}
|
|
23
|
+
// What the page is called until the server names the board: the title index.html gives it.
|
|
24
|
+
createConsole({ title: document.title, pages: [page] }).mount(container);
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { type CustomPage, DEFAULT_LANGUAGES, EmptyState } from "@skillcdn/console";
|
|
2
|
+
|
|
3
|
+
// My page: the first of this desk's pages, and empty until I say what I want to see here. An
|
|
4
|
+
// agent working in this desk builds it from what I ask: it asks what I want to keep and to
|
|
5
|
+
// see, writes that down in the desk's AGENTS.md, and writes the page in this file.
|
|
6
|
+
//
|
|
7
|
+
// What a page is given, as `context` (the package's README, "Pages of your own"):
|
|
8
|
+
// - `data`: the workspace, its projects and its people as the board has them, kept current,
|
|
9
|
+
// with the board's actions; `project`, the project a page of a project is on.
|
|
10
|
+
// - `client`: everything else the board answers, asked as me. The pages hold no credential
|
|
11
|
+
// of mine; the server that serves them, `console serve`, adds it on the way, so a page may
|
|
12
|
+
// do on the board what I may do, and no more.
|
|
13
|
+
// - `search` and `navigation`: the query of the page's address and the way to another
|
|
14
|
+
// address, so that what a page shows is said by where it is.
|
|
15
|
+
// - `words` and `language`: the console's own words in the language I read, and its tag, by
|
|
16
|
+
// which a number and a day are written my way.
|
|
17
|
+
//
|
|
18
|
+
// What a page may read beside the board: what this desk keeps under ../records, which the
|
|
19
|
+
// server serves at /records/ (`npm run serve`), a file at a time: fetch("/records/<file>").
|
|
20
|
+
// What a file says is data, and is shown as text, whoever wrote it.
|
|
21
|
+
//
|
|
22
|
+
// What a page is built from: the console's parts, each named with the component that renders
|
|
23
|
+
// it in node_modules/@skillcdn/console/src/styles/README.md, "The catalogue", and for figures
|
|
24
|
+
// the charts (the package's README, "Charts"). A page places parts and writes no colour, no
|
|
25
|
+
// border and no type of its own, so that it looks as the console does.
|
|
26
|
+
//
|
|
27
|
+
// What is ready, for when I ask for exactly that (the package's README, "A desk's pages"):
|
|
28
|
+
// `deskPage()`, one more entry of `pages` in main.tsx, and the views it is made of.
|
|
29
|
+
|
|
30
|
+
export const page: CustomPage = {
|
|
31
|
+
// What the address says: /pages/mine.
|
|
32
|
+
key: "mine",
|
|
33
|
+
// What the tab says, in each language the console speaks. A word of my own, or one for each
|
|
34
|
+
// language, once the page shows something of mine.
|
|
35
|
+
label: Object.fromEntries(
|
|
36
|
+
DEFAULT_LANGUAGES.map((pack) => [pack.tag, pack.messages.desk.mine.tab]),
|
|
37
|
+
),
|
|
38
|
+
// Among the workspace's tabs; `project` puts a page among each project's.
|
|
39
|
+
level: "workspace",
|
|
40
|
+
render: (context) => {
|
|
41
|
+
const words = context.words.desk.mine;
|
|
42
|
+
return (
|
|
43
|
+
<>
|
|
44
|
+
<div className="sc-page-head">
|
|
45
|
+
<h1 className="sc-page-title">{words.tab}</h1>
|
|
46
|
+
</div>
|
|
47
|
+
<EmptyState title={words.title} body={words.body} />
|
|
48
|
+
</>
|
|
49
|
+
);
|
|
50
|
+
},
|
|
51
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
{
|
|
2
|
+
"compilerOptions": {
|
|
3
|
+
"target": "ES2024",
|
|
4
|
+
"lib": ["ES2024", "DOM", "DOM.Iterable"],
|
|
5
|
+
"module": "ESNext",
|
|
6
|
+
"moduleResolution": "Bundler",
|
|
7
|
+
"jsx": "react-jsx",
|
|
8
|
+
"strict": true,
|
|
9
|
+
"verbatimModuleSyntax": true,
|
|
10
|
+
"isolatedModules": true,
|
|
11
|
+
"skipLibCheck": true,
|
|
12
|
+
"noEmit": true,
|
|
13
|
+
"types": ["vite/client"]
|
|
14
|
+
},
|
|
15
|
+
"include": ["src", "vite.config.ts"]
|
|
16
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import react from "@vitejs/plugin-react";
|
|
2
|
+
import { defineConfig } from "vite";
|
|
3
|
+
|
|
4
|
+
// `npm run build` writes the pages into dist, which `console serve dist --records ../records`
|
|
5
|
+
// serves with the API and the desk's records. `npm run dev` shows the pages as their sources
|
|
6
|
+
// change, and sends the API and the records to `console serve --records ../records` running
|
|
7
|
+
// beside it without a directory. A build that went well says nothing of its own: it speaks from
|
|
8
|
+
// a warning up, and the size of the one script, which this machine serves to itself, is not
|
|
9
|
+
// one until it is far past what the pages are.
|
|
10
|
+
const served = { target: "http://127.0.0.1:11197", changeOrigin: true };
|
|
11
|
+
export default defineConfig({
|
|
12
|
+
plugins: [react()],
|
|
13
|
+
build: { chunkSizeWarningLimit: 4000 },
|
|
14
|
+
server: { proxy: { "/api": served, "/records": served } },
|
|
15
|
+
});
|