@camstack/addon-training 0.1.113 → 0.1.115

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.
@@ -56675,6 +56675,12 @@ var TerminalInstanceInfoSchema = object({
56675
56675
  instanceId: string(),
56676
56676
  cameraStableId: string(),
56677
56677
  nodeId: string(),
56678
+ /**
56679
+ * False while the node the instance is bound to is not in the cluster
56680
+ * topology (forgotten, renamed, re-paired). The instance is kept; the
56681
+ * operator re-points it with `updateInstance({ targetNodeId })`.
56682
+ */
56683
+ nodeInCluster: boolean(),
56678
56684
  profileId: string(),
56679
56685
  profileLabel: string(),
56680
56686
  name: string(),
@@ -56724,6 +56730,8 @@ method(_void(), array(TerminalProfileInfoSchema).readonly(), { auth: "admin" }),
56724
56730
  auth: "admin"
56725
56731
  }), method(object({
56726
56732
  instanceId: string().min(1),
56733
+ /** Re-point the instance to another node; the profile must exist there. */
56734
+ targetNodeId: string().min(1).max(256).optional(),
56727
56735
  name: string().trim().min(1).max(160).optional(),
56728
56736
  executable: string().max(1024).optional(),
56729
56737
  args: array(string().max(2048)).max(64).optional(),
@@ -59296,7 +59304,14 @@ var RemoteLayoutGroupSchema = object({
59296
59304
  col: number().int().min(0).max(24),
59297
59305
  rowSpan: number().int().min(1).max(24),
59298
59306
  colSpan: number().int().min(1).max(24),
59299
- title: string().min(1).max(40).optional()
59307
+ title: string().min(1).max(40).optional(),
59308
+ /**
59309
+ * How much room a divider takes: `compact` (the default) is a slim rule,
59310
+ * `normal` a full grid row. Other frames ignore it.
59311
+ */
59312
+ size: _enum(["compact", "normal"]).optional(),
59313
+ /** Keep the title in the layout but draw only the rule. */
59314
+ hideTitle: boolean().optional()
59300
59315
  });
59301
59316
  function rectsOverlap(a, b) {
59302
59317
  return a.row < b.row + b.rowSpan && b.row < a.row + a.rowSpan && a.col < b.col + b.colSpan && b.col < a.col + a.colSpan;
@@ -56708,6 +56708,12 @@ var TerminalInstanceInfoSchema = object({
56708
56708
  instanceId: string(),
56709
56709
  cameraStableId: string(),
56710
56710
  nodeId: string(),
56711
+ /**
56712
+ * False while the node the instance is bound to is not in the cluster
56713
+ * topology (forgotten, renamed, re-paired). The instance is kept; the
56714
+ * operator re-points it with `updateInstance({ targetNodeId })`.
56715
+ */
56716
+ nodeInCluster: boolean(),
56711
56717
  profileId: string(),
56712
56718
  profileLabel: string(),
56713
56719
  name: string(),
@@ -56757,6 +56763,8 @@ method(_void(), array(TerminalProfileInfoSchema).readonly(), { auth: "admin" }),
56757
56763
  auth: "admin"
56758
56764
  }), method(object({
56759
56765
  instanceId: string().min(1),
56766
+ /** Re-point the instance to another node; the profile must exist there. */
56767
+ targetNodeId: string().min(1).max(256).optional(),
56760
56768
  name: string().trim().min(1).max(160).optional(),
56761
56769
  executable: string().max(1024).optional(),
56762
56770
  args: array(string().max(2048)).max(64).optional(),
@@ -59329,7 +59337,14 @@ var RemoteLayoutGroupSchema = object({
59329
59337
  col: number().int().min(0).max(24),
59330
59338
  rowSpan: number().int().min(1).max(24),
59331
59339
  colSpan: number().int().min(1).max(24),
59332
- title: string().min(1).max(40).optional()
59340
+ title: string().min(1).max(40).optional(),
59341
+ /**
59342
+ * How much room a divider takes: `compact` (the default) is a slim rule,
59343
+ * `normal` a full grid row. Other frames ignore it.
59344
+ */
59345
+ size: _enum(["compact", "normal"]).optional(),
59346
+ /** Keep the title in the layout but draw only the rule. */
59347
+ hideTitle: boolean().optional()
59333
59348
  });
59334
59349
  function rectsOverlap(a, b) {
59335
59350
  return a.row < b.row + b.rowSpan && b.row < a.row + a.rowSpan && a.col < b.col + b.colSpan && b.col < a.col + a.colSpan;
@@ -36,7 +36,7 @@ async function r() {
36
36
  }
37
37
  },
38
38
  "@camstack/types": {
39
- version: "1.2.452",
39
+ version: "1.2.454",
40
40
  scope: "default",
41
41
  shareConfig: {
42
42
  singleton: !0,
@@ -81,7 +81,7 @@ async function r() {
81
81
  }
82
82
  },
83
83
  "@camstack/ui-library": {
84
- version: "1.2.357",
84
+ version: "1.2.359",
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-j2JtuQ21.js");
2
+ require("./dist-DSOULr-_.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-j2JtuQ21.js");
2
+ const require_dist = require("../dist-DSOULr-_.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 parseTrainingEventLine, c as BaseAddon, d as addonPagesSourceCapability, i as TrainingResultSchema, l as RECORD_MAX_DATA_BYTES, m as defineRecordKinds, n as TrainingJobSchema, o as trainingCapability, r as TrainingJobSpecSchema, t as TRAINING_JOB_SCHEMA } from "../dist-B7trMqj7.mjs";
1
+ import { a as parseTrainingEventLine, c as BaseAddon, d as addonPagesSourceCapability, i as TrainingResultSchema, l as RECORD_MAX_DATA_BYTES, m as defineRecordKinds, n as TrainingJobSchema, o as trainingCapability, r as TrainingJobSpecSchema, t as TRAINING_JOB_SCHEMA } from "../dist-Bdwiobn9.mjs";
2
2
  import path from "node:path";
3
3
  import { createHash } from "node:crypto";
4
4
  import { createReadStream } from "node:fs";
@@ -1,5 +1,5 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_dist = require("../../dist-j2JtuQ21.js");
2
+ const require_dist = require("../../dist-DSOULr-_.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 record, S as object, _ as isSecretClear, b as boolean, c as BaseAddon, f as arrayItemFieldPath, g as globalSecretScope, h as entryBody, p as defineEntryKind, s as trainingProviderCapability, u as SECRET_CLEAR, v as isSecretMarker, w as string, x as number, y as toSecretFieldView } from "../../dist-B7trMqj7.mjs";
1
+ import { C as record, S as object, _ as isSecretClear, b as boolean, c as BaseAddon, f as arrayItemFieldPath, g as globalSecretScope, h as entryBody, p as defineEntryKind, s as trainingProviderCapability, u as SECRET_CLEAR, v as isSecretMarker, w as string, x as number, y as toSecretFieldView } from "../../dist-Bdwiobn9.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-DlmMJ8_m.mjs";
1
+ import { n as e, t } from "./virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_training_page__remoteEntry_js-DeUECPfO.mjs";
2
2
  export { t as get, e as init };
@@ -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-Bya5bIs3.mjs")).catch((e) => {
2765
+ return ir ||= or(() => import("./_virtual_mf-localSharedImportMap___mfe_internal__addon_training_page-gt0ubVua.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.113",
3
+ "version": "0.1.115",
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",