@wirecat/tg-cli 0.62.0 → 0.63.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/bin/tg.js CHANGED
@@ -1,6 +1,9 @@
1
1
  #!/usr/bin/env node
2
+ import { enableCompileCache } from "node:module";
2
3
  import { catchCrashes } from "@wirecat/cli-base";
3
4
  import { ensureSqlite } from "@wirecat/cli-core/sqlite-runtime";
5
+ // Compiling about 1,700 module files is most of a start; later runs reuse what this one compiled.
6
+ enableCompileCache();
4
7
  const stopCatching = catchCrashes({ cli: "tg", interactive: process.stdout.isTTY === true });
5
8
  await ensureSqlite();
6
9
  stopCatching();
@@ -1 +1 @@
1
- {"version":3,"file":"tg.js","sourceRoot":"","sources":["../../src/bin/tg.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAA;AAChD,OAAO,EAAE,YAAY,EAAE,MAAM,kCAAkC,CAAA;AAE/D,MAAM,YAAY,GAAG,YAAY,CAAC,EAAE,GAAG,EAAE,IAAI,EAAE,WAAW,EAAE,OAAO,CAAC,MAAM,CAAC,KAAK,KAAK,IAAI,EAAE,CAAC,CAAA;AAC5F,MAAM,YAAY,EAAE,CAAA;AACpB,YAAY,EAAE,CAAA;AACd,mGAAmG;AACnG,MAAM,EAAE,GAAG,EAAE,GAAG,MAAM,MAAM,CAAC,eAAe,CAAC,CAAA;AAC7C,OAAO,CAAC,QAAQ,GAAG,MAAM,GAAG,CAAC,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAA;AAEnD,qGAAqG;AACrG,yGAAyG;AACzG,MAAM,SAAS,GAAG,UAAU,CAAC,GAAG,EAAE;IAChC,IAAI,OAAO,CAAC,MAAM,CAAC,cAAc,GAAG,CAAC,EAAE,CAAC;QACtC,SAAS,CAAC,OAAO,EAAE,CAAA;QACnB,OAAM;IACR,CAAC;IACD,OAAO,CAAC,MAAM,CAAC,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,EAAE,KAAK,CAAC,CAAA;AACT,SAAS,CAAC,KAAK,EAAE,CAAA"}
package/dist/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "0.62.0";
1
+ export declare const VERSION = "0.63.0";
2
2
  //# sourceMappingURL=version.d.ts.map
package/dist/version.js CHANGED
@@ -1,2 +1,2 @@
1
- export const VERSION = "0.62.0";
1
+ export const VERSION = "0.63.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.62.0",
3
+ "version": "0.63.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",
@@ -65,7 +65,7 @@
65
65
  "dependencies": {
66
66
  "@mtcute/node": "0.32.4",
67
67
  "@wirecat/cli-base": "0.40.0",
68
- "@wirecat/cli-core": "0.296.0",
68
+ "@wirecat/cli-core": "0.298.0",
69
69
  "commander": "15.0.0",
70
70
  "undici": "7.30.0",
71
71
  "valibot": "1.5.0"
@@ -252,6 +252,7 @@ tg personal review --unanswered --json # questions, including retain
252
252
  tg personal review --unanswered --transcribe --json # hear new voices before filtering; keep the old boundary if incomplete
253
253
  tg personal tasks list state:open --json # what waits on the owner; review and serve open and close tasks
254
254
  tg personal tasks categories --json # choose a category before tasks add/plan
255
+ # the owner edits the list in ~/.config/WireCat/config.json, section task_categories ("name": "meaning | words" or null)
255
256
  tg personal tasks add <ref> --type request --category documents --json
256
257
  # exit 2 task.duplicate-candidates: may be the same job as an open task; rerun with --into <id> or --new
257
258
  tg personal tasks duplicates --json # pairs that may be one job; tasks merge <dup> --into <task>