@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.
- package/dist/index.js +5 -3
- 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 (
|
|
1288
|
-
.
|
|
1289
|
-
|
|
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());
|