Skip to main content

Inventory

@stateless/inventoryv2026.06.12.1· 1mo agoMODELSREPORTS
01README

A neutral, extensible fleet inventory record — the foundational "what exists and its declared attributes" model. Uniform core (id, purpose, components, relations) across atomic and composite items, with an open facet seam (access, power, network, config, management, firmware, interfaces, + custom) so new dimensions layer on without schema changes. Declarative: apply materialises one CEL-queryable device resource per id; prune soft-retires undeclared devices (status change, not deletion — version history preserves the lifecycle trend). Consumer abstractions (telemetry, management, config-drift) depend on it; it depends on nothing.

02Models1
@stateless/inventoryv2026.06.09.1inventory.ts
fn apply()
Materialise each declared device as a `device` resource (one per id).
fn prune()
Reconcile: soft-prune stored `device` resources no longer present in

Resources

device(infinite)— A declared inventory item (host, switch, ups, smartplug, …),
03Reports1
@stateless/inventory-breakdownmethod
inventory_breakdown.ts

Grouped fleet breakdown — device counts by site and kind, lifecycle

inventoryfleetsummary
04Previous Versions4
2026.06.09.1
2026.06.06.3
2026.06.06.2

Modified 1 models

2026.06.06.1
05Stats
A
100 / 100
Downloads
5
Archive size
16.3 KB
  • Has README or module doc2/2earned
  • README has a code example1/1earned
  • README is substantive1/1earned
  • Most symbols documented1/1earned
  • No slow types (deprecated)1/1earned
  • Dependencies pass trust audit2/2earned
  • Has description1/1earned
  • Platform support declared (or universal)2/2earned
  • License declared1/1earned
  • Verified public repository2/2earned
06Platforms
07Labels