@camstack/addon-osd-manager 0.1.241 → 0.1.243

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-G8UCebu1.mjs → MotionZonesSettings-D33EAKv-.mjs} +2 -2
  2. package/dist/{PrivacyMaskSettings-2NTC9B3W.mjs → PrivacyMaskSettings-BhHKLXkl.mjs} +4 -4
  3. package/dist/{SceneMonitorEditor-ByMmaROK.mjs → SceneMonitorEditor-BechjHQf.mjs} +3 -3
  4. package/dist/_stub.js +13 -13
  5. package/dist/{_virtual_mf-localSharedImportMap___mfe_internal__addon_osd_manager_page-BBDNfcPI.mjs → _virtual_mf-localSharedImportMap___mfe_internal__addon_osd_manager_page-C7G9Y8qi.mjs} +3 -3
  6. package/dist/{_virtual_mf___mfe_internal__addon_osd_manager_page__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-BFkoKPX3.mjs → _virtual_mf___mfe_internal__addon_osd_manager_page__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-CGo2CGP3.mjs} +1 -1
  7. package/dist/{hostInit-DCTyM4Bh.mjs → hostInit-C_ixqaxz.mjs} +2 -2
  8. package/dist/index.js +154 -9
  9. package/dist/index.mjs +154 -9
  10. package/dist/{player-overlays-B9Leo3bK.mjs → player-overlays-BZDAYS9O.mjs} +1 -1
  11. package/dist/remoteEntry.js +1 -1
  12. package/dist/{responsive-DCFnF6WM.mjs → responsive-DWwtegbU.mjs} +1 -1
  13. package/dist/{scene-monitor-copy-B3PBzmS-.mjs → scene-monitor-copy-BGLxak_F.mjs} +1 -1
  14. package/dist/{square-CvNDzXRw.mjs → square-CFpzQ33C.mjs} +1 -1
  15. package/dist/{trash-2-DHcGMoei.mjs → trash-2-_8r13DVx.mjs} +1 -1
  16. package/dist/{virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_osd_manager_page__remoteEntry_js-qRoXJuGX.mjs → virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_osd_manager_page__remoteEntry_js-CFhCZpWZ.mjs} +1 -1
  17. package/package.json +1 -1
