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

Uploaded Python 3Windows x86-64

onepipeline_api_cli-0.4.0-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.4.0-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.4.0-py3-none-macosx_11_0_arm64.whl (1.4 MB view details)

Uploaded Python 3macOS 11.0+ ARM64

onepipeline_api_cli-0.4.0-py3-none-macosx_10_12_x86_64.whl (1.5 MB view details)

Uploaded Python 3macOS 10.12+ x86-64

File details

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

File metadata

File hashes

Hashes for onepipeline_api_cli-0.4.0-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 41d187a1cd69d2d6c12734eac3fa31694231cf1682304ec66a552ebec58001fe
MD5 85b66accf10d3e58da8e8d62000ad16f
BLAKE2b-256 feaf7174464b85f8bfc165c94e08d6cde52dfe98cb77362c91b51347f4e40362

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for onepipeline_api_cli-0.4.0-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 11888c2b34fb3a94c54a61fad5469118dde3f904e9b2aa0bb1f9960bde998fd9
MD5 a15632a21bc2ae2bc503ef84dd28e2e6
BLAKE2b-256 775be79878689ac19ea898055c1fcd57077749782b39254f60731e6fb3fdb5e7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for onepipeline_api_cli-0.4.0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 f7713a0b32b57936a6d8c5821303863b7f3778b6a902a9922c0f7ec9ebde3c64
MD5 ab39a0e719119effc3bb2972965616d4
BLAKE2b-256 a23be9a2da6afec6a5c678aa39d0375c57bad2469969292db3bdd560c4c3606a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for onepipeline_api_cli-0.4.0-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 f097bcc681e33d7c2ce7312112b6f4896cf83903e1024fd3c7afbeb089306c67
MD5 1ea86fc6a745b71c4268584ea481c3f3
BLAKE2b-256 e1e627f1b172002de9ffd6beb5a41e9a2eb508986ccfdfbe229af80f077f7739

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for onepipeline_api_cli-0.4.0-py3-none-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 499c80ad3d0be44980621c022ba4466edc019a8984dc4b822e80ad4e548374f7
MD5 0ea482e3d771a42bdf88134ac515efb3
BLAKE2b-256 a0942d62ecf66415b6fd6d03eae7104e94b98a231e41989885a2b3389b003acd

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

0.6.1

5 files

0.6.0

5 files

0.5.0

5 files

This release

0.4.0 This release

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