Let the Office kit trust the argument rules its model-facing tool already enforces, and stop validating PNG chunk structure the splitter inherently depends on.
Drop the pdfinfo size precheck so a render starts one pdfinfo and one pdftoppm per run of consecutive pages, register the Office toolviews as literal keys so the client slot catalog lists every name, and align the Office notes with the document tool names.
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
Add a renderer option to office_render and a per-type renderer order to the Office kit. PDFs use Poppler pdfinfo/pdftoppm through piped short-lived subprocesses when available, falling back to LibreOffice only when Poppler is unavailable.
Refs #9015
* feat(ci): check whitespace in each pull request's changes
The static lane runs the pre-commit hook's git diff --check over the range
from the merge base with the base branch to the pull request head, before
dependencies are installed. Base-branch commits merged into the pull request
are outside that range.
* test(ci): match the checkout step without an untyped asymmetric matcher
expect.stringMatching returns any, which the type-aware lint rejects as an
unsafe assignment inside the expected object.
The spec passes with the FormData upload on the supported Node.js range and
is the check that fails when a bundled undici reintroduces the unhandled
rejection.
Determine leading separators from registrations that render menu rows, not the position of an item wrapper. Cover live registration changes in the real More menu and link list item roots from the renderer package docs.
Group each selected list registration under one layout-neutral item, including a fixed only selection. Preserve registration identity and distinguish an empty component from a missing row. Adapt the affected panel, settings and toolbar consumers without changing other slot kinds.
BREAKING CHANGE: CSS selectors and DOM queries that cross a rendered list entry must account for its data-slot-item root.
The gate only needs the generated typert.host.js text to count runtime
imports, but it built WorkspaceTypertGenerator without options, so the
default checkDiagnostics pass created one TypeScript program per
contributor package and ran semantic diagnostics over each. That was
most of the gate's 252 s.
The build plugin and every other generator call site already leave
diagnostics to the repository typecheck, which covers scripts/**/*.ts
through tsconfig.host.json.
Refs #9030
An installed connector's row shows the Switch primitive in place of the
"Installed" and "Enabled" texts; the switch is on while the connector is
enabled. The tab's controller calls `pluginManager.setBundleEnabled`,
keeps the switch disabled through the read that follows the write, and
names the connector in one line under the heading when the Host refuses or
fails the change. The rest of the row still opens the connector's page,
and a missing connector keeps its Install button.
The dictionaries drop the two state entries and gain the failure line in
the eight shipped languages; the switch takes the connector's title as its
name. The tab's switch shows no account guidance or restart notice and
sends no `plugin_toggle` event: the README pair lists this as a
limitation, and the Agent Note states the row and the rejected
alternative as they now are.
The bundle preview draws switches in its four installed rows, and the unit
tests, the Web e2e, and its expected output follow the switch.
The agent/pre-step listener now derives the browser time-zone context
from the timeContext projection's zones for the latest entered turn plus
the step's proposed messages on every request.
The removed fallback walked the Session log backward with the deprecated
eventAt reader when a pre-step named a turn other than the latest
entered one. The only production emitter, the agent-loop preStep,
always passes the open turn, whose turn/start it appends before the
turn's first step, so the fallback ran only for direct test dispatches.
Remove the unit test that dispatched a pre-step with no turn/start and
point the zone-reset test at the open turn. Drop the README limitation
that described the fallback, and regenerate the config catalog for the
moved Config declaration line.
Mark the output of registered Factories and explicitly selected local components. Keep missing-definition fallbacks and default local content unwrapped. Select div or span at the definition, and keep existing menus, navigation, and scroll behavior across these roots.
BREAKING CHANGE: DOM queries and CSS that cross a rendered Factory or an explicitly replaced local position must account for its display: contents element.
The progress-bar rule moved into `practices.md` by #8781 pushed a
whole-reference read past the `thresholdChars: 8192` that
`standard.patch.yml` configures for the tool-result pruner. At the
e2e's 256-character install-path allowance the read is pruned in the
middle, and `web-agent-presets.e2e.ts` fails its whole-reference
assertion.
Compress the rule to one line and drop the blank line the move
introduced. The deployment prune threshold and the e2e path allowance
stay as they are: the document is what exceeded its budget.
Co-authored-by: dsh-ci-bot <dsh-ci-bot@users.noreply.github.com>
The progress-bar rule moved into `practices.md` by #8781 pushed a
whole-reference read past the `thresholdChars: 8192` that
`standard.patch.yml` configures for the tool-result pruner. At the
e2e's 256-character install-path allowance the read is pruned in the
middle, and `web-agent-presets.e2e.ts` fails its whole-reference
assertion.
Compress the rule to one line and drop the blank line the move
introduced. The deployment prune threshold and the e2e path allowance
stay as they are: the document is what exceeded its budget.
* perf(session): merge short SQLite frames inside the append transaction
Live writes store one to three events per frame, so compression barely
works. When the newest short frames of a Segment reach frameEvents events,
the append transaction re-encodes them as full frames. The frames_no_delete
trigger is dropped from the unreleased schema and from existing databases.
Co-authored-by: Magolor <25860372+Magolor@users.noreply.github.com>
Co-authored-by: Kexin Liu <69756503+liukx0205@users.noreply.github.com>
* perf(session): read SQLite frame payloads only for a merge
Scan only frame ranges to decide whether the trailing short frames merge,
then read their payloads. Append decoded lines one by one so a large
frame size cannot exceed the argument limit.
Co-authored-by: Magolor <25860372+Magolor@users.noreply.github.com>
Co-authored-by: Kexin Liu <69756503+liukx0205@users.noreply.github.com>
* perf(session): cap SQLite frame merges by decoded bytes
A merge skips a run of short frames whose stored or decoded text exceeds
4 MiB, bounding how long it holds the event loop and the write lock. Tests
cover merged compression, the live event path, a failure after the merge's
delete, and large events; a seeded synthetic diagnostic measures size and
append cost. Documentation drops the one-frame-per-write wording and lists
the write stop after short-frame corruption.
Co-authored-by: Magolor <25860372+Magolor@users.noreply.github.com>
Co-authored-by: Kexin Liu <69756503+liukx0205@users.noreply.github.com>
* perf(session): store short SQLite frames uncompressed until merged
A short frame below min(64 KiB, 2 MiB / frameEvents) of JSON text is stored
as text; the merge compresses it together with its neighbours. This skips a
compression on every live append that the merge would redo, and keeps any run
of such frames within the 4 MiB merge limit.
Co-authored-by: Magolor <25860372+Magolor@users.noreply.github.com>
Co-authored-by: Kexin Liu <69756503+liukx0205@users.noreply.github.com>
* perf(session): seal short SQLite frames when a writer closes
* test(session): assert the reported seal failure without an untyped matcher
---------
Co-authored-by: Turtle <turtle1999@deepseek.com>
Co-authored-by: Magolor <25860372+Magolor@users.noreply.github.com>
Co-authored-by: Kexin Liu <69756503+liukx0205@users.noreply.github.com>
Co-authored-by: Magolor <magolor@qq.com>
#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.