Documentation¶
This directory is the authoritative index for project documentation. The repository README is a short introduction; design reasoning and research live here.
For an introduction and grouped reading entry points, start with the documentation home.
Current documents¶
Document |
Kind |
Status |
|---|---|---|
Documentation tooling |
Local preview and GitHub Pages |
|
Requirements RFC |
Draft |
|
Protocol draft |
Draft |
|
Protocol draft |
Draft |
|
Protocol draft |
Draft |
|
Protocol draft |
Draft |
|
Protocol draft |
Draft |
|
Protocol draft |
Draft |
|
Protocol draft |
Draft |
|
Protocol draft |
Draft |
|
Protocol draft |
Draft |
|
Protocol draft |
Draft |
|
Protocol draft |
Draft |
|
Protocol draft |
Draft |
|
Design note |
Working note |
|
Engineering assessment and priorities |
Working plan; completed checkpoints and remaining trial work |
|
Upstream architecture research and integration assessment |
Read-only source trace; trial evidence linked separately |
|
Application integration experiment |
Local fixtures and finite OpenAI subscription trial through ConPTY/xterm; completion, search, cancellation, and recorded transport failure |
|
Paired application/renderer experiment |
Three fixed scenarios; regular Pi vs experimental protocol frontend, captured before PTY |
|
Interactive application experiment |
Finite supporting-host trial: local native/lifecycle checks and a separate four-prompt subscription checkpoint |
|
Coding workflow experiment |
Generated project: read, reproduce, edit, test, and follow up through the supporting terminal |
|
Executable prototype |
Experimental |
|
Application-facing API |
Experimental; local JavaScript build, unpublished |
|
SDK application example |
Experimental; built JavaScript and application-owned fallback |
|
Terminal integration example |
Experimental; depends on prototype xterm adapter |
|
Interactive SDK application example |
Experimental; three simulated rounds through bundled ConPTY |
|
Integration measurement |
Experimental; in-process backlog under a controlled render stall |
|
Transport integration measurement |
Experimental; browser byte credits and bundled-ConPTY pause/resume |
|
Transport isolation measurement |
Experimental; normal versus paused reads with independent producer timing |
|
Transport integration measurement |
Experimental; larger browser workload with overlapping producer write delay |
|
Transport failure experiment |
Experimental; local consumption timeout and child shutdown |
|
Implementation policy |
Experimental; retained-state and pending-input accounting |
|
Integration evidence |
Experimental; fixed text corpus, resize, and safe rejection boundaries |
|
Terminal-facing execution |
Experimental; local JavaScript build, unpublished |
|
Experiment record |
Implementation and tests moved to terminal/ |
|
Transport integration probe |
Experimental; tested system/bundled ConPTY outcomes recorded |
|
Process-to-browser integration prototype |
Experimental; fixed Windows bundled-ConPTY scenario |
|
Integration prototype |
Experimental |
|
Browser integration prototype |
Experimental |
|
Browser integration prototype |
Experimental |
|
Browser integration prototype |
Experimental |
|
Browser integration prototype |
Experimental |
|
Browser integration prototype |
Experimental |
|
Experiment record |
Implementation and tests moved to terminal/ |
|
Shared implementation |
Experimental; included in SDK build, unpublished |
|
Feasibility spike |
Experimental |
|
Research note |
Living document |
|
Project policy |
Active |
RFC 0001 is the current foundation of the project. It defines the problem,
project goals, initial responsibility boundaries, and the minimal Block and
Operation model. Detailed agreed semantics are consolidated under
docs/protocol/ while they remain drafts.
Repository layout¶
The three reusable TypeScript modules are private pnpm workspace packages:
@tui-protocol/protocol, @tui-protocol/sdk, and @tui-protocol/terminal.
Run pnpm install at the root before using source commands. Cross-module
imports use those public entries; local imports stay relative. Source entries
resolve to TypeScript, while the SDK and terminal build commands produce
self-contained JavaScript distributions. These names do not imply publication.
The current top-level layout is:
docs/
index.md Documentation home and grouped reading entry points
README.md Documentation index
design/ Working design notes for experiments
prior-art.md Verified related work and project evidence
protocol/ Draft consolidated protocol semantics
rfcs/ Numbered design proposals and decisions
protocol/ Shared Message validation, serialization, and framing
sdk/ Application-facing client and local build
terminal/ Terminal Session, Endpoint, and host adapter contract
examples/ Runnable application and terminal-host examples
prototypes/ Executable semantic and implementation experiments
scripts/ Shared build tooling and repository checks
docs/ Website build commands, checks, and tooling tests
prototypes/ contains semantic models, xterm.js integration experiments, and
retained experiment records. Shared codec and terminal execution code now live
in protocol/ and terminal/. Module tests live with their modules; composed
experiments live under prototypes/integration/. A future spec/ or top-level
tests/ directory needs actual normative documents or reusable conformance
fixtures; neither exists today.