@camstack/addon-model-studio 1.1.265 → 1.1.267

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-DgzasBlT.mjs} +2 -2
  2. package/dist/{PrivacyMaskSettings-DasEXHXg.mjs → PrivacyMaskSettings-C6V_pqH4.mjs} +4 -4
  3. package/dist/{SceneMonitorEditor-ClVvQVl6.mjs → SceneMonitorEditor-bYSdvmL5.mjs} +3 -3
  4. package/dist/_stub.js +12 -12
  5. package/dist/{_virtual_mf-localSharedImportMap___mfe_internal__addon_model_studio_page-DSIDYb1S.mjs → _virtual_mf-localSharedImportMap___mfe_internal__addon_model_studio_page-C3hY64lf.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-BxQy7-RG.mjs} +2 -2
  7. package/dist/{hostInit-DuCPmdPM.mjs → hostInit-GD6w76TD.mjs} +2 -2
  8. package/dist/model-studio.addon.js +154 -9
  9. package/dist/model-studio.addon.mjs +154 -9
  10. package/dist/{player-overlays-BWxIhTSh.mjs → player-overlays-DQIaDqhZ.mjs} +1 -1
  11. package/dist/remoteEntry.js +1 -1
  12. package/dist/{responsive-Bb8t1Rws.mjs → responsive-atOEv1Rp.mjs} +1 -1
  13. package/dist/{scene-monitor-copy-Bps8TGiG.mjs → scene-monitor-copy-_tVUcOrI.mjs} +1 -1
  14. package/dist/{square-DSJt_nVw.mjs → square-CQdNilMj.mjs} +1 -1
  15. package/dist/{trash-2-CzUTU-oX.mjs → trash-2-C8zCmZRx.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-DzJS1VnS.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-D-Q2_Mcd.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).
@@ -16031,6 +16049,41 @@ var ComposableCapabilitiesSchema = object({ caps: array(object({
16031
16049
  keyField: string()
16032
16050
  }).optional()
16033
16051
  })) });
16052
+ /**
16053
+ * The report of a one-shot "move this owner's plaintext secrets into the
16054
+ * keychain" run (D878). COUNTS only - never a value, never a ref.
16055
+ *
16056
+ * The owner runs it on its own rows, through its own write path; an operator
16057
+ * script (`scripts/hub/migrate-raw-secrets.ts`) calls the owner's cap method.
16058
+ * Dry run (`apply: false`) reports what WOULD move and changes nothing.
16059
+ */
16060
+ var RawSecretMigrationInputSchema = object({
16061
+ /** `false` (the default of the script) = report only. */
16062
+ apply: boolean() });
16063
+ var RawSecretMigrationReportSchema = object({
16064
+ apply: boolean(),
16065
+ /** Rows that can carry a secret (a profile, an enrolment). */
16066
+ rows: number().int(),
16067
+ /** Rows whose secret was plaintext when the run started. */
16068
+ raw: number().int(),
16069
+ /** Rows that already held a keychain marker when the run started. */
16070
+ markers: number().int(),
16071
+ /** Plaintext rows moved by THIS run (always 0 on a dry run). */
16072
+ migrated: number().int(),
16073
+ /** Plaintext rows left in place because the move or its read-back failed. */
16074
+ failed: number().int(),
16075
+ /** After the run: rows still holding plaintext. */
16076
+ remainingRaw: number().int(),
16077
+ /** After the run: markers the keychain could not resolve right now. */
16078
+ unresolvedMarkers: number().int(),
16079
+ /**
16080
+ * A second, redundant copy of the secrets' rows that the run found (and, on
16081
+ * `apply`, deleted after verifying the first). Owners with a single copy omit it.
16082
+ */
16083
+ redundantCopies: number().int().optional(),
16084
+ /** True when nothing is raw and every marker resolves. */
16085
+ verified: boolean()
16086
+ });
16034
16087
  /** Where a block runs. The operator chooses — a block driving a device on an
16035
16088
  * agent is the reason placement is not fixed to the hub. */
16036
16089
  var CoreBlockPlacementSchema = union([literal("hub"), string().min(1)]);
