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

main
ts 9 lines 257 Bytes
Raw
1 import * as Domain from "@alchemy.run/domain";
2 import { NotesModel } from "./Notes.model.ts";
3
4 /** What the browser reaches. */
5 export class NotesApi extends Domain.Api("NotesApi", {
6 model: NotesModel,
7 commands: ["WriteNote"],
8 views: ["Notes"],
9 }) {}