Skip to content

reuse client runtime for rpc connections - #75

Merged
tarik02 merged 7 commits into
masterfrom
feature/client-runtime-prepared-connection
Jul 28, 2026
Merged

reuse client runtime for rpc connections#75
tarik02 merged 7 commits into
masterfrom
feature/client-runtime-prepared-connection

Conversation

@tarik02

@tarik02 tarik02 commented Jun 19, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • vendor upstream @t3tools/client-runtime and @t3tools/shared through the existing submodule workflow
  • build CLI PreparedConnection values directly from the current config without adopting EnvironmentRegistry
  • reuse upstream remote auth helpers and RpcSessionFactory for websocket ticketing and RPC session creation
  • keep the private runtime types out of public package barrels

Validation

  • npx pnpm@10.33.2 check
  • npx pnpm@10.33.2 test
  • npx pnpm@10.33.2 build
  • live server smoke checks with built CLI:
    • node dist/bin.js auth status --format json
    • node dist/bin.js model list --format json
    • node dist/bin.js project list --format json
    • node dist/bin.js show --thread 0c145253-1453-4926-8f96-23f313f1c28e --format json
    • node dist/bin.js list --project 94e18030-d2ea-408d-9d25-2cfd7b6c04d0 --format json

@changeset-bot

changeset-bot Bot commented Jun 19, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 4a01b3c

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
t3code-cli Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@tarik02
tarik02 merged commit 267ba43 into master Jul 28, 2026
3 checks passed
@tarik02
tarik02 deleted the feature/client-runtime-prepared-connection branch July 28, 2026 16:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant