CommandCodeAI / CommandCodeAI/command-code

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

Đang mở
#568 0 bình luận 2 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Ngôn ngữ chính
Không có dữ liệu ngôn ngữ
Star
4k
Fork
350
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Hướng nghiên cứu

Không có tệp hoặc bài kiểm thử nào được nêu tên. Hãy bắt đầu bằng cách lần theo điểm vào cmdc taste và tab Studio Taste, sau đó theo dõi cách list --remote đọc các package và cách các thẻ package hoặc chế độ xem chi tiết được render. Công việc được hoàn thành khi người dùng đã xác thực có thể xóa một package remote đã chọn thông qua cả hai kênh, với package đó được xóa khỏi các danh sách remote.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
cli
Lĩnh vực
cli, web-dev
Loại issue
Tính năng
Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức độ hoạt động
Ít trao đổi
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
48/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.