feat: SEO improvements and npm publish prep
- Expand sitemap from 2 to 13 URLs (all docs pages) - Update JSON-LD featureList with Anthropic, OpenCode, TypeScript SDK - Update llms.txt with docs links, TS SDK, OpenCode plugin sections - Add READMEs for agentlens-sdk and opencode-agentlens packages - Add repository, homepage, author, bugs fields to both package.json
This commit is contained in:
@@ -37,9 +37,12 @@ export default function HomePage() {
|
||||
"Agent Decision Tracing",
|
||||
"Real-time Dashboard",
|
||||
"OpenAI Integration",
|
||||
"Anthropic Integration",
|
||||
"LangChain Integration",
|
||||
"OpenCode Plugin",
|
||||
"Self-hosting Support",
|
||||
"Python SDK",
|
||||
"TypeScript SDK",
|
||||
],
|
||||
}),
|
||||
}}
|
||||
|
||||
@@ -2,8 +2,21 @@ import { MetadataRoute } from "next";
|
||||
|
||||
export default function sitemap(): MetadataRoute.Sitemap {
|
||||
const baseUrl = "https://agentlens.vectry.tech";
|
||||
const now = new Date();
|
||||
|
||||
return [
|
||||
{ url: baseUrl, lastModified: new Date(), changeFrequency: "weekly", priority: 1.0 },
|
||||
{ url: `${baseUrl}/dashboard`, lastModified: new Date(), changeFrequency: "daily", priority: 0.8 },
|
||||
{ url: baseUrl, lastModified: now, changeFrequency: "weekly", priority: 1.0 },
|
||||
{ url: `${baseUrl}/dashboard`, lastModified: now, changeFrequency: "daily", priority: 0.8 },
|
||||
{ url: `${baseUrl}/docs`, lastModified: now, changeFrequency: "weekly", priority: 0.9 },
|
||||
{ url: `${baseUrl}/docs/getting-started`, lastModified: now, changeFrequency: "monthly", priority: 0.9 },
|
||||
{ url: `${baseUrl}/docs/concepts`, lastModified: now, changeFrequency: "monthly", priority: 0.7 },
|
||||
{ url: `${baseUrl}/docs/python-sdk`, lastModified: now, changeFrequency: "monthly", priority: 0.8 },
|
||||
{ url: `${baseUrl}/docs/typescript-sdk`, lastModified: now, changeFrequency: "monthly", priority: 0.8 },
|
||||
{ url: `${baseUrl}/docs/opencode-plugin`, lastModified: now, changeFrequency: "monthly", priority: 0.8 },
|
||||
{ url: `${baseUrl}/docs/integrations/openai`, lastModified: now, changeFrequency: "monthly", priority: 0.7 },
|
||||
{ url: `${baseUrl}/docs/integrations/anthropic`, lastModified: now, changeFrequency: "monthly", priority: 0.7 },
|
||||
{ url: `${baseUrl}/docs/integrations/langchain`, lastModified: now, changeFrequency: "monthly", priority: 0.7 },
|
||||
{ url: `${baseUrl}/docs/api-reference`, lastModified: now, changeFrequency: "monthly", priority: 0.7 },
|
||||
{ url: `${baseUrl}/docs/self-hosting`, lastModified: now, changeFrequency: "monthly", priority: 0.7 },
|
||||
];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user