@trillboards/edge-sdk 0.2.219 → 0.2.221

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.
@@ -50,27 +50,39 @@ import type { VideoBufferReport } from './VideoSegmentUploader';
50
50
  /** Where the release workflows publish every platform's manifest. */
51
51
  export declare const CONNECTOR_UPDATE_BASE_URL = "https://screen.trillboards.com/connector";
52
52
  /**
53
- * How often an install asks whether it is stale.
53
+ * How often an install reads the release channel ON ITS OWN. One hour, and it is
54
+ * the BACKSTOP, not how a box learns of a release.
54
55
  *
55
- * Six hours. The GET is ~401 bytes, so the poll itself costs nothing, and the
56
- * release workflow fires on every `production` push touching the edge
57
- * workspaces (measured: 15 releases on 2026-08-13, 13 on 08-12), so a shorter
58
- * period would only discover the same churn sooner. The FIRST check is deferred
59
- * one whole interval, matching `ModelManager.start()` — a connector in a crash
60
- * loop must not turn into a CDN hammer, and a machine that just installed is by
61
- * definition current.
56
+ * Discovery rides a poll every box already makes: each RTSP feed's video
57
+ * recorder GETs `/v2/earner/cameras/sensing-profile` every five minutes, and the
58
+ * API adds `connectorRelease` — the newest version each platform's channel lists
59
+ * — to that response. A version newer than this install rings the doorbell
60
+ * (`noteConnectorReleaseAdvert`) and the update loop reads the channel at once.
61
+ * This interval only decides how long a box goes without looking when the API
62
+ * cannot say (the API's own read of the channel failed, or an entrypoint polls
63
+ * no profile).
64
+ *
65
+ * It was six hours, and together with a six-hour release hold it put a merged
66
+ * fix on a store PC 6-12 h later (2026-11-08: fixes published 22:08-23:39Z were
67
+ * due on the Texas store at ~08:50Z the next morning).
62
68
  */
63
69
  export declare const CONNECTOR_UPDATE_CHECK_INTERVAL_MS: number;
70
+ /**
71
+ * Fewest milliseconds between two doorbell-triggered reads of the channel. Every
72
+ * feed rings it (32 on the Texas PC, every five minutes, and every five SECONDS
73
+ * on a feed with a live website admission hint), so this keeps one release from
74
+ * becoming 32 CDN reads.
75
+ */
76
+ export declare const CONNECTOR_RELEASE_DOORBELL_MIN_GAP_MS = 60000;
64
77
  /**
65
78
  * How often the DETECTOR MODEL INVENTORY is reported. Five minutes, and it is
66
79
  * not a taste: `checkFleetHealth` counts only rows `reported_at > NOW() -
67
80
  * INTERVAL '10 minutes'`, so a beacon slower than that window leaves the table
68
81
  * empty whenever anyone looks, and the fleet reads `insufficient_data` for ever.
69
82
  *
70
- * SEPARATE FROM THE UPDATE CHECK, which is six HOURS. That cadence is right for
71
- * asking a CDN whether a new connector release exists and wrong by 36x for model
72
- * health; piggybacking the inventory on it produced a producer that could not
73
- * feed its own consumer. Two questions, two clocks.
83
+ * SEPARATE FROM THE UPDATE CHECK, which is an hourly backstop. Piggybacking the
84
+ * inventory on that clock produced a producer that could not feed its own
85
+ * consumer. Two questions, two clocks.
74
86
  *
75
87
  * The report is cheap on purpose — one loopback GET to the detector plus one
76
88
  * small POST — so the interval is set by the consumer's window rather than by
@@ -78,19 +90,33 @@ export declare const CONNECTOR_UPDATE_CHECK_INTERVAL_MS: number;
78
90
  */
79
91
  export declare const CONNECTOR_MODEL_REPORT_INTERVAL_MS: number;
