@camstack/types 0.1.33 → 0.1.35

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 (52) hide show
  1. package/dist/capabilities/addons.cap.d.ts +176 -3
  2. package/dist/capabilities/addons.cap.d.ts.map +1 -1
  3. package/dist/capabilities/device-export.cap.d.ts +55 -1
  4. package/dist/capabilities/device-export.cap.d.ts.map +1 -1
  5. package/dist/capabilities/index.d.ts +4 -11
  6. package/dist/capabilities/index.d.ts.map +1 -1
  7. package/dist/capabilities/local-network.cap.d.ts +5 -5
  8. package/dist/capabilities/mesh-network.cap.d.ts +8 -2
  9. package/dist/capabilities/mesh-network.cap.d.ts.map +1 -1
  10. package/dist/capabilities/network-access.cap.d.ts +5 -4
  11. package/dist/capabilities/network-access.cap.d.ts.map +1 -1
  12. package/dist/capabilities/nodes.cap.d.ts +13 -0
  13. package/dist/capabilities/nodes.cap.d.ts.map +1 -1
  14. package/dist/enums/event-category.d.ts +10 -0
  15. package/dist/enums/event-category.d.ts.map +1 -1
  16. package/dist/generated/addon-api.d.ts +356 -516
  17. package/dist/generated/addon-api.d.ts.map +1 -1
  18. package/dist/generated/capability-router-map.d.ts +2 -14
  19. package/dist/generated/capability-router-map.d.ts.map +1 -1
  20. package/dist/generated/method-access-map.d.ts +1 -1
  21. package/dist/generated/method-access-map.d.ts.map +1 -1
  22. package/dist/generated/system-proxy.d.ts +3 -9
  23. package/dist/generated/system-proxy.d.ts.map +1 -1
  24. package/dist/{index-DRWlYskM.js → index-BkSgJYP7.js} +202 -257
  25. package/dist/index-BkSgJYP7.js.map +1 -0
  26. package/dist/{index-YnRVILXN.mjs → index-CWhQOnm9.mjs} +521 -576
  27. package/dist/index-CWhQOnm9.mjs.map +1 -0
  28. package/dist/index.js +24 -69
  29. package/dist/index.js.map +1 -1
  30. package/dist/index.mjs +294 -339
  31. package/dist/index.mjs.map +1 -1
  32. package/dist/interfaces/addon.d.ts +21 -0
  33. package/dist/interfaces/addon.d.ts.map +1 -1
  34. package/dist/interfaces/capability.d.ts +1 -6
  35. package/dist/interfaces/capability.d.ts.map +1 -1
  36. package/dist/interfaces/event-bus.d.ts +21 -1
  37. package/dist/interfaces/event-bus.d.ts.map +1 -1
  38. package/dist/interfaces/server-network.d.ts +8 -33
  39. package/dist/interfaces/server-network.d.ts.map +1 -1
  40. package/dist/node.js +1 -1
  41. package/dist/node.mjs +1 -1
  42. package/package.json +6 -1
  43. package/dist/capabilities/authentication.cap.d.ts +0 -73
  44. package/dist/capabilities/authentication.cap.d.ts.map +0 -1
  45. package/dist/capabilities/mesh-orchestrator.cap.d.ts +0 -151
  46. package/dist/capabilities/mesh-orchestrator.cap.d.ts.map +0 -1
  47. package/dist/capabilities/remote-access.cap.d.ts +0 -91
  48. package/dist/capabilities/remote-access.cap.d.ts.map +0 -1
  49. package/dist/capabilities/turn-orchestrator.cap.d.ts +0 -64
  50. package/dist/capabilities/turn-orchestrator.cap.d.ts.map +0 -1
  51. package/dist/index-DRWlYskM.js.map +0 -1
  52. package/dist/index-YnRVILXN.mjs.map +0 -1
@@ -3868,10 +3868,30 @@ const mqttBrokerCapability = {
3868
3868
  }
3869
3869
  };
3870
3870
  const LinkStateSchema = z.enum(["unlinked", "linked", "error"]);
3871
+ const ExportSetupFieldSchema = z.object({
3872
+ label: z.string(),
3873
+ value: z.string(),
3874
+ /** Mask the value by default + render a reveal toggle (client id, secrets). */
3875
+ secret: z.boolean().optional()
3876
+ });
3877
+ const ExportSetupSchema = z.object({
3878
+ /** A string to render as a scannable QR — HAP `X-HM://…` URI, a pairing URL, etc. Omitted when there's nothing to scan. */
3879
+ qr: z.string().optional(),
3880
+ /** Label/value rows shown with a copy button (HAP setup code, OAuth URLs, client id, linked-account count, …). */
3881
+ fields: z.array(ExportSetupFieldSchema).readonly().optional(),
3882
+ /** Free-form operator instructions rendered above the fields. */
3883
+ note: z.string().optional()
3884
+ });
3871
3885
  const DeviceExportStatusSchema = z.object({
3872
3886
  linkState: LinkStateSchema,
3873
3887
  exposedDeviceCount: z.number(),
3874
- error: z.string().optional()
3888
+ error: z.string().optional(),
3889
+ /**
3890
+ * Optional pairing/account info the panel renders in a generic
3891
+ * "Setup" section. Addon-agnostic — the addon id identifies the
3892
+ * export target, never an `ecosystem` key here.
3893
+ */
3894
+ setup: ExportSetupSchema.optional()
3875
3895
  });
3876
3896
  const DeviceKindSchema = z.string();
