mirror of
https://github.com/catlog22/Claude-Code-Workflow.git
synced 2026-03-26 19:56:37 +08:00
feat: add injection preview functionality and enhance specs management
- Implemented injection preview feature in InjectionControlTab with file listing and content preview. - Added new API endpoint for fetching injection preview data. - Introduced content length caching for performance optimization. - Enhanced spec loading to support category filtering. - Updated localization files for new features and terms. - Created new personal and project specs for coding style and architecture constraints. - Improved CLI options for category selection in spec commands.
This commit is contained in:
@@ -303,6 +303,7 @@ export function run(argv: string[]): void {
|
||||
.command('spec [subcommand] [args...]')
|
||||
.description('Project spec management for conventions and guidelines')
|
||||
.option('--dimension <dim>', 'Target dimension: specs, personal')
|
||||
.option('--category <cat>', 'Workflow stage: general, exploration, planning, execution')
|
||||
.option('--keywords <text>', 'Keywords for spec matching (CLI mode)')
|
||||
.option('--stdin', 'Read input from stdin (Hook mode)')
|
||||
.option('--json', 'Output as JSON')
|
||||
@@ -374,3 +375,6 @@ export function run(argv: string[]): void {
|
||||
|
||||
program.parse(argv);
|
||||
}
|
||||
|
||||
// Invoke CLI when run directly
|
||||
run(process.argv);
|
||||
|
||||
Reference in New Issue
Block a user