@wirecat/whatsapp-cli 0.9.0 → 0.10.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/app.d.ts CHANGED
@@ -1,6 +1,5 @@
1
- import type { AppIdentity } from "@wirecat/cli-core/cli";
2
1
  import { type Configuration } from "@wirecat/cli-core/cli";
3
- export declare const WA: AppIdentity;
2
+ export { WA } from "./identity.js";
4
3
  /** The Graph API version the generated commands were built from; a newer one is a setting away. */
5
4
  export declare const GRAPH_VERSION = "v23.0";
6
5
  /** What a bot profile on Meta's Cloud API names: ids, not secrets. */
package/dist/app.d.ts.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"app.d.ts","sourceRoot":"","sources":["../src/app.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAA;AACxD,OAAO,EAAE,KAAK,aAAa,EAAe,MAAM,uBAAuB,CAAA;AAKvE,eAAO,MAAM,EAAE,EAAE,WAShB,CAAA;AAED,mGAAmG;AACnG,eAAO,MAAM,aAAa,UAAU,CAAA;AAEpC,sEAAsE;AACtE,MAAM,WAAW,WAAW;IAC1B,aAAa,EAAE,MAAM,GAAG,SAAS,CAAA;IACjC,MAAM,EAAE,MAAM,GAAG,SAAS,CAAA;IAC1B,YAAY,EAAE,MAAM,CAAA;CACrB;AAID,eAAO,MAAM,MAAM,EAAE,aAenB,CAAA;AACF,eAAO,MAAQ,eAAe,sKAAW,CAAA"}
1
+ {"version":3,"file":"app.d.ts","sourceRoot":"","sources":["../src/app.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,aAAa,EAAe,MAAM,uBAAuB,CAAA;AAIvE,OAAO,EAAE,EAAE,EAAE,MAAM,eAAe,CAAA;AAElC,mGAAmG;AACnG,eAAO,MAAM,aAAa,UAAU,CAAA;AAEpC,sEAAsE;AACtE,MAAM,WAAW,WAAW;IAC1B,aAAa,EAAE,MAAM,GAAG,SAAS,CAAA;IACjC,MAAM,EAAE,MAAM,GAAG,SAAS,CAAA;IAC1B,YAAY,EAAE,MAAM,CAAA;CACrB;AAID,eAAO,MAAM,MAAM,EAAE,aAenB,CAAA;AACF,eAAO,MAAQ,eAAe,sKAAW,CAAA"}
package/dist/app.js CHANGED
@@ -1,17 +1,7 @@
1
1
  import { settingsFor } from "@wirecat/cli-core/cli";
2
2
  import * as v from "valibot";
3
- import { REASONS } from "./reasons.js";
4
- import { VERSION } from "./version.js";
5
- export const WA = {
6
- command: "wa",
7
- appName: "whatsapp-cli",
8
- envPrefix: "WA",
9
- description: "A personal WhatsApp account from the command line, as a linked device, for agents and scripts",
10
- version: VERSION,
11
- issues: "https://github.com/WireCatLabs/whatsapp-cli/issues/new",
12
- locale: "en-GB",
13
- errors: { reasons: REASONS },
14
- };
3
+ import { WA } from "./identity.js";
4
+ export { WA } from "./identity.js";
15
5
  /** The Graph API version the generated commands were built from; a newer one is a setting away. */
16
6
  export const GRAPH_VERSION = "v23.0";
17
7
  const metaId = v.pipe(v.string("has to be Meta's id, in quotes"), v.regex(/^\d+$/, "has to be digits only"));
package/dist/app.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"app.js","sourceRoot":"","sources":["../src/app.ts"],"names":[],"mappings":"AACA,OAAO,EAAsB,WAAW,EAAE,MAAM,uBAAuB,CAAA;AACvE,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAC5B,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAA;AACtC,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAA;AAEtC,MAAM,CAAC,MAAM,EAAE,GAAgB;IAC7B,OAAO,EAAE,IAAI;IACb,OAAO,EAAE,cAAc;IACvB,SAAS,EAAE,IAAI;IACf,WAAW,EAAE,+FAA+F;IAC5G,OAAO,EAAE,OAAO;IAChB,MAAM,EAAE,wDAAwD;IAChE,MAAM,EAAE,OAAO;IACf,MAAM,EAAE,EAAE,OAAO,EAAE,OAAO,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YACvF,OAAO,EAAE,EAAE,eAAe,EAAE,KAAK,CAAC,IAAI,EAAE,OAAO,EAAE,IAAI,CAAC,IAAI,EAAE,aAAa,EAAE,OAAO,CAAC,IAAI,EAAE;SAC1F,CAAA;IACH,CAAC;CACF,CAAC,CAAA;AACF,MAAM,CAAC,MAAM,EAAE,eAAe,EAAE,GAAG,MAAM,CAAA"}
package/dist/bin/wa.js CHANGED
@@ -1,14 +1,18 @@
1
1
  #!/usr/bin/env node
