dsh-live-voice-debugger 0.6.0 → 0.6.1
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/ARCHITECTURE.md +2 -0
- package/lib/client.js +1238 -806
- package/package.json +5 -1
package/ARCHITECTURE.md
CHANGED
|
@@ -6,4 +6,6 @@ The panel samples current state at a selectable 1, 2, 5, 10 or 20 Hz (default 10
|
|
|
6
6
|
|
|
7
7
|
For normal use, install the prebuilt npm package with `npx dsh plugin add --profile web dsh-live-voice-debugger`. Generated `lib/` directories are ignored and never committed. For local development, build before linking: build from the repository root with `pnpm build`, or build this package with `pnpm --filter dsh-live-voice-debugger build`. The generated client/server entries land in lib, not in the main client bundle. For local installation, add the packages/live-voice-debugger directory as a separate DSH plugin using the supported plugin manager; both the main plugin's diagnostic bridge and this plugin must be loaded. Then open Settings → Live Voice → Developer and open the separate inspector window (allow site popups if blocked). Publication is explicit through the npm workflow. Configure npm Trusted Publishing for this package with workflow publish.yml and environment npm. Select the debugger-only target when the aligned main version already exists. Publishing both packages is sequential, not atomic.
|
|
8
8
|
|
|
9
|
+
The `src/i18n` boundary uses `@wads.dev/i18n-ts` contracts and the isolated `@wads.dev/i18n-react` provider/hook. Commons, recordings and runtimes each own an alphabetized typed contract and one locale file for en, es, fr, hi, pt-BR and zh. Root locale modules compose those namespaces; `catalogs.ts` exports `Langs` with typed loaders. The package-level `i18n.config.json` maps one structural module level directly to those directories. Only `registerDshLocales.ts` flattens keys for the real DSH namespace API, registering languages/dictionaries with disposable effects. Both the settings launcher and popup use a DSH-locale boundary; no separate preference or browser locale overrides UI language. Switching locale keeps mounted inspector/recording state.
|
|
10
|
+
|
|
9
11
|
Tests deliver simulated activity, processing and final results through the real coordinator callback boundary; PCM chunks are supplied through the HTTP adapter's fake Web Audio input. They assert the same diagnostic projection that the panel reads. The panel itself never injects test events into live capture or playback.
|