Commit Graph

7616 Commits

Author SHA1 Message Date
CreatixChu
ed66b970ff Merge pull request #901 from deepseek-harness/feat/dir-selector-adaptive-default
feat(host): adaptive directory-picker default via -auto chooser
2026-07-30 22:12:27 +08:00
creatixchu
1102cfc1f3 Merge remote-tracking branch 'origin/master' into worktree/plan-review-layout 2026-07-30 22:10:56 +08:00
Yichen Jiang
5251a13a25 fix(app-boot): survive a surface that exits before the tree settles
boot() asserts over ctx.loader after awaiting the Loader, but the TUI renders
as soon as its own fiber starts: an /exit typed before the last entry settles
runs disposeRootAndExit, which takes the Loader service with the tree. The
assertions then read undefined and crashed the process with a TypeError over
an app that exited exactly as asked. The keyless personal-overlay PTY smoke
lost this race in roughly two of three runs.
2026-07-30 22:09:03 +08:00
Tianyi Cui
dea8f31273 Merge branch 'master' into worktree/fix-macos-web-replay
# Conflicts:
#	.agents/notes/implemented/testing/2026-07-24-web-gui-browser-e2e-lane.i18n.yaml
2026-07-30 22:00:50 +08:00
imccyu
1a75d60174 ci: vitest forks 2026-07-30 21:59:51 +08:00
imccyu
9e2f6859f7 ci: reduce invariant import 2026-07-30 21:59:50 +08:00
imccyu
56a8db2777 ci: use 16c
16c
2026-07-30 21:59:47 +08:00
Chinesezjc
168ec609ed docs: regenerate config catalog after master merge 2026-07-30 21:58:25 +08:00
Chinesezjc
8752e1f9e9 Merge remote-tracking branch 'origin/master' into feat/search-presenter 2026-07-30 21:57:57 +08:00
Chinesezjc
7b6f33f872 refactor(fs): minimize and cap search card meta; keep TUI byte-identical
Address the review of the search render card:

- The search result view carries no `content`: it was a no-op for every
  consumer and serialized the whole search text twice. A UI without a search
  card falls back to the raw tool/result content; the TUI stays byte-identical
  to the pre-search-card generic fallback.
- Bound the serialized presentationMeta with a configurable searchMetaMaxBytes
  (default 64 KiB): the inline item cap does not bound bytes, and spill-policy
  only shrinks content, never meta. capMetaBytes drops trailing groups/paths.
- Share one retention pass (retainGrepMatches/retainGlobPaths in search-core)
  between the model-facing render and the meta projection; remove the second
  cap/preview implementation and the presentation<->grep module cycle by
  moving GrepMatch/previewLine to search-core.
- Rename the result-view discriminant kind -> shape so it no longer collides
  with GenericCallView.kind (ToolCallKind, whose values include 'search').
- Narrow the entry export surface to consumed symbols.
- Sync the three bilingual ToolResultView doc pairs and the Agent Note pair;
  document the deliberate empty-card acceptance vs diffsFromMeta.
