@orchagent/cli 0.3.14 → 0.3.16

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.
@@ -436,7 +436,7 @@ async function installCodeAgent(agentData) {
436
436
  }
437
437
  }
438
438
  process.stderr.write(`Installing ${installSource}...\n`);
439
- const { code } = await runCommand('python3', ['-m', 'pip', 'install', '--quiet', installSource]);
439
+ const { code } = await runCommand('python3', ['-m', 'pip', 'install', '--quiet', '--disable-pip-version-check', installSource]);
440
440
  if (code !== 0) {
441
441
  throw new errors_1.CliError(`Failed to install agent (exit code ${code}).\n\n` +
442
442
  'Troubleshooting:\n' +
@@ -511,7 +511,7 @@ async function executeBundleAgent(config, org, agentName, version, agentData, ar
511
511
  try {
512
512
  await promises_1.default.access(requirementsPath);
513
513
  process.stderr.write(`Installing dependencies from requirements.txt...\n`);
514
- const { code } = await runCommand('python3', ['-m', 'pip', 'install', '-q', '-r', requirementsPath]);
514
+ const { code } = await runCommand('python3', ['-m', 'pip', 'install', '-q', '--disable-pip-version-check', '-r', requirementsPath]);
515
515
  if (code !== 0) {
516
516
  throw new errors_1.CliError('Failed to install dependencies from requirements.txt');
517
517
  }
@@ -769,7 +769,7 @@ function registerRunCommand(program) {
769
769
  .option('--skills <skills>', 'Add skills (comma-separated)')
770
770
  .option('--skills-only <skills>', 'Use only these skills')
771
771
  .option('--no-skills', 'Ignore default skills')
772
- .option('--here', 'Shorthand for --input \'{"path": "."}\'')
772
+ .option('--here', 'Scan current directory (passes absolute path to agent)')
773
773
  .option('--path <dir>', 'Shorthand for --input \'{"path": "<dir>"}\'')
774
774
  .option('--provider <name>', 'LLM provider to use (openai, anthropic, gemini, ollama)')
775
775
  .addHelpText('after', `
@@ -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`);
@@ -285,7 +285,7 @@ Instructions and guidance for AI agents...
285
285
  // Non-TTY fallback
286
286
  targetFormats = ['claude-code'];
287
287
  log('Note: No default formats configured. Installing to Claude Code only.\n');
288
- log('Run "orchagent config set-formats" to configure defaults.\n\n');
288
+ log('Run "orchagent config set default-format <ids>" to configure defaults.\n\n');
289
289
  }
290
290
  }
291
291
  const parsed = parseSkillRef(skillRef);
@@ -419,7 +419,7 @@ ${skillData.prompt}
419
419
  for (const tool of installed) {
420
420
  log(` - ${tool}\n`);
421
421
  }
422
- log(`\nLocation: ${scope === 'user' ? '~/' : './'}\n`);
422
+ log(`\nLocation: ${scope === 'user' ? '~/.claude/skills/ (and other AI tool dirs)' : './<tool>/skills/'}\n`);
423
423
  }
424
424
  });
425
425
  // orch skill uninstall <skill>
@@ -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.14",
3
+ "version": "0.3.16",
4
4
  "description": "Command-line interface for the orchagent AI agent marketplace",
5
5
  "license": "MIT",
6
6
  "author": "orchagent <hello@orchagent.io>",