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: include optional name field in updateAbility signature for MCP metadata

Samay Gandhi56455c3d5db1
diff --git a/apps/erp/app/modules/resources/resources.models.ts b/apps/erp/app/modules/resources/resources.models.ts
index 15dbb525e6..4698ee1da4 100644
--- a/apps/erp/app/modules/resources/resources.models.ts
+++ b/apps/erp/app/modules/resources/resources.models.ts
@@ -41,7 +41,6 @@ export const abilityCurveValidator = z.object({
// process (renaming the process renames the ability).
export const abilityValidator = z.object({
processId: z.string().min(1, { message: "Process is required" }),
- name: z.string().optional(), // derived from process, not editable
recertifyEveryDays: zfd.numeric(z.number().int().min(1).optional())
});