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 createUser = defineCommand({
meta: {
name: "CreateUser",
version: "1.0.0",
stability: "Stable",
},
io: {
input: z.object({
email: z.string().email(),
name: z.string(),
role: z.enum(["admin", "user"]),
}),
output: z.object({
id: z.string().uuid(),
email: z.string(),
createdAt: z.date(),
}),
},
});