mirror of
https://github.com/catlog22/Claude-Code-Workflow.git
synced 2026-02-28 09:23:08 +08:00
feat: Add templates for epics, product brief, and requirements PRD
- Introduced a comprehensive template for generating epics and stories, including an index and individual epic files. - Created a product brief template to outline product vision, problem statements, and target users. - Developed a requirements PRD template to structure functional and non-functional requirements, including traceability and prioritization. - Implemented ast-grep processors for JavaScript and TypeScript to extract relationships such as imports and inheritance. - Added corresponding patterns for JavaScript and TypeScript to support relationship extraction. - Established comparison tests to validate the accuracy of relationship extraction between tree-sitter and ast-grep methods.
This commit is contained in:
@@ -280,7 +280,7 @@ export const envVarGroupsSchema: EnvVarGroupsSchema = {
|
||||
key: 'CODEXLENS_CASCADE_STRATEGY',
|
||||
labelKey: 'codexlens.envField.searchStrategy',
|
||||
type: 'select',
|
||||
options: ['binary', 'hybrid', 'binary_rerank', 'dense_rerank'],
|
||||
options: ['binary', 'hybrid', 'binary_rerank', 'dense_rerank', 'staged'],
|
||||
default: 'dense_rerank',
|
||||
settingsPath: 'cascade.strategy',
|
||||
},
|
||||
@@ -304,6 +304,43 @@ export const envVarGroupsSchema: EnvVarGroupsSchema = {
|
||||
min: 1,
|
||||
max: 100,
|
||||
},
|
||||
CODEXLENS_STAGED_STAGE2_MODE: {
|
||||
key: 'CODEXLENS_STAGED_STAGE2_MODE',
|
||||
labelKey: 'codexlens.envField.stagedStage2Mode',
|
||||
type: 'select',
|
||||
options: ['precomputed', 'realtime', 'static_global_graph'],
|
||||
default: 'precomputed',
|
||||
settingsPath: 'staged.stage2_mode',
|
||||
showWhen: (env) => env['CODEXLENS_CASCADE_STRATEGY'] === 'staged',
|
||||
},
|
||||
CODEXLENS_STAGED_CLUSTERING_STRATEGY: {
|
||||
key: 'CODEXLENS_STAGED_CLUSTERING_STRATEGY',
|
||||
labelKey: 'codexlens.envField.stagedClusteringStrategy',
|
||||
type: 'select',
|
||||
options: ['auto', 'hdbscan', 'dbscan', 'frequency', 'noop', 'score', 'dir_rr', 'path'],
|
||||
default: 'auto',
|
||||
settingsPath: 'staged.clustering_strategy',
|
||||
showWhen: (env) => env['CODEXLENS_CASCADE_STRATEGY'] === 'staged',
|
||||
},
|
||||
CODEXLENS_STAGED_CLUSTERING_MIN_SIZE: {
|
||||
key: 'CODEXLENS_STAGED_CLUSTERING_MIN_SIZE',
|
||||
labelKey: 'codexlens.envField.stagedClusteringMinSize',
|
||||
type: 'number',
|
||||
placeholder: '3',
|
||||
default: '3',
|
||||
settingsPath: 'staged.clustering_min_size',
|
||||
min: 1,
|
||||
max: 50,
|
||||
showWhen: (env) => env['CODEXLENS_CASCADE_STRATEGY'] === 'staged',
|
||||
},
|
||||
CODEXLENS_ENABLE_STAGED_RERANK: {
|
||||
key: 'CODEXLENS_ENABLE_STAGED_RERANK',
|
||||
labelKey: 'codexlens.envField.enableStagedRerank',
|
||||
type: 'checkbox',
|
||||
default: 'true',
|
||||
settingsPath: 'staged.enable_rerank',
|
||||
showWhen: (env) => env['CODEXLENS_CASCADE_STRATEGY'] === 'staged',
|
||||
},
|
||||
},
|
||||
},
|
||||
indexing: {
|
||||
|
||||
@@ -176,6 +176,10 @@ const mockMessages: Record<Locale, Record<string, string>> = {
|
||||
'codexlens.envField.searchStrategy': 'Search Strategy',
|
||||
'codexlens.envField.coarseK': 'Coarse K',
|
||||
'codexlens.envField.fineK': 'Fine K',
|
||||
'codexlens.envField.stagedStage2Mode': 'Stage-2 Mode',
|
||||
'codexlens.envField.stagedClusteringStrategy': 'Clustering Strategy',
|
||||
'codexlens.envField.stagedClusteringMinSize': 'Cluster Min Size',
|
||||
'codexlens.envField.enableStagedRerank': 'Enable Rerank',
|
||||
'codexlens.envField.useAstGrep': 'Use ast-grep',
|
||||
'codexlens.envField.staticGraphEnabled': 'Static Graph',
|
||||
'codexlens.envField.staticGraphRelationshipTypes': 'Relationship Types',
|
||||
@@ -444,6 +448,10 @@ const mockMessages: Record<Locale, Record<string, string>> = {
|
||||
'codexlens.envField.searchStrategy': '搜索策略',
|
||||
'codexlens.envField.coarseK': '粗筛 K 值',
|
||||
'codexlens.envField.fineK': '精筛 K 值',
|
||||
'codexlens.envField.stagedStage2Mode': 'Stage-2 模式',
|
||||
'codexlens.envField.stagedClusteringStrategy': '聚类策略',
|
||||
'codexlens.envField.stagedClusteringMinSize': '最小聚类大小',
|
||||
'codexlens.envField.enableStagedRerank': '启用重排序',
|
||||
'codexlens.envField.useAstGrep': '使用 ast-grep',
|
||||
'codexlens.envField.staticGraphEnabled': '启用静态图',
|
||||
'codexlens.envField.staticGraphRelationshipTypes': '关系类型',
|
||||
|
||||
Reference in New Issue
Block a user