@camstack/addon-post-analysis 1.2.344 → 1.2.346
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/assets/pipeline-analytics/icon.svg +7 -0
- package/dist/{clip-model-registry-Ca_IbZyD.js → clip-model-registry--UsI8Ud4.js} +175 -2
- package/dist/{clip-model-registry-C44gfwjm.mjs → clip-model-registry-BftmbgcV.mjs} +175 -2
- package/dist/embedding-encoder/index.js +1 -1
- package/dist/embedding-encoder/index.mjs +1 -1
- package/dist/pipeline-analytics/_stub.js +2 -2
- package/dist/pipeline-analytics/{_virtual_mf-localSharedImportMap___mfe_internal__addon_pipeline_analytics_widgets-D73dyYqt.mjs → _virtual_mf-localSharedImportMap___mfe_internal__addon_pipeline_analytics_widgets-CeJTtS8B.mjs} +3 -3
- package/dist/pipeline-analytics/_virtual_mf___mfe_internal__addon_pipeline_analytics_widgets__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-4Fu7jNn9.mjs +26 -0
- package/dist/pipeline-analytics/_virtual_mf___mfe_internal__addon_pipeline_analytics_widgets__loadShare___mf_0_camstack_mf_1_ui_mf_2_library__loadShare__.js-Cutp7k0_.mjs +26 -0
- package/dist/pipeline-analytics/{hostInit-h_8fvfFv.mjs → hostInit-DkInRTZ0.mjs} +3 -3
- package/dist/pipeline-analytics/index.js +851 -289
- package/dist/pipeline-analytics/index.mjs +851 -289
- package/dist/pipeline-analytics/remoteEntry.js +1 -1
- package/package.json +2 -2
- package/dist/pipeline-analytics/_virtual_mf___mfe_internal__addon_pipeline_analytics_widgets__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-C-2BbuN4.mjs +0 -26
- package/dist/pipeline-analytics/_virtual_mf___mfe_internal__addon_pipeline_analytics_widgets__loadShare___mf_0_camstack_mf_1_ui_mf_2_library__loadShare__.js-ZZJLA-YE.mjs +0 -26
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="#9333ea" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
|
|
2
|
+
<path d="M3 3v16a2 2 0 0 0 2 2h16"/>
|
|
3
|
+
<path d="M8 17v-3"/>
|
|
4
|
+
<path d="M13 17v-6"/>
|
|
5
|
+
<path d="M18 17v-4"/>
|
|
6
|
+
<path d="m7 9 4-4 3 3 6-6"/>
|
|
7
|
+
</svg>
|
|
@@ -5480,7 +5480,7 @@ var ZodIssueCode = {
|
|
|
5480
5480
|
var ZodFirstPartyTypeKind;
|
|
5481
5481
|
ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
|
|
5482
5482
|
//#endregion
|
|
5483
|
-
//#region ../types/dist/sleep-
|
|
5483
|
+
//#region ../types/dist/sleep-DujUvOcb.mjs
|
|
5484
5484
|
/**
|
|
5485
5485
|
* The audio chunk plane's byte format, and the ONE expansion from a coded
|
|
5486
5486
|
* window to float samples (D455).
|
|
@@ -17213,6 +17213,14 @@ var KeychainAuditEntrySchema = object({
|
|
|
17213
17213
|
ref: string().nullable(),
|
|
17214
17214
|
detail: string().nullable()
|
|
17215
17215
|
});
|
|
17216
|
+
var KEYCHAIN_RESET_CONFIRMATION = "RESET KEYCHAIN";
|
|
17217
|
+
/**
|
|
17218
|
+
* Secrets the HUB itself holds (owner `system`) that no settings form shows:
|
|
17219
|
+
* `jwt-signing-key` — the session signing key (D797). It is always "in use",
|
|
17220
|
+
* never an orphan; it is generated on a fresh hub and replaced only through
|
|
17221
|
+
* {@link keychainAdminCapability.methods.setSystemSecret}.
|
|
17222
|
+
*/
|
|
17223
|
+
var SystemHeldSecretNameSchema = _enum(["jwt-signing-key"]);
|
|
17216
17224
|
var keychainAdminCapability = {
|
|
17217
17225
|
name: "keychain-admin",
|
|
17218
17226
|
scope: "system",
|
|
@@ -17233,6 +17241,24 @@ var keychainAdminCapability = {
|
|
|
17233
17241
|
auth: "admin",
|
|
17234
17242
|
caller: "required"
|
|
17235
17243
|
}),
|
|
17244
|
+
/**
|
|
17245
|
+
* Replace a system-held secret (no form edits it) with an operator-supplied
|
|
17246
|
+
* value — e.g. importing the session signing key a pre-keychain hub kept in
|
|
17247
|
+
* config.yaml, so the tokens it signed stay valid. Audited as the operator.
|
|
17248
|
+
* Replacing the session signing key invalidates every token signed with the
|
|
17249
|
+
* previous one.
|
|
17250
|
+
*/
|
|
17251
|
+
setSystemSecret: method(object({
|
|
17252
|
+
name: SystemHeldSecretNameSchema,
|
|
17253
|
+
value: string().min(16)
|
|
17254
|
+
}), object({
|
|
17255
|
+
ref: string(),
|
|
17256
|
+
version: number().int()
|
|
17257
|
+
}), {
|
|
17258
|
+
kind: "mutation",
|
|
17259
|
+
auth: "admin",
|
|
17260
|
+
caller: "required"
|
|
17261
|
+
}),
|
|
17236
17262
|
/** Delete refs no owner points at any more. Re-checked here; `unknown` is kept. */
|
|
17237
17263
|
deleteOrphans: method(object({ refs: array(string().min(1)).max(1e3) }), object({
|
|
17238
17264
|
deleted: array(string()).readonly(),
|
|
@@ -17285,7 +17311,7 @@ var keychainAdminCapability = {
|
|
|
17285
17311
|
* key. Every secret field then reads "not set". Requires the typed
|
|
17286
17312
|
* confirmation {@link KEYCHAIN_RESET_CONFIRMATION}.
|
|
17287
17313
|
*/
|
|
17288
|
-
resetKeychain: method(object({ confirm: literal(
|
|
17314
|
+
resetKeychain: method(object({ confirm: literal(KEYCHAIN_RESET_CONFIRMATION) }), object({
|
|
17289
17315
|
archivedCollection: string().nullable(),
|
|
17290
17316
|
archived: number().int()
|
|
17291
17317
|
}), {
|
|
@@ -28079,6 +28105,9 @@ var RetrainExportFilterSchema = object({
|
|
|
28079
28105
|
frameIds: array(string()).max(2e4).optional(),
|
|
28080
28106
|
/** Only frames in at least one of these named collections. */
|
|
28081
28107
|
collectionIds: array(string()).max(200).optional(),
|
|
28108
|
+
/** Exactly the frames of this dataset version (and its completeOnly). An
|
|
28109
|
+
* unknown id selects nothing. */
|
|
28110
|
+
datasetVersionId: string().optional(),
|
|
28082
28111
|
batchId: string().optional(),
|
|
28083
28112
|
/** Only frames the operator marked complete (all subjects boxed). */
|
|
28084
28113
|
completeOnly: boolean().optional()
|
|
@@ -28246,6 +28275,67 @@ var RetrainLlmAssistResultSchema = discriminatedUnion("kind", [object({
|
|
|
28246
28275
|
]),
|
|
28247
28276
|
detail: string().optional()
|
|
28248
28277
|
})]);
|
|
28278
|
+
/** What a dataset version is cut from. Every field narrows. */
|
|
28279
|
+
var RetrainDatasetSelectionSchema = object({
|
|
28280
|
+
deviceIds: array(number()).readonly().optional(),
|
|
28281
|
+
collectionIds: array(string()).max(200).readonly().optional(),
|
|
28282
|
+
frameIds: array(string()).max(2e4).readonly().optional()
|
|
28283
|
+
});
|
|
28284
|
+
/** The counts a dataset is judged by. */
|
|
28285
|
+
var RetrainDatasetStatsSchema = object({
|
|
28286
|
+
frames: number().int(),
|
|
28287
|
+
completeFrames: number().int(),
|
|
28288
|
+
/** `completeFrames / frames`, 0..1. */
|
|
28289
|
+
completeness: number(),
|
|
28290
|
+
/** Boxes to learn (model errors excluded). */
|
|
28291
|
+
subjects: number().int(),
|
|
28292
|
+
modelErrors: number().int(),
|
|
28293
|
+
/** Complete frames with no subject. */
|
|
28294
|
+
hardNegatives: number().int(),
|
|
28295
|
+
/** Subjects per class × camera × day/night. */
|
|
28296
|
+
cells: array(object({
|
|
28297
|
+
macroClass: string(),
|
|
28298
|
+
deviceId: number(),
|
|
28299
|
+
lighting: _enum([
|
|
28300
|
+
"day",
|
|
28301
|
+
"night",
|
|
28302
|
+
"unknown"
|
|
28303
|
+
]),
|
|
28304
|
+
subjects: number().int(),
|
|
28305
|
+
frames: number().int()
|
|
28306
|
+
})).readonly(),
|
|
28307
|
+
cameras: array(object({
|
|
28308
|
+
deviceId: number(),
|
|
28309
|
+
frames: number().int(),
|
|
28310
|
+
completeFrames: number().int()
|
|
28311
|
+
})).readonly()
|
|
28312
|
+
});
|
|
28313
|
+
/** An immutable dataset version, without its frame list. */
|
|
28314
|
+
var RetrainDatasetVersionSchema = object({
|
|
28315
|
+
id: string(),
|
|
28316
|
+
name: string(),
|
|
28317
|
+
createdAt: number(),
|
|
28318
|
+
selection: RetrainDatasetSelectionSchema,
|
|
28319
|
+
layout: RetrainExportLayoutSchema,
|
|
28320
|
+
completeOnly: boolean(),
|
|
28321
|
+
frameCount: number().int(),
|
|
28322
|
+
/** sha256 of what the frames taught when the version was frozen. */
|
|
28323
|
+
annotationHash: string(),
|
|
28324
|
+
/** The export manifest schema the version was cut under. */
|
|
28325
|
+
manifestSchema: string(),
|
|
28326
|
+
stats: RetrainDatasetStatsSchema
|
|
28327
|
+
});
|
|
28328
|
+
var CreateRetrainDatasetVersionResultSchema = discriminatedUnion("kind", [object({
|
|
28329
|
+
kind: literal("created"),
|
|
28330
|
+
version: RetrainDatasetVersionSchema
|
|
28331
|
+
}), object({
|
|
28332
|
+
kind: literal("refused"),
|
|
28333
|
+
reason: _enum([
|
|
28334
|
+
"empty-name",
|
|
28335
|
+
"duplicate-name",
|
|
28336
|
+
"no-frames"
|
|
28337
|
+
])
|
|
28338
|
+
})]);
|
|
28249
28339
|
/** The outcome of a lifecycle move owned by the retrain page. */
|
|
28250
28340
|
var RetrainTransitionResultSchema = object({
|
|
28251
28341
|
trackId: string(),
|
|
@@ -29626,6 +29716,53 @@ var pipelineAnalyticsCapability = {
|
|
|
29626
29716
|
auth: "admin",
|
|
29627
29717
|
timeoutMs: 60 * 6e4
|
|
29628
29718
|
}),
|
|
29719
|
+
/** The counts a selection would freeze — class × camera × day/night,
|
|
29720
|
+
* completeness — without freezing anything. Index reads only. */
|
|
29721
|
+
previewRetrainDataset: method(object({
|
|
29722
|
+
selection: RetrainDatasetSelectionSchema,
|
|
29723
|
+
completeOnly: boolean().optional()
|
|
29724
|
+
}), RetrainDatasetStatsSchema, {
|
|
29725
|
+
kind: "query",
|
|
29726
|
+
auth: "admin"
|
|
29727
|
+
}),
|
|
29728
|
+
/**
|
|
29729
|
+
* Freeze a dataset version: the frames the selection yields (the same plan
|
|
29730
|
+
* the annotated export builds), the hash of what they teach, the export
|
|
29731
|
+
* parameters and the counts. Immutable — a different selection is a new
|
|
29732
|
+
* version. Export it with `getRetrainExportUrl({ datasetVersionId })`.
|
|
29733
|
+
*/
|
|
29734
|
+
createRetrainDatasetVersion: method(object({
|
|
29735
|
+
name: string().max(120),
|
|
29736
|
+
selection: RetrainDatasetSelectionSchema,
|
|
29737
|
+
layout: RetrainExportLayoutSchema,
|
|
29738
|
+
completeOnly: boolean()
|
|
29739
|
+
}), CreateRetrainDatasetVersionResultSchema, {
|
|
29740
|
+
kind: "mutation",
|
|
29741
|
+
auth: "admin",
|
|
29742
|
+
timeoutMs: 12e4
|
|
29743
|
+
}),
|
|
29744
|
+
/** Every dataset version, newest first. */
|
|
29745
|
+
listRetrainDatasetVersions: method(object({}), array(RetrainDatasetVersionSchema).readonly(), {
|
|
29746
|
+
kind: "query",
|
|
29747
|
+
auth: "admin"
|
|
29748
|
+
}),
|
|
29749
|
+
/** Delete a version. Its frames stay in the dataset. */
|
|
29750
|
+
deleteRetrainDatasetVersion: method(object({ id: string() }), object({ deleted: boolean() }), {
|
|
29751
|
+
kind: "mutation",
|
|
29752
|
+
auth: "admin"
|
|
29753
|
+
}),
|
|
29754
|
+
/** Does the corpus still teach what the version froze? `missingFrames`
|
|
29755
|
+
* counts frames that left the dataset (or lost every box and tick). */
|
|
29756
|
+
verifyRetrainDatasetVersion: method(object({ id: string() }), object({
|
|
29757
|
+
found: boolean(),
|
|
29758
|
+
annotationHash: string(),
|
|
29759
|
+
matches: boolean(),
|
|
29760
|
+
missingFrames: number().int()
|
|
29761
|
+
}), {
|
|
29762
|
+
kind: "query",
|
|
29763
|
+
auth: "admin",
|
|
29764
|
+
timeoutMs: 12e4
|
|
29765
|
+
}),
|
|
29629
29766
|
/** The enabled, vision-capable LLM profiles, each saying whether a frame
|
|
29630
29767
|
* sent to it leaves the house. */
|
|
29631
29768
|
listRetrainAssistProfiles: method(object({}), array(RetrainAssistProfileSchema).readonly(), {
|
|
@@ -53813,6 +53950,12 @@ Object.freeze({
|
|
|
53813
53950
|
addonId: null,
|
|
53814
53951
|
access: "create"
|
|
53815
53952
|
},
|
|
53953
|
+
"keychainAdmin.setSystemSecret": {
|
|
53954
|
+
capName: "keychain-admin",
|
|
53955
|
+
capScope: "system",
|
|
53956
|
+
addonId: null,
|
|
53957
|
+
access: "create"
|
|
53958
|
+
},
|
|
53816
53959
|
"keychainAdmin.status": {
|
|
53817
53960
|
capName: "keychain-admin",
|
|
53818
53961
|
capScope: "system",
|
|
@@ -55259,6 +55402,12 @@ Object.freeze({
|
|
|
55259
55402
|
addonId: null,
|
|
55260
55403
|
access: "create"
|
|
55261
55404
|
},
|
|
55405
|
+
"pipelineAnalytics.createRetrainDatasetVersion": {
|
|
55406
|
+
capName: "pipeline-analytics",
|
|
55407
|
+
capScope: "device",
|
|
55408
|
+
addonId: null,
|
|
55409
|
+
access: "create"
|
|
55410
|
+
},
|
|
55262
55411
|
"pipelineAnalytics.deleteDeviceEvents": {
|
|
55263
55412
|
capName: "pipeline-analytics",
|
|
55264
55413
|
capScope: "device",
|
|
@@ -55271,6 +55420,12 @@ Object.freeze({
|
|
|
55271
55420
|
addonId: null,
|
|
55272
55421
|
access: "delete"
|
|
55273
55422
|
},
|
|
55423
|
+
"pipelineAnalytics.deleteRetrainDatasetVersion": {
|
|
55424
|
+
capName: "pipeline-analytics",
|
|
55425
|
+
capScope: "device",
|
|
55426
|
+
addonId: null,
|
|
55427
|
+
access: "delete"
|
|
55428
|
+
},
|
|
55274
55429
|
"pipelineAnalytics.deleteTracks": {
|
|
55275
55430
|
capName: "pipeline-analytics",
|
|
55276
55431
|
capScope: "device",
|
|
@@ -55493,6 +55648,12 @@ Object.freeze({
|
|
|
55493
55648
|
addonId: null,
|
|
55494
55649
|
access: "view"
|
|
55495
55650
|
},
|
|
55651
|
+
"pipelineAnalytics.listRetrainDatasetVersions": {
|
|
55652
|
+
capName: "pipeline-analytics",
|
|
55653
|
+
capScope: "device",
|
|
55654
|
+
addonId: null,
|
|
55655
|
+
access: "view"
|
|
55656
|
+
},
|
|
55496
55657
|
"pipelineAnalytics.listRetrainFrames": {
|
|
55497
55658
|
capName: "pipeline-analytics",
|
|
55498
55659
|
capScope: "device",
|
|
@@ -55535,6 +55696,12 @@ Object.freeze({
|
|
|
55535
55696
|
addonId: null,
|
|
55536
55697
|
access: "create"
|
|
55537
55698
|
},
|
|
55699
|
+
"pipelineAnalytics.previewRetrainDataset": {
|
|
55700
|
+
capName: "pipeline-analytics",
|
|
55701
|
+
capScope: "device",
|
|
55702
|
+
addonId: null,
|
|
55703
|
+
access: "view"
|
|
55704
|
+
},
|
|
55538
55705
|
"pipelineAnalytics.proposeRetrainAnnotations": {
|
|
55539
55706
|
capName: "pipeline-analytics",
|
|
55540
55707
|
capScope: "device",
|
|
@@ -55673,6 +55840,12 @@ Object.freeze({
|
|
|
55673
55840
|
addonId: null,
|
|
55674
55841
|
access: "create"
|
|
55675
55842
|
},
|
|
55843
|
+
"pipelineAnalytics.verifyRetrainDatasetVersion": {
|
|
55844
|
+
capName: "pipeline-analytics",
|
|
55845
|
+
capScope: "device",
|
|
55846
|
+
addonId: null,
|
|
55847
|
+
access: "view"
|
|
55848
|
+
},
|
|
55676
55849
|
"pipelineAnalytics.wipeAllAnalytics": {
|
|
55677
55850
|
capName: "pipeline-analytics",
|
|
55678
55851
|
capScope: "device",
|
|
@@ -5449,7 +5449,7 @@ var ZodIssueCode = {
|
|
|
5449
5449
|
var ZodFirstPartyTypeKind;
|
|
5450
5450
|
ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
|
|
5451
5451
|
//#endregion
|
|
5452
|
-
//#region ../types/dist/sleep-
|
|
5452
|
+
//#region ../types/dist/sleep-DujUvOcb.mjs
|
|
5453
5453
|
/**
|
|
5454
5454
|
* The audio chunk plane's byte format, and the ONE expansion from a coded
|
|
5455
5455
|
* window to float samples (D455).
|
|
@@ -17182,6 +17182,14 @@ var KeychainAuditEntrySchema = object({
|
|
|
17182
17182
|
ref: string().nullable(),
|
|
17183
17183
|
detail: string().nullable()
|
|
17184
17184
|
});
|
|
17185
|
+
var KEYCHAIN_RESET_CONFIRMATION = "RESET KEYCHAIN";
|
|
17186
|
+
/**
|
|
17187
|
+
* Secrets the HUB itself holds (owner `system`) that no settings form shows:
|
|
17188
|
+
* `jwt-signing-key` — the session signing key (D797). It is always "in use",
|
|
17189
|
+
* never an orphan; it is generated on a fresh hub and replaced only through
|
|
17190
|
+
* {@link keychainAdminCapability.methods.setSystemSecret}.
|
|
17191
|
+
*/
|
|
17192
|
+
var SystemHeldSecretNameSchema = _enum(["jwt-signing-key"]);
|
|
17185
17193
|
var keychainAdminCapability = {
|
|
17186
17194
|
name: "keychain-admin",
|
|
17187
17195
|
scope: "system",
|
|
@@ -17202,6 +17210,24 @@ var keychainAdminCapability = {
|
|
|
17202
17210
|
auth: "admin",
|
|
17203
17211
|
caller: "required"
|
|
17204
17212
|
}),
|
|
17213
|
+
/**
|
|
17214
|
+
* Replace a system-held secret (no form edits it) with an operator-supplied
|
|
17215
|
+
* value — e.g. importing the session signing key a pre-keychain hub kept in
|
|
17216
|
+
* config.yaml, so the tokens it signed stay valid. Audited as the operator.
|
|
17217
|
+
* Replacing the session signing key invalidates every token signed with the
|
|
17218
|
+
* previous one.
|
|
17219
|
+
*/
|
|
17220
|
+
setSystemSecret: method(object({
|
|
17221
|
+
name: SystemHeldSecretNameSchema,
|
|
17222
|
+
value: string().min(16)
|
|
17223
|
+
}), object({
|
|
17224
|
+
ref: string(),
|
|
17225
|
+
version: number().int()
|
|
17226
|
+
}), {
|
|
17227
|
+
kind: "mutation",
|
|
17228
|
+
auth: "admin",
|
|
17229
|
+
caller: "required"
|
|
17230
|
+
}),
|
|
17205
17231
|
/** Delete refs no owner points at any more. Re-checked here; `unknown` is kept. */
|
|
17206
17232
|
deleteOrphans: method(object({ refs: array(string().min(1)).max(1e3) }), object({
|
|
17207
17233
|
deleted: array(string()).readonly(),
|
|
@@ -17254,7 +17280,7 @@ var keychainAdminCapability = {
|
|
|
17254
17280
|
* key. Every secret field then reads "not set". Requires the typed
|
|
17255
17281
|
* confirmation {@link KEYCHAIN_RESET_CONFIRMATION}.
|
|
17256
17282
|
*/
|
|
17257
|
-
resetKeychain: method(object({ confirm: literal(
|
|
17283
|
+
resetKeychain: method(object({ confirm: literal(KEYCHAIN_RESET_CONFIRMATION) }), object({
|
|
17258
17284
|
archivedCollection: string().nullable(),
|
|
17259
17285
|
archived: number().int()
|
|
17260
17286
|
}), {
|
|
@@ -28048,6 +28074,9 @@ var RetrainExportFilterSchema = object({
|
|
|
28048
28074
|
frameIds: array(string()).max(2e4).optional(),
|
|
28049
28075
|
/** Only frames in at least one of these named collections. */
|
|
28050
28076
|
collectionIds: array(string()).max(200).optional(),
|
|
28077
|
+
/** Exactly the frames of this dataset version (and its completeOnly). An
|
|
28078
|
+
* unknown id selects nothing. */
|
|
28079
|
+
datasetVersionId: string().optional(),
|
|
28051
28080
|
batchId: string().optional(),
|
|
28052
28081
|
/** Only frames the operator marked complete (all subjects boxed). */
|
|
28053
28082
|
completeOnly: boolean().optional()
|
|
@@ -28215,6 +28244,67 @@ var RetrainLlmAssistResultSchema = discriminatedUnion("kind", [object({
|
|
|
28215
28244
|
]),
|
|
28216
28245
|
detail: string().optional()
|
|
28217
28246
|
})]);
|
|
28247
|
+
/** What a dataset version is cut from. Every field narrows. */
|
|
28248
|
+
var RetrainDatasetSelectionSchema = object({
|
|
28249
|
+
deviceIds: array(number()).readonly().optional(),
|
|
28250
|
+
collectionIds: array(string()).max(200).readonly().optional(),
|
|
28251
|
+
frameIds: array(string()).max(2e4).readonly().optional()
|
|
28252
|
+
});
|
|
28253
|
+
/** The counts a dataset is judged by. */
|
|
28254
|
+
var RetrainDatasetStatsSchema = object({
|
|
28255
|
+
frames: number().int(),
|
|
28256
|
+
completeFrames: number().int(),
|
|
28257
|
+
/** `completeFrames / frames`, 0..1. */
|
|
28258
|
+
completeness: number(),
|
|
28259
|
+
/** Boxes to learn (model errors excluded). */
|
|
28260
|
+
subjects: number().int(),
|
|
28261
|
+
modelErrors: number().int(),
|
|
28262
|
+
/** Complete frames with no subject. */
|
|
28263
|
+
hardNegatives: number().int(),
|
|
28264
|
+
/** Subjects per class × camera × day/night. */
|
|
28265
|
+
cells: array(object({
|
|
28266
|
+
macroClass: string(),
|
|
28267
|
+
deviceId: number(),
|
|
28268
|
+
lighting: _enum([
|
|
28269
|
+
"day",
|
|
28270
|
+
"night",
|
|
28271
|
+
"unknown"
|
|
28272
|
+
]),
|
|
28273
|
+
subjects: number().int(),
|
|
28274
|
+
frames: number().int()
|
|
28275
|
+
})).readonly(),
|
|
28276
|
+
cameras: array(object({
|
|
28277
|
+
deviceId: number(),
|
|
28278
|
+
frames: number().int(),
|
|
28279
|
+
completeFrames: number().int()
|
|
28280
|
+
})).readonly()
|
|
28281
|
+
});
|
|
28282
|
+
/** An immutable dataset version, without its frame list. */
|
|
28283
|
+
var RetrainDatasetVersionSchema = object({
|
|
28284
|
+
id: string(),
|
|
28285
|
+
name: string(),
|
|
28286
|
+
createdAt: number(),
|
|
28287
|
+
selection: RetrainDatasetSelectionSchema,
|
|
28288
|
+
layout: RetrainExportLayoutSchema,
|
|
28289
|
+
completeOnly: boolean(),
|
|
28290
|
+
frameCount: number().int(),
|
|
28291
|
+
/** sha256 of what the frames taught when the version was frozen. */
|
|
28292
|
+
annotationHash: string(),
|
|
28293
|
+
/** The export manifest schema the version was cut under. */
|
|
28294
|
+
manifestSchema: string(),
|
|
28295
|
+
stats: RetrainDatasetStatsSchema
|
|
28296
|
+
});
|
|
28297
|
+
var CreateRetrainDatasetVersionResultSchema = discriminatedUnion("kind", [object({
|
|
28298
|
+
kind: literal("created"),
|
|
28299
|
+
version: RetrainDatasetVersionSchema
|
|
28300
|
+
}), object({
|
|
28301
|
+
kind: literal("refused"),
|
|
28302
|
+
reason: _enum([
|
|
28303
|
+
"empty-name",
|
|
28304
|
+
"duplicate-name",
|
|
28305
|
+
"no-frames"
|
|
28306
|
+
])
|
|
28307
|
+
})]);
|
|
28218
28308
|
/** The outcome of a lifecycle move owned by the retrain page. */
|
|
28219
28309
|
var RetrainTransitionResultSchema = object({
|
|
28220
28310
|
trackId: string(),
|
|
@@ -29595,6 +29685,53 @@ var pipelineAnalyticsCapability = {
|
|
|
29595
29685
|
auth: "admin",
|
|
29596
29686
|
timeoutMs: 60 * 6e4
|
|
29597
29687
|
}),
|
|
29688
|
+
/** The counts a selection would freeze — class × camera × day/night,
|
|
29689
|
+
* completeness — without freezing anything. Index reads only. */
|
|
29690
|
+
previewRetrainDataset: method(object({
|
|
29691
|
+
selection: RetrainDatasetSelectionSchema,
|
|
29692
|
+
completeOnly: boolean().optional()
|
|
29693
|
+
}), RetrainDatasetStatsSchema, {
|
|
29694
|
+
kind: "query",
|
|
29695
|
+
auth: "admin"
|
|
29696
|
+
}),
|
|
29697
|
+
/**
|
|
29698
|
+
* Freeze a dataset version: the frames the selection yields (the same plan
|
|
29699
|
+
* the annotated export builds), the hash of what they teach, the export
|
|
29700
|
+
* parameters and the counts. Immutable — a different selection is a new
|
|
29701
|
+
* version. Export it with `getRetrainExportUrl({ datasetVersionId })`.
|
|
29702
|
+
*/
|
|
29703
|
+
createRetrainDatasetVersion: method(object({
|
|
29704
|
+
name: string().max(120),
|
|
29705
|
+
selection: RetrainDatasetSelectionSchema,
|
|
29706
|
+
layout: RetrainExportLayoutSchema,
|
|
29707
|
+
completeOnly: boolean()
|
|
29708
|
+
}), CreateRetrainDatasetVersionResultSchema, {
|
|
29709
|
+
kind: "mutation",
|
|
29710
|
+
auth: "admin",
|
|
29711
|
+
timeoutMs: 12e4
|
|
29712
|
+
}),
|
|
29713
|
+
/** Every dataset version, newest first. */
|
|
29714
|
+
listRetrainDatasetVersions: method(object({}), array(RetrainDatasetVersionSchema).readonly(), {
|
|
29715
|
+
kind: "query",
|
|
29716
|
+
auth: "admin"
|
|
29717
|
+
}),
|
|
29718
|
+
/** Delete a version. Its frames stay in the dataset. */
|
|
29719
|
+
deleteRetrainDatasetVersion: method(object({ id: string() }), object({ deleted: boolean() }), {
|
|
29720
|
+
kind: "mutation",
|
|
29721
|
+
auth: "admin"
|
|
29722
|
+
}),
|
|
29723
|
+
/** Does the corpus still teach what the version froze? `missingFrames`
|
|
29724
|
+
* counts frames that left the dataset (or lost every box and tick). */
|
|
29725
|
+
verifyRetrainDatasetVersion: method(object({ id: string() }), object({
|
|
29726
|
+
found: boolean(),
|
|
29727
|
+
annotationHash: string(),
|
|
29728
|
+
matches: boolean(),
|
|
29729
|
+
missingFrames: number().int()
|
|
29730
|
+
}), {
|
|
29731
|
+
kind: "query",
|
|
29732
|
+
auth: "admin",
|
|
29733
|
+
timeoutMs: 12e4
|
|
29734
|
+
}),
|
|
29598
29735
|
/** The enabled, vision-capable LLM profiles, each saying whether a frame
|
|
29599
29736
|
* sent to it leaves the house. */
|
|
29600
29737
|
listRetrainAssistProfiles: method(object({}), array(RetrainAssistProfileSchema).readonly(), {
|
|
@@ -53782,6 +53919,12 @@ Object.freeze({
|
|
|
53782
53919
|
addonId: null,
|
|
53783
53920
|
access: "create"
|
|
53784
53921
|
},
|
|
53922
|
+
"keychainAdmin.setSystemSecret": {
|
|
53923
|
+
capName: "keychain-admin",
|
|
53924
|
+
capScope: "system",
|
|
53925
|
+
addonId: null,
|
|
53926
|
+
access: "create"
|
|
53927
|
+
},
|
|
53785
53928
|
"keychainAdmin.status": {
|
|
53786
53929
|
capName: "keychain-admin",
|
|
53787
53930
|
capScope: "system",
|
|
@@ -55228,6 +55371,12 @@ Object.freeze({
|
|
|
55228
55371
|
addonId: null,
|
|
55229
55372
|
access: "create"
|
|
55230
55373
|
},
|
|
55374
|
+
"pipelineAnalytics.createRetrainDatasetVersion": {
|
|
55375
|
+
capName: "pipeline-analytics",
|
|
55376
|
+
capScope: "device",
|
|
55377
|
+
addonId: null,
|
|
55378
|
+
access: "create"
|
|
55379
|
+
},
|
|
55231
55380
|
"pipelineAnalytics.deleteDeviceEvents": {
|
|
55232
55381
|
capName: "pipeline-analytics",
|
|
55233
55382
|
capScope: "device",
|
|
@@ -55240,6 +55389,12 @@ Object.freeze({
|
|
|
55240
55389
|
addonId: null,
|
|
55241
55390
|
access: "delete"
|
|
55242
55391
|
},
|
|
55392
|
+
"pipelineAnalytics.deleteRetrainDatasetVersion": {
|
|
55393
|
+
capName: "pipeline-analytics",
|
|
55394
|
+
capScope: "device",
|
|
55395
|
+
addonId: null,
|
|
55396
|
+
access: "delete"
|
|
55397
|
+
},
|
|
55243
55398
|
"pipelineAnalytics.deleteTracks": {
|
|
55244
55399
|
capName: "pipeline-analytics",
|
|
55245
55400
|
capScope: "device",
|
|
@@ -55462,6 +55617,12 @@ Object.freeze({
|
|
|
55462
55617
|
addonId: null,
|
|
55463
55618
|
access: "view"
|
|
55464
55619
|
},
|
|
55620
|
+
"pipelineAnalytics.listRetrainDatasetVersions": {
|
|
55621
|
+
capName: "pipeline-analytics",
|
|
55622
|
+
capScope: "device",
|
|
55623
|
+
addonId: null,
|
|
55624
|
+
access: "view"
|
|
55625
|
+
},
|
|
55465
55626
|
"pipelineAnalytics.listRetrainFrames": {
|
|
55466
55627
|
capName: "pipeline-analytics",
|
|
55467
55628
|
capScope: "device",
|
|
@@ -55504,6 +55665,12 @@ Object.freeze({
|
|
|
55504
55665
|
addonId: null,
|
|
55505
55666
|
access: "create"
|
|
55506
55667
|
},
|
|
55668
|
+
"pipelineAnalytics.previewRetrainDataset": {
|
|
55669
|
+
capName: "pipeline-analytics",
|
|
55670
|
+
capScope: "device",
|
|
55671
|
+
addonId: null,
|
|
55672
|
+
access: "view"
|
|
55673
|
+
},
|
|
55507
55674
|
"pipelineAnalytics.proposeRetrainAnnotations": {
|
|
55508
55675
|
capName: "pipeline-analytics",
|
|
55509
55676
|
capScope: "device",
|
|
@@ -55642,6 +55809,12 @@ Object.freeze({
|
|
|
55642
55809
|
addonId: null,
|
|
55643
55810
|
access: "create"
|
|
55644
55811
|
},
|
|
55812
|
+
"pipelineAnalytics.verifyRetrainDatasetVersion": {
|
|
55813
|
+
capName: "pipeline-analytics",
|
|
55814
|
+
capScope: "device",
|
|
55815
|
+
addonId: null,
|
|
55816
|
+
access: "view"
|
|
55817
|
+
},
|
|
55645
55818
|
"pipelineAnalytics.wipeAllAnalytics": {
|
|
55646
55819
|
capName: "pipeline-analytics",
|
|
55647
55820
|
capScope: "device",
|
|
@@ -2,7 +2,7 @@ Object.defineProperties(exports, {
|
|
|
2
2
|
__esModule: { value: true },
|
|
3
3
|
[Symbol.toStringTag]: { value: "Module" }
|
|
4
4
|
});
|
|
5
|
-
const require_clip_model_registry = require("../clip-model-registry
|
|
5
|
+
const require_clip_model_registry = require("../clip-model-registry--UsI8Ud4.js");
|
|
6
6
|
let node_fs = require("node:fs");
|
|
7
7
|
node_fs = require_clip_model_registry.__toESM(node_fs);
|
|
8
8
|
let node_path = require("node:path");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $n as embeddingRequirementsFailedError, Ar as parseProcStatus, Qt as PoolMemoryWatchdog, Ti as normalizeNodeId, Vr as resolvePoolMemoryPolicy, Xn as embeddingEncoderCapability, Zn as embeddingModelFailedError, _i as BaseAddon, a as CLIP_EMBEDDING_STEP_ID, c as resolveClusterModelPin, er as embeddingRequirementsUnavailableError, i as CLIP_TEXT_MODELS, n as DEFAULT_CLIP_MODEL, r as CLIP_IMAGE_MODELS, t as BUILTIN_CLIP_MODELS } from "../clip-model-registry-
|
|
1
|
+
import { $n as embeddingRequirementsFailedError, Ar as parseProcStatus, Qt as PoolMemoryWatchdog, Ti as normalizeNodeId, Vr as resolvePoolMemoryPolicy, Xn as embeddingEncoderCapability, Zn as embeddingModelFailedError, _i as BaseAddon, a as CLIP_EMBEDDING_STEP_ID, c as resolveClusterModelPin, er as embeddingRequirementsUnavailableError, i as CLIP_TEXT_MODELS, n as DEFAULT_CLIP_MODEL, r as CLIP_IMAGE_MODELS, t as BUILTIN_CLIP_MODELS } from "../clip-model-registry-BftmbgcV.mjs";
|
|
2
2
|
import { createRequire } from "node:module";
|
|
3
3
|
import * as fs from "node:fs";
|
|
4
4
|
import * as path$1 from "node:path";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { a as e, i as t, n, o as r, r as i, t as a } from "./_virtual_mf___mfe_internal__addon_pipeline_analytics_widgets__loadShare__react__loadShare__.js-C0AuF9av.mjs";
|
|
2
2
|
import { t as o } from "./_virtual_mf___mfe_internal__addon_pipeline_analytics_widgets__loadShare___mf_0_tanstack_mf_1_react_mf_2_query__loadShare__.js-B3Wx5J80.mjs";
|
|
3
|
-
import { a as s, i as c, n as l, o as u, r as d, s as f, t as p } from "./_virtual_mf___mfe_internal__addon_pipeline_analytics_widgets__loadShare___mf_0_camstack_mf_1_ui_mf_2_library__loadShare__.js-
|
|
3
|
+
import { a as s, i as c, n as l, o as u, r as d, s as f, t as p } from "./_virtual_mf___mfe_internal__addon_pipeline_analytics_widgets__loadShare___mf_0_camstack_mf_1_ui_mf_2_library__loadShare__.js-Cutp7k0_.mjs";
|
|
4
4
|
import { n as m, r as h, t as g } from "./_virtual_mf___mfe_internal__addon_pipeline_analytics_widgets__loadShare__react_mf_1_jsx_mf_2_runtime__loadShare__.js-Bm-iyjmq.mjs";
|
|
5
|
-
import { t as _ } from "./_virtual_mf___mfe_internal__addon_pipeline_analytics_widgets__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-
|
|
5
|
+
import { t as _ } from "./_virtual_mf___mfe_internal__addon_pipeline_analytics_widgets__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-4Fu7jNn9.mjs";
|
|
6
6
|
//#region ../../node_modules/lucide-react/dist/esm/shared/src/utils/mergeClasses.js
|
|
7
7
|
var v = (...e) => e.filter((e, t, n) => !!e && e.trim() !== "" && n.indexOf(e) === t).join(" ").trim(), y = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase(), b = (e) => e.replace(/^([A-Z])|[\s-_]+(\w)/g, (e, t, n) => n ? n.toUpperCase() : t.toLowerCase()), x = (e) => {
|
|
8
8
|
let t = b(e);
|
|
@@ -3,7 +3,7 @@ import "./dist-CYZr2fwk.mjs";
|
|
|
3
3
|
var e = {
|
|
4
4
|
"@camstack/sdk": {
|
|
5
5
|
name: "@camstack/sdk",
|
|
6
|
-
version: "1.2.
|
|
6
|
+
version: "1.2.127",
|
|
7
7
|
scope: ["default"],
|
|
8
8
|
loaded: !1,
|
|
9
9
|
from: "addon_pipeline_analytics_widgets",
|
|
@@ -18,7 +18,7 @@ var e = {
|
|
|
18
18
|
},
|
|
19
19
|
"@camstack/types": {
|
|
20
20
|
name: "@camstack/types",
|
|
21
|
-
version: "1.2.
|
|
21
|
+
version: "1.2.331",
|
|
22
22
|
scope: ["default"],
|
|
23
23
|
loaded: !1,
|
|
24
24
|
from: "addon_pipeline_analytics_widgets",
|
|
@@ -33,7 +33,7 @@ var e = {
|
|
|
33
33
|
},
|
|
34
34
|
"@camstack/ui-library": {
|
|
35
35
|
name: "@camstack/ui-library",
|
|
36
|
-
version: "1.2.
|
|
36
|
+
version: "1.2.252",
|
|
37
37
|
scope: ["default"],
|
|
38
38
|
loaded: !1,
|
|
39
39
|
from: "addon_pipeline_analytics_widgets",
|