Skip to content

refactor(core): migrate MessageV2 internal Cursor to Effect Schema#23763

Merged
kitlangton merged 1 commit intodevfrom
kit/session-schema-cursor
Apr 22, 2026
Merged

refactor(core): migrate MessageV2 internal Cursor to Effect Schema#23763
kitlangton merged 1 commit intodevfrom
kit/session-schema-cursor

Conversation

@kitlangton
Copy link
Copy Markdown
Contributor

Stacked on #23757.

Tiny cleanup — migrates the internal Cursor schema (used by paginated message queries) from Zod to Effect Schema. Not on the SDK surface.

Acceptance check

  • bun typecheck clean.
  • bun run test test/session → 282 pass / 0 fail.
  • bun dev generate byte-identical to committed packages/sdk/openapi.json.

@kitlangton kitlangton force-pushed the kit/session-schema-messages branch from bc8ca4b to eebe1f7 Compare April 22, 2026 03:10
@kitlangton kitlangton force-pushed the kit/session-schema-cursor branch from dc0d77e to ee1edd1 Compare April 22, 2026 03:10
@kitlangton kitlangton force-pushed the kit/session-schema-messages branch from eebe1f7 to c7ba857 Compare April 22, 2026 03:12
@kitlangton kitlangton force-pushed the kit/session-schema-cursor branch from ee1edd1 to 7d2ea87 Compare April 22, 2026 03:12
@kitlangton kitlangton force-pushed the kit/session-schema-messages branch from c7ba857 to 6241e36 Compare April 22, 2026 03:18
@kitlangton kitlangton force-pushed the kit/session-schema-cursor branch from 7d2ea87 to 41daea9 Compare April 22, 2026 03:18
Base automatically changed from kit/session-schema-messages to dev April 22, 2026 03:26
Tiny cleanup; Cursor is only used for paginated message queries, not on the SDK surface.
@kitlangton kitlangton force-pushed the kit/session-schema-cursor branch from 41daea9 to 6998866 Compare April 22, 2026 03:27
@kitlangton kitlangton merged commit 1593c3e into dev Apr 22, 2026
8 checks passed
@kitlangton kitlangton deleted the kit/session-schema-cursor branch April 22, 2026 03:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant