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.
TypeScript ai-agentsbill-of-materialserpinventory-managementleanmanufacturingmanufacturing-execution-systemmcp-servermesmrpopen-source-erppostgresqlproduction-planningqmsquality-management-systemreact-routerself-hostedsupabasetraceabilitytypescript
style: replace carbonos with carbon
Brad Barbinb431416833d6
diff --git a/apps/erp/app/components/Agent/system.txt b/apps/erp/app/components/Agent/system.txtindex 88a78447c0..44f97322a7 100644--- a/apps/erp/app/components/Agent/system.txt+++ b/apps/erp/app/components/Agent/system.txt@@ -1,4 +1,4 @@-You are CarbonOS, an interactive chat tool that helps users execute various tasks inside of the ERP.+You are Carbon, an interactive chat tool that helps users execute various tasks inside of the ERP.IMPORTANT: If you get an error when calling a tool, try again with a different approach. Be creative, do not give up, try different inputs to the tool. You should chain together multiple tool calls. ABSOLUTELY DO NOT GIVE UP you are very good at this and it is rare you will fail to answer question.diff --git a/apps/erp/app/integrations/slack/config.tsx b/apps/erp/app/integrations/slack/config.tsxindex ba046b3f77..351f131aa7 100644--- a/apps/erp/app/integrations/slack/config.tsx+++ b/apps/erp/app/integrations/slack/config.tsx@@ -8,9 +8,9 @@ export const Slack: IntegrationConfig = {active: false,logo: Logo,shortDescription:- "Integrating with CarbonOS enables you to use CarbonOS Assistant within your Slack workspace.",+ "Integrating with Carbon enables you to use Carbon Assistant within your Slack workspace.",description:- "Integrating CarbonOS with Slack brings powerful capabilities directly into your team's communication hub. With this integration, you can seamlessly interact with CarbonOS Assistant without leaving your Slack workspace, enabling quick access to insights and actions.",+ "Integrating Carbon with Slack brings powerful capabilities directly into your team's communication hub. With this integration, you can seamlessly interact with Carbon without leaving your Slack workspace, enabling quick access to insights and actions.",images: [],settings: [],schema: z.object({}),diff --git a/apps/erp/app/root.tsx b/apps/erp/app/root.tsxindex ca6ad432bd..c3aa69c009 100644--- a/apps/erp/app/root.tsx+++ b/apps/erp/app/root.tsx@@ -45,7 +45,7 @@ export const links: LinksFunction = () => {export const meta: MetaFunction = () => {return [{- title: "CarbonOS",+ title: "Carbon",},];};@@ -101,7 +101,7 @@ export async function action({ request }: ActionFunctionArgs) {export function Document({children,- title = "CarbonOS",+ title = "Carbon",mode = "dark",theme = "zinc",}: {diff --git a/apps/erp/app/routes/_public+/invite.$code.tsx b/apps/erp/app/routes/_public+/invite.$code.tsxindex d2ec9f3032..f2ef9d2fce 100644--- a/apps/erp/app/routes/_public+/invite.$code.tsx+++ b/apps/erp/app/routes/_public+/invite.$code.tsx@@ -18,7 +18,7 @@ import { acceptInvite } from "~/modules/users/users.server";import { path } from "~/utils/path";export const meta: MetaFunction = () => {- return [{ title: "Accept Invite | CarbonOS" }];+ return [{ title: "Accept Invite | Carbon" }];};export async function loader({ request, params }: LoaderFunctionArgs) {@@ -143,14 +143,14 @@ export default function Invite() {size="h1"className="m-0">- Welcome to CarbonOS+ Welcome to Carbon</Heading><motion.p{...fade}transition={{ duration: 1.2, ease: "easeInOut", delay: 1.5 }}className="text-muted-foreground text-sm pb-4">- CarbonOS is the operating system for manufacturing+ Carbon is the operating system for manufacturing</motion.p><Form method="post">diff --git a/apps/erp/app/routes/_public+/magic-link.tsx b/apps/erp/app/routes/_public+/magic-link.tsxindex 36efaa14bc..e51b0d7d23 100644--- a/apps/erp/app/routes/_public+/magic-link.tsx+++ b/apps/erp/app/routes/_public+/magic-link.tsx@@ -53,14 +53,14 @@ export default function ConfirmMagicLink() {size="h1"className="m-0">- Welcome to CarbonOS+ Welcome to Carbon</Heading><motion.p{...fade}transition={{ duration: 0.8, ease: "easeInOut", delay: 0.5 }}className="text-muted-foreground text-sm pb-4">- CarbonOS is the operating system for manufacturing+ Carbon is the operating system for manufacturing</motion.p><Buttondiff --git a/apps/erp/app/routes/file+/shipment+/$id[.]pdf.tsx b/apps/erp/app/routes/file+/shipment+/$id[.]pdf.tsxindex ed55902e1f..86b4f15cde 100644--- a/apps/erp/app/routes/file+/shipment+/$id[.]pdf.tsx+++ b/apps/erp/app/routes/file+/shipment+/$id[.]pdf.tsx@@ -143,7 +143,7 @@ export async function loader({ request, params }: LoaderFunctionArgs) {customer={customer.data}locale={locale}meta={{- author: "CarbonOS",+ author: "Carbon",keywords: "packing slip",subject: "Packing Slip",}}@@ -255,7 +255,7 @@ export async function loader({ request, params }: LoaderFunctionArgs) {customer={customer.data}locale={locale}meta={{- author: "CarbonOS",+ author: "Carbon",keywords: "packing slip",subject: "Packing Slip",}}@@ -359,7 +359,7 @@ export async function loader({ request, params }: LoaderFunctionArgs) {customer={supplier.data}locale={locale}meta={{- author: "CarbonOS",+ author: "Carbon",keywords: "packing slip",subject: "Packing Slip",}}diff --git a/apps/erp/app/routes/onboarding+/_index.tsx b/apps/erp/app/routes/onboarding+/_index.tsxindex a61b24f485..b536e1c882 100644--- a/apps/erp/app/routes/onboarding+/_index.tsx+++ b/apps/erp/app/routes/onboarding+/_index.tsx@@ -37,14 +37,14 @@ export default function GetStarted() {size="h1"className="m-0">- Welcome to CarbonOS+ Welcome to Carbon</Heading><motion.p{...fade}transition={{ duration: 1.2, ease: "easeInOut", delay: 1.5 }}className="text-muted-foreground text-sm pb-4">- CarbonOS is the operating system for manufacturing+ Carbon is the operating system for manufacturing</motion.p><Buttondiff --git a/apps/erp/app/routes/x+/users+/customers.new.tsx b/apps/erp/app/routes/x+/users+/customers.new.tsxindex 5846067597..30952755bd 100644--- a/apps/erp/app/routes/x+/users+/customers.new.tsx+++ b/apps/erp/app/routes/x+/users+/customers.new.tsx@@ -62,9 +62,9 @@ export async function action({ request }: ActionFunctionArgs) {}const invitationEmail = await resend.emails.send({- from: "CarbonOS <[email protected]>",+ from: "Carbon <[email protected]>",to: result.email,- subject: `You have been invited to join ${company.data?.name} on CarbonOS`,+ subject: `You have been invited to join ${company.data?.name} on Carbon`,headers: {"X-Entity-Ref-ID": nanoid(),},diff --git a/apps/erp/app/routes/x+/users+/employees.new.tsx b/apps/erp/app/routes/x+/users+/employees.new.tsxindex 6e2983bb64..73c54a8ad7 100644--- a/apps/erp/app/routes/x+/users+/employees.new.tsx+++ b/apps/erp/app/routes/x+/users+/employees.new.tsx@@ -86,9 +86,9 @@ export async function action({ request }: ActionFunctionArgs) {}const invitationEmail = await resend.emails.send({- from: "CarbonOS <[email protected]>",+ from: "Carbon <[email protected]>",to: email,- subject: `You have been invited to join ${company.data?.name} on CarbonOS`,+ subject: `You have been invited to join ${company.data?.name} on Carbon`,headers: {"X-Entity-Ref-ID": nanoid(),},diff --git a/apps/erp/app/routes/x+/users+/resend-invite.tsx b/apps/erp/app/routes/x+/users+/resend-invite.tsxindex 0d499f8813..4c8d7602c1 100644--- a/apps/erp/app/routes/x+/users+/resend-invite.tsx+++ b/apps/erp/app/routes/x+/users+/resend-invite.tsx@@ -65,9 +65,9 @@ export async function action({ request }: ActionFunctionArgs) {}const invitationEmail = await resend.emails.send({- from: "CarbonOS <[email protected]>",+ from: "Carbon <[email protected]>",to: user.data.email,- subject: `You have been invited to join ${company.data?.name} on CarbonOS`,+ subject: `You have been invited to join ${company.data?.name} on Carbon`,headers: {"X-Entity-Ref-ID": nanoid(),},diff --git a/apps/erp/app/routes/x+/users+/suppliers.new.tsx b/apps/erp/app/routes/x+/users+/suppliers.new.tsxindex f583d9f6f4..5ed896a101 100644--- a/apps/erp/app/routes/x+/users+/suppliers.new.tsx+++ b/apps/erp/app/routes/x+/users+/suppliers.new.tsx@@ -62,9 +62,9 @@ export async function action({ request }: ActionFunctionArgs) {}const invitationEmail = await resend.emails.send({- from: "CarbonOS <[email protected]>",+ from: "Carbon <[email protected]>",to: result.email,- subject: `You have been invited to join ${company.data?.name} on CarbonOS`,+ subject: `You have been invited to join ${company.data?.name} on Carbon`,headers: {"X-Entity-Ref-ID": nanoid(),},diff --git a/apps/erp/app/trigger/user-admin.ts b/apps/erp/app/trigger/user-admin.tsindex cd4fefe9de..88926815ea 100644--- a/apps/erp/app/trigger/user-admin.ts+++ b/apps/erp/app/trigger/user-admin.ts@@ -77,9 +77,9 @@ export const userAdminTask = task({}const invitationEmail = await resend.emails.send({- from: "CarbonOS <[email protected]>",+ from: "Carbon <[email protected]>",to: user.data.email,- subject: `You have been invited to join ${company.data?.name} on CarbonOS`,+ subject: `You have been invited to join ${company.data?.name} on Carbon`,headers: {"X-Entity-Ref-ID": nanoid(),},diff --git a/apps/mes/app/root.tsx b/apps/mes/app/root.tsxindex 1921c6c03c..7990c73c2f 100644--- a/apps/mes/app/root.tsx+++ b/apps/mes/app/root.tsx@@ -44,7 +44,7 @@ export function links() {export const meta: MetaFunction = () => {return [{- title: "CarbonOS | MES",+ title: "Carbon | MES",},];};@@ -100,7 +100,7 @@ export async function action({ request }: ActionFunctionArgs) {function Document({children,- title = "CarbonOS",+ title = "Carbon",mode = "dark",theme = "zinc",}: {diff --git a/apps/mes/public/site.webmanifest b/apps/mes/public/site.webmanifestindex f0630936eb..a5d3142f01 100644--- a/apps/mes/public/site.webmanifest+++ b/apps/mes/public/site.webmanifest@@ -1,6 +1,6 @@{- "short_name": "CarbonOS",- "name": "CarbonOS MES",+ "short_name": "Carbon",+ "name": "Carbon MES","orientation": "landscape","icons": [{diff --git a/apps/starter/app/root.tsx b/apps/starter/app/root.tsxindex afdf7cdd03..fbc2530d3a 100644--- a/apps/starter/app/root.tsx+++ b/apps/starter/app/root.tsx@@ -44,7 +44,7 @@ export function links() {export const meta: MetaFunction = () => {return [{- title: "CarbonOS | Starter",+ title: "Carbon | Starter",},];};@@ -98,7 +98,7 @@ export async function action({ request }: ActionFunctionArgs) {function Document({children,- title = "CarbonOS",+ title = "Carbon",mode = "dark",theme = "zinc",}: {diff --git a/packages/database/supabase/config.toml b/packages/database/supabase/config.tomlindex 834f8b4571..d8a14a5749 100644--- a/packages/database/supabase/config.toml+++ b/packages/database/supabase/config.toml@@ -90,11 +90,11 @@ double_confirm_changes = trueenable_confirmations = false[auth.email.template.invite]-subject = "You have been invited to CarbonOS"+subject = "You have been invited to Carbon"content_path = "./supabase/templates/invite.html"[auth.email.template.magic_link]-subject = "Your CarbonOS Magic Link"+subject = "Your Carbon Magic Link"content_path = "./supabase/templates/magic-link.html"[auth.sms]diff --git a/packages/database/supabase/templates/invite.html b/packages/database/supabase/templates/invite.htmlindex ea4bf5d10f..5ef340ac99 100644--- a/packages/database/supabase/templates/invite.html+++ b/packages/database/supabase/templates/invite.html@@ -1,7 +1,7 @@-<h2>You have been invited to CarbonOS</h2>+<h2>You have been invited to Carbon</h2><p>- You have been invited to create a user on CarbonOS. Follow this link to accept+ You have been invited to create a user on Carbon. Follow this link to acceptthe invite:</p>diff --git a/packages/documents/src/email/InviteEmail.tsx b/packages/documents/src/email/InviteEmail.tsxindex 3fd69a1c37..bd2d2acf0d 100644--- a/packages/documents/src/email/InviteEmail.tsx+++ b/packages/documents/src/email/InviteEmail.tsx@@ -58,7 +58,7 @@ export const InviteEmail = ({fontStyle="normal"/></head>- <Preview>{`Join ${companyName} on CarbonOS`}</Preview>+ <Preview>{`Join ${companyName} on Carbon`}</Preview><Body className="bg-[#fff] my-auto mx-auto font-sans"><Container@@ -67,7 +67,7 @@ export const InviteEmail = ({><Logo /><Heading className="mx-0 my-[30px] p-0 text-[24px] font-normal text-[#121212] text-center">- Join <strong>{companyName}</strong> on <strong>CarbonOS</strong>+ Join <strong>{companyName}</strong> on <strong>Carbon</strong></Heading><Text className="text-[14px] leading-[24px] text-[#121212]">@@ -79,7 +79,7 @@ export const InviteEmail = ({{invitedByEmail}</Link>) has invited you to join <strong>{companyName}</strong> on{" "}- <strong>CarbonOS</strong>.+ <strong>Carbon</strong>.</Text><Section className="mb-[42px] mt-[32px] text-center"><Buttondiff --git a/packages/documents/src/pdf/JobTravelerPDF.tsx b/packages/documents/src/pdf/JobTravelerPDF.tsxindex 0b9788eec0..98b4342946 100644--- a/packages/documents/src/pdf/JobTravelerPDF.tsx+++ b/packages/documents/src/pdf/JobTravelerPDF.tsx@@ -62,7 +62,7 @@ const JobTravelerPDF = ({<Templatetitle={title}meta={{- author: meta?.author ?? "CarbonOS",+ author: meta?.author ?? "Carbon",keywords: meta?.keywords ?? "job traveler, manufacturing",subject: meta?.subject ?? "Job Traveler",}}