Commit Graph
29609 Commits
Author SHA1 Message Date
Yifffan dc62cf787d Merge pull request #9109 from deepseek-harness/settings-slot-separators
fix(client): 修复通用设置 slot 注册项之间的分割线
2026-11-24 18:41:55 +08:00
Jiawei Song 934abdbfe7 Merge pull request #9019 from deepseek-harness/feat/sdk-mcp-manager
feat(sdk): mount the MCP manager in the SDK profile
2026-11-24 18:07:48 +08:00
LegGasai 5ac3b81a81 Merge pull request #9048 from deepseek-harness/feat/llm-pi-ai-deployment-provider-rows
feat(llm-pi-ai): add provider rows for deployment-supplied routes
2026-11-24 18:04:32 +08:00
Xu Hanxiang b5f68db74c Merge pull request #8454 from deepseek-harness/feat/liveshare-registration-check
feat(liveshare): 发布探测改用 owner-registration-check 端点
2026-11-24 09:58:21 +00:00
sjw1231 9382d70537 refactor(sdk): bound the initialize startup wait with a generic startupWaitMs
Review asked for one startup-wait setting instead of an MCP-specific
parameter that each similar need would repeat. The `initialize` parameter
`mcpStartupTimeoutMs` and its TypeScript and Python client options are
removed, so the protocol and both clients match master again.

`sdk-jsonrpc-server` gains `startupWaitMs` (0 by default, at most the timer
maximum). After route validation, `initialize` waits at most that long for
startup work that finishes after Loader settlement, currently MCP manager
servers in their first connection attempt, then answers and logs what is
still pending. The `sdk` profile sets it to 5000, below the TypeScript and
Python handshake timeouts.
2026-11-24 17:46:59 +08:00
LegGasai f75c2333c3 Merge remote-tracking branch 'origin/master' into feat/llm-pi-ai-deployment-provider-rows
# Conflicts:
#	docs/capability-seams.i18n.yaml
2026-11-24 17:43:42 +08:00
LegGasai b9ccc94b06 test(forge-session): bound the wait for the bindings that follow a program
The GitLab composition case waited for five bound merge requests with
vi.waitFor's default one second. Two of the five are bound by shell
lookups, and a lookup for a call inside a program is queued until the
program's root call settles, so in the ptc variant both lookups start
after the turn. On a loaded coverage runner they take longer than one
second and the case fails with "to have a length of 5 but got 4"; it did
so twice in a row on this branch, whose test files moved the spec into a
partition beside a much heavier one.

Slowing the stand-in glab lookups by 800 ms reproduces that failure with
the default wait and passes with the bound. The awaited state is
unchanged; the bound follows the sibling forge specs.
2026-11-24 17:41:16 +08:00
LegGasai 68f4a5a911 Merge pull request #9052 from deepseek-harness/worktree/wizardly-shirley-53d903
feat(read-aloud): read replies aloud with segment-paced synthesis
2026-11-24 17:29:33 +08:00
Turtle 689c8619fe Merge pull request #9102 from deepseek-harness/turtle/web-prompt-snapshot-c3d1a7662d3a
ci(preview): show the Web blank-Session catalog on the snapshot diff page
2026-11-24 17:10:35 +08:00
Yif 7aaf9d042e fix(client): draw general settings dividers between registrations 2026-11-24 16:56:33 +08:00
imccyu 8eb8ed7678 Merge pull request #9074 from deepseek-harness/page-input-hooks
feat(client): add ui-responsive standard props for media queries and mobile devices
2026-11-24 16:56:31 +08:00
Turtle 52ae8dc6cd ci(preview): show the Web blank-Session catalog on the snapshot diff page
Refs #9101
2026-11-24 16:43:25 +08:00
LegGasai e1c570927c fix(read-aloud): keep amounts of money out of inline formulas
Two dollar signs on one line were read as an inline formula, so a reply
such as "Plan A costs $20 per month while plan B costs $35." lost the
words between them. An inline formula now follows Pandoc's rule: its
opening dollar precedes a non-space character, and its closing dollar
follows a non-space character and precedes no digit.

