#[allow(clippy::wildcard_imports)]
use super::*;
#[allow(clippy::too_many_lines)]
pub(super) fn descriptors() -> Vec<ToolDescriptor> {
vec![
ToolDescriptor {
name: "export_issues",
description: "Mirror local issues to GitLab or Linear via the CLI tool (`glab`/`linear-cli`), or write them into a beads workspace through the `bd` CLI (`--target beads`); idempotent.",
input_schema: json!({
"type": "object",
"additionalProperties": false,
"properties": {
"target": { "type": "string", "enum": ["gitlab", "linear", "beads"] },
"project": { "type": "string", "description": "Optional `--project` override." },
"dry_run": { "type": "boolean", "description": "Do not invoke the external CLI." }
},
"required": ["target"]
}),
},
ToolDescriptor {
name: "import_issues",
description: "Pull open remote issues from GitLab or Linear via the CLI tool, mirror a local GitHub Spec Kit project (`--target speckit`), or pull a beads workspace through the `bd` CLI (`--target beads`); idempotent.",
input_schema: json!({
"type": "object",
"additionalProperties": false,
"properties": {
"target": { "type": "string", "enum": ["gitlab", "linear", "speckit", "beads"] }
},
"required": ["target"]
}),
},
]
}