CommandCodeAI / CommandCodeAI/command-code

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

Aperta
#568 0 commenti 2 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Lingua principale
Nessun dato sulla lingua
Stelle
4k
Fork
350
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Direzione di ricerca

Non vengono indicati file o test. Inizia tracciando il punto di ingresso cmdc taste e la scheda Studio Taste, quindi segui il modo in cui list --remote legge i pacchetti e in cui vengono renderizzate le schede dei pacchetti o le viste di dettaglio. Il lavoro è completato quando un utente autenticato può eliminare un pacchetto remoto selezionato attraverso entrambi i canali e il pacchetto è stato rimosso dagli elenchi remoti.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
cli
Ambito
cli, web-dev
Tipo di issue
Funzionalità
Difficoltà
4/5
Tempo stimato
3-5 giorni
Stato di attività
Tranquilla
Chiarezza
Abbastanza chiara
Idoneità per principianti
48/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.