"CLI-Anything: Making ALL Software Agent-Native" -- CLI-Hub: https://clianything.cc/
Python
fix: v2.4.6 — all 6 Copilot review fixes
Juan Jose Sanchez Bernal7350287dce4b
diff --git a/n8n/agent-harness/cli_anything/n8n/utils/repl_skin.py b/n8n/agent-harness/cli_anything/n8n/utils/repl_skin.pyindex c9419593e..24c78aa91 100644--- a/n8n/agent-harness/cli_anything/n8n/utils/repl_skin.py+++ b/n8n/agent-harness/cli_anything/n8n/utils/repl_skin.py@@ -1,591 +1,135 @@-"""cli-anything REPL Skin — Unified terminal interface for all CLI harnesses.--Copy this file into your CLI package at:- cli_anything/<software>/utils/repl_skin.py--Usage:- from cli_anything.<software>.utils.repl_skin import ReplSkin-- skin = ReplSkin("shotcut", version="1.0.0")- skin.print_banner() # auto-detects skills/SKILL.md inside the package- prompt_text = skin.prompt(project_name="my_video.mlt", modified=True)- skin.success("Project saved")- skin.error("File not found")- skin.warning("Unsaved changes")- skin.info("Processing 24 clips...")- skin.status("Track 1", "3 clips, 00:02:30")- skin.table(headers, rows)- skin.print_goodbye()-"""--import os-import sys--# ── ANSI color codes (no external deps for core styling) ──────────────--_RESET = "\033[0m"-_BOLD = "\033[1m"-_DIM = "\033[2m"-_ITALIC = "\033[3m"-_UNDERLINE = "\033[4m"--# Brand colors-_CYAN = "\033[38;5;80m" # cli-anything brand cyan-_CYAN_BG = "\033[48;5;80m"-_WHITE = "\033[97m"-_GRAY = "\033[38;5;245m"-_DARK_GRAY = "\033[38;5;240m"-_LIGHT_GRAY = "\033[38;5;250m"--# Software accent colors — each software gets a unique accent-_ACCENT_COLORS = {- "gimp": "\033[38;5;214m", # warm orange- "blender": "\033[38;5;208m", # deep orange- "inkscape": "\033[38;5;39m", # bright blue- "audacity": "\033[38;5;33m", # navy blue- "libreoffice": "\033[38;5;40m", # green- "obs_studio": "\033[38;5;55m", # purple- "kdenlive": "\033[38;5;69m", # slate blue- "shotcut": "\033[38;5;35m", # teal green- "anygen": "\033[38;5;141m", # soft violet- "novita": "\033[38;5;81m", # vivid blue (for Novita AI)- "rms": "\033[38;5;27m", # Teltonika blue-}-_DEFAULT_ACCENT = "\033[38;5;75m" # default sky blue--# Status colors-_GREEN = "\033[38;5;78m"-_YELLOW = "\033[38;5;220m"-_RED = "\033[38;5;196m"-_BLUE = "\033[38;5;75m"-_MAGENTA = "\033[38;5;176m"--# ── Brand icon ────────────────────────────────────────────────────────--# The cli-anything icon: a small colored diamond/chevron mark-_ICON = f"{_CYAN}{_BOLD}◆{_RESET}"-_ICON_SMALL = f"{_CYAN}▸{_RESET}"--# ── Box drawing characters ────────────────────────────────────────────--_H_LINE = "─"-_V_LINE = "│"-_TL = "╭"-_TR = "╮"-_BL = "╰"-_BR = "╯"-_T_DOWN = "┬"-_T_UP = "┴"-_T_RIGHT = "├"-_T_LEFT = "┤"-_CROSS = "┼"---def _strip_ansi(text: str) -> str:- """Remove ANSI escape codes for length calculation."""- import re- return re.sub(r"\033\[[^m]*m", "", text)---def _visible_len(text: str) -> int:- """Get visible length of text (excluding ANSI codes)."""- return len(_strip_ansi(text))---class ReplSkin:- """Unified REPL skin for cli-anything CLIs.-- Provides consistent branding, prompts, and message formatting- across all CLI harnesses built with the cli-anything methodology.- """-- def __init__(self, software: str, version: str = "1.0.0",- history_file: str | None = None, skill_path: str | None = None):- """Initialize the REPL skin.-- Args:- software: Software name (e.g., "gimp", "shotcut", "blender").- version: CLI version string.- history_file: Path for persistent command history.- Defaults to ~/.cli-anything-<software>/history- skill_path: Path to the SKILL.md file for agent discovery.- Auto-detected from the package's skills/ directory if not provided.- Displayed in banner for AI agents to know where to read skill info.- """- self.software = software.lower().replace("-", "_")- self.display_name = software.replace("_", " ").title()- self.version = version-- # Auto-detect skill path from package layout:- # cli_anything/<software>/utils/repl_skin.py (this file)- # cli_anything/<software>/skills/SKILL.md (target)- if skill_path is None:- from pathlib import Path- _auto = Path(__file__).resolve().parent.parent / "skills" / "SKILL.md"- if _auto.is_file():- skill_path = str(_auto)- self.skill_path = skill_path- self.accent = _ACCENT_COLORS.get(self.software, _DEFAULT_ACCENT)-- # History file- if history_file is None:- from pathlib import Path- hist_dir = Path.home() / f".cli-anything-{self.software}"- hist_dir.mkdir(parents=True, exist_ok=True)- self.history_file = str(hist_dir / "history")- else:- self.history_file = history_file-- # Detect terminal capabilities- self._color = self._detect_color_support()-- def _detect_color_support(self) -> bool:- """Check if terminal supports color."""- if os.environ.get("NO_COLOR"):- return False- if os.environ.get("CLI_ANYTHING_NO_COLOR"):- return False- if not hasattr(sys.stdout, "isatty"):- return False- return sys.stdout.isatty()-- def _c(self, code: str, text: str) -> str:- """Apply color code if colors are supported."""- if not self._color:- return text- return f"{code}{text}{_RESET}"-- # ── Banner ────────────────────────────────────────────────────────-- def print_banner(self):- """Print the startup banner with branding."""- inner = 54-- def _box_line(content: str) -> str:- """Wrap content in box drawing, padding to inner width."""- pad = inner - _visible_len(content)- vl = self._c(_DARK_GRAY, _V_LINE)- return f"{vl}{content}{' ' * max(0, pad)}{vl}"-- top = self._c(_DARK_GRAY, f"{_TL}{_H_LINE * inner}{_TR}")- bot = self._c(_DARK_GRAY, f"{_BL}{_H_LINE * inner}{_BR}")-- # Title: ◆ cli-anything · Shotcut- icon = self._c(_CYAN + _BOLD, "◆")- brand = self._c(_CYAN + _BOLD, "cli-anything")- dot = self._c(_DARK_GRAY, "·")- name = self._c(self.accent + _BOLD, self.display_name)- title = f" {icon} {brand} {dot} {name}"-- ver = f" {self._c(_DARK_GRAY, f' v{self.version}')}"- tip = f" {self._c(_DARK_GRAY, ' Type help for commands, quit to exit')}"- empty = ""-- # Skill path for agent discovery- skill_line = None- if self.skill_path:- skill_icon = self._c(_MAGENTA, "◇")- skill_label = self._c(_DARK_GRAY, " Skill:")- skill_path_display = self._c(_LIGHT_GRAY, self.skill_path)- skill_line = f" {skill_icon} {skill_label} {skill_path_display}"-- print(top)- print(_box_line(title))- print(_box_line(ver))- if skill_line:- print(_box_line(skill_line))- print(_box_line(empty))- print(_box_line(tip))- print(bot)- print()-- # ── Prompt ────────────────────────────────────────────────────────-- def prompt(self, project_name: str = "", modified: bool = False,- context: str = "") -> str:- """Build a styled prompt string for prompt_toolkit or input().-- Args:- project_name: Current project name (empty if none open).- modified: Whether the project has unsaved changes.- context: Optional extra context to show in prompt.-- Returns:- Formatted prompt string.- """- parts = []-- # Icon- if self._color:- parts.append(f"{_CYAN}◆{_RESET} ")- else:- parts.append("> ")-- # Software name- parts.append(self._c(self.accent + _BOLD, self.software))-- # Project context- if project_name or context:- ctx = context or project_name- mod = "*" if modified else ""- parts.append(f" {self._c(_DARK_GRAY, '[')}")- parts.append(self._c(_LIGHT_GRAY, f"{ctx}{mod}"))- parts.append(self._c(_DARK_GRAY, ']'))-- parts.append(self._c(_GRAY, " ❯ "))-- return "".join(parts)-- def prompt_tokens(self, project_name: str = "", modified: bool = False,- context: str = ""):- """Build prompt_toolkit formatted text tokens for the prompt.-- Use with prompt_toolkit's FormattedText for proper ANSI handling.-- Returns:- list of (style, text) tuples for prompt_toolkit.- """- accent_hex = _ANSI_256_TO_HEX.get(self.accent, "#5fafff")- tokens = []-- tokens.append(("class:icon", "◆ "))- tokens.append(("class:software", self.software))-- if project_name or context:- ctx = context or project_name- mod = "*" if modified else ""- tokens.append(("class:bracket", " ["))- tokens.append(("class:context", f"{ctx}{mod}"))- tokens.append(("class:bracket", "]"))-- tokens.append(("class:arrow", " ❯ "))-- return tokens-- def get_prompt_style(self):- """Get a prompt_toolkit Style object matching the skin.-- Returns:- prompt_toolkit.styles.Style- """- try:- from prompt_toolkit.styles import Style- except ImportError:- return None-- accent_hex = _ANSI_256_TO_HEX.get(self.accent, "#5fafff")-- return Style.from_dict({- "icon": "#5fdfdf bold", # cyan brand color- "software": f"{accent_hex} bold",- "bracket": "#585858",- "context": "#bcbcbc",- "arrow": "#808080",- # Completion menu- "completion-menu.completion": "bg:#303030 #bcbcbc",- "completion-menu.completion.current": f"bg:{accent_hex} #000000",- "completion-menu.meta.completion": "bg:#303030 #808080",- "completion-menu.meta.completion.current": f"bg:{accent_hex} #000000",- # Auto-suggest- "auto-suggest": "#585858",- # Bottom toolbar- "bottom-toolbar": "bg:#1c1c1c #808080",- "bottom-toolbar.text": "#808080",- })-- # ── Messages ──────────────────────────────────────────────────────-- def success(self, message: str):- """Print a success message with green checkmark."""- icon = self._c(_GREEN + _BOLD, "✓")- print(f" {icon} {self._c(_GREEN, message)}")-- def error(self, message: str):- """Print an error message with red cross."""- icon = self._c(_RED + _BOLD, "✗")- print(f" {icon} {self._c(_RED, message)}", file=sys.stderr)-- def warning(self, message: str):- """Print a warning message with yellow triangle."""- icon = self._c(_YELLOW + _BOLD, "⚠")- print(f" {icon} {self._c(_YELLOW, message)}")-- def info(self, message: str):- """Print an info message with blue dot."""- icon = self._c(_BLUE, "●")- print(f" {icon} {self._c(_LIGHT_GRAY, message)}")-- def hint(self, message: str):- """Print a subtle hint message."""- print(f" {self._c(_DARK_GRAY, message)}")-- def section(self, title: str):- """Print a section header."""- print()- print(f" {self._c(self.accent + _BOLD, title)}")- print(f" {self._c(_DARK_GRAY, _H_LINE * len(title))}")-- # ── Status display ────────────────────────────────────────────────-- def status(self, label: str, value: str):- """Print a key-value status line."""- lbl = self._c(_GRAY, f" {label}:")- val = self._c(_WHITE, f" {value}")- print(f"{lbl}{val}")-- def status_block(self, items: dict[str, str], title: str = ""):- """Print a block of status key-value pairs.-- Args:- items: Dict of label -> value pairs.- title: Optional title for the block.- """- if title:- self.section(title)-- max_key = max(len(k) for k in items) if items else 0- for label, value in items.items():- lbl = self._c(_GRAY, f" {label:<{max_key}}")- val = self._c(_WHITE, f" {value}")- print(f"{lbl}{val}")-- def progress(self, current: int, total: int, label: str = ""):- """Print a simple progress indicator.-- Args:- current: Current step number.- total: Total number of steps.- label: Optional label for the progress.- """- pct = int(current / total * 100) if total > 0 else 0- bar_width = 20- filled = int(bar_width * current / total) if total > 0 else 0- bar = "█" * filled + "░" * (bar_width - filled)- text = f" {self._c(_CYAN, bar)} {self._c(_GRAY, f'{pct:3d}%')}"- if label:- text += f" {self._c(_LIGHT_GRAY, label)}"- print(text)-- # ── Table display ─────────────────────────────────────────────────-- def table(self, headers: list[str], rows: list[list[str]],- max_col_width: int = 40):- """Print a formatted table with box-drawing characters.-- Args:- headers: Column header strings.- rows: List of rows, each a list of cell strings.- max_col_width: Maximum column width before truncation.- """- if not headers:- return-- # Calculate column widths- col_widths = [min(len(h), max_col_width) for h in headers]- for row in rows:- for i, cell in enumerate(row):- if i < len(col_widths):- col_widths[i] = min(- max(col_widths[i], len(str(cell))), max_col_width- )-- def pad(text: str, width: int) -> str:- t = str(text)[:width]- return t + " " * (width - len(t))-- # Header- header_cells = [- self._c(_CYAN + _BOLD, pad(h, col_widths[i]))- for i, h in enumerate(headers)- ]- sep = self._c(_DARK_GRAY, f" {_V_LINE} ")- header_line = f" {sep.join(header_cells)}"- print(header_line)-- # Separator- sep_parts = [self._c(_DARK_GRAY, _H_LINE * w) for w in col_widths]- sep_line = self._c(_DARK_GRAY, f" {'───'.join([_H_LINE * w for w in col_widths])}")- print(sep_line)-- # Rows- for row in rows:- cells = []- for i, cell in enumerate(row):- if i < len(col_widths):- cells.append(self._c(_LIGHT_GRAY, pad(str(cell), col_widths[i])))- row_sep = self._c(_DARK_GRAY, f" {_V_LINE} ")- print(f" {row_sep.join(cells)}")-- # ── Help display ──────────────────────────────────────────────────-- def help(self, commands: dict[str, str]):- """Print a formatted help listing.-- Args:- commands: Dict of command -> description pairs.- """- self.section("Commands")- max_cmd = max(len(c) for c in commands) if commands else 0- for cmd, desc in commands.items():- cmd_styled = self._c(self.accent, f" {cmd:<{max_cmd}}")- desc_styled = self._c(_GRAY, f" {desc}")- print(f"{cmd_styled}{desc_styled}")- print()-- # ── Goodbye ───────────────────────────────────────────────────────-- def print_goodbye(self):- """Print a styled goodbye message."""- print(f"\n {_ICON_SMALL} {self._c(_GRAY, 'Goodbye!')}\n")-- # ── Prompt toolkit session factory ────────────────────────────────-- def create_prompt_session(self):- """Create a prompt_toolkit PromptSession with skin styling.-- Returns:- A configured PromptSession, or None if prompt_toolkit unavailable.- """- try:- from prompt_toolkit import PromptSession- from prompt_toolkit.history import FileHistory- from prompt_toolkit.auto_suggest import AutoSuggestFromHistory- from prompt_toolkit.formatted_text import FormattedText-- style = self.get_prompt_style()-- session = PromptSession(- history=FileHistory(self.history_file),- auto_suggest=AutoSuggestFromHistory(),- style=style,- enable_history_search=True,- )- return session- except ImportError:- return None-- def get_input(self, pt_session, project_name: str = "",- modified: bool = False, context: str = "") -> str:- """Get input from user using prompt_toolkit or fallback.-- Args:- pt_session: A prompt_toolkit PromptSession (or None).- project_name: Current project name.- modified: Whether project has unsaved changes.- context: Optional context string.-- Returns:- User input string (stripped).- """- if pt_session is not None:- from prompt_toolkit.formatted_text import FormattedText- tokens = self.prompt_tokens(project_name, modified, context)- return pt_session.prompt(FormattedText(tokens)).strip()- else:- raw_prompt = self.prompt(project_name, modified, context)- return input(raw_prompt).strip()+"""REPL UI — banner, prompt, colors, table formatting."""- # ── Toolbar builder ───────────────────────────────────────────────+from __future__ import annotations- def bottom_toolbar(self, items: dict[str, str]):- """Create a bottom toolbar callback for prompt_toolkit.+import json+import shutil+from typing import Any- Args:- items: Dict of label -> value pairs to show in toolbar.+import click- Returns:- A callable that returns FormattedText for the toolbar.- """- def toolbar():- from prompt_toolkit.formatted_text import FormattedText- parts = []- for i, (k, v) in enumerate(items.items()):- if i > 0:- parts.append(("class:bottom-toolbar.text", " │ "))- parts.append(("class:bottom-toolbar.text", f" {k}: "))- parts.append(("class:bottom-toolbar", v))- return FormattedText(parts)- return toolbar+# --- Colors ----# ── ANSI 256-color to hex mapping (for prompt_toolkit styles) ─────────+ORANGE = "bright_yellow"+GREEN = "green"+RED = "red"+CYAN = "cyan"+DIM = "bright_black"-_ANSI_256_TO_HEX = {- "\033[38;5;33m": "#0087ff", # audacity navy blue- "\033[38;5;35m": "#00af5f", # shotcut teal- "\033[38;5;39m": "#00afff", # inkscape bright blue- "\033[38;5;40m": "#00d700", # libreoffice green- "\033[38;5;55m": "#5f00af", # obs purple- "\033[38;5;69m": "#5f87ff", # kdenlive slate blue- "\033[38;5;75m": "#5fafff", # default sky blue- "\033[38;5;80m": "#5fd7d7", # brand cyan- "\033[38;5;208m": "#ff8700", # blender deep orange- "\033[38;5;214m": "#ffaf00", # gimp warm orange-}+# --- Banner ----# ─── Module-level wrappers ─────────────────────────────────────────────────-# n8n harness imports these as module functions. Lazy-init to avoid-# import-time filesystem side effects.--import json as _json-import click as _click+BANNER = r"""+ _ __ | (_) __ _ _ __ _ _| |_| |__ (_)_ __ __ _ _ __ | |_ _ __+ / __| | | |___ / _` | '_ \| | | | __| '_ \| | '_ \ / _` | | '_ \| | | '_ \+| (__ | | | | (_| | | | | |_| | |_| | | | | | | | (_| | | | | | |_| | | |+ \___|_|_| \__,_|_| |_|\__, |\__|_| |_|_|_| |_|\__, | |_| |_|_|_|_| |_|+ |___/ |___/+"""-_skin = None+def print_banner(base_url: str) -> None:+ click.secho(BANNER, fg=ORANGE)+ click.secho(f" Connected to: {base_url}", fg=GREEN)+ click.secho(" Type 'help' for commands, 'exit' to quit.\n", fg=DIM)-def _get_skin() -> ReplSkin:- global _skin- if _skin is None:- _skin = ReplSkin("n8n")- return _skin+# --- Output helpers ----def output(data, as_json: bool = False) -> None:- """Display data as JSON or formatted table/dict."""+def output(data: Any, as_json: bool) -> None:+ """Print data as JSON or human-readable."""if as_json:- _click.echo(_json.dumps(data, indent=2, default=str))+ click.echo(json.dumps(data, indent=2, default=str))return- skin = _get_skin()+if isinstance(data, dict):if "data" in data and isinstance(data["data"], list):- rows = data["data"]- if rows and isinstance(rows[0], dict):- headers = list(rows[0].keys())[:8]- table_rows = [[str(r.get(h, ""))[:30] for h in headers] for r in rows]- skin.table(headers, table_rows)- else:- _click.echo(_json.dumps(data, indent=2, default=str))- if data.get("nextCursor"):- skin.hint(f"Next cursor: {data['nextCursor']}")+ _print_table(data["data"])+ if "nextCursor" in data:+ click.secho(f"\n Next cursor: {data['nextCursor']}", fg=DIM)else:- for k, v in data.items():- skin.status(str(k), str(v)[:80])+ _print_dict(data)elif isinstance(data, list):if data and isinstance(data[0], dict):- headers = list(data[0].keys())[:8]- table_rows = [[str(r.get(h, ""))[:30] for h in headers] for r in data]- skin.table(headers, table_rows)+ _print_table(data)else:- _click.echo(_json.dumps(data, indent=2, default=str))+ click.echo(json.dumps(data, indent=2, default=str))else:- _click.echo(str(data))+ click.echo(str(data))+++def _print_dict(d: dict[str, Any], indent: int = 0) -> None:+ prefix = " " * indent+ for k, v in d.items():+ if isinstance(v, dict):+ click.secho(f"{prefix}{k}:", fg=CYAN)+ _print_dict(v, indent + 1)+ elif isinstance(v, list) and v and isinstance(v[0], dict):+ click.secho(f"{prefix}{k}:", fg=CYAN)+ _print_table(v)+ else:+ click.echo(f"{prefix}{click.style(str(k), fg=CYAN)}: {v}")-def error(msg: str) -> None:- _get_skin().error(msg)+def _print_table(rows: list[dict[str, Any]]) -> None:+ if not rows:+ click.secho(" (empty)", fg=DIM)+ return++ term_width = shutil.get_terminal_size().columns+ keys = list(rows[0].keys())++ # Filter out overly complex nested fields for table view+ simple_keys = [k for k in keys if not isinstance(rows[0].get(k), (dict, list))]+ if not simple_keys:+ simple_keys = keys[:5]++ col_widths = {k: len(str(k)) for k in simple_keys}+ for row in rows:+ for k in simple_keys:+ val = str(row.get(k, ""))+ col_widths[k] = min(max(col_widths[k], len(val)), 40)++ # Truncate columns if they exceed terminal width+ total = sum(col_widths.values()) + (len(simple_keys) - 1) * 3+ if total > term_width:+ max_col = max(10, term_width // len(simple_keys) - 3)+ col_widths = {k: min(v, max_col) for k, v in col_widths.items()}++ header = " | ".join(click.style(k.ljust(col_widths[k])[:col_widths[k]], fg=CYAN) for k in simple_keys)+ click.echo(header)+ click.echo("-+-".join("-" * col_widths[k] for k in simple_keys))++ # Color rules for specific columns+ color_rules = {+ "status": {"success": GREEN, "error": RED, "running": ORANGE, "waiting": CYAN},+ "active": {"True": GREEN, "False": DIM},+ }++ for row in rows:+ vals = []+ for k in simple_keys:+ v = str(row.get(k, ""))+ w = col_widths[k]+ if len(v) > w and w > 3:+ cell = v[: w - 1] + "\u2026"+ else:+ cell = v.ljust(w)[:w]+ # Apply color if column has a rule+ if k in color_rules and v in color_rules[k]:+ cell = click.style(cell, fg=color_rules[k][v])+ vals.append(cell)+ click.echo(" | ".join(vals))def success(msg: str) -> None:- _get_skin().success(msg)+ click.secho(f" OK: {msg}", fg=GREEN)-def warn(msg: str) -> None:- _get_skin().warning(msg)+def error(msg: str) -> None:+ click.secho(f" ERROR: {msg}", fg=RED, err=True)-def print_banner(url: str = "") -> None:- skin = _get_skin()- skin.print_banner()- if url:- skin.info(f"URL: {url}")+def warn(msg: str) -> None:+ click.secho(f" WARN: {msg}", fg=ORANGE)diff --git a/n8n/agent-harness/pyproject.toml b/n8n/agent-harness/pyproject.tomlnew file mode 100644index 000000000..9fdc67ab5--- /dev/null+++ b/n8n/agent-harness/pyproject.toml@@ -0,0 +1,60 @@+[build-system]+requires = ["setuptools>=68.0,<76.0", "wheel"]+build-backend = "setuptools.build_meta"++[project]+name = "cli-anything-n8n"+version = "2.4.6"+description = "CLI harness for n8n workflow automation — CLI-Anything pattern (n8n API v1.1.1)"+readme = "cli_anything/n8n/README.md"+license = {text = "MIT"}+requires-python = ">=3.10"+authors = [+ {name = "Juan Jose Sanchez Bernal", email = "[email protected]"},+]+maintainers = [+ {name = "Webcomunica Soluciones Informaticas", email = "[email protected]"},+]+keywords = ["n8n", "cli", "workflow", "automation", "cli-anything", "ai-agent"]+classifiers = [+ "Development Status :: 4 - Beta",+ "Environment :: Console",+ "Intended Audience :: Developers",+ "Intended Audience :: System Administrators",+ "Operating System :: OS Independent",+ "Programming Language :: Python :: 3",+ "Programming Language :: Python :: 3.10",+ "Programming Language :: Python :: 3.11",+ "Programming Language :: Python :: 3.12",+ "Programming Language :: Python :: 3.13",+ "Topic :: Software Development :: Libraries :: Python Modules",+ "Topic :: System :: Systems Administration",+ "Topic :: Utilities",+]+dependencies = [+ "click>=8.0.0",+ "prompt-toolkit>=3.0.0",+ "requests>=2.28.0",+]++[project.urls]+Homepage = "https://webcomunica.solutions"+Documentation = "https://optimizaconia.es"+Repository = "https://github.com/webcomunicasolutions/cli-n8n"+Issues = "https://github.com/webcomunicasolutions/cli-n8n/issues"+Changelog = "https://github.com/webcomunicasolutions/cli-n8n/blob/main/CHANGELOG.md"++[project.scripts]+cli-anything-n8n = "cli_anything.n8n.n8n_cli:main"++[tool.setuptools.packages.find]+include = ["cli_anything.*"]++[tool.setuptools.package-data]+"cli_anything.n8n" = ["skills/*.md", "README.md"]++[tool.pytest.ini_options]+markers = [+ "e2e: end-to-end tests requiring a running n8n instance",+]+testpaths = ["cli_anything/n8n/tests"]diff --git a/n8n/agent-harness/setup.py b/n8n/agent-harness/setup.pydeleted file mode 100644index 5b49056ed..000000000--- a/n8n/agent-harness/setup.py+++ /dev/null@@ -1,17 +0,0 @@-#!/usr/bin/env python3-from setuptools import setup, find_namespace_packages-with open("cli_anything/n8n/README.md", "r", encoding="utf-8") as fh:- long_description = fh.read()-setup(- name="cli-anything-n8n", version="2.4.5",- author="Juan Jose Sanchez Bernal", author_email="[email protected]",- description="CLI harness for n8n workflow automation — 55+ commands. Requires: N8N_BASE_URL, N8N_API_KEY",- long_description=long_description, long_description_content_type="text/markdown",- url="https://github.com/HKUDS/CLI-Anything",- packages=find_namespace_packages(include=["cli_anything.*"]),- python_requires=">=3.10",- install_requires=["click>=8.0.0", "requests>=2.28.0", "prompt-toolkit>=3.0.0"],- entry_points={"console_scripts": ["cli-anything-n8n=cli_anything.n8n.n8n_cli:main"]},- package_data={"cli_anything.n8n": ["skills/*.md", "README.md"]},- include_package_data=True, zip_safe=False,-)