Files
deepseek-harness/apps/web/tests/expected/models-settings/catalog-inputs.expected.md
T
TurtleandLegGasai 81aef2ec2d 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]>
2026-11-13 16:06:36 +08:00

2.4 KiB
Raw Blame History

  • 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: openai
        • button "编辑 openai": 编辑
        • button "删除 openai": 删除
        • text: openai API 密钥
        • button "认证说明": "?"
        • textbox "API 密钥":
          • /placeholder: 留空使用环境认证(OPENAI_API_KEY)
        • paragraph: 已检测到环境变量(OPENAI_API_KEY)
        • group:
          • text: 自定义设置 API 地址
          • textbox "API 地址":
          • group "重试策略":
            • text: 重试策略
            • combobox "重试策略":
              • option "默认(仅临时错误)" [selected]
              • option "仅临时错误"
              • option "所有错误"
          • region "模型目录":
            • text: 模型目录 已自定义模型目录
            • button "恢复默认模型"
            • button "获取可用模型"
            • button "调整模型顺序 1"
            • textbox "模型 ID 1":
              • /placeholder: 模型 ID
              • text: gpt-6-astra
            • button "模型选项 1" [expanded]
            • button "删除模型 1"
            • textbox "显示名称 1":
              • /placeholder: 显示名称
              • text: GPT-6 Astra
            • text: 上下文窗口
            • textbox "上下文窗口 1":
              • /placeholder: 1M
              • text: 272K
            • text: 最大输出 token 数
            • textbox "最大输出 token 数 1":
              • /placeholder: 128K
              • text: 128K
            • group "输入类型 1":
              • text: 输入类型
              • checkbox "文本" [checked]
              • text: 文本
              • checkbox "图片" [checked]
              • text: 图片
            • button "添加模型"
        • button "取消"
        • button "保存"
      • listitem:
        • text: Acme 网关 自定义
        • button "编辑 Acme 网关 (acme-gateway)": 编辑
        • button "删除 Acme 网关 (acme-gateway)": 删除
    • button "添加模型提供商"