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]>
23 lines
692 B
Markdown
23 lines
692 B
Markdown
- dialog "设置":
|
|
- text: 设置
|
|
- navigation:
|
|
- button "通用设置"
|
|
- button "模型"
|
|
- button "插件管理"
|
|
- button "Agent 预设"
|
|
- button "打开配置文件"
|
|
- button "关闭"
|
|
- heading "模型" [level=2]
|
|
- paragraph: 填入各提供商的 API 密钥即可使用其模型。
|
|
- list:
|
|
- listitem:
|
|
- text: minimax-cn
|
|
- img "API 密钥已配置"
|
|
- button "编辑 minimax-cn": 编辑
|
|
- button "删除 minimax-cn": 删除
|
|
- listitem:
|
|
- text: Acme Gateway 自定义
|
|
- button "编辑 Acme Gateway (acme-gateway)": 编辑
|
|
- button "删除 Acme Gateway (acme-gateway)": 删除
|
|
- button "添加模型提供商"
|