Feature/digital employees - #12
Open
Superagentsys wants to merge 7 commits into
Open
Conversation
- 数字员工 CRUD、专属技能与会话入口(OpenOcta 对标) - ask_user 交互暂停与用户提问卡片 - 知识库检索、会话删除、审批与字体/UI 修复 - 桌面构建预编译 omninova CLI 并随包打包 Co-authored-by: Cursor <cursoragent@cursor.com>
- cli job 在 Linux/macOS(Intel+ARM)/Windows 编译 omninova CLI - 产物命名 omninova-<version>-<platform>,纳入 SHA256SUMS 与 Release 资产 Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
- 删除按钮 opacity 0→0.7,颜色加深,悬停变红 - 拆分 :has 选择器,避免旧 WebView 不支持时整组规则失效导致按钮永久隐藏 Co-authored-by: Cursor <cursoragent@cursor.com>
Windows 上 Tauri 异步线程默认 ~1MiB 栈,序列化体积较大、嵌套较深的 Config 为 TOML 时会触发栈溢出导致进程闪退。改为在 Windows 下使用 8MiB 栈的专用线程执行 Config 保存;同时用 toml 序列化生成 active_workspace.toml,避免 Windows 路径反斜杠破坏 TOML,并让 expand_tilde_path 回退到 USERPROFILE。 Co-authored-by: Cursor <cursoragent@cursor.com>
v0.1.6.1 仅兜住了 Config::save() 一处。保存流程中反序列化命令入参、 setup_config_to_core 构建与 validate 配置等步骤仍跑在 Tauri 默认小栈 (~1MiB) 异步线程上,对超大且深度嵌套的 Config 做 serde (反)序列化时 仍会栈溢出 (0xC00000FD)。在 run() 最开始安装带 8MiB worker 栈的 tokio 运行时并 tauri::async_runtime::set,覆盖所有命令处理路径。 Co-authored-by: Cursor <cursoragent@cursor.com>
仅调大 tokio 异步运行时栈仍不够:Tauri 在反序列化命令入参、以及把命令 结果回传/序列化时使用 IPC/主线程,这些线程以 OS 默认栈大小创建 (PE SizeOfStackReserve,MSVC 默认约 1MiB),对超大且深度嵌套的 Config 做 serde 时仍会栈溢出 (0xC00000FD)。在 build.rs 中为 windows-msvc 目标 通过 /STACK:8388608 将可执行文件默认栈预留量提升到 8MiB;以 0 栈大小 创建的线程(主线程、Tauri/wry 内部线程、IPC 回传线程)均继承该值,覆盖 全部 Config serde 路径。 Co-authored-by: Cursor <cursoragent@cursor.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.