@fleetless/contracts 15.1.0-next.3 → 15.2.0

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/CHANGELOG.md CHANGED
@@ -9,6 +9,24 @@ version.
9
9
 
10
10
  ## [Unreleased]
11
11
 
12
+ ## [15.2.0] — 2026-11-13
13
+
14
+ ### Added
15
+
16
+ - **The `live` section of the configuration document**
17
+ (fleetless/fleetless#1115). `robotConfigDoc.live` is optional and strict;
18
+ its one key, `max_packet_bytes`, is an optional integer from 576 to 1350:
19
+ the largest RTP packet the bridge sends, before SRTP, retransmissions
20
+ included. 1350 is the ceiling because the bridge's SRTP library protects
21
+ no packet above 1356 bytes. A key present overrides the bridge's ROS parameter
22
+ `live.max_packet_bytes`. `liveSection` and the type `LiveSection` are
23
+ exported.
24
+ - `LIVE_DEFAULTS` (`{ max_packet_bytes: 1200 }`) and `LIVE_BOUNDS`
25
+ (`{ max_packet_bytes: { min: 576, max: 1350 } }`), exported and written
26
+ into `constants.json` for the bridge.
27
+
28
+ ## [15.1.0] — 2026-11-12
29
+
12
30
  ### Added
13
31
 
14
32
  - **Deletion journal: the waiting list** (fleetless/fleetless#1082). Two
@@ -45,5 +45,14 @@
45
45
  "datapoint_max_hz": 1,
46
46
  "camera": "reduce",
47
47
  "camera_bitrate_kbps": 300
48
+ },
49
+ "LIVE_DEFAULTS": {
50
+ "max_packet_bytes": 1200
51
+ },
52
+ "LIVE_BOUNDS": {
53
+ "max_packet_bytes": {
54
+ "min": 576,
55
+ "max": 1350
56
+ }
48
57
  }
49
58
  }
@@ -32546,6 +32546,22 @@
32546
32546
  }
32547
32547
  },
32548
32548
  "additionalProperties": false
32549
+ },
32550
+ "live": {
32551
+ "description": "How the bridge sends live video, for every camera of the robot. Each key overrides the bridge's ROS parameter of the same name; an absent key leaves the parameter alone.",
32552
+ "type": "object",
32553
+ "properties": {
32554
+ "max_packet_bytes": {
32555
+ "description": "The largest RTP packet the bridge sends, in bytes: fixed header, header extensions and payload, before SRTP adds its tag, retransmissions included. It is not an MTU: the MTU belongs to the path to each viewer, which the robot does not know. On the wire a packet is up to about 80 bytes longer. Lower it when a viewer's path carries less, such as a tunnel inside a tunnel. The ceiling sits just under what the bridge's SRTP library protects (1356 bytes); past that, live video stops. Overrides the bridge's ROS parameter `live.max_packet_bytes`; without either, the bridge sends 1200. A change holds from the next frame, for running streams too.",
32556
+ "examples": [
32557
+ 1200
32558
+ ],
32559
+ "type": "integer",
32560
+ "minimum": 576,
32561
+ "maximum": 1350
32562
+ }
32563
+ },
32564
+ "additionalProperties": false
32549
32565
  }
32550
32566
  },
32551
32567
  "required": [
@@ -33954,6 +33970,22 @@
33954
33970
  }
33955
33971
  },
33956
33972
  "additionalProperties": false
33973
+ },
33974
+ "live": {
33975
+ "description": "How the bridge sends live video, for every camera of the robot. Each key overrides the bridge's ROS parameter of the same name; an absent key leaves the parameter alone.",
33976
+ "type": "object",
33977
+ "properties": {
33978
+ "max_packet_bytes": {
33979
+ "description": "The largest RTP packet the bridge sends, in bytes: fixed header, header extensions and payload, before SRTP adds its tag, retransmissions included. It is not an MTU: the MTU belongs to the path to each viewer, which the robot does not know. On the wire a packet is up to about 80 bytes longer. Lower it when a viewer's path carries less, such as a tunnel inside a tunnel. The ceiling sits just under what the bridge's SRTP library protects (1356 bytes); past that, live video stops. Overrides the bridge's ROS parameter `live.max_packet_bytes`; without either, the bridge sends 1200. A change holds from the next frame, for running streams too.",
33980
+ "examples": [
33981
+ 1200
33982
+ ],
33983
+ "type": "integer",
33984
+ "minimum": 576,
33985
+ "maximum": 1350
33986
+ }
33987
+ },
33988
+ "additionalProperties": false
33957
33989
  }
