@camstack/addon-agent-ui 1.2.174 → 1.2.175

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.
Files changed (2) hide show
  1. package/dist/addon.js +70 -47
  2. package/package.json +1 -1
package/dist/addon.js CHANGED
@@ -10470,6 +10470,57 @@ var ClipSearchStrictnessSchema = _enum([
10470
10470
  "balanced",
10471
10471
  "strict"
10472
10472
  ]);
10473
+ new Set([
10474
+ {
10475
+ id: "person",
10476
+ name: "Person"
10477
+ },
10478
+ {
10479
+ id: "vehicle",
10480
+ name: "Vehicle"
10481
+ },
10482
+ {
10483
+ id: "animal",
10484
+ name: "Animal"
10485
+ },
10486
+ {
10487
+ id: "package",
10488
+ name: "Package"
10489
+ }
10490
+ ].map((l) => l.id));
10491
+ var COCO_TO_MACRO = {
10492
+ mapping: {
10493
+ person: "person",
10494
+ bicycle: "vehicle",
10495
+ car: "vehicle",
10496
+ motorcycle: "vehicle",
10497
+ airplane: "vehicle",
10498
+ bus: "vehicle",
10499
+ train: "vehicle",
10500
+ truck: "vehicle",
10501
+ boat: "vehicle",
10502
+ bird: "animal",
10503
+ cat: "animal",
10504
+ dog: "animal",
10505
+ horse: "animal",
10506
+ sheep: "animal",
10507
+ cow: "animal",
10508
+ elephant: "animal",
10509
+ bear: "animal",
10510
+ zebra: "animal",
10511
+ giraffe: "animal",
10512
+ suitcase: "package",
10513
+ backpack: "package",
10514
+ handbag: "package"
10515
+ },
10516
+ preserveOriginal: false
10517
+ };
10518
+ /** Steps a root detector may declare it fills. */
10519
+ var FILLABLE_STEP_IDS = [
10520
+ "animal-classifier",
10521
+ "vehicle-classifier",
10522
+ "package-detection"
10523
+ ];
10473
10524
  var MODEL_FORMATS = [
10474
10525
  "onnx",
10475
10526
  "coreml",
@@ -10602,6 +10653,12 @@ var ModelLicenseSchema = preprocess((value) => typeof value === "string" ? { wei
10602
10653
  /** True when the weights or their data forbid commercial use. */
10603
10654
  nonCommercial: boolean().optional()
10604
10655
  }));
10656
+ /** One `fillsClassifierEffects` entry — see `ModelCatalogEntry.fillsClassifierEffects`. */
10657
+ var FillsClassifierEffectSchema = object({
10658
+ stepId: _enum(FILLABLE_STEP_IDS),
10659
+ labelToEffect: record(string(), string()),
10660
+ uncovered: array(string()).readonly()
10661
+ });
10605
10662
  var ModelCatalogEntrySchema = object({
10606
10663
  id: string(),
10607
10664
  name: string(),
@@ -10728,6 +10785,16 @@ var ModelCatalogEntrySchema = object({
10728
10785
  */
10729
10786
  classMap: DetectionCatalogClassMapSchema.optional(),
10730
10787
  /**
10788
+ * The pipeline steps this ROOT detector already does the work of (D715):
10789
+ * its labels name the effect the step exists to produce (`deer` for
10790
+ * `animal-classifier`, `package` for `package-detection`). Derived from the
10791
+ * labelmap by `deriveClassifierFills`, never hand-written; a COCO model
10792
+ * declares none. Whether a declaration is honoured is the step's own
10793
+ * `labelLink` policy (`resolveLabelLink`). `labelToEffect` values are in
10794
+ * `FILLABLE_STEP_VOCABULARIES` (guard `check-label-link-vocabulary`).
10795
+ */
10796
+ fillsClassifierEffects: array(FillsClassifierEffectSchema).readonly().optional(),
10797
+ /**
10731
10798
  * The model's CLIP feature-space contract (text encoder, dimension, vector
10732
10799
  * index, token window, search floor) — see `clip-model.ts`. Present ONLY on a
10733
10800
  * CLIP image encoder; its absence is what "not a CLIP model" means to the
@@ -17648,51 +17715,6 @@ method(object({}), array(TargetKindSchema)), method(object({}), array(TargetSche
17648
17715
  kind: "mutation",
17649
17716
  auth: "admin"
17650
17717
  });
17651
- new Set([
17652
- {
17653
- id: "person",
17654
- name: "Person"
17655
- },
17656
- {
17657
- id: "vehicle",
17658
- name: "Vehicle"
17659
- },
17660
- {
17661
- id: "animal",
17662
- name: "Animal"
17663
- },
17664
- {
17665
- id: "package",
17666
- name: "Package"
17667
- }
17668
- ].map((l) => l.id));
17669
- var COCO_TO_MACRO = {
17670
- mapping: {
17671
- person: "person",
17672
- bicycle: "vehicle",
17673
- car: "vehicle",
17674
- motorcycle: "vehicle",
17675
- airplane: "vehicle",
17676
- bus: "vehicle",
17677
- train: "vehicle",
17678
- truck: "vehicle",
17679
- boat: "vehicle",
17680
- bird: "animal",
17681
- cat: "animal",
17682
- dog: "animal",
17683
- horse: "animal",
17684
- sheep: "animal",
17685
- cow: "animal",
17686
- elephant: "animal",
17687
- bear: "animal",
17688
- zebra: "animal",
17689
- giraffe: "animal",
17690
- suitcase: "package",
17691
- backpack: "package",
17692
- handbag: "package"
17693
- },
17694
- preserveOriginal: false
17695
- };
17696
17718
  var AUDIO_MACRO_LABELS = [
17697
17719
  {
17698
17720
  id: "speech",
@@ -23096,7 +23118,8 @@ var PipelineModelOptionSchema = object({
23096
23118
  group: ModelVariantGroupSchema.optional(),
23097
23119
  legacy: boolean().optional(),
23098
23120
  provider: ModelProviderIdSchema.optional(),
23099
- defaultConfidence: number().optional()
23121
+ defaultConfidence: number().optional(),
23122
+ fillsClassifierEffects: array(FillsClassifierEffectSchema).readonly().optional()
23100
23123
  });
23101
23124
  var ConfigFieldBridge = custom();
23102
23125
  var PipelineAddonSchemaSchema = object({
@@ -48435,7 +48458,7 @@ var AgentUIAddon = class extends BaseAddon {
48435
48458
  capability: adminUiCapability,
48436
48459
  provider: {
48437
48460
  getStaticDir: async () => ({ staticDir: path.resolve(__dirname) }),
48438
- getVersion: async () => ({ version: "1.2.174" })
48461
+ getVersion: async () => ({ version: "1.2.175" })
48439
48462
  }
48440
48463
  }];
48441
48464
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-agent-ui",
3
- "version": "1.2.174",
3
+ "version": "1.2.175",
4
4
  "description": "Agent UI — lightweight status dashboard served by every agent node",
5
5
  "keywords": [
6
6
  "camstack",