@@ -16257,6 +16310,9 @@ method(object({}), object({ blocks: array(CoreBlockSchema) }), { auth: "admin" }
16257
16310
  }), SettingsUpdateResultSchema, {
16258
16311
  kind: "mutation",
16259
16312
  auth: "admin"
16313
+ }), method(RawSecretMigrationInputSchema, RawSecretMigrationReportSchema, {
16314
+ kind: "mutation",
16315
+ auth: "admin"
16260
16316
  }), method(object({}), object({ libs: array(object({
16261
16317
  filePath: string(),
16262
16318
  content: string()
@@ -39589,6 +39645,9 @@ method(LlmGenerateBaseInputSchema, LlmGenerateResultSchema, {
39589
39645
  }), _void(), { kind: "mutation" }), method(object({}), array(LlmProfileKindDescriptorSchema)), method(object({}), array(LlmProfileSchema)), method(object({ profile: LlmProfileSchema }), LlmProfileSchema, {
39590
39646
  kind: "mutation",
39591
39647
  auth: "admin"
39648
+ }), method(RawSecretMigrationInputSchema, RawSecretMigrationReportSchema, {
39649
+ kind: "mutation",
39650
+ auth: "admin"
39592
39651
  }), method(ProfileRefInputSchema, _void(), {
39593
39652
  kind: "mutation",
39594
39653
  auth: "admin"
@@ -50018,6 +50077,41 @@ var ServerRollbackInfoSchema = object({
50018
50077
  atMs: number(),
50019
50078
  reason: string()
50020
50079
  });
50080
+ /**
50081
+ * The runner boot check (D877): the runners this node PLANNED (hub: one per
50082
+ * `resolveRunnerId` over its forked addons; agent: the runners its process
50083
+ * service holds, because only the hub plans) against the states the process
50084
+ * service reports. Kept in memory, recomputed by the same one-shot check after
50085
+ * every boot, served on `getServerPackageStatus`.
50086
+ *
50087
+ * `failed` is the D6 breaker's terminal state, `refused` a deterministic Init
50088
+ * refusal (an addon that said "I will not start, and here is why"), `missing` a
50089
+ * planned runner the process service has no entry for.
50090
+ */
50091
+ var RunnerRefusalSchema = object({
50092
+ runnerId: string(),
50093
+ addonIds: array(string()),
50094
+ reason: string()
50095
+ });
50096
+ var RunnerBootCheckSchema = object({
50097
+ checkedAtMs: number(),
50098
+ /** Runners planned for this node. */
50099
+ expected: number(),
50100
+ /** Planned runners whose process is `running`. */
50101
+ running: number(),
50102
+ failed: array(string()),
50103
+ refused: array(RunnerRefusalSchema),
50104
+ missing: array(string()),
50105
+ /**
50106
+ * Runners still on their way: `starting`, or `crashed` waiting on a backoff
50107
+ * respawn. The check is FINAL only when this is empty; until then nothing is
50108
+ * pushed and the verdict is re-evaluated on the next runner state change.
50109
+ * Optional for version skew (absent = settled).
50110
+ */
50111
+ pending: array(string()).optional(),
50112
+ /** True when the plan is the hub's (`missing` is then meaningful); false on an agent. */
50113
+ planKnown: boolean()
50114
+ });
50021
50115
  var ServerPackageStatusSchema = object({
50022
50116
  /** Root package name (`@camstack/server` on the hub). */
50023
50117
  packageName: string(),
@@ -50080,7 +50174,14 @@ var ServerPackageStatusSchema = object({
50080
50174
  * for version skew: an older provider's payload simply omits it, and an
50081
50175
  * absent wrapper is unknown — never `native`.
50082
50176
  */
50083
- wrapper: WrapperIdentitySchema.optional()
50177
+ wrapper: WrapperIdentitySchema.optional(),
50178
+ /**
50179
+ * What this node PLANNED to run against what its process service reports
50180
+ * (D877). Absent until the one-shot boot check has run (~60 s after boot) and
50181
+ * on a provider that predates it. Absent is "not checked yet", never "all
50182
+ * well": a consumer that needs the answer treats it as pending.
50183
+ */
50184
+ runners: RunnerBootCheckSchema.optional()
50084
50185
  });
50085
50186
  var ServerUpdateCheckResultSchema = object({
50086
50187
  packageName: string(),
@@ -50131,6 +50232,13 @@ var ServerUpdateOutcomeSchema = _enum([
50131
50232
  "refused",
50132
50233
  "failed"
50133
50234
  ]);
50235
+ /** One addon the pre-flight found the target version would refuse (D877). */
50236
+ var UpdateBlockerSchema = object({
50237
+ addonId: string(),
50238
+ reason: string(),
50239
+ /** What the operator does about it. */
50240
+ remedy: string()
50241
+ });
50134
50242
  var ServerUpdateActionResultSchema = object({
50135
50243
  accepted: boolean(),
50136
50244
  targetVersion: string().nullable(),
@@ -50148,14 +50256,27 @@ var ServerUpdateActionResultSchema = object({
50148
50256
  * The failure itself, verbatim enough to act on (the npm output for a
50149
50257
  * staging install). Non-null only for `failed`.
50150
50258
  */
50151
- error: string().nullable().optional()
50259
+ error: string().nullable().optional(),
50260
+ /**
50261
+ * The addons the target version would refuse to start on this node's live
50262
+ * store (D877), present when the pre-flight refused the update
50263
+ * (`reason: 'addon-would-refuse'`). Optional for version skew.
50264
+ */
50265
+ blockers: array(UpdateBlockerSchema).optional()
50152
50266
  });
50153
50267
  method(_void(), ServerPackageStatusSchema, { auth: "admin" }), method(_void(), ServerUpdateCheckResultSchema, {
50154
50268
  kind: "mutation",
50155
50269
  auth: "admin"
50156
- }), method(object({
50157
- /** Explicit target version; omitted = latest from the registry. */
50158
- version: string().optional() }), ServerUpdateActionResultSchema, {
50270
+ }), method(object({
50271
+ /** Explicit target version; omitted = latest from the registry. */
50272
+ version: string().optional(),
50273
+ /**
50274
+ * Apply even though the pre-flight (D877) found addons the target would
50275
+ * refuse to start. Off by default: those addons stay down until the
50276
+ * remedy is run, which is the incident this gate exists to prevent.
50277
+ */
50278
+ acknowledgeRefusals: boolean().optional()
50279
+ }), ServerUpdateActionResultSchema, {
50159
50280
  kind: "mutation",
50160
50281
  auth: "admin",
50161
50282
  timeoutMs: 16 * 6e4
@@ -52568,7 +52689,9 @@ var ManifestShapeSchema = object({
52568
52689
  var AddonProcessSchema = object({
52569
52690
  pid: number().optional(),
52570
52691
  mode: string(),
52571
- state: string()
52692
+ state: string(),
52693
+ /** Why the runner is `refused` (an addon's own words), when it is (D877). */
52694
+ reason: string().optional()
52572
52695
  });
52573
52696
  /**
52574
52697
  * Per-addon health snapshot from the kernel's AddonHealthMonitor.
@@ -60597,7 +60720,11 @@ method(_void(), array(UserSummarySchema), { auth: "admin" }), method(CreateUserI
60597
60720
  kind: "mutation",
60598
60721
  auth: "admin",
60599
60722
  access: "delete"
60600
- }), method(object({ userId: string() }), TotpStatusSchema, { auth: "admin" }), method(object({
60723
+ }), method(object({ userId: string() }), TotpStatusSchema, { auth: "admin" }), method(RawSecretMigrationInputSchema, RawSecretMigrationReportSchema, {
60724
+ kind: "mutation",
60725
+ auth: "admin",
60726
+ access: "create"
60727
+ }), method(object({
60601
60728
  userId: string(),
60602
60729
  code: string()
60603
60730
  }), object({ valid: boolean() }), {
@@ -62896,6 +63023,12 @@ Object.freeze({
62896
63023
  addonId: null,
62897
63024
  access: "view"
62898
63025
  },
63026
+ "coreBlocks.migrateRawSecrets": {
63027
+ capName: "core-blocks",
63028
+ capScope: "system",
63029
+ addonId: null,
63030
+ access: "create"
63031
+ },
62899
63032
  "coreBlocks.restart": {
62900
63033
  capName: "core-blocks",
62901
63034
  capScope: "system",
@@ -64756,6 +64889,12 @@ Object.freeze({
64756
64889
  addonId: null,
64757
64890
  access: "view"
64758
64891
  },
64892
+ "llm.migrateRawSecrets": {
64893
+ capName: "llm",
64894
+ capScope: "system",
64895
+ addonId: null,
64896
+ access: "create"
64897
+ },
64759
64898
  "llm.resolveModelRef": {
64760
64899
  capName: "llm",
64761
64900
  capScope: "system",
@@ -69298,6 +69437,12 @@ Object.freeze({
69298
69437
  addonId: null,
69299
69438
  access: "view"
69300
69439
  },
69440
+ "userManagement.migrateRawSecrets": {
69441
+ capName: "user-management",
69442
+ capScope: "system",
69443
+ addonId: null,
69444
+ access: "create"
69445
+ },
69301
69446
  "userManagement.oauthExchangeCode": {
69302
69447
  capName: "user-management",
69303
69448
  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-atOEv1Rp.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-DzJS1VnS.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-BxQy7-RG.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-atOEv1Rp.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-atOEv1Rp.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-atOEv1Rp.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-C3hY64lf.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.267",
4
4
  "description": "Custom detection model registry, conversion & distribution for CamStack",
5
5
  "keywords": [
6
6
  "camstack",