Skip to content

feat(messenger)!: session list replaces account list, and the session contract needs status and list - #3337

Merged
leemour merged 1 commit into
mainfrom
feat/session-list
Nov 26, 2026
Merged

leemour merged 1 commit into
mainfrom
feat/session-list

Conversation

@leemour

@leemour leemour commented Nov 25, 2026 •

Copy link
Copy Markdown
Member

Why

Owner decisions NEED-2915 A (2026-11-24) and NEED-2936 (2026-11-26): in tg, max and wa the profile list moves from account list to session list, and account list is removed everywhere at once in cli-core 1.x. No alias, no backwards compatibility, no wait for 2.0 (WC-CMD-8, WC-ACCT-12).

What

  • accountCommand (the shared messenger account group) no longer has list. listProfiles stays and only session list calls it.
  • sharedCommandTemplate(app, "session") mounts messengerSessionCommands, so a messenger session shell without status and list no longer matches the contract.
  • parity.json drops account list and adds session list and session status (--check) in all three. STANDARD.md re-rendered.
  • The first help screen points at <tool> session list. Every CLI with a session list shows that line, so its contracts/help.snap changes on its next bump.
  • session list is not an MCP tool, like the rest of session. The all-profiles MCP server already names every profile in each tool's profile field.
  • slk mounts the shared account group, so it loses its duplicate account list on its next bump. Its own session list stays.
  • The fragment is under "Changed — experimental": the commands a CLI mounts are not part of the stable TypeScript API, and accountCommand and messengerSessionCommands keep their signatures. scripts/next-version.mjs gives 1.3.0.
  • No known-broken.json rows: the break is intended, and the three adoption pull requests merge right after the release.

Adoption pull requests (parity builds these branches)

They merge after the release, with their pin moved to it. The release runs bin/release --app-ref feat/session-list.

Testing

Locally: ci:quick, lint, standards:check, docs:check, and the tests of first-screen, admin-commands, session-commands, contract-templates and mcp. tg, max and wa, rebased on their main, built against a tarball of this branch: typecheck, the full vitest suite, generate and the test matrix pass.

🤖 Generated with Claude Code

… contract needs status and list

The owner moved the messenger profile list from `account list` to
`session list` with no alias (NEED-2915 A, WC-CMD-8, WC-ACCT-12).

- The shared messenger `account` group drops `list`; `listProfiles`
  stays and only `session list` calls it.
- The `session` contract template mounts `messengerSessionCommands`, so
  a messenger whose session shell lacks status or list no longer matches.
- parity.json drops `account list` and lists `session list` and
  `session status --check` in tg, max and wa; STANDARD.md re-rendered.
- The first help screen points at `<tool> session list`.
- Tests and the pinned MCP catalogue follow. `session list` is not an
  MCP tool, like the rest of `session`: the all-profiles server already
  names every profile in each tool's `profile` field.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@leemour
leemour marked this pull request as ready for review November 26, 2026 00:06
@leemour
leemour merged commit 731ca74 into main Nov 26, 2026
42 checks passed
@leemour
leemour deleted the feat/session-list branch November 26, 2026 00:17
leemour added a commit that referenced this pull request Nov 26, 2026
…ey adopt #3337 (#3380)

## Why

#3337 removed `account list` and made the shared `session` contract
require `session status` and `session list`. The messengers adopt it in
WireCatLabs/tg-cli#923, WireCatLabs/max-cli#992 and
WireCatLabs/whatsapp-cli#423, which need cli-core 1.3.0 on npm. The
release pull request #3378 builds their `main` (`--app-ref` reaches only
the release workflow), and the required `parity / main` and `parity /
wording` jobs read only `known-broken.json`. So main and the release are
red for tg, max and wa until they adopt.

## What

Three `known-broken.json` rows, until 2026-11-27. No alias and nothing
for users: the rows only let CI accept the intended break for about a
day. They are removed once the three adoption pull requests merge.

