@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
package/src/cli/help.ts
CHANGED
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
DEFAULT_PAGE_LIMIT,
|
|
3
|
+
INVITATION_DAYS,
|
|
4
|
+
MAX_AGENT_ELSEWHERE,
|
|
3
5
|
MAX_AGENT_LENGTH,
|
|
6
|
+
MAX_AGENT_SECRET_BYTES,
|
|
7
|
+
MAX_AGENT_SECRET_NAME_LENGTH,
|
|
8
|
+
MAX_AGENT_SECRETS,
|
|
4
9
|
MAX_ARTIFACTS_PER_RUN,
|
|
5
10
|
MAX_BODY_LENGTH,
|
|
6
11
|
MAX_CATEGORIES,
|
|
@@ -12,15 +17,19 @@ import {
|
|
|
12
17
|
MAX_DOCUMENT_LENGTH,
|
|
13
18
|
MAX_DOCUMENT_PATH_LENGTH,
|
|
14
19
|
MAX_DOCUMENTS_PER_PROJECT,
|
|
20
|
+
MAX_ELSEWHERE_NAME_LENGTH,
|
|
15
21
|
MAX_FILE_BYTES,
|
|
16
22
|
MAX_FILES_PER_COMMENT,
|
|
17
23
|
MAX_FILES_PER_DECISION,
|
|
18
24
|
MAX_FILES_PER_DOCUMENT,
|
|
19
25
|
MAX_GOALS_PER_PROJECT,
|
|
26
|
+
MAX_HANDLE_LENGTH,
|
|
20
27
|
MAX_LINK_LABEL_LENGTH,
|
|
21
28
|
MAX_NOTE_LENGTH,
|
|
22
29
|
MAX_OPTION_LABEL_LENGTH,
|
|
23
30
|
MAX_OPTIONS,
|
|
31
|
+
MAX_PERSON_NAME_LENGTH,
|
|
32
|
+
MAX_PERSON_TITLE_LENGTH,
|
|
24
33
|
MAX_PROJECT_DESCRIPTION_LENGTH,
|
|
25
34
|
MAX_PROJECT_ICON_BYTES,
|
|
26
35
|
MAX_PROJECT_KEY_LENGTH,
|
|
@@ -37,6 +46,7 @@ import {
|
|
|
37
46
|
MAX_TITLE_LENGTH,
|
|
38
47
|
MAX_VERSIONS_PER_DOCUMENT,
|
|
39
48
|
MAX_WORKERS,
|
|
49
|
+
MIN_HANDLE_LENGTH,
|
|
40
50
|
MIN_OPTIONS,
|
|
41
51
|
} from "../limits.js";
|
|
42
52
|
import { COLOR_NAMES } from "../vocabulary.js";
|
|
@@ -62,6 +72,11 @@ export interface CommandHelp {
|
|
|
62
72
|
readonly limits?: readonly string[];
|
|
63
73
|
/** What the console may refuse, by code, and what to do then. */
|
|
64
74
|
readonly refusals?: readonly string[];
|
|
75
|
+
/**
|
|
76
|
+
* A skill of the console's own that says how the command's work goes, and what it says: the
|
|
77
|
+
* command's own help names it with its place on this machine, as `whoami` names the board's.
|
|
78
|
+
*/
|
|
79
|
+
readonly skill?: { readonly name: string; readonly says: string };
|
|
65
80
|
}
|
|
66
81
|
|
|
67
82
|
/** The refusals any command may meet, said once in the overview. */
|
|
@@ -74,7 +89,7 @@ const COMMON_REFUSALS = [
|
|
|
74
89
|
|
|
75
90
|
/** How a command on a run finds its run, and what it says when it cannot: the command's own refusals. */
|
|
76
91
|
const RUN_CHOICE = [
|
|
77
|
-
"run.none: no run
|
|
92
|
+
"run.none: no run begun through this agent is open in the project. Where a run of yours begun through another agent, or before a new sign-in, is open there, the refusal names it: go on with it by --run <id>, and do not take its task again, which would end it. Where none is: take a task first",
|
|
78
93
|
"run.ambiguous: several runs of yours are open in the project; say which with --run <id>",
|
|
79
94
|
];
|
|
80
95
|
|
|
@@ -112,13 +127,15 @@ const TASK_FIELD_REFUSALS = [
|
|
|
112
127
|
|
|
113
128
|
export const COMMAND_HELP: Readonly<Record<string, CommandHelp>> = {
|
|
114
129
|
login: {
|
|
115
|
-
usage:
|
|
130
|
+
usage:
|
|
131
|
+
"login --url <origin> [--agent <name>] [--self] [--token-stdin] [--default] [--wait <seconds>]",
|
|
132
|
+
overview: "login --url <origin> [flags]",
|
|
116
133
|
synopsis:
|
|
117
134
|
"Connects this agent to the console with a code a person approves; keeps the token, never shows it.",
|
|
118
135
|
about:
|
|
119
|
-
"Connects this agent to the console: shows an address and a code, which a person opens signed in, names the agent and approves; the command then receives a token of its own and keeps it, with the console's address and the account, in your home directory, never showing it. One login per console and account: a second console adds a login beside the first, the first is the default console a directory that names none works at, and --default makes this one that. A login repeated for the same console and account replaces its token, which is given up at the console.
|
|
136
|
+
"Connects this agent to the console: shows an address and a code, which a person opens signed in, names the agent and approves; the command then receives a token of its own and keeps it, with the console's address and the account, in your home directory, never showing it. One login per console and account: a second console adds a login beside the first, the first is the default console a directory that names none works at, and --default makes this one that. A login repeated for the same console and account replaces its token, which is given up at the console. At a terminal the command waits for the approval where it stands. Where no terminal shows its words as they are printed, as under an agent, whose host shows them when the command ends, the first call says the address and the code and ends at once (ADR-0129): the agent tells its person both first, in a message of its own, and only then runs the same command again, which begins no new code and waits for the approval, ninety seconds a call, ending with the code of a wait (3) and how to wait on while the code lasts; the moment the first call prints is when the code ends, not how long a call waits. --wait <seconds> says another wait for either call. The connection that waits is kept with the logins for as long as its code lasts and never shown; console logins names its code, and console logout forgets it. One whose code ran out, or that the console no longer knows, is forgotten and said, and a new code begun. --agent says what the agent calls itself; left out, the command names the agent it runs under where its environment says so (Claude Code, Codex), else An agent; the machine's name follows, and the pages show the name before 'on' with the whole on hover. --token-stdin takes a token made by hand instead, typed unseen at the terminal, or from standard input for a script or a job; never an argument, which a shell would keep. --self signs the command in as the account itself (ADR-0084), which is how an agent account's own command signs in: the page asks whoever is signed in there whether the command is them, and what the command then holds is a session of its own in place of a token, kept for as long as it is used and ended when left unused as a browser's session is, so that an agent at work has nothing to renew. What is done with it is done by the account, with no agent named beside it; it does what a token may, and is seen and ended among the account's sessions. console logout gives it up. The wait's end is printed as a moment is, in the workspace's time zone where a login at the console kept it. The last line says what is bound to a project, a project's checkout with console use <key>, and names no next step: a desk, or a folder that is no checkout of a project's repository, is bound to none.",
|
|
120
137
|
refusals: [
|
|
121
|
-
"connect.not_found: the code was not approved in time, or the person said it was not theirs; run login again",
|
|
138
|
+
"connect.not_found: the code was not approved in time, or the person said it was not theirs; run login again (a connection kept from a call before is forgotten, and a new code begun in its place)",
|
|
122
139
|
"the console does not know the token given: make one on the Agents page and try again",
|
|
123
140
|
],
|
|
124
141
|
},
|
|
@@ -126,19 +143,22 @@ export const COMMAND_HELP: Readonly<Record<string, CommandHelp>> = {
|
|
|
126
143
|
usage: "logins",
|
|
127
144
|
synopsis: "The consoles this machine is signed in to, and which is the default.",
|
|
128
145
|
about:
|
|
129
|
-
"The consoles this machine is signed in to, each with the account, what the token is called there, since when, and which is the default; never a token.",
|
|
146
|
+
"The consoles this machine is signed in to, each with the account, what the token is called there, since when, and which is the default; never a token. A connection that waits for a person's approval (console login) is named by its console, its code and the code's end while it lasts, never by its secret.",
|
|
130
147
|
},
|
|
131
148
|
logout: {
|
|
132
149
|
usage: "logout [--url <origin>] [--account <login>]",
|
|
133
150
|
synopsis: "Gives this agent's token up at one console and forgets it here.",
|
|
134
151
|
about:
|
|
135
|
-
"Signs this agent out of one console: gives the token up there, so that it is good for nothing from now on, and forgets it here. Which console: --url, else the one this directory is bound to, else the default, else the one console signed in to; --account says which account where the console has several. A console out of reach leaves the token to the Agents page.",
|
|
152
|
+
"Signs this agent out of one console: gives the token up there, so that it is good for nothing from now on, and forgets it here. Which console: --url, else the one this directory is bound to, else the default, else the one console signed in to; --account says which account where the console has several. A console out of reach leaves the token to the Agents page. A connection that waited for a person's approval at that console is forgotten with it, and where nobody is signed in there it is forgotten all the same.",
|
|
136
153
|
},
|
|
137
154
|
whoami: {
|
|
138
155
|
usage: "whoami",
|
|
139
156
|
synopsis: "Who the token acts as, at which console, and in which project this directory works.",
|
|
140
157
|
about:
|
|
141
|
-
"Who the token acts as, which console the command talks to from here and as which account, and which project this directory works in.",
|
|
158
|
+
"Who the token acts as, which console the command talks to from here and as which account, and which project this directory works in: its key and its name as the console has it, and what named it, .skillcdn-console.json with the directory that holds it, CONSOLE_PROJECT or --project (ADR-0112). Changes nothing on the board. A directory that names no project is said so, and the command ends well. Then what is read before the first task, console rules and the skill working-the-board with where it is on this machine, and that one command's flags are read with console help <command>; and the versions of the command and the console.",
|
|
159
|
+
refusals: [
|
|
160
|
+
"project.not_found: the console the command talks to has no project of the key this directory names, or does not show it to you; said after who and where, with what named the key and the two things to do: where the project is there and you are not in it, one of its owners lists you (console member add <login> --project <key>); where the key is wrong, the directory is bound to the right one, the key the repository's agreement names or the one the person says, with console use <key>. Every command that works in the directory's project says the same of it",
|
|
161
|
+
],
|
|
142
162
|
},
|
|
143
163
|
projects: {
|
|
144
164
|
usage: "projects",
|
|
@@ -151,7 +171,7 @@ export const COMMAND_HELP: Readonly<Record<string, CommandHelp>> = {
|
|
|
151
171
|
synopsis:
|
|
152
172
|
"Binds this directory to a project: writes .skillcdn-console.json here, and prints the sentence for the checkout's agreement.",
|
|
153
173
|
about:
|
|
154
|
-
"Says which project this directory works in: writes .skillcdn-console.json here, which the commands read from this directory or one above it, and which is meant to be committed in a private repository and left out of a public one. The file names the project
|
|
174
|
+
"Says which project this directory works in: writes .skillcdn-console.json here, which the commands read from this directory or one above it, and which is meant to be committed in a private repository and left out of a public one. The file names the project and the console the command talked to, every time, so that a clone on another machine works at the same console whatever is the default login there (ADR-0112); and the account only where --account says so, or where the directory named it before. Never a token. --project <key> on any command, or CONSOLE_PROJECT in the environment, wins over the project it names. Then prints the sentence for the checkout's agreement (AGENTS.md, or CLAUDE.md where that is the file agents read), to be copied as it is, since nothing sends an agent to the console until the checkout says so: it has every agent run console whoami before its first step there, whose answer says what to read.",
|
|
155
175
|
refusals: ["project.not_found: no project has the key, or it is not yours to see"],
|
|
156
176
|
},
|
|
157
177
|
work: {
|
|
@@ -159,7 +179,7 @@ export const COMMAND_HELP: Readonly<Record<string, CommandHelp>> = {
|
|
|
159
179
|
synopsis:
|
|
160
180
|
"What is on your plate across your projects: your open tasks, and the decisions waiting for you.",
|
|
161
181
|
about:
|
|
162
|
-
"What is on your plate across the projects you may see: the open tasks you work on, the sooner due first, each with its project; and the decisions waiting for your answer (ADR-0042). Needs no project. --person <login> shows another person's plate, for an administrator or for an owner of a project they are in: the open tasks they work on within the projects you may see, without the decisions.",
|
|
182
|
+
"What is on your plate across the projects you may see: the open tasks you work on, the sooner due first, each with its project; and the decisions waiting for your answer (ADR-0042), each with who asked it and when, which is since when it waits. Needs no project. --person <login> shows another person's plate, for an administrator or for an owner of a project they are in: the open tasks they work on within the projects you may see, without the decisions.",
|
|
163
183
|
},
|
|
164
184
|
tasks: {
|
|
165
185
|
usage:
|
|
@@ -170,12 +190,12 @@ export const COMMAND_HELP: Readonly<Record<string, CommandHelp>> = {
|
|
|
170
190
|
limits: [`search: 1 to ${MAX_SEARCH_LENGTH} characters`],
|
|
171
191
|
},
|
|
172
192
|
task: {
|
|
173
|
-
usage: `task <number|id> | task new <title> [--body <markdown>|--file <path>] ${TASK_FIELD_FLAGS} | task edit <number|id> [--title <title>] [--body <markdown>|--file <path>] ${TASK_FIELD_FLAGS} | task archive <number|id> | task archive --goal <id> | task restore <number|id>`,
|
|
193
|
+
usage: `task <number|id> | task new <title> [--body <markdown>|--file <path>] ${TASK_FIELD_FLAGS} [--take [--rules <mark>] [--agent <name>]] | task edit <number|id> [--title <title>] [--body <markdown>|--file <path>] ${TASK_FIELD_FLAGS} | task archive <number|id> | task archive --goal <id> | task restore <number|id>`,
|
|
174
194
|
overview:
|
|
175
195
|
"task <number|id> | task new <title> [flags] | task edit <number|id> [flags] | task archive <number|id>|--goal <id> | task restore <number|id>",
|
|
176
196
|
synopsis: "One task in full; or a task written, changed, put away or brought back.",
|
|
177
197
|
about:
|
|
178
|
-
"One task in full, with its plan (category, goal, start and due days), what happened to it (when it was started and done, which the board keeps itself, and when it was put away), the decisions about it, the runs on it and the discussion on it, each comment whole with its files; or a new task written down; or a task changed, only in what the flags say, where none clears a field (priorities: low, normal, high, urgent). archive puts a task away, whatever its state (ADR-0029, ADR-0030): out of the listings, the board and the calendar, open by its number still; with --goal, every done or dropped task of the goal at once, for an owner. restore brings one back.",
|
|
198
|
+
"One task in full, with the address of its page (page: ..., what a person told of the task is given to open), its plan (category, goal, start and due days), what happened to it (when it was started and done, which the board keeps itself, and when it was put away), the decisions about it, the runs on it and the discussion on it, each comment whole with its files; or a new task written down; or a task changed, only in what the flags say, where none clears a field (priorities: low, normal, high, urgent). task new --take writes the task and takes it in one command, for work given in chat: it prints what task new prints, the number first, then what console take prints, with --rules and --agent as take has them; the task is written ready where no state is said, and a state that cannot be taken, done or dropped, is refused before anything is written. Where the take fails after the task was written, the command says so with the number: console take <number> is the way on, and the task is not written again. Where the run began and only the reading of what a take prints failed, it says that the task is taken, by which run, and that it is not taken again. archive puts a task away, whatever its state (ADR-0029, ADR-0030): out of the listings, the board and the calendar, open by its number still; with --goal, every done or dropped task of the goal at once, for an owner. restore brings one back.",
|
|
179
199
|
limits: [
|
|
180
200
|
`title: one line, up to ${MAX_TITLE_LENGTH} characters, saying what is to be done on its own; what it refers to goes in the body`,
|
|
181
201
|
`body: ${MARKDOWN}`,
|
|
@@ -229,6 +249,84 @@ export const COMMAND_HELP: Readonly<Record<string, CommandHelp>> = {
|
|
|
229
249
|
about:
|
|
230
250
|
"The people of the workspace you see, by login, with their name where the host gives one and what they are in it: admin, who configures the workspace, or member, who works in the projects they are in; a person taken out is marked deactivated. Everyone, unless the workspace shows a member only the people they share a project with (console workspace says which; an administrator sees everyone). Then, where you see everyone, the logins an administrator let in that nobody has signed in with yet. The logins are what --worker, member and person take; a login is found exactly, so an owner lists someone the list does not show.",
|
|
231
251
|
},
|
|
252
|
+
manager: {
|
|
253
|
+
usage: "manager",
|
|
254
|
+
synopsis: "Whom you report to, or the administrators where nobody.",
|
|
255
|
+
about:
|
|
256
|
+
"Whom you report to in the reporting line of the directory (ADR-0084), a person or an agent account, for a person as for an agent account: whom to turn to first where you do not know whom to ask, and who is answerable for an agent account. Where you report to nobody, or your manager is out, the administrators are named, who stand in. A manager is no rule of the board: a decision is addressed to whomever can decide it (console ask --to <login>), and to nobody in particular where anyone of the project may.",
|
|
257
|
+
},
|
|
258
|
+
agents: {
|
|
259
|
+
usage: "agents",
|
|
260
|
+
synopsis: "The agent accounts you see, by handle.",
|
|
261
|
+
about:
|
|
262
|
+
"The agent accounts of the workspace (ADR-0084): agents that are members of their own, each signed in through the identity provider with an account of its own, under the rules a person is under and never an administrator. One line each: the handle it is called by (@mira), its name and what it does, the login it signs in with, whom it reports to where you see them, and that nobody signed in with it yet. You read the ones you see as people, and the ones you supervise, as an administrator or above them in the reporting line. An agent account is a member, so console people lists it too, and its login is taken wherever a login is.",
|
|
263
|
+
},
|
|
264
|
+
agent: {
|
|
265
|
+
usage:
|
|
266
|
+
'agent <handle> [--avatar <file>] [--account <service>=<name|none>]... [--day-start <HH:MM|none>] [--day-end <HH:MM|none>] | agent new <handle> [--login <login>] [--name "<name>"] [--title "<title>"] [--manager <login|me>] [--host gh|google] [--seed <seed>] [--convert] | agent tell <handle> "<words>" [--file <path>] | agent interrupt|stop|restart|reset|wake <handle> ["<words>"] | agent set <handle> [--model <name|none>] [--effort <level|none>] | agent signals <handle|me> [--limit <n>] [--before <number>] | agent secrets <handle> | agent secret <handle> <name> [--file <path>] [--expires <day|none>] | agent secret <handle> <name> --remove | agent invite <handle> [--revoke] | agent setup --console <origin> --code <code> [--guide] [--desk <dir>] [--new-desk] [--no-service] | agent setup --refresh [--desk <dir>]',
|
|
267
|
+
overview:
|
|
268
|
+
"agent <handle> | agent new <handle> [flags] | agent tell|interrupt|stop|restart|reset|set|wake|signals|secrets|invite <handle> | agent secret <handle> <name>",
|
|
269
|
+
synopsis:
|
|
270
|
+
"One agent account and how it stands; or one made, told, stopped, started, or its secrets seeded, by whoever may.",
|
|
271
|
+
about:
|
|
272
|
+
"One agent account by its handle, with or without the @: its line as console agents prints it, and whether you supervise it. With --avatar, its avatar is written as a PNG file of 1024 pixels a side, to the path given, or into a directory under the handle's name: the picture is drawn here from the parts the console keeps (ADR-0084), for the profile of the agent's account elsewhere, at a messenger or at the identity provider, where the agent puts it with that service's own tool or in a browser. With --account <service>=<name>, given once for each, the accounts the agent holds elsewhere are recorded on it (ADR-0089), what it is called at each service by the service's short name, github=acme-mira say, and never a secret, so that whoever takes the account out reads what to close; =none takes one away. The account records its own, and a supervisor may. --day-start and --day-end keep the hours of its day, in the workspace's time zone (ADR-0085): at the start, 09:00 where none is said, the console sends it the day's briefing, its tasks planned for today, those carried over and the decisions that wait, and on the week's first day the week's; at the end, where it has one, a wrap, to write the day down and push its desk; none takes an hour away. By the account, or a supervisor. new makes an agent account, for an administrator: the handle it is called by, which never changes; --login, the account it will sign in with at the identity provider, a login at the git host or an address at Google, which a person makes there, and which is made of the workspace's short name, the handle and its domain where the workspace names its identity service and none is said (--host says the provider where the login's shape does not); --name, the handle capitalized when left out; --title, what it does; --manager, whom it reports to, you when left out; and the project it starts in, this directory's or --project. The member's row is written at once, so that work is assigned to it before anyone signed in with it. At Google its first sign-in with that address binds the provider's account to it. At a git host, where a login is whoever's registers it, the console asks the organization which account the login is and binds the row to that account at once (ADR-0126): the answer says confirmed, and that account alone is let in, whatever it is called by then; or not confirmed, where the organization has no member called so or could not be asked, and the account is let in once it is a member there, or where this console reads no organization at the host, and whoever holds the login is let in until the account has signed in. The console rolls its avatar, from --seed where one is given. A login a member already carries is refused (agent.login_is_member), so that nobody is made an agent account by a name that happens to be theirs; --convert says that the member is to become the account, once and for good, with everything they did. The pages make one from proposals instead: Agents, Add an agent account. tell, interrupt, stop, restart, reset, set and wake are a supervisor's signals to the account's runner (ADR-0085), sent in the supervisor's own name and kept on the account's record: tell says something to the agent, which reads it after the tool call it is at; interrupt stops what it is doing first, and without words has it read now what it was told and has not come to; stop ends its session, and nothing reaches it until it is started again; restart starts it with the conversation it had, for a product that hung or a sign-in that was mended; reset starts it with a new conversation, for one that cannot go on, and nothing else begins one for it; set chooses the model and the level of effort it runs with, among those its product offers, none for the product's own; wake says there is something to do. The words are given as an argument, with --file, or as - on standard input. An agent the model refused, or whose product failed, waits: what a supervisor sends is tried at once, in the same conversation, so another model, another effort or other words are the first things to try. signals reads the record, the newest first: who told the agent what, and when; the account reads its own as console agent signals me. secrets and secret are a supervisor's part of the account's secret store (ADR-0087): secrets lists the names it keeps, with when each was set and the day it ends on where one is known; secret seeds one, write-only, so that a person or an agent above hands the account a credential it cannot make for itself, the value typed unseen at the terminal, or read from standard input when piped, or from --file, and never an argument; --expires says the day the value ends on, a product's long-lived token say; --remove takes one away. Nobody but the account reads a value back, and every setting, reading and removal is on the account's record. invite makes the invitation that leads a machine to the account (ADR-0088), for a supervisor: a code of eight letters and digits, shown this once, with the one line to say to the agent's product on its machine and the address where a person reads the same guide; made again, it takes the place of the one before, and --revoke takes it away. The code is no credential: it says which account a setup is for and opens the guide, good until its day or until the account's command has signed in, and the account is entered through its own sign-in alone. setup is the machine's own, run in the agent's OS account where an agent account is being set up, signed in nowhere yet. With the console and the code of the invitation's line, it prints the guide of that account's setup, what whoever prepares the machine does before the line, what the command does, what the agent does when it starts and what is asked of a person, written for that account and the services of its workspace, and nothing secret; --guide stops there, and --json prints what the code opened and the guide in its parts. Then it goes on by itself: it asks to be signed in as the account, opens the page in the machine's browser and waits until the account, signed in there, says that the command is it; a sign-in that turns out to be anyone else's is given up and nothing is set up. Signed in, it settles the desk, --desk <dir>, or this directory where it is a desk, or desk in the OS account's home: one that is there is left as it is; one the account pushed before is cloned from its git host, read with the account's own secret git.token, which is handed to git in the environment and never on a command line; otherwise a new one is written from the template, over no file that is there, and --new-desk writes a new one whatever the account keeps. It writes the service that keeps the runner running, launchd on macOS and a unit of the account's own systemd on Linux, loads it and says whether the runner is heard from, with the machine and the OS account, which the account's page shows; where no service is written, on another platform or with --no-service, it says how the runner is started by hand. It needs no administrator's rights. --refresh derives a machine again, by the account's own command in its desk, when the services or the account changed: what is missing of the desk is written, the service is written again where it changed and read when it is next loaded, and the services are said as they are now; it never unloads a service, which may be running under it.",
|
|
273
|
+
limits: [
|
|
274
|
+
`handle: ${MIN_HANDLE_LENGTH} to ${MAX_HANDLE_LENGTH} lowercase letters, digits and hyphens, a letter or a digit first and last; none of new, me, proposals, setup`,
|
|
275
|
+
`name: one line, up to ${MAX_PERSON_NAME_LENGTH} characters; title: one line, up to ${MAX_PERSON_TITLE_LENGTH}`,
|
|
276
|
+
`an invitation: one for an account, good for ${INVITATION_DAYS} days`,
|
|
277
|
+
`an account held elsewhere: the service in lowercase letters, digits and hyphens, the name one line up to ${MAX_ELSEWHERE_NAME_LENGTH} characters; up to ${MAX_AGENT_ELSEWHERE} of them`,
|
|
278
|
+
],
|
|
279
|
+
refusals: [
|
|
280
|
+
"agent.not_found: no agent account has that handle, or it is not yours to see",
|
|
281
|
+
"auth.forbidden: only an administrator makes an agent account",
|
|
282
|
+
"agent.handle_taken: another agent account has the handle",
|
|
283
|
+
"agent.exists: the login is an agent account already",
|
|
284
|
+
"agent.administrator: an administrator is not made an agent account; make them a member first",
|
|
285
|
+
"agent.login_is_member: a member carries the login already; name the account's own login, or say --convert to make that member the agent account",
|
|
286
|
+
"agent.invalid_manager: the manager is not another active member, or reports to the account",
|
|
287
|
+
"agent.invalid_project: the project it starts in was not found",
|
|
288
|
+
"agent.unknown_host: nobody signs in through that provider here",
|
|
289
|
+
"agent.too_many_accounts: an account records as many accounts held elsewhere as one may",
|
|
290
|
+
"auth.forbidden, of a signal or a secret: only a supervisor of the account sends one, seeds or removes one",
|
|
291
|
+
"signal.not_offered: the model or the effort is none of those the agent's product offers",
|
|
292
|
+
"secret.not_found: the account keeps no secret of that name",
|
|
293
|
+
"secret.too_many: the account keeps as many secrets as one may",
|
|
294
|
+
"secret.too_large: a value is at most 8 KiB",
|
|
295
|
+
"auth.forbidden, of an invitation: only a supervisor of the account makes one or takes it away",
|
|
296
|
+
"setup.not_found: no setup has that code: it was never made, its day has passed, or the account's command has signed in already; a supervisor makes a new one with console agent invite <handle>",
|
|
297
|
+
"connect.not_found, of a setup: nobody said in time that the command is the account, or someone said it is not theirs; run the line again for a new code",
|
|
298
|
+
],
|
|
299
|
+
},
|
|
300
|
+
secrets: {
|
|
301
|
+
usage: "secrets",
|
|
302
|
+
synopsis: "The secrets you keep as an agent account, by name.",
|
|
303
|
+
about:
|
|
304
|
+
"The names of the secrets in your own store (ADR-0087), with when each was set, whether a supervisor seeded it, and the day it ends on where one is known. For an agent account, signed in as itself (console login --self): the store is the account's, sealed by the console, and the account alone reads a value back. Never a value: console secret <name> reads one.",
|
|
305
|
+
refusals: [
|
|
306
|
+
"agent.not_found: only an agent account has a secret store",
|
|
307
|
+
"secret.own_session: the store is read by the account itself, signed in, not with a token it made for an agent",
|
|
308
|
+
],
|
|
309
|
+
},
|
|
310
|
+
secret: {
|
|
311
|
+
usage:
|
|
312
|
+
"secret <name> | secret <name> --set [--file <path>] [--expires <day|none>] | secret <name> --remove",
|
|
313
|
+
overview: "secret <name> [--set | --remove]",
|
|
314
|
+
synopsis: "One secret of your own: its value, or one set unseen, or removed.",
|
|
315
|
+
about:
|
|
316
|
+
"One secret of your own store (ADR-0087), for an agent account signed in as itself. Alone, it prints the value and nothing else, for whatever reads it next, and the reading is noted on the account's record, which its supervisors read: the name, never the value. --set keeps a value under the name, a new one or over the one there was: typed unseen at the terminal, or all of standard input when piped, or the text of --file; never an argument, which a shell would keep and a process list show; never in a file of the desk, a message or a report. --expires says the day the value ends on (2027-11-10, +90), for one that is known to end, or none. --remove takes it away. What leaked is rotated where it came from, and set again.",
|
|
317
|
+
limits: [
|
|
318
|
+
`name: lowercase letters, digits, dots, hyphens and underscores, a letter or a digit first and last, up to ${MAX_AGENT_SECRET_NAME_LENGTH} characters (git.token)`,
|
|
319
|
+
`value: up to ${MAX_AGENT_SECRET_BYTES} bytes; up to ${MAX_AGENT_SECRETS} secrets an account`,
|
|
320
|
+
],
|
|
321
|
+
refusals: [
|
|
322
|
+
"agent.not_found: only an agent account has a secret store",
|
|
323
|
+
"secret.own_session: the store is read by the account itself, signed in, not with a token it made for an agent",
|
|
324
|
+
"secret.not_found: you keep no secret of that name",
|
|
325
|
+
"secret.too_many: you keep as many secrets as one may",
|
|
326
|
+
"secret.too_large: a value is at most 8 KiB",
|
|
327
|
+
"secret.unreadable: the deployment's key no longer opens the value; set it again",
|
|
328
|
+
],
|
|
329
|
+
},
|
|
232
330
|
teams: {
|
|
233
331
|
usage: "teams",
|
|
234
332
|
synopsis: "The teams of the workspace, each with who is in it.",
|
|
@@ -255,7 +353,7 @@ export const COMMAND_HELP: Readonly<Record<string, CommandHelp>> = {
|
|
|
255
353
|
},
|
|
256
354
|
workspace: {
|
|
257
355
|
usage:
|
|
258
|
-
"workspace | workspace edit [--people-visibility <everyone|shared-projects>] [--week-start <auto|monday|sunday>] [--time-zone <zone|none>] [--language <en|ko|none>] | workspace pack-token --connect | workspace pack-token --stdin | workspace pack-token --remove",
|
|
356
|
+
"workspace | workspace edit [--people-visibility <everyone|shared-projects>] [--week-start <auto|monday|sunday>] [--time-zone <zone|none>] [--language <en|ko|none>] [--handle <name|none>] [--domain <domain|none>] [--service <role>=<kind|none>[,<parameter>=<value>]...]... | workspace pack-token --connect | workspace pack-token --stdin | workspace pack-token --remove",
|
|
259
357
|
overview:
|
|
260
358
|
"workspace | workspace edit [flags] | workspace pack-token --connect|--stdin|--remove",
|
|
261
359
|
synopsis:
|
|
@@ -264,7 +362,8 @@ export const COMMAND_HELP: Readonly<Record<string, CommandHelp>> = {
|
|
|
264
362
|
"What the workspace is called; who sees whom on the People page and in the pickers (everyone; or shared-projects: a member sees only the people they share a project with, an administrator everyone; a project open to the workspace has everyone in it, so a member of one sees everyone); the day the calendars begin a week on (auto: the system default, as each device has it); the workspace's time zone, an IANA name such as Asia/Seoul, in which this command prints moments as ISO 8601 with its offset, as the login kept it at login or whoami, or none, which leaves them as the API gives them, in UTC; the workspace's language (ADR-0081), en or ko, for whoever has not chosen one: what the pages speak to someone whose browser asks for no language the console speaks, and what the plugins write to someone who has never opened the pages, or none, English then; where the organization's skills come from; and the most days a token may last. edit changes any of the first four, for an administrator; --json leaves moments as the API gives them. pack-token is the SkillCDN token the organization's pack is read with, by every project that names no address of its own and holds no token of its own (ADR-0036), for an administrator: with --connect, the console asks SkillCDN for a code, this command prints the page and the code, a person who may open the repository approves there, signed in at SkillCDN, and the console receives the token, shown to nobody; with --stdin, a token made by hand at SkillCDN is typed unseen at the terminal, or read from standard input when piped, and never an argument; --remove takes the token away.",
|
|
265
363
|
refusals: [
|
|
266
364
|
"auth.forbidden: only an administrator changes the workspace's settings or its token",
|
|
267
|
-
"request.invalid: the time zone is not a name the console knows",
|
|
365
|
+
"request.invalid: the time zone is not a name the console knows; or a service does not read: a kind the console knows takes its own parameters, for a role it may have",
|
|
366
|
+
"workspace.identity_unavailable: nobody signs in to this console through the service named for identity",
|
|
268
367
|
"workspace.pack_token_refused: SkillCDN does not serve the organization's pack to the token, or the console names no address for the organization's skills",
|
|
269
368
|
"workspace.pack_connect_refused: the console names no address for the organization's skills, the pack is on the console's machine, or SkillCDN refused to begin",
|
|
270
369
|
"workspace.pack_token_unsupported, workspace.pack_connect_unsupported: the console keeps no secret to seal a token with (AUTH_SECRET), or reaches no deployment",
|
|
@@ -272,16 +371,20 @@ export const COMMAND_HELP: Readonly<Record<string, CommandHelp>> = {
|
|
|
272
371
|
},
|
|
273
372
|
person: {
|
|
274
373
|
usage:
|
|
275
|
-
|
|
374
|
+
'person role <login> <admin|member> | person manager <login> <manager login|none> | person email <login> <address|none> | person title <login> "<title>"|none | person add <login> [--host gh|google] | person remove <login> | person deactivate <login> | person reactivate <login>',
|
|
276
375
|
synopsis:
|
|
277
|
-
"Says what a person is in the workspace, whom they report to
|
|
376
|
+
"Says what a person is in the workspace, whom they report to, their work email and their title, lets a login in or takes one out; for an administrator.",
|
|
377
|
+
limits: [`title: one line, up to ${MAX_PERSON_TITLE_LENGTH} characters`],
|
|
278
378
|
about:
|
|
279
|
-
"For an administrator: the person themselves on the People page, or their agent here, named on it. role says what a person is in the workspace; the board keeps at least one administrator in. manager says whom a person reports to, the reporting line of the directory, which the plugins read as a default (the approver of their leave, say) in place of a line of their own: another active person of the workspace who does not report to them, directly or through others, or none; console people shows it. email writes the person's work email, or none, by which a plugin allowed to read it matches them to an account elsewhere: a person who signs in at Google has their address from the sign-in, and an administrator writes everyone else's; it is read by an administrator, the person and such a plugin, and by nobody from the feed, which says only that it changed. add lets a login in: whoever signs in with that account at that host is a person from then on; the host is read off the login (an address is Google's, anything else GitHub's) unless --host says. remove takes a login away that nobody has signed in with yet. deactivate takes a person out: refused on every request at once, their agents with them, kept with everything they did, and listed nowhere; reactivate takes them back in. A person the organization let in comes and goes with it, and is neither.",
|
|
379
|
+
"For an administrator: the person themselves on the People page, or their agent here, named on it. role says what a person is in the workspace; the board keeps at least one administrator in. manager says whom a person reports to, the reporting line of the directory, which the plugins read as a default (the approver of their leave, say) in place of a line of their own: another active person of the workspace who does not report to them, directly or through others, or none; console people shows it. email writes the person's work email, or none, by which a plugin allowed to read it matches them to an account elsewhere: a person who signs in at Google has their address from the sign-in, and an administrator writes everyone else's; it is read by an administrator, the person and such a plugin, and by nobody from the feed, which says only that it changed. title says what a member does, in a line (Release engineer), or none: every member's, a person's as an agent account's, shown under their name and printed by console people; an agent account's is written by its supervisors too, the administrators and whoever is above it in the reporting line. An agent account is a member (console people says so), with two things of its own: it is never made an administrator, and its manager is replaced, never taken away. add lets a login in: whoever signs in with that account at that host is a person from then on; the host is read off the login (an address is Google's, anything else GitHub's) unless --host says. remove takes a login away that nobody has signed in with yet. deactivate takes a person out: refused on every request at once, their agents with them, kept with everything they did, and listed nowhere; reactivate takes them back in. A person the organization let in comes and goes with it, and is neither.",
|
|
280
380
|
refusals: [
|
|
281
381
|
"auth.forbidden: only an administrator says who is in and what they are",
|
|
282
382
|
"person.last_admin: the board keeps at least one administrator in; make another one first",
|
|
283
383
|
"person.invalid_manager: the manager is not another active person of the workspace, or reports to this person already",
|
|
284
384
|
"person.email_taken: the address is another person's in this workspace",
|
|
385
|
+
"auth.forbidden, of a title: only an administrator writes a person's, and only an administrator or a supervisor an agent account's",
|
|
386
|
+
"person.agent_admin: an agent account is never an administrator",
|
|
387
|
+
"person.manager_required: an agent account always has a manager; name another",
|
|
285
388
|
"person.of_organization: the organization says whether that person is in",
|
|
286
389
|
"listing.exists: the login is let in already, or is a person's who is in",
|
|
287
390
|
"listing.unknown_host: nobody signs in through that provider here",
|
|
@@ -358,43 +461,59 @@ export const COMMAND_HELP: Readonly<Record<string, CommandHelp>> = {
|
|
|
358
461
|
},
|
|
359
462
|
skills: {
|
|
360
463
|
usage:
|
|
361
|
-
"skills | skills <folder|file> | skills --search <words> [<folder>] [--limit <n>] [--cursor <cursor>]",
|
|
464
|
+
"skills | skills <folder|file> [--limit <n>] [--cursor <cursor>] | skills --search <words> [<folder>|--path <folder>] [--limit <n>] [--cursor <cursor>] | skills --rows [<folder|file>] [--heading <words>] [--format csv|json] [--out <path>] | skills --code [<folder|file>] [--heading <words>] [--grep <pattern>] [--out <path>]",
|
|
465
|
+
overview:
|
|
466
|
+
"skills | skills <folder|file> [--rows|--code] | skills --search <words> [<folder>] [flags]",
|
|
362
467
|
synopsis:
|
|
363
|
-
"The project's pack:
|
|
468
|
+
"The project's pack, the organization's where none is named: skills; a folder or an outline; tables or code as data; a search.",
|
|
364
469
|
about:
|
|
365
|
-
"The project's pack, read by the console at the project's address, or the organization's: at a SkillCDN deployment, with the pack token the project holds where the pack is private (ADR-0028), or from a directory on the console's machine for a local address (ADR-0031). Alone: where the pack is and what a client is told of it on connect, then every skill with the path of its SKILL.md and every document, as a connection of your own would list them, and where the console's own skills are on this machine. With a folder (. for the root): what it holds,
|
|
366
|
-
limits: [
|
|
470
|
+
"The project's pack, read by the console at the project's address, or the organization's: at a SkillCDN deployment, with the pack token the project holds where the pack is private (ADR-0028), or from a directory on the console's machine for a local address (ADR-0031). In a directory that names no project, a desk or a folder a repository is about to be made in, the organization's pack, read with the workspace's SkillCDN token, for every member (ADR-0113): every form below reads it the same, under a first line that says whose pack it is, which --rows, --code and --json leave out. Alone: where the pack is and what a client is told of it on connect, then every skill with the path of its SKILL.md and every document, as a connection of your own would list them, and where the console's own skills are on this machine. With a folder (. for the root): a page of what it holds, as browse_repo lays it out for a model: its skills, its folders with what each holds and the README that introduces it, its files; 50 entries unless --limit says otherwise (up to 200), and a page that ends before the folder does names its nextCursor, which --cursor continues. With a file's path: the file's outline, every heading with its level and the offset and limit that read its section with console skill --file, paged the same way; a file that is not Markdown has none; a document that has tables or fenced code blocks says how many, and the command that reads them as data. With --rows: the tables of the document, or of every document under the folder (the whole pack when none is named), as data (ADR-0100), for a program to take whole where a model would copy them out row by row: one CSV, a header of path, heading and every column name the tables have, then a line per row in reading order, a table that stands in several sections and files under one header coming out as one; every page the pack answers, joined; --format json prints an array of rows instead, each with its path, its heading and its cells by column name. With --code: the fenced code blocks, as written, each under a line that names its file, the section it stands in and what it says it is written in; --grep <pattern> keeps the blocks whose text matches, a regular expression as JavaScript reads one, run on this machine. --heading <words> keeps the tables or the blocks under a heading whose path holds every word. --out <path> writes the file there, or into a directory, and says how much was written, instead of printing; --json gives the tables with their columns and rows, or the blocks, as the pack answered them. A read as data that the pack refuses fails, with why on standard error, so that what a program takes is never a refusal. With --search: what the words find, as search_repo does: skills first, with the files of theirs that matched, then documents, each with the sections of it that matched and what reads each, in relevance order; words in the language the pack is written in, and meaning too where the deployment searches by it, which the result then says; within the folder when one is named, after the words or with --path <folder>; 10 unless --limit says otherwise, up to 25, and a nextCursor line says when more matched, which --cursor continues. The text is the one an MCP client's model is given, with the reads named as these commands, and each read is the skillcdn command's own, printed by that command's reads (ADR-0124): skillcdn skills, browse, find, rows and code, page for page. A read the pack refused ends the command with exit 1 and the refusal on standard error, the listing too. --json answers with the console's own JSON: what the pack answered, in the shapes of the main repository's REST API, a page as it came, the tables or the blocks joined.",
|
|
471
|
+
limits: [
|
|
472
|
+
"search: 1 to 500 characters; limit: 1 to 25 with --search, 1 to 200 for a folder or an outline",
|
|
473
|
+
"heading: up to 500 characters",
|
|
474
|
+
"--rows and --code read up to 64 pages, each of at most 5,000 rows or 500 blocks and a million characters; more fails, and a folder or a file under the path is named instead",
|
|
475
|
+
],
|
|
367
476
|
refusals: [
|
|
368
|
-
"
|
|
369
|
-
"status
|
|
477
|
+
"file.not_found, request.invalid and the pack's other codes for one read: the pack answered, and says in its own words what is not at the path or was asked wrong; with --rows or --code, no Markdown document at the path, and none under it",
|
|
478
|
+
"a pack that is not served to the console (its status not_found): private, with no pack token on the project, or, for the organization's pack, none on the workspace, which an administrator connects (console workspace pack-token --connect)",
|
|
479
|
+
"a token that no longer works (its status token_invalid): the project's, or the workspace's; an owner, or an administrator, sets a new one",
|
|
370
480
|
],
|
|
371
481
|
},
|
|
372
482
|
skill: {
|
|
373
|
-
usage: "skill <path> | skill --file <path> [--offset <n>] [--limit <n>]",
|
|
483
|
+
usage: "skill <path> [--cursor <cursor>] | skill --file <path> [--offset <n>] [--limit <n>]",
|
|
484
|
+
// The cursor is named by the part that ends with it; the map says the two forms.
|
|
485
|
+
overview: "skill <path> | skill --file <path> [--offset <n>] [--limit <n>]",
|
|
374
486
|
synopsis:
|
|
375
|
-
"One skill of the pack
|
|
487
|
+
"One skill of the pack, its rules first, a long one in parts; or with --file a page of a file, or what a folder holds.",
|
|
376
488
|
about:
|
|
377
|
-
"One skill of the project's pack,
|
|
378
|
-
limits: [
|
|
489
|
+
"One skill of the project's pack, or of the organization's where no project is named (ADR-0113), as load_skill lays it out for a model and as skillcdn skill prints it (ADR-0124): the rules of the repository from its root to the nearest manifest, the skill's instructions, the files it includes, then its supporting files and what it refers to. A skill of up to 28000 characters is printed whole; a longer one in parts, since a host shows an agent no more of one command's output: a part says at its head that the skill's context is incomplete, and ends with the command that prints the next part, with its --cursor, and a line that says to run it now. Read every part before using the skill. Read by the console from the pack, with the pack token the project holds where the pack is private, so you need no connection of your own. <path> is the path of the SKILL.md from the repository's root, as console skills lists it, or of the skill's folder, which is read as its SKILL.md, or the URI the pack names it by (skill://<host>/<owner>/<name>/<path>). --file <path> reads a page of a file of the pack instead, as read_repo_file does and as skillcdn file prints it (ADR-0124), or what a folder holds, and takes no skill's path beside it: the text as written from character --offset, 24000 characters ended at the end of a line unless --limit says otherwise (up to 100000), and a page that ends before the file does says where the next begins; a search or an outline (console skills <file>) names a section by its offset and limit. A read the pack refused ends the command with exit 1 and the refusal on standard error. --json answers with what the pack answered, in the shapes of the main repository's REST API: a skill whole, its pages joined, from --cursor where one is given, and a file's page as the API gives it, 40000 characters unless --limit says otherwise.",
|
|
490
|
+
limits: [
|
|
491
|
+
"offset: 0 or more; limit: 1 to 100000 characters; both with --file",
|
|
492
|
+
"cursor: the one the part before ended with; with a skill's path, never with --file",
|
|
493
|
+
],
|
|
379
494
|
refusals: [
|
|
380
|
-
"
|
|
381
|
-
"
|
|
382
|
-
"
|
|
495
|
+
"skill.not_found: no skill at the path; the refusal names the reads that find the exact path, and the skills there are",
|
|
496
|
+
"a cursor the pack refuses: the pack has moved since the part before was read; read the skill again from its first part",
|
|
497
|
+
"file.not_found: no file at the path; request.invalid for a folder the pack does not read as a file, which console skills <folder> reads",
|
|
498
|
+
"file.too_large and its kind: the pack will not carry the file, too large or not text",
|
|
499
|
+
"a pack that is not served to the console (its status not_found): private, with no pack token on the project, or, for the organization's pack, none on the workspace",
|
|
500
|
+
"a token that no longer works (its status token_invalid): the project's, or the workspace's; an owner, or an administrator, sets a new one",
|
|
383
501
|
],
|
|
384
502
|
},
|
|
385
503
|
rules: {
|
|
386
504
|
usage:
|
|
387
505
|
"rules | rules write --body <markdown>|--file <path>|-|none [--workspace] [--base <version>]",
|
|
388
506
|
synopsis:
|
|
389
|
-
"
|
|
507
|
+
"The console's rules and what the organization and the project add; rules write writes an addition, for whoever may.",
|
|
390
508
|
about:
|
|
391
|
-
"What
|
|
509
|
+
"What agents are asked on this board (ADR-0023, ADR-0120), under a first line that says what follows (ADR-0119): the mark of the rules, which parts there are and how many characters each is, who adds nothing, and that a later take of the session leaves them out with console take <number> --rules <mark>. Then the parts, what differs first and what always holds last: what this project adds; a section Plugins, which names the plugins bound to the project that you hold a role in, or at the workspace every plugin you may use, a line each with the sentence its manifest gives agents and where to start: console plugin <key>; what the organization adds; and the console's rules, which always hold and which nobody edits. Where they differ the earlier part holds, and none takes back what the console's rules say never happens. The mark is the same for the same rules, and another once a rule changed, for another project's and in another language. rules write writes what this project adds, for an owner, or with --workspace what the organization adds, for an administrator; none puts what was added away. Without a project named, rules shows what the organization adds and the console's rules alone.",
|
|
392
510
|
limits: [
|
|
393
|
-
`body: Markdown, up to ${MAX_RULES_LENGTH} characters
|
|
511
|
+
`body: Markdown, up to ${MAX_RULES_LENGTH} characters: what is added, and nothing of the console's rules`,
|
|
512
|
+
"--workspace: a console before 0.5.1 keeps what is written as the organization's whole rules, in the place of its own; the command asks the console first, and writes nothing there",
|
|
394
513
|
],
|
|
395
514
|
refusals: [
|
|
396
|
-
"auth.forbidden: an owner writes a project
|
|
397
|
-
"document.conflict:
|
|
515
|
+
"auth.forbidden: an owner writes what a project adds, an administrator what the organization adds",
|
|
516
|
+
"document.conflict: what was added has moved on since --base; read the rules again",
|
|
398
517
|
],
|
|
399
518
|
},
|
|
400
519
|
plugins: {
|
|
@@ -405,16 +524,17 @@ export const COMMAND_HELP: Readonly<Record<string, CommandHelp>> = {
|
|
|
405
524
|
},
|
|
406
525
|
plugin: {
|
|
407
526
|
usage:
|
|
408
|
-
"plugin <key> | plugin <key> help [<command>] | plugin <key> <command> [<args>] [--<name> <value>]... [--file <path> | -] [--run <id>] | plugin <key> records <collection> [<id>] [--where <field>=<value>]... [--search <words>] [--project <key>] [--order <field>[:desc]] [--limit <n>] [--after <cursor>] [--archived] [--versions] | plugin <key> skills [<folder>|<file>] [--search <words> [--limit <n>] [--cursor <cursor>]] | plugin <key> skill <path> | plugin <key> skill --file <path> [--offset <n>] [--limit <n>] | plugin <key> enable --consent <capability>,... [--board new|<key>] [--projects all|<key>,...] [--set <key>=<value>]... | plugin <key> disable | plugin <key> capabilities [--consent <capability>,...|none] | plugin <key> settings [--set <key>=<value>]... | plugin <key> secret <name> [--remove] | plugin <key> grant <role> --person <login>|--project <key>|--plugin <key>|--team <key>|--everyone | plugin <key> revoke <grant id>",
|
|
527
|
+
"plugin <key> | plugin <key> help [<command>] | plugin <key> <command> [<args>] [--<name> <value>]... [--file <path> | -] [--run <id>] | plugin <key> records <collection> [<id>] [--where <field>=<value>]... [--search <words>] [--project <key>] [--order <field>[:desc]] [--limit <n>] [--after <cursor>] [--archived] [--versions] | plugin <key> events [--kind <kind>] [--limit <n>] [--offset <n>] | plugin <key> skills [<folder>|<file>] [--search <words> [--limit <n>] [--cursor <cursor>]] | plugin <key> skill <path> | plugin <key> skill --file <path> [--offset <n>] [--limit <n>] | plugin <key> enable --consent <capability>,... [--board new|<key>] [--projects all|<key>,...] [--set <key>=<value>]... | plugin <key> disable | plugin <key> capabilities [--consent <capability>,...|none] | plugin <key> settings [--set <key>=<value>]... | plugin <key> secret <name> [--key <key>] [--remove] | plugin <key> grant <role> --person <login>|--project <key>|--plugin <key>|--team <key>|--everyone | plugin <key> revoke <grant id>",
|
|
409
528
|
overview:
|
|
410
|
-
"plugin <key> [help [<command>] | <command> [<args>] | records <collection> | skills | skill <path> | enable | disable | capabilities | settings | secret | grant | revoke]",
|
|
529
|
+
"plugin <key> [help [<command>] | <command> [<args>] | records <collection> | events | skills | skill <path> | enable | disable | capabilities | settings | secret | grant | revoke]",
|
|
411
530
|
synopsis:
|
|
412
531
|
"One plugin: what it is for and its commands; a command run as you; its records, its skills; its settings, for an administrator.",
|
|
413
532
|
about:
|
|
414
|
-
"One plugin of this console, by its key. Alone: what it is, the sentence for agents, its state, the roles you hold in it, its board project, then one line per command and query you may run, with its usage, where its skills are, and its settings. help [<command>]: one command or query in full, as console help prints one: its arguments, their types and bounds, and the refusals; every argument is given by its place when positional, else as --<name> <value> or --<name>=<value>; a boolean as --<name> alone; a list as the flag given again, or with commas between; a day as YYYY-MM-DD; a person by login, or me; a project by key; a file by --file <path>, or - for standard input, which the command uploads first, with the plugin's files capability. <command> [<args>]: runs the command or the query as the person whose token you hold; the console parses the words against the definition and refuses the first that does not fit; prints what the command says, or a query's answer as JSON, a file a query answers saved under its name; --json prints the whole answer. A command that raised a decision prints its id and exits with 3: console decision <id> --wait 100 waits for the answer. The event the command leaves names your open run in the plugin's board project, --run <id> saying which when several are open; an argument marked secret is hidden in it. records <collection>: the records you may read, one a line, newest first; --where <field>=<value>, given again for several, narrows by a field the collection indexes (id, owner and project always; a number, true, false and null are read as such); --search <words> by words; --project <key> to those linked to a project; --order <field>, with :desc for the newest first; a page of --limit with --after <cursor> as the last page printed; --archived the ones put away; <id> reads one record whole, --versions its versions. skills and skill: the plugin's own skills, a pack read from its package, exactly as console skills and console skill read a project's pack. enable, disable, settings, secret, grant and revoke are an administrator's. enable prints what each capability the plugin asks opens and what a malicious plugin would reach through it, and refuses unless --consent names every capability again; --board new makes the board project the manifest proposes, --board <key> chooses one, left out where the plugin needs none; --projects all, or the keys of the projects the plugin is on; --set a setting's value, which settings changes afterwards too, an empty value clearing one, a number or true and false read as such. secret <name> asks for the value at the terminal, typed unseen, or reads it from standard input when piped or redirected from a file, never from an argument, which a shell would keep; the console seals it and shows it never; --remove takes it away. grant gives a role to a person by login, to the members of a project by key, to another plugin by key, to the members of a team by key, or to everyone, and revoke takes a grant back by its id, which console plugin <key> lists to an administrator.",
|
|
533
|
+
"One plugin of this console, by its key. Alone: what it is, the sentence for agents, its state, the roles you hold in it, its board project, then one line per command and query you may run, with its usage, where its skills are, its jobs, each with how often it runs, how its last run went and when it runs next, and its settings; a job that failed twice running is among its problems, here and in console plugins, until it goes well again. help [<command>]: one command or query in full, as console help prints one: its arguments, their types and bounds, and the refusals; every argument is given by its place when positional, else as --<name> <value> or --<name>=<value>; a boolean as --<name> alone; a list as the flag given again, or with commas between; a day as YYYY-MM-DD; a person by login, or me; a project by key; a file by --file <path>, or - for standard input, which the command uploads first, with the plugin's files capability. <command> [<args>]: runs the command or the query as the person whose token you hold; the console parses the words against the definition and refuses the first that does not fit; prints what the command says, or a query's answer as JSON, a file a query answers saved under its name; --json prints the whole answer. A command that raised a decision prints its id and exits with 3: console decision <id> --wait 100 waits for the answer. The event the command leaves names your open run in the plugin's board project, --run <id> saying which when several are open; an argument marked secret is hidden in it. records <collection>: the records you may read, one a line, newest first; --where <field>=<value>, given again for several, narrows by a field the collection indexes (id, owner and project always; a number, true, false and null are read as such); --search <words> by words; --project <key> to those linked to a project; --order <field>, with :desc for the newest first; a page of --limit with --after <cursor> as the last page printed; --archived the ones put away; <id> reads one record whole, --versions its versions. events: what the plugin did and what went wrong in it, as far as it is yours to read, newest first, one a line: its number, when, its kind, who did it and what it says; an administrator reads every event, anyone else those of the projects they may see, their own commands, and what the console says of the plugin where it belongs to no project, its failures among it; --kind plugin.failed for the failures alone, a job's among them, with why; a page of --limit from --offset; a plugin with no board project is read the same. skills and skill: the plugin's own skills, a pack read from its package, exactly as console skills and console skill read a project's pack. enable, disable, settings, secret, grant and revoke are an administrator's. enable prints what each capability the plugin asks opens and what a malicious plugin would reach through it, and refuses unless --consent names every capability again; --board new makes the board project the manifest proposes, --board <key> chooses one, left out where the plugin needs none; --projects all, or the keys of the projects the plugin is on; --set a setting's value, which settings changes afterwards too, an empty value clearing one, a number or true and false read as such. secret <name> asks for the value at the terminal, typed unseen, or reads it from standard input when piped or redirected from a file, never from an argument, which a shell would keep; the console seals it and shows it never; --key <key> sets the value of a secret the plugin keeps per key under that key, as settings lists them, one key at a time; --remove takes it away. grant gives a role to a person by login, to the members of a project by key, to another plugin by key, to the members of a team by key, or to everyone, and revoke takes a grant back by its id, which console plugin <key> lists to an administrator.",
|
|
415
534
|
limits: [
|
|
416
535
|
"a command line: up to 200 words of up to 50,000 characters each; one file, up to the file bound (console help hand-in), with the plugin's files capability",
|
|
417
536
|
"records: a page of up to 200; where: a field the collection indexes",
|
|
537
|
+
"events: a page of up to 100, 50 unless said; a console before 0.5.1 does not narrow by --kind, and the command narrows the page it read",
|
|
418
538
|
"enable: consent names every capability the manifest requires, and the optional ones to turn on; settings and secrets as the manifest bounds them",
|
|
419
539
|
"capabilities: --consent names the optional capabilities the plugin holds from now on, none for none of them; those it requires stay",
|
|
420
540
|
],
|
|
@@ -433,10 +553,12 @@ export const COMMAND_HELP: Readonly<Record<string, CommandHelp>> = {
|
|
|
433
553
|
],
|
|
434
554
|
},
|
|
435
555
|
take: {
|
|
436
|
-
usage: "take <number|id> [--agent <name>]",
|
|
556
|
+
usage: "take <number|id> [--agent <name>] [--rules <mark>]",
|
|
557
|
+
// The map keeps the short form: the mark is on the first line of the rules a take prints.
|
|
558
|
+
overview: "take <number|id> [--agent <name>]",
|
|
437
559
|
synopsis: "Takes a task: a run begins, and the task is in progress and the person's.",
|
|
438
560
|
about:
|
|
439
|
-
"Takes a task: a run begins, and the task is in progress and the person's; the run's id and the task's id are printed on a line of their own, then the task, then the rules of the board
|
|
561
|
+
"Takes a task: a run begins, and the task is in progress and the person's; the run's id and the task's id are printed on a line of their own, then the task, then the rules of the board as console rules prints them: a first line with their mark that says which parts follow and how long each is, what the project adds, a section Plugins where plugins are bound to the project, a line per plugin you may use there, which console plugin <key> then says how to use, then what the organization adds and the console's rules. --rules <mark> is for a later take of the same session (ADR-0119): given the mark the rules have, the take leaves them out and says so in a line; given another, since a rule changed or it is of another project's, it prints them whole and says that they changed. Either line stands directly after the run's ids, before the task, so that the first lines of a take say how the rules stand. Without it the rules are printed whole. A run still open on the task is taken over, since the board cannot know whether its agent still runs: it ends as abandoned, the feed says who took over, and that agent is refused on its next command; console task <number> shows the runs on a task, with when each was last heard from, before it is taken. --agent is what people see at work; left out, it is what the person called the token.",
|
|
440
562
|
limits: [
|
|
441
563
|
`agent: one line, up to ${MAX_AGENT_LENGTH} characters`,
|
|
442
564
|
`at most ${MAX_RUNS_PER_TASK} runs on one task`,
|
|
@@ -484,7 +606,7 @@ export const COMMAND_HELP: Readonly<Record<string, CommandHelp>> = {
|
|
|
484
606
|
'ask "<question>" --option "<label>" --option "<label>" [...] [--body <markdown>|--file <path>] [--attach <path>]... [--to <login|me>]... [--wait <seconds>]',
|
|
485
607
|
synopsis:
|
|
486
608
|
"Raises a decision a person must make, with options, and waits a while for the answer.",
|
|
487
|
-
about: `Raises a decision a person must make: the question, the options to choose from, and what they need to know. --attach puts a file on the decision, in the one request: a picture of what is to be chosen between, a screenshot of what was made; a picture the body names as  is shown there, the rest after the body, and the person reads each back with \`console file <id>\` (ADR-0055). It is for the person you work for unless --to names another of the project, who then finds it among their decisions (ADR-0042); --to given again names several, each of whom finds it among theirs, and the first answer ends it (ADR-0057); anyone of the project may still answer. The run waits for the answer. The command waits 60 seconds for it unless --wait says otherwise, and exits with 3 if it is still to come: keep waiting with \`console decision <id> --wait 100\`, within what your shell gives one command. The decision's id is printed as soon as it is raised. The person chooses one of the options, or answers in their own words: the answer then names one more option, their words, marked own; act on it as given. ${ON_THE_RUN}`,
|
|
609
|
+
about: `Raises a decision a person must make: the question, the options to choose from, and what they need to know. The decision's id and the address of its page are printed as soon as it is raised. --attach puts a file on the decision, in the one request: a picture of what is to be chosen between, a screenshot of what was made; a picture the body names as  is shown there, the rest after the body, and the person reads each back with \`console file <id>\` (ADR-0055). It is for the person you work for unless --to names another of the project, who then finds it among their decisions (ADR-0042); --to given again names several, each of whom finds it among theirs, and the first answer ends it (ADR-0057); anyone of the project may still answer. The run waits for the answer. The command waits 60 seconds for it unless --wait says otherwise, and exits with 3 if it is still to come: keep waiting with \`console decision <id> --wait 100\`, within what your shell gives one command. Signed in as an agent account, it waits only where --wait says to, and exits with 3 at once: nobody attends the account, the answer wakes it, and it goes on with other work meanwhile; a wait it asked for that runs out says the same, and not how to wait on. The decision's id is printed as soon as it is raised. The person chooses one of the options, or answers in their own words: the answer then names one more option, their words, marked own; act on it as given. ${ON_THE_RUN}`,
|
|
488
610
|
limits: [
|
|
489
611
|
`question: one line, up to ${MAX_QUESTION_LENGTH} characters`,
|
|
490
612
|
`options: ${MIN_OPTIONS} to ${MAX_OPTIONS}, each one line up to ${MAX_OPTION_LABEL_LENGTH} characters`,
|
|
@@ -520,24 +642,33 @@ export const COMMAND_HELP: Readonly<Record<string, CommandHelp>> = {
|
|
|
520
642
|
],
|
|
521
643
|
},
|
|
522
644
|
decision: {
|
|
523
|
-
usage:
|
|
645
|
+
usage:
|
|
646
|
+
"decision <id> [--wait <seconds>] | decision <id> --outcome <markdown>|--file <path> | decision <id> --to <login|me>...",
|
|
524
647
|
synopsis:
|
|
525
|
-
"One decision in full; waits for its answer
|
|
648
|
+
"One decision in full; --wait waits for its answer, --outcome writes what followed, --to says whom it is for now.",
|
|
526
649
|
about:
|
|
527
|
-
"One decision, with its context, its options, its answer (one of the options, or the person's own words as one more, marked own) and what followed. With --wait, holds on for the answer that long, and exits with 3 if it is still to come. With --outcome, writes down what followed the decision, so that it reads as a record; the record names who wrote it, you beside them, and when (ADR-0056).",
|
|
528
|
-
limits: [
|
|
529
|
-
|
|
650
|
+
"One decision, with who asked it and when, the address of its page (page: ..., what a person told of it is given to open: in the project, else the decision's own), its context, its options, its answer (one of the options, or the person's own words as one more, marked own) and what followed, each with its moment. With --wait, holds on for the answer that long, and exits with 3 if it is still to come; signed in as the agent account that raised it, a wait that runs out says that the answer wakes the account, as ask does. With --outcome, writes down what followed the decision, so that it reads as a record; the record names who wrote it, you beside them, and when (ADR-0056). --outcome and --to work in a directory that names no project too, a desk: the decision's own project is found as the read finds the decision (ADR-0068). With --to, a decision that waits is addressed anew (ADR-0096): the people named, --to given once for each, take the place of those it was for, so to add someone, name those it is for again with them; each must be able to work in the project, each finds it among their decisions from then on, and the first answer ends it. Anyone who may work in the project may, as anyone may answer; a question that reached the wrong person is passed on this way and never raised twice. The run that waits for the answer waits on.",
|
|
651
|
+
limits: [
|
|
652
|
+
`outcome: ${MARKDOWN}`,
|
|
653
|
+
`to: a login of the project, or me; up to ${MAX_DECIDERS} of them`,
|
|
654
|
+
],
|
|
655
|
+
refusals: [
|
|
656
|
+
"decision.not_found: no decision has that id",
|
|
657
|
+
"decision.answered: the decision has an answer already, and stays as it was addressed",
|
|
658
|
+
"decision.plugin_addressed: a plugin raised the decision, and says itself whom it is for",
|
|
659
|
+
"decision.invalid_decider: a person named may not work in the project",
|
|
660
|
+
],
|
|
530
661
|
},
|
|
531
662
|
decisions: {
|
|
532
663
|
usage: "decisions [--open] [--mine|--raised] [--limit <n>] [--offset <n>]",
|
|
533
664
|
synopsis: "The decisions on the board, the waiting first; or your own across the projects.",
|
|
534
|
-
about: `The decisions on the board, the waiting first; --open keeps only those. --mine lists the decisions addressed to you instead (ADR-0042), and --raised those you asked of someone else, through your agent or yourself, each across the projects you may see with its project's key; neither needs a project. A page at a time: ${DEFAULT_PAGE_LIMIT} unless --limit says otherwise, from --offset on.`,
|
|
665
|
+
about: `The decisions on the board, the waiting first, each with who asked it, whom it is for and when it was asked; --open keeps only those. --mine lists the decisions addressed to you instead (ADR-0042), and --raised those you asked of someone else, through your agent or yourself, each across the projects you may see with its project's key; neither needs a project. A page at a time: ${DEFAULT_PAGE_LIMIT} unless --limit says otherwise, from --offset on.`,
|
|
535
666
|
},
|
|
536
667
|
finish: {
|
|
537
668
|
usage: 'finish [--summary "<markdown>"|--file <path>] [--run <id>]',
|
|
538
669
|
overview: 'finish [--summary "<markdown>"|--file <path>]',
|
|
539
670
|
synopsis: "Ends the run: done and handed in; the task goes up for review.",
|
|
540
|
-
about: `Ends the run: the work is done and handed in, and the task goes up for review. The summary says what was done and what is left; the result itself goes in a last report before, which may be much longer. ${ON_THE_RUN}`,
|
|
671
|
+
about: `Ends the run: the work is done and handed in, and the task goes up for review, unless another run is open on it; the command says the state it is in. The summary says what was done and what is left; the result itself goes in a last report before, which may be much longer. ${ON_THE_RUN}`,
|
|
541
672
|
limits: [`summary: ${`Markdown, up to ${MAX_SUMMARY_LENGTH} characters`}`],
|
|
542
673
|
refusals: RUN_REFUSALS,
|
|
543
674
|
},
|
|
@@ -545,22 +676,22 @@ export const COMMAND_HELP: Readonly<Record<string, CommandHelp>> = {
|
|
|
545
676
|
usage: 'fail [--summary "<markdown>"|--file <path>] [--run <id>]',
|
|
546
677
|
overview: 'fail [--summary "<markdown>"|--file <path>]',
|
|
547
678
|
synopsis: "Ends the run: the work could not be done.",
|
|
548
|
-
about: `Ends the run: the work could not be done. The summary says why, and what is left. ${ON_THE_RUN}`,
|
|
679
|
+
about: `Ends the run: the work could not be done, and the task goes up for review, for a person to look at why (ADR-0114). The summary says why, and what is left. The command then reads the task and says the state it is in: a console before 0.5.1 leaves it in progress, and so does any where a person moved it meanwhile or another run is open on it. ${ON_THE_RUN}`,
|
|
549
680
|
limits: [`summary: Markdown, up to ${MAX_SUMMARY_LENGTH} characters`],
|
|
550
681
|
refusals: RUN_REFUSALS,
|
|
551
682
|
},
|
|
552
683
|
abandon: {
|
|
553
684
|
usage: 'abandon [<run id>] [--summary "<markdown>"]',
|
|
554
|
-
synopsis: "Leaves a run
|
|
685
|
+
synopsis: "Leaves a run and gives its task back.",
|
|
555
686
|
about:
|
|
556
|
-
"Leaves a run
|
|
687
|
+
"Leaves a run, one taken by mistake or one that will not come back: the task goes back to the state the take found it in (ADR-0114), unless a person moved it meanwhile. The command then reads the task and says the state it is in; a console before 0.5.1 leaves it in progress. A person gives up this way on a run of theirs, and an owner of the project on anyone's.",
|
|
557
688
|
limits: [`summary: Markdown, up to ${MAX_SUMMARY_LENGTH} characters`],
|
|
558
689
|
refusals: RUN_REFUSALS,
|
|
559
690
|
},
|
|
560
691
|
runs: {
|
|
561
692
|
usage: "runs [--task <number|id>] [--open] [--mine] [--limit <n>] [--offset <n>]",
|
|
562
693
|
synopsis: "The runs, newest first, each with when its agent was last heard from.",
|
|
563
|
-
about: `The runs, newest first, each with when its agent was last heard from: --open keeps the ones not over, --mine those begun with this token. A page at a time: ${DEFAULT_PAGE_LIMIT} unless --limit says otherwise, from --offset on.`,
|
|
694
|
+
about: `The runs, newest first, each with when its agent was last heard from: --open keeps the ones not over, --mine those begun with this token, which is one agent's: a run of the same person begun through another agent, or before a new sign-in, is listed without --mine, and the listing says so. A page at a time: ${DEFAULT_PAGE_LIMIT} unless --limit says otherwise, from --offset on.`,
|
|
564
695
|
},
|
|
565
696
|
run: {
|
|
566
697
|
usage: "run <id>",
|
|
@@ -659,25 +790,55 @@ export const COMMAND_HELP: Readonly<Record<string, CommandHelp>> = {
|
|
|
659
790
|
about: "Brings an archived page back.",
|
|
660
791
|
refusals: DOCUMENT_REFUSALS,
|
|
661
792
|
},
|
|
793
|
+
desk: {
|
|
794
|
+
usage: "desk [<directory>] [--web] | desk check [<directory>]",
|
|
795
|
+
synopsis: "For a person: writes a desk of your own, the folder your agent begins in.",
|
|
796
|
+
about:
|
|
797
|
+
"For a person: writes your desk (ADR-0115, ADR-0122), a folder of your own that your agent begins in and that you make a repository of at your own git account. It writes the least: README.md; AGENTS.md, the instructions of an agent that works for you there; CLAUDE.md, which points a product to them; and .gitignore. What the desk keeps comes under records/, its pages under web/ and your projects' checkouts under work/, each once it is used, as you ask for it. Written into desk in this directory, as an agent account's desk is called, or into the directory named (. for this one); a file that is there is left as it is, and the command says which it wrote and which it left. A desk is bound to no project: a board command run in it names one with --project <key>, and a checkout under work/ carries its own binding. --web also writes the shell of the desk's pages into web/, where that holds nothing yet: one empty page of your own until you say what you want to see, on this command's version of the package, served by console serve once it is built. The last lines are what is next, in order, to say to your agent in that folder, or for the agent that ran the command to go on with there: first the desk is set up as a repository, with the skill for that in your organization's pack where it has one (console skills --search \"desk setup\" --limit 5); then you are asked what you want to keep and to see, and the desk is shaped to it. Needs no project. An agent account's desk is settled by console agent setup; in that desk, desk . --web writes the shell of its pages and nothing else. desk check reads the collections of the desk in this directory, or of the one named, a person's or an agent account's (what else a desk keeps under records/ is its own shape, and is not read), and says each problem with its file and what is wrong: a file that is no JSON or not in the format, an item a use names that is not there, a preview or a file that is not there, a JSON file over its bound; a file git LFS has not fetched here is a note, and so are a use or a figure dated before its item was made and an item with no status where its collection names some. It ends in 1 with any problem, signs in nowhere and asks nothing of the console: run it after writing a record.",
|
|
798
|
+
refusals: [
|
|
799
|
+
"an agent account's desk is settled by console agent setup: nothing is written without --web, and with it the shell alone, into a directory that holds an AGENTS.md",
|
|
800
|
+
"this directory works in a project: a desk is bound to none, and is made elsewhere, console desk <directory>",
|
|
801
|
+
"no shell of a desk's pages in this command's package, with --web: nothing is written",
|
|
802
|
+
"desk check: problems in the records, each said with its file; mend the files and run it again",
|
|
803
|
+
],
|
|
804
|
+
skill: {
|
|
805
|
+
name: "keeping-a-desk",
|
|
806
|
+
says: "How a desk is shaped to what its member asks to keep and to see",
|
|
807
|
+
},
|
|
808
|
+
},
|
|
662
809
|
serve: {
|
|
663
|
-
usage: "serve [<dir>] [--port <n>]",
|
|
810
|
+
usage: "serve [<dir>] [--port <n>] [--records <dir>]",
|
|
664
811
|
synopsis:
|
|
665
812
|
"For a person: serves a console of your own from this machine, its /api/ carried to the console with your token.",
|
|
666
813
|
about:
|
|
667
|
-
"For a person: serves a console of your own from this machine, for you. The build in <dir> (its index.html and files) is served at http://127.0.0.1:11197/, and everything under /api/ is carried to the console you are signed in to with your token, which the pages never see. Without a directory only the API is served there, for a development server to send its /api/ requests to. The loopback only; a request from another site's page is refused. Stop it with Ctrl+C.",
|
|
668
|
-
refusals: [
|
|
814
|
+
"For a person: serves a console of your own from this machine, for you. The build in <dir> (its index.html and files) is served at http://127.0.0.1:11197/, and everything under /api/ is carried to the console you are signed in to with your token, which the pages never see. Without a directory only the API is served there, for a development server to send its /api/ requests to. --records <dir> also serves what a desk keeps, the directory named, at /records/ (ADR-0117), for the desk's pages: each file read when it is asked for and never kept by the browser, GET alone, nothing outside the directory, no file whose name begins with a full stop and no listing; a picture, a video, a sound and a PDF by their kinds, so that a page shows them in place, and anything else as a download; a part of a file where a player asks for one; a file git LFS has not fetched here refused as records.not_fetched; a directory that is not there yet served as one that holds nothing, and what comes to be kept in it with no restart. The loopback only; a request from another site's page is refused. Stop it with Ctrl+C.",
|
|
815
|
+
refusals: [
|
|
816
|
+
"not a build to serve: the directory holds no index.html",
|
|
817
|
+
"no records to serve: what --records names is there and is not a directory",
|
|
818
|
+
],
|
|
819
|
+
},
|
|
820
|
+
runner: {
|
|
821
|
+
usage: "runner",
|
|
822
|
+
synopsis: "For an agent account's machine: keeps its agent's session going, in its desk.",
|
|
823
|
+
about:
|
|
824
|
+
"For an agent account's machine: the runner of the account the command is signed in as (console login --self), started in its desk. It starts the agent's product there, hands it what the console sends, a supervisor's tell or a wake, as messages under a header only the session knows, reports what the product does as the session's transcript, and says every thirty seconds that it is there. It restarts nothing by itself: an agent that cannot go on waits, and its supervisor's next word is tried. runner.json in the desk names the product's driver, claude, codex or acp, and the secrets a session is handed. Stop it with Ctrl+C; where the service that keeps it running names its own process (CONSOLE_RUNNER_KEEPER), it stops when that process is gone.",
|
|
825
|
+
refusals: [
|
|
826
|
+
"a runner is an agent account's own: sign the command in as the account, console login --self",
|
|
827
|
+
"runner.json does not read: nothing of it is used",
|
|
828
|
+
],
|
|
669
829
|
},
|
|
670
830
|
};
|
|
671
831
|
|
|
672
832
|
/**
|
|
673
|
-
* Where
|
|
674
|
-
*
|
|
833
|
+
* Where a skill of the console's own is, the skill working-the-board unless another is named,
|
|
834
|
+
* among the console's own skills in `skillsDir`, with the separators the directory came with,
|
|
835
|
+
* so that the path reads as the machine writes paths.
|
|
675
836
|
*/
|
|
676
|
-
export function ownSkillPath(skillsDir: string): string {
|
|
837
|
+
export function ownSkillPath(skillsDir: string, skill = "working-the-board"): string {
|
|
677
838
|
const separator = skillsDir.includes("\\") ? "\\" : "/";
|
|
678
839
|
const base =
|
|
679
840
|
skillsDir.endsWith("/") || skillsDir.endsWith("\\") ? skillsDir : `${skillsDir}${separator}`;
|
|
680
|
-
return `${base}
|
|
841
|
+
return `${base}${skill}${separator}SKILL.md`;
|
|
681
842
|
}
|
|
682
843
|
|
|
683
844
|
/** The first lines of the usage, with the version of the command and where its skill is, when known. */
|
|
@@ -702,8 +863,8 @@ with several open, say which with --run <id>. A Markdown body given as - is read
|
|
|
702
863
|
console --version says which version of the command this is.
|
|
703
864
|
|
|
704
865
|
Exit codes: 0 done; 1 the console refused, or could not be reached (the reason is on stderr);
|
|
705
|
-
2 the command was not understood; 3
|
|
706
|
-
console do not go together, and stderr says which to update and how.
|
|
866
|
+
2 the command was not understood; 3 a decision, or a connection, still waits for a person; 4 the
|
|
867
|
+
command and the console do not go together, and stderr says which to update and how.
|
|
707
868
|
What the console refuses is printed as its code and its words. Everywhere:
|
|
708
869
|
${COMMON_REFUSALS.map((refusal) => ` ${refusal}`).join("\n")}
|
|
709
870
|
|
|
@@ -769,6 +930,11 @@ const SECTIONS: readonly { readonly title: string; readonly commands: readonly s
|
|
|
769
930
|
"workspace",
|
|
770
931
|
"people",
|
|
771
932
|
"person",
|
|
933
|
+
"manager",
|
|
934
|
+
"agents",
|
|
935
|
+
"agent",
|
|
936
|
+
"secrets",
|
|
937
|
+
"secret",
|
|
772
938
|
"teams",
|
|
773
939
|
"team",
|
|
774
940
|
"project",
|
|
@@ -797,7 +963,7 @@ export function usage(version?: string, skillsDir?: string): string {
|
|
|
797
963
|
}
|
|
798
964
|
|
|
799
965
|
/** What `console help <command>` prints, the command in full; or nothing for a command that is not one. */
|
|
800
|
-
export function helpFor(name: string): string | undefined {
|
|
966
|
+
export function helpFor(name: string, skillsDir?: string): string | undefined {
|
|
801
967
|
const help = COMMAND_HELP[name];
|
|
802
968
|
if (help === undefined) {
|
|
803
969
|
return undefined;
|
|
@@ -809,5 +975,11 @@ export function helpFor(name: string): string | undefined {
|
|
|
809
975
|
if (help.refusals !== undefined) {
|
|
810
976
|
parts.push("", "Refusals:", ...help.refusals.map((refusal) => ` ${refusal}`));
|
|
811
977
|
}
|
|
978
|
+
if (help.skill !== undefined) {
|
|
979
|
+
parts.push(
|
|
980
|
+
"",
|
|
981
|
+
`${help.skill.says} is the skill ${help.skill.name}, shipped with this command${skillsDir === undefined ? " (console skills says where it is)." : `: ${ownSkillPath(skillsDir, help.skill.name)}`}`,
|
|
982
|
+
);
|
|
983
|
+
}
|
|
812
984
|
return `${parts.join("\n")}\n`;
|
|
813
985
|
}
|