@superbased/observer 1.4.9 → 1.4.11
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 +7 -4
- package/package.json +6 -6
package/README.md
CHANGED
|
@@ -115,14 +115,17 @@ env var that matches your client(s); both can coexist on one machine.
|
|
|
115
115
|
| **GitHub Copilot** | (no proxy yet) | JSONL only |
|
|
116
116
|
| **OpenCode** ([opencode.ai](https://opencode.ai/)) | (no proxy yet) | SQLite — actual install path is `~/.local/share/opencode/opencode.db` (XDG). Captures **token counts + model + cost** per assistant message from OpenCode's InfoData (`tokens.input/output/reasoning/cache.{read,write}` + `cost`); **subtask** parts → `spawn_subagent` actions; **todo** table → `todo_update` actions; tool-name coverage extended to webfetch/websearch/task/todowrite/todoread/multiedit. Tagged `Source=jsonl, Reliability=approximate`. |
|
|
117
117
|
| **OpenClaw** ([openclaw.ai](https://openclaw.ai/)) | (no proxy yet) | JSONL + sqlite — `~/.openclaw/tasks/runs.sqlite` + `~/.openclaw/agents/<agent>/sessions/sessions.json` |
|
|
118
|
-
| **Pi** ([pi.dev](https://pi.dev/)) | (no proxy yet) | JSONL
|
|
118
|
+
| **Pi** ([pi.dev](https://pi.dev/)) | (no proxy yet) | JSONL — `~/.pi/agent/sessions/--<path>--/*.jsonl` (per upstream `docs/session-format.md` v3). Captures user / assistant / toolResult / `bashExecution` message roles; `usage.cost.total` → per-message USD; terminal `stopReason` (stop/length/error/aborted) → `task_complete` with `success=false` for failures (mid-turn `toolUse` is correctly skipped); `thinking` blocks surface as preceding reasoning. Tagged `Source=jsonl, Reliability=approximate`. |
|
|
119
119
|
|
|
120
120
|
**JSONL-only** clients are captured passively by the watcher (always-on,
|
|
121
121
|
no setup beyond `observer init`). You won't see real-time cost numbers
|
|
122
122
|
for them on the Compression tab (those need the proxy), but every tool
|
|
123
123
|
call shows up on Sessions / Actions / Discovery / Tools / Patterns and
|
|
124
|
-
the JSONL-derived token counts feed the Cost tab
|
|
125
|
-
|
|
124
|
+
the JSONL-derived token counts feed the Cost tab. Reliability tagging
|
|
125
|
+
is per-adapter: Claude Code emits `unreliable` (the JSONL stream uses
|
|
126
|
+
streaming-time placeholder counts per spec §24); Codex / Cline / Pi /
|
|
127
|
+
OpenCode / OpenClaw emit `approximate` (provider-reported usage that
|
|
128
|
+
hasn't been reconciled against an upstream invoice).
|
|
126
129
|
|
|
127
130
|
### Persistent setups
|
|
128
131
|
|
|
@@ -592,7 +595,7 @@ Every command supports `--help` for the full surface.
|
|
|
592
595
|
|------------------------------------|---------|
|
|
593
596
|
| `observer init` | Register hooks + MCP server with installed AI clients |
|
|
594
597
|
| `observer uninstall` | Reverse `observer init` |
|
|
595
|
-
| `observer start` | Run watcher + dashboard + proxy in one process (recommended) |
|
|
598
|
+
| `observer start` | Run watcher + dashboard + proxy in one process (recommended). Flags: `--dashboard-addr ADDR` (default `127.0.0.1:8081`), `--no-dashboard` to skip the HTTP UI. |
|
|
596
599
|
| `observer watch` | Long-running JSONL watcher only |
|
|
597
600
|
| `observer dashboard --addr ADDR` | HTTP dashboard only |
|
|
598
601
|
| `observer proxy start` | Reverse proxy only |
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@superbased/observer",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.11",
|
|
4
4
|
"description": "SuperBased Observer — capture, normalize, compress, and analyze AI coding tool activity across Claude Code, Codex, Cursor, Cline/Roo, and Copilot.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ai",
|
|
@@ -36,11 +36,11 @@
|
|
|
36
36
|
"LICENSE"
|
|
37
37
|
],
|
|
38
38
|
"optionalDependencies": {
|
|
39
|
-
"@superbased/observer-linux-x64": "1.4.
|
|
40
|
-
"@superbased/observer-linux-arm64": "1.4.
|
|
41
|
-
"@superbased/observer-darwin-x64": "1.4.
|
|
42
|
-
"@superbased/observer-darwin-arm64": "1.4.
|
|
43
|
-
"@superbased/observer-win32-x64": "1.4.
|
|
39
|
+
"@superbased/observer-linux-x64": "1.4.11",
|
|
40
|
+
"@superbased/observer-linux-arm64": "1.4.11",
|
|
41
|
+
"@superbased/observer-darwin-x64": "1.4.11",
|
|
42
|
+
"@superbased/observer-darwin-arm64": "1.4.11",
|
|
43
|
+
"@superbased/observer-win32-x64": "1.4.11"
|
|
44
44
|
},
|
|
45
45
|
"scripts": {
|
|
46
46
|
"test": "node bin/observer.js --version"
|