@camstack/types 1.2.166 → 1.2.167
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/dist/capabilities/pipeline-analytics.cap.d.ts +60 -0
- package/dist/index.js +36 -6
- package/dist/index.mjs +36 -6
- package/package.json +1 -1
|
@@ -444,6 +444,11 @@ declare const TrackSchema: z.ZodObject<{
|
|
|
444
444
|
w: z.ZodNumber;
|
|
445
445
|
h: z.ZodNumber;
|
|
446
446
|
}, z.core.$strip>;
|
|
447
|
+
source: z.ZodOptional<z.ZodEnum<{
|
|
448
|
+
frame: "frame";
|
|
449
|
+
recovery: "recovery";
|
|
450
|
+
}>>;
|
|
451
|
+
score: z.ZodOptional<z.ZodNumber>;
|
|
447
452
|
}, z.core.$strip>>>;
|
|
448
453
|
snapshots: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
449
454
|
timestamp: z.ZodNumber;
|
|
@@ -457,6 +462,11 @@ declare const TrackSchema: z.ZodObject<{
|
|
|
457
462
|
w: z.ZodNumber;
|
|
458
463
|
h: z.ZodNumber;
|
|
459
464
|
}, z.core.$strip>;
|
|
465
|
+
source: z.ZodOptional<z.ZodEnum<{
|
|
466
|
+
frame: "frame";
|
|
467
|
+
recovery: "recovery";
|
|
468
|
+
}>>;
|
|
469
|
+
score: z.ZodOptional<z.ZodNumber>;
|
|
460
470
|
}, z.core.$strip>;
|
|
461
471
|
mediaKey: z.ZodString;
|
|
462
472
|
}, z.core.$strip>>>;
|
|
@@ -1240,6 +1250,11 @@ declare const RecentTracksPageSchema: z.ZodObject<{
|
|
|
1240
1250
|
w: z.ZodNumber;
|
|
1241
1251
|
h: z.ZodNumber;
|
|
1242
1252
|
}, z.core.$strip>;
|
|
1253
|
+
source: z.ZodOptional<z.ZodEnum<{
|
|
1254
|
+
frame: "frame";
|
|
1255
|
+
recovery: "recovery";
|
|
1256
|
+
}>>;
|
|
1257
|
+
score: z.ZodOptional<z.ZodNumber>;
|
|
1243
1258
|
}, z.core.$strip>>>;
|
|
1244
1259
|
snapshots: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
1245
1260
|
timestamp: z.ZodNumber;
|
|
@@ -1253,6 +1268,11 @@ declare const RecentTracksPageSchema: z.ZodObject<{
|
|
|
1253
1268
|
w: z.ZodNumber;
|
|
1254
1269
|
h: z.ZodNumber;
|
|
1255
1270
|
}, z.core.$strip>;
|
|
1271
|
+
source: z.ZodOptional<z.ZodEnum<{
|
|
1272
|
+
frame: "frame";
|
|
1273
|
+
recovery: "recovery";
|
|
1274
|
+
}>>;
|
|
1275
|
+
score: z.ZodOptional<z.ZodNumber>;
|
|
1256
1276
|
}, z.core.$strip>;
|
|
1257
1277
|
mediaKey: z.ZodString;
|
|
1258
1278
|
}, z.core.$strip>>>;
|
|
@@ -1705,6 +1725,11 @@ export declare const pipelineAnalyticsCapability: {
|
|
|
1705
1725
|
w: z.ZodNumber;
|
|
1706
1726
|
h: z.ZodNumber;
|
|
1707
1727
|
}, z.core.$strip>;
|
|
1728
|
+
source: z.ZodOptional<z.ZodEnum<{
|
|
1729
|
+
frame: "frame";
|
|
1730
|
+
recovery: "recovery";
|
|
1731
|
+
}>>;
|
|
1732
|
+
score: z.ZodOptional<z.ZodNumber>;
|
|
1708
1733
|
}, z.core.$strip>>>;
|
|
1709
1734
|
snapshots: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
1710
1735
|
timestamp: z.ZodNumber;
|
|
@@ -1718,6 +1743,11 @@ export declare const pipelineAnalyticsCapability: {
|
|
|
1718
1743
|
w: z.ZodNumber;
|
|
1719
1744
|
h: z.ZodNumber;
|
|
1720
1745
|
}, z.core.$strip>;
|
|
1746
|
+
source: z.ZodOptional<z.ZodEnum<{
|
|
1747
|
+
frame: "frame";
|
|
1748
|
+
recovery: "recovery";
|
|
1749
|
+
}>>;
|
|
1750
|
+
score: z.ZodOptional<z.ZodNumber>;
|
|
1721
1751
|
}, z.core.$strip>;
|
|
1722
1752
|
mediaKey: z.ZodString;
|
|
1723
1753
|
}, z.core.$strip>>>;
|
|
@@ -1804,6 +1834,11 @@ export declare const pipelineAnalyticsCapability: {
|
|
|
1804
1834
|
w: z.ZodNumber;
|
|
1805
1835
|
h: z.ZodNumber;
|
|
1806
1836
|
}, z.core.$strip>;
|
|
1837
|
+
source: z.ZodOptional<z.ZodEnum<{
|
|
1838
|
+
frame: "frame";
|
|
1839
|
+
recovery: "recovery";
|
|
1840
|
+
}>>;
|
|
1841
|
+
score: z.ZodOptional<z.ZodNumber>;
|
|
1807
1842
|
}, z.core.$strip>>>;
|
|
1808
1843
|
snapshots: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
1809
1844
|
timestamp: z.ZodNumber;
|
|
@@ -1817,6 +1852,11 @@ export declare const pipelineAnalyticsCapability: {
|
|
|
1817
1852
|
w: z.ZodNumber;
|
|
1818
1853
|
h: z.ZodNumber;
|
|
1819
1854
|
}, z.core.$strip>;
|
|
1855
|
+
source: z.ZodOptional<z.ZodEnum<{
|
|
1856
|
+
frame: "frame";
|
|
1857
|
+
recovery: "recovery";
|
|
1858
|
+
}>>;
|
|
1859
|
+
score: z.ZodOptional<z.ZodNumber>;
|
|
1820
1860
|
}, z.core.$strip>;
|
|
1821
1861
|
mediaKey: z.ZodString;
|
|
1822
1862
|
}, z.core.$strip>>>;
|
|
@@ -1932,6 +1972,11 @@ export declare const pipelineAnalyticsCapability: {
|
|
|
1932
1972
|
w: z.ZodNumber;
|
|
1933
1973
|
h: z.ZodNumber;
|
|
1934
1974
|
}, z.core.$strip>;
|
|
1975
|
+
source: z.ZodOptional<z.ZodEnum<{
|
|
1976
|
+
frame: "frame";
|
|
1977
|
+
recovery: "recovery";
|
|
1978
|
+
}>>;
|
|
1979
|
+
score: z.ZodOptional<z.ZodNumber>;
|
|
1935
1980
|
}, z.core.$strip>>>;
|
|
1936
1981
|
snapshots: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
1937
1982
|
timestamp: z.ZodNumber;
|
|
@@ -1945,6 +1990,11 @@ export declare const pipelineAnalyticsCapability: {
|
|
|
1945
1990
|
w: z.ZodNumber;
|
|
1946
1991
|
h: z.ZodNumber;
|
|
1947
1992
|
}, z.core.$strip>;
|
|
1993
|
+
source: z.ZodOptional<z.ZodEnum<{
|
|
1994
|
+
frame: "frame";
|
|
1995
|
+
recovery: "recovery";
|
|
1996
|
+
}>>;
|
|
1997
|
+
score: z.ZodOptional<z.ZodNumber>;
|
|
1948
1998
|
}, z.core.$strip>;
|
|
1949
1999
|
mediaKey: z.ZodString;
|
|
1950
2000
|
}, z.core.$strip>>>;
|
|
@@ -2056,6 +2106,11 @@ export declare const pipelineAnalyticsCapability: {
|
|
|
2056
2106
|
w: z.ZodNumber;
|
|
2057
2107
|
h: z.ZodNumber;
|
|
2058
2108
|
}, z.core.$strip>;
|
|
2109
|
+
source: z.ZodOptional<z.ZodEnum<{
|
|
2110
|
+
frame: "frame";
|
|
2111
|
+
recovery: "recovery";
|
|
2112
|
+
}>>;
|
|
2113
|
+
score: z.ZodOptional<z.ZodNumber>;
|
|
2059
2114
|
}, z.core.$strip>>>;
|
|
2060
2115
|
snapshots: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
2061
2116
|
timestamp: z.ZodNumber;
|
|
@@ -2069,6 +2124,11 @@ export declare const pipelineAnalyticsCapability: {
|
|
|
2069
2124
|
w: z.ZodNumber;
|
|
2070
2125
|
h: z.ZodNumber;
|
|
2071
2126
|
}, z.core.$strip>;
|
|
2127
|
+
source: z.ZodOptional<z.ZodEnum<{
|
|
2128
|
+
frame: "frame";
|
|
2129
|
+
recovery: "recovery";
|
|
2130
|
+
}>>;
|
|
2131
|
+
score: z.ZodOptional<z.ZodNumber>;
|
|
2072
2132
|
}, z.core.$strip>;
|
|
2073
2133
|
mediaKey: z.ZodString;
|
|
2074
2134
|
}, z.core.$strip>>>;
|
package/dist/index.js
CHANGED
|
@@ -18568,11 +18568,30 @@ var SensorEventSchema = zod.z.object({
|
|
|
18568
18568
|
value: zod.z.record(zod.z.string(), zod.z.unknown()).nullable(),
|
|
18569
18569
|
timestamp: zod.z.number()
|
|
18570
18570
|
});
|
|
18571
|
+
/**
|
|
18572
|
+
* One stored sighting on a track's trajectory.
|
|
18573
|
+
*
|
|
18574
|
+
* The array these live in is returned in TIME order (D399) — it is APPENDED in
|
|
18575
|
+
* arrival order, and the two detector passes interleave, so a consumer must not
|
|
18576
|
+
* assume the two are the same on a row written by an older build.
|
|
18577
|
+
*/
|
|
18571
18578
|
var TrackPositionSchema = zod.z.object({
|
|
18572
18579
|
x: zod.z.number(),
|
|
18573
18580
|
y: zod.z.number(),
|
|
18574
18581
|
timestamp: zod.z.number(),
|
|
18575
|
-
bbox: BoundingBoxSchema
|
|
18582
|
+
bbox: BoundingBoxSchema,
|
|
18583
|
+
/**
|
|
18584
|
+
* Which detector pass measured this box (D399): `frame` is the full-frame
|
|
18585
|
+
* pass on the analysis raster, `recovery` is the native-resolution
|
|
18586
|
+
* small-subject second pass (D377/D378). Both write into one array, and until
|
|
18587
|
+
* this field existed the only way to tell them apart was that full-frame boxes
|
|
18588
|
+
* are exact multiples of 1.2 while recovery boxes are full-precision floats.
|
|
18589
|
+
* Absent on rows written before D399.
|
|
18590
|
+
*/
|
|
18591
|
+
source: zod.z.enum(["frame", "recovery"]).optional(),
|
|
18592
|
+
/** Detection score of this box, so a position can be weighed and not only
|
|
18593
|
+
* plotted. Absent on rows written before D399. */
|
|
18594
|
+
score: zod.z.number().optional()
|
|
18576
18595
|
});
|
|
18577
18596
|
var TrackSnapshotSchema = zod.z.object({
|
|
18578
18597
|
timestamp: zod.z.number(),
|
|
@@ -18999,14 +19018,25 @@ var TrackSchema = zod.z.object({
|
|
|
18999
19018
|
*/
|
|
19000
19019
|
hasRider: zod.z.boolean().optional(),
|
|
19001
19020
|
/**
|
|
19002
|
-
* WHY this track ended without a NATIVE best-shot
|
|
19003
|
-
* ([D276](../decisions/adr-0276-a-stand-in-tile-is-provisional-and-a-close-says-why.md)
|
|
19021
|
+
* WHY this track ended without a NATIVE best-shot FRAME
|
|
19022
|
+
* ([D276](../decisions/adr-0276-a-stand-in-tile-is-provisional-and-a-close-says-why.md),
|
|
19023
|
+
* widened by [D400](../decisions/adr-0400-the-picture-is-judged-on-what-is-delivered.md)) —
|
|
19004
19024
|
* a composed token line (`no-key-frame capture=keyframe:native-missx4`,
|
|
19005
|
-
* `derive-returned-null tile=standin`,
|
|
19006
|
-
*
|
|
19007
|
-
*
|
|
19025
|
+
* `derive-returned-null tile=standin`,
|
|
19026
|
+
* `native-tile tile=native no-key-frame-at-close`, …) written at close and
|
|
19027
|
+
* CLEARED by the late-keyFrame upgrade when a native tile lands after all.
|
|
19028
|
+
* The operator-facing answer to "perché manca l'immagine?" on a track whose
|
|
19008
19029
|
* tile is a face/plate stand-in, a raster crop, or an icon.
|
|
19009
19030
|
*
|
|
19031
|
+
* **`no-key-frame-at-close` (D400).** The line used to be written ONLY when
|
|
19032
|
+
* the TILE ranked below native, so a track whose thumbnail landed natively
|
|
19033
|
+
* while its key frame missed carried no reason at all — three of the four
|
|
19034
|
+
* `MISSING_KEYFRAME` tracks in the 2026-09-07 operator audit were exactly
|
|
19035
|
+
* that shape, and their "niente ultimo" had no cause anywhere on the row.
|
|
19036
|
+
* The key frame is the head of a cascade (`keyFrame ⇒ keyFrameSmall ⇒ the
|
|
19037
|
+
* lastFrame copy source`), so its absence is now on this line whatever the
|
|
19038
|
+
* tile ended up being.
|
|
19039
|
+
*
|
|
19010
19040
|
* **Absent ≠ "missed silently"**: a row written before the column, a hub
|
|
19011
19041
|
* that predates the field, and every track whose tile landed native all
|
|
19012
19042
|
* omit it. Render nothing when absent.
|
package/dist/index.mjs
CHANGED
|
@@ -18567,11 +18567,30 @@ var SensorEventSchema = z.object({
|
|
|
18567
18567
|
value: z.record(z.string(), z.unknown()).nullable(),
|
|
18568
18568
|
timestamp: z.number()
|
|
18569
18569
|
});
|
|
18570
|
+
/**
|
|
18571
|
+
* One stored sighting on a track's trajectory.
|
|
18572
|
+
*
|
|
18573
|
+
* The array these live in is returned in TIME order (D399) — it is APPENDED in
|
|
18574
|
+
* arrival order, and the two detector passes interleave, so a consumer must not
|
|
18575
|
+
* assume the two are the same on a row written by an older build.
|
|
18576
|
+
*/
|
|
18570
18577
|
var TrackPositionSchema = z.object({
|
|
18571
18578
|
x: z.number(),
|
|
18572
18579
|
y: z.number(),
|
|
18573
18580
|
timestamp: z.number(),
|
|
18574
|
-
bbox: BoundingBoxSchema
|
|
18581
|
+
bbox: BoundingBoxSchema,
|
|
18582
|
+
/**
|
|
18583
|
+
* Which detector pass measured this box (D399): `frame` is the full-frame
|
|
18584
|
+
* pass on the analysis raster, `recovery` is the native-resolution
|
|
18585
|
+
* small-subject second pass (D377/D378). Both write into one array, and until
|
|
18586
|
+
* this field existed the only way to tell them apart was that full-frame boxes
|
|
18587
|
+
* are exact multiples of 1.2 while recovery boxes are full-precision floats.
|
|
18588
|
+
* Absent on rows written before D399.
|
|
18589
|
+
*/
|
|
18590
|
+
source: z.enum(["frame", "recovery"]).optional(),
|
|
18591
|
+
/** Detection score of this box, so a position can be weighed and not only
|
|
18592
|
+
* plotted. Absent on rows written before D399. */
|
|
18593
|
+
score: z.number().optional()
|
|
18575
18594
|
});
|
|
18576
18595
|
var TrackSnapshotSchema = z.object({
|
|
18577
18596
|
timestamp: z.number(),
|
|
@@ -18998,14 +19017,25 @@ var TrackSchema = z.object({
|
|
|
18998
19017
|
*/
|
|
18999
19018
|
hasRider: z.boolean().optional(),
|
|
19000
19019
|
/**
|
|
19001
|
-
* WHY this track ended without a NATIVE best-shot
|
|
19002
|
-
* ([D276](../decisions/adr-0276-a-stand-in-tile-is-provisional-and-a-close-says-why.md)
|
|
19020
|
+
* WHY this track ended without a NATIVE best-shot FRAME
|
|
19021
|
+
* ([D276](../decisions/adr-0276-a-stand-in-tile-is-provisional-and-a-close-says-why.md),
|
|
19022
|
+
* widened by [D400](../decisions/adr-0400-the-picture-is-judged-on-what-is-delivered.md)) —
|
|
19003
19023
|
* a composed token line (`no-key-frame capture=keyframe:native-missx4`,
|
|
19004
|
-
* `derive-returned-null tile=standin`,
|
|
19005
|
-
*
|
|
19006
|
-
*
|
|
19024
|
+
* `derive-returned-null tile=standin`,
|
|
19025
|
+
* `native-tile tile=native no-key-frame-at-close`, …) written at close and
|
|
19026
|
+
* CLEARED by the late-keyFrame upgrade when a native tile lands after all.
|
|
19027
|
+
* The operator-facing answer to "perché manca l'immagine?" on a track whose
|
|
19007
19028
|
* tile is a face/plate stand-in, a raster crop, or an icon.
|
|
19008
19029
|
*
|
|
19030
|
+
* **`no-key-frame-at-close` (D400).** The line used to be written ONLY when
|
|
19031
|
+
* the TILE ranked below native, so a track whose thumbnail landed natively
|
|
19032
|
+
* while its key frame missed carried no reason at all — three of the four
|
|
19033
|
+
* `MISSING_KEYFRAME` tracks in the 2026-09-07 operator audit were exactly
|
|
19034
|
+
* that shape, and their "niente ultimo" had no cause anywhere on the row.
|
|
19035
|
+
* The key frame is the head of a cascade (`keyFrame ⇒ keyFrameSmall ⇒ the
|
|
19036
|
+
* lastFrame copy source`), so its absence is now on this line whatever the
|
|
19037
|
+
* tile ended up being.
|
|
19038
|
+
*
|
|
19009
19039
|
* **Absent ≠ "missed silently"**: a row written before the column, a hub
|
|
19010
19040
|
* that predates the field, and every track whose tile landed native all
|
|
19011
19041
|
* omit it. Render nothing when absent.
|