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.
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.
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.
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.
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.
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.
- 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.
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.
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.
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.
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.
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.
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.
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.
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.
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>