feat: add native Cline integration (#2508)

* test: strip ansi to make asserts work

* feat: add native Cline integration
This commit is contained in:
Pedro Barbosa
2026-06-01 13:20:48 -03:00
committed by GitHub
parent 4230685e26
commit 44aac9f6e4
14 changed files with 712 additions and 25 deletions

View File

@@ -3241,9 +3241,17 @@ def extension_add(
for warning in manifest.warnings:
console.print(f"\n[yellow]⚠ Compatibility warning:[/yellow] {warning}")
is_cline = load_init_options(project_root).get("ai") == "cline"
if is_cline:
from specify_cli.integrations.cline import format_cline_command_name
console.print("\n[bold cyan]Provided commands:[/bold cyan]")
for cmd in manifest.commands:
console.print(f"{cmd['name']} - {cmd.get('description', '')}")
cmd_name = cmd['name']
if is_cline:
cmd_name = format_cline_command_name(cmd_name)
console.print(f"{cmd_name} - {cmd.get('description', '')}")
# Report agent skills registration
reg_meta = manager.registry.get(manifest.id)