Skip to content

Commit 348d529

Browse files
authored
style: hide marimo-pair in wasm, fix opencode prompt (#9375)
* hide marimo-pair in wasm * fix the `opencode` copy command
1 parent 2dbb958 commit 348d529

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

frontend/src/components/editor/actions/pair-with-agent-modal.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ function getPromptCommand(
3737
case "codex":
3838
return `codex "$(${base} --codex)"`;
3939
case "opencode":
40-
return `opencode "$(${base} --opencode)"`;
40+
return `opencode --prompt "$(${base} --opencode)"`;
4141
default:
4242
assertNever(agent);
4343
}

frontend/src/components/editor/actions/useNotebookActions.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -348,6 +348,7 @@ export function useNotebookActions() {
348348
{
349349
icon: <SparklesIcon size={14} strokeWidth={1.5} />,
350350
label: "Pair with an agent",
351+
hidden: isWasm(),
351352
handle: async () => {
352353
openModal(<PairWithAgentModal onClose={closeModal} />);
353354
},

0 commit comments

Comments
 (0)