Compare commits

..

9 Commits

Author SHA1 Message Date
53ad9f23d8 feat(analytics-mailer): Redesign email to Umami format with 3 periods, German translation, and inline glossary
Some checks failed
Monorepo Pipeline / ⚡ Prioritize Release (push) Successful in 3s
Monorepo Pipeline / 🧹 Lint (push) Failing after 1m24s
Monorepo Pipeline / 🧪 Test (push) Successful in 41s
Monorepo Pipeline / 🏗️ Build (push) Successful in 2m4s
Monorepo Pipeline / 🚀 Release (push) Has been skipped
Monorepo Pipeline / 🐳 Build Gatekeeper (Product) (push) Has been skipped
Monorepo Pipeline / 🐳 Build Build-Base (push) Has been skipped
Monorepo Pipeline / 🐳 Build Production Runtime (push) Has been skipped
2026-07-20 14:17:07 +02:00
7a9dd06fc6 feat: setup analytics-mailer with gitea cron pipeline for e-tib and klz
Some checks failed
Monorepo Pipeline / ⚡ Prioritize Release (push) Successful in 3s
Monorepo Pipeline / 🧹 Lint (push) Failing after 1m42s
Monorepo Pipeline / 🧪 Test (push) Successful in 56s
Monorepo Pipeline / 🏗️ Build (push) Successful in 2m35s
Monorepo Pipeline / 🚀 Release (push) Has been skipped
Monorepo Pipeline / 🐳 Build Gatekeeper (Product) (push) Has been skipped
Monorepo Pipeline / 🐳 Build Build-Base (push) Has been skipped
Monorepo Pipeline / 🐳 Build Production Runtime (push) Has been skipped
Monthly Analytics Mailer / 📊 Send Monthly Reports (push) Failing after 59s
🏥 Server Maintenance / 🧹 Prune & Clean (push) Failing after 7s
2026-06-21 20:52:31 +02:00
985e532c61 feat(vikunja-mcp): add task attachments and extra metadata parameters support
Some checks failed
Monorepo Pipeline / ⚡ Prioritize Release (push) Successful in 2s
Monorepo Pipeline / 🧹 Lint (push) Failing after 1m38s
Monorepo Pipeline / 🧪 Test (push) Successful in 54s
Monorepo Pipeline / 🏗️ Build (push) Successful in 2m38s
Monorepo Pipeline / 🚀 Release (push) Has been skipped
Monorepo Pipeline / 🐳 Build Gatekeeper (Product) (push) Has been skipped
Monorepo Pipeline / 🐳 Build Build-Base (push) Has been skipped
Monorepo Pipeline / 🐳 Build Production Runtime (push) Has been skipped
2026-06-21 12:26:44 +02:00
04462f21e1 feat: add outline MCP server
Some checks failed
Monorepo Pipeline / ⚡ Prioritize Release (push) Successful in 2s
Monorepo Pipeline / 🧪 Test (push) Successful in 1m56s
Monorepo Pipeline / 🧹 Lint (push) Failing after 3m24s
Monorepo Pipeline / 🏗️ Build (push) Successful in 4m11s
Monorepo Pipeline / 🚀 Release (push) Has been skipped
Monorepo Pipeline / 🐳 Build Gatekeeper (Product) (push) Has been skipped
Monorepo Pipeline / 🐳 Build Build-Base (push) Has been skipped
Monorepo Pipeline / 🐳 Build Production Runtime (push) Has been skipped
2026-06-04 21:40:00 +02:00
11babf3347 feat(mcp): expand Vikunja server with project, delete, and comment tools
All checks were successful
Monorepo Pipeline / ⚡ Prioritize Release (push) Successful in 2s
Monorepo Pipeline / 🧪 Test (push) Successful in 1m20s
Monorepo Pipeline / 🏗️ Build (push) Successful in 3m3s
Monorepo Pipeline / 🧹 Lint (push) Successful in 3m13s
Monorepo Pipeline / 🚀 Release (push) Has been skipped
Monorepo Pipeline / 🐳 Build Gatekeeper (Product) (push) Has been skipped
Monorepo Pipeline / 🐳 Build Build-Base (push) Has been skipped
Monorepo Pipeline / 🐳 Build Production Runtime (push) Has been skipped
2026-06-03 17:41:12 +02:00
3de92accc4 chore: configure Vikunja API token and base URL for MCP server
Some checks failed
Monorepo Pipeline / ⚡ Prioritize Release (push) Successful in 49s
Monorepo Pipeline / 🧹 Lint (push) Failing after 31s
Monorepo Pipeline / 🧪 Test (push) Failing after 23s
Monorepo Pipeline / 🏗️ Build (push) Failing after 22s
Monorepo Pipeline / 🚀 Release (push) Has been skipped
Monorepo Pipeline / 🐳 Build Gatekeeper (Product) (push) Has been skipped
Monorepo Pipeline / 🐳 Build Build-Base (push) Has been skipped
Monorepo Pipeline / 🐳 Build Production Runtime (push) Has been skipped
2026-06-03 17:34:00 +02:00
c8961411ec feat: add vikunja mcp server
Some checks failed
Monorepo Pipeline / ⚡ Prioritize Release (push) Has been cancelled
Monorepo Pipeline / 🧹 Lint (push) Has been cancelled
Monorepo Pipeline / 🧪 Test (push) Has been cancelled
Monorepo Pipeline / 🏗️ Build (push) Has been cancelled
Monorepo Pipeline / 🚀 Release (push) Has been cancelled
Monorepo Pipeline / 🐳 Build Gatekeeper (Product) (push) Has been cancelled
Monorepo Pipeline / 🐳 Build Build-Base (push) Has been cancelled
Monorepo Pipeline / 🐳 Build Production Runtime (push) Has been cancelled
2026-06-03 17:26:04 +02:00
42ea30c11f fix: disable automatic vikunja icon changes (pride logo)
All checks were successful
Monorepo Pipeline / ⚡ Prioritize Release (push) Successful in 1m2s
Monorepo Pipeline / 🧪 Test (push) Successful in 2m15s
Monorepo Pipeline / 🏗️ Build (push) Successful in 3m19s
Monorepo Pipeline / 🧹 Lint (push) Successful in 4m17s
Monorepo Pipeline / 🚀 Release (push) Has been skipped
Monorepo Pipeline / 🐳 Build Gatekeeper (Product) (push) Has been skipped
Monorepo Pipeline / 🐳 Build Build-Base (push) Has been skipped
Monorepo Pipeline / 🐳 Build Production Runtime (push) Has been skipped
2026-06-03 17:22:10 +02:00
7b2cc3723a feat: add vikunja deployment configuration
All checks were successful
Monorepo Pipeline / ⚡ Prioritize Release (push) Successful in 5s
Monorepo Pipeline / 🧹 Lint (push) Successful in 5m15s
Monorepo Pipeline / 🧪 Test (push) Successful in 1m31s
Monorepo Pipeline / 🏗️ Build (push) Successful in 5m35s
Monorepo Pipeline / 🚀 Release (push) Has been skipped
Monorepo Pipeline / 🐳 Build Gatekeeper (Product) (push) Has been skipped
Monorepo Pipeline / 🐳 Build Build-Base (push) Has been skipped
Monorepo Pipeline / 🐳 Build Production Runtime (push) Has been skipped
2026-06-03 17:16:55 +02:00
27 changed files with 2353 additions and 17 deletions

5
.env
View File

@@ -59,3 +59,8 @@ GLITCHTIP_API_KEY=3d37db66fa1fc3a1cdcd1357728b056225aca950f0163b50c5e922344807ed
UMAMI_BASE_URL=https://analytics.infra.mintel.me
GLITCHTIP_BASE_URL=https://errors.infra.mintel.me
SERPBEAR_BASE_URL=https://seo.infra.mintel.me
# Vikunja MCP
VIKUNJA_API_TOKEN=tk_468a6f7a59b329aa42796378e55075b79eb4d3d4
VIKUNJA_BASE_URL=https://tasks.infra.mintel.me

View File

@@ -0,0 +1,69 @@
name: Analytics Mailer
on:
schedule:
# Run weekly on Monday at 08:00 UTC
- cron: '0 8 * * 1'
# Run monthly on the 1st day of the month at 08:30 UTC
- cron: '30 8 1 * *'
workflow_dispatch:
inputs:
interval:
description: 'Interval to run (weekly or monthly)'
required: true
default: 'weekly'
type: choice
options:
- weekly
- monthly
jobs:
send-reports:
name: 📊 Send Analytics Reports
runs-on: docker
container:
image: catthehacker/ubuntu:act-latest
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
UMAMI_BASE_URL: ${{ secrets.UMAMI_BASE_URL }}
UMAMI_USERNAME: ${{ secrets.UMAMI_USERNAME }}
UMAMI_PASSWORD: ${{ secrets.UMAMI_PASSWORD }}
MAILGUN_API_KEY: ${{ secrets.MAILGUN_API_KEY }}
MAILGUN_DOMAIN: ${{ secrets.MAILGUN_DOMAIN }}
MAILGUN_SENDER: ${{ secrets.MAILGUN_SENDER }}
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node_version: 20
- name: Enable pnpm
run: corepack enable && corepack prepare pnpm@10.2.0 --activate
- name: Install dependencies
run: pnpm install --frozen-lockfile --prefer-offline --ignore-scripts --no-color
- name: Build mail templates
run: pnpm --filter @mintel/mail build
- name: Build analytics mailer
run: pnpm --filter @mintel/analytics-mailer build
- name: Determine Interval
id: set-interval
run: |
if [ "${{ github.event_name }}" = "schedule" ]; then
if [ "${{ github.event.schedule }}" = "0 8 * * 1" ]; then
echo "interval=weekly" >> $GITHUB_OUTPUT
else
echo "interval=monthly" >> $GITHUB_OUTPUT
fi
else
echo "interval=${{ github.event.inputs.interval }}" >> $GITHUB_OUTPUT
fi
- name: Run Analytics Mailer
run: pnpm --filter @mintel/analytics-mailer run start -- --interval=${{ steps.set-interval.outputs.interval }}

View File

@@ -0,0 +1,34 @@
[
{
"websiteId": "59a7db94-0100-4c7e-98ef-99f45b17f9c3",
"domain": "klz-cables.com",
"clientEmail": "marc@mintel.me",
"clientName": "KLZ Cables",
"greeting": "Hallo Herr Künzel,",
"interval": "monthly"
},
{
"websiteId": "b9035279-72f1-49bc-909d-b073d184c388",
"domain": "mintel.me",
"clientEmail": "marc@mintel.me",
"clientName": "Mintel.me",
"greeting": "Hallo Team Mintel,",
"interval": "monthly"
},
{
"websiteId": "caa402bc-b2d2-4349-a254-84c0dd2a4460",
"domain": "mb-grid-solutions.com",
"clientEmail": "marc@mintel.me",
"clientName": "MB Grid Solutions",
"greeting": "Hallo Herr Bartenbach,",
"interval": "monthly"
},
{
"websiteId": "d773ea10-a3b3-4ccf-9024-987e14c4d669",
"domain": "e-tib.com",
"clientEmail": "marc@mintel.me",
"clientName": "E-TIB GmbH",
"greeting": "Sehr geehrter Herr Mintel,",
"interval": "monthly"
}
]

View File

@@ -0,0 +1,27 @@
{
"name": "@mintel/analytics-mailer",
"version": "1.0.0",
"private": true,
"type": "module",
"scripts": {
"build": "tsup src/index.ts --format esm --clean",
"start": "node dist/index.js",
"dev": "tsx src/index.ts"
},
"dependencies": {
"@mintel/mail": "workspace:*",
"axios": "^1.7.9",
"dotenv": "^16.4.7",
"form-data": "^4.0.1",
"mailgun.js": "^10.3.0"
},
"devDependencies": {
"@mintel/eslint-config": "workspace:*",
"@mintel/tsconfig": "workspace:*",
"@types/node": "^22.19.10",
"tsup": "^8.3.5",
"tsx": "^4.19.2",
"typescript": "^5.7.2",
"vitest": "^4.1.10"
}
}

View File

