@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.
- package/dist/capabilities/addons.cap.d.ts +176 -3
- package/dist/capabilities/addons.cap.d.ts.map +1 -1
- package/dist/capabilities/device-export.cap.d.ts +55 -1
- package/dist/capabilities/device-export.cap.d.ts.map +1 -1
- package/dist/capabilities/index.d.ts +4 -11
- package/dist/capabilities/index.d.ts.map +1 -1
- package/dist/capabilities/local-network.cap.d.ts +5 -5
- package/dist/capabilities/mesh-network.cap.d.ts +8 -2
- package/dist/capabilities/mesh-network.cap.d.ts.map +1 -1
- package/dist/capabilities/network-access.cap.d.ts +5 -4
- package/dist/capabilities/network-access.cap.d.ts.map +1 -1
- package/dist/capabilities/nodes.cap.d.ts +13 -0
- package/dist/capabilities/nodes.cap.d.ts.map +1 -1
- package/dist/enums/event-category.d.ts +10 -0
- package/dist/enums/event-category.d.ts.map +1 -1
- package/dist/generated/addon-api.d.ts +356 -516
- package/dist/generated/addon-api.d.ts.map +1 -1
- package/dist/generated/capability-router-map.d.ts +2 -14
- package/dist/generated/capability-router-map.d.ts.map +1 -1
- package/dist/generated/method-access-map.d.ts +1 -1
- package/dist/generated/method-access-map.d.ts.map +1 -1
- package/dist/generated/system-proxy.d.ts +3 -9
- package/dist/generated/system-proxy.d.ts.map +1 -1
- package/dist/{index-DRWlYskM.js → index-BkSgJYP7.js} +202 -257
- package/dist/index-BkSgJYP7.js.map +1 -0
- package/dist/{index-YnRVILXN.mjs → index-CWhQOnm9.mjs} +521 -576
- package/dist/index-CWhQOnm9.mjs.map +1 -0
- package/dist/index.js +24 -69
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +294 -339
- package/dist/index.mjs.map +1 -1
- package/dist/interfaces/addon.d.ts +21 -0
- package/dist/interfaces/addon.d.ts.map +1 -1
- package/dist/interfaces/capability.d.ts +1 -6
- package/dist/interfaces/capability.d.ts.map +1 -1
- package/dist/interfaces/event-bus.d.ts +21 -1
- package/dist/interfaces/event-bus.d.ts.map +1 -1
- package/dist/interfaces/server-network.d.ts +8 -33
- package/dist/interfaces/server-network.d.ts.map +1 -1
- package/dist/node.js +1 -1
- package/dist/node.mjs +1 -1
- package/package.json +6 -1
- package/dist/capabilities/authentication.cap.d.ts +0 -73
- package/dist/capabilities/authentication.cap.d.ts.map +0 -1
- package/dist/capabilities/mesh-orchestrator.cap.d.ts +0 -151
- package/dist/capabilities/mesh-orchestrator.cap.d.ts.map +0 -1
- package/dist/capabilities/remote-access.cap.d.ts +0 -91
- package/dist/capabilities/remote-access.cap.d.ts.map +0 -1
- package/dist/capabilities/turn-orchestrator.cap.d.ts +0 -64
- package/dist/capabilities/turn-orchestrator.cap.d.ts.map +0 -1
- package/dist/index-DRWlYskM.js.map +0 -1
- 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.
|
|
5737
|
-
*
|
|
5738
|
-
*
|
|
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
|
|
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
|
|
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.
|
|
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({
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
8648
|
-
|
|
8649
|
-
|
|
8650
|
-
|
|
8651
|
-
|
|
8652
|
-
|
|
8653
|
-
|
|
8654
|
-
|
|
8655
|
-
|
|
8656
|
-
|
|
8657
|
-
|
|
8658
|
-
|
|
8659
|
-
|
|
8660
|
-
|
|
8661
|
-
|
|
8662
|
-
|
|
8663
|
-
|
|
8664
|
-
|
|
8665
|
-
|
|
8666
|
-
|
|
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
|
-
|
|
8669
|
-
|
|
8670
|
-
|
|
8671
|
-
|
|
8672
|
-
|
|
8673
|
-
|
|
8674
|
-
|
|
8675
|
-
|
|
8676
|
-
|
|
8677
|
-
|
|
8678
|
-
|
|
8679
|
-
|
|
8680
|
-
|
|
8681
|
-
|
|
8682
|
-
|
|
8683
|
-
|
|
8684
|
-
|
|
8685
|
-
|
|
8686
|
-
|
|
8687
|
-
|
|
8688
|
-
|
|
8689
|
-
|
|
8690
|
-
|
|
8691
|
-
|
|
8692
|
-
|
|
8693
|
-
|
|
8694
|
-
|
|
8695
|
-
|
|
8696
|
-
|
|
8697
|
-
|
|
8698
|
-
|
|
8699
|
-
|
|
8700
|
-
|
|
8701
|
-
|
|
8702
|
-
|
|
8703
|
-
|
|
8704
|
-
|
|
8705
|
-
|
|
8706
|
-
|
|
8707
|
-
|
|
8708
|
-
|
|
8709
|
-
|
|
8710
|
-
|
|
8711
|
-
|
|
8712
|
-
|
|
8713
|
-
|
|
8714
|
-
|
|
8715
|
-
|
|
8716
|
-
|
|
8717
|
-
|
|
8718
|
-
|
|
8719
|
-
|
|
8720
|
-
|
|
8721
|
-
|
|
8722
|
-
|
|
8723
|
-
|
|
8724
|
-
|
|
8725
|
-
|
|
8726
|
-
|
|
8727
|
-
|
|
8728
|
-
|
|
8729
|
-
|
|
8730
|
-
|
|
8731
|
-
|
|
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
|
-
|
|
8734
|
-
|
|
8735
|
-
|
|
8736
|
-
|
|
8737
|
-
|
|
8738
|
-
|
|
8739
|
-
|
|
8740
|
-
|
|
8741
|
-
|
|
8742
|
-
|
|
8743
|
-
|
|
8744
|
-
|
|
8745
|
-
|
|
8746
|
-
|
|
8747
|
-
|
|
8748
|
-
|
|
8749
|
-
|
|
8750
|
-
|
|
8751
|
-
|
|
8752
|
-
|
|
8753
|
-
|
|
8754
|
-
|
|
8755
|
-
|
|
8756
|
-
|
|
8757
|
-
|
|
8758
|
-
|
|
8759
|
-
|
|
8760
|
-
|
|
8761
|
-
|
|
8762
|
-
|
|
8763
|
-
|
|
8764
|
-
|
|
8765
|
-
|
|
8766
|
-
|
|
8767
|
-
|
|
8768
|
-
|
|
8769
|
-
|
|
8770
|
-
|
|
8771
|
-
|
|
8772
|
-
|
|
8773
|
-
|
|
8774
|
-
|
|
8775
|
-
|
|
8776
|
-
|
|
8777
|
-
|
|
8778
|
-
|
|
8779
|
-
|
|
8780
|
-
|
|
8781
|
-
|
|
8782
|
-
|
|
8783
|
-
|
|
8784
|
-
|
|
8785
|
-
|
|
8786
|
-
|
|
8787
|
-
|
|
8788
|
-
|
|
8789
|
-
|
|
8790
|
-
|
|
8791
|
-
|
|
8792
|
-
|
|
8793
|
-
|
|
8794
|
-
|
|
8795
|
-
|
|
8796
|
-
|
|
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
|
-
|
|
8799
|
-
|
|
8800
|
-
|
|
8801
|
-
|
|
8802
|
-
|
|
8803
|
-
|
|
8804
|
-
|
|
8805
|
-
|
|
8806
|
-
|
|
8807
|
-
|
|
8808
|
-
|
|
8809
|
-
|
|
8810
|
-
|
|
8811
|
-
|
|
8812
|
-
|
|
8813
|
-
|
|
8814
|
-
|
|
8815
|
-
|
|
8816
|
-
|
|
8817
|
-
|
|
8818
|
-
|
|
8819
|
-
|
|
8820
|
-
|
|
8821
|
-
|
|
8822
|
-
|
|
8823
|
-
|
|
8824
|
-
|
|
8825
|
-
|
|
8826
|
-
|
|
8827
|
-
|
|
8828
|
-
|
|
8829
|
-
|
|
8830
|
-
|
|
8831
|
-
|
|
8832
|
-
|
|
8833
|
-
|
|
8834
|
-
|
|
8835
|
-
|
|
8836
|
-
|
|
8837
|
-
|
|
8838
|
-
|
|
8839
|
-
|
|
8840
|
-
|
|
8841
|
-
|
|
8842
|
-
|
|
8843
|
-
|
|
8844
|
-
|
|
8845
|
-
|
|
8846
|
-
|
|
8847
|
-
|
|
8848
|
-
|
|
8849
|
-
|
|
8850
|
-
|
|
8851
|
-
|
|
8852
|
-
|
|
8853
|
-
|
|
8854
|
-
|
|
8855
|
-
|
|
8856
|
-
|
|
8857
|
-
|
|
8858
|
-
|
|
8859
|
-
|
|
8860
|
-
|
|
8861
|
-
|
|
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
|
-
|
|
8864
|
-
|
|
8865
|
-
|
|
8866
|
-
|
|
8867
|
-
|
|
8868
|
-
|
|
8869
|
-
|
|
8870
|
-
|
|
8871
|
-
|
|
8872
|
-
|
|
8873
|
-
|
|
8874
|
-
|
|
8875
|
-
|
|
8876
|
-
|
|
8877
|
-
|
|
8878
|
-
|
|
8879
|
-
|
|
8880
|
-
|
|
8881
|
-
|
|
8882
|
-
|
|
8883
|
-
|
|
8884
|
-
|
|
8885
|
-
|
|
8886
|
-
|
|
8887
|
-
|
|
8888
|
-
|
|
8889
|
-
|
|
8890
|
-
|
|
8891
|
-
|
|
8892
|
-
|
|
8893
|
-
|
|
8894
|
-
|
|
8895
|
-
|
|
8896
|
-
|
|
8897
|
-
|
|
8898
|
-
|
|
8899
|
-
|
|
8900
|
-
|
|
8901
|
-
|
|
8902
|
-
|
|
8903
|
-
|
|
8904
|
-
|
|
8905
|
-
|
|
8906
|
-
|
|
8907
|
-
|
|
8908
|
-
|
|
8909
|
-
|
|
8910
|
-
|
|
8911
|
-
|
|
8912
|
-
|
|
8913
|
-
|
|
8914
|
-
|
|
8915
|
-
|
|
8916
|
-
|
|
8917
|
-
|
|
8918
|
-
|
|
8919
|
-
|
|
8920
|
-
|
|
8921
|
-
|
|
8922
|
-
|
|
8923
|
-
|
|
8924
|
-
|
|
8925
|
-
|
|
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
|
-
|
|
8928
|
-
|
|
8929
|
-
|
|
8930
|
-
|
|
8931
|
-
|
|
8932
|
-
|
|
8933
|
-
|
|
8934
|
-
|
|
8935
|
-
|
|
8936
|
-
|
|
8937
|
-
|
|
8938
|
-
|
|
8939
|
-
|
|
8940
|
-
|
|
8941
|
-
|
|
8942
|
-
|
|
8943
|
-
|
|
8944
|
-
|
|
8945
|
-
|
|
8946
|
-
|
|
8947
|
-
|
|
8948
|
-
|
|
8949
|
-
|
|
8950
|
-
|
|
8951
|
-
|
|
8952
|
-
|
|
8953
|
-
|
|
8954
|
-
|
|
8955
|
-
|
|
8956
|
-
|
|
8957
|
-
|
|
8958
|
-
|
|
8959
|
-
|
|
8960
|
-
|
|
8961
|
-
|
|
8962
|
-
|
|
8963
|
-
|
|
8964
|
-
|
|
8965
|
-
|
|
8966
|
-
|
|
8967
|
-
|
|
8968
|
-
|
|
8969
|
-
|
|
8970
|
-
|
|
8971
|
-
|
|
8972
|
-
|
|
8973
|
-
|
|
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-
|
|
8945
|
+
//# sourceMappingURL=index-CWhQOnm9.mjs.map
|