feat(cli): add standalone v2 session flow

This commit is contained in:
Dax Raad
2026-06-10 22:40:26 -04:00
parent efe6ded6b1
commit b16aa4439d
19 changed files with 469 additions and 149 deletions
@@ -816,6 +816,14 @@ const scenarios: Scenario[] = [
headers: ctx.headers(),
}))
.status(400, undefined, "none"),
http.protected
.post("/api/session", "v2.session.create")
.at((ctx) => ({
path: "/api/session",
headers: { ...ctx.headers(), "content-type": "application/json" },
body: {},
}))
.json(200, data(object)),
http.protected
.get("/api/session/{sessionID}", "v2.session.get")
.seeded((ctx) => ctx.session({ title: "Session get" }))