tlc-claude-code 0.8.7 → 0.8.8
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/init.js +17 -4
- package/package.json +1 -1
- package/server.md +1 -1
package/bin/init.js
CHANGED
|
@@ -79,16 +79,29 @@ echo ""
|
|
|
79
79
|
# TODO: Implement full macOS/Linux support
|
|
80
80
|
`;
|
|
81
81
|
|
|
82
|
+
// Detect OS - WSL counts as Windows since user will double-click .bat from Explorer
|
|
83
|
+
const isWSL = process.platform === 'linux' && fs.existsSync('/mnt/c');
|
|
84
|
+
const isWindows = process.platform === 'win32' || isWSL;
|
|
85
|
+
const launcherFile = isWindows ? 'tlc-start.bat' : 'tlc-start.sh';
|
|
86
|
+
const launcherPath = path.join(projectDir, launcherFile);
|
|
87
|
+
|
|
88
|
+
// FAST PATH: If already initialized, just confirm and exit
|
|
89
|
+
if (fs.existsSync(launcherPath) && fs.existsSync(path.join(projectDir, '.tlc.json'))) {
|
|
90
|
+
console.log('');
|
|
91
|
+
console.log(`[TLC] Already initialized. ${launcherFile} exists.`);
|
|
92
|
+
console.log('');
|
|
93
|
+
console.log('[TLC] To start: Double-click ' + launcherFile);
|
|
94
|
+
console.log('[TLC] To rebuild: tlc rebuild');
|
|
95
|
+
console.log('');
|
|
96
|
+
process.exit(0);
|
|
97
|
+
}
|
|
98
|
+
|
|
82
99
|
console.log('');
|
|
83
100
|
console.log(' ============================');
|
|
84
101
|
console.log(' TLC Project Init');
|
|
85
102
|
console.log(' ============================');
|
|
86
103
|
console.log('');
|
|
87
104
|
|
|
88
|
-
// Detect OS - WSL counts as Windows since user will double-click .bat from Explorer
|
|
89
|
-
const isWSL = process.platform === 'linux' && fs.existsSync('/mnt/c');
|
|
90
|
-
const isWindows = process.platform === 'win32' || isWSL;
|
|
91
|
-
|
|
92
105
|
if (isWindows) {
|
|
93
106
|
// Create Windows launcher
|
|
94
107
|
const batPath = path.join(projectDir, 'tlc-start.bat');
|
package/package.json
CHANGED
package/server.md
CHANGED
|
@@ -4,7 +4,7 @@ Set up Docker-based development environment.
|
|
|
4
4
|
|
|
5
5
|
## Instructions for Claude
|
|
6
6
|
|
|
7
|
-
**
|
|
7
|
+
**CRITICAL: Do NOT analyze the codebase. Do NOT check files. Do NOT run any detection. Just execute the two steps below immediately.**
|
|
8
8
|
|
|
9
9
|
### Step 1: Create the launcher
|
|
10
10
|
|