@orchagent/cli 0.3.65 → 0.3.67

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.
@@ -600,7 +600,7 @@ function registerInitCommand(program) {
600
600
  process.stdout.write(` ${s}. orch github connect Connect your GitHub account\n`);
601
601
  process.stdout.write(` ${s + 1}. orch publish Publish the agent\n`);
602
602
  process.stdout.write(` ${s + 2}. Add secrets in web dashboard ORCHAGENT_API_KEY, DISCORD_WEBHOOK_URL, ANTHROPIC_API_KEY, GITHUB_REPOS\n`);
603
- process.stdout.write(` ${s + 3}. orch run <org>/${agentName} --cloud Test it\n`);
603
+ process.stdout.write(` ${s + 3}. orch run <org>/${agentName} Test it\n`);
604
604
  process.stdout.write(` ${s + 4}. orch schedule create <org>/${agentName} --cron "0 9 * * 1" Schedule weekly\n`);
605
605
  process.stdout.write(`\n See README.md for full setup guide.\n`);
606
606
  return;
@@ -339,9 +339,11 @@ function registerPublishCommand(program) {
339
339
  const cwd = process.cwd();
340
340
  // Resolve workspace context — if `orch workspace use` was called, publish
341
341
  // to that workspace instead of the personal org (F-5)
342
+ // Skip workspace resolution when using a named profile — the global
343
+ // workspace belongs to the default profile's context, not the named one.
342
344
  const configFile = await (0, config_1.loadConfig)();
343
345
  let workspaceId;
344
- if (configFile.workspace) {
346
+ if (configFile.workspace && !options.profile) {
345
347
  const { workspaces } = await (0, api_1.request)(config, 'GET', '/workspaces');
346
348
  const ws = workspaces.find(w => w.slug === configFile.workspace);
347
349
  if (!ws) {
@@ -752,8 +752,8 @@ Repos: {repos}
752
752
  exports.TEMPLATE_ENV_EXAMPLE = `# Required secrets -- add these via: orch secrets set NAME VALUE
753
753
  # Or in the web dashboard: Settings > Secrets
754
754
 
755
- # orchagent API key -- created automatically when you publish
756
- # Get one from: orch agent-keys create <your-org>/{{name}}
755
+ # orchagent API key -- create after publishing:
756
+ # orch agent-keys create <your-org>/{{name}}
757
757
  ORCHAGENT_API_KEY=
758
758
 
759
759
  # Discord webhook URL -- create at: Server Settings > Integrations > Webhooks > New Webhook
@@ -813,7 +813,7 @@ orch secrets set CLAUDE_MODEL claude-sonnet-4-5-20250929
813
813
  ### 4. Test run
814
814
 
815
815
  \`\`\`bash
816
- orch run <your-org>/{{name}} --cloud
816
+ orch run <your-org>/{{name}}
817
817
  \`\`\`
818
818
 
819
819
  Check your Discord channel -- the summary should appear within ~30 seconds.
@@ -834,7 +834,7 @@ This runs every Monday at 9am. Adjust the cron and timezone:
834
834
  View runs and logs:
835
835
 
836
836
  \`\`\`bash
837
- orch runs list # Recent runs
837
+ orch logs # Recent runs
838
838
  orch schedule list # Your schedules
839
839
  orch schedule trigger <schedule-id> # Manual trigger
840
840
  \`\`\`
@@ -878,7 +878,7 @@ To post to different Discord channels, deploy multiple instances with different
878
878
  | "GitHub App not installed" | Run \`orch github connect\` and grant repo access |
879
879
  | Empty summary | Check \`GITHUB_REPOS\` format -- must be \`owner/repo\`, not just \`repo\` |
880
880
  | Discord webhook 400/404 | Regenerate webhook in Discord server settings |
881
- | No runs appearing | Check \`orch runs list\` and \`orch schedule list\` |
881
+ | No runs appearing | Check \`orch logs\` and \`orch schedule list\` |
882
882
  `;
883
883
  // ─── Available templates registry ────────────────────────────────────────────
884
884
  exports.AVAILABLE_TEMPLATES = ['github-weekly-summary'];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@orchagent/cli",
3
- "version": "0.3.65",
3
+ "version": "0.3.67",
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>",