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

Uploaded Python 3Windows x86-64

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

Uploaded Python 3macOS 11.0+ ARM64

onepipeline_api_cli-0.3.3-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.3-py3-none-win_amd64.whl.

File metadata

File hashes

Hashes for onepipeline_api_cli-0.3.3-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 50e20bf7d525b31c6982f64cd39614c8756ac948213e41399085dc00db03d4c3
MD5 017b14b258907b293e39fd58772a1acb
BLAKE2b-256 dd8323d7f0ac7c45e7f67d853f8d9da728789bb984a492d5af030ce3e1add82f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for onepipeline_api_cli-0.3.3-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 8642e4693f222e69a4ab1166ca6ff3805b215753701cec13f522a4034c60a05b
MD5 6047d795a9c99efdc3e628b6e2e9806d
BLAKE2b-256 d49bd92c3b8e77f167ed9c1d2199a70e01343b55d000955526e6a7118ec73a89

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for onepipeline_api_cli-0.3.3-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 cc3eb025926ca5c894dc16129e6d138bf2983a1335efe3c6195613b64bdd1700
MD5 a2e2ca68367477cfd55c38aa50619c86
BLAKE2b-256 8ad64e7ef082c85cb0d367d7db6fc8c76c9bf7ef2f16f9719ac66f8a836884cb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for onepipeline_api_cli-0.3.3-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 2e2992a58549c8fe3cb255b5f71e03a7b2e1e9353586b25426403a0542b6105e
MD5 6f22abc69442b3c2b20e6247007cfd3a
BLAKE2b-256 b21100b4da00bb0ffc17e673c0a687c9f138c300ee7138f52d9f70bc00427413

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for onepipeline_api_cli-0.3.3-py3-none-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 2d7b5e2a1e11096b665f62c02dfdf030a4be1710adeae3f8891fce6a533bbb01
MD5 77b691ab18dba396fe12d85ec31c4ffe
BLAKE2b-256 185cc22419f6f71a988ef9ca00c230b321320f371c7562ae908bd40c380ebf77

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

0.4.0

5 files

0.3.4

5 files

This release

0.3.3 This release

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