@camstack/addon-training 0.1.59 → 0.1.60

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.
Files changed (20) hide show
  1. package/dist/{MotionZonesSettings-D3MA168j.mjs → MotionZonesSettings-BVAWM6Mp.mjs} +2 -2
  2. package/dist/{PrivacyMaskSettings-DlILfRb9.mjs → PrivacyMaskSettings-C6n5XvTF.mjs} +2 -2
  3. package/dist/{SceneMonitorEditor-DgOpS2v_.mjs → SceneMonitorEditor-YqjreNwk.mjs} +1 -1
  4. package/dist/_stub.js +12 -12
  5. package/dist/{_virtual_mf-localSharedImportMap___mfe_internal__addon_training_page-BbkzYirO.mjs → _virtual_mf-localSharedImportMap___mfe_internal__addon_training_page-D2t3iWfl.mjs} +4 -4
  6. package/dist/_virtual_mf___mfe_internal__addon_training_page__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-DNz5PuiW.mjs +26 -0
  7. package/dist/{dist-DM9y4CJe.mjs → dist-CLSVfoxe.mjs} +229 -196
  8. package/dist/{dist-DfNFNGnO.js → dist-Co-Ch58W.js} +229 -196
  9. package/dist/{hostInit-SLlPYdLV.mjs → hostInit-BzYWXDTu.mjs} +3 -3
  10. package/dist/index.js +1 -1
  11. package/dist/orchestrator/training.addon.js +1 -1
  12. package/dist/orchestrator/training.addon.mjs +1 -1
  13. package/dist/{player-overlays-pM6iC4GI.mjs → player-overlays-CsC1EU9M.mjs} +1 -1
  14. package/dist/providers/modal/training-modal.addon.js +1 -1
  15. package/dist/providers/modal/training-modal.addon.mjs +1 -1
  16. package/dist/remoteEntry.js +1 -1
  17. package/dist/{responsive-BAAHnmTT.mjs → responsive-CqqXFNE0.mjs} +1 -1
  18. package/dist/{virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_training_page__remoteEntry_js-D81A7IJp.mjs → virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_training_page__remoteEntry_js-mXPV__C7.mjs} +1 -1
  19. package/package.json +1 -1
  20. package/dist/_virtual_mf___mfe_internal__addon_training_page__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-DlLXF7aF.mjs +0 -26
@@ -7962,6 +7962,12 @@ function normalizeAddonInitResult(result) {
7962
7962
  if (Array.isArray(result)) return { providers: result };
7963
7963
  return result;
7964
7964
  }
7965
+ /**
7966
+ * The share-view scope kinds a `csv_*` share token can carry. The hub mints
7967
+ * and validates them (`share-token.service.ts` builds its enum from this
7968
+ * list); a data plane names the kinds it ACCEPTS in `share`.
7969
+ */
7970
+ var SHARE_VIEW_KINDS = ["grid-view", "events-view"];
7965
7971
  /** The wire shape of {@link PeerBytesTicket} — see the type for what it is. */
7966
7972
  var PeerBytesTicketSchema = object({
7967
7973
  /** `http://127.0.0.1:<port>/<token>`. One `GET` takes it. */
@@ -12823,6 +12829,229 @@ var ConvertResultSchema = object({
12823
12829
  files: array(string()).readonly()
12824
12830
  })).readonly()
12825
12831
  });
