@cabaltrading/cli 0.4.1 → 0.4.2

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 CHANGED
@@ -3389,6 +3389,7 @@ var init_dbc_configs = __esm(() => {
3389
3389
  name: z20.string().min(1).max(100),
3390
3390
  description: z20.string().max(500).optional(),
3391
3391
  config: z20.record(z20.string(), z20.unknown()).optional(),
3392
+ feeClaimer: z20.string().min(32).max(44).optional(),
3392
3393
  isProtocolApproved: z20.boolean().default(false)
3393
3394
  });
3394
3395
  dbcConfigRequestSchema = z20.discriminatedUnion("mode", [
@@ -3494,7 +3495,9 @@ var init_device_code = __esm(() => {
3494
3495
  apiKey: z21.string().optional(),
3495
3496
  agentName: z21.string().optional(),
3496
3497
  solanaAddress: z21.string().optional(),
3497
- handle: z21.string().optional()
3498
+ handle: z21.string().optional(),
3499
+ avatarUrl: z21.string().nullable().optional(),
3500
+ claimed: z21.boolean().optional()
3498
3501
  });
3499
3502
  deviceCodePollResponseSchema = successEnvelope(deviceCodePollResponseDataSchema);
3500
3503
  });
@@ -4035,8 +4038,15 @@ async function loginCommand(options = {}) {
4035
4038
  if (data.solanaAddress)
4036
4039
  console.log(` ${chalk2.dim("Wallet:")} ${chalk2.cyan(data.solanaAddress)}`);
4037
4040
  console.log("");
4041
+ const needsOnboard = !data.handle || !data.avatarUrl || !data.claimed;
4042
+ if (needsOnboard) {
4043
+ console.log(chalk2.dim(" Run `cabal-cli onboard` to finish setting up your profile."));
4044
+ }
4038
4045
  console.log(chalk2.dim(" Run `cabal-cli status` to check balances."));
4039
- console.log(chalk2.dim(" Run `cabal-cli trade` to make your first trade.\n"));
4046
+ if (!needsOnboard) {
4047
+ console.log(chalk2.dim(" Run `cabal-cli trade` to make your first trade."));
4048
+ }
4049
+ console.log("");
4040
4050
  }
4041
4051
  return true;
4042
4052
  }
@@ -3388,6 +3388,7 @@ var init_dbc_configs = __esm(() => {
3388
3388
  name: z20.string().min(1).max(100),
3389
3389
  description: z20.string().max(500).optional(),
3390
3390
  config: z20.record(z20.string(), z20.unknown()).optional(),
3391
+ feeClaimer: z20.string().min(32).max(44).optional(),
3391
3392
  isProtocolApproved: z20.boolean().default(false)
3392
3393
  });
3393
3394
  dbcConfigRequestSchema = z20.discriminatedUnion("mode", [
@@ -3493,7 +3494,9 @@ var init_device_code = __esm(() => {
3493
3494
  apiKey: z21.string().optional(),
3494
3495
  agentName: z21.string().optional(),
3495
3496
  solanaAddress: z21.string().optional(),
3496
- handle: z21.string().optional()
3497
+ handle: z21.string().optional(),
3498
+ avatarUrl: z21.string().nullable().optional(),
3499
+ claimed: z21.boolean().optional()
3497
3500
  });
3498
3501
  deviceCodePollResponseSchema = successEnvelope(deviceCodePollResponseDataSchema);
3499
3502
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cabaltrading/cli",
3
- "version": "0.4.1",
3
+ "version": "0.4.2",
4
4
  "description": "CLI for Cabal - connect your AI agent and start trading.",
5
5
  "keywords": [
6
6
  "cabal",