Files
deepseek-harness/apps/web/tests/snapshots/settings-chrome/dialog.expected.md
Yichen Jiang dae6cad065 fix(web): show the plugin settings a user actually gets
Three things the page got wrong.

The web-search provider's defaults lived only at their use site, so the
served section carried no value for them and the card fell back to a zero it
invented — a number the schema itself rejects. Declaring them on the schema
makes the settings service the one authority: `maxUses` now reads 5 because
that is what the Host resolves, not because the page guessed. `baseURL` keeps
its code-side default, which exists so `$DEEPSEEK_SEARCH_BASE_URL` can win.

A field the Host serves no value for now renders empty rather than as zero.

The cards were rows in a settings page of cards: name and description ran
together on one line because the shared disclosure row lays them side by side.
Each card now draws its own header, stacking the two, and the section follows
the idiom the Agent Preset page established.
2026-08-10 21:29:45 +08:00

1.1 KiB
Raw Blame History

  • dialog "设置":
    • navigation:
      • text: 设置
      • button "通用设置":
        • img
        • text: 通用设置
      • button "模型":
        • img
        • text: 模型
      • button "Agent 预设":
        • img
        • text: Agent 预设
      • button "插件配置":
        • img
        • text: 插件配置
    • button "打开配置文件"
    • button "关闭":
      • img
      • text: 关闭
    • text: Agent 预设 对此后新建的会话生效。运行中的会话保持它开始时的预设。
    • button "标准模式":
      • text: 标准模式
      • img
    • text: 权限 选择新会话的默认权限模式
    • button "Workspace Write":
      • text: Workspace Write
      • img
    • text: 语言
    • button "中文":
      • text: 中文
      • img
    • text: 外观
    • button "浅色":
      • img
      • text: 浅色
    • button "深色":
      • img
      • text: 深色
    • button "跟随系统" [pressed]:
      • img
      • text: 跟随系统
    • text: 繁忙时 Enter 键行为 仅在智能体运行时生效Cmd/Ctrl+Enter 使用另一行为
    • button "排队发送":
      • text: 排队发送
      • img