create-loadout 1.0.2 → 1.0.5

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/README.md CHANGED
@@ -167,7 +167,7 @@ Loadout ships an MCP server so Claude Code agents can scaffold and extend projec
167
167
  ### Register
168
168
 
169
169
  ```bash
170
- claude mcp add create-loadout -- npx -y create-loadout-mcp
170
+ claude mcp add create-loadout -- npx -y -p create-loadout create-loadout-mcp
171
171
  ```
172
172
 
173
173
  ### Available Tools
@@ -0,0 +1,2 @@
1
+ export declare const NPX: string;
2
+ export declare const NPM: string;
@@ -0,0 +1,7 @@
1
+ import path from 'path';
2
+ const nodeBinDir = path.dirname(process.execPath);
3
+ export const NPX = path.join(nodeBinDir, 'npx');
4
+ export const NPM = path.join(nodeBinDir, 'npm');
5
+ if (!process.env.PATH?.includes(nodeBinDir)) {
6
+ process.env.PATH = `${nodeBinDir}:${process.env.PATH || ''}`;
7
+ }