Commit graph

14423 commits

Author SHA1 Message Date
creatixchu
e719eee47f fix(web): guide search endpoint recovery 2026-08-27 21:21:10 +08:00
Chinesezjc
6ac1b82939 test(file-reference-local): pin the unreadable-subtree test to POSIX non-root
chmod 0 can only deny directory reads on POSIX to a non-root owner:
Windows exposes no directory permission bits for readdir, and root
bypasses them. Where the fixture stays readable the sealed candidate is
indexed, so the unreadable-branch behavior is pinned on POSIX non-root.
An injected readdir failure keeps that branch covered on every platform.
2026-08-27 21:12:14 +08:00
Chinesezjc
10b31043ab feat(ci): assign coverage partitions by recorded file duration
Replace Vitest's hash-based --shard with a coordinator-side
longest-processing-time assignment. The coordinator collects the
instrumented inventory from a vitest list run (dropping the exempt
heavy suites that list does not exclude), reads per-file durations from
the Vitest results cache, and seeds heavy subprocess-bound suites into
different partitions. A weight-aware test fails when assignment ignores
recorded weights, verified by injecting a file-count-only rule.

Windows coverage measured partition spread of 442s (275-717s) under
hash sharding; a simulation with the same file durations and the new
assignment balances partitions to within 21s, cutting the critical
partition to roughly half.
2026-08-27 21:04:15 +08:00
Chinesezjc
12efd638d4 Merge pull request #3202 from deepseek-harness/fix/windows-directory-picker-loader-composition
test(host): drain Include write queue in directory-picker composition spec
2026-08-27 20:37:23 +08:00
imccyu
07cb5934af Merge pull request #3227 from deepseek-harness/fix/inspector-client-bootstrap
fix(inspector): stabilize client bootstrap identity
2026-08-27 20:33:08 +08:00
Yichen Jiang
b2442d00f9 Merge pull request #3219 from deepseek-harness/perf/tsconfig-paths-flatten
perf(infra): map each workspace package to an explicit path alias
2026-08-27 20:16:56 +08:00
imccyu
b46953f3cc test(client-modules): type loader resolver stubs 2026-08-27 20:16:51 +08:00
imccyu
827acd07b1 docs(client-modules): align resolver contract 2026-08-27 20:10:20 +08:00
imccyu
dc1be1334f fix(inspector): address bootstrap review findings 2026-08-27 20:03:17 +08:00
Yichen Jiang
71b3c50261 refactor(infra): share one workspace walk between the alias collectors
collectPackageNames repeated collectPackageAliases' directory walk
verbatim, which jscpd reported as a 7-line clone and which failed the
lint-and-duplication gate on both the Linux and Windows lanes. Both now
read one workspacePackages() iterator: the alias collector keeps only
packages named after their directory, and the coverage collector keeps
every one of them.
2026-08-27 20:02:10 +08:00
Yichen Jiang
c4c3c32931 fix(infra): assert alias coverage and harden the generator entry guard
Review found the CLI entry guard compared import.meta.url against a
concatenated file:// URL. That fails whenever import.meta.url encodes
something process.argv[1] does not — a repository path containing a
space, or any Windows drive path — and it fails silently: the script
exits 0 having done nothing, so verify-tsconfig-paths would pass
without checking exactly where it is needed. Running a copy from a
directory whose name contains a space reproduces it. The guard now uses
the comparison the repository's seven other generators already use.

Deleting the group wildcards also removed the fallback that resolved a
package nobody had aliased, so the generator now asserts coverage:
every workspace package with a src directory must be mapped, and
--check names any that is not. That assertion immediately found four
packages named dsh-<group>-<directory> whose siblings carry hand-written
aliases while they did not, so they reached built lib/ output through
the workspace symlink. They now carry aliases too, which takes the
resolution differences in this branch from seven to eleven.