33958
33990
  },
33959
33991
  "required": [
@@ -2058,6 +2058,31 @@
2058
2058
  }
2059
2059
  },
2060
2060
  "additionalProperties": false
2061
+ },
2062
+ "live": {
2063
+ "description": "How the bridge sends live video, for every camera of the robot. Each key overrides the bridge's ROS parameter of the same name; an absent key leaves the parameter alone.",
2064
+ "defaultSnippets": [
2065
+ {
2066
+ "label": "live video, packet size",
2067
+ "description": "Caps every RTP packet the bridge sends. 1200 is the default; lower it for viewers behind a tunnel inside a tunnel.",
2068
+ "body": {
2069
+ "max_packet_bytes": 1200
2070
+ }
2071
+ }
2072
+ ],
2073
+ "type": "object",
2074
+ "properties": {
2075
+ "max_packet_bytes": {
2076
+ "description": "The largest RTP packet the bridge sends, in bytes: fixed header, header extensions and payload, before SRTP adds its tag, retransmissions included. It is not an MTU: the MTU belongs to the path to each viewer, which the robot does not know. On the wire a packet is up to about 80 bytes longer. Lower it when a viewer's path carries less, such as a tunnel inside a tunnel. The ceiling sits just under what the bridge's SRTP library protects (1356 bytes); past that, live video stops. Overrides the bridge's ROS parameter `live.max_packet_bytes`; without either, the bridge sends 1200. A change holds from the next frame, for running streams too.",
2077
+ "examples": [
2078
+ 1200
2079
+ ],
2080
+ "type": "integer",
2081
+ "minimum": 576,
2082
+ "maximum": 1350
2083
+ }
2084
+ },
2085
+ "additionalProperties": false
2061
2086
  }
2062
2087
  },
2063
2088
  "required": [
@@ -2051,6 +2051,31 @@
2051
2051
  }
2052
2052
  },
2053
2053
  "additionalProperties": false
2054
+ },
2055
+ "live": {
2056
+ "description": "How the bridge sends live video, for every camera of the robot. Each key overrides the bridge's ROS parameter of the same name; an absent key leaves the parameter alone.",
2057
+ "defaultSnippets": [
2058
+ {
2059
+ "label": "live video, packet size",
2060
+ "description": "Caps every RTP packet the bridge sends. 1200 is the default; lower it for viewers behind a tunnel inside a tunnel.",
2061
+ "body": {
2062
+ "max_packet_bytes": 1200
2063
+ }
2064
+ }
2065
+ ],
2066
+ "type": "object",
2067
+ "properties": {
2068
+ "max_packet_bytes": {
2069
+ "description": "The largest RTP packet the bridge sends, in bytes: fixed header, header extensions and payload, before SRTP adds its tag, retransmissions included. It is not an MTU: the MTU belongs to the path to each viewer, which the robot does not know. On the wire a packet is up to about 80 bytes longer. Lower it when a viewer's path carries less, such as a tunnel inside a tunnel. The ceiling sits just under what the bridge's SRTP library protects (1356 bytes); past that, live video stops. Overrides the bridge's ROS parameter `live.max_packet_bytes`; without either, the bridge sends 1200. A change holds from the next frame, for running streams too.",
2070
+ "examples": [
2071
+ 1200
2072
+ ],
2073
+ "type": "integer",
2074
+ "minimum": 576,
2075
+ "maximum": 1350
2076
+ }
2077
+ },
2078
+ "additionalProperties": false
2054
2079
  }
2055
2080
  },
2056
2081
  "required": [
@@ -2089,6 +2089,31 @@
2089
2089
  }
2090
2090
  },
2091
2091
  "additionalProperties": false
