@camstack/addon-training 0.1.22 → 0.1.24
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/MaskShapeCanvas-Kfg9dl6B.mjs +686 -0
- package/dist/MotionZonesSettings-0RO2vXPR.mjs +292 -0
- package/dist/{PrivacyMaskSettings-DDaIx7j5.mjs → PrivacyMaskSettings-DQUoMnuu.mjs} +45 -70
- package/dist/ReactKonva-DGuYUN0L.mjs +5416 -0
- package/dist/{SceneMonitorEditor-CuJ7xjyd.mjs → SceneMonitorEditor-C3FOjEom.mjs} +311 -311
- package/dist/_stub.js +16625 -7160
- package/dist/{_virtual_mf-localSharedImportMap___mfe_internal__addon_training_page-DJDgoXBt.mjs → _virtual_mf-localSharedImportMap___mfe_internal__addon_training_page-BxPcEUyP.mjs} +2 -2
- package/dist/_virtual_mf___mfe_internal__addon_training_page__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-OmGE1nuE.mjs +26 -0
- package/dist/_virtual_mf___mfe_internal__addon_training_page__loadShare___mf_0_tanstack_mf_1_react_mf_2_query__loadShare__.js-DpjirGmB.mjs +89 -0
- package/dist/_virtual_mf___mfe_internal__addon_training_page__loadShare___mf_0_trpc_mf_1_client__loadShare__.js-CFCVuRAs.mjs +58 -0
- package/dist/_virtual_mf___mfe_internal__addon_training_page__loadShare___mf_0_trpc_mf_1_react_mf_2_query__loadShare__.js-BkvDudqY.mjs +62 -0
- package/dist/{_virtual_mf___mfe_internal__addon_training_page__loadShare__react__loadShare__.js-BT_wL8s3.mjs → _virtual_mf___mfe_internal__addon_training_page__loadShare__react__loadShare__.js-DeDbF7NI.mjs} +1 -1
- package/dist/_virtual_mf___mfe_internal__addon_training_page__loadShare__react_mf_1_jsx_mf_2_runtime__loadShare__.js-DnrbBvrw.mjs +34 -0
- package/dist/_virtual_mf___mfe_internal__addon_training_page__loadShare__react_mf_2_dom__loadShare__.js-DAZkHxxU.mjs +45 -0
- package/dist/_virtual_mf___mfe_internal__addon_training_page__loadShare__react_mf_2_dom_mf_1_client__loadShare__.js-CHqN9NLt.mjs +34 -0
- package/dist/{dist-DhCvklZW.mjs → dist-CoNkmm69.mjs} +24 -12
- package/dist/{dist-Dd6EAdVX.js → dist-e1vfYY_l.js} +59 -11
- package/dist/grid-2x2-Dip9973H.mjs +21 -0
- package/dist/{hostInit-DR-St7pA.mjs → hostInit-DESLun4m.mjs} +1 -1
- package/dist/index.js +1 -1
- package/dist/lib-CVGFTwe0.mjs +7770 -0
- package/dist/orchestrator/training.addon.js +8 -1
- package/dist/orchestrator/training.addon.mjs +8 -1
- package/dist/{player-overlays-DUZMtmvk.mjs → player-overlays-ChonJUSb.mjs} +32 -10
- package/dist/providers/modal/training-modal.addon.js +233 -53
- package/dist/providers/modal/training-modal.addon.mjs +233 -53
- package/dist/remoteEntry.js +1 -1
- package/dist/{responsive-C7QsFtTb.mjs → responsive-vGH-n9E5.mjs} +42 -38
- package/dist/{scene-monitor-copy-BtffdnnW.mjs → scene-monitor-copy-Bv7SdZp4.mjs} +4 -4
- package/dist/{square-e5Ytjod_.mjs → square-CT7zu_EB.mjs} +29 -4
- package/dist/{trash-2-Clte6zIF.mjs → trash-2-JjHVW2_2.mjs} +1 -1
- package/dist/{virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_training_page__remoteEntry_js-dy7yMOdw.mjs → virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_training_page__remoteEntry_js-BZV1gmqf.mjs} +399 -390
- package/package.json +1 -1
- package/dist/MaskShapeCanvas-BokARvOj.mjs +0 -13806
- package/dist/MotionZonesSettings-DshSNzpp.mjs +0 -310
- package/dist/_virtual_mf___mfe_internal__addon_training_page__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-D7T4QEtw.mjs +0 -26
- package/dist/_virtual_mf___mfe_internal__addon_training_page__loadShare___mf_0_tanstack_mf_1_react_mf_2_query__loadShare__.js-BSOdwqcC.mjs +0 -26
- package/dist/_virtual_mf___mfe_internal__addon_training_page__loadShare___mf_0_trpc_mf_1_client__loadShare__.js-B3rryujf.mjs +0 -25
- package/dist/_virtual_mf___mfe_internal__addon_training_page__loadShare___mf_0_trpc_mf_1_react_mf_2_query__loadShare__.js-nL4MGFRP.mjs +0 -26
- package/dist/_virtual_mf___mfe_internal__addon_training_page__loadShare__react_mf_1_jsx_mf_2_runtime__loadShare__.js-DDBEvLdo.mjs +0 -26
- package/dist/_virtual_mf___mfe_internal__addon_training_page__loadShare__react_mf_2_dom__loadShare__.js-CK-LlgOt.mjs +0 -26
- package/dist/_virtual_mf___mfe_internal__addon_training_page__loadShare__react_mf_2_dom_mf_1_client__loadShare__.js-gTIQrhKs.mjs +0 -25
|
@@ -18123,14 +18123,14 @@ var LlmProfileSchema = object({
|
|
|
18123
18123
|
/** ConfigUISchema tree passed through untyped on the wire (the
|
|
18124
18124
|
* notification-output `ConfigSchemaPassthrough` precedent at
|
|
18125
18125
|
* notification-output.cap.ts:151); the exported TS type re-tightens it. */
|
|
18126
|
-
var ConfigSchemaPassthrough$
|
|
18126
|
+
var ConfigSchemaPassthrough$2 = unknown();
|
|
18127
18127
|
var LlmProfileKindDescriptorSchema = object({
|
|
18128
18128
|
kind: LlmProfileKindSchema,
|
|
18129
18129
|
label: string(),
|
|
18130
18130
|
icon: string(),
|
|
18131
18131
|
/** Stamped by each provider so the concat-fanned catalog stays routable. */
|
|
18132
18132
|
addonId: string(),
|
|
18133
|
-
configSchema: ConfigSchemaPassthrough$
|
|
18133
|
+
configSchema: ConfigSchemaPassthrough$2
|
|
18134
18134
|
});
|
|
18135
18135
|
var LlmDefaultSelectorSchema = union([object({ consumer: string() }), object({ purpose: _enum(["text", "vision"]) })]);
|
|
18136
18136
|
var LlmDefaultSchema = object({
|
|
@@ -19251,7 +19251,7 @@ var TargetKindCapsSchema = object({
|
|
|
19251
19251
|
* the union is large and not meant for runtime validation here; the exported
|
|
19252
19252
|
* `TargetKind` type re-tightens `configSchema` to `ConfigUISchema`.
|
|
19253
19253
|
*/
|
|
19254
|
-
var ConfigSchemaPassthrough = unknown();
|
|
19254
|
+
var ConfigSchemaPassthrough$1 = unknown();
|
|
19255
19255
|
var TargetKindSchema = object({
|
|
19256
19256
|
kind: string(),
|
|
19257
19257
|
label: string(),
|
|
@@ -19288,7 +19288,7 @@ var TargetKindSchema = object({
|
|
|
19288
19288
|
* its raster path, which is the safe default for an unknown image.
|
|
19289
19289
|
*/
|
|
19290
19290
|
iconMediaType: string().optional(),
|
|
19291
|
-
configSchema: ConfigSchemaPassthrough,
|
|
19291
|
+
configSchema: ConfigSchemaPassthrough$1,
|
|
19292
19292
|
/**
|
|
19293
19293
|
* The config keys that decide WHERE this kind's secrets are sent (server,
|
|
19294
19294
|
* base URL, instance, chat, recipient). A save that changes any of them
|
|
@@ -39407,6 +39407,12 @@ var TrainingProviderDefaultsSchema = object({
|
|
|
39407
39407
|
/** Hours a FAILED job's cloud dataset is kept for debugging; 0 = delete at once. */
|
|
39408
39408
|
failedDatasetGraceHours: number().nonnegative()
|
|
39409
39409
|
});
|
|
39410
|
+
/**
|
|
39411
|
+
* Entry form schema for a provider type — same seam as notification
|
|
39412
|
+
* `TargetKind.configSchema` (`z.unknown()` at the wire; callers tighten to
|
|
39413
|
+
* {@link ConfigUISchema}). Drives `ConfigFormBuilder` on Training → Providers.
|
|
39414
|
+
*/
|
|
39415
|
+
var ConfigSchemaPassthrough = unknown();
|
|
39410
39416
|
/** One creatable provider type, for the Add-entry dialog. */
|
|
39411
39417
|
var TrainingProviderTypeSchema = object({
|
|
39412
39418
|
typeId: string(),
|
|
@@ -39414,7 +39420,13 @@ var TrainingProviderTypeSchema = object({
|
|
|
39414
39420
|
/** Path under the addon package (e.g. `assets/training-modal/icon.svg`). */
|
|
39415
39421
|
iconAsset: string(),
|
|
39416
39422
|
/** Owning `training-provider` addon — collection selector for createEntry. */
|
|
39417
|
-
addonId: string()
|
|
39423
|
+
addonId: string(),
|
|
39424
|
+
/**
|
|
39425
|
+
* Fields for one entry of this type (credentials + defaults). Absent on a
|
|
39426
|
+
* type that only needs a name. Password fields are keychain-backed on the
|
|
39427
|
+
* provider addon (`secretStatePaths`), not D634 plaintext.
|
|
39428
|
+
*/
|
|
39429
|
+
configSchema: ConfigSchemaPassthrough.optional()
|
|
39418
39430
|
});
|
|
39419
39431
|
/** One configured account / workspace under a provider type. */
|
|
39420
39432
|
var TrainingProviderEntrySchema = object({
|
|
@@ -39446,22 +39458,22 @@ var TrainingProviderDescriptorSchema = object({
|
|
|
39446
39458
|
configured: boolean(),
|
|
39447
39459
|
defaults: TrainingProviderDefaultsSchema,
|
|
39448
39460
|
/**
|
|
39449
|
-
*
|
|
39450
|
-
*
|
|
39461
|
+
* Values for {@link TrainingProviderTypeSchema}'s `configSchema` — password
|
|
39462
|
+
* fields are keychain {@link SecretFieldView} or `null` / `''` (create),
|
|
39463
|
+
* never plaintext. Same hydrate contract as settings forms (D789).
|
|
39451
39464
|
*/
|
|
39452
|
-
|
|
39453
|
-
environment: string().optional(),
|
|
39454
|
-
hasTokenSecret: boolean().optional()
|
|
39465
|
+
formValues: record(string(), unknown()).optional()
|
|
39455
39466
|
});
|
|
39456
39467
|
/**
|
|
39457
39468
|
* Patch one entry's name, credentials and defaults. Pin with owning `{ addonId }`.
|
|
39458
39469
|
* An omitted or empty `tokenSecret` means KEEP the stored secret (D787).
|
|
39470
|
+
* `{ $secretClear: true }` clears it.
|
|
39459
39471
|
*/
|
|
39460
39472
|
var TrainingProviderUpdateEntryInputSchema = object({
|
|
39461
39473
|
entryId: string().min(1),
|
|
39462
39474
|
name: string().min(1),
|
|
39463
39475
|
tokenId: string().optional(),
|
|
39464
|
-
tokenSecret: string().optional(),
|
|
39476
|
+
tokenSecret: union([string(), object({ $secretClear: literal(true) })]).optional(),
|
|
39465
39477
|
environment: string().optional(),
|
|
39466
39478
|
gpuType: string().optional(),
|
|
39467
39479
|
region: string().optional(),
|
|
@@ -52797,6 +52809,12 @@ Object.defineProperty(exports, "BaseAddon", {
|
|
|
52797
52809
|
return BaseAddon;
|
|
52798
52810
|
}
|
|
52799
52811
|
});
|
|
52812
|
+
Object.defineProperty(exports, "SECRET_CLEAR", {
|
|
52813
|
+
enumerable: true,
|
|
52814
|
+
get: function() {
|
|
52815
|
+
return SECRET_CLEAR;
|
|
52816
|
+
}
|
|
52817
|
+
});
|
|
52800
52818
|
Object.defineProperty(exports, "TRAINING_JOB_SCHEMA", {
|
|
52801
52819
|
enumerable: true,
|
|
52802
52820
|
get: function() {
|
|
@@ -52857,12 +52875,36 @@ Object.defineProperty(exports, "addonPagesSourceCapability", {
|
|
|
52857
52875
|
return addonPagesSourceCapability;
|
|
52858
52876
|
}
|
|
52859
52877
|
});
|
|
52878
|
+
Object.defineProperty(exports, "arrayItemFieldPath", {
|
|
52879
|
+
enumerable: true,
|
|
52880
|
+
get: function() {
|
|
52881
|
+
return arrayItemFieldPath;
|
|
52882
|
+
}
|
|
52883
|
+
});
|
|
52860
52884
|
Object.defineProperty(exports, "boolean", {
|
|
52861
52885
|
enumerable: true,
|
|
52862
52886
|
get: function() {
|
|
52863
52887
|
return boolean;
|
|
52864
52888
|
}
|
|
52865
52889
|
});
|
|
52890
|
+
Object.defineProperty(exports, "globalSecretScope", {
|
|
52891
|
+
enumerable: true,
|
|
52892
|
+
get: function() {
|
|
52893
|
+
return globalSecretScope;
|
|
52894
|
+
}
|
|
52895
|
+
});
|
|
52896
|
+
Object.defineProperty(exports, "isSecretClear", {
|
|
52897
|
+
enumerable: true,
|
|
52898
|
+
get: function() {
|
|
52899
|
+
return isSecretClear;
|
|
52900
|
+
}
|
|
52901
|
+
});
|
|
52902
|
+
Object.defineProperty(exports, "isSecretMarker", {
|
|
52903
|
+
enumerable: true,
|
|
52904
|
+
get: function() {
|
|
52905
|
+
return isSecretMarker;
|
|
52906
|
+
}
|
|
52907
|
+
});
|
|
52866
52908
|
Object.defineProperty(exports, "number", {
|
|
52867
52909
|
enumerable: true,
|
|
52868
52910
|
get: function() {
|
|
@@ -52893,6 +52935,12 @@ Object.defineProperty(exports, "string", {
|
|
|
52893
52935
|
return string;
|
|
52894
52936
|
}
|
|
52895
52937
|
});
|
|
52938
|
+
Object.defineProperty(exports, "toSecretFieldView", {
|
|
52939
|
+
enumerable: true,
|
|
52940
|
+
get: function() {
|
|
52941
|
+
return toSecretFieldView;
|
|
52942
|
+
}
|
|
52943
|
+
});
|
|
52896
52944
|
Object.defineProperty(exports, "trainingCapability", {
|
|
52897
52945
|
enumerable: true,
|
|
52898
52946
|
get: function() {
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { b as e } from "./responsive-vGH-n9E5.mjs";
|
|
2
|
+
var t = e("grid-2x2", [
|
|
3
|
+
["path", {
|
|
4
|
+
d: "M12 3v18",
|
|
5
|
+
key: "108xh3"
|
|
6
|
+
}],
|
|
7
|
+
["path", {
|
|
8
|
+
d: "M3 12h18",
|
|
9
|
+
key: "1i2n21"
|
|
10
|
+
}],
|
|
11
|
+
["rect", {
|
|
12
|
+
x: "3",
|
|
13
|
+
y: "3",
|
|
14
|
+
width: "18",
|
|
15
|
+
height: "18",
|
|
16
|
+
rx: "2",
|
|
17
|
+
key: "h1oib"
|
|
18
|
+
}]
|
|
19
|
+
]);
|
|
20
|
+
//#endregion
|
|
21
|
+
export { t };
|
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
require("./dist-
|
|
2
|
+
require("./dist-e1vfYY_l.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
|