From c03c18e4838789ccba3755089488930490f5db21 Mon Sep 17 00:00:00 2001 From: leemour Date: Sat, 14 Nov 2026 07:55:37 +0100 Subject: [PATCH] feat(standards): calls in the nouns; --matching and --tag in the flags pbx and beeline mount cli-core's stats calls show, and the host's command lint refused calls as an unknown resource. The owner approved the word on 2026-11-14. --matching (role target) names every stored thing a search with that query finds. cli-core's meeting tags add and tags remove take it, so a phone host marks every call where chosen words are said in one command. --tag (role target) is what cli-core's shared search meetings has taken for a while; option-role reported it in every host that mounts it. Co-Authored-By: Claude Opus 5.5 --- CHANGELOG.md | 15 +++++++++++++++ src/standards/flags-knowledge.ts | 16 +++++++++++++++- src/standards/vocabulary.ts | 1 + 3 files changed, 31 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b00011f..b77dafa 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,21 @@ Versions before 0.8.0 are in the [git tags](https://github.com/WireCatLabs/cli-b Every entry says what changed as a caller sees it, why, and what to watch for — the rules are [`docs/dev/CONVENTIONS.md`](docs/dev/CONVENTIONS.md#the-changelog). +## Unreleased + +### Added + +- **`calls` is a collection noun**: phone calls a phone system recorded, stored as meetings with their transcripts, + as in cli-core's `stats calls show` that pbx and beeline mount. The `unknown-resource` lint no longer refuses + `stats calls`. +- **The flag vocabulary has `--matching `** (role `target`, string): every stored thing a search with this + query finds, and the command acts on each. cli-core's meeting `tags add` and `tags remove` take it, so + `pbx office tags add complaint --matching "refund OR complaint"` marks every call where those words are said. +- **The flag vocabulary has `--tag `** (role `target`, string): a tag by its name or an alias, so only what + carries it is read. cli-core's shared `search meetings` has taken it for a while, and `option-role` reported it. + Watch for: zoom-cli's `lint/baseline/option-role.json` line `search meetings --tag` turns stale after adopting this + version; remove it then. + ## 0.100.0 — 14.11.2026 ### Added diff --git a/src/standards/flags-knowledge.ts b/src/standards/flags-knowledge.ts index a055a96..d3228b0 100644 --- a/src/standards/flags-knowledge.ts +++ b/src/standards/flags-knowledge.ts @@ -1,6 +1,6 @@ import type { VocabularyFlag } from "./vocabulary.js" -/** Memories and facts that rest on cited sources, and sources the owner adds by hand. */ +/** Memories and facts that rest on cited sources, sources the owner adds by hand, and the owner's labels. */ export const KNOWLEDGE_FLAGS: VocabularyFlag[] = [ { name: "--accept-terms", @@ -36,4 +36,18 @@ export const KNOWLEDGE_FLAGS: VocabularyFlag[] = [ meaning: "at most this many characters read", unit: "characters", }, + { + name: "--tag", + value: "", + role: "target", + type: "string", + meaning: "a tag, by its name or an alias: only what carries it is read", + }, + { + name: "--matching", + value: "", + role: "target", + type: "string", + meaning: "every stored thing a search with this query finds, in its query language; the command acts on each", + }, ] diff --git a/src/standards/vocabulary.ts b/src/standards/vocabulary.ts index b8440aa..f05b5d4 100644 --- a/src/standards/vocabulary.ts +++ b/src/standards/vocabulary.ts @@ -311,6 +311,7 @@ const collections: [string, string][] = [ ["files", "files in the source, such as Google Drive, read and changed there"], ["comments", "comments people left on a thing in the source: a channel post or a file"], ["meetings", "stored meetings, from Zoom or another provider"], + ["calls", "phone calls a phone system recorded, stored as meetings with their transcripts"], ["calendars", "calendars of an account, each synced or not"], ["events", "calendar entries: meetings, appointments and other things on a calendar"], ["people", "persons the owner deals with, such as the attendees of events"],