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
28 changes: 28 additions & 0 deletions .changeset/retire-log-viewer.md
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
---
"@smooai/logger": minor
---

Retire the deprecated egui log viewer and remove its install-time binary download.

`@smooai/logger`'s `postinstall` ran `bundle-log-viewer`, which downloaded
`https://github.com/SmooAI/logger/releases/latest/download/smooai-log-viewer-<platform>-<arch>`
and `chmod 0755`'d it on **every** `npm i @smooai/logger` — an unpinned, unverified remote
binary fetch (`latest`, not the installed version, with no checksum or signature), silently
falling back to `cargo build` when the download failed. The Python distribution did the same
thing from `poe build` / `poe publish`.

The binary it fetched was the egui log viewer, which `log-viewer/DEPRECATED.md` declared gone as
of `studio-v0.1.0` — superseded by SmooAI Observability Studio in
[SmooAI/observability](https://github.com/SmooAI/observability) (`desktop/`).

Removed:

- the `postinstall` hook and both `bundle-log-viewer` scripts (Node + Python)
- the `smooai-log-viewer` bin (npm) and console script (PyPI) and their wrappers
- the `log-viewer/` crate source and the `build-log-viewer.yml` release workflow
- 97 MB of tracked build artifacts (`python/log-viewer/{linux-x64,darwin-arm64}` binaries and a
stale `smooai-logger-3.1.2.tgz`), now gitignored
- an unreferenced `log-viewer/README.md` entry in `files`, and the unused `@oclif/core` devDep

`log-viewer/DEPRECATED.md` stays as the tombstone pointing at the replacement. The logging API
itself is unchanged in every language.
56 changes: 0 additions & 56 deletions .github/workflows/build-log-viewer.yml

This file was deleted.

4 changes: 1 addition & 3 deletions .github/workflows/pr-checks.yml
Original file line numberDiff line numberDiff line change
Expand Up@@ -39,9 +39,7 @@ jobs:
- name: Cache Rust build artifacts
uses: Swatinem/rust-cache@v2
with:
workspaces: |
rust/logger -> rust/logger/target
log-viewer -> log-viewer/target
workspaces: rust/logger -> rust/logger/target
cache-on-failure: true

- name: Setup Go
Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/release.yml
Original file line numberDiff line numberDiff line change
Expand Up@@ -44,9 +44,7 @@ jobs:
- name: Cache Rust build artifacts
uses: Swatinem/rust-cache@v2
with:
workspaces: |
rust/logger -> rust/logger/target
log-viewer -> log-viewer/target
workspaces: rust/logger -> rust/logger/target
cache-on-failure: true

- name: Set up Python
Expand Down
4 changes: 4 additions & 0 deletions .gitignore
Original file line numberDiff line numberDiff line change
Expand Up@@ -62,3 +62,7 @@ dotnet/**/obj/
dotnet/dist/
*.nupkg
*.snupkg

# Never commit release tarballs or downloaded binaries
*.tgz
python/log-viewer/
2 changes: 1 addition & 1 deletion README.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -273,7 +273,7 @@ The wire schema is shared; port depth is not identical. Here's the honest status

## 🔎 Looking for the desktop Log Viewer?

It moved. The Rust/egui log viewer that used to live in [`log-viewer/`](log-viewer/) has been rebuilt as **SmooAI Observability Studio** — a Dioxus native desktop client for SmooAI logs, errors, and metrics — and lives in the [SmooAI/observability](https://github.com/SmooAI/observability) repo (`desktop/`), with builds on its [releases page](https://github.com/SmooAI/observability/releases). The egui implementation here is gone as of `studio-v0.1.0`; see [`log-viewer/DEPRECATED.md`](log-viewer/DEPRECATED.md) for the migration story.
It moved. The Rust/egui log viewer that used to live here has been rebuilt as **SmooAI Observability Studio** — a Dioxus native desktop client for SmooAI logs, errors, and metrics — and lives in the [SmooAI/observability](https://github.com/SmooAI/observability) repo (`desktop/`), with builds on its [releases page](https://github.com/SmooAI/observability/releases). The crate has been deleted from this repo; see [`log-viewer/DEPRECATED.md`](log-viewer/DEPRECATED.md) for the migration story.

## 🧩 Part of Smoo AI

Expand Down
168 changes: 0 additions & 168 deletions log-viewer/ABOUT.md

This file was deleted.

Loading
Loading