Commit Graph
760 Commits
Author SHA1 Message Date
winewill 9f7be2ab00 Merge pull request #8056 from deepseek-harness/fix/windows-installer-drag-completion
fix(desktop): 修复安装完成时拖动导致的输入卡死及关闭按钮
2026-11-18 16:48:16 +08:00
Chinesezjc 05500a393c Merge pull request #8694 from deepseek-harness/fix/ci-385968e-operation-history
fix(desktop): keep operation history the predecessor read would drop
2026-11-18 14:51:58 +08:00
winewill b69a750b0f fix(desktop): show installer completion during native dragging 2026-11-18 12:10:03 +08:00
winewill 50d976f626 Merge branch 'master' of https://github.com/deepseek-harness/deepseek-harness into fix/windows-installer-drag-completion
# Conflicts:
#	apps/desktop/README.i18n.yaml
2026-11-18 12:03:46 +08:00
dsh-ci-bot 4b77d9c01e fix(desktop): deduplicate history segments by exact file identity
A segment rotated after an append is still one file: comparing size and
modification time split it into two segments and collected its records
twice. Deduplicate by the bigint device and inode only, which stays exact
for a Windows 64-bit file ID, and pin that precision with a test whose
stat mock returns Number identities when called without the bigint option.
Narrow fileIdentity to BigIntStats and inline both segment names.
2026-11-18 11:04:40 +08:00
dsh-ci-bot 3bdf5aa56c fix(desktop): report read segments and keep colliding predecessors
filesRead now counts owned segments that yielded bytes instead of
distinct identities, so two segments read under one colliding file ID
report 2. The rotation predecessor is deduplicated only when its handle
also reports the size and nanosecond modification time of the segment
already read: a reused Windows file ID cannot defeat the rotation check,
and an identity collision alone keeps the segment. The path stat that
could treat a transient failure as a rotation is removed.

Also fix the two oxlint errors in the retry loop and the cancellation
test, clear the open mock between tests so call-count assertions do not
depend on execution order, and document the bounded Windows retry and the
dedupe rule in both desktop diagnostics guides.
2026-11-18 07:40:35 +08:00
dsh-ci-bot e473fcfa82 fix(desktop): keep operation history the predecessor read would drop
readOperationHistory could silently omit the rotation predecessor:
one transient Windows sharing or permission failure on the second
segment's open was counted as unavailable, and any equal device/inode
pair dropped the segment even when the current path still named the
file already read, because the 64-bit Windows file ID is not unique.

Retry the documented Windows transient open codes on a bounded
exponential delay, and deduplicate a segment only when the current
segment path stopped naming it. Both stats now come from bigint
stats so the exact file ID is compared.

The coverage test now asserts the whole collection result, so a
missing record also reports filesRead, bytesRead and unavailableFiles.
2026-11-18 07:20:22 +08:00
Turtleandimccyu 24c729253a fix(desktop): refuse to move state that a running Harness Dev owns
Report the underlying error when creating .desktop-dev or moving a
directory fails.

Co-authored-by: imccyu <[email protected]>
2026-11-17 19:28:31 +08:00
Turtleandimccyu c0399fb981 fix(desktop): keep development Harness state out of .desktop-build
pnpm run clean removes apps/desktop/.desktop-build, which held the
development Harness home and Electron user data, so cleaning deleted
development Sessions, settings and credentials. Store them under
apps/desktop/.desktop-dev and move existing state there on launch.

Fixes #8658

