You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Added
Collector bricks for Claude Code (JSONL transcripts and subagents), OpenCode (SQLite message and session_message, legacy JSON; the 2.4.5 layout and its reasoning semantics verified on a real install) and Cursor (local state.vscdb, activity only). The macOS paths of OpenCode and Cursor are probed but not natively verified (see docs/collectors/compatibility.md).
Local SQLite catalog with incremental checkpoints, idempotent upserts ("more complete wins"), hourly rollups, backup, restore, verify, rebuild, reprice and opt-in retention.
Default run: collect, serve the dashboard on 127.0.0.1:8742 (next free port when busy), print the URL with a per-start session token, refresh every minute and on demand; a second run prints the running instance's URL.
Data directory ~/seetok (--data-dir), self-healing: deleting it, in whole or in part, makes the next run rebuild everything from the tools' files.
Static offline dashboard (seetok export) with a hash-based Content-Security-Policy, gzip for large payloads and hashed project names by default.
Material 3 web UI written in strict TypeScript and bundled with esbuild at dev time (dark and light themes) with overview, timeline, tools, providers, models, projects, sessions, sources and about views; own SVG charts with table alternatives; keyboard shortcuts; JSON export of the current view.
Published price table: the project's fetchers read the official Anthropic, OpenAI and Google pricing pages in a weekly workflow that opens a pull request; clients download the reviewed prices.yaml (30-day cache, ETag, no downgrade), fall back to the embedded copy and accept user overrides. Price history by date, long-context tiers, fast mode, US-only inference and web search.
Currency display: USD, BRL from the Banco Central do Brasil PTAX rate (6-hour cache), any ISO 4217 code with a user rate.
seetok doctor, /metrics (Prometheus text), JSON logs. Every doctor check line starts with [OK], [WARN], [ERROR], [MISSING] or [INFO], with a "What to do" list and a summary at the end.
seetok catalog delete: erase all of seetok's history (catalog and leftover snapshots) after typing yes, or with --yes.
seetok export --anonymize (and anonymize=1 on /api/v1/export): session, project and source ids and project names become ordinals; seetok export --private writes the file 0600 instead of the default 0644. The dashboard's "Export this view" dialog has the same Anonymize option.
Distroless, non-root Docker image with a healthcheck; reproducible release archives with checksums, SBOM, provenance and a keyless signature.
Logo lockups centered in their rectangle (docs/logo/seetok-*-centered.svg), used by the README in both themes; upgrade checklist for dependencies, tools, CI and supported AI tools (docs/maintenance.md).
CI on GitHub Actions: actions/checkout@v7 (needed for this SHA-256 repository), actions/setup-go@v7, jdx/mise-action@v5, actions/attest-build-provenance@v4, sigstore/cosign-installer@v4.1.4 (no floating v4 tag); the ubuntu:26.04 container job is pinned by digest and installs ca-certificates and git. The ci workflow runs on pull requests and release tags, no longer on pushes to main.
Security
Sources are opened read-only; SQLite sources are read from private snapshot copies; a test proves no source byte, mode or mtime changes.
Only metadata is decoded; a canary suite proves no content reaches the catalog, exports, API, metrics, doctor or logs.
Outbound requests only through a host allow-list (GET only, no cookies, no credentials); --offline disables them.
Backups are created 0600 before the copy starts, so the catalog copy is never readable by others; the docs list what exports and backups still reveal (timestamps, models, costs, project names or paths, the tools' ids).
The server binds loopback, requires a per-start session token (URL fragment, X-Seetok-Token, constant-time compare) on every data route, rejects foreign Host headers (DNS rebinding) and cross-origin POSTs, and sends a strict CSP without unsafe-inline.