mirror of
https://github.com/sst/opencode.git
synced 2025-08-10 00:08:05 +00:00
wip: refactoring
This commit is contained in:
parent
ed9fba99c9
commit
dfe5fd8d97
19 changed files with 97 additions and 75 deletions
|
@ -268,6 +268,7 @@ func (b *bashTool) Run(ctx context.Context, call ToolCall) (ToolResponse, error)
|
|||
}
|
||||
if !isSafeReadOnly {
|
||||
p := b.permissions.Request(
|
||||
ctx,
|
||||
permission.CreatePermissionRequest{
|
||||
SessionID: sessionID,
|
||||
Path: config.WorkingDirectory(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue