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

Uploaded Python 3Windows x86-64

onepipeline_api_cli-0.3.2-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.2-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.2-py3-none-macosx_11_0_arm64.whl (1.3 MB view details)

Uploaded Python 3macOS 11.0+ ARM64

onepipeline_api_cli-0.3.2-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.2-py3-none-win_amd64.whl.

File metadata

File hashes

Hashes for onepipeline_api_cli-0.3.2-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 c05b144f47329b4ab9b3dc31b42c9c5a6dedb75eb0e7d512140e133170c05c1d
MD5 bb02e2c02c7efab1b3df6ce0caf63436
BLAKE2b-256 6e0df0a6d43862014965525f0e7d85e2b29c18c223a19d6c286bdd4e66981196

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for onepipeline_api_cli-0.3.2-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 3e5ac6f62b1ec2672b336a557c36a82a63bc5657de6bc6bcdb4bc289f2acb73c
MD5 8657a5734e3ed7094586431024187c01
BLAKE2b-256 5e507226d8b28ce10ef609c6c707543951dbe5c204cca708aeaa6fe308586bec

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for onepipeline_api_cli-0.3.2-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 5537da025d3228100c22205839ebc906783ae950d5289ac510ca357e8087a611
MD5 1c870536f5992b530fb5350eeb1e9539
BLAKE2b-256 682b5fd2c2f8162cca772e3fd424b4249666dea1b823f70d0bc458ac2c89cc9a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for onepipeline_api_cli-0.3.2-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 2075505cea6d8db488c7ef8a0b7c3be09aa3ce0a3eb2abf40ea01c53a6af84c8
MD5 6c53f2920078487bc402535e1c752450
BLAKE2b-256 079898a3283ae24714b60156307550a2b9c2d546212408f4497b49e448bc7a9a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for onepipeline_api_cli-0.3.2-py3-none-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 0f6e03b7becab9f640f87056f8264b1d24cb32ed95de9e549534f793166f81ee
MD5 2757e4f89fc9ba20b5fdee03826967a0
BLAKE2b-256 400556e8989e4d6461d967f80e88dec8848b6aa4b520c2b8781cff2285b91739

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