@inteeka/task-cli 0.2.20 → 0.2.21

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.
package/dist/cli.js CHANGED
@@ -3842,6 +3842,7 @@ ${c.bold(`${project.organisation_slug}/${project.project_slug}`)} ${c.dim(`(${pr
3842
3842
  let fatal = null;
3843
3843
  try {
3844
3844
  while (!args.isInterrupted()) {
3845
+ if (agg.submitted >= maxSubmits) break;
3845
3846
  let prepared;
3846
3847
  try {
3847
3848
  prepared = await api.prepare(skillToken, batchSize, randomUUID2());
@@ -3894,6 +3895,7 @@ ${c.bold(`${project.organisation_slug}/${project.project_slug}`)} ${c.dim(`(${pr
3894
3895
  spinner?.succeed(`#${ticket.sequence_number} ready`);
3895
3896
  }
3896
3897
  inFlight.delete(ticket.ticket_id);
3898
+ if (agg.submitted >= maxSubmits) break;
3897
3899
  } catch (err) {
3898
3900
  agg.failed += 1;
3899
3901
  spinner?.fail(`#${ticket.sequence_number} ${err.message.slice(0, 200)}`);
@@ -5617,7 +5619,7 @@ function checkBinary(name, command) {
5617
5619
  }
5618
5620
 
5619
5621
  // src/commands/version.ts
5620
- var CLI_VERSION = true ? "0.2.20" : "0.0.0-dev";
5622
+ var CLI_VERSION = true ? "0.2.21" : "0.0.0-dev";
5621
5623
  function registerVersion(program2) {
5622
5624
  program2.command("version").description("Print the CLI version").action(() => {
5623
5625
  process.stdout.write(CLI_VERSION + "\n");