@camstack/types 1.2.97 → 1.2.99

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 (33) hide show
  1. package/dist/capabilities/alerts.cap.d.ts +5 -5
  2. package/dist/capabilities/custom-model-registry.cap.d.ts +18 -0
  3. package/dist/capabilities/decoder.cap.d.ts +12 -12
  4. package/dist/capabilities/index.d.ts +1 -1
  5. package/dist/capabilities/local-network.cap.d.ts +42 -11
  6. package/dist/capabilities/model-convert.cap.d.ts +27 -0
  7. package/dist/capabilities/model-distributor.cap.d.ts +18 -0
  8. package/dist/capabilities/motion-detection.cap.d.ts +4 -4
  9. package/dist/capabilities/native-object-detection.cap.d.ts +15 -15
  10. package/dist/capabilities/notification-rules.cap.d.ts +2 -2
  11. package/dist/capabilities/osd-manager.cap.d.ts +1 -1
  12. package/dist/capabilities/pipeline-analytics.cap.d.ts +10 -10
  13. package/dist/capabilities/pipeline-executor.cap.d.ts +16 -12
  14. package/dist/capabilities/pipeline-runner.cap.d.ts +182 -5
  15. package/dist/capabilities/schemas/detection-shared.d.ts +4 -4
  16. package/dist/capabilities/schemas/streaming-shared.d.ts +6 -6
  17. package/dist/capabilities/stream-broker.cap.d.ts +3 -3
  18. package/dist/capabilities/terminal-session.cap.d.ts +10 -0
  19. package/dist/capabilities/zone-rules.cap.d.ts +3 -3
  20. package/dist/generated/addon-api.d.ts +14 -0
  21. package/dist/generated/method-access-map.d.ts +1 -1
  22. package/dist/generated/system-proxy.d.ts +1 -1
  23. package/dist/index.d.ts +1 -0
  24. package/dist/index.js +157 -23
  25. package/dist/index.mjs +154 -24
  26. package/dist/interfaces/pipeline-executor-capability.d.ts +3 -0
  27. package/dist/interfaces/pipeline-runner-capability.d.ts +31 -0
  28. package/dist/interfaces/stream-broker.d.ts +5 -2
  29. package/dist/types/frame-view.d.ts +52 -0
  30. package/dist/types/io.d.ts +3 -0
  31. package/dist/types/labels.d.ts +11 -0
  32. package/dist/types/models.d.ts +27 -0
  33. package/package.json +1 -1
@@ -3592,6 +3592,20 @@ export type AppRouter = TrpcCoreRouter<{
3592
3592
  output: z.infer<typeof localNetworkCapability.methods.setNotificationEndpoint.output>;
3593
3593
  meta: object;
3594
3594
  }>;