80
92
  /**
81
- * How old a release must be before an install will TAKE it.
93
+ * How old a release must be before an install takes it, when the server states
94
+ * no hold: ZERO. A release is taken the moment it is published.
82
95
  *
83
- * There is no canary ring in front of this. With ~13 releases a day reaching a
84
- * fleet that auto-applies, a bad connector would be on every customer's PC
85
- * within one check period, and the only recovery is another release. A bake
86
- * window is the cheapest thing standing between "we merged a regression" and
87
- * "every store stopped sensing", and it costs a fix at most one extra check.
96
+ * This was a six-hour "bake window", on the theory that waiting is what stands
97
+ * between a merged regression and every store. Waiting proves nothing: a build
98
+ * that cannot start on a store PC fails exactly the same way after six hours.
99
+ * The checks that do prove something now stand there instead:
100
+ *
101
+ * - before publication, the release workflow installs the signed package on a
102
+ * fresh Windows runner and runs real local AI on it, and nothing publishes
103
+ * until that passes;
104
+ * - after installation, `install-update.ps1` starts the new version and waits
105
+ * for it to report itself healthy (the marker `markHealthy` writes once
106
+ * startup completes and the update loop is running). A version that does not
107
+ * is rolled back to the previous one on the spot, recorded in
108
+ * `failed-versions.json`, and never taken again on that machine.
109
+ *
110
+ * If ops ever needs a hold (an incident, a staged rollout), it is a server
111
+ * value: runtime_config `CONNECTOR_UPDATE_MIN_RELEASE_AGE_MS`, default 0, sent
112
+ * as `connectorRelease.minReleaseAgeMs` on every sensing-profile response. It
113
+ * reaches every box within one profile poll and needs no release.
88
114
  *
89
115
  * `publishedAt` comes from the manifest, i.e. from the same channel as the
90
- * payload, so this is a release-hygiene control and NOT a security control. The
91
- * security control is the Authenticode verification in the applier.
116
+ * payload, so a hold is a release-hygiene control and NOT a security control.
117
+ * The security control is the Authenticode verification in the applier.
92
118
  */
93
- export declare const CONNECTOR_UPDATE_MIN_RELEASE_AGE_MS: number;
119
+ export declare const CONNECTOR_UPDATE_DEFAULT_MIN_RELEASE_AGE_MS = 0;
94
120
  /**
95
121
  * The published manifest, after strict validation.
96
122
  *
@@ -149,6 +175,35 @@ export declare function isNewerConnectorVersion(available: unknown, installed: u
149
175
  export declare function manifestObjectForPlatform(platform: string): string | null;
150
176
  /** Full manifest URL for a platform, or null. */
151
177
  export declare function manifestUrlForPlatform(platform: string, baseUrl?: string): string | null;
178
+ /** The key a `connectorRelease` advert names this platform's channel by. */
179
+ export type ConnectorReleaseChannelKey = 'windows' | 'macos';
180
+ /** The advert key for a platform, or null where no channel is published. */
181
+ export declare function releaseAdvertKeyForPlatform(platform: string): ConnectorReleaseChannelKey | null;
182
+ /**
183
+ * What the API says about the release channel, on every sensing-profile
184
+ * response (`connectorRelease`). It is a DOORBELL, never an authority: the
185
+ * update loop still reads the channel itself and stages only what the channel
186
+ * and the signed catalog say. A forged or stale advert can at most make a box
187
+ * read the channel early.
188
+ */
189
+ export interface ConnectorReleaseAdvert {
190
+ /** The newest version each platform's channel lists, as the API read it. */
191
+ versions: Partial<Record<ConnectorReleaseChannelKey, string>>;
192
+ /** The server's release hold in ms (runtime_config), or null when not stated. */
193
+ minReleaseAgeMs: number | null;
194
+ }
195
+ /** Strictly read a `connectorRelease` body; null when it says nothing usable. */
196
+ export declare function parseConnectorReleaseAdvert(raw: unknown): ConnectorReleaseAdvert | null;
197
+ type ConnectorReleaseAdvertListener = (advert: ConnectorReleaseAdvert) => void;
198
+ /** Subscribe to adverts; returns the unsubscribe. One per update loop. */
199
+ export declare function onConnectorReleaseAdvert(listener: ConnectorReleaseAdvertListener): () => void;
200
+ /**
201
+ * Hand a sensing-profile response's `connectorRelease` to the update loop.
202
+ * Called by `SensingProfileClient.fetchProfile` on every parsed body. Never
203
+ * throws and costs nothing when no loop listens: a profile fetch must not be
204
+ * able to fail because of the updater.
205
+ */
206
+ export declare function noteConnectorReleaseAdvert(raw: unknown): void;
152
207
  /**
153
208
  * Strictly validate a manifest body. Returns null when ANY required field is
154
209
  * absent or malformed — including when the body is the CDN's HTML SPA fallback,
@@ -267,7 +322,13 @@ export declare function connectorRuntimeFromHealth(health: {
267
322
  workload?: unknown;
268
323
  } | null;
269
324
  } | null | undefined): ConnectorRuntimeReport | null;
270
- /** Has this release sat long enough to be taken? */
325
+ /**
326
+ * Is this release clear of the server's hold?
327
+ *
328
+ * With no hold (the default) the answer is yes without consulting a clock at
329
+ * all, so a store PC whose clock runs behind the release runner never refuses a
330
+ * fresh build. Only a positive hold reads `publishedAt`.
331
+ */
271
332
  export declare function isReleaseBakedEnough(manifest: ConnectorVersionManifest, nowMs: number, minAgeMs?: number): boolean;
272
333
  /** What one check concluded. */
