Let task agents use client Macs directly: bash, copy and hands
This commit is contained in:
@@ -113,10 +113,6 @@ func CheckResponse(item api.InboxItem, c api.InboxResponseCreate) (api.InboxStat
|
||||
return "", fmt.Errorf("%w: item %s: "+format, append([]any{ErrInvalid, item.Id}, args...)...)
|
||||
}
|
||||
|
||||
if item.Kind == api.ClientRun && c.Type != api.Dismiss {
|
||||
return bad("a run request is only dismissed here; runs are reported to /api/inbox/%s/runs", item.Id)
|
||||
}
|
||||
|
||||
switch c.Type {
|
||||
case api.Option:
|
||||
if !question {
|
||||
|
||||
Reference in New Issue
Block a user