Commit Graph
27073 Commits
Author SHA1 Message Date
CreatixChu 3f537aeecd Merge branch 'master' into feat/macos-system-pointer-drag 2026-11-12 17:45:54 +08:00
Jiawei Song 91d416d45c Merge pull request #8177 from deepseek-harness/refactor/tool-errors-document
refactor(office): record structured error name and code for Office tool failures
2026-11-12 17:20:55 +08:00
sjw1231 08129603b0 Merge remote-tracking branch 'origin/master' into refactor/tool-errors-document
# Conflicts:
#	docs/config-catalog.md
#	docs/config-catalog.zh.md
#	packages/document/tool-office/tests/tool-office.spec.ts
2026-11-12 17:04:10 +08:00
winewill 54dbf9be31 Merge pull request #8016 from deepseek-harness/feat/macos-split-artifacts
feat(desktop): 拆分 macOS artifacts 并迁移 EdgeOne 发布配置
2026-11-12 17:00:47 +08:00
winewill bdb1acbf02 test(desktop): parse publication settings through config reader 2026-11-12 16:43:02 +08:00
winewill e71f25fc4b fix(desktop): isolate split artifact uploads and address review 2026-11-12 16:43:02 +08:00
winewill d612d51b5a feat(desktop): split macOS installer artifacts for independent downloads 2026-11-12 16:42:47 +08:00
winewill 9812fa5854 fix(desktop): read Actions EdgeOne zone from publisher config 2026-11-12 16:42:20 +08:00
winewill adbd69f13f Merge pull request #8364 from deepseek-harness/fix/desktop-error-peer
fix(desktop): 补齐 Electron 错误基类依赖与独立 worker 内联
2026-11-12 16:32:06 +08:00
creatixchu 896fc63c54 test(forge): resolve the deferred file read in the revision cases 2026-11-12 16:31:19 +08:00
creatixchu 0942b6cd47 test(forge): discard pending context for changed PR revisions 2026-11-12 16:29:23 +08:00
creatixchu 83193f591b fix(forge): retain expanded diff lines across review metadata refreshes 2026-11-12 16:23:34 +08:00
Xu Hanxiang 99208d19d9 Merge pull request #8303 from deepseek-harness/feat/liveshare-owner-state-claim
fix(liveshare): claim the owner state per running host
2026-11-12 08:21:25 +00:00
winewill d4d4468247 test(desktop): reuse runtime closure validation for packaged peers 2026-11-12 16:11:08 +08:00
Jiawei Song fbcc66220c Merge pull request #8361 from deepseek-harness/refactor/tool-errors-consolidation
refactor(shell,fs,jobs): consolidate unadvertised-argument and image-input error codes
2026-11-12 15:50:34 +08:00
creatixchu 297a7da065 fix(cua-macos): keep native drag events on their owning actor 2026-11-12 15:32:53 +08:00
winewill 7f252472b4 fix(desktop): supply error peer and inline it in command worker 2026-11-12 15:31:21 +08:00
creatixchu ea9e78dc83 fix(cua): preserve drag release settling and verify pointer state and deltas 2026-11-12 15:31:16 +08:00
sjw1231 efc62d7b06 fix(bash,pwsh,fs,ptc): reject unadvertised arguments before pairing and approval
Without a sandboxing backend, a lone sandbox_permissions or justification
failed the pairing check and asked the model to add the other field, and
bash/pwsh checked a disabled run_in_background only after an escalation
approval. Reject unadvertised escalation fields and a disabled background
request during argument validation in bash, pwsh, write/edit/apply_patch,
and run_code, and name both escalation fields in the message. Update the
upgrade guide to identify rc.2 shell records by message.

Refs #7869
2026-11-12 15:29:38 +08:00
creatixchu 195c6fca26 fix(cua): keep Windows drag validation on the portable interface 2026-11-12 15:13:03 +08:00
creatixchu 6dfc15f333 test(cua): declare macOS pointer support in the retained script prompt fixture 2026-11-12 15:09:10 +08:00
creatixchu 1e0a303a31 fix(cua-macos): keep drag guidance in the macOS provider and preserve hover safeguards 2026-11-12 15:06:17 +08:00
creatixchu 703dd1b126 Merge remote-tracking branch 'origin/master' into feat/macos-system-pointer-drag
# Conflicts:
#	packages/experimental/cua-macos/README.i18n.yaml
#	packages/experimental/cua-macos/native/README.i18n.yaml
#	packages/experimental/cua/README.i18n.yaml
2026-11-12 15:03:10 +08:00
sjw1231 0fe47c32ba docs(upgrade-guide): record consolidated shell and read_image error codes
dsh-v0.2.2-rc.2 shipped JOB_BACKGROUND_DISABLED, IMAGE_UNSUPPORTED_MODEL,
and SANDBOX_ESCALATION_UNAVAILABLE for unadvertised bash/pwsh
sandbox_permissions, so their replacement is a released break.

Refs #7869
2026-11-12 14:59:04 +08:00
CreatixChu 95d7dcc349 Merge pull request #8350 from deepseek-harness/fix/macos-ax-children-recovery
fix(cua-macos): recover readable siblings after AXChildren failures
2026-11-12 14:53:46 +08:00
sjw1231 c7d8f522fd Merge remote-tracking branch 'origin/master' into claude/tool-errors-consolidation-5e8dbe 2026-11-12 14:53:14 +08:00
Ruilin Geng 5402a0c46a Merge pull request #8344 from deepseek-harness/docs/packages-readme-budget
docs: raise the packages/README.md word ceiling to 1,100
2026-11-12 14:50:46 +08:00
creatixchu da1c1c10c9 ci: remove the dedicated macOS CUA native test workflow 2026-11-12 14:38:23 +08:00
creatixchu 03dc9be58c Merge master into fix/macos-ax-children-recovery
# Conflicts:
#	packages/experimental/cua/README.i18n.yaml
2026-11-12 14:38:18 +08:00
Jiawei Song e45ad7ec52 Merge pull request #8174 from deepseek-harness/refactor/tool-errors-experimental
feat(experimental,hooks): give experimental and policy plugin tool failures error codes
2026-11-12 14:20:49 +08:00
creatixchu 6153a38b0f docs(cua): separate mouse permission and targeting paragraphs 2026-11-12 14:20:00 +08:00
creatixchu 69875aff67 docs(cua): put pointer-free actions first in the mouse instructions 2026-11-12 14:18:23 +08:00
creatixchu b05241df48 refactor(cua): name the shared tree flag hasUnreadableElements 2026-11-12 14:11:31 +08:00
creatixchu 31b316fbfa ci(cua-macos): run AX recovery regressions and the AppKit fixture on pull requests 2026-11-12 14:03:31 +08:00
sjw1231 c3953b65d7 Merge remote-tracking branch 'origin/master' into claude/tool-errors-experimental-c89252
# Conflicts:
#	packages/experimental/cua/README.i18n.yaml
#	packages/experimental/cua/README.md
#	packages/experimental/cua/README.zh.md
#	packages/experimental/cua/src/index.ts
2026-11-12 13:58:19 +08:00
creatixchu 2501ec39f1 test(cua): replay explicit system drags and check foreground admission 2026-11-12 13:55:23 +08:00
creatixchu 5ae6eeb102 test(cua-macos): distinguish failed child counts from verified empty lists 2026-11-12 13:52:00 +08:00
creatixchu ceb6c70774 test(cua-macos): verify positions across native button wrappers and AX-less windows 2026-11-12 13:50:42 +08:00
creatixchu 71cf14878d feat(cua): allow session-approved system-pointer drags on macOS 2026-11-12 13:50:00 +08:00
creatixchu 3d506a588e test(cua-macos): isolate AppKit projection from the Swift test runner 2026-11-12 13:48:25 +08:00
creatixchu ae3203a8ab test(cua-macos): initialize AppKit before reading fixture windows 2026-11-12 13:46:27 +08:00
creatixchu 7a588f6fb5 fix(cua-macos): distinguish unreadable children from traversal limits 2026-11-12 13:44:10 +08:00
std4453 dbb22de84e Merge pull request #8067 from deepseek-harness/design/model-picker-quick-controls
feat(ui): 弱化智能体团队开关入口
2026-11-12 13:41:19 +08:00
a39d44b5dc feat(session): add host reading status to SessionStatus (#6858)
* ✨ feat(session): persist and synchronize read state

* 🌐 fix(client): complete Japanese labels after base update

* 📝 docs: refresh session read-state dependency graph

* 🧪 test(web): align session menu and read-state snapshots

* 🌐 fix(session): complete Japanese plugin metadata

* 🧪 test(web): distinguish unread from pending user input

* 🐛 修复会话阅读状态的故障隔离与生命周期

* 🐛 修复阅读状态依赖检查并补齐自动已读覆盖

* 🐛 恢复会话绿点并移除未读标题加粗

* ♻️ Keep shared session reading state in Host memory

* 🌐 Complete reading-state metadata for supported locales

* 📝 Refresh module graph after removing storage dependency

* 🧹 Move storage dependency policy out of memory-only reading

* 🐛 Wait for sidebar catalog before replay navigation

* 🔧 Give Host TypeScript checks 8 GiB of heap

* ✅ Align Host heap checks and Windows diagnostics

* ♻️ Keep CI repairs outside the session reading PR

* 🐛 Show failed unread turns with an error indicator

* 🔧 Adjust npm layout budget for the reading package

* 🧪 Scope projection stream assertions to observed units

* 🧪 Scope permission and title assertions to their projections

* ♻️ Simplify session reading updates to explicit positions

* 🐛 Align session reading package with release version

* 🧪 Load reading state in LiveShare viewer fixtures

* 🧹 Remove persistence-only type link from memory PR

* 🧪 Align context menu expectations with reading actions

* 🐛 Sync reading package with the release version

* 🧪 Include turn boundaries in session summary expectations

* ♻️ Derive reading failure facts from Host events instead of a projection

The reading service took each completion from the Agent turn-boundary
projection, which forced a stateVersion bump and put that projection's whole
internal state on the wire for every Session list row. The service now records
`turn/end` itself, so `core/agent` and the persisted projection schema are
untouched.

History that ended before the service started raises no reminder, which keeps
"existing history reads as read" without a startup scan. The failure flag
therefore describes only turns this Host observed: marking a Session whose last
turn failed before a restart shows the ordinary unread reminder.

* 🐛 Preserve manual unread until explicit Session interaction

* 🧪 Align cold Session reading snapshot with unloaded title

* 🔖 chore(session): align session-read-state with 0.2.2-rc.2

Master moved the root and every released manifest to 0.2.2-rc.2, but the
new dsh-session-read-state package still declared 0.2.2-rc.1, failing
constraints, verify-version-sync, verify-npm-install-layout, and
release:verify after the master merge.

* ♻️ refactor(gateway): recognize Remote stream carrier loss by error code

RemoteStream now decides whether a generation end or failure is a
retryable carrier loss by the stable code 'gateway/carrier-lost' instead
of `instanceof RemoteStreamCarrierError`. RemoteStreamCarrierError keeps
working and carries that code, so existing callers are unchanged, while a
Client feature package can return a coded Error from `ended` without
importing the class. The new RemoteStreamCarrierFailure type describes
such errors; terminal-controller classifies disconnects the same way.

* ♻️ refactor(session): move Session reading into ui-session-status

Fold the reading feature into the single package
packages/client/ui-session-status and delete session-read-state.

- Host face: SessionStatusService keeps in-memory reading records and
  serves the sessionStatus Remote namespace (mark, follow) with
  session-status/* error codes; its service key is registered only for
  Gateway discovery and is not declared on Context.
- Client face: a package-internal reading model follows the Host stream
  through RemoteSnapshotStream; ctx.uiSession.sessionStatus folds the
  records into completionUnread and completionFailed and exposes mark and
  readingReady; main-view acknowledgement and the
  session-status/read-intent event live here. No reading service or type
  is exported.
- verify-client-packages lets a packages/client feature package request
  packages/api rows through dsh.client.external; feature-to-feature
  requests stay rejected.
- ui-workspace, ui-conversation, bundles, remotes, LiveShare, the client
  test runtime, docs, Agent Notes, and the upgrade guide follow.

* ♻️ refactor(session): clear manual unread only when the main view switches to the Session

Remove the session-status/read-intent event. ui-session-status now clears an
existing manual unread mark when the main view switches to a different
Session, including the first selection after a page load, once the reading
baseline is ready and the body arrives. Window focus, visibility changes,
a replaced binding for the same Session, and activity in the open Session
preserve manual unread.

ui-conversation returns to master (only the ui-session-status client
tsconfig reference remains), and ui-workspace navigation no longer emits
the event. Tests, the session-reading Web e2e case, READMEs, and the
reading Agent Note follow the new rule.

* 🐛 fix(session): address the Session status review findings

- Open the reading stream only while ctx.remoteAccess allows
  sessionStatus/follow, so a LiveShare viewer opens no owner-only stream,
  keeps readingReady false, and logs no synchronization failure; access
  changes start or stop the stream.
- Hide the unacknowledged completion of the Session the visible, focused
  main view retains; manual marks stay visible, completionFailed follows
  completionUnread, and the reminder returns on blur, hiding, or a switch.
- Declare ctx.sessionStatus on Context and restore its SERVICE_PAGE and
  SERVICE_ROLES entries; the service and SessionRead* types document on
  docs/subsystems/web-client.md, which now owns the reading section with
  the failed field.
- Document that a Host plugin reload can leave the Client with a terminal
  error until a page reload; drop the redundant types import and the
  unused publish() result.
- Archived Sessions read as read and offer no reading mark in the row
  menu or the toggle-read shortcut.
- session.toggleRead names the open dialog, open panel, or archived
  Session that blocks it instead of asking to select a Session.
- isRemoteStreamCarrierFailure rejects a RemoteError from the Host even
  when it carries gateway/carrier-lost; the code is Client-local.
- ./types is types-only like ui-trajectory, and files no longer ship
  lib/types JavaScript.

* 🐛 fix(session): close the remaining Session status review gaps

- The Gateway Client exports isRemoteStreamCarrierFailure, and the
  terminal view uses it, so a Host RemoteError carrying the carrier code
  shows as failed rather than disconnected.
- Each access grant's reading stream carries a token: frames a revoked
  or superseded stream still delivers are discarded, and cleanup waits
  for disposal before leaving reading unavailable unless a newer grant
  is active.
- The status table hides the viewed Session's natural reminder only
  while that Session is open; the panel case is a documented limitation.
- The README limitation and the upgrade guide state that only the
  main-view switch rule, including a reload restore, clears manual
  unread automatically.
- Add the missing blank line before the next heading in the web-client
  reading section.

* ♻️ refactor(session): install reading under the Session status table

- apply returns to master's form plus one line: UiSessionStatus is the
  root, published as the useSessionStatus source, and installReading()
  from the new src/client/read.ts follows Host reading records into it.
  UiSessionStatus takes master's three constructor parameters and
  creates its own SessionReadModel as the package-internal `reading`
  member; installSessionStatus is removed and acknowledge.ts stays a
  separate file.
- The viewed Session's snapshot subscription republishes the table only
  when its openState changes, so streamed events do not rebuild it.
- Remove the obsolete Dev Note sentence about failure outcomes.
- session.toggleRead passes when the Peer may not mark reading, matching
  the row menu, and reports readingUnavailable only while unsynchronized.

---------

Co-authored-by: imccyu <[email protected]>
Co-authored-by: imccyu <[email protected]>
2026-11-12 05:35:57 +00:00
creatixchu 394476afec fix(cua-macos): read failed ranges of up to five children by index 2026-11-12 13:25:25 +08:00
creatixchu 7863218fcd fix(cua-macos): apply traversal limits to unreadable entries 2026-11-12 13:24:35 +08:00
creatixchu 3fdea06f54 fix(cua-macos): keep unreadable children in sibling order 2026-11-12 13:21:20 +08:00
creatixchu 037410b5d7 fix(cua-macos): recover readable AX children by range 2026-11-12 13:16:51 +08:00
CreatixChu 8d9c78459c Merge pull request #8343 from deepseek-harness/feat/cua-windows/key-mod
fix(cua-windows): align modifier names and support the Win key
2026-11-12 13:03:38 +08:00
creatixchu 8b0966c5e9 Merge master and update the MCP modifier reference 2026-11-12 12:44:57 +08:00