paritytech / paritytech/host-rust-core
truapi-host: which modalities can the CLI serve (Pocket, Chat, Input, Widget, payments)
Nobody has claimed this yet.
- Dominant language
- Swift
- Stars
- 10
- Forks
- 3
- Avg merge
- 1d 10h
- Merged PRs (30d)
- 148
Description
Part of #517.
Context
The CLI serves the App modality. Chat is served when the host starts with --execution-kind worker, which installs the CLI's in-memory chat host; with --execution-kind app Chat answers Denied. Pocket, Input and Widget have no CLI path at all, and the playground's Payment and Coin Payment cards fail against the CLI today. A Funding executable type is being specified in #489.
The manifest defines the surfaces a product can expose (App, Widget, Pocket, Chat, Input), so "which modalities can I develop locally" is a question every product engineer will hit.
Questions to answer
- Which modalities the CLI serves, and which are explicitly out of scope.
- How a worker-backed Pocket surface is exercised when there is no host shell to mount a card in.
- Whether Widget runs in the browser flow with a fixed grid viewport.
- What Chat needs beyond the in-memory host, given #487 (Chat Extension v2).
- Whether the payment surfaces (RFC-0006) get a CLI implementation or a documented unsupported answer.
- Whether Funding (#489) should be considered here or tracked separately once its RFC lands.
Whatever the answers, the CLI should report which modalities it is serving at startup instead of failing at the first call.
Contributor guide
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 CLI modality handling described in this issue and read #517, then review the references to #487, RFC-0006, and #489. Determine which modalities are supported or out of scope, how worker-backed surfaces are exercised, and whether Funding belongs here. Done means the scope is decided and the CLI reports its served modalities at startup instead of failing on the first call.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- swift
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Active
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100