fluncle 0.150.0 → 0.151.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.
Files changed (2) hide show
  1. package/bin/fluncle.mjs +15 -2
  2. package/package.json +1 -1
package/bin/fluncle.mjs CHANGED
@@ -561,7 +561,7 @@ function parseVersion(version) {
561
561
  var currentVersion;
562
562
  var init_version = __esm(() => {
563
563
  init_output();
564
- currentVersion = "0.150.0".trim() ? "0.150.0".trim() : "0.1.0";
564
+ currentVersion = "0.151.0".trim() ? "0.151.0".trim() : "0.1.0";
565
565
  });
566
566
 
567
567
  // src/update-notifier.ts
@@ -2189,7 +2189,7 @@ function parseVersion2(version) {
2189
2189
  var currentVersion2, latestReleaseUrl = "https://api.github.com/repos/mauricekleine/fluncle/releases/latest";
2190
2190
  var init_version2 = __esm(() => {
2191
2191
  init_output();
2192
- currentVersion2 = "0.150.0".trim() ? "0.150.0".trim() : "0.1.0";
2192
+ currentVersion2 = "0.151.0".trim() ? "0.151.0".trim() : "0.1.0";
2193
2193
  });
2194
2194
 
2195
2195
  // ../../packages/registry/src/index.ts
@@ -5766,6 +5766,7 @@ var exports_admin_catalogue = {};
5766
5766
  __export(exports_admin_catalogue, {
5767
5767
  verifyCaptureCommand: () => verifyCaptureCommand,
5768
5768
  setTrackDismissedCommand: () => setTrackDismissedCommand,
5769
+ requeueUnmatchedCommand: () => requeueUnmatchedCommand,
5769
5770
  listUnverifiedCapturesCommand: () => listUnverifiedCapturesCommand,
5770
5771
  forceCaptureCommand: () => forceCaptureCommand,
5771
5772
  flagWrongAudioCommand: () => flagWrongAudioCommand,
@@ -5794,6 +5795,9 @@ async function clearWrongAudioCommand(trackId) {
5794
5795
  trackId
5795
5796
  });
5796
5797
  }
5798
+ async function requeueUnmatchedCommand() {
5799
+ return adminApiPost("/api/admin/catalogue/captures/requeue-unmatched", {});
5800
+ }
5797
5801
  async function forceCaptureCommand(trackId) {
5798
5802
  return adminApiPost("/api/admin/catalogue/force-capture", {
5799
5803
  trackId
@@ -8916,6 +8920,15 @@ function addAdminCommands(program2) {
8916
8920
  }
8917
8921
  console.log(cleared ? `Kept ${trackId}. Its audio re-embeds and rejoins the ranking on the next sweep.` : `${trackId} was not quarantined \u2014 nothing to clear.`);
8918
8922
  });
8923
+ catalogue.command("requeue-unmatched").description("Re-queue terminal-unmatched captures after a matcher improvement (operator)").option("--json", "Print JSON", false).action(async (options) => {
8924
+ const { requeueUnmatchedCommand: requeueUnmatchedCommand2 } = await Promise.resolve().then(() => (init_admin_catalogue(), exports_admin_catalogue));
8925
+ const { requeued, skippedVetoed } = await requeueUnmatchedCommand2();
8926
+ if (options.json) {
8927
+ printJson({ ok: true, requeued, skippedVetoed });
8928
+ return;
8929
+ }
8930
+ console.log(`Re-queued ${requeued} unmatched capture(s) for the upgraded search ladder; ${skippedVetoed} stay terminal under the duration vetoes.`);
8931
+ });
8919
8932
  catalogue.command("flag-wrong-audio").description("Flag a finding's captured audio as the wrong recording (operator)").argument("<trackId>", "The finding's track id whose capture is wrong").option("--json", "Print JSON", false).action(async (trackId, options) => {
8920
8933
  const { flagWrongAudioCommand: flagWrongAudioCommand2 } = await Promise.resolve().then(() => (init_admin_catalogue(), exports_admin_catalogue));
8921
8934
  const { flagged } = await flagWrongAudioCommand2(trackId);
package/package.json CHANGED
@@ -31,5 +31,5 @@
31
31
  "url": "git+https://github.com/mauricekleine/fluncle.git"
32
32
  },
33
33
  "type": "module",
34
- "version": "0.150.0"
34
+ "version": "0.151.0"
35
35
  }