Commit Graph
19430 Commits
Author SHA1 Message Date
LegGasai 641c669fca Merge pull request #8521 from deepseek-harness/refactor/deepseek-auth
refactor(deepseek-auth): authenticate DeepSeek consumers through ctx.deepseekAuth
2026-11-17 09:10:13 +00:00
LegGasai f5c3f3eb90 Merge remote-tracking branch 'origin/master' into refactor/deepseek-auth
# Conflicts:
#	docs/capability-seams.i18n.yaml
2026-11-17 16:52:18 +08:00
Dudu-0223 124772848f fix(creation): load the shipped dsh-doc development guide 2026-11-17 16:45:59 +08:00
Dudu-0223 5935214e93 Merge pull request #8531 from deepseek-harness/feat/action-cards-without-tool
feat(action-cards): offer cards from action-card blocks in answers instead of a tool
2026-11-17 16:44:19 +08:00
std4453 5657d89fc2 Merge pull request #8623 from deepseek-harness/turtle/fix-drag-autoscroll-3933245075fa
fix(ui-sidebar): scroll the Session list while dragging near its edges
2026-11-17 16:34:40 +08:00
LegGasai 1b952aa029 Merge remote-tracking branch 'origin/master' into refactor/deepseek-auth 2026-11-17 16:31:25 +08:00
Dudu-0223 e3c89ded3b Merge latest master and regenerate event tables 2026-11-17 16:30:11 +08:00
Dudu-0223 10a0b26af2 Merge pull request #8604 from deepseek-harness/fix/subagent-model-selection-live-setting
feat(subagent): read model-selection setting at each call
2026-11-17 16:26:53 +08:00
Dudu-0223 5e8d723c43 Merge master into feat/action-cards-without-tool 2026-11-17 16:18:44 +08:00
LegGasai 62a2f77b2b Merge remote-tracking branch 'origin/master' into refactor/deepseek-auth
# Conflicts:
#	docs/capability-seams.i18n.yaml
2026-11-17 16:15:48 +08:00
Dudu-0223 7b1553c31f fix(session): retry contended SQLite WAL initialization 2026-11-17 16:13:30 +08:00
imccyu bd1d6dcd0c Merge pull request #8504 from deepseek-harness/feat/client-config-live-update
feat(client): sync volatile plugin config to the browser
2026-11-17 16:08:14 +08:00
LegGasai 4c74abdbad Merge pull request #6372 from deepseek-harness/fix/web-unresolved-at-mention
fix(web): render @ mentions as chips only for existing paths
2026-11-17 16:02:24 +08:00
Dudu-0223 ca58ae0f27 Merge remote-tracking branch 'origin/master' into fix/subagent-model-selection-live-setting 2026-11-17 16:01:34 +08:00
Dudu-0223 714e2f2fef fix(subagent): isolate model selection setting failures 2026-11-17 15:51:10 +08:00
Kexin Liu 9c8d8c3932 Merge pull request #8391 from deepseek-harness/feat/session-persistence-sqlite
feat(session): 可选启用 SQLite 并在打开时导入 JSONL
2026-11-17 07:36:29 +00:00
Chinesezjc 80edc8c529 Merge pull request #8599 from deepseek-harness/fix/ci-e7a4255-office-pdf-export-invariants
test(office): check the PDF export deliverable against the converter output
2026-11-17 15:33:02 +08:00
Turtle aed2e33042 Merge pull request #8620 from deepseek-harness/turtle/plugin-skill-engines-7b40b97ec8b7
feat(tool-cordis): expose the running DSH version to plugin authors
2026-11-17 15:19:45 +08:00
LegGasai 6f0445e307 Merge pull request #8625 from deepseek-harness/worktree/session-panel-forge-cards-958b38
feat(forge): compact change request cards, and worktrees created only for the first message
2026-11-17 15:15:22 +08:00
liukx0205 fa69e91481 Merge remote-tracking branch 'origin/master' into feat/session-persistence-sqlite 2026-11-17 15:12:22 +08:00
be56084b84 docs(ui-sidebar): describe the drag listeners bindViewportRef adds
Co-authored-by: std4453 <[email protected]>
Co-authored-by: 07akioni <[email protected]>
2026-11-17 15:08:20 +08:00
Turtle 58a51e98c1 Merge pull request #8616 from deepseek-harness/turtle/check-restart-required-58bf49938477
fix(plugin-manager): make the application result authoritative for restarts
2026-11-17 15:04:12 +08:00
Turtle 164f8b8f21 test(tool-cordis): type the app-boot manifest read 2026-11-17 15:00:25 +08:00
LegGasai e20f9b9e1a fix(forge): create a requested worktree for the first message only
The inbox listener of the forge panel held a turn for every inserted
message. A notice queued for the next step, such as the approval policy
notice that follows a switch to or from full access, opens no turn, so
the hold only created the requested worktree before any message was
sent. The same listener started the removed-worktree check for such
notices.

