2 Commits

Author SHA1 Message Date
你的姓名
1923d5553d feat: 服务商模型下拉、跟随系统主题、会话级思考开关、NSIS 自定义安装
桌面端:
- 服务商表单的 4 个 Model ID 改成可下拉+可手动输入;新增"获取模型"按钮
  通过 ${baseUrl}/v1/models 拉取(自动适配 OpenAI Bearer / Anthropic x-api-key)
- 配色主题新增"跟随系统",监听 prefers-color-scheme 自动切换 light/dark
- ModelSelector 新增"思考模式 开/关"会话级开关,默认回退全局
- NSIS 启用许可页+ 自定义安装路径;首次复用 LICENSE 作 license.txt

Server:让会话级 thinking 真正生效
- WS schema 加 thinkingEnabled?: boolean
- handler 把字段写进 runtimeOverrides、纳入 prev/next diff、持久化进 jsonl
- sessionService.appendSessionMetadata / getSessionLaunchInfo / 摘要解析
  补充 thinkingEnabled 字段
- resolveDesktopThinkingMode 支持三态:override 优先(true=enabled、
  false=disabled),undefined 回落到全局 alwaysThinkingEnabled
- RuntimeSettings.thinking 类型放宽为 'enabled' | 'disabled',
  下游 conversationService 已支持,原生拼成 --thinking 参数

i18n:zh / zh-TW / en / jp / kr 同步
2026-06-07 18:39:02 +08:00
程序员阿江(Relakkes)
85cf04e305 fix(desktop): make macOS signing+notarization explicit and Windows signing optional
- mac.notarize=true + hardenedRuntime + entitlements so a signed CI release
  actually notarizes (gatekeeper smoke + Squirrel.Mac auto-update need it)
- entitlements grant disable-library-validation for the Bun sidecar/node-pty
- local unsigned build passes -c.mac.notarize=false so electron:package still
  works without an Apple account
- release signing-preflight now hard-requires only the Apple secrets; Windows
  cert is optional (unsigned NSIS still auto-updates, just SmartScreen warning)

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-03 14:17:13 +08:00