@camstack/addon-auth 1.2.136 → 1.2.139
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/{dist-CaBcilKz.js → dist-BOK-Ox5c.mjs} +430 -292
- package/dist/{dist-DMFGQOff.mjs → dist-CiG_dP05.js} +625 -139
- package/dist/oidc/auth-oidc.addon.js +267 -104
- package/dist/oidc/auth-oidc.addon.mjs +267 -104
- package/dist/webauthn/_stub.js +1 -1
- package/dist/webauthn/{_virtual_mf-localSharedImportMap___mfe_internal__addon_auth_webauthn_widgets-BSmYiv_-.mjs → _virtual_mf-localSharedImportMap___mfe_internal__addon_auth_webauthn_widgets-WMEN28JY.mjs} +3 -3
- package/dist/webauthn/_virtual_mf___mfe_internal__addon_auth_webauthn_widgets__loadShare___mf_0_camstack_mf_1_ui_mf_2_library__loadShare__.js-D5ZLhXzm.mjs +26 -0
- package/dist/webauthn/auth-webauthn.addon.js +1 -1
- package/dist/webauthn/auth-webauthn.addon.mjs +1 -1
- package/dist/webauthn/{hostInit-MuJOFBLm.mjs → hostInit-B3K6bvzW.mjs} +3 -3
- package/dist/webauthn/remoteEntry.js +1 -1
- package/package.json +4 -1
- package/dist/webauthn/_virtual_mf___mfe_internal__addon_auth_webauthn_widgets__loadShare___mf_0_camstack_mf_1_ui_mf_2_library__loadShare__.js-DdVWgcLV.mjs +0 -26
|
@@ -1,37 +1,3 @@
|
|
|
1
|
-
//#region \0rolldown/runtime.js
|
|
2
|
-
var __create = Object.create;
|
|
3
|
-
var __defProp = Object.defineProperty;
|
|
4
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
-
var __getProtoOf = Object.getPrototypeOf;
|
|
7
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
8
|
-
var __esmMin = (fn, res) => () => (fn && (res = fn(fn = 0)), res);
|
|
9
|
-
var __commonJSMin = (cb, mod) => () => (mod || (cb((mod = { exports: {} }).exports, mod), cb = null), mod.exports);
|
|
10
|
-
var __exportAll = (all, no_symbols) => {
|
|
11
|
-
let target = {};
|
|
12
|
-
for (var name in all) __defProp(target, name, {
|
|
13
|
-
get: all[name],
|
|
14
|
-
enumerable: true
|
|
15
|
-
});
|
|
16
|
-
if (!no_symbols) __defProp(target, Symbol.toStringTag, { value: "Module" });
|
|
17
|
-
return target;
|
|
18
|
-
};
|
|
19
|
-
var __copyProps = (to, from, except, desc) => {
|
|
20
|
-
if (from && typeof from === "object" || typeof from === "function") for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
|
|
21
|
-
key = keys[i];
|
|
22
|
-
if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
|
|
23
|
-
get: ((k) => from[k]).bind(null, key),
|
|
24
|
-
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
25
|
-
});
|
|
26
|
-
}
|
|
27
|
-
return to;
|
|
28
|
-
};
|
|
29
|
-
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
|
|
30
|
-
value: mod,
|
|
31
|
-
enumerable: true
|
|
32
|
-
}) : target, mod));
|
|
33
|
-
var __toCommonJS = (mod) => __hasOwnProp.call(mod, "module.exports") ? mod["module.exports"] : __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
34
|
-
require("node:crypto");
|
|
35
1
|
//#region ../types/dist/event-category-DaIZi00R.mjs
|
|
36
2
|
var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
37
3
|
EventCategory["SystemBoot"] = "system.boot";
|
|
@@ -5410,7 +5376,7 @@ var ZodIssueCode = {
|
|
|
5410
5376
|
var ZodFirstPartyTypeKind;
|
|
5411
5377
|
ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
|
|
5412
5378
|
//#endregion
|
|
5413
|
-
//#region ../types/dist/sleep-
|
|
5379
|
+
//#region ../types/dist/sleep-DwAQ9sqX.mjs
|
|
5414
5380
|
/**
|
|
5415
5381
|
* The audio chunk plane's byte format, and the ONE expansion from a coded
|
|
5416
5382
|
* window to float samples (D455).
|
|
@@ -9349,6 +9315,16 @@ var CompositionSchema = object({
|
|
|
9349
9315
|
seen.add(feature.cap);
|
|
9350
9316
|
});
|
|
9351
9317
|
});
|
|
9318
|
+
var NodeColorIdSchema = _enum([
|
|
9319
|
+
"node-a",
|
|
9320
|
+
"node-b",
|
|
9321
|
+
"node-c",
|
|
9322
|
+
"node-d",
|
|
9323
|
+
"node-e",
|
|
9324
|
+
"node-f",
|
|
9325
|
+
"node-g",
|
|
9326
|
+
"node-h"
|
|
9327
|
+
]);
|
|
9352
9328
|
new Set([
|
|
9353
9329
|
"track",
|
|
9354
9330
|
"face",
|
|
@@ -18270,14 +18246,14 @@ var LlmProfileSchema = object({
|
|
|
18270
18246
|
/** ConfigUISchema tree passed through untyped on the wire (the
|
|
18271
18247
|
* notification-output `ConfigSchemaPassthrough` precedent at
|
|
18272
18248
|
* notification-output.cap.ts:151); the exported TS type re-tightens it. */
|
|
18273
|
-
var ConfigSchemaPassthrough$
|
|
18249
|
+
var ConfigSchemaPassthrough$3 = unknown();
|
|
18274
18250
|
var LlmProfileKindDescriptorSchema = object({
|
|
18275
18251
|
kind: LlmProfileKindSchema,
|
|
18276
18252
|
label: string(),
|
|
18277
18253
|
icon: string(),
|
|
18278
18254
|
/** Stamped by each provider so the concat-fanned catalog stays routable. */
|
|
18279
18255
|
addonId: string(),
|
|
18280
|
-
configSchema: ConfigSchemaPassthrough$
|
|
18256
|
+
configSchema: ConfigSchemaPassthrough$3
|
|
18281
18257
|
});
|
|
18282
18258
|
var LlmDefaultSelectorSchema = union([object({ consumer: string() }), object({ purpose: _enum(["text", "vision"]) })]);
|
|
18283
18259
|
var LlmDefaultSchema = object({
|
|
@@ -19406,7 +19382,7 @@ var TargetKindCapsSchema = object({
|
|
|
19406
19382
|
* the union is large and not meant for runtime validation here; the exported
|
|
19407
19383
|
* `TargetKind` type re-tightens `configSchema` to `ConfigUISchema`.
|
|
19408
19384
|
*/
|
|
19409
|
-
var ConfigSchemaPassthrough = unknown();
|
|
19385
|
+
var ConfigSchemaPassthrough$2 = unknown();
|
|
19410
19386
|
var TargetKindSchema = object({
|
|
19411
19387
|
kind: string(),
|
|
19412
19388
|
label: string(),
|
|
@@ -19443,7 +19419,7 @@ var TargetKindSchema = object({
|
|
|
19443
19419
|
* its raster path, which is the safe default for an unknown image.
|
|
19444
19420
|
*/
|
|
19445
19421
|
iconMediaType: string().optional(),
|
|
19446
|
-
configSchema: ConfigSchemaPassthrough,
|
|
19422
|
+
configSchema: ConfigSchemaPassthrough$2,
|
|
19447
19423
|
/**
|
|
19448
19424
|
* The config keys that decide WHERE this kind's secrets are sent (server,
|
|
19449
19425
|
* base URL, instance, chat, recipient). A save that changes any of them
|
|
@@ -22742,6 +22718,77 @@ var OauthIntegrationDescriptorSchema = object({
|
|
|
22742
22718
|
});
|
|
22743
22719
|
method(_void(), OauthIntegrationDescriptorSchema, { auth: "admin" });
|
|
22744
22720
|
/**
|
|
22721
|
+
* `oidc-connections` — CRUD for IdP rows under `auth-oidc` (D828 sibling).
|
|
22722
|
+
*
|
|
22723
|
+
* One hub-only singleton (`auth-oidc`). The Settings UI is a DataTable +
|
|
22724
|
+
* ItemFormDialog; there is no `editable-array` in `globalSettingsSchema`.
|
|
22725
|
+
* Operator-chosen `id` is the URL slug (`/addon/auth-oidc/<id>/…`) and is
|
|
22726
|
+
* immutable after create.
|
|
22727
|
+
*/
|
|
22728
|
+
var ConfigSchemaPassthrough$1 = unknown();
|
|
22729
|
+
var OidcConnectionSchema = object({
|
|
22730
|
+
id: string().min(1),
|
|
22731
|
+
displayName: string(),
|
|
22732
|
+
icon: string(),
|
|
22733
|
+
issuerUrl: string(),
|
|
22734
|
+
clientId: string(),
|
|
22735
|
+
/** Client id + secret present — never the secret value. */
|
|
22736
|
+
configured: boolean(),
|
|
22737
|
+
/**
|
|
22738
|
+
* Values for the connection form schema. `clientSecret` is a keychain
|
|
22739
|
+
* {@link SecretFieldView} or `null` / `''`, never plaintext (D789).
|
|
22740
|
+
*/
|
|
22741
|
+
formValues: record(string(), unknown()).optional()
|
|
22742
|
+
});
|
|
22743
|
+
/**
|
|
22744
|
+
* Patch one connection. Omitted or empty `clientSecret` keeps the stored
|
|
22745
|
+
* secret (D787). `{ $secretClear: true }` clears it. `id` is never renamed.
|
|
22746
|
+
*/
|
|
22747
|
+
var OidcConnectionUpdateInputSchema = object({
|
|
22748
|
+
id: string().min(1),
|
|
22749
|
+
displayName: string().min(1),
|
|
22750
|
+
icon: string().optional(),
|
|
22751
|
+
issuerUrl: string().optional(),
|
|
22752
|
+
clientId: string().optional(),
|
|
22753
|
+
clientSecret: union([string(), object({ $secretClear: literal(true) })]).optional(),
|
|
22754
|
+
redirectUri: string().optional(),
|
|
22755
|
+
scopes: string().optional(),
|
|
22756
|
+
usernameClaim: _enum([
|
|
22757
|
+
"preferred_username",
|
|
22758
|
+
"email",
|
|
22759
|
+
"sub"
|
|
22760
|
+
]).optional()
|
|
22761
|
+
});
|
|
22762
|
+
var oidcConnectionsCapability = {
|
|
22763
|
+
name: "oidc-connections",
|
|
22764
|
+
scope: "system",
|
|
22765
|
+
mode: "singleton",
|
|
22766
|
+
methods: {
|
|
22767
|
+
/** Form fields for Add/Edit (ConfigFormBuilder). */
|
|
22768
|
+
connectionFormSchema: method(object({}), ConfigSchemaPassthrough$1, { auth: "admin" }),
|
|
22769
|
+
listConnections: method(object({}), array(OidcConnectionSchema).readonly(), { auth: "admin" }),
|
|
22770
|
+
/**
|
|
22771
|
+
* Create a row with the operator-chosen URL slug. Credentials follow via
|
|
22772
|
+
* `updateConnection` (same Save path as Training Providers).
|
|
22773
|
+
*/
|
|
22774
|
+
createConnection: method(object({
|
|
22775
|
+
id: string().min(1).regex(/^[a-z0-9][a-z0-9-]{0,63}$/, "id must be a lowercase slug"),
|
|
22776
|
+
displayName: string().min(1)
|
|
22777
|
+
}), object({ id: string() }), {
|
|
22778
|
+
kind: "mutation",
|
|
22779
|
+
auth: "admin"
|
|
22780
|
+
}),
|
|
22781
|
+
updateConnection: method(OidcConnectionUpdateInputSchema, object({ ok: literal(true) }), {
|
|
22782
|
+
kind: "mutation",
|
|
22783
|
+
auth: "admin"
|
|
22784
|
+
}),
|
|
22785
|
+
deleteConnection: method(object({ id: string().min(1) }), object({ ok: literal(true) }), {
|
|
22786
|
+
kind: "mutation",
|
|
22787
|
+
auth: "admin"
|
|
22788
|
+
})
|
|
22789
|
+
}
|
|
22790
|
+
};
|
|
22791
|
+
/**
|
|
22745
22792
|
* What started a camera's onboard motion (D672). `camera` is the camera's own
|
|
22746
22793
|
* firmware; `sensor` is a device the operator ATTACHED to it. Absent on the
|
|
22747
22794
|
* wire means the camera: only the camera-sensors bridge ever says `sensor`.
|
|
@@ -24098,24 +24145,69 @@ var RetrainFrameListSchema = object({
|
|
|
24098
24145
|
/** What the page pre-selects — the native key frame when one survives. */
|
|
24099
24146
|
autoPickMediaId: number().int().optional()
|
|
24100
24147
|
});
|
|
24148
|
+
/** Exclusive partition of a corpus copy's annotation progress (design §4.2). */
|
|
24149
|
+
var RetrainFrameWorkStateSchema = _enum([
|
|
24150
|
+
"unannotated",
|
|
24151
|
+
"annotated",
|
|
24152
|
+
"complete"
|
|
24153
|
+
]);
|
|
24154
|
+
/**
|
|
24155
|
+
* Filters for paginated corpus list, KPI, and matching export (design §4.4).
|
|
24156
|
+
* Every narrowing field is ANDed; omitted fields impose no constraint.
|
|
24157
|
+
*/
|
|
24158
|
+
var RetrainCorpusFilterSchema = object({
|
|
24159
|
+
workState: RetrainFrameWorkStateSchema.optional(),
|
|
24160
|
+
deviceIds: array(number()).max(500).optional(),
|
|
24161
|
+
/** When set, only frames in this named collection. */
|
|
24162
|
+
collectionId: string().optional(),
|
|
24163
|
+
/** Frames that carry at least one saved annotation in one of these classes. */
|
|
24164
|
+
classes: array(RetrainMacroClassSchema).optional(),
|
|
24165
|
+
page: number().int().positive().default(1),
|
|
24166
|
+
pageSize: number().int().positive().max(100).default(50)
|
|
24167
|
+
});
|
|
24168
|
+
var RetrainCorpusPageSchema = object({
|
|
24169
|
+
frames: array(RetrainFrameSchema.extend({ workState: RetrainFrameWorkStateSchema })).readonly(),
|
|
24170
|
+
total: number().int().nonnegative(),
|
|
24171
|
+
page: number().int().positive(),
|
|
24172
|
+
pageSize: number().int().positive()
|
|
24173
|
+
});
|
|
24174
|
+
var RetrainCorpusKpiCameraRowSchema = object({
|
|
24175
|
+
deviceId: number(),
|
|
24176
|
+
unannotated: number().int().nonnegative(),
|
|
24177
|
+
annotated: number().int().nonnegative(),
|
|
24178
|
+
complete: number().int().nonnegative(),
|
|
24179
|
+
/** This camera's `complete` count divided by corpus `total`, in `[0,1]`.
|
|
24180
|
+
* `null` when the corpus is empty (no ratio). */
|
|
24181
|
+
pctOfCorpus: number().min(0).max(1).nullable()
|
|
24182
|
+
});
|
|
24183
|
+
var RetrainCorpusKpiSchema = object({
|
|
24184
|
+
total: number().int().nonnegative(),
|
|
24185
|
+
unannotated: number().int().nonnegative(),
|
|
24186
|
+
annotated: number().int().nonnegative(),
|
|
24187
|
+
complete: number().int().nonnegative(),
|
|
24188
|
+
cameras: array(RetrainCorpusKpiCameraRowSchema).readonly()
|
|
24189
|
+
});
|
|
24101
24190
|
/**
|
|
24102
24191
|
* Which frames an annotated export carries. Every field narrows; an empty
|
|
24103
|
-
* filter is every annotated copy.
|
|
24104
|
-
*
|
|
24105
|
-
*
|
|
24106
|
-
*
|
|
24192
|
+
* filter is every annotated copy. `frameIds` is the primitive a job or
|
|
24193
|
+
* download uses; `batchId` re-selects what an earlier export carried
|
|
24194
|
+
* (`exportedInBatch`). Frozen dataset versions were removed — live selection
|
|
24195
|
+
* resolves to `frameIds` at plan/start.
|
|
24107
24196
|
*/
|
|
24108
24197
|
var RetrainExportFilterSchema = object({
|
|
24109
24198
|
deviceIds: array(number()).optional(),
|
|
24110
24199
|
frameIds: array(string()).max(2e4).optional(),
|
|
24111
24200
|
/** Only frames in at least one of these named collections. */
|
|
24112
24201
|
collectionIds: array(string()).max(200).optional(),
|
|
24113
|
-
/**
|
|
24114
|
-
|
|
24115
|
-
datasetVersionId: string().optional(),
|
|
24202
|
+
/** Single collection (Frames filter bar). ANDed with `collectionIds` when both set. */
|
|
24203
|
+
collectionId: string().optional(),
|
|
24116
24204
|
batchId: string().optional(),
|
|
24117
24205
|
/** Only frames the operator marked complete (all subjects boxed). */
|
|
24118
|
-
completeOnly: boolean().optional()
|
|
24206
|
+
completeOnly: boolean().optional(),
|
|
24207
|
+
/** Exclusive work-state partition (`workStateOf`); same as the corpus list. */
|
|
24208
|
+
workState: RetrainFrameWorkStateSchema.optional(),
|
|
24209
|
+
/** Frames with at least one saved annotation in one of these classes. */
|
|
24210
|
+
classes: array(RetrainMacroClassSchema).optional()
|
|
24119
24211
|
});
|
|
24120
24212
|
/**
|
|
24121
24213
|
* `frames`: the full frame copies, boxes in `annotations.json`.
|
|
@@ -24315,8 +24407,7 @@ var RetrainDatasetStatsSchema = object({
|
|
|
24315
24407
|
completeFrames: number().int()
|
|
24316
24408
|
})).readonly()
|
|
24317
24409
|
});
|
|
24318
|
-
|
|
24319
|
-
var RetrainDatasetVersionSchema = object({
|
|
24410
|
+
object({
|
|
24320
24411
|
id: string(),
|
|
24321
24412
|
name: string(),
|
|
24322
24413
|
createdAt: number(),
|
|
@@ -24324,22 +24415,33 @@ var RetrainDatasetVersionSchema = object({
|
|
|
24324
24415
|
layout: RetrainExportLayoutSchema,
|
|
24325
24416
|
completeOnly: boolean(),
|
|
24326
24417
|
frameCount: number().int(),
|
|
24327
|
-
/** sha256 of what the frames taught when the version was frozen. */
|
|
24328
24418
|
annotationHash: string(),
|
|
24329
|
-
/** The export manifest schema the version was cut under. */
|
|
24330
24419
|
manifestSchema: string(),
|
|
24331
24420
|
stats: RetrainDatasetStatsSchema
|
|
24332
24421
|
});
|
|
24333
|
-
|
|
24334
|
-
|
|
24335
|
-
|
|
24422
|
+
/**
|
|
24423
|
+
* Live training corpus criteria — same shape as `TrainingCorpusSelection` on
|
|
24424
|
+
* the training cap. Resolved here so plan/start and the annotated export share
|
|
24425
|
+
* one definition of "the frames" (`buildRetrainExportPlan`).
|
|
24426
|
+
*/
|
|
24427
|
+
var RetrainTrainingCorpusSelectionSchema = object({
|
|
24428
|
+
collectionIds: array(string()).min(1),
|
|
24429
|
+
workState: _enum([
|
|
24430
|
+
"complete",
|
|
24431
|
+
"annotated_or_complete",
|
|
24432
|
+
"any_annotated"
|
|
24433
|
+
]).default("complete")
|
|
24434
|
+
});
|
|
24435
|
+
var RetrainTrainingCorpusResolveResultSchema = discriminatedUnion("kind", [object({
|
|
24436
|
+
kind: literal("resolved"),
|
|
24437
|
+
frameIds: array(string()).max(2e4).readonly(),
|
|
24438
|
+
stats: RetrainDatasetStatsSchema,
|
|
24439
|
+
annotationHash: string(),
|
|
24440
|
+
layout: RetrainExportLayoutSchema
|
|
24336
24441
|
}), object({
|
|
24337
24442
|
kind: literal("refused"),
|
|
24338
|
-
reason: _enum([
|
|
24339
|
-
|
|
24340
|
-
"duplicate-name",
|
|
24341
|
-
"no-frames"
|
|
24342
|
-
])
|
|
24443
|
+
reason: _enum(["unknown-collection", "no-frames"]),
|
|
24444
|
+
detail: string()
|
|
24343
24445
|
})]);
|
|
24344
24446
|
/** The outcome of a lifecycle move owned by the retrain page. */
|
|
24345
24447
|
var RetrainTransitionResultSchema = object({
|
|
@@ -25046,6 +25148,12 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
|
|
|
25046
25148
|
}), array(RetrainTrackSchema).readonly(), {
|
|
25047
25149
|
kind: "query",
|
|
25048
25150
|
auth: "admin"
|
|
25151
|
+
}), method(RetrainCorpusFilterSchema, RetrainCorpusPageSchema, {
|
|
25152
|
+
kind: "query",
|
|
25153
|
+
auth: "admin"
|
|
25154
|
+
}), method(object({}), RetrainCorpusKpiSchema, {
|
|
25155
|
+
kind: "query",
|
|
25156
|
+
auth: "admin"
|
|
25049
25157
|
}), method(object({ trackId: string() }), RetrainFrameListSchema, {
|
|
25050
25158
|
kind: "query",
|
|
25051
25159
|
auth: "admin"
|
|
@@ -25141,36 +25249,6 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
|
|
|
25141
25249
|
kind: "mutation",
|
|
25142
25250
|
auth: "admin",
|
|
25143
25251
|
timeoutMs: 12e4
|
|
25144
|
-
}), method(object({
|
|
25145
|
-
selection: RetrainDatasetSelectionSchema,
|
|
25146
|
-
completeOnly: boolean().optional()
|
|
25147
|
-
}), RetrainDatasetStatsSchema, {
|
|
25148
|
-
kind: "query",
|
|
25149
|
-
auth: "admin"
|
|
25150
|
-
}), method(object({
|
|
25151
|
-
name: string().max(120),
|
|
25152
|
-
selection: RetrainDatasetSelectionSchema,
|
|
25153
|
-
layout: RetrainExportLayoutSchema,
|
|
25154
|
-
completeOnly: boolean()
|
|
25155
|
-
}), CreateRetrainDatasetVersionResultSchema, {
|
|
25156
|
-
kind: "mutation",
|
|
25157
|
-
auth: "admin",
|
|
25158
|
-
timeoutMs: 12e4
|
|
25159
|
-
}), method(object({}), array(RetrainDatasetVersionSchema).readonly(), {
|
|
25160
|
-
kind: "query",
|
|
25161
|
-
auth: "admin"
|
|
25162
|
-
}), method(object({ id: string() }), object({ deleted: boolean() }), {
|
|
25163
|
-
kind: "mutation",
|
|
25164
|
-
auth: "admin"
|
|
25165
|
-
}), method(object({ id: string() }), object({
|
|
25166
|
-
found: boolean(),
|
|
25167
|
-
annotationHash: string(),
|
|
25168
|
-
matches: boolean(),
|
|
25169
|
-
missingFrames: number().int()
|
|
25170
|
-
}), {
|
|
25171
|
-
kind: "query",
|
|
25172
|
-
auth: "admin",
|
|
25173
|
-
timeoutMs: 12e4
|
|
25174
25252
|
}), method(object({}), array(RetrainAssistProfileSchema).readonly(), {
|
|
25175
25253
|
kind: "query",
|
|
25176
25254
|
auth: "admin"
|
|
@@ -25197,6 +25275,10 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
|
|
|
25197
25275
|
}), method(object({}), array(RetrainCollectionSchema).readonly(), {
|
|
25198
25276
|
kind: "query",
|
|
25199
25277
|
auth: "admin"
|
|
25278
|
+
}), method(RetrainTrainingCorpusSelectionSchema, RetrainTrainingCorpusResolveResultSchema, {
|
|
25279
|
+
kind: "query",
|
|
25280
|
+
auth: "admin",
|
|
25281
|
+
timeoutMs: 6e4
|
|
25200
25282
|
}), method(object({
|
|
25201
25283
|
id: string(),
|
|
25202
25284
|
name: string().max(120)
|
|
@@ -25813,11 +25895,14 @@ var HardwareClassIdSchema = _enum([
|
|
|
25813
25895
|
"intel-n-series",
|
|
25814
25896
|
"apple-m-base",
|
|
25815
25897
|
"apple-m-pro",
|
|
25898
|
+
"amd-phoenix",
|
|
25816
25899
|
"unknown"
|
|
25817
25900
|
]);
|
|
25818
25901
|
var AcceleratorKindSchema = _enum([
|
|
25819
25902
|
"intel-npu",
|
|
25820
25903
|
"intel-igpu",
|
|
25904
|
+
"amd-igpu",
|
|
25905
|
+
"amd-npu",
|
|
25821
25906
|
"x86-cpu",
|
|
25822
25907
|
"arm-cpu",
|
|
25823
25908
|
"apple-ane",
|
|
@@ -27707,6 +27792,8 @@ var AgentPipelineSettingsSchema = object({
|
|
|
27707
27792
|
* address is wrong (multi-homed host, NAT, custom interface).
|
|
27708
27793
|
*/
|
|
27709
27794
|
reachableHost: string().optional(),
|
|
27795
|
+
/** Hub-persisted UI colour (`--color-node-*` theme tokens). */
|
|
27796
|
+
color: NodeColorIdSchema.optional(),
|
|
27710
27797
|
/**
|
|
27711
27798
|
* Multi-device inference opt-in (Phase 4). Per-node map deviceKey → {enabled,
|
|
27712
27799
|
* weight, steps}. Absent / all-disabled ⇒ the node's single default
|
|
@@ -28256,8 +28343,9 @@ method(object({
|
|
|
28256
28343
|
auth: "admin"
|
|
28257
28344
|
}), method(object({
|
|
28258
28345
|
agentNodeId: string(),
|
|
28259
|
-
reachableHost: string().nullable()
|
|
28260
|
-
|
|
28346
|
+
reachableHost: string().nullable().optional(),
|
|
28347
|
+
color: NodeColorIdSchema.nullable().optional()
|
|
28348
|
+
}).refine((v) => v.reachableHost !== void 0 || v.color !== void 0, { message: "reachableHost or color required" }), object({ success: literal(true) }), {
|
|
28261
28349
|
kind: "mutation",
|
|
28262
28350
|
auth: "admin"
|
|
28263
28351
|
}), method(object({
|
|
@@ -31339,7 +31427,7 @@ var CustomActionInputSchema = object({
|
|
|
31339
31427
|
action: string().min(1),
|
|
31340
31428
|
input: unknown()
|
|
31341
31429
|
});
|
|
31342
|
-
method(
|
|
31430
|
+
method(object({ nodeId: string().optional() }).optional(), array(AddonListItemSchema).readonly()), method(object({
|
|
31343
31431
|
addonId: string(),
|
|
31344
31432
|
limit: number().min(1).max(500).default(100),
|
|
31345
31433
|
level: LogLevelSchema$2.optional()
|
|
@@ -35232,6 +35320,7 @@ var OsdNamedTemplateSchema = object({
|
|
|
35232
35320
|
});
|
|
35233
35321
|
/** Where a slot's value comes from. */
|
|
35234
35322
|
var OsdSourceSchema = discriminatedUnion("kind", [
|
|
35323
|
+
object({ kind: literal("none") }),
|
|
35235
35324
|
object({
|
|
35236
35325
|
kind: literal("static"),
|
|
35237
35326
|
text: string().max(64)
|
|
@@ -35358,6 +35447,13 @@ method(object({ deviceId: number().int() }), object({
|
|
|
35358
35447
|
}), object({ success: literal(true) }), {
|
|
35359
35448
|
kind: "mutation",
|
|
35360
35449
|
auth: "admin"
|
|
35450
|
+
}), method(object({
|
|
35451
|
+
deviceId: number().int(),
|
|
35452
|
+
slotId: string().min(1),
|
|
35453
|
+
enabled: boolean()
|
|
35454
|
+
}), object({ success: literal(true) }), {
|
|
35455
|
+
kind: "mutation",
|
|
35456
|
+
auth: "admin"
|
|
35361
35457
|
}), method(object({
|
|
35362
35458
|
sourceDeviceId: number().int(),
|
|
35363
35459
|
targetDeviceId: number().int()
|
|
@@ -35738,7 +35834,15 @@ var GpuInfoSchema = object({
|
|
|
35738
35834
|
name: string(),
|
|
35739
35835
|
memoryMB: number().optional()
|
|
35740
35836
|
});
|
|
35741
|
-
var NpuInfoSchema = object({
|
|
35837
|
+
var NpuInfoSchema = object({
|
|
35838
|
+
type: _enum([
|
|
35839
|
+
"apple-ane",
|
|
35840
|
+
"intel-npu",
|
|
35841
|
+
"amd-xdna"
|
|
35842
|
+
]),
|
|
35843
|
+
name: string().optional(),
|
|
35844
|
+
generation: _enum(["xdna1", "xdna2"]).optional()
|
|
35845
|
+
});
|
|
35742
35846
|
var CoralInfoSchema = object({
|
|
35743
35847
|
type: literal("coral-edgetpu"),
|
|
35744
35848
|
bus: string().optional()
|
|
@@ -39500,9 +39604,11 @@ DeviceType.Camera, method(object({
|
|
|
39500
39604
|
* once is what makes a second provider (RunPod, a local NVIDIA node) a new
|
|
39501
39605
|
* manifest entry and nothing else.
|
|
39502
39606
|
*
|
|
39503
|
-
* Collection
|
|
39504
|
-
*
|
|
39505
|
-
*
|
|
39607
|
+
* Collection of provider **types** (addons). Each addon owns zero or more
|
|
39608
|
+
* **entries** (credentials + defaults). Concat-fans: `describe`,
|
|
39609
|
+
* `describeTypes`, `listEntries`, `listJobs`. Single-row work is keyed by
|
|
39610
|
+
* `entryId`; callers also pass the owning `addonId` as the collection
|
|
39611
|
+
* selector (broker posture). Every method is `admin`: these spend money.
|
|
39506
39612
|
*
|
|
39507
39613
|
* Every cloud object a provider creates is tagged with the orchestrator's
|
|
39508
39614
|
* `jobKey`, so a retried submit finds the job it already started instead of
|
|
@@ -39526,8 +39632,8 @@ var TrainingRegionOptionSchema = object({
|
|
|
39526
39632
|
priceMultiplier: number().positive()
|
|
39527
39633
|
});
|
|
39528
39634
|
/**
|
|
39529
|
-
* The provider's per-
|
|
39530
|
-
* live
|
|
39635
|
+
* The provider's per-entry settings, as the orchestrator reads them. They
|
|
39636
|
+
* live on the PROVIDER addon's entry (operator decision 2026-10-08: they
|
|
39531
39637
|
* depend on the user's account), never hard-coded in the orchestrator.
|
|
39532
39638
|
*/
|
|
39533
39639
|
var TrainingProviderDefaultsSchema = object({
|
|
@@ -39538,9 +39644,44 @@ var TrainingProviderDefaultsSchema = object({
|
|
|
39538
39644
|
/** Hours a FAILED job's cloud dataset is kept for debugging; 0 = delete at once. */
|
|
39539
39645
|
failedDatasetGraceHours: number().nonnegative()
|
|
39540
39646
|
});
|
|
39647
|
+
/**
|
|
39648
|
+
* Entry form schema for a provider type — same seam as notification
|
|
39649
|
+
* `TargetKind.configSchema` (`z.unknown()` at the wire; callers tighten to
|
|
39650
|
+
* {@link ConfigUISchema}). Drives `ConfigFormBuilder` on Training → Providers.
|
|
39651
|
+
*/
|
|
39652
|
+
var ConfigSchemaPassthrough = unknown();
|
|
39653
|
+
/** One creatable provider type, for the Add-entry dialog. */
|
|
39654
|
+
var TrainingProviderTypeSchema = object({
|
|
39655
|
+
typeId: string(),
|
|
39656
|
+
label: string(),
|
|
39657
|
+
/** Path under the addon package (e.g. `assets/training-modal/icon.svg`). */
|
|
39658
|
+
iconAsset: string(),
|
|
39659
|
+
/** Owning `training-provider` addon — collection selector for createEntry. */
|
|
39660
|
+
addonId: string(),
|
|
39661
|
+
/**
|
|
39662
|
+
* Fields for one entry of this type (credentials + defaults). Absent on a
|
|
39663
|
+
* type that only needs a name. Password fields are keychain-backed on the
|
|
39664
|
+
* provider addon (`secretStatePaths`), not D634 plaintext.
|
|
39665
|
+
*/
|
|
39666
|
+
configSchema: ConfigSchemaPassthrough.optional()
|
|
39667
|
+
});
|
|
39668
|
+
/** One configured account / workspace under a provider type. */
|
|
39669
|
+
var TrainingProviderEntrySchema = object({
|
|
39670
|
+
entryId: string(),
|
|
39671
|
+
typeId: string(),
|
|
39672
|
+
name: string(),
|
|
39673
|
+
addonId: string(),
|
|
39674
|
+
/** Credentials are present — never the values. */
|
|
39675
|
+
configured: boolean()
|
|
39676
|
+
});
|
|
39541
39677
|
var TrainingProviderDescriptorSchema = object({
|
|
39542
39678
|
addonId: string(),
|
|
39543
|
-
|
|
39679
|
+
entryId: string(),
|
|
39680
|
+
typeId: string(),
|
|
39681
|
+
/** Operator-chosen entry name. */
|
|
39682
|
+
name: string(),
|
|
39683
|
+
iconAsset: string(),
|
|
39684
|
+
/** `modal`, `runpod`, `fake`, … — same as typeId for current providers. */
|
|
39544
39685
|
kind: string(),
|
|
39545
39686
|
label: string(),
|
|
39546
39687
|
gpuTypes: array(TrainingGpuOptionSchema).readonly(),
|
|
@@ -39552,7 +39693,30 @@ var TrainingProviderDescriptorSchema = object({
|
|
|
39552
39693
|
dataResidencyNote: string(),
|
|
39553
39694
|
/** Credentials are present — never the values. */
|
|
39554
39695
|
configured: boolean(),
|
|
39555
|
-
defaults: TrainingProviderDefaultsSchema
|
|
39696
|
+
defaults: TrainingProviderDefaultsSchema,
|
|
39697
|
+
/**
|
|
39698
|
+
* Values for {@link TrainingProviderTypeSchema}'s `configSchema` — password
|
|
39699
|
+
* fields are keychain {@link SecretFieldView} or `null` / `''` (create),
|
|
39700
|
+
* never plaintext. Same hydrate contract as settings forms (D789).
|
|
39701
|
+
*/
|
|
39702
|
+
formValues: record(string(), unknown()).optional()
|
|
39703
|
+
});
|
|
39704
|
+
/**
|
|
39705
|
+
* Patch one entry's name, credentials and defaults. Pin with owning `{ addonId }`.
|
|
39706
|
+
* An omitted or empty `tokenSecret` means KEEP the stored secret (D787).
|
|
39707
|
+
* `{ $secretClear: true }` clears it.
|
|
39708
|
+
*/
|
|
39709
|
+
var TrainingProviderUpdateEntryInputSchema = object({
|
|
39710
|
+
entryId: string().min(1),
|
|
39711
|
+
name: string().min(1),
|
|
39712
|
+
tokenId: string().optional(),
|
|
39713
|
+
tokenSecret: union([string(), object({ $secretClear: literal(true) })]).optional(),
|
|
39714
|
+
environment: string().optional(),
|
|
39715
|
+
gpuType: string().optional(),
|
|
39716
|
+
region: string().optional(),
|
|
39717
|
+
costCapUsd: number().nonnegative().optional(),
|
|
39718
|
+
maxRuntimeSec: number().int().positive().optional(),
|
|
39719
|
+
failedDatasetGraceHours: number().nonnegative().optional()
|
|
39556
39720
|
});
|
|
39557
39721
|
var TrainingCredentialCheckSchema = object({
|
|
39558
39722
|
ok: boolean(),
|
|
@@ -39604,20 +39768,33 @@ var TrainerSourceRefSchema = object({
|
|
|
39604
39768
|
/** A commit sha (never a branch) — the job must be reproducible. */
|
|
39605
39769
|
revision: string().regex(/^[0-9a-f]{7,64}$/)
|
|
39606
39770
|
});
|
|
39771
|
+
/** Cloud job identity — route with the owning addon's `addonId` selector. */
|
|
39607
39772
|
var JobRef = {
|
|
39608
|
-
|
|
39773
|
+
entryId: string().min(1),
|
|
39609
39774
|
jobKey: string().uuid()
|
|
39610
39775
|
};
|
|
39611
39776
|
var TrainingLogLineSchema = object({
|
|
39612
39777
|
ts: number(),
|
|
39613
39778
|
text: string()
|
|
39614
39779
|
});
|
|
39615
|
-
method(object({}), array(TrainingProviderDescriptorSchema).readonly(), { auth: "admin" }), method(object({
|
|
39780
|
+
method(object({}), array(TrainingProviderDescriptorSchema).readonly(), { auth: "admin" }), method(object({}), array(TrainingProviderTypeSchema).readonly(), { auth: "admin" }), method(object({}), array(TrainingProviderEntrySchema).readonly(), { auth: "admin" }), method(object({
|
|
39781
|
+
typeId: string().min(1),
|
|
39782
|
+
name: string().min(1)
|
|
39783
|
+
}), object({ entryId: string() }), {
|
|
39784
|
+
kind: "mutation",
|
|
39785
|
+
auth: "admin"
|
|
39786
|
+
}), method(object({ entryId: string().min(1) }), object({ ok: literal(true) }), {
|
|
39787
|
+
kind: "mutation",
|
|
39788
|
+
auth: "admin"
|
|
39789
|
+
}), method(TrainingProviderUpdateEntryInputSchema, object({ ok: literal(true) }), {
|
|
39790
|
+
kind: "mutation",
|
|
39791
|
+
auth: "admin"
|
|
39792
|
+
}), method(object({ entryId: string().min(1) }), TrainingCredentialCheckSchema, {
|
|
39616
39793
|
kind: "mutation",
|
|
39617
39794
|
auth: "admin",
|
|
39618
39795
|
timeoutMs: 3e4
|
|
39619
39796
|
}), method(object({
|
|
39620
|
-
|
|
39797
|
+
entryId: string().min(1),
|
|
39621
39798
|
gpuType: string(),
|
|
39622
39799
|
region: string(),
|
|
39623
39800
|
datasetBytes: number().int().nonnegative(),
|
|
@@ -39683,7 +39860,7 @@ method(object({}), array(TrainingProviderDescriptorSchema).readonly(), { auth: "
|
|
|
39683
39860
|
kind: "mutation",
|
|
39684
39861
|
auth: "admin",
|
|
39685
39862
|
timeoutMs: 5 * 6e4
|
|
39686
|
-
}), method(object({
|
|
39863
|
+
}), method(object({ entryId: string().min(1).optional() }), array(ProviderJobStatusSchema).readonly(), {
|
|
39687
39864
|
auth: "admin",
|
|
39688
39865
|
timeoutMs: 2 * 6e4
|
|
39689
39866
|
});
|
|
@@ -39693,20 +39870,31 @@ method(object({}), array(TrainingProviderDescriptorSchema).readonly(), { auth: "
|
|
|
39693
39870
|
*
|
|
39694
39871
|
* It owns what every provider must agree on, written once:
|
|
39695
39872
|
*
|
|
39696
|
-
* - **Dataset versions.** Taken over from pipeline-analytics (D796): the rows
|
|
39697
|
-
* live here (D808); pipeline-analytics still CUTS a version (it owns the corpus and
|
|
39698
|
-
* the export plan) and reaches this store through the five row methods
|
|
39699
|
-
* below, so the Retrain page and the export did not change.
|
|
39700
39873
|
* - **Jobs.** A persisted state machine, a reconcile loop against the
|
|
39701
39874
|
* provider, a cost guard, a daily orphan sweep and the retention rules.
|
|
39702
39875
|
* - **The return flow.** Verified artefacts → Model Studio
|
|
39703
39876
|
* (`custom-model-registry.importModelBundle`) → canary on cameras →
|
|
39704
39877
|
* rollback. Nothing is ever registered automatically.
|
|
39705
39878
|
*
|
|
39879
|
+
* Plan/start takes a live {@link TrainingCorpusSelection} (collections +
|
|
39880
|
+
* work-state rule); frame ids are resolved via pipeline-analytics at that
|
|
39881
|
+
* moment and snapshotted on the job. No frozen dataset version.
|
|
39882
|
+
*
|
|
39706
39883
|
* Every method is `admin`.
|
|
39707
39884
|
*/
|
|
39708
|
-
/**
|
|
39709
|
-
|
|
39885
|
+
/**
|
|
39886
|
+
* Live corpus criteria for plan/start (design §5.2). Default is complete-only.
|
|
39887
|
+
* Frame ids are resolved at plan/start — never a frozen version id.
|
|
39888
|
+
*/
|
|
39889
|
+
var TrainingCorpusSelectionSchema = object({
|
|
39890
|
+
collectionIds: array(string()).min(1),
|
|
39891
|
+
/** Default complete-only for v1 */
|
|
39892
|
+
workState: _enum([
|
|
39893
|
+
"complete",
|
|
39894
|
+
"annotated_or_complete",
|
|
39895
|
+
"any_annotated"
|
|
39896
|
+
]).default("complete")
|
|
39897
|
+
});
|
|
39710
39898
|
/** A base model a detector job can fine-tune, and the baseline it is judged against. */
|
|
39711
39899
|
var TrainingBaseModelSchema = object({
|
|
39712
39900
|
modelId: string(),
|
|
@@ -39724,9 +39912,13 @@ var TrainingPresetSchema = _enum([
|
|
|
39724
39912
|
"thorough"
|
|
39725
39913
|
]);
|
|
39726
39914
|
var TrainingJobRequestSchema = object({
|
|
39727
|
-
|
|
39728
|
-
|
|
39729
|
-
|
|
39915
|
+
/** Live collection + work-state criteria; resolved at plan/start. */
|
|
39916
|
+
selection: TrainingCorpusSelectionSchema,
|
|
39917
|
+
/**
|
|
39918
|
+
* The provider **entry** that runs it (credentials + defaults).
|
|
39919
|
+
* Resolve to an owning addon via `training-provider.describe` / `listEntries`.
|
|
39920
|
+
*/
|
|
39921
|
+
entryId: string().min(1),
|
|
39730
39922
|
gpuType: string().min(1),
|
|
39731
39923
|
region: string(),
|
|
39732
39924
|
baseModelId: string().min(1),
|
|
@@ -39785,6 +39977,7 @@ var TrainingJobPlanSchema = object({
|
|
|
39785
39977
|
* result lives after the operator acted on it.
|
|
39786
39978
|
*/
|
|
39787
39979
|
var TrainingJobStateSchema = _enum([
|
|
39980
|
+
"queued",
|
|
39788
39981
|
"uploading",
|
|
39789
39982
|
"submitted",
|
|
39790
39983
|
"starting",
|
|
@@ -39838,6 +40031,11 @@ var TrainingJobSchema = object({
|
|
|
39838
40031
|
createdAt: number(),
|
|
39839
40032
|
updatedAt: number(),
|
|
39840
40033
|
state: TrainingJobStateSchema,
|
|
40034
|
+
/**
|
|
40035
|
+
* Shared by every job enqueued together via `startJobBatch`.
|
|
40036
|
+
* `null` for a lone `startJob`. The engine advances queued siblings by this id.
|
|
40037
|
+
*/
|
|
40038
|
+
batchId: string().nullable().default(null),
|
|
39841
40039
|
stage: TrainingStageSchema.nullable(),
|
|
39842
40040
|
failure: object({
|
|
39843
40041
|
reason: TrainingFailureReasonSchema,
|
|
@@ -39849,6 +40047,12 @@ var TrainingJobSchema = object({
|
|
|
39849
40047
|
maxRuntimeSec: number().int().positive(),
|
|
39850
40048
|
trainer: TrainerSourceRefSchema,
|
|
39851
40049
|
datasetLayout: RetrainExportLayoutSchema,
|
|
40050
|
+
/** Frame count snapshotted when the job started (audit; equals `frameIds.length`). */
|
|
40051
|
+
frameCount: number().int().nonnegative(),
|
|
40052
|
+
/** Resolved frame ids at start — the archive ships exactly these. */
|
|
40053
|
+
frameIds: array(string()).max(2e4).readonly(),
|
|
40054
|
+
/** Hash of what those frames taught at start (trainer `dataset.annotationHash`). */
|
|
40055
|
+
annotationHash: string(),
|
|
39852
40056
|
dataset: object({
|
|
39853
40057
|
bytes: number().int(),
|
|
39854
40058
|
sha256: string(),
|
|
@@ -39890,13 +40094,7 @@ var TrainingJobSchema = object({
|
|
|
39890
40094
|
canary: TrainingCanarySchema.nullable()
|
|
39891
40095
|
});
|
|
39892
40096
|
var IdInput = object({ id: string().min(1) });
|
|
39893
|
-
method(
|
|
39894
|
-
kind: "mutation",
|
|
39895
|
-
auth: "admin"
|
|
39896
|
-
}), method(IdInput, TrainingDatasetVersionRowSchema.nullable(), { auth: "admin" }), method(object({}), array(RetrainDatasetVersionSchema).readonly(), { auth: "admin" }), method(object({ name: string() }), object({ id: string().nullable() }), { auth: "admin" }), method(IdInput, object({ removed: boolean() }), {
|
|
39897
|
-
kind: "mutation",
|
|
39898
|
-
auth: "admin"
|
|
39899
|
-
}), method(object({}), array(TrainingBaseModelSchema).readonly(), { auth: "admin" }), method(TrainingJobRequestSchema, TrainingJobPlanSchema, {
|
|
40097
|
+
method(object({}), array(TrainingBaseModelSchema).readonly(), { auth: "admin" }), method(TrainingJobRequestSchema, TrainingJobPlanSchema, {
|
|
39900
40098
|
auth: "admin",
|
|
39901
40099
|
timeoutMs: 6e4
|
|
39902
40100
|
}), method(TrainingJobRequestSchema.extend({
|
|
@@ -39915,6 +40113,24 @@ method(TrainingDatasetVersionRowSchema, object({ stored: boolean() }), {
|
|
|
39915
40113
|
kind: "mutation",
|
|
39916
40114
|
auth: "admin",
|
|
39917
40115
|
timeoutMs: 12e4
|
|
40116
|
+
}), method(TrainingJobRequestSchema.omit({ baseModelId: true }).extend({
|
|
40117
|
+
baseModelIds: array(string().min(1)).min(1),
|
|
40118
|
+
name: string().min(1).max(120),
|
|
40119
|
+
maxCostUsd: number().positive(),
|
|
40120
|
+
maxRuntimeSec: number().int().positive(),
|
|
40121
|
+
idempotencyKey: string().min(8).max(80)
|
|
40122
|
+
}), discriminatedUnion("kind", [object({
|
|
40123
|
+
kind: literal("started"),
|
|
40124
|
+
batchId: string(),
|
|
40125
|
+
jobs: array(TrainingJobSchema).min(1).readonly()
|
|
40126
|
+
}), object({
|
|
40127
|
+
kind: literal("refused"),
|
|
40128
|
+
reason: TrainingRefusalReasonSchema,
|
|
40129
|
+
detail: string()
|
|
40130
|
+
})]), {
|
|
40131
|
+
kind: "mutation",
|
|
40132
|
+
auth: "admin",
|
|
40133
|
+
timeoutMs: 12e4
|
|
39918
40134
|
}), method(object({}), array(TrainingJobSchema).readonly(), { auth: "admin" }), method(IdInput, TrainingJobSchema.nullable(), { auth: "admin" }), method(IdInput, TrainingJobSchema, {
|
|
39919
40135
|
kind: "mutation",
|
|
39920
40136
|
auth: "admin",
|
|
@@ -43948,6 +44164,36 @@ Object.freeze({
|
|
|
43948
44164
|
addonId: null,
|
|
43949
44165
|
access: "view"
|
|
43950
44166
|
},
|
|
44167
|
+
"oidcConnections.connectionFormSchema": {
|
|
44168
|
+
capName: "oidc-connections",
|
|
44169
|
+
capScope: "system",
|
|
44170
|
+
addonId: null,
|
|
44171
|
+
access: "view"
|
|
44172
|
+
},
|
|
44173
|
+
"oidcConnections.createConnection": {
|
|
44174
|
+
capName: "oidc-connections",
|
|
44175
|
+
capScope: "system",
|
|
44176
|
+
addonId: null,
|
|
44177
|
+
access: "create"
|
|
44178
|
+
},
|
|
44179
|
+
"oidcConnections.deleteConnection": {
|
|
44180
|
+
capName: "oidc-connections",
|
|
44181
|
+
capScope: "system",
|
|
44182
|
+
addonId: null,
|
|
44183
|
+
access: "delete"
|
|
44184
|
+
},
|
|
44185
|
+
"oidcConnections.listConnections": {
|
|
44186
|
+
capName: "oidc-connections",
|
|
44187
|
+
capScope: "system",
|
|
44188
|
+
addonId: null,
|
|
44189
|
+
access: "view"
|
|
44190
|
+
},
|
|
44191
|
+
"oidcConnections.updateConnection": {
|
|
44192
|
+
capName: "oidc-connections",
|
|
44193
|
+
capScope: "system",
|
|
44194
|
+
addonId: null,
|
|
44195
|
+
access: "create"
|
|
44196
|
+
},
|
|
43951
44197
|
"osd.getStatus": {
|
|
43952
44198
|
capName: "osd",
|
|
43953
44199
|
capScope: "device",
|
|
@@ -44020,6 +44266,12 @@ Object.freeze({
|
|
|
44020
44266
|
addonId: null,
|
|
44021
44267
|
access: "create"
|
|
44022
44268
|
},
|
|
44269
|
+
"osdManager.setSlotCameraEnabled": {
|
|
44270
|
+
capName: "osd-manager",
|
|
44271
|
+
capScope: "system",
|
|
44272
|
+
addonId: null,
|
|
44273
|
+
access: "create"
|
|
44274
|
+
},
|
|
44023
44275
|
"osdManager.upsertTemplate": {
|
|
44024
44276
|
capName: "osd-manager",
|
|
44025
44277
|
capScope: "system",
|
|
@@ -44158,12 +44410,6 @@ Object.freeze({
|
|
|
44158
44410
|
addonId: null,
|
|
44159
44411
|
access: "create"
|
|
44160
44412
|
},
|
|
44161
|
-
"pipelineAnalytics.createRetrainDatasetVersion": {
|
|
44162
|
-
capName: "pipeline-analytics",
|
|
44163
|
-
capScope: "device",
|
|
44164
|
-
addonId: null,
|
|
44165
|
-
access: "create"
|
|
44166
|
-
},
|
|
44167
44413
|
"pipelineAnalytics.deleteDeviceEvents": {
|
|
44168
44414
|
capName: "pipeline-analytics",
|
|
44169
44415
|
capScope: "device",
|
|
@@ -44176,12 +44422,6 @@ Object.freeze({
|
|
|
44176
44422
|
addonId: null,
|
|
44177
44423
|
access: "delete"
|
|
44178
44424
|
},
|
|
44179
|
-
"pipelineAnalytics.deleteRetrainDatasetVersion": {
|
|
44180
|
-
capName: "pipeline-analytics",
|
|
44181
|
-
capScope: "device",
|
|
44182
|
-
addonId: null,
|
|
44183
|
-
access: "delete"
|
|
44184
|
-
},
|
|
44185
44425
|
"pipelineAnalytics.deleteTracks": {
|
|
44186
44426
|
capName: "pipeline-analytics",
|
|
44187
44427
|
capScope: "device",
|
|
@@ -44284,6 +44524,12 @@ Object.freeze({
|
|
|
44284
44524
|
addonId: null,
|
|
44285
44525
|
access: "view"
|
|
44286
44526
|
},
|
|
44527
|
+
"pipelineAnalytics.getRetrainCorpusKpi": {
|
|
44528
|
+
capName: "pipeline-analytics",
|
|
44529
|
+
capScope: "device",
|
|
44530
|
+
addonId: null,
|
|
44531
|
+
access: "view"
|
|
44532
|
+
},
|
|
44287
44533
|
"pipelineAnalytics.getRetrainExportUrl": {
|
|
44288
44534
|
capName: "pipeline-analytics",
|
|
44289
44535
|
capScope: "device",
|
|
@@ -44404,7 +44650,7 @@ Object.freeze({
|
|
|
44404
44650
|
addonId: null,
|
|
44405
44651
|
access: "view"
|
|
44406
44652
|
},
|
|
44407
|
-
"pipelineAnalytics.
|
|
44653
|
+
"pipelineAnalytics.listRetrainCorpusPage": {
|
|
44408
44654
|
capName: "pipeline-analytics",
|
|
44409
44655
|
capScope: "device",
|
|
44410
44656
|
addonId: null,
|
|
@@ -44458,12 +44704,6 @@ Object.freeze({
|
|
|
44458
44704
|
addonId: null,
|
|
44459
44705
|
access: "create"
|
|
44460
44706
|
},
|
|
44461
|
-
"pipelineAnalytics.previewRetrainDataset": {
|
|
44462
|
-
capName: "pipeline-analytics",
|
|
44463
|
-
capScope: "device",
|
|
44464
|
-
addonId: null,
|
|
44465
|
-
access: "view"
|
|
44466
|
-
},
|
|
44467
44707
|
"pipelineAnalytics.proposeRetrainAnnotations": {
|
|
44468
44708
|
capName: "pipeline-analytics",
|
|
44469
44709
|
capScope: "device",
|
|
@@ -44542,6 +44782,12 @@ Object.freeze({
|
|
|
44542
44782
|
addonId: null,
|
|
44543
44783
|
access: "create"
|
|
44544
44784
|
},
|
|
44785
|
+
"pipelineAnalytics.resolveRetrainTrainingCorpus": {
|
|
44786
|
+
capName: "pipeline-analytics",
|
|
44787
|
+
capScope: "device",
|
|
44788
|
+
addonId: null,
|
|
44789
|
+
access: "view"
|
|
44790
|
+
},
|
|
44545
44791
|
"pipelineAnalytics.restageRetrainTrack": {
|
|
44546
44792
|
capName: "pipeline-analytics",
|
|
44547
44793
|
capScope: "device",
|
|
@@ -44602,12 +44848,6 @@ Object.freeze({
|
|
|
44602
44848
|
addonId: null,
|
|
44603
44849
|
access: "create"
|
|
44604
44850
|
},
|
|
44605
|
-
"pipelineAnalytics.verifyRetrainDatasetVersion": {
|
|
44606
|
-
capName: "pipeline-analytics",
|
|
44607
|
-
capScope: "device",
|
|
44608
|
-
addonId: null,
|
|
44609
|
-
access: "view"
|
|
44610
|
-
},
|
|
44611
44851
|
"pipelineAnalytics.wipeAllAnalytics": {
|
|
44612
44852
|
capName: "pipeline-analytics",
|
|
44613
44853
|
capScope: "device",
|
|
@@ -47002,18 +47242,6 @@ Object.freeze({
|
|
|
47002
47242
|
addonId: null,
|
|
47003
47243
|
access: "create"
|
|
47004
47244
|
},
|
|
47005
|
-
"training.findDatasetVersionIdByName": {
|
|
47006
|
-
capName: "training",
|
|
47007
|
-
capScope: "system",
|
|
47008
|
-
addonId: null,
|
|
47009
|
-
access: "view"
|
|
47010
|
-
},
|
|
47011
|
-
"training.getDatasetVersion": {
|
|
47012
|
-
capName: "training",
|
|
47013
|
-
capScope: "system",
|
|
47014
|
-
addonId: null,
|
|
47015
|
-
access: "view"
|
|
47016
|
-
},
|
|
47017
47245
|
"training.getJob": {
|
|
47018
47246
|
capName: "training",
|
|
47019
47247
|
capScope: "system",
|
|
@@ -47032,12 +47260,6 @@ Object.freeze({
|
|
|
47032
47260
|
addonId: null,
|
|
47033
47261
|
access: "view"
|
|
47034
47262
|
},
|
|
47035
|
-
"training.listDatasetVersions": {
|
|
47036
|
-
capName: "training",
|
|
47037
|
-
capScope: "system",
|
|
47038
|
-
addonId: null,
|
|
47039
|
-
access: "view"
|
|
47040
|
-
},
|
|
47041
47263
|
"training.listJobs": {
|
|
47042
47264
|
capName: "training",
|
|
47043
47265
|
capScope: "system",
|
|
@@ -47050,54 +47272,66 @@ Object.freeze({
|
|
|
47050
47272
|
addonId: null,
|
|
47051
47273
|
access: "view"
|
|
47052
47274
|
},
|
|
47053
|
-
"training.
|
|
47275
|
+
"training.registerResult": {
|
|
47054
47276
|
capName: "training",
|
|
47055
47277
|
capScope: "system",
|
|
47056
47278
|
addonId: null,
|
|
47057
47279
|
access: "create"
|
|
47058
47280
|
},
|
|
47059
|
-
"training.
|
|
47281
|
+
"training.rollbackCanary": {
|
|
47060
47282
|
capName: "training",
|
|
47061
47283
|
capScope: "system",
|
|
47062
47284
|
addonId: null,
|
|
47063
47285
|
access: "create"
|
|
47064
47286
|
},
|
|
47065
|
-
"training.
|
|
47287
|
+
"training.startJob": {
|
|
47066
47288
|
capName: "training",
|
|
47067
47289
|
capScope: "system",
|
|
47068
47290
|
addonId: null,
|
|
47069
|
-
access: "
|
|
47291
|
+
access: "create"
|
|
47070
47292
|
},
|
|
47071
|
-
"training.
|
|
47293
|
+
"training.startJobBatch": {
|
|
47072
47294
|
capName: "training",
|
|
47073
47295
|
capScope: "system",
|
|
47074
47296
|
addonId: null,
|
|
47075
47297
|
access: "create"
|
|
47076
47298
|
},
|
|
47077
|
-
"
|
|
47078
|
-
capName: "training",
|
|
47299
|
+
"trainingProvider.cancelJob": {
|
|
47300
|
+
capName: "training-provider",
|
|
47079
47301
|
capScope: "system",
|
|
47080
47302
|
addonId: null,
|
|
47081
47303
|
access: "create"
|
|
47082
47304
|
},
|
|
47083
|
-
"trainingProvider.
|
|
47305
|
+
"trainingProvider.cleanupJob": {
|
|
47084
47306
|
capName: "training-provider",
|
|
47085
47307
|
capScope: "system",
|
|
47086
47308
|
addonId: null,
|
|
47087
47309
|
access: "create"
|
|
47088
47310
|
},
|
|
47089
|
-
"trainingProvider.
|
|
47311
|
+
"trainingProvider.createEntry": {
|
|
47090
47312
|
capName: "training-provider",
|
|
47091
47313
|
capScope: "system",
|
|
47092
47314
|
addonId: null,
|
|
47093
47315
|
access: "create"
|
|
47094
47316
|
},
|
|
47317
|
+
"trainingProvider.deleteEntry": {
|
|
47318
|
+
capName: "training-provider",
|
|
47319
|
+
capScope: "system",
|
|
47320
|
+
addonId: null,
|
|
47321
|
+
access: "delete"
|
|
47322
|
+
},
|
|
47095
47323
|
"trainingProvider.describe": {
|
|
47096
47324
|
capName: "training-provider",
|
|
47097
47325
|
capScope: "system",
|
|
47098
47326
|
addonId: null,
|
|
47099
47327
|
access: "view"
|
|
47100
47328
|
},
|
|
47329
|
+
"trainingProvider.describeTypes": {
|
|
47330
|
+
capName: "training-provider",
|
|
47331
|
+
capScope: "system",
|
|
47332
|
+
addonId: null,
|
|
47333
|
+
access: "view"
|
|
47334
|
+
},
|
|
47101
47335
|
"trainingProvider.estimateJob": {
|
|
47102
47336
|
capName: "training-provider",
|
|
47103
47337
|
capScope: "system",
|
|
@@ -47110,6 +47344,12 @@ Object.freeze({
|
|
|
47110
47344
|
addonId: null,
|
|
47111
47345
|
access: "view"
|
|
47112
47346
|
},
|
|
47347
|
+
"trainingProvider.listEntries": {
|
|
47348
|
+
capName: "training-provider",
|
|
47349
|
+
capScope: "system",
|
|
47350
|
+
addonId: null,
|
|
47351
|
+
access: "view"
|
|
47352
|
+
},
|
|
47113
47353
|
"trainingProvider.listJobEvents": {
|
|
47114
47354
|
capName: "training-provider",
|
|
47115
47355
|
capScope: "system",
|
|
@@ -47140,6 +47380,12 @@ Object.freeze({
|
|
|
47140
47380
|
addonId: null,
|
|
47141
47381
|
access: "create"
|
|
47142
47382
|
},
|
|
47383
|
+
"trainingProvider.updateEntry": {
|
|
47384
|
+
capName: "training-provider",
|
|
47385
|
+
capScope: "system",
|
|
47386
|
+
addonId: null,
|
|
47387
|
+
access: "create"
|
|
47388
|
+
},
|
|
47143
47389
|
"trainingProvider.uploadDataset": {
|
|
47144
47390
|
capName: "training-provider",
|
|
47145
47391
|
capScope: "system",
|
|
@@ -50350,6 +50596,11 @@ Object.freeze({
|
|
|
50350
50596
|
form: "single",
|
|
50351
50597
|
optional: false
|
|
50352
50598
|
}],
|
|
50599
|
+
"osdManager.setSlotCameraEnabled": [{
|
|
50600
|
+
name: "deviceId",
|
|
50601
|
+
form: "single",
|
|
50602
|
+
optional: false
|
|
50603
|
+
}],
|
|
50353
50604
|
"petFeeder.callPet": [{
|
|
50354
50605
|
name: "deviceId",
|
|
50355
50606
|
form: "single",
|
|
@@ -50570,6 +50821,11 @@ Object.freeze({
|
|
|
50570
50821
|
form: "array",
|
|
50571
50822
|
optional: false
|
|
50572
50823
|
}],
|
|
50824
|
+
"pipelineAnalytics.listRetrainCorpusPage": [{
|
|
50825
|
+
name: "deviceIds",
|
|
50826
|
+
form: "array",
|
|
50827
|
+
optional: true
|
|
50828
|
+
}],
|
|
50573
50829
|
"pipelineAnalytics.listRetrainStaging": [{
|
|
50574
50830
|
name: "deviceIds",
|
|
50575
50831
|
form: "array",
|
|
@@ -51679,6 +51935,7 @@ Object.freeze({
|
|
|
51679
51935
|
});
|
|
51680
51936
|
Object.freeze({
|
|
51681
51937
|
"broker": "broker",
|
|
51938
|
+
"calendar-source": "calendar",
|
|
51682
51939
|
"device-export": "device-export",
|
|
51683
51940
|
"llm": "ai",
|
|
51684
51941
|
"mesh-network": "mesh",
|
|
@@ -52718,123 +52975,4 @@ DEFAULT_NATIVE_LEASE_SETTINGS.admission;
|
|
|
52718
52975
|
var MB = 1024 * 1024;
|
|
52719
52976
|
1024 * MB, 3072 * MB;
|
|
52720
52977
|
//#endregion
|
|
52721
|
-
|
|
52722
|
-
enumerable: true,
|
|
52723
|
-
get: function() {
|
|
52724
|
-
return BaseAddon;
|
|
52725
|
-
}
|
|
52726
|
-
});
|
|
52727
|
-
Object.defineProperty(exports, "SSO_STATE_COOKIE", {
|
|
52728
|
-
enumerable: true,
|
|
52729
|
-
get: function() {
|
|
52730
|
-
return SSO_STATE_COOKIE;
|
|
52731
|
-
}
|
|
52732
|
-
});
|
|
52733
|
-
Object.defineProperty(exports, "__commonJSMin", {
|
|
52734
|
-
enumerable: true,
|
|
52735
|
-
get: function() {
|
|
52736
|
-
return __commonJSMin;
|
|
52737
|
-
}
|
|
52738
|
-
});
|
|
52739
|
-
Object.defineProperty(exports, "__esmMin", {
|
|
52740
|
-
enumerable: true,
|
|
52741
|
-
get: function() {
|
|
52742
|
-
return __esmMin;
|
|
52743
|
-
}
|
|
52744
|
-
});
|
|
52745
|
-
Object.defineProperty(exports, "__exportAll", {
|
|
52746
|
-
enumerable: true,
|
|
52747
|
-
get: function() {
|
|
52748
|
-
return __exportAll;
|
|
52749
|
-
}
|
|
52750
|
-
});
|
|
52751
|
-
Object.defineProperty(exports, "__toCommonJS", {
|
|
52752
|
-
enumerable: true,
|
|
52753
|
-
get: function() {
|
|
52754
|
-
return __toCommonJS;
|
|
52755
|
-
}
|
|
52756
|
-
});
|
|
52757
|
-
Object.defineProperty(exports, "__toESM", {
|
|
52758
|
-
enumerable: true,
|
|
52759
|
-
get: function() {
|
|
52760
|
-
return __toESM;
|
|
52761
|
-
}
|
|
52762
|
-
});
|
|
52763
|
-
Object.defineProperty(exports, "addonRoutesCapability", {
|
|
52764
|
-
enumerable: true,
|
|
52765
|
-
get: function() {
|
|
52766
|
-
return addonRoutesCapability;
|
|
52767
|
-
}
|
|
52768
|
-
});
|
|
52769
|
-
Object.defineProperty(exports, "addonWidgetsSourceCapability", {
|
|
52770
|
-
enumerable: true,
|
|
52771
|
-
get: function() {
|
|
52772
|
-
return addonWidgetsSourceCapability;
|
|
52773
|
-
}
|
|
52774
|
-
});
|
|
52775
|
-
Object.defineProperty(exports, "array", {
|
|
52776
|
-
enumerable: true,
|
|
52777
|
-
get: function() {
|
|
52778
|
-
return array;
|
|
52779
|
-
}
|
|
52780
|
-
});
|
|
52781
|
-
Object.defineProperty(exports, "authProviderCapability", {
|
|
52782
|
-
enumerable: true,
|
|
52783
|
-
get: function() {
|
|
52784
|
-
return authProviderCapability;
|
|
52785
|
-
}
|
|
52786
|
-
});
|
|
52787
|
-
Object.defineProperty(exports, "boolean", {
|
|
52788
|
-
enumerable: true,
|
|
52789
|
-
get: function() {
|
|
52790
|
-
return boolean;
|
|
52791
|
-
}
|
|
52792
|
-
});
|
|
52793
|
-
Object.defineProperty(exports, "buildAddonRouteProvider", {
|
|
52794
|
-
enumerable: true,
|
|
52795
|
-
get: function() {
|
|
52796
|
-
return buildAddonRouteProvider;
|
|
52797
|
-
}
|
|
52798
|
-
});
|
|
52799
|
-
Object.defineProperty(exports, "errMsg", {
|
|
52800
|
-
enumerable: true,
|
|
52801
|
-
get: function() {
|
|
52802
|
-
return errMsg;
|
|
52803
|
-
}
|
|
52804
|
-
});
|
|
52805
|
-
Object.defineProperty(exports, "isDisplayIconKey", {
|
|
52806
|
-
enumerable: true,
|
|
52807
|
-
get: function() {
|
|
52808
|
-
return isDisplayIconKey;
|
|
52809
|
-
}
|
|
52810
|
-
});
|
|
52811
|
-
Object.defineProperty(exports, "loginMethodCapability", {
|
|
52812
|
-
enumerable: true,
|
|
52813
|
-
get: function() {
|
|
52814
|
-
return loginMethodCapability;
|
|
52815
|
-
}
|
|
52816
|
-
});
|
|
52817
|
-
Object.defineProperty(exports, "number", {
|
|
52818
|
-
enumerable: true,
|
|
52819
|
-
get: function() {
|
|
52820
|
-
return number;
|
|
52821
|
-
}
|
|
52822
|
-
});
|
|
52823
|
-
Object.defineProperty(exports, "object", {
|
|
52824
|
-
enumerable: true,
|
|
52825
|
-
get: function() {
|
|
52826
|
-
return object;
|
|
52827
|
-
}
|
|
52828
|
-
});
|
|
52829
|
-
Object.defineProperty(exports, "string", {
|
|
52830
|
-
enumerable: true,
|
|
52831
|
-
get: function() {
|
|
52832
|
-
return string;
|
|
52833
|
-
}
|
|
52834
|
-
});
|
|
52835
|
-
Object.defineProperty(exports, "userPasskeysCapability", {
|
|
52836
|
-
enumerable: true,
|
|
52837
|
-
get: function() {
|
|
52838
|
-
return userPasskeysCapability;
|
|
52839
|
-
}
|
|
52840
|
-
});
|
|
52978
|
+
export { string as S, toSecretFieldView as _, buildAddonRouteProvider as a, number as b, oidcConnectionsCapability as c, BaseAddon as d, SECRET_CLEAR as f, isSecretMarker as g, isSecretClear as h, authProviderCapability as i, userPasskeysCapability as l, globalSecretScope as m, addonRoutesCapability as n, isDisplayIconKey as o, arrayItemFieldPath as p, addonWidgetsSourceCapability as r, loginMethodCapability as s, SSO_STATE_COOKIE as t, errMsg as u, array as v, object as x, boolean as y };
|