Hold only for a message in the next-turn queue. A steered message that
wakes an idle Agent keeps the creation at the first step proposal.
2026-11-17 14:56:33 +08:00
winewill d76f5cada3 Merge pull request #8548 from deepseek-harness/turtle/fix-credit-toast-position-aaf5e1935b33
fix(web): give account notifications their own sidebar row
2026-11-17 14:52:11 +08:00
LegGasai 3834d302df fix(sdk-server): remove the fallback authentication when its route fails
initialize() mounts DeepSeek request authentication before the fallback
official route in a composition that has none. When the route did not
mount, for example for a DEEPSEEK_BASE_URL that is no HTTP(S) root, the
authentication service stayed in the composition and shutdown() skipped
it, because shutdown releases both only after the route mounted. A route
whose disposal threw skipped the service the same way.

A failed route mount now removes the service that call mounted, and
shutdown releases the service whether or not the route's disposal
succeeds.
2026-11-17 14:51:36 +08:00
757590d663 fix(ui-sidebar): scroll the Session list while dragging near its edges
Refs #8619

Co-authored-by: std4453 <[email protected]>
Co-authored-by: 07akioni <[email protected]>
2026-11-17 14:51:18 +08:00
Turtle 91307e6630 feat(tool-cordis): expose the running DSH version to plugin authors
Add a Host Runtime.getVersion inspect provider and a dsh-doc reference
on reading that version and writing engines.dsh.

Refs #8618
2026-11-17 14:49:44 +08:00
LegGasai abc9575eea feat(forge): draw change requests as compact cards in the Session panel
Each change request is one 36px line on the panel's row columns in a
filled block: state glyph, title, number, and checks outcome, with the
actions menu on hover and the expansion toggle in the end column. A
press on the line opens the change request's changes in the right
sidebar; the modifier key, the middle button, and a change request no
provider serves or has read open the host's page. The hover card names
the full title, the branches, and the status in words.

The list shows three cards and then the panel's fold control. The card
fill is the platform fill, which stands apart from the panel's surface
in the dark theme, where the card fill is nearly that surface's color.
Check outcomes share one ring, so a failed check is a ringed cross.
2026-11-17 14:48:15 +08:00
Turtle 54044053de fix(plugin-manager): make the change result's application status authoritative for restarts
The plugin_manager description now says that an applied change is in
effect and needs no restart, so models stop inferring restart needs
from other evidence.

Refs #8614
2026-11-17 14:32:34 +08:00
LegGasai 6db6ff9be0 fix(ui-reference): retry a rejected mention stat and record presence trade-offs
A stat that rejects left its Session and path marked as outstanding, so the
mention stayed original text until reload. The flag now clears on rejection
and the rejection stays unhandled, so the Remote assembly fault is reported.

