modelstat 0.0.10 → 0.0.12
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 +4 -4
- package/dist/cli.mjs +3246 -557
- package/dist/cli.mjs.map +1 -1
- package/package.json +5 -5
- package/vendor/tray-mac/Package.swift +32 -0
- package/vendor/tray-mac/Resources/Info.plist +42 -0
- package/vendor/tray-mac/Sources/ModelstatTray/main.swift +353 -0
- package/vendor/tray-mac/build-app.sh +43 -0
package/README.md
CHANGED
|
@@ -22,9 +22,9 @@ modelstat connect
|
|
|
22
22
|
Or via npm / pnpm / bun:
|
|
23
23
|
|
|
24
24
|
```bash
|
|
25
|
-
npm install -g
|
|
26
|
-
pnpm add -g
|
|
27
|
-
bun add -g
|
|
25
|
+
npm install -g modelstat && modelstat connect
|
|
26
|
+
pnpm add -g modelstat && modelstat connect
|
|
27
|
+
bun add -g modelstat && modelstat connect
|
|
28
28
|
```
|
|
29
29
|
|
|
30
30
|
`modelstat connect` installs a **launchd user agent** on macOS (at `~/Library/LaunchAgents/ai.modelstat.agent.plist`) or a **systemd user unit** on Linux (at `~/.config/systemd/user/modelstat.service`). The daemon starts automatically on login.
|
|
@@ -53,7 +53,7 @@ Emits one NDJSON event per line. Schema documented at [integrations/harness-skil
|
|
|
53
53
|
|
|
54
54
|
## Shared state across install methods
|
|
55
55
|
|
|
56
|
-
Installing via both Homebrew and npm on the same laptop produces the **same binary reading the same state file** — on macOS that's `~/Library/Preferences/modelstat-agent-dev-nodejs/config.json`. Your device UUID, bearer token, and pairing state persist across install methods
|
|
56
|
+
Installing via both Homebrew and npm on the same laptop produces the **same binary reading the same state file** — on macOS that's `~/Library/Preferences/modelstat-agent-dev-nodejs/config.json`. Your device UUID, bearer token, and pairing state persist across install methods — and the service deduplicates the device server-side, so you won't see the same laptop twice in the dashboard.
|
|
57
57
|
|
|
58
58
|
## MCP server
|
|
59
59
|
|