Skip to content

feat(session)!: session list and session status, and account list is gone - #423

Merged
leemour merged 4 commits into
mainfrom
feat/session-list
Nov 26, 2026
Merged

leemour merged 4 commits into
mainfrom
feat/session-list

Conversation

@leemour

@leemour leemour commented Nov 25, 2026 •

Copy link
Copy Markdown
Member

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

leemour and others added 3 commits November 26, 2026 01:03
…gone

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

- The session group mounts cli-core's messengerSessionCommands.
- cli-core 0.715.0 -> 0.751.0 for now; the next push pins the cli-core
  release that drops `account list` from the shared account group.
- Docs, the skill, the help and manifest contracts and the tests say
  `session list`; a test drives `session status` with and without --check.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…r session status and search conversations --like

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… cli-core session list branch

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
leemour added a commit to WireCatLabs/cli-core that referenced this pull request Nov 26, 2026
… contract needs status and list (#3337)

## 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)

- WireCatLabs/tg-cli#923
- WireCatLabs/max-cli#992
- WireCatLabs/whatsapp-cli#423

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](https://claude.com/claude-code)

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
leemour added a commit to WireCatLabs/cli-core 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>
…n status and list

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@leemour
leemour marked this pull request as ready for review November 26, 2026 01:10
@leemour
leemour merged commit e243c7a into main Nov 26, 2026
17 of 19 checks passed
@leemour
leemour deleted the feat/session-list branch November 26, 2026 01:19
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