├── .eslintrc.json ├── .gitignore ├── CONTRIBUTING.md ├── LICENSE ├── README.md ├── components.json ├── data └── oss-data-analyst.db ├── env.local.example ├── manifest.json ├── next.config.ts ├── package.json ├── pnpm-lock.yaml ├── postcss.config.js ├── public ├── d0.svg ├── fonts │ └── Inter.ttf └── logo.png ├── scripts ├── init-database.ts ├── seed-database.ts └── stream.ts ├── src ├── app │ ├── api │ │ └── chat │ │ │ └── route.ts │ ├── globals.css │ ├── layout.tsx │ ├── not-found.tsx │ └── page.tsx ├── components │ ├── InterpretationText.tsx │ ├── ProgressIndicator.tsx │ ├── ResultsModule.tsx │ ├── ai-elements │ │ ├── actions.tsx │ │ ├── artifact.tsx │ │ ├── branch.tsx │ │ ├── canvas.tsx │ │ ├── chain-of-thought.tsx │ │ ├── code-block.tsx │ │ ├── connection.tsx │ │ ├── context.tsx │ │ ├── controls.tsx │ │ ├── conversation.tsx │ │ ├── edge.tsx │ │ ├── image.tsx │ │ ├── inline-citation.tsx │ │ ├── loader.tsx │ │ ├── message.tsx │ │ ├── node.tsx │ │ ├── open-in-chat.tsx │ │ ├── panel.tsx │ │ ├── plan.tsx │ │ ├── prompt-input.tsx │ │ ├── queue.tsx │ │ ├── reasoning.tsx │ │ ├── response.tsx │ │ ├── shimmer.tsx │ │ ├── sources.tsx │ │ ├── suggestion.tsx │ │ ├── task.tsx │ │ ├── tool.tsx │ │ ├── toolbar.tsx │ │ └── web-preview.tsx │ ├── chat │ │ └── ChatLayout.tsx │ └── ui │ │ ├── accordion.tsx │ │ ├── alert-dialog.tsx │ │ ├── alert.tsx │ │ ├── aspect-ratio.tsx │ │ ├── avatar.tsx │ │ ├── badge.tsx │ │ ├── breadcrumb.tsx │ │ ├── button-group.tsx │ │ ├── button.tsx │ │ ├── calendar.tsx │ │ ├── card.tsx │ │ ├── carousel.tsx │ │ ├── chart.tsx │ │ ├── checkbox.tsx │ │ ├── collapsible.tsx │ │ ├── command.tsx │ │ ├── context-menu.tsx │ │ ├── dialog.tsx │ │ ├── drawer.tsx │ │ ├── dropdown-menu.tsx │ │ ├── empty.tsx │ │ ├── field.tsx │ │ ├── form.tsx │ │ ├── hover-card.tsx │ │ ├── input-group.tsx │ │ ├── input-otp.tsx │ │ ├── input.tsx │ │ ├── item.tsx │ │ ├── kbd.tsx │ │ ├── label.tsx │ │ ├── menubar.tsx │ │ ├── navigation-menu.tsx │ │ ├── popover.tsx │ │ ├── progress.tsx │ │ ├── radio-group.tsx │ │ ├── resizable.tsx │ │ ├── scroll-area.tsx │ │ ├── select.tsx │ │ ├── separator.tsx │ │ ├── sheet.tsx │ │ ├── sidebar.tsx │ │ ├── skeleton.tsx │ │ ├── slider.tsx │ │ ├── sonner.tsx │ │ ├── spinner.tsx │ │ ├── switch.tsx │ │ ├── table.tsx │ │ ├── tabs.tsx │ │ ├── textarea.tsx │ │ ├── toggle-group.tsx │ │ ├── toggle.tsx │ │ └── tooltip.tsx ├── config │ ├── constants.ts │ ├── index.ts │ └── schema.ts ├── hooks │ └── use-mobile.ts ├── lib │ ├── agent.ts │ ├── execute │ │ ├── errors.ts │ │ └── repair.ts │ ├── fonts │ │ └── Inter.ttf │ ├── helpers.ts │ ├── planning │ │ └── types.ts │ ├── prompts │ │ ├── building.ts │ │ ├── execution.ts │ │ ├── planning.ts │ │ └── reporting.ts │ ├── reporting │ │ ├── csv.ts │ │ ├── sanity.ts │ │ └── viz.ts │ ├── sample-queries.ts │ ├── security │ │ └── policy.ts │ ├── semantic │ │ ├── io.ts │ │ ├── schemas.ts │ │ └── types.ts │ ├── snowflake.ts │ ├── sql │ │ ├── join-types.ts │ │ ├── joins.ts │ │ ├── macros.ts │ │ ├── render.ts │ │ └── validate.ts │ ├── sqlite.ts │ ├── tools │ │ ├── building-sqlite.ts │ │ ├── building.ts │ │ ├── execute-sqlite.ts │ │ ├── execute.ts │ │ ├── planning.ts │ │ ├── reporting.ts │ │ └── vegaToPng.ts │ └── utils.ts ├── semantic │ ├── catalog.yml │ ├── dimensions.json │ └── entities │ │ ├── Accounts.yml │ │ ├── Company.yml │ │ └── People.yml ├── services │ └── snowflake_client.ts └── types │ ├── chat.ts │ └── stream.ts ├── tailwind.config.js ├── tsconfig.json ├── vercel.json └── vitest.config.ts /.eslintrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vercel-labs/oss-data-analyst/HEAD/.eslintrc.json -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vercel-labs/oss-data-analyst/HEAD/.gitignore -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vercel-labs/oss-data-analyst/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vercel-labs/oss-data-analyst/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vercel-labs/oss-data-analyst/HEAD/README.md -------------------------------------------------------------------------------- /components.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vercel-labs/oss-data-analyst/HEAD/components.json -------------------------------------------------------------------------------- /data/oss-data-analyst.db: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vercel-labs/oss-data-analyst/HEAD/data/oss-data-analyst.db -------------------------------------------------------------------------------- /env.local.example: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vercel-labs/oss-data-analyst/HEAD/env.local.example -------------------------------------------------------------------------------- /manifest.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vercel-labs/oss-data-analyst/HEAD/manifest.json -------------------------------------------------------------------------------- /next.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vercel-labs/oss-data-analyst/HEAD/next.config.ts -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vercel-labs/oss-data-analyst/HEAD/package.json -------------------------------------------------------------------------------- /pnpm-lock.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vercel-labs/oss-data-analyst/HEAD/pnpm-lock.yaml -------------------------------------------------------------------------------- /postcss.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vercel-labs/oss-data-analyst/HEAD/postcss.config.js -------------------------------------------------------------------------------- /public/d0.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vercel-labs/oss-data-analyst/HEAD/public/d0.svg -------------------------------------------------------------------------------- /public/fonts/Inter.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vercel-labs/oss-data-analyst/HEAD/public/fonts/Inter.ttf -------------------------------------------------------------------------------- /public/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vercel-labs/oss-data-analyst/HEAD/public/logo.png -------------------------------------------------------------------------------- /scripts/init-database.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vercel-labs/oss-data-analyst/HEAD/scripts/init-database.ts -------------------------------------------------------------------------------- /scripts/seed-database.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vercel-labs/oss-data-analyst/HEAD/scripts/seed-database.ts -------------------------------------------------------------------------------- /scripts/stream.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vercel-labs/oss-data-analyst/HEAD/scripts/stream.ts -------------------------------------------------------------------------------- /src/app/api/chat/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vercel-labs/oss-data-analyst/HEAD/src/app/api/chat/route.ts -------------------------------------------------------------------------------- /src/app/globals.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vercel-labs/oss-data-analyst/HEAD/src/app/globals.css -------------------------------------------------------------------------------- /src/app/layout.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vercel-labs/oss-data-analyst/HEAD/src/app/layout.tsx -------------------------------------------------------------------------------- /src/app/not-found.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vercel-labs/oss-data-analyst/HEAD/src/app/not-found.tsx -------------------------------------------------------------------------------- /src/app/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vercel-labs/oss-data-analyst/HEAD/src/app/page.tsx -------------------------------------------------------------------------------- /src/components/InterpretationText.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vercel-labs/oss-data-analyst/HEAD/src/components/InterpretationText.tsx -------------------------------------------------------------------------------- /src/components/ProgressIndicator.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vercel-labs/oss-data-analyst/HEAD/src/components/ProgressIndicator.tsx -------------------------------------------------------------------------------- /src/components/ResultsModule.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vercel-labs/oss-data-analyst/HEAD/src/components/ResultsModule.tsx -------------------------------------------------------------------------------- /src/components/ai-elements/actions.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vercel-labs/oss-data-analyst/HEAD/src/components/ai-elements/actions.tsx -------------------------------------------------------------------------------- /src/components/ai-elements/artifact.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vercel-labs/oss-data-analyst/HEAD/src/components/ai-elements/artifact.tsx -------------------------------------------------------------------------------- /src/components/ai-elements/branch.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vercel-labs/oss-data-analyst/HEAD/src/components/ai-elements/branch.tsx -------------------------------------------------------------------------------- /src/components/ai-elements/canvas.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vercel-labs/oss-data-analyst/HEAD/src/components/ai-elements/canvas.tsx -------------------------------------------------------------------------------- /src/components/ai-elements/chain-of-thought.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vercel-labs/oss-data-analyst/HEAD/src/components/ai-elements/chain-of-thought.tsx -------------------------------------------------------------------------------- /src/components/ai-elements/code-block.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vercel-labs/oss-data-analyst/HEAD/src/components/ai-elements/code-block.tsx -------------------------------------------------------------------------------- /src/components/ai-elements/connection.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vercel-labs/oss-data-analyst/HEAD/src/components/ai-elements/connection.tsx -------------------------------------------------------------------------------- /src/components/ai-elements/context.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vercel-labs/oss-data-analyst/HEAD/src/components/ai-elements/context.tsx -------------------------------------------------------------------------------- /src/components/ai-elements/controls.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vercel-labs/oss-data-analyst/HEAD/src/components/ai-elements/controls.tsx -------------------------------------------------------------------------------- /src/components/ai-elements/conversation.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vercel-labs/oss-data-analyst/HEAD/src/components/ai-elements/conversation.tsx -------------------------------------------------------------------------------- /src/components/ai-elements/edge.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vercel-labs/oss-data-analyst/HEAD/src/components/ai-elements/edge.tsx -------------------------------------------------------------------------------- /src/components/ai-elements/image.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vercel-labs/oss-data-analyst/HEAD/src/components/ai-elements/image.tsx -------------------------------------------------------------------------------- /src/components/ai-elements/inline-citation.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vercel-labs/oss-data-analyst/HEAD/src/components/ai-elements/inline-citation.tsx -------------------------------------------------------------------------------- /src/components/ai-elements/loader.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vercel-labs/oss-data-analyst/HEAD/src/components/ai-elements/loader.tsx -------------------------------------------------------------------------------- /src/components/ai-elements/message.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vercel-labs/oss-data-analyst/HEAD/src/components/ai-elements/message.tsx -------------------------------------------------------------------------------- /src/components/ai-elements/node.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vercel-labs/oss-data-analyst/HEAD/src/components/ai-elements/node.tsx -------------------------------------------------------------------------------- /src/components/ai-elements/open-in-chat.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vercel-labs/oss-data-analyst/HEAD/src/components/ai-elements/open-in-chat.tsx -------------------------------------------------------------------------------- /src/components/ai-elements/panel.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vercel-labs/oss-data-analyst/HEAD/src/components/ai-elements/panel.tsx -------------------------------------------------------------------------------- /src/components/ai-elements/plan.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vercel-labs/oss-data-analyst/HEAD/src/components/ai-elements/plan.tsx -------------------------------------------------------------------------------- /src/components/ai-elements/prompt-input.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vercel-labs/oss-data-analyst/HEAD/src/components/ai-elements/prompt-input.tsx -------------------------------------------------------------------------------- /src/components/ai-elements/queue.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vercel-labs/oss-data-analyst/HEAD/src/components/ai-elements/queue.tsx -------------------------------------------------------------------------------- /src/components/ai-elements/reasoning.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vercel-labs/oss-data-analyst/HEAD/src/components/ai-elements/reasoning.tsx -------------------------------------------------------------------------------- /src/components/ai-elements/response.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vercel-labs/oss-data-analyst/HEAD/src/components/ai-elements/response.tsx -------------------------------------------------------------------------------- /src/components/ai-elements/shimmer.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vercel-labs/oss-data-analyst/HEAD/src/components/ai-elements/shimmer.tsx -------------------------------------------------------------------------------- /src/components/ai-elements/sources.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vercel-labs/oss-data-analyst/HEAD/src/components/ai-elements/sources.tsx -------------------------------------------------------------------------------- /src/components/ai-elements/suggestion.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vercel-labs/oss-data-analyst/HEAD/src/components/ai-elements/suggestion.tsx -------------------------------------------------------------------------------- /src/components/ai-elements/task.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vercel-labs/oss-data-analyst/HEAD/src/components/ai-elements/task.tsx -------------------------------------------------------------------------------- /src/components/ai-elements/tool.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vercel-labs/oss-data-analyst/HEAD/src/components/ai-elements/tool.tsx -------------------------------------------------------------------------------- /src/components/ai-elements/toolbar.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vercel-labs/oss-data-analyst/HEAD/src/components/ai-elements/toolbar.tsx -------------------------------------------------------------------------------- /src/components/ai-elements/web-preview.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vercel-labs/oss-data-analyst/HEAD/src/components/ai-elements/web-preview.tsx -------------------------------------------------------------------------------- /src/components/chat/ChatLayout.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vercel-labs/oss-data-analyst/HEAD/src/components/chat/ChatLayout.tsx -------------------------------------------------------------------------------- /src/components/ui/accordion.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vercel-labs/oss-data-analyst/HEAD/src/components/ui/accordion.tsx -------------------------------------------------------------------------------- /src/components/ui/alert-dialog.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vercel-labs/oss-data-analyst/HEAD/src/components/ui/alert-dialog.tsx -------------------------------------------------------------------------------- /src/components/ui/alert.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vercel-labs/oss-data-analyst/HEAD/src/components/ui/alert.tsx -------------------------------------------------------------------------------- /src/components/ui/aspect-ratio.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vercel-labs/oss-data-analyst/HEAD/src/components/ui/aspect-ratio.tsx -------------------------------------------------------------------------------- /src/components/ui/avatar.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vercel-labs/oss-data-analyst/HEAD/src/components/ui/avatar.tsx -------------------------------------------------------------------------------- /src/components/ui/badge.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vercel-labs/oss-data-analyst/HEAD/src/components/ui/badge.tsx -------------------------------------------------------------------------------- /src/components/ui/breadcrumb.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vercel-labs/oss-data-analyst/HEAD/src/components/ui/breadcrumb.tsx -------------------------------------------------------------------------------- /src/components/ui/button-group.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vercel-labs/oss-data-analyst/HEAD/src/components/ui/button-group.tsx -------------------------------------------------------------------------------- /src/components/ui/button.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vercel-labs/oss-data-analyst/HEAD/src/components/ui/button.tsx -------------------------------------------------------------------------------- /src/components/ui/calendar.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vercel-labs/oss-data-analyst/HEAD/src/components/ui/calendar.tsx -------------------------------------------------------------------------------- /src/components/ui/card.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vercel-labs/oss-data-analyst/HEAD/src/components/ui/card.tsx -------------------------------------------------------------------------------- /src/components/ui/carousel.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vercel-labs/oss-data-analyst/HEAD/src/components/ui/carousel.tsx -------------------------------------------------------------------------------- /src/components/ui/chart.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vercel-labs/oss-data-analyst/HEAD/src/components/ui/chart.tsx -------------------------------------------------------------------------------- /src/components/ui/checkbox.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vercel-labs/oss-data-analyst/HEAD/src/components/ui/checkbox.tsx -------------------------------------------------------------------------------- /src/components/ui/collapsible.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vercel-labs/oss-data-analyst/HEAD/src/components/ui/collapsible.tsx -------------------------------------------------------------------------------- /src/components/ui/command.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vercel-labs/oss-data-analyst/HEAD/src/components/ui/command.tsx -------------------------------------------------------------------------------- /src/components/ui/context-menu.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vercel-labs/oss-data-analyst/HEAD/src/components/ui/context-menu.tsx -------------------------------------------------------------------------------- /src/components/ui/dialog.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vercel-labs/oss-data-analyst/HEAD/src/components/ui/dialog.tsx -------------------------------------------------------------------------------- /src/components/ui/drawer.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vercel-labs/oss-data-analyst/HEAD/src/components/ui/drawer.tsx -------------------------------------------------------------------------------- /src/components/ui/dropdown-menu.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vercel-labs/oss-data-analyst/HEAD/src/components/ui/dropdown-menu.tsx -------------------------------------------------------------------------------- /src/components/ui/empty.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vercel-labs/oss-data-analyst/HEAD/src/components/ui/empty.tsx -------------------------------------------------------------------------------- /src/components/ui/field.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vercel-labs/oss-data-analyst/HEAD/src/components/ui/field.tsx -------------------------------------------------------------------------------- /src/components/ui/form.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vercel-labs/oss-data-analyst/HEAD/src/components/ui/form.tsx -------------------------------------------------------------------------------- /src/components/ui/hover-card.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vercel-labs/oss-data-analyst/HEAD/src/components/ui/hover-card.tsx -------------------------------------------------------------------------------- /src/components/ui/input-group.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vercel-labs/oss-data-analyst/HEAD/src/components/ui/input-group.tsx -------------------------------------------------------------------------------- /src/components/ui/input-otp.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vercel-labs/oss-data-analyst/HEAD/src/components/ui/input-otp.tsx -------------------------------------------------------------------------------- /src/components/ui/input.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vercel-labs/oss-data-analyst/HEAD/src/components/ui/input.tsx -------------------------------------------------------------------------------- /src/components/ui/item.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vercel-labs/oss-data-analyst/HEAD/src/components/ui/item.tsx -------------------------------------------------------------------------------- /src/components/ui/kbd.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vercel-labs/oss-data-analyst/HEAD/src/components/ui/kbd.tsx -------------------------------------------------------------------------------- /src/components/ui/label.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vercel-labs/oss-data-analyst/HEAD/src/components/ui/label.tsx -------------------------------------------------------------------------------- /src/components/ui/menubar.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vercel-labs/oss-data-analyst/HEAD/src/components/ui/menubar.tsx -------------------------------------------------------------------------------- /src/components/ui/navigation-menu.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vercel-labs/oss-data-analyst/HEAD/src/components/ui/navigation-menu.tsx -------------------------------------------------------------------------------- /src/components/ui/popover.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vercel-labs/oss-data-analyst/HEAD/src/components/ui/popover.tsx -------------------------------------------------------------------------------- /src/components/ui/progress.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vercel-labs/oss-data-analyst/HEAD/src/components/ui/progress.tsx -------------------------------------------------------------------------------- /src/components/ui/radio-group.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vercel-labs/oss-data-analyst/HEAD/src/components/ui/radio-group.tsx -------------------------------------------------------------------------------- /src/components/ui/resizable.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vercel-labs/oss-data-analyst/HEAD/src/components/ui/resizable.tsx -------------------------------------------------------------------------------- /src/components/ui/scroll-area.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vercel-labs/oss-data-analyst/HEAD/src/components/ui/scroll-area.tsx -------------------------------------------------------------------------------- /src/components/ui/select.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vercel-labs/oss-data-analyst/HEAD/src/components/ui/select.tsx -------------------------------------------------------------------------------- /src/components/ui/separator.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vercel-labs/oss-data-analyst/HEAD/src/components/ui/separator.tsx -------------------------------------------------------------------------------- /src/components/ui/sheet.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vercel-labs/oss-data-analyst/HEAD/src/components/ui/sheet.tsx -------------------------------------------------------------------------------- /src/components/ui/sidebar.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vercel-labs/oss-data-analyst/HEAD/src/components/ui/sidebar.tsx -------------------------------------------------------------------------------- /src/components/ui/skeleton.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vercel-labs/oss-data-analyst/HEAD/src/components/ui/skeleton.tsx -------------------------------------------------------------------------------- /src/components/ui/slider.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vercel-labs/oss-data-analyst/HEAD/src/components/ui/slider.tsx -------------------------------------------------------------------------------- /src/components/ui/sonner.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vercel-labs/oss-data-analyst/HEAD/src/components/ui/sonner.tsx -------------------------------------------------------------------------------- /src/components/ui/spinner.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vercel-labs/oss-data-analyst/HEAD/src/components/ui/spinner.tsx -------------------------------------------------------------------------------- /src/components/ui/switch.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vercel-labs/oss-data-analyst/HEAD/src/components/ui/switch.tsx -------------------------------------------------------------------------------- /src/components/ui/table.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vercel-labs/oss-data-analyst/HEAD/src/components/ui/table.tsx -------------------------------------------------------------------------------- /src/components/ui/tabs.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vercel-labs/oss-data-analyst/HEAD/src/components/ui/tabs.tsx -------------------------------------------------------------------------------- /src/components/ui/textarea.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vercel-labs/oss-data-analyst/HEAD/src/components/ui/textarea.tsx -------------------------------------------------------------------------------- /src/components/ui/toggle-group.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vercel-labs/oss-data-analyst/HEAD/src/components/ui/toggle-group.tsx -------------------------------------------------------------------------------- /src/components/ui/toggle.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vercel-labs/oss-data-analyst/HEAD/src/components/ui/toggle.tsx -------------------------------------------------------------------------------- /src/components/ui/tooltip.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vercel-labs/oss-data-analyst/HEAD/src/components/ui/tooltip.tsx -------------------------------------------------------------------------------- /src/config/constants.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vercel-labs/oss-data-analyst/HEAD/src/config/constants.ts -------------------------------------------------------------------------------- /src/config/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vercel-labs/oss-data-analyst/HEAD/src/config/index.ts -------------------------------------------------------------------------------- /src/config/schema.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vercel-labs/oss-data-analyst/HEAD/src/config/schema.ts -------------------------------------------------------------------------------- /src/hooks/use-mobile.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vercel-labs/oss-data-analyst/HEAD/src/hooks/use-mobile.ts -------------------------------------------------------------------------------- /src/lib/agent.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vercel-labs/oss-data-analyst/HEAD/src/lib/agent.ts -------------------------------------------------------------------------------- /src/lib/execute/errors.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vercel-labs/oss-data-analyst/HEAD/src/lib/execute/errors.ts -------------------------------------------------------------------------------- /src/lib/execute/repair.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vercel-labs/oss-data-analyst/HEAD/src/lib/execute/repair.ts -------------------------------------------------------------------------------- /src/lib/fonts/Inter.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vercel-labs/oss-data-analyst/HEAD/src/lib/fonts/Inter.ttf -------------------------------------------------------------------------------- /src/lib/helpers.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vercel-labs/oss-data-analyst/HEAD/src/lib/helpers.ts -------------------------------------------------------------------------------- /src/lib/planning/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vercel-labs/oss-data-analyst/HEAD/src/lib/planning/types.ts -------------------------------------------------------------------------------- /src/lib/prompts/building.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vercel-labs/oss-data-analyst/HEAD/src/lib/prompts/building.ts -------------------------------------------------------------------------------- /src/lib/prompts/execution.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vercel-labs/oss-data-analyst/HEAD/src/lib/prompts/execution.ts -------------------------------------------------------------------------------- /src/lib/prompts/planning.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vercel-labs/oss-data-analyst/HEAD/src/lib/prompts/planning.ts -------------------------------------------------------------------------------- /src/lib/prompts/reporting.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vercel-labs/oss-data-analyst/HEAD/src/lib/prompts/reporting.ts -------------------------------------------------------------------------------- /src/lib/reporting/csv.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vercel-labs/oss-data-analyst/HEAD/src/lib/reporting/csv.ts -------------------------------------------------------------------------------- /src/lib/reporting/sanity.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vercel-labs/oss-data-analyst/HEAD/src/lib/reporting/sanity.ts -------------------------------------------------------------------------------- /src/lib/reporting/viz.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vercel-labs/oss-data-analyst/HEAD/src/lib/reporting/viz.ts -------------------------------------------------------------------------------- /src/lib/sample-queries.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vercel-labs/oss-data-analyst/HEAD/src/lib/sample-queries.ts -------------------------------------------------------------------------------- /src/lib/security/policy.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vercel-labs/oss-data-analyst/HEAD/src/lib/security/policy.ts -------------------------------------------------------------------------------- /src/lib/semantic/io.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vercel-labs/oss-data-analyst/HEAD/src/lib/semantic/io.ts -------------------------------------------------------------------------------- /src/lib/semantic/schemas.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vercel-labs/oss-data-analyst/HEAD/src/lib/semantic/schemas.ts -------------------------------------------------------------------------------- /src/lib/semantic/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vercel-labs/oss-data-analyst/HEAD/src/lib/semantic/types.ts -------------------------------------------------------------------------------- /src/lib/snowflake.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vercel-labs/oss-data-analyst/HEAD/src/lib/snowflake.ts -------------------------------------------------------------------------------- /src/lib/sql/join-types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vercel-labs/oss-data-analyst/HEAD/src/lib/sql/join-types.ts -------------------------------------------------------------------------------- /src/lib/sql/joins.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vercel-labs/oss-data-analyst/HEAD/src/lib/sql/joins.ts -------------------------------------------------------------------------------- /src/lib/sql/macros.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vercel-labs/oss-data-analyst/HEAD/src/lib/sql/macros.ts -------------------------------------------------------------------------------- /src/lib/sql/render.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vercel-labs/oss-data-analyst/HEAD/src/lib/sql/render.ts -------------------------------------------------------------------------------- /src/lib/sql/validate.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vercel-labs/oss-data-analyst/HEAD/src/lib/sql/validate.ts -------------------------------------------------------------------------------- /src/lib/sqlite.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vercel-labs/oss-data-analyst/HEAD/src/lib/sqlite.ts -------------------------------------------------------------------------------- /src/lib/tools/building-sqlite.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vercel-labs/oss-data-analyst/HEAD/src/lib/tools/building-sqlite.ts -------------------------------------------------------------------------------- /src/lib/tools/building.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vercel-labs/oss-data-analyst/HEAD/src/lib/tools/building.ts -------------------------------------------------------------------------------- /src/lib/tools/execute-sqlite.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vercel-labs/oss-data-analyst/HEAD/src/lib/tools/execute-sqlite.ts -------------------------------------------------------------------------------- /src/lib/tools/execute.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vercel-labs/oss-data-analyst/HEAD/src/lib/tools/execute.ts -------------------------------------------------------------------------------- /src/lib/tools/planning.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vercel-labs/oss-data-analyst/HEAD/src/lib/tools/planning.ts -------------------------------------------------------------------------------- /src/lib/tools/reporting.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vercel-labs/oss-data-analyst/HEAD/src/lib/tools/reporting.ts -------------------------------------------------------------------------------- /src/lib/tools/vegaToPng.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vercel-labs/oss-data-analyst/HEAD/src/lib/tools/vegaToPng.ts -------------------------------------------------------------------------------- /src/lib/utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vercel-labs/oss-data-analyst/HEAD/src/lib/utils.ts -------------------------------------------------------------------------------- /src/semantic/catalog.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vercel-labs/oss-data-analyst/HEAD/src/semantic/catalog.yml -------------------------------------------------------------------------------- /src/semantic/dimensions.json: -------------------------------------------------------------------------------- 1 | {} 2 | -------------------------------------------------------------------------------- /src/semantic/entities/Accounts.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vercel-labs/oss-data-analyst/HEAD/src/semantic/entities/Accounts.yml -------------------------------------------------------------------------------- /src/semantic/entities/Company.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vercel-labs/oss-data-analyst/HEAD/src/semantic/entities/Company.yml -------------------------------------------------------------------------------- /src/semantic/entities/People.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vercel-labs/oss-data-analyst/HEAD/src/semantic/entities/People.yml -------------------------------------------------------------------------------- /src/services/snowflake_client.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vercel-labs/oss-data-analyst/HEAD/src/services/snowflake_client.ts -------------------------------------------------------------------------------- /src/types/chat.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vercel-labs/oss-data-analyst/HEAD/src/types/chat.ts -------------------------------------------------------------------------------- /src/types/stream.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vercel-labs/oss-data-analyst/HEAD/src/types/stream.ts -------------------------------------------------------------------------------- /tailwind.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vercel-labs/oss-data-analyst/HEAD/tailwind.config.js -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vercel-labs/oss-data-analyst/HEAD/tsconfig.json -------------------------------------------------------------------------------- /vercel.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vercel-labs/oss-data-analyst/HEAD/vercel.json -------------------------------------------------------------------------------- /vitest.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vercel-labs/oss-data-analyst/HEAD/vitest.config.ts --------------------------------------------------------------------------------