@clawchatsai/connector 0.0.90 → 0.0.91

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/dist/index.js +5 -3
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1284,9 +1284,11 @@ const plugin = {
1284
1284
  api.registerCli((ctx) => {
1285
1285
  const cmd = ctx.program.command('clawchats');
1286
1286
  cmd.command('setup <token>')
1287
- .description('Set up ClawChats with a setup token (use --skip-totp for agent-driven installs)')
1288
- .allowUnknownOption()
1289
- .action((token) => handleSetup(String(token), { skipTotp: process.argv.includes('--skip-totp') }));
1287
+ .description('Set up ClawChats with a setup token (interactive prompts for TOTP)')
1288
+ .action((token) => handleSetup(String(token), {}));
1289
+ cmd.command('setup-agent <token>')
1290
+ .description('Set up ClawChats non-interactively for agent-driven installs (skips TOTP — run setup-totp + verify-totp separately)')
1291
+ .action((token) => handleSetup(String(token), { skipTotp: true }));
1290
1292
  cmd.command('status')
1291
1293
  .description('Show ClawChats connection status')
1292
1294
  .action(() => handleStatus());
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@clawchatsai/connector",
3
- "version": "0.0.90",
3
+ "version": "0.0.91",
4
4
  "type": "module",
5
5
  "description": "ClawChats OpenClaw plugin — P2P tunnel + local API bridge",
6
6
  "main": "dist/index.js",