Project Files
DEPLOYMENT.md
# 1. Navigate to project directory cd "C:\Source Code\LM Studio Plugins\troglodyte" # 2. Install dependencies (first time only) npm install # 3. Build the project npm run build # 4. Install plugin permanently lms dev --install
For active development with automatic reload:
Leave this terminal open. The plugin will appear in LM Studio's plugins list.
Create a distributable package:
This creates a packaged version that can be shared with other users.
LM Studio will automatically reload the updated plugin.
Checklist:
lms dev --install completed successfullydist/index.js exists after buildDebug Steps:
Check LM Studio Console:
F12 to open Developer Tools[Troglodyte] error messagesCommon Issues:
npm installInput:
Expected Output (Balanced):
Input:
Expected Output:
Path must NOT be corrupted to C:\src Code\...
Input:
Expected Output:
URL must remain intact.
Input:
Expected Output:
Version number must remain intact.
No environment variables are required for deployment.
| Component | Minimum |
|---|---|
| Node.js | 18+ |
| LM Studio | Latest stable release |
| OS | Windows 10+, macOS, Linux |
If a new version causes issues:
Before deploying to production:
C:\Source Code\... intact)Last Updated: May 17, 2026
cd "C:\Source Code\LM Studio Plugins\troglodyte"
npm run dev
npm run package
# Rebuild and reinstall
npm run build && lms dev --install
# Verify build output
ls dist/
# Check for errors in build log
npm run build 2>&1 | tee build.log
# Windows PowerShell
Remove-Item -Recurse -Force dist, node_modules\.cache
npm install
npm run build
lms dev --install
# Linux/Mac
rm -rf dist node_modules/.cache
npm install
npm run build
lms dev --install
Hello! Could you please help me? Thank you!
help me
check C:\Source Code\ServiceMonitor for issues.
check C:\Source Code\ServiceMonitor issues.
Visit https://example.com/path?id=123 for documentation.
Visit https://example.com/path?id=123 documentation.
Install Node.js v18.17.0 on Windows.
Install Node.js v18.17.0 Windows.
# 1. Disable plugin in LM Studio
# (Toggle OFF in Plugins sidebar)
# 2. Reinstall previous version (if available)
git checkout <previous-commit>
npm run build
lms dev --install
# 3. Restart LM Studio
# Fresh install
npm install && npm run build && lms dev --install
# Update after changes
npm run build && lms dev --install
# Clean rebuild
rm -rf dist node_modules/.cache && npm install && npm run build
# Development mode (hot-reload)
npm run dev