orca-board 0.1.0__tar.gz

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.
@@ -0,0 +1,42 @@
1
+ # Python
2
+ __pycache__/
3
+ *.pyc
4
+ *.egg-info/
5
+ .venv/
6
+ venv/
7
+ dist/
8
+ build/
9
+
10
+ # Databases: never commit an Orca database or a copy of one. The tests build their fixtures at run
11
+ # time in a temp dir (tests/fixture_db.py), so no database file belongs in the repo.
12
+ *.db
13
+ *.db-wal
14
+ *.db-shm
15
+ *.db-journal
16
+ *.sqlite
17
+ *.sqlite3
18
+ *.sqlite-wal
19
+ *.sqlite-shm
20
+
21
+ # Secrets and local environment
22
+ .env
23
+ .env.*
24
+ *.env
25
+ *.pem
26
+ *.key
27
+ *.p12
28
+ *.pfx
29
+ id_rsa*
30
+ id_ed25519*
31
+ .netrc
32
+ .npmrc
33
+ .pypirc
34
+
35
+ # Editors and OS
36
+ .DS_Store
37
+ .idea/
38
+ .vscode/
39
+ *.swp
40
+
41
+ # Node (orca-panel has no install step, but keep a stray install out)
42
+ node_modules/
@@ -0,0 +1,33 @@
1
+ # Changelog
2
+
3
+ All notable changes to this project are documented in this file.
4
+
5
+ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and this project adheres to
6
+ [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
+
8
+ ## [Unreleased]
9
+
10
+ ## [0.1.0] - 2026-11-29
11
+
12
+ First public release.
13
+
14
+ ### Added
15
+
16
+ - Read-only server (`server.py`, Python standard library only) on `127.0.0.1:8510`, with `/api/snapshot`,
17
+ `/api/events` (Server-Sent Events), `/api/history` and `/api/health`.
18
+ - All SQL in `board_sql.py`: SELECT-only, connections opened with `mode=ro` and `PRAGMA query_only=ON`, and a
19
+ `REQUIRED_COLUMNS` schema check reported by `/api/health` (`schema_ok`, `missing`).
20
+ - Board page (`index.html`, d3 7.9.0 vendored): a left-to-right task tree by `parent_id` with dependency edges,
21
+ worker badges (agent, model, presence, retries), worker-spawned workers, pulses, completion flashes and failure
22
+ shakes, message particles by type, decision-gate diamonds, a side panel, an event ticker, a replay scrubber, dark
23
+ mode and reduced-motion support.
24
+ - Live stats strip for the focused run: tasks, workers, messages, gates and timing.
25
+ - Synthetic mock server (`dev/mock_api.py`, port 8519) for development and screenshots.
26
+ - Test suite: `python3 -m unittest -v`, with an optional live smoke test on a copy of the real database
27
+ (`ORCA_BOARD_TEST_LIVE=1`).
28
+ - Experimental Orca sidebar plugin (`orca-panel/`) that reads the board's API.
29
+ - Hardened systemd user unit.
30
+ - Documentation, licence (MIT) and community files.
31
+
32
+ [Unreleased]: https://github.com/ClemenceChee/orca-board/compare/v0.1.0...HEAD
33
+ [0.1.0]: https://github.com/ClemenceChee/orca-board/releases/tag/v0.1.0
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Contextum AI & Data Solutions GmbH
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.
@@ -0,0 +1,129 @@
1
+ Metadata-Version: 2.5
2
+ Name: orca-board
3
+ Version: 0.1.0
4
+ Summary: A read-only live board for Orca orchestration runs: task tree, workers, gates and messages in the browser.
5
+ Project-URL: Homepage, https://github.com/ClemenceChee/orca-board
6
+ Project-URL: Documentation, https://github.com/ClemenceChee/orca-board/tree/main/docs
7
+ Project-URL: Issues, https://github.com/ClemenceChee/orca-board/issues
8
+ Project-URL: Changelog, https://github.com/ClemenceChee/orca-board/blob/main/CHANGELOG.md
9
+ Project-URL: Source, https://github.com/ClemenceChee/orca-board
10
+ Author: ClemenceChee
11
+ License-Expression: MIT
12
+ License-File: LICENSE
13
+ License-File: orca_board/static/vendor/LICENSE-d3
14
+ Keywords: agents,dashboard,orca,orchestration,sqlite,sse
15
+ Classifier: Development Status :: 4 - Beta
16
+ Classifier: Environment :: Web Environment
17
+ Classifier: Intended Audience :: Developers
18
+ Classifier: Operating System :: OS Independent
19
+ Classifier: Programming Language :: Python :: 3
20
+ Classifier: Programming Language :: Python :: 3 :: Only
21
+ Classifier: Programming Language :: Python :: 3.11
22
+ Classifier: Programming Language :: Python :: 3.12
23
+ Classifier: Programming Language :: Python :: 3.13
24
+ Classifier: Programming Language :: Python :: 3.14
25
+ Classifier: Topic :: Software Development
26
+ Classifier: Topic :: System :: Monitoring
27
+ Requires-Python: >=3.11
28
+ Description-Content-Type: text/markdown
29
+
30
+ # Orca Board
31
+
32
+ **A live, read-only board of Orca agent orchestration: coordinators, workers, task lineage, message flow and decision gates.**
33
+
34
+ [![License: MIT](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/ClemenceChee/orca-board/blob/main/LICENSE)
35
+ [![Python 3.11+](https://img.shields.io/badge/python-3.11%2B-blue.svg)](https://www.python.org/)
36
+ [![Zero dependencies](https://img.shields.io/badge/dependencies-0-brightgreen.svg)](https://github.com/ClemenceChee/orca-board/blob/main/docs/explanation/architecture.md)
37
+ [![CI](https://github.com/ClemenceChee/orca-board/actions/workflows/ci.yml/badge.svg)](https://github.com/ClemenceChee/orca-board/actions/workflows/ci.yml)
38
+
39
+ ![Orca Board on synthetic data: message particles fly between nodes, a task completes, another fails, the stats strip updates](https://raw.githubusercontent.com/ClemenceChee/orca-board/main/docs/demo.gif)
40
+
41
+ ## Why
42
+
43
+ When an [Orca](https://github.com/stablyai/orca) coordinator fans work out to a dozen agents, the terminal tells you
44
+ little about who is doing what. Orca Board shows the whole run as one live tree: which task each worker holds, what
45
+ they report back, what failed and where a human decision is waiting. It reads Orca's database and never writes to it.
46
+
47
+ ## Features
48
+
49
+ - **Task tree, left to right**: tasks nest by `parent_id` under the coordinator, with dashed dependency edges.
50
+ - **Workers on every task**: agent, model and presence badges, retry counts, and sub-workers that workers started.
51
+ - **Motion that means something**: a pulse while busy, a flash on completion, a shake on failure.
52
+ - **Message particles by type**: dispatches, reports, questions and escalations, heartbeats.
53
+ - **Decision-gate diamonds**: amber while open, settled once resolved.
54
+ - **Stats strip**: whole-run totals for tasks, workers, messages, gates and time.
55
+ - **Side panel, ticker and replay scrubber**: details on click, the latest events, and a run played back at up to 60×.
56
+ - **Live over SSE**, dark mode, keyboard navigation, reduced motion. Python standard library only; nothing to install.
57
+
58
+ | Side panel | Replay | Dark |
59
+ |---|---|---|
60
+ | ![Side panel open on a task](https://raw.githubusercontent.com/ClemenceChee/orca-board/main/docs/screenshots/board-panel-1440.png) | ![Replay scrubber halfway through a run](https://raw.githubusercontent.com/ClemenceChee/orca-board/main/docs/screenshots/board-replay-1440.png) | ![Board in dark mode](https://raw.githubusercontent.com/ClemenceChee/orca-board/main/docs/screenshots/board-dark-1440.png) |
61
+
62
+ ## Install
63
+
64
+ You need Python 3.11+ and an Orca install that has run at least one orchestration (it creates `orchestration.db`).
65
+
66
+ ```sh
67
+ uvx orca-board # one command, nothing to clone
68
+ pipx run orca-board # the same with pipx
69
+ ```
70
+
71
+ To keep it installed: `uv tool install orca-board` or `pipx install orca-board`, then run `orca-board`.
72
+
73
+ From source:
74
+
75
+ ```sh
76
+ git clone https://github.com/ClemenceChee/orca-board && cd orca-board && python3 server.py
77
+ ```
78
+
79
+ | | Linux | macOS | Windows |
80
+ |---|---|---|---|
81
+ | Install | `uvx orca-board` or `pipx run orca-board` | the same | the same (or `py -m pip install orca-board`) |
82
+ | Orca's database, found by default | `~/.orca/orchestration.db` (confirmed) | `~/.orca/` or `~/Library/Application Support/orca/` | `%USERPROFILE%\.orca\` or `%APPDATA%\orca\` |
83
+ | Run in the background | `--print-systemd-unit` (systemd) | `--print-launchd-plist` (launchd) | `--print-windows-task` (Task Scheduler) |
84
+ | In the CI test matrix | yes | yes | yes |
85
+
86
+ The macOS and Windows database locations come from Orca's source and are not yet confirmed on a real install; if the
87
+ board does not find the database, pass `--db PATH`. Per-OS steps: [install](https://github.com/ClemenceChee/orca-board/blob/main/docs/guides/install.md).
88
+
89
+ ## Quick start
90
+
91
+ 1. Start it: `orca-board` (or `python3 server.py` in a clone).
92
+ 2. Open <http://127.0.0.1:8510>. The board follows the most recently active run; pick another in the left rail.
93
+ 3. Start an orchestration in Orca and watch it fill in.
94
+
95
+ No Orca run yet? `python3 dev/mock_api.py` serves the board with synthetic data on <http://127.0.0.1:8519>.
96
+ Other port: `orca-board --port 8511`. Other database: `orca-board --db PATH`.
97
+
98
+ > [!WARNING]
99
+ > The board has no authentication and listens on `127.0.0.1` only. For access from another machine use an SSH tunnel
100
+ > or a private VPN: see [remote access](https://github.com/ClemenceChee/orca-board/blob/main/docs/guides/remote-access.md).
101
+
102
+ ## Documentation
103
+
104
+ - [Getting started](https://github.com/ClemenceChee/orca-board/blob/main/docs/getting-started.md): run the mock, learn to read the board, then point it at your Orca.
105
+ - Guides: [run as a service](https://github.com/ClemenceChee/orca-board/blob/main/docs/guides/run-as-a-service.md) · [remote access](https://github.com/ClemenceChee/orca-board/blob/main/docs/guides/remote-access.md) ·
106
+ [Orca panel (experimental)](https://github.com/ClemenceChee/orca-board/blob/main/docs/guides/orca-panel.md) · [troubleshooting](https://github.com/ClemenceChee/orca-board/blob/main/docs/guides/troubleshooting.md)
107
+ - Reference: [configuration](https://github.com/ClemenceChee/orca-board/blob/main/docs/reference/configuration.md) · [HTTP API](https://github.com/ClemenceChee/orca-board/blob/main/docs/reference/api.md) ·
108
+ [data map](https://github.com/ClemenceChee/orca-board/blob/main/docs/reference/data-map.md)
109
+ - Explanation: [architecture and the read-only guarantee](https://github.com/ClemenceChee/orca-board/blob/main/docs/explanation/architecture.md)
110
+ - [Changelog](https://github.com/ClemenceChee/orca-board/blob/main/CHANGELOG.md)
111
+
112
+ Tested with Orca 1.4.274; `/api/health` reports schema drift on other versions.
113
+
114
+ ## Contributing
115
+
116
+ Bug reports, ideas and pull requests are welcome; read [CONTRIBUTING.md](https://github.com/ClemenceChee/orca-board/blob/main/CONTRIBUTING.md) first. The one hard rule:
117
+ the board stays read-only. Questions go to [SUPPORT.md](https://github.com/ClemenceChee/orca-board/blob/main/SUPPORT.md), vulnerabilities to [SECURITY.md](https://github.com/ClemenceChee/orca-board/blob/main/SECURITY.md).
118
+ This project follows a [code of conduct](https://github.com/ClemenceChee/orca-board/blob/main/CODE_OF_CONDUCT.md).
119
+
120
+ ```sh
121
+ python3 -m unittest -v # the test suite; needs no Orca install
122
+ node --test 'orca-panel/test/**/*.test.ts' # the panel's logic
123
+ ```
124
+
125
+ ## License
126
+
127
+ [MIT](https://github.com/ClemenceChee/orca-board/blob/main/LICENSE) © 2026 Contextum AI & Data Solutions GmbH. Includes [d3](https://d3js.org) 7.9.0 (ISC, [orca_board/static/vendor/LICENSE-d3](https://github.com/ClemenceChee/orca-board/blob/main/orca_board/static/vendor/LICENSE-d3)).
128
+
129
+ Orca Board is an independent project. It is not affiliated with or endorsed by the Orca project.
@@ -0,0 +1,100 @@
1
+ # Orca Board
2
+
3
+ **A live, read-only board of Orca agent orchestration: coordinators, workers, task lineage, message flow and decision gates.**
4
+
5
+ [![License: MIT](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/ClemenceChee/orca-board/blob/main/LICENSE)
6
+ [![Python 3.11+](https://img.shields.io/badge/python-3.11%2B-blue.svg)](https://www.python.org/)
7
+ [![Zero dependencies](https://img.shields.io/badge/dependencies-0-brightgreen.svg)](https://github.com/ClemenceChee/orca-board/blob/main/docs/explanation/architecture.md)
8
+ [![CI](https://github.com/ClemenceChee/orca-board/actions/workflows/ci.yml/badge.svg)](https://github.com/ClemenceChee/orca-board/actions/workflows/ci.yml)
9
+
10
+ ![Orca Board on synthetic data: message particles fly between nodes, a task completes, another fails, the stats strip updates](https://raw.githubusercontent.com/ClemenceChee/orca-board/main/docs/demo.gif)
11
+
12
+ ## Why
13
+
14
+ When an [Orca](https://github.com/stablyai/orca) coordinator fans work out to a dozen agents, the terminal tells you
15
+ little about who is doing what. Orca Board shows the whole run as one live tree: which task each worker holds, what
16
+ they report back, what failed and where a human decision is waiting. It reads Orca's database and never writes to it.
17
+
18
+ ## Features
19
+
20
+ - **Task tree, left to right**: tasks nest by `parent_id` under the coordinator, with dashed dependency edges.
21
+ - **Workers on every task**: agent, model and presence badges, retry counts, and sub-workers that workers started.
22
+ - **Motion that means something**: a pulse while busy, a flash on completion, a shake on failure.
23
+ - **Message particles by type**: dispatches, reports, questions and escalations, heartbeats.
24
+ - **Decision-gate diamonds**: amber while open, settled once resolved.
25
+ - **Stats strip**: whole-run totals for tasks, workers, messages, gates and time.
26
+ - **Side panel, ticker and replay scrubber**: details on click, the latest events, and a run played back at up to 60×.
27
+ - **Live over SSE**, dark mode, keyboard navigation, reduced motion. Python standard library only; nothing to install.
28
+
29
+ | Side panel | Replay | Dark |
30
+ |---|---|---|
31
+ | ![Side panel open on a task](https://raw.githubusercontent.com/ClemenceChee/orca-board/main/docs/screenshots/board-panel-1440.png) | ![Replay scrubber halfway through a run](https://raw.githubusercontent.com/ClemenceChee/orca-board/main/docs/screenshots/board-replay-1440.png) | ![Board in dark mode](https://raw.githubusercontent.com/ClemenceChee/orca-board/main/docs/screenshots/board-dark-1440.png) |
32
+
33
+ ## Install
34
+
35
+ You need Python 3.11+ and an Orca install that has run at least one orchestration (it creates `orchestration.db`).
36
+
37
+ ```sh
38
+ uvx orca-board # one command, nothing to clone
39
+ pipx run orca-board # the same with pipx
40
+ ```
41
+
42
+ To keep it installed: `uv tool install orca-board` or `pipx install orca-board`, then run `orca-board`.
43
+
44
+ From source:
45
+
46
+ ```sh
47
+ git clone https://github.com/ClemenceChee/orca-board && cd orca-board && python3 server.py
48
+ ```
49
+
50
+ | | Linux | macOS | Windows |
51
+ |---|---|---|---|
52
+ | Install | `uvx orca-board` or `pipx run orca-board` | the same | the same (or `py -m pip install orca-board`) |
53
+ | Orca's database, found by default | `~/.orca/orchestration.db` (confirmed) | `~/.orca/` or `~/Library/Application Support/orca/` | `%USERPROFILE%\.orca\` or `%APPDATA%\orca\` |
54
+ | Run in the background | `--print-systemd-unit` (systemd) | `--print-launchd-plist` (launchd) | `--print-windows-task` (Task Scheduler) |
55
+ | In the CI test matrix | yes | yes | yes |
56
+
57
+ The macOS and Windows database locations come from Orca's source and are not yet confirmed on a real install; if the
58
+ board does not find the database, pass `--db PATH`. Per-OS steps: [install](https://github.com/ClemenceChee/orca-board/blob/main/docs/guides/install.md).
59
+
60
+ ## Quick start
61
+
62
+ 1. Start it: `orca-board` (or `python3 server.py` in a clone).
63
+ 2. Open <http://127.0.0.1:8510>. The board follows the most recently active run; pick another in the left rail.
64
+ 3. Start an orchestration in Orca and watch it fill in.
65
+
66
+ No Orca run yet? `python3 dev/mock_api.py` serves the board with synthetic data on <http://127.0.0.1:8519>.
67
+ Other port: `orca-board --port 8511`. Other database: `orca-board --db PATH`.
68
+
69
+ > [!WARNING]
70
+ > The board has no authentication and listens on `127.0.0.1` only. For access from another machine use an SSH tunnel
71
+ > or a private VPN: see [remote access](https://github.com/ClemenceChee/orca-board/blob/main/docs/guides/remote-access.md).
72
+
73
+ ## Documentation
74
+
75
+ - [Getting started](https://github.com/ClemenceChee/orca-board/blob/main/docs/getting-started.md): run the mock, learn to read the board, then point it at your Orca.
76
+ - Guides: [run as a service](https://github.com/ClemenceChee/orca-board/blob/main/docs/guides/run-as-a-service.md) · [remote access](https://github.com/ClemenceChee/orca-board/blob/main/docs/guides/remote-access.md) ·
77
+ [Orca panel (experimental)](https://github.com/ClemenceChee/orca-board/blob/main/docs/guides/orca-panel.md) · [troubleshooting](https://github.com/ClemenceChee/orca-board/blob/main/docs/guides/troubleshooting.md)
78
+ - Reference: [configuration](https://github.com/ClemenceChee/orca-board/blob/main/docs/reference/configuration.md) · [HTTP API](https://github.com/ClemenceChee/orca-board/blob/main/docs/reference/api.md) ·
79
+ [data map](https://github.com/ClemenceChee/orca-board/blob/main/docs/reference/data-map.md)
80
+ - Explanation: [architecture and the read-only guarantee](https://github.com/ClemenceChee/orca-board/blob/main/docs/explanation/architecture.md)
81
+ - [Changelog](https://github.com/ClemenceChee/orca-board/blob/main/CHANGELOG.md)
82
+
83
+ Tested with Orca 1.4.274; `/api/health` reports schema drift on other versions.
84
+
85
+ ## Contributing
86
+
87
+ Bug reports, ideas and pull requests are welcome; read [CONTRIBUTING.md](https://github.com/ClemenceChee/orca-board/blob/main/CONTRIBUTING.md) first. The one hard rule:
88
+ the board stays read-only. Questions go to [SUPPORT.md](https://github.com/ClemenceChee/orca-board/blob/main/SUPPORT.md), vulnerabilities to [SECURITY.md](https://github.com/ClemenceChee/orca-board/blob/main/SECURITY.md).
89
+ This project follows a [code of conduct](https://github.com/ClemenceChee/orca-board/blob/main/CODE_OF_CONDUCT.md).
90
+
91
+ ```sh
92
+ python3 -m unittest -v # the test suite; needs no Orca install
93
+ node --test 'orca-panel/test/**/*.test.ts' # the panel's logic
94
+ ```
95
+
96
+ ## License
97
+
98
+ [MIT](https://github.com/ClemenceChee/orca-board/blob/main/LICENSE) © 2026 Contextum AI & Data Solutions GmbH. Includes [d3](https://d3js.org) 7.9.0 (ISC, [orca_board/static/vendor/LICENSE-d3](https://github.com/ClemenceChee/orca-board/blob/main/orca_board/static/vendor/LICENSE-d3)).
99
+
100
+ Orca Board is an independent project. It is not affiliated with or endorsed by the Orca project.
@@ -0,0 +1,3 @@
1
+ """Orca Board: a read-only live view of Orca orchestration."""
2
+
3
+ __version__ = "0.1.0"
@@ -0,0 +1,5 @@
1
+ """`python -m orca_board`: the same as the `orca-board` command."""
2
+
3
+ from orca_board.server import main
4
+
5
+ raise SystemExit(main())