fleet-memory/hindsight-docs/sidebars.ts
Nicolò Boschi 90ad003c46
docs: add AI SDK integration documentation (#304)
* docs: add AI SDK integration documentation

- Add comprehensive AI SDK documentation in docs/sdks/integrations/ai-sdk.md
  - Detailed description of all three memory tools (retain, recall, reflect)
  - Complete parameter documentation and return types
  - Advanced usage patterns (streaming, multi-user, ToolLoopAgent)
  - HTTP client example for zero-dependency usage
  - TypeScript types and API reference
  - Best practices and system prompt examples

- Update AI SDK README to brief quickstart with link to docs
  - Single source of truth: comprehensive docs in documentation site
  - README now focuses on quick setup and points to full docs
  - Maintains features list and basic example for npm page

* fix
2026-02-05 17:05:18 +01:00

222 lines
4.6 KiB
TypeScript

import type {SidebarsConfig} from '@docusaurus/plugin-content-docs';
const sidebars: SidebarsConfig = {
developerSidebar: [
{
type: 'category',
label: 'Architecture',
collapsible: false,
items: [
{
type: 'doc',
id: 'developer/index',
label: 'Overview',
},
{
type: 'doc',
id: 'developer/retain',
label: 'Retain',
},
{
type: 'doc',
id: 'developer/retrieval',
label: 'Recall',
},
{
type: 'doc',
id: 'developer/reflect',
label: 'Reflect',
},
{
type: 'doc',
id: 'developer/observations',
label: 'Observations',
},
{
type: 'doc',
id: 'developer/multilingual',
label: 'Multilingual',
},
{
type: 'doc',
id: 'developer/performance',
label: 'Performance',
},
{
type: 'doc',
id: 'developer/storage',
label: 'Storage',
},
{
type: 'doc',
id: 'developer/rag-vs-hindsight',
label: 'RAG vs Memory',
},
],
},
{
type: 'category',
label: 'API',
collapsible: false,
items: [
{
type: 'doc',
id: 'developer/api/quickstart',
label: 'Quick Start',
},
{
type: 'doc',
id: 'developer/api/retain',
label: 'Retain',
},
{
type: 'doc',
id: 'developer/api/recall',
label: 'Recall',
},
{
type: 'doc',
id: 'developer/api/reflect',
label: 'Reflect',
},
{
type: 'doc',
id: 'developer/api/mental-models',
label: 'Mental Models',
},
{
type: 'doc',
id: 'developer/api/memory-banks',
label: 'Memory Banks',
},
{
type: 'doc',
id: 'developer/api/documents',
label: 'Documents',
},
{
type: 'doc',
id: 'developer/api/operations',
label: 'Operations',
},
],
},
{
type: 'category',
label: 'Hosting',
collapsible: false,
items: [
{
type: 'doc',
id: 'developer/installation',
label: 'Installation',
},
{
type: 'doc',
id: 'developer/services',
label: 'Services',
},
{
type: 'doc',
id: 'developer/configuration',
label: 'Configuration',
},
{
type: 'doc',
id: 'developer/admin-cli',
label: 'Admin CLI',
},
{
type: 'doc',
id: 'developer/extensions',
label: 'Extensions',
},
{
type: 'doc',
id: 'developer/models',
label: 'Models',
},
{
type: 'doc',
id: 'developer/monitoring',
label: 'Monitoring',
},
{
type: 'doc',
id: 'developer/mcp-server',
label: 'MCP Server',
},
],
},
],
sdksSidebar: [
{
type: 'category',
label: 'Clients',
collapsible: false,
items: [
{
type: 'doc',
id: 'sdks/python',
label: 'Python',
},
{
type: 'doc',
id: 'sdks/nodejs',
label: 'Node.js',
},
{
type: 'doc',
id: 'sdks/cli',
label: 'CLI',
},
{
type: 'doc',
id: 'sdks/embed',
label: 'Embedded Python',
},
],
},
{
type: 'category',
label: 'Integrations',
collapsible: false,
items: [
{
type: 'doc',
id: 'sdks/integrations/local-mcp',
label: 'Local MCP Server',
},
{
type: 'doc',
id: 'sdks/integrations/litellm',
label: 'LiteLLM',
},
{
type: 'doc',
id: 'sdks/integrations/openclaw',
label: 'OpenClaw',
},
{
type: 'doc',
id: 'sdks/integrations/ai-sdk',
label: 'Vercel AI SDK',
},
{
type: 'doc',
id: 'sdks/integrations/skills',
label: 'Skills',
},
],
},
],
cookbookSidebar: [
{
type: 'doc',
id: 'cookbook/index',
label: 'Cookbook',
},
],
};
export default sidebars;