The Agent Note names the chat backend's fallback by what it does instead
of by a metaphor.
2026-11-24 16:35:18 +08:00
Turtle 706184f936 Merge pull request #9095 from deepseek-harness/turtle/surface-error-reasons-c2e8a7ef999a
fix: include the underlying reason in wrapped Remote failure messages
2026-11-24 16:17:51 +08:00
Shigma 17ed03bbfb Merge pull request #9089 from deepseek-harness/refactor/vendor-im-layout
refactor(vendor): move the IM packages under vendor/im and classify local modifications
2026-11-24 16:09:19 +08:00
Turtle ccf9eab830 fix: include the underlying reason in wrapped Remote failure messages
Refs #9094
2026-11-24 16:02:39 +08:00
Shigma e6e9b5dc87 fix(vendor): drop the redundant nested tree list and document both vendor trees 2026-11-24 15:54:40 +08:00
Turtle f64af1654d Merge pull request #9071 from deepseek-harness/turtle/tweak-step-label-e25ccadda163
fix(ui-chat): show completed work while a running step group thinks
2026-11-24 15:51:21 +08:00
Shigma f34ba82f3f fix(vendor): cover vendor/im in the remaining package discovery and docs 2026-11-24 15:34:08 +08:00
Shigma e34f7bb7ee docs(vendor): drop the former V references from the modification logs 2026-11-24 15:24:51 +08:00
Dudu-0223 43aa93ed54 Merge pull request #9006 from deepseek-harness/feat/subagent-model-activation
feat(subagent): select local child models through maintenance restoration
2026-11-24 15:15:35 +08:00
Shigma ac1cef9aaa Merge pull request #9082 from deepseek-harness/fix/forge-glyph-alignment
fix(forge): align change request arrows and crosses with the top-left node
2026-11-24 15:15:28 +08:00
Shigma 56a26edd29 refactor(vendor): move the IM packages under vendor/im and classify local modifications 2026-11-24 15:15:17 +08:00
Shigma e7a4e5eece Merge pull request #9078 from deepseek-harness/chore/vendor-http-1.6.0
chore(cordis): sync vendored http to @cordisjs/http 1.6.0
2026-11-24 15:12:11 +08:00
Turtle 1b3c860263 Merge pull request #9069 from deepseek-harness/turtle/copy-session-id-c9838679be5c
feat(web): offer Copy Session ID in the Session Header menu
2026-11-24 15:06:56 +08:00
LegGasai 70091d14e0 feat(read-aloud): match the speaker glyph to its row and open the details with a feature preview
The speaker glyph was 10.25 units tall beside row siblings of 13.5. It is
redrawn to the same extent: a taller cone and two wave arcs that span the
box.

The bundle's detail document becomes a 640x300 feature preview in English
and Chinese, as voice input has: a reply with its action row, the
read-aloud control highlighted, and the speech it becomes. The sentence on
supported languages moves from the document into the details notes.
2026-11-24 15:06:17 +08:00
Shigma 5b62e1f6cf fix(forge): align change request arrows and crosses with the top-left node 2026-11-24 15:00:49 +08:00
Shigma e3e6d7dcd3 test(cordis): drop the upstream http name from the spec summary 2026-11-24 14:58:08 +08:00
sjw1231 2143702108 docs: regenerate the module graph for the SDK server's MCP manager dependency 2026-11-24 14:55:29 +08:00
sjw1231 2da97e9f3a fix(sdk): close the runtime when the MCP wait overflows and expect the SDK manager row
Converting `mcp_startup_timeout_seconds` to milliseconds raised
`OverflowError` for `inf` or `1e308` before `initialize` entered its failure
path, leaving the started runtime running. The conversion now runs inside
that path, so it closes the runtime like any failed initialization.

`apps/cli/tests/profile-mcp.spec.ts` still expected only the `web` profile to
mount `mcp-manager`; it now expects the `web` and `sdk` profiles to.
2026-11-24 14:49:12 +08:00
Dudu-0223 d7961599b8 refactor(llm): rename isModelListed to isModelInCatalog
The method reports whether a provider's current catalog contains a model; the new name states where the model is looked up.
2026-11-24 14:49:02 +08:00
Dudu-0223 750c57f21a fix(llm): check catalog membership through the llm service
Plugin entries export only what the Loader loads, so replace the
isModelListed entry function with LlmRuntime.isModelListed(provider, model)
and route session-controller and subagent catalog checks through ctx.llm.
2026-11-24 14:49:02 +08:00
Dudu-0223 e65f956950 fix(subagent): harden child model selection after review
- Report CONTINUATION_UNAVAILABLE when an agent/created listener wakes a
  maintenance restoration before the choice is recorded; the release
  cancels the started turn.
- Accept only catalog-listed models in subagents.selectModelByUser, using
  the isModelListed check shared with session.selectModel.
