@camstack/addon-provider-tuya 0.1.1 → 0.1.2

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
@@ -17916,7 +17916,10 @@ var AgentLoadSummarySchema = object({
17916
17916
  online: boolean(),
17917
17917
  load: RunnerLocalLoadSchema,
17918
17918
  /** Computed score used by the L2 capacity balancer (lower = less loaded). */
17919
- score: number()
17919
+ score: number(),
17920
+ /** This node's decode hwaccel backend (per-node `probedBestHwaccel`), or null
17921
+ * when not yet probed — for the cluster Pipeline table UI (P0.2). */
17922
+ decodeHwaccel: string().nullable()
17920
17923
  });
17921
17924
  /**
17922
17925
  * Aggregate metrics across the whole detection cluster. Replaces the legacy
@@ -20452,7 +20455,7 @@ var HardwareEncoderIdSchema = _enum([
20452
20455
  "libx264",
20453
20456
  "libx265"
20454
20457
  ]);
20455
- var HardwareEncodersSchema = object({
20458
+ object({
20456
20459
  encoders: array(object({
20457
20460
  encoder: HardwareEncoderIdSchema,
20458
20461
  codec: _enum(["H264", "H265"]),
@@ -20471,15 +20474,7 @@ var HardwareEncodersSchema = object({
20471
20474
  defaultH265: HardwareEncoderIdSchema,
20472
20475
  probedAt: number()
20473
20476
  });
20474
- /**
20475
- * Decode-side companion to {@link HardwareEncodersSchema}: the `-hwaccel`
20476
- * methods the configured ffmpeg binary actually supports (parsed from
20477
- * `ffmpeg -hwaccels`). Used to gate decode-hwaccel attempts so the transcode
20478
- * egress never spends a spawn on a backend this build cannot offer. Per-stream
20479
- * decode fragility (e.g. VideoToolbox HEVC) is still handled by the egress's
20480
- * software fallback — this only filters out wholly-unsupported backends.
20481
- */
20482
- var HardwareDecodeAccelsSchema = object({
20477
+ object({
20483
20478
  methods: array(string()).readonly(),
20484
20479
  probedAt: number()
20485
20480
  });
@@ -20542,13 +20537,7 @@ var ResolvedInferenceConfigSchema = object({
20542
20537
  format: ModelFormatSchema,
20543
20538
  reason: string()
20544
20539
  });
20545
- method(_void(), PlatformCapabilitiesSchema), method(_void(), HardwareInfoSchema), method(object({ requirements: array(ModelRequirementSchema).readonly() }), ResolvedInferenceConfigSchema), method(object({ prefer: HwAccelBackendInputSchema }), HwAccelResolutionSchema), method(_void(), HardwareEncodersSchema), method(_void(), HardwareEncodersSchema, {
20546
- kind: "mutation",
20547
- auth: "admin"
20548
- }), method(_void(), HardwareDecodeAccelsSchema), method(_void(), HardwareDecodeAccelsSchema, {
20549
- kind: "mutation",
20550
- auth: "admin"
20551
- });
20540
+ method(_void(), PlatformCapabilitiesSchema), method(_void(), HardwareInfoSchema), method(object({ requirements: array(ModelRequirementSchema).readonly() }), ResolvedInferenceConfigSchema), method(object({ prefer: HwAccelBackendInputSchema }), HwAccelResolutionSchema);
20552
20541
  var PtzPresetSchema = object({
20553
20542
  id: string(),
20554
20543
  name: string()
@@ -24173,30 +24162,6 @@ Object.freeze({
24173
24162
  addonId: null,
24174
24163
  access: "view"
24175
24164
  },
24176
- "platformProbe.getHardwareDecodeAccels": {
24177
- capName: "platform-probe",
24178
- capScope: "system",
24179
- addonId: null,
24180
- access: "view"
24181
- },
24182
- "platformProbe.getHardwareEncoders": {
24183
- capName: "platform-probe",
24184
- capScope: "system",
24185
- addonId: null,
24186
- access: "view"
24187
- },
24188
- "platformProbe.refreshHardwareDecodeAccels": {
24189
- capName: "platform-probe",
24190
- capScope: "system",
24191
- addonId: null,
24192
- access: "create"
24193
- },
24194
- "platformProbe.refreshHardwareEncoders": {
24195
- capName: "platform-probe",
24196
- capScope: "system",
24197
- addonId: null,
24198
- access: "create"
24199
- },
24200
24165
  "platformProbe.resolveHwAccel": {
24201
24166
  capName: "platform-probe",
24202
24167
  capScope: "system",
package/dist/addon.mjs CHANGED
@@ -17915,7 +17915,10 @@ var AgentLoadSummarySchema = object({
17915
17915
  online: boolean(),
17916
17916
  load: RunnerLocalLoadSchema,
17917
17917
  /** Computed score used by the L2 capacity balancer (lower = less loaded). */
17918
- score: number()
17918
+ score: number(),
17919
+ /** This node's decode hwaccel backend (per-node `probedBestHwaccel`), or null
17920
+ * when not yet probed — for the cluster Pipeline table UI (P0.2). */
17921
+ decodeHwaccel: string().nullable()
17919
17922
  });
17920
17923
  /**
17921
17924
  * Aggregate metrics across the whole detection cluster. Replaces the legacy
@@ -20451,7 +20454,7 @@ var HardwareEncoderIdSchema = _enum([
20451
20454
  "libx264",
20452
20455
  "libx265"
20453
20456
  ]);
20454
- var HardwareEncodersSchema = object({
20457
+ object({
20455
20458
  encoders: array(object({
20456
20459
  encoder: HardwareEncoderIdSchema,
20457
20460
  codec: _enum(["H264", "H265"]),
@@ -20470,15 +20473,7 @@ var HardwareEncodersSchema = object({
20470
20473
  defaultH265: HardwareEncoderIdSchema,
20471
20474
  probedAt: number()
20472
20475
  });
20473
- /**
20474
- * Decode-side companion to {@link HardwareEncodersSchema}: the `-hwaccel`
20475
- * methods the configured ffmpeg binary actually supports (parsed from
20476
- * `ffmpeg -hwaccels`). Used to gate decode-hwaccel attempts so the transcode
20477
- * egress never spends a spawn on a backend this build cannot offer. Per-stream
20478
- * decode fragility (e.g. VideoToolbox HEVC) is still handled by the egress's
20479
- * software fallback — this only filters out wholly-unsupported backends.
20480
- */
20481
- var HardwareDecodeAccelsSchema = object({
20476
+ object({
20482
20477
  methods: array(string()).readonly(),
20483
20478
  probedAt: number()
20484
20479
  });
@@ -20541,13 +20536,7 @@ var ResolvedInferenceConfigSchema = object({
20541
20536
  format: ModelFormatSchema,
20542
20537
  reason: string()
20543
20538
  });
20544
- method(_void(), PlatformCapabilitiesSchema), method(_void(), HardwareInfoSchema), method(object({ requirements: array(ModelRequirementSchema).readonly() }), ResolvedInferenceConfigSchema), method(object({ prefer: HwAccelBackendInputSchema }), HwAccelResolutionSchema), method(_void(), HardwareEncodersSchema), method(_void(), HardwareEncodersSchema, {
20545
- kind: "mutation",
20546
- auth: "admin"
20547
- }), method(_void(), HardwareDecodeAccelsSchema), method(_void(), HardwareDecodeAccelsSchema, {
20548
- kind: "mutation",
20549
- auth: "admin"
20550
- });
20539
+ method(_void(), PlatformCapabilitiesSchema), method(_void(), HardwareInfoSchema), method(object({ requirements: array(ModelRequirementSchema).readonly() }), ResolvedInferenceConfigSchema), method(object({ prefer: HwAccelBackendInputSchema }), HwAccelResolutionSchema);
20551
20540
  var PtzPresetSchema = object({
20552
20541
  id: string(),
20553
20542
  name: string()
@@ -24172,30 +24161,6 @@ Object.freeze({
24172
24161
  addonId: null,
24173
24162
  access: "view"
24174
24163
  },
24175
- "platformProbe.getHardwareDecodeAccels": {
24176
- capName: "platform-probe",
24177
- capScope: "system",
24178
- addonId: null,
24179
- access: "view"
24180
- },
24181
- "platformProbe.getHardwareEncoders": {
24182
- capName: "platform-probe",
24183
- capScope: "system",
24184
- addonId: null,
24185
- access: "view"
24186
- },
24187
- "platformProbe.refreshHardwareDecodeAccels": {
24188
- capName: "platform-probe",
24189
- capScope: "system",
24190
- addonId: null,
24191
- access: "create"
24192
- },
24193
- "platformProbe.refreshHardwareEncoders": {
24194
- capName: "platform-probe",
24195
- capScope: "system",
24196
- addonId: null,
24197
- access: "create"
24198
- },
24199
24164
  "platformProbe.resolveHwAccel": {
24200
24165
  capName: "platform-probe",
24201
24166
  capScope: "system",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-provider-tuya",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "description": "Tuya / Smart Life device-provider addon for CamStack — account-onboarded (Tuya IoT cloud fetch of device localKeys) + LOCAL DP control via the @apocaliss92/nodetuya encrypted-LAN client, exposing switch / water-heater-family kettle entities",
5
5
  "keywords": [
6
6
  "camstack",