diff --git a/changes/release-1.0.md b/changes/release-1.0.md new file mode 100644 index 00000000..cc51f209 --- /dev/null +++ b/changes/release-1.0.md @@ -0,0 +1,10 @@ +### Changed — may break callers + +- **wa builds on cli-core 1.0.0 and cli-base 1.0.0.** The store moves to version 73 on its first open: an id is never + handed out twice, and only tools on cli-core 1.0 open the store after that. Upgrade every installed WireCat CLI + before you run this version. The migration writes a rollback copy first and refuses to run without one. +- **An MCP call that names a refused place answers `permission_error`**, not `validation_error`. Before any MCP call + runs, each option and argument that takes a local file or folder is checked by its real path: a call cannot name a + credential folder, a folder of a WireCat tool or the message store. A shell run is unchanged. +- **`schedule exec` is no longer offered over MCP.** It runs only a schedule file in the tool's own schedules folder. + An agent runs a saved schedule with `schedule run `. diff --git a/contracts/help.snap b/contracts/help.snap index c00694d3..3c038bbb 100644 --- a/contracts/help.snap +++ b/contracts/help.snap @@ -23,6 +23,7 @@ Works with: mail IMAP mail in the same local store: search your mailbox offline, next to your other WireCat data b24 Bitrix24 CRM: deals, leads and pipelines, searchable with your other WireCat data amo amoCRM and Kommo: deals, contacts and companies, searchable with your other WireCat data + attio Attio CRM: deals, people and companies, searchable with your other WireCat data pbx Asterisk PBX calls and recordings, searchable with your other WireCat data notion Notion pages and databases as local text, searchable with your other WireCat data ydisk Yandex Disk folders as local text, searchable with your other WireCat data diff --git a/contracts/upgrade.json b/contracts/upgrade.json index bead4929..17763382 100644 --- a/contracts/upgrade.json +++ b/contracts/upgrade.json @@ -59,7 +59,7 @@ "exit": 0, "stream": "stdout", "kind": "json", - "diagnostic": "4 terms\n" + "diagnosticPattern": "(?:the store moved to schema \\d+; every other WireCat CLI that uses it needs a version that speaks it — run ` upgrade` for each\n)?4 terms\n" }, { "id": "candidate-store-settle", diff --git a/docs/commands.md b/docs/commands.md index 035ff0b4..6100926c 100644 --- a/docs/commands.md +++ b/docs/commands.md @@ -2255,9 +2255,13 @@ bring the store up to this build's schema, then normalize, index and stem the me **Changes something on this computer only.** ```sh -wa store migrate +wa store migrate [options] ``` +| Option | What it does | +|---|---| +| `--no-backup` | migrate even when no rollback copy can be written; older tools then cannot open the store again. | + ### `wa store rebuild` rebuild the word index, its typo vocabulary, the stems, the files' word index, the notes' indexes and who took part in what, from what is stored, and drop the vectors no stored text uses; loses nothing @@ -4013,6 +4017,7 @@ wa search conversations [options] | `--dims ` | remote: the vector size — needed with --base-url; shortens an OpenAI model's. | | `--max-chats ` | at most this many chats in one run; 20 if not given. | | `--max-chunks ` | at most this many chunks embedded in one run; 2000 if not given. | +| `--like ` | a made-up reply that would answer the query, one sentence: searched by meaning too, which finds an answer worded unlike the question. | | `--chat ` | only this chat: a chat: its name, or its WhatsApp id (…@lid, …@g.us, …@newsletter). | | `--since-time