- Share the client model-selectable rule and derive ModelDirectory
  availability from the subagent address.
- Wait for the maintenance release before reading the child log in the
  Web e2e, and fix the Chinese README sentence.
2026-11-24 14:49:02 +08:00
Dudu-0223 28eff4efd0 feat(web): select models for continuable subagents
Offer the composer model control and /model for local continuable subagents,
submit through subagents.selectModelByUser, and read the child's own
modelSelection projection. Cold saves reach every open page through the
restored child's ordinary projection updates. The client layer is ported
from #6277 without its Host cold-append publication.
2026-11-24 14:49:02 +08:00
Dudu-0223 219a05fe0d feat(subagent): select cold child models through maintenance restoration
Restore a cold continuable child as a maintenance Activation, record the
choice through its Agent, and release it before returning instead of writing
the stored log directly. The restoration reserves no capacity slot, publishes
no subagent lifecycle events, refuses manager-routed input, and closes from
the idle phase it owns. A child with pending input is refused so that input
stays for its next execution; a child with no saved model restores through the
choice being recorded.
2026-11-24 14:49:02 +08:00
Dudu-0223 04a735f556 feat(subagent): persist model choices outside descriptors 2026-11-24 14:49:02 +08:00
LegGasai eae8f05f43 feat(ui-settings-models): show a pi-ai provider row as a pi-ai route
The Models page chose a card layout by namespace id, so a provider row,
whose namespace is its own row id, got the card for a form without a
layout: one line that names the patch file, and a disabled Save.

Settings already sends the page everything it needs to do better. A
provider row's form declares exactly the fields of an entry of the
adapter row's providers dict, because both are built from the same field
schemas, so the page recognizes the row by its form and lays its route
out as a pi-ai route at the root of the row's namespace. No interface
carries the fact, and settings, its Remote controller, and the
configuration editor are unchanged.

A key typed for a row is stored under the credential reference the row
names. A changed field goes to the configuration editor, which refuses a
row that a home patch or overlay adds; the card shows that refusal. While
the profile patch holds no override of a row, the card takes the running
config as the layer a cleared field returns to, so a row that a later
layer adds shows its models and name. A provider row waits for its key as
an ordinary row in the first-run posture, like a dict entry.

The editor is keyed by the route's settings address: when another row
starts to serve the route being edited, the draft and revision read at
the old address are dropped instead of being written to the new one.
2026-11-24 14:41:37 +08:00
LegGasai 72ad2d1d63 feat(llm-pi-ai): leave the Models page and settings as they are for provider rows
The previous commit marked a provider row that a later layer decides as
managed: the configuration editor reported which rows a home patch or
overlay decides, settings and its Remote controller carried that to the
page, and the Models page showed such a row with a tag and a read-only
card.

The page already handles a provider row without any of that. It lists the
row's route, offers no deletion for it, and opens it with its card for a
form it has no layout for, which names the row's section of the patch file
and takes no input; the configuration editor already refuses a write to a
row that a home patch or overlay adds. So the configuration editor,
settings, its Remote controller, and the Models page go back to what they
were, and the change is confined to the adapter package.

The Web test now describes the unchanged page beside a deployment's rows,
and the adapter's test helper stores the profile patch itself instead of
through a parameter added to the settings test helper.
2026-11-24 14:41:37 +08:00
LegGasai 56a4108722 feat(llm-pi-ai): add provider rows for routes that another layer supplies
A patch that sets the config of the llm-pi-ai row replaces the `providers`
dict of the layers before it. A deployment's home patch and the profile
patch that the Models page writes therefore cannot both configure
providers: the home patch's dict replaces the person's, and the
configuration editor refuses every later save of that row.

A layer that adds a provider now writes a row of
`@deepseek-ai/dsh-llm-pi-ai/provider`, whose config is the route key and
the profile fields of a dict entry. The adapter row serves those rows
together with its dict. Of the declarations that name one route, the one
that comes last in the composed entry list is in effect, and the dict
takes the position of the adapter's row. The dict, stored profile patches
and the Models page's writes are unchanged.

