@fugood/bricks-project 2.25.0-beta.38 → 2.25.0-beta.39
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/package.json
CHANGED
package/package.json.bak
CHANGED
|
@@ -15,7 +15,7 @@ Because it runs in a browser-class preview rather than on device hardware, the S
|
|
|
15
15
|
|
|
16
16
|
| Area | In the Simulator |
|
|
17
17
|
|------|------------------|
|
|
18
|
-
| BLE (Central / Peripheral),
|
|
18
|
+
| BLE (Central / Peripheral), Video Streaming | Not available |
|
|
19
19
|
| Raw network sockets — UDP, TCP, TCP Server, MQTT Broker | Not available (also why Buttress LAN discovery is a no-op — see [Buttress](buttress.md)) |
|
|
20
20
|
| Android Intent | Not available (Android-only) |
|
|
21
21
|
| On-device database **persistence** (SQLite / Vector Store) | Not available — both run in-memory in the Simulator (see caveats below), so data never survives a reload |
|
|
@@ -72,6 +72,7 @@ So that camera and AI features are usable without device permissions, multi-giga
|
|
|
72
72
|
| Brick / Generator | In the Simulator | Does NOT prove |
|
|
73
73
|
|-------------------|------------------|----------------|
|
|
74
74
|
| Camera (`BRICK_CAMERA`) | A 3D mock canvas, no camera permission prompt. `takePicture` snapshots the canvas; recording produces a placeholder clip | Real camera feed, focus, recording, permission flow |
|
|
75
|
+
| Thermal Printer (`GENERATOR_THERMAL_PRINTER`) | A simulated printer — `init` / `checkStatus` / `scan` fake per-driver status and discovered devices (ESC/POS, Star, TSC, Castles); `print` renders an approximate on-screen receipt. A bottom-left bubble shows live status with a fault toggle to exercise error wiring | Real device connection, actual paper output, exact native driver status codes |
|
|
75
76
|
| LLM (`GENERATOR_LLM`) | Swapped to a tiny local stand-in model | Output quality / latency of your real model |
|
|
76
77
|
| Reranker — GGML (`GENERATOR_RERANKER`) | Swapped to a small local multilingual reranker model | Ranking quality / latency of your real model |
|
|
77
78
|
| Speech-to-Text — GGML (`GENERATOR_SPEECH_INFERENCE`) | Swapped to a tiny local model | Accuracy / latency of your real model |
|
|
@@ -87,6 +88,8 @@ These swaps make the AI generators runnable in the Simulator for wiring checks
|
|
|
87
88
|
|
|
88
89
|
Each substituted brick/generator can be switched back to its real implementation per item: open the **gear (Simulator settings)** in the editor's preview toolbar, uncheck the item, and **Apply**. Apply persists the choice and reloads the preview so it takes effect (a plain refresh won't). Use this to, e.g., point a Vector Store at a real API key in the preview. The browser limits above still apply, and **Buttress stays disabled regardless** — there's no backend for it here.
|
|
89
90
|
|
|
91
|
+
The Thermal Printer is the exception: it has no real web implementation to switch to (the native drivers can't run in a browser), so it is **always simulated** and is not in the gear list.
|
|
92
|
+
|
|
90
93
|
## Enough vs. escalate
|
|
91
94
|
|
|
92
95
|
- **Simulator is enough for:** layout, navigation, Standby Transitions, Data wiring, Automation / state-machine happy paths, and confirming a generator fires and handles its events.
|