vaspera 2.15.0 → 2.16.0
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/CHANGELOG.md +17 -0
- package/dist/index.js +10 -1
- package/dist/index.js.map +1 -1
- package/dist/telemetry/install-id.d.ts +25 -0
- package/dist/telemetry/install-id.d.ts.map +1 -0
- package/dist/telemetry/install-id.js +49 -0
- package/dist/telemetry/install-id.js.map +1 -0
- package/dist/telemetry/usage.d.ts +19 -2
- package/dist/telemetry/usage.d.ts.map +1 -1
- package/dist/telemetry/usage.js +44 -8
- package/dist/telemetry/usage.js.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,22 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 2.16.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#70](https://github.com/RCOLKITT/hardening-mcp/pull/70) [`d79820c`](https://github.com/RCOLKITT/hardening-mcp/commit/d79820cee28743a0dad7457b34ed3aa2a4def33e) Thanks [@RCOLKITT](https://github.com/RCOLKITT)! - Anonymous, opt-out usage telemetry
|
|
8
|
+
|
|
9
|
+
The CLI / MCP server now reports anonymous usage metrics — no source code, no
|
|
10
|
+
secrets, no file contents — so adoption can be measured and the product
|
|
11
|
+
improved. It is **opt-out**: a one-time first-run notice is shown, and it can be
|
|
12
|
+
disabled with `VASPERA_TELEMETRY_DISABLED=1` or the cross-tool standard
|
|
13
|
+
`DO_NOT_TRACK=1`. Events carry only an anonymous install id, a hashed project
|
|
14
|
+
path, version/platform, and aggregate result counts. Full disclosure in
|
|
15
|
+
`TELEMETRY.md`.
|
|
16
|
+
|
|
17
|
+
Also resolves high-severity transitive dependency advisories (undici, vite,
|
|
18
|
+
hono) surfaced by self-certification.
|
|
19
|
+
|
|
3
20
|
## 2.15.0
|
|
4
21
|
|
|
5
22
|
### Minor Changes
|
package/dist/index.js
CHANGED
|
@@ -62,7 +62,7 @@ import { applyProjectPathGuard } from "./tool-guard.js";
|
|
|
62
62
|
import { finalizeCertificate, verifyCertificate, CertificateError, } from "./certification/agent-certificate.js";
|
|
63
63
|
import { certificationToCertificateBody, baselineCertificateBody, } from "./certification/agent-certificate-map.js";
|
|
64
64
|
// Telemetry and scan registry
|
|
65
|
-
import { trackCertificationStarted, trackCertificationCompleted, trackScannerRun, } from "./telemetry/usage.js";
|
|
65
|
+
import { telemetry, trackCertificationStarted, trackCertificationCompleted, trackScannerRun, } from "./telemetry/usage.js";
|
|
66
66
|
import { getRegistry } from "./telemetry/registry.js";
|
|
67
67
|
// False positive feedback
|
|
68
68
|
import { submitFeedback, generateFeedbackReport, getSuppressionSuggestions, FP_REASON_DESCRIPTIONS, } from "./scanners/fp-feedback.js";
|
|
@@ -6778,6 +6778,15 @@ export { server, textResponse, jsonResponse, errorResponse };
|
|
|
6778
6778
|
// ---------------------------------------------------------------------------
|
|
6779
6779
|
async function main() {
|
|
6780
6780
|
logger.info("server.starting", { version: "2.0.0" });
|
|
6781
|
+
// Anonymous, opt-out usage telemetry. Initialized only here (real server
|
|
6782
|
+
// boot) — never on imports from tests/scripts. See TELEMETRY.md.
|
|
6783
|
+
telemetry.init({});
|
|
6784
|
+
telemetry.showNotice();
|
|
6785
|
+
const flushOnExit = () => {
|
|
6786
|
+
void telemetry.shutdown().finally(() => process.exit(0));
|
|
6787
|
+
};
|
|
6788
|
+
process.once("SIGINT", flushOnExit);
|
|
6789
|
+
process.once("SIGTERM", flushOnExit);
|
|
6781
6790
|
const transport = new StdioServerTransport();
|
|
6782
6791
|
await server.connect(transport);
|
|
6783
6792
|
logger.info("server.started", { transport: "stdio" });
|