Conversation
…port Add export buttons to RoleDetailPanel and ToolDetailPanel for non-system resources. Fix resources:download handler to resolve v2 role paths from ~/.rolex/roles/<id>/ and wrap v2 ZIP contents in a roleId-prefixed directory so import correctly restores the original ID. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…n flicker On macOS, spawning process.execPath (the main Electron binary) as child processes causes each subprocess to briefly show a Dock icon. Use the Electron Helper binary instead, which has LSUIElement=true in its Info.plist and is invisible to the Dock. Also add windowsHide:true to all spawn calls for Windows. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.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.
--- Title:
feat(desktop): 角色/工具导出按钮 & macOS Dock 图标修复
Body:
改动
1. 角色/工具详情面板添加导出按钮
resources:downloadIPC,成功/失败通过 toast 提示result.success,失败时显示具体错误信息resources.actions.export/exportSuccess/exportFailed2. 修复 v2 角色导出
resources:downloadhandler 新增version参数~/.rolex/roles/<id>/目录(v1 仍走~/.promptx/resource/role/<id>/)3. macOS 子进程 Dock 图标修复
LSUIElement=true)buildOptions.spawnClaudeCodeProcess和AgentXServiceMCP server 配置在 macOS 上优先使用 Helper 二进制windowsHide: true(Windows 适用)涉及文件
RoleDetailPanel.tsxToolDetailPanel.tsxResourceListWindow.tsen.json/zh-CN.jsonindex.tsAgentXService.tsbuildOptions.tsPromptXActivationAdapter.ts