Skip to content

fix(search): take a WhatsApp chat id unquoted, on cli-base 0.47.3 - #1691

Merged
leemour merged 1 commit into
mainfrom
fix/query-chat-id-bump
Oct 20, 2026
Merged

leemour merged 1 commit into
mainfrom
fix/query-chat-id-bump

Conversation

@leemour

@leemour leemour commented Oct 20, 2026

Copy link
Copy Markdown
Collaborator

Picks up the cli-base fix (WireCatLabs/cli-base#269, released in 0.47.3): chat:133…@lid and chat:120…@g.us parse as one term instead of failing with query.unsupported-operator.

  • cli-base dev pin 0.47.0 → 0.47.3; peer range now >=0.47.3 <0.48.0, so wa and tg must raise their own cli-base pin with this release.
  • Test in registry.test.ts: a chat id parses through the message fields; (alpha beta)@2 is still refused.
  • email field help, docs/mentions.md, regenerated docs/search/query-language.md: emails unquoted (the "@ is an operator" note was already false for addresses).
  • docs/dev/STANDARD.md regenerated from cli-base 0.47.3 standards.

Checks: lint, typecheck, test (5845 passed), docs:check.

Source: UX-86, report max-cli/docs_ai/research/2026-10-20-whatsmeow-coverage-and-tg-alignment.md.

🤖 Generated with Claude Code

cli-base 0.47.3 keeps an `@` followed by a letter inside a term, so
`chat:<n>@lid` and `chat:<n>@g.us` no longer fail with
query.unsupported-operator. cli-core now requires cli-base >=0.47.3 so a
CLI cannot pair it with a parser that still refuses them.

The `email` field help and docs/mentions.md said emails must be quoted
because `@` is an operator; that was already false for addresses, and
the examples are unquoted now. STANDARD.md is regenerated from the
cli-base 0.47.3 standards (`--qr-file` gone, `--alias` added).

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@leemour
leemour merged commit b243f72 into main Oct 20, 2026
12 checks passed
leemour added a commit to WireCatLabs/whatsapp-cli that referenced this pull request Oct 20, 2026
Bumps `@wirecat/cli-core` to 0.375.0 and `@wirecat/cli-base` to 0.47.3
so `chat:<n>@lid` and `chat:<n>@g.us` work without quotes (previously
`query.unsupported-operator`).

- WireCatLabs/cli-base#269
- WireCatLabs/cli-core#1691

Also removes the quoting workaround from docs and
`bin/live-expired-file`, and adds a CHANGELOG line. Lint, typecheck,
tests (512 passed), docs, standards and parity checks pass locally.

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

Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
leemour added a commit to WireCatLabs/tg-cli that referenced this pull request Oct 20, 2026
Bumps the exact pins `@wirecat/cli-core` 0.372.0 → 0.375.0 and
`@wirecat/cli-base` 0.47.0 → 0.47.3 (cli-core 0.375.0 requires cli-base
>=0.47.3).

Brings the query fix: an `@` followed by a letter stays in a term, so
e-mails without a dot after the `@` and chat ids work unquoted. Docs and
the tg-cli skill now show `email:ana@example.com`. CHANGELOG has a Fixed
line.

Tests: lint, typecheck, test (1573 passed), docs:check and parity:check
pass locally.

Links: WireCatLabs/cli-base#269, WireCatLabs/cli-core#1691

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

Co-authored-by: Claude Opus 5.5 (1M context) <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