Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,17 @@ All notable changes to OpenOrbit are documented in this file.
The format follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/)
and this project uses [Semantic Versioning](https://semver.org/).

## [0.12.6] - 2026-09-25

### Added

- Added `orbit --version` for inspecting the installed OpenOrbit version.

### Fixed

- Aligned issue discussion typography with the surrounding detail view.
- Kept Run-detail log content within its tab and made the OpenTelemetry trace panel scroll only when needed.

## [0.12.5] - 2026-09-25

### Fixed
Expand Down
2 changes: 1 addition & 1 deletion frontend/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "agent-improvement-console-ui",
"private": true,
"version": "0.12.5",
"version": "0.12.6",
"type": "module",
"scripts": {
"dev": "vite",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@ export function CombinedLogPanel({ steps, locale, empty, orbitLogs, targetLogs,
timestamp: entry.timestamp,
value: `[${entry.level ?? "info"}]${entry.source ? ` ${entry.source}` : ""} ${entry.message}`,
}));
return <div className="console-output combined-log-output"><section><h3>{orbitLogs}</h3>{logSteps.length ? <TimestampedLogOutput lines={logSteps.flatMap(stepLogLines)} locale={locale} /> : <p className="hint">{empty}</p>}</section><section><h3>{targetLogs}</h3>{targetLines.length ? <TimestampedLogOutput lines={targetLines} locale={locale} /> : <p className="hint">{empty}</p>}</section><section><h3>{openTelemetryTrace}</h3><TelemetryTree telemetry={telemetry} loading={loadingOpenTelemetryTrace} empty={noOpenTelemetrySpans} /></section></div>;
return <div className="console-output combined-log-output"><section><h3>{orbitLogs}</h3>{logSteps.length ? <TimestampedLogOutput lines={logSteps.flatMap(stepLogLines)} locale={locale} /> : <p className="hint">{empty}</p>}</section><section><h3>{targetLogs}</h3>{targetLines.length ? <TimestampedLogOutput lines={targetLines} locale={locale} /> : <p className="hint">{empty}</p>}</section><section><h3>{openTelemetryTrace}</h3><div className="open-telemetry-trace"><TelemetryTree telemetry={telemetry} loading={loadingOpenTelemetryTrace} empty={noOpenTelemetrySpans} /></div></section></div>;
}
4 changes: 2 additions & 2 deletions frontend/src/features/issues/discussion.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
.issue-discussion__messages { display:grid; gap:10px; max-height:360px; overflow-y:auto; padding:4px 8px 4px 0; }
.issue-message { display:grid; gap:6px; padding:12px; border:1px solid var(--line); border-radius:9px; background:var(--surface-raised); }
.issue-message header { display:flex; align-items:baseline; justify-content:space-between; gap:12px; }
.issue-message header strong { font-size:12px; }
.proposal-detail .issue-message header strong { font-size:11px; }
.issue-message time,.issue-message small { color:var(--muted); font:10px 'DM Mono',monospace; }
.issue-message p { white-space:pre-wrap; }
.proposal-detail .issue-message p { margin:0; font-size:11px; line-height:1.55; white-space:pre-wrap; }
.issue-discussion__composer { display:grid; gap:8px; padding:12px; border:1px solid var(--line); border-radius:9px; background:var(--bg); }
.issue-discussion__composer textarea { min-height:96px; resize:vertical; }
.issue-discussion__composer .modal-actions { justify-content:flex-end; }
3 changes: 2 additions & 1 deletion frontend/src/theme-overrides.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 10 additions & 0 deletions orbit/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,19 @@
import urllib.error
import urllib.request
import webbrowser
from importlib.metadata import PackageNotFoundError, version
from pathlib import Path
from typing import Any


def package_version() -> str:
"""Return the installed OpenOrbit distribution version."""
try:
return version("openorbit")
except PackageNotFoundError:
return "unknown"


def request(base_url: str, path: str, method: str = "GET", payload: dict[str, Any] | None = None) -> Any:
"""Call the same local API used by the web UI."""
data = json.dumps(payload).encode("utf-8") if payload is not None else None
Expand Down Expand Up @@ -58,6 +67,7 @@ def task_wait_options(command: argparse.ArgumentParser) -> None:

def parser() -> argparse.ArgumentParser:
root = argparse.ArgumentParser(prog="orbit", description=__doc__)
root.add_argument("--version", action="version", version=f"%(prog)s {package_version()}")
root.add_argument("--url", default=os.environ.get("ORBIT_URL", "http://127.0.0.1:8787"))
commands = root.add_subparsers(dest="command", required=True)
run = commands.add_parser("run", help="Start the local OpenOrbit web server.")
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "openorbit",
"version": "0.12.5",
"version": "0.12.6",
"description": "Open control plane for recurring AI automations",
"license": "MIT",
"type": "module",
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "hatchling.build"

[project]
name = "openorbit"
version = "0.12.5"
version = "0.12.6"
description = "Open control plane for recurring AI automations"
readme = "README.md"
license = "MIT"
Expand Down
12 changes: 11 additions & 1 deletion tests/test_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@
import sys
from types import SimpleNamespace

from orbit.cli import main, parser
import pytest

from orbit.cli import main, package_version, parser


def test_cli_exposes_control_room_commands():
Expand All @@ -11,6 +13,14 @@ def test_cli_exposes_control_room_commands():
assert args.workflow_id == "insighta-user-simulation"


def test_cli_prints_the_installed_package_version(capsys):
with pytest.raises(SystemExit) as exit_info:
parser().parse_args(["--version"])

assert exit_info.value.code == 0
assert capsys.readouterr().out == f"orbit {package_version()}\n"


def test_cli_exposes_local_web_server_command():
args = parser().parse_args(["run", "--host", "0.0.0.0", "--port", "8787", "--reload"])
assert args.command == "run"
Expand Down
2 changes: 1 addition & 1 deletion uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading