Mark the tab root with data-sidebar-chat so main-composer selectors exclude it,
drop the tab type's ineffective multiple and builtin priority, guard the fork
refusal check against a missing RPC error, log a /side with no conversation on
screen, align the no-completed-turn notice with the fork shortcut wording, list
the package in the experimental table, and add a browser test.
* feat(ui-renderer): scope opted-in package styles on existing slot roots
Share the package style policy between slot dispatch and stylesheet installation. Preserve global themes, root identity and component state through style-only toggles, including nested Factory, HOC and list output.
* fix(dev-web): keep launcher validation independent of package sources
* refactor(ui-renderer): identify generated scope CSS as stylesheet content
* fix(client): keep panel indicators visible under style isolation
Position a shared indicator area on the Session panel toggle. Jobs, Subagents, and Forge paint their own marks without crossing package scopes.
* refactor(ui-renderer): fix each package style scope for the page
Stamp the content supplier on existing slot roots. Read its page-owned mode when registering content and writing stylesheets instead of subscribing the render tree to live policy changes.
* fix(ui-renderer): keep scoped styles with their actual package
Resolve Loader aliases against the page module table and stamp contributions from the renderer’s own module source. Let a valid package stylesheet take over a path rejected during scope preflight or by the destination.
* fix(client-modules): declare the row callback receiver-free
* refactor(ui-renderer): scope styles from their module records
* test(ui-renderer): verify module-record style scoping
* chore(ui-renderer): restore scoped slots to the PR base
* fix(ui-renderer): mark slot roots with their supplying module
* refactor(ui-renderer): bind Factory child slots once per supplier
An outlet belongs to whoever called renderSlot for it, wherever it later
renders. A Factory's child-slot methods are now kept per Factory and per
supplier: the Factory itself for its own Component and fallback locals,
the occurrence's caller for a local it selected. One caller mounting its
local in several places shares one method, and no per-mount binding or
extra occurrence context field remains.
* refactor(ui-renderer): scan a Factory's chain children once
Whether a Factory declares a chain child is recorded once per Factory
beside its per-supplier child-slot methods, instead of once per
supplier. The Factory kit assigns `renderSlot` and `renderSlotChain`
by name rather than copying whichever keys the methods object holds.
* test(client-runtime): expect data-plugin on the mounted slot root
The slot outlet names its supplier on the existing root; the test runtime registers without a package, so the two DOM snapshots gain data-plugin="".
* test(web): launch the panel indicator scenario per isolation mode
The Host reads an entry's client isolation when its plugin starts, so
updating that field on a running entry never reached the boot graph and
the scenario waited forever. Each mode now starts its own Host: the
shipped composition, and one whose overlay declares style isolation for
the panel and the two packages drawing on its toggle. Both check the
boot graph first, then run the same interaction and indicator
assertions.
This reverts commit af6d659de2858d7760acdd680d942166724ffaed, the merge of
#8423.
A bare github.com pull request or gitlab.com merge request URL streamed in
as its full URL and shrank to its owner/name#N reference only when the
reply settled, so the reply reflowed after it finished. The URL arrives
character by character, so the reference cannot be drawn before the URL is
complete. Links keep their written text again, and the Open in code review
URL menu entry, the forgePanel.recognize Remote, and the generic URL menu
adjustments that shipped with it leave with the revert.
Keep script placement independent of artifact revisions. Rebuilds and lazy chunks execute in the same package window; evict it only when the module graph releases the package or the page closes.
Stop observing the isolation option on the Host and on every incoming graph. Record the execution environment with a registered generation so its lazy chunks use the same carrier. Keep the existing Realm provider boot sequence.
Let ordinary revision-based replacements retain every materialized generation until its runtime releases it. Drop unused iframe candidates and stop fetching a removed package instead of creating a new orphaned Realm.
Publish the unstable per-entry script switch in the Host boot graph and keep opted-in bundles out of the Main Realm batches. Activate the Realm providers before isolated code, reuse a frame across its package-local chunks, and release it on replacement or teardown. Dev Web can opt entries in through a transient final overlay.
Refs #8131
* fix(app-boot)!: load bundle plugin rows from the packages their bundles select
The root config tree imports every row from the profile directory. A copy of
a built-in plugin package that a third-party plugin pins is hoisted into
<profile>/node_modules, where it replaced the package of the row that
@deepseek-ai/dsh-base inserts under the same name. The compatibility
admission then disabled that row and DSH started without its services.
createRuntimeResolution now reads the bundle layers in order and records, for
each plugin package name they insert as rows, the package in the nearest
node_modules above the inserting bundle; a bundle installed in the profile
looks no higher than the profile directory. A request whose importer is the
active profile directory itself uses that package before any copy in the
profile; every other importer keeps its lookup. A later bundle that finds
another copy adds a warning and does not change the selection. publish()
compares the selections, so a successor that differs only there is published.
A package installed into a profile no longer replaces the package of a row
that a bundle inserts; the upgrade guide describes the patch that does.
Refs #8476
* test(app-boot): expect the bundle plugin warning to name native real paths
The warning reports directories as the native real path spells them. On
Windows that expands 8.3 short names, which the JavaScript realpath keeps, so
the expected text differed under a short-named temporary directory.
Refs #8476
* fix(app-boot): select shipped peers and preset rows for bundle plugins
A bundle that declares a row's package under peerDependencies selects the
package the running installation ships, so a development bundle linked into
a profile keeps running its row from the host's package, as its own imports
do. Any other row still selects the nearest package above its bundle.
The rows an inserted row lists under config.plugins, as an agent preset
does, count as rows of the bundle that inserts it. A pinned copy in the
profile therefore no longer disables a row of a built-in preset.
Each package name is looked up once per bundle.
* fix(app-boot): bind bundle plugin rows to the bundle that declares them
A plugin row now resolves from the first bundle that inserts it and
declares the package under dependencies or optionalDependencies. The
resolution stores the package name and the bundle directory only: binding
reads one manifest per bundle and looks no package up. A request for a
bound name from the profile directory resolves again as an import of that
bundle does, from the real path of the bundle's manifest, so a source
launch keeps mapping workspace packages to their sources.
A row whose bundle declares the package as a peer, as a development
dependency, or not at all is not bound and keeps the lookup of the profile
directory. A bound row does not fall back to that lookup.
Two bundles that bind one name and reach different copies add a warning;
only such names are resolved while binding.
* fix(app-boot): read the rows of a group named without the group marker
The group plugin mounts its array configuration as rows whether or not the
row carries the `group` marker, and the compatibility admission already
visits those rows. Binding now reads them too, for `cordis:group` and
`@deepseek-ai/cordis-plugin-group`, so a bundle's row inside such a group
resolves from that bundle.
* perf(app-boot): compare bundle plugin copies only for differing ranges
Two bundles that bind one plugin package name and declare the same range
for it are taken to reach the same copy, so binding no longer resolves the
package from both. Only bundles whose declared ranges differ are compared
on disk and can record a warning. The shipped `web` profile, whose two
bundles insert 22 rows of the same names, now reads two manifests while
binding instead of making 90 file-system calls.
* feat(app-boot): print bundle plugin warnings when dsh starts a profile
`reportBundlePluginWarnings` prints each recorded warning to stderr, as
`reportSkippedBundles` does for skipped bundles, and the `dsh` launcher
calls it once after it computes the runtime resolution. A resolution
recomputed while the application runs still only records its warnings.
The shared context menu now publishes the instance id of the element that
opened it. Session and Workspace rows pass one id to their gesture trigger
and their button, and pin their menu state only while that id is the
opener, so the conversation title's menu for the same Session leaves the
sidebar row unchanged.
Refs #9000
Co-authored-by: winewill <324803222+winewill@users.noreply.github.com>
The seven connectors' titles named the package kind next to the app:
"飞书插件", "Feishu plugin", "Complemento de Feishu". The Plugins page
and the Connectors tab already say what their entries are, so each
title is now the app's name alone in the eight shipped languages:
飞书, 企业微信, 钉钉, 腾讯会议 and 腾讯文档 in Chinese; Feishu, WeCom,
DingTalk, Tencent Meeting and Tencent Docs in the other seven; Notion
and Linear in all eight.
The Connectors tab keeps its own copy of the 56 titles, and the copy
follows. The tab's Install and Open buttons, its switches and its
switch failure line name the connector by this title, and so does each
card's View button on the Plugins page. Sentences that say "the Feishu
plugin" stay as they are: the activation text, the model guidance, the
skills, the package descriptions and the READMEs.
The tab's unit expectations, its Web e2e spec and expected output, and
the seven connection e2e specs follow the new titles.
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.
- 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.
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.
Replay the skill description the Office skill now ships, assert the renamed tools in the SDK and Web profile catalogs, and keep the shipped tool order alphabetical.
Rename dsh-tool-office to dsh-tool-document and office_render/convert/recalculate to document_*, keep the old names readable for pre-rename Sessions, and fix the Poppler page-count forgery, per-run pdfinfo, and real-Poppler test provider reported in review.
Refs #9015