@@ -0,0 +1,178 @@
import fs from "fs/promises";
import path from "path";
import axios from "axios";
import { render } from "@mintel/mail";
import { AnalyticsTemplate } from "@mintel/mail";
import { getLast7Days, getThisMonth, getThisYear } from "./utils/time-calculator";
import Mailgun from "mailgun.js";
import formData from "form-data";
import * as dotenv from "dotenv";
dotenv.config();
const UMAMI_BASE_URL = process.env.UMAMI_BASE_URL || "https://umami.infra.mintel.me";
const UMAMI_USERNAME = process.env.UMAMI_USERNAME;
const UMAMI_PASSWORD = process.env.UMAMI_PASSWORD;
const UMAMI_API_KEY = process.env.UMAMI_API_KEY;
const MAILGUN_API_KEY = process.env.MAILGUN_API_KEY;
const MAILGUN_DOMAIN = process.env.MAILGUN_DOMAIN;
const MAILGUN_SENDER = process.env.MAILGUN_SENDER || "reports@mintel.me";
const MAILGUN_URL = process.env.MAILGUN_URL || "https://api.eu.mailgun.net";
interface ConfigClient {
websiteId: string;
domain: string;
clientEmail: string;
clientName: string;
greeting?: string;
interval?: "weekly" | "monthly";
}
async function getUmamiToken(): Promise<string> {
if (UMAMI_API_KEY) {
return UMAMI_API_KEY;
}
if (!UMAMI_USERNAME || !UMAMI_PASSWORD) {
throw new Error("Missing UMAMI_USERNAME and UMAMI_PASSWORD or UMAMI_API_KEY");
}
const res = await axios.post(`${UMAMI_BASE_URL}/api/auth/login`, {
username: UMAMI_USERNAME,
password: UMAMI_PASSWORD,
});
return res.data.token;
}
import https from "https";
async function fetchUmamiData(api: any, websiteId: string, startAt: number, endAt: number, label: string) {
let unit = "day";
if (label === "Dieses Jahr") unit = "month";
const [statsRes, pagesRes, refRes, viewsRes] = await Promise.all([
api.get(`/websites/${websiteId}/stats`, { params: { startAt, endAt } }),
api.get(`/websites/${websiteId}/metrics`, { params: { type: "path", limit: 5, startAt, endAt } }),
api.get(`/websites/${websiteId}/metrics`, { params: { type: "referrer", limit: 5, startAt, endAt } }),
api.get(`/websites/${websiteId}/pageviews`, { params: { startAt, endAt, unit, timezone: "Europe/Berlin" } }).catch(() => ({ data: { pageviews: [] } })),
]);
const stats = statsRes.data;
const topPages = (pagesRes.data || []).map((p: any) => ({ url: p.x, views: p.y || 0 }));
const topReferrers = (refRes.data || []).map((r: any) => ({ url: r.x, visitors: r.y || 0 }));
const visitors = typeof stats.visitors === "object" ? stats.visitors?.value || 0 : stats.visitors || 0;
const visits = typeof stats.visits === "object" ? stats.visits?.value || 0 : stats.visits || 0;
const views = typeof stats.pageviews === "object" ? stats.pageviews?.value || 0 : stats.pageviews || 0;
const bounces = typeof stats.bounces === "object" ? stats.bounces?.value || 0 : stats.bounces || 0;
const totaltime = typeof stats.totaltime === "object" ? stats.totaltime?.value || 0 : stats.totaltime || 0;
const bounceRate = visits > 0 ? Math.round((bounces / visits) * 100) : 0;
let visitDuration = "0s";
if (visits > 0) {
const avgSeconds = Math.round(totaltime / visits);
if (avgSeconds < 60) {
visitDuration = `${avgSeconds}s`;
} else {
visitDuration = `${Math.floor(avgSeconds / 60)}m ${avgSeconds % 60}s`;
}
}
const chartData = (viewsRes.data?.pageviews || []).map((pv: any) => ({
label: pv.x,
value: pv.y || 0
}));
return {
label,
visitors,
visits,
views,
bounceRate,
visitDuration,
topPages,
topReferrers,
chartData,
};
}
async function main() {
const isDryRun = process.argv.includes("--dry-run");
const intervalArg = process.argv.find(a => a.startsWith("--interval="));
const runInterval = intervalArg ? intervalArg.split("=")[1] : "monthly";
if (runInterval !== "weekly" && runInterval !== "monthly") {
throw new Error("Invalid interval. Use --interval=weekly or --interval=monthly");
}
// Load config
const configPath = path.resolve(process.cwd(), "config.json");
const configRaw = await fs.readFile(configPath, "utf-8");
const clients: ConfigClient[] = JSON.parse(configRaw);
// Setup Umami API
const token = await getUmamiToken();
const headers = UMAMI_API_KEY ? { "x-umami-api-key": token } : { Authorization: `Bearer ${token}` };
const httpsAgent = new https.Agent({ rejectUnauthorized: false });
const api = axios.create({ baseURL: `${UMAMI_BASE_URL}/api`, headers, httpsAgent });
// Setup Mailgun
const mailgun = new Mailgun(formData);
const mg = mailgun.client({ username: "api", key: MAILGUN_API_KEY || "dummy", url: MAILGUN_URL });
const timeRanges = [getLast7Days(), getThisMonth(), getThisYear()];
console.log(`Generating reports...`);
for (const client of clients) {
if (client.websiteId === "replace-with-umami-website-id") continue;
const clientInterval = client.interval || "monthly";
if (clientInterval !== runInterval) {
console.log(`Skipping ${client.domain} (runs ${clientInterval}, currently executing ${runInterval})`);
continue;
}
console.log(`Processing ${client.domain} (${client.clientName})...`);
try {
const periods = await Promise.all(
timeRanges.map((tr) => fetchUmamiData(api, client.websiteId, tr.startAt, tr.endAt, tr.label))
);
const html = await render(AnalyticsTemplate({
greeting: client.greeting || `Hallo ${client.clientName},`,
domain: client.domain,
periods,
}));
const subject = `Performance-Report - ${client.domain}`;
if (isDryRun) {
console.log(`[DRY-RUN] Would send email to ${client.clientEmail} for ${client.domain}`);
const debugPath = path.resolve(process.cwd(), `dry-run-${client.domain}.html`);
await fs.writeFile(debugPath, html);
console.log(`[DRY-RUN] Saved HTML preview to ${debugPath}`);
} else {
if (!MAILGUN_API_KEY) {
throw new Error("MAILGUN_API_KEY is missing for live run.");
}
await mg.messages.create(MAILGUN_DOMAIN!, {
from: MAILGUN_SENDER,
to: [client.clientEmail],
subject,
html,
});
console.log(`Successfully sent to ${client.clientEmail}`);
}
} catch (e: any) {
console.error(`Failed to process client ${client.domain}:`, e.response?.data || e.message);
}
}
console.log("Done.");
}
main().catch((err) => {
console.error("Fatal error:", err);
process.exit(1);
});

View File

@@ -0,0 +1,19 @@
export function getLast7Days() {
const endAt = Date.now();
const startAt = endAt - 7 * 24 * 60 * 60 * 1000;
return { label: "Letzte 7 Tage", startAt, endAt };
}
export function getThisMonth() {
const now = new Date();
const startAt = new Date(now.getFullYear(), now.getMonth(), 1).getTime();
const endAt = Date.now();
return { label: "Dieser Monat", startAt, endAt };
}
export function getThisYear() {
const now = new Date();
const startAt = new Date(now.getFullYear(), 0, 1).getTime();
const endAt = Date.now();
return { label: "Dieses Jahr", startAt, endAt };
}

View File

@@ -0,0 +1,10 @@
{
"extends": "@mintel/tsconfig/base.json",
"compilerOptions": {
"outDir": "dist",
"rootDir": "src",
"module": "NodeNext",
"moduleResolution": "NodeNext"
},
"include": ["src/**/*"]
}

View File

@@ -85,6 +85,30 @@ services:
networks:
- mcp-network
vikunja-mcp:
build:
context: ./packages/vikunja-mcp
container_name: vikunja-mcp
env_file:
- .env
ports:
- "3007:3007"
restart: unless-stopped
networks:
- mcp-network
outline-mcp:
build:
context: ./packages/outline-mcp
container_name: outline-mcp
env_file:
- .env
ports:
- "3008:3008"
restart: unless-stopped
networks:
- mcp-network
networks:
mcp-network:
driver: bridge

View File

@@ -31,7 +31,7 @@
"@next/eslint-plugin-next": "16.1.6",
"@testing-library/jest-dom": "^6.9.1",
"@testing-library/react": "^16.3.2",
"@types/node": "^20.17.16",
"@types/node": "^20.19.33",
"@types/react": "^19.2.10",
"@types/react-dom": "^19.2.3",
"@vitejs/plugin-react": "^5.1.2",

View File

@@ -0,0 +1,2 @@
service:
allowiconchanges: false

View File

@@ -0,0 +1,42 @@
services:
db:
image: postgres:15-alpine
environment:
POSTGRES_USER: vikunja
POSTGRES_PASSWORD: mintel_vikunja_DB_2026!
POSTGRES_DB: vikunja
volumes:
- ./data/db:/var/lib/postgresql/data
restart: always
vikunja:
image: vikunja/vikunja:latest
environment:
VIKUNJA_DATABASE_HOST: db
VIKUNJA_DATABASE_PASSWORD: mintel_vikunja_DB_2026!
VIKUNJA_DATABASE_TYPE: postgres
VIKUNJA_DATABASE_USER: vikunja
VIKUNJA_DATABASE_DATABASE: vikunja
VIKUNJA_SERVICE_PUBLICURL: https://tasks.infra.mintel.me/
VIKUNJA_SERVICE_ENABLEREGISTRATION: true
VIKUNJA_SERVICE_ALLOWICONCHANGES: false
VIKUNJA_SERVICE_JWTSECRET: d2FzaHViZXJzZWN1cmVqd3RzZWNyZXQyMDI2IQ==
volumes:
- ./data/files:/app/vikunja/files
- ./config.yml:/etc/vikunja/config.yml:ro
depends_on:
- db
restart: always
labels:
- "traefik.enable=true"
- "traefik.http.routers.vikunja.rule=Host(`tasks.infra.mintel.me`)"
- "traefik.http.routers.vikunja.entrypoints=websecure"
- "traefik.http.routers.vikunja.tls.certresolver=le"
- "traefik.http.services.vikunja.loadbalancer.server.port=3456"
networks:
- default
- infra
networks:
infra:
external: true

View File

@@ -25,3 +25,4 @@ export * from "./templates/ConfirmationMessage";
export * from "./templates/FollowUpTemplate";
export * from "./templates/ProjectEstimateTemplate";
export * from "./templates/SiteAuditTemplate";
export * from "./templates/AnalyticsTemplate";

View File

@@ -0,0 +1,197 @@
import {
Body,
Container,
Head,
Html,
Preview,
Section,
Text,
Img,
} from "@react-email/components";
import * as React from "react";
export interface GatekeeperLayoutProps {
preview: string;
projectName?: string;
subTitle?: string;
children: React.ReactNode;
}
export const GatekeeperLayout = ({ preview, projectName = "MINTEL", subTitle = "INFRASTRUCTURE", children }: GatekeeperLayoutProps) => {
return (
<Html>
<Head />
<Preview>{preview}</Preview>
<Body style={main}>
<Container style={container}>
{/* Top Icon Box */}
<Section style={iconBoxSection}>
<div style={iconBox}>
<Img
src="https://mintel.me/favicon-32x32.png"
width={28}
height={28}
alt="Mintel"
style={iconImg}
/>
</div>
</Section>
{/* Title Area */}
<Section style={titleSection}>
<Text style={gatekeeperTitle}>
{projectName} <span style={{ color: "rgba(0,0,0,0.3)" }}>GATEKEEPER</span>
</Text>
<table align="center" width="100%" border={0} cellPadding={0} cellSpacing={0} role="presentation">
<tbody>
<tr>
<td width="30%" align="right"><div style={lineGradientRight} /></td>
<td width="40%" align="center">
<Text style={gatekeeperSub}>
{subTitle}
</Text>
</td>
<td width="30%" align="left"><div style={lineGradientLeft} /></td>
</tr>
</tbody>
</table>
</Section>
{/* Main Content Area */}
<Section style={contentSection}>
{children}
</Section>
{/* Footer Area */}
<Section style={footerSection}>
<div style={lineGradientCenter} />
<div style={{ marginTop: "24px" }}>
<Img
src="https://mintel.me/favicon-32x32.png"
width={24}
height={24}
alt={projectName}
style={{ opacity: 0.3, margin: "0 auto", display: "block" }}
/>
</div>
<Text style={footerText}>
&copy; {new Date().getFullYear()} MINTEL
</Text>
</Section>
</Container>
</Body>
</Html>
);
};
const main = {
backgroundColor: "#f5f5f7",
color: "#111111",
fontFamily:
'ui-serif, Georgia, Cambria, "Times New Roman", Times, serif',
WebkitFontSmoothing: "antialiased" as const,
};
const container = {
margin: "0 auto",
padding: "40px 20px 80px",
maxWidth: "420px",
};
const iconBoxSection = {
textAlign: "center" as const,
marginBottom: "40px",
};
const iconBox = {
width: "56px",
height: "56px",
backgroundColor: "#ffffff",
borderRadius: "16px",
margin: "0 auto",
display: "flex",
alignItems: "center",
justifyContent: "center",
border: "1px solid rgba(0,0,0,0.06)",
boxShadow: "0 10px 15px -3px rgba(0,0,0,0.06), 0 4px 6px -2px rgba(0,0,0,0.03)",
};
const iconImg = {
margin: "14px auto",
display: "block",
opacity: 0.8,
filter: "grayscale(100%) brightness(0)",
};
const titleSection = {
textAlign: "center" as const,
marginBottom: "32px",
};
const gatekeeperTitle = {
fontSize: "11px",
fontFamily: '-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif',
fontWeight: "bold",
textTransform: "uppercase" as const,
letterSpacing: "0.5em",
color: "rgba(0,0,0,0.8)",
margin: "0 0 12px 0",
};
const gatekeeperSub = {
fontSize: "8px",
fontFamily: '-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif',
textTransform: "uppercase" as const,
letterSpacing: "0.35em",
fontWeight: 600,
color: "rgba(0,0,0,0.3)",
margin: "0",
};
const lineGradientRight = {
height: "1px",
width: "32px",
backgroundColor: "rgba(0,0,0,0.1)",
marginLeft: "auto",
};
const lineGradientLeft = {
height: "1px",
width: "32px",
backgroundColor: "rgba(0,0,0,0.1)",
marginRight: "auto",
};
const contentSection = {
backgroundColor: "#ffffff",
padding: "32px",
borderRadius: "24px",
border: "1px solid rgba(0,0,0,0.06)",
boxShadow: "0 4px 6px -1px rgba(0,0,0,0.03)",
marginBottom: "32px",
};
const footerSection = {
textAlign: "center" as const,
paddingTop: "24px",
};
const lineGradientCenter = {
height: "1px",
width: "64px",
backgroundColor: "rgba(0,0,0,0.1)",
margin: "0 auto",
};
const footerText = {
fontSize: "7px",
fontFamily: '-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif',
fontWeight: 600,
color: "rgba(0,0,0,0.25)",
textTransform: "uppercase" as const,
letterSpacing: "0.5em",
marginTop: "20px",
};

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,15 @@
FROM node:20-bookworm-slim AS builder
WORKDIR /app
COPY package.json ./
RUN npm install -g pnpm@10.18.3 && pnpm install --ignore-workspace
COPY tsconfig.json ./
COPY src ./src
RUN pnpm build
FROM node:20-bookworm-slim
WORKDIR /app
COPY --from=builder /app/package.json ./
COPY --from=builder /app/node_modules ./node_modules
COPY --from=builder /app/dist ./dist
ENTRYPOINT ["node", "dist/start.js"]

