CommandCodeAI / CommandCodeAI/command-code

Allow deleting remote Taste packages from web (Studio) and CLI

未关闭
#568 0 条评论 2 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

主要语言
没有语言数据
星标
4k
派生
350
PR 合并指标
30 天内没有已合并 PR

描述

Feature Description

Holas.
There is currently no way to delete remote Taste packages (commandcode.ai/username/taste). I verified
this in two places:

  1. Web / Studio: The Taste tab in commandcode.ai/studio only lets you view, push, and pull profiles.
    Opening a remote package shows no "Delete", "Remove", or trash icon to delete it. The public view
    (/username/taste) is read-only.
  2. CLI: cmdc taste (equivalent to npx taste) only exposes push, pull, list, lint, open. There is no
    delete/rm subcommand or flag to remove a remote package.

Request: Add the ability to delete remote Taste packages in both channels:

  • In Studio: a delete button per package (on the package card and/or in the detail view).
  • In CLI: a subcommand like cmdc taste delete --remote (or rm) that removes the package from
    the remote registry.
Use Case

I have 2 old remote packages (waku-portafolio, michi-cards-final) and want to reduce them to
a single one (my global Taste). Today the only option is to overwrite with push --overwrite; I cannot
delete the remote I no longer use. This accumulates obsolete profiles and prevents keeping a single
clean remote.

Additional Context

Expected behavior:

  • In Command Code Studio (commandcode.ai/studio → Taste tab), each remote Taste package should have
    a delete/remove control (trash icon or "Delete" button) both on the package card and inside the
    package detail view, allowing the user to permanently remove a remote package.
    • The CLI should provide a delete subcommand, e.g. cmdc taste delete --remote (or rm),
      that removes a package from the remote registry (commandcode.ai/username/taste).
    • A user should be able to reduce their remote Taste packages to a single one (e.g. their global
      Taste) by deleting the obsolete ones.

Actual behavior:

  • Studio's Taste tab only supports viewing, pushing, and pulling profiles. Opening a remote package
    shows no delete/remove option — the public view (/username/taste) is read-only.
    • cmdc taste --help lists only push, pull, list, lint, open. There is no delete/rm subcommand or
      flag to remove a remote package.
    • cmdc taste list --remote lists remote packages but offers no way to delete them.
    • The only available action is cmdc taste push --all --remote --overwrite, which overwrites an
      existing package but cannot remove a remote package the user no longer wants (e.g. old
      waku-portafolio and michi-cards-final packages remain in the registry with no deletion path).

Steps to reproduce:

  1. cmdc taste list --remote → lists remote packages with no delete option.
  2. cmdc taste --help → no delete command listed.
  3. Studio → Taste → open a package → no delete option.
How important is this to you?

Important for my workflow

贡献指南

这个仓库没有索引到贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

调研方向

未指定文件或测试。先跟踪 cmdc taste 入口点和 Studio Taste 标签页,然后了解 list --remote 如何读取软件包,以及软件包卡片或详情视图如何渲染。完成标准是:经过身份验证的用户可以通过两种渠道删除选定的远程软件包,并且该软件包已从远程列表中移除。

由索引模型根据 Issue 内容生成。

评估

技术栈
cli
领域
cli, web-dev
Issue 类型
功能
难度
4/5
预计耗时
3-5 天
活跃度
冷清
描述清晰度
基本清楚
新手友好度
48/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。