agentdex-cli 0.2.2 → 0.2.3

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/cli.js CHANGED
@@ -211,6 +211,8 @@ program
211
211
  try {
212
212
  const kind0 = createKind0Event(sk, {
213
213
  name: claim.agent?.name || name,
214
+ about: claim.agent?.description || undefined,
215
+ picture: claim.agent?.avatarUrl || undefined,
214
216
  nip05: `${name}@agentdex.id`,
215
217
  });
216
218
  const relays = ['wss://nos.lol', 'wss://relay.damus.io', ...(options.relay || [])];
package/dist/client.d.ts CHANGED
@@ -36,6 +36,8 @@ export interface ClaimResult {
36
36
  agent?: {
37
37
  id: string;
38
38
  name: string;
39
+ description?: string;
40
+ avatarUrl?: string;
39
41
  nip05Name: string;
40
42
  tier: string;
41
43
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agentdex-cli",
3
- "version": "0.2.2",
3
+ "version": "0.2.3",
4
4
  "description": "CLI and SDK for the agentdex AI agent directory",
5
5
  "type": "module",
6
6
  "bin": {
package/src/cli.ts CHANGED
@@ -233,6 +233,8 @@ program
233
233
  try {
234
234
  const kind0 = createKind0Event(sk, {
235
235
  name: claim.agent?.name || name,
236
+ about: claim.agent?.description || undefined,
237
+ picture: claim.agent?.avatarUrl || undefined,
236
238
  nip05: `${name}@agentdex.id`,
237
239
  });
238
240
  const relays = ['wss://nos.lol', 'wss://relay.damus.io', ...(options.relay || [])];
package/src/client.ts CHANGED
@@ -38,7 +38,7 @@ export interface ClaimResult {
38
38
  // Free/successful claim
39
39
  claimed?: boolean;
40
40
  nip05?: string;
41
- agent?: { id: string; name: string; nip05Name: string; tier: string };
41
+ agent?: { id: string; name: string; description?: string; avatarUrl?: string; nip05Name: string; tier: string };
42
42
  next_steps?: Record<string, unknown>;
43
43
  // Paid claim (402)
44
44
  status?: string;