View File

@@ -0,0 +1,26 @@
{
"name": "@mintel/outline-mcp",
"version": "1.0.0",
"description": "Outline MCP server for Mintel infrastructure",
"main": "dist/index.js",
"type": "module",
"scripts": {
"build": "tsc",
"start": "node dist/start.js",
"dev": "tsx watch src/index.ts",
"test:unit": "vitest run"
},
"dependencies": {
"@modelcontextprotocol/sdk": "^1.5.0",
"axios": "^1.7.2",
"dotenv": "^17.3.1",
"express": "^4.19.2"
},
"devDependencies": {
"@types/express": "^4.17.21",
"@types/node": "^20.14.10",
"tsx": "^4.19.2",
"typescript": "^5.5.3",
"vitest": "^2.1.3"
}
}

View File

@@ -0,0 +1,91 @@
import { describe, it, expect, vi, beforeEach } from 'vitest';
import axios from 'axios';
import { Server } from "@modelcontextprotocol/sdk/server/index.js";
// Mock environment
process.env.OUTLINE_API_TOKEN = 'test-token';
process.env.OUTLINE_BASE_URL = 'https://outline.test';
// Mock axios
vi.mock('axios', () => {
const mockPost = vi.fn();
return {
default: {
create: vi.fn(() => ({
post: mockPost
}))
}
};
});
describe('Outline MCP Server Tools', () => {
let mockPost: any;
let requestHandler: any;
beforeEach(async () => {
vi.clearAllMocks();
// Extract the mock
const axiosInstance = axios.create();
mockPost = axiosInstance.post;
// Mock Server setRequestHandler
let capturedHandler: any;
vi.spyOn(Server.prototype, 'setRequestHandler').mockImplementation((schema: any, handler: any) => {
// The first call is usually ListToolsRequestSchema, second is CallToolRequestSchema
// We just store the last one which is CallToolRequestSchema
capturedHandler = handler;
return {} as any;
});
// Re-import to trigger registration
vi.resetModules();
await import('./index.js');
requestHandler = capturedHandler;
});
it('should search documents', async () => {
mockPost.mockResolvedValueOnce({ data: { data: [{ id: '1', title: 'Test' }] } });
const result = await requestHandler({
params: {
name: 'outline_search_documents',
arguments: { query: 'test' }
}
});
expect(mockPost).toHaveBeenCalledWith('/api/documents.search', { query: 'test', collectionId: undefined });
expect(result.content[0].text).toContain('Test');
});
it('should get a document', async () => {
mockPost.mockResolvedValueOnce({ data: { data: { id: 'doc1', title: 'Doc 1' } } });
const result = await requestHandler({
params: {
name: 'outline_get_document',
arguments: { id: 'doc1' }
}
});
expect(mockPost).toHaveBeenCalledWith('/api/documents.info', { id: 'doc1' });
expect(result.content[0].text).toContain('Doc 1');
});
it('should create a document', async () => {
mockPost.mockResolvedValueOnce({ data: { data: { id: 'new-doc' } } });
const result = await requestHandler({
params: {
name: 'outline_create_document',
arguments: { collectionId: 'col1', title: 'New Doc', text: 'Hello', publish: true }
}
});
expect(mockPost).toHaveBeenCalledWith('/api/documents.create', {
collectionId: 'col1', title: 'New Doc', text: 'Hello', publish: true
});
expect(result.content[0].text).toContain('new-doc');
});
});

View File

@@ -0,0 +1,184 @@
import { Server } from "@modelcontextprotocol/sdk/server/index.js";
import { StdioServerTransport } from "@modelcontextprotocol/sdk/server/stdio.js";
import {
CallToolRequestSchema,
ListToolsRequestSchema,
Tool,
} from "@modelcontextprotocol/sdk/types.js";
import axios from "axios";
// Environment variables
const OUTLINE_API_TOKEN = process.env.OUTLINE_API_TOKEN;
const OUTLINE_BASE_URL = process.env.OUTLINE_BASE_URL;
if (!OUTLINE_API_TOKEN || !OUTLINE_BASE_URL) {
console.error("Missing required environment variables: OUTLINE_API_TOKEN or OUTLINE_BASE_URL");
process.exit(1);
}
const axiosInstance = axios.create({
baseURL: OUTLINE_BASE_URL,
headers: {
Authorization: `Bearer ${OUTLINE_API_TOKEN}`,
"Content-Type": "application/json",
Accept: "application/json",
},
});
// Define tools
const tools: Tool[] = [
{
name: "outline_search_documents",
description: "Search for documents in Outline.",
inputSchema: {
type: "object",
properties: {
query: { type: "string", description: "Search query" },
collectionId: { type: "string", description: "Optional collection ID to scope search" },
},
required: ["query"],
},
},
{
name: "outline_get_document",
description: "Get a document by its ID.",
inputSchema: {
type: "object",
properties: {
id: { type: "string", description: "The ID of the document" },
},
required: ["id"],
},
},
{
name: "outline_create_document",
description: "Create a new document.",
inputSchema: {
type: "object",
properties: {
collectionId: { type: "string", description: "The ID of the collection" },
title: { type: "string", description: "Document title" },
text: { type: "string", description: "Document content in Markdown" },
publish: { type: "boolean", description: "Whether to publish the document" },
},
required: ["collectionId", "title", "text"],
},
},
{
name: "outline_update_document",
description: "Update an existing document.",
inputSchema: {
type: "object",
properties: {
id: { type: "string", description: "The ID of the document" },
title: { type: "string", description: "New title" },
text: { type: "string", description: "New content in Markdown" },
},
required: ["id"],
},
},
{
name: "outline_create_collection",
description: "Create a new collection.",
inputSchema: {
type: "object",
properties: {
name: { type: "string", description: "Collection name" },
description: { type: "string", description: "Collection description" },
},
required: ["name"],
},
},
];
const server = new Server(
{
name: "at-mintel-outline-mcp",
version: "1.0.0",
},
{
capabilities: {
tools: {},
},
}
);
server.setRequestHandler(ListToolsRequestSchema, async () => {
return { tools };
});
server.setRequestHandler(CallToolRequestSchema, async (request) => {
try {
switch (request.params.name) {
case "outline_search_documents": {
const { query, collectionId } = request.params.arguments as any;
const res = await axiosInstance.post("/api/documents.search", {
query,
collectionId,
});
return {
content: [{ type: "text", text: JSON.stringify(res.data, null, 2) }],
};
}
case "outline_get_document": {
const { id } = request.params.arguments as any;
const res = await axiosInstance.post("/api/documents.info", { id });
return {
content: [{ type: "text", text: JSON.stringify(res.data, null, 2) }],
};
}
case "outline_create_document": {
const { collectionId, title, text, publish } = request.params.arguments as any;
const res = await axiosInstance.post("/api/documents.create", {
collectionId,
title,
text,
publish: publish ?? true,
});
return {
content: [{ type: "text", text: JSON.stringify(res.data, null, 2) }],
};
}
case "outline_update_document": {
const { id, title, text } = request.params.arguments as any;
const res = await axiosInstance.post("/api/documents.update", {
id,
title,
text,
});
return {
content: [{ type: "text", text: JSON.stringify(res.data, null, 2) }],
};
}
case "outline_create_collection": {
const { name, description } = request.params.arguments as any;
const res = await axiosInstance.post("/api/collections.create", {
name,
description,
});
return {
content: [{ type: "text", text: JSON.stringify(res.data, null, 2) }],
};
}
default:
throw new Error(`Unknown tool: ${request.params.name}`);
}
} catch (error: any) {
const errorMsg = error.response?.data ? JSON.stringify(error.response.data) : error.message;
return {
content: [{ type: "text", text: `API Error: ${errorMsg}` }],
isError: true,
};
}
});
async function main() {
const transport = new StdioServerTransport();
await server.connect(transport);
console.error("Outline MCP Server running on stdio");
}
main().catch((error) => {
console.error("Fatal error:", error);
process.exit(1);
});

View File

@@ -0,0 +1,13 @@
import { config } from 'dotenv';
import { resolve } from 'path';
import { fileURLToPath } from 'url';
const __dirname = fileURLToPath(new URL('.', import.meta.url));
config({ quiet: true, path: resolve(__dirname, '../../../.env.local') });
config({ quiet: true, path: resolve(__dirname, '../../../.env') });
import('./index.js').catch(err => {
console.error('Failed to start Outline MCP Server:', err);
process.exit(1);
});

View File

@@ -0,0 +1,16 @@
{
"compilerOptions": {
"target": "ES2022",
"module": "NodeNext",
"moduleResolution": "NodeNext",
"outDir": "./dist",
"rootDir": "./src",
"strict": true,
"esModuleInterop": true,
"skipLibCheck": true,
"forceConsistentCasingInFileNames": true
},
"include": [
"src/**/*"
]
}

View File

@@ -0,0 +1,15 @@
FROM node:20-bookworm-slim AS builder
WORKDIR /app
COPY package.json ./
RUN npm install -g pnpm@10.18.3 && pnpm install --ignore-workspace
COPY tsconfig.json ./
COPY src ./src
RUN pnpm build
FROM node:20-bookworm-slim
WORKDIR /app
COPY --from=builder /app/package.json ./
COPY --from=builder /app/node_modules ./node_modules
COPY --from=builder /app/dist ./dist
ENTRYPOINT ["node", "dist/start.js"]

View File

@@ -0,0 +1,30 @@
{
"name": "@mintel/vikunja-mcp",
"version": "1.0.0",
"description": "Vikunja MCP server for Mintel infrastructure",
"main": "dist/index.js",
"type": "module",
"scripts": {
"build": "tsc",
"start": "node dist/start.js",
"dev": "tsx watch src/index.ts",
"test:unit": "vitest run"
},
"dependencies": {
"@modelcontextprotocol/sdk": "^1.5.0",
"axios": "^1.7.2",
"dotenv": "^17.3.1",
"express": "^4.19.2",
"form-data": "^4.0.5",
"marked": "^18.0.5"
},
"devDependencies": {
"@types/express": "^4.17.21",
"@types/form-data": "^2.5.2",
"@types/marked": "^6.0.0",
"@types/node": "^20.14.10",
"tsx": "^4.19.2",
"typescript": "^5.5.3",
"vitest": "^2.1.3"
}
}

View File

