@camstack/types 1.2.341 → 1.2.342

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.
@@ -318,10 +318,10 @@ declare const CustomActionInputSchema: z.ZodObject<{
318
318
  /**
319
319
  * `addons` is a **hub-centric** cap: the hub hosts the single provider
320
320
  * and orchestrates per-node operations itself. The optional `nodeId`
321
- * on `listUpdates` / `updatePackage` / `forceRefresh` is DATA for the
322
- * hub provider's internal dispatcher (it reads/pushes to the target
323
- * agent via `$agent.*` Moleculer actions), NOT a routing hint for the
324
- * cap-router — agents host no `addons` provider of their own.
321
+ * on `list` / `listUpdates` / `updatePackage` / `forceRefresh` is DATA
322
+ * for the hub provider's internal dispatcher (it reads/pushes to the
323
+ * target agent via `$agent.*` Moleculer actions), NOT a routing hint
324
+ * for the cap-router — agents host no `addons` provider of their own.
325
325
  *
326
326
  * `nodeIdMode: 'data'` therefore forwards `nodeId` to the local hub
327
327
  * provider intact instead of stripping it for generic node routing.
@@ -334,7 +334,15 @@ export declare const addonsCapability: {
334
334
  readonly mode: 'singleton';
335
335
  readonly nodeIdMode: 'data';
336
336
  readonly methods: {
337
- readonly list: import("./capability-definition.js").CapabilityMethodSchema<z.ZodVoid, z.ZodReadonly<z.ZodArray<z.ZodObject<{
337
+ /**
338
+ * Installed addon roster for a node. `nodeId` omitted (or `'hub'`)
339
+ * is the hub's own registry; an agent `nodeId` overlays that agent's
340
+ * installed package versions (via `$agent.status`) onto hub manifests
341
+ * and drops packages the agent does not have.
342
+ */
343
+ readonly list: import("./capability-definition.js").CapabilityMethodSchema<z.ZodOptional<z.ZodObject<{
344
+ nodeId: z.ZodOptional<z.ZodString>;
345
+ }, z.core.$strip>>, z.ZodReadonly<z.ZodArray<z.ZodObject<{
338
346
  manifest: z.ZodObject<{
339
347
  id: z.ZodString;
340
348
  name: z.ZodOptional<z.ZodString>;
package/dist/client.js CHANGED
@@ -9781,7 +9781,7 @@ var NC_TEMPLATE_VARS = [
9781
9781
  {
9782
9782
  name: "skipped",
9783
9783
  label: "Skipped count",
9784
- description: "How many named devices the mode cannot arm — muted, detection off, offline (title: m saltati).",
9784
+ description: "How many named devices the mode cannot arm — muted, detection off, offline, or Arm-anyway exclusions (title: m saltati).",
9785
9785
  example: "1",
9786
9786
  group: "system",
9787
9787
  families: ["rule"],
package/dist/client.mjs CHANGED
@@ -9780,7 +9780,7 @@ var NC_TEMPLATE_VARS = [
9780
9780
  {
9781
9781
  name: "skipped",
9782
9782
  label: "Skipped count",
9783
- description: "How many named devices the mode cannot arm — muted, detection off, offline (title: m saltati).",
9783
+ description: "How many named devices the mode cannot arm — muted, detection off, offline, or Arm-anyway exclusions (title: m saltati).",
9784
9784
  example: "1",
9785
9785
  group: "system",
9786
9786
  families: ["rule"],
@@ -284,9 +284,7 @@ export type AppRouter = TrpcCoreRouter<{
284
284
  transformer: true;
285
285
  }, TRPCDecorateCreateRouterOptions<{
286
286
  list: TRPCQueryProcedure<{
287
- input: {
288
- nodeId?: string | undefined;
289
- } | undefined;
287
+ input: z.input<typeof addonsCapability.methods.list.input>;
290
288
  output: z.infer<typeof addonsCapability.methods.list.output>;
291
289
  meta: object;
292
290
  }>;
package/dist/index.js CHANGED
@@ -36294,10 +36294,10 @@ var CustomActionInputSchema = zod.z.object({
36294
36294
  /**
36295
36295
  * `addons` is a **hub-centric** cap: the hub hosts the single provider
36296
36296
  * and orchestrates per-node operations itself. The optional `nodeId`
36297
- * on `listUpdates` / `updatePackage` / `forceRefresh` is DATA for the
36298
- * hub provider's internal dispatcher (it reads/pushes to the target
36299
- * agent via `$agent.*` Moleculer actions), NOT a routing hint for the
36300
- * cap-router — agents host no `addons` provider of their own.
36297
+ * on `list` / `listUpdates` / `updatePackage` / `forceRefresh` is DATA
36298
+ * for the hub provider's internal dispatcher (it reads/pushes to the
36299
+ * target agent via `$agent.*` Moleculer actions), NOT a routing hint
36300
+ * for the cap-router — agents host no `addons` provider of their own.
36301
36301
  *
36302
36302
  * `nodeIdMode: 'data'` therefore forwards `nodeId` to the local hub
36303
36303
  * provider intact instead of stripping it for generic node routing.
@@ -36310,7 +36310,13 @@ var addonsCapability = {
36310
36310
  mode: "singleton",
36311
36311
  nodeIdMode: "data",
36312
36312
  methods: {
36313
- list: require_sleep.method(zod.z.void(), zod.z.array(AddonListItemSchema).readonly()),
36313
+ /**
36314
+ * Installed addon roster for a node. `nodeId` omitted (or `'hub'`)
36315
+ * is the hub's own registry; an agent `nodeId` overlays that agent's
36316
+ * installed package versions (via `$agent.status`) onto hub manifests
36317
+ * and drops packages the agent does not have.
36318
+ */
36319
+ list: require_sleep.method(zod.z.object({ nodeId: zod.z.string().optional() }).optional(), zod.z.array(AddonListItemSchema).readonly()),
36314
36320
  getLogs: require_sleep.method(zod.z.object({
36315
36321
  addonId: zod.z.string(),
36316
36322
  limit: zod.z.number().min(1).max(500).default(100),
@@ -73851,7 +73857,7 @@ var NC_TEMPLATE_VARS = [
73851
73857
  {
73852
73858
  name: "skipped",
73853
73859
  label: "Skipped count",
73854
- description: "How many named devices the mode cannot arm — muted, detection off, offline (title: m saltati).",
73860
+ description: "How many named devices the mode cannot arm — muted, detection off, offline, or Arm-anyway exclusions (title: m saltati).",
73855
73861
  example: "1",
73856
73862
  group: "system",
73857
73863
  families: ["rule"],
package/dist/index.mjs CHANGED
@@ -36293,10 +36293,10 @@ var CustomActionInputSchema = z.object({
36293
36293
  /**
36294
36294
  * `addons` is a **hub-centric** cap: the hub hosts the single provider
36295
36295
  * and orchestrates per-node operations itself. The optional `nodeId`
36296
- * on `listUpdates` / `updatePackage` / `forceRefresh` is DATA for the
36297
- * hub provider's internal dispatcher (it reads/pushes to the target
36298
- * agent via `$agent.*` Moleculer actions), NOT a routing hint for the
36299
- * cap-router — agents host no `addons` provider of their own.
36296
+ * on `list` / `listUpdates` / `updatePackage` / `forceRefresh` is DATA
36297
+ * for the hub provider's internal dispatcher (it reads/pushes to the
36298
+ * target agent via `$agent.*` Moleculer actions), NOT a routing hint
36299
+ * for the cap-router — agents host no `addons` provider of their own.
36300
36300
  *
36301
36301
  * `nodeIdMode: 'data'` therefore forwards `nodeId` to the local hub
36302
36302
  * provider intact instead of stripping it for generic node routing.
@@ -36309,7 +36309,13 @@ var addonsCapability = {
36309
36309
  mode: "singleton",
36310
36310
  nodeIdMode: "data",
36311
36311
  methods: {
36312
- list: method(z.void(), z.array(AddonListItemSchema).readonly()),
36312
+ /**
36313
+ * Installed addon roster for a node. `nodeId` omitted (or `'hub'`)
36314
+ * is the hub's own registry; an agent `nodeId` overlays that agent's
36315
+ * installed package versions (via `$agent.status`) onto hub manifests
36316
+ * and drops packages the agent does not have.
36317
+ */
36318
+ list: method(z.object({ nodeId: z.string().optional() }).optional(), z.array(AddonListItemSchema).readonly()),
36313
36319
  getLogs: method(z.object({
36314
36320
  addonId: z.string(),
36315
36321
  limit: z.number().min(1).max(500).default(100),
@@ -73850,7 +73856,7 @@ var NC_TEMPLATE_VARS = [
73850
73856
  {
73851
73857
  name: "skipped",
73852
73858
  label: "Skipped count",
73853
- description: "How many named devices the mode cannot arm — muted, detection off, offline (title: m saltati).",
73859
+ description: "How many named devices the mode cannot arm — muted, detection off, offline, or Arm-anyway exclusions (title: m saltati).",
73854
73860
  example: "1",
73855
73861
  group: "system",
73856
73862
  families: ["rule"],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/types",
3
- "version": "1.2.341",
3
+ "version": "1.2.342",
4
4
  "description": "Shared types, interfaces, and model catalogs for the CamStack detection ecosystem",
5
5
  "keywords": [
6
6
  "camstack",