The configuration editor reports whether a home patch or an overlay
decides the config a row runs with (`managed`), settings forwards it with
the row's plugin name on each descriptor and namespace view, and the
Models page shows a managed provider row with a tag and a card whose
controls are disabled.
2026-11-24 14:41:37 +08:00
Shigma 5840375a69 docs(rescope): re-record the http row translation pairing 2026-11-24 14:40:15 +08:00
sjw1231 3e0f80c608 test(sdk): refresh the mcp-manager snapshot for the document tool rename
Master renamed the Office tools to `document_*`, which changes the skill catalog the snapshot records. The MCP tools and calls are unchanged.
2026-11-24 14:35:45 +08:00
Shigma 3cb1933c85 chore(cordis): sync vendored http to @cordisjs/http 1.6.0 2026-11-24 14:25:19 +08:00
LegGasai 8430c2d939 feat(read-aloud): choose the voice and hear a sample in the bundle details
Providers list their voices and the synthesis registry saves one voice
preference in its profile entry, as voice input saves its language. The
read-aloud Remote reports the voices, saves a choice, fixes the voice of a
reading when its plan is made, and speaks a Host-owned sample sentence.

The bundle details gain a voice field and a speaker that plays the sample
with the three states of the read control. The DeepSeek provider's own
voice key moves to the registry. The details text lists the supported
languages; the API detects the language itself and accepts no choice.
2026-11-24 14:24:12 +08:00
LegGasai 0826753829 feat(read-aloud): read replies aloud with segment-paced synthesis
Add five experimental packages: the text-to-speech registry, the DeepSeek
cloud synthesizer, the read-aloud Remote that plans segments and streams
their audio, the Client action and notice, and the optional bundle, titled
语音朗读 in Chinese.

A reply is cut into segments of about thirty seconds. Each segment is one
request to /v1/tools/tts, sent only when at most fifteen seconds of the
received audio is unplayed, so stopping a reading leaves the later
segments unsent and unbilled.

The Host reduces the reply's Markdown to speech text itself and finds
formulas by their dollar delimiters; the math syntax packages are left out
because they install KaTeX into the runtime. The build embeds the Markdown
parser, whose installed browser build reads document inside a Web Worker
Host.
2026-11-24 14:24:12 +08:00
sjw1231 995069644c Merge remote-tracking branch 'origin/master' into feat/sdk-mcp-manager
# Conflicts:
#	docs/persistence-schema.json
#	packages/bundle/sdk-app/README.i18n.yaml
2026-11-24 14:23:33 +08:00
sjw1231 2501b2c24b feat(sdk): let each client request the MCP startup wait in initialize
The previous commit held every SDK `initialize` for up to 30 seconds through
an `sdk-jsonrpc-server` config field. That wait outlasts the TypeScript
client's 10-second handshake timeout and most of the Python client's
30-second one when an MCP server hangs, so the field is removed and the wait
becomes a request parameter.

`InitializeParams.mcpStartupTimeoutMs` (0 to 2147483647) holds the answer,
after route validation, until `mcpManager.whenSettled()` reports no server in
its first connection attempt; omission or `0` answers at once. The Python
`DeepSeekHarness` sends `mcp_startup_timeout_seconds` (5 by default) and
`HarnessClient.initialize` accepts it explicitly; the TypeScript client sends
`mcpStartupTimeoutMs` only when configured. A manager with no listed server
settles at once.
2026-11-24 14:20:30 +08:00
Turtleandimccyu d6a89840ff fix(ui-chat): show completed work while a running step group thinks
Before any non-Context tool is counted, a running group without a live tool
still reads "Analyzing the request". Afterwards it shows the completed-work
summary followed by "thinking about the next step", held by the same 150 ms
live-title rule.

Fixes #9070

Co-authored-by: imccyu <276526105+imccyu@users.noreply.github.com>
2026-11-24 14:00:51 +08:00
Yudong Han fe0255f72f Merge pull request #9024 from deepseek-harness/feat/office-render-renderer-option
feat(document): office_render 改名为 document_render 并支持 renderer 选择渲染后端,PDF 优先用 Poppler
2026-11-24 14:00:51 +08:00
42f1bc67de test(web): prove header Copy Session ID withdraws on dispose
Co-authored-by: tianyicui <53024+tianyicui@users.noreply.github.com>
Co-authored-by: CreatixChu <142372241+CreatixChu@users.noreply.github.com>
Co-authored-by: mektpoy <31686206+mektpoy@users.noreply.github.com>
2026-11-24 13:52:20 +08:00
e7c8cd527c feat(web): offer Copy Session ID in the Session Header menu
Refs #9068

Co-authored-by: tianyicui <53024+tianyicui@users.noreply.github.com>
Co-authored-by: CreatixChu <142372241+CreatixChu@users.noreply.github.com>
Co-authored-by: mektpoy <31686206+mektpoy@users.noreply.github.com>
2026-11-24 13:43:43 +08:00