fluncle 0.60.0 → 0.61.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 +4 -8
- package/package.json +1 -1
package/bin/fluncle.mjs
CHANGED
|
@@ -423,7 +423,7 @@ function parseVersion(version) {
|
|
|
423
423
|
var currentVersion;
|
|
424
424
|
var init_version = __esm(() => {
|
|
425
425
|
init_output();
|
|
426
|
-
currentVersion = "0.
|
|
426
|
+
currentVersion = "0.61.0".trim() ? "0.61.0".trim() : "0.1.0";
|
|
427
427
|
});
|
|
428
428
|
|
|
429
429
|
// src/update-notifier.ts
|
|
@@ -1914,7 +1914,7 @@ function parseVersion2(version) {
|
|
|
1914
1914
|
var currentVersion2, latestReleaseUrl = "https://api.github.com/repos/mauricekleine/fluncle/releases/latest";
|
|
1915
1915
|
var init_version2 = __esm(() => {
|
|
1916
1916
|
init_output();
|
|
1917
|
-
currentVersion2 = "0.
|
|
1917
|
+
currentVersion2 = "0.61.0".trim() ? "0.61.0".trim() : "0.1.0";
|
|
1918
1918
|
});
|
|
1919
1919
|
|
|
1920
1920
|
// src/commands/track.ts
|
|
@@ -2036,9 +2036,6 @@ async function trackObserveCommand(idOrLogId, options) {
|
|
|
2036
2036
|
if (options.voiceId !== undefined) {
|
|
2037
2037
|
body.voiceId = options.voiceId;
|
|
2038
2038
|
}
|
|
2039
|
-
if (options.model !== undefined) {
|
|
2040
|
-
body.model = options.model;
|
|
2041
|
-
}
|
|
2042
2039
|
if (options.durationMs !== undefined) {
|
|
2043
2040
|
body.durationMs = options.durationMs;
|
|
2044
2041
|
}
|
|
@@ -5517,7 +5514,7 @@ function addAdminCommands(program2) {
|
|
|
5517
5514
|
const { previewArchiveUploadCommand: previewArchiveUploadCommand2 } = await Promise.resolve().then(() => (init_preview_archive(), exports_preview_archive));
|
|
5518
5515
|
await runTrackPreviewArchive(idOrLogId, options, previewArchiveUploadCommand2);
|
|
5519
5516
|
});
|
|
5520
|
-
adminTrack.command("observe").description("Render Fluncle's spoken field observation for a track (
|
|
5517
|
+
adminTrack.command("observe").description("Render Fluncle's spoken field observation for a track (Cartesia, Worker-side)").argument("[idOrLogId]").option("--queue", "Show the observe worklist (notes but no observation yet), oldest first", false).option("--limit <limit>", "Number of findings to show with --queue", "10").option("--script <text>", "The voice-gated observation script (the spoken text)").option("--script-file <file>", "Read the observation script from a file (e.g. observation.txt)").option("--voice-id <id>", "Override the configured Cartesia voice id").option("--duration-ms <ms>", "Probed audio duration in ms (else derived from word timestamps)").option("--duration-target-sec <sec>", "Target observation length in seconds (20\u201345)").option("--context-note <text>", "Pre-fetched factual context (else the Worker firecrawls)").option("--force", "Re-render even if an observation already exists (voice re-tune / fix)", false).option("--json", "Print JSON", false).allowExcessArguments().action(async (idOrLogId, options) => {
|
|
5521
5518
|
if (options.queue) {
|
|
5522
5519
|
const { observeQueueCommand: observeQueueCommand2 } = await Promise.resolve().then(() => (init_admin_tracks(), exports_admin_tracks));
|
|
5523
5520
|
await runAdminObserveQueue(options, observeQueueCommand2);
|
|
@@ -5685,7 +5682,7 @@ async function runTrackPreviewArchive(idOrLogId, options, previewArchiveUploadCo
|
|
|
5685
5682
|
async function runTrackObserve(idOrLogId, options, trackObserveCommand2) {
|
|
5686
5683
|
const script = options.scriptFile ? readFileSync3(options.scriptFile, "utf8") : options.script;
|
|
5687
5684
|
if (!idOrLogId || !script || !script.trim()) {
|
|
5688
|
-
throw new Error("Usage: fluncle admin tracks observe <track_id|log_id> (--script <text> | --script-file <file>) [--voice-id <id>] [--
|
|
5685
|
+
throw new Error("Usage: fluncle admin tracks observe <track_id|log_id> (--script <text> | --script-file <file>) [--voice-id <id>] [--duration-ms <ms>] [--context-note <text>] [--json]");
|
|
5689
5686
|
}
|
|
5690
5687
|
const durationMs = options.durationMs === undefined ? undefined : Number.parseInt(options.durationMs, 10);
|
|
5691
5688
|
if (durationMs !== undefined && (!Number.isInteger(durationMs) || durationMs < 1)) {
|
|
@@ -5700,7 +5697,6 @@ async function runTrackObserve(idOrLogId, options, trackObserveCommand2) {
|
|
|
5700
5697
|
durationMs,
|
|
5701
5698
|
durationTargetSec,
|
|
5702
5699
|
force: options.force,
|
|
5703
|
-
model: options.model,
|
|
5704
5700
|
script: script.trim(),
|
|
5705
5701
|
voiceId: options.voiceId
|
|
5706
5702
|
});
|
package/package.json
CHANGED