fluncle 0.202.0 → 0.203.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.
- package/bin/fluncle.mjs +17 -2
- package/package.json +1 -1
package/bin/fluncle.mjs
CHANGED
|
@@ -610,7 +610,7 @@ function parseVersion(version) {
|
|
|
610
610
|
var currentVersion;
|
|
611
611
|
var init_version = __esm(() => {
|
|
612
612
|
init_output();
|
|
613
|
-
currentVersion = "0.
|
|
613
|
+
currentVersion = "0.203.0".trim() ? "0.203.0".trim() : "0.1.0";
|
|
614
614
|
});
|
|
615
615
|
|
|
616
616
|
// src/update-notifier.ts
|
|
@@ -2452,7 +2452,7 @@ function parseVersion2(version) {
|
|
|
2452
2452
|
var currentVersion2, latestReleaseUrl = "https://api.github.com/repos/mauricekleine/fluncle/releases/latest";
|
|
2453
2453
|
var init_version2 = __esm(() => {
|
|
2454
2454
|
init_output();
|
|
2455
|
-
currentVersion2 = "0.
|
|
2455
|
+
currentVersion2 = "0.203.0".trim() ? "0.203.0".trim() : "0.1.0";
|
|
2456
2456
|
});
|
|
2457
2457
|
|
|
2458
2458
|
// ../../packages/registry/src/index.ts
|
|
@@ -6710,6 +6710,7 @@ __export(exports_admin_catalogue, {
|
|
|
6710
6710
|
verifyCaptureCommand: () => verifyCaptureCommand,
|
|
6711
6711
|
setTrackDismissedCommand: () => setTrackDismissedCommand,
|
|
6712
6712
|
requeueUnmatchedCommand: () => requeueUnmatchedCommand,
|
|
6713
|
+
requeueAnchorCommand: () => requeueAnchorCommand,
|
|
6713
6714
|
listUnverifiedCapturesCommand: () => listUnverifiedCapturesCommand,
|
|
6714
6715
|
forceCaptureCommand: () => forceCaptureCommand,
|
|
6715
6716
|
flagWrongAudioCommand: () => flagWrongAudioCommand,
|
|
@@ -6749,6 +6750,11 @@ async function clearWrongAudioCommand(trackId) {
|
|
|
6749
6750
|
async function requeueUnmatchedCommand() {
|
|
6750
6751
|
return adminApiPost("/api/v1/admin/catalogue/captures/requeue-unmatched", {});
|
|
6751
6752
|
}
|
|
6753
|
+
async function requeueAnchorCommand(trackIds) {
|
|
6754
|
+
return adminApiPost("/api/v1/admin/catalogue/anchor/requeue", {
|
|
6755
|
+
trackIds
|
|
6756
|
+
});
|
|
6757
|
+
}
|
|
6752
6758
|
async function forceCaptureCommand(trackId) {
|
|
6753
6759
|
return adminApiPost("/api/v1/admin/catalogue/force-capture", {
|
|
6754
6760
|
trackId
|
|
@@ -10137,6 +10143,15 @@ function addAdminCommands(program2) {
|
|
|
10137
10143
|
}
|
|
10138
10144
|
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.`);
|
|
10139
10145
|
});
|
|
10146
|
+
catalogue.command("requeue-anchor").description("Clear rows' anchor re-ask backoff so the next tick retries them (operator)").argument("<trackIds...>", "The catalogue track id(s) to requeue (up to 250)").option("--json", "Print JSON", false).action(async (trackIds, options) => {
|
|
10147
|
+
const { requeueAnchorCommand: requeueAnchorCommand2 } = await Promise.resolve().then(() => (init_admin_catalogue(), exports_admin_catalogue));
|
|
10148
|
+
const { requeued } = await requeueAnchorCommand2(trackIds);
|
|
10149
|
+
if (options.json) {
|
|
10150
|
+
printJson({ ok: true, requeued });
|
|
10151
|
+
return;
|
|
10152
|
+
}
|
|
10153
|
+
console.log(`Re-queued ${requeued} of ${trackIds.length} row(s) \u2014 the next anchor tick picks them up at their real priority.`);
|
|
10154
|
+
});
|
|
10140
10155
|
catalogue.command("requeue-unmatched").description("Re-queue terminal-unmatched captures after a matcher improvement (operator)").option("--json", "Print JSON", false).action(async (options) => {
|
|
10141
10156
|
const { requeueUnmatchedCommand: requeueUnmatchedCommand2 } = await Promise.resolve().then(() => (init_admin_catalogue(), exports_admin_catalogue));
|
|
10142
10157
|
const { requeued, skippedVetoed } = await requeueUnmatchedCommand2();
|
package/package.json
CHANGED