feat: release 2.0.5

This commit is contained in:
zhayujie
2026-04-01 12:24:21 +08:00
parent 174ee0cafc
commit b058af122c
18 changed files with 267 additions and 269 deletions

View File

@@ -753,7 +753,8 @@ def _list_remote(page: int = 1):
nav_parts.append(f"cow skill list --remote --page {page + 1}")
if nav_parts:
click.echo(f" Navigate: {' | '.join(nav_parts)}")
click.echo(f" Install: cow skill install <name>\n")
click.echo(f" Install: cow skill install <name>")
click.echo(f" Browse: https://skills.cowagent.ai\n")
# ------------------------------------------------------------------
@@ -880,6 +881,15 @@ def _route_install(name: str, result: InstallResult):
_install_hub(skill_name, result, provider="clawhub")
return
# --- linkai: prefix ---
if name.startswith("linkai:"):
skill_code = name[7:]
# LinkAI codes can be mixed-case alphanumeric; validate loosely
if not re.match(r"^[a-zA-Z0-9_\-]{1,128}$", skill_code):
raise SkillInstallError(f"Invalid LinkAI skill code '{skill_code}'.")
_install_hub(skill_code, result, provider="linkai")
return
# --- owner/repo or owner/repo#subpath shorthand ---
if re.match(r"^[a-zA-Z0-9_\-]+/[a-zA-Z0-9_.\-]+(?:#.+)?$", name):
subpath = None