Repository navigation
fix(office): Office 技能不再启动桌面 Word、Excel 验证文件 - #259
Merged
Merged
Conversation
Windows 工作区沙箱里,Agent 用 COM 或 Start-Process 启动 Word 测试生成的 docx 时, Word 写不了自己的缓存与配置目录,在用户桌面弹出「无法创建工作文件」,命令一直等待。 共享规范说明不要启动桌面 Office 应用,改用校验脚本和 LibreOffice Kit 检查。 Co-Authored-By: Claude Opus 5.5 <[email protected]>
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.
Windows 工作区沙箱(workspace-write)里,命令在受限令牌下运行,TMP/TEMP 指向私有临时目录。Agent 有时会用 COM 或 Start-Process 启动 Word 来测试生成的 docx,此时 Word 写不了自己的缓存与配置目录,在用户桌面弹出「Word 无法创建工作文件,请检查临时环境变量」,命令一直等到用户点确定。
改动:Office 共享规范(skills/shared/references/common.md,文档、表格、演示、语音、视频技能共用)说明不要用命令或脚本启动 Word、Excel、PowerPoint、WPS 等桌面应用来验证文件,改用校验脚本和 LibreOffice Kit 渲染检查;需要原生应用验收时交付文件,请用户自己打开。CHANGELOG 记在 Artifact Services 未发布条目下。源码收据已刷新(保留 createdAt),审计无错误。
🤖 Generated with Claude Code