@pie-players/pie-section-player 0.3.26 → 0.3.27
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +6 -1
- package/dist/chunks/tool-annotation-toolbar-db5bfbec.js +1129 -1066
- package/dist/components/shared/section-player-runtime.d.ts +14 -4
- package/dist/components/shared/section-player-runtime.d.ts.map +1 -1
- package/dist/pie-section-player.js +5051 -4686
- package/package.json +10 -10
package/README.md
CHANGED
|
@@ -108,7 +108,7 @@ Runtime precedence is explicit:
|
|
|
108
108
|
- `runtime` values are primary for runtime fields (`assessmentId`, `playerType`, `player`, `lazyInit`, `tools`, `accessibility`, `coordinator`, `createSectionController`, `isolation`, `env`).
|
|
109
109
|
- Top-level runtime-like props remain compatibility inputs and are merged with `runtime` values. For `player`, top-level values are merged first, then `runtime.player` overrides. Nested `loaderOptions` and `loaderConfig` are also merged with the same precedence.
|
|
110
110
|
- Toolbar placement overrides (`enabled-tools`, `item-toolbar-tools`, `passage-toolbar-tools`) are normalized on top of the runtime tools config.
|
|
111
|
-
- Tool configuration validation is
|
|
111
|
+
- Tool configuration validation is canonical in toolkit initialization (`pie-assessment-toolkit`), including toolbar overlays. Use `runtime.toolConfigStrictness` (`off` | `warn` | `error`) to control warning-only vs fail-fast behavior.
|
|
112
112
|
- TTS provider config must use `tools.providers.textToSpeech` (canonical). `tools.providers.tts` is rejected by validation.
|
|
113
113
|
- Host tool overrides are additive:
|
|
114
114
|
- `toolRegistry` overrides the default toolbar registry when provided
|
|
@@ -284,6 +284,11 @@ Section-player owned canonical stream:
|
|
|
284
284
|
- `pie-section-composition-changed`
|
|
285
285
|
- `pie-section-runtime-error`
|
|
286
286
|
|
|
287
|
+
Framework boundary stream (from toolkit, re-emitted through section-player wrappers):
|
|
288
|
+
|
|
289
|
+
- `framework-error` (canonical)
|
|
290
|
+
- `runtime-error` (compatibility signal)
|
|
291
|
+
|
|
287
292
|
If toolkit is mounted, toolkit lifecycle events are emitted on a separate
|
|
288
293
|
`pie-toolkit-*` stream. This separation avoids semantic overlap; bridge dedupe
|
|
289
294
|
is a defensive safety net only.
|