2092
+ },
2093
+ "live": {
2094
+ "description": "How the bridge sends live video, for every camera of the robot. Each key overrides the bridge's ROS parameter of the same name; an absent key leaves the parameter alone.",
2095
+ "defaultSnippets": [
2096
+ {
2097
+ "label": "live video, packet size",
2098
+ "description": "Caps every RTP packet the bridge sends. 1200 is the default; lower it for viewers behind a tunnel inside a tunnel.",
2099
+ "body": {
2100
+ "max_packet_bytes": 1200
2101
+ }
2102
+ }
2103
+ ],
2104
+ "type": "object",
2105
+ "properties": {
2106
+ "max_packet_bytes": {
2107
+ "description": "The largest RTP packet the bridge sends, in bytes: fixed header, header extensions and payload, before SRTP adds its tag, retransmissions included. It is not an MTU: the MTU belongs to the path to each viewer, which the robot does not know. On the wire a packet is up to about 80 bytes longer. Lower it when a viewer's path carries less, such as a tunnel inside a tunnel. The ceiling sits just under what the bridge's SRTP library protects (1356 bytes); past that, live video stops. Overrides the bridge's ROS parameter `live.max_packet_bytes`; without either, the bridge sends 1200. A change holds from the next frame, for running streams too.",
2108
+ "examples": [
2109
+ 1200
2110
+ ],
2111
+ "type": "integer",
2112
+ "minimum": 576,
2113
+ "maximum": 1350
2114
+ }
2115
+ },
2116
+ "additionalProperties": false
2092
2117
  }
2093
2118
  },
2094
2119
  "required": [
@@ -2046,6 +2046,31 @@
2046
2046
  }
2047
2047
  },
2048
2048
  "additionalProperties": false
2049
+ },
2050
+ "live": {
2051
+ "description": "How the bridge sends live video, for every camera of the robot. Each key overrides the bridge's ROS parameter of the same name; an absent key leaves the parameter alone.",
2052
+ "defaultSnippets": [
2053
+ {
2054
+ "label": "live video, packet size",
2055
+ "description": "Caps every RTP packet the bridge sends. 1200 is the default; lower it for viewers behind a tunnel inside a tunnel.",
2056
+ "body": {
2057
+ "max_packet_bytes": 1200
2058
+ }
2059
+ }
2060
+ ],
2061
+ "type": "object",
2062
+ "properties": {
2063
+ "max_packet_bytes": {
2064
+ "description": "The largest RTP packet the bridge sends, in bytes: fixed header, header extensions and payload, before SRTP adds its tag, retransmissions included. It is not an MTU: the MTU belongs to the path to each viewer, which the robot does not know. On the wire a packet is up to about 80 bytes longer. Lower it when a viewer's path carries less, such as a tunnel inside a tunnel. The ceiling sits just under what the bridge's SRTP library protects (1356 bytes); past that, live video stops. Overrides the bridge's ROS parameter `live.max_packet_bytes`; without either, the bridge sends 1200. A change holds from the next frame, for running streams too.",
2065
+ "examples": [
2066
+ 1200
2067
+ ],
2068
+ "type": "integer",
2069
+ "minimum": 576,
2070
+ "maximum": 1350
2071
+ }
2072
+ },
2073
+ "additionalProperties": false
2049
2074
  }
2050
2075
  },
