@camstack/addon-model-studio 1.1.265 → 1.1.266

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 (17) hide show
  1. package/dist/{MotionZonesSettings-DXOf3xDp.mjs → MotionZonesSettings-QEoTPmcr.mjs} +2 -2
  2. package/dist/{PrivacyMaskSettings-DasEXHXg.mjs → PrivacyMaskSettings-BbohzLpq.mjs} +4 -4
  3. package/dist/{SceneMonitorEditor-ClVvQVl6.mjs → SceneMonitorEditor-9Q681ceG.mjs} +3 -3
  4. package/dist/_stub.js +11 -11
  5. package/dist/{_virtual_mf-localSharedImportMap___mfe_internal__addon_model_studio_page-DSIDYb1S.mjs → _virtual_mf-localSharedImportMap___mfe_internal__addon_model_studio_page-BuCDA9zD.mjs} +3 -3
  6. package/dist/{_virtual_mf___mfe_internal__addon_model_studio_page__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-B0F3F6BP.mjs → _virtual_mf___mfe_internal__addon_model_studio_page__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-CVsfrcvP.mjs} +2 -2
  7. package/dist/{hostInit-DuCPmdPM.mjs → hostInit-CAAwjy3-.mjs} +2 -2
  8. package/dist/model-studio.addon.js +140 -9
  9. package/dist/model-studio.addon.mjs +140 -9
  10. package/dist/{player-overlays-BWxIhTSh.mjs → player-overlays-6oZdPigo.mjs} +1 -1
  11. package/dist/remoteEntry.js +1 -1
  12. package/dist/{responsive-Bb8t1Rws.mjs → responsive-DKuK9SrM.mjs} +1 -1
  13. package/dist/{scene-monitor-copy-Bps8TGiG.mjs → scene-monitor-copy-BZutPHjt.mjs} +1 -1
  14. package/dist/{square-DSJt_nVw.mjs → square-BoehEjTT.mjs} +1 -1
  15. package/dist/{trash-2-CzUTU-oX.mjs → trash-2-BTKS3ae6.mjs} +1 -1
  16. package/dist/{virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_model_studio_page__remoteEntry_js-LnfkvJQ6.mjs → virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_model_studio_page__remoteEntry_js-C0irhDNf.mjs} +1 -1
  17. package/package.json +1 -1
@@ -368,7 +368,7 @@ function buildScryptedRegistryDescriptor(entry) {
368
368
  };
369
369
  }
370
370
  //#endregion