- Regenerate config/tool/cordis catalogs for the new config field.
2026-07-30 21:57:49 +08:00
Chinesezjc
ec0d3c2359 Merge remote-tracking branch 'origin/master' into feat/web-presenter 2026-07-30 21:55:37 +08:00
Chinesezjc
f070597378 fix(tool-web): share one source projection between search execute and meta
The web_search execute result and searchMetaFromValue each spread the
same {url, title?, snippet?, publishedAt?} projection over a seam source,
which the duplication gate flags as a clone. Extract projectSource, typed
on the seam's WebSearchSource, so both sites carry a byte-identical shape
from one definition.
2026-07-30 21:55:22 +08:00
Yichen Jiang
02b8529405 Merge origin/master into worktree/deepseek-max-tokens-defaults
# Conflicts:
#	docs/cordis-catalog/services.md
#	docs/core-data-structures/core.i18n.yaml
#	docs/core-data-structures/session.i18n.yaml
#	packages/core/session/README.i18n.yaml
2026-07-30 21:55:07 +08:00
imccyu
6f2e8fb6aa Merge branch 'master' into worktree-forkweb 2026-07-30 21:53:03 +08:00
Yichen Jiang
e5d7fa4cef Merge worktree-llm-web-config (939, with latest master) into worktree/onboarding-deepseek-config 2026-07-30 21:52:25 +08:00
Wenlu Wang
0670cb5af8 Merge branch 'master' into codex/queue-collapse 2026-07-30 21:51:49 +08:00
imccyu
be0216102a Reapply "ci: reduce coverage cocurrency"
This reverts commit a471ba79e30e6148e8c433b83fe0d7ee14a8312b.
2026-07-30 21:50:49 +08:00
imccyu
e35e2a9f3e perf: tsc 2026-07-30 21:50:48 +08:00
imccyu
98f6552e21 Revert "ci: reduce coverage cocurrency"
This reverts commit ab30aca5cb859aea4bd0fffc88414270d1761f7d.
2026-07-30 21:50:47 +08:00
Yichen Jiang
45e6a6c31d Merge worktree-llm-dynamic-config (884, with latest master) into worktree-llm-web-config 2026-07-30 21:50:43 +08:00
Yichen Jiang
5fd34f9109 fix(agent-loop): rematerialize adapter defaults 2026-07-30 21:49:58 +08:00
Turtle
7f1c724165 merge: update origin/master 2026-07-30 21:49:51 +08:00
creatixchu
97d79e3ee0 Merge remote-tracking branch 'origin/master' into feat/dir-selector-adaptive-default 2026-07-30 21:49:33 +08:00
Turtle
f04b35c6a4 fix(test): isolate jsdom storage on Node 26 2026-07-30 21:49:33 +08:00
Yichen Jiang
cd6027125c Merge latest master into worktree-llm-dynamic-config 2026-07-30 21:49:30 +08:00
Tianyi Cui
b43e392be7 Merge remote-tracking branch 'origin/master' into feature/directory-listing-tool 2026-07-30 21:49:30 +08:00
creatixchu
a0dff17433 Merge remote-tracking branch 'origin/master' into feat/dir-selector-adaptive-default 2026-07-30 21:49:00 +08:00
Tianyi Cui
589f0aa773 Merge pull request #992 from deepseek-harness/worktree/ci-independent-consumer-build
fix(ci): allocate consumer runner independently
2026-07-30 21:48:57 +08:00
Tianyi Cui
d243f0e2bf Merge remote-tracking branch 'origin/master' into feature/directory-listing-tool 2026-07-30 21:48:46 +08:00
Tianyi Cui
ef9fbb0621 Merge branch 'master' into worktree/ci-independent-consumer-build 2026-07-30 21:48:44 +08:00
Tianyi Cui
36d5f0ac68 Merge pull request #1011 from deepseek-harness/worktree/temporarily-disable-serial-runners-20260730
ci: temporarily disable hosted serial reference runners
2026-07-30 21:47:53 +08:00
Turtle
37116d0b0a test(scripts): gate source-plane resolution of configured plugins
verify-cordis-config now requires every configured specifier of a local
workspace package to resolve through the tsconfig.base.json paths facade
to a .ts/.tsx source file. A failed resolution or a .d.ts hit (the exports
fallback into built lib/types) fails the gate, so a missing paths mapping
is a red gate instead of a clean-tree-only startup crash masked by built
trees in CI. Removing the dsh-tui/prompt mapping reproduces the failure.

