From f0785401316c163708285da707f61809fe9fe7da Mon Sep 17 00:00:00 2001 From: leemour Date: Wed, 25 Nov 2026 12:58:33 +0100 Subject: [PATCH] chore(release): 0.136.0 bin/release: 0.135.0 is already on npm. Only the number changes: package.json, src/version.ts, the CHANGELOG heading, and the changes/ fragments collected under it. --- CHANGELOG.md | 42 +++++++++++++++++++++++++++++ changes/chore-cli-core-0.734.md | 14 ---------- changes/chore-cli-core-0.753.md | 18 ------------- changes/docs-skill-search-syntax.md | 6 ----- changes/release-1.0.md | 10 ------- package.json | 2 +- src/version.ts | 2 +- 7 files changed, 44 insertions(+), 50 deletions(-) delete mode 100644 changes/chore-cli-core-0.734.md delete mode 100644 changes/chore-cli-core-0.753.md delete mode 100644 changes/docs-skill-search-syntax.md delete mode 100644 changes/release-1.0.md diff --git a/CHANGELOG.md b/CHANGELOG.md index 85564a15..9b365d58 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,48 @@ Notable changes to `@wirecat/tg-cli`. One section per version, newest first; versions follow [semantic versioning](https://semver.org), so before `1.0.0` the command interface may still change. +## 0.136.0 — 25.11.2026 + +### Changed — may break callers + +- **The store moves to version 72** on its first open (cli-core 0.722.0). Like every store migration it only goes + forward. +- **The MCP server no longer offers `schedule exec`, and it runs only a file in tg's own schedules folder** (cli-core + 0.736.0). An agent runs a saved schedule with `schedule run `. Installed timers keep running. +- **tg 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 `. + +### Fixed + +- **`search conversations --like` shows the part of a huge conversation that answers the question** (cli-core + 0.734.0; tg now builds on it, was 0.718.0). A conversation of more than 50 chunks holds text near any question, so + its nearest chunk was often about something else. With a made-up reply, such a hit now shows the chunk that ranks + best by meaning and by the words that are rare inside that conversation. Without `--like` nothing changes. +- **A usage error says how to fix the call** (cli-core 0.734.0). An unknown flag that a sibling command takes names it + (`unknown option '--like' — --like is an option of search conversations`), `--filter` on `search messages` says the + filter goes in the query, and a query that fails after `--` says to put options before `--`. +- **`messages sync --full-history --background` reads the chat in full** (cli-core 0.752.0; tg now builds on + 0.753.0, was 0.734.0). The background job was started without `--full-history`, so a big group ended at once with + `fetched: 0` and `limited: "group_too_large"`. The job now gets the flag, and `store jobs retry` keeps it + ([#916](https://github.com/WireCatLabs/tg-cli/issues/916)). +- **A long sync stays fast as the chat grows** (cli-core 0.753.0). Each saved message looked through the whole chat + for replies waiting for their thread's root, so a page of 100 took 78 ms at 10,000 stored messages and 919 ms at + 90,000. That search now runs once per page: 32 to 42 ms up to 60,000 + ([#917](https://github.com/WireCatLabs/tg-cli/issues/917), + [benchmark](https://github.com/WireCatLabs/cli-testing/tree/main/performance/store/sync-growth)). +- **`messages download --output-dir` refuses credential folders, tg's own folders and the message store** (cli-core + 0.736.0), for one message, `--all` and `--offline`. +- **The agent skill says where the sender and the chat go in each search.** `search conversations` takes + `--filter 'from:me'`; `search messages` takes no `--like`, `--chat` or `--filter`, and `from:me` and `chat:` + go in its query. The skill's short description now also names `--like` and `messages context `, for an + agent that starts from the description without opening the skill. + ## 0.135.0 — 23.11.2026 ### Added diff --git a/changes/chore-cli-core-0.734.md b/changes/chore-cli-core-0.734.md deleted file mode 100644 index a5cb579f..00000000 --- a/changes/chore-cli-core-0.734.md +++ /dev/null @@ -1,14 +0,0 @@ -### Changed — may break callers - -- **The store moves to version 72** on its first open (cli-core 0.722.0). Like every store migration it only goes - forward. - -### Fixed - -- **`search conversations --like` shows the part of a huge conversation that answers the question** (cli-core - 0.734.0; tg now builds on it, was 0.718.0). A conversation of more than 50 chunks holds text near any question, so - its nearest chunk was often about something else. With a made-up reply, such a hit now shows the chunk that ranks - best by meaning and by the words that are rare inside that conversation. Without `--like` nothing changes. -- **A usage error says how to fix the call** (cli-core 0.734.0). An unknown flag that a sibling command takes names it - (`unknown option '--like' — --like is an option of search conversations`), `--filter` on `search messages` says the - filter goes in the query, and a query that fails after `--` says to put options before `--`. diff --git a/changes/chore-cli-core-0.753.md b/changes/chore-cli-core-0.753.md deleted file mode 100644 index dc976c2d..00000000 --- a/changes/chore-cli-core-0.753.md +++ /dev/null @@ -1,18 +0,0 @@ -### Changed — may break callers - -- **The MCP server no longer offers `schedule exec`, and it runs only a file in tg's own schedules folder** (cli-core - 0.736.0). An agent runs a saved schedule with `schedule run `. Installed timers keep running. - -### Fixed - -- **`messages sync --full-history --background` reads the chat in full** (cli-core 0.752.0; tg now builds on - 0.753.0, was 0.734.0). The background job was started without `--full-history`, so a big group ended at once with - `fetched: 0` and `limited: "group_too_large"`. The job now gets the flag, and `store jobs retry` keeps it - ([#916](https://github.com/WireCatLabs/tg-cli/issues/916)). -- **A long sync stays fast as the chat grows** (cli-core 0.753.0). Each saved message looked through the whole chat - for replies waiting for their thread's root, so a page of 100 took 78 ms at 10,000 stored messages and 919 ms at - 90,000. That search now runs once per page: 32 to 42 ms up to 60,000 - ([#917](https://github.com/WireCatLabs/tg-cli/issues/917), - [benchmark](https://github.com/WireCatLabs/cli-testing/tree/main/performance/store/sync-growth)). -- **`messages download --output-dir` refuses credential folders, tg's own folders and the message store** (cli-core - 0.736.0), for one message, `--all` and `--offline`. diff --git a/changes/docs-skill-search-syntax.md b/changes/docs-skill-search-syntax.md deleted file mode 100644 index 24bf7a78..00000000 --- a/changes/docs-skill-search-syntax.md +++ /dev/null @@ -1,6 +0,0 @@ -### Fixed - -- **The agent skill says where the sender and the chat go in each search.** `search conversations` takes - `--filter 'from:me'`; `search messages` takes no `--like`, `--chat` or `--filter`, and `from:me` and `chat:` - go in its query. The skill's short description now also names `--like` and `messages context `, for an - agent that starts from the description without opening the skill. diff --git a/changes/release-1.0.md b/changes/release-1.0.md deleted file mode 100644 index 9ab7d005..00000000 --- a/changes/release-1.0.md +++ /dev/null @@ -1,10 +0,0 @@ -### Changed — may break callers - -- **tg 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/package.json b/package.json index 683cdcc1..316863c3 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@wirecat/tg-cli", - "version": "0.135.0", + "version": "0.136.0", "description": "A local command line interface for a personal Telegram account, built for agents and scripts", "mcpName": "dev.wirecat/tg-cli", "license": "Apache-2.0", diff --git a/src/version.ts b/src/version.ts index d242f219..334acda3 100644 --- a/src/version.ts +++ b/src/version.ts @@ -1 +1 @@ -export const VERSION = "0.135.0" +export const VERSION = "0.136.0"