@camstack/addon-agent-ui 1.2.192 → 1.2.194
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 +151 -3
- 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).
|
|
@@ -14790,6 +14790,14 @@ var KeychainAuditEntrySchema = object({
|
|
|
14790
14790
|
ref: string().nullable(),
|
|
14791
14791
|
detail: string().nullable()
|
|
14792
14792
|
});
|
|
14793
|
+
var KEYCHAIN_RESET_CONFIRMATION = "RESET KEYCHAIN";
|
|
14794
|
+
/**
|
|
14795
|
+
* Secrets the HUB itself holds (owner `system`) that no settings form shows:
|
|
14796
|
+
* `jwt-signing-key` — the session signing key (D797). It is always "in use",
|
|
14797
|
+
* never an orphan; it is generated on a fresh hub and replaced only through
|
|
14798
|
+
* {@link keychainAdminCapability.methods.setSystemSecret}.
|
|
14799
|
+
*/
|
|
14800
|
+
var SystemHeldSecretNameSchema = _enum(["jwt-signing-key"]);
|
|
14793
14801
|
method(object({}), KeychainStatusSchema, { auth: "admin" }), method(object({}), array(KeychainAdminSecretSchema).readonly(), { auth: "admin" }), method(object({ limit: number().int().min(1).max(500).optional() }), array(KeychainAuditEntrySchema).readonly(), { auth: "admin" }), method(object({ ref: string().min(1) }), object({
|
|
14794
14802
|
value: string(),
|
|
14795
14803
|
version: number().int()
|
|
@@ -14797,6 +14805,16 @@ method(object({}), KeychainStatusSchema, { auth: "admin" }), method(object({}),
|
|
|
14797
14805
|
kind: "mutation",
|
|
14798
14806
|
auth: "admin",
|
|
14799
14807
|
caller: "required"
|
|
14808
|
+
}), method(object({
|
|
14809
|
+
name: SystemHeldSecretNameSchema,
|
|
14810
|
+
value: string().min(16)
|
|
14811
|
+
}), object({
|
|
14812
|
+
ref: string(),
|
|
14813
|
+
version: number().int()
|
|
14814
|
+
}), {
|
|
14815
|
+
kind: "mutation",
|
|
14816
|
+
auth: "admin",
|
|
14817
|
+
caller: "required"
|
|
14800
14818
|
}), method(object({ refs: array(string().min(1)).max(1e3) }), object({
|
|
14801
14819
|
deleted: array(string()).readonly(),
|
|
14802
14820
|
kept: array(object({
|
|
@@ -14826,7 +14844,7 @@ method(object({}), KeychainStatusSchema, { auth: "admin" }), method(object({}),
|
|
|
14826
14844
|
kind: "mutation",
|
|
14827
14845
|
auth: "admin",
|
|
14828
14846
|
caller: "required"
|
|
14829
|
-
}), method(object({ confirm: literal(
|
|
14847
|
+
}), method(object({ confirm: literal(KEYCHAIN_RESET_CONFIRMATION) }), object({
|
|
14830
14848
|
archivedCollection: string().nullable(),
|
|
14831
14849
|
archived: number().int()
|
|
14832
14850
|
}), {
|
|
@@ -23027,6 +23045,9 @@ var RetrainExportFilterSchema = object({
|
|
|
23027
23045
|
frameIds: array(string()).max(2e4).optional(),
|
|
23028
23046
|
/** Only frames in at least one of these named collections. */
|
|
23029
23047
|
collectionIds: array(string()).max(200).optional(),
|
|
23048
|
+
/** Exactly the frames of this dataset version (and its completeOnly). An
|
|
23049
|
+
* unknown id selects nothing. */
|
|
23050
|
+
datasetVersionId: string().optional(),
|
|
23030
23051
|
batchId: string().optional(),
|
|
23031
23052
|
/** Only frames the operator marked complete (all subjects boxed). */
|
|
23032
23053
|
completeOnly: boolean().optional()
|
|
@@ -23194,6 +23215,67 @@ var RetrainLlmAssistResultSchema = discriminatedUnion("kind", [object({
|
|
|
23194
23215
|
]),
|
|
23195
23216
|
detail: string().optional()
|
|
23196
23217
|
})]);
|
|
23218
|
+
/** What a dataset version is cut from. Every field narrows. */
|
|
23219
|
+
var RetrainDatasetSelectionSchema = object({
|
|
23220
|
+
deviceIds: array(number()).readonly().optional(),
|
|
23221
|
+
collectionIds: array(string()).max(200).readonly().optional(),
|
|
23222
|
+
frameIds: array(string()).max(2e4).readonly().optional()
|
|
23223
|
+
});
|
|
23224
|
+
/** The counts a dataset is judged by. */
|
|
23225
|
+
var RetrainDatasetStatsSchema = object({
|
|
23226
|
+
frames: number().int(),
|
|
23227
|
+
completeFrames: number().int(),
|
|
23228
|
+
/** `completeFrames / frames`, 0..1. */
|
|
23229
|
+
completeness: number(),
|
|
23230
|
+
/** Boxes to learn (model errors excluded). */
|
|
23231
|
+
subjects: number().int(),
|
|
23232
|
+
modelErrors: number().int(),
|
|
23233
|
+
/** Complete frames with no subject. */
|
|
23234
|
+
hardNegatives: number().int(),
|
|
23235
|
+
/** Subjects per class × camera × day/night. */
|
|
23236
|
+
cells: array(object({
|
|
23237
|
+
macroClass: string(),
|
|
23238
|
+
deviceId: number(),
|
|
23239
|
+
lighting: _enum([
|
|
23240
|
+
"day",
|
|
23241
|
+
"night",
|
|
23242
|
+
"unknown"
|
|
23243
|
+
]),
|
|
23244
|
+
subjects: number().int(),
|
|
23245
|
+
frames: number().int()
|
|
23246
|
+
})).readonly(),
|
|
23247
|
+
cameras: array(object({
|
|
23248
|
+
deviceId: number(),
|
|
23249
|
+
frames: number().int(),
|
|
23250
|
+
completeFrames: number().int()
|
|
23251
|
+
})).readonly()
|
|
23252
|
+
});
|
|
23253
|
+
/** An immutable dataset version, without its frame list. */
|
|
23254
|
+
var RetrainDatasetVersionSchema = object({
|
|
23255
|
+
id: string(),
|
|
23256
|
+
name: string(),
|
|
23257
|
+
createdAt: number(),
|
|
23258
|
+
selection: RetrainDatasetSelectionSchema,
|
|
23259
|
+
layout: RetrainExportLayoutSchema,
|
|
23260
|
+
completeOnly: boolean(),
|
|
23261
|
+
frameCount: number().int(),
|
|
23262
|
+
/** sha256 of what the frames taught when the version was frozen. */
|
|
23263
|
+
annotationHash: string(),
|
|
23264
|
+
/** The export manifest schema the version was cut under. */
|
|
23265
|
+
manifestSchema: string(),
|
|
23266
|
+
stats: RetrainDatasetStatsSchema
|
|
23267
|
+
});
|
|
23268
|
+
var CreateRetrainDatasetVersionResultSchema = discriminatedUnion("kind", [object({
|
|
23269
|
+
kind: literal("created"),
|
|
23270
|
+
version: RetrainDatasetVersionSchema
|
|
23271
|
+
}), object({
|
|
23272
|
+
kind: literal("refused"),
|
|
23273
|
+
reason: _enum([
|
|
23274
|
+
"empty-name",
|
|
23275
|
+
"duplicate-name",
|
|
23276
|
+
"no-frames"
|
|
23277
|
+
])
|
|
23278
|
+
})]);
|
|
23197
23279
|
/** The outcome of a lifecycle move owned by the retrain page. */
|
|
23198
23280
|
var RetrainTransitionResultSchema = object({
|
|
23199
23281
|
trackId: string(),
|
|
@@ -23983,6 +24065,36 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
|
|
|
23983
24065
|
kind: "mutation",
|
|
23984
24066
|
auth: "admin",
|
|
23985
24067
|
timeoutMs: 60 * 6e4
|
|
24068
|
+
}), method(object({
|
|
24069
|
+
selection: RetrainDatasetSelectionSchema,
|
|
24070
|
+
completeOnly: boolean().optional()
|
|
24071
|
+
}), RetrainDatasetStatsSchema, {
|
|
24072
|
+
kind: "query",
|
|
24073
|
+
auth: "admin"
|
|
24074
|
+
}), method(object({
|
|
24075
|
+
name: string().max(120),
|
|
24076
|
+
selection: RetrainDatasetSelectionSchema,
|
|
24077
|
+
layout: RetrainExportLayoutSchema,
|
|
24078
|
+
completeOnly: boolean()
|
|
24079
|
+
}), CreateRetrainDatasetVersionResultSchema, {
|
|
24080
|
+
kind: "mutation",
|
|
24081
|
+
auth: "admin",
|
|
24082
|
+
timeoutMs: 12e4
|
|
24083
|
+
}), method(object({}), array(RetrainDatasetVersionSchema).readonly(), {
|
|
24084
|
+
kind: "query",
|
|
24085
|
+
auth: "admin"
|
|
24086
|
+
}), method(object({ id: string() }), object({ deleted: boolean() }), {
|
|
24087
|
+
kind: "mutation",
|
|
24088
|
+
auth: "admin"
|
|
24089
|
+
}), method(object({ id: string() }), object({
|
|
24090
|
+
found: boolean(),
|
|
24091
|
+
annotationHash: string(),
|
|
24092
|
+
matches: boolean(),
|
|
24093
|
+
missingFrames: number().int()
|
|
24094
|
+
}), {
|
|
24095
|
+
kind: "query",
|
|
24096
|
+
auth: "admin",
|
|
24097
|
+
timeoutMs: 12e4
|
|
23986
24098
|
}), method(object({}), array(RetrainAssistProfileSchema).readonly(), {
|
|
23987
24099
|
kind: "query",
|
|
23988
24100
|
auth: "admin"
|
|
@@ -41008,6 +41120,12 @@ Object.freeze({
|
|
|
41008
41120
|
addonId: null,
|
|
41009
41121
|
access: "create"
|
|
41010
41122
|
},
|
|
41123
|
+
"keychainAdmin.setSystemSecret": {
|
|
41124
|
+
capName: "keychain-admin",
|
|
41125
|
+
capScope: "system",
|
|
41126
|
+
addonId: null,
|
|
41127
|
+
access: "create"
|
|
41128
|
+
},
|
|
41011
41129
|
"keychainAdmin.status": {
|
|
41012
41130
|
capName: "keychain-admin",
|
|
41013
41131
|
capScope: "system",
|
|
@@ -42454,6 +42572,12 @@ Object.freeze({
|
|
|
42454
42572
|
addonId: null,
|
|
42455
42573
|
access: "create"
|
|
42456
42574
|
},
|
|
42575
|
+
"pipelineAnalytics.createRetrainDatasetVersion": {
|
|
42576
|
+
capName: "pipeline-analytics",
|
|
42577
|
+
capScope: "device",
|
|
42578
|
+
addonId: null,
|
|
42579
|
+
access: "create"
|
|
42580
|
+
},
|
|
42457
42581
|
"pipelineAnalytics.deleteDeviceEvents": {
|
|
42458
42582
|
capName: "pipeline-analytics",
|
|
42459
42583
|
capScope: "device",
|
|
@@ -42466,6 +42590,12 @@ Object.freeze({
|
|
|
42466
42590
|
addonId: null,
|
|
42467
42591
|
access: "delete"
|
|
42468
42592
|
},
|
|
42593
|
+
"pipelineAnalytics.deleteRetrainDatasetVersion": {
|
|
42594
|
+
capName: "pipeline-analytics",
|
|
42595
|
+
capScope: "device",
|
|
42596
|
+
addonId: null,
|
|
42597
|
+
access: "delete"
|
|
42598
|
+
},
|
|
42469
42599
|
"pipelineAnalytics.deleteTracks": {
|
|
42470
42600
|
capName: "pipeline-analytics",
|
|
42471
42601
|
capScope: "device",
|
|
@@ -42688,6 +42818,12 @@ Object.freeze({
|
|
|
42688
42818
|
addonId: null,
|
|
42689
42819
|
access: "view"
|
|
42690
42820
|
},
|
|
42821
|
+
"pipelineAnalytics.listRetrainDatasetVersions": {
|
|
42822
|
+
capName: "pipeline-analytics",
|
|
42823
|
+
capScope: "device",
|
|
42824
|
+
addonId: null,
|
|
42825
|
+
access: "view"
|
|
42826
|
+
},
|
|
42691
42827
|
"pipelineAnalytics.listRetrainFrames": {
|
|
42692
42828
|
capName: "pipeline-analytics",
|
|
42693
42829
|
capScope: "device",
|
|
@@ -42730,6 +42866,12 @@ Object.freeze({
|
|
|
42730
42866
|
addonId: null,
|
|
42731
42867
|
access: "create"
|
|
42732
42868
|
},
|
|
42869
|
+
"pipelineAnalytics.previewRetrainDataset": {
|
|
42870
|
+
capName: "pipeline-analytics",
|
|
42871
|
+
capScope: "device",
|
|
42872
|
+
addonId: null,
|
|
42873
|
+
access: "view"
|
|
42874
|
+
},
|
|
42733
42875
|
"pipelineAnalytics.proposeRetrainAnnotations": {
|
|
42734
42876
|
capName: "pipeline-analytics",
|
|
42735
42877
|
capScope: "device",
|
|
@@ -42868,6 +43010,12 @@ Object.freeze({
|
|
|
42868
43010
|
addonId: null,
|
|
42869
43011
|
access: "create"
|
|
42870
43012
|
},
|
|
43013
|
+
"pipelineAnalytics.verifyRetrainDatasetVersion": {
|
|
43014
|
+
capName: "pipeline-analytics",
|
|
43015
|
+
capScope: "device",
|
|
43016
|
+
addonId: null,
|
|
43017
|
+
access: "view"
|
|
43018
|
+
},
|
|
42871
43019
|
"pipelineAnalytics.wipeAllAnalytics": {
|
|
42872
43020
|
capName: "pipeline-analytics",
|
|
42873
43021
|
capScope: "device",
|
|
@@ -50837,7 +50985,7 @@ var AgentUIAddon = class extends BaseAddon {
|
|
|
50837
50985
|
capability: adminUiCapability,
|
|
50838
50986
|
provider: {
|
|
50839
50987
|
getStaticDir: async () => ({ staticDir: path.resolve(__dirname) }),
|
|
50840
|
-
getVersion: async () => ({ version: "1.2.
|
|
50988
|
+
getVersion: async () => ({ version: "1.2.194" })
|
|
50841
50989
|
}
|
|
50842
50990
|
}];
|
|
50843
50991
|
}
|