@camstack/system 1.2.297 → 1.2.299

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 (61) hide show
  1. package/dist/addon-runner.js +1 -1
  2. package/dist/addon-runner.mjs +1 -1
  3. package/dist/builtins/addon-pages-aggregator/addon-pages-aggregator.addon.js +1 -1
  4. package/dist/builtins/addon-pages-aggregator/addon-pages-aggregator.addon.mjs +1 -1
  5. package/dist/builtins/addon-widgets-aggregator/addon-widgets-aggregator.addon.js +1 -1
  6. package/dist/builtins/addon-widgets-aggregator/addon-widgets-aggregator.addon.mjs +1 -1
  7. package/dist/builtins/alerts/alerts.addon.js +1 -1
  8. package/dist/builtins/alerts/alerts.addon.mjs +1 -1
  9. package/dist/builtins/autotrack/index.js +1 -1
  10. package/dist/builtins/autotrack/index.mjs +1 -1
  11. package/dist/builtins/backup-orchestrator/backup-orchestrator.addon.js +1 -1
  12. package/dist/builtins/backup-orchestrator/backup-orchestrator.addon.mjs +1 -1
  13. package/dist/builtins/camera-grid/index.js +1 -1
  14. package/dist/builtins/camera-grid/index.mjs +1 -1
  15. package/dist/builtins/console-logging/index.js +1 -1
  16. package/dist/builtins/console-logging/index.mjs +1 -1
  17. package/dist/builtins/core-blocks/core-blocks.addon.js +1 -1
  18. package/dist/builtins/core-blocks/core-blocks.addon.mjs +1 -1
  19. package/dist/builtins/device-manager/device-manager.addon.js +2 -2
  20. package/dist/builtins/device-manager/device-manager.addon.mjs +2 -2
  21. package/dist/builtins/doorbell/virtual-doorbell.addon.js +1 -1
  22. package/dist/builtins/doorbell/virtual-doorbell.addon.mjs +1 -1
  23. package/dist/builtins/hub-forwarder/index.js +1 -1
  24. package/dist/builtins/hub-forwarder/index.mjs +1 -1
  25. package/dist/builtins/liveness-monitor/liveness-monitor.addon.js +1 -1
  26. package/dist/builtins/liveness-monitor/liveness-monitor.addon.mjs +1 -1
  27. package/dist/builtins/local-auth/local-auth.addon.js +1 -1
  28. package/dist/builtins/local-auth/local-auth.addon.mjs +1 -1
  29. package/dist/builtins/local-network/local-network.addon.js +1 -1
  30. package/dist/builtins/local-network/local-network.addon.mjs +1 -1
  31. package/dist/builtins/loki-logging/index.js +1 -1
  32. package/dist/builtins/loki-logging/index.mjs +1 -1
  33. package/dist/builtins/native-metrics/native-metrics.addon.js +1 -1
  34. package/dist/builtins/native-metrics/native-metrics.addon.mjs +1 -1
  35. package/dist/builtins/platform-probe/index.js +1 -1
  36. package/dist/builtins/platform-probe/index.mjs +1 -1
  37. package/dist/builtins/remote-access-orchestrator/remote-access-orchestrator.addon.js +1 -1
  38. package/dist/builtins/remote-access-orchestrator/remote-access-orchestrator.addon.mjs +1 -1
  39. package/dist/builtins/snapshot/index.js +1 -1
  40. package/dist/builtins/snapshot/index.mjs +1 -1
  41. package/dist/builtins/sqlite-storage/filesystem-storage.addon.js +1 -1
  42. package/dist/builtins/sqlite-storage/filesystem-storage.addon.mjs +1 -1
  43. package/dist/builtins/sqlite-storage/sqlite-settings.addon.js +0 -0
  44. package/dist/builtins/sqlite-storage/sqlite-settings.addon.mjs +0 -0
  45. package/dist/builtins/storage-orchestrator/storage-orchestrator.addon.js +1 -1
  46. package/dist/builtins/storage-orchestrator/storage-orchestrator.addon.mjs +1 -1
  47. package/dist/builtins/system-config/system-config.addon.js +1 -1
  48. package/dist/builtins/system-config/system-config.addon.mjs +1 -1
  49. package/dist/builtins/winston-logging/index.js +1 -1
  50. package/dist/builtins/winston-logging/index.mjs +1 -1
  51. package/dist/{child-cap-dispatch-CWkcQIRe.mjs → child-cap-dispatch-C1c3rWaX.mjs} +25 -2
  52. package/dist/{child-cap-dispatch-CzNzGnGm.js → child-cap-dispatch-De5_HcvR.js} +30 -1
  53. package/dist/{dist-DaqbC6N5.js → dist-B_U69lgJ.js} +247 -15
  54. package/dist/{dist-O_Cf9RQm.mjs → dist-BoYDYdae.mjs} +247 -15
  55. package/dist/index.js +3 -2
  56. package/dist/index.mjs +3 -3
  57. package/dist/kernel/transport/index.d.ts +1 -0
  58. package/dist/kernel/transport/peer-answered-error.d.ts +17 -0
  59. package/dist/{retired-settings-keys-_jB8F9wE.js → retired-settings-keys-CVUkMN5T.js} +1 -1
  60. package/dist/{retired-settings-keys-DCcJa0nH.mjs → retired-settings-keys-CffDz4qX.mjs} +1 -1
  61. package/package.json +1 -1
@@ -14060,11 +14060,22 @@ var LlmGenerateOkSchema = z.object({
14060
14060
  truncated: z.boolean(),
14061
14061
  latencyMs: z.number()
14062
14062
  });
14063
+ /**
14064
+ * WHO refused, on a `refusal`. `guardrail` = a safety filter in front of the
14065
+ * model rejected the request before it answered (Apple Foundation Models
14066
+ * refuses surveillance-framed prompts in 0.1 s); `model` = the model itself
14067
+ * declined. They are different faults: a guardrail refusal is a property of
14068
+ * the BACKEND, so the provider falls back to the next profile; a model refusal
14069
+ * is an answer. Absent on every other code, and on a refusal a wire cannot
14070
+ * attribute.
14071
+ */
14072
+ var LlmRefusalSourceSchema = z.enum(["guardrail", "model"]);
14063
14073
  var LlmGenerateErrSchema = z.object({
14064
14074
  ok: z.literal(false),
14065
14075
  code: LlmErrorCodeSchema,
14066
14076
  message: z.string(),
14067
- retryAfterMs: z.number().optional()
14077
+ retryAfterMs: z.number().optional(),
14078
+ refusalSource: LlmRefusalSourceSchema.optional()
14068
14079
  });
14069
14080
  var LlmGenerateResultSchema = z.discriminatedUnion("ok", [LlmGenerateOkSchema, LlmGenerateErrSchema]);