12832
+ /**
12833
+ * Zod schemas for persisted record types.
12834
+ *
12835
+ * These schemas serve as the single source of truth for types that are
12836
+ * stored in the settings-store backend and retrieved via tRPC. They
12837
+ * replace the manual TypeScript interfaces with schema-derived types,
12838
+ * enabling runtime validation when reading from the backend.
12839
+ *
12840
+ * Convention: each schema is named `<Type>Schema`, the inferred TS type
12841
+ * keeps the original name for backward compatibility.
12842
+ */
12843
+ /**
12844
+ * Auth model (v2 — 2026-05-12 caps-only):
12845
+ *
12846
+ * Two principals:
12847
+ * - `isAdmin: true` — full bypass. Admin scope set is ignored.
12848
+ * - `isAdmin: false` — every call gated by `scopes` (see TokenScope).
12849
+ *
12850
+ * No role enum. There used to be `viewer / agent / scoped` and earlier
12851
+ * `super_admin` — collapsed onto the single boolean because every
12852
+ * non-admin caller is governed by the same scope-check rules; the
12853
+ * distinction was only ever used to route role-specific procedures
12854
+ * which we no longer have. CLI / webhook integrations are `cst_*` tokens
12855
+ * with `isAdmin: false` + an explicit scope list.
12856
+ */
12857
+ /** Per-method access flavour. Materialised on every cap method via codegen. */
12858
+ var MethodAccessSchema = _enum([
12859
+ "view",
12860
+ "create",
12861
+ "delete"
12862
+ ]);
12863
+ /**
12864
+ * A single scope grant. Three forms — checked in matcher with OR
12865
+ * semantics; the first match decides whether the call passes:
12866
+ *
12867
+ * - `category` — broadest. `target: 'device' | 'system'` selects every
12868
+ * cap with the matching `scope` declaration. New caps inherit grants
12869
+ * automatically — adding a device cap to the codebase makes it
12870
+ * reachable to every user with `category:device [...]` without a
12871
+ * re-grant. Use this for "family viewer" / "operator" tiers.
12872
+ *
12873
+ * - `addon` — every cap that ships inside a given addon id. Niche;
12874
+ * useful when an integration needs to interact with one specific
12875
+ * addon's surface regardless of how many caps it exports.
12876
+ *
12877
+ * - `capability` — the most precise form. Single cap name. Use for
12878
+ * integration tokens where you want to grant `addons.installPackage`
12879
+ * and nothing else.
12880
+ *
12881
+ * `access` is REQUIRED with min 1 element. `admin` bypass is the
12882
+ * "give me everything" escape; there is no wildcard scope.
12883
+ */
12884
+ var AllowedProviderSchema = union([literal("*"), array(string())]);
12885
+ var AllowedDevicesSchema = record(string(), union([literal("*"), array(string())]));
12886
+ var CapScopeSchema = _enum(["device", "system"]);
12887
+ /**
12888
+ * DeviceSelector (scope model v3 — 2026-08-12).
12889
+ *
12890
+ * A `device` grant no longer carries a frozen list of deviceIds. It carries
12891
+ * a SELECTOR the matcher resolves against the live fleet, so the grant can be
12892
+ * DYNAMIC: a `types:['camera']` selector automatically covers a camera added
12893
+ * AFTER the grant was minted — no re-grant, no re-login.
12894
+ *
12895
+ * - `all` — every device in the deployment. The broad viewer/operator
12896
+ * lever without a `category` grant (a `category` grant also covers device
12897
+ * caps that carry no deviceId; `all` is specifically the device set).
12898
+ * - `ids` — an explicit deviceId list. This is what a v2 `device:[…]`
12899
+ * grant migrates to (see {@link TokenScopeSchema}); STATIC — a new camera
12900
+ * is NOT covered until the grant is edited.
12901
+ * - `types` — every device of a `DeviceType` (e.g. every `camera`).
12902
+ * DYNAMIC. A device that changes type, or a new device of the type,
12903
+ * re-resolves on the next request.
12904
+ * - `locations` — every device whose operator-assigned `location` label is
12905
+ * in the set (e.g. "Garden", "Front door"). DYNAMIC. A device with a
12906
+ * null/unset location matches NO `locations` selector.
12907
+ */
12908
+ var DeviceSelectorSchema = discriminatedUnion("kind", [
12909
+ object({ kind: literal("all") }),
12910
+ object({
12911
+ kind: literal("ids"),
12912
+ ids: array(number().int()).min(1)
12913
+ }),
12914
+ object({
12915
+ kind: literal("types"),
12916
+ types: array(_enum(DeviceType)).min(1)
12917
+ }),
12918
+ object({
12919
+ kind: literal("locations"),
12920
+ locations: array(string().min(1)).min(1)
12921
+ })
12922
+ ]);
12923
+ var DeviceTokenScopeSchema = object({
12924
+ type: literal("device"),
12925
+ /** The device SET this grant covers — resolved against the live fleet. */
12926
+ selector: DeviceSelectorSchema,
12927
+ access: array(MethodAccessSchema).min(1),
12928
+ /**
12929
+ * Whether a grant on a PARENT device transparently covers its accessory
12930
+ * CHILDREN (siren / floodlight / PIR) via the persisted-parentage walk.
12931
+ * Direction is parent → children ONLY.
12932
+ *
12933
+ * Absent → the matcher DERIVES it from the access flavour: `view`
12934
+ * inherits (a camera viewer sees the camera's accessories), `create` /
12935
+ * `delete` do NOT (actuating/removing a child is an explicit act the
12936
+ * operator must grant on the child, not inherit from the parent). Set it
12937
+ * explicitly to override that default per grant.
12938
+ */
12939
+ includeLinked: boolean().optional()
12940
+ });
12941
+ /**
12942
+ * v2 → v3 lazy migration. A pre-v3 `device` grant carried
12943
+ * `targets: string[]` (stringified deviceIds); it rewrites to the equivalent
12944
+ * `selector: {kind:'ids', ids}`. Applied as a `preprocess` so it runs on
12945
+ * EVERY parse path — stored records AND the JWT-carried scope arrays
12946
+ * normalised at the request boundary ({@link normalizeTokenScopes} in
12947
+ * `device-selector.ts`). Chosen over a one-time DB migration because a
12948
+ * migration cannot reach a JWT already in a client's hands; parse-time
12949
+ * migration covers both without a flag day. No cast — the raw object is read
12950
+ * through `Reflect.get` (its static type is `unknown`).
12951
+ */
12952
+ function migrateLegacyTokenScope(raw) {
12953
+ if (raw === null || typeof raw !== "object" || Array.isArray(raw)) return raw;
12954
+ if (Reflect.get(raw, "type") !== "device") return raw;
12955
+ if (Reflect.get(raw, "selector") !== void 0) return raw;
12956
+ const targets = Reflect.get(raw, "targets");
12957
+ if (!Array.isArray(targets)) return raw;
12958
+ return {
12959
+ type: "device",
12960
+ selector: {
12961
+ kind: "ids",
12962
+ ids: targets.map((t) => typeof t === "string" ? Number(t) : t).filter((n) => typeof n === "number" && Number.isInteger(n))
12963
+ },
12964
+ access: Reflect.get(raw, "access")
12965
+ };
12966
+ }
12967
+ var TokenScopeSchema = preprocess(migrateLegacyTokenScope, discriminatedUnion("type", [
12968
+ object({
12969
+ type: literal("category"),
12970
+ target: CapScopeSchema,
12971
+ access: array(MethodAccessSchema).min(1)
12972
+ }),
12973
+ object({
12974
+ type: literal("capability"),
12975
+ target: string(),
12976
+ access: array(MethodAccessSchema).min(1)
12977
+ }),
12978
+ object({
12979
+ type: literal("addon"),
12980
+ target: string(),
12981
+ access: array(MethodAccessSchema).min(1)
12982
+ }),
12983
+ DeviceTokenScopeSchema
12984
+ ]));
12985
+ object({
12986
+ id: string(),
12987
+ username: string(),
12988
+ passwordHash: string(),
12989
+ /**
12990
+ * Admin bypass. When true, the middleware skips the scope-access
12991
+ * check entirely. There is no other axis of privilege; the legacy
12992
+ * role enum collapsed onto this boolean in v2.
12993
+ */
12994
+ isAdmin: boolean().default(false),
12995
+ allowedProviders: AllowedProviderSchema,
12996
+ allowedDevices: AllowedDevicesSchema,
12997
+ /**
12998
+ * Scopes granted to this user. Admins bypass; their `scopes` is
12999
+ * ignored. Non-admins without scopes are locked out of every
13000
+ * protected call.
13001
+ */
13002
+ scopes: array(TokenScopeSchema).default([]),
13003
+ createdAt: number(),
13004
+ updatedAt: number()
13005
+ });
13006
+ object({
13007
+ id: string(),
13008
+ label: string(),
13009
+ isAdmin: boolean().default(false),
13010
+ allowedProviders: AllowedProviderSchema,
13011
+ allowedDevices: AllowedDevicesSchema,
13012
+ tokenHash: string(),
13013
+ tokenPrefix: string(),
13014
+ createdAt: number(),
13015
+ lastUsedAt: number().optional()
13016
+ });
13017
+ object({
13018
+ id: string(),
13019
+ userId: string(),
13020
+ name: string(),
13021
+ tokenHash: string(),
13022
+ tokenPrefix: string(),
13023
+ scopes: array(TokenScopeSchema),
13024
+ expiresAt: number().nullish(),
13025
+ lastUsedAt: number().nullish(),
13026
+ createdAt: number()
13027
+ });
13028
+ /** What a share-view grant lets its holder see. */
13029
+ var ShareViewGrantSchema = object({
13030
+ kind: _enum(SHARE_VIEW_KINDS),
13031
+ deviceIds: array(number().int().nonnegative()).min(1).max(64),
13032
+ /** Talk-back, opt-in at mint time; absent means off. */
13033
+ talk: boolean().optional()
13034
+ });
13035
+ var ShareViewScopeSchema = object({
13036
+ type: literal("share-view"),
13037
+ grant: ShareViewGrantSchema
13038
+ });
13039
+ var AddonRoutesScopeSchema = object({
13040
+ type: literal("addon-routes"),
13041
+ access: array(MethodAccessSchema).min(1)
13042
+ });
13043
+ var CredentialScopeSchema = union([
13044
+ literal("*"),
13045
+ ShareViewScopeSchema,
13046
+ AddonRoutesScopeSchema,
13047
+ TokenScopeSchema
13048
+ ]);
13049
+ object({
13050
+ kind: literal("credential"),
13051
+ sub: string().min(1),
13052
+ jti: string().min(16),
13053
+ scopes: array(CredentialScopeSchema).min(1)
13054
+ });
12826
13055
  _enum(["new-session", "step-up"]);
