Initial commit from agent-native create

This commit is contained in:
agent-native
2026-07-25 17:10:38 +00:00
commit ffea2aeff7
120 changed files with 6804 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
import { agentNative } from "@agent-native/core/vite";
import { reactRouter } from "@react-router/dev/vite";
import { defineConfig } from "vite";
const reactRouterPlugins = reactRouter as unknown as () => any[];
const agentNativePlugins = agentNative as unknown as (
options?: Parameters<typeof agentNative>[0],
) => any[];
export default defineConfig({
plugins: [
...reactRouterPlugins(),
...agentNativePlugins({
// shiki only runs in AssistantChat's useEffect — keep it out of the
// CF Pages Functions bundle (25 MiB limit).
ssrStubs: ["shiki"],
}),
],
});