Commit Graph

6030 Commits

Author SHA1 Message Date
Chinesezjc
c3e9690b2e fix(ui-theme): gate the standard scrollbar properties behind the missing WebKit pseudo-element
A non-`auto` `scrollbar-width` or `scrollbar-color` makes Chromium and Safari
discard every `::-webkit-scrollbar*` rule for that element, including
`::-webkit-scrollbar-thumb:hover`. Declaring both unconditionally left the
hover tokens rendering nowhere: the engines implementing the hover
pseudo-element are exactly the ones the standard properties silence, and
Firefox has no hover pseudo-element to fall back on. Both hover tokens and all
four elevated surfaces' hover rebinds were therefore dead code.

Measured in chromium on probe elements with `scrollbar-gutter: stable`: an 8px
`::-webkit-scrollbar` alone reserved a 30px band, and adding
`scrollbar-width: thin` dropped it to the 10px `thin` reserves.

The standard properties now sit inside `@supports not
selector(::-webkit-scrollbar)`, so Firefox takes them and WebKit-based engines
take the pseudo-elements. The WebKit rules stay ungated: an engine without
those pseudo-elements drops them as unknown selectors, and gating them would
hide them from an engine that implements them without `selector()` — the
pre-16.4 Safari the ungated form serves correctly.