14070
14081
  /**
@@ -14295,6 +14306,77 @@ var LlmRuntimeDiskUsageSchema = z.object({
14295
14306
  modelsBytes: z.number(),
14296
14307
  freeBytes: z.number().optional()
14297
14308
  });
14309
+ var LlmRuntimeCompleteInputSchema = LlmGenerateBaseInputSchema.extend({
14310
+ images: z.array(LlmImageSchema).optional(),
14311
+ runtime: ManagedRuntimeConfigSchema,
14312
+ /** The managed profile's timeout, threaded by the hub provider. */
14313
+ timeoutMs: z.number().int().positive().optional()
14314
+ });
14315
+ /**
14316
+ * Why Apple Foundation Models cannot run on a node that has it in principle.
14317
+ * The first three are Apple's own `UnavailableReason`s, verbatim; the rest are
14318
+ * ours: the OS predates the framework (macOS < 26), the helper binary is not
14319
+ * in the installed addon, or it crashed past the respawn bound.
14320
+ */
14321
+ var AppleFmUnavailableReasonSchema = z.enum([
14322
+ "deviceNotEligible",
14323
+ "appleIntelligenceNotEnabled",
14324
+ "modelNotReady",
14325
+ "osTooOld",
14326
+ "helperMissing",
14327
+ "helperCrashed"
14328
+ ]);
14329
+ /**
14330
+ * Apple Foundation Models on ONE node — four states, never a boolean (D315).
14331
+ *
14332
+ * - `available` — the helper probed it; what it CAN do is reported
14333
+ * here (`imageInput`, `contextSize`, languages),
14334
+ * never typed by an operator.
14335
+ * - `unavailable` — a known absence, with the reason to act on.
14336
+ * - `unsupported-platform` — not a Mac; there is nothing to enable.
14337
+ * - `unknown` — the probe did not answer (not yet run, timed
14338
+ * out, helper crashed mid-probe). A failed
14339
+ * measurement is NEVER `unavailable` (D393).
14340
+ */
14341
+ var AppleFmAvailabilitySchema = z.discriminatedUnion("state", [
14342
+ z.object({
14343
+ state: z.literal("available"),
14344
+ osVersion: z.string(),
14345
+ /** Tokens, as the framework reports it. Read at runtime, never assumed. */
14346
+ contextSize: z.number().int().positive(),
14347
+ /** BCP-47-ish tags (`it-IT`) of the languages the model supports. */
14348
+ languages: z.array(z.string()),
14349
+ /** Whether prompts may carry images. `false` on a macOS 26 build. */
14350
+ imageInput: z.boolean()
14351
+ }),
14352
+ z.object({
14353
+ state: z.literal("unavailable"),
14354
+ reason: AppleFmUnavailableReasonSchema,
14355
+ osVersion: z.string().nullable(),
14356
+ detail: z.string()
14357
+ }),
14358
+ z.object({
14359
+ state: z.literal("unsupported-platform"),
14360
+ platform: z.string()
14361
+ }),
14362
+ z.object({
14363
+ state: z.literal("unknown"),
14364
+ error: z.string()
14365
+ })
14366
+ ]);
14367
+ /**
14368
+ * A generation on the node's Apple Foundation Models helper. A separate verb
14369
+ * from `complete`, whose `runtime` is a llama.cpp config: overloading it would
14370
+ * drag a GGUF model reference into a backend that has none. `images` is part
14371
+ * of the contract so vision needs no cap change later; a node whose model has
14372
+ * no image input REFUSES them (`unavailable`), never drops them.
14373
+ */
14374
+ var LlmRuntimeAppleCompleteInputSchema = LlmGenerateBaseInputSchema.extend({
14375
+ images: z.array(LlmImageSchema).optional(),
14376
+ /** The profile's timeout, threaded by the hub provider. */
14377
+ timeoutMs: z.number().int().positive().optional()
14378
+ });
14379
+ var LlmRuntimeCancelInputSchema = z.object({ requestId: z.string() });
14298
14380
  var llmRuntimeCapability = {
14299
14381
  name: "llm-runtime",
14300
14382
  scope: "system",
@@ -14314,12 +14396,7 @@ var llmRuntimeCapability = {
14314
14396
  * nothing; the public `llm` cap (which end users and non-admin sessions
14315
14397
  * legitimately call for chat/generation) is untouched.
14316
14398
  */
14317
- complete: method(LlmGenerateBaseInputSchema.extend({
14318
- images: z.array(LlmImageSchema).optional(),
14319
- runtime: ManagedRuntimeConfigSchema,
14320
- /** The managed profile's timeout, threaded by the hub provider. */
14321
- timeoutMs: z.number().int().positive().optional()
14322
- }), LlmGenerateResultSchema, {
14399
+ complete: method(LlmRuntimeCompleteInputSchema, LlmGenerateResultSchema, {
14323
14400
  kind: "mutation",
14324
14401
  auth: "admin",
14325
14402
  timeoutMs: AI_CAP_TRANSPORT_TIMEOUT_MS
@@ -14344,7 +14421,28 @@ var llmRuntimeCapability = {
14344
14421
  auth: "admin"
14345
14422
  }),
14346
14423
  listLocalModels: method(z.object({}), z.array(LlmNodeModelSchema), { auth: "admin" }),
14347
- getDiskUsage: method(z.object({}), LlmRuntimeDiskUsageSchema, { auth: "admin" })
14424
+ getDiskUsage: method(z.object({}), LlmRuntimeDiskUsageSchema, { auth: "admin" }),
14425
+ /**
14426
+ * Stop a node-side generation started with a `requestId` — `complete` or
14427
+ * `completeApple`. The hub's `llm.cancel` forwards here with the same
14428
+ * nodePin the generation took; before this existed a cancelled
14429
+ * managed-local generation kept running on the node to its own timeout.
14430
+ * Idempotent: an unknown or finished id is a no-op.
14431
+ */
14432
+ cancel: method(LlmRuntimeCancelInputSchema, z.void(), {
14433
+ kind: "mutation",
14434
+ auth: "admin"
14435
+ }),
14436
+ /**
14437
+ * This node's Apple Foundation Models state, answered from a mirror the
14438
+ * node refreshes in the background — it never waits on a probe.
14439
+ */
14440
+ appleAvailability: method(z.object({}), AppleFmAvailabilitySchema, { auth: "admin" }),
14441
+ completeApple: method(LlmRuntimeAppleCompleteInputSchema, LlmGenerateResultSchema, {
14442
+ kind: "mutation",
14443
+ auth: "admin",
14444
+ timeoutMs: AI_CAP_TRANSPORT_TIMEOUT_MS
14445
+ })
14348
14446
  }
14349
14447
  };
14350
14448
  /**
@@ -14363,7 +14461,8 @@ var LlmProfileKindSchema = z.enum([
14363
14461
  "openai",
14364
14462
  "anthropic",
14365
14463
  "google",
14366
- "managed-local"
14464
+ "managed-local",
14465
+ "apple-foundation"
14367
14466
  ]);
14368
14467
  var LlmProfileSchema = z.object({
14369
14468
  id: z.string(),
@@ -14421,7 +14520,14 @@ var LlmProfileSchema = z.object({
14421
14520
  toolsEnabled: z.boolean().default(false),
14422
14521
  extraHeaders: z.record(z.string(), z.string()).optional(),
14423
14522
  /** kind === 'managed-local' only (spec §4). */
14424
- runtime: ManagedRuntimeConfigSchema.optional()
14523
+ runtime: ManagedRuntimeConfigSchema.optional(),
14524
+ /**
14525
+ * kind === 'apple-foundation' only: WHERE it runs — the only thing there is
14526
+ * to configure (no key, no URL, no download; `model` is `apple-system`).
14527
+ * `supportsVision` on such a row is stamped by the provider from the node's
14528
+ * reported `imageInput`, never taken from the operator (D62).
14529
+ */
14530
+ appleFoundation: z.object({ nodeId: z.string() }).optional()
14425
14531
  });
14426
14532
  /** ConfigUISchema tree passed through untyped on the wire (the
14427
14533
  * notification-output `ConfigSchemaPassthrough` precedent at
@@ -14503,7 +14609,9 @@ var LlmRuntimeNodeSchema = z.object({
14503
14609
  reachable: z.boolean(),
14504
14610
  status: LlmRuntimeStatusSchema.optional(),
14505
14611
  disk: LlmRuntimeDiskUsageSchema.optional(),
14506
- error: z.string().optional()
14612
+ error: z.string().optional(),
14613
+ /** Absent = the node did not answer the question (render as unknown). */
14614
+ apple: AppleFmAvailabilitySchema.optional()
14507
14615
  });
14508
14616
  var GenerateVisionInputSchema = LlmGenerateBaseInputSchema.extend({ images: z.array(LlmImageSchema).min(1) });
