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.6.1-py3-none-win_amd64.whl (1.8 MB view details)

Uploaded Python 3Windows x86-64

onepipeline_api_cli-0.6.1-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.8 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ x86-64

onepipeline_api_cli-0.6.1-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (1.7 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ ARM64

onepipeline_api_cli-0.6.1-py3-none-macosx_11_0_arm64.whl (1.6 MB view details)

Uploaded Python 3macOS 11.0+ ARM64

onepipeline_api_cli-0.6.1-py3-none-macosx_10_12_x86_64.whl (1.7 MB view details)

Uploaded Python 3macOS 10.12+ x86-64

File details

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

File metadata

File hashes

Hashes for onepipeline_api_cli-0.6.1-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 efb687a8d682f744e4505121fd8715fc8b4fc5ea011e2bc81beafb911e6cd599
MD5 5584870c568d4c15c7ccaca689be9693
BLAKE2b-256 92a8e3b315df091369b6aead75529f088b0c380ccf22646c3045485a832c6549

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for onepipeline_api_cli-0.6.1-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 072b2ea1166d3ed27e309412b2b79b88fa7e006792d064ce80bb16f12bc041ea
MD5 57473f3506e978464a6cbe8ff192261c
BLAKE2b-256 bd16d1c52039abcd493c83b6fddecb22af84d425061ee91a77cbf387a2bb6408

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for onepipeline_api_cli-0.6.1-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 11833a8b34cc055827220a051638a161e6386160f9c5d52827dcaffb95483978
MD5 3a7854571bbd4e58940bbe507ae84d9f
BLAKE2b-256 db810370ba0714c87ccc7823747d7018451c7be1e35ea28cd80dedb1d7e9beeb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for onepipeline_api_cli-0.6.1-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 b0855fdbbea658b276f7177fd6a209f1bc03bffe11d6b92719f65037aea1d7f4
MD5 04eb4512e535e1f1535190800c210489
BLAKE2b-256 76c1ee5f100bcdfa1ab7e95e8bf1e775b0cd9d5fb4464068a945137ebf0e9cf7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for onepipeline_api_cli-0.6.1-py3-none-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 819974a713d64d65aaee57211658fbcb3f6dbe55dc0b1f961a1564ec2363da71
MD5 1e0747fbfcec044cec03f2adb0214825
BLAKE2b-256 227f6554fb5b66283805d313d2c46f79ef4f44a824fd82cd861da7069c4cf532

See more details on using hashes here.

Release history Release notifications | RSS feed

0.7.3

5 files

0.7.2

5 files

0.7.1

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

This release

0.6.1 This release

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