Commit 5eb24f8
spec: name the live
* spec: name the live `ui` plugin type in the plugin describe strings
`PluginSchema.type` is `z.enum(['standard', ...CORE_PLUGIN_TYPES])` and
`CORE_PLUGIN_TYPES` spells the frontend member `ui`. The `staticPath`,
`slug` and `default` describe strings still named `ui-plugin`, a value the
same schema refuses two lines above — and they read as instructions
("Required for type=..."), so an author or agent following them writes a
value that is rejected.
Also updates the two `content/docs/plugins/anatomy.mdx` prose sites that
used the retired spelling; the page's own section heading already reads
`### 2. UI Plugin (\`ui\`)`.
No accept/reject behaviour changes: `type: 'ui-plugin'` is refused before
and after, `type: 'ui'` accepted before and after.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01G4138K1EG7kQ81FNba5Kp4
* spec: regenerate the kernel/plugin reference page + changeset
`content/docs/references/kernel/plugin.mdx` is auto-generated from
`packages/spec/src/kernel/plugin.zod.ts` (banner: "AUTO-GENERATED — DO NOT
EDIT. Run build-docs.ts to regenerate"), so the three table rows follow the
describe strings. Regenerated with `pnpm --filter @objectstack/spec
gen:schema && gen:docs` — never hand-edited.
`authorable-surface.base.json` was deliberately NOT re-anchored: the build
prints re-anchoring as its own reviewed act (`gen:authorable-surface-base`),
not a side effect of this run.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01G4138K1EG7kQ81FNba5Kp4
---------
Co-authored-by: claude[bot] <claude[bot]@users.noreply.github.com>
Co-authored-by: Claude Opus 5 <noreply@anthropic.com>ui plugin type in the PluginSchema describe strings (#15639)1 parent fa125f3 commit 5eb24f8
4 files changed
Lines changed: 19 additions & 8 deletions
File tree
- .changeset
- content/docs
- plugins
- references/kernel
- packages/spec/src/kernel
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
80 | | - | |
| 80 | + | |
81 | 81 | | |
82 | 82 | | |
83 | 83 | | |
| |||
93 | 93 | | |
94 | 94 | | |
95 | 95 | | |
96 | | - | |
| 96 | + | |
97 | 97 | | |
98 | 98 | | |
99 | 99 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
32 | | - | |
33 | | - | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
123 | 123 | | |
124 | 124 | | |
125 | 125 | | |
126 | | - | |
127 | | - | |
128 | | - | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
129 | 129 | | |
130 | 130 | | |
131 | 131 | | |
| |||
0 commit comments