@skillcdn/console 0.5.0 → 0.5.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +87 -12
- package/SKILLCDN.md +3 -3
- package/dist/agent-page.d.ts.map +1 -1
- package/dist/agent-page.js +7 -6
- package/dist/agent-page.js.map +1 -1
- package/dist/api.d.ts +9 -7
- package/dist/api.d.ts.map +1 -1
- package/dist/api.js +8 -6
- package/dist/api.js.map +1 -1
- package/dist/charts.d.ts +103 -0
- package/dist/charts.d.ts.map +1 -0
- package/dist/charts.js +182 -0
- package/dist/charts.js.map +1 -0
- package/dist/cli/cli.d.ts +58 -2
- package/dist/cli/cli.d.ts.map +1 -1
- package/dist/cli/cli.js +1742 -472
- package/dist/cli/cli.js.map +1 -1
- package/dist/cli/command-words.d.ts +20 -0
- package/dist/cli/command-words.d.ts.map +1 -0
- package/dist/cli/command-words.js +51 -0
- package/dist/cli/command-words.js.map +1 -0
- package/dist/cli/credentials.d.ts +54 -5
- package/dist/cli/credentials.d.ts.map +1 -1
- package/dist/cli/credentials.js +126 -20
- package/dist/cli/credentials.js.map +1 -1
- package/dist/cli/directory.d.ts +19 -4
- package/dist/cli/directory.d.ts.map +1 -1
- package/dist/cli/directory.js +16 -8
- package/dist/cli/directory.js.map +1 -1
- package/dist/cli/format.d.ts +70 -9
- package/dist/cli/format.d.ts.map +1 -1
- package/dist/cli/format.js +267 -40
- package/dist/cli/format.js.map +1 -1
- package/dist/cli/help.d.ts +13 -4
- package/dist/cli/help.d.ts.map +1 -1
- package/dist/cli/help.js +101 -58
- package/dist/cli/help.js.map +1 -1
- package/dist/cli/machine-check.d.ts +36 -0
- package/dist/cli/machine-check.d.ts.map +1 -0
- package/dist/cli/machine-check.js +151 -0
- package/dist/cli/machine-check.js.map +1 -0
- package/dist/cli/main.js +76 -2
- package/dist/cli/main.js.map +1 -1
- package/dist/cli/pack.d.ts +69 -60
- package/dist/cli/pack.d.ts.map +1 -1
- package/dist/cli/pack.js +241 -270
- package/dist/cli/pack.js.map +1 -1
- package/dist/cli/plugin-check.d.ts +42 -0
- package/dist/cli/plugin-check.d.ts.map +1 -1
- package/dist/cli/plugin-check.js +221 -36
- package/dist/cli/plugin-check.js.map +1 -1
- package/dist/cli/plugin-cli.d.ts +6 -1
- package/dist/cli/plugin-cli.d.ts.map +1 -1
- package/dist/cli/plugin-cli.js +21 -4
- package/dist/cli/plugin-cli.js.map +1 -1
- package/dist/cli/plugin-main.js +1 -0
- package/dist/cli/plugin-main.js.map +1 -1
- package/dist/cli/runner-host.d.ts +7 -0
- package/dist/cli/runner-host.d.ts.map +1 -1
- package/dist/cli/runner-host.js +2 -0
- package/dist/cli/runner-host.js.map +1 -1
- package/dist/cli/secret-notes.d.ts +8 -0
- package/dist/cli/secret-notes.d.ts.map +1 -0
- package/dist/cli/secret-notes.js +48 -0
- package/dist/cli/secret-notes.js.map +1 -0
- package/dist/cli/serve.d.ts +33 -1
- package/dist/cli/serve.d.ts.map +1 -1
- package/dist/cli/serve.js +252 -3
- package/dist/cli/serve.js.map +1 -1
- package/dist/client.d.ts +54 -9
- package/dist/client.d.ts.map +1 -1
- package/dist/client.js +77 -80
- package/dist/client.js.map +1 -1
- package/dist/components/agent-page.d.ts +164 -8
- package/dist/components/agent-page.d.ts.map +1 -1
- package/dist/components/agent-page.js +588 -151
- package/dist/components/agent-page.js.map +1 -1
- package/dist/components/agents.d.ts.map +1 -1
- package/dist/components/agents.js +1 -1
- package/dist/components/agents.js.map +1 -1
- package/dist/components/board.d.ts.map +1 -1
- package/dist/components/board.js +3 -2
- package/dist/components/board.js.map +1 -1
- package/dist/components/categories.js +1 -1
- package/dist/components/categories.js.map +1 -1
- package/dist/components/charts.d.ts +157 -0
- package/dist/components/charts.d.ts.map +1 -0
- package/dist/components/charts.js +182 -0
- package/dist/components/charts.js.map +1 -0
- package/dist/components/decision-list.d.ts.map +1 -1
- package/dist/components/decision-list.js +1 -1
- package/dist/components/decision-list.js.map +1 -1
- package/dist/components/desk-records.d.ts +102 -0
- package/dist/components/desk-records.d.ts.map +1 -0
- package/dist/components/desk-records.js +221 -0
- package/dist/components/desk-records.js.map +1 -0
- package/dist/components/desk.d.ts +85 -0
- package/dist/components/desk.d.ts.map +1 -0
- package/dist/components/desk.js +135 -0
- package/dist/components/desk.js.map +1 -0
- package/dist/components/event-feed.d.ts.map +1 -1
- package/dist/components/event-feed.js +7 -3
- package/dist/components/event-feed.js.map +1 -1
- package/dist/components/goals.d.ts +2 -0
- package/dist/components/goals.d.ts.map +1 -1
- package/dist/components/goals.js +1 -1
- package/dist/components/goals.js.map +1 -1
- package/dist/components/home.d.ts.map +1 -1
- package/dist/components/home.js +14 -6
- package/dist/components/home.js.map +1 -1
- package/dist/components/icon.d.ts +31 -0
- package/dist/components/icon.d.ts.map +1 -0
- package/dist/components/icon.js +169 -0
- package/dist/components/icon.js.map +1 -0
- package/dist/components/markdown.d.ts +6 -0
- package/dist/components/markdown.d.ts.map +1 -1
- package/dist/components/markdown.js +10 -2
- package/dist/components/markdown.js.map +1 -1
- package/dist/components/people.js +1 -1
- package/dist/components/people.js.map +1 -1
- package/dist/components/plugin-frame.d.ts.map +1 -1
- package/dist/components/plugin-frame.js +7 -0
- package/dist/components/plugin-frame.js.map +1 -1
- package/dist/components/plugin-settings.d.ts.map +1 -1
- package/dist/components/plugin-settings.js +54 -3
- package/dist/components/plugin-settings.js.map +1 -1
- package/dist/components/projects.d.ts +17 -4
- package/dist/components/projects.d.ts.map +1 -1
- package/dist/components/projects.js +51 -12
- package/dist/components/projects.js.map +1 -1
- package/dist/components/rules.d.ts +8 -10
- package/dist/components/rules.d.ts.map +1 -1
- package/dist/components/rules.js +35 -13
- package/dist/components/rules.js.map +1 -1
- package/dist/components/sessions.d.ts.map +1 -1
- package/dist/components/sessions.js +3 -2
- package/dist/components/sessions.js.map +1 -1
- package/dist/components/setup.d.ts +9 -3
- package/dist/components/setup.d.ts.map +1 -1
- package/dist/components/setup.js +12 -6
- package/dist/components/setup.js.map +1 -1
- package/dist/components/shell.d.ts.map +1 -1
- package/dist/components/shell.js +3 -2
- package/dist/components/shell.js.map +1 -1
- package/dist/components/tokens.js +1 -1
- package/dist/components/tokens.js.map +1 -1
- package/dist/components/ui.d.ts +5 -2
- package/dist/components/ui.d.ts.map +1 -1
- package/dist/components/ui.js +10 -7
- package/dist/components/ui.js.map +1 -1
- package/dist/connect-page.js +1 -1
- package/dist/connect-page.js.map +1 -1
- package/dist/console.css +1172 -106
- package/dist/console.d.ts +5 -0
- package/dist/console.d.ts.map +1 -1
- package/dist/console.js +52 -39
- package/dist/console.js.map +1 -1
- package/dist/data.d.ts.map +1 -1
- package/dist/data.js +32 -33
- package/dist/data.js.map +1 -1
- package/dist/desk-page.d.ts +38 -0
- package/dist/desk-page.d.ts.map +1 -0
- package/dist/desk-page.js +184 -0
- package/dist/desk-page.js.map +1 -0
- package/dist/desk-records-page.d.ts +18 -0
- package/dist/desk-records-page.d.ts.map +1 -0
- package/dist/desk-records-page.js +130 -0
- package/dist/desk-records-page.js.map +1 -0
- package/dist/desk-records.d.ts +247 -0
- package/dist/desk-records.d.ts.map +1 -0
- package/dist/desk-records.js +543 -0
- package/dist/desk-records.js.map +1 -0
- package/dist/desk.d.ts +122 -0
- package/dist/desk.d.ts.map +1 -0
- package/dist/desk.js +211 -0
- package/dist/desk.js.map +1 -0
- package/dist/feed-stream.d.ts +39 -0
- package/dist/feed-stream.d.ts.map +1 -0
- package/dist/feed-stream.js +117 -0
- package/dist/feed-stream.js.map +1 -0
- package/dist/home-tiles.d.ts +19 -3
- package/dist/home-tiles.d.ts.map +1 -1
- package/dist/home-tiles.js +147 -42
- package/dist/home-tiles.js.map +1 -1
- package/dist/i18n/en.d.ts +228 -6
- package/dist/i18n/en.d.ts.map +1 -1
- package/dist/i18n/en.js +309 -9
- package/dist/i18n/en.js.map +1 -1
- package/dist/i18n/ko.d.ts.map +1 -1
- package/dist/i18n/ko.js +366 -85
- package/dist/i18n/ko.js.map +1 -1
- package/dist/i18n/particles.d.ts +7 -0
- package/dist/i18n/particles.d.ts.map +1 -0
- package/dist/i18n/particles.js +72 -0
- package/dist/i18n/particles.js.map +1 -0
- package/dist/icons/glyphs.d.ts +605 -0
- package/dist/icons/glyphs.d.ts.map +1 -0
- package/dist/icons/glyphs.js +104 -0
- package/dist/icons/glyphs.js.map +1 -0
- package/dist/icons/index.d.ts +59 -0
- package/dist/icons/index.d.ts.map +1 -0
- package/dist/icons/index.js +157 -0
- package/dist/icons/index.js.map +1 -0
- package/dist/index.d.ts +9 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +9 -0
- package/dist/index.js.map +1 -1
- package/dist/limits.d.ts +20 -0
- package/dist/limits.d.ts.map +1 -1
- package/dist/limits.js +20 -0
- package/dist/limits.js.map +1 -1
- package/dist/marks.d.ts +9 -0
- package/dist/marks.d.ts.map +1 -1
- package/dist/marks.js +9 -0
- package/dist/marks.js.map +1 -1
- package/dist/onboarding.d.ts +6 -0
- package/dist/onboarding.d.ts.map +1 -1
- package/dist/onboarding.js +5 -5
- package/dist/onboarding.js.map +1 -1
- package/dist/plugin/context.d.ts +42 -11
- package/dist/plugin/context.d.ts.map +1 -1
- package/dist/plugin/limits.d.ts +2 -0
- package/dist/plugin/limits.d.ts.map +1 -1
- package/dist/plugin/limits.js +2 -0
- package/dist/plugin/limits.js.map +1 -1
- package/dist/plugin/manifest.d.ts +13 -0
- package/dist/plugin/manifest.d.ts.map +1 -1
- package/dist/plugin/manifest.js +30 -3
- package/dist/plugin/manifest.js.map +1 -1
- package/dist/plugin/rest-schemas.d.ts +55 -0
- package/dist/plugin/rest-schemas.d.ts.map +1 -1
- package/dist/plugin/rest-schemas.js +37 -0
- package/dist/plugin/rest-schemas.js.map +1 -1
- package/dist/plugin/sandbox.d.ts.map +1 -1
- package/dist/plugin/sandbox.js +4 -1
- package/dist/plugin/sandbox.js.map +1 -1
- package/dist/plugin/testing.d.ts +6 -2
- package/dist/plugin/testing.d.ts.map +1 -1
- package/dist/plugin/testing.js +52 -10
- package/dist/plugin/testing.js.map +1 -1
- package/dist/plugin/web.d.ts +3 -0
- package/dist/plugin/web.d.ts.map +1 -1
- package/dist/plugin/web.js +5 -1
- package/dist/plugin/web.js.map +1 -1
- package/dist/plugin.d.ts +1 -1
- package/dist/plugin.d.ts.map +1 -1
- package/dist/plugin.js +1 -1
- package/dist/plugin.js.map +1 -1
- package/dist/records.d.ts +283 -0
- package/dist/records.d.ts.map +1 -0
- package/dist/records.js +543 -0
- package/dist/records.js.map +1 -0
- package/dist/routes.d.ts +3 -1
- package/dist/routes.d.ts.map +1 -1
- package/dist/routes.js +3 -1
- package/dist/routes.js.map +1 -1
- package/dist/rules.d.ts +30 -11
- package/dist/rules.d.ts.map +1 -1
- package/dist/rules.js +98 -45
- package/dist/rules.js.map +1 -1
- package/dist/runner/acp.d.ts +1 -1
- package/dist/runner/acp.d.ts.map +1 -1
- package/dist/runner/acp.js +32 -21
- package/dist/runner/acp.js.map +1 -1
- package/dist/runner/awake.d.ts +35 -0
- package/dist/runner/awake.d.ts.map +1 -0
- package/dist/runner/awake.js +95 -0
- package/dist/runner/awake.js.map +1 -0
- package/dist/runner/claude.d.ts +1 -1
- package/dist/runner/claude.d.ts.map +1 -1
- package/dist/runner/claude.js +100 -18
- package/dist/runner/claude.js.map +1 -1
- package/dist/runner/codex.d.ts +1 -1
- package/dist/runner/codex.d.ts.map +1 -1
- package/dist/runner/codex.js +20 -17
- package/dist/runner/codex.js.map +1 -1
- package/dist/runner/config.d.ts +5 -0
- package/dist/runner/config.d.ts.map +1 -1
- package/dist/runner/config.js +9 -0
- package/dist/runner/config.js.map +1 -1
- package/dist/runner/desk.d.ts +43 -2
- package/dist/runner/desk.d.ts.map +1 -1
- package/dist/runner/desk.js +168 -13
- package/dist/runner/desk.js.map +1 -1
- package/dist/runner/process.d.ts.map +1 -1
- package/dist/runner/process.js +11 -4
- package/dist/runner/process.js.map +1 -1
- package/dist/runner/redact.d.ts +39 -4
- package/dist/runner/redact.d.ts.map +1 -1
- package/dist/runner/redact.js +81 -5
- package/dist/runner/redact.js.map +1 -1
- package/dist/runner/runner.d.ts +28 -3
- package/dist/runner/runner.d.ts.map +1 -1
- package/dist/runner/runner.js +371 -54
- package/dist/runner/runner.js.map +1 -1
- package/dist/runner/slack.d.ts.map +1 -1
- package/dist/runner/slack.js +10 -4
- package/dist/runner/slack.js.map +1 -1
- package/dist/runner/task-scheduler.d.ts +20 -0
- package/dist/runner/task-scheduler.d.ts.map +1 -1
- package/dist/runner/task-scheduler.js +34 -4
- package/dist/runner/task-scheduler.js.map +1 -1
- package/dist/runner/types.d.ts +51 -1
- package/dist/runner/types.d.ts.map +1 -1
- package/dist/runner/types.js +26 -0
- package/dist/runner/types.js.map +1 -1
- package/dist/runner.d.ts +6 -6
- package/dist/runner.d.ts.map +1 -1
- package/dist/runner.js +5 -5
- package/dist/runner.js.map +1 -1
- package/dist/schemas.d.ts +603 -6
- package/dist/schemas.d.ts.map +1 -1
- package/dist/schemas.js +156 -20
- package/dist/schemas.js.map +1 -1
- package/dist/services.d.ts +22 -5
- package/dist/services.d.ts.map +1 -1
- package/dist/services.js +41 -17
- package/dist/services.js.map +1 -1
- package/dist/setup-guide.d.ts +17 -4
- package/dist/setup-guide.d.ts.map +1 -1
- package/dist/setup-guide.js +48 -41
- package/dist/setup-guide.js.map +1 -1
- package/dist/tokens.d.ts.map +1 -1
- package/dist/tokens.js +5 -1
- package/dist/tokens.js.map +1 -1
- package/dist/vocabulary.d.ts +21 -3
- package/dist/vocabulary.d.ts.map +1 -1
- package/dist/vocabulary.js +19 -3
- package/dist/vocabulary.js.map +1 -1
- package/docs/specs/cli.md +73 -44
- package/docs/specs/plugins.md +40 -22
- package/docs/specs/records.md +113 -0
- package/docs/specs/rest.md +30 -21
- package/docs/specs/runner.md +46 -22
- package/package.json +11 -2
- package/skills/building-a-console/SKILL.md +4 -4
- package/skills/building-a-plugin/SKILL.md +6 -6
- package/skills/deploying-a-console/SKILL.md +4 -4
- package/skills/deploying-a-console/references/resources.md +41 -4
- package/skills/deploying-a-console/references/running-it-again.md +3 -2
- package/skills/keeping-a-desk/SKILL.md +133 -0
- package/skills/keeping-a-desk/collections.md +96 -0
- package/skills/planning-the-board/SKILL.md +14 -18
- package/skills/planning-the-board/references/a-task.md +2 -2
- package/skills/planning-the-board/references/project-rules.md +13 -14
- package/skills/planning-the-board/references/setting-up.md +15 -13
- package/skills/running-an-agent/SKILL.md +47 -56
- package/skills/working-the-board/SKILL.md +63 -44
- package/skills/working-the-board/references/terms.md +9 -5
- package/skills/working-the-board/references/the-pack.md +12 -10
- package/skills/working-the-board/references/the-sentence.md +2 -2
- package/src/agent-page.tsx +16 -2
- package/src/api.ts +109 -3
- package/src/charts.ts +250 -0
- package/src/cli/cli.ts +2226 -580
- package/src/cli/command-words.ts +56 -0
- package/src/cli/credentials.ts +181 -20
- package/src/cli/directory.ts +28 -10
- package/src/cli/format.ts +332 -49
- package/src/cli/help.ts +113 -57
- package/src/cli/machine-check.ts +223 -0
- package/src/cli/main.ts +72 -2
- package/src/cli/pack.ts +333 -372
- package/src/cli/plugin-check.ts +275 -34
- package/src/cli/plugin-cli.ts +28 -4
- package/src/cli/plugin-main.ts +1 -0
- package/src/cli/runner-host.ts +8 -0
- package/src/cli/secret-notes.ts +63 -0
- package/src/cli/serve.ts +295 -2
- package/src/client.ts +215 -177
- package/src/components/agent-page.tsx +1044 -281
- package/src/components/agents.tsx +9 -5
- package/src/components/board.tsx +3 -15
- package/src/components/categories.tsx +2 -2
- package/src/components/charts.tsx +680 -0
- package/src/components/decision-list.tsx +11 -7
- package/src/components/desk-records.tsx +724 -0
- package/src/components/desk.tsx +471 -0
- package/src/components/event-feed.tsx +12 -3
- package/src/components/goals.tsx +33 -25
- package/src/components/home.tsx +42 -6
- package/src/components/icon.tsx +337 -0
- package/src/components/markdown.tsx +22 -2
- package/src/components/people.tsx +1 -1
- package/src/components/plugin-frame.tsx +7 -0
- package/src/components/plugin-settings.tsx +171 -12
- package/src/components/projects.tsx +68 -17
- package/src/components/rules.tsx +94 -34
- package/src/components/sessions.tsx +2 -13
- package/src/components/setup.tsx +20 -5
- package/src/components/shell.tsx +3 -20
- package/src/components/tokens.tsx +1 -1
- package/src/components/ui.tsx +16 -8
- package/src/connect-page.tsx +1 -1
- package/src/console.tsx +104 -62
- package/src/data.ts +37 -34
- package/src/desk-page.tsx +332 -0
- package/src/desk-records-page.tsx +256 -0
- package/src/desk-records.ts +808 -0
- package/src/desk.ts +329 -0
- package/src/feed-stream.ts +144 -0
- package/src/home-tiles.ts +170 -46
- package/src/i18n/en.ts +323 -11
- package/src/i18n/ko.ts +378 -87
- package/src/i18n/particles.ts +79 -0
- package/src/icons/glyphs.ts +112 -0
- package/src/icons/index.ts +195 -0
- package/src/index.ts +125 -0
- package/src/limits.ts +20 -0
- package/src/marks.ts +12 -0
- package/src/onboarding.ts +14 -6
- package/src/plugin/context.ts +55 -12
- package/src/plugin/limits.ts +2 -0
- package/src/plugin/manifest.ts +38 -2
- package/src/plugin/rest-schemas.ts +41 -0
- package/src/plugin/sandbox.ts +4 -1
- package/src/plugin/testing.ts +63 -12
- package/src/plugin/web.ts +9 -2
- package/src/plugin.ts +2 -0
- package/src/records.ts +702 -0
- package/src/routes.ts +3 -1
- package/src/rules.ts +108 -47
- package/src/runner/acp.ts +49 -30
- package/src/runner/awake.ts +135 -0
- package/src/runner/claude.ts +131 -26
- package/src/runner/codex.ts +37 -26
- package/src/runner/config.ts +9 -0
- package/src/runner/desk.ts +200 -15
- package/src/runner/process.ts +11 -4
- package/src/runner/redact.ts +92 -6
- package/src/runner/runner.ts +457 -56
- package/src/runner/slack.ts +10 -4
- package/src/runner/task-scheduler.ts +36 -4
- package/src/runner/types.ts +67 -1
- package/src/runner.ts +27 -2
- package/src/schemas.ts +177 -18
- package/src/services.ts +55 -16
- package/src/setup-guide.ts +49 -40
- package/src/styles/README.md +16 -5
- package/src/styles/base.css +17 -0
- package/src/styles/console.css +10 -0
- package/src/styles/drawn-by-pages.json +1 -1
- package/src/styles/pages/agents.css +103 -1
- package/src/styles/pages/board.css +0 -10
- package/src/styles/pages/calendar.css +1 -1
- package/src/styles/pages/connect.css +0 -10
- package/src/styles/pages/decisions.css +3 -1
- package/src/styles/pages/desk.css +126 -0
- package/src/styles/pages/documents.css +5 -0
- package/src/styles/pages/feed.css +5 -2
- package/src/styles/pages/home.css +5 -0
- package/src/styles/pages/roadmap.css +2 -2
- package/src/styles/pages/settings.css +11 -0
- package/src/styles/pages/task.css +0 -20
- package/src/styles/pages/thread.css +1 -1
- package/src/styles/parts/bars.css +80 -0
- package/src/styles/parts/calendar.css +1 -1
- package/src/styles/parts/callout.css +1 -0
- package/src/styles/parts/chart.css +173 -0
- package/src/styles/parts/detail.css +22 -0
- package/src/styles/parts/empty.css +2 -0
- package/src/styles/parts/eyebrow.css +1 -1
- package/src/styles/parts/facts.css +1 -1
- package/src/styles/parts/figures.css +65 -0
- package/src/styles/parts/form.css +2 -1
- package/src/styles/parts/icon.css +191 -0
- package/src/styles/parts/input.css +14 -4
- package/src/styles/parts/legend.css +48 -0
- package/src/styles/parts/mark.css +36 -0
- package/src/styles/parts/menu.css +1 -7
- package/src/styles/parts/page.css +1 -1
- package/src/styles/parts/panel.css +10 -0
- package/src/styles/parts/person.css +5 -2
- package/src/styles/parts/progress.css +5 -2
- package/src/styles/parts/rows.css +1 -0
- package/src/styles/parts/series.css +32 -0
- package/src/styles/parts/settings.css +5 -0
- package/src/styles/parts/share.css +25 -0
- package/src/styles/parts/spark.css +23 -0
- package/src/styles/parts/stat.css +69 -0
- package/src/styles/tokens.css +31 -10
- package/src/tokens.ts +5 -1
- package/src/vocabulary.ts +25 -3
- package/template/desk-web/README.md +8 -0
- package/template/desk-web/index.html +13 -0
- package/template/desk-web/package.json +25 -0
- package/template/desk-web/src/main.tsx +24 -0
- package/template/desk-web/src/page.tsx +51 -0
- package/template/desk-web/tsconfig.json +16 -0
- package/template/desk-web/vite.config.ts +15 -0
package/dist/schemas.d.ts
CHANGED
|
@@ -384,7 +384,9 @@ export type RestWorkspacePatch = z.infer<typeof restWorkspacePatchSchema>;
|
|
|
384
384
|
/**
|
|
385
385
|
* `GET /api/v1/me`: the workspace, who the session cookie says is signed in (or `null`), the
|
|
386
386
|
* language they chose (or `null`), and the identity providers people sign in through, none
|
|
387
|
-
* where nobody can.
|
|
387
|
+
* where nobody can. Nobody signed in is told the workspace's name and its language alone: the
|
|
388
|
+
* most days of a token is `null` then, the skills' source is empty and their address `null`,
|
|
389
|
+
* and everything read as optional is left out.
|
|
388
390
|
*/
|
|
389
391
|
export declare const restMeSchema: z.ZodMiniObject<{
|
|
390
392
|
workspace: z.ZodMiniObject<{
|
|
@@ -693,8 +695,59 @@ export declare const restRunnerHeartbeatInputSchema: z.ZodMiniObject<{
|
|
|
693
695
|
model: z.ZodMiniNullable<z.ZodMiniString<string>>;
|
|
694
696
|
effort: z.ZodMiniNullable<z.ZodMiniString<string>>;
|
|
695
697
|
}, z.core.$strip>;
|
|
698
|
+
sources: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniObject<{
|
|
699
|
+
name: z.ZodMiniString<string>;
|
|
700
|
+
state: z.ZodMiniEnum<{
|
|
701
|
+
connected: "connected";
|
|
702
|
+
failing: "failing";
|
|
703
|
+
waiting: "waiting";
|
|
704
|
+
}>;
|
|
705
|
+
since: z.ZodMiniISODateTime;
|
|
706
|
+
why: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
707
|
+
}, z.core.$strip>>>;
|
|
696
708
|
}, z.core.$strip>;
|
|
697
709
|
export type RestRunnerHeartbeatInput = z.infer<typeof restRunnerHeartbeatInputSchema>;
|
|
710
|
+
/**
|
|
711
|
+
* A wake an agent account raises for itself (ADR-0145), by its own command: now, or at a moment
|
|
712
|
+
* to come, under a name of which one stands at a time. Its words are the account's own.
|
|
713
|
+
*/
|
|
714
|
+
export declare const restOwnWakeInputSchema: z.ZodMiniObject<{
|
|
715
|
+
text: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
716
|
+
at: z.ZodMiniOptional<z.ZodMiniISODateTime>;
|
|
717
|
+
key: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
718
|
+
}, z.core.$strip>;
|
|
719
|
+
export type RestOwnWakeInput = z.infer<typeof restOwnWakeInputSchema>;
|
|
720
|
+
/** A wake an agent account keeps for later: what it is called, when it is raised, and its words. */
|
|
721
|
+
export declare const restOwnWakeSchema: z.ZodMiniObject<{
|
|
722
|
+
key: z.ZodMiniString<string>;
|
|
723
|
+
at: z.ZodMiniISODateTime;
|
|
724
|
+
text: z.ZodMiniString<string>;
|
|
725
|
+
createdAt: z.ZodMiniISODateTime;
|
|
726
|
+
}, z.core.$strip>;
|
|
727
|
+
export type RestOwnWake = z.infer<typeof restOwnWakeSchema>;
|
|
728
|
+
/** What raising one answers: the signal, for one raised now; the wake kept, for one to come. */
|
|
729
|
+
export declare const restOwnWakeRaisedSchema: z.ZodMiniObject<{
|
|
730
|
+
signal: z.ZodMiniNullable<z.ZodMiniObject<{
|
|
731
|
+
number: z.ZodMiniInt;
|
|
732
|
+
}, z.core.$strip>>;
|
|
733
|
+
kept: z.ZodMiniNullable<z.ZodMiniObject<{
|
|
734
|
+
key: z.ZodMiniString<string>;
|
|
735
|
+
at: z.ZodMiniISODateTime;
|
|
736
|
+
text: z.ZodMiniString<string>;
|
|
737
|
+
createdAt: z.ZodMiniISODateTime;
|
|
738
|
+
}, z.core.$strip>>;
|
|
739
|
+
}, z.core.$strip>;
|
|
740
|
+
export type RestOwnWakeRaised = z.infer<typeof restOwnWakeRaisedSchema>;
|
|
741
|
+
/** `GET /api/v1/agents/<handle>/wakes`: the wakes the account keeps for later, the soonest first. */
|
|
742
|
+
export declare const restOwnWakesSchema: z.ZodMiniObject<{
|
|
743
|
+
items: z.ZodMiniArray<z.ZodMiniObject<{
|
|
744
|
+
key: z.ZodMiniString<string>;
|
|
745
|
+
at: z.ZodMiniISODateTime;
|
|
746
|
+
text: z.ZodMiniString<string>;
|
|
747
|
+
createdAt: z.ZodMiniISODateTime;
|
|
748
|
+
}, z.core.$strip>>;
|
|
749
|
+
}, z.core.$strip>;
|
|
750
|
+
export type RestOwnWakes = z.infer<typeof restOwnWakesSchema>;
|
|
698
751
|
/** What the heartbeat is answered: where the account's record of signals stands, what its supervisors chose, and how the console has the agent. */
|
|
699
752
|
export declare const restRunnerHeartbeatSchema: z.ZodMiniObject<{
|
|
700
753
|
latest: z.ZodMiniInt;
|
|
@@ -758,6 +811,12 @@ export declare const restAgentRunnerSchema: z.ZodMiniObject<{
|
|
|
758
811
|
model: z.ZodMiniNullable<z.ZodMiniString<string>>;
|
|
759
812
|
effort: z.ZodMiniNullable<z.ZodMiniString<string>>;
|
|
760
813
|
}, z.core.$strip>;
|
|
814
|
+
sources: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniObject<{
|
|
815
|
+
name: z.ZodMiniString<string>;
|
|
816
|
+
state: z.ZodMiniString<string>;
|
|
817
|
+
since: z.ZodMiniISODateTime;
|
|
818
|
+
why: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
819
|
+
}, z.core.$strip>>>;
|
|
761
820
|
}, z.core.$strip>;
|
|
762
821
|
export type RestAgentRunner = z.infer<typeof restAgentRunnerSchema>;
|
|
763
822
|
/**
|
|
@@ -839,7 +898,12 @@ export declare const restSignalSchema: z.ZodMiniObject<{
|
|
|
839
898
|
at: z.ZodMiniISODateTime;
|
|
840
899
|
}, z.core.$strip>;
|
|
841
900
|
export type RestSignal = z.infer<typeof restSignalSchema>;
|
|
842
|
-
/**
|
|
901
|
+
/**
|
|
902
|
+
* `GET /api/v1/agents/<handle>/signals?before=&limit=`: the record, the newest first, and whether
|
|
903
|
+
* there is more before; and `delivered`, the number of the last signal delivered, every one
|
|
904
|
+
* before it too (ADR-0131), as the account's runner last said, `0` for none: a signal of the
|
|
905
|
+
* record is delivered where its number is no more than that. A console before 0.5.2 leaves it out.
|
|
906
|
+
*/
|
|
843
907
|
export declare const restSignalsSchema: z.ZodMiniObject<{
|
|
844
908
|
items: z.ZodMiniArray<z.ZodMiniObject<{
|
|
845
909
|
number: z.ZodMiniInt;
|
|
@@ -916,6 +980,7 @@ export declare const restSignalsSchema: z.ZodMiniObject<{
|
|
|
916
980
|
at: z.ZodMiniISODateTime;
|
|
917
981
|
}, z.core.$strip>>;
|
|
918
982
|
more: z.ZodMiniBoolean<boolean>;
|
|
983
|
+
delivered: z.ZodMiniOptional<z.ZodMiniInt>;
|
|
919
984
|
}, z.core.$strip>;
|
|
920
985
|
export type RestSignals = z.infer<typeof restSignalsSchema>;
|
|
921
986
|
/**
|
|
@@ -1915,6 +1980,12 @@ export declare const restAgentSchema: z.ZodMiniObject<{
|
|
|
1915
1980
|
model: z.ZodMiniNullable<z.ZodMiniString<string>>;
|
|
1916
1981
|
effort: z.ZodMiniNullable<z.ZodMiniString<string>>;
|
|
1917
1982
|
}, z.core.$strip>;
|
|
1983
|
+
sources: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniObject<{
|
|
1984
|
+
name: z.ZodMiniString<string>;
|
|
1985
|
+
state: z.ZodMiniString<string>;
|
|
1986
|
+
since: z.ZodMiniISODateTime;
|
|
1987
|
+
why: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1988
|
+
}, z.core.$strip>>>;
|
|
1918
1989
|
}, z.core.$strip>>>;
|
|
1919
1990
|
accounts: z.ZodMiniOptional<z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniString<string>>>;
|
|
1920
1991
|
hours: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
@@ -1925,6 +1996,11 @@ export declare const restAgentSchema: z.ZodMiniObject<{
|
|
|
1925
1996
|
project: z.ZodMiniString<string>;
|
|
1926
1997
|
number: z.ZodMiniNumber<number>;
|
|
1927
1998
|
}, z.core.$strip>>>;
|
|
1999
|
+
firstSignIn: z.ZodMiniOptional<z.ZodMiniEnum<{
|
|
2000
|
+
account: "account";
|
|
2001
|
+
login: "login";
|
|
2002
|
+
member: "member";
|
|
2003
|
+
}>>;
|
|
1928
2004
|
}, z.core.$strip>;
|
|
1929
2005
|
export type RestAgent = z.infer<typeof restAgentSchema>;
|
|
1930
2006
|
/** `GET /api/v1/agents`: the agent accounts the asker may see, by handle. */
|
|
@@ -2054,6 +2130,12 @@ export declare const restAgentsSchema: z.ZodMiniObject<{
|
|
|
2054
2130
|
model: z.ZodMiniNullable<z.ZodMiniString<string>>;
|
|
2055
2131
|
effort: z.ZodMiniNullable<z.ZodMiniString<string>>;
|
|
2056
2132
|
}, z.core.$strip>;
|
|
2133
|
+
sources: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniObject<{
|
|
2134
|
+
name: z.ZodMiniString<string>;
|
|
2135
|
+
state: z.ZodMiniString<string>;
|
|
2136
|
+
since: z.ZodMiniISODateTime;
|
|
2137
|
+
why: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
2138
|
+
}, z.core.$strip>>>;
|
|
2057
2139
|
}, z.core.$strip>>>;
|
|
2058
2140
|
accounts: z.ZodMiniOptional<z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniString<string>>>;
|
|
2059
2141
|
hours: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
@@ -2064,6 +2146,11 @@ export declare const restAgentsSchema: z.ZodMiniObject<{
|
|
|
2064
2146
|
project: z.ZodMiniString<string>;
|
|
2065
2147
|
number: z.ZodMiniNumber<number>;
|
|
2066
2148
|
}, z.core.$strip>>>;
|
|
2149
|
+
firstSignIn: z.ZodMiniOptional<z.ZodMiniEnum<{
|
|
2150
|
+
account: "account";
|
|
2151
|
+
login: "login";
|
|
2152
|
+
member: "member";
|
|
2153
|
+
}>>;
|
|
2067
2154
|
}, z.core.$strip>>;
|
|
2068
2155
|
}, z.core.$strip>;
|
|
2069
2156
|
export type RestAgents = z.infer<typeof restAgentsSchema>;
|
|
@@ -2142,6 +2229,7 @@ export declare const restProjectSchema: z.ZodMiniObject<{
|
|
|
2142
2229
|
yellow: "yellow";
|
|
2143
2230
|
}>>;
|
|
2144
2231
|
symbol: z.ZodMiniNullable<z.ZodMiniString<string>>;
|
|
2232
|
+
glyph: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
|
|
2145
2233
|
icon: z.ZodMiniNullable<z.ZodMiniObject<{
|
|
2146
2234
|
sha256: z.ZodMiniString<string>;
|
|
2147
2235
|
contentType: z.ZodMiniEnum<{
|
|
@@ -2187,6 +2275,7 @@ export declare const restProjectsSchema: z.ZodMiniObject<{
|
|
|
2187
2275
|
yellow: "yellow";
|
|
2188
2276
|
}>>;
|
|
2189
2277
|
symbol: z.ZodMiniNullable<z.ZodMiniString<string>>;
|
|
2278
|
+
glyph: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
|
|
2190
2279
|
icon: z.ZodMiniNullable<z.ZodMiniObject<{
|
|
2191
2280
|
sha256: z.ZodMiniString<string>;
|
|
2192
2281
|
contentType: z.ZodMiniEnum<{
|
|
@@ -2231,6 +2320,7 @@ export declare const restProjectInputSchema: z.ZodMiniObject<{
|
|
|
2231
2320
|
yellow: "yellow";
|
|
2232
2321
|
}>>>;
|
|
2233
2322
|
symbol: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
|
|
2323
|
+
glyph: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
|
|
2234
2324
|
}, z.core.$strip>;
|
|
2235
2325
|
export type RestProjectInput = z.infer<typeof restProjectInputSchema>;
|
|
2236
2326
|
/** What `PATCH /api/v1/projects/<key>` is sent: only what changes; the key does not. */
|
|
@@ -2253,6 +2343,7 @@ export declare const restProjectPatchSchema: z.ZodMiniObject<{
|
|
|
2253
2343
|
yellow: "yellow";
|
|
2254
2344
|
}>>>;
|
|
2255
2345
|
symbol: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
|
|
2346
|
+
glyph: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
|
|
2256
2347
|
}, z.core.$strip>;
|
|
2257
2348
|
export type RestProjectPatch = z.infer<typeof restProjectPatchSchema>;
|
|
2258
2349
|
/**
|
|
@@ -3750,6 +3841,7 @@ export declare const restWorkSchema: z.ZodMiniObject<{
|
|
|
3750
3841
|
yellow: "yellow";
|
|
3751
3842
|
}>>;
|
|
3752
3843
|
symbol: z.ZodMiniNullable<z.ZodMiniString<string>>;
|
|
3844
|
+
glyph: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
|
|
3753
3845
|
icon: z.ZodMiniNullable<z.ZodMiniObject<{
|
|
3754
3846
|
sha256: z.ZodMiniString<string>;
|
|
3755
3847
|
contentType: z.ZodMiniEnum<{
|
|
@@ -3907,6 +3999,7 @@ export declare const restWorkSchema: z.ZodMiniObject<{
|
|
|
3907
3999
|
yellow: "yellow";
|
|
3908
4000
|
}>>;
|
|
3909
4001
|
symbol: z.ZodMiniNullable<z.ZodMiniString<string>>;
|
|
4002
|
+
glyph: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
|
|
3910
4003
|
icon: z.ZodMiniNullable<z.ZodMiniObject<{
|
|
3911
4004
|
sha256: z.ZodMiniString<string>;
|
|
3912
4005
|
contentType: z.ZodMiniEnum<{
|
|
@@ -4064,6 +4157,7 @@ export declare const restWorkSchema: z.ZodMiniObject<{
|
|
|
4064
4157
|
yellow: "yellow";
|
|
4065
4158
|
}>>;
|
|
4066
4159
|
symbol: z.ZodMiniNullable<z.ZodMiniString<string>>;
|
|
4160
|
+
glyph: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
|
|
4067
4161
|
icon: z.ZodMiniNullable<z.ZodMiniObject<{
|
|
4068
4162
|
sha256: z.ZodMiniString<string>;
|
|
4069
4163
|
contentType: z.ZodMiniEnum<{
|
|
@@ -4336,6 +4430,7 @@ export declare const restMyDecisionsSchema: z.ZodMiniObject<{
|
|
|
4336
4430
|
yellow: "yellow";
|
|
4337
4431
|
}>>;
|
|
4338
4432
|
symbol: z.ZodMiniNullable<z.ZodMiniString<string>>;
|
|
4433
|
+
glyph: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
|
|
4339
4434
|
icon: z.ZodMiniNullable<z.ZodMiniObject<{
|
|
4340
4435
|
sha256: z.ZodMiniString<string>;
|
|
4341
4436
|
contentType: z.ZodMiniEnum<{
|
|
@@ -4608,6 +4703,7 @@ export declare const restReachedDecisionSchema: z.ZodMiniObject<{
|
|
|
4608
4703
|
yellow: "yellow";
|
|
4609
4704
|
}>>;
|
|
4610
4705
|
symbol: z.ZodMiniNullable<z.ZodMiniString<string>>;
|
|
4706
|
+
glyph: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
|
|
4611
4707
|
icon: z.ZodMiniNullable<z.ZodMiniObject<{
|
|
4612
4708
|
sha256: z.ZodMiniString<string>;
|
|
4613
4709
|
contentType: z.ZodMiniEnum<{
|
|
@@ -4880,6 +4976,7 @@ export declare const restPersonWorkSchema: z.ZodMiniObject<{
|
|
|
4880
4976
|
yellow: "yellow";
|
|
4881
4977
|
}>>;
|
|
4882
4978
|
symbol: z.ZodMiniNullable<z.ZodMiniString<string>>;
|
|
4979
|
+
glyph: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
|
|
4883
4980
|
icon: z.ZodMiniNullable<z.ZodMiniObject<{
|
|
4884
4981
|
sha256: z.ZodMiniString<string>;
|
|
4885
4982
|
contentType: z.ZodMiniEnum<{
|
|
@@ -5037,6 +5134,7 @@ export declare const restPersonWorkSchema: z.ZodMiniObject<{
|
|
|
5037
5134
|
yellow: "yellow";
|
|
5038
5135
|
}>>;
|
|
5039
5136
|
symbol: z.ZodMiniNullable<z.ZodMiniString<string>>;
|
|
5137
|
+
glyph: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
|
|
5040
5138
|
icon: z.ZodMiniNullable<z.ZodMiniObject<{
|
|
5041
5139
|
sha256: z.ZodMiniString<string>;
|
|
5042
5140
|
contentType: z.ZodMiniEnum<{
|
|
@@ -5313,6 +5411,146 @@ export declare const restTaskBriefSchema: z.ZodMiniObject<{
|
|
|
5313
5411
|
updatedAt: z.ZodMiniISODateTime;
|
|
5314
5412
|
}, z.core.$strip>;
|
|
5315
5413
|
export type RestTaskBrief = z.infer<typeof restTaskBriefSchema>;
|
|
5414
|
+
/**
|
|
5415
|
+
* `GET /api/v1/projects/<key>/tasks?brief=true`: a page of the board as `.../tasks` answers it,
|
|
5416
|
+
* the tasks without their bodies, for whatever lists tasks and shows no body: a listing of
|
|
5417
|
+
* the command, a desk's pages. A console from before the brief form answers the tasks whole,
|
|
5418
|
+
* which reads the same.
|
|
5419
|
+
*/
|
|
5420
|
+
export declare const restTaskBriefsSchema: z.ZodMiniObject<{
|
|
5421
|
+
items: z.ZodMiniArray<z.ZodMiniObject<{
|
|
5422
|
+
id: z.ZodMiniUUID;
|
|
5423
|
+
number: z.ZodMiniInt;
|
|
5424
|
+
title: z.ZodMiniString<string>;
|
|
5425
|
+
state: z.ZodMiniEnum<{
|
|
5426
|
+
done: "done";
|
|
5427
|
+
dropped: "dropped";
|
|
5428
|
+
idea: "idea";
|
|
5429
|
+
in_progress: "in_progress";
|
|
5430
|
+
in_review: "in_review";
|
|
5431
|
+
ready: "ready";
|
|
5432
|
+
}>;
|
|
5433
|
+
priority: z.ZodMiniEnum<{
|
|
5434
|
+
high: "high";
|
|
5435
|
+
low: "low";
|
|
5436
|
+
normal: "normal";
|
|
5437
|
+
urgent: "urgent";
|
|
5438
|
+
}>;
|
|
5439
|
+
owner: z.ZodMiniObject<{
|
|
5440
|
+
id: z.ZodMiniUUID;
|
|
5441
|
+
login: z.ZodMiniString<string>;
|
|
5442
|
+
name: z.ZodMiniNullable<z.ZodMiniString<string>>;
|
|
5443
|
+
avatar: z.ZodMiniNullable<z.ZodMiniString<string>>;
|
|
5444
|
+
role: z.ZodMiniEnum<{
|
|
5445
|
+
admin: "admin";
|
|
5446
|
+
member: "member";
|
|
5447
|
+
}>;
|
|
5448
|
+
status: z.ZodMiniEnum<{
|
|
5449
|
+
active: "active";
|
|
5450
|
+
deactivated: "deactivated";
|
|
5451
|
+
}>;
|
|
5452
|
+
source: z.ZodMiniEnum<{
|
|
5453
|
+
domain: "domain";
|
|
5454
|
+
listed: "listed";
|
|
5455
|
+
organization: "organization";
|
|
5456
|
+
}>;
|
|
5457
|
+
deactivatedAt: z.ZodMiniNullable<z.ZodMiniISODateTime>;
|
|
5458
|
+
managerId: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniUUID>>;
|
|
5459
|
+
teams: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
|
|
5460
|
+
language: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
|
|
5461
|
+
email: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
|
|
5462
|
+
kind: z.ZodMiniOptional<z.ZodMiniEnum<{
|
|
5463
|
+
agent: "agent";
|
|
5464
|
+
person: "person";
|
|
5465
|
+
}>>;
|
|
5466
|
+
handle: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
|
|
5467
|
+
title: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
|
|
5468
|
+
avatarParts: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniObject<{
|
|
5469
|
+
set: z.ZodMiniInt;
|
|
5470
|
+
palette: z.ZodMiniInt;
|
|
5471
|
+
ground: z.ZodMiniInt;
|
|
5472
|
+
form: z.ZodMiniInt;
|
|
5473
|
+
material: z.ZodMiniInt;
|
|
5474
|
+
accent: z.ZodMiniInt;
|
|
5475
|
+
vein: z.ZodMiniInt;
|
|
5476
|
+
}, z.core.$strip>>>;
|
|
5477
|
+
invited: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
|
|
5478
|
+
}, z.core.$strip>;
|
|
5479
|
+
plugin: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
|
|
5480
|
+
agent: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
|
|
5481
|
+
workers: z.ZodMiniArray<z.ZodMiniObject<{
|
|
5482
|
+
id: z.ZodMiniUUID;
|
|
5483
|
+
login: z.ZodMiniString<string>;
|
|
5484
|
+
name: z.ZodMiniNullable<z.ZodMiniString<string>>;
|
|
5485
|
+
avatar: z.ZodMiniNullable<z.ZodMiniString<string>>;
|
|
5486
|
+
role: z.ZodMiniEnum<{
|
|
5487
|
+
admin: "admin";
|
|
5488
|
+
member: "member";
|
|
5489
|
+
}>;
|
|
5490
|
+
status: z.ZodMiniEnum<{
|
|
5491
|
+
active: "active";
|
|
5492
|
+
deactivated: "deactivated";
|
|
5493
|
+
}>;
|
|
5494
|
+
source: z.ZodMiniEnum<{
|
|
5495
|
+
domain: "domain";
|
|
5496
|
+
listed: "listed";
|
|
5497
|
+
organization: "organization";
|
|
5498
|
+
}>;
|
|
5499
|
+
deactivatedAt: z.ZodMiniNullable<z.ZodMiniISODateTime>;
|
|
5500
|
+
managerId: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniUUID>>;
|
|
5501
|
+
teams: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
|
|
5502
|
+
language: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
|
|
5503
|
+
email: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
|
|
5504
|
+
kind: z.ZodMiniOptional<z.ZodMiniEnum<{
|
|
5505
|
+
agent: "agent";
|
|
5506
|
+
person: "person";
|
|
5507
|
+
}>>;
|
|
5508
|
+
handle: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
|
|
5509
|
+
title: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
|
|
5510
|
+
avatarParts: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniObject<{
|
|
5511
|
+
set: z.ZodMiniInt;
|
|
5512
|
+
palette: z.ZodMiniInt;
|
|
5513
|
+
ground: z.ZodMiniInt;
|
|
5514
|
+
form: z.ZodMiniInt;
|
|
5515
|
+
material: z.ZodMiniInt;
|
|
5516
|
+
accent: z.ZodMiniInt;
|
|
5517
|
+
vein: z.ZodMiniInt;
|
|
5518
|
+
}, z.core.$strip>>>;
|
|
5519
|
+
invited: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
|
|
5520
|
+
}, z.core.$strip>>;
|
|
5521
|
+
parentId: z.ZodMiniNullable<z.ZodMiniUUID>;
|
|
5522
|
+
category: z.ZodMiniNullable<z.ZodMiniObject<{
|
|
5523
|
+
key: z.ZodMiniString<string>;
|
|
5524
|
+
name: z.ZodMiniString<string>;
|
|
5525
|
+
color: z.ZodMiniEnum<{
|
|
5526
|
+
blue: "blue";
|
|
5527
|
+
gray: "gray";
|
|
5528
|
+
green: "green";
|
|
5529
|
+
orange: "orange";
|
|
5530
|
+
pink: "pink";
|
|
5531
|
+
purple: "purple";
|
|
5532
|
+
teal: "teal";
|
|
5533
|
+
yellow: "yellow";
|
|
5534
|
+
}>;
|
|
5535
|
+
}, z.core.$strip>>;
|
|
5536
|
+
goalId: z.ZodMiniNullable<z.ZodMiniUUID>;
|
|
5537
|
+
startsOn: z.ZodMiniNullable<z.ZodMiniISODate>;
|
|
5538
|
+
dueOn: z.ZodMiniNullable<z.ZodMiniISODate>;
|
|
5539
|
+
startedAt: z.ZodMiniNullable<z.ZodMiniISODateTime>;
|
|
5540
|
+
doneAt: z.ZodMiniNullable<z.ZodMiniISODateTime>;
|
|
5541
|
+
archivedAt: z.ZodMiniNullable<z.ZodMiniISODateTime>;
|
|
5542
|
+
links: z.ZodMiniArray<z.ZodMiniObject<{
|
|
5543
|
+
url: z.ZodMiniString<string>;
|
|
5544
|
+
label: z.ZodMiniNullable<z.ZodMiniString<string>>;
|
|
5545
|
+
}, z.core.$strip>>;
|
|
5546
|
+
openDecisions: z.ZodMiniInt;
|
|
5547
|
+
openRuns: z.ZodMiniInt;
|
|
5548
|
+
createdAt: z.ZodMiniISODateTime;
|
|
5549
|
+
updatedAt: z.ZodMiniISODateTime;
|
|
5550
|
+
}, z.core.$strip>>;
|
|
5551
|
+
more: z.ZodMiniBoolean<boolean>;
|
|
5552
|
+
}, z.core.$strip>;
|
|
5553
|
+
export type RestTaskBriefs = z.infer<typeof restTaskBriefsSchema>;
|
|
5316
5554
|
/** A decision as the plate's page asks for it: everything but its body. */
|
|
5317
5555
|
export declare const restDecisionBriefSchema: z.ZodMiniObject<{
|
|
5318
5556
|
id: z.ZodMiniUUID;
|
|
@@ -5573,6 +5811,7 @@ export declare const restWorkBriefSchema: z.ZodMiniObject<{
|
|
|
5573
5811
|
yellow: "yellow";
|
|
5574
5812
|
}>>;
|
|
5575
5813
|
symbol: z.ZodMiniNullable<z.ZodMiniString<string>>;
|
|
5814
|
+
glyph: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
|
|
5576
5815
|
icon: z.ZodMiniNullable<z.ZodMiniObject<{
|
|
5577
5816
|
sha256: z.ZodMiniString<string>;
|
|
5578
5817
|
contentType: z.ZodMiniEnum<{
|
|
@@ -5729,6 +5968,7 @@ export declare const restWorkBriefSchema: z.ZodMiniObject<{
|
|
|
5729
5968
|
yellow: "yellow";
|
|
5730
5969
|
}>>;
|
|
5731
5970
|
symbol: z.ZodMiniNullable<z.ZodMiniString<string>>;
|
|
5971
|
+
glyph: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
|
|
5732
5972
|
icon: z.ZodMiniNullable<z.ZodMiniObject<{
|
|
5733
5973
|
sha256: z.ZodMiniString<string>;
|
|
5734
5974
|
contentType: z.ZodMiniEnum<{
|
|
@@ -5885,6 +6125,7 @@ export declare const restWorkBriefSchema: z.ZodMiniObject<{
|
|
|
5885
6125
|
yellow: "yellow";
|
|
5886
6126
|
}>>;
|
|
5887
6127
|
symbol: z.ZodMiniNullable<z.ZodMiniString<string>>;
|
|
6128
|
+
glyph: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
|
|
5888
6129
|
icon: z.ZodMiniNullable<z.ZodMiniObject<{
|
|
5889
6130
|
sha256: z.ZodMiniString<string>;
|
|
5890
6131
|
contentType: z.ZodMiniEnum<{
|
|
@@ -6152,6 +6393,7 @@ export declare const restPersonWorkBriefSchema: z.ZodMiniObject<{
|
|
|
6152
6393
|
yellow: "yellow";
|
|
6153
6394
|
}>>;
|
|
6154
6395
|
symbol: z.ZodMiniNullable<z.ZodMiniString<string>>;
|
|
6396
|
+
glyph: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
|
|
6155
6397
|
icon: z.ZodMiniNullable<z.ZodMiniObject<{
|
|
6156
6398
|
sha256: z.ZodMiniString<string>;
|
|
6157
6399
|
contentType: z.ZodMiniEnum<{
|
|
@@ -6308,6 +6550,7 @@ export declare const restPersonWorkBriefSchema: z.ZodMiniObject<{
|
|
|
6308
6550
|
yellow: "yellow";
|
|
6309
6551
|
}>>;
|
|
6310
6552
|
symbol: z.ZodMiniNullable<z.ZodMiniString<string>>;
|
|
6553
|
+
glyph: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
|
|
6311
6554
|
icon: z.ZodMiniNullable<z.ZodMiniObject<{
|
|
6312
6555
|
sha256: z.ZodMiniString<string>;
|
|
6313
6556
|
contentType: z.ZodMiniEnum<{
|
|
@@ -6572,6 +6815,7 @@ export declare const restEventDataSchema: z.ZodMiniObject<{
|
|
|
6572
6815
|
args: z.ZodMiniOptional<z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniUnknown>>;
|
|
6573
6816
|
capabilities: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
|
|
6574
6817
|
source: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
6818
|
+
under: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
6575
6819
|
grantee: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
6576
6820
|
everyone: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
|
|
6577
6821
|
problem: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
@@ -6759,6 +7003,7 @@ export declare const restEventSchema: z.ZodMiniObject<{
|
|
|
6759
7003
|
args: z.ZodMiniOptional<z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniUnknown>>;
|
|
6760
7004
|
capabilities: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
|
|
6761
7005
|
source: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
7006
|
+
under: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
6762
7007
|
grantee: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
6763
7008
|
everyone: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
|
|
6764
7009
|
problem: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
@@ -6958,6 +7203,182 @@ export declare const restRunsSchema: z.ZodMiniObject<{
|
|
|
6958
7203
|
more: z.ZodMiniBoolean<boolean>;
|
|
6959
7204
|
}, z.core.$strip>;
|
|
6960
7205
|
export type RestRuns = z.infer<typeof restRunsSchema>;
|
|
7206
|
+
/**
|
|
7207
|
+
* A run as a listing asks for it: everything but its reports, of which it says how many. The
|
|
7208
|
+
* reports are what a run says as it goes, and weigh more than the rest of a listing together.
|
|
7209
|
+
* A console from before the brief form (0.5.0) ignores the word and answers the run whole, so
|
|
7210
|
+
* what is read is either: the count where the console counted, the reports where it sent them.
|
|
7211
|
+
*/
|
|
7212
|
+
export declare const restRunBriefSchema: z.ZodMiniObject<{
|
|
7213
|
+
id: z.ZodMiniUUID;
|
|
7214
|
+
taskId: z.ZodMiniUUID;
|
|
7215
|
+
taskNumber: z.ZodMiniInt;
|
|
7216
|
+
person: z.ZodMiniObject<{
|
|
7217
|
+
id: z.ZodMiniUUID;
|
|
7218
|
+
login: z.ZodMiniString<string>;
|
|
7219
|
+
name: z.ZodMiniNullable<z.ZodMiniString<string>>;
|
|
7220
|
+
avatar: z.ZodMiniNullable<z.ZodMiniString<string>>;
|
|
7221
|
+
role: z.ZodMiniEnum<{
|
|
7222
|
+
admin: "admin";
|
|
7223
|
+
member: "member";
|
|
7224
|
+
}>;
|
|
7225
|
+
status: z.ZodMiniEnum<{
|
|
7226
|
+
active: "active";
|
|
7227
|
+
deactivated: "deactivated";
|
|
7228
|
+
}>;
|
|
7229
|
+
source: z.ZodMiniEnum<{
|
|
7230
|
+
domain: "domain";
|
|
7231
|
+
listed: "listed";
|
|
7232
|
+
organization: "organization";
|
|
7233
|
+
}>;
|
|
7234
|
+
deactivatedAt: z.ZodMiniNullable<z.ZodMiniISODateTime>;
|
|
7235
|
+
managerId: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniUUID>>;
|
|
7236
|
+
teams: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
|
|
7237
|
+
language: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
|
|
7238
|
+
email: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
|
|
7239
|
+
kind: z.ZodMiniOptional<z.ZodMiniEnum<{
|
|
7240
|
+
agent: "agent";
|
|
7241
|
+
person: "person";
|
|
7242
|
+
}>>;
|
|
7243
|
+
handle: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
|
|
7244
|
+
title: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
|
|
7245
|
+
avatarParts: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniObject<{
|
|
7246
|
+
set: z.ZodMiniInt;
|
|
7247
|
+
palette: z.ZodMiniInt;
|
|
7248
|
+
ground: z.ZodMiniInt;
|
|
7249
|
+
form: z.ZodMiniInt;
|
|
7250
|
+
material: z.ZodMiniInt;
|
|
7251
|
+
accent: z.ZodMiniInt;
|
|
7252
|
+
vein: z.ZodMiniInt;
|
|
7253
|
+
}, z.core.$strip>>>;
|
|
7254
|
+
invited: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
|
|
7255
|
+
}, z.core.$strip>;
|
|
7256
|
+
agent: z.ZodMiniString<string>;
|
|
7257
|
+
status: z.ZodMiniEnum<{
|
|
7258
|
+
abandoned: "abandoned";
|
|
7259
|
+
failed: "failed";
|
|
7260
|
+
finished: "finished";
|
|
7261
|
+
running: "running";
|
|
7262
|
+
waiting: "waiting";
|
|
7263
|
+
}>;
|
|
7264
|
+
startedAt: z.ZodMiniISODateTime;
|
|
7265
|
+
endedAt: z.ZodMiniNullable<z.ZodMiniISODateTime>;
|
|
7266
|
+
lastHeardAt: z.ZodMiniISODateTime;
|
|
7267
|
+
summary: z.ZodMiniNullable<z.ZodMiniString<string>>;
|
|
7268
|
+
artifacts: z.ZodMiniArray<z.ZodMiniObject<{
|
|
7269
|
+
id: z.ZodMiniUUID;
|
|
7270
|
+
kind: z.ZodMiniEnum<{
|
|
7271
|
+
file: "file";
|
|
7272
|
+
link: "link";
|
|
7273
|
+
}>;
|
|
7274
|
+
url: z.ZodMiniNullable<z.ZodMiniString<string>>;
|
|
7275
|
+
label: z.ZodMiniNullable<z.ZodMiniString<string>>;
|
|
7276
|
+
file: z.ZodMiniNullable<z.ZodMiniObject<{
|
|
7277
|
+
name: z.ZodMiniString<string>;
|
|
7278
|
+
size: z.ZodMiniInt;
|
|
7279
|
+
contentType: z.ZodMiniString<string>;
|
|
7280
|
+
sha256: z.ZodMiniString<string>;
|
|
7281
|
+
}, z.core.$strip>>;
|
|
7282
|
+
createdAt: z.ZodMiniISODateTime;
|
|
7283
|
+
}, z.core.$strip>>;
|
|
7284
|
+
waitingFor: z.ZodMiniNullable<z.ZodMiniUUID>;
|
|
7285
|
+
sessionId: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniUUID>>;
|
|
7286
|
+
reportCount: z.ZodMiniOptional<z.ZodMiniInt>;
|
|
7287
|
+
reports: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniObject<{
|
|
7288
|
+
id: z.ZodMiniUUID;
|
|
7289
|
+
body: z.ZodMiniString<string>;
|
|
7290
|
+
createdAt: z.ZodMiniISODateTime;
|
|
7291
|
+
}, z.core.$strip>>>;
|
|
7292
|
+
}, z.core.$strip>;
|
|
7293
|
+
export type RestRunBrief = z.infer<typeof restRunBriefSchema>;
|
|
7294
|
+
/** How many reports a run has, as a listing says it: as the console counted them, else as many as it sent. */
|
|
7295
|
+
export declare function reportCountOf(run: RestRunBrief): number;
|
|
7296
|
+
/** `GET /api/v1/projects/<key>/runs?brief=true`: a page of the runs as `.../runs` answers it, without their reports. */
|
|
7297
|
+
export declare const restRunBriefsSchema: z.ZodMiniObject<{
|
|
7298
|
+
items: z.ZodMiniArray<z.ZodMiniObject<{
|
|
7299
|
+
id: z.ZodMiniUUID;
|
|
7300
|
+
taskId: z.ZodMiniUUID;
|
|
7301
|
+
taskNumber: z.ZodMiniInt;
|
|
7302
|
+
person: z.ZodMiniObject<{
|
|
7303
|
+
id: z.ZodMiniUUID;
|
|
7304
|
+
login: z.ZodMiniString<string>;
|
|
7305
|
+
name: z.ZodMiniNullable<z.ZodMiniString<string>>;
|
|
7306
|
+
avatar: z.ZodMiniNullable<z.ZodMiniString<string>>;
|
|
7307
|
+
role: z.ZodMiniEnum<{
|
|
7308
|
+
admin: "admin";
|
|
7309
|
+
member: "member";
|
|
7310
|
+
}>;
|
|
7311
|
+
status: z.ZodMiniEnum<{
|
|
7312
|
+
active: "active";
|
|
7313
|
+
deactivated: "deactivated";
|
|
7314
|
+
}>;
|
|
7315
|
+
source: z.ZodMiniEnum<{
|
|
7316
|
+
domain: "domain";
|
|
7317
|
+
listed: "listed";
|
|
7318
|
+
organization: "organization";
|
|
7319
|
+
}>;
|
|
7320
|
+
deactivatedAt: z.ZodMiniNullable<z.ZodMiniISODateTime>;
|
|
7321
|
+
managerId: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniUUID>>;
|
|
7322
|
+
teams: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
|
|
7323
|
+
language: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
|
|
7324
|
+
email: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
|
|
7325
|
+
kind: z.ZodMiniOptional<z.ZodMiniEnum<{
|
|
7326
|
+
agent: "agent";
|
|
7327
|
+
person: "person";
|
|
7328
|
+
}>>;
|
|
7329
|
+
handle: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
|
|
7330
|
+
title: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
|
|
7331
|
+
avatarParts: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniObject<{
|
|
7332
|
+
set: z.ZodMiniInt;
|
|
7333
|
+
palette: z.ZodMiniInt;
|
|
7334
|
+
ground: z.ZodMiniInt;
|
|
7335
|
+
form: z.ZodMiniInt;
|
|
7336
|
+
material: z.ZodMiniInt;
|
|
7337
|
+
accent: z.ZodMiniInt;
|
|
7338
|
+
vein: z.ZodMiniInt;
|
|
7339
|
+
}, z.core.$strip>>>;
|
|
7340
|
+
invited: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
|
|
7341
|
+
}, z.core.$strip>;
|
|
7342
|
+
agent: z.ZodMiniString<string>;
|
|
7343
|
+
status: z.ZodMiniEnum<{
|
|
7344
|
+
abandoned: "abandoned";
|
|
7345
|
+
failed: "failed";
|
|
7346
|
+
finished: "finished";
|
|
7347
|
+
running: "running";
|
|
7348
|
+
waiting: "waiting";
|
|
7349
|
+
}>;
|
|
7350
|
+
startedAt: z.ZodMiniISODateTime;
|
|
7351
|
+
endedAt: z.ZodMiniNullable<z.ZodMiniISODateTime>;
|
|
7352
|
+
lastHeardAt: z.ZodMiniISODateTime;
|
|
7353
|
+
summary: z.ZodMiniNullable<z.ZodMiniString<string>>;
|
|
7354
|
+
artifacts: z.ZodMiniArray<z.ZodMiniObject<{
|
|
7355
|
+
id: z.ZodMiniUUID;
|
|
7356
|
+
kind: z.ZodMiniEnum<{
|
|
7357
|
+
file: "file";
|
|
7358
|
+
link: "link";
|
|
7359
|
+
}>;
|
|
7360
|
+
url: z.ZodMiniNullable<z.ZodMiniString<string>>;
|
|
7361
|
+
label: z.ZodMiniNullable<z.ZodMiniString<string>>;
|
|
7362
|
+
file: z.ZodMiniNullable<z.ZodMiniObject<{
|
|
7363
|
+
name: z.ZodMiniString<string>;
|
|
7364
|
+
size: z.ZodMiniInt;
|
|
7365
|
+
contentType: z.ZodMiniString<string>;
|
|
7366
|
+
sha256: z.ZodMiniString<string>;
|
|
7367
|
+
}, z.core.$strip>>;
|
|
7368
|
+
createdAt: z.ZodMiniISODateTime;
|
|
7369
|
+
}, z.core.$strip>>;
|
|
7370
|
+
waitingFor: z.ZodMiniNullable<z.ZodMiniUUID>;
|
|
7371
|
+
sessionId: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniUUID>>;
|
|
7372
|
+
reportCount: z.ZodMiniOptional<z.ZodMiniInt>;
|
|
7373
|
+
reports: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniObject<{
|
|
7374
|
+
id: z.ZodMiniUUID;
|
|
7375
|
+
body: z.ZodMiniString<string>;
|
|
7376
|
+
createdAt: z.ZodMiniISODateTime;
|
|
7377
|
+
}, z.core.$strip>>>;
|
|
7378
|
+
}, z.core.$strip>>;
|
|
7379
|
+
more: z.ZodMiniBoolean<boolean>;
|
|
7380
|
+
}, z.core.$strip>;
|
|
7381
|
+
export type RestRunBriefs = z.infer<typeof restRunBriefsSchema>;
|
|
6961
7382
|
/** A file put in a comment, kept as a run's file is; its bytes are at `projectPath(key, "files", <id>)`. */
|
|
6962
7383
|
export declare const restCommentFileSchema: z.ZodMiniObject<{
|
|
6963
7384
|
id: z.ZodMiniUUID;
|
|
@@ -7274,6 +7695,7 @@ export declare const restEventsSchema: z.ZodMiniObject<{
|
|
|
7274
7695
|
args: z.ZodMiniOptional<z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniUnknown>>;
|
|
7275
7696
|
capabilities: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
|
|
7276
7697
|
source: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
7698
|
+
under: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
7277
7699
|
grantee: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
7278
7700
|
everyone: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
|
|
7279
7701
|
problem: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
@@ -7390,6 +7812,9 @@ export type RestConnectInput = z.infer<typeof restConnectInputSchema>;
|
|
|
7390
7812
|
/**
|
|
7391
7813
|
* What `POST /api/v1/connect` answers (ADR-0011): the code a person approves, the address of the
|
|
7392
7814
|
* console's own page for it, and the secret the command claims the token with, shown nowhere.
|
|
7815
|
+
* Bounded, each no wider than the command's credentials file reads back (`cli/credentials.ts`),
|
|
7816
|
+
* since the route answers nobody and the command keeps the answer while it waits (ADR-0129):
|
|
7817
|
+
* a console answers a code of nine characters and a wait of a few seconds.
|
|
7393
7818
|
*/
|
|
7394
7819
|
export declare const restConnectionSchema: z.ZodMiniObject<{
|
|
7395
7820
|
code: z.ZodMiniString<string>;
|
|
@@ -7628,6 +8053,7 @@ export declare const restSkillsSchema: z.ZodMiniObject<{
|
|
|
7628
8053
|
manifestPath: z.ZodMiniNullable<z.ZodMiniString<string>>;
|
|
7629
8054
|
language: z.ZodMiniNullable<z.ZodMiniString<string>>;
|
|
7630
8055
|
}, z.core.$strip>>>;
|
|
8056
|
+
groupCount: z.ZodMiniOptional<z.ZodMiniInt>;
|
|
7631
8057
|
search: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
7632
8058
|
meaning: z.ZodMiniBoolean<boolean>;
|
|
7633
8059
|
embedding: z.ZodMiniNullable<z.ZodMiniDiscriminatedUnion<[z.ZodMiniObject<{
|
|
@@ -7695,6 +8121,7 @@ export declare const restPackConnectSchema: z.ZodMiniUnion<readonly [z.ZodMiniOb
|
|
|
7695
8121
|
yellow: "yellow";
|
|
7696
8122
|
}>>;
|
|
7697
8123
|
symbol: z.ZodMiniNullable<z.ZodMiniString<string>>;
|
|
8124
|
+
glyph: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
|
|
7698
8125
|
icon: z.ZodMiniNullable<z.ZodMiniObject<{
|
|
7699
8126
|
sha256: z.ZodMiniString<string>;
|
|
7700
8127
|
contentType: z.ZodMiniEnum<{
|
|
@@ -8606,9 +9033,10 @@ export declare const restRulesPluginSchema: z.ZodMiniObject<{
|
|
|
8606
9033
|
}, z.core.$strip>;
|
|
8607
9034
|
export type RestRulesPlugin = z.infer<typeof restRulesPluginSchema>;
|
|
8608
9035
|
/**
|
|
8609
|
-
* `GET /api/v1/rules`, and each half of a project's (ADR-0023): the rules that hold,
|
|
8610
|
-
*
|
|
8611
|
-
*
|
|
9036
|
+
* `GET /api/v1/rules`, and each half of a project's (ADR-0023, ADR-0120): the rules that hold,
|
|
9037
|
+
* and what stands beside the console's. At the workspace, `reference`: the console's rules
|
|
9038
|
+
* alone, since the organization adds nothing; `written`: something is added, on its page. In
|
|
9039
|
+
* a project's own half, `written`: the page the project wrote; `none`: it adds none.
|
|
8612
9040
|
*/
|
|
8613
9041
|
export declare const restRulesSchema: z.ZodMiniObject<{
|
|
8614
9042
|
source: z.ZodMiniEnum<{
|
|
@@ -8668,6 +9096,61 @@ export declare const restRulesSchema: z.ZodMiniObject<{
|
|
|
8668
9096
|
createdAt: z.ZodMiniISODateTime;
|
|
8669
9097
|
updatedAt: z.ZodMiniISODateTime;
|
|
8670
9098
|
}, z.core.$strip>>;
|
|
9099
|
+
own: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
9100
|
+
added: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniObject<{
|
|
9101
|
+
body: z.ZodMiniString<string>;
|
|
9102
|
+
page: z.ZodMiniObject<{
|
|
9103
|
+
id: z.ZodMiniUUID;
|
|
9104
|
+
path: z.ZodMiniString<string>;
|
|
9105
|
+
title: z.ZodMiniString<string>;
|
|
9106
|
+
version: z.ZodMiniInt;
|
|
9107
|
+
updatedBy: z.ZodMiniObject<{
|
|
9108
|
+
id: z.ZodMiniUUID;
|
|
9109
|
+
login: z.ZodMiniString<string>;
|
|
9110
|
+
name: z.ZodMiniNullable<z.ZodMiniString<string>>;
|
|
9111
|
+
avatar: z.ZodMiniNullable<z.ZodMiniString<string>>;
|
|
9112
|
+
role: z.ZodMiniEnum<{
|
|
9113
|
+
admin: "admin";
|
|
9114
|
+
member: "member";
|
|
9115
|
+
}>;
|
|
9116
|
+
status: z.ZodMiniEnum<{
|
|
9117
|
+
active: "active";
|
|
9118
|
+
deactivated: "deactivated";
|
|
9119
|
+
}>;
|
|
9120
|
+
source: z.ZodMiniEnum<{
|
|
9121
|
+
domain: "domain";
|
|
9122
|
+
listed: "listed";
|
|
9123
|
+
organization: "organization";
|
|
9124
|
+
}>;
|
|
9125
|
+
deactivatedAt: z.ZodMiniNullable<z.ZodMiniISODateTime>;
|
|
9126
|
+
managerId: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniUUID>>;
|
|
9127
|
+
teams: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
|
|
9128
|
+
language: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
|
|
9129
|
+
email: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
|
|
9130
|
+
kind: z.ZodMiniOptional<z.ZodMiniEnum<{
|
|
9131
|
+
agent: "agent";
|
|
9132
|
+
person: "person";
|
|
9133
|
+
}>>;
|
|
9134
|
+
handle: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
|
|
9135
|
+
title: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
|
|
9136
|
+
avatarParts: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniObject<{
|
|
9137
|
+
set: z.ZodMiniInt;
|
|
9138
|
+
palette: z.ZodMiniInt;
|
|
9139
|
+
ground: z.ZodMiniInt;
|
|
9140
|
+
form: z.ZodMiniInt;
|
|
9141
|
+
material: z.ZodMiniInt;
|
|
9142
|
+
accent: z.ZodMiniInt;
|
|
9143
|
+
vein: z.ZodMiniInt;
|
|
9144
|
+
}, z.core.$strip>>>;
|
|
9145
|
+
invited: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
|
|
9146
|
+
}, z.core.$strip>;
|
|
9147
|
+
agent: z.ZodMiniNullable<z.ZodMiniString<string>>;
|
|
9148
|
+
plugin: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
|
|
9149
|
+
archivedAt: z.ZodMiniNullable<z.ZodMiniISODateTime>;
|
|
9150
|
+
createdAt: z.ZodMiniISODateTime;
|
|
9151
|
+
updatedAt: z.ZodMiniISODateTime;
|
|
9152
|
+
}, z.core.$strip>;
|
|
9153
|
+
}, z.core.$strip>>>;
|
|
8671
9154
|
plugins: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniObject<{
|
|
8672
9155
|
key: z.ZodMiniString<string>;
|
|
8673
9156
|
name: z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniString<string>>;
|
|
@@ -8737,6 +9220,61 @@ export declare const restProjectRulesSchema: z.ZodMiniObject<{
|
|
|
8737
9220
|
createdAt: z.ZodMiniISODateTime;
|
|
8738
9221
|
updatedAt: z.ZodMiniISODateTime;
|
|
8739
9222
|
}, z.core.$strip>>;
|
|
9223
|
+
own: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
9224
|
+
added: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniObject<{
|
|
9225
|
+
body: z.ZodMiniString<string>;
|
|
9226
|
+
page: z.ZodMiniObject<{
|
|
9227
|
+
id: z.ZodMiniUUID;
|
|
9228
|
+
path: z.ZodMiniString<string>;
|
|
9229
|
+
title: z.ZodMiniString<string>;
|
|
9230
|
+
version: z.ZodMiniInt;
|
|
9231
|
+
updatedBy: z.ZodMiniObject<{
|
|
9232
|
+
id: z.ZodMiniUUID;
|
|
9233
|
+
login: z.ZodMiniString<string>;
|
|
9234
|
+
name: z.ZodMiniNullable<z.ZodMiniString<string>>;
|
|
9235
|
+
avatar: z.ZodMiniNullable<z.ZodMiniString<string>>;
|
|
9236
|
+
role: z.ZodMiniEnum<{
|
|
9237
|
+
admin: "admin";
|
|
9238
|
+
member: "member";
|
|
9239
|
+
}>;
|
|
9240
|
+
status: z.ZodMiniEnum<{
|
|
9241
|
+
active: "active";
|
|
9242
|
+
deactivated: "deactivated";
|
|
9243
|
+
}>;
|
|
9244
|
+
source: z.ZodMiniEnum<{
|
|
9245
|
+
domain: "domain";
|
|
9246
|
+
listed: "listed";
|
|
9247
|
+
organization: "organization";
|
|
9248
|
+
}>;
|
|
9249
|
+
deactivatedAt: z.ZodMiniNullable<z.ZodMiniISODateTime>;
|
|
9250
|
+
managerId: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniUUID>>;
|
|
9251
|
+
teams: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
|
|
9252
|
+
language: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
|
|
9253
|
+
email: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
|
|
9254
|
+
kind: z.ZodMiniOptional<z.ZodMiniEnum<{
|
|
9255
|
+
agent: "agent";
|
|
9256
|
+
person: "person";
|
|
9257
|
+
}>>;
|
|
9258
|
+
handle: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
|
|
9259
|
+
title: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
|
|
9260
|
+
avatarParts: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniObject<{
|
|
9261
|
+
set: z.ZodMiniInt;
|
|
9262
|
+
palette: z.ZodMiniInt;
|
|
9263
|
+
ground: z.ZodMiniInt;
|
|
9264
|
+
form: z.ZodMiniInt;
|
|
9265
|
+
material: z.ZodMiniInt;
|
|
9266
|
+
accent: z.ZodMiniInt;
|
|
9267
|
+
vein: z.ZodMiniInt;
|
|
9268
|
+
}, z.core.$strip>>>;
|
|
9269
|
+
invited: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
|
|
9270
|
+
}, z.core.$strip>;
|
|
9271
|
+
agent: z.ZodMiniNullable<z.ZodMiniString<string>>;
|
|
9272
|
+
plugin: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
|
|
9273
|
+
archivedAt: z.ZodMiniNullable<z.ZodMiniISODateTime>;
|
|
9274
|
+
createdAt: z.ZodMiniISODateTime;
|
|
9275
|
+
updatedAt: z.ZodMiniISODateTime;
|
|
9276
|
+
}, z.core.$strip>;
|
|
9277
|
+
}, z.core.$strip>>>;
|
|
8740
9278
|
plugins: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniObject<{
|
|
8741
9279
|
key: z.ZodMiniString<string>;
|
|
8742
9280
|
name: z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniString<string>>;
|
|
@@ -8803,6 +9341,61 @@ export declare const restProjectRulesSchema: z.ZodMiniObject<{
|
|
|
8803
9341
|
createdAt: z.ZodMiniISODateTime;
|
|
8804
9342
|
updatedAt: z.ZodMiniISODateTime;
|
|
8805
9343
|
}, z.core.$strip>>;
|
|
9344
|
+
own: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
9345
|
+
added: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniObject<{
|
|
9346
|
+
body: z.ZodMiniString<string>;
|
|
9347
|
+
page: z.ZodMiniObject<{
|
|
9348
|
+
id: z.ZodMiniUUID;
|
|
9349
|
+
path: z.ZodMiniString<string>;
|
|
9350
|
+
title: z.ZodMiniString<string>;
|
|
9351
|
+
version: z.ZodMiniInt;
|
|
9352
|
+
updatedBy: z.ZodMiniObject<{
|
|
9353
|
+
id: z.ZodMiniUUID;
|
|
9354
|
+
login: z.ZodMiniString<string>;
|
|
9355
|
+
name: z.ZodMiniNullable<z.ZodMiniString<string>>;
|
|
9356
|
+
avatar: z.ZodMiniNullable<z.ZodMiniString<string>>;
|
|
9357
|
+
role: z.ZodMiniEnum<{
|
|
9358
|
+
admin: "admin";
|
|
9359
|
+
member: "member";
|
|
9360
|
+
}>;
|
|
9361
|
+
status: z.ZodMiniEnum<{
|
|
9362
|
+
active: "active";
|
|
9363
|
+
deactivated: "deactivated";
|
|
9364
|
+
}>;
|
|
9365
|
+
source: z.ZodMiniEnum<{
|
|
9366
|
+
domain: "domain";
|
|
9367
|
+
listed: "listed";
|
|
9368
|
+
organization: "organization";
|
|
9369
|
+
}>;
|
|
9370
|
+
deactivatedAt: z.ZodMiniNullable<z.ZodMiniISODateTime>;
|
|
9371
|
+
managerId: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniUUID>>;
|
|
9372
|
+
teams: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
|
|
9373
|
+
language: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
|
|
9374
|
+
email: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
|
|
9375
|
+
kind: z.ZodMiniOptional<z.ZodMiniEnum<{
|
|
9376
|
+
agent: "agent";
|
|
9377
|
+
person: "person";
|
|
9378
|
+
}>>;
|
|
9379
|
+
handle: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
|
|
9380
|
+
title: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
|
|
9381
|
+
avatarParts: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniObject<{
|
|
9382
|
+
set: z.ZodMiniInt;
|
|
9383
|
+
palette: z.ZodMiniInt;
|
|
9384
|
+
ground: z.ZodMiniInt;
|
|
9385
|
+
form: z.ZodMiniInt;
|
|
9386
|
+
material: z.ZodMiniInt;
|
|
9387
|
+
accent: z.ZodMiniInt;
|
|
9388
|
+
vein: z.ZodMiniInt;
|
|
9389
|
+
}, z.core.$strip>>>;
|
|
9390
|
+
invited: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
|
|
9391
|
+
}, z.core.$strip>;
|
|
9392
|
+
agent: z.ZodMiniNullable<z.ZodMiniString<string>>;
|
|
9393
|
+
plugin: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
|
|
9394
|
+
archivedAt: z.ZodMiniNullable<z.ZodMiniISODateTime>;
|
|
9395
|
+
createdAt: z.ZodMiniISODateTime;
|
|
9396
|
+
updatedAt: z.ZodMiniISODateTime;
|
|
9397
|
+
}, z.core.$strip>;
|
|
9398
|
+
}, z.core.$strip>>>;
|
|
8806
9399
|
plugins: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniObject<{
|
|
8807
9400
|
key: z.ZodMiniString<string>;
|
|
8808
9401
|
name: z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniString<string>>;
|
|
@@ -8820,7 +9413,11 @@ export declare const restProjectRulesSchema: z.ZodMiniObject<{
|
|
|
8820
9413
|
}, z.core.$strip>>>;
|
|
8821
9414
|
}, z.core.$strip>;
|
|
8822
9415
|
export type RestProjectRules = z.infer<typeof restProjectRulesSchema>;
|
|
8823
|
-
/**
|
|
9416
|
+
/**
|
|
9417
|
+
* What `PUT /api/v1/rules` is sent: what the organization adds, as it is to be. A body that
|
|
9418
|
+
* carries the console's rules whole, as a client of before read them, is taken for what stands
|
|
9419
|
+
* before and after them.
|
|
9420
|
+
*/
|
|
8824
9421
|
export declare const restRulesInputSchema: z.ZodMiniObject<{
|
|
8825
9422
|
body: z.ZodMiniString<string>;
|
|
8826
9423
|
baseVersion: z.ZodMiniOptional<z.ZodMiniInt>;
|