Plugins can now do through the SDK what they did with direct native calls.
The SDK checks plugin shutdown, so these APIs can move to an isolated
plugin context later.
- api.pty opens shell sessions. pty_open accepts an optional channel.
A channel session sends its output as raw bytes to its own webview
and sends no pty-data or pty-exit events. Without a channel, the
events stay, so the released Terminal plugin keeps working. The host
closes the open sessions of a plugin when the plugin stops.
- api.files gives folder grants. The user selects the folder, the
host keeps the grants of each plugin in its retained data, and the
plugin uses an opaque grant ID. The host rejects names with folder
parts, links, and files over the size limit. Sidecar JSON files
replace the per-image settings commands.
- api.services lets one plugin offer data to another plugin in the
same window. The host copies arguments and results.
- The folder methods of api.backgrounds are deprecated. They stay for
released Background Slideshow versions.
- The plugin reference lists the native calls of each plugin and the
SDK member that replaces each call.
The formula engine, the rendered results, and the formula help now
come from src/lib/formulas/. The editor and the renderer call this
module directly. The tableFormulas contribution type is removed.
- Add the tableFormulas general setting (default on) and a switch in
Settings > General. When it is off, formulas show as source text.
- Do not load an installed runestone.table-formulas package. Settings
> Plug-ins marks it as included with RuneStone and tells the user
that it can be removed. The user's files stay in place.
- Translate the formula help and the error descriptions into French,
Japanese, and Simplified Chinese.
- Port the plugin unit tests. Test the setting and use a test-only
contribution for the generic plugin lifecycle tests.
- Smoke tests load only Terminal. The formula and lifecycle tests use
the built-in feature and its setting.
- Remove scripts/buildPlugins.mjs, the build:plugins script, and the
plugin-packages requirement of the smoke runner.
- Remove RuneStone_Table_Formulas from the menu audit scope. It had no
menu surfaces.
- Update the README, the user guides, and the developer references.
Unit tests go to tests/unit/<area>/, browser smoke tests to
tests/smoke/<area>/, and tests against a running desktop app to
tests/native/. Files named after dates, work passes, or Kanban cards get
feature names, for example editorOctober12 -> editor/footnotes.
scripts/ keeps the build, release, and package tools. Plugin repositories
import scripts/packagePlugin.mjs, and the Terminal smoke test imports
scripts/pluginMocks.mjs, which now re-exports the harness copy.
The unit tests get their own type check (tests/tsconfig.json) with Node
types. pnpm check runs it after the app check. Add @types/node and fix
the three test mocks that it reported.