Three unit assertions pin the split by source offset, which the existing
at-rule-flattening parser cannot see. The web e2e now reads the path chromium
actually takes: the `auto` standard properties as the gate's signature, the
pseudo-element sizing and track, the indirection variables resolved per
throwaway probe, and the hover declaration as cascade rule text — chromium
folds the `:hover` rule into `getComputedStyle(el,
'::-webkit-scrollbar-thumb')`, so no computed query separates the states.
2026-07-28 15:02:20 +08:00
Chinesezjc
a6b0cd6f8d Merge remote-tracking branch 'origin/master' into feat/scrollbar-tokens 2026-07-28 13:43:11 +08:00
Tianyi Cui
4c6fb8b957 Merge pull request #794 from deepseek-harness/dependabot/github_actions/actions/upload-artifact-7
chore(deps): bump actions/upload-artifact from 6 to 7
2026-07-28 12:40:15 +08:00
Tianyi Cui
f89fe5c259 Merge branch 'master' into dependabot/github_actions/actions/upload-artifact-7 2026-07-28 12:35:34 +08:00
Tianyi Cui
4ea537210b Merge pull request #777 from deepseek-harness/dependabot/npm_and_yarn/native/landlock-run/types/node-26.0.1
chore(deps-dev): bump @types/node from 24.13.2 to 26.0.1 in /native/landlock-run
2026-07-28 12:27:39 +08:00
Tianyi Cui
18653c029d Merge branch 'master' into dependabot/npm_and_yarn/native/landlock-run/types/node-26.0.1 2026-07-28 12:23:28 +08:00
Tianyi Cui
589e421220 Merge pull request #776 from deepseek-harness/dependabot/npm_and_yarn/native/landlock-run/typescript-6.0.3
chore(deps-dev): bump typescript from 5.9.3 to 6.0.3 in /native/landlock-run
2026-07-28 12:15:39 +08:00
dependabot[bot]
305f185ede chore(deps): bump actions/upload-artifact from 6 to 7
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 6 to 7.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v6...v7)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-version: '7'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-07-28 04:13:32 +00:00
Tianyi Cui
5f6ba69e2b Merge branch 'master' into dependabot/npm_and_yarn/native/landlock-run/typescript-6.0.3 2026-07-28 12:11:50 +08:00
Tianyi Cui
10d8fc1dce Merge pull request #775 from deepseek-harness/dependabot/github_actions/actions/deploy-pages-5
chore(deps): bump actions/deploy-pages from 4 to 5
2026-07-28 12:11:27 +08:00
Chinesezjc
474b88e362 docs: record the plugin-bundle rebuild trap in the scrollbar note
Verifying browser-visible plugin CSS needs a rebuild build:web does not
perform: WorkspaceBrowser.module.css never reaches apps/web/dist, because
ui-workspace loads as a runtime plugin with its CSS inlined into
lib/client.js by that package's own bundle script. A negative control that
reruns only build:web exercises a stale bundle and passes with the
declaration removed, which reads as a vacuous test rather than an invalid
control. No script in the web lane does this rebuild, so every scroll-region
or plugin-CSS change hits the same trap.
2026-07-28 12:09:18 +08:00
Tianyi Cui
fb3b35d70b Merge branch 'master' into dependabot/github_actions/actions/deploy-pages-5 2026-07-28 12:06:30 +08:00
Tianyi Cui
1ffaeedd3b Merge pull request #770 from deepseek-harness/dependabot/github_actions/actions/configure-pages-6
chore(deps): bump actions/configure-pages from 5 to 6
2026-07-28 12:01:42 +08:00
Tianyi Cui
b27a542149 Merge branch 'master' into dependabot/github_actions/actions/configure-pages-6 2026-07-28 11:56:00 +08:00
imccyu
fe26d793c5 Merge pull request #746 from deepseek-harness/fix/todo-tool-ui
refactor(todos): update TodoRow styling and logic, add IconChecklistOutline16, and enhance AssistantMarkdown rendering
2026-07-28 11:35:36 +08:00
imccyu
8f13e09f31 Merge branch 'master' into fix/todo-tool-ui 2026-07-28 11:32:07 +08:00
07akioni
99d631d41a fix: ci 2026-07-28 11:21:45 +08:00
Yichen Jiang
2a46685414 Merge pull request #797 from deepseek-harness/worktree/tui-session-title-search
fix(tui): search session references by title
2026-07-28 11:17:15 +08:00
Yichen Jiang
2e6abdf8a7 Merge remote-tracking branch 'origin/master' into worktree/tui-session-title-search 2026-07-28 11:12:56 +08:00
Yichen Jiang
968e4d5312 Merge remote-tracking branch 'origin/master' into worktree/tui-session-title-search
# Conflicts:
#	.agents/notes/implemented/feature/2026-07-21-cross-session-references.i18n.yaml
#	.agents/notes/implemented/feature/2026-07-21-cross-session-references.md
#	.agents/notes/implemented/feature/2026-07-21-cross-session-references.zh.md
#	packages/context/session-reference/README.i18n.yaml
#	packages/context/session-reference/README.md
#	packages/context/session-reference/README.zh.md
#	packages/context/session-reference/src/index.ts
2026-07-28 11:11:57 +08:00
Tianyi Cui
bbeaa9fb2e Merge pull request #790 from deepseek-harness/worktree/sdk-public-api
fix(sdk): narrow TypeScript client interface
2026-07-28 11:09:59 +08:00
Chinesezjc
a031967181 test(web): register the sidebar scrollbar e2e on the host plane
Every scaffold-importing e2e compiles on the host plane, so the new file
goes in tsconfig.host.json's include list and apps/web/tsconfig.json's
exclude list. Without both, tsc -p apps/web/tsconfig.json fails with
TS6059/TS6307.
2026-07-28 11:06:03 +08:00
Tianyi Cui
cee7462994 Merge remote-tracking branch 'origin/master' into worktree/sdk-public-api 2026-07-28 11:06:00 +08:00
Yichen Jiang
a43a2032ec fix(tui): search session references by title 2026-07-28 11:05:53 +08:00
Tianyi Cui
3f97b88ff9 Merge pull request #787 from deepseek-harness/worktree/change-scope-trim-20260728
refactor(dev-infra): narrow change-scope contract
2026-07-28 11:03:13 +08:00
Tianyi Cui
4bba60f726 Merge remote-tracking branch 'origin/master' into worktree/sdk-public-api 2026-07-28 11:03:06 +08:00
Chinesezjc
662089dd76 fix(client): theme the scrollbars and reserve the workspace list gutter
design-platform.css declared four --dsw-alias-scrollbar-* tokens in both
palettes that no rule read, so every scrolling region rendered the user
agent's own scrollbar and the dark theme showed a light native bar against
dark surfaces.

The symptom that surfaced the gap was in the sidebar: the workspace
browser's session list is its only scrolling region, and each row's
trailing content (the relative timestamp, and the hover action buttons
that replace it) is `flex: none` flush against the row's 8px right
padding, so an overlaid scrollbar painted on top of the timestamp.

ui-theme/styles/scrollbar.css becomes the sole consumer of the four
tokens, imported by the web shell's base.css after design-platform.css
because it reads that sheet's tokens. The rules sit on `body`, not
`html`: the alias tokens are declared on `body`, custom properties
inherit only downward, and from `html` they resolve to the
guaranteed-invalid value with scrollbar-color computing to `auto`.
scrollbar-width and scrollbar-color are declared on `body, body *` rather
than inherited, because inheritance would carry the color already
substituted at `body` and an elevated surface could not retint its own
thumb; scrollbar-width does not inherit at all.

Both the standard properties and the ::-webkit-scrollbar pseudo-elements
read one indirection pair bound to the l1 tokens, so an elevated surface
rebinds that pair to the l2 tokens once and retints both renderings. The
command popup, slash menu, model-select panel, and settings panel do so,
which gives the l2 tokens their first consumers.

