@camstack/types 1.2.376 → 1.2.378

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 (35) hide show
  1. package/dist/addon.js +15 -3
  2. package/dist/addon.mjs +15 -3
  3. package/dist/capabilities/addons.cap.d.ts +2 -0
  4. package/dist/capabilities/climate-control.cap.d.ts +9 -0
  5. package/dist/capabilities/index.d.ts +2 -1
  6. package/dist/capabilities/llm.cap.d.ts +19 -0
  7. package/dist/capabilities/raw-secret-migration.d.ts +25 -0
  8. package/dist/capabilities/server-management.cap.d.ts +89 -1
  9. package/dist/capabilities/user-management.cap.d.ts +18 -0
  10. package/dist/client.js +2 -0
  11. package/dist/client.mjs +2 -0
  12. package/dist/{composition-DIp0uE_b.js → composition-CUAOHZ38.js} +1 -1
  13. package/dist/{composition-EQ9Ok0Ee.mjs → composition-DOwQB_Ua.mjs} +1 -1
  14. package/dist/device/device-type.d.ts +3 -0
  15. package/dist/enums/event-category.d.ts +18 -0
  16. package/dist/enums.js +1 -1
  17. package/dist/enums.mjs +1 -1
  18. package/dist/{err-msg-DLerKiVO.mjs → err-msg--2RrYiLO.mjs} +3 -0
  19. package/dist/{err-msg-Ls8Q6dHO.js → err-msg-Bb-s4Xuj.js} +3 -0
  20. package/dist/{event-category-C4hVnRo8.mjs → event-category-BvOFi6PY.mjs} +18 -0
  21. package/dist/{event-category-T43rdQWR.js → event-category-Hoe-mqbd.js} +18 -0
  22. package/dist/generated/addon-api.d.ts +14 -0
  23. package/dist/generated/addon-cap-facts.d.ts +1 -1
  24. package/dist/generated/method-access-map.d.ts +1 -1
  25. package/dist/generated/system-proxy.d.ts +2 -2
  26. package/dist/index.js +151 -10
  27. package/dist/index.mjs +147 -11
  28. package/dist/interfaces/addon.d.ts +4 -1
  29. package/dist/interfaces/agent.d.ts +15 -0
  30. package/dist/interfaces/event-bus.d.ts +35 -0
  31. package/dist/node.js +2 -2
  32. package/dist/node.mjs +2 -2
  33. package/dist/{sleep-bwsTj221.mjs → sleep-bgZLodYc.mjs} +1 -1
  34. package/dist/{sleep-Dq0Uyeh0.js → sleep-gxUz0C9M.js} +1 -1
  35. package/package.json +1 -1
@@ -893,6 +893,41 @@ export interface EventCatalog {
893
893
  exitCode?: number;
894
894
  signal?: string;
895
895
  };
896
+ /**
897
+ * A runner whose addon REFUSED to start (D877): a typed, deterministic
898
+ * Init refusal, not a crash. The runner waits in `refused` until an operator
899
+ * acts; one event per refusal.
900
+ */
901
+ 'addon.runner-refused': {
902
+ runnerId: string;
903
+ nodeId: string;
904
+ addonIds: string[];
905
+ /** Stable cause, e.g. `unmigrated-settings`. */
906
+ code: string;
907
+ reason: string;
908
+ /** What the operator does about it. */
909
+ remedy: string;
910
+ };
911
+ 'process.state-changed': {
912
+ runnerId: string;
913
+ nodeId: string;
914
+ addonIds: string[];
915
+ state: string;
916
+ };
917
+ 'system.runner-check': {
918
+ nodeId: string;
919
+ degraded: boolean;
920
+ /** One sentence naming the findings. */
921
+ summary: string;
922
+ expected: number;
923
+ running: number;
924
+ failed: string[];
925
+ refused: {
926
+ runnerId: string;
927
+ reason: string;
928
+ }[];
929
+ missing: string[];
930
+ };
896
931
  'addon.error': {
897
932
  addonId: string;
898
933
  packageName?: string;
package/dist/node.js CHANGED
@@ -21,8 +21,8 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
21
21
  enumerable: true
22
22
  }) : target, mod));
23
23
  //#endregion
24
- const require_composition = require("./composition-DIp0uE_b.js");
25
- const require_err_msg = require("./err-msg-Ls8Q6dHO.js");
24
+ const require_composition = require("./composition-CUAOHZ38.js");
25
+ const require_err_msg = require("./err-msg-Bb-s4Xuj.js");
26
26
  let node_crypto = require("node:crypto");
27
27
  let node_fs = require("node:fs");
28
28
  node_fs = __toESM(node_fs);
package/dist/node.mjs CHANGED
@@ -1,5 +1,5 @@
1
- import { At as Fmp4BoxSplitter, Ct as FFMPEG_PATH_ENV, Dt as getFfmpegArtifact, Et as FFMPEG_RELEASE, Ot as getFfmpegDownloadUrl, P as compositionSourceKey, Pt as buildFfmpegArgs, Rt as isSoftwareDecode, Tt as ffmpegBinaryName, a as CUSTOMIZATION_BLOCK_NAME_PREFIX, kt as canonicalHash, wt as chooseFfmpegBinary } from "./composition-EQ9Ok0Ee.mjs";
2
- import { t as errMsg } from "./err-msg-DLerKiVO.mjs";
1
+ import { At as Fmp4BoxSplitter, Ct as FFMPEG_PATH_ENV, Dt as getFfmpegArtifact, Et as FFMPEG_RELEASE, Ot as getFfmpegDownloadUrl, P as compositionSourceKey, Pt as buildFfmpegArgs, Rt as isSoftwareDecode, Tt as ffmpegBinaryName, a as CUSTOMIZATION_BLOCK_NAME_PREFIX, kt as canonicalHash, wt as chooseFfmpegBinary } from "./composition-DOwQB_Ua.mjs";
2
+ import { t as errMsg } from "./err-msg--2RrYiLO.mjs";
3
3
  import { createHash, createHmac, randomUUID, timingSafeEqual } from "node:crypto";
4
4
  import * as fs from "node:fs";
5
5
  import { chmodSync, createWriteStream, existsSync, mkdirSync, readFileSync, readdirSync, realpathSync, renameSync, rmSync, unlinkSync, writeFileSync } from "node:fs";
@@ -1,4 +1,4 @@
1
- import { t as EventCategory } from "./event-category-C4hVnRo8.mjs";
1
+ import { t as EventCategory } from "./event-category-BvOFi6PY.mjs";
2
2
  import { z } from "zod";
3
3
  //#region src/audio/audio-chunk-format.ts
4
4
  /**
@@ -1,4 +1,4 @@
1
- const require_event_category = require("./event-category-T43rdQWR.js");
1
+ const require_event_category = require("./event-category-Hoe-mqbd.js");
2
2
  let zod = require("zod");
3
3
  //#region src/audio/audio-chunk-format.ts
4
4
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/types",
3
- "version": "1.2.376",
3
+ "version": "1.2.378",
4
4
  "description": "Shared types, interfaces, and model catalogs for the CamStack detection ecosystem",
5
5
  "keywords": [
6
6
  "camstack",