Skip to content

refactor!: cli-core 0.319.0 — no default profile - #709

Merged
leemour merged 1 commit into
mainfrom
chore/cli-core-0.319
Oct 17, 2026
Merged

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

Conversation

@leemour

@leemour leemour commented Oct 17, 2026

Copy link
Copy Markdown
Collaborator

Task

Move @wirecat/cli-core from 0.315.0 to 0.319.0 (cli-core#1432) and follow the owner's ruling: no default profile, only an explicit one.

Why

cli-core 0.319.0 no longer reads default_profile. max has its own config set path and a SessionStore that still fell back to the profile default — both an implicit profile choice the owner ruled out.

What

  • Breaking: a leftover default_profile stops a command naming no profile, with the profile to type and max config unset default_profile. max config set default_profile is refused; unset still clears it.
  • A profile called default is ordinary: mcp config names its server max-default.
  • SessionStore requires profile (no "default" fallback). Only tests relied on it; they now pass it explicitly. Unused DEFAULT_PROFILE removed.
  • README, docs/*.md, skills/max-cli/SKILL.md, the commands.md intro (scripts/commands.ts) no longer offer default_profile.
  • CHANGELOG «Не выпущено»: the breaking change with what to do, plus the 0.317.0 task-rule and edit-merge fixes.

Testing

  • pnpm typecheck, pnpm lint (4 pre-existing warnings in untouched files), pnpm docs:check, pnpm parity:check
  • pnpm test:matrix: full vitest suite green; matrix 911 tested, 159 untested with a reason, 0 missing

🤖 Generated with Claude Code

cli-core 0.319.0 stops reading default_profile: a config that still has
it stops a command naming no profile, with the profile to type and
`max config unset default_profile`. A profile called `default` is an
ordinary name, so `mcp config` names its server `max-default`.

- `max config set default_profile` is refused; `unset` still removes a
  leftover one (max's own changeSetting mirrors cli-core's).
- SessionStore no longer falls back to profile "default": callers pass
  the profile. Only tests relied on the fallback.
- Dropped the unused DEFAULT_PROFILE constant.
- Docs, skill and the commands.md intro no longer offer default_profile.
- CHANGELOG: what to do instead (`max <profile> …`, unset), plus the
  0.317.0 task-rule and edit-merge fixes users will notice.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@leemour
leemour merged commit 0b0201f into main Oct 17, 2026
2 checks passed
@leemour
leemour deleted the chore/cli-core-0.319 branch October 17, 2026 11:43
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