@@ -0,0 +1,205 @@
import { describe, it, expect, vi, beforeEach } from 'vitest';
// Mock axios
const mockGet = vi.fn();
const mockPost = vi.fn();
const mockPut = vi.fn();
const mockDelete = vi.fn();
vi.mock('axios', () => {
return {
default: {
create: vi.fn().mockImplementation(() => ({
get: mockGet,
post: mockPost,
put: mockPut,
delete: mockDelete,
})),
},
};
});
// Set env vars
process.env.VIKUNJA_API_TOKEN = 'test-token';
process.env.VIKUNJA_BASE_URL = 'https://tasks.test.me';
// Mock express to avoid starting a real server
vi.mock('express', () => {
const mockApp = {
use: vi.fn(),
get: vi.fn(),
post: vi.fn(),
listen: vi.fn().mockImplementation((port, host, cb) => cb && cb()),
};
const mockExpress = () => mockApp;
(mockExpress as any).json = () => vi.fn();
return { default: mockExpress };
});
let server: any;
describe('Vikunja MCP Server - New Tools (RED)', () => {
beforeEach(async () => {
vi.clearAllMocks();
if (!server) {
const mod = await import('./index.js');
server = mod.server;
}
});
it('should support vikunja_create_project', async () => {
mockPut.mockResolvedValueOnce({
data: { id: 10, title: 'New Project', description: 'Testing' }
});
const handler = (server as any)._requestHandlers.get('tools/call');
expect(handler).toBeDefined();
const response = await handler({
method: 'tools/call',
params: {
name: 'vikunja_create_project',
arguments: {
title: 'New Project',
description: 'Testing',
hex_color: 'ff0000',
},
},
});
expect(mockPut).toHaveBeenCalledWith('/projects', {
title: 'New Project',
description: 'Testing',
hex_color: 'ff0000',
});
expect(response.isError).toBeUndefined();
expect(JSON.parse(response.content[0].text)).toEqual({
id: 10,
title: 'New Project',
description: 'Testing',
});
});
it('should support vikunja_get_task', async () => {
mockGet.mockResolvedValueOnce({
data: { id: 42, title: 'My Task', project_id: 1 }
});
const handler = (server as any)._requestHandlers.get('tools/call');
const response = await handler({
method: 'tools/call',
params: {
name: 'vikunja_get_task',
arguments: {
task_id: 42,
},
},
});
expect(mockGet).toHaveBeenCalledWith('/tasks/42');
expect(response.isError).toBeUndefined();
expect(JSON.parse(response.content[0].text)).toEqual({
id: 42,
title: 'My Task',
project_id: 1,
});
});
it('should support vikunja_delete_task', async () => {
mockDelete.mockResolvedValueOnce({
data: { message: 'success' }
});
const handler = (server as any)._requestHandlers.get('tools/call');
const response = await handler({
method: 'tools/call',
params: {
name: 'vikunja_delete_task',
arguments: {
task_id: 42,
},
},
});
expect(mockDelete).toHaveBeenCalledWith('/tasks/42');
expect(response.isError).toBeUndefined();
expect(JSON.parse(response.content[0].text)).toEqual({
message: 'success',
});
});
it('should support vikunja_create_task_comment', async () => {
mockPut.mockResolvedValueOnce({
data: { id: 1, comment: 'New Comment', task_id: 42 }
});
const handler = (server as any)._requestHandlers.get('tools/call');
const response = await handler({
method: 'tools/call',
params: {
name: 'vikunja_create_task_comment',
arguments: {
task_id: 42,
comment: 'New Comment',
},
},
});
expect(mockPut).toHaveBeenCalledWith('/tasks/42/comments', {
comment: 'New Comment',
});
expect(response.isError).toBeUndefined();
expect(JSON.parse(response.content[0].text)).toEqual({
id: 1,
comment: 'New Comment',
task_id: 42,
});
});
it('should support vikunja_get_task_comments', async () => {
mockGet.mockResolvedValueOnce({
data: [{ id: 1, comment: 'New Comment', task_id: 42 }]
});
const handler = (server as any)._requestHandlers.get('tools/call');
const response = await handler({
method: 'tools/call',
params: {
name: 'vikunja_get_task_comments',
arguments: {
task_id: 42,
},
},
});
expect(mockGet).toHaveBeenCalledWith('/tasks/42/comments');
expect(response.isError).toBeUndefined();
expect(JSON.parse(response.content[0].text)).toEqual([
{ id: 1, comment: 'New Comment', task_id: 42 }
]);
});
it('should support vikunja_create_task and convert markdown description to HTML', async () => {
mockPut.mockResolvedValueOnce({
data: { id: 11, title: 'Markdown Task', description: '<p><strong>Bold</strong> and <em>italic</em></p>\n' }
});
const handler = (server as any)._requestHandlers.get('tools/call');
const response = await handler({
method: 'tools/call',
params: {
name: 'vikunja_create_task',
arguments: {
project_id: 1,
title: 'Markdown Task',
description: '**Bold** and *italic*'
},
},
});
expect(mockPut).toHaveBeenCalledWith('/projects/1/tasks', expect.objectContaining({
title: 'Markdown Task',
description: '<p><strong>Bold</strong> and <em>italic</em></p>\n'
}));
expect(response.isError).toBeUndefined();
});
});

View File

@@ -0,0 +1,421 @@
import { Server } from "@modelcontextprotocol/sdk/server/index.js";
import { SSEServerTransport } from "@modelcontextprotocol/sdk/server/sse.js";
import express from 'express';
import {
CallToolRequestSchema,
ListToolsRequestSchema,
Tool,
} from "@modelcontextprotocol/sdk/types.js";
import axios from "axios";
import https from "https";
import fs from "fs";
import path from "path";
import { marked } from "marked";
const VIKUNJA_BASE_URL = process.env.VIKUNJA_BASE_URL || "https://tasks.infra.mintel.me";
const VIKUNJA_API_TOKEN = process.env.VIKUNJA_API_TOKEN;
const httpsAgent = new https.Agent({
rejectUnauthorized: false,
});
if (!VIKUNJA_API_TOKEN) {
console.error("Warning: VIKUNJA_API_TOKEN is not set.");
}
function getApi() {
if (!VIKUNJA_API_TOKEN) {
throw new Error("VIKUNJA_API_TOKEN is not configured.");
}
return axios.create({
baseURL: `${VIKUNJA_BASE_URL}/api/v1`,
headers: {
Authorization: `Bearer ${VIKUNJA_API_TOKEN}`,
'Content-Type': 'application/json'
},
httpsAgent,
timeout: 10000
});
}
// --- Tool Definitions ---
const GET_PROJECTS_TOOL: Tool = {
name: "vikunja_get_projects",
description: "List all projects in Vikunja",
inputSchema: { type: "object", properties: {} },
};
const GET_TASKS_TOOL: Tool = {
name: "vikunja_get_tasks",
description: "Get all tasks for a specific project",
inputSchema: {
type: "object",
properties: {
project_id: { type: "number", description: "The ID of the project" },
},
required: ["project_id"],
},
};
const CREATE_TASK_TOOL: Tool = {
name: "vikunja_create_task",
description: "Create a new task in a project",
inputSchema: {
type: "object",
properties: {
project_id: { type: "number", description: "The ID of the project to add the task to" },
title: { type: "string", description: "The title of the task" },
description: { type: "string", description: "Optional description of the task" },
parent_task_id: { type: "number", description: "Optional ID of a parent task to create a subtask" },
due_date: { type: "string", description: "ISO 8601 Date string for due date" },
start_date: { type: "string", description: "ISO 8601 Date string for start date" },
end_date: { type: "string", description: "ISO 8601 Date string for end date" },
priority: { type: "number", description: "Priority level (e.g. 1-5)" },
percent_done: { type: "number", description: "Progress percentage" },
hex_color: { type: "string", description: "Hex color code" },
is_favorite: { type: "boolean", description: "Mark as favorite" }
},
required: ["project_id", "title"],
},
};
const UPDATE_TASK_TOOL: Tool = {
name: "vikunja_update_task",
description: "Update a task (e.g., mark as done)",
inputSchema: {
type: "object",
properties: {
task_id: { type: "number", description: "The ID of the task to update" },
done: { type: "boolean", description: "Set to true to mark the task as done" },
title: { type: "string", description: "Update the title" },
description: { type: "string", description: "Update the description" },
due_date: { type: "string", description: "ISO 8601 Date string for due date" },
start_date: { type: "string", description: "ISO 8601 Date string for start date" },
end_date: { type: "string", description: "ISO 8601 Date string for end date" },
priority: { type: "number", description: "Priority level (e.g. 1-5)" },
percent_done: { type: "number", description: "Progress percentage (0-1 or 0-100 depending on API version, try decimals like 0.5 first)" },
hex_color: { type: "string", description: "Hex color code" },
is_favorite: { type: "boolean", description: "Mark as favorite" }
},
required: ["task_id"],
},
};
const CREATE_PROJECT_TOOL: Tool = {
name: "vikunja_create_project",
description: "Create a new project (list) in Vikunja",
inputSchema: {
type: "object",
properties: {
title: { type: "string", description: "The title of the project" },
description: { type: "string", description: "Optional description of the project" },
hex_color: { type: "string", description: "Optional hex color without the '#' prefix" }
},
required: ["title"]
}
};
const GET_TASK_TOOL: Tool = {
name: "vikunja_get_task",
description: "Get details for a specific task by ID",
inputSchema: {
type: "object",
properties: {
task_id: { type: "number", description: "The ID of the task" }
},
required: ["task_id"]
}
};
const DELETE_TASK_TOOL: Tool = {
name: "vikunja_delete_task",
description: "Delete a task by ID",
inputSchema: {
type: "object",
properties: {
task_id: { type: "number", description: "The ID of the task to delete" }
},
required: ["task_id"]
}
};
const CREATE_TASK_COMMENT_TOOL: Tool = {
name: "vikunja_create_task_comment",
description: "Add a comment to a task",
inputSchema: {
type: "object",
properties: {
task_id: { type: "number", description: "The ID of the task to comment on" },
comment: { type: "string", description: "The comment text" }
},
required: ["task_id", "comment"]
}
};
const GET_TASK_COMMENTS_TOOL: Tool = {
name: "vikunja_get_task_comments",
description: "Get all comments for a specific task",
inputSchema: {
type: "object",
properties: {
task_id: { type: "number", description: "The ID of the task" }
},
required: ["task_id"]
}
};
const GET_TASK_ATTACHMENT_TOOL: Tool = {
name: "vikunja_get_task_attachment",
description: "Download a task attachment to a local file",
inputSchema: {
type: "object",
properties: {
task_id: { type: "number", description: "The ID of the task" },
attachment_id: { type: "number", description: "The ID of the attachment" },
save_path: { type: "string", description: "Absolute path to save the file to" }
},
required: ["task_id", "attachment_id", "save_path"]
}
};
const CREATE_TASK_ATTACHMENT_TOOL: Tool = {
name: "vikunja_upload_task_attachment",
description: "Upload an attachment file to a specific task",
inputSchema: {
type: "object",
properties: {
task_id: { type: "number", description: "The ID of the task" },
file_path: { type: "string", description: "Absolute path to the local file to upload" }
},
required: ["task_id", "file_path"]
}
};
// --- Server Setup ---
export const server = new Server(
{ name: "vikunja-mcp", version: "1.0.0" },
{ capabilities: { tools: {} } }
);
server.setRequestHandler(ListToolsRequestSchema, async () => ({
tools: [
GET_PROJECTS_TOOL,
GET_TASKS_TOOL,
CREATE_TASK_TOOL,
UPDATE_TASK_TOOL,
CREATE_PROJECT_TOOL,
GET_TASK_TOOL,
DELETE_TASK_TOOL,
CREATE_TASK_COMMENT_TOOL,
GET_TASK_COMMENTS_TOOL,
GET_TASK_ATTACHMENT_TOOL,
CREATE_TASK_ATTACHMENT_TOOL
],
}));
server.setRequestHandler(CallToolRequestSchema, async (request) => {
try {
const api = getApi();
if (request.params.name === "vikunja_get_projects") {
const res = await api.get('/projects');
return { content: [{ type: "text", text: JSON.stringify(res.data, null, 2) }] };
}
if (request.params.name === "vikunja_get_tasks") {
const { project_id } = request.params.arguments as any;
const res = await api.get(`/projects/${project_id}/tasks`);
return { content: [{ type: "text", text: JSON.stringify(res.data, null, 2) }] };
}
if (request.params.name === "vikunja_create_task") {
const {
project_id, title, description, parent_task_id,
due_date, start_date, end_date, priority, percent_done, hex_color, is_favorite
} = request.params.arguments as any;
const payload: any = {
title,
description: description ? await marked.parse(description) : ""
};
if (parent_task_id !== undefined) payload.parent_task_id = parent_task_id;
if (due_date !== undefined) payload.due_date = due_date;
if (start_date !== undefined) payload.start_date = start_date;
if (end_date !== undefined) payload.end_date = end_date;
if (priority !== undefined) payload.priority = priority;
if (percent_done !== undefined) payload.percent_done = percent_done;
if (hex_color !== undefined) payload.hex_color = hex_color;
if (is_favorite !== undefined) payload.is_favorite = is_favorite;
const res = await api.put(`/projects/${project_id}/tasks`, payload);
return { content: [{ type: "text", text: JSON.stringify(res.data, null, 2) }] };
}
if (request.params.name === "vikunja_update_task") {
const {
task_id, done, title, description,
due_date, start_date, end_date,
priority, percent_done, hex_color, is_favorite
} = request.params.arguments as any;
const payload: any = {};
if (done !== undefined) payload.done = done;
if (title !== undefined) payload.title = title;
if (description !== undefined) payload.description = await marked.parse(description);
if (due_date !== undefined) payload.due_date = due_date;
if (start_date !== undefined) payload.start_date = start_date;
if (end_date !== undefined) payload.end_date = end_date;
if (priority !== undefined) payload.priority = priority;
if (percent_done !== undefined) payload.percent_done = percent_done;
if (hex_color !== undefined) payload.hex_color = hex_color;
if (is_favorite !== undefined) payload.is_favorite = is_favorite;
const res = await api.post(`/tasks/${task_id}`, payload);
return { content: [{ type: "text", text: JSON.stringify(res.data, null, 2) }] };
}
if (request.params.name === "vikunja_create_project") {
const { title, description, hex_color } = request.params.arguments as any;
// Vikunja standard: creating a new root resource uses PUT /projects in this version
const res = await api.put('/projects', {
title,
description: description || "",
hex_color: hex_color || ""
});
return { content: [{ type: "text", text: JSON.stringify(res.data, null, 2) }] };
}
if (request.params.name === "vikunja_get_task") {
const { task_id } = request.params.arguments as any;
const res = await api.get(`/tasks/${task_id}`);
return { content: [{ type: "text", text: JSON.stringify(res.data, null, 2) }] };
}
if (request.params.name === "vikunja_delete_task") {
const { task_id } = request.params.arguments as any;
const res = await api.delete(`/tasks/${task_id}`);
return { content: [{ type: "text", text: JSON.stringify(res.data, null, 2) }] };
}
if (request.params.name === "vikunja_create_task_comment") {
const { task_id, comment } = request.params.arguments as any;
// Vikunja standard: task sub-resources (like comments) are typically appended using PUT /tasks/{id}/comments
const res = await api.put(`/tasks/${task_id}/comments`, { comment });
return { content: [{ type: "text", text: JSON.stringify(res.data, null, 2) }] };
}
if (request.params.name === "vikunja_get_task_comments") {
const { task_id } = request.params.arguments as any;
const res = await api.get(`/tasks/${task_id}/comments`);
return { content: [{ type: "text", text: JSON.stringify(res.data, null, 2) }] };
}
if (request.params.name === "vikunja_get_task_attachment") {
const { task_id, attachment_id, save_path } = request.params.arguments as any;
const res = await api.get(`/tasks/${task_id}/attachments/${attachment_id}`, {
responseType: 'arraybuffer'
});
fs.writeFileSync(save_path, Buffer.from(res.data));
return { content: [{ type: "text", text: `Successfully saved attachment to ${save_path}` }] };
}
if (request.params.name === "vikunja_upload_task_attachment") {
const { task_id, file_path } = request.params.arguments as any;
if (!fs.existsSync(file_path)) {
throw new Error(`File not found: ${file_path}`);
}
const buffer = fs.readFileSync(file_path);
const blob = new Blob([buffer]);
const formData = new FormData();
formData.append('files', blob, path.basename(file_path));
const res = await api.put(`/tasks/${task_id}/attachments`, formData, {
headers: {
'Content-Type': 'multipart/form-data'
}
});
return { content: [{ type: "text", text: `Successfully uploaded attachment to task ${task_id}.\nResponse: ${JSON.stringify(res.data)}` }] };
}
throw new Error(`Unknown tool: ${request.params.name}`);
} catch (e: any) {
const msg = e.response?.data?.message || e.message;
return {
isError: true,
content: [{ type: "text", text: `MCP Service Error: ${msg}` }]
};
}
});
// --- Express / SSE Server Setup ---
async function run() {
const isStdio = process.argv.includes('--stdio');
if (isStdio) {
const { StdioServerTransport } = await import('@modelcontextprotocol/sdk/server/stdio.js');
const transport = new StdioServerTransport();
await server.connect(transport);
console.error('Vikunja MCP server is running on stdio');
} else {
const app = express();
const transports = new Map<string, SSEServerTransport>();
app.use((req, res, next) => {
res.setHeader('Access-Control-Allow-Origin', '*');
res.setHeader('Access-Control-Allow-Methods', 'GET, POST, OPTIONS');
res.setHeader('Access-Control-Allow-Headers', 'Content-Type, Authorization, x-mcp-protocol-version');
if (req.method === 'OPTIONS') {
res.status(204).end();
return;
}
next();
});
app.use((req, _res, next) => {
console.error(`${req.method} ${req.url}`);
next();
});
app.get('/sse', async (req, res) => {
const transport = new SSEServerTransport('/message', res as any);
const sessionId = transport.sessionId;
console.error(`New SSE connection: ${sessionId}`);
transports.set(sessionId, transport);
const heartbeatInterval = setInterval(() => {
res.write(": heartbeat\n\n");
}, 15000);
req.on('close', () => {
console.error(`SSE connection closed: ${sessionId}`);
clearInterval(heartbeatInterval);
transports.delete(sessionId);
});
await server.connect(transport);
});
app.post('/message', express.json(), async (req, res) => {
const sessionId = req.query.sessionId as string;
const transport = transports.get(sessionId);
if (!transport) {
res.status(400).send('No active SSE connection for this session');
return;
}
await transport.handlePostMessage(req, res);
});
const PORT = Number(process.env.VIKUNJA_MCP_PORT) || 3007;
app.listen(PORT, '0.0.0.0', () => {
console.error(`Vikunja MCP server running on http://0.0.0.0:${PORT}/sse`);
});
}
}
run().catch((err) => {
console.error("Fatal error:", err);
process.exit(1);
});

