-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Open
Labels
type: bugSomething isn't workingSomething isn't working
Description
Quick Summary
Environment & Tools
- **PicoClaw Version: v0.1.2-222-gec6da7a (git: ec6da7a)
- **Go Version: go1.25.7
- **AI Model & Provider: Qwen
- **Operating System: macOS 26.3
- **Channels: 无
这个 guardCommand 方法的判断是不是有bug, shell.go 259-259 ,这个方法报的错误 "Command blocked by safety guard (path outside working dir)"
我传入参数 command 值是 "node scripts/smtp.js send --to xxxxx@qq.com --subject "Picoclaw测试邮件" --body "这是一封来自picoclaw的测试邮件,用于验证邮件发送功能是否正常工作。"" , cwd 值是 "/Users/zhuzhiwu/.picoclaw/workspace/skills/imap-smtp-email" ,
我的Workspace 目录是 "/Users/zhuzhiwu/.picoclaw/workspace"
这个 restrictToWorkspace 变量的意义是否是指 命令行执行必须限制在配置的 Workspace 当前目录下,即使是 Workspace 的子目录也是不允许的 ?
如果是的话,请直接关闭这个issue。

Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
type: bugSomething isn't workingSomething isn't working