22 Commits

Author SHA1 Message Date
Xin Wang
afeaad0e4e Add image demo 2026-07-18 16:21:33 +08:00
Xin Wang
b44adfa071 Improve frontend 2026-07-18 14:29:42 +08:00
Xin Wang
6c482c275a Enhance App and Header Components with Published Status
- Add publishedMatcher and publishedRuleCount props to the App component for better runtime status tracking.
- Update Header component to display the current matching algorithm and count of enabled rules in the status menu.
- Refactor LlmConfiguration and RuleConfiguration components by removing unused props and improving layout for clarity.

These changes improve the visibility of the application's runtime status and streamline the configuration components.
2026-07-18 13:36:05 +08:00
Xin Wang
311f3388bd Update Header and Rule Configuration Components
- Adjust Header component to increase maximum width for better layout.
- Refactor RuleConfiguration component by removing unused elements and enhancing the layout for improved user experience.
- Update button accessibility and aria-labels in RuleManagement component for better screen reader support.

These changes aim to streamline the UI and improve accessibility across components.
2026-07-18 12:59:24 +08:00
Xin Wang
e17a3e44c8 Merge origin/master; keep LLM probe in refactored config UI.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-18 09:45:01 +08:00
Xin Wang
10224aee5c Refactor Rule Management and Configuration Components
- Rename RuleManagement component to RuleConfiguration for clarity.
- Introduce a new RuleConfiguration component to manage rules, LLM configurations, and matcher settings.
- Update App component to reflect the new RuleConfiguration import and adjust layout styles.
- Remove unused LLM configuration logic from RuleManagement, streamlining the component's responsibilities.
- Enhance UI elements for better user experience and accessibility.

This refactor sets the stage for improved rule and model management in the application.
2026-07-18 09:31:17 +08:00
Xin Wang
ead0abdd0b llm can run now 2026-07-18 09:05:56 +08:00
Xin Wang
c23ef80d3a Integrate LLM support into the application, enhancing the rule management system with a new matcher mode. Update the frontend to handle LLM configurations, including API key management and prompt definitions. Modify the backend to support LLM event matching alongside existing keyword matching, ensuring seamless integration and improved event detection capabilities. 2026-07-17 22:18:29 +08:00
Xin Wang
4caa9e9ee8 Add matcher mode selection to RuleManagement component 2026-07-17 21:33:03 +08:00
Xin Wang
62f0b5df51 Add llm matcher on frontend 2026-07-17 21:06:57 +08:00
Xin Wang
df63a39d93 Remove detailed feature list from README.md to streamline documentation. 2026-07-16 14:51:07 +08:00
Xin Wang
5ff99331c2 Auto generate id instead of manually input 2026-07-16 14:18:43 +08:00
Xin Wang
af70358686 Redesign frontend 2026-07-16 13:58:44 +08:00
Xin Wang
69896460cb Hook up frontend-redesign and backend 2026-07-16 13:15:42 +08:00
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