@camstack/server 1.2.902 → 1.2.903

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/CHANGELOG.md CHANGED
@@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [1.2.903] - 2026-11-18
11
+
12
+ ### Changed
13
+
14
+ - A forked addon can ask for a device with its bindings freshly read, so a capability added after boot is no longer missed
15
+
10
16
  ## [1.2.902] - 2026-11-18
11
17
 
12
18
  ### Fixed
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/server",
3
- "version": "1.2.902",
3
+ "version": "1.2.903",
4
4
  "license": "MIT",
5
5
  "repository": {
6
6
  "type": "git",
@@ -66,14 +66,10 @@
66
66
  ],
67
67
  "requires": {
68
68
  "addons": {
69
- "@camstack/addon-admin-ui": ">=1.2.700",
70
- "@camstack/addon-agent-ui": ">=1.2.410",
71
- "@camstack/addon-pipeline": ">=1.2.663",
72
- "@camstack/addon-pipeline-orchestrator": ">=1.2.702",
73
- "@camstack/addon-post-analysis": ">=1.2.717",
74
- "@camstack/addon-provider-unifi": ">=0.2.171",
75
- "@camstack/addon-provider-unraid": ">=0.2.173",
76
- "@camstack/addon-provider-vesync": ">=0.2.168"
69
+ "@camstack/addon-admin-ui": ">=1.2.701",
70
+ "@camstack/addon-export-hap": ">=1.2.208",
71
+ "@camstack/addon-pipeline": ">=1.2.665",
72
+ "@camstack/addon-pipeline-orchestrator": ">=1.2.704"
77
73
  },
78
74
  "wrapper": {
79
75
  "desktop": ">=0.0.1",
@@ -82,18 +78,18 @@
82
78
  }
83
79
  },
84
80
  "dependencies": {
85
- "@camstack/addon-admin-ui": "1.2.700",
81
+ "@camstack/addon-admin-ui": "1.2.701",
86
82
  "@camstack/addon-agent-ui": "1.2.410",
87
83
  "@camstack/addon-auth": "1.2.182",
88
84
  "@camstack/addon-benchmark": "1.2.313",
89
85
  "@camstack/addon-decoder-nodeav": "1.2.149",
90
86
  "@camstack/addon-notifiers": "1.2.639",
91
- "@camstack/addon-pipeline": "1.2.663",
92
- "@camstack/addon-pipeline-orchestrator": "1.2.702",
87
+ "@camstack/addon-pipeline": "1.2.665",
88
+ "@camstack/addon-pipeline-orchestrator": "1.2.704",
93
89
  "@camstack/addon-post-analysis": "1.2.717",
94
90
  "@camstack/develop": "0.1.54",
95
91
  "@camstack/sdk": "1.2.159",
96
- "@camstack/types": "1.2.595",
92
+ "@camstack/types": "1.2.596",
97
93
  "@camstack/ui-library": "1.2.471",
98
94
  "@fastify/compress": "^9.0.0",
99
95
  "@fastify/cookie": "^11.0.2",
@@ -11685,8 +11685,8 @@ async function buildAddonContext(runtime, declaration, dataDir, options) {
11685
11685
  bypassWrapper: true
11686
11686
  });
11687
11687
  },
11688
- fetchDevice: async (deviceId) => {
11689
- const cached = bindingCache.get(deviceId);
11688
+ fetchDevice: async (deviceId, options) => {
11689
+ const cached = options?.fresh === true ? void 0 : bindingCache.get(deviceId);
11690
11690
  if (cached) return (0, _camstack_types_addon.createDeviceProxy)(api, cached, { stateSource: deviceSliceSource });
11691
11691
  const binding = await api.deviceManager.getBindings.query({ deviceId });
11692
11692
  bindingCache.set(deviceId, binding);
@@ -11630,8 +11630,8 @@ async function buildAddonContext(runtime, declaration, dataDir, options) {
11630
11630
  bypassWrapper: true
11631
11631
  });
11632
11632
  },
11633
- fetchDevice: async (deviceId) => {
11634
- const cached = bindingCache.get(deviceId);
11633
+ fetchDevice: async (deviceId, options) => {
11634
+ const cached = options?.fresh === true ? void 0 : bindingCache.get(deviceId);
11635
11635
  if (cached) return createDeviceProxy(api, cached, { stateSource: deviceSliceSource });
11636
11636
  const binding = await api.deviceManager.getBindings.query({ deviceId });
11637
11637
  bindingCache.set(deviceId, binding);
@@ -22309,8 +22309,8 @@ async function buildAddonContext(runtime, declaration, dataDir, options) {
22309
22309
  bypassWrapper: true
22310
22310
  });
22311
22311
  },
22312
- fetchDevice: async (deviceId) => {
22313
- const cached = bindingCache.get(deviceId);
22312
+ fetchDevice: async (deviceId, options) => {
22313
+ const cached = options?.fresh === true ? void 0 : bindingCache.get(deviceId);
22314
22314
  if (cached) return (0, _camstack_types_addon.createDeviceProxy)(api, cached, { stateSource: deviceSliceSource });
22315
22315
  const binding = await api.deviceManager.getBindings.query({ deviceId });
22316
22316
  bindingCache.set(deviceId, binding);
@@ -22305,8 +22305,8 @@ async function buildAddonContext(runtime, declaration, dataDir, options) {
22305
22305
  bypassWrapper: true
22306
22306
  });
22307
22307
  },
22308
- fetchDevice: async (deviceId) => {
22309
- const cached = bindingCache.get(deviceId);
22308
+ fetchDevice: async (deviceId, options) => {
22309
+ const cached = options?.fresh === true ? void 0 : bindingCache.get(deviceId);
22310
22310
  if (cached) return createDeviceProxy(api, cached, { stateSource: deviceSliceSource });
22311
22311
  const binding = await api.deviceManager.getBindings.query({ deviceId });
22312
22312
  bindingCache.set(deviceId, binding);
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/server",
3
- "version": "1.2.902",
3
+ "version": "1.2.903",
4
4
  "description": "CamStack builtins — shipped inside @camstack/server (generated, do not edit)",
5
5
  "license": "MIT",
6
6
  "camstack": {