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