* next.js guide
* better
* shadcn
* fixes
* fix: correct screenshot test assertion to check path instead of base64
The daemon returns { path: savePath } for screenshot commands, not base64.
* fix: cross-platform Chrome detection and gitignore hardening
- Replace hardcoded macOS Chrome path with findLocalChrome() that
searches common paths on macOS, Linux, and WSL, with a clear error
message when no Chrome is found.
- Add .env and .env*.local to .gitignore to prevent accidental
secret commits.
* fix: correct Vercel deploy button repo URL to vercel-labs/agent-browser
* clean up
* demo
* next page
---------
Co-authored-by: ctate <366502+ctate@users.noreply.github.com>
60 lines
1.5 KiB
TypeScript
60 lines
1.5 KiB
TypeScript
export type NavItem = {
|
|
name: string;
|
|
href: string;
|
|
};
|
|
|
|
export type NavSection = {
|
|
title: string | null;
|
|
items: NavItem[];
|
|
};
|
|
|
|
export const navigation: NavSection[] = [
|
|
{
|
|
title: null,
|
|
items: [
|
|
{ name: "Introduction", href: "/" },
|
|
{ name: "Installation", href: "/installation" },
|
|
{ name: "Quick Start", href: "/quick-start" },
|
|
{ name: "Skills", href: "/skills" },
|
|
],
|
|
},
|
|
{
|
|
title: "Reference",
|
|
items: [
|
|
{ name: "Commands", href: "/commands" },
|
|
{ name: "Configuration", href: "/configuration" },
|
|
{ name: "Selectors", href: "/selectors" },
|
|
{ name: "Snapshots", href: "/snapshots" },
|
|
],
|
|
},
|
|
{
|
|
title: "Features",
|
|
items: [
|
|
{ name: "Sessions", href: "/sessions" },
|
|
{ name: "Diffing", href: "/diffing" },
|
|
{ name: "CDP Mode", href: "/cdp-mode" },
|
|
{ name: "Streaming", href: "/streaming" },
|
|
{ name: "Profiler", href: "/profiler" },
|
|
{ name: "iOS Simulator", href: "/ios" },
|
|
{ name: "Security", href: "/security" },
|
|
{ name: "Next.js + Vercel", href: "/next" },
|
|
{ name: "Native Mode (Experimental)", href: "/native-mode" },
|
|
],
|
|
},
|
|
{
|
|
title: "Engines",
|
|
items: [
|
|
{ name: "Chrome", href: "/engines/chrome" },
|
|
{ name: "Lightpanda", href: "/engines/lightpanda" },
|
|
],
|
|
},
|
|
{
|
|
title: null,
|
|
items: [{ name: "Changelog", href: "/changelog" }],
|
|
},
|
|
];
|
|
|
|
export const allDocsPages: NavItem[] = navigation.flatMap(
|
|
(section) => section.items
|
|
);
|