@orchagent/cli 0.3.13 → 0.3.15

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.
@@ -816,6 +816,14 @@ Note: Use 'run' for local execution, 'call' for server-side execution.
816
816
  supported_providers: agentMeta.supported_providers || ['any'],
817
817
  };
818
818
  }
819
+ // Skills cannot be run directly - they're instructions to inject into agents
820
+ if (agentData.type === 'skill') {
821
+ throw new errors_1.CliError('Skills cannot be run directly.\n\n' +
822
+ 'Skills are instructions meant to be injected into AI agent contexts.\n\n' +
823
+ 'Options:\n' +
824
+ ` Install for AI tools: orchagent skill install ${org}/${parsed.agent}\n` +
825
+ ` Use with an agent: orchagent run <agent> --skills ${org}/${parsed.agent}`);
826
+ }
819
827
  // Check for dependencies (orchestrator agents)
820
828
  if (agentData.dependencies && agentData.dependencies.length > 0) {
821
829
  process.stderr.write(`\nChecking dependencies...\n`);
@@ -22,7 +22,7 @@ function printAgentsTable(agents) {
22
22
  });
23
23
  agents.forEach((agent) => {
24
24
  const fullName = `${agent.org_slug}/${agent.name}`;
25
- const type = agent.type === 'prompt' ? 'prompt' : 'code';
25
+ const type = agent.type || 'code';
26
26
  const providers = formatProviders(agent.supported_providers);
27
27
  const stars = agent.stars_count ?? 0;
28
28
  const desc = agent.description
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@orchagent/cli",
3
- "version": "0.3.13",
3
+ "version": "0.3.15",
4
4
  "description": "Command-line interface for the orchagent AI agent marketplace",
5
5
  "license": "MIT",
6
6
  "author": "orchagent <hello@orchagent.io>",