The README states why presence does not read the `file` resource through
`useResource`, that a symbolic link counts as present, and that a picked
candidate is confirmed only for the same Session and page load. The module
comment states that outstanding stats are unbounded. `openReference` and
`presenceFor` reuse `mentionPath` and `MentionSessionId`, and the Web scenario
drops a fixture write the scaffold already performs on refresh.
2026-11-17 14:15:01 +08:00
Dudu-0223 0fdcff09b1 Merge pull request #8424 from deepseek-harness/fix/subagent-human-message
fix(subagent): 区分 agent 任务与真人消息
2026-11-17 14:06:25 +08:00
dsh-ci-bot d678678ef6 test(office): inline the conversion size check and drop the routing-text case
Review suggested keeping the byte-count comparison at the call site
instead of exporting a one-line filter with its own spec case, and
pointed out that the session snapshots already replay the routing body
so the added keyless case duplicated that guard. Both hold: inline the
comparison in the export case with the rationale in its comment, delete
deliveredConversions and its spec case, and drop the skill-office case.
2026-11-17 14:02:59 +08:00
Dudu-0223 327d5de8d6 Merge pull request #8121 from deepseek-harness/fix/cua-output-failures
fix(ptc): 输出超限后截断并继续执行
2026-11-17 13:59:03 +08:00
Dudu-0223 98dce25aad fix(ptc): guard output suppression during teardown 2026-11-17 13:46:07 +08:00
Dudu-0223 b0b5ad195f fix(subagent): restore misused-promises suppression and module graph 2026-11-17 13:07:43 +08:00
LegGasai 014d02b96c Merge remote-tracking branch 'origin/master' into fix/web-unresolved-at-mention
# Conflicts:
#	packages/client/ui-chat/tests/user-content.client.spec.tsx
#	packages/client/ui-conversation/tests/user-text-component-fixture.client.tsx
#	packages/client/ui-reference/src/client/FileReference.tsx
#	packages/client/ui-reference/src/client/index.ts
#	packages/client/ui-reference/tests/file-reference.client.spec.tsx
2026-11-17 12:50:52 +08:00
Dudu-0223 7622766814 feat(subagent): read model-selection setting at each call
Delegation and list_subagent_models read the Host subagent model-selection setting on every call instead of a per-Session policy event, so settings edits apply immediately in running, restored, and child Sessions. The released event type stays declared but is no longer written or read.
2026-11-17 12:50:15 +08:00
dsh-ci-bot d9132ad861 test(office): judge the deliverable by the reported byte count
Review found that matching the recorded command text against the reported
temporary path only proved the command mentioned that path, while the
byte count carried the discrimination, and that a copy written with a
variable, a changed directory, or a relative name would fail the check
even though the deliverable was the same file. Match the reported size
only and keep the commands in the failure diagnostic.

