Commit 73186da
James Zhu
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 rewrite1 parent fa6424d commit 73186da
File tree
12 files changed
+434
-2192
lines changed- code_assistant_manager
- cli
- prompts
- tests/unit
12 files changed
+434
-2192
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| 16 | + | |
| 17 | + | |
This file was deleted.
0 commit comments