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.
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.
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
#8981 adds the registry to dsh-base switched off; Desktop enables it to
select each Session agent's preset, while the SDK composes its agent rows
directly.
The agent row comparison flattened cordis:group rows without their
disabled field, so the members of a disabled group still read as
enabled. Combine the group's value into each member: a disabled group
disables every member, and an expression is recorded beside the
member's own value.
Prompt sections, runtime context entries and injected messages were
keyed by name, so a reordering on one side passed although the model
reads different text. Compare the relative order of the entries both
sides share in each sequence, and of the tools, as an order layer.
* fix(headless): preserve preset selection and release closed turn state
* fix(agent-presets): report invalid preset selections and keep stored headers
Validate only agent-preset/selected records in the agentPreset projection and name the event sequence in the failure. The state and view schemas accept every header value the Session validator admits, so an empty stored header no longer fails restoration.
* fix(agent-presets): keep trusting logged preset selections
Restore the agentPreset projection, its tests, and the Agent Note consequence to their master state. Writers record non-empty preset IDs only, and Session format admission owns payload validation for stored events, so the projection does not re-validate the typed event payload.
The agent row comparison only read the rows the Desktop standard preset
declares, so an SDK row outside the preset was never compared. Compare
such a row with the Desktop host row of the same id, report an enabled
SDK row that neither side declares, and record the existing differences:
the primary runtime rows, HMR, the title request and the SDK transport.
Unevaluated !!js nodes compare as their source text.
The first-party Host inspect providers (Service, Event, Config, Runtime,
Tool) lived in a second plugin entry, `@deepseek-ai/dsh-tool-cordis/host`,
that every host composition had to mount once beside the runner. The
runner now registers them into its own inspection registry when it mounts,
mirroring the Client runner, and `tool-cordis` keeps a single entry that
registers `cordis_inspect` per preset.
- Move the providers, the live Config projection, and the generated Host
API catalog into `cordis-host-runner`; it gains the `dsh-app-boot` and
Loader dependencies that `tool-cordis` drops.
- Remove the `./host` export, its locale files, and the
`cordis-inspect-providers` rows from the Web bundle and the snapshot
compositions.
- Document the providers in the runner README and record the removed
entry point in an upgrade guide.
The SDK profile now composes runtime inspection as the Desktop standard
preset does, so its tool and agent row exceptions no longer match a
difference.
tool-fs.applyPatch no longer defaults to false: an explicit resolve step
takes the resolved edit value when a row leaves applyPatch unset. Agent
presets list complete plugin declarations with no shared parent, so this
decides the default in one place instead of on every shipped row; the
dsh-base row and the Web/Desktop standard, ptc, and cordis presets drop
their applyPatch lines, while the minimal preset and sdk-minimal keep the
tool off through edit: false. An explicit applyPatch still wins in both
directions.
The tool-fs unit tests cover the derived default and both overrides; the
read/write/edit guidance tests pin applyPatch: false because they assert
the three-tool text. subagent-agent-preset and the headless owner-local
expectations, whose tool-fs rows enable edit without applyPatch, are
refreshed and gain only the apply_patch section. The Agent Notes, tool-fs
README, tool and config catalogs, and the upgrade guide describe the
derived default and its effect on third-party tool-fs rows.
Mount the Cordis inspection registry, the Host inspect providers, and the
`cordis_inspect` tool in the sdk-app bundle so the SDK model receives the
same runtime inspection tool as the Desktop standard and Creator presets.
The SDK serves no browser, so its directory lists Host providers only.
Remove the standard-mode parity exception, record the SDK-only PTC
difference, keep pre-desktop SDK and Python compositions pinned, refresh
the affected SDK snapshots, and document the change.
The Web/Desktop ptc and cordis presets state applyPatch: true, and the
shipped PTC overlay no longer overrides the dsh-base tool-fs row, so every
shipped coding composition offers apply_patch beside edit: as a JSON tool
under native execution and as a run_code binding under PTC. The SDK and
Desktop PTC tool sets stay equal.
The SDK keyless smoke expects the apply_patch binding under the PTC
overlay, and the Web preset e2e asserts apply_patch in the cordis tool set
and the ptc run_code bindings. The shipped filesystem mutation defaults
Agent Note, the tool-fs README, and the tool catalog describe the new
defaults, and an upgrade guide records the change for 0.2.3-alpha.2.
Revert the temporary shipped default from #7698: the dsh-base tool-fs row
and the Web/Desktop standard preset state applyPatch: true again, matching
the shipped filesystem mutation defaults Agent Note, the tool-fs README,
and the tool catalog, which kept describing the enabled default.
The recording and test pins that held applyPatch: true while the default
was off are removed, since the default now supplies the same tool set; the
default tool lists in the SDK smoke and Web composition tests list
apply_patch again. team-default-enabled, recorded while the default was
off, is refreshed and gains only the apply_patch schema and guidance.
Mount the recommendation plugins in Web and Desktop and expose their skill
switch in General settings. Record card decisions as Session events and
replay decisions from older plugin records. Use English for the two skill
catalogs and retire the optional recommendations bundle.
Co-authored-by: Dudu-0223 <fsyo0223@gmail.com>
Replace the JSON string escapes of the fixture directories too, because
runtime context quotes the working directory with JSON.stringify, which
doubles Windows backslashes. Sort observed tools in code-unit order, the
order the test sorts request tool names in. Update the shipped fs mutation
defaults note, which still described a PTC tool set comparison.
The SDK PTC overlay is not shipped with @deepseek-ai/dsh and training
flips only the executor rows, so disabling workflow there would not
align any consumer. Restore the overlay, its docs, the keyless smoke
assertions, and the workflow parity exception, and drop the upgrade
guide that described the removal.
Drop the PTC comparison and its dependence on the example PTC overlay,
and with it the per-mode exception field. Compare runtime context values
and the other messages injected into the first request, after replacing
test paths and clock readings and running both sides in UTC, with the
Desktop user message reporting that zone as the GUI client does.