feat(client): show plugin settings on the Plugins page

Plugin settings pages registered through `settings.section` stay in the
Settings dialog. The Plugins page also shows such a page on the bundle row,
or bundle, whose package registered it when that row or bundle has no
configuration of its own. Both surfaces render the page through the new
`settings.section.view` Factory, which declares `settings.section`; the slot
runtime records the registering package on each entry.

Settings replaces the Built-in plugins section with a Plugins entry that
opens the Plugins page. The two packages behind that section are removed,
and the page-local client sync notice moves to the Plugins page.

Co-authored-by: LegGasai <[email protected]>
This commit is contained in:
TurtleandLegGasai committed 2026-11-13 16:06:36 +08:00
1 parent cb44a3c2ee
commit 81aef2ec2d
166 files changed
+873 -4331

No files matched your search

+1 -1
View File
@@ -174,7 +174,7 @@ const SERVICE_ROLES: ServiceRole[] = [
pkg: 'plugin-manager',
title: 'Current-profile plugin and bundle management',
mode: 'core',
consumers: ['plugin-manager', 'ui-settings-plugin-inventory'],
consumers: ['plugin-manager'],
note: 'Shares profile package operations with the CLI and reports persisted and running state to Web and agent callers.',
},
{
-9
View File
@@ -564,15 +564,6 @@
"packages/client/ui-settings-models/tests/store.client.spec.ts": {
"6b8b0a920c558092d20bc17623b7050e0f7403f896fde7da17bb45677899b910": 1
},
"packages/client/ui-settings-plugin-inventory/tests/browser-plugin.client.spec.tsx": {
"04984a2ce1486250236e638e0197da0a1a840855ed3975c59130a85358c7e5fe": 1,
"85f4d0d762126e709ae2178ca656f586dac1ba425eb1d8dd402cb5577d6e8225": 1
},
"packages/client/ui-settings-plugin-inventory/tests/components.client.spec.tsx": {
"0d78ec7c8ca39f70a4033ff4d330f8ef26832bb89932f98d1c87d76b4ce16d00": 1,
"79c53da50aa08004e201cebca842267ae2650a543b435a7906960f6492c2398b": 1,
"a3c1509d552d0102e118f3071a234002a5c83c30ca6923f8a87e9e3733ce0dcf": 1
},
"packages/client/ui-settings/tests/schema.client.spec.ts": {
"0584be4cde4cd33049ef7c02e9d1562a30ec48ef2176f2f22b328b5be2903407": 1
},
-1
View File
@@ -169,7 +169,6 @@ const GENERIC_SKIPS: readonly GenericSkip[] = [
{ file: 'packages/experimental/inspector/tests/plugin.client.spec.ts', upstream: ['cordis'] },
{ file: 'scripts/gen-cordis-catalog.ts', upstream: ['cordis'] },
// The UI locale namespace and input-trigger source id are product keys.
{ file: 'packages/client/ui-settings-plugin-inventory/src/client/PluginInventorySettingsTab.tsx', upstream: ['cordis'] },
{ file: 'packages/extensions/ui-cordis/src/client/CordisActionRow.tsx', upstream: ['cordis'] },
{ file: 'packages/extensions/ui-cordis/src/client/CordisDefineRow.tsx', upstream: ['cordis'] },
{ file: 'packages/extensions/ui-cordis/src/client/CordisPanel.tsx', upstream: ['cordis'] },
@@ -168,7 +168,6 @@ const SENTENCE_MODEL_EXPERIENCE: Readonly<Record<string, SentenceContract>> = {
'packages/client/ui-goal': { kind: 'indirect', reason: 'The strip verbs route goal.* mutations; the host GoalService owns the model-visible goal/change context message.' },
'packages/extensions/ui-cordis': { kind: 'indirect', reason: 'The definition card drives the host dynamic run/stop verbs that the model\'s cordis_run/cordis_stop tools also reach; the runner owns any model-visible effect.' },
'packages/client/ui-permission-presets': { kind: 'indirect', reason: 'The picker submits the host /permission command; the knob events it appends own the model-visible effect through the sandbox/approval consumers.' },
'packages/client/ui-settings-plugins': { kind: 'none', reason: 'Browser-side settings surface; registers no model surface.' },
'packages/client/ui-settings-shell': { kind: 'none', reason: 'Browser-side settings surface; registers no model surface.' },
'packages/client/ui-settings-session-log': { kind: 'none', reason: 'Browser preference controls request metadata, not model input.' },
'packages/client/ui-settings-agent-loop': { kind: 'none', reason: 'Browser-side settings surface; registers no model surface.' },
@@ -190,7 +189,6 @@ const SENTENCE_MODEL_EXPERIENCE: Readonly<Record<string, SentenceContract>> = {
'packages/client/ui-settings-models': { kind: 'none', reason: 'Browser-side UI plugin layer; registers nothing model-facing.' },
'packages/client/ui-plugin-market': { kind: 'none', reason: 'Browser-side Discover tab; registers nothing model-facing.' },
'packages/client/ui-plugin-manager': { kind: 'none', reason: 'Browser-side management surface; registers nothing model-facing.' },
'packages/client/ui-settings-plugin-inventory': { kind: 'none', reason: 'Browser-side inventory projection; registers nothing model-facing.' },
'packages/client/locale': { kind: 'none', reason: 'Browser-side UI plugin layer; registers nothing model-facing.' },
'packages/client/web': { kind: 'none', reason: 'Browser-side UI plugin layer; registers nothing model-facing.' },
'packages/context/file-reference': { kind: 'indirect', reason: 'The discovery seam and grammar delegate model guidance to the composed provider.' },