cc-claw 0.17.2 → 0.18.0

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.
@@ -486,7 +486,7 @@ if (!IS_SUB_AGENT) {
486
486
  jobId: params.jobId,
487
487
  updates: params.updates
488
488
  });
489
- return ok(result.success ? `Job #${params.jobId} updated.` : `Job #${params.jobId} not found.`);
489
+ return result.success ? ok(`Job #${params.jobId} updated.`) : fail(result.error ?? `Job #${params.jobId} could not be updated.`);
490
490
  }
491
491
  case "run": {
492
492
  if (!params.jobId) return fail("run requires 'jobId'");