Commit Graph
27285 Commits
Author SHA1 Message Date
LegGasai 08b9e73017 fix(forge): rebuild long old sides without argument spread and keep lens focus
Rebuilding the old side spread each run of unchanged lines into push,
which throws a RangeError once a file has around 200,000 unchanged
lines, so such a file failed to draw as soon as it was read ahead. Lines
are now appended one at a time.

A lens segment gained or lost its Tooltip wrapper when its count showed
or hid, which remounted the focused button and dropped the focus. Every
segment now keeps a Tooltip that is disabled without hover text.

gapOf has no caller since gaps answer which lines they still hide, so it
and its test are removed.
2026-11-15 12:24:48 +08:00
LegGasai 0f421817af test(web): measure the toolbar cell around the fitted review lens
The lens radio group now sits in the element that measures its forms,
so the geometry check reads the toolbar cell two levels up.
2026-11-13 20:06:28 +08:00
LegGasai 760787baed feat(forge): draw viewed files subdued in the changes file tree
The file tree now shows which files are left to review: a file marked
viewed at its current change, and a directory whose every file is
viewed, draw subdued, and assistive technology reads the state as the
row's description. A file changed since it was viewed draws as
unviewed.
2026-11-13 19:52:13 +08:00
LegGasai 16c7499d51 fix(forge): fit the review layer lens to the file tree width
The lens above the file tree sizes each segment to its label and drops
the counts into each segment's hover text when they do not fit, so no
layer name is cut short. The tree keeps the width the lens needs for
the names alone as its least width, measured in the current language.
2026-11-13 17:50:58 +08:00
LegGasai de594f702d fix(forge): highlight rows after collapsed lines with the lines before them
Rows drawn after collapsed unchanged lines were highlighted as if the
file started there, so a code block, comment, or string that opened in
the collapsed lines colored them wrongly. Once a file's whole new side
is known, each run of rows is now highlighted again in idle time after
up to 120 lines of the file before it, the old side rebuilt from the
new side and the hunks. The first draw still highlights in the same
render, and the new colors wait while the reader selects text in the
file. Local files are read for this once per comparison when they
draw; change request files only once an expansion has read them.
2026-11-13 17:50:18 +08:00
LegGasai 7ef8bed5f5 fix(forge): expand long unchanged-line gaps 20 lines at a time
A gap over 20 lines now offers a step down from the hunk above it and a
step up from the hunk below it, as GitHub's diff does, instead of drawing
every hidden line on one click. Gaps of at most 20 lines still expand at
once, and the first click on the unknown lines after the last hunk reads
the file and shows their first 20.
2026-11-13 17:50:18 +08:00
Ziya f465541b32 Merge pull request #8381 from deepseek-harness/feat/schedule-empty-recommendations
feat(ui-schedule): recommend tasks under the empty automation page
2026-11-13 01:47:50 -08:00
Shigma ce7bc84b10 Merge pull request #8436 from deepseek-harness/chore/cordis-root-gate
feat(infra): reject new Cordis root reads
2026-11-13 17:44:59 +08:00
Shigma c9c0ad58cc docs(defensive-patterns): state the Cordis root context rule 2026-11-13 17:14:36 +08:00
ZiyaZhang f941f1d1ea fix(ui-schedule): thin recommendation glyphs and show full text
The recommendation glyphs draw 1.25px strokes, the shared icons' Regular
weight at 20px, and the hover plus uses the Regular weight as well.
Titles and descriptions wrap in full instead of clipping: descriptions
lost text at two lines in most languages at phone and two-column widths,
and longer titles lost their ends just above the 600px column breakpoint.

