tlc-claude-code 1.2.1 → 1.2.2

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/bin/install.js CHANGED
@@ -105,14 +105,17 @@ function install(targetDir, installType) {
105
105
  // Create directory
106
106
  fs.mkdirSync(commandsDir, { recursive: true });
107
107
 
108
- // Copy command files
108
+ // Copy command files with version injection
109
109
  const sourceDir = path.join(__dirname, '..');
110
110
  let installed = 0;
111
111
  for (const file of COMMANDS) {
112
112
  const src = path.join(sourceDir, file);
113
113
  const dest = path.join(commandsDir, file);
114
114
  if (fs.existsSync(src)) {
115
- fs.copyFileSync(src, dest);
115
+ // Read, replace {{VERSION}}, write
116
+ let content = fs.readFileSync(src, 'utf8');
117
+ content = content.replace(/\{\{VERSION\}\}/g, VERSION);
118
+ fs.writeFileSync(dest, content);
116
119
  installed++;
117
120
  }
118
121
  }
package/help.md CHANGED
@@ -1,5 +1,7 @@
1
1
  # /tlc:help - Test-Led Development Commands
2
2
 
3
+ **TLC v{{VERSION}}**
4
+
3
5
  ## Quick Start
4
6
 
5
7
  ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tlc-claude-code",
3
- "version": "1.2.1",
3
+ "version": "1.2.2",
4
4
  "description": "TLC - Test Led Coding for Claude Code",
5
5
  "bin": {
6
6
  "tlc": "./bin/tlc.js",
package/tlc.md CHANGED
@@ -1,7 +1,19 @@
1
1
  # /tlc - Smart Entry Point
2
2
 
3
+ **TLC v{{VERSION}}**
4
+
3
5
  One command. Context-aware. Visual dashboard.
4
6
 
7
+ ## First Response
8
+
9
+ Always start by showing the version:
10
+
11
+ ```
12
+ TLC v1.2.1
13
+ ```
14
+
15
+ Then proceed with sync check and status.
16
+
5
17
  ## What This Does
6
18
 
7
19
  Launches the TLC dashboard - a visual interface showing project state, phases, tests, and next actions.