@orchagent/cli 0.3.66 → 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.
@@ -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) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@orchagent/cli",
3
- "version": "0.3.66",
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>",