larkmate 0.1.23 → 0.1.24

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.
Files changed (2) hide show
  1. package/bin/larkmate.js +2 -1
  2. package/package.json +1 -1
package/bin/larkmate.js CHANGED
@@ -24,8 +24,9 @@ import { createApiKey } from '../src/access-policy.js';
24
24
  import { startApiService } from '../src/api-service.js';
25
25
 
26
26
  const defaultTimezone = Intl.DateTimeFormat().resolvedOptions().timeZone || 'UTC';
27
+ const { version } = JSON.parse(await readFile(new URL('../package.json', import.meta.url), 'utf8'));
27
28
  const program = new Command();
28
- program.name('larkmate').description('Operate Feishu as the logged-in user.').version('0.1.22');
29
+ program.name('larkmate').description('Operate Feishu as the logged-in user.').version(version);
29
30
  program.option('--credentials-file <path>', 'read LarkMate credentials.json');
30
31
  program.option('--broker <path>', 'use a restricted local broker socket (or LARKMATE_BROKER)');
31
32
  program.option('--broker-token-file <path>', 'read the agent token (or LARKMATE_BROKER_TOKEN_FILE)');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "larkmate",
3
- "version": "0.1.23",
3
+ "version": "0.1.24",
4
4
  "description": "A small, user-identity Feishu CLI with a modular gateway client",
5
5
  "type": "module",
6
6
  "license": "UNLICENSED",