Skip to content

Commit 35db526

Browse files
jope-bmclaude
andcommitted
Show display_name instead of UUID for private projects in CLI
The `bm project list` table rendered the raw project name, which is a UUID for private projects in team workspaces. Now uses display_name from the cloud response (e.g., "My Project") with fallback to name. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 69808b2 commit 35db526

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/basic_memory/cli/commands/project.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,8 +253,12 @@ async def _list_projects(ws: str | None = None):
253253
if cloud_project is not None and cloud_ws_name:
254254
ws_label = f"{cloud_ws_name} ({cloud_ws_type})" if cloud_ws_type else cloud_ws_name
255255

256+
# Use display_name from cloud response (e.g., "My Project" for private UUID-named projects)
257+
display_name = (
258+
cloud_project.display_name if cloud_project and cloud_project.display_name else None
259+
)
256260
row_data = {
257-
"name": project_name,
261+
"name": display_name or project_name,
258262
"permalink": permalink,
259263
"local_path": local_path,
260264
"cloud_path": cloud_path,

0 commit comments

Comments
 (0)