opencode-statboard 2.0.7 → 2.0.8
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/AGENTS.md +4 -0
- package/package.json +1 -1
package/AGENTS.md
CHANGED
|
@@ -62,12 +62,16 @@ node check-report-verify.js
|
|
|
62
62
|
npm set //registry.npmjs.org/:_authToken "$NPM_TOKEN"
|
|
63
63
|
npm version patch --no-git-tag-version
|
|
64
64
|
npm publish
|
|
65
|
+
npm install -g opencode-statboard # auto-install after publish
|
|
65
66
|
npm config delete //registry.npmjs.org/:_authToken
|
|
66
67
|
```
|
|
67
68
|
|
|
69
|
+
NPM token stored in user env var `NPM_TOKEN` and `oc-stats/.env` (gitignored).
|
|
70
|
+
|
|
68
71
|
## Known Constraints
|
|
69
72
|
|
|
70
73
|
- `better-sqlite3` is a native addon; must match Node.js ABI
|
|
71
74
|
- `attributeUsage` does a full DB scan (~22k messages); cached 300s via `getAttrAll()`
|
|
72
75
|
- Trend and report share the same `getAttrAll()` cache so daily values are consistent
|
|
73
76
|
- `gzip` compression on all `/api/` responses (>512B, level 1 for speed)
|
|
77
|
+
- Backup is deferred 30s after startup — heavy disk I/O (500MB copy+compress) during startup causes Windows to terminate the process
|