The best way to control Claude Code, Codex and more from any computer or phone

main
ts 6 lines 157 Bytes
Raw
1 import * as Optic from "effect/Optic"
2
3 type S = { readonly a: number }
4 const optic = Optic.id<S>().key("a")
5
6 export const result = optic.getResult({ a: 1 })