Skip to content

chore(deps)!: cli-core 0.473.0 — MCP servers name their profiles - #860

Merged
leemour merged 1 commit into
mainfrom
chore/cli-core-latest
Oct 29, 2026
Merged

leemour merged 1 commit into
mainfrom
chore/cli-core-latest

Conversation

@leemour

@leemour leemour commented Oct 29, 2026

Copy link
Copy Markdown
Collaborator

Task

Move max-cli to the newest cli-core (0.473.0) so the profile rule and mcp serve reach npm (owner's answer A to NEED-1904; lane post on cli-core#849).

Why

From cli-core 0.470.0 an MCP server serves only the profiles it is told: max mcp serve with no profile exits 2 and lists the profiles; --profiles a,b and --profiles all name a set. Everything that starts a server without naming one has to name one, or it stops starting. cli-core 0.473.0 still requires cli-base 0.65, so that pin stays.

What

  • @wirecat/cli-core 0.469.0 → 0.473.0 (cli-base stays 0.65.0).
  • MCP Registry server.json starts mcp serve --profiles all. The Dockerfile already names glama; doctor --online already names the checked profile through MAX_PROFILE (src/online.ts unchanged).
  • docs/mcp.md shows --profiles and says a server with no profile does not start. Release skill step X2 and scripts/mcp-tools.ts examples name a profile.
  • Tests for mcp config --profiles, mcp serve --profiles (refused for an unknown profile, before serving) and mcp revoke --profiles all, so the test matrix has no ❌.
  • Generated: docs/commands.md (sender_is_me on messages, from cli-core 0.473), docs/dev/test-matrix.md, contracts/help.snap (mail under "Works with").
  • Changelog under «Не выпущено», "Изменено — может сломать скрипты": what breaks for a client entry from 0.83–0.84 and what to do.
  • Lint baseline: nothing stale — serve in it is max's own max <profile> serve; lint:commands reports 0 new.

Testing

  • pnpm release:check (all but the expected pre-release version not on npm, changelog, tree unchanged), contracts:check, smoke:node, check:agent-docs, parity:check.
  • By hand on the built CLI, throwaway HOME, profiles alpha and beta: mcp --help; mcp serve with no profile → exit 2, validation_error, lists alpha, beta; alpha mcp serve and mcp serve --profiles all answer initialize on stdio; alpha mcp revoke --json and mcp revoke --profiles all --json → revoked: true; mcp revoke with no profile → exit 2.
  • doctor --online's handshake (dist/online.js mcpHandshake) with MAX_PROFILE=alpha → 3 tools; with no profile → the server exits 2.

🤖 Generated with Claude Code

cli-core 0.470.0 makes `max mcp serve` with no profile exit 2 and list the
profiles; `--profiles a,b` and `--profiles all` name a set (NEED-1881).

- @wirecat/cli-core 0.469.0 -> 0.473.0; cli-base stays 0.65.0.
- MCP Registry server.json starts `mcp serve --profiles all`. Dockerfile
  already names `glama`; doctor --online names the checked profile through
  MAX_PROFILE (src/online.ts unchanged).
- docs/mcp.md shows `--profiles`; release skill X2 and scripts/mcp-tools.ts
  examples name a profile.
- Tests for `mcp config|serve|revoke --profiles`; regenerated commands.md,
  test matrix and help.snap (`mail` under Works with).
- Changelog under «Не выпущено».

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@leemour
leemour merged commit de2a966 into main Oct 29, 2026
13 checks passed
@leemour leemour mentioned this pull request Oct 29, 2026
leemour added a commit that referenced this pull request Oct 29, 2026
## Task
Release max 0.85.0: cli-core 0.473.0 and the MCP profile rule (#860),
owner's answer A to NEED-1904.

## Why
The repository's release skill needs a version bump and a dated
changelog in one PR. Not merged yet: the release skill says nothing
merges or publishes without the owner's word, and the live scenarios
still need the owner.

## What
- `package.json` and `src/version.ts` 0.84.0 → 0.85.0 (minor, because
`mcp serve` without a profile now refuses).
- `CHANGELOG.md`: «Не выпущено» dated `## 0.85.0 — 29.10.2026`; text as
merged in #860.

## Testing
`pnpm release:check` on this branch before the commit: 14/15, only "tree
unchanged" failed (the three edits were not committed yet).

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant