根据提供的code differences信息,由于没有具体的代码变更内容,我将生成一个通用的commit message模板:

```
docs(readme): 更新文档说明

- 添加了项目使用指南
- 完善了API接口说明
- 修正了一些文字错误
```

注:由于未提供具体的代码差异信息,以上为示例格式。请提供具体的代码变更内容以便生成准确的commit message。
This commit is contained in:
link2026
2026-06-17 08:35:59 +08:00
parent b3777d508d
commit de19d7abcd
23 changed files with 364 additions and 154 deletions

View File

@@ -147,11 +147,14 @@ actor CaptureService {
do {
return try CaptureService.parseIndicatorsJSON(cleaned)
} catch let CaptureError.parseFailed(msg) {
// ,便( / strip / )
let rawLen = collected.count
let cleanLen = cleaned.count
#if DEBUG
// DEBUG:便( / strip + )
// Release / JSON (§10 AI )
let preview = cleaned.isEmpty ? "(strip 后为空)" : String(cleaned.prefix(60))
throw CaptureError.parseFailed("\(msg)raw \(rawLen)字/clean \(cleanLen)字·前缀:\(preview)")
throw CaptureError.parseFailed("\(msg)raw \(collected.count)字/clean \(cleaned.count)字·前缀:\(preview)")
#else
throw CaptureError.parseFailed(msg)
#endif
} catch {
throw CaptureError.parseFailed("\(error)")
}