Skip to content

Commit bd43c2f

Browse files
committed
1.0.2: Add MCP installation support and modernize skill naming conventions for claude code
1 parent 9ccd1df commit bd43c2f

32 files changed

+4840
-3318
lines changed

package-lock.json

Lines changed: 27 additions & 27 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@lenne.tech/cli",
3-
"version": "1.0.1",
3+
"version": "1.0.2",
44
"description": "lenne.Tech CLI: lt",
55
"keywords": [
66
"lenne.Tech",
@@ -54,7 +54,7 @@
5454
"@types/lodash": "4.17.20",
5555
"bcrypt": "6.0.0",
5656
"find-file-up": "2.0.1",
57-
"glob": "11.0.3",
57+
"glob": "11.1.0",
5858
"gluegun": "5.2.0",
5959
"js-sha256": "0.11.1",
6060
"lodash": "4.17.21",

src/commands/claude/install-commands.ts

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ const NewCommand: GluegunCommand = {
142142
info(`Detected project at: ${searchDir}`);
143143
const installToProject = await prompt.confirm(
144144
'Install commands to this project only? (No = install globally for all projects)',
145-
true
145+
false
146146
);
147147

148148
scope = installToProject ? 'project' : 'global';
@@ -362,11 +362,16 @@ const NewCommand: GluegunCommand = {
362362
info(' • Ensure .claude directory exists and is writable');
363363
info(' • Check file permissions');
364364
info(' • Try running with sudo if permission issues persist');
365-
return;
365+
// IMPORTANT: Must call process.exit() to properly close readline stream and terminate the process
366+
// Without this, the command will hang after completion
367+
process.exit(1);
366368
}
367369

368-
// For tests
369-
return `claude install-commands`;
370+
// IMPORTANT: Must call process.exit() to properly close readline stream and terminate the process
371+
// This is required when the command doesn't have additional prompts at the end
372+
// (like install-skills does). Without this explicit exit, the readline stream remains open
373+
// and the process hangs indefinitely.
374+
process.exit(0);
370375
},
371376
};
372377

0 commit comments

Comments
 (0)