Two comments in tsconfig.base.json still pointed at the deleted
wildcards; they now state why those aliases stay hand-written. The
package-inventory proposal recorded the wildcard collapse as current,
so both notes are cross-linked as partial supersession.
2026-08-27 19:39:21 +08:00
imccyu
ac13b16c0c fix(inspector): stabilize client bootstrap identity 2026-08-27 19:35:34 +08:00
Yif
bc88e152c5 test(ui-chat): restore turn-tail assertions lost in the rebase merge
The rebase onto master's turn-process folding kept master's makeHarness
rework, which dropped the turnUsages passthrough and the single-trigger
footer assertions; re-merge both sides.
2026-08-27 18:35:09 +08:00
Yif
bb1df10c69 feat(ui-chat): collapse the turn tail into one clickable meta line
Replace the two-row footer (TurnUsageDisclosure + icon-row clock chrome)
with a single whole-line trigger (clock · run time · turn usage · cache
hit · speed · TTFT) that opens a per-Turn usage dialog. The latest turn
keeps its tail always visible; older turns reveal the whole row on
hover/focus. Turns without usage data keep the plain clock line with
identical spacing.
2026-08-27 18:27:02 +08:00
lsdsjy
8b09a0be52 feat(ui-conversation): fold turn process before final answer (#2547)
* feat(ui-conversation): fold turn process before final answer

* fix(ui-chat): polish turn-process control row from review

* test(web): drive preset slash catalog with gestures

* fix(ui-chat): keep turn process order stable

* fix(ui-chat): preserve prompt order after pagination

Co-authored-by: Yif <877193178@qq.com>
2026-08-27 10:12:39 +00:00
07akioni
2c9c871eff Merge pull request #3213 from deepseek-harness/docs/cordis-paper-arxiv
docs: link Cordis paper on arXiv
2026-08-27 18:07:01 +08:00
07akioni
35ac64c209 docs: link Cordis paper on arXiv 2026-08-27 17:45:31 +08:00
Wenlu Wang
6720bff936 Merge pull request #1372 from deepseek-harness/style/cjk-latin-autospace
Add global CJK/Latin auto-spacing via text-autospace
2026-08-27 17:37:08 +08:00
_Kerman
3a34b7870e test(agent-team): cover failed projection reads 2026-08-27 17:27:31 +08:00
Yichen Jiang
12c161e1a7 perf(infra): map each workspace package to an explicit path alias
tsconfig.base.json resolved @deepseek-ai/dsh-* through 49 candidate
globs and @deepseek-ai/dsh-*/invariant through 45, one per package
group. Resolution tries candidates in order, so a package late in the
list paid for every earlier miss — and under the dsh source launch each
miss is an ERR_MODULE_NOT_FOUND that Node decorates with a full
CommonJS resolution walk. A boot profile attributed 934.6 ms, 35% of
startup, to that decoration path across 60,942 failed resolutions. The
cost landed hardest on packages/util/*, which sits at position 44 of 49
and holds the leaf utilities nearly every plugin imports.

gen-tsconfig-paths writes one explicit alias per package into a marked
region and both group wildcards are gone; verify-tsconfig-paths reports
drift and runs in the ci-static lane. Booting the headless profile from
source drops from ~2,157 ms to ~1,055 ms with --help output unchanged.

All 1,022 dsh specifiers in repository sources resolve to the same
target as before, except seven /invariant specifiers in the lsp,
terminal, and runtime-diagnostics groups that the deleted wildcard
never listed: those reached built lib/types instead of src, against the
rule that static gates resolve through paths to src on a clean tree.
2026-08-27 17:26:52 +08:00
fz
1c808341ec Add global CJK/Latin auto-spacing via text-autospace
Progressive enhancement on body in the shell base sheet so mixed
Chinese/English copy gets consistent spacing without content edits;
engines without support ignore the property.
2026-08-27 17:21:40 +08:00
_Kerman
4b48b2b439 Merge remote-tracking branch 'github/master' into xtr/session-projection-migrations 2026-08-27 17:18:58 +08:00
_Kerman
6717cb8d19 refactor(session): trim projection migration diff 2026-08-27 17:18:51 +08:00
imccyu
631135cc06 Merge pull request #3012 from deepseek-harness/worktree-inspectorcordis
feat(inspector): add cross-realm CDP inspection
2026-08-27 17:10:55 +08:00
imccyu
90cae21deb fix: ci 2026-08-27 16:52:40 +08:00
_Kerman
d9c0aa1cd0 Merge remote-tracking branch 'github/master' into xtr/session-projection-migrations
# Conflicts:
#	docs/config-catalog.i18n.yaml
#	docs/config-catalog.md
#	packages/context/session-reference/package.json
#	packages/context/session-reference/tests/session-reference.spec.ts
#	packages/subagent/tool-subagent/src/index.ts
#	packages/subagent/tool-subagent/src/invariant.ts
#	packages/subagent/tool-subagent/src/model-selection-state.ts
#	packages/subagent/tool-subagent/tests/harness.ts
#	packages/subagent/tool-subagent/tests/list-models.spec.ts
#	packages/subagent/tool-subagent/tests/model-selection-settings.spec.ts
#	packages/subagent/tool-subagent/tests/tool-subagent.spec.ts
#	pnpm-lock.yaml
2026-08-27 16:38:06 +08:00
imccyu
3f4a6a2698 docs: align the module graph translation pair 2026-08-27 16:28:26 +08:00
_Kerman
1c2acd9157 refactor(permission): project the seed boundary 2026-08-27 16:25:43 +08:00
_Kerman
42e0781cda refactor(agent-team): name the Team projection explicitly 2026-08-27 16:25:33 +08:00
_Kerman
722d9f016b perf(goal): avoid copying open-turn event suffix 2026-08-27 16:25:29 +08:00
_Kerman
ba4bd08bc3 perf(llm-retry): reset state without scanning keys 2026-08-27 16:25:25 +08:00
_Kerman
85bf796a95 refactor(subagent): retain identity projection state 2026-08-27 16:25:20 +08:00
_Kerman
9e184cde37 test(python): restore strict live response smoke 2026-08-27 16:25:12 +08:00
imccyu
1c1c0adf6e fix(inspector): classify the demo launcher and refresh the module graph 2026-08-27 16:23:21 +08:00
imccyu
15572ddb22 feat(inspector): add the development mount overlay and demo script 2026-08-27 16:16:28 +08:00
imccyu
ef712e3006 fix(inspector): serve Cordis DOM levels on demand 2026-08-27 16:16:28 +08:00
imccyu
a031b95fdb fix(inspector): preserve responses after caller abort 2026-08-27 16:16:28 +08:00
imccyu
777489dfc5 fix(inspector): print the startup URL 2026-08-27 16:16:28 +08:00
imccyu
d6245fc254 fix(inspector): update Cordis DOM incrementally 2026-08-27 16:16:28 +08:00
imccyu
c5f34e8ada fix(inspector): preserve event stream replay order 2026-08-27 16:16:27 +08:00
imccyu
5a5d5de948 fix(inspector): address protocol review findings 2026-08-27 16:16:27 +08:00
imccyu
0954bad2bb fix(inspector): render captured event streams 2026-08-27 16:16:27 +08:00
imccyu
b1748f0c55 fix(inspector): satisfy CI checks 2026-08-27 16:16:27 +08:00
imccyu
daf3858759 fix(inspector): restore client console and response bodies 2026-08-27 16:16:27 +08:00
imccyu
008ae0c01e docs(inspector): record cross-realm architecture 2026-08-27 16:16:24 +08:00
imccyu
6822ad3afc test(inspector): enforce execution-plane boundaries 2026-08-27 16:15:18 +08:00
imccyu
28cc3e930b feat(inspector): expose Cordis trees through CDP DOM 2026-08-27 16:15:18 +08:00
imccyu
7ecd7004eb feat(inspector): project Host fetches through CDP Network 2026-08-27 16:15:18 +08:00
imccyu
bcee99e39d feat(inspector): serve Runtime through a CDP Worker 2026-08-27 16:15:18 +08:00
imccyu
19f0076668 feat(inspector): connect Host and Client producers 2026-08-27 16:15:18 +08:00