| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
fix: add dispose method to prevent abort listener leak (#12269) * fix: add dispose method to prevent abort listener leak Add dispose() method to StreamAbortController that explicitly removes the abort event listener when stream ends normally. Previously, the listener would only be removed when abort was triggered ({ once: true }), but if the stream completed normally without abort, the listener would remain attached until garbage collection. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com> * chore: format code 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com> --------- Co-authored-by: Claude <noreply@anthropic.com> | 7 个月前 | |
fix(ovms): add platform check to prevent errors on non-Windows systems (#12125) * fix(ovms): make ovms manager windows-only and lazy load it Add platform check in OvmsManager constructor to throw error on non-Windows platforms Lazy load ovmsManager instance and handle IPC registration only on Windows Update will-quit handler to conditionally cleanup ovms resources * feat(preload): add windows-only OVMS API and improve type safety Extract OVMS API methods into a separate windowsOnlyApi object for better organization Add explicit return type for getDeviceType method * feat(system): add system utils and refine ovms support check - Add new system utility functions for device type, hostname and CPU name - Refactor OVMS support check to require both Windows and Intel CPU - Update IPC handlers to use new system utils and provide proper OVMS fallbacks * Revert "feat(preload): add windows-only OVMS API and improve type safety" This reverts commit d7c5c2b9a45c45e79a817651f3c30bf8984bce02. * feat(ovms): add support check for ovms provider Add new IPC channel and handler to check if OVMS is supported on the current system. This replaces the previous device type and CPU name checks with a more maintainable solution. * fix(OvmsManager): improve intel cpu check for ovms manager Move isOvmsSupported check before class definition and update error message to reflect intel cpu requirement * fix: use isOvmsSupported flag for ovms cleanup check Replace platform check with feature flag to properly determine if ovms cleanup should run * fix: improve warning message for undefined ovmsManager * fix(system): handle edge cases in getCpuName function Add error handling and null checks to prevent crashes when CPU information is unavailable * feat(runtime): add ovms support check during app init Add isOvmsSupported state to runtime store and check support status during app initialization. Move ovms support check from ProviderList component to useAppInit hook for centralized management. | 7 个月前 | |
feat(baichuan):add baichuan models (#12364) Co-authored-by: roberto <roberto@baichuan-inc.com> | 7 个月前 |