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
add opencode agent and cleanup dropdown (#7374)
Shahmir Varqhae652b905ec73
diff --git a/frontend/src/components/ai/ai-provider-icon.tsx b/frontend/src/components/ai/ai-provider-icon.tsxindex 01c1a01bac..176bba8fa6 100644--- a/frontend/src/components/ai/ai-provider-icon.tsx+++ b/frontend/src/components/ai/ai-provider-icon.tsx@@ -8,6 +8,7 @@ import GitHubIcon from "@marimo-team/llm-info/icons/github.svg?inline";import GeminiIcon from "@marimo-team/llm-info/icons/googlegemini.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 OpencodeIcon from "@marimo-team/llm-info/icons/opencode-logo-light.svg?inline";import OpenRouterIcon from "@marimo-team/llm-info/icons/openrouter.svg?inline";import WandbIcon from "@marimo-team/llm-info/icons/weightsandbiases.svg?inline";import { BotIcon } from "lucide-react";@@ -15,10 +16,9 @@ import * as React from "react";import type { ProviderId } from "@/core/ai/ids/ids";import { cn } from "@/utils/cn";import marimoIcon from "../../assets/icon-32x32.png?inline";+import type { ExternalAgentId } from "../chat/acp/state";-type Aliases = "claude" | "gemini" | "codex";--const icons: Record<ProviderId | Aliases, string> = {+const icons: Record<ProviderId | ExternalAgentId, string> = {openai: OpenAIIcon,anthropic: AnthropicIcon,claude: AnthropicIcon,@@ -33,6 +33,7 @@ const icons: Record<ProviderId | Aliases, string> = {openrouter: OpenRouterIcon,wandb: WandbIcon,marimo: marimoIcon,+ opencode: OpencodeIcon,};export interface AiProviderIconPropsdiff --git a/frontend/src/components/chat/acp/agent-docs.tsx b/frontend/src/components/chat/acp/agent-docs.tsxindex 58ecef12c3..8090ccc334 100644--- a/frontend/src/components/chat/acp/agent-docs.tsx+++ b/frontend/src/components/chat/acp/agent-docs.tsx@@ -17,6 +17,9 @@ import {getAllAgentIds,} from "./state";+// Opencode currently edits files without requesting for permission+const BETA_AGENTS = new Set<ExternalAgentId>(["opencode"]);+interface AgentDocItemProps {agentId: ExternalAgentId;showCopy?: boolean;@@ -38,7 +41,12 @@ const AgentDocItem = memo<AgentDocItemProps>(<div className={cn("space-y-2", className)}><div className="flex items-center gap-2"><AiProviderIcon provider={agentId} className="h-4 w-4" />- <span className="font-medium text-sm">{displayName}</span>+ <span className="font-medium text-sm">+ {displayName}+ {BETA_AGENTS.has(agentId) && (+ <span className="text-muted-foreground ml-1">(beta)</span>+ )}+ </span></div><div className="bg-muted/50 rounded-md p-2 border"><div className="flex items-start gap-2 text-xs">diff --git a/frontend/src/components/chat/acp/agent-panel.tsx b/frontend/src/components/chat/acp/agent-panel.tsxindex 027c930cf9..110798d6a6 100644--- a/frontend/src/components/chat/acp/agent-panel.tsx+++ b/frontend/src/components/chat/acp/agent-panel.tsx@@ -799,23 +799,21 @@ const AgentPanel: React.FC = () => {return;}+ // If there is an available session, resume it, otherwise create a new oneconst createOrResumeSession = async () => {+ const availableSession = tabLastActiveSessionId ?? activeSessionId;try {- // Check if we need to create a new session- if (tabLastActiveSessionId) {- // Try to resume existing session+ if (availableSession) {try {- await handleResumeSession(tabLastActiveSessionId);- } catch (resumeError) {- logger.debug("Failed to resume session, creating new session", {- externalSessionId: tabLastActiveSessionId,- error: resumeError,+ await handleResumeSession(availableSession);+ } catch (error) {+ logger.error("Failed to resume session", {+ sessionId: availableSession,+ error,});- // Fall back to creating new sessionawait handleNewSession();}} else {- // No existing session, create new oneawait handleNewSession();}} catch (error) {diff --git a/frontend/src/components/chat/acp/agent-selector.tsx b/frontend/src/components/chat/acp/agent-selector.tsxindex c055d3876e..7a0340beab 100644--- a/frontend/src/components/chat/acp/agent-selector.tsx+++ b/frontend/src/components/chat/acp/agent-selector.tsx@@ -10,7 +10,10 @@ import {DropdownMenu,DropdownMenuContent,DropdownMenuItem,- DropdownMenuSeparator,+ DropdownMenuPortal,+ DropdownMenuSub,+ DropdownMenuSubContent,+ DropdownMenuSubTrigger,DropdownMenuTrigger,} from "@/components/ui/dropdown-menu";import { useFilename } from "@/core/saving/filename";@@ -47,38 +50,75 @@ const AVAILABLE_AGENTS = [displayName: "Codex",iconId: "openai",},+ {+ id: "opencode",+ displayName: "OpenCode",+ iconId: "opencode",+ },] as const;interface AgentMenuItemProps {agent: (typeof AVAILABLE_AGENTS)[number];onSelect: (agentId: ExternalAgentId) => void;existingSessions: AgentSession[];+ filename: string | null;}const AgentMenuItem = memo<AgentMenuItemProps>(- ({ agent, onSelect, existingSessions }) => {+ ({ agent, onSelect, existingSessions, filename }) => {const sessionSupport = getAgentSessionSupport(agent.id);const hasExistingSession = existingSessions.some((s) => s.agentId === agent.id,);- const getText = () => {- if (sessionSupport === "single" && hasExistingSession) {- return `Reset ${agent.displayName} session`;- }- return `New ${agent.displayName} session`;- };+ const resetSession = sessionSupport === "single" && hasExistingSession;+ const text = resetSession+ ? `Reset ${agent.displayName} session`+ : `New ${agent.displayName} session`;++ if (resetSession) {+ return (+ <DropdownMenuItem+ onClick={() => onSelect(agent.id)}+ className="cursor-pointer"+ >+ <div className="flex items-center w-full">+ <AiProviderIcon provider={agent.iconId} className="h-3 w-3 mr-2" />+ <span>{text}</span>+ </div>+ </DropdownMenuItem>+ );+ }return (- <DropdownMenuItem- onClick={() => onSelect(agent.id)}- className="cursor-pointer"- >- <div className="flex items-center w-full">- <AiProviderIcon provider={agent.iconId} className="h-3 w-3 mr-2" />- <span>{getText()}</span>- </div>- </DropdownMenuItem>+ <DropdownMenuSub>+ <DropdownMenuSubTrigger+ showChevron={false}+ className="cursor-pointer"+ onClick={() => onSelect(agent.id)}+ >+ <div className="flex items-center w-full">+ <AiProviderIcon provider={agent.iconId} className="h-3 w-3 mr-2" />+ <span>{text}</span>+ </div>+ </DropdownMenuSubTrigger>+ <DropdownMenuPortal>+ <DropdownMenuSubContent className="w-120">+ <div className="px-2 py-2">+ <div className="text-xs font-medium text-muted-foreground mb-3">+ To start a {agent.displayName} agent, run the following command+ in your terminal.+ <br />+ Note: This must be in the directory{" "}+ <code className="bg-muted font-mono">+ {Paths.dirname(filename ?? "")}+ </code>+ </div>+ <AgentDocs agents={[agent.id]} showCopy={true} />+ </div>+ </DropdownMenuSubContent>+ </DropdownMenuPortal>+ </DropdownMenuSub>);},);@@ -125,22 +165,9 @@ export const AgentSelector: React.FC<AgentSelectorProps> = memo(agent={agent}onSelect={handleCreateSession}existingSessions={sessionState.sessions}+ filename={filename}/>))}- <DropdownMenuSeparator />- <div className="px-2 py-2">- <div className="text-xs font-medium text-muted-foreground mb-3">- To start an external agent, run the following command in your- terminal.- <br />- Note: This must be in the directory{" "}- {Paths.dirname(filename ?? "")}- </div>- <AgentDocs- agents={AVAILABLE_AGENTS.map((agent) => agent.id)}- showCopy={true}- />- </div></DropdownMenuContent></DropdownMenu>);diff --git a/frontend/src/components/chat/acp/state.ts b/frontend/src/components/chat/acp/state.tsindex fd441c9c01..1a1869da04 100644--- a/frontend/src/components/chat/acp/state.ts+++ b/frontend/src/components/chat/acp/state.ts@@ -11,7 +11,7 @@ import type { ExternalAgentSessionId, SessionSupportType } from "./types";// Typesexport type TabId = TypedString<"TabId">;-export type ExternalAgentId = "claude" | "gemini" | "codex";+export type ExternalAgentId = "claude" | "gemini" | "codex" | "opencode";// No agents support loading sessions, so we limit to 1, otherwise// this is confusing to the user when switching between sessions@@ -190,7 +190,7 @@ export function updateSessionLastUsed(}/**- * Update the sessionId for the current;y selected tab+ * Update the sessionId for the currently selected tab*/export function updateSessionExternalAgentSessionId(state: AgentSessionState,@@ -220,7 +220,7 @@ export function getSessionsByAgent(}export function getAllAgentIds(): ExternalAgentId[] {- return ["claude", "gemini", "codex"];+ return ["claude", "gemini", "codex", "opencode"];}export function getAgentDisplayName(agentId: ExternalAgentId): string {@@ -257,6 +257,12 @@ const AGENT_CONFIG: Record<ExternalAgentId, AgentConfig> = {webSocketUrl: "ws://localhost:3021/message",sessionSupport: "single",},+ opencode: {+ port: 3023,+ command: "npx opencode-ai acp",+ webSocketUrl: "ws://localhost:3023/message",+ sessionSupport: "single",+ },};export function getAgentSessionSupport(diff --git a/packages/llm-info/icons/opencode-logo-light.svg b/packages/llm-info/icons/opencode-logo-light.svgnew file mode 100644index 0000000000..b79140a507--- /dev/null+++ b/packages/llm-info/icons/opencode-logo-light.svg@@ -0,0 +1 @@+<svg width='240' height='300' viewBox='0 0 240 300' fill='none' xmlns='http://www.w3.org/2000/svg'><g clip-path='url(#clip0_1401_86274)'><mask id='mask0_1401_86274' style='mask-type:luminance' maskUnits='userSpaceOnUse' x='0' y='0' width='240' height='300'><path d='M240 0H0V300H240V0Z' fill='white'/></mask><g mask='url(#mask0_1401_86274)'><path d='M180 240H60V120H180V240Z' fill='#CFCECD'/><path d='M180 60H60V240H180V60ZM240 300H0V0H240V300Z' fill='#211E1E'/></g></g><defs><clipPath id='clip0_1401_86274'><rect width='240' height='300' fill='white'/></clipPath></defs></svg>\ No newline at end of filediff --git a/pnpm-lock.yaml b/pnpm-lock.yamlindex 258cb3729a..1a6fd9d7d9 100644--- a/pnpm-lock.yaml+++ b/pnpm-lock.yaml@@ -45,7 +45,7 @@ importers:version: 0.2.0'@codemirror/autocomplete':specifier: ^6.19.1- version: 6.19.1+ version: 6.20.0'@codemirror/commands':specifier: ^6.10.0version: 6.10.0@@ -84,7 +84,7 @@ importers:version: 6.1.3'@codemirror/view':specifier: ^6.38.6- version: 6.38.6+ version: 6.38.8'@dagrejs/dagre':specifier: ^1.1.8version: 1.1.8@@ -123,7 +123,7 @@ importers:version: 3.10.0'@lezer/common':specifier: ^1.3.0- version: 1.3.0+ version: 1.4.0'@lezer/highlight':specifier: ^1.2.3version: 1.2.3@@ -138,16 +138,16 @@ importers:version: 1.1.18'@marimo-team/codemirror-ai':specifier: ^0.3.2- version: 0.3.2(@codemirror/[email protected])(@codemirror/[email protected])+ version: 0.3.2(@codemirror/[email protected])(@codemirror/[email protected])'@marimo-team/codemirror-languageserver':specifier: ^1.16.0- version: 1.16.0(@codemirror/[email protected])(@codemirror/[email protected])+ version: 1.16.0(@codemirror/[email protected])(@codemirror/[email protected])'@marimo-team/codemirror-mcp':specifier: ^0.1.5- version: 0.1.5(@codemirror/[email protected])(@codemirror/[email protected])(@codemirror/[email protected])(@modelcontextprotocol/[email protected])+ version: 0.1.5(@codemirror/[email protected])(@codemirror/[email protected])(@codemirror/[email protected])(@modelcontextprotocol/[email protected])'@marimo-team/codemirror-sql':specifier: ^0.2.4- version: 0.2.4(@codemirror/[email protected])(@codemirror/[email protected])(@codemirror/[email protected])(@codemirror/[email protected])+ version: 0.2.4(@codemirror/[email protected])(@codemirror/[email protected])(@codemirror/[email protected])(@codemirror/[email protected])'@marimo-team/llm-info':specifier: workspace:*version: link:../packages/llm-info@@ -249,7 +249,7 @@ importers:version: 1.2.2(@types/[email protected])([email protected])'@replit/codemirror-vim':specifier: ^6.3.0- version: 6.3.0(@codemirror/[email protected])(@codemirror/[email protected])(@codemirror/[email protected])(@codemirror/[email protected])(@codemirror/[email protected])+ version: 6.3.0(@codemirror/[email protected])(@codemirror/[email protected])(@codemirror/[email protected])(@codemirror/[email protected])(@codemirror/[email protected])'@tailwindcss/postcss':specifier: ^4.1.17version: 4.1.17@@ -279,16 +279,16 @@ importers:'@uiw/codemirror-extensions-langs':specifier: ^4.25.2- version: 4.25.2(@codemirror/[email protected])(@codemirror/[email protected])(@codemirror/[email protected])(@codemirror/[email protected])(@codemirror/[email protected])(@codemirror/[email protected])(@codemirror/[email protected])(@codemirror/[email protected])(@lezer/[email protected])(@lezer/[email protected])(@lezer/[email protected])(@lezer/[email protected])+ version: 4.25.2(@codemirror/[email protected])(@codemirror/[email protected])(@codemirror/[email protected])(@codemirror/[email protected])(@codemirror/[email protected])(@codemirror/[email protected])(@codemirror/[email protected])(@codemirror/[email protected])(@lezer/[email protected])(@lezer/[email protected])(@lezer/[email protected])(@lezer/[email protected])'@uiw/react-codemirror':specifier: 4.25.3- version: 4.25.3(@babel/[email protected])(@codemirror/[email protected])(@codemirror/[email protected])(@codemirror/[email protected])(@codemirror/[email protected])(@codemirror/[email protected])(@codemirror/[email protected])(@codemirror/[email protected])([email protected])([email protected]([email protected]))([email protected])+ version: 4.25.3(@babel/[email protected])(@codemirror/[email protected])(@codemirror/[email protected])(@codemirror/[email protected])(@codemirror/[email protected])(@codemirror/[email protected])(@codemirror/[email protected])(@codemirror/[email protected])([email protected])([email protected]([email protected]))([email protected])'@uwdata/flechette':specifier: ^1.1.2version: 1.1.2'@valtown/codemirror-codeium':specifier: ^1.1.1- version: 1.1.1(@codemirror/[email protected])(@codemirror/[email protected])(@codemirror/[email protected])+ version: 1.1.1(@codemirror/[email protected])(@codemirror/[email protected])(@codemirror/[email protected])'@xterm/addon-attach':specifier: ^0.11.0version: 0.11.0(@xterm/[email protected])@@ -378,7 +378,7 @@ importers:version: 4.17.21loro-codemirror:specifier: ^0.3.3loro-crdt:specifier: ^1.10.2version: 1.10.2@@ -417,7 +417,7 @@ importers:react-codemirror-merge:specifier: 4.25.3- version: 4.25.3(@babel/[email protected])(@codemirror/[email protected])(@codemirror/[email protected])(@codemirror/[email protected])(@codemirror/[email protected])(@codemirror/[email protected])(@codemirror/[email protected])(@codemirror/[email protected])([email protected])([email protected]([email protected]))([email protected])+ version: 4.25.3(@babel/[email protected])(@codemirror/[email protected])(@codemirror/[email protected])(@codemirror/[email protected])(@codemirror/[email protected])(@codemirror/[email protected])(@codemirror/[email protected])(@codemirror/[email protected])([email protected])([email protected]([email protected]))([email protected])react-dropzone:specifier: ^14.3.8version: 14.3.8([email protected])@@ -477,7 +477,7 @@ importers:version: 1.0.7([email protected])thememirror:specifier: ^2.0.1- version: 2.0.1(@codemirror/[email protected])(@codemirror/[email protected])(@codemirror/[email protected])+ version: 2.0.1(@codemirror/[email protected])(@codemirror/[email protected])(@codemirror/[email protected])timestring:specifier: ^7.0.0version: 7.0.0@@ -747,7 +747,7 @@ importers:version: 6.2.1'@lezer/common':specifier: ^1.3.0- version: 1.3.0+ version: 1.4.0'@lezer/python':specifier: ^1.1.18version: 1.1.18@@ -1109,9 +1109,6 @@ packages:peerDependencies:vite: 4.x || 5.x || 6.x- '@codemirror/[email protected]':- resolution: {integrity: sha512-q6NenYkEy2fn9+JyjIxMWcNjzTL/IhwqfzOut1/G3PrIFkrbl4AL7Wkse5tLrQUUyqGoAKU5+Pi5jnnXxH5HGw==}-'@codemirror/[email protected]':resolution: {integrity: sha512-bOwvTOIJcG5FVo5gUUupiwYh8MioPLQ4UcqbcRf7UQ98X90tCa9E1kZ3Z7tqwpZxYyOvh1YTYbmZE9RTfTp5hg==}@@ -1205,9 +1202,6 @@ packages:'@codemirror/[email protected]':resolution: {integrity: sha512-NzBdIvEJmx6fjeremiGp3t/okrLPYT0d9orIc7AFun8oZcRk58aejkqhv6spnz4MLAevrKNPMQYXEWMg4s+sKA==}- '@codemirror/[email protected]':- resolution: {integrity: sha512-qiS0z1bKs5WOvHIAC0Cybmv4AJSkAXgX5aD6Mqd2epSLlVJsQl8NG23jCVouIgkh4All/mrbdsf2UOLFnJw0tw==}-'@codemirror/[email protected]':resolution: {integrity: sha512-XcE9fcnkHCbWkjeKyi0lllwXmBLtyYb5dt89dJyx23I9+LSh5vZDIuk7OLG4VM1lgrXZQcY6cxyZyk5WVPRv/A==}@@ -1913,9 +1907,6 @@ packages:'@keyv/[email protected]':resolution: {integrity: sha512-dXn3FZhPv0US+7dtJsIi2R+c7qWYiReoEh5zUntWCf4oSpMNib8FDhSoed6m3QyZdx5hK7iLFkYk3rNxwt8vTA==}- '@lezer/[email protected]':- resolution: {integrity: sha512-L9X8uHCYU310o99L3/MpJKYxPzXPOS7S0NmBaM7UO/x2Kb2WbmMLSkfvdr1KxRIFYOpbY0Jhn7CfLSUDzL8arQ==}-'@lezer/[email protected]':resolution: {integrity: sha512-DVeMRoGrgn/k45oQNu189BoW4SZwgZFzJ1+1TV5j2NJ/KFC83oa/enRqZSGshyeMk5cPWMhsKs9nx+8o0unwGg==}@@ -10900,13 +10891,6 @@ snapshots:unplugin: 1.16.1vite: [email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected])- '@codemirror/[email protected]':- dependencies:- '@codemirror/language': 6.11.3- '@codemirror/state': 6.5.2- '@codemirror/view': 6.38.6- '@lezer/common': 1.3.0-'@codemirror/[email protected]':dependencies:'@codemirror/language': 6.11.3@@ -10918,15 +10902,15 @@ snapshots:dependencies:'@codemirror/language': 6.11.3'@codemirror/state': 6.5.2- '@codemirror/view': 6.38.6- '@lezer/common': 1.3.0+ '@codemirror/view': 6.38.8+ '@lezer/common': 1.4.0'@codemirror/[email protected]':dependencies:'@codemirror/lang-html': 6.4.9'@codemirror/lang-javascript': 6.2.4'@codemirror/language': 6.11.3- '@lezer/common': 1.3.0+ '@lezer/common': 1.4.0'@lezer/highlight': 1.2.3'@lezer/lr': 1.4.3@@ -10937,29 +10921,29 @@ snapshots:'@codemirror/[email protected]':dependencies:- '@codemirror/autocomplete': 6.19.1+ '@codemirror/autocomplete': 6.20.0'@codemirror/language': 6.11.3'@codemirror/state': 6.5.2- '@lezer/common': 1.3.0+ '@lezer/common': 1.4.0'@lezer/css': 1.3.0'@codemirror/[email protected]':dependencies:- '@codemirror/autocomplete': 6.19.1+ '@codemirror/autocomplete': 6.20.0'@codemirror/language': 6.11.3'@codemirror/state': 6.5.2- '@lezer/common': 1.3.0+ '@lezer/common': 1.4.0'@lezer/go': 1.0.1'@codemirror/[email protected]':dependencies:- '@codemirror/autocomplete': 6.19.1+ '@codemirror/autocomplete': 6.20.0'@codemirror/lang-css': 6.3.1'@codemirror/lang-javascript': 6.2.4'@codemirror/language': 6.11.3'@codemirror/state': 6.5.2- '@codemirror/view': 6.38.6- '@lezer/common': 1.3.0+ '@codemirror/view': 6.38.8+ '@lezer/common': 1.4.0'@lezer/css': 1.3.0'@lezer/html': 1.3.10@@ -10970,19 +10954,19 @@ snapshots:'@codemirror/[email protected]':dependencies:- '@codemirror/autocomplete': 6.19.1+ '@codemirror/autocomplete': 6.20.0'@codemirror/language': 6.11.3'@codemirror/lint': 6.9.2'@codemirror/state': 6.5.2- '@codemirror/view': 6.38.6- '@lezer/common': 1.3.0+ '@codemirror/view': 6.38.8+ '@lezer/common': 1.4.0'@lezer/javascript': 1.5.1'@codemirror/[email protected]':dependencies:'@codemirror/lang-html': 6.4.9'@codemirror/language': 6.11.3- '@lezer/common': 1.3.0+ '@lezer/common': 1.4.0'@lezer/highlight': 1.2.3'@lezer/lr': 1.4.3@@ -10995,29 +10979,29 @@ snapshots:dependencies:'@codemirror/lang-css': 6.3.1'@codemirror/language': 6.11.3- '@lezer/common': 1.3.0+ '@lezer/common': 1.4.0'@lezer/highlight': 1.2.3'@lezer/lr': 1.4.3'@codemirror/[email protected]':dependencies:- '@codemirror/autocomplete': 6.19.1+ '@codemirror/autocomplete': 6.20.0'@codemirror/lang-html': 6.4.9'@codemirror/language': 6.11.3'@codemirror/state': 6.5.2- '@codemirror/view': 6.38.6- '@lezer/common': 1.3.0+ '@codemirror/view': 6.38.8+ '@lezer/common': 1.4.0'@lezer/highlight': 1.2.3'@lezer/lr': 1.4.3'@codemirror/[email protected]':dependencies:- '@codemirror/autocomplete': 6.19.1+ '@codemirror/autocomplete': 6.20.0'@codemirror/lang-html': 6.4.9'@codemirror/language': 6.11.3'@codemirror/state': 6.5.2- '@codemirror/view': 6.38.6- '@lezer/common': 1.3.0+ '@codemirror/view': 6.38.8+ '@lezer/common': 1.4.0'@lezer/markdown': 1.6.0'@codemirror/[email protected]':@@ -11025,15 +11009,15 @@ snapshots:'@codemirror/lang-html': 6.4.9'@codemirror/language': 6.11.3'@codemirror/state': 6.5.2- '@lezer/common': 1.3.0+ '@lezer/common': 1.4.0'@lezer/php': 1.0.3'@codemirror/[email protected]':dependencies:- '@codemirror/autocomplete': 6.19.1+ '@codemirror/autocomplete': 6.20.0'@codemirror/language': 6.11.3'@codemirror/state': 6.5.2- '@lezer/common': 1.3.0+ '@lezer/common': 1.4.0'@lezer/python': 1.1.18'@codemirror/[email protected]':@@ -11046,15 +11030,15 @@ snapshots:'@codemirror/lang-css': 6.3.1'@codemirror/language': 6.11.3'@codemirror/state': 6.5.2- '@lezer/common': 1.3.0+ '@lezer/common': 1.4.0'@lezer/sass': 1.1.0'@codemirror/[email protected]':dependencies:- '@codemirror/autocomplete': 6.19.1+ '@codemirror/autocomplete': 6.20.0'@codemirror/language': 6.11.3'@codemirror/state': 6.5.2- '@lezer/common': 1.3.0+ '@lezer/common': 1.4.0'@lezer/highlight': 1.2.3'@lezer/lr': 1.4.3@@ -11063,32 +11047,32 @@ snapshots:'@codemirror/lang-html': 6.4.9'@codemirror/lang-javascript': 6.2.4'@codemirror/language': 6.11.3- '@lezer/common': 1.3.0+ '@lezer/common': 1.4.0'@lezer/highlight': 1.2.3'@lezer/lr': 1.4.3'@codemirror/[email protected]':dependencies:'@codemirror/language': 6.11.3- '@lezer/common': 1.3.0+ '@lezer/common': 1.4.0'@lezer/highlight': 1.2.3'@lezer/lr': 1.4.3'@codemirror/[email protected]':dependencies:- '@codemirror/autocomplete': 6.19.1+ '@codemirror/autocomplete': 6.20.0'@codemirror/language': 6.11.3'@codemirror/state': 6.5.2- '@codemirror/view': 6.38.6- '@lezer/common': 1.3.0+ '@codemirror/view': 6.38.8+ '@lezer/common': 1.4.0'@lezer/xml': 1.0.6'@codemirror/[email protected]':dependencies:- '@codemirror/autocomplete': 6.19.1+ '@codemirror/autocomplete': 6.20.0'@codemirror/language': 6.11.3'@codemirror/state': 6.5.2- '@lezer/common': 1.3.0+ '@lezer/common': 1.4.0'@lezer/highlight': 1.2.3'@lezer/lr': 1.4.3'@lezer/yaml': 1.0.3@@ -11122,8 +11106,8 @@ snapshots:'@codemirror/[email protected]':dependencies:'@codemirror/state': 6.5.2- '@codemirror/view': 6.38.6- '@lezer/common': 1.3.0+ '@codemirror/view': 6.38.8+ '@lezer/common': 1.4.0'@lezer/highlight': 1.2.3'@lezer/lr': 1.4.3style-mod: 4.1.3@@ -11135,21 +11119,21 @@ snapshots:'@codemirror/[email protected]':dependencies:'@codemirror/state': 6.5.2- '@codemirror/view': 6.38.6+ '@codemirror/view': 6.38.8crelt: 1.0.6'@codemirror/[email protected]':dependencies:'@codemirror/language': 6.11.3'@codemirror/state': 6.5.2- '@codemirror/view': 6.38.6+ '@codemirror/view': 6.38.8'@lezer/highlight': 1.2.3style-mod: 4.1.3'@codemirror/[email protected]':dependencies:'@codemirror/state': 6.5.2- '@codemirror/view': 6.38.6+ '@codemirror/view': 6.38.8crelt: 1.0.6'@codemirror/[email protected]':@@ -11160,16 +11144,9 @@ snapshots:dependencies:'@codemirror/language': 6.11.3'@codemirror/state': 6.5.2- '@codemirror/view': 6.38.6+ '@codemirror/view': 6.38.8'@lezer/highlight': 1.2.3- '@codemirror/[email protected]':- dependencies:- '@codemirror/state': 6.5.2- crelt: 1.0.6- style-mod: 4.1.3- w3c-keyname: 2.2.8-'@codemirror/[email protected]':dependencies:'@codemirror/state': 6.5.2@@ -11813,98 +11790,96 @@ snapshots:'@keyv/[email protected]': {}- '@lezer/[email protected]': {}-'@lezer/[email protected]': {}'@lezer/[email protected]':dependencies:- '@lezer/common': 1.3.0+ '@lezer/common': 1.4.0'@lezer/highlight': 1.2.3'@lezer/lr': 1.4.3'@lezer/[email protected]':dependencies:- '@lezer/common': 1.3.0+ '@lezer/common': 1.4.0'@lezer/highlight': 1.2.3'@lezer/lr': 1.4.3'@lezer/[email protected]':dependencies:- '@lezer/common': 1.3.0+ '@lezer/common': 1.4.0'@lezer/highlight': 1.2.3'@lezer/lr': 1.4.3'@lezer/[email protected]':dependencies:- '@lezer/common': 1.3.0+ '@lezer/common': 1.4.0'@lezer/[email protected]':dependencies:- '@lezer/common': 1.3.0+ '@lezer/common': 1.4.0'@lezer/highlight': 1.2.3'@lezer/lr': 1.4.3'@lezer/[email protected]':dependencies:- '@lezer/common': 1.3.0+ '@lezer/common': 1.4.0'@lezer/highlight': 1.2.3'@lezer/lr': 1.4.3'@lezer/[email protected]':dependencies:- '@lezer/common': 1.3.0+ '@lezer/common': 1.4.0'@lezer/highlight': 1.2.3'@lezer/lr': 1.4.3'@lezer/[email protected]':dependencies:- '@lezer/common': 1.3.0+ '@lezer/common': 1.4.0'@lezer/highlight': 1.2.3'@lezer/lr': 1.4.3'@lezer/[email protected]':dependencies:- '@lezer/common': 1.3.0+ '@lezer/common': 1.4.0'@lezer/[email protected]':dependencies:- '@lezer/common': 1.3.0+ '@lezer/common': 1.4.0'@lezer/highlight': 1.2.3'@lezer/[email protected]':dependencies:- '@lezer/common': 1.3.0+ '@lezer/common': 1.4.0'@lezer/highlight': 1.2.3'@lezer/lr': 1.4.3'@lezer/[email protected]':dependencies:- '@lezer/common': 1.3.0+ '@lezer/common': 1.4.0'@lezer/highlight': 1.2.3'@lezer/lr': 1.4.3'@lezer/[email protected]':dependencies:- '@lezer/common': 1.3.0+ '@lezer/common': 1.4.0'@lezer/highlight': 1.2.3'@lezer/lr': 1.4.3'@lezer/[email protected]':dependencies:- '@lezer/common': 1.3.0+ '@lezer/common': 1.4.0'@lezer/highlight': 1.2.3'@lezer/lr': 1.4.3'@lezer/[email protected]':dependencies:- '@lezer/common': 1.3.0+ '@lezer/common': 1.4.0'@lezer/highlight': 1.2.3'@lezer/lr': 1.4.3'@lezer/[email protected]':dependencies:- '@lezer/common': 1.3.0+ '@lezer/common': 1.4.0'@lezer/highlight': 1.2.3'@lezer/lr': 1.4.3@@ -12002,18 +11977,18 @@ snapshots:'@marijn/[email protected]': {}dependencies:'@codemirror/state': 6.5.2- '@codemirror/view': 6.38.6+ '@codemirror/view': 6.38.8diff: 8.0.2dependencies:- '@codemirror/autocomplete': 6.19.1+ '@codemirror/autocomplete': 6.20.0'@codemirror/lint': 6.9.2'@codemirror/state': 6.5.2- '@codemirror/view': 6.38.6+ '@codemirror/view': 6.38.8'@open-rpc/client-js': 1.8.1marked: 15.0.12vscode-languageserver-protocol: 3.17.5@@ -12022,19 +11997,19 @@ snapshots:- encoding- utf-8-validate- '@marimo-team/[email protected](@codemirror/[email protected])(@codemirror/[email protected])(@codemirror/[email protected])(@modelcontextprotocol/[email protected])':+ '@marimo-team/[email protected](@codemirror/[email protected])(@codemirror/[email protected])(@codemirror/[email protected])(@modelcontextprotocol/[email protected])':dependencies:- '@codemirror/autocomplete': 6.19.1+ '@codemirror/autocomplete': 6.20.0'@codemirror/state': 6.5.2- '@codemirror/view': 6.38.6+ '@codemirror/view': 6.38.8'@modelcontextprotocol/sdk': 1.17.2- '@marimo-team/[email protected](@codemirror/[email protected])(@codemirror/[email protected])(@codemirror/[email protected])(@codemirror/[email protected])':+ '@marimo-team/[email protected](@codemirror/[email protected])(@codemirror/[email protected])(@codemirror/[email protected])(@codemirror/[email protected])':dependencies:- '@codemirror/autocomplete': 6.19.1+ '@codemirror/autocomplete': 6.20.0'@codemirror/lint': 6.9.2'@codemirror/state': 6.5.2- '@codemirror/view': 6.38.6+ '@codemirror/view': 6.38.8node-sql-parser: 5.3.13'@marimo-team/[email protected]([email protected])':@@ -14091,13 +14066,13 @@ snapshots:transitivePeerDependencies:- supports-color- '@replit/[email protected](@codemirror/[email protected])(@codemirror/[email protected])(@codemirror/[email protected])(@codemirror/[email protected])(@lezer/[email protected])(@lezer/[email protected])(@lezer/[email protected])':+ '@replit/[email protected](@codemirror/[email protected])(@codemirror/[email protected])(@codemirror/[email protected])(@codemirror/[email protected])(@lezer/[email protected])(@lezer/[email protected])(@lezer/[email protected])':dependencies:- '@codemirror/autocomplete': 6.19.1+ '@codemirror/autocomplete': 6.20.0'@codemirror/language': 6.11.3'@codemirror/state': 6.5.2- '@codemirror/view': 6.38.6- '@lezer/common': 1.3.0+ '@codemirror/view': 6.38.8+ '@lezer/common': 1.4.0'@lezer/highlight': 1.2.3'@lezer/lr': 1.4.3@@ -14106,27 +14081,27 @@ snapshots:'@codemirror/language': 6.11.3'@lezer/highlight': 1.2.3- '@replit/[email protected](@codemirror/[email protected])(@codemirror/[email protected])(@codemirror/[email protected])(@codemirror/[email protected])(@codemirror/[email protected])(@codemirror/[email protected])(@codemirror/[email protected])(@lezer/[email protected])(@lezer/[email protected])(@lezer/[email protected])(@lezer/[email protected])':+ '@replit/[email protected](@codemirror/[email protected])(@codemirror/[email protected])(@codemirror/[email protected])(@codemirror/[email protected])(@codemirror/[email protected])(@codemirror/[email protected])(@codemirror/[email protected])(@lezer/[email protected])(@lezer/[email protected])(@lezer/[email protected])(@lezer/[email protected])':dependencies:- '@codemirror/autocomplete': 6.19.1+ '@codemirror/autocomplete': 6.20.0'@codemirror/lang-css': 6.3.1'@codemirror/lang-html': 6.4.9'@codemirror/lang-javascript': 6.2.4'@codemirror/language': 6.11.3'@codemirror/state': 6.5.2- '@codemirror/view': 6.38.6- '@lezer/common': 1.3.0+ '@codemirror/view': 6.38.8+ '@lezer/common': 1.4.0'@lezer/highlight': 1.2.3'@lezer/javascript': 1.5.1'@lezer/lr': 1.4.3- '@replit/[email protected](@codemirror/[email protected])(@codemirror/[email protected])(@codemirror/[email protected])(@codemirror/[email protected])(@codemirror/[email protected])':+ '@replit/[email protected](@codemirror/[email protected])(@codemirror/[email protected])(@codemirror/[email protected])(@codemirror/[email protected])(@codemirror/[email protected])':dependencies:'@codemirror/commands': 6.10.0'@codemirror/language': 6.11.3'@codemirror/search': 6.5.11'@codemirror/state': 6.5.2- '@codemirror/view': 6.38.6+ '@codemirror/view': 6.38.8'@rolldown/[email protected]':optional: true@@ -15086,23 +15061,23 @@ snapshots:react: 19.2.0react-dom: 19.2.0([email protected])- '@uiw/[email protected](@codemirror/[email protected])(@codemirror/[email protected])(@codemirror/[email protected])(@codemirror/[email protected])(@codemirror/[email protected])(@codemirror/[email protected])(@codemirror/[email protected])':+ '@uiw/[email protected](@codemirror/[email protected])(@codemirror/[email protected])(@codemirror/[email protected])(@codemirror/[email protected])(@codemirror/[email protected])(@codemirror/[email protected])(@codemirror/[email protected])':dependencies:- '@codemirror/autocomplete': 6.19.1+ '@codemirror/autocomplete': 6.20.0'@codemirror/commands': 6.10.0'@codemirror/language': 6.11.3'@codemirror/lint': 6.9.2'@codemirror/search': 6.5.11'@codemirror/state': 6.5.2- '@codemirror/view': 6.38.6+ '@codemirror/view': 6.38.8- '@uiw/[email protected](@codemirror/[email protected])(@codemirror/[email protected])(@codemirror/[email protected])(@codemirror/[email protected])(@codemirror/[email protected])(@codemirror/[email protected])(@codemirror/[email protected])(@codemirror/[email protected])(@lezer/[email protected])(@lezer/[email protected])(@lezer/[email protected])(@lezer/[email protected])':+ '@uiw/[email protected](@codemirror/[email protected])(@codemirror/[email protected])(@codemirror/[email protected])(@codemirror/[email protected])(@codemirror/[email protected])(@codemirror/[email protected])(@codemirror/[email protected])(@codemirror/[email protected])(@lezer/[email protected])(@lezer/[email protected])(@lezer/[email protected])(@lezer/[email protected])':dependencies:'@codemirror/language': 6.11.3'@codemirror/language-data': 6.5.2- '@replit/codemirror-lang-nix': 6.0.1(@codemirror/[email protected])(@codemirror/[email protected])(@codemirror/[email protected])(@codemirror/[email protected])(@lezer/[email protected])(@lezer/[email protected])(@lezer/[email protected])+ '@replit/codemirror-lang-nix': 6.0.1(@codemirror/[email protected])(@codemirror/[email protected])(@codemirror/[email protected])(@codemirror/[email protected])(@lezer/[email protected])(@lezer/[email protected])(@lezer/[email protected])'@replit/codemirror-lang-solidity': 6.0.2(@codemirror/[email protected])- '@replit/codemirror-lang-svelte': 6.0.0(@codemirror/[email protected])(@codemirror/[email protected])(@codemirror/[email protected])(@codemirror/[email protected])(@codemirror/[email protected])(@codemirror/[email protected])(@codemirror/[email protected])(@lezer/[email protected])(@lezer/[email protected])(@lezer/[email protected])(@lezer/[email protected])+ '@replit/codemirror-lang-svelte': 6.0.0(@codemirror/[email protected])(@codemirror/[email protected])(@codemirror/[email protected])(@codemirror/[email protected])(@codemirror/[email protected])(@codemirror/[email protected])(@codemirror/[email protected])(@lezer/[email protected])(@lezer/[email protected])(@lezer/[email protected])(@lezer/[email protected])codemirror-lang-mermaid: 0.5.0transitivePeerDependencies:- '@codemirror/autocomplete'@@ -15116,14 +15091,14 @@ snapshots:- '@lezer/javascript'- '@lezer/lr'- '@uiw/[email protected](@babel/[email protected])(@codemirror/[email protected])(@codemirror/[email protected])(@codemirror/[email protected])(@codemirror/[email protected])(@codemirror/[email protected])(@codemirror/[email protected])(@codemirror/[email protected])([email protected])([email protected]([email protected]))([email protected])':+ '@uiw/[email protected](@babel/[email protected])(@codemirror/[email protected])(@codemirror/[email protected])(@codemirror/[email protected])(@codemirror/[email protected])(@codemirror/[email protected])(@codemirror/[email protected])(@codemirror/[email protected])([email protected])([email protected]([email protected]))([email protected])':dependencies:'@babel/runtime': 7.27.6'@codemirror/commands': 6.10.0'@codemirror/state': 6.5.2'@codemirror/theme-one-dark': 6.1.3- '@codemirror/view': 6.38.6- '@uiw/codemirror-extensions-basic-setup': 4.25.3(@codemirror/[email protected])(@codemirror/[email protected])(@codemirror/[email protected])(@codemirror/[email protected])(@codemirror/[email protected])(@codemirror/[email protected])(@codemirror/[email protected])+ '@codemirror/view': 6.38.8+ '@uiw/codemirror-extensions-basic-setup': 4.25.3(@codemirror/[email protected])(@codemirror/[email protected])(@codemirror/[email protected])(@codemirror/[email protected])(@codemirror/[email protected])(@codemirror/[email protected])(@codemirror/[email protected])codemirror: 6.0.2react: 19.2.0react-dom: 19.2.0([email protected])@@ -15137,12 +15112,12 @@ snapshots:'@uwdata/[email protected]': {}- '@valtown/[email protected](@codemirror/[email protected])(@codemirror/[email protected])(@codemirror/[email protected])':+ '@valtown/[email protected](@codemirror/[email protected])(@codemirror/[email protected])(@codemirror/[email protected])':dependencies:'@bufbuild/protobuf': 1.10.1- '@codemirror/autocomplete': 6.19.1+ '@codemirror/autocomplete': 6.20.0'@codemirror/state': 6.5.2- '@codemirror/view': 6.38.6+ '@codemirror/view': 6.38.8'@connectrpc/connect': 1.6.1(@bufbuild/[email protected])'@connectrpc/connect-web': 1.6.1(@bufbuild/[email protected])(@connectrpc/[email protected](@bufbuild/[email protected]))@@ -15174,14 +15149,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.21optionalDependencies:msw: 2.12.3(@types/[email protected])([email protected])- vite: [email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected])+ vite: [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:@@ -15192,15 +15167,6 @@ snapshots:msw: 2.12.3(@types/[email protected])([email protected])vite: [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.4- estree-walker: 3.0.3- magic-string: 0.30.21- optionalDependencies:- msw: 2.12.3(@types/[email protected])([email protected])- vite: [email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected])-'@vitest/[email protected]':dependencies:tinyrainbow: 2.0.0@@ -18372,10 +18338,10 @@ snapshots:dependencies:js-tokens: 4.0.0- [email protected](@codemirror/[email protected])(@codemirror/[email protected])([email protected]):+ [email protected](@codemirror/[email protected])(@codemirror/[email protected])([email protected]):dependencies:'@codemirror/state': 6.5.2- '@codemirror/view': 6.38.6+ '@codemirror/view': 6.38.8loro-crdt: 1.10.2@@ -19910,14 +19876,14 @@ snapshots:react: 19.2.0react-dom: 19.2.0([email protected])- [email protected](@babel/[email protected])(@codemirror/[email protected])(@codemirror/[email protected])(@codemirror/[email protected])(@codemirror/[email protected])(@codemirror/[email protected])(@codemirror/[email protected])(@codemirror/[email protected])([email protected])([email protected]([email protected]))([email protected]):+ [email protected](@babel/[email protected])(@codemirror/[email protected])(@codemirror/[email protected])(@codemirror/[email protected])(@codemirror/[email protected])(@codemirror/[email protected])(@codemirror/[email protected])(@codemirror/[email protected])([email protected])([email protected]([email protected]))([email protected]):dependencies:'@babel/runtime': 7.27.6'@codemirror/merge': 6.11.1'@codemirror/state': 6.5.2'@codemirror/theme-one-dark': 6.1.3- '@codemirror/view': 6.38.6- '@uiw/react-codemirror': 4.25.3(@babel/[email protected])(@codemirror/[email protected])(@codemirror/[email protected])(@codemirror/[email protected])(@codemirror/[email protected])(@codemirror/[email protected])(@codemirror/[email protected])(@codemirror/[email protected])([email protected])([email protected]([email protected]))([email protected])+ '@codemirror/view': 6.38.8+ '@uiw/react-codemirror': 4.25.3(@babel/[email protected])(@codemirror/[email protected])(@codemirror/[email protected])(@codemirror/[email protected])(@codemirror/[email protected])(@codemirror/[email protected])(@codemirror/[email protected])(@codemirror/[email protected])([email protected])([email protected]([email protected]))([email protected])codemirror: 6.0.2react: 19.2.0react-dom: 19.2.0([email protected])@@ -21270,11 +21236,11 @@ snapshots:- [email protected](@codemirror/[email protected])(@codemirror/[email protected])(@codemirror/[email protected]):+ [email protected](@codemirror/[email protected])(@codemirror/[email protected])(@codemirror/[email protected]):dependencies:'@codemirror/language': 6.11.3'@codemirror/state': 6.5.2- '@codemirror/view': 6.38.6+ '@codemirror/view': 6.38.8dependencies:@@ -22130,7 +22096,7 @@ snapshots: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@@ -22216,7 +22182,7 @@ snapshots: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