• feat(self-modification): add dynamic Cordis plugin runtime and UI

This commit is contained in:
imccyu
2026-08-12 23:51:31 +08:00
parent 0367506471
commit 4064198560
147 changed files with 20904 additions and 2412 deletions

View File

@@ -74,14 +74,18 @@ declare module '@deepseek-ai/dsh-client-ui-slots' {
*/
'settings.onboarding': { kind: 'list'; scope: 'root'; owner: SettingsOnboardingOwnerProps }
/**
* One preference row inside the General section, contributed by the
* feature plugin that owns the preference (locale → Language, ui-theme →
* Appearance, ui-conversation → Composer Enter). Options: `id` (row key),
* `order` (row position). Rows draw their own internals; the section
* column only stacks them. Declared at runtime by ui-settings-general's
* General entry — the type lives here with every other settings slot type,
* because this package is the settings domain's base layer and every
* registrant already depends on it for `ctx.settingsScope`.
* One preference row inside the General section — the additive seat for a
* single setting that needs no page of its own (a whole page is
* `settings.section`), contributed by the feature plugin that owns the
* preference (locale → Language, ui-theme → Appearance, ui-conversation →
* Composer Enter). Options: `id` (row key), `order` (row position). The
* section column only stacks rows, so a row draws its own internals,
* including its label: nothing projects a `label` here and the owner passes
* no props at all — copy, current value, and the write path are all yours,
* through your own inject face and `host.call`. Declared at runtime by
* ui-settings-general's General entry; the type lives here with every other
* settings slot type, because this package is the settings domain's base
* layer and every registrant already depends on it for `ctx.settingsScope`.
*/
'settings.general.item': { kind: 'list'; scope: 'root'; owner: SettingsGeneralItemOwnerProps }
}