@web42/w42 0.1.13 → 0.1.14

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.
@@ -86,15 +86,14 @@ export const searchCommand = new Command("search")
86
86
  for (const agent of results) {
87
87
  const name = getCardName(agent.agent_card);
88
88
  const description = getCardDescription(agent.agent_card);
89
- const username = agent.owner.username;
90
89
  const security = getSecurityLevel(agent.gateway_status);
91
90
  const stars = agent.stars_count > 0 ? `★ ${agent.stars_count}` : "";
92
91
  const skills = formatSkills(agent.agent_card.skills);
93
- // Header: - <name (link)> | <@username (link)> | <security> | <stars>
94
- const nameLink = chalk.bold.cyan(terminalLink(name, `${config.apiUrl}/${username}/${agent.slug.split("~")[1] ?? agent.slug}`));
95
- const usernameLink = chalk.dim(terminalLink(`@${username}`, `${config.apiUrl}/${username}`));
92
+ // Header: - <name (link)> | <slug> | <security> | <stars>
93
+ const nameLink = chalk.bold.cyan(terminalLink(name, `${config.apiUrl}/${agent.slug.replace("~", "/").replace(/^@/, "")}`));
94
+ const slugLabel = chalk.dim(agent.slug);
96
95
  const separator = chalk.dim(" | ");
97
- const headerParts = [nameLink, usernameLink, security];
96
+ const headerParts = [nameLink, slugLabel, security];
98
97
  if (stars)
99
98
  headerParts.push(chalk.yellow(stars));
100
99
  console.log(`- ${headerParts.join(separator)}`);
@@ -1,22 +1,5 @@
1
1
  import chalk from "chalk";
2
- const LOGO = [
3
- "$$$$$$$$ $$$$$$$ $$$$$$$$$$ $$$$$$$$$$$$$$$$$$$$$$$$$$$ $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$",
4
- "$$$$$$$$ $$$$$$$$$ $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$ $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$",
5
- "$$$$$$$$ $$$$$$$$$$ $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$ $$$$$$$$$$$$$$$$$$$$$$$$$$$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old.yellow("web42") + chalk.dim(" · agent network"));
21
4
  console.log();
22
5
  }
package/dist/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const CLI_VERSION = "0.1.13";
1
+ export declare const CLI_VERSION = "0.1.14";
package/dist/version.js CHANGED
@@ -1 +1 @@
1
- export const CLI_VERSION = "0.1.13";
1
+ export const CLI_VERSION = "0.1.14";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@web42/w42",
3
- "version": "0.1.13",
3
+ "version": "0.1.14",
4
4
  "description": "CLI for the Web42 Agent Network — discover, register, and communicate with A2A agents",
5
5
  "type": "module",
6
6
  "bin": {