fluncle 0.177.0 → 0.178.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 +23 -4
  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.177.0".trim() ? "0.177.0".trim() : "0.1.0";
564
+ currentVersion = "0.178.0".trim() ? "0.178.0".trim() : "0.1.0";
565
565
  });
566
566
 
567
567
  // src/update-notifier.ts
@@ -776,8 +776,9 @@ function loadConfig() {
776
776
  if (loadedProfile === profile) {
777
777
  return;
778
778
  }
779
- import_dotenv2.config({ path: join2(homedir2(), `.config/fluncle/.env.${profile}`), quiet: true });
780
779
  loadedProfile = profile;
780
+ if (false) {}
781
+ import_dotenv2.config({ path: join2(homedir2(), `.config/fluncle/.env.${profile}`), quiet: true });
781
782
  }
782
783
  function getEnvProfile() {
783
784
  const profile = process.env.FLUNCLE_ENV ?? defaultEnvProfile;
@@ -2259,7 +2260,7 @@ function parseVersion2(version) {
2259
2260
  var currentVersion2, latestReleaseUrl = "https://api.github.com/repos/mauricekleine/fluncle/releases/latest";
2260
2261
  var init_version2 = __esm(() => {
2261
2262
  init_output();
2262
- currentVersion2 = "0.177.0".trim() ? "0.177.0".trim() : "0.1.0";
2263
+ currentVersion2 = "0.178.0".trim() ? "0.178.0".trim() : "0.1.0";
2263
2264
  });
2264
2265
 
2265
2266
  // ../../packages/registry/src/index.ts
@@ -2285,7 +2286,8 @@ var init_src = __esm(() => {
2285
2286
  {
2286
2287
  exposedContent: [
2287
2288
  "the log index — every finding's coordinate page",
2288
- "/log/:logId — one finding's permanent home (the Log ID resolves here)"
2289
+ "/log/:logId — one finding's permanent home (the Log ID resolves here)",
2290
+ "/:coordinate — a bare coordinate typed at the root (the form on a video frame) 301s here"
2289
2291
  ],
2290
2292
  kind: "web_route",
2291
2293
  name: "web.log",
@@ -3551,6 +3553,23 @@ var init_src = __esm(() => {
3551
3553
  title: "Funnel snapshot",
3552
3554
  weights: { status: "hidden" }
3553
3555
  },
3556
+ {
3557
+ exposedContent: [
3558
+ "daily per-post social-metrics snapshot — appends each published post's Postiz reach (views/likes/comments/…) into an append-only ledger, one row per post per day (--no-agent)"
3559
+ ],
3560
+ kind: "cron",
3561
+ name: "cron.social-metrics",
3562
+ operatorNotes: "22:15 UTC daily (clear of the 23:45 funnel snapshot). A bare trigger (the funnel-snapshot/reach shape): fires the AGENT-tier record_social_metrics op once — the Worker selects a deterministic ≤25-post budget (every post published in the last 14 days, then a rolling least-recently-snapshotted tail; the Postiz 30/hour cap), reads each one's Postiz per-post analytics, and APPENDS one social_metrics row per (post, source, UTC day) — append-only (velocity), idempotent per day. Also reads the Simple-Analytics social→site referrer arrivals for observability. Zero LLM tokens; the box's agent token drives it and the Postiz + SA keys live Worker-side (no new secret). Source: docs/agents/hermes/scripts/social-metrics-sweep.*.",
3563
+ probeConfig: {
3564
+ cadenceMs: 24 * 60 * MINUTE_MS,
3565
+ cronName: "fluncle-social-metrics",
3566
+ kind: "cron",
3567
+ schedule: { time: "22:15", tz: "UTC" }
3568
+ },
3569
+ statusDescription: "records how far each posted video reached",
3570
+ title: "Social metrics",
3571
+ weights: { status: "hidden" }
3572
+ },
3554
3573
  {
3555
3574
  exposedContent: [
3556
3575
  "nightly codebase audit — one domain/night on a 7-day rotation; opens a PR the reviewer merges (claude -p, subscription auth)"
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.177.0"
34
+ "version": "0.178.0"
35
35
  }