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]>
752 B
752 B
- dialog "设置":
- text: 设置
- navigation:
- button "通用设置"
- button "模型"
- button "插件管理"
- button "Agent 预设"
- button "打开配置文件"
- button "关闭"
- heading "模型" [level=2]
- paragraph: 填入各提供商的 API 密钥即可使用其模型。
- list:
- listitem:
- text: DeepSeek deepseek-official API 密钥
- button "认证说明": "?"
- textbox "API 密钥":
- /placeholder: 留空使用环境认证(DEEPSEEK_API_KEY)
- paragraph: 未检测到环境变量。请填写 API 密钥,或设置环境变量 DEEPSEEK_API_KEY。
- group: 自定义设置
- button "取消"
- button "保存"
- listitem:
- button "添加模型提供商"