fluncle 0.59.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.
Files changed (2) hide show
  1. package/bin/fluncle.mjs +8 -8
  2. 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.59.0".trim() ? "0.59.0".trim() : "0.1.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.59.0".trim() ? "0.59.0".trim() : "0.1.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
  }
@@ -2048,6 +2045,9 @@ async function trackObserveCommand(idOrLogId, options) {
2048
2045
  if (options.contextNote !== undefined) {
2049
2046
  body.contextNote = options.contextNote;
2050
2047
  }
2048
+ if (options.force) {
2049
+ body.force = true;
2050
+ }
2051
2051
  return adminApiPost(`/api/admin/tracks/${encodeURIComponent(idOrLogId)}/observe`, body);
2052
2052
  }
2053
2053
  async function trackContextCommand(idOrLogId, options = {}) {
@@ -5514,7 +5514,7 @@ function addAdminCommands(program2) {
5514
5514
  const { previewArchiveUploadCommand: previewArchiveUploadCommand2 } = await Promise.resolve().then(() => (init_preview_archive(), exports_preview_archive));
5515
5515
  await runTrackPreviewArchive(idOrLogId, options, previewArchiveUploadCommand2);
5516
5516
  });
5517
- adminTrack.command("observe").description("Render Fluncle's spoken field observation for a track (ElevenLabs, 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 ElevenLabs voice id").option("--model <model>", "TTS model (eleven_multilingual_v2 | eleven_v3)").option("--duration-ms <ms>", "Probed audio duration in ms (the agent runs ffprobe)").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("--json", "Print JSON", false).allowExcessArguments().action(async (idOrLogId, options) => {
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) => {
5518
5518
  if (options.queue) {
5519
5519
  const { observeQueueCommand: observeQueueCommand2 } = await Promise.resolve().then(() => (init_admin_tracks(), exports_admin_tracks));
5520
5520
  await runAdminObserveQueue(options, observeQueueCommand2);
@@ -5682,7 +5682,7 @@ async function runTrackPreviewArchive(idOrLogId, options, previewArchiveUploadCo
5682
5682
  async function runTrackObserve(idOrLogId, options, trackObserveCommand2) {
5683
5683
  const script = options.scriptFile ? readFileSync3(options.scriptFile, "utf8") : options.script;
5684
5684
  if (!idOrLogId || !script || !script.trim()) {
5685
- throw new Error("Usage: fluncle admin tracks observe <track_id|log_id> (--script <text> | --script-file <file>) [--voice-id <id>] [--model <model>] [--duration-ms <ms>] [--context-note <text>] [--json]");
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]");
5686
5686
  }
5687
5687
  const durationMs = options.durationMs === undefined ? undefined : Number.parseInt(options.durationMs, 10);
5688
5688
  if (durationMs !== undefined && (!Number.isInteger(durationMs) || durationMs < 1)) {
@@ -5696,7 +5696,7 @@ async function runTrackObserve(idOrLogId, options, trackObserveCommand2) {
5696
5696
  contextNote: options.contextNote,
5697
5697
  durationMs,
5698
5698
  durationTargetSec,
5699
- model: options.model,
5699
+ force: options.force,
5700
5700
  script: script.trim(),
5701
5701
  voiceId: options.voiceId
5702
5702
  });
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.59.0"
34
+ "version": "0.61.0"
35
35
  }