import { WS_METHODS } from "@t3tools/contracts"; import { Atom } from "effect/unstable/reactivity"; import { createEnvironmentRpcCommand } from "./runtime.ts"; import type { EnvironmentRegistry } from "../connection/registry.ts"; export function createShellEnvironmentAtoms( runtime: Atom.AtomRuntime, ) { return { openInEditor: createEnvironmentRpcCommand(runtime, { label: "environment-data:shell:open-in-editor", tag: WS_METHODS.shellOpenInEditor, }), }; }