Merge main; align lint and skill practices with essential memory/history and the four graded examples
This commit is contained in:
@@ -1004,6 +1004,13 @@ func (a App) Run(ctx context.Context, args []string) error {
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
if command == "inspect" && r.RunDetail != nil {
|
||||
// Warnings are also in the JSON; stderr keeps them visible to a reader
|
||||
// of the human stream without corrupting machine-readable stdout.
|
||||
for _, warning := range r.RunDetail.Warnings {
|
||||
a.notice("warning: " + warning)
|
||||
}
|
||||
}
|
||||
return a.output(r.RunDetail)
|
||||
case "decide":
|
||||
if len(pos) < 1 || len(pos) > 2 {
|
||||
|
||||
Reference in New Issue
Block a user