superbased 3.41.0 → 3.42.1
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.
- package/README.md +198 -198
- package/package.json +2 -2
- package/bin/superbased.js +0 -7
package/README.md
CHANGED
|
@@ -1,198 +1,198 @@
|
|
|
1
|
-
# superbased
|
|
2
|
-
|
|
3
|
-
<img src="https://raw.githubusercontent.com/superbasedapp/observer/main/docs/assets/mascot/obs-idle-light-512.png" alt="Obs, the superbased mascot: a small robot with a terminal prompt for a face and a cape" width="112" align="right">
|
|
4
|
-
|
|
5
|
-
<img src="https://raw.githubusercontent.com/superbasedapp/observer/main/docs/assets/brand/superbased-lockup-light.png" alt="superbased" height="32">
|
|
6
|
-
|
|
7
|
-
> **`superbased` is the short name for [`@superbased/observer`](https://www.npmjs.com/package/@superbased/observer).** Both install the same superbased Observer release and give you the `superbased` and `observer` commands; install one of them, not both. Versions 1.x and 2.x of this package were an earlier, discontinued product (a screen-capture MCP tool) and are deprecated.
|
|
8
|
-
|
|
9
|
-
**Track what every AI coding agent costs. See the limit coming.** See what 50 AI coding tools cost,
|
|
10
|
-
Claude Code, Codex and Cursor included, per session and per model, from the tokens your provider
|
|
11
|
-
actually billed. Free, Apache-2.0, and it runs on your machine.
|
|
12
|
-
|
|
13
|
-
[](https://github.com/superbasedapp/observer/blob/main/LICENSE)
|
|
15
|
-
[](https://superbased.app/)
|
|
16
|
-
|
|
17
|
-

|
|
18
|
-
|
|
19
|
-
## Try it without installing
|
|
20
|
-
|
|
21
|
-
```bash
|
|
22
|
-
npx superbased
|
|
23
|
-
```
|
|
24
|
-
|
|
25
|
-
Reads the session logs your coding agents already keep on disk, prints a 30-day cost table by tool
|
|
26
|
-
and model, and deletes its temporary database on exit. No config, no network.
|
|
27
|
-
|
|
28
|
-
On Windows PowerShell, type `npx.cmd` and `npm.cmd` instead of `npx` and `npm` (or use Command Prompt): PowerShell's default execution policy blocks the `npx.ps1` and `npm.ps1` scripts.
|
|
29
|
-
|
|
30
|
-
## Install
|
|
31
|
-
|
|
32
|
-
```bash
|
|
33
|
-
npm install -g superbased
|
|
34
|
-
superbased --version
|
|
35
|
-
```
|
|
36
|
-
|
|
37
|
-
Prebuilt binaries for Linux (x64, arm64), macOS 13 or later (Intel, Apple Silicon) and Windows x64. npm fetches
|
|
38
|
-
only the one for your machine; there is no compile step and no postinstall download. Also on
|
|
39
|
-
[PyPI](https://pypi.org/project/superbased-observer/) and the
|
|
40
|
-
[VS Code Marketplace](https://marketplace.visualstudio.com/items?itemName=superbased.superbased-observer)
|
|
41
|
-
with the same version numbers; install from one channel only.
|
|
42
|
-
|
|
43
|
-
## Why superbased
|
|
44
|
-
|
|
45
|
-
**One local binary that tracks Claude Code token usage, Codex cost and Cursor spend side by side,
|
|
46
|
-
and helps you control them.**
|
|
47
|
-
|
|
48
|
-
- **Provider-exact cost, not estimates.** An optional local proxy records the tokens your provider
|
|
49
|
-
returned: net input, 5-minute vs 1-hour cache writes, reasoning tokens and long-context repricing.
|
|
50
|
-
- **Every coding agent in one place.** 50 adapters normalize Claude Code, Codex, Cursor, GitHub
|
|
51
|
-
Copilot, Gemini CLI, Cline, Aider, Kiro, Devin, OpenCode, Junie and more into one local database.
|
|
52
|
-
- **Runs on your computer.** Everything lives in one SQLite file under `~/.observer/`. Sign in
|
|
53
|
-
for a personal dashboard you can open anywhere; your sessions leave your computer only when you
|
|
54
|
-
connect, after you approve it.
|
|
55
|
-
- **Know the next bill before it lands.** Prompt-cache tracking with expiry warnings, a cost band
|
|
56
|
-
for your next message, and a 5-hour and weekly limit gauge for proxied sessions.
|
|
57
|
-
- **Guardrails on your own agents.** Built-in and custom rules for destructive commands, secrets
|
|
58
|
-
egress, MCP pinning and budgets. Observe mode by default; `observer guard simulate` first.
|
|
59
|
-
- **Your agents as terminals.** Launch agent CLIs from the dashboard, join a running session from a
|
|
60
|
-
paired device over your Tailscale tailnet, and hand a session from one tool to another.
|
|
61
|
-
|
|
62
|
-

|
|
63
|
-
|
|
64
|
-
## Get started
|
|
65
|
-
|
|
66
|
-
<img src="https://raw.githubusercontent.com/superbasedapp/observer/main/docs/assets/mascot/obs-celebrate-light-small.png" alt="" width="54" align="right">
|
|
67
|
-
|
|
68
|
-
```bash
|
|
69
|
-
observer start # proxy + watcher + dashboard; opens http://localhost:8081
|
|
70
|
-
observer scan # backfill history from the session logs already on disk
|
|
71
|
-
observer doctor # check the install
|
|
72
|
-
```
|
|
73
|
-
|
|
74
|
-
## Sign in (recommended)
|
|
75
|
-
|
|
76
|
-
```bash
|
|
77
|
-
observer connect # your personal dashboard
|
|
78
|
-
observer connect acme # or the team with the short name acme
|
|
79
|
-
```
|
|
80
|
-
|
|
81
|
-
One command signs you in and connects this machine. Your browser opens a page on
|
|
82
|
-
cloud.superbased.app that shows the machine and what will be shared; nothing is sent until you
|
|
83
|
-
click **Connect**. A personal dashboard gets **Summary only** (usage totals, not your prompts or
|
|
84
|
-
file paths). A team gets **Full detail** (prompts, responses and file paths, readable by the
|
|
85
|
-
team's admins). **Not now** keeps you signed in with nothing sent, and `observer disconnect`
|
|
86
|
-
stops sending at any time. You can also click **Sign in** in the local dashboard's top bar.
|
|
87
|
-
On a machine with no browser, `observer connect --no-browser` prints a code to enter at
|
|
88
|
-
cloud.superbased.app/connect.
|
|
89
|
-
|
|
90
|
-
Starting from scratch on a new machine? One command installs Observer, runs it as a background
|
|
91
|
-
service and connects:
|
|
92
|
-
|
|
93
|
-
```bash
|
|
94
|
-
curl -fsSL https://superbased.app/connect.sh | sh # macOS and Linux
|
|
95
|
-
curl -fsSL https://superbased.app/connect.sh | sh -s -- acme # straight into a team
|
|
96
|
-
```
|
|
97
|
-
|
|
98
|
-
```powershell
|
|
99
|
-
irm https://superbased.app/connect.ps1 | iex # Windows
|
|
100
|
-
```
|
|
101
|
-
|
|
102
|
-
Everything else in this README works without an account. See
|
|
103
|
-
[Start here](https://superbased.app/docs/getting-started/start-here).
|
|
104
|
-
|
|
105
|
-
For provider-exact tokens, route your agent through the proxy: in the dashboard open Compression,
|
|
106
|
-
click your tool's status pill and choose **Route through the observer proxy** (it previews the
|
|
107
|
-
config change and writes only when you confirm), or run `observer claude` / `observer codex` for a
|
|
108
|
-
one-off proxied session. `observer init` additionally registers the opt-in MCP server.
|
|
109
|
-
|
|
110
|
-
Prefer a plain download? [superbased.app/download](https://superbased.app/download) has the
|
|
111
|
-
Windows setup program, macOS and Linux downloads and every version, with SHA-256 checksums.
|
|
112
|
-
|
|
113
|
-
**macOS needs version 13 Ventura or later.** Observer is built with Go 1.27, which no longer runs
|
|
114
|
-
on macOS 12 Monterey. On macOS 12, stay on v1.36.0 or upgrade macOS first. v1.36.0 was meant to
|
|
115
|
-
carry an advance notice of this and did not. Linux and Windows are not affected.
|
|
116
|
-
|
|
117
|
-
## What you get
|
|
118
|
-
|
|
119
|
-
- A local dashboard for sessions, cost, cache, security and live activity, filterable by tool and
|
|
120
|
-
project.
|
|
121
|
-
- Cost per session, model, project and tool, with cache read/write splits down to each API turn.
|
|
122
|
-
- An opt-in MCP server so your agents can query their own history across tools.
|
|
123
|
-
- Waste detection: stale re-reads, repeated commands and files several agents fight over.
|
|
124
|
-
- Dashboard terminals with multi-seat join and native resume.
|
|
125
|
-
- A CLI for everything: `observer usage`, `cost`, `predict`, `tail`, `statusline`.
|
|
126
|
-
|
|
127
|
-
<table>
|
|
128
|
-
<tr>
|
|
129
|
-
<td width="50%"><img src="https://raw.githubusercontent.com/superbasedapp/observer/main/docs/assets/screenshots/sessions.png" alt="Sessions page: one row per coding-agent session with tool, model, start time, elapsed time, actions and cost, plus tag totals" width="430"><br><sub><b>Sessions:</b> every session from every agent, with cost and tags.</sub></td>
|
|
130
|
-
<td width="50%"><img src="https://raw.githubusercontent.com/superbasedapp/observer/main/docs/assets/screenshots/cache.png" alt="Cache page: live prompt caches with time left before they expire, cache ratio, reads and writes, and provider coverage" width="430"><br><sub><b>Cache:</b> which prompt caches are warm and when they go cold.</sub></td>
|
|
131
|
-
</tr>
|
|
132
|
-
</table>
|
|
133
|
-
|
|
134
|
-

|
|
135
|
-
|
|
136
|
-
## Inside a session
|
|
137
|
-
|
|
138
|
-
Click any session to open its detail view. Four of its tabs:
|
|
139
|
-
|
|
140
|
-
<table>
|
|
141
|
-
<tr>
|
|
142
|
-
<td width="50%"><img src="https://raw.githubusercontent.com/superbasedapp/observer/main/docs/assets/screenshots/session-detail.png" alt="Session detail, Overview tab: total cost, actions, elapsed time and tokens, the action breakdown, token buckets by billing tier and the cost per model" width="430"><br><sub><b>Overview:</b> cost, tokens by billing tier and the models used.</sub></td>
|
|
143
|
-
<td width="50%"><img src="https://raw.githubusercontent.com/superbasedapp/observer/main/docs/assets/screenshots/session-messages.png" alt="Session detail, Messages tab: every message in the session with time, role, model, tool calls and cost" width="430"><br><sub><b>Messages:</b> each message with its model, tool calls and cost.</sub></td>
|
|
144
|
-
</tr>
|
|
145
|
-
<tr>
|
|
146
|
-
<td width="50%"><img src="https://raw.githubusercontent.com/superbasedapp/observer/main/docs/assets/screenshots/session-cost-and-limits-tab.png" alt="Session detail, Cost and limits tab: low, typical and high cost for the next message and the 5-hour and weekly limit" width="430"><br><sub><b>Cost & limits:</b> what the next message will cost and how much of your limit is left.</sub></td>
|
|
147
|
-
<td width="50%"><img src="https://raw.githubusercontent.com/superbasedapp/observer/main/docs/assets/screenshots/session-cache-tab.png" alt="Session detail, Cache tab: the session's live cache and when it expires, cache hits, writes, rewrites and the read to write ratio" width="430"><br><sub><b>Cache:</b> the session's live cache, hits, writes and rewrites.</sub></td>
|
|
148
|
-
</tr>
|
|
149
|
-
</table>
|
|
150
|
-
|
|
151
|
-
## Privacy
|
|
152
|
-
|
|
153
|
-
No account needed. Today the default install sends us no usage statistics, analytics or crash
|
|
154
|
-
reports, and your sessions leave your computer only when you connect. superbased stores paths,
|
|
155
|
-
commands and short excerpts, scrubs secrets before writing, and binds the proxy and dashboard to
|
|
156
|
-
`127.0.0.1` by default. The proxy forwards your own requests, unchanged, to the provider you
|
|
157
|
-
already use. See [PRIVACY.md](https://github.com/superbasedapp/observer/blob/main/PRIVACY.md).
|
|
158
|
-
|
|
159
|
-
### What Observer contacts by default
|
|
160
|
-
|
|
161
|
-
<!-- Hand-written from tests/invariant/egress_lanes_test.go and cmd/observer/privacy.go
|
|
162
|
-
(2026-11-17). Regenerate from `observer privacy --markdown` once that output exists. -->
|
|
163
|
-
|
|
164
|
-
| What | Host | When | What it sends | Turn it off |
|
|
165
|
-
|---|---|---|---|---|
|
|
166
|
-
| Model price list | superbased.app | when Observer starts, then daily | nothing about you: a plain download of a signed public file | `[pricing.feed] enabled = false` |
|
|
167
|
-
| Package lists for the install check | superbased.app | every 6 hours | nothing about your projects: the same signed public files for everyone | `[security.deps] index_download = false` |
|
|
168
|
-
| Connection warm-up | chatgpt.com, api.openai.com | once when the proxy starts | a bare HEAD request, no body and none of your data | `[proxy] prewarm_targets = []` |
|
|
169
|
-
|
|
170
|
-
Everything else needs you to turn it on: your AI tool's own requests pass through the proxy only
|
|
171
|
-
when you route that tool through it, and your sessions go to cloud.superbased.app only after you
|
|
172
|
-
run `observer connect` and approve the machine. The vulnerability databases download only after
|
|
173
|
-
you accept them once. `observer privacy` lists every outbound request this build can make.
|
|
174
|
-
|
|
175
|
-
## Learn more
|
|
176
|
-
|
|
177
|
-
- [Documentation](https://superbased.app/docs) and [quickstart](https://superbased.app/docs/getting-started/quickstart)
|
|
178
|
-
- [Supported agents and per-tool setup](https://superbased.app/docs/track/overview)
|
|
179
|
-
- [How superbased compares](https://superbased.app/docs/compare/overview)
|
|
180
|
-
- [Source, issues and changelog](https://github.com/superbasedapp/observer)
|
|
181
|
-
|
|
182
|
-
## Troubleshooting
|
|
183
|
-
|
|
184
|
-
- **`EACCES` on `npm install -g`:** point npm at a user prefix
|
|
185
|
-
(`npm config set prefix ~/.npm-global` and add `~/.npm-global/bin` to `PATH`) or use a Node version
|
|
186
|
-
manager such as fnm or nvm.
|
|
187
|
-
- **`running scripts is disabled on this system` in PowerShell:** On Windows PowerShell, type
|
|
188
|
-
`npx.cmd` and `npm.cmd` instead of `npx` and `npm` (or use Command Prompt): PowerShell's default
|
|
189
|
-
execution policy blocks the `npx.ps1` and `npm.ps1` scripts. Changing the policy with
|
|
190
|
-
`Set-ExecutionPolicy -Scope CurrentUser RemoteSigned` also works, but is not required.
|
|
191
|
-
- **`observer: command not found`:** make sure your npm global `bin` directory is on `PATH`, and that
|
|
192
|
-
you installed `@superbased/observer` itself, not only a platform package.
|
|
193
|
-
- **Port 8820 or 8081 already in use:** another `observer start` is running; stop it first.
|
|
194
|
-
|
|
195
|
-
## License
|
|
196
|
-
|
|
197
|
-
Apache 2.0. This package is a small Node.js shim that runs the prebuilt binary from the matching
|
|
198
|
-
`@superbased/observer-<platform>-<arch>` package.
|
|
1
|
+
# superbased
|
|
2
|
+
|
|
3
|
+
<img src="https://raw.githubusercontent.com/superbasedapp/observer/main/docs/assets/mascot/obs-idle-light-512.png" alt="Obs, the superbased mascot: a small robot with a terminal prompt for a face and a cape" width="112" align="right">
|
|
4
|
+
|
|
5
|
+
<img src="https://raw.githubusercontent.com/superbasedapp/observer/main/docs/assets/brand/superbased-lockup-light.png" alt="superbased" height="32">
|
|
6
|
+
|
|
7
|
+
> **`superbased` is the short name for [`@superbased/observer`](https://www.npmjs.com/package/@superbased/observer).** Both install the same superbased Observer release and give you the `superbased` and `observer` commands; install one of them, not both. Versions 1.x and 2.x of this package were an earlier, discontinued product (a screen-capture MCP tool) and are deprecated.
|
|
8
|
+
|
|
9
|
+
**Track what every AI coding agent costs. See the limit coming.** See what 50 AI coding tools cost,
|
|
10
|
+
Claude Code, Codex and Cursor included, per session and per model, from the tokens your provider
|
|
11
|
+
actually billed. Free, Apache-2.0, and it runs on your machine.
|
|
12
|
+
|
|
13
|
+
[](https://www.npmjs.com/package/superbased)
|
|
14
|
+
[](https://github.com/superbasedapp/observer/blob/main/LICENSE)
|
|
15
|
+
[](https://superbased.app/)
|
|
16
|
+
|
|
17
|
+

|
|
18
|
+
|
|
19
|
+
## Try it without installing
|
|
20
|
+
|
|
21
|
+
```bash
|
|
22
|
+
npx superbased
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
Reads the session logs your coding agents already keep on disk, prints a 30-day cost table by tool
|
|
26
|
+
and model, and deletes its temporary database on exit. No config, no network.
|
|
27
|
+
|
|
28
|
+
On Windows PowerShell, type `npx.cmd` and `npm.cmd` instead of `npx` and `npm` (or use Command Prompt): PowerShell's default execution policy blocks the `npx.ps1` and `npm.ps1` scripts.
|
|
29
|
+
|
|
30
|
+
## Install
|
|
31
|
+
|
|
32
|
+
```bash
|
|
33
|
+
npm install -g superbased
|
|
34
|
+
superbased --version
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
Prebuilt binaries for Linux (x64, arm64), macOS 13 or later (Intel, Apple Silicon) and Windows x64. npm fetches
|
|
38
|
+
only the one for your machine; there is no compile step and no postinstall download. Also on
|
|
39
|
+
[PyPI](https://pypi.org/project/superbased-observer/) and the
|
|
40
|
+
[VS Code Marketplace](https://marketplace.visualstudio.com/items?itemName=superbased.superbased-observer)
|
|
41
|
+
with the same version numbers; install from one channel only.
|
|
42
|
+
|
|
43
|
+
## Why superbased
|
|
44
|
+
|
|
45
|
+
**One local binary that tracks Claude Code token usage, Codex cost and Cursor spend side by side,
|
|
46
|
+
and helps you control them.**
|
|
47
|
+
|
|
48
|
+
- **Provider-exact cost, not estimates.** An optional local proxy records the tokens your provider
|
|
49
|
+
returned: net input, 5-minute vs 1-hour cache writes, reasoning tokens and long-context repricing.
|
|
50
|
+
- **Every coding agent in one place.** 50 adapters normalize Claude Code, Codex, Cursor, GitHub
|
|
51
|
+
Copilot, Gemini CLI, Cline, Aider, Kiro, Devin, OpenCode, Junie and more into one local database.
|
|
52
|
+
- **Runs on your computer.** Everything lives in one SQLite file under `~/.observer/`. Sign in
|
|
53
|
+
for a personal dashboard you can open anywhere; your sessions leave your computer only when you
|
|
54
|
+
connect, after you approve it.
|
|
55
|
+
- **Know the next bill before it lands.** Prompt-cache tracking with expiry warnings, a cost band
|
|
56
|
+
for your next message, and a 5-hour and weekly limit gauge for proxied sessions.
|
|
57
|
+
- **Guardrails on your own agents.** Built-in and custom rules for destructive commands, secrets
|
|
58
|
+
egress, MCP pinning and budgets. Observe mode by default; `observer guard simulate` first.
|
|
59
|
+
- **Your agents as terminals.** Launch agent CLIs from the dashboard, join a running session from a
|
|
60
|
+
paired device over your Tailscale tailnet, and hand a session from one tool to another.
|
|
61
|
+
|
|
62
|
+

|
|
63
|
+
|
|
64
|
+
## Get started
|
|
65
|
+
|
|
66
|
+
<img src="https://raw.githubusercontent.com/superbasedapp/observer/main/docs/assets/mascot/obs-celebrate-light-small.png" alt="" width="54" align="right">
|
|
67
|
+
|
|
68
|
+
```bash
|
|
69
|
+
observer start # proxy + watcher + dashboard; opens http://localhost:8081
|
|
70
|
+
observer scan # backfill history from the session logs already on disk
|
|
71
|
+
observer doctor # check the install
|
|
72
|
+
```
|
|
73
|
+
|
|
74
|
+
## Sign in (recommended)
|
|
75
|
+
|
|
76
|
+
```bash
|
|
77
|
+
observer connect # your personal dashboard
|
|
78
|
+
observer connect acme # or the team with the short name acme
|
|
79
|
+
```
|
|
80
|
+
|
|
81
|
+
One command signs you in and connects this machine. Your browser opens a page on
|
|
82
|
+
cloud.superbased.app that shows the machine and what will be shared; nothing is sent until you
|
|
83
|
+
click **Connect**. A personal dashboard gets **Summary only** (usage totals, not your prompts or
|
|
84
|
+
file paths). A team gets **Full detail** (prompts, responses and file paths, readable by the
|
|
85
|
+
team's admins). **Not now** keeps you signed in with nothing sent, and `observer disconnect`
|
|
86
|
+
stops sending at any time. You can also click **Sign in** in the local dashboard's top bar.
|
|
87
|
+
On a machine with no browser, `observer connect --no-browser` prints a code to enter at
|
|
88
|
+
cloud.superbased.app/connect.
|
|
89
|
+
|
|
90
|
+
Starting from scratch on a new machine? One command installs Observer, runs it as a background
|
|
91
|
+
service and connects:
|
|
92
|
+
|
|
93
|
+
```bash
|
|
94
|
+
curl -fsSL https://superbased.app/connect.sh | sh # macOS and Linux
|
|
95
|
+
curl -fsSL https://superbased.app/connect.sh | sh -s -- acme # straight into a team
|
|
96
|
+
```
|
|
97
|
+
|
|
98
|
+
```powershell
|
|
99
|
+
irm https://superbased.app/connect.ps1 | iex # Windows
|
|
100
|
+
```
|
|
101
|
+
|
|
102
|
+
Everything else in this README works without an account. See
|
|
103
|
+
[Start here](https://superbased.app/docs/getting-started/start-here).
|
|
104
|
+
|
|
105
|
+
For provider-exact tokens, route your agent through the proxy: in the dashboard open Compression,
|
|
106
|
+
click your tool's status pill and choose **Route through the observer proxy** (it previews the
|
|
107
|
+
config change and writes only when you confirm), or run `observer claude` / `observer codex` for a
|
|
108
|
+
one-off proxied session. `observer init` additionally registers the opt-in MCP server.
|
|
109
|
+
|
|
110
|
+
Prefer a plain download? [superbased.app/download](https://superbased.app/download) has the
|
|
111
|
+
Windows setup program, macOS and Linux downloads and every version, with SHA-256 checksums.
|
|
112
|
+
|
|
113
|
+
**macOS needs version 13 Ventura or later.** Observer is built with Go 1.27, which no longer runs
|
|
114
|
+
on macOS 12 Monterey. On macOS 12, stay on v1.36.0 or upgrade macOS first. v1.36.0 was meant to
|
|
115
|
+
carry an advance notice of this and did not. Linux and Windows are not affected.
|
|
116
|
+
|
|
117
|
+
## What you get
|
|
118
|
+
|
|
119
|
+
- A local dashboard for sessions, cost, cache, security and live activity, filterable by tool and
|
|
120
|
+
project.
|
|
121
|
+
- Cost per session, model, project and tool, with cache read/write splits down to each API turn.
|
|
122
|
+
- An opt-in MCP server so your agents can query their own history across tools.
|
|
123
|
+
- Waste detection: stale re-reads, repeated commands and files several agents fight over.
|
|
124
|
+
- Dashboard terminals with multi-seat join and native resume.
|
|
125
|
+
- A CLI for everything: `observer usage`, `cost`, `predict`, `tail`, `statusline`.
|
|
126
|
+
|
|
127
|
+
<table>
|
|
128
|
+
<tr>
|
|
129
|
+
<td width="50%"><img src="https://raw.githubusercontent.com/superbasedapp/observer/main/docs/assets/screenshots/sessions.png" alt="Sessions page: one row per coding-agent session with tool, model, start time, elapsed time, actions and cost, plus tag totals" width="430"><br><sub><b>Sessions:</b> every session from every agent, with cost and tags.</sub></td>
|
|
130
|
+
<td width="50%"><img src="https://raw.githubusercontent.com/superbasedapp/observer/main/docs/assets/screenshots/cache.png" alt="Cache page: live prompt caches with time left before they expire, cache ratio, reads and writes, and provider coverage" width="430"><br><sub><b>Cache:</b> which prompt caches are warm and when they go cold.</sub></td>
|
|
131
|
+
</tr>
|
|
132
|
+
</table>
|
|
133
|
+
|
|
134
|
+

|
|
135
|
+
|
|
136
|
+
## Inside a session
|
|
137
|
+
|
|
138
|
+
Click any session to open its detail view. Four of its tabs:
|
|
139
|
+
|
|
140
|
+
<table>
|
|
141
|
+
<tr>
|
|
142
|
+
<td width="50%"><img src="https://raw.githubusercontent.com/superbasedapp/observer/main/docs/assets/screenshots/session-detail.png" alt="Session detail, Overview tab: total cost, actions, elapsed time and tokens, the action breakdown, token buckets by billing tier and the cost per model" width="430"><br><sub><b>Overview:</b> cost, tokens by billing tier and the models used.</sub></td>
|
|
143
|
+
<td width="50%"><img src="https://raw.githubusercontent.com/superbasedapp/observer/main/docs/assets/screenshots/session-messages.png" alt="Session detail, Messages tab: every message in the session with time, role, model, tool calls and cost" width="430"><br><sub><b>Messages:</b> each message with its model, tool calls and cost.</sub></td>
|
|
144
|
+
</tr>
|
|
145
|
+
<tr>
|
|
146
|
+
<td width="50%"><img src="https://raw.githubusercontent.com/superbasedapp/observer/main/docs/assets/screenshots/session-cost-and-limits-tab.png" alt="Session detail, Cost and limits tab: low, typical and high cost for the next message and the 5-hour and weekly limit" width="430"><br><sub><b>Cost & limits:</b> what the next message will cost and how much of your limit is left.</sub></td>
|
|
147
|
+
<td width="50%"><img src="https://raw.githubusercontent.com/superbasedapp/observer/main/docs/assets/screenshots/session-cache-tab.png" alt="Session detail, Cache tab: the session's live cache and when it expires, cache hits, writes, rewrites and the read to write ratio" width="430"><br><sub><b>Cache:</b> the session's live cache, hits, writes and rewrites.</sub></td>
|
|
148
|
+
</tr>
|
|
149
|
+
</table>
|
|
150
|
+
|
|
151
|
+
## Privacy
|
|
152
|
+
|
|
153
|
+
No account needed. Today the default install sends us no usage statistics, analytics or crash
|
|
154
|
+
reports, and your sessions leave your computer only when you connect. superbased stores paths,
|
|
155
|
+
commands and short excerpts, scrubs secrets before writing, and binds the proxy and dashboard to
|
|
156
|
+
`127.0.0.1` by default. The proxy forwards your own requests, unchanged, to the provider you
|
|
157
|
+
already use. See [PRIVACY.md](https://github.com/superbasedapp/observer/blob/main/PRIVACY.md).
|
|
158
|
+
|
|
159
|
+
### What Observer contacts by default
|
|
160
|
+
|
|
161
|
+
<!-- Hand-written from tests/invariant/egress_lanes_test.go and cmd/observer/privacy.go
|
|
162
|
+
(2026-11-17). Regenerate from `observer privacy --markdown` once that output exists. -->
|
|
163
|
+
|
|
164
|
+
| What | Host | When | What it sends | Turn it off |
|
|
165
|
+
|---|---|---|---|---|
|
|
166
|
+
| Model price list | superbased.app | when Observer starts, then daily | nothing about you: a plain download of a signed public file | `[pricing.feed] enabled = false` |
|
|
167
|
+
| Package lists for the install check | superbased.app | every 6 hours | nothing about your projects: the same signed public files for everyone | `[security.deps] index_download = false` |
|
|
168
|
+
| Connection warm-up | chatgpt.com, api.openai.com | once when the proxy starts | a bare HEAD request, no body and none of your data | `[proxy] prewarm_targets = []` |
|
|
169
|
+
|
|
170
|
+
Everything else needs you to turn it on: your AI tool's own requests pass through the proxy only
|
|
171
|
+
when you route that tool through it, and your sessions go to cloud.superbased.app only after you
|
|
172
|
+
run `observer connect` and approve the machine. The vulnerability databases download only after
|
|
173
|
+
you accept them once. `observer privacy` lists every outbound request this build can make.
|
|
174
|
+
|
|
175
|
+
## Learn more
|
|
176
|
+
|
|
177
|
+
- [Documentation](https://superbased.app/docs) and [quickstart](https://superbased.app/docs/getting-started/quickstart)
|
|
178
|
+
- [Supported agents and per-tool setup](https://superbased.app/docs/track/overview)
|
|
179
|
+
- [How superbased compares](https://superbased.app/docs/compare/overview)
|
|
180
|
+
- [Source, issues and changelog](https://github.com/superbasedapp/observer)
|
|
181
|
+
|
|
182
|
+
## Troubleshooting
|
|
183
|
+
|
|
184
|
+
- **`EACCES` on `npm install -g`:** point npm at a user prefix
|
|
185
|
+
(`npm config set prefix ~/.npm-global` and add `~/.npm-global/bin` to `PATH`) or use a Node version
|
|
186
|
+
manager such as fnm or nvm.
|
|
187
|
+
- **`running scripts is disabled on this system` in PowerShell:** On Windows PowerShell, type
|
|
188
|
+
`npx.cmd` and `npm.cmd` instead of `npx` and `npm` (or use Command Prompt): PowerShell's default
|
|
189
|
+
execution policy blocks the `npx.ps1` and `npm.ps1` scripts. Changing the policy with
|
|
190
|
+
`Set-ExecutionPolicy -Scope CurrentUser RemoteSigned` also works, but is not required.
|
|
191
|
+
- **`observer: command not found`:** make sure your npm global `bin` directory is on `PATH`, and that
|
|
192
|
+
you installed `@superbased/observer` itself, not only a platform package.
|
|
193
|
+
- **Port 8820 or 8081 already in use:** another `observer start` is running; stop it first.
|
|
194
|
+
|
|
195
|
+
## License
|
|
196
|
+
|
|
197
|
+
Apache 2.0. This package is a small Node.js shim that runs the prebuilt binary from the matching
|
|
198
|
+
`@superbased/observer-<platform>-<arch>` package.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "superbased",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.42.1",
|
|
4
4
|
"description": "superbased Observer under its short name: local-first AI coding agent observability. Claude Code token usage, Codex cost and Cursor spend across 50 adapters, provider-exact via a local proxy. No account needed.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ai",
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
"LICENSE"
|
|
48
48
|
],
|
|
49
49
|
"dependencies": {
|
|
50
|
-
"@superbased/observer": "1.
|
|
50
|
+
"@superbased/observer": "1.42.1"
|
|
51
51
|
},
|
|
52
52
|
"scripts": {
|
|
53
53
|
"test": "node bin/superbased.js --version"
|
package/bin/superbased.js
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env node
|
|
2
|
-
// superbased: the short npm name for @superbased/observer. It installs the
|
|
3
|
-
// same release as a dependency and hands over to its launcher, which finds
|
|
4
|
-
// the platform binary and forwards arguments, stdio and the exit code.
|
|
5
|
-
'use strict';
|
|
6
|
-
|
|
7
|
-
require('@superbased/observer/bin/observer.js');
|