package/dist/index.mjs CHANGED
@@ -1,4 +1,4 @@
1
- //#region ../types/dist/event-category-C4hVnRo8.mjs
1
+ //#region ../types/dist/event-category-BvOFi6PY.mjs
2
2
  var EventCategory = /* @__PURE__ */ function(EventCategory) {
3
3
  EventCategory["SystemBoot"] = "system.boot";
4
4
  EventCategory["SystemAddonsReady"] = "system.addons-ready";
@@ -62,6 +62,24 @@ var EventCategory = /* @__PURE__ */ function(EventCategory) {
62
62
  * consumes this category and maps it to the `addon-crash-loop` kind.
63
63
  */
64
64
  EventCategory["AddonRunnerFailed"] = "addon.runner-failed";
65
+ /**
66
+ * A runner whose addon refused to start with a typed reason (D877) - parked
67
+ * in `refused`, never counted by the crash breaker, retried on operator
68
+ * action. One event per refusal.
69
+ */
70
+ EventCategory["AddonRunnerRefused"] = "addon.runner-refused";
71
+ /**
72
+ * A runner settled on a state (D877): `running` (READY), `crashed`, `failed` or
73
+ * `refused`. In-process telemetry for the boot check (re-evaluate while any
74
+ * runner is still pending) and the alert centre (close a recovered runner).
75
+ */
76
+ EventCategory["ProcessStateChanged"] = "process.state-changed";
77
+ /**
78
+ * The node's one-shot runner boot check (D877): planned runners against the
79
+ * process service, `degraded` when any is failed, refused or missing. The
80
+ * alert centre turns it into one alert and a direct critical push.
81
+ */
82
+ EventCategory["SystemRunnerCheck"] = "system.runner-check";
65
83
  EventCategory["AddonError"] = "addon.error";
66
84
  EventCategory["AddonPageReady"] = "addon.page-ready";
67
85
  EventCategory["AddonWidgetReady"] = "addon.widget-ready";
@@ -5386,7 +5404,7 @@ var ZodIssueCode = {
5386
5404
  var ZodFirstPartyTypeKind;
5387
5405
  ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
5388
5406
  //#endregion
5389
- //#region ../types/dist/sleep-bwsTj221.mjs
5407
+ //#region ../types/dist/sleep-D-Q2_Mcd.mjs
5390
5408
  /**
5391
5409
  * The audio chunk plane's byte format, and the ONE expansion from a coded
5392
5410
  * window to float samples (D455).
@@ -15441,6 +15459,41 @@ var ComposableCapabilitiesSchema = object({ caps: array(object({
15441
15459
  keyField: string()
15442
15460
  }).optional()
15443
15461
  })) });
15462
+ /**
15463
+ * The report of a one-shot "move this owner's plaintext secrets into the
15464
+ * keychain" run (D878). COUNTS only - never a value, never a ref.
15465
+ *
15466
+ * The owner runs it on its own rows, through its own write path; an operator
15467
+ * script (`scripts/hub/migrate-raw-secrets.ts`) calls the owner's cap method.
15468
+ * Dry run (`apply: false`) reports what WOULD move and changes nothing.
15469
+ */
15470
+ var RawSecretMigrationInputSchema = object({
15471
+ /** `false` (the default of the script) = report only. */
15472
+ apply: boolean() });
15473
+ var RawSecretMigrationReportSchema = object({
15474
+ apply: boolean(),
15475
+ /** Rows that can carry a secret (a profile, an enrolment). */
15476
+ rows: number().int(),
15477
+ /** Rows whose secret was plaintext when the run started. */
15478
+ raw: number().int(),
15479
+ /** Rows that already held a keychain marker when the run started. */
15480
+ markers: number().int(),
15481
+ /** Plaintext rows moved by THIS run (always 0 on a dry run). */
15482
+ migrated: number().int(),
15483
+ /** Plaintext rows left in place because the move or its read-back failed. */
15484
+ failed: number().int(),
15485
+ /** After the run: rows still holding plaintext. */
15486
+ remainingRaw: number().int(),
15487
+ /** After the run: markers the keychain could not resolve right now. */
15488
+ unresolvedMarkers: number().int(),
15489
+ /**
15490
+ * A second, redundant copy of the secrets' rows that the run found (and, on
15491
+ * `apply`, deleted after verifying the first). Owners with a single copy omit it.
15492
+ */
15493
+ redundantCopies: number().int().optional(),
15494
+ /** True when nothing is raw and every marker resolves. */
15495
+ verified: boolean()
15496
+ });
15444
15497
  /** Where a block runs. The operator chooses — a block driving a device on an
15445
15498
  * agent is the reason placement is not fixed to the hub. */
15446
15499
  var CoreBlockPlacementSchema = union([literal("hub"), string().min(1)]);
@@ -15667,6 +15720,9 @@ method(object({}), object({ blocks: array(CoreBlockSchema) }), { auth: "admin" }
15667
15720
  }), SettingsUpdateResultSchema, {
15668
15721
  kind: "mutation",
15669
15722
  auth: "admin"
15723
+ }), method(RawSecretMigrationInputSchema, RawSecretMigrationReportSchema, {
15724
+ kind: "mutation",
15725
+ auth: "admin"
15670
15726
  }), method(object({}), object({ libs: array(object({
15671
15727
  filePath: string(),
15672
15728
  content: string()
@@ -39016,6 +39072,9 @@ method(LlmGenerateBaseInputSchema, LlmGenerateResultSchema, {
39016
39072
  }), _void(), { kind: "mutation" }), method(object({}), array(LlmProfileKindDescriptorSchema)), method(object({}), array(LlmProfileSchema)), method(object({ profile: LlmProfileSchema }), LlmProfileSchema, {
39017
39073
  kind: "mutation",
39018
39074
  auth: "admin"
39075
+ }), method(RawSecretMigrationInputSchema, RawSecretMigrationReportSchema, {
39076
+ kind: "mutation",
39077
+ auth: "admin"
39019
39078
  }), method(ProfileRefInputSchema, _void(), {
39020
39079
  kind: "mutation",
39021
39080
  auth: "admin"
@@ -50007,6 +50066,41 @@ var ServerRollbackInfoSchema = object({
50007
50066
  atMs: number(),
50008
50067
  reason: string()
50009
50068
  });
50069
+ /**
50070
+ * The runner boot check (D877): the runners this node PLANNED (hub: one per
50071
+ * `resolveRunnerId` over its forked addons; agent: the runners its process
50072
+ * service holds, because only the hub plans) against the states the process
50073
+ * service reports. Kept in memory, recomputed by the same one-shot check after
50074
+ * every boot, served on `getServerPackageStatus`.
50075
+ *
50076
+ * `failed` is the D6 breaker's terminal state, `refused` a deterministic Init
50077
+ * refusal (an addon that said "I will not start, and here is why"), `missing` a
50078
+ * planned runner the process service has no entry for.
50079
+ */
50080
+ var RunnerRefusalSchema = object({
50081
+ runnerId: string(),
50082
+ addonIds: array(string()),
50083
+ reason: string()
50084
+ });
50085
+ var RunnerBootCheckSchema = object({
50086
+ checkedAtMs: number(),
50087
+ /** Runners planned for this node. */
50088
+ expected: number(),
50089
+ /** Planned runners whose process is `running`. */
50090
+ running: number(),
50091
+ failed: array(string()),
50092
+ refused: array(RunnerRefusalSchema),
50093
+ missing: array(string()),
50094
+ /**
50095
+ * Runners still on their way: `starting`, or `crashed` waiting on a backoff
50096
+ * respawn. The check is FINAL only when this is empty; until then nothing is
50097
+ * pushed and the verdict is re-evaluated on the next runner state change.
50098
+ * Optional for version skew (absent = settled).
50099
+ */
50100
+ pending: array(string()).optional(),
50101
+ /** True when the plan is the hub's (`missing` is then meaningful); false on an agent. */
50102
+ planKnown: boolean()
50103
+ });
50010
50104
  var ServerPackageStatusSchema = object({
50011
50105
  /** Root package name (`@camstack/server` on the hub). */
50012
50106
  packageName: string(),
@@ -50069,7 +50163,14 @@ var ServerPackageStatusSchema = object({
50069
50163
  * for version skew: an older provider's payload simply omits it, and an
50070
50164
  * absent wrapper is unknown — never `native`.
50071
50165
  */
50072
- wrapper: WrapperIdentitySchema.optional()
50166
+ wrapper: WrapperIdentitySchema.optional(),
50167
+ /**
50168
+ * What this node PLANNED to run against what its process service reports
50169
+ * (D877). Absent until the one-shot boot check has run (~60 s after boot) and
50170
+ * on a provider that predates it. Absent is "not checked yet", never "all
50171
+ * well": a consumer that needs the answer treats it as pending.
50172
+ */
50173
+ runners: RunnerBootCheckSchema.optional()
50073
50174
  });
50074
50175
  var ServerUpdateCheckResultSchema = object({
50075
50176
  packageName: string(),
@@ -50120,6 +50221,13 @@ var ServerUpdateOutcomeSchema = _enum([
50120
50221
  "refused",
50121
50222
  "failed"
50122
50223
  ]);
50224
+ /** One addon the pre-flight found the target version would refuse (D877). */
50225
+ var UpdateBlockerSchema = object({
50226
+ addonId: string(),
50227
+ reason: string(),
50228
+ /** What the operator does about it. */
50229
+ remedy: string()
50230
+ });
50123
50231
  var ServerUpdateActionResultSchema = object({
50124
50232
  accepted: boolean(),
50125
50233
  targetVersion: string().nullable(),
@@ -50137,14 +50245,27 @@ var ServerUpdateActionResultSchema = object({
50137
50245
  * The failure itself, verbatim enough to act on (the npm output for a
50138
50246
  * staging install). Non-null only for `failed`.
50139
50247
  */
50140
- error: string().nullable().optional()
50248
+ error: string().nullable().optional(),
50249
+ /**
50250
+ * The addons the target version would refuse to start on this node's live
50251
+ * store (D877), present when the pre-flight refused the update
50252
+ * (`reason: 'addon-would-refuse'`). Optional for version skew.
50253
+ */
50254
+ blockers: array(UpdateBlockerSchema).optional()
50141
50255
  });
50142
50256
  method(_void(), ServerPackageStatusSchema, { auth: "admin" }), method(_void(), ServerUpdateCheckResultSchema, {
50143
50257
  kind: "mutation",
50144
50258
  auth: "admin"
50145
- }), method(object({
50146
- /** Explicit target version; omitted = latest from the registry. */
50147
- version: string().optional() }), ServerUpdateActionResultSchema, {
50259
+ }), method(object({
50260
+ /** Explicit target version; omitted = latest from the registry. */
50261
+ version: string().optional(),
50262
+ /**
50263
+ * Apply even though the pre-flight (D877) found addons the target would
50264
+ * refuse to start. Off by default: those addons stay down until the
50265
+ * remedy is run, which is the incident this gate exists to prevent.
50266
+ */
50267
+ acknowledgeRefusals: boolean().optional()
50268
+ }), ServerUpdateActionResultSchema, {
50148
50269
  kind: "mutation",
50149
50270
  auth: "admin",
50150
50271
  timeoutMs: 16 * 6e4
@@ -52557,7 +52678,9 @@ var ManifestShapeSchema = object({
52557
52678
  var AddonProcessSchema = object({
52558
52679
  pid: number().optional(),
52559
52680
  mode: string(),
52560
- state: string()
52681
+ state: string(),
52682
+ /** Why the runner is `refused` (an addon's own words), when it is (D877). */
52683
+ reason: string().optional()
52561
52684
  });
52562
52685
  /**
52563
52686
  * Per-addon health snapshot from the kernel's AddonHealthMonitor.
@@ -60648,7 +60771,11 @@ method(_void(), array(UserSummarySchema), { auth: "admin" }), method(CreateUserI
60648
60771
  kind: "mutation",
60649
60772
  auth: "admin",
60650
60773
  access: "delete"
60651
- }), method(object({ userId: string() }), TotpStatusSchema, { auth: "admin" }), method(object({
60774
+ }), method(object({ userId: string() }), TotpStatusSchema, { auth: "admin" }), method(RawSecretMigrationInputSchema, RawSecretMigrationReportSchema, {
60775
+ kind: "mutation",
60776
+ auth: "admin",
60777
+ access: "create"
60778
+ }), method(object({
60652
60779
  userId: string(),
60653
60780
  code: string()
60654
60781
  }), object({ valid: boolean() }), {
@@ -63165,6 +63292,12 @@ Object.freeze({
63165
63292
  addonId: null,
63166
63293
  access: "view"
63167
63294
  },
63295
+ "coreBlocks.migrateRawSecrets": {
63296
+ capName: "core-blocks",
63297
+ capScope: "system",
63298
+ addonId: null,
63299
+ access: "create"
63300
+ },
63168
63301
  "coreBlocks.restart": {
63169
63302
  capName: "core-blocks",
63170
63303
  capScope: "system",
@@ -65025,6 +65158,12 @@ Object.freeze({
65025
65158
  addonId: null,
65026
65159
  access: "view"
65027
65160
  },
65161
+ "llm.migrateRawSecrets": {
65162
+ capName: "llm",
65163
+ capScope: "system",
65164
+ addonId: null,
65165
+ access: "create"
65166
+ },
65028
65167
  "llm.resolveModelRef": {
65029
65168
  capName: "llm",
65030
65169
  capScope: "system",
@@ -69567,6 +69706,12 @@ Object.freeze({
69567
69706
  addonId: null,
69568
69707
  access: "view"
69569
69708
  },
69709
+ "userManagement.migrateRawSecrets": {
69710
+ capName: "user-management",
69711
+ capScope: "system",
69712
+ addonId: null,
69713
+ access: "create"
69714
+ },
69570
69715
  "userManagement.oauthExchangeCode": {
69571
69716
  capName: "user-management",
69572
69717
  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_osd_manager_page__loadShare__react__loadShare__.js-C-pbjC7c.mjs";
2
2
  import { n as i, r as a, t as o } from "./_virtual_mf___mfe_internal__addon_osd_manager_page__loadShare__react_mf_1_jsx_mf_2_runtime__loadShare__.js-DalfdIDw.mjs";
3
- import { c as s, l as c } from "./responsive-DCFnF6WM.mjs";
3
+ import { c as s, l as c } from "./responsive-DWwtegbU.mjs";
4
4
  var l = c("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_osd_manager_page__remoteEntry_js-qRoXJuGX.mjs";
1
+ import { n as e, t } from "./virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_osd_manager_page__remoteEntry_js-CFhCZpWZ.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_osd_manager_page__loadShare__react__loadShare__.js-C-pbjC7c.mjs";
2
2
  import "./_virtual_mf___mfe_internal__addon_osd_manager_page__loadShare__react_mf_1_jsx_mf_2_runtime__loadShare__.js-DalfdIDw.mjs";
3
- import { i as u } from "./_virtual_mf___mfe_internal__addon_osd_manager_page__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-BFkoKPX3.mjs";
3
+ import { i as u } from "./_virtual_mf___mfe_internal__addon_osd_manager_page__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-CGo2CGP3.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_osd_manager_page__loadShare__react__loadShare__.js-C-pbjC7c.mjs";
2
2
  import { n as i } from "./ui-text-BitwQ50T.mjs";
3
- import { l as a } from "./responsive-DCFnF6WM.mjs";
3
+ import { l as a } from "./responsive-DWwtegbU.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 { l as e } from "./responsive-DCFnF6WM.mjs";
1
+ import { l as e } from "./responsive-DWwtegbU.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 { l as e } from "./responsive-DCFnF6WM.mjs";
1
+ import { l as e } from "./responsive-DWwtegbU.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_osd_manager_page-BBDNfcPI.mjs")).catch((e) => {
2756
+ return tr ||= rr(() => import("./_virtual_mf-localSharedImportMap___mfe_internal__addon_osd_manager_page-C7G9Y8qi.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-osd-manager",
3
- "version": "0.1.241",
3
+ "version": "0.1.243",
4
4
  "description": "Binds camera on-screen-display slots to live state and recognitions",
5
5
  "keywords": [
6
6
  "camstack",