rtk-ai/rtk

feat: add vercel CLI filter — compress deploy logs, project listings

Open

#1,255 创建于 2026年4月13日

在 GitHub 查看
 (2 评论) (0 反应) (0 负责人)Rust (2,914 fork)batch import
area:clieffort-mediumenhancementgood first issueplatform:macospriority:low

仓库指标

Star
 (48,085 star)
PR 合并指标
 (平均合并 11天 1小时) (30 天内合并 45 个 PR)

描述

Problem

vercel CLI commands produce verbose output that wastes tokens in AI coding assistants.

  • vercel --yes --prod — deploy logs repeat build step output (bundling, routes, ready) that are mostly noise
  • vercel project ls — table format with padding that could be compressed

Evidence

rtk discover reports 30 vercel commands in the last 30 days (19 vercel --yes --prod, 11 vercel project ls), currently unhandled.

Suggested approach

Add a vercel filter similar to existing npm/npx filters:

  • deploy: strip ANSI, compress repeated build lines, keep final URL + status
  • project ls: compress table output
  • general: strip spinner/progress animations

Environment

  • rtk 0.30.0
  • macOS (Darwin 24.6.0)
  • Claude Code PreToolUse hook

贡献者指南