Skip to content

fix(sdk): separate session transfer client - #40951

Open
opencode-agent[bot] wants to merge 1 commit into
v2from
session-transfer-client
Open

fix(sdk): separate session transfer client#40951
opencode-agent[bot] wants to merge 1 commit into
v2from
session-transfer-client

Conversation

@opencode-agent

@opencode-agent opencode-agent Bot commented Aug 7, 2026

Copy link
Copy Markdown
Contributor

Summary

  • model session import/export as a dedicated sessionTransfer protocol and SDK group while preserving the existing HTTP routes
  • replace the CLI import command’s hand-written request and response decoder with client.sessionTransfer.import(...)
  • handle import conflicts through the generated ConflictError guard and move export callers onto the same generated client namespace
  • regenerate the Promise and Effect clients

Checks

  • bun test test/import-export.test.ts (packages/cli)
  • bun typecheck (packages/client)
  • bun typecheck (packages/cli)
  • bun typecheck (packages/protocol)
  • bun typecheck (packages/server)
  • bun typecheck (packages/tui)
  • generated client determinism check

Requested by: @jlongster (James Long via Slack)

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