12827
13056
  /** The languages the hub's app landing pages are written in (D858). */
12828
13057
  var AppPageLangSchema = _enum(["en", "it"]);
@@ -43977,202 +44206,6 @@ method(object({}), object({ rules: array(NcRuleSchema) }), { auth: "admin" }), m
43977
44206
  auth: "admin"
43978
44207
  }), method(NcAlarmSensorsInputSchema, NcAlarmSensorsSchema, { auth: "admin" });
43979
44208
  /**
43980
- * Zod schemas for persisted record types.
43981
- *
43982
- * These schemas serve as the single source of truth for types that are
43983
- * stored in the settings-store backend and retrieved via tRPC. They
43984
- * replace the manual TypeScript interfaces with schema-derived types,
43985
- * enabling runtime validation when reading from the backend.
43986
- *
43987
- * Convention: each schema is named `<Type>Schema`, the inferred TS type
43988
- * keeps the original name for backward compatibility.
43989
- */
43990
- /**
43991
- * Auth model (v2 — 2026-05-12 caps-only):
43992
- *
43993
- * Two principals:
43994
- * - `isAdmin: true` — full bypass. Admin scope set is ignored.
43995
- * - `isAdmin: false` — every call gated by `scopes` (see TokenScope).
43996
- *
43997
- * No role enum. There used to be `viewer / agent / scoped` and earlier
43998
- * `super_admin` — collapsed onto the single boolean because every
43999
- * non-admin caller is governed by the same scope-check rules; the
44000
- * distinction was only ever used to route role-specific procedures
44001
- * which we no longer have. CLI / webhook integrations are `cst_*` tokens
44002
- * with `isAdmin: false` + an explicit scope list.
44003
- */
44004
- /** Per-method access flavour. Materialised on every cap method via codegen. */
44005
- var MethodAccessSchema = _enum([
44006
- "view",
44007
- "create",
44008
- "delete"
44009
- ]);
44010
- /**
44011
- * A single scope grant. Three forms — checked in matcher with OR
44012
- * semantics; the first match decides whether the call passes:
44013
- *
44014
- * - `category` — broadest. `target: 'device' | 'system'` selects every
44015
- * cap with the matching `scope` declaration. New caps inherit grants
44016
- * automatically — adding a device cap to the codebase makes it
44017
- * reachable to every user with `category:device [...]` without a
44018
- * re-grant. Use this for "family viewer" / "operator" tiers.
44019
- *
44020
- * - `addon` — every cap that ships inside a given addon id. Niche;
44021
- * useful when an integration needs to interact with one specific
44022
- * addon's surface regardless of how many caps it exports.
44023
- *
44024
- * - `capability` — the most precise form. Single cap name. Use for
44025
- * integration tokens where you want to grant `addons.installPackage`
44026
- * and nothing else.
44027
- *
44028
- * `access` is REQUIRED with min 1 element. `admin` bypass is the
44029
- * "give me everything" escape; there is no wildcard scope.
44030
- */
44031
- var AllowedProviderSchema = union([literal("*"), array(string())]);
44032
- var AllowedDevicesSchema = record(string(), union([literal("*"), array(string())]));
44033
- var CapScopeSchema = _enum(["device", "system"]);
44034
- /**
44035
- * DeviceSelector (scope model v3 — 2026-08-12).
44036
- *
44037
- * A `device` grant no longer carries a frozen list of deviceIds. It carries
44038
- * a SELECTOR the matcher resolves against the live fleet, so the grant can be
44039
- * DYNAMIC: a `types:['camera']` selector automatically covers a camera added
44040
- * AFTER the grant was minted — no re-grant, no re-login.
44041
- *
44042
- * - `all` — every device in the deployment. The broad viewer/operator
44043
- * lever without a `category` grant (a `category` grant also covers device
44044
- * caps that carry no deviceId; `all` is specifically the device set).
44045
- * - `ids` — an explicit deviceId list. This is what a v2 `device:[…]`
44046
- * grant migrates to (see {@link TokenScopeSchema}); STATIC — a new camera
44047
- * is NOT covered until the grant is edited.
44048
- * - `types` — every device of a `DeviceType` (e.g. every `camera`).
44049
- * DYNAMIC. A device that changes type, or a new device of the type,
44050
- * re-resolves on the next request.
44051
- * - `locations` — every device whose operator-assigned `location` label is
44052
- * in the set (e.g. "Garden", "Front door"). DYNAMIC. A device with a
44053
- * null/unset location matches NO `locations` selector.
44054
- */
44055
- var DeviceSelectorSchema = discriminatedUnion("kind", [
44056
- object({ kind: literal("all") }),
44057
- object({
44058
- kind: literal("ids"),
44059
- ids: array(number().int()).min(1)
44060
- }),
44061
- object({
44062
- kind: literal("types"),
44063
- types: array(_enum(DeviceType)).min(1)
44064
- }),
44065
- object({
44066
- kind: literal("locations"),
44067
- locations: array(string().min(1)).min(1)
44068
- })
44069
- ]);
44070
- var DeviceTokenScopeSchema = object({
44071
- type: literal("device"),
44072
- /** The device SET this grant covers — resolved against the live fleet. */
44073
- selector: DeviceSelectorSchema,
44074
- access: array(MethodAccessSchema).min(1),
44075
- /**
44076
- * Whether a grant on a PARENT device transparently covers its accessory
44077
- * CHILDREN (siren / floodlight / PIR) via the persisted-parentage walk.
44078
- * Direction is parent → children ONLY.
44079
- *
44080
- * Absent → the matcher DERIVES it from the access flavour: `view`
44081
- * inherits (a camera viewer sees the camera's accessories), `create` /
44082
- * `delete` do NOT (actuating/removing a child is an explicit act the
44083
- * operator must grant on the child, not inherit from the parent). Set it
44084
- * explicitly to override that default per grant.
44085
- */
44086
- includeLinked: boolean().optional()
44087
- });
44088
- /**
44089
- * v2 → v3 lazy migration. A pre-v3 `device` grant carried
44090
- * `targets: string[]` (stringified deviceIds); it rewrites to the equivalent
44091
- * `selector: {kind:'ids', ids}`. Applied as a `preprocess` so it runs on
44092
- * EVERY parse path — stored records AND the JWT-carried scope arrays
44093
- * normalised at the request boundary ({@link normalizeTokenScopes} in
44094
- * `device-selector.ts`). Chosen over a one-time DB migration because a
44095
- * migration cannot reach a JWT already in a client's hands; parse-time
44096
- * migration covers both without a flag day. No cast — the raw object is read
44097
- * through `Reflect.get` (its static type is `unknown`).
44098
- */
44099
- function migrateLegacyTokenScope(raw) {
44100
- if (raw === null || typeof raw !== "object" || Array.isArray(raw)) return raw;
44101
- if (Reflect.get(raw, "type") !== "device") return raw;
44102
- if (Reflect.get(raw, "selector") !== void 0) return raw;
44103
- const targets = Reflect.get(raw, "targets");
44104
- if (!Array.isArray(targets)) return raw;
44105
- return {
44106
- type: "device",
44107
- selector: {
44108
- kind: "ids",
44109
- ids: targets.map((t) => typeof t === "string" ? Number(t) : t).filter((n) => typeof n === "number" && Number.isInteger(n))
44110
- },
44111
- access: Reflect.get(raw, "access")
44112
- };
44113
- }
44114
- var TokenScopeSchema = preprocess(migrateLegacyTokenScope, discriminatedUnion("type", [
44115
- object({
44116
- type: literal("category"),
44117
- target: CapScopeSchema,
44118
- access: array(MethodAccessSchema).min(1)
44119
- }),
44120
- object({
44121
- type: literal("capability"),
44122
- target: string(),
44123
- access: array(MethodAccessSchema).min(1)
44124
- }),
44125
- object({
44126
- type: literal("addon"),
44127
- target: string(),
44128
- access: array(MethodAccessSchema).min(1)
44129
- }),
44130
- DeviceTokenScopeSchema
44131
- ]));
44132
- object({
44133
- id: string(),
44134
- username: string(),
44135
- passwordHash: string(),
44136
- /**
44137
- * Admin bypass. When true, the middleware skips the scope-access
44138
- * check entirely. There is no other axis of privilege; the legacy
44139
- * role enum collapsed onto this boolean in v2.
44140
- */
44141
- isAdmin: boolean().default(false),
44142
- allowedProviders: AllowedProviderSchema,
44143
- allowedDevices: AllowedDevicesSchema,
44144
- /**
44145
- * Scopes granted to this user. Admins bypass; their `scopes` is
44146
- * ignored. Non-admins without scopes are locked out of every
44147
- * protected call.
44148
- */
44149
- scopes: array(TokenScopeSchema).default([]),
44150
- createdAt: number(),
44151
- updatedAt: number()
44152
- });
44153
- object({
44154
- id: string(),
44155
- label: string(),
44156
- isAdmin: boolean().default(false),
44157
- allowedProviders: AllowedProviderSchema,
44158
- allowedDevices: AllowedDevicesSchema,
44159
- tokenHash: string(),
44160
- tokenPrefix: string(),
44161
- createdAt: number(),
44162
- lastUsedAt: number().optional()
44163
- });
44164
- object({
44165
- id: string(),
44166
- userId: string(),
44167
- name: string(),
44168
- tokenHash: string(),
44169
- tokenPrefix: string(),
44170
- scopes: array(TokenScopeSchema),
44171
- expiresAt: number().nullish(),
44172
- lastUsedAt: number().nullish(),
44173
- createdAt: number()
44174
- });
44175
- /**
44176
44209
  * `oauth-integration` — a collection cap by which an addon declares
44177
44210
  * itself a linkable OAuth client of the hub's core `/oauth2/*` server.
44178
44211
  * Each provider returns a static descriptor; the core enumerates them
@@ -36,7 +36,7 @@ async function r() {
36
36
  }
37
37
  },
38
38
  "@camstack/types": {
39
- version: "1.2.385",
39
+ version: "1.2.386",
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.135",
48
+ version: "1.2.136",
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.302",
84
+ version: "1.2.303",
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-DfNFNGnO.js");
2
+ require("./dist-Co-Ch58W.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-DfNFNGnO.js");
2
+ const require_dist = require("../dist-Co-Ch58W.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");
@@ -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-DM9y4CJe.mjs";
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-CLSVfoxe.mjs";
2
2
  import path from "node:path";
3
3
  import { createHash } from "node:crypto";
4
4
  import { createReadStream } from "node:fs";
@@ -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-BAAHnmTT.mjs";
4
+ import { h as l } from "./responsive-CqqXFNE0.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-DfNFNGnO.js");
2
+ const require_dist = require("../../dist-Co-Ch58W.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");
@@ -1,4 +1,4 @@
1
- import { C as object, S as number, T as string, _ as isSecretClear, b as toSecretFieldView, 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 record, x as boolean, y as settingsArrayAdoptsFrom } from "../../dist-DM9y4CJe.mjs";
1
+ import { C as object, S as number, T as string, _ as isSecretClear, b as toSecretFieldView, 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 record, x as boolean, y as settingsArrayAdoptsFrom } from "../../dist-CLSVfoxe.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";
@@ -1,2 +1,2 @@
1
- import { n as e, t } from "./virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_training_page__remoteEntry_js-D81A7IJp.mjs";
1
+ import { n as e, t } from "./virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_training_page__remoteEntry_js-mXPV__C7.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-DlLXF7aF.mjs";
3
+ import { y as c } from "./_virtual_mf___mfe_internal__addon_training_page__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-DNz5PuiW.mjs";
4
4
  //#region ../ui-library/src/lib/shared-context.ts
5
5
  o();
6
6
  function l(e, t) {
@@ -2762,7 +2762,7 @@ async function or(e) {
2762
2762
  }
2763
2763
  }
2764
2764
  async function sr() {
2765
- return ir ||= or(() => import("./_virtual_mf-localSharedImportMap___mfe_internal__addon_training_page-BbkzYirO.mjs")).catch((e) => {
2765
+ return ir ||= or(() => import("./_virtual_mf-localSharedImportMap___mfe_internal__addon_training_page-D2t3iWfl.mjs")).catch((e) => {
2766
2766
  throw ir = void 0, e;
2767
2767
  }), ir;
2768
2768
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-training",
3
- "version": "0.1.59",
3
+ "version": "0.1.60",
4
4
  "description": "Cloud training for CamStack: fine-tune the root detector on your own frames, on your own GPU-cloud account",
5
5
  "keywords": [
6
6
  "camstack",