CommandCodeAI / CommandCodeAI/command-code

studio: Improve API Keys area to better understand where and how used

オープン
#718 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

主要言語
言語のデータがありません
スター
4k
フォーク
350
PR マージ指標
30日以内にマージされた PR はありません

説明

Feature Description

Recently, I needed to delete an API key. When I went into API Keys area of the Studio, I saw I had 8-10 keys dating back to late 2025.

I found it difficult to know:

  • which keys were active (last used)
  • if they expire/d (doesn't seem they do)
  • the names were not meaningful nor did it match the name in the auth.json Command Code config settings
  • I could not edit the name to make them meaningful to me
  • recent usage of keys and where used (to identify if any key leaked and used by some strange IP address or geo)

So, I ended up just deleting all keys one by one and starting over from scratch, but then I realized:

  • the name in auth.json did not match
  • and the only way I could identify a key was by some UTC timestamp so I could tell one cli on one machine was an older key than another because I knew I created one before the other
Use Case

In general, be useful to:

  • know which key used where
  • add a description for the key purpose
  • names match installed name in auth.json
  • edit names to be descriptive
  • show some recent use (time, IP address, geo) to identify if any leaks
  • pause key
  • rotate key (vs delete and create and edit name a description)

Could take some cues from Unkey API Key management features. See: https://www.unkey.com/docs/platform/apis/keys

Additional Context

No response

How important is this to you?

Medium. But, this will increase if I use Command Code API more for inference in apps vs just the cli used on two devices or if I want to distinguish between a key for cli and a key for desktop.

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

まず Studio API Keys の領域と、キー名が auth.json の Command Code 設定とどのように関連しているかを確認してください。この issue では複数の実現可能な機能が説明されているため、実装を開始する前にスコープと完了基準を絞り込む必要があります。

索引モデルが issue の本文から書いたものです。

評価

領域
authentication
issue の種類
機能追加
難易度
5/5
見積もり時間
1週間以上
活発さ
静か
明瞭さ
説明が足りない
初心者へのやさしさ
35/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。