Skip to content

Agent Plugins 1.5.0

Choose a tag to compare

@github-actions github-actions released this 08 Jul 19:13
· 167 commits to main since this release
6acde0c

Agent skills plugin artifacts for b2c-agent-plugins v1.5.0. Download the *-skills.zip files below.

See the Agent Skills & Plugins guide for installation and usage.

Changelog

Minor Changes

  • #552 fdf3c5f - Add Metrics API support (CLOSED BETA). The new SCAPI Observability Metrics API (observability/metrics/v1) is now available across the tooling: (Thanks @clavery!)

    • SDK: a typed createMetricsClient plus getOverallMetrics, getSalesMetrics, getEcdnMetrics, getThirdPartyMetrics, getScapiMetrics, getScapiHooksMetrics, getMrtMetrics, getControllerMetrics, getOcapiMetrics, and getMetricsByCategory operations that fetch operational time-series metrics for an organization. Admin OAuth scope sfcc.metrics is handled automatically. Time bounds accept a Date or epoch milliseconds and are sent to the API as epoch seconds; response timestamps are normalized to epoch milliseconds. Optional enrichMetricsTags/parseSeriesTags helpers add a structured tags object (realm, environment, applied filters, and per-series dimensions like apiFamily/host/cacheStatus) to each series, so consumers can group and filter by dimension instead of parsing the packed series id.
    • CLI: a new metrics topic with per-category commands (b2c metrics overall, b2c metrics scapi, b2c metrics ocapi, etc.) and b2c metrics list — with table and --json output. The time window is set with --from/--to (relative like 1h/7d or ISO 8601) and an optional --window duration (e.g. --from 7d --window 1h for a one-hour window seven days ago). Any open bound defaults to a 24-hour window (the API caps a window at 24 hours), so requests always send an explicit range. Category-specific filter flags (--api-family, --api-name, --ocapi-category, --ocapi-api, --third-party-service-id) live only on the command they apply to. Each series is enriched with a structured tags object by default; use --no-tags for the raw API shape.
    • MCP: a metrics_get tool in the SCAPI toolset (gated as non-GA; requires --allow-non-ga-tools). Series are returned with the structured tags object.

    This is a closed beta feature: it must be enabled for your organization, and its behavior, output, and OAuth scopes may change without notice.

Patch Changes

  • #556 7fb1122 - Pin the b2c-dx-mcp Claude Code plugin to the exact published MCP server version instead of @latest, and version its marketplace entry. npx reuses a cached package for a floating tag, so users could keep running a stale server (e.g. missing the latest docs tools) after an upgrade — an exact version forces a fetch, and versioning the marketplace entry makes clients re-pull the new pin. The pin and marketplace version track the MCP release automatically. (Thanks @clavery!)