@skillcdn/console 0.4.7 → 0.5.1
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 +74 -14
- package/SKILLCDN.md +5 -3
- package/dist/agent-page.d.ts +44 -0
- package/dist/agent-page.d.ts.map +1 -0
- package/dist/agent-page.js +415 -0
- package/dist/agent-page.js.map +1 -0
- package/dist/agent-stream.d.ts +52 -0
- package/dist/agent-stream.d.ts.map +1 -0
- package/dist/agent-stream.js +155 -0
- package/dist/agent-stream.js.map +1 -0
- package/dist/api.d.ts +12 -6
- package/dist/api.d.ts.map +1 -1
- package/dist/api.js +11 -5
- package/dist/api.js.map +1 -1
- package/dist/avatar.d.ts +137 -0
- package/dist/avatar.d.ts.map +1 -0
- package/dist/avatar.js +1216 -0
- package/dist/avatar.js.map +1 -0
- 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 +39 -1
- package/dist/cli/cli.d.ts.map +1 -1
- package/dist/cli/cli.js +2424 -296
- 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 +59 -5
- package/dist/cli/credentials.d.ts.map +1 -1
- package/dist/cli/credentials.js +128 -16
- 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 +91 -8
- package/dist/cli/format.d.ts.map +1 -1
- package/dist/cli/format.js +386 -57
- 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 +202 -62
- package/dist/cli/help.js.map +1 -1
- package/dist/cli/main.js +94 -0
- package/dist/cli/main.js.map +1 -1
- package/dist/cli/pack.d.ts +69 -36
- package/dist/cli/pack.d.ts.map +1 -1
- package/dist/cli/pack.js +241 -188
- 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 +36 -0
- package/dist/cli/runner-host.d.ts.map +1 -0
- package/dist/cli/runner-host.js +154 -0
- package/dist/cli/runner-host.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 +275 -6
- package/dist/cli/serve.js.map +1 -1
- package/dist/cli/setup-machine.d.ts +36 -0
- package/dist/cli/setup-machine.d.ts.map +1 -0
- package/dist/cli/setup-machine.js +109 -0
- package/dist/cli/setup-machine.js.map +1 -0
- package/dist/client.d.ts +189 -10
- package/dist/client.d.ts.map +1 -1
- package/dist/client.js +192 -57
- package/dist/client.js.map +1 -1
- package/dist/compat.d.ts +1 -1
- package/dist/compat.js +2 -2
- package/dist/components/agent-page.d.ts +384 -0
- package/dist/components/agent-page.d.ts.map +1 -0
- package/dist/components/agent-page.js +985 -0
- package/dist/components/agent-page.js.map +1 -0
- package/dist/components/agents.d.ts +102 -0
- package/dist/components/agents.d.ts.map +1 -0
- package/dist/components/agents.js +246 -0
- package/dist/components/agents.js.map +1 -0
- package/dist/components/calendar.d.ts +17 -17
- package/dist/components/calendar.d.ts.map +1 -1
- package/dist/components/calendar.js +7 -2
- package/dist/components/calendar.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/comments.d.ts +2 -0
- package/dist/components/comments.d.ts.map +1 -1
- package/dist/components/comments.js +1 -1
- package/dist/components/comments.js.map +1 -1
- package/dist/components/connect.d.ts.map +1 -1
- package/dist/components/connect.js +7 -2
- package/dist/components/connect.js.map +1 -1
- package/dist/components/decision-form.d.ts +21 -0
- package/dist/components/decision-form.d.ts.map +1 -1
- package/dist/components/decision-form.js +20 -6
- package/dist/components/decision-form.js.map +1 -1
- package/dist/components/decision-list.d.ts +24 -0
- package/dist/components/decision-list.d.ts.map +1 -1
- package/dist/components/decision-list.js +54 -5
- 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 +26 -1
- package/dist/components/event-feed.js.map +1 -1
- package/dist/components/home.d.ts +12 -1
- package/dist/components/home.d.ts.map +1 -1
- package/dist/components/home.js +175 -16
- package/dist/components/home.js.map +1 -1
- package/dist/components/my-decisions.d.ts +5 -0
- package/dist/components/my-decisions.d.ts.map +1 -1
- package/dist/components/my-decisions.js +3 -3
- package/dist/components/my-decisions.js.map +1 -1
- package/dist/components/people.d.ts +17 -0
- package/dist/components/people.d.ts.map +1 -1
- package/dist/components/people.js +55 -19
- package/dist/components/people.js.map +1 -1
- package/dist/components/picker.d.ts +2 -0
- package/dist/components/picker.d.ts.map +1 -1
- package/dist/components/picker.js +1 -1
- package/dist/components/picker.js.map +1 -1
- package/dist/components/pictures.d.ts +38 -10
- package/dist/components/pictures.d.ts.map +1 -1
- package/dist/components/pictures.js +195 -40
- package/dist/components/pictures.js.map +1 -1
- package/dist/components/plugin-events.d.ts +29 -0
- package/dist/components/plugin-events.d.ts.map +1 -0
- package/dist/components/plugin-events.js +139 -0
- package/dist/components/plugin-events.js.map +1 -0
- package/dist/components/plugin-frame.d.ts.map +1 -1
- package/dist/components/plugin-frame.js +14 -37
- 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 +58 -7
- package/dist/components/plugin-settings.js.map +1 -1
- package/dist/components/projects.d.ts.map +1 -1
- package/dist/components/projects.js +30 -10
- 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 +36 -14
- package/dist/components/rules.js.map +1 -1
- package/dist/components/sessions.d.ts.map +1 -1
- package/dist/components/sessions.js +8 -4
- package/dist/components/sessions.js.map +1 -1
- package/dist/components/setup.d.ts +59 -0
- package/dist/components/setup.d.ts.map +1 -0
- package/dist/components/setup.js +93 -0
- package/dist/components/setup.js.map +1 -0
- package/dist/components/sign-in.js +1 -1
- package/dist/components/sign-in.js.map +1 -1
- package/dist/components/task-form.d.ts.map +1 -1
- package/dist/components/task-form.js +2 -2
- package/dist/components/task-form.js.map +1 -1
- package/dist/components/task-list.d.ts +7 -6
- package/dist/components/task-list.d.ts.map +1 -1
- package/dist/components/task-list.js.map +1 -1
- package/dist/components/task-view.d.ts +3 -0
- package/dist/components/task-view.d.ts.map +1 -1
- package/dist/components/task-view.js +1 -1
- package/dist/components/task-view.js.map +1 -1
- package/dist/components/ui.d.ts +78 -8
- package/dist/components/ui.d.ts.map +1 -1
- package/dist/components/ui.js +88 -9
- package/dist/components/ui.js.map +1 -1
- package/dist/components/work.d.ts +5 -5
- package/dist/components/work.d.ts.map +1 -1
- package/dist/components/work.js.map +1 -1
- package/dist/components/workspace.d.ts +17 -0
- package/dist/components/workspace.d.ts.map +1 -1
- package/dist/components/workspace.js +129 -2
- package/dist/components/workspace.js.map +1 -1
- package/dist/connect-page.d.ts.map +1 -1
- package/dist/connect-page.js +5 -2
- package/dist/connect-page.js.map +1 -1
- package/dist/console.css +7551 -4580
- package/dist/console.d.ts +20 -0
- package/dist/console.d.ts.map +1 -1
- package/dist/console.js +331 -57
- package/dist/console.js.map +1 -1
- package/dist/data.d.ts +22 -1
- package/dist/data.d.ts.map +1 -1
- package/dist/data.js +62 -34
- 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/glances.d.ts +39 -0
- package/dist/glances.d.ts.map +1 -0
- package/dist/glances.js +94 -0
- package/dist/glances.js.map +1 -0
- package/dist/home-tiles.d.ts +69 -5
- package/dist/home-tiles.d.ts.map +1 -1
- package/dist/home-tiles.js +347 -9
- package/dist/home-tiles.js.map +1 -1
- package/dist/i18n/en.d.ts +773 -3
- package/dist/i18n/en.d.ts.map +1 -1
- package/dist/i18n/en.js +770 -9
- package/dist/i18n/en.js.map +1 -1
- package/dist/i18n/ko.d.ts.map +1 -1
- package/dist/i18n/ko.js +736 -9
- package/dist/i18n/ko.js.map +1 -1
- package/dist/index.d.ts +19 -7
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +17 -5
- package/dist/index.js.map +1 -1
- package/dist/limits.d.ts +67 -0
- package/dist/limits.d.ts.map +1 -1
- package/dist/limits.js +67 -0
- package/dist/limits.js.map +1 -1
- package/dist/onboarding.d.ts +21 -0
- package/dist/onboarding.d.ts.map +1 -0
- package/dist/onboarding.js +43 -0
- package/dist/onboarding.js.map +1 -0
- package/dist/persona.d.ts +34 -0
- package/dist/persona.d.ts.map +1 -0
- package/dist/persona.js +71 -0
- package/dist/persona.js.map +1 -0
- 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 +34 -4
- package/dist/plugin/manifest.js.map +1 -1
- package/dist/plugin/rest-schemas.d.ts +56 -0
- package/dist/plugin/rest-schemas.d.ts.map +1 -1
- package/dist/plugin/rest-schemas.js +42 -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.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/router.d.ts +50 -3
- package/dist/router.d.ts.map +1 -1
- package/dist/router.js +78 -7
- package/dist/router.js.map +1 -1
- package/dist/routes.d.ts +12 -2
- package/dist/routes.d.ts.map +1 -1
- package/dist/routes.js +14 -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 +99 -42
- package/dist/rules.js.map +1 -1
- package/dist/runner/acp.d.ts +20 -0
- package/dist/runner/acp.d.ts.map +1 -0
- package/dist/runner/acp.js +1132 -0
- package/dist/runner/acp.js.map +1 -0
- package/dist/runner/claude.d.ts +13 -0
- package/dist/runner/claude.d.ts.map +1 -0
- package/dist/runner/claude.js +615 -0
- package/dist/runner/claude.js.map +1 -0
- package/dist/runner/codex.d.ts +19 -0
- package/dist/runner/codex.d.ts.map +1 -0
- package/dist/runner/codex.js +597 -0
- package/dist/runner/codex.js.map +1 -0
- package/dist/runner/config.d.ts +35 -0
- package/dist/runner/config.d.ts.map +1 -0
- package/dist/runner/config.js +74 -0
- package/dist/runner/config.js.map +1 -0
- package/dist/runner/desk.d.ts +81 -0
- package/dist/runner/desk.d.ts.map +1 -0
- package/dist/runner/desk.js +303 -0
- package/dist/runner/desk.js.map +1 -0
- package/dist/runner/launchd.d.ts +7 -0
- package/dist/runner/launchd.d.ts.map +1 -0
- package/dist/runner/launchd.js +78 -0
- package/dist/runner/launchd.js.map +1 -0
- package/dist/runner/message.d.ts +66 -0
- package/dist/runner/message.d.ts.map +1 -0
- package/dist/runner/message.js +181 -0
- package/dist/runner/message.js.map +1 -0
- package/dist/runner/modules.d.ts +13 -0
- package/dist/runner/modules.d.ts.map +1 -0
- package/dist/runner/modules.js +30 -0
- package/dist/runner/modules.js.map +1 -0
- package/dist/runner/process.d.ts +7 -0
- package/dist/runner/process.d.ts.map +1 -0
- package/dist/runner/process.js +65 -0
- package/dist/runner/process.js.map +1 -0
- package/dist/runner/redact.d.ts +48 -0
- package/dist/runner/redact.d.ts.map +1 -0
- package/dist/runner/redact.js +214 -0
- package/dist/runner/redact.js.map +1 -0
- package/dist/runner/registry.d.ts +37 -0
- package/dist/runner/registry.d.ts.map +1 -0
- package/dist/runner/registry.js +26 -0
- package/dist/runner/registry.js.map +1 -0
- package/dist/runner/runner.d.ts +130 -0
- package/dist/runner/runner.d.ts.map +1 -0
- package/dist/runner/runner.js +1551 -0
- package/dist/runner/runner.js.map +1 -0
- package/dist/runner/slack.d.ts +16 -0
- package/dist/runner/slack.d.ts.map +1 -0
- package/dist/runner/slack.js +157 -0
- package/dist/runner/slack.js.map +1 -0
- package/dist/runner/systemd-user.d.ts +7 -0
- package/dist/runner/systemd-user.d.ts.map +1 -0
- package/dist/runner/systemd-user.js +93 -0
- package/dist/runner/systemd-user.js.map +1 -0
- package/dist/runner/task-scheduler.d.ts +38 -0
- package/dist/runner/task-scheduler.d.ts.map +1 -0
- package/dist/runner/task-scheduler.js +216 -0
- package/dist/runner/task-scheduler.js.map +1 -0
- package/dist/runner/types.d.ts +315 -0
- package/dist/runner/types.d.ts.map +1 -0
- package/dist/runner/types.js +24 -0
- package/dist/runner/types.js.map +1 -0
- package/dist/runner.d.ts +18 -0
- package/dist/runner.d.ts.map +1 -0
- package/dist/runner.js +20 -0
- package/dist/runner.js.map +1 -0
- package/dist/schemas.d.ts +6082 -1295
- package/dist/schemas.d.ts.map +1 -1
- package/dist/schemas.js +930 -31
- package/dist/schemas.js.map +1 -1
- package/dist/services.d.ts +110 -0
- package/dist/services.d.ts.map +1 -0
- package/dist/services.js +305 -0
- package/dist/services.js.map +1 -0
- package/dist/setup-guide.d.ts +64 -0
- package/dist/setup-guide.d.ts.map +1 -0
- package/dist/setup-guide.js +256 -0
- package/dist/setup-guide.js.map +1 -0
- package/dist/setup-page.d.ts +6 -0
- package/dist/setup-page.d.ts.map +1 -0
- package/dist/setup-page.js +29 -0
- package/dist/setup-page.js.map +1 -0
- package/dist/sse.d.ts +15 -0
- package/dist/sse.d.ts.map +1 -0
- package/dist/sse.js +73 -0
- package/dist/sse.js.map +1 -0
- package/dist/tab-title.d.ts +6 -0
- package/dist/tab-title.d.ts.map +1 -0
- package/dist/tab-title.js +22 -0
- package/dist/tab-title.js.map +1 -0
- package/dist/tokens.d.ts.map +1 -1
- package/dist/tokens.js +3 -0
- package/dist/tokens.js.map +1 -1
- package/dist/use-action.d.ts +5 -2
- package/dist/use-action.d.ts.map +1 -1
- package/dist/use-action.js +6 -1
- package/dist/use-action.js.map +1 -1
- package/dist/vocabulary.d.ts +84 -4
- package/dist/vocabulary.d.ts.map +1 -1
- package/dist/vocabulary.js +115 -3
- package/dist/vocabulary.js.map +1 -1
- package/docs/specs/cli.md +147 -41
- package/docs/specs/plugins.md +37 -27
- package/docs/specs/records.md +113 -0
- package/docs/specs/rest.md +155 -20
- package/docs/specs/runner.md +347 -0
- package/package.json +12 -3
- package/skills/building-a-console/SKILL.md +4 -4
- package/skills/building-a-console/references/configuring.md +1 -0
- package/skills/building-a-plugin/SKILL.md +7 -7
- package/skills/deploying-a-console/SKILL.md +4 -4
- package/skills/deploying-a-console/references/resources.md +48 -8
- 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 +22 -9
- package/skills/running-an-agent/SKILL.md +107 -0
- package/skills/running-an-agent/references/slack-app.md +61 -0
- package/skills/working-the-board/SKILL.md +66 -39
- package/skills/working-the-board/references/terms.md +9 -5
- package/skills/working-the-board/references/the-pack.md +14 -9
- package/skills/working-the-board/references/the-sentence.md +2 -2
- package/src/agent-page.tsx +1039 -0
- package/src/agent-stream.ts +199 -0
- package/src/api.ts +317 -2
- package/src/avatar.ts +1506 -0
- package/src/charts.ts +250 -0
- package/src/cli/cli.ts +3210 -503
- package/src/cli/command-words.ts +56 -0
- package/src/cli/credentials.ts +188 -16
- package/src/cli/directory.ts +28 -10
- package/src/cli/format.ts +470 -67
- package/src/cli/help.ts +233 -61
- package/src/cli/main.ts +89 -0
- package/src/cli/pack.ts +332 -263
- 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 +188 -0
- package/src/cli/serve.ts +320 -5
- package/src/cli/setup-machine.ts +153 -0
- package/src/client.ts +711 -126
- package/src/compat.ts +2 -2
- package/src/components/agent-page.tsx +1946 -0
- package/src/components/agents.tsx +638 -0
- package/src/components/calendar.tsx +74 -53
- package/src/components/charts.tsx +680 -0
- package/src/components/comments.tsx +3 -0
- package/src/components/connect.tsx +37 -2
- package/src/components/decision-form.tsx +89 -51
- package/src/components/decision-list.tsx +140 -4
- package/src/components/desk-records.tsx +724 -0
- package/src/components/desk.tsx +471 -0
- package/src/components/event-feed.tsx +30 -1
- package/src/components/home.tsx +353 -12
- package/src/components/my-decisions.tsx +8 -2
- package/src/components/people.tsx +300 -203
- package/src/components/picker.tsx +3 -1
- package/src/components/pictures.tsx +256 -44
- package/src/components/plugin-events.ts +159 -0
- package/src/components/plugin-frame.tsx +14 -38
- package/src/components/plugin-settings.tsx +178 -22
- package/src/components/projects.tsx +33 -15
- package/src/components/rules.tsx +96 -36
- package/src/components/sessions.tsx +7 -4
- package/src/components/setup.tsx +252 -0
- package/src/components/sign-in.tsx +1 -1
- package/src/components/task-form.tsx +11 -2
- package/src/components/task-list.tsx +7 -6
- package/src/components/task-view.tsx +4 -0
- package/src/components/ui.tsx +169 -25
- package/src/components/work.tsx +9 -9
- package/src/components/workspace.tsx +345 -4
- package/src/connect-page.tsx +15 -2
- package/src/console.tsx +657 -83
- package/src/data.ts +109 -43
- 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/glances.ts +132 -0
- package/src/home-tiles.ts +411 -9
- package/src/i18n/en.ts +828 -10
- package/src/i18n/ko.ts +792 -10
- package/src/index.ts +172 -3
- package/src/limits.ts +67 -0
- package/src/onboarding.ts +84 -0
- package/src/persona.ts +100 -0
- package/src/plugin/context.ts +55 -12
- package/src/plugin/limits.ts +2 -0
- package/src/plugin/manifest.ts +42 -3
- package/src/plugin/rest-schemas.ts +46 -0
- package/src/plugin/sandbox.ts +4 -1
- package/src/plugin/testing.ts +63 -12
- package/src/plugin.ts +2 -0
- package/src/records.ts +702 -0
- package/src/router.ts +120 -10
- package/src/routes.ts +17 -1
- package/src/rules.ts +109 -44
- package/src/runner/acp.ts +1267 -0
- package/src/runner/claude.ts +695 -0
- package/src/runner/codex.ts +691 -0
- package/src/runner/config.ts +97 -0
- package/src/runner/desk.ts +377 -0
- package/src/runner/launchd.ts +86 -0
- package/src/runner/message.ts +232 -0
- package/src/runner/modules.ts +30 -0
- package/src/runner/process.ts +72 -0
- package/src/runner/redact.ts +242 -0
- package/src/runner/registry.ts +67 -0
- package/src/runner/runner.ts +1879 -0
- package/src/runner/slack.ts +180 -0
- package/src/runner/systemd-user.ts +103 -0
- package/src/runner/task-scheduler.ts +236 -0
- package/src/runner/types.ts +334 -0
- package/src/runner.ts +110 -0
- package/src/schemas.ts +1183 -30
- package/src/services.ts +424 -0
- package/src/setup-guide.ts +336 -0
- package/src/setup-page.tsx +46 -0
- package/src/sse.ts +84 -0
- package/src/styles/README.md +111 -0
- package/src/styles/base.css +130 -0
- package/src/styles/console.css +85 -7095
- package/src/styles/drawn-by-pages.json +256 -0
- package/src/styles/pages/agents.css +1195 -0
- package/src/styles/pages/board.css +380 -0
- package/src/styles/pages/calendar.css +214 -0
- package/src/styles/pages/connect.css +182 -0
- package/src/styles/pages/decisions.css +370 -0
- package/src/styles/pages/desk.css +126 -0
- package/src/styles/pages/documents.css +273 -0
- package/src/styles/pages/feed.css +118 -0
- package/src/styles/pages/home.css +718 -0
- package/src/styles/pages/people.css +90 -0
- package/src/styles/pages/plugins.css +212 -0
- package/src/styles/pages/roadmap.css +377 -0
- package/src/styles/pages/settings.css +171 -0
- package/src/styles/pages/shell.css +208 -0
- package/src/styles/pages/sign-in.css +178 -0
- package/src/styles/pages/task.css +108 -0
- package/src/styles/pages/thread.css +331 -0
- package/src/styles/pages/work.css +68 -0
- package/src/styles/parts/avatar.css +82 -0
- package/src/styles/parts/badge.css +227 -0
- package/src/styles/parts/bars.css +80 -0
- package/src/styles/parts/button.css +99 -0
- package/src/styles/parts/calendar.css +547 -0
- package/src/styles/parts/callout.css +41 -0
- package/src/styles/parts/category.css +8 -0
- package/src/styles/parts/chart.css +173 -0
- package/src/styles/parts/chip.css +90 -0
- package/src/styles/parts/code.css +48 -0
- package/src/styles/parts/count.css +27 -0
- package/src/styles/parts/crumbs.css +61 -0
- package/src/styles/parts/detail.css +110 -0
- package/src/styles/parts/empty.css +21 -0
- package/src/styles/parts/eyebrow.css +9 -0
- package/src/styles/parts/facts.css +147 -0
- package/src/styles/parts/figures.css +65 -0
- package/src/styles/parts/files.css +38 -0
- package/src/styles/parts/filters.css +42 -0
- package/src/styles/parts/form.css +109 -0
- package/src/styles/parts/frame.css +45 -0
- package/src/styles/parts/input.css +243 -0
- package/src/styles/parts/legend.css +48 -0
- package/src/styles/parts/links.css +37 -0
- package/src/styles/parts/mark.css +79 -0
- package/src/styles/parts/menu.css +147 -0
- package/src/styles/parts/page.css +174 -0
- package/src/styles/parts/pager.css +19 -0
- package/src/styles/parts/panel.css +33 -0
- package/src/styles/parts/person.css +257 -0
- package/src/styles/parts/picker.css +185 -0
- package/src/styles/parts/progress.css +25 -0
- package/src/styles/parts/prose.css +128 -0
- package/src/styles/parts/rows.css +63 -0
- package/src/styles/parts/series.css +32 -0
- package/src/styles/parts/settings.css +101 -0
- package/src/styles/parts/share.css +25 -0
- package/src/styles/parts/spark.css +23 -0
- package/src/styles/parts/spinner.css +29 -0
- package/src/styles/parts/stat.css +69 -0
- package/src/styles/parts/steps.css +68 -0
- package/src/styles/parts/tabs.css +175 -0
- package/src/styles/parts/text.css +61 -0
- package/src/styles/parts/toggle.css +71 -0
- package/src/styles/parts/workers.css +37 -0
- package/src/styles/tokens.css +295 -0
- package/src/tab-title.ts +25 -0
- package/src/tokens.ts +3 -0
- package/src/use-action.ts +7 -2
- package/src/vocabulary.ts +151 -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
|
@@ -0,0 +1,182 @@
|
|
|
1
|
+
/* Sources: components/connect.tsx, connect-page.tsx, components/tokens.tsx, components/sessions.tsx, tokens.ts */
|
|
2
|
+
|
|
3
|
+
/* A sheet: a surface inside a pane, or a row of a list, with no blur of its own. */
|
|
4
|
+
.sc-token {
|
|
5
|
+
border: var(--sc-border);
|
|
6
|
+
background: var(--sc-color-sheet);
|
|
7
|
+
box-shadow: var(--sc-shadow-sheet);
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
/* Agents: the tokens a person holds, and the one just made, shown once. */
|
|
11
|
+
|
|
12
|
+
.sc-token-list {
|
|
13
|
+
display: grid;
|
|
14
|
+
gap: var(--sc-space-3);
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.sc-token {
|
|
18
|
+
display: flex;
|
|
19
|
+
flex-wrap: wrap;
|
|
20
|
+
align-items: center;
|
|
21
|
+
justify-content: space-between;
|
|
22
|
+
gap: var(--sc-space-3);
|
|
23
|
+
padding: var(--sc-space-4);
|
|
24
|
+
border-radius: var(--sc-radius-lg);
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.sc-token-name {
|
|
28
|
+
font-weight: var(--sc-weight-medium);
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.sc-token-meta {
|
|
32
|
+
display: flex;
|
|
33
|
+
flex-wrap: wrap;
|
|
34
|
+
gap: var(--sc-space-1) var(--sc-space-3);
|
|
35
|
+
margin-top: var(--sc-space-1);
|
|
36
|
+
color: var(--sc-color-text-muted);
|
|
37
|
+
font-size: var(--sc-text-sm);
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.sc-token-meta > span {
|
|
41
|
+
display: inline-flex;
|
|
42
|
+
flex-wrap: wrap;
|
|
43
|
+
align-items: center;
|
|
44
|
+
gap: var(--sc-space-1);
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
.sc-token-meta > span + span {
|
|
48
|
+
padding-inline-start: var(--sc-space-3);
|
|
49
|
+
border-inline-start: var(--sc-hairline);
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.sc-secret {
|
|
53
|
+
display: flex;
|
|
54
|
+
flex-wrap: wrap;
|
|
55
|
+
align-items: center;
|
|
56
|
+
gap: var(--sc-space-2);
|
|
57
|
+
margin: var(--sc-space-3) 0;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
.sc-secret-value {
|
|
61
|
+
padding: var(--sc-space-2) var(--sc-space-3);
|
|
62
|
+
border: var(--sc-border);
|
|
63
|
+
border-radius: var(--sc-radius-sm);
|
|
64
|
+
background: var(--sc-color-bg-inset);
|
|
65
|
+
font-size: var(--sc-text-sm);
|
|
66
|
+
word-break: break-all;
|
|
67
|
+
user-select: all;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
/* The sessions (board #309): a row for each browser in the panel, parted by hairlines, a screen or
|
|
71
|
+
a phone drawn before it, the current one in the accent; what it is first, then when it was
|
|
72
|
+
last used, where from and the day it signed in, in the small type of a row's facts. */
|
|
73
|
+
.sc-session-list {
|
|
74
|
+
margin: var(--sc-space-4) 0 0;
|
|
75
|
+
padding: 0;
|
|
76
|
+
list-style: none;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
.sc-session {
|
|
80
|
+
display: flex;
|
|
81
|
+
align-items: center;
|
|
82
|
+
gap: var(--sc-space-3);
|
|
83
|
+
padding-block: var(--sc-space-3);
|
|
84
|
+
border-top: var(--sc-hairline);
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
.sc-session:last-child {
|
|
88
|
+
padding-bottom: 0;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
.sc-session-icon {
|
|
92
|
+
display: inline-flex;
|
|
93
|
+
flex: none;
|
|
94
|
+
align-items: center;
|
|
95
|
+
justify-content: center;
|
|
96
|
+
width: 2.25rem;
|
|
97
|
+
height: 2.25rem;
|
|
98
|
+
border-radius: var(--sc-radius-md);
|
|
99
|
+
background: var(--sc-color-bg-inset);
|
|
100
|
+
color: var(--sc-color-text-muted);
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
.sc-session-current .sc-session-icon {
|
|
104
|
+
background: var(--sc-color-accent-subtle);
|
|
105
|
+
color: var(--sc-color-accent);
|
|
106
|
+
}
|
|
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
|
+
.sc-session-body {
|
|
119
|
+
flex: 1;
|
|
120
|
+
min-width: 0;
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
.sc-session-name {
|
|
124
|
+
display: flex;
|
|
125
|
+
flex-wrap: wrap;
|
|
126
|
+
align-items: center;
|
|
127
|
+
gap: var(--sc-space-1) var(--sc-space-2);
|
|
128
|
+
font-weight: var(--sc-weight-medium);
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
.sc-session-meta {
|
|
132
|
+
display: flex;
|
|
133
|
+
flex-wrap: wrap;
|
|
134
|
+
gap: 0 var(--sc-space-2);
|
|
135
|
+
margin-top: 0.125rem;
|
|
136
|
+
color: var(--sc-color-text-faint);
|
|
137
|
+
font-size: var(--sc-text-xs);
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
.sc-session-meta > span {
|
|
141
|
+
white-space: nowrap;
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
.sc-session-meta > span + span {
|
|
145
|
+
padding-inline-start: var(--sc-space-2);
|
|
146
|
+
border-inline-start: var(--sc-hairline);
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
.sc-session-end {
|
|
150
|
+
flex: none;
|
|
151
|
+
align-self: center;
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
/* On a phone the facts of a row stand one under another, where a line has no room for them. */
|
|
155
|
+
@media (max-width: 40rem) {
|
|
156
|
+
.sc-session {
|
|
157
|
+
align-items: flex-start;
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
.sc-session-meta {
|
|
161
|
+
flex-direction: column;
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
.sc-session-meta > span {
|
|
165
|
+
white-space: normal;
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
.sc-session-meta > span + span {
|
|
169
|
+
padding-inline-start: 0;
|
|
170
|
+
border-inline-start: 0;
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
.sc-session-end {
|
|
174
|
+
align-self: flex-start;
|
|
175
|
+
}
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
.sc-connect {
|
|
179
|
+
display: grid;
|
|
180
|
+
gap: var(--sc-space-3);
|
|
181
|
+
margin-top: var(--sc-space-5);
|
|
182
|
+
}
|
|
@@ -0,0 +1,370 @@
|
|
|
1
|
+
/* Sources: components/decision-list.tsx, components/decision-form.tsx, components/my-decisions.tsx */
|
|
2
|
+
|
|
3
|
+
.sc-decisions > *,
|
|
4
|
+
.sc-decision > *,
|
|
5
|
+
.sc-decision-section > *,
|
|
6
|
+
.sc-answer > *,
|
|
7
|
+
.sc-answer-form > *,
|
|
8
|
+
.sc-address-form > * {
|
|
9
|
+
min-width: 0;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.sc-decision-label {
|
|
13
|
+
color: var(--sc-color-text-faint);
|
|
14
|
+
font-size: var(--sc-text-xs);
|
|
15
|
+
font-weight: var(--sc-weight-medium);
|
|
16
|
+
letter-spacing: var(--sc-tracking-wide);
|
|
17
|
+
text-transform: uppercase;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.sc-decision {
|
|
21
|
+
position: relative;
|
|
22
|
+
isolation: isolate;
|
|
23
|
+
border: 1px solid var(--sc-color-glass-edge);
|
|
24
|
+
background: var(--sc-glass-surface);
|
|
25
|
+
backdrop-filter: var(--sc-glass-backdrop);
|
|
26
|
+
box-shadow: var(--sc-glass-sheen), var(--sc-glass-lift);
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.sc-option,
|
|
30
|
+
.sc-answer {
|
|
31
|
+
border: var(--sc-border);
|
|
32
|
+
background: var(--sc-color-sheet);
|
|
33
|
+
box-shadow: var(--sc-shadow-sheet);
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.sc-options {
|
|
37
|
+
gap: var(--sc-space-2);
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.sc-options > .sc-button {
|
|
41
|
+
justify-self: start;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
/* Decisions: each a pane, the ones that wait marked in the point colour. */
|
|
45
|
+
|
|
46
|
+
.sc-decisions {
|
|
47
|
+
display: grid;
|
|
48
|
+
gap: var(--sc-space-6);
|
|
49
|
+
align-items: start;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
@media (min-width: 64rem) {
|
|
53
|
+
.sc-decisions {
|
|
54
|
+
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
/* A person's own decisions: the sections of what waits, stacked in the first column. */
|
|
59
|
+
.sc-decisions-waiting {
|
|
60
|
+
display: grid;
|
|
61
|
+
gap: var(--sc-space-6);
|
|
62
|
+
align-content: start;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
.sc-decision {
|
|
66
|
+
display: grid;
|
|
67
|
+
gap: var(--sc-space-3);
|
|
68
|
+
padding: var(--sc-space-5);
|
|
69
|
+
border-radius: var(--sc-radius-xl);
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
.sc-decision + .sc-decision {
|
|
73
|
+
margin-top: var(--sc-space-3);
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
.sc-decision-question {
|
|
77
|
+
font-size: var(--sc-text-lg);
|
|
78
|
+
overflow-wrap: anywhere;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
.sc-decision-question a {
|
|
82
|
+
color: var(--sc-color-text);
|
|
83
|
+
text-decoration: none;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
.sc-decision-question a:hover {
|
|
87
|
+
color: var(--sc-color-accent);
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
/* A waiting decision has a warm mark before its question: the one thing on the page to look at. */
|
|
91
|
+
.sc-decision:not(.sc-decision-answered) .sc-decision-question::before {
|
|
92
|
+
content: "";
|
|
93
|
+
display: inline-block;
|
|
94
|
+
width: 0.5rem;
|
|
95
|
+
height: 0.5rem;
|
|
96
|
+
margin-right: var(--sc-space-2);
|
|
97
|
+
border-radius: var(--sc-radius-full);
|
|
98
|
+
background: var(--sc-color-point);
|
|
99
|
+
vertical-align: 0.1em;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
.sc-decision-meta {
|
|
103
|
+
display: flex;
|
|
104
|
+
flex-wrap: wrap;
|
|
105
|
+
align-items: center;
|
|
106
|
+
gap: var(--sc-space-1) var(--sc-space-2);
|
|
107
|
+
margin-top: var(--sc-space-1);
|
|
108
|
+
color: var(--sc-color-text-muted);
|
|
109
|
+
font-size: var(--sc-text-sm);
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
/* The task a decision is about: a chip in the line, cut short where it is long. */
|
|
113
|
+
.sc-decision-meta > a {
|
|
114
|
+
display: inline-block;
|
|
115
|
+
max-width: 100%;
|
|
116
|
+
padding: 0 var(--sc-space-2);
|
|
117
|
+
border: var(--sc-border);
|
|
118
|
+
border-radius: var(--sc-radius-full);
|
|
119
|
+
background: var(--sc-color-sheet);
|
|
120
|
+
color: var(--sc-color-text);
|
|
121
|
+
font-size: var(--sc-text-xs);
|
|
122
|
+
font-weight: var(--sc-weight-medium);
|
|
123
|
+
line-height: 1.5rem;
|
|
124
|
+
text-decoration: none;
|
|
125
|
+
white-space: nowrap;
|
|
126
|
+
overflow: hidden;
|
|
127
|
+
text-overflow: ellipsis;
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
.sc-decision-meta > a:hover {
|
|
131
|
+
border-color: var(--sc-color-accent);
|
|
132
|
+
color: var(--sc-color-accent);
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
.sc-decision-waiting {
|
|
136
|
+
color: var(--sc-color-warning);
|
|
137
|
+
font-size: var(--sc-text-sm);
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
.sc-answer {
|
|
141
|
+
display: grid;
|
|
142
|
+
gap: var(--sc-space-1);
|
|
143
|
+
padding: var(--sc-space-3) var(--sc-space-4);
|
|
144
|
+
border-left: 2px solid var(--sc-color-accent);
|
|
145
|
+
border-radius: 0 var(--sc-radius-md) var(--sc-radius-md) 0;
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
.sc-answer-option {
|
|
149
|
+
display: flex;
|
|
150
|
+
flex-wrap: wrap;
|
|
151
|
+
align-items: center;
|
|
152
|
+
gap: var(--sc-space-2);
|
|
153
|
+
font-weight: var(--sc-weight-bold);
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
.sc-answer-note {
|
|
157
|
+
color: var(--sc-color-text-muted);
|
|
158
|
+
font-size: var(--sc-text-sm);
|
|
159
|
+
white-space: pre-wrap;
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
.sc-answer-form,
|
|
163
|
+
.sc-address-form {
|
|
164
|
+
display: grid;
|
|
165
|
+
gap: var(--sc-space-3);
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
/* Whom a waiting decision is for, said anew (ADR-0096): the field with a word under it and the
|
|
169
|
+
two buttons, where the way to answer stood. */
|
|
170
|
+
.sc-address-form > .sc-field,
|
|
171
|
+
.sc-address-form > .sc-form-error {
|
|
172
|
+
margin: 0;
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
.sc-options-list {
|
|
176
|
+
display: grid;
|
|
177
|
+
gap: var(--sc-space-2);
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
.sc-option {
|
|
181
|
+
display: flex;
|
|
182
|
+
align-items: center;
|
|
183
|
+
gap: var(--sc-space-3);
|
|
184
|
+
padding: var(--sc-space-2) var(--sc-space-3);
|
|
185
|
+
border-color: var(--sc-color-border-strong);
|
|
186
|
+
border-radius: var(--sc-radius-md);
|
|
187
|
+
cursor: pointer;
|
|
188
|
+
transition:
|
|
189
|
+
border-color var(--sc-transition),
|
|
190
|
+
background var(--sc-transition);
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
.sc-option:hover {
|
|
194
|
+
background: var(--sc-color-sheet-hover);
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
.sc-option-chosen {
|
|
198
|
+
border-color: var(--sc-color-accent);
|
|
199
|
+
background: var(--sc-color-accent-subtle);
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
.sc-option input {
|
|
203
|
+
margin: 0;
|
|
204
|
+
accent-color: var(--sc-color-accent);
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
/* The last choice is the person's own words: the radio, its label, and the line they write on. */
|
|
208
|
+
.sc-option-own {
|
|
209
|
+
flex-wrap: wrap;
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
.sc-option-own .sc-input {
|
|
213
|
+
flex: 1 1 12rem;
|
|
214
|
+
min-width: 0;
|
|
215
|
+
min-height: 2rem;
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
.sc-decision-files {
|
|
219
|
+
display: grid;
|
|
220
|
+
gap: var(--sc-space-2);
|
|
221
|
+
margin: 0;
|
|
222
|
+
padding: 0;
|
|
223
|
+
list-style: none;
|
|
224
|
+
font-size: var(--sc-text-sm);
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
.sc-decision-picture {
|
|
228
|
+
display: grid;
|
|
229
|
+
gap: var(--sc-space-1);
|
|
230
|
+
justify-items: start;
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
/* A decision as a record: its context, its answer, and what followed. */
|
|
234
|
+
|
|
235
|
+
.sc-decision-section {
|
|
236
|
+
margin-top: var(--sc-space-3);
|
|
237
|
+
}
|
|
238
|
+
|
|
239
|
+
.sc-decision-label {
|
|
240
|
+
margin: 0 0 var(--sc-space-1);
|
|
241
|
+
}
|
|
242
|
+
|
|
243
|
+
.sc-outcome-form {
|
|
244
|
+
display: grid;
|
|
245
|
+
gap: var(--sc-space-2);
|
|
246
|
+
}
|
|
247
|
+
|
|
248
|
+
/* Who asked and who answers (ADR-0042): the two people side by side, an arrow from the one to
|
|
249
|
+
the other, so that the asker and the decider are never read as one. */
|
|
250
|
+
.sc-decision-for {
|
|
251
|
+
display: inline-flex;
|
|
252
|
+
align-items: center;
|
|
253
|
+
gap: var(--sc-space-1);
|
|
254
|
+
white-space: nowrap;
|
|
255
|
+
}
|
|
256
|
+
|
|
257
|
+
.sc-decision-arrow {
|
|
258
|
+
color: var(--sc-color-text-faint);
|
|
259
|
+
font-weight: var(--sc-weight-medium);
|
|
260
|
+
}
|
|
261
|
+
|
|
262
|
+
/* The record of the decisions: a row each, what was asked on the left and what was answered on
|
|
263
|
+
the right, each with who and when under it; one column where the window is narrow. */
|
|
264
|
+
.sc-decision-record {
|
|
265
|
+
display: grid;
|
|
266
|
+
gap: var(--sc-space-2);
|
|
267
|
+
margin: 0;
|
|
268
|
+
padding: 0;
|
|
269
|
+
list-style: none;
|
|
270
|
+
}
|
|
271
|
+
|
|
272
|
+
.sc-decision-record-row {
|
|
273
|
+
display: grid;
|
|
274
|
+
grid-template-columns: minmax(0, 1fr);
|
|
275
|
+
gap: var(--sc-space-3) var(--sc-space-6);
|
|
276
|
+
padding: var(--sc-space-3) var(--sc-space-4);
|
|
277
|
+
border: var(--sc-border);
|
|
278
|
+
border-radius: var(--sc-radius-md);
|
|
279
|
+
background: var(--sc-color-sheet);
|
|
280
|
+
font-size: var(--sc-text-sm);
|
|
281
|
+
}
|
|
282
|
+
|
|
283
|
+
@media (min-width: 40rem) {
|
|
284
|
+
.sc-decision-record-row {
|
|
285
|
+
grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
|
|
286
|
+
}
|
|
287
|
+
}
|
|
288
|
+
|
|
289
|
+
.sc-decision-record-asked,
|
|
290
|
+
.sc-decision-record-answer {
|
|
291
|
+
display: grid;
|
|
292
|
+
align-content: start;
|
|
293
|
+
gap: var(--sc-space-1);
|
|
294
|
+
min-width: 0;
|
|
295
|
+
}
|
|
296
|
+
|
|
297
|
+
.sc-decision-record-question {
|
|
298
|
+
font-weight: var(--sc-weight-medium);
|
|
299
|
+
overflow-wrap: anywhere;
|
|
300
|
+
}
|
|
301
|
+
|
|
302
|
+
.sc-decision-record-question a {
|
|
303
|
+
color: var(--sc-color-text);
|
|
304
|
+
text-decoration: none;
|
|
305
|
+
}
|
|
306
|
+
|
|
307
|
+
.sc-decision-record-question a:hover {
|
|
308
|
+
color: var(--sc-color-accent);
|
|
309
|
+
}
|
|
310
|
+
|
|
311
|
+
.sc-decision-record-question .sc-card-number {
|
|
312
|
+
margin-left: var(--sc-space-2);
|
|
313
|
+
}
|
|
314
|
+
|
|
315
|
+
/* The answer a decision took, marked in green before its words. */
|
|
316
|
+
.sc-decision-record-chosen::before {
|
|
317
|
+
content: "";
|
|
318
|
+
position: absolute;
|
|
319
|
+
top: calc(0.8em - 0.25rem);
|
|
320
|
+
left: 0;
|
|
321
|
+
width: 0.5rem;
|
|
322
|
+
height: 0.5rem;
|
|
323
|
+
border-radius: var(--sc-radius-full);
|
|
324
|
+
background: var(--sc-color-success);
|
|
325
|
+
}
|
|
326
|
+
|
|
327
|
+
.sc-decision-record-chosen {
|
|
328
|
+
position: relative;
|
|
329
|
+
padding-left: var(--sc-space-4);
|
|
330
|
+
display: flex;
|
|
331
|
+
flex-wrap: wrap;
|
|
332
|
+
align-items: center;
|
|
333
|
+
gap: var(--sc-space-2);
|
|
334
|
+
color: var(--sc-color-text);
|
|
335
|
+
font-weight: var(--sc-weight-medium);
|
|
336
|
+
overflow-wrap: anywhere;
|
|
337
|
+
}
|
|
338
|
+
|
|
339
|
+
/* The word given with the answer: a few lines of it here, the whole on the decision's page. */
|
|
340
|
+
.sc-decision-record-note {
|
|
341
|
+
display: -webkit-box;
|
|
342
|
+
-webkit-box-orient: vertical;
|
|
343
|
+
-webkit-line-clamp: 3;
|
|
344
|
+
overflow: hidden;
|
|
345
|
+
color: var(--sc-color-text-muted);
|
|
346
|
+
overflow-wrap: anywhere;
|
|
347
|
+
}
|
|
348
|
+
|
|
349
|
+
.sc-decision-record-meta {
|
|
350
|
+
display: flex;
|
|
351
|
+
flex-wrap: wrap;
|
|
352
|
+
align-items: center;
|
|
353
|
+
gap: var(--sc-space-1) var(--sc-space-2);
|
|
354
|
+
color: var(--sc-color-text-muted);
|
|
355
|
+
font-size: var(--sc-text-xs);
|
|
356
|
+
}
|
|
357
|
+
|
|
358
|
+
@media (max-width: 40rem) {
|
|
359
|
+
.sc-decision {
|
|
360
|
+
padding: var(--sc-space-4);
|
|
361
|
+
border-radius: var(--sc-radius-lg);
|
|
362
|
+
}
|
|
363
|
+
}
|
|
364
|
+
|
|
365
|
+
@media (max-width: 40rem) {
|
|
366
|
+
.sc-decision {
|
|
367
|
+
padding: var(--sc-space-4);
|
|
368
|
+
border-radius: var(--sc-radius-lg);
|
|
369
|
+
}
|
|
370
|
+
}
|
|
@@ -0,0 +1,126 @@
|
|
|
1
|
+
/* Sources: components/desk.tsx, desk-page.tsx, components/desk-records.tsx, desk-records-page.tsx */
|
|
2
|
+
|
|
3
|
+
/* The views of a desk stand as the people's and the agents' do. */
|
|
4
|
+
.sc-desk-views {
|
|
5
|
+
margin-bottom: var(--sc-space-5);
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
/* The lists of a desk: two side by side where each still has a reading width, one under the
|
|
9
|
+
other below that, as the lists of a plate are, so that their rows line up. */
|
|
10
|
+
.sc-desk-lists {
|
|
11
|
+
display: grid;
|
|
12
|
+
grid-template-columns: repeat(
|
|
13
|
+
auto-fill,
|
|
14
|
+
minmax(min(100%, max(24rem, calc((100% - var(--sc-space-7)) / 2))), 1fr)
|
|
15
|
+
);
|
|
16
|
+
align-items: start;
|
|
17
|
+
gap: var(--sc-space-6) var(--sc-space-7);
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
/* The figures, one group under the other. */
|
|
21
|
+
.sc-desk-figures {
|
|
22
|
+
display: grid;
|
|
23
|
+
gap: var(--sc-space-6);
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
/* Two panes of figures side by side where the window has the room. */
|
|
27
|
+
.sc-desk-pair {
|
|
28
|
+
display: grid;
|
|
29
|
+
grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr));
|
|
30
|
+
align-items: start;
|
|
31
|
+
gap: var(--sc-space-5);
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.sc-desk-pair .sc-panel {
|
|
35
|
+
margin-bottom: 0;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
/* The archive: the words it is found by over its lists. */
|
|
39
|
+
.sc-desk-archive {
|
|
40
|
+
display: grid;
|
|
41
|
+
gap: var(--sc-space-5);
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.sc-desk-search {
|
|
45
|
+
display: flex;
|
|
46
|
+
gap: var(--sc-space-2);
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.sc-desk-search .sc-input {
|
|
50
|
+
flex: 1;
|
|
51
|
+
max-width: 32rem;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
/* A desk of one's own on the Agents page: its words over the command, under what is above. */
|
|
55
|
+
.sc-desk-command {
|
|
56
|
+
display: grid;
|
|
57
|
+
gap: var(--sc-space-3);
|
|
58
|
+
margin-top: var(--sc-space-5);
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
/* The records: what could not be read over what could, and the way down over both. */
|
|
62
|
+
.sc-desk-records {
|
|
63
|
+
display: grid;
|
|
64
|
+
gap: var(--sc-space-4);
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
/* The items of a collection as cards, as many across as the window has room for. */
|
|
68
|
+
.sc-desk-cards {
|
|
69
|
+
display: grid;
|
|
70
|
+
grid-template-columns: repeat(auto-fill, minmax(min(100%, 16rem), 1fr));
|
|
71
|
+
align-items: start;
|
|
72
|
+
gap: var(--sc-space-4);
|
|
73
|
+
margin: 0;
|
|
74
|
+
padding: 0;
|
|
75
|
+
list-style: none;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
.sc-desk-cards .sc-panel {
|
|
79
|
+
margin-bottom: 0;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
.sc-desk-card {
|
|
83
|
+
display: grid;
|
|
84
|
+
gap: var(--sc-space-2);
|
|
85
|
+
min-width: 0;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
/* A card's preview: the card's width, one shape whatever the picture's own. */
|
|
89
|
+
.sc-desk-card-picture {
|
|
90
|
+
display: block;
|
|
91
|
+
width: 100%;
|
|
92
|
+
aspect-ratio: 4 / 3;
|
|
93
|
+
object-fit: cover;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
/* One item: its head over its two columns. */
|
|
97
|
+
.sc-desk-item {
|
|
98
|
+
display: grid;
|
|
99
|
+
gap: var(--sc-space-5);
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
.sc-desk-item-picture {
|
|
103
|
+
display: block;
|
|
104
|
+
max-width: 100%;
|
|
105
|
+
max-height: 28rem;
|
|
106
|
+
object-fit: contain;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
/* What was written about an item keeps its own lines. */
|
|
110
|
+
.sc-desk-words {
|
|
111
|
+
white-space: pre-wrap;
|
|
112
|
+
overflow-wrap: anywhere;
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
/* A file shown in place takes a line of its own under its name, no taller than a reading. */
|
|
116
|
+
.sc-desk-file-media {
|
|
117
|
+
flex: 1 1 100%;
|
|
118
|
+
width: 100%;
|
|
119
|
+
max-height: 28rem;
|
|
120
|
+
object-fit: contain;
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
.sc-desk-file-frame {
|
|
124
|
+
flex: 1 1 100%;
|
|
125
|
+
height: 32rem;
|
|
126
|
+
}
|