opedd-mcp 0.6.3 → 0.6.5
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/dist/index.d.ts +30 -0
- package/dist/index.js +546 -534
- package/dist/telemetry.d.ts +11 -0
- package/dist/version.d.ts +1 -0
- package/package.json +3 -2
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/** Whether telemetry is allowed (respects OPEDD_MCP_TELEMETRY + DO_NOT_TRACK). Pure — exported for tests. */
|
|
2
|
+
export declare function isTelemetryEnabled(): boolean;
|
|
3
|
+
/**
|
|
4
|
+
* The ONLY properties ever sent for a tool call — no parameters, responses,
|
|
5
|
+
* PII, keys, or content by construction. Pure; exported so a test can assert
|
|
6
|
+
* the privacy invariant directly.
|
|
7
|
+
*/
|
|
8
|
+
export declare function toolCallProperties(tool: string, durationMs: number, ok: boolean): Record<string, string | number | boolean>;
|
|
9
|
+
export declare function initTelemetry(): void;
|
|
10
|
+
export declare function captureToolCall(tool: string, durationMs: number, ok: boolean): void;
|
|
11
|
+
export declare function shutdownTelemetry(): Promise<void>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const SERVER_VERSION: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "opedd-mcp",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.5",
|
|
4
4
|
"description": "Licensed, rights-cleared content for AI agents — verifiable license keys, on-chain proof, and EU AI Act attestation. The MCP alternative to unlicensed scraping for RAG and AI search.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -55,5 +55,6 @@
|
|
|
55
55
|
},
|
|
56
56
|
"files": [
|
|
57
57
|
"dist"
|
|
58
|
-
]
|
|
58
|
+
],
|
|
59
|
+
"types": "dist/index.d.ts"
|
|
59
60
|
}
|