Agent Note records the decision and alternatives.
2026-07-30 21:47:13 +08:00
Wenlu Wang
a1c8fa06a0 Merge branch 'master' into codex/queue-collapse 2026-07-30 21:46:37 +08:00
Yichen Jiang
a5e0c5e7e7 Merge latest master into worktree-llm-web-config
# Conflicts:
#	packages/host/apiproxy/README.i18n.yaml
2026-07-30 21:45:55 +08:00
Tianyi Cui
85d721458a ci: keep self-hosted serial standby enabled 2026-07-30 21:45:43 +08:00
Tianyi Cui
26f0dc1aef Merge branch 'master' into worktree/ci-independent-consumer-build 2026-07-30 21:44:31 +08:00
creatixchu
ddc4adb7a3 Merge remote-tracking branch 'origin/master' into feat/dir-selector-adaptive-default 2026-07-30 21:42:30 +08:00
Tianyi Cui
ec9ff784fa Merge remote-tracking branch 'origin/master' into feature/directory-listing-tool 2026-07-30 21:41:25 +08:00
Tianyi Cui
82e1ee4a6b Merge remote-tracking branch 'origin/master' into worktree/temporarily-disable-serial-runners-20260730 2026-07-30 21:41:09 +08:00
Yichen Jiang
5b29d04c21 test(web): re-record the goldens for master's context-injection disclosure
Merging master swapped the plain "▸ 上下文注入" button for the shared
DisclosureRow, which every conversation golden carrying an injected-context
row renders. The only change in all twelve files is that row.
2026-07-30 21:40:34 +08:00
Yichen Jiang
3e354c2c6a Merge pull request #870 from deepseek-harness/worktree-config-settings-seam
feat(settings): user-settings seam (ctx.settings) with file-backed provider
2026-07-30 21:40:27 +08:00
Tianyi Cui
7dff9c3ad0 ci: temporarily disable serial reference runners 2026-07-30 21:38:04 +08:00
Tianyi Cui
99db7e8fc3 Merge remote-tracking branch 'origin/master' into feature/directory-listing-tool 2026-07-30 21:35:08 +08:00
Yichen Jiang
dceff19bd3 fix(jsonrpc-agent): claim the renamed route in the persistent-tools replay catalog
The rename to deepseek-official reached cordis.snapshot.yml but not its
persistent-tools sibling, so the replay catalog no longer owned the route the
agent asks for. The SDK server then mounted the real adapter, which failed the
turn on a missing key. Re-records the six transcripts and the two diagnostics
cards that still carried the old route name.
2026-07-30 21:34:46 +08:00
Turtle
30cda487ea fix(cli): map @deepseek-ai/dsh-tui/prompt to source in tsconfig paths
The tui.cordis.yml entry for @deepseek-ai/dsh-tui/prompt had no tsconfig
paths mapping: the @deepseek-ai/dsh-* wildcard substitutes tui/prompt whole
into nonexistent candidates, so the tsx source launch fell back to package
exports and required built lib/prompt.js. pnpm dsh failed at startup on
every clean tree (fresh worktrees) with 'plugin(s) failed to load'.
2026-07-30 21:34:15 +08:00
07akioni
eef07b51a7 Merge branch 'master' into fix/turn-actions 2026-07-30 21:29:29 +08:00
Chinesezjc
00c264fa50 Merge remote-tracking branch 'origin/master' into feat/web-presenter 2026-07-30 21:29:05 +08:00
Chinesezjc
fb0063de48 fix(tool-web): unexport renderFetchOutput so its memo stays behind the frozen path
renderFetchOutput has no external consumer: only formatFetchOutput and
fetchMetaFromValue call it, both through the registry, which deep-freezes
the result value. Exporting it let a hypothetical caller mutate a cached
input or the returned RenderedFetch and desync the card's truncated flag
from the model text. Drop it from the barrel and document that the memo
needs no defensive copy because every caller is internal and read-only.
2026-07-30 21:28:54 +08:00
imccyu
3b370549a1 feat(client): increment forked session titles 2026-07-30 21:28:17 +08:00
imccyu
213de9a737 feat(ui-conversation): wire assistant session forks 2026-07-30 21:28:17 +08:00