@orchagent/cli 0.3.97 → 0.3.98

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.
@@ -506,8 +506,8 @@ async function batchPublish(rootDir, options) {
506
506
  forwardArgs.push('--skills-locked');
507
507
  if (options.docker)
508
508
  forwardArgs.push('--docker');
509
- if (options.localDownload)
510
- forwardArgs.push('--local-download');
509
+ if (options.localDownload === false)
510
+ forwardArgs.push('--no-local-download');
511
511
  if (options.requiredSecrets === false)
512
512
  forwardArgs.push('--no-required-secrets');
513
513
  const results = [];
@@ -583,7 +583,7 @@ function registerPublishCommand(program) {
583
583
  .option('--skills <skills>', 'Default skills (comma-separated, e.g., org/skill@v1,org/other@v1)')
584
584
  .option('--skills-locked', 'Lock default skills (callers cannot override via headers)')
585
585
  .option('--docker', 'Include Dockerfile for custom environment (builds E2B template)')
586
- .option('--local-download', 'Allow users to download and run locally (default: server-only)')
586
+ .option('--no-local-download', 'Prevent users from downloading and running locally (default: allowed)')
587
587
  .option('--no-required-secrets', '(deprecated) No longer needed — required_secrets defaults to []')
588
588
  .option('--all', 'Publish all agents in subdirectories (dependency order)')
589
589
  .action(async (options) => {
@@ -688,7 +688,7 @@ function registerPublishCommand(program) {
688
688
  skills_locked: options.skillsLocked || undefined,
689
689
  // SC-05: Include all skill files for UI preview
690
690
  skill_files: hasMultipleFiles ? skillFiles : undefined,
691
- allow_local_download: options.localDownload || false,
691
+ allow_local_download: options.localDownload !== false,
692
692
  }, workspaceId);
693
693
  const skillVersion = skillResult.agent?.version || 'v1';
694
694
  const skillAgentId = skillResult.agent?.id;
@@ -1124,7 +1124,7 @@ function registerPublishCommand(program) {
1124
1124
  required_secrets: manifest.required_secrets,
1125
1125
  default_skills: skillsFromFlag || manifest.default_skills,
1126
1126
  skills_locked: manifest.skills_locked || options.skillsLocked || undefined,
1127
- allow_local_download: options.localDownload || false,
1127
+ allow_local_download: options.localDownload !== false,
1128
1128
  environment: manifest.environment,
1129
1129
  }, workspaceId);
1130
1130
  if (validation.warnings?.length) {
@@ -1225,7 +1225,7 @@ function registerPublishCommand(program) {
1225
1225
  required_secrets: manifest.required_secrets,
1226
1226
  default_skills: skillsFromFlag || manifest.default_skills,
1227
1227
  skills_locked: manifest.skills_locked || options.skillsLocked || undefined,
1228
- allow_local_download: options.localDownload || false,
1228
+ allow_local_download: options.localDownload !== false,
1229
1229
  // Environment pinning
1230
1230
  environment: manifest.environment,
1231
1231
  }, workspaceId);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@orchagent/cli",
3
- "version": "0.3.97",
3
+ "version": "0.3.98",
4
4
  "description": "Command-line interface for orchagent — deploy and run AI agents for your team",
5
5
  "license": "MIT",
6
6
  "author": "orchagent <hello@orchagent.io>",