@camstack/addon-ai 0.4.110 → 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 +55 -0
- package/dist/addon.mjs +55 -0
- package/package.json +1 -1
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()
|
|
@@ -32872,6 +32915,12 @@ Object.freeze({
|
|
|
32872
32915
|
addonId: null,
|
|
32873
32916
|
access: "view"
|
|
32874
32917
|
},
|
|
32918
|
+
"deviceManager.listLocationIcons": {
|
|
32919
|
+
capName: "device-manager",
|
|
32920
|
+
capScope: "system",
|
|
32921
|
+
addonId: null,
|
|
32922
|
+
access: "view"
|
|
32923
|
+
},
|
|
32875
32924
|
"deviceManager.listLocations": {
|
|
32876
32925
|
capName: "device-manager",
|
|
32877
32926
|
capScope: "system",
|
|
@@ -33016,6 +33065,12 @@ Object.freeze({
|
|
|
33016
33065
|
addonId: null,
|
|
33017
33066
|
access: "create"
|
|
33018
33067
|
},
|
|
33068
|
+
"deviceManager.setLocationIcon": {
|
|
33069
|
+
capName: "device-manager",
|
|
33070
|
+
capScope: "system",
|
|
33071
|
+
addonId: null,
|
|
33072
|
+
access: "create"
|
|
33073
|
+
},
|
|
33019
33074
|
"deviceManager.setMetadata": {
|
|
33020
33075
|
capName: "device-manager",
|
|
33021
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()
|
|
@@ -32899,6 +32942,12 @@ Object.freeze({
|
|
|
32899
32942
|
addonId: null,
|
|
32900
32943
|
access: "view"
|
|
32901
32944
|
},
|
|
32945
|
+
"deviceManager.listLocationIcons": {
|
|
32946
|
+
capName: "device-manager",
|
|
32947
|
+
capScope: "system",
|
|
32948
|
+
addonId: null,
|
|
32949
|
+
access: "view"
|
|
32950
|
+
},
|
|
32902
32951
|
"deviceManager.listLocations": {
|
|
32903
32952
|
capName: "device-manager",
|
|
32904
32953
|
capScope: "system",
|
|
@@ -33043,6 +33092,12 @@ Object.freeze({
|
|
|
33043
33092
|
addonId: null,
|
|
33044
33093
|
access: "create"
|
|
33045
33094
|
},
|
|
33095
|
+
"deviceManager.setLocationIcon": {
|
|
33096
|
+
capName: "device-manager",
|
|
33097
|
+
capScope: "system",
|
|
33098
|
+
addonId: null,
|
|
33099
|
+
access: "create"
|
|
33100
|
+
},
|
|
33046
33101
|
"deviceManager.setMetadata": {
|
|
33047
33102
|
capName: "device-manager",
|
|
33048
33103
|
capScope: "system",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@camstack/addon-ai",
|
|
3
|
-
"version": "0.4.
|
|
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",
|