feat(desktop): embed BoosAPI Desktop client as a subproject

Vendor the rebranded BoosAPI Desktop client (Tauri + Vue) into metapi as
a monorepo subdirectory under desktop/. Source only — node_modules,
dist, Cargo target and the upstream .git history are excluded.

desktop/ keeps its own independent Cargo workspace (desktop/src-tauri
with crates/*); it is not part of the backend boosapi crate, so a
`cargo check` at the metapi root still compiles only the backend. Build
the desktop app from desktop/src-tauri per desktop/README.md.

Note: app icons are still placeholder assets pending the final BoosAPI
logo. The updater signing keys live outside the repo and are not
included.
This commit is contained in:
boos
2026-06-22 11:32:57 +08:00
parent d9c78ecc73
commit e0a5f57793
2305 changed files with 449355 additions and 0 deletions
+22
View File
@@ -0,0 +1,22 @@
# Changelog
All notable changes to this project will be documented in this file.
## [Unreleased]
## [0.0.34] - 2026-04-15
- Added `updateThrottleMs` option (default 50ms) to throttle `updateCode` in addition to RAF-based coalescing. This reduces CPU usage in high-frequency streaming scenarios. Users can set to `0` to restore previous behavior (only RAF merging).
- Exposed `setUpdateThrottleMs(ms)` and `getUpdateThrottleMs()` on the `useMonaco` return value so the throttle can be adjusted at runtime.
- Exposed `minimalEditMaxChars` and `minimalEditMaxChangeRatio` options to control when the library falls back to full `setValue` instead of attempting minimal edits for large documents.
- Stabilized the `useMonaco()` create lifecycle so superseded creates are rejected cleanly and single-editor updates are replayed after creation commits.
- Split diff presentation helpers out of `DiffEditorManager` into focused modules for appearance, hunk behavior, unchanged-region DOM, and viewport logic.
- Expanded automated coverage for diff helpers, unchanged-region behavior, lifecycle cleanup, and minimal-edit option overrides.
- Added a React + Vite example app under `examples/react-demo`.
- Added a Playwright diff smoke job to CI.
- Aligned release metadata and workflow behavior around `v*` tags.
- `clearHighlighterCache()` now resets the shared Monaco/Shiki highlighter state in addition to clearing cached entries.
### Notes
- These changes are non-breaking. To preserve original behavior, set `updateThrottleMs: 0`.