Co-authored-by: imccyu <[email protected]>
2026-11-17 19:15:02 +08:00
imccyu f3ac7b9078 Merge pull request #8401 from deepseek-harness/worktree-sync-release-dsh-0.2.2-to-master-1113
release(dsh): sync release/dsh-0.2.2 back to master
2026-11-13 15:08:58 +08:00
winewill f0e0e232b2 Merge remote-tracking branch 'origin/master' into fix/rollout-website-approval 2026-11-13 13:53:51 +08:00
imccyu cd5a4950c3 Merge branch 'release/dsh-0.2.2' into master 2026-11-13 13:26:31 +08:00
imccyu 71753fdf91 refactor(connection): add connection auth provider for remote connection (#8266)
* refactor(connection): extract peer authentication providers

* test(connection): cover provider lifecycle and satisfy package gates

* fix(packaging): publish authentication provider locale resources

* test(auth): use runtime login output and cover gateway admission

* fix(auth): preserve Worker requests and migrate Desktop fixtures

* refactor(auth): centralize route admission with required policy

* fix(release): align authentication providers with rc.2

* refactor(connection): keep peer lookup and source policy private

* test(gateway): cover centralized upgrade rejections

* fix(ci): authenticate homepage compression probe

* refactor(auth): let Token own API socket lifecycle

* fix(auth): prevent caching admission refusals and clarify ownership

* refactor(web): collect provider entry URLs after readiness

* refactor(webserver): name the shared entry URL event

* refactor(connection): provide authentication as a nested service

* fix(web-app): restore startup publication defaults

* fix(auth): scope web events and preserve callback flows

* docs(auth): record the implemented provider architecture

* fix(auth): require owner access for administrative routes
2026-11-12 23:14:32 +08:00
winewill ac904e118e Merge pull request #8385 from deepseek-harness/fix/release-0.2.2-restart-status-cwd
fix(desktop): avoid restart status directory lock on release 0.2.2
2026-11-12 20:42:57 +08:00
winewill 4def2f0590 Merge branch 'master' of github.com:deepseek-harness/deepseek-harness into fix/rollout-website-approval
# Conflicts:
#	apps/desktop/publishing/ci/README.i18n.yaml
#	apps/desktop/publishing/ci/README.md
#	apps/desktop/publishing/ci/README.zh.md
#	apps/desktop/tests/desktop-rollout.spec.ts
2026-11-12 17:52:29 +08:00
winewill 05b12e4aff fix(desktop): align rollout approval with parsed percentage 2026-11-12 17:48:18 +08:00
winewill d6649ac75b fix(desktop): approve website upload and refresh together 2026-11-12 16:54:15 +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 046df1b122 Merge master into desktop publisher and synchronize workspace version 2026-11-12 11:52:56 +08: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
creatixchu e7950b0ca8 Align the macOS Computer Use provider package and entry names 2026-11-11 11:43:44 +08:00
creatixchu 5ee1c02eb8 fix(cua-windows): align provider, platform checks and replay with master 2026-11-10 16:47:17 +08:00
winewill 900a3d598b fix(desktop): defer installer completion through system menus 2026-11-06 17:47:04 +08:00
lsdsjy d51d623bfc feat(account): 接入通用通知接口并统一账号服务 (#7550)
将赠金专用提示迁移到通用通知 list、content 和 events 接口,支持轮询、语言刷新及单次交互上报。

统一账号服务和 Remote,通知 UI 放入侧栏并保持独立生命周期。

Refs #6373
2026-11-06 17:40:24 +08:00
winewill 57579a17ed fix(desktop): defer installer completion until native move returns 2026-11-06 16:43:58 +08:00
winewill 04188f67e7 Merge pull request #7951 from deepseek-harness/fix/desktop-update-progress-width
fix(desktop): 稳定下载进度宽度并补充检查更新反馈
2026-11-06 15:23:44 +08:00
winewill 9da22c1c3d test(desktop): align update status interaction coverage 2026-11-06 14:37:17 +08:00
winewill 610ed96855 fix(desktop): preserve update status in native fallback 2026-11-06 14:17:06 +08:00
winewill 63c63997cb fix(desktop): clarify update status and dialog failure feedback 2026-11-06 14:05:00 +08:00
winewill f823dac5c7 fix(desktop): open download status from progress indicator 2026-11-06 13:54:41 +08:00
yudshj 0f96381169 fix(desktop): 打包冒烟检查不再要求 Office 技能提供 path
Office 技能 provider 只提供 resourceBase,从不设置可选字段 path,因此 smoke-runtime.ts 的判定在所有平台上都必然失败。判定改为只检查行为结果:4 个 Office 技能都能列出,且正文非空。

判定抽成 assertOfficeSkillsLoadable,由新增单测和 office-resources.e2e.ts 共用。判定与真实 provider 不一致时,PR 阶段的 E2E 就会失败。

Fixes #7998
2026-11-06 08:12:51 +08:00
winewill fe33c6358f Merge remote-tracking branch 'origin/master' into fix/desktop-update-progress-width
# Conflicts:
#	apps/desktop/README.i18n.yaml
#	apps/desktop/README.md
2026-11-05 19:18:48 +08:00
winewill 939d83ab9c fix(desktop): validate isolated publisher entrypoints and checkout boundaries 2026-11-05 17:45:31 +08:00
winewill 3e6916a2d3 refactor(desktop): isolate publisher workspace for lightweight rollout 2026-11-05 17:24:15 +08:00
winewill ac60dc5188 Read startup appearance from Host settings instead of a theme cache 2026-11-05 16:51:25 +08:00
winewill 327aeefca1 Update welcome startup theme mock for native appearance events 2026-11-05 16:51:25 +08:00
winewill 21ebc61074 Restore desktop theme before startup and track Windows background changes 2026-11-05 16:51:25 +08:00
winewill c174e33a1b Paint the Windows workspace with its startup theme before the first frame 2026-11-05 16:51:25 +08:00
winewill a5e54e99d3 fix(desktop): stabilize update progress and explain active downloads 2026-11-05 16:46:06 +08:00
winewill 435e273102 Merge pull request #7883 from deepseek-harness/feat/windows-restart-banner
Show Windows installation status during desktop update restarts
2026-11-05 15:23:07 +08:00
winewill 5c464b8f25 fix(desktop): harden optional restart status rendering 2026-11-05 14:16:01 +08:00
winewill 60cd68bf3a test(desktop): account for localized restart status strings 2026-11-05 13:42:51 +08:00
winewill ae090f028b Merge pull request #7884 from deepseek-harness/feat/desktop-rollout-website
feat(desktop): add rollout and website publication workflow
2026-11-05 12:18:06 +08:00
winewill 77cd0c8f03 fix(desktop): disclose website installer replacement 2026-11-05 11:57:27 +08:00
winewill e9e835a7d4 fix(desktop): clarify independent website publication 2026-11-05 11:39:30 +08:00
Turtle 38c7a9fbf4 feat(release): publish package source, declaration maps, and documentation (#5884)
* feat(release): publish package source, declaration maps, and documentation

Every release member publishes its TypeScript source and the declaration
maps that resolve into it, and @deepseek-ai/dsh publishes the repository
Markdown documentation staged from docs/ at prepack time.

The ./src/* export most members already declared now resolves for an
installed consumer, and a consumer editor follows a declaration to the
implementation. Bundled JavaScript maps stay unpublished; the vendored
family and the Desktop runtime file policy are unchanged.

Rationale: .agents/notes/implemented/process/2026-10-08-published-source-and-docs.md

* feat(release): publish JavaScript maps and compress bundles

Every emitted JavaScript map ships beside the bundle it describes, and the
workspace build and the client preset compress bundles without mangling
identifiers.

The documentation payload now mirrors the website publication manifest and
is removed again by `postpack`; Desktop and the Python executable exclude
the published source, documentation, and maps; `clean` removes a staged
copy. Typert's publication contract gains the Remote declaration map.

* fix(release): keep node bundles readable for the worker image

The browser worker image lowers `yield*` only as a whole statement and
rewrites `for await` loops by their source layout, so compressed node-side
entries either fail that lowering or lower to unparseable code. Only the
browser bundles keep compression, which removes about a third of their text.

The bundle-purity assertion now matches the module-loader call regardless of
the quote style compression picks, and the release-pack fixture exercises
the installed package's new documentation requirement.

* feat(release): publish the whole documentation tree

`@deepseek-ai/dsh` copies `docs/` in full instead of the website's page
set: the maintainer documents, the generated migration records, the
translation guidelines, and the `*.i18n.yaml` consistency records ship
with the installed package, so the documentation's own links resolve
without a checkout.

* feat(release): publish the upgrade guides with the documentation

The staged documentation keeps the website's page set and adds every
`docs/upgrade-guide/` document, which is what an installed reader consults
when a released change breaks something. The rest of the maintainer tree
stays out.

* test(release): expect source and maps in master's new payload cases

* feat(release): keep installed docs and source readable in Desktop

Desktop keeps the published src/ and docs/ trees inside app.asar, and
every model shell call receives DSH_INSTALL_DIR and DSH_NODE_EXECUTABLE
so an agent can read them through Electron's Node mode. Staging also
generates docs/upgrade-guide/README.md, an index of the upgrade guides
grouped by the release they upgrade from.

Minified client bundles print string literals with backticks: the
worker image packer now recognizes those chunk requests, client license
banners are prepended after minification so their text survives, and
the affected artifact tests accept either quote.

* test(desktop): read archived docs through the Windows PowerShell form

Regenerate the config catalog for the shifted shell-env source line.

* test(desktop): wait for the GUI-subsystem Electron process from PowerShell

* build(release): publish source and maps from the message-quotes package

* build(release): publish source and maps from packages new on master

* build(release): publish source and maps from the tool-office package
2026-11-05 00:22:36 +08:00
yudshj 9df26413ee refactor(office): Office 技能统一读取包内 assets,移除包外 office-skills 拷贝与 DSH_BUNDLED_OFFICE_SKILLS
- web-app、sdk-app 的 skill-office 不再覆盖 assetRoot;pythonEnvironment 不变
- Desktop 与 Python SDK 打包不再生成 office-skills 资源目录,删除 prepareOfficeSkillAssets 与 skillSource
- Desktop 打包 smoke 校验 4 个 Office 技能可从运行时归档列出并加载
- 同步测试、README、Agent Note,新增升级指南 office-skill-resources
2026-11-04 13:25:24 +00:00