onepipeline-api-cli 0.3.1__py3-none-win_amd64.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- onepipeline_api_cli-0.3.1.data/scripts/onepipeline-api.exe +0 -0
- onepipeline_api_cli-0.3.1.dist-info/METADATA +106 -0
- onepipeline_api_cli-0.3.1.dist-info/RECORD +6 -0
- onepipeline_api_cli-0.3.1.dist-info/WHEEL +4 -0
- onepipeline_api_cli-0.3.1.dist-info/licenses/LICENSE +21 -0
- onepipeline_api_cli-0.3.1.dist-info/sboms/onepipeline-ui.cyclonedx.json +7430 -0
|
Binary file
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: onepipeline-api-cli
|
|
3
|
+
Version: 0.3.1
|
|
4
|
+
Classifier: Development Status :: 3 - Alpha
|
|
5
|
+
Classifier: Environment :: Console
|
|
6
|
+
Classifier: Intended Audience :: Developers
|
|
7
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
8
|
+
Classifier: Operating System :: OS Independent
|
|
9
|
+
Classifier: Programming Language :: Rust
|
|
10
|
+
Classifier: Topic :: Software Development :: Quality Assurance
|
|
11
|
+
Classifier: Topic :: System :: Monitoring
|
|
12
|
+
License-File: LICENSE
|
|
13
|
+
Summary: Read API and browser view for onepipeline runs.
|
|
14
|
+
Keywords: cli,api,telemetry,observability,onepipeline
|
|
15
|
+
Home-Page: https://github.com/nickderobertis/onepipeline-ui
|
|
16
|
+
Author: Nick DeRobertis
|
|
17
|
+
License: MIT
|
|
18
|
+
Requires-Python: >=3.9
|
|
19
|
+
Description-Content-Type: text/markdown; charset=UTF-8; variant=GFM
|
|
20
|
+
Project-URL: Homepage, https://github.com/nickderobertis/onepipeline-ui
|
|
21
|
+
Project-URL: Repository, https://github.com/nickderobertis/onepipeline-ui
|
|
22
|
+
|
|
23
|
+
# onepipeline-ui
|
|
24
|
+
|
|
25
|
+
The read API and browser view for [onepipeline](https://github.com/nickderobertis/onepipeline)
|
|
26
|
+
runs: an axum server wrapping the onepipeline SDK, plus the frontend that reads it.
|
|
27
|
+
|
|
28
|
+
## The contract
|
|
29
|
+
|
|
30
|
+
[`docs/contract.md`](docs/contract.md) is the source of truth, quoted verbatim
|
|
31
|
+
from the task that commissioned this repository. `tests/contract.rs` reconciles
|
|
32
|
+
the code against it, so a route that exists in one and not the other fails the
|
|
33
|
+
gate.
|
|
34
|
+
|
|
35
|
+
```
|
|
36
|
+
GET /healthz
|
|
37
|
+
GET /api/v2/runs # list w/ session attribution
|
|
38
|
+
GET /api/v2/runs/{run} ?include_conversations=bool
|
|
39
|
+
GET /api/v2/runs/{run}/timeline ?scope=run|node&node=ID
|
|
40
|
+
GET /api/v2/runs/{run}/conversations/{id}
|
|
41
|
+
GET /api/v2/runs/{run}/artifacts/{id}
|
|
42
|
+
GET /api/v2/events # SSE; fresh snapshot per connection
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
Every successful response carries the schema-version preamble —
|
|
46
|
+
`api_version`, `telemetry_schema_version` (10), `observed_at` — with the payload
|
|
47
|
+
flattened alongside it. Every failure carries `{"error": {"code", "message"}}`.
|
|
48
|
+
|
|
49
|
+
Payloads themselves come from the onepipeline SDK. Anything presentation-worthy
|
|
50
|
+
lands there first, so the agent reading the CLI sees at least what the human in
|
|
51
|
+
the UI sees; this crate owns the envelope, not the records.
|
|
52
|
+
|
|
53
|
+
## The view
|
|
54
|
+
|
|
55
|
+
[`apps/dag-ui`](docs/dag-ui.md) is the DAG Observatory: the browser view of the
|
|
56
|
+
same runs, reading nothing but the contract above. It declares no schema, event
|
|
57
|
+
name, or API path of its own — `packages/dag-model` holds the contract's client
|
|
58
|
+
half, `packages/telemetry-client` is the only thing that speaks HTTP, and
|
|
59
|
+
`packages/dag-layout` is the graph geometry. [`docs/dag-ui.md`](docs/dag-ui.md)
|
|
60
|
+
is its design record.
|
|
61
|
+
|
|
62
|
+
## Install
|
|
63
|
+
|
|
64
|
+
Two deliverables, split by what they contain.
|
|
65
|
+
|
|
66
|
+
The read API, as the same prebuilt binary on three registries:
|
|
67
|
+
|
|
68
|
+
```bash
|
|
69
|
+
cargo install onepipeline-ui --locked # from crates.io
|
|
70
|
+
pip install onepipeline-api-cli # prebuilt wheel, no Rust toolchain
|
|
71
|
+
npm install -g onepipeline-api-cli # prebuilt binary, no Rust toolchain
|
|
72
|
+
```
|
|
73
|
+
|
|
74
|
+
All three install one command, `onepipeline-api`:
|
|
75
|
+
|
|
76
|
+
```bash
|
|
77
|
+
onepipeline-api serve --runs-root ./runs
|
|
78
|
+
```
|
|
79
|
+
|
|
80
|
+
The view, as a static bundle on npm alone:
|
|
81
|
+
|
|
82
|
+
```bash
|
|
83
|
+
npm install onepipeline-ui # the built frontend under dist/
|
|
84
|
+
```
|
|
85
|
+
|
|
86
|
+
That package installs no command — it is `dist/`, to be served statically.
|
|
87
|
+
|
|
88
|
+
Prebuilt archives and their `.sha256` checksums are also attached to every
|
|
89
|
+
[GitHub Release](https://github.com/nickderobertis/onepipeline-ui/releases).
|
|
90
|
+
|
|
91
|
+
## Develop
|
|
92
|
+
|
|
93
|
+
```bash
|
|
94
|
+
just bootstrap # from a clean clone
|
|
95
|
+
just check # the deterministic gate, every project
|
|
96
|
+
just gate # `check` plus the llmlint LLM-judge tier — the pre-push bar
|
|
97
|
+
just dag-ui-screens # photograph the view at every viewport into a gallery
|
|
98
|
+
```
|
|
99
|
+
|
|
100
|
+
`just --list` is the full command surface. [`AGENTS.md`](AGENTS.md) is the
|
|
101
|
+
durable instruction layer for humans and agents working here.
|
|
102
|
+
|
|
103
|
+
## License
|
|
104
|
+
|
|
105
|
+
MIT. See [LICENSE](LICENSE).
|
|
106
|
+
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
onepipeline_api_cli-0.3.1.data/scripts/onepipeline-api.exe,sha256=7xuNM0YROeMVWLqyifafadhi-g5iOPL6ELXPz4p7J6U,3758592
|
|
2
|
+
onepipeline_api_cli-0.3.1.dist-info/METADATA,sha256=0fal7HjW_fOWQw8qUpna9dvYS9S31CQ_ZoRFsCIY9wI,3894
|
|
3
|
+
onepipeline_api_cli-0.3.1.dist-info/WHEEL,sha256=2zDlIYIdD4m4N3p5DVEG3iJhGLdhsBQgdH-FqVkAur8,94
|
|
4
|
+
onepipeline_api_cli-0.3.1.dist-info/licenses/LICENSE,sha256=JeBGdcXIUkoTZEHhkKd-FmKgdgumkH509Ob1QWJomVE,1072
|
|
5
|
+
onepipeline_api_cli-0.3.1.dist-info/sboms/onepipeline-ui.cyclonedx.json,sha256=uJhl3zinpiV0KgA9ZLiSARVhP45vDIIO8QOJIP4oyF0,237567
|
|
6
|
+
onepipeline_api_cli-0.3.1.dist-info/RECORD,,
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Nick DeRobertis
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|