@camstack/types 1.2.256 → 1.2.258
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/consumables.cap.d.ts +10 -2
- package/dist/capabilities/custom-model-registry.cap.d.ts +2 -0
- package/dist/capabilities/index.d.ts +1 -1
- package/dist/capabilities/model-convert.cap.d.ts +3 -0
- package/dist/capabilities/model-distributor.cap.d.ts +2 -0
- package/dist/capabilities/notification-rules.cap.d.ts +102 -0
- package/dist/capabilities/osd-manager.cap.d.ts +24 -0
- package/dist/generated/runtime-state-durability.d.ts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +203 -13
- package/dist/index.mjs +197 -14
- package/dist/notification/system-event-families.d.ts +1 -1
- package/dist/notification/system-event-filters.d.ts +11 -3
- package/dist/notification/template-vars.d.ts +24 -1
- package/dist/types/models.d.ts +4 -1
- package/dist/types/pipeline-step.d.ts +4 -1
- package/package.json +1 -1
package/dist/types/models.d.ts
CHANGED
|
@@ -237,6 +237,7 @@ export declare const ModelCatalogEntrySchema: z.ZodObject<{
|
|
|
237
237
|
}>>;
|
|
238
238
|
inputNormalization: z.ZodOptional<z.ZodEnum<{
|
|
239
239
|
none: "none";
|
|
240
|
+
scrfd: "scrfd";
|
|
240
241
|
"zero-one": "zero-one";
|
|
241
242
|
imagenet: "imagenet";
|
|
242
243
|
}>>;
|
|
@@ -319,7 +320,7 @@ export interface CustomModelMetadata {
|
|
|
319
320
|
readonly labels: readonly LabelDefinition[];
|
|
320
321
|
readonly classMap?: ClassMapDefinition;
|
|
321
322
|
readonly inputLayout?: 'nchw' | 'nhwc';
|
|
322
|
-
readonly inputNormalization?: 'zero-one' | 'imagenet' | 'none';
|
|
323
|
+
readonly inputNormalization?: 'zero-one' | 'imagenet' | 'none' | 'scrfd';
|
|
323
324
|
readonly outputFormat: ModelOutputFormat;
|
|
324
325
|
}
|
|
325
326
|
export declare const ConvertTargetSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -352,6 +353,7 @@ export declare const ModelConvertMetadataSchema: z.ZodObject<{
|
|
|
352
353
|
}>>;
|
|
353
354
|
inputNormalization: z.ZodOptional<z.ZodEnum<{
|
|
354
355
|
none: "none";
|
|
356
|
+
scrfd: "scrfd";
|
|
355
357
|
"zero-one": "zero-one";
|
|
356
358
|
imagenet: "imagenet";
|
|
357
359
|
}>>;
|
|
@@ -482,6 +484,7 @@ export declare const ConvertResultSchema: z.ZodObject<{
|
|
|
482
484
|
}>>;
|
|
483
485
|
inputNormalization: z.ZodOptional<z.ZodEnum<{
|
|
484
486
|
none: "none";
|
|
487
|
+
scrfd: "scrfd";
|
|
485
488
|
"zero-one": "zero-one";
|
|
486
489
|
imagenet: "imagenet";
|
|
487
490
|
}>>;
|
|
@@ -232,9 +232,12 @@ export interface PoolModelConfig {
|
|
|
232
232
|
* its own scale). `'imagenet'` ⇒ additionally subtract the ImageNet
|
|
233
233
|
* mean/std per channel — required by the EfficientNet/MobileNetV3 animal +
|
|
234
234
|
* vehicle classifiers (their `labels.json` declares `normalize: imagenet`).
|
|
235
|
+
* `'scrfd'` ⇒ InsightFace's SCRFD input contract, `(x - 127.5) / 128`
|
|
236
|
+
* (upstream `insightface/model_zoo/scrfd.py`) — required by the
|
|
237
|
+
* `scrfd-2.5g` catalog entry (2026-09-26 model-replacement spike, §2.4-2).
|
|
235
238
|
* Threaded from `ModelCatalogEntry.inputNormalization`.
|
|
236
239
|
*/
|
|
237
|
-
readonly inputNormalization?: 'zero-one' | 'imagenet' | 'none';
|
|
240
|
+
readonly inputNormalization?: 'zero-one' | 'imagenet' | 'none' | 'scrfd';
|
|
238
241
|
/**
|
|
239
242
|
* The model's output is ALREADY a softmax probability distribution (softmax
|
|
240
243
|
* baked into the graph). When true the `softmax` postprocessor skips its own
|