14509
14617
  var ProfileRefInputSchema = z.object({
@@ -17794,9 +17902,29 @@ var NcTestResultSchema = z.object({
17794
17902
  className: z.string().optional(),
17795
17903
  label: z.string().optional()
17796
17904
  });
17797
- /** The five rule kinds, as data. `NcRuleKind` in `notification/rule-kinds.ts`
17798
- * is the same union; the template-vars spec pins the two together. */
17905
+ /** The rule kinds, as data. `NcRuleKind` in `notification/rule-kinds.ts` is the
17906
+ * same union; the template-vars spec pins the two together. `mixed` is DERIVED
17907
+ * (a stored system rule whose kinds span families, D637) and never authored. */
17799
17908
  var NcRuleKindSchema = z.enum([
17909
+ "detection",
17910
+ "sensor",
17911
+ "occupancy",
17912
+ "sound",
17913
+ "device-events",
17914
+ "system",
17915
+ "alarm",
17916
+ "mixed"
17917
+ ]);
17918
+ /**
17919
+ * The kinds a SERVED template-variable descriptor may name: the five that
17920
+ * existed before D637, frozen. `getTemplateCatalog` ships `kinds` to every
17921
+ * installed viewer, and a viewer at `@camstack/types` 1.2.25x parses them with a
17922
+ * strict five-member enum — one `device-events` in one descriptor fails the
17923
+ * whole catalog parse. So the WIRE says `system`, and the MATCH widens it:
17924
+ * `templateVarKindApplies` reads a `system` descriptor as applying to every
17925
+ * system rule kind (`device-events`, `system`, `alarm`, `mixed`).
17926
+ */
17927
+ var NcTemplateVarKindSchema = z.enum([
17800
17928
  "detection",
17801
17929
  "sensor",
17802
17930
  "occupancy",
@@ -17834,7 +17962,7 @@ var NcTemplateVarGroupSchema = z.enum([
17834
17962
  *
17835
17963
  * `families` / `fields` / `kinds` / `deliveries` / `systemEventKinds` say WHERE
17836
17964
  * it has a value; absent = no restriction on that axis. `systemEventKinds` is
17837
- * read only for a `system` rule. `dynamic` declares a FAMILY of names
17965
+ * read only for a system-event rule (any family, or `mixed`). `dynamic` declares a FAMILY of names
17838
17966
  * (`count_<class>`): the descriptor's `name` is the example member.
17839
17967
  */
17840
17968
  var NcTemplateVarDescriptorSchema = z.object({
@@ -17845,7 +17973,7 @@ var NcTemplateVarDescriptorSchema = z.object({
17845
17973
  group: NcTemplateVarGroupSchema,
17846
17974
  families: z.array(NcTemplateFamilySchema).min(1),
17847
17975
  fields: z.array(NcTemplateFieldSchema).optional(),
17848
- kinds: z.array(NcRuleKindSchema).optional(),
17976
+ kinds: z.array(NcTemplateVarKindSchema).optional(),
17849
17977
  deliveries: z.array(NcDeliverySchema).optional(),
17850
17978
  systemEventKinds: z.array(NcSystemEventKindSchema).optional(),
17851
17979
  dynamic: z.object({
@@ -33632,6 +33760,35 @@ var RenameNodeResultSchema = z.object({
33632
33760
  name: z.string()
33633
33761
  });
33634
33762
  /**
33763
+ * One row of the CHEAP node list (D637): what a node picker needs and nothing
33764
+ * else. Read from the hub's in-memory registry plus the durable node history.
33765
+ * No per-node RPC, unlike `topology`, which walks the whole cluster (32–51 s).
33766
+ */
33767
+ var NodeDirectoryEntrySchema = z.object({
33768
+ id: z.string(),
33769
+ name: z.string(),
33770
+ isHub: z.boolean(),
33771
+ isOnline: z.boolean()
33772
+ });
33773
+ /**
33774
+ * The cheap node list. A consumer's rule for a STORED node id (a rule's
33775
+ * `nodeIds`) that is missing from `nodes`, whatever `complete` says: render it
33776
+ * as a removable chip labelled unknown, never drop it (D49). Even a complete
33777
+ * list omits a node that joined and left between two history captures, so a
33778
+ * missing id means "not known to the hub", never "removed". Only the operator
33779
+ * removes it.
33780
+ *
33781
+ * `complete` changes only the WORDING: `false` = no history read has ever
33782
+ * answered, so the list may be missing offline nodes the hub does know (D315).
33783
+ *
33784
+ * `name` is the history row's name (≤ 30 s behind a rename), or the id when
33785
+ * the history has none.
33786
+ */
33787
+ var NodeDirectorySchema = z.object({
33788
+ nodes: z.array(NodeDirectoryEntrySchema).readonly(),
33789
+ complete: z.boolean()
33790
+ });
33791
+ /**
33635
33792
  * `nodes` is a **hub-centric** cluster-management cap: the hub hosts
33636
33793
  * the single provider and every per-node method (`getNodeAddons`,
33637
33794
  * `restartProcess`, `restartNode`, `undeployAddon`, …) takes `nodeId`
@@ -33650,6 +33807,12 @@ var nodesCapability = {
33650
33807
  nodeIdMode: "data",
33651
33808
  methods: {
33652
33809
  topology: method(z.void(), z.array(TopologyNodeSchema).readonly(), { auth: "admin" }),
33810
+ /**
33811
+ * The cheap node list for pickers (D637): the hub's in-memory registry plus
33812
+ * the durable node history, no per-node RPC. `complete: false` when the
33813
+ * history could not be read.
33814
+ */
33815
+ directory: method(z.void(), NodeDirectorySchema, { auth: "admin" }),
33653
33816
  deployAddon: method(NodeAddonInputSchema, SuccessSchema, {
33654
33817
  kind: "mutation",
33655
33818
  auth: "admin"
@@ -46133,12 +46296,30 @@ var METHOD_ACCESS_MAP = Object.freeze({
46133
46296
  addonId: null,
46134
46297
  access: "create"
46135
46298
  },
46299
+ "llmRuntime.appleAvailability": {
46300
+ capName: "llm-runtime",
46301
+ capScope: "system",
46302
+ addonId: null,
46303
+ access: "view"
46304
+ },
46305
+ "llmRuntime.cancel": {
46306
+ capName: "llm-runtime",
46307
+ capScope: "system",
46308
+ addonId: null,
46309
+ access: "create"
46310
+ },
46136
46311
  "llmRuntime.complete": {
46137
46312
  capName: "llm-runtime",
46138
46313
  capScope: "system",
46139
46314
  addonId: null,
46140
46315
  access: "create"
46141
46316
  },
46317
+ "llmRuntime.completeApple": {
46318
+ capName: "llm-runtime",
46319
+ capScope: "system",
46320
+ addonId: null,
46321
+ access: "create"
46322
+ },
46142
46323
  "llmRuntime.deleteModel": {
46143
46324
  capName: "llm-runtime",
46144
46325
  capScope: "system",
@@ -46811,6 +46992,12 @@ var METHOD_ACCESS_MAP = Object.freeze({
46811
46992
  addonId: null,
46812
46993
  access: "create"
46813
46994
  },
46995
+ "nodes.directory": {
46996
+ capName: "nodes",
46997
+ capScope: "system",
46998
+ addonId: null,
46999
+ access: "view"
47000
+ },
46814
47001
  "nodes.executeQuery": {
46815
47002
  capName: "nodes",
46816
47003
  capScope: "system",
@@ -52875,6 +53062,51 @@ var NC_AUDIO_DEFAULTS = {
52875
53062
  samplingSeconds: 10
52876
53063
  };
52877
53064
  new Set(["devices", "classes"]);
53065
+ /** Every filter, for the callers that must cover all four (guards, tests). */
53066
+ var NC_SYSTEM_EVENT_FILTER_KEYS = [
53067
+ "deviceIds",
53068
+ "deviceTypes",
53069
+ "nodeIds",
53070
+ "packageNames"
53071
+ ];
53072
+ new Map(Object.entries({
53073
+ "device-online": "device-events",
53074
+ "device-offline": "device-events",
53075
+ "device-disabled": "device-events",
53076
+ "device-enabled": "device-events",
53077
+ "device-battery-low": "device-events",
53078
+ "device-battery-normal": "device-events",
53079
+ "device-consumable-low": "device-events",
53080
+ "device-consumable-normal": "device-events",
53081
+ "stream-online": "device-events",
53082
+ "stream-offline": "device-events",
53083
+ "detection-blind": "device-events",
53084
+ "node-online": "system",
53085
+ "node-offline": "system",
53086
+ "node-inference-unavailable": "system",
53087
+ "addon-crash-loop": "system",
53088
+ "addon-update-available": "system",
53089
+ "addon-updated": "system",
53090
+ "server-update-available": "system",
53091
+ "server-updated": "system",
53092
+ "wrapper-update-available": "system",
53093
+ "backup-completed": "system",
53094
+ "export-completed": "system",
53095
+ "alarm-triggered": "alarm",
53096
+ "alarm-armed": "alarm",
53097
+ "alarm-disarmed": "alarm",
53098
+ "alarm-arming": "alarm",
53099
+ "alarm-arm-refused": "alarm",
53100
+ "alarm-pending": "alarm",
53101
+ "alarm-rearmed": "alarm",
53102
+ "alarm-sensor-bypass": "alarm",
53103
+ "alarm-check-failed": "alarm",
53104
+ "camera-online": null,
53105
+ "camera-offline": null,
53106
+ "camera-disabled": null,
53107
+ "camera-enabled": null
53108
+ }));
53109
+ [...NC_SYSTEM_EVENT_FILTER_KEYS];
52878
53110
  NC_AUDIO_DEFAULTS.hitPercent, NC_AUDIO_DEFAULTS.samplingSeconds;
52879
53111
  var RULE_BODY_ONLY = ["body"];
52880
53112
  var RULE_TEXT = ["title", "body"];
package/dist/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
2
  const require_chunk = require("./chunk-Cek0wNdY.js");
3
- const require_dist = require("./dist-DaqbC6N5.js");
3
+ const require_dist = require("./dist-B_U69lgJ.js");
4
4
  const require_builtins_alerts_alerts_addon = require("./builtins/alerts/alerts.addon.js");
5
5
  require("./builtins/alerts/index.js");
6
6
  const require_formatter = require("./formatter-DqAKDlvN.js");
@@ -27,7 +27,7 @@ require("./builtins/system-config/index.js");
27
27
  const require_builtins_winston_logging_index = require("./builtins/winston-logging/index.js");
28
28
  const require_event_loop_stall_monitor = require("./event-loop-stall-monitor-CAsHdMwP.js");
29
29
  const require_tls$1 = require("./tls-D_wUeOTD.js");
30
- const require_child_cap_dispatch = require("./child-cap-dispatch-CzNzGnGm.js");
30
+ const require_child_cap_dispatch = require("./child-cap-dispatch-De5_HcvR.js");
31
31
  const require_resource_monitor = require("./resource-monitor-LVE1BoLs.js");
32
32
  const require_custom_action_registry = require("./custom-action-registry-acBY3mHA.js");
33
33
  let zod = require("zod");
@@ -95951,6 +95951,7 @@ Object.defineProperty(exports, "PYTHON_VERSION", {
95951
95951
  return _camstack_types_node.PYTHON_VERSION;
95952
95952
  }
95953
95953
  });
95954
+ exports.PeerAnsweredError = require_child_cap_dispatch.PeerAnsweredError;
95954
95955
  exports.PipelineRunner = PipelineRunner;
95955
95956
  exports.PipelineValidator = PipelineValidator;
95956
95957
  exports.PythonEnvManager = PythonEnvManager;
package/dist/index.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  import { a as __toCommonJS, i as __require, n as __esmMin, o as __toESM$1, r as __exportAll, t as __commonJSMin$1 } from "./chunk-CNf5ZN-e.mjs";
2
- import { At as logLevelAtMost, Bn as EventCategory$1, Cn as asJsonObject$1, Ct as kebabToCamel, Dn as emitDownForOwnedCaps, En as createEvent, Et as lifecycleJobSchema, Fn as parseJsonUnknown, Ht as procedureAuthKey, In as readinessKey, Ln as resolveCapMount, Pn as parseJsonObject, R as addonSettingsCapability, Rn as scopeKey, Rt as objectInputDeclaresAddonId, St as isVoidInput, T as RUNTIME_DEFAULTS, Tn as asString$1, Xt as scopesAllowDeviceCap, Yt as scopesAllowAddon, _ as LOG_LEVEL_RANK, _t as isCollectionArrayMethod, b as METHOD_ACCESS_MAP, bn as ReadinessRegistry, dn as errMsg$1, dt as extractNestedAddonId, gn as DEVICE_STATUS_METHOD, gt as isArrayOutputSchema, hn as DEVICE_SETTINGS_CONTRIBUTION_METHODS, jt as looseSchema, kn as expandCapMethods, mn as DATAPLANE_SECRET_HEADER$1, qt as resolveMethodAuth, t as ALL_CAPABILITY_DEFINITIONS, wn as asNumber, xn as ReadinessTimeoutError, yt as isObjectInput, zt as objectInputDeclaresRequiredDeviceId } from "./dist-O_Cf9RQm.mjs";
2
+ import { At as logLevelAtMost, Bn as EventCategory$1, Cn as asJsonObject$1, Ct as kebabToCamel, Dn as emitDownForOwnedCaps, En as createEvent, Et as lifecycleJobSchema, Fn as parseJsonUnknown, Ht as procedureAuthKey, In as readinessKey, Ln as resolveCapMount, Pn as parseJsonObject, R as addonSettingsCapability, Rn as scopeKey, Rt as objectInputDeclaresAddonId, St as isVoidInput, T as RUNTIME_DEFAULTS, Tn as asString$1, Xt as scopesAllowDeviceCap, Yt as scopesAllowAddon, _ as LOG_LEVEL_RANK, _t as isCollectionArrayMethod, b as METHOD_ACCESS_MAP, bn as ReadinessRegistry, dn as errMsg$1, dt as extractNestedAddonId, gn as DEVICE_STATUS_METHOD, gt as isArrayOutputSchema, hn as DEVICE_SETTINGS_CONTRIBUTION_METHODS, jt as looseSchema, kn as expandCapMethods, mn as DATAPLANE_SECRET_HEADER$1, qt as resolveMethodAuth, t as ALL_CAPABILITY_DEFINITIONS, wn as asNumber, xn as ReadinessTimeoutError, yt as isObjectInput, zt as objectInputDeclaresRequiredDeviceId } from "./dist-BoYDYdae.mjs";
3
3
  import { AlertCenterAddon } from "./builtins/alerts/alerts.addon.mjs";
4
4
  import "./builtins/alerts/index.mjs";
5
5
  import { t as formatLogLine } from "./formatter-B7qW8bPJ.mjs";
@@ -26,7 +26,7 @@ import "./builtins/system-config/index.mjs";
26
26
  import { WinstonDestination, WinstonLoggingAddon } from "./builtins/winston-logging/index.mjs";
27
27
  import { _ as fetchJson, a as createFileDataPlaneHandler, c as parseRangeHeader, d as ModelDownloadService, f as collectModelFiles, g as ensureModel, h as downloadModel, i as startEventLoopStallMonitor, l as parseTokenizedUrl, m as downloadFile, n as STALL_TICK_MS, o as contentTypeFor, p as deleteModelFromDisk, r as attributeStall, s as createAuthenticatedFileServer, t as STALL_REPORT_MS, u as resolveFilePath, v as getModelFilePath, y as isModelDownloaded } from "./event-loop-stall-monitor-GPrVvx14.mjs";
28
28
  import { C as registerLanHttpHandler, S as readLanHttpState, _ as DEFAULT_LAN_HTTP_PORT, a as writeTlsMode, b as bindPendingLanHttp, c as loadTlsCert, d as collectCertIdentity, f as CA_VALIDITY_DAYS, g as evaluateExistingCert, h as SERVER_AUTH_OID, i as writeExtraSans, l as reissueTlsLeaf, m as MAX_LEAF_VALIDITY_DAYS, n as readTlsAccessStatus, o as validateUploadedTls, p as LEAF_RENEWAL_WINDOW_DAYS, r as readTlsMode, s as ensureTlsCert, t as readExtraSans, u as CA_COMMON_NAME, v as allFamiliesListenHost, x as closeLanHttp, y as applyLanHttp } from "./tls-IM-v7JV4.mjs";
29
- import { $ as FrameDecoder, $t as startHeapWatch, A as createUdsEventBus, An as diffSocketPlane, At as HEAP_RECLAIM_MIN_INTERVAL_MS, B as LocalChildClient, Bn as CAP_ACTION_UNLABELLED, Bt as RUNNER_HEAP_WATCH_INTERVAL_MS, C as brokerTransportLink, Cn as createMeshQueueReader, Ct as resolveAddonClass, D as localProviderLink, Dn as SOCKET_QUEUE_TOP_N, Dt as createAddonPeerBytesFacility, E as ipcParentLink, En as SOCKET_PLANE_TOP_N, Et as runNpm, F as AGENT_CAP_FWD_SERVICE, Fn as recordSocketFrame, Ft as HUB_MAIN_HEAP_WATCH_LABEL, G as PARENT_ROUTED_PROVIDER_ADDON_ID, Gn as diffCapActionCensus, Gt as createLoopDelayMeter, H as UDS_NO_ROUTE_PREFIX, Hn as MAX_CAP_ACTIONS_PER_PEER, Ht as ZERO_LOOP_DELAY, I as CapRouteResolver, In as sampleSocketDirection, It as HUB_MAIN_RSS_BUDGET_MB, J as createLocalTransport, Jn as createEventPlaneReader, Jt as hubMainRssBudget, K as __resetCapUsageRegistryForTests, Kn as EVENT_PLANE_TOP_N, Kt as createV8Reclaimer, L as callWithServiceDiscovery, Ln as socketDirectionBytes, Lt as HUB_RSS_BUDGET_ENV, M as createUdsLogger, Mn as readSocketQueues, Mt as HEAP_RECLAIM_TRIGGER_MB, N as createUdsLoggerWithControl, Nn as EMPTY_SOCKET_DIRECTION, Nt as HEAP_WATCH_INTERVAL_MS, O as createParentUnownedCallHandler, On as createSocketPlaneMeter, Ot as hostNodeIdOf, P as AGENT_CAP_FWD_ACTION, Pn as createSocketDirectionCounters, Pt as HEAP_WATCH_WARN_RATIO, Q as localEndpointPath, Qt as shouldReclaim, R as CapRouteError, Rn as socketDirectionMessages, Rt as RSS_BUDGET_REANNOUNCE_MIN_MS, S as brokerCallForCap, Sn as MESH_QUEUE_TOP_N, St as installManifestNativeDeps, T as deviceCapResolverLink, Tn as EMPTY_SOCKET_PLANE_BASELINE, Tt as resolveNpmInvocation, U as readMoleculerFanoutMode, Un as capActionLabel, Ut as buildHeapSample, V as LocalChildRegistry, Vn as EMPTY_CAP_ACTION_READING, Vt as RUNNER_RSS_BUDGET_ENV, W as CapUsageRegistry, Wn as createCapActionCensus, Wt as createDeferredHeapWatchSink, X as UdsLocalTransportServer, Xn as formatEventPlane, Xt as parseRssBudgetMb, Y as UdsLocalTransportClient, Yn as diffEventPlane, Yt as nextRssBudgetState, Z as SocketChannel, Zt as reclaimIntervalMs, _ as setNodeEventInterest, _n as OUTBOUND_QUEUE_COOLDOWN_MS, _t as serializeTypedArrays, a as adaptBrokerToCluster, an as ARRAY_BUFFER_RELEASE_MIN_DROP_RATIO, b as createKernelHwAccel, bn as createOutboundQueueGate, bt as CapabilityUnavailableError, c as getWorkerDeviceRegistry, cn as formatArrayBufferCensus, ct as createAddonService, d as setHubConnected, dn as HEAP_SPACE_REPORT_MIN_MB, dt as capActionName, en as startRunnerHeapWatch, et as encodeFrame, f as EVENT_TOPIC_PREFIX, fn as emitHeapDiagnosticReport, ft as capActionSuffix, g as registerEventBusService, gn as selectReportedSpaces, gt as deserializeTypedArrays, h as getMoleculerEventStats, hn as readHeapSpaces, ht as parseCapAction, i as installManifestPythonDeps, in as ARRAY_BUFFER_CENSUS_THRESHOLD_MB, j as udsChildLogToWorkerEntry, jn as formatSocketPlane, jt as HEAP_RECLAIM_STEADY_STATE_INTERVAL_MS, k as createUdsEventBridge, kn as createSocketPlaneReader, kt as createAddonDataPlaneFacility, l as getOrInitReadinessRegistry, ln as isArrayBufferCensusReport, lt as validateProviderRegistrations, m as getBrokerEventBus, mn as heapSpaceField, mt as capServiceName, nn as ARRAY_BUFFER_CENSUS_COOLDOWN_MS, nt as buildUdsNativeCapProxy, o as createAddonContext, on as createArrayBufferCensusGate, ot as mountNativeCapService, p as clusterEventTopic, pn as formatHeapSpaces, pt as capBareAction, q as getCapUsageRegistry, qn as createEventPlaneMeter, qt as describeRss, r as installManifestSystemDeps, rn as ARRAY_BUFFER_CENSUS_SUSTAIN_MS, rt as createBrokerDeviceManagerApi, s as createUdsAddonContext, sn as createInspectorArrayBufferCensus, t as CAP_METHOD_NOT_IMPLEMENTED, tn as strandedMb, tt as buildNativeCapProxy, u as getOrInitReadinessRegistryForClient, un as DECISIVE_HEAP_SPACES, ut as NATIVE_PROVIDER_SERVICE_INFIX, v as subscribePassthrough, vn as OUTBOUND_QUEUE_SUSTAIN_MS, vt as DeviceRegistry, w as buildLinkChain, wn as formatMeshQueue, wt as buildNpmChildEnv, x as resolveHwAccel, xn as formatOutboundQueueVerdict, xt as copyBundledNativeModules, y as AddonDepsManager, yn as OUTBOUND_QUEUE_THRESHOLD_BYTES, yt as CapabilityHandle, z as classifyCapRoute, zn as CAP_ACTION_OVERFLOW_LABEL, zt as RSS_BUDGET_RELEASE_RATIO } from "./child-cap-dispatch-CWkcQIRe.mjs";
29
+ import { $ as localEndpointPath, $t as shouldReclaim, A as createUdsEventBus, An as createSocketPlaneReader, At as createAddonDataPlaneFacility, B as LocalChildClient, Bn as CAP_ACTION_OVERFLOW_LABEL, Bt as RSS_BUDGET_RELEASE_RATIO, C as brokerTransportLink, Cn as MESH_QUEUE_TOP_N, Ct as installManifestNativeDeps, D as localProviderLink, Dn as SOCKET_PLANE_TOP_N, Dt as runNpm, E as ipcParentLink, En as EMPTY_SOCKET_PLANE_BASELINE, Et as resolveNpmInvocation, F as AGENT_CAP_FWD_SERVICE, Fn as createSocketDirectionCounters, Ft as HEAP_WATCH_WARN_RATIO, G as PARENT_ROUTED_PROVIDER_ADDON_ID, Gn as createCapActionCensus, Gt as createDeferredHeapWatchSink, H as UDS_NO_ROUTE_PREFIX, Hn as EMPTY_CAP_ACTION_READING, Ht as RUNNER_RSS_BUDGET_ENV, I as CapRouteResolver, In as recordSocketFrame, It as HUB_MAIN_HEAP_WATCH_LABEL, J as createLocalTransport, Jn as createEventPlaneMeter, Jt as describeRss, K as __resetCapUsageRegistryForTests, Kn as diffCapActionCensus, Kt as createLoopDelayMeter, L as callWithServiceDiscovery, Ln as sampleSocketDirection, Lt as HUB_MAIN_RSS_BUDGET_MB, M as createUdsLogger, Mn as formatSocketPlane, Mt as HEAP_RECLAIM_STEADY_STATE_INTERVAL_MS, N as createUdsLoggerWithControl, Nn as readSocketQueues, Nt as HEAP_RECLAIM_TRIGGER_MB, O as createParentUnownedCallHandler, On as SOCKET_QUEUE_TOP_N, Ot as createAddonPeerBytesFacility, P as AGENT_CAP_FWD_ACTION, Pn as EMPTY_SOCKET_DIRECTION, Pt as HEAP_WATCH_INTERVAL_MS, Q as PeerAnsweredError, Qt as reclaimIntervalMs, R as CapRouteError, Rn as socketDirectionBytes, Rt as HUB_RSS_BUDGET_ENV, S as brokerCallForCap, Sn as formatOutboundQueueVerdict, St as copyBundledNativeModules, T as deviceCapResolverLink, Tn as formatMeshQueue, Tt as buildNpmChildEnv, U as readMoleculerFanoutMode, Un as MAX_CAP_ACTIONS_PER_PEER, Ut as ZERO_LOOP_DELAY, V as LocalChildRegistry, Vn as CAP_ACTION_UNLABELLED, Vt as RUNNER_HEAP_WATCH_INTERVAL_MS, W as CapUsageRegistry, Wn as capActionLabel, Wt as buildHeapSample, X as UdsLocalTransportServer, Xn as diffEventPlane, Xt as nextRssBudgetState, Y as UdsLocalTransportClient, Yn as createEventPlaneReader, Yt as hubMainRssBudget, Z as SocketChannel, Zn as formatEventPlane, Zt as parseRssBudgetMb, _ as setNodeEventInterest, _n as selectReportedSpaces, _t as deserializeTypedArrays, a as adaptBrokerToCluster, an as ARRAY_BUFFER_CENSUS_THRESHOLD_MB, b as createKernelHwAccel, bn as OUTBOUND_QUEUE_THRESHOLD_BYTES, bt as CapabilityHandle, c as getWorkerDeviceRegistry, cn as createInspectorArrayBufferCensus, d as setHubConnected, dn as DECISIVE_HEAP_SPACES, dt as NATIVE_PROVIDER_SERVICE_INFIX, en as startHeapWatch, et as FrameDecoder, f as EVENT_TOPIC_PREFIX, fn as HEAP_SPACE_REPORT_MIN_MB, ft as capActionName, g as registerEventBusService, gn as readHeapSpaces, gt as parseCapAction, h as getMoleculerEventStats, hn as heapSpaceField, ht as capServiceName, i as installManifestPythonDeps, in as ARRAY_BUFFER_CENSUS_SUSTAIN_MS, it as createBrokerDeviceManagerApi, j as udsChildLogToWorkerEntry, jn as diffSocketPlane, jt as HEAP_RECLAIM_MIN_INTERVAL_MS, k as createUdsEventBridge, kn as createSocketPlaneMeter, kt as hostNodeIdOf, l as getOrInitReadinessRegistry, ln as formatArrayBufferCensus, lt as createAddonService, m as getBrokerEventBus, mn as formatHeapSpaces, mt as capBareAction, nn as strandedMb, nt as buildNativeCapProxy, o as createAddonContext, on as ARRAY_BUFFER_RELEASE_MIN_DROP_RATIO, p as clusterEventTopic, pn as emitHeapDiagnosticReport, pt as capActionSuffix, q as getCapUsageRegistry, qn as EVENT_PLANE_TOP_N, qt as createV8Reclaimer, r as installManifestSystemDeps, rn as ARRAY_BUFFER_CENSUS_COOLDOWN_MS, rt as buildUdsNativeCapProxy, s as createUdsAddonContext, sn as createArrayBufferCensusGate, st as mountNativeCapService, t as CAP_METHOD_NOT_IMPLEMENTED, tn as startRunnerHeapWatch, tt as encodeFrame, u as getOrInitReadinessRegistryForClient, un as isArrayBufferCensusReport, ut as validateProviderRegistrations, v as subscribePassthrough, vn as OUTBOUND_QUEUE_COOLDOWN_MS, vt as serializeTypedArrays, w as buildLinkChain, wn as createMeshQueueReader, wt as resolveAddonClass, x as resolveHwAccel, xn as createOutboundQueueGate, xt as CapabilityUnavailableError, y as AddonDepsManager, yn as OUTBOUND_QUEUE_SUSTAIN_MS, yt as DeviceRegistry, z as classifyCapRoute, zn as socketDirectionMessages, zt as RSS_BUDGET_REANNOUNCE_MIN_MS } from "./child-cap-dispatch-C1c3rWaX.mjs";
30
30
  import { n as getSinglePidStats, t as getPidStats } from "./resource-monitor-Vp0bPV3U.mjs";
31
31
  import { t as CustomActionRegistry } from "./custom-action-registry-B4Cf4O_X.mjs";
32
32
  import { z } from "zod";
@@ -95829,4 +95829,4 @@ var LifecycleJobEngine = class {
95829
95829
  }
95830
95830
  };
95831
95831
  //#endregion
95832
- export { AGENT_CAP_FWD_ACTION, AGENT_CAP_FWD_SERVICE, AGENT_READINESS_SERVICE_NAME, ALL_CAPABILITY_DEFINITIONS, ARRAY_BUFFER_CENSUS_COOLDOWN_MS, ARRAY_BUFFER_CENSUS_SUSTAIN_MS, ARRAY_BUFFER_CENSUS_THRESHOLD_MB, ARRAY_BUFFER_RELEASE_MIN_DROP_RATIO, AddonApiFactory, AddonDepsManager, AddonEngineManager, AddonHealthMonitor, AddonInstaller, AddonLoader, AddonManifest, AddonRouteRegistry, AlertCenterAddon, ApiKeyManager, AuthManager, CAP_ACTION_OVERFLOW_LABEL, CAP_ACTION_UNLABELLED, CAP_METHOD_NOT_IMPLEMENTED, CA_COMMON_NAME, CA_VALIDITY_DAYS, CLUSTER_SECRET_MISMATCH_TYPE, CLUSTER_SECRET_REJECTED_EXIT_CODE, CORE_CAP_SERVICE_NAME, CapRouteError, CapRouteResolver, CapUsageRegistry, CapabilityHandle, CapabilityRegistry, CapabilityUnavailableError, ConfigManager, ConfigStore, ConsoleDestination, ConsoleLoggingAddon, CoreBlocksAddon, CustomActionRegistry, DECISIVE_HEAP_SPACES, DEFAULT_DATA_PATH, DEFAULT_LAN_HTTP_PORT, DEFAULT_LOG_LEVEL, DEVICE_SETTINGS_CONTRIBUTION_METHODS, DEVICE_STATUS_METHOD, DataPlaneRegistry, DeviceManagerAddon, DeviceRegistry, DeviceStore, EMPTY_CAP_ACTION_READING, EMPTY_SOCKET_DIRECTION, EMPTY_SOCKET_PLANE_BASELINE, EVENT_PLANE_TOP_N, EVENT_TOPIC_PREFIX, EngineManagerResolver, EventBus, FeatureManager, FilesystemStorageAddon, FilesystemStorageProvider, FrameDecoder, FsStorageBackend, HEALTH_MONITOR_GRACE_PERIOD_MS, HEALTH_MONITOR_RETRY_INTERVALS_MS, HEALTH_MONITOR_TICK_MS, HEAP_RECLAIM_MIN_INTERVAL_MS, HEAP_RECLAIM_STEADY_STATE_INTERVAL_MS, HEAP_RECLAIM_TRIGGER_MB, HEAP_SPACE_REPORT_MIN_MB, HEAP_WATCH_INTERVAL_MS, HEAP_WATCH_WARN_RATIO, HUB_CAP_FWD_ACTION, HUB_CAP_FWD_SERVICE, HUB_MAIN_HEAP_WATCH_LABEL, HUB_MAIN_RSS_BUDGET_MB, HUB_RSS_BUDGET_ENV, HubForwarderAddon, HubForwarderDestination, HubLogForwarder, HubNodeRegistry, INFRA_CAPABILITIES, IntegrationRegistry, JobJournal, LEAF_RENEWAL_WINDOW_DAYS, LifecycleJobEngine, LifecycleStateMachine, LivenessMonitorAddon, LocalAuthAddon, LocalChildClient, LocalChildRegistry, LogManager, LogRingBuffer, LoggingGate, LokiDestination, LokiLoggingAddon, MAX_CAP_ACTIONS_PER_PEER, MAX_LEAF_VALIDITY_DAYS, MESH_QUEUE_TOP_N, METHOD_ACCESS_MAP, ModelDownloadService, NATIVE_PROVIDER_SERVICE_INFIX, NATIVE_SCAN_DEPTH, NativeMetricsAddon, NativeMetricsProvider, NetworkQualityTracker, NotificationService, OUTBOUND_QUEUE_COOLDOWN_MS, OUTBOUND_QUEUE_SUSTAIN_MS, OUTBOUND_QUEUE_THRESHOLD_BYTES, PARENT_ROUTED_PROVIDER_ADDON_ID, PYTHON_VERSION, PipelineRunner, PipelineValidator, PythonEnvManager, QUARANTINE_DIRNAME, RESTART_MARKER_FILE, RSS_BUDGET_REANNOUNCE_MIN_MS, RSS_BUDGET_RELEASE_RATIO, RUNNER_HEAP_WATCH_INTERVAL_MS, RUNNER_RSS_BUDGET_ENV, RUNTIME_DEFAULTS, ReadinessRegistry, ReadinessTimeoutError, ReplEngine, RingBuffer, SERVER_AUTH_OID, SOCKET_PLANE_TOP_N, SOCKET_QUEUE_TOP_N, STALL_REPORT_MS, STALL_TICK_MS, ScopedLogger, ScopedTokenManager, SocketChannel, SqliteSettingsAddon, SqliteSettingsBackend, StagingArea, StorageLocationManager, StorageManager, StorageOrchestratorAddon, StorageOrchestratorService, SystemConfigAddon, SystemEventBus, TRADITIONAL_NATIVE_PACKAGES, ToastService, UDS_NO_ROUTE_PREFIX, UdsLocalTransportClient, UdsLocalTransportServer, UserManager, WinstonDestination, WinstonLoggingAddon, ZERO_LOOP_DELAY, __resetCapUsageRegistryForTests, __resetLoggingGateForTests, adaptBrokerToCluster, addonSettingsCapability, allFamiliesListenHost, applyLanHttp, attributeStall, bindPendingLanHttp, bootstrapSchema, brokerCallForCap, brokerTransportLink, buildBinaryPath, buildCapRouters, buildHeapSample, buildLinkChain, buildNativeCapProxy, buildNodeManifest, buildNpmChildEnv, buildStorageLocationRegistry, buildUdsNativeCapProxy, builderMountedCapNames, callRegisterNodeWithRetry, callWithServiceDiscovery, canServeDataPlane, capActionLabel, capActionName, capActionSuffix, capBareAction, capServiceName, classifyAddonDir, classifyCapRoute, clearPendingRestart, closeLanHttp, clusterEventTopic, clusterSecretMatches, collectCertIdentity, collectModelFiles, contentTypeFor, copyDirRecursive, copyExtraFileDirs, createAddonContext, createAddonDataPlaneFacility, createAddonPeerBytesFacility, createAddonService, createArrayBufferCensusGate, createAuthenticatedFileServer, createBroker, createBrokerDeviceManagerApi, createCapActionCensus, createCoreCapService, createDeferredHeapWatchSink, createDoorSettingsView, createEventPlaneMeter, createEventPlaneReader, createFileDataPlaneHandler, createHubCapForwardService, createHubService, createInspectorArrayBufferCensus, createKernelHwAccel, createLocalTransport, createLoopDelayMeter, createMeshQueueReader, createOutboundQueueGate, createParentUnownedCallHandler, createProcessService, createReadinessService, createReadinessServiceForRegistry, createScopedProcessManager, createSocketDirectionCounters, createSocketPlaneMeter, createSocketPlaneReader, createStreamProbeBrokerService, createUdsAddonContext, createUdsEventBridge, createUdsEventBus, createUdsLogger, createUdsLoggerWithControl, createV8Reclaimer, deleteModelFromDisk, deriveAgentListenPort, describeProviderKindDrift, describeRss, detectWorkspacePackagesDir, deviceCapResolverLink, diffCapActionCensus, diffEventPlane, diffSocketPlane, downloadBinary, downloadFile, downloadModel, emitDownForOwnedCaps, emitHeapDiagnosticReport, encodeFrame, ensureAddonNativePrebuilds, ensureBinary, ensureDir, ensureFfmpeg, ensureLibraryBuilt, ensureModel, ensureNativePrebuilds, ensurePython, ensureTlsCert, evaluateExistingCert, expandCapMethods, fetchJson, findInPath, formatArrayBufferCensus, formatEventPlane, formatHeapSpaces, formatLogLine, formatMeshQueue, formatOutboundQueueVerdict, formatSocketPlane, getBrokerEventBus, getCapUsageRegistry, getFfmpegDownloadUrl, getLoggingGate, getModelFilePath, getMoleculerEventStats, getOrInitReadinessRegistry, getOrInitReadinessRegistryForClient, getPidStats, getPlatformInfo, getPythonDownloadUrl, getRestartMarkerPath, getSinglePidStats, getWorkerDeviceRegistry, hasDotNode, hashClusterSecret, heapSpaceField, hostNodeIdOf, hubMainRssBudget, installManifestNativeDeps, installManifestPythonDeps, installManifestSystemDeps, installPackageFromNpm, installPythonPackages, installPythonRequirements, ipcParentLink, isAddonDeploySource, isArrayBufferCensusReport, isArrayOutputSchema, isClusterSecretMismatchError, isCollectionArrayMethod, isInfraCapability, isModelDownloaded, isSourceNewer, isolatedBuiltinPhase, loadTlsCert, localEndpointPath, localProviderLink, mountNativeCapService, nextRssBudgetState, parseCapAction, parseRangeHeader, parseRssBudgetMb, parseTokenizedUrl, partitionIsolatedBuiltinIds, proxyToUpstream, quarantineAddonResidue, readExtraSans, readHeapSpaces, readLanHttpState, readMoleculerFanoutMode, readPendingRestart, readSocketQueues, readTlsAccessStatus, readTlsMode, readinessKey, reclaimIntervalMs, recordSocketFrame, registerEventBusService, registerLanHttpHandler, reissueTlsLeaf, resolveFilePath, resolveHwAccel, resolveNpmInvocation, runHubAddonBoot, runNpm, sampleSocketDirection, scheduleSelfRestart, scopeKey, scopesAllowAddon, scopesAllowDeviceCap, selectAddonResidue, selectReportedSpaces, serializeTypedArrays, setHubConnected, setNodeEventInterest, setWrapperActive, shouldReclaim, socketDirectionBytes, socketDirectionMessages, startEventLoopStallMonitor, startHeapWatch, startRunnerHeapWatch, strandedMb, stripCamstackDeps, subscribePassthrough, udsChildLogToWorkerEntry, validateProviderRegistrations, validateUploadedTls, waitUntilReady, writeExtraSans, writePendingRestart, writeTlsMode };
95832
+ export { AGENT_CAP_FWD_ACTION, AGENT_CAP_FWD_SERVICE, AGENT_READINESS_SERVICE_NAME, ALL_CAPABILITY_DEFINITIONS, ARRAY_BUFFER_CENSUS_COOLDOWN_MS, ARRAY_BUFFER_CENSUS_SUSTAIN_MS, ARRAY_BUFFER_CENSUS_THRESHOLD_MB, ARRAY_BUFFER_RELEASE_MIN_DROP_RATIO, AddonApiFactory, AddonDepsManager, AddonEngineManager, AddonHealthMonitor, AddonInstaller, AddonLoader, AddonManifest, AddonRouteRegistry, AlertCenterAddon, ApiKeyManager, AuthManager, CAP_ACTION_OVERFLOW_LABEL, CAP_ACTION_UNLABELLED, CAP_METHOD_NOT_IMPLEMENTED, CA_COMMON_NAME, CA_VALIDITY_DAYS, CLUSTER_SECRET_MISMATCH_TYPE, CLUSTER_SECRET_REJECTED_EXIT_CODE, CORE_CAP_SERVICE_NAME, CapRouteError, CapRouteResolver, CapUsageRegistry, CapabilityHandle, CapabilityRegistry, CapabilityUnavailableError, ConfigManager, ConfigStore, ConsoleDestination, ConsoleLoggingAddon, CoreBlocksAddon, CustomActionRegistry, DECISIVE_HEAP_SPACES, DEFAULT_DATA_PATH, DEFAULT_LAN_HTTP_PORT, DEFAULT_LOG_LEVEL, DEVICE_SETTINGS_CONTRIBUTION_METHODS, DEVICE_STATUS_METHOD, DataPlaneRegistry, DeviceManagerAddon, DeviceRegistry, DeviceStore, EMPTY_CAP_ACTION_READING, EMPTY_SOCKET_DIRECTION, EMPTY_SOCKET_PLANE_BASELINE, EVENT_PLANE_TOP_N, EVENT_TOPIC_PREFIX, EngineManagerResolver, EventBus, FeatureManager, FilesystemStorageAddon, FilesystemStorageProvider, FrameDecoder, FsStorageBackend, HEALTH_MONITOR_GRACE_PERIOD_MS, HEALTH_MONITOR_RETRY_INTERVALS_MS, HEALTH_MONITOR_TICK_MS, HEAP_RECLAIM_MIN_INTERVAL_MS, HEAP_RECLAIM_STEADY_STATE_INTERVAL_MS, HEAP_RECLAIM_TRIGGER_MB, HEAP_SPACE_REPORT_MIN_MB, HEAP_WATCH_INTERVAL_MS, HEAP_WATCH_WARN_RATIO, HUB_CAP_FWD_ACTION, HUB_CAP_FWD_SERVICE, HUB_MAIN_HEAP_WATCH_LABEL, HUB_MAIN_RSS_BUDGET_MB, HUB_RSS_BUDGET_ENV, HubForwarderAddon, HubForwarderDestination, HubLogForwarder, HubNodeRegistry, INFRA_CAPABILITIES, IntegrationRegistry, JobJournal, LEAF_RENEWAL_WINDOW_DAYS, LifecycleJobEngine, LifecycleStateMachine, LivenessMonitorAddon, LocalAuthAddon, LocalChildClient, LocalChildRegistry, LogManager, LogRingBuffer, LoggingGate, LokiDestination, LokiLoggingAddon, MAX_CAP_ACTIONS_PER_PEER, MAX_LEAF_VALIDITY_DAYS, MESH_QUEUE_TOP_N, METHOD_ACCESS_MAP, ModelDownloadService, NATIVE_PROVIDER_SERVICE_INFIX, NATIVE_SCAN_DEPTH, NativeMetricsAddon, NativeMetricsProvider, NetworkQualityTracker, NotificationService, OUTBOUND_QUEUE_COOLDOWN_MS, OUTBOUND_QUEUE_SUSTAIN_MS, OUTBOUND_QUEUE_THRESHOLD_BYTES, PARENT_ROUTED_PROVIDER_ADDON_ID, PYTHON_VERSION, PeerAnsweredError, PipelineRunner, PipelineValidator, PythonEnvManager, QUARANTINE_DIRNAME, RESTART_MARKER_FILE, RSS_BUDGET_REANNOUNCE_MIN_MS, RSS_BUDGET_RELEASE_RATIO, RUNNER_HEAP_WATCH_INTERVAL_MS, RUNNER_RSS_BUDGET_ENV, RUNTIME_DEFAULTS, ReadinessRegistry, ReadinessTimeoutError, ReplEngine, RingBuffer, SERVER_AUTH_OID, SOCKET_PLANE_TOP_N, SOCKET_QUEUE_TOP_N, STALL_REPORT_MS, STALL_TICK_MS, ScopedLogger, ScopedTokenManager, SocketChannel, SqliteSettingsAddon, SqliteSettingsBackend, StagingArea, StorageLocationManager, StorageManager, StorageOrchestratorAddon, StorageOrchestratorService, SystemConfigAddon, SystemEventBus, TRADITIONAL_NATIVE_PACKAGES, ToastService, UDS_NO_ROUTE_PREFIX, UdsLocalTransportClient, UdsLocalTransportServer, UserManager, WinstonDestination, WinstonLoggingAddon, ZERO_LOOP_DELAY, __resetCapUsageRegistryForTests, __resetLoggingGateForTests, adaptBrokerToCluster, addonSettingsCapability, allFamiliesListenHost, applyLanHttp, attributeStall, bindPendingLanHttp, bootstrapSchema, brokerCallForCap, brokerTransportLink, buildBinaryPath, buildCapRouters, buildHeapSample, buildLinkChain, buildNativeCapProxy, buildNodeManifest, buildNpmChildEnv, buildStorageLocationRegistry, buildUdsNativeCapProxy, builderMountedCapNames, callRegisterNodeWithRetry, callWithServiceDiscovery, canServeDataPlane, capActionLabel, capActionName, capActionSuffix, capBareAction, capServiceName, classifyAddonDir, classifyCapRoute, clearPendingRestart, closeLanHttp, clusterEventTopic, clusterSecretMatches, collectCertIdentity, collectModelFiles, contentTypeFor, copyDirRecursive, copyExtraFileDirs, createAddonContext, createAddonDataPlaneFacility, createAddonPeerBytesFacility, createAddonService, createArrayBufferCensusGate, createAuthenticatedFileServer, createBroker, createBrokerDeviceManagerApi, createCapActionCensus, createCoreCapService, createDeferredHeapWatchSink, createDoorSettingsView, createEventPlaneMeter, createEventPlaneReader, createFileDataPlaneHandler, createHubCapForwardService, createHubService, createInspectorArrayBufferCensus, createKernelHwAccel, createLocalTransport, createLoopDelayMeter, createMeshQueueReader, createOutboundQueueGate, createParentUnownedCallHandler, createProcessService, createReadinessService, createReadinessServiceForRegistry, createScopedProcessManager, createSocketDirectionCounters, createSocketPlaneMeter, createSocketPlaneReader, createStreamProbeBrokerService, createUdsAddonContext, createUdsEventBridge, createUdsEventBus, createUdsLogger, createUdsLoggerWithControl, createV8Reclaimer, deleteModelFromDisk, deriveAgentListenPort, describeProviderKindDrift, describeRss, detectWorkspacePackagesDir, deviceCapResolverLink, diffCapActionCensus, diffEventPlane, diffSocketPlane, downloadBinary, downloadFile, downloadModel, emitDownForOwnedCaps, emitHeapDiagnosticReport, encodeFrame, ensureAddonNativePrebuilds, ensureBinary, ensureDir, ensureFfmpeg, ensureLibraryBuilt, ensureModel, ensureNativePrebuilds, ensurePython, ensureTlsCert, evaluateExistingCert, expandCapMethods, fetchJson, findInPath, formatArrayBufferCensus, formatEventPlane, formatHeapSpaces, formatLogLine, formatMeshQueue, formatOutboundQueueVerdict, formatSocketPlane, getBrokerEventBus, getCapUsageRegistry, getFfmpegDownloadUrl, getLoggingGate, getModelFilePath, getMoleculerEventStats, getOrInitReadinessRegistry, getOrInitReadinessRegistryForClient, getPidStats, getPlatformInfo, getPythonDownloadUrl, getRestartMarkerPath, getSinglePidStats, getWorkerDeviceRegistry, hasDotNode, hashClusterSecret, heapSpaceField, hostNodeIdOf, hubMainRssBudget, installManifestNativeDeps, installManifestPythonDeps, installManifestSystemDeps, installPackageFromNpm, installPythonPackages, installPythonRequirements, ipcParentLink, isAddonDeploySource, isArrayBufferCensusReport, isArrayOutputSchema, isClusterSecretMismatchError, isCollectionArrayMethod, isInfraCapability, isModelDownloaded, isSourceNewer, isolatedBuiltinPhase, loadTlsCert, localEndpointPath, localProviderLink, mountNativeCapService, nextRssBudgetState, parseCapAction, parseRangeHeader, parseRssBudgetMb, parseTokenizedUrl, partitionIsolatedBuiltinIds, proxyToUpstream, quarantineAddonResidue, readExtraSans, readHeapSpaces, readLanHttpState, readMoleculerFanoutMode, readPendingRestart, readSocketQueues, readTlsAccessStatus, readTlsMode, readinessKey, reclaimIntervalMs, recordSocketFrame, registerEventBusService, registerLanHttpHandler, reissueTlsLeaf, resolveFilePath, resolveHwAccel, resolveNpmInvocation, runHubAddonBoot, runNpm, sampleSocketDirection, scheduleSelfRestart, scopeKey, scopesAllowAddon, scopesAllowDeviceCap, selectAddonResidue, selectReportedSpaces, serializeTypedArrays, setHubConnected, setNodeEventInterest, setWrapperActive, shouldReclaim, socketDirectionBytes, socketDirectionMessages, startEventLoopStallMonitor, startHeapWatch, startRunnerHeapWatch, strandedMb, stripCamstackDeps, subscribePassthrough, udsChildLogToWorkerEntry, validateProviderRegistrations, validateUploadedTls, waitUntilReady, writeExtraSans, writePendingRestart, writeTlsMode };
@@ -6,6 +6,7 @@ export type { CapActionCensus, CapActionChannelObserver, CapActionDelta, CapActi
6
6
  export { CAP_ACTION_OVERFLOW_LABEL, CAP_ACTION_UNLABELLED, capActionLabel, createCapActionCensus, diffCapActionCensus, EMPTY_CAP_ACTION_READING, MAX_CAP_ACTIONS_PER_PEER, } from './cap-action-census.js';
7
7
  export { localEndpointPath } from './local-endpoint-path.js';
8
8
  export { SocketChannel } from './socket-channel.js';
9
+ export { PeerAnsweredError } from './peer-answered-error.js';
9
10
  export { UdsLocalTransportServer, UdsLocalTransportClient } from './uds-local-transport.js';
10
11
  export { createLocalTransport } from './create-local-transport.js';
11
12
  export type { ChildCapDescriptor, RegisterMessage, ChildLogMessage, ChildEventMessage, ChildToParentRequest, CapCallMessage, CapCallInput, CapCallOutMessage, AddonCallMessage, AddonCallInput, AddonCallTarget, AddonSettingsMethod, ParentToChildRequest, RegisteredChild, SetLogLevelMessage, } from './child-cap-protocol.js';
@@ -0,0 +1,17 @@
1
+ /**
2
+ * An error the FAR END of a channel answered with.
3
+ *
4
+ * The request was delivered, a handler ran, and it said no — typically a
5
+ * provider refusing by throwing ("No home preset configured for this
6
+ * camera"). That is an application answer, and it must reach the caller as
7
+ * the provider's own sentence. A transport failure (channel closed, request
8
+ * timed out, no child) is a plain `Error` and nobody answered it.
9
+ *
10
+ * `CapRouteResolver.dispatch` keys on this class: it used to wrap EVERY
11
+ * non-routing throw as `CapRouteError{reason:'transport-failed'}`, so an
12
+ * operator pressing PTZ Home was told the node was "not routable" when the
13
+ * node had answered (2026-09-25, device 3836).
14
+ */
15
+ export declare class PeerAnsweredError extends Error {
16
+ constructor(message: string);
17
+ }
@@ -1,4 +1,4 @@
1
- const require_dist = require("./dist-DaqbC6N5.js");
1
+ const require_dist = require("./dist-B_U69lgJ.js");
2
2
  //#region src/builtins/sqlite-storage/retired-settings-keys.ts
3
3
  /**
4
4
  * Is THIS node the one whose settings store is the cluster's authority?
@@ -1,4 +1,4 @@
1
- import { Cn as asJsonObject } from "./dist-O_Cf9RQm.mjs";
1
+ import { Cn as asJsonObject } from "./dist-BoYDYdae.mjs";
2
2
  //#region src/builtins/sqlite-storage/retired-settings-keys.ts
3
3
  /**
4
4
  * Is THIS node the one whose settings store is the cluster's authority?
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/system",
3
- "version": "1.2.297",
3
+ "version": "1.2.299",
4
4
  "description": "Core addon for CamStack — builtins, pipeline, process management, auth, logging, events",
5
5
  "keywords": [
6
6
  "camstack",