WorkspaceBrowser's `.list` declares scrollbar-gutter: stable, keeping the
bar beside the rows. `stable` rather than `auto` so the reservation holds
when the list is short enough not to scroll: expanding a workspace group
would otherwise shift every row sideways at the moment it starts
scrolling.
2026-07-28 11:02:11 +08:00
07akioni
fb9495b21e Merge branch 'master' into fix/todo-tool-ui 2026-07-28 10:59:05 +08:00
Tianyi Cui
e98c180062 Merge branch 'master' into worktree/change-scope-trim-20260728 2026-07-28 10:59:00 +08:00
Tianyi Cui
b7abd1bb8b Merge branch 'master' into dependabot/github_actions/actions/configure-pages-6 2026-07-28 10:58:36 +08:00
Tianyi Cui
7efd0a1192 Merge branch 'master' into dependabot/npm_and_yarn/native/landlock-run/types/node-26.0.1 2026-07-28 03:03:00 +08:00
Tianyi Cui
283fcd6605 Merge branch 'master' into dependabot/npm_and_yarn/native/landlock-run/typescript-6.0.3 2026-07-28 02:58:20 +08:00
Tianyi Cui
c4c142c855 Merge branch 'master' into dependabot/github_actions/actions/deploy-pages-5 2026-07-28 02:51:31 +08:00
Tianyi Cui
c49c0ba497 Merge pull request #773 from deepseek-harness/dependabot/uv/python/sdk/hatchling-gte-1.30.1
chore(deps-dev): update hatchling requirement from >=1.24.0 to >=1.30.1 in /python/sdk
2026-07-28 02:47:37 +08:00
dependabot[bot]
b2b063b667 chore(deps): bump actions/deploy-pages from 4 to 5
Bumps [actions/deploy-pages](https://github.com/actions/deploy-pages) from 4 to 5.
- [Release notes](https://github.com/actions/deploy-pages/releases)
- [Commits](https://github.com/actions/deploy-pages/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/deploy-pages
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-07-27 18:43:26 +00:00
Tianyi Cui
9803b1c62c Merge branch 'master' into dependabot/uv/python/sdk/hatchling-gte-1.30.1 2026-07-28 02:41:56 +08:00
Tianyi Cui
a2f6f9db39 Merge pull request #772 from deepseek-harness/dependabot/github_actions/actions/setup-python-6.3.0
chore(deps): bump actions/setup-python from 6 to 6.3.0
2026-07-28 02:41:21 +08:00
Tianyi Cui
d597cbf87a Merge branch 'master' into dependabot/github_actions/actions/setup-python-6.3.0 2026-07-28 02:36:09 +08:00
Tianyi Cui
67109cac49 Merge pull request #771 from deepseek-harness/dependabot/github_actions/actions/upload-pages-artifact-5
chore(deps): bump actions/upload-pages-artifact from 4 to 5
2026-07-28 02:35:33 +08:00
Tianyi Cui
8067ef8bd7 Merge branch 'master' into dependabot/github_actions/actions/upload-pages-artifact-5 2026-07-28 02:28:25 +08:00
Tianyi Cui
69c60d6ad6 Merge branch 'master' into dependabot/github_actions/actions/configure-pages-6 2026-07-28 02:25:00 +08:00
Tianyi Cui
6c6dd37d4f Merge pull request #741 from deepseek-harness/codex/ignore-worktree-directories
chore: ignore worktree directories
2026-07-28 02:15:51 +08:00
Tianyi Cui
629f1c638b Merge branch 'master' into worktree/sdk-public-api 2026-07-28 02:11:10 +08:00
Tianyi Cui
4da9876b30 Merge current master into codex/ignore-worktree-directories 2026-07-28 02:11:08 +08:00
Tianyi Cui
547c0ab55e Merge pull request #728 from deepseek-harness/codex/fix-acp-snapshot-refresh-volatiles
fix(snapshot): stabilize refresh volatiles
2026-07-28 01:57:40 +08:00
Tianyi Cui
7503fa896f fix(snapshot): pass refresh context in SDK snapshots 2026-07-28 01:43:40 +08:00
Tianyi Cui
3b5be72086 fix(sdk): narrow TypeScript client interface 2026-07-28 01:41:32 +08:00
Tianyi Cui
1a623946b9 Merge current master with codex/fix-acp-snapshot-refresh-volatiles 2026-07-28 01:36:32 +08:00
Tianyi Cui
a1401349d8 Merge remote-tracking branch 'origin/master' into worktree/change-scope-trim-20260728 2026-07-28 01:26:55 +08:00
Tianyi Cui
fed1b23eac Merge pull request #726 from deepseek-harness/fix/pty-handoff-grace
fix(pty-local): make the foreground-handoff grace a config field
2026-07-28 01:26:27 +08:00