3877
3897
  const ExposedDeviceSchema = z.object({
@@ -5649,54 +5669,6 @@ const authProviderCapability = {
5649
5669
  validateToken: method(z.object({ token: z.string() }), AuthResultSchema.nullable())
5650
5670
  }
5651
5671
  };
5652
- const AuthProviderInfoSchema = z.object({
5653
- /** Stable id matching the addon id (used for `getLoginUrl({addonId,…})`). */
5654
- addonId: z.string(),
5655
- /**
5656
- * Per-instance id when one addon registers multiple "logical"
5657
- * providers (e.g. OIDC with Google + Microsoft + custom). The login
5658
- * URL becomes `/addon/${addonId}/${instanceId}/start` — handler reads
5659
- * `:instanceId` from the route. Empty/unset means the addon is a
5660
- * single-instance provider; the URL is `/addon/${addonId}/start`.
5661
- */
5662
- instanceId: z.string().optional(),
5663
- /** Display label shown on the login button + admin row. */
5664
- displayName: z.string(),
5665
- /** Optional iconography hint (lucide-react icon name OR emoji). */
5666
- icon: z.string().optional(),
5667
- /** When true, the provider exposes a redirect-based login flow
5668
- * (`getLoginUrl` returns a URL the browser navigates to). */
5669
- hasRedirectFlow: z.boolean(),
5670
- /** When true, the provider exposes a credential-form login flow
5671
- * (`validateCredentials` accepts username + password). */
5672
- hasCredentialFlow: z.boolean(),
5673
- /** Provider kind, drives admin-UI hint dispatch (oidc / saml / totp / …). */
5674
- kind: z.string().optional(),
5675
- /** Operator-facing status string (e.g. "Connected to https://login.acme.com"). */
5676
- status: z.string().optional(),
5677
- /** When false, the provider is registered but disabled by config; the
5678
- * UI surfaces it as inactive without enumerating it for login. */
5679
- enabled: z.boolean()
5680
- });
5681
- const authenticationCapability = {
5682
- name: "authentication",
5683
- scope: "system",
5684
- mode: "singleton",
5685
- methods: {
5686
- /** All registered auth providers, both enabled and disabled. */
5687
- listProviders: method(z.void(), z.array(AuthProviderInfoSchema).readonly()),
5688
- /**
5689
- * Toggle a provider's enabled flag. Disabled providers stay
5690
- * registered but aren't surfaced on the login page. The orchestrator
5691
- * persists the state in `addon-settings` so it survives restarts.
5692
- */
5693
- setProviderEnabled: method(
5694
- z.object({ addonId: z.string(), enabled: z.boolean() }),
5695
- z.object({ success: z.literal(true) }),
5696
- { kind: "mutation", auth: "admin" }
5697
- )
5698
- }
5699
- };
5700
5672
  const NetworkEndpointSchema = z.object({
5701
5673
  url: z.string(),
5702
5674
  hostname: z.string(),
@@ -5725,7 +5697,6 @@ const networkAccessCapability = {
5725
5697
  name: "network-access",
5726
5698
  scope: "system",
5727
5699
  mode: "collection",
5728
- internal: true,
5729
5700
  providerKind: "ingress",
5730
5701
  methods: {
5731
5702
  start: method(z.void(), NetworkEndpointSchema, { kind: "mutation" }),
@@ -5733,58 +5704,13 @@ const networkAccessCapability = {
5733
5704
  getEndpoint: method(z.void(), NetworkEndpointSchema.nullable()),
5734
5705
  getStatus: method(z.void(), NetworkAccessStatusSchema),
5735
5706
  /**
5736
- * Enumerate every active ingress entry. Default implementation (when
5737
- * the provider omits this method) is derived from `getEndpoint()` —
5738
- * see the remote-access orchestrator for the fallback path.
5707
+ * Enumerate every active ingress entry. Providers that expose only a
5708
+ * single endpoint may omit this method; callers fall back to
5709
+ * `getEndpoint()` in that case.
5739
5710
  */
5740
5711
  listEndpoints: method(z.void(), z.array(NetworkEndpointEntrySchema).readonly())
5741
5712
  }
5742
5713
  };
5743
- const RemoteAccessEndpointSchema = z.object({
5744
- url: z.string(),
5745
- hostname: z.string(),
5746
- port: z.number(),
5747
- protocol: z.enum(["http", "https"])
5748
- });
5749
- const RemoteAccessProviderInfoSchema = z.object({
5750
- /** Stable id matching the addon id. */
5751
- addonId: z.string(),
5752
- /** Display label shown on the admin row — sourced from the addon manifest. */
5753
- displayName: z.string(),
5754
- /** When false, the provider is registered but disabled. */
5755
- enabled: z.boolean(),
5756
- /** True when the underlying tunnel/connection is up. */
5757
- connected: z.boolean(),
5758
- /** Public-facing endpoint, when connected. Null otherwise. */
5759
- endpoint: RemoteAccessEndpointSchema.nullable(),
5760
- /** Last error message (when connected=false), if available. */
5761
- error: z.string().optional()
5762
- });
5763
- const remoteAccessCapability = {
5764
- name: "remote-access",
5765
- scope: "system",
5766
- mode: "singleton",
5767
- methods: {
5768
- /** All registered remote-access providers + their live status. */
5769
- listProviders: method(z.void(), z.array(RemoteAccessProviderInfoSchema).readonly()),
5770
- /**
5771
- * Start a specific provider's tunnel. Per-provider config still
5772
- * lives on the addon's settings panel; this is just the on/off
5773
- * trigger so the admin UI can manage the lifecycle from one place.
5774
- */
5775
- startProvider: method(
5776
- z.object({ addonId: z.string() }),
5777
- RemoteAccessEndpointSchema,
5778
- { kind: "mutation", auth: "admin" }
5779
- ),
5780
- /** Stop a specific provider's tunnel (idempotent on already-stopped). */
5781
- stopProvider: method(
5782
- z.object({ addonId: z.string() }),
5783
- z.object({ success: z.literal(true) }),
5784
- { kind: "mutation", auth: "admin" }
5785
- )
5786
- }
5787
- };
5788
5714
  const TurnServerSchema = z.object({
5789
5715
  /** Single URL or list of URLs (e.g. "turn:turn.example.com:3478?transport=udp"). */
5790
5716
  urls: z.union([z.string(), z.array(z.string())]),
@@ -5807,48 +5733,6 @@ const turnProviderCapability = {
5807
5733
  )
5808
5734
  }
5809
5735
  };
5810
- const TurnProviderInfoSchema = z.object({
5811
- /** Stable id matching the addon id. */
5812
- addonId: z.string(),
5813
- /** Display label shown on the admin row — sourced from the addon manifest. */
5814
- displayName: z.string(),
5815
- /** When false, the provider is registered but disabled. */
5816
- enabled: z.boolean(),
5817
- /** Number of servers this provider is currently exposing. */
5818
- serverCount: z.number(),
5819
- /**
5820
- * Flat list of every TURN/STUN URL this provider currently exposes.
5821
- * One row per URL (multi-URL ICE server entries are flattened). The
5822
- * admin UI shows this in a compact per-provider list so operators
5823
- * can verify what's actually being negotiated without having to dig
5824
- * into the combined `getAllServers` output.
5825
- */
5826
- urls: z.array(z.string()).readonly(),
5827
- /** Last fetch error (when serverCount=0 due to API failure), if any. */
5828
- error: z.string().optional()
5829
- });
5830
- const turnOrchestratorCapability = {
5831
- name: "turn-orchestrator",
5832
- scope: "system",
5833
- mode: "singleton",
5834
- methods: {
5835
- /** All registered TURN providers + per-provider stats. */
5836
- listProviders: method(z.void(), z.array(TurnProviderInfoSchema).readonly()),
5837
- /**
5838
- * Combined list of TURN/STUN servers from all ENABLED providers.
5839
- * Consumed by the WebRTC layer at session-creation time —
5840
- * implementations may fetch fresh short-lived credentials each
5841
- * call (e.g. Cloudflare API), so consumers SHOULD call per-session.
5842
- */
5843
- getAllServers: method(z.void(), z.array(TurnServerSchema).readonly()),
5844
- /** Toggle a provider's enabled flag. */
5845
- setProviderEnabled: method(
5846
- z.object({ addonId: z.string(), enabled: z.boolean() }),
5847
- z.object({ success: z.literal(true) }),
5848
- { kind: "mutation", auth: "admin" }
5849
- )
5850
- }
5851
- };
5852
5736
  const SnapshotImageSchema = z.object({
5853
5737
  base64: z.string(),
5854
5738
  contentType: z.string()
@@ -7444,7 +7328,7 @@ const localNetworkCapability = {
7444
7328
  )
7445
7329
  }
7446
7330
  };
7447
- const MeshEndpointSchema$1 = z.object({
7331
+ const MeshEndpointSchema = z.object({
7448
7332
  /** Stable identifier within the provider (e.g. `mesh-ipv4`, `magicdns`, `funnel`). */
7449
7333
  id: z.string(),
7450
7334
  /** Operator-facing label (e.g. "Mesh IPv4", "MagicDNS"). */
@@ -7517,7 +7401,7 @@ const MeshStatusSchema = z.object({
7517
7401
  /** Number of peers visible to this host (excluding self). */
7518
7402
  peerCount: z.number(),
7519
7403
  /** Every endpoint this provider exposes for the current host. */
7520
- endpoints: z.array(MeshEndpointSchema$1).readonly(),
7404
+ endpoints: z.array(MeshEndpointSchema).readonly(),
7521
7405
  /** Last error from the daemon, when not joined. */
7522
7406
  error: z.string().optional(),
7523
7407
  // ── Account / tenant identity (generic across providers) ────────
@@ -7550,7 +7434,25 @@ const MeshStatusSchema = z.object({
7550
7434
  * doesn't rotate keys for the bound host. Operator-facing surface
7551
7435
  * for "your access expires on …" banners.
7552
7436
  */
7553
- keyExpiry: z.number().nullable()
7437
+ keyExpiry: z.number().nullable(),
7438
+ // ── Onboard-daemon handoff (Tailscale, generic slot) ────────────
7439
+ /**
7440
+ * When the provider runs its OWN mesh daemon (e.g. the Tailscale
7441
+ * client addon in `onboard` mode spawns a private `tailscaled`),
7442
+ * this carries the local control-socket path. Companion addons that
7443
+ * must drive the SAME daemon — chiefly `tailscale-ingress` for
7444
+ * Serve/Funnel — read it to point their CLI at the right socket
7445
+ * instead of the system default. Empty when the provider uses the
7446
+ * host's system daemon (or doesn't have the concept).
7447
+ */
7448
+ daemonSocket: z.string().optional(),
7449
+ /**
7450
+ * Path to the mesh CLI binary the provider downloaded for onboard
7451
+ * mode. Companion addons reuse it so they don't need a system
7452
+ * install when the operator chose a fully self-contained mesh.
7453
+ * Empty in host mode.
7454
+ */
7455
+ daemonCliPath: z.string().optional()
7554
7456
  });
7555
7457
  const meshNetworkCapability = {
7556
7458
  name: "mesh-network",
@@ -7666,108 +7568,6 @@ const meshNetworkCapability = {
7666
7568
  // tabs driven by this cap.
7667
7569
  }
7668
7570
  };
7669
- const MeshEndpointSchema = z.object({
7670
- id: z.string(),
7671
- label: z.string(),
7672
- scope: z.enum(["mesh", "public"]),
7673
- url: z.string(),
7674
- hostname: z.string(),
7675
- port: z.number(),
7676
- protocol: z.enum(["http", "https"])
7677
- });
7678
- const MeshProviderInfoSchema = z.object({
7679
- /** Stable id matching the addon id. */
7680
- addonId: z.string(),
7681
- /** Display label shown on the admin row — sourced from the addon manifest. */
7682
- displayName: z.string(),
7683
- /** True when the host is joined to this provider's mesh. */
7684
- joined: z.boolean(),
7685
- /** Local mesh IP (empty when not joined). */
7686
- meshIp: z.string(),
7687
- /** MagicDNS / mesh hostname (empty when not configured). */
7688
- magicDnsHostname: z.string(),
7689
- /** Peer count (excluding self). */
7690
- peerCount: z.number(),
7691
- /** Active endpoints (mesh IP + MagicDNS + optional public Funnel). */
7692
- endpoints: z.array(MeshEndpointSchema).readonly(),
7693
- /** Last error reported by the provider. */
7694
- error: z.string().optional(),
7695
- // ── Generic identity fields mirrored from MeshStatus ─────────────
7696
- /** Tenant / tailnet / network display name. Empty pre-join. */
7697
- tenantName: z.string(),
7698
- /** Mesh DNS suffix (e.g. tailXXXX.ts.net). Empty when not configured. */
7699
- magicDnsSuffix: z.string(),
7700
- /** Authenticated user / account login. Null for token-only providers. */
7701
- userLogin: z.string().nullable(),
7702
- /** Provider control-plane URL. */
7703
- controlPlaneUrl: z.string(),
7704
- /** Machine-key expiry (epoch ms). Null when keys don't rotate. */
7705
- keyExpiry: z.number().nullable()
7706
- });
7707
- const meshOrchestratorCapability = {
7708
- name: "mesh-orchestrator",
7709
- scope: "system",
7710
- mode: "singleton",
7711
- methods: {
7712
- /** All registered mesh-network providers + live status. */
7713
- listProviders: method(z.void(), z.array(MeshProviderInfoSchema).readonly()),
7714
- /**
7715
- * Join the mesh of a specific provider. Per-provider config still
7716
- * lives on its settings panel; the orchestrator forwards.
7717
- */
7718
- joinProvider: method(
7719
- z.object({
7720
- addonId: z.string(),
7721
- authKey: z.string().min(8),
7722
- hostname: z.string().optional()
7723
- }),
7724
- z.object({ joined: z.literal(true) }),
7725
- { kind: "mutation" }
7726
- ),
7727
- leaveProvider: method(
7728
- z.object({ addonId: z.string() }),
7729
- z.object({ success: z.literal(true) }),
7730
- { kind: "mutation" }
7731
- ),
7732
- /**
7733
- * Browser-redirect login flow. Forwards to the named provider's
7734
- * `mesh-network.startLogin` and returns the URL the daemon
7735
- * prints. UI opens it in a new tab, then polls `listProviders`
7736
- * for `joined: true`.
7737
- */
7738
- startLoginProvider: method(
7739
- z.object({
7740
- addonId: z.string(),
7741
- hostname: z.string().optional()
7742
- }),
7743
- z.object({ loginUrl: z.string() }),
7744
- { kind: "mutation" }
7745
- ),
7746
- /**
7747
- * Sign out of the provider's account entirely (`mesh-network.logout`).
7748
- * Distinct from `leaveProvider` which only takes the host off-mesh;
7749
- * `logoutProvider` wipes credentials so the next start requires a
7750
- * fresh login.
7751
- */
7752
- logoutProvider: method(
7753
- z.object({ addonId: z.string() }),
7754
- z.object({ loggedOut: z.literal(true) }),
7755
- { kind: "mutation" }
7756
- ),
7757
- /**
7758
- * Per-provider peer list. Forwards to `mesh-network.listPeers` on
7759
- * the addressed provider. Separate from `listProviders` because
7760
- * peer payloads can be large on a heavily-populated tailnet —
7761
- * fetch only when the operator opens the Peers tab.
7762
- */
7763
- listProviderPeers: method(
7764
- z.object({ addonId: z.string() }),
7765
- z.object({
7766
- peers: z.array(MeshPeerSchema).readonly()
7767
- })
7768
- )
7769
- }
7770
- };
7771
7571
  const MethodAccessSchema = z.enum(["view", "create", "delete"]);
7772
7572
  const AllowedProviderSchema = z.union([z.literal("*"), z.array(z.string())]);
7773
7573
  const AllowedDevicesSchema = z.record(z.string(), z.union([z.literal("*"), z.array(z.string())]));
@@ -8180,6 +7980,7 @@ const nodesCapability = {
8180
7980
  name: "nodes",
8181
7981
  scope: "system",
8182
7982
  mode: "singleton",
7983
+ nodeIdMode: "data",
8183
7984
  methods: {
8184
7985
  topology: method(
8185
7986
  z.void(),
@@ -8461,6 +8262,21 @@ const AddonAutoUpdateSchema = ChannelWithInheritSchema;
8461
8262
  const RestartAddonResultSchema = z.unknown();
8462
8263
  const InstallPackageResultSchema = z.unknown();
8463
8264
  const ReloadPackagesResultSchema = z.unknown();
8265
+ const UpdateFrameworkPackageResultSchema = z.object({
8266
+ packageName: z.string(),
8267
+ fromVersion: z.string(),
8268
+ toVersion: z.string(),
8269
+ /** Ms-epoch the server scheduled its self-restart. */
8270
+ restartingAt: z.number()
8271
+ });
8272
+ const FrameworkPackageStatusSchema = z.object({
8273
+ packageName: z.string(),
8274
+ currentVersion: z.string(),
8275
+ latestVersion: z.string().nullable(),
8276
+ hasUpdate: z.boolean(),
8277
+ /** Optional manifest description for the row tooltip. */
8278
+ description: z.string().optional()
8279
+ });
8464
8280
  const LogStreamEntrySchema = z.object({
8465
8281
  timestamp: z.string(),
8466
8282
  level: z.string(),
@@ -8477,6 +8293,7 @@ const addonsCapability = {
8477
8293
  name: "addons",
8478
8294
  scope: "system",
8479
8295
  mode: "singleton",
8296
+ nodeIdMode: "data",
8480
8297
  methods: {
8481
8298
  // ── Listing ──────────────────────────────────────────────────────
8482
8299
  list: method(z.void(), z.array(AddonListItemSchema).readonly()),
@@ -8523,13 +8340,29 @@ const addonsCapability = {
8523
8340
  z.object({ query: z.string().optional() }),
8524
8341
  z.array(SearchResultSchema)
8525
8342
  ),
8343
+ /**
8344
+ * Available package updates for a node. `nodeId` omitted (or
8345
+ * `'hub'`) checks the hub's own installed packages; an agent
8346
+ * `nodeId` checks that agent's installed roster against npm
8347
+ * (the hub does the npm lookups + diff — agents stay npm-free).
8348
+ */
8526
8349
  listUpdates: method(
8527
- z.void(),
8350
+ z.object({ nodeId: z.string().optional() }),
8528
8351
  z.array(PackageUpdateSchema).readonly(),
8529
8352
  { auth: "admin" }
8530
8353
  ),
8354
+ /**
8355
+ * Update one package on a node. `nodeId` omitted (or `'hub'`)
8356
+ * installs on the hub via npm; an agent `nodeId` makes the hub
8357
+ * pack the resolved version and push the tarball to that agent
8358
+ * (`$agent.deploy` + `$agent.reload`) — agents need no npm runtime.
8359
+ */
8531
8360
  updatePackage: method(
8532
- z.object({ name: z.string().min(1), version: z.string().optional() }),
8361
+ z.object({
8362
+ name: z.string().min(1),
8363
+ version: z.string().optional(),
8364
+ nodeId: z.string().optional()
8365
+ }),
8533
8366
  z.unknown(),
8534
8367
  { kind: "mutation", auth: "admin" }
8535
8368
  ),
@@ -8550,12 +8383,128 @@ const addonsCapability = {
8550
8383
  z.object({ rolledBackTo: z.string().nullable() }),
8551
8384
  { kind: "mutation", auth: "admin" }
8552
8385
  ),
8553
- forceRefresh: method(z.void(), z.unknown(), { kind: "mutation", auth: "admin" }),
8386
+ /** Re-check updates for a node, bypassing any cache. `nodeId`
8387
+ * omitted (or `'hub'`) refreshes the hub; an agent `nodeId`
8388
+ * re-checks that agent's roster. */
8389
+ forceRefresh: method(
8390
+ z.object({ nodeId: z.string().optional() }),
8391
+ z.unknown(),
8392
+ { kind: "mutation", auth: "admin" }
8393
+ ),
8554
8394
  restartServer: method(
8555
8395
  z.object({ confirm: z.literal(true) }),
8556
8396
  z.unknown(),
8557
8397
  { kind: "mutation", auth: "admin" }
8558
8398
  ),
8399
+ /**
8400
+ * Most-recent restart marker (kind / packageName / from→to versions
8401
+ * / requestedBy / requestedAt). Returns `null` when this process
8402
+ * didn't boot from a tracked restart, or when the
8403
+ * post-boot retention window (5 min) has elapsed.
8404
+ *
8405
+ * Drives the admin-UI reconnect overlay's success toast — the
8406
+ * `system.restart-completed` event itself is fired before the
8407
+ * client has time to re-subscribe, so the client queries this on
8408
+ * first reconnect instead.
8409
+ */
8410
+ getLastRestart: method(
8411
+ z.void(),
8412
+ z.object({
8413
+ kind: z.enum(["framework-update", "manual", "system"]),
8414
+ packageName: z.string().optional(),
8415
+ fromVersion: z.string().optional(),
8416
+ toVersion: z.string().optional(),
8417
+ requestedBy: z.string().optional(),
8418
+ requestedAt: z.number()
8419
+ }).nullable(),
8420
+ { auth: "admin" }
8421
+ ),
8422
+ /**
8423
+ * Snapshot of the framework packages installed under the hub's
8424
+ * `<appRoot>/node_modules/`. Each row carries the currently
8425
+ * installed version and (best-effort) the latest version
8426
+ * available on npm. Drives the admin-UI "System packages" panel.
8427
+ *
8428
+ * Spec: docs/superpowers/specs/2026-05-14-framework-live-update-design.md
8429
+ */
8430
+ listFrameworkPackages: method(
8431
+ z.void(),
8432
+ z.array(FrameworkPackageStatusSchema).readonly(),
8433
+ { auth: "admin" }
8434
+ ),
8435
+ /**
8436
+ * Cluster-wide capability-provider discovery. Returns the list of
8437
+ * `{ addonId, mode, isActive }` tuples for whatever addon(s)
8438
+ * currently provide the requested capability across the cluster.
8439
+ *
8440
+ * Why this lives on `addons` (and not on a `capabilities` cap of
8441
+ * its own): the hub's main-process `CapabilityRegistry` already
8442
+ * aggregates registrations from every forked group-runner and
8443
+ * remote agent via Moleculer event propagation — there's no
8444
+ * cross-process registry mirror to build, just an introspection
8445
+ * shim.
8446
+ *
8447
+ * Use this from addon code when you need to know whether another
8448
+ * addon has registered a specific cap (e.g. `tailscale-ingress`
8449
+ * checking `tailscale-client` is up before calling `tailscale
8450
+ * serve`). Don't reach for `ctx.capabilities.getCollectionEntries`
8451
+ * — that reads the LOCAL registry of the calling addon's group
8452
+ * runner and never sees providers in other processes. See
8453
+ * `CLAUDE.md` → Critical rules → ctx.api vs ctx.capabilities.
8454
+ */
8455
+ listCapabilityProviders: method(
8456
+ z.object({ capName: z.string().min(1) }),
8457
+ z.array(z.object({
8458
+ addonId: z.string(),
8459
+ mode: z.enum(["singleton", "collection"]),
8460
+ isActive: z.boolean()
8461
+ })).readonly()
8462
+ ),
8463
+ /**
8464
+ * Toggle a single collection-cap provider on/off. Generic write-side
8465
+ * counterpart of `listCapabilityProviders` — drives the per-provider
8466
+ * Enable/Disable affordance in admin pages (TURN servers, etc.)
8467
+ * without needing a bespoke orchestrator cap.
8468
+ *
8469
+ * Reaches the hub's `CapabilityRegistry` directly:
8470
+ * `enableCollectionProvider` / `disableCollectionProvider` flip the
8471
+ * registry-level `disabledProviders` set. `getCollectionEntries`
8472
+ * already filters disabled providers out, so a disabled provider
8473
+ * drops out of every collection aggregate immediately. Only valid
8474
+ * for `mode: 'collection'` caps — the registry no-ops + warns for
8475
+ * singletons.
8476
+ */
8477
+ setCapabilityProviderEnabled: method(
8478
+ z.object({
8479
+ capName: z.string().min(1),
8480
+ addonId: z.string().min(1),
8481
+ enabled: z.boolean()
8482
+ }),
8483
+ z.object({ success: z.literal(true) }),
8484
+ { kind: "mutation", auth: "admin" }
8485
+ ),
8486
+ /**
8487
+ * Live-update one of the framework packages marked
8488
+ * `camstack.system: true` (`@camstack/types|kernel|core|sdk|ui-library`).
8489
+ * Runs `npm install --prefix <appRoot> <name>@<version> --no-save`,
8490
+ * writes a `.restart-pending` marker, emits `system.restarting`
8491
+ * and schedules a graceful process exit. The supervisor (Docker /
8492
+ * Electron / systemd) brings the hub back up; on first boot after
8493
+ * the restart the marker fires `system.restart-completed`.
8494
+ *
8495
+ * `version` defaults to `'latest'`. The allow-list of valid
8496
+ * `packageName` values is enforced server-side.
8497
+ *
8498
+ * Spec: docs/superpowers/specs/2026-05-14-framework-live-update-design.md
8499
+ */
8500
+ updateFrameworkPackage: method(
8501
+ z.object({
8502
+ packageName: z.string().min(1),
8503
+ version: z.string().optional()
8504
+ }),
8505
+ UpdateFrameworkPackageResultSchema,
8506
+ { kind: "mutation", auth: "admin" }
8507
+ ),
8559
8508
  getVersions: method(
8560
8509
  z.object({ name: z.string() }),
8561
8510
  z.array(PackageVersionInfoSchema).readonly()
@@ -8636,7 +8585,7 @@ const PIPELINE_OWNER_CAPABILITY_NAMES = [
8636
8585
  "pipeline-runner"
8637
8586
  ];
8638
8587
  export {
8639
- nativeObjectDetectionCapability as $,
8588
+ networkQualityCapability as $,
8640
8589
  adminUiCapability as A,
8641
8590
  advancedNotifierCapability as B,
8642
8591
  alertsCapability as C,
@@ -8644,337 +8593,333 @@ export {
8644
8593
  audioAnalyzerCapability as E,
8645
8594
  audioCodecCapability as F,
8646
8595
  authProviderCapability as G,
8647
- authenticationCapability as H,
8648
- backupCapability as I,
8649
- cameraCredentialsCapability as J,
8650
- decoderCapability as K,
8651
- detectionPipelineCapability as L,
8652
- deviceExportCapability as M,
8653
- deviceManagerCapability as N,
8654
- deviceOpsCapability as O,
8655
- deviceStateCapability as P,
8656
- embeddingEncoderCapability as Q,
8657
- eventsCapability as R,
8658
- integrationsCapability as S,
8659
- intercomCapability as T,
8660
- localNetworkCapability as U,
8661
- logDestinationCapability as V,
8662
- meshNetworkCapability as W,
8663
- meshOrchestratorCapability as X,
8664
- metricsProviderCapability as Y,
8665
- motionDetectionCapability as Z,
8666
- mqttBrokerCapability as _,
8596
+ backupCapability as H,
8597
+ cameraCredentialsCapability as I,
8598
+ decoderCapability as J,
8599
+ detectionPipelineCapability as K,
8600
+ deviceExportCapability as L,
8601
+ deviceManagerCapability as M,
8602
+ deviceOpsCapability as N,
8603
+ deviceStateCapability as O,
8604
+ embeddingEncoderCapability as P,
8605
+ eventsCapability as Q,
8606
+ integrationsCapability as R,
8607
+ intercomCapability as S,
8608
+ localNetworkCapability as T,
8609
+ logDestinationCapability as U,
8610
+ meshNetworkCapability as V,
8611
+ metricsProviderCapability as W,
8612
+ motionDetectionCapability as X,
8613
+ mqttBrokerCapability as Y,
8614
+ nativeObjectDetectionCapability as Z,
8615
+ networkAccessCapability as _,
8667
8616
  zoneRulesCapability as a,
8668
- AudioEventSchema as a$,
8669
- networkAccessCapability as a0,
8670
- networkQualityCapability as a1,
8671
- nodesCapability as a2,
8672
- notificationOutputCapability as a3,
8673
- osdCapability as a4,
8674
- pipelineAnalyticsCapability as a5,
8675
- pipelineExecutorCapability as a6,
8676
- pipelineOrchestratorCapability as a7,
8677
- pipelineRunnerCapability as a8,
8678
- platformProbeCapability as a9,
8679
- AUDIO_MACRO_LABELS as aA,
8680
- AccessoriesStatusSchema as aB,
8681
- AccessoryKind as aC,
8682
- AddBrokerInputSchema as aD,
8683
- AddonAutoUpdateSchema as aE,
8684
- AddonListItemSchema as aF,
8685
- AddonPageDeclarationSchema as aG,
8686
- AddonPageInfoSchema as aH,
8687
- AgentLoadSummarySchema as aI,
8688
- AlertSchema as aJ,
8689
- AlertSeveritySchema as aK,
8690
- AlertSourceSchema as aL,
8691
- AlertStatusSchema as aM,
8692
- ApiKeyRecordSchema as aN,
8693
- ApiKeySummarySchema as aO,
8694
- ArchiveEntrySchema as aP,
8695
- ArchiveManifestSchema as aQ,
8696
- AudioAnalysisResultSchema as aR,
8697
- AudioAnalysisSettingsSchema as aS,
8698
- AudioChunkInputSchema as aT,
8699
- AudioClassSummarySchema as aU,
8700
- AudioClassificationLabelSchema as aV,
8701
- AudioClassificationResultSchema as aW,
8702
- AudioCodecInfoSchema as aX,
8703
- AudioDecodeSessionConfigSchema as aY,
8704
- AudioEncodeSessionConfigSchema as aZ,
8705
- AudioEncodedChunkSchema as a_,
8706
- ptzCapability as aa,
8707
- rebootCapability as ab,
8708
- recordingCapability as ac,
8709
- recordingEngineCapability as ad,
8710
- remoteAccessCapability as ae,
8711
- restreamerCapability as af,
8712
- settingsStoreCapability as ag,
8713
- smtpProviderCapability as ah,
8714
- snapshotCapability as ai,
8715
- snapshotProviderCapability as aj,
8716
- ssoBridgeCapability as ak,
8717
- storageCapability as al,
8718
- storageProviderCapability as am,
8719
- streamBrokerCapability as an,
8720
- streamingEngineCapability as ao,
8721
- systemCapability as ap,
8722
- toastCapability as aq,
8723
- turnOrchestratorCapability as ar,
8724
- turnProviderCapability as as,
8725
- userManagementCapability as at,
8726
- userPasskeysCapability as au,
8727
- webrtcCapability as av,
8728
- webrtcSessionCapability as aw,
8729
- ACCESSORY_LABEL as ax,
8730
- APPLE_SA_TO_MACRO as ay,
8731
- AUDIO_BACKEND_CHOICES as az,
8617
+ AudioMetricsSnapshotSchema as a$,
8618
+ nodesCapability as a0,
8619
+ notificationOutputCapability as a1,
8620
+ osdCapability as a2,
8621
+ pipelineAnalyticsCapability as a3,
8622
+ pipelineExecutorCapability as a4,
8623
+ pipelineOrchestratorCapability as a5,
8624
+ pipelineRunnerCapability as a6,
8625
+ platformProbeCapability as a7,
8626
+ ptzCapability as a8,
8627
+ rebootCapability as a9,
8628
+ AddonAutoUpdateSchema as aA,
8629
+ AddonListItemSchema as aB,
8630
+ AddonPageDeclarationSchema as aC,
8631
+ AddonPageInfoSchema as aD,
8632
+ AgentLoadSummarySchema as aE,
8633
+ AlertSchema as aF,
8634
+ AlertSeveritySchema as aG,
8635
+ AlertSourceSchema as aH,
8636
+ AlertStatusSchema as aI,
8637
+ ApiKeyRecordSchema as aJ,
8638
+ ApiKeySummarySchema as aK,
8639
+ ArchiveEntrySchema as aL,
8640
+ ArchiveManifestSchema as aM,
8641
+ AudioAnalysisResultSchema as aN,
8642
+ AudioAnalysisSettingsSchema as aO,
8643
+ AudioChunkInputSchema as aP,
8644
+ AudioClassSummarySchema as aQ,
8645
+ AudioClassificationLabelSchema as aR,
8646
+ AudioClassificationResultSchema as aS,
8647
+ AudioCodecInfoSchema as aT,
8648
+ AudioDecodeSessionConfigSchema as aU,
8649
+ AudioEncodeSessionConfigSchema as aV,
8650
+ AudioEncodedChunkSchema as aW,
8651
+ AudioEventSchema as aX,
8652
+ AudioLevelSchema as aY,
8653
+ AudioMetricsHistoryPointSchema as aZ,
8654
+ AudioMetricsHistorySchema as a_,
8655
+ recordingCapability as aa,
8656
+ recordingEngineCapability as ab,
8657
+ restreamerCapability as ac,
8658
+ settingsStoreCapability as ad,
8659
+ smtpProviderCapability as ae,
8660
+ snapshotCapability as af,
8661
+ snapshotProviderCapability as ag,
8662
+ ssoBridgeCapability as ah,
8663
+ storageCapability as ai,
8664
+ storageProviderCapability as aj,
8665
+ streamBrokerCapability as ak,
8666
+ streamingEngineCapability as al,
8667
+ systemCapability as am,
8668
+ toastCapability as an,
8669
+ turnProviderCapability as ao,
8670
+ userManagementCapability as ap,
8671
+ userPasskeysCapability as aq,
8672
+ webrtcCapability as ar,
8673
+ webrtcSessionCapability as as,
8674
+ ACCESSORY_LABEL as at,
8675
+ APPLE_SA_TO_MACRO as au,
8676
+ AUDIO_BACKEND_CHOICES as av,
8677
+ AUDIO_MACRO_LABELS as aw,
8678
+ AccessoriesStatusSchema as ax,
8679
+ AccessoryKind as ay,
8680
+ AddBrokerInputSchema as az,
8732
8681
  zoneAnalyticsCapability as b,
8733
- DeviceExportStatusSchema as b$,
8734
- AudioLevelSchema as b0,
8735
- AudioMetricsHistoryPointSchema as b1,
8736
- AudioMetricsHistorySchema as b2,
8737
- AudioMetricsSnapshotSchema as b3,
8738
- AudioPcmChunkSchema as b4,
8739
- AuthProviderInfoSchema as b5,
8740
- AuthResultSchema as b6,
8741
- AutoUpdateSettingsSchema as b7,
8742
- AvailableIntegrationTypeSchema as b8,
8743
- BATTERY_DEVICE_PROFILE as b9,
8744
- ClusterAddonNodeDeploymentSchema as bA,
8745
- ClusterAddonStatusEntrySchema as bB,
8746
- CollectionColumnSchema as bC,
8747
- CollectionIndexSchema as bD,
8748
- ConfigEntrySchema$1 as bE,
8749
- ConfigSectionWithValuesSchema as bF,
8750
- ConfigTabDeclarationSchema as bG,
8751
- CreateApiKeyInputSchema as bH,
8752
- CreateApiKeyResultSchema as bI,
8753
- CreateIntegrationInputSchema as bJ,
8754
- CreateScopedTokenInputSchema as bK,
8755
- CreateScopedTokenResultSchema as bL,
8756
- CreateUserInputSchema as bM,
8757
- CustomActionInputSchema as bN,
8758
- DEFAULT_AUDIO_ANALYZER_CONFIG as bO,
8759
- DEFAULT_DECODER_HWACCEL_CONFIG as bP,
8760
- DEVICE_PROFILES as bQ,
8761
- DEVICE_SETTINGS_CONTRIBUTION_METHODS as bR,
8762
- DEVICE_STATUS_METHOD as bS,
8763
- DecodedFrameSchema as bT,
8764
- DecoderAssignmentSchema as bU,
8765
- DecoderSessionConfigSchema as bV,
8766
- DecoderStatsSchema as bW,
8767
- DeleteIntegrationResultSchema as bX,
8768
- DetectorOutputSchema as bY,
8769
- DeviceDiscoveryStatusSchema as bZ,
8770
- ExposeInputSchema as b_,
8771
- BackupDestinationInfoSchema as ba,
8772
- BackupEntrySchema as bb,
8773
- BatteryStatusSchema as bc,
8774
- BoundingBoxSchema as bd,
8775
- BrightnessStatusSchema as be,
8776
- BrokerAudioClientSchema as bf,
8777
- BrokerClientsSchema as bg,
8778
- BrokerConnectionDetailsSchema as bh,
8779
- BrokerDecodedClientSchema as bi,
8780
- BrokerInfoSchema as bj,
8781
- BrokerRtspClientSchema as bk,
8782
- BrokerStatsSchema as bl,
8783
- BrokerStatusSchema$1 as bm,
8784
- CAM_PROFILE_ORDER as bn,
8785
- CamProfileSchema as bo,
8786
- CamStreamKindSchema as bp,
8787
- CamStreamResolutionSchema as bq,
8788
- CameraCredentialsSchema as br,
8789
- CameraCredentialsStatusSchema as bs,
8790
- CameraMetricsSchema as bt,
8791
- CameraMetricsWithDeviceIdSchema as bu,
8792
- CameraStreamSchema as bv,
8793
- CapScopeSchema as bw,
8794
- CapabilityBindingsSchema as bx,
8795
- ChargingStatus as by,
8796
- ClientNetworkStatsSchema as bz,
8682
+ DeviceRole as b$,
8683
+ AudioPcmChunkSchema as b0,
8684
+ AuthResultSchema as b1,
8685
+ AutoUpdateSettingsSchema as b2,
8686
+ AvailableIntegrationTypeSchema as b3,
8687
+ BATTERY_DEVICE_PROFILE as b4,
8688
+ BackupDestinationInfoSchema as b5,
8689
+ BackupEntrySchema as b6,
8690
+ BatteryStatusSchema as b7,
8691
+ BoundingBoxSchema as b8,
8692
+ BrightnessStatusSchema as b9,
8693
+ ConfigSectionWithValuesSchema as bA,
8694
+ ConfigTabDeclarationSchema as bB,
8695
+ CreateApiKeyInputSchema as bC,
8696
+ CreateApiKeyResultSchema as bD,
8697
+ CreateIntegrationInputSchema as bE,
8698
+ CreateScopedTokenInputSchema as bF,
8699
+ CreateScopedTokenResultSchema as bG,
8700
+ CreateUserInputSchema as bH,
8701
+ CustomActionInputSchema as bI,
8702
+ DEFAULT_AUDIO_ANALYZER_CONFIG as bJ,
8703
+ DEFAULT_DECODER_HWACCEL_CONFIG as bK,
8704
+ DEVICE_PROFILES as bL,
8705
+ DEVICE_SETTINGS_CONTRIBUTION_METHODS as bM,
8706
+ DEVICE_STATUS_METHOD as bN,
8707
+ DecodedFrameSchema as bO,
8708
+ DecoderAssignmentSchema as bP,
8709
+ DecoderSessionConfigSchema as bQ,
8710
+ DecoderStatsSchema as bR,
8711
+ DeleteIntegrationResultSchema as bS,
8712
+ DetectorOutputSchema as bT,
8713
+ DeviceDiscoveryStatusSchema as bU,
8714
+ ExposeInputSchema as bV,
8715
+ DeviceExportStatusSchema as bW,
8716
+ UnexposeInputSchema as bX,
8717
+ DeviceFeature as bY,
8718
+ DeviceInfoSchema as bZ,
8719
+ DeviceNetworkStatsSchema as b_,
8720
+ BrokerAudioClientSchema as ba,
8721
+ BrokerClientsSchema as bb,
8722
+ BrokerConnectionDetailsSchema as bc,
8723
+ BrokerDecodedClientSchema as bd,
8724
+ BrokerInfoSchema as be,
8725
+ BrokerRtspClientSchema as bf,
8726
+ BrokerStatsSchema as bg,
8727
+ BrokerStatusSchema$1 as bh,
8728
+ CAM_PROFILE_ORDER as bi,
8729
+ CamProfileSchema as bj,
8730
+ CamStreamKindSchema as bk,
8731
+ CamStreamResolutionSchema as bl,
8732
+ CameraCredentialsSchema as bm,
8733
+ CameraCredentialsStatusSchema as bn,
8734
+ CameraMetricsSchema as bo,
8735
+ CameraMetricsWithDeviceIdSchema as bp,
8736
+ CameraStreamSchema as bq,
8737
+ CapScopeSchema as br,
8738
+ CapabilityBindingsSchema as bs,
8739
+ ChargingStatus as bt,
8740
+ ClientNetworkStatsSchema as bu,
8741
+ ClusterAddonNodeDeploymentSchema as bv,
8742
+ ClusterAddonStatusEntrySchema as bw,
8743
+ CollectionColumnSchema as bx,
8744
+ CollectionIndexSchema as by,
8745
+ ConfigEntrySchema$1 as bz,
8797
8746
  motionCapability as c,
8798
- OsdOverlayPatchSchema as c$,
8799
- UnexposeInputSchema as c0,
8800
- DeviceFeature as c1,
8801
- DeviceInfoSchema as c2,
8802
- DeviceNetworkStatsSchema as c3,
8803
- DeviceRole as c4,
8804
- DeviceStatusSchema as c5,
8805
- DeviceType as c6,
8806
- DiscoveredChildDeviceSchema as c7,
8807
- DiscoveredChildStatusSchema as c8,
8808
- DiscoveredDeviceSchema as c9,
8809
- LogLevelSchema$1 as cA,
8810
- LogStreamEntrySchema as cB,
8811
- MODEL_FORMATS as cC,
8812
- MediaFileSchema as cD,
8813
- MethodAccessSchema as cE,
8814
- MotionAnalysisResultSchema as cF,
8815
- MotionEventSchema as cG,
8816
- MotionOnMotionChangedDataSchema as cH,
8817
- MotionRegionSchema as cI,
8818
- MotionSourceEnum as cJ,
8819
- MotionSourcesSchema as cK,
8820
- MotionStatusSchema as cL,
8821
- MotionTriggerRuntimeStateSchema as cM,
8822
- MotionTriggerStatusSchema as cN,
8823
- StatusSchema as cO,
8824
- NativeDetectionSchema as cP,
8825
- NativeObjectClassEnum as cQ,
8826
- NativeObjectDetectionStatusSchema as cR,
8827
- NetworkAccessStatusSchema as cS,
8828
- NetworkAddressSchema as cT,
8829
- NetworkEndpointSchema as cU,
8830
- NotificationHistoryEntrySchema as cV,
8831
- NotificationRuleSchema as cW,
8832
- NotificationSchema as cX,
8833
- ObjectEventSchema as cY,
8834
- OrchestratorMetricsSchema as cZ,
8835
- OsdOverlayKindEnum as c_,
8836
- DoorbellPressEventSchema as ca,
8837
- DoorbellStatusSchema as cb,
8838
- EmbeddingInfoSchema as cc,
8839
- EmbeddingResultSchema as cd,
8840
- EncodedPacketSchema as ce,
8841
- EnrichedWidgetMetadataSchema as cf,
8842
- EventItemSchema as cg,
8843
- EventKindSchema as ch,
8844
- ExposedDeviceSchema as ci,
8845
- ExposedResourceSchema as cj,
8846
- FeatureManifestSchema as ck,
8847
- FeatureProbeStatusSchema as cl,
8848
- FrameInputSchema as cm,
8849
- GetStreamWithCodecInputSchema as cn,
8850
- GlobalMetricsSchema as co,
8851
- HWACCEL_OPTIONS as cp,
8852
- HealthStatusSchema as cq,
8853
- HistoryPointSchema as cr,
8854
- HistoryResolutionEnum as cs,
8855
- InstalledPackageSchema as ct,
8856
- IntegrationLiteSchema as cu,
8857
- IntegrationWithStateSchema as cv,
8858
- IntercomAbilitySchema as cw,
8859
- IntercomStatusSchema as cx,
8860
- LocationStatSchema as cy,
8861
- LogEntrySchema as cz,
8747
+ OsdOverlaySchema as c$,
8748
+ DeviceStatusSchema as c0,
8749
+ DeviceType as c1,
8750
+ DiscoveredChildDeviceSchema as c2,
8751
+ DiscoveredChildStatusSchema as c3,
8752
+ DiscoveredDeviceSchema as c4,
8753
+ DoorbellPressEventSchema as c5,
8754
+ DoorbellStatusSchema as c6,
8755
+ EmbeddingInfoSchema as c7,
8756
+ EmbeddingResultSchema as c8,
8757
+ EncodedPacketSchema as c9,
8758
+ MediaFileSchema as cA,
8759
+ MeshPeerSchema as cB,
8760
+ MeshStatusSchema as cC,
8761
+ MethodAccessSchema as cD,
8762
+ MotionAnalysisResultSchema as cE,
8763
+ MotionEventSchema as cF,
8764
+ MotionOnMotionChangedDataSchema as cG,
8765
+ MotionRegionSchema as cH,
8766
+ MotionSourceEnum as cI,
8767
+ MotionSourcesSchema as cJ,
8768
+ MotionStatusSchema as cK,
8769
+ MotionTriggerRuntimeStateSchema as cL,
8770
+ MotionTriggerStatusSchema as cM,
8771
+ StatusSchema as cN,
8772
+ NativeDetectionSchema as cO,
8773
+ NativeObjectClassEnum as cP,
8774
+ NativeObjectDetectionStatusSchema as cQ,
8775
+ NetworkAccessStatusSchema as cR,
8776
+ NetworkAddressSchema as cS,
8777
+ NetworkEndpointSchema as cT,
8778
+ NotificationHistoryEntrySchema as cU,
8779
+ NotificationRuleSchema as cV,
8780
+ NotificationSchema as cW,
8781
+ ObjectEventSchema as cX,
8782
+ OrchestratorMetricsSchema as cY,
8783
+ OsdOverlayKindEnum as cZ,
8784
+ OsdOverlayPatchSchema as c_,
8785
+ EnrichedWidgetMetadataSchema as ca,
8786
+ EventItemSchema as cb,
8787
+ EventKindSchema as cc,
8788
+ ExportSetupFieldSchema as cd,
8789
+ ExportSetupSchema as ce,
8790
+ ExposedDeviceSchema as cf,
8791
+ ExposedResourceSchema as cg,
8792
+ FeatureManifestSchema as ch,
8793
+ FeatureProbeStatusSchema as ci,
8794
+ FrameInputSchema as cj,
8795
+ GetStreamWithCodecInputSchema as ck,
8796
+ GlobalMetricsSchema as cl,
8797
+ HWACCEL_OPTIONS as cm,
8798
+ HealthStatusSchema as cn,
8799
+ HistoryPointSchema as co,
8800
+ HistoryResolutionEnum as cp,
8801
+ InstalledPackageSchema as cq,
8802
+ IntegrationLiteSchema as cr,
8803
+ IntegrationWithStateSchema as cs,
8804
+ IntercomAbilitySchema as ct,
8805
+ IntercomStatusSchema as cu,
8806
+ LocationStatSchema as cv,
8807
+ LogEntrySchema as cw,
8808
+ LogLevelSchema$1 as cx,
8809
+ LogStreamEntrySchema as cy,
8810
+ MODEL_FORMATS as cz,
8862
8811
  doorbellCapability as d,
8863
- StorageLocationSchema as d$,
8864
- OsdOverlaySchema as d0,
8865
- OsdPositionEnum as d1,
8866
- OsdStatusSchema as d2,
8867
- PIPELINE_FLOW_CAPABILITY_NAMES as d3,
8868
- PIPELINE_OWNER_CAPABILITY_NAMES as d4,
8869
- PackageUpdateSchema as d5,
8870
- PackageVersionInfoSchema as d6,
8871
- PasskeySummarySchema as d7,
8872
- PcmSampleFormatSchema as d8,
8873
- PerScopeBreakdownSchema as d9,
8874
- RunnerCameraDeviceUIFields as dA,
8875
- RunnerLocalLoadSchema as dB,
8876
- RunnerLocalMetricsSchema as dC,
8877
- STORAGE_LOCATION_CARDINALITY as dD,
8878
- ScopedTokenSchema as dE,
8879
- ScopedTokenSummarySchema as dF,
8880
- SearchResultSchema as dG,
8881
- SegmentSchema as dH,
8882
- SendEmailInputSchema as dI,
8883
- SendEmailResultSchema as dJ,
8884
- SettingsPatchSchema as dK,
8885
- SettingsRecordSchema as dL,
8886
- SettingsSchemaWithValuesSchema as dM,
8887
- SettingsUpdateResultSchema as dN,
8888
- SmtpStatusSchema as dO,
8889
- SnapshotImageSchema as dP,
8890
- SpatialDetectionSchema as dQ,
8891
- SsoBridgeClaimsSchema as dR,
8892
- StartEmbeddedInputSchema as dS,
8893
- AbortUploadInputSchema as dT,
8894
- BeginDownloadInputSchema as dU,
8895
- BeginDownloadResultSchema as dV,
8896
- BeginUploadInputSchema as dW,
8897
- BeginUploadResultSchema as dX,
8898
- EndDownloadInputSchema as dY,
8899
- FinalizeUploadInputSchema as dZ,
8900
- StorageLocationRefSchema as d_,
8901
- PipelineAssignmentSchema as da,
8902
- PipelineDefaultStepSchema as db,
8903
- PipelineEngineChoiceSchema as dc,
8904
- PipelineRunResultBridge as dd,
8905
- PipelineStepInputSchema as de,
8906
- PlaceholderReasonSchema as df,
8907
- PolygonPointSchema as dg,
8908
- ProfileSlotSchema as dh,
8909
- ProfileSlotStatusSchema as di,
8910
- ProviderStatusSchema as dj,
8911
- PtzAutotrackRuntimeStateSchema as dk,
8912
- PtzAutotrackSettingsSchema as dl,
8913
- PtzAutotrackStatusSchema as dm,
8914
- PtzAutotrackTargetOptionSchema as dn,
8915
- PtzMoveCommandSchema as dp,
8916
- PtzPositionSchema as dq,
8917
- PtzPresetSchema as dr,
8918
- QueryFilterSchema as ds,
8919
- RegisteredStreamSchema as dt,
8920
- RemoteAccessEndpointSchema as du,
8921
- RemoteAccessProviderInfoSchema as dv,
8922
- ReportMotionInputSchema as dw,
8923
- RtpSourceSchema as dx,
8924
- RtspRestreamEntrySchema as dy,
8925
- RunnerCameraConfigSchema as dz,
8812
+ ReadChunkInputSchema as d$,
8813
+ OsdPositionEnum as d0,
8814
+ OsdStatusSchema as d1,
8815
+ PIPELINE_FLOW_CAPABILITY_NAMES as d2,
8816
+ PIPELINE_OWNER_CAPABILITY_NAMES as d3,
8817
+ PackageUpdateSchema as d4,
8818
+ PackageVersionInfoSchema as d5,
8819
+ PasskeySummarySchema as d6,
8820
+ PcmSampleFormatSchema as d7,
8821
+ PerScopeBreakdownSchema as d8,
8822
+ PipelineAssignmentSchema as d9,
8823
+ STORAGE_LOCATION_CARDINALITY as dA,
8824
+ ScopedTokenSchema as dB,
8825
+ ScopedTokenSummarySchema as dC,
8826
+ SearchResultSchema as dD,
8827
+ SegmentSchema as dE,
8828
+ SendEmailInputSchema as dF,
8829
+ SendEmailResultSchema as dG,
8830
+ SettingsPatchSchema as dH,
8831
+ SettingsRecordSchema as dI,
8832
+ SettingsSchemaWithValuesSchema as dJ,
8833
+ SettingsUpdateResultSchema as dK,
8834
+ SmtpStatusSchema as dL,
8835
+ SnapshotImageSchema as dM,
8836
+ SpatialDetectionSchema as dN,
8837
+ SsoBridgeClaimsSchema as dO,
8838
+ StartEmbeddedInputSchema as dP,
8839
+ AbortUploadInputSchema as dQ,
8840
+ BeginDownloadInputSchema as dR,
8841
+ BeginDownloadResultSchema as dS,
8842
+ BeginUploadInputSchema as dT,
8843
+ BeginUploadResultSchema as dU,
8844
+ EndDownloadInputSchema as dV,
8845
+ FinalizeUploadInputSchema as dW,
8846
+ StorageLocationRefSchema as dX,
8847
+ StorageLocationSchema as dY,
8848
+ StorageLocationTypeSchema as dZ,
8849
+ ProviderInfoSchema as d_,
8850
+ PipelineDefaultStepSchema as da,
8851
+ PipelineEngineChoiceSchema as db,
8852
+ PipelineRunResultBridge as dc,
8853
+ PipelineStepInputSchema as dd,
8854
+ PlaceholderReasonSchema as de,
8855
+ PolygonPointSchema as df,
8856
+ ProfileSlotSchema as dg,
8857
+ ProfileSlotStatusSchema as dh,
8858
+ ProviderStatusSchema as di,
8859
+ PtzAutotrackRuntimeStateSchema as dj,
8860
+ PtzAutotrackSettingsSchema as dk,
8861
+ PtzAutotrackStatusSchema as dl,
8862
+ PtzAutotrackTargetOptionSchema as dm,
8863
+ PtzMoveCommandSchema as dn,
8864
+ PtzPositionSchema as dp,
8865
+ PtzPresetSchema as dq,
8866
+ QueryFilterSchema as dr,
8867
+ RegisteredStreamSchema as ds,
8868
+ ReportMotionInputSchema as dt,
8869
+ RtpSourceSchema as du,
8870
+ RtspRestreamEntrySchema as dv,
8871
+ RunnerCameraConfigSchema as dw,
8872
+ RunnerCameraDeviceUIFields as dx,
8873
+ RunnerLocalLoadSchema as dy,
8874
+ RunnerLocalMetricsSchema as dz,
8926
8875
  errMsg as e,
8927
- StorageLocationTypeSchema as e0,
8928
- ProviderInfoSchema as e1,
8929
- ReadChunkInputSchema as e2,
8930
- TestLocationResultSchema as e3,
8931
- WriteChunkInputSchema as e4,
8932
- StreamFormatSchema as e5,
8933
- StreamInfoSchema as e6,
8934
- StreamNetworkStatsSchema as e7,
8935
- StreamSourceEntrySchema$1 as e8,
8936
- StreamSourceSchema as e9,
8937
- ZoneRuleModeEnum as eA,
8938
- ZoneRuleSchema as eB,
8939
- ZoneRuleStageEnum as eC,
8940
- ZoneRulesArraySchema as eD,
8941
- ZoneSchema as eE,
8942
- ZoneScopeBreakdownSchema as eF,
8943
- accessoryStableId as eG,
8944
- deviceMatchesProfile as eH,
8945
- event as eI,
8946
- expandCapMethods as eJ,
8947
- getAudioMacroClassIds as eK,
8948
- mapAudioLabelToMacro as eL,
8949
- method as eM,
8950
- resolveDeviceProfile as eN,
8951
- webrtcClientHintsSchema as eO,
8952
- SwitchStatusSchema as ea,
8953
- SystemMetricsSchema as eb,
8954
- TestConnectionResultSchema as ec,
8955
- ToastSchema as ed,
8956
- TokenScopeSchema as ee,
8957
- TopologyNodeSchema as ef,
8958
- TopologyProcessSchema as eg,
8959
- TopologyServiceSchema as eh,
8960
- TrackSchema as ei,
8961
- TrackStateSchema as ej,
8962
- TrackedDetectionSchema as ek,
8963
- TurnProviderInfoSchema as el,
8964
- TurnServerSchema as em,
8965
- UpdateIntegrationInputSchema as en,
8966
- UpdateUserInputSchema as eo,
8967
- UserRecordSchema as ep,
8968
- UserSummarySchema as eq,
8969
- WELL_KNOWN_TABS as er,
8970
- WELL_KNOWN_TAB_MAP as es,
8971
- WebrtcStreamChoiceSchema as et,
8972
- WebrtcStreamTargetSchema as eu,
8973
- WidgetHostEnum as ev,
8974
- WidgetMetadataSchema as ew,
8975
- WidgetSizeEnum as ex,
8976
- YAMNET_TO_MACRO as ey,
8977
- ZoneKindEnum as ez,
8876
+ TestLocationResultSchema as e0,
8877
+ WriteChunkInputSchema as e1,
8878
+ StreamFormatSchema as e2,
8879
+ StreamInfoSchema as e3,
8880
+ StreamNetworkStatsSchema as e4,
8881
+ StreamSourceEntrySchema$1 as e5,
8882
+ StreamSourceSchema as e6,
8883
+ SwitchStatusSchema as e7,
8884
+ SystemMetricsSchema as e8,
8885
+ TestConnectionResultSchema as e9,
8886
+ ZoneSchema as eA,
8887
+ ZoneScopeBreakdownSchema as eB,
8888
+ accessoryStableId as eC,
8889
+ deviceMatchesProfile as eD,
8890
+ event as eE,
8891
+ expandCapMethods as eF,
8892
+ getAudioMacroClassIds as eG,
8893
+ mapAudioLabelToMacro as eH,
8894
+ method as eI,
8895
+ resolveDeviceProfile as eJ,
8896
+ webrtcClientHintsSchema as eK,
8897
+ ToastSchema as ea,
8898
+ TokenScopeSchema as eb,
8899
+ TopologyNodeSchema as ec,
8900
+ TopologyProcessSchema as ed,
8901
+ TopologyServiceSchema as ee,
8902
+ TrackSchema as ef,
8903
+ TrackStateSchema as eg,
8904
+ TrackedDetectionSchema as eh,
8905
+ TurnServerSchema as ei,
8906
+ UpdateIntegrationInputSchema as ej,
8907
+ UpdateUserInputSchema as ek,
8908
+ UserRecordSchema as el,
8909
+ UserSummarySchema as em,
8910
+ WELL_KNOWN_TABS as en,
8911
+ WELL_KNOWN_TAB_MAP as eo,
8912
+ WebrtcStreamChoiceSchema as ep,
8913
+ WebrtcStreamTargetSchema as eq,
8914
+ WidgetHostEnum as er,
8915
+ WidgetMetadataSchema as es,
8916
+ WidgetSizeEnum as et,
8917
+ YAMNET_TO_MACRO as eu,
8918
+ ZoneKindEnum as ev,
8919
+ ZoneRuleModeEnum as ew,
8920
+ ZoneRuleSchema as ex,
8921
+ ZoneRuleStageEnum as ey,
8922
+ ZoneRulesArraySchema as ez,
8978
8923
  featureProbeCapability as f,
8979
8924
  deviceStatusCapability as g,
8980
8925
  hydrateSchema as h,
@@ -8997,4 +8942,4 @@ export {
8997
8942
  addonsCapability as y,
8998
8943
  zonesCapability as z
8999
8944
  };
9000
- //# sourceMappingURL=index-YnRVILXN.mjs.map
8945
+ //# sourceMappingURL=index-CWhQOnm9.mjs.map