@armature-tech/mcp-analytics 0.6.41 → 0.6.43

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/esm/v2.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { BAGGAGE_META_KEY, CLIENT_CAPABILITIES_META_KEY, CLIENT_INFO_META_KEY, PROTOCOL_VERSION_META_KEY, fromJsonSchema, } from "@modelcontextprotocol/server";
2
2
  import { createAnalyticsRecorderCore, } from "./recorder-core.js";
3
3
  import { defaultMcpAnalyticsConfig } from "./emit.js";
4
- import { appendTelemetryHint, createTelemetryJsonSchema, isCaptureEnabled, schemaDeclaresTelemetry, } from "./schema.js";
4
+ import { stripSdkDescriptionHint, createTelemetryJsonSchema, isCaptureEnabled, schemaDeclaresTelemetry, } from "./schema.js";
5
5
  import { capCapabilities } from "./events.js";
6
6
  import { prepareForPreview } from "./sanitize.js";
7
7
  import { headerValue, isRecord, stringifyPreview, truncateUtf8 } from "./utils.js";
@@ -412,11 +412,8 @@ const instrumentRegisteredTool = (state, server, name, tool, defaults, options)
412
412
  ...(decoratedSchema !== undefined
413
413
  ? {
414
414
  paramsSchema: decoratedSchema,
415
- // Same idempotent description nudge as v1 (ARM-24).
416
- description: appendTelemetryHint(registered.description, {
417
- toolName: name,
418
- logLevel: state.config.armature?.descriptionLengthLogLevel,
419
- }),
415
+ // Never adds text; removes SDK hint suffixes from earlier releases.
416
+ description: stripSdkDescriptionHint(registered.description),
420
417
  }
421
418
  : {}),
422
419
  callback: wrapToolCallback(state, name, originalHasInputSchema, registeredHasInputSchema, handler, defaults, options),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@armature-tech/mcp-analytics",
3
- "version": "0.6.41",
3
+ "version": "0.6.43",
4
4
  "type": "module",
5
5
  "description": "MCP analytics wrapper SDK that instruments MCP tool declarations with telemetry.",
6
6
  "license": "Apache-2.0",