Skip to content

Open-source manufacturing ERP, MES and QMS. Quoting, MRP, inventory, shop floor, quality and lot/serial traceability on one Postgres schema, with a REST API and MCP server. Self-host or use Carbon Cloud.

fix(husky): correct stale git add paths in pre-commit MCP step

Sidwebworksd3a1957fafd9
diff --git a/.husky/pre-commit b/.husky/pre-commit
index 155c37073c..e96c459e17 100755
--- a/.husky/pre-commit
+++ b/.husky/pre-commit
@@ -28,5 +28,5 @@ fi
# Regenerate MCP tools if any .service.ts file was modified
if git diff --cached --name-only | grep -q '\.service\.ts$'; then
npx tsx scripts/generate-mcp.ts
- git add apps/erp/app/routes/api+/mcp+/lib/server.ts apps/erp/app/routes/api+/mcp+/lib/tool-metadata.json llm/cache/mcp-tools-reference.md
+ git add apps/erp/app/routes/api+/mcp+/lib/tool-metadata.json
fi
\ No newline at end of file