@wirecat/tg-cli 0.43.1 → 0.44.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +3 -3
- package/skills/tg-cli/SKILL.md +6 -2
package/dist/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "0.
|
|
1
|
+
export declare const VERSION = "0.44.0";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/dist/version.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const VERSION = "0.
|
|
1
|
+
export const VERSION = "0.44.0";
|
|
2
2
|
//# sourceMappingURL=version.js.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wirecat/tg-cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.44.0",
|
|
4
4
|
"description": "A local command line interface for a personal Telegram account, built for agents and scripts",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": "Viacheslav Ptsarev",
|
|
@@ -55,9 +55,9 @@
|
|
|
55
55
|
"check:agent-docs": "pnpm build && node --experimental-strip-types scripts/check-agent-docs.ts"
|
|
56
56
|
},
|
|
57
57
|
"dependencies": {
|
|
58
|
-
"@wirecat/cli-core": "0.18.1",
|
|
59
|
-
"@wirecat/cli-messaging": "0.215.0",
|
|
60
58
|
"@mtcute/node": "0.32.3",
|
|
59
|
+
"@wirecat/cli-core": "0.18.1",
|
|
60
|
+
"@wirecat/cli-messaging": "0.216.0",
|
|
61
61
|
"commander": "15.0.0",
|
|
62
62
|
"undici": "7.30.0",
|
|
63
63
|
"valibot": "1.5.0"
|
package/skills/tg-cli/SKILL.md
CHANGED
|
@@ -139,7 +139,11 @@ summary; news digests remain separate future work. Permission: `messages.evidenc
|
|
|
139
139
|
5. **Start a search with `tg search all`**: messages, mail and notes on this machine in one answer, each hit
|
|
140
140
|
typed (`message`, `mail`, `note`). Narrow with `tg search messages`, `search mail`, `search notes`,
|
|
141
141
|
`search conversations` (by meaning) or `search topics`; every search lives under `tg search`.
|
|
142
|
-
|
|
142
|
+
For a natural question or uncertain wording, use `tg search messages '<question>' --discover`
|
|
143
|
+
or MCP `discover: true`. It searches the local archive without model downloads, keeps hard filters
|
|
144
|
+
and includes eligible direct replies. Inspect missing terms, parent links and the messages;
|
|
145
|
+
the first result and its score do not establish an answer. Explicit syntax remains strict.
|
|
146
|
+
**Without `--discover`, `tg search messages` also asks Telegram's search** (`--backend both`; `archive`
|
|
143
147
|
for the archive only). Good search needs downloaded chats: if a search finds nothing and `coverage.next` is
|
|
144
148
|
set, run it (`tg store fetch --all --background`) or ask the owner before saying the message does not exist.
|
|
145
149
|
Words and quoted phrases include word forms;
|
|
@@ -329,7 +333,7 @@ endpoint consent and `deny|allow` controls native chat opt-outs. Never widen the
|
|
|
329
333
|
scenarios without the owner's separate consent. Shared `serve` replies to everyone a rule matches unless the audience limits it, and only with explicit
|
|
330
334
|
`permissions.replies.send:allow`; the default is deny.
|
|
331
335
|
|
|
332
|
-
|
|
336
|
+
Ordinary search also asks Telegram; `--discover` reads only the archive, even with `--backend both`; `coverage` says what the archive held and
|
|
333
337
|
`coverage.next` what to fetch. `--sync-first` explicitly fetches new messages before searching and
|
|
334
338
|
marks nothing read: at most 5 chats, 500 messages and 30 seconds. Change these bounds with `--max-chats`,
|
|
335
339
|
`--max-messages`, `--sync-time`. Failed or incomplete refresh retains local results with stale coverage and refresh
|