273
334
  export interface ConnectorUpdateCheck {
@@ -297,19 +358,21 @@ export declare function checkForConnectorUpdate(installedVersion: string, client
297
358
  * likely to be stale. The check is tiny and non-blocking, so schedule it on the
298
359
  * next event-loop turn: every paired connector checks at launch without
299
360
  * delaying sensing.
300
- *
301
- * A fresh release still cannot be applied on that first check: the bake window
302
- * is enforced separately, on `publishedAt`.
303
361
  */
304
362
  export declare const CONNECTOR_UPDATE_INITIAL_DELAY_MS = 0;
305
363
  /**
306
364
  * First retry after a manifest read fails; each further failure doubles it, up
307
365
  * to the ordinary check interval. A ~16 KB GET every few minutes while a box
308
- * cannot read is nothing; six blind hours per failed attempt is not.
366
+ * cannot read is nothing; an hour blind per failed attempt is not.
309
367
  */
310
368
  export declare const CONNECTOR_MANIFEST_RETRY_BASE_MS: number;
311
- /** How often the apply state machine looks at the world while an update is in flight. */
312
- export declare const CONNECTOR_UPDATE_POLL_INTERVAL_MS = 60000;
369
+ /**
370
+ * How often the apply state machine looks at the world while an update is in
371
+ * flight. Ten seconds: each look is a stat of staged.json and two counters, so
372
+ * a shorter period costs nothing, and at sixty seconds every update waited up
373
+ * to two whole periods (staged, then the safe point) after the bytes were ready.
374
+ */
375
+ export declare const CONNECTOR_UPDATE_POLL_INTERVAL_MS = 10000;
313
376
  /**
314
377
  * How long to wait for staging to finish before giving up on this attempt.
315
378
  *
@@ -333,6 +396,19 @@ export declare const CONNECTOR_UPDATE_SAFE_POINT_DEADLINE_MS: number;
333
396
  /** Handle returned by the service, mirroring `GemmaModelOtaHandle`. */
334
397
  export interface ConnectorUpdateWatcherHandle {
335
398
  stop(): void;
399
+ /**
400
+ * This process finished starting up and its update loop is running: write the
401
+ * marker `install-update.ps1` waits for after it starts a new version
402
+ * (`<install>\.auto-update\health.json`). Called once by each entrypoint when
403
+ * startup has resolved. A version that never writes it within the installer's
404
+ * deadline is rolled back. `noFeeds` says startup completed with nothing to
405
+ * sense (the process then exits), which is not a defect of the build.
406
+ *
407
+ * Optional so a stand-in handle in a test needs no change.
408
+ */
409
+ markHealthy?(opts?: {
410
+ noFeeds?: boolean;
411
+ }): void;
336
412
  }
337
413
  export interface ConnectorUpdateServiceDeps {
338
414
  /** This install's version (`require('../package.json').version`). */
@@ -399,7 +475,15 @@ export interface ConnectorUpdateServiceDeps {
399
475
  pollIntervalMs?: number;
400
476
  stageDeadlineMs?: number;
401
477
  safePointDeadlineMs?: number;
478
+ /**
479
+ * A fixed release hold, for tests. Production leaves it unset: the hold is the
480
+ * server's `connectorRelease.minReleaseAgeMs` (runtime_config, default 0).
481
+ */
402
482
  minReleaseAgeMs?: number;
483
+ /** Where release adverts come from. Defaults to `onConnectorReleaseAdvert`. */
484
+ subscribeReleaseAdverts?: (listener: (advert: ConnectorReleaseAdvert) => void) => () => void;
485
+ /** This process's id, written into the health marker. */
486
+ pid?: number;
403
487
  now?: () => number;
404
488
  reportStatus?: typeof reportConnectorStatus;
405
489
  setTimeoutFn?: typeof setTimeout;
@@ -470,4 +554,5 @@ export declare function startConnectorUpdates(opts: {
470
554
  log?: (msg: string) => void;
471
555
  platform?: string;
472
556
  }): ConnectorUpdateWatcherHandle | null;
557
+ export {};
473
558
  //# sourceMappingURL=connectorUpdate.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"connectorUpdate.d.ts","sourceRoot":"","sources":["../src/connectorUpdate.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0CG;AAGH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAE/D,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAChE,OAAO,KAAK,EAAE,sBAAsB,EAAiD,MAAM,yBAAyB,CAAC;AACrH,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,wBAAwB,CAAC;AACrE,OAAO,EAAsB,KAAK,kBAAkB,EAAE,MAAM,aAAa,CAAC;AAC1E,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAEhE,qEAAqE;AACrE,eAAO,MAAM,yBAAyB,6CAA6C,CAAC;AAEpF;;;;;;;;;;GAUG;AACH,eAAO,MAAM,kCAAkC,QAAqB,CAAC;AAErE;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,kCAAkC,QAAgB,CAAC;AAEhE;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,mCAAmC,QAAqB,CAAC;AAQtE;;;;;;;;;GASG;AACH,MAAM,WA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