@orchagent/cli 0.3.79 → 0.3.80

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.
@@ -988,7 +988,7 @@ function registerInitCommand(program) {
988
988
  process.stdout.write(` ${s + 2}. Copy .env.example to .env and add platform tokens\n`);
989
989
  process.stdout.write(` ${s + 3}. Test locally: pip install -r requirements.txt && python main.py\n`);
990
990
  process.stdout.write(` ${s + 4}. Deploy: orch publish && orch service deploy\n`);
991
- process.stdout.write(`\n Skill: orch skill install orchagent/agent-builder — gives your AI the full platform builder reference\n`);
991
+ process.stdout.write(`\n Skill: orch skill install orchagent-public/agent-builder — gives your AI the full platform builder reference\n`);
992
992
  return;
993
993
  }
994
994
  // Handle github-weekly-summary template separately (own file set + output)
@@ -1044,7 +1044,7 @@ function registerInitCommand(program) {
1044
1044
  process.stdout.write(` ${s + 3}. orch run <org>/${agentName} Test it\n`);
1045
1045
  process.stdout.write(` ${s + 4}. orch schedule create <org>/${agentName} --cron "0 9 * * 1" Schedule weekly\n`);
1046
1046
  process.stdout.write(`\n See README.md for full setup guide.\n`);
1047
- process.stdout.write(`\n Skill: orch skill install orchagent/agent-builder — gives your AI the full platform builder reference\n`);
1047
+ process.stdout.write(`\n Skill: orch skill install orchagent-public/agent-builder — gives your AI the full platform builder reference\n`);
1048
1048
  return;
1049
1049
  }
1050
1050
  // Handle discord-js template separately (JS Discord bot)
@@ -1094,7 +1094,7 @@ function registerInitCommand(program) {
1094
1094
  process.stdout.write(` ${stepNum + 2}. Copy .env.example to .env and fill in your tokens\n`);
1095
1095
  process.stdout.write(` ${stepNum + 3}. Test locally: npm install && node main.js\n`);
1096
1096
  process.stdout.write(` ${stepNum + 4}. Deploy: orch publish\n`);
1097
- process.stdout.write(`\n Skill: orch skill install orchagent/agent-builder — gives your AI the full platform builder reference\n`);
1097
+ process.stdout.write(`\n Skill: orch skill install orchagent-public/agent-builder — gives your AI the full platform builder reference\n`);
1098
1098
  return;
1099
1099
  }
1100
1100
  const manifestPath = path_1.default.join(targetDir, 'orchagent.json');
@@ -1296,6 +1296,6 @@ function registerInitCommand(program) {
1296
1296
  process.stdout.write(` ${stepNum + 1}. Edit schema.json with your input/output schemas\n`);
1297
1297
  process.stdout.write(` ${stepNum + 2}. Run: orchagent publish\n`);
1298
1298
  }
1299
- process.stdout.write(`\n Skill: orch skill install orchagent/agent-builder — gives your AI the full platform builder reference\n`);
1299
+ process.stdout.write(`\n Skill: orch skill install orchagent-public/agent-builder — gives your AI the full platform builder reference\n`);
1300
1300
  });
1301
1301
  }
@@ -1,4 +1,37 @@
1
1
  "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || (function () {
19
+ var ownKeys = function(o) {
20
+ ownKeys = Object.getOwnPropertyNames || function (o) {
21
+ var ar = [];
22
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
+ return ar;
24
+ };
25
+ return ownKeys(o);
26
+ };
27
+ return function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ })();
2
35
  var __importDefault = (this && this.__importDefault) || function (mod) {
3
36
  return (mod && mod.__esModule) ? mod : { "default": mod };
4
37
  };
@@ -380,6 +413,19 @@ function registerPublishCommand(program) {
380
413
  throw new errors_1.CliError(`Workspace '${configFile.workspace}' not found. Run \`orch workspace list\` to see available workspaces.`);
381
414
  }
382
415
  workspaceId = ws.id;
416
+ // Warn when publishing to the public showcase workspace
417
+ if (ws.slug === 'orchagent-public' && !options.dryRun) {
418
+ process.stderr.write(chalk_1.default.red.bold('\n PUBLIC WORKSPACE\n') +
419
+ chalk_1.default.red(` Everything published to "${ws.slug}" is publicly visible on orchagent.io/explore.\n\n`));
420
+ const readline = await Promise.resolve().then(() => __importStar(require('readline/promises')));
421
+ const rl = readline.createInterface({ input: process.stdin, output: process.stderr });
422
+ const answer = await rl.question(chalk_1.default.red(' Continue? (y/N): '));
423
+ rl.close();
424
+ if (answer.toLowerCase() !== 'y' && answer.toLowerCase() !== 'yes') {
425
+ process.stderr.write('\nPublish cancelled.\n');
426
+ process.exit(0);
427
+ }
428
+ }
383
429
  }
384
430
  // Check for SKILL.md first (skills take precedence)
385
431
  const skillMdPath = path_1.default.join(cwd, 'SKILL.md');
@@ -1059,6 +1105,6 @@ function registerPublishCommand(program) {
1059
1105
  process.stdout.write(`\nNote: Hosted code execution is in beta. Contact support for full deployment.\n`);
1060
1106
  }
1061
1107
  process.stdout.write(`\nView analytics and usage: https://orchagent.io/dashboard\n`);
1062
- process.stdout.write(`\nSkill: orch skill install orchagent/agent-builder — gives your AI the full platform builder reference\n`);
1108
+ process.stdout.write(`\nSkill: orch skill install orchagent-public/agent-builder — gives your AI the full platform builder reference\n`);
1063
1109
  });
1064
1110
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@orchagent/cli",
3
- "version": "0.3.79",
3
+ "version": "0.3.80",
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>",