2051
2076
  "required": [
package/dist/config.d.ts CHANGED
@@ -673,6 +673,55 @@ export declare const lowBandwidthSection: z.ZodObject<{
673
673
  camera_bitrate_kbps: z.ZodOptional<z.ZodNumber>;
674
674
  }, z.core.$strict>;
675
675
  export type LowBandwidthSection = z.infer<typeof lowBandwidthSection>;
676
+ /**
677
+ * What the bridge falls back to for live video when neither the document nor
678
+ * a ROS parameter names a setting. Exported into `constants.json` for
679
+ * `LOW_BANDWIDTH_DEFAULTS`' reason: the bridge reads the number rather than
680
+ * carrying a second copy.
681
+ *
682
+ * 1200 is what browsers send, which is why a path with an MTU of 1280 — the
683
+ * smallest IPv6 guarantees, and what NetBird and Tailscale set — carries it:
684
+ * the bytes a packet gains on the way (header extensions an SFU may add, the
685
+ * SRTP tag, UDP, IP, TURN) come to about 80 at most.
686
+ */
687
+ export declare const LIVE_DEFAULTS: {
688
+ readonly max_packet_bytes: 1200;
689
+ };
690
+ /**
691
+ * The bounds of the `live` settings, exported into `constants.json` beside the
692
+ * defaults: the bridge refuses a ROS parameter outside them with the same
693
+ * numbers this schema refuses a document with, read rather than copied.
694
+ *
695
+ * The upper bound of `max_packet_bytes` is not a taste. pylibsrtp, which
696
+ * protects the bridge's packets, refuses an RTP packet above 1356 bytes — a
697
+ * 1500-byte buffer less the room it keeps for the trailer — and aiortc's
698
+ * sender ends its loop on that refusal: live video stops for good. So a
699
+ * larger setting is not a bigger packet but no video, and it is refused where
700
+ * the configuration is saved. 1350 rather than 1356: a number a person can
701
+ * remember, and nothing is lost in six bytes.
702
+ */
703
+ export declare const LIVE_BOUNDS: {
704
+ readonly max_packet_bytes: {
705
+ readonly min: 576;
706
+ readonly max: 1350;
707
+ };
708
+ };
709
+ /**
710
+ * How the bridge sends live video: settings of the transport, which hold for
711
+ * the whole robot and not for one camera. Every key is optional and layered
712
+ * as in `lowBandwidthSection`: a key present here overrides the bridge's ROS
713
+ * parameter of the same name, an absent key falls through to it, and the
714
+ * parameter falls through to `LIVE_DEFAULTS`.
715
+ *
716
+ * Strict here, lenient on the robot. An unknown key is refused when the
717
+ * document is saved, so a typo is not a setting that silently does nothing;
718
+ * the bridge reads the section whole and ignores a key it does not know, so
719
+ * a cloud that learns a newer key does not take an older bridge off the air.
720
+ */
721
+ export declare const liveSection: z.ZodObject<{
722
+ max_packet_bytes: z.ZodOptional<z.ZodNumber>;
723
+ }, z.core.$strict>;
724
+ export type LiveSection = z.infer<typeof liveSection>;
676
725
  /**
677
726
  * The format version of a `fleetless.yaml`. Deliberately not called
678
727
  * `version`: the console counts published states with "v12 → v13", and two
@@ -939,6 +988,9 @@ export declare const robotConfigDoc: z.ZodObject<{
939
988
  }>>;
940
989
  camera_bitrate_kbps: z.ZodOptional<z.ZodNumber>;
941
990
  }, z.core.$strict>>;
991
+ live: z.ZodOptional<z.ZodObject<{
992
+ max_packet_bytes: z.ZodOptional<z.ZodNumber>;
993
+ }, z.core.$strict>>;
942
994
  }, z.core.$strict>;
943
995
  export type RobotConfigDoc = z.infer<typeof robotConfigDoc>;
944
996
  /**
package/dist/config.js CHANGED
@@ -1943,6 +1943,54 @@ export const lowBandwidthSection = strictObject({
1943
1943
  if (s.enter_lag_ms !== undefined && s.exit_lag_ms !== undefined && s.exit_lag_ms > s.enter_lag_ms)
1944
1944
  ctx.addIssue({ code: 'custom', path: ['exit_lag_ms'], message: 'low_bandwidth.exit_lag_ms must be at or below enter_lag_ms' });
1945
1945
  });
1946
+ /**
1947
+ * What the bridge falls back to for live video when neither the document nor
1948
+ * a ROS parameter names a setting. Exported into `constants.json` for
1949
+ * `LOW_BANDWIDTH_DEFAULTS`' reason: the bridge reads the number rather than
1950
+ * carrying a second copy.
1951
+ *
1952
+ * 1200 is what browsers send, which is why a path with an MTU of 1280 — the
1953
+ * smallest IPv6 guarantees, and what NetBird and Tailscale set — carries it:
1954
+ * the bytes a packet gains on the way (header extensions an SFU may add, the
1955
+ * SRTP tag, UDP, IP, TURN) come to about 80 at most.
1956
+ */
1957
+ export const LIVE_DEFAULTS = {
1958
+ max_packet_bytes: 1200,
1959
+ };
1960
+ /**
1961
+ * The bounds of the `live` settings, exported into `constants.json` beside the
1962
+ * defaults: the bridge refuses a ROS parameter outside them with the same
1963
+ * numbers this schema refuses a document with, read rather than copied.
1964
+ *
1965
+ * The upper bound of `max_packet_bytes` is not a taste. pylibsrtp, which
1966
+ * protects the bridge's packets, refuses an RTP packet above 1356 bytes — a
1967
+ * 1500-byte buffer less the room it keeps for the trailer — and aiortc's
1968
+ * sender ends its loop on that refusal: live video stops for good. So a
1969
+ * larger setting is not a bigger packet but no video, and it is refused where
1970
+ * the configuration is saved. 1350 rather than 1356: a number a person can
1971
+ * remember, and nothing is lost in six bytes.
1972
+ */
1973
+ export const LIVE_BOUNDS = {
1974
+ max_packet_bytes: { min: 576, max: 1350 },
1975
+ };
1976
+ /**
1977
+ * How the bridge sends live video: settings of the transport, which hold for
1978
+ * the whole robot and not for one camera. Every key is optional and layered
1979
+ * as in `lowBandwidthSection`: a key present here overrides the bridge's ROS
1980
+ * parameter of the same name, an absent key falls through to it, and the
1981
+ * parameter falls through to `LIVE_DEFAULTS`.
1982
+ *
1983
+ * Strict here, lenient on the robot. An unknown key is refused when the
1984
+ * document is saved, so a typo is not a setting that silently does nothing;
1985
+ * the bridge reads the section whole and ignores a key it does not know, so
1986
+ * a cloud that learns a newer key does not take an older bridge off the air.
1987
+ */
1988
+ export const liveSection = strictObject({
1989
+ max_packet_bytes: z.number().int().min(LIVE_BOUNDS.max_packet_bytes.min).max(LIVE_BOUNDS.max_packet_bytes.max).optional().meta({
1990
+ description: `The largest RTP packet the bridge sends, in bytes: fixed header, header extensions and payload, before SRTP adds its tag, retransmissions included. It is not an MTU: the MTU belongs to the path to each viewer, which the robot does not know. On the wire a packet is up to about 80 bytes longer. Lower it when a viewer's path carries less, such as a tunnel inside a tunnel. The ceiling sits just under what the bridge's SRTP library protects (1356 bytes); past that, live video stops. Overrides the bridge's ROS parameter \`live.max_packet_bytes\`; without either, the bridge sends ${LIVE_DEFAULTS.max_packet_bytes}. A change holds from the next frame, for running streams too.`,
1991
+ examples: [LIVE_DEFAULTS.max_packet_bytes],
1992
+ }),
1993
+ });
1946
1994
  /**
1947
1995
  * The format version of a `fleetless.yaml`. Deliberately not called
1948
1996
  * `version`: the console counts published states with "v12 → v13", and two
@@ -2080,6 +2128,20 @@ export const robotConfigDoc = strictObject({
2080
2128
  body: { enter_lag_ms: 2000, datapoint_max_hz: 1, camera: 'reduce' },
2081
2129
  }],
2082
2130
  }),
2131
+ live: liveSection.optional().meta({
2132
+ description: 'How the bridge sends live video, for every camera of the robot. Each key overrides the bridge\'s ROS parameter of the same name; an absent key leaves the parameter alone.',
2133
+ /**
2134
+ * The default, spelled out. A developer who opens this section came to
2135
+ * lower the number, and the value to start from is the one in force. A
2136
+ * plain number and no tab stop, as in `low_bandwidth`: a placeholder is a
2137
+ * string, and the body has to be a document the format accepts.
2138
+ */
2139
+ defaultSnippets: [{
2140
+ label: 'live video, packet size',
2141
+ description: `Caps every RTP packet the bridge sends. ${LIVE_DEFAULTS.max_packet_bytes} is the default; lower it for viewers behind a tunnel inside a tunnel.`,
2142
+ body: { max_packet_bytes: LIVE_DEFAULTS.max_packet_bytes },
2143
+ }],
2144
+ }),
2083
2145
  });