The run-time test matches times on digit boundaries, and an end-to-end
case checks English and German titles and descriptions at 390px, 680px,
and 1440px.
2026-11-13 01:10:52 -08:00
CreatixChu d5974a9eda Merge pull request #8296 from deepseek-harness/feat/files-upload-retries
DeepSeek 图片上传支持 3 并发和 429 重试
2026-11-13 16:49:40 +08:00
fz e198ef07b3 Merge pull request #8400 from deepseek-harness/feat/sdk-resume-permissions
feat(sdk): allow permission overrides when resuming sessions
2026-11-13 16:40:12 +08:00
Turtle 62332f963a Merge pull request #8435 from deepseek-harness/turtle/add-stale-pr-action-ca3ec638c590
feat(ci): remind authors of stale pull requests
2026-11-13 16:35:49 +08:00
Turtle 5637684234 Merge pull request #7821 from deepseek-harness/turtle/settings-plugin-entry-250a00ad5c10
feat(client): show plugin settings on the Plugins page
2026-11-13 16:26:48 +08:00
CreatixChu 836c207b69 Merge pull request #8314 from deepseek-harness/feat/cua-platform-page
feat(cua): 在启用后的设置面板显示使用建议
2026-11-13 16:26:18 +08:00
Shigma 531d65f938 fix(infra): resolve Cordis root bindings through scopes and symbols 2026-11-13 16:23:25 +08:00
creatixchu fe6e77bfe9 Merge remote-tracking branch 'origin/master' into feat/cua-platform-page
# Conflicts:
#	snapshots/web/creation-recommendations/session.v4.jsonl
2026-11-13 16:14:34 +08:00
creatixchu a6fad15e88 Merge commit 'f18332dace6' into feat/files-upload-retries 2026-11-13 16:13:41 +08:00
acehinnnqru 2405642774 Merge pull request #8159 from deepseek-harness/feat/git-plugin-index-sources
feat(plugin-market): support Git index sources
2026-11-13 16:13:03 +08:00
creatixchu ffbb70c23f Merge remote-tracking branch 'origin/master' into feat/files-upload-retries 2026-11-13 16:12:54 +08:00
imccyu 1e062c2660 Merge pull request #8438 from deepseek-harness/revert-8268-fix/chat-image-current-working-directory
Revert "fix(ui-chat): resolve relative Markdown images and links from…
2026-11-13 16:12:30 +08:00
creatixchu 9d33fae5d4 Merge commit 'c9cd70aba9c' into feat/files-upload-retries 2026-11-13 16:12:17 +08:00
imccyu 179849fb99 Revert "fix(ui-chat): resolve relative Markdown images and links from the directory current when each message was written" 2026-11-13 16:10:41 +08:00
TurtleandLegGasai 81aef2ec2d feat(client): show plugin settings on the Plugins page
Plugin settings pages registered through `settings.section` stay in the
Settings dialog. The Plugins page also shows such a page on the bundle row,
or bundle, whose package registered it when that row or bundle has no
configuration of its own. Both surfaces render the page through the new
`settings.section.view` Factory, which declares `settings.section`; the slot
runtime records the registering package on each entry.

Settings replaces the Built-in plugins section with a Plugins entry that
opens the Plugins page. The two packages behind that section are removed,
and the page-local client sync notice moves to the Plugins page.

