@orchagent/cli 0.2.0 → 0.2.1

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.
@@ -47,7 +47,12 @@ function registerInfoCommand(program) {
47
47
  // Fetch agent metadata
48
48
  const agentData = await (0, api_1.publicRequest)(config, `/public/agents/${org}/${agent}/${version}/download`);
49
49
  if (options.json) {
50
- process.stdout.write(JSON.stringify(agentData, null, 2) + '\n');
50
+ // Don't expose internal routing URLs in JSON output
51
+ const output = { ...agentData };
52
+ if (output.url?.includes('.internal')) {
53
+ delete output.url;
54
+ }
55
+ process.stdout.write(JSON.stringify(output, null, 2) + '\n');
51
56
  return;
52
57
  }
53
58
  // Display agent info
@@ -60,7 +65,8 @@ function registerInfoCommand(program) {
60
65
  process.stdout.write(`Type: ${agentData.type}\n`);
61
66
  process.stdout.write(`Providers: ${agentData.supported_providers.join(', ')}\n`);
62
67
  if (agentData.type === 'code') {
63
- if (agentData.url) {
68
+ // Don't show internal routing URLs - they confuse users
69
+ if (agentData.url && !agentData.url.includes('.internal')) {
64
70
  process.stdout.write(`Server: ${agentData.url}\n`);
65
71
  }
66
72
  if (agentData.source_url) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@orchagent/cli",
3
- "version": "0.2.0",
3
+ "version": "0.2.1",
4
4
  "description": "Command-line interface for the OrchAgent AI agent marketplace",
5
5
  "license": "MIT",
6
6
  "author": "OrchAgent <hello@orchagent.io>",