boardui 0.5.10 → 0.5.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.
Files changed (2) hide show
  1. package/dist/index.js +10 -8
  2. package/package.json +4 -4
package/dist/index.js CHANGED
@@ -1183,13 +1183,6 @@ import { instrument } from "@posthog/mcp";
1183
1183
  import { PostHog } from "posthog-node";
1184
1184
  import { z } from "zod";
1185
1185
 
1186
- // src/lib/mcp-analytics.ts
1187
- var HANDSHAKE_EVENTS = /* @__PURE__ */ new Set(["$mcp_initialize", "$mcp_tools_list"]);
1188
- function dropHandshakeEvents(capture) {
1189
- if (HANDSHAKE_EVENTS.has(capture.event) && capture.properties.$mcp_is_error !== true) return null;
1190
- return capture;
1191
- }
1192
-
1193
1186
  // ../lib/agent/rtl.ts
1194
1187
  var RTL_SETUP_GUIDE = [
1195
1188
  "## RTL Support",
@@ -1469,7 +1462,16 @@ async function mcp() {
1469
1462
  posthog.on("error", () => console.error("[mcp-analytics] PostHog delivery failed."));
1470
1463
  instrument(server, posthog, {
1471
1464
  eventProperties: () => ({ $mcp_transport: "stdio" }),
1472
- beforeSend: dropHandshakeEvents,
1465
+ // Every agent launch opens with initialize + tools/list. Those two events
1466
+ // were about 98% of our MCP events and used up the PostHog quota in
1467
+ // November 2026, and nothing here reads them.
1468
+ sendInitializeEvent: false,
1469
+ sendToolsListEvent: false,
1470
+ // @posthog/mcp 1.x turns these on by default. They add llm_model and
1471
+ // conversation_id arguments to every tool and a handle block to every
1472
+ // result, which would change the tool contract agents see.
1473
+ captureModel: false,
1474
+ enableConversationId: false,
1473
1475
  logger: (message) => {
1474
1476
  if (/warning|failed/i.test(message)) console.error(`[mcp-analytics] ${message}`);
1475
1477
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "boardui",
3
- "version": "0.5.10",
3
+ "version": "0.5.11",
4
4
  "description": "Add BoardUI components to your project.",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -34,14 +34,14 @@
34
34
  },
35
35
  "dependencies": {
36
36
  "@modelcontextprotocol/sdk": "^1.30.0",
37
- "@posthog/mcp": "^0.12.0",
37
+ "@posthog/mcp": "^1.8.2",
38
38
  "commander": "^12.1.0",
39
39
  "ora": "^8.1.1",
40
40
  "picocolors": "^1.1.1",
41
41
  "posthog-node": "^5.51.4",
42
42
  "prompts": "^2.4.2",
43
- "zod": "^4.5.1",
44
- "typescript": "^5"
43
+ "typescript": "^5",
44
+ "zod": "^4.5.1"
45
45
  },
46
46
  "devDependencies": {
47
47
  "@types/node": "^20",