All your AI agent sessions in one place — browse, search, resume. Rust + GPUI.
Rust
// @ts-check
import { defineConfig } from 'astro/config';
import sitemap from '@astrojs/sitemap';
import { unified } from '@astrojs/markdown-remark';
import { rewriteRepoLinks } from './src/lib/rehype-repo-links.mjs';
export default defineConfig({
site: 'https://wake.cool',
// One URL per page: /docs/mcp/ (Vercel redirects /docs/mcp there, see vercel.json)
trailingSlash: 'always',
devToolbar: { enabled: false },
build: { format: 'directory' },
i18n: {
locales: ['en', 'zh'],
defaultLocale: 'en',
routing: { prefixDefaultLocale: false },
},
integrations: [
sitemap({
i18n: { defaultLocale: 'en', locales: { en: 'en', zh: 'zh-Hans' } },
}),
],
markdown: {
shikiConfig: { theme: 'github-dark-dimmed', wrap: false },
processor: unified({ rehypePlugins: [rewriteRepoLinks] }),
},
});