Commit Graph
5543 Commits
Author SHA1 Message Date
LegGasai 7d83af645c docs(llm): fix route credential contracts and the package index budget
- RouteCredential.configured: the owner may read its store to answer; the
  contract no longer claims "without reading the credential's value". Same
  text in the source JSDoc, both llm-streaming type-equiv blocks, and the
  seam Agent Note.
- llm-deepseek README: replace the stale resolveAuth(connection) summary
  with the resolveAuth(connection, endpoint) contract.
- llm-deepseek-account README: the listing cache is keyed by a SHA-256 of
  the credential headers, not of the token.
- web-deepseek-api tests/routes.ts: note that composition.spec.ts covers the
  real route plugins.
- packages/README: restore the document/, credentials/, and util/ rows and
  raise the verify-doc-budgets ceiling to 1,060 for the account/ row.
2026-11-11 19:33:52 +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
Yichen Jiang 8c192ad810 Merge pull request #8228 from deepseek-harness/feat/forge-extension-api
feat(forge): open change request review to plugins with lenses, line annotations, and slots
2026-11-11 12:07:19 +08:00
imccyu 17d96e0f6d refactor(exports): internalize test helpers and type fixtures 2026-11-11 07:32:55 +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 1aefd4de11 Merge master and migrate Windows CUA callers to explicit inspection 2026-11-10 18:24:02 +08:00
Yichen Jiang 50cf66138a test(scripts): pin timeoutOf in the reviewed dsh-timeout peer-required roster 2026-11-10 17:22:05 +08:00
creatixchu 5ee1c02eb8 fix(cua-windows): align provider, platform checks and replay with master 2026-11-10 16:47:17 +08:00
_Kerman 7526051e60 test(ptc): sync artifact expectations with emitted newlines 2026-11-10 16:31:41 +08:00
_Kerman 4e9adccec7 Merge branch 'master' into xtr/ptc-inspect-output 2026-11-10 16:18:34 +08:00
Turtle d79851e05d Merge pull request #8180 from deepseek-harness/feat/cua-run-code-standard
feat(cua): 为标准模式提供持久 cua_run_code 工具
2026-11-10 07:59:40 +00:00
Yichen Jiang 3d7923e3b1 build(forge-panel): declare the lens brand types as a dev dependency and timeoutOf as peer-required 2026-11-10 15:06:23 +08:00
Yichen Jiang aae5b719a9 docs(forge): document the extension API and replay a fixture extension
Add the forge subsystem's extension API section, README and cookbook
coverage, the generated Cordis, config, slot, and event catalogs, and a
recorded forge-panel e2e case that loads a fixture plugin registering a
lens, annotations, and every new slot.
2026-11-10 14:53:09 +08:00
_Kerman 86984d8358 Merge branch 'feat/cua-run-code-standard' into xtr/ptc-inspect-output 2026-11-10 14:24:26 +08:00
Huo Yaoyuan c6116ecdb4 Merge remote-tracking branch 'origin/master' into feat/cua-windows-2 2026-11-10 13:53:36 +08:00
turtle1999 f0e9dc1c92 fix(cua): support clean source runs and preserve per-mode guidance 2026-11-09 18:17:56 +08:00
_Kerman a2ea3970fd refactor(ptc): return ordered text and image output 2026-11-09 17:44:12 +08:00
_Kerman 1fed265b3b fix(ptc): bound binary inspection and preserve failure output 2026-11-09 17:19:48 +08:00
Yichen Jiang b1fae5b326 docs(forge): document the overview and viewed marks
The forge subsystem page gains the overview and viewed mark types and
contracts, and the generated Cordis, configuration, and event catalogs
follow the new service methods and the maxViewedFiles option.
2026-11-09 17:13:17 +08:00
_Kerman 83e3d0ebc0 Merge remote-tracking branch 'origin/master' into xtr/ptc-inspect-output
# Conflicts:
#	packages/experimental/cua-macos/README.i18n.yaml
#	packages/experimental/cua-macos/README.md
#	packages/experimental/cua-macos/README.zh.md
#	packages/experimental/cua/src/api.ts
#	packages/experimental/cua/src/guidance.ts
#	packages/experimental/cua/src/types.ts
#	packages/experimental/cua/tests/api.spec.ts
#	snapshots/session/cua-native/system-prompt.expected.md
#	snapshots/session/cua-ptc/system-prompt.expected.md
#	snapshots/session/ptc-script-retained/system-prompt.expected.md
2026-11-09 16:17:18 +08:00
turtle1999 b9966a12a6 feat(cua): expose persistent code tool outside PTC mode 2026-11-09 15:53:22 +08:00
Chinesezjc e9eeabacb6 Merge pull request #8046 from deepseek-harness/fix/ci-21078ac-scan-dot-dirs
test(ui-theme): skip dot directories in the package scan
2026-11-09 15:50:12 +08:00
_Kerman 724e56b286 feat(ptc): unify explicit text and image inspection 2026-11-09 15:06:09 +08:00
dsh-ci-bot b840ff5b9f fix(ci): brace the retry cleanup hook
`typescript/no-confusing-void-expression` rejects the shorthand arrow that
returns `rmSync`'s void expression; the staged lint configuration does not
enable type-aware rules, so only the full lint gate caught it.
2026-11-09 14:34:35 +08:00
dsh-ci-bot 37ee8d34ad fix(ci): retry the Electron provisioning fetch
The Windows coverage lane provisions the locked Electron binary through the
runner proxy. A gateway timeout on that one fetch failed the required lane
before any test ran: on 2026-11-09 four jobs on three branches stopped at
`504 (Gateway Time-out)` for the release archive, while other jobs fetched the
same archive minutes later (2.5 s from a warm cache, 14.7 s cold).

