OSS-first docs
These docs teach the open system first: contracts, generated surfaces, runtimes, governance, and incremental adoption. Studio shows up as the operating layer on top, not as the source of truth.
Source Definition
export const sendNotification = defineCommand({
meta: {
name: "SendNotification",
version: "1.0.0",
stability: "Beta",
},
io: {
input: z.object({
userId: z.string().uuid(),
channel: z.enum(["push", "email", "sms"]),
title: z.string(),
body: z.string(),
}),
output: z.object({
notificationId: z.string().uuid(),
deliveredAt: z.date().nullable(),
status: z.enum(["sent", "failed", "queued"]),
}),
},
});