clavix 5.1.1 → 5.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -7,88 +7,8 @@ export interface ClavixConfig {
7
7
  templates: TemplateConfig;
8
8
  outputs: OutputConfig;
9
9
  preferences: PreferencesConfig;
10
- intelligence?: IntelligenceConfig;
11
10
  experimental?: Record<string, unknown>;
12
11
  }
13
- /**
14
- * v4.4 Intelligence Configuration
15
- * Configure pattern behavior, enable/disable patterns, adjust priorities
16
- * v4.11: Removed defaultMode (fast/deep replaced by improve with auto-detection)
17
- * v4.12: Added escalation thresholds configuration
18
- */
19
- export interface IntelligenceConfig {
20
- /** Pattern-specific settings */
21
- patterns?: PatternSettingsConfig;
22
- /** Enable verbose pattern logging */
23
- verbosePatternLogs?: boolean;
24
- /** v4.12: Escalation threshold configuration */
25
- escalation?: EscalationThresholdsConfig;
26
- /** v4.12: Quality assessment weight overrides */
27
- qualityWeights?: QualityWeightsConfig;
28
- }
29
- /**
30
- * v4.12: Configurable escalation thresholds
31
- * These control when comprehensive analysis is recommended vs standard
32
- */
33
- export interface EscalationThresholdsConfig {
34
- /**
35
- * Quality score threshold for comprehensive mode (default: 75)
36
- * Prompts >= this score get comprehensive analysis
37
- */
38
- comprehensiveAbove?: number;
39
- /**
40
- * Quality score threshold for standard mode floor (default: 60)
41
- * Prompts between standardFloor and comprehensiveAbove get standard optimization
42
- */
43
- standardFloor?: number;
44
- /**
45
- * Intent confidence threshold for auto-proceed (default: 50)
46
- * Below this, ask user to confirm intent
47
- */
48
- intentConfidenceMin?: number;
49
- /**
50
- * Escalation score threshold for strong recommendation (default: 75)
51
- * Above this, strongly recommend comprehensive mode
52
- */
53
- strongRecommendAbove?: number;
54
- /**
55
- * Escalation score threshold for suggestion (default: 45)
56
- * Above this, suggest comprehensive mode as option
57
- */
58
- suggestAbove?: number;
59
- }
60
- /**
61
- * v4.12: Quality dimension weight overrides by intent
62
- * Allows customizing how quality scores are weighted per intent type
63
- */
64
- export interface QualityWeightsConfig {
65
- /** Override weights for specific intents */
66
- byIntent?: Record<string, QualityDimensionWeights>;
67
- /** Default weights for all intents (overrides built-in defaults) */
68
- defaults?: QualityDimensionWeights;
69
- }
70
- /**
71
- * Weight distribution across quality dimensions (must sum to 100)
72
- */
73
- export interface QualityDimensionWeights {
74
- clarity?: number;
75
- efficiency?: number;
76
- structure?: number;
77
- completeness?: number;
78
- actionability?: number;
79
- specificity?: number;
80
- }
81
- /**
82
- * Pattern-specific settings
83
- */
84
- export interface PatternSettingsConfig {
85
- /** Disabled pattern IDs (won't run even if applicable) */
86
- disabled?: string[];
87
- /** Priority overrides (pattern-id → new priority 1-10) */
88
- priorityOverrides?: Record<string, number>;
89
- /** Custom pattern parameters (pattern-id → settings) */
90
- customSettings?: Record<string, Record<string, unknown>>;
91
- }
92
12
  /**
93
13
  * Legacy config format (pre-v3.5.0)
94
14
  * Supports migration from:
@@ -2,7 +2,7 @@
2
2
  * Configuration types for Clavix
3
3
  */
4
4
  export const DEFAULT_CONFIG = {
5
- version: '5.1.1',
5
+ version: '5.2.1',
6
6
  integrations: [],
7
7
  templates: {
8
8
  prdQuestions: 'default',
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "clavix",
3
- "version": "5.1.1",
4
- "description": "Agentic-first prompt workflows. Markdown templates that teach AI agents how to optimize prompts, create PRDs, and manage implementation. Works with Claude Code, Cursor, Windsurf, and 19+ other AI coding tools.",
3
+ "version": "5.2.1",
4
+ "description": "Agentic-first prompt workflows. Markdown templates that teach AI agents how to optimize prompts, create PRDs, and manage implementation.\n\nSLASH COMMANDS (in your AI assistant):\n /clavix:improve Optimize prompts with auto-depth\n /clavix:prd Generate PRD through questions\n /clavix:plan Create task breakdown from PRD\n /clavix:implement Execute tasks with progress tracking\n /clavix:start Begin conversational session\n /clavix:summarize Extract requirements from conversation\n\nWorks with Claude Code, Cursor, Windsurf, and 19+ other AI coding tools.",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
7
7
  "types": "dist/index.d.ts",