@camstack/addon-export-alexa 1.2.129 → 1.2.130
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/export-alexa.addon.js +69 -46
- package/dist/export-alexa.addon.mjs +69 -46
- package/package.json +1 -1
|
@@ -10767,6 +10767,57 @@ var ClipSearchStrictnessSchema = _enum([
|
|
|
10767
10767
|
"balanced",
|
|
10768
10768
|
"strict"
|
|
10769
10769
|
]);
|
|
10770
|
+
new Set([
|
|
10771
|
+
{
|
|
10772
|
+
id: "person",
|
|
10773
|
+
name: "Person"
|
|
10774
|
+
},
|
|
10775
|
+
{
|
|
10776
|
+
id: "vehicle",
|
|
10777
|
+
name: "Vehicle"
|
|
10778
|
+
},
|
|
10779
|
+
{
|
|
10780
|
+
id: "animal",
|
|
10781
|
+
name: "Animal"
|
|
10782
|
+
},
|
|
10783
|
+
{
|
|
10784
|
+
id: "package",
|
|
10785
|
+
name: "Package"
|
|
10786
|
+
}
|
|
10787
|
+
].map((l) => l.id));
|
|
10788
|
+
var COCO_TO_MACRO = {
|
|
10789
|
+
mapping: {
|
|
10790
|
+
person: "person",
|
|
10791
|
+
bicycle: "vehicle",
|
|
10792
|
+
car: "vehicle",
|
|
10793
|
+
motorcycle: "vehicle",
|
|
10794
|
+
airplane: "vehicle",
|
|
10795
|
+
bus: "vehicle",
|
|
10796
|
+
train: "vehicle",
|
|
10797
|
+
truck: "vehicle",
|
|
10798
|
+
boat: "vehicle",
|
|
10799
|
+
bird: "animal",
|
|
10800
|
+
cat: "animal",
|
|
10801
|
+
dog: "animal",
|
|
10802
|
+
horse: "animal",
|
|
10803
|
+
sheep: "animal",
|
|
10804
|
+
cow: "animal",
|
|
10805
|
+
elephant: "animal",
|
|
10806
|
+
bear: "animal",
|
|
10807
|
+
zebra: "animal",
|
|
10808
|
+
giraffe: "animal",
|
|
10809
|
+
suitcase: "package",
|
|
10810
|
+
backpack: "package",
|
|
10811
|
+
handbag: "package"
|
|
10812
|
+
},
|
|
10813
|
+
preserveOriginal: false
|
|
10814
|
+
};
|
|
10815
|
+
/** Steps a root detector may declare it fills. */
|
|
10816
|
+
var FILLABLE_STEP_IDS = [
|
|
10817
|
+
"animal-classifier",
|
|
10818
|
+
"vehicle-classifier",
|
|
10819
|
+
"package-detection"
|
|
10820
|
+
];
|
|
10770
10821
|
var MODEL_FORMATS = [
|
|
10771
10822
|
"onnx",
|
|
10772
10823
|
"coreml",
|
|
@@ -10899,6 +10950,12 @@ var ModelLicenseSchema = preprocess((value) => typeof value === "string" ? { wei
|
|
|
10899
10950
|
/** True when the weights or their data forbid commercial use. */
|
|
10900
10951
|
nonCommercial: boolean().optional()
|
|
10901
10952
|
}));
|
|
10953
|
+
/** One `fillsClassifierEffects` entry — see `ModelCatalogEntry.fillsClassifierEffects`. */
|
|
10954
|
+
var FillsClassifierEffectSchema = object({
|
|
10955
|
+
stepId: _enum(FILLABLE_STEP_IDS),
|
|
10956
|
+
labelToEffect: record(string(), string()),
|
|
10957
|
+
uncovered: array(string()).readonly()
|
|
10958
|
+
});
|
|
10902
10959
|
var ModelCatalogEntrySchema = object({
|
|
10903
10960
|
id: string(),
|
|
10904
10961
|
name: string(),
|
|
@@ -11025,6 +11082,16 @@ var ModelCatalogEntrySchema = object({
|
|
|
11025
11082
|
*/
|
|
11026
11083
|
classMap: DetectionCatalogClassMapSchema.optional(),
|
|
11027
11084
|
/**
|
|
11085
|
+
* The pipeline steps this ROOT detector already does the work of (D715):
|
|
11086
|
+
* its labels name the effect the step exists to produce (`deer` for
|
|
11087
|
+
* `animal-classifier`, `package` for `package-detection`). Derived from the
|
|
11088
|
+
* labelmap by `deriveClassifierFills`, never hand-written; a COCO model
|
|
11089
|
+
* declares none. Whether a declaration is honoured is the step's own
|
|
11090
|
+
* `labelLink` policy (`resolveLabelLink`). `labelToEffect` values are in
|
|
11091
|
+
* `FILLABLE_STEP_VOCABULARIES` (guard `check-label-link-vocabulary`).
|
|
11092
|
+
*/
|
|
11093
|
+
fillsClassifierEffects: array(FillsClassifierEffectSchema).readonly().optional(),
|
|
11094
|
+
/**
|
|
11028
11095
|
* The model's CLIP feature-space contract (text encoder, dimension, vector
|
|
11029
11096
|
* index, token window, search floor) — see `clip-model.ts`. Present ONLY on a
|
|
11030
11097
|
* CLIP image encoder; its absence is what "not a CLIP model" means to the
|
|
@@ -17996,51 +18063,6 @@ method(object({}), array(TargetKindSchema)), method(object({}), array(TargetSche
|
|
|
17996
18063
|
kind: "mutation",
|
|
17997
18064
|
auth: "admin"
|
|
17998
18065
|
});
|
|
17999
|
-
new Set([
|
|
18000
|
-
{
|
|
18001
|
-
id: "person",
|
|
18002
|
-
name: "Person"
|
|
18003
|
-
},
|
|
18004
|
-
{
|
|
18005
|
-
id: "vehicle",
|
|
18006
|
-
name: "Vehicle"
|
|
18007
|
-
},
|
|
18008
|
-
{
|
|
18009
|
-
id: "animal",
|
|
18010
|
-
name: "Animal"
|
|
18011
|
-
},
|
|
18012
|
-
{
|
|
18013
|
-
id: "package",
|
|
18014
|
-
name: "Package"
|
|
18015
|
-
}
|
|
18016
|
-
].map((l) => l.id));
|
|
18017
|
-
var COCO_TO_MACRO = {
|
|
18018
|
-
mapping: {
|
|
18019
|
-
person: "person",
|
|
18020
|
-
bicycle: "vehicle",
|
|
18021
|
-
car: "vehicle",
|
|
18022
|
-
motorcycle: "vehicle",
|
|
18023
|
-
airplane: "vehicle",
|
|
18024
|
-
bus: "vehicle",
|
|
18025
|
-
train: "vehicle",
|
|
18026
|
-
truck: "vehicle",
|
|
18027
|
-
boat: "vehicle",
|
|
18028
|
-
bird: "animal",
|
|
18029
|
-
cat: "animal",
|
|
18030
|
-
dog: "animal",
|
|
18031
|
-
horse: "animal",
|
|
18032
|
-
sheep: "animal",
|
|
18033
|
-
cow: "animal",
|
|
18034
|
-
elephant: "animal",
|
|
18035
|
-
bear: "animal",
|
|
18036
|
-
zebra: "animal",
|
|
18037
|
-
giraffe: "animal",
|
|
18038
|
-
suitcase: "package",
|
|
18039
|
-
backpack: "package",
|
|
18040
|
-
handbag: "package"
|
|
18041
|
-
},
|
|
18042
|
-
preserveOriginal: false
|
|
18043
|
-
};
|
|
18044
18066
|
var AUDIO_MACRO_LABELS = [
|
|
18045
18067
|
{
|
|
18046
18068
|
id: "speech",
|
|
@@ -23460,7 +23482,8 @@ var PipelineModelOptionSchema = object({
|
|
|
23460
23482
|
group: ModelVariantGroupSchema.optional(),
|
|
23461
23483
|
legacy: boolean().optional(),
|
|
23462
23484
|
provider: ModelProviderIdSchema.optional(),
|
|
23463
|
-
defaultConfidence: number().optional()
|
|
23485
|
+
defaultConfidence: number().optional(),
|
|
23486
|
+
fillsClassifierEffects: array(FillsClassifierEffectSchema).readonly().optional()
|
|
23464
23487
|
});
|
|
23465
23488
|
var ConfigFieldBridge = custom();
|
|
23466
23489
|
var PipelineAddonSchemaSchema = object({
|
|
@@ -10740,6 +10740,57 @@ var ClipSearchStrictnessSchema = _enum([
|
|
|
10740
10740
|
"balanced",
|
|
10741
10741
|
"strict"
|
|
10742
10742
|
]);
|
|
10743
|
+
new Set([
|
|
10744
|
+
{
|
|
10745
|
+
id: "person",
|
|
10746
|
+
name: "Person"
|
|
10747
|
+
},
|
|
10748
|
+
{
|
|
10749
|
+
id: "vehicle",
|
|
10750
|
+
name: "Vehicle"
|
|
10751
|
+
},
|
|
10752
|
+
{
|
|
10753
|
+
id: "animal",
|
|
10754
|
+
name: "Animal"
|
|
10755
|
+
},
|
|
10756
|
+
{
|
|
10757
|
+
id: "package",
|
|
10758
|
+
name: "Package"
|
|
10759
|
+
}
|
|
10760
|
+
].map((l) => l.id));
|
|
10761
|
+
var COCO_TO_MACRO = {
|
|
10762
|
+
mapping: {
|
|
10763
|
+
person: "person",
|
|
10764
|
+
bicycle: "vehicle",
|
|
10765
|
+
car: "vehicle",
|
|
10766
|
+
motorcycle: "vehicle",
|
|
10767
|
+
airplane: "vehicle",
|
|
10768
|
+
bus: "vehicle",
|
|
10769
|
+
train: "vehicle",
|
|
10770
|
+
truck: "vehicle",
|
|
10771
|
+
boat: "vehicle",
|
|
10772
|
+
bird: "animal",
|
|
10773
|
+
cat: "animal",
|
|
10774
|
+
dog: "animal",
|
|
10775
|
+
horse: "animal",
|
|
10776
|
+
sheep: "animal",
|
|
10777
|
+
cow: "animal",
|
|
10778
|
+
elephant: "animal",
|
|
10779
|
+
bear: "animal",
|
|
10780
|
+
zebra: "animal",
|
|
10781
|
+
giraffe: "animal",
|
|
10782
|
+
suitcase: "package",
|
|
10783
|
+
backpack: "package",
|
|
10784
|
+
handbag: "package"
|
|
10785
|
+
},
|
|
10786
|
+
preserveOriginal: false
|
|
10787
|
+
};
|
|
10788
|
+
/** Steps a root detector may declare it fills. */
|
|
10789
|
+
var FILLABLE_STEP_IDS = [
|
|
10790
|
+
"animal-classifier",
|
|
10791
|
+
"vehicle-classifier",
|
|
10792
|
+
"package-detection"
|
|
10793
|
+
];
|
|
10743
10794
|
var MODEL_FORMATS = [
|
|
10744
10795
|
"onnx",
|
|
10745
10796
|
"coreml",
|
|
@@ -10872,6 +10923,12 @@ var ModelLicenseSchema = preprocess((value) => typeof value === "string" ? { wei
|
|
|
10872
10923
|
/** True when the weights or their data forbid commercial use. */
|
|
10873
10924
|
nonCommercial: boolean().optional()
|
|
10874
10925
|
}));
|
|
10926
|
+
/** One `fillsClassifierEffects` entry — see `ModelCatalogEntry.fillsClassifierEffects`. */
|
|
10927
|
+
var FillsClassifierEffectSchema = object({
|
|
10928
|
+
stepId: _enum(FILLABLE_STEP_IDS),
|
|
10929
|
+
labelToEffect: record(string(), string()),
|
|
10930
|
+
uncovered: array(string()).readonly()
|
|
10931
|
+
});
|
|
10875
10932
|
var ModelCatalogEntrySchema = object({
|
|
10876
10933
|
id: string(),
|
|
10877
10934
|
name: string(),
|
|
@@ -10998,6 +11055,16 @@ var ModelCatalogEntrySchema = object({
|
|
|
10998
11055
|
*/
|
|
10999
11056
|
classMap: DetectionCatalogClassMapSchema.optional(),
|
|
11000
11057
|
/**
|
|
11058
|
+
* The pipeline steps this ROOT detector already does the work of (D715):
|
|
11059
|
+
* its labels name the effect the step exists to produce (`deer` for
|
|
11060
|
+
* `animal-classifier`, `package` for `package-detection`). Derived from the
|
|
11061
|
+
* labelmap by `deriveClassifierFills`, never hand-written; a COCO model
|
|
11062
|
+
* declares none. Whether a declaration is honoured is the step's own
|
|
11063
|
+
* `labelLink` policy (`resolveLabelLink`). `labelToEffect` values are in
|
|
11064
|
+
* `FILLABLE_STEP_VOCABULARIES` (guard `check-label-link-vocabulary`).
|
|
11065
|
+
*/
|
|
11066
|
+
fillsClassifierEffects: array(FillsClassifierEffectSchema).readonly().optional(),
|
|
11067
|
+
/**
|
|
11001
11068
|
* The model's CLIP feature-space contract (text encoder, dimension, vector
|
|
11002
11069
|
* index, token window, search floor) — see `clip-model.ts`. Present ONLY on a
|
|
11003
11070
|
* CLIP image encoder; its absence is what "not a CLIP model" means to the
|
|
@@ -17969,51 +18036,6 @@ method(object({}), array(TargetKindSchema)), method(object({}), array(TargetSche
|
|
|
17969
18036
|
kind: "mutation",
|
|
17970
18037
|
auth: "admin"
|
|
17971
18038
|
});
|
|
17972
|
-
new Set([
|
|
17973
|
-
{
|
|
17974
|
-
id: "person",
|
|
17975
|
-
name: "Person"
|
|
17976
|
-
},
|
|
17977
|
-
{
|
|
17978
|
-
id: "vehicle",
|
|
17979
|
-
name: "Vehicle"
|
|
17980
|
-
},
|
|
17981
|
-
{
|
|
17982
|
-
id: "animal",
|
|
17983
|
-
name: "Animal"
|
|
17984
|
-
},
|
|
17985
|
-
{
|
|
17986
|
-
id: "package",
|
|
17987
|
-
name: "Package"
|
|
17988
|
-
}
|
|
17989
|
-
].map((l) => l.id));
|
|
17990
|
-
var COCO_TO_MACRO = {
|
|
17991
|
-
mapping: {
|
|
17992
|
-
person: "person",
|
|
17993
|
-
bicycle: "vehicle",
|
|
17994
|
-
car: "vehicle",
|
|
17995
|
-
motorcycle: "vehicle",
|
|
17996
|
-
airplane: "vehicle",
|
|
17997
|
-
bus: "vehicle",
|
|
17998
|
-
train: "vehicle",
|
|
17999
|
-
truck: "vehicle",
|
|
18000
|
-
boat: "vehicle",
|
|
18001
|
-
bird: "animal",
|
|
18002
|
-
cat: "animal",
|
|
18003
|
-
dog: "animal",
|
|
18004
|
-
horse: "animal",
|
|
18005
|
-
sheep: "animal",
|
|
18006
|
-
cow: "animal",
|
|
18007
|
-
elephant: "animal",
|
|
18008
|
-
bear: "animal",
|
|
18009
|
-
zebra: "animal",
|
|
18010
|
-
giraffe: "animal",
|
|
18011
|
-
suitcase: "package",
|
|
18012
|
-
backpack: "package",
|
|
18013
|
-
handbag: "package"
|
|
18014
|
-
},
|
|
18015
|
-
preserveOriginal: false
|
|
18016
|
-
};
|
|
18017
18039
|
var AUDIO_MACRO_LABELS = [
|
|
18018
18040
|
{
|
|
18019
18041
|
id: "speech",
|
|
@@ -23433,7 +23455,8 @@ var PipelineModelOptionSchema = object({
|
|
|
23433
23455
|
group: ModelVariantGroupSchema.optional(),
|
|
23434
23456
|
legacy: boolean().optional(),
|
|
23435
23457
|
provider: ModelProviderIdSchema.optional(),
|
|
23436
|
-
defaultConfidence: number().optional()
|
|
23458
|
+
defaultConfidence: number().optional(),
|
|
23459
|
+
fillsClassifierEffects: array(FillsClassifierEffectSchema).readonly().optional()
|
|
23437
23460
|
});
|
|
23438
23461
|
var ConfigFieldBridge = custom();
|
|
23439
23462
|
var PipelineAddonSchemaSchema = object({
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@camstack/addon-export-alexa",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.130",
|
|
4
4
|
"description": "Alexa Smart Home Skill export — hub-side OAuth provider + directive handler. The companion AWS Lambda forwards Alexa directives to this addon's /addon/export-alexa/directive endpoint.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"camstack",
|