371
- //#region ../types/dist/event-category-C4hVnRo8.mjs
371
+ //#region ../types/dist/event-category-BvOFi6PY.mjs
372
372
  var EventCategory = /* @__PURE__ */ function(EventCategory) {
373
373
  EventCategory["SystemBoot"] = "system.boot";
374
374
  EventCategory["SystemAddonsReady"] = "system.addons-ready";
@@ -432,6 +432,24 @@ var EventCategory = /* @__PURE__ */ function(EventCategory) {
432
432
  * consumes this category and maps it to the `addon-crash-loop` kind.
433
433
  */
434
434
  EventCategory["AddonRunnerFailed"] = "addon.runner-failed";
435
+ /**
436
+ * A runner whose addon refused to start with a typed reason (D877) - parked
437
+ * in `refused`, never counted by the crash breaker, retried on operator
438
+ * action. One event per refusal.
439
+ */
440
+ EventCategory["AddonRunnerRefused"] = "addon.runner-refused";
441
+ /**
442
+ * A runner settled on a state (D877): `running` (READY), `crashed`, `failed` or
443
+ * `refused`. In-process telemetry for the boot check (re-evaluate while any
444
+ * runner is still pending) and the alert centre (close a recovered runner).
445
+ */
446
+ EventCategory["ProcessStateChanged"] = "process.state-changed";
447
+ /**
448
+ * The node's one-shot runner boot check (D877): planned runners against the
449
+ * process service, `degraded` when any is failed, refused or missing. The
450
+ * alert centre turns it into one alert and a direct critical push.
451
+ */
452
+ EventCategory["SystemRunnerCheck"] = "system.runner-check";
435
453
  EventCategory["AddonError"] = "addon.error";
436
454
  EventCategory["AddonPageReady"] = "addon.page-ready";
437
455
  EventCategory["AddonWidgetReady"] = "addon.widget-ready";
@@ -5756,7 +5774,7 @@ var ZodIssueCode = {
5756
5774
  var ZodFirstPartyTypeKind;
5757
5775
  ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
5758
5776
  //#endregion
5759
- //#region ../types/dist/sleep-bwsTj221.mjs
5777
+ //#region ../types/dist/sleep-bgZLodYc.mjs
5760
5778
  /**
5761
5779
  * The audio chunk plane's byte format, and the ONE expansion from a coded
5762
5780
  * window to float samples (D455).
@@ -39405,6 +39423,36 @@ method(LlmRuntimeCompleteInputSchema, LlmGenerateResultSchema, {
39405
39423
  timeoutMs: AI_CAP_TRANSPORT_TIMEOUT_MS
39406
39424
  });
39407
39425
  /**
39426
+ * The report of a one-shot "move this owner's plaintext secrets into the
39427
+ * keychain" run (D878). COUNTS only - never a value, never a ref.
39428
+ *
39429
+ * The owner runs it on its own rows, through its own write path; an operator
39430
+ * script (`scripts/hub/migrate-raw-secrets.ts`) calls the owner's cap method.
39431
+ * Dry run (`apply: false`) reports what WOULD move and changes nothing.
39432
+ */
39433
+ var RawSecretMigrationInputSchema = object({
39434
+ /** `false` (the default of the script) = report only. */
39435
+ apply: boolean() });
39436
+ var RawSecretMigrationReportSchema = object({
39437
+ apply: boolean(),
39438
+ /** Rows that can carry a secret (a profile, an enrolment). */
39439
+ rows: number().int(),
39440
+ /** Rows whose secret was plaintext when the run started. */
39441
+ raw: number().int(),
39442
+ /** Rows that already held a keychain marker when the run started. */
39443
+ markers: number().int(),
39444
+ /** Plaintext rows moved by THIS run (always 0 on a dry run). */
39445
+ migrated: number().int(),
39446
+ /** Plaintext rows left in place because the move or its read-back failed. */
39447
+ failed: number().int(),
39448
+ /** After the run: rows still holding plaintext. */
39449
+ remainingRaw: number().int(),
39450
+ /** After the run: markers the keychain could not resolve right now. */
39451
+ unresolvedMarkers: number().int(),
39452
+ /** True when nothing is raw and every marker resolves. */
39453
+ verified: boolean()
39454
+ });
39455
+ /**
39408
39456
  * `llm` — consumer-facing LLM surface (spec §1-§3). Collection-mode: array
39409
39457
  * methods concat-fan across providers; single-row methods route to ONE
39410
39458
  * provider by the `addonId` in the call input (the notification-output
@@ -39589,6 +39637,9 @@ method(LlmGenerateBaseInputSchema, LlmGenerateResultSchema, {
39589
39637
  }), _void(), { kind: "mutation" }), method(object({}), array(LlmProfileKindDescriptorSchema)), method(object({}), array(LlmProfileSchema)), method(object({ profile: LlmProfileSchema }), LlmProfileSchema, {
39590
39638
  kind: "mutation",
39591
39639
  auth: "admin"
39640
+ }), method(RawSecretMigrationInputSchema, RawSecretMigrationReportSchema, {
39641
+ kind: "mutation",
39642
+ auth: "admin"
39592
39643
  }), method(ProfileRefInputSchema, _void(), {
39593
39644
  kind: "mutation",
39594
39645
  auth: "admin"
@@ -50018,6 +50069,41 @@ var ServerRollbackInfoSchema = object({
50018
50069
  atMs: number(),
50019
50070
  reason: string()
50020
50071
  });
50072
+ /**
50073
+ * The runner boot check (D877): the runners this node PLANNED (hub: one per
50074
+ * `resolveRunnerId` over its forked addons; agent: the runners its process
50075
+ * service holds, because only the hub plans) against the states the process
50076
+ * service reports. Kept in memory, recomputed by the same one-shot check after
50077
+ * every boot, served on `getServerPackageStatus`.
50078
+ *
50079
+ * `failed` is the D6 breaker's terminal state, `refused` a deterministic Init
50080
+ * refusal (an addon that said "I will not start, and here is why"), `missing` a
50081
+ * planned runner the process service has no entry for.
50082
+ */
50083
+ var RunnerRefusalSchema = object({
50084
+ runnerId: string(),
50085
+ addonIds: array(string()),
50086
+ reason: string()
50087
+ });
50088
+ var RunnerBootCheckSchema = object({
50089
+ checkedAtMs: number(),
50090
+ /** Runners planned for this node. */
50091
+ expected: number(),
50092
+ /** Planned runners whose process is `running`. */
50093
+ running: number(),
50094
+ failed: array(string()),
50095
+ refused: array(RunnerRefusalSchema),
50096
+ missing: array(string()),
50097
+ /**
50098
+ * Runners still on their way: `starting`, or `crashed` waiting on a backoff
50099
+ * respawn. The check is FINAL only when this is empty; until then nothing is
50100
+ * pushed and the verdict is re-evaluated on the next runner state change.
50101
+ * Optional for version skew (absent = settled).
50102
+ */
50103
+ pending: array(string()).optional(),
50104
+ /** True when the plan is the hub's (`missing` is then meaningful); false on an agent. */
50105
+ planKnown: boolean()
50106
+ });
50021
50107
  var ServerPackageStatusSchema = object({
50022
50108
  /** Root package name (`@camstack/server` on the hub). */
50023
50109
  packageName: string(),
@@ -50080,7 +50166,14 @@ var ServerPackageStatusSchema = object({
50080
50166
  * for version skew: an older provider's payload simply omits it, and an
50081
50167
  * absent wrapper is unknown — never `native`.
50082
50168
  */
50083
- wrapper: WrapperIdentitySchema.optional()
50169
+ wrapper: WrapperIdentitySchema.optional(),
50170
+ /**
50171
+ * What this node PLANNED to run against what its process service reports
50172
+ * (D877). Absent until the one-shot boot check has run (~60 s after boot) and
50173
+ * on a provider that predates it. Absent is "not checked yet", never "all
50174
+ * well": a consumer that needs the answer treats it as pending.
50175
+ */
50176
+ runners: RunnerBootCheckSchema.optional()
50084
50177
  });
50085
50178
  var ServerUpdateCheckResultSchema = object({
50086
50179
  packageName: string(),
@@ -50131,6 +50224,13 @@ var ServerUpdateOutcomeSchema = _enum([
50131
50224
  "refused",
50132
50225
  "failed"
50133
50226
  ]);
50227
+ /** One addon the pre-flight found the target version would refuse (D877). */
50228
+ var UpdateBlockerSchema = object({
50229
+ addonId: string(),
50230
+ reason: string(),
50231
+ /** What the operator does about it. */
50232
+ remedy: string()
50233
+ });
50134
50234
  var ServerUpdateActionResultSchema = object({
50135
50235
  accepted: boolean(),
50136
50236
  targetVersion: string().nullable(),
@@ -50148,14 +50248,27 @@ var ServerUpdateActionResultSchema = object({
50148
50248
  * The failure itself, verbatim enough to act on (the npm output for a
50149
50249
  * staging install). Non-null only for `failed`.
50150
50250
  */
50151
- error: string().nullable().optional()
50251
+ error: string().nullable().optional(),
50252
+ /**
50253
+ * The addons the target version would refuse to start on this node's live
50254
+ * store (D877), present when the pre-flight refused the update
50255
+ * (`reason: 'addon-would-refuse'`). Optional for version skew.
50256
+ */
50257
+ blockers: array(UpdateBlockerSchema).optional()
50152
50258
  });
50153
50259
  method(_void(), ServerPackageStatusSchema, { auth: "admin" }), method(_void(), ServerUpdateCheckResultSchema, {
50154
50260
  kind: "mutation",
50155
50261
  auth: "admin"
50156
- }), method(object({
50157
- /** Explicit target version; omitted = latest from the registry. */
50158
- version: string().optional() }), ServerUpdateActionResultSchema, {
50262
+ }), method(object({
50263
+ /** Explicit target version; omitted = latest from the registry. */
50264
+ version: string().optional(),
50265
+ /**
50266
+ * Apply even though the pre-flight (D877) found addons the target would
50267
+ * refuse to start. Off by default: those addons stay down until the
50268
+ * remedy is run, which is the incident this gate exists to prevent.
50269
+ */
50270
+ acknowledgeRefusals: boolean().optional()
50271
+ }), ServerUpdateActionResultSchema, {
50159
50272
  kind: "mutation",
50160
50273
  auth: "admin",
50161
50274
  timeoutMs: 16 * 6e4
@@ -52568,7 +52681,9 @@ var ManifestShapeSchema = object({
52568
52681
  var AddonProcessSchema = object({
52569
52682
  pid: number().optional(),
52570
52683
  mode: string(),
52571
- state: string()
52684
+ state: string(),
52685
+ /** Why the runner is `refused` (an addon's own words), when it is (D877). */
52686
+ reason: string().optional()
52572
52687
  });
52573
52688
  /**
52574
52689
  * Per-addon health snapshot from the kernel's AddonHealthMonitor.
@@ -60597,7 +60712,11 @@ method(_void(), array(UserSummarySchema), { auth: "admin" }), method(CreateUserI
60597
60712
  kind: "mutation",
60598
60713
  auth: "admin",
60599
60714
  access: "delete"
60600
- }), method(object({ userId: string() }), TotpStatusSchema, { auth: "admin" }), method(object({
60715
+ }), method(object({ userId: string() }), TotpStatusSchema, { auth: "admin" }), method(RawSecretMigrationInputSchema, RawSecretMigrationReportSchema, {
60716
+ kind: "mutation",
60717
+ auth: "admin",
60718
+ access: "create"
60719
+ }), method(object({
60601
60720
  userId: string(),
60602
60721
  code: string()
60603
60722
  }), object({ valid: boolean() }), {
@@ -64756,6 +64875,12 @@ Object.freeze({
64756
64875
  addonId: null,
64757
64876
  access: "view"
64758
64877
  },
64878
+ "llm.migrateRawSecrets": {
64879
+ capName: "llm",
64880
+ capScope: "system",
64881
+ addonId: null,
64882
+ access: "create"
64883
+ },
64759
64884
  "llm.resolveModelRef": {
64760
64885
  capName: "llm",
64761
64886
  capScope: "system",
@@ -69298,6 +69423,12 @@ Object.freeze({
69298
69423
  addonId: null,
69299
69424
  access: "view"
69300
69425
  },
69426
+ "userManagement.migrateRawSecrets": {
69427
+ capName: "user-management",
69428
+ capScope: "system",
69429
+ addonId: null,
69430
+ access: "create"
69431
+ },
69301
69432
  "userManagement.oauthExchangeCode": {
69302
69433
  capName: "user-management",
69303
69434
  capScope: "system",
@@ -1,6 +1,6 @@
1
1
  import { S as e, d as t, u as n, v as r } from "./_virtual_mf___mfe_internal__addon_model_studio_page__loadShare__react__loadShare__.js-DMBKVIH7.mjs";
2
2
  import { n as i, r as a, t as o } from "./_virtual_mf___mfe_internal__addon_model_studio_page__loadShare__react_mf_1_jsx_mf_2_runtime__loadShare__.js-ds_Ehzaa.mjs";
3
- import { g as s, h as c } from "./responsive-Bb8t1Rws.mjs";
3
+ import { g as s, h as c } from "./responsive-DKuK9SrM.mjs";
4
4
  var l = s("chevron-down", [["path", {
5
5
  d: "m6 9 6 6 6-6",
6
6
  key: "qrunsl"
@@ -1,2 +1,2 @@
1
- import { n as e, t } from "./virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_model_studio_page__remoteEntry_js-LnfkvJQ6.mjs";
1
+ import { n as e, t } from "./virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_model_studio_page__remoteEntry_js-C0irhDNf.mjs";
2
2
  export { t as get, e as init };
@@ -1,6 +1,6 @@
1
1
  import { S as e, d as t, g as n, i as r, l as i, n as a, r as o, u as s, v as c, y as l } from "./_virtual_mf___mfe_internal__addon_model_studio_page__loadShare__react__loadShare__.js-DMBKVIH7.mjs";
2
2
  import "./_virtual_mf___mfe_internal__addon_model_studio_page__loadShare__react_mf_1_jsx_mf_2_runtime__loadShare__.js-ds_Ehzaa.mjs";
3
- import { h as u } from "./_virtual_mf___mfe_internal__addon_model_studio_page__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-B0F3F6BP.mjs";
3
+ import { g as u } from "./_virtual_mf___mfe_internal__addon_model_studio_page__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-CVsfrcvP.mjs";
4
4
  //#region ../../node_modules/lucide-react/dist/esm/shared/src/utils/mergeClasses.js
5
5
  e();
6
6
  var d = (...e) => e.filter((e, t, n) => !!e && e.trim() !== "" && n.indexOf(e) === t).join(" ").trim(), f = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase(), p = (e) => e.replace(/^([A-Z])|[\s-_]+(\w)/g, (e, t, n) => n ? n.toUpperCase() : t.toLowerCase()), m = (e) => {
@@ -1,6 +1,6 @@
1
1
  import { S as e, g as t, l as n, v as r } from "./_virtual_mf___mfe_internal__addon_model_studio_page__loadShare__react__loadShare__.js-DMBKVIH7.mjs";
2
2
  import { n as i } from "./ui-text-BqZa5BNK.mjs";
3
- import { g as a } from "./responsive-Bb8t1Rws.mjs";
3
+ import { g as a } from "./responsive-DKuK9SrM.mjs";
4
4
  var o = a("camera", [["path", {
5
5
  d: "M13.997 4a2 2 0 0 1 1.76 1.05l.486.9A2 2 0 0 0 18.003 7H20a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V9a2 2 0 0 1 2-2h1.997a2 2 0 0 0 1.759-1.048l.489-.904A2 2 0 0 1 10.004 4z",
6
6
  key: "18u6gg"
@@ -1,4 +1,4 @@
1
- import { g as e } from "./responsive-Bb8t1Rws.mjs";
1
+ import { g as e } from "./responsive-DKuK9SrM.mjs";
2
2
  var t = e("eye-off", [
3
3
  ["path", {
4
4
  d: "M10.733 5.076a10.744 10.744 0 0 1 11.205 6.575 1 1 0 0 1 0 .696 10.747 10.747 0 0 1-1.444 2.49",
@@ -1,4 +1,4 @@
1
- import { g as e } from "./responsive-Bb8t1Rws.mjs";
1
+ import { g as e } from "./responsive-DKuK9SrM.mjs";
2
2
  var t = e("trash-2", [
3
3
  ["path", {
4
4
  d: "M10 11v6",
@@ -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-DSIDYb1S.mjs")).catch((e) => {
2756
+ return tr ||= rr(() => import("./_virtual_mf-localSharedImportMap___mfe_internal__addon_model_studio_page-BuCDA9zD.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.1.265",
3
+ "version": "1.1.266",
4
4
  "description": "Custom detection model registry, conversion & distribution for CamStack",
5
5
  "keywords": [
6
6
  "camstack",