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

Uploaded Python 3Windows x86-64

onepipeline_api_cli-0.3.1-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.5 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ x86-64

onepipeline_api_cli-0.3.1-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (1.4 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ ARM64

onepipeline_api_cli-0.3.1-py3-none-macosx_11_0_arm64.whl (1.3 MB view details)

Uploaded Python 3macOS 11.0+ ARM64

onepipeline_api_cli-0.3.1-py3-none-macosx_10_12_x86_64.whl (1.4 MB view details)

Uploaded Python 3macOS 10.12+ x86-64

File details

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

File metadata

File hashes

Hashes for onepipeline_api_cli-0.3.1-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 59b924f39e1425d196473bf22d0c25225af2c103ef606830c06cad5dc0f570ba
MD5 fe151fd616c939cfe1258bf63dab9a7f
BLAKE2b-256 7c6ee5a7e8738765d9eaacf1d56fe4145a47cf079773303ea7cf540e37ac685a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for onepipeline_api_cli-0.3.1-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 e162d2d63c216a74a08ec4c1001260562b38c170c633a54b514df66b8a9ab62f
MD5 e2713f077c230260857060df3d0e31fa
BLAKE2b-256 22c5a1120ecb9c0c43b1237cc749bb5ec015c1194d6eaeb5dd762cbac812e47b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for onepipeline_api_cli-0.3.1-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 deb6d7313a3ba2dbb113c0907e7e14bd906477a80e7d03586754f6e5632476a8
MD5 b844f77cdeb4f9588fd4cefc15e10b0a
BLAKE2b-256 fb855e06fa22030f6e9e26bb39085e00feb671d65d19389076fd836e20af4e19

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for onepipeline_api_cli-0.3.1-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 76a9e111600e1e20e0e4ded36bfdafa3e80632ae96a9a24c045b2eab9365e516
MD5 6e1ef04e166657a2d5ddfc0487e9c1a4
BLAKE2b-256 798d4358e0f8812a9be8b5c72691f0d771a8e9da9c2673f413ed3adc3f7ec671

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for onepipeline_api_cli-0.3.1-py3-none-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 1e24739f7fa1256bb97545e347cd6de2534ca42f27e2bbbc2fee9f2173b64cf2
MD5 971a080a0bc15016a698041a12e89a28
BLAKE2b-256 69d4d4101a3610673deb1fb5c20608c74ec4fbdbee6c70ae4690fb28c135c537

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page