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.

508 B
Raw Blame
/* Copyright 2026 Marimo. All rights reserved. */

import { atom } from "jotai";
import { z } from "zod";

export const pairConfigSchema = z.object({
  command: z.string(),
  hostEnabled: z.boolean().default(false),
  templates: z.object({
    prompt: z.string(),
    notebook: z.string(),
    session: z.string(),
    token_file: z.string(),
    token: z.string(),
  }),
});

export type PairConfig = z.infer<typeof pairConfigSchema>;

export const pairConfigAtom = atom<PairConfig | undefined>(undefined);