sync: claim removal fix, auto-crawl email, progress bar, search optimization

- Fix claim removal request flow
- Add email notification on auto-crawl skill discovery
- Add progress bar component
- Optimize Meilisearch sync and search indexing
- Improve skill parser and queries

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
airano
2026-02-22 04:58:01 +03:30
parent b05cb21a65
commit 0713607693
15 changed files with 352 additions and 14 deletions

View File

@@ -23,6 +23,7 @@ const MAX_NAME_LENGTH = 64;
*/
function sanitizeUtf8(input: string): string {
// Remove null bytes and C0 control characters (except \t \n \r)
// eslint-disable-next-line no-control-regex
let result = input.replace(/[\x00-\x08\x0B\x0C\x0E-\x1F]/g, '');
// Encode to buffer and decode back to strip invalid sequences
result = Buffer.from(result, 'utf8').toString('utf8');