Commit Graph
28625 Commits
Author SHA1 Message Date
EricMoin 95dff460b0 fix(remote-connection): cover cancelled login responses and honor theme rules 2026-11-19 21:24:42 +08:00
EricMoin 1d6bec2575 fix(remote-connection): support Preview credential encoding 2026-11-19 21:24:42 +08:00
EricMoin 3059225fd9 feat(remote-connection): own browser authentication through providers 2026-11-19 21:24:42 +08:00
EricMoin 608960ebfc fix(web): add install icon for PWA (#8248)
* fix(web): round PWA install icons

Closes #8247

* fix(web): harden install icon generation

Reject missing SVG definitions and bind clipping to the tile.
Cover rounded geometry and keep the existing icon notes current.
2026-11-19 21:13:37 +08:00
涂轶翔 101f26de4e fix(system-prompt): 保留 section API 的增量系统指令 (#6941)
* feat(system-prompt): admit section updates incrementally

* docs(system-prompt): accept retirement restart gap

* test(system-prompt): cover retirement and reentry before admission

* test(system-prompt): align rebase fixtures and persistence history

* fix: align section prompt consumers and CI fixtures

* test: pin credentials for section snapshot fixtures

* test: align remaining snapshots with section admission

* test: preserve section metadata in Web and PowerShell replays

* refactor(system-prompt): retire sections through Cordis cleanup

* chore: refresh section admission history after rebase

* fix(system-prompt): advance admission head after compaction

* fix(system-prompt): trim sections before admission hashing

* docs: move system upgrade guides to current version

* docs: add system message contribution cookbook

* perf(system-prompt): avoid indexing history for admission

* refactor(system-prompt): derive admission from logged sections

* test(system-prompt): update lifecycle and compaction consumers

* test(system-prompt): refresh CLI section event expectations

* test(system-prompt): refresh question composer section metadata

* feat(system-prompt): resolve same-name sections by scope

* refactor(persona): use ordinary section registrations

* refactor(system-prompt): clarify assembly and related control flow

* test(system-prompt): reconcile rebased section snapshots

* test(python): use current system text helper after rebase

* test(system-prompt): refresh CLI expected section blocks

* test(system-prompt): reconcile latest master integration

* test(agent-loop): seed tools before deferred addition assertion

* refactor(compaction): replace system heads when compacting prefixes

* refactor(system-prompt): separate source text and notice attribution

* fix(system-prompt): preserve legacy instructions in compaction snapshots

* refactor(compaction): build system snapshots while reading the summary prefix

* refactor(compaction): rebuild current system instructions

* refactor(system-prompt): defer compaction rebuild to admission

* refactor(system-prompt): remove redundant fixtures and setup

* fix(plan-mode): announce committed user transitions

* docs(system-prompt): reconcile section lifecycle and compaction design

* refactor(system-prompt): consolidate projection version increments

* fix(system-prompt): reconcile master integration and replay fixtures

* docs(system-prompt): align upgrade guide with current release

* refactor(system-prompt): make admission operations explicit

* fix(system-prompt): reconcile master API and release changes

* docs(system-prompt): regenerate catalogs after master refresh

* refactor(llm-pi-ai): delegate text rendering to pi-ai

* fix(llm-pi-ai): preserve blank lines between system text parts

* refactor(system-prompt): remove redundant retirement metadata

* refactor(system-prompt): own admission and use canonical surface targets

* refactor(system-prompt): compare captured sections at commitment

Assembly fixes section text and lifecycle; PromptAssembly.systemUpdates() compares them with the committed projection when the loop commits. This replaces SystemPrompt.admit(), needsRebuild() and isCurrent(), the SystemAdmission export, the loop's reassembly after compaction, and SessionSurface.systemHeadResetSeq. The projection records a pending rebuild as a boolean that an attributed reset clears.

After a compaction inside a step, the rebuilt head uses the sections captured for that step; later source changes arrive as ordinary updates at the next step.

* test: await the session read fixture and type a matcher for lint

* test(tool-executor-ptc): describe same-name section override on executor replacement

Duplicate section names no longer reject a scoped executor; the earlier registration is overridden and returns as an ordinary update when the executor leaves.

* docs(upgrade-guide): move system-prompt integrations to v0.2.2-rc.3

The root version on master is 0.2.2-rc.3; verify-upgrade-guides rejects a guide added under an earlier version directory.

* refactor(system-prompt): rebuild over system messages without sections

A system message without source.sections now marks rebuilding pending, like a compaction summary. The next model attempt replaces the head with current sections and clears later system messages. This removes the separate legacy flag and its appended whole-prompt replacement and notice.

Sessions written by earlier releases, migrated logs, and imported DeepSeek conversations take the same path, so the importer and its tests return to their master versions.

* test(web): refresh the imported-conversation recording and drop a stray bytecode file

The Web recording for a resumed DeepSeek import was recorded while the prompt was appended after the imported history; the head is replaced again, as on master. The .pyc under the macOS signing skill was staged by accident in an earlier merge.

* refactor(session): scan system nodes on read

surface.systemNodes is read only when a system rebuild is written. Scanning the current surface nodes on each read restores the surface fold's plan types and state to their master definitions, which no longer carry the system message.

* refactor(session): rename SystemSurfaceNode.hasContent to isEmpty

The flag reports that the logged content array has no blocks. isEmpty matches the documented "empty head" wording and covers a head that was written empty without ever being cleared.

* refactor(llm): join system text through extractTextContent

extractTextContent gains a trim option that trims each text block and omits blocks left empty. The DeepSeek serializer, the pi-ai converter, and the prompt inspector use it with a blank-line separator in place of three hand-written joins.

The pi-ai converter now trims system and developer text like the other two, so whitespace-only blocks are omitted there as well.

* test(snapshots): refresh the PowerShell and cordis-inspect recordings

The two PowerShell scenarios still held the initial system message as one unattributed block; replay now writes one block per section with its attribution. The cordis-inspect-jsdoc recording embeds the API catalog, which names SystemSurfaceNode.isEmpty since the rename.

* test(plan-mode,harness-dev-context): cover a rejected pre-step and a repeated legacy prompt

A rejected pre-step must leave a queued plan-mode switch pending and unannounced until the next accepted step. A second unattributed system message with the same legacy paragraphs must keep the admitted paragraphs.

* test(web): refresh Web recordings for section-attributed system messages

Twenty-seven Web recordings still held the initial system message as one unattributed block. Replay now writes one text block per section with its attribution; twenty-six recordings differ only in that line.

plan-review also records the plan-mode switch notice before the first prompt and appends a plan:status update on exit in place of a head replacement and a series header, so its expanded golden gains the notice row.

The Creator persona test joins the system text blocks with blank lines, as the adapters do, before matching the persona line.

* refactor(system-prompt): require the retry argument of systemUpdates

The agent loop passes it on every attempt. A custom loop that omitted it on a retry received a full comparison in place of the pending rebuild, with no diagnostic; the type now makes each caller state which attempt it is.

* docs(upgrade-guide): move the system prompt integrations guide to v0.2.2-rc.5

The root version is 0.2.2-rc.5 after the master merge, and verify-upgrade-guides rejects a guide added under an earlier version directory.

* test(web): refresh the mention path presence recording for section-attributed system messages

* test: align two specs that master left failing

The DeepSeek settings spec waited for a saved notice carrying the provider label from before the rename to DeepSeek API. The Windows packaging workflow spec seeded one of the two helpers that the Stage workflow helpers step copies.

* chore: remove a Python cache file committed by mistake
2026-11-19 21:11:38 +08:00
LegGasaiandimccyu 0a37a1b89a fix(web): keep conversation file references on the same file after a directory move (#8830)
* fix(workspace-path): address opened files by absolute path

`fileAddressFor` rewrote an absolute path inside the Session's directory
into a relative address. A Sidebar tab opened that way named another file,
or none, once the Session's directory moved and the page reloaded.

The address now carries the absolute path whenever one is known: an
absolute path is kept and a relative path is joined to the directory the
caller supplies. A relative path stays relative only while that directory
is unknown.

* fix(ui-chat): resolve relative images from the Session's current directory

A relative Markdown image used the Session header directory, so an image
written while the Session worked in a worktree did not load. It now uses
the directory the Session works in, the base relative file links already
use.

* fix(ui-reference): write picked and dropped files as absolute mentions

A file or folder picked from the `@` list was sent as a path relative to
the Session's directory, and a Desktop drop inside that directory was
rewritten to a relative path. After the directory moved, the sent message
named another file or none.

A settled pick now joins the listed path to the Session's current
directory, and a dropped or pasted file keeps the path the shell reports.
Drill text stays relative. Hand-typed relative mentions are unchanged.

* fix(deliverables): ask for absolute Markdown link and image targets

The file-reference guidance allowed targets relative to the working
directory. A relative target in an earlier reply named another file once
the Session's directory moved, and a model working in a worktree sometimes
wrote targets relative to the original project.

The guidance now asks for absolute targets. The expected system prompts
that assemble this section carry the new wording.

* docs(notes): record how conversation file references survive directory moves

* docs(notes): cite the earlier per-message implementation and its revert

* test(snapshots): carry the absolute-target guidance into the session-send-message prompt

* test(snapshots): add the subagent concurrency sentence to the timeline-follow-chat prompt

The scenario's expected system prompt on master predates the subagent
guidance sentence that states the shared concurrency limit, so its replay
fails on master and on every branch that merges it.

* docs(ui-conversation): remove the stale sentence on relative dropped paths

---------

Co-authored-by: imccyu <[email protected]>
2026-11-19 18:30:41 +08:00
_Kerman cec36345f2 Merge pull request #8408 from deepseek-harness/xtr/cua-object-api-guidance
refactor(cua): remove raw protocol details from model guidance
2026-11-19 18:20:29 +08:00
winewill edf37e8445 Merge pull request #8175 from deepseek-harness/feat/windows-runner-boot
feat(desktop): 支持 Windows 标准账户登录前启动打包 runner
2026-11-19 18:06:27 +08:00
Magolor 1e2827d151 feat(timeline): add a Follow chat language option, a clickable progress strip, and a labeled session discussion history (#8630)
* feat(timeline): add a Follow chat language option

Follow chat sends no language rule in the planning guidance or in report
requests, so the agent chooses the language from the conversation. Text
that Timeline writes without the model keeps the app language.

* fix(timeline): keep the compact report limit when following the chat

Without a required language, a report line written mostly in Chinese or
Japanese characters uses the 160-character limit that the report rules
state. The README states that a higher report level sees only the reports
it combines. A recorded headless scenario covers the planning prompt
without a language rule.

* feat(timeline): toggle the task tree from the whole progress strip

A click anywhere on the strip above the message box opens or closes the
task tree. The toggle button stays for keyboard access and to show the
open state. Hover and press feedback covers the whole strip; the draft
removal button remains a separate action.

* fix(timeline): keep progress strip hover rules inside the hover media query

Hover selectors apply only where the primary input can hover. Press
feedback stays available on every input type.

* feat(timeline): label the session discussion history and list it newest first

The history under the Task Tree and Reports tabs covers every task tree
and report in the session. Its title now states that scope, a thicker
separator sets it apart from the content above, and its entries are
ordered by creation time, newest first.
2026-11-19 10:05:52 +00:00
Dudu-0223 bd77229a9c Merge pull request #8241 from deepseek-harness/feat/session-control-message
feat(session): 支持跨 Session 消息
2026-11-19 18:02:58 +08:00
Yudong Han 90c0f1aa4c Merge pull request #8490 from deepseek-harness/turtle/rename-deepseek-api-ca2c0fb1df3e
feat(llm): label the API-key DeepSeek provider as DeepSeek API
2026-11-19 17:53:40 +08:00
Dudu-0223 ff8654f24d fix(session): shorten cross-session message instructions 2026-11-19 17:41:56 +08:00
acehinnnqru ad27c9e245 feat(client): add workspace picker search (#8394)
* feat(client): add workspace picker search

* fix(client): preserve searchable menu keyboard ownership

* test(client): cover searchable menu behavior

* test(web): fix workspace picker search locator

* fix(client): restore collapsed sidebar search styles

* fix(client): simplify workspace picker search field

* fix(client): keep workspace picker search scoped to the menu

* fix(client): preserve touch focus when opening workspace picker

* test(web): stabilize workspace picker layout assertions

* test: isolate workspace picker coverage and exercise submenu navigation

* docs(client): clarify searchable menu autofocus precedence

* fix(client): match workspace picker searches by path

* fix(client): align workspace picker empty-state row height

* fix(client): refine workspace picker search and keyboard navigation

* fix(client): unify menu navigation and defer workspace search indexing

* fix(client): center menu search header vertically

* fix(client): balance workspace picker search styling
2026-11-19 17:35:28 +08:00
LegGasai b87a481bcf Merge pull request #8323 from deepseek-harness/fix/forge-github-status-batches
fix(forge): bound status queries, share polls, and drop repeated reads
2026-11-19 17:23:51 +08:00
Dudu-0223 29a3607a78 Merge master into feat/session-control-message 2026-11-19 17:13:59 +08:00
Turtle 6e2fa257f0 Merge pull request #8820 from deepseek-harness/turtle/core-guidelines-scope/dsh-core-guidelines-83ad6c5e5a01
docs: state the status and scope of DSH Core Guidelines
2026-11-19 17:12:15 +08:00
Yudong Han f868dc2718 Merge pull request #8461 from deepseek-harness/feat/content-preview-values
feat(client): preview compaction summaries in the sidebar
2026-11-19 17:09:01 +08:00
_Kerman 62db163670 fix(cua): provide object API setup for per-call PTC 2026-11-19 17:08:58 +08:00
_Kerman f26a1bb054 fix(cua): clarify the program scope in tool instructions 2026-11-19 17:08:58 +08:00
_Kerman 4826e4fbcc test(cua-mcp): refresh program guidance expectations 2026-11-19 17:08:58 +08:00
_Kerman 4ae35808d1 refactor(cua): remove redundant raw protocol instructions 2026-11-19 17:08:58 +08:00
_Kerman d086c3ed44 refactor(cua): scope raw protocol guidance to raw callers 2026-11-19 17:08:58 +08:00
Dudu-0223 7324b27419 fix(session): clarify explicit message requests and delivery limits 2026-11-19 17:07:08 +08:00
Dudu-0223 d72d80bea7 fix(subagent): 恢复共享并发上限和容量(#8698) (#8809)
* fix(subagent): restore shared concurrency guidance from #8698

Restore the change removed when master was rolled back.

Cherry-picked from 014aa1659bcd0ba3cf5d2b4c096773f01f56ec50.

* refactor(ui-tool): clarify subagent member parsing
2026-11-19 08:58:42 +00:00
Turtle 2a807b4a3b docs: align business-domain placement and tighten scope wording 2026-11-19 16:55:26 +08:00
yudshj 6329d3ae52 Cover compaction summary content, fallback and tab title 2026-11-19 16:51:52 +08:00
yudshj 8256284aca Merge remote-tracking branch 'origin/master' into rewrite/pr8461-master
# Conflicts:
#	packages/client/ui-chat/README.i18n.yaml
2026-11-19 16:47:54 +08:00
LegGasai a35ced7385 Merge pull request #8609 from deepseek-harness/worktree/session-panel-stay-pinned-128657
feat(session-panel): dock beside the transcript at narrower widths and reorder sections
2026-11-19 16:46:48 +08:00
Turtle 498b681a09 docs: state the status and scope of DSH Core Guidelines 2026-11-19 16:40:57 +08:00
yudshj 1a3d9387f3 Record the recovery policy for window-local sidebar tabs 2026-11-19 16:40:02 +08:00
Dudu-0223 c687affe65 chore(session-query): remove trailing blank line from observation test (#8814) 2026-11-19 08:39:12 +00:00
yudshj ce5bc3df56 Retain transient content across sessions and close its tabs on reload 2026-11-19 16:38:47 +08:00
Turtle 4d4e0b6be1 Merge pull request #8767 from deepseek-harness/turtle/dsh-core-guidelines-83ad6c5e5a01
docs: add DSH Core Guidelines
2026-11-19 16:35:34 +08:00
Dudu-0223 4ae3ccffba fix(team): 明确任务写入范围与 claim 诊断 (#8709)
* fix(team): clarify task scopes and claim diagnostics

* docs(team): shorten edit write scope guidance

* test(team): cover write scope edits through the task tool
2026-11-19 16:09:51 +08:00
yudshj ed08ff8364 Open typed preview content in the sidebar or a floating panel 2026-11-19 16:07:39 +08:00
LegGasai 5a3e2ccb57 Merge remote-tracking branch 'origin/master' into worktree/session-panel-stay-pinned-128657 2026-11-19 16:05:24 +08:00
LegGasai 0750436cb4 feat(sdk): report why a session agent was disposed (#8738)
* feat(sdk): report why a session agent was disposed

A request for a session whose agent left the registry now states whether the
whole runtime is shutting down, the SDK server is shutting down, or only the
agent loop was unloaded. During runtime shutdown it names the last process
event observed before teardown; for an agent-loop unload it gives the time and
the plugin whose unload began first. The liveness check reads the registry as
optional, so both stages of root disposal report the same failure.

Refs #8737

* fix(sdk): keep the runtime observation out of the plugin entry exports

The static gates reject a new read of the Cordis root context, a value export
from a function plugin entry, and new assertions to unknown. The plugin entry
now passes the server an observation built from the root fiber it already
holds, the helper lives in the internal process-events module, and the new
tests complete the handshake instead of casting the server.

Refs #8737

* fix(sdk): keep the process-event record from throwing and state the unload origin as an observation

A rejection value without a string form made the failure text throw inside a
prepended listener, which would end the dispatch before the listener that owns
the event. The text now falls back to a fixed marker. The plugin named for an
agent-loop unload is the first one unloading at that time, which overlapping
unloads can make unrelated, so the message and README say that.

Refs #8737

* feat(python-sdk): log the runtime's stderr lines as they arrive

The runtime writes its fatal report, including the stack of an unhandled
rejection that ends the process, to its own stderr. The SDK kept those lines
in memory and attached them only to initialization, timeout, and transport
failures, so a host saw none of it for an ordinary JSON-RPC error. Each line
now also goes to the Python logger deepseek_harness.runtime at INFO.

Refs #8737
2026-11-19 07:59:52 +00:00
yudshj 34897717d4 Limit sidebar preview changes to compaction summaries 2026-11-19 15:59:00 +08:00
winewill 6fcc447c7f Merge pull request #7970 from deepseek-harness/fix/windows-uninstall-registry
fix(desktop): clean Windows registrations and report uninstall failures
2026-11-19 15:30:11 +08:00
LegGasai 4f611e1cfa test(forge-panel): measure drag positions after the collapsed-lines strip left
The hover plus case measured where to drag in notes.txt while README.md
above it still drew the strip for the unchanged lines after its last
hunk. The strip leaves once the file's text was read for highlighting,
which moves the rows below it up by 26 pixels. When it left between the
press and the release, the drag crossed one more row and opened a
comment on L3-5 in place of L3-4. The case now waits for the strip to
leave before it measures.

The race is in the test on master too: with master's forge sources the
case failed 1 of 15 runs alone, and the strip left 60 to 357 ms before
the drag began.
2026-11-19 15:26:38 +08:00
imccyu 99e2d584e5 perf(web): avoid whole-document style recalculation in long histories (#8791)
Scope the empty reasoning-wrapper rule to a `.reasoning` class so Chromium
no longer tests a class-less `:empty:not([class])` subject against every
restyled element while streaming. Split the files navigator cover rule so
`:has()` only sets a custom property on the row, which keeps unrelated
scrolls such as the Chat turn rail from restyling the whole document.

Refs #8790
2026-11-19 15:19:36 +08:00
LegGasai 43f699290d Merge pull request #8770 from deepseek-harness/docs/pr-description-module-dependencies
docs(skills): add module responsibilities and dependencies to PR descriptions
2026-11-19 15:10:34 +08:00
imccyu 7c30b2b75e perf(web): avoid whole-document style recalculation in long histories
Scope the empty reasoning-wrapper rule to a `.reasoning` class so Chromium
no longer tests a class-less `:empty:not([class])` subject against every
restyled element while streaming. Split the files navigator cover rule so
`:has()` only sets a custom property on the row, which keeps unrelated
scrolls such as the Chat turn rail from restyling the whole document.

Refs #8790
2026-11-19 15:02:14 +08:00
winewill 396593b9fd Revert network home expansion and retain uninstall diagnostics 2026-11-19 14:44:58 +08:00
Ruilin Geng 8659ee9956 Merge pull request #6531 from deepseek-harness/feat/tencent-meeting-plugin
feat(tencent-meeting): 新增腾讯会议插件并支持在插件页登录账号
2026-11-19 14:37:09 +08:00
winewill 25c10e7fd1 Handle network uninstall home paths and reap timed-out fixtures 2026-11-19 14:17:59 +08:00
Jiawei Song e1f2ffc469 Merge pull request #8772 from deepseek-harness/fix/sdk-dsh-doc-parity
fix(skills): 在 SDK profile 和 Desktop PTC preset 中列出 dsh-doc
2026-11-19 13:54:58 +08:00
LegGasai 9d11b1d89c Merge remote-tracking branch 'origin/master' into feat/forge-status-tiers 2026-11-19 13:54:38 +08:00
gengruilin ede4efaca6 docs(connector): drop the signed-in sentence from the Tencent Meeting and Feishu previews
The account card in the English and Chinese previews of both connectors no longer names an example user; it keeps the sentence that tells the user to ask the agent, as the previews of the other connectors do. Feishu is already on master, so its two files change here.
2026-11-19 13:54:36 +08:00
LegGasai 336a33bd58 test(forge-github): give the hanging gh query test a deadline a loaded machine meets
The test ran its queries under a 1-second deadline and required the log
line of the gh run that hangs. Beside the other specs of the four forge
packages, that run was ended before it logged its query. The deadline
is now 5 seconds, and the test requires only that the query after the
hanging one is sent once.
2026-11-19 13:54:29 +08:00