@quantum-hub/qhubctl 1.6.0 → 1.6.2

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.
@@ -104,7 +104,8 @@ export const runCommand = new Command('run')
104
104
  // ignore — status printed below
105
105
  }
106
106
  const basePath = userConfig.endpoint?.basePath || defaultBasePath;
107
- const jobDetailsLink = `${basePath}/service-jobs/${job.id}`;
107
+ const dashboardBase = basePath.replace('//api.hub.', '//dashboard.hub.');
108
+ const jobDetailsLink = `${dashboardBase}/service-jobs/${job.id}`;
108
109
  switch (job.status) {
109
110
  case HubPlatform.ServiceJobDto.Status.Cancelled:
110
111
  spin.warn('Job canceled.');
@@ -97,7 +97,7 @@ Examples:
97
97
  export const upCommand = new Command('up')
98
98
  .description('Creates or updates a service')
99
99
  .option('--silent', 'Suppresses all outputs, helpful when executed in a CI/CD pipeline.', false)
100
- .option('--no-save-id', 'Prevents storing the created service ID in qhub.json file.', false)
100
+ .option('--no-save-id', 'Prevents storing the created service ID in qhub.json file.')
101
101
  .option('--name <value>', 'Override the service name from qhub.json with a custom name.')
102
102
  .addHelpText('after', EXAMPLES)
103
103
  .action(async (opts) => {
@@ -105,7 +105,7 @@ export const upCommand = new Command('up')
105
105
  const qhubService = new QuantumHubService(userConfig);
106
106
  const silentMode = opts.silent;
107
107
  // Commander inverts --no-save-id into opts.saveId = false
108
- const noSaveId = opts.saveId === false;
108
+ const noSaveId = !opts.saveId;
109
109
  const serviceConfig = readServiceConfig(process.cwd());
110
110
  if (!('descriptionFile' in serviceConfig)) {
111
111
  stdout('Warning: Since version 2.14.0, the "description" property in qhub.json has changed to "descriptionFile".\nFor more information, visit: https://docs.hub.kipu-quantum.com/qhub-json-reference.html\n');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quantum-hub/qhubctl",
3
- "version": "1.6.0",
3
+ "version": "1.6.2",
4
4
  "description": "Kipu Quantum Hub CLI",
5
5
  "author": "Kipu Quantum GmbH",
6
6
  "contributors": [