Commit Graph
1059 Commits
Author SHA1 Message Date
imccyu 30b668495d chore(release): sync release/dsh-0.2.2 0.2.2-rc.5 to master
# Conflicts:
#	packages/client/hmr/package.json
#	packages/client/script-realm-iframe/package.json
#	packages/client/ui-jobs/package.json
#	packages/client/ui-session-panel/package.json
#	packages/experimental/action-cards/package.json
#	packages/experimental/client-ui-forge/package.json
#	packages/experimental/cua-bundle/package.json
#	packages/experimental/forge-gitlab/package.json
#	packages/ptc-runtime/ptc-runtime-node/package.json
#	packages/session/tool-working-directory/package.json
#	packages/util/atomic-write/package.json
2026-11-18 18:26:56 +08:00
imccyu 9bf478edde release(dsh): 0.2.2-rc.5 2026-11-18 17:43:56 +08:00
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
Turtleandimccyu 00de4378d1 Merge branch 'master' into turtle/fix-clean-wipes-sessions-01ceb27e9301
Co-authored-by: imccyu <[email protected]>
2026-11-18 13:18:12 +08:00
dsh-ci-bot 70607a9de5 docs(desktop): state that an appended predecessor is skipped, not collected
The dedupe sentence claimed records appended before a rotation stay in
one segment, which implies they are collected. The predecessor is
skipped, so those records are not collected at all. Correct the English
and Chinese guides and the readOperationHistory contract.
2026-11-18 13:02:42 +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
imccyu 7400626e6e chore(release): sync release/dsh-0.2.2 0.2.2-rc.4 to master
# Conflicts:
#	packages/client/hmr/package.json
#	packages/client/script-realm-iframe/package.json
#	packages/client/ui-jobs/package.json
#	packages/client/ui-session-panel/package.json
#	packages/experimental/action-cards/package.json
#	packages/experimental/client-ui-forge/package.json
#	packages/experimental/cua-bundle/package.json
#	packages/experimental/forge-gitlab/package.json
#	packages/ptc-runtime/ptc-runtime-node/package.json
#	packages/session/tool-working-directory/package.json
#	packages/util/atomic-write/package.json
2026-11-17 21:37:34 +08:00
imccyu bc3bddffbd release(dsh): 0.2.2-rc.4 2026-11-17 21:19:11 +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
LegGasai 8eda7cfb7c Merge remote-tracking branch 'origin/master' into refactor/llm-route-credential
# Conflicts:
#	scripts/empty-catch.baseline.json
2026-11-16 14:36:05 +08:00
Turtle a13fd52072 Merge remote-tracking branch 'origin/master' into turtle/clean-empty-catch-69cac4a2ccee
# Conflicts:
#	packages/boot/plugin-market/src/repository-cache.ts
2026-11-13 16:23:40 +08:00
LegGasai 17da980349 Merge remote-tracking branch 'origin/master' into refactor/llm-route-credential 2026-11-13 15:42:52 +08:00
Turtle 35cc5d7759 Merge origin/master
# Conflicts:
#	packages/client/ui-primitives/src/clipboard.ts
2026-11-13 15:28:44 +08:00
Turtle f184f77006 fix: retire legacy empty-catch baseline entries
Name every empty catch binding, state why each discarded failure is safe,
and narrow each wide try to the single statement whose failure is tolerated.
The empty-catch baseline is now empty.
2026-11-13 15:28:28 +08:00
LegGasai b203bc06d0 Merge remote-tracking branch 'origin/master' into refactor/llm-route-credential
# Conflicts:
#	docs/capability-seams.i18n.yaml
2026-11-13 15:18:12 +08:00
imccyu ff6db9df9f Merge branch 'release/dsh-0.2.2' into master 2026-11-13 15:12:47 +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
LegGasai 564dfa8623 Merge remote-tracking branch 'origin/master' into refactor/llm-route-credential
# Conflicts:
#	apps/desktop/README.i18n.yaml
#	docs/AGENTS.md
#	docs/capability-seams.i18n.yaml
#	docs/event-producer-consumer.md
#	docs/event-producer-consumer.zh.md
#	docs/persistence-catalog.i18n.yaml
#	docs/persistence-schema.json
#	packages/account/deepseek-account/README.i18n.yaml
#	pnpm-lock.yaml
#	scripts/doc-budgets.manifest.json
2026-11-13 14:40:18 +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 4c1cf20cb1 release(dsh): 0.2.2-rc.3 2026-11-13 13:11:59 +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 c228441d4e docs(desktop): clarify cache recovery requirements 2026-11-12 17:54:34 +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 d4d4468247 test(desktop): reuse runtime closure validation for packaged peers 2026-11-12 16:11:08 +08:00
winewill 7f252472b4 fix(desktop): supply error peer and inline it in command worker 2026-11-12 15:31:21 +08:00
LegGasai f4ac78bb34 Merge remote-tracking branch 'origin/master' into refactor/llm-route-credential
master moved internal identity construction to brandString (#8214) and
added the empty-catch gate with its recorded baseline (#4862); both touch
files this branch changes or moves.

Conflicts:
- packages/llm/llm-deepseek/tests/adapter.spec.ts,
  packages/llm/llm-deepseek-account/tests/provider.spec.ts,
  packages/experimental/translator/tests/paid-fixture.ts, and
  packages/web/web-search-deepseek/tests/deepseek.spec.ts: master rewrote
  the id constructor calls to brandString<T>() with type-only imports,
  while this branch replaced the hand-built account stand-ins with
  accountStub. The result keeps master's id construction and imports and
  this branch's stand-ins; the one Session this branch's own search test
  creates follows master's construction.
- packages/web/web-deepseek-api/package.json and
  packages/web/web-search-deepseek/package.json: this branch's sorted
  devDependencies plus master's dsh-brand entry.
- docs/capability-seams.md and docs/capability-seams.zh.md: master's
  cuaPrograms consumer edge and this branch's deepseekAccount consumer
  edges coexist; the pairing record is recorded again from the merged
  pair.
- docs/module-graph.md, docs/module-graph.zh.md,
  docs/persistence-schema.json, and pnpm-lock.yaml: regenerated from the
  merged sources.

Beyond the conflicts:
- scripts/empty-catch.baseline.json: master recorded two clauses under
  packages/credentials/deepseek-account, which this branch moves to
  packages/account/deepseek-account. The two keys are renamed with the
  files, as the gate requires for a moved file.
- AGENTS.md: master's checker link and this branch's account/ layout row
  together exceeded the frozen 2,080-word ceiling by one word, so the row
  reads "account/ DeepSeek".
2026-11-12 13:53:45 +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
LegGasai 1685f46873 Merge remote-tracking branch 'origin/master' into refactor/llm-route-credential
# Conflicts:
#	packages/web/web/package.json
#	scripts/plugin-entry-existing-exports.ts
2026-11-11 12:52:40 +08:00
creatixchu e7950b0ca8 Align the macOS Computer Use provider package and entry names 2026-11-11 11:43:44 +08:00
imccyu 4e205cd66d Merge release/dsh-0.2.2 (0.2.2-rc.2) into master
# Conflicts:
#	packages/experimental/cua-bundle/package.json
#	packages/ptc-runtime/ptc-runtime-node/package.json
2026-11-11 10:34:31 +08:00
imccyu 91319233e1 release(dsh): 0.2.2-rc.2 2026-11-11 10:18:52 +08:00
LegGasai d42563e4ba refactor(llm): publish DeepSeek route credentials through ctx.llm
`LlmAdapter.routeCredential(provider)` publishes the credential a route
currently sends: kind, resolved base URL, optional reference, a value-free
presence check, and per-endpoint grants carrying protocol headers, the bare
value, and an optional 401 invalidation. `LlmRuntime.routeCredential()`
forwards to the owning adapter.

`dsh-llm-deepseek` reads no credential: `resolveAuth(connection, endpoint)`
returns a grant or `undefined`, `missingCredential` names the failure, and
`credential` declares the publication. The route plugins own their
credentials through the new `dsh-credentials` reference helpers and the
account service's `resolveRequestCredential()`; the account route also owns
sign-out cancellation and registers a running-task report. The account
service inspects no Agents, drops its `dsh-agent` and `dsh-llm` peers, and
moves to `packages/account/`. The web providers consume route publications
and drop their dependencies on `dsh-llm-deepseek`, the route plugins, and the
Loader.

Documented in the Agent Note and the `llm-route-credential` upgrade guide.
2026-11-10 19:59:14 +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