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 +5 -2
- package/help.md +2 -0
- package/package.json +1 -1
- package/tlc.md +12 -0
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
|
-
|
|
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
package/package.json
CHANGED
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.
|