## Testing

`biome check` on the file. The parity jobs of this pull request read the
rows from its own merge commit.

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

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
leemour added a commit to WireCatLabs/max-cli that referenced this pull request Nov 26, 2026
…gone (#992)

## Why

Owner decisions NEED-2915 A and NEED-2936 (2026-11-26): tg, max and wa
list their profiles with `session list`, and `account list` is removed
everywhere at once, with no alias and no backwards compatibility
(WC-CMD-8, WC-ACCT-12). cli-core 1.3.0 (WireCatLabs/cli-core#3337) drops
`list` from the shared messenger `account` group and makes the shared
`session` contract require `status` and `list`.

## What

- cli-core 1.3.0 (was 1.0.0). The store moves to version 77 on its first
open.
- The `session` group mounts cli-core's `messengerSessionCommands`: `max
<profile> session status [--check]` and `max session list`.
- `max account list` is gone. The rest of the `account` group stays.
- Docs, the skill, the help and manifest contracts, the test matrix and
the tests say `session list`. The manifest's `desktop.profiles` is
`["session", "list", "--no-record", "--json"]`.
- The changelog fragment puts the removal under the breaking heading, so
the release is a minor (0.x).

## Testing

On cli-core 1.3.0: typecheck, the full vitest suite, `generate`, the
test matrix check, `contracts:check`, lint and `docs:check`.

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

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
leemour added a commit to WireCatLabs/tg-cli that referenced this pull request Nov 26, 2026
…gone (#923)

## Why

Owner decisions NEED-2915 A and NEED-2936 (2026-11-26): tg, max and wa
list their profiles with `session list`, and `account list` is removed
everywhere at once, with no alias and no backwards compatibility
(WC-CMD-8, WC-ACCT-12). cli-core 1.3.0 (WireCatLabs/cli-core#3337) drops
`list` from the shared messenger `account` group and makes the shared
`session` contract require `status` and `list`.

## What

- cli-core 1.3.0 (was 1.0.0). The store moves to version 77 on its first
open.
- The `session` group mounts cli-core's `messengerSessionCommands`: `tg
<profile> session status [--check]` and `tg session list`.
- `tg account list` is gone. The rest of the `account` group stays.
- Docs, the skill, the help and manifest contracts, the test matrix and
the tests say `session list`. The manifest's `desktop.profiles` is
`["session", "list", "--no-record", "--json"]`.
- The changelog fragment puts the removal under the breaking heading, so
the release is a minor (0.x).

## Testing

On cli-core 1.3.0: typecheck, the full vitest suite, `generate`, the
test matrix check, `contracts:check`, lint and `docs:check`.

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

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
leemour added a commit to WireCatLabs/whatsapp-cli that referenced this pull request Nov 26, 2026
…gone (#423)

## Why

Owner decisions NEED-2915 A and NEED-2936 (2026-11-26): tg, max and wa
list their profiles with `session list`, and `account list` is removed
everywhere at once, with no alias and no backwards compatibility
(WC-CMD-8, WC-ACCT-12). cli-core 1.3.0 (WireCatLabs/cli-core#3337) drops
`list` from the shared messenger `account` group and makes the shared
`session` contract require `status` and `list`.

## What

- cli-core 1.3.0 (was 1.0.0). The store moves to version 77 on its first
open.
- The `session` group mounts cli-core's `messengerSessionCommands`: `wa
<profile> session status [--check]` and `wa session list`.
- `wa account list` is gone. The rest of the `account` group stays.
- Docs, the skill, the help and manifest contracts, the test matrix and
the tests say `session list`. The manifest's `desktop.profiles` is
`["session", "list", "--no-record", "--json"]`.
- The changelog fragment puts the removal under the breaking heading, so
the release is a minor (0.x).

## Testing

On cli-core 1.3.0: typecheck, the full vitest suite, `generate`, the
test matrix check, `contracts:check`, lint and `docs:check`.

🤖 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