@wirecat/tg-cli 0.83.0 → 0.85.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 CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "0.83.0";
1
+ export declare const VERSION = "0.85.0";
2
2
  //# sourceMappingURL=version.d.ts.map
package/dist/version.js CHANGED
@@ -1,2 +1,2 @@
1
- export const VERSION = "0.83.0";
1
+ export const VERSION = "0.85.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.83.0",
3
+ "version": "0.85.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",
@@ -69,7 +69,7 @@
69
69
  "dependencies": {
70
70
  "@mtcute/node": "0.32.4",
71
71
  "@wirecat/cli-base": "0.50.3",
72
- "@wirecat/cli-core": "0.398.0",
72
+ "@wirecat/cli-core": "0.404.0",
73
73
  "commander": "15.0.0",
74
74
  "undici": "7.30.1",
75
75
  "valibot": "1.5.0"
@@ -276,7 +276,7 @@ tg personal tasks list "assignee:any state:open" --json # what others owe the
276
276
  # the owner edits the list in ~/.config/WireCat/config.json, section task_categories ("name": "meaning | words" or null)
277
277
  tg personal tasks add <ref> --type request --category documents --json
278
278
  # exit 2 task.duplicate-candidates: may be the same job as an open task; rerun with --into <id> or --new
279
- tg personal tasks duplicates --json # pairs that may be one job; tasks merge <dup> --into <task>
279
+ tg personal tasks duplicates list --json # pairs that may be one job; tasks merge <dup> --into <task>
280
280
  tg personal tasks claim <task> --lease 30m --json # take before work; tasks release <task> gives it back
281
281
  # tasks agenda omits others’ claims unless claimed:any; the default claim lasts 30 minutes.
282
282
  tg personal tasks close <task> --as dismissed --reason no-reply-needed --certainty <0..1> --json # only after the owner says so
@@ -305,7 +305,7 @@ tg personal search messages "invoice march" --json # Telegram messages only, an
305
305
  tg personal conversations build --chat -1001234567890 --json # the threads inside a group, from what was kept; then list | show
306
306
  tg skill show link-conversations # only when the owner asks you to untangle a chat's threads yourself
307
307
  tg personal search conversations "<question>" --json # by meaning, after the owner ran tg personal conversations embed --chat <chat>
308
- tg personal watch --jsonl # new messages as they arrive
308
+ tg personal watch --jsonl # new messages as {"type":"item","data"} lines, then a {"type":"end"} line
309
309
  ```
310
310
 
311
311
  An agent without a terminal (Claude Desktop, Cursor) uses the MCP server instead: `tg personal mcp`. The
@@ -475,10 +475,10 @@ never prints a whole phone number unless the owner asks for `--show-phone`; MCP
475
475
  ```sh
476
476
  tg personal contacts alias set 101 'Project lead'
477
477
  tg personal contacts alias rm 101
478
- tg personal contacts notes add 101 --file /path/to/own-note.md
478
+ tg personal contacts notes add 101 --text-file /path/to/own-note.md
479
479
  tg personal contacts notes list 101 --json
480
480
  tg personal contacts notes show 101 NOTE_ID --json
481
- tg personal contacts notes edit 101 NOTE_ID --revision 1 --file /path/to/own-note.md
481
+ tg personal contacts notes edit 101 NOTE_ID --revision 1 --text-file /path/to/own-note.md
482
482
  tg personal contacts notes remove 101 NOTE_ID
483
483
  tg personal contacts show 101 --with-notes --json
484
484
  tg personal metadata get --chat CHAT_ID --json
@@ -486,7 +486,7 @@ tg personal metadata refresh --chat CHAT_ID --limit 1 --json
486
486
  tg personal tags auto --chat CHAT_ID --dry-run --json
487
487
  tg personal tags auto --chat CHAT_ID --sync-first --limit 1 --json
488
488
  tg personal tags list sources:auto --json
489
- tg personal tags remove news --chat CHAT_ID --source auto
489
+ tg personal tags remove news --chat CHAT_ID --claim auto
490
490
  ```
491
491
 
492
492
  Automatic tags use local keyword rules on cached group/channel titles, usernames and descriptions;