3595
+ getViewerEndpoints: TRPCQueryProcedure<{
3596
+ input: {
3597
+ nodeId?: string | undefined;
3598
+ } | undefined;
3599
+ output: z.infer<typeof localNetworkCapability.methods.getViewerEndpoints.output>;
3600
+ meta: object;
3601
+ }>;
3602
+ setViewerEndpoints: TRPCMutationProcedure<{
3603
+ input: {
3604
+ [x: string]: unknown;
3605
+ } & z.input<typeof localNetworkCapability.methods.setViewerEndpoints.input>;
3606
+ output: z.infer<typeof localNetworkCapability.methods.setViewerEndpoints.output>;
3607
+ meta: object;
3608
+ }>;
3595
3609
  getAllowedAddresses: TRPCQueryProcedure<{
3596
3610
  input: {
3597
3611
  nodeId?: string | undefined;
@@ -6,7 +6,7 @@
6
6
  * scope+access check inside `protectedProcedure` (see
7
7
  * `server/backend/src/api/trpc/trpc.middleware.ts`).
8
8
  *
9
- * Coverage: 949 method paths across 123 capabilities.
9
+ * Coverage: 951 method paths across 123 capabilities.
10
10
  */
11
11
  import type { CapabilityMethodAccess } from '../capabilities/capability-definition.js';
12
12
  export interface MethodAccessRecord {
@@ -74,7 +74,7 @@ export interface SystemProxy {
74
74
  readonly faceGallery: Pick<InferProvider<typeof faceGalleryCapability>, 'listIdentities' | 'createIdentity' | 'renameIdentity' | 'deleteIdentity' | 'listIdentitySamples' | 'removeSample' | 'getFaceMedia' | 'assignFace' | 'unassignFace' | 'deleteFace' | 'assignFaces' | 'unassignFaces' | 'suggestFaceClusters'>;
75
75
  readonly integrations: Pick<InferProvider<typeof integrationsCapability>, 'list' | 'get' | 'getByAddonId' | 'create' | 'update' | 'delete' | 'getSettings' | 'setSettings' | 'getAvailableTypes' | 'testConnection'>;
76
76
  readonly llm: Pick<InferProvider<typeof llmCapability>, 'generate' | 'generateVision' | 'cancel' | 'listProfileKinds' | 'listProfiles' | 'upsertProfile' | 'deleteProfile' | 'testProfile' | 'listModels' | 'getDefaults' | 'setDefault' | 'getUsage' | 'listModelCatalog' | 'listRuntimeNodes' | 'listNodeModels' | 'resolveModelRef' | 'installModel' | 'deleteModel' | 'getRuntimeStatus' | 'startRuntime' | 'stopRuntime'>;
77
- readonly localNetwork: Pick<InferProvider<typeof localNetworkCapability>, 'list' | 'getPreferred' | 'getConnectionEndpoints' | 'getNotificationEndpoint' | 'setNotificationEndpoint' | 'getAllowedAddresses' | 'setAllowedAddresses' | 'resetAllowlistToBestMatch' | 'getTlsStatus' | 'regenerateCertificate' | 'uploadCertificate' | 'downloadCa' | 'revertToGeneratedCertificate'>;
77
+ readonly localNetwork: Pick<InferProvider<typeof localNetworkCapability>, 'list' | 'getPreferred' | 'getConnectionEndpoints' | 'getNotificationEndpoint' | 'setNotificationEndpoint' | 'getViewerEndpoints' | 'setViewerEndpoints' | 'getAllowedAddresses' | 'setAllowedAddresses' | 'resetAllowlistToBestMatch' | 'getTlsStatus' | 'regenerateCertificate' | 'uploadCertificate' | 'downloadCa' | 'revertToGeneratedCertificate'>;
78
78
  readonly meshNetwork: Pick<InferProvider<typeof meshNetworkCapability>, 'getStatus' | 'join' | 'startLogin' | 'leave' | 'logout' | 'listPeers' | 'testConnection'>;
79
79
  readonly metricsProvider: Pick<InferProvider<typeof metricsProviderCapability>, 'collectSnapshot' | 'getCached' | 'getCurrent' | 'getDiskSpace' | 'getGpuInfo' | 'getCpuTemperature' | 'getProcessStats' | 'listAddonInstances' | 'getAddonStats' | 'listNodeProcesses' | 'killProcess' | 'dumpHeapSnapshot'>;
80
80
  readonly mqttBroker: Pick<InferProvider<typeof mqttBrokerCapability>, 'listBrokers' | 'getBrokerConfig' | 'addBroker' | 'removeBroker' | 'testConnection' | 'startEmbeddedBroker' | 'stopEmbeddedBroker' | 'getStatus'>;
package/dist/index.d.ts CHANGED
@@ -104,6 +104,7 @@ export * from './types/detection.js';
104
104
  export type { EngineOutput } from './types/engine-output.js';
105
105
  export * from './types/entities.js';
106
106
  export * from './types/events.js';
107
+ export type * from './types/frame-view.js';
107
108
  export * from './types/io.js';
108
109
  export * from './types/labels.js';
109
110
  export * from './types/live-state.js';
package/dist/index.js CHANGED
@@ -2359,6 +2359,17 @@ var LabelDefinitionSchema = zod.z.object({
2359
2359
  description: zod.z.string().optional(),
2360
2360
  icon: zod.z.string().optional()
2361
2361
  });
2362
+ /** Detection-macro targets a catalog `classMap` may resolve to. */
2363
+ var CLASS_MAP_MACRO_TARGETS = [
2364
+ "person",
2365
+ "vehicle",
2366
+ "animal",
2367
+ "package"
2368
+ ];
2369
+ var ClassMapDefinitionSchema = zod.z.object({
2370
+ mapping: zod.z.record(zod.z.string(), zod.z.enum(CLASS_MAP_MACRO_TARGETS)),
2371
+ preserveOriginal: zod.z.boolean()
2372
+ });
2362
2373
  //#endregion
2363
2374
  //#region src/types/model-variant-groups.ts
2364
2375
  var FORMAT_KEYS = [
@@ -2689,7 +2700,13 @@ var ModelCatalogEntrySchema = zod.z.object({
2689
2700
  * `id` stays the source of truth for resolution/download/persistence; grouping
2690
2701
  * is a presentation overlay resolved back to an `id`.
2691
2702
  */
2692
- group: ModelVariantGroupSchema.optional()
2703
+ group: ModelVariantGroupSchema.optional(),
2704
+ /**
2705
+ * Per-MODEL class map override. Absent ⇒ the step's `StepDefinition.classMap`
2706
+ * applies (Frigate / COCO public catalog). Set on a custom model whose raw
2707
+ * labels already ARE the CamStack macros (Scrypted identity map).
2708
+ */
2709
+ classMap: ClassMapDefinitionSchema.optional()
2693
2710
  });
2694
2711
  var ConvertTargetSchema = zod.z.discriminatedUnion("format", [zod.z.object({
2695
2712
  format: zod.z.literal("openvino"),
@@ -2718,7 +2735,8 @@ var ModelConvertMetadataSchema = zod.z.object({
2718
2735
  "ocr",
2719
2736
  "segmentation"
2720
2737
  ]),
2721
- faceAlignment: zod.z.boolean().optional()
2738
+ faceAlignment: zod.z.boolean().optional(),
2739
+ classMap: ClassMapDefinitionSchema.optional()
2722
2740
  });
2723
2741
  var ConvertArtifactSchema = zod.z.object({
2724
2742
  format: zod.z.enum(MODEL_FORMATS),
@@ -16276,6 +16294,33 @@ var NativeCropRefSchema = zod.z.object({
16276
16294
  h: zod.z.number()
16277
16295
  })
16278
16296
  });
16297
+ zod.z.object({
16298
+ crop: zod.z.object({
16299
+ left: zod.z.number(),
16300
+ top: zod.z.number(),
16301
+ width: zod.z.number().positive(),
16302
+ height: zod.z.number().positive()
16303
+ }).optional(),
16304
+ content: zod.z.object({
16305
+ width: zod.z.number().int().positive(),
16306
+ height: zod.z.number().int().positive()
16307
+ }),
16308
+ fit: zod.z.enum(["stretch", "contain"]),
16309
+ format: zod.z.enum([
16310
+ "rgb",
16311
+ "gray",
16312
+ "jpeg"
16313
+ ])
16314
+ });
16315
+ var FrameRefSchema = zod.z.object({
16316
+ registryId: zod.z.string().min(1),
16317
+ id: zod.z.string().min(1),
16318
+ width: zod.z.number().int().positive(),
16319
+ height: zod.z.number().int().positive(),
16320
+ format: zod.z.enum(["rgb", "gray"]),
16321
+ timestamp: zod.z.number(),
16322
+ capturedAt: zod.z.number().optional()
16323
+ });
16279
16324
  var ModelFormatSchema$1 = zod.z.enum([
16280
16325
  "onnx",
16281
16326
  "coreml",
@@ -16597,7 +16642,7 @@ var pipelineExecutorCapability = {
16597
16642
  * legacy call shape used by existing benchmark code; once all
16598
16643
  * callers pass it explicitly we make it required.
16599
16644
  *
16600
- * Exactly one of `frame`, `frameHandle`, `imageBase64`,
16645
+ * Exactly one of `frame`, `frameRef`, `frameHandle`, `imageBase64`,
16601
16646
  * `referenceImage` must be provided:
16602
16647
  * - `frame`: runtime dispatch path (runner → decoded broker frame).
16603
16648
  * Carries the raw buffer, dimensions, and format; the executor
@@ -16619,6 +16664,12 @@ var pipelineExecutorCapability = {
16619
16664
  steps: zod.z.array(PipelineStepInputSchema).min(1),
16620
16665
  frame: FrameInputSchema.optional(),
16621
16666
  /**
16667
+ * Process-local lazy frame. Valid only when caller and provider resolve
16668
+ * in the same execution-group process; split/cross-node callers use
16669
+ * `frame`/`image` inline compatibility instead.
16670
+ */
16671
+ frameRef: FrameRefSchema.optional(),
16672
+ /**
16622
16673
  * CB5 shm passthrough — a `FrameHandle` naming the same ring slot
16623
16674
  * the decoded pixels live in. One more member of the one-of
16624
16675
  * frame/frameHandle/image/imageBase64/referenceImage group.
@@ -16975,7 +17026,10 @@ var NativeCropResultSchema = zod.z.object({
16975
17026
  * Which source served this crop, so a quality-sensitive consumer (the native
16976
17027
  * `keyFrame`) can reject a degraded fallback:
16977
17028
  * - `native` — cut from the decode worker's retained NATIVE surface (the
16978
- * quality path).
17029
+ * quality path). A subject-tile serve is also native-resolution and stays
17030
+ * `native` here: the public enum cannot name `tile` without a breaking cap
17031
+ * change. Runner telemetry distinguishes lease vs tile via `source` on the
17032
+ * internal crop result (`nativeHits` vs `tileHits`).
16979
17033
  * - `ram-fullframe` — the native surface MISSED but the request was full-frame,
16980
17034
  * so the ≤640 RAM `RetainedFrameStore` served it (honest lower-res; legit for
16981
17035
  * the blank-frame guard / 640-snapshot resolve, NOT for the clean keyFrame).
@@ -17624,12 +17678,41 @@ var RunnerLocalLoadSchema = zod.z.object({
17624
17678
  * legacy `OrchestratorMetricsSchema` shape so existing dashboards keep
17625
17679
  * working unchanged when they switch to reading from the runner cap.
17626
17680
  */
17681
+ var FrameLazyCountersSchema = zod.z.object({
17682
+ framesDecoded: zod.z.number(),
17683
+ framesAdmitted: zod.z.number(),
17684
+ framesDroppedPixelFree: zod.z.number(),
17685
+ viewsMaterialized: zod.z.number(),
17686
+ viewsSkipped: zod.z.number(),
17687
+ workerToRunnerBytes: zod.z.number(),
17688
+ runnerToPoolRawBytes: zod.z.number(),
17689
+ runnerToPoolJpegBytes: zod.z.number(),
17690
+ onDemandFullFrameRequests: zod.z.number(),
17691
+ onDemandCropRequests: zod.z.number(),
17692
+ nativeHits: zod.z.number(),
17693
+ nativeMisses: zod.z.number(),
17694
+ tileHits: zod.z.number(),
17695
+ tileMisses: zod.z.number(),
17696
+ fallbackHits: zod.z.number(),
17697
+ fallbackMisses: zod.z.number(),
17698
+ retainedWritesAvoided: zod.z.number(),
17699
+ residentRefs: zod.z.number(),
17700
+ residentBytes: zod.z.number(),
17701
+ releases: zod.z.number(),
17702
+ evictions: zod.z.number(),
17703
+ staleMisses: zod.z.number()
17704
+ });
17705
+ var FrameLazyMetricsSchema = zod.z.object({
17706
+ node: FrameLazyCountersSchema,
17707
+ cameras: zod.z.array(FrameLazyCountersSchema.extend({ deviceId: zod.z.number() }))
17708
+ });
17627
17709
  var RunnerLocalMetricsSchema = zod.z.object({
17628
17710
  nodeId: zod.z.string(),
17629
17711
  activeCameras: zod.z.number(),
17630
17712
  throttledCameras: zod.z.number(),
17631
17713
  avgInferenceTimeMs: zod.z.number(),
17632
- queueDepth: zod.z.number()
17714
+ queueDepth: zod.z.number(),
17715
+ frameLazy: FrameLazyMetricsSchema.optional()
17633
17716
  });
17634
17717
  /**
17635
17718
  * Pipeline Runner capability — runtime detection workhorse.
@@ -19779,6 +19862,9 @@ var storageProviderCapability = {
19779
19862
  };
19780
19863
  //#endregion
19781
19864
  //#region src/capabilities/terminal-session.cap.ts
19865
+ /** Profile-exported FormBuilder schema. Shape is ConfigUISchema at the UI. */
19866
+ var ProfileSettingsSchemaBridge = zod.z.unknown().nullable();
19867
+ var ProfileSettingsBagSchema = zod.z.record(zod.z.string(), zod.z.unknown());
19782
19868
  /**
19783
19869
  * A live terminal session hosted by the provider addon. Output and input do
19784
19870
  * NOT flow through the capability — they use the addon data plane
@@ -19813,7 +19899,9 @@ var TerminalProfileInfoSchema = zod.z.object({
19813
19899
  executable: zod.z.string().optional(),
19814
19900
  args: zod.z.array(zod.z.string()).readonly().optional(),
19815
19901
  cwd: zod.z.string().optional(),
19816
- environment: zod.z.array(zod.z.string()).readonly().optional()
19902
+ environment: zod.z.array(zod.z.string()).readonly().optional(),
19903
+ /** ConfigUISchema for instance knobs, or null when the profile has none. */
19904
+ settingsSchema: ProfileSettingsSchemaBridge.optional()
19817
19905
  });
19818
19906
  /**
19819
19907
  * A durable operator-created Terminal instance. Profiles are templates; only
@@ -19830,7 +19918,8 @@ var TerminalInstanceInfoSchema = zod.z.object({
19830
19918
  executable: zod.z.string(),
19831
19919
  args: zod.z.array(zod.z.string()).readonly(),
19832
19920
  cwd: zod.z.string(),
19833
- environment: zod.z.array(zod.z.string()).readonly()
19921
+ environment: zod.z.array(zod.z.string()).readonly(),
19922
+ profileSettings: ProfileSettingsBagSchema
19834
19923
  });
19835
19924
  var TerminalLegacyCameraSchema = zod.z.object({
19836
19925
  stableId: zod.z.string(),
@@ -19880,7 +19969,8 @@ var terminalSessionCapability = {
19880
19969
  executable: zod.z.string().max(1024).optional(),
19881
19970
  args: zod.z.array(zod.z.string().max(2048)).max(64).optional(),
19882
19971
  cwd: zod.z.string().max(1024).optional(),
19883
- environment: zod.z.array(zod.z.string().max(4096)).max(64).optional()
19972
+ environment: zod.z.array(zod.z.string().max(4096)).max(64).optional(),
19973
+ profileSettings: ProfileSettingsBagSchema.optional()
19884
19974
  }), TerminalInstanceInfoSchema, {
19885
19975
  kind: "mutation",
19886
19976
  auth: "admin"
@@ -19891,7 +19981,8 @@ var terminalSessionCapability = {
19891
19981
  executable: zod.z.string().max(1024).optional(),
19892
19982
  args: zod.z.array(zod.z.string().max(2048)).max(64).optional(),
19893
19983
  cwd: zod.z.string().max(1024).optional(),
19894
- environment: zod.z.array(zod.z.string().max(4096)).max(64).optional()
19984
+ environment: zod.z.array(zod.z.string().max(4096)).max(64).optional(),
19985
+ profileSettings: ProfileSettingsBagSchema.optional()
19895
19986
  }), TerminalInstanceInfoSchema, {
19896
19987
  kind: "mutation",
19897
19988
  auth: "admin"
@@ -24530,10 +24621,10 @@ var lawnMowerControlCapability = {
24530
24621
  *
24531
24622
  * • The SDK (mobile / web client) consumes `getConnectionEndpoints()`
24532
24623
  * to receive an ordered list of candidate base URLs it should race
24533
- * on connect — LAN IPv4 first (lowest latency when on same network),
24534
- * then public hostname (if a tunnel is up), then IPv6. The SDK can
24535
- * race them with short timeouts and stick with the winner for the
24536
- * session.
24624
+ * on connect — LAN IPv4 and stable LAN IPv6 first (lowest latency
24625
+ * when on the same network), then public hostname (if a tunnel is
24626
+ * up). The SDK can race them with short timeouts and stick with the
24627
+ * winner for the session.
24537
24628
  *
24538
24629
  * Why hub-only: agents are not directly addressable by the operator's
24539
24630
  * clients — they reverse-connect to the hub. Exposing their interfaces
@@ -24688,6 +24779,17 @@ var NotificationEndpointSchema = zod.z.object({
24688
24779
  /** What the ranking currently resolves to (null when nothing is reachable). */
24689
24780
  resolved: zod.z.string().nullable()
24690
24781
  });
24782
+ /**
24783
+ * The URLs the SDK / viewer should race for API access. `baseUrls` empty =
24784
+ * AUTO (every LAN IPv4 + the public tunnel). `resolved` is what that choice
24785
+ * currently expands to, so the UI can show the effective set either way.
24786
+ */
24787
+ var ViewerEndpointsSchema = zod.z.object({
24788
+ /** The operator's explicit race set, or empty for AUTO. */
24789
+ baseUrls: zod.z.array(zod.z.string()).readonly(),
24790
+ /** What the ranking currently resolves to (may be empty if nothing is up). */
24791
+ resolved: zod.z.array(zod.z.string()).readonly()
24792
+ });
24691
24793
  var AllowedAddressesSchema = zod.z.object({
24692
24794
  /**
24693
24795
  * Allowlist of interface addresses operators have explicitly opted
@@ -24729,13 +24831,13 @@ var localNetworkCapability = {
24729
24831
  */
24730
24832
  getPreferred: require_sleep.method(zod.z.void(), PreferredSchema),
24731
24833
  /**
24732
- * Ordered candidate base URLs the SDK should try on connect.
24733
- * Includes LAN IPs (one per non-internal interface), the public
24734
- * tunnel hostname (when active), and loopback as a last-resort
24735
- * fallback. Filterable by `includeLoopback` / `ipv4Only`.
24736
- * Honours `getAllowedAddresses()` when set addresses outside
24737
- * the allowlist are dropped (the public tunnel + loopback are
24738
- * always included as escape hatches).
24834
+ * Ordered candidate base URLs (the palette the Network tab shows).
24835
+ * Includes LAN IPv4, stable LAN IPv6, the public tunnel, and mesh when
24836
+ * joined. Loopback is off by default. The SDK races the subset from
24837
+ * `getViewerEndpoints`, not this full list — IPv6 stays here because
24838
+ * WebRTC ICE gathers dual-stack regardless of the HTTP race. Honours
24839
+ * `getAllowedAddresses()` when set addresses outside the allowlist
24840
+ * are dropped (the public tunnel is still included as an escape hatch).
24739
24841
  *
24740
24842
  * **The port is the hub's, not the caller's** (D62 — a function's fact
24741
24843
  * belongs to whoever already owns it). This method used to take a `port`
@@ -24766,10 +24868,11 @@ var localNetworkCapability = {
24766
24868
  */
24767
24869
  port: zod.z.number().int().min(1).max(65535).optional(),
24768
24870
  /** Include `http(s)://127.0.0.1:<port>` as the lowest-priority
24769
- * candidate. Default `true`. */
24871
+ * candidate. Default `false` — loopback is not a client route. */
24770
24872
  includeLoopback: zod.z.boolean().optional(),
24771
- /** Skip IPv6 entries. Some legacy clients can't parse them.
24772
- * Default `false`. */
24873
+ /** Skip IPv6 entries. Default `false` the palette includes stable
24874
+ * LAN IPv6 (ICE/WebRTC uses dual-stack regardless). Pass `true` to
24875
+ * hide them. The viewer HTTP/WS race is `getViewerEndpoints`. */
24773
24876
  ipv4Only: zod.z.boolean().optional(),
24774
24877
  /** Scheme to emit for LAN/loopback URLs. Default `'http'`.
24775
24878
  * Pass `'https'` when the caller is itself loaded over HTTPS
@@ -24798,6 +24901,19 @@ var localNetworkCapability = {
24798
24901
  */
24799
24902
  setNotificationEndpoint: require_sleep.method(zod.z.object({ baseUrl: zod.z.string().nullable() }), NotificationEndpointSchema, { kind: "mutation" }),
24800
24903
  /**
24904
+ * The endpoints the SDK / viewer races for API access. Empty `baseUrls`
24905
+ * means AUTO: every LAN IPv4 address plus the public tunnel, never IPv6,
24906
+ * never mesh, never loopback. `resolved` is that set (or the operator's
24907
+ * explicit subset) as it stands right now.
24908
+ */
24909
+ getViewerEndpoints: require_sleep.method(zod.z.void(), ViewerEndpointsSchema),
24910
+ /**
24911
+ * Replace the viewer race set. Empty `baseUrls` restores AUTO. Stored
24912
+ * verbatim (not indices) so a temporarily-down tunnel is not silently
24913
+ * dropped from the operator's choice.
24914
+ */
24915
+ setViewerEndpoints: require_sleep.method(zod.z.object({ baseUrls: zod.z.array(zod.z.string()).readonly() }), ViewerEndpointsSchema, { kind: "mutation" }),
24916
+ /**
24801
24917
  * Read the operator's allowlist. Empty = "auto" (no filter). Used
24802
24918
  * by the admin UI's address selector to seed its checkbox state.
24803
24919
  */
@@ -36809,6 +36925,12 @@ var METHOD_ACCESS_MAP = Object.freeze({
36809
36925
  addonId: null,
36810
36926
  access: "view"
36811
36927
  },
36928
+ "localNetwork.getViewerEndpoints": {
36929
+ capName: "local-network",
36930
+ capScope: "system",
36931
+ addonId: null,
36932
+ access: "view"
36933
+ },
36812
36934
  "localNetwork.list": {
36813
36935
  capName: "local-network",
36814
36936
  capScope: "system",
@@ -36845,6 +36967,12 @@ var METHOD_ACCESS_MAP = Object.freeze({
36845
36967
  addonId: null,
36846
36968
  access: "create"
36847
36969
  },
36970
+ "localNetwork.setViewerEndpoints": {
36971
+ capName: "local-network",
36972
+ capScope: "system",
36973
+ addonId: null,
36974
+ access: "create"
36975
+ },
36848
36976
  "localNetwork.uploadCertificate": {
36849
36977
  capName: "local-network",
36850
36978
  capScope: "system",
@@ -43047,6 +43175,8 @@ function createSystemProxy(api) {
43047
43175
  getConnectionEndpoints: (input) => dispatch("localNetwork", "getConnectionEndpoints", "query", input),
43048
43176
  getNotificationEndpoint: (input) => dispatch("localNetwork", "getNotificationEndpoint", "query", input),
43049
43177
  setNotificationEndpoint: (input) => dispatch("localNetwork", "setNotificationEndpoint", "mutation", input),
43178
+ getViewerEndpoints: (input) => dispatch("localNetwork", "getViewerEndpoints", "query", input),
43179
+ setViewerEndpoints: (input) => dispatch("localNetwork", "setViewerEndpoints", "mutation", input),
43050
43180
  getAllowedAddresses: (input) => dispatch("localNetwork", "getAllowedAddresses", "query", input),
43051
43181
  setAllowedAddresses: (input) => dispatch("localNetwork", "setAllowedAddresses", "mutation", input),
43052
43182
  resetAllowlistToBestMatch: (input) => dispatch("localNetwork", "resetAllowlistToBestMatch", "mutation", input),
@@ -47374,6 +47504,7 @@ exports.CAPABILITY_ROUTER_KEYS = CAPABILITY_ROUTER_KEYS;
47374
47504
  exports.CAP_NAMES_WITH_STATUS = CAP_NAMES_WITH_STATUS;
47375
47505
  exports.CAP_NODE_PIN_CONTEXT_KEY = require_sleep.CAP_NODE_PIN_CONTEXT_KEY;
47376
47506
  exports.CAP_PROVIDER_KIND_MAP = CAP_PROVIDER_KIND_MAP;
47507
+ exports.CLASS_MAP_MACRO_TARGETS = CLASS_MAP_MACRO_TARGETS;
47377
47508
  exports.CLUSTER_MODEL_SCOPED_STEPS = CLUSTER_MODEL_SCOPED_STEPS;
47378
47509
  exports.CLUSTER_MODEL_SECTION_ID = CLUSTER_MODEL_SECTION_ID;
47379
47510
  exports.CLUSTER_STEP_SETTING_FIELDS = CLUSTER_STEP_SETTING_FIELDS;
@@ -47420,6 +47551,7 @@ exports.CapScopeSchema = CapScopeSchema;
47420
47551
  exports.CapabilityBindingsSchema = CapabilityBindingsSchema;
47421
47552
  exports.CarbonMonoxideStatusSchema = CarbonMonoxideStatusSchema;
47422
47553
  exports.ChargingStatus = require_sleep.ChargingStatus;
47554
+ exports.ClassMapDefinitionSchema = ClassMapDefinitionSchema;
47423
47555
  exports.ClientNetworkStatsSchema = ClientNetworkStatsSchema;
47424
47556
  exports.ClimateControlStatusSchema = ClimateControlStatusSchema;
47425
47557
  exports.ClipPlaybackSchema = ClipPlaybackSchema;
@@ -47595,6 +47727,8 @@ exports.Fmp4BoxSplitter = require_canonical_hash.Fmp4BoxSplitter;
47595
47727
  exports.FrameHandleFormatSchema = require_sleep.FrameHandleFormatSchema;
47596
47728
  exports.FrameHandleSchema = require_sleep.FrameHandleSchema;
47597
47729
  exports.FrameInputSchema = FrameInputSchema;
47730
+ exports.FrameLazyCountersSchema = FrameLazyCountersSchema;
47731
+ exports.FrameLazyMetricsSchema = FrameLazyMetricsSchema;
47598
47732
  exports.GasStatusSchema = GasStatusSchema;
47599
47733
  exports.GetStreamWithCodecInputSchema = GetStreamWithCodecInputSchema;
47600
47734
  exports.GlobalMetricsSchema = GlobalMetricsSchema;