Skip to content

refactor(schema): apply session review decisions#35793

Merged
kitlangton merged 14 commits into
v2from
session-schema-review
Jul 8, 2026
Merged

refactor(schema): apply session review decisions#35793
kitlangton merged 14 commits into
v2from
session-schema-review

Conversation

@kitlangton

@kitlangton kitlangton commented Jul 7, 2026

Copy link
Copy Markdown
Contributor

Summary

  • normalize reviewed V2 Session, SessionMessage, Agent, Skill, token, money, snapshot, and revert contracts
  • update Session projection/runtime behavior for flat shell messages, streaming tool state, metadata, and status-discriminated compaction
  • migrate persisted prelaunch V2 rows and durable events in place to the reviewed contracts, regenerating current client and JavaScript SDK surfaces
  • migrate CLI, TUI, App, Session UI, Plugin, and Enterprise consumers to the normalized generated names and stable skill IDs

Verification

  • affected package typechecks: Schema, Core, Protocol, Client, Server, CLI, TUI, Plugin, App, Session UI, Enterprise, SDK
  • Schema contract/event tests: 17 passed
  • focused Core session tests: 154 passed in final run; broader changed-file run: 227 passed
  • focused TUI tests: 44 passed
  • Prettier, oxlint (0 errors), and git diff --check

Closes #35786

# ------------------------ >8 ------------------------
# Do not modify or remove the line above.
# Everything below it will be ignored.
#
# Conflicts:
#	packages/tui/src/component/prompt/index.tsx
# ------------------------ >8 ------------------------
# Do not modify or remove the line above.
# Everything below it will be ignored.
#
# Conflicts:
#	packages/sdk/js/src/v2/gen/sdk.gen.ts
@kitlangton
kitlangton merged commit ed6ad27 into v2 Jul 8, 2026
6 of 8 checks passed
@kitlangton
kitlangton deleted the session-schema-review branch July 8, 2026 02:10
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