Skip to main content

onepipeline-ui

The read API and browser view for onepipeline runs: an axum server wrapping the onepipeline SDK, plus the frontend that reads it.

The contract

docs/contract.md is the source of truth, quoted verbatim from the task that commissioned this repository. tests/contract.rs reconciles the code against it, so a route that exists in one and not the other fails the gate.

GET /healthz
GET /api/v2/runs                      # list w/ session attribution
GET /api/v2/runs/{run}                ?include_conversations=bool
GET /api/v2/runs/{run}/timeline       ?scope=run|node&node=ID
GET /api/v2/runs/{run}/conversations/{id}
GET /api/v2/runs/{run}/artifacts/{id}
GET /api/v2/events                    # SSE; fresh snapshot per connection

Every successful response carries the schema-version preamble — api_version, telemetry_schema_version (10), observed_at — with the payload flattened alongside it. Every failure carries {"error": {"code", "message"}}.

Payloads themselves come from the onepipeline SDK. Anything presentation-worthy lands there first, so the agent reading the CLI sees at least what the human in the UI sees; this crate owns the envelope, not the records.

The view

apps/dag-ui is the DAG Observatory: the browser view of the same runs, reading nothing but the contract above. It declares no schema, event name, or API path of its own — packages/dag-model holds the contract's client half, packages/telemetry-client is the only thing that speaks HTTP, and packages/dag-layout is the graph geometry. docs/dag-ui.md is its design record.

Install

Two deliverables, split by what they contain.

The read API, as the same prebuilt binary on three registries:

cargo install onepipeline-ui --locked  # from crates.io
pip install onepipeline-api-cli        # prebuilt wheel, no Rust toolchain
npm install -g onepipeline-api-cli     # prebuilt binary, no Rust toolchain

All three install one command, onepipeline-api:

onepipeline-api serve --runs-root ./runs

The view, as a static bundle on npm alone:

npm install onepipeline-ui             # the built frontend under dist/

That package installs no command — it is dist/, to be served statically.

Prebuilt archives and their .sha256 checksums are also attached to every GitHub Release.

Develop

just bootstrap        # from a clean clone
just check            # the deterministic gate, every project
just gate             # `check` plus the llmlint LLM-judge tier — the pre-push bar
just dag-ui-screens   # photograph the view at every viewport into a gallery

just --list is the full command surface. AGENTS.md is the durable instruction layer for humans and agents working here.

License

MIT. See LICENSE.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

onepipeline_api_cli-0.7.1-py3-none-win_amd64.whl (2.5 MB view details)

Uploaded Python 3Windows x86-64

onepipeline_api_cli-0.7.1-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.4 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ x86-64

onepipeline_api_cli-0.7.1-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (2.3 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ ARM64

onepipeline_api_cli-0.7.1-py3-none-macosx_11_0_arm64.whl (2.2 MB view details)

Uploaded Python 3macOS 11.0+ ARM64

onepipeline_api_cli-0.7.1-py3-none-macosx_10_12_x86_64.whl (2.4 MB view details)

Uploaded Python 3macOS 10.12+ x86-64

File details

Details for the file onepipeline_api_cli-0.7.1-py3-none-win_amd64.whl.

File metadata

File hashes

Hashes for onepipeline_api_cli-0.7.1-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 0bc90177f84d45ab101ec6c3f922b698f78d404b5a81fc22f7a697594be219f1
MD5 7843985d2f65fd1628398060f738f8eb
BLAKE2b-256 26fe2e457adaaa937845ab5e1a778923f557df6a2cd04e785b9dbfec7a126cce

See more details on using hashes here.

File details

Details for the file onepipeline_api_cli-0.7.1-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for onepipeline_api_cli-0.7.1-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 3cbe4b5fa366417a08aefe55ebd4cea53b9eef0c97b1e08a5eddcfe1f941335b
MD5 dc692c912fd2b62c22e1f53c538a9390
BLAKE2b-256 5421b7c188bb47d5fae7a437912332ad58d0e634c02f05f843a23b1f59344caf

See more details on using hashes here.

File details

Details for the file onepipeline_api_cli-0.7.1-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for onepipeline_api_cli-0.7.1-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 078bc084cd7f4c10c553922643df235735a51b05490f017943441099f6c04d61
MD5 6ddef7bc7d4aa1782f61a48611cd8f1e
BLAKE2b-256 3a727c3645eb6b7b339b60b71ac71884028c5740962b12d5fed44ec39213e113

See more details on using hashes here.

File details

Details for the file onepipeline_api_cli-0.7.1-py3-none-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for onepipeline_api_cli-0.7.1-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 6ffcf512a32013d71f9672a565b07c09e93500c0fc4669cb532ca65b3496e855
MD5 17649baa1be7c7a25310335ed4041c4c
BLAKE2b-256 4f17acde0e265a40d9dea640ea2b3ad75f997d627d2a8ae0afad657ee24a2c47

See more details on using hashes here.

File details

Details for the file onepipeline_api_cli-0.7.1-py3-none-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for onepipeline_api_cli-0.7.1-py3-none-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 1c5b590aff6e7ab1e880d9a512def28e045ed4ddb46bf80da82d0e44e3f61275
MD5 a929797b3fa3ed7b9066c0f838019b3b
BLAKE2b-256 013bb3ae80c85fcfd91b3f371b13d8d54c328bb0ebe29b2857e1ee86749980df

See more details on using hashes here.

Release history Release notifications | RSS feed

0.7.3

5 files

0.7.2

5 files

This release

0.7.1 This release

5 files

0.7.0

5 files

0.6.5

5 files

0.6.4

5 files

0.6.3

5 files

0.6.2

5 files

0.6.1

5 files

0.6.0

5 files

0.5.0

5 files

0.4.0

5 files

0.3.4

5 files

0.3.3

5 files

0.3.2

5 files

0.3.1

5 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page