Skip to content

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.

style: hide marimo-pair in wasm, fix opencode prompt (#9375)

Myles Scolnick348d529d9bd4
diff --git a/frontend/src/components/editor/actions/pair-with-agent-modal.tsx b/frontend/src/components/editor/actions/pair-with-agent-modal.tsx
index 4c09ffa099..cb5d922981 100644
--- a/frontend/src/components/editor/actions/pair-with-agent-modal.tsx
+++ b/frontend/src/components/editor/actions/pair-with-agent-modal.tsx
@@ -37,7 +37,7 @@ function getPromptCommand(
case "codex":
return `codex "$(${base} --codex)"`;
case "opencode":
- return `opencode "$(${base} --opencode)"`;
+ return `opencode --prompt "$(${base} --opencode)"`;
default:
assertNever(agent);
}
diff --git a/frontend/src/components/editor/actions/useNotebookActions.tsx b/frontend/src/components/editor/actions/useNotebookActions.tsx
index ff68883e5d..033a238267 100644
--- a/frontend/src/components/editor/actions/useNotebookActions.tsx
+++ b/frontend/src/components/editor/actions/useNotebookActions.tsx
@@ -348,6 +348,7 @@ export function useNotebookActions() {
{
icon: <SparklesIcon size={14} strokeWidth={1.5} />,
label: "Pair with an agent",
+ hidden: isWasm(),
handle: async () => {
openModal(<PairWithAgentModal onClose={closeModal} />);
},