Skip to content

fix: #482 #483 修复#497

Closed
SilenceZen wants to merge 6 commits intocodexu:devfrom
SilenceZen:fix/bug/483-delete-dir-error
Closed

fix: #482 #483 修复#497
SilenceZen wants to merge 6 commits intocodexu:devfrom
SilenceZen:fix/bug/483-delete-dir-error

Conversation

@SilenceZen
Copy link
Copy Markdown
Contributor

  • 补充i18n内容
  • 482的问题核心就是重复文件夹走到了后续的set逻辑。直接return就可以避免后续问题了

SilenceZen and others added 6 commits July 30, 2025 03:07
原因:textarea在macOS上会自动调整引号格式,导致JSON格式错误无法保存
顺带:补充AI连接测试成功提示,之前只有错误提示没有成功反馈
主要更改:
- 替换JSON textarea为键值对编辑器,避免智能引号问题
- 优化customHeaders数据处理,简化默认值逻辑
- 确保customHeaders变更触发模型列表刷新
- 添加NSAppTransportSecurity配置到Info.plist
- 设置NSAllowsArbitraryLoads允许HTTP请求
原因:Tauri 2.0 shell插件不支持打开本地路径
解决:迁移到opener插件,使用openPath替代open
- 添加tauri-plugin-opener依赖
- 更新view-directory.tsx和file-item.tsx
- 配置opener权限允许打开本地路径

参考URL:
- https://v2.tauri.app/reference/javascript/shell/
- GHSA-c9pr-q8gx-3mgp
原因:textarea在macOS上会自动调整引号格式,导致JSON格式错误无法保存
顺带:补充AI连接测试成功提示,之前只有错误提示没有成功反馈
主要更改:
- 替换JSON textarea为键值对编辑器,避免智能引号问题
- 优化customHeaders数据处理,简化默认值逻辑
- 确保customHeaders变更触发模型列表刷新
- 添加NSAppTransportSecurity配置到Info.plist
- 设置NSAllowsArbitraryLoads允许HTTP请求
@SilenceZen SilenceZen closed this Jul 30, 2025
@SilenceZen SilenceZen reopened this Jul 30, 2025
@SilenceZen SilenceZen closed this Jul 30, 2025
@SilenceZen SilenceZen force-pushed the fix/bug/483-delete-dir-error branch from f00bca2 to 4fd6502 Compare July 30, 2025 08:04
@SilenceZen SilenceZen reopened this Jul 30, 2025
@SilenceZen SilenceZen closed this Jul 30, 2025
@SilenceZen SilenceZen deleted the fix/bug/483-delete-dir-error branch July 30, 2025 08:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant