@camstack/addon-model-studio 1.0.11 → 1.0.13

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/_stub.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import "./virtualExposes-CWSi4E_g.mjs";
2
- import "./virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_model_studio_page__remoteEntry_js-BzgDZiVU.mjs";
2
+ import "./virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_model_studio_page__remoteEntry_js-CqfX1MWB.mjs";
3
3
  import { _ as e, c as t, h as n, i as r, l as i, m as a, p as o, r as s, t as c, u as l, y as u } from "./_virtual_mf___mfe_internal__addon_model_studio_page__loadShare__react__loadShare__.js-DJDHChgO.mjs";
4
4
  import { n as d, r as f, t as p } from "./_virtual_mf___mfe_internal__addon_model_studio_page__loadShare__react_mf_1_jsx_mf_2_runtime__loadShare__.js-ds_Ehzaa.mjs";
5
5
  import { a as m, c as h, o as g, s as _ } from "./player-overlays-CWreMmrl.mjs";
@@ -1,9 +1,9 @@
1
- import "./virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_model_studio_page__remoteEntry_js-BzgDZiVU.mjs";
1
+ import "./virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_model_studio_page__remoteEntry_js-CqfX1MWB.mjs";
2
2
  //#region \0virtual:mf-localSharedImportMap:__mfe_internal__addon_model_studio_page
3
3
  var e = {
4
4
  "@camstack/sdk": {
5
5
  name: "@camstack/sdk",
6
- version: "1.1.11",
6
+ version: "1.1.13",
7
7
  scope: ["default"],
8
8
  loaded: !1,
9
9
  from: "addon_model_studio_page",
@@ -18,7 +18,7 @@ var e = {
18
18
  },
19
19
  "@camstack/types": {
20
20
  name: "@camstack/types",
21
- version: "1.1.12",
21
+ version: "1.1.16",
22
22
  scope: ["default"],
23
23
  loaded: !1,
24
24
  from: "addon_model_studio_page",
@@ -33,7 +33,7 @@ var e = {
33
33
  },
34
34
  "@camstack/ui-library": {
35
35
  name: "@camstack/ui-library",
36
- version: "1.1.12",
36
+ version: "1.1.15",
37
37
  scope: ["default"],
38
38
  loaded: !1,
39
39
  from: "addon_model_studio_page",
@@ -36,7 +36,7 @@ async function r() {
36
36
  }
37
37
  },
38
38
  "@camstack/types": {
39
- version: "1.1.12",
39
+ version: "1.1.16",
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.1.11",
48
+ version: "1.1.13",
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.1.12",
84
+ version: "1.1.15",
85
85
  scope: "default",
86
86
  shareConfig: {
87
87
  singleton: !0,
@@ -7067,7 +7067,21 @@ var StorageLocationDeclarationSchema = object({
7067
7067
  * slots (e.g. `recordingsLow` → `recordings`) so operators only need to
7068
7068
  * configure the primary location.
7069
7069
  */
7070
- defaultsTo: string().optional()
7070
+ defaultsTo: string().optional(),
7071
+ /**
7072
+ * Which node root the seeded `<id>:default` instance is placed under on a
7073
+ * FRESH install:
7074
+ * - `'data'` (default) — the node's data dir (`CAMSTACK_DATA` / boot dir),
7075
+ * the appData volume. Right for small/durable data (backups, logs, models).
7076
+ * - `'media'` — the dedicated media volume (`CAMSTACK_MEDIA_ROOT`) when that
7077
+ * env is set, else falls back to the data root. Right for bulky, hot media
7078
+ * (recordings, event media) that should stay off the appData disk.
7079
+ *
7080
+ * Only affects the seeded default's `basePath`; operators can repoint any
7081
+ * location afterwards, and a `defaultsTo` slot inherits its parent's root
7082
+ * regardless of this field. Absent (the common case) is treated as `'data'`.
7083
+ */
7084
+ defaultRoot: _enum(["data", "media"]).optional()
7071
7085
  });
7072
7086
  var DecoderStatsSchema = object({
7073
7087
  inputFps: number(),
@@ -7944,6 +7958,10 @@ var RtspRestreamEntrySchema = object({
7944
7958
  var BrokerRtspClientSchema = object({
7945
7959
  sessionId: string(),
7946
7960
  remoteAddr: string(),
7961
+ /** Client `User-Agent` (e.g. `recorder` for the recorder's RTSP pull), or
7962
+ * null/absent when the client sent none. Lets the UI label a consumer by
7963
+ * purpose. Optional so a client built against an older schema stays valid. */
7964
+ userAgent: string().nullish(),
7947
7965
  playing: boolean(),
7948
7966
  muted: boolean(),
7949
7967
  connectedAt: number(),
@@ -7044,7 +7044,21 @@ var StorageLocationDeclarationSchema = object({
7044
7044
  * slots (e.g. `recordingsLow` → `recordings`) so operators only need to
7045
7045
  * configure the primary location.
7046
7046
  */
7047
- defaultsTo: string().optional()
7047
+ defaultsTo: string().optional(),
7048
+ /**
7049
+ * Which node root the seeded `<id>:default` instance is placed under on a
7050
+ * FRESH install:
7051
+ * - `'data'` (default) — the node's data dir (`CAMSTACK_DATA` / boot dir),
7052
+ * the appData volume. Right for small/durable data (backups, logs, models).
7053
+ * - `'media'` — the dedicated media volume (`CAMSTACK_MEDIA_ROOT`) when that
7054
+ * env is set, else falls back to the data root. Right for bulky, hot media
7055
+ * (recordings, event media) that should stay off the appData disk.
7056
+ *
7057
+ * Only affects the seeded default's `basePath`; operators can repoint any
7058
+ * location afterwards, and a `defaultsTo` slot inherits its parent's root
7059
+ * regardless of this field. Absent (the common case) is treated as `'data'`.
7060
+ */
7061
+ defaultRoot: _enum(["data", "media"]).optional()
7048
7062
  });
7049
7063
  var DecoderStatsSchema = object({
7050
7064
  inputFps: number(),
@@ -7921,6 +7935,10 @@ var RtspRestreamEntrySchema = object({
7921
7935
  var BrokerRtspClientSchema = object({
7922
7936
  sessionId: string(),
7923
7937
  remoteAddr: string(),
7938
+ /** Client `User-Agent` (e.g. `recorder` for the recorder's RTSP pull), or
7939
+ * null/absent when the client sent none. Lets the UI label a consumer by
7940
+ * purpose. Optional so a client built against an older schema stays valid. */
7941
+ userAgent: string().nullish(),
7924
7942
  playing: boolean(),
7925
7943
  muted: boolean(),
7926
7944
  connectedAt: number(),
@@ -1,2 +1,2 @@
1
- import { n as e, t } from "./virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_model_studio_page__remoteEntry_js-BzgDZiVU.mjs";
1
+ import { n as e, t } from "./virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_model_studio_page__remoteEntry_js-CqfX1MWB.mjs";
2
2
  export { t as get, e as init };
@@ -2753,7 +2753,7 @@ async function rr(e) {
2753
2753
  }
2754
2754
  }
2755
2755
  async function ir() {
2756
- return tr ||= rr(() => import("./_virtual_mf-localSharedImportMap___mfe_internal__addon_model_studio_page-D6Wd9iZV.mjs")).catch((e) => {
2756
+ return tr ||= rr(() => import("./_virtual_mf-localSharedImportMap___mfe_internal__addon_model_studio_page-BjAlK1T1.mjs")).catch((e) => {
2757
2757
  throw tr = void 0, e;
2758
2758
  }), tr;
2759
2759
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-model-studio",
3
- "version": "1.0.11",
3
+ "version": "1.0.13",
4
4
  "description": "Custom detection model registry, conversion & distribution for CamStack",
5
5
  "keywords": [
6
6
  "camstack",
@@ -37,7 +37,8 @@
37
37
  "description": "Register, manipulate and distribute custom detection models",
38
38
  "entry": "./dist/index.js",
39
39
  "execution": {
40
- "placement": "any-node"
40
+ "placement": "any-node",
41
+ "heapProfile": "heavy"
41
42
  },
42
43
  "capabilities": [
43
44
  {