@camstack/types 1.2.266 → 1.2.267
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 +14 -0
- package/dist/index.js +35 -4
- package/dist/index.mjs +35 -4
- package/package.json +1 -1
|
@@ -1851,6 +1851,7 @@ export type EventPruneCounts = z.infer<typeof EventPruneCountsSchema>;
|
|
|
1851
1851
|
* - `reads-disagree` — the two reads named different choices.
|
|
1852
1852
|
* - `not-a-clip-model` — the CONFIRMED id has no CLIP metadata, so there is no
|
|
1853
1853
|
* index to fill and no dimension to check against (D649).
|
|
1854
|
+
* - `force-requires-max-tracks` — `force: true` with no `maxTracks` (D664).
|
|
1854
1855
|
*/
|
|
1855
1856
|
export declare const RebuildObjectEmbeddingsRefusalSchema: z.ZodEnum<{
|
|
1856
1857
|
"owner-not-ready": "owner-not-ready";
|
|
@@ -1863,6 +1864,7 @@ export declare const RebuildObjectEmbeddingsRefusalSchema: z.ZodEnum<{
|
|
|
1863
1864
|
"read-failed": "read-failed";
|
|
1864
1865
|
"reads-disagree": "reads-disagree";
|
|
1865
1866
|
"not-a-clip-model": "not-a-clip-model";
|
|
1867
|
+
"force-requires-max-tracks": "force-requires-max-tracks";
|
|
1866
1868
|
}>;
|
|
1867
1869
|
export type RebuildObjectEmbeddingsRefusal = z.infer<typeof RebuildObjectEmbeddingsRefusalSchema>;
|
|
1868
1870
|
/**
|
|
@@ -4397,6 +4399,7 @@ export declare const pipelineAnalyticsCapability: {
|
|
|
4397
4399
|
maxTracks: z.ZodOptional<z.ZodNumber>;
|
|
4398
4400
|
executeOnNodeId: z.ZodOptional<z.ZodString>;
|
|
4399
4401
|
pacingMs: z.ZodOptional<z.ZodNumber>;
|
|
4402
|
+
force: z.ZodOptional<z.ZodBoolean>;
|
|
4400
4403
|
}, z.core.$strip>, z.ZodObject<{
|
|
4401
4404
|
started: z.ZodBoolean;
|
|
4402
4405
|
alreadyRunning: z.ZodBoolean;
|
|
@@ -4411,6 +4414,7 @@ export declare const pipelineAnalyticsCapability: {
|
|
|
4411
4414
|
"read-failed": "read-failed";
|
|
4412
4415
|
"reads-disagree": "reads-disagree";
|
|
4413
4416
|
"not-a-clip-model": "not-a-clip-model";
|
|
4417
|
+
"force-requires-max-tracks": "force-requires-max-tracks";
|
|
4414
4418
|
}>>;
|
|
4415
4419
|
modelId: z.ZodOptional<z.ZodString>;
|
|
4416
4420
|
index: z.ZodOptional<z.ZodString>;
|
|
@@ -4420,7 +4424,17 @@ export declare const pipelineAnalyticsCapability: {
|
|
|
4420
4424
|
scanned: z.ZodNumber;
|
|
4421
4425
|
rebuilt: z.ZodNumber;
|
|
4422
4426
|
missingKeyFrame: z.ZodNumber;
|
|
4427
|
+
missingEvent: z.ZodNumber;
|
|
4423
4428
|
missingBbox: z.ZodNumber;
|
|
4429
|
+
boxSource: z.ZodObject<{
|
|
4430
|
+
subjectBox: z.ZodNumber;
|
|
4431
|
+
positions: z.ZodNumber;
|
|
4432
|
+
event: z.ZodNumber;
|
|
4433
|
+
refused: z.ZodNumber;
|
|
4434
|
+
}, z.core.$strip>;
|
|
4435
|
+
alreadyInSpace: z.ZodNumber;
|
|
4436
|
+
force: z.ZodNullable<z.ZodBoolean>;
|
|
4437
|
+
forcedInSpace: z.ZodNumber;
|
|
4424
4438
|
notRunnable: z.ZodNumber;
|
|
4425
4439
|
noCapableNode: z.ZodNumber;
|
|
4426
4440
|
failed: z.ZodNumber;
|
package/dist/index.js
CHANGED
|
@@ -22936,7 +22936,15 @@ var RebuildObjectEmbeddingsInput = zod.z.object({
|
|
|
22936
22936
|
* force is logged at start and finish so a deliberately slow pass reads
|
|
22937
22937
|
* differently from a stalled one.
|
|
22938
22938
|
*/
|
|
22939
|
-
pacingMs: zod.z.number().int().nonnegative().optional()
|
|
22939
|
+
pacingMs: zod.z.number().int().nonnegative().optional(),
|
|
22940
|
+
/**
|
|
22941
|
+
* Re-embed ONLY the tracks whose vector is ALREADY in the pinned model's
|
|
22942
|
+
* space (D664) — the in-space skip inverted. It exists to redo vectors
|
|
22943
|
+
* written from the wrong box, which a normal pass would skip as done
|
|
22944
|
+
* forever. Requires `maxTracks`: a forced pass without a bound is refused
|
|
22945
|
+
* (`force-requires-max-tracks`).
|
|
22946
|
+
*/
|
|
22947
|
+
force: zod.z.boolean().optional()
|
|
22940
22948
|
});
|
|
22941
22949
|
/**
|
|
22942
22950
|
* Result of emptying the CLIP index.
|
|
@@ -22972,6 +22980,7 @@ var WipeObjectEmbeddingsResultSchema = zod.z.object({
|
|
|
22972
22980
|
* - `reads-disagree` — the two reads named different choices.
|
|
22973
22981
|
* - `not-a-clip-model` — the CONFIRMED id has no CLIP metadata, so there is no
|
|
22974
22982
|
* index to fill and no dimension to check against (D649).
|
|
22983
|
+
* - `force-requires-max-tracks` — `force: true` with no `maxTracks` (D664).
|
|
22975
22984
|
*/
|
|
22976
22985
|
var RebuildObjectEmbeddingsRefusalSchema = zod.z.enum([
|
|
22977
22986
|
"stores-unavailable",
|
|
@@ -22979,7 +22988,8 @@ var RebuildObjectEmbeddingsRefusalSchema = zod.z.enum([
|
|
|
22979
22988
|
"method-unavailable",
|
|
22980
22989
|
"read-failed",
|
|
22981
22990
|
"reads-disagree",
|
|
22982
|
-
"not-a-clip-model"
|
|
22991
|
+
"not-a-clip-model",
|
|
22992
|
+
"force-requires-max-tracks"
|
|
22983
22993
|
]);
|
|
22984
22994
|
/**
|
|
22985
22995
|
* Acknowledgement that a rebuild STARTED.
|
|
@@ -23004,11 +23014,32 @@ var RebuildStatusSchema = zod.z.object({
|
|
|
23004
23014
|
running: zod.z.boolean(),
|
|
23005
23015
|
scanned: zod.z.number(),
|
|
23006
23016
|
rebuilt: zod.z.number(),
|
|
23007
|
-
/** Tracks whose key frame is gone — nothing to re-embed from.
|
|
23017
|
+
/** Tracks whose key frame is gone — nothing to re-embed from. Pixels ONLY:
|
|
23018
|
+
* `missingEvent` is its own field since D664, never summed in. */
|
|
23008
23019
|
missingKeyFrame: zod.z.number(),
|
|
23009
|
-
/** Tracks with no
|
|
23020
|
+
/** Tracks with no object event at all (D664). */
|
|
23021
|
+
missingEvent: zod.z.number(),
|
|
23022
|
+
/** Tracks with no box measured on the pixels to cut — see `boxSource.refused`. */
|
|
23010
23023
|
missingBbox: zod.z.number(),
|
|
23011
23024
|
/**
|
|
23025
|
+
* Which rule placed each judged track's box (D664): the key frame row's own
|
|
23026
|
+
* `subjectBox`, `track.positions` at exactly its instant (older key frames),
|
|
23027
|
+
* the event box (a key frame recovered from the recording, at the event's
|
|
23028
|
+
* instant), or `refused` by name — the reasons are in the tagged log lines.
|
|
23029
|
+
*/
|
|
23030
|
+
boxSource: zod.z.object({
|
|
23031
|
+
subjectBox: zod.z.number(),
|
|
23032
|
+
positions: zod.z.number(),
|
|
23033
|
+
event: zod.z.number(),
|
|
23034
|
+
refused: zod.z.number()
|
|
23035
|
+
}),
|
|
23036
|
+
/** Tracks skipped because their vector is already in the pinned space. */
|
|
23037
|
+
alreadyInSpace: zod.z.number(),
|
|
23038
|
+
/** Whether the current / last pass was a `force` pass; `null` before any (D664). */
|
|
23039
|
+
force: zod.z.boolean().nullable(),
|
|
23040
|
+
/** In-space tracks a `force` pass selected for re-embedding. */
|
|
23041
|
+
forcedInSpace: zod.z.number(),
|
|
23042
|
+
/**
|
|
23012
23043
|
* Tracks an executing node REFUSED rather than broke on — an unreadable key
|
|
23013
23044
|
* frame, a step that threw. Separate from `failed` because the remedy is
|
|
23014
23045
|
* different, and because a whole camera silently contributing zero vectors
|
package/dist/index.mjs
CHANGED
|
@@ -22935,7 +22935,15 @@ var RebuildObjectEmbeddingsInput = z.object({
|
|
|
22935
22935
|
* force is logged at start and finish so a deliberately slow pass reads
|
|
22936
22936
|
* differently from a stalled one.
|
|
22937
22937
|
*/
|
|
22938
|
-
pacingMs: z.number().int().nonnegative().optional()
|
|
22938
|
+
pacingMs: z.number().int().nonnegative().optional(),
|
|
22939
|
+
/**
|
|
22940
|
+
* Re-embed ONLY the tracks whose vector is ALREADY in the pinned model's
|
|
22941
|
+
* space (D664) — the in-space skip inverted. It exists to redo vectors
|
|
22942
|
+
* written from the wrong box, which a normal pass would skip as done
|
|
22943
|
+
* forever. Requires `maxTracks`: a forced pass without a bound is refused
|
|
22944
|
+
* (`force-requires-max-tracks`).
|
|
22945
|
+
*/
|
|
22946
|
+
force: z.boolean().optional()
|
|
22939
22947
|
});
|
|
22940
22948
|
/**
|
|
22941
22949
|
* Result of emptying the CLIP index.
|
|
@@ -22971,6 +22979,7 @@ var WipeObjectEmbeddingsResultSchema = z.object({
|
|
|
22971
22979
|
* - `reads-disagree` — the two reads named different choices.
|
|
22972
22980
|
* - `not-a-clip-model` — the CONFIRMED id has no CLIP metadata, so there is no
|
|
22973
22981
|
* index to fill and no dimension to check against (D649).
|
|
22982
|
+
* - `force-requires-max-tracks` — `force: true` with no `maxTracks` (D664).
|
|
22974
22983
|
*/
|
|
22975
22984
|
var RebuildObjectEmbeddingsRefusalSchema = z.enum([
|
|
22976
22985
|
"stores-unavailable",
|
|
@@ -22978,7 +22987,8 @@ var RebuildObjectEmbeddingsRefusalSchema = z.enum([
|
|
|
22978
22987
|
"method-unavailable",
|
|
22979
22988
|
"read-failed",
|
|
22980
22989
|
"reads-disagree",
|
|
22981
|
-
"not-a-clip-model"
|
|
22990
|
+
"not-a-clip-model",
|
|
22991
|
+
"force-requires-max-tracks"
|
|
22982
22992
|
]);
|
|
22983
22993
|
/**
|
|
22984
22994
|
* Acknowledgement that a rebuild STARTED.
|
|
@@ -23003,11 +23013,32 @@ var RebuildStatusSchema = z.object({
|
|
|
23003
23013
|
running: z.boolean(),
|
|
23004
23014
|
scanned: z.number(),
|
|
23005
23015
|
rebuilt: z.number(),
|
|
23006
|
-
/** Tracks whose key frame is gone — nothing to re-embed from.
|
|
23016
|
+
/** Tracks whose key frame is gone — nothing to re-embed from. Pixels ONLY:
|
|
23017
|
+
* `missingEvent` is its own field since D664, never summed in. */
|
|
23007
23018
|
missingKeyFrame: z.number(),
|
|
23008
|
-
/** Tracks with no
|
|
23019
|
+
/** Tracks with no object event at all (D664). */
|
|
23020
|
+
missingEvent: z.number(),
|
|
23021
|
+
/** Tracks with no box measured on the pixels to cut — see `boxSource.refused`. */
|
|
23009
23022
|
missingBbox: z.number(),
|
|
23010
23023
|
/**
|
|
23024
|
+
* Which rule placed each judged track's box (D664): the key frame row's own
|
|
23025
|
+
* `subjectBox`, `track.positions` at exactly its instant (older key frames),
|
|
23026
|
+
* the event box (a key frame recovered from the recording, at the event's
|
|
23027
|
+
* instant), or `refused` by name — the reasons are in the tagged log lines.
|
|
23028
|
+
*/
|
|
23029
|
+
boxSource: z.object({
|
|
23030
|
+
subjectBox: z.number(),
|
|
23031
|
+
positions: z.number(),
|
|
23032
|
+
event: z.number(),
|
|
23033
|
+
refused: z.number()
|
|
23034
|
+
}),
|
|
23035
|
+
/** Tracks skipped because their vector is already in the pinned space. */
|
|
23036
|
+
alreadyInSpace: z.number(),
|
|
23037
|
+
/** Whether the current / last pass was a `force` pass; `null` before any (D664). */
|
|
23038
|
+
force: z.boolean().nullable(),
|
|
23039
|
+
/** In-space tracks a `force` pass selected for re-embedding. */
|
|
23040
|
+
forcedInSpace: z.number(),
|
|
23041
|
+
/**
|
|
23011
23042
|
* Tracks an executing node REFUSED rather than broke on — an unreadable key
|
|
23012
23043
|
* frame, a step that threw. Separate from `failed` because the remedy is
|
|
23013
23044
|
* different, and because a whole camera silently contributing zero vectors
|