diff --git a/skills/fetch_url/run.py b/skills/fetch_url/run.py index 4cd944e..5513163 100644 --- a/skills/fetch_url/run.py +++ b/skills/fetch_url/run.py @@ -44,8 +44,6 @@ try: text = raw text = re.sub(r"\n{3,}", "\n\n", text).strip() - if len(text) > 3000: - text = text[:3000] + "\n[truncated]" print(text or "[empty page]") except Exception as e: print(f"[fetch error: {e}]") diff --git a/skills/run_command/run.py b/skills/run_command/run.py index 0adb405..68cebeb 100644 --- a/skills/run_command/run.py +++ b/skills/run_command/run.py @@ -18,8 +18,6 @@ try: output += f"\n[stderr] {result.stderr}" if result.returncode != 0: output += f"\n[exit code: {result.returncode}]" - if len(output) > 2000: - output = output[:2000] + "\n[output truncated]" print(output.strip() or "[no output]") except subprocess.TimeoutExpired: print("[command timed out after 120s]")