mirror of
https://github.com/bendtherules/opencode-multi-model.git
synced 2026-08-18 13:42:21 +00:00
fix: remote argument schema
Removed unnecessary union wrapper for the `remote` argument, now using a direct string schema with optional flag and updated description.
This commit is contained in:
@@ -15,13 +15,7 @@ Arguments:
|
|||||||
- \`noRemote\` (boolean, optional): When true, only delete local tags and do not push deletions to any remote.`,
|
- \`noRemote\` (boolean, optional): When true, only delete local tags and do not push deletions to any remote.`,
|
||||||
args: {
|
args: {
|
||||||
remote: tool.schema
|
remote: tool.schema
|
||||||
.union([
|
.string()
|
||||||
tool.schema
|
|
||||||
.string()
|
|
||||||
.describe(
|
|
||||||
"Remote name to push deletions to. Error if doesn't exist.",
|
|
||||||
)
|
|
||||||
])
|
|
||||||
.optional()
|
.optional()
|
||||||
.describe(
|
.describe(
|
||||||
"Remote handling: string=specific remote, undefined=first available remote",
|
"Remote handling: string=specific remote, undefined=first available remote",
|
||||||
|
|||||||
Reference in New Issue
Block a user