@camstack/addon-training 0.1.62 → 0.1.64
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/{MotionZonesSettings-BYD4vYtX.mjs → MotionZonesSettings-DIpEV5J3.mjs} +2 -2
- package/dist/{PrivacyMaskSettings-BIzsQTVG.mjs → PrivacyMaskSettings-TlViccW9.mjs} +2 -2
- package/dist/{SceneMonitorEditor-CnU0WfHZ.mjs → SceneMonitorEditor-B2PhYyTc.mjs} +1 -1
- package/dist/_stub.js +4289 -3277
- package/dist/{_virtual_mf-localSharedImportMap___mfe_internal__addon_training_page-CerRxYN4.mjs → _virtual_mf-localSharedImportMap___mfe_internal__addon_training_page-BKtxBe03.mjs} +4 -4
- package/dist/_virtual_mf___mfe_internal__addon_training_page__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-06W1nHAc.mjs +26 -0
- package/dist/addon-training.css +1 -1
- package/dist/{dist-cb89Kr5k.mjs → dist-C-kehMXS.mjs} +38 -64
- package/dist/{dist-D4JlXYdi.js → dist-DpVVVPlD.js} +37 -69
- package/dist/{hostInit-f6pcodUU.mjs → hostInit-DLuWUcfR.mjs} +3 -3
- package/dist/index.js +1 -1
- package/dist/orchestrator/training.addon.js +2 -3
- package/dist/orchestrator/training.addon.mjs +2 -3
- package/dist/{player-overlays-saWxwbq-.mjs → player-overlays-y8PpBdw1.mjs} +1 -1
- package/dist/providers/modal/training-modal.addon.js +2 -3
- package/dist/providers/modal/training-modal.addon.mjs +2 -3
- package/dist/remoteEntry.js +1 -1
- package/dist/{responsive-C-kjtT6v.mjs → responsive-D6K3fIzW.mjs} +1 -1
- package/dist/uPlot.esm-CKIREYRS.mjs +2147 -0
- package/dist/{virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_training_page__remoteEntry_js-DcBJVR_p.mjs → virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_training_page__remoteEntry_js-BxvimIe2.mjs} +1 -1
- package/package.json +1 -1
- package/dist/_virtual_mf___mfe_internal__addon_training_page__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-BTskGj2K.mjs +0 -26
|
@@ -5547,7 +5547,7 @@ var ZodIssueCode = {
|
|
|
5547
5547
|
var ZodFirstPartyTypeKind;
|
|
5548
5548
|
ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
|
|
5549
5549
|
//#endregion
|
|
5550
|
-
//#region ../types/dist/sleep-
|
|
5550
|
+
//#region ../types/dist/sleep-CSuN0thG.mjs
|
|
5551
5551
|
/**
|
|
5552
5552
|
* The audio chunk plane's byte format, and the ONE expansion from a coded
|
|
5553
5553
|
* window to float samples (D455).
|
|
@@ -8158,7 +8158,13 @@ var RecordKindDeclarationSchema = object({
|
|
|
8158
8158
|
secretPaths: array(string().min(1)).default([]),
|
|
8159
8159
|
/** The id key of each array that carries a secret (`{ headers: 'name' }`). */
|
|
8160
8160
|
secretArrayKeys: record(string(), string()).default({}),
|
|
8161
|
-
/**
|
|
8161
|
+
/**
|
|
8162
|
+
* RETIRED (D900): the legacy table a kind adopted from during the records
|
|
8163
|
+
* migration. Nothing declares it any more and nothing reads it; the schema
|
|
8164
|
+
* still ACCEPTS it because the catalog rows the migration wrote carry it
|
|
8165
|
+
* (an orphaned kind is never redeclared) and an addon built before the
|
|
8166
|
+
* removal still sends it. Never set it.
|
|
8167
|
+
*/
|
|
8162
8168
|
adoptsFrom: string().min(1).optional(),
|
|
8163
8169
|
/** Kinds that must agree through `transact` sit in one file under one family name. */
|
|
8164
8170
|
transactFamily: string().min(1).optional(),
|
|
@@ -8233,7 +8239,6 @@ function defineRecordKinds(specs) {
|
|
|
8233
8239
|
maxDataBytes: spec.maxDataBytes,
|
|
8234
8240
|
secretPaths: [...secretPaths],
|
|
8235
8241
|
secretArrayKeys: spec.secretArrayKeys === void 0 ? void 0 : { ...spec.secretArrayKeys },
|
|
8236
|
-
adoptsFrom: spec.adoptsFrom,
|
|
8237
8242
|
transactFamily: spec.transactFamily,
|
|
8238
8243
|
entry: spec.entry === void 0 ? void 0 : {
|
|
8239
8244
|
title: spec.entry.title,
|
|
@@ -8277,7 +8282,6 @@ function defineEntryKind(name, spec) {
|
|
|
8277
8282
|
...spec.database === void 0 ? {} : { database: spec.database },
|
|
8278
8283
|
...spec.indexes === void 0 ? {} : { indexes: spec.indexes },
|
|
8279
8284
|
...spec.secretArrayKeys === void 0 ? {} : { secretArrayKeys: spec.secretArrayKeys },
|
|
8280
|
-
...spec.adoptsFrom === void 0 ? {} : { adoptsFrom: spec.adoptsFrom },
|
|
8281
8285
|
entry: {
|
|
8282
8286
|
title: spec.title,
|
|
8283
8287
|
...spec.nameField === void 0 ? {} : { nameField: spec.nameField }
|
|
@@ -8286,15 +8290,6 @@ function defineEntryKind(name, spec) {
|
|
|
8286
8290
|
if (defined === void 0) throw new DeclarationRefusedError(`entry kind "${name}" was not built`);
|
|
8287
8291
|
return defined;
|
|
8288
8292
|
}
|
|
8289
|
-
/**
|
|
8290
|
-
* Legacy source for entry adoption (B3): a list stored under addon-settings
|
|
8291
|
-
* `<addonId>.<key>` until records-adopt copies rows into the entry kind.
|
|
8292
|
-
*/
|
|
8293
|
-
var SETTINGS_ARRAY_ADOPTS_PREFIX = "@settings-array/";
|
|
8294
|
-
/** The `adoptsFrom` value for an addon-settings array field. */
|
|
8295
|
-
function settingsArrayAdoptsFrom(addonId, settingsKey) {
|
|
8296
|
-
return `${SETTINGS_ARRAY_ADOPTS_PREFIX}${addonId}/${settingsKey}`;
|
|
8297
|
-
}
|
|
8298
8293
|
/** Shared Zod schemas used across streaming capabilities. */
|
|
8299
8294
|
var CamProfileSchema = _enum([
|
|
8300
8295
|
"high",
|
|
@@ -16874,11 +16869,12 @@ var DeclareKindResultSchema = object({
|
|
|
16874
16869
|
kindId: number().int(),
|
|
16875
16870
|
state: RecordKindStateSchema,
|
|
16876
16871
|
createdIndexes: array(string()),
|
|
16877
|
-
/**
|
|
16878
|
-
|
|
16879
|
-
|
|
16880
|
-
|
|
16881
|
-
|
|
16872
|
+
/**
|
|
16873
|
+
* RETIRED (D900): always `null`. It carried the records-migration boot guard;
|
|
16874
|
+
* it stays on the wire, null, because an addon built before the removal reads
|
|
16875
|
+
* an ABSENT field as "adoption pending" and refuses to start.
|
|
16876
|
+
*/
|
|
16877
|
+
adoptionPending: _null()
|
|
16882
16878
|
});
|
|
16883
16879
|
/** Keychain refs a write released (the old marker is gone from the row): the owner deletes the values. */
|
|
16884
16880
|
var SecretRefsList = array(string());
|
|
@@ -17051,26 +17047,7 @@ method(object({ ownerPrefix: string().min(1).optional() }), object({ tables: arr
|
|
|
17051
17047
|
}), object({ kinds: array(StorageKindSchema) }), { auth: "admin" }), method(RecordQueryInputSchema.extend({
|
|
17052
17048
|
owner: string().min(1),
|
|
17053
17049
|
kind: RecordKindNameSchema
|
|
17054
|
-
}), RecordQueryResultSchema, { auth: "admin" })
|
|
17055
|
-
owner: string().min(1),
|
|
17056
|
-
kind: RecordKindNameSchema,
|
|
17057
|
-
records: array(RecordInputSchema).max(RECORD_BATCH_MAX),
|
|
17058
|
-
/** The LAST batch: the copy is complete, the boot guard stops asking. */
|
|
17059
|
-
complete: boolean().optional()
|
|
17060
|
-
}).refine((input) => input.records.length > 0 || input.complete === true, { message: "records must be non-empty unless complete is true" }), object({ adopted: number().int() }), {
|
|
17061
|
-
kind: "mutation",
|
|
17062
|
-
auth: "admin"
|
|
17063
|
-
}), method(object({
|
|
17064
|
-
collection: string().min(1),
|
|
17065
|
-
cursor: string().optional(),
|
|
17066
|
-
limit: number().int().min(1).max(1e3).optional()
|
|
17067
|
-
}), object({
|
|
17068
|
-
rows: array(object({
|
|
17069
|
-
id: string(),
|
|
17070
|
-
data: record(string(), unknown())
|
|
17071
|
-
})),
|
|
17072
|
-
nextCursor: string().nullable()
|
|
17073
|
-
}), { auth: "admin" }), method(object({ collection: string().min(1) }), object({ adopted: boolean() }), { auth: "admin" });
|
|
17050
|
+
}), RecordQueryResultSchema, { auth: "admin" });
|
|
17074
17051
|
/**
|
|
17075
17052
|
* record-entries - the ONE admin surface for every list of user-created entries
|
|
17076
17053
|
* (D881): notification targets, brokers, LLM profiles, anything an addon
|
|
@@ -58232,9 +58209,24 @@ var NpuInfoSchema = object({
|
|
|
58232
58209
|
name: string().optional(),
|
|
58233
58210
|
generation: _enum(["xdna1", "xdna2"]).optional()
|
|
58234
58211
|
});
|
|
58212
|
+
var CoralBusSchema = _enum(["usb", "pci"]);
|
|
58235
58213
|
var CoralInfoSchema = object({
|
|
58236
58214
|
type: literal("coral-edgetpu"),
|
|
58237
|
-
bus
|
|
58215
|
+
/** Legacy single-bus report (older nodes) — read via `coralUsableUnits`. */
|
|
58216
|
+
bus: string().optional(),
|
|
58217
|
+
/** Legacy USB unit count (older nodes) — read via `coralUsableUnits`. */
|
|
58218
|
+
count: number().int().nonnegative().optional(),
|
|
58219
|
+
/** Usable units per bus — each one is its own `edgetpu:<bus>[:N]` device. */
|
|
58220
|
+
units: array(object({
|
|
58221
|
+
bus: CoralBusSchema,
|
|
58222
|
+
count: number().int().nonnegative()
|
|
58223
|
+
})).readonly().optional(),
|
|
58224
|
+
/** Present-but-unusable units, each with its typed reason (never "absent"). */
|
|
58225
|
+
unavailable: array(object({
|
|
58226
|
+
bus: CoralBusSchema,
|
|
58227
|
+
count: number().int().nonnegative(),
|
|
58228
|
+
reason: _enum(["driver-missing", "device-not-accessible"])
|
|
58229
|
+
})).readonly().optional()
|
|
58238
58230
|
});
|
|
58239
58231
|
var HardwareInfoSchema = object({
|
|
58240
58232
|
platform: HardwarePlatformSchema,
|
|
@@ -64334,6 +64326,12 @@ Object.freeze({
|
|
|
64334
64326
|
addonId: null,
|
|
64335
64327
|
access: "view"
|
|
64336
64328
|
},
|
|
64329
|
+
"deviceHistory.queryMany": {
|
|
64330
|
+
capName: "device-history",
|
|
64331
|
+
capScope: "system",
|
|
64332
|
+
addonId: null,
|
|
64333
|
+
access: "view"
|
|
64334
|
+
},
|
|
64337
64335
|
"deviceHistory.queryNode": {
|
|
64338
64336
|
capName: "device-history",
|
|
64339
64337
|
capScope: "system",
|
|
@@ -69554,24 +69552,12 @@ Object.freeze({
|
|
|
69554
69552
|
addonId: null,
|
|
69555
69553
|
access: "create"
|
|
69556
69554
|
},
|
|
69557
|
-
"storageAdmin.adoptRecords": {
|
|
69558
|
-
capName: "storage-admin",
|
|
69559
|
-
capScope: "system",
|
|
69560
|
-
addonId: null,
|
|
69561
|
-
access: "create"
|
|
69562
|
-
},
|
|
69563
69555
|
"storageAdmin.dropCollection": {
|
|
69564
69556
|
capName: "storage-admin",
|
|
69565
69557
|
capScope: "system",
|
|
69566
69558
|
addonId: null,
|
|
69567
69559
|
access: "delete"
|
|
69568
69560
|
},
|
|
69569
|
-
"storageAdmin.isAdoptedLegacyTable": {
|
|
69570
|
-
capName: "storage-admin",
|
|
69571
|
-
capScope: "system",
|
|
69572
|
-
addonId: null,
|
|
69573
|
-
access: "view"
|
|
69574
|
-
},
|
|
69575
69561
|
"storageAdmin.listKinds": {
|
|
69576
69562
|
capName: "storage-admin",
|
|
69577
69563
|
capScope: "system",
|
|
@@ -69584,12 +69570,6 @@ Object.freeze({
|
|
|
69584
69570
|
addonId: null,
|
|
69585
69571
|
access: "view"
|
|
69586
69572
|
},
|
|
69587
|
-
"storageAdmin.readLegacyCollection": {
|
|
69588
|
-
capName: "storage-admin",
|
|
69589
|
-
capScope: "system",
|
|
69590
|
-
addonId: null,
|
|
69591
|
-
access: "view"
|
|
69592
|
-
},
|
|
69593
69573
|
"storageAdmin.readRecords": {
|
|
69594
69574
|
capName: "storage-admin",
|
|
69595
69575
|
capScope: "system",
|
|
@@ -73404,12 +73384,6 @@ Object.freeze({
|
|
|
73404
73384
|
form: "single",
|
|
73405
73385
|
optional: false
|
|
73406
73386
|
}],
|
|
73407
|
-
"storageAdmin.adoptRecords": [{
|
|
73408
|
-
name: "records",
|
|
73409
|
-
form: "object-array",
|
|
73410
|
-
optional: false,
|
|
73411
|
-
itemField: "deviceId"
|
|
73412
|
-
}],
|
|
73413
73387
|
"storageAdmin.readRecords": [{
|
|
73414
73388
|
name: "deviceId",
|
|
73415
73389
|
form: "single",
|
|
@@ -74902,4 +74876,4 @@ DEFAULT_NATIVE_LEASE_SETTINGS.admission;
|
|
|
74902
74876
|
var MB = 1024 * 1024;
|
|
74903
74877
|
1024 * MB, 3072 * MB;
|
|
74904
74878
|
//#endregion
|
|
74905
|
-
export {
|
|
74879
|
+
export { record as C, object as S, isSecretClear as _, addonPagesSourceCapability as a, boolean as b, trainingProviderCapability as c, SECRET_CLEAR as d, arrayItemFieldPath as f, globalSecretScope as g, entryBody as h, TrainingResultSchema as i, BaseAddon as l, defineRecordKinds as m, TrainingJobSchema as n, parseTrainingEventLine as o, defineEntryKind as p, TrainingJobSpecSchema as r, trainingCapability as s, TRAINING_JOB_SCHEMA as t, RECORD_MAX_DATA_BYTES as u, isSecretMarker as v, string as w, number as x, toSecretFieldView as y };
|
|
@@ -5580,7 +5580,7 @@ var ZodIssueCode = {
|
|
|
5580
5580
|
var ZodFirstPartyTypeKind;
|
|
5581
5581
|
ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
|
|
5582
5582
|
//#endregion
|
|
5583
|
-
//#region ../types/dist/sleep-
|
|
5583
|
+
//#region ../types/dist/sleep-CSuN0thG.mjs
|
|
5584
5584
|
/**
|
|
5585
5585
|
* The audio chunk plane's byte format, and the ONE expansion from a coded
|
|
5586
5586
|
* window to float samples (D455).
|
|
@@ -8191,7 +8191,13 @@ var RecordKindDeclarationSchema = object({
|
|
|
8191
8191
|
secretPaths: array(string().min(1)).default([]),
|
|
8192
8192
|
/** The id key of each array that carries a secret (`{ headers: 'name' }`). */
|
|
8193
8193
|
secretArrayKeys: record(string(), string()).default({}),
|
|
8194
|
-
/**
|
|
8194
|
+
/**
|
|
8195
|
+
* RETIRED (D900): the legacy table a kind adopted from during the records
|
|
8196
|
+
* migration. Nothing declares it any more and nothing reads it; the schema
|
|
8197
|
+
* still ACCEPTS it because the catalog rows the migration wrote carry it
|
|
8198
|
+
* (an orphaned kind is never redeclared) and an addon built before the
|
|
8199
|
+
* removal still sends it. Never set it.
|
|
8200
|
+
*/
|
|
8195
8201
|
adoptsFrom: string().min(1).optional(),
|
|
8196
8202
|
/** Kinds that must agree through `transact` sit in one file under one family name. */
|
|
8197
8203
|
transactFamily: string().min(1).optional(),
|
|
@@ -8266,7 +8272,6 @@ function defineRecordKinds(specs) {
|
|
|
8266
8272
|
maxDataBytes: spec.maxDataBytes,
|
|
8267
8273
|
secretPaths: [...secretPaths],
|
|
8268
8274
|
secretArrayKeys: spec.secretArrayKeys === void 0 ? void 0 : { ...spec.secretArrayKeys },
|
|
8269
|
-
adoptsFrom: spec.adoptsFrom,
|
|
8270
8275
|
transactFamily: spec.transactFamily,
|
|
8271
8276
|
entry: spec.entry === void 0 ? void 0 : {
|
|
8272
8277
|
title: spec.entry.title,
|
|
@@ -8310,7 +8315,6 @@ function defineEntryKind(name, spec) {
|
|
|
8310
8315
|
...spec.database === void 0 ? {} : { database: spec.database },
|
|
8311
8316
|
...spec.indexes === void 0 ? {} : { indexes: spec.indexes },
|
|
8312
8317
|
...spec.secretArrayKeys === void 0 ? {} : { secretArrayKeys: spec.secretArrayKeys },
|
|
8313
|
-
...spec.adoptsFrom === void 0 ? {} : { adoptsFrom: spec.adoptsFrom },
|
|
8314
8318
|
entry: {
|
|
8315
8319
|
title: spec.title,
|
|
8316
8320
|
...spec.nameField === void 0 ? {} : { nameField: spec.nameField }
|
|
@@ -8319,15 +8323,6 @@ function defineEntryKind(name, spec) {
|
|
|
8319
8323
|
if (defined === void 0) throw new DeclarationRefusedError(`entry kind "${name}" was not built`);
|
|
8320
8324
|
return defined;
|
|
8321
8325
|
}
|
|
8322
|
-
/**
|
|
8323
|
-
* Legacy source for entry adoption (B3): a list stored under addon-settings
|
|
8324
|
-
* `<addonId>.<key>` until records-adopt copies rows into the entry kind.
|
|
8325
|
-
*/
|
|
8326
|
-
var SETTINGS_ARRAY_ADOPTS_PREFIX = "@settings-array/";
|
|
8327
|
-
/** The `adoptsFrom` value for an addon-settings array field. */
|
|
8328
|
-
function settingsArrayAdoptsFrom(addonId, settingsKey) {
|
|
8329
|
-
return `${SETTINGS_ARRAY_ADOPTS_PREFIX}${addonId}/${settingsKey}`;
|
|
8330
|
-
}
|
|
8331
8326
|
/** Shared Zod schemas used across streaming capabilities. */
|
|
8332
8327
|
var CamProfileSchema = _enum([
|
|
8333
8328
|
"high",
|
|
@@ -16907,11 +16902,12 @@ var DeclareKindResultSchema = object({
|
|
|
16907
16902
|
kindId: number().int(),
|
|
16908
16903
|
state: RecordKindStateSchema,
|
|
16909
16904
|
createdIndexes: array(string()),
|
|
16910
|
-
/**
|
|
16911
|
-
|
|
16912
|
-
|
|
16913
|
-
|
|
16914
|
-
|
|
16905
|
+
/**
|
|
16906
|
+
* RETIRED (D900): always `null`. It carried the records-migration boot guard;
|
|
16907
|
+
* it stays on the wire, null, because an addon built before the removal reads
|
|
16908
|
+
* an ABSENT field as "adoption pending" and refuses to start.
|
|
16909
|
+
*/
|
|
16910
|
+
adoptionPending: _null()
|
|
16915
16911
|
});
|
|
16916
16912
|
/** Keychain refs a write released (the old marker is gone from the row): the owner deletes the values. */
|
|
16917
16913
|
var SecretRefsList = array(string());
|
|
@@ -17084,26 +17080,7 @@ method(object({ ownerPrefix: string().min(1).optional() }), object({ tables: arr
|
|
|
17084
17080
|
}), object({ kinds: array(StorageKindSchema) }), { auth: "admin" }), method(RecordQueryInputSchema.extend({
|
|
17085
17081
|
owner: string().min(1),
|
|
17086
17082
|
kind: RecordKindNameSchema
|
|
17087
|
-
}), RecordQueryResultSchema, { auth: "admin" })
|
|
17088
|
-
owner: string().min(1),
|
|
17089
|
-
kind: RecordKindNameSchema,
|
|
17090
|
-
records: array(RecordInputSchema).max(RECORD_BATCH_MAX),
|
|
17091
|
-
/** The LAST batch: the copy is complete, the boot guard stops asking. */
|
|
17092
|
-
complete: boolean().optional()
|
|
17093
|
-
}).refine((input) => input.records.length > 0 || input.complete === true, { message: "records must be non-empty unless complete is true" }), object({ adopted: number().int() }), {
|
|
17094
|
-
kind: "mutation",
|
|
17095
|
-
auth: "admin"
|
|
17096
|
-
}), method(object({
|
|
17097
|
-
collection: string().min(1),
|
|
17098
|
-
cursor: string().optional(),
|
|
17099
|
-
limit: number().int().min(1).max(1e3).optional()
|
|
17100
|
-
}), object({
|
|
17101
|
-
rows: array(object({
|
|
17102
|
-
id: string(),
|
|
17103
|
-
data: record(string(), unknown())
|
|
17104
|
-
})),
|
|
17105
|
-
nextCursor: string().nullable()
|
|
17106
|
-
}), { auth: "admin" }), method(object({ collection: string().min(1) }), object({ adopted: boolean() }), { auth: "admin" });
|
|
17083
|
+
}), RecordQueryResultSchema, { auth: "admin" });
|
|
17107
17084
|
/**
|
|
17108
17085
|
* record-entries - the ONE admin surface for every list of user-created entries
|
|
17109
17086
|
* (D881): notification targets, brokers, LLM profiles, anything an addon
|
|
@@ -58265,9 +58242,24 @@ var NpuInfoSchema = object({
|
|
|
58265
58242
|
name: string().optional(),
|
|
58266
58243
|
generation: _enum(["xdna1", "xdna2"]).optional()
|
|
58267
58244
|
});
|
|
58245
|
+
var CoralBusSchema = _enum(["usb", "pci"]);
|
|
58268
58246
|
var CoralInfoSchema = object({
|
|
58269
58247
|
type: literal("coral-edgetpu"),
|
|
58270
|
-
bus
|
|
58248
|
+
/** Legacy single-bus report (older nodes) — read via `coralUsableUnits`. */
|
|
58249
|
+
bus: string().optional(),
|
|
58250
|
+
/** Legacy USB unit count (older nodes) — read via `coralUsableUnits`. */
|
|
58251
|
+
count: number().int().nonnegative().optional(),
|
|
58252
|
+
/** Usable units per bus — each one is its own `edgetpu:<bus>[:N]` device. */
|
|
58253
|
+
units: array(object({
|
|
58254
|
+
bus: CoralBusSchema,
|
|
58255
|
+
count: number().int().nonnegative()
|
|
58256
|
+
})).readonly().optional(),
|
|
58257
|
+
/** Present-but-unusable units, each with its typed reason (never "absent"). */
|
|
58258
|
+
unavailable: array(object({
|
|
58259
|
+
bus: CoralBusSchema,
|
|
58260
|
+
count: number().int().nonnegative(),
|
|
58261
|
+
reason: _enum(["driver-missing", "device-not-accessible"])
|
|
58262
|
+
})).readonly().optional()
|
|
58271
58263
|
});
|
|
58272
58264
|
var HardwareInfoSchema = object({
|
|
58273
58265
|
platform: HardwarePlatformSchema,
|
|
@@ -64367,6 +64359,12 @@ Object.freeze({
|
|
|
64367
64359
|
addonId: null,
|
|
64368
64360
|
access: "view"
|
|
64369
64361
|
},
|
|
64362
|
+
"deviceHistory.queryMany": {
|
|
64363
|
+
capName: "device-history",
|
|
64364
|
+
capScope: "system",
|
|
64365
|
+
addonId: null,
|
|
64366
|
+
access: "view"
|
|
64367
|
+
},
|
|
64370
64368
|
"deviceHistory.queryNode": {
|
|
64371
64369
|
capName: "device-history",
|
|
64372
64370
|
capScope: "system",
|
|
@@ -69587,24 +69585,12 @@ Object.freeze({
|
|
|
69587
69585
|
addonId: null,
|
|
69588
69586
|
access: "create"
|
|
69589
69587
|
},
|
|
69590
|
-
"storageAdmin.adoptRecords": {
|
|
69591
|
-
capName: "storage-admin",
|
|
69592
|
-
capScope: "system",
|
|
69593
|
-
addonId: null,
|
|
69594
|
-
access: "create"
|
|
69595
|
-
},
|
|
69596
69588
|
"storageAdmin.dropCollection": {
|
|
69597
69589
|
capName: "storage-admin",
|
|
69598
69590
|
capScope: "system",
|
|
69599
69591
|
addonId: null,
|
|
69600
69592
|
access: "delete"
|
|
69601
69593
|
},
|
|
69602
|
-
"storageAdmin.isAdoptedLegacyTable": {
|
|
69603
|
-
capName: "storage-admin",
|
|
69604
|
-
capScope: "system",
|
|
69605
|
-
addonId: null,
|
|
69606
|
-
access: "view"
|
|
69607
|
-
},
|
|
69608
69594
|
"storageAdmin.listKinds": {
|
|
69609
69595
|
capName: "storage-admin",
|
|
69610
69596
|
capScope: "system",
|
|
@@ -69617,12 +69603,6 @@ Object.freeze({
|
|
|
69617
69603
|
addonId: null,
|
|
69618
69604
|
access: "view"
|
|
69619
69605
|
},
|
|
69620
|
-
"storageAdmin.readLegacyCollection": {
|
|
69621
|
-
capName: "storage-admin",
|
|
69622
|
-
capScope: "system",
|
|
69623
|
-
addonId: null,
|
|
69624
|
-
access: "view"
|
|
69625
|
-
},
|
|
69626
69606
|
"storageAdmin.readRecords": {
|
|
69627
69607
|
capName: "storage-admin",
|
|
69628
69608
|
capScope: "system",
|
|
@@ -73437,12 +73417,6 @@ Object.freeze({
|
|
|
73437
73417
|
form: "single",
|
|
73438
73418
|
optional: false
|
|
73439
73419
|
}],
|
|
73440
|
-
"storageAdmin.adoptRecords": [{
|
|
73441
|
-
name: "records",
|
|
73442
|
-
form: "object-array",
|
|
73443
|
-
optional: false,
|
|
73444
|
-
itemField: "deviceId"
|
|
73445
|
-
}],
|
|
73446
73420
|
"storageAdmin.readRecords": [{
|
|
73447
73421
|
name: "deviceId",
|
|
73448
73422
|
form: "single",
|
|
@@ -75085,12 +75059,6 @@ Object.defineProperty(exports, "record", {
|
|
|
75085
75059
|
return record;
|
|
75086
75060
|
}
|
|
75087
75061
|
});
|
|
75088
|
-
Object.defineProperty(exports, "settingsArrayAdoptsFrom", {
|
|
75089
|
-
enumerable: true,
|
|
75090
|
-
get: function() {
|
|
75091
|
-
return settingsArrayAdoptsFrom;
|
|
75092
|
-
}
|
|
75093
|
-
});
|
|
75094
75062
|
Object.defineProperty(exports, "string", {
|
|
75095
75063
|
enumerable: true,
|
|
75096
75064
|
get: function() {
|
|
@@ -36,7 +36,7 @@ async function r() {
|
|
|
36
36
|
}
|
|
37
37
|
},
|
|
38
38
|
"@camstack/types": {
|
|
39
|
-
version: "1.2.
|
|
39
|
+
version: "1.2.390",
|
|
40
40
|
scope: "default",
|
|
41
41
|
shareConfig: {
|
|
42
42
|
singleton: !0,
|
|
@@ -45,7 +45,7 @@ async function r() {
|
|
|
45
45
|
}
|
|
46
46
|
},
|
|
47
47
|
"@camstack/sdk": {
|
|
48
|
-
version: "1.2.
|
|
48
|
+
version: "1.2.140",
|
|
49
49
|
scope: "default",
|
|
50
50
|
shareConfig: {
|
|
51
51
|
singleton: !0,
|
|
@@ -81,7 +81,7 @@ async function r() {
|
|
|
81
81
|
}
|
|
82
82
|
},
|
|
83
83
|
"@camstack/ui-library": {
|
|
84
|
-
version: "1.2.
|
|
84
|
+
version: "1.2.307",
|
|
85
85
|
scope: "default",
|
|
86
86
|
shareConfig: {
|
|
87
87
|
singleton: !0,
|
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
require("./dist-
|
|
2
|
+
require("./dist-DpVVVPlD.js");
|
|
3
3
|
const require_orchestrator_training_addon = require("./orchestrator/training.addon.js");
|
|
4
4
|
const require_providers_modal_training_modal_addon = require("./providers/modal/training-modal.addon.js");
|
|
5
5
|
//#region src/providers/fake/fake-provider.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_dist = require("../dist-
|
|
2
|
+
const require_dist = require("../dist-DpVVVPlD.js");
|
|
3
3
|
let node_path = require("node:path");
|
|
4
4
|
node_path = require_dist.__toESM(node_path);
|
|
5
5
|
let node_crypto = require("node:crypto");
|
|
@@ -1646,8 +1646,7 @@ var trainingRecordKinds = require_dist.defineRecordKinds({ jobs: {
|
|
|
1646
1646
|
unique: true
|
|
1647
1647
|
}],
|
|
1648
1648
|
retention: { none: "a job row is the record of what ran; it leaves only when the operator deletes it" },
|
|
1649
|
-
maxDataBytes: require_dist.RECORD_MAX_DATA_BYTES
|
|
1650
|
-
adoptsFrom: "training:jobs"
|
|
1649
|
+
maxDataBytes: require_dist.RECORD_MAX_DATA_BYTES
|
|
1651
1650
|
} });
|
|
1652
1651
|
//#endregion
|
|
1653
1652
|
//#region src/orchestrator/stores.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as addonPagesSourceCapability, i as TrainingResultSchema, l as BaseAddon, m as defineRecordKinds, n as TrainingJobSchema, o as parseTrainingEventLine, r as TrainingJobSpecSchema, s as trainingCapability, t as TRAINING_JOB_SCHEMA, u as RECORD_MAX_DATA_BYTES } from "../dist-
|
|
1
|
+
import { a as addonPagesSourceCapability, i as TrainingResultSchema, l as BaseAddon, m as defineRecordKinds, n as TrainingJobSchema, o as parseTrainingEventLine, r as TrainingJobSpecSchema, s as trainingCapability, t as TRAINING_JOB_SCHEMA, u as RECORD_MAX_DATA_BYTES } from "../dist-C-kehMXS.mjs";
|
|
2
2
|
import path from "node:path";
|
|
3
3
|
import { createHash } from "node:crypto";
|
|
4
4
|
import { createReadStream } from "node:fs";
|
|
@@ -1644,8 +1644,7 @@ var trainingRecordKinds = defineRecordKinds({ jobs: {
|
|
|
1644
1644
|
unique: true
|
|
1645
1645
|
}],
|
|
1646
1646
|
retention: { none: "a job row is the record of what ran; it leaves only when the operator deletes it" },
|
|
1647
|
-
maxDataBytes: RECORD_MAX_DATA_BYTES
|
|
1648
|
-
adoptsFrom: "training:jobs"
|
|
1647
|
+
maxDataBytes: RECORD_MAX_DATA_BYTES
|
|
1649
1648
|
} });
|
|
1650
1649
|
//#endregion
|
|
1651
1650
|
//#region src/orchestrator/stores.ts
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { d as e, u as t, w as n, y as r } from "./_virtual_mf___mfe_internal__addon_training_page__loadShare__react__loadShare__.js-CEvdvp1T.mjs";
|
|
2
2
|
import { n as i, r as a, t as o } from "./_virtual_mf___mfe_internal__addon_training_page__loadShare__react_mf_1_jsx_mf_2_runtime__loadShare__.js-DnrbBvrw.mjs";
|
|
3
3
|
import { n as s, t as c } from "./chevron-right-cA8Hucbi.mjs";
|
|
4
|
-
import { h as l } from "./responsive-
|
|
4
|
+
import { h as l } from "./responsive-D6K3fIzW.mjs";
|
|
5
5
|
//#region ../ui-library/src/composites/widget-panel.tsx
|
|
6
6
|
n();
|
|
7
7
|
function u({ title: e, icon: t, headerRight: n, collapsible: l = !1, defaultOpen: u = !0, bodyClassName: d = "p-3", children: f }) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_dist = require("../../dist-
|
|
2
|
+
const require_dist = require("../../dist-DpVVVPlD.js");
|
|
3
3
|
let node_path = require("node:path");
|
|
4
4
|
node_path = require_dist.__toESM(node_path, 1);
|
|
5
5
|
let node_crypto = require("node:crypto");
|
|
@@ -88691,8 +88691,7 @@ var TrainingAccountBodySchema = require_dist.entryBody({
|
|
|
88691
88691
|
var trainingAccountEntryKind = require_dist.defineEntryKind("training-account", {
|
|
88692
88692
|
title: "Modal training accounts",
|
|
88693
88693
|
schema: TrainingAccountBodySchema,
|
|
88694
|
-
writeTrigger: "an operator adds or edits a cloud training provider account"
|
|
88695
|
-
adoptsFrom: require_dist.settingsArrayAdoptsFrom("training-modal", "entries")
|
|
88694
|
+
writeTrigger: "an operator adds or edits a cloud training provider account"
|
|
88696
88695
|
});
|
|
88697
88696
|
//#endregion
|
|
88698
88697
|
//#region src/providers/modal/training-modal.addon.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as
|
|
1
|
+
import { C as record, S as object, _ as isSecretClear, b as boolean, c as trainingProviderCapability, d as SECRET_CLEAR, f as arrayItemFieldPath, g as globalSecretScope, h as entryBody, l as BaseAddon, p as defineEntryKind, v as isSecretMarker, w as string, x as number, y as toSecretFieldView } from "../../dist-C-kehMXS.mjs";
|
|
2
2
|
import { createRequire } from "node:module";
|
|
3
3
|
import path, { dirname, posix } from "node:path";
|
|
4
4
|
import { createHash, createPrivateKey, createPublicKey, createSign, randomBytes, randomUUID } from "node:crypto";
|
|
@@ -88716,8 +88716,7 @@ var trainingAccountEntryKind = defineEntryKind("training-account", {
|
|
|
88716
88716
|
maxRuntimeHours: number(),
|
|
88717
88717
|
failedDatasetGraceHours: number()
|
|
88718
88718
|
}),
|
|
88719
|
-
writeTrigger: "an operator adds or edits a cloud training provider account"
|
|
88720
|
-
adoptsFrom: settingsArrayAdoptsFrom("training-modal", "entries")
|
|
88719
|
+
writeTrigger: "an operator adds or edits a cloud training provider account"
|
|
88721
88720
|
});
|
|
88722
88721
|
//#endregion
|
|
88723
88722
|
//#region src/providers/modal/training-modal.addon.ts
|
package/dist/remoteEntry.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as e, t } from "./virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_training_page__remoteEntry_js-
|
|
1
|
+
import { n as e, t } from "./virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_training_page__remoteEntry_js-BxvimIe2.mjs";
|
|
2
2
|
export { t as get, e as init };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { b as e, d as t, g as n, l as r, n as i, u as a, w as o, y as s } from "./_virtual_mf___mfe_internal__addon_training_page__loadShare__react__loadShare__.js-CEvdvp1T.mjs";
|
|
2
2
|
import "./_virtual_mf___mfe_internal__addon_training_page__loadShare__react_mf_1_jsx_mf_2_runtime__loadShare__.js-DnrbBvrw.mjs";
|
|
3
|
-
import { y as c } from "./_virtual_mf___mfe_internal__addon_training_page__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-
|
|
3
|
+
import { y as c } from "./_virtual_mf___mfe_internal__addon_training_page__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-06W1nHAc.mjs";
|
|
4
4
|
//#region ../ui-library/src/lib/shared-context.ts
|
|
5
5
|
o();
|
|
6
6
|
function l(e, t) {
|