Commit Graph

8 Commits

Author SHA1 Message Date
Xin Wang
d093f95197 Add frontend app and redesign prototype for rule management UI.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-16 11:24:02 +08:00
Xin Wang
64d5b82560 Add rule admin APIs with JPA persistence and AC hot reload.
Persist versioned rule documents, validate before save, seed defaults on startup, and switch the in-memory automaton only after commit.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-15 22:05:04 +08:00
Xin Wang
311bef5270 Widen citizen Final window to 5 and document monitor flow in Chinese.
Improve cut-segment recall and clarify AsrEventMonitorService behavior for local maintainers.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-15 21:55:52 +08:00
Xin Wang
af85f1c4b1 Add real-time ASR event detection API.
Wire POST /api/v1/asr-events with per-call locking, citizen Final matching, first-alert dedupe, and validation error handling.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-15 21:48:56 +08:00
Xin Wang
ed703d6f39 Add call session store with close API and TTL cleanup.
Support immediate in-memory release via POST /api/v1/calls/{callId}/close while keeping scheduled TTL as a fallback for unclosed sessions.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-15 21:43:58 +08:00
Xin Wang
31845f7796 Add domain model, text normalizer, and AC keyword matcher.
Introduce call-session contracts and Chinese-first normalization, then wire an in-memory Aho-Corasick matcher with overlap aggregation and unit coverage.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-15 21:37:11 +08:00
Xin Wang
e6a667bea5 Scaffold project foundation for ASR event monitor.
Add Maven deps, CN mirrors with DNS workaround, H2 file DB config, and empty package layout from the confirmed solution.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-15 21:16:36 +08:00
wangx
1d941f7661 Initial commit: Spring Boot demo and ASR event monitor technical solution.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-15 20:40:49 +08:00