paritytech / paritytech/playground-cli
Switch to truAPI (retire the triangle-js-sdks host transport)
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 5
- Forks
- 12
- PR merge metrics
- No merged PRs in 30d
Description
Summary
Switch the Host API transport off triangle-js-sdks (the @novasamatech/host-api / host-papp stack) and onto truAPI (@parity/truapi).
Background
The Host to product transport layer used to be provided by triangle-js-sdks, which publishes @novasamatech/host-api and @novasamatech/host-papp. That transport is being retired in favour of @parity/truapi. Newer @parity/product-sdk releases route the host transport through @parity/truapi instead.
This CLI reaches the old transport through @parity/product-sdk-terminal@^0.5.0, which still pulls in the @novasamatech/host-papp chain. There are also two local pnpm patches on @novasamatech/statement-store and @novasamatech/sdk-statement.
What needs to happen
- Bump
@parity/product-sdk-terminalto a release backed by truAPI (latest is 0.6.2) and bump the rest of the product-sdk stack in lockstep. - Re-evaluate the two local patches (
@novasamatech/statement-store,@novasamatech/sdk-statement) once the transport moves; drop any that are fixed upstream and re-pin any that are still needed against the new versions. - Confirm
@parity/truapiresolves to a single instance in the tree. - Verify the SSO handshake and statement-store pairing (topic and SessionId derivation) still work end to end after the switch.
Acceptance criteria
playground initand an SSO pairing complete against the host through truAPI.- No direct
@novasamatech/host-*transport dependency remains other than any strictly test-only transitive use. - The e2e suite passes.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the dependency manifests and pnpm patches for @novasamatech/statement-store and @novasamatech/sdk-statement. Update the product-sdk stack to a truAPI-backed release, then run the e2e suite and verify playground init, SSO pairing, and statement-store topic and SessionId behavior. Done means no direct host-* transport dependency remains beyond any test-only transitive use.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- nodejs, typescript
- Domain
- api, cli, testing
- Issue type
- Refactor
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100