@camstack/addon-training 0.1.13 → 0.1.15

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.
@@ -31157,7 +31157,7 @@ var CustomActionInputSchema = object({
31157
31157
  action: string().min(1),
31158
31158
  input: unknown()
31159
31159
  });
31160
- method(_void(), array(AddonListItemSchema).readonly()), method(object({
31160
+ method(object({ nodeId: string().optional() }).optional(), array(AddonListItemSchema).readonly()), method(object({
31161
31161
  addonId: string(),
31162
31162
  limit: number().min(1).max(500).default(100),
31163
31163
  level: LogLevelSchema$2.optional()
@@ -31190,7 +31190,7 @@ var CustomActionInputSchema = object({
31190
31190
  action: string().min(1),
31191
31191
  input: unknown()
31192
31192
  });
31193
- method(_void(), array(AddonListItemSchema).readonly()), method(object({
31193
+ method(object({ nodeId: string().optional() }).optional(), array(AddonListItemSchema).readonly()), method(object({
31194
31194
  addonId: string(),
31195
31195
  limit: number().min(1).max(500).default(100),
31196
31196
  level: LogLevelSchema$2.optional()
@@ -36,7 +36,7 @@ async function r() {
36
36
  }
37
37
  },
38
38
  "@camstack/types": {
39
- version: "1.2.341",
39
+ version: "1.2.342",
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.265",
84
+ version: "1.2.267",
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-DVDBSrjw.js");
2
+ require("./dist-iLuyzcbv.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-DVDBSrjw.js");
2
+ const require_dist = require("../dist-iLuyzcbv.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, n as TrainingJobSchema, o as parseTrainingEventLine, r as TrainingJobSpecSchema, s as trainingCapability, t as TRAINING_JOB_SCHEMA } from "../dist-Phot2UwD.mjs";
1
+ import { a as addonPagesSourceCapability, i as TrainingResultSchema, l as BaseAddon, n as TrainingJobSchema, o as parseTrainingEventLine, r as TrainingJobSpecSchema, s as trainingCapability, t as TRAINING_JOB_SCHEMA } from "../dist-DSHERvpS.mjs";
2
2
  import path from "node:path";
3
3
  import { createHash } from "node:crypto";
4
4
  import { createReadStream } from "node:fs";
@@ -34,20 +34,23 @@ function d({ title: e, icon: n, headerRight: r, collapsible: i = !1, defaultOpen
34
34
  }
35
35
  function f({ label: e, icon: t, children: n, footer: r }) {
36
36
  return /* @__PURE__ */ s("div", {
37
- className: "rounded-md border border-border/60 bg-background/40 px-3 py-2",
37
+ className: "min-w-0 rounded-lg border border-border bg-surface p-2 sm:p-2.5",
38
38
  children: [
39
39
  /* @__PURE__ */ s("div", {
40
- className: "mb-1 flex items-center gap-1.5 text-[11px] uppercase tracking-wider text-foreground-subtle",
41
- children: [t, e]
40
+ className: "mb-0.5 flex min-w-0 items-center gap-1.5 text-[10px] uppercase tracking-wider text-foreground-subtle",
41
+ children: [t, /* @__PURE__ */ o("span", {
42
+ className: "min-w-0 truncate",
43
+ children: e
44
+ })]
42
45
  }),
43
46
  /* @__PURE__ */ o("div", {
44
- className: "text-sm font-medium text-foreground",
47
+ className: "truncate text-lg font-semibold leading-tight text-foreground",
45
48
  children: n
46
49
  }),
47
- r ? /* @__PURE__ */ o("div", {
48
- className: "mt-0.5 text-[10px] text-foreground-subtle",
50
+ r == null ? null : /* @__PURE__ */ o("div", {
51
+ className: "mt-0.5 truncate text-[10px] text-foreground-subtle",
49
52
  children: r
50
- }) : null
53
+ })
51
54
  ]
52
55
  });
53
56
  }
@@ -1,5 +1,5 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_dist = require("../../dist-DVDBSrjw.js");
2
+ const require_dist = require("../../dist-iLuyzcbv.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 trainingProviderCapability, d as number, f as object, l as BaseAddon, m as string, p as record, u as boolean } from "../../dist-Phot2UwD.mjs";
1
+ import { c as trainingProviderCapability, d as number, f as object, l as BaseAddon, m as string, p as record, u as boolean } from "../../dist-DSHERvpS.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-BA6poulh.mjs";
1
+ import { n as e, t } from "./virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_training_page__remoteEntry_js-Dr6mcPCX.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-CM9dVIfY.mjs")).catch((e) => {
2765
+ return ir ||= or(() => import("./_virtual_mf-localSharedImportMap___mfe_internal__addon_training_page-ka9V-E7v.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.13",
3
+ "version": "0.1.15",
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",