Skip to content

Commit c2639c4

Browse files
authored
Merge pull request #57 from smutyala1at/main
minor docs changed, mcp multi-provider integration
2 parents 10a66ea + b86fa98 commit c2639c4

File tree

20 files changed

+181
-60
lines changed

20 files changed

+181
-60
lines changed

.github/workflows/hetzner.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
uses: actions/checkout@v4
1717

1818
- name: build image
19-
run: docker build -t ${{ secrets.DOCKER_HUB_USERNAME }}/meshai-backend:latest .
19+
run: docker build -t ${{ secrets.DOCKER_HUB_USERNAME }}/meshai-backend:latest -f apps/meshjs-rag/Dockerfile apps/meshjs-rag
2020

2121
- name: push image to the docker hub
2222
run: |

apps/docs/app/(home)/layout.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ export default function Layout({ children }: { children: ReactNode }) {
2121
<div className="flex flex-col">
2222
<HomeLayout
2323
{...baseOptions}
24+
nav={{ transparentMode: "always", ...baseOptions.nav }}
2425
searchToggle={{
2526
components: {
2627
lg: (
@@ -72,7 +73,7 @@ export default function Layout({ children }: { children: ReactNode }) {
7273
text: "Discord",
7374
type: "icon",
7475
icon: <SiDiscord className="w-4 h-4 text-foreground" />,
75-
url: "https://discord.gg/WvnCNqmAxy"
76+
url: "https://discord.gg/dH48jH3BKa"
7677
}
7778
]}
7879
>

apps/docs/app/(home)/page.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ import {linksApi} from "@/data/links-api";
8484
</span>
8585
<span className="inline-flex items-center">
8686
<Users className="w-4 h-4 mr-1" />
87-
3k+ Weekly Downloads
87+
1M+ Downloads
8888
</span>
8989
</div>
9090
</div>

apps/docs/app/global.css

Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,4 +58,62 @@
5858
body {
5959
@apply bg-background text-foreground;
6060
}
61+
}
62+
63+
#nd-sidebar {
64+
background: transparent;
65+
backdrop-filter: blur(48px);
66+
padding: 0.25rem;
67+
}
68+
69+
.dark #nd-sidebar {
70+
background: transparent;
71+
}
72+
73+
.dark body {
74+
background:
75+
radial-gradient(
76+
300% 150% at -50% 0%,
77+
rgba(255, 255, 255, 0.35) 0%,
78+
transparent 35%
79+
),
80+
radial-gradient(
81+
150% 150% at 100% -10%,
82+
rgba(0, 0, 0, 0.7) 0%,
83+
transparent 40%
84+
),
85+
radial-gradient(
86+
250% 120% at 110% 50%,
87+
rgba(255, 255, 255, 0.15) 0%,
88+
transparent 45%
89+
),
90+
radial-gradient(
91+
150% 100% at 50% 100%,
92+
rgba(0, 0, 0, 0.3) 0%,
93+
transparent 50%
94+
),
95+
#181818 !important;
96+
97+
background-attachment: fixed;
98+
position: relative;
99+
}
100+
101+
html.dark body::after {
102+
content: "";
103+
position: fixed;
104+
inset: 0;
105+
z-index: -1;
106+
107+
background-image:
108+
repeating-radial-gradient(
109+
circle at center,
110+
rgba(255, 255, 255, 0.3) 2px,
111+
transparent 3px
112+
);
113+
114+
background-size: 4px 4px;
115+
mix-blend-mode: overlay;
116+
opacity: 0.8;
117+
pointer-events: none;
118+
filter: blur(0.3px);
61119
}

apps/docs/app/layout.config.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ export const baseOptions: BaseLayoutProps = {
3939
text: "Discord",
4040
type: "icon",
4141
icon: <SiDiscord className="w-4 h-4 text-foreground" />,
42-
url: "https://discord.gg/WvnCNqmAxy"
42+
url: "https://discord.gg/dH48jH3BKa"
4343
}
4444
],
4545
};

apps/docs/components/ai/search.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,7 @@ export function AISearch(props: DialogProps) {
287287
}}
288288
onInteractOutside={(e) => e.preventDefault()}
289289
aria-describedby={undefined}
290-
className="flex flex-col h-full w-full bg-fd-popover/80 backdrop-blur-xl p-1 rounded-2xl shadow-2xl border max-md:top-12 md:bottom-12 max-w-screen-sm focus-visible:outline-none"
290+
className="flex flex-col h-full w-full bg-transparent dark:bg-transparent backdrop-blur-3xl p-1 border max-md:top-12 md:bottom-12 max-w-screen-sm focus-visible:outline-none"
291291
>
292292
<ChatContext value={chat}>
293293
<div className="px-3 py-2">

apps/docs/components/ui/Footer.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import {linksAbout} from "@/data/links-about";
88

99
export default function Footer() {
1010
return (
11-
<footer className="border-t border-border bg-fd-card py-12 text-muted-foreground">
11+
<footer className="border-t border-border bg-fd-card py-12 text-muted-foreground bg-transparent dark:bg-transparent backdrop-blur-3xl">
1212
<div className="container flex flex-col gap-12">
1313
<div className="flex flex-col md:flex-row md:justify-between md:items-start gap-10">
1414
<div className="flex flex-col gap-2 min-w-[200px]">

apps/docs/content/docs/ai/index.mdx

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ Use Mesh MCP to access Mesh docs and get coding/debugging help directly in VS Co
4242
"command": "npx",
4343
"args": ["-y", "meshjs-mcp"],
4444
"env": {
45-
"OPENAI_API_KEY": "your-openai-api-key",
45+
"API_KEY": "your-api-key",
4646
"MODEL": "your-preferred-model"
4747
}
4848
}
@@ -52,13 +52,18 @@ Use Mesh MCP to access Mesh docs and get coding/debugging help directly in VS Co
5252

5353
### Setup notes
5454

55-
1. Replace your-openai-api-key with your OpenAI API key.
55+
1. Replace your-api-key with your API key from the supported providers (OpenAI, Gemini, or Anthropic Claude).
5656

57-
2. Set MODEL to the model you want to use.
57+
2. Set MODEL to the model you want to use from respective provider.
5858

5959
3. Restart your editor after saving the config.
6060

61-
4. Get help to code faster with Mesh MCP and AI editor
61+
4. Start the server manually (restarting alone doesn't run it):
62+
- VS Code: Open Command Palette (Cmd+Shift+P), search "MCP: List Servers", select "mesh-mcp", and choose "Run Server".
63+
- Cursor: Similar to VS Code, use the MCP extension's list servers command to run it.
64+
- Claude Desktop: The server should start automatically on launch if configured correctly in settings; check the MCP logs if issues arise.
65+
66+
5. Get help to code faster with Mesh MCP and AI editor
6267

6368
### Example
6469

apps/docs/content/docs/apis/data/index.mdx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
---
22
title: "Data"
3+
icon: CircleStackIcon
34
description: "Useful utilities to parse and manipulate data"
45
---
56

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
22
"title": "Utilities",
3-
"pages": ["serializers", "deserializers", "resolvers", "data", "blueprints"]
3+
"pages": ["serializers", "deserializers", "resolvers", "../data/index.mdx", "blueprints"]
44
}

0 commit comments

Comments
 (0)