@trillboards/edge-sdk 0.2.165 → 0.2.170

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.
@@ -0,0 +1,46 @@
1
+ """Real HTTP/parser for the TypeScript boundary test; only inference is synthetic."""
2
+ import base64
3
+ import json
4
+ import sys
5
+ from types import SimpleNamespace
6
+
7
+ from trillboards_detector.errors import ModelVerificationError, UnknownClasses
8
+ from trillboards_detector.labels import ClassIndex, RFDETR_MEDIUM
9
+ from trillboards_detector.server import serve
10
+
11
+ IDENTITY = {"modelId": "rfdetr_medium", "sha256": "8e8197112112b79d7cc5d0a94ecef659c05317a658aadc7c7643374c539d7615"}
12
+
13
+
14
+ class InferenceFixture:
15
+ def __init__(self):
16
+ self.index = ClassIndex([RFDETR_MEDIUM])
17
+ self.received = None
18
+
19
+ def info(self):
20
+ return {"state": "ready", "received": self.received}
21
+
22
+ def resolve_classes(self, requested):
23
+ canonical, unknown = self.index.resolve(requested)
24
+ if unknown:
25
+ raise UnknownClasses(unknown, self.index.class_names)
26
+ return canonical
27
+
28
+ def detect(self, jpeg, min_confidence, wanted, expected_model=None):
29
+ if expected_model is not None and expected_model != IDENTITY:
30
+ raise ModelVerificationError("fixture artifact differs from selected identity")
31
+ self.received = {"image_b64": base64.b64encode(jpeg).decode("ascii"),
32
+ "min_confidence": min_confidence, "classes": sorted(wanted) if wanted else None,
33
+ "expected_model": expected_model}
34
+ detection = SimpleNamespace(label="person", confidence=0.75, x=10, y=20, width=30, height=40)
35
+ return SimpleNamespace(detections=[detection], inference_ms=12.4,
36
+ models=[IDENTITY["modelId"]], model_hashes={IDENTITY["modelId"]: IDENTITY["sha256"]})
37
+
38
+
39
+ if __name__ == "__main__":
40
+ server = serve(InferenceFixture(), port=0, log_line=lambda _message: None)
41
+ print(json.dumps({"port": server.server_port}), flush=True)
42
+ try:
43
+ sys.stdin.read()
44
+ finally:
45
+ server.shutdown()
46
+ server.server_close()
@@ -276,37 +276,20 @@ if ($Mode -eq 'bench') {
276
276
  # NO real-model coverage on any lane until this ran. A regression that
277
277
  # breaks only the operator schema (an enum the model cannot satisfy, a
278
278
  # custom field the prompt never mentions) is invisible to the audience arm.
279
- # setup already graded the delegates with a real image and retained its winner.
280
- # Starting another failed GPU engine can block this serial service before the
281
- # healthy CPU engine receives the schema request. Exercise the installed winner.
282
- function Get-InstalledInferenceAccelerator([string]$ConfigPath) {
283
- if (-not (Test-Path -LiteralPath $ConfigPath -PathType Leaf)) { return 'auto' }
284
- $config = Get-Content -LiteralPath $ConfigPath -Raw -ErrorAction Stop | ConvertFrom-Json -ErrorAction Stop
285
- $models = $config.PSObject.Properties['models']
286
- if ($null -eq $models) { return 'auto' }
287
- $model = $models.Value.PSObject.Properties['gemma-4-E2B-it.litertlm']
288
- if ($null -eq $model) { return 'auto' }
289
- $backend = $model.Value.PSObject.Properties['backend']
290
- if ($null -ne $backend -and [string]$backend.Value -eq 'cpu') { return 'cpu' }
291
- return 'auto'
292
- }
293
- $litertDirectory = if ([string]::IsNullOrWhiteSpace($env:LITERT_LM_DIR)) {
294
- Join-Path $env:USERPROFILE '.litert-lm'
295
- } else { $env:LITERT_LM_DIR }
296
- $installedAccelerator = Get-InstalledInferenceAccelerator (Join-Path $litertDirectory 'config.json')
297
- Log "schema smoke uses installer-verified delegate policy: $installedAccelerator"
279
+ # Exercise the connector's normal automatic policy. The provider must reuse
280
+ # setup's verified backend itself; pinning CPU here would hide a startup bug.
298
281
  $verifyExit = 1
299
282
  try {
300
283
  $verify = Join-Path $PkgRoot 'scripts\verify-gemma4-vlm.mjs'
301
284
  $sopFields = Join-Path $PkgRoot 'scripts\fixtures\sop-profile-fields.json'
302
285
 
303
286
  Log "running real Gemma inference — AUDIENCE field set (--require-person)…"
304
- node $verify $Frame --litert "http://127.0.0.1:$Port" --accelerator $installedAccelerator --require-person
287
+ node $verify $Frame --litert "http://127.0.0.1:$Port" --require-person
305
288
  $verifyExit = $LASTEXITCODE
306
289
 
307
290
  if ($verifyExit -eq 0) {
308
291
  Log "running real Gemma inference — OPERATOR/SOP field set (--require-person)…"
309
- node $verify $Frame --litert "http://127.0.0.1:$Port" --accelerator $installedAccelerator --require-person `
292
+ node $verify $Frame --litert "http://127.0.0.1:$Port" --require-person `
310
293
  --field-set operator --profile-fields $sopFields
311
294
  $verifyExit = $LASTEXITCODE
312
295
  if ($verifyExit -ne 0) { Log "OPERATOR field set FAILED (exit $verifyExit)" }
@@ -0,0 +1,85 @@
1
+ [CmdletBinding()]
2
+ param(
3
+ [string]$FfmpegPath,
4
+ [string]$OutputDirectory
5
+ )
6
+ $ErrorActionPreference = 'Stop'
7
+ Set-StrictMode -Version Latest
8
+ $packageRoot = (Resolve-Path (Join-Path $PSScriptRoot '..\..\..')).Path
9
+ $module = Join-Path $packageRoot 'dist\ChannelProber.js'
10
+ if (-not (Test-Path -LiteralPath $module -PathType Leaf)) { throw 'Build the connector before native recorder qualification.' }
11
+ $nodeVersion = (& node -p 'process.versions.node' | Out-String).Trim()
12
+ if ($LASTEXITCODE -ne 0 -or ([Version]$nodeVersion).Major -ne 22) { throw 'Native recorder qualification requires Node 22.' }
13
+
14
+ $tempRoot = [IO.Path]::GetFullPath([IO.Path]::GetTempPath()).TrimEnd('\')
15
+ $scratch = Join-Path $tempRoot ('tb-recorder-protocol-' + [Guid]::NewGuid().ToString('N'))
16
+ New-Item -ItemType Directory -Path $scratch | Out-Null
17
+ if (-not $OutputDirectory) { $OutputDirectory = Join-Path $tempRoot 'recorder-family-native' }
18
+ New-Item -ItemType Directory -Force -Path $OutputDirectory | Out-Null
19
+ $succeeded = $false
20
+ try {
21
+ # Read the product's actual FFmpeg pin. A host binary on PATH cannot qualify
22
+ # a different binary, and an old shared fixture cache must not vouch for it.
23
+ $pin = ((& (Join-Path $packageRoot 'deploy\windows\build-windows.ps1') -PrintFfmpegPin) | Out-String).Trim() -split '\s+'
24
+ if ($LASTEXITCODE -ne 0 -or $pin.Count -ne 2) { throw 'Could not read the shipped FFmpeg pin.' }
25
+ $expected = $pin[1].ToLowerInvariant()
26
+ if (-not $FfmpegPath) {
27
+ $candidates = @(
28
+ (Join-Path $packageRoot 'deploy\windows\dist-installer\stage-x64\Trillboards\edge\bin\ffmpeg.exe'),
29
+ (Join-Path $tempRoot 'tb-e2e-ffmpeg.exe')
30
+ )
31
+ foreach ($candidate in $candidates) {
32
+ if ((Test-Path -LiteralPath $candidate -PathType Leaf) -and
33
+ (Get-FileHash -LiteralPath $candidate -Algorithm SHA256).Hash.ToLowerInvariant() -eq $expected) {
34
+ $FfmpegPath = $candidate
35
+ break
36
+ }
37
+ }
38
+ if (-not $FfmpegPath) {
39
+ $FfmpegPath = Join-Path $scratch 'ffmpeg.exe'
40
+ Invoke-WebRequest -Uri $pin[0] -OutFile $FfmpegPath -UseBasicParsing
41
+ }
42
+ }
43
+ if ((Get-FileHash -LiteralPath $FfmpegPath -Algorithm SHA256).Hash.ToLowerInvariant() -ne $expected) {
44
+ throw 'Native protocol FFmpeg differs from the connector release pin.'
45
+ }
46
+
47
+ # Official MediaMTX v1.21.2 checksums.sha256, pinned rather than latest.
48
+ $archive = Join-Path $scratch 'mediamtx.zip'
49
+ Invoke-WebRequest -Uri 'https://github.com/bluenviron/mediamtx/releases/download/v1.21.2/mediamtx_v1.21.2_windows_amd64.zip' -OutFile $archive -UseBasicParsing
50
+ if ((Get-FileHash -LiteralPath $archive -Algorithm SHA256).Hash.ToLowerInvariant() -ne 'a84224f5a490855684e62ba6fb71e80ea2a5e16aed61883bb58380290e93e467') {
51
+ throw 'MediaMTX fixture checksum mismatch.'
52
+ }
53
+ Expand-Archive -LiteralPath $archive -DestinationPath $scratch
54
+ $media = Join-Path $scratch 'mediamtx.exe'
55
+ if (-not (Test-Path -LiteralPath $media -PathType Leaf)) { throw 'Pinned RTSP fixture executable is missing.' }
56
+ $cases = @('alias', 'onvif', 'onvif-sparse', 'onvif-variant', 'hikvision', 'single', 'ambiguous')
57
+ $count = 0
58
+ foreach ($case in $cases) {
59
+ $receipt = Join-Path $OutputDirectory ($case + '.json')
60
+ & node --max-old-space-size=1536 (Join-Path $packageRoot 'scripts\run-recorder-family-native.mjs') --ffmpeg $FfmpegPath --mediamtx $media --case $case --out $receipt
61
+ if ($LASTEXITCODE -ne 0) { throw "Native recorder case '$case' failed. See $receipt" }
62
+ $result = Get-Content -LiteralPath $receipt -Raw | ConvertFrom-Json
63
+ $expectedCases = if ($case -in @('alias', 'onvif-variant')) { 2 } else { 1 }
64
+ if (-not $result.passed -or -not $result.ownedChildrenStopped -or @($result.cases).Count -ne $expectedCases) {
65
+ throw "Native recorder case '$case' did not produce a complete passing receipt."
66
+ }
67
+ $count += @($result.cases).Count
68
+ }
69
+ if ($count -ne 9) { throw 'The Windows recorder qualification did not execute all nine behavioral cases.' }
70
+ $summary = @{ passed = $true; nativeBehaviorCases = $count; compiledProbe = $module; nodeVersion = $nodeVersion;
71
+ ffmpegSha256 = $expected; physicalRecorderQualified = $false; witnessedDesktopAcceptance = $false }
72
+ $summary | ConvertTo-Json | Set-Content -LiteralPath (Join-Path $OutputDirectory 'summary.json') -Encoding UTF8
73
+ $succeeded = $true
74
+ Write-Host 'PASS: nine recorder-family cases through actual RTSP/RTP/H.264 and the compiled Windows connector.'
75
+ } finally {
76
+ # Only this owned temporary directory, after all native children exited.
77
+ if ($succeeded) {
78
+ $resolved = [IO.Path]::GetFullPath($scratch)
79
+ if ((Split-Path -Parent $resolved).TrimEnd('\') -cne $tempRoot -or
80
+ -not (Split-Path -Leaf $resolved).StartsWith('tb-recorder-protocol-')) {
81
+ throw 'Refusing cleanup outside the owned native protocol directory.'
82
+ }
83
+ Remove-Item -LiteralPath $resolved -Recurse -Force
84
+ }
85
+ }
@@ -62,6 +62,8 @@ export interface ProbeTarget {
62
62
  username: string;
63
63
  password: string;
64
64
  brandHint?: string;
65
+ /** A discovered family is evidence to verify; an explicit owner choice stays authoritative. */
66
+ brandHintSource?: 'discovery' | 'user';
65
67
  channelHint?: number;
66
68
  /**
67
69
  * An operator-typed RTSP stream path (`/live/ch1`, or the whole URL pasted out
@@ -111,7 +113,7 @@ export declare function brandPathCandidates(brand: string | undefined, ch: numbe
111
113
  password: string;
112
114
  }): string[];
113
115
  /** Remove XM query credentials before a probe result leaves the connector. */
114
- export declare function credentialFreePathTemplate(pathValue: string, brand: string | undefined): string;
116
+ export declare function credentialFreePathTemplate(pathValue: string, _brand: string | undefined): string;
115
117
  /** Restore a credential-free path recipe while writing the local-only config. */
116
118
  export declare function materializeCredentialPathTemplate(pathTemplate: string, username: string, password: string): string;
117
119
  /**
@@ -204,12 +206,6 @@ export declare function classifyFfmpegStderr(stderr: string): {
204
206
  failureClass: ProbeFailureClass;
205
207
  message: string;
206
208
  };
207
- /**
208
- * Probe one recorder. Streams results via opts.onResult as channels settle and
209
- * returns the full list. NEVER throws for per-channel problems — only for
210
- * programmer errors; credential rejection yields a single `rtsp_auth` result
211
- * for the host (the circuit-breaker contract).
212
- */
213
209
  export declare function probeHost(target: ProbeTarget, opts?: ProbeOptions): Promise<ChannelProbeResult[]>;
214
210
  export {};
215
211
  //# sourceMappingURL=ChannelProber.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ChannelProber.d.ts","sourceRoot":"","sources":["../src/ChannelProber.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAOtC,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AAI1D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgCG;AAEH,MAAM,MAAM,WAAW,GAAG,WAAW,GAAG,QAAQ,GAAG,OAAO,CAAC;AAE3D,MAAM,MAAM,iBAAiB,GACzB,WAAW,GACX,gBAAgB,GAChB,kBAAkB,GAClB,cAAc,GACd,UAAU,GACV,UAAU,GACV,WAAW,GACX,cAAc,GACd,eAAe,CAAC;AAEpB,KAAK,aAAa,GAAG,KAAK,GAAG,KAAK,CAAC;AAMnC,MAAM,MAAM,UAAU,GAAG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