`electron-install` now declares two retries with a 15 s wait, and the
aggregate executor repeats a failed gate only when it declares `retries`. A
gate the fail-fast signal terminated is not repeated, and the returned
duration covers every attempt.
2026-11-09 14:18:13 +08:00
Huo Yaoyuan 0c2d8cb5b0 Merge origin/master into feat/cua-windows-2 2026-11-09 13:45:09 +08:00
_Kerman 71b5e93457 test(ptc): migrate remaining inspection consumers 2026-11-09 12:48:09 +08:00
_Kerman 0e12a87b02 test(ptc): update Python SDK inspection snapshot 2026-11-09 12:04:10 +08:00
_Kerman c1783e9dff feat(ptc): select program output with Harness.inspect 2026-11-09 12:00:07 +08:00
Yichen Jiang f03981630c Merge remote-tracking branch 'origin/feat/forge-review-threads' into feat/forge-review-writes
# Conflicts:
#	apps/web/tests/forge-panel.e2e.ts
#	packages/experimental/client-ui-forge/README.i18n.yaml
2026-11-09 11:50:38 +08:00
Yichen Jiang c04c40b68a docs(forge): document review writes and record pending review drafts
The forge subsystem page documents ctx.forge.writeReview, its write
and result types, and the panel's changeRequestReviewWrite; the package
READMEs describe the GitHub mutations and their measured behavior, the
thread actions, and the pending review flow. A new Agent Note records
moving pull request comment drafts to the code host's pending review,
and the forge panel note links it. The Web e2e replies to, edits,
deletes, and resolves threads, and starts, submits, and discards a
pending review through the scripted gh double.
2026-11-09 11:38:56 +08:00
Yichen Jiang e7e5ed638d Merge remote-tracking branch 'origin/master' into feat/forge-review-threads
# Conflicts:
#	apps/web/tests/forge-panel.e2e.ts
#	packages/experimental/client-ui-forge/README.i18n.yaml
#	packages/experimental/client-ui-forge/src/client/DiffFile.tsx
#	scripts/type-equiv.manifest.json
2026-11-09 11:38:53 +08:00
Huo Yaoyuan bf5406f53b Remove bad test 2026-11-09 11:32:50 +08:00
Anlai Lu 4eb64b67b1 fix(cua-windows): bind and verify helper packaging metadata 2026-11-09 10:47:31 +08:00
Huo Yaoyuan f50feeef9f Align Windows local build 2026-11-07 22:23:13 +08:00
Huo Yaoyuan 5e75c3009f Switch back to .NET 10 2026-11-07 18:11:26 +08:00
liukx0205 1e7f265cfd fix(session): complete batch API review coverage and declarations 2026-11-07 17:02:19 +08:00
liukx0205 6a6c6827cb fix(ci): retire the removed session assertion allowance 2026-11-07 17:02:19 +08:00
liukx0205 b5969f9e8d feat(session): accept multiple events through append 2026-11-07 17:02:19 +08:00
Kexin Liu e49a941d65 Merge pull request #7910 from deepseek-harness/fix/agent-input-lifecycle
fix(agent): drain work after cancellation failures
2026-11-07 17:02:15 +08:00
Dudu-0223 6cc45f22bd feat: 在内置配置中关闭 subagent 和 Team 的 interrupt 工具 (#7986)
* feat(subagent): disable interrupt tool by default

* test(subagent): update remaining default tool inventories

* fix: disable agent interruption in shipped configuration

* test: configure interruption explicitly in custom preset fixture

* test: update tool count in collapse display snapshots

* docs: clarify agent interruption opt-in and verify preset controls

* test: cover macOS CUA channel policy forwarding on every platform

* test: move CUA coverage repair to a separate master change
2026-11-07 06:55:25 +00:00
Yichen Jiang f11daf3ad3 docs(forge): document review thread reads, the thread overlay, and the unsupported failure
The forge subsystem page documents ctx.forge.readReview, its thread
types, and the panel's changeRequestReview cache; the package READMEs
describe the GitHub thread mapping, the overlay and thread list, and the
new panel Config fields. An upgrade guide covers the unsupported
ForgeFailure code. The Web e2e overlays scripted threads, opens them from
the thread list, and sends a quoted thread through a replayed turn.
2026-11-07 14:31:30 +08:00
Yichen Jiang fb637c2bfd Merge remote-tracking branch 'origin/master' into feat/forge-review-viewed-lenses
# Conflicts:
#	apps/web/tests/forge-panel.e2e.ts
#	docs/config-catalog.md
#	docs/config-catalog.zh.md
#	docs/subsystems/forge.i18n.yaml
#	docs/subsystems/forge.md
#	docs/subsystems/forge.zh.md
#	packages/experimental/client-ui-forge/README.i18n.yaml
#	packages/experimental/client-ui-forge/README.md
#	packages/experimental/client-ui-forge/README.zh.md
#	packages/experimental/client-ui-forge/src/client/ChangesTab.tsx
#	packages/experimental/client-ui-forge/src/index.ts
#	packages/experimental/client-ui-forge/tests/controller.host.spec.ts
#	packages/experimental/forge-github/README.i18n.yaml
#	packages/experimental/forge-github/README.md
#	packages/experimental/forge-github/README.zh.md
#	packages/experimental/forge-github/src/index.ts
#	packages/experimental/forge-github/src/provider.ts
#	packages/experimental/forge-github/tests/plugin.spec.ts
#	packages/experimental/forge-github/tests/provider.spec.ts
#	packages/experimental/forge-github/tests/review.spec.ts
#	packages/experimental/forge/README.i18n.yaml
#	packages/extensions/tool-cordis/src/api-catalog.ts
2026-11-07 12:13:56 +08:00
Yudong Han 2d463af8d2 Merge pull request #7365 from deepseek-harness/feat/sidebar-file-search
feat(ui-sidebar-files): 侧栏文件树新增搜索栏 UI 与排除规则设置
2026-11-07 00:56:13 +08:00
Yichen Jiang 325b2d27e5 Merge remote-tracking branch 'origin/master' into feat/forge-review-viewed-lenses 2026-11-06 17:51:39 +08:00
Yichen Jiang c313392bf8 feat(forge-panel): review changes by layer, mark files viewed, and view chosen commits
The changes view gains a lens of All, Interface, Implementation, and Tests
that spans the file tree above it, a switch that hides test files from the
tree and the diff, and a viewed checkbox on each file header that collapses
the file. The toolbar counts viewed files and V toggles the file being read.
Marks are kept per Session, source, path, and change digest in browser
storage, so a file that changes again reads as changed since viewed. All
commits beside Submit review, and beside the base branch of the Branch scope,
shows one commit or a Shift run of commits.
2026-11-06 17:51:22 +08:00
Huo Yaoyuan 50577597e9 feat(cua-windows): port Windows provider from old branch
Port the existing Windows CUA implementation from feat/cua-windows in deepseek-harness2 to the current branch, with adapters for the current app/window interfaces and Windows-only bundle activation. Retain the native Shell/UWP implementation for later interface work.
2026-11-06 17:40:53 +08:00
lsdsjy d51d623bfc feat(account): 接入通用通知接口并统一账号服务 (#7550)
将赠金专用提示迁移到通用通知 list、content 和 events 接口,支持轮询、语言刷新及单次交互上报。

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

Refs #6373
2026-11-06 17:40:24 +08:00
liukx0205 4f10a9ef08 Merge commit '2ac25a5cedf1485be192b6eb99977b0baa8d7522' into HEAD 2026-11-06 14:52:34 +08:00
liukx0205 d17fad9b9e fix(agent): classify closed admission and document migration 2026-11-06 14:43:56 +08:00