@camstack/addon-ai 0.4.109 → 0.4.111

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/addon.js CHANGED
@@ -13444,6 +13444,43 @@ var ExposeInputSchema = object({
13444
13444
  });
13445
13445
  var UnexposeInputSchema = object({ deviceId: string() });
13446
13446
  method(_void(), DeviceExportStatusSchema), method(_void(), array(DeviceKindSchema)), method(_void(), array(ExposedDeviceSchema)), method(ExposeInputSchema, _void(), { kind: "mutation" }), method(UnexposeInputSchema, _void(), { kind: "mutation" });
13447
+ /** Wire/storage schema for one icon id. */
13448
+ var LocationIconIdSchema = _enum([
13449
+ "map-pin",
13450
+ "house",
13451
+ "door-open",
13452
+ "sofa",
13453
+ "utensils",
13454
+ "bed-double",
13455
+ "bath",
13456
+ "briefcase",
13457
+ "car",
13458
+ "circle-parking",
13459
+ "route",
13460
+ "trees",
13461
+ "umbrella",
13462
+ "waves-ladder",
13463
+ "fence",
13464
+ "package",
13465
+ "warehouse",
13466
+ "store",
13467
+ "sun",
13468
+ "radar"
13469
+ ]);
13470
+ /**
13471
+ * One (location, icon) assignment as it travels.
13472
+ *
13473
+ * `locationKey` is ALWAYS {@link locationIconKey} of the label — never the
13474
+ * operator's casing. The registry matches labels trimmed + case-insensitively
13475
+ * everywhere (`addLocation`, `removeLocation`, `renameLocation`), and a
13476
+ * case-only rename (`cucina` → `Cucina`) is a real edit this repo supports; a
13477
+ * map keyed on the displayed casing would orphan its entry on exactly that
13478
+ * edit. Consumers join by keying their own label through `locationIconKey`.
13479
+ */
13480
+ var LocationIconAssignmentSchema = object({
13481
+ locationKey: string(),
13482
+ icon: LocationIconIdSchema
13483
+ });
13447
13484
  var ProviderStatusSchema = object({
13448
13485
  connected: boolean(),
13449
13486
  deviceCount: number$1(),
@@ -13955,6 +13992,12 @@ method(object({
13955
13992
  }), object({ moved: number$1() }), {
13956
13993
  kind: "mutation",
13957
13994
  auth: "admin"
13995
+ }), method(_void(), array(LocationIconAssignmentSchema)), method(object({
13996
+ location: string(),
13997
+ icon: LocationIconIdSchema.nullable()
13998
+ }), _void(), {
13999
+ kind: "mutation",
14000
+ auth: "admin"
13958
14001
  }), method(object({
13959
14002
  deviceId: number$1(),
13960
14003
  disabled: boolean()
@@ -19945,6 +19988,7 @@ var MediaFileKindEnum = _enum([
19945
19988
  "keyFrame",
19946
19989
  "keyFrameSmall",
19947
19990
  "thumbnailSmall",
19991
+ "confirmationCrop",
19948
19992
  "sceneFrame"
19949
19993
  ]);
19950
19994
  /**
@@ -32871,6 +32915,12 @@ Object.freeze({
32871
32915
  addonId: null,
32872
32916
  access: "view"
32873
32917
  },
32918
+ "deviceManager.listLocationIcons": {
32919
+ capName: "device-manager",
32920
+ capScope: "system",
32921
+ addonId: null,
32922
+ access: "view"
32923
+ },
32874
32924
  "deviceManager.listLocations": {
32875
32925
  capName: "device-manager",
32876
32926
  capScope: "system",
@@ -33015,6 +33065,12 @@ Object.freeze({
33015
33065
  addonId: null,
33016
33066
  access: "create"
33017
33067
  },
33068
+ "deviceManager.setLocationIcon": {
33069
+ capName: "device-manager",
33070
+ capScope: "system",
33071
+ addonId: null,
33072
+ access: "create"
33073
+ },
33018
33074
  "deviceManager.setMetadata": {
33019
33075
  capName: "device-manager",
33020
33076
  capScope: "system",
package/dist/addon.mjs CHANGED
@@ -13471,6 +13471,43 @@ var ExposeInputSchema = object({
13471
13471
  });
13472
13472
  var UnexposeInputSchema = object({ deviceId: string() });
13473
13473
  method(_void(), DeviceExportStatusSchema), method(_void(), array(DeviceKindSchema)), method(_void(), array(ExposedDeviceSchema)), method(ExposeInputSchema, _void(), { kind: "mutation" }), method(UnexposeInputSchema, _void(), { kind: "mutation" });
13474
+ /** Wire/storage schema for one icon id. */
13475
+ var LocationIconIdSchema = _enum([
13476
+ "map-pin",
13477
+ "house",
13478
+ "door-open",
13479
+ "sofa",
13480
+ "utensils",
13481
+ "bed-double",
13482
+ "bath",
13483
+ "briefcase",
13484
+ "car",
13485
+ "circle-parking",
13486
+ "route",
13487
+ "trees",
13488
+ "umbrella",
13489
+ "waves-ladder",
13490
+ "fence",
13491
+ "package",
13492
+ "warehouse",
13493
+ "store",
13494
+ "sun",
13495
+ "radar"
13496
+ ]);
13497
+ /**
13498
+ * One (location, icon) assignment as it travels.
13499
+ *
13500
+ * `locationKey` is ALWAYS {@link locationIconKey} of the label — never the
13501
+ * operator's casing. The registry matches labels trimmed + case-insensitively
13502
+ * everywhere (`addLocation`, `removeLocation`, `renameLocation`), and a
13503
+ * case-only rename (`cucina` → `Cucina`) is a real edit this repo supports; a
13504
+ * map keyed on the displayed casing would orphan its entry on exactly that
13505
+ * edit. Consumers join by keying their own label through `locationIconKey`.
13506
+ */
13507
+ var LocationIconAssignmentSchema = object({
13508
+ locationKey: string(),
13509
+ icon: LocationIconIdSchema
13510
+ });
13474
13511
  var ProviderStatusSchema = object({
13475
13512
  connected: boolean(),
13476
13513
  deviceCount: number$1(),
@@ -13982,6 +14019,12 @@ method(object({
13982
14019
  }), object({ moved: number$1() }), {
13983
14020
  kind: "mutation",
13984
14021
  auth: "admin"
14022
+ }), method(_void(), array(LocationIconAssignmentSchema)), method(object({
14023
+ location: string(),
14024
+ icon: LocationIconIdSchema.nullable()
14025
+ }), _void(), {
14026
+ kind: "mutation",
14027
+ auth: "admin"
13985
14028
  }), method(object({
13986
14029
  deviceId: number$1(),
13987
14030
  disabled: boolean()
@@ -19972,6 +20015,7 @@ var MediaFileKindEnum = _enum([
19972
20015
  "keyFrame",
19973
20016
  "keyFrameSmall",
19974
20017
  "thumbnailSmall",
20018
+ "confirmationCrop",
19975
20019
  "sceneFrame"
19976
20020
  ]);
19977
20021
  /**
@@ -32898,6 +32942,12 @@ Object.freeze({
32898
32942
  addonId: null,
32899
32943
  access: "view"
32900
32944
  },
32945
+ "deviceManager.listLocationIcons": {
32946
+ capName: "device-manager",
32947
+ capScope: "system",
32948
+ addonId: null,
32949
+ access: "view"
32950
+ },
32901
32951
  "deviceManager.listLocations": {
32902
32952
  capName: "device-manager",
32903
32953
  capScope: "system",
@@ -33042,6 +33092,12 @@ Object.freeze({
33042
33092
  addonId: null,
33043
33093
  access: "create"
33044
33094
  },
33095
+ "deviceManager.setLocationIcon": {
33096
+ capName: "device-manager",
33097
+ capScope: "system",
33098
+ addonId: null,
33099
+ access: "create"
33100
+ },
33045
33101
  "deviceManager.setMetadata": {
33046
33102
  capName: "device-manager",
33047
33103
  capScope: "system",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-ai",
3
- "version": "0.4.109",
3
+ "version": "0.4.111",
4
4
  "description": "AI addon for CamStack — the `llm` collection provider (cloud, LAN, and camstack-managed local llama.cpp profiles) plus the per-node `llm-runtime` managed executor.",
5
5
  "keywords": [
6
6
  "camstack",