2
2
  import { enableCompileCache } from "node:module";
3
- import { catchCrashes } from "@wirecat/cli-base";
4
- import { ensureSqlite } from "@wirecat/cli-core/sqlite-runtime";
5
- import { WA } from "../app.js";
3
+ import { errorObjectOf, exitCodeOfError, renderError } from "@wirecat/cli-base";
6
4
  // Compiling the module files is most of a start; later runs reuse what this one compiled.
7
5
  enableCompileCache();
8
- const stopCatching = catchCrashes({ cli: WA.command, interactive: process.stdout.isTTY === true });
9
- await ensureSqlite();
10
- stopCatching();
11
- // A static import would load the whole program, and its SQLite, before ensureSqlite could swap it.
12
- const { run } = await import("../program.js");
13
- process.exitCode = await run(process.argv.slice(2));
6
+ const [{ startCli }, { WA }] = await Promise.all([import("@wirecat/cli-core/cli"), import("../identity.js")]);
7
+ await startCli({
8
+ app: WA,
9
+ sqlite: true,
10
+ // A static import would load the whole program, and its SQLite, before ensureSqlite could swap it.
11
+ run: async ({ args }) => (await import("../program.js")).run(args),
12
+ fail: (error, { tty }) => {
13
+ const object = errorObjectOf(error);
14
+ process.stderr.write(`${renderError(object, { cli: WA.command, interactive: tty })}\n`);
15
+ return exitCodeOfError(object);
16
+ },
17
+ });
14
18
  //# sourceMappingURL=wa.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"wa.js","sourceRoot":"","sources":["../../src/bin/wa.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAA;AAChD,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAA;AAChD,OAAO,EAAE,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AE,EAAE;QACvB,MAAM,MAAM,GAAG,aAAa,CAAC,KAAK,CAAC,CAAA;QACnC,OAAO,CAAC,MAAM,CAAC,KAAK,CAAC,GAAG,WAAW,CAAC,MAAM,EAAE,EAAE,GAAG,EAAE,EAAE,CAAC,OAAO,EAAE,WAAW,EAAE,GAAG,EAAE,CAAC,IAAI,CAAC,CAAA;QACvF,OAAO,eAAe,CAAC,MAAM,CAAC,CAAA;IAChC,CAAC;CACF,CAAC,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"update.d.ts","sourceRoot":"","sources":["../../src/commands/update.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,WAAW,CAAA;AAKxC,eAAO,MAAM,cAAc,QAAO,OAe/B,CAAA"}