2084
2146
  /**
2085
2147
  * One thing the cloud has to say about a configuration: the field, and the
package/dist/index.d.ts CHANGED
@@ -21,9 +21,9 @@ export { jobState, reportedJobState, jobOrigin, job, jobEvent, busyDetails, publ
21
21
  export type { JobState, ReportedJobState, JobOrigin, Job, JobEvent, BusyDetails, PublisherBusyDetails, JobQueueFullDetails, } from './jobs.js';
22
22
  export { JOB_RUN_PAGE_MAX, JOB_RUN_RETENTION_DAYS, jobActor, jobRunKind, jobRun, jobRunQuery, jobRunListResponse, jobRunSummaryQuery, jobRunSummary, } from './jobs.js';
23
23
  export type { JobActor, JobRunKind, JobRun, JobRunQuery, JobRunListResponse, JobRunSummary } from './jobs.js';
24
- export { FLEETLESS_FORMAT_VERSION, RESERVED_SLUGS, parameterType, parameterSpec, parameterMap, serviceDescription, parameterDescription, messageTemplate, messageRef, messageBody, messageMap, PLACEHOLDER_RE, placeholderNames, actionConfig, serviceConfig, publisherConfig, cameraConfig, alertCondition, datapointAlert, rateThrottleHz, datapointNumeric, datapointRetention, datapointChart, datapointConfig, lowBandwidthSection, LOW_BANDWIDTH_DEFAULTS, robotConfigDoc, accessRule, accessSection, validationIssue, configState, snapshotIntervalSeconds, ALERT_SEVERITY_DEFAULT, ALERT_ENABLED_DEFAULT, RETENTION_INTERVAL_SECONDS_DEFAULT, CHART_WINDOW_MINUTES_DEFAULT, cameraSource, cameraCredentials, } from './config.js';
24
+ export { FLEETLESS_FORMAT_VERSION, RESERVED_SLUGS, parameterType, parameterSpec, parameterMap, serviceDescription, parameterDescription, messageTemplate, messageRef, messageBody, messageMap, PLACEHOLDER_RE, placeholderNames, actionConfig, serviceConfig, publisherConfig, cameraConfig, alertCondition, datapointAlert, rateThrottleHz, datapointNumeric, datapointRetention, datapointChart, datapointConfig, lowBandwidthSection, LOW_BANDWIDTH_DEFAULTS, liveSection, LIVE_DEFAULTS, LIVE_BOUNDS, robotConfigDoc, accessRule, accessSection, validationIssue, configState, snapshotIntervalSeconds, ALERT_SEVERITY_DEFAULT, ALERT_ENABLED_DEFAULT, RETENTION_INTERVAL_SECONDS_DEFAULT, CHART_WINDOW_MINUTES_DEFAULT, cameraSource, cameraCredentials, } from './config.js';
25
25
  export type { CameraSource } from './config.js';
26
- export type { ParameterType, ParameterSpec, ActionConfig, ServiceConfig, PublisherConfig, CameraConfig, CameraCredentials, AlertCondition, DatapointAlert, DatapointNumeric, DatapointRetention, DatapointChart, DatapointConfig, LowBandwidthSection, RobotConfigDoc, AccessRule, AccessSection, ValidationIssue, ConfigState, } from './config.js';
26
+ export type { ParameterType, ParameterSpec, ActionConfig, ServiceConfig, PublisherConfig, CameraConfig, CameraCredentials, AlertCondition, DatapointAlert, DatapointNumeric, DatapointRetention, DatapointChart, DatapointConfig, LowBandwidthSection, LiveSection, RobotConfigDoc, AccessRule, AccessSection, ValidationIssue, ConfigState, } from './config.js';
27
27
  /**
28
28
  * The one account of what is wrong with a configuration document, shared by
29
29
  * every layer that reports on one. See `config-issues.ts`'s header for why a
package/dist/index.js CHANGED
@@ -14,7 +14,7 @@ bridgeAssetsAvailable, cloudAssetRequest, bridgeAssetProgress,
14
14
  activeJob, DEFAULT_PATIENCE_MS, MAX_PATIENCE_MS, MIN_PATIENCE_MS, JOB_HEARTBEAT_INTERVAL_MS, JOB_HEARTBEAT_TIMEOUT_MS, JOB_OFFLINE_GRACE_MS, } from './protocol.js';
15
15
  export { jobState, reportedJobState, jobOrigin, job, jobEvent, busyDetails, publisherBusyDetails, jobQueueFullDetails } from './jobs.js';
16
16
  export { JOB_RUN_PAGE_MAX, JOB_RUN_RETENTION_DAYS, jobActor, jobRunKind, jobRun, jobRunQuery, jobRunListResponse, jobRunSummaryQuery, jobRunSummary, } from './jobs.js';
17
- export { FLEETLESS_FORMAT_VERSION, RESERVED_SLUGS, parameterType, parameterSpec, parameterMap, serviceDescription, parameterDescription, messageTemplate, messageRef, messageBody, messageMap, PLACEHOLDER_RE, placeholderNames, actionConfig, serviceConfig, publisherConfig, cameraConfig, alertCondition, datapointAlert, rateThrottleHz, datapointNumeric, datapointRetention, datapointChart, datapointConfig, lowBandwidthSection, LOW_BANDWIDTH_DEFAULTS, robotConfigDoc, accessRule, accessSection, validationIssue, configState, snapshotIntervalSeconds,
17
+ export { FLEETLESS_FORMAT_VERSION, RESERVED_SLUGS, parameterType, parameterSpec, parameterMap, serviceDescription, parameterDescription, messageTemplate, messageRef, messageBody, messageMap, PLACEHOLDER_RE, placeholderNames, actionConfig, serviceConfig, publisherConfig, cameraConfig, alertCondition, datapointAlert, rateThrottleHz, datapointNumeric, datapointRetention, datapointChart, datapointConfig, lowBandwidthSection, LOW_BANDWIDTH_DEFAULTS, liveSection, LIVE_DEFAULTS, LIVE_BOUNDS, robotConfigDoc, accessRule, accessSection, validationIssue, configState, snapshotIntervalSeconds,
18
18
  // The defaults the format names, so nobody invents them twice.
19
19
  ALERT_SEVERITY_DEFAULT, ALERT_ENABLED_DEFAULT, RETENTION_INTERVAL_SECONDS_DEFAULT, CHART_WINDOW_MINUTES_DEFAULT,
20
20
  // Retention, history and quotas.
@@ -592,6 +592,9 @@ export declare const cloudConfig: z.ZodObject<{
592
592
  }>>;
593
593
  camera_bitrate_kbps: z.ZodOptional<z.ZodNumber>;
594
594
  }, z.core.$strict>>;
595
+ live: z.ZodOptional<z.ZodObject<{
596
+ max_packet_bytes: z.ZodOptional<z.ZodNumber>;
597
+ }, z.core.$strict>>;
595
598
  }, z.core.$strict>;
596
599
  }, z.core.$strip>;
597
600
  export type CloudConfig = z.infer<typeof cloudConfig>;
package/dist/rest.d.ts CHANGED
@@ -502,6 +502,9 @@ export declare const configDraftResponse: z.ZodObject<{
502
502
  }>>;
503
503
  camera_bitrate_kbps: z.ZodOptional<z.ZodNumber>;
504
504
  }, z.core.$strict>>;
505
+ live: z.ZodOptional<z.ZodObject<{
506
+ max_packet_bytes: z.ZodOptional<z.ZodNumber>;
507
+ }, z.core.$strict>>;
505
508
  }, z.core.$strict>>;
506
509
  source: z.ZodString;
507
510
  updated_at: z.ZodNullable<z.ZodISODateTime>;
@@ -796,6 +799,9 @@ export declare const configVersionResponse: z.ZodObject<{
796
799
  }>>;
797
800
  camera_bitrate_kbps: z.ZodOptional<z.ZodNumber>;
798
801
  }, z.core.$strict>>;
802
+ live: z.ZodOptional<z.ZodObject<{
803
+ max_packet_bytes: z.ZodOptional<z.ZodNumber>;
804
+ }, z.core.$strict>>;
799
805
  }, z.core.$strict>;
800
806
  source: z.ZodString;
801
807
  }, z.core.$strip>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fleetless/contracts",
3
- "version": "15.1.0-next.3",
3
+ "version": "15.2.0",
4
4
  "description": "Fleetless wire contracts: the bridge-cloud protocol, the REST API schemas and the error codes, as zod schemas with generated JSON Schema and OpenAPI artifacts.",
5
5
  "license": "Apache-2.0",
6
6
  "author": "Dehne Robotik GmbH",