View File

@@ -0,0 +1,13 @@
import { config } from 'dotenv';
import { resolve } from 'path';
import { fileURLToPath } from 'url';
const __dirname = fileURLToPath(new URL('.', import.meta.url));
config({ quiet: true, path: resolve(__dirname, '../../../.env.local') });
config({ quiet: true, path: resolve(__dirname, '../../../.env') });
import('./index.js').catch(err => {
console.error('Failed to start Vikunja MCP Server:', err);
process.exit(1);
});

View File

@@ -0,0 +1,16 @@
{
"compilerOptions": {
"target": "ES2022",
"module": "NodeNext",
"moduleResolution": "NodeNext",
"outDir": "./dist",
"rootDir": "./src",
"strict": true,
"esModuleInterop": true,
"skipLibCheck": true,
"forceConsistentCasingInFileNames": true
},
"include": [
"src/**/*"
]
}

397
pnpm-lock.yaml generated
View File

@@ -53,7 +53,7 @@ importers:
specifier: ^16.3.2
version: 16.3.2(@testing-library/dom@10.4.1)(@types/react-dom@19.2.3(@types/react@19.2.13))(@types/react@19.2.13)(react-dom@19.2.4(react@19.2.4))(react@19.2.4)
'@types/node':
specifier: ^20.17.16
specifier: ^20.19.33
version: 20.19.33
'@types/react':
specifier: ^19.2.10
@@ -104,6 +104,46 @@ importers:
specifier: ^4.0.18
version: 4.0.18(@opentelemetry/api@1.9.0)(@types/node@20.19.33)(@vitest/ui@4.0.18)(happy-dom@20.5.3)(jiti@2.6.1)(jsdom@27.4.0(canvas@3.2.1))(lightningcss@1.30.2)(sass@1.97.3)(terser@5.46.0)(tsx@4.21.0)(yaml@2.8.2)
apps/analytics-mailer:
dependencies:
'@mintel/mail':
specifier: workspace:*
version: link:../../packages/mail
axios:
specifier: ^1.7.9
version: 1.13.5
dotenv:
specifier: ^16.4.7
version: 16.6.1
form-data:
specifier: ^4.0.1
version: 4.0.5
mailgun.js:
specifier: ^10.3.0
version: 10.4.0
devDependencies:
'@mintel/eslint-config':
specifier: workspace:*
version: link:../../packages/eslint-config
'@mintel/tsconfig':
specifier: workspace:*
version: link:../../packages/tsconfig
'@types/node':
specifier: ^22.19.10
version: 22.19.10
tsup:
specifier: ^8.3.5
version: 8.5.1(@swc/core@1.15.11(@swc/helpers@0.5.18))(jiti@2.6.1)(postcss@8.5.6)(tsx@4.21.0)(typescript@5.9.3)(yaml@2.8.2)
tsx:
specifier: ^4.19.2
version: 4.21.0
typescript:
specifier: ^5.7.2
version: 5.9.3
vitest:
specifier: ^4.1.10
version: 4.1.10(@opentelemetry/api@1.9.0)(@types/node@22.19.10)(@vitest/ui@4.0.18)(happy-dom@20.5.3)(jsdom@27.4.0(canvas@3.2.1))(vite@7.3.1(@types/node@22.19.10)(jiti@2.6.1)(lightningcss@1.30.2)(sass@1.97.3)(terser@5.46.0)(tsx@4.21.0)(yaml@2.8.2))
apps/sample-website:
dependencies:
'@mintel/next-observability':
@@ -235,7 +275,7 @@ importers:
version: 5.9.3
vitest:
specifier: ^3.0.5
version: 3.2.4(@types/debug@4.1.12)(@types/node@20.19.33)(@vitest/ui@4.0.18)(happy-dom@20.5.3)(jsdom@27.4.0(canvas@3.2.1))(lightningcss@1.30.2)(sass@1.97.3)(terser@5.46.0)
version: 3.2.4(@types/debug@4.1.12)(@types/node@20.19.33)(@vitest/ui@4.0.18(vitest@4.0.18))(happy-dom@20.5.3)(jiti@2.6.1)(jsdom@27.4.0(canvas@3.2.1))(lightningcss@1.30.2)(sass@1.97.3)(terser@5.46.0)(tsx@4.21.0)(yaml@2.8.2)
packages/content-engine:
dependencies:
@@ -537,7 +577,7 @@ importers:
version: 5.9.3
vitest:
specifier: ^3.0.4
version: 3.2.4(@types/debug@4.1.12)(@types/node@22.19.10)(@vitest/ui@4.0.18)(happy-dom@20.5.3)(jsdom@27.4.0(canvas@3.2.1))(lightningcss@1.30.2)(sass@1.97.3)(terser@5.46.0)
version: 3.2.4(@types/debug@4.1.12)(@types/node@22.19.10)(@vitest/ui@4.0.18(vitest@4.0.18))(happy-dom@20.5.3)(jiti@2.6.1)(jsdom@27.4.0(canvas@3.2.1))(lightningcss@1.30.2)(sass@1.97.3)(terser@5.46.0)(tsx@4.21.0)(yaml@2.8.2)
packages/meme-generator:
dependencies:
@@ -596,7 +636,7 @@ importers:
version: 5.9.3
vitest:
specifier: ^2.1.3
version: 2.1.9(@types/node@20.19.33)(@vitest/ui@4.0.18)(happy-dom@20.5.3)(jsdom@27.4.0(canvas@3.2.1))(lightningcss@1.30.2)(sass@1.97.3)(terser@5.46.0)
version: 2.1.9(@types/node@20.19.33)(@vitest/ui@4.0.18(vitest@4.0.18))(happy-dom@20.5.3)(jsdom@27.4.0(canvas@3.2.1))(lightningcss@1.30.2)(sass@1.97.3)(terser@5.46.0)
packages/next-config:
dependencies:
@@ -752,7 +792,38 @@ importers:
version: 5.9.3
vitest:
specifier: ^2.0.0
version: 2.1.9(@types/node@22.19.10)(@vitest/ui@4.0.18)(happy-dom@20.5.3)(jsdom@27.4.0(canvas@3.2.1))(lightningcss@1.30.2)(sass@1.97.3)(terser@5.46.0)
version: 2.1.9(@types/node@22.19.10)(@vitest/ui@4.0.18(vitest@4.0.18))(happy-dom@20.5.3)(jsdom@27.4.0(canvas@3.2.1))(lightningcss@1.30.2)(sass@1.97.3)(terser@5.46.0)
packages/outline-mcp:
dependencies:
'@modelcontextprotocol/sdk':
specifier: ^1.5.0
version: 1.27.1(zod@3.25.76)
axios:
specifier: ^1.7.2
version: 1.13.5
dotenv:
specifier: ^17.3.1
version: 17.3.1
express:
specifier: ^4.19.2
version: 4.22.1
devDependencies:
'@types/express':
specifier: ^4.17.21
version: 4.17.25
'@types/node':
specifier: ^20.14.10
version: 20.19.33
tsx:
specifier: ^4.19.2
version: 4.21.0
typescript:
specifier: ^5.5.3
version: 5.9.3
vitest:
specifier: ^2.1.3
version: 2.1.9(@types/node@20.19.33)(@vitest/ui@4.0.18(vitest@4.0.18))(happy-dom@20.5.3)(jsdom@27.4.0(canvas@3.2.1))(lightningcss@1.30.2)(sass@1.97.3)(terser@5.46.0)
packages/page-audit:
dependencies:
@@ -897,7 +968,7 @@ importers:
version: 5.9.3
vitest:
specifier: ^3.0.5
version: 3.2.4(@types/debug@4.1.12)(@types/node@20.19.33)(@vitest/ui@4.0.18)(happy-dom@20.5.3)(jsdom@27.4.0(canvas@3.2.1))(lightningcss@1.30.2)(sass@1.97.3)(terser@5.46.0)
version: 3.2.4(@types/debug@4.1.12)(@types/node@20.19.33)(@vitest/ui@4.0.18(vitest@4.0.18))(happy-dom@20.5.3)(jiti@2.6.1)(jsdom@27.4.0(canvas@3.2.1))(lightningcss@1.30.2)(sass@1.97.3)(terser@5.46.0)(tsx@4.21.0)(yaml@2.8.2)
packages/serpbear-mcp:
dependencies:
@@ -979,6 +1050,49 @@ importers:
specifier: ^5.5.3
version: 5.9.3
packages/vikunja-mcp:
dependencies:
'@modelcontextprotocol/sdk':
specifier: ^1.5.0
version: 1.27.1(zod@3.25.76)
axios:
specifier: ^1.7.2
version: 1.13.5
dotenv:
specifier: ^17.3.1
version: 17.3.1
express:
specifier: ^4.19.2
version: 4.22.1
form-data:
specifier: ^4.0.5
version: 4.0.5
marked:
specifier: ^18.0.5
version: 18.0.5
devDependencies:
'@types/express':
specifier: ^4.17.21
version: 4.17.25
'@types/form-data':
specifier: ^2.5.2
version: 2.5.2
'@types/marked':
specifier: ^6.0.0
version: 6.0.0
'@types/node':
specifier: ^20.14.10
version: 20.19.33
tsx:
specifier: ^4.19.2
version: 4.21.0
typescript:
specifier: ^5.5.3
version: 5.9.3
vitest:
specifier: ^2.1.3
version: 2.1.9(@types/node@20.19.33)(@vitest/ui@4.0.18(vitest@4.0.18))(happy-dom@20.5.3)(jsdom@27.4.0(canvas@3.2.1))(lightningcss@1.30.2)(sass@1.97.3)(terser@5.46.0)
packages:
'@acemir/cssom@0.9.31':
@@ -2754,95 +2868,111 @@ packages:
'@react-email/body@0.0.11':
resolution: {integrity: sha512-ZSD2SxVSgUjHGrB0Wi+4tu3MEpB4fYSbezsFNEJk2xCWDBkFiOeEsjTmR5dvi+CxTK691hQTQlHv0XWuP7ENTg==}
deprecated: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.
peerDependencies:
react: ^18.0 || ^19.0 || ^19.0.0-rc
'@react-email/button@0.0.19':
resolution: {integrity: sha512-HYHrhyVGt7rdM/ls6FuuD6XE7fa7bjZTJqB2byn6/oGsfiEZaogY77OtoLL/mrQHjHjZiJadtAMSik9XLcm7+A==}
engines: {node: '>=18.0.0'}
deprecated: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.
peerDependencies:
react: ^18.0 || ^19.0 || ^19.0.0-rc
'@react-email/code-block@0.0.11':
resolution: {integrity: sha512-4D43p+LIMjDzm66gTDrZch0Flkip5je91mAT7iGs6+SbPyalHgIA+lFQoQwhz/VzHHLxuD0LV6gwmU/WUQ2WEg==}
engines: {node: '>=18.0.0'}
deprecated: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.
peerDependencies:
react: ^18.0 || ^19.0 || ^19.0.0-rc
'@react-email/code-inline@0.0.5':
resolution: {integrity: sha512-MmAsOzdJpzsnY2cZoPHFPk6uDO/Ncpb4Kh1hAt9UZc1xOW3fIzpe1Pi9y9p6wwUmpaeeDalJxAxH6/fnTquinA==}
engines: {node: '>=18.0.0'}
deprecated: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.
peerDependencies:
react: ^18.0 || ^19.0 || ^19.0.0-rc
'@react-email/column@0.0.13':
resolution: {integrity: sha512-Lqq17l7ShzJG/d3b1w/+lVO+gp2FM05ZUo/nW0rjxB8xBICXOVv6PqjDnn3FXKssvhO5qAV20lHM6S+spRhEwQ==}
engines: {node: '>=18.0.0'}
deprecated: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.
peerDependencies:
react: ^18.0 || ^19.0 || ^19.0.0-rc
'@react-email/components@0.0.33':
resolution: {integrity: sha512-/GKdT3YijT1iEWPAXF644jr12w5xVgzUr0zlbZGt2KOkGeFHNZUCL5UtRopmnjrH/Fayf8Gjv6q/4E2cZgDtdQ==}
engines: {node: '>=18.0.0'}
deprecated: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.
peerDependencies:
react: ^18.0 || ^19.0 || ^19.0.0-rc
'@react-email/container@0.0.15':
resolution: {integrity: sha512-Qo2IQo0ru2kZq47REmHW3iXjAQaKu4tpeq/M8m1zHIVwKduL2vYOBQWbC2oDnMtWPmkBjej6XxgtZByxM6cCFg==}
engines: {node: '>=18.0.0'}
deprecated: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.
peerDependencies:
react: ^18.0 || ^19.0 || ^19.0.0-rc
'@react-email/font@0.0.9':
resolution: {integrity: sha512-4zjq23oT9APXkerqeslPH3OZWuh5X4crHK6nx82mVHV2SrLba8+8dPEnWbaACWTNjOCbcLIzaC9unk7Wq2MIXw==}
deprecated: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.
peerDependencies:
react: ^18.0 || ^19.0 || ^19.0.0-rc
'@react-email/head@0.0.12':
resolution: {integrity: sha512-X2Ii6dDFMF+D4niNwMAHbTkeCjlYYnMsd7edXOsi0JByxt9wNyZ9EnhFiBoQdqkE+SMDcu8TlNNttMrf5sJeMA==}
engines: {node: '>=18.0.0'}
deprecated: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.
peerDependencies:
react: ^18.0 || ^19.0 || ^19.0.0-rc
'@react-email/heading@0.0.15':
resolution: {integrity: sha512-xF2GqsvBrp/HbRHWEfOgSfRFX+Q8I5KBEIG5+Lv3Vb2R/NYr0s8A5JhHHGf2pWBMJdbP4B2WHgj/VUrhy8dkIg==}
engines: {node: '>=18.0.0'}
deprecated: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.
peerDependencies:
react: ^18.0 || ^19.0 || ^19.0.0-rc
'@react-email/hr@0.0.11':
resolution: {integrity: sha512-S1gZHVhwOsd1Iad5IFhpfICwNPMGPJidG/Uysy1AwmspyoAP5a4Iw3OWEpINFdgh9MHladbxcLKO2AJO+cA9Lw==}
engines: {node: '>=18.0.0'}
deprecated: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.
peerDependencies:
react: ^18.0 || ^19.0 || ^19.0.0-rc
'@react-email/html@0.0.11':
resolution: {integrity: sha512-qJhbOQy5VW5qzU74AimjAR9FRFQfrMa7dn4gkEXKMB/S9xZN8e1yC1uA9C15jkXI/PzmJ0muDIWmFwatm5/+VA==}
engines: {node: '>=18.0.0'}
deprecated: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.
peerDependencies:
react: ^18.0 || ^19.0 || ^19.0.0-rc
'@react-email/img@0.0.11':
resolution: {integrity: sha512-aGc8Y6U5C3igoMaqAJKsCpkbm1XjguQ09Acd+YcTKwjnC2+0w3yGUJkjWB2vTx4tN8dCqQCXO8FmdJpMfOA9EQ==}
engines: {node: '>=18.0.0'}
deprecated: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.
peerDependencies:
react: ^18.0 || ^19.0 || ^19.0.0-rc
'@react-email/link@0.0.12':
resolution: {integrity: sha512-vF+xxQk2fGS1CN7UPQDbzvcBGfffr+GjTPNiWM38fhBfsLv6A/YUfaqxWlmL7zLzVmo0K2cvvV9wxlSyNba1aQ==}
engines: {node: '>=18.0.0'}
deprecated: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.
peerDependencies:
react: ^18.0 || ^19.0 || ^19.0.0-rc
'@react-email/markdown@0.0.14':
resolution: {integrity: sha512-5IsobCyPkb4XwnQO8uFfGcNOxnsg3311GRXhJ3uKv51P7Jxme4ycC/MITnwIZ10w2zx7HIyTiqVzTj4XbuIHbg==}
engines: {node: '>=18.0.0'}
deprecated: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.
peerDependencies:
react: ^18.0 || ^19.0 || ^19.0.0-rc
'@react-email/preview@0.0.12':
resolution: {integrity: sha512-g/H5fa9PQPDK6WUEG7iTlC19sAktI23qyoiJtMLqQiXFCfWeQMhqjLGKeLSKkfzszqmfJCjZtpSiKtBoOdxp3Q==}
engines: {node: '>=18.0.0'}
deprecated: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.
peerDependencies:
react: ^18.0 || ^19.0 || ^19.0.0-rc
@@ -2856,24 +2986,28 @@ packages:
'@react-email/row@0.0.12':
resolution: {integrity: sha512-HkCdnEjvK3o+n0y0tZKXYhIXUNPDx+2vq1dJTmqappVHXS5tXS6W5JOPZr5j+eoZ8gY3PShI2LWj5rWF7ZEtIQ==}
engines: {node: '>=18.0.0'}
deprecated: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.
peerDependencies:
react: ^18.0 || ^19.0 || ^19.0.0-rc
'@react-email/section@0.0.16':
resolution: {integrity: sha512-FjqF9xQ8FoeUZYKSdt8sMIKvoT9XF8BrzhT3xiFKdEMwYNbsDflcjfErJe3jb7Wj/es/lKTbV5QR1dnLzGpL3w==}
engines: {node: '>=18.0.0'}
deprecated: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.
peerDependencies:
react: ^18.0 || ^19.0 || ^19.0.0-rc
'@react-email/tailwind@1.0.4':
resolution: {integrity: sha512-tJdcusncdqgvTUYZIuhNC6LYTfL9vNTSQpwWdTCQhQ1lsrNCEE4OKCSdzSV3S9F32pi0i0xQ+YPJHKIzGjdTSA==}
engines: {node: '>=18.0.0'}
deprecated: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.
peerDependencies:
react: ^18.0 || ^19.0 || ^19.0.0-rc
'@react-email/text@0.0.11':
resolution: {integrity: sha512-a7nl/2KLpRHOYx75YbYZpWspUbX1DFY7JIZbOv5x0QU8SvwDbJt+Hm01vG34PffFyYvHEXrc6Qnip2RTjljNjg==}
engines: {node: '>=18.0.0'}
deprecated: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.
peerDependencies:
react: ^18.0 || ^19.0 || ^19.0.0-rc
@@ -3406,6 +3540,10 @@ packages:
'@types/express@4.17.25':
resolution: {integrity: sha512-dVd04UKsfpINUnK0yBoYHDF3xu7xVH4BuDotC/xGuycx4CgbP48X/KF/586bcObxT0HENHXEU8Nqtu6NR+eKhw==}
'@types/form-data@2.5.2':
resolution: {integrity: sha512-tfmcyHn1Pp9YHAO5r40+UuZUPAZbUEgqTel3EuEKpmF9hPkXgR4l41853raliXnb4gwyPNoQOfvgGGlHN5WSog==}
deprecated: This is a stub types definition. form-data provides its own type definitions, so you do not need this installed.
'@types/fs-extra@11.0.4':
resolution: {integrity: sha512-yTbItCNreRooED33qjunPthRcSjERP1r4MqCZc7wv0u2sUkzTFp45tgUfS5+r7FrZPdmCCNflLhVSP/o+SemsQ==}
@@ -3433,6 +3571,10 @@ packages:
'@types/long@4.0.2':
resolution: {integrity: sha512-MqTGEo5bj5t157U6fA/BiDynNkn0YknVdh48CMPkTSpFTVmvao5UQmm7uEF6xBEo7qIMAlY/JSleYaE6VOdpaA==}
'@types/marked@6.0.0':
resolution: {integrity: sha512-jmjpa4BwUsmhxcfsgUit/7A9KbrC48Q0q8KvnY107ogcjGgTFDlIL3RpihNpx2Mu1hM4mdFQjoVc4O6JoGKHsA==}
deprecated: This is a stub types definition. marked provides its own type definitions, so you do not need this installed.
'@types/mime@1.3.5':
resolution: {integrity: sha512-/pyBZWSLD2n0dcHE3hq8s8ZvcETHtEuF+3E7XVt0Ig2nvsVQXdghHVcEkIWjy9A0wKfTn97a/PSDYohKIlnP/w==}
@@ -3688,6 +3830,9 @@ packages:
'@vitest/expect@4.0.18':
resolution: {integrity: sha512-8sCWUyckXXYvx4opfzVY03EOiYVxyNrHS5QxX3DAIi5dpJAAkyJezHCP77VMX4HKA2LDT/Jpfo8i2r5BE3GnQQ==}
'@vitest/expect@4.1.10':
resolution: {integrity: sha512-YsCn+qAk1GWjQOWFEsEcL2gNQ0zmVmQu3T03qP6UyjhtmdtwtbuI+DASn/7iQB3HGTXkdBwGddzxPlmiql5vlA==}
'@vitest/mocker@2.1.9':
resolution: {integrity: sha512-tVL6uJgoUdi6icpxmdrn5YNo3g3Dxv+IHJBr0GXHaEdTcw3F+cPKnsXFhli6nO+f/6SDKPHEK1UN+k+TQv0Ehg==}
peerDependencies:
@@ -3721,6 +3866,17 @@ packages:
vite:
optional: true
'@vitest/mocker@4.1.10':
resolution: {integrity: sha512-v0xaezt+DKEmKfaxg133ldzADrwLGd7Ze1MfQQTYfvs8OqZIwbxyxaYURivwV7sWy5fqn3rH5uOrSp07bp44Ow==}
peerDependencies:
msw: ^2.4.9
vite: ^6.0.0 || ^7.0.0 || ^8.0.0
peerDependenciesMeta:
msw:
optional: true
vite:
optional: true
'@vitest/pretty-format@2.1.9':
resolution: {integrity: sha512-KhRIdGV2U9HOUzxfiHmY8IFHTdqtOhIzCpd8WRdJiE7D/HUcZVD0EgQCVjm+Q9gkUXWgBvMmTtZgIG48wq7sOQ==}
@@ -3730,6 +3886,9 @@ packages:
'@vitest/pretty-format@4.0.18':
resolution: {integrity: sha512-P24GK3GulZWC5tz87ux0m8OADrQIUVDPIjjj65vBXYG17ZeU3qD7r+MNZ1RNv4l8CGU2vtTRqixrOi9fYk/yKw==}
'@vitest/pretty-format@4.1.10':
resolution: {integrity: sha512-W1HsjSH4MXQ9YfmmhLAoIYf1HRfekQCGngeIgcei6MP5QQGWUe0gkopdZQaVCFO+JDJMrAJGwa5pRpNpvy4P8Q==}
'@vitest/runner@2.1.9':
resolution: {integrity: sha512-ZXSSqTFIrzduD63btIfEyOmNcBmQvgOVsPNPe0jYtESiXkhd8u2erDLnMxmGrDCwHCCHE7hxwRDCT3pt0esT4g==}
@@ -3739,6 +3898,9 @@ packages:
'@vitest/runner@4.0.18':
resolution: {integrity: sha512-rpk9y12PGa22Jg6g5M3UVVnTS7+zycIGk9ZNGN+m6tZHKQb7jrP7/77WfZy13Y/EUDd52NDsLRQhYKtv7XfPQw==}
'@vitest/runner@4.1.10':
resolution: {integrity: sha512-IKI6kpIH+LmpROplyLwBBaCfMgOZOMsygVa6BARD6ahA04VRuJSa6OaVG7kRvSEMD870Vd91rSSw0eegtWyLGg==}
'@vitest/snapshot@2.1.9':
resolution: {integrity: sha512-oBO82rEjsxLNJincVhLhaxxZdEtV0EFHMK5Kmx5sJ6H9L183dHECjiefOAdnqpIgT5eZwT04PoggUnW88vOBNQ==}
@@ -3748,6 +3910,9 @@ packages:
'@vitest/snapshot@4.0.18':
resolution: {integrity: sha512-PCiV0rcl7jKQjbgYqjtakly6T1uwv/5BQ9SwBLekVg/EaYeQFPiXcgrC2Y7vDMA8dM1SUEAEV82kgSQIlXNMvA==}
'@vitest/snapshot@4.1.10':
resolution: {integrity: sha512-xRkfOT1qpTAi/Ti4Y1LtfRc3kEuqxGw59eN2jN9pRWMtS/XDevekhcFSqvQqjUNGksfjMJu3Y+oJ+4Ypn2OaJw==}
'@vitest/spy@2.1.9':
resolution: {integrity: sha512-E1B35FwzXXTs9FHNK6bDszs7mtydNi5MIfUWpceJ8Xbfb1gBMscAnwLbEu+B44ed6W3XjL9/ehLPHR1fkf1KLQ==}
@@ -3757,6 +3922,9 @@ packages:
'@vitest/spy@4.0.18':
resolution: {integrity: sha512-cbQt3PTSD7P2OARdVW3qWER5EGq7PHlvE+QfzSC0lbwO+xnt7+XH06ZzFjFRgzUX//JmpxrCu92VdwvEPlWSNw==}
'@vitest/spy@4.1.10':
resolution: {integrity: sha512-PLf/Ugvoq5wO/b4rwYCR1h2PSIdXz7wnkQFMiUpLdtM7l6pqVFcQIBEHyT1+l+cj7mNwAfZHzqXqDyjvOuwbDw==}
'@vitest/ui@4.0.18':
resolution: {integrity: sha512-CGJ25bc8fRi8Lod/3GHSvXRKi7nBo3kxh0ApW4yCjmrWmRmlT53B5E08XRSZRliygG0aVNxLrBEqPYdz/KcCtQ==}
peerDependencies:
@@ -3771,6 +3939,9 @@ packages:
'@vitest/utils@4.0.18':
resolution: {integrity: sha512-msMRKLMVLWygpK3u2Hybgi4MNjcYJvwTb0Ru09+fOyCXIgT5raYP041DRRdiJiI3k/2U6SEbAETB3YtBrUkCFA==}
'@vitest/utils@4.1.10':
resolution: {integrity: sha512-fy9am/HWxbaGt/Sawrp90vt6Y6jQwf1RX77cz3uwoJwJVMli/e1IEwRPnMNJ7vKfPTwo0diXifkpPvwH9v7nGA==}
'@vladfrangu/async_event_emitter@2.4.7':
resolution: {integrity: sha512-Xfe6rpCTxSxfbswi/W/Pz7zp1WWSNn4A0eW4mLkQUewCrXXtMj31lCg+iQyTkh/CkusZSq9eDflu7tjEDXUY6g==}
engines: {node: '>=v14.0.0', npm: '>=7.0.0'}
@@ -4132,6 +4303,9 @@ packages:
bare-url@2.3.2:
resolution: {integrity: sha512-ZMq4gd9ngV5aTMa5p9+UfY0b3skwhHELaDkhEHetMdX0LRkW9kzaym4oo/Eh+Ghm0CCDuMTsRIGM/ytUc1ZYmw==}
base-64@1.0.0:
resolution: {integrity: sha512-kwDPIFCGx0NZHog36dj+tHiwP4QMzsZ3AgMViUBKI0+V5n4U0ufTCUMhnQ04diaRI8EX/QcPfql7zlhZ7j4zgg==}
base64-arraybuffer@1.0.2:
resolution: {integrity: sha512-I3yl4r9QB5ZRY3XuJVEPfc2XhZO6YweFPI+UovAzn+8/hb3oJ6lnysaFcjVpkCPfVWFUDvoZ8kmVDP7WyRtYtQ==}
engines: {node: '>= 0.6.0'}
@@ -4150,6 +4324,7 @@ packages:
basic-ftp@5.2.0:
resolution: {integrity: sha512-VoMINM2rqJwJgfdHq6RiUudKt2BV+FY5ZFezP/ypmwayk68+NzzAQy4XXLlqsGD4MCzq3DrmNFD/uUmBJuGoXw==}
engines: {node: '>=10.0.0'}
deprecated: Security vulnerability fixed in 5.2.1, please upgrade
better-path-resolve@1.0.0:
resolution: {integrity: sha512-pbnl5XzGBdrFU/wT4jqmJVPn2B6UHPBOhzMQkY/SPUPB6QtUXtmBHBIwCbXJol93mOpGMnQyP/+BB19q04xj7g==}
@@ -6303,6 +6478,10 @@ packages:
resolution: {integrity: sha512-ISQTe55T2ao7XtlAStud6qwYPZjE4GK1S/BeVPus4jrq6JuOnQ00YKQC581RWhR122W7msZV263KzVeLoqidyQ==}
engines: {node: '>=12'}
mailgun.js@10.4.0:
resolution: {integrity: sha512-YrdaZEAJwwjXGBTfZTNQ1LM7tmkdUaz2NpZEu7+zULcG4Wrlhd7cWSNZW0bxT3bP48k5N0mZWz8C2f9gc2+Geg==}
engines: {node: '>=18.0.0'}
map-stream@0.1.0:
resolution: {integrity: sha512-CkYQrPYZfWnu/DAmVCpTSX/xHpKZ80eKh2lAkyA6AJTef6bW+6JpbQZN5rofum7da+SyN1bi5ctTm+lTfcCW3g==}
@@ -6311,6 +6490,11 @@ packages:
engines: {node: '>= 18'}
hasBin: true
marked@18.0.5:
resolution: {integrity: sha512-S6GcvALHg6K4ohtu4E7x0a1AqhAjp6cV8KhLSyN9qVapnzJkusVBxZRcIU9AeYsbe6P1hKDusSbEOzGyyuce6w==}
engines: {node: '>= 20'}
hasBin: true
marked@7.0.4:
resolution: {integrity: sha512-t8eP0dXRJMtMvBojtkcsA7n48BkauktUKzfkPSCq85ZMTJ0v76Rke4DYz01omYpPTUh4p/f7HePgRo3ebG8+QQ==}
engines: {node: '>= 16'}
@@ -7646,6 +7830,9 @@ packages:
std-env@3.10.0:
resolution: {integrity: sha512-5GS12FdOZNliM5mAOxFRg7Ir0pWz8MdpYm6AY6VPkGpbA7ZzmbzNcBJQ0GPvvyWgcY7QAhCgf9Uy89I03faLkg==}
std-env@4.2.0:
resolution: {integrity: sha512-oCUKSupKTHX53EyjDtuZQ64pjLJ6yYCtpmEw0goYxtjG9KpbRe8KAsl2tBUGU9DyMcJ0RwJ8GqJAFzMXcXW1Rw==}
stop-iteration-iterator@1.1.0:
resolution: {integrity: sha512-eLoXW/DHyl62zxY4SCaIgnRhuMr6ri4juEYARS8E6sCEqzKpOiE521Ucofdx+KnDZl5xmvGYaaKCk5FEOxJCoQ==}
engines: {node: '>= 0.4'}
@@ -7932,6 +8119,10 @@ packages:
resolution: {integrity: sha512-PSkbLUoxOFRzJYjjxHJt9xro7D+iilgMX/C9lawzVuYiIdcihh9DXmVibBe8lmcFrRi/VzlPjBxbN7rH24q8/Q==}
engines: {node: '>=14.0.0'}
tinyrainbow@3.1.0:
resolution: {integrity: sha512-Bf+ILmBgretUrdJxzXM0SgXLZ3XfiaUuOj/IKQHuTXip+05Xn+uyEYdVg0kYDipTBcLrCVyUzAPz7QmArb0mmw==}
engines: {node: '>=14.0.0'}
tinyspy@3.0.2:
resolution: {integrity: sha512-n1cw8k1k0x4pgA2+9XrOkFydTerNcJ1zWCO5Nn9scWHTD+5tp8dghT2x1uduQePZTZgd3Tupf+x9BxJjeJi77Q==}
engines: {node: '>=14.0.0'}
@@ -8177,6 +8368,9 @@ packages:
uri-js@4.4.1:
resolution: {integrity: sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==}
url-join@4.0.1:
resolution: {integrity: sha512-jk1+QP6ZJqyOiuEI9AEWQfju/nB2Pw466kbA0LEZljHwKeMgd9WrAEgEGxjPDD2+TNbbb37rTyhEfrCXfuKXnA==}
use-context-selector@2.0.0:
resolution: {integrity: sha512-owfuSmUNd3eNp3J9CdDl0kMgfidV+MkDvHPpvthN5ThqM+ibMccNE0k+Iq7TWC6JPFvGZqanqiGCuQx6DyV24g==}
peerDependencies:
@@ -8217,10 +8411,12 @@ packages:
uuid@10.0.0:
resolution: {integrity: sha512-8XkAphELsDnEGrDxUOHB3RGvXz6TeuYSGEZBOjtTtPm2lwhGBjLgOzLHB63IUWfBpNucQjND6d3AOudO+H3RWQ==}
deprecated: uuid@10 and below is no longer supported. For ESM codebases, update to uuid@latest. For CommonJS codebases, use uuid@11 (but be aware this version will likely be deprecated in 2028).
hasBin: true
uuid@9.0.1:
resolution: {integrity: sha512-b+1eJOlsR9K8HJpow9Ok3fiWOWSIcIzXodvv0rQjVoOVNpWMpxf1wZNpt4y9h10odCNrqnYp1OBzRktckBe3sA==}
deprecated: uuid@10 and below is no longer supported. For ESM codebases, update to uuid@latest. For CommonJS codebases, use uuid@11 (but be aware this version will likely be deprecated in 2028).
hasBin: true
vali-date@1.0.0:
@@ -8403,6 +8599,47 @@ packages:
jsdom:
optional: true
vitest@4.1.10:
resolution: {integrity: sha512-R9jUTe5S4Qb0HCd4TNqpC7oGcrMssMRGXLW80ubjWsW9VH5GF8y1Y0SFLY9AbqSk6nt0PnOx4H4WNJYZ13GUPw==}
engines: {node: ^20.0.0 || ^22.0.0 || >=24.0.0}
hasBin: true
peerDependencies:
'@edge-runtime/vm': '*'
'@opentelemetry/api': ^1.9.0
'@types/node': ^20.0.0 || ^22.0.0 || >=24.0.0
'@vitest/browser-playwright': 4.1.10
'@vitest/browser-preview': 4.1.10
'@vitest/browser-webdriverio': 4.1.10
'@vitest/coverage-istanbul': 4.1.10
'@vitest/coverage-v8': 4.1.10
'@vitest/ui': 4.1.10
happy-dom: '*'
jsdom: '*'
vite: ^6.0.0 || ^7.0.0 || ^8.0.0
peerDependenciesMeta:
'@edge-runtime/vm':
optional: true
'@opentelemetry/api':
optional: true
'@types/node':
optional: true
'@vitest/browser-playwright':
optional: true
'@vitest/browser-preview':
optional: true
'@vitest/browser-webdriverio':
optional: true
'@vitest/coverage-istanbul':
optional: true
'@vitest/coverage-v8':
optional: true
'@vitest/ui':
optional: true
happy-dom:
optional: true
jsdom:
optional: true
vizion@2.2.1:
resolution: {integrity: sha512-sfAcO2yeSU0CSPFI/DmZp3FsFE9T+8913nv1xWBOyzODv13fwkn6Vl7HqxGpkr9F608M+8SuFId3s+BlZqfXww==}
engines: {node: '>=4.0'}
@@ -11355,6 +11592,10 @@ snapshots:
'@types/qs': 6.14.0
'@types/serve-static': 1.15.10
'@types/form-data@2.5.2':
dependencies:
form-data: 4.0.5
'@types/fs-extra@11.0.4':
dependencies:
'@types/jsonfile': 6.1.4
@@ -11382,6 +11623,10 @@ snapshots:
'@types/long@4.0.2': {}
'@types/marked@6.0.0':
dependencies:
marked: 18.0.5
'@types/mime@1.3.5': {}
'@types/ms@2.1.0':
@@ -11665,6 +11910,15 @@ snapshots:
chai: 6.2.2
tinyrainbow: 3.0.3
'@vitest/expect@4.1.10':
dependencies:
'@standard-schema/spec': 1.1.0
'@types/chai': 5.2.3
'@vitest/spy': 4.1.10
'@vitest/utils': 4.1.10
chai: 6.2.2
tinyrainbow: 3.1.0
'@vitest/mocker@2.1.9(vite@5.4.21(@types/node@20.19.33)(lightningcss@1.30.2)(sass@1.97.3)(terser@5.46.0))':
dependencies:
'@vitest/spy': 2.1.9
@@ -11705,6 +11959,14 @@ snapshots:
optionalDependencies:
vite: 7.3.1(@types/node@20.19.33)(jiti@2.6.1)(lightningcss@1.30.2)(sass@1.97.3)(terser@5.46.0)(tsx@4.21.0)(yaml@2.8.2)
'@vitest/mocker@4.1.10(vite@7.3.1(@types/node@22.19.10)(jiti@2.6.1)(lightningcss@1.30.2)(sass@1.97.3)(terser@5.46.0)(tsx@4.21.0)(yaml@2.8.2))':
dependencies:
'@vitest/spy': 4.1.10
estree-walker: 3.0.3
magic-string: 0.30.21
optionalDependencies:
vite: 7.3.1(@types/node@22.19.10)(jiti@2.6.1)(lightningcss@1.30.2)(sass@1.97.3)(terser@5.46.0)(tsx@4.21.0)(yaml@2.8.2)
'@vitest/pretty-format@2.1.9':
dependencies:
tinyrainbow: 1.2.0
@@ -11717,6 +11979,10 @@ snapshots:
dependencies:
tinyrainbow: 3.0.3
'@vitest/pretty-format@4.1.10':
dependencies:
tinyrainbow: 3.1.0
'@vitest/runner@2.1.9':
dependencies:
'@vitest/utils': 2.1.9
@@ -11733,6 +11999,11 @@ snapshots:
'@vitest/utils': 4.0.18
pathe: 2.0.3
'@vitest/runner@4.1.10':
dependencies:
'@vitest/utils': 4.1.10
pathe: 2.0.3
'@vitest/snapshot@2.1.9':
dependencies:
'@vitest/pretty-format': 2.1.9
@@ -11751,6 +12022,13 @@ snapshots:
magic-string: 0.30.21
pathe: 2.0.3
'@vitest/snapshot@4.1.10':
dependencies:
'@vitest/pretty-format': 4.1.10
'@vitest/utils': 4.1.10
magic-string: 0.30.21
pathe: 2.0.3
'@vitest/spy@2.1.9':
dependencies:
tinyspy: 3.0.2
@@ -11761,6 +12039,8 @@ snapshots:
'@vitest/spy@4.0.18': {}
'@vitest/spy@4.1.10': {}
'@vitest/ui@4.0.18(vitest@4.0.18)':
dependencies:
'@vitest/utils': 4.0.18
@@ -11790,6 +12070,12 @@ snapshots:
'@vitest/pretty-format': 4.0.18
tinyrainbow: 3.0.3
'@vitest/utils@4.1.10':
dependencies:
'@vitest/pretty-format': 4.1.10
convert-source-map: 2.0.0
tinyrainbow: 3.1.0
'@vladfrangu/async_event_emitter@2.4.7': {}
'@webassemblyjs/ast@1.14.1':
@@ -12179,6 +12465,8 @@ snapshots:
dependencies:
bare-path: 3.0.0
base-64@1.0.0: {}
base64-arraybuffer@1.0.2: {}
base64-js@0.0.8: {}
@@ -14662,10 +14950,20 @@ snapshots:
dependencies:
'@jridgewell/sourcemap-codec': 1.5.5
mailgun.js@10.4.0:
dependencies:
axios: 1.13.5
base-64: 1.0.0
url-join: 4.0.1
transitivePeerDependencies:
- debug
map-stream@0.1.0: {}
marked@14.0.0: {}
marked@18.0.5: {}
marked@7.0.4: {}
math-intrinsics@1.1.0: {}
@@ -16240,6 +16538,8 @@ snapshots:
std-env@3.10.0: {}
std-env@4.2.0: {}
stop-iteration-iterator@1.1.0:
dependencies:
es-errors: 1.3.0
@@ -16589,6 +16889,8 @@ snapshots:
tinyrainbow@3.0.3: {}
tinyrainbow@3.1.0: {}
tinyspy@3.0.2: {}
tinyspy@4.0.4: {}
@@ -16863,6 +17165,8 @@ snapshots:
dependencies:
punycode: 2.3.1
url-join@4.0.1: {}
use-context-selector@2.0.0(react@19.2.4)(scheduler@0.25.0):
dependencies:
react: 19.2.4
@@ -16946,15 +17250,16 @@ snapshots:
- supports-color
- terser
vite-node@3.2.4(@types/node@20.19.33)(lightningcss@1.30.2)(sass@1.97.3)(terser@5.46.0):
vite-node@3.2.4(@types/node@20.19.33)(jiti@2.6.1)(lightningcss@1.30.2)(sass@1.97.3)(terser@5.46.0)(tsx@4.21.0)(yaml@2.8.2):
dependencies:
cac: 6.7.14
debug: 4.4.3
es-module-lexer: 1.7.0
pathe: 2.0.3
vite: 5.4.21(@types/node@20.19.33)(lightningcss@1.30.2)(sass@1.97.3)(terser@5.46.0)
vite: 7.3.1(@types/node@20.19.33)(jiti@2.6.1)(lightningcss@1.30.2)(sass@1.97.3)(terser@5.46.0)(tsx@4.21.0)(yaml@2.8.2)
transitivePeerDependencies:
- '@types/node'
- jiti
- less
- lightningcss
- sass
@@ -16963,16 +17268,19 @@ snapshots:
- sugarss
- supports-color
- terser
- tsx
- yaml
vite-node@3.2.4(@types/node@22.19.10)(lightningcss@1.30.2)(sass@1.97.3)(terser@5.46.0):
vite-node@3.2.4(@types/node@22.19.10)(jiti@2.6.1)(lightningcss@1.30.2)(sass@1.97.3)(terser@5.46.0)(tsx@4.21.0)(yaml@2.8.2):
dependencies:
cac: 6.7.14
debug: 4.4.3
es-module-lexer: 1.7.0
pathe: 2.0.3
vite: 5.4.21(@types/node@22.19.10)(lightningcss@1.30.2)(sass@1.97.3)(terser@5.46.0)
vite: 7.3.1(@types/node@22.19.10)(jiti@2.6.1)(lightningcss@1.30.2)(sass@1.97.3)(terser@5.46.0)(tsx@4.21.0)(yaml@2.8.2)
transitivePeerDependencies:
- '@types/node'
- jiti
- less
- lightningcss
- sass
@@ -16981,6 +17289,8 @@ snapshots:
- sugarss
- supports-color
- terser
- tsx
- yaml
vite@5.4.21(@types/node@20.19.33)(lightningcss@1.30.2)(sass@1.97.3)(terser@5.46.0):
dependencies:
@@ -17024,7 +17334,25 @@ snapshots:
tsx: 4.21.0
yaml: 2.8.2
vitest@2.1.9(@types/node@20.19.33)(@vitest/ui@4.0.18)(happy-dom@20.5.3)(jsdom@27.4.0(canvas@3.2.1))(lightningcss@1.30.2)(sass@1.97.3)(terser@5.46.0):
vite@7.3.1(@types/node@22.19.10)(jiti@2.6.1)(lightningcss@1.30.2)(sass@1.97.3)(terser@5.46.0)(tsx@4.21.0)(yaml@2.8.2):
dependencies:
esbuild: 0.27.3
fdir: 6.5.0(picomatch@4.0.3)
picomatch: 4.0.3
postcss: 8.5.6
rollup: 4.57.1
tinyglobby: 0.2.15
optionalDependencies:
'@types/node': 22.19.10
fsevents: 2.3.3
jiti: 2.6.1
lightningcss: 1.30.2
sass: 1.97.3
terser: 5.46.0
tsx: 4.21.0
yaml: 2.8.2
vitest@2.1.9(@types/node@20.19.33)(@vitest/ui@4.0.18(vitest@4.0.18))(happy-dom@20.5.3)(jsdom@27.4.0(canvas@3.2.1))(lightningcss@1.30.2)(sass@1.97.3)(terser@5.46.0):
dependencies:
'@vitest/expect': 2.1.9
'@vitest/mocker': 2.1.9(vite@5.4.21(@types/node@20.19.33)(lightningcss@1.30.2)(sass@1.97.3)(terser@5.46.0))
@@ -17062,7 +17390,7 @@ snapshots:
- supports-color
- terser
vitest@2.1.9(@types/node@22.19.10)(@vitest/ui@4.0.18)(happy-dom@20.5.3)(jsdom@27.4.0(canvas@3.2.1))(lightningcss@1.30.2)(sass@1.97.3)(terser@5.46.0):
vitest@2.1.9(@types/node@22.19.10)(@vitest/ui@4.0.18(vitest@4.0.18))(happy-dom@20.5.3)(jsdom@27.4.0(canvas@3.2.1))(lightningcss@1.30.2)(sass@1.97.3)(terser@5.46.0):
dependencies:
'@vitest/expect': 2.1.9
'@vitest/mocker': 2.1.9(vite@5.4.21(@types/node@22.19.10)(lightningcss@1.30.2)(sass@1.97.3)(terser@5.46.0))
@@ -17100,7 +17428,7 @@ snapshots:
- supports-color
- terser
vitest@3.2.4(@types/debug@4.1.12)(@types/node@20.19.33)(@vitest/ui@4.0.18)(happy-dom@20.5.3)(jsdom@27.4.0(canvas@3.2.1))(lightningcss@1.30.2)(sass@1.97.3)(terser@5.46.0):
vitest@3.2.4(@types/debug@4.1.12)(@types/node@20.19.33)(@vitest/ui@4.0.18(vitest@4.0.18))(happy-dom@20.5.3)(jiti@2.6.1)(jsdom@27.4.0(canvas@3.2.1))(lightningcss@1.30.2)(sass@1.97.3)(terser@5.46.0)(tsx@4.21.0)(yaml@2.8.2):
dependencies:
'@types/chai': 5.2.3
'@vitest/expect': 3.2.4
@@ -17123,7 +17451,7 @@ snapshots:
tinypool: 1.1.1
tinyrainbow: 2.0.0
vite: 5.4.21(@types/node@20.19.33)(lightningcss@1.30.2)(sass@1.97.3)(terser@5.46.0)
vite-node: 3.2.4(@types/node@20.19.33)(lightningcss@1.30.2)(sass@1.97.3)(terser@5.46.0)
vite-node: 3.2.4(@types/node@20.19.33)(jiti@2.6.1)(lightningcss@1.30.2)(sass@1.97.3)(terser@5.46.0)(tsx@4.21.0)(yaml@2.8.2)
why-is-node-running: 2.3.0
optionalDependencies:
'@types/debug': 4.1.12
@@ -17132,6 +17460,7 @@ snapshots:
happy-dom: 20.5.3
jsdom: 27.4.0(canvas@3.2.1)
transitivePeerDependencies:
- jiti
- less
- lightningcss
- msw
@@ -17141,8 +17470,10 @@ snapshots:
- sugarss
- supports-color
- terser
- tsx
- yaml
vitest@3.2.4(@types/debug@4.1.12)(@types/node@22.19.10)(@vitest/ui@4.0.18)(happy-dom@20.5.3)(jsdom@27.4.0(canvas@3.2.1))(lightningcss@1.30.2)(sass@1.97.3)(terser@5.46.0):
vitest@3.2.4(@types/debug@4.1.12)(@types/node@22.19.10)(@vitest/ui@4.0.18(vitest@4.0.18))(happy-dom@20.5.3)(jiti@2.6.1)(jsdom@27.4.0(canvas@3.2.1))(lightningcss@1.30.2)(sass@1.97.3)(terser@5.46.0)(tsx@4.21.0)(yaml@2.8.2):
dependencies:
'@types/chai': 5.2.3
'@vitest/expect': 3.2.4
@@ -17165,7 +17496,7 @@ snapshots:
tinypool: 1.1.1
tinyrainbow: 2.0.0
vite: 5.4.21(@types/node@22.19.10)(lightningcss@1.30.2)(sass@1.97.3)(terser@5.46.0)
vite-node: 3.2.4(@types/node@22.19.10)(lightningcss@1.30.2)(sass@1.97.3)(terser@5.46.0)
vite-node: 3.2.4(@types/node@22.19.10)(jiti@2.6.1)(lightningcss@1.30.2)(sass@1.97.3)(terser@5.46.0)(tsx@4.21.0)(yaml@2.8.2)
why-is-node-running: 2.3.0
optionalDependencies:
'@types/debug': 4.1.12
@@ -17174,6 +17505,7 @@ snapshots:
happy-dom: 20.5.3
jsdom: 27.4.0(canvas@3.2.1)
transitivePeerDependencies:
- jiti
- less
- lightningcss
- msw
@@ -17183,6 +17515,8 @@ snapshots:
- sugarss
- supports-color
- terser
- tsx
- yaml
vitest@4.0.18(@opentelemetry/api@1.9.0)(@types/node@20.19.33)(@vitest/ui@4.0.18)(happy-dom@20.5.3)(jiti@2.6.1)(jsdom@27.4.0(canvas@3.2.1))(lightningcss@1.30.2)(sass@1.97.3)(terser@5.46.0)(tsx@4.21.0)(yaml@2.8.2):
dependencies:
@@ -17225,6 +17559,37 @@ snapshots:
- tsx
- yaml
vitest@4.1.10(@opentelemetry/api@1.9.0)(@types/node@22.19.10)(@vitest/ui@4.0.18)(happy-dom@20.5.3)(jsdom@27.4.0(canvas@3.2.1))(vite@7.3.1(@types/node@22.19.10)(jiti@2.6.1)(lightningcss@1.30.2)(sass@1.97.3)(terser@5.46.0)(tsx@4.21.0)(yaml@2.8.2)):
dependencies:
'@vitest/expect': 4.1.10
'@vitest/mocker': 4.1.10(vite@7.3.1(@types/node@22.19.10)(jiti@2.6.1)(lightningcss@1.30.2)(sass@1.97.3)(terser@5.46.0)(tsx@4.21.0)(yaml@2.8.2))
'@vitest/pretty-format': 4.1.10
'@vitest/runner': 4.1.10
'@vitest/snapshot': 4.1.10
'@vitest/spy': 4.1.10
'@vitest/utils': 4.1.10
es-module-lexer: 2.0.0
expect-type: 1.3.0
magic-string: 0.30.21
obug: 2.1.1
pathe: 2.0.3
picomatch: 4.0.3
std-env: 4.2.0
tinybench: 2.9.0
tinyexec: 1.0.2
tinyglobby: 0.2.15
tinyrainbow: 3.1.0
vite: 7.3.1(@types/node@22.19.10)(jiti@2.6.1)(lightningcss@1.30.2)(sass@1.97.3)(terser@5.46.0)(tsx@4.21.0)(yaml@2.8.2)
why-is-node-running: 2.3.0
optionalDependencies:
'@opentelemetry/api': 1.9.0
'@types/node': 22.19.10
'@vitest/ui': 4.0.18(vitest@4.0.18)
happy-dom: 20.5.3
jsdom: 27.4.0(canvas@3.2.1)
transitivePeerDependencies:
- msw
vizion@2.2.1:
dependencies:
async: 2.6.4