1
+ {"version":3,"file":"update.d.ts","sourceRoot":"","sources":["../../src/commands/update.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,WAAW,CAAA;AAKxC,eAAO,MAAM,cAAc,QAAO,OAY9B,CAAA"}
@@ -1,8 +1,7 @@
1
- import { annotate } from "@wirecat/cli-base/commands";
2
1
  import { environmentOf, outputFor, restartServers, upgradeCommand as sharedUpgradeCommand } from "@wirecat/cli-core/cli";
3
2
  import { WA } from "../app.js";
4
3
  import { installer, latest, PACKAGE, runUpdate, waScript } from "../update.js";
5
- export const upgradeCommand = () => annotate(sharedUpgradeCommand(WA, PACKAGE, (command) => {
4
+ export const upgradeCommand = () => sharedUpgradeCommand(WA, PACKAGE, (command) => {
6
5
  const context = environmentOf(command);
7
6
  const environment = context.update ?? {};
8
7
  const env = context.env ?? process.env;
@@ -13,5 +12,5 @@ export const upgradeCommand = () => annotate(sharedUpgradeCommand(WA, PACKAGE, (
13
12
  install: (argv) => runUpdate(argv, environment),
14
13
  afterUpdate: () => restartServers(WA, waScript(), env, environment.spawn),
15
14
  };
16
- }), { examples: ["wa upgrade --check", "wa upgrade"] });
15
+ });
17
16
  //# sourceMappingURL=update.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"update.js","sourceRoot":"","sources":["../../src/commands/update.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,4BAA4B,CAAA;AACrD,OAAO,EAAE,aAAa,EAAE,SAAS,EAAE,cAAc,EAAE,cAAc,IAAI,oBAAoB,EAAE,MAAM,uBAAuB,CAAA;AAExH,OAAO,EAAE,EAAE,EAAE,MAAM,WAAW,CAAA;AAE9B,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAA;AAE9E,MAAM,CAAC,MAAM,cAAc,GAAG,GAAY,EAAE,CAC1C,QAAQ,CACN,oBAAoB,CAAC,EAAE,EAAE,OAAO,EAAE,CAAC,OAAO,EAAE,EAAE;IAC5C,MAAM,OAAO,GAAG,aAAa,CAAc,OAAO,CAAC,CAAA;IACnD,MAAM,WAAW,GAAG,OAAO,CAAC,MAAM,IAAI,EAAE,CAAA;IACxC,MAAM,GAAG,GAAG,OAAO,CAAC,GAAG,IAAI,OAAO,CAAC,GAAG,CAAA;IACtC,OAAO;QACL,GAAG,SAAS,CAAC,OAAO,CAAC;QACrB,SAAS,EAAE,GAAG,EAAE,CAAC,SAAS,CAAC,WAAW,CAAC;QACvC,MAAM,EAAE,GAAG,EAAE,CAAC,MAAM,CAAC,WAAW,CAAC;QACjC,OAAO,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,SAAS,CAAC,IAAI,EAAE,WAAW,CAAC;QAC/C,WAAW,EAAE,GAAG,EAAE,CAAC,cAAc,CAAC,EAAE,EAAE,QAAQ,EAAE,EAAE,GAAG,EAAE,WAAW,CAAC,KAAK,CAAC;KAC1E,CAAA;AACH,CAAC,CAAC,EACF,EAAE,QAAQ,EAAE,CAAC,oBAAoB,EAAE,YAAY,CAAC,EAAE,CACnD,CAAA"}
1
+ {"version":3,"file":"update.js","sourceRoot":"","sources":["../../src/commands/update.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,SAAS,EAAE,cAAc,EAAE,cAAc,IAAI,oBAAoB,EAAE,MAAM,uBAAuB,CAAA;AAExH,OAAO,EAAE,EAAE,EAAE,MAAM,WAAW,CAAA;AAE9B,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAA;AAE9E,MAAM,CAAC,MAAM,cAAc,GAAG,GAAY,EAAE,CAC1C,oBAAoB,CAAC,EAAE,EAAE,OAAO,EAAE,CAAC,OAAO,EAAE,EAAE;IAC5C,MAAM,OAAO,GAAG,aAAa,CAAc,OAAO,CAAC,CAAA;IACnD,MAAM,WAAW,GAAG,OAAO,CAAC,MAAM,IAAI,EAAE,CAAA;IACxC,MAAM,GAAG,GAAG,OAAO,CAAC,GAAG,IAAI,OAAO,CAAC,GAAG,CAAA;IACtC,OAAO;QACL,GAAG,SAAS,CAAC,OAAO,CAAC;QACrB,SAAS,EAAE,GAAG,EAAE,CAAC,SAAS,CAAC,WAAW,CAAC;QACvC,MAAM,EAAE,GAAG,EAAE,CAAC,MAAM,CAAC,WAAW,CAAC;QACjC,OAAO,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,SAAS,CAAC,IAAI,EAAE,WAAW,CAAC;QAC/C,WAAW,EAAE,GAAG,EAAE,CAAC,cAAc,CAAC,EAAE,EAAE,QAAQ,EAAE,EAAE,GAAG,EAAE,WAAW,CAAC,KAAK,CAAC;KAC1E,CAAA;AACH,CAAC,CAAC,CAAA"}
@@ -0,0 +1,4 @@
1
+ import type { AppIdentity } from "@wirecat/cli-core/cli";
2
+ /** Apart from the settings, so the bin can start without loading cli-core's command tree. */
3
+ export declare const WA: AppIdentity;
4
+ //# sourceMappingURL=identity.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"identity.d.ts","sourceRoot":"","sources":["../src/identity.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAA;AAIxD,6FAA6F;AAC7F,eAAO,MAAM,EAAE,EAAE,WAShB,CAAA"}
@@ -0,0 +1,14 @@
1
+ import { REASONS } from "./reasons.js";
2
+ import { VERSION } from "./version.js";
3
+ /** Apart from the settings, so the bin can start without loading cli-core's command tree. */
4
+ export const WA = {
5
+ command: "wa",
6
+ appName: "whatsapp-cli",
7
+ envPrefix: "WA",
8
+ description: "A personal WhatsApp account from the command line, as a linked device, for agents and scripts",
9
+ version: VERSION,
10
+ issues: "https://github.com/WireCatLabs/whatsapp-cli/issues/new",
11
+ locale: "en-GB",
12
+ errors: { reasons: REASONS },
13
+ };
14
+ //# sourceMappingURL=identity.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"identity.js","sourceRoot":"","sources":["../src/identity.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAA;AACtC,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAA;AAEtC,6FAA6F;AAC7F,MAAM,CAAC,MAAM,EAAE,GAAgB;IAC7B,OAAO,EAAE,IAAI;IACb,OAAO,EAAE,cAAc;IACvB,SAAS,EAAE,IAAI;IACf,WAAW,EAAE,+FAA+F;IAC5G,OAAO,EAAE,OAAO;IAChB,MAAM,EAAE,wDAAwD;IAChE,MAAM,EAAE,OAAO;IACf,MAAM,EAAE,EAAE,OAAO,EAAE,OAAO,EAAE;CAC7B,CAAA"}
package/dist/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "0.9.0";
1
+ export declare const VERSION = "0.10.0";
2
2
  //# sourceMappingURL=version.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"version.d.ts","sourceRoot":"","sources":["../src/version.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO,UAAU,CAAA"}
1
+ {"version":3,"file":"version.d.ts","sourceRoot":"","sources":["../src/version.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO,WAAW,CAAA"}
package/dist/version.js CHANGED
@@ -1,2 +1,2 @@
1
- export const VERSION = "0.9.0";
1
+ export const VERSION = "0.10.0";
2
2
  //# sourceMappingURL=version.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"version.js","sourceRoot":"","sources":["../src/version.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,OAAO,GAAG,OAAO,CAAA"}
1
+ {"version":3,"file":"version.js","sourceRoot":"","sources":["../src/version.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,OAAO,GAAG,QAAQ,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wirecat/whatsapp-cli",
3
- "version": "0.9.0",
3
+ "version": "0.10.0",
4
4
  "description": "A personal WhatsApp account from the terminal, as a linked device \u2014 built for agents and scripts",
5
5
  "license": "Apache-2.0",
6
6
  "author": "Viacheslav Ptsarev",
@@ -61,18 +61,18 @@
61
61
  "engine:packages": "node scripts/engine-packages.mjs build"
62
62
  },
63
63
  "dependencies": {
64
- "@wirecat/cli-base": "0.53.0",
65
- "@wirecat/cli-core": "0.420.0",
64
+ "@wirecat/cli-base": "0.57.0",
65
+ "@wirecat/cli-core": "0.428.0",
66
66
  "commander": "15.0.0",
67
67
  "valibot": "1.5.0"
68
68
  },
69
69
  "optionalDependencies": {
70
- "@wirecat/whatsapp-engine-darwin-arm64": "0.9.0",
71
- "@wirecat/whatsapp-engine-darwin-x64": "0.9.0",
72
- "@wirecat/whatsapp-engine-linux-arm64": "0.9.0",
73
- "@wirecat/whatsapp-engine-linux-x64": "0.9.0",
74
- "@wirecat/whatsapp-engine-win32-arm64": "0.9.0",
75
- "@wirecat/whatsapp-engine-win32-x64": "0.9.0"
70
+ "@wirecat/whatsapp-engine-darwin-arm64": "0.10.0",
71
+ "@wirecat/whatsapp-engine-darwin-x64": "0.10.0",
72
+ "@wirecat/whatsapp-engine-linux-arm64": "0.10.0",
73
+ "@wirecat/whatsapp-engine-linux-x64": "0.10.0",
74
+ "@wirecat/whatsapp-engine-win32-arm64": "0.10.0",
75
+ "@wirecat/whatsapp-engine-win32-x64": "0.10.0"
76
76
  },
77
77
  "devDependencies": {
78
78
  "@biomejs/biome": "2.5.15",