feat(core): add session form service (#34855)

This commit is contained in:
Aiden Cline 2026-07-02 17:15:18 -05:00 committed by GitHub
commit 7ebd344fa2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
67 changed files with 7862 additions and 5223 deletions

View file

@ -1,12 +1,12 @@
import { expect, test } from "bun:test"
import type { V2SessionHistoryData } from "../src/v2/gen/types.gen"
import type { V2SessionLogData } from "../src/v2/gen/types.gen"
test("uses numeric Session history positions", () => {
test("uses numeric Session log positions", () => {
const input = {
path: { sessionID: "ses_test" },
query: { after: 1, limit: 50 },
url: "/api/session/{sessionID}/history",
} satisfies V2SessionHistoryData
query: { after: 1, follow: "false" },
url: "/api/session/{sessionID}/log",
} satisfies V2SessionLogData
expect(input.query.after).toBe(1)
})