prjct-cli 0.30.2 → 0.30.3

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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,22 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.30.3] - 2026-01-13
4
+
5
+ ### Fix: Enrichment Not Enabled by Default
6
+
7
+ **Problem:** `CONFIG_ENRICHMENT_ENABLED` was not set in statusline config, so enrichment feature was not active by default when Claude Code started.
8
+
9
+ **Solution:**
10
+ - Added `enrichment.enabled: true` to `default-config.json`
11
+ - Added `DEFAULT_ENRICHMENT_ENABLED="true"` to `config.sh`
12
+ - Enrichment setting now parses from config with `true` as default
13
+
14
+ **Files:**
15
+ - `assets/statusline/default-config.json` - Added enrichment component
16
+ - `assets/statusline/lib/config.sh` - Added enrichment config parsing
17
+
18
+ ---
19
+
3
20
  ## [0.30.2] - 2026-01-13
4
21
 
5
22
  ### Feature: PM Expert Auto-Enrichment
@@ -42,6 +42,9 @@
42
42
  "model": {
43
43
  "enabled": false,
44
44
  "position": 7
45
+ },
46
+ "enrichment": {
47
+ "enabled": true
45
48
  }
46
49
  }
47
50
  }
@@ -12,6 +12,7 @@ DEFAULT_CACHE_TTL_GIT=5
12
12
  DEFAULT_CACHE_TTL_LINEAR=60
13
13
  DEFAULT_TASK_MAX_LENGTH=25
14
14
  DEFAULT_CONTEXT_MIN_PERCENT=30
15
+ DEFAULT_ENRICHMENT_ENABLED="true"
15
16
 
16
17
  # Component configuration (will be populated by load_config)
17
18
  declare -A COMPONENT_ENABLED
@@ -29,6 +30,7 @@ load_config() {
29
30
  CONFIG_CONTEXT_MIN_PERCENT="$DEFAULT_CONTEXT_MIN_PERCENT"
30
31
  CONFIG_LINEAR_ENABLED="true"
31
32
  CONFIG_LINEAR_SHOW_PRIORITY="true"
33
+ CONFIG_ENRICHMENT_ENABLED="$DEFAULT_ENRICHMENT_ENABLED"
32
34
 
33
35
  # Default component configuration
34
36
  COMPONENT_ENABLED["prjct_icon"]="true"
@@ -72,6 +74,7 @@ load_config() {
72
74
  (if .components.changes.enabled == null then true else .components.changes.enabled end),
73
75
  (if .components.context.enabled == null then true else .components.context.enabled end),
74
76
  (if .components.model.enabled == null then false else .components.model.enabled end),
77
+ (if .components.enrichment.enabled == null then true else .components.enrichment.enabled end),
75
78
  (.components.prjct_icon.position // 0),
76
79
  (.components.task.position // 1),
77
80
  (.components.linear.position // 2),
@@ -91,7 +94,7 @@ load_config() {
91
94
  CONFIG_THEME \
92
95
  CONFIG_CACHE_TTL_PRJCT CONFIG_CACHE_TTL_GIT CONFIG_CACHE_TTL_LINEAR \
93
96
  CONFIG_TASK_MAX_LENGTH CONFIG_CONTEXT_MIN_PERCENT CONFIG_LINEAR_SHOW_PRIORITY \
94
- E_PRJCT_ICON E_TASK E_LINEAR E_DIR E_GIT E_CHANGES E_CONTEXT E_MODEL \
97
+ E_PRJCT_ICON E_TASK E_LINEAR E_DIR E_GIT E_CHANGES E_CONTEXT E_MODEL E_ENRICHMENT \
95
98
  P_PRJCT_ICON P_TASK P_LINEAR P_DIR P_GIT P_CHANGES P_CONTEXT P_MODEL \
96
99
  <<< "$config_data"
97
100
  IFS="$old_ifs"
@@ -118,6 +121,9 @@ load_config() {
118
121
 
119
122
  # Update linear enabled based on component config
120
123
  CONFIG_LINEAR_ENABLED="${COMPONENT_ENABLED["linear"]}"
124
+
125
+ # Update enrichment enabled from config
126
+ [[ -n "$E_ENRICHMENT" ]] && CONFIG_ENRICHMENT_ENABLED="$E_ENRICHMENT"
121
127
  }
122
128
 
123
129
  # Check if a component is enabled
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "prjct-cli",
3
- "version": "0.30.2",
3
+ "version": "0.30.3",
4
4
  "description": "Built for Claude - Ship fast, track progress, stay focused. Developer momentum tool for indie hackers.",
5
5
  "main": "core/index.ts",
6
6
  "bin": {