Co-authored-by: LegGasai <[email protected]>
2026-11-13 16:06:36 +08:00
std4453 3f664a5b5e Merge pull request #8268 from deepseek-harness/fix/chat-image-current-working-directory
fix(ui-chat): resolve relative Markdown images and links from the directory current when each message was written
2026-11-13 16:04:10 +08:00
Turtle a257729b52 fix(ci): read every pull request timeline for stale reminders 2026-11-13 16:03:58 +08:00
Shigma a29dafde97 feat(infra): reject new Cordis root reads 2026-11-13 15:57:55 +08:00
LegGasai cb44a3c2ee feat(forge): read, review, and bind GitLab merge requests (#8317)
* feat(forge): let providers declare their hosts, names, sign-in, and review decisions

Prepare the forge contract for a second provider:

- ForgeProvider lists the hosts it serves and names itself (label,
  changeRequestNoun); registering a provider that lists a host another
  registered provider lists throws, so each URL has at most one provider.
  ctx.forge.describe(forge) returns the family's ForgeDescription.
- ForgeReadiness carries the sign-in command, which the panel's sign-in
  banner shows instead of building `gh auth login` for the github family.
- ForgeReviewData lists the review decisions the host lets the reader
  record; the review dialog offers only those instead of hardcoding the
  GitHub rule that a pull request's author may only comment.
- ForgeReviewThread.original may name a later commit the host carried the
  thread to while its lines stayed unchanged.
- The changes view names the code host and its word for a change request
  from the entry's ForgeDescription instead of hardcoding GitHub and PR.

The GitHub provider declares its configured hosts, GitHub, pull requests,
`gh auth login --hostname <host>`, and reads viewerDidAuthor for the
review decisions. Upgrade guide: forge-provider-hosts.

* feat(forge-gitlab): read GitLab merge requests through the GitLab CLI

Add the experimental forge-gitlab provider. It serves the configured
GitLab hosts through glab: status batches over GraphQL, head-pinned
patches from merge request diff versions, commit listings, merge bases,
pipeline jobs, closing issues, and review threads mapped from REST
discussions, including outdated threads' hunks.

The forge bundle composes the provider, disabled by default.

* feat(forge-gitlab): write GitLab reviews, retry pipelines, request reviews, and rebase

The GitLab provider now writes through glab as well as reading:
comments start discussions at positions derived from the head's diff
version, pending replies and comments are draft notes that a review
publishes with its summary and review state, and approving checks the
head through GitLab's sha parameter. Review reads carry the signed-in
user's rights from GraphQL, their draft notes as the pending review,
and the decisions GitLab lets them record.

Snapshots name the head pipeline as every job's rerun, offer rebase as
the branch update, and follow GitLab's permissions for reruns and
review requests. updateBranch's contract now states how a provider
whose host takes no expected head checks it.

* feat(forge): let forge providers register the commands that bind change requests

forge-session no longer recognizes gh commands by itself. A provider now
registers a declarative ForgeCommandRule through
ctx.forgeSession.registerCommands: its executable, creation and reference
subcommands, change request page path, JSON URL members, declared
options, and a pure select that maps one parsed reference command to a
URL or a read-only lookup. forge-github registers gh and forge-gitlab
registers glab, which adds glab mr create, view, update, and checkout,
including numbers with -R: a full project URL binds directly, and other
repository forms resolve through glab mr view in the call's shell.

forge-session keeps the shared parts: the literal shell tokenizer,
option parsing, output reading, lookups, and the projection. The
forgeChangeRequests state version derives from the recognized rules, so
a changed rule set refolds every Session, including commands that ran
before the provider loaded. Ending a registration keeps its rule
recognized until restart, so unloading providers at shutdown does not
rewrite every checkpoint.

* refactor(forge-gitlab): publish the GitLab provider as @deepseek-ai/dsh-forge-gitlab

New experimental packages omit the experimental prefix so that promotion
keeps their npm name. Register the directory in
EXPERIMENTAL_PACKAGE_NAME_EXCEPTIONS instead of growing the legacy
prefixed list, and rename every dependency, configuration row, path
mapping, and document that names the package.

* fix(forge-gitlab): keep review writes, comment positions, and reads within GitLab's facts and the limits

- After GitLab refuses a publication, read the drafts again: delete
  them only when all remain, since GitLab can publish them before it
  refuses the summary, and report the outcome as unknown otherwise.
  A rollback that leaves drafts reports how many may remain.
- Place comments on files GitLab collapsed through the diff compared
  from their texts, and let a file's new path name it over another
  file's old path after chained renames.
- Keep the final newline of raw file reads.
- Apply maxOutputBytes to the complete review result, and report a
  read whose rights stop early or skip a discussion's later notes as
  truncated.
- Serve a version over maxCachedVersionBytes without keeping it.
- Resolve uploaded avatars GitLab names by their path on the host.
- Schedule bounded reads through p-limit.

* fix(forge-session): run lookups only for live command rules and keep the projection registered

- Reference lookups use the rules of live registrations, so a disposed
  provider's rule still folds but starts no gh or glab process.
- A failed re-registration registers the projection again with the
  earlier rules, so clients keep its view; an error is logged only when
  that fails too.
- Document the startup re-registration, test that the checkpointed
  state version survives a real Loader start, shutdown, and restart,
  and record that starting without a provider removes the bindings only
  its commands made.
- Describe the changes view's pending review and single comment
  without naming GitHub, which keeps its own rule in forge-github, and
  render registerCommands as code in the generated service reference.

* fix(forge-bundle): name GitLab merge requests in the bundle description

The bundle now follows GitLab merge requests as well as GitHub pull
requests, so the description's first sentence in every locale names
both kinds of change request.

* feat(forge): bind the change requests that gh api and glab api requests name

Models often read a merge request through `glab api` or a pull request
through `gh api` instead of `glab mr view` or `gh pr view`, which left
the change request unbound. A command rule now declares raw API request
subcommands beside its reference subcommands, each group with its own
options, since `-f` is a value of `gh api` and a flag of
`gh pr checkout`.

An API request binds, as referenced, only the change request its REST
path names, such as `projects/group%2Fapp/merge_requests/7/changes` or
`repos/octo/demo/pulls/7/files`; its output is not read, since one
request can list many change requests. A path whose host the command
names binds directly, and one without a host, or with the current
repository's placeholders, resolves through the CLI's view command in
the call's shell. The gh and glab rules move to version 2.

* docs(forge): add forge-gitlab and the forge-session peers to the module graph

Regenerate docs/module-graph for the renamed GitLab provider and the
optional forge-session peer of both providers.

* test(web): refresh the forge bundle description in the recommended plugin catalog

The creation recommendation recording carries every recommended
plugin's description; refresh it for the forge bundle description that
now names GitLab merge requests and the glab sign-in.

* chore(forge-gitlab): carry the 0.2.2-rc.3 release version and move upgrade guides to v0.2.2-rc.3
2026-11-13 07:56:57 +00:00
creatixchu 17280dfe22 Sync master and move the Files upload upgrade guide to v0.2.2-rc.3 2026-11-13 15:54:14 +08:00
Turtle 94f22e7cde feat(ci): remind authors of stale pull requests
Refs #8432
2026-11-13 15:53:54 +08:00
fz 68805d989f fix(sdk): reject unknown session resume options 2026-11-13 15:41:57 +08:00
zhc d2b8edfa8e Merge remote-tracking branch 'origin/master' into fix/chat-image-current-working-directory 2026-11-13 15:39:57 +08:00
imccyu 39163dd30f Merge pull request #8422 from deepseek-harness/worktree-sync-release-dsh-0.2.2-rc.3-to-master
release(dsh): sync 0.2.2-rc.3 back to master
2026-11-13 15:37:50 +08:00
Turtle 3b0e25bc4b Merge pull request #8337 from deepseek-harness/turtle/add-fork-divider-icon-00480ee14df2
feat(web): lead the inherited-history divider with a fork icon
2026-11-13 15:30:15 +08:00
imccyu 2a1c123912 Merge branch 'master' into worktree-sync-release-dsh-0.2.2-rc.3-to-master 2026-11-13 15:26:46 +08:00
Shigma 94d9995755 Merge pull request #7940 from deepseek-harness/refactor/cordis-include-yaml
refactor(cordis): route Include-dialect YAML through Include exports
2026-11-13 15:26:20 +08:00
imccyu a7beca9f00 Merge branch 'master' into worktree-sync-release-dsh-0.2.2-rc.3-to-master 2026-11-13 15:23:05 +08:00
Shigma 05326a723f Merge pull request #7917 from deepseek-harness/chore/cordis-core-rc12
chore(cordis): upgrade core to 4.0.0-rc.12
2026-11-13 15:21:55 +08:00
imccyu ff6db9df9f Merge branch 'release/dsh-0.2.2' into master 2026-11-13 15:12:47 +08:00
creatixchu acb80b2f4d Merge remote-tracking branch 'origin/master' into feat/cua-platform-page
# Conflicts:
#	snapshots/web/creation-recommendations/session.v4.jsonl
2026-11-13 15:11:24 +08:00
creatixchu ce3e0299a0 Merge commit 'baaafb30c33' into feat/files-upload-retries 2026-11-13 15:11:16 +08:00
creatixchu b416ccffa3 Verify a throttled image stops retrying when its next upload times out 2026-11-13 15:09:16 +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
creatixchu 2a60df0944 Merge master and apply upload timeout backoff once per model request 2026-11-13 15:07:21 +08:00
Turtleandimccyu 3528d66356 docs(web): state the divider glyph contract without rationale prose
Trim the divider caption comment, test comment, and README sentence to
current behavior, record the new glyph rule copy in the bash-sample
inventory, and pin the glyph's font-delta edge in the font-axis spec.

Co-authored-by: imccyu <[email protected]>
2026-11-13 15:06:16 +08:00
Turtleandimccyu ff9b864641 feat(web): mark the inherited-history divider with the fork glyph
The divider that separates a forked Session's inherited history from its own
messages was a bare hairline and caption, so it read as an unlabelled rule
rather than a boundary with a meaning.

Lead the caption with the shared fork glyph, the same artwork the branch
action uses, and keep both inside one caption group so they share the
tertiary ink. The glyph takes the 14px flow-row edge and follows the
content font delta like the other chat row leading icons.

Co-authored-by: imccyu <[email protected]>
2026-11-13 15:06:15 +08:00
creatixchu 43bea0aad3 fix(cua): clear pending provider lookup when a refresh is superseded 2026-11-13 15:03:32 +08:00
winewill 2596312946 Merge pull request #8377 from deepseek-harness/fix/rollout-website-approval
fix(desktop): 官网上传审批后自动刷新缓存
2026-11-13 15:01:46 +08:00
imccyu 42091205a5 docs(module-graph): regenerate after the chat import brand change 2026-11-13 14:59:32 +08:00
creatixchu 35db77508c test(cua): exercise the real inventory service on macOS 2026-11-13 14:58:57 +08:00