---
summary: "Adopt @cyanheads/mcp-ts-core ^0.10.6: canonical enrichment total, explicit display identity, MCPB bundle cleaner, anchored .mcpbignore"
breaking: false
security: false
---

# 0.1.8 — 2026-06-12

## Added

- **`scripts/clean-mcpb.ts`** — post-pack bundle cleaner wired into the `bundle` script. Runs `mcpb clean` (dev-dependency prune) then strips dependency-shipped agent docs (`node_modules/**/skills/`, `.claude/`, `.agents/`, `SKILL.md`) that root-anchored `.mcpbignore` patterns cannot reach.
- **`HEALTHCHECK`** in the Dockerfile — bun-native `fetch` against `/healthz` (the slim runtime image ships no curl/wget). Adds `ARG APP_VERSION` and the `org.opencontainers.image.version` OCI label.
- **Packaging-lint rules** (`scripts/lint-packaging.ts`) — bundle-content guards (unanchored-pattern detection, critical-runtime-path protection, post-bundle agent-doc assertion) and an identity check that `name`/`title`/`display_name` equal the unscoped package name.
- **`coerce-boolean-env-flag` antipattern rule** (`scripts/check-framework-antipatterns.ts`) — flags `z.coerce.boolean()` on env flags (`Boolean("false") === true`); comment lines are skipped so documentation mentions don't trip it.

## Changed

- **`ctx.enrich.total(n)`** now sets the canonical pagination total across all five paginated tools (`openstates_search_bills`, `openstates_search_people`, `openstates_search_committees`, `openstates_search_events`, `openstates_list_jurisdictions`). The enrichment field is renamed `totalItems` → `totalCount`.
- **`createApp()`** sets explicit `name` and `title` of `openstates-mcp-server`; the `openstates://jurisdiction/{jurisdiction_id}` resource gains an explicit `name` (`openstates_jurisdiction`).
- **`.mcpbignore`** root dev-dir patterns are anchored with a leading `/` so they no longer also strip nested runtime paths like `node_modules/x/skills/`.

## Fixed

- **`.codex-plugin` `interface.displayName`** corrected from the scoped package name to the unscoped `openstates-mcp-server`; `.claude-plugin` / `.codex-plugin` `version` fields resynced to the package version.

## Dependencies

- `@cyanheads/mcp-ts-core` ^0.9.21 → ^0.10.6
- `@biomejs/biome` ^2.4.16 → ^2.5.0
- `@types/node` ^25.9.1 → ^25.9.3
- `vitest` ^4.1.7 → ^4.1.8
