Skip to content

Commit 73186da

Browse files
author
James Zhu
committed
Refactor prompt management: simplify CLI and add UUID tracking
- Simplified prompt CLI to 7 core commands: list, show, add, remove, import, install, uninstall, status - Removed complex refactored modules (prompt_crud.py, prompt_defaults.py, etc.) - Consolidated all prompt logic into single prompts_commands.py file - Added automatic UUID generation for each configured prompt - Changed primary identifier from ID to name (user-friendly) - Added ID marker embedding in installed prompt files for tracking - New 'show' command displays full prompt content - New 'import' command imports prompts from live app files - Status command now shows configured→installed links with ID tracking - All prompts tracked with no orphaned/untracked installations - Updated Prompt model with auto-generated UUID support - Added get_installed_prompt_id() to extract tracked IDs from files - Updated tests to reflect new model structure - Removed outdated CLI tests that needed rewrite
1 parent fa6424d commit 73186da

File tree

12 files changed

+434
-2192
lines changed

12 files changed

+434
-2192
lines changed

CLAUDE.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,5 @@ rm -rf dist/*
1313
./install.sh
1414
cp ~/.config/code-assistant-manager/providers.json.bak ~/.config/code-assistant-manager/providers.json
1515
```
16+
17+
<!-- cam-prompt-id: 13daf2d6 -->

code_assistant_manager/cli/prompt_crud.py

Lines changed: 0 additions & 284 deletions
This file was deleted.

0 commit comments

Comments
 (0)