@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,1195 @@
|
|
|
1
|
+
/* Sources: components/agents.tsx, components/agent-page.tsx, agent-page.tsx, components/setup.tsx, setup-page.tsx */
|
|
2
|
+
|
|
3
|
+
/* An agent account's card (ADR-0084): a person's card, with how the account stands across from
|
|
4
|
+
its name, where every card says it. Where the card leads to the account's page, the name's
|
|
5
|
+
link is drawn over the whole card, and the card answers the pointer and the focus as a tile
|
|
6
|
+
of the front page does. */
|
|
7
|
+
|
|
8
|
+
/* How it stands is above the link that covers the card, so that why it stands so is read where
|
|
9
|
+
the pointer rests on it. */
|
|
10
|
+
.sc-agent-card-state {
|
|
11
|
+
position: relative;
|
|
12
|
+
z-index: 2;
|
|
13
|
+
align-self: start;
|
|
14
|
+
margin-inline-start: auto;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.sc-agent-card-link {
|
|
18
|
+
color: inherit;
|
|
19
|
+
text-decoration: none;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.sc-agent-card-link::after {
|
|
23
|
+
position: absolute;
|
|
24
|
+
inset: 0;
|
|
25
|
+
z-index: 1;
|
|
26
|
+
border-radius: inherit;
|
|
27
|
+
content: "";
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.sc-agent-card-link:focus-visible {
|
|
31
|
+
outline: none;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.sc-agent-card-linked {
|
|
35
|
+
transition:
|
|
36
|
+
border-color var(--sc-transition),
|
|
37
|
+
background var(--sc-transition),
|
|
38
|
+
box-shadow var(--sc-transition);
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.sc-agent-card-linked:hover,
|
|
42
|
+
.sc-agent-card-linked:focus-within {
|
|
43
|
+
border-color: var(--sc-color-accent);
|
|
44
|
+
background: var(--sc-glass-surface-hover);
|
|
45
|
+
box-shadow: var(--sc-glass-sheen), var(--sc-glass-lift), var(--sc-glow);
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.sc-agent-card-linked:hover .sc-agent-card-link {
|
|
49
|
+
color: var(--sc-color-accent);
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.sc-agent-card-linked:has(.sc-agent-card-link:focus-visible) {
|
|
53
|
+
outline: var(--sc-focus-ring);
|
|
54
|
+
outline-offset: 2px;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
/* An agent account's picture on its settings, with the way to save it as a file beside it. */
|
|
58
|
+
.sc-agent-picture {
|
|
59
|
+
display: flex;
|
|
60
|
+
flex-wrap: wrap;
|
|
61
|
+
align-items: center;
|
|
62
|
+
gap: var(--sc-space-4);
|
|
63
|
+
margin-bottom: var(--sc-space-4);
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
/* Beside the face while the button has room for its words on one line, under it where not. */
|
|
67
|
+
.sc-agent-picture-what {
|
|
68
|
+
display: grid;
|
|
69
|
+
flex: 1 1 14rem;
|
|
70
|
+
justify-items: start;
|
|
71
|
+
gap: var(--sc-space-1);
|
|
72
|
+
min-width: 0;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
.sc-agent-picture-what > .sc-field-hint {
|
|
76
|
+
margin: 0;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
/* The personas an agent account is proposed (ADR-0084): a row of pictures with a name each, one chosen. */
|
|
80
|
+
.sc-agent-proposals {
|
|
81
|
+
min-width: 0;
|
|
82
|
+
margin: 0;
|
|
83
|
+
padding: 0;
|
|
84
|
+
border: 0;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
.sc-agent-proposal-row {
|
|
88
|
+
display: flex;
|
|
89
|
+
flex-wrap: wrap;
|
|
90
|
+
align-items: center;
|
|
91
|
+
gap: var(--sc-space-3);
|
|
92
|
+
margin-block: var(--sc-space-2);
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
.sc-agent-proposal {
|
|
96
|
+
display: flex;
|
|
97
|
+
flex-direction: column;
|
|
98
|
+
align-items: center;
|
|
99
|
+
gap: var(--sc-space-1);
|
|
100
|
+
min-width: 6.5rem;
|
|
101
|
+
padding: var(--sc-space-3);
|
|
102
|
+
border: var(--sc-border);
|
|
103
|
+
border-radius: var(--sc-radius-lg);
|
|
104
|
+
background: transparent;
|
|
105
|
+
color: inherit;
|
|
106
|
+
font: inherit;
|
|
107
|
+
cursor: pointer;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
.sc-agent-proposal:hover {
|
|
111
|
+
background: var(--sc-color-bg-inset);
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
.sc-agent-proposal-chosen {
|
|
115
|
+
border-color: var(--sc-color-accent);
|
|
116
|
+
box-shadow: 0 0 0 1px var(--sc-color-accent);
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
.sc-agent-proposal-name {
|
|
120
|
+
font-weight: var(--sc-weight-medium);
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
.sc-agent-proposal-handle {
|
|
124
|
+
color: var(--sc-color-text-muted);
|
|
125
|
+
font-size: var(--sc-text-xs);
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
/* An agent account's page (ADR-0085, ADR-0086): a panel with who it is and how it stands, then
|
|
129
|
+
its views as the console's own sub-tabs. The picture beside the name, the handle beside the
|
|
130
|
+
name as on its card, what it does under them, how it stands under that with its times told
|
|
131
|
+
short, and across from them whom it reports to. */
|
|
132
|
+
.sc-agent-header {
|
|
133
|
+
margin-bottom: var(--sc-space-4);
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
.sc-agent-head {
|
|
137
|
+
display: flex;
|
|
138
|
+
flex-wrap: wrap;
|
|
139
|
+
align-items: center;
|
|
140
|
+
gap: var(--sc-space-4) var(--sc-space-5);
|
|
141
|
+
min-width: 0;
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
.sc-agent-head-who {
|
|
145
|
+
display: grid;
|
|
146
|
+
flex: 1 1 16rem;
|
|
147
|
+
gap: var(--sc-space-1);
|
|
148
|
+
min-width: 0;
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
.sc-agent-head-name {
|
|
152
|
+
display: flex;
|
|
153
|
+
flex-wrap: wrap;
|
|
154
|
+
align-items: baseline;
|
|
155
|
+
gap: var(--sc-space-1) var(--sc-space-2);
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
.sc-agent-head-name .sc-page-title {
|
|
159
|
+
margin: 0;
|
|
160
|
+
overflow-wrap: anywhere;
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
.sc-agent-head-who .sc-lead {
|
|
164
|
+
margin: 0;
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
.sc-agent-head-facts {
|
|
168
|
+
flex: 0 1 auto;
|
|
169
|
+
margin: 0;
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
.sc-agent-state {
|
|
173
|
+
display: inline-flex;
|
|
174
|
+
flex-wrap: wrap;
|
|
175
|
+
align-items: center;
|
|
176
|
+
gap: var(--sc-space-1) var(--sc-space-2);
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
.sc-agent-state-why {
|
|
180
|
+
color: var(--sc-color-text-muted);
|
|
181
|
+
font-size: var(--sc-text-sm);
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
.sc-agent-views {
|
|
185
|
+
margin-bottom: var(--sc-space-5);
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
@media (max-width: 40rem) {
|
|
189
|
+
.sc-agent-head > .sc-avatar {
|
|
190
|
+
width: 4rem;
|
|
191
|
+
height: 4rem;
|
|
192
|
+
}
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
/* What the agent is doing now: the conversation in a pane of its own, with the box to speak in
|
|
196
|
+
at its foot, and beside them, where there is room, the session in a row, what changes how the
|
|
197
|
+
agent stands and what it runs with. */
|
|
198
|
+
.sc-agent-live {
|
|
199
|
+
display: grid;
|
|
200
|
+
grid-template-columns: minmax(0, 1fr);
|
|
201
|
+
align-items: start;
|
|
202
|
+
gap: var(--sc-space-5);
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
@media (min-width: 64rem) {
|
|
206
|
+
.sc-agent-live {
|
|
207
|
+
grid-template-columns: minmax(0, 1fr) var(--sc-width-aside);
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
.sc-agent-live-side {
|
|
211
|
+
position: sticky;
|
|
212
|
+
top: calc(var(--sc-header-height) + var(--sc-space-5));
|
|
213
|
+
}
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
.sc-agent-live-main {
|
|
217
|
+
display: grid;
|
|
218
|
+
grid-template-columns: minmax(0, 1fr);
|
|
219
|
+
gap: var(--sc-space-4);
|
|
220
|
+
min-width: 0;
|
|
221
|
+
}
|
|
222
|
+
|
|
223
|
+
.sc-agent-live-main > .sc-panel {
|
|
224
|
+
margin: 0;
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
.sc-agent-live-lead {
|
|
228
|
+
margin: 0;
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
.sc-agent-live-side {
|
|
232
|
+
display: grid;
|
|
233
|
+
gap: var(--sc-space-4);
|
|
234
|
+
min-width: 0;
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
.sc-agent-live-side > .sc-panel {
|
|
238
|
+
margin: 0;
|
|
239
|
+
}
|
|
240
|
+
|
|
241
|
+
/* A conversation in a pane, as a chat is read: as tall as the window leaves under the header,
|
|
242
|
+
never shorter than a few messages; the conversation scrolls within it, in a column no wider
|
|
243
|
+
than is read with ease, and the box to speak in stays at its foot. The way back to the
|
|
244
|
+
latest floats over the conversation's end while whoever reads is away from it. */
|
|
245
|
+
.sc-chat {
|
|
246
|
+
display: flex;
|
|
247
|
+
flex-direction: column;
|
|
248
|
+
/* From where the pane begins on the page, which the pane measures, to the window's foot:
|
|
249
|
+
the box to speak in is in sight without scrolling. Until it is measured, a guess. */
|
|
250
|
+
--sc-chat-top: 24rem;
|
|
251
|
+
|
|
252
|
+
height: calc(100dvh - var(--sc-chat-top) - var(--sc-space-5));
|
|
253
|
+
min-height: 24rem;
|
|
254
|
+
padding: 0;
|
|
255
|
+
overflow: hidden;
|
|
256
|
+
}
|
|
257
|
+
|
|
258
|
+
.sc-chat-scroll {
|
|
259
|
+
flex: 1 1 auto;
|
|
260
|
+
min-height: 0;
|
|
261
|
+
overflow-y: auto;
|
|
262
|
+
overscroll-behavior: contain;
|
|
263
|
+
}
|
|
264
|
+
|
|
265
|
+
/* Under a finger the page moves on once the conversation stands at its end or its beginning, as
|
|
266
|
+
a finger expects of a page: the pane is nearly as tall as a phone's window, and where it held
|
|
267
|
+
every drag for itself, a finger put down on it reached nothing else of the page, the box to
|
|
268
|
+
speak in below the window's foot among it. */
|
|
269
|
+
@media (pointer: coarse) {
|
|
270
|
+
.sc-chat-scroll {
|
|
271
|
+
overscroll-behavior: auto;
|
|
272
|
+
}
|
|
273
|
+
}
|
|
274
|
+
|
|
275
|
+
.sc-chat-content {
|
|
276
|
+
display: grid;
|
|
277
|
+
grid-template-columns: minmax(0, 1fr);
|
|
278
|
+
gap: var(--sc-space-3);
|
|
279
|
+
max-width: 52rem;
|
|
280
|
+
margin-inline: auto;
|
|
281
|
+
padding: var(--sc-space-5);
|
|
282
|
+
}
|
|
283
|
+
|
|
284
|
+
.sc-chat-content > .sc-field-hint {
|
|
285
|
+
margin: 0;
|
|
286
|
+
}
|
|
287
|
+
|
|
288
|
+
.sc-chat-latest {
|
|
289
|
+
position: relative;
|
|
290
|
+
flex: none;
|
|
291
|
+
height: 0;
|
|
292
|
+
}
|
|
293
|
+
|
|
294
|
+
.sc-chat-latest > .sc-button {
|
|
295
|
+
position: absolute;
|
|
296
|
+
bottom: var(--sc-space-2);
|
|
297
|
+
left: 50%;
|
|
298
|
+
translate: -50% 0;
|
|
299
|
+
}
|
|
300
|
+
|
|
301
|
+
.sc-chat-foot {
|
|
302
|
+
flex: none;
|
|
303
|
+
padding: var(--sc-space-2) var(--sc-space-5) var(--sc-space-4);
|
|
304
|
+
}
|
|
305
|
+
|
|
306
|
+
/* Where the window is narrow, what stands over the pane leaves it little: the pane is as tall as
|
|
307
|
+
the window is under the header, and fills it once the page is scrolled to it. */
|
|
308
|
+
@media (max-width: 40rem) {
|
|
309
|
+
.sc-chat {
|
|
310
|
+
height: calc(100dvh - var(--sc-header-height) - 2.75rem - var(--sc-space-5));
|
|
311
|
+
min-height: 20rem;
|
|
312
|
+
}
|
|
313
|
+
|
|
314
|
+
.sc-chat-content {
|
|
315
|
+
padding: var(--sc-space-4) var(--sc-space-3);
|
|
316
|
+
}
|
|
317
|
+
|
|
318
|
+
.sc-chat-foot {
|
|
319
|
+
padding: var(--sc-space-2) var(--sc-space-3) var(--sc-space-3);
|
|
320
|
+
}
|
|
321
|
+
}
|
|
322
|
+
|
|
323
|
+
/* What a supervisor says to the agent: one box, the files chosen above the words, a chip each,
|
|
324
|
+
a picture shown small in its chip, and under the words the way to choose files and the way
|
|
325
|
+
to send. The box takes the ring of a field while it is written in, and while files are
|
|
326
|
+
dragged over it, which says that it takes them. */
|
|
327
|
+
.sc-signal-composer {
|
|
328
|
+
display: grid;
|
|
329
|
+
grid-template-columns: minmax(0, 1fr);
|
|
330
|
+
gap: var(--sc-space-2);
|
|
331
|
+
width: 100%;
|
|
332
|
+
max-width: 49rem;
|
|
333
|
+
min-width: 0;
|
|
334
|
+
margin: 0 auto;
|
|
335
|
+
}
|
|
336
|
+
|
|
337
|
+
.sc-signal-box {
|
|
338
|
+
display: grid;
|
|
339
|
+
grid-template-columns: minmax(0, 1fr);
|
|
340
|
+
gap: var(--sc-space-2);
|
|
341
|
+
padding: var(--sc-space-2) var(--sc-space-3);
|
|
342
|
+
border: var(--sc-border-strong);
|
|
343
|
+
border-radius: var(--sc-radius-xl);
|
|
344
|
+
background: var(--sc-color-bg-raised);
|
|
345
|
+
transition: border-color var(--sc-transition);
|
|
346
|
+
}
|
|
347
|
+
|
|
348
|
+
.sc-signal-box:focus-within,
|
|
349
|
+
.sc-signal-composer-over > .sc-signal-box {
|
|
350
|
+
outline: var(--sc-focus-ring);
|
|
351
|
+
outline-offset: 0;
|
|
352
|
+
border-color: var(--sc-color-accent);
|
|
353
|
+
}
|
|
354
|
+
|
|
355
|
+
.sc-signal-text {
|
|
356
|
+
width: 100%;
|
|
357
|
+
min-height: 1.75rem;
|
|
358
|
+
padding: var(--sc-space-1);
|
|
359
|
+
border: 0;
|
|
360
|
+
outline: none;
|
|
361
|
+
background: transparent;
|
|
362
|
+
color: var(--sc-color-text);
|
|
363
|
+
font: inherit;
|
|
364
|
+
font-size: var(--sc-text-sm);
|
|
365
|
+
line-height: var(--sc-leading-normal);
|
|
366
|
+
resize: none;
|
|
367
|
+
}
|
|
368
|
+
|
|
369
|
+
.sc-signal-text::placeholder {
|
|
370
|
+
color: var(--sc-color-text-faint);
|
|
371
|
+
}
|
|
372
|
+
|
|
373
|
+
/* A chip of the box gives way to the box: a long name is cut, never the box widened. */
|
|
374
|
+
.sc-signal-files > .sc-chosen-file {
|
|
375
|
+
max-width: 100%;
|
|
376
|
+
min-width: 0;
|
|
377
|
+
}
|
|
378
|
+
|
|
379
|
+
.sc-signal-thumb {
|
|
380
|
+
width: 2rem;
|
|
381
|
+
height: 2rem;
|
|
382
|
+
border-radius: var(--sc-radius-sm);
|
|
383
|
+
object-fit: cover;
|
|
384
|
+
}
|
|
385
|
+
|
|
386
|
+
.sc-signal-file-name {
|
|
387
|
+
flex: 0 1 auto;
|
|
388
|
+
min-width: 0;
|
|
389
|
+
max-width: 16rem;
|
|
390
|
+
overflow: hidden;
|
|
391
|
+
text-overflow: ellipsis;
|
|
392
|
+
white-space: nowrap;
|
|
393
|
+
}
|
|
394
|
+
|
|
395
|
+
.sc-signal-files .sc-muted {
|
|
396
|
+
flex: none;
|
|
397
|
+
}
|
|
398
|
+
|
|
399
|
+
.sc-signal-row {
|
|
400
|
+
display: flex;
|
|
401
|
+
align-items: center;
|
|
402
|
+
justify-content: space-between;
|
|
403
|
+
gap: var(--sc-space-2);
|
|
404
|
+
}
|
|
405
|
+
|
|
406
|
+
.sc-signal-composer > .sc-field-hint,
|
|
407
|
+
.sc-signal-composer > .sc-form-error {
|
|
408
|
+
margin: 0;
|
|
409
|
+
padding-inline: var(--sc-space-3);
|
|
410
|
+
}
|
|
411
|
+
|
|
412
|
+
/* What changes how the agent stands: words for it, the ways in a row, and what each does. */
|
|
413
|
+
.sc-agent-controls {
|
|
414
|
+
display: grid;
|
|
415
|
+
gap: var(--sc-space-3);
|
|
416
|
+
}
|
|
417
|
+
|
|
418
|
+
.sc-agent-controls-ways {
|
|
419
|
+
display: flex;
|
|
420
|
+
flex-wrap: wrap;
|
|
421
|
+
gap: var(--sc-space-2);
|
|
422
|
+
}
|
|
423
|
+
|
|
424
|
+
.sc-agent-controls-says {
|
|
425
|
+
display: grid;
|
|
426
|
+
gap: var(--sc-space-1);
|
|
427
|
+
margin: 0;
|
|
428
|
+
padding: 0;
|
|
429
|
+
color: var(--sc-color-text-muted);
|
|
430
|
+
font-size: var(--sc-text-sm);
|
|
431
|
+
list-style: none;
|
|
432
|
+
}
|
|
433
|
+
|
|
434
|
+
.sc-agent-controls-says b {
|
|
435
|
+
color: var(--sc-color-text);
|
|
436
|
+
font-weight: var(--sc-weight-medium);
|
|
437
|
+
}
|
|
438
|
+
|
|
439
|
+
.sc-agent-controls .sc-field-hint {
|
|
440
|
+
margin: 0;
|
|
441
|
+
}
|
|
442
|
+
|
|
443
|
+
/* The model and the effort an agent runs with: the two side by side, filling the room they have,
|
|
444
|
+
and what the open session runs with under them. */
|
|
445
|
+
.sc-agent-choice {
|
|
446
|
+
display: flex;
|
|
447
|
+
flex-wrap: wrap;
|
|
448
|
+
align-items: end;
|
|
449
|
+
gap: var(--sc-space-3);
|
|
450
|
+
}
|
|
451
|
+
|
|
452
|
+
.sc-agent-choice-field {
|
|
453
|
+
flex: 1 1 9rem;
|
|
454
|
+
min-width: 0;
|
|
455
|
+
}
|
|
456
|
+
|
|
457
|
+
.sc-agent-choice-field .sc-input {
|
|
458
|
+
width: 100%;
|
|
459
|
+
}
|
|
460
|
+
|
|
461
|
+
.sc-agent-choice .sc-field-hint {
|
|
462
|
+
flex-basis: 100%;
|
|
463
|
+
margin: 0;
|
|
464
|
+
}
|
|
465
|
+
|
|
466
|
+
/* A session as a conversation. What the agent was told stands at the right, on the tint of the
|
|
467
|
+
accent, as wide as its words, with who said it under it; what the agent said at the left,
|
|
468
|
+
beside its picture, as prose; a thought and a tool's call are the steps of a turn, rows that
|
|
469
|
+
open, close together under what the agent said, the call with what it answered inside; a
|
|
470
|
+
wake, a status and an error are notes between, quieter, and a hairline says where a turn
|
|
471
|
+
ended. At the foot: the sign that the agent is at work, and what was told and not taken yet.
|
|
472
|
+
What an agent's product printed keeps its spaces and its lines, and wraps rather than widen
|
|
473
|
+
the page. */
|
|
474
|
+
.sc-agent-transcript {
|
|
475
|
+
display: grid;
|
|
476
|
+
grid-template-columns: minmax(0, 1fr);
|
|
477
|
+
gap: var(--sc-space-3);
|
|
478
|
+
min-width: 0;
|
|
479
|
+
}
|
|
480
|
+
|
|
481
|
+
.sc-agent-transcript > .sc-button {
|
|
482
|
+
justify-self: start;
|
|
483
|
+
}
|
|
484
|
+
|
|
485
|
+
.sc-agent-transcript > .sc-callout,
|
|
486
|
+
.sc-agent-transcript > .sc-field-hint {
|
|
487
|
+
margin: 0;
|
|
488
|
+
}
|
|
489
|
+
|
|
490
|
+
.sc-talk {
|
|
491
|
+
display: flex;
|
|
492
|
+
flex-direction: column;
|
|
493
|
+
min-width: 0;
|
|
494
|
+
margin: 0;
|
|
495
|
+
padding: 0;
|
|
496
|
+
list-style: none;
|
|
497
|
+
}
|
|
498
|
+
|
|
499
|
+
.sc-talk-item {
|
|
500
|
+
min-width: 0;
|
|
501
|
+
}
|
|
502
|
+
|
|
503
|
+
.sc-talk-item + .sc-talk-item {
|
|
504
|
+
margin-top: var(--sc-space-4);
|
|
505
|
+
}
|
|
506
|
+
|
|
507
|
+
.sc-talk-item .sc-time {
|
|
508
|
+
flex: none;
|
|
509
|
+
color: var(--sc-color-text-muted);
|
|
510
|
+
font-size: var(--sc-text-xs);
|
|
511
|
+
}
|
|
512
|
+
|
|
513
|
+
.sc-talk-text,
|
|
514
|
+
.sc-talk-code {
|
|
515
|
+
margin: 0;
|
|
516
|
+
font: inherit;
|
|
517
|
+
white-space: pre-wrap;
|
|
518
|
+
overflow-wrap: anywhere;
|
|
519
|
+
}
|
|
520
|
+
|
|
521
|
+
/* What the agent was told. */
|
|
522
|
+
.sc-talk-told {
|
|
523
|
+
display: grid;
|
|
524
|
+
grid-template-columns: minmax(0, 1fr);
|
|
525
|
+
justify-items: end;
|
|
526
|
+
gap: var(--sc-space-1);
|
|
527
|
+
}
|
|
528
|
+
|
|
529
|
+
.sc-talk-bubble {
|
|
530
|
+
display: grid;
|
|
531
|
+
grid-template-columns: minmax(0, 1fr);
|
|
532
|
+
gap: var(--sc-space-2);
|
|
533
|
+
max-width: min(100%, 40rem);
|
|
534
|
+
padding: var(--sc-space-3) var(--sc-space-4);
|
|
535
|
+
border-radius: var(--sc-radius-xl);
|
|
536
|
+
border-end-end-radius: var(--sc-radius-sm);
|
|
537
|
+
background: var(--sc-color-accent-subtle);
|
|
538
|
+
}
|
|
539
|
+
|
|
540
|
+
.sc-talk-meta {
|
|
541
|
+
display: flex;
|
|
542
|
+
flex-wrap: wrap;
|
|
543
|
+
align-items: center;
|
|
544
|
+
justify-content: flex-end;
|
|
545
|
+
gap: var(--sc-space-1) var(--sc-space-2);
|
|
546
|
+
color: var(--sc-color-text-muted);
|
|
547
|
+
font-size: var(--sc-text-xs);
|
|
548
|
+
}
|
|
549
|
+
|
|
550
|
+
.sc-talk-who {
|
|
551
|
+
font-weight: var(--sc-weight-medium);
|
|
552
|
+
}
|
|
553
|
+
|
|
554
|
+
/* What was told and the agent has not taken yet: as it will stand there, on no tint, within a
|
|
555
|
+
dashed line; under the last, when it is read and the way to have it read now. */
|
|
556
|
+
.sc-talk-waiting > .sc-talk-bubble {
|
|
557
|
+
border: var(--sc-border-strong);
|
|
558
|
+
border-style: dashed;
|
|
559
|
+
background: transparent;
|
|
560
|
+
}
|
|
561
|
+
|
|
562
|
+
.sc-talk-wait {
|
|
563
|
+
display: flex;
|
|
564
|
+
flex-wrap: wrap;
|
|
565
|
+
align-items: center;
|
|
566
|
+
justify-content: flex-end;
|
|
567
|
+
gap: var(--sc-space-2);
|
|
568
|
+
margin: var(--sc-space-1) 0 0;
|
|
569
|
+
color: var(--sc-color-text-muted);
|
|
570
|
+
font-size: var(--sc-text-xs);
|
|
571
|
+
}
|
|
572
|
+
|
|
573
|
+
/* What the agent said. */
|
|
574
|
+
.sc-talk-said {
|
|
575
|
+
display: flex;
|
|
576
|
+
align-items: flex-start;
|
|
577
|
+
gap: var(--sc-space-3);
|
|
578
|
+
}
|
|
579
|
+
|
|
580
|
+
.sc-talk-prose {
|
|
581
|
+
display: grid;
|
|
582
|
+
grid-template-columns: minmax(0, 1fr);
|
|
583
|
+
flex: 0 1 44rem;
|
|
584
|
+
gap: var(--sc-space-2);
|
|
585
|
+
min-width: 0;
|
|
586
|
+
line-height: var(--sc-leading-normal);
|
|
587
|
+
}
|
|
588
|
+
|
|
589
|
+
/* When it was said stands at the end of the row, on the first line. */
|
|
590
|
+
.sc-talk-said > .sc-time {
|
|
591
|
+
margin-inline-start: auto;
|
|
592
|
+
padding-top: 0.25rem;
|
|
593
|
+
}
|
|
594
|
+
|
|
595
|
+
/* The steps of a turn stand under what the agent said, in from its picture, and close together. */
|
|
596
|
+
.sc-talk-step {
|
|
597
|
+
margin-inline-start: calc(1.5rem + var(--sc-space-3));
|
|
598
|
+
}
|
|
599
|
+
|
|
600
|
+
.sc-talk-step + .sc-talk-step {
|
|
601
|
+
margin-top: var(--sc-space-1);
|
|
602
|
+
}
|
|
603
|
+
|
|
604
|
+
/* Where the page is narrow, when it was said goes under the words and leaves them the width,
|
|
605
|
+
and the steps take the whole of it. */
|
|
606
|
+
@media (max-width: 40rem) {
|
|
607
|
+
.sc-talk-said {
|
|
608
|
+
flex-wrap: wrap;
|
|
609
|
+
}
|
|
610
|
+
|
|
611
|
+
.sc-talk-prose {
|
|
612
|
+
flex: 1 1 0;
|
|
613
|
+
}
|
|
614
|
+
|
|
615
|
+
.sc-talk-said > .sc-time {
|
|
616
|
+
flex-basis: 100%;
|
|
617
|
+
margin-inline-start: calc(1.5rem + var(--sc-space-3));
|
|
618
|
+
padding-top: 0;
|
|
619
|
+
}
|
|
620
|
+
|
|
621
|
+
.sc-talk-step {
|
|
622
|
+
margin-inline-start: 0;
|
|
623
|
+
}
|
|
624
|
+
}
|
|
625
|
+
|
|
626
|
+
/* A thought and a tool's call: a row that opens, quiet until it is pointed at or open. */
|
|
627
|
+
.sc-talk-tool-fold {
|
|
628
|
+
border-radius: var(--sc-radius-md);
|
|
629
|
+
}
|
|
630
|
+
|
|
631
|
+
.sc-talk-tool-fold[open] {
|
|
632
|
+
background: var(--sc-color-sheet);
|
|
633
|
+
box-shadow: inset 0 0 0 1px var(--sc-color-border);
|
|
634
|
+
}
|
|
635
|
+
|
|
636
|
+
.sc-talk-tool-head {
|
|
637
|
+
display: flex;
|
|
638
|
+
align-items: center;
|
|
639
|
+
gap: var(--sc-space-2);
|
|
640
|
+
min-width: 0;
|
|
641
|
+
padding: var(--sc-space-1) var(--sc-space-2);
|
|
642
|
+
border-radius: var(--sc-radius-md);
|
|
643
|
+
font-size: var(--sc-text-sm);
|
|
644
|
+
cursor: pointer;
|
|
645
|
+
}
|
|
646
|
+
|
|
647
|
+
.sc-talk-tool-head:hover {
|
|
648
|
+
background: var(--sc-color-bg-inset);
|
|
649
|
+
}
|
|
650
|
+
|
|
651
|
+
/* That a call is still running is one word at the row's end, never broken where the row is narrow. */
|
|
652
|
+
.sc-talk-tool-head > .sc-muted {
|
|
653
|
+
flex: none;
|
|
654
|
+
white-space: nowrap;
|
|
655
|
+
}
|
|
656
|
+
|
|
657
|
+
.sc-talk-tool-head:focus-visible {
|
|
658
|
+
outline: var(--sc-focus-ring);
|
|
659
|
+
outline-offset: 2px;
|
|
660
|
+
}
|
|
661
|
+
|
|
662
|
+
.sc-talk-tool-name,
|
|
663
|
+
.sc-talk-kind {
|
|
664
|
+
flex: none;
|
|
665
|
+
color: var(--sc-color-text-muted);
|
|
666
|
+
font-size: var(--sc-text-xs);
|
|
667
|
+
font-weight: var(--sc-weight-bold);
|
|
668
|
+
}
|
|
669
|
+
|
|
670
|
+
.sc-talk-tool-name {
|
|
671
|
+
padding: 0.125rem var(--sc-space-2);
|
|
672
|
+
border-radius: var(--sc-radius-sm);
|
|
673
|
+
background: var(--sc-color-bg-inset);
|
|
674
|
+
font-family: var(--sc-font-mono);
|
|
675
|
+
font-weight: var(--sc-weight-normal);
|
|
676
|
+
}
|
|
677
|
+
|
|
678
|
+
.sc-talk-tool-line {
|
|
679
|
+
flex: 1 1 auto;
|
|
680
|
+
min-width: 0;
|
|
681
|
+
overflow: hidden;
|
|
682
|
+
color: var(--sc-color-text-muted);
|
|
683
|
+
font-family: var(--sc-font-mono);
|
|
684
|
+
font-size: var(--sc-text-xs);
|
|
685
|
+
text-overflow: ellipsis;
|
|
686
|
+
white-space: nowrap;
|
|
687
|
+
}
|
|
688
|
+
|
|
689
|
+
.sc-talk-thought .sc-talk-tool-line {
|
|
690
|
+
font-family: inherit;
|
|
691
|
+
font-size: var(--sc-text-sm);
|
|
692
|
+
font-style: italic;
|
|
693
|
+
}
|
|
694
|
+
|
|
695
|
+
.sc-talk-tool-failed > .sc-talk-tool-fold {
|
|
696
|
+
box-shadow: inset 0 0 0 1px var(--sc-color-danger);
|
|
697
|
+
}
|
|
698
|
+
|
|
699
|
+
.sc-talk-tool-body {
|
|
700
|
+
display: grid;
|
|
701
|
+
grid-template-columns: minmax(0, 1fr);
|
|
702
|
+
gap: var(--sc-space-2);
|
|
703
|
+
padding: var(--sc-space-1) var(--sc-space-3) var(--sc-space-3);
|
|
704
|
+
}
|
|
705
|
+
|
|
706
|
+
.sc-talk-code {
|
|
707
|
+
max-height: 24rem;
|
|
708
|
+
padding: var(--sc-space-2) var(--sc-space-3);
|
|
709
|
+
overflow: auto;
|
|
710
|
+
border-radius: var(--sc-radius-sm);
|
|
711
|
+
background: var(--sc-color-bg-inset);
|
|
712
|
+
font-family: var(--sc-font-mono);
|
|
713
|
+
font-size: var(--sc-text-xs);
|
|
714
|
+
line-height: var(--sc-leading-snug);
|
|
715
|
+
}
|
|
716
|
+
|
|
717
|
+
.sc-talk-code-answer {
|
|
718
|
+
background: transparent;
|
|
719
|
+
box-shadow: inset 0 0 0 1px var(--sc-color-border);
|
|
720
|
+
}
|
|
721
|
+
|
|
722
|
+
.sc-talk-thought .sc-talk-text {
|
|
723
|
+
color: var(--sc-color-text-muted);
|
|
724
|
+
font-size: var(--sc-text-sm);
|
|
725
|
+
}
|
|
726
|
+
|
|
727
|
+
/* A wake, a status, an error: a note between. */
|
|
728
|
+
.sc-talk-note {
|
|
729
|
+
display: grid;
|
|
730
|
+
grid-template-columns: minmax(0, 1fr);
|
|
731
|
+
justify-items: center;
|
|
732
|
+
gap: var(--sc-space-1);
|
|
733
|
+
color: var(--sc-color-text-muted);
|
|
734
|
+
font-size: var(--sc-text-xs);
|
|
735
|
+
}
|
|
736
|
+
|
|
737
|
+
.sc-talk-note-line {
|
|
738
|
+
display: inline-flex;
|
|
739
|
+
flex-wrap: wrap;
|
|
740
|
+
align-items: center;
|
|
741
|
+
justify-content: center;
|
|
742
|
+
gap: var(--sc-space-1) var(--sc-space-2);
|
|
743
|
+
margin: 0;
|
|
744
|
+
color: var(--sc-color-text-muted);
|
|
745
|
+
font-size: var(--sc-text-xs);
|
|
746
|
+
}
|
|
747
|
+
|
|
748
|
+
.sc-talk-bubble .sc-talk-note-line,
|
|
749
|
+
.sc-talk-tool-body .sc-talk-note-line {
|
|
750
|
+
justify-content: flex-start;
|
|
751
|
+
}
|
|
752
|
+
|
|
753
|
+
.sc-talk-told > .sc-talk-note-line {
|
|
754
|
+
justify-content: flex-end;
|
|
755
|
+
}
|
|
756
|
+
|
|
757
|
+
.sc-talk-note-error .sc-talk-note-line,
|
|
758
|
+
.sc-talk-note-error .sc-talk-text,
|
|
759
|
+
.sc-talk-unread {
|
|
760
|
+
color: var(--sc-color-danger);
|
|
761
|
+
}
|
|
762
|
+
|
|
763
|
+
.sc-talk-text-note {
|
|
764
|
+
justify-self: stretch;
|
|
765
|
+
padding: var(--sc-space-2) var(--sc-space-3);
|
|
766
|
+
border-radius: var(--sc-radius-md);
|
|
767
|
+
background: var(--sc-color-bg-inset);
|
|
768
|
+
color: var(--sc-color-text-muted);
|
|
769
|
+
font-size: var(--sc-text-sm);
|
|
770
|
+
}
|
|
771
|
+
|
|
772
|
+
.sc-talk-unseen {
|
|
773
|
+
color: var(--sc-color-text);
|
|
774
|
+
}
|
|
775
|
+
|
|
776
|
+
.sc-talk-cut {
|
|
777
|
+
margin: 0;
|
|
778
|
+
color: var(--sc-color-text-muted);
|
|
779
|
+
font-size: var(--sc-text-xs);
|
|
780
|
+
}
|
|
781
|
+
|
|
782
|
+
/* Where a turn ended: a hairline with how long it took, quieter than a note. */
|
|
783
|
+
.sc-talk-turn {
|
|
784
|
+
display: flex;
|
|
785
|
+
align-items: center;
|
|
786
|
+
gap: var(--sc-space-3);
|
|
787
|
+
}
|
|
788
|
+
|
|
789
|
+
.sc-talk-turn::before,
|
|
790
|
+
.sc-talk-turn::after {
|
|
791
|
+
content: "";
|
|
792
|
+
flex: 1;
|
|
793
|
+
height: 1px;
|
|
794
|
+
background: var(--sc-color-border);
|
|
795
|
+
}
|
|
796
|
+
|
|
797
|
+
.sc-talk-turn > .sc-talk-note-line {
|
|
798
|
+
flex: none;
|
|
799
|
+
color: var(--sc-color-text-faint);
|
|
800
|
+
}
|
|
801
|
+
|
|
802
|
+
/* The sign that the agent is at work: its picture, three dots that rise in turn, and what it is at. */
|
|
803
|
+
.sc-talk-working {
|
|
804
|
+
display: flex;
|
|
805
|
+
align-items: center;
|
|
806
|
+
gap: var(--sc-space-3);
|
|
807
|
+
color: var(--sc-color-text-muted);
|
|
808
|
+
font-size: var(--sc-text-sm);
|
|
809
|
+
}
|
|
810
|
+
|
|
811
|
+
.sc-talk-dots {
|
|
812
|
+
display: inline-flex;
|
|
813
|
+
align-items: center;
|
|
814
|
+
gap: 0.25rem;
|
|
815
|
+
}
|
|
816
|
+
|
|
817
|
+
.sc-talk-dots > span {
|
|
818
|
+
width: 0.375rem;
|
|
819
|
+
height: 0.375rem;
|
|
820
|
+
border-radius: var(--sc-radius-full);
|
|
821
|
+
background: currentcolor;
|
|
822
|
+
opacity: 0.45;
|
|
823
|
+
}
|
|
824
|
+
|
|
825
|
+
@media (prefers-reduced-motion: no-preference) {
|
|
826
|
+
.sc-talk-dots > span {
|
|
827
|
+
animation: sc-talk-dot 1.2s ease-in-out infinite;
|
|
828
|
+
}
|
|
829
|
+
|
|
830
|
+
.sc-talk-dots > span:nth-child(2) {
|
|
831
|
+
animation-delay: 0.15s;
|
|
832
|
+
}
|
|
833
|
+
|
|
834
|
+
.sc-talk-dots > span:nth-child(3) {
|
|
835
|
+
animation-delay: 0.3s;
|
|
836
|
+
}
|
|
837
|
+
}
|
|
838
|
+
|
|
839
|
+
@keyframes sc-talk-dot {
|
|
840
|
+
0%,
|
|
841
|
+
60%,
|
|
842
|
+
100% {
|
|
843
|
+
opacity: 0.3;
|
|
844
|
+
transform: translateY(0);
|
|
845
|
+
}
|
|
846
|
+
|
|
847
|
+
30% {
|
|
848
|
+
opacity: 1;
|
|
849
|
+
transform: translateY(-0.1875rem);
|
|
850
|
+
}
|
|
851
|
+
}
|
|
852
|
+
|
|
853
|
+
/* The pictures of an event: small, side by side, each opening large over the page. */
|
|
854
|
+
.sc-talk-pictures {
|
|
855
|
+
display: flex;
|
|
856
|
+
flex-wrap: wrap;
|
|
857
|
+
gap: var(--sc-space-2);
|
|
858
|
+
margin: 0;
|
|
859
|
+
padding: 0;
|
|
860
|
+
list-style: none;
|
|
861
|
+
}
|
|
862
|
+
|
|
863
|
+
.sc-talk-pictures img {
|
|
864
|
+
display: block;
|
|
865
|
+
max-width: min(100%, 20rem);
|
|
866
|
+
max-height: 14rem;
|
|
867
|
+
border: var(--sc-border);
|
|
868
|
+
border-radius: var(--sc-radius-md);
|
|
869
|
+
background: var(--sc-color-sheet);
|
|
870
|
+
}
|
|
871
|
+
|
|
872
|
+
.sc-talk-tool > .sc-talk-pictures {
|
|
873
|
+
margin-top: var(--sc-space-2);
|
|
874
|
+
}
|
|
875
|
+
|
|
876
|
+
/* An agent's sessions, a row each that leads to the session: when, how it ended, what it ran and
|
|
877
|
+
where, and how many events it holds at the end. The row answers the pointer as a whole. */
|
|
878
|
+
.sc-agent-session-panel {
|
|
879
|
+
display: grid;
|
|
880
|
+
gap: var(--sc-space-2);
|
|
881
|
+
}
|
|
882
|
+
|
|
883
|
+
.sc-agent-session-panel > .sc-button {
|
|
884
|
+
justify-self: start;
|
|
885
|
+
}
|
|
886
|
+
|
|
887
|
+
.sc-agent-sessions {
|
|
888
|
+
display: grid;
|
|
889
|
+
grid-template-columns: minmax(0, 1.4fr) auto minmax(0, 2fr) auto;
|
|
890
|
+
column-gap: var(--sc-space-4);
|
|
891
|
+
margin: 0;
|
|
892
|
+
padding: 0;
|
|
893
|
+
list-style: none;
|
|
894
|
+
}
|
|
895
|
+
|
|
896
|
+
/* Every row on the columns of the list, so that what each says stands under the same thing above. */
|
|
897
|
+
.sc-agent-session {
|
|
898
|
+
position: relative;
|
|
899
|
+
display: grid;
|
|
900
|
+
grid-column: 1 / -1;
|
|
901
|
+
grid-template-columns: subgrid;
|
|
902
|
+
align-items: center;
|
|
903
|
+
gap: var(--sc-space-1) var(--sc-space-4);
|
|
904
|
+
min-width: 0;
|
|
905
|
+
margin-inline: calc(var(--sc-space-3) * -1);
|
|
906
|
+
padding: var(--sc-space-3);
|
|
907
|
+
border-radius: var(--sc-radius-md);
|
|
908
|
+
transition: background var(--sc-transition);
|
|
909
|
+
}
|
|
910
|
+
|
|
911
|
+
.sc-agent-session + .sc-agent-session::before {
|
|
912
|
+
position: absolute;
|
|
913
|
+
inset: 0 var(--sc-space-3) auto;
|
|
914
|
+
height: 1px;
|
|
915
|
+
background: var(--sc-color-border);
|
|
916
|
+
content: "";
|
|
917
|
+
}
|
|
918
|
+
|
|
919
|
+
.sc-agent-session:hover,
|
|
920
|
+
.sc-agent-session:focus-within {
|
|
921
|
+
background: var(--sc-color-bg-inset);
|
|
922
|
+
}
|
|
923
|
+
|
|
924
|
+
.sc-agent-session-when {
|
|
925
|
+
min-width: 0;
|
|
926
|
+
font-size: var(--sc-text-sm);
|
|
927
|
+
font-weight: var(--sc-weight-medium);
|
|
928
|
+
font-feature-settings: var(--sc-numeric);
|
|
929
|
+
}
|
|
930
|
+
|
|
931
|
+
.sc-agent-session-link {
|
|
932
|
+
color: var(--sc-color-text);
|
|
933
|
+
text-decoration: none;
|
|
934
|
+
}
|
|
935
|
+
|
|
936
|
+
.sc-agent-session-link::after {
|
|
937
|
+
position: absolute;
|
|
938
|
+
inset: 0;
|
|
939
|
+
border-radius: inherit;
|
|
940
|
+
content: "";
|
|
941
|
+
}
|
|
942
|
+
|
|
943
|
+
.sc-agent-session-link:focus-visible {
|
|
944
|
+
outline: none;
|
|
945
|
+
}
|
|
946
|
+
|
|
947
|
+
.sc-agent-session:has(.sc-agent-session-link:focus-visible) {
|
|
948
|
+
outline: var(--sc-focus-ring);
|
|
949
|
+
outline-offset: 0;
|
|
950
|
+
}
|
|
951
|
+
|
|
952
|
+
.sc-agent-session-until {
|
|
953
|
+
color: var(--sc-color-text-muted);
|
|
954
|
+
font-weight: var(--sc-weight-normal);
|
|
955
|
+
}
|
|
956
|
+
|
|
957
|
+
.sc-agent-session-badges {
|
|
958
|
+
display: inline-flex;
|
|
959
|
+
flex-wrap: wrap;
|
|
960
|
+
gap: var(--sc-space-1);
|
|
961
|
+
}
|
|
962
|
+
|
|
963
|
+
.sc-agent-session-facts {
|
|
964
|
+
min-width: 0;
|
|
965
|
+
color: var(--sc-color-text-muted);
|
|
966
|
+
font-size: var(--sc-text-sm);
|
|
967
|
+
overflow-wrap: anywhere;
|
|
968
|
+
}
|
|
969
|
+
|
|
970
|
+
.sc-agent-session-count {
|
|
971
|
+
color: var(--sc-color-text-muted);
|
|
972
|
+
font-size: var(--sc-text-sm);
|
|
973
|
+
font-feature-settings: var(--sc-numeric);
|
|
974
|
+
white-space: nowrap;
|
|
975
|
+
}
|
|
976
|
+
|
|
977
|
+
/* In the narrow column beside a session, and where the window is narrow, a session reads as a
|
|
978
|
+
few lines: when and how it ended, then what it ran. */
|
|
979
|
+
.sc-agent-live-side .sc-agent-sessions {
|
|
980
|
+
grid-template-columns: minmax(0, 1fr) auto;
|
|
981
|
+
}
|
|
982
|
+
|
|
983
|
+
.sc-agent-live-side .sc-agent-session-facts,
|
|
984
|
+
.sc-agent-live-side .sc-agent-session-count {
|
|
985
|
+
grid-column: 1 / -1;
|
|
986
|
+
}
|
|
987
|
+
|
|
988
|
+
@media (max-width: 48rem) {
|
|
989
|
+
.sc-agent-sessions {
|
|
990
|
+
grid-template-columns: minmax(0, 1fr) auto;
|
|
991
|
+
}
|
|
992
|
+
|
|
993
|
+
.sc-agent-session-facts,
|
|
994
|
+
.sc-agent-session-count {
|
|
995
|
+
grid-column: 1 / -1;
|
|
996
|
+
}
|
|
997
|
+
}
|
|
998
|
+
|
|
999
|
+
/* The way back from one session to all of them: the console's crumbs, a mark of the way back before it. */
|
|
1000
|
+
.sc-agent-crumbs a::before {
|
|
1001
|
+
content: "‹ ";
|
|
1002
|
+
}
|
|
1003
|
+
|
|
1004
|
+
.sc-agent-session-panel + .sc-agent-transcript {
|
|
1005
|
+
margin-top: var(--sc-space-4);
|
|
1006
|
+
}
|
|
1007
|
+
|
|
1008
|
+
/* The short lists of the settings, a row each, a hairline between, what is done to it at the end. */
|
|
1009
|
+
.sc-agent-secret-list {
|
|
1010
|
+
display: grid;
|
|
1011
|
+
margin: 0 0 var(--sc-space-3);
|
|
1012
|
+
padding: 0;
|
|
1013
|
+
list-style: none;
|
|
1014
|
+
}
|
|
1015
|
+
|
|
1016
|
+
.sc-agent-secret {
|
|
1017
|
+
display: flex;
|
|
1018
|
+
flex-wrap: wrap;
|
|
1019
|
+
align-items: center;
|
|
1020
|
+
gap: var(--sc-space-1) var(--sc-space-3);
|
|
1021
|
+
min-width: 0;
|
|
1022
|
+
padding-block: var(--sc-space-2);
|
|
1023
|
+
font-size: var(--sc-text-sm);
|
|
1024
|
+
}
|
|
1025
|
+
|
|
1026
|
+
.sc-agent-secret + .sc-agent-secret {
|
|
1027
|
+
border-top: var(--sc-hairline);
|
|
1028
|
+
}
|
|
1029
|
+
|
|
1030
|
+
.sc-agent-secret > code {
|
|
1031
|
+
padding: 0.0625rem var(--sc-space-2);
|
|
1032
|
+
border-radius: var(--sc-radius-sm);
|
|
1033
|
+
background: var(--sc-color-bg-inset);
|
|
1034
|
+
font-size: var(--sc-text-xs);
|
|
1035
|
+
}
|
|
1036
|
+
|
|
1037
|
+
.sc-agent-secret > .sc-muted {
|
|
1038
|
+
font-size: var(--sc-text-xs);
|
|
1039
|
+
}
|
|
1040
|
+
|
|
1041
|
+
.sc-agent-secret > :last-child {
|
|
1042
|
+
margin-left: auto;
|
|
1043
|
+
}
|
|
1044
|
+
|
|
1045
|
+
/* What is kept of the agent: two columns where there is room, each a stack of sections. */
|
|
1046
|
+
.sc-agent-settings {
|
|
1047
|
+
display: grid;
|
|
1048
|
+
grid-template-columns: repeat(auto-fit, minmax(min(100%, 26rem), 1fr));
|
|
1049
|
+
align-items: start;
|
|
1050
|
+
gap: var(--sc-space-4);
|
|
1051
|
+
}
|
|
1052
|
+
|
|
1053
|
+
.sc-agent-settings > .sc-callout {
|
|
1054
|
+
grid-column: 1 / -1;
|
|
1055
|
+
}
|
|
1056
|
+
|
|
1057
|
+
.sc-agent-settings-column {
|
|
1058
|
+
display: grid;
|
|
1059
|
+
gap: var(--sc-space-4);
|
|
1060
|
+
min-width: 0;
|
|
1061
|
+
}
|
|
1062
|
+
|
|
1063
|
+
.sc-agent-settings-column > .sc-panel {
|
|
1064
|
+
margin: 0;
|
|
1065
|
+
}
|
|
1066
|
+
|
|
1067
|
+
.sc-agent-settings .sc-field-hint {
|
|
1068
|
+
margin-bottom: 0;
|
|
1069
|
+
}
|
|
1070
|
+
|
|
1071
|
+
.sc-agent-secret-form,
|
|
1072
|
+
.sc-agent-persona {
|
|
1073
|
+
display: flex;
|
|
1074
|
+
flex-wrap: wrap;
|
|
1075
|
+
align-items: end;
|
|
1076
|
+
gap: var(--sc-space-2) var(--sc-space-3);
|
|
1077
|
+
}
|
|
1078
|
+
|
|
1079
|
+
.sc-agent-persona .sc-field {
|
|
1080
|
+
flex: 1 1 10rem;
|
|
1081
|
+
min-width: 0;
|
|
1082
|
+
margin: 0;
|
|
1083
|
+
}
|
|
1084
|
+
|
|
1085
|
+
.sc-agent-persona .sc-input {
|
|
1086
|
+
width: 100%;
|
|
1087
|
+
}
|
|
1088
|
+
|
|
1089
|
+
.sc-agent-settings .sc-agent-runner-facts {
|
|
1090
|
+
margin-bottom: var(--sc-space-4);
|
|
1091
|
+
padding-top: 0;
|
|
1092
|
+
border-top: 0;
|
|
1093
|
+
}
|
|
1094
|
+
|
|
1095
|
+
.sc-agents-need-you {
|
|
1096
|
+
margin-bottom: var(--sc-space-5);
|
|
1097
|
+
}
|
|
1098
|
+
|
|
1099
|
+
.sc-agent-need-link {
|
|
1100
|
+
display: inline-flex;
|
|
1101
|
+
align-items: center;
|
|
1102
|
+
gap: var(--sc-space-2);
|
|
1103
|
+
}
|
|
1104
|
+
|
|
1105
|
+
.sc-agent-product {
|
|
1106
|
+
display: inline-flex;
|
|
1107
|
+
flex-wrap: wrap;
|
|
1108
|
+
align-items: center;
|
|
1109
|
+
gap: var(--sc-space-2);
|
|
1110
|
+
}
|
|
1111
|
+
|
|
1112
|
+
/* A secret seeded in one row: its name, its value and the way to seed it. */
|
|
1113
|
+
.sc-agent-secret-form {
|
|
1114
|
+
display: grid;
|
|
1115
|
+
grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
|
|
1116
|
+
}
|
|
1117
|
+
|
|
1118
|
+
.sc-agent-secret-form .sc-input {
|
|
1119
|
+
width: 100%;
|
|
1120
|
+
}
|
|
1121
|
+
|
|
1122
|
+
@media (max-width: 40rem) {
|
|
1123
|
+
.sc-agent-secret-form {
|
|
1124
|
+
grid-template-columns: minmax(0, 1fr) auto;
|
|
1125
|
+
}
|
|
1126
|
+
|
|
1127
|
+
.sc-agent-secret-form > :first-child {
|
|
1128
|
+
grid-column: 1 / -1;
|
|
1129
|
+
}
|
|
1130
|
+
}
|
|
1131
|
+
|
|
1132
|
+
/* The invitation under an agent account, and the guide its code opens (ADR-0088). */
|
|
1133
|
+
.sc-agent-invitation {
|
|
1134
|
+
display: grid;
|
|
1135
|
+
gap: var(--sc-space-3);
|
|
1136
|
+
}
|
|
1137
|
+
|
|
1138
|
+
.sc-agent-invitation > p,
|
|
1139
|
+
.sc-agent-invitation .sc-callout p {
|
|
1140
|
+
margin: 0;
|
|
1141
|
+
}
|
|
1142
|
+
|
|
1143
|
+
.sc-agent-invitation .sc-callout .sc-copyable {
|
|
1144
|
+
margin: var(--sc-space-2) 0 var(--sc-space-3);
|
|
1145
|
+
}
|
|
1146
|
+
|
|
1147
|
+
.sc-agent-invitation-actions {
|
|
1148
|
+
display: flex;
|
|
1149
|
+
flex-wrap: wrap;
|
|
1150
|
+
gap: var(--sc-space-2);
|
|
1151
|
+
}
|
|
1152
|
+
|
|
1153
|
+
/* A line to say or to run breaks between its words, and within one only where it must. */
|
|
1154
|
+
.sc-agent-invitation .sc-code,
|
|
1155
|
+
.sc-setup .sc-code {
|
|
1156
|
+
word-break: normal;
|
|
1157
|
+
overflow-wrap: anywhere;
|
|
1158
|
+
}
|
|
1159
|
+
|
|
1160
|
+
.sc-setup {
|
|
1161
|
+
display: grid;
|
|
1162
|
+
gap: var(--sc-space-4);
|
|
1163
|
+
max-width: 48rem;
|
|
1164
|
+
margin: 0 auto;
|
|
1165
|
+
}
|
|
1166
|
+
|
|
1167
|
+
.sc-setup > p {
|
|
1168
|
+
margin: 0;
|
|
1169
|
+
}
|
|
1170
|
+
|
|
1171
|
+
.sc-setup-head {
|
|
1172
|
+
display: flex;
|
|
1173
|
+
flex-wrap: wrap;
|
|
1174
|
+
align-items: center;
|
|
1175
|
+
gap: var(--sc-space-3);
|
|
1176
|
+
}
|
|
1177
|
+
|
|
1178
|
+
.sc-setup-section .sc-section-title {
|
|
1179
|
+
display: flex;
|
|
1180
|
+
flex-wrap: wrap;
|
|
1181
|
+
align-items: center;
|
|
1182
|
+
gap: var(--sc-space-2);
|
|
1183
|
+
}
|
|
1184
|
+
|
|
1185
|
+
.sc-setup-steps {
|
|
1186
|
+
display: grid;
|
|
1187
|
+
gap: var(--sc-space-3);
|
|
1188
|
+
margin: var(--sc-space-3) 0 0;
|
|
1189
|
+
padding-inline-start: var(--sc-space-5);
|
|
1190
|
+
}
|
|
1191
|
+
|
|
1192
|
+
.sc-setup-steps p {
|
|
1193
|
+
margin: var(--sc-space-1) 0 var(--sc-space-2);
|
|
1194
|
+
overflow-wrap: anywhere;
|
|
1195
|
+
}
|