A reactive notebook for Python — run reproducible experiments, query with SQL, execute as a script, deploy as an app, and version with git. Stored as pure Python. All in a modern, AI-native editor.
Python artificial-intelligencedagdata-sciencedata-visualizationdataflowdeveloper-toolsmachine-learningnotebookspipelinepythonreactivesqlweb-app
@marimo-team/llm-info package (#6005)
Myles Scolnick8ede23a2e6f3
diff --git a/Makefile b/Makefileindex baf8ca47d5..1feb0a44e3 100644--- a/Makefile+++ b/Makefile@@ -101,7 +101,7 @@ fe-typecheck:# 🔄 Generate frontend APIfe-codegen:uv run ./marimo development openapi > packages/openapi/api.yaml- pnpm run --filter @marimo-team/marimo-api codegen+ pnpm run codegenpnpm format packages/openapi/.PHONY: py-checkdiff --git a/frontend/.gitignore b/frontend/.gitignorenew file mode 100644index 0000000000..5c4ffa21fa--- /dev/null+++ b/frontend/.gitignore@@ -0,0 +1,2 @@+playwright-report/+test-results/diff --git a/frontend/package.json b/frontend/package.jsonindex 2acf05fe0a..b686cb09f9 100644--- a/frontend/package.json+++ b/frontend/package.json@@ -48,6 +48,7 @@"@marimo-team/codemirror-ai": "^0.1.11","@marimo-team/codemirror-languageserver": "^1.15.24","@marimo-team/codemirror-mcp": "^0.1.5",+ "@marimo-team/llm-info": "workspace:*","@marimo-team/marimo-api": "workspace:*","@marimo-team/react-slotz": "^0.2.0","@mui/material": "^6.4.12",diff --git a/frontend/src/components/ai/AiProviderIcon.tsx b/frontend/src/components/ai/AiProviderIcon.tsxnew file mode 100644index 0000000000..178920e871--- /dev/null+++ b/frontend/src/components/ai/AiProviderIcon.tsx@@ -0,0 +1,42 @@+/* Copyright 2024 Marimo. All rights reserved. */++import AnthropicIcon from "@marimo-team/llm-info/icons/anthropic.svg?inline";+import GoogleIcon from "@marimo-team/llm-info/icons/google.svg?inline";+import OllamaIcon from "@marimo-team/llm-info/icons/ollama.svg?inline";+import OpenAIIcon from "@marimo-team/llm-info/icons/openai.svg?inline";+import * as React from "react";+import { cn } from "@/utils/cn";++const icons = {+ openai: OpenAIIcon,+ anthropic: AnthropicIcon,+ google: GoogleIcon,+ ollama: OllamaIcon,+};++export interface AiProviderIconProps+ extends React.HTMLAttributes<HTMLImageElement> {+ provider: keyof typeof icons;+ className?: string;+}++export const AiProviderIcon: React.FC<AiProviderIconProps> = ({+ provider,+ className = "",+ ...props+}) => {+ const icon = icons[provider];++ if (!icon) {+ return null;+ }++ return (+ <img+ src={icon}+ alt={provider}+ className={cn("h-4 w-4", className)}+ {...props}+ />+ );+};diff --git a/frontend/src/components/app-config/user-config-form.tsx b/frontend/src/components/app-config/user-config-form.tsxindex a0e092f2eb..47207641e1 100644--- a/frontend/src/components/app-config/user-config-form.tsx+++ b/frontend/src/components/app-config/user-config-form.tsx@@ -47,6 +47,7 @@ import { Banner } from "@/plugins/impl/common/error-banner";import { THEMES } from "@/theme/useTheme";import { arrayToggle } from "@/utils/arrays";import { cn } from "@/utils/cn";+import { AiProviderIcon } from "../ai/AiProviderIcon";import { keyboardShortcutsAtom } from "../editor/controls/keyboard-shortcuts";import { Badge } from "../ui/badge";import { ExternalLink } from "../ui/links";@@ -1348,7 +1349,10 @@ export const UserConfigForm: React.FC = () => {render={({ field }) => (<div className="flex flex-col space-y-1"><FormItem className={formItemClasses}>- <FormLabel>OpenAI API Key</FormLabel>+ <FormLabel className="flex">+ <AiProviderIcon provider="openai" className="mr-2" />+ OpenAI API Key+ </FormLabel><FormControl><Inputdata-testid="ai-openai-api-key-input"@@ -1387,7 +1391,10 @@ export const UserConfigForm: React.FC = () => {render={({ field }) => (<div className="flex flex-col space-y-1"><FormItem className={formItemClasses}>- <FormLabel>Anthropic API Key</FormLabel>+ <FormLabel className="flex">+ <AiProviderIcon provider="anthropic" className="mr-2" />+ Anthropic API Key+ </FormLabel><FormControl><Inputdata-testid="ai-anthropic-api-key-input"@@ -1426,7 +1433,10 @@ export const UserConfigForm: React.FC = () => {render={({ field }) => (<div className="flex flex-col space-y-1"><FormItem className={formItemClasses}>- <FormLabel>Google AI API Key</FormLabel>+ <FormLabel className="flex">+ <AiProviderIcon provider="google" className="mr-2" />+ Google AI API Key+ </FormLabel><FormControl><Inputdata-testid="ai-google-api-key-input"diff --git a/frontend/src/core/codemirror/language/__tests__/extension.test.ts b/frontend/src/core/codemirror/language/__tests__/extension.test.tsindex 0bd9f2cbb2..5589547cb3 100644--- a/frontend/src/core/codemirror/language/__tests__/extension.test.ts+++ b/frontend/src/core/codemirror/language/__tests__/extension.test.ts@@ -1,4 +1,5 @@/* Copyright 2024 Marimo. All rights reserved. */+// @vitest-environment jsdomimport { EditorState } from "@codemirror/state";import { EditorView } from "@codemirror/view";diff --git a/packages/.gitignore b/packages/.gitignorenew file mode 100644index 0000000000..7517bdadf2--- /dev/null+++ b/packages/.gitignore@@ -0,0 +1,2 @@+tsconfig.tsbuildinfo+diff --git a/packages/llm-info/.gitignore b/packages/llm-info/.gitignorenew file mode 100644index 0000000000..edbdcd408f--- /dev/null+++ b/packages/llm-info/.gitignore@@ -0,0 +1 @@+data/generated/diff --git a/packages/llm-info/data/models.yml b/packages/llm-info/data/models.ymlnew file mode 100644index 0000000000..3037836ccf--- /dev/null+++ b/packages/llm-info/data/models.yml@@ -0,0 +1,303 @@+# Information provided by https://hub.continue.dev/++# Anthropic++- name: Claude 3.5 Haiku+ model: claude-3-5-haiku-latest+ description: Fast and efficient model with excellent performance for everyday tasks+ providers: [anthropic]+ roles: [chat, edit]+ thinking: false++- name: Claude 3.5 Sonnet+ model: claude-3-5-sonnet-latest+ description: Balanced model with strong performance across reasoning, math, and coding+ providers: [anthropic]+ roles: [chat, edit]+ thinking: false++- name: Claude 3.7 Sonnet+ model: claude-3-7-sonnet-latest+ description: Enhanced Sonnet model with improved capabilities+ providers: [anthropic]+ roles: [chat, edit]+ thinking: false++- name: Claude 4 Sonnet+ model: claude-sonnet-4-20250514+ description: Next-generation Sonnet model with advanced reasoning and multimodal capabilities+ providers: [anthropic]+ roles: [chat, edit]+ thinking: true++- name: Claude 4 Opus+ model: claude-opus-4-20250514+ description: Most capable model with superior performance on complex tasks and reasoning+ providers: [anthropic]+ roles: [chat, edit]+ thinking: true++- name: Claude 4.1 Opus+ model: claude-opus-4-1-20250805+ description: Latest Opus model with enhanced capabilities and performance improvements+ providers: [anthropic]+ roles: [chat, edit]+ thinking: true+++- name: Gemini 1.5 Flash+ model: gemini-1.5-flash+ description: Fast and efficient model optimized for speed and everyday tasks+ providers: [google]+ roles: [chat, edit]+ thinking: false++- name: Gemini 1.5 Flash 8B+ model: gemini-1.5-flash-8b+ description: Lightweight version of Gemini 1.5 Flash with 8 billion parameters+ providers: [google]+ roles: [chat, edit]+ thinking: false++- name: Gemini 1.5 Pro+ model: gemini-1.5-pro+ description: Advanced model with superior reasoning capabilities and large context window+ providers: [google]+ roles: [chat, edit]+ thinking: false++- name: Gemini 2.0 Flash+ model: gemini-2.0-flash+ description: Next-generation Flash model with improved performance and capabilities+ providers: [google]+ roles: [chat, edit]+ thinking: false++- name: Gemini 2.0 Flash Experimental+ model: gemini-2.0-flash-exp+ description: Experimental version of Gemini 2.0 Flash with cutting-edge features+ providers: [google]+ roles: [chat, edit]+ thinking: false++- name: Gemini 2.0 Flash Lite+ model: gemini-2.0-flash-lite+ description: Lightweight version of Gemini 2.0 Flash optimized for efficiency+ providers: [google]+ roles: [chat, edit]+ thinking: false++- name: Gemini 2.0 Flash Thinking+ model: gemini-2.0-flash-thinking-exp-01-21+ description: Specialized reasoning model with enhanced thinking capabilities+ providers: [google]+ roles: [chat]+ thinking: true++- name: Gemini 2.5 Flash Preview+ model: gemini-2.5-flash-preview+ description: Preview of the upcoming Gemini 2.5 Flash model+ providers: [google]+ roles: [chat, edit]+ thinking: false++- name: Gemini 2.5 Pro+ model: gemini-2.5-pro+ description: Most capable Gemini model with advanced reasoning and large context support+ providers: [google]+ roles: [chat, edit]+ thinking: false++- name: Gemini 2.5 Pro Experimental+ model: gemini-2.5-pro-exp+ description: Experimental version of Gemini 2.5 Pro with latest improvements+ providers: [google]+ roles: [chat, edit]+ thinking: false++# Bedrock++- name: Claude 3.5 Haiku (Bedrock)+ model: anthropic.claude-3-5-haiku-20241022-v1:0+ description: Fast and efficient model with excellent performance for everyday tasks+ providers: [bedrock]+ roles: [chat, edit]+ thinking: false++- name: Claude 3.5 Sonnet v2 (Bedrock)+ model: anthropic.claude-3-5-sonnet-20241022-v2:0+ description: Balanced model with strong performance across reasoning, math, and coding+ providers: [bedrock]+ roles: [chat, edit]+ thinking: false++- name: Claude 3.7 Sonnet (Bedrock)+ model: anthropic.claude-3-7-sonnet-20250219-v1:0+ description: Enhanced Sonnet model with improved capabilities+ providers: [bedrock]+ roles: [chat, edit]+ thinking: false++- name: Llama 3.3 70B Instruct+ model: meta.llama3-3-70b-instruct-v1:0+ description: Large language model optimized for instruction following and chat+ providers: [bedrock]+ roles: [chat, edit]+ thinking: false++- name: Cohere Embed Multilingual v3+ model: cohere.embed-multilingual-v3+ description: Multilingual text embedding model for semantic search and similarity+ providers: [bedrock]+ roles: [embed]+ thinking: false++- name: Cohere Rerank 3.5+ model: cohere.rerank-v3-5:0+ description: Advanced reranking model for improving search result relevance+ providers: [bedrock]+ roles: [rerank]+ thinking: false++# Ollama Models++- name: Llama 3.1 8B+ model: llama3.1:8b+ description: Meta's efficient 8B parameter model with excellent chat and coding capabilities+ providers: [ollama]+ roles: [chat, edit]+ thinking: false++- name: Llama 3.1 70B+ model: llama3.1:70b+ description: Large-scale Meta model with superior reasoning and complex task performance+ providers: [ollama]+ roles: [chat, edit]+ thinking: false++- name: Llama 3.3 70B+ model: llama3.3:70b+ description: Latest Llama model with enhanced capabilities and performance improvements+ providers: [ollama]+ roles: [chat, edit]+ thinking: false++- name: Mistral 7B+ model: mistral:7b+ description: Efficient 7B parameter model with strong performance for general tasks+ providers: [ollama]+ roles: [chat, edit]+ thinking: false++- name: Mixtral 8x7B+ model: mixtral:8x7b+ description: Mixture of experts model with 8x7B parameters for enhanced performance+ providers: [ollama]+ roles: [chat, edit]+ thinking: false++- name: Mixtral 8x22B+ model: mixtral:8x22b+ description: Large mixture of experts model with superior reasoning capabilities+ providers: [ollama]+ roles: [chat, edit]+ thinking: false++- name: Gemma 2 9B+ model: gemma2:9b+ description: Google's efficient 9B parameter model optimized for performance and safety+ providers: [ollama]+ roles: [chat, edit]+ thinking: false++- name: Gemma 2 27B+ model: gemma2:27b+ description: Larger Gemma model with enhanced capabilities for complex tasks+ providers: [ollama]+ roles: [chat, edit]+ thinking: false++- name: Qwen 2.5 7B+ model: qwen2.5:7b+ description: Alibaba's multilingual model with strong performance across diverse tasks+ providers: [ollama]+ roles: [chat, edit]+ thinking: false++- name: Qwen 2.5 14B+ model: qwen2.5:14b+ description: Mid-size Qwen model balancing performance and efficiency+ providers: [ollama]+ roles: [chat, edit]+ thinking: false++- name: Qwen 2.5 32B+ model: qwen2.5:32b+ description: Large Qwen model with excellent reasoning and multilingual capabilities+ providers: [ollama]+ roles: [chat, edit]+ thinking: false++- name: Qwen 2.5 72B+ model: qwen2.5:72b+ description: Flagship Qwen model with top-tier performance for complex reasoning tasks+ providers: [ollama]+ roles: [chat, edit]+ thinking: false++- name: DeepSeek R1 8B+ model: deepseek-r1:8b+ description: Efficient reasoning model with strong analytical capabilities+ providers: [ollama]+ roles: [chat, edit]+ thinking: true++- name: DeepSeek R1 32B+ model: deepseek-r1:32b+ description: Advanced reasoning model with enhanced problem-solving abilities+ providers: [ollama]+ roles: [chat, edit]+ thinking: true++- name: DeepSeek R1 70B+ model: deepseek-r1:70b+ description: Flagship reasoning model with superior analytical and thinking capabilities+ providers: [ollama]+ roles: [chat, edit]+ thinking: true++- name: CodeLlama 34B+ model: codellama:34b+ description: Meta's specialized code generation model with strong programming capabilities+ providers: [ollama]+ roles: [chat, edit]+ thinking: false++- name: DeepSeek Coder 33B+ model: deepseek-coder:33b+ description: Specialized coding model with excellent programming and software development skills+ providers: [ollama]+ roles: [chat, edit]+ thinking: false++- name: Qwen 2.5 Coder 7B+ model: qwen2.5-coder:7b+ description: Code-optimized version of Qwen 2.5 for programming tasks+ providers: [ollama]+ roles: [chat, edit]+ thinking: false++- name: Phi-4 14B+ model: phi4:14b+ description: Microsoft's compact yet capable model optimized for reasoning tasks+ providers: [ollama]+ roles: [chat, edit]+ thinking: false++- name: TinyLlama 1.1B+ model: tinyllama:1.1b+ description: Ultra-lightweight model for resource-constrained environments+ providers: [ollama]+ roles: [chat]+ thinking: falsediff --git a/packages/llm-info/data/providers.yml b/packages/llm-info/data/providers.ymlnew file mode 100644index 0000000000..725432113a--- /dev/null+++ b/packages/llm-info/data/providers.yml@@ -0,0 +1,29 @@+- name: OpenAI+ id: openai+ description: OpenAI's API for GPT models, including GPT-3.5 and GPT-4.+ url: https://platform.openai.com/++- name: Amazon Bedrock+ id: bedrock+ description: Amazon Bedrock provides access to foundation models from Amazon and leading AI startups via a unified API.+ url: https://aws.amazon.com/bedrock/++- name: Azure+ id: azure+ description: Azure provides access to models via the Azure cloud.+ url: https://azure.microsoft.com/en-us/products/ai-services/++- name: Anthropic+ id: anthropic+ description: Anthropic's Claude models for conversational and completion tasks.+ url: https://www.anthropic.com/++- name: Google AI+ id: google+ description: Google's Vertex AI and PaLM APIs for generative and conversational models.+ url: https://cloud.google.com/vertex-ai/docs/generative-ai/learn/overview++- name: Ollama+ id: ollama+ description: Ollama is a lightweight, open-source model server for running and sharing LLMs.+ url: https://ollama.ai/diff --git a/packages/llm-info/icons/anthropic.svg b/packages/llm-info/icons/anthropic.svgnew file mode 100644index 0000000000..c917480d32--- /dev/null+++ b/packages/llm-info/icons/anthropic.svg@@ -0,0 +1 @@+<svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>Anthropic</title><path d="M17.3041 3.541h-3.6718l6.696 16.918H24Zm-10.6082 0L0 20.459h3.7442l1.3693-3.5527h7.0052l1.3693 3.5528h3.7442L10.5363 3.5409Zm-.3712 10.2232 2.2914-5.9456 2.2914 5.9456Z"/></svg>\ No newline at end of filediff --git a/packages/llm-info/icons/google.svg b/packages/llm-info/icons/google.svgnew file mode 100644index 0000000000..2eaf915543--- /dev/null+++ b/packages/llm-info/icons/google.svg@@ -0,0 +1 @@+<svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>Google</title><path d="M12.48 10.92v3.28h7.84c-.24 1.84-.853 3.187-1.787 4.133-1.147 1.147-2.933 2.4-6.053 2.4-4.827 0-8.6-3.893-8.6-8.72s3.773-8.72 8.6-8.72c2.6 0 4.507 1.027 5.907 2.347l2.307-2.307C18.747 1.44 16.133 0 12.48 0 5.867 0 .307 5.387.307 12s5.56 12 12.173 12c3.573 0 6.267-1.173 8.373-3.36 2.16-2.16 2.84-5.213 2.84-7.667 0-.76-.053-1.467-.173-2.053H12.48z"/></svg>\ No newline at end of filediff --git a/packages/llm-info/icons/googlegemini.svg b/packages/llm-info/icons/googlegemini.svgnew file mode 100644index 0000000000..765adb0887--- /dev/null+++ b/packages/llm-info/icons/googlegemini.svg@@ -0,0 +1 @@+<svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>Google Gemini</title><path d="M11.04 19.32Q12 21.51 12 24q0-2.49.93-4.68.96-2.19 2.58-3.81t3.81-2.55Q21.51 12 24 12q-2.49 0-4.68-.93a12.3 12.3 0 0 1-3.81-2.58 12.3 12.3 0 0 1-2.58-3.81Q12 2.49 12 0q0 2.49-.96 4.68-.93 2.19-2.55 3.81a12.3 12.3 0 0 1-3.81 2.58Q2.49 12 0 12q2.49 0 4.68.96 2.19.93 3.81 2.55t2.55 3.81"/></svg>\ No newline at end of filediff --git a/packages/llm-info/icons/ollama.svg b/packages/llm-info/icons/ollama.svgnew file mode 100644index 0000000000..bc368e99c5--- /dev/null+++ b/packages/llm-info/icons/ollama.svg@@ -0,0 +1 @@+<svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>Ollama</title><path d="M16.361 10.26a.894.894 0 0 0-.558.47l-.072.148.001.207c0 .193.004.217.059.353.076.193.152.312.291.448.24.238.51.3.872.205a.86.86 0 0 0 .517-.436.752.752 0 0 0 .08-.498c-.064-.453-.33-.782-.724-.897a1.06 1.06 0 0 0-.466 0zm-9.203.005c-.305.096-.533.32-.65.639a1.187 1.187 0 0 0-.06.52c.057.309.31.59.598.667.362.095.632.033.872-.205.14-.136.215-.255.291-.448.055-.136.059-.16.059-.353l.001-.207-.072-.148a.894.894 0 0 0-.565-.472 1.02 1.02 0 0 0-.474.007Zm4.184 2c-.131.071-.223.25-.195.383.031.143.157.288.353.407.105.063.112.072.117.136.004.038-.01.146-.029.243-.02.094-.036.194-.036.222.002.074.07.195.143.253.064.052.076.054.255.059.164.005.198.001.264-.03.169-.082.212-.234.15-.525-.052-.243-.042-.28.087-.355.137-.08.281-.219.324-.314a.365.365 0 0 0-.175-.48.394.394 0 0 0-.181-.033c-.126 0-.207.03-.355.124l-.085.053-.053-.032c-.219-.13-.259-.145-.391-.143a.396.396 0 0 0-.193.032zm.39-2.195c-.373.036-.475.05-.654.086-.291.06-.68.195-.951.328-.94.46-1.589 1.226-1.787 2.114-.04.176-.045.234-.045.53 0 .294.005.357.043.524.264 1.16 1.332 2.017 2.714 2.173.3.033 1.596.033 1.896 0 1.11-.125 2.064-.727 2.493-1.571.114-.226.169-.372.22-.602.039-.167.044-.23.044-.523 0-.297-.005-.355-.045-.531-.288-1.29-1.539-2.304-3.072-2.497a6.873 6.873 0 0 0-.855-.031zm.645.937a3.283 3.283 0 0 1 1.44.514c.223.148.537.458.671.662.166.251.26.508.303.82.02.143.01.251-.043.482-.08.345-.332.705-.672.957a3.115 3.115 0 0 1-.689.348c-.382.122-.632.144-1.525.138-.582-.006-.686-.01-.853-.042-.57-.107-1.022-.334-1.35-.68-.264-.28-.385-.535-.45-.946-.03-.192.025-.509.137-.776.136-.326.488-.73.836-.963.403-.269.934-.46 1.422-.512.187-.02.586-.02.773-.002zm-5.503-11a1.653 1.653 0 0 0-.683.298C5.617.74 5.173 1.666 4.985 2.819c-.07.436-.119 1.04-.119 1.503 0 .544.064 1.24.155 1.721.02.107.031.202.023.208a8.12 8.12 0 0 1-.187.152 5.324 5.324 0 0 0-.949 1.02 5.49 5.49 0 0 0-.94 2.339 6.625 6.625 0 0 0-.023 1.357c.091.78.325 1.438.727 2.04l.13.195-.037.064c-.269.452-.498 1.105-.605 1.732-.084.496-.095.629-.095 1.294 0 .67.009.803.088 1.266.095.555.288 1.143.503 1.534.071.128.243.393.264.407.007.003-.014.067-.046.141a7.405 7.405 0 0 0-.548 1.873c-.062.417-.071.552-.071.991 0 .56.031.832.148 1.279L3.42 24h1.478l-.05-.091c-.297-.552-.325-1.575-.068-2.597.117-.472.25-.819.498-1.296l.148-.29v-.177c0-.165-.003-.184-.057-.293a.915.915 0 0 0-.194-.25 1.74 1.74 0 0 1-.385-.543c-.424-.92-.506-2.286-.208-3.451.124-.486.329-.918.544-1.154a.787.787 0 0 0 .223-.531c0-.195-.07-.355-.224-.522a3.136 3.136 0 0 1-.817-1.729c-.14-.96.114-2.005.69-2.834.563-.814 1.353-1.336 2.237-1.475.199-.033.57-.028.776.01.226.04.367.028.512-.041.179-.085.268-.19.374-.431.093-.215.165-.333.36-.576.234-.29.46-.489.822-.729.413-.27.884-.467 1.352-.561.17-.035.25-.04.569-.04.319 0 .398.005.569.04a4.07 4.07 0 0 1 1.914.997c.117.109.398.457.488.602.034.057.095.177.132.267.105.241.195.346.374.43.14.068.286.082.503.045.343-.058.607-.053.943.016 1.144.23 2.14 1.173 2.581 2.437.385 1.108.276 2.267-.296 3.153-.097.15-.193.27-.333.419-.301.322-.301.722-.001 1.053.493.539.801 1.866.708 3.036-.062.772-.26 1.463-.533 1.854a2.096 2.096 0 0 1-.224.258.916.916 0 0 0-.194.25c-.054.109-.057.128-.057.293v.178l.148.29c.248.476.38.823.498 1.295.253 1.008.231 2.01-.059 2.581a.845.845 0 0 0-.044.098c0 .006.329.009.732.009h.73l.02-.074.036-.134c.019-.076.057-.3.088-.516.029-.217.029-1.016 0-1.258-.11-.875-.295-1.57-.597-2.226-.032-.074-.053-.138-.046-.141.008-.005.057-.074.108-.152.376-.569.607-1.284.724-2.228.031-.26.031-1.378 0-1.628-.083-.645-.182-1.082-.348-1.525a6.083 6.083 0 0 0-.329-.7l-.038-.064.131-.194c.402-.604.636-1.262.727-2.04a6.625 6.625 0 0 0-.024-1.358 5.512 5.512 0 0 0-.939-2.339 5.325 5.325 0 0 0-.95-1.02 8.097 8.097 0 0 1-.186-.152.692.692 0 0 1 .023-.208c.208-1.087.201-2.443-.017-3.503-.19-.924-.535-1.658-.98-2.082-.354-.338-.716-.482-1.15-.455-.996.059-1.8 1.205-2.116 3.01a6.805 6.805 0 0 0-.097.726c0 .036-.007.066-.015.066a.96.96 0 0 1-.149-.078A4.857 4.857 0 0 0 12 3.03c-.832 0-1.687.243-2.456.698a.958.958 0 0 1-.148.078c-.008 0-.015-.03-.015-.066a6.71 6.71 0 0 0-.097-.725C8.997 1.392 8.337.319 7.46.048a2.096 2.096 0 0 0-.585-.041Zm.293 1.402c.248.197.523.759.682 1.388.03.113.06.244.069.292.007.047.026.152.041.233.067.365.098.76.102 1.24l.002.475-.12.175-.118.178h-.278c-.324 0-.646.041-.954.124l-.238.06c-.033.007-.038-.003-.057-.144a8.438 8.438 0 0 1 .016-2.323c.124-.788.413-1.501.696-1.711.067-.05.079-.049.157.013zm9.825-.012c.17.126.358.46.498.888.28.854.36 2.028.212 3.145-.019.14-.024.151-.057.144l-.238-.06a3.693 3.693 0 0 0-.954-.124h-.278l-.119-.178-.119-.175.002-.474c.004-.669.066-1.19.214-1.772.157-.623.434-1.185.68-1.382.078-.062.09-.063.159-.012z"/></svg>\ No newline at end of filediff --git a/packages/llm-info/icons/openai.svg b/packages/llm-info/icons/openai.svgnew file mode 100644index 0000000000..ebbdab0ecf--- /dev/null+++ b/packages/llm-info/icons/openai.svg@@ -0,0 +1 @@+<svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>OpenAI</title><path d="M22.2819 9.8211a5.9847 5.9847 0 0 0-.5157-4.9108 6.0462 6.0462 0 0 0-6.5098-2.9A6.0651 6.0651 0 0 0 4.9807 4.1818a5.9847 5.9847 0 0 0-3.9977 2.9 6.0462 6.0462 0 0 0 .7427 7.0966 5.98 5.98 0 0 0 .511 4.9107 6.051 6.051 0 0 0 6.5146 2.9001A5.9847 5.9847 0 0 0 13.2599 24a6.0557 6.0557 0 0 0 5.7718-4.2058 5.9894 5.9894 0 0 0 3.9977-2.9001 6.0557 6.0557 0 0 0-.7475-7.0729zm-9.022 12.6081a4.4755 4.4755 0 0 1-2.8764-1.0408l.1419-.0804 4.7783-2.7582a.7948.7948 0 0 0 .3927-.6813v-6.7369l2.02 1.1686a.071.071 0 0 1 .038.052v5.5826a4.504 4.504 0 0 1-4.4945 4.4944zm-9.6607-4.1254a4.4708 4.4708 0 0 1-.5346-3.0137l.142.0852 4.783 2.7582a.7712.7712 0 0 0 .7806 0l5.8428-3.3685v2.3324a.0804.0804 0 0 1-.0332.0615L9.74 19.9502a4.4992 4.4992 0 0 1-6.1408-1.6464zM2.3408 7.8956a4.485 4.485 0 0 1 2.3655-1.9728V11.6a.7664.7664 0 0 0 .3879.6765l5.8144 3.3543-2.0201 1.1685a.0757.0757 0 0 1-.071 0l-4.8303-2.7865A4.504 4.504 0 0 1 2.3408 7.872zm16.5963 3.8558L13.1038 8.364 15.1192 7.2a.0757.0757 0 0 1 .071 0l4.8303 2.7913a4.4944 4.4944 0 0 1-.6765 8.1042v-5.6772a.79.79 0 0 0-.407-.667zm2.0107-3.0231l-.142-.0852-4.7735-2.7818a.7759.7759 0 0 0-.7854 0L9.409 9.2297V6.8974a.0662.0662 0 0 1 .0284-.0615l4.8303-2.7866a4.4992 4.4992 0 0 1 6.6802 4.66zM8.3065 12.863l-2.02-1.1638a.0804.0804 0 0 1-.038-.0567V6.0742a4.4992 4.4992 0 0 1 7.3757-3.4537l-.142.0805L8.704 5.459a.7948.7948 0 0 0-.3927.6813zm1.0976-2.3654l2.602-1.4998 2.6069 1.4998v2.9994l-2.5974 1.4997-2.6067-1.4997Z"/></svg>\ No newline at end of filediff --git a/packages/llm-info/package.json b/packages/llm-info/package.jsonnew file mode 100644index 0000000000..5d072987b8--- /dev/null+++ b/packages/llm-info/package.json@@ -0,0 +1,24 @@+{+ "name": "@marimo-team/llm-info",+ "version": "0.1.0",+ "private": true,+ "type": "module",+ "sideEffects": false,+ "exports": {+ ".": "./src/index.ts",+ "./icons/*": "./icons/*",+ "./models.json": "./data/generated/models.json",+ "./providers.json": "./data/generated/providers.json"+ },+ "scripts": {+ "codegen": "node --experimental-transform-types src/generate.ts",+ "test": "vitest",+ "build": "echo 'No build step'"+ },+ "devDependencies": {+ "@marimo-team/tsconfig": "workspace:*",+ "yaml": "^2.8.1",+ "vitest": "^3.2.4",+ "zod": "^3.25.67"+ }+}diff --git a/packages/llm-info/src/__tests__/schema.test.ts b/packages/llm-info/src/__tests__/schema.test.tsnew file mode 100644index 0000000000..24fc82d8b4--- /dev/null+++ b/packages/llm-info/src/__tests__/schema.test.ts@@ -0,0 +1,109 @@+import { readFileSync } from "node:fs";+import { join } from "node:path";+import { describe, expect, it } from "vitest";+import { parse } from "yaml";+import { LLMInfoSchema, ProviderSchema } from "../generate";++describe("LLMInfoSchema", () => {+ it("should validate a valid LLM info object", () => {+ const validModel = {+ name: "Test Model",+ model: "test-model-v1",+ description: "A test model for validation",+ providers: ["test-provider"],+ roles: ["chat", "edit"],+ thinking: true,+ };++ expect(() => LLMInfoSchema.parse(validModel)).not.toThrow();+ const result = LLMInfoSchema.parse(validModel);+ expect(result).toEqual(validModel);+ });++ it("should set thinking to false by default", () => {+ const modelWithoutThinking = {+ name: "Test Model",+ model: "test-model-v1",+ description: "A test model for validation",+ providers: ["test-provider"],+ roles: ["chat"],+ };++ const result = LLMInfoSchema.parse(modelWithoutThinking);+ expect(result.thinking).toBe(false);+ });++ it("should reject invalid roles", () => {+ const invalidModel = {+ name: "Test Model",+ model: "test-model-v1",+ description: "A test model for validation",+ providers: ["test-provider"],+ roles: ["invalid-role"],+ thinking: false,+ };++ expect(() => LLMInfoSchema.parse(invalidModel)).toThrow();+ });++ it("should require all mandatory fields", () => {+ const incompleteModel = {+ name: "Test Model",+ model: "test-model-v1",+ };++ expect(() => LLMInfoSchema.parse(incompleteModel)).toThrow();+ });+});++describe("ProviderSchema", () => {+ it("should validate a valid provider object", () => {+ const validProvider = {+ name: "Test Provider",+ id: "test-provider",+ description: "A test provider for validation",+ url: "https://example.com",+ };++ expect(() => ProviderSchema.parse(validProvider)).not.toThrow();+ const result = ProviderSchema.parse(validProvider);+ expect(result).toEqual(validProvider);+ });++ it("should reject invalid URLs", () => {+ const invalidProvider = {+ name: "Test Provider",+ id: "test-provider",+ description: "A test provider for validation",+ url: "not-a-valid-url",+ };++ expect(() => ProviderSchema.parse(invalidProvider)).toThrow();+ });++ it("should require all fields", () => {+ const incompleteProvider = {+ name: "Test Provider",+ id: "test-provider",+ };++ expect(() => ProviderSchema.parse(incompleteProvider)).toThrow();+ });+});++describe("Data Validation", () => {+ it("should validate all models in data/models.yml", () => {+ const modelsPath = join(__dirname, "../../data/models.yml");+ const modelsYaml = readFileSync(modelsPath, "utf-8");+ const models = parse(modelsYaml);++ expect(Array.isArray(models)).toBe(true);+ expect(models.length).toBeGreaterThan(0);++ models.forEach((model: any, index: number) => {+ expect(() => LLMInfoSchema.parse(model)).not.toThrow(+ `Model at index ${index} failed validation: ${JSON.stringify(model)}`,+ );+ });+ });+});diff --git a/packages/llm-info/src/generate.ts b/packages/llm-info/src/generate.tsnew file mode 100644index 0000000000..c833956cb5--- /dev/null+++ b/packages/llm-info/src/generate.ts@@ -0,0 +1,116 @@+#!/usr/bin/env node++import { mkdirSync, readFileSync, writeFileSync } from "node:fs";+import { dirname, join } from "node:path";+import { fileURLToPath } from "node:url";+import { parse } from "yaml";+import { z } from "zod";++export const LLMInfoSchema = z.object({+ name: z.string(),+ model: z.string(),+ description: z.string(),+ providers: z.array(z.string()),+ roles: z.array(z.enum(["chat", "edit", "embed", "rerank"])),+ thinking: z.boolean().default(false),+});++export const ProviderSchema = z.object({+ name: z.string(),+ id: z.string(),+ description: z.string(),+ url: z.string().url(),+});++const __filename = fileURLToPath(import.meta.url);+const __dirname = dirname(__filename);++function ensureDirectoryExists(filePath: string): void {+ const dir = dirname(filePath);+ try {+ mkdirSync(dir, { recursive: true });+ } catch (error) {+ // Directory might already exist, that's okay+ }+}++function loadAndValidateModels(yamlPath: string): any[] {+ const yamlContent = readFileSync(yamlPath, "utf-8");+ const models = parse(yamlContent);++ if (!Array.isArray(models)) {+ throw new Error("Models YAML file must contain an array");+ }++ // Validate each model against the schema+ const validatedModels = models.map((model, index) => {+ try {+ return LLMInfoSchema.parse(model);+ } catch (error) {+ console.error(`Validation failed for model at index ${index}:`, error);+ throw new Error(+ `Model validation failed at index ${index}: ${JSON.stringify(model, null, 2)}`,+ );+ }+ });++ return validatedModels;+}++function loadAndValidateProviders(yamlPath: string): any[] {+ const yamlContent = readFileSync(yamlPath, "utf-8");+ const providers = parse(yamlContent);++ if (!Array.isArray(providers)) {+ throw new Error("Providers YAML file must contain an array");+ }++ // Validate each provider against the schema+ const validatedProviders = providers.map((provider, index) => {+ try {+ return ProviderSchema.parse(provider);+ } catch (error) {+ console.error(`Validation failed for provider at index ${index}:`, error);+ throw new Error(+ `Provider validation failed at index ${index}: ${JSON.stringify(provider, null, 2)}`,+ );+ }+ });++ return validatedProviders;+}++function writeJsonFile(filePath: string, data: any): void {+ ensureDirectoryExists(filePath);+ writeFileSync(filePath, JSON.stringify(data, null, 2));+}++async function main(): Promise<void> {+ try {+ // Define paths+ const dataDir = join(__dirname, "../data");+ const generatedDir = join(dataDir, "generated");+ const modelsYamlPath = join(dataDir, "models.yml");+ const providersYamlPath = join(dataDir, "providers.yml");+ const modelsJsonPath = join(generatedDir, "models.json");+ const providersJsonPath = join(generatedDir, "providers.json");++ // Load and validate models+ const models = loadAndValidateModels(modelsYamlPath);+ writeJsonFile(modelsJsonPath, models);++ // Load and validate providers+ const providers = loadAndValidateProviders(providersYamlPath);+ writeJsonFile(providersJsonPath, providers);++ console.log(+ `Generated ${models.length} models and ${providers.length} providers`,+ );+ } catch (error) {+ console.error("Generation failed:", error);+ process.exit(1);+ }+}++// Run the script+main().catch(console.error);diff --git a/packages/llm-info/src/index.ts b/packages/llm-info/src/index.tsnew file mode 100644index 0000000000..0a95af567d--- /dev/null+++ b/packages/llm-info/src/index.ts@@ -0,0 +1,15 @@+export interface AiModel {+ name: string;+ model: string;+ description: string;+ providers: string[];+ roles: string[];+ thinking: boolean;+}++export interface AiProvider {+ name: string;+ id: string;+ description: string;+ url: string;+}diff --git a/packages/llm-info/tsconfig.json b/packages/llm-info/tsconfig.jsonnew file mode 100644index 0000000000..e7cb22ba18--- /dev/null+++ b/packages/llm-info/tsconfig.json@@ -0,0 +1,7 @@+{+ "extends": "@marimo-team/tsconfig/library.json",+ "compilerOptions": {+ "outDir": "./dist",+ "rootDir": "./src"+ }+}diff --git a/packages/ts-config/README.md b/packages/ts-config/README.mdnew file mode 100644index 0000000000..2f38fa5070--- /dev/null+++ b/packages/ts-config/README.md@@ -0,0 +1,3 @@+# `@marimo-team/tsconfig`++Shared `tsconfig.json`s.diff --git a/packages/ts-config/base.json b/packages/ts-config/base.jsonnew file mode 100644index 0000000000..10f8fe60c3--- /dev/null+++ b/packages/ts-config/base.json@@ -0,0 +1,32 @@+{+ "$schema": "https://json.schemastore.org/tsconfig",+ "display": "Base",+ "compilerOptions": {+ "allowSyntheticDefaultImports": true,+ "composite": false,+ "esModuleInterop": true,+ "experimentalDecorators": true,+ "forceConsistentCasingInFileNames": true,+ "incremental": true,+ "inlineSources": false,+ "isolatedModules": true,+ "lib": ["ESNext"],+ "module": "ESNext",+ "moduleResolution": "Bundler",+ "noFallthroughCasesInSwitch": true,+ "noImplicitAny": true,+ "noImplicitOverride": true,+ "noImplicitReturns": true,+ "noImplicitThis": false,+ "noPropertyAccessFromIndexSignature": true,+ "noUncheckedIndexedAccess": false,+ "noUnusedLocals": false,+ "noUnusedParameters": false,+ "resolveJsonModule": true,+ "skipLibCheck": true,+ "strict": true,+ "target": "ESNext",+ "types": ["@marimo-team/tsconfig/ts-reset"]+ },+ "exclude": ["node_modules"]+}diff --git a/packages/ts-config/library.json b/packages/ts-config/library.jsonnew file mode 100644index 0000000000..bf84701e92--- /dev/null+++ b/packages/ts-config/library.json@@ -0,0 +1,10 @@+{+ "$schema": "https://json.schemastore.org/tsconfig",+ "display": "Library",+ "extends": "./base.json",+ "compilerOptions": {+ "declaration": true,+ "declarationMap": true,+ "composite": true+ }+}diff --git a/packages/ts-config/package.json b/packages/ts-config/package.jsonnew file mode 100644index 0000000000..d9d68a2db9--- /dev/null+++ b/packages/ts-config/package.json@@ -0,0 +1,10 @@+{+ "name": "@marimo-team/tsconfig",+ "version": "0.1.0",+ "private": true,+ "files": [+ "base.json",+ "library.json",+ "ts-reset.d.ts"+ ]+}diff --git a/packages/ts-config/ts-reset.d.ts b/packages/ts-config/ts-reset.d.tsnew file mode 100644index 0000000000..304c170a3c--- /dev/null+++ b/packages/ts-config/ts-reset.d.ts@@ -0,0 +1,30 @@+interface Body {+ json<T = unknown>(): Promise<T>;+}++interface JSON {+ parse(+ text: string,+ reviver?: (this: any, key: string, value: any) => any,+ ): unknown;+}++interface Array<T> {+ filter(predicate: BooleanConstructor): Array<NonNullable<T>>;+}++interface String {+ /**+ * Split a string into substrings using the specified separator and return them as an array.+ * @param splitter An object that can split a string.+ * @param limit A value used to limit the number of elements returned in the array.+ */+ split<T extends string | undefined = string | undefined>(+ splitter: { [Symbol.split](string: string, limit?: number): string[] },+ limit?: number,+ ): T[];+ split<T extends string | undefined = string | undefined>(+ splitter: string,+ limit?: number,+ ): T[];+}diff --git a/pnpm-lock.yaml b/pnpm-lock.yamlindex 071ab852e8..a0aeb9dc4f 100644--- a/pnpm-lock.yaml+++ b/pnpm-lock.yaml@@ -27,7 +27,7 @@ importers:version: 5.8.3vitest:specifier: ^3.2.4- version: 3.2.4(@types/[email protected])(@types/[email protected])([email protected])([email protected])([email protected])([email protected](@types/[email protected])([email protected]))([email protected])([email protected])+ version: 3.2.4(@types/[email protected])(@types/[email protected])([email protected])([email protected])([email protected])([email protected](@types/[email protected])([email protected]))([email protected])([email protected])frontend:dependencies:@@ -136,6 +136,9 @@ importers:'@marimo-team/codemirror-mcp':specifier: ^0.1.5version: 0.1.5(@codemirror/[email protected])(@codemirror/[email protected])(@codemirror/[email protected])(@modelcontextprotocol/[email protected])+ '@marimo-team/llm-info':+ specifier: workspace:*+ version: link:../packages/llm-info'@marimo-team/marimo-api':specifier: workspace:*version: link:../packages/openapi@@ -481,7 +484,7 @@ importers:version: 2.0.6'@codecov/vite-plugin':specifier: ^1.9.1- version: 1.9.1([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))+ version: 1.9.1([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))'@csstools/postcss-light-dark-function':specifier: ^2.0.9version: 2.0.9([email protected])@@ -496,7 +499,7 @@ importers:'@storybook/react-vite':specifier: ^9.0.18- version: 9.0.18([email protected]([email protected]))([email protected])([email protected])([email protected](@testing-library/[email protected]))([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))+ version: 9.0.18([email protected]([email protected]))([email protected])([email protected])([email protected](@testing-library/[email protected]))([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))'@swc-jotai/react-refresh':specifier: ^0.3.0version: 0.3.0@@ -535,10 +538,10 @@ importers:version: 7.18.0([email protected])([email protected])'@vitejs/plugin-react':specifier: ^4.7.0- version: 4.7.0([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))+ version: 4.7.0([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))'@vitejs/plugin-react-swc':specifier: ^3.11.0- version: 3.11.0(@swc/[email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))+ version: 3.11.0(@swc/[email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))babel-plugin-react-compiler:specifier: 19.1.0-rc.2version: 19.1.0-rc.2@@ -571,7 +574,7 @@ importers:version: 54.0.0([email protected])eslint-plugin-vitest:specifier: ^0.4.1- version: 0.4.1(@typescript-eslint/[email protected](@typescript-eslint/[email protected]([email protected])([email protected]))([email protected])([email protected]))([email protected])([email protected])([email protected](@types/[email protected])(@types/[email protected])([email protected])([email protected])([email protected])([email protected](@types/[email protected])([email protected]))([email protected])([email protected]))+ version: 0.4.1(@typescript-eslint/[email protected](@typescript-eslint/[email protected]([email protected])([email protected]))([email protected])([email protected]))([email protected])([email protected])([email protected](@types/[email protected])(@types/[email protected])([email protected])([email protected])([email protected])([email protected](@types/[email protected])([email protected]))([email protected])([email protected]))jsdom:specifier: ^24.1.3version: 24.1.3@@ -610,19 +613,34 @@ importers:version: 4.1.11vite:specifier: ^6.3.5- version: 6.3.5(@types/[email protected])([email protected])([email protected])([email protected])([email protected])+ version: 6.3.5(@types/[email protected])([email protected])([email protected])([email protected])([email protected])vite-plugin-top-level-await:specifier: ^1.6.0- version: 1.6.0(@swc/[email protected])([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))+ version: 1.6.0(@swc/[email protected])([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))vite-plugin-wasm:specifier: ^3.5.0- version: 3.5.0([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))+ version: 3.5.0([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))vite-tsconfig-paths:specifier: ^5.1.4- version: 5.1.4([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))+ version: 5.1.4([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))+ vitest:+ specifier: ^3.2.4+ version: 3.2.4(@types/[email protected])(@types/[email protected])([email protected])([email protected])([email protected])([email protected](@types/[email protected])([email protected]))([email protected])([email protected])++ packages/llm-info:+ devDependencies:+ '@marimo-team/tsconfig':+ specifier: workspace:*+ version: link:../ts-configvitest:specifier: ^3.2.4- version: 3.2.4(@types/[email protected])(@types/[email protected])([email protected])([email protected])([email protected])([email protected](@types/[email protected])([email protected]))([email protected])([email protected])+ version: 3.2.4(@types/[email protected])(@types/[email protected])([email protected])([email protected])([email protected])([email protected](@types/[email protected])([email protected]))([email protected])([email protected])+ yaml:+ specifier: ^2.8.1+ version: 2.8.1+ zod:+ specifier: ^3.25.67+ version: 3.25.76packages/lsp:dependencies:@@ -653,13 +671,13 @@ importers:version: 1.2.8tsup:specifier: ^8.5.0- version: 8.5.0(@swc/[email protected](@swc/[email protected]))([email protected])([email protected])([email protected])([email protected])+ version: 8.5.0(@swc/[email protected](@swc/[email protected]))([email protected])([email protected])([email protected])([email protected])typescript:specifier: ^5.8.3version: 5.8.3vitest:specifier: ^3.2.4- version: 3.2.4(@types/[email protected])(@types/[email protected])([email protected])([email protected])([email protected])([email protected](@types/[email protected])([email protected]))([email protected])([email protected])+ version: 3.2.4(@types/[email protected])(@types/[email protected])([email protected])([email protected])([email protected])([email protected](@types/[email protected])([email protected]))([email protected])([email protected])vscode-ws-jsonrpc:specifier: ^3.4.0version: 3.4.0@@ -677,6 +695,8 @@ importers:specifier: ^7.8.0version: 7.8.0([email protected])+ packages/ts-config: {}+packages:'@actions/[email protected]':@@ -9752,8 +9772,8 @@ packages:resolution: {integrity: sha512-r3vXyErRCYJ7wg28yvBY5VSoAF8ZvlcW9/BwUzEtUsjvX/DKs24dIkuwjtuprwJJHsbyUbLApepYTR1BN4uHrg==}engines: {node: '>= 6'}- resolution: {integrity: sha512-4lLa/EcQCB0cJkyts+FpIRx5G/llPxfP6VQU5KByHEhLxY3IJCH0f0Hy1MHI8sClTvsIb8qwRJ6R/ZdlDJ/leQ==}+ resolution: {integrity: sha512-lcYcMxX2PO9XMGvAJkJ3OsNMw+/7FKes7/hgerGUYWIoWu5j/+YQqcZr5JnPZWzOsEBgMbSbiSTn/dv/69Mkpw==}engines: {node: '>= 14.6'}hasBin: true@@ -10248,11 +10268,11 @@ snapshots:unplugin: 1.16.1zod: 3.25.76- '@codecov/[email protected]([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))':+ '@codecov/[email protected]([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))':dependencies:'@codecov/bundler-plugin-core': 1.9.1unplugin: 1.16.1- vite: 6.3.5(@types/[email protected])([email protected])([email protected])([email protected])([email protected])+ vite: 6.3.5(@types/[email protected])([email protected])([email protected])([email protected])([email protected])'@codemirror/[email protected]':dependencies:@@ -10967,12 +10987,12 @@ snapshots:dependencies:'@sinclair/typebox': 0.27.8- '@joshwooding/[email protected]([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))':+ '@joshwooding/[email protected]([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))':dependencies:glob: 10.4.5magic-string: 0.30.17react-docgen-typescript: 2.4.0([email protected])- vite: 6.3.5(@types/[email protected])([email protected])([email protected])([email protected])([email protected])+ vite: 6.3.5(@types/[email protected])([email protected])([email protected])([email protected])([email protected])optionalDependencies:typescript: 5.8.3@@ -13365,12 +13385,12 @@ snapshots:optionalDependencies:react: 19.1.0- '@storybook/[email protected]([email protected](@testing-library/[email protected]))([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))':+ '@storybook/[email protected]([email protected](@testing-library/[email protected]))([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))':dependencies:'@storybook/csf-plugin': 9.0.18([email protected](@testing-library/[email protected]))storybook: 9.0.18(@testing-library/[email protected])ts-dedent: 2.2.0- vite: 6.3.5(@types/[email protected])([email protected])([email protected])([email protected])([email protected])+ vite: 6.3.5(@types/[email protected])([email protected])([email protected])([email protected])([email protected])dependencies:@@ -13390,11 +13410,11 @@ snapshots:react-dom: 19.1.0([email protected])storybook: 9.0.18(@testing-library/[email protected])- '@storybook/[email protected]([email protected]([email protected]))([email protected])([email protected])([email protected](@testing-library/[email protected]))([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))':+ '@storybook/[email protected]([email protected]([email protected]))([email protected])([email protected])([email protected](@testing-library/[email protected]))([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))':dependencies:- '@joshwooding/vite-plugin-react-docgen-typescript': 0.6.1([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))+ '@joshwooding/vite-plugin-react-docgen-typescript': 0.6.1([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))'@rollup/pluginutils': 5.2.0([email protected])- '@storybook/builder-vite': 9.0.18([email protected](@testing-library/[email protected]))([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))+ '@storybook/builder-vite': 9.0.18([email protected](@testing-library/[email protected]))([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))'@storybook/react': 9.0.18([email protected]([email protected]))([email protected])([email protected](@testing-library/[email protected]))([email protected])find-up: 7.0.0magic-string: 0.30.17@@ -13404,7 +13424,7 @@ snapshots:resolve: 1.22.10storybook: 9.0.18(@testing-library/[email protected])tsconfig-paths: 4.2.0- vite: 6.3.5(@types/[email protected])([email protected])([email protected])([email protected])([email protected])+ vite: 6.3.5(@types/[email protected])([email protected])([email protected])([email protected])([email protected])transitivePeerDependencies:- rollup- supports-color@@ -14162,15 +14182,15 @@ snapshots:'@connectrpc/connect': 1.6.1(@bufbuild/[email protected])'@connectrpc/connect-web': 1.6.1(@bufbuild/[email protected])(@connectrpc/[email protected](@bufbuild/[email protected]))- '@vitejs/[email protected](@swc/[email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))':+ '@vitejs/[email protected](@swc/[email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))':dependencies:'@rolldown/pluginutils': 1.0.0-beta.27'@swc/core': 1.12.14(@swc/[email protected])- vite: 6.3.5(@types/[email protected])([email protected])([email protected])([email protected])([email protected])+ vite: 6.3.5(@types/[email protected])([email protected])([email protected])([email protected])([email protected])transitivePeerDependencies:- '@swc/helpers'- '@vitejs/[email protected]([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))':+ '@vitejs/[email protected]([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))':dependencies:'@babel/core': 7.28.0'@babel/plugin-transform-react-jsx-self': 7.27.1(@babel/[email protected])@@ -14178,7 +14198,7 @@ snapshots:'@rolldown/pluginutils': 1.0.0-beta.27'@types/babel__core': 7.20.5react-refresh: 0.17.0- vite: 6.3.5(@types/[email protected])([email protected])([email protected])([email protected])([email protected])+ vite: 6.3.5(@types/[email protected])([email protected])([email protected])([email protected])([email protected])transitivePeerDependencies:- supports-color@@ -14196,14 +14216,14 @@ snapshots:chai: 5.2.1tinyrainbow: 2.0.0- '@vitest/[email protected]([email protected](@types/[email protected])([email protected]))([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))':+ '@vitest/[email protected]([email protected](@types/[email protected])([email protected]))([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))':dependencies:'@vitest/spy': 3.2.4estree-walker: 3.0.3magic-string: 0.30.17optionalDependencies:msw: 2.10.4(@types/[email protected])([email protected])- vite: 6.3.5(@types/[email protected])([email protected])([email protected])([email protected])([email protected])+ vite: 6.3.5(@types/[email protected])([email protected])([email protected])([email protected])([email protected])'@vitest/[email protected]':dependencies:@@ -15900,13 +15920,13 @@ snapshots:transitivePeerDependencies:- supports-color- [email protected](@typescript-eslint/[email protected](@typescript-eslint/[email protected]([email protected])([email protected]))([email protected])([email protected]))([email protected])([email protected])([email protected](@types/[email protected])(@types/[email protected])([email protected])([email protected])([email protected])([email protected](@types/[email protected])([email protected]))([email protected])([email protected])):+ [email protected](@typescript-eslint/[email protected](@typescript-eslint/[email protected]([email protected])([email protected]))([email protected])([email protected]))([email protected])([email protected])([email protected](@types/[email protected])(@types/[email protected])([email protected])([email protected])([email protected])([email protected](@types/[email protected])([email protected]))([email protected])([email protected])):dependencies:'@typescript-eslint/utils': 7.18.0([email protected])([email protected])eslint: 8.57.1optionalDependencies:'@typescript-eslint/eslint-plugin': 7.18.0(@typescript-eslint/[email protected]([email protected])([email protected]))([email protected])([email protected])- vitest: 3.2.4(@types/[email protected])(@types/[email protected])([email protected])([email protected])([email protected])([email protected](@types/[email protected])([email protected]))([email protected])([email protected])+ vitest: 3.2.4(@types/[email protected])(@types/[email protected])([email protected])([email protected])([email protected])([email protected](@types/[email protected])([email protected]))([email protected])([email protected])transitivePeerDependencies:- supports-color- typescript@@ -18318,13 +18338,13 @@ snapshots:dependencies:postcss: 8.5.6dependencies:lilconfig: 3.1.3optionalDependencies:jiti: 2.5.1postcss: 8.5.6- yaml: 2.8.0+ yaml: 2.8.1dependencies:@@ -20043,7 +20063,7 @@ snapshots:- [email protected](@swc/[email protected](@swc/[email protected]))([email protected])([email protected])([email protected])([email protected]):+ [email protected](@swc/[email protected](@swc/[email protected]))([email protected])([email protected])([email protected])([email protected]):dependencies:bundle-require: 5.1.0([email protected])cac: 6.7.14@@ -20054,7 +20074,7 @@ snapshots:fix-dts-default-cjs-exports: 1.0.1joycon: 3.1.1picocolors: 1.1.1resolve-from: 5.0.0rollup: 4.45.1source-map: 0.8.0-beta.0@@ -20664,13 +20684,13 @@ snapshots:'@types/unist': 3.0.3vfile-message: 4.0.2- [email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]):+ [email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]):dependencies:cac: 6.7.14debug: 4.4.1([email protected])es-module-lexer: 1.7.0pathe: 2.0.3- vite: 6.3.5(@types/[email protected])([email protected])([email protected])([email protected])([email protected])+ vite: 6.3.5(@types/[email protected])([email protected])([email protected])([email protected])([email protected])transitivePeerDependencies:- '@types/node'- jiti@@ -20685,33 +20705,33 @@ snapshots:- tsx- yaml- [email protected](@swc/[email protected])([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected])):+ [email protected](@swc/[email protected])([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected])):dependencies:'@rollup/plugin-virtual': 3.0.2([email protected])'@swc/core': 1.12.14(@swc/[email protected])'@swc/wasm': 1.13.2uuid: 10.0.0- vite: 6.3.5(@types/[email protected])([email protected])([email protected])([email protected])([email protected])+ vite: 6.3.5(@types/[email protected])([email protected])([email protected])([email protected])([email protected])transitivePeerDependencies:- '@swc/helpers'- rollup- [email protected]([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected])):+ [email protected]([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected])):dependencies:- vite: 6.3.5(@types/[email protected])([email protected])([email protected])([email protected])([email protected])+ vite: 6.3.5(@types/[email protected])([email protected])([email protected])([email protected])([email protected])- [email protected]([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected])):+ [email protected]([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected])):dependencies:debug: 4.4.1([email protected])globrex: 0.1.2tsconfck: 3.1.6([email protected])optionalDependencies:- vite: 6.3.5(@types/[email protected])([email protected])([email protected])([email protected])([email protected])+ vite: 6.3.5(@types/[email protected])([email protected])([email protected])([email protected])([email protected])transitivePeerDependencies:- supports-color- typescript- [email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]):+ [email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]):dependencies:esbuild: 0.25.6fdir: 6.4.6([email protected])@@ -20725,13 +20745,13 @@ snapshots:jiti: 2.5.1lightningcss: 1.30.1terser: 5.43.1- yaml: 2.8.0+ yaml: 2.8.1- [email protected](@types/[email protected])(@types/[email protected])([email protected])([email protected])([email protected])([email protected](@types/[email protected])([email protected]))([email protected])([email protected]):+ [email protected](@types/[email protected])(@types/[email protected])([email protected])([email protected])([email protected])([email protected](@types/[email protected])([email protected]))([email protected])([email protected]):dependencies:'@types/chai': 5.2.2'@vitest/expect': 3.2.4- '@vitest/mocker': 3.2.4([email protected](@types/[email protected])([email protected]))([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))+ '@vitest/mocker': 3.2.4([email protected](@types/[email protected])([email protected]))([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))'@vitest/pretty-format': 3.2.4'@vitest/runner': 3.2.4'@vitest/snapshot': 3.2.4@@ -20749,8 +20769,8 @@ snapshots:tinyglobby: 0.2.14tinypool: 1.1.1tinyrainbow: 2.0.0- vite: 6.3.5(@types/[email protected])([email protected])([email protected])([email protected])([email protected])- vite-node: 3.2.4(@types/[email protected])([email protected])([email protected])([email protected])([email protected])+ vite: 6.3.5(@types/[email protected])([email protected])([email protected])([email protected])([email protected])+ vite-node: 3.2.4(@types/[email protected])([email protected])([email protected])([email protected])([email protected])why-is-node-running: 2.3.0optionalDependencies:'@types/debug': 4.1.12@@ -21028,8 +21048,7 @@ snapshots:- optional: true+ [email protected]: {}dependencies:diff --git a/turbo.json b/turbo.jsonindex 163e1580b5..42ca8c70b8 100644--- a/turbo.json+++ b/turbo.json@@ -2,15 +2,19 @@"$schema": "https://turbo.build/schema.json","tasks": {"build": {+ "dependsOn": ["^build", "codegen"],"outputs": ["dist/**"]},"typecheck": {},- "test": {},+ "test": {+ "dependsOn": ["build"]+ },"codegen": {"cache": false},"lint": {},"dev": {+ "dependsOn": ["^build", "codegen"],"cache": false,"persistent": true}