Review also found that the Render-the-saved-deliverable message check
cannot fail: no repository text injects that instruction. Drop the new
message-only helper, restore the shared render-context assertion, and
leave the no-render rule to the routing guard in skill-office.spec.ts.
2026-11-17 12:24:49 +08:00
Chinesezjc 964850c001 Merge pull request #8459 from deepseek-harness/fix/ci-9ed2a7b-timeline-locale
test(timeline): pin the locale of language-dependent assertions
2026-11-17 12:17:28 +08:00
Huo Yaoyuan d065d01fec Windows CUA workaround for debugging VM timeouts and failures (#8464)
* Increase timeout

* Wait for another connectTimeout when idle

* Report failure to upstream

* Remove clipboard monitor

* Write exception log for cua helper failure

* Update comment and readme

* Truncate failure log

* Handle timeout

* Add coverage ignore
2026-11-17 12:02:20 +08:00
dsh-ci-bot 73040e0c53 test(office): name the reported conversion output in the spec header 2026-11-17 12:01:18 +08:00
dsh-ci-bot f87111e279 test(office): return the recorded events as a readonly array 2026-11-17 11:47:34 +08:00
dsh-ci-bot 7a6bcf73cd test(office): assert the PDF export deliverable's conversion provenance
The export case asserted that the model loads no format skill, calls no
office_render, and runs no PDF parser command. Those assertions measure
model-selected extra steps on a sampled lane: run 44008246438 failed three
attempts on three different assertions while office_convert produced the
PDF in each one.

Judge the artifact instead: office_convert is called with format pdf, the
shell copies the temporary file the tool reported, the delivered bytes
match its reported size, the header is %PDF-, and the source is unchanged.
Extra inspection steps stay allowed.

Pin the routing rules the removed assertions proxied (operations need no
format skill; a PDF export is delivered without rendering) in a keyless
test, and cover the provenance helpers with their own negative examples.
2026-11-17 11:45:03 +08:00
LegGasai 467afc4174 Merge remote-tracking branch 'origin/master' into refactor/deepseek-auth 2026-11-17 11:36:39 +08:00
LegGasai 58d8ccc11f Merge pull request #8256 from deepseek-harness/refactor/llm-route-credential
refactor(llm): publish DeepSeek route credentials through ctx.llm
2026-11-17 11:09:59 +08:00
imccyu 20b83df745 Merge pull request #8445 from deepseek-harness/chore/cordis-loader-rc9
chore(cordis): sync loader 1.0.0-rc.9 and include 1.2.0
2026-11-17 10:51:08 +08:00
LegGasai 0c8078e196 feat(forge): name worktree branches, start them from remote branches, and show changes being read (#8536)
* feat(forge): name worktree branches, start them from remote branches, and show changes being read

The New Session worktree option's base menu now searches local branches and
each remote's branches, pins the current branch and every remote's default
branch, and names each remote group by its repository. Its last row opens a
dialog that names the new branch, starting from `worktreePrefix` and checking
Git's branch-name rules; the Host refuses an invalid or taken name. A request
records the full ref of its base and the optional name; every attempt uses the
name.

A remote-tracking base is fetched first: the worktree service gains a
`fetch` request field and a `fetch` phase, fetching only that branch without
tags. A failed fetch leaves the message waiting with Retry, Use the last
fetched version, and Continue without a worktree; a taken name offers Rename.

While the changes view reads changes it has not shown yet, it says
"Reading changes" above file card placeholders, and the files menu names no
count.

* fix(worktree): forward only the declared create_worktree arguments

The create_worktree parameter object is open, and the tool passed it to the
worktree runtime unchanged. Now that a runtime request can ask to fetch, an
undeclared `fetch: true` from the model would have fetched, or refused a local
`from`. The tool now forwards only `name` and `from`, so it never fetches.

* docs(forge): say that only generated worktree branch names come from the Session id

* fix(forge): keep the collapsed change request status on one line

In the Session panel the collapsed card's number line kept every part at
full width inside a clipping row, so a narrow panel cut the most urgent
flag off without an ellipsis, such as "有冲突" after "3 项检查失败".

The number and status now form one MarqueeText line as wide as the row.
While the line with failed checks does not fit, they take the shorter
wording without their count; a line that still does not fit ends in an
ellipsis and crawls into view with the title while the pointer rests on
the card's head. The line measures again when its width or the fonts
change. Expanded cards keep their branch names as before.

* fix(forge): hide remote credentials and read the branch a tag shares its name with

The base menu named an unrecognized remote's group by its fetch URL as
`git remote -v` prints it, so a token in the URL, such as
`https://oauth2:[email protected]/...`, reached the browser and showed
in the menu. The group now shows the URL without its user name and password.

Inspection read the checked-out branch with `symbolic-ref --short HEAD`,
which prints `heads/main` while a tag is also named `main`; the New Session
option then requested `refs/heads/heads/main` and every worktree attempt
failed. Inspection now reads the full ref and takes the name under
`refs/heads/`, so the option, the pinned current branch, and the checkout
row name `main`. HEAD that names a ref outside `refs/heads/` reads as no
branch.

* test(worktree): set up nested remotes and line endings the CI runners' Git accepts

Git 2.55 on the CI runners refuses `git remote add team` next to an
existing `team/fork` remote; the check runs only in `git remote add`, so
the longest-remote case now writes the second remote with `git config`, as
configuration written earlier or by hand holds it. The test clone also
turns off `core.autocrlf`, as `repository` does, because the Windows
runner's global setting checked the fetched file out with CRLF.
2026-11-16 16:13:00 +00:00
Shigma 0fcc29cee0 fix(app-boot): apply the requested platform's path rules to include filenames 2026-11-16 23:52:08 +08:00
LegGasai 219f27c927 Merge branch 'refactor/llm-route-credential' into refactor/deepseek-auth
# Conflicts:
#	docs/capability-seams.i18n.yaml
#	docs/config-catalog.md
#	docs/config-catalog.zh.md
#	docs/event-producer-consumer.md
#	docs/event-producer-consumer.zh.md
#	packages/experimental/translator/package.json
#	packages/experimental/translator/tests/paid-fixture.ts
#	packages/llm/llm/README.i18n.yaml
#	packages/web/web-deepseek-api/src/index.ts
2026-11-16 21:47:49 +08:00