mirror of
https://github.com/hanzo-docs/docs.git
synced 2026-10-24 20:09:02 +00:00
wip: preserve agent work interrupted by session limit
(cherry picked from commit e7522b71172874f6624eb45e09a78f013f287270) Co-authored-by: Hanzo Dev <[email protected]>
This commit is contained in:
@@ -2,14 +2,11 @@
|
||||
|
||||
import { RootProvider } from '@hanzo/docs/ui/provider/base';
|
||||
import type { ReactNode } from 'react';
|
||||
import { TooltipProvider } from '@radix-ui/react-tooltip';
|
||||
|
||||
export function Provider({ children }: { children: ReactNode }) {
|
||||
return (
|
||||
<RootProvider>
|
||||
<TooltipProvider>
|
||||
{children}
|
||||
</TooltipProvider>
|
||||
{children}
|
||||
</RootProvider>
|
||||
);
|
||||
}
|
||||
|
||||
@@ -18,7 +18,6 @@
|
||||
"@hanzo/docs-core": "workspace:*",
|
||||
"@hanzo/docs-mdx": "workspace:*",
|
||||
"@hanzo/docs-base-ui": "workspace:*",
|
||||
"@radix-ui/react-tooltip": "^1.2.8",
|
||||
"@shikijs/rehype": "^3.21.0",
|
||||
"@shikijs/transformers": "^3.21.0",
|
||||
"class-variance-authority": "^0.7.1",
|
||||
|
||||
@@ -2,14 +2,11 @@
|
||||
|
||||
import { RootProvider } from '@hanzo/docs/ui/provider/base';
|
||||
import type { ReactNode } from 'react';
|
||||
import { TooltipProvider } from '@radix-ui/react-tooltip';
|
||||
|
||||
export function Provider({ children }: { children: ReactNode }) {
|
||||
return (
|
||||
<RootProvider theme={{ defaultTheme: 'dark', enableSystem: false }}>
|
||||
<TooltipProvider>
|
||||
{children}
|
||||
</TooltipProvider>
|
||||
{children}
|
||||
</RootProvider>
|
||||
);
|
||||
}
|
||||
|
||||
@@ -18,7 +18,6 @@
|
||||
"@hanzo/docs-core": "workspace:*",
|
||||
"@hanzo/docs-mdx": "workspace:*",
|
||||
"@hanzo/docs-base-ui": "workspace:*",
|
||||
"@radix-ui/react-tooltip": "^1.2.8",
|
||||
"@shikijs/rehype": "^3.21.0",
|
||||
"@shikijs/transformers": "^3.21.0",
|
||||
"class-variance-authority": "^0.7.1",
|
||||
|
||||
@@ -3,7 +3,6 @@
|
||||
import { RootProvider } from '@hanzo/docs/ui/provider/base';
|
||||
import dynamic from 'next/dynamic';
|
||||
import type { ReactNode } from 'react';
|
||||
import { TooltipProvider } from '@radix-ui/react-tooltip';
|
||||
import { AISearch } from '@/components/ai/search';
|
||||
|
||||
const SearchDialog = dynamic(() => import('@/components/layouts/search'), {
|
||||
@@ -18,11 +17,9 @@ export function Provider({ children }: { children: ReactNode }) {
|
||||
}}
|
||||
theme={{ defaultTheme: 'dark', enableSystem: false }}
|
||||
>
|
||||
<TooltipProvider>
|
||||
<AISearch>
|
||||
{children}
|
||||
</AISearch>
|
||||
</TooltipProvider>
|
||||
<AISearch>
|
||||
{children}
|
||||
</AISearch>
|
||||
</RootProvider>
|
||||
);
|
||||
}
|
||||
|
||||
@@ -19,10 +19,9 @@
|
||||
"@hanzo/docs-base-ui": "workspace:*",
|
||||
"@hanzo/docs-core": "workspace:*",
|
||||
"@hanzo/docs-mdx": "workspace:*",
|
||||
"@hanzo/logo": "^1.0.5",
|
||||
"@hanzo/logo": "^1.0.14",
|
||||
"@hanzo/mdx-runtime": "workspace:*",
|
||||
"@radix-ui/react-presence": "^1.1.5",
|
||||
"@radix-ui/react-tooltip": "^1.2.8",
|
||||
"@shikijs/rehype": "^3.21.0",
|
||||
"@shikijs/transformers": "^3.21.0",
|
||||
"ai": "^6.0.77",
|
||||
|
||||
@@ -2,14 +2,11 @@
|
||||
|
||||
import { RootProvider } from '@hanzo/docs/ui/provider/base';
|
||||
import type { ReactNode } from 'react';
|
||||
import { TooltipProvider } from '@radix-ui/react-tooltip';
|
||||
|
||||
export function Provider({ children }: { children: ReactNode }) {
|
||||
return (
|
||||
<RootProvider theme={{ defaultTheme: 'dark', enableSystem: false }}>
|
||||
<TooltipProvider>
|
||||
{children}
|
||||
</TooltipProvider>
|
||||
{children}
|
||||
</RootProvider>
|
||||
);
|
||||
}
|
||||
|
||||
@@ -19,7 +19,6 @@
|
||||
"@hanzo/docs-core": "workspace:*",
|
||||
"@hanzo/docs-mdx": "workspace:*",
|
||||
"@hanzo/docs-base-ui": "workspace:*",
|
||||
"@radix-ui/react-tooltip": "^1.2.8",
|
||||
"@shikijs/rehype": "^3.21.0",
|
||||
"@shikijs/transformers": "^3.21.0",
|
||||
"class-variance-authority": "^0.7.1",
|
||||
|
||||
@@ -2,14 +2,11 @@
|
||||
|
||||
import { RootProvider } from '@hanzo/docs/ui/provider/base';
|
||||
import type { ReactNode } from 'react';
|
||||
import { TooltipProvider } from '@radix-ui/react-tooltip';
|
||||
|
||||
export function Provider({ children }: { children: ReactNode }) {
|
||||
return (
|
||||
<RootProvider theme={{ defaultTheme: 'dark', enableSystem: false }}>
|
||||
<TooltipProvider>
|
||||
{children}
|
||||
</TooltipProvider>
|
||||
{children}
|
||||
</RootProvider>
|
||||
);
|
||||
}
|
||||
|
||||
@@ -18,7 +18,6 @@
|
||||
"@hanzo/docs-core": "workspace:*",
|
||||
"@hanzo/docs-mdx": "workspace:*",
|
||||
"@hanzo/docs-base-ui": "workspace:*",
|
||||
"@radix-ui/react-tooltip": "^1.2.8",
|
||||
"@shikijs/rehype": "^3.21.0",
|
||||
"@shikijs/transformers": "^3.21.0",
|
||||
"class-variance-authority": "^0.7.1",
|
||||
|
||||
@@ -3,7 +3,6 @@
|
||||
import { RootProvider } from '@hanzo/docs-base-ui/provider/base';
|
||||
import dynamic from 'next/dynamic';
|
||||
import type { ReactNode } from 'react';
|
||||
import { TooltipProvider } from '@radix-ui/react-tooltip';
|
||||
|
||||
const SearchDialog = dynamic(() => import('@/components/layouts/search'), {
|
||||
ssr: false,
|
||||
@@ -35,10 +34,8 @@ export function Provider({ children }: { children: ReactNode }) {
|
||||
enableSystem: false,
|
||||
}}
|
||||
>
|
||||
<TooltipProvider>
|
||||
<script suppressHydrationWarning dangerouslySetInnerHTML={{ __html: inject }} />
|
||||
{children}
|
||||
</TooltipProvider>
|
||||
<script suppressHydrationWarning dangerouslySetInnerHTML={{ __html: inject }} />
|
||||
{children}
|
||||
</RootProvider>
|
||||
);
|
||||
}
|
||||
|
||||
@@ -33,7 +33,7 @@
|
||||
"@hanzo/docs-typescript": "workspace:^",
|
||||
"@hanzo/docs-ui": "workspace:*",
|
||||
"@hanzo/iam": "^0.21.6",
|
||||
"@hanzo/logo": "^1.0.5",
|
||||
"@hanzo/logo": "^1.0.14",
|
||||
"@hanzogui/shell": "^7.6.3",
|
||||
"@llmgateway/ai-sdk-provider": "^3.8.0",
|
||||
"@openrouter/ai-sdk-provider": "^2.9.0",
|
||||
|
||||
@@ -3,7 +3,6 @@
|
||||
import { RootProvider } from '@hanzo/docs/ui/provider/base';
|
||||
import dynamic from 'next/dynamic';
|
||||
import type { ReactNode } from 'react';
|
||||
import { TooltipProvider } from '@radix-ui/react-tooltip';
|
||||
import { AISearch } from '@/components/ai/search';
|
||||
|
||||
const SearchDialog = dynamic(() => import('@/components/layouts/search'), {
|
||||
@@ -18,11 +17,9 @@ export function Provider({ children }: { children: ReactNode }) {
|
||||
}}
|
||||
theme={{ defaultTheme: 'dark', enableSystem: false }}
|
||||
>
|
||||
<TooltipProvider>
|
||||
<AISearch>
|
||||
{children}
|
||||
</AISearch>
|
||||
</TooltipProvider>
|
||||
<AISearch>
|
||||
{children}
|
||||
</AISearch>
|
||||
</RootProvider>
|
||||
);
|
||||
}
|
||||
|
||||
@@ -19,10 +19,9 @@
|
||||
"@hanzo/docs-base-ui": "workspace:*",
|
||||
"@hanzo/docs-core": "workspace:*",
|
||||
"@hanzo/docs-mdx": "workspace:*",
|
||||
"@hanzo/logo": "^1.0.5",
|
||||
"@hanzo/logo": "^1.0.14",
|
||||
"@hanzo/mdx-runtime": "workspace:*",
|
||||
"@radix-ui/react-presence": "^1.1.5",
|
||||
"@radix-ui/react-tooltip": "^1.2.8",
|
||||
"@shikijs/rehype": "^3.21.0",
|
||||
"@shikijs/transformers": "^3.21.0",
|
||||
"ai": "^6.0.77",
|
||||
|
||||
@@ -2,14 +2,11 @@
|
||||
|
||||
import { RootProvider } from '@hanzo/docs/ui/provider/base';
|
||||
import type { ReactNode } from 'react';
|
||||
import { TooltipProvider } from '@radix-ui/react-tooltip';
|
||||
|
||||
export function Provider({ children }: { children: ReactNode }) {
|
||||
return (
|
||||
<RootProvider theme={{ defaultTheme: 'dark', enableSystem: false }}>
|
||||
<TooltipProvider>
|
||||
{children}
|
||||
</TooltipProvider>
|
||||
{children}
|
||||
</RootProvider>
|
||||
);
|
||||
}
|
||||
|
||||
@@ -18,7 +18,6 @@
|
||||
"@hanzo/docs-core": "workspace:*",
|
||||
"@hanzo/docs-mdx": "workspace:*",
|
||||
"@hanzo/mdx-runtime": "workspace:*",
|
||||
"@radix-ui/react-tooltip": "^1.2.8",
|
||||
"@shikijs/rehype": "^3.21.0",
|
||||
"@shikijs/transformers": "^3.21.0",
|
||||
"class-variance-authority": "^0.7.1",
|
||||
|
||||
@@ -3,7 +3,6 @@
|
||||
import { RootProvider } from '@hanzo/docs/ui/provider/base';
|
||||
import dynamic from 'next/dynamic';
|
||||
import type { ReactNode } from 'react';
|
||||
import { TooltipProvider } from '@radix-ui/react-tooltip';
|
||||
import { AISearch } from '@/components/ai/search';
|
||||
|
||||
const SearchDialog = dynamic(() => import('@/components/layouts/search'), {
|
||||
@@ -18,11 +17,9 @@ export function Provider({ children }: { children: ReactNode }) {
|
||||
}}
|
||||
theme={{ defaultTheme: 'dark', enableSystem: false }}
|
||||
>
|
||||
<TooltipProvider>
|
||||
<AISearch>
|
||||
{children}
|
||||
</AISearch>
|
||||
</TooltipProvider>
|
||||
<AISearch>
|
||||
{children}
|
||||
</AISearch>
|
||||
</RootProvider>
|
||||
);
|
||||
}
|
||||
|
||||
@@ -19,10 +19,9 @@
|
||||
"@hanzo/docs-base-ui": "workspace:*",
|
||||
"@hanzo/docs-core": "workspace:*",
|
||||
"@hanzo/docs-mdx": "workspace:*",
|
||||
"@hanzo/logo": "^1.0.5",
|
||||
"@hanzo/logo": "^1.0.14",
|
||||
"@hanzo/mdx-runtime": "workspace:*",
|
||||
"@radix-ui/react-presence": "^1.1.5",
|
||||
"@radix-ui/react-tooltip": "^1.2.8",
|
||||
"@shikijs/rehype": "^3.21.0",
|
||||
"@shikijs/transformers": "^3.21.0",
|
||||
"ai": "^6.0.77",
|
||||
|
||||
@@ -2,14 +2,11 @@
|
||||
|
||||
import { RootProvider } from '@hanzo/docs/ui/provider/base';
|
||||
import type { ReactNode } from 'react';
|
||||
import { TooltipProvider } from '@radix-ui/react-tooltip';
|
||||
|
||||
export function Provider({ children }: { children: ReactNode }) {
|
||||
return (
|
||||
<RootProvider theme={{ defaultTheme: 'dark', enableSystem: false }}>
|
||||
<TooltipProvider>
|
||||
{children}
|
||||
</TooltipProvider>
|
||||
{children}
|
||||
</RootProvider>
|
||||
);
|
||||
}
|
||||
|
||||
@@ -19,7 +19,6 @@
|
||||
"@hanzo/docs-core": "workspace:*",
|
||||
"@hanzo/docs-mdx": "workspace:*",
|
||||
"@hanzo/docs-base-ui": "workspace:*",
|
||||
"@radix-ui/react-tooltip": "^1.2.8",
|
||||
"@shikijs/rehype": "^3.21.0",
|
||||
"@shikijs/transformers": "^3.21.0",
|
||||
"class-variance-authority": "^0.7.1",
|
||||
|
||||
@@ -3,7 +3,6 @@
|
||||
import { RootProvider } from '@hanzo/docs/ui/provider/base';
|
||||
import dynamic from 'next/dynamic';
|
||||
import type { ReactNode } from 'react';
|
||||
import { TooltipProvider } from '@radix-ui/react-tooltip';
|
||||
import { AISearch } from '@/components/ai/search';
|
||||
|
||||
const SearchDialog = dynamic(() => import('@/components/layouts/search'), {
|
||||
@@ -18,11 +17,9 @@ export function Provider({ children }: { children: ReactNode }) {
|
||||
}}
|
||||
theme={{ defaultTheme: 'dark', enableSystem: false }}
|
||||
>
|
||||
<TooltipProvider>
|
||||
<AISearch>
|
||||
{children}
|
||||
</AISearch>
|
||||
</TooltipProvider>
|
||||
<AISearch>
|
||||
{children}
|
||||
</AISearch>
|
||||
</RootProvider>
|
||||
);
|
||||
}
|
||||
|
||||
@@ -19,10 +19,9 @@
|
||||
"@hanzo/docs-base-ui": "workspace:*",
|
||||
"@hanzo/docs-core": "workspace:*",
|
||||
"@hanzo/docs-mdx": "workspace:*",
|
||||
"@hanzo/logo": "^1.0.5",
|
||||
"@hanzo/logo": "^1.0.14",
|
||||
"@hanzo/mdx-runtime": "workspace:*",
|
||||
"@radix-ui/react-presence": "^1.1.5",
|
||||
"@radix-ui/react-tooltip": "^1.2.8",
|
||||
"@shikijs/rehype": "^3.21.0",
|
||||
"@shikijs/transformers": "^3.21.0",
|
||||
"ai": "^6.0.77",
|
||||
|
||||
@@ -2,14 +2,11 @@
|
||||
|
||||
import { RootProvider } from '@hanzo/docs/ui/provider/base';
|
||||
import type { ReactNode } from 'react';
|
||||
import { TooltipProvider } from '@radix-ui/react-tooltip';
|
||||
|
||||
export function Provider({ children }: { children: ReactNode }) {
|
||||
return (
|
||||
<RootProvider theme={{ defaultTheme: 'dark', enableSystem: false }}>
|
||||
<TooltipProvider>
|
||||
{children}
|
||||
</TooltipProvider>
|
||||
{children}
|
||||
</RootProvider>
|
||||
);
|
||||
}
|
||||
|
||||
@@ -18,7 +18,6 @@
|
||||
"@hanzo/docs-core": "workspace:*",
|
||||
"@hanzo/docs-mdx": "workspace:*",
|
||||
"@hanzo/mdx-runtime": "workspace:*",
|
||||
"@radix-ui/react-tooltip": "^1.2.8",
|
||||
"@shikijs/rehype": "^3.21.0",
|
||||
"@shikijs/transformers": "^3.21.0",
|
||||
"class-variance-authority": "^0.7.1",
|
||||
|
||||
@@ -2,14 +2,11 @@
|
||||
|
||||
import { RootProvider } from '@hanzo/docs/ui/provider/base';
|
||||
import type { ReactNode } from 'react';
|
||||
import { TooltipProvider } from '@radix-ui/react-tooltip';
|
||||
|
||||
export function Provider({ children }: { children: ReactNode }) {
|
||||
return (
|
||||
<RootProvider>
|
||||
<TooltipProvider>
|
||||
{children}
|
||||
</TooltipProvider>
|
||||
{children}
|
||||
</RootProvider>
|
||||
);
|
||||
}
|
||||
|
||||
@@ -18,7 +18,6 @@
|
||||
"@hanzo/docs-core": "workspace:*",
|
||||
"@hanzo/docs-mdx": "workspace:*",
|
||||
"@hanzo/mdx-runtime": "workspace:*",
|
||||
"@radix-ui/react-tooltip": "^1.2.8",
|
||||
"@shikijs/rehype": "^3.21.0",
|
||||
"@shikijs/transformers": "^3.21.0",
|
||||
"class-variance-authority": "^0.7.1",
|
||||
|
||||
@@ -2,14 +2,11 @@
|
||||
|
||||
import { RootProvider } from '@hanzo/docs/ui/provider/base';
|
||||
import type { ReactNode } from 'react';
|
||||
import { TooltipProvider } from '@radix-ui/react-tooltip';
|
||||
|
||||
export function Provider({ children }: { children: ReactNode }) {
|
||||
return (
|
||||
<RootProvider theme={{ defaultTheme: 'dark', enableSystem: false }}>
|
||||
<TooltipProvider>
|
||||
{children}
|
||||
</TooltipProvider>
|
||||
{children}
|
||||
</RootProvider>
|
||||
);
|
||||
}
|
||||
|
||||
@@ -18,10 +18,8 @@
|
||||
"@hanzo/docs-base-ui": "workspace:*",
|
||||
"@hanzo/docs-core": "workspace:*",
|
||||
"@hanzo/docs-mdx": "workspace:*",
|
||||
"@hanzo/logo": "^1.0.5",
|
||||
"@hanzo/logo": "^1.0.14",
|
||||
"@hanzo/mdx-runtime": "workspace:*",
|
||||
"@radix-ui/react-presence": "^1.1.5",
|
||||
"@radix-ui/react-tooltip": "^1.2.8",
|
||||
"@shikijs/rehype": "^3.21.0",
|
||||
"@shikijs/transformers": "^3.21.0",
|
||||
"class-variance-authority": "^0.7.1",
|
||||
|
||||
@@ -2,14 +2,11 @@
|
||||
|
||||
import { RootProvider } from '@hanzo/docs/ui/provider/base';
|
||||
import type { ReactNode } from 'react';
|
||||
import { TooltipProvider } from '@radix-ui/react-tooltip';
|
||||
|
||||
export function Provider({ children }: { children: ReactNode }) {
|
||||
return (
|
||||
<RootProvider>
|
||||
<TooltipProvider>
|
||||
{children}
|
||||
</TooltipProvider>
|
||||
{children}
|
||||
</RootProvider>
|
||||
);
|
||||
}
|
||||
|
||||
@@ -18,7 +18,6 @@
|
||||
"@hanzo/docs-core": "workspace:*",
|
||||
"@hanzo/docs-mdx": "workspace:*",
|
||||
"@hanzo/docs-base-ui": "workspace:*",
|
||||
"@radix-ui/react-tooltip": "^1.2.8",
|
||||
"@shikijs/rehype": "^3.21.0",
|
||||
"@shikijs/transformers": "^3.21.0",
|
||||
"class-variance-authority": "^0.7.1",
|
||||
|
||||
@@ -18,6 +18,7 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"@changesets/cli": "^2.31.0",
|
||||
"@typescript/native-preview": "7.0.0-dev.20260707.2",
|
||||
"concurrently": "^10.0.0",
|
||||
"oxfmt": "^0.52.0",
|
||||
"oxlint": "^1.67.0",
|
||||
|
||||
@@ -379,7 +379,7 @@
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@hanzo/mdx": "^14.0.0",
|
||||
"@hanzo/ui": "^5.0.0",
|
||||
"@hanzo/ui": "^8.0.39",
|
||||
"@orama/core": "1.x.x",
|
||||
"@oramacloud/client": "2.x.x",
|
||||
"@tanstack/react-router": "1.x.x",
|
||||
|
||||
@@ -53,7 +53,6 @@
|
||||
"@radix-ui/react-accordion": "^1.2.12",
|
||||
"@radix-ui/react-dialog": "^1.1.15",
|
||||
"@radix-ui/react-select": "^2.2.6",
|
||||
"@radix-ui/react-slot": "^1.2.4",
|
||||
"chokidar": "^5.0.0",
|
||||
"class-variance-authority": "^0.7.1",
|
||||
"github-slugger": "^2.0.0",
|
||||
|
||||
@@ -138,7 +138,6 @@
|
||||
"@radix-ui/react-popover": "^1.1.15",
|
||||
"@radix-ui/react-presence": "^1.1.5",
|
||||
"@radix-ui/react-scroll-area": "^1.2.10",
|
||||
"@radix-ui/react-slot": "^1.2.4",
|
||||
"@radix-ui/react-tabs": "^1.1.13",
|
||||
"class-variance-authority": "^0.7.1",
|
||||
"lucide-react": "^1.17.0",
|
||||
|
||||
Reference in New Issue
Block a user