@camstack/addon-agent-ui 1.2.192 → 1.2.193
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 +126 -2
- package/package.json +1 -1
package/dist/addon.js
CHANGED
|
@@ -5378,7 +5378,7 @@ var ZodIssueCode = {
|
|
|
5378
5378
|
var ZodFirstPartyTypeKind;
|
|
5379
5379
|
ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
|
|
5380
5380
|
//#endregion
|
|
5381
|
-
//#region ../types/dist/sleep-
|
|
5381
|
+
//#region ../types/dist/sleep-DujUvOcb.mjs
|
|
5382
5382
|
/**
|
|
5383
5383
|
* The audio chunk plane's byte format, and the ONE expansion from a coded
|
|
5384
5384
|
* window to float samples (D455).
|
|
@@ -23027,6 +23027,9 @@ var RetrainExportFilterSchema = object({
|
|
|
23027
23027
|
frameIds: array(string()).max(2e4).optional(),
|
|
23028
23028
|
/** Only frames in at least one of these named collections. */
|
|
23029
23029
|
collectionIds: array(string()).max(200).optional(),
|
|
23030
|
+
/** Exactly the frames of this dataset version (and its completeOnly). An
|
|
23031
|
+
* unknown id selects nothing. */
|
|
23032
|
+
datasetVersionId: string().optional(),
|
|
23030
23033
|
batchId: string().optional(),
|
|
23031
23034
|
/** Only frames the operator marked complete (all subjects boxed). */
|
|
23032
23035
|
completeOnly: boolean().optional()
|
|
@@ -23194,6 +23197,67 @@ var RetrainLlmAssistResultSchema = discriminatedUnion("kind", [object({
|
|
|
23194
23197
|
]),
|
|
23195
23198
|
detail: string().optional()
|
|
23196
23199
|
})]);
|
|
23200
|
+
/** What a dataset version is cut from. Every field narrows. */
|
|
23201
|
+
var RetrainDatasetSelectionSchema = object({
|
|
23202
|
+
deviceIds: array(number()).readonly().optional(),
|
|
23203
|
+
collectionIds: array(string()).max(200).readonly().optional(),
|
|
23204
|
+
frameIds: array(string()).max(2e4).readonly().optional()
|
|
23205
|
+
});
|
|
23206
|
+
/** The counts a dataset is judged by. */
|
|
23207
|
+
var RetrainDatasetStatsSchema = object({
|
|
23208
|
+
frames: number().int(),
|
|
23209
|
+
completeFrames: number().int(),
|
|
23210
|
+
/** `completeFrames / frames`, 0..1. */
|
|
23211
|
+
completeness: number(),
|
|
23212
|
+
/** Boxes to learn (model errors excluded). */
|
|
23213
|
+
subjects: number().int(),
|
|
23214
|
+
modelErrors: number().int(),
|
|
23215
|
+
/** Complete frames with no subject. */
|
|
23216
|
+
hardNegatives: number().int(),
|
|
23217
|
+
/** Subjects per class × camera × day/night. */
|
|
23218
|
+
cells: array(object({
|
|
23219
|
+
macroClass: string(),
|
|
23220
|
+
deviceId: number(),
|
|
23221
|
+
lighting: _enum([
|
|
23222
|
+
"day",
|
|
23223
|
+
"night",
|
|
23224
|
+
"unknown"
|
|
23225
|
+
]),
|
|
23226
|
+
subjects: number().int(),
|
|
23227
|
+
frames: number().int()
|
|
23228
|
+
})).readonly(),
|
|
23229
|
+
cameras: array(object({
|
|
23230
|
+
deviceId: number(),
|
|
23231
|
+
frames: number().int(),
|
|
23232
|
+
completeFrames: number().int()
|
|
23233
|
+
})).readonly()
|
|
23234
|
+
});
|
|
23235
|
+
/** An immutable dataset version, without its frame list. */
|
|
23236
|
+
var RetrainDatasetVersionSchema = object({
|
|
23237
|
+
id: string(),
|
|
23238
|
+
name: string(),
|
|
23239
|
+
createdAt: number(),
|
|
23240
|
+
selection: RetrainDatasetSelectionSchema,
|
|
23241
|
+
layout: RetrainExportLayoutSchema,
|
|
23242
|
+
completeOnly: boolean(),
|
|
23243
|
+
frameCount: number().int(),
|
|
23244
|
+
/** sha256 of what the frames taught when the version was frozen. */
|
|
23245
|
+
annotationHash: string(),
|
|
23246
|
+
/** The export manifest schema the version was cut under. */
|
|
23247
|
+
manifestSchema: string(),
|
|
23248
|
+
stats: RetrainDatasetStatsSchema
|
|
23249
|
+
});
|
|
23250
|
+
var CreateRetrainDatasetVersionResultSchema = discriminatedUnion("kind", [object({
|
|
23251
|
+
kind: literal("created"),
|
|
23252
|
+
version: RetrainDatasetVersionSchema
|
|
23253
|
+
}), object({
|
|
23254
|
+
kind: literal("refused"),
|
|
23255
|
+
reason: _enum([
|
|
23256
|
+
"empty-name",
|
|
23257
|
+
"duplicate-name",
|
|
23258
|
+
"no-frames"
|
|
23259
|
+
])
|
|
23260
|
+
})]);
|
|
23197
23261
|
/** The outcome of a lifecycle move owned by the retrain page. */
|
|
23198
23262
|
var RetrainTransitionResultSchema = object({
|
|
23199
23263
|
trackId: string(),
|
|
@@ -23983,6 +24047,36 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
|
|
|
23983
24047
|
kind: "mutation",
|
|
23984
24048
|
auth: "admin",
|
|
23985
24049
|
timeoutMs: 60 * 6e4
|
|
24050
|
+
}), method(object({
|
|
24051
|
+
selection: RetrainDatasetSelectionSchema,
|
|
24052
|
+
completeOnly: boolean().optional()
|
|
24053
|
+
}), RetrainDatasetStatsSchema, {
|
|
24054
|
+
kind: "query",
|
|
24055
|
+
auth: "admin"
|
|
24056
|
+
}), method(object({
|
|
24057
|
+
name: string().max(120),
|
|
24058
|
+
selection: RetrainDatasetSelectionSchema,
|
|
24059
|
+
layout: RetrainExportLayoutSchema,
|
|
24060
|
+
completeOnly: boolean()
|
|
24061
|
+
}), CreateRetrainDatasetVersionResultSchema, {
|
|
24062
|
+
kind: "mutation",
|
|
24063
|
+
auth: "admin",
|
|
24064
|
+
timeoutMs: 12e4
|
|
24065
|
+
}), method(object({}), array(RetrainDatasetVersionSchema).readonly(), {
|
|
24066
|
+
kind: "query",
|
|
24067
|
+
auth: "admin"
|
|
24068
|
+
}), method(object({ id: string() }), object({ deleted: boolean() }), {
|
|
24069
|
+
kind: "mutation",
|
|
24070
|
+
auth: "admin"
|
|
24071
|
+
}), method(object({ id: string() }), object({
|
|
24072
|
+
found: boolean(),
|
|
24073
|
+
annotationHash: string(),
|
|
24074
|
+
matches: boolean(),
|
|
24075
|
+
missingFrames: number().int()
|
|
24076
|
+
}), {
|
|
24077
|
+
kind: "query",
|
|
24078
|
+
auth: "admin",
|
|
24079
|
+
timeoutMs: 12e4
|
|
23986
24080
|
}), method(object({}), array(RetrainAssistProfileSchema).readonly(), {
|
|
23987
24081
|
kind: "query",
|
|
23988
24082
|
auth: "admin"
|
|
@@ -42454,6 +42548,12 @@ Object.freeze({
|
|
|
42454
42548
|
addonId: null,
|
|
42455
42549
|
access: "create"
|
|
42456
42550
|
},
|
|
42551
|
+
"pipelineAnalytics.createRetrainDatasetVersion": {
|
|
42552
|
+
capName: "pipeline-analytics",
|
|
42553
|
+
capScope: "device",
|
|
42554
|
+
addonId: null,
|
|
42555
|
+
access: "create"
|
|
42556
|
+
},
|
|
42457
42557
|
"pipelineAnalytics.deleteDeviceEvents": {
|
|
42458
42558
|
capName: "pipeline-analytics",
|
|
42459
42559
|
capScope: "device",
|
|
@@ -42466,6 +42566,12 @@ Object.freeze({
|
|
|
42466
42566
|
addonId: null,
|
|
42467
42567
|
access: "delete"
|
|
42468
42568
|
},
|
|
42569
|
+
"pipelineAnalytics.deleteRetrainDatasetVersion": {
|
|
42570
|
+
capName: "pipeline-analytics",
|
|
42571
|
+
capScope: "device",
|
|
42572
|
+
addonId: null,
|
|
42573
|
+
access: "delete"
|
|
42574
|
+
},
|
|
42469
42575
|
"pipelineAnalytics.deleteTracks": {
|
|
42470
42576
|
capName: "pipeline-analytics",
|
|
42471
42577
|
capScope: "device",
|
|
@@ -42688,6 +42794,12 @@ Object.freeze({
|
|
|
42688
42794
|
addonId: null,
|
|
42689
42795
|
access: "view"
|
|
42690
42796
|
},
|
|
42797
|
+
"pipelineAnalytics.listRetrainDatasetVersions": {
|
|
42798
|
+
capName: "pipeline-analytics",
|
|
42799
|
+
capScope: "device",
|
|
42800
|
+
addonId: null,
|
|
42801
|
+
access: "view"
|
|
42802
|
+
},
|
|
42691
42803
|
"pipelineAnalytics.listRetrainFrames": {
|
|
42692
42804
|
capName: "pipeline-analytics",
|
|
42693
42805
|
capScope: "device",
|
|
@@ -42730,6 +42842,12 @@ Object.freeze({
|
|
|
42730
42842
|
addonId: null,
|
|
42731
42843
|
access: "create"
|
|
42732
42844
|
},
|
|
42845
|
+
"pipelineAnalytics.previewRetrainDataset": {
|
|
42846
|
+
capName: "pipeline-analytics",
|
|
42847
|
+
capScope: "device",
|
|
42848
|
+
addonId: null,
|
|
42849
|
+
access: "view"
|
|
42850
|
+
},
|
|
42733
42851
|
"pipelineAnalytics.proposeRetrainAnnotations": {
|
|
42734
42852
|
capName: "pipeline-analytics",
|
|
42735
42853
|
capScope: "device",
|
|
@@ -42868,6 +42986,12 @@ Object.freeze({
|
|
|
42868
42986
|
addonId: null,
|
|
42869
42987
|
access: "create"
|
|
42870
42988
|
},
|
|
42989
|
+
"pipelineAnalytics.verifyRetrainDatasetVersion": {
|
|
42990
|
+
capName: "pipeline-analytics",
|
|
42991
|
+
capScope: "device",
|
|
42992
|
+
addonId: null,
|
|
42993
|
+
access: "view"
|
|
42994
|
+
},
|
|
42871
42995
|
"pipelineAnalytics.wipeAllAnalytics": {
|
|
42872
42996
|
capName: "pipeline-analytics",
|
|
42873
42997
|
capScope: "device",
|
|
@@ -50837,7 +50961,7 @@ var AgentUIAddon = class extends BaseAddon {
|
|
|
50837
50961
|
capability: adminUiCapability,
|
|
50838
50962
|
provider: {
|
|
50839
50963
|
getStaticDir: async () => ({ staticDir: path.resolve(__dirname) }),
|
|
50840
|
-
getVersion: async () => ({ version: "1.2.
|
|
50964
|
+
getVersion: async () => ({ version: "1.2.193" })
|
|
50841
50965
|
}
|
|
50842
50966
|
}];
|
|
50843
50967
|
}
|