yx_speech_to_text_flutter/.dart_tool/extension_discovery
Max 5e61eed30f feat: 新增多实例会话管理支持 v1.0.4
🎉 **重大功能更新**
- 支持同一页面多个独立的录音会话
- 每个 RecordingButton 可以有独立的 sessionId
- 智能会话切换,同一时间只有一个会话活跃

🆕 **YxAsrService 新增API**
- registerSession() - 注册新会话
- unregisterSession() - 注销会话
- startListeningForSession() - 会话级录音控制
- stopListeningForSession() - 会话级停止控制
- getResultStreamForSession() - 获取会话结果流
- getStatusStreamForSession() - 获取会话状态流
- getRegisteredSessions() - 获取所有会话列表
- getActiveSessionId() - 获取当前活跃会话

🔧 **RecordingButton 增强**
- 新增 sessionId 参数支持多实例场景
- 自动会话注册和资源清理
- 独立的流订阅机制
- 完全向后兼容

 **解决的问题**
- 同一页面多个录音按钮状态同步问题
- 识别结果精确分发到对应按钮
- 会话间状态互相干扰问题

📈 **版本升级**
- 版本号: 1.0.2 → 1.0.4
- 无破坏性更改,现有代码无需修改
2025-10-23 18:06:01 +08:00
..
README.md feat: 新增多实例会话管理支持 v1.0.4 2025-10-23 18:06:01 +08:00
vs_code.json feat: 新增多实例会话管理支持 v1.0.4 2025-10-23 18:06:01 +08:00

README.md

Extension Discovery Cache

This folder is used by package:extension_discovery to cache lists of packages that contains extensions for other packages.

DO NOT USE THIS FOLDER

  • Do not read (or rely) the contents of this folder.
  • Do write to this folder.

If you're interested in the lists of extensions stored in this folder use the API offered by package extension_discovery to get this information.

If this package doesn't work for your use-case, then don't try to read the contents of this folder. It may change, and will not remain stable.

Use package extension_discovery

If you want to access information from this folder.

Feel free to delete this folder

Files in this folder act as a cache, and the cache is discarded if the files are older than the modification time of .dart_tool/package_config.json.

Hence, it should never be necessary to clear this cache manually, if you find a need to do please file a bug.