Commit Graph
70 Commits
Author SHA1 Message Date
turtle1999 a5bdc28238 refactor(client): converge search lists on shared multilingual fuzzy filter
Fixes #6681
2026-11-13 13:05:16 +08:00
zhc 9d4283f18f Merge remote-tracking branch 'origin/master' into design/model-picker-quick-controls
# Conflicts:
#	packages/client/ui-agent-team/tests/browser-plugin.client.spec.ts
2026-11-12 12:20:14 +08:00
imccyu 5e7206f6c6 refactor(exports): retire obsolete subpaths with compatible brand APIs (#8215)
* refactor(exports): consolidate type entries and remove obsolete subpaths

* fix(exports): preserve constructors while retiring brand subpaths

* fix(exports): retain guide relocation after parent squash
2026-11-11 08:39:14 +00:00
imccyu 455f7a38a6 Merge pull request #8214 from deepseek-harness/split-exports-brand-strings
refactor(brand): migrate internal identity construction
2026-11-11 15:15:26 +08:00
zhc 891adb1c57 refactor(ui): rename model menu detail slot from page to pane
模型菜单二级位置在组件内部一直称为 pane,对外 API 统一改用同一术语:
- slot `conversation.input.model.page` → `conversation.input.model.pane`
- `openPage` → `openPane`,`ModelMenuPageRef` → `ModelMenuPaneRef`,`data-model-menu-page` → `data-model-menu-pane`
- `Pane` 中插件面板分支改为 `{ kind: 'detail'; pane }`
- Team 贡献组件 `TeamModePage*` → `TeamModePane*`,样式类 `.page` → `.pane`
- 同步 JSDoc、README(中英)、测试标题与文件名,重新生成 slot catalog
2026-11-09 17:50:38 +08:00
zhc 0c673d916f fix(ui): let model menu detail pages own focus and group semantics
- Pane 改为带 kind 标签的可辨识联合,ModelMenuPage 更名为 ModelMenuPageRef
- 二级页由页面自行设置初始焦点:Switch 新增 autoFocus/describedBy,Team 开关进页即聚焦并关联说明文字;owner 不再查找 [role="switch"]
- 二级页容器改用 role="group",菜单 surface 增加 data-model-menu 供测试定位
- 外部按下同时监听 pointerdown,覆盖 WebKit 触摸点击空白区域不派发 mousedown 的情况
- 删除 .page 中多余的 gap: 0
2026-11-09 12:57:10 +08:00
Yif de91b109bb refactor(ui): trim team menu guards and align row styling 2026-11-06 22:27:32 +08:00
Yif 7e5f45c415 refactor(ui): narrow model menu changes to team settings 2026-11-06 20:33:45 +08:00
Yif 53183d374c fix(ui): keep effort tag edge clicks out of the slider 2026-11-06 17:53:01 +08:00
Yif 5c224fff4c feat(ui): make effort tags draggable with lightweight snapping
Keep model selection centered above the controls, preserve later navigation, release cancelled gestures, and cover raw effort submissions and pending-state stability.
2026-11-06 17:12:27 +08:00
Yif 603c26a9d7 feat(ui): refine model picker motion and localized effort controls
Add localized effort labels and default explanations, animate the blue thumb center, and preserve focus and opacity while selections save.
2026-11-05 15:47:19 +08:00
Yif 94829d14f3 feat(ui): add inline reasoning controls to model picker
Keep model and effort selection in the first-level menu, move Team settings into a detail page, and preserve keyboard focus during selection and pending saves.

Add localized effort tooltips, theme-stable slider thumbs, and focused keyboard and browser regression coverage.
2026-11-04 19:17:37 +08:00
Stevring dd124c5790 fix(client): position model picker with CSS anchors 2026-11-02 13:28:44 +08:00
Dudu-0223 422cb047a9 Sync Team UI polish with current stack parent 2026-10-29 18:32:48 +08:00
Dudu-0223 3306de499e Sync Team session UI layer with updated naming parent 2026-10-29 18:09:18 +08:00
Dudu-0223 12dc2f1f58 fix(web): restore team menu focus and accessible activity feedback 2026-10-29 11:53:02 +08:00
Yichen Jiang 8394a200b9 fix(models): refresh listed badges in open selectors 2026-10-27 14:53:23 +08:00
Dudu-0223 80f70969d9 Merge current subagent naming stack into Team session UI 2026-10-25 15:45:40 +08:00
Yichen Jiang 7ebceb3822 feat(client): render catalog badges in the model selector
The composer model seat shows a catalog model's badge after its name in
the trigger, the root-menu value, and each option: a Tag in the badge's
tone whose text is resolved for the active locale through
ctx.locale.resolveText. A conversation.input.model.label contribution
replaces the name and badge together and receives the badge in its
owner props.

Remove ui-deepseek-model-label-1017, which hard-coded `1017` beside
DeepSeek-V4.1-Flash for two providers, and its Web bundle row. The badge
now comes only from the model listing, so the build ships none of its
own; the upgrade guide covers profile patches that still target the
removed row. The Web e2e replaces the fixed-badge case with replay
catalogs that declare literal and translated badges, and the replay
adapter validates and advertises a configured badge.
2026-10-22 18:47:49 +08:00
Saafo da54bbf3b0 🔀 Merge master into mobile input adaptation 2026-10-22 12:01:42 +08:00
Stevring dc83ed11bc refactor(client): simplify and cache mobile device detection 2026-10-22 10:18:39 +08:00
_Kerman a9c006f9c3 refactor(agent): own model selection on each agent 2026-10-20 21:09:09 +08:00
Stevring 6fbd06d845 fix(client): preserve mobile model menu keyboard focus 2026-10-20 14:48:20 +08:00
Dudu-0223 9aecd40ecb feat(team): select Agent Teams per Session from the model menu 2026-10-19 20:29:09 +08:00
_Kerman c18f5bd3c0 Merge remote-tracking branch 'origin/master' into xtr/session-model-selection
# Conflicts:
#	docs/capability-seams.i18n.yaml
#	docs/capability-seams.md
#	docs/capability-seams.zh.md
#	docs/config-catalog.md
#	docs/config-catalog.zh.md
#	docs/event-producer-consumer.md
#	docs/event-producer-consumer.zh.md
#	docs/module-graph.md
#	docs/module-graph.zh.md
#	docs/persistence-catalog.i18n.yaml
#	docs/persistence-catalog.md
#	docs/persistence-catalog.zh.md
#	docs/persistence-schema.json
#	packages/api/session-controller/src/types.ts
#	packages/bundle/base/package.json
#	packages/bundle/headless/README.i18n.yaml
#	packages/bundle/headless/README.md
#	packages/bundle/headless/README.zh.md
#	packages/bundle/headless/package.json
#	packages/bundle/headless/tsconfig.json
#	packages/subagent/tool-subagent/tests/model-selection-settings.spec.ts
#	scripts/type-equiv.manifest.json
2026-10-19 11:30:55 +08:00
_Kerman 7b112942ab refactor(agent-model): move Session model selection into its own package
Add @deepseek-ai/dsh-agent-model. It provides ctx.agentModel
(resolveForNextStep, select, applyConfiguredRoute) and owns the
modelSelection projection, which the Agent registry no longer registers.
dsh-agent-loop now injects agentModel; the base and SDK-minimal bundles
and the Python SDK runtime include it.

The provider keeps the projection registered until consumers that are
still unloading finish their cleanup. The model-switch notice becomes an
opt-in per-Agent plugin at @deepseek-ai/dsh-agent-model/notice, and
agent/request now also rejects reasoning-effort changes after step
preparation.

Mount the provider in every composition that loads dsh-agent-loop, and
update consumers, the switch-notice snapshot driver, docs, and the
upgrade guide.
2026-10-16 15:28:59 +08:00
Yichen Jiang 919aa5f400 feat(web): add provider-aware model label slot 2026-10-16 14:24:47 +08:00
_Kerman e39b5f58c2 refactor(agent): persist model selection in session state 2026-10-15 19:05:09 +08:00
Yichen Jiang 02f5423070 fix(models): hide unconfigured DeepSeek models and unavailable selections 2026-10-09 14:56:27 +08:00
Yif 3ec8cd925d perf(web): observe model menu stickiness without layout reads 2026-09-29 00:01:58 +08:00
Yif 989b93d86f feat(web): unify grouped model picker ordering and sticky headers 2026-09-29 00:01:58 +08:00
Yif bfec75eb14 fix(web): refine model search threshold and focus restoration 2026-09-29 00:01:58 +08:00
Yif 45368fb158 fix(web): align model command menus and keyboard focus 2026-09-29 00:01:57 +08:00
Yif 78bc78d48c feat(web): refine model picker search and sticky headings 2026-09-29 00:01:57 +08:00
Yao Meng b3d6da9083 fix(web): address model search accessibility review
Signed-off-by: Yao Meng <[email protected]>
2026-09-29 00:01:56 +08:00
Yao Meng 6773e10645 feat(web): add fuzzy search to composer model picker
Signed-off-by: Yao Meng <[email protected]>
2026-09-29 00:01:55 +08:00
zhc 3fc7cc6607 fix(analytics): align desktop event fields with product specification 2026-09-26 00:18:07 +08:00
zhc 8cfb9d4a67 Merge model selection pending state from master 2026-09-24 19:39:50 +08:00
turtle1999 d55f434cdf fix(ui-model-selection): own the pending selection in ModelDirectory
The seat kept the pending row in local state, so a stale settlement after
connection/reset could clear a newer selection's spinner, a remount lost
it, and /model popup selections never marked a row. ModelDirectory now
publishes the submitted selection as pending under its generation guard.
The trigger spins whenever a selection is pending, so leaving the row's
pane keeps the feedback visible.
2026-09-24 19:09:14 +08:00
turtle1999 c87959bc44 feat(ui-model-selection): show a spinner while a model selection is pending
session.selectModel can take seconds while the Host persists the default
model. The composer seat disabled its rows with no other feedback; the
chosen row now spins in its check slot, and the trigger spins in place of
its chevron while the menu is closed.
2026-09-24 18:18:34 +08:00
zhc b1cf871b25 feat(desktop): collect product analytics through OTel 2026-09-24 17:08:31 +08:00
lsdsjy e9a438d9e9 chore: merge master into account provider branch 2026-09-23 15:52:07 +08:00
lsdsjy 40da69ff75 refactor(account): isolate provider authentication and preserve model selections 2026-09-23 14:43:47 +08:00
lsdsjy f21098e9d3 fix(account): expire rejected credentials and hide signed-out provider 2026-09-22 14:41:33 +08:00
lsdsjy 0d2fbaad67 fix(session-controller,ui-model-selection,ui-settings): handle catalog and account setup failures 2026-09-21 14:55:08 +08:00
lsdsjy 9cf12959f2 fix(ui-model-selection): retain effort and open unselected models directly 2026-09-21 14:54:51 +08:00
lsdsjy 7dc86578d8 fix(ui-settings-account,ui-model-selection): align with updated primitives and catalog checks 2026-09-21 14:54:51 +08:00
lsdsjy 325e28bfa0 fix(ui-model-selection,llm-deepseek): prioritize account models and simplify provider label 2026-09-21 14:54:51 +08:00
lsdsjy cc478ac70a feat(client,session-controller,llm): track available models and expose account settings 2026-09-21 14:54:51 +08:00
gengruilin 06ef26a80f fix(web): preserve focus when toggling the model picker 2026-09-20 20:56:34 +08:00