mirror of
https://github.com/aljazceru/opencode.git
synced 2025-12-20 01:04:22 +01:00
Upgrade to Zod v4 (#2605)
Co-authored-by: GitHub Action <action@github.com>
This commit is contained in:
@@ -47,6 +47,7 @@ type Command struct {
|
||||
Agent string `json:"agent"`
|
||||
Description string `json:"description"`
|
||||
Model string `json:"model"`
|
||||
Subtask bool `json:"subtask"`
|
||||
JSON commandJSON `json:"-"`
|
||||
}
|
||||
|
||||
@@ -57,6 +58,7 @@ type commandJSON struct {
|
||||
Agent apijson.Field
|
||||
Description apijson.Field
|
||||
Model apijson.Field
|
||||
Subtask apijson.Field
|
||||
raw string
|
||||
ExtraFields map[string]apijson.Field
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user