diff --git a/changes/release-1.0.md b/changes/release-1.0.md new file mode 100644 index 00000000..93c5428a --- /dev/null +++ b/changes/release-1.0.md @@ -0,0 +1,11 @@ +### Изменено — может сломать скрипты + +- **`max` собран на cli-core 1.0.0 и cli-base 1.0.0.** Хранилище при первом открытии переходит на версию 73: номер + записи больше никогда не выдаётся дважды, а открыть хранилище после этого могут только инструменты на cli-core 1.0. + Обновите все установленные CLI WireCat до запуска этой версии. Перед переходом пишется копия для отката. Без неё + переход не начинается. +- **Вызов через MCP, который называет запрещённое место, отвечает `permission_error`**, а не `validation_error`. + Перед каждым вызовом через MCP каждая опция и аргумент с локальным файлом или папкой проверяются по настоящему пути: + вызов не может назвать папку с ключами, папку инструмента WireCat или хранилище. Запуск в терминале не меняется. +- **`schedule exec` больше не доступен через MCP.** Он запускает только файл расписания из своей папки расписаний. + Агент запускает сохранённое расписание через `schedule run `. diff --git a/contracts/help.snap b/contracts/help.snap index 0be82fcb..82bca45b 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 22a40e17..1ce38384 100644 --- a/contracts/upgrade.json +++ b/contracts/upgrade.json @@ -48,7 +48,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 4d46ed6a..16f8714b 100644 --- a/docs/commands.md +++ b/docs/commands.md @@ -2442,9 +2442,13 @@ bring the store up to this build's schema, then normalize, index and stem the me **Меняет что-то только на этом компьютере.** ```sh -max store migrate +max store migrate [options] ``` +| Опция | Что делает | +|---|---| +| `--no-backup` | migrate even when no rollback copy can be written; older tools then cannot open the store again. | + **Returns:** store migration — path, exists, from, to, normalized, indexed, terms, stemmed, and 1 more; every field: max commands info store migrate **Example:** `max personal store migrate` @@ -3660,7 +3664,7 @@ max conversations related [options] | `--base-url ` | a server with OpenAI's /v1/embeddings: Gemini, Jina, or Ollama and LM Studio on this machine. | | `--dims ` | remote: the vector size — needed with --base-url; shortens an OpenAI model's. | -**Returns:** conversation hit — summary, chunk, score, by, stale, source, locator, matched_in; every field: max commands info conversations related +**Returns:** conversation hit — summary, chunk, score, by, stale, source, locator, matched_in, and 3 more; every field: max commands info conversations related **Example:** `max personal conversations related "Book club" 101` @@ -4577,7 +4581,7 @@ max search all [options] | `--backend ` | where to search: the local archive, the messenger's server (default: both; message discovery uses archive only), or both. | | `--server-time ` | stop waiting for the server after this long (default: 5s). | -**Returns:** hit — kind, ref, provider, account, title, timestamp, excerpt, url, and 18 more; every field: max commands info search all +**Returns:** hit — kind, ref, provider, account, title, timestamp, excerpt, url, and 19 more; every field: max commands info search all **Example:** `max personal search all draft` @@ -4672,6 +4676,7 @@ max search conversations [options] | `--sync-first` | first fetch new messages within the chat, time and message bounds. | | `--sync-time ` | stop fetching after this long (default: 30s). | | `--max-messages ` | fetch at most this many messages total (default: 500). | +| `--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 id, or part of its title. | | `--since-time