@orchagent/cli 0.3.48 → 0.3.49

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.
@@ -165,8 +165,6 @@ function registerPublishCommand(program) {
165
165
  .command('publish')
166
166
  .description('Publish agent or skill from local files')
167
167
  .option('--url <url>', 'Agent URL (for code-based agents)')
168
- .option('--public', 'Make agent public')
169
- .option('--private', 'Make agent private (deprecated: now the default)')
170
168
  .option('--profile <name>', 'Use API key from named profile')
171
169
  .option('--dry-run', 'Show what would be published without making changes')
172
170
  .option('--skills <skills>', 'Default skills (comma-separated, e.g., org/skill@v1,org/other@v1)')
@@ -174,9 +172,6 @@ function registerPublishCommand(program) {
174
172
  .option('--docker', 'Include Dockerfile for custom environment (builds E2B template)')
175
173
  .option('--local-download', 'Allow users to download and run locally (default: server-only)')
176
174
  .action(async (options) => {
177
- if (options.private) {
178
- process.stderr.write('Warning: --private is deprecated (private is now the default). You can safely remove it.\n');
179
- }
180
175
  const skillsFromFlag = options.skills
181
176
  ? options.skills.split(',').map(s => s.trim()).filter(Boolean)
182
177
  : undefined;
@@ -211,7 +206,7 @@ function registerPublishCommand(program) {
211
206
  process.stderr.write(` Name: ${skillData.frontmatter.name}\n`);
212
207
  process.stderr.write(` Type: skill\n`);
213
208
  process.stderr.write(` Version: ${versionInfo}\n`);
214
- process.stderr.write(` Visibility: ${options.public ? 'public' : 'private'}\n`);
209
+ process.stderr.write(` Visibility: private\n`);
215
210
  process.stderr.write(` Providers: any\n`);
216
211
  if (hasMultipleFiles) {
217
212
  process.stderr.write(` Files: ${skillFiles.length} files\n`);
@@ -233,7 +228,7 @@ function registerPublishCommand(program) {
233
228
  type: 'skill',
234
229
  description: skillData.frontmatter.description,
235
230
  prompt: skillData.body,
236
- is_public: options.public ? true : false,
231
+ is_public: false,
237
232
  supported_providers: ['any'],
238
233
  default_skills: skillsFromFlag,
239
234
  skills_locked: options.skillsLocked || undefined,
@@ -248,7 +243,7 @@ function registerPublishCommand(program) {
248
243
  if (hasMultipleFiles) {
249
244
  process.stdout.write(`Files: ${skillFiles.length} files included\n`);
250
245
  }
251
- process.stdout.write(`Public: ${options.public ? 'yes' : 'no'}\n`);
246
+ process.stdout.write(`Visibility: private\n`);
252
247
  process.stdout.write(`\nView analytics and usage: https://orchagent.io/dashboard\n`);
253
248
  }
254
249
  catch (err) {
@@ -513,7 +508,7 @@ function registerPublishCommand(program) {
513
508
  process.stderr.write(` Name: ${manifest.name}\n`);
514
509
  process.stderr.write(` Type: ${manifest.type}${shouldUploadBundle ? ' (hosted)' : ''}\n`);
515
510
  process.stderr.write(` Version: ${versionInfo}\n`);
516
- process.stderr.write(` Visibility: ${options.public ? 'public' : 'private'}\n`);
511
+ process.stderr.write(` Visibility: private\n`);
517
512
  process.stderr.write(` Providers: ${supportedProviders.join(', ')}\n`);
518
513
  const effectiveSkills = skillsFromFlag || manifest.default_skills;
519
514
  const effectiveLocked = manifest.skills_locked || options.skillsLocked;
@@ -548,7 +543,7 @@ function registerPublishCommand(program) {
548
543
  input_schema: inputSchema,
549
544
  output_schema: outputSchema,
550
545
  tags: manifest.tags,
551
- is_public: options.public ? true : false,
546
+ is_public: false,
552
547
  supported_providers: supportedProviders,
553
548
  default_models: manifest.default_models,
554
549
  // Local run fields for tool agents
@@ -640,7 +635,7 @@ function registerPublishCommand(program) {
640
635
  process.stdout.write(`\nPublished agent: ${org.slug}/${manifest.name}@${assignedVersion}\n`);
641
636
  process.stdout.write(`Type: ${manifest.type}${shouldUploadBundle ? ' (hosted)' : ''}\n`);
642
637
  process.stdout.write(`Providers: ${supportedProviders.join(', ')}\n`);
643
- process.stdout.write(`Public: ${options.public ? 'yes' : 'no'}\n`);
638
+ process.stdout.write(`Visibility: private\n`);
644
639
  if (result.service_key) {
645
640
  process.stdout.write(`\nService key (save this - shown only once):\n`);
646
641
  process.stdout.write(` ${result.service_key}\n`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@orchagent/cli",
3
